@google/earthengine 1.7.16 → 1.7.18
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 +256 -224
- package/build/ee_api_js.js +677 -677
- package/build/ee_api_js_debug.js +233 -202
- package/build/ee_api_js_npm.js +256 -224
- package/build/main.js +256 -224
- package/package.json +1 -1
- package/src/apiclient.js +45 -1
- package/src/data.js +5 -0
- package/src/function.js +20 -13
package/build/browser.js
CHANGED
|
@@ -6457,76 +6457,79 @@ function module$contents$goog$disposeAll_disposeAll(var_args) {
|
|
|
6457
6457
|
}
|
|
6458
6458
|
goog.disposeAll = module$contents$goog$disposeAll_disposeAll;
|
|
6459
6459
|
goog.disposable = {};
|
|
6460
|
-
goog
|
|
6461
|
-
}
|
|
6462
|
-
goog
|
|
6460
|
+
function module$contents$goog$disposable$IDisposable_IDisposable() {
|
|
6461
|
+
}
|
|
6462
|
+
module$contents$goog$disposable$IDisposable_IDisposable.prototype.dispose = function() {
|
|
6463
6463
|
};
|
|
6464
|
-
goog
|
|
6464
|
+
module$contents$goog$disposable$IDisposable_IDisposable.prototype.isDisposed = function() {
|
|
6465
6465
|
};
|
|
6466
|
-
goog.
|
|
6467
|
-
|
|
6466
|
+
goog.disposable.IDisposable = module$contents$goog$disposable$IDisposable_IDisposable;
|
|
6467
|
+
function module$contents$goog$Disposable_Disposable() {
|
|
6468
|
+
module$contents$goog$Disposable_Disposable.MONITORING_MODE != module$contents$goog$Disposable_Disposable.MonitoringMode.OFF && (module$contents$goog$Disposable_Disposable.INCLUDE_STACK_ON_CREATION && (this.creationStack = Error().stack), module$contents$goog$Disposable_Disposable.instances_[goog.getUid(this)] = this);
|
|
6468
6469
|
this.disposed_ = this.disposed_;
|
|
6469
6470
|
this.onDisposeCallbacks_ = this.onDisposeCallbacks_;
|
|
6470
|
-
}
|
|
6471
|
-
goog.
|
|
6472
|
-
goog.
|
|
6473
|
-
goog.
|
|
6474
|
-
goog.
|
|
6475
|
-
goog.
|
|
6471
|
+
}
|
|
6472
|
+
module$contents$goog$Disposable_Disposable.MonitoringMode = {OFF:0, PERMANENT:1, INTERACTIVE:2};
|
|
6473
|
+
module$contents$goog$Disposable_Disposable.MONITORING_MODE = 0;
|
|
6474
|
+
module$contents$goog$Disposable_Disposable.INCLUDE_STACK_ON_CREATION = !0;
|
|
6475
|
+
module$contents$goog$Disposable_Disposable.instances_ = {};
|
|
6476
|
+
module$contents$goog$Disposable_Disposable.getUndisposedObjects = function() {
|
|
6476
6477
|
var ret = [], id;
|
|
6477
|
-
for (id in goog.
|
|
6478
|
-
goog.
|
|
6478
|
+
for (id in module$contents$goog$Disposable_Disposable.instances_) {
|
|
6479
|
+
module$contents$goog$Disposable_Disposable.instances_.hasOwnProperty(id) && ret.push(module$contents$goog$Disposable_Disposable.instances_[Number(id)]);
|
|
6479
6480
|
}
|
|
6480
6481
|
return ret;
|
|
6481
6482
|
};
|
|
6482
|
-
goog.
|
|
6483
|
-
goog.
|
|
6483
|
+
module$contents$goog$Disposable_Disposable.clearUndisposedObjects = function() {
|
|
6484
|
+
module$contents$goog$Disposable_Disposable.instances_ = {};
|
|
6484
6485
|
};
|
|
6485
|
-
goog.
|
|
6486
|
-
goog.
|
|
6486
|
+
module$contents$goog$Disposable_Disposable.prototype.disposed_ = !1;
|
|
6487
|
+
module$contents$goog$Disposable_Disposable.prototype.isDisposed = function() {
|
|
6487
6488
|
return this.disposed_;
|
|
6488
6489
|
};
|
|
6489
|
-
goog.
|
|
6490
|
-
goog.
|
|
6491
|
-
if (!this.disposed_ && (this.disposed_ = !0, this.disposeInternal(), goog.
|
|
6490
|
+
module$contents$goog$Disposable_Disposable.prototype.getDisposed = module$contents$goog$Disposable_Disposable.prototype.isDisposed;
|
|
6491
|
+
module$contents$goog$Disposable_Disposable.prototype.dispose = function() {
|
|
6492
|
+
if (!this.disposed_ && (this.disposed_ = !0, this.disposeInternal(), module$contents$goog$Disposable_Disposable.MONITORING_MODE != module$contents$goog$Disposable_Disposable.MonitoringMode.OFF)) {
|
|
6492
6493
|
var uid = goog.getUid(this);
|
|
6493
|
-
if (goog.
|
|
6494
|
+
if (module$contents$goog$Disposable_Disposable.MONITORING_MODE == module$contents$goog$Disposable_Disposable.MonitoringMode.PERMANENT && !module$contents$goog$Disposable_Disposable.instances_.hasOwnProperty(uid)) {
|
|
6494
6495
|
throw Error(this + " did not call the goog.Disposable base constructor or was disposed of after a clearUndisposedObjects call");
|
|
6495
6496
|
}
|
|
6496
|
-
if (goog.
|
|
6497
|
+
if (module$contents$goog$Disposable_Disposable.MONITORING_MODE != module$contents$goog$Disposable_Disposable.MonitoringMode.OFF && this.onDisposeCallbacks_ && this.onDisposeCallbacks_.length > 0) {
|
|
6497
6498
|
throw Error(this + " did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");
|
|
6498
6499
|
}
|
|
6499
|
-
delete goog.
|
|
6500
|
+
delete module$contents$goog$Disposable_Disposable.instances_[uid];
|
|
6500
6501
|
}
|
|
6501
6502
|
};
|
|
6502
|
-
goog.
|
|
6503
|
+
module$contents$goog$Disposable_Disposable.prototype[Symbol.dispose] = function() {
|
|
6503
6504
|
this.dispose();
|
|
6504
6505
|
};
|
|
6505
|
-
goog.
|
|
6506
|
+
module$contents$goog$Disposable_Disposable.prototype.registerDisposable = function(disposable) {
|
|
6506
6507
|
this.addOnDisposeCallback(goog.partial(module$contents$goog$dispose_dispose, disposable));
|
|
6507
6508
|
};
|
|
6508
|
-
goog.
|
|
6509
|
+
module$contents$goog$Disposable_Disposable.prototype.addOnDisposeCallback = function(callback, opt_scope) {
|
|
6509
6510
|
this.disposed_ ? opt_scope !== void 0 ? callback.call(opt_scope) : callback() : (this.onDisposeCallbacks_ || (this.onDisposeCallbacks_ = []), opt_scope && (callback = goog.TRUSTED_SITE ? callback.bind(opt_scope) : goog.bind(callback, opt_scope)), this.onDisposeCallbacks_.push(callback));
|
|
6510
6511
|
};
|
|
6511
|
-
goog.
|
|
6512
|
+
module$contents$goog$Disposable_Disposable.prototype.disposeInternal = function() {
|
|
6512
6513
|
if (this.onDisposeCallbacks_) {
|
|
6513
6514
|
for (; this.onDisposeCallbacks_.length;) {
|
|
6514
6515
|
this.onDisposeCallbacks_.shift()();
|
|
6515
6516
|
}
|
|
6516
6517
|
}
|
|
6517
6518
|
};
|
|
6518
|
-
goog.
|
|
6519
|
+
module$contents$goog$Disposable_Disposable.isDisposed = function(obj) {
|
|
6519
6520
|
return obj && typeof obj.isDisposed == "function" ? obj.isDisposed() : !1;
|
|
6520
6521
|
};
|
|
6522
|
+
goog.Disposable = module$contents$goog$Disposable_Disposable;
|
|
6521
6523
|
goog.events = {};
|
|
6522
|
-
goog
|
|
6524
|
+
function module$contents$goog$events$EventId_EventId(eventId) {
|
|
6523
6525
|
this.id = eventId;
|
|
6524
|
-
}
|
|
6525
|
-
goog
|
|
6526
|
+
}
|
|
6527
|
+
module$contents$goog$events$EventId_EventId.prototype.toString = function() {
|
|
6526
6528
|
return this.id;
|
|
6527
6529
|
};
|
|
6530
|
+
goog.events.EventId = module$contents$goog$events$EventId_EventId;
|
|
6528
6531
|
goog.events.Event = function(type, opt_target) {
|
|
6529
|
-
this.type = type instanceof goog
|
|
6532
|
+
this.type = type instanceof module$contents$goog$events$EventId_EventId ? String(type) : type;
|
|
6530
6533
|
this.currentTarget = this.target = opt_target;
|
|
6531
6534
|
this.defaultPrevented = this.propagationStopped_ = !1;
|
|
6532
6535
|
};
|
|
@@ -7856,60 +7859,60 @@ goog.events.wrapListener = function(listener) {
|
|
|
7856
7859
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
7857
7860
|
goog.events.handleBrowserEvent_ = transformer(goog.events.handleBrowserEvent_);
|
|
7858
7861
|
});
|
|
7859
|
-
goog
|
|
7860
|
-
goog.
|
|
7862
|
+
function module$contents$goog$events$EventTarget_EventsEventTarget() {
|
|
7863
|
+
module$contents$goog$Disposable_Disposable.call(this);
|
|
7861
7864
|
this.eventTargetListeners_ = new module$contents$goog$events$ListenerMap_ListenerMap(this);
|
|
7862
7865
|
this.actualEventTarget_ = this;
|
|
7863
7866
|
this.parentEventTarget_ = null;
|
|
7864
|
-
}
|
|
7865
|
-
goog.inherits(goog
|
|
7866
|
-
goog.events.Listenable.addImplementation(goog
|
|
7867
|
-
goog
|
|
7868
|
-
goog
|
|
7867
|
+
}
|
|
7868
|
+
goog.inherits(module$contents$goog$events$EventTarget_EventsEventTarget, module$contents$goog$Disposable_Disposable);
|
|
7869
|
+
goog.events.Listenable.addImplementation(module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
7870
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.MAX_ANCESTORS_ = 1E3;
|
|
7871
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.getParentEventTarget = function() {
|
|
7869
7872
|
return this.parentEventTarget_;
|
|
7870
7873
|
};
|
|
7871
|
-
goog
|
|
7874
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.setParentEventTarget = function(parent) {
|
|
7872
7875
|
this.parentEventTarget_ = parent;
|
|
7873
7876
|
};
|
|
7874
|
-
goog
|
|
7877
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.addEventListener = function(type, handler, opt_capture, opt_handlerScope) {
|
|
7875
7878
|
goog.events.listen(this, type, handler, opt_capture, opt_handlerScope);
|
|
7876
7879
|
};
|
|
7877
|
-
goog
|
|
7880
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.removeEventListener = function(type, handler, opt_capture, opt_handlerScope) {
|
|
7878
7881
|
goog.events.unlisten(this, type, handler, opt_capture, opt_handlerScope);
|
|
7879
7882
|
};
|
|
7880
|
-
goog
|
|
7883
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.dispatchEvent = function(e) {
|
|
7881
7884
|
this.assertInitialized_();
|
|
7882
7885
|
var ancestor = this.getParentEventTarget();
|
|
7883
7886
|
if (ancestor) {
|
|
7884
7887
|
var ancestorsTree = [];
|
|
7885
7888
|
for (var ancestorCount = 1; ancestor; ancestor = ancestor.getParentEventTarget()) {
|
|
7886
|
-
ancestorsTree.push(ancestor), goog.asserts.assert(++ancestorCount < goog
|
|
7889
|
+
ancestorsTree.push(ancestor), goog.asserts.assert(++ancestorCount < module$contents$goog$events$EventTarget_EventsEventTarget.MAX_ANCESTORS_, "infinite loop");
|
|
7887
7890
|
}
|
|
7888
7891
|
}
|
|
7889
|
-
return goog
|
|
7892
|
+
return module$contents$goog$events$EventTarget_EventsEventTarget.dispatchEventInternal_(this.actualEventTarget_, e, ancestorsTree);
|
|
7890
7893
|
};
|
|
7891
|
-
goog
|
|
7892
|
-
goog
|
|
7894
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.disposeInternal = function() {
|
|
7895
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.superClass_.disposeInternal.call(this);
|
|
7893
7896
|
this.removeAllListeners();
|
|
7894
7897
|
this.parentEventTarget_ = null;
|
|
7895
7898
|
};
|
|
7896
|
-
goog
|
|
7899
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.listen = function(type, listener, opt_useCapture, opt_listenerScope) {
|
|
7897
7900
|
this.assertInitialized_();
|
|
7898
7901
|
return this.eventTargetListeners_.add(String(type), listener, !1, opt_useCapture, opt_listenerScope);
|
|
7899
7902
|
};
|
|
7900
|
-
goog
|
|
7903
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.listenOnce = function(type, listener, opt_useCapture, opt_listenerScope) {
|
|
7901
7904
|
return this.eventTargetListeners_.add(String(type), listener, !0, opt_useCapture, opt_listenerScope);
|
|
7902
7905
|
};
|
|
7903
|
-
goog
|
|
7906
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.unlisten = function(type, listener, opt_useCapture, opt_listenerScope) {
|
|
7904
7907
|
return this.eventTargetListeners_.remove(String(type), listener, opt_useCapture, opt_listenerScope);
|
|
7905
7908
|
};
|
|
7906
|
-
goog
|
|
7909
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.unlistenByKey = function(key) {
|
|
7907
7910
|
return this.eventTargetListeners_.removeByKey(key);
|
|
7908
7911
|
};
|
|
7909
|
-
goog
|
|
7912
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.removeAllListeners = function(opt_type) {
|
|
7910
7913
|
return this.eventTargetListeners_ ? this.eventTargetListeners_.removeAll(opt_type) : 0;
|
|
7911
7914
|
};
|
|
7912
|
-
goog
|
|
7915
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.fireListeners = function(type, capture, eventObject) {
|
|
7913
7916
|
var listenerArray = this.eventTargetListeners_.listeners[String(type)];
|
|
7914
7917
|
if (!listenerArray) {
|
|
7915
7918
|
return !0;
|
|
@@ -7925,22 +7928,22 @@ goog.events.EventTarget.prototype.fireListeners = function(type, capture, eventO
|
|
|
7925
7928
|
}
|
|
7926
7929
|
return rv && !eventObject.defaultPrevented;
|
|
7927
7930
|
};
|
|
7928
|
-
goog
|
|
7931
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.getListeners = function(type, capture) {
|
|
7929
7932
|
return this.eventTargetListeners_.getListeners(String(type), capture);
|
|
7930
7933
|
};
|
|
7931
|
-
goog
|
|
7934
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.getListener = function(type, listener, capture, opt_listenerScope) {
|
|
7932
7935
|
return this.eventTargetListeners_.getListener(String(type), listener, capture, opt_listenerScope);
|
|
7933
7936
|
};
|
|
7934
|
-
goog
|
|
7937
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.hasListener = function(opt_type, opt_capture) {
|
|
7935
7938
|
return this.eventTargetListeners_.hasListener(opt_type !== void 0 ? String(opt_type) : void 0, opt_capture);
|
|
7936
7939
|
};
|
|
7937
|
-
goog
|
|
7940
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.setTargetForTesting = function(target) {
|
|
7938
7941
|
this.actualEventTarget_ = target;
|
|
7939
7942
|
};
|
|
7940
|
-
goog
|
|
7943
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.assertInitialized_ = function() {
|
|
7941
7944
|
goog.asserts.assert(this.eventTargetListeners_, "Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?");
|
|
7942
7945
|
};
|
|
7943
|
-
goog
|
|
7946
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.dispatchEventInternal_ = function(target, e, opt_ancestorsTree) {
|
|
7944
7947
|
var type = e.type || e;
|
|
7945
7948
|
if (typeof e === "string") {
|
|
7946
7949
|
e = new goog.events.Event(e, target);
|
|
@@ -7966,6 +7969,7 @@ goog.events.EventTarget.dispatchEventInternal_ = function(target, e, opt_ancesto
|
|
|
7966
7969
|
}
|
|
7967
7970
|
return rv;
|
|
7968
7971
|
};
|
|
7972
|
+
goog.events.EventTarget = module$contents$goog$events$EventTarget_EventsEventTarget;
|
|
7969
7973
|
goog.structs.Collection = function() {
|
|
7970
7974
|
};
|
|
7971
7975
|
goog.collections.iters = {};
|
|
@@ -9181,7 +9185,7 @@ ee_root.third_party.earthengine_api = {};
|
|
|
9181
9185
|
ee_root.third_party.earthengine_api.javascript = {};
|
|
9182
9186
|
ee_root.third_party.earthengine_api.javascript.abstractoverlay = {};
|
|
9183
9187
|
ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay = function(url, mapId, token, opt_init, opt_profiler) {
|
|
9184
|
-
goog
|
|
9188
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.call(this);
|
|
9185
9189
|
this.mapId = mapId;
|
|
9186
9190
|
this.token = token;
|
|
9187
9191
|
this.tilesLoading = [];
|
|
@@ -9189,7 +9193,7 @@ ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay =
|
|
|
9189
9193
|
this.tileCounter = 0;
|
|
9190
9194
|
this.url = url;
|
|
9191
9195
|
};
|
|
9192
|
-
goog.inherits(ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay, goog
|
|
9196
|
+
goog.inherits(ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay, module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
9193
9197
|
goog.exportSymbol("ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay", ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay);
|
|
9194
9198
|
ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.EventType = {TILE_LOADED:"tileevent"};
|
|
9195
9199
|
ee_root.third_party.earthengine_api.javascript.abstractoverlay.AbstractOverlay.prototype.getTileId = function(coord, zoom) {
|
|
@@ -15548,13 +15552,13 @@ goog.Promise.Resolver_ = function(promise, resolve, reject) {
|
|
|
15548
15552
|
this.reject = reject;
|
|
15549
15553
|
};
|
|
15550
15554
|
function module$contents$goog$Timer_Timer(opt_interval, opt_timerObject) {
|
|
15551
|
-
goog
|
|
15555
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.call(this);
|
|
15552
15556
|
this.interval_ = opt_interval || 1;
|
|
15553
15557
|
this.timerObject_ = opt_timerObject || module$contents$goog$Timer_Timer.defaultTimerObject;
|
|
15554
15558
|
this.boundTick_ = goog.bind(this.tick_, this);
|
|
15555
15559
|
this.last_ = goog.now();
|
|
15556
15560
|
}
|
|
15557
|
-
goog.inherits(module$contents$goog$Timer_Timer, goog
|
|
15561
|
+
goog.inherits(module$contents$goog$Timer_Timer, module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
15558
15562
|
module$contents$goog$Timer_Timer.MAX_TIMEOUT_ = 2147483647;
|
|
15559
15563
|
module$contents$goog$Timer_Timer.INVALID_TIMEOUT_ID_ = -1;
|
|
15560
15564
|
module$contents$goog$Timer_Timer.prototype.enabled = !1;
|
|
@@ -15618,7 +15622,7 @@ module$contents$goog$Timer_Timer.promise = function(delay, opt_result) {
|
|
|
15618
15622
|
};
|
|
15619
15623
|
goog.Timer = module$contents$goog$Timer_Timer;
|
|
15620
15624
|
var module$contents$goog$async$Throttle_Throttle = function(listener, interval, handler) {
|
|
15621
|
-
goog.
|
|
15625
|
+
module$contents$goog$Disposable_Disposable.call(this);
|
|
15622
15626
|
this.listener_ = handler != null ? listener.bind(handler) : listener;
|
|
15623
15627
|
this.interval_ = interval;
|
|
15624
15628
|
this.args_ = null;
|
|
@@ -15626,7 +15630,7 @@ var module$contents$goog$async$Throttle_Throttle = function(listener, interval,
|
|
|
15626
15630
|
this.pauseCount_ = 0;
|
|
15627
15631
|
this.timer_ = null;
|
|
15628
15632
|
};
|
|
15629
|
-
$jscomp.inherits(module$contents$goog$async$Throttle_Throttle, goog
|
|
15633
|
+
$jscomp.inherits(module$contents$goog$async$Throttle_Throttle, module$contents$goog$Disposable_Disposable);
|
|
15630
15634
|
module$contents$goog$async$Throttle_Throttle.prototype.fire = function(var_args) {
|
|
15631
15635
|
this.args_ = arguments;
|
|
15632
15636
|
this.timer_ || this.pauseCount_ ? this.shouldFire_ = !0 : this.doAction_();
|
|
@@ -15642,7 +15646,7 @@ module$contents$goog$async$Throttle_Throttle.prototype.resume = function() {
|
|
|
15642
15646
|
this.pauseCount_ || !this.shouldFire_ || this.timer_ || (this.shouldFire_ = !1, this.doAction_());
|
|
15643
15647
|
};
|
|
15644
15648
|
module$contents$goog$async$Throttle_Throttle.prototype.disposeInternal = function() {
|
|
15645
|
-
goog.
|
|
15649
|
+
module$contents$goog$Disposable_Disposable.prototype.disposeInternal.call(this);
|
|
15646
15650
|
this.stop();
|
|
15647
15651
|
};
|
|
15648
15652
|
module$contents$goog$async$Throttle_Throttle.prototype.onTimer_ = function() {
|
|
@@ -18702,7 +18706,7 @@ goog.dom.DomHelper.prototype.getCanvasContext2D = goog.dom.getCanvasContext2D;
|
|
|
18702
18706
|
goog.async.DeferredDefines = {};
|
|
18703
18707
|
goog.async.DeferredDefines.STRICT_ERRORS = !1;
|
|
18704
18708
|
goog.async.DeferredDefines.LONG_STACK_TRACES = !1;
|
|
18705
|
-
goog
|
|
18709
|
+
function module$contents$goog$async$Deferred_Deferred(opt_onCancelFunction, opt_defaultScope) {
|
|
18706
18710
|
this.sequence_ = [];
|
|
18707
18711
|
this.onCancelFunction_ = opt_onCancelFunction;
|
|
18708
18712
|
this.defaultScope_ = opt_defaultScope || null;
|
|
@@ -18714,16 +18718,16 @@ goog.async.Deferred = function(opt_onCancelFunction, opt_defaultScope) {
|
|
|
18714
18718
|
this.branches_ = 0;
|
|
18715
18719
|
if (goog.async.DeferredDefines.LONG_STACK_TRACES && (this.constructorStack_ = null, Error.captureStackTrace)) {
|
|
18716
18720
|
var target = {stack:""};
|
|
18717
|
-
Error.captureStackTrace(target, goog
|
|
18721
|
+
Error.captureStackTrace(target, module$contents$goog$async$Deferred_Deferred);
|
|
18718
18722
|
typeof target.stack == "string" && (this.constructorStack_ = target.stack.replace(/^[^\n]*\n/, ""));
|
|
18719
18723
|
}
|
|
18720
|
-
}
|
|
18721
|
-
goog
|
|
18722
|
-
goog
|
|
18723
|
-
goog
|
|
18724
|
-
goog
|
|
18724
|
+
}
|
|
18725
|
+
module$contents$goog$async$Deferred_Deferred.wrap_ = module$exports$common$async$context$propagate.propagateAsyncContext;
|
|
18726
|
+
module$contents$goog$async$Deferred_Deferred.STRICT_ERRORS = goog.async.DeferredDefines.STRICT_ERRORS;
|
|
18727
|
+
module$contents$goog$async$Deferred_Deferred.LONG_STACK_TRACES = goog.async.DeferredDefines.LONG_STACK_TRACES;
|
|
18728
|
+
module$contents$goog$async$Deferred_Deferred.prototype.cancel = function(opt_deepCancel) {
|
|
18725
18729
|
if (this.hasFired()) {
|
|
18726
|
-
this.result_ instanceof goog
|
|
18730
|
+
this.result_ instanceof module$contents$goog$async$Deferred_Deferred && this.result_.cancel();
|
|
18727
18731
|
} else {
|
|
18728
18732
|
if (this.parent_) {
|
|
18729
18733
|
var parent = this.parent_;
|
|
@@ -18731,64 +18735,64 @@ goog.async.Deferred.prototype.cancel = function(opt_deepCancel) {
|
|
|
18731
18735
|
opt_deepCancel ? parent.cancel(opt_deepCancel) : parent.branchCancel_();
|
|
18732
18736
|
}
|
|
18733
18737
|
this.onCancelFunction_ ? this.onCancelFunction_.call(this.defaultScope_, this) : this.silentlyCanceled_ = !0;
|
|
18734
|
-
this.hasFired() || this.errback(new goog
|
|
18738
|
+
this.hasFired() || this.errback(new module$contents$goog$async$Deferred_Deferred.CanceledError(this));
|
|
18735
18739
|
}
|
|
18736
18740
|
};
|
|
18737
|
-
goog
|
|
18741
|
+
module$contents$goog$async$Deferred_Deferred.prototype.branchCancel_ = function() {
|
|
18738
18742
|
this.branches_--;
|
|
18739
18743
|
this.branches_ <= 0 && this.cancel();
|
|
18740
18744
|
};
|
|
18741
|
-
goog
|
|
18745
|
+
module$contents$goog$async$Deferred_Deferred.prototype.continue_ = function(isSuccess, res) {
|
|
18742
18746
|
this.blocked_ = !1;
|
|
18743
18747
|
this.updateResult_(isSuccess, res);
|
|
18744
18748
|
};
|
|
18745
|
-
goog
|
|
18749
|
+
module$contents$goog$async$Deferred_Deferred.prototype.updateResult_ = function(isSuccess, res) {
|
|
18746
18750
|
this.fired_ = !0;
|
|
18747
18751
|
this.result_ = res;
|
|
18748
18752
|
this.hadError_ = !isSuccess;
|
|
18749
18753
|
this.fire_();
|
|
18750
18754
|
};
|
|
18751
|
-
goog
|
|
18755
|
+
module$contents$goog$async$Deferred_Deferred.prototype.check_ = function() {
|
|
18752
18756
|
if (this.hasFired()) {
|
|
18753
18757
|
if (!this.silentlyCanceled_) {
|
|
18754
|
-
throw new goog
|
|
18758
|
+
throw new module$contents$goog$async$Deferred_Deferred.AlreadyCalledError(this);
|
|
18755
18759
|
}
|
|
18756
18760
|
this.silentlyCanceled_ = !1;
|
|
18757
18761
|
}
|
|
18758
18762
|
};
|
|
18759
|
-
goog
|
|
18763
|
+
module$contents$goog$async$Deferred_Deferred.prototype.callback = function(opt_result) {
|
|
18760
18764
|
this.check_();
|
|
18761
18765
|
this.assertNotDeferred_(opt_result);
|
|
18762
18766
|
this.updateResult_(!0, opt_result);
|
|
18763
18767
|
};
|
|
18764
|
-
goog
|
|
18768
|
+
module$contents$goog$async$Deferred_Deferred.prototype.errback = function(opt_result) {
|
|
18765
18769
|
this.check_();
|
|
18766
18770
|
this.assertNotDeferred_(opt_result);
|
|
18767
18771
|
this.makeStackTraceLong_(opt_result);
|
|
18768
18772
|
this.updateResult_(!1, opt_result);
|
|
18769
18773
|
};
|
|
18770
|
-
goog
|
|
18774
|
+
module$contents$goog$async$Deferred_Deferred.unhandledErrorHandler_ = function(e) {
|
|
18771
18775
|
throw e;
|
|
18772
18776
|
};
|
|
18773
|
-
goog
|
|
18774
|
-
goog
|
|
18777
|
+
module$contents$goog$async$Deferred_Deferred.setUnhandledErrorHandler = function(handler) {
|
|
18778
|
+
module$contents$goog$async$Deferred_Deferred.unhandledErrorHandler_ = handler;
|
|
18775
18779
|
};
|
|
18776
|
-
goog
|
|
18780
|
+
module$contents$goog$async$Deferred_Deferred.prototype.makeStackTraceLong_ = function(error) {
|
|
18777
18781
|
goog.async.DeferredDefines.LONG_STACK_TRACES && this.constructorStack_ && goog.isObject(error) && error.stack && /^[^\n]+(\n [^\n]+)+/.test(error.stack) && (error.stack = error.stack + "\nDEFERRED OPERATION:\n" + this.constructorStack_);
|
|
18778
18782
|
};
|
|
18779
|
-
goog
|
|
18780
|
-
goog.asserts.assert(!(obj instanceof goog
|
|
18783
|
+
module$contents$goog$async$Deferred_Deferred.prototype.assertNotDeferred_ = function(obj) {
|
|
18784
|
+
goog.asserts.assert(!(obj instanceof module$contents$goog$async$Deferred_Deferred), "An execution sequence may not be initiated with a blocking Deferred.");
|
|
18781
18785
|
};
|
|
18782
|
-
goog
|
|
18786
|
+
module$contents$goog$async$Deferred_Deferred.prototype.addCallback = function(cb, opt_scope) {
|
|
18783
18787
|
return this.addCallbacks(cb, null, opt_scope);
|
|
18784
18788
|
};
|
|
18785
|
-
goog
|
|
18789
|
+
module$contents$goog$async$Deferred_Deferred.prototype.addErrback = function(eb, opt_scope) {
|
|
18786
18790
|
return this.addCallbacks(null, eb, opt_scope);
|
|
18787
18791
|
};
|
|
18788
|
-
goog
|
|
18792
|
+
module$contents$goog$async$Deferred_Deferred.prototype.addBoth = function(f, opt_scope) {
|
|
18789
18793
|
return this.addCallbacks(f, f, opt_scope);
|
|
18790
18794
|
};
|
|
18791
|
-
goog
|
|
18795
|
+
module$contents$goog$async$Deferred_Deferred.prototype.addFinally = function(f, opt_scope) {
|
|
18792
18796
|
return this.addCallbacks(f, function(err) {
|
|
18793
18797
|
var result = f.call(this, err);
|
|
18794
18798
|
if (result === void 0) {
|
|
@@ -18797,9 +18801,9 @@ goog.async.Deferred.prototype.addFinally = function(f, opt_scope) {
|
|
|
18797
18801
|
return result;
|
|
18798
18802
|
}, opt_scope);
|
|
18799
18803
|
};
|
|
18800
|
-
goog
|
|
18804
|
+
module$contents$goog$async$Deferred_Deferred.prototype.finally = function(f) {
|
|
18801
18805
|
var $jscomp$this$m1728524513$17 = this;
|
|
18802
|
-
return goog
|
|
18806
|
+
return module$contents$goog$async$Deferred_Deferred.fromPromise(new Promise(function(resolve, reject) {
|
|
18803
18807
|
$jscomp$this$m1728524513$17.addCallbacks(function(v) {
|
|
18804
18808
|
f();
|
|
18805
18809
|
resolve(v);
|
|
@@ -18809,7 +18813,7 @@ goog.async.Deferred.prototype.finally = function(f) {
|
|
|
18809
18813
|
});
|
|
18810
18814
|
}));
|
|
18811
18815
|
};
|
|
18812
|
-
goog
|
|
18816
|
+
module$contents$goog$async$Deferred_Deferred.prototype.addCallbacks = function(cb, eb, opt_scope) {
|
|
18813
18817
|
goog.asserts.assert(!this.blocking_, "Blocking Deferreds can not be re-used");
|
|
18814
18818
|
var fired = this.hasFired();
|
|
18815
18819
|
fired || (cb === eb ? cb = eb = module$exports$common$async$context$propagate.propagateAsyncContext(cb) : (cb = module$exports$common$async$context$propagate.propagateAsyncContext(cb), eb = module$exports$common$async$context$propagate.propagateAsyncContext(eb)));
|
|
@@ -18817,50 +18821,50 @@ goog.async.Deferred.prototype.addCallbacks = function(cb, eb, opt_scope) {
|
|
|
18817
18821
|
fired && this.fire_();
|
|
18818
18822
|
return this;
|
|
18819
18823
|
};
|
|
18820
|
-
goog
|
|
18824
|
+
module$contents$goog$async$Deferred_Deferred.prototype.then = function(opt_onFulfilled, opt_onRejected, opt_context) {
|
|
18821
18825
|
var reject, resolve, promise = new goog.Promise(function(res, rej) {
|
|
18822
18826
|
resolve = res;
|
|
18823
18827
|
reject = rej;
|
|
18824
18828
|
});
|
|
18825
18829
|
this.addCallbacks(resolve, function(reason) {
|
|
18826
|
-
reason instanceof goog
|
|
18827
|
-
return goog
|
|
18830
|
+
reason instanceof module$contents$goog$async$Deferred_Deferred.CanceledError ? promise.cancel() : reject(reason);
|
|
18831
|
+
return module$contents$goog$async$Deferred_Deferred.CONVERTED_TO_PROMISE_;
|
|
18828
18832
|
}, this);
|
|
18829
18833
|
return promise.then(opt_onFulfilled, opt_onRejected, opt_context);
|
|
18830
18834
|
};
|
|
18831
|
-
module$contents$goog$Thenable_Thenable.addImplementation(goog
|
|
18832
|
-
goog
|
|
18835
|
+
module$contents$goog$Thenable_Thenable.addImplementation(module$contents$goog$async$Deferred_Deferred);
|
|
18836
|
+
module$contents$goog$async$Deferred_Deferred.prototype.chainDeferred = function(otherDeferred) {
|
|
18833
18837
|
this.addCallbacks(otherDeferred.callback, otherDeferred.errback, otherDeferred);
|
|
18834
18838
|
return this;
|
|
18835
18839
|
};
|
|
18836
|
-
goog
|
|
18837
|
-
return otherDeferred instanceof goog
|
|
18840
|
+
module$contents$goog$async$Deferred_Deferred.prototype.awaitDeferred = function(otherDeferred) {
|
|
18841
|
+
return otherDeferred instanceof module$contents$goog$async$Deferred_Deferred ? this.addCallback(goog.bind(otherDeferred.branch, otherDeferred)) : this.addCallback(function() {
|
|
18838
18842
|
return otherDeferred;
|
|
18839
18843
|
});
|
|
18840
18844
|
};
|
|
18841
|
-
goog
|
|
18842
|
-
var d = new goog
|
|
18845
|
+
module$contents$goog$async$Deferred_Deferred.prototype.branch = function(opt_propagateCancel) {
|
|
18846
|
+
var d = new module$contents$goog$async$Deferred_Deferred();
|
|
18843
18847
|
this.chainDeferred(d);
|
|
18844
18848
|
opt_propagateCancel && (d.parent_ = this, this.branches_++);
|
|
18845
18849
|
return d;
|
|
18846
18850
|
};
|
|
18847
|
-
goog
|
|
18851
|
+
module$contents$goog$async$Deferred_Deferred.prototype.hasFired = function() {
|
|
18848
18852
|
return this.fired_;
|
|
18849
18853
|
};
|
|
18850
|
-
goog
|
|
18854
|
+
module$contents$goog$async$Deferred_Deferred.prototype.isError = function(res) {
|
|
18851
18855
|
return res instanceof Error;
|
|
18852
18856
|
};
|
|
18853
|
-
goog
|
|
18857
|
+
module$contents$goog$async$Deferred_Deferred.prototype.hasErrback_ = function() {
|
|
18854
18858
|
return module$contents$goog$array_some(this.sequence_, function(sequenceRow) {
|
|
18855
18859
|
return typeof sequenceRow[1] === "function";
|
|
18856
18860
|
});
|
|
18857
18861
|
};
|
|
18858
|
-
goog
|
|
18862
|
+
module$contents$goog$async$Deferred_Deferred.prototype.getLastValueForMigration = function() {
|
|
18859
18863
|
return this.hasFired() && !this.hadError_ ? this.result_ : void 0;
|
|
18860
18864
|
};
|
|
18861
|
-
goog
|
|
18862
|
-
goog
|
|
18863
|
-
this.unhandledErrorId_ && this.hasFired() && this.hasErrback_() && (goog
|
|
18865
|
+
module$contents$goog$async$Deferred_Deferred.CONVERTED_TO_PROMISE_ = {};
|
|
18866
|
+
module$contents$goog$async$Deferred_Deferred.prototype.fire_ = function() {
|
|
18867
|
+
this.unhandledErrorId_ && this.hasFired() && this.hasErrback_() && (module$contents$goog$async$Deferred_Deferred.unscheduleError_(this.unhandledErrorId_), this.unhandledErrorId_ = 0);
|
|
18864
18868
|
this.parent_ && (this.parent_.branches_--, delete this.parent_);
|
|
18865
18869
|
for (var res = this.result_, unhandledException = !1, isNewlyBlocked = !1, wasConvertedToPromise = !1; this.sequence_.length && !this.blocked_;) {
|
|
18866
18870
|
wasConvertedToPromise = !1;
|
|
@@ -18868,7 +18872,7 @@ goog.async.Deferred.prototype.fire_ = function() {
|
|
|
18868
18872
|
if (f) {
|
|
18869
18873
|
try {
|
|
18870
18874
|
var ret = f.call(scope || this.defaultScope_, res);
|
|
18871
|
-
ret === goog
|
|
18875
|
+
ret === module$contents$goog$async$Deferred_Deferred.CONVERTED_TO_PROMISE_ && (wasConvertedToPromise = !0, ret = void 0);
|
|
18872
18876
|
ret !== void 0 && (this.hadError_ = this.hadError_ && (ret == res || this.isError(ret)), this.result_ = res = ret);
|
|
18873
18877
|
if (module$contents$goog$Thenable_Thenable.isImplementedBy(res) || typeof goog.global.Promise === "function" && res instanceof goog.global.Promise) {
|
|
18874
18878
|
this.blocked_ = isNewlyBlocked = !0;
|
|
@@ -18881,19 +18885,19 @@ goog.async.Deferred.prototype.fire_ = function() {
|
|
|
18881
18885
|
this.result_ = res;
|
|
18882
18886
|
if (isNewlyBlocked) {
|
|
18883
18887
|
var onCallback = goog.bind(this.continue_, this, !0), onErrback = goog.bind(this.continue_, this, !1);
|
|
18884
|
-
res instanceof goog
|
|
18888
|
+
res instanceof module$contents$goog$async$Deferred_Deferred ? (res.addCallbacks(onCallback, onErrback), res.blocking_ = !0) : res.then(onCallback, onErrback);
|
|
18885
18889
|
} else {
|
|
18886
|
-
!goog.async.DeferredDefines.STRICT_ERRORS || wasConvertedToPromise || !this.isError(res) || res instanceof goog
|
|
18890
|
+
!goog.async.DeferredDefines.STRICT_ERRORS || wasConvertedToPromise || !this.isError(res) || res instanceof module$contents$goog$async$Deferred_Deferred.CanceledError || (unhandledException = this.hadError_ = !0);
|
|
18887
18891
|
}
|
|
18888
|
-
unhandledException && (this.unhandledErrorId_ = goog
|
|
18892
|
+
unhandledException && (this.unhandledErrorId_ = module$contents$goog$async$Deferred_Deferred.scheduleError_(res));
|
|
18889
18893
|
};
|
|
18890
|
-
goog
|
|
18891
|
-
var d = new goog
|
|
18894
|
+
module$contents$goog$async$Deferred_Deferred.succeed = function(opt_result) {
|
|
18895
|
+
var d = new module$contents$goog$async$Deferred_Deferred();
|
|
18892
18896
|
d.callback(opt_result);
|
|
18893
18897
|
return d;
|
|
18894
18898
|
};
|
|
18895
|
-
goog
|
|
18896
|
-
var d = new goog
|
|
18899
|
+
module$contents$goog$async$Deferred_Deferred.fromPromise = function(promise) {
|
|
18900
|
+
var d = new module$contents$goog$async$Deferred_Deferred();
|
|
18897
18901
|
promise.then(function(value) {
|
|
18898
18902
|
d.callback(value);
|
|
18899
18903
|
}, function(error) {
|
|
@@ -18901,63 +18905,63 @@ goog.async.Deferred.fromPromise = function(promise) {
|
|
|
18901
18905
|
});
|
|
18902
18906
|
return d;
|
|
18903
18907
|
};
|
|
18904
|
-
goog
|
|
18905
|
-
var d = new goog
|
|
18908
|
+
module$contents$goog$async$Deferred_Deferred.fail = function(res) {
|
|
18909
|
+
var d = new module$contents$goog$async$Deferred_Deferred();
|
|
18906
18910
|
d.errback(res);
|
|
18907
18911
|
return d;
|
|
18908
18912
|
};
|
|
18909
|
-
goog
|
|
18910
|
-
var d = new goog
|
|
18913
|
+
module$contents$goog$async$Deferred_Deferred.canceled = function() {
|
|
18914
|
+
var d = new module$contents$goog$async$Deferred_Deferred();
|
|
18911
18915
|
d.cancel();
|
|
18912
18916
|
return d;
|
|
18913
18917
|
};
|
|
18914
|
-
goog
|
|
18915
|
-
return value instanceof goog
|
|
18918
|
+
module$contents$goog$async$Deferred_Deferred.when = function(value, callback, opt_scope) {
|
|
18919
|
+
return value instanceof module$contents$goog$async$Deferred_Deferred ? value.branch(!0).addCallback(callback, opt_scope) : module$contents$goog$async$Deferred_Deferred.succeed(value).addCallback(callback, opt_scope);
|
|
18916
18920
|
};
|
|
18917
|
-
goog
|
|
18921
|
+
module$contents$goog$async$Deferred_Deferred.AlreadyCalledError = function(deferred) {
|
|
18918
18922
|
module$contents$goog$debug$Error_DebugError.call(this);
|
|
18919
18923
|
this.deferred = deferred;
|
|
18920
18924
|
};
|
|
18921
|
-
goog.inherits(goog
|
|
18922
|
-
goog
|
|
18923
|
-
goog
|
|
18924
|
-
goog
|
|
18925
|
+
goog.inherits(module$contents$goog$async$Deferred_Deferred.AlreadyCalledError, module$contents$goog$debug$Error_DebugError);
|
|
18926
|
+
module$contents$goog$async$Deferred_Deferred.AlreadyCalledError.prototype.message = "Deferred has already fired";
|
|
18927
|
+
module$contents$goog$async$Deferred_Deferred.AlreadyCalledError.prototype.name = "AlreadyCalledError";
|
|
18928
|
+
module$contents$goog$async$Deferred_Deferred.CanceledError = function(deferred) {
|
|
18925
18929
|
module$contents$goog$debug$Error_DebugError.call(this);
|
|
18926
18930
|
this.deferred = deferred;
|
|
18927
18931
|
};
|
|
18928
|
-
goog.inherits(goog
|
|
18929
|
-
goog
|
|
18930
|
-
goog
|
|
18931
|
-
goog
|
|
18932
|
+
goog.inherits(module$contents$goog$async$Deferred_Deferred.CanceledError, module$contents$goog$debug$Error_DebugError);
|
|
18933
|
+
module$contents$goog$async$Deferred_Deferred.CanceledError.prototype.message = "Deferred was canceled";
|
|
18934
|
+
module$contents$goog$async$Deferred_Deferred.CanceledError.prototype.name = "CanceledError";
|
|
18935
|
+
module$contents$goog$async$Deferred_Deferred.Error_ = function(error) {
|
|
18932
18936
|
this.id_ = goog.global.setTimeout(goog.bind(this.throwError, this), 0);
|
|
18933
18937
|
this.error_ = error;
|
|
18934
18938
|
};
|
|
18935
|
-
goog
|
|
18936
|
-
goog.asserts.assert(goog
|
|
18937
|
-
delete goog
|
|
18938
|
-
goog
|
|
18939
|
+
module$contents$goog$async$Deferred_Deferred.Error_.prototype.throwError = function() {
|
|
18940
|
+
goog.asserts.assert(module$contents$goog$async$Deferred_Deferred.errorMap_[this.id_], "Cannot throw an error that is not scheduled.");
|
|
18941
|
+
delete module$contents$goog$async$Deferred_Deferred.errorMap_[this.id_];
|
|
18942
|
+
module$contents$goog$async$Deferred_Deferred.unhandledErrorHandler_(this.error_);
|
|
18939
18943
|
};
|
|
18940
|
-
goog
|
|
18944
|
+
module$contents$goog$async$Deferred_Deferred.Error_.prototype.resetTimer = function() {
|
|
18941
18945
|
goog.global.clearTimeout(this.id_);
|
|
18942
18946
|
};
|
|
18943
|
-
goog
|
|
18944
|
-
goog
|
|
18945
|
-
var deferredError = new goog
|
|
18946
|
-
goog
|
|
18947
|
+
module$contents$goog$async$Deferred_Deferred.errorMap_ = {};
|
|
18948
|
+
module$contents$goog$async$Deferred_Deferred.scheduleError_ = function(error) {
|
|
18949
|
+
var deferredError = new module$contents$goog$async$Deferred_Deferred.Error_(error);
|
|
18950
|
+
module$contents$goog$async$Deferred_Deferred.errorMap_[deferredError.id_] = deferredError;
|
|
18947
18951
|
return deferredError.id_;
|
|
18948
18952
|
};
|
|
18949
|
-
goog
|
|
18950
|
-
var error = goog
|
|
18951
|
-
error && (error.resetTimer(), delete goog
|
|
18953
|
+
module$contents$goog$async$Deferred_Deferred.unscheduleError_ = function(id) {
|
|
18954
|
+
var error = module$contents$goog$async$Deferred_Deferred.errorMap_[id];
|
|
18955
|
+
error && (error.resetTimer(), delete module$contents$goog$async$Deferred_Deferred.errorMap_[id]);
|
|
18952
18956
|
};
|
|
18953
|
-
goog
|
|
18954
|
-
var
|
|
18955
|
-
|
|
18956
|
-
var error = map[key];
|
|
18957
|
+
module$contents$goog$async$Deferred_Deferred.assertNoErrors = function() {
|
|
18958
|
+
for (var key in module$contents$goog$async$Deferred_Deferred.errorMap_) {
|
|
18959
|
+
var error = module$contents$goog$async$Deferred_Deferred.errorMap_[key];
|
|
18957
18960
|
error.resetTimer();
|
|
18958
18961
|
error.throwError();
|
|
18959
18962
|
}
|
|
18960
18963
|
};
|
|
18964
|
+
goog.async.Deferred = module$contents$goog$async$Deferred_Deferred;
|
|
18961
18965
|
goog.net = {};
|
|
18962
18966
|
goog.net.jsloader = {};
|
|
18963
18967
|
goog.net.jsloader.GLOBAL_VERIFY_OBJS_ = "closure_verification";
|
|
@@ -18965,7 +18969,7 @@ goog.net.jsloader.DEFAULT_TIMEOUT = 5E3;
|
|
|
18965
18969
|
goog.net.jsloader.scriptsToLoad_ = [];
|
|
18966
18970
|
goog.net.jsloader.safeLoadMany = function(trustedUris, opt_options) {
|
|
18967
18971
|
if (!trustedUris.length) {
|
|
18968
|
-
return goog
|
|
18972
|
+
return module$contents$goog$async$Deferred_Deferred.succeed(null);
|
|
18969
18973
|
}
|
|
18970
18974
|
var isAnotherModuleLoading = goog.net.jsloader.scriptsToLoad_.length;
|
|
18971
18975
|
module$contents$goog$array_extend(goog.net.jsloader.scriptsToLoad_, trustedUris);
|
|
@@ -18982,7 +18986,8 @@ goog.net.jsloader.safeLoadMany = function(trustedUris, opt_options) {
|
|
|
18982
18986
|
return goog.net.jsloader.scriptLoadingDeferred_;
|
|
18983
18987
|
};
|
|
18984
18988
|
goog.net.jsloader.safeLoad = function(trustedUri, opt_options) {
|
|
18985
|
-
var options = opt_options || {}, doc = options.document || document, uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString(), script = (new goog.dom.DomHelper(doc)).createElement(goog.dom.TagName.SCRIPT), request = {script_:script, timeout_:void 0}, deferred = new goog
|
|
18989
|
+
var options = opt_options || {}, doc = options.document || document, uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString(), script = (new goog.dom.DomHelper(doc)).createElement(goog.dom.TagName.SCRIPT), request = {script_:script, timeout_:void 0}, deferred = new module$contents$goog$async$Deferred_Deferred(goog.net.jsloader.cancel_, request), timeout = null, timeoutDuration = options.timeout != null ? options.timeout :
|
|
18990
|
+
goog.net.jsloader.DEFAULT_TIMEOUT;
|
|
18986
18991
|
timeoutDuration > 0 && (timeout = window.setTimeout(function() {
|
|
18987
18992
|
goog.net.jsloader.cleanup_(script, !0);
|
|
18988
18993
|
deferred.errback(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.TIMEOUT, "Timeout reached for loading script " + uri));
|
|
@@ -19005,9 +19010,9 @@ goog.net.jsloader.safeLoadAndVerify = function(trustedUri, verificationObjName,
|
|
|
19005
19010
|
goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] || (goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_] = {});
|
|
19006
19011
|
var verifyObjs = goog.global[goog.net.jsloader.GLOBAL_VERIFY_OBJS_], uri = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(trustedUri).toString();
|
|
19007
19012
|
if (verifyObjs[verificationObjName] !== void 0) {
|
|
19008
|
-
return goog
|
|
19013
|
+
return module$contents$goog$async$Deferred_Deferred.fail(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.VERIFY_OBJECT_ALREADY_EXISTS, "Verification object " + verificationObjName + " already defined."));
|
|
19009
19014
|
}
|
|
19010
|
-
var sendDeferred = goog.net.jsloader.safeLoad(trustedUri, options), deferred = new goog
|
|
19015
|
+
var sendDeferred = goog.net.jsloader.safeLoad(trustedUri, options), deferred = new module$contents$goog$async$Deferred_Deferred(goog.bind(sendDeferred.cancel, sendDeferred));
|
|
19011
19016
|
sendDeferred.addCallback(function() {
|
|
19012
19017
|
var result = verifyObjs[verificationObjName];
|
|
19013
19018
|
result !== void 0 ? (deferred.callback(result), delete verifyObjs[verificationObjName]) : deferred.errback(new goog.net.jsloader.Error(goog.net.jsloader.ErrorCode.VERIFY_ERROR, "Script " + uri + " loaded, but verification object " + verificationObjName + " was not defined."));
|
|
@@ -19265,7 +19270,7 @@ goog.net.DefaultXmlHttpFactory.prototype.createInstance = function() {
|
|
|
19265
19270
|
};
|
|
19266
19271
|
goog.net.XmlHttp.setGlobalFactory(new goog.net.DefaultXmlHttpFactory());
|
|
19267
19272
|
goog.net.XhrIo = function(opt_xmlHttpFactory) {
|
|
19268
|
-
goog
|
|
19273
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.call(this);
|
|
19269
19274
|
this.headers = new Map();
|
|
19270
19275
|
this.xmlHttpFactory_ = opt_xmlHttpFactory || null;
|
|
19271
19276
|
this.active_ = !1;
|
|
@@ -19280,7 +19285,7 @@ goog.net.XhrIo = function(opt_xmlHttpFactory) {
|
|
|
19280
19285
|
this.progressEventsEnabled_ = this.withCredentials_ = !1;
|
|
19281
19286
|
this.attributionReportingOptions_ = this.trustToken_ = null;
|
|
19282
19287
|
};
|
|
19283
|
-
goog.inherits(goog.net.XhrIo, goog
|
|
19288
|
+
goog.inherits(goog.net.XhrIo, module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
19284
19289
|
goog.net.XhrIo.ResponseType = {DEFAULT:"", TEXT:"text", DOCUMENT:"document", BLOB:"blob", ARRAY_BUFFER:"arraybuffer"};
|
|
19285
19290
|
goog.net.XhrIo.prototype.logger_ = goog.log.getLogger("goog.net.XhrIo");
|
|
19286
19291
|
goog.net.XhrIo.CONTENT_TYPE_HEADER = "Content-Type";
|
|
@@ -19624,11 +19629,11 @@ goog.net.XhrIo.prototype.formatMsg_ = function(msg) {
|
|
|
19624
19629
|
goog.debug.entryPointRegistry.register(function(transformer) {
|
|
19625
19630
|
goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_ = transformer(goog.net.XhrIo.prototype.onReadyStateChangeEntryPoint_);
|
|
19626
19631
|
});
|
|
19627
|
-
var $jscomp$templatelit$m1153655765$
|
|
19632
|
+
var $jscomp$templatelit$m1153655765$102 = $jscomp.createTemplateTagFirstArg(["https://accounts.google.com/gsi/client"]);
|
|
19628
19633
|
ee.apiclient = {};
|
|
19629
19634
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19630
19635
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19631
|
-
ee.apiclient.API_CLIENT_VERSION = "1.7.
|
|
19636
|
+
ee.apiclient.API_CLIENT_VERSION = "1.7.18";
|
|
19632
19637
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19633
19638
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19634
19639
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19798,8 +19803,8 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
|
|
|
19798
19803
|
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
|
|
19799
19804
|
};
|
|
19800
19805
|
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
|
|
19801
|
-
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$47 = (0,$jscomp.makeIterator)(responseText.split("--" + boundary)), $jscomp$key$m1153655765$
|
|
19802
|
-
var groups = $jscomp$key$m1153655765$
|
|
19806
|
+
for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$47 = (0,$jscomp.makeIterator)(responseText.split("--" + boundary)), $jscomp$key$m1153655765$103$part = $jscomp$iter$47.next(); !$jscomp$key$m1153655765$103$part.done; $jscomp$key$m1153655765$103$part = $jscomp$iter$47.next()) {
|
|
19807
|
+
var groups = $jscomp$key$m1153655765$103$part.value.split("\r\n\r\n");
|
|
19803
19808
|
if (!(groups.length < 3)) {
|
|
19804
19809
|
var id = groups[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1], status = Number(groups[1].match(/^HTTP\S*\s(\d+)\s/)[1]), text = groups.slice(2).join("\r\n\r\n");
|
|
19805
19810
|
handle(id, status, text);
|
|
@@ -19933,8 +19938,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19933
19938
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19934
19939
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19935
19940
|
method = method || "POST";
|
|
19936
|
-
var headers = {"Content-Type":contentType}, version = "1.7.
|
|
19937
|
-
version === "1.7.
|
|
19941
|
+
var headers = {"Content-Type":contentType}, version = "1.7.18";
|
|
19942
|
+
version === "1.7.18" && (version = "latest");
|
|
19938
19943
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19939
19944
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19940
19945
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -19999,9 +20004,19 @@ module$contents$ee$apiclient_apiclient.withProfiling = function(hook, body, this
|
|
|
19999
20004
|
module$contents$ee$apiclient_apiclient.profileHook_ = saved;
|
|
20000
20005
|
}
|
|
20001
20006
|
};
|
|
20007
|
+
module$contents$ee$apiclient_apiclient.setQuotaStatusHook = function(hook) {
|
|
20008
|
+
module$contents$ee$apiclient_apiclient.quotaStatusHook_ = hook;
|
|
20009
|
+
};
|
|
20002
20010
|
module$contents$ee$apiclient_apiclient.handleResponse_ = function(status, getResponseHeader, responseText, profileHook, callback, url, method, detectPartialError) {
|
|
20003
20011
|
var profileId = profileHook ? getResponseHeader(module$contents$ee$apiclient_apiclient.PROFILE_HEADER) : "";
|
|
20004
20012
|
profileId && profileHook && profileHook(profileId);
|
|
20013
|
+
if (module$contents$ee$apiclient_apiclient.quotaStatusHook_) {
|
|
20014
|
+
try {
|
|
20015
|
+
var quotaStatus = getResponseHeader(module$contents$ee$apiclient_apiclient.QUOTA_STATUS_HEADER);
|
|
20016
|
+
quotaStatus && module$contents$ee$apiclient_apiclient.quotaStatusHook_(quotaStatus);
|
|
20017
|
+
} catch (e) {
|
|
20018
|
+
}
|
|
20019
|
+
}
|
|
20005
20020
|
var parseJson = function(body) {
|
|
20006
20021
|
try {
|
|
20007
20022
|
var response = JSON.parse(body);
|
|
@@ -20045,7 +20060,7 @@ module$contents$ee$apiclient_apiclient.ensureAuthLibLoaded_ = function(callback)
|
|
|
20045
20060
|
callback();
|
|
20046
20061
|
};
|
|
20047
20062
|
(function() {
|
|
20048
|
-
goog.isObject(goog.global.default_gsi) ? done() : goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$m1153655765$
|
|
20063
|
+
goog.isObject(goog.global.default_gsi) ? done() : goog.net.jsloader.safeLoad(module$contents$safevalues$builders$resource_url_builders_trustedResourceUrl($jscomp$templatelit$m1153655765$102)).addCallback(done);
|
|
20049
20064
|
})();
|
|
20050
20065
|
};
|
|
20051
20066
|
module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, error, result) {
|
|
@@ -20063,8 +20078,8 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
|
|
|
20063
20078
|
}
|
|
20064
20079
|
};
|
|
20065
20080
|
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
|
|
20066
|
-
for (var request = new module$contents$goog$Uri_Uri.QueryData(), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$
|
|
20067
|
-
var $jscomp$destructuring$var48 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$
|
|
20081
|
+
for (var request = new module$contents$goog$Uri_Uri.QueryData(), $jscomp$iter$48 = (0,$jscomp.makeIterator)(Object.entries(params)), $jscomp$key$m1153655765$104$ = $jscomp$iter$48.next(); !$jscomp$key$m1153655765$104$.done; $jscomp$key$m1153655765$104$ = $jscomp$iter$48.next()) {
|
|
20082
|
+
var $jscomp$destructuring$var48 = (0,$jscomp.makeIterator)($jscomp$key$m1153655765$104$.value), name = $jscomp$destructuring$var48.next().value, item = $jscomp$destructuring$var48.next().value;
|
|
20068
20083
|
request.set(name, item);
|
|
20069
20084
|
}
|
|
20070
20085
|
return request;
|
|
@@ -20101,13 +20116,14 @@ module$contents$ee$apiclient_apiclient.setupMockSend = function(calls) {
|
|
|
20101
20116
|
return responseData.status;
|
|
20102
20117
|
};
|
|
20103
20118
|
e.target.getResponseHeader = function(header) {
|
|
20104
|
-
return header === "Content-Type" ? responseData.contentType : null;
|
|
20119
|
+
return header === "Content-Type" ? responseData.contentType : responseData.headers && header in responseData.headers ? responseData.headers[header] : null;
|
|
20105
20120
|
};
|
|
20106
20121
|
setTimeout(goog.bind(callback, e, e), 0);
|
|
20107
20122
|
return new goog.net.XhrIo();
|
|
20108
20123
|
};
|
|
20109
20124
|
var fakeXmlHttp = function() {
|
|
20110
20125
|
this.requestHeaders_ = {};
|
|
20126
|
+
this.responseHeaders_ = null;
|
|
20111
20127
|
};
|
|
20112
20128
|
fakeXmlHttp.prototype.open = function(method, urlIn) {
|
|
20113
20129
|
apiBaseUrl = apiBaseUrl || module$contents$ee$apiclient_apiclient.apiBaseUrl_;
|
|
@@ -20118,13 +20134,14 @@ module$contents$ee$apiclient_apiclient.setupMockSend = function(calls) {
|
|
|
20118
20134
|
this.requestHeaders_[key] = value;
|
|
20119
20135
|
};
|
|
20120
20136
|
fakeXmlHttp.prototype.getResponseHeader = function(header) {
|
|
20121
|
-
return header === "Content-Type" ? this.contentType_ || null : null;
|
|
20137
|
+
return header === "Content-Type" ? this.contentType_ || null : this.responseHeaders_ && header in this.responseHeaders_ ? this.responseHeaders_[header] : null;
|
|
20122
20138
|
};
|
|
20123
20139
|
fakeXmlHttp.prototype.send = function(data) {
|
|
20124
20140
|
var responseData = getResponse(this.url, this.method, data, this.requestHeaders_);
|
|
20125
20141
|
this.responseText = responseData.text;
|
|
20126
20142
|
this.status = typeof responseData.status === "function" ? responseData.status() : responseData.status;
|
|
20127
20143
|
this.contentType_ = responseData.contentType;
|
|
20144
|
+
this.responseHeaders_ = responseData.headers;
|
|
20128
20145
|
};
|
|
20129
20146
|
goog.net.XmlHttp.setGlobalFactory({createInstance:function() {
|
|
20130
20147
|
return new fakeXmlHttp();
|
|
@@ -20172,12 +20189,14 @@ module$contents$ee$apiclient_apiclient.cloudApiKey_ = null;
|
|
|
20172
20189
|
module$contents$ee$apiclient_apiclient.initialized_ = !1;
|
|
20173
20190
|
module$contents$ee$apiclient_apiclient.deadlineMs_ = 0;
|
|
20174
20191
|
module$contents$ee$apiclient_apiclient.profileHook_ = null;
|
|
20192
|
+
module$contents$ee$apiclient_apiclient.quotaStatusHook_ = null;
|
|
20175
20193
|
module$contents$ee$apiclient_apiclient.BASE_RETRY_WAIT_ = 1E3;
|
|
20176
20194
|
module$contents$ee$apiclient_apiclient.MAX_RETRY_WAIT_ = 12E4;
|
|
20177
20195
|
module$contents$ee$apiclient_apiclient.MAX_ASYNC_RETRIES_ = 10;
|
|
20178
20196
|
module$contents$ee$apiclient_apiclient.MAX_SYNC_RETRIES_ = 5;
|
|
20179
20197
|
module$contents$ee$apiclient_apiclient.APP_ID_TOKEN_HEADER_ = "X-Earth-Engine-App-ID-Token";
|
|
20180
20198
|
module$contents$ee$apiclient_apiclient.PROFILE_HEADER = "X-Earth-Engine-Computation-Profile";
|
|
20199
|
+
module$contents$ee$apiclient_apiclient.QUOTA_STATUS_HEADER = "X-Earth-Engine-Quota-Status";
|
|
20181
20200
|
module$contents$ee$apiclient_apiclient.PROFILE_REQUEST_HEADER = "X-Earth-Engine-Computation-Profiling";
|
|
20182
20201
|
module$contents$ee$apiclient_apiclient.USER_PROJECT_OVERRIDE_HEADER_ = "X-Goog-User-Project";
|
|
20183
20202
|
module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER = "x-goog-api-client";
|
|
@@ -20197,6 +20216,7 @@ ee.apiclient.setProject = module$contents$ee$apiclient_apiclient.setProject;
|
|
|
20197
20216
|
ee.apiclient.getProject = module$contents$ee$apiclient_apiclient.getProject;
|
|
20198
20217
|
ee.apiclient.DEFAULT_PROJECT = module$contents$ee$apiclient_apiclient.DEFAULT_PROJECT_;
|
|
20199
20218
|
ee.apiclient.PROFILE_HEADER = module$contents$ee$apiclient_apiclient.PROFILE_HEADER;
|
|
20219
|
+
ee.apiclient.QUOTA_STATUS_HEADER = module$contents$ee$apiclient_apiclient.QUOTA_STATUS_HEADER;
|
|
20200
20220
|
ee.apiclient.PROFILE_REQUEST_HEADER = module$contents$ee$apiclient_apiclient.PROFILE_REQUEST_HEADER;
|
|
20201
20221
|
ee.apiclient.API_CLIENT_VERSION_HEADER = module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER;
|
|
20202
20222
|
ee.apiclient.send = module$contents$ee$apiclient_apiclient.send;
|
|
@@ -20228,6 +20248,7 @@ ee.apiclient.mergeAuthScopes = module$contents$ee$apiclient_apiclient.mergeAuthS
|
|
|
20228
20248
|
ee.apiclient.setupMockSend = module$contents$ee$apiclient_apiclient.setupMockSend;
|
|
20229
20249
|
ee.apiclient.setParamAugmenter = module$contents$ee$apiclient_apiclient.setParamAugmenter;
|
|
20230
20250
|
ee.apiclient.withProfiling = module$contents$ee$apiclient_apiclient.withProfiling;
|
|
20251
|
+
ee.apiclient.setQuotaStatusHook = module$contents$ee$apiclient_apiclient.setQuotaStatusHook;
|
|
20231
20252
|
ee.apiclient.getApiBaseUrl = module$contents$ee$apiclient_apiclient.getApiBaseUrl;
|
|
20232
20253
|
ee.apiclient.getTileBaseUrl = module$contents$ee$apiclient_apiclient.getTileBaseUrl;
|
|
20233
20254
|
ee.apiclient.AuthArgs = module$contents$ee$apiclient_apiclient.AuthArgs;
|
|
@@ -21655,9 +21676,12 @@ ee.data.getUserAgent = module$contents$ee$apiclient_apiclient.getUserAgent;
|
|
|
21655
21676
|
goog.exportSymbol("ee.data.getUserAgent", ee.data.getUserAgent);
|
|
21656
21677
|
ee.data.setParamAugmenter = module$contents$ee$apiclient_apiclient.setParamAugmenter;
|
|
21657
21678
|
goog.exportSymbol("ee.data.setParamAugmenter", ee.data.setParamAugmenter);
|
|
21679
|
+
ee.data.setQuotaStatusHook = module$contents$ee$apiclient_apiclient.setQuotaStatusHook;
|
|
21680
|
+
goog.exportSymbol("ee.data.setQuotaStatusHook", ee.data.setQuotaStatusHook);
|
|
21658
21681
|
ee.data.initialize = module$contents$ee$apiclient_apiclient.initialize;
|
|
21659
21682
|
ee.data.reset = module$contents$ee$apiclient_apiclient.reset;
|
|
21660
21683
|
ee.data.PROFILE_HEADER = module$contents$ee$apiclient_apiclient.PROFILE_HEADER;
|
|
21684
|
+
ee.data.QUOTA_STATUS_HEADER = module$contents$ee$apiclient_apiclient.QUOTA_STATUS_HEADER;
|
|
21661
21685
|
ee.data.makeRequest_ = module$contents$ee$apiclient_apiclient.makeRequest_;
|
|
21662
21686
|
ee.data.send_ = module$contents$ee$apiclient_apiclient.send;
|
|
21663
21687
|
ee.data.setupMockSend = module$contents$ee$apiclient_apiclient.setupMockSend;
|
|
@@ -22596,9 +22620,12 @@ ee.Function.prototype.callOrApply = function(thisValue, args) {
|
|
|
22596
22620
|
return this.apply(namedArgs);
|
|
22597
22621
|
};
|
|
22598
22622
|
ee.Function.prototype.promoteArgs = function(args) {
|
|
22599
|
-
for (var specs = this.getSignature().args, promotedArgs =
|
|
22600
|
-
var name =
|
|
22601
|
-
if (
|
|
22623
|
+
for (var specs = this.getSignature().args, promotedArgs = Object.create(null), known = Object.create(null), i = 0; i < specs.length; i++) {
|
|
22624
|
+
var name = specs[i].name;
|
|
22625
|
+
if (typeof name !== "string") {
|
|
22626
|
+
throw Error("Argument name must be a string.");
|
|
22627
|
+
}
|
|
22628
|
+
if (Object.prototype.hasOwnProperty.call(args, name) && args[name] !== void 0) {
|
|
22602
22629
|
promotedArgs[name] = ee.Function.promoter_(args[name], specs[i].type);
|
|
22603
22630
|
} else if (!specs[i].optional) {
|
|
22604
22631
|
throw Error("Required argument (" + name + ") missing to function: " + this);
|
|
@@ -22620,7 +22647,11 @@ ee.Function.prototype.nameArgs = function(args) {
|
|
|
22620
22647
|
throw Error("Too many (" + args.length + ") arguments to function: " + this);
|
|
22621
22648
|
}
|
|
22622
22649
|
for (var namedArgs = {}, i = 0; i < args.length; i++) {
|
|
22623
|
-
|
|
22650
|
+
var name = specs[i].name;
|
|
22651
|
+
if (typeof name !== "string") {
|
|
22652
|
+
throw Error("Argument name must be a string.");
|
|
22653
|
+
}
|
|
22654
|
+
namedArgs[name] = args[i];
|
|
22624
22655
|
}
|
|
22625
22656
|
return namedArgs;
|
|
22626
22657
|
};
|
|
@@ -25205,11 +25236,11 @@ module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.Summary = fu
|
|
|
25205
25236
|
};
|
|
25206
25237
|
ee.layers.AbstractOverlayStats = module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats;
|
|
25207
25238
|
function module$contents$goog$events$EventHandler_EventHandler(opt_scope) {
|
|
25208
|
-
goog.
|
|
25239
|
+
module$contents$goog$Disposable_Disposable.call(this);
|
|
25209
25240
|
this.handler_ = opt_scope;
|
|
25210
25241
|
this.keys_ = {};
|
|
25211
25242
|
}
|
|
25212
|
-
goog.inherits(module$contents$goog$events$EventHandler_EventHandler, goog
|
|
25243
|
+
goog.inherits(module$contents$goog$events$EventHandler_EventHandler, module$contents$goog$Disposable_Disposable);
|
|
25213
25244
|
module$contents$goog$events$EventHandler_EventHandler.typeArray_ = [];
|
|
25214
25245
|
module$contents$goog$events$EventHandler_EventHandler.prototype.listen = function(src, type, opt_fn, opt_options) {
|
|
25215
25246
|
return this.listen_(src, type, opt_fn, opt_options);
|
|
@@ -25344,7 +25375,7 @@ module$contents$goog$fs$ProgressEvent_GoogProgressEvent.prototype.getTotal = fun
|
|
|
25344
25375
|
};
|
|
25345
25376
|
goog.fs.ProgressEvent = module$contents$goog$fs$ProgressEvent_GoogProgressEvent;
|
|
25346
25377
|
function module$contents$goog$fs$FileReader_GoogFileReader() {
|
|
25347
|
-
goog
|
|
25378
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.call(this);
|
|
25348
25379
|
this.reader_ = new FileReader();
|
|
25349
25380
|
this.reader_.onloadstart = goog.bind(this.dispatchProgressEvent_, this);
|
|
25350
25381
|
this.reader_.onprogress = goog.bind(this.dispatchProgressEvent_, this);
|
|
@@ -25353,7 +25384,7 @@ function module$contents$goog$fs$FileReader_GoogFileReader() {
|
|
|
25353
25384
|
this.reader_.onerror = goog.bind(this.dispatchProgressEvent_, this);
|
|
25354
25385
|
this.reader_.onloadend = goog.bind(this.dispatchProgressEvent_, this);
|
|
25355
25386
|
}
|
|
25356
|
-
goog.inherits(module$contents$goog$fs$FileReader_GoogFileReader, goog
|
|
25387
|
+
goog.inherits(module$contents$goog$fs$FileReader_GoogFileReader, module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
25357
25388
|
module$contents$goog$fs$FileReader_GoogFileReader.ReadyState = {INIT:0, LOADING:1, DONE:2};
|
|
25358
25389
|
module$contents$goog$fs$FileReader_GoogFileReader.EventType = {LOAD_START:"loadstart", PROGRESS:"progress", LOAD:"load", ABORT:"abort", ERROR:"error", LOAD_END:"loadend"};
|
|
25359
25390
|
module$contents$goog$fs$FileReader_GoogFileReader.prototype.abort = function() {
|
|
@@ -25412,7 +25443,7 @@ module$contents$goog$fs$FileReader_GoogFileReader.readAsDataUrl = function(blob)
|
|
|
25412
25443
|
return d;
|
|
25413
25444
|
};
|
|
25414
25445
|
module$contents$goog$fs$FileReader_GoogFileReader.createDeferred_ = function(reader) {
|
|
25415
|
-
var deferred = new goog
|
|
25446
|
+
var deferred = new module$contents$goog$async$Deferred_Deferred();
|
|
25416
25447
|
reader.listen(module$contents$goog$fs$FileReader_GoogFileReader.EventType.LOAD_END, goog.partial(function(d, r, e) {
|
|
25417
25448
|
var result = r.getResult(), error = r.getError();
|
|
25418
25449
|
result == null || error ? d.errback(error) : d.callback(result);
|
|
@@ -26191,7 +26222,7 @@ goog.style.getCssTranslation = function(element) {
|
|
|
26191
26222
|
return matches ? new module$contents$goog$math$Coordinate_Coordinate(parseFloat(matches[1]), parseFloat(matches[2])) : new module$contents$goog$math$Coordinate_Coordinate(0, 0);
|
|
26192
26223
|
};
|
|
26193
26224
|
ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
26194
|
-
goog
|
|
26225
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.call(this);
|
|
26195
26226
|
var options = opt_options || {};
|
|
26196
26227
|
this.minZoom = options.minZoom || 0;
|
|
26197
26228
|
this.maxZoom = options.maxZoom || 20;
|
|
@@ -26209,7 +26240,7 @@ ee.layers.AbstractOverlay = function(tileSource, opt_options) {
|
|
|
26209
26240
|
this.handler = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26210
26241
|
this.radius = 0;
|
|
26211
26242
|
};
|
|
26212
|
-
$jscomp.inherits(ee.layers.AbstractOverlay, goog
|
|
26243
|
+
$jscomp.inherits(ee.layers.AbstractOverlay, module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
26213
26244
|
ee.layers.AbstractOverlay.prototype.addTileCallback = function(callback) {
|
|
26214
26245
|
return goog.events.listen(this, ee.layers.AbstractOverlay.EventType.TILE_LOAD, callback);
|
|
26215
26246
|
};
|
|
@@ -26284,7 +26315,7 @@ ee.layers.AbstractOverlay.prototype.getUniqueTileId_ = function(coord, z) {
|
|
|
26284
26315
|
return [tileId, sourceId].join("-");
|
|
26285
26316
|
};
|
|
26286
26317
|
ee.layers.AbstractOverlay.prototype.disposeInternal = function() {
|
|
26287
|
-
goog
|
|
26318
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.disposeInternal.call(this);
|
|
26288
26319
|
this.tilesById.forEach(module$contents$goog$dispose_dispose);
|
|
26289
26320
|
this.tilesById.clear();
|
|
26290
26321
|
this.tilesById = null;
|
|
@@ -26328,7 +26359,7 @@ ee.layers.TileAbortEvent = function(loadingTileCount) {
|
|
|
26328
26359
|
};
|
|
26329
26360
|
$jscomp.inherits(ee.layers.TileAbortEvent, goog.events.Event);
|
|
26330
26361
|
ee.layers.AbstractTile = function(coord, zoom, ownerDocument, uniqueId) {
|
|
26331
|
-
goog
|
|
26362
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.call(this);
|
|
26332
26363
|
this.coord = coord;
|
|
26333
26364
|
this.zoom = zoom;
|
|
26334
26365
|
this.div = ownerDocument.createElement("div");
|
|
@@ -26340,7 +26371,7 @@ ee.layers.AbstractTile = function(coord, zoom, ownerDocument, uniqueId) {
|
|
|
26340
26371
|
this.retryAttemptCount_ = 0;
|
|
26341
26372
|
this.isRetrying_ = !1;
|
|
26342
26373
|
};
|
|
26343
|
-
$jscomp.inherits(ee.layers.AbstractTile, goog
|
|
26374
|
+
$jscomp.inherits(ee.layers.AbstractTile, module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
26344
26375
|
ee.layers.AbstractTile.prototype.getDiv = function() {
|
|
26345
26376
|
return this.div;
|
|
26346
26377
|
};
|
|
@@ -26414,7 +26445,7 @@ ee.layers.AbstractTile.prototype.setStatus = function(status) {
|
|
|
26414
26445
|
this.dispatchEvent(ee.layers.AbstractTile.EventType.STATUS_CHANGED);
|
|
26415
26446
|
};
|
|
26416
26447
|
ee.layers.AbstractTile.prototype.disposeInternal = function() {
|
|
26417
|
-
goog
|
|
26448
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.disposeInternal.call(this);
|
|
26418
26449
|
this.cancelLoad();
|
|
26419
26450
|
this.div.remove();
|
|
26420
26451
|
this.renderer = null;
|
|
@@ -26424,9 +26455,9 @@ ee.layers.AbstractTile.Status = {NEW:"new", LOADING:"loading", THROTTLED:"thrott
|
|
|
26424
26455
|
ee.layers.AbstractTile.DONE_STATUS_SET_ = module$contents$goog$object_createSet(ee.layers.AbstractTile.Status.ABORTED, ee.layers.AbstractTile.Status.FAILED, ee.layers.AbstractTile.Status.LOADED, ee.layers.AbstractTile.Status.REMOVED);
|
|
26425
26456
|
ee.layers.AbstractTile.DEFAULT_MAX_LOAD_RETRIES_ = 5;
|
|
26426
26457
|
var module$exports$ee$layers$AbstractTileSource = function() {
|
|
26427
|
-
goog.
|
|
26458
|
+
module$contents$goog$Disposable_Disposable.call(this);
|
|
26428
26459
|
};
|
|
26429
|
-
$jscomp.inherits(module$exports$ee$layers$AbstractTileSource, goog
|
|
26460
|
+
$jscomp.inherits(module$exports$ee$layers$AbstractTileSource, module$contents$goog$Disposable_Disposable);
|
|
26430
26461
|
ee_root.third_party.earthengine_api.javascript.layers = {};
|
|
26431
26462
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay = {};
|
|
26432
26463
|
ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryOverlay = function(tileSource, opt_options) {
|
|
@@ -26466,14 +26497,14 @@ ee_root.third_party.earthengine_api.javascript.layers.binaryoverlay.BinaryTile.p
|
|
|
26466
26497
|
reader.readAsArrayBuffer(this.sourceData);
|
|
26467
26498
|
};
|
|
26468
26499
|
var module$contents$goog$net$ImageLoader_ImageLoader = function(opt_parent) {
|
|
26469
|
-
goog
|
|
26500
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.call(this);
|
|
26470
26501
|
this.imageIdToRequestMap_ = {};
|
|
26471
26502
|
this.imageIdToImageMap_ = {};
|
|
26472
26503
|
this.handler_ = new module$contents$goog$events$EventHandler_EventHandler(this);
|
|
26473
26504
|
this.parent_ = opt_parent;
|
|
26474
26505
|
this.completionFired_ = !1;
|
|
26475
26506
|
};
|
|
26476
|
-
$jscomp.inherits(module$contents$goog$net$ImageLoader_ImageLoader, goog
|
|
26507
|
+
$jscomp.inherits(module$contents$goog$net$ImageLoader_ImageLoader, module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
26477
26508
|
module$contents$goog$net$ImageLoader_ImageLoader.prototype.addImage = function(id, image, opt_corsRequestType) {
|
|
26478
26509
|
var src = typeof image === "string" ? image : image.src;
|
|
26479
26510
|
src && (this.completionFired_ = !1, this.imageIdToRequestMap_[id] = {src:src, corsRequestType:opt_corsRequestType !== void 0 ? opt_corsRequestType : null});
|
|
@@ -26523,7 +26554,7 @@ module$contents$goog$net$ImageLoader_ImageLoader.prototype.disposeInternal = fun
|
|
|
26523
26554
|
delete this.imageIdToRequestMap_;
|
|
26524
26555
|
delete this.imageIdToImageMap_;
|
|
26525
26556
|
module$contents$goog$dispose_dispose(this.handler_);
|
|
26526
|
-
goog
|
|
26557
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.disposeInternal.call(this);
|
|
26527
26558
|
};
|
|
26528
26559
|
module$contents$goog$net$ImageLoader_ImageLoader.CorsRequestType = {ANONYMOUS:"anonymous", USE_CREDENTIALS:"use-credentials"};
|
|
26529
26560
|
var module$contents$goog$net$ImageLoader_ImageRequest;
|
|
@@ -26707,7 +26738,7 @@ module$contents$goog$structs$Queue_Queue.prototype.getValues = function() {
|
|
|
26707
26738
|
};
|
|
26708
26739
|
goog.structs.Queue = module$contents$goog$structs$Queue_Queue;
|
|
26709
26740
|
function module$contents$goog$structs$Pool_Pool(opt_minCount, opt_maxCount) {
|
|
26710
|
-
goog.
|
|
26741
|
+
module$contents$goog$Disposable_Disposable.call(this);
|
|
26711
26742
|
this.minCount_ = opt_minCount || 0;
|
|
26712
26743
|
this.maxCount_ = opt_maxCount || 10;
|
|
26713
26744
|
if (this.minCount_ > this.maxCount_) {
|
|
@@ -26719,7 +26750,7 @@ function module$contents$goog$structs$Pool_Pool(opt_minCount, opt_maxCount) {
|
|
|
26719
26750
|
this.lastAccess = null;
|
|
26720
26751
|
this.adjustForMinMax();
|
|
26721
26752
|
}
|
|
26722
|
-
goog.inherits(module$contents$goog$structs$Pool_Pool, goog
|
|
26753
|
+
goog.inherits(module$contents$goog$structs$Pool_Pool, module$contents$goog$Disposable_Disposable);
|
|
26723
26754
|
module$contents$goog$structs$Pool_Pool.ERROR_MIN_MAX_ = "[goog.structs.Pool] Min can not be greater than max";
|
|
26724
26755
|
module$contents$goog$structs$Pool_Pool.ERROR_DISPOSE_UNRELEASED_OBJS_ = "[goog.structs.Pool] Objects not released";
|
|
26725
26756
|
module$contents$goog$structs$Pool_Pool.prototype.setMinimumCount = function(min) {
|
|
@@ -27053,11 +27084,11 @@ module$exports$ee$layers$FeatureViewTileSource.FeatureViewTileSource.prototype.g
|
|
|
27053
27084
|
};
|
|
27054
27085
|
goog.exportSymbol("ee.layers.FeatureViewTileSource", module$exports$ee$layers$FeatureViewTileSource.FeatureViewTileSource);
|
|
27055
27086
|
ee.MapTileManager = function() {
|
|
27056
|
-
goog
|
|
27087
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.call(this);
|
|
27057
27088
|
this.tokenPool_ = new ee.MapTileManager.TokenPool_(0, 60);
|
|
27058
27089
|
this.requests_ = new module$contents$goog$structs$Map_Map();
|
|
27059
27090
|
};
|
|
27060
|
-
$jscomp.inherits(ee.MapTileManager, goog
|
|
27091
|
+
$jscomp.inherits(ee.MapTileManager, module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
27061
27092
|
ee.MapTileManager.prototype.getOutstandingCount = function() {
|
|
27062
27093
|
return this.requests_.size;
|
|
27063
27094
|
};
|
|
@@ -27096,7 +27127,7 @@ ee.MapTileManager.prototype.releaseObject_ = function(token) {
|
|
|
27096
27127
|
}
|
|
27097
27128
|
};
|
|
27098
27129
|
ee.MapTileManager.prototype.disposeInternal = function() {
|
|
27099
|
-
goog
|
|
27130
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.prototype.disposeInternal.call(this);
|
|
27100
27131
|
this.tokenPool_.dispose();
|
|
27101
27132
|
this.tokenPool_ = null;
|
|
27102
27133
|
var requests = this.requests_;
|
|
@@ -27113,14 +27144,14 @@ goog.exportSymbol("ee.MapTileManager", ee.MapTileManager);
|
|
|
27113
27144
|
ee.MapTileManager.MAX_RETRIES = 1;
|
|
27114
27145
|
ee.MapTileManager.ERROR_ID_IN_USE_ = "[ee.MapTileManager] ID in use";
|
|
27115
27146
|
ee.MapTileManager.Request_ = function(id, url, opt_imageEventCallback, opt_requestCompleteCallback, opt_maxRetries) {
|
|
27116
|
-
goog.
|
|
27147
|
+
module$contents$goog$Disposable_Disposable.call(this);
|
|
27117
27148
|
this.id_ = id;
|
|
27118
27149
|
this.url_ = url;
|
|
27119
27150
|
this.maxRetries_ = opt_maxRetries !== void 0 ? opt_maxRetries : ee.MapTileManager.MAX_RETRIES;
|
|
27120
27151
|
this.imageEventCallback_ = opt_imageEventCallback;
|
|
27121
27152
|
this.requestCompleteCallback_ = opt_requestCompleteCallback;
|
|
27122
27153
|
};
|
|
27123
|
-
$jscomp.inherits(ee.MapTileManager.Request_, goog
|
|
27154
|
+
$jscomp.inherits(ee.MapTileManager.Request_, module$contents$goog$Disposable_Disposable);
|
|
27124
27155
|
ee.MapTileManager.Request_.prototype.getImageLoader = function() {
|
|
27125
27156
|
return this.imageLoader_;
|
|
27126
27157
|
};
|
|
@@ -27188,7 +27219,7 @@ ee.MapTileManager.Request_.prototype.handleError_ = function(e) {
|
|
|
27188
27219
|
this.retry() || (this.event_ = e, this.markCompleted_());
|
|
27189
27220
|
};
|
|
27190
27221
|
ee.MapTileManager.Request_.prototype.disposeInternal = function() {
|
|
27191
|
-
goog.
|
|
27222
|
+
module$contents$goog$Disposable_Disposable.prototype.disposeInternal.call(this);
|
|
27192
27223
|
delete this.imageEventCallback_;
|
|
27193
27224
|
delete this.requestCompleteCallback_;
|
|
27194
27225
|
};
|
|
@@ -27235,10 +27266,10 @@ ee.MapTileManager.Request_.prototype.event_ = null;
|
|
|
27235
27266
|
ee.MapTileManager.Request_.prototype.profileId_ = null;
|
|
27236
27267
|
ee.MapTileManager.Request_.IMAGE_LOADER_EVENT_TYPES_ = [module$contents$goog$events$EventType_EventType.LOAD, module$contents$goog$net$EventType_EventType.ABORT, module$contents$goog$net$EventType_EventType.ERROR];
|
|
27237
27268
|
ee.MapTileManager.Token_ = function() {
|
|
27238
|
-
goog.
|
|
27269
|
+
module$contents$goog$Disposable_Disposable.call(this);
|
|
27239
27270
|
this.active_ = !1;
|
|
27240
27271
|
};
|
|
27241
|
-
$jscomp.inherits(ee.MapTileManager.Token_, goog
|
|
27272
|
+
$jscomp.inherits(ee.MapTileManager.Token_, module$contents$goog$Disposable_Disposable);
|
|
27242
27273
|
ee.MapTileManager.Token_.prototype.setActive = function(val) {
|
|
27243
27274
|
this.active_ = val;
|
|
27244
27275
|
};
|
|
@@ -27341,13 +27372,13 @@ goog.exportProperty(ee.MapLayerOverlay.prototype, "getTile", ee.MapLayerOverlay.
|
|
|
27341
27372
|
goog.exportProperty(ee.MapLayerOverlay.prototype, "setOpacity", ee.MapLayerOverlay.prototype.setOpacity);
|
|
27342
27373
|
goog.exportProperty(ee.MapLayerOverlay.prototype, "releaseTile", ee.MapLayerOverlay.prototype.releaseTile);
|
|
27343
27374
|
function module$contents$goog$async$Delay_Delay(listener, opt_interval, opt_handler) {
|
|
27344
|
-
goog.
|
|
27375
|
+
module$contents$goog$Disposable_Disposable.call(this);
|
|
27345
27376
|
this.listener_ = listener;
|
|
27346
27377
|
this.interval_ = opt_interval || 0;
|
|
27347
27378
|
this.handler_ = opt_handler;
|
|
27348
27379
|
this.callback_ = goog.bind(this.doAction_, this);
|
|
27349
27380
|
}
|
|
27350
|
-
goog.inherits(module$contents$goog$async$Delay_Delay, goog
|
|
27381
|
+
goog.inherits(module$contents$goog$async$Delay_Delay, module$contents$goog$Disposable_Disposable);
|
|
27351
27382
|
module$contents$goog$async$Delay_Delay.prototype.id_ = 0;
|
|
27352
27383
|
module$contents$goog$async$Delay_Delay.prototype.disposeInternal = function() {
|
|
27353
27384
|
module$contents$goog$async$Delay_Delay.superClass_.disposeInternal.call(this);
|
|
@@ -27382,7 +27413,7 @@ module$contents$goog$async$Delay_Delay.prototype.doAction_ = function() {
|
|
|
27382
27413
|
};
|
|
27383
27414
|
goog.async.Delay = module$contents$goog$async$Delay_Delay;
|
|
27384
27415
|
ee.data.Profiler = function(format) {
|
|
27385
|
-
goog
|
|
27416
|
+
module$contents$goog$events$EventTarget_EventsEventTarget.call(this);
|
|
27386
27417
|
this.format_ = format;
|
|
27387
27418
|
this.isEnabled_ = !1;
|
|
27388
27419
|
this.lastRefreshToken_ = null;
|
|
@@ -27394,7 +27425,7 @@ ee.data.Profiler = function(format) {
|
|
|
27394
27425
|
this.profileData_ = ee.data.Profiler.getEmptyProfile_(format);
|
|
27395
27426
|
this.MAX_RETRY_COUNT_ = 5;
|
|
27396
27427
|
};
|
|
27397
|
-
$jscomp.inherits(ee.data.Profiler, goog
|
|
27428
|
+
$jscomp.inherits(ee.data.Profiler, module$contents$goog$events$EventTarget_EventsEventTarget);
|
|
27398
27429
|
ee.data.Profiler.prototype.isEnabled = function() {
|
|
27399
27430
|
return this.isEnabled_;
|
|
27400
27431
|
};
|
|
@@ -27491,28 +27522,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27491
27522
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27492
27523
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27493
27524
|
(function() {
|
|
27494
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27495
|
-
orderedParamLists = [["name"
|
|
27496
|
-
"image opt_description
|
|
27497
|
-
|
|
27498
|
-
"collection opt_description
|
|
27499
|
-
"
|
|
27500
|
-
|
|
27501
|
-
"
|
|
27502
|
-
|
|
27503
|
-
|
|
27504
|
-
"
|
|
27505
|
-
[], ["coords", "opt_proj", "opt_geodesic", "
|
|
27506
|
-
["
|
|
27507
|
-
[
|
|
27508
|
-
|
|
27509
|
-
ee.
|
|
27510
|
-
ee.
|
|
27511
|
-
ee.data.
|
|
27512
|
-
ee.
|
|
27513
|
-
ee.
|
|
27514
|
-
ee.
|
|
27515
|
-
ee.
|
|
27525
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.image.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.table.toBigQuery ee.batch.Export.video.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.classifier.toAsset ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.sort ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.filterMetadata ee.Collection.prototype.map ee.Collection.prototype.filterDate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.data.getAsset ee.data.getInfo ee.data.getList ee.data.listAssets ee.data.listImages ee.data.getMapId ee.data.getTileUrl ee.data.listBuckets ee.data.getFeatureViewTilesKey ee.data.getAssetRoots ee.data.listFeatures ee.data.computeValue ee.data.createAssetHome ee.data.getThumbId ee.data.createAsset ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.createFolder ee.data.makeThumbUrl ee.data.getDownloadId ee.data.renameAsset ee.data.makeDownloadUrl ee.data.copyAsset ee.data.getTableDownloadId ee.data.deleteAsset ee.data.makeTableDownloadUrl ee.data.getAssetAcl ee.data.newTaskId ee.data.getTaskStatus ee.data.updateAsset ee.data.getTaskList ee.data.setAssetAcl ee.data.getTaskListWithLimit ee.data.setAssetProperties ee.data.getAssetRootQuota ee.data.listOperations ee.data.cancelOperation ee.data.getWorkloadTag ee.data.setWorkloadTag ee.data.setDefaultWorkloadTag ee.data.getOperation ee.data.authenticateViaOauth ee.data.resetWorkloadTag ee.data.cancelTask ee.data.updateTask ee.data.startProcessing ee.data.startIngestion ee.data.authenticate ee.data.authenticateViaPopup ee.data.authenticateViaPrivateKey ee.data.startTableIngestion ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.reset ee.InitState ee.TILE_SIZE ee.Algorithms ee.call ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature ee.Feature.prototype.getMap ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getInfo ee.Filter ee.Filter.lte ee.Filter.and ee.Filter.or ee.Filter.date ee.Filter.inList ee.Filter.prototype.not ee.Filter.eq ee.Filter.neq ee.Filter.lt ee.Filter.bounds ee.Filter.gte ee.Filter.gt ee.Filter.metadata ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.LineString ee.Geometry.LinearRing ee.Geometry.MultiLineString ee.Geometry ee.Geometry.Polygon ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSON ee.Geometry.Point ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.prototype.serialize ee.Geometry.Rectangle ee.Geometry.BBox ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.expression ee.Image.prototype.select ee.Image.rgb ee.Image.prototype.getThumbId ee.Image.prototype.getMapId ee.Image.cat ee.Image.prototype.getThumbURL ee.Image.prototype.getDownloadURL ee.Image.prototype.clip ee.Image ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getInfo ee.ImageCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getMapId ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.toJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
27526
|
+
orderedParamLists = [["name", "var_args"], ["name"], ["name", "namedArgs"], "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority opt_overwrite".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(" "),
|
|
27527
|
+
"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(" "), "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_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27528
|
+
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_assetId opt_maxVertices opt_priority opt_overwrite".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices 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(" "),
|
|
27529
|
+
"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_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(" "),
|
|
27530
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], ["filter"], ["algorithm", "opt_first"], ["property", "opt_ascending"], ["geometry"], ["max", "opt_property", "opt_ascending"], ["name", "operator", "value"], ["algorithm", "opt_dropNulls"], ["start", "opt_end"], ["legacy"], ["callback"], ["opt_callback"], ["func", "var_args"], ["id", "opt_callback"], ["id", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["parent", "opt_params", "opt_callback"],
|
|
27531
|
+
["params", "opt_callback"], ["id", "x", "y", "z"], ["project", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["asset", "params", "opt_callback"], ["obj", "opt_callback"], ["requestedId", "opt_callback"], ["params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["id"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["id"],
|
|
27532
|
+
["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["id"], ["assetId", "opt_callback"], ["opt_count", "opt_callback"], ["taskId", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["opt_limit", "opt_callback"], ["assetId", "properties", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"], ["operationName", "opt_callback"],
|
|
27533
|
+
[], ["tag"], ["tag"], ["operationName", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["opt_resetDefault"], ["taskId", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "params", "opt_callback"], ["taskId", "request", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_success", "opt_error"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes",
|
|
27534
|
+
"opt_suppressDefaultScopes"], ["taskId", "request", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], [], [], [], ["func", "var_args"], ["func", "namedArgs"], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"],
|
|
27535
|
+
["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["args", "opt_column"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_callback"], ["opt_filter"], ["name", "value"], ["var_args"], ["var_args"], ["start", "opt_end"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["name", "value"], ["name", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["var_args"],
|
|
27536
|
+
["namedArgs"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["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"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"],
|
|
27537
|
+
["west", "south", "east", "north"], ["opt_visParams", "opt_callback"], ["var_args"], ["opt_callback"], ["expression", "opt_map"], ["var_args"], ["r", "g", "b"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["var_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["geometry"], ["opt_args"], ["params", "opt_callback"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["opt_callback"], ["args"], [],
|
|
27538
|
+
["selectors", "opt_names"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27539
|
+
[ee.ApiFunction._call, ee.ApiFunction.lookup, ee.ApiFunction._apply, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.table.toBigQuery,
|
|
27540
|
+
module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.classifier.toAsset, ee.Collection.prototype.filter, ee.Collection.prototype.iterate, ee.Collection.prototype.sort, ee.Collection.prototype.filterBounds, ee.Collection.prototype.limit, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.map, ee.Collection.prototype.filterDate, ee.ComputedObject.prototype.serialize,
|
|
27541
|
+
ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.aside, ee.data.getAsset, ee.data.getInfo, ee.data.getList, ee.data.listAssets, ee.data.listImages, ee.data.getMapId, ee.data.getTileUrl, ee.data.listBuckets, ee.data.getFeatureViewTilesKey, ee.data.getAssetRoots, ee.data.listFeatures, ee.data.computeValue, ee.data.createAssetHome, ee.data.getThumbId, ee.data.createAsset, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.createFolder,
|
|
27542
|
+
ee.data.makeThumbUrl, ee.data.getDownloadId, ee.data.renameAsset, ee.data.makeDownloadUrl, ee.data.copyAsset, ee.data.getTableDownloadId, ee.data.deleteAsset, ee.data.makeTableDownloadUrl, ee.data.getAssetAcl, ee.data.newTaskId, ee.data.getTaskStatus, ee.data.updateAsset, ee.data.getTaskList, ee.data.setAssetAcl, ee.data.getTaskListWithLimit, ee.data.setAssetProperties, ee.data.getAssetRootQuota, ee.data.listOperations, ee.data.cancelOperation, ee.data.getWorkloadTag, ee.data.setWorkloadTag, ee.data.setDefaultWorkloadTag,
|
|
27543
|
+
ee.data.getOperation, ee.data.authenticateViaOauth, ee.data.resetWorkloadTag, ee.data.cancelTask, ee.data.updateTask, ee.data.startProcessing, ee.data.startIngestion, ee.data.authenticate, ee.data.authenticateViaPopup, ee.data.authenticateViaPrivateKey, ee.data.startTableIngestion, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Dictionary, ee.initialize, ee.reset, ee.InitState, ee.TILE_SIZE, ee.Algorithms, ee.call,
|
|
27544
|
+
ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature, ee.Feature.prototype.getMap, ee.FeatureCollection.prototype.select, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getInfo, ee.Filter, ee.Filter.lte, ee.Filter.and, ee.Filter.or, ee.Filter.date, ee.Filter.inList, ee.Filter.prototype.not,
|
|
27545
|
+
ee.Filter.eq, ee.Filter.neq, ee.Filter.lt, ee.Filter.bounds, ee.Filter.gte, ee.Filter.gt, ee.Filter.metadata, ee.Function.prototype.call, ee.Function.prototype.apply, ee.Geometry.LineString, ee.Geometry.LinearRing, ee.Geometry.MultiLineString, ee.Geometry, ee.Geometry.Polygon, ee.Geometry.MultiPolygon, ee.Geometry.prototype.toGeoJSON, ee.Geometry.Point, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.MultiPoint, ee.Geometry.prototype.serialize, ee.Geometry.Rectangle, ee.Geometry.BBox, ee.Image.prototype.getMap,
|
|
27546
|
+
ee.Image.prototype.rename, ee.Image.prototype.getInfo, ee.Image.prototype.expression, ee.Image.prototype.select, ee.Image.rgb, ee.Image.prototype.getThumbId, ee.Image.prototype.getMapId, ee.Image.cat, ee.Image.prototype.getThumbURL, ee.Image.prototype.getDownloadURL, ee.Image.prototype.clip, ee.Image, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.getInfo, ee.ImageCollection,
|
|
27547
|
+
ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getMapId, ee.List, ee.Number, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.toJSON, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApi, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toCloudApiJSON, ee.Serializer.encode, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27516
27548
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27517
27549
|
});
|
|
27518
27550
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|