@php-wasm/node 1.2.3 → 2.0.0

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.
@@ -8,7 +8,8 @@ import path from 'path';
8
8
 
9
9
  const dependencyFilename = path.join(__dirname, '7_4_33', 'php_7_4.wasm');
10
10
  export { dependencyFilename };
11
- export const dependenciesTotalSize = 29677246;
11
+ export const dependenciesTotalSize = 30107729;
12
+ const phpVersionString = '7.4.33';
12
13
  export function init(RuntimeName, PHPLoader) {
13
14
  // The rest of the code comes from the built php.js file and esm-suffix.js
14
15
  // include: shell.js
@@ -830,7 +831,7 @@ export function init(RuntimeName, PHPLoader) {
830
831
  },
831
832
  };
832
833
 
833
- var ___heap_base = 12029248;
834
+ var ___heap_base = 13083904;
834
835
 
835
836
  var alignMemory = (size, alignment) => {
836
837
  return Math.ceil(size / alignment) * alignment;
@@ -994,7 +995,7 @@ export function init(RuntimeName, PHPLoader) {
994
995
 
995
996
  /** @type {WebAssembly.Table} */
996
997
  var wasmTable = new WebAssembly.Table({
997
- initial: 15481,
998
+ initial: 15610,
998
999
  element: 'anyfunc',
999
1000
  });
1000
1001
  var getWasmTableEntry = (funcPtr) => {
@@ -1773,10 +1774,8 @@ export function init(RuntimeName, PHPLoader) {
1773
1774
  );
1774
1775
 
1775
1776
  var ___call_sighandler = (fp, sig) =>
1776
- ((
1777
- a1
1778
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
1779
- sig
1777
+ ((a1) => {})(
1778
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ sig
1780
1779
  );
1781
1780
  ___call_sighandler.sig = 'vpi';
1782
1781
 
@@ -1855,13 +1854,13 @@ export function init(RuntimeName, PHPLoader) {
1855
1854
  1024
1856
1855
  );
1857
1856
 
1858
- var ___stack_high = 12029248;
1857
+ var ___stack_high = 13083904;
1859
1858
 
1860
- var ___stack_low = 11963712;
1859
+ var ___stack_low = 12035328;
1861
1860
 
1862
1861
  var ___stack_pointer = new WebAssembly.Global(
1863
1862
  { value: 'i32', mutable: true },
1864
- 12029248
1863
+ 13083904
1865
1864
  );
1866
1865
 
1867
1866
  var PATH = {
@@ -8792,11 +8791,8 @@ export function init(RuntimeName, PHPLoader) {
8792
8791
  dlSetError(`'Could not load dynamic lib: ${filename}\n${e}`);
8793
8792
  runtimeKeepalivePop();
8794
8793
  callUserCallback(() =>
8795
- ((
8796
- a1,
8797
- a2
8798
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
8799
- handle,
8794
+ ((a1, a2) => {})(
8795
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
8800
8796
  user_data
8801
8797
  )
8802
8798
  );
@@ -8804,11 +8800,8 @@ export function init(RuntimeName, PHPLoader) {
8804
8800
  function successCallback() {
8805
8801
  runtimeKeepalivePop();
8806
8802
  callUserCallback(() =>
8807
- ((
8808
- a1,
8809
- a2
8810
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
8811
- handle,
8803
+ ((a1, a2) => {})(
8804
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
8812
8805
  user_data
8813
8806
  )
8814
8807
  );
@@ -19470,11 +19463,8 @@ export function init(RuntimeName, PHPLoader) {
19470
19463
  var trace = getCallstack();
19471
19464
  var parts = trace.split('\n');
19472
19465
  for (var i = 0; i < parts.length; i++) {
19473
- var ret = ((
19474
- a1,
19475
- a2
19476
- ) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
19477
- 0,
19466
+ var ret = ((a1, a2) => {})(
19467
+ /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0,
19478
19468
  arg
19479
19469
  );
19480
19470
  if (ret !== 0) return;
@@ -19606,7 +19596,7 @@ export function init(RuntimeName, PHPLoader) {
19606
19596
 
19607
19597
  var addOnExit = (cb) => onExits.unshift(cb);
19608
19598
 
19609
- var STACK_SIZE = 65536;
19599
+ var STACK_SIZE = 1048576;
19610
19600
 
19611
19601
  var STACK_ALIGN = 16;
19612
19602
 
@@ -20050,12 +20040,8 @@ export function init(RuntimeName, PHPLoader) {
20050
20040
  stringToUTF8(e.locale || '', keyEventData + 128, 32);
20051
20041
 
20052
20042
  if (
20053
- ((
20054
- a1,
20055
- a2,
20056
- a3
20057
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20058
- eventTypeId,
20043
+ ((a1, a2, a3) => {})(
20044
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20059
20045
  keyEventData,
20060
20046
  userData
20061
20047
  )
@@ -20173,12 +20159,8 @@ export function init(RuntimeName, PHPLoader) {
20173
20159
  fillMouseEventData(JSEvents.mouseEvent, e, target);
20174
20160
 
20175
20161
  if (
20176
- ((
20177
- a1,
20178
- a2,
20179
- a3
20180
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20181
- eventTypeId,
20162
+ ((a1, a2, a3) => {})(
20163
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20182
20164
  JSEvents.mouseEvent,
20183
20165
  userData
20184
20166
  )
@@ -20392,12 +20374,8 @@ export function init(RuntimeName, PHPLoader) {
20392
20374
  HEAPF64[(wheelEvent + 80) >> 3] = e['deltaZ'];
20393
20375
  HEAP32[(wheelEvent + 88) >> 2] = e['deltaMode'];
20394
20376
  if (
20395
- ((
20396
- a1,
20397
- a2,
20398
- a3
20399
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20400
- eventTypeId,
20377
+ ((a1, a2, a3) => {})(
20378
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20401
20379
  wheelEvent,
20402
20380
  userData
20403
20381
  )
@@ -20478,12 +20456,8 @@ export function init(RuntimeName, PHPLoader) {
20478
20456
  HEAP32[(uiEvent + 28) >> 2] = pageXOffset | 0; // scroll offsets are float
20479
20457
  HEAP32[(uiEvent + 32) >> 2] = pageYOffset | 0;
20480
20458
  if (
20481
- ((
20482
- a1,
20483
- a2,
20484
- a3
20485
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20486
- eventTypeId,
20459
+ ((a1, a2, a3) => {})(
20460
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20487
20461
  uiEvent,
20488
20462
  userData
20489
20463
  )
@@ -20557,12 +20531,8 @@ export function init(RuntimeName, PHPLoader) {
20557
20531
  stringToUTF8(id, focusEvent + 128, 128);
20558
20532
 
20559
20533
  if (
20560
- ((
20561
- a1,
20562
- a2,
20563
- a3
20564
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20565
- eventTypeId,
20534
+ ((a1, a2, a3) => {})(
20535
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20566
20536
  focusEvent,
20567
20537
  userData
20568
20538
  )
@@ -20678,12 +20648,8 @@ export function init(RuntimeName, PHPLoader) {
20678
20648
  ); // TODO: Thread-safety with respect to emscripten_get_deviceorientation_status()
20679
20649
 
20680
20650
  if (
20681
- ((
20682
- a1,
20683
- a2,
20684
- a3
20685
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20686
- eventTypeId,
20651
+ ((a1, a2, a3) => {})(
20652
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20687
20653
  JSEvents.deviceOrientationEvent,
20688
20654
  userData
20689
20655
  )
@@ -20766,12 +20732,8 @@ export function init(RuntimeName, PHPLoader) {
20766
20732
  fillDeviceMotionEventData(JSEvents.deviceMotionEvent, e, target); // TODO: Thread-safety with respect to emscripten_get_devicemotion_status()
20767
20733
 
20768
20734
  if (
20769
- ((
20770
- a1,
20771
- a2,
20772
- a3
20773
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20774
- eventTypeId,
20735
+ ((a1, a2, a3) => {})(
20736
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20775
20737
  JSEvents.deviceMotionEvent,
20776
20738
  userData
20777
20739
  )
@@ -20881,12 +20843,8 @@ export function init(RuntimeName, PHPLoader) {
20881
20843
  fillOrientationChangeEventData(orientationChangeEvent);
20882
20844
 
20883
20845
  if (
20884
- ((
20885
- a1,
20886
- a2,
20887
- a3
20888
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
20889
- eventTypeId,
20846
+ ((a1, a2, a3) => {})(
20847
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
20890
20848
  orientationChangeEvent,
20891
20849
  userData
20892
20850
  )
@@ -21019,12 +20977,8 @@ export function init(RuntimeName, PHPLoader) {
21019
20977
  fillFullscreenChangeEventData(fullscreenChangeEvent);
21020
20978
 
21021
20979
  if (
21022
- ((
21023
- a1,
21024
- a2,
21025
- a3
21026
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21027
- eventTypeId,
20980
+ ((a1, a2, a3) => {})(
20981
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21028
20982
  fullscreenChangeEvent,
21029
20983
  userData
21030
20984
  )
@@ -21188,12 +21142,8 @@ export function init(RuntimeName, PHPLoader) {
21188
21142
  );
21189
21143
 
21190
21144
  if (currentFullscreenStrategy.canvasResizedCallback) {
21191
- ((
21192
- a1,
21193
- a2,
21194
- a3
21195
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21196
- 37,
21145
+ ((a1, a2, a3) => {})(
21146
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21197
21147
  0,
21198
21148
  currentFullscreenStrategy.canvasResizedCallbackUserData
21199
21149
  );
@@ -21299,12 +21249,8 @@ export function init(RuntimeName, PHPLoader) {
21299
21249
  currentFullscreenStrategy = strategy;
21300
21250
 
21301
21251
  if (strategy.canvasResizedCallback) {
21302
- ((
21303
- a1,
21304
- a2,
21305
- a3
21306
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21307
- 37,
21252
+ ((a1, a2, a3) => {})(
21253
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21308
21254
  0,
21309
21255
  strategy.canvasResizedCallbackUserData
21310
21256
  );
@@ -21406,12 +21352,8 @@ export function init(RuntimeName, PHPLoader) {
21406
21352
  !inCenteredWithoutScalingFullscreenMode &&
21407
21353
  currentFullscreenStrategy.canvasResizedCallback
21408
21354
  ) {
21409
- ((
21410
- a1,
21411
- a2,
21412
- a3
21413
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21414
- 37,
21355
+ ((a1, a2, a3) => {})(
21356
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21415
21357
  0,
21416
21358
  currentFullscreenStrategy.canvasResizedCallbackUserData
21417
21359
  );
@@ -21510,12 +21452,8 @@ export function init(RuntimeName, PHPLoader) {
21510
21452
  softFullscreenResizeWebGLRenderTarget
21511
21453
  );
21512
21454
  if (strategy.canvasResizedCallback) {
21513
- ((
21514
- a1,
21515
- a2,
21516
- a3
21517
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21518
- 37,
21455
+ ((a1, a2, a3) => {})(
21456
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21519
21457
  0,
21520
21458
  strategy.canvasResizedCallbackUserData
21521
21459
  );
@@ -21528,12 +21466,8 @@ export function init(RuntimeName, PHPLoader) {
21528
21466
 
21529
21467
  // Inform the caller that the canvas size has changed.
21530
21468
  if (strategy.canvasResizedCallback) {
21531
- ((
21532
- a1,
21533
- a2,
21534
- a3
21535
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21536
- 37,
21469
+ ((a1, a2, a3) => {})(
21470
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 37,
21537
21471
  0,
21538
21472
  strategy.canvasResizedCallbackUserData
21539
21473
  );
@@ -21601,12 +21535,8 @@ export function init(RuntimeName, PHPLoader) {
21601
21535
  fillPointerlockChangeEventData(pointerlockChangeEvent);
21602
21536
 
21603
21537
  if (
21604
- ((
21605
- a1,
21606
- a2,
21607
- a3
21608
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21609
- eventTypeId,
21538
+ ((a1, a2, a3) => {})(
21539
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21610
21540
  pointerlockChangeEvent,
21611
21541
  userData
21612
21542
  )
@@ -21696,12 +21626,8 @@ export function init(RuntimeName, PHPLoader) {
21696
21626
  ) => {
21697
21627
  var pointerlockErrorEventHandlerFunc = (e = event) => {
21698
21628
  if (
21699
- ((
21700
- a1,
21701
- a2,
21702
- a3
21703
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21704
- eventTypeId,
21629
+ ((a1, a2, a3) => {})(
21630
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21705
21631
  0,
21706
21632
  userData
21707
21633
  )
@@ -21901,12 +21827,8 @@ export function init(RuntimeName, PHPLoader) {
21901
21827
  fillVisibilityChangeEventData(visibilityChangeEvent);
21902
21828
 
21903
21829
  if (
21904
- ((
21905
- a1,
21906
- a2,
21907
- a3
21908
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
21909
- eventTypeId,
21830
+ ((a1, a2, a3) => {})(
21831
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
21910
21832
  visibilityChangeEvent,
21911
21833
  userData
21912
21834
  )
@@ -22026,12 +21948,8 @@ export function init(RuntimeName, PHPLoader) {
22026
21948
  HEAP32[(touchEvent + 8) >> 2] = numTouches;
22027
21949
 
22028
21950
  if (
22029
- ((
22030
- a1,
22031
- a2,
22032
- a3
22033
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22034
- eventTypeId,
21951
+ ((a1, a2, a3) => {})(
21952
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22035
21953
  touchEvent,
22036
21954
  userData
22037
21955
  )
@@ -22169,12 +22087,8 @@ export function init(RuntimeName, PHPLoader) {
22169
22087
  fillGamepadEventData(gamepadEvent, e['gamepad']);
22170
22088
 
22171
22089
  if (
22172
- ((
22173
- a1,
22174
- a2,
22175
- a3
22176
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22177
- eventTypeId,
22090
+ ((a1, a2, a3) => {})(
22091
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22178
22092
  gamepadEvent,
22179
22093
  userData
22180
22094
  )
@@ -22276,12 +22190,8 @@ export function init(RuntimeName, PHPLoader) {
22276
22190
  ) => {
22277
22191
  var beforeUnloadEventHandlerFunc = (e = event) => {
22278
22192
  // Note: This is always called on the main browser thread, since it needs synchronously return a value!
22279
- var confirmationMessage = ((
22280
- a1,
22281
- a2,
22282
- a3
22283
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22284
- eventTypeId,
22193
+ var confirmationMessage = ((a1, a2, a3) => {})(
22194
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22285
22195
  0,
22286
22196
  userData
22287
22197
  );
@@ -22352,12 +22262,8 @@ export function init(RuntimeName, PHPLoader) {
22352
22262
  fillBatteryEventData(batteryEvent, battery());
22353
22263
 
22354
22264
  if (
22355
- ((
22356
- a1,
22357
- a2,
22358
- a3
22359
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22360
- eventTypeId,
22265
+ ((a1, a2, a3) => {})(
22266
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
22361
22267
  batteryEvent,
22362
22268
  userData
22363
22269
  )
@@ -22447,11 +22353,8 @@ export function init(RuntimeName, PHPLoader) {
22447
22353
 
22448
22354
  var _emscripten_request_animation_frame = (cb, userData) =>
22449
22355
  requestAnimationFrame((timeStamp) =>
22450
- ((
22451
- a1,
22452
- a2
22453
- ) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22454
- timeStamp,
22356
+ ((a1, a2) => {})(
22357
+ /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ timeStamp,
22455
22358
  userData
22456
22359
  )
22457
22360
  );
@@ -22463,11 +22366,8 @@ export function init(RuntimeName, PHPLoader) {
22463
22366
  var _emscripten_request_animation_frame_loop = (cb, userData) => {
22464
22367
  function tick(timeStamp) {
22465
22368
  if (
22466
- ((
22467
- a1,
22468
- a2
22469
- ) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22470
- timeStamp,
22369
+ ((a1, a2) => {})(
22370
+ /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ timeStamp,
22471
22371
  userData
22472
22372
  )
22473
22373
  ) {
@@ -22692,10 +22592,8 @@ export function init(RuntimeName, PHPLoader) {
22692
22592
  return emSetImmediate(() => {
22693
22593
  runtimeKeepalivePop();
22694
22594
  callUserCallback(() =>
22695
- ((
22696
- a1
22697
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22698
- userData
22595
+ ((a1) => {})(
22596
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22699
22597
  )
22700
22598
  );
22701
22599
  });
@@ -22712,10 +22610,8 @@ export function init(RuntimeName, PHPLoader) {
22712
22610
  function tick() {
22713
22611
  callUserCallback(() => {
22714
22612
  if (
22715
- ((
22716
- a1
22717
- ) => {}) /* a dynamic function call to signature ii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22718
- userData
22613
+ ((a1) => {})(
22614
+ /* a dynamic function call to signature ii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22719
22615
  )
22720
22616
  ) {
22721
22617
  emSetImmediate(tick);
@@ -22732,10 +22628,8 @@ export function init(RuntimeName, PHPLoader) {
22732
22628
  var _emscripten_set_timeout = (cb, msecs, userData) =>
22733
22629
  safeSetTimeout(
22734
22630
  () =>
22735
- ((
22736
- a1
22737
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22738
- userData
22631
+ ((a1) => {})(
22632
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22739
22633
  ),
22740
22634
  msecs
22741
22635
  );
@@ -22751,11 +22645,8 @@ export function init(RuntimeName, PHPLoader) {
22751
22645
  runtimeKeepalivePop();
22752
22646
  callUserCallback(() => {
22753
22647
  if (
22754
- ((
22755
- a1,
22756
- a2
22757
- ) => {}) /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22758
- t,
22648
+ ((a1, a2) => {})(
22649
+ /* a dynamic function call to signature idi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ t,
22759
22650
  userData
22760
22651
  )
22761
22652
  ) {
@@ -22779,10 +22670,8 @@ export function init(RuntimeName, PHPLoader) {
22779
22670
  runtimeKeepalivePush();
22780
22671
  return setInterval(() => {
22781
22672
  callUserCallback(() =>
22782
- ((
22783
- a1
22784
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22785
- userData
22673
+ ((a1) => {})(
22674
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
22786
22675
  )
22787
22676
  );
22788
22677
  }, msecs);
@@ -22797,10 +22686,8 @@ export function init(RuntimeName, PHPLoader) {
22797
22686
 
22798
22687
  var _emscripten_async_call = (func, arg, millis) => {
22799
22688
  var wrapper = () =>
22800
- ((
22801
- a1
22802
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22803
- arg
22689
+ ((a1) => {})(
22690
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22804
22691
  );
22805
22692
 
22806
22693
  if (
@@ -22833,7 +22720,7 @@ export function init(RuntimeName, PHPLoader) {
22833
22720
 
22834
22721
  var _emscripten_set_main_loop = (func, fps, simulateInfiniteLoop) => {
22835
22722
  var iterFunc =
22836
- () => {} /* a dynamic function call to signature v, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */;
22723
+ () => {}; /* a dynamic function call to signature v, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */
22837
22724
  setMainLoop(iterFunc, fps, simulateInfiniteLoop);
22838
22725
  };
22839
22726
  _emscripten_set_main_loop.sig = 'vpii';
@@ -22845,10 +22732,8 @@ export function init(RuntimeName, PHPLoader) {
22845
22732
  simulateInfiniteLoop
22846
22733
  ) => {
22847
22734
  var iterFunc = () =>
22848
- ((
22849
- a1
22850
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22851
- arg
22735
+ ((a1) => {})(
22736
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22852
22737
  );
22853
22738
  setMainLoop(iterFunc, fps, simulateInfiniteLoop, arg);
22854
22739
  };
@@ -22869,10 +22754,8 @@ export function init(RuntimeName, PHPLoader) {
22869
22754
  var __emscripten_push_main_loop_blocker = (func, arg, name) => {
22870
22755
  MainLoop.queue.push({
22871
22756
  func: () => {
22872
- ((
22873
- a1
22874
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22875
- arg
22757
+ ((a1) => {})(
22758
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22876
22759
  );
22877
22760
  },
22878
22761
  name: UTF8ToString(name),
@@ -22885,10 +22768,8 @@ export function init(RuntimeName, PHPLoader) {
22885
22768
  var __emscripten_push_uncounted_main_loop_blocker = (func, arg, name) => {
22886
22769
  MainLoop.queue.push({
22887
22770
  func: () => {
22888
- ((
22889
- a1
22890
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22891
- arg
22771
+ ((a1) => {})(
22772
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
22892
22773
  );
22893
22774
  },
22894
22775
  name: UTF8ToString(name),
@@ -22922,12 +22803,8 @@ export function init(RuntimeName, PHPLoader) {
22922
22803
  var resultPtr = stackAlloc(POINTER_SIZE);
22923
22804
  HEAPU32[resultPtr >> 2] = 0;
22924
22805
  try {
22925
- var result = ((
22926
- a1,
22927
- a2,
22928
- a3
22929
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
22930
- resultPtr,
22806
+ var result = ((a1, a2, a3) => {})(
22807
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ resultPtr,
22931
22808
  userData,
22932
22809
  value
22933
22810
  );
@@ -23863,19 +23740,15 @@ export function init(RuntimeName, PHPLoader) {
23863
23740
  () => {
23864
23741
  runtimeKeepalivePop();
23865
23742
  if (onload)
23866
- ((
23867
- a1
23868
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23869
- file
23743
+ ((a1) => {})(
23744
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ file
23870
23745
  );
23871
23746
  },
23872
23747
  () => {
23873
23748
  runtimeKeepalivePop();
23874
23749
  if (onerror)
23875
- ((
23876
- a1
23877
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23878
- file
23750
+ ((a1) => {})(
23751
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ file
23879
23752
  );
23880
23753
  },
23881
23754
  true // don'tCreateFile - it's already there
@@ -23909,21 +23782,16 @@ export function init(RuntimeName, PHPLoader) {
23909
23782
  () => {
23910
23783
  runtimeKeepalivePop();
23911
23784
  if (onload)
23912
- ((
23913
- a1,
23914
- a2
23915
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23916
- arg,
23785
+ ((a1, a2) => {})(
23786
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg,
23917
23787
  cname
23918
23788
  );
23919
23789
  },
23920
23790
  () => {
23921
23791
  runtimeKeepalivePop();
23922
23792
  if (onerror)
23923
- ((
23924
- a1
23925
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
23926
- arg
23793
+ ((a1) => {})(
23794
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
23927
23795
  );
23928
23796
  },
23929
23797
  true // don'tCreateFile - it's already there
@@ -24196,10 +24064,10 @@ export function init(RuntimeName, PHPLoader) {
24196
24064
  runtimeKeepalivePop();
24197
24065
  callUserCallback(() => {
24198
24066
  var sp = stackSave();
24199
- ((
24200
- a1
24201
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24202
- stringToUTF8OnStack(_file)
24067
+ ((a1) => {})(
24068
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ stringToUTF8OnStack(
24069
+ _file
24070
+ )
24203
24071
  );
24204
24072
  stackRestore(sp);
24205
24073
  });
@@ -24243,12 +24111,8 @@ export function init(RuntimeName, PHPLoader) {
24243
24111
  callUserCallback(() => {
24244
24112
  var buffer = _malloc(byteArray.length);
24245
24113
  HEAPU8.set(byteArray, buffer);
24246
- ((
24247
- a1,
24248
- a2,
24249
- a3
24250
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24251
- userdata,
24114
+ ((a1, a2, a3) => {})(
24115
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userdata,
24252
24116
  buffer,
24253
24117
  byteArray.length
24254
24118
  );
@@ -24258,10 +24122,8 @@ export function init(RuntimeName, PHPLoader) {
24258
24122
  if (onerror) {
24259
24123
  runtimeKeepalivePop();
24260
24124
  callUserCallback(() => {
24261
- ((
24262
- a1
24263
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24264
- userdata
24125
+ ((a1) => {})(
24126
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userdata
24265
24127
  );
24266
24128
  });
24267
24129
  }
@@ -24318,12 +24180,8 @@ export function init(RuntimeName, PHPLoader) {
24318
24180
  );
24319
24181
  if (onload) {
24320
24182
  var sp = stackSave();
24321
- ((
24322
- a1,
24323
- a2,
24324
- a3
24325
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24326
- handle,
24183
+ ((a1, a2, a3) => {})(
24184
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24327
24185
  userdata,
24328
24186
  stringToUTF8OnStack(_file)
24329
24187
  );
@@ -24331,12 +24189,8 @@ export function init(RuntimeName, PHPLoader) {
24331
24189
  }
24332
24190
  } else {
24333
24191
  if (onerror)
24334
- ((
24335
- a1,
24336
- a2,
24337
- a3
24338
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24339
- handle,
24192
+ ((a1, a2, a3) => {})(
24193
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24340
24194
  userdata,
24341
24195
  http.status
24342
24196
  );
@@ -24349,12 +24203,8 @@ export function init(RuntimeName, PHPLoader) {
24349
24203
  http.onerror = (e) => {
24350
24204
  runtimeKeepalivePop();
24351
24205
  if (onerror)
24352
- ((
24353
- a1,
24354
- a2,
24355
- a3
24356
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24357
- handle,
24206
+ ((a1, a2, a3) => {})(
24207
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24358
24208
  userdata,
24359
24209
  http.status
24360
24210
  );
@@ -24369,12 +24219,8 @@ export function init(RuntimeName, PHPLoader) {
24369
24219
  ) {
24370
24220
  var percentComplete = (e.loaded / e.total) * 100;
24371
24221
  if (onprogress)
24372
- ((
24373
- a1,
24374
- a2,
24375
- a3
24376
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24377
- handle,
24222
+ ((a1, a2, a3) => {})(
24223
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24378
24224
  userdata,
24379
24225
  percentComplete
24380
24226
  );
@@ -24431,13 +24277,8 @@ export function init(RuntimeName, PHPLoader) {
24431
24277
  if (http.statusText) {
24432
24278
  statusText = stringToUTF8OnStack(http.statusText);
24433
24279
  }
24434
- ((
24435
- a1,
24436
- a2,
24437
- a3,
24438
- a4
24439
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24440
- handle,
24280
+ ((a1, a2, a3, a4) => {})(
24281
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24441
24282
  userdata,
24442
24283
  http.status,
24443
24284
  statusText
@@ -24458,13 +24299,8 @@ export function init(RuntimeName, PHPLoader) {
24458
24299
  var buffer = _malloc(byteArray.length);
24459
24300
  HEAPU8.set(byteArray, buffer);
24460
24301
  if (onload)
24461
- ((
24462
- a1,
24463
- a2,
24464
- a3,
24465
- a4
24466
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24467
- handle,
24302
+ ((a1, a2, a3, a4) => {})(
24303
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24468
24304
  userdata,
24469
24305
  buffer,
24470
24306
  byteArray.length
@@ -24485,13 +24321,8 @@ export function init(RuntimeName, PHPLoader) {
24485
24321
  // PROGRESS
24486
24322
  http.onprogress = (e) => {
24487
24323
  if (onprogress)
24488
- ((
24489
- a1,
24490
- a2,
24491
- a3,
24492
- a4
24493
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24494
- handle,
24324
+ ((a1, a2, a3, a4) => {})(
24325
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ handle,
24495
24326
  userdata,
24496
24327
  e.loaded,
24497
24328
  e.lengthComputable || e.lengthComputable === undefined
@@ -24611,24 +24442,16 @@ export function init(RuntimeName, PHPLoader) {
24611
24442
  if (event === 'error') {
24612
24443
  withStackSave(() => {
24613
24444
  var msg = stringToUTF8OnStack(data[2]);
24614
- ((
24615
- a1,
24616
- a2,
24617
- a3,
24618
- a4
24619
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24620
- data[0],
24445
+ ((a1, a2, a3, a4) => {})(
24446
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ data[0],
24621
24447
  data[1],
24622
24448
  msg,
24623
24449
  userData
24624
24450
  );
24625
24451
  });
24626
24452
  } else {
24627
- ((
24628
- a1,
24629
- a2
24630
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
24631
- data,
24453
+ ((a1, a2) => {})(
24454
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ data,
24632
24455
  userData
24633
24456
  );
24634
24457
  }
@@ -25094,12 +24917,8 @@ export function init(RuntimeName, PHPLoader) {
25094
24917
  ) => {
25095
24918
  var webGlEventHandlerFunc = (e = event) => {
25096
24919
  if (
25097
- ((
25098
- a1,
25099
- a2,
25100
- a3
25101
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25102
- eventTypeId,
24920
+ ((a1, a2, a3) => {})(
24921
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ eventTypeId,
25103
24922
  0,
25104
24923
  userData
25105
24924
  )
@@ -25318,21 +25137,15 @@ export function init(RuntimeName, PHPLoader) {
25318
25137
  ) {
25319
25138
  event.preventDefault();
25320
25139
  GLUT.saveModifiers(event);
25321
- ((
25322
- a1,
25323
- a2
25324
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25325
- lastX,
25140
+ ((a1, a2) => {})(
25141
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ lastX,
25326
25142
  lastY
25327
25143
  );
25328
25144
  } else if (GLUT.buttons != 0 && GLUT.motionFunc) {
25329
25145
  event.preventDefault();
25330
25146
  GLUT.saveModifiers(event);
25331
- ((
25332
- a1,
25333
- a2
25334
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25335
- lastX,
25147
+ ((a1, a2) => {})(
25148
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ lastX,
25336
25149
  lastY
25337
25150
  );
25338
25151
  }
@@ -25493,12 +25306,8 @@ export function init(RuntimeName, PHPLoader) {
25493
25306
  if (GLUT.specialFunc) {
25494
25307
  event.preventDefault();
25495
25308
  GLUT.saveModifiers(event);
25496
- ((
25497
- a1,
25498
- a2,
25499
- a3
25500
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25501
- key,
25309
+ ((a1, a2, a3) => {})(
25310
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25502
25311
  Browser.mouseX,
25503
25312
  Browser.mouseY
25504
25313
  );
@@ -25508,12 +25317,8 @@ export function init(RuntimeName, PHPLoader) {
25508
25317
  if (key !== null && GLUT.keyboardFunc) {
25509
25318
  event.preventDefault();
25510
25319
  GLUT.saveModifiers(event);
25511
- ((
25512
- a1,
25513
- a2,
25514
- a3
25515
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25516
- key,
25320
+ ((a1, a2, a3) => {})(
25321
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25517
25322
  Browser.mouseX,
25518
25323
  Browser.mouseY
25519
25324
  );
@@ -25528,12 +25333,8 @@ export function init(RuntimeName, PHPLoader) {
25528
25333
  if (GLUT.specialUpFunc) {
25529
25334
  event.preventDefault();
25530
25335
  GLUT.saveModifiers(event);
25531
- ((
25532
- a1,
25533
- a2,
25534
- a3
25535
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25536
- key,
25336
+ ((a1, a2, a3) => {})(
25337
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25537
25338
  Browser.mouseX,
25538
25339
  Browser.mouseY
25539
25340
  );
@@ -25543,12 +25344,8 @@ export function init(RuntimeName, PHPLoader) {
25543
25344
  if (key !== null && GLUT.keyboardUpFunc) {
25544
25345
  event.preventDefault();
25545
25346
  GLUT.saveModifiers(event);
25546
- ((
25547
- a1,
25548
- a2,
25549
- a3
25550
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25551
- key,
25347
+ ((a1, a2, a3) => {})(
25348
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ key,
25552
25349
  Browser.mouseX,
25553
25350
  Browser.mouseY
25554
25351
  );
@@ -25612,13 +25409,10 @@ export function init(RuntimeName, PHPLoader) {
25612
25409
  } catch (e) {}
25613
25410
  event.preventDefault();
25614
25411
  GLUT.saveModifiers(event);
25615
- ((
25616
- a1,
25617
- a2,
25618
- a3,
25619
- a4
25620
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25621
- event['button'],
25412
+ ((a1, a2, a3, a4) => {})(
25413
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ event[
25414
+ 'button'
25415
+ ],
25622
25416
  0 /*GLUT_DOWN*/,
25623
25417
  Browser.mouseX,
25624
25418
  Browser.mouseY
@@ -25633,13 +25427,10 @@ export function init(RuntimeName, PHPLoader) {
25633
25427
  if (GLUT.mouseFunc) {
25634
25428
  event.preventDefault();
25635
25429
  GLUT.saveModifiers(event);
25636
- ((
25637
- a1,
25638
- a2,
25639
- a3,
25640
- a4
25641
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25642
- event['button'],
25430
+ ((a1, a2, a3, a4) => {})(
25431
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ event[
25432
+ 'button'
25433
+ ],
25643
25434
  1 /*GLUT_UP*/,
25644
25435
  Browser.mouseX,
25645
25436
  Browser.mouseY
@@ -25668,13 +25459,8 @@ export function init(RuntimeName, PHPLoader) {
25668
25459
  if (GLUT.mouseFunc) {
25669
25460
  event.preventDefault();
25670
25461
  GLUT.saveModifiers(event);
25671
- ((
25672
- a1,
25673
- a2,
25674
- a3,
25675
- a4
25676
- ) => {}) /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25677
- button,
25462
+ ((a1, a2, a3, a4) => {})(
25463
+ /* a dynamic function call to signature viiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ button,
25678
25464
  0 /*GLUT_DOWN*/,
25679
25465
  Browser.mouseX,
25680
25466
  Browser.mouseY
@@ -25717,11 +25503,8 @@ export function init(RuntimeName, PHPLoader) {
25717
25503
  /* Can't call _glutReshapeWindow as that requests cancelling fullscreen. */
25718
25504
  if (GLUT.reshapeFunc) {
25719
25505
  // out("GLUT.reshapeFunc (from FS): " + width + ", " + height);
25720
- ((
25721
- a1,
25722
- a2
25723
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25724
- width,
25506
+ ((a1, a2) => {})(
25507
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ width,
25725
25508
  height
25726
25509
  );
25727
25510
  }
@@ -25764,11 +25547,8 @@ export function init(RuntimeName, PHPLoader) {
25764
25547
 
25765
25548
  Browser.resizeListeners.push((width, height) => {
25766
25549
  if (GLUT.reshapeFunc) {
25767
- ((
25768
- a1,
25769
- a2
25770
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25771
- width,
25550
+ ((a1, a2) => {})(
25551
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ width,
25772
25552
  height
25773
25553
  );
25774
25554
  }
@@ -25881,10 +25661,8 @@ export function init(RuntimeName, PHPLoader) {
25881
25661
  var _glutTimerFunc = (msec, func, value) =>
25882
25662
  safeSetTimeout(
25883
25663
  () =>
25884
- ((
25885
- a1
25886
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
25887
- value
25664
+ ((a1) => {})(
25665
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ value
25888
25666
  ),
25889
25667
  msec
25890
25668
  );
@@ -26044,11 +25822,8 @@ export function init(RuntimeName, PHPLoader) {
26044
25822
  Browser.setCanvasSize(width, height, true); // N.B. GLUT.reshapeFunc is also registered as a canvas resize callback.
26045
25823
  // Just call it once here.
26046
25824
  if (GLUT.reshapeFunc) {
26047
- ((
26048
- a1,
26049
- a2
26050
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
26051
- width,
25825
+ ((a1, a2) => {})(
25826
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ width,
26052
25827
  height
26053
25828
  );
26054
25829
  }
@@ -27110,21 +26885,15 @@ export function init(RuntimeName, PHPLoader) {
27110
26885
  callUserCallback(() => {
27111
26886
  if (error) {
27112
26887
  if (onerror)
27113
- ((
27114
- a1
27115
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27116
- arg
26888
+ ((a1) => {})(
26889
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27117
26890
  );
27118
26891
  return;
27119
26892
  }
27120
26893
  var buffer = _malloc(byteArray.length);
27121
26894
  HEAPU8.set(byteArray, buffer);
27122
- ((
27123
- a1,
27124
- a2,
27125
- a3
27126
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27127
- arg,
26895
+ ((a1, a2, a3) => {})(
26896
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg,
27128
26897
  buffer,
27129
26898
  byteArray.length
27130
26899
  );
@@ -27156,18 +26925,14 @@ export function init(RuntimeName, PHPLoader) {
27156
26925
  callUserCallback(() => {
27157
26926
  if (error) {
27158
26927
  if (onerror)
27159
- ((
27160
- a1
27161
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27162
- arg
26928
+ ((a1) => {})(
26929
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27163
26930
  );
27164
26931
  return;
27165
26932
  }
27166
26933
  if (onstore)
27167
- ((
27168
- a1
27169
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27170
- arg
26934
+ ((a1) => {})(
26935
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27171
26936
  );
27172
26937
  });
27173
26938
  }
@@ -27182,18 +26947,14 @@ export function init(RuntimeName, PHPLoader) {
27182
26947
  callUserCallback(() => {
27183
26948
  if (error) {
27184
26949
  if (onerror)
27185
- ((
27186
- a1
27187
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27188
- arg
26950
+ ((a1) => {})(
26951
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27189
26952
  );
27190
26953
  return;
27191
26954
  }
27192
26955
  if (ondelete)
27193
- ((
27194
- a1
27195
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27196
- arg
26956
+ ((a1) => {})(
26957
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27197
26958
  );
27198
26959
  });
27199
26960
  });
@@ -27210,19 +26971,14 @@ export function init(RuntimeName, PHPLoader) {
27210
26971
  callUserCallback(() => {
27211
26972
  if (error) {
27212
26973
  if (onerror)
27213
- ((
27214
- a1
27215
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27216
- arg
26974
+ ((a1) => {})(
26975
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27217
26976
  );
27218
26977
  return;
27219
26978
  }
27220
26979
  if (oncheck)
27221
- ((
27222
- a1,
27223
- a2
27224
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27225
- arg,
26980
+ ((a1, a2) => {})(
26981
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg,
27226
26982
  exists
27227
26983
  );
27228
26984
  });
@@ -27238,18 +26994,14 @@ export function init(RuntimeName, PHPLoader) {
27238
26994
  callUserCallback(() => {
27239
26995
  if (error) {
27240
26996
  if (onerror)
27241
- ((
27242
- a1
27243
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27244
- arg
26997
+ ((a1) => {})(
26998
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27245
26999
  );
27246
27000
  return;
27247
27001
  }
27248
27002
  if (onclear)
27249
- ((
27250
- a1
27251
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27252
- arg
27003
+ ((a1) => {})(
27004
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ arg
27253
27005
  );
27254
27006
  });
27255
27007
  });
@@ -27406,11 +27158,8 @@ export function init(RuntimeName, PHPLoader) {
27406
27158
  safeSetTimeout(() => {
27407
27159
  var stackBegin = Asyncify.currData + 12;
27408
27160
  var stackEnd = HEAPU32[Asyncify.currData >> 2];
27409
- ((
27410
- a1,
27411
- a2
27412
- ) => {}) /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27413
- stackBegin,
27161
+ ((a1, a2) => {})(
27162
+ /* a dynamic function call to signature vii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ stackBegin,
27414
27163
  stackEnd
27415
27164
  );
27416
27165
  wakeUp();
@@ -27471,10 +27220,8 @@ export function init(RuntimeName, PHPLoader) {
27471
27220
  HEAPU32[(newFiber + 12) >> 2] = 0;
27472
27221
 
27473
27222
  var userData = HEAPU32[(newFiber + 16) >> 2];
27474
- ((
27475
- a1
27476
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
27477
- userData
27223
+ ((a1) => {})(
27224
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ userData
27478
27225
  );
27479
27226
  } else {
27480
27227
  var asyncifyData = newFiber + 20;
@@ -28486,11 +28233,8 @@ export function init(RuntimeName, PHPLoader) {
28486
28233
  if (!SDL.eventHandler) return;
28487
28234
 
28488
28235
  while (SDL.pollEvent(SDL.eventHandlerTemp)) {
28489
- ((
28490
- a1,
28491
- a2
28492
- ) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
28493
- SDL.eventHandlerContext,
28236
+ ((a1, a2) => {})(
28237
+ /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ SDL.eventHandlerContext,
28494
28238
  SDL.eventHandlerTemp
28495
28239
  );
28496
28240
  }
@@ -30123,12 +29867,9 @@ export function init(RuntimeName, PHPLoader) {
30123
29867
  return;
30124
29868
 
30125
29869
  // Ask SDL audio data from the user code.
30126
- ((
30127
- a1,
30128
- a2,
30129
- a3
30130
- ) => {}) /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
30131
- SDL.audio.userdata,
29870
+ ((a1, a2, a3) => {})(
29871
+ /* a dynamic function call to signature viii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ SDL
29872
+ .audio.userdata,
30132
29873
  SDL.audio.buffer,
30133
29874
  SDL.audio.bufferSize
30134
29875
  );
@@ -30586,10 +30327,8 @@ export function init(RuntimeName, PHPLoader) {
30586
30327
  info.audio = null;
30587
30328
  }
30588
30329
  if (SDL.channelFinished) {
30589
- ((
30590
- a1
30591
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
30592
- channel
30330
+ ((a1) => {})(
30331
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ channel
30593
30332
  );
30594
30333
  }
30595
30334
  }
@@ -30658,10 +30397,8 @@ export function init(RuntimeName, PHPLoader) {
30658
30397
  channelInfo.audio = null;
30659
30398
  }
30660
30399
  if (SDL.channelFinished)
30661
- ((
30662
- a1
30663
- ) => {}) /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
30664
- channel
30400
+ ((a1) => {})(
30401
+ /* a dynamic function call to signature vi, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ channel
30665
30402
  );
30666
30403
  };
30667
30404
  if (channelInfo.audio) {
@@ -31409,11 +31146,8 @@ export function init(RuntimeName, PHPLoader) {
31409
31146
  var _SDL_AddTimer = (interval, callback, param) =>
31410
31147
  safeSetTimeout(
31411
31148
  () =>
31412
- ((
31413
- a1,
31414
- a2
31415
- ) => {}) /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31416
- interval,
31149
+ ((a1, a2) => {})(
31150
+ /* a dynamic function call to signature iii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ interval,
31417
31151
  param
31418
31152
  ),
31419
31153
  interval
@@ -31792,12 +31526,8 @@ export function init(RuntimeName, PHPLoader) {
31792
31526
 
31793
31527
  socket.onopen = function (e) {
31794
31528
  var eventPtr = WS.getSocketEvent(socketId);
31795
- ((
31796
- a1,
31797
- a2,
31798
- a3
31799
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31800
- 0 /*TODO*/,
31529
+ ((a1, a2, a3) => {})(
31530
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31801
31531
  eventPtr,
31802
31532
  userData
31803
31533
  );
@@ -31819,12 +31549,8 @@ export function init(RuntimeName, PHPLoader) {
31819
31549
 
31820
31550
  socket.onerror = function (e) {
31821
31551
  var eventPtr = WS.getSocketEvent(socketId);
31822
- ((
31823
- a1,
31824
- a2,
31825
- a3
31826
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31827
- 0 /*TODO*/,
31552
+ ((a1, a2, a3) => {})(
31553
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31828
31554
  eventPtr,
31829
31555
  userData
31830
31556
  );
@@ -31849,12 +31575,8 @@ export function init(RuntimeName, PHPLoader) {
31849
31575
  (HEAP8[eventPtr + 4] = e.wasClean),
31850
31576
  (HEAP16[(eventPtr + 6) >> 1] = e.code),
31851
31577
  stringToUTF8(e.reason, eventPtr + 8, 512);
31852
- ((
31853
- a1,
31854
- a2,
31855
- a3
31856
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31857
- 0 /*TODO*/,
31578
+ ((a1, a2, a3) => {})(
31579
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31858
31580
  eventPtr,
31859
31581
  userData
31860
31582
  );
@@ -31888,12 +31610,8 @@ export function init(RuntimeName, PHPLoader) {
31888
31610
  (HEAPU32[(eventPtr + 4) >> 2] = buf),
31889
31611
  (HEAP32[(eventPtr + 8) >> 2] = len),
31890
31612
  (HEAP8[eventPtr + 12] = isText),
31891
- ((
31892
- a1,
31893
- a2,
31894
- a3
31895
- ) => {}) /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */(
31896
- 0 /*TODO*/,
31613
+ ((a1, a2, a3) => {})(
31614
+ /* a dynamic function call to signature iiii, but there are no exported function pointers with that signature, so this path should never be taken. Build with ASSERTIONS enabled to validate. */ 0 /*TODO*/,
31897
31615
  eventPtr,
31898
31616
  userData
31899
31617
  );
@@ -32090,13 +31808,13 @@ export function init(RuntimeName, PHPLoader) {
32090
31808
  // End JS library code
32091
31809
 
32092
31810
  var ASM_CONSTS = {
32093
- 11104621: ($0) => {
31811
+ 11138685: ($0) => {
32094
31812
  if (!$0) {
32095
31813
  AL.alcErr = 0xa004;
32096
31814
  return 1;
32097
31815
  }
32098
31816
  },
32099
- 11104669: ($0) => {
31817
+ 11138733: ($0) => {
32100
31818
  if (!AL.currentCtx) {
32101
31819
  err('alGetProcAddress() called without a valid context');
32102
31820
  return 1;
@@ -34857,6 +34575,10 @@ export function init(RuntimeName, PHPLoader) {
34857
34575
  /** @export */
34858
34576
  invoke_iijiji,
34859
34577
  /** @export */
34578
+ invoke_iijj,
34579
+ /** @export */
34580
+ invoke_ji,
34581
+ /** @export */
34860
34582
  invoke_jii,
34861
34583
  /** @export */
34862
34584
  invoke_jiii,
@@ -35011,6 +34733,11 @@ export function init(RuntimeName, PHPLoader) {
35011
34733
  var _htonl = (a0) => (_htonl = wasmExports['htonl'])(a0);
35012
34734
  var _wasm_sleep = (Module['_wasm_sleep'] = (a0) =>
35013
34735
  (_wasm_sleep = Module['_wasm_sleep'] = wasmExports['wasm_sleep'])(a0));
34736
+ var _initgroups = (Module['_initgroups'] = (a0, a1) =>
34737
+ (_initgroups = Module['_initgroups'] = wasmExports['initgroups'])(
34738
+ a0,
34739
+ a1
34740
+ ));
35014
34741
  var ___wrap_usleep = (Module['___wrap_usleep'] = (a0) =>
35015
34742
  (___wrap_usleep = Module['___wrap_usleep'] =
35016
34743
  wasmExports['__wrap_usleep'])(a0));
@@ -35309,19 +35036,10 @@ export function init(RuntimeName, PHPLoader) {
35309
35036
  }
35310
35037
  }
35311
35038
 
35312
- function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35039
+ function invoke_vji(index, a1, a2) {
35313
35040
  var sp = stackSave();
35314
35041
  try {
35315
- return Module['dynCall_iiiiiiii'](
35316
- index,
35317
- a1,
35318
- a2,
35319
- a3,
35320
- a4,
35321
- a5,
35322
- a6,
35323
- a7
35324
- );
35042
+ Module['dynCall_vji'](index, a1, a2);
35325
35043
  } catch (e) {
35326
35044
  stackRestore(sp);
35327
35045
  if (e !== e + 0) throw e;
@@ -35329,32 +35047,34 @@ export function init(RuntimeName, PHPLoader) {
35329
35047
  }
35330
35048
  }
35331
35049
 
35332
- function invoke_iiji(index, a1, a2, a3) {
35050
+ function invoke_jii(index, a1, a2) {
35333
35051
  var sp = stackSave();
35334
35052
  try {
35335
- return Module['dynCall_iiji'](index, a1, a2, a3);
35053
+ return Module['dynCall_jii'](index, a1, a2);
35336
35054
  } catch (e) {
35337
35055
  stackRestore(sp);
35338
35056
  if (e !== e + 0) throw e;
35339
35057
  _setThrew(1, 0);
35058
+ return 0n;
35340
35059
  }
35341
35060
  }
35342
35061
 
35343
- function invoke_iijii(index, a1, a2, a3, a4) {
35062
+ function invoke_ji(index, a1) {
35344
35063
  var sp = stackSave();
35345
35064
  try {
35346
- return Module['dynCall_iijii'](index, a1, a2, a3, a4);
35065
+ return Module['dynCall_ji'](index, a1);
35347
35066
  } catch (e) {
35348
35067
  stackRestore(sp);
35349
35068
  if (e !== e + 0) throw e;
35350
35069
  _setThrew(1, 0);
35070
+ return 0n;
35351
35071
  }
35352
35072
  }
35353
35073
 
35354
- function invoke_iijiji(index, a1, a2, a3, a4, a5) {
35074
+ function invoke_v(index) {
35355
35075
  var sp = stackSave();
35356
35076
  try {
35357
- return Module['dynCall_iijiji'](index, a1, a2, a3, a4, a5);
35077
+ Module['dynCall_v'](index);
35358
35078
  } catch (e) {
35359
35079
  stackRestore(sp);
35360
35080
  if (e !== e + 0) throw e;
@@ -35362,10 +35082,10 @@ export function init(RuntimeName, PHPLoader) {
35362
35082
  }
35363
35083
  }
35364
35084
 
35365
- function invoke_v(index) {
35085
+ function invoke_iijj(index, a1, a2, a3) {
35366
35086
  var sp = stackSave();
35367
35087
  try {
35368
- Module['dynCall_v'](index);
35088
+ return Module['dynCall_iijj'](index, a1, a2, a3);
35369
35089
  } catch (e) {
35370
35090
  stackRestore(sp);
35371
35091
  if (e !== e + 0) throw e;
@@ -35373,10 +35093,19 @@ export function init(RuntimeName, PHPLoader) {
35373
35093
  }
35374
35094
  }
35375
35095
 
35376
- function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
35096
+ function invoke_iiiiiiii(index, a1, a2, a3, a4, a5, a6, a7) {
35377
35097
  var sp = stackSave();
35378
35098
  try {
35379
- return Module['dynCall_iiiiiii'](index, a1, a2, a3, a4, a5, a6);
35099
+ return Module['dynCall_iiiiiiii'](
35100
+ index,
35101
+ a1,
35102
+ a2,
35103
+ a3,
35104
+ a4,
35105
+ a5,
35106
+ a6,
35107
+ a7
35108
+ );
35380
35109
  } catch (e) {
35381
35110
  stackRestore(sp);
35382
35111
  if (e !== e + 0) throw e;
@@ -35384,10 +35113,10 @@ export function init(RuntimeName, PHPLoader) {
35384
35113
  }
35385
35114
  }
35386
35115
 
35387
- function invoke_vji(index, a1, a2) {
35116
+ function invoke_iiji(index, a1, a2, a3) {
35388
35117
  var sp = stackSave();
35389
35118
  try {
35390
- Module['dynCall_vji'](index, a1, a2);
35119
+ return Module['dynCall_iiji'](index, a1, a2, a3);
35391
35120
  } catch (e) {
35392
35121
  stackRestore(sp);
35393
35122
  if (e !== e + 0) throw e;
@@ -35395,10 +35124,10 @@ export function init(RuntimeName, PHPLoader) {
35395
35124
  }
35396
35125
  }
35397
35126
 
35398
- function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35127
+ function invoke_iijii(index, a1, a2, a3, a4) {
35399
35128
  var sp = stackSave();
35400
35129
  try {
35401
- Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
35130
+ return Module['dynCall_iijii'](index, a1, a2, a3, a4);
35402
35131
  } catch (e) {
35403
35132
  stackRestore(sp);
35404
35133
  if (e !== e + 0) throw e;
@@ -35406,10 +35135,10 @@ export function init(RuntimeName, PHPLoader) {
35406
35135
  }
35407
35136
  }
35408
35137
 
35409
- function invoke_viijii(index, a1, a2, a3, a4, a5) {
35138
+ function invoke_iijiji(index, a1, a2, a3, a4, a5) {
35410
35139
  var sp = stackSave();
35411
35140
  try {
35412
- Module['dynCall_viijii'](index, a1, a2, a3, a4, a5);
35141
+ return Module['dynCall_iijiji'](index, a1, a2, a3, a4, a5);
35413
35142
  } catch (e) {
35414
35143
  stackRestore(sp);
35415
35144
  if (e !== e + 0) throw e;
@@ -35417,10 +35146,10 @@ export function init(RuntimeName, PHPLoader) {
35417
35146
  }
35418
35147
  }
35419
35148
 
35420
- function invoke_viidii(index, a1, a2, a3, a4, a5) {
35149
+ function invoke_iiiiiii(index, a1, a2, a3, a4, a5, a6) {
35421
35150
  var sp = stackSave();
35422
35151
  try {
35423
- Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
35152
+ return Module['dynCall_iiiiiii'](index, a1, a2, a3, a4, a5, a6);
35424
35153
  } catch (e) {
35425
35154
  stackRestore(sp);
35426
35155
  if (e !== e + 0) throw e;
@@ -35428,22 +35157,43 @@ export function init(RuntimeName, PHPLoader) {
35428
35157
  }
35429
35158
  }
35430
35159
 
35431
- function invoke_jiii(index, a1, a2, a3) {
35160
+ function invoke_viiiiii(index, a1, a2, a3, a4, a5, a6) {
35432
35161
  var sp = stackSave();
35433
35162
  try {
35434
- return Module['dynCall_jiii'](index, a1, a2, a3);
35163
+ Module['dynCall_viiiiii'](index, a1, a2, a3, a4, a5, a6);
35435
35164
  } catch (e) {
35436
35165
  stackRestore(sp);
35437
35166
  if (e !== e + 0) throw e;
35438
35167
  _setThrew(1, 0);
35439
- return 0n;
35440
35168
  }
35441
35169
  }
35442
35170
 
35443
- function invoke_jii(index, a1, a2) {
35171
+ function invoke_viijii(index, a1, a2, a3, a4, a5) {
35444
35172
  var sp = stackSave();
35445
35173
  try {
35446
- return Module['dynCall_jii'](index, a1, a2);
35174
+ Module['dynCall_viijii'](index, a1, a2, a3, a4, a5);
35175
+ } catch (e) {
35176
+ stackRestore(sp);
35177
+ if (e !== e + 0) throw e;
35178
+ _setThrew(1, 0);
35179
+ }
35180
+ }
35181
+
35182
+ function invoke_viidii(index, a1, a2, a3, a4, a5) {
35183
+ var sp = stackSave();
35184
+ try {
35185
+ Module['dynCall_viidii'](index, a1, a2, a3, a4, a5);
35186
+ } catch (e) {
35187
+ stackRestore(sp);
35188
+ if (e !== e + 0) throw e;
35189
+ _setThrew(1, 0);
35190
+ }
35191
+ }
35192
+
35193
+ function invoke_jiii(index, a1, a2, a3) {
35194
+ var sp = stackSave();
35195
+ try {
35196
+ return Module['dynCall_jiii'](index, a1, a2, a3);
35447
35197
  } catch (e) {
35448
35198
  stackRestore(sp);
35449
35199
  if (e !== e + 0) throw e;
@@ -35637,6 +35387,15 @@ export function init(RuntimeName, PHPLoader) {
35637
35387
  };
35638
35388
  }
35639
35389
 
35390
+ /**
35391
+ * Expose the PHP version so the PHP class can make version-specific
35392
+ * adjustments to `php.ini`.
35393
+ */
35394
+ PHPLoader['phpVersion'] = (() => {
35395
+ const [major, minor, patch] = phpVersionString.split('.').map(Number);
35396
+ return { major, minor, patch };
35397
+ })();
35398
+
35640
35399
  return PHPLoader;
35641
35400
 
35642
35401
  // Close the opening bracket from esm-prefix.js: