kaabalah 6.7.0 → 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-SFUCT6I2.mjs → chunk-5HXSHALQ.mjs} +49 -43
  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-WCOGJKT7.js → chunk-WLML6SVX.js} +53 -47
  44. package/dist/chunk-WLML6SVX.js.map +1 -0
  45. package/dist/cli.js +1175 -420
  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 +1 -0
  62. package/dist/index.d.ts +1 -0
  63. package/dist/index.js +377 -353
  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/{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/{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 +2 -1
  90. package/dist/visual/index.d.ts +2 -1
  91. package/dist/visual/index.js +46 -46
  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/wasm/build/{swisseph.node-6H4ISR7M.mjs → 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/wasm/build/{swisseph.web-TSFJI7DQ.mjs → 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 +7 -7
  104. package/dist/chunk-6O7MTBZN.js.map +0 -1
  105. package/dist/chunk-6P2CJUTH.mjs.map +0 -1
  106. package/dist/chunk-COPYH3O2.js.map +0 -1
  107. package/dist/chunk-EFZUZI22.mjs.map +0 -1
  108. package/dist/chunk-FM7WUVZV.js.map +0 -1
  109. package/dist/chunk-MTI2SOQ6.mjs.map +0 -1
  110. package/dist/chunk-OKZUVGA3.js.map +0 -1
  111. package/dist/chunk-PAKYKIZH.js.map +0 -1
  112. package/dist/chunk-PWYOHULD.mjs.map +0 -1
  113. package/dist/chunk-S6KNERP7.js.map +0 -1
  114. package/dist/chunk-SFUCT6I2.mjs.map +0 -1
  115. package/dist/chunk-UG6HZK3Z.js.map +0 -1
  116. package/dist/chunk-UN7QMOMX.mjs.map +0 -1
  117. package/dist/chunk-WCOGJKT7.js.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,13 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkFM7WUVZV_js = require('./chunk-FM7WUVZV.js');
3
+ var chunk4337NVKS_js = require('./chunk-4337NVKS.js');
4
4
 
5
5
  // wasm/build/swisseph.web.js
6
- var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
6
+ var require_swisseph_web = chunk4337NVKS_js.__commonJS({
7
7
  "wasm/build/swisseph.web.js"(exports, module) {
8
8
  var SwissEphemerisModule = (() => {
9
9
  var _scriptName = typeof document != "undefined" ? document.currentScript?.src : void 0;
10
- if (typeof __filename != "undefined") _scriptName = _scriptName || __filename;
10
+ if (typeof __filename != "undefined")
11
+ _scriptName = _scriptName || __filename;
11
12
  return async function(moduleArg = {}) {
12
13
  var moduleRtn;
13
14
  var Module = moduleArg;
@@ -31,15 +32,16 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
31
32
  }
32
33
  var readAsync, readBinary;
33
34
  if (ENVIRONMENT_IS_NODE) {
34
- 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?)");
35
+ if (typeof process == "undefined" || !process.release || process.release.name !== "node")
36
+ 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?)");
35
37
  var nodeVersion = process.versions.node;
36
38
  var numericVersion = nodeVersion.split(".").slice(0, 3);
37
39
  numericVersion = numericVersion[0] * 1e4 + numericVersion[1] * 100 + numericVersion[2].split("-")[0] * 1;
38
40
  if (numericVersion < 16e4) {
39
41
  throw new Error("This emscripten-generated code requires node v16.0.0 (detected v" + nodeVersion + ")");
40
42
  }
41
- var fs = chunkFM7WUVZV_js.__require("fs");
42
- chunkFM7WUVZV_js.__require("path");
43
+ var fs = chunk4337NVKS_js.__require("fs");
44
+ chunk4337NVKS_js.__require("path");
43
45
  scriptDirectory = __dirname + "/";
44
46
  readBinary = (filename) => {
45
47
  filename = isFileURI(filename) ? new URL(filename) : filename;
@@ -58,7 +60,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
58
60
  }
59
61
  process.argv.slice(2);
60
62
  } else if (ENVIRONMENT_IS_SHELL) {
61
- if (typeof process == "object" && typeof chunkFM7WUVZV_js.__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?)");
63
+ if (typeof process == "object" && typeof chunk4337NVKS_js.__require === "function" || typeof window == "object" || typeof WorkerGlobalScope != "undefined")
64
+ 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?)");
62
65
  } else if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) {
63
66
  if (ENVIRONMENT_IS_WORKER) {
64
67
  scriptDirectory = self.location.href;
@@ -73,7 +76,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
73
76
  } else {
74
77
  scriptDirectory = scriptDirectory.slice(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf("/") + 1);
75
78
  }
76
- 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?)");
79
+ if (!(typeof window == "object" || typeof WorkerGlobalScope != "undefined"))
80
+ 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
81
  {
78
82
  readAsync = async (url) => {
79
83
  assert(!isFileURI(url), "readAsync does not work with file:// URLs");
@@ -92,9 +96,11 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
92
96
  Object.assign(Module, moduleOverrides);
93
97
  moduleOverrides = null;
94
98
  checkIncomingModuleAPI();
95
- if (Module["arguments"]) Module["arguments"];
99
+ if (Module["arguments"])
100
+ Module["arguments"];
96
101
  legacyModuleProp("arguments", "arguments_");
97
- if (Module["thisProgram"]) thisProgram = Module["thisProgram"];
102
+ if (Module["thisProgram"])
103
+ thisProgram = Module["thisProgram"];
98
104
  legacyModuleProp("thisProgram", "thisProgram");
99
105
  assert(typeof Module["memoryInitializerPrefixURL"] == "undefined", "Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead");
100
106
  assert(typeof Module["pthreadMainPrefixURL"] == "undefined", "Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead");
@@ -136,7 +142,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
136
142
  SAFE_HEAP_STORE((max + 4 >> 2) * 4, 2310721022, 4);
137
143
  }
138
144
  function checkStackCookie() {
139
- if (ABORT) return;
145
+ if (ABORT)
146
+ return;
140
147
  var max = _emscripten_stack_get_end();
141
148
  if (max == 0) {
142
149
  max += 4;
@@ -151,7 +158,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
151
158
  var h16 = new Int16Array(1);
152
159
  var h8 = new Int8Array(h16.buffer);
153
160
  h16[0] = 25459;
154
- if (h8[0] !== 115 || h8[1] !== 99) throw "Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";
161
+ if (h8[0] !== 115 || h8[1] !== 99)
162
+ throw "Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";
155
163
  })();
156
164
  if (Module["ENVIRONMENT"]) {
157
165
  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)");
@@ -208,13 +216,18 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
208
216
  }
209
217
  }
210
218
  function SAFE_HEAP_STORE(dest, value, bytes, isFloat) {
211
- if (dest <= 0) abort(`segmentation fault storing ${bytes} bytes to address ${dest}`);
212
- if (dest % bytes !== 0) abort(`alignment error storing to address ${dest}, which was expected to be aligned to a multiple of ${bytes}`);
219
+ if (dest <= 0)
220
+ abort(`segmentation fault storing ${bytes} bytes to address ${dest}`);
221
+ if (dest % bytes !== 0)
222
+ abort(`alignment error storing to address ${dest}, which was expected to be aligned to a multiple of ${bytes}`);
213
223
  if (runtimeInitialized) {
214
224
  var brk = _sbrk(0);
215
- if (dest + bytes > brk) abort(`segmentation fault, exceeded the top of the available dynamic heap when storing ${bytes} bytes to address ${dest}. DYNAMICTOP=${brk}`);
216
- if (brk < _emscripten_stack_get_base()) abort(`brk >= _emscripten_stack_get_base() (brk=${brk}, _emscripten_stack_get_base()=${_emscripten_stack_get_base()})`);
217
- if (brk > wasmMemory.buffer.byteLength) abort(`brk <= wasmMemory.buffer.byteLength (brk=${brk}, wasmMemory.buffer.byteLength=${wasmMemory.buffer.byteLength})`);
225
+ if (dest + bytes > brk)
226
+ abort(`segmentation fault, exceeded the top of the available dynamic heap when storing ${bytes} bytes to address ${dest}. DYNAMICTOP=${brk}`);
227
+ if (brk < _emscripten_stack_get_base())
228
+ abort(`brk >= _emscripten_stack_get_base() (brk=${brk}, _emscripten_stack_get_base()=${_emscripten_stack_get_base()})`);
229
+ if (brk > wasmMemory.buffer.byteLength)
230
+ abort(`brk <= wasmMemory.buffer.byteLength (brk=${brk}, wasmMemory.buffer.byteLength=${wasmMemory.buffer.byteLength})`);
218
231
  }
219
232
  setValue_safe(dest, value, getSafeHeapType(bytes, isFloat));
220
233
  return value;
@@ -223,17 +236,23 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
223
236
  return SAFE_HEAP_STORE(dest, value, bytes, true);
224
237
  }
225
238
  function SAFE_HEAP_LOAD(dest, bytes, unsigned, isFloat) {
226
- if (dest <= 0) abort(`segmentation fault loading ${bytes} bytes from address ${dest}`);
227
- if (dest % bytes !== 0) abort(`alignment error loading from address ${dest}, which was expected to be aligned to a multiple of ${bytes}`);
239
+ if (dest <= 0)
240
+ abort(`segmentation fault loading ${bytes} bytes from address ${dest}`);
241
+ if (dest % bytes !== 0)
242
+ abort(`alignment error loading from address ${dest}, which was expected to be aligned to a multiple of ${bytes}`);
228
243
  if (runtimeInitialized) {
229
244
  var brk = _sbrk(0);
230
- if (dest + bytes > brk) abort(`segmentation fault, exceeded the top of the available dynamic heap when loading ${bytes} bytes from address ${dest}. DYNAMICTOP=${brk}`);
231
- if (brk < _emscripten_stack_get_base()) abort(`brk >= _emscripten_stack_get_base() (brk=${brk}, _emscripten_stack_get_base()=${_emscripten_stack_get_base()})`);
232
- if (brk > wasmMemory.buffer.byteLength) abort(`brk <= wasmMemory.buffer.byteLength (brk=${brk}, wasmMemory.buffer.byteLength=${wasmMemory.buffer.byteLength})`);
245
+ if (dest + bytes > brk)
246
+ abort(`segmentation fault, exceeded the top of the available dynamic heap when loading ${bytes} bytes from address ${dest}. DYNAMICTOP=${brk}`);
247
+ if (brk < _emscripten_stack_get_base())
248
+ abort(`brk >= _emscripten_stack_get_base() (brk=${brk}, _emscripten_stack_get_base()=${_emscripten_stack_get_base()})`);
249
+ if (brk > wasmMemory.buffer.byteLength)
250
+ abort(`brk <= wasmMemory.buffer.byteLength (brk=${brk}, wasmMemory.buffer.byteLength=${wasmMemory.buffer.byteLength})`);
233
251
  }
234
252
  var type = getSafeHeapType(bytes, isFloat);
235
253
  var ret = getValue_safe(dest, type);
236
- if (unsigned) ret = unSign(ret, parseInt(type.slice(1), 10));
254
+ if (unsigned)
255
+ ret = unSign(ret, parseInt(type.slice(1), 10));
237
256
  return ret;
238
257
  }
239
258
  function SAFE_HEAP_LOAD_D(dest, bytes, unsigned) {
@@ -264,7 +283,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
264
283
  assert(!Module["INITIAL_MEMORY"], "Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");
265
284
  function preRun() {
266
285
  if (Module["preRun"]) {
267
- if (typeof Module["preRun"] == "function") Module["preRun"] = [Module["preRun"]];
286
+ if (typeof Module["preRun"] == "function")
287
+ Module["preRun"] = [Module["preRun"]];
268
288
  while (Module["preRun"].length) {
269
289
  addOnPreRun(Module["preRun"].shift());
270
290
  }
@@ -276,14 +296,16 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
276
296
  assert(!runtimeInitialized);
277
297
  runtimeInitialized = true;
278
298
  checkStackCookie();
279
- if (!Module["noFSInit"] && !FS.initialized) FS.init();
299
+ if (!Module["noFSInit"] && !FS.initialized)
300
+ FS.init();
280
301
  wasmExports["__wasm_call_ctors"]();
281
302
  FS.ignorePermissions = false;
282
303
  }
283
304
  function postRun() {
284
305
  checkStackCookie();
285
306
  if (Module["postRun"]) {
286
- if (typeof Module["postRun"] == "function") Module["postRun"] = [Module["postRun"]];
307
+ if (typeof Module["postRun"] == "function")
308
+ Module["postRun"] = [Module["postRun"]];
287
309
  while (Module["postRun"].length) {
288
310
  addOnPostRun(Module["postRun"].shift());
289
311
  }
@@ -298,7 +320,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
298
320
  function getUniqueRunDependency(id) {
299
321
  var orig = id;
300
322
  while (1) {
301
- if (!runDependencyTracking[id]) return id;
323
+ if (!runDependencyTracking[id])
324
+ return id;
302
325
  id = orig + Math.random();
303
326
  }
304
327
  }
@@ -473,7 +496,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
473
496
  var onPreRuns = [];
474
497
  var addOnPreRun = (cb) => onPreRuns.unshift(cb);
475
498
  function getValue(ptr, type = "i8") {
476
- if (type.endsWith("*")) type = "*";
499
+ if (type.endsWith("*"))
500
+ type = "*";
477
501
  switch (type) {
478
502
  case "i1":
479
503
  return SAFE_HEAP_LOAD(ptr, 1, 0);
@@ -496,7 +520,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
496
520
  }
497
521
  }
498
522
  function getValue_safe(ptr, type = "i8") {
499
- if (type.endsWith("*")) type = "*";
523
+ if (type.endsWith("*"))
524
+ type = "*";
500
525
  switch (type) {
501
526
  case "i1":
502
527
  return HEAP8[ptr];
@@ -525,7 +550,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
525
550
  return "0x" + ptr.toString(16).padStart(8, "0");
526
551
  };
527
552
  function setValue(ptr, value, type = "i8") {
528
- if (type.endsWith("*")) type = "*";
553
+ if (type.endsWith("*"))
554
+ type = "*";
529
555
  switch (type) {
530
556
  case "i1":
531
557
  SAFE_HEAP_STORE(ptr, value, 1);
@@ -556,7 +582,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
556
582
  }
557
583
  }
558
584
  function setValue_safe(ptr, value, type = "i8") {
559
- if (type.endsWith("*")) type = "*";
585
+ if (type.endsWith("*"))
586
+ type = "*";
560
587
  switch (type) {
561
588
  case "i1":
562
589
  HEAP8[ptr] = value;
@@ -598,7 +625,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
598
625
  warnOnce.shown || (warnOnce.shown = {});
599
626
  if (!warnOnce.shown[text]) {
600
627
  warnOnce.shown[text] = 1;
601
- if (ENVIRONMENT_IS_NODE) text = "warning: " + text;
628
+ if (ENVIRONMENT_IS_NODE)
629
+ text = "warning: " + text;
602
630
  err(text);
603
631
  }
604
632
  };
@@ -654,7 +682,7 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
654
682
  }, basename: (path) => path && path.match(/([^\/]+|\/)\/*$/)[1], join: (...paths) => PATH.normalize(paths.join("/")), join2: (l, r) => PATH.normalize(l + "/" + r) };
655
683
  var initRandomFill = () => {
656
684
  if (ENVIRONMENT_IS_NODE) {
657
- var nodeCrypto = chunkFM7WUVZV_js.__require("crypto");
685
+ var nodeCrypto = chunk4337NVKS_js.__require("crypto");
658
686
  return (view) => nodeCrypto.randomFillSync(view);
659
687
  }
660
688
  return (view) => crypto.getRandomValues(view);
@@ -682,13 +710,16 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
682
710
  function trim(arr) {
683
711
  var start = 0;
684
712
  for (; start < arr.length; start++) {
685
- if (arr[start] !== "") break;
713
+ if (arr[start] !== "")
714
+ break;
686
715
  }
687
716
  var end = arr.length - 1;
688
717
  for (; end >= 0; end--) {
689
- if (arr[end] !== "") break;
718
+ if (arr[end] !== "")
719
+ break;
690
720
  }
691
- if (start > end) return [];
721
+ if (start > end)
722
+ return [];
692
723
  return arr.slice(start, end - start + 1);
693
724
  }
694
725
  var fromParts = trim(from.split("/"));
@@ -712,7 +743,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
712
743
  var UTF8ArrayToString = (heapOrArray, idx = 0, maxBytesToRead = NaN) => {
713
744
  var endIdx = idx + maxBytesToRead;
714
745
  var endPtr = idx;
715
- while (heapOrArray[endPtr] && !(endPtr >= endIdx)) ++endPtr;
746
+ while (heapOrArray[endPtr] && !(endPtr >= endIdx))
747
+ ++endPtr;
716
748
  if (endPtr - idx > 16 && heapOrArray.buffer && UTF8Decoder) {
717
749
  return UTF8Decoder.decode(heapOrArray.subarray(idx, endPtr));
718
750
  }
@@ -732,7 +764,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
732
764
  if ((u0 & 240) == 224) {
733
765
  u0 = (u0 & 15) << 12 | u1 << 6 | u2;
734
766
  } else {
735
- 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!");
767
+ if ((u0 & 248) != 240)
768
+ warnOnce("Invalid UTF-8 leading byte " + ptrToString(u0) + " encountered when deserializing a UTF-8 string in wasm memory to a JS string!");
736
769
  u0 = (u0 & 7) << 18 | u1 << 12 | u2 << 6 | heapOrArray[idx++] & 63;
737
770
  }
738
771
  if (u0 < 65536) {
@@ -764,7 +797,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
764
797
  };
765
798
  var stringToUTF8Array = (str, heap, outIdx, maxBytesToWrite) => {
766
799
  assert(typeof str === "string", `stringToUTF8Array expects a string (got ${typeof str})`);
767
- if (!(maxBytesToWrite > 0)) return 0;
800
+ if (!(maxBytesToWrite > 0))
801
+ return 0;
768
802
  var startIdx = outIdx;
769
803
  var endIdx = outIdx + maxBytesToWrite - 1;
770
804
  for (var i = 0; i < str.length; ++i) {
@@ -774,20 +808,25 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
774
808
  u = 65536 + ((u & 1023) << 10) | u1 & 1023;
775
809
  }
776
810
  if (u <= 127) {
777
- if (outIdx >= endIdx) break;
811
+ if (outIdx >= endIdx)
812
+ break;
778
813
  heap[outIdx++] = u;
779
814
  } else if (u <= 2047) {
780
- if (outIdx + 1 >= endIdx) break;
815
+ if (outIdx + 1 >= endIdx)
816
+ break;
781
817
  heap[outIdx++] = 192 | u >> 6;
782
818
  heap[outIdx++] = 128 | u & 63;
783
819
  } else if (u <= 65535) {
784
- if (outIdx + 2 >= endIdx) break;
820
+ if (outIdx + 2 >= endIdx)
821
+ break;
785
822
  heap[outIdx++] = 224 | u >> 12;
786
823
  heap[outIdx++] = 128 | u >> 6 & 63;
787
824
  heap[outIdx++] = 128 | u & 63;
788
825
  } else {
789
- if (outIdx + 3 >= endIdx) break;
790
- 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).");
826
+ if (outIdx + 3 >= endIdx)
827
+ break;
828
+ if (u > 1114111)
829
+ 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).");
791
830
  heap[outIdx++] = 240 | u >> 18;
792
831
  heap[outIdx++] = 128 | u >> 12 & 63;
793
832
  heap[outIdx++] = 128 | u >> 6 & 63;
@@ -815,8 +854,10 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
815
854
  try {
816
855
  bytesRead = fs.readSync(fd, buf, 0, BUFSIZE);
817
856
  } catch (e) {
818
- if (e.toString().includes("EOF")) bytesRead = 0;
819
- else throw e;
857
+ if (e.toString().includes("EOF"))
858
+ bytesRead = 0;
859
+ else
860
+ throw e;
820
861
  }
821
862
  if (bytesRead > 0) {
822
863
  result = buf.slice(0, bytesRead).toString("utf-8");
@@ -865,7 +906,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
865
906
  if (result === void 0 && bytesRead === 0) {
866
907
  throw new FS.ErrnoError(6);
867
908
  }
868
- if (result === null || result === void 0) break;
909
+ if (result === null || result === void 0)
910
+ break;
869
911
  bytesRead++;
870
912
  buffer[offset + i] = result;
871
913
  }
@@ -895,7 +937,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
895
937
  out(UTF8ArrayToString(tty.output));
896
938
  tty.output = [];
897
939
  } else {
898
- if (val != 0) tty.output.push(val);
940
+ if (val != 0)
941
+ tty.output.push(val);
899
942
  }
900
943
  }, fsync(tty) {
901
944
  if (tty.output?.length > 0) {
@@ -913,7 +956,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
913
956
  err(UTF8ArrayToString(tty.output));
914
957
  tty.output = [];
915
958
  } else {
916
- if (val != 0) tty.output.push(val);
959
+ if (val != 0)
960
+ tty.output.push(val);
917
961
  }
918
962
  }, fsync(tty) {
919
963
  if (tty.output?.length > 0) {
@@ -959,20 +1003,26 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
959
1003
  }
960
1004
  return node;
961
1005
  }, getFileDataAsTypedArray(node) {
962
- if (!node.contents) return new Uint8Array(0);
963
- if (node.contents.subarray) return node.contents.subarray(0, node.usedBytes);
1006
+ if (!node.contents)
1007
+ return new Uint8Array(0);
1008
+ if (node.contents.subarray)
1009
+ return node.contents.subarray(0, node.usedBytes);
964
1010
  return new Uint8Array(node.contents);
965
1011
  }, expandFileStorage(node, newCapacity) {
966
1012
  var prevCapacity = node.contents ? node.contents.length : 0;
967
- if (prevCapacity >= newCapacity) return;
1013
+ if (prevCapacity >= newCapacity)
1014
+ return;
968
1015
  var CAPACITY_DOUBLING_MAX = 1024 * 1024;
969
1016
  newCapacity = Math.max(newCapacity, prevCapacity * (prevCapacity < CAPACITY_DOUBLING_MAX ? 2 : 1.125) >>> 0);
970
- if (prevCapacity != 0) newCapacity = Math.max(newCapacity, 256);
1017
+ if (prevCapacity != 0)
1018
+ newCapacity = Math.max(newCapacity, 256);
971
1019
  var oldContents = node.contents;
972
1020
  node.contents = new Uint8Array(newCapacity);
973
- if (node.usedBytes > 0) node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
1021
+ if (node.usedBytes > 0)
1022
+ node.contents.set(oldContents.subarray(0, node.usedBytes), 0);
974
1023
  }, resizeFileStorage(node, newSize) {
975
- if (node.usedBytes == newSize) return;
1024
+ if (node.usedBytes == newSize)
1025
+ return;
976
1026
  if (newSize == 0) {
977
1027
  node.contents = null;
978
1028
  node.usedBytes = 0;
@@ -1062,13 +1112,15 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1062
1112
  return node.link;
1063
1113
  } }, stream_ops: { read(stream, buffer, offset, length, position) {
1064
1114
  var contents = stream.node.contents;
1065
- if (position >= stream.node.usedBytes) return 0;
1115
+ if (position >= stream.node.usedBytes)
1116
+ return 0;
1066
1117
  var size = Math.min(stream.node.usedBytes - position, length);
1067
1118
  assert(size >= 0);
1068
1119
  if (size > 8 && contents.subarray) {
1069
1120
  buffer.set(contents.subarray(position, position + size), offset);
1070
1121
  } else {
1071
- for (var i = 0; i < size; i++) buffer[offset + i] = contents[position + i];
1122
+ for (var i = 0; i < size; i++)
1123
+ buffer[offset + i] = contents[position + i];
1072
1124
  }
1073
1125
  return size;
1074
1126
  }, write(stream, buffer, offset, length, position, canOwn) {
@@ -1076,7 +1128,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1076
1128
  if (buffer.buffer === HEAP8.buffer) {
1077
1129
  canOwn = false;
1078
1130
  }
1079
- if (!length) return 0;
1131
+ if (!length)
1132
+ return 0;
1080
1133
  var node = stream.node;
1081
1134
  node.mtime = node.ctime = Date.now();
1082
1135
  if (buffer.subarray && (!node.contents || node.contents.subarray)) {
@@ -1159,10 +1212,12 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1159
1212
  };
1160
1213
  var preloadPlugins = Module["preloadPlugins"] || [];
1161
1214
  var FS_handledByPreloadPlugin = (byteArray, fullname, finish, onerror) => {
1162
- if (typeof Browser != "undefined") Browser.init();
1215
+ if (typeof Browser != "undefined")
1216
+ Browser.init();
1163
1217
  var handled = false;
1164
1218
  preloadPlugins.forEach((plugin) => {
1165
- if (handled) return;
1219
+ if (handled)
1220
+ return;
1166
1221
  if (plugin["canHandle"](fullname)) {
1167
1222
  plugin["handle"](byteArray, fullname, finish, onerror);
1168
1223
  handled = true;
@@ -1207,8 +1262,10 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1207
1262
  };
1208
1263
  var FS_getMode = (canRead, canWrite) => {
1209
1264
  var mode = 0;
1210
- if (canRead) mode |= 292 | 73;
1211
- if (canWrite) mode |= 146;
1265
+ if (canRead)
1266
+ mode |= 292 | 73;
1267
+ if (canWrite)
1268
+ mode |= 146;
1212
1269
  return mode;
1213
1270
  };
1214
1271
  var UTF8ToString = (ptr, maxBytesToRead) => {
@@ -1220,7 +1277,7 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1220
1277
  var FS = { root: null, mounts: [], devices: {}, streams: [], nextInode: 1, nameTable: null, currentPath: "/", initialized: false, ignorePermissions: true, filesystems: null, syncFSRequests: 0, readFiles: {}, ErrnoError: class extends Error {
1221
1278
  constructor(errno) {
1222
1279
  super(runtimeInitialized ? strError(errno) : "");
1223
- chunkFM7WUVZV_js.__publicField(this, "name", "ErrnoError");
1280
+ chunk4337NVKS_js.__publicField(this, "name", "ErrnoError");
1224
1281
  this.errno = errno;
1225
1282
  for (var key in ERRNO_CODES) {
1226
1283
  if (ERRNO_CODES[key] === errno) {
@@ -1231,7 +1288,7 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1231
1288
  }
1232
1289
  }, FSStream: class {
1233
1290
  constructor() {
1234
- chunkFM7WUVZV_js.__publicField(this, "shared", {});
1291
+ chunk4337NVKS_js.__publicField(this, "shared", {});
1235
1292
  }
1236
1293
  get object() {
1237
1294
  return this.node;
@@ -1262,11 +1319,11 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1262
1319
  }
1263
1320
  }, FSNode: class {
1264
1321
  constructor(parent, name, mode, rdev) {
1265
- chunkFM7WUVZV_js.__publicField(this, "node_ops", {});
1266
- chunkFM7WUVZV_js.__publicField(this, "stream_ops", {});
1267
- chunkFM7WUVZV_js.__publicField(this, "readMode", 292 | 73);
1268
- chunkFM7WUVZV_js.__publicField(this, "writeMode", 146);
1269
- chunkFM7WUVZV_js.__publicField(this, "mounted", null);
1322
+ chunk4337NVKS_js.__publicField(this, "node_ops", {});
1323
+ chunk4337NVKS_js.__publicField(this, "stream_ops", {});
1324
+ chunk4337NVKS_js.__publicField(this, "readMode", 292 | 73);
1325
+ chunk4337NVKS_js.__publicField(this, "writeMode", 146);
1326
+ chunk4337NVKS_js.__publicField(this, "mounted", null);
1270
1327
  if (!parent) {
1271
1328
  parent = this;
1272
1329
  }
@@ -1304,56 +1361,58 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1304
1361
  if (!PATH.isAbs(path)) {
1305
1362
  path = FS.cwd() + "/" + path;
1306
1363
  }
1307
- linkloop: for (var nlinks = 0; nlinks < 40; nlinks++) {
1308
- var parts = path.split("/").filter((p) => !!p);
1309
- var current = FS.root;
1310
- var current_path = "/";
1311
- for (var i = 0; i < parts.length; i++) {
1312
- var islast = i === parts.length - 1;
1313
- if (islast && opts.parent) {
1314
- break;
1315
- }
1316
- if (parts[i] === ".") {
1317
- continue;
1318
- }
1319
- if (parts[i] === "..") {
1320
- current_path = PATH.dirname(current_path);
1321
- current = current.parent;
1322
- continue;
1323
- }
1324
- current_path = PATH.join2(current_path, parts[i]);
1325
- try {
1326
- current = FS.lookupNode(current, parts[i]);
1327
- } catch (e) {
1328
- if (e?.errno === 44 && islast && opts.noent_okay) {
1329
- return { path: current_path };
1364
+ linkloop:
1365
+ for (var nlinks = 0; nlinks < 40; nlinks++) {
1366
+ var parts = path.split("/").filter((p) => !!p);
1367
+ var current = FS.root;
1368
+ var current_path = "/";
1369
+ for (var i = 0; i < parts.length; i++) {
1370
+ var islast = i === parts.length - 1;
1371
+ if (islast && opts.parent) {
1372
+ break;
1330
1373
  }
1331
- throw e;
1332
- }
1333
- if (FS.isMountpoint(current) && (!islast || opts.follow_mount)) {
1334
- current = current.mounted.root;
1335
- }
1336
- if (FS.isLink(current.mode) && (!islast || opts.follow)) {
1337
- if (!current.node_ops.readlink) {
1338
- throw new FS.ErrnoError(52);
1374
+ if (parts[i] === ".") {
1375
+ continue;
1376
+ }
1377
+ if (parts[i] === "..") {
1378
+ current_path = PATH.dirname(current_path);
1379
+ current = current.parent;
1380
+ continue;
1339
1381
  }
1340
- var link = current.node_ops.readlink(current);
1341
- if (!PATH.isAbs(link)) {
1342
- link = PATH.dirname(current_path) + "/" + link;
1382
+ current_path = PATH.join2(current_path, parts[i]);
1383
+ try {
1384
+ current = FS.lookupNode(current, parts[i]);
1385
+ } catch (e) {
1386
+ if (e?.errno === 44 && islast && opts.noent_okay) {
1387
+ return { path: current_path };
1388
+ }
1389
+ throw e;
1390
+ }
1391
+ if (FS.isMountpoint(current) && (!islast || opts.follow_mount)) {
1392
+ current = current.mounted.root;
1393
+ }
1394
+ if (FS.isLink(current.mode) && (!islast || opts.follow)) {
1395
+ if (!current.node_ops.readlink) {
1396
+ throw new FS.ErrnoError(52);
1397
+ }
1398
+ var link = current.node_ops.readlink(current);
1399
+ if (!PATH.isAbs(link)) {
1400
+ link = PATH.dirname(current_path) + "/" + link;
1401
+ }
1402
+ path = link + "/" + parts.slice(i + 1).join("/");
1403
+ continue linkloop;
1343
1404
  }
1344
- path = link + "/" + parts.slice(i + 1).join("/");
1345
- continue linkloop;
1346
1405
  }
1406
+ return { path: current_path, node: current };
1347
1407
  }
1348
- return { path: current_path, node: current };
1349
- }
1350
1408
  throw new FS.ErrnoError(32);
1351
1409
  }, getPath(node) {
1352
1410
  var path;
1353
1411
  while (true) {
1354
1412
  if (FS.isRoot(node)) {
1355
1413
  var mount = node.mount.mountpoint;
1356
- if (!path) return mount;
1414
+ if (!path)
1415
+ return mount;
1357
1416
  return mount[mount.length - 1] !== "/" ? `${mount}/${path}` : mount + path;
1358
1417
  }
1359
1418
  path = path ? `${node.name}/${path}` : node.name;
@@ -1440,10 +1499,13 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1440
1499
  }
1441
1500
  return 0;
1442
1501
  }, mayLookup(dir) {
1443
- if (!FS.isDir(dir.mode)) return 54;
1502
+ if (!FS.isDir(dir.mode))
1503
+ return 54;
1444
1504
  var errCode = FS.nodePermissions(dir, "x");
1445
- if (errCode) return errCode;
1446
- if (!dir.node_ops.lookup) return 2;
1505
+ if (errCode)
1506
+ return errCode;
1507
+ if (!dir.node_ops.lookup)
1508
+ return 2;
1447
1509
  return 0;
1448
1510
  }, mayCreate(dir, name) {
1449
1511
  if (!FS.isDir(dir.mode)) {
@@ -1678,12 +1740,14 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1678
1740
  var dirs = path.split("/");
1679
1741
  var d = "";
1680
1742
  for (var dir of dirs) {
1681
- if (!dir) continue;
1743
+ if (!dir)
1744
+ continue;
1682
1745
  d += "/" + dir;
1683
1746
  try {
1684
1747
  FS.mkdir(d, mode);
1685
1748
  } catch (e) {
1686
- if (e.errno != 20) throw e;
1749
+ if (e.errno != 20)
1750
+ throw e;
1687
1751
  }
1688
1752
  }
1689
1753
  }, mkdev(path, mode, dev) {
@@ -1721,7 +1785,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1721
1785
  old_dir = lookup.node;
1722
1786
  lookup = FS.lookupPath(new_path, { parent: true });
1723
1787
  new_dir = lookup.node;
1724
- if (!old_dir || !new_dir) throw new FS.ErrnoError(44);
1788
+ if (!old_dir || !new_dir)
1789
+ throw new FS.ErrnoError(44);
1725
1790
  if (old_dir.mount !== new_dir.mount) {
1726
1791
  throw new FS.ErrnoError(75);
1727
1792
  }
@@ -1975,7 +2040,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
1975
2040
  if (FS.isClosed(stream)) {
1976
2041
  throw new FS.ErrnoError(8);
1977
2042
  }
1978
- if (stream.getdents) stream.getdents = null;
2043
+ if (stream.getdents)
2044
+ stream.getdents = null;
1979
2045
  try {
1980
2046
  if (stream.stream_ops.close) {
1981
2047
  stream.stream_ops.close(stream);
@@ -2025,7 +2091,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2025
2091
  throw new FS.ErrnoError(70);
2026
2092
  }
2027
2093
  var bytesRead = stream.stream_ops.read(stream, buffer, offset, length, position);
2028
- if (!seeking) stream.position += bytesRead;
2094
+ if (!seeking)
2095
+ stream.position += bytesRead;
2029
2096
  return bytesRead;
2030
2097
  }, write(stream, buffer, offset, length, position, canOwn) {
2031
2098
  assert(offset >= 0);
@@ -2054,7 +2121,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2054
2121
  throw new FS.ErrnoError(70);
2055
2122
  }
2056
2123
  var bytesWritten = stream.stream_ops.write(stream, buffer, offset, length, position, canOwn);
2057
- if (!seeking) stream.position += bytesWritten;
2124
+ if (!seeking)
2125
+ stream.position += bytesWritten;
2058
2126
  return bytesWritten;
2059
2127
  }, mmap(stream, length, position, prot, flags) {
2060
2128
  if ((prot & 2) !== 0 && (flags & 2) === 0 && (stream.flags & 2097155) !== 2) {
@@ -2246,12 +2314,14 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2246
2314
  var parts = path.split("/").reverse();
2247
2315
  while (parts.length) {
2248
2316
  var part = parts.pop();
2249
- if (!part) continue;
2317
+ if (!part)
2318
+ continue;
2250
2319
  var current = PATH.join2(parent, part);
2251
2320
  try {
2252
2321
  FS.mkdir(current);
2253
2322
  } catch (e) {
2254
- if (e.errno != 20) throw e;
2323
+ if (e.errno != 20)
2324
+ throw e;
2255
2325
  }
2256
2326
  parent = current;
2257
2327
  }
@@ -2271,7 +2341,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2271
2341
  if (data) {
2272
2342
  if (typeof data == "string") {
2273
2343
  var arr = new Array(data.length);
2274
- for (var i = 0, len = data.length; i < len; ++i) arr[i] = data.charCodeAt(i);
2344
+ for (var i = 0, len = data.length; i < len; ++i)
2345
+ arr[i] = data.charCodeAt(i);
2275
2346
  data = arr;
2276
2347
  }
2277
2348
  FS.chmod(node, mode | 146);
@@ -2304,7 +2375,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2304
2375
  if (result === void 0 && bytesRead === 0) {
2305
2376
  throw new FS.ErrnoError(6);
2306
2377
  }
2307
- if (result === null || result === void 0) break;
2378
+ if (result === null || result === void 0)
2379
+ break;
2308
2380
  bytesRead++;
2309
2381
  buffer[offset + i] = result;
2310
2382
  }
@@ -2327,7 +2399,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2327
2399
  } });
2328
2400
  return FS.mkdev(path, mode, dev);
2329
2401
  }, forceLoadFile(obj) {
2330
- if (obj.isDevice || obj.isFolder || obj.link || obj.contents) return true;
2402
+ if (obj.isDevice || obj.isFolder || obj.link || obj.contents)
2403
+ return true;
2331
2404
  if (typeof XMLHttpRequest != "undefined") {
2332
2405
  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.");
2333
2406
  } else {
@@ -2341,8 +2414,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2341
2414
  }, createLazyFile(parent, name, url, canRead, canWrite) {
2342
2415
  class LazyUint8Array {
2343
2416
  constructor() {
2344
- chunkFM7WUVZV_js.__publicField(this, "lengthKnown", false);
2345
- chunkFM7WUVZV_js.__publicField(this, "chunks", []);
2417
+ chunk4337NVKS_js.__publicField(this, "lengthKnown", false);
2418
+ chunk4337NVKS_js.__publicField(this, "chunks", []);
2346
2419
  }
2347
2420
  get(idx) {
2348
2421
  if (idx > this.length - 1 || idx < 0) {
@@ -2359,25 +2432,31 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2359
2432
  var xhr = new XMLHttpRequest();
2360
2433
  xhr.open("HEAD", url, false);
2361
2434
  xhr.send(null);
2362
- if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
2435
+ if (!(xhr.status >= 200 && xhr.status < 300 || xhr.status === 304))
2436
+ throw new Error("Couldn't load " + url + ". Status: " + xhr.status);
2363
2437
  var datalength = Number(xhr.getResponseHeader("Content-length"));
2364
2438
  var header;
2365
2439
  var hasByteServing = (header = xhr.getResponseHeader("Accept-Ranges")) && header === "bytes";
2366
2440
  var usesGzip = (header = xhr.getResponseHeader("Content-Encoding")) && header === "gzip";
2367
2441
  var chunkSize = 1024 * 1024;
2368
- if (!hasByteServing) chunkSize = datalength;
2442
+ if (!hasByteServing)
2443
+ chunkSize = datalength;
2369
2444
  var doXHR = (from, to) => {
2370
- if (from > to) throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
2371
- if (to > datalength - 1) throw new Error("only " + datalength + " bytes available! programmer error!");
2445
+ if (from > to)
2446
+ throw new Error("invalid range (" + from + ", " + to + ") or no bytes requested!");
2447
+ if (to > datalength - 1)
2448
+ throw new Error("only " + datalength + " bytes available! programmer error!");
2372
2449
  var xhr2 = new XMLHttpRequest();
2373
2450
  xhr2.open("GET", url, false);
2374
- if (datalength !== chunkSize) xhr2.setRequestHeader("Range", "bytes=" + from + "-" + to);
2451
+ if (datalength !== chunkSize)
2452
+ xhr2.setRequestHeader("Range", "bytes=" + from + "-" + to);
2375
2453
  xhr2.responseType = "arraybuffer";
2376
2454
  if (xhr2.overrideMimeType) {
2377
2455
  xhr2.overrideMimeType("text/plain; charset=x-user-defined");
2378
2456
  }
2379
2457
  xhr2.send(null);
2380
- if (!(xhr2.status >= 200 && xhr2.status < 300 || xhr2.status === 304)) throw new Error("Couldn't load " + url + ". Status: " + xhr2.status);
2458
+ if (!(xhr2.status >= 200 && xhr2.status < 300 || xhr2.status === 304))
2459
+ throw new Error("Couldn't load " + url + ". Status: " + xhr2.status);
2381
2460
  if (xhr2.response !== void 0) {
2382
2461
  return new Uint8Array(xhr2.response || []);
2383
2462
  }
@@ -2391,7 +2470,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2391
2470
  if (typeof lazyArray2.chunks[chunkNum] == "undefined") {
2392
2471
  lazyArray2.chunks[chunkNum] = doXHR(start, end);
2393
2472
  }
2394
- if (typeof lazyArray2.chunks[chunkNum] == "undefined") throw new Error("doXHR failed!");
2473
+ if (typeof lazyArray2.chunks[chunkNum] == "undefined")
2474
+ throw new Error("doXHR failed!");
2395
2475
  return lazyArray2.chunks[chunkNum];
2396
2476
  });
2397
2477
  if (usesGzip || !datalength) {
@@ -2418,7 +2498,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2418
2498
  }
2419
2499
  }
2420
2500
  if (typeof XMLHttpRequest != "undefined") {
2421
- if (!ENVIRONMENT_IS_WORKER) throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";
2501
+ if (!ENVIRONMENT_IS_WORKER)
2502
+ throw "Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";
2422
2503
  var lazyArray = new LazyUint8Array();
2423
2504
  var properties = { isDevice: false, contents: lazyArray };
2424
2505
  } else {
@@ -2445,7 +2526,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2445
2526
  });
2446
2527
  function writeChunks(stream, buffer, offset, length, position) {
2447
2528
  var contents = stream.node.contents;
2448
- if (position >= contents.length) return 0;
2529
+ if (position >= contents.length)
2530
+ return 0;
2449
2531
  var size = Math.min(contents.length - position, length);
2450
2532
  assert(size >= 0);
2451
2533
  if (contents.slice) {
@@ -2592,7 +2674,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2592
2674
  }
2593
2675
  return -28;
2594
2676
  } catch (e) {
2595
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
2677
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
2678
+ throw e;
2596
2679
  return -e.errno;
2597
2680
  }
2598
2681
  }
@@ -2602,11 +2685,13 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2602
2685
  var stream = SYSCALLS.getStreamFromFD(fd);
2603
2686
  switch (op) {
2604
2687
  case 21509: {
2605
- if (!stream.tty) return -59;
2688
+ if (!stream.tty)
2689
+ return -59;
2606
2690
  return 0;
2607
2691
  }
2608
2692
  case 21505: {
2609
- if (!stream.tty) return -59;
2693
+ if (!stream.tty)
2694
+ return -59;
2610
2695
  if (stream.tty.ops.ioctl_tcgets) {
2611
2696
  var termios = stream.tty.ops.ioctl_tcgets(stream);
2612
2697
  var argp = syscallGetVarargP();
@@ -2624,13 +2709,15 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2624
2709
  case 21510:
2625
2710
  case 21511:
2626
2711
  case 21512: {
2627
- if (!stream.tty) return -59;
2712
+ if (!stream.tty)
2713
+ return -59;
2628
2714
  return 0;
2629
2715
  }
2630
2716
  case 21506:
2631
2717
  case 21507:
2632
2718
  case 21508: {
2633
- if (!stream.tty) return -59;
2719
+ if (!stream.tty)
2720
+ return -59;
2634
2721
  if (stream.tty.ops.ioctl_tcsets) {
2635
2722
  var argp = syscallGetVarargP();
2636
2723
  var c_iflag = SAFE_HEAP_LOAD((argp >> 2) * 4, 4, 0);
@@ -2646,13 +2733,15 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2646
2733
  return 0;
2647
2734
  }
2648
2735
  case 21519: {
2649
- if (!stream.tty) return -59;
2736
+ if (!stream.tty)
2737
+ return -59;
2650
2738
  var argp = syscallGetVarargP();
2651
2739
  SAFE_HEAP_STORE((argp >> 2) * 4, 0, 4);
2652
2740
  return 0;
2653
2741
  }
2654
2742
  case 21520: {
2655
- if (!stream.tty) return -59;
2743
+ if (!stream.tty)
2744
+ return -59;
2656
2745
  return -28;
2657
2746
  }
2658
2747
  case 21531: {
@@ -2660,7 +2749,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2660
2749
  return FS.ioctl(stream, op, argp);
2661
2750
  }
2662
2751
  case 21523: {
2663
- if (!stream.tty) return -59;
2752
+ if (!stream.tty)
2753
+ return -59;
2664
2754
  if (stream.tty.ops.ioctl_tiocgwinsz) {
2665
2755
  var winsize = stream.tty.ops.ioctl_tiocgwinsz(stream.tty);
2666
2756
  var argp = syscallGetVarargP();
@@ -2670,18 +2760,21 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2670
2760
  return 0;
2671
2761
  }
2672
2762
  case 21524: {
2673
- if (!stream.tty) return -59;
2763
+ if (!stream.tty)
2764
+ return -59;
2674
2765
  return 0;
2675
2766
  }
2676
2767
  case 21515: {
2677
- if (!stream.tty) return -59;
2768
+ if (!stream.tty)
2769
+ return -59;
2678
2770
  return 0;
2679
2771
  }
2680
2772
  default:
2681
2773
  return -28;
2682
2774
  }
2683
2775
  } catch (e) {
2684
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
2776
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
2777
+ throw e;
2685
2778
  return -e.errno;
2686
2779
  }
2687
2780
  }
@@ -2693,7 +2786,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2693
2786
  var mode = varargs ? syscallGetVarargI() : 0;
2694
2787
  return FS.open(path, flags, mode).fd;
2695
2788
  } catch (e) {
2696
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
2789
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
2790
+ throw e;
2697
2791
  return -e.errno;
2698
2792
  }
2699
2793
  }
@@ -2738,8 +2832,10 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2738
2832
  var lang = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8";
2739
2833
  var env = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: lang, _: getExecutableName() };
2740
2834
  for (var x in ENV) {
2741
- if (ENV[x] === void 0) delete env[x];
2742
- else env[x] = ENV[x];
2835
+ if (ENV[x] === void 0)
2836
+ delete env[x];
2837
+ else
2838
+ env[x] = ENV[x];
2743
2839
  }
2744
2840
  var strings = [];
2745
2841
  for (var x in env) {
@@ -2780,7 +2876,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2780
2876
  FS.close(stream);
2781
2877
  return 0;
2782
2878
  } catch (e) {
2783
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
2879
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
2880
+ throw e;
2784
2881
  return e.errno;
2785
2882
  }
2786
2883
  }
@@ -2791,9 +2888,11 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2791
2888
  var len = SAFE_HEAP_LOAD((iov + 4 >> 2) * 4, 4, 1);
2792
2889
  iov += 8;
2793
2890
  var curr = FS.read(stream, HEAP8, ptr, len, offset);
2794
- if (curr < 0) return -1;
2891
+ if (curr < 0)
2892
+ return -1;
2795
2893
  ret += curr;
2796
- if (curr < len) break;
2894
+ if (curr < len)
2895
+ break;
2797
2896
  }
2798
2897
  return ret;
2799
2898
  };
@@ -2804,7 +2903,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2804
2903
  SAFE_HEAP_STORE((pnum >> 2) * 4, num, 4);
2805
2904
  return 0;
2806
2905
  } catch (e) {
2807
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
2906
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
2907
+ throw e;
2808
2908
  return e.errno;
2809
2909
  }
2810
2910
  }
@@ -2814,14 +2914,17 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2814
2914
  function _fd_seek(fd, offset, whence, newOffset) {
2815
2915
  offset = bigintToI53Checked(offset);
2816
2916
  try {
2817
- if (isNaN(offset)) return 61;
2917
+ if (isNaN(offset))
2918
+ return 61;
2818
2919
  var stream = SYSCALLS.getStreamFromFD(fd);
2819
2920
  FS.llseek(stream, offset, whence);
2820
2921
  HEAP64[newOffset >> 3] = BigInt(stream.position);
2821
- if (stream.getdents && offset === 0 && whence === 0) stream.getdents = null;
2922
+ if (stream.getdents && offset === 0 && whence === 0)
2923
+ stream.getdents = null;
2822
2924
  return 0;
2823
2925
  } catch (e) {
2824
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
2926
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
2927
+ throw e;
2825
2928
  return e.errno;
2826
2929
  }
2827
2930
  }
@@ -2832,7 +2935,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2832
2935
  var len = SAFE_HEAP_LOAD((iov + 4 >> 2) * 4, 4, 1);
2833
2936
  iov += 8;
2834
2937
  var curr = FS.write(stream, HEAP8, ptr, len, offset);
2835
- if (curr < 0) return -1;
2938
+ if (curr < 0)
2939
+ return -1;
2836
2940
  ret += curr;
2837
2941
  if (curr < len) {
2838
2942
  break;
@@ -2847,7 +2951,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2847
2951
  SAFE_HEAP_STORE((pnum >> 2) * 4, num, 4);
2848
2952
  return 0;
2849
2953
  } catch (e) {
2850
- if (typeof FS == "undefined" || !(e.name === "ErrnoError")) throw e;
2954
+ if (typeof FS == "undefined" || !(e.name === "ErrnoError"))
2955
+ throw e;
2851
2956
  return e.errno;
2852
2957
  }
2853
2958
  }
@@ -2887,7 +2992,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2887
2992
  if (returnType === "string") {
2888
2993
  return UTF8ToString(ret2);
2889
2994
  }
2890
- if (returnType === "boolean") return Boolean(ret2);
2995
+ if (returnType === "boolean")
2996
+ return Boolean(ret2);
2891
2997
  return ret2;
2892
2998
  }
2893
2999
  var func = getCFunc(ident);
@@ -2898,7 +3004,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2898
3004
  for (var i = 0; i < args.length; i++) {
2899
3005
  var converter = toC[argTypes[i]];
2900
3006
  if (converter) {
2901
- if (stack === 0) stack = stackSave();
3007
+ if (stack === 0)
3008
+ stack = stackSave();
2902
3009
  cArgs[i] = converter(args[i]);
2903
3010
  } else {
2904
3011
  cArgs[i] = args[i];
@@ -2907,7 +3014,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2907
3014
  }
2908
3015
  var ret = func(...cArgs);
2909
3016
  function onDone(ret2) {
2910
- if (stack !== 0) stackRestore(stack);
3017
+ if (stack !== 0)
3018
+ stackRestore(stack);
2911
3019
  return convertReturnValue(ret2);
2912
3020
  }
2913
3021
  ret = onDone(ret);
@@ -2996,7 +3104,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
2996
3104
  assert(!calledRun);
2997
3105
  calledRun = true;
2998
3106
  Module["calledRun"] = true;
2999
- if (ABORT) return;
3107
+ if (ABORT)
3108
+ return;
3000
3109
  initRuntime();
3001
3110
  readyPromiseResolve(Module);
3002
3111
  Module["onRuntimeInitialized"]?.();
@@ -3016,7 +3125,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
3016
3125
  checkStackCookie();
3017
3126
  }
3018
3127
  if (Module["preInit"]) {
3019
- if (typeof Module["preInit"] == "function") Module["preInit"] = [Module["preInit"]];
3128
+ if (typeof Module["preInit"] == "function")
3129
+ Module["preInit"] = [Module["preInit"]];
3020
3130
  while (Module["preInit"].length > 0) {
3021
3131
  Module["preInit"].pop()();
3022
3132
  }
@@ -3037,7 +3147,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
3037
3147
  (() => {
3038
3148
  var real_SwissEphemerisModule = SwissEphemerisModule;
3039
3149
  SwissEphemerisModule = function(arg) {
3040
- if (new.target) throw new Error("SwissEphemerisModule() should not be called with `new SwissEphemerisModule()`");
3150
+ if (new.target)
3151
+ throw new Error("SwissEphemerisModule() should not be called with `new SwissEphemerisModule()`");
3041
3152
  return real_SwissEphemerisModule(arg);
3042
3153
  };
3043
3154
  })();
@@ -3048,8 +3159,8 @@ var require_swisseph_web = chunkFM7WUVZV_js.__commonJS({
3048
3159
  define([], () => SwissEphemerisModule);
3049
3160
  }
3050
3161
  });
3051
- var swisseph_webMXYBWOOS = require_swisseph_web();
3162
+ var swisseph_webGPTWPXKT = require_swisseph_web();
3052
3163
 
3053
- module.exports = swisseph_webMXYBWOOS;
3054
- //# sourceMappingURL=swisseph.web-MXYBWOOS.js.map
3055
- //# sourceMappingURL=swisseph.web-MXYBWOOS.js.map
3164
+ module.exports = swisseph_webGPTWPXKT;
3165
+ //# sourceMappingURL=out.js.map
3166
+ //# sourceMappingURL=swisseph.web-GPTWPXKT.js.map