@google/earthengine 0.1.388 → 0.1.389
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 +86 -86
- package/build/ee_api_js.js +16 -16
- package/build/ee_api_js_debug.js +64 -64
- package/build/ee_api_js_npm.js +86 -86
- package/build/main.js +86 -86
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/ee_api_js.js
CHANGED
|
@@ -453,7 +453,7 @@ Wc(p,f[m]))});return b?b(l):l};return this.callback?(Ij(d,null,function(f,l){ret
|
|
|
453
453
|
Jj.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=Lj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
454
454
|
var Mj=function(a,b,c){a=n(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},Gj=function(){var a=Nj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Pj=function(a,b,c){var d=[];a&&(d=d.concat(Oj));
|
|
455
455
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=t(g)?"o"+Ca(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},Vj=function(a,b,c){Qj&&Rj&&Qj({client_id:String(Rj),scope:Sj.join(" "),plugin_name:"earthengine"},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Tj(function(){try{Uj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Uj(a,
|
|
456
|
-
b,d)})},Lj=function(){Wj&&0<=Date.now()-Wj&&Xj();return Yj},Xj=function(){Wj=Yj=null},Dj=function(a,b,c,d){null!=a?Nj=a:Zj||(Nj="https://earthengine.googleapis.com/api");null!=b?ak=b:Zj||(ak="https://earthengine.googleapis.com");void 0!==c&&(bk=c);Cj=null!=d?d:Cj||"earthengine-legacy";Zj=!0},Ij=function(a,b,c,d,e,g,f){Dj();var l=ck,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.
|
|
456
|
+
b,d)})},Lj=function(){Wj&&0<=Date.now()-Wj&&Xj();return Yj},Xj=function(){Wj=Yj=null},Dj=function(a,b,c,d){null!=a?Nj=a:Zj||(Nj="https://earthengine.googleapis.com/api");null!=b?ak=b:Zj||(ak="https://earthengine.googleapis.com");void 0!==c&&(bk=c);Cj=null!=d?d:Cj||"earthengine-legacy";Zj=!0},Ij=function(a,b,c,d,e,g,f){Dj();var l=ck,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.389";"0.1.389"===
|
|
457
457
|
p&&(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=Lj();if(null!=p)m.Authorization=p;else if(c&&Qj&&Rj)return Vj(function(){dk(l,function(){Ij(a,b,c,d)})}),null;b=b?b.clone():new Ed;null!=ek&&b.add("key",ek);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");Cj&&"earthengine-legacy"!==Cj&&(m["X-Goog-User-Project"]=Cj);b=fk(b,a);null!=bk&&(m["X-XSRF-Token"]=bk);null!=gk&&(m["X-Earth-Engine-App-ID-Token"]=gk);p=e||null;var v=b?b.toString():"";"POST"===d&&void 0===e?p=v:/^[\s\xa0]*$/.test(v)||(a+=-1!=
|
|
458
458
|
a.indexOf("?")?"&":"?",a+=v);e=a.startsWith("/")?Nj+a:a;if(c)return hk.push(ik(e,c,d,p,m,g,f)),jk.qf(),null;v=function(Q,oa){this.setRequestHeader&&this.setRequestHeader(oa,Q)};var z=0;for(g=null!=g?g:5;;){var C=Zi(Xi);C.open(d,e,!1);Fb(m,v,C);C.send(p);if(429!=C.status||z>g)break;z++}return kk(C.status,function(Q){try{return C.getResponseHeader(Q)}catch(oa){return null}},C.responseText,l,void 0,e,d,f)},ik=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=ck,v=null!=g?g:10;
|
|
459
459
|
m.callback=function(z){z=z.target;if(429==z.getStatus()&&l<v)return l++,setTimeout(function(){hk.push(m);jk.qf()},Math.min(12E4,1E3*Math.pow(2,l))),null;var C=kk,Q=z.getStatus(),oa=u(z.getResponseHeader,z);try{var S=z.o?z.o.responseText:""}catch(Aa){Si(z.ba,"Can not get responseText: "+Aa.message),S=""}return C(Q,oa,S,p,b,a,c,f)};return m},dk=function(a,b){var c=ck;try{ck=a,b.call(void 0)}finally{ck=c}},kk=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);var p=
|
|
@@ -704,18 +704,18 @@ h.Bl=function(){if(!this.kc){var a=u(function(d){this.kc||(zq(this.ga,this.fa,d)
|
|
|
704
704
|
h.Oi=null;h.Ja=null;h.ni=null;var Yq=["load","abort","error"],Zq=function(){y.call(this);this.Ea=!1};q(Zq,y);Zq.prototype.setActive=function(a){this.Ea=a};Zq.prototype.isActive=function(){return this.Ea};var Uq=function(a,b){Pq.call(this,a,b)};q(Uq,Pq);Uq.prototype.bf=function(){return new Zq};Uq.prototype.Cd=function(a){a.Ra()};Uq.prototype.Sf=function(a){return!a.Sa&&!a.isActive()};var $q=function(a,b,c,d,e){Nc.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.wg=new Ic;this.Tf=1;this.ua=e||null};q($q,Nc);h=$q.prototype;h.Oe=function(a){return bc(this,"tileevent",a)};h.bg=function(a){jc(a)};
|
|
705
705
|
h.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=Oc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.yb,this.token].join("/");this.yb+=1;c=lh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Ab.push(b);Ol(Vq).send(b,a,d,u(this.Yk,this,c,b));Xp(this);return c};h.Nc=function(){return this.Ab.length};
|
|
706
706
|
h.releaseTile=function(a){Ol(Vq).abort(a.id);if(void 0!==a.firstElementChild)var b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;this.wg.remove(b);""!==a.id&&(this.vg.remove(a.id),this.ua&&this.ua.sl(a.id))};h.setOpacity=function(a){this.Tf=a;var b=this.wg.Da();uc(b,function(c){hq(c,a)})};
|
|
707
|
-
h.Yk=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.vg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Tf&&hq(c,this.Tf),a.appendChild(c)),Xp(this));this.ua&&null!==d&&this.ua.Mk(b,d)};w("ee.MapLayerOverlay",$q);$q.prototype.removeTileCallback=$q.prototype.bg;$q.prototype.addTileCallback=$q.prototype.Oe;$q.prototype.getTile=$q.prototype.getTile;$q.prototype.setOpacity=$q.prototype.setOpacity;$q.prototype.releaseTile=$q.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.
|
|
708
|
-
c=[["name","
|
|
709
|
-
"
|
|
710
|
-
"collection opt_description
|
|
711
|
-
"
|
|
712
|
-
["
|
|
713
|
-
"
|
|
714
|
-
|
|
715
|
-
[],["
|
|
716
|
-
"
|
|
717
|
-
|
|
718
|
-
"opt_proj","opt_geodesic","opt_maxError"],[],["
|
|
719
|
-
"opt_callback"],["args"],["params","opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["string"],[]];[
|
|
720
|
-
Rl,Yl,gm,Mm,
|
|
721
|
-
M.prototype.
|
|
707
|
+
h.Yk=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.vg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Tf&&hq(c,this.Tf),a.appendChild(c)),Xp(this));this.ua&&null!==d&&this.ua.Mk(b,d)};w("ee.MapLayerOverlay",$q);$q.prototype.removeTileCallback=$q.prototype.bg;$q.prototype.addTileCallback=$q.prototype.Oe;$q.prototype.getTile=$q.prototype.getTile;$q.prototype.setOpacity=$q.prototype.setOpacity;$q.prototype.releaseTile=$q.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.video.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.table.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.image.toDrive ee.batch.Export.table.toBigQuery ee.batch.Export.map.toCloudStorage ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getTableDownloadId ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.makeTableDownloadUrl ee.data.getAssetRoots ee.data.getAsset ee.data.setWorkloadTag ee.data.listFeatures ee.data.createAssetHome ee.data.getOperation ee.data.setDefaultWorkloadTag ee.data.authenticateViaPrivateKey ee.data.newTaskId ee.data.getInfo ee.data.resetWorkloadTag ee.data.createAsset ee.data.computeValue ee.data.updateAsset ee.data.getThumbId ee.data.cancelTask ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.getTaskStatus ee.data.startIngestion ee.data.makeThumbUrl ee.data.createFolder ee.data.setAssetAcl ee.data.updateTask ee.data.startProcessing ee.data.getList ee.data.listAssets ee.data.renameAsset ee.data.authenticateViaOauth ee.data.getMapId ee.data.setAssetProperties ee.data.getTaskList ee.data.copyAsset ee.data.getAssetRootQuota ee.data.authenticate ee.data.getTileUrl ee.data.getDownloadId ee.data.makeDownloadUrl ee.data.listImages ee.data.deleteAsset ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.getWorkloadTag ee.data.listOperations ee.data.listBuckets ee.data.getAssetAcl ee.data.cancelOperation ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.Filter.or ee.Filter.prototype.not ee.Filter.lte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Filter.metadata ee.Filter.and ee.Filter.lt ee.Filter.gt ee.Filter.neq ee.Filter.inList ee.Filter.gte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Rectangle ee.Geometry ee.Geometry.Polygon ee.Geometry.MultiPolygon ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.LineString ee.Geometry.MultiPoint ee.Geometry.prototype.serialize ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.prototype.clip ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.rgb ee.Image.cat ee.Image.prototype.expression ee.Image ee.Image.prototype.rename ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
708
|
+
c=[["name","var_args"],["name"],["name","namedArgs"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),["classifier","opt_description",
|
|
709
|
+
"opt_assetId"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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".split(" "),
|
|
710
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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".split(" "),"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "),
|
|
711
|
+
"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".split(" "),"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices".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".split(" "),
|
|
712
|
+
["start","opt_end"],["algorithm","opt_first"],["filter"],["algorithm","opt_dropNulls"],["geometry"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["name","operator","value"],["legacy"],["func","var_args"],["callback"],["opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["params","opt_callback"],["id"],["opt_callback"],["id","opt_callback"],["tag"],["asset","params","opt_callback"],["requestedId","opt_callback"],["operationName","opt_callback"],["tag"],["privateKey",
|
|
713
|
+
"opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["opt_count","opt_callback"],["id","opt_callback"],["opt_resetDefault"],["value","opt_path","opt_force","opt_properties","opt_callback"],["obj","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["taskId","request","opt_callback"],["id"],["path","opt_force","opt_callback"],["assetId",
|
|
714
|
+
"aclUpdate","opt_callback"],["taskId","action","opt_callback"],["taskId","params","opt_callback"],["params","opt_callback"],["parent","opt_params","opt_callback"],["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"],["rootId","opt_callback"],["clientId","success",
|
|
715
|
+
"opt_error","opt_extraScopes","opt_onImmediateFailed"],["id","x","y","z"],["params","opt_callback"],["id"],["parent","opt_params","opt_callback"],["assetId","opt_callback"],["opt_limit","opt_callback"],["taskId","request","opt_callback"],[],["opt_limit","opt_callback"],["project","opt_callback"],["assetId","opt_callback"],["operationName","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],["func","namedArgs"],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
716
|
+
["func","var_args"],[],[],["var_args"],[],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["opt_visParams","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["args","opt_column"],["opt_format","opt_selectors","opt_filename","opt_callback"],["var_args"],[],["name","value"],["opt_filter"],["name","value"],["start","opt_end"],["geometry","opt_errorMargin"],["name",
|
|
717
|
+
"operator","value"],["var_args"],["name","value"],["name","value"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["namedArgs"],["var_args"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["geoJson","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"],
|
|
718
|
+
["coords","opt_proj","opt_geodesic","opt_maxError"],[],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],["legacy"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["var_args"],["geometry"],["params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["r","g","b"],["var_args"],["expression","opt_map"],["opt_args"],["var_args"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_visParams",
|
|
719
|
+
"opt_callback"],["opt_callback"],["selectors","opt_names"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],[],["args"],["params","opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["string"],[]];[P,rn,sn,$o,Xo,ap,cp,Qo,Wo,So,Vo,bp,Yo,To,Zo,Uo,W.prototype.nf,W.prototype.Mh,W.prototype.filter,W.prototype.map,W.prototype.xh,W.prototype.limit,W.prototype.sort,W.prototype.pf,N.prototype.va,N.prototype.Gg,N.prototype.evaluate,
|
|
720
|
+
N.prototype.V,im,Pl,Zl,jm,Om,Im,an,$l,Pm,sm,bn,Sl,km,Im,cn,Qm,am,Wm,bm,um,cm,dm,nm,Fm,em,Rm,Xm,tm,Bm,Km,Lm,Sm,Ql,Xl,Ym,pm,Tm,Zm,Rl,Yl,gm,hm,Mm,Um,om,Hm,Vl,qm,Nm,Vm,rm,tp,Cp,xp,yp,wp,Dp,Qp,Sp,256,Mp,Rp,Pp,Op,T.prototype.set,nk,X.prototype.V,X.prototype.S,X.prototype.getMap,X,Y.prototype.getMap,Y.prototype.V,Y.prototype.S,Y.prototype.select,Y,Y.prototype.sb,mo,V.prototype.sc,ko,V,fo,no,po,qo,lo,ho,jo,go,oo,io,mn.prototype.apply,mn.prototype.call,Pn,U,Wn,Xn,Ln,U.prototype.oe,Un,Vn,U.prototype.yg,Qn,
|
|
721
|
+
Tn,On,U.prototype.va,M.prototype.V,M.prototype.S,M.prototype.getMap,M.prototype.select,M.prototype.clip,M.prototype.sb,M.prototype.Kd,M.prototype.xf,Do,Eo,M.prototype.l,M,M.prototype.ti,Z.prototype.vf,Z.prototype.getMap,Z.prototype.S,Z.prototype.V,Z.prototype.select,Z.prototype.Hf,Z.prototype.first,Z,Z.prototype.yf,Fo,jp,ll,ul,sl,il,jl,ol,tl,mp,Gp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|
package/build/ee_api_js_debug.js
CHANGED
|
@@ -6057,9 +6057,9 @@ module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw)
|
|
|
6057
6057
|
};
|
|
6058
6058
|
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;
|
|
6059
6059
|
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
|
|
6060
|
-
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$
|
|
6061
|
-
{mapMetadata:void 0}, $jscomp$key$
|
|
6062
|
-
var key = $jscomp$key$
|
|
6060
|
+
for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next(), $jscomp$loop$m1892927425$44 = {}; !$jscomp$key$m1892927425$40$key.done; $jscomp$loop$m1892927425$44 =
|
|
6061
|
+
{mapMetadata:void 0}, $jscomp$key$m1892927425$40$key = $jscomp$iter$19.next()) {
|
|
6062
|
+
var key = $jscomp$key$m1892927425$40$key.value, value = valueGetter(key, source);
|
|
6063
6063
|
if (null != value) {
|
|
6064
6064
|
var copy = void 0;
|
|
6065
6065
|
if (arrays.hasOwnProperty(key)) {
|
|
@@ -6070,11 +6070,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6070
6070
|
} else if (objects.hasOwnProperty(key)) {
|
|
6071
6071
|
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
|
|
6072
6072
|
} else if (objectMaps.hasOwnProperty(key)) {
|
|
6073
|
-
$jscomp$loop$
|
|
6073
|
+
$jscomp$loop$m1892927425$44.mapMetadata = objectMaps[key], copy = $jscomp$loop$m1892927425$44.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m1892927425$44) {
|
|
6074
6074
|
return function(v) {
|
|
6075
|
-
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$
|
|
6075
|
+
return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6076
6076
|
};
|
|
6077
|
-
}($jscomp$loop$
|
|
6077
|
+
}($jscomp$loop$m1892927425$44)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m1892927425$44.mapMetadata, valueGetter, valueSetter, copyInstanciator);
|
|
6078
6078
|
} else if (Array.isArray(value)) {
|
|
6079
6079
|
if (metadata.emptyArrayIsUnset && 0 === value.length) {
|
|
6080
6080
|
continue;
|
|
@@ -6089,8 +6089,8 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
|
|
|
6089
6089
|
return target;
|
|
6090
6090
|
}
|
|
6091
6091
|
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
|
|
6092
|
-
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$
|
|
6093
|
-
var mapKey = $jscomp$key$
|
|
6092
|
+
for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next(); !$jscomp$key$m1892927425$41$mapKey.done; $jscomp$key$m1892927425$41$mapKey = $jscomp$iter$20.next()) {
|
|
6093
|
+
var mapKey = $jscomp$key$m1892927425$41$mapKey.value, mapValue = value[mapKey];
|
|
6094
6094
|
null != mapValue && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
|
|
6095
6095
|
}
|
|
6096
6096
|
return objMap;
|
|
@@ -6120,39 +6120,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
|
|
|
6120
6120
|
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))) {
|
|
6121
6121
|
return !1;
|
|
6122
6122
|
}
|
|
6123
|
-
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$
|
|
6124
|
-
var key = $jscomp$key$
|
|
6123
|
+
for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next(), $jscomp$loop$m1892927425$45 = {}; !$jscomp$key$m1892927425$42$key.done; $jscomp$loop$m1892927425$45 = {value2$jscomp$7:void 0, mapMetadata$jscomp$2:void 0}, $jscomp$key$m1892927425$42$key = $jscomp$iter$21.next()) {
|
|
6124
|
+
var key = $jscomp$key$m1892927425$42$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
|
|
6125
6125
|
if (has1 !== has2) {
|
|
6126
6126
|
return !1;
|
|
6127
6127
|
}
|
|
6128
6128
|
if (has1) {
|
|
6129
6129
|
var value1 = serializable1.Serializable$get(key);
|
|
6130
|
-
$jscomp$loop$
|
|
6130
|
+
$jscomp$loop$m1892927425$45.value2$jscomp$7 = serializable2.Serializable$get(key);
|
|
6131
6131
|
if (arrays1.hasOwnProperty(key)) {
|
|
6132
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6132
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !0)) {
|
|
6133
6133
|
return !1;
|
|
6134
6134
|
}
|
|
6135
6135
|
} else if (objects1.hasOwnProperty(key)) {
|
|
6136
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6136
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !0)) {
|
|
6137
6137
|
return !1;
|
|
6138
6138
|
}
|
|
6139
6139
|
} else if (objectMaps1.hasOwnProperty(key)) {
|
|
6140
|
-
if ($jscomp$loop$
|
|
6141
|
-
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$
|
|
6140
|
+
if ($jscomp$loop$m1892927425$45.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2.isPropertyArray) {
|
|
6141
|
+
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7) || value1.some(function($jscomp$loop$m1892927425$45) {
|
|
6142
6142
|
return function(v1, i) {
|
|
6143
|
-
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$
|
|
6143
|
+
return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m1892927425$45.value2$jscomp$7[i], $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2);
|
|
6144
6144
|
};
|
|
6145
|
-
}($jscomp$loop$
|
|
6145
|
+
}($jscomp$loop$m1892927425$45))) {
|
|
6146
6146
|
return !1;
|
|
6147
6147
|
}
|
|
6148
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$
|
|
6148
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, $jscomp$loop$m1892927425$45.mapMetadata$jscomp$2)) {
|
|
6149
6149
|
return !1;
|
|
6150
6150
|
}
|
|
6151
6151
|
} else if (Array.isArray(value1)) {
|
|
6152
|
-
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6152
|
+
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !0, !1)) {
|
|
6153
6153
|
return !1;
|
|
6154
6154
|
}
|
|
6155
|
-
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$
|
|
6155
|
+
} else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m1892927425$45.value2$jscomp$7, !1, !1)) {
|
|
6156
6156
|
return !1;
|
|
6157
6157
|
}
|
|
6158
6158
|
}
|
|
@@ -6174,8 +6174,8 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
|
|
|
6174
6174
|
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
|
|
6175
6175
|
return !1;
|
|
6176
6176
|
}
|
|
6177
|
-
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$
|
|
6178
|
-
var mapKey = $jscomp$key$
|
|
6177
|
+
for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next(); !$jscomp$key$m1892927425$43$mapKey.done; $jscomp$key$m1892927425$43$mapKey = $jscomp$iter$22.next()) {
|
|
6178
|
+
var mapKey = $jscomp$key$m1892927425$43$mapKey.value;
|
|
6179
6179
|
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
|
|
6180
6180
|
return !1;
|
|
6181
6181
|
}
|
|
@@ -8662,8 +8662,8 @@ function module$contents$eeapiclient$request_params_processParams(params) {
|
|
|
8662
8662
|
}
|
|
8663
8663
|
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
|
|
8664
8664
|
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
|
|
8665
|
-
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$
|
|
8666
|
-
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$
|
|
8665
|
+
for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$m125199259$0$ = $jscomp$iter$28.next(); !$jscomp$key$m125199259$0$.done; $jscomp$key$m125199259$0$ = $jscomp$iter$28.next()) {
|
|
8666
|
+
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$m125199259$0$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var27.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var27.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
|
|
8667
8667
|
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
|
|
8668
8668
|
}
|
|
8669
8669
|
return urlQueryParams;
|
|
@@ -8674,8 +8674,8 @@ module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params)
|
|
|
8674
8674
|
var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
|
|
8675
8675
|
if (params.headers) {
|
|
8676
8676
|
hasContentType = null != params.headers["Content-Type"];
|
|
8677
|
-
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$
|
|
8678
|
-
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$
|
|
8677
|
+
for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$m125199259$1$ = $jscomp$iter$29.next(); !$jscomp$key$m125199259$1$.done; $jscomp$key$m125199259$1$ = $jscomp$iter$29.next()) {
|
|
8678
|
+
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$m125199259$1$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var29.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var29.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
|
|
8679
8679
|
module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
|
|
8680
8680
|
}
|
|
8681
8681
|
}
|
|
@@ -8720,15 +8720,15 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.addMetad
|
|
|
8720
8720
|
this._metadataPayload += "Content-Type: application/json; charset=utf-8\r\n\r\n" + JSON.stringify(json) + ("\r\n--" + this._boundary + "\r\n");
|
|
8721
8721
|
};
|
|
8722
8722
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build = function() {
|
|
8723
|
-
var $jscomp$this$
|
|
8723
|
+
var $jscomp$this$m133342051$6 = this, payload = "--" + this._boundary + "\r\n";
|
|
8724
8724
|
payload += this._metadataPayload;
|
|
8725
8725
|
return Promise.all(this.files.map(function(f) {
|
|
8726
|
-
return $jscomp$this$
|
|
8726
|
+
return $jscomp$this$m133342051$6.encodeFile(f);
|
|
8727
8727
|
})).then(function(filePayloads) {
|
|
8728
|
-
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$
|
|
8729
|
-
payload += $jscomp$key$
|
|
8728
|
+
for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$m133342051$9$filePayload = $jscomp$iter$30.next(); !$jscomp$key$m133342051$9$filePayload.done; $jscomp$key$m133342051$9$filePayload = $jscomp$iter$30.next()) {
|
|
8729
|
+
payload += $jscomp$key$m133342051$9$filePayload.value;
|
|
8730
8730
|
}
|
|
8731
|
-
return payload += "\r\n--" + $jscomp$this$
|
|
8731
|
+
return payload += "\r\n--" + $jscomp$this$m133342051$6._boundary + "--";
|
|
8732
8732
|
});
|
|
8733
8733
|
};
|
|
8734
8734
|
module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.encodeFile = function(file) {
|
|
@@ -8816,9 +8816,9 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$reques
|
|
|
8816
8816
|
return this.$addHooksToRequest(requestParams, this.requestService.send(module$contents$eeapiclient$api_client_toMakeRequestParams(requestParams), responseCtor));
|
|
8817
8817
|
};
|
|
8818
8818
|
module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$uploadRequest = function(requestParams) {
|
|
8819
|
-
var $jscomp$this$
|
|
8819
|
+
var $jscomp$this$m296226325$4 = this, responseCtor = requestParams.responseCtor || void 0;
|
|
8820
8820
|
return this.$addHooksToRequest(requestParams, module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(requestParams).then(function(params) {
|
|
8821
|
-
return $jscomp$this$
|
|
8821
|
+
return $jscomp$this$m296226325$4.requestService.send(params, responseCtor);
|
|
8822
8822
|
}));
|
|
8823
8823
|
};
|
|
8824
8824
|
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"};
|
|
@@ -17405,8 +17405,8 @@ function module$contents$safevalues$internals$attribute_impl_unwrapAttributePref
|
|
|
17405
17405
|
throw Error(message);
|
|
17406
17406
|
}
|
|
17407
17407
|
module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
|
|
17408
|
-
var $jscomp$templatelit$
|
|
17409
|
-
["\\0"]), $jscomp$templatelit$
|
|
17408
|
+
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"],
|
|
17409
|
+
["\\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"};
|
|
17410
17410
|
function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
|
|
17411
17411
|
if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
|
|
17412
17412
|
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 ##############################");
|
|
@@ -17420,14 +17420,14 @@ function module$contents$safevalues$internals$string_literal_checkTranspiled(fn)
|
|
|
17420
17420
|
return -1 === fn.toString().indexOf("`");
|
|
17421
17421
|
}
|
|
17422
17422
|
var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17423
|
-
return tag($jscomp$templatelit$
|
|
17423
|
+
return tag($jscomp$templatelit$m425881384$5);
|
|
17424
17424
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17425
|
-
return tag($jscomp$templatelit$
|
|
17425
|
+
return tag($jscomp$templatelit$m425881384$6);
|
|
17426
17426
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17427
|
-
return tag($jscomp$templatelit$
|
|
17427
|
+
return tag($jscomp$templatelit$m425881384$7);
|
|
17428
17428
|
}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
|
|
17429
|
-
return tag($jscomp$templatelit$
|
|
17430
|
-
}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$
|
|
17429
|
+
return tag($jscomp$templatelit$m425881384$8);
|
|
17430
|
+
}), 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);
|
|
17431
17431
|
function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
|
|
17432
17432
|
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)) ?
|
|
17433
17433
|
!0 : !1;
|
|
@@ -17807,8 +17807,8 @@ module$exports$safevalues$builders$html_formatter.HtmlFormatter = function() {
|
|
|
17807
17807
|
this.replacements = new Map();
|
|
17808
17808
|
};
|
|
17809
17809
|
module$exports$safevalues$builders$html_formatter.HtmlFormatter.prototype.format = function(format) {
|
|
17810
|
-
var $jscomp$this$
|
|
17811
|
-
return $jscomp$this$
|
|
17810
|
+
var $jscomp$this$1018007701$5 = this, openedTags = [], marker = (0,module$exports$safevalues$builders$html_builders.htmlEscape)("_safevalues_format_marker_:").toString(), html = (0,module$exports$safevalues$builders$html_builders.htmlEscape)(format).toString().replace(new RegExp("\\{" + marker + "[\\w&#;]+\\}", "g"), function(match) {
|
|
17811
|
+
return $jscomp$this$1018007701$5.replaceFormattingString(openedTags, match);
|
|
17812
17812
|
});
|
|
17813
17813
|
if (0 !== openedTags.length) {
|
|
17814
17814
|
if (goog.DEBUG) {
|
|
@@ -17997,8 +17997,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
17997
17997
|
return this.sanitizeToFragmentInternal(html, inertDocument);
|
|
17998
17998
|
};
|
|
17999
17999
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeToFragmentInternal = function(html, inertDocument) {
|
|
18000
|
-
for (var $jscomp$this$
|
|
18001
|
-
return $jscomp$this$
|
|
18000
|
+
for (var $jscomp$this$m1085474118$10 = this, dirtyFragment = module$contents$safevalues$builders$html_sanitizer$inert_fragment_createInertFragment(html, inertDocument), treeWalker = document.createTreeWalker(dirtyFragment, 5, function(n) {
|
|
18001
|
+
return $jscomp$this$m1085474118$10.nodeFilter(n);
|
|
18002
18002
|
}, !1), currentNode = treeWalker.nextNode(), sanitizedFragment = inertDocument.createDocumentFragment(), sanitizedParent = sanitizedFragment; null !== currentNode;) {
|
|
18003
18003
|
var sanitizedNode = void 0;
|
|
18004
18004
|
if (module$contents$safevalues$builders$html_sanitizer$no_clobber_isText(currentNode)) {
|
|
@@ -18025,8 +18025,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
18025
18025
|
return document.createTextNode(textNode.data);
|
|
18026
18026
|
};
|
|
18027
18027
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerImpl.prototype.sanitizeElementNode = function(elementNode, inertDocument) {
|
|
18028
|
-
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$33 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$
|
|
18029
|
-
var $jscomp$destructuring$var33 = $jscomp$key$
|
|
18028
|
+
for (var elementName = module$contents$safevalues$builders$html_sanitizer$no_clobber_getNodeName(elementNode), newNode = inertDocument.createElement(elementName), dirtyAttributes = elementNode.attributes, $jscomp$iter$33 = $jscomp.makeIterator(dirtyAttributes), $jscomp$key$m1085474118$25$ = $jscomp$iter$33.next(); !$jscomp$key$m1085474118$25$.done; $jscomp$key$m1085474118$25$ = $jscomp$iter$33.next()) {
|
|
18029
|
+
var $jscomp$destructuring$var33 = $jscomp$key$m1085474118$25$.value, name = $jscomp$destructuring$var33.name, value = $jscomp$destructuring$var33.value, policy = this.sanitizerTable.getAttributePolicy(name, elementName);
|
|
18030
18030
|
if (this.satisfiesAllConditions(policy.conditions, dirtyAttributes)) {
|
|
18031
18031
|
switch(policy.policyAction) {
|
|
18032
18032
|
case module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP:
|
|
@@ -18079,8 +18079,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer.HtmlSanitizerIm
|
|
|
18079
18079
|
if (!conditions) {
|
|
18080
18080
|
return !0;
|
|
18081
18081
|
}
|
|
18082
|
-
for (var $jscomp$iter$34 = $jscomp.makeIterator(conditions), $jscomp$key$
|
|
18083
|
-
var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$
|
|
18082
|
+
for (var $jscomp$iter$34 = $jscomp.makeIterator(conditions), $jscomp$key$m1085474118$26$ = $jscomp$iter$34.next(); !$jscomp$key$m1085474118$26$.done; $jscomp$key$m1085474118$26$ = $jscomp$iter$34.next()) {
|
|
18083
|
+
var $jscomp$destructuring$var35 = $jscomp.makeIterator($jscomp$key$m1085474118$26$.value), attrName__tsickle_destructured_1 = $jscomp$destructuring$var35.next().value, expectedValues = $jscomp$destructuring$var35.next().value, $jscomp$optchain$tmpm1085474118$0 = void 0, value = null == ($jscomp$optchain$tmpm1085474118$0 = attrs.getNamedItem(attrName__tsickle_destructured_1)) ? void 0 : $jscomp$optchain$tmpm1085474118$0.value;
|
|
18084
18084
|
if (value && !expectedValues.has(value)) {
|
|
18085
18085
|
return !1;
|
|
18086
18086
|
}
|
|
@@ -18134,8 +18134,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
18134
18134
|
this.sanitizerTable = module$exports$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table.defaultSanitizerTable;
|
|
18135
18135
|
};
|
|
18136
18136
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowElements = function(elementSet) {
|
|
18137
|
-
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(elementSet), $jscomp$key$
|
|
18138
|
-
var element = $jscomp$key$
|
|
18137
|
+
for (var allowedElements = new Set(), allowedElementPolicies = new Map(), $jscomp$iter$35 = $jscomp.makeIterator(elementSet), $jscomp$key$435282654$0$element = $jscomp$iter$35.next(); !$jscomp$key$435282654$0$element.done; $jscomp$key$435282654$0$element = $jscomp$iter$35.next()) {
|
|
18138
|
+
var element = $jscomp$key$435282654$0$element.value;
|
|
18139
18139
|
element = element.toUpperCase();
|
|
18140
18140
|
if (!this.sanitizerTable.isAllowedElement(element)) {
|
|
18141
18141
|
throw Error("Element: " + element + ", is not allowed by html5_contract.textpb");
|
|
@@ -18153,8 +18153,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
18153
18153
|
throw Error("Element: " + element + " is not a custom element");
|
|
18154
18154
|
}
|
|
18155
18155
|
if (allowedAttributes) {
|
|
18156
|
-
for (var elementPolicy = new Map(), $jscomp$iter$36 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$
|
|
18157
|
-
elementPolicy.set($jscomp$key$
|
|
18156
|
+
for (var elementPolicy = new Map(), $jscomp$iter$36 = $jscomp.makeIterator(allowedAttributes), $jscomp$key$435282654$1$attribute = $jscomp$iter$36.next(); !$jscomp$key$435282654$1$attribute.done; $jscomp$key$435282654$1$attribute = $jscomp$iter$36.next()) {
|
|
18157
|
+
elementPolicy.set($jscomp$key$435282654$1$attribute.value, {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP});
|
|
18158
18158
|
}
|
|
18159
18159
|
allowedElementPolicies.set(element, elementPolicy);
|
|
18160
18160
|
} else {
|
|
@@ -18164,15 +18164,15 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
18164
18164
|
return this;
|
|
18165
18165
|
};
|
|
18166
18166
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.onlyAllowAttributes = function(attributeSet) {
|
|
18167
|
-
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$37 = $jscomp.makeIterator(attributeSet), $jscomp$key$
|
|
18168
|
-
var attribute = $jscomp$key$
|
|
18167
|
+
for (var allowedGlobalAttributes = new Set(), globalAttributePolicies = new Map(), elementPolicies = new Map(), $jscomp$iter$37 = $jscomp.makeIterator(attributeSet), $jscomp$key$435282654$2$attribute = $jscomp$iter$37.next(); !$jscomp$key$435282654$2$attribute.done; $jscomp$key$435282654$2$attribute = $jscomp$iter$37.next()) {
|
|
18168
|
+
var attribute = $jscomp$key$435282654$2$attribute.value;
|
|
18169
18169
|
this.sanitizerTable.allowedGlobalAttributes.has(attribute) && allowedGlobalAttributes.add(attribute);
|
|
18170
18170
|
this.sanitizerTable.globalAttributePolicies.has(attribute) && globalAttributePolicies.set(attribute, this.sanitizerTable.globalAttributePolicies.get(attribute));
|
|
18171
18171
|
}
|
|
18172
|
-
for (var $jscomp$iter$39 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$
|
|
18173
|
-
for (var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$
|
|
18172
|
+
for (var $jscomp$iter$39 = $jscomp.makeIterator(this.sanitizerTable.elementPolicies.entries()), $jscomp$key$435282654$4$ = $jscomp$iter$39.next(); !$jscomp$key$435282654$4$.done; $jscomp$key$435282654$4$ = $jscomp$iter$39.next()) {
|
|
18173
|
+
for (var $jscomp$destructuring$var37 = $jscomp.makeIterator($jscomp$key$435282654$4$.value), elementName__tsickle_destructured_1 = $jscomp$destructuring$var37.next().value, originalElementPolicy__tsickle_destructured_2 = $jscomp$destructuring$var37.next().value, elementName = elementName__tsickle_destructured_1, newElementPolicy = new Map(), $jscomp$iter$38 = $jscomp.makeIterator(originalElementPolicy__tsickle_destructured_2.entries()), $jscomp$key$435282654$3$ = $jscomp$iter$38.next(); !$jscomp$key$435282654$3$.done; $jscomp$key$435282654$3$ =
|
|
18174
18174
|
$jscomp$iter$38.next()) {
|
|
18175
|
-
var $jscomp$destructuring$var39 = $jscomp.makeIterator($jscomp$key$
|
|
18175
|
+
var $jscomp$destructuring$var39 = $jscomp.makeIterator($jscomp$key$435282654$3$.value), attribute__tsickle_destructured_3 = $jscomp$destructuring$var39.next().value, attributePolicy__tsickle_destructured_4 = $jscomp$destructuring$var39.next().value, attribute$jscomp$0 = attribute__tsickle_destructured_3, attributePolicy = attributePolicy__tsickle_destructured_4;
|
|
18176
18176
|
attributeSet.has(attribute$jscomp$0) && newElementPolicy.set(attribute$jscomp$0, attributePolicy);
|
|
18177
18177
|
}
|
|
18178
18178
|
elementPolicies.set(elementName, newElementPolicy);
|
|
@@ -18181,8 +18181,8 @@ module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSan
|
|
|
18181
18181
|
return this;
|
|
18182
18182
|
};
|
|
18183
18183
|
module$exports$safevalues$builders$html_sanitizer$html_sanitizer_builder.HtmlSanitizerBuilder.prototype.allowDataAttributes = function(attributes) {
|
|
18184
|
-
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$40 = $jscomp.makeIterator(attributes), $jscomp$key$
|
|
18185
|
-
var attribute = $jscomp$key$
|
|
18184
|
+
for (var allowedGlobalAttributes = new Set(this.sanitizerTable.allowedGlobalAttributes), $jscomp$iter$40 = $jscomp.makeIterator(attributes), $jscomp$key$435282654$5$attribute = $jscomp$iter$40.next(); !$jscomp$key$435282654$5$attribute.done; $jscomp$key$435282654$5$attribute = $jscomp$iter$40.next()) {
|
|
18185
|
+
var attribute = $jscomp$key$435282654$5$attribute.value;
|
|
18186
18186
|
if (0 !== attribute.indexOf("data-")) {
|
|
18187
18187
|
throw Error("data attribute: " + attribute + ' does not begin with the prefix "data-"');
|
|
18188
18188
|
}
|
|
@@ -18429,12 +18429,12 @@ function module$contents$safevalues$reporting$reporting_isChangedBySanitizing(s,
|
|
|
18429
18429
|
}
|
|
18430
18430
|
try {
|
|
18431
18431
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_lenientlySanitizeHtmlAssertUnchanged(s);
|
|
18432
|
-
} catch ($jscomp$unused$catch$
|
|
18432
|
+
} catch ($jscomp$unused$catch$696273141$0) {
|
|
18433
18433
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_RELAXED_SANITIZING), !0;
|
|
18434
18434
|
}
|
|
18435
18435
|
try {
|
|
18436
18436
|
module$contents$safevalues$builders$html_sanitizer$html_sanitizer_sanitizeHtmlAssertUnchanged(s);
|
|
18437
|
-
} catch ($jscomp$unused$catch$
|
|
18437
|
+
} catch ($jscomp$unused$catch$696273141$1) {
|
|
18438
18438
|
return module$contents$safevalues$reporting$reporting_reportLegacyConversion(options, module$contents$safevalues$reporting$reporting_ReportingType.HTML_CHANGED_BY_SANITIZING), !0;
|
|
18439
18439
|
}
|
|
18440
18440
|
return !1;
|
|
@@ -18593,7 +18593,7 @@ var $jscomp$templatelit$294235699$96 = $jscomp.createTemplateTagFirstArg(["https
|
|
|
18593
18593
|
ee.apiclient = {};
|
|
18594
18594
|
var module$contents$ee$apiclient_apiclient = {};
|
|
18595
18595
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
18596
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
18596
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.389";
|
|
18597
18597
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
18598
18598
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
18599
18599
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -18883,8 +18883,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
18883
18883
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
18884
18884
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
18885
18885
|
method = method || "POST";
|
|
18886
|
-
var headers = {"Content-Type":contentType}, version = "0.1.
|
|
18887
|
-
"0.1.
|
|
18886
|
+
var headers = {"Content-Type":contentType}, version = "0.1.389";
|
|
18887
|
+
"0.1.389" === version && (version = "latest");
|
|
18888
18888
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
18889
18889
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
18890
18890
|
if (null != authToken) {
|