@google/earthengine 0.1.398 → 0.1.399

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.
@@ -6388,163 +6388,41 @@ function module$contents$safevalues$internals$string_literal_isTemplateObject(te
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;
6390
6390
  }
6391
- ;goog.fs = {};
6392
- goog.fs.url = {};
6393
- goog.fs.url.createObjectUrl = function(obj) {
6394
- return goog.fs.url.getUrlObject_().createObjectURL(obj);
6395
- };
6396
- goog.fs.url.revokeObjectUrl = function(url) {
6397
- goog.fs.url.getUrlObject_().revokeObjectURL(url);
6398
- };
6399
- goog.fs.url.UrlObject_ = function() {
6400
- };
6401
- goog.fs.url.UrlObject_.prototype.createObjectURL = function(arg) {
6402
- };
6403
- goog.fs.url.UrlObject_.prototype.revokeObjectURL = function(s) {
6404
- };
6405
- goog.fs.url.getUrlObject_ = function() {
6406
- var urlObject = goog.fs.url.findUrlObject_();
6407
- if (null != urlObject) {
6408
- return urlObject;
6409
- }
6410
- throw Error("This browser doesn't seem to support blob URLs");
6411
- };
6412
- goog.fs.url.findUrlObject_ = function() {
6413
- return void 0 !== goog.global.URL && void 0 !== goog.global.URL.createObjectURL ? goog.global.URL : void 0 !== goog.global.createObjectURL ? goog.global : null;
6414
- };
6415
- goog.fs.url.browserSupportsObjectUrls = function() {
6416
- return null != goog.fs.url.findUrlObject_();
6417
- };
6418
- goog.html.SafeUrl = function(value, token) {
6419
- if (goog.DEBUG && token !== goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
6420
- throw Error("SafeUrl is not meant to be built directly");
6421
- }
6422
- this.privateDoNotAccessOrElseSafeUrlWrappedValue_ = value;
6423
- };
6424
- goog.html.SafeUrl.prototype.toString = function() {
6425
- return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString();
6426
- };
6427
- goog.html.SafeUrl.INNOCUOUS_STRING = "about:invalid#zClosurez";
6428
- goog.html.SafeUrl.unwrap = function(safeUrl) {
6429
- if (safeUrl instanceof goog.html.SafeUrl && safeUrl.constructor === goog.html.SafeUrl) {
6430
- return safeUrl.privateDoNotAccessOrElseSafeUrlWrappedValue_;
6431
- }
6432
- goog.asserts.fail("expected object of type SafeUrl, got '" + safeUrl + "' of type " + goog.typeOf(safeUrl));
6433
- return "type_error:SafeUrl";
6434
- };
6435
- goog.html.SafeUrl.fromConstant = function(url) {
6436
- var str = goog.string.Const.unwrap(url);
6437
- if (goog.DEBUG && "javascript:" === goog.html.SafeUrl.extractScheme(str)) {
6438
- throw Error("Building a SafeUrl with a javascript scheme is not supported");
6439
- }
6440
- return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(str);
6441
- };
6442
- 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");
6443
- goog.html.SafeUrl.isSafeMimeType = function(mimeType) {
6444
- return goog.html.SAFE_MIME_TYPE_PATTERN_.test(mimeType);
6445
- };
6446
- goog.html.SafeUrl.fromBlob = function(blob) {
6447
- var url = goog.html.SafeUrl.isSafeMimeType(blob.type) ? goog.fs.url.createObjectUrl(blob) : goog.html.SafeUrl.INNOCUOUS_STRING;
6448
- return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
6449
- };
6450
- goog.html.DATA_URL_PATTERN_ = /^data:(.*);base64,[a-z0-9+\/]+=*$/i;
6451
- goog.html.SafeUrl.tryFromDataUrl = function(dataUrl) {
6452
- dataUrl = String(dataUrl);
6453
- var filteredDataUrl = dataUrl.replace(/(%0A|%0D)/g, "");
6454
- return filteredDataUrl.match(goog.html.DATA_URL_PATTERN_) ? goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(filteredDataUrl) : null;
6455
- };
6456
- goog.html.SafeUrl.fromDataUrl = function(dataUrl) {
6457
- return goog.html.SafeUrl.tryFromDataUrl(dataUrl) || goog.html.SafeUrl.INNOCUOUS_URL;
6458
- };
6459
- goog.html.SafeUrl.fromTrustedResourceUrl = function(trustedResourceUrl) {
6460
- return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(trustedResourceUrl));
6461
- };
6462
- goog.html.SAFE_URL_PATTERN_ = /^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;
6463
- goog.html.SafeUrl.trySanitize = function(url) {
6464
- if (url instanceof goog.html.SafeUrl) {
6465
- return url;
6466
- }
6467
- url = String(url);
6468
- return goog.html.SAFE_URL_PATTERN_.test(url) ? goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url) : goog.html.SafeUrl.tryFromDataUrl(url);
6469
- };
6470
- goog.html.SafeUrl.sanitize = function(url) {
6471
- return goog.html.SafeUrl.trySanitize(url) || goog.html.SafeUrl.INNOCUOUS_URL;
6472
- };
6473
- goog.html.SafeUrl.sanitizeAssertUnchanged = function(url, opt_allowDataUrl) {
6474
- if (url instanceof goog.html.SafeUrl) {
6475
- return url;
6476
- }
6477
- url = String(url);
6478
- if (opt_allowDataUrl && /^data:/i.test(url)) {
6479
- var safeUrl = goog.html.SafeUrl.fromDataUrl(url);
6480
- if (safeUrl.toString() == url) {
6481
- return safeUrl;
6482
- }
6483
- }
6484
- 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);
6485
- return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
6486
- };
6487
- goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG = 2020 <= goog.FEATURESET_YEAR;
6488
- goog.html.SafeUrl.supportsURLAPI = function() {
6489
- if (goog.html.SafeUrl.ASSUME_IMPLEMENTS_URL_API_GOOG) {
6490
- return !0;
6491
- }
6492
- try {
6493
- return new URL("s://g"), !0;
6494
- } catch (e) {
6495
- return !1;
6496
- }
6497
- }();
6498
- goog.html.SafeUrl.legacyExtractScheme = function(url) {
6499
- var aTag = document.createElement("a");
6500
- try {
6501
- aTag.href = url;
6502
- } catch (e) {
6503
- return;
6504
- }
6505
- var protocol = aTag.protocol;
6506
- return ":" === protocol || "" === protocol ? "https:" : protocol;
6507
- };
6508
- goog.html.SafeUrl.extractScheme = function(url) {
6509
- if (!goog.html.SafeUrl.supportsURLAPI) {
6510
- return goog.html.SafeUrl.legacyExtractScheme(url);
6511
- }
6512
- try {
6513
- var parsedUrl = new URL(url);
6514
- } catch (e) {
6515
- return "https:";
6516
- }
6517
- return parsedUrl.protocol;
6518
- };
6519
- goog.html.SafeUrl.sanitizeJavascriptUrlAssertUnchanged = function(url) {
6520
- if (url instanceof goog.html.SafeUrl) {
6521
- return url;
6391
+ ;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"};
6392
+ module$exports$safevalues$internals$secrets.secretToken = {};
6393
+ function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
6394
+ if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
6395
+ throw Error("Bad secret");
6522
6396
  }
6523
- url = String(url);
6524
- var parsedScheme = goog.html.SafeUrl.extractScheme(url);
6525
- goog.asserts.assert("javascript:" !== parsedScheme, "%s is a javascript: URL", url) || (url = goog.html.SafeUrl.INNOCUOUS_STRING);
6526
- return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(url);
6397
+ }
6398
+ module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
6399
+ 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"};
6400
+ module$exports$safevalues$internals$url_impl.SafeUrl = function(token) {
6401
+ goog.DEBUG && module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
6527
6402
  };
