@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/ee_api_js_debug.js
CHANGED
|
@@ -129,10 +129,11 @@ $jscomp.iteratorPrototype = function(next) {
|
|
|
129
129
|
return iterator;
|
|
130
130
|
};
|
|
131
131
|
$jscomp.createTemplateTagFirstArg = function(arrayStrings) {
|
|
132
|
-
return arrayStrings
|
|
132
|
+
return $jscomp.createTemplateTagFirstArgWithRaw(arrayStrings, arrayStrings);
|
|
133
133
|
};
|
|
134
134
|
$jscomp.createTemplateTagFirstArgWithRaw = function(arrayStrings, rawArrayStrings) {
|
|
135
135
|
arrayStrings.raw = rawArrayStrings;
|
|
136
|
+
Object.freeze && (Object.freeze(arrayStrings), Object.freeze(rawArrayStrings));
|
|
136
137
|
return arrayStrings;
|
|
137
138
|
};
|
|
138
139
|
$jscomp.makeIterator = function(iterable) {
|
|
@@ -764,28 +765,6 @@ $jscomp.polyfill("Array.prototype.keys", function(orig) {
|
|
|
764
765
|
});
|
|
765
766
|
};
|
|
766
767
|
}, "es6", "es3");
|
|
767
|
-
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
768
|
-
if (thisArg == null) {
|
|
769
|
-
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
770
|
-
}
|
|
771
|
-
if (arg instanceof RegExp) {
|
|
772
|
-
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
773
|
-
}
|
|
774
|
-
return thisArg + "";
|
|
775
|
-
};
|
|
776
|
-
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
777
|
-
return orig ? orig : function(searchString, opt_position) {
|
|
778
|
-
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
779
|
-
searchString += "";
|
|
780
|
-
opt_position === void 0 && (opt_position = string.length);
|
|
781
|
-
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
782
|
-
if (string[--i] != searchString[--j]) {
|
|
783
|
-
return !1;
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
return j <= 0;
|
|
787
|
-
};
|
|
788
|
-
}, "es6", "es3");
|
|
789
768
|
$jscomp.checkEs6ConformanceViaProxy = function() {
|
|
790
769
|
try {
|
|
791
770
|
var proxied = {}, proxy = Object.create(new $jscomp.global.Proxy(proxied, {get:function(target, key, receiver) {
|
|
@@ -1091,6 +1070,15 @@ $jscomp.polyfill("Array.prototype.entries", function(orig) {
|
|
|
1091
1070
|
});
|
|
1092
1071
|
};
|
|
1093
1072
|
}, "es6", "es3");
|
|
1073
|
+
$jscomp.checkStringArgs = function(thisArg, arg, func) {
|
|
1074
|
+
if (thisArg == null) {
|
|
1075
|
+
throw new TypeError("The 'this' value for String.prototype." + func + " must not be null or undefined");
|
|
1076
|
+
}
|
|
1077
|
+
if (arg instanceof RegExp) {
|
|
1078
|
+
throw new TypeError("First argument to String.prototype." + func + " must not be a regular expression");
|
|
1079
|
+
}
|
|
1080
|
+
return thisArg + "";
|
|
1081
|
+
};
|
|
1094
1082
|
$jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
1095
1083
|
return orig ? orig : function(searchString, opt_position) {
|
|
1096
1084
|
var string = $jscomp.checkStringArgs(this, searchString, "startsWith");
|
|
@@ -1103,6 +1091,19 @@ $jscomp.polyfill("String.prototype.startsWith", function(orig) {
|
|
|
1103
1091
|
return j >= searchLen;
|
|
1104
1092
|
};
|
|
1105
1093
|
}, "es6", "es3");
|
|
1094
|
+
$jscomp.polyfill("String.prototype.endsWith", function(orig) {
|
|
1095
|
+
return orig ? orig : function(searchString, opt_position) {
|
|
1096
|
+
var string = $jscomp.checkStringArgs(this, searchString, "endsWith");
|
|
1097
|
+
searchString += "";
|
|
1098
|
+
opt_position === void 0 && (opt_position = string.length);
|
|
1099
|
+
for (var i = Math.max(0, Math.min(opt_position | 0, string.length)), j = searchString.length; j > 0 && i > 0;) {
|
|
1100
|
+
if (string[--i] != searchString[--j]) {
|
|
1101
|
+
return !1;
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
return j <= 0;
|
|
1105
|
+
};
|
|
1106
|
+
}, "es6", "es3");
|
|
1106
1107
|
$jscomp.polyfill("Number.isFinite", function(orig) {
|
|
1107
1108
|
return orig ? orig : function(x) {
|
|
1108
1109
|
return typeof x !== "number" ? !1 : !isNaN(x) && x !== Infinity && x !== -Infinity;
|
|
@@ -2145,9 +2146,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
2145
2146
|
};
|
|
2146
2147
|
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;
|
|
2147
2148
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
2148
|
-
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$
|
|
2149
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
2150
|
-
var key = $jscomp$key$
|
|
2149
|
+
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 =
|
|
2150
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
2151
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
2151
2152
|
if (value != null) {
|
|
2152
2153
|
var copy = void 0;
|
|
2153
2154
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -2158,11 +2159,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2158
2159
|
} else if (objects.hasOwnProperty(key)) {
|
|
2159
2160
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
2160
2161
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
2161
|
-
$jscomp$loop$
|
|
2162
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
2162
2163
|
return function(v) {
|
|
2163
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
2164
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2164
2165
|
};
|
|
2165
|
-
}($jscomp$loop$
|
|
2166
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
2166
2167
|
} else if (Array.isArray(value)) {
|
|
2167
2168
|
if (metadata.emptyArrayIsUnset && value.length === 0) {
|
|
2168
2169
|
continue;
|
|
@@ -2177,8 +2178,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
2177
2178
|
return target;
|
|
2178
2179
|
}
|
|
2179
2180
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
2180
|
-
for (var objMap = {}, $jscomp$iter$20 = (0,$jscomp.makeIterator)(Object.keys(value)), $jscomp$key$
|
|
2181
|
-
var mapKey = $jscomp$key$
|
|
2181
|
+
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()) {
|
|
2182
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
2182
2183
|
mapValue != null && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
2183
2184
|
}
|
|
2184
2185
|
return objMap;
|
|
@@ -2208,39 +2209,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
2208
2209
|
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))) {
|
|
2209
2210
|
return !1;
|
|
2210
2211
|
}
|
|
2211
|
-
for (var $jscomp$iter$21 = (0,$jscomp.makeIterator)(keys1), $jscomp$key$
|
|
2212
|
-
var key = $jscomp$key$
|
|
2212
|
+
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()) {
|
|
2213
|
+
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);
|
|
2213
2214
|
if (has1 !== has2) {
|
|
2214
2215
|
return !1;
|
|
2215
2216
|
}
|
|
2216
2217
|
if (has1) {
|
|
2217
2218
|
var value1 = serializable1.Serializable$get(key);
|
|
2218
|
-
$jscomp$loop$
|
|
2219
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
2219
2220
|
if (arrays1.hasOwnProperty(key)) {
|
|
2220
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2221
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
2221
2222
|
return !1;
|
|
2222
2223
|
}
|
|
2223
2224
|
} else if (objects1.hasOwnProperty(key)) {
|
|
2224
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2225
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
2225
2226
|
return !1;
|
|
2226
2227
|
}
|
|
2227
2228
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
2228
|
-
if ($jscomp$loop$
|
|
2229
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
2229
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
2230
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
2230
2231
|
return function(v1, i) {
|
|
2231
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
2232
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
2232
2233
|
};
|
|
2233
|
-
}($jscomp$loop$
|
|
2234
|
+
}($jscomp$loop$m192531680$45))) {
|
|
2234
2235
|
return !1;
|
|
2235
2236
|
}
|
|
2236
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
2237
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
2237
2238
|
return !1;
|
|
2238
2239
|
}
|
|
2239
2240
|
} else if (Array.isArray(value1)) {
|
|
2240
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2241
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
2241
2242
|
return !1;
|
|
2242
2243
|
}
|
|
2243
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
2244
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
2244
2245
|
return !1;
|
|
2245
2246
|
}
|
|
2246
2247
|
}
|
|
@@ -2262,8 +2263,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
2262
2263
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
2263
2264
|
return !1;
|
|
2264
2265
|
}
|
|
2265
|
-
for (var $jscomp$iter$22 = (0,$jscomp.makeIterator)(Object.keys(value1)), $jscomp$key$
|
|
2266
|
-
var mapKey = $jscomp$key$
|
|
2266
|
+
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()) {
|
|
2267
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
2267
2268
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
2268
2269
|
return !1;
|
|
2269
2270
|
}
|
|
@@ -2344,15 +2345,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
2344
2345
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
2345
2346
|
};
|
|
2346
2347
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
2347
|
-
var $jscomp$this$
|
|
2348
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
2348
2349
|
payload += this._metadataPayload;
|
|
2349
2350
|
return Promise.all(this.files.map(function(f) {
|
|
2350
|
-
return $jscomp$this$
|
|
2351
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
2351
2352
|
})).then(function(filePayloads) {
|
|
2352
|
-
for (var $jscomp$iter$23 = (0,$jscomp.makeIterator)(filePayloads), $jscomp$key$
|
|
2353
|
-
payload += $jscomp$key$
|
|
2353
|
+
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()) {
|
|
2354
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
2354
2355
|
}
|
|
2355
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
2356
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
2356
2357
|
});
|
|
2357
2358
|
};
|
|
2358
2359
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -2924,9 +2925,6 @@ var module$contents$goog$html$TrustedResourceUrl_CONSTRUCTOR_TOKEN_PRIVATE_ = {}
|
|
|
2924
2925
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.toString = function() {
|
|
2925
2926
|
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
|
|
2926
2927
|
};
|
|
2927
|
-
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.prototype.cloneWithParams = function(searchParams, opt_hashParams) {
|
|
2928
|
-
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(this, searchParams, opt_hashParams);
|
|
2929
|
-
};
|
|
2930
2928
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams = function(url, searchParams, opt_hashParams) {
|
|
2931
2929
|
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] || "";
|
|
2932
2930
|
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));
|
|
@@ -2959,7 +2957,8 @@ module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.FORMAT_MARKER_ =
|
|
|
2959
2957
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.BASE_URL_ = RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)", "i");
|
|
2960
2958
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.URL_PARAM_PARSER_ = /^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/;
|
|
2961
2959
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.formatWithParams = function(format, args, searchParams, opt_hashParams) {
|
|
2962
|
-
|
|
2960
|
+
var url = module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.format(format, args);
|
|
2961
|
+
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.cloneWithParams(url, searchParams, opt_hashParams);
|
|
2963
2962
|
};
|
|
2964
2963
|
module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.fromConstant = function(url) {
|
|
2965
2964
|
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
|
|
@@ -3008,8 +3007,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
3008
3007
|
return module$contents$goog$html$TrustedResourceUrl_TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
3009
3008
|
}
|
|
3010
3009
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
3011
|
-
var $jscomp$templatelit$
|
|
3012
|
-
["\\0"]), $jscomp$templatelit$
|
|
3010
|
+
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"],
|
|
3011
|
+
["\\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"};
|
|
3013
3012
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
3014
3013
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
3015
3014
|
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 ##############################");
|
|
@@ -3023,14 +3022,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
3023
3022
|
return fn.toString().indexOf("`") === -1;
|
|
3024
3023
|
}
|
|
3025
3024
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3026
|
-
return tag($jscomp$templatelit$
|
|
3025
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
3027
3026
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3028
|
-
return tag($jscomp$templatelit$
|
|
3027
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
3029
3028
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3030
|
-
return tag($jscomp$templatelit$
|
|
3029
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
3031
3030
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
3032
|
-
return tag($jscomp$templatelit$
|
|
3033
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
3031
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
3032
|
+
}), 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);
|
|
3034
3033
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
3035
3034
|
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)) ?
|
|
3036
3035
|
!0 : !1;
|
|
@@ -3450,9 +3449,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
3450
3449
|
}
|
|
3451
3450
|
}
|
|
3452
3451
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
3453
|
-
var $jscomp$tmp$error$
|
|
3454
|
-
this.message = $jscomp$tmp$error$
|
|
3455
|
-
"stack" in $jscomp$tmp$error$
|
|
3452
|
+
var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
3453
|
+
this.message = $jscomp$tmp$error$240424914$1.message;
|
|
3454
|
+
"stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
|
|
3456
3455
|
this.type = type;
|
|
3457
3456
|
this.intent = intent;
|
|
3458
3457
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -3559,7 +3558,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
3559
3558
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
3560
3559
|
};
|
|
3561
3560
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
3562
|
-
var $jscomp$optchain$
|
|
3561
|
+
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]");
|
|
3563
3562
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
3564
3563
|
}
|
|
3565
3564
|
;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;
|
|
@@ -3608,205 +3607,30 @@ module$exports$safevalues$dom$elements$script.setSrc = function(script, v, optio
|
|
|
3608
3607
|
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
3609
3608
|
(options == null ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
3610
3609
|
};
|
|
3611
|
-
var module$exports$safevalues$
|
|
3612
|
-
module$exports$safevalues$
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
3616
|
-
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
3617
|
-
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3618
|
-
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3619
|
-
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3620
|
-
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3621
|
-
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3622
|
-
var module$exports$safevalues$for_closure = {};
|
|
3623
|
-
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
3624
|
-
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
3625
|
-
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
3626
|
-
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
3627
|
-
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
3628
|
-
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3629
|
-
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
3630
|
-
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
3631
|
-
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
3632
|
-
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
3633
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
3634
|
-
var styleString = goog.string.Const.unwrap(style);
|
|
3635
|
-
if (styleString.length === 0) {
|
|
3636
|
-
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3637
|
-
}
|
|
3638
|
-
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
3639
|
-
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
3640
|
-
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
3641
|
-
};
|
|
3642
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
3643
|
-
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
3644
|
-
};
|
|
3645
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
3646
|
-
var style = "", name;
|
|
3647
|
-
for (name in map) {
|
|
3648
|
-
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
3649
|
-
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
3650
|
-
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
3651
|
-
}
|
|
3652
|
-
var value = map[name];
|
|
3653
|
-
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 + ";");
|
|
3654
|
-
}
|
|
3655
|
-
}
|
|
3656
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3657
|
-
};
|
|
3658
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
3659
|
-
var style = "", addArgument = function(argument) {
|
|
3660
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
3661
|
-
};
|
|
3662
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
3663
|
-
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
3664
|
-
};
|
|
3665
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
3666
|
-
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
3667
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
3668
|
-
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
3669
|
-
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
3670
|
-
}
|
|
3671
|
-
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
3672
|
-
if (/[{;}]/.test(result)) {
|
|
3673
|
-
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
3674
|
-
}
|
|
3675
|
-
return result;
|
|
3676
|
-
}
|
|
3677
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
3678
|
-
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");
|
|
3679
|
-
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
3680
|
-
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
3681
|
-
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3682
|
-
}
|
|
3683
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
3684
|
-
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
3685
|
-
}
|
|
3686
|
-
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
3687
|
-
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;
|
|
3688
|
-
}
|
|
3689
|
-
} else {
|
|
3690
|
-
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;
|
|
3691
|
-
}
|
|
3692
|
-
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
3693
|
-
}
|
|
3694
|
-
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
3695
|
-
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
3696
|
-
var c = value.charAt(i);
|
|
3697
|
-
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
3698
|
-
}
|
|
3699
|
-
return outsideSingle && outsideDouble;
|
|
3700
|
-
}
|
|
3701
|
-
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
3702
|
-
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
3703
|
-
var c = value.charAt(i);
|
|
3704
|
-
if (c == "]") {
|
|
3705
|
-
if (outside) {
|
|
3706
|
-
return !1;
|
|
3707
|
-
}
|
|
3708
|
-
outside = !0;
|
|
3709
|
-
} else if (c == "[") {
|
|
3710
|
-
if (!outside) {
|
|
3711
|
-
return !1;
|
|
3712
|
-
}
|
|
3713
|
-
outside = !1;
|
|
3714
|
-
} else if (!outside && !tokenRe.test(c)) {
|
|
3715
|
-
return !1;
|
|
3716
|
-
}
|
|
3717
|
-
}
|
|
3718
|
-
return outside;
|
|
3719
|
-
}
|
|
3720
|
-
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 =
|
|
3721
|
-
/\/\*/;
|
|
3722
|
-
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
3723
|
-
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
3724
|
-
var quote = "";
|
|
3725
|
-
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
3726
|
-
quote = start;
|
|
3727
|
-
return inside;
|
|
3728
|
-
});
|
|
3729
|
-
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
3730
|
-
return before + quote + sanitized + quote + after;
|
|
3731
|
-
});
|
|
3732
|
-
}
|
|
3733
|
-
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
3734
|
-
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
|
|
3735
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
3736
|
-
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
3737
|
-
}
|
|
3738
|
-
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
3739
|
-
};
|
|
3740
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
|
|
3741
|
-
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
|
|
3742
|
-
};
|
|
3743
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(selector, style) {
|
|
3744
|
-
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
3745
|
-
throw Error("Selector does not allow '<', got: " + selector);
|
|
3746
|
-
}
|
|
3747
|
-
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
3748
|
-
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
3749
|
-
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
3750
|
-
}
|
|
3751
|
-
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
|
|
3752
|
-
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
3753
|
-
}
|
|
3754
|
-
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
3755
|
-
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
3756
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
3757
|
-
};
|
|
3758
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
|
|
3759
|
-
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
3760
|
-
var ch = s[i];
|
|
3761
|
-
if (brackets[ch]) {
|
|
3762
|
-
expectedBrackets.push(brackets[ch]);
|
|
3763
|
-
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
3764
|
-
return !1;
|
|
3765
|
-
}
|
|
3766
|
-
}
|
|
3767
|
-
return expectedBrackets.length == 0;
|
|
3768
|
-
};
|
|
3769
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat = function(var_args) {
|
|
3770
|
-
var result = "", addArgument = function(argument) {
|
|
3771
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(argument);
|
|
3772
|
-
};
|
|
3773
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
3774
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(result);
|
|
3775
|
-
};
|
|
3776
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
3777
|
-
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
3778
|
-
if (styleSheetString.length === 0) {
|
|
3779
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;
|
|
3780
|
-
}
|
|
3781
|
-
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
3782
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheetString);
|
|
3783
|
-
};
|
|
3784
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
3785
|
-
if (safeStyleSheet instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet && safeStyleSheet.constructor === module$contents$goog$html$SafeStyleSheet_SafeStyleSheet) {
|
|
3786
|
-
return safeStyleSheet.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
|
|
3787
|
-
}
|
|
3788
|
-
(0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '" + safeStyleSheet + "' of type " + goog.typeOf(safeStyleSheet));
|
|
3789
|
-
return "type_error:SafeStyleSheet";
|
|
3610
|
+
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"};
|
|
3611
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = function(token, value) {
|
|
3612
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
3613
|
+
this.privateDoNotAccessOrElseWrappedStyleSheet = value;
|
|
3790
3614
|
};
|
|
3791
|
-
module$
|
|
3792
|
-
return
|
|
3615
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.prototype.toString = function() {
|
|
3616
|
+
return this.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
3793
3617
|
};
|
|
3794
|
-
module$contents$
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
3798
|
-
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"};
|
|
3799
|
-
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
3800
|
-
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
3801
|
-
return (0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet)(styleSheet);
|
|
3618
|
+
var module$contents$safevalues$internals$style_sheet_impl_StyleSheetImpl = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
3619
|
+
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(value) {
|
|
3620
|
+
return new module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
3802
3621
|
}
|
|
3803
3622
|
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
3804
3623
|
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
3805
|
-
return value instanceof module$
|
|
3624
|
+
return value instanceof module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
3806
3625
|
}
|
|
3807
3626
|
module$exports$safevalues$internals$style_sheet_impl.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
3808
3627
|
function module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(value) {
|
|
3809
|
-
|
|
3628
|
+
if (module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value)) {
|
|
3629
|
+
return value.privateDoNotAccessOrElseWrappedStyleSheet;
|
|
3630
|
+
}
|
|
3631
|
+
var message = "";
|
|
3632
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeStyleSheet, got '" + value + "' of type '" + typeof value + "'");
|
|
3633
|
+
throw Error(message);
|
|
3810
3634
|
}
|
|
3811
3635
|
module$exports$safevalues$internals$style_sheet_impl.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
3812
3636
|
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"};
|
|
@@ -4905,9 +4729,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
4905
4729
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
4906
4730
|
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"};
|
|
4907
4731
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
4908
|
-
var $jscomp$tmp$error$
|
|
4909
|
-
this.message = $jscomp$tmp$error$
|
|
4910
|
-
"stack" in $jscomp$tmp$error$
|
|
4732
|
+
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.");
|
|
4733
|
+
this.message = $jscomp$tmp$error$m991617773$25.message;
|
|
4734
|
+
"stack" in $jscomp$tmp$error$m991617773$25 && (this.stack = $jscomp$tmp$error$m991617773$25.stack);
|
|
4911
4735
|
this.url = url;
|
|
4912
4736
|
this.typeName = typeName;
|
|
4913
4737
|
this.contentType = contentType;
|
|
@@ -4919,48 +4743,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
4919
4743
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
4920
4744
|
}
|
|
4921
4745
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
4922
|
-
var response, $jscomp$optchain$
|
|
4923
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4924
|
-
if ($jscomp$generator$context$
|
|
4925
|
-
return $jscomp$generator$context$
|
|
4926
|
-
}
|
|
4927
|
-
response = $jscomp$generator$context$
|
|
4928
|
-
mimeType = ($jscomp$optchain$
|
|
4929
|
-
return $jscomp$generator$context$
|
|
4746
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
4747
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$29) {
|
|
4748
|
+
if ($jscomp$generator$context$m991617773$29.nextAddress == 1) {
|
|
4749
|
+
return $jscomp$generator$context$m991617773$29.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
4750
|
+
}
|
|
4751
|
+
response = $jscomp$generator$context$m991617773$29.yieldResult;
|
|
4752
|
+
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();
|
|
4753
|
+
return $jscomp$generator$context$m991617773$29.return({html:function() {
|
|
4930
4754
|
var text;
|
|
4931
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4932
|
-
if ($jscomp$generator$context$
|
|
4755
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$26) {
|
|
4756
|
+
if ($jscomp$generator$context$m991617773$26.nextAddress == 1) {
|
|
4933
4757
|
if (mimeType !== "text/html") {
|
|
4934
4758
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
4935
4759
|
}
|
|
4936
|
-
return $jscomp$generator$context$
|
|
4760
|
+
return $jscomp$generator$context$m991617773$26.yield(response.text(), 2);
|
|
4937
4761
|
}
|
|
4938
|
-
text = $jscomp$generator$context$
|
|
4939
|
-
return $jscomp$generator$context$
|
|
4762
|
+
text = $jscomp$generator$context$m991617773$26.yieldResult;
|
|
4763
|
+
return $jscomp$generator$context$m991617773$26.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
4940
4764
|
});
|
|
4941
4765
|
}, script:function() {
|
|
4942
4766
|
var text;
|
|
4943
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4944
|
-
if ($jscomp$generator$context$
|
|
4767
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$27) {
|
|
4768
|
+
if ($jscomp$generator$context$m991617773$27.nextAddress == 1) {
|
|
4945
4769
|
if (mimeType !== "text/javascript" && mimeType !== "application/javascript") {
|
|
4946
4770
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
4947
4771
|
}
|
|
4948
|
-
return $jscomp$generator$context$
|
|
4772
|
+
return $jscomp$generator$context$m991617773$27.yield(response.text(), 2);
|
|
4949
4773
|
}
|
|
4950
|
-
text = $jscomp$generator$context$
|
|
4951
|
-
return $jscomp$generator$context$
|
|
4774
|
+
text = $jscomp$generator$context$m991617773$27.yieldResult;
|
|
4775
|
+
return $jscomp$generator$context$m991617773$27.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
4952
4776
|
});
|
|
4953
4777
|
}, styleSheet:function() {
|
|
4954
4778
|
var text;
|
|
4955
|
-
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$
|
|
4956
|
-
if ($jscomp$generator$context$
|
|
4779
|
+
return (0,$jscomp.asyncExecutePromiseGeneratorProgram)(function($jscomp$generator$context$m991617773$28) {
|
|
4780
|
+
if ($jscomp$generator$context$m991617773$28.nextAddress == 1) {
|
|
4957
4781
|
if (mimeType !== "text/css") {
|
|
4958
4782
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
4959
4783
|
}
|
|
4960
|
-
return $jscomp$generator$context$
|
|
4784
|
+
return $jscomp$generator$context$m991617773$28.yield(response.text(), 2);
|
|
4961
4785
|
}
|
|
4962
|
-
text = $jscomp$generator$context$
|
|
4963
|
-
return $jscomp$generator$context$
|
|
4786
|
+
text = $jscomp$generator$context$m991617773$28.yieldResult;
|
|
4787
|
+
return $jscomp$generator$context$m991617773$28.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
4964
4788
|
});
|
|
4965
4789
|
}});
|
|
4966
4790
|
});
|
|
@@ -6382,8 +6206,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
6382
6206
|
}
|
|
6383
6207
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
6384
6208
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
6385
|
-
for (var urlQueryParams = passthroughParams = passthroughParams === void 0 ? {} : passthroughParams, $jscomp$iter$29 = (0,$jscomp.makeIterator)(Object.entries(mapping)), $jscomp$key$
|
|
6386
|
-
var $jscomp$destructuring$var3 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6209
|
+
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()) {
|
|
6210
|
+
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;
|
|
6387
6211
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
6388
6212
|
}
|
|
6389
6213
|
return urlQueryParams;
|
|
@@ -6394,8 +6218,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
6394
6218
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1, hasSafeContentType = !1;
|
|
6395
6219
|
if (params.headers) {
|
|
6396
6220
|
hasContentType = params.headers["Content-Type"] != null;
|
|
6397
|
-
for (var $jscomp$iter$30 = (0,$jscomp.makeIterator)(Object.entries(params.headers)), $jscomp$key$
|
|
6398
|
-
var $jscomp$destructuring$var5 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
6221
|
+
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()) {
|
|
6222
|
+
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;
|
|
6399
6223
|
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);
|
|
6400
6224
|
}
|
|
6401
6225
|
}
|
|
@@ -6435,9 +6259,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
6435
6259
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
6436
6260
|
};
|
|
6437
6261
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
6438
|
-
var $jscomp$this$
|
|
6262
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
6439
6263
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
6440
|
-
return $jscomp$this$
|
|
6264
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
6441
6265
|
}));
|
|
6442
6266
|
};
|
|
6443
6267
|
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"};
|
|
@@ -6577,7 +6401,7 @@ goog.debug.entryPointRegistry.unmonitorAllIfPossible = function(monitor) {
|
|
|
6577
6401
|
var module$contents$goog$events$BrowserFeature_purify = function(fn) {
|
|
6578
6402
|
return {valueOf:fn}.valueOf();
|
|
6579
6403
|
};
|
|
6580
|
-
goog.events.BrowserFeature = {TOUCH_ENABLED
|
|
6404
|
+
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() {
|
|
6581
6405
|
if (!goog.global.addEventListener || !Object.defineProperty) {
|
|
6582
6406
|
return !1;
|
|
6583
6407
|
}
|
|
@@ -6621,9 +6445,8 @@ goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2
|
|
|
6621
6445
|
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);
|
|
6622
6446
|
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);
|
|
6623
6447
|
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);
|
|
6624
|
-
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,
|
|
6625
|
-
goog.flags.JSPB_ENABLE_LOW_INDEX_EXTENSION_WRITES = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ?
|
|
6626
|
-
module$contents$goog$flags_STAGING);
|
|
6448
|
+
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);
|
|
6449
|
+
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);
|
|
6627
6450
|
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);
|
|
6628
6451
|
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);
|
|
6629
6452
|
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);
|
|
@@ -11846,48 +11669,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
11846
11669
|
}, set:function(value) {
|
|
11847
11670
|
this.Serializable$set("uris", value);
|
|
11848
11671
|
}}});
|
|
11849
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequestParameters = function() {
|
|
11850
|
-
};
|
|
11851
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest = function(parameters) {
|
|
11852
|
-
parameters = parameters === void 0 ? {} : parameters;
|
|
11853
|
-
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11854
|
-
this.Serializable$set("imageManifest", parameters.imageManifest == null ? null : parameters.imageManifest);
|
|
11855
|
-
this.Serializable$set("overwrite", parameters.overwrite == null ? null : parameters.overwrite);
|
|
11856
|
-
this.Serializable$set("useLatestObjectVersion", parameters.useLatestObjectVersion == null ? null : parameters.useLatestObjectVersion);
|
|
11857
|
-
};
|
|
11858
|
-
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest, module$exports$eeapiclient$domain_object.Serializable);
|
|
11859
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getConstructor = function() {
|
|
11860
|
-
return module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest;
|
|
11861
|
-
};
|
|
11862
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype.getPartialClassMetadata = function() {
|
|
11863
|
-
return {keys:["imageManifest", "overwrite", "useLatestObjectVersion"], objects:{imageManifest:module$exports$eeapiclient$ee_api_client.ImageManifest}};
|
|
11864
|
-
};
|
|
11865
|
-
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImportExternalImageRequest.prototype, {imageManifest:{configurable:!0, enumerable:!0, get:function() {
|
|
11866
|
-
return this.Serializable$has("imageManifest") ? this.Serializable$get("imageManifest") : null;
|
|
11867
|
-
}, set:function(value) {
|
|
11868
|
-
this.Serializable$set("imageManifest", value);
|
|
11869
|
-
}}, overwrite:{configurable:!0, enumerable:!0, get:function() {
|
|
11870
|
-
return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
|
|
11871
|
-
}, set:function(value) {
|
|
11872
|
-
this.Serializable$set("overwrite", value);
|
|
11873
|
-
}}, useLatestObjectVersion:{configurable:!0, enumerable:!0, get:function() {
|
|
11874
|
-
return this.Serializable$has("useLatestObjectVersion") ? this.Serializable$get("useLatestObjectVersion") : null;
|
|
11875
|
-
}, set:function(value) {
|
|
11876
|
-
this.Serializable$set("useLatestObjectVersion", value);
|
|
11877
|
-
}}});
|
|
11878
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponseParameters = function() {
|
|
11879
|
-
};
|
|
11880
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse = function(parameters) {
|
|
11881
|
-
parameters = parameters === void 0 ? {} : parameters;
|
|
11882
|
-
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
11883
|
-
};
|
|
11884
|
-
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse, module$exports$eeapiclient$domain_object.Serializable);
|
|
11885
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getConstructor = function() {
|
|
11886
|
-
return module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse;
|
|
11887
|
-
};
|
|
11888
|
-
module$exports$eeapiclient$ee_api_client.ImportExternalImageResponse.prototype.getPartialClassMetadata = function() {
|
|
11889
|
-
return {keys:[]};
|
|
11890
|
-
};
|
|
11891
11672
|
module$exports$eeapiclient$ee_api_client.ImportImageRequestParameters = function() {
|
|
11892
11673
|
};
|
|
11893
11674
|
module$exports$eeapiclient$ee_api_client.ImportImageRequest = function(parameters) {
|
|
@@ -14430,12 +14211,6 @@ module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.im
|
|
|
14430
14211
|
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14431
14212
|
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});
|
|
14432
14213
|
};
|
|
14433
|
-
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.importExternal = function(project, $requestBody, namedParameters, passthroughNamedParameters) {
|
|
14434
|
-
namedParameters = namedParameters === void 0 ? {} : namedParameters;
|
|
14435
|
-
passthroughNamedParameters = passthroughNamedParameters === void 0 ? {} : passthroughNamedParameters;
|
|
14436
|
-
this.$apiClient.$validateParameter(project, RegExp("^projects/[^/]+$"));
|
|
14437
|
-
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});
|
|
14438
|
-
};
|
|
14439
14214
|
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient = function() {
|
|
14440
14215
|
};
|
|
14441
14216
|
module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClient$XgafvEnum = function() {
|
|
@@ -15244,6 +15019,181 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
15244
15019
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
15245
15020
|
return goog.dom.tags.VOID_TAGS_[tagName] === !0;
|
|
15246
15021
|
};
|
|
15022
|
+
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"};
|
|
15023
|
+
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15024
|
+
module$exports$safevalues$for_closure$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
15025
|
+
module$exports$safevalues$for_closure$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15026
|
+
module$exports$safevalues$for_closure$index.createHtmlInternal = module$exports$safevalues$internals$html_impl.createHtmlInternal;
|
|
15027
|
+
module$exports$safevalues$for_closure$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
15028
|
+
module$exports$safevalues$for_closure$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15029
|
+
module$exports$safevalues$for_closure$index.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15030
|
+
module$exports$safevalues$for_closure$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15031
|
+
module$exports$safevalues$for_closure$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15032
|
+
module$exports$safevalues$for_closure$index.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15033
|
+
module$exports$safevalues$for_closure$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15034
|
+
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15035
|
+
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15036
|
+
var module$exports$safevalues$for_closure = {};
|
|
15037
|
+
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
15038
|
+
module$exports$safevalues$for_closure.EMPTY_HTML = module$exports$safevalues$for_closure$index.EMPTY_HTML;
|
|
15039
|
+
module$exports$safevalues$for_closure.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
15040
|
+
module$exports$safevalues$for_closure.createHtmlInternal = module$exports$safevalues$for_closure$index.createHtmlInternal;
|
|
15041
|
+
module$exports$safevalues$for_closure.unwrapHtml = module$exports$safevalues$for_closure$index.unwrapHtml;
|
|
15042
|
+
module$exports$safevalues$for_closure.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15043
|
+
module$exports$safevalues$for_closure.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
15044
|
+
module$exports$safevalues$for_closure.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
15045
|
+
module$exports$safevalues$for_closure.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15046
|
+
module$exports$safevalues$for_closure.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
15047
|
+
module$exports$safevalues$for_closure.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
15048
|
+
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
15049
|
+
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
15050
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.fromConstant = function(style) {
|
|
15051
|
+
var styleString = goog.string.Const.unwrap(style);
|
|
15052
|
+
if (styleString.length === 0) {
|
|
15053
|
+
return module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15054
|
+
}
|
|
15055
|
+
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
15056
|
+
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
15057
|
+
return module$contents$safevalues$internals$style_impl_createStyleInternal(styleString);
|
|
15058
|
+
};
|
|
15059
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.unwrap = function(safeStyle) {
|
|
15060
|
+
return module$contents$safevalues$internals$style_impl_unwrapStyle(safeStyle);
|
|
15061
|
+
};
|
|
15062
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.create = function(map) {
|
|
15063
|
+
var style = "", name;
|
|
15064
|
+
for (name in map) {
|
|
15065
|
+
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
15066
|
+
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
15067
|
+
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
15068
|
+
}
|
|
15069
|
+
var value = map[name];
|
|
15070
|
+
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 + ";");
|
|
15071
|
+
}
|
|
15072
|
+
}
|
|
15073
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15074
|
+
};
|
|
15075
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.concat = function(var_args) {
|
|
15076
|
+
var style = "", addArgument = function(argument) {
|
|
15077
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(argument);
|
|
15078
|
+
};
|
|
15079
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
15080
|
+
return style ? module$contents$safevalues$internals$style_impl_createStyleInternal(style) : module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY;
|
|
15081
|
+
};
|
|
15082
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.EMPTY = module$contents$safevalues$internals$style_impl_createStyleInternal("");
|
|
15083
|
+
module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
15084
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
15085
|
+
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
15086
|
+
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
15087
|
+
}
|
|
15088
|
+
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
15089
|
+
if (/[{;}]/.test(result)) {
|
|
15090
|
+
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
15091
|
+
}
|
|
15092
|
+
return result;
|
|
15093
|
+
}
|
|
15094
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
15095
|
+
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");
|
|
15096
|
+
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
15097
|
+
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
15098
|
+
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15099
|
+
}
|
|
15100
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
15101
|
+
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$exports$safevalues$internals$style_impl.SafeStyle.INNOCUOUS_STRING;
|
|
15102
|
+
}
|
|
15103
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
15104
|
+
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;
|
|
15105
|
+
}
|
|
15106
|
+
} else {
|
|
15107
|
+
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;
|
|
15108
|
+
}
|
|
15109
|
+
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
15110
|
+
}
|
|
15111
|
+
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
15112
|
+
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
15113
|
+
var c = value.charAt(i);
|
|
15114
|
+
c == "'" && outsideDouble ? outsideSingle = !outsideSingle : c == '"' && outsideSingle && (outsideDouble = !outsideDouble);
|
|
15115
|
+
}
|
|
15116
|
+
return outsideSingle && outsideDouble;
|
|
15117
|
+
}
|
|
15118
|
+
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
15119
|
+
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
15120
|
+
var c = value.charAt(i);
|
|
15121
|
+
if (c == "]") {
|
|
15122
|
+
if (outside) {
|
|
15123
|
+
return !1;
|
|
15124
|
+
}
|
|
15125
|
+
outside = !0;
|
|
15126
|
+
} else if (c == "[") {
|
|
15127
|
+
if (!outside) {
|
|
15128
|
+
return !1;
|
|
15129
|
+
}
|
|
15130
|
+
outside = !1;
|
|
15131
|
+
} else if (!outside && !tokenRe.test(c)) {
|
|
15132
|
+
return !1;
|
|
15133
|
+
}
|
|
15134
|
+
}
|
|
15135
|
+
return outside;
|
|
15136
|
+
}
|
|
15137
|
+
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 =
|
|
15138
|
+
/\/\*/;
|
|
15139
|
+
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
15140
|
+
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
15141
|
+
var quote = "";
|
|
15142
|
+
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
15143
|
+
quote = start;
|
|
15144
|
+
return inside;
|
|
15145
|
+
});
|
|
15146
|
+
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
15147
|
+
return before + quote + sanitized + quote + after;
|
|
15148
|
+
});
|
|
15149
|
+
}
|
|
15150
|
+
goog.html.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
15151
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.createRule = function(selector, style) {
|
|
15152
|
+
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
15153
|
+
throw Error("Selector does not allow '<', got: " + selector);
|
|
15154
|
+
}
|
|
15155
|
+
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
15156
|
+
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
15157
|
+
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
15158
|
+
}
|
|
15159
|
+
if (!module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(selectorToCheck)) {
|
|
15160
|
+
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
15161
|
+
}
|
|
15162
|
+
style instanceof module$exports$safevalues$internals$style_impl.SafeStyle || (style = module$exports$safevalues$internals$style_impl.SafeStyle.create(style));
|
|
15163
|
+
var styleSheet = selector + "{" + module$exports$safevalues$internals$style_impl.SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
15164
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15165
|
+
};
|
|
15166
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.concat = function(var_args) {
|
|
15167
|
+
var result = "", addArgument = function(argument) {
|
|
15168
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(argument);
|
|
15169
|
+
};
|
|
15170
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
15171
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(result);
|
|
15172
|
+
};
|
|
15173
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
15174
|
+
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
15175
|
+
if (styleSheetString.length === 0) {
|
|
15176
|
+
return module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY;
|
|
15177
|
+
}
|
|
15178
|
+
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
15179
|
+
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheetString);
|
|
15180
|
+
};
|
|
15181
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
15182
|
+
return module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(safeStyleSheet);
|
|
15183
|
+
};
|
|
15184
|
+
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.EMPTY = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal("");
|
|
15185
|
+
function module$contents$goog$html$SafeStyleSheet_hasBalancedBrackets(s) {
|
|
15186
|
+
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
15187
|
+
var ch = s[i];
|
|
15188
|
+
if (brackets[ch]) {
|
|
15189
|
+
expectedBrackets.push(brackets[ch]);
|
|
15190
|
+
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
15191
|
+
return !1;
|
|
15192
|
+
}
|
|
15193
|
+
}
|
|
15194
|
+
return expectedBrackets.length == 0;
|
|
15195
|
+
}
|
|
15196
|
+
goog.html.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
15247
15197
|
module$exports$safevalues$internals$html_impl.SafeHtml.unwrap = function(safeHtml) {
|
|
15248
15198
|
return (0,module$exports$safevalues$for_closure$index.unwrapHtml)(safeHtml).toString();
|
|
15249
15199
|
};
|
|
@@ -15310,7 +15260,7 @@ module$exports$safevalues$internals$html_impl.SafeHtml.createStyle = function(st
|
|
|
15310
15260
|
var combinedAttrs = module$exports$safevalues$internals$html_impl.SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
15311
15261
|
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
15312
15262
|
for (var i = 0; i < styleSheet.length; i++) {
|
|
15313
|
-
content += module$
|
|
15263
|
+
content += module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet.unwrap(styleSheet[i]);
|
|
15314
15264
|
}
|
|
15315
15265
|
var htmlContent = (0,module$exports$safevalues$for_closure$index.createHtmlInternal)(content);
|
|
15316
15266
|
return module$exports$safevalues$internals$html_impl.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
@@ -15417,6 +15367,9 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
15417
15367
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
15418
15368
|
}
|
|
15419
15369
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
15370
|
+
if (typeof value === "string") {
|
|
15371
|
+
return value;
|
|
15372
|
+
}
|
|
15420
15373
|
if (!goog.isObject(value)) {
|
|
15421
15374
|
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 : "");
|
|
15422
15375
|
}
|
|
@@ -15657,8 +15610,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15657
15610
|
this.replacements = new Map();
|
|
15658
15611
|
};
|
|
15659
15612
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15660
|
-
var $jscomp$this$
|
|
15661
|
-
return $jscomp$this$
|
|
15613
|
+
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) {
|
|
15614
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15662
15615
|
});
|
|
15663
15616
|
if (openedTags.length !== 0) {
|
|
15664
15617
|
if (goog.DEBUG) {
|
|
@@ -15876,8 +15829,8 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
15876
15829
|
if (Array.isArray(token)) {
|
|
15877
15830
|
tokens.push.apply(tokens, (0,$jscomp.arrayFromIterable)(token));
|
|
15878
15831
|
} else {
|
|
15879
|
-
var $jscomp$optchain$
|
|
15880
|
-
if (token.tokenKind !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.WHITESPACE || (($jscomp$optchain$
|
|
15832
|
+
var $jscomp$optchain$tmpm583190311$0 = void 0;
|
|
15833
|
+
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) {
|
|
15881
15834
|
tokens.push(token);
|
|
15882
15835
|
if (token.tokenKind === module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.EOF) {
|
|
15883
15836
|
return tokens;
|
|
@@ -16123,9 +16076,9 @@ module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.proto
|
|
|
16123
16076
|
repr:repr}) : {tokenKind:module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.NUMBER, repr:repr};
|
|
16124
16077
|
};
|
|
16125
16078
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.nextTwoInputsPointsAreWhitespace = function() {
|
|
16126
|
-
var $jscomp$this$
|
|
16079
|
+
var $jscomp$this$m583190311$26 = this;
|
|
16127
16080
|
return this.nextTwoInputCodePoints().every(function(c) {
|
|
16128
|
-
return $jscomp$this$
|
|
16081
|
+
return $jscomp$this$m583190311$26.isWhitespace(c);
|
|
16129
16082
|
});
|
|
16130
16083
|
};
|
|
16131
16084
|
module$contents$safevalues$builders$html_sanitizer$css$tokenizer_Tokenizer.prototype.twoCodePointsAreValidEscape = function(codePoint1, codePoint2) {
|
|
@@ -16232,8 +16185,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16232
16185
|
return null;
|
|
16233
16186
|
}
|
|
16234
16187
|
if (token.lowercaseName === "url") {
|
|
16235
|
-
var nextToken = tokens[i + 1], $jscomp$optchain$
|
|
16236
|
-
if ((($jscomp$optchain$
|
|
16188
|
+
var nextToken = tokens[i + 1], $jscomp$optchain$tmpm1877845113$0 = void 0;
|
|
16189
|
+
if ((($jscomp$optchain$tmpm1877845113$0 = nextToken) == null ? void 0 : $jscomp$optchain$tmpm1877845113$0.tokenKind) !== module$exports$safevalues$builders$html_sanitizer$css$tokens.CssTokenKind.STRING) {
|
|
16237
16190
|
return null;
|
|
16238
16191
|
}
|
|
16239
16192
|
var parsedUrl = module$contents$safevalues$builders$html_sanitizer$resource_url_policy_parseUrl(nextToken.value);
|
|
@@ -16256,8 +16209,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16256
16209
|
if (!this.allowKeyframes) {
|
|
16257
16210
|
return null;
|
|
16258
16211
|
}
|
|
16259
|
-
for (var keyframeRules = [], $jscomp$iter$31 = (0,$jscomp.makeIterator)(keyframesRule.cssRules), $jscomp$key$
|
|
16260
|
-
var rule = $jscomp$key$
|
|
16212
|
+
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()) {
|
|
16213
|
+
var rule = $jscomp$key$m1877845113$1$rule.value;
|
|
16261
16214
|
if (rule instanceof CSSKeyframeRule) {
|
|
16262
16215
|
var sanitizedRule = this.sanitizeKeyframeRule(rule);
|
|
16263
16216
|
sanitizedRule && keyframeRules.push(sanitizedRule);
|
|
@@ -16269,8 +16222,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16269
16222
|
if (!this.propertyAllowlist.has(name)) {
|
|
16270
16223
|
return !1;
|
|
16271
16224
|
}
|
|
16272
|
-
for (var $jscomp$iter$32 = (0,$jscomp.makeIterator)(this.propertyDiscarders), $jscomp$key$
|
|
16273
|
-
var discarder = $jscomp$key$
|
|
16225
|
+
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()) {
|
|
16226
|
+
var discarder = $jscomp$key$m1877845113$2$discarder.value;
|
|
16274
16227
|
if (discarder(name)) {
|
|
16275
16228
|
return !1;
|
|
16276
16229
|
}
|
|
@@ -16285,8 +16238,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16285
16238
|
return sanitizedValue ? module$contents$safevalues$builders$html_sanitizer$css$serializer_escapeIdent(name) + ": " + sanitizedValue + (isImportant ? " !important" : "") : null;
|
|
16286
16239
|
};
|
|
16287
16240
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleDeclaration = function(style, calledFromStyleElement) {
|
|
16288
|
-
for (var sortedPropertyNames = [].concat((0,$jscomp.arrayFromIterable)(style)).sort(), sanitizedProperties = "", $jscomp$iter$33 = (0,$jscomp.makeIterator)(sortedPropertyNames), $jscomp$key$
|
|
16289
|
-
var name = $jscomp$key$
|
|
16241
|
+
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()) {
|
|
16242
|
+
var name = $jscomp$key$m1877845113$3$name.value, value = style.getPropertyValue(name), isImportant = style.getPropertyPriority(name) === "important", sanitizedProperty = this.sanitizeProperty(name, value, isImportant, calledFromStyleElement);
|
|
16290
16243
|
sanitizedProperty && (sanitizedProperties += sanitizedProperty + ";");
|
|
16291
16244
|
}
|
|
16292
16245
|
return sanitizedProperties;
|
|
@@ -16300,8 +16253,8 @@ module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.pr
|
|
|
16300
16253
|
return selector + " { " + sanitizedProperties + " }";
|
|
16301
16254
|
};
|
|
16302
16255
|
module$contents$safevalues$builders$html_sanitizer$css$sanitizer_CssSanitizer.prototype.sanitizeStyleElement = function(cssText) {
|
|
16303
|
-
for (var rules = this.getStyleSheet(cssText).cssRules, output = [], $jscomp$iter$34 = (0,$jscomp.makeIterator)(rules), $jscomp$key$
|
|
16304
|
-
var rule = $jscomp$key$
|
|
16256
|
+
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()) {
|
|
16257
|
+
var rule = $jscomp$key$m1877845113$4$rule.value;
|
|
16305
16258
|
if (rule instanceof CSSStyleRule) {
|
|
16306
16259
|
var sanitizedRule = this.sanitizeStyleRule(rule);
|
|
16307
16260
|
sanitizedRule && output.push(sanitizedRule);
|
|
@@ -16462,8 +16415,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16462
16415
|
return fragment;
|
|
16463
16416
|
};
|
|
16464
16417
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
16465
|
-
for (var $jscomp$this$
|
|
16466
|
-
return $jscomp$this$
|
|
16418
|
+
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) {
|
|
16419
|
+
return $jscomp$this$m1803429925$13.nodeFilter(n);
|
|
16467
16420
|
}), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; currentNode !== null;) {
|
|
16468
16421
|
var sanitizedNode = void 0;
|
|
16469
16422
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -16498,8 +16451,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16498
16451
|
return this.createTextNode(textNode.data);
|
|
16499
16452
|
};
|
|
16500
16453
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
16501
|
-
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$
|
|
16502
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
16454
|
+
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()) {
|
|
16455
|
+
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);
|
|
16503
16456
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
16504
16457
|
switch(policy.policyAction) {
|
|
16505
16458
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -16531,9 +16484,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16531
16484
|
break;
|
|
16532
16485
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET:
|
|
16533
16486
|
if (this.resourceUrlPolicy) {
|
|
16534
|
-
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$
|
|
16487
|
+
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 =
|
|
16535
16488
|
$jscomp$iter$35.next()) {
|
|
16536
|
-
var part = $jscomp$key$
|
|
16489
|
+
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);
|
|
16537
16490
|
sanitizedUrl$jscomp$0 && sanitizedSrcset.parts.push({url:sanitizedUrl$jscomp$0.toString(), descriptor:part.descriptor});
|
|
16538
16491
|
}
|
|
16539
16492
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_setAttribute(newNode, name, module$contents$safevalues$builders$html_sanitizer$html_sanitizer_serializeSrcset(sanitizedSrcset));
|
|
@@ -16577,8 +16530,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
16577
16530
|
if (!conditions) {
|
|
16578
16531
|
return !0;
|
|
16579
16532
|
}
|
|
16580
|
-
for (var $jscomp$iter$37 = (0,$jscomp.makeIterator)(conditions), $jscomp$key$
|
|
16581
|
-
var $jscomp$destructuring$var33 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16533
|
+
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()) {
|
|
16534
|
+
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;
|
|
16582
16535
|
if (value && !expectedValues.has(value)) {
|
|
16583
16536
|
return !1;
|
|
16584
16537
|
}
|
|
@@ -16593,8 +16546,8 @@ function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_Srcse
|
|
|
16593
16546
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.Srcset = function() {
|
|
16594
16547
|
};
|
|
16595
16548
|
function module$contents$safevalues$builders$html_sanitizer$html_sanitizer_parseSrcset(srcset) {
|
|
16596
|
-
for (var parts = [], $jscomp$iter$38 = (0,$jscomp.makeIterator)(srcset.split(",")), $jscomp$key$
|
|
16597
|
-
var $jscomp$destructuring$var34 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16549
|
+
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()) {
|
|
16550
|
+
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;
|
|
16598
16551
|
parts.push({url:url__tsickle_destructured_3, descriptor:descriptor__tsickle_destructured_4});
|
|
16599
16552
|
}
|
|
16600
16553
|
return {parts:parts};
|
|
@@ -16651,8 +16604,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16651
16604
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.DEFAULT_SANITIZER_TABLE;
|
|
16652
16605
|
};
|
|
16653
16606
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
16654
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$39 = (0,$jscomp.makeIterator)(elementSet), $jscomp$key$
|
|
16655
|
-
var element = $jscomp$key$
|
|
16607
|
+
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()) {
|
|
16608
|
+
var element = $jscomp$key$m1412690177$21$element.value;
|
|
16656
16609
|
element = element.toUpperCase();
|
|
16657
16610
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
16658
16611
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -16670,8 +16623,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16670
16623
|
throw Error("Element: " + element + " is not a custom element");
|
|
16671
16624
|
}
|
|
16672
16625
|
if (allowedAttributes) {
|
|
16673
|
-
for (var elementPolicy = new Map(), $jscomp$iter$40 = (0,$jscomp.makeIterator)(allowedAttributes), $jscomp$key$
|
|
16674
|
-
elementPolicy.set($jscomp$key$
|
|
16626
|
+
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()) {
|
|
16627
|
+
elementPolicy.set($jscomp$key$m1412690177$22$attribute.value.toLowerCase(), {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
16675
16628
|
}
|
|
16676
16629
|
allowedElementPolicies.set(element, elementPolicy);
|
|
16677
16630
|
} else {
|
|
@@ -16681,15 +16634,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16681
16634
|
return this;
|
|
16682
16635
|
};
|
|
16683
16636
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
16684
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$41 = (0,$jscomp.makeIterator)(attributeSet), $jscomp$key$
|
|
16685
|
-
var attribute = $jscomp$key$
|
|
16637
|
+
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()) {
|
|
16638
|
+
var attribute = $jscomp$key$m1412690177$23$attribute.value;
|
|
16686
16639
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
16687
16640
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
16688
16641
|
}
|
|
16689
|
-
for (var $jscomp$iter$43 = (0,$jscomp.makeIterator)(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
16690
|
-
for (var $jscomp$destructuring$var37 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16642
|
+
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()) {
|
|
16643
|
+
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$ =
|
|
16691
16644
|
$jscomp$iter$42.next()) {
|
|
16692
|
-
var $jscomp$destructuring$var39 = (0,$jscomp.makeIterator)($jscomp$key$
|
|
16645
|
+
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;
|
|
16693
16646
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
16694
16647
|
}
|
|
16695
16648
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -16698,8 +16651,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSan
|
|
|
16698
16651
|
return this;
|
|
16699
16652
|
};
|
|
16700
16653
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.BaseSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
16701
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$44 = (0,$jscomp.makeIterator)(attributes), $jscomp$key$
|
|
16702
|
-
var attribute = $jscomp$key$
|
|
16654
|
+
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()) {
|
|
16655
|
+
var attribute = $jscomp$key$m1412690177$26$attribute.value;
|
|
16703
16656
|
if (attribute.indexOf("data-") !== 0) {
|
|
16704
16657
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
16705
16658
|
}
|
|
@@ -16761,7 +16714,7 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16761
16714
|
return this;
|
|
16762
16715
|
};
|
|
16763
16716
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.build = function() {
|
|
16764
|
-
var $jscomp$this$
|
|
16717
|
+
var $jscomp$this$m1412690177$17 = this;
|
|
16765
16718
|
this.extendSanitizerTableForCss();
|
|
16766
16719
|
var propertyDiscarders = [];
|
|
16767
16720
|
this.animationsAllowed || propertyDiscarders.push(function(property) {
|
|
@@ -16771,9 +16724,9 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSani
|
|
|
16771
16724
|
return /^transition(-|$)/.test(property);
|
|
16772
16725
|
});
|
|
16773
16726
|
return new module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl(this.sanitizerTable, module$exports$safevalues$internals$secrets.secretToken, function(cssText) {
|
|
16774
|
-
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$
|
|
16727
|
+
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);
|
|
16775
16728
|
}, function(cssText) {
|
|
16776
|
-
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$
|
|
16729
|
+
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);
|
|
16777
16730
|
}, this.resourceUrlPolicy);
|
|
16778
16731
|
};
|
|
16779
16732
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.CssSanitizerBuilder.prototype.extendSanitizerTableForCss = function() {
|
|
@@ -16836,8 +16789,8 @@ function module$contents$safevalues$builders$resource_url_builders_isValidRelati
|
|
|
16836
16789
|
function module$contents$safevalues$builders$resource_url_builders_UrlSegments() {
|
|
16837
16790
|
}
|
|
16838
16791
|
function module$contents$safevalues$builders$resource_url_builders_getUrlSegments(url) {
|
|
16839
|
-
var parts = url.split(
|
|
16840
|
-
return {urlPath:parts[0], params:params, fragment
|
|
16792
|
+
var parts = url.split(/[?#]/), params = /[?]/.test(url) ? "?" + parts[1] : "";
|
|
16793
|
+
return {urlPath:parts[0], params:params, fragment:/[#]/.test(url) ? "#" + (params ? parts[2] : parts[1]) : ""};
|
|
16841
16794
|
}
|
|
16842
16795
|
function module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl(templateObj) {
|
|
16843
16796
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
@@ -16861,20 +16814,29 @@ function module$contents$safevalues$builders$resource_url_builders_trustedResour
|
|
|
16861
16814
|
}
|
|
16862
16815
|
module$exports$safevalues$builders$resource_url_builders.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
16863
16816
|
var module$contents$safevalues$builders$resource_url_builders_IterableEntries, module$contents$safevalues$builders$resource_url_builders_SearchParams;
|
|
16817
|
+
function module$contents$safevalues$builders$resource_url_builders_replaceParams(trustedUrl, params) {
|
|
16818
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
|
|
16819
|
+
return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, "", urlSegments.fragment, params);
|
|
16820
|
+
}
|
|
16821
|
+
module$exports$safevalues$builders$resource_url_builders.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
16864
16822
|
function module$contents$safevalues$builders$resource_url_builders_appendParams(trustedUrl, params) {
|
|
16823
|
+
var urlSegments = module$contents$safevalues$builders$resource_url_builders_getUrlSegments(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUrl).toString());
|
|
16824
|
+
return module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(urlSegments.urlPath, urlSegments.params, urlSegments.fragment, params);
|
|
16825
|
+
}
|
|
16826
|
+
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16827
|
+
function module$contents$safevalues$builders$resource_url_builders_appendParamsInternal(path, params, hash, newParams) {
|
|
16865
16828
|
function addParam(value, key) {
|
|
16866
16829
|
value != null && (module$contents$safevalues$builders$resource_url_builders_isArray(value) ? value.forEach(function(v) {
|
|
16867
16830
|
return addParam(v, key);
|
|
16868
|
-
}) : (
|
|
16831
|
+
}) : (params += separator + encodeURIComponent(key) + "=" + encodeURIComponent(value), separator = "&"));
|
|
16869
16832
|
}
|
|
16870
|
-
var
|
|
16871
|
-
module$contents$safevalues$builders$resource_url_builders_isPlainObject(
|
|
16872
|
-
module$contents$safevalues$builders$resource_url_builders_isArray(
|
|
16833
|
+
var separator = params.length ? "&" : "?";
|
|
16834
|
+
module$contents$safevalues$builders$resource_url_builders_isPlainObject(newParams) && (newParams = Object.entries(newParams));
|
|
16835
|
+
module$contents$safevalues$builders$resource_url_builders_isArray(newParams) ? newParams.forEach(function(pair) {
|
|
16873
16836
|
return addParam(pair[1], pair[0]);
|
|
16874
|
-
}) :
|
|
16875
|
-
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(
|
|
16837
|
+
}) : newParams.forEach(addParam);
|
|
16838
|
+
return module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(path + params + hash);
|
|
16876
16839
|
}
|
|
16877
|
-
module$exports$safevalues$builders$resource_url_builders.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
16878
16840
|
function module$contents$safevalues$builders$resource_url_builders_isArray(x) {
|
|
16879
16841
|
return Array.isArray(x);
|
|
16880
16842
|
}
|
|
@@ -17014,12 +16976,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
17014
16976
|
}
|
|
17015
16977
|
try {
|
|
17016
16978
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
17017
|
-
} catch ($jscomp$unused$catch$
|
|
16979
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
17018
16980
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
17019
16981
|
}
|
|
17020
16982
|
try {
|
|
17021
16983
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
17022
|
-
} catch ($jscomp$unused$catch$
|
|
16984
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
17023
16985
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
17024
16986
|
}
|
|
17025
16987
|
return !1;
|
|
@@ -17067,6 +17029,7 @@ module$exports$safevalues$index.appendParams = module$contents$safevalues$builde
|
|
|
17067
17029
|
module$exports$safevalues$index.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
17068
17030
|
module$exports$safevalues$index.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
17069
17031
|
module$exports$safevalues$index.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
17032
|
+
module$exports$safevalues$index.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
17070
17033
|
module$exports$safevalues$index.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
17071
17034
|
module$exports$safevalues$index.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
17072
17035
|
module$exports$safevalues$index.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
@@ -17104,7 +17067,7 @@ module$exports$safevalues$index.unwrapScript = module$contents$safevalues$intern
|
|
|
17104
17067
|
module$exports$safevalues$index.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
17105
17068
|
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
17106
17069
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
17107
|
-
module$exports$safevalues$index.SafeStyleSheet = module$
|
|
17070
|
+
module$exports$safevalues$index.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
17108
17071
|
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
17109
17072
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
17110
17073
|
module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -17114,38 +17077,15 @@ module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url
|
|
|
17114
17077
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
17115
17078
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
17116
17079
|
goog.dom.safe = {};
|
|
17117
|
-
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
17118
17080
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
17119
17081
|
node.insertAdjacentHTML(position, module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html));
|
|
17120
17082
|
};
|
|
17121
|
-
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0
|
|
17122
|
-
goog.dom.safe.isInnerHtmlCleanupRecursive_ = goog.functions.cacheReturnValue(function() {
|
|
17123
|
-
if (goog.DEBUG && typeof document === "undefined") {
|
|
17124
|
-
return !1;
|
|
17125
|
-
}
|
|
17126
|
-
var div = document.createElement("div"), childDiv = document.createElement("div");
|
|
17127
|
-
childDiv.appendChild(document.createElement("div"));
|
|
17128
|
-
div.appendChild(childDiv);
|
|
17129
|
-
if (goog.DEBUG && !div.firstChild) {
|
|
17130
|
-
return !1;
|
|
17131
|
-
}
|
|
17132
|
-
var innerChild = div.firstChild.firstChild;
|
|
17133
|
-
div.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(module$exports$safevalues$internals$html_impl.SafeHtml.EMPTY);
|
|
17134
|
-
return !innerChild.parentElement;
|
|
17135
|
-
});
|
|
17136
|
-
goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse = function(elem, html) {
|
|
17137
|
-
if (goog.dom.safe.isInnerHtmlCleanupRecursive_()) {
|
|
17138
|
-
for (; elem.lastChild;) {
|
|
17139
|
-
elem.removeChild(elem.lastChild);
|
|
17140
|
-
}
|
|
17141
|
-
}
|
|
17142
|
-
elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17143
|
-
};
|
|
17083
|
+
goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_ = {MATH:!0, SCRIPT:!0, STYLE:!0, SVG:!0};
|
|
17144
17084
|
goog.dom.safe.setInnerHtml = function(elem, html) {
|
|
17145
17085
|
if (module$exports$enable_goog_asserts.ENABLE_GOOG_ASSERTS && elem.tagName && goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[elem.tagName.toUpperCase()]) {
|
|
17146
17086
|
throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of " + elem.tagName + ".");
|
|
17147
17087
|
}
|
|
17148
|
-
|
|
17088
|
+
elem.innerHTML = module$exports$safevalues$internals$html_impl.SafeHtml.unwrapTrustedHTML(html);
|
|
17149
17089
|
};
|
|
17150
17090
|
goog.dom.safe.setInnerHtmlFromConstant = function(element, constHtml) {
|
|
17151
17091
|
goog.dom.safe.setInnerHtml(element, module$contents$safevalues$restricted$reviewed_htmlSafeByReview(goog.string.Const.unwrap(constHtml), {justification:"Constant HTML to be immediatelly used."}));
|
|
@@ -19131,6 +19071,7 @@ safevalues.appendParams = module$contents$safevalues$builders$resource_url_build
|
|
|
19131
19071
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
19132
19072
|
safevalues.objectUrlFromScript = module$contents$safevalues$builders$resource_url_builders_objectUrlFromScript;
|
|
19133
19073
|
safevalues.replaceFragment = module$contents$safevalues$builders$resource_url_builders_replaceFragment;
|
|
19074
|
+
safevalues.replaceParams = module$contents$safevalues$builders$resource_url_builders_replaceParams;
|
|
19134
19075
|
safevalues.toAbsoluteResourceUrl = module$contents$safevalues$builders$resource_url_builders_toAbsoluteResourceUrl;
|
|
19135
19076
|
safevalues.trustedResourceUrl = module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl;
|
|
19136
19077
|
safevalues.concatScripts = module$contents$safevalues$builders$script_builders_concatScripts;
|
|
@@ -19169,7 +19110,7 @@ safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwra
|
|
|
19169
19110
|
safevalues.SafeStyle = module$exports$safevalues$internals$style_impl.SafeStyle;
|
|
19170
19111
|
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19171
19112
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19172
|
-
safevalues.SafeStyleSheet = module$
|
|
19113
|
+
safevalues.SafeStyleSheet = module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet;
|
|
19173
19114
|
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19174
19115
|
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19175
19116
|
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
@@ -19888,7 +19829,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19888
19829
|
ee.apiclient = {};
|
|
19889
19830
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19890
19831
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19891
|
-
ee.apiclient.API_CLIENT_VERSION = "0.
|
|
19832
|
+
ee.apiclient.API_CLIENT_VERSION = "1.0.0";
|
|
19892
19833
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19893
19834
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19894
19835
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -20186,8 +20127,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
20186
20127
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
20187
20128
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
20188
20129
|
method = method || "POST";
|
|
20189
|
-
var headers = {"Content-Type":contentType}, version = "0.
|
|
20190
|
-
version === "0.
|
|
20130
|
+
var headers = {"Content-Type":contentType}, version = "1.0.0";
|
|
20131
|
+
version === "1.0.0" && (version = "latest");
|
|
20191
20132
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
20192
20133
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
20193
20134
|
if (authToken != null) {
|