@supraio/client-daemon-js 1.1.0-master.552 → 1.1.0-master.559
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/daemon.html +1 -1
- package/daemon.js +2 -2
- package/package.json +1 -1
- package/screen.html +1 -1
- package/screen.js +3 -3
- package/sdk.js +5 -5
- package/supra-client-daemon.js +216 -123
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +296 -145
- package/supra-client-screen.js.map +1 -1
- package/supra-client-screen.wasm +0 -0
package/supra-client-screen.js
CHANGED
|
@@ -64413,7 +64413,7 @@ $packages["github.com/supraio/client-daemon/pkg/config"] = (function() {
|
|
|
64413
64413
|
return $pkg;
|
|
64414
64414
|
})();
|
|
64415
64415
|
$packages["github.com/go-errors/errors"] = (function() {
|
|
64416
|
-
var $pkg = {}, $init, bufio, bytes, errors, fmt, os, reflect, runtime, strconv, strings, StackFrame, uncaughtPanic, Error, ptrType, sliceType, sliceType$1, ptrType$1, sliceType$2, ptrType$2, sliceType$3, NewStackFrame, packageAndName, New, Wrap, Errorf;
|
|
64416
|
+
var $pkg = {}, $init, bufio, bytes, errors, fmt, os, reflect, runtime, strconv, strings, StackFrame, uncaughtPanic, joinError, Error, ptrType, sliceType, sliceType$1, ptrType$1, sliceType$2, ptrType$2, sliceType$3, sliceType$4, ptrType$3, NewStackFrame, packageAndName, Join, New, Wrap, Errorf;
|
|
64417
64417
|
bufio = $packages["bufio"];
|
|
64418
64418
|
bytes = $packages["bytes"];
|
|
64419
64419
|
errors = $packages["errors"];
|
|
@@ -64447,6 +64447,14 @@ $packages["github.com/go-errors/errors"] = (function() {
|
|
|
64447
64447
|
}
|
|
64448
64448
|
this.message = message_;
|
|
64449
64449
|
});
|
|
64450
|
+
joinError = $pkg.joinError = $newType(0, $kindStruct, "errors.joinError", true, "github.com/go-errors/errors", false, function(errs_) {
|
|
64451
|
+
this.$val = this;
|
|
64452
|
+
if (arguments.length === 0) {
|
|
64453
|
+
this.errs = sliceType$3.nil;
|
|
64454
|
+
return;
|
|
64455
|
+
}
|
|
64456
|
+
this.errs = errs_;
|
|
64457
|
+
});
|
|
64450
64458
|
Error = $pkg.Error = $newType(0, $kindStruct, "errors.Error", true, "github.com/go-errors/errors", true, function(Err_, stack_, frames_, prefix_) {
|
|
64451
64459
|
this.$val = this;
|
|
64452
64460
|
if (arguments.length === 0) {
|
|
@@ -64467,7 +64475,9 @@ $packages["github.com/go-errors/errors"] = (function() {
|
|
|
64467
64475
|
ptrType$1 = $ptrType(Error);
|
|
64468
64476
|
sliceType$2 = $sliceType($Uintptr);
|
|
64469
64477
|
ptrType$2 = $ptrType(StackFrame);
|
|
64470
|
-
sliceType$3 = $sliceType($
|
|
64478
|
+
sliceType$3 = $sliceType($error);
|
|
64479
|
+
sliceType$4 = $sliceType($Uint8);
|
|
64480
|
+
ptrType$3 = $ptrType(joinError);
|
|
64471
64481
|
NewStackFrame = function(pc) {
|
|
64472
64482
|
var _tuple, _tuple$1, frame, pc;
|
|
64473
64483
|
frame = new StackFrame.ptr("", 0, "", "", 0);
|
|
@@ -64499,7 +64509,7 @@ $packages["github.com/go-errors/errors"] = (function() {
|
|
|
64499
64509
|
frame = this;
|
|
64500
64510
|
_r = fmt.Sprintf("%s:%d (0x%x)\n", new sliceType([new $String(frame.File), new $Int(frame.LineNumber), new $Uintptr(frame.ProgramCounter)])); /* */ $s = 1; case 1: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
|
|
64501
64511
|
str = _r;
|
|
64502
|
-
_r$1 = frame.
|
|
64512
|
+
_r$1 = frame.sourceLine(); /* */ $s = 2; case 2: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
|
|
64503
64513
|
_tuple = _r$1;
|
|
64504
64514
|
source = _tuple[0];
|
|
64505
64515
|
err = _tuple[1];
|
|
@@ -64513,7 +64523,26 @@ $packages["github.com/go-errors/errors"] = (function() {
|
|
|
64513
64523
|
};
|
|
64514
64524
|
StackFrame.prototype.String = function() { return this.$val.String(); };
|
|
64515
64525
|
StackFrame.ptr.prototype.SourceLine = function() {
|
|
64516
|
-
var {$24r,
|
|
64526
|
+
var {$24r, _r, _r$1, _tuple, err, frame, source, $s, $r, $c} = $restore(this, {});
|
|
64527
|
+
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
64528
|
+
frame = this;
|
|
64529
|
+
_r = frame.sourceLine(); /* */ $s = 1; case 1: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
|
|
64530
|
+
_tuple = _r;
|
|
64531
|
+
source = _tuple[0];
|
|
64532
|
+
err = _tuple[1];
|
|
64533
|
+
/* */ if (!($interfaceIsEqual(err, $ifaceNil))) { $s = 2; continue; }
|
|
64534
|
+
/* */ $s = 3; continue;
|
|
64535
|
+
/* if (!($interfaceIsEqual(err, $ifaceNil))) { */ case 2:
|
|
64536
|
+
_r$1 = New(err); /* */ $s = 4; case 4: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
|
|
64537
|
+
$24r = [source, _r$1];
|
|
64538
|
+
$s = 5; case 5: return $24r;
|
|
64539
|
+
/* } */ case 3:
|
|
64540
|
+
$s = -1; return [source, err];
|
|
64541
|
+
/* */ } return; } var $f = {$blk: StackFrame.ptr.prototype.SourceLine, $c: true, $r, $24r, _r, _r$1, _tuple, err, frame, source, $s};return $f;
|
|
64542
|
+
};
|
|
64543
|
+
StackFrame.prototype.SourceLine = function() { return this.$val.SourceLine(); };
|
|
64544
|
+
StackFrame.ptr.prototype.sourceLine = function() {
|
|
64545
|
+
var {$24r, $24r$1, $24r$2, $24r$3, $24r$4, _r, _r$1, _tuple, currentLine, err, err$1, file, frame, scanner, $s, $deferred, $r, $c} = $restore(this, {});
|
|
64517
64546
|
/* */ $s = $s || 0; var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $curGoroutine.deferStack.push($deferred);
|
|
64518
64547
|
frame = this;
|
|
64519
64548
|
/* */ if (frame.LineNumber <= 0) { $s = 1; continue; }
|
|
@@ -64529,38 +64558,36 @@ $packages["github.com/go-errors/errors"] = (function() {
|
|
|
64529
64558
|
/* */ if (!($interfaceIsEqual(err, $ifaceNil))) { $s = 5; continue; }
|
|
64530
64559
|
/* */ $s = 6; continue;
|
|
64531
64560
|
/* if (!($interfaceIsEqual(err, $ifaceNil))) { */ case 5:
|
|
64532
|
-
|
|
64533
|
-
$
|
|
64534
|
-
$s = 8; case 8: return $24r$1;
|
|
64561
|
+
$24r$1 = ["", err];
|
|
64562
|
+
$s = 7; case 7: return $24r$1;
|
|
64535
64563
|
/* } */ case 6:
|
|
64536
64564
|
$deferred.push([$methodVal(file, "Close"), []]);
|
|
64537
64565
|
scanner = bufio.NewScanner(file);
|
|
64538
64566
|
currentLine = 1;
|
|
64539
|
-
/* while (true) { */ case
|
|
64540
|
-
_r$
|
|
64541
|
-
/* if (!(_r$
|
|
64542
|
-
/* */ if (currentLine === frame.LineNumber) { $s =
|
|
64543
|
-
/* */ $s =
|
|
64544
|
-
/* if (currentLine === frame.LineNumber) { */ case
|
|
64567
|
+
/* while (true) { */ case 8:
|
|
64568
|
+
_r$1 = scanner.Scan(); /* */ $s = 10; case 10: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
|
|
64569
|
+
/* if (!(_r$1)) { break; } */ if(!(_r$1)) { $s = 9; continue; }
|
|
64570
|
+
/* */ if (currentLine === frame.LineNumber) { $s = 11; continue; }
|
|
64571
|
+
/* */ $s = 12; continue;
|
|
64572
|
+
/* if (currentLine === frame.LineNumber) { */ case 11:
|
|
64545
64573
|
$24r$2 = [($bytesToString(bytes.Trim(scanner.Bytes(), " \t"))), $ifaceNil];
|
|
64546
|
-
$s =
|
|
64547
|
-
/* } */ case
|
|
64574
|
+
$s = 13; case 13: return $24r$2;
|
|
64575
|
+
/* } */ case 12:
|
|
64548
64576
|
currentLine = currentLine + (1) >> 0;
|
|
64549
|
-
$s =
|
|
64550
|
-
case
|
|
64577
|
+
$s = 8; continue;
|
|
64578
|
+
case 9:
|
|
64551
64579
|
err$1 = scanner.Err();
|
|
64552
|
-
/* */ if (!($interfaceIsEqual(err$1, $ifaceNil))) { $s =
|
|
64553
|
-
/* */ $s =
|
|
64554
|
-
/* if (!($interfaceIsEqual(err$1, $ifaceNil))) { */ case
|
|
64555
|
-
|
|
64556
|
-
$
|
|
64557
|
-
|
|
64558
|
-
/* } */ case 16:
|
|
64580
|
+
/* */ if (!($interfaceIsEqual(err$1, $ifaceNil))) { $s = 14; continue; }
|
|
64581
|
+
/* */ $s = 15; continue;
|
|
64582
|
+
/* if (!($interfaceIsEqual(err$1, $ifaceNil))) { */ case 14:
|
|
64583
|
+
$24r$3 = ["", err$1];
|
|
64584
|
+
$s = 16; case 16: return $24r$3;
|
|
64585
|
+
/* } */ case 15:
|
|
64559
64586
|
$24r$4 = ["???", $ifaceNil];
|
|
64560
|
-
$s =
|
|
64561
|
-
/* */ } return; } } catch(err) { $err = err; $s = -1; return ["", $ifaceNil]; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { var $f = {$blk: StackFrame.ptr.prototype.
|
|
64587
|
+
$s = 17; case 17: return $24r$4;
|
|
64588
|
+
/* */ } return; } } catch(err) { $err = err; $s = -1; return ["", $ifaceNil]; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { var $f = {$blk: StackFrame.ptr.prototype.sourceLine, $c: true, $r, $24r, $24r$1, $24r$2, $24r$3, $24r$4, _r, _r$1, _tuple, currentLine, err, err$1, file, frame, scanner, $s, $deferred};return $f; } }
|
|
64562
64589
|
};
|
|
64563
|
-
StackFrame.prototype.
|
|
64590
|
+
StackFrame.prototype.sourceLine = function() { return this.$val.sourceLine(); };
|
|
64564
64591
|
packageAndName = function(fn) {
|
|
64565
64592
|
var fn, lastslash, name, period, pkg;
|
|
64566
64593
|
name = fn.Name();
|
|
@@ -64584,6 +64611,67 @@ $packages["github.com/go-errors/errors"] = (function() {
|
|
|
64584
64611
|
return p.message;
|
|
64585
64612
|
};
|
|
64586
64613
|
uncaughtPanic.prototype.Error = function() { return this.$val.Error(); };
|
|
64614
|
+
Join = function(errs) {
|
|
64615
|
+
var _i, _i$1, _ref, _ref$1, e, err, err$1, errs, n;
|
|
64616
|
+
n = 0;
|
|
64617
|
+
_ref = errs;
|
|
64618
|
+
_i = 0;
|
|
64619
|
+
while (true) {
|
|
64620
|
+
if (!(_i < _ref.$length)) { break; }
|
|
64621
|
+
err = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
|
|
64622
|
+
if (!($interfaceIsEqual(err, $ifaceNil))) {
|
|
64623
|
+
n = n + (1) >> 0;
|
|
64624
|
+
}
|
|
64625
|
+
_i++;
|
|
64626
|
+
}
|
|
64627
|
+
if (n === 0) {
|
|
64628
|
+
return $ifaceNil;
|
|
64629
|
+
}
|
|
64630
|
+
e = new joinError.ptr($makeSlice(sliceType$3, 0, n));
|
|
64631
|
+
_ref$1 = errs;
|
|
64632
|
+
_i$1 = 0;
|
|
64633
|
+
while (true) {
|
|
64634
|
+
if (!(_i$1 < _ref$1.$length)) { break; }
|
|
64635
|
+
err$1 = ((_i$1 < 0 || _i$1 >= _ref$1.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref$1.$array[_ref$1.$offset + _i$1]);
|
|
64636
|
+
if (!($interfaceIsEqual(err$1, $ifaceNil))) {
|
|
64637
|
+
e.errs = $append(e.errs, err$1);
|
|
64638
|
+
}
|
|
64639
|
+
_i$1++;
|
|
64640
|
+
}
|
|
64641
|
+
return e;
|
|
64642
|
+
};
|
|
64643
|
+
$pkg.Join = Join;
|
|
64644
|
+
joinError.ptr.prototype.Error = function() {
|
|
64645
|
+
var {_arg, _arg$1, _i, _r, _ref, b, e, err, i, $s, $r, $c} = $restore(this, {});
|
|
64646
|
+
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
64647
|
+
e = this;
|
|
64648
|
+
b = sliceType$4.nil;
|
|
64649
|
+
_ref = e.errs;
|
|
64650
|
+
_i = 0;
|
|
64651
|
+
/* while (true) { */ case 1:
|
|
64652
|
+
/* if (!(_i < _ref.$length)) { break; } */ if(!(_i < _ref.$length)) { $s = 2; continue; }
|
|
64653
|
+
i = _i;
|
|
64654
|
+
err = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
|
|
64655
|
+
if (i > 0) {
|
|
64656
|
+
b = $append(b, 10);
|
|
64657
|
+
}
|
|
64658
|
+
_arg = b;
|
|
64659
|
+
_r = err.Error(); /* */ $s = 3; case 3: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
|
|
64660
|
+
_arg$1 = _r;
|
|
64661
|
+
b = $appendSlice(_arg, _arg$1);
|
|
64662
|
+
_i++;
|
|
64663
|
+
$s = 1; continue;
|
|
64664
|
+
case 2:
|
|
64665
|
+
$s = -1; return ($bytesToString(b));
|
|
64666
|
+
/* */ } return; } var $f = {$blk: joinError.ptr.prototype.Error, $c: true, $r, _arg, _arg$1, _i, _r, _ref, b, e, err, i, $s};return $f;
|
|
64667
|
+
};
|
|
64668
|
+
joinError.prototype.Error = function() { return this.$val.Error(); };
|
|
64669
|
+
joinError.ptr.prototype.Unwrap = function() {
|
|
64670
|
+
var e;
|
|
64671
|
+
e = this;
|
|
64672
|
+
return e.errs;
|
|
64673
|
+
};
|
|
64674
|
+
joinError.prototype.Unwrap = function() { return this.$val.Unwrap(); };
|
|
64587
64675
|
New = function(e) {
|
|
64588
64676
|
var {_r, _ref, e, e$1, e$2, err, length, stack, $s, $r, $c} = $restore(this, {e});
|
|
64589
64677
|
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
@@ -64665,7 +64753,7 @@ $packages["github.com/go-errors/errors"] = (function() {
|
|
|
64665
64753
|
var {_i, _r, _r$1, _ref, buf, err, frame, $s, $r, $c} = $restore(this, {});
|
|
64666
64754
|
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
64667
64755
|
err = this;
|
|
64668
|
-
buf = new bytes.Buffer.ptr(sliceType$
|
|
64756
|
+
buf = new bytes.Buffer.ptr(sliceType$4.nil, 0, 0);
|
|
64669
64757
|
_ref = err.StackFrames();
|
|
64670
64758
|
_i = 0;
|
|
64671
64759
|
/* while (true) { */ case 1:
|
|
@@ -64732,11 +64820,19 @@ $packages["github.com/go-errors/errors"] = (function() {
|
|
|
64732
64820
|
/* */ } return; } var $f = {$blk: Error.ptr.prototype.TypeName, $c: true, $r, $24r, _r, _tuple, err, ok, $s};return $f;
|
|
64733
64821
|
};
|
|
64734
64822
|
Error.prototype.TypeName = function() { return this.$val.TypeName(); };
|
|
64735
|
-
|
|
64823
|
+
Error.ptr.prototype.Unwrap = function() {
|
|
64824
|
+
var err;
|
|
64825
|
+
err = this;
|
|
64826
|
+
return err.Err;
|
|
64827
|
+
};
|
|
64828
|
+
Error.prototype.Unwrap = function() { return this.$val.Unwrap(); };
|
|
64829
|
+
ptrType$2.methods = [{prop: "Func", name: "Func", pkg: "", typ: $funcType([], [ptrType], false)}, {prop: "String", name: "String", pkg: "", typ: $funcType([], [$String], false)}, {prop: "SourceLine", name: "SourceLine", pkg: "", typ: $funcType([], [$String, $error], false)}, {prop: "sourceLine", name: "sourceLine", pkg: "github.com/go-errors/errors", typ: $funcType([], [$String, $error], false)}];
|
|
64736
64830
|
uncaughtPanic.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}];
|
|
64737
|
-
ptrType$
|
|
64831
|
+
ptrType$3.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}, {prop: "Unwrap", name: "Unwrap", pkg: "", typ: $funcType([], [sliceType$3], false)}];
|
|
64832
|
+
ptrType$1.methods = [{prop: "Error", name: "Error", pkg: "", typ: $funcType([], [$String], false)}, {prop: "Stack", name: "Stack", pkg: "", typ: $funcType([], [sliceType$4], false)}, {prop: "Callers", name: "Callers", pkg: "", typ: $funcType([], [sliceType$2], false)}, {prop: "ErrorStack", name: "ErrorStack", pkg: "", typ: $funcType([], [$String], false)}, {prop: "StackFrames", name: "StackFrames", pkg: "", typ: $funcType([], [sliceType$1], false)}, {prop: "TypeName", name: "TypeName", pkg: "", typ: $funcType([], [$String], false)}, {prop: "Unwrap", name: "Unwrap", pkg: "", typ: $funcType([], [$error], false)}];
|
|
64738
64833
|
StackFrame.init("", [{prop: "File", name: "File", embedded: false, exported: true, typ: $String, tag: ""}, {prop: "LineNumber", name: "LineNumber", embedded: false, exported: true, typ: $Int, tag: ""}, {prop: "Name", name: "Name", embedded: false, exported: true, typ: $String, tag: ""}, {prop: "Package", name: "Package", embedded: false, exported: true, typ: $String, tag: ""}, {prop: "ProgramCounter", name: "ProgramCounter", embedded: false, exported: true, typ: $Uintptr, tag: ""}]);
|
|
64739
64834
|
uncaughtPanic.init("github.com/go-errors/errors", [{prop: "message", name: "message", embedded: false, exported: false, typ: $String, tag: ""}]);
|
|
64835
|
+
joinError.init("github.com/go-errors/errors", [{prop: "errs", name: "errs", embedded: false, exported: false, typ: sliceType$3, tag: ""}]);
|
|
64740
64836
|
Error.init("github.com/go-errors/errors", [{prop: "Err", name: "Err", embedded: false, exported: true, typ: $error, tag: ""}, {prop: "stack", name: "stack", embedded: false, exported: false, typ: sliceType$2, tag: ""}, {prop: "frames", name: "frames", embedded: false, exported: false, typ: sliceType$1, tag: ""}, {prop: "prefix", name: "prefix", embedded: false, exported: false, typ: $String, tag: ""}]);
|
|
64741
64837
|
$init = function() {
|
|
64742
64838
|
$pkg.$init = function() {};
|
|
@@ -65223,24 +65319,25 @@ $packages["github.com/supraio/client-daemon/pkg/errs"] = (function() {
|
|
|
65223
65319
|
/* */ } return; } var $f = {$blk: Errorf, $c: true, $r, $24r, _r, extra, msg, $s};return $f;
|
|
65224
65320
|
};
|
|
65225
65321
|
$pkg.Errorf = Errorf;
|
|
65226
|
-
CombineErrors = function(
|
|
65227
|
-
var
|
|
65228
|
-
|
|
65229
|
-
|
|
65230
|
-
message = "";
|
|
65231
|
-
_ref = errs;
|
|
65322
|
+
CombineErrors = function(errList) {
|
|
65323
|
+
var _i, _ref, err, errList, single;
|
|
65324
|
+
single = $ifaceNil;
|
|
65325
|
+
_ref = errList;
|
|
65232
65326
|
_i = 0;
|
|
65233
65327
|
while (true) {
|
|
65234
65328
|
if (!(_i < _ref.$length)) { break; }
|
|
65235
65329
|
err = ((_i < 0 || _i >= _ref.$length) ? ($throwRuntimeError("index out of range"), undefined) : _ref.$array[_ref.$offset + _i]);
|
|
65236
|
-
|
|
65237
|
-
|
|
65330
|
+
if ($interfaceIsEqual(err, $ifaceNil)) {
|
|
65331
|
+
_i++;
|
|
65332
|
+
continue;
|
|
65333
|
+
}
|
|
65334
|
+
if (!($interfaceIsEqual(single, $ifaceNil))) {
|
|
65335
|
+
return errors.Join(errList);
|
|
65336
|
+
}
|
|
65337
|
+
single = err;
|
|
65238
65338
|
_i++;
|
|
65239
65339
|
}
|
|
65240
|
-
|
|
65241
|
-
$24r = _r;
|
|
65242
|
-
$s = 2; case 2: return $24r;
|
|
65243
|
-
/* */ } return; } var $f = {$blk: CombineErrors, $c: true, $r, $24r, _i, _r, _ref, err, errs, message, untypedErrs, $s};return $f;
|
|
65340
|
+
return single;
|
|
65244
65341
|
};
|
|
65245
65342
|
$pkg.CombineErrors = CombineErrors;
|
|
65246
65343
|
$init = function() {
|
|
@@ -68195,7 +68292,7 @@ $packages["math/rand"] = (function() {
|
|
|
68195
68292
|
return $pkg;
|
|
68196
68293
|
})();
|
|
68197
68294
|
$packages["github.com/supraio/client-daemon/pkg/helper"] = (function() {
|
|
68198
|
-
var $pkg = {}, $init, errs, image, log, rand, os, strconv, strings, syscall, time, sliceType, sliceType$1, ptrType, seededRand, _r, _r$1, _r$2, _r$3, GenerateStringWithCharset, GenerateStringWithLength, NotifyOnStopSignal, WaitOnStopSignal,
|
|
68295
|
+
var $pkg = {}, $init, errs, image, log, rand, os, strconv, strings, syscall, time, sliceType, sliceType$1, ptrType, seededRand, _r, _r$1, _r$2, _r$3, GenerateStringWithCharset, GenerateStringWithLength, NotifyOnStopSignal, WaitOnStopSignal, ParseImagePointFromString;
|
|
68199
68296
|
errs = $packages["github.com/supraio/client-daemon/pkg/errs"];
|
|
68200
68297
|
image = $packages["image"];
|
|
68201
68298
|
log = $packages["log"];
|
|
@@ -68258,17 +68355,6 @@ $packages["github.com/supraio/client-daemon/pkg/helper"] = (function() {
|
|
|
68258
68355
|
/* */ } return; } var $f = {$blk: WaitOnStopSignal, $c: true, $r, _r$4, sig, signalChannel, $s};return $f;
|
|
68259
68356
|
};
|
|
68260
68357
|
$pkg.WaitOnStopSignal = WaitOnStopSignal;
|
|
68261
|
-
ClampedInt64 = function(value, min, max) {
|
|
68262
|
-
var max, min, value;
|
|
68263
|
-
if ((value.$high < min.$high || (value.$high === min.$high && value.$low < min.$low))) {
|
|
68264
|
-
return min;
|
|
68265
|
-
}
|
|
68266
|
-
if ((value.$high > max.$high || (value.$high === max.$high && value.$low > max.$low))) {
|
|
68267
|
-
return max;
|
|
68268
|
-
}
|
|
68269
|
-
return value;
|
|
68270
|
-
};
|
|
68271
|
-
$pkg.ClampedInt64 = ClampedInt64;
|
|
68272
68358
|
ParseImagePointFromString = function(value) {
|
|
68273
68359
|
var {_arg, _r$4, _tuple, _tuple$1, err, height, heightString, parts, value, width, widthString, $s, $r, $c} = $restore(this, {value});
|
|
68274
68360
|
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
@@ -191404,7 +191490,7 @@ $packages["github.com/supraio/client-daemon/pkg/message"] = (function() {
|
|
|
191404
191490
|
return $pkg;
|
|
191405
191491
|
})();
|
|
191406
191492
|
$packages["github.com/supraio/client-daemon/pkg/input"] = (function() {
|
|
191407
|
-
var $pkg = {}, $init, binary, fmt, errs, message, focus, key, mouse, touch, geom, log, sync, js, time, TouchHandler, MouseHandler, kindCounters, InputSnapshot, EventMetrics, KeyHandler, JsHelper, KeyTransformer, Helper, sliceType, sliceType$1, ptrType, ptrType$1, structType, ptrType$2, ptrType$3, ptrType$4, sliceType$2, ptrType$5, chanType, funcType, mapType, chanType$1, ptrType$6, chanType$2, chanType$3, mapType$1, ptrType$7, chanType$4, chanType$5, ptrType$8, marshalTouchEventJSON, NewTouchHandler, NewMouseHandler, NewEventMetrics, avgMs, msF, avgNano, NewKeyHandler, NewHelper, NewKeyTransformer;
|
|
191493
|
+
var $pkg = {}, $init, binary, fmt, errs, message, focus, key, mouse, touch, geom, log, math, sync, js, time, TouchHandler, MouseHandler, kindCounters, InputSnapshot, EventMetrics, KeyHandler, JsHelper, KeyTransformer, Helper, sliceType, sliceType$1, ptrType, ptrType$1, structType, ptrType$2, ptrType$3, ptrType$4, sliceType$2, ptrType$5, chanType, funcType, mapType, chanType$1, ptrType$6, chanType$2, chanType$3, mapType$1, ptrType$7, chanType$4, chanType$5, ptrType$8, marshalTouchEventJSON, NewTouchHandler, NewMouseHandler, coordinateToUint32, NewEventMetrics, avgMs, msF, avgNano, NewKeyHandler, NewHelper, NewKeyTransformer;
|
|
191408
191494
|
binary = $packages["encoding/binary"];
|
|
191409
191495
|
fmt = $packages["fmt"];
|
|
191410
191496
|
errs = $packages["github.com/supraio/client-daemon/pkg/errs"];
|
|
@@ -191415,6 +191501,7 @@ $packages["github.com/supraio/client-daemon/pkg/input"] = (function() {
|
|
|
191415
191501
|
touch = $packages["golang.org/x/mobile/event/touch"];
|
|
191416
191502
|
geom = $packages["golang.org/x/mobile/geom"];
|
|
191417
191503
|
log = $packages["log"];
|
|
191504
|
+
math = $packages["math"];
|
|
191418
191505
|
sync = $packages["sync"];
|
|
191419
191506
|
js = $packages["syscall/js"];
|
|
191420
191507
|
time = $packages["time"];
|
|
@@ -191911,13 +191998,23 @@ $packages["github.com/supraio/client-daemon/pkg/input"] = (function() {
|
|
|
191911
191998
|
x = $fround((ev.X) * (multiplier.X));
|
|
191912
191999
|
y = $fround((ev.Y) * (multiplier.Y));
|
|
191913
192000
|
mouseXData = $makeSlice(sliceType$1, 4);
|
|
191914
|
-
$clone(binary.BigEndian, binary.bigEndian).PutUint32(mouseXData, (
|
|
192001
|
+
$clone(binary.BigEndian, binary.bigEndian).PutUint32(mouseXData, coordinateToUint32(x));
|
|
191915
192002
|
mouseYData = $makeSlice(sliceType$1, 4);
|
|
191916
|
-
$clone(binary.BigEndian, binary.bigEndian).PutUint32(mouseYData, (
|
|
192003
|
+
$clone(binary.BigEndian, binary.bigEndian).PutUint32(mouseYData, coordinateToUint32(y));
|
|
191917
192004
|
$s = -1; return $appendSlice(mouseButtonData, $appendSlice(mouseDirectionData, $appendSlice(mouseModifierData, $appendSlice(mouseXData, mouseYData))));
|
|
191918
192005
|
/* */ } return; } var $f = {$blk: MouseHandler.ptr.prototype.encodeMouseEvent, $c: true, $r, _r, ev, h, mouseButtonData, mouseDirectionData, mouseModifierData, mouseXData, mouseYData, multiplier, x, y, $s};return $f;
|
|
191919
192006
|
};
|
|
191920
192007
|
MouseHandler.prototype.encodeMouseEvent = function(ev) { return this.$val.encodeMouseEvent(ev); };
|
|
192008
|
+
coordinateToUint32 = function(value) {
|
|
192009
|
+
var value;
|
|
192010
|
+
if (math.IsNaN((value)) || value <= 0) {
|
|
192011
|
+
return 0;
|
|
192012
|
+
}
|
|
192013
|
+
if (value >= 4.294967296e+09) {
|
|
192014
|
+
return 4294967295;
|
|
192015
|
+
}
|
|
192016
|
+
return ((value >> 0));
|
|
192017
|
+
};
|
|
191921
192018
|
NewEventMetrics = function() {
|
|
191922
192019
|
return new EventMetrics.ptr(new sync.Mutex.ptr(0, 0), $makeMap($String.keyFor, [{ k: "mouse", v: new kindCounters.ptr(0, 0, 0, new time.Duration(0, 0), new time.Duration(0, 0), 0, new time.Duration(0, 0)) }, { k: "touch", v: new kindCounters.ptr(0, 0, 0, new time.Duration(0, 0), new time.Duration(0, 0), 0, new time.Duration(0, 0)) }]), new InputSnapshot.ptr(0, 0, 0, new $Int64(0, 0), new $Int64(0, 0), new $Int64(0, 0), 0, 0, 0, new $Int64(0, 0), new $Int64(0, 0), 0, new $Int64(0, 0)), $chanNil, false);
|
|
191923
192020
|
};
|
|
@@ -192349,9 +192446,10 @@ $packages["github.com/supraio/client-daemon/pkg/input"] = (function() {
|
|
|
192349
192446
|
$r = touch.$init(); /* */ $s = 8; case 8: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
192350
192447
|
$r = geom.$init(); /* */ $s = 9; case 9: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
192351
192448
|
$r = log.$init(); /* */ $s = 10; case 10: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
192352
|
-
$r =
|
|
192353
|
-
$r =
|
|
192354
|
-
$r =
|
|
192449
|
+
$r = math.$init(); /* */ $s = 11; case 11: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
192450
|
+
$r = sync.$init(); /* */ $s = 12; case 12: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
192451
|
+
$r = js.$init(); /* */ $s = 13; case 13: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
192452
|
+
$r = time.$init(); /* */ $s = 14; case 14: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
192355
192453
|
/* */ } return; } if ($f === undefined) { $f = { $blk: $init }; } $f.$s = $s; $f.$r = $r; return $f;
|
|
192356
192454
|
};
|
|
192357
192455
|
$pkg.$init = $init;
|
|
@@ -194997,7 +195095,7 @@ $packages["github.com/supraio/client-daemon/pkg/stats"] = (function() {
|
|
|
194997
195095
|
this.groups = groups_;
|
|
194998
195096
|
});
|
|
194999
195097
|
Frame = $pkg.Frame = $newType(8, $kindInterface, "stats.Frame", true, "github.com/supraio/client-daemon/pkg/stats", true, null);
|
|
195000
|
-
Stats = $pkg.Stats = $newType(0, $kindStruct, "stats.Stats", true, "github.com/supraio/client-daemon/pkg/stats", true, function(stopped_, lastFrameAt_, lastScreenPingAt_, stopwatch_, metrics_, done_, calcStopped_, latency_, serverTimestampAhead_, serverTimestampAheadBuffer_, currentFramesCount_, lastFrameRate_, totalFramesCount_, lastFramesLatencyAverage_, lastFramesLatencyVariance_, longTermFramesLatencyAverage_, longTermFramesLatencyVariance_, lastFramesCollectionAverage_, lastFramesCollectionVariance_, longTermFramesCollectionAverage_, longTermFramesCollectionVariance_, currentThrottledCollectionFramesCount_, lastThrottledCollectionFrameRate_, lastFramesDecodeWriteAverage_, lastFramesDecodeOutputAverage_, lastFramesDecodeWriteVariance_, lastFramesDecodeOutputVariance_, longTermFramesDecodeWriteAverage_, longTermFramesDecodeOutputAverage_, longTermFramesDecodeWriteVariance_, longTermFramesDecodeOutputVariance_, currentThrottledDecodeFramesCount_, lastThrottledDecodeFrameRate_, lastFramesRenderAverage_, lastFramesRenderVariance_, longTermFramesRenderAverage_, longTermFramesRenderVariance_, currentThrottledRenderFramesCount_, lastThrottledRenderFrameRate_, screenResolutionWidth_, screenResolutionHeight_, lastInteractionAt_, encodingPreferences_) {
|
|
195098
|
+
Stats = $pkg.Stats = $newType(0, $kindStruct, "stats.Stats", true, "github.com/supraio/client-daemon/pkg/stats", true, function(stopped_, lastFrameAt_, lastScreenPingAt_, stopwatch_, metrics_, done_, calcStopped_, latency_, serverTimestampAhead_, serverTimestampAheadBuffer_, currentFramesCount_, lastFrameRate_, lastActiveFrameRate_, totalFramesCount_, lastFramesLatencyAverage_, lastFramesLatencyVariance_, longTermFramesLatencyAverage_, longTermFramesLatencyVariance_, lastFramesCollectionAverage_, lastFramesCollectionVariance_, longTermFramesCollectionAverage_, longTermFramesCollectionVariance_, currentThrottledCollectionFramesCount_, lastThrottledCollectionFrameRate_, lastFramesDecodeWriteAverage_, lastFramesDecodeOutputAverage_, lastFramesDecodeWriteVariance_, lastFramesDecodeOutputVariance_, longTermFramesDecodeWriteAverage_, longTermFramesDecodeOutputAverage_, longTermFramesDecodeWriteVariance_, longTermFramesDecodeOutputVariance_, currentThrottledDecodeFramesCount_, lastThrottledDecodeFrameRate_, lastFramesRenderAverage_, lastFramesRenderVariance_, longTermFramesRenderAverage_, longTermFramesRenderVariance_, currentThrottledRenderFramesCount_, lastThrottledRenderFrameRate_, screenResolutionWidth_, screenResolutionHeight_, lastInteractionAt_, encodingPreferences_) {
|
|
195001
195099
|
this.$val = this;
|
|
195002
195100
|
if (arguments.length === 0) {
|
|
195003
195101
|
this.stopped = false;
|
|
@@ -195012,6 +195110,7 @@ $packages["github.com/supraio/client-daemon/pkg/stats"] = (function() {
|
|
|
195012
195110
|
this.serverTimestampAheadBuffer = sliceType$1.nil;
|
|
195013
195111
|
this.currentFramesCount = 0;
|
|
195014
195112
|
this.lastFrameRate = 0;
|
|
195113
|
+
this.lastActiveFrameRate = 0;
|
|
195015
195114
|
this.totalFramesCount = 0;
|
|
195016
195115
|
this.lastFramesLatencyAverage = new time.Duration(0, 0);
|
|
195017
195116
|
this.lastFramesLatencyVariance = new time.Duration(0, 0);
|
|
@@ -195057,6 +195156,7 @@ $packages["github.com/supraio/client-daemon/pkg/stats"] = (function() {
|
|
|
195057
195156
|
this.serverTimestampAheadBuffer = serverTimestampAheadBuffer_;
|
|
195058
195157
|
this.currentFramesCount = currentFramesCount_;
|
|
195059
195158
|
this.lastFrameRate = lastFrameRate_;
|
|
195159
|
+
this.lastActiveFrameRate = lastActiveFrameRate_;
|
|
195060
195160
|
this.totalFramesCount = totalFramesCount_;
|
|
195061
195161
|
this.lastFramesLatencyAverage = lastFramesLatencyAverage_;
|
|
195062
195162
|
this.lastFramesLatencyVariance = lastFramesLatencyVariance_;
|
|
@@ -195278,7 +195378,7 @@ $packages["github.com/supraio/client-daemon/pkg/stats"] = (function() {
|
|
|
195278
195378
|
_r = time.Now(); /* */ $s = 1; case 1: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
|
|
195279
195379
|
_r$1 = time.Now(); /* */ $s = 2; case 2: if($c) { $c = false; _r$1 = _r$1.$blk(); } if (_r$1 && _r$1.$blk !== undefined) { break s; }
|
|
195280
195380
|
_r$2 = time.Now(); /* */ $s = 3; case 3: if($c) { $c = false; _r$2 = _r$2.$blk(); } if (_r$2 && _r$2.$blk !== undefined) { break s; }
|
|
195281
|
-
s = new Stats.ptr(false, $clone(_r, time.Time), $clone(_r$1, time.Time), NewStopwatch(), NewMetrics(), new $Chan(structType, 0), new $Chan(structType, 0), new time.Duration(0, 0), new time.Duration(0, 0), sliceType$1.nil, 0, 0, 0, new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), 0, 0, new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), 0, 0, new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), 0, 0, 0, 0, $clone(_r$2, time.Time), new EncodingPreferences.ptr(0, 0, "", "", ""));
|
|
195381
|
+
s = new Stats.ptr(false, $clone(_r, time.Time), $clone(_r$1, time.Time), NewStopwatch(), NewMetrics(), new $Chan(structType, 0), new $Chan(structType, 0), new time.Duration(0, 0), new time.Duration(0, 0), sliceType$1.nil, 0, 0, 0, 0, new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), 0, 0, new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), 0, 0, new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), new time.Duration(0, 0), 0, 0, 0, 0, $clone(_r$2, time.Time), new EncodingPreferences.ptr(0, 0, "", "", ""));
|
|
195282
195382
|
$go($methodVal(s, "startCalculations"), []);
|
|
195283
195383
|
$s = -1; return s;
|
|
195284
195384
|
/* */ } return; } var $f = {$blk: NewStats, $c: true, $r, _r, _r$1, _r$2, s, $s};return $f;
|
|
@@ -195505,6 +195605,23 @@ $packages["github.com/supraio/client-daemon/pkg/stats"] = (function() {
|
|
|
195505
195605
|
return s.lastFrameRate;
|
|
195506
195606
|
};
|
|
195507
195607
|
Stats.prototype.GetFrameRate = function() { return this.$val.GetFrameRate(); };
|
|
195608
|
+
Stats.ptr.prototype.GetLastActiveFrameRate = function() {
|
|
195609
|
+
var s;
|
|
195610
|
+
s = this;
|
|
195611
|
+
return s.lastActiveFrameRate;
|
|
195612
|
+
};
|
|
195613
|
+
Stats.prototype.GetLastActiveFrameRate = function() { return this.$val.GetLastActiveFrameRate(); };
|
|
195614
|
+
Stats.ptr.prototype.rotateFrameRate = function() {
|
|
195615
|
+
var s;
|
|
195616
|
+
s = this;
|
|
195617
|
+
s.lastFrameRate = s.currentFramesCount;
|
|
195618
|
+
s.currentFramesCount = 0;
|
|
195619
|
+
s.totalFramesCount = s.totalFramesCount + (s.lastFrameRate) >> 0;
|
|
195620
|
+
if (s.lastFrameRate > 0) {
|
|
195621
|
+
s.lastActiveFrameRate = s.lastFrameRate;
|
|
195622
|
+
}
|
|
195623
|
+
};
|
|
195624
|
+
Stats.prototype.rotateFrameRate = function() { return this.$val.rotateFrameRate(); };
|
|
195508
195625
|
Stats.ptr.prototype.startCalculations = function() {
|
|
195509
195626
|
var {_arg, _r, _r$1, _r$10, _r$11, _r$12, _r$13, _r$14, _r$15, _r$16, _r$17, _r$18, _r$19, _r$2, _r$20, _r$21, _r$3, _r$4, _r$5, _r$6, _r$7, _r$8, _r$9, _selection, s, $s, $deferred, $r, $c} = $restore(this, {});
|
|
195510
195627
|
/* */ $s = $s || 0; var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $curGoroutine.deferStack.push($deferred);
|
|
@@ -195512,9 +195629,7 @@ $packages["github.com/supraio/client-daemon/pkg/stats"] = (function() {
|
|
|
195512
195629
|
$deferred.push([function(_arg) { $close(_arg); }, [s.calcStopped]]);
|
|
195513
195630
|
/* while (true) { */ case 1:
|
|
195514
195631
|
/* if (!(!s.stopped)) { break; } */ if(!(!s.stopped)) { $s = 2; continue; }
|
|
195515
|
-
s.
|
|
195516
|
-
s.currentFramesCount = 0;
|
|
195517
|
-
s.totalFramesCount = s.totalFramesCount + (s.lastFrameRate) >> 0;
|
|
195632
|
+
s.rotateFrameRate();
|
|
195518
195633
|
s.lastThrottledCollectionFrameRate = s.currentThrottledCollectionFramesCount;
|
|
195519
195634
|
s.currentThrottledCollectionFramesCount = 0;
|
|
195520
195635
|
s.lastThrottledDecodeFrameRate = s.currentThrottledDecodeFramesCount;
|
|
@@ -195788,11 +195903,11 @@ $packages["github.com/supraio/client-daemon/pkg/stats"] = (function() {
|
|
|
195788
195903
|
return (new time.Duration(0, math.Sqrt(sum / (values.$length))));
|
|
195789
195904
|
};
|
|
195790
195905
|
ptrType$1.methods = [{prop: "Start", name: "Start", pkg: "", typ: $funcType([$String], [], false)}, {prop: "Stop", name: "Stop", pkg: "", typ: $funcType([$String], [time.Duration], false)}];
|
|
195791
|
-
ptrType$5.methods = [{prop: "Stop", name: "Stop", pkg: "", typ: $funcType([], [], false)}, {prop: "GetClientStats", name: "GetClientStats", pkg: "", typ: $funcType([], [ptrType$3], false)}, {prop: "SetLatency", name: "SetLatency", pkg: "", typ: $funcType([time.Duration], [], false)}, {prop: "UpdateServerTimestampAhead", name: "UpdateServerTimestampAhead", pkg: "", typ: $funcType([time.Duration], [], false)}, {prop: "SetScreenResolution", name: "SetScreenResolution", pkg: "", typ: $funcType([ptrType$4], [], false)}, {prop: "NotifyFrame", name: "NotifyFrame", pkg: "", typ: $funcType([Frame], [], false)}, {prop: "NotifyScreenPing", name: "NotifyScreenPing", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameCollectionStarted", name: "NotifyFrameCollectionStarted", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameCollectionEnded", name: "NotifyFrameCollectionEnded", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameCollectionDuration", name: "NotifyFrameCollectionDuration", pkg: "", typ: $funcType([time.Duration], [], false)}, {prop: "NotifyThrottledCollectionFrame", name: "NotifyThrottledCollectionFrame", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameDecodeWriteStarted", name: "NotifyFrameDecodeWriteStarted", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameDecodeWriteEnded", name: "NotifyFrameDecodeWriteEnded", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameDecodeOutputStarted", name: "NotifyFrameDecodeOutputStarted", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameDecodeOutputEnded", name: "NotifyFrameDecodeOutputEnded", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyThrottledDecodeFrame", name: "NotifyThrottledDecodeFrame", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameRenderStarted", name: "NotifyFrameRenderStarted", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameRenderEnded", name: "NotifyFrameRenderEnded", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyThrottledRenderFrame", name: "NotifyThrottledRenderFrame", pkg: "", typ: $funcType([], [], false)}, {prop: "GetLastFrameAt", name: "GetLastFrameAt", pkg: "", typ: $funcType([], [time.Time], false)}, {prop: "GetLastScreenPingAt", name: "GetLastScreenPingAt", pkg: "", typ: $funcType([], [time.Time], false)}, {prop: "GetLastScreenImpulseAt", name: "GetLastScreenImpulseAt", pkg: "", typ: $funcType([], [time.Time], false)}, {prop: "GetFrameRate", name: "GetFrameRate", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "startCalculations", name: "startCalculations", pkg: "github.com/supraio/client-daemon/pkg/stats", typ: $funcType([], [], false)}, {prop: "print", name: "print", pkg: "github.com/supraio/client-daemon/pkg/stats", typ: $funcType([], [], false)}, {prop: "GetServerTime", name: "GetServerTime", pkg: "", typ: $funcType([], [time.Time], false)}, {prop: "NotifyInteraction", name: "NotifyInteraction", pkg: "", typ: $funcType([], [], false)}, {prop: "GetInteractionWaitMultiplier", name: "GetInteractionWaitMultiplier", pkg: "", typ: $funcType([], [$Float64], false)}, {prop: "SetEncodingPreferences", name: "SetEncodingPreferences", pkg: "", typ: $funcType([EncodingPreferences], [], false)}];
|
|
195906
|
+
ptrType$5.methods = [{prop: "Stop", name: "Stop", pkg: "", typ: $funcType([], [], false)}, {prop: "GetClientStats", name: "GetClientStats", pkg: "", typ: $funcType([], [ptrType$3], false)}, {prop: "SetLatency", name: "SetLatency", pkg: "", typ: $funcType([time.Duration], [], false)}, {prop: "UpdateServerTimestampAhead", name: "UpdateServerTimestampAhead", pkg: "", typ: $funcType([time.Duration], [], false)}, {prop: "SetScreenResolution", name: "SetScreenResolution", pkg: "", typ: $funcType([ptrType$4], [], false)}, {prop: "NotifyFrame", name: "NotifyFrame", pkg: "", typ: $funcType([Frame], [], false)}, {prop: "NotifyScreenPing", name: "NotifyScreenPing", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameCollectionStarted", name: "NotifyFrameCollectionStarted", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameCollectionEnded", name: "NotifyFrameCollectionEnded", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameCollectionDuration", name: "NotifyFrameCollectionDuration", pkg: "", typ: $funcType([time.Duration], [], false)}, {prop: "NotifyThrottledCollectionFrame", name: "NotifyThrottledCollectionFrame", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameDecodeWriteStarted", name: "NotifyFrameDecodeWriteStarted", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameDecodeWriteEnded", name: "NotifyFrameDecodeWriteEnded", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameDecodeOutputStarted", name: "NotifyFrameDecodeOutputStarted", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameDecodeOutputEnded", name: "NotifyFrameDecodeOutputEnded", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyThrottledDecodeFrame", name: "NotifyThrottledDecodeFrame", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameRenderStarted", name: "NotifyFrameRenderStarted", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyFrameRenderEnded", name: "NotifyFrameRenderEnded", pkg: "", typ: $funcType([], [], false)}, {prop: "NotifyThrottledRenderFrame", name: "NotifyThrottledRenderFrame", pkg: "", typ: $funcType([], [], false)}, {prop: "GetLastFrameAt", name: "GetLastFrameAt", pkg: "", typ: $funcType([], [time.Time], false)}, {prop: "GetLastScreenPingAt", name: "GetLastScreenPingAt", pkg: "", typ: $funcType([], [time.Time], false)}, {prop: "GetLastScreenImpulseAt", name: "GetLastScreenImpulseAt", pkg: "", typ: $funcType([], [time.Time], false)}, {prop: "GetFrameRate", name: "GetFrameRate", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "GetLastActiveFrameRate", name: "GetLastActiveFrameRate", pkg: "", typ: $funcType([], [$Int], false)}, {prop: "rotateFrameRate", name: "rotateFrameRate", pkg: "github.com/supraio/client-daemon/pkg/stats", typ: $funcType([], [], false)}, {prop: "startCalculations", name: "startCalculations", pkg: "github.com/supraio/client-daemon/pkg/stats", typ: $funcType([], [], false)}, {prop: "print", name: "print", pkg: "github.com/supraio/client-daemon/pkg/stats", typ: $funcType([], [], false)}, {prop: "GetServerTime", name: "GetServerTime", pkg: "", typ: $funcType([], [time.Time], false)}, {prop: "NotifyInteraction", name: "NotifyInteraction", pkg: "", typ: $funcType([], [], false)}, {prop: "GetInteractionWaitMultiplier", name: "GetInteractionWaitMultiplier", pkg: "", typ: $funcType([], [$Float64], false)}, {prop: "SetEncodingPreferences", name: "SetEncodingPreferences", pkg: "", typ: $funcType([EncodingPreferences], [], false)}];
|
|
195792
195907
|
ptrType$2.methods = [{prop: "AddSample", name: "AddSample", pkg: "", typ: $funcType([$String, sliceType$1], [], true)}, {prop: "GetCount", name: "GetCount", pkg: "", typ: $funcType([$String], [$Int], false)}, {prop: "GetAverage", name: "GetAverage", pkg: "", typ: $funcType([$String], [time.Duration], false)}, {prop: "GetVariance", name: "GetVariance", pkg: "", typ: $funcType([$String], [time.Duration], false)}, {prop: "RemoveOldest", name: "RemoveOldest", pkg: "", typ: $funcType([$String, $Int], [], false)}, {prop: "Reset", name: "Reset", pkg: "", typ: $funcType([$String], [], false)}];
|
|
195793
195908
|
Stopwatch.init("github.com/supraio/client-daemon/pkg/stats", [{prop: "mutex", name: "mutex", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "groups", name: "groups", embedded: false, exported: false, typ: mapType, tag: ""}]);
|
|
195794
195909
|
Frame.init([{prop: "GetTimestamp", name: "GetTimestamp", pkg: "", typ: $funcType([], [time.Time], false)}]);
|
|
195795
|
-
Stats.init("github.com/supraio/client-daemon/pkg/stats", [{prop: "stopped", name: "stopped", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "lastFrameAt", name: "lastFrameAt", embedded: false, exported: false, typ: time.Time, tag: ""}, {prop: "lastScreenPingAt", name: "lastScreenPingAt", embedded: false, exported: false, typ: time.Time, tag: ""}, {prop: "stopwatch", name: "stopwatch", embedded: false, exported: false, typ: ptrType$1, tag: ""}, {prop: "metrics", name: "metrics", embedded: false, exported: false, typ: ptrType$2, tag: ""}, {prop: "done", name: "done", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "calcStopped", name: "calcStopped", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "latency", name: "latency", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "serverTimestampAhead", name: "serverTimestampAhead", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "serverTimestampAheadBuffer", name: "serverTimestampAheadBuffer", embedded: false, exported: false, typ: sliceType$1, tag: ""}, {prop: "currentFramesCount", name: "currentFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastFrameRate", name: "lastFrameRate", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "totalFramesCount", name: "totalFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastFramesLatencyAverage", name: "lastFramesLatencyAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesLatencyVariance", name: "lastFramesLatencyVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesLatencyAverage", name: "longTermFramesLatencyAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesLatencyVariance", name: "longTermFramesLatencyVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesCollectionAverage", name: "lastFramesCollectionAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesCollectionVariance", name: "lastFramesCollectionVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesCollectionAverage", name: "longTermFramesCollectionAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesCollectionVariance", name: "longTermFramesCollectionVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "currentThrottledCollectionFramesCount", name: "currentThrottledCollectionFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastThrottledCollectionFrameRate", name: "lastThrottledCollectionFrameRate", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastFramesDecodeWriteAverage", name: "lastFramesDecodeWriteAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesDecodeOutputAverage", name: "lastFramesDecodeOutputAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesDecodeWriteVariance", name: "lastFramesDecodeWriteVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesDecodeOutputVariance", name: "lastFramesDecodeOutputVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesDecodeWriteAverage", name: "longTermFramesDecodeWriteAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesDecodeOutputAverage", name: "longTermFramesDecodeOutputAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesDecodeWriteVariance", name: "longTermFramesDecodeWriteVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesDecodeOutputVariance", name: "longTermFramesDecodeOutputVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "currentThrottledDecodeFramesCount", name: "currentThrottledDecodeFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastThrottledDecodeFrameRate", name: "lastThrottledDecodeFrameRate", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastFramesRenderAverage", name: "lastFramesRenderAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesRenderVariance", name: "lastFramesRenderVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesRenderAverage", name: "longTermFramesRenderAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesRenderVariance", name: "longTermFramesRenderVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "currentThrottledRenderFramesCount", name: "currentThrottledRenderFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastThrottledRenderFrameRate", name: "lastThrottledRenderFrameRate", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "screenResolutionWidth", name: "screenResolutionWidth", embedded: false, exported: false, typ: $Uint32, tag: ""}, {prop: "screenResolutionHeight", name: "screenResolutionHeight", embedded: false, exported: false, typ: $Uint32, tag: ""}, {prop: "lastInteractionAt", name: "lastInteractionAt", embedded: false, exported: false, typ: time.Time, tag: ""}, {prop: "encodingPreferences", name: "encodingPreferences", embedded: false, exported: false, typ: EncodingPreferences, tag: ""}]);
|
|
195910
|
+
Stats.init("github.com/supraio/client-daemon/pkg/stats", [{prop: "stopped", name: "stopped", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "lastFrameAt", name: "lastFrameAt", embedded: false, exported: false, typ: time.Time, tag: ""}, {prop: "lastScreenPingAt", name: "lastScreenPingAt", embedded: false, exported: false, typ: time.Time, tag: ""}, {prop: "stopwatch", name: "stopwatch", embedded: false, exported: false, typ: ptrType$1, tag: ""}, {prop: "metrics", name: "metrics", embedded: false, exported: false, typ: ptrType$2, tag: ""}, {prop: "done", name: "done", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "calcStopped", name: "calcStopped", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "latency", name: "latency", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "serverTimestampAhead", name: "serverTimestampAhead", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "serverTimestampAheadBuffer", name: "serverTimestampAheadBuffer", embedded: false, exported: false, typ: sliceType$1, tag: ""}, {prop: "currentFramesCount", name: "currentFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastFrameRate", name: "lastFrameRate", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastActiveFrameRate", name: "lastActiveFrameRate", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "totalFramesCount", name: "totalFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastFramesLatencyAverage", name: "lastFramesLatencyAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesLatencyVariance", name: "lastFramesLatencyVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesLatencyAverage", name: "longTermFramesLatencyAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesLatencyVariance", name: "longTermFramesLatencyVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesCollectionAverage", name: "lastFramesCollectionAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesCollectionVariance", name: "lastFramesCollectionVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesCollectionAverage", name: "longTermFramesCollectionAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesCollectionVariance", name: "longTermFramesCollectionVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "currentThrottledCollectionFramesCount", name: "currentThrottledCollectionFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastThrottledCollectionFrameRate", name: "lastThrottledCollectionFrameRate", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastFramesDecodeWriteAverage", name: "lastFramesDecodeWriteAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesDecodeOutputAverage", name: "lastFramesDecodeOutputAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesDecodeWriteVariance", name: "lastFramesDecodeWriteVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesDecodeOutputVariance", name: "lastFramesDecodeOutputVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesDecodeWriteAverage", name: "longTermFramesDecodeWriteAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesDecodeOutputAverage", name: "longTermFramesDecodeOutputAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesDecodeWriteVariance", name: "longTermFramesDecodeWriteVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesDecodeOutputVariance", name: "longTermFramesDecodeOutputVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "currentThrottledDecodeFramesCount", name: "currentThrottledDecodeFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastThrottledDecodeFrameRate", name: "lastThrottledDecodeFrameRate", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastFramesRenderAverage", name: "lastFramesRenderAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "lastFramesRenderVariance", name: "lastFramesRenderVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesRenderAverage", name: "longTermFramesRenderAverage", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "longTermFramesRenderVariance", name: "longTermFramesRenderVariance", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "currentThrottledRenderFramesCount", name: "currentThrottledRenderFramesCount", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "lastThrottledRenderFrameRate", name: "lastThrottledRenderFrameRate", embedded: false, exported: false, typ: $Int, tag: ""}, {prop: "screenResolutionWidth", name: "screenResolutionWidth", embedded: false, exported: false, typ: $Uint32, tag: ""}, {prop: "screenResolutionHeight", name: "screenResolutionHeight", embedded: false, exported: false, typ: $Uint32, tag: ""}, {prop: "lastInteractionAt", name: "lastInteractionAt", embedded: false, exported: false, typ: time.Time, tag: ""}, {prop: "encodingPreferences", name: "encodingPreferences", embedded: false, exported: false, typ: EncodingPreferences, tag: ""}]);
|
|
195796
195911
|
Metrics.init("github.com/supraio/client-daemon/pkg/stats", [{prop: "mutex", name: "mutex", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "groups", name: "groups", embedded: false, exported: false, typ: mapType$1, tag: ""}]);
|
|
195797
195912
|
EncodingPreferences.init("", [{prop: "PreferredQualityIndex", name: "PreferredQualityIndex", embedded: false, exported: true, typ: $Int, tag: "json:\"preferredQualityIndex\""}, {prop: "PreferredBitrateKbps", name: "PreferredBitrateKbps", embedded: false, exported: true, typ: $Int, tag: "json:\"preferredBitrateKbps\""}, {prop: "PreferredPreset", name: "PreferredPreset", embedded: false, exported: true, typ: $String, tag: "json:\"preferredPreset\""}, {prop: "PreferredTune", name: "PreferredTune", embedded: false, exported: true, typ: $String, tag: "json:\"preferredTune\""}, {prop: "PreferredProfile", name: "PreferredProfile", embedded: false, exported: true, typ: $String, tag: "json:\"preferredProfile\""}]);
|
|
195798
195913
|
InputMetrics.init("", [{prop: "MouseEventsReceived", name: "MouseEventsReceived", embedded: false, exported: true, typ: $Int, tag: "json:\"mouseEventsReceived\""}, {prop: "MouseEventsSent", name: "MouseEventsSent", embedded: false, exported: true, typ: $Int, tag: "json:\"mouseEventsSent\""}, {prop: "MouseBytesSent", name: "MouseBytesSent", embedded: false, exported: true, typ: $Int, tag: "json:\"mouseBytesSent\""}, {prop: "MouseSendAverageNano", name: "MouseSendAverageNano", embedded: false, exported: true, typ: $Int64, tag: "json:\"mouseSendAverageNano\""}, {prop: "MouseSendMaxNano", name: "MouseSendMaxNano", embedded: false, exported: true, typ: $Int64, tag: "json:\"mouseSendMaxNano\""}, {prop: "MouseWaitMaxNano", name: "MouseWaitMaxNano", embedded: false, exported: true, typ: $Int64, tag: "json:\"mouseWaitMaxNano\""}, {prop: "TouchEventsReceived", name: "TouchEventsReceived", embedded: false, exported: true, typ: $Int, tag: "json:\"touchEventsReceived\""}, {prop: "TouchEventsSent", name: "TouchEventsSent", embedded: false, exported: true, typ: $Int, tag: "json:\"touchEventsSent\""}, {prop: "TouchBytesSent", name: "TouchBytesSent", embedded: false, exported: true, typ: $Int, tag: "json:\"touchBytesSent\""}, {prop: "TouchSendAverageNano", name: "TouchSendAverageNano", embedded: false, exported: true, typ: $Int64, tag: "json:\"touchSendAverageNano\""}, {prop: "TouchSendMaxNano", name: "TouchSendMaxNano", embedded: false, exported: true, typ: $Int64, tag: "json:\"touchSendMaxNano\""}, {prop: "TouchMaxConcurrentSeq", name: "TouchMaxConcurrentSeq", embedded: false, exported: true, typ: $Int, tag: "json:\"touchMaxConcurrentSeq\""}, {prop: "TouchWaitMaxNano", name: "TouchWaitMaxNano", embedded: false, exported: true, typ: $Int64, tag: "json:\"touchWaitMaxNano\""}]);
|
|
@@ -197133,7 +197248,7 @@ $packages["golang.org/x/mobile/event/lifecycle"] = (function() {
|
|
|
197133
197248
|
return $pkg;
|
|
197134
197249
|
})();
|
|
197135
197250
|
$packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
197136
|
-
var $pkg = {}, $init, binary, json, query, clientscreen, clipboard, nacldecoder, nacldriver, samsungwasmdecoder, webcodecs, errs,
|
|
197251
|
+
var $pkg = {}, $init, binary, json, query, clientscreen, clipboard, nacldecoder, nacldriver, samsungwasmdecoder, webcodecs, errs, input, message, netclient, netpacket, netstream, netframe, jswebsocketworker, player, overlaydriver, stats, videostream, window, canvasdriver, webgldriver, screen, focus, key, lifecycle, mouse, size, touch, geom, image, io, log, os, path, strconv, strings, sync, js, time, ScreenWindow, Geometry, screenWindowDetachEvent, nonBlockingWindowEventSender, ProcessInfo, ProcessInfoManager, sliceType, ptrType, ptrType$1, ptrType$2, funcType, sliceType$1, ptrType$3, ptrType$4, ptrType$5, ptrType$6, ptrType$7, ptrType$8, ptrType$9, ptrType$10, ptrType$11, ptrType$12, ptrType$13, ptrType$14, sliceType$2, structType, interfaceType, sliceType$3, sliceType$4, arrayType, mapType, funcType$1, ptrType$15, chanType, chanType$1, chanType$2, chanType$3, chanType$4, chanType$5, chanType$6, onScreenWindowStarted, RegisterVideoStream, UnregisterVideoStream, NewScreenWindow, sendWindowEventNonBlocking, frameHealthCheckTimeout, clampedDuration, MainDriver, NewProcessInfoManager, init, registerJSBridge, newJSBridgeFacades, geometryValue;
|
|
197137
197252
|
binary = $packages["encoding/binary"];
|
|
197138
197253
|
json = $packages["encoding/json"];
|
|
197139
197254
|
query = $packages["github.com/google/go-querystring/query"];
|
|
@@ -197144,7 +197259,6 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
197144
197259
|
samsungwasmdecoder = $packages["github.com/supraio/client-daemon/pkg/decoder/samsungwasmdecoder"];
|
|
197145
197260
|
webcodecs = $packages["github.com/supraio/client-daemon/pkg/decoder/webcodecs"];
|
|
197146
197261
|
errs = $packages["github.com/supraio/client-daemon/pkg/errs"];
|
|
197147
|
-
helper = $packages["github.com/supraio/client-daemon/pkg/helper"];
|
|
197148
197262
|
input = $packages["github.com/supraio/client-daemon/pkg/input"];
|
|
197149
197263
|
message = $packages["github.com/supraio/client-daemon/pkg/message"];
|
|
197150
197264
|
netclient = $packages["github.com/supraio/client-daemon/pkg/netclient"];
|
|
@@ -197177,7 +197291,7 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
197177
197291
|
sync = $packages["sync"];
|
|
197178
197292
|
js = $packages["syscall/js"];
|
|
197179
197293
|
time = $packages["time"];
|
|
197180
|
-
ScreenWindow = $pkg.ScreenWindow = $newType(0, $kindStruct, "render.ScreenWindow", true, "github.com/supraio/client-daemon/pkg/render", true, function(processInfoManager_, screenDriver_, screenHost_, metadataDriver_, metadataHost_, clientID_, clientSecret_, screenID_, secure_, forceScreenSize_, timeoutDuration_, closed_, closeDone_, closeMu_, screenMu_, stats_, onClose_, window_, screen_, screenConn_, metadataServer_, responsiveSender_, collectionLoop_, decoderLoop_, renderingLoop_, sizeHandler_, touchHandler_, keyHandler_, mouseHandler_, eventMetrics_, pinger_, keyEventChan_, mouseEventChan_, sizeEventChan_, focusEventChan_, touchEventChan_, winCloseChannel_, eventLoopStop_, eventLoopDone_, windowSize_, geometry_) {
|
|
197294
|
+
ScreenWindow = $pkg.ScreenWindow = $newType(0, $kindStruct, "render.ScreenWindow", true, "github.com/supraio/client-daemon/pkg/render", true, function(processInfoManager_, screenDriver_, screenHost_, metadataDriver_, metadataHost_, clientID_, clientSecret_, screenID_, secure_, forceScreenSize_, timeoutDuration_, closed_, closeDone_, closeMu_, screenMu_, stats_, onClose_, window_, screen_, screenConn_, metadataServer_, responsiveSender_, collectionLoop_, decoderLoop_, renderingLoop_, sizeHandler_, touchHandler_, keyHandler_, mouseHandler_, eventMetrics_, pinger_, keyEventChan_, mouseEventChan_, sizeEventChan_, focusEventChan_, touchEventChan_, winCloseChannel_, eventLoopStop_, eventLoopDone_, windowSizeMu_, windowSize_, geometry_) {
|
|
197181
197295
|
this.$val = this;
|
|
197182
197296
|
if (arguments.length === 0) {
|
|
197183
197297
|
this.processInfoManager = ptrType.nil;
|
|
@@ -197219,6 +197333,7 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
197219
197333
|
this.winCloseChannel = $chanNil;
|
|
197220
197334
|
this.eventLoopStop = $chanNil;
|
|
197221
197335
|
this.eventLoopDone = $chanNil;
|
|
197336
|
+
this.windowSizeMu = new sync.RWMutex.ptr(new sync.Mutex.ptr(0, 0), 0, 0, 0, 0);
|
|
197222
197337
|
this.windowSize = new image.Point.ptr(0, 0);
|
|
197223
197338
|
this.geometry = ptrType$14.nil;
|
|
197224
197339
|
return;
|
|
@@ -197262,6 +197377,7 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
197262
197377
|
this.winCloseChannel = winCloseChannel_;
|
|
197263
197378
|
this.eventLoopStop = eventLoopStop_;
|
|
197264
197379
|
this.eventLoopDone = eventLoopDone_;
|
|
197380
|
+
this.windowSizeMu = windowSizeMu_;
|
|
197265
197381
|
this.windowSize = windowSize_;
|
|
197266
197382
|
this.geometry = geometry_;
|
|
197267
197383
|
});
|
|
@@ -197416,7 +197532,7 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
197416
197532
|
_r = stats.NewStats(); /* */ $s = 1; case 1: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
|
|
197417
197533
|
s = _r;
|
|
197418
197534
|
s.SetEncodingPreferences($clone(encodingPreferences, stats.EncodingPreferences));
|
|
197419
|
-
$s = -1; return new ScreenWindow.ptr(processInfoManager, screenDriver, screenHost, metadataDriver, metadataHost, clientID, clientSecret, screenID, secure, forceScreenSize, timeoutDuration, true, $chanNil, new sync.Mutex.ptr(0, 0), new sync.Mutex.ptr(0, 0), s, sliceType$1.nil, $ifaceNil, $ifaceNil, $ifaceNil, ptrType$3.nil, ptrType$4.nil, ptrType$5.nil, ptrType$6.nil, ptrType$7.nil, ptrType$8.nil, ptrType$9.nil, ptrType$10.nil, ptrType$11.nil, input.NewEventMetrics(), ptrType$13.nil, new $Chan(key.Event, 50), new $Chan(mouse.Event, 50), new $Chan(size.Event, 50), new $Chan(focus.Event, 50), new $Chan(touch.Event, 50), new $Chan($emptyInterface, 0), $chanNil, $chanNil, new image.Point.ptr(0, 0), geometry);
|
|
197535
|
+
$s = -1; return new ScreenWindow.ptr(processInfoManager, screenDriver, screenHost, metadataDriver, metadataHost, clientID, clientSecret, screenID, secure, forceScreenSize, timeoutDuration, true, $chanNil, new sync.Mutex.ptr(0, 0), new sync.Mutex.ptr(0, 0), s, sliceType$1.nil, $ifaceNil, $ifaceNil, $ifaceNil, ptrType$3.nil, ptrType$4.nil, ptrType$5.nil, ptrType$6.nil, ptrType$7.nil, ptrType$8.nil, ptrType$9.nil, ptrType$10.nil, ptrType$11.nil, input.NewEventMetrics(), ptrType$13.nil, new $Chan(key.Event, 50), new $Chan(mouse.Event, 50), new $Chan(size.Event, 50), new $Chan(focus.Event, 50), new $Chan(touch.Event, 50), new $Chan($emptyInterface, 0), $chanNil, $chanNil, new sync.RWMutex.ptr(new sync.Mutex.ptr(0, 0), 0, 0, 0, 0), new image.Point.ptr(0, 0), geometry);
|
|
197420
197536
|
/* */ } return; } var $f = {$blk: NewScreenWindow, $c: true, $r, _r, clientID, clientSecret, encodingPreferences, forceScreenSize, geometry, metadataDriver, metadataHost, processInfoManager, s, screenDriver, screenHost, screenID, secure, timeoutDuration, $s};return $f;
|
|
197421
197537
|
};
|
|
197422
197538
|
$pkg.NewScreenWindow = NewScreenWindow;
|
|
@@ -197777,36 +197893,36 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
197777
197893
|
/* } else if (_selection$3[0] === 1) { */ case 34:
|
|
197778
197894
|
$s = 36; case 36: return;
|
|
197779
197895
|
/* } */ case 35:
|
|
197780
|
-
|
|
197781
|
-
$r = w[0].stats.NotifyInteraction(); /* */ $s =
|
|
197896
|
+
$r = w[0].setWindowSize($clone($clone(e$4, size.Event).Size(), image.Point)); /* */ $s = 37; case 37: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
197897
|
+
$r = w[0].stats.NotifyInteraction(); /* */ $s = 38; case 38: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
197782
197898
|
$s = 15; continue;
|
|
197783
197899
|
/* } else if ($assertType(_ref, focus.Event, true)[1]) { */ case 13:
|
|
197784
197900
|
e$5 = $clone(_ref.$val, focus.Event);
|
|
197785
|
-
_r$5 = $select([[w[0].focusEventChan, $clone(e$5, focus.Event)], [eventLoopStop[0]]]); /* */ $s =
|
|
197901
|
+
_r$5 = $select([[w[0].focusEventChan, $clone(e$5, focus.Event)], [eventLoopStop[0]]]); /* */ $s = 39; case 39: if($c) { $c = false; _r$5 = _r$5.$blk(); } if (_r$5 && _r$5.$blk !== undefined) { break s; }
|
|
197786
197902
|
_selection$4 = _r$5;
|
|
197787
|
-
/* */ if (_selection$4[0] === 0) { $s =
|
|
197788
|
-
/* */ if (_selection$4[0] === 1) { $s =
|
|
197789
|
-
/* */ $s =
|
|
197790
|
-
/* if (_selection$4[0] === 0) { */ case
|
|
197791
|
-
$s =
|
|
197792
|
-
/* } else if (_selection$4[0] === 1) { */ case
|
|
197793
|
-
$s =
|
|
197794
|
-
/* } */ case
|
|
197795
|
-
$r = w[0].stats.NotifyInteraction(); /* */ $s =
|
|
197903
|
+
/* */ if (_selection$4[0] === 0) { $s = 40; continue; }
|
|
197904
|
+
/* */ if (_selection$4[0] === 1) { $s = 41; continue; }
|
|
197905
|
+
/* */ $s = 42; continue;
|
|
197906
|
+
/* if (_selection$4[0] === 0) { */ case 40:
|
|
197907
|
+
$s = 42; continue;
|
|
197908
|
+
/* } else if (_selection$4[0] === 1) { */ case 41:
|
|
197909
|
+
$s = 43; case 43: return;
|
|
197910
|
+
/* } */ case 42:
|
|
197911
|
+
$r = w[0].stats.NotifyInteraction(); /* */ $s = 44; case 44: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
197796
197912
|
$s = 15; continue;
|
|
197797
197913
|
/* } else if ($assertType(_ref, touch.Event, true)[1]) { */ case 14:
|
|
197798
197914
|
e$6 = $clone(_ref.$val, touch.Event);
|
|
197799
|
-
_r$6 = $select([[w[0].touchEventChan, $clone(e$6, touch.Event)], [eventLoopStop[0]]]); /* */ $s =
|
|
197915
|
+
_r$6 = $select([[w[0].touchEventChan, $clone(e$6, touch.Event)], [eventLoopStop[0]]]); /* */ $s = 45; case 45: if($c) { $c = false; _r$6 = _r$6.$blk(); } if (_r$6 && _r$6.$blk !== undefined) { break s; }
|
|
197800
197916
|
_selection$5 = _r$6;
|
|
197801
|
-
/* */ if (_selection$5[0] === 0) { $s =
|
|
197802
|
-
/* */ if (_selection$5[0] === 1) { $s =
|
|
197803
|
-
/* */ $s =
|
|
197804
|
-
/* if (_selection$5[0] === 0) { */ case
|
|
197805
|
-
$s =
|
|
197806
|
-
/* } else if (_selection$5[0] === 1) { */ case
|
|
197807
|
-
$s =
|
|
197808
|
-
/* } */ case
|
|
197809
|
-
$r = w[0].stats.NotifyInteraction(); /* */ $s =
|
|
197917
|
+
/* */ if (_selection$5[0] === 0) { $s = 46; continue; }
|
|
197918
|
+
/* */ if (_selection$5[0] === 1) { $s = 47; continue; }
|
|
197919
|
+
/* */ $s = 48; continue;
|
|
197920
|
+
/* if (_selection$5[0] === 0) { */ case 46:
|
|
197921
|
+
$s = 48; continue;
|
|
197922
|
+
/* } else if (_selection$5[0] === 1) { */ case 47:
|
|
197923
|
+
$s = 49; case 49: return;
|
|
197924
|
+
/* } */ case 48:
|
|
197925
|
+
$r = w[0].stats.NotifyInteraction(); /* */ $s = 50; case 50: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
197810
197926
|
/* } */ case 15:
|
|
197811
197927
|
$s = 1; continue;
|
|
197812
197928
|
case 2:
|
|
@@ -198077,13 +198193,39 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
198077
198193
|
return netclient.NewMessageSender(w.screenConn);
|
|
198078
198194
|
};
|
|
198079
198195
|
ScreenWindow.prototype.createScreenSender = function() { return this.$val.createScreenSender(); };
|
|
198196
|
+
ScreenWindow.ptr.prototype.setWindowSize = function(windowSize) {
|
|
198197
|
+
var {w, windowSize, $s, $deferred, $r, $c} = $restore(this, {windowSize});
|
|
198198
|
+
/* */ $s = $s || 0; var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $curGoroutine.deferStack.push($deferred);
|
|
198199
|
+
w = this;
|
|
198200
|
+
$r = w.windowSizeMu.Lock(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
198201
|
+
$deferred.push([$methodVal(w.windowSizeMu, "Unlock"), []]);
|
|
198202
|
+
image.Point.copy(w.windowSize, windowSize);
|
|
198203
|
+
$s = -1; return;
|
|
198204
|
+
/* */ } return; } } catch(err) { $err = err; $s = -1; } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { var $f = {$blk: ScreenWindow.ptr.prototype.setWindowSize, $c: true, $r, w, windowSize, $s, $deferred};return $f; } }
|
|
198205
|
+
};
|
|
198206
|
+
ScreenWindow.prototype.setWindowSize = function(windowSize) { return this.$val.setWindowSize(windowSize); };
|
|
198207
|
+
ScreenWindow.ptr.prototype.getWindowSize = function() {
|
|
198208
|
+
var {$24r, w, $s, $deferred, $r, $c} = $restore(this, {});
|
|
198209
|
+
/* */ $s = $s || 0; var $err = null; try { s: while (true) { switch ($s) { case 0: $deferred = []; $curGoroutine.deferStack.push($deferred);
|
|
198210
|
+
w = this;
|
|
198211
|
+
$r = w.windowSizeMu.RLock(); /* */ $s = 1; case 1: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
198212
|
+
$deferred.push([$methodVal(w.windowSizeMu, "RUnlock"), []]);
|
|
198213
|
+
$24r = w.windowSize;
|
|
198214
|
+
$s = 2; case 2: return $24r;
|
|
198215
|
+
/* */ } return; } } catch(err) { $err = err; $s = -1; return new image.Point.ptr(0, 0); } finally { $callDeferred($deferred, $err); if($curGoroutine.asleep) { var $f = {$blk: ScreenWindow.ptr.prototype.getWindowSize, $c: true, $r, $24r, w, $s, $deferred};return $f; } }
|
|
198216
|
+
};
|
|
198217
|
+
ScreenWindow.prototype.getWindowSize = function() { return this.$val.getWindowSize(); };
|
|
198080
198218
|
ScreenWindow.ptr.prototype.getEventMultiplier = function() {
|
|
198081
|
-
var w;
|
|
198219
|
+
var {_r, w, windowSize, $s, $r, $c} = $restore(this, {});
|
|
198220
|
+
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
198082
198221
|
w = this;
|
|
198083
|
-
|
|
198084
|
-
|
|
198222
|
+
_r = w.getWindowSize(); /* */ $s = 1; case 1: if($c) { $c = false; _r = _r.$blk(); } if (_r && _r.$blk !== undefined) { break s; }
|
|
198223
|
+
windowSize = $clone(_r, image.Point);
|
|
198224
|
+
if (!(w.forceScreenSize === ptrType$1.nil) && windowSize.X > 0 && windowSize.Y > 0) {
|
|
198225
|
+
$s = -1; return new geom.Point.ptr(($fround((w.forceScreenSize.X) / (windowSize.X))), ($fround((w.forceScreenSize.Y) / (windowSize.Y))));
|
|
198085
198226
|
}
|
|
198086
|
-
return new geom.Point.ptr(1, 1);
|
|
198227
|
+
$s = -1; return new geom.Point.ptr(1, 1);
|
|
198228
|
+
/* */ } return; } var $f = {$blk: ScreenWindow.ptr.prototype.getEventMultiplier, $c: true, $r, _r, w, windowSize, $s};return $f;
|
|
198087
198229
|
};
|
|
198088
198230
|
ScreenWindow.prototype.getEventMultiplier = function() { return this.$val.getEventMultiplier(); };
|
|
198089
198231
|
ScreenWindow.ptr.prototype.startTimestampSyncing = function() {
|
|
@@ -198178,18 +198320,30 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
198178
198320
|
};
|
|
198179
198321
|
ScreenWindow.prototype.sendStats = function() { return this.$val.sendStats(); };
|
|
198180
198322
|
ScreenWindow.ptr.prototype.getFrameHealthCheckTimeout = function() {
|
|
198181
|
-
var
|
|
198323
|
+
var w;
|
|
198182
198324
|
w = this;
|
|
198183
|
-
|
|
198184
|
-
|
|
198325
|
+
return frameHealthCheckTimeout(w.stats.GetLastActiveFrameRate());
|
|
198326
|
+
};
|
|
198327
|
+
ScreenWindow.prototype.getFrameHealthCheckTimeout = function() { return this.$val.getFrameHealthCheckTimeout(); };
|
|
198328
|
+
frameHealthCheckTimeout = function(framerate) {
|
|
198329
|
+
var frameDuration, framerate, timeout;
|
|
198330
|
+
if (framerate <= 0) {
|
|
198185
198331
|
return new time.Duration(2, 1410065408);
|
|
198186
198332
|
}
|
|
198187
|
-
|
|
198188
|
-
|
|
198189
|
-
|
|
198190
|
-
|
|
198333
|
+
frameDuration = $div64(new time.Duration(0, 1000000000), (new time.Duration(0, framerate)), false);
|
|
198334
|
+
timeout = $mul64(frameDuration, new time.Duration(0, 90));
|
|
198335
|
+
return clampedDuration(timeout, new time.Duration(0, 3000000000), new time.Duration(2, 1410065408));
|
|
198336
|
+
};
|
|
198337
|
+
clampedDuration = function(value, minimum, maximum) {
|
|
198338
|
+
var maximum, minimum, value;
|
|
198339
|
+
if ((value.$high < minimum.$high || (value.$high === minimum.$high && value.$low < minimum.$low))) {
|
|
198340
|
+
return minimum;
|
|
198341
|
+
}
|
|
198342
|
+
if ((value.$high > maximum.$high || (value.$high === maximum.$high && value.$low > maximum.$low))) {
|
|
198343
|
+
return maximum;
|
|
198344
|
+
}
|
|
198345
|
+
return value;
|
|
198191
198346
|
};
|
|
198192
|
-
ScreenWindow.prototype.getFrameHealthCheckTimeout = function() { return this.$val.getFrameHealthCheckTimeout(); };
|
|
198193
198347
|
ScreenWindow.ptr.prototype.startScreenHealthChecking = function() {
|
|
198194
198348
|
var {_r, _r$1, _r$2, _r$3, _r$4, _r$5, err, lastImpulseAt, w, $s, $r, $c} = $restore(this, {});
|
|
198195
198349
|
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
@@ -198344,7 +198498,7 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
198344
198498
|
};
|
|
198345
198499
|
ScreenWindow.prototype.closeScreen = function() { return this.$val.closeScreen(); };
|
|
198346
198500
|
ScreenWindow.ptr.prototype.closeScreenLocked = function() {
|
|
198347
|
-
var {
|
|
198501
|
+
var {_r, _r$1, _r$2, _r$3, _r$4, _r$5, _r$6, _tuple, canceler, err, err$1, errList, ok, pingerStopped, screenSender, w, waitDuration, $s, $r, $c} = $restore(this, {});
|
|
198348
198502
|
/* */ $s = $s || 0; s: while (true) { switch ($s) { case 0:
|
|
198349
198503
|
w = this;
|
|
198350
198504
|
pingerStopped = true;
|
|
@@ -198466,10 +198620,8 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
198466
198620
|
if (errList.$length === 0) {
|
|
198467
198621
|
$s = -1; return $ifaceNil;
|
|
198468
198622
|
}
|
|
198469
|
-
|
|
198470
|
-
$
|
|
198471
|
-
$s = 65; case 65: return $24r;
|
|
198472
|
-
/* */ } return; } var $f = {$blk: ScreenWindow.ptr.prototype.closeScreenLocked, $c: true, $r, $24r, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _r$6, _r$7, _tuple, canceler, err, err$1, errList, ok, pingerStopped, screenSender, w, waitDuration, $s};return $f;
|
|
198623
|
+
$s = -1; return errs.CombineErrors(errList);
|
|
198624
|
+
/* */ } return; } var $f = {$blk: ScreenWindow.ptr.prototype.closeScreenLocked, $c: true, $r, _r, _r$1, _r$2, _r$3, _r$4, _r$5, _r$6, _tuple, canceler, err, err$1, errList, ok, pingerStopped, screenSender, w, waitDuration, $s};return $f;
|
|
198473
198625
|
};
|
|
198474
198626
|
ScreenWindow.prototype.closeScreenLocked = function() { return this.$val.closeScreenLocked(); };
|
|
198475
198627
|
ScreenWindow.ptr.prototype.createScreenBuffer = function() {
|
|
@@ -198856,9 +199008,9 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
198856
199008
|
}
|
|
198857
199009
|
return new mapType($makeMap($String.keyFor, [{ k: "x", v: new $Int(g.X) }, { k: "y", v: new $Int(g.Y) }, { k: "width", v: new $Int(g.Width) }, { k: "height", v: new $Int(g.Height) }]));
|
|
198858
199010
|
};
|
|
198859
|
-
ptrType$15.methods = [{prop: "Geometry", name: "Geometry", pkg: "", typ: $funcType([], [ptrType$14], false)}, {prop: "SetEncodingPreferences", name: "SetEncodingPreferences", pkg: "", typ: $funcType([stats.EncodingPreferences], [], false)}, {prop: "Start", name: "Start", pkg: "", typ: $funcType([], [$error], false)}, {prop: "Close", name: "Close", pkg: "", typ: $funcType([], [], false)}, {prop: "OnClose", name: "OnClose", pkg: "", typ: $funcType([funcType], [], false)}, {prop: "startWindow", name: "startWindow", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "newWindowOptions", name: "newWindowOptions", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [screen.NewWindowOptions], false)}, {prop: "startClipboard", name: "startClipboard", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "isClosed", name: "isClosed", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$Bool], false)}, {prop: "retriableOpen", name: "retriableOpen", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([$Int, funcType$1], [$error], false)}, {prop: "openMetadata", name: "openMetadata", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "createMetadataSender", name: "createMetadataSender", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [message.Sender], false)}, {prop: "createScreenSender", name: "createScreenSender", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [message.Sender], false)}, {prop: "getEventMultiplier", name: "getEventMultiplier", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [geom.Point], false)}, {prop: "startTimestampSyncing", name: "startTimestampSyncing", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [], false)}, {prop: "startStatsSyncing", name: "startStatsSyncing", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [], false)}, {prop: "sendStats", name: "sendStats", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "getFrameHealthCheckTimeout", name: "getFrameHealthCheckTimeout", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [time.Duration], false)}, {prop: "startScreenHealthChecking", name: "startScreenHealthChecking", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [], false)}, {prop: "openScreen", name: "openScreen", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "closeScreen", name: "closeScreen", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "closeScreenLocked", name: "closeScreenLocked", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "createScreenBuffer", name: "createScreenBuffer", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [screen.Buffer, $error], false)}];
|
|
199011
|
+
ptrType$15.methods = [{prop: "Geometry", name: "Geometry", pkg: "", typ: $funcType([], [ptrType$14], false)}, {prop: "SetEncodingPreferences", name: "SetEncodingPreferences", pkg: "", typ: $funcType([stats.EncodingPreferences], [], false)}, {prop: "Start", name: "Start", pkg: "", typ: $funcType([], [$error], false)}, {prop: "Close", name: "Close", pkg: "", typ: $funcType([], [], false)}, {prop: "OnClose", name: "OnClose", pkg: "", typ: $funcType([funcType], [], false)}, {prop: "startWindow", name: "startWindow", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "newWindowOptions", name: "newWindowOptions", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [screen.NewWindowOptions], false)}, {prop: "startClipboard", name: "startClipboard", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "isClosed", name: "isClosed", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$Bool], false)}, {prop: "retriableOpen", name: "retriableOpen", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([$Int, funcType$1], [$error], false)}, {prop: "openMetadata", name: "openMetadata", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "createMetadataSender", name: "createMetadataSender", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [message.Sender], false)}, {prop: "createScreenSender", name: "createScreenSender", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [message.Sender], false)}, {prop: "setWindowSize", name: "setWindowSize", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([image.Point], [], false)}, {prop: "getWindowSize", name: "getWindowSize", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [image.Point], false)}, {prop: "getEventMultiplier", name: "getEventMultiplier", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [geom.Point], false)}, {prop: "startTimestampSyncing", name: "startTimestampSyncing", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [], false)}, {prop: "startStatsSyncing", name: "startStatsSyncing", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [], false)}, {prop: "sendStats", name: "sendStats", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "getFrameHealthCheckTimeout", name: "getFrameHealthCheckTimeout", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [time.Duration], false)}, {prop: "startScreenHealthChecking", name: "startScreenHealthChecking", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [], false)}, {prop: "openScreen", name: "openScreen", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "closeScreen", name: "closeScreen", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "closeScreenLocked", name: "closeScreenLocked", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$error], false)}, {prop: "createScreenBuffer", name: "createScreenBuffer", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [screen.Buffer, $error], false)}];
|
|
198860
199012
|
ptrType.methods = [{prop: "CreateProcessInfo", name: "CreateProcessInfo", pkg: "", typ: $funcType([$String, $Int], [$error], false)}, {prop: "RemoveProcessInfo", name: "RemoveProcessInfo", pkg: "", typ: $funcType([$String], [$error], false)}, {prop: "RemoveProcessInfoByPid", name: "RemoveProcessInfoByPid", pkg: "", typ: $funcType([$String, $Int], [$error], false)}, {prop: "WaitProcess", name: "WaitProcess", pkg: "", typ: $funcType([$String], [$error], false)}, {prop: "WaitProcessStopped", name: "WaitProcessStopped", pkg: "", typ: $funcType([$String, time.Duration], [$error], false)}, {prop: "GetProcessInfo", name: "GetProcessInfo", pkg: "", typ: $funcType([$String], [ProcessInfo, $error], false)}, {prop: "ListScreenIDs", name: "ListScreenIDs", pkg: "", typ: $funcType([], [sliceType$4, $error], false)}, {prop: "getUserProcessDirPath", name: "getUserProcessDirPath", pkg: "github.com/supraio/client-daemon/pkg/render", typ: $funcType([], [$String], false)}];
|
|
198861
|
-
ScreenWindow.init("github.com/supraio/client-daemon/pkg/render", [{prop: "processInfoManager", name: "processInfoManager", embedded: false, exported: false, typ: ptrType, tag: ""}, {prop: "screenDriver", name: "screenDriver", embedded: false, exported: false, typ: netpacket.Driver, tag: ""}, {prop: "screenHost", name: "screenHost", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "metadataDriver", name: "metadataDriver", embedded: false, exported: false, typ: netstream.Driver, tag: ""}, {prop: "metadataHost", name: "metadataHost", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "clientID", name: "clientID", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "clientSecret", name: "clientSecret", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "screenID", name: "screenID", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "secure", name: "secure", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "forceScreenSize", name: "forceScreenSize", embedded: false, exported: false, typ: ptrType$1, tag: ""}, {prop: "timeoutDuration", name: "timeoutDuration", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "closed", name: "closed", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "closeDone", name: "closeDone", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "closeMu", name: "closeMu", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "screenMu", name: "screenMu", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "stats", name: "stats", embedded: false, exported: false, typ: ptrType$2, tag: ""}, {prop: "onClose", name: "onClose", embedded: false, exported: false, typ: sliceType$1, tag: ""}, {prop: "window", name: "window", embedded: false, exported: false, typ: screen.Window, tag: ""}, {prop: "screen", name: "screen", embedded: false, exported: false, typ: screen.Screen, tag: ""}, {prop: "screenConn", name: "screenConn", embedded: false, exported: false, typ: netpacket.ReaderWriterCloser, tag: ""}, {prop: "metadataServer", name: "metadataServer", embedded: false, exported: false, typ: ptrType$3, tag: ""}, {prop: "responsiveSender", name: "responsiveSender", embedded: false, exported: false, typ: ptrType$4, tag: ""}, {prop: "collectionLoop", name: "collectionLoop", embedded: false, exported: false, typ: ptrType$5, tag: ""}, {prop: "decoderLoop", name: "decoderLoop", embedded: false, exported: false, typ: ptrType$6, tag: ""}, {prop: "renderingLoop", name: "renderingLoop", embedded: false, exported: false, typ: ptrType$7, tag: ""}, {prop: "sizeHandler", name: "sizeHandler", embedded: false, exported: false, typ: ptrType$8, tag: ""}, {prop: "touchHandler", name: "touchHandler", embedded: false, exported: false, typ: ptrType$9, tag: ""}, {prop: "keyHandler", name: "keyHandler", embedded: false, exported: false, typ: ptrType$10, tag: ""}, {prop: "mouseHandler", name: "mouseHandler", embedded: false, exported: false, typ: ptrType$11, tag: ""}, {prop: "eventMetrics", name: "eventMetrics", embedded: false, exported: false, typ: ptrType$12, tag: ""}, {prop: "pinger", name: "pinger", embedded: false, exported: false, typ: ptrType$13, tag: ""}, {prop: "keyEventChan", name: "keyEventChan", embedded: false, exported: false, typ: chanType$1, tag: ""}, {prop: "mouseEventChan", name: "mouseEventChan", embedded: false, exported: false, typ: chanType$2, tag: ""}, {prop: "sizeEventChan", name: "sizeEventChan", embedded: false, exported: false, typ: chanType$3, tag: ""}, {prop: "focusEventChan", name: "focusEventChan", embedded: false, exported: false, typ: chanType$4, tag: ""}, {prop: "touchEventChan", name: "touchEventChan", embedded: false, exported: false, typ: chanType$5, tag: ""}, {prop: "winCloseChannel", name: "winCloseChannel", embedded: false, exported: false, typ: chanType$6, tag: ""}, {prop: "eventLoopStop", name: "eventLoopStop", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "eventLoopDone", name: "eventLoopDone", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "windowSize", name: "windowSize", embedded: false, exported: false, typ: image.Point, tag: ""}, {prop: "geometry", name: "geometry", embedded: false, exported: false, typ: ptrType$14, tag: ""}]);
|
|
199013
|
+
ScreenWindow.init("github.com/supraio/client-daemon/pkg/render", [{prop: "processInfoManager", name: "processInfoManager", embedded: false, exported: false, typ: ptrType, tag: ""}, {prop: "screenDriver", name: "screenDriver", embedded: false, exported: false, typ: netpacket.Driver, tag: ""}, {prop: "screenHost", name: "screenHost", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "metadataDriver", name: "metadataDriver", embedded: false, exported: false, typ: netstream.Driver, tag: ""}, {prop: "metadataHost", name: "metadataHost", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "clientID", name: "clientID", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "clientSecret", name: "clientSecret", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "screenID", name: "screenID", embedded: false, exported: false, typ: $String, tag: ""}, {prop: "secure", name: "secure", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "forceScreenSize", name: "forceScreenSize", embedded: false, exported: false, typ: ptrType$1, tag: ""}, {prop: "timeoutDuration", name: "timeoutDuration", embedded: false, exported: false, typ: time.Duration, tag: ""}, {prop: "closed", name: "closed", embedded: false, exported: false, typ: $Bool, tag: ""}, {prop: "closeDone", name: "closeDone", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "closeMu", name: "closeMu", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "screenMu", name: "screenMu", embedded: false, exported: false, typ: sync.Mutex, tag: ""}, {prop: "stats", name: "stats", embedded: false, exported: false, typ: ptrType$2, tag: ""}, {prop: "onClose", name: "onClose", embedded: false, exported: false, typ: sliceType$1, tag: ""}, {prop: "window", name: "window", embedded: false, exported: false, typ: screen.Window, tag: ""}, {prop: "screen", name: "screen", embedded: false, exported: false, typ: screen.Screen, tag: ""}, {prop: "screenConn", name: "screenConn", embedded: false, exported: false, typ: netpacket.ReaderWriterCloser, tag: ""}, {prop: "metadataServer", name: "metadataServer", embedded: false, exported: false, typ: ptrType$3, tag: ""}, {prop: "responsiveSender", name: "responsiveSender", embedded: false, exported: false, typ: ptrType$4, tag: ""}, {prop: "collectionLoop", name: "collectionLoop", embedded: false, exported: false, typ: ptrType$5, tag: ""}, {prop: "decoderLoop", name: "decoderLoop", embedded: false, exported: false, typ: ptrType$6, tag: ""}, {prop: "renderingLoop", name: "renderingLoop", embedded: false, exported: false, typ: ptrType$7, tag: ""}, {prop: "sizeHandler", name: "sizeHandler", embedded: false, exported: false, typ: ptrType$8, tag: ""}, {prop: "touchHandler", name: "touchHandler", embedded: false, exported: false, typ: ptrType$9, tag: ""}, {prop: "keyHandler", name: "keyHandler", embedded: false, exported: false, typ: ptrType$10, tag: ""}, {prop: "mouseHandler", name: "mouseHandler", embedded: false, exported: false, typ: ptrType$11, tag: ""}, {prop: "eventMetrics", name: "eventMetrics", embedded: false, exported: false, typ: ptrType$12, tag: ""}, {prop: "pinger", name: "pinger", embedded: false, exported: false, typ: ptrType$13, tag: ""}, {prop: "keyEventChan", name: "keyEventChan", embedded: false, exported: false, typ: chanType$1, tag: ""}, {prop: "mouseEventChan", name: "mouseEventChan", embedded: false, exported: false, typ: chanType$2, tag: ""}, {prop: "sizeEventChan", name: "sizeEventChan", embedded: false, exported: false, typ: chanType$3, tag: ""}, {prop: "focusEventChan", name: "focusEventChan", embedded: false, exported: false, typ: chanType$4, tag: ""}, {prop: "touchEventChan", name: "touchEventChan", embedded: false, exported: false, typ: chanType$5, tag: ""}, {prop: "winCloseChannel", name: "winCloseChannel", embedded: false, exported: false, typ: chanType$6, tag: ""}, {prop: "eventLoopStop", name: "eventLoopStop", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "eventLoopDone", name: "eventLoopDone", embedded: false, exported: false, typ: chanType, tag: ""}, {prop: "windowSizeMu", name: "windowSizeMu", embedded: false, exported: false, typ: sync.RWMutex, tag: ""}, {prop: "windowSize", name: "windowSize", embedded: false, exported: false, typ: image.Point, tag: ""}, {prop: "geometry", name: "geometry", embedded: false, exported: false, typ: ptrType$14, tag: ""}]);
|
|
198862
199014
|
Geometry.init("", [{prop: "X", name: "X", embedded: false, exported: true, typ: $Int, tag: "json:\"x\""}, {prop: "Y", name: "Y", embedded: false, exported: true, typ: $Int, tag: "json:\"y\""}, {prop: "Width", name: "Width", embedded: false, exported: true, typ: $Int, tag: "json:\"width\""}, {prop: "Height", name: "Height", embedded: false, exported: true, typ: $Int, tag: "json:\"height\""}]);
|
|
198863
199015
|
screenWindowDetachEvent.init("", []);
|
|
198864
199016
|
nonBlockingWindowEventSender.init([{prop: "SendNonBlocking", name: "SendNonBlocking", pkg: "", typ: $funcType([$emptyInterface], [$Bool], false)}]);
|
|
@@ -198877,39 +199029,38 @@ $packages["github.com/supraio/client-daemon/pkg/render"] = (function() {
|
|
|
198877
199029
|
$r = samsungwasmdecoder.$init(); /* */ $s = 8; case 8: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
198878
199030
|
$r = webcodecs.$init(); /* */ $s = 9; case 9: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
198879
199031
|
$r = errs.$init(); /* */ $s = 10; case 10: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
198880
|
-
$r =
|
|
198881
|
-
$r =
|
|
198882
|
-
$r =
|
|
198883
|
-
$r =
|
|
198884
|
-
$r =
|
|
198885
|
-
$r =
|
|
198886
|
-
$r =
|
|
198887
|
-
$r =
|
|
198888
|
-
$r =
|
|
198889
|
-
$r =
|
|
198890
|
-
$r =
|
|
198891
|
-
$r =
|
|
198892
|
-
$r =
|
|
198893
|
-
$r =
|
|
198894
|
-
$r =
|
|
198895
|
-
$r =
|
|
198896
|
-
$r =
|
|
198897
|
-
$r =
|
|
198898
|
-
$r =
|
|
198899
|
-
$r =
|
|
198900
|
-
$r =
|
|
198901
|
-
$r =
|
|
198902
|
-
$r =
|
|
198903
|
-
$r =
|
|
198904
|
-
$r =
|
|
198905
|
-
$r =
|
|
198906
|
-
$r =
|
|
198907
|
-
$r =
|
|
198908
|
-
$r =
|
|
198909
|
-
$r =
|
|
198910
|
-
$r =
|
|
198911
|
-
$r =
|
|
198912
|
-
$r = time.$init(); /* */ $s = 43; case 43: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199032
|
+
$r = input.$init(); /* */ $s = 11; case 11: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199033
|
+
$r = message.$init(); /* */ $s = 12; case 12: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199034
|
+
$r = netclient.$init(); /* */ $s = 13; case 13: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199035
|
+
$r = netpacket.$init(); /* */ $s = 14; case 14: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199036
|
+
$r = netstream.$init(); /* */ $s = 15; case 15: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199037
|
+
$r = netframe.$init(); /* */ $s = 16; case 16: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199038
|
+
$r = jswebsocketworker.$init(); /* */ $s = 17; case 17: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199039
|
+
$r = player.$init(); /* */ $s = 18; case 18: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199040
|
+
$r = overlaydriver.$init(); /* */ $s = 19; case 19: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199041
|
+
$r = stats.$init(); /* */ $s = 20; case 20: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199042
|
+
$r = videostream.$init(); /* */ $s = 21; case 21: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199043
|
+
$r = window.$init(); /* */ $s = 22; case 22: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199044
|
+
$r = canvasdriver.$init(); /* */ $s = 23; case 23: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199045
|
+
$r = webgldriver.$init(); /* */ $s = 24; case 24: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199046
|
+
$r = screen.$init(); /* */ $s = 25; case 25: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199047
|
+
$r = focus.$init(); /* */ $s = 26; case 26: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199048
|
+
$r = key.$init(); /* */ $s = 27; case 27: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199049
|
+
$r = lifecycle.$init(); /* */ $s = 28; case 28: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199050
|
+
$r = mouse.$init(); /* */ $s = 29; case 29: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199051
|
+
$r = size.$init(); /* */ $s = 30; case 30: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199052
|
+
$r = touch.$init(); /* */ $s = 31; case 31: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199053
|
+
$r = geom.$init(); /* */ $s = 32; case 32: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199054
|
+
$r = image.$init(); /* */ $s = 33; case 33: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199055
|
+
$r = io.$init(); /* */ $s = 34; case 34: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199056
|
+
$r = log.$init(); /* */ $s = 35; case 35: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199057
|
+
$r = os.$init(); /* */ $s = 36; case 36: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199058
|
+
$r = path.$init(); /* */ $s = 37; case 37: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199059
|
+
$r = strconv.$init(); /* */ $s = 38; case 38: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199060
|
+
$r = strings.$init(); /* */ $s = 39; case 39: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199061
|
+
$r = sync.$init(); /* */ $s = 40; case 40: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199062
|
+
$r = js.$init(); /* */ $s = 41; case 41: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
199063
|
+
$r = time.$init(); /* */ $s = 42; case 42: if($c) { $c = false; $r = $r.$blk(); } if ($r && $r.$blk !== undefined) { break s; }
|
|
198913
199064
|
onScreenWindowStarted = $throwNilPointerError;
|
|
198914
199065
|
init();
|
|
198915
199066
|
/* */ } return; } if ($f === undefined) { $f = { $blk: $init }; } $f.$s = $s; $f.$r = $r; return $f;
|