@google/earthengine 0.1.394 → 0.1.396
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 +903 -890
- package/build/ee_api_js.js +146 -145
- package/build/ee_api_js_debug.js +880 -867
- package/build/ee_api_js_npm.js +903 -890
- package/build/main.js +903 -890
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/data.js +40 -7
- package/src/examples/Demos/Landsat8HarmonicModeling.js +3 -1
package/build/main.js
CHANGED
|
@@ -1380,7 +1380,6 @@ goog.LOAD_MODULE_USING_EVAL = !0;
|
|
|
1380
1380
|
goog.SEAL_MODULE_EXPORTS = goog.DEBUG;
|
|
1381
1381
|
goog.loadedModules_ = {};
|
|
1382
1382
|
goog.DEPENDENCIES_ENABLED = !1;
|
|
1383
|
-
goog.TRANSPILE = "detect";
|
|
1384
1383
|
goog.ASSUME_ES_MODULES_TRANSPILED = !1;
|
|
1385
1384
|
goog.TRUSTED_TYPES_POLICY_NAME = "goog";
|
|
1386
1385
|
goog.hasBadLetScoping = null;
|
|
@@ -6061,9 +6060,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6061
6060
|
};
|
|
6062
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;
|
|
6063
6062
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6064
|
-
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$
|
|
6065
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
6066
|
-
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$m192531680$40$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$44 = {}; !$jscomp$key$m192531680$40$key.done; $jscomp$loop$m192531680$44 =
|
|
6064
|
+
{mapMetadata:void 0}, $jscomp$key$m192531680$40$key = $jscomp$iter$19.next()) {
|
|
6065
|
+
var key = $jscomp$key$m192531680$40$key.value, value = valueGetter(key, source);
|
|
6067
6066
|
if (null != value) {
|
|
6068
6067
|
var copy = void 0;
|
|
6069
6068
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -6074,11 +6073,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6074
6073
|
} else if (objects.hasOwnProperty(key)) {
|
|
6075
6074
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6076
6075
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6077
|
-
$jscomp$loop$
|
|
6076
|
+
$jscomp$loop$m192531680$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$44) {
|
|
6078
6077
|
return function(v) {
|
|
6079
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6078
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6080
6079
|
};
|
|
6081
|
-
}($jscomp$loop$
|
|
6080
|
+
}($jscomp$loop$m192531680$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6082
6081
|
} else if (Array.isArray(value)) {
|
|
6083
6082
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6084
6083
|
continue;
|
|
@@ -6093,8 +6092,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6093
6092
|
return target;
|
|
6094
6093
|
}
|
|
6095
6094
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
6096
|
-
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$
|
|
6097
|
-
var mapKey = $jscomp$key$
|
|
6095
|
+
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m192531680$41$mapKey.done; $jscomp$key$m192531680$41$mapKey = $jscomp$iter$20.next()) {
|
|
6096
|
+
var mapKey = $jscomp$key$m192531680$41$mapKey.value, mapValue = value[mapKey];
|
|
6098
6097
|
null != mapValue && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
6099
6098
|
}
|
|
6100
6099
|
return objMap;
|
|
@@ -6124,39 +6123,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6124
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))) {
|
|
6125
6124
|
return !1;
|
|
6126
6125
|
}
|
|
6127
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$
|
|
6128
|
-
var key = $jscomp$key$
|
|
6126
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$m192531680$42$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$45 = {}; !$jscomp$key$m192531680$42$key.done; $jscomp$loop$m192531680$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m192531680$42$key = $jscomp$iter$21.next()) {
|
|
6127
|
+
var key = $jscomp$key$m192531680$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
6129
6128
|
if (has1 !== has2) {
|
|
6130
6129
|
return !1;
|
|
6131
6130
|
}
|
|
6132
6131
|
if (has1) {
|
|
6133
6132
|
var value1 = serializable1.Serializable$get(key);
|
|
6134
|
-
$jscomp$loop$
|
|
6133
|
+
$jscomp$loop$m192531680$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6135
6134
|
if (arrays1.hasOwnProperty(key)) {
|
|
6136
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6135
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !0)) {
|
|
6137
6136
|
return !1;
|
|
6138
6137
|
}
|
|
6139
6138
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6140
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6139
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !0)) {
|
|
6141
6140
|
return !1;
|
|
6142
6141
|
}
|
|
6143
6142
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6144
|
-
if ($jscomp$loop$
|
|
6145
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6143
|
+
if ($jscomp$loop$m192531680$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6144
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$45) {
|
|
6146
6145
|
return function(v1, i) {
|
|
6147
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6146
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$45.value2$jscomp$7[i], $jscomp$loop$m192531680$45.mapMetadata$jscomp$2);
|
|
6148
6147
|
};
|
|
6149
|
-
}($jscomp$loop$
|
|
6148
|
+
}($jscomp$loop$m192531680$45))) {
|
|
6150
6149
|
return !1;
|
|
6151
6150
|
}
|
|
6152
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6151
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, $jscomp$loop$m192531680$45.mapMetadata$jscomp$2)) {
|
|
6153
6152
|
return !1;
|
|
6154
6153
|
}
|
|
6155
6154
|
} else if (Array.isArray(value1)) {
|
|
6156
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6155
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !0, !1)) {
|
|
6157
6156
|
return !1;
|
|
6158
6157
|
}
|
|
6159
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6158
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$45.value2$jscomp$7, !1, !1)) {
|
|
6160
6159
|
return !1;
|
|
6161
6160
|
}
|
|
6162
6161
|
}
|
|
@@ -6178,8 +6177,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
6178
6177
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
6179
6178
|
return !1;
|
|
6180
6179
|
}
|
|
6181
|
-
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$
|
|
6182
|
-
var mapKey = $jscomp$key$
|
|
6180
|
+
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m192531680$43$mapKey.done; $jscomp$key$m192531680$43$mapKey = $jscomp$iter$22.next()) {
|
|
6181
|
+
var mapKey = $jscomp$key$m192531680$43$mapKey.value;
|
|
6183
6182
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
6184
6183
|
return !1;
|
|
6185
6184
|
}
|
|
@@ -6246,178 +6245,7 @@ var module$contents$safevalues$internals$pure_module = module$contents$safevalue
|
|
|
6246
6245
|
function module$contents$safevalues$internals$pure_pure(valueOf) {
|
|
6247
6246
|
return {valueOf:valueOf}.valueOf();
|
|
6248
6247
|
}
|
|
6249
|
-
;goog.
|
|
6250
|
-
};
|
|
6251
|
-
goog.dom.TagName = function() {
|
|
6252
|
-
};
|
|
6253
|
-
goog.dom.TagName.cast = function(name, type) {
|
|
6254
|
-
return name;
|
|
6255
|
-
};
|
|
6256
|
-
goog.dom.TagName.prototype.toString = function() {
|
|
6257
|
-
};
|
|
6258
|
-
goog.dom.TagName.A = "A";
|
|
6259
|
-
goog.dom.TagName.ABBR = "ABBR";
|
|
6260
|
-
goog.dom.TagName.ACRONYM = "ACRONYM";
|
|
6261
|
-
goog.dom.TagName.ADDRESS = "ADDRESS";
|
|
6262
|
-
goog.dom.TagName.APPLET = "APPLET";
|
|
6263
|
-
goog.dom.TagName.AREA = "AREA";
|
|
6264
|
-
goog.dom.TagName.ARTICLE = "ARTICLE";
|
|
6265
|
-
goog.dom.TagName.ASIDE = "ASIDE";
|
|
6266
|
-
goog.dom.TagName.AUDIO = "AUDIO";
|
|
6267
|
-
goog.dom.TagName.B = "B";
|
|
6268
|
-
goog.dom.TagName.BASE = "BASE";
|
|
6269
|
-
goog.dom.TagName.BASEFONT = "BASEFONT";
|
|
6270
|
-
goog.dom.TagName.BDI = "BDI";
|
|
6271
|
-
goog.dom.TagName.BDO = "BDO";
|
|
6272
|
-
goog.dom.TagName.BIG = "BIG";
|
|
6273
|
-
goog.dom.TagName.BLOCKQUOTE = "BLOCKQUOTE";
|
|
6274
|
-
goog.dom.TagName.BODY = "BODY";
|
|
6275
|
-
goog.dom.TagName.BR = "BR";
|
|
6276
|
-
goog.dom.TagName.BUTTON = "BUTTON";
|
|
6277
|
-
goog.dom.TagName.CANVAS = "CANVAS";
|
|
6278
|
-
goog.dom.TagName.CAPTION = "CAPTION";
|
|
6279
|
-
goog.dom.TagName.CENTER = "CENTER";
|
|
6280
|
-
goog.dom.TagName.CITE = "CITE";
|
|
6281
|
-
goog.dom.TagName.CODE = "CODE";
|
|
6282
|
-
goog.dom.TagName.COL = "COL";
|
|
6283
|
-
goog.dom.TagName.COLGROUP = "COLGROUP";
|
|
6284
|
-
goog.dom.TagName.COMMAND = "COMMAND";
|
|
6285
|
-
goog.dom.TagName.DATA = "DATA";
|
|
6286
|
-
goog.dom.TagName.DATALIST = "DATALIST";
|
|
6287
|
-
goog.dom.TagName.DD = "DD";
|
|
6288
|
-
goog.dom.TagName.DEL = "DEL";
|
|
6289
|
-
goog.dom.TagName.DETAILS = "DETAILS";
|
|
6290
|
-
goog.dom.TagName.DFN = "DFN";
|
|
6291
|
-
goog.dom.TagName.DIALOG = "DIALOG";
|
|
6292
|
-
goog.dom.TagName.DIR = "DIR";
|
|
6293
|
-
goog.dom.TagName.DIV = "DIV";
|
|
6294
|
-
goog.dom.TagName.DL = "DL";
|
|
6295
|
-
goog.dom.TagName.DT = "DT";
|
|
6296
|
-
goog.dom.TagName.EM = "EM";
|
|
6297
|
-
goog.dom.TagName.EMBED = "EMBED";
|
|
6298
|
-
goog.dom.TagName.FIELDSET = "FIELDSET";
|
|
6299
|
-
goog.dom.TagName.FIGCAPTION = "FIGCAPTION";
|
|
6300
|
-
goog.dom.TagName.FIGURE = "FIGURE";
|
|
6301
|
-
goog.dom.TagName.FONT = "FONT";
|
|
6302
|
-
goog.dom.TagName.FOOTER = "FOOTER";
|
|
6303
|
-
goog.dom.TagName.FORM = "FORM";
|
|
6304
|
-
goog.dom.TagName.FRAME = "FRAME";
|
|
6305
|
-
goog.dom.TagName.FRAMESET = "FRAMESET";
|
|
6306
|
-
goog.dom.TagName.H1 = "H1";
|
|
6307
|
-
goog.dom.TagName.H2 = "H2";
|
|
6308
|
-
goog.dom.TagName.H3 = "H3";
|
|
6309
|
-
goog.dom.TagName.H4 = "H4";
|
|
6310
|
-
goog.dom.TagName.H5 = "H5";
|
|
6311
|
-
goog.dom.TagName.H6 = "H6";
|
|
6312
|
-
goog.dom.TagName.HEAD = "HEAD";
|
|
6313
|
-
goog.dom.TagName.HEADER = "HEADER";
|
|
6314
|
-
goog.dom.TagName.HGROUP = "HGROUP";
|
|
6315
|
-
goog.dom.TagName.HR = "HR";
|
|
6316
|
-
goog.dom.TagName.HTML = "HTML";
|
|
6317
|
-
goog.dom.TagName.I = "I";
|
|
6318
|
-
goog.dom.TagName.IFRAME = "IFRAME";
|
|
6319
|
-
goog.dom.TagName.IMG = "IMG";
|
|
6320
|
-
goog.dom.TagName.INPUT = "INPUT";
|
|
6321
|
-
goog.dom.TagName.INS = "INS";
|
|
6322
|
-
goog.dom.TagName.ISINDEX = "ISINDEX";
|
|
6323
|
-
goog.dom.TagName.KBD = "KBD";
|
|
6324
|
-
goog.dom.TagName.KEYGEN = "KEYGEN";
|
|
6325
|
-
goog.dom.TagName.LABEL = "LABEL";
|
|
6326
|
-
goog.dom.TagName.LEGEND = "LEGEND";
|
|
6327
|
-
goog.dom.TagName.LI = "LI";
|
|
6328
|
-
goog.dom.TagName.LINK = "LINK";
|
|
6329
|
-
goog.dom.TagName.MAIN = "MAIN";
|
|
6330
|
-
goog.dom.TagName.MAP = "MAP";
|
|
6331
|
-
goog.dom.TagName.MARK = "MARK";
|
|
6332
|
-
goog.dom.TagName.MATH = "MATH";
|
|
6333
|
-
goog.dom.TagName.MENU = "MENU";
|
|
6334
|
-
goog.dom.TagName.MENUITEM = "MENUITEM";
|
|
6335
|
-
goog.dom.TagName.META = "META";
|
|
6336
|
-
goog.dom.TagName.METER = "METER";
|
|
6337
|
-
goog.dom.TagName.NAV = "NAV";
|
|
6338
|
-
goog.dom.TagName.NOFRAMES = "NOFRAMES";
|
|
6339
|
-
goog.dom.TagName.NOSCRIPT = "NOSCRIPT";
|
|
6340
|
-
goog.dom.TagName.OBJECT = "OBJECT";
|
|
6341
|
-
goog.dom.TagName.OL = "OL";
|
|
6342
|
-
goog.dom.TagName.OPTGROUP = "OPTGROUP";
|
|
6343
|
-
goog.dom.TagName.OPTION = "OPTION";
|
|
6344
|
-
goog.dom.TagName.OUTPUT = "OUTPUT";
|
|
6345
|
-
goog.dom.TagName.P = "P";
|
|
6346
|
-
goog.dom.TagName.PARAM = "PARAM";
|
|
6347
|
-
goog.dom.TagName.PICTURE = "PICTURE";
|
|
6348
|
-
goog.dom.TagName.PRE = "PRE";
|
|
6349
|
-
goog.dom.TagName.PROGRESS = "PROGRESS";
|
|
6350
|
-
goog.dom.TagName.Q = "Q";
|
|
6351
|
-
goog.dom.TagName.RP = "RP";
|
|
6352
|
-
goog.dom.TagName.RT = "RT";
|
|
6353
|
-
goog.dom.TagName.RTC = "RTC";
|
|
6354
|
-
goog.dom.TagName.RUBY = "RUBY";
|
|
6355
|
-
goog.dom.TagName.S = "S";
|
|
6356
|
-
goog.dom.TagName.SAMP = "SAMP";
|
|
6357
|
-
goog.dom.TagName.SCRIPT = "SCRIPT";
|
|
6358
|
-
goog.dom.TagName.SECTION = "SECTION";
|
|
6359
|
-
goog.dom.TagName.SELECT = "SELECT";
|
|
6360
|
-
goog.dom.TagName.SMALL = "SMALL";
|
|
6361
|
-
goog.dom.TagName.SOURCE = "SOURCE";
|
|
6362
|
-
goog.dom.TagName.SPAN = "SPAN";
|
|
6363
|
-
goog.dom.TagName.STRIKE = "STRIKE";
|
|
6364
|
-
goog.dom.TagName.STRONG = "STRONG";
|
|
6365
|
-
goog.dom.TagName.STYLE = "STYLE";
|
|
6366
|
-
goog.dom.TagName.SUB = "SUB";
|
|
6367
|
-
goog.dom.TagName.SUMMARY = "SUMMARY";
|
|
6368
|
-
goog.dom.TagName.SUP = "SUP";
|
|
6369
|
-
goog.dom.TagName.SVG = "SVG";
|
|
6370
|
-
goog.dom.TagName.TABLE = "TABLE";
|
|
6371
|
-
goog.dom.TagName.TBODY = "TBODY";
|
|
6372
|
-
goog.dom.TagName.TD = "TD";
|
|
6373
|
-
goog.dom.TagName.TEMPLATE = "TEMPLATE";
|
|
6374
|
-
goog.dom.TagName.TEXTAREA = "TEXTAREA";
|
|
6375
|
-
goog.dom.TagName.TFOOT = "TFOOT";
|
|
6376
|
-
goog.dom.TagName.TH = "TH";
|
|
6377
|
-
goog.dom.TagName.THEAD = "THEAD";
|
|
6378
|
-
goog.dom.TagName.TIME = "TIME";
|
|
6379
|
-
goog.dom.TagName.TITLE = "TITLE";
|
|
6380
|
-
goog.dom.TagName.TR = "TR";
|
|
6381
|
-
goog.dom.TagName.TRACK = "TRACK";
|
|
6382
|
-
goog.dom.TagName.TT = "TT";
|
|
6383
|
-
goog.dom.TagName.U = "U";
|
|
6384
|
-
goog.dom.TagName.UL = "UL";
|
|
6385
|
-
goog.dom.TagName.VAR = "VAR";
|
|
6386
|
-
goog.dom.TagName.VIDEO = "VIDEO";
|
|
6387
|
-
goog.dom.TagName.WBR = "WBR";
|
|
6388
|
-
goog.dom.tags = {};
|
|
6389
|
-
goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!0, hr:!0, img:!0, input:!0, keygen:!0, link:!0, meta:!0, param:!0, source:!0, track:!0, wbr:!0};
|
|
6390
|
-
goog.dom.tags.isVoidTag = function(tagName) {
|
|
6391
|
-
return !0 === goog.dom.tags.VOID_TAGS_[tagName];
|
|
6392
|
-
};
|
|
6393
|
-
goog.fs = {};
|
|
6394
|
-
goog.fs.url = {};
|
|
6395
|
-
goog.fs.url.createObjectUrl = function(obj) {
|
|
6396
|
-
return goog.fs.url.getUrlObject_().createObjectURL(obj);
|
|
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 = {};
|
|
6248
|
+
;goog.html = {};
|
|
6421
6249
|
goog.html.trustedtypes = {};
|
|
6422
6250
|
goog.html.trustedtypes.POLICY_NAME = goog.TRUSTED_TYPES_POLICY_NAME ? goog.TRUSTED_TYPES_POLICY_NAME + "#html" : "";
|
|
6423
6251
|
goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse = function() {
|
|
@@ -6521,6 +6349,74 @@ goog.html.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString,
|
|
|
6521
6349
|
}
|
|
6522
6350
|
return currentString;
|
|
6523
6351
|
};
|
|
6352
|
+
var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
|
|
6353
|
+
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
6354
|
+
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
6355
|
+
return (0,goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
6356
|
+
}
|
|
6357
|
+
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
6358
|
+
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
6359
|
+
return value instanceof goog.html.TrustedResourceUrl;
|
|
6360
|
+
}
|
|
6361
|
+
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
6362
|
+
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
6363
|
+
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
6364
|
+
}
|
|
6365
|
+
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
6366
|
+
var $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$8 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$9 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$10 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
|
|
6367
|
+
["\\0"]), $jscomp$templatelit$1274514361$11 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$12 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
|
|
6368
|
+
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
6369
|
+
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
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 ##############################");
|
|
6371
|
+
}
|
|
6372
|
+
}
|
|
6373
|
+
function module$contents$safevalues$internals$string_literal_checkFrozen(templateObj) {
|
|
6374
|
+
return Object.isFrozen(templateObj) && Object.isFrozen(templateObj.raw);
|
|
6375
|
+
}
|
|
6376
|
+
var module$contents$safevalues$internals$string_literal_TagFn;
|
|
6377
|
+
function module$contents$safevalues$internals$string_literal_checkTranspiled(fn) {
|
|
6378
|
+
return -1 === fn.toString().indexOf("`");
|
|
6379
|
+
}
|
|
6380
|
+
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6381
|
+
return tag($jscomp$templatelit$1274514361$5);
|
|
6382
|
+
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6383
|
+
return tag($jscomp$templatelit$1274514361$6);
|
|
6384
|
+
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6385
|
+
return tag($jscomp$templatelit$1274514361$7);
|
|
6386
|
+
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
6387
|
+
return tag($jscomp$templatelit$1274514361$8);
|
|
6388
|
+
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$9) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$10) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$11) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$12);
|
|
6389
|
+
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
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
|
+
!0 : !1;
|
|
6392
|
+
}
|
|
6393
|
+
;goog.fs = {};
|
|
6394
|
+
goog.fs.url = {};
|
|
6395
|
+
goog.fs.url.createObjectUrl = function(obj) {
|
|
6396
|
+
return goog.fs.url.getUrlObject_().createObjectURL(obj);
|
|
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
|
+
};
|
|
6524
6420
|
goog.html.SafeUrl = function(value, token) {
|
|
6525
6421
|
if (goog.DEBUG && token !== goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
|
|
6526
6422
|
throw Error("SafeUrl is not meant to be built directly");
|
|
@@ -6637,687 +6533,786 @@ goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse = function(url)
|
|
|
6637
6533
|
};
|
|
6638
6534
|
goog.html.SafeUrl.INNOCUOUS_URL = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.SafeUrl.INNOCUOUS_STRING);
|
|
6639
6535
|
goog.html.SafeUrl.ABOUT_BLANK = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank");
|
|
6640
|
-
var module$
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
module$
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
return
|
|
6654
|
-
}
|
|
6655
|
-
module$
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
(
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
}
|
|
6675
|
-
var value = map[name];
|
|
6676
|
-
null != value && (value = Array.isArray(value) ? value.map(module$contents$goog$html$SafeStyle_sanitizePropertyValue).join(" ") : module$contents$goog$html$SafeStyle_sanitizePropertyValue(value), style += name + ":" + value + ";");
|
|
6677
|
-
}
|
|
6678
|
-
}
|
|
6679
|
-
return style ? module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(style) : module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;
|
|
6536
|
+
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"};
|
|
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);
|
|
6540
|
+
}
|
|
6541
|
+
module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
|
|
6542
|
+
module$exports$safevalues$internals$url_impl.ABOUT_BLANK = module$contents$safevalues$internals$url_impl_createUrlInternal("about:blank");
|
|
6543
|
+
module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = module$contents$safevalues$internals$url_impl_createUrlInternal("about:invalid#zClosurez");
|
|
6544
|
+
function module$contents$safevalues$internals$url_impl_isUrl(value) {
|
|
6545
|
+
return value instanceof goog.html.SafeUrl;
|
|
6546
|
+
}
|
|
6547
|
+
module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
6548
|
+
function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
|
|
6549
|
+
return goog.html.SafeUrl.unwrap(value);
|
|
6550
|
+
}
|
|
6551
|
+
module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
6552
|
+
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"};
|
|
6553
|
+
function module$contents$safevalues$builders$url_builders_isSafeMimeType(mimeType) {
|
|
6554
|
+
var match = mimeType.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);
|
|
6555
|
+
return 2 === (null == match ? void 0 : match.length) && (module$contents$safevalues$builders$url_builders_isSafeImageMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeVideoMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeAudioMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeFontMimeType(match[1]));
|
|
6556
|
+
}
|
|
6557
|
+
function module$contents$safevalues$builders$url_builders_isSafeImageMimeType(mimeType) {
|
|
6558
|
+
return /^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(mimeType);
|
|
6559
|
+
}
|
|
6560
|
+
function module$contents$safevalues$builders$url_builders_isSafeVideoMimeType(mimeType) {
|
|
6561
|
+
return /^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(mimeType);
|
|
6562
|
+
}
|
|
6563
|
+
function module$contents$safevalues$builders$url_builders_isSafeAudioMimeType(mimeType) {
|
|
6564
|
+
return /^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(mimeType);
|
|
6565
|
+
}
|
|
6566
|
+
function module$contents$safevalues$builders$url_builders_isSafeFontMimeType(mimeType) {
|
|
6567
|
+
return /^font\/\w+/i.test(mimeType);
|
|
6568
|
+
}
|
|
6569
|
+
module$exports$safevalues$builders$url_builders.Scheme = function() {
|
|
6680
6570
|
};
|
|
6681
|
-
module$contents$
|
|
6682
|
-
|
|
6683
|
-
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$contents$goog$html$SafeStyle_SafeStyle.unwrap(argument);
|
|
6684
|
-
};
|
|
6685
|
-
Array.prototype.forEach.call(arguments, addArgument);
|
|
6686
|
-
return style ? module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(style) : module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;
|
|
6571
|
+
var module$contents$safevalues$builders$url_builders_SchemeImpl = function(isValid) {
|
|
6572
|
+
this.isValid = isValid;
|
|
6687
6573
|
};
|
|
6688
|
-
|
|
6689
|
-
module$contents$
|
|
6690
|
-
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
6691
|
-
if (value instanceof goog.html.SafeUrl) {
|
|
6692
|
-
return 'url("' + goog.html.SafeUrl.unwrap(value).replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
6693
|
-
}
|
|
6694
|
-
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
6695
|
-
if (/[{;}]/.test(result)) {
|
|
6696
|
-
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
6697
|
-
}
|
|
6698
|
-
return result;
|
|
6574
|
+
function module$contents$safevalues$builders$url_builders_isValidScheme(scheme) {
|
|
6575
|
+
return scheme instanceof module$contents$safevalues$builders$url_builders_SchemeImpl;
|
|
6699
6576
|
}
|
|
6700
|
-
function module$contents$
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6577
|
+
function module$contents$safevalues$builders$url_builders_simpleScheme(scheme) {
|
|
6578
|
+
return new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
6579
|
+
return url.substr(0, scheme.length + 1).toLowerCase() === scheme + ":";
|
|
6580
|
+
});
|
|
6581
|
+
}
|
|
6582
|
+
module$exports$safevalues$builders$url_builders.SanitizableUrlScheme = {TEL:module$contents$safevalues$builders$url_builders_simpleScheme("tel"), CALLTO:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
6583
|
+
return /^callto:\+?\d*$/i.test(url);
|
|
6584
|
+
}), SSH:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
6585
|
+
return 0 === url.indexOf("ssh://");
|
|
6586
|
+
}), RTSP:module$contents$safevalues$builders$url_builders_simpleScheme("rtsp"), DATA:module$contents$safevalues$builders$url_builders_simpleScheme("data"), HTTP:module$contents$safevalues$builders$url_builders_simpleScheme("http"), HTTPS:module$contents$safevalues$builders$url_builders_simpleScheme("https"), EXTENSION:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
6587
|
+
return 0 === url.indexOf("chrome-extension://") || 0 === url.indexOf("moz-extension://") || 0 === url.indexOf("ms-browser-extension://");
|
|
6588
|
+
}), FTP:module$contents$safevalues$builders$url_builders_simpleScheme("ftp"), RELATIVE:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
6589
|
+
return /^[^:]*([/?#]|$)/.test(url);
|
|
6590
|
+
}), MAILTO:module$contents$safevalues$builders$url_builders_simpleScheme("mailto"), INTENT:module$contents$safevalues$builders$url_builders_simpleScheme("intent"), MARKET:module$contents$safevalues$builders$url_builders_simpleScheme("market"), ITMS:module$contents$safevalues$builders$url_builders_simpleScheme("itms"), ITMS_APPSS:module$contents$safevalues$builders$url_builders_simpleScheme("itms-appss"),
|
|
6591
|
+
ITMS_SERVICES:module$contents$safevalues$builders$url_builders_simpleScheme("itms-services"), FACEBOOK_MESSENGER:module$contents$safevalues$builders$url_builders_simpleScheme("fb-messenger"), WHATSAPP:module$contents$safevalues$builders$url_builders_simpleScheme("whatsapp"), SIP:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
6592
|
+
return 0 === url.indexOf("sip:") || 0 === url.indexOf("sips:");
|
|
6593
|
+
}), SMS:module$contents$safevalues$builders$url_builders_simpleScheme("sms"), VND_YOUTUBE:module$contents$safevalues$builders$url_builders_simpleScheme("vnd.youtube")};
|
|
6594
|
+
var module$contents$safevalues$builders$url_builders_DEFAULT_SCHEMES = [module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.DATA, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTPS, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.MAILTO,
|
|
6595
|
+
module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.FTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.RELATIVE];
|
|
6596
|
+
function module$contents$safevalues$builders$url_builders_trySanitizeUrl(url, allowedSchemes) {
|
|
6597
|
+
allowedSchemes = void 0 === allowedSchemes ? module$contents$safevalues$builders$url_builders_DEFAULT_SCHEMES : allowedSchemes;
|
|
6598
|
+
if (module$contents$safevalues$internals$url_impl_isUrl(url)) {
|
|
6599
|
+
return url;
|
|
6600
|
+
}
|
|
6601
|
+
for (var i = 0; i < allowedSchemes.length; ++i) {
|
|
6602
|
+
var scheme = allowedSchemes[i];
|
|
6603
|
+
if (module$contents$safevalues$builders$url_builders_isValidScheme(scheme) && scheme.isValid(url)) {
|
|
6604
|
+
return module$contents$safevalues$internals$url_impl_createUrlInternal(url);
|
|
6711
6605
|
}
|
|
6712
|
-
} else {
|
|
6713
|
-
return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;
|
|
6714
6606
|
}
|
|
6715
|
-
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
6716
6607
|
}
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6608
|
+
module$exports$safevalues$builders$url_builders.trySanitizeUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl;
|
|
6609
|
+
function module$contents$safevalues$builders$url_builders_sanitizeUrl(url, allowedSchemes) {
|
|
6610
|
+
allowedSchemes = void 0 === allowedSchemes ? module$contents$safevalues$builders$url_builders_DEFAULT_SCHEMES : allowedSchemes;
|
|
6611
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_trySanitizeUrl(url, allowedSchemes);
|
|
6612
|
+
void 0 === sanitizedUrl && module$contents$safevalues$builders$url_builders_triggerCallbacks(url.toString());
|
|
6613
|
+
return sanitizedUrl || module$exports$safevalues$internals$url_impl.INNOCUOUS_URL;
|
|
6614
|
+
}
|
|
6615
|
+
module$exports$safevalues$builders$url_builders.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
6616
|
+
function module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource(source) {
|
|
6617
|
+
if ("undefined" !== typeof MediaSource && source instanceof MediaSource) {
|
|
6618
|
+
return module$contents$safevalues$internals$url_impl_createUrlInternal(URL.createObjectURL(source));
|
|
6721
6619
|
}
|
|
6722
|
-
|
|
6620
|
+
if (!module$contents$safevalues$builders$url_builders_isSafeMimeType(source.type)) {
|
|
6621
|
+
var message = "";
|
|
6622
|
+
goog.DEBUG && (message = "unsafe blob MIME type: " + source.type);
|
|
6623
|
+
throw Error(message);
|
|
6624
|
+
}
|
|
6625
|
+
return module$contents$safevalues$internals$url_impl_createUrlInternal(URL.createObjectURL(source));
|
|
6723
6626
|
}
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
if (outside) {
|
|
6729
|
-
return !1;
|
|
6730
|
-
}
|
|
6731
|
-
outside = !0;
|
|
6732
|
-
} else if ("[" == c) {
|
|
6733
|
-
if (!outside) {
|
|
6734
|
-
return !1;
|
|
6735
|
-
}
|
|
6736
|
-
outside = !1;
|
|
6737
|
-
} else if (!outside && !tokenRe.test(c)) {
|
|
6738
|
-
return !1;
|
|
6739
|
-
}
|
|
6627
|
+
module$exports$safevalues$builders$url_builders.objectUrlFromSafeSource = module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource;
|
|
6628
|
+
function module$contents$safevalues$builders$url_builders_fromMediaSource(media) {
|
|
6629
|
+
if ("undefined" !== typeof MediaSource && media instanceof MediaSource) {
|
|
6630
|
+
return module$contents$safevalues$internals$url_impl_createUrlInternal(URL.createObjectURL(media));
|
|
6740
6631
|
}
|
|
6741
|
-
|
|
6632
|
+
var message = "";
|
|
6633
|
+
goog.DEBUG && (message = "fromMediaSource only accepts MediaSource instances, but was called with " + media + ".");
|
|
6634
|
+
throw Error(message);
|
|
6742
6635
|
}
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
6747
|
-
var quote = "";
|
|
6748
|
-
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
6749
|
-
quote = start;
|
|
6750
|
-
return inside;
|
|
6751
|
-
});
|
|
6752
|
-
var sanitized = goog.html.SafeUrl.sanitize(url).toString();
|
|
6753
|
-
return before + quote + sanitized + quote + after;
|
|
6754
|
-
});
|
|
6636
|
+
module$exports$safevalues$builders$url_builders.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
6637
|
+
function module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl(url) {
|
|
6638
|
+
return module$contents$safevalues$internals$url_impl_createUrlInternal(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString());
|
|
6755
6639
|
}
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
6762
|
-
};
|
|
6763
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
|
|
6764
|
-
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
|
|
6765
|
-
};
|
|
6766
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(selector, style) {
|
|
6767
|
-
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
6768
|
-
throw Error("Selector does not allow '<', got: " + selector);
|
|
6640
|
+
module$exports$safevalues$builders$url_builders.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
6641
|
+
function module$contents$safevalues$builders$url_builders_isSafeUrlPrefix(prefix, isWholeUrl) {
|
|
6642
|
+
var markerIdx = prefix.search(/[:/?#]/);
|
|
6643
|
+
if (0 > markerIdx) {
|
|
6644
|
+
return isWholeUrl;
|
|
6769
6645
|
}
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
6646
|
+
if (":" !== prefix.charAt(markerIdx)) {
|
|
6647
|
+
return !0;
|
|
6773
6648
|
}
|
|
6774
|
-
|
|
6775
|
-
|
|
6649
|
+
var scheme = prefix.substring(0, markerIdx).toLowerCase();
|
|
6650
|
+
return /^[a-z][a-z\d+.-]*$/.test(scheme) && "javascript" !== scheme;
|
|
6651
|
+
}
|
|
6652
|
+
function module$contents$safevalues$builders$url_builders_safeUrl(templateObj) {
|
|
6653
|
+
var rest = $jscomp.getRestArguments.apply(1, arguments);
|
|
6654
|
+
goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, rest.length);
|
|
6655
|
+
var prefix = templateObj[0];
|
|
6656
|
+
if (goog.DEBUG && !module$contents$safevalues$builders$url_builders_isSafeUrlPrefix(prefix, 0 === rest.length)) {
|
|
6657
|
+
throw Error("Trying to interpolate with unsupported prefix: " + prefix);
|
|
6776
6658
|
}
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
6780
|
-
};
|
|
6781
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
|
|
6782
|
-
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
6783
|
-
var ch = s[i];
|
|
6784
|
-
if (brackets[ch]) {
|
|
6785
|
-
expectedBrackets.push(brackets[ch]);
|
|
6786
|
-
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
6787
|
-
return !1;
|
|
6788
|
-
}
|
|
6659
|
+
for (var urlParts = [prefix], i = 0; i < rest.length; i++) {
|
|
6660
|
+
urlParts.push(String(rest[i])), urlParts.push(templateObj[i + 1]);
|
|
6789
6661
|
}
|
|
6790
|
-
return
|
|
6791
|
-
}
|
|
6792
|
-
module$
|
|
6793
|
-
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;
|
|
6662
|
+
return module$contents$safevalues$internals$url_impl_createUrlInternal(urlParts.join(""));
|
|
6663
|
+
}
|
|
6664
|
+
module$exports$safevalues$builders$url_builders.safeUrl = module$contents$safevalues$builders$url_builders_safeUrl;
|
|
6665
|
+
var module$contents$safevalues$builders$url_builders_ASSUME_IMPLEMENTS_URL_API = 2020 <= goog.FEATURESET_YEAR, module$contents$safevalues$builders$url_builders_supportsURLAPI = module$contents$safevalues$internals$pure_pure(function() {
|
|
6666
|
+
return module$contents$safevalues$builders$url_builders_ASSUME_IMPLEMENTS_URL_API ? !0 : "function" === typeof URL;
|
|
6667
|
+
});
|
|
6668
|
+
function module$contents$safevalues$builders$url_builders_legacyExtractScheme(url) {
|
|
6669
|
+
var aTag = document.createElement("a");
|
|
6670
|
+
try {
|
|
6671
|
+
aTag.href = url;
|
|
6672
|
+
} catch (e) {
|
|
6673
|
+
return;
|
|
6803
6674
|
}
|
|
6804
|
-
|
|
6805
|
-
return
|
|
6806
|
-
}
|
|
6807
|
-
module$contents$
|
|
6808
|
-
|
|
6809
|
-
|
|
6675
|
+
var protocol = aTag.protocol;
|
|
6676
|
+
return ":" === protocol || "" === protocol ? "https:" : protocol;
|
|
6677
|
+
}
|
|
6678
|
+
var module$contents$safevalues$builders$url_builders_JavaScriptUrlSanitizationCallback;
|
|
6679
|
+
function module$contents$safevalues$builders$url_builders_extractScheme(url) {
|
|
6680
|
+
if (!module$contents$safevalues$builders$url_builders_supportsURLAPI) {
|
|
6681
|
+
return module$contents$safevalues$builders$url_builders_legacyExtractScheme(url);
|
|
6810
6682
|
}
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
}
|
|
6814
|
-
|
|
6815
|
-
return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(styleSheet, module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
6816
|
-
};
|
|
6817
|
-
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");
|
|
6818
|
-
goog.html.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
6819
|
-
var module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeHtml_SafeHtml = function(value, token) {
|
|
6820
|
-
if (goog.DEBUG && token !== module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
6821
|
-
throw Error("SafeHtml is not meant to be built directly");
|
|
6822
|
-
}
|
|
6823
|
-
this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = value;
|
|
6824
|
-
};
|
|
6825
|
-
module$contents$goog$html$SafeHtml_SafeHtml.prototype.toString = function() {
|
|
6826
|
-
return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString();
|
|
6827
|
-
};
|
|
6828
|
-
module$contents$goog$html$SafeHtml_SafeHtml.unwrap = function(safeHtml) {
|
|
6829
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(safeHtml).toString();
|
|
6830
|
-
};
|
|
6831
|
-
module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML = function(safeHtml) {
|
|
6832
|
-
if (safeHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml && safeHtml.constructor === module$contents$goog$html$SafeHtml_SafeHtml) {
|
|
6833
|
-
return safeHtml.privateDoNotAccessOrElseSafeHtmlWrappedValue_;
|
|
6683
|
+
try {
|
|
6684
|
+
var parsedUrl = new URL(url);
|
|
6685
|
+
} catch (e) {
|
|
6686
|
+
return "https:";
|
|
6834
6687
|
}
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
module$contents$
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
module$
|
|
6842
|
-
|
|
6843
|
-
|
|
6688
|
+
return parsedUrl.protocol;
|
|
6689
|
+
}
|
|
6690
|
+
module$exports$safevalues$builders$url_builders.extractScheme = module$contents$safevalues$builders$url_builders_extractScheme;
|
|
6691
|
+
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:)(?:[a-z0-9+.-]+:|[^:\/?#]*(?:[\/?#]|$))/i;
|
|
6693
|
+
function module$contents$safevalues$builders$url_builders_hasJavascriptUrlScheme(url) {
|
|
6694
|
+
return !module$exports$safevalues$builders$url_builders.IS_NOT_JAVASCRIPT_URL_PATTERN.test(url);
|
|
6695
|
+
}
|
|
6696
|
+
function module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(url) {
|
|
6697
|
+
if (module$contents$safevalues$builders$url_builders_hasJavascriptUrlScheme(url)) {
|
|
6698
|
+
module$contents$safevalues$builders$url_builders_triggerCallbacks(url);
|
|
6699
|
+
} else {
|
|
6700
|
+
return url;
|
|
6844
6701
|
}
|
|
6845
|
-
|
|
6846
|
-
|
|
6702
|
+
}
|
|
6703
|
+
module$exports$safevalues$builders$url_builders.sanitizeJavaScriptUrl = module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl;
|
|
6704
|
+
function module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url) {
|
|
6705
|
+
return url instanceof goog.html.SafeUrl ? module$contents$safevalues$internals$url_impl_unwrapUrl(url) : module$contents$safevalues$builders$url_builders_sanitizeJavaScriptUrl(url);
|
|
6706
|
+
}
|
|
6707
|
+
module$exports$safevalues$builders$url_builders.unwrapUrlOrSanitize = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize;
|
|
6708
|
+
function module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(url) {
|
|
6709
|
+
var parsedScheme = module$contents$safevalues$builders$url_builders_extractScheme(url);
|
|
6710
|
+
return void 0 !== parsedScheme && -1 !== module$contents$safevalues$builders$url_builders_ALLOWED_SCHEMES.indexOf(parsedScheme.toLowerCase()) ? url : "about:invalid#zClosurez";
|
|
6711
|
+
}
|
|
6712
|
+
module$exports$safevalues$builders$url_builders.restrictivelySanitizeUrl = module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl;
|
|
6713
|
+
var module$contents$safevalues$builders$url_builders_sanitizationCallbacks = [], module$contents$safevalues$builders$url_builders_triggerCallbacks = function(url) {
|
|
6847
6714
|
};
|
|
6848
|
-
module$contents$
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6715
|
+
goog.DEBUG && module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback(function(url) {
|
|
6716
|
+
console.warn("A URL with content '" + url + "' was sanitized away.");
|
|
6717
|
+
});
|
|
6718
|
+
function module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback(callback) {
|
|
6719
|
+
-1 === module$contents$safevalues$builders$url_builders_sanitizationCallbacks.indexOf(callback) && module$contents$safevalues$builders$url_builders_sanitizationCallbacks.push(callback);
|
|
6720
|
+
module$contents$safevalues$builders$url_builders_triggerCallbacks = function(url) {
|
|
6721
|
+
module$contents$safevalues$builders$url_builders_sanitizationCallbacks.forEach(function(callback) {
|
|
6722
|
+
callback(url);
|
|
6723
|
+
});
|
|
6724
|
+
};
|
|
6725
|
+
}
|
|
6726
|
+
module$exports$safevalues$builders$url_builders.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
6727
|
+
function module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback(callback) {
|
|
6728
|
+
var callbackIndex = module$contents$safevalues$builders$url_builders_sanitizationCallbacks.indexOf(callback);
|
|
6729
|
+
-1 !== callbackIndex && module$contents$safevalues$builders$url_builders_sanitizationCallbacks.splice(callbackIndex, 1);
|
|
6730
|
+
}
|
|
6731
|
+
module$exports$safevalues$builders$url_builders.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
6732
|
+
var module$exports$safevalues$dom$elements$anchor = {}, module$contents$safevalues$dom$elements$anchor_module = module$contents$safevalues$dom$elements$anchor_module || {id:"third_party/javascript/safevalues/dom/elements/anchor.closure.js"};
|
|
6733
|
+
module$exports$safevalues$dom$elements$anchor.setHref = function(anchor, url) {
|
|
6734
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
6735
|
+
void 0 !== sanitizedUrl && (anchor.href = sanitizedUrl);
|
|
6854
6736
|
};
|
|
6855
|
-
module$
|
|
6856
|
-
|
|
6857
|
-
|
|
6737
|
+
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
|
+
module$exports$safevalues$dom$elements$area.setHref = function(area, url) {
|
|
6739
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
6740
|
+
void 0 !== sanitizedUrl && (area.href = sanitizedUrl);
|
|
6858
6741
|
};
|
|
6859
|
-
module$contents$
|
|
6860
|
-
|
|
6861
|
-
|
|
6862
|
-
}
|
|
6863
|
-
if (tagName.toUpperCase() in module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES) {
|
|
6864
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "Tag name <" + tagName + "> is not allowed for SafeHtml." : "");
|
|
6865
|
-
}
|
|
6742
|
+
var module$exports$safevalues$dom$elements$base = {}, module$contents$safevalues$dom$elements$base_module = module$contents$safevalues$dom$elements$base_module || {id:"third_party/javascript/safevalues/dom/elements/base.closure.js"};
|
|
6743
|
+
module$exports$safevalues$dom$elements$base.setHref = function(baseEl, url) {
|
|
6744
|
+
baseEl.href = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url);
|
|
6866
6745
|
};
|
|
6867
|
-
module$
|
|
6868
|
-
|
|
6869
|
-
var
|
|
6870
|
-
|
|
6871
|
-
fixedAttributes.srcdoc = srcdoc && module$contents$goog$html$SafeHtml_SafeHtml.unwrap(srcdoc);
|
|
6872
|
-
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {sandbox:""}, attributes);
|
|
6873
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
6746
|
+
var module$exports$safevalues$dom$elements$button = {}, module$contents$safevalues$dom$elements$button_module = module$contents$safevalues$dom$elements$button_module || {id:"third_party/javascript/safevalues/dom/elements/button.closure.js"};
|
|
6747
|
+
module$exports$safevalues$dom$elements$button.setFormaction = function(button, url) {
|
|
6748
|
+
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
6749
|
+
void 0 !== sanitizedUrl && (button.formAction = sanitizedUrl);
|
|
6874
6750
|
};
|
|
6875
|
-
module$
|
|
6876
|
-
|
|
6877
|
-
|
|
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");
|
|
6878
6756
|
}
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
|
|
6884
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
6757
|
+
}
|
|
6758
|
+
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
6759
|
+
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() {
|
|
6885
6761
|
};
|
|
6886
|
-
module$contents$
|
|
6887
|
-
|
|
6762
|
+
var module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl = function(attrPrefix, token) {
|
|
6763
|
+
module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
|
|
6764
|
+
this.privateDoNotAccessOrElseWrappedAttrPrefix = attrPrefix;
|
|
6888
6765
|
};
|
|
6889
|
-
module$contents$
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
6766
|
+
$jscomp.inherits(module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl, module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix);
|
|
6767
|
+
module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl.prototype.toString = function() {
|
|
6768
|
+
return this.privateDoNotAccessOrElseWrappedAttrPrefix;
|
|
6893
6769
|
};
|
|
6894
|
-
module$contents$
|
|
6895
|
-
|
|
6896
|
-
|
|
6897
|
-
|
|
6898
|
-
|
|
6770
|
+
function module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(attrPrefix) {
|
|
6771
|
+
return new module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl(attrPrefix, module$exports$safevalues$internals$secrets.secretToken);
|
|
6772
|
+
}
|
|
6773
|
+
module$exports$safevalues$internals$attribute_impl.createAttributePrefixInternal = module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal;
|
|
6774
|
+
function module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(value) {
|
|
6775
|
+
if (value instanceof module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl) {
|
|
6776
|
+
return value.privateDoNotAccessOrElseWrappedAttrPrefix;
|
|
6899
6777
|
}
|
|
6900
|
-
var
|
|
6901
|
-
|
|
6778
|
+
var message = "";
|
|
6779
|
+
goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix");
|
|
6780
|
+
throw Error(message);
|
|
6781
|
+
}
|
|
6782
|
+
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
6783
|
+
goog.dom.HtmlElement = function() {
|
|
6902
6784
|
};
|
|
6903
|
-
|
|
6904
|
-
var unwrappedUrl = goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(url));
|
|
6905
|
-
(module$contents$goog$labs$userAgent$browser_matchIE() || module$contents$goog$labs$userAgent$browser_matchEdgeHtml()) && goog.string.internal.contains(unwrappedUrl, ";") && (unwrappedUrl = "'" + unwrappedUrl.replace(/'/g, "%27") + "'");
|
|
6906
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
|
|
6785
|
+
goog.dom.TagName = function() {
|
|
6907
6786
|
};
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
if (Array.isArray(argument)) {
|
|
6911
|
-
argument.forEach(addArgument);
|
|
6912
|
-
} else {
|
|
6913
|
-
var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(argument);
|
|
6914
|
-
content.push(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html));
|
|
6915
|
-
}
|
|
6916
|
-
};
|
|
6917
|
-
parts.forEach(addArgument);
|
|
6918
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(content.join(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(separatorHtml)));
|
|
6787
|
+
goog.dom.TagName.cast = function(name, type) {
|
|
6788
|
+
return name;
|
|
6919
6789
|
};
|
|
6920
|
-
|
|
6921
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.join(module$contents$goog$html$SafeHtml_SafeHtml.EMPTY, Array.prototype.slice.call(arguments));
|
|
6790
|
+
goog.dom.TagName.prototype.toString = function() {
|
|
6922
6791
|
};
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6792
|
+
goog.dom.TagName.A = "A";
|
|
6793
|
+
goog.dom.TagName.ABBR = "ABBR";
|
|
6794
|
+
goog.dom.TagName.ACRONYM = "ACRONYM";
|
|
6795
|
+
goog.dom.TagName.ADDRESS = "ADDRESS";
|
|
6796
|
+
goog.dom.TagName.APPLET = "APPLET";
|
|
6797
|
+
goog.dom.TagName.AREA = "AREA";
|
|
6798
|
+
goog.dom.TagName.ARTICLE = "ARTICLE";
|
|
6799
|
+
goog.dom.TagName.ASIDE = "ASIDE";
|
|
6800
|
+
goog.dom.TagName.AUDIO = "AUDIO";
|
|
6801
|
+
goog.dom.TagName.B = "B";
|
|
6802
|
+
goog.dom.TagName.BASE = "BASE";
|
|
6803
|
+
goog.dom.TagName.BASEFONT = "BASEFONT";
|
|
6804
|
+
goog.dom.TagName.BDI = "BDI";
|
|
6805
|
+
goog.dom.TagName.BDO = "BDO";
|
|
6806
|
+
goog.dom.TagName.BIG = "BIG";
|
|
6807
|
+
goog.dom.TagName.BLOCKQUOTE = "BLOCKQUOTE";
|
|
6808
|
+
goog.dom.TagName.BODY = "BODY";
|
|
6809
|
+
goog.dom.TagName.BR = "BR";
|
|
6810
|
+
goog.dom.TagName.BUTTON = "BUTTON";
|
|
6811
|
+
goog.dom.TagName.CANVAS = "CANVAS";
|
|
6812
|
+
goog.dom.TagName.CAPTION = "CAPTION";
|
|
6813
|
+
goog.dom.TagName.CENTER = "CENTER";
|
|
6814
|
+
goog.dom.TagName.CITE = "CITE";
|
|
6815
|
+
goog.dom.TagName.CODE = "CODE";
|
|
6816
|
+
goog.dom.TagName.COL = "COL";
|
|
6817
|
+
goog.dom.TagName.COLGROUP = "COLGROUP";
|
|
6818
|
+
goog.dom.TagName.COMMAND = "COMMAND";
|
|
6819
|
+
goog.dom.TagName.DATA = "DATA";
|
|
6820
|
+
goog.dom.TagName.DATALIST = "DATALIST";
|
|
6821
|
+
goog.dom.TagName.DD = "DD";
|
|
6822
|
+
goog.dom.TagName.DEL = "DEL";
|
|
6823
|
+
goog.dom.TagName.DETAILS = "DETAILS";
|
|
6824
|
+
goog.dom.TagName.DFN = "DFN";
|
|
6825
|
+
goog.dom.TagName.DIALOG = "DIALOG";
|
|
6826
|
+
goog.dom.TagName.DIR = "DIR";
|
|
6827
|
+
goog.dom.TagName.DIV = "DIV";
|
|
6828
|
+
goog.dom.TagName.DL = "DL";
|
|
6829
|
+
goog.dom.TagName.DT = "DT";
|
|
6830
|
+
goog.dom.TagName.EM = "EM";
|
|
6831
|
+
goog.dom.TagName.EMBED = "EMBED";
|
|
6832
|
+
goog.dom.TagName.FIELDSET = "FIELDSET";
|
|
6833
|
+
goog.dom.TagName.FIGCAPTION = "FIGCAPTION";
|
|
6834
|
+
goog.dom.TagName.FIGURE = "FIGURE";
|
|
6835
|
+
goog.dom.TagName.FONT = "FONT";
|
|
6836
|
+
goog.dom.TagName.FOOTER = "FOOTER";
|
|
6837
|
+
goog.dom.TagName.FORM = "FORM";
|
|
6838
|
+
goog.dom.TagName.FRAME = "FRAME";
|
|
6839
|
+
goog.dom.TagName.FRAMESET = "FRAMESET";
|
|
6840
|
+
goog.dom.TagName.H1 = "H1";
|
|
6841
|
+
goog.dom.TagName.H2 = "H2";
|
|
6842
|
+
goog.dom.TagName.H3 = "H3";
|
|
6843
|
+
goog.dom.TagName.H4 = "H4";
|
|
6844
|
+
goog.dom.TagName.H5 = "H5";
|
|
6845
|
+
goog.dom.TagName.H6 = "H6";
|
|
6846
|
+
goog.dom.TagName.HEAD = "HEAD";
|
|
6847
|
+
goog.dom.TagName.HEADER = "HEADER";
|
|
6848
|
+
goog.dom.TagName.HGROUP = "HGROUP";
|
|
6849
|
+
goog.dom.TagName.HR = "HR";
|
|
6850
|
+
goog.dom.TagName.HTML = "HTML";
|
|
6851
|
+
goog.dom.TagName.I = "I";
|
|
6852
|
+
goog.dom.TagName.IFRAME = "IFRAME";
|
|
6853
|
+
goog.dom.TagName.IMG = "IMG";
|
|
6854
|
+
goog.dom.TagName.INPUT = "INPUT";
|
|
6855
|
+
goog.dom.TagName.INS = "INS";
|
|
6856
|
+
goog.dom.TagName.ISINDEX = "ISINDEX";
|
|
6857
|
+
goog.dom.TagName.KBD = "KBD";
|
|
6858
|
+
goog.dom.TagName.KEYGEN = "KEYGEN";
|
|
6859
|
+
goog.dom.TagName.LABEL = "LABEL";
|
|
6860
|
+
goog.dom.TagName.LEGEND = "LEGEND";
|
|
6861
|
+
goog.dom.TagName.LI = "LI";
|
|
6862
|
+
goog.dom.TagName.LINK = "LINK";
|
|
6863
|
+
goog.dom.TagName.MAIN = "MAIN";
|
|
6864
|
+
goog.dom.TagName.MAP = "MAP";
|
|
6865
|
+
goog.dom.TagName.MARK = "MARK";
|
|
6866
|
+
goog.dom.TagName.MATH = "MATH";
|
|
6867
|
+
goog.dom.TagName.MENU = "MENU";
|
|
6868
|
+
goog.dom.TagName.MENUITEM = "MENUITEM";
|
|
6869
|
+
goog.dom.TagName.META = "META";
|
|
6870
|
+
goog.dom.TagName.METER = "METER";
|
|
6871
|
+
goog.dom.TagName.NAV = "NAV";
|
|
6872
|
+
goog.dom.TagName.NOFRAMES = "NOFRAMES";
|
|
6873
|
+
goog.dom.TagName.NOSCRIPT = "NOSCRIPT";
|
|
6874
|
+
goog.dom.TagName.OBJECT = "OBJECT";
|
|
6875
|
+
goog.dom.TagName.OL = "OL";
|
|
6876
|
+
goog.dom.TagName.OPTGROUP = "OPTGROUP";
|
|
6877
|
+
goog.dom.TagName.OPTION = "OPTION";
|
|
6878
|
+
goog.dom.TagName.OUTPUT = "OUTPUT";
|
|
6879
|
+
goog.dom.TagName.P = "P";
|
|
6880
|
+
goog.dom.TagName.PARAM = "PARAM";
|
|
6881
|
+
goog.dom.TagName.PICTURE = "PICTURE";
|
|
6882
|
+
goog.dom.TagName.PRE = "PRE";
|
|
6883
|
+
goog.dom.TagName.PROGRESS = "PROGRESS";
|
|
6884
|
+
goog.dom.TagName.Q = "Q";
|
|
6885
|
+
goog.dom.TagName.RP = "RP";
|
|
6886
|
+
goog.dom.TagName.RT = "RT";
|
|
6887
|
+
goog.dom.TagName.RTC = "RTC";
|
|
6888
|
+
goog.dom.TagName.RUBY = "RUBY";
|
|
6889
|
+
goog.dom.TagName.S = "S";
|
|
6890
|
+
goog.dom.TagName.SAMP = "SAMP";
|
|
6891
|
+
goog.dom.TagName.SCRIPT = "SCRIPT";
|
|
6892
|
+
goog.dom.TagName.SECTION = "SECTION";
|
|
6893
|
+
goog.dom.TagName.SELECT = "SELECT";
|
|
6894
|
+
goog.dom.TagName.SMALL = "SMALL";
|
|
6895
|
+
goog.dom.TagName.SOURCE = "SOURCE";
|
|
6896
|
+
goog.dom.TagName.SPAN = "SPAN";
|
|
6897
|
+
goog.dom.TagName.STRIKE = "STRIKE";
|
|
6898
|
+
goog.dom.TagName.STRONG = "STRONG";
|
|
6899
|
+
goog.dom.TagName.STYLE = "STYLE";
|
|
6900
|
+
goog.dom.TagName.SUB = "SUB";
|
|
6901
|
+
goog.dom.TagName.SUMMARY = "SUMMARY";
|
|
6902
|
+
goog.dom.TagName.SUP = "SUP";
|
|
6903
|
+
goog.dom.TagName.SVG = "SVG";
|
|
6904
|
+
goog.dom.TagName.TABLE = "TABLE";
|
|
6905
|
+
goog.dom.TagName.TBODY = "TBODY";
|
|
6906
|
+
goog.dom.TagName.TD = "TD";
|
|
6907
|
+
goog.dom.TagName.TEMPLATE = "TEMPLATE";
|
|
6908
|
+
goog.dom.TagName.TEXTAREA = "TEXTAREA";
|
|
6909
|
+
goog.dom.TagName.TFOOT = "TFOOT";
|
|
6910
|
+
goog.dom.TagName.TH = "TH";
|
|
6911
|
+
goog.dom.TagName.THEAD = "THEAD";
|
|
6912
|
+
goog.dom.TagName.TIME = "TIME";
|
|
6913
|
+
goog.dom.TagName.TITLE = "TITLE";
|
|
6914
|
+
goog.dom.TagName.TR = "TR";
|
|
6915
|
+
goog.dom.TagName.TRACK = "TRACK";
|
|
6916
|
+
goog.dom.TagName.TT = "TT";
|
|
6917
|
+
goog.dom.TagName.U = "U";
|
|
6918
|
+
goog.dom.TagName.UL = "UL";
|
|
6919
|
+
goog.dom.TagName.VAR = "VAR";
|
|
6920
|
+
goog.dom.TagName.VIDEO = "VIDEO";
|
|
6921
|
+
goog.dom.TagName.WBR = "WBR";
|
|
6922
|
+
goog.dom.tags = {};
|
|
6923
|
+
goog.dom.tags.VOID_TAGS_ = {area:!0, base:!0, br:!0, col:!0, command:!0, embed:!0, hr:!0, img:!0, input:!0, keygen:!0, link:!0, meta:!0, param:!0, source:!0, track:!0, wbr:!0};
|
|
6924
|
+
goog.dom.tags.isVoidTag = function(tagName) {
|
|
6925
|
+
return !0 === goog.dom.tags.VOID_TAGS_[tagName];
|
|
6926
6926
|
};
|
|
6927
|
-
module$contents$goog$html$
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
if (goog.dom.tags.isVoidTag(tagName.toLowerCase())) {
|
|
6931
|
-
goog.asserts.assert(!content.length, "Void tag <" + tagName + "> does not allow content."), result += ">";
|
|
6932
|
-
} else {
|
|
6933
|
-
var html = module$contents$goog$html$SafeHtml_SafeHtml.concat(content);
|
|
6934
|
-
result += ">" + module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html) + "</" + tagName + ">";
|
|
6927
|
+
var module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyle_SafeStyle = function(value, token) {
|
|
6928
|
+
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
6929
|
+
throw Error("SafeStyle is not meant to be built directly");
|
|
6935
6930
|
}
|
|
6936
|
-
|
|
6931
|
+
this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = value;
|
|
6937
6932
|
};
|
|
6938
|
-
module$contents$goog$html$
|
|
6939
|
-
var
|
|
6940
|
-
if (
|
|
6941
|
-
|
|
6942
|
-
if (Object.prototype.hasOwnProperty.call(attributes, name)) {
|
|
6943
|
-
if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(name)) {
|
|
6944
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Invalid attribute name "' + name + '".' : "");
|
|
6945
|
-
}
|
|
6946
|
-
var value = attributes[name];
|
|
6947
|
-
null != value && (result += " " + module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value));
|
|
6948
|
-
}
|
|
6949
|
-
}
|
|
6933
|
+
module$contents$goog$html$SafeStyle_SafeStyle.fromConstant = function(style) {
|
|
6934
|
+
var styleString = goog.string.Const.unwrap(style);
|
|
6935
|
+
if (0 === styleString.length) {
|
|
6936
|
+
return module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;
|
|
6950
6937
|
}
|
|
6951
|
-
|
|
6938
|
+
(0,goog.asserts.assert)((0,goog.string.internal.endsWith)(styleString, ";"), "Last character of style string is not ';': " + styleString);
|
|
6939
|
+
(0,goog.asserts.assert)((0,goog.string.internal.contains)(styleString, ":"), "Style string must contain at least one ':', to specify a \"name: value\" pair: " + styleString);
|
|
6940
|
+
return module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(styleString);
|
|
6952
6941
|
};
|
|
6953
|
-
module$contents$goog$html$
|
|
6954
|
-
|
|
6955
|
-
for (name in fixedAttributes) {
|
|
6956
|
-
Object.prototype.hasOwnProperty.call(fixedAttributes, name) && (goog.asserts.assert(name.toLowerCase() == name, "Must be lower case"), combinedAttributes[name] = fixedAttributes[name]);
|
|
6957
|
-
}
|
|
6958
|
-
for (var name$jscomp$0 in defaultAttributes) {
|
|
6959
|
-
Object.prototype.hasOwnProperty.call(defaultAttributes, name$jscomp$0) && (goog.asserts.assert(name$jscomp$0.toLowerCase() == name$jscomp$0, "Must be lower case"), combinedAttributes[name$jscomp$0] = defaultAttributes[name$jscomp$0]);
|
|
6960
|
-
}
|
|
6961
|
-
if (attributes) {
|
|
6962
|
-
for (var name$jscomp$1 in attributes) {
|
|
6963
|
-
if (Object.prototype.hasOwnProperty.call(attributes, name$jscomp$1)) {
|
|
6964
|
-
var nameLower = name$jscomp$1.toLowerCase();
|
|
6965
|
-
if (nameLower in fixedAttributes) {
|
|
6966
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot override "' + nameLower + '" attribute, got "' + name$jscomp$1 + '" with value "' + attributes[name$jscomp$1] + '"' : "");
|
|
6967
|
-
}
|
|
6968
|
-
nameLower in defaultAttributes && delete combinedAttributes[nameLower];
|
|
6969
|
-
combinedAttributes[name$jscomp$1] = attributes[name$jscomp$1];
|
|
6970
|
-
}
|
|
6971
|
-
}
|
|
6972
|
-
}
|
|
6973
|
-
return combinedAttributes;
|
|
6942
|
+
module$contents$goog$html$SafeStyle_SafeStyle.prototype.toString = function() {
|
|
6943
|
+
return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString();
|
|
6974
6944
|
};
|
|
6975
|
-
module$contents$goog$html$
|
|
6976
|
-
module$contents$goog$html$
|
|
6977
|
-
|
|
6978
|
-
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
if (value instanceof goog.string.Const) {
|
|
6982
|
-
value = goog.string.Const.unwrap(value);
|
|
6983
|
-
} else if ("style" == name.toLowerCase()) {
|
|
6984
|
-
if (module$contents$goog$html$SafeHtml_SafeHtml.SUPPORT_STYLE_ATTRIBUTE) {
|
|
6985
|
-
value = module$contents$goog$html$SafeHtml_getStyleValue(value);
|
|
6986
|
-
} else {
|
|
6987
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "style" not supported.' : "");
|
|
6988
|
-
}
|
|
6989
|
-
} else {
|
|
6990
|
-
if (/^on/i.test(name)) {
|
|
6991
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
|
|
6992
|
-
}
|
|
6993
|
-
if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
|
|
6994
|
-
if (value instanceof goog.html.TrustedResourceUrl) {
|
|
6995
|
-
value = goog.html.TrustedResourceUrl.unwrap(value);
|
|
6996
|
-
} else if (value instanceof goog.html.SafeUrl) {
|
|
6997
|
-
value = goog.html.SafeUrl.unwrap(value);
|
|
6998
|
-
} else if ("string" === typeof value) {
|
|
6999
|
-
value = goog.html.SafeUrl.sanitize(value).toString();
|
|
7000
|
-
} else {
|
|
7001
|
-
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.' : "");
|
|
7002
|
-
}
|
|
7003
|
-
}
|
|
7004
|
-
}
|
|
7005
|
-
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);
|
|
7006
|
-
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
7007
|
-
}
|
|
7008
|
-
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
7009
|
-
if (!goog.isObject(value)) {
|
|
7010
|
-
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof value + " given: " + value : "");
|
|
7011
|
-
}
|
|
7012
|
-
value instanceof module$contents$goog$html$SafeStyle_SafeStyle || (value = module$contents$goog$html$SafeStyle_SafeStyle.create(value));
|
|
7013
|
-
return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
|
|
7014
|
-
}
|
|
7015
|
-
module$contents$goog$html$SafeHtml_SafeHtml.DOCTYPE_HTML = function() {
|
|
7016
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>");
|
|
7017
|
-
}();
|
|
7018
|
-
module$contents$goog$html$SafeHtml_SafeHtml.EMPTY = new module$contents$goog$html$SafeHtml_SafeHtml(goog.global.trustedTypes && goog.global.trustedTypes.emptyHTML || "", module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
7019
|
-
module$contents$goog$html$SafeHtml_SafeHtml.BR = function() {
|
|
7020
|
-
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>");
|
|
7021
|
-
}();
|
|
7022
|
-
goog.html.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
7023
|
-
var module$exports$goog$html$internals = {};
|
|
7024
|
-
module$exports$goog$html$internals.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
|
|
7025
|
-
module$exports$goog$html$internals.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
|
|
7026
|
-
module$exports$goog$html$internals.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
7027
|
-
module$exports$goog$html$internals.createSafeUrl = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse;
|
|
7028
|
-
module$exports$goog$html$internals.createTrustedResourceUrl = goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
|
|
7029
|
-
var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
|
|
7030
|
-
module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = goog.html.TrustedResourceUrl;
|
|
7031
|
-
function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
|
|
7032
|
-
return (0,goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
7033
|
-
}
|
|
7034
|
-
module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
|
|
7035
|
-
function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
|
|
7036
|
-
return value instanceof goog.html.TrustedResourceUrl;
|
|
7037
|
-
}
|
|
7038
|
-
module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
|
|
7039
|
-
function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
|
|
7040
|
-
return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
|
|
7041
|
-
}
|
|
7042
|
-
module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
|
|
7043
|
-
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"],
|
|
7044
|
-
["\\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"};
|
|
7045
|
-
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
7046
|
-
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
7047
|
-
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 ##############################");
|
|
7048
|
-
}
|
|
7049
|
-
}
|
|
7050
|
-
function module$contents$safevalues$internals$string_literal_checkFrozen(templateObj) {
|
|
7051
|
-
return Object.isFrozen(templateObj) && Object.isFrozen(templateObj.raw);
|
|
7052
|
-
}
|
|
7053
|
-
var module$contents$safevalues$internals$string_literal_TagFn;
|
|
7054
|
-
function module$contents$safevalues$internals$string_literal_checkTranspiled(fn) {
|
|
7055
|
-
return -1 === fn.toString().indexOf("`");
|
|
7056
|
-
}
|
|
7057
|
-
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
7058
|
-
return tag($jscomp$templatelit$m425881384$5);
|
|
7059
|
-
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
7060
|
-
return tag($jscomp$templatelit$m425881384$6);
|
|
7061
|
-
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
7062
|
-
return tag($jscomp$templatelit$m425881384$7);
|
|
7063
|
-
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
7064
|
-
return tag($jscomp$templatelit$m425881384$8);
|
|
7065
|
-
}), 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);
|
|
7066
|
-
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
7067
|
-
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)) ?
|
|
7068
|
-
!0 : !1;
|
|
7069
|
-
}
|
|
7070
|
-
;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"};
|
|
7071
|
-
module$exports$safevalues$internals$url_impl.SafeUrl = goog.html.SafeUrl;
|
|
7072
|
-
function module$contents$safevalues$internals$url_impl_createUrlInternal(url) {
|
|
7073
|
-
return (0,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse)(url);
|
|
7074
|
-
}
|
|
7075
|
-
module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
|
|
7076
|
-
module$exports$safevalues$internals$url_impl.ABOUT_BLANK = module$contents$safevalues$internals$url_impl_createUrlInternal("about:blank");
|
|
7077
|
-
module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = module$contents$safevalues$internals$url_impl_createUrlInternal("about:invalid#zClosurez");
|
|
7078
|
-
function module$contents$safevalues$internals$url_impl_isUrl(value) {
|
|
7079
|
-
return value instanceof goog.html.SafeUrl;
|
|
7080
|
-
}
|
|
7081
|
-
module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
|
|
7082
|
-
function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
|
|
7083
|
-
return goog.html.SafeUrl.unwrap(value);
|
|
7084
|
-
}
|
|
7085
|
-
module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
|
|
7086
|
-
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"};
|
|
7087
|
-
function module$contents$safevalues$builders$url_builders_isSafeMimeType(mimeType) {
|
|
7088
|
-
var match = mimeType.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);
|
|
7089
|
-
return 2 === (null == match ? void 0 : match.length) && (module$contents$safevalues$builders$url_builders_isSafeImageMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeVideoMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeAudioMimeType(match[1]) || module$contents$safevalues$builders$url_builders_isSafeFontMimeType(match[1]));
|
|
7090
|
-
}
|
|
7091
|
-
function module$contents$safevalues$builders$url_builders_isSafeImageMimeType(mimeType) {
|
|
7092
|
-
return /^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(mimeType);
|
|
7093
|
-
}
|
|
7094
|
-
function module$contents$safevalues$builders$url_builders_isSafeVideoMimeType(mimeType) {
|
|
7095
|
-
return /^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(mimeType);
|
|
7096
|
-
}
|
|
7097
|
-
function module$contents$safevalues$builders$url_builders_isSafeAudioMimeType(mimeType) {
|
|
7098
|
-
return /^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(mimeType);
|
|
7099
|
-
}
|
|
7100
|
-
function module$contents$safevalues$builders$url_builders_isSafeFontMimeType(mimeType) {
|
|
7101
|
-
return /^font\/\w+/i.test(mimeType);
|
|
7102
|
-
}
|
|
7103
|
-
module$exports$safevalues$builders$url_builders.Scheme = function() {
|
|
6945
|
+
module$contents$goog$html$SafeStyle_SafeStyle.unwrap = function(safeStyle) {
|
|
6946
|
+
if (safeStyle instanceof module$contents$goog$html$SafeStyle_SafeStyle && safeStyle.constructor === module$contents$goog$html$SafeStyle_SafeStyle) {
|
|
6947
|
+
return safeStyle.privateDoNotAccessOrElseSafeStyleWrappedValue_;
|
|
6948
|
+
}
|
|
6949
|
+
(0,goog.asserts.fail)("expected object of type SafeStyle, got '" + safeStyle + "' of type " + goog.typeOf(safeStyle));
|
|
6950
|
+
return "type_error:SafeStyle";
|
|
7104
6951
|
};
|
|
7105
|
-
|
|
7106
|
-
|
|
6952
|
+
module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse = function(style) {
|
|
6953
|
+
return new module$contents$goog$html$SafeStyle_SafeStyle(style, module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
7107
6954
|
};
|
|
7108
|
-
|
|
7109
|
-
|
|
6955
|
+
module$contents$goog$html$SafeStyle_SafeStyle.create = function(map) {
|
|
6956
|
+
var style = "", name;
|
|
6957
|
+
for (name in map) {
|
|
6958
|
+
if (Object.prototype.hasOwnProperty.call(map, name)) {
|
|
6959
|
+
if (!/^[-_a-zA-Z0-9]+$/.test(name)) {
|
|
6960
|
+
throw Error("Name allows only [-_a-zA-Z0-9], got: " + name);
|
|
6961
|
+
}
|
|
6962
|
+
var value = map[name];
|
|
6963
|
+
null != value && (value = Array.isArray(value) ? value.map(module$contents$goog$html$SafeStyle_sanitizePropertyValue).join(" ") : module$contents$goog$html$SafeStyle_sanitizePropertyValue(value), style += name + ":" + value + ";");
|
|
6964
|
+
}
|
|
6965
|
+
}
|
|
6966
|
+
return style ? module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(style) : module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;
|
|
6967
|
+
};
|
|
6968
|
+
module$contents$goog$html$SafeStyle_SafeStyle.concat = function(var_args) {
|
|
6969
|
+
var style = "", addArgument = function(argument) {
|
|
6970
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : style += module$contents$goog$html$SafeStyle_SafeStyle.unwrap(argument);
|
|
6971
|
+
};
|
|
6972
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
6973
|
+
return style ? module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(style) : module$contents$goog$html$SafeStyle_SafeStyle.EMPTY;
|
|
6974
|
+
};
|
|
6975
|
+
module$contents$goog$html$SafeStyle_SafeStyle.EMPTY = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse("");
|
|
6976
|
+
module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING = "zClosurez";
|
|
6977
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValue(value) {
|
|
6978
|
+
if (value instanceof goog.html.SafeUrl) {
|
|
6979
|
+
return 'url("' + goog.html.SafeUrl.unwrap(value).replace(/</g, "%3c").replace(/[\\"]/g, "\\$&") + '")';
|
|
6980
|
+
}
|
|
6981
|
+
var result = value instanceof goog.string.Const ? goog.string.Const.unwrap(value) : module$contents$goog$html$SafeStyle_sanitizePropertyValueString(String(value));
|
|
6982
|
+
if (/[{;}]/.test(result)) {
|
|
6983
|
+
throw new module$contents$goog$asserts_AssertionError("Value does not allow [{;}], got: %s.", [result]);
|
|
6984
|
+
}
|
|
6985
|
+
return result;
|
|
7110
6986
|
}
|
|
7111
|
-
function module$contents$
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
6987
|
+
function module$contents$goog$html$SafeStyle_sanitizePropertyValueString(value) {
|
|
6988
|
+
var valueWithoutFunctions = value.replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_FUNCTIONS_RE, "$1").replace(module$contents$goog$html$SafeStyle_URL_RE, "url");
|
|
6989
|
+
if (module$contents$goog$html$SafeStyle_VALUE_RE.test(valueWithoutFunctions)) {
|
|
6990
|
+
if (module$contents$goog$html$SafeStyle_COMMENT_RE.test(value)) {
|
|
6991
|
+
return (0,goog.asserts.fail)("String value disallows comments, got: " + value), module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;
|
|
6992
|
+
}
|
|
6993
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedQuotes(value)) {
|
|
6994
|
+
return (0,goog.asserts.fail)("String value requires balanced quotes, got: " + value), module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;
|
|
6995
|
+
}
|
|
6996
|
+
if (!module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value)) {
|
|
6997
|
+
return (0,goog.asserts.fail)("String value requires balanced square brackets and one identifier per pair of brackets, got: " + value), module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;
|
|
6998
|
+
}
|
|
6999
|
+
} else {
|
|
7000
|
+
return (0,goog.asserts.fail)("String value allows only [-+,.\"'%_!#/ a-zA-Z0-9\\[\\]] and simple functions, got: " + value), module$contents$goog$html$SafeStyle_SafeStyle.INNOCUOUS_STRING;
|
|
7001
|
+
}
|
|
7002
|
+
return module$contents$goog$html$SafeStyle_sanitizeUrl(value);
|
|
7115
7003
|
}
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
}), RTSP:module$contents$safevalues$builders$url_builders_simpleScheme("rtsp"), DATA:module$contents$safevalues$builders$url_builders_simpleScheme("data"), HTTP:module$contents$safevalues$builders$url_builders_simpleScheme("http"), HTTPS:module$contents$safevalues$builders$url_builders_simpleScheme("https"), EXTENSION:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
7121
|
-
return 0 === url.indexOf("chrome-extension://") || 0 === url.indexOf("moz-extension://") || 0 === url.indexOf("ms-browser-extension://");
|
|
7122
|
-
}), FTP:module$contents$safevalues$builders$url_builders_simpleScheme("ftp"), RELATIVE:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
7123
|
-
return /^[^:]*([/?#]|$)/.test(url);
|
|
7124
|
-
}), MAILTO:module$contents$safevalues$builders$url_builders_simpleScheme("mailto"), INTENT:module$contents$safevalues$builders$url_builders_simpleScheme("intent"), MARKET:module$contents$safevalues$builders$url_builders_simpleScheme("market"), ITMS:module$contents$safevalues$builders$url_builders_simpleScheme("itms"), ITMS_APPSS:module$contents$safevalues$builders$url_builders_simpleScheme("itms-appss"),
|
|
7125
|
-
ITMS_SERVICES:module$contents$safevalues$builders$url_builders_simpleScheme("itms-services"), FACEBOOK_MESSENGER:module$contents$safevalues$builders$url_builders_simpleScheme("fb-messenger"), WHATSAPP:module$contents$safevalues$builders$url_builders_simpleScheme("whatsapp"), SIP:new module$contents$safevalues$builders$url_builders_SchemeImpl(function(url) {
|
|
7126
|
-
return 0 === url.indexOf("sip:") || 0 === url.indexOf("sips:");
|
|
7127
|
-
}), SMS:module$contents$safevalues$builders$url_builders_simpleScheme("sms"), VND_YOUTUBE:module$contents$safevalues$builders$url_builders_simpleScheme("vnd.youtube")};
|
|
7128
|
-
var module$contents$safevalues$builders$url_builders_DEFAULT_SCHEMES = [module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.DATA, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.HTTPS, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.MAILTO,
|
|
7129
|
-
module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.FTP, module$exports$safevalues$builders$url_builders.SanitizableUrlScheme.RELATIVE];
|
|
7130
|
-
function module$contents$safevalues$builders$url_builders_trySanitizeUrl(url, allowedSchemes) {
|
|
7131
|
-
allowedSchemes = void 0 === allowedSchemes ? module$contents$safevalues$builders$url_builders_DEFAULT_SCHEMES : allowedSchemes;
|
|
7132
|
-
if (module$contents$safevalues$internals$url_impl_isUrl(url)) {
|
|
7133
|
-
return url;
|
|
7004
|
+
function module$contents$goog$html$SafeStyle_hasBalancedQuotes(value) {
|
|
7005
|
+
for (var outsideSingle = !0, outsideDouble = !0, i = 0; i < value.length; i++) {
|
|
7006
|
+
var c = value.charAt(i);
|
|
7007
|
+
"'" == c && outsideDouble ? outsideSingle = !outsideSingle : '"' == c && outsideSingle && (outsideDouble = !outsideDouble);
|
|
7134
7008
|
}
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7009
|
+
return outsideSingle && outsideDouble;
|
|
7010
|
+
}
|
|
7011
|
+
function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
|
|
7012
|
+
for (var outside = !0, tokenRe = /^[-_a-zA-Z0-9]$/, i = 0; i < value.length; i++) {
|
|
7013
|
+
var c = value.charAt(i);
|
|
7014
|
+
if ("]" == c) {
|
|
7015
|
+
if (outside) {
|
|
7016
|
+
return !1;
|
|
7017
|
+
}
|
|
7018
|
+
outside = !0;
|
|
7019
|
+
} else if ("[" == c) {
|
|
7020
|
+
if (!outside) {
|
|
7021
|
+
return !1;
|
|
7022
|
+
}
|
|
7023
|
+
outside = !1;
|
|
7024
|
+
} else if (!outside && !tokenRe.test(c)) {
|
|
7025
|
+
return !1;
|
|
7139
7026
|
}
|
|
7140
7027
|
}
|
|
7028
|
+
return outside;
|
|
7141
7029
|
}
|
|
7142
|
-
module$
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7030
|
+
var module$contents$goog$html$SafeStyle_VALUE_RE = RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"), module$contents$goog$html$SafeStyle_URL_RE = RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))", "g"), module$contents$goog$html$SafeStyle_FUNCTIONS_RE = RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)", "g"), module$contents$goog$html$SafeStyle_COMMENT_RE =
|
|
7031
|
+
/\/\*/;
|
|
7032
|
+
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
|
|
7033
|
+
return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
|
|
7034
|
+
var quote = "";
|
|
7035
|
+
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
|
|
7036
|
+
quote = start;
|
|
7037
|
+
return inside;
|
|
7038
|
+
});
|
|
7039
|
+
var sanitized = goog.html.SafeUrl.sanitize(url).toString();
|
|
7040
|
+
return before + quote + sanitized + quote + after;
|
|
7041
|
+
});
|
|
7148
7042
|
}
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
if (
|
|
7152
|
-
|
|
7043
|
+
goog.html.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
7044
|
+
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
|
|
7045
|
+
if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
7046
|
+
throw Error("SafeStyleSheet is not meant to be built directly");
|
|
7153
7047
|
}
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7048
|
+
this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
|
|
7049
|
+
};
|
|
7050
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
|
|
7051
|
+
return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString();
|
|
7052
|
+
};
|
|
7053
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(selector, style) {
|
|
7054
|
+
if ((0,goog.string.internal.contains)(selector, "<")) {
|
|
7055
|
+
throw Error("Selector does not allow '<', got: " + selector);
|
|
7158
7056
|
}
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
function module$contents$safevalues$builders$url_builders_fromMediaSource(media) {
|
|
7163
|
-
if ("undefined" !== typeof MediaSource && media instanceof MediaSource) {
|
|
7164
|
-
return module$contents$safevalues$internals$url_impl_createUrlInternal(URL.createObjectURL(media));
|
|
7057
|
+
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
|
|
7058
|
+
if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
|
|
7059
|
+
throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
|
|
7165
7060
|
}
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
throw Error(message);
|
|
7169
|
-
}
|
|
7170
|
-
module$exports$safevalues$builders$url_builders.fromMediaSource = module$contents$safevalues$builders$url_builders_fromMediaSource;
|
|
7171
|
-
function module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl(url) {
|
|
7172
|
-
return module$contents$safevalues$internals$url_impl_createUrlInternal(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(url).toString());
|
|
7173
|
-
}
|
|
7174
|
-
module$exports$safevalues$builders$url_builders.fromTrustedResourceUrl = module$contents$safevalues$builders$url_builders_fromTrustedResourceUrl;
|
|
7175
|
-
function module$contents$safevalues$builders$url_builders_isSafeUrlPrefix(prefix, isWholeUrl) {
|
|
7176
|
-
var markerIdx = prefix.search(/[:/?#]/);
|
|
7177
|
-
if (0 > markerIdx) {
|
|
7178
|
-
return isWholeUrl;
|
|
7061
|
+
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
|
|
7062
|
+
throw Error("() and [] in selector must be balanced, got: " + selector);
|
|
7179
7063
|
}
|
|
7180
|
-
|
|
7181
|
-
|
|
7064
|
+
style instanceof module$contents$goog$html$SafeStyle_SafeStyle || (style = module$contents$goog$html$SafeStyle_SafeStyle.create(style));
|
|
7065
|
+
var styleSheet = selector + "{" + module$contents$goog$html$SafeStyle_SafeStyle.unwrap(style).replace(/</g, "\\3C ") + "}";
|
|
7066
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheet);
|
|
7067
|
+
};
|
|
7068
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_ = function(s) {
|
|
7069
|
+
for (var brackets = {"(":")", "[":"]"}, expectedBrackets = [], i = 0; i < s.length; i++) {
|
|
7070
|
+
var ch = s[i];
|
|
7071
|
+
if (brackets[ch]) {
|
|
7072
|
+
expectedBrackets.push(brackets[ch]);
|
|
7073
|
+
} else if (module$contents$goog$object_contains(brackets, ch) && expectedBrackets.pop() != ch) {
|
|
7074
|
+
return !1;
|
|
7075
|
+
}
|
|
7182
7076
|
}
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
function
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7077
|
+
return 0 == expectedBrackets.length;
|
|
7078
|
+
};
|
|
7079
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.concat = function(var_args) {
|
|
7080
|
+
var result = "", addArgument = function(argument) {
|
|
7081
|
+
Array.isArray(argument) ? argument.forEach(addArgument) : result += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(argument);
|
|
7082
|
+
};
|
|
7083
|
+
Array.prototype.forEach.call(arguments, addArgument);
|
|
7084
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(result);
|
|
7085
|
+
};
|
|
7086
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.fromConstant = function(styleSheet) {
|
|
7087
|
+
var styleSheetString = goog.string.Const.unwrap(styleSheet);
|
|
7088
|
+
if (0 === styleSheetString.length) {
|
|
7089
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY;
|
|
7192
7090
|
}
|
|
7193
|
-
|
|
7194
|
-
|
|
7091
|
+
(0,goog.asserts.assert)(!(0,goog.string.internal.contains)(styleSheetString, "<"), "Forbidden '<' character in style sheet string: " + styleSheetString);
|
|
7092
|
+
return module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(styleSheetString);
|
|
7093
|
+
};
|
|
7094
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap = function(safeStyleSheet) {
|
|
7095
|
+
if (safeStyleSheet instanceof module$contents$goog$html$SafeStyleSheet_SafeStyleSheet && safeStyleSheet.constructor === module$contents$goog$html$SafeStyleSheet_SafeStyleSheet) {
|
|
7096
|
+
return safeStyleSheet.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;
|
|
7195
7097
|
}
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
return module$contents$
|
|
7201
|
-
}
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7098
|
+
(0,goog.asserts.fail)("expected object of type SafeStyleSheet, got '" + safeStyleSheet + "' of type " + goog.typeOf(safeStyleSheet));
|
|
7099
|
+
return "type_error:SafeStyleSheet";
|
|
7100
|
+
};
|
|
7101
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse = function(styleSheet) {
|
|
7102
|
+
return new module$contents$goog$html$SafeStyleSheet_SafeStyleSheet(styleSheet, module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
7103
|
+
};
|
|
7104
|
+
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");
|
|
7105
|
+
goog.html.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
7106
|
+
var module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeHtml_SafeHtml = function(value, token) {
|
|
7107
|
+
if (goog.DEBUG && token !== module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE) {
|
|
7108
|
+
throw Error("SafeHtml is not meant to be built directly");
|
|
7109
|
+
}
|
|
7110
|
+
this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = value;
|
|
7111
|
+
};
|
|
7112
|
+
module$contents$goog$html$SafeHtml_SafeHtml.prototype.toString = function() {
|
|
7113
|
+
return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString();
|
|
7114
|
+
};
|
|
7115
|
+
module$contents$goog$html$SafeHtml_SafeHtml.unwrap = function(safeHtml) {
|
|
7116
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(safeHtml).toString();
|
|
7117
|
+
};
|
|
7118
|
+
module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML = function(safeHtml) {
|
|
7119
|
+
if (safeHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml && safeHtml.constructor === module$contents$goog$html$SafeHtml_SafeHtml) {
|
|
7120
|
+
return safeHtml.privateDoNotAccessOrElseSafeHtmlWrappedValue_;
|
|
7121
|
+
}
|
|
7122
|
+
goog.asserts.fail("expected object of type SafeHtml, got '" + safeHtml + "' of type " + goog.typeOf(safeHtml));
|
|
7123
|
+
return "type_error:SafeHtml";
|
|
7124
|
+
};
|
|
7125
|
+
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape = function(textOrHtml) {
|
|
7126
|
+
return textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml ? textOrHtml : module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(String(textOrHtml)));
|
|
7127
|
+
};
|
|
7128
|
+
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscapePreservingNewlines = function(textOrHtml) {
|
|
7129
|
+
if (textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml) {
|
|
7130
|
+
return textOrHtml;
|
|
7131
|
+
}
|
|
7132
|
+
var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(textOrHtml);
|
|
7133
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html)));
|
|
7134
|
+
};
|
|
7135
|
+
module$contents$goog$html$SafeHtml_SafeHtml.htmlEscapePreservingNewlinesAndSpaces = function(textOrHtml) {
|
|
7136
|
+
if (textOrHtml instanceof module$contents$goog$html$SafeHtml_SafeHtml) {
|
|
7137
|
+
return textOrHtml;
|
|
7208
7138
|
}
|
|
7209
|
-
var
|
|
7210
|
-
return
|
|
7211
|
-
}
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7139
|
+
var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(textOrHtml);
|
|
7140
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html)));
|
|
7141
|
+
};
|
|
7142
|
+
module$contents$goog$html$SafeHtml_SafeHtml.create = function(tagName, attributes, content) {
|
|
7143
|
+
module$contents$goog$html$SafeHtml_SafeHtml.verifyTagName(String(tagName));
|
|
7144
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(tagName), attributes, content);
|
|
7145
|
+
};
|
|
7146
|
+
module$contents$goog$html$SafeHtml_SafeHtml.verifyTagName = function(tagName) {
|
|
7147
|
+
if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(tagName)) {
|
|
7148
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "Invalid tag name <" + tagName + ">." : "");
|
|
7216
7149
|
}
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
} catch (e) {
|
|
7220
|
-
return "https:";
|
|
7150
|
+
if (tagName.toUpperCase() in module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES) {
|
|
7151
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "Tag name <" + tagName + "> is not allowed for SafeHtml." : "");
|
|
7221
7152
|
}
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
var
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
return url;
|
|
7153
|
+
};
|
|
7154
|
+
module$contents$goog$html$SafeHtml_SafeHtml.createIframe = function(src, srcdoc, attributes, content) {
|
|
7155
|
+
src && goog.html.TrustedResourceUrl.unwrap(src);
|
|
7156
|
+
var fixedAttributes = {};
|
|
7157
|
+
fixedAttributes.src = src || null;
|
|
7158
|
+
fixedAttributes.srcdoc = srcdoc && module$contents$goog$html$SafeHtml_SafeHtml.unwrap(srcdoc);
|
|
7159
|
+
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {sandbox:""}, attributes);
|
|
7160
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
7161
|
+
};
|
|
7162
|
+
module$contents$goog$html$SafeHtml_SafeHtml.createSandboxIframe = function(src, srcdoc, attributes, content) {
|
|
7163
|
+
if (!module$contents$goog$html$SafeHtml_SafeHtml.canUseSandboxIframe()) {
|
|
7164
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? "The browser does not support sandboxed iframes." : "");
|
|
7235
7165
|
}
|
|
7236
|
-
}
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
}
|
|
7241
|
-
module$
|
|
7242
|
-
function module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl(url) {
|
|
7243
|
-
var parsedScheme = module$contents$safevalues$builders$url_builders_extractScheme(url);
|
|
7244
|
-
return void 0 !== parsedScheme && -1 !== module$contents$safevalues$builders$url_builders_ALLOWED_SCHEMES.indexOf(parsedScheme.toLowerCase()) ? url : "about:invalid#zClosurez";
|
|
7245
|
-
}
|
|
7246
|
-
module$exports$safevalues$builders$url_builders.restrictivelySanitizeUrl = module$contents$safevalues$builders$url_builders_restrictivelySanitizeUrl;
|
|
7247
|
-
var module$contents$safevalues$builders$url_builders_sanitizationCallbacks = [], module$contents$safevalues$builders$url_builders_triggerCallbacks = function(url) {
|
|
7166
|
+
var fixedAttributes = {};
|
|
7167
|
+
fixedAttributes.src = src ? goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(src)) : null;
|
|
7168
|
+
fixedAttributes.srcdoc = srcdoc || null;
|
|
7169
|
+
fixedAttributes.sandbox = "";
|
|
7170
|
+
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes(fixedAttributes, {}, attributes);
|
|
7171
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe", combinedAttrs, content);
|
|
7248
7172
|
};
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
});
|
|
7252
|
-
function module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback(callback) {
|
|
7253
|
-
-1 === module$contents$safevalues$builders$url_builders_sanitizationCallbacks.indexOf(callback) && module$contents$safevalues$builders$url_builders_sanitizationCallbacks.push(callback);
|
|
7254
|
-
module$contents$safevalues$builders$url_builders_triggerCallbacks = function(url) {
|
|
7255
|
-
module$contents$safevalues$builders$url_builders_sanitizationCallbacks.forEach(function(callback) {
|
|
7256
|
-
callback(url);
|
|
7257
|
-
});
|
|
7258
|
-
};
|
|
7259
|
-
}
|
|
7260
|
-
module$exports$safevalues$builders$url_builders.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_addJavaScriptUrlSanitizationCallback;
|
|
7261
|
-
function module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback(callback) {
|
|
7262
|
-
var callbackIndex = module$contents$safevalues$builders$url_builders_sanitizationCallbacks.indexOf(callback);
|
|
7263
|
-
-1 !== callbackIndex && module$contents$safevalues$builders$url_builders_sanitizationCallbacks.splice(callbackIndex, 1);
|
|
7264
|
-
}
|
|
7265
|
-
module$exports$safevalues$builders$url_builders.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_builders_removeJavaScriptUrlSanitizationCallback;
|
|
7266
|
-
var module$exports$safevalues$dom$elements$anchor = {}, module$contents$safevalues$dom$elements$anchor_module = module$contents$safevalues$dom$elements$anchor_module || {id:"third_party/javascript/safevalues/dom/elements/anchor.closure.js"};
|
|
7267
|
-
module$exports$safevalues$dom$elements$anchor.setHref = function(anchor, url) {
|
|
7268
|
-
var sanitizedUrl = module$contents$safevalues$builders$url_builders_unwrapUrlOrSanitize(url);
|
|
7269
|
-
void 0 !== sanitizedUrl && (anchor.href = sanitizedUrl);
|
|
7173
|
+
module$contents$goog$html$SafeHtml_SafeHtml.canUseSandboxIframe = function() {
|
|
7174
|
+
return goog.global.HTMLIFrameElement && "sandbox" in goog.global.HTMLIFrameElement.prototype;
|
|
7270
7175
|
};
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
var
|
|
7274
|
-
|
|
7176
|
+
module$contents$goog$html$SafeHtml_SafeHtml.createScriptSrc = function(src, attributes) {
|
|
7177
|
+
goog.html.TrustedResourceUrl.unwrap(src);
|
|
7178
|
+
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({src:src}, {}, attributes);
|
|
7179
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script", combinedAttrs);
|
|
7275
7180
|
};
|
|
7276
|
-
|
|
7277
|
-
module$
|
|
7278
|
-
|
|
7181
|
+
module$contents$goog$html$SafeHtml_SafeHtml.createStyle = function(styleSheet, attributes) {
|
|
7182
|
+
var combinedAttrs = module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes({type:"text/css"}, {}, attributes), content = "";
|
|
7183
|
+
styleSheet = module$contents$goog$array_concat(styleSheet);
|
|
7184
|
+
for (var i = 0; i < styleSheet.length; i++) {
|
|
7185
|
+
content += module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.unwrap(styleSheet[i]);
|
|
7186
|
+
}
|
|
7187
|
+
var htmlContent = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(content);
|
|
7188
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style", combinedAttrs, htmlContent);
|
|
7279
7189
|
};
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7190
|
+
module$contents$goog$html$SafeHtml_SafeHtml.createMetaRefresh = function(url, secs) {
|
|
7191
|
+
var unwrappedUrl = goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(url));
|
|
7192
|
+
(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
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
|
|
7284
7194
|
};
|
|
7285
|
-
|
|
7286
|
-
module$
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7195
|
+
module$contents$goog$html$SafeHtml_SafeHtml.join = function(separator, parts) {
|
|
7196
|
+
var separatorHtml = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(separator), content = [], addArgument = function(argument) {
|
|
7197
|
+
if (Array.isArray(argument)) {
|
|
7198
|
+
argument.forEach(addArgument);
|
|
7199
|
+
} else {
|
|
7200
|
+
var html = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(argument);
|
|
7201
|
+
content.push(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html));
|
|
7202
|
+
}
|
|
7203
|
+
};
|
|
7204
|
+
parts.forEach(addArgument);
|
|
7205
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(content.join(module$contents$goog$html$SafeHtml_SafeHtml.unwrap(separatorHtml)));
|
|
7206
|
+
};
|
|
7207
|
+
module$contents$goog$html$SafeHtml_SafeHtml.concat = function(var_args) {
|
|
7208
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.join(module$contents$goog$html$SafeHtml_SafeHtml.EMPTY, Array.prototype.slice.call(arguments));
|
|
7209
|
+
};
|
|
7210
|
+
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse = function(html) {
|
|
7211
|
+
var noinlineHtml = html, policy = goog.html.trustedtypes.getPolicyPrivateDoNotAccessOrElse(), trustedHtml = policy ? policy.createHTML(noinlineHtml) : noinlineHtml;
|
|
7212
|
+
return new module$contents$goog$html$SafeHtml_SafeHtml(trustedHtml, module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
7213
|
+
};
|
|
7214
|
+
module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse = function(tagName, attributes, content) {
|
|
7215
|
+
var result = "<" + tagName + module$contents$goog$html$SafeHtml_SafeHtml.stringifyAttributes(tagName, attributes);
|
|
7216
|
+
null == content ? content = [] : Array.isArray(content) || (content = [content]);
|
|
7217
|
+
if (goog.dom.tags.isVoidTag(tagName.toLowerCase())) {
|
|
7218
|
+
goog.asserts.assert(!content.length, "Void tag <" + tagName + "> does not allow content."), result += ">";
|
|
7219
|
+
} else {
|
|
7220
|
+
var html = module$contents$goog$html$SafeHtml_SafeHtml.concat(content);
|
|
7221
|
+
result += ">" + module$contents$goog$html$SafeHtml_SafeHtml.unwrap(html) + "</" + tagName + ">";
|
|
7290
7222
|
}
|
|
7291
|
-
|
|
7292
|
-
module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
|
|
7293
|
-
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"};
|
|
7294
|
-
module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function() {
|
|
7223
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(result);
|
|
7295
7224
|
};
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7225
|
+
module$contents$goog$html$SafeHtml_SafeHtml.stringifyAttributes = function(tagName, attributes) {
|
|
7226
|
+
var result = "";
|
|
7227
|
+
if (attributes) {
|
|
7228
|
+
for (var name in attributes) {
|
|
7229
|
+
if (Object.prototype.hasOwnProperty.call(attributes, name)) {
|
|
7230
|
+
if (!module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG.test(name)) {
|
|
7231
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Invalid attribute name "' + name + '".' : "");
|
|
7232
|
+
}
|
|
7233
|
+
var value = attributes[name];
|
|
7234
|
+
null != value && (result += " " + module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value));
|
|
7235
|
+
}
|
|
7236
|
+
}
|
|
7237
|
+
}
|
|
7238
|
+
return result;
|
|
7299
7239
|
};
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7240
|
+
module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes = function(fixedAttributes, defaultAttributes, attributes) {
|
|
7241
|
+
var combinedAttributes = {}, name;
|
|
7242
|
+
for (name in fixedAttributes) {
|
|
7243
|
+
Object.prototype.hasOwnProperty.call(fixedAttributes, name) && (goog.asserts.assert(name.toLowerCase() == name, "Must be lower case"), combinedAttributes[name] = fixedAttributes[name]);
|
|
7244
|
+
}
|
|
7245
|
+
for (var name$jscomp$0 in defaultAttributes) {
|
|
7246
|
+
Object.prototype.hasOwnProperty.call(defaultAttributes, name$jscomp$0) && (goog.asserts.assert(name$jscomp$0.toLowerCase() == name$jscomp$0, "Must be lower case"), combinedAttributes[name$jscomp$0] = defaultAttributes[name$jscomp$0]);
|
|
7247
|
+
}
|
|
7248
|
+
if (attributes) {
|
|
7249
|
+
for (var name$jscomp$1 in attributes) {
|
|
7250
|
+
if (Object.prototype.hasOwnProperty.call(attributes, name$jscomp$1)) {
|
|
7251
|
+
var nameLower = name$jscomp$1.toLowerCase();
|
|
7252
|
+
if (nameLower in fixedAttributes) {
|
|
7253
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot override "' + nameLower + '" attribute, got "' + name$jscomp$1 + '" with value "' + attributes[name$jscomp$1] + '"' : "");
|
|
7254
|
+
}
|
|
7255
|
+
nameLower in defaultAttributes && delete combinedAttributes[nameLower];
|
|
7256
|
+
combinedAttributes[name$jscomp$1] = attributes[name$jscomp$1];
|
|
7257
|
+
}
|
|
7258
|
+
}
|
|
7259
|
+
}
|
|
7260
|
+
return combinedAttributes;
|
|
7303
7261
|
};
|
|
7304
|
-
|
|
7305
|
-
|
|
7262
|
+
module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES = goog.DEBUG;
|
|
7263
|
+
module$contents$goog$html$SafeHtml_SafeHtml.SUPPORT_STYLE_ATTRIBUTE = !0;
|
|
7264
|
+
module$contents$goog$html$SafeHtml_SafeHtml.from = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape;
|
|
7265
|
+
var module$contents$goog$html$SafeHtml_VALID_NAMES_IN_TAG = /^[a-zA-Z0-9-]+$/, module$contents$goog$html$SafeHtml_URL_ATTRIBUTES = {action:!0, cite:!0, data:!0, formaction:!0, href:!0, manifest:!0, poster:!0, src:!0}, module$contents$goog$html$SafeHtml_NOT_ALLOWED_TAG_NAMES = module$contents$goog$object_createSet(goog.dom.TagName.APPLET, goog.dom.TagName.BASE, goog.dom.TagName.EMBED, goog.dom.TagName.IFRAME, goog.dom.TagName.LINK, goog.dom.TagName.MATH, goog.dom.TagName.META, goog.dom.TagName.OBJECT,
|
|
7266
|
+
goog.dom.TagName.SCRIPT, goog.dom.TagName.STYLE, goog.dom.TagName.SVG, goog.dom.TagName.TEMPLATE);
|
|
7267
|
+
function module$contents$goog$html$SafeHtml_getAttrNameAndValue(tagName, name, value) {
|
|
7268
|
+
if (value instanceof goog.string.Const) {
|
|
7269
|
+
value = goog.string.Const.unwrap(value);
|
|
7270
|
+
} else if ("style" == name.toLowerCase()) {
|
|
7271
|
+
if (module$contents$goog$html$SafeHtml_SafeHtml.SUPPORT_STYLE_ATTRIBUTE) {
|
|
7272
|
+
value = module$contents$goog$html$SafeHtml_getStyleValue(value);
|
|
7273
|
+
} else {
|
|
7274
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "style" not supported.' : "");
|
|
7275
|
+
}
|
|
7276
|
+
} else {
|
|
7277
|
+
if (/^on/i.test(name)) {
|
|
7278
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Attribute "' + name + '" requires goog.string.Const value, "' + value + '" given.' : "");
|
|
7279
|
+
}
|
|
7280
|
+
if (name.toLowerCase() in module$contents$goog$html$SafeHtml_URL_ATTRIBUTES) {
|
|
7281
|
+
if (value instanceof goog.html.TrustedResourceUrl) {
|
|
7282
|
+
value = goog.html.TrustedResourceUrl.unwrap(value);
|
|
7283
|
+
} else if (value instanceof goog.html.SafeUrl) {
|
|
7284
|
+
value = goog.html.SafeUrl.unwrap(value);
|
|
7285
|
+
} else if ("string" === typeof value) {
|
|
7286
|
+
value = goog.html.SafeUrl.sanitize(value).toString();
|
|
7287
|
+
} else {
|
|
7288
|
+
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.' : "");
|
|
7289
|
+
}
|
|
7290
|
+
}
|
|
7291
|
+
}
|
|
7292
|
+
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);
|
|
7293
|
+
return name + '="' + goog.string.internal.htmlEscape(String(value)) + '"';
|
|
7306
7294
|
}
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
return value.privateDoNotAccessOrElseWrappedAttrPrefix;
|
|
7295
|
+
function module$contents$goog$html$SafeHtml_getStyleValue(value) {
|
|
7296
|
+
if (!goog.isObject(value)) {
|
|
7297
|
+
throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'The "style" attribute requires goog.html.SafeStyle or map of style properties, ' + typeof value + " given: " + value : "");
|
|
7311
7298
|
}
|
|
7312
|
-
|
|
7313
|
-
goog.
|
|
7314
|
-
throw Error(message);
|
|
7299
|
+
value instanceof module$contents$goog$html$SafeStyle_SafeStyle || (value = module$contents$goog$html$SafeStyle_SafeStyle.create(value));
|
|
7300
|
+
return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
|
|
7315
7301
|
}
|
|
7316
|
-
module$
|
|
7302
|
+
module$contents$goog$html$SafeHtml_SafeHtml.DOCTYPE_HTML = function() {
|
|
7303
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>");
|
|
7304
|
+
}();
|
|
7305
|
+
module$contents$goog$html$SafeHtml_SafeHtml.EMPTY = new module$contents$goog$html$SafeHtml_SafeHtml(goog.global.trustedTypes && goog.global.trustedTypes.emptyHTML || "", module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE);
|
|
7306
|
+
module$contents$goog$html$SafeHtml_SafeHtml.BR = function() {
|
|
7307
|
+
return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>");
|
|
7308
|
+
}();
|
|
7309
|
+
goog.html.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
7310
|
+
var module$exports$goog$html$safehtml_internals_for_safevalues = {};
|
|
7311
|
+
module$exports$goog$html$safehtml_internals_for_safevalues.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
|
|
7317
7312
|
var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
|
|
7318
7313
|
module$exports$safevalues$internals$html_impl.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
|
|
7319
7314
|
module$exports$safevalues$internals$html_impl.createHtmlInternal = function(html) {
|
|
7320
|
-
return (0,module$exports$goog$html$
|
|
7315
|
+
return (0,module$exports$goog$html$safehtml_internals_for_safevalues.createSafeHtml)(html);
|
|
7321
7316
|
};
|
|
7322
7317
|
module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$goog$html$SafeHtml_SafeHtml.EMPTY;
|
|
7323
7318
|
module$exports$safevalues$internals$html_impl.isHtml = function(value) {
|
|
@@ -7326,10 +7321,12 @@ module$exports$safevalues$internals$html_impl.isHtml = function(value) {
|
|
|
7326
7321
|
module$exports$safevalues$internals$html_impl.unwrapHtml = function(value) {
|
|
7327
7322
|
return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
|
|
7328
7323
|
};
|
|
7324
|
+
var module$exports$goog$html$safestyle_internals_for_safevalues = {};
|
|
7325
|
+
module$exports$goog$html$safestyle_internals_for_safevalues.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
|
|
7329
7326
|
var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
|
|
7330
7327
|
module$exports$safevalues$internals$style_impl.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
|
|
7331
7328
|
function module$contents$safevalues$internals$style_impl_createStyleInternal(style) {
|
|
7332
|
-
return (0,module$exports$goog$html$
|
|
7329
|
+
return (0,module$exports$goog$html$safestyle_internals_for_safevalues.createSafeStyle)(style);
|
|
7333
7330
|
}
|
|
7334
7331
|
module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
|
|
7335
7332
|
function module$contents$safevalues$internals$style_impl_isStyle(value) {
|
|
@@ -7564,7 +7561,7 @@ module$exports$safevalues$dom$globals$window.getStyleNonce = function(win) {
|
|
|
7564
7561
|
return module$contents$safevalues$dom$globals$window_getNonceFor("style", win);
|
|
7565
7562
|
};
|
|
7566
7563
|
function module$contents$safevalues$dom$globals$window_getNonceFor(elementName, win) {
|
|
7567
|
-
var $jscomp$optchain$
|
|
7564
|
+
var $jscomp$optchain$tmp220578679$0, $jscomp$optchain$tmp220578679$1, el = null == ($jscomp$optchain$tmp220578679$1 = ($jscomp$optchain$tmp220578679$0 = win.document).querySelector) ? void 0 : $jscomp$optchain$tmp220578679$1.call($jscomp$optchain$tmp220578679$0, elementName + "[nonce]");
|
|
7568
7565
|
return el ? el.nonce || el.getAttribute("nonce") || "" : "";
|
|
7569
7566
|
}
|
|
7570
7567
|
;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;
|
|
@@ -7614,10 +7611,12 @@ module$exports$safevalues$dom$elements$script.setSrc = function(script, v, optio
|
|
|
7614
7611
|
script.src = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(v);
|
|
7615
7612
|
(null == options ? 0 : options.omitNonce) || module$contents$safevalues$dom$elements$script_setNonceForScriptElement(script);
|
|
7616
7613
|
};
|
|
7614
|
+
var module$exports$goog$html$safestylesheet_internals_for_safevalues = {};
|
|
7615
|
+
module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
|
|
7617
7616
|
var module$exports$safevalues$internals$style_sheet_impl = {}, module$contents$safevalues$internals$style_sheet_impl_module = module$contents$safevalues$internals$style_sheet_impl_module || {id:"third_party/javascript/safevalues/internals/style_sheet_impl.closure.js"};
|
|
7618
7617
|
module$exports$safevalues$internals$style_sheet_impl.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
|
|
7619
7618
|
function module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(styleSheet) {
|
|
7620
|
-
return (0,module$exports$goog$html$
|
|
7619
|
+
return (0,module$exports$goog$html$safestylesheet_internals_for_safevalues.createSafeStyleSheet)(styleSheet);
|
|
7621
7620
|
}
|
|
7622
7621
|
module$exports$safevalues$internals$style_sheet_impl.createStyleSheetInternal = module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal;
|
|
7623
7622
|
function module$contents$safevalues$internals$style_sheet_impl_isStyleSheet(value) {
|
|
@@ -7965,48 +7964,48 @@ function module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(
|
|
|
7965
7964
|
return (0,module$exports$safevalues$internals$html_impl.createHtmlInternal)(html);
|
|
7966
7965
|
}
|
|
7967
7966
|
function module$contents$safevalues$dom$globals$fetch_fetchResourceUrl(u, init) {
|
|
7968
|
-
var response, $jscomp$optchain$
|
|
7969
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7970
|
-
if (1 == $jscomp$generator$context$
|
|
7971
|
-
return $jscomp$generator$context$
|
|
7972
|
-
}
|
|
7973
|
-
response = $jscomp$generator$context$
|
|
7974
|
-
mimeType = null == ($jscomp$optchain$
|
|
7975
|
-
return $jscomp$generator$context$
|
|
7967
|
+
var response, $jscomp$optchain$tmpm991617773$0, $jscomp$optchain$tmpm991617773$1, $jscomp$optchain$tmpm991617773$2, mimeType;
|
|
7968
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$6) {
|
|
7969
|
+
if (1 == $jscomp$generator$context$m991617773$6.nextAddress) {
|
|
7970
|
+
return $jscomp$generator$context$m991617773$6.yield(fetch(module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(u).toString(), init), 2);
|
|
7971
|
+
}
|
|
7972
|
+
response = $jscomp$generator$context$m991617773$6.yieldResult;
|
|
7973
|
+
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();
|
|
7974
|
+
return $jscomp$generator$context$m991617773$6.return({html:function() {
|
|
7976
7975
|
var text;
|
|
7977
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7978
|
-
if (1 == $jscomp$generator$context$
|
|
7976
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$3) {
|
|
7977
|
+
if (1 == $jscomp$generator$context$m991617773$3.nextAddress) {
|
|
7979
7978
|
if ("text/html" !== mimeType) {
|
|
7980
7979
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeHtml", "text/html");
|
|
7981
7980
|
}
|
|
7982
|
-
return $jscomp$generator$context$
|
|
7981
|
+
return $jscomp$generator$context$m991617773$3.yield(response.text(), 2);
|
|
7983
7982
|
}
|
|
7984
|
-
text = $jscomp$generator$context$
|
|
7985
|
-
return $jscomp$generator$context$
|
|
7983
|
+
text = $jscomp$generator$context$m991617773$3.yieldResult;
|
|
7984
|
+
return $jscomp$generator$context$m991617773$3.return(module$contents$safevalues$dom$globals$fetch_privatecreateHtmlInternal(text));
|
|
7986
7985
|
});
|
|
7987
7986
|
}, script:function() {
|
|
7988
7987
|
var text;
|
|
7989
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
7990
|
-
if (1 == $jscomp$generator$context$
|
|
7988
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$4) {
|
|
7989
|
+
if (1 == $jscomp$generator$context$m991617773$4.nextAddress) {
|
|
7991
7990
|
if ("text/javascript" !== mimeType && "application/javascript" !== mimeType) {
|
|
7992
7991
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeScript", "text/javascript");
|
|
7993
7992
|
}
|
|
7994
|
-
return $jscomp$generator$context$
|
|
7993
|
+
return $jscomp$generator$context$m991617773$4.yield(response.text(), 2);
|
|
7995
7994
|
}
|
|
7996
|
-
text = $jscomp$generator$context$
|
|
7997
|
-
return $jscomp$generator$context$
|
|
7995
|
+
text = $jscomp$generator$context$m991617773$4.yieldResult;
|
|
7996
|
+
return $jscomp$generator$context$m991617773$4.return(module$contents$safevalues$internals$script_impl_createScriptInternal(text));
|
|
7998
7997
|
});
|
|
7999
7998
|
}, styleSheet:function() {
|
|
8000
7999
|
var text;
|
|
8001
|
-
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$
|
|
8002
|
-
if (1 == $jscomp$generator$context$
|
|
8000
|
+
return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m991617773$5) {
|
|
8001
|
+
if (1 == $jscomp$generator$context$m991617773$5.nextAddress) {
|
|
8003
8002
|
if ("text/css" !== mimeType) {
|
|
8004
8003
|
throw new module$exports$safevalues$dom$globals$fetch.IncorrectContentTypeError(response.url, "SafeStyleSheet", "text/css");
|
|
8005
8004
|
}
|
|
8006
|
-
return $jscomp$generator$context$
|
|
8005
|
+
return $jscomp$generator$context$m991617773$5.yield(response.text(), 2);
|
|
8007
8006
|
}
|
|
8008
|
-
text = $jscomp$generator$context$
|
|
8009
|
-
return $jscomp$generator$context$
|
|
8007
|
+
text = $jscomp$generator$context$m991617773$5.yieldResult;
|
|
8008
|
+
return $jscomp$generator$context$m991617773$5.return(module$contents$safevalues$internals$style_sheet_impl_createStyleSheetInternal(text));
|
|
8010
8009
|
});
|
|
8011
8010
|
}});
|
|
8012
8011
|
});
|
|
@@ -9298,8 +9297,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
9298
9297
|
}
|
|
9299
9298
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
9300
9299
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
9301
|
-
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$
|
|
9302
|
-
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$
|
|
9300
|
+
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$1047461284$0$ = $jscomp$iter$28.next(); !$jscomp$key$1047461284$0$.done; $jscomp$key$1047461284$0$ = $jscomp$iter$28.next()) {
|
|
9301
|
+
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$1047461284$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;
|
|
9303
9302
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
9304
9303
|
}
|
|
9305
9304
|
return urlQueryParams;
|
|
@@ -9310,8 +9309,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
9310
9309
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
9311
9310
|
if (params.headers) {
|
|
9312
9311
|
hasContentType = null != params.headers["Content-Type"];
|
|
9313
|
-
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$
|
|
9314
|
-
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$
|
|
9312
|
+
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$1047461284$1$ = $jscomp$iter$29.next(); !$jscomp$key$1047461284$1$.done; $jscomp$key$1047461284$1$ = $jscomp$iter$29.next()) {
|
|
9313
|
+
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$1047461284$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;
|
|
9315
9314
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
9316
9315
|
}
|
|
9317
9316
|
}
|
|
@@ -9356,15 +9355,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
9356
9355
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
9357
9356
|
};
|
|
9358
9357
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
9359
|
-
var $jscomp$this$
|
|
9358
|
+
var $jscomp$this$m667091202$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
9360
9359
|
payload += this._metadataPayload;
|
|
9361
9360
|
return Promise.all(this.files.map(function(f) {
|
|
9362
|
-
return $jscomp$this$
|
|
9361
|
+
return $jscomp$this$m667091202$6.encodeFile(f);
|
|
9363
9362
|
})).then(function(filePayloads) {
|
|
9364
|
-
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$
|
|
9365
|
-
payload += $jscomp$key$
|
|
9363
|
+
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$m667091202$9$filePayload = $jscomp$iter$30.next(); !$jscomp$key$m667091202$9$filePayload.done; $jscomp$key$m667091202$9$filePayload = $jscomp$iter$30.next()) {
|
|
9364
|
+
payload += $jscomp$key$m667091202$9$filePayload.value;
|
|
9366
9365
|
}
|
|
9367
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
9366
|
+
return payload += "\r\n--" + $jscomp$this$m667091202$6._boundary + "--";
|
|
9368
9367
|
});
|
|
9369
9368
|
};
|
|
9370
9369
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -9452,9 +9451,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
9452
9451
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
9453
9452
|
};
|
|
9454
9453
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
9455
|
-
var $jscomp$this$
|
|
9454
|
+
var $jscomp$this$1237977804$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
9456
9455
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
9457
|
-
return $jscomp$this$
|
|
9456
|
+
return $jscomp$this$1237977804$4.requestService.send(params, responseCtor);
|
|
9458
9457
|
}));
|
|
9459
9458
|
};
|
|
9460
9459
|
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"};
|
|
@@ -15567,8 +15566,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
15567
15566
|
this.replacements = new Map();
|
|
15568
15567
|
};
|
|
15569
15568
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
15570
|
-
var $jscomp$this$
|
|
15571
|
-
return $jscomp$this$
|
|
15569
|
+
var $jscomp$this$380122516$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
15570
|
+
return $jscomp$this$380122516$5.replaceFormattingString(openedTags, match);
|
|
15572
15571
|
});
|
|
15573
15572
|
if (0 !== openedTags.length) {
|
|
15574
15573
|
if (goog.DEBUG) {
|
|
@@ -15710,7 +15709,7 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
15710
15709
|
})}]];
|
|
15711
15710
|
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15712
15711
|
new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES));
|
|
15713
|
-
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.lenientSanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["BUTTON"])), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15712
|
+
module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.lenientSanitizerTable = new module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.SanitizerTable(new Set(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_ELEMENTS.concat(["BUTTON", "INPUT"])), new Map(module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ELEMENT_POLICIES),
|
|
15714
15713
|
new Set(module$contents$safevalues$internals$pure_pure(function() {
|
|
15715
15714
|
return module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES.concat(["class", "id", "name"]);
|
|
15716
15715
|
})), new Map(module$contents$safevalues$internals$pure_pure(function() {
|
|
@@ -15748,8 +15747,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15748
15747
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
15749
15748
|
};
|
|
15750
15749
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
15751
|
-
for (var $jscomp$this$
|
|
15752
|
-
return $jscomp$this$
|
|
15750
|
+
for (var $jscomp$this$m1803429925$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
15751
|
+
return $jscomp$this$m1803429925$10.nodeFilter(n);
|
|
15753
15752
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
15754
15753
|
var sanitizedNode = void 0;
|
|
15755
15754
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -15776,8 +15775,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15776
15775
|
return document.createTextNode(textNode.data);
|
|
15777
15776
|
};
|
|
15778
15777
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
15779
|
-
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$
|
|
15780
|
-
var $jscomp$destructuring$var31 = $jscomp$key$
|
|
15778
|
+
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$m1803429925$25$ = $jscomp$iter$31.next(); !$jscomp$key$m1803429925$25$.done; $jscomp$key$m1803429925$25$ = $jscomp$iter$31.next()) {
|
|
15779
|
+
var $jscomp$destructuring$var31 = $jscomp$key$m1803429925$25$.value, name = $jscomp$destructuring$var31.name, value = $jscomp$destructuring$var31.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
15781
15780
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
15782
15781
|
switch(policy.policyAction) {
|
|
15783
15782
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -15830,8 +15829,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
15830
15829
|
if (!conditions) {
|
|
15831
15830
|
return !0;
|
|
15832
15831
|
}
|
|
15833
|
-
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$
|
|
15834
|
-
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$
|
|
15832
|
+
for (var $jscomp$iter$32 = $jscomp.makeIterator(conditions), $jscomp$key$m1803429925$26$ = $jscomp$iter$32.next(); !$jscomp$key$m1803429925$26$.done; $jscomp$key$m1803429925$26$ = $jscomp$iter$32.next()) {
|
|
15833
|
+
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$key$m1803429925$26$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var33.next().value, expectedValues = $jscomp$destructuring$var33.next().value, $jscomp$optchain$tmpm1803429925$0 = void 0, value = null == ($jscomp$optchain$tmpm1803429925$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) ? void 0 : $jscomp$optchain$tmpm1803429925$0.value;
|
|
15835
15834
|
if (value && !expectedValues.has(value)) {
|
|
15836
15835
|
return !1;
|
|
15837
15836
|
}
|
|
@@ -15885,8 +15884,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15885
15884
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable;
|
|
15886
15885
|
};
|
|
15887
15886
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
15888
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$
|
|
15889
|
-
var element = $jscomp$key$
|
|
15887
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$33 = $jscomp.makeIterator(elementSet), $jscomp$key$m1412690177$0$element = $jscomp$iter$33.next(); !$jscomp$key$m1412690177$0$element.done; $jscomp$key$m1412690177$0$element = $jscomp$iter$33.next()) {
|
|
15888
|
+
var element = $jscomp$key$m1412690177$0$element.value;
|
|
15890
15889
|
element = element.toUpperCase();
|
|
15891
15890
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
15892
15891
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -15904,8 +15903,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15904
15903
|
throw Error("Element: " + element + " is not a custom element");
|
|
15905
15904
|
}
|
|
15906
15905
|
if (allowedAttributes) {
|
|
15907
|
-
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$
|
|
15908
|
-
elementPolicy.set($jscomp$key$
|
|
15906
|
+
for (var elementPolicy = new Map(), $jscomp$iter$34 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$m1412690177$1$attribute = $jscomp$iter$34.next(); !$jscomp$key$m1412690177$1$attribute.done; $jscomp$key$m1412690177$1$attribute = $jscomp$iter$34.next()) {
|
|
15907
|
+
elementPolicy.set($jscomp$key$m1412690177$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
15909
15908
|
}
|
|
15910
15909
|
allowedElementPolicies.set(element, elementPolicy);
|
|
15911
15910
|
} else {
|
|
@@ -15915,15 +15914,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15915
15914
|
return this;
|
|
15916
15915
|
};
|
|
15917
15916
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
15918
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$
|
|
15919
|
-
var attribute = $jscomp$key$
|
|
15917
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(attributeSet), $jscomp$key$m1412690177$2$attribute = $jscomp$iter$35.next(); !$jscomp$key$m1412690177$2$attribute.done; $jscomp$key$m1412690177$2$attribute = $jscomp$iter$35.next()) {
|
|
15918
|
+
var attribute = $jscomp$key$m1412690177$2$attribute.value;
|
|
15920
15919
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
15921
15920
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
15922
15921
|
}
|
|
15923
|
-
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
15924
|
-
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$
|
|
15922
|
+
for (var $jscomp$iter$37 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$m1412690177$4$ = $jscomp$iter$37.next(); !$jscomp$key$m1412690177$4$.done; $jscomp$key$m1412690177$4$ = $jscomp$iter$37.next()) {
|
|
15923
|
+
for (var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$m1412690177$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$m1412690177$3$ = $jscomp$iter$36.next(); !$jscomp$key$m1412690177$3$.done; $jscomp$key$m1412690177$3$ =
|
|
15925
15924
|
$jscomp$iter$36.next()) {
|
|
15926
|
-
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$
|
|
15925
|
+
var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$m1412690177$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;
|
|
15927
15926
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
15928
15927
|
}
|
|
15929
15928
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -15932,8 +15931,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
15932
15931
|
return this;
|
|
15933
15932
|
};
|
|
15934
15933
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
15935
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$
|
|
15936
|
-
var attribute = $jscomp$key$
|
|
15934
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$38 = $jscomp.makeIterator(attributes), $jscomp$key$m1412690177$5$attribute = $jscomp$iter$38.next(); !$jscomp$key$m1412690177$5$attribute.done; $jscomp$key$m1412690177$5$attribute = $jscomp$iter$38.next()) {
|
|
15935
|
+
var attribute = $jscomp$key$m1412690177$5$attribute.value;
|
|
15937
15936
|
if (0 !== attribute.indexOf("data-")) {
|
|
15938
15937
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
15939
15938
|
}
|
|
@@ -16184,12 +16183,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
16184
16183
|
}
|
|
16185
16184
|
try {
|
|
16186
16185
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
16187
|
-
} catch ($jscomp$unused$catch$
|
|
16186
|
+
} catch ($jscomp$unused$catch$442189172$0) {
|
|
16188
16187
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
16189
16188
|
}
|
|
16190
16189
|
try {
|
|
16191
16190
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
16192
|
-
} catch ($jscomp$unused$catch$
|
|
16191
|
+
} catch ($jscomp$unused$catch$442189172$1) {
|
|
16193
16192
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
16194
16193
|
}
|
|
16195
16194
|
return !1;
|
|
@@ -19091,7 +19090,7 @@ var $jscomp$templatelit$294235699$96 = $jscomp.createTemplateTagFirstArg(["https
|
|
|
19091
19090
|
ee.apiclient = {};
|
|
19092
19091
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19093
19092
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19094
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
19093
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.396";
|
|
19095
19094
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19096
19095
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19097
19096
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19381,8 +19380,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19381
19380
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19382
19381
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19383
19382
|
method = method || "POST";
|
|
19384
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
19385
|
-
"0.1.
|
|
19383
|
+
var headers = {"Content-Type":contentType}, version = "0.1.396";
|
|
19384
|
+
"0.1.396" === version && (version = "latest");
|
|
19386
19385
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19387
19386
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19388
19387
|
if (null != authToken) {
|
|
@@ -21536,12 +21535,26 @@ goog.exportSymbol("ee.data.getInfo", ee.data.getInfo);
|
|
|
21536
21535
|
ee.data.makeListAssetsCall_ = function(parent, opt_params, opt_callback, opt_postProcessing) {
|
|
21537
21536
|
opt_params = void 0 === opt_params ? {} : opt_params;
|
|
21538
21537
|
opt_postProcessing = void 0 === opt_postProcessing ? goog.functions.identity : opt_postProcessing;
|
|
21539
|
-
var
|
|
21538
|
+
var params = Object.assign({}, opt_params), call = new module$contents$ee$apiclient_Call(opt_callback), isProjectAssetRoot = ee.rpc_convert.CLOUD_ASSET_ROOT_RE.test(parent), methodRoot = isProjectAssetRoot ? call.projects() : call.assets();
|
|
21540
21539
|
parent = isProjectAssetRoot ? ee.rpc_convert.projectParentFromPath(parent) : ee.rpc_convert.assetIdToAssetName(parent);
|
|
21541
|
-
|
|
21540
|
+
var getNextPageIfNeeded = function(response) {
|
|
21541
|
+
if (null != params.pageSize || !response.nextPageToken) {
|
|
21542
|
+
return response;
|
|
21543
|
+
}
|
|
21544
|
+
var previousAssets = response.assets || [];
|
|
21545
|
+
params.pageToken = response.nextPageToken;
|
|
21546
|
+
var nextResponse = methodRoot.listAssets(parent, params).then(function(response) {
|
|
21547
|
+
response.assets = previousAssets.concat(response.assets);
|
|
21548
|
+
return response;
|
|
21549
|
+
}).then(getNextPageIfNeeded);
|
|
21550
|
+
return opt_callback ? nextResponse : call.handle(nextResponse);
|
|
21551
|
+
};
|
|
21552
|
+
return call.handle(methodRoot.listAssets(parent, params).then(getNextPageIfNeeded).then(opt_postProcessing));
|
|
21542
21553
|
};
|
|
21543
21554
|
ee.data.getList = function(params, opt_callback) {
|
|
21544
|
-
|
|
21555
|
+
var convertedParams = ee.rpc_convert.getListToListAssets(params);
|
|
21556
|
+
convertedParams.pageSize || (convertedParams.pageSize = 1E3);
|
|
21557
|
+
return ee.data.makeListAssetsCall_(params.id, convertedParams, opt_callback, function(r) {
|
|
21545
21558
|
return null == r ? null : ee.rpc_convert.listAssetsToGetList(r);
|
|
21546
21559
|
});
|
|
21547
21560
|
};
|
|
@@ -26934,29 +26947,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
26934
26947
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
26935
26948
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
26936
26949
|
(function() {
|
|
26937
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
26938
|
-
orderedParamLists = [["name", "
|
|
26939
|
-
"image opt_description
|
|
26940
|
-
"collection opt_description
|
|
26941
|
-
|
|
26942
|
-
|
|
26943
|
-
["id", "
|
|
26944
|
-
["
|
|
26945
|
-
"
|
|
26946
|
-
["
|
|
26947
|
-
"
|
|
26948
|
-
["
|
|
26949
|
-
|
|
26950
|
-
["
|
|
26951
|
-
[ee.ApiFunction.
|
|
26952
|
-
module$contents$ee$batch_Export.
|
|
26953
|
-
ee.ComputedObject.prototype.
|
|
26954
|
-
ee.data.
|
|
26955
|
-
ee.data.
|
|
26956
|
-
ee.TILE_SIZE, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.FeatureCollection.prototype.
|
|
26957
|
-
ee.Filter.
|
|
26958
|
-
ee.Image.prototype.
|
|
26959
|
-
ee.ImageCollection.prototype.
|
|
26950
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction._call ee.ApiFunction.lookup ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.image.toAsset 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.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.data.startIngestion ee.data.createFolder ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.setAssetAcl ee.data.updateTask ee.data.listAssets ee.data.makeThumbUrl ee.data.renameAsset ee.data.authenticateViaOauth ee.data.getMapId ee.data.setAssetProperties ee.data.getTaskList ee.data.copyAsset ee.data.authenticate ee.data.listBuckets ee.data.getTableDownloadId ee.data.getTileUrl ee.data.startTableIngestion ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.getTaskListWithLimit ee.data.makeTableDownloadUrl ee.data.listOperations ee.data.listImages ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getDownloadId ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.setWorkloadTag ee.data.createAssetHome ee.data.getOperation ee.data.getInfo ee.data.authenticateViaPrivateKey ee.data.newTaskId ee.data.createAsset ee.data.computeValue ee.data.setDefaultWorkloadTag ee.data.resetWorkloadTag ee.data.cancelTask ee.data.getThumbId ee.data.getVideoThumbId ee.data.updateAsset ee.data.getList ee.data.getTaskStatus ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.initialize ee.Algorithms ee.InitState ee.apply ee.reset ee.TILE_SIZE ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.Filter ee.Filter.eq ee.Filter.and ee.Filter.inList ee.Filter.gt ee.Filter.or ee.Filter.lt ee.Filter.prototype.not ee.Filter.neq ee.Filter.lte ee.Filter.metadata ee.Filter.gte ee.Filter.bounds ee.Filter.date ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry.LineString ee.Geometry ee.Geometry.prototype.serialize ee.Geometry.Rectangle ee.Geometry.MultiPolygon ee.Geometry.Polygon ee.Geometry.Point ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image ee.Image.prototype.getThumbId ee.Image.rgb ee.Image.cat ee.Image.prototype.rename ee.Image.prototype.select ee.Image.prototype.expression ee.Image.prototype.clip ee.Image.prototype.getThumbURL ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMapId ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
|
|
26951
|
+
orderedParamLists = [["name", "namedArgs"], ["name", "var_args"], ["name"], "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(" "),
|
|
26952
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "), "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "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(" "),
|
|
26953
|
+
"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(" "),
|
|
26954
|
+
"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(" "), ["start", "opt_end"], ["algorithm",
|
|
26955
|
+
"opt_dropNulls"], ["algorithm", "opt_first"], ["property", "opt_ascending"], ["filter"], ["max", "opt_property", "opt_ascending"], ["geometry"], ["name", "operator", "value"], ["callback"], ["func", "var_args"], ["legacy"], ["opt_callback"], ["taskId", "request", "opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["taskId", "action", "opt_callback"], ["parent", "opt_params", "opt_callback"],
|
|
26956
|
+
["id"], ["sourceId", "destinationId", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["project", "opt_callback"], ["params", "opt_callback"], ["id", "x", "y", "z"], ["taskId", "request", "opt_callback"],
|
|
26957
|
+
["assetId", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["id"], ["opt_limit", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "opt_callback"], [], ["params", "opt_callback"], ["operationName", "opt_callback"], ["id"], ["opt_success", "opt_error"], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["id", "opt_callback"], ["opt_callback"], ["tag"], ["requestedId", "opt_callback"], ["operationName", "opt_callback"], ["id", "opt_callback"],
|
|
26958
|
+
["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["opt_count", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["obj", "opt_callback"], ["tag"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"],
|
|
26959
|
+
["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], [], ["func", "namedArgs"], [], [], ["func", "var_args"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors",
|
|
26960
|
+
"opt_newProperties", "opt_retainGeometry"], ["opt_filter"], ["name", "value"], ["var_args"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["name", "value"], ["var_args"], ["name", "value"], [], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["start", "opt_end"], ["namedArgs"], ["var_args"], [], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
26961
|
+
["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["params",
|
|
26962
|
+
"opt_callback"], ["opt_args"], ["params", "opt_callback"], ["r", "g", "b"], ["var_args"], ["var_args"], ["var_args"], ["expression", "opt_map"], ["geometry"], ["params", "opt_callback"], ["args"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["params", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], [], ["opt_visParams", "opt_callback"], ["list"], ["number"], ["obj"], ["obj"],
|
|
26963
|
+
["obj"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
26964
|
+
[ee.ApiFunction._apply, ee.ApiFunction._call, ee.ApiFunction.lookup, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.image.toAsset, 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,
|
|
26965
|
+
module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.sort, ee.Collection.prototype.filter, ee.Collection.prototype.limit, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterMetadata, ee.ComputedObject.prototype.evaluate,
|
|
26966
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.getInfo, ee.data.startIngestion, ee.data.createFolder, ee.data.getFilmstripThumbId, ee.data.startProcessing, ee.data.setAssetAcl, ee.data.updateTask, ee.data.listAssets, ee.data.makeThumbUrl, ee.data.renameAsset, ee.data.authenticateViaOauth, ee.data.getMapId, ee.data.setAssetProperties, ee.data.getTaskList, ee.data.copyAsset, ee.data.authenticate, ee.data.listBuckets, ee.data.getTableDownloadId,
|
|
26967
|
+
ee.data.getTileUrl, ee.data.startTableIngestion, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.getTaskListWithLimit, ee.data.makeTableDownloadUrl, ee.data.listOperations, ee.data.listImages, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getDownloadId, ee.data.cancelOperation, ee.data.makeDownloadUrl, ee.data.authenticateViaPopup, ee.data.getFeatureViewTilesKey, ee.data.listFeatures, ee.data.getAsset, ee.data.getAssetRoots, ee.data.setWorkloadTag, ee.data.createAssetHome, ee.data.getOperation,
|
|
26968
|
+
ee.data.getInfo, ee.data.authenticateViaPrivateKey, ee.data.newTaskId, ee.data.createAsset, ee.data.computeValue, ee.data.setDefaultWorkloadTag, ee.data.resetWorkloadTag, ee.data.cancelTask, ee.data.getThumbId, ee.data.getVideoThumbId, ee.data.updateAsset, ee.data.getList, ee.data.getTaskStatus, ee.Date, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Dictionary, ee.initialize, ee.Algorithms, ee.InitState, ee.apply, ee.reset,
|
|
26969
|
+
ee.TILE_SIZE, ee.call, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.select, ee.Filter, ee.Filter.eq, ee.Filter.and, ee.Filter.inList, ee.Filter.gt, ee.Filter.or, ee.Filter.lt,
|
|
26970
|
+
ee.Filter.prototype.not, ee.Filter.neq, ee.Filter.lte, ee.Filter.metadata, ee.Filter.gte, ee.Filter.bounds, ee.Filter.date, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry.MultiPoint, ee.Geometry.LineString, ee.Geometry, ee.Geometry.prototype.serialize, ee.Geometry.Rectangle, ee.Geometry.MultiPolygon, ee.Geometry.Polygon, ee.Geometry.Point, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.LinearRing,
|
|
26971
|
+
ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image, ee.Image.prototype.getThumbId, ee.Image.rgb, ee.Image.cat, ee.Image.prototype.rename, ee.Image.prototype.select, ee.Image.prototype.expression, ee.Image.prototype.clip, ee.Image.prototype.getThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getVideoThumbURL,
|
|
26972
|
+
ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getMapId, ee.List, ee.Number, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
26960
26973
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
26961
26974
|
});
|
|
26962
26975
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|