6528
- goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_ = {};
6529
- goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse = function(url) {
6530
- return new goog.html.SafeUrl(url, goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_);
6403
+ module$exports$safevalues$internals$url_impl.SafeUrl.prototype.toString = function() {
6404
+ return this.privateDoNotAccessOrElseWrappedUrl;
6531
6405
  };
6532
- goog.html.SafeUrl.INNOCUOUS_URL = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.SafeUrl.INNOCUOUS_STRING);
6533
- goog.html.SafeUrl.ABOUT_BLANK = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank");
6534
- 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"};
6535
- module$exports$safevalues$internals$url_impl.SafeUrl = goog.html.SafeUrl;
6536
- function module$contents$safevalues$internals$url_impl_createUrlInternal(url) {
6537
- return (0,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse)(url);
6406
+ var module$contents$safevalues$internals$url_impl_UrlImpl = module$exports$safevalues$internals$url_impl.SafeUrl;
6407
+ function module$contents$safevalues$internals$url_impl_createUrlInternal(urlValue) {
6408
+ var url = new module$exports$safevalues$internals$url_impl.SafeUrl(module$exports$safevalues$internals$secrets.secretToken);
6409
+ url.privateDoNotAccessOrElseWrappedUrl = urlValue;
6410
+ return url;
6538
6411
  }
6539
6412
  module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
6540
6413
  module$exports$safevalues$internals$url_impl.ABOUT_BLANK = module$contents$safevalues$internals$url_impl_createUrlInternal("about:blank");
6541
6414
  module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = module$contents$safevalues$internals$url_impl_createUrlInternal("about:invalid#zClosurez");
6542
6415
  function module$contents$safevalues$internals$url_impl_isUrl(value) {
6543
- return value instanceof goog.html.SafeUrl;
6416
+ return value instanceof module$exports$safevalues$internals$url_impl.SafeUrl;
6544
6417
  }
6545
6418
  module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
6546
6419
  function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
6547
- return goog.html.SafeUrl.unwrap(value);
6420
+ if (module$contents$safevalues$internals$url_impl_isUrl(value)) {
6421
+ return value.privateDoNotAccessOrElseWrappedUrl;
6422
+ }
6423
+ var message = "";
6424
+ goog.DEBUG && (message = "Unexpected type when unwrapping SafeUrl, got '" + value + "' of type '" + typeof value + "'");
6425
+ throw Error(message);
6548
6426
  }
