kaabalah 6.6.4 → 6.8.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.
Files changed (129) hide show
  1. package/dist/astrology/index.js +54 -54
  2. package/dist/astrology/index.js.map +1 -1
  3. package/dist/astrology/index.mjs +3 -3
  4. package/dist/astrology/index.mjs.map +1 -1
  5. package/dist/chunk-2WCC2KCJ.js +1 -1
  6. package/dist/chunk-2WCC2KCJ.js.map +1 -1
  7. package/dist/{chunk-XTE5DSDO.js → chunk-36XZ5WR2.js} +23 -23
  8. package/dist/chunk-36XZ5WR2.js.map +1 -0
  9. package/dist/{chunk-6P2CJUTH.mjs → chunk-3UJPBUY4.mjs} +8 -6
  10. package/dist/chunk-3UJPBUY4.mjs.map +1 -0
  11. package/dist/{chunk-FM7WUVZV.js → chunk-4337NVKS.js} +8 -4
  12. package/dist/chunk-4337NVKS.js.map +1 -0
  13. package/dist/{chunk-3TBUVMHV.mjs → chunk-5HXSHALQ.mjs} +1210 -272
  14. package/dist/chunk-5HXSHALQ.mjs.map +1 -0
  15. package/dist/{chunk-EFZUZI22.mjs → chunk-5K4OQ4UB.mjs} +5 -4
  16. package/dist/chunk-5K4OQ4UB.mjs.map +1 -0
  17. package/dist/{chunk-ZKIJAZ6B.mjs → chunk-6N5YC2WD.mjs} +338 -10
  18. package/dist/chunk-6N5YC2WD.mjs.map +1 -0
  19. package/dist/{chunk-PWYOHULD.mjs → chunk-7YU7TRCG.mjs} +80 -42
  20. package/dist/chunk-7YU7TRCG.mjs.map +1 -0
  21. package/dist/{chunk-6O7MTBZN.js → chunk-BEFGGHIJ.js} +84 -46
  22. package/dist/chunk-BEFGGHIJ.js.map +1 -0
  23. package/dist/{chunk-MTI2SOQ6.mjs → chunk-ITESL6GR.mjs} +4 -4
  24. package/dist/chunk-ITESL6GR.mjs.map +1 -0
  25. package/dist/{chunk-UG6HZK3Z.js → chunk-K33NFXSD.js} +109 -109
  26. package/dist/chunk-K33NFXSD.js.map +1 -0
  27. package/dist/{chunk-OKZUVGA3.js → chunk-LQX6PW35.js} +349 -15
  28. package/dist/chunk-LQX6PW35.js.map +1 -0
  29. package/dist/{chunk-WY6NIR2V.mjs → chunk-NPQZ2DOY.mjs} +8 -4
  30. package/dist/chunk-NPQZ2DOY.mjs.map +1 -0
  31. package/dist/{chunk-WIKUOEOB.mjs → chunk-QS5XAAAG.mjs} +31 -19
  32. package/dist/chunk-QS5XAAAG.mjs.map +1 -0
  33. package/dist/{chunk-UN7QMOMX.mjs → chunk-SHKAAZHT.mjs} +8 -8
  34. package/dist/chunk-SHKAAZHT.mjs.map +1 -0
  35. package/dist/{chunk-COPYH3O2.js → chunk-SYLFUBAB.js} +51 -39
  36. package/dist/chunk-SYLFUBAB.js.map +1 -0
  37. package/dist/chunk-URDMOQRN.mjs +1 -1
  38. package/dist/chunk-URDMOQRN.mjs.map +1 -1
  39. package/dist/{chunk-PAKYKIZH.js → chunk-UZ42PN5T.js} +10 -8
  40. package/dist/chunk-UZ42PN5T.js.map +1 -0
  41. package/dist/{chunk-S6KNERP7.js → chunk-VJ6RW5H4.js} +8 -7
  42. package/dist/chunk-VJ6RW5H4.js.map +1 -0
  43. package/dist/{chunk-NRAAMI6I.js → chunk-WLML6SVX.js} +1228 -275
  44. package/dist/chunk-WLML6SVX.js.map +1 -0
  45. package/dist/cli.js +2367 -657
  46. package/dist/cli.js.map +1 -1
  47. package/dist/core/index.d.mts +1 -0
  48. package/dist/core/index.d.ts +1 -0
  49. package/dist/core/index.js +69 -45
  50. package/dist/core/index.js.map +1 -1
  51. package/dist/core/index.mjs +4 -4
  52. package/dist/core/index.mjs.map +1 -1
  53. package/dist/gematria/index.js +7 -7
  54. package/dist/gematria/index.js.map +1 -1
  55. package/dist/gematria/index.mjs +4 -4
  56. package/dist/gematria/index.mjs.map +1 -1
  57. package/dist/ifa/index.js +2 -2
  58. package/dist/ifa/index.js.map +1 -1
  59. package/dist/ifa/index.mjs +2 -2
  60. package/dist/ifa/index.mjs.map +1 -1
  61. package/dist/index.d.mts +2 -1
  62. package/dist/index.d.ts +2 -1
  63. package/dist/index.js +314 -230
  64. package/dist/index.js.map +1 -1
  65. package/dist/index.mjs +10 -10
  66. package/dist/index.mjs.map +1 -1
  67. package/dist/numerology/index.js +20 -20
  68. package/dist/numerology/index.js.map +1 -1
  69. package/dist/numerology/index.mjs +5 -5
  70. package/dist/numerology/index.mjs.map +1 -1
  71. package/dist/semantic/index.js +28 -28
  72. package/dist/semantic/index.js.map +1 -1
  73. package/dist/semantic/index.mjs +9 -9
  74. package/dist/semantic/index.mjs.map +1 -1
  75. package/dist/{wasm/build/swisseph.node-6H4ISR7M.mjs → swisseph.node-2PWBQLWG.mjs} +270 -156
  76. package/dist/swisseph.node-2PWBQLWG.mjs.map +1 -0
  77. package/dist/{wasm/build/swisseph.node-UD2JYYLE.js → swisseph.node-NWM75JF3.js} +283 -169
  78. package/dist/swisseph.node-NWM75JF3.js.map +1 -0
  79. package/dist/{wasm/build/swisseph.web-TSFJI7DQ.mjs → swisseph.web-CK57WSU3.mjs} +264 -153
  80. package/dist/swisseph.web-CK57WSU3.mjs.map +1 -0
  81. package/dist/{wasm/build/swisseph.web-MXYBWOOS.js → swisseph.web-GPTWPXKT.js} +277 -166
  82. package/dist/swisseph.web-GPTWPXKT.js.map +1 -0
  83. package/dist/tarot/index.js +25 -25
  84. package/dist/tarot/index.js.map +1 -1
  85. package/dist/tarot/index.mjs +5 -5
  86. package/dist/tarot/index.mjs.map +1 -1
  87. package/dist/topology-Bbgniegh.d.ts +102 -0
  88. package/dist/topology-CSSfYL2c.d.mts +102 -0
  89. package/dist/visual/index.d.mts +177 -2
  90. package/dist/visual/index.d.ts +177 -2
  91. package/dist/visual/index.js +91 -31
  92. package/dist/visual/index.js.map +1 -1
  93. package/dist/visual/index.mjs +5 -5
  94. package/dist/visual/index.mjs.map +1 -1
  95. package/dist/{swisseph.node-6H4ISR7M.mjs → wasm/build/swisseph.node-2PWBQLWG.mjs} +270 -156
  96. package/dist/wasm/build/swisseph.node-2PWBQLWG.mjs.map +1 -0
  97. package/dist/{swisseph.node-UD2JYYLE.js → wasm/build/swisseph.node-NWM75JF3.js} +283 -169
  98. package/dist/wasm/build/swisseph.node-NWM75JF3.js.map +1 -0
  99. package/dist/{swisseph.web-TSFJI7DQ.mjs → wasm/build/swisseph.web-CK57WSU3.mjs} +264 -153
  100. package/dist/wasm/build/swisseph.web-CK57WSU3.mjs.map +1 -0
  101. package/dist/{swisseph.web-MXYBWOOS.js → wasm/build/swisseph.web-GPTWPXKT.js} +277 -166
  102. package/dist/wasm/build/swisseph.web-GPTWPXKT.js.map +1 -0
  103. package/package.json +9 -8
  104. package/dist/chunk-3TBUVMHV.mjs.map +0 -1
  105. package/dist/chunk-6O7MTBZN.js.map +0 -1
  106. package/dist/chunk-6P2CJUTH.mjs.map +0 -1
  107. package/dist/chunk-COPYH3O2.js.map +0 -1
  108. package/dist/chunk-EFZUZI22.mjs.map +0 -1
  109. package/dist/chunk-FM7WUVZV.js.map +0 -1
  110. package/dist/chunk-MTI2SOQ6.mjs.map +0 -1
  111. package/dist/chunk-NRAAMI6I.js.map +0 -1
  112. package/dist/chunk-OKZUVGA3.js.map +0 -1
  113. package/dist/chunk-PAKYKIZH.js.map +0 -1
  114. package/dist/chunk-PWYOHULD.mjs.map +0 -1
  115. package/dist/chunk-S6KNERP7.js.map +0 -1
  116. package/dist/chunk-UG6HZK3Z.js.map +0 -1
  117. package/dist/chunk-UN7QMOMX.mjs.map +0 -1
  118. package/dist/chunk-WIKUOEOB.mjs.map +0 -1
  119. package/dist/chunk-WY6NIR2V.mjs.map +0 -1
  120. package/dist/chunk-XTE5DSDO.js.map +0 -1
  121. package/dist/chunk-ZKIJAZ6B.mjs.map +0 -1
  122. package/dist/swisseph.node-6H4ISR7M.mjs.map +0 -1
  123. package/dist/swisseph.node-UD2JYYLE.js.map +0 -1
  124. package/dist/swisseph.web-MXYBWOOS.js.map +0 -1
  125. package/dist/swisseph.web-TSFJI7DQ.mjs.map +0 -1
  126. package/dist/wasm/build/swisseph.node-6H4ISR7M.mjs.map +0 -1
  127. package/dist/wasm/build/swisseph.node-UD2JYYLE.js.map +0 -1
  128. package/dist/wasm/build/swisseph.web-MXYBWOOS.js.map +0 -1
  129. package/dist/wasm/build/swisseph.web-TSFJI7DQ.mjs.map +0 -1
