text: ["^ ","~:resource-id",["~:shadow.build.npm/resource","node_modules/diffie-hellman/browser.js"],"~:js","shadow$provide.module$node_modules$diffie_hellman$browser=function(global,require,module,exports){function createDiffieHellman(prime,enc,generator,genc){if(Buffer.isBuffer(enc)||void 0===ENCODINGS[enc])return createDiffieHellman(prime,\"binary\",enc,generator);enc=enc||\"binary\";genc=genc||\"binary\";generator=generator||new Buffer([2]);Buffer.isBuffer(generator)||(generator=new Buffer(generator,genc));if(\"number\"===typeof prime)return new DH(generatePrime(prime,generator),generator,!0);Buffer.isBuffer(prime)||\n(prime=new Buffer(prime,enc));return new DH(prime,generator,!0)}var Buffer=require(\"module$node_modules$buffer$index\").Buffer,generatePrime=require(\"module$node_modules$diffie_hellman$lib$generatePrime\"),primes=require(\"module$node_modules$diffie_hellman$lib$primes_json\"),DH=require(\"module$node_modules$diffie_hellman$lib$dh\"),ENCODINGS={binary:!0,hex:!0,base64:!0};exports.DiffieHellmanGroup=exports.createDiffieHellmanGroup=exports.getDiffieHellman=function(mod){var prime=new Buffer(primes[mod].prime,\n\"hex\");mod=new Buffer(primes[mod].gen,\"hex\");return new DH(prime,mod)};exports.createDiffieHellman=exports.DiffieHellman=createDiffieHellman}","~:source","shadow$provide[\"module$node_modules$diffie_hellman$browser\"] = function(global,require,module,exports) {\nvar Buffer = require('buffer').Buffer;\nvar generatePrime = require('./lib/generatePrime')\nvar primes = require('./lib/primes.json')\n\nvar DH = require('./lib/dh')\n\nfunction getDiffieHellman (mod) {\n  var prime = new Buffer(primes[mod].prime, 'hex')\n  var gen = new Buffer(primes[mod].gen, 'hex')\n\n  return new DH(prime, gen)\n}\n\nvar ENCODINGS = {\n  'binary': true, 'hex': true, 'base64': true\n}\n\nfunction createDiffieHellman (prime, enc, generator, genc) {\n  if (Buffer.isBuffer(enc) || ENCODINGS[enc] === undefined) {\n    return createDiffieHellman(prime, 'binary', enc, generator)\n  }\n\n  enc = enc || 'binary'\n  genc = genc || 'binary'\n  generator = generator || new Buffer([2])\n\n  if (!Buffer.isBuffer(generator)) {\n    generator = new Buffer(generator, genc)\n  }\n\n  if (typeof prime === 'number') {\n    return new DH(generatePrime(prime, generator), generator, true)\n  }\n\n  if (!Buffer.isBuffer(prime)) {\n    prime = new Buffer(prime, enc)\n  }\n\n  return new DH(prime, generator, true)\n}\n\nexports.DiffieHellmanGroup = exports.createDiffieHellmanGroup = exports.getDiffieHellman = getDiffieHellman\nexports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman\n\n};","~:removed-requires",["~#set",[]],"~:actual-requires",["^5",["~$module$node_modules$diffie_hellman$lib$dh","~$shadow.js","~$module$node_modules$diffie_hellman$lib$primes_json","~$module$node_modules$buffer$index","~$module$node_modules$diffie_hellman$lib$generatePrime"]],"~:properties",["^5",["getDiffieHellman","createDiffieHellman","DiffieHellman","DiffieHellmanGroup","createDiffieHellmanGroup"]],"~:compiled-at",1644840879955,"~:source-map-json","{\n\"version\":3,\n\"file\":\"module$node_modules$diffie_hellman$browser.js\",\n\"lineCount\":3,\n\"mappings\":\"AAAAA,cAAA,CAAA,0CAAA,CAA+D,QAAQ,CAACC,MAAD,CAAQC,OAAR,CAAgBC,MAAhB,CAAuBC,OAAvB,CAAgC,CAkBvGC,QAASA,oBAAoB,CAACC,KAAD,CAAQC,GAAR,CAAaC,SAAb,CAAwBC,IAAxB,CAA8B,CACzD,GAAIC,MAAOC,CAAAA,QAAP,CAAgBJ,GAAhB,CAAJ,EAA+CK,IAAAA,EAA/C,GAA4BC,SAAA,CAAUN,GAAV,CAA5B,CACE,MAAOF,oBAAA,CAAoBC,KAApB,CAA2B,QAA3B,CAAqCC,GAArC,CAA0CC,SAA1C,CAGTD,IAAA,CAAMA,GAAN,EAAa,QACbE,KAAA,CAAOA,IAAP,EAAe,QACfD,UAAA,CAAYA,SAAZ,EAAyB,IAAIE,MAAJ,CAAW,CAAC,CAAD,CAAX,CAEpBA,OAAOC,CAAAA,QAAP,CAAgBH,SAAhB,CAAL,GACEA,SADF,CACc,IAAIE,MAAJ,CAAWF,SAAX,CAAsBC,IAAtB,CADd,CAIA,IAAqB,QAArB,GAAI,MAAOH,MAAX,CACE,MAAO,KAAIQ,EAAJ,CAAOC,aAAA,CAAcT,KAAd,CAAqBE,SAArB,CAAP,CAAwCA,SAAxC,CAAmD,CAAA,CAAnD,CAGJE,OAAOC,CAAAA,QAAP,CAAgBL,KAAhB,CAAL;CACEA,KADF,CACU,IAAII,MAAJ,CAAWJ,KAAX,CAAkBC,GAAlB,CADV,CAIA,OAAO,KAAIO,EAAJ,CAAOR,KAAP,CAAcE,SAAd,CAAyB,CAAA,CAAzB,CArBkD,CAjB3D,IAAIE,OAASR,OAAA,CAAQ,kCAAR,CAAkBQ,CAAAA,MAA/B,CACIK,cAAgBb,OAAA,CAAQ,sDAAR,CADpB,CAEIc,OAASd,OAAA,CAAQ,oDAAR,CAFb,CAIIY,GAAKZ,OAAA,CAAQ,2CAAR,CAJT,CAaIW,UAAY,CACd,OAAU,CAAA,CADI,CACE,IAAO,CAAA,CADT,CACe,OAAU,CAAA,CADzB,CA4BhBT,QAAQa,CAAAA,kBAAR,CAA6Bb,OAAQc,CAAAA,wBAArC,CAAgEd,OAAQe,CAAAA,gBAAxE,CAnCAA,QAA0B,CAACC,GAAD,CAAM,CAC9B,IAAId,MAAQ,IAAII,MAAJ,CAAWM,MAAA,CAAOI,GAAP,CAAYd,CAAAA,KAAvB;AAA8B,KAA9B,CACRe,IAAAA,CAAM,IAAIX,MAAJ,CAAWM,MAAA,CAAOI,GAAP,CAAYC,CAAAA,GAAvB,CAA4B,KAA5B,CAEV,OAAO,KAAIP,EAAJ,CAAOR,KAAP,CAAce,GAAd,CAJuB,CAoChCjB,QAAQC,CAAAA,mBAAR,CAA8BD,OAAQkB,CAAAA,aAAtC,CAAsDjB,mBA3CiD;\",\n\"sources\":[\"node_modules/diffie-hellman/browser.js\"],\n\"sourcesContent\":[\"shadow$provide[\\\"module$node_modules$diffie_hellman$browser\\\"] = function(global,require,module,exports) {\\nvar Buffer = require('buffer').Buffer;\\nvar generatePrime = require('./lib/generatePrime')\\nvar primes = require('./lib/primes.json')\\n\\nvar DH = require('./lib/dh')\\n\\nfunction getDiffieHellman (mod) {\\n  var prime = new Buffer(primes[mod].prime, 'hex')\\n  var gen = new Buffer(primes[mod].gen, 'hex')\\n\\n  return new DH(prime, gen)\\n}\\n\\nvar ENCODINGS = {\\n  'binary': true, 'hex': true, 'base64': true\\n}\\n\\nfunction createDiffieHellman (prime, enc, generator, genc) {\\n  if (Buffer.isBuffer(enc) || ENCODINGS[enc] === undefined) {\\n    return createDiffieHellman(prime, 'binary', enc, generator)\\n  }\\n\\n  enc = enc || 'binary'\\n  genc = genc || 'binary'\\n  generator = generator || new Buffer([2])\\n\\n  if (!Buffer.isBuffer(generator)) {\\n    generator = new Buffer(generator, genc)\\n  }\\n\\n  if (typeof prime === 'number') {\\n    return new DH(generatePrime(prime, generator), generator, true)\\n  }\\n\\n  if (!Buffer.isBuffer(prime)) {\\n    prime = new Buffer(prime, enc)\\n  }\\n\\n  return new DH(prime, generator, true)\\n}\\n\\nexports.DiffieHellmanGroup = exports.createDiffieHellmanGroup = exports.getDiffieHellman = getDiffieHellman\\nexports.createDiffieHellman = exports.DiffieHellman = createDiffieHellman\\n\\n};\"],\n\"names\":[\"shadow$provide\",\"global\",\"require\",\"module\",\"exports\",\"createDiffieHellman\",\"prime\",\"enc\",\"generator\",\"genc\",\"Buffer\",\"isBuffer\",\"undefined\",\"ENCODINGS\",\"DH\",\"generatePrime\",\"primes\",\"DiffieHellmanGroup\",\"createDiffieHellmanGroup\",\"getDiffieHellman\",\"mod\",\"gen\",\"DiffieHellman\"]\n}\n"]