@google/earthengine 0.1.398 → 0.1.400
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 +245 -354
- package/build/ee_api_js.js +597 -596
- package/build/ee_api_js_debug.js +223 -332
- package/build/ee_api_js_npm.js +245 -354
- package/build/main.js +245 -354
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/eeapiclient/promise_request_service.ts +1 -1
- package/src/geometry.js +2 -2
- package/src/profiler.js +2 -1
- package/.tmp/BUILD +0 -699
- package/.tmp/METADATA +0 -23
- package/.tmp/VERSION_BUILD +0 -47
package/build/main.js
CHANGED
|
@@ -6060,9 +6060,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6060
6060
|
};
|
|
6061
6061
|
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;
|
|
6062
6062
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6063
|
-
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 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$
|
|
6064
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
6065
|
-
var key = $jscomp$key$
|
|
6063
|
+
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 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
6064
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
6065
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
6066
6066
|
if (null != value) {
|
|
6067
6067
|
var copy = void 0;
|
|
6068
6068
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -6073,11 +6073,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6073
6073
|
} else if (objects.hasOwnProperty(key)) {
|
|
6074
6074
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6075
6075
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6076
|
-
$jscomp$loop$
|
|
6076
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
6077
6077
|
return function(v) {
|
|
6078
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6078
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6079
6079
|
};
|
|
6080
|
-
}($jscomp$loop$
|
|
6080
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6081
6081
|
} else if (Array.isArray(value)) {
|
|
6082
6082
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6083
6083
|
continue;
|
|
@@ -6092,8 +6092,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6092
6092
|
return target;
|
|
6093
6093
|
}
|
|
6094
6094
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
6095
|
-
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$
|
|
6096
|
-
var mapKey = $jscomp$key$
|
|
6095
|
+
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
6096
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
6097
6097
|
null != mapValue && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
6098
6098
|
}
|
|
6099
6099
|
return objMap;
|
|
@@ -6123,39 +6123,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6123
6123
|
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))) {
|
|
6124
6124
|
return !1;
|
|
6125
6125
|
}
|
|
6126
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$
|
|
6127
|
-
var key = $jscomp$key$
|
|
6126
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
6127
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
6128
6128
|
if (has1 !== has2) {
|
|
6129
6129
|
return !1;
|
|
6130
6130
|
}
|
|
6131
6131
|
if (has1) {
|
|
6132
6132
|
var value1 = serializable1.Serializable$get(key);
|
|
6133
|
-
$jscomp$loop$
|
|
6133
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6134
6134
|
if (arrays1.hasOwnProperty(key)) {
|
|
6135
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6135
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
6136
6136
|
return !1;
|
|
6137
6137
|
}
|
|
6138
6138
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6139
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6139
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
6140
6140
|
return !1;
|
|
6141
6141
|
}
|
|
6142
6142
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6143
|
-
if ($jscomp$loop$
|
|
6144
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6143
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6144
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
6145
6145
|
return function(v1, i) {
|
|
6146
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6146
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
6147
6147
|
};
|
|
6148
|
-
}($jscomp$loop$
|
|
6148
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
6149
6149
|
return !1;
|
|
6150
6150
|
}
|
|
6151
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6151
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
6152
6152
|
return !1;
|
|
6153
6153
|
}
|
|
6154
6154
|
} else if (Array.isArray(value1)) {
|
|
6155
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6155
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
6156
6156
|
return !1;
|
|
6157
6157
|
}
|
|
6158
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6158
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
6159
6159
|
return !1;
|
|
6160
6160
|
}
|
|
6161
6161
|
}
|
|
@@ -6177,8 +6177,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
6177
6177
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
6178
6178
|
return !1;
|
|
6179
6179
|
}
|
|
6180
|
-
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$
|
|
6181
|
-
var mapKey = $jscomp$key$
|
|
6180
|
+
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
6181
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
6182
6182
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
6183
6183
|
return !1;
|
|
6184
6184
|
}
|
|
@@ -6363,8 +6363,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
6363
6363
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
6364
6364
|
}
|
|
6365
6365
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
6366
|
-
var $jscomp$templatelit$
|
|
6367
|
-
["\\0"]), $jscomp$templatelit$
|
|
6366
|
+
var $jscomp$templatelit$m425881384$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$m425881384$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$m425881384$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$m425881384$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
6367
|
+
["\\0"]), $jscomp$templatelit$m425881384$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$m425881384$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
6368
6368
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
6369
6369
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
6370
6370
|
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 ##############################");
|
|
@@ -6378,175 +6378,52 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
6378
6378
|
return -1 === fn.toString().indexOf("`");
|
|
6379
6379
|
}
|
|
6380
6380
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6381
|
-
return tag($jscomp$templatelit$
|
|
6381
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
6382
6382
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6383
|
-
return tag($jscomp$templatelit$
|
|
6383
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
6384
6384
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6385
|
-
return tag($jscomp$templatelit$
|
|
6385
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
6386
6386
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6387
|
-
return tag($jscomp$templatelit$
|
|
6388
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
6387
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
6388
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$m425881384$12);
|
|
6389
6389
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
6390
6390
|
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)) ?
|
|
6391
6391
|
!0 : !1;
|
|
6392
6392
|
}
|
|
6393
|
-
;
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
goog.fs.url.revokeObjectUrl = function(url) {
|
|
6399
|
-
goog.fs.url.getUrlObject_().revokeObjectURL(url);
|
|
6400
|
-
};
|
|
6401
|
-
goog.fs.url.UrlObject_ = function() {
|
|
6402
|
-
};
|
|
6403
|
-
goog.fs.url.UrlObject_.prototype.createObjectURL = function(arg) {
|
|
6404
|
-
};
|
|
6405
|
-
goog.fs.url.UrlObject_.prototype.revokeObjectURL = function(s) {
|
|
6406
|
-
};
|
|
6407
|
-
goog.fs.url.getUrlObject_ = function() {
|
|
6408
|
-
var urlObject = goog.fs.url.findUrlObject_();
|
|
6409
|
-
if (null != urlObject) {
|
|
6410
|
-
return urlObject;
|
|
6411
|
-
}
|
|
6412
|
-
throw Error("This browser doesn't seem to support blob URLs");
|
|
6413
|
-
};
|
|
6414
|
-
goog.fs.url.findUrlObject_ = function() {
|
|
6415
|
-
return void 0 !== goog.global.URL && void 0 !== goog.global.URL.createObjectURL ? goog.global.URL : void 0 !== goog.global.createObjectURL ? goog.global : null;
|
|
6416
|
-
};
|
|
6417
|
-
goog.fs.url.browserSupportsObjectUrls = function() {
|
|
6418
|
-
return null != goog.fs.url.findUrlObject_();
|
|
6419
|
-
};
|
|
6420
|
-
goog.html.SafeUrl = function(value, token) {
|
|
6421
|
-
if (goog.DEBUG && token !== goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
6422
|
-
throw Error("SafeUrl is not meant to be built directly");
|
|
6423
|
-
}
|
|
6424
|
-
this.privateDoNotAccessOrElseSafeUrlWrappedValue_ = value;
|
|
6425
|
-
};
|
|
6426
|
-
goog.html.SafeUrl.prototype.toString = function() {
|
|
6427
|
-
return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString();
|
|
6428
|
-
};
|
|
6429
|
-
goog.html.SafeUrl.INNOCUOUS_STRING = "about:invalid#zClosurez";
|
|
6430
|
-
goog.html.SafeUrl.unwrap = function(safeUrl) {
|
|
6431
|
-
if (safeUrl instanceof goog.html.SafeUrl && safeUrl.constructor === goog.html.SafeUrl) {
|
|
6432
|
-
return safeUrl.privateDoNotAccessOrElseSafeUrlWrappedValue_;
|
|
6433
|
-
}
|
|
6434
|
-
goog.asserts.fail("expected object of type SafeUrl, got '" + safeUrl + "' of type " + goog.typeOf(safeUrl));
|
|
6435
|
-
return "type_error:SafeUrl";
|
|
6436
|
-
};
|
|
6437
|
-
goog.html.SafeUrl.fromConstant = function(url) {
|
|
6438
|
-
var str = goog.string.Const.unwrap(url);
|
|
6439
|
-
if (goog.DEBUG && "javascript:" === goog.html.SafeUrl.extractScheme(str)) {
|
|
6440
|
-
throw Error("Building a SafeUrl with a javascript scheme is not supported");
|
|
6441
|
-
}
|
|
6442
|
-
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(str);
|
|
6443
|
-
};
|
|
6444
|
-
goog.html.SAFE_MIME_TYPE_PATTERN_ = RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$', "i");
|
|
6445
|
-
goog.html.SafeUrl.isSafeMimeType = function(mimeType) {
|
|
6446
|
-
return goog.html.SAFE_MIME_TYPE_PATTERN_.test(mimeType);
|
|
6447
|
-
};
|
|
6448
|
-
goog.html.SafeUrl.fromBlob = function(blob) {
|
|
6449
|
-
var url = goog.html.SafeUrl.isSafeMimeType(blob.type) ? goog.fs.url.createObjectUrl(blob) : goog.html.SafeUrl.INNOCUOUS_STRING;
|
|
6450
|
-
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6451
|
-
};
|
|
6452
|
-
goog.html.DATA_URL_PATTERN_ = /^data:(.*);base64,[a-z0-9+\/]+=*$/i;
|
|
6453
|
-
goog.html.SafeUrl.tryFromDataUrl = function(dataUrl) {
|
|
6454
|
-
dataUrl = String(dataUrl);
|
|
6455
|
-
var filteredDataUrl = dataUrl.replace(/(%0A|%0D)/g, "");
|
|
6456
|
-
return filteredDataUrl.match(goog.html.DATA_URL_PATTERN_) ? goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(filteredDataUrl) : null;
|
|
6457
|
-
};
|
|
6458
|
-
goog.html.SafeUrl.fromDataUrl = function(dataUrl) {
|
|
6459
|
-
return goog.html.SafeUrl.tryFromDataUrl(dataUrl) || goog.html.SafeUrl.INNOCUOUS_URL;
|
|
6460
|
-
};
|
|
6461
|
-
goog.html.SafeUrl.fromTrustedResourceUrl = function(trustedResourceUrl) {
|
|
6462
|
-
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(trustedResourceUrl));
|
|
6463
|
-
};
|
|
6464
|
-
goog.html.SAFE_URL_PATTERN_ = /^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
|
|
6465
|
-
goog.html.SafeUrl.trySanitize = function(url) {
|
|
6466
|
-
if (url instanceof goog.html.SafeUrl) {
|
|
6467
|
-
return url;
|
|
6468
|
-
}
|
|
6469
|
-
url = String(url);
|
|
6470
|
-
return goog.html.SAFE_URL_PATTERN_.test(url) ? goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url) : goog.html.SafeUrl.tryFromDataUrl(url);
|
|
6471
|
-
};
|
|
6472
|
-
goog.html.SafeUrl.sanitize = function(url) {
|
|
6473
|
-
return goog.html.SafeUrl.trySanitize(url) || goog.html.SafeUrl.INNOCUOUS_URL;
|
|
6474
|
-
};
|
|
6475
|
-
goog.html.SafeUrl.sanitizeAssertUnchanged = function(url, opt_allowDataUrl) {
|
|
6476
|
-
if (url instanceof goog.html.SafeUrl) {
|
|
6477
|
-
return url;
|
|
6478
|
-
}
|
|
6479
|
-
url = String(url);
|
|
6480
|
-
if (opt_allowDataUrl && /^data:/i.test(url)) {
|
|
6481
|
-
var safeUrl = goog.html.SafeUrl.fromDataUrl(url);
|
|
6482
|
-
if (safeUrl.toString() == url) {
|
|
6483
|
-
return safeUrl;
|
|
6484
|
-
}
|
|
6485
|
-
}
|
|
6486
|
-
goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(url), "%s does not match the safe URL pattern", url) || (url = goog.html.SafeUrl.INNOCUOUS_STRING);
|
|
6487
|
-
return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
|
|
6488
|
-
};
|
|
6489
|
-
goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG = 2020 <= goog.FEATURESET_YEAR;
|
|
6490
|
-
goog.html.SafeUrl.supportsURLAPI = function() {
|
|
6491
|
-
if (goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG) {
|
|
6492
|
-
return !0;
|
|
6493
|
-
}
|
|
6494
|
-
try {
|
|
6495
|
-
return new URL("s://g"), !0;
|
|
6496
|
-
} catch (e) {
|
|
6497
|
-
return !1;
|
|
6498
|
-
}
|
|
6499
|
-
}();
|
|
6500
|
-
goog.html.SafeUrl.legacyExtractScheme = function(url) {
|
|
6501
|
-
var aTag = document.createElement("a");
|
|
6502
|
-
try {
|
|
6503
|
-
aTag.href = url;
|
|
6504
|
-
} catch (e) {
|
|
6505
|
-
return;
|
|
6506
|
-
}
|
|
6507
|
-
var protocol = aTag.protocol;
|
|
6508
|
-
return ":" === protocol || "" === protocol ? "https:" : protocol;
|
|
6509
|
-
};
|
|
6510
|
-
goog.html.SafeUrl.extractScheme = function(url) {
|
|
6511
|
-
if (!goog.html.SafeUrl.supportsURLAPI) {
|
|
6512
|
-
return goog.html.SafeUrl.legacyExtractScheme(url);
|
|
6513
|
-
}
|
|
6514
|
-
try {
|
|
6515
|
-
var parsedUrl = new URL(url);
|
|
6516
|
-
} catch (e) {
|
|
6517
|
-
return "https:";
|
|
6518
|
-
}
|
|
6519
|
-
return parsedUrl.protocol;
|
|
6520
|
-
};
|
|
6521
|
-
goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged = function(url) {
|
|
6522
|
-
if (url instanceof goog.html.SafeUrl) {
|
|
6523
|
-
return url;
|
|
6393
|
+
;var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
|
|
6394
|
+
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
6395
|
+
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
6396
|
+
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
6397
|
+
throw Error("Bad secret");
|
|
6524
6398
|
}
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6399
|
+
}
|
|
6400
|
+
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
6401
|
+
var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
|
|
6402
|
+
module$exports$safevalues$internals$url_impl.SafeUrl = function(token, value) {
|
|
6403
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
6404
|
+
this.privateDoNotAccessOrElseWrappedUrl = value;
|
|
6529
6405
|
};
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
return new goog.html.SafeUrl(url, goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_);
|
|
6406
|
+
module$exports$safevalues$internals$url_impl.SafeUrl.prototype.toString = function() {
|
|
6407
|
+
return this.privateDoNotAccessOrElseWrappedUrl;
|
|
6533
6408
|
};
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
module$exports$safevalues$internals$url_impl.SafeUrl = goog.html.SafeUrl;
|
|
6538
|
-
function module$contents$safevalues$internals$url_impl_createUrlInternal(url) {
|
|
6539
|
-
return (0,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
6409
|
+
var module$contents$safevalues$internals$url_impl_UrlImpl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
6410
|
+
function module$contents$safevalues$internals$url_impl_createUrlInternal(value) {
|
|
6411
|
+
return new module$exports$safevalues$internals$url_impl.SafeUrl(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
6540
6412
|
}
|
|
6541
6413
|
module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
|
|
6542
6414
|
module$exports$safevalues$internals$url_impl.ABOUT_BLANK = module$contents$safevalues$internals$url_impl_createUrlInternal("about:blank");
|
|
6543
6415
|
module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = module$contents$safevalues$internals$url_impl_createUrlInternal("about:invalid#zClosurez");
|
|
6544
6416
|
function module$contents$safevalues$internals$url_impl_isUrl(value) {
|
|
6545
|
-
return value instanceof
|
|
6417
|
+
return value instanceof module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
6546
6418
|
}
|
|
6547
6419
|
module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
6548
6420
|
function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
|
|
6549
|
-
|
|
6421
|
+
if (module$contents$safevalues$internals$url_impl_isUrl(value)) {
|
|
6422
|
+
return value.privateDoNotAccessOrElseWrappedUrl;
|
|
6423
|
+
}
|
|
6424
|
+
var message = "";
|
|
6425
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeUrl, got '" + value + "' of type '" + typeof value + "'");
|
|
6426
|
+
throw Error(message);
|
|
6550
6427
|
}
|
|
6551
6428
|
module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
6552
6429
|
var module$exports$safevalues$builders$url_builders = {}, module$contents$safevalues$builders$url_builders_module = module$contents$safevalues$builders$url_builders_module || {id:"third_party/javascript/safevalues/builders/url_builders.closure.js"};
|
|
@@ -6689,20 +6566,21 @@ function module$contents$safevalues$builders$url_builders_extractScheme(url) {
|
|
|
6689
6566
|
}
|
|
6690
6567
|
module$exports$safevalues$builders$url_builders.extractScheme = module$contents$safevalues$builders$url_builders_extractScheme;
|
|
6691
6568
|
var module$contents$safevalues$builders$url_builders_ALLOWED_SCHEMES = ["data:", "http:", "https:", "mailto:", "ftp:"];
|
|
6692
|
-
module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN = /^\s*(?!javascript:)(?:[
|
|
6693
|
-
function module$contents$safevalues$builders$
|
|
6694
|
-
|
|
6569
|
+
module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN = /^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;
|
|
6570
|
+
function module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) {
|
|
6571
|
+
var hasJavascriptUrlScheme = !module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN.test(url);
|
|
6572
|
+
hasJavascriptUrlScheme && module$contents$safevalues$builders$url_builders_triggerCallbacks(url);
|
|
6573
|
+
return hasJavascriptUrlScheme;
|
|
6695
6574
|
}
|
|
6575
|
+
module$exports$safevalues$builders$url_builders.reportJavaScriptUrl = module$contents$safevalues$builders$url_builders_reportJavaScriptUrl;
|
|
6696
6576
|
function module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(url) {
|
|
6697
|
-
if (module$contents$safevalues$builders$
|
|
6698
|
-
module$contents$safevalues$builders$url_builders_triggerCallbacks(url);
|
|
6699
|
-
} else {
|
|
6577
|
+
if (!module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url)) {
|
|
6700
6578
|
return url;
|
|
6701
6579
|
}
|
|
6702
6580
|
}
|
|
6703
6581
|
module$exports$safevalues$builders$url_builders.sanitizeJavaScriptUrl = module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl;
|
|
6704
6582
|
function module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url) {
|
|
6705
|
-
return url instanceof
|
|
6583
|
+
return url instanceof module$exports$safevalues$internals$url_impl.SafeUrl ? module$contents$safevalues$internals$url_impl_unwrapUrl(url) : module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(url);
|
|
6706
6584
|
}
|
|
6707
6585
|
module$exports$safevalues$builders$url_builders.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
|
|
6708
6586
|
function module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(url) {
|
|
@@ -6734,6 +6612,9 @@ module$exports$safevalues$dom$elements$anchor.setHref = function(anchor, url) {
|
|
|
6734
6612
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
6735
6613
|
void 0 !== sanitizedUrl && (anchor.href = sanitizedUrl);
|
|
6736
6614
|
};
|
|
6615
|
+
module$exports$safevalues$dom$elements$anchor.setHrefLite = function(anchor, url) {
|
|
6616
|
+
module$contents$safevalues$builders$url_builders_reportJavaScriptUrl(url) || (anchor.href = url);
|
|
6617
|
+
};
|
|
6737
6618
|
var module$exports$safevalues$dom$elements$area = {}, module$contents$safevalues$dom$elements$area_module = module$contents$safevalues$dom$elements$area_module || {id:"third_party/javascript/safevalues/dom/elements/area.closure.js"};
|
|
6738
6619
|
module$exports$safevalues$dom$elements$area.setHref = function(area, url) {
|
|
6739
6620
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
@@ -6748,35 +6629,29 @@ module$exports$safevalues$dom$elements$button.setFormaction = function(button, u
|
|
|
6748
6629
|
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
6749
6630
|
void 0 !== sanitizedUrl && (button.formAction = sanitizedUrl);
|
|
6750
6631
|
};
|
|
6751
|
-
var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
|
|
6752
|
-
module$exports$safevalues$internals$secrets.secretToken = {};
|
|
6753
|
-
function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
|
|
6754
|
-
if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
|
|
6755
|
-
throw Error("Bad secret");
|
|
6756
|
-
}
|
|
6757
|
-
}
|
|
6758
|
-
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
6759
6632
|
var module$exports$safevalues$internals$attribute_impl = {}, module$contents$safevalues$internals$attribute_impl_module = module$contents$safevalues$internals$attribute_impl_module || {id:"third_party/javascript/safevalues/internals/attribute_impl.closure.js"};
|
|
6760
|
-
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function() {
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
6764
|
-
this.privateDoNotAccessOrElseWrappedAttrPrefix = attrPrefix;
|
|
6633
|
+
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function(token, value) {
|
|
6634
|
+
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
6635
|
+
this.privateDoNotAccessOrElseWrappedAttributePrefix = value;
|
|
6765
6636
|
};
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
return this.privateDoNotAccessOrElseWrappedAttrPrefix;
|
|
6637
|
+
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix.prototype.toString = function() {
|
|
6638
|
+
return this.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
6769
6639
|
};
|
|
6770
|
-
|
|
6771
|
-
|
|
6640
|
+
var module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
6641
|
+
function module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(value) {
|
|
6642
|
+
return new module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
6772
6643
|
}
|
|
6773
6644
|
module$exports$safevalues$internals$attribute_impl.createAttributePrefixInternal = module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal;
|
|
6645
|
+
function module$contents$safevalues$internals$attribute_impl_isAttributePrefix(value) {
|
|
6646
|
+
return value instanceof module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
6647
|
+
}
|
|
6648
|
+
module$exports$safevalues$internals$attribute_impl.isAttributePrefix = module$contents$safevalues$internals$attribute_impl_isAttributePrefix;
|
|
6774
6649
|
function module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(value) {
|
|
6775
|
-
if (
|
|
6776
|
-
return value.
|
|
6650
|
+
if (module$contents$safevalues$internals$attribute_impl_isAttributePrefix(value)) {
|
|
6651
|
+
return value.privateDoNotAccessOrElseWrappedAttributePrefix;
|
|
6777
6652
|
}
|
|
6778
6653
|
var message = "";
|
|
6779
|
-
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix");
|
|
6654
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix, got '" + value + "' of type '" + typeof value + "'");
|
|
6780
6655
|
throw Error(message);
|
|
6781
6656
|
}
|
|
6782
6657
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
@@ -6924,6 +6799,14 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
|
|
|
6924
6799
|
goog.dom.tags.isVoidTag = function(tagName) {
|
|
6925
6800
|
return !0 === goog.dom.tags.VOID_TAGS_[tagName];
|
|
6926
6801
|
};
|
|
6802
|
+
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"};
|
|
6803
|
+
module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
6804
|
+
module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
6805
|
+
module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
6806
|
+
var module$exports$safevalues$for_closure = {};
|
|
6807
|
+
module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
6808
|
+
module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
6809
|
+
module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
6927
6810
|
var module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyle_SafeStyle = function(value, token) {
|
|
6928
6811
|
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
6929
6812
|
throw Error("SafeStyle is not meant to be built directly");
|
|
@@ -6975,8 +6858,8 @@ module$contents$goog$html$SafeStyle_SafeStyle.concat = function(var_args) {
|
|
|
6975
6858
|
module$contents$goog$html$SafeStyle_SafeStyle.EMPTY = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse("");
|
|
6976
6859
|
module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
6977
6860
|
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
6978
|
-
if (value instanceof
|
|
6979
|
-
return 'url("' +
|
|
6861
|
+
if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
6862
|
+
return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
6980
6863
|
}
|
|
6981
6864
|
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
6982
6865
|
if (/[{;}]/.test(result)) {
|
|
@@ -7036,7 +6919,7 @@ function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
|
7036
6919
|
quote = start;
|
|
7037
6920
|
return inside;
|
|
7038
6921
|
});
|
|
7039
|
-
var sanitized =
|
|
6922
|
+
var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
|
|
7040
6923
|
return before + quote + sanitized + quote + after;
|
|
7041
6924
|
});
|
|
7042
6925
|
}
|
|
@@ -7164,7 +7047,7 @@ module$contents$goog$html$SafeHtml_SafeHtml.createSandboxIframe = function(src,
|
|
|
7164
7047
|
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : "");
|
|
7165
7048
|
}
|
|
7166
7049
|
var fixedAttributes = {};
|
|
7167
|
-
fixedAttributes.src = src ?
|
|
7050
|
+
fixedAttributes.src = src ? module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(src)) : null;
|
|
7168
7051
|
fixedAttributes.srcdoc = srcdoc || null;
|
|
7169
7052
|
fixedAttributes.sandbox = "";
|
|
7170
7053
|
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
|
|
@@ -7188,7 +7071,7 @@ module$contents$goog$html$SafeHtml_SafeHtml.createStyle = function(styleSheet, a
|
|
|
7188
7071
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
7189
7072
|
};
|
|
7190
7073
|
module$contents$goog$html$SafeHtml_SafeHtml.createMetaRefresh = function(url, secs) {
|
|
7191
|
-
var unwrappedUrl =
|
|
7074
|
+
var unwrappedUrl = module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(url));
|
|
7192
7075
|
(module$contents$goog$labs$userAgent$browser_matchIE() || module$contents$goog$labs$userAgent$browser_matchEdgeHtml()) && goog.string.internal.contains(unwrappedUrl, ";") && (unwrappedUrl = "'" + unwrappedUrl.replace(/'/g, "%27") + "'");
|
|
7193
7076
|
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
|
|
7194
7077
|
};
|
|
@@ -7280,16 +7163,16 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
|
|
|
7280
7163
|
if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
|
|
7281
7164
|
if (value instanceof goog.html.TrustedResourceUrl) {
|
|
7282
7165
|
value = goog.html.TrustedResourceUrl.unwrap(value);
|
|
7283
|
-
} else if (value instanceof
|
|
7284
|
-
value =
|
|
7166
|
+
} else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
|
|
7167
|
+
value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
|
|
7285
7168
|
} else if ("string" === typeof value) {
|
|
7286
|
-
value =
|
|
7169
|
+
value = module$contents$safevalues$builders$url_builders_sanitizeUrl(value).toString();
|
|
7287
7170
|
} else {
|
|
7288
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires
|
|
7171
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires safevalues.SafeUrl, goog.string.Const, or string, value "' + value + '" given.' : "");
|
|
7289
7172
|
}
|
|
7290
7173
|
}
|
|
7291
7174
|
}
|
|
7292
|
-
goog.asserts.assert(value instanceof
|
|
7175
|
+
goog.asserts.assert(value instanceof module$exports$safevalues$internals$url_impl.SafeUrl || value instanceof goog.html.TrustedResourceUrl || value instanceof module$contents$goog$html$SafeStyle_SafeStyle || value instanceof module$contents$goog$html$SafeHtml_SafeHtml || "string" === typeof value || "number" === typeof value, "String or number value expected, got " + typeof value + " with value: " + value);
|
|
7293
7176
|
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
7294
7177
|
}
|
|
7295
7178
|
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
@@ -7437,9 +7320,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
|
|
|
7437
7320
|
}
|
|
7438
7321
|
}
|
|
7439
7322
|
module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
|
|
7440
|
-
var $jscomp$tmp$error = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
7441
|
-
this.message = $jscomp$tmp$error.message;
|
|
7442
|
-
"stack" in $jscomp$tmp$error && (this.stack = $jscomp$tmp$error.stack);
|
|
7323
|
+
var $jscomp$tmp$error$494508883$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
|
|
7324
|
+
this.message = $jscomp$tmp$error$494508883$1.message;
|
|
7325
|
+
"stack" in $jscomp$tmp$error$494508883$1 && (this.stack = $jscomp$tmp$error$494508883$1.stack);
|
|
7443
7326
|
this.type = type;
|
|
7444
7327
|
this.intent = intent;
|
|
7445
7328
|
this.name = "TypeCannotBeUsedWithIntentError";
|
|
@@ -7561,25 +7444,24 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
7561
7444
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
7562
7445
|
};
|
|
7563
7446
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
7564
|
-
var $jscomp$optchain$
|
|
7447
|
+
var $jscomp$optchain$tmpm1987982378$0, $jscomp$optchain$tmpm1987982378$1, el = null == ($jscomp$optchain$tmpm1987982378$1 = ($jscomp$optchain$tmpm1987982378$0 = win.document).querySelector) ? void 0 : $jscomp$optchain$tmpm1987982378$1.call($jscomp$optchain$tmpm1987982378$0, elementName + "[nonce]");
|
|
7565
7448
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
7566
7449
|
}
|
|
7567
7450
|
;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;
|
|
7568
|
-
module$exports$safevalues$internals$script_impl.SafeScript = function(token) {
|
|
7451
|
+
module$exports$safevalues$internals$script_impl.SafeScript = function(token, value) {
|
|
7569
7452
|
goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
7453
|
+
this.privateDoNotAccessOrElseWrappedScript = value;
|
|
7570
7454
|
};
|
|
7571
7455
|
module$exports$safevalues$internals$script_impl.SafeScript.prototype.toString = function() {
|
|
7572
7456
|
return this.privateDoNotAccessOrElseWrappedScript.toString();
|
|
7573
7457
|
};
|
|
7574
7458
|
var module$contents$safevalues$internals$script_impl_ScriptImpl = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
7575
|
-
function module$contents$safevalues$internals$script_impl_constructScript(
|
|
7576
|
-
|
|
7577
|
-
script.privateDoNotAccessOrElseWrappedScript = contents;
|
|
7578
|
-
return script;
|
|
7459
|
+
function module$contents$safevalues$internals$script_impl_constructScript(value) {
|
|
7460
|
+
return new module$exports$safevalues$internals$script_impl.SafeScript(module$exports$safevalues$internals$secrets.secretToken, value);
|
|
7579
7461
|
}
|
|
7580
|
-
function module$contents$safevalues$internals$script_impl_createScriptInternal(
|
|
7581
|
-
var
|
|
7582
|
-
return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(
|
|
7462
|
+
function module$contents$safevalues$internals$script_impl_createScriptInternal(value) {
|
|
7463
|
+
var noinlineValue = value, policy = (0,goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse)();
|
|
7464
|
+
return module$contents$safevalues$internals$script_impl_constructScript(policy ? policy.createScript(noinlineValue) : noinlineValue);
|
|
7583
7465
|
}
|
|
7584
7466
|
module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
|
|
7585
7467
|
module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$safevalues$internals$pure_pure(function() {
|
|
@@ -7590,7 +7472,7 @@ function module$contents$safevalues$internals$script_impl_isScript(value) {
|
|
|
7590
7472
|
}
|
|
7591
7473
|
module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
7592
7474
|
function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
|
|
7593
|
-
if (
|
|
7475
|
+
if (module$contents$safevalues$internals$script_impl_isScript(value)) {
|
|
7594
7476
|
return value.privateDoNotAccessOrElseWrappedScript;
|
|
7595
7477
|
}
|
|
7596
7478
|
var message = "";
|
|
@@ -7950,9 +7832,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
|
|
|
7950
7832
|
module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
|
|
7951
7833
|
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"};
|
|
7952
7834
|
module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
|
|
7953
|
-
var $jscomp$tmp$error = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
7954
|
-
this.message = $jscomp$tmp$error.message;
|
|
7955
|
-
"stack" in $jscomp$tmp$error && (this.stack = $jscomp$tmp$error.stack);
|
|
7835
|
+
var $jscomp$tmp$error$1153895636$4 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
|
|
7836
|
+
this.message = $jscomp$tmp$error$1153895636$4.message;
|
|
7837
|
+
"stack" in $jscomp$tmp$error$1153895636$4 && (this.stack = $jscomp$tmp$error$1153895636$4.stack);
|
|
7956
7838
|
this.url = url;
|
|
7957
7839
|
this.typeName = typeName;
|
|
7958
7840
|
this.contentType = contentType;
|
|
@@ -7964,48 +7846,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
7964
7846
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
7965
7847
|
}
|
|
7966
7848
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
7967
|
-
var response, $jscomp$optchain$
|
|
7968
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7969
|
-
if (1 == $jscomp$generator$context$
|
|
7970
|
-
return $jscomp$generator$context$
|
|
7971
|
-
}
|
|
7972
|
-
response = $jscomp$generator$context$
|
|
7973
|
-
mimeType = null == ($jscomp$optchain$
|
|
7974
|
-
return $jscomp$generator$context$
|
|
7849
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
7850
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$8) {
|
|
7851
|
+
if (1 == $jscomp$generator$context$1153895636$8.nextAddress) {
|
|
7852
|
+
return $jscomp$generator$context$1153895636$8.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
7853
|
+
}
|
|
7854
|
+
response = $jscomp$generator$context$1153895636$8.yieldResult;
|
|
7855
|
+
mimeType = null == ($jscomp$optchain$tmp1153895636$0 = response.headers.get("Content-Type")) ? void 0 : null == ($jscomp$optchain$tmp1153895636$1 = $jscomp$optchain$tmp1153895636$0.split(";", 2)) ? void 0 : null == ($jscomp$optchain$tmp1153895636$2 = $jscomp$optchain$tmp1153895636$1[0]) ? void 0 : $jscomp$optchain$tmp1153895636$2.toLowerCase();
|
|
7856
|
+
return $jscomp$generator$context$1153895636$8.return({html:function() {
|
|
7975
7857
|
var text;
|
|
7976
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7977
|
-
if (1 == $jscomp$generator$context$
|
|
7858
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$5) {
|
|
7859
|
+
if (1 == $jscomp$generator$context$1153895636$5.nextAddress) {
|
|
7978
7860
|
if ("text/html" !== mimeType) {
|
|
7979
7861
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
7980
7862
|
}
|
|
7981
|
-
return $jscomp$generator$context$
|
|
7863
|
+
return $jscomp$generator$context$1153895636$5.yield(response.text(), 2);
|
|
7982
7864
|
}
|
|
7983
|
-
text = $jscomp$generator$context$
|
|
7984
|
-
return $jscomp$generator$context$
|
|
7865
|
+
text = $jscomp$generator$context$1153895636$5.yieldResult;
|
|
7866
|
+
return $jscomp$generator$context$1153895636$5.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
7985
7867
|
});
|
|
7986
7868
|
}, script:function() {
|
|
7987
7869
|
var text;
|
|
7988
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7989
|
-
if (1 == $jscomp$generator$context$
|
|
7870
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$6) {
|
|
7871
|
+
if (1 == $jscomp$generator$context$1153895636$6.nextAddress) {
|
|
7990
7872
|
if ("text/javascript" !== mimeType && "application/javascript" !== mimeType) {
|
|
7991
7873
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
7992
7874
|
}
|
|
7993
|
-
return $jscomp$generator$context$
|
|
7875
|
+
return $jscomp$generator$context$1153895636$6.yield(response.text(), 2);
|
|
7994
7876
|
}
|
|
7995
|
-
text = $jscomp$generator$context$
|
|
7996
|
-
return $jscomp$generator$context$
|
|
7877
|
+
text = $jscomp$generator$context$1153895636$6.yieldResult;
|
|
7878
|
+
return $jscomp$generator$context$1153895636$6.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
7997
7879
|
});
|
|
7998
7880
|
}, styleSheet:function() {
|
|
7999
7881
|
var text;
|
|
8000
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
8001
|
-
if (1 == $jscomp$generator$context$
|
|
7882
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$7) {
|
|
7883
|
+
if (1 == $jscomp$generator$context$1153895636$7.nextAddress) {
|
|
8002
7884
|
if ("text/css" !== mimeType) {
|
|
8003
7885
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
8004
7886
|
}
|
|
8005
|
-
return $jscomp$generator$context$
|
|
7887
|
+
return $jscomp$generator$context$1153895636$7.yield(response.text(), 2);
|
|
8006
7888
|
}
|
|
8007
|
-
text = $jscomp$generator$context$
|
|
8008
|
-
return $jscomp$generator$context$
|
|
7889
|
+
text = $jscomp$generator$context$1153895636$7.yieldResult;
|
|
7890
|
+
return $jscomp$generator$context$1153895636$7.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
8009
7891
|
});
|
|
8010
7892
|
}});
|
|
8011
7893
|
});
|
|
@@ -9297,8 +9179,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
9297
9179
|
}
|
|
9298
9180
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
9299
9181
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
9300
|
-
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$
|
|
9301
|
-
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$
|
|
9182
|
+
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$28.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$28.next()) {
|
|
9183
|
+
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var27.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var27.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
9302
9184
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
9303
9185
|
}
|
|
9304
9186
|
return urlQueryParams;
|
|
@@ -9309,8 +9191,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
9309
9191
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
9310
9192
|
if (params.headers) {
|
|
9311
9193
|
hasContentType = null != params.headers["Content-Type"];
|
|
9312
|
-
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$
|
|
9313
|
-
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$
|
|
9194
|
+
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$29.next()) {
|
|
9195
|
+
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var29.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var29.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
9314
9196
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
9315
9197
|
}
|
|
9316
9198
|
}
|
|
@@ -9355,15 +9237,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
9355
9237
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
9356
9238
|
};
|
|
9357
9239
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
9358
|
-
var $jscomp$this$
|
|
9240
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
9359
9241
|
payload += this._metadataPayload;
|
|
9360
9242
|
return Promise.all(this.files.map(function(f) {
|
|
9361
|
-
return $jscomp$this$
|
|
9243
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
9362
9244
|
})).then(function(filePayloads) {
|
|
9363
|
-
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$
|
|
9364
|
-
payload += $jscomp$key$
|
|
9245
|
+
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$30.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$30.next()) {
|
|
9246
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
9365
9247
|
}
|
|
9366
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
9248
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
9367
9249
|
});
|
|
9368
9250
|
};
|
|
9369
9251
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -9451,9 +9333,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
9451
9333
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
9452
9334
|
};
|
|
9453
9335
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
9454
|
-
var $jscomp$this$
|
|
9336
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
9455
9337
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
9456
|
-
return $jscomp$this$
|
|
9338
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
9457
9339
|
}));
|
|
9458
9340
|
};
|
|
9459
9341
|
var module$exports$eeapiclient$ee_api_client = {}, module$contents$eeapiclient$ee_api_client_module = module$contents$eeapiclient$ee_api_client_module || {id:"geo/gestalt/client/javascript/v1/ee_api_client.closure.js"};
|
|
@@ -10599,15 +10481,20 @@ module$exports$eeapiclient$ee_api_client.DataAccessOptions = function(parameters
|
|
|
10599
10481
|
parameters = void 0 === parameters ? {} : parameters;
|
|
10600
10482
|
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
10601
10483
|
this.Serializable$set("logMode", null == parameters.logMode ? null : parameters.logMode);
|
|
10484
|
+
this.Serializable$set("isDirectAuth", null == parameters.isDirectAuth ? null : parameters.isDirectAuth);
|
|
10602
10485
|
};
|
|
10603
10486
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.DataAccessOptions, module$exports$eeapiclient$domain_object.Serializable);
|
|
10604
10487
|
module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype.getConstructor = function() {
|
|
10605
10488
|
return module$exports$eeapiclient$ee_api_client.DataAccessOptions;
|
|
10606
10489
|
};
|
|
10607
10490
|
module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype.getPartialClassMetadata = function() {
|
|
10608
|
-
return {enums:{logMode:module$exports$eeapiclient$ee_api_client.DataAccessOptionsLogModeEnum}, keys:["logMode"]};
|
|
10491
|
+
return {enums:{logMode:module$exports$eeapiclient$ee_api_client.DataAccessOptionsLogModeEnum}, keys:["isDirectAuth", "logMode"]};
|
|
10609
10492
|
};
|
|
10610
|
-
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype, {
|
|
10493
|
+
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.DataAccessOptions.prototype, {isDirectAuth:{configurable:!0, enumerable:!0, get:function() {
|
|
10494
|
+
return this.Serializable$has("isDirectAuth") ? this.Serializable$get("isDirectAuth") : null;
|
|
10495
|
+
}, set:function(value) {
|
|
10496
|
+
this.Serializable$set("isDirectAuth", value);
|
|
10497
|
+
}}, logMode:{configurable:!0, enumerable:!0, get:function() {
|
|
10611
10498
|
return this.Serializable$has("logMode") ? this.Serializable$get("logMode") : null;
|
|
10612
10499
|
}, set:function(value) {
|
|
10613
10500
|
this.Serializable$set("logMode", value);
|
|
@@ -15396,7 +15283,7 @@ function module$contents$safevalues$builders$document_fragment_builders_htmlToNo
|
|
|
15396
15283
|
}
|
|
15397
15284
|
module$exports$safevalues$builders$document_fragment_builders.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
15398
15285
|
var module$exports$safevalues$builders$style_sheet_builders = {}, module$contents$safevalues$builders$style_sheet_builders_module = module$contents$safevalues$builders$style_sheet_builders_module || {id:"third_party/javascript/safevalues/builders/style_sheet_builders.closure.js"}, module$contents$safevalues$builders$style_sheet_builders_Primitive;
|
|
15399
|
-
module$
|
|
15286
|
+
function module$contents$safevalues$builders$style_sheet_builders_safeStyleRule(templateObj) {
|
|
15400
15287
|
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
15401
15288
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
15402
15289
|
for (var stringifiedRule = templateObj[0], i = 0; i < templateObj.length - 1; i++) {
|
|
@@ -15419,18 +15306,21 @@ module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = function
|
|
|
15419
15306
|
throw Error("safeStyleRule can be used to construct a CSSStyleRule. @-rules should be constructed with the safeStyleSheet builder. Tried to parse: " + stringifiedRule);
|
|
15420
15307
|
}
|
|
15421
15308
|
}
|
|
15422
|
-
}
|
|
15423
|
-
module$exports$safevalues$builders$style_sheet_builders.
|
|
15309
|
+
}
|
|
15310
|
+
module$exports$safevalues$builders$style_sheet_builders.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
15311
|
+
function module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet(templateObj) {
|
|
15424
15312
|
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, 0);
|
|
15425
15313
|
var styleSheet = templateObj[0];
|
|
15426
15314
|
if (goog.DEBUG && /</.test(styleSheet)) {
|
|
15427
15315
|
throw Error("'<' character is forbidden in styleSheet string: " + styleSheet);
|
|
15428
15316
|
}
|
|
15429
15317
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet);
|
|
15430
|
-
}
|
|
15431
|
-
module$exports$safevalues$builders$style_sheet_builders.
|
|
15318
|
+
}
|
|
15319
|
+
module$exports$safevalues$builders$style_sheet_builders.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
15320
|
+
function module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets(sheets) {
|
|
15432
15321
|
return module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(sheets.map(module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet).join(""));
|
|
15433
|
-
}
|
|
15322
|
+
}
|
|
15323
|
+
module$exports$safevalues$builders$style_sheet_builders.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
15434
15324
|
var module$exports$safevalues$builders$html_builders = {}, module$contents$safevalues$builders$html_builders_module = module$contents$safevalues$builders$html_builders_module || {id:"third_party/javascript/safevalues/builders/html_builders.closure.js"};
|
|
15435
15325
|
function module$contents$safevalues$builders$html_builders_htmlEscape(value, options) {
|
|
15436
15326
|
options = void 0 === options ? {} : options;
|
|
@@ -15539,7 +15429,7 @@ module$exports$safevalues$builders$html_builders.styleSheetToHtml = function(sty
|
|
|
15539
15429
|
}
|
|
15540
15430
|
combinedAttributes.type = "text/css";
|
|
15541
15431
|
var stringifiedAttributes = module$contents$safevalues$builders$html_builders_stringifyAttributes("style", combinedAttributes);
|
|
15542
|
-
Array.isArray(styleSheet) && (styleSheet =
|
|
15432
|
+
Array.isArray(styleSheet) && (styleSheet = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets(styleSheet));
|
|
15543
15433
|
var styleContent = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet(styleSheet);
|
|
15544
15434
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)("<style " + stringifiedAttributes + ">" + styleContent + "</style>");
|
|
15545
15435
|
};
|
|
@@ -15576,8 +15466,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15576
15466
|
this.replacements = new Map();
|
|
15577
15467
|
};
|
|
15578
15468
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15579
|
-
var $jscomp$this$
|
|
15580
|
-
return $jscomp$this$
|
|
15469
|
+
var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
15470
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
15581
15471
|
});
|
|
15582
15472
|
if (0 !== openedTags.length) {
|
|
15583
15473
|
if (goog.DEBUG) {
|
|
@@ -15757,8 +15647,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15757
15647
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15758
15648
|
};
|
|
15759
15649
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15760
|
-
for (var $jscomp$this$
|
|
15761
|
-
return $jscomp$this$
|
|
15650
|
+
for (var $jscomp$this$m1085474118$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
15651
|
+
return $jscomp$this$m1085474118$10.nodeFilter(n);
|
|
15762
15652
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
15763
15653
|
var sanitizedNode = void 0;
|
|
15764
15654
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15785,8 +15675,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15785
15675
|
return document.createTextNode(textNode.data);
|
|
15786
15676
|
};
|
|
15787
15677
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15788
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$31 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$
|
|
15789
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15678
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$31 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$m1085474118$25$ = $jscomp$iter$31.next(); !$jscomp$key$m1085474118$25$.done; $jscomp$key$m1085474118$25$ = $jscomp$iter$31.next()) {
|
|
15679
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1085474118$25$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
15790
15680
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15791
15681
|
switch(policy.policyAction) {
|
|
15792
15682
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15839,8 +15729,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15839
15729
|
if (!conditions) {
|
|
15840
15730
|
return !0;
|
|
15841
15731
|
}
|
|
15842
|
-
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$
|
|
15843
|
-
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$
|
|
15732
|
+
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$m1085474118$26$ = $jscomp$iter$32.next(); !$jscomp$key$m1085474118$26$.done; $jscomp$key$m1085474118$26$ = $jscomp$iter$32.next()) {
|
|
15733
|
+
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$m1085474118$26$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = null == ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
15844
15734
|
if (value && !expectedValues.has(value)) {
|
|
15845
15735
|
return !1;
|
|
15846
15736
|
}
|
|
@@ -15894,8 +15784,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15894
15784
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable;
|
|
15895
15785
|
};
|
|
15896
15786
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15897
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$
|
|
15898
|
-
var element = $jscomp$key$
|
|
15787
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$435282654$0$element = $jscomp$iter$33.next(); !$jscomp$key$435282654$0$element.done; $jscomp$key$435282654$0$element = $jscomp$iter$33.next()) {
|
|
15788
|
+
var element = $jscomp$key$435282654$0$element.value;
|
|
15899
15789
|
element = element.toUpperCase();
|
|
15900
15790
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15901
15791
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15913,8 +15803,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15913
15803
|
throw Error("Element: " + element + " is not a custom element");
|
|
15914
15804
|
}
|
|
15915
15805
|
if (allowedAttributes) {
|
|
15916
|
-
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$
|
|
15917
|
-
elementPolicy.set($jscomp$key$
|
|
15806
|
+
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$435282654$1$attribute = $jscomp$iter$34.next(); !$jscomp$key$435282654$1$attribute.done; $jscomp$key$435282654$1$attribute = $jscomp$iter$34.next()) {
|
|
15807
|
+
elementPolicy.set($jscomp$key$435282654$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15918
15808
|
}
|
|
15919
15809
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15920
15810
|
} else {
|
|
@@ -15924,15 +15814,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15924
15814
|
return this;
|
|
15925
15815
|
};
|
|
15926
15816
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15927
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$
|
|
15928
|
-
var attribute = $jscomp$key$
|
|
15817
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$435282654$2$attribute = $jscomp$iter$35.next(); !$jscomp$key$435282654$2$attribute.done; $jscomp$key$435282654$2$attribute = $jscomp$iter$35.next()) {
|
|
15818
|
+
var attribute = $jscomp$key$435282654$2$attribute.value;
|
|
15929
15819
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15930
15820
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15931
15821
|
}
|
|
15932
|
-
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
15933
|
-
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$
|
|
15822
|
+
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$4$ = $jscomp$iter$37.next(); !$jscomp$key$435282654$4$.done; $jscomp$key$435282654$4$ = $jscomp$iter$37.next()) {
|
|
15823
|
+
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$435282654$4$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var35.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var35.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$36 = $jscomp.makeIterator(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$3$ = $jscomp$iter$36.next(); !$jscomp$key$435282654$3$.done; $jscomp$key$435282654$3$ =
|
|
15934
15824
|
$jscomp$iter$36.next()) {
|
|
15935
|
-
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$
|
|
15825
|
+
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$435282654$3$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var37.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var37.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
15936
15826
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15937
15827
|
}
|
|
15938
15828
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15941,8 +15831,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15941
15831
|
return this;
|
|
15942
15832
|
};
|
|
15943
15833
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15944
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$
|
|
15945
|
-
var attribute = $jscomp$key$
|
|
15834
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$435282654$5$attribute = $jscomp$iter$38.next(); !$jscomp$key$435282654$5$attribute.done; $jscomp$key$435282654$5$attribute = $jscomp$iter$38.next()) {
|
|
15835
|
+
var attribute = $jscomp$key$435282654$5$attribute.value;
|
|
15946
15836
|
if (0 !== attribute.indexOf("data-")) {
|
|
15947
15837
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15948
15838
|
}
|
|
@@ -16193,12 +16083,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16193
16083
|
}
|
|
16194
16084
|
try {
|
|
16195
16085
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16196
|
-
} catch ($jscomp$unused$catch$
|
|
16086
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
16197
16087
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16198
16088
|
}
|
|
16199
16089
|
try {
|
|
16200
16090
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16201
|
-
} catch ($jscomp$unused$catch$
|
|
16091
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
16202
16092
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16203
16093
|
}
|
|
16204
16094
|
return !1;
|
|
@@ -16226,12 +16116,15 @@ module$exports$safevalues$index.htmlFragment = module$contents$safevalues$builde
|
|
|
16226
16116
|
module$exports$safevalues$index.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
16227
16117
|
module$exports$safevalues$index.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
16228
16118
|
module$exports$safevalues$index.concatHtmls = module$exports$safevalues$builders$html_builders.concatHtmls;
|
|
16119
|
+
module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$html_builders.createHtml;
|
|
16229
16120
|
module$exports$safevalues$index.doctypeHtml = module$exports$safevalues$builders$html_builders.doctypeHtml;
|
|
16230
16121
|
module$exports$safevalues$index.htmlEscape = module$exports$safevalues$builders$html_builders.htmlEscape;
|
|
16231
16122
|
module$exports$safevalues$index.joinHtmls = module$exports$safevalues$builders$html_builders.joinHtmls;
|
|
16232
16123
|
module$exports$safevalues$index.nodeToHtml = module$exports$safevalues$builders$html_builders.nodeToHtml;
|
|
16233
16124
|
module$exports$safevalues$index.scriptToHtml = module$exports$safevalues$builders$html_builders.scriptToHtml;
|
|
16234
16125
|
module$exports$safevalues$index.scriptUrlToHtml = module$exports$safevalues$builders$html_builders.scriptUrlToHtml;
|
|
16126
|
+
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
16127
|
+
module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
16235
16128
|
module$exports$safevalues$index.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
16236
16129
|
module$exports$safevalues$index.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
16237
16130
|
module$exports$safevalues$index.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
@@ -16249,46 +16142,43 @@ module$exports$safevalues$index.valueAsScript = module$contents$safevalues$build
|
|
|
16249
16142
|
module$exports$safevalues$index.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
16250
16143
|
module$exports$safevalues$index.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
16251
16144
|
module$exports$safevalues$index.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
16252
|
-
module$exports$safevalues$index.concatStyleSheets = module$
|
|
16253
|
-
module$exports$safevalues$index.
|
|
16145
|
+
module$exports$safevalues$index.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
16146
|
+
module$exports$safevalues$index.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
16147
|
+
module$exports$safevalues$index.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
16148
|
+
module$exports$safevalues$index.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
16254
16149
|
module$exports$safevalues$index.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
16255
16150
|
module$exports$safevalues$index.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
16256
16151
|
module$exports$safevalues$index.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
16257
16152
|
module$exports$safevalues$index.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
16258
16153
|
module$exports$safevalues$index.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
16259
16154
|
module$exports$safevalues$index.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
16260
|
-
module$exports$safevalues$index.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
16261
16155
|
module$exports$safevalues$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
16262
16156
|
module$exports$safevalues$index.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
16263
16157
|
module$exports$safevalues$index.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
16264
16158
|
module$exports$safevalues$index.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
16265
16159
|
module$exports$safevalues$index.EMPTY_HTML = module$exports$safevalues$internals$html_impl.EMPTY_HTML;
|
|
16266
|
-
module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
|
|
16267
16160
|
module$exports$safevalues$index.SafeHtml = module$exports$safevalues$internals$html_impl.SafeHtml;
|
|
16161
|
+
module$exports$safevalues$index.isHtml = module$exports$safevalues$internals$html_impl.isHtml;
|
|
16268
16162
|
module$exports$safevalues$index.unwrapHtml = module$exports$safevalues$internals$html_impl.unwrapHtml;
|
|
16269
|
-
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
16270
16163
|
module$exports$safevalues$index.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
16164
|
+
module$exports$safevalues$index.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
16271
16165
|
module$exports$safevalues$index.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
16272
16166
|
module$exports$safevalues$index.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
16273
|
-
module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
16274
16167
|
module$exports$safevalues$index.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
16168
|
+
module$exports$safevalues$index.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
16275
16169
|
module$exports$safevalues$index.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
16276
|
-
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
16277
16170
|
module$exports$safevalues$index.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
16171
|
+
module$exports$safevalues$index.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
16278
16172
|
module$exports$safevalues$index.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
16279
|
-
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
16280
16173
|
module$exports$safevalues$index.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
16174
|
+
module$exports$safevalues$index.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
16281
16175
|
module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
16282
16176
|
module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
16283
16177
|
module$exports$safevalues$index.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
16178
|
+
module$exports$safevalues$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
16284
16179
|
module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
16285
|
-
module$exports$safevalues$index.SafeUrl = goog.html.SafeUrl;
|
|
16286
16180
|
module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
16287
16181
|
module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
16288
|
-
module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
16289
|
-
module$exports$safevalues$index.createHtml = module$exports$safevalues$builders$html_builders.createHtml;
|
|
16290
|
-
module$exports$safevalues$index.styleSheetToHtml = module$exports$safevalues$builders$html_builders.styleSheetToHtml;
|
|
16291
|
-
module$exports$safevalues$index.safeStyleRule = module$exports$safevalues$builders$style_sheet_builders.safeStyleRule;
|
|
16292
16182
|
goog.dom.safe = {};
|
|
16293
16183
|
goog.dom.safe.InsertAdjacentHtmlPosition = {AFTERBEGIN:"afterbegin", AFTEREND:"afterend", BEFOREBEGIN:"beforebegin", BEFOREEND:"beforeend"};
|
|
16294
16184
|
goog.dom.safe.insertAdjacentHtml = function(node, position, html) {
|
|
@@ -17491,9 +17381,9 @@ goog.debug.asyncStackTag = {};
|
|
|
17491
17381
|
var module$contents$goog$debug$asyncStackTag_DEBUG = goog.DEBUG, module$contents$goog$debug$asyncStackTag_createTask = goog.DEBUG && goog.global.console && goog.global.console.createTask ? goog.global.console.createTask.bind(goog.global.console) : void 0, module$contents$goog$debug$asyncStackTag_CONSOLE_TASK_SYMBOL = module$contents$goog$debug$asyncStackTag_createTask ? Symbol("consoleTask") : void 0;
|
|
17492
17382
|
function module$contents$goog$debug$asyncStackTag_wrap(fn, name) {
|
|
17493
17383
|
function wrappedFn() {
|
|
17494
|
-
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$
|
|
17384
|
+
var args = $jscomp.getRestArguments.apply(0, arguments), $jscomp$this$1621498202$4 = this;
|
|
17495
17385
|
return consoleTask.run(function() {
|
|
17496
|
-
return fn.call.apply(fn, [$jscomp$this$1621498202$
|
|
17386
|
+
return fn.call.apply(fn, [$jscomp$this$1621498202$4].concat($jscomp.arrayFromIterable(args)));
|
|
17497
17387
|
});
|
|
17498
17388
|
}
|
|
17499
17389
|
name = void 0 === name ? "anonymous" : name;
|
|
@@ -19031,16 +18921,19 @@ safevalues.htmlFragment = module$contents$safevalues$builders$document_fragment_
|
|
|
19031
18921
|
safevalues.htmlToNode = module$contents$safevalues$builders$document_fragment_builders_htmlToNode;
|
|
19032
18922
|
safevalues.svgFragment = module$contents$safevalues$builders$document_fragment_builders_svgFragment;
|
|
19033
18923
|
safevalues.concatHtmls = module$exports$safevalues$index.concatHtmls;
|
|
18924
|
+
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19034
18925
|
safevalues.doctypeHtml = module$exports$safevalues$index.doctypeHtml;
|
|
19035
18926
|
safevalues.htmlEscape = module$exports$safevalues$index.htmlEscape;
|
|
19036
18927
|
safevalues.joinHtmls = module$exports$safevalues$index.joinHtmls;
|
|
19037
18928
|
safevalues.nodeToHtml = module$exports$safevalues$index.nodeToHtml;
|
|
19038
18929
|
safevalues.scriptToHtml = module$exports$safevalues$index.scriptToHtml;
|
|
19039
18930
|
safevalues.scriptUrlToHtml = module$exports$safevalues$index.scriptUrlToHtml;
|
|
19040
|
-
safevalues.
|
|
18931
|
+
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
18932
|
+
safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
|
|
19041
18933
|
safevalues.sanitizeHtml = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtml;
|
|
19042
18934
|
safevalues.sanitizeHtmlAssertUnchanged = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged;
|
|
19043
18935
|
safevalues.sanitizeHtmlToFragment = module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlToFragment;
|
|
18936
|
+
safevalues.HtmlSanitizer = module$exports$safevalues$index.HtmlSanitizer;
|
|
19044
18937
|
safevalues.HtmlSanitizerBuilder = module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder;
|
|
19045
18938
|
safevalues.appendParams = module$contents$safevalues$builders$resource_url_builders_appendParams;
|
|
19046
18939
|
safevalues.appendPathSegment = module$contents$safevalues$builders$resource_url_builders_appendPathSegment;
|
|
@@ -19055,52 +18948,49 @@ safevalues.valueAsScript = module$contents$safevalues$builders$script_builders_v
|
|
|
19055
18948
|
safevalues.concatStyles = module$contents$safevalues$builders$style_builders_concatStyles;
|
|
19056
18949
|
safevalues.safeStyle = module$contents$safevalues$builders$style_builders_safeStyle;
|
|
19057
18950
|
safevalues.styleForMigration = module$contents$safevalues$builders$style_builders_styleForMigration;
|
|
19058
|
-
safevalues.concatStyleSheets = module$
|
|
19059
|
-
safevalues.
|
|
18951
|
+
safevalues.concatStyleSheets = module$contents$safevalues$builders$style_sheet_builders_concatStyleSheets;
|
|
18952
|
+
safevalues.safeStyleRule = module$contents$safevalues$builders$style_sheet_builders_safeStyleRule;
|
|
18953
|
+
safevalues.safeStyleSheet = module$contents$safevalues$builders$style_sheet_builders_safeStyleSheet;
|
|
18954
|
+
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19060
18955
|
safevalues.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
19061
18956
|
safevalues.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
19062
18957
|
safevalues.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
19063
18958
|
safevalues.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
19064
18959
|
safevalues.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
19065
18960
|
safevalues.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
19066
|
-
safevalues.SanitizableUrlScheme = module$exports$safevalues$builders$url_builders.SanitizableUrlScheme;
|
|
19067
18961
|
safevalues.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
19068
|
-
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19069
18962
|
safevalues.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
18963
|
+
safevalues.Scheme = module$exports$safevalues$index.Scheme;
|
|
19070
18964
|
safevalues.SafeAttributePrefix = module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix;
|
|
19071
18965
|
safevalues.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
19072
18966
|
safevalues.EMPTY_HTML = module$exports$safevalues$index.EMPTY_HTML;
|
|
19073
|
-
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19074
18967
|
safevalues.SafeHtml = module$exports$safevalues$index.SafeHtml;
|
|
18968
|
+
safevalues.isHtml = module$exports$safevalues$index.isHtml;
|
|
19075
18969
|
safevalues.unwrapHtml = module$exports$safevalues$index.unwrapHtml;
|
|
19076
|
-
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19077
18970
|
safevalues.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
18971
|
+
safevalues.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
19078
18972
|
safevalues.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
19079
18973
|
safevalues.EMPTY_SCRIPT = module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT;
|
|
19080
|
-
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19081
18974
|
safevalues.SafeScript = module$exports$safevalues$internals$script_impl.SafeScript;
|
|
18975
|
+
safevalues.isScript = module$contents$safevalues$internals$script_impl_isScript;
|
|
19082
18976
|
safevalues.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
|
|
19083
|
-
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19084
18977
|
safevalues.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
18978
|
+
safevalues.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
|
|
19085
18979
|
safevalues.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
|
|
19086
|
-
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19087
18980
|
safevalues.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
18981
|
+
safevalues.isStyleSheet = module$contents$safevalues$internals$style_sheet_impl_isStyleSheet;
|
|
19088
18982
|
safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_impl_unwrapStyleSheet;
|
|
19089
18983
|
safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
|
|
19090
18984
|
safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
18985
|
+
safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
|
|
19091
18986
|
safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
19092
|
-
safevalues.SafeUrl = goog.html.SafeUrl;
|
|
19093
18987
|
safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
19094
18988
|
safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
|
|
19095
|
-
|
|
19096
|
-
safevalues.createHtml = module$exports$safevalues$index.createHtml;
|
|
19097
|
-
safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
|
|
19098
|
-
safevalues.safeStyleRule = module$exports$safevalues$index.safeStyleRule;
|
|
19099
|
-
var $jscomp$templatelit$294235699$96 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
18989
|
+
var $jscomp$templatelit$294235699$99 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
19100
18990
|
ee.apiclient = {};
|
|
19101
18991
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19102
18992
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19103
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18993
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.400";
|
|
19104
18994
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19105
18995
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19106
18996
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19261,8 +19151,8 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19261
19151
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19262
19152
|
};
|
|
19263
19153
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19264
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$41 = $jscomp.makeIterator(responseText.split("--" + boundary)), $jscomp$key$294235699$
|
|
19265
|
-
var groups = $jscomp$key$294235699$
|
|
19154
|
+
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$41 = $jscomp.makeIterator(responseText.split("--" + boundary)), $jscomp$key$294235699$100$part = $jscomp$iter$41.next(); !$jscomp$key$294235699$100$part.done; $jscomp$key$294235699$100$part = $jscomp$iter$41.next()) {
|
|
19155
|
+
var groups = $jscomp$key$294235699$100$part.value.split("\r\n\r\n");
|
|
19266
19156
|
if (!(3 > groups.length)) {
|
|
19267
19157
|
var id = groups[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1], status = Number(groups[1].match(/^HTTP\S*\s(\d+)\s/)[1]), text = groups.slice(2).join("\r\n\r\n");
|
|
19268
19158
|
handle(id, status, text);
|
|
@@ -19390,8 +19280,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19390
19280
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19391
19281
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19392
19282
|
method = method || "POST";
|
|
19393
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19394
|
-
"0.1.
|
|
19283
|
+
var headers = {"Content-Type":contentType}, version = "0.1.400";
|
|
19284
|
+
"0.1.400" === version && (version = "latest");
|
|
19395
19285
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19396
19286
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19397
19287
|
if (null != authToken) {
|
|
@@ -19506,7 +19396,7 @@ module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_ = function(callback)
|
|
|
19506
19396
|
callback();
|
|
19507
19397
|
};
|
|
19508
19398
|
(function() {
|
|
19509
|
-
goog.isObject(goog.global.default_gsi) ? done() : goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$294235699$
|
|
19399
|
+
goog.isObject(goog.global.default_gsi) ? done() : goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$294235699$99)).addCallback(done);
|
|
19510
19400
|
})();
|
|
19511
19401
|
};
|
|
19512
19402
|
module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, error, result) {
|
|
@@ -19524,8 +19414,8 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
19524
19414
|
}
|
|
19525
19415
|
};
|
|
19526
19416
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
19527
|
-
for (var request = new goog.Uri.QueryData(), $jscomp$iter$42 = $jscomp.makeIterator(Object.entries(params)), $jscomp$key$294235699$
|
|
19528
|
-
var $jscomp$destructuring$var47 = $jscomp.makeIterator($jscomp$key$294235699$
|
|
19417
|
+
for (var request = new goog.Uri.QueryData(), $jscomp$iter$42 = $jscomp.makeIterator(Object.entries(params)), $jscomp$key$294235699$101$ = $jscomp$iter$42.next(); !$jscomp$key$294235699$101$.done; $jscomp$key$294235699$101$ = $jscomp$iter$42.next()) {
|
|
19418
|
+
var $jscomp$destructuring$var47 = $jscomp.makeIterator($jscomp$key$294235699$101$.value), name = $jscomp$destructuring$var47.next().value, item = $jscomp$destructuring$var47.next().value;
|
|
19529
19419
|
request.set(name, item);
|
|
19530
19420
|
}
|
|
19531
19421
|
return request;
|
|
@@ -24740,6 +24630,7 @@ goog.events.EventHandler.prototype.disposeInternal = function() {
|
|
|
24740
24630
|
goog.events.EventHandler.prototype.handleEvent = function(e) {
|
|
24741
24631
|
throw Error("EventHandler.handleEvent not implemented");
|
|
24742
24632
|
};
|
|
24633
|
+
goog.fs = {};
|
|
24743
24634
|
goog.fs.DOMErrorLike = function() {
|
|
24744
24635
|
};
|
|
24745
24636
|
goog.fs.Error = function(error, action) {
|
|
@@ -26957,29 +26848,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26957
26848
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26958
26849
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26959
26850
|
(function() {
|
|
26960
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26961
|
-
orderedParamLists = [["name", "
|
|
26962
|
-
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), ["collection", "opt_description",
|
|
26963
|
-
"opt_assetId", "opt_maxVertices", "opt_priority"], "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),
|
|
26851
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toAsset ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.getAssetRootQuota ee.data.getTileUrl ee.data.startTableIngestion ee.data.deleteAsset ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.listOperations ee.data.getWorkloadTag ee.data.listImages ee.data.getAssetAcl ee.data.getDownloadId ee.data.getFeatureViewTilesKey ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.getAssetRoots ee.data.getAsset ee.data.listFeatures ee.data.setWorkloadTag ee.data.createAssetHome ee.data.createAsset ee.data.getOperation ee.data.getInfo ee.data.authenticateViaPrivateKey ee.data.setDefaultWorkloadTag ee.data.newTaskId ee.data.resetWorkloadTag ee.data.computeValue ee.data.getThumbId ee.data.cancelTask ee.data.updateAsset ee.data.getVideoThumbId ee.data.getList ee.data.startIngestion ee.data.getTaskStatus ee.data.updateTask ee.data.createFolder ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.setAssetAcl ee.data.renameAsset ee.data.listAssets ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.setAssetProperties ee.data.getMapId ee.data.copyAsset ee.data.getTaskList ee.data.listBuckets ee.data.authenticate ee.data.getTableDownloadId ee.Date ee.Deserializer.fromJSON ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.InitState ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.Filter.date ee.Filter.metadata ee.Filter.bounds ee.Filter.and ee.Filter.neq ee.Filter.lt ee.Filter.gt ee.Filter.inList ee.Filter.or ee.Filter.prototype.not ee.Filter.gte ee.Filter.lte ee.Filter ee.Filter.eq ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry.BBox ee.Geometry.MultiPolygon ee.Geometry.prototype.serialize ee.Geometry.Polygon ee.Geometry ee.Geometry.Rectangle ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.Point ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Image ee.Image.prototype.getMapId ee.Image.cat ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.prototype.getDownloadURL ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.clip ee.Image.rgb ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
26852
|
+
orderedParamLists = [["name", "namedArgs"], ["name"], ["name", "var_args"], "image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
26964
26853
|
"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
26965
|
-
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
26966
|
-
"
|
|
26967
|
-
"
|
|
26968
|
-
"
|
|
26969
|
-
["
|
|
26970
|
-
["
|
|
26971
|
-
|
|
26972
|
-
["
|
|
26973
|
-
"
|
|
26974
|
-
[
|
|
26975
|
-
|
|
26976
|
-
ee.
|
|
26977
|
-
ee.
|
|
26978
|
-
ee.
|
|
26979
|
-
ee.
|
|
26980
|
-
ee.
|
|
26981
|
-
ee.
|
|
26982
|
-
ee.
|
|
26854
|
+
"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),
|
|
26855
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),
|
|
26856
|
+
["filter"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["name", "operator", "value"], ["geometry"], ["legacy"], ["opt_callback"], ["func", "var_args"], ["callback"], ["rootId", "opt_callback"], ["id", "x", "y", "z"], ["taskId", "request", "opt_callback"], ["assetId", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["opt_limit", "opt_callback"], [], ["parent", "opt_params", "opt_callback"],
|
|
26857
|
+
["assetId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["id"], ["opt_success", "opt_error"], ["opt_callback"], ["id", "opt_callback"], ["asset", "params", "opt_callback"], ["tag"], ["requestedId", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["operationName", "opt_callback"], ["id", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"],
|
|
26858
|
+
["tag"], ["opt_count", "opt_callback"], ["opt_resetDefault"], ["obj", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["taskId", "request", "opt_callback"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"],
|
|
26859
|
+
["sourceId", "destinationId", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["assetId", "properties", "opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["opt_callback"], ["project", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["params", "opt_callback"], ["date",
|
|
26860
|
+
"opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], [], [], [], ["func", "namedArgs"], ["var_args"], [], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["opt_visParams", "opt_callback"], ["args", "opt_column"],
|
|
26861
|
+
["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry", "opt_errorMargin"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["var_args"], [], ["name", "value"], ["name", "value"], ["opt_filter"], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic",
|
|
26862
|
+
"opt_maxError"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["opt_args"], ["opt_visParams", "opt_callback"],
|
|
26863
|
+
["var_args"], ["opt_visParams", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["expression", "opt_map"], ["var_args"], ["opt_callback"], ["geometry"], ["r", "g", "b"], ["params", "opt_callback"], [], ["opt_callback"], ["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"],
|
|
26864
|
+
["args"], ["list"], ["number"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26865
|
+
[ee.ApiFunction._apply, ee.ApiFunction.lookup, ee.ApiFunction._call, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage,
|
|
26866
|
+
module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toAsset, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.ComputedObject.prototype.serialize,
|
|
26867
|
+
ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.data.getAssetRootQuota, ee.data.getTileUrl, ee.data.startTableIngestion, ee.data.deleteAsset, ee.data.makeTableDownloadUrl, ee.data.getTaskListWithLimit, ee.data.listOperations, ee.data.getWorkloadTag, ee.data.listImages, ee.data.getAssetAcl, ee.data.getDownloadId, ee.data.getFeatureViewTilesKey, ee.data.cancelOperation, ee.data.makeDownloadUrl, ee.data.authenticateViaPopup, ee.data.getAssetRoots,
|
|
26868
|
+
ee.data.getAsset, ee.data.listFeatures, ee.data.setWorkloadTag, ee.data.createAssetHome, ee.data.createAsset, ee.data.getOperation, ee.data.getInfo, ee.data.authenticateViaPrivateKey, ee.data.setDefaultWorkloadTag, ee.data.newTaskId, ee.data.resetWorkloadTag, ee.data.computeValue, ee.data.getThumbId, ee.data.cancelTask, ee.data.updateAsset, ee.data.getVideoThumbId, ee.data.getList, ee.data.startIngestion, ee.data.getTaskStatus, ee.data.updateTask, ee.data.createFolder, ee.data.getFilmstripThumbId,
|
|
26869
|
+
ee.data.startProcessing, ee.data.setAssetAcl, ee.data.renameAsset, ee.data.listAssets, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.setAssetProperties, ee.data.getMapId, ee.data.copyAsset, ee.data.getTaskList, ee.data.listBuckets, ee.data.authenticate, ee.data.getTableDownloadId, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Dictionary, ee.TILE_SIZE, ee.initialize, ee.call, ee.reset, ee.Algorithms,
|
|
26870
|
+
ee.InitState, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getMap, ee.Feature, ee.Feature.prototype.getMapId, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMap, ee.Filter.date, ee.Filter.metadata, ee.Filter.bounds, ee.Filter.and, ee.Filter.neq, ee.Filter.lt,
|
|
26871
|
+
ee.Filter.gt, ee.Filter.inList, ee.Filter.or, ee.Filter.prototype.not, ee.Filter.gte, ee.Filter.lte, ee.Filter, ee.Filter.eq, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry.BBox, ee.Geometry.MultiPolygon, ee.Geometry.prototype.serialize, ee.Geometry.Polygon, ee.Geometry, ee.Geometry.Rectangle, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Point, ee.Geometry.LinearRing, ee.Geometry.prototype.toGeoJSONString,
|
|
26872
|
+
ee.Image, ee.Image.prototype.getMapId, ee.Image.cat, ee.Image.prototype.getMap, ee.Image.prototype.select, ee.Image.prototype.getThumbId, ee.Image.prototype.getThumbURL, ee.Image.prototype.getDownloadURL, ee.Image.prototype.expression, ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.clip, ee.Image.rgb, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getMap,
|
|
26873
|
+
ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26983
26874
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26984
26875
|
});
|
|
26985
26876
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|