6549
6427
  module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
6550
6428
  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"};
@@ -6687,7 +6565,7 @@ function module$contents$safevalues$builders$url_builders_extractScheme(url) {
6687
6565
  }
6688
6566
  module$exports$safevalues$builders$url_builders.extractScheme = module$contents$safevalues$builders$url_builders_extractScheme;
6689
6567
  var module$contents$safevalues$builders$url_builders_ALLOWED_SCHEMES = ["data:", "http:", "https:", "mailto:", "ftp:"];
6690
- module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN = /^\s*(?!javascript:)(?:[a-z0-9+.-]+:|[^:\/?#]*(?:[\/?#]|$))/i;
6568
+ module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN = /^\s*(?!javascript:)(?:[\w+.-]+:|[^:/?#]*(?:[/?#]|$))/i;
6691
6569
  function module$contents$safevalues$builders$url_builders_hasJavascriptUrlScheme(url) {
6692
6570
  return !module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN.test(url);
6693
6571
  }
@@ -6700,7 +6578,7 @@ function module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(
6700
6578
  }
6701
6579
  module$exports$safevalues$builders$url_builders.sanitizeJavaScriptUrl = module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl;
6702
6580
  function module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url) {
6703
- return url instanceof goog.html.SafeUrl ? module$contents$safevalues$internals$url_impl_unwrapUrl(url) : module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(url);
6581
+ 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);
6704
6582
  }
6705
6583
  module$exports$safevalues$builders$url_builders.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
6706
6584
  function module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(url) {
@@ -6746,14 +6624,6 @@ module$exports$safevalues$dom$elements$button.setFormaction = function(button, u
6746
6624
  var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
6747
6625
  void 0 !== sanitizedUrl && (button.formAction = sanitizedUrl);
6748
6626
  };
6749
- 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"};
6750
- module$exports$safevalues$internals$secrets.secretToken = {};
6751
- function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
6752
- if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
6753
- throw Error("Bad secret");
6754
- }
6755
- }
6756
- module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
6757
6627
  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"};
6758
6628
  module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function() {
6759
6629
  };
@@ -6922,6 +6792,14 @@ goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!
6922
6792
  goog.dom.tags.isVoidTag = function(tagName) {
6923
6793
  return !0 === goog.dom.tags.VOID_TAGS_[tagName];
6924
6794
  };
6795
+ 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"};
6796
+ module$exports$safevalues$for_closure$index.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
6797
+ module$exports$safevalues$for_closure$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
6798
+ module$exports$safevalues$for_closure$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
6799
+ var module$exports$safevalues$for_closure = {};
6800
+ module$exports$safevalues$for_closure.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
6801
+ module$exports$safevalues$for_closure.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
6802
+ module$exports$safevalues$for_closure.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
6925
6803
  var module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyle_SafeStyle = function(value, token) {
6926
6804
  if (goog.DEBUG && token !== module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE) {
6927
6805
  throw Error("SafeStyle is not meant to be built directly");
@@ -6973,8 +6851,8 @@ module$contents$goog$html$SafeStyle_SafeStyle.concat = function(var_args) {
6973
6851
  module$contents$goog$html$SafeStyle_SafeStyle.EMPTY = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse("");
6974
6852
  module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING = "zClosurez";
6975
6853
  function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
6976
- if (value instanceof goog.html.SafeUrl) {
6977
- return 'url("' + goog.html.SafeUrl.unwrap(value).replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
6854
+ if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
6855
+ return 'url("' + value.toString().replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
6978
6856
  }
6979
6857
  var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
6980
6858
  if (/[{;}]/.test(result)) {
@@ -7034,7 +6912,7 @@ function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
7034
6912
  quote = start;
7035
6913
  return inside;
7036
6914
  });
7037
- var sanitized = goog.html.SafeUrl.sanitize(url).toString();
6915
+ var sanitized = module$contents$safevalues$builders$url_builders_sanitizeUrl(url).toString();
7038
6916
  return before + quote + sanitized + quote + after;
7039
6917
  });
7040
6918
  }
