@google/earthengine 0.1.396 → 0.1.397
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/.tmp/BUILD +699 -0
- package/.tmp/METADATA +23 -0
- package/.tmp/VERSION_BUILD +47 -0
- package/build/browser.js +125 -115
- package/build/ee_api_js.js +390 -389
- package/build/ee_api_js_debug.js +102 -92
- package/build/ee_api_js_npm.js +125 -115
- package/build/main.js +125 -115
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/ee_api_js_debug.js
CHANGED
|
@@ -6058,9 +6058,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6058
6058
|
};
|
|
6059
6059
|
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;
|
|
6060
6060
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6061
|
-
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$
|
|
6062
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
6063
|
-
var key = $jscomp$key$
|
|
6061
|
+
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 =
|
|
6062
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
6063
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
6064
6064
|
if (null != value) {
|
|
6065
6065
|
var copy = void 0;
|
|
6066
6066
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -6071,11 +6071,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6071
6071
|
} else if (objects.hasOwnProperty(key)) {
|
|
6072
6072
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6073
6073
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6074
|
-
$jscomp$loop$
|
|
6074
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
6075
6075
|
return function(v) {
|
|
6076
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6076
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6077
6077
|
};
|
|
6078
|
-
}($jscomp$loop$
|
|
6078
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6079
6079
|
} else if (Array.isArray(value)) {
|
|
6080
6080
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6081
6081
|
continue;
|
|
@@ -6090,8 +6090,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6090
6090
|
return target;
|
|
6091
6091
|
}
|
|
6092
6092
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
6093
|
-
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$
|
|
6094
|
-
var mapKey = $jscomp$key$
|
|
6093
|
+
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()) {
|
|
6094
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
6095
6095
|
null != mapValue && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
6096
6096
|
}
|
|
6097
6097
|
return objMap;
|
|
@@ -6121,39 +6121,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6121
6121
|
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))) {
|
|
6122
6122
|
return !1;
|
|
6123
6123
|
}
|
|
6124
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$
|
|
6125
|
-
var key = $jscomp$key$
|
|
6124
|
+
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()) {
|
|
6125
|
+
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);
|
|
6126
6126
|
if (has1 !== has2) {
|
|
6127
6127
|
return !1;
|
|
6128
6128
|
}
|
|
6129
6129
|
if (has1) {
|
|
6130
6130
|
var value1 = serializable1.Serializable$get(key);
|
|
6131
|
-
$jscomp$loop$
|
|
6131
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6132
6132
|
if (arrays1.hasOwnProperty(key)) {
|
|
6133
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6133
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
6134
6134
|
return !1;
|
|
6135
6135
|
}
|
|
6136
6136
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6137
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6137
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
6138
6138
|
return !1;
|
|
6139
6139
|
}
|
|
6140
6140
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6141
|
-
if ($jscomp$loop$
|
|
6142
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6141
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6142
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
6143
6143
|
return function(v1, i) {
|
|
6144
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6144
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
6145
6145
|
};
|
|
6146
|
-
}($jscomp$loop$
|
|
6146
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
6147
6147
|
return !1;
|
|
6148
6148
|
}
|
|
6149
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6149
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
6150
6150
|
return !1;
|
|
6151
6151
|
}
|
|
6152
6152
|
} else if (Array.isArray(value1)) {
|
|
6153
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6153
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
6154
6154
|
return !1;
|
|
6155
6155
|
}
|
|
6156
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6156
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
6157
6157
|
return !1;
|
|
6158
6158
|
}
|
|
6159
6159
|
}
|
|
@@ -6175,8 +6175,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
6175
6175
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
6176
6176
|
return !1;
|
|
6177
6177
|
}
|
|
6178
|
-
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$
|
|
6179
|
-
var mapKey = $jscomp$key$
|
|
6178
|
+
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()) {
|
|
6179
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
6180
6180
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
6181
6181
|
return !1;
|
|
6182
6182
|
}
|
|
@@ -6361,8 +6361,8 @@ function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUr
|
|
|
6361
6361
|
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
6362
6362
|
}
|
|
6363
6363
|
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
6364
|
-
var $jscomp$templatelit$
|
|
6365
|
-
["\\0"]), $jscomp$templatelit$
|
|
6364
|
+
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"],
|
|
6365
|
+
["\\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"};
|
|
6366
6366
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
6367
6367
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
6368
6368
|
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 ##############################");
|
|
@@ -6376,14 +6376,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
6376
6376
|
return -1 === fn.toString().indexOf("`");
|
|
6377
6377
|
}
|
|
6378
6378
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6379
|
-
return tag($jscomp$templatelit$
|
|
6379
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
6380
6380
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6381
|
-
return tag($jscomp$templatelit$
|
|
6381
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
6382
6382
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6383
|
-
return tag($jscomp$templatelit$
|
|
6383
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
6384
6384
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6385
|
-
return tag($jscomp$templatelit$
|
|
6386
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
6385
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
6386
|
+
}), 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);
|
|
6387
6387
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
6388
6388
|
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)) ?
|
|
6389
6389
|
!0 : !1;
|
|
@@ -7559,7 +7559,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
7559
7559
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
7560
7560
|
};
|
|
7561
7561
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
7562
|
-
var $jscomp$optchain$
|
|
7562
|
+
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]");
|
|
7563
7563
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
7564
7564
|
}
|
|
7565
7565
|
;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;
|
|
@@ -7962,48 +7962,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
7962
7962
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
7963
7963
|
}
|
|
7964
7964
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
7965
|
-
var response, $jscomp$optchain$
|
|
7966
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7967
|
-
if (1 == $jscomp$generator$context$
|
|
7968
|
-
return $jscomp$generator$context$
|
|
7969
|
-
}
|
|
7970
|
-
response = $jscomp$generator$context$
|
|
7971
|
-
mimeType = null == ($jscomp$optchain$
|
|
7972
|
-
return $jscomp$generator$context$
|
|
7965
|
+
var response, $jscomp$optchain$tmp1153895636$0, $jscomp$optchain$tmp1153895636$1, $jscomp$optchain$tmp1153895636$2, mimeType;
|
|
7966
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$6) {
|
|
7967
|
+
if (1 == $jscomp$generator$context$1153895636$6.nextAddress) {
|
|
7968
|
+
return $jscomp$generator$context$1153895636$6.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
7969
|
+
}
|
|
7970
|
+
response = $jscomp$generator$context$1153895636$6.yieldResult;
|
|
7971
|
+
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();
|
|
7972
|
+
return $jscomp$generator$context$1153895636$6.return({html:function() {
|
|
7973
7973
|
var text;
|
|
7974
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7975
|
-
if (1 == $jscomp$generator$context$
|
|
7974
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$3) {
|
|
7975
|
+
if (1 == $jscomp$generator$context$1153895636$3.nextAddress) {
|
|
7976
7976
|
if ("text/html" !== mimeType) {
|
|
7977
7977
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
7978
7978
|
}
|
|
7979
|
-
return $jscomp$generator$context$
|
|
7979
|
+
return $jscomp$generator$context$1153895636$3.yield(response.text(), 2);
|
|
7980
7980
|
}
|
|
7981
|
-
text = $jscomp$generator$context$
|
|
7982
|
-
return $jscomp$generator$context$
|
|
7981
|
+
text = $jscomp$generator$context$1153895636$3.yieldResult;
|
|
7982
|
+
return $jscomp$generator$context$1153895636$3.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
7983
7983
|
});
|
|
7984
7984
|
}, script:function() {
|
|
7985
7985
|
var text;
|
|
7986
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7987
|
-
if (1 == $jscomp$generator$context$
|
|
7986
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$4) {
|
|
7987
|
+
if (1 == $jscomp$generator$context$1153895636$4.nextAddress) {
|
|
7988
7988
|
if ("text/javascript" !== mimeType && "application/javascript" !== mimeType) {
|
|
7989
7989
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
7990
7990
|
}
|
|
7991
|
-
return $jscomp$generator$context$
|
|
7991
|
+
return $jscomp$generator$context$1153895636$4.yield(response.text(), 2);
|
|
7992
7992
|
}
|
|
7993
|
-
text = $jscomp$generator$context$
|
|
7994
|
-
return $jscomp$generator$context$
|
|
7993
|
+
text = $jscomp$generator$context$1153895636$4.yieldResult;
|
|
7994
|
+
return $jscomp$generator$context$1153895636$4.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
7995
7995
|
});
|
|
7996
7996
|
}, styleSheet:function() {
|
|
7997
7997
|
var text;
|
|
7998
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7999
|
-
if (1 == $jscomp$generator$context$
|
|
7998
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1153895636$5) {
|
|
7999
|
+
if (1 == $jscomp$generator$context$1153895636$5.nextAddress) {
|
|
8000
8000
|
if ("text/css" !== mimeType) {
|
|
8001
8001
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
8002
8002
|
}
|
|
8003
|
-
return $jscomp$generator$context$
|
|
8003
|
+
return $jscomp$generator$context$1153895636$5.yield(response.text(), 2);
|
|
8004
8004
|
}
|
|
8005
|
-
text = $jscomp$generator$context$
|
|
8006
|
-
return $jscomp$generator$context$
|
|
8005
|
+
text = $jscomp$generator$context$1153895636$5.yieldResult;
|
|
8006
|
+
return $jscomp$generator$context$1153895636$5.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
8007
8007
|
});
|
|
8008
8008
|
}});
|
|
8009
8009
|
});
|
|
@@ -9295,8 +9295,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
9295
9295
|
}
|
|
9296
9296
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
9297
9297
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
9298
|
-
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$
|
|
9299
|
-
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$
|
|
9298
|
+
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()) {
|
|
9299
|
+
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;
|
|
9300
9300
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
9301
9301
|
}
|
|
9302
9302
|
return urlQueryParams;
|
|
@@ -9307,8 +9307,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
9307
9307
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
9308
9308
|
if (params.headers) {
|
|
9309
9309
|
hasContentType = null != params.headers["Content-Type"];
|
|
9310
|
-
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$
|
|
9311
|
-
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$
|
|
9310
|
+
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()) {
|
|
9311
|
+
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;
|
|
9312
9312
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
9313
9313
|
}
|
|
9314
9314
|
}
|
|
@@ -9353,15 +9353,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
9353
9353
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
9354
9354
|
};
|
|
9355
9355
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
9356
|
-
var $jscomp$this$
|
|
9356
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
9357
9357
|
payload += this._metadataPayload;
|
|
9358
9358
|
return Promise.all(this.files.map(function(f) {
|
|
9359
|
-
return $jscomp$this$
|
|
9359
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
9360
9360
|
})).then(function(filePayloads) {
|
|
9361
|
-
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$
|
|
9362
|
-
payload += $jscomp$key$
|
|
9361
|
+
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()) {
|
|
9362
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
9363
9363
|
}
|
|
9364
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
9364
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
9365
9365
|
});
|
|
9366
9366
|
};
|
|
9367
9367
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -9449,9 +9449,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
9449
9449
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
9450
9450
|
};
|
|
9451
9451
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
9452
|
-
var $jscomp$this$
|
|
9452
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
9453
9453
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
9454
|
-
return $jscomp$this$
|
|
9454
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
9455
9455
|
}));
|
|
9456
9456
|
};
|
|
9457
9457
|
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"};
|
|
@@ -12027,13 +12027,14 @@ module$exports$eeapiclient$ee_api_client.ImageManifest = function(parameters) {
|
|
|
12027
12027
|
this.Serializable$set("endTime", null == parameters.endTime ? null : parameters.endTime);
|
|
12028
12028
|
this.Serializable$set("minTileAreaRatio", null == parameters.minTileAreaRatio ? null : parameters.minTileAreaRatio);
|
|
12029
12029
|
this.Serializable$set("skipMetadataRead", null == parameters.skipMetadataRead ? null : parameters.skipMetadataRead);
|
|
12030
|
+
this.Serializable$set("memo", null == parameters.memo ? null : parameters.memo);
|
|
12030
12031
|
};
|
|
12031
12032
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImageManifest, module$exports$eeapiclient$domain_object.Serializable);
|
|
12032
12033
|
module$exports$eeapiclient$ee_api_client.ImageManifest.prototype.getConstructor = function() {
|
|
12033
12034
|
return module$exports$eeapiclient$ee_api_client.ImageManifest;
|
|
12034
12035
|
};
|
|
12035
12036
|
module$exports$eeapiclient$ee_api_client.ImageManifest.prototype.getPartialClassMetadata = function() {
|
|
12036
|
-
return {arrays:{bands:module$exports$eeapiclient$ee_api_client.TilesetBand, maskBands:module$exports$eeapiclient$ee_api_client.TilesetMaskBand, tilesets:module$exports$eeapiclient$ee_api_client.Tileset}, enums:{pyramidingPolicy:module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum}, keys:"bands endTime footprint maskBands minTileAreaRatio missingData name properties pyramidingPolicy skipMetadataRead startTime tilesets uriPrefix".split(" "),
|
|
12037
|
+
return {arrays:{bands:module$exports$eeapiclient$ee_api_client.TilesetBand, maskBands:module$exports$eeapiclient$ee_api_client.TilesetMaskBand, tilesets:module$exports$eeapiclient$ee_api_client.Tileset}, enums:{pyramidingPolicy:module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum}, keys:"bands endTime footprint maskBands memo minTileAreaRatio missingData name properties pyramidingPolicy skipMetadataRead startTime tilesets uriPrefix".split(" "),
|
|
12037
12038
|
objectMaps:{properties:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}}, objects:{footprint:module$exports$eeapiclient$ee_api_client.PixelFootprint, missingData:module$exports$eeapiclient$ee_api_client.MissingData}};
|
|
12038
12039
|
};
|
|
12039
12040
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImageManifest.prototype, {bands:{configurable:!0, enumerable:!0, get:function() {
|
|
@@ -12052,6 +12053,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
12052
12053
|
return this.Serializable$has("maskBands") ? this.Serializable$get("maskBands") : null;
|
|
12053
12054
|
}, set:function(value) {
|
|
12054
12055
|
this.Serializable$set("maskBands", value);
|
|
12056
|
+
}}, memo:{configurable:!0, enumerable:!0, get:function() {
|
|
12057
|
+
return this.Serializable$has("memo") ? this.Serializable$get("memo") : null;
|
|
12058
|
+
}, set:function(value) {
|
|
12059
|
+
this.Serializable$set("memo", value);
|
|
12055
12060
|
}}, minTileAreaRatio:{configurable:!0, enumerable:!0, get:function() {
|
|
12056
12061
|
return this.Serializable$has("minTileAreaRatio") ? this.Serializable$get("minTileAreaRatio") : null;
|
|
12057
12062
|
}, set:function(value) {
|
|
@@ -13345,13 +13350,14 @@ module$exports$eeapiclient$ee_api_client.TableManifest = function(parameters) {
|
|
|
13345
13350
|
this.Serializable$set("csvColumnDataTypeOverrides", null == parameters.csvColumnDataTypeOverrides ? null : parameters.csvColumnDataTypeOverrides);
|
|
13346
13351
|
this.Serializable$set("policy", null == parameters.policy ? null : parameters.policy);
|
|
13347
13352
|
this.Serializable$set("columnDataTypeOverrides", null == parameters.columnDataTypeOverrides ? null : parameters.columnDataTypeOverrides);
|
|
13353
|
+
this.Serializable$set("memo", null == parameters.memo ? null : parameters.memo);
|
|
13348
13354
|
};
|
|
13349
13355
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.TableManifest, module$exports$eeapiclient$domain_object.Serializable);
|
|
13350
13356
|
module$exports$eeapiclient$ee_api_client.TableManifest.prototype.getConstructor = function() {
|
|
13351
13357
|
return module$exports$eeapiclient$ee_api_client.TableManifest;
|
|
13352
13358
|
};
|
|
13353
13359
|
module$exports$eeapiclient$ee_api_client.TableManifest.prototype.getPartialClassMetadata = function() {
|
|
13354
|
-
return {arrays:{sources:module$exports$eeapiclient$ee_api_client.TableSource}, enums:{columnDataTypeOverrides:module$exports$eeapiclient$ee_api_client.TableManifestColumnDataTypeOverridesEnum, csvColumnDataTypeOverrides:module$exports$eeapiclient$ee_api_client.TableManifestCsvColumnDataTypeOverridesEnum}, keys:"columnDataTypeOverrides csvColumnDataTypeOverrides endTime name policy properties sources startTime uriPrefix".split(" "),
|
|
13360
|
+
return {arrays:{sources:module$exports$eeapiclient$ee_api_client.TableSource}, enums:{columnDataTypeOverrides:module$exports$eeapiclient$ee_api_client.TableManifestColumnDataTypeOverridesEnum, csvColumnDataTypeOverrides:module$exports$eeapiclient$ee_api_client.TableManifestCsvColumnDataTypeOverridesEnum}, keys:"columnDataTypeOverrides csvColumnDataTypeOverrides endTime memo name policy properties sources startTime uriPrefix".split(" "),
|
|
13355
13361
|
objectMaps:{columnDataTypeOverrides:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}, csvColumnDataTypeOverrides:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}, properties:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}}, objects:{policy:module$exports$eeapiclient$ee_api_client.Policy}};
|
|
13356
13362
|
};
|
|
13357
13363
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TableManifest.prototype, {columnDataTypeOverrides:{configurable:!0, enumerable:!0, get:function() {
|
|
@@ -13366,6 +13372,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
|
|
|
13366
13372
|
return this.Serializable$has("endTime") ? this.Serializable$get("endTime") : null;
|
|
13367
13373
|
}, set:function(value) {
|
|
13368
13374
|
this.Serializable$set("endTime", value);
|
|
13375
|
+
}}, memo:{configurable:!0, enumerable:!0, get:function() {
|
|
13376
|
+
return this.Serializable$has("memo") ? this.Serializable$get("memo") : null;
|
|
13377
|
+
}, set:function(value) {
|
|
13378
|
+
this.Serializable$set("memo", value);
|
|
13369
13379
|
}}, name:{configurable:!0, enumerable:!0, get:function() {
|
|
13370
13380
|
return this.Serializable$has("name") ? this.Serializable$get("name") : null;
|
|
13371
13381
|
}, set:function(value) {
|
|
@@ -15564,8 +15574,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15564
15574
|
this.replacements = new Map();
|
|
15565
15575
|
};
|
|
15566
15576
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15567
|
-
var $jscomp$this$
|
|
15568
|
-
return $jscomp$this$
|
|
15577
|
+
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) {
|
|
15578
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
15569
15579
|
});
|
|
15570
15580
|
if (0 !== openedTags.length) {
|
|
15571
15581
|
if (goog.DEBUG) {
|
|
@@ -15745,8 +15755,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15745
15755
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15746
15756
|
};
|
|
15747
15757
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15748
|
-
for (var $jscomp$this$
|
|
15749
|
-
return $jscomp$this$
|
|
15758
|
+
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) {
|
|
15759
|
+
return $jscomp$this$m1085474118$10.nodeFilter(n);
|
|
15750
15760
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
15751
15761
|
var sanitizedNode = void 0;
|
|
15752
15762
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15773,8 +15783,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15773
15783
|
return document.createTextNode(textNode.data);
|
|
15774
15784
|
};
|
|
15775
15785
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15776
|
-
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$
|
|
15777
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15786
|
+
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()) {
|
|
15787
|
+
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);
|
|
15778
15788
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15779
15789
|
switch(policy.policyAction) {
|
|
15780
15790
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15827,8 +15837,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15827
15837
|
if (!conditions) {
|
|
15828
15838
|
return !0;
|
|
15829
15839
|
}
|
|
15830
|
-
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$
|
|
15831
|
-
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$
|
|
15840
|
+
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()) {
|
|
15841
|
+
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;
|
|
15832
15842
|
if (value && !expectedValues.has(value)) {
|
|
15833
15843
|
return !1;
|
|
15834
15844
|
}
|
|
@@ -15882,8 +15892,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15882
15892
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable;
|
|
15883
15893
|
};
|
|
15884
15894
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15885
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$
|
|
15886
|
-
var element = $jscomp$key$
|
|
15895
|
+
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()) {
|
|
15896
|
+
var element = $jscomp$key$435282654$0$element.value;
|
|
15887
15897
|
element = element.toUpperCase();
|
|
15888
15898
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15889
15899
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15901,8 +15911,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15901
15911
|
throw Error("Element: " + element + " is not a custom element");
|
|
15902
15912
|
}
|
|
15903
15913
|
if (allowedAttributes) {
|
|
15904
|
-
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$
|
|
15905
|
-
elementPolicy.set($jscomp$key$
|
|
15914
|
+
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()) {
|
|
15915
|
+
elementPolicy.set($jscomp$key$435282654$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15906
15916
|
}
|
|
15907
15917
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15908
15918
|
} else {
|
|
@@ -15912,15 +15922,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15912
15922
|
return this;
|
|
15913
15923
|
};
|
|
15914
15924
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15915
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$
|
|
15916
|
-
var attribute = $jscomp$key$
|
|
15925
|
+
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()) {
|
|
15926
|
+
var attribute = $jscomp$key$435282654$2$attribute.value;
|
|
15917
15927
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15918
15928
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15919
15929
|
}
|
|
15920
|
-
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
15921
|
-
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$
|
|
15930
|
+
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()) {
|
|
15931
|
+
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$ =
|
|
15922
15932
|
$jscomp$iter$36.next()) {
|
|
15923
|
-
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$
|
|
15933
|
+
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;
|
|
15924
15934
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15925
15935
|
}
|
|
15926
15936
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15929,8 +15939,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15929
15939
|
return this;
|
|
15930
15940
|
};
|
|
15931
15941
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15932
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$
|
|
15933
|
-
var attribute = $jscomp$key$
|
|
15942
|
+
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()) {
|
|
15943
|
+
var attribute = $jscomp$key$435282654$5$attribute.value;
|
|
15934
15944
|
if (0 !== attribute.indexOf("data-")) {
|
|
15935
15945
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15936
15946
|
}
|
|
@@ -16181,12 +16191,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16181
16191
|
}
|
|
16182
16192
|
try {
|
|
16183
16193
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16184
|
-
} catch ($jscomp$unused$catch$
|
|
16194
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
16185
16195
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16186
16196
|
}
|
|
16187
16197
|
try {
|
|
16188
16198
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16189
|
-
} catch ($jscomp$unused$catch$
|
|
16199
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
16190
16200
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16191
16201
|
}
|
|
16192
16202
|
return !1;
|
|
@@ -18605,9 +18615,9 @@ goog.net.WrapperXmlHttpFactory.prototype.getOptions = function() {
|
|
|
18605
18615
|
goog.net.XmlHttp = function() {
|
|
18606
18616
|
return goog.net.XmlHttp.factory_.createInstance();
|
|
18607
18617
|
};
|
|
18608
|
-
goog.net.XmlHttp.ASSUME_NATIVE_XHR = !
|
|
18618
|
+
goog.net.XmlHttp.ASSUME_NATIVE_XHR = !0;
|
|
18609
18619
|
goog.net.XmlHttpDefines = {};
|
|
18610
|
-
goog.net.XmlHttpDefines.ASSUME_NATIVE_XHR = !
|
|
18620
|
+
goog.net.XmlHttpDefines.ASSUME_NATIVE_XHR = !0;
|
|
18611
18621
|
goog.net.XmlHttp.getOptions = function() {
|
|
18612
18622
|
return goog.net.XmlHttp.factory_.getOptions();
|
|
18613
18623
|
};
|
|
@@ -19088,7 +19098,7 @@ var $jscomp$templatelit$294235699$96 = $jscomp.createTemplateTagFirstArg(["https
|
|
|
19088
19098
|
ee.apiclient = {};
|
|
19089
19099
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19090
19100
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19091
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19101
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.397";
|
|
19092
19102
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19093
19103
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19094
19104
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19378,8 +19388,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19378
19388
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19379
19389
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19380
19390
|
method = method || "POST";
|
|
19381
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19382
|
-
"0.1.
|
|
19391
|
+
var headers = {"Content-Type":contentType}, version = "0.1.397";
|
|
19392
|
+
"0.1.397" === version && (version = "latest");
|
|
19383
19393
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19384
19394
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19385
19395
|
if (null != authToken) {
|