@@ -1,11 +1,12 @@
1
- import { __commonJS, __require, __publicField } from './chunk-WY6NIR2V.mjs';
1
+ import { __commonJS, __require, __publicField } from './chunk-NPQZ2DOY.mjs';
2
2
 
3
3
  // wasm/build/swisseph.node.js
4
4
  var require_swisseph_node = __commonJS({
5
5
  "wasm/build/swisseph.node.js"(exports, module) {
6
6
  var SwissEphemerisModule = (() => {
7
7
  var _scriptName = typeof document != "undefined" ? document.currentScript?.src : void 0;
8
- if (typeof __filename != "undefined") _scriptName = _scriptName || __filename;
8
+ if (typeof __filename != "undefined")
9
+ _scriptName = _scriptName || __filename;
9
10
  return async function(moduleArg = {}) {
10
11
  var moduleRtn;
11
12
  var Module = moduleArg;
@@ -29,7 +30,8 @@ var require_swisseph_node = __commonJS({
29
30
  }
30
31
  var readAsync, readBinary;
31
32
  if (ENVIRONMENT_IS_NODE) {
32
- if (typeof process == "undefined" || !process.release || process.release.name !== "node") throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");
33
+ if (typeof process == "undefined" || !process.release || process.release.name !== "node")
34
+ throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");
33
35
  var nodeVersion = process.versions.node;
34
36
  var numericVersion = nodeVersion.split(".").slice(0, 3);
35
37
  numericVersion = numericVersion[0] * 1e4 + numericVersion[1] * 100 + numericVersion[2].split("-")[0] * 1;
@@ -56,7 +58,8 @@ var require_swisseph_node = __commonJS({
56
58
  }
57
59
  process.argv.slice(2);
58
60
  } else if (ENVIRONMENT_IS_SHELL) {
59
- if (typeof process == "object" && typeof __require === "function" || typeof window == "object" || typeof WorkerGlobalScope != "undefined") throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");
61
+ if (typeof process == "object" && typeof __require === "function" || typeof window == "object" || typeof WorkerGlobalScope != "undefined")
62
+ throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");
60
63
  } else if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
61
64
  if (ENVIRONMENT_IS_WORKER) {
62
65
  scriptDirectory = self.location.href;
@@ -71,7 +74,8 @@ var require_swisseph_node = __commonJS({
71
74
  } else {
72
75
  scriptDirectory = scriptDirectory.slice(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf("/") + 1);
73
76
  }
74
- if (!(typeof window == "object" || typeof WorkerGlobalScope != "undefined")) throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");
77
+ if (!(typeof window == "object" || typeof WorkerGlobalScope != "undefined"))
78
+ throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");
75
79
  {
76
80
  readAsync = async (url) => {
77
81
  assert(!isFileURI(url), "readAsync does not work with file:// URLs");
@@ -90,9 +94,11 @@ var require_swisseph_node = __commonJS({
90
94
  Object.assign(Module, moduleOverrides);
91
95
  moduleOverrides = null;
92
96
  checkIncomingModuleAPI();
93
- if (Module["arguments"]) Module["arguments"];
97
+ if (Module["arguments"])
98
+ Module["arguments"];
94
99
  legacyModuleProp("arguments", "arguments_");
95
- if (Module["thisProgram"]) thisProgram = Module["thisProgram"];
100
+ if (Module["thisProgram"])
101
+ thisProgram = Module["thisProgram"];
96
102
  legacyModuleProp("thisProgram", "thisProgram");
97
103
  assert(typeof Module["memoryInitializerPrefixURL"] == "undefined", "Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead");
98
104
  assert(typeof Module["pthreadMainPrefixURL"] == "undefined", "Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead");
@@ -134,7 +140,8 @@ var require_swisseph_node = __commonJS({
134
140
  SAFE_HEAP_STORE((max + 4 >> 2) * 4, 2310721022, 4);
135
141
  }
136
142
  function checkStackCookie() {
137
- if (ABORT) return;
143
+ if (ABORT)
144
+ return;
138
145
  var max = _emscripten_stack_get_end();
139
146
  if (max == 0) {
140
147
  max += 4;
@@ -149,7 +156,8 @@ var require_swisseph_node = __commonJS({
149
156
  var h16 = new Int16Array(1);
150
157
  var h8 = new Int8Array(h16.buffer);
151
158
  h16[0] = 25459;
152
- if (h8[0] !== 115 || h8[1] !== 99) throw "Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";
159
+ if (h8[0] !== 115 || h8[1] !== 99)
160
+ throw "Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";
153
161
  })();
154
162
  if (Module["ENVIRONMENT"]) {
155
163
  throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");
@@ -206,13 +214,18 @@ var require_swisseph_node = __commonJS({
206
214
  }
207
215
  }
208
216
  function SAFE_HEAP_STORE(dest, value, bytes, isFloat) {
209
- if (dest <= 0) abort(`segmentation fault storing ${bytes} bytes to address ${dest}`);
210
- if (dest % bytes !== 0) abort(`alignment error storing to address ${dest}, which was expected to be aligned to a multiple of ${bytes}`);
217
+ if (dest <= 0)
218
+ abort(`segmentation fault storing ${bytes} bytes to address ${dest}`);
219
+ if (dest % bytes !== 0)
220
+ abort(`alignment error storing to address ${dest}, which was expected to be aligned to a multiple of ${bytes}`);
211
221
  if (runtimeInitialized) {
212
222
  var brk = _sbrk(0);
213
- if (dest + bytes > brk) abort(`segmentation fault, exceeded the top of the available dynamic heap when storing ${bytes} bytes to address ${dest}. DYNAMICTOP=${brk}`);
214
- if (brk < _emscripten_stack_get_base()) abort(`brk >= _emscripten_stack_get_base() (brk=${brk}, _emscripten_stack_get_base()=${_emscripten_stack_get_base()})`);
215
- if (brk > wasmMemory.buffer.byteLength) abort(`brk <= wasmMemory.buffer.byteLength (brk=${brk}, wasmMemory.buffer.byteLength=${wasmMemory.buffer.byteLength})`);
223
+ if (dest + bytes > brk)
224
+ abort(`segmentation fault, exceeded the top of the available dynamic heap when storing ${bytes} bytes to address ${dest}. DYNAMICTOP=${brk}`);
225
+ if (brk < _emscripten_stack_get_base())
226
+ abort(`brk >= _emscripten_stack_get_base() (brk=${brk}, _emscripten_stack_get_base()=${_emscripten_stack_get_base()})`);
227
+ if (brk > wasmMemory.buffer.byteLength)
228
+ abort(`brk <= wasmMemory.buffer.byteLength (brk=${brk}, wasmMemory.buffer.byteLength=${wasmMemory.buffer.byteLength})`);
216
229
  }
217
230
  setValue_safe(dest, value, getSafeHeapType(bytes, isFloat));
218
231
  return value;
@@ -221,17 +234,23 @@ var require_swisseph_node = __commonJS({
221
234
  return SAFE_HEAP_STORE(dest, value, bytes, true);
222
235
  }
223
236
  function SAFE_HEAP_LOAD(dest, bytes, unsigned, isFloat) {
224
- if (dest <= 0) abort(`segmentation fault loading ${bytes} bytes from address ${dest}`);
225
- if (dest % bytes !== 0) abort(`alignment error loading from address ${dest}, which was expected to be aligned to a multiple of ${bytes}`);
237
+ if (dest <= 0)
238
+ abort(`segmentation fault loading ${bytes} bytes from address ${dest}`);
239
+ if (dest % bytes !== 0)
240
+ abort(`alignment error loading from address ${dest}, which was expected to be aligned to a multiple of ${bytes}`);
226
241
  if (runtimeInitialized) {
227
242
  var brk = _sbrk(0);
228
- if (dest + bytes > brk) abort(`segmentation fault, exceeded the top of the available dynamic heap when loading ${bytes} bytes from address ${dest}. DYNAMICTOP=${brk}`);
229
- if (brk < _emscripten_stack_get_base()) abort(`brk >= _emscripten_stack_get_base() (brk=${brk}, _emscripten_stack_get_base()=${_emscripten_stack_get_base()})`);
230
- if (brk > wasmMemory.buffer.byteLength) abort(`brk <= wasmMemory.buffer.byteLength (brk=${brk}, wasmMemory.buffer.byteLength=${wasmMemory.buffer.byteLength})`);
243
+ if (dest + bytes > brk)
244
+ abort(`segmentation fault, exceeded the top of the available dynamic heap when loading ${bytes} bytes from address ${dest}. DYNAMICTOP=${brk}`);
245
+ if (brk < _emscripten_stack_get_base())
246
+ abort(`brk >= _emscripten_stack_get_base() (brk=${brk}, _emscripten_stack_get_base()=${_emscripten_stack_get_base()})`);
247
+ if (brk > wasmMemory.buffer.byteLength)
248
+ abort(`brk <= wasmMemory.buffer.byteLength (brk=${brk}, wasmMemory.buffer.byteLength=${wasmMemory.buffer.byteLength})`);
231
249
  }
232
250
  var type = getSafeHeapType(bytes, isFloat);
233
251
  var ret = getValue_safe(dest, type);
234
- if (unsigned) ret = unSign(ret, parseInt(type.slice(1), 10));
252
+ if (unsigned)
253
+ ret = unSign(ret, parseInt(type.slice(1), 10));
235
254
  return ret;
236
255
  }
237
256
  function SAFE_HEAP_LOAD_D(dest, bytes, unsigned) {
@@ -262,7 +281,8 @@ var require_swisseph_node = __commonJS({
262
281
  assert(!Module["INITIAL_MEMORY"], "Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");
263
282
  function preRun() {
264
283
  if (Module["preRun"]) {
265
- if (typeof Module["preRun"] == "function") Module["preRun"] = [Module["preRun"]];
284
+ if (typeof Module["preRun"] == "function")
285
+ Module["preRun"] = [Module["preRun"]];
266
286
  while (Module["preRun"].length) {
267
287
  addOnPreRun(Module["preRun"].shift());
268
288
  }
@@ -274,14 +294,16 @@ var require_swisseph_node = __commonJS({
274
294
  assert(!runtimeInitialized);
275
295
  runtimeInitialized = true;
276
296
  checkStackCookie();
277
- if (!Module["noFSInit"] && !FS.initialized) FS.init();
297
+ if (!Module["noFSInit"] && !FS.initialized)
298
+ FS.init();
278
299
  wasmExports["__wasm_call_ctors"]();
279
300
  FS.ignorePermissions = false;
280
301
  }
281
302
  function postRun() {
282
303
  checkStackCookie();
283
304
  if (Module["postRun"]) {
284
- if (typeof Module["postRun"] == "function") Module["postRun"] = [Module["postRun"]];
305
+ if (typeof Module["postRun"] == "function")
306
+ Module["postRun"] = [Module["postRun"]];
285
307
  while (Module["postRun"].length) {
286
308
  addOnPostRun(Module["postRun"].shift());
287
309
  }
@@ -296,7 +318,8 @@ var require_swisseph_node = __commonJS({
296
318
  function getUniqueRunDependency(id) {
297
319
  var orig = id;
298
320
  while (1) {
299
- if (!runDependencyTracking[id]) return id;
321
+ if (!runDependencyTracking[id])
322
+ return id;
300
323
  id = orig + Math.random();
301
324
  }
302
325
  }
@@ -471,7 +494,8 @@ var require_swisseph_node = __commonJS({
471
494
  var onPreRuns = [];
472
495
  var addOnPreRun = (cb) => onPreRuns.unshift(cb);
473
496
  function getValue(ptr, type = "i8") {
474
- if (type.endsWith("*")) type = "*";
497
+ if (type.endsWith("*"))
498
+ type = "*";
475
499
  switch (type) {
476
500
  case "i1":
477
501
  return SAFE_HEAP_LOAD(ptr, 1, 0);
@@ -494,7 +518,8 @@ var require_swisseph_node = __commonJS({
494
518
  }
495
519
  }
496
520
  function getValue_safe(ptr, type = "i8") {
497
- if (type.endsWith("*")) type = "*";
521
+ if (type.endsWith("*"))
522
+ type = "*";
498
523
  switch (type) {
499
524
  case "i1":
500
525
  return HEAP8[ptr];
@@ -523,7 +548,8 @@ var require_swisseph_node = __commonJS({
523
548
  return "0x" + ptr.toString(16).padStart(8, "0");
524
549
  };
525
550
  function setValue(ptr, value, type = "i8") {
526
- if (type.endsWith("*")) type = "*";
551
+ if (type.endsWith("*"))
552
+ type = "*";
527
553
  switch (type) {
528
554
  case "i1":
529
555
  SAFE_HEAP_STORE(ptr, value, 1);
@@ -554,7 +580,8 @@ var require_swisseph_node = __commonJS({
554
580
  }
555
581
  }
556
582
  function setValue_safe(ptr, value, type = "i8") {
557
- if (type.endsWith("*")) type = "*";
583
+ if (type.endsWith("*"))
584
+ type = "*";
558
585
  switch (type) {
559
586
  case "i1":
560
587
  HEAP8[ptr] = value;
@@ -596,7 +623,8 @@ var require_swisseph_node = __commonJS({
596
623
  warnOnce.shown || (warnOnce.shown = {});
597
624
  if (!warnOnce.shown[text]) {
598
625
  warnOnce.shown[text] = 1;
599
- if (ENVIRONMENT_IS_NODE) text = "warning: " + text;
626
+ if (ENVIRONMENT_IS_NODE)
627
+ text = "warning: " + text;
600
628
  err(text);
601
629
  }
602
630
  };
@@ -626,7 +654,8 @@ var require_swisseph_node = __commonJS({
626
654
  var UTF8ArrayToString = (heapOrArray, idx = 0, maxBytesToRead = NaN) => {
627
655
  var endIdx = idx + maxBytesToRead;
628
656
  var endPtr = idx;
629
- while (heapOrArray[endPtr] && !(endPtr >= endIdx)) ++endPtr;
657
+ while (heapOrArray[endPtr] && !(endPtr >= endIdx))
658
+ ++endPtr;
630
659
  if (endPtr - idx > 16 && heapOrArray.buffer && UTF8Decoder) {
631
660
  return UTF8Decoder.decode(heapOrArray.subarray(idx, endPtr));
632
661
  }
@@ -646,7 +675,8 @@ var require_swisseph_node = __commonJS({
646
675
  if ((u0 & 240) == 224) {
647
676
  u0 = (u0 & 15) << 12 | u1 << 6 | u2;
648
677
  } else {
649
- if ((u0 & 248) != 240) warnOnce("Invalid UTF-8 leading byte " + ptrToString(u0) + " encountered when deserializing a UTF-8 string in wasm memory to a JS string!");
678
+ if ((u0 & 248) != 240)
679
+ warnOnce("Invalid UTF-8 leading byte " + ptrToString(u0) + " encountered when deserializing a UTF-8 string in wasm memory to a JS string!");
650
680
  u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | heapOrArray[idx++] & 63;
651
681
  }
652
682
  if (u0 < 65536) {
@@ -678,7 +708,8 @@ var require_swisseph_node = __commonJS({
678
708
  };
679
709
  var stringToUTF8Array = (str, heap, outIdx, maxBytesToWrite) => {
680
710
  assert(typeof str === "string", `stringToUTF8Array expects a string (got ${typeof str})`);
681
- if (!(maxBytesToWrite > 0)) return 0;
711
+ if (!(maxBytesToWrite > 0))
712
+ return 0;
682
713
  var startIdx = outIdx;
683
714
  var endIdx = outIdx + maxBytesToWrite - 1;
684
715
  for (var i = 0; i < str.length; ++i) {
@@ -688,20 +719,25 @@ var require_swisseph_node = __commonJS({
688
719
  u = 65536 + ((u & 1023) << 10) | u1 & 1023;
689
720
  }
690
721
  if (u <= 127) {
691
- if (outIdx >= endIdx) break;
722
+ if (outIdx >= endIdx)
723
+ break;
692
724
  heap[outIdx++] = u;
693
725
  } else if (u <= 2047) {
694
- if (outIdx + 1 >= endIdx) break;
726
+ if (outIdx + 1 >= endIdx)
727
+ break;
695
728
  heap[outIdx++] = 192 | u >> 6;
696
729
  heap[outIdx++] = 128 | u & 63;
697
730
  } else if (u <= 65535) {
698
- if (outIdx + 2 >= endIdx) break;
731
+ if (outIdx + 2 >= endIdx)
732
+ break;
699
733
  heap[outIdx++] = 224 | u >> 12;
700
734
  heap[outIdx++] = 128 | u >> 6 & 63;
701
735
  heap[outIdx++] = 128 | u & 63;
702
736
  } else {
703
- if (outIdx + 3 >= endIdx) break;
704
- if (u > 1114111) warnOnce("Invalid Unicode code point " + ptrToString(u) + " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF).");
737
+ if (outIdx + 3 >= endIdx)
738
+ break;
739
+ if (u > 1114111)
740
+ warnOnce("Invalid Unicode code point " + ptrToString(u) + " encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF).");
705
741
  heap[outIdx++] = 240 | u >> 18;
706
742
  heap[outIdx++] = 128 | u >> 12 & 63;
707
743
  heap[outIdx++] = 128 | u >> 6 & 63;
@@ -729,8 +765,10 @@ var require_swisseph_node = __commonJS({
729
765
  try {
730
766
  bytesRead = fs.readSync(fd, buf, 0, BUFSIZE);
731
767
  } catch (e) {
732
- if (e.toString().includes("EOF")) bytesRead = 0;
733
- else throw e;
768
+ if (e.toString().includes("EOF"))
769
+ bytesRead = 0;
770
+ else
771
+ throw e;
734
772
  }
735
773
  if (bytesRead > 0) {
736
774
  result = buf.slice(0, bytesRead).toString("utf-8");
@@ -779,7 +817,8 @@ var require_swisseph_node = __commonJS({
779
817
  if (result === void 0 && bytesRead === 0) {
780
818
  throw new FS.ErrnoError(6);
781
819
  }
782
- if (result === null || result === void 0) break;
820
+ if (result === null || result === void 0)
821
+ break;
783
822
  bytesRead++;
784
823
  buffer[offset + i] = result;
785
824
  }
@@ -809,7 +848,8 @@ var require_swisseph_node = __commonJS({
809
848
  out(UTF8ArrayToString(tty.output));
810
849
  tty.output = [];
811
850
  } else {
812
- if (val != 0) tty.output.push(val);
851
+ if (val != 0)
852
+ tty.output.push(val);
813
853
  }
814
854
  }, fsync(tty) {
815
855
  if (tty.output?.length > 0) {
@@ -827,7 +867,8 @@ var require_swisseph_node = __commonJS({
827
867
  err(UTF8ArrayToString(tty.output));
828
868
  tty.output = [];
829
869
  } else {
830
- if (val != 0) tty.output.push(val);
870
+ if (val != 0)
871
+ tty.output.push(val);
831
872
  }
832
873
  }, fsync(tty) {
833
874
  if (tty.output?.length > 0) {
@@ -873,20 +914,26 @@ var require_swisseph_node = __commonJS({
873
914
  }
874
915
  return node;
875
916
  }, getFileDataAsTypedArray(node) {
876
- if (!node.contents) return new Uint8Array(0);
877
- if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes);
917
+ if (!node.contents)
918
+ return new Uint8Array(0);
919
+ if (node.contents.subarray)
920
+ return node.contents.subarray(0, node.usedBytes);
878
921
  return new Uint8Array(node.contents);
879
922
  }, expandFileStorage(node, newCapacity) {
880
923
  var prevCapacity = node.contents ? node.contents.length : 0;
881
- if (prevCapacity >= newCapacity) return;
924
+ if (prevCapacity >= newCapacity)
925
+ return;
882
926
  var CAPACITY_DOUBLING_MAX = 1024 * 1024;
883
927
  newCapacity = Math.max(newCapacity, prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125) >>> 0);
884
- if (prevCapacity != 0) newCapacity = Math.max(newCapacity, 256);
928
+ if (prevCapacity != 0)
929
+ newCapacity = Math.max(newCapacity, 256);
885
930
  var oldContents = node.contents;
886
931
  node.contents = new Uint8Array(newCapacity);
887
- if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
932
+ if (node.usedBytes > 0)
933
+ node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
888
934
  }, resizeFileStorage(node, newSize) {
889
- if (node.usedBytes == newSize) return;
935
+ if (node.usedBytes == newSize)
936
+ return;
890
937
  if (newSize == 0) {
891
938
  node.contents = null;
892
939
  node.usedBytes = 0;
@@ -976,13 +1023,15 @@ var require_swisseph_node = __commonJS({
976
1023
  return node.link;
977
1024
  } }, stream_ops: { read(stream, buffer, offset, length, position) {
978
1025
  var contents = stream.node.contents;
979
- if (position >= stream.node.usedBytes) return 0;
1026
+ if (position >= stream.node.usedBytes)
1027
+ return 0;
980
1028
  var size = Math.min(stream.node.usedBytes - position, length);
981
1029
  assert(size >= 0);
982
1030
  if (size > 8 && contents.subarray) {
983
1031
  buffer.set(contents.subarray(position, position + size), offset);
984
1032
  } else {
985
- for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i];
1033
+ for (var i = 0; i < size; i++)
1034
+ buffer[offset + i] = contents[position + i];
986
1035
  }
987
1036
  return size;
988
1037
  }, write(stream, buffer, offset, length, position, canOwn) {
@@ -990,7 +1039,8 @@ var require_swisseph_node = __commonJS({
990
1039
  if (buffer.buffer === HEAP8.buffer) {
991
1040
  canOwn = false;
992
1041
  }
993
- if (!length) return 0;
1042
+ if (!length)
1043
+ return 0;
994
1044
  var node = stream.node;
995
1045
  node.mtime = node.ctime = Date.now();
996
1046
  if (buffer.subarray && (!node.contents || node.contents.subarray)) {
@@ -1073,10 +1123,12 @@ var require_swisseph_node = __commonJS({
1073
1123
  };
1074
1124
  var preloadPlugins = Module["preloadPlugins"] || [];
1075
1125
  var FS_handledByPreloadPlugin = (byteArray, fullname, finish, onerror) => {
1076
- if (typeof Browser != "undefined") Browser.init();
1126
+ if (typeof Browser != "undefined")
1127
+ Browser.init();
1077
1128
  var handled = false;
1078
1129
  preloadPlugins.forEach((plugin) => {
1079
- if (handled) return;
1130
+ if (handled)
1131
+ return;
1080
1132
  if (plugin["canHandle"](fullname)) {
1081
1133
  plugin["handle"](byteArray, fullname, finish, onerror);
1082
1134
  handled = true;
@@ -1121,8 +1173,10 @@ var require_swisseph_node = __commonJS({
1121
1173
  };
1122
1174
  var FS_getMode = (canRead, canWrite) => {
1123
1175
  var mode = 0;
1124
- if (canRead) mode |= 292 | 73;
1125
- if (canWrite) mode |= 146;
1176
+ if (canRead)
1177
+ mode |= 292 | 73;
1178
+ if (canWrite)
1179
+ mode |= 146;
1126
1180
  return mode;
1127
1181
  };
1128
1182
  var ERRNO_CODES = { EPERM: 63, ENOENT: 44, ESRCH: 71, EINTR: 27, EIO: 29, ENXIO: 60, E2BIG: 1, ENOEXEC: 45, EBADF: 8, ECHILD: 12, EAGAIN: 6, EWOULDBLOCK: 6, ENOMEM: 48, EACCES: 2, EFAULT: 21, ENOTBLK: 105, EBUSY: 10, EEXIST: 20, EXDEV: 75, ENODEV: 43, ENOTDIR: 54, EISDIR: 31, EINVAL: 28, ENFILE: 41, EMFILE: 33, ENOTTY: 59, ETXTBSY: 74, EFBIG: 22, ENOSPC: 51, ESPIPE: 70, EROFS: 69, EMLINK: 34, EPIPE: 64, EDOM: 18, ERANGE: 68, ENOMSG: 49, EIDRM: 24, ECHRNG: 106, EL2NSYNC: 156, EL3HLT: 107, EL3RST: 108, ELNRNG: 109, EUNATCH: 110, ENOCSI: 111, EL2HLT: 112, EDEADLK: 16, ENOLCK: 46, EBADE: 113, EBADR: 114, EXFULL: 115, ENOANO: 104, EBADRQC: 103, EBADSLT: 102, EDEADLOCK: 16, EBFONT: 101, ENOSTR: 100, ENODATA: 116, ETIME: 117, ENOSR: 118, ENONET: 119, ENOPKG: 120, EREMOTE: 121, ENOLINK: 47, EADV: 122, ESRMNT: 123, ECOMM: 124, EPROTO: 65, EMULTIHOP: 36, EDOTDOT: 125, EBADMSG: 9, ENOTUNIQ: 126, EBADFD: 127, EREMCHG: 128, ELIBACC: 129, ELIBBAD: 130, ELIBSCN: 131, ELIBMAX: 132, ELIBEXEC: 133, ENOSYS: 52, ENOTEMPTY: 55, ENAMETOOLONG: 37, ELOOP: 32, EOPNOTSUPP: 138, EPFNOSUPPORT: 139, ECONNRESET: 15, ENOBUFS: 42, EAFNOSUPPORT: 5, EPROTOTYPE: 67, ENOTSOCK: 57, ENOPROTOOPT: 50, ESHUTDOWN: 140, ECONNREFUSED: 14, EADDRINUSE: 3, ECONNABORTED: 13, ENETUNREACH: 40, ENETDOWN: 38, ETIMEDOUT: 73, EHOSTDOWN: 142, EHOSTUNREACH: 23, EINPROGRESS: 26, EALREADY: 7, EDESTADDRREQ: 17, EMSGSIZE: 35, EPROTONOSUPPORT: 66, ESOCKTNOSUPPORT: 137, EADDRNOTAVAIL: 4, ENETRESET: 39, EISCONN: 30, ENOTCONN: 53, ETOOMANYREFS: 141, EUSERS: 136, EDQUOT: 19, ESTALE: 72, ENOTSUP: 138, ENOMEDIUM: 148, EILSEQ: 25, EOVERFLOW: 61, ECANCELED: 11, ENOTRECOVERABLE: 56, EOWNERDEAD: 62, ESTRPIPE: 135 };
@@ -1139,8 +1193,10 @@ var require_swisseph_node = __commonJS({
1139
1193
  try {
1140
1194
  return f();
1141
1195
  } catch (e) {
1142
- if (!e.code) throw e;
1143
- if (e.code === "UNKNOWN") throw new FS.ErrnoError(28);
1196
+ if (!e.code)
1197
+ throw e;
1198
+ if (e.code === "UNKNOWN")
1199
+ throw new FS.ErrnoError(28);
1144
1200
  throw new FS.ErrnoError(NODEFS.convertNodeCode(e));
1145
1201
  }
1146
1202
  }, mount(mount) {
@@ -1455,9 +1511,11 @@ var require_swisseph_node = __commonJS({
1455
1511
  return VFS.read(stream, buffer, offset, length, position);
1456
1512
  }
1457
1513
  var seeking = typeof position != "undefined";
1458
- if (!seeking && stream.seekable) position = stream.position;
1514
+ if (!seeking && stream.seekable)
1515
+ position = stream.position;
1459
1516
  var bytesRead = fs.readSync(stream.nfd, new Int8Array(buffer.buffer, offset, length), 0, length, position);
1460
- if (!seeking) stream.position += bytesRead;
1517
+ if (!seeking)
1518
+ stream.position += bytesRead;
1461
1519
  return bytesRead;
1462
1520
  }, write(stream, buffer, offset, length, position) {
1463
1521
  if (stream.stream_ops) {
@@ -1467,9 +1525,11 @@ var require_swisseph_node = __commonJS({
1467
1525
  FS.llseek(stream, 0, 2);
1468
1526
  }
1469
1527
  var seeking = typeof position != "undefined";
1470
- if (!seeking && stream.seekable) position = stream.position;
1528
+ if (!seeking && stream.seekable)
1529
+ position = stream.position;
1471
1530
  var bytesWritten = fs.writeSync(stream.nfd, new Int8Array(buffer.buffer, offset, length), 0, length, position);
1472
- if (!seeking) stream.position += bytesWritten;
1531
+ if (!seeking)
1532
+ stream.position += bytesWritten;
1473
1533
  return bytesWritten;
1474
1534
  }, mmap(stream, length, position, prot, flags) {
1475
1535
  if (!length) {
@@ -1582,56 +1642,58 @@ var require_swisseph_node = __commonJS({
1582
1642
  if (!PATH.isAbs(path)) {
1583
1643
  path = FS.cwd() + "/" + path;
1584
1644
  }
1585
- linkloop: for (var nlinks = 0; nlinks < 40; nlinks++) {
1586
- var parts = path.split("/").filter((p) => !!p);
1587
- var current = FS.root;
1588
- var current_path = "/";
1589
- for (var i = 0; i < parts.length; i++) {
1590
- var islast = i === parts.length - 1;
1591
- if (islast && opts.parent) {
1592
- break;
1593
- }
1594
- if (parts[i] === ".") {
1595
- continue;
1596
- }
1597
- if (parts[i] === "..") {
1598
- current_path = PATH.dirname(current_path);
1599
- current = current.parent;
1600
- continue;
1601
- }
1602
- current_path = PATH.join2(current_path, parts[i]);
1603
- try {
1604
- current = FS.lookupNode(current, parts[i]);
1605
- } catch (e) {
1606
- if (e?.errno === 44 && islast && opts.noent_okay) {
1607
- return { path: current_path };
1645
+ linkloop:
1646
+ for (var nlinks = 0; nlinks < 40; nlinks++) {
1647
+ var parts = path.split("/").filter((p) => !!p);
1648
+ var current = FS.root;
1649
+ var current_path = "/";
1650
+ for (var i = 0; i < parts.length; i++) {
1651
+ var islast = i === parts.length - 1;
1652
+ if (islast && opts.parent) {
1653
+ break;
1608
1654
  }
1609
- throw e;
1610
- }
1611
- if (FS.isMountpoint(current) && (!islast || opts.follow_mount)) {
1612
- current = current.mounted.root;
1613
- }
1614
- if (FS.isLink(current.mode) && (!islast || opts.follow)) {
1615
- if (!current.node_ops.readlink) {
1616
- throw new FS.ErrnoError(52);
1655
+ if (parts[i] === ".") {
1656
+ continue;
1657
+ }
1658
+ if (parts[i] === "..") {
1659
+ current_path = PATH.dirname(current_path);
1660
+ current = current.parent;
1661
+ continue;
1617
1662
  }
1618
- var link = current.node_ops.readlink(current);
1619
- if (!PATH.isAbs(link)) {
1620
- link = PATH.dirname(current_path) + "/" + link;
1663
+ current_path = PATH.join2(current_path, parts[i]);
1664
+ try {
1665
+ current = FS.lookupNode(current, parts[i]);
1666
+ } catch (e) {
1667
+ if (e?.errno === 44 && islast && opts.noent_okay) {
1668
+ return { path: current_path };
1669
+ }
1670
+ throw e;
1671
+ }
1672
+ if (FS.isMountpoint(current) && (!islast || opts.follow_mount)) {
1673
+ current = current.mounted.root;
1674
+ }
1675
+ if (FS.isLink(current.mode) && (!islast || opts.follow)) {
1676
+ if (!current.node_ops.readlink) {
1677
+ throw new FS.ErrnoError(52);
1678
+ }
1679
+ var link = current.node_ops.readlink(current);
1680
+ if (!PATH.isAbs(link)) {
1681
+ link = PATH.dirname(current_path) + "/" + link;
1682
+ }
1683
+ path = link + "/" + parts.slice(i + 1).join("/");
1684
+ continue linkloop;
1621
1685
  }
1622
- path = link + "/" + parts.slice(i + 1).join("/");
1623
- continue linkloop;
1624
1686
  }
1687
+ return { path: current_path, node: current };
1625
1688
  }
1626
- return { path: current_path, node: current };
1627
- }
1628
1689
  throw new FS.ErrnoError(32);
1629
1690
  }, getPath(node) {
1630
1691
  var path;
1631
1692
  while (true) {
1632
1693
  if (FS.isRoot(node)) {
1633
1694
  var mount = node.mount.mountpoint;
1634
- if (!path) return mount;
1695
+ if (!path)
1696
+ return mount;
1635
1697
  return mount[mount.length - 1] !== "/" ? `${mount}/${path}` : mount + path;
1636
1698
  }
1637
1699
  path = path ? `${node.name}/${path}` : node.name;
@@ -1718,10 +1780,13 @@ var require_swisseph_node = __commonJS({
1718
1780
  }
1719
1781
  return 0;
1720
1782
  }, mayLookup(dir) {
1721
- if (!FS.isDir(dir.mode)) return 54;
1783
+ if (!FS.isDir(dir.mode))
1784
+ return 54;
1722
1785
  var errCode = FS.nodePermissions(dir, "x");
1723
- if (errCode) return errCode;
1724
- if (!dir.node_ops.lookup) return 2;
1786
+ if (errCode)
1787
+ return errCode;
1788
+ if (!dir.node_ops.lookup)
1789
+ return 2;
1725
1790
  return 0;
1726
1791
  }, mayCreate(dir, name) {
1727
1792
  if (!FS.isDir(dir.mode)) {
@@ -1956,12 +2021,14 @@ var require_swisseph_node = __commonJS({
1956
2021
  var dirs = path.split("/");
1957
2022
  var d = "";
1958
2023
  for (var dir of dirs) {
1959
- if (!dir) continue;
2024
+ if (!dir)
2025
+ continue;
1960
2026
  d += "/" + dir;
1961
2027
  try {
1962
2028
  FS.mkdir(d, mode);
1963
2029
  } catch (e) {
1964
- if (e.errno != 20) throw e;
2030
+ if (e.errno != 20)
2031
+ throw e;
1965
2032
  }
1966
2033
  }
1967
2034
  }, mkdev(path, mode, dev) {
@@ -1999,7 +2066,8 @@ var require_swisseph_node = __commonJS({
1999
2066
  old_dir = lookup.node;
2000
2067
  lookup = FS.lookupPath(new_path, { parent: true });
2001
2068
  new_dir = lookup.node;
2002
- if (!old_dir || !new_dir) throw new FS.ErrnoError(44);
2069
+ if (!old_dir || !new_dir)
2070
+ throw new FS.ErrnoError(44);
2003
2071
  if (old_dir.mount !== new_dir.mount) {
2004
2072
  throw new FS.ErrnoError(75);
2005
2073
  }
@@ -2253,7 +2321,8 @@ var require_swisseph_node = __commonJS({
2253
2321
  if (FS.isClosed(stream)) {
2254
2322
  throw new FS.ErrnoError(8);
2255
2323
  }
2256
- if (stream.getdents) stream.getdents = null;
2324
+ if (stream.getdents)
2325
+ stream.getdents = null;
2257
2326
  try {
2258
2327
  if (stream.stream_ops.close) {
2259
2328
  stream.stream_ops.close(stream);
@@ -2303,7 +2372,8 @@ var require_swisseph_node = __commonJS({
2303
2372
  throw new FS.ErrnoError(70);
2304
2373
  }
2305
2374
  var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position);
2306
- if (!seeking) stream.position += bytesRead;
2375
+ if (!seeking)
2376
+ stream.position += bytesRead;
2307
2377
  return bytesRead;
2308
2378
  }, write(stream, buffer, offset, length, position, canOwn) {
2309
2379
  assert(offset >= 0);
@@ -2332,7 +2402,8 @@ var require_swisseph_node = __commonJS({
2332
2402
  throw new FS.ErrnoError(70);
2333
2403
  }
2334
2404
  var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn);
2335
- if (!seeking) stream.position += bytesWritten;
2405
+ if (!seeking)
2406
+ stream.position += bytesWritten;
2336
2407
  return bytesWritten;
2337
2408
  }, mmap(stream, length, position, prot, flags) {
2338
2409
  if ((prot & 2) !== 0 && (flags & 2) === 0 && (stream.flags & 2097155) !== 2) {
@@ -2524,12 +2595,14 @@ var require_swisseph_node = __commonJS({
2524
2595
  var parts = path.split("/").reverse();
2525
2596
  while (parts.length) {
2526
2597
  var part = parts.pop();
2527
- if (!part) continue;
2598
+ if (!part)
2599
+ continue;
2528
2600
  var current = PATH.join2(parent, part);
2529
2601
  try {
2530
2602
  FS.mkdir(current);
2531
2603
  } catch (e) {
2532
- if (e.errno != 20) throw e;
2604
+ if (e.errno != 20)
2605
+ throw e;
2533
2606
  }
2534
2607
  parent = current;
2535
2608
  }
@@ -2549,7 +2622,8 @@ var require_swisseph_node = __commonJS({
2549
2622
  if (data) {
2550
2623
  if (typeof data == "string") {
2551
2624
  var arr = new Array(data.length);
2552
- for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
2625
+ for (var i = 0, len = data.length; i < len; ++i)
2626
+ arr[i] = data.charCodeAt(i);
2553
2627
  data = arr;
2554
2628
  }
2555
2629
  FS.chmod(node, mode | 146);
@@ -2582,7 +2656,8 @@ var require_swisseph_node = __commonJS({
2582
2656
  if (result === void 0 && bytesRead === 0) {
2583
2657
  throw new FS.ErrnoError(6);
2584
2658
  }
2585
- if (result === null || result === void 0) break;
2659
+ if (result === null || result === void 0)
2660
+ break;
2586
2661
  bytesRead++;
2587
2662
  buffer[offset + i] = result;
2588
2663
  }
@@ -2605,7 +2680,8 @@ var require_swisseph_node = __commonJS({
2605
2680
  } });
2606
2681
  return FS.mkdev(path, mode, dev);
2607
2682
  }, forceLoadFile(obj) {
2608
- if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true;
2683
+ if (obj.isDevice || obj.isFolder || obj.link || obj.contents)
2684
+ return true;
2609
2685
  if (typeof XMLHttpRequest != "undefined") {
2610
2686
  throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");
2611
2687
  } else {
@@ -2637,25 +2713,31 @@ var require_swisseph_node = __commonJS({
2637
2713
  var xhr = new XMLHttpRequest();
2638
2714
  xhr.open("HEAD", url, false);
2639
2715
  xhr.send(null);
2640
- if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
2716
+ if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304))
2717
+ throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
2641
2718
  var datalength = Number(xhr.getResponseHeader("Content-length"));
2642
2719
  var header;
2643
2720
  var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes";
2644
2721
  var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip";
2645
2722
  var chunkSize = 1024 * 1024;
2646
- if (!hasByteServing) chunkSize = datalength;
2723
+ if (!hasByteServing)
2724
+ chunkSize = datalength;
2647
2725
  var doXHR = (from, to) => {
2648
- if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
2649
- if (to > datalength - 1) throw new Error("only " + datalength + " bytes available! programmer error!");
2726
+ if (from > to)
2727
+ throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
2728
+ if (to > datalength - 1)
2729
+ throw new Error("only " + datalength + " bytes available! programmer error!");
2650
2730
  var xhr2 = new XMLHttpRequest();
2651
2731
  xhr2.open("GET", url, false);
2652
- if (datalength !== chunkSize) xhr2.setRequestHeader("Range", "bytes=" + from + "-" + to);
2732
+ if (datalength !== chunkSize)
2733
+ xhr2.setRequestHeader("Range", "bytes=" + from + "-" + to);
2653
2734
  xhr2.responseType = "arraybuffer";
2654
2735
  if (xhr2.overrideMimeType) {
2655
2736
  xhr2.overrideMimeType("text/plain; charset=x-user-defined");
2656
2737
  }
2657
2738
  xhr2.send(null);
2658
- if (!(xhr2.status >= 200 && xhr2.status < 300 || xhr2.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr2.status);
2739
+ if (!(xhr2.status >= 200 && xhr2.status < 300 || xhr2.status === 304))
2740
+ throw new Error("Couldn't load " + url + ". Status: " + xhr2.status);
2659
2741
  if (xhr2.response !== void 0) {
2660
2742
  return new Uint8Array(xhr2.response || []);
2661
2743
  }
@@ -2669,7 +2751,8 @@ var require_swisseph_node = __commonJS({
2669
2751
  if (typeof lazyArray2.chunks[chunkNum] == "undefined") {
2670
2752
  lazyArray2.chunks[chunkNum] = doXHR(start, end);
2671
2753
  }
2672
- if (typeof lazyArray2.chunks[chunkNum] == "undefined") throw new Error("doXHR failed!");
2754
+ if (typeof lazyArray2.chunks[chunkNum] == "undefined")
2755
+ throw new Error("doXHR failed!");
2673
2756
  return lazyArray2.chunks[chunkNum];
2674
2757
  });
2675
2758
  if (usesGzip || !datalength) {
@@ -2696,7 +2779,8 @@ var require_swisseph_node = __commonJS({
2696
2779
  }
2697
2780
  }
2698
2781
  if (typeof XMLHttpRequest != "undefined") {
2699
- if (!ENVIRONMENT_IS_WORKER) throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";
2782
+ if (!ENVIRONMENT_IS_WORKER)
2783
+ throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";
2700
2784
  var lazyArray = new LazyUint8Array();
2701
2785
  var properties = { isDevice: false, contents: lazyArray };
2702
2786
  } else {
@@ -2723,7 +2807,8 @@ var require_swisseph_node = __commonJS({
2723
2807
  });
2724
2808
  function writeChunks(stream, buffer, offset, length, position) {
2725
2809
  var contents = stream.node.contents;
2726
- if (position >= contents.length) return 0;
2810
+ if (position >= contents.length)
2811
+ return 0;
2727
2812
  var size = Math.min(contents.length - position, length);
2728
2813
  assert(size >= 0);
2729
2814
  if (contents.slice) {
@@ -2870,7 +2955,8 @@ var require_swisseph_node = __commonJS({
2870
2955
  }
2871
2956
  return -28;
2872
2957
  } catch (e) {
2873
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
2958
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
2959
+ throw e;
2874
2960
  return -e.errno;
2875
2961
  }
2876
2962
  }
@@ -2880,11 +2966,13 @@ var require_swisseph_node = __commonJS({
2880
2966
  var stream = SYSCALLS.getStreamFromFD(fd);
2881
2967
  switch (op) {
2882
2968
  case 21509: {
2883
- if (!stream.tty) return -59;
2969
+ if (!stream.tty)
2970
+ return -59;
2884
2971
  return 0;
2885
2972
  }
2886
2973
  case 21505: {
2887
- if (!stream.tty) return -59;
2974
+ if (!stream.tty)
2975
+ return -59;
2888
2976
  if (stream.tty.ops.ioctl_tcgets) {
2889
2977
  var termios = stream.tty.ops.ioctl_tcgets(stream);
2890
2978
  var argp = syscallGetVarargP();
@@ -2902,13 +2990,15 @@ var require_swisseph_node = __commonJS({
2902
2990
  case 21510:
2903
2991
  case 21511:
2904
2992
  case 21512: {
2905
- if (!stream.tty) return -59;
2993
+ if (!stream.tty)
2994
+ return -59;
2906
2995
  return 0;
2907
2996
  }
2908
2997
  case 21506:
2909
2998
  case 21507:
2910
2999
  case 21508: {
2911
- if (!stream.tty) return -59;
3000
+ if (!stream.tty)
3001
+ return -59;
2912
3002
  if (stream.tty.ops.ioctl_tcsets) {
2913
3003
  var argp = syscallGetVarargP();
2914
3004
  var c_iflag = SAFE_HEAP_LOAD((argp >> 2) * 4, 4, 0);
@@ -2924,13 +3014,15 @@ var require_swisseph_node = __commonJS({
2924
3014
  return 0;
2925
3015
  }
2926
3016
  case 21519: {
2927
- if (!stream.tty) return -59;
3017
+ if (!stream.tty)
3018
+ return -59;
2928
3019
  var argp = syscallGetVarargP();
2929
3020
  SAFE_HEAP_STORE((argp >> 2) * 4, 0, 4);
2930
3021
  return 0;
2931
3022
  }
2932
3023
  case 21520: {
2933
- if (!stream.tty) return -59;
3024
+ if (!stream.tty)
3025
+ return -59;
2934
3026
  return -28;
2935
3027
  }
2936
3028
  case 21531: {
@@ -2938,7 +3030,8 @@ var require_swisseph_node = __commonJS({
2938
3030
  return FS.ioctl(stream, op, argp);
2939
3031
  }
2940
3032
  case 21523: {
2941
- if (!stream.tty) return -59;
3033
+ if (!stream.tty)
3034
+ return -59;
2942
3035
  if (stream.tty.ops.ioctl_tiocgwinsz) {
2943
3036
  var winsize = stream.tty.ops.ioctl_tiocgwinsz(stream.tty);
2944
3037
  var argp = syscallGetVarargP();
@@ -2948,18 +3041,21 @@ var require_swisseph_node = __commonJS({
2948
3041
  return 0;
2949
3042
  }
2950
3043
  case 21524: {
2951
- if (!stream.tty) return -59;
3044
+ if (!stream.tty)
3045
+ return -59;
2952
3046
  return 0;
2953
3047
  }
2954
3048
  case 21515: {
2955
- if (!stream.tty) return -59;
3049
+ if (!stream.tty)
3050
+ return -59;
2956
3051
  return 0;
2957
3052
  }
2958
3053
  default:
2959
3054
  return -28;
2960
3055
  }
2961
3056
  } catch (e) {
2962
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
3057
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
3058
+ throw e;
2963
3059
  return -e.errno;
2964
3060
  }
2965
3061
  }
@@ -2971,7 +3067,8 @@ var require_swisseph_node = __commonJS({
2971
3067
  var mode = varargs ? syscallGetVarargI() : 0;
2972
3068
  return FS.open(path, flags, mode).fd;
2973
3069
  } catch (e) {
2974
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
3070
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
3071
+ throw e;
2975
3072
  return -e.errno;
2976
3073
  }
2977
3074
  }
@@ -3016,8 +3113,10 @@ var require_swisseph_node = __commonJS({
3016
3113
  var lang = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8";
3017
3114
  var env = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: lang, _: getExecutableName() };
3018
3115
  for (var x in ENV) {
3019
- if (ENV[x] === void 0) delete env[x];
3020
- else env[x] = ENV[x];
3116
+ if (ENV[x] === void 0)
3117
+ delete env[x];
3118
+ else
3119
+ env[x] = ENV[x];
3021
3120
  }
3022
3121
  var strings = [];
3023
3122
  for (var x in env) {
@@ -3058,7 +3157,8 @@ var require_swisseph_node = __commonJS({
3058
3157
  FS.close(stream);
3059
3158
  return 0;
3060
3159
  } catch (e) {
3061
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
3160
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
3161
+ throw e;
3062
3162
  return e.errno;
3063
3163
  }
3064
3164
  }
@@ -3069,9 +3169,11 @@ var require_swisseph_node = __commonJS({
3069
3169
  var len = SAFE_HEAP_LOAD((iov + 4 >> 2) * 4, 4, 1);
3070
3170
  iov += 8;
3071
3171
  var curr = FS.read(stream, HEAP8, ptr, len, offset);
3072
- if (curr < 0) return -1;
3172
+ if (curr < 0)
3173
+ return -1;
3073
3174
  ret += curr;
3074
- if (curr < len) break;
3175
+ if (curr < len)
3176
+ break;
3075
3177
  }
3076
3178
  return ret;
3077
3179
  };
@@ -3082,7 +3184,8 @@ var require_swisseph_node = __commonJS({
3082
3184
  SAFE_HEAP_STORE((pnum >> 2) * 4, num, 4);
3083
3185
  return 0;
3084
3186
  } catch (e) {
3085
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
3187
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
3188
+ throw e;
3086
3189
  return e.errno;
3087
3190
  }
3088
3191
  }
@@ -3092,14 +3195,17 @@ var require_swisseph_node = __commonJS({
3092
3195
  function _fd_seek(fd, offset, whence, newOffset) {
3093
3196
  offset = bigintToI53Checked(offset);
3094
3197
  try {
3095
- if (isNaN(offset)) return 61;
3198
+ if (isNaN(offset))
3199
+ return 61;
3096
3200
  var stream = SYSCALLS.getStreamFromFD(fd);
3097
3201
  FS.llseek(stream, offset, whence);
3098
3202
  HEAP64[newOffset >> 3] = BigInt(stream.position);
3099
- if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null;
3203
+ if (stream.getdents && offset === 0 && whence === 0)
3204
+ stream.getdents = null;
3100
3205
  return 0;
3101
3206
  } catch (e) {
3102
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
3207
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
3208
+ throw e;
3103
3209
  return e.errno;
3104
3210
  }
3105
3211
  }
@@ -3110,7 +3216,8 @@ var require_swisseph_node = __commonJS({
3110
3216
  var len = SAFE_HEAP_LOAD((iov + 4 >> 2) * 4, 4, 1);
3111
3217
  iov += 8;
3112
3218
  var curr = FS.write(stream, HEAP8, ptr, len, offset);
3113
- if (curr < 0) return -1;
3219
+ if (curr < 0)
3220
+ return -1;
3114
3221
  ret += curr;
3115
3222
  if (curr < len) {
3116
3223
  break;
@@ -3125,7 +3232,8 @@ var require_swisseph_node = __commonJS({
3125
3232
  SAFE_HEAP_STORE((pnum >> 2) * 4, num, 4);
3126
3233
  return 0;
3127
3234
  } catch (e) {
3128
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
3235
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
3236
+ throw e;
3129
3237
  return e.errno;
3130
3238
  }
3131
3239
  }
@@ -3165,7 +3273,8 @@ var require_swisseph_node = __commonJS({
3165
3273
  if (returnType === "string") {
3166
3274
  return UTF8ToString(ret2);
3167
3275
  }
3168
- if (returnType === "boolean") return Boolean(ret2);
3276
+ if (returnType === "boolean")
3277
+ return Boolean(ret2);
3169
3278
  return ret2;
3170
3279
  }
3171
3280
  var func = getCFunc(ident);
@@ -3176,7 +3285,8 @@ var require_swisseph_node = __commonJS({
3176
3285
  for (var i = 0; i < args.length; i++) {
3177
3286
  var converter = toC[argTypes[i]];
3178
3287
  if (converter) {
3179
- if (stack === 0) stack = stackSave();
3288
+ if (stack === 0)
3289
+ stack = stackSave();
3180
3290
  cArgs[i] = converter(args[i]);
3181
3291
  } else {
3182
3292
  cArgs[i] = args[i];
@@ -3185,7 +3295,8 @@ var require_swisseph_node = __commonJS({
3185
3295
  }
3186
3296
  var ret = func(...cArgs);
3187
3297
  function onDone(ret2) {
3188
- if (stack !== 0) stackRestore(stack);
3298
+ if (stack !== 0)
3299
+ stackRestore(stack);
3189
3300
  return convertReturnValue(ret2);
3190
3301
  }
3191
3302
  ret = onDone(ret);
@@ -3297,7 +3408,8 @@ var require_swisseph_node = __commonJS({
3297
3408
  assert(!calledRun);
3298
3409
  calledRun = true;
3299
3410
  Module["calledRun"] = true;
3300
- if (ABORT) return;
3411
+ if (ABORT)
3412
+ return;
3301
3413
  initRuntime();
3302
3414
  readyPromiseResolve(Module);
3303
3415
  Module["onRuntimeInitialized"]?.();
@@ -3317,7 +3429,8 @@ var require_swisseph_node = __commonJS({
3317
3429
  checkStackCookie();
3318
3430
  }
3319
3431
  if (Module["preInit"]) {
3320
- if (typeof Module["preInit"] == "function") Module["preInit"] = [Module["preInit"]];
3432
+ if (typeof Module["preInit"] == "function")
3433
+ Module["preInit"] = [Module["preInit"]];
3321
3434
  while (Module["preInit"].length > 0) {
3322
3435
  Module["preInit"].pop()();
3323
3436
  }
@@ -3338,7 +3451,8 @@ var require_swisseph_node = __commonJS({
3338
3451
  (() => {
3339
3452
  var real_SwissEphemerisModule = SwissEphemerisModule;
3340
3453
  SwissEphemerisModule = function(arg) {
3341
- if (new.target) throw new Error("SwissEphemerisModule() should not be called with `new SwissEphemerisModule()`");
3454
+ if (new.target)
3455
+ throw new Error("SwissEphemerisModule() should not be called with `new SwissEphemerisModule()`");
3342
3456
  return real_SwissEphemerisModule(arg);
3343
3457
  };
3344
3458
  })();
@@ -3349,8 +3463,8 @@ var require_swisseph_node = __commonJS({
3349
3463
  define([], () => SwissEphemerisModule);
3350
3464
  }
3351
3465
  });
3352
- var swisseph_node6H4ISR7M = require_swisseph_node();
3466
+ var swisseph_node2PWBQLWG = require_swisseph_node();
3353
3467
 
3354
- export { swisseph_node6H4ISR7M as default };
3355
- //# sourceMappingURL=swisseph.node-6H4ISR7M.mjs.map
3356
- //# sourceMappingURL=swisseph.node-6H4ISR7M.mjs.map
3468
+ export { swisseph_node2PWBQLWG as default };
3469
+ //# sourceMappingURL=out.js.map
3470
+ //# sourceMappingURL=swisseph.node-2PWBQLWG.mjs.map