@@ -7162,7 +7040,7 @@ module$contents$goog$html$SafeHtml_SafeHtml.createSandboxIframe = function(src,
7162
7040
  throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : "");
7163
7041
  }
7164
7042
  var fixedAttributes = {};
7165
- fixedAttributes.src = src ? goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(src)) : null;
7043
+ fixedAttributes.src = src ? module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(src)) : null;
7166
7044
  fixedAttributes.srcdoc = srcdoc || null;
7167
7045
  fixedAttributes.sandbox = "";
7168
7046
  var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
@@ -7186,7 +7064,7 @@ module$contents$goog$html$SafeHtml_SafeHtml.createStyle = function(styleSheet, a
7186
7064
  return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
7187
7065
  };
7188
7066
  module$contents$goog$html$SafeHtml_SafeHtml.createMetaRefresh = function(url, secs) {
7189
- var unwrappedUrl = goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(url));
7067
+ var unwrappedUrl = module$contents$safevalues$internals$url_impl_unwrapUrl(module$contents$safevalues$builders$url_builders_sanitizeUrl(url));
7190
7068
  (module$contents$goog$labs$userAgent$browser_matchIE() || module$contents$goog$labs$userAgent$browser_matchEdgeHtml()) && goog.string.internal.contains(unwrappedUrl, ";") && (unwrappedUrl = "'" + unwrappedUrl.replace(/'/g, "%27") + "'");
7191
7069
  return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
7192
7070
  };
@@ -7278,16 +7156,16 @@ function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, v
7278
7156
  if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
7279
7157
  if (value instanceof goog.html.TrustedResourceUrl) {
7280
7158
  value = goog.html.TrustedResourceUrl.unwrap(value);
7281
- } else if (value instanceof goog.html.SafeUrl) {
7282
- value = goog.html.SafeUrl.unwrap(value);
7159
+ } else if (value instanceof module$exports$safevalues$internals$url_impl.SafeUrl) {
7160
+ value = module$contents$safevalues$internals$url_impl_unwrapUrl(value);
7283
7161
  } else if ("string" === typeof value) {
7284
- value = goog.html.SafeUrl.sanitize(value).toString();
7162
+ value = module$contents$safevalues$builders$url_builders_sanitizeUrl(value).toString();
7285
7163
  } else {
7286
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" on tag "' + tagName + '" requires goog.html.SafeUrl, goog.string.Const, or string, value "' + value + '" given.' : "");
7164
+ 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.' : "");
7287
7165
  }
7288
7166
  }
