$entry.mjs raw

   1  // MoxieJS Entry Point
   2  // Generated by Moxie JavaScript backend
   3  // Build: 1776224619878184720
   4  
   5  import * as $rt from './$runtime/index.mjs';
   6  import * as smesh$lol$web$common$crypto$chacha20 from './smesh_lol_web_common_crypto_chacha20.mjs';
   7  import * as smesh$lol$web$common$jsbridge$schnorr from './smesh_lol_web_common_jsbridge_schnorr.mjs';
   8  import * as smesh$lol$web$common$crypto$hmac from './smesh_lol_web_common_crypto_hmac.mjs';
   9  import * as smesh$lol$web$common$crypto$hkdf from './smesh_lol_web_common_crypto_hkdf.mjs';
  10  import * as smesh$lol$web$common$helpers from './smesh_lol_web_common_helpers.mjs';
  11  import * as smesh$lol$web$common$crypto$nip44 from './smesh_lol_web_common_crypto_nip44.mjs';
  12  import * as smesh$lol$web$common$jsbridge$ext from './smesh_lol_web_common_jsbridge_ext.mjs';
  13  import * as smesh$lol$web$common$jsbridge$subtle from './smesh_lol_web_common_jsbridge_subtle.mjs';
  14  import * as smesh$lol$web$common$nostr from './smesh_lol_web_common_nostr.mjs';
  15  import * as $main from './__web_signer_bg_.mjs';
  16  
  17  async function $start() {
  18    if ($rt.crypto && $rt.crypto.init) await $rt.crypto.init();
  19    if (smesh$lol$web$common$crypto$chacha20.init) await smesh$lol$web$common$crypto$chacha20.init();
  20    if (smesh$lol$web$common$jsbridge$schnorr.init) await smesh$lol$web$common$jsbridge$schnorr.init();
  21    if (smesh$lol$web$common$crypto$hmac.init) await smesh$lol$web$common$crypto$hmac.init();
  22    if (smesh$lol$web$common$crypto$hkdf.init) await smesh$lol$web$common$crypto$hkdf.init();
  23    if (smesh$lol$web$common$helpers.init) await smesh$lol$web$common$helpers.init();
  24    if (smesh$lol$web$common$crypto$nip44.init) await smesh$lol$web$common$crypto$nip44.init();
  25    if (smesh$lol$web$common$jsbridge$ext.init) await smesh$lol$web$common$jsbridge$ext.init();
  26    if (smesh$lol$web$common$jsbridge$subtle.init) await smesh$lol$web$common$jsbridge$subtle.init();
  27    if (smesh$lol$web$common$nostr.init) await smesh$lol$web$common$nostr.init();
  28    if ($main.init) await $main.init();
  29    if ($main.main) await $main.main();
  30  }
  31  
  32  $rt.goroutine.runMain($start);
  33