7289
7167
  }
7290
- goog.asserts.assert(value instanceof goog.html.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);
7168
+ 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);
7291
7169
  return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
7292
7170
  }
7293
7171
  function module$contents$goog$html$SafeHtml_getStyleValue(value) {
@@ -7435,9 +7313,9 @@ function module$contents$safevalues$dom$elements$iframe_setSandboxDirectives(ifr
7435
7313
  }
7436
7314
  }
7437
7315
  module$exports$safevalues$dom$elements$iframe.TypeCannotBeUsedWithIntentError = function(type, intent) {
7438
- var $jscomp$tmp$error = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
7439
- this.message = $jscomp$tmp$error.message;
7440
- "stack" in $jscomp$tmp$error && (this.stack = $jscomp$tmp$error.stack);
7316
+ var $jscomp$tmp$error$240424914$1 = Error.call(this, type + " cannot be used with intent " + module$exports$safevalues$dom$elements$iframe.Intent[intent]);
7317
+ this.message = $jscomp$tmp$error$240424914$1.message;
7318
+ "stack" in $jscomp$tmp$error$240424914$1 && (this.stack = $jscomp$tmp$error$240424914$1.stack);
7441
7319
  this.type = type;
7442
7320
  this.intent = intent;
7443
7321
  this.name = "TypeCannotBeUsedWithIntentError";
@@ -7948,9 +7826,9 @@ function module$contents$safevalues$dom$globals$dom_parser_parseFromString(parse
7948
7826
  module$exports$safevalues$dom$globals$dom_parser.parseFromString = module$contents$safevalues$dom$globals$dom_parser_parseFromString;
7949
7827
  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"};
7950
7828
  module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError = function(url, typeName, contentType) {
7951
- 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.");
7952
- this.message = $jscomp$tmp$error.message;
7953
- "stack" in $jscomp$tmp$error && (this.stack = $jscomp$tmp$error.stack);
7829
+ var $jscomp$tmp$error$m991617773$4 = Error.call(this, url + " was requested as a " + typeName + ', but the response Content-Type, "' + contentType + " is not appropriate for this type of content.");
7830
+ this.message = $jscomp$tmp$error$m991617773$4.message;
7831
+ "stack" in $jscomp$tmp$error$m991617773$4 && (this.stack = $jscomp$tmp$error$m991617773$4.stack);
7954
7832
  this.url = url;
7955
7833
  this.typeName = typeName;
7956
7834
  this.contentType = contentType;
@@ -7963,47 +7841,47 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
7963
7841
  }
7964
7842
  function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
7965
7843
  var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
7966
- return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$6) {
7967
- if (1 == $jscomp$generator$context$m991617773$6.nextAddress) {
7968
- return $jscomp$generator$context$m991617773$6.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
7844
+ return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$8) {
7845
+ if (1 == $jscomp$generator$context$m991617773$8.nextAddress) {
7846
+ return $jscomp$generator$context$m991617773$8.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
7969
7847
  }
7970
- response = $jscomp$generator$context$m991617773$6.yieldResult;
7848
+ response = $jscomp$generator$context$m991617773$8.yieldResult;
7971
7849
  mimeType = null == ($jscomp$optchain$tmpm991617773$0 = response.headers.get("Content-Type")) ? void 0 : null == ($jscomp$optchain$tmpm991617773$1 = $jscomp$optchain$tmpm991617773$0.split(";", 2)) ? void 0 : null == ($jscomp$optchain$tmpm991617773$2 = $jscomp$optchain$tmpm991617773$1[0]) ? void 0 : $jscomp$optchain$tmpm991617773$2.toLowerCase();
7972
- return $jscomp$generator$context$m991617773$6.return({html:function() {
7850
+ return $jscomp$generator$context$m991617773$8.return({html:function() {
7973
7851
  var text;
7974
- return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$3) {
7975
- if (1 == $jscomp$generator$context$m991617773$3.nextAddress) {
7852
+ return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$5) {
7853
+ if (1 == $jscomp$generator$context$m991617773$5.nextAddress) {
7976
7854
  if ("text/html" !== mimeType) {
7977
7855
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
7978
7856
  }
7979
- return $jscomp$generator$context$m991617773$3.yield(response.text(), 2);
7857
+ return $jscomp$generator$context$m991617773$5.yield(response.text(), 2);
7980
7858
  }
7981
- text = $jscomp$generator$context$m991617773$3.yieldResult;
7982
- return $jscomp$generator$context$m991617773$3.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
7859
+ text = $jscomp$generator$context$m991617773$5.yieldResult;
7860
+ return $jscomp$generator$context$m991617773$5.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
7983
7861
  });
7984
7862
  }, script:function() {
7985
7863
  var text;
7986
- return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$4) {
7987
- if (1 == $jscomp$generator$context$m991617773$4.nextAddress) {
7864
+ return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$6) {
7865
+ if (1 == $jscomp$generator$context$m991617773$6.nextAddress) {
7988
7866
  if ("text/javascript" !== mimeType && "application/javascript" !== mimeType) {
7989
7867
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
7990
7868
  }
7991
- return $jscomp$generator$context$m991617773$4.yield(response.text(), 2);
7869
+ return $jscomp$generator$context$m991617773$6.yield(response.text(), 2);
7992
7870
  }
7993
- text = $jscomp$generator$context$m991617773$4.yieldResult;
7994
- return $jscomp$generator$context$m991617773$4.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
7871
+ text = $jscomp$generator$context$m991617773$6.yieldResult;
7872
+ return $jscomp$generator$context$m991617773$6.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
7995
7873
  });
7996
7874
  }, styleSheet:function() {
7997
7875
  var text;
7998
- return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$5) {
7999
- if (1 == $jscomp$generator$context$m991617773$5.nextAddress) {
7876
+ return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$7) {
7877
+ if (1 == $jscomp$generator$context$m991617773$7.nextAddress) {
8000
7878
  if ("text/css" !== mimeType) {
8001
7879
  throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
8002
7880
  }
8003
- return $jscomp$generator$context$m991617773$5.yield(response.text(), 2);
7881
+ return $jscomp$generator$context$m991617773$7.yield(response.text(), 2);
8004
7882
  }
8005
- text = $jscomp$generator$context$m991617773$5.yieldResult;
8006
- return $jscomp$generator$context$m991617773$5.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
7883
+ text = $jscomp$generator$context$m991617773$7.yieldResult;
7884
+ return $jscomp$generator$context$m991617773$7.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
8007
7885
  });
8008
7886
  }});
8009
7887
  });
@@ -16280,7 +16158,7 @@ module$exports$safevalues$index.unwrapStyleSheet = module$contents$safevalues$in
16280
16158
  module$exports$safevalues$index.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
16281
16159
  module$exports$safevalues$index.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
16282
16160
  module$exports$safevalues$index.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
16283
- module$exports$safevalues$index.SafeUrl = goog.html.SafeUrl;
16161
+ module$exports$safevalues$index.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
16284
16162
  module$exports$safevalues$index.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
16285
16163
  module$exports$safevalues$index.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
16286
16164
  module$exports$safevalues$index.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
@@ -19087,18 +18965,18 @@ safevalues.unwrapStyleSheet = module$contents$safevalues$internals$style_sheet_i
19087
18965
  safevalues.ABOUT_BLANK = module$exports$safevalues$internals$url_impl.ABOUT_BLANK;
19088
18966
  safevalues.INNOCUOUS_URL = module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
19089
18967
  safevalues.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
19090
- safevalues.SafeUrl = goog.html.SafeUrl;
18968
+ safevalues.SafeUrl = module$exports$safevalues$internals$url_impl.SafeUrl;
19091
18969
  safevalues.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
19092
18970
  safevalues.reportOnlyHtmlPassthrough = module$contents$safevalues$reporting$reporting_reportOnlyHtmlPassthrough;
19093
18971
  safevalues.HtmlFormatter = module$exports$safevalues$builders$html_formatter.HtmlFormatter;
19094
18972
  safevalues.createHtml = module$exports$safevalues$index.createHtml;
19095
18973
  safevalues.styleSheetToHtml = module$exports$safevalues$index.styleSheetToHtml;
19096
18974
  safevalues.safeStyleRule = module$exports$safevalues$index.safeStyleRule;
19097
- var $jscomp$templatelit$294235699$96 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
18975
+ var $jscomp$templatelit$294235699$99 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
19098
18976
  ee.apiclient = {};
19099
18977
  var module$contents$ee$apiclient_apiclient = {};
19100
18978
  ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
19101
- ee.apiclient.API_CLIENT_VERSION = "0.1.398";
18979
+ ee.apiclient.API_CLIENT_VERSION = "0.1.399";
19102
18980
  ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
19103
18981
  ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
19104
18982
  ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
@@ -19259,8 +19137,8 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
19259
19137
  module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
19260
19138
  };
19261
19139
  module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
19262
- for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$41 = $jscomp.makeIterator(responseText.split("--" + boundary)), $jscomp$key$294235699$97$part = $jscomp$iter$41.next(); !$jscomp$key$294235699$97$part.done; $jscomp$key$294235699$97$part = $jscomp$iter$41.next()) {
19263
- var groups = $jscomp$key$294235699$97$part.value.split("\r\n\r\n");
19140
+ 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()) {
19141
+ var groups = $jscomp$key$294235699$100$part.value.split("\r\n\r\n");
19264
19142
  if (!(3 > groups.length)) {
19265
19143
  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");
19266
19144
  handle(id, status, text);
@@ -19388,8 +19266,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
19388
19266
  var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
19389
19267
  body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
19390
19268
  method = method || "POST";
19391
- var headers = {"Content-Type":contentType}, version = "0.1.398";
19392
- "0.1.398" === version && (version = "latest");
19269
+ var headers = {"Content-Type":contentType}, version = "0.1.399";
19270
+ "0.1.399" === version && (version = "latest");
19393
19271
  headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
19394
19272
  var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
19395
19273
  if (null != authToken) {
@@ -19504,7 +19382,7 @@ module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_ = function(callback)
19504
19382
  callback();
19505
19383
  };
19506
19384
  (function() {
19507
- goog.isObject(goog.global.default_gsi) ? done() : goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$294235699$96)).addCallback(done);
19385
+ 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);
19508
19386
  })();
19509
19387
  };
19510
19388
  module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, error, result) {
@@ -19522,8 +19400,8 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
19522
19400
  }
19523
19401
  };
19524
19402
  module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
19525
- for (var request = new goog.Uri.QueryData(), $jscomp$iter$42 = $jscomp.makeIterator(Object.entries(params)), $jscomp$key$294235699$98$ = $jscomp$iter$42.next(); !$jscomp$key$294235699$98$.done; $jscomp$key$294235699$98$ = $jscomp$iter$42.next()) {
19526
- var $jscomp$destructuring$var47 = $jscomp.makeIterator($jscomp$key$294235699$98$.value), name = $jscomp$destructuring$var47.next().value, item = $jscomp$destructuring$var47.next().value;
19403
+ 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()) {
19404
+ var $jscomp$destructuring$var47 = $jscomp.makeIterator($jscomp$key$294235699$101$.value), name = $jscomp$destructuring$var47.next().value, item = $jscomp$destructuring$var47.next().value;
19527
19405
  request.set(name, item);
19528
19406
  }
19529
19407
  return request;
@@ -24738,6 +24616,7 @@ goog.events.EventHandler.prototype.disposeInternal = function() {
24738
24616
  goog.events.EventHandler.prototype.handleEvent = function(e) {
24739
24617
  throw Error("EventHandler.handleEvent not implemented");
24740
24618
  };
24619
+ goog.fs = {};
24741
24620
  goog.fs.DOMErrorLike = function() {
24742
24621
  };
24743
24622
  goog.fs.Error = function(error, action) {