@easyv/biz-components 0.0.12 → 0.0.13
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.
- package/dist/_virtual/___vite-browser-external.es.js +7 -0
- package/dist/_virtual/___vite-browser-external.es.js.map +1 -0
- package/dist/_virtual/__vite-browser-external.es.js +5 -0
- package/dist/_virtual/__vite-browser-external.es.js.map +1 -0
- package/dist/_virtual/_commonjs-dynamic-modules.es.js +7 -0
- package/dist/_virtual/_commonjs-dynamic-modules.es.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.es.js +24 -4
- package/dist/_virtual/_commonjsHelpers.es.js.map +1 -1
- package/dist/_virtual/aes.es.js +5 -0
- package/dist/_virtual/aes.es.js.map +1 -0
- package/dist/_virtual/blowfish.es.js +5 -0
- package/dist/_virtual/blowfish.es.js.map +1 -0
- package/dist/_virtual/cipher-core.es.js +5 -0
- package/dist/_virtual/cipher-core.es.js.map +1 -0
- package/dist/_virtual/core.es.js +5 -0
- package/dist/_virtual/core.es.js.map +1 -0
- package/dist/_virtual/enc-base64.es.js +5 -0
- package/dist/_virtual/enc-base64.es.js.map +1 -0
- package/dist/_virtual/enc-base64url.es.js +5 -0
- package/dist/_virtual/enc-base64url.es.js.map +1 -0
- package/dist/_virtual/enc-utf16.es.js +5 -0
- package/dist/_virtual/enc-utf16.es.js.map +1 -0
- package/dist/_virtual/evpkdf.es.js +5 -0
- package/dist/_virtual/evpkdf.es.js.map +1 -0
- package/dist/_virtual/format-hex.es.js +5 -0
- package/dist/_virtual/format-hex.es.js.map +1 -0
- package/dist/_virtual/hmac.es.js +5 -0
- package/dist/_virtual/hmac.es.js.map +1 -0
- package/dist/_virtual/index.es2.js +2 -2
- package/dist/_virtual/index.es3.js +2 -2
- package/dist/_virtual/index.es4.js +2 -2
- package/dist/_virtual/index.es5.js +2 -2
- package/dist/_virtual/index.es6.js +5 -0
- package/dist/_virtual/index.es6.js.map +1 -0
- package/dist/_virtual/index.es7.js +5 -0
- package/dist/_virtual/index.es7.js.map +1 -0
- package/dist/_virtual/lib-typedarrays.es.js +5 -0
- package/dist/_virtual/lib-typedarrays.es.js.map +1 -0
- package/dist/_virtual/md5.es.js +5 -0
- package/dist/_virtual/md5.es.js.map +1 -0
- package/dist/_virtual/mode-cfb.es.js +5 -0
- package/dist/_virtual/mode-cfb.es.js.map +1 -0
- package/dist/_virtual/mode-ctr-gladman.es.js +5 -0
- package/dist/_virtual/mode-ctr-gladman.es.js.map +1 -0
- package/dist/_virtual/mode-ctr.es.js +5 -0
- package/dist/_virtual/mode-ctr.es.js.map +1 -0
- package/dist/_virtual/mode-ecb.es.js +5 -0
- package/dist/_virtual/mode-ecb.es.js.map +1 -0
- package/dist/_virtual/mode-ofb.es.js +5 -0
- package/dist/_virtual/mode-ofb.es.js.map +1 -0
- package/dist/_virtual/pad-ansix923.es.js +5 -0
- package/dist/_virtual/pad-ansix923.es.js.map +1 -0
- package/dist/_virtual/pad-iso10126.es.js +5 -0
- package/dist/_virtual/pad-iso10126.es.js.map +1 -0
- package/dist/_virtual/pad-iso97971.es.js +5 -0
- package/dist/_virtual/pad-iso97971.es.js.map +1 -0
- package/dist/_virtual/pad-nopadding.es.js +5 -0
- package/dist/_virtual/pad-nopadding.es.js.map +1 -0
- package/dist/_virtual/pad-zeropadding.es.js +5 -0
- package/dist/_virtual/pad-zeropadding.es.js.map +1 -0
- package/dist/_virtual/pbkdf2.es.js +5 -0
- package/dist/_virtual/pbkdf2.es.js.map +1 -0
- package/dist/_virtual/rabbit-legacy.es.js +5 -0
- package/dist/_virtual/rabbit-legacy.es.js.map +1 -0
- package/dist/_virtual/rabbit.es.js +5 -0
- package/dist/_virtual/rabbit.es.js.map +1 -0
- package/dist/_virtual/rc4.es.js +5 -0
- package/dist/_virtual/rc4.es.js.map +1 -0
- package/dist/_virtual/ripemd160.es.js +5 -0
- package/dist/_virtual/ripemd160.es.js.map +1 -0
- package/dist/_virtual/sha1.es.js +5 -0
- package/dist/_virtual/sha1.es.js.map +1 -0
- package/dist/_virtual/sha224.es.js +5 -0
- package/dist/_virtual/sha224.es.js.map +1 -0
- package/dist/_virtual/sha256.es.js +5 -0
- package/dist/_virtual/sha256.es.js.map +1 -0
- package/dist/_virtual/sha3.es.js +5 -0
- package/dist/_virtual/sha3.es.js.map +1 -0
- package/dist/_virtual/sha384.es.js +5 -0
- package/dist/_virtual/sha384.es.js.map +1 -0
- package/dist/_virtual/sha512.es.js +5 -0
- package/dist/_virtual/sha512.es.js.map +1 -0
- package/dist/_virtual/tripledes.es.js +5 -0
- package/dist/_virtual/tripledes.es.js.map +1 -0
- package/dist/_virtual/x64-core.es.js +5 -0
- package/dist/_virtual/x64-core.es.js.map +1 -0
- package/dist/components/AiMessageRender/AiMessageRender.es.js.map +1 -1
- package/dist/index.es.js +9 -7
- package/dist/index.es.js.map +1 -1
- package/dist/node_modules/.pnpm/classnames@2.3.2/node_modules/classnames/index.es.js +1 -1
- package/dist/node_modules/.pnpm/co-web-worker@1.0.1/node_modules/co-web-worker/index.es.js +16 -0
- package/dist/node_modules/.pnpm/co-web-worker@1.0.1/node_modules/co-web-worker/index.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.es.js +71 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/blowfish.es.js +1133 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/blowfish.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/cipher-core.es.js +546 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/cipher-core.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/core.es.js +509 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/core.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-base64.es.js +82 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-base64.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-base64url.es.js +89 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-base64url.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf16.es.js +101 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf16.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/evpkdf.es.js +72 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/evpkdf.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/format-hex.es.js +55 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/format-hex.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/hmac.es.js +85 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/hmac.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/index.es.js +50 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/index.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/lib-typedarrays.es.js +29 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/lib-typedarrays.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/md5.es.js +73 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/md5.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-cfb.es.js +38 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-cfb.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ctr-gladman.es.js +47 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ctr-gladman.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ctr.es.js +30 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ctr.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.es.js +29 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ofb.es.js +28 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ofb.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-ansix923.es.js +27 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-ansix923.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-iso10126.es.js +27 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-iso10126.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-iso97971.es.js +25 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-iso97971.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-nopadding.es.js +23 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-nopadding.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-zeropadding.es.js +30 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-zeropadding.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pbkdf2.es.js +76 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pbkdf2.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/rabbit-legacy.es.js +75 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/rabbit-legacy.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/rabbit.es.js +77 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/rabbit.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/rc4.es.js +65 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/rc4.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/ripemd160.es.js +400 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/ripemd160.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha1.es.js +51 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha1.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha224.es.js +38 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha224.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha256.es.js +59 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha256.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha3.es.js +118 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha3.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha384.es.js +39 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha384.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha512.es.js +149 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/sha512.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/tripledes.es.js +731 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/tripledes.es.js.map +1 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/x64-core.es.js +237 -0
- package/dist/node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/x64-core.es.js.map +1 -0
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.es.js +1 -1
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.es.js +1 -1
- package/dist/node_modules/.pnpm/style-to-js@1.1.16/node_modules/style-to-js/cjs/index.es.js +1 -1
- package/dist/node_modules/.pnpm/style-to-object@1.0.8/node_modules/style-to-object/cjs/index.es.js +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/xunFeiVoice/index.d.ts +1 -0
- package/dist/utils/xunFeiVoice/recordManager.d.ts +14 -0
- package/dist/utils/xunFeiVoice/recordManager.es.js +175 -0
- package/dist/utils/xunFeiVoice/recordManager.es.js.map +1 -0
- package/dist/utils/xunFeiVoice/types.d.ts +30 -0
- package/dist/utils/xunFeiVoice/utils.d.ts +2 -0
- package/dist/utils/xunFeiVoice/utils.es.js +11 -0
- package/dist/utils/xunFeiVoice/utils.es.js.map +1 -0
- package/dist/utils/xunFeiVoice/xunFeiStreamVoiceManager.d.ts +56 -0
- package/dist/utils/xunFeiVoice/xunFeiStreamVoiceManager.es.js +140 -0
- package/dist/utils/xunFeiVoice/xunFeiStreamVoiceManager.es.js.map +1 -0
- package/package.json +4 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tripledes.es.js","sources":["../../../../../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/tripledes.js"],"sourcesContent":[";(function (root, factory, undef) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"), require(\"./enc-base64\"), require(\"./md5\"), require(\"./evpkdf\"), require(\"./cipher-core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\", \"./enc-base64\", \"./md5\", \"./evpkdf\", \"./cipher-core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var BlockCipher = C_lib.BlockCipher;\n\t var C_algo = C.algo;\n\n\t // Permuted Choice 1 constants\n\t var PC1 = [\n\t 57, 49, 41, 33, 25, 17, 9, 1,\n\t 58, 50, 42, 34, 26, 18, 10, 2,\n\t 59, 51, 43, 35, 27, 19, 11, 3,\n\t 60, 52, 44, 36, 63, 55, 47, 39,\n\t 31, 23, 15, 7, 62, 54, 46, 38,\n\t 30, 22, 14, 6, 61, 53, 45, 37,\n\t 29, 21, 13, 5, 28, 20, 12, 4\n\t ];\n\n\t // Permuted Choice 2 constants\n\t var PC2 = [\n\t 14, 17, 11, 24, 1, 5,\n\t 3, 28, 15, 6, 21, 10,\n\t 23, 19, 12, 4, 26, 8,\n\t 16, 7, 27, 20, 13, 2,\n\t 41, 52, 31, 37, 47, 55,\n\t 30, 40, 51, 45, 33, 48,\n\t 44, 49, 39, 56, 34, 53,\n\t 46, 42, 50, 36, 29, 32\n\t ];\n\n\t // Cumulative bit shift constants\n\t var BIT_SHIFTS = [1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28];\n\n\t // SBOXes and round permutation constants\n\t var SBOX_P = [\n\t {\n\t 0x0: 0x808200,\n\t 0x10000000: 0x8000,\n\t 0x20000000: 0x808002,\n\t 0x30000000: 0x2,\n\t 0x40000000: 0x200,\n\t 0x50000000: 0x808202,\n\t 0x60000000: 0x800202,\n\t 0x70000000: 0x800000,\n\t 0x80000000: 0x202,\n\t 0x90000000: 0x800200,\n\t 0xa0000000: 0x8200,\n\t 0xb0000000: 0x808000,\n\t 0xc0000000: 0x8002,\n\t 0xd0000000: 0x800002,\n\t 0xe0000000: 0x0,\n\t 0xf0000000: 0x8202,\n\t 0x8000000: 0x0,\n\t 0x18000000: 0x808202,\n\t 0x28000000: 0x8202,\n\t 0x38000000: 0x8000,\n\t 0x48000000: 0x808200,\n\t 0x58000000: 0x200,\n\t 0x68000000: 0x808002,\n\t 0x78000000: 0x2,\n\t 0x88000000: 0x800200,\n\t 0x98000000: 0x8200,\n\t 0xa8000000: 0x808000,\n\t 0xb8000000: 0x800202,\n\t 0xc8000000: 0x800002,\n\t 0xd8000000: 0x8002,\n\t 0xe8000000: 0x202,\n\t 0xf8000000: 0x800000,\n\t 0x1: 0x8000,\n\t 0x10000001: 0x2,\n\t 0x20000001: 0x808200,\n\t 0x30000001: 0x800000,\n\t 0x40000001: 0x808002,\n\t 0x50000001: 0x8200,\n\t 0x60000001: 0x200,\n\t 0x70000001: 0x800202,\n\t 0x80000001: 0x808202,\n\t 0x90000001: 0x808000,\n\t 0xa0000001: 0x800002,\n\t 0xb0000001: 0x8202,\n\t 0xc0000001: 0x202,\n\t 0xd0000001: 0x800200,\n\t 0xe0000001: 0x8002,\n\t 0xf0000001: 0x0,\n\t 0x8000001: 0x808202,\n\t 0x18000001: 0x808000,\n\t 0x28000001: 0x800000,\n\t 0x38000001: 0x200,\n\t 0x48000001: 0x8000,\n\t 0x58000001: 0x800002,\n\t 0x68000001: 0x2,\n\t 0x78000001: 0x8202,\n\t 0x88000001: 0x8002,\n\t 0x98000001: 0x800202,\n\t 0xa8000001: 0x202,\n\t 0xb8000001: 0x808200,\n\t 0xc8000001: 0x800200,\n\t 0xd8000001: 0x0,\n\t 0xe8000001: 0x8200,\n\t 0xf8000001: 0x808002\n\t },\n\t {\n\t 0x0: 0x40084010,\n\t 0x1000000: 0x4000,\n\t 0x2000000: 0x80000,\n\t 0x3000000: 0x40080010,\n\t 0x4000000: 0x40000010,\n\t 0x5000000: 0x40084000,\n\t 0x6000000: 0x40004000,\n\t 0x7000000: 0x10,\n\t 0x8000000: 0x84000,\n\t 0x9000000: 0x40004010,\n\t 0xa000000: 0x40000000,\n\t 0xb000000: 0x84010,\n\t 0xc000000: 0x80010,\n\t 0xd000000: 0x0,\n\t 0xe000000: 0x4010,\n\t 0xf000000: 0x40080000,\n\t 0x800000: 0x40004000,\n\t 0x1800000: 0x84010,\n\t 0x2800000: 0x10,\n\t 0x3800000: 0x40004010,\n\t 0x4800000: 0x40084010,\n\t 0x5800000: 0x40000000,\n\t 0x6800000: 0x80000,\n\t 0x7800000: 0x40080010,\n\t 0x8800000: 0x80010,\n\t 0x9800000: 0x0,\n\t 0xa800000: 0x4000,\n\t 0xb800000: 0x40080000,\n\t 0xc800000: 0x40000010,\n\t 0xd800000: 0x84000,\n\t 0xe800000: 0x40084000,\n\t 0xf800000: 0x4010,\n\t 0x10000000: 0x0,\n\t 0x11000000: 0x40080010,\n\t 0x12000000: 0x40004010,\n\t 0x13000000: 0x40084000,\n\t 0x14000000: 0x40080000,\n\t 0x15000000: 0x10,\n\t 0x16000000: 0x84010,\n\t 0x17000000: 0x4000,\n\t 0x18000000: 0x4010,\n\t 0x19000000: 0x80000,\n\t 0x1a000000: 0x80010,\n\t 0x1b000000: 0x40000010,\n\t 0x1c000000: 0x84000,\n\t 0x1d000000: 0x40004000,\n\t 0x1e000000: 0x40000000,\n\t 0x1f000000: 0x40084010,\n\t 0x10800000: 0x84010,\n\t 0x11800000: 0x80000,\n\t 0x12800000: 0x40080000,\n\t 0x13800000: 0x4000,\n\t 0x14800000: 0x40004000,\n\t 0x15800000: 0x40084010,\n\t 0x16800000: 0x10,\n\t 0x17800000: 0x40000000,\n\t 0x18800000: 0x40084000,\n\t 0x19800000: 0x40000010,\n\t 0x1a800000: 0x40004010,\n\t 0x1b800000: 0x80010,\n\t 0x1c800000: 0x0,\n\t 0x1d800000: 0x4010,\n\t 0x1e800000: 0x40080010,\n\t 0x1f800000: 0x84000\n\t },\n\t {\n\t 0x0: 0x104,\n\t 0x100000: 0x0,\n\t 0x200000: 0x4000100,\n\t 0x300000: 0x10104,\n\t 0x400000: 0x10004,\n\t 0x500000: 0x4000004,\n\t 0x600000: 0x4010104,\n\t 0x700000: 0x4010000,\n\t 0x800000: 0x4000000,\n\t 0x900000: 0x4010100,\n\t 0xa00000: 0x10100,\n\t 0xb00000: 0x4010004,\n\t 0xc00000: 0x4000104,\n\t 0xd00000: 0x10000,\n\t 0xe00000: 0x4,\n\t 0xf00000: 0x100,\n\t 0x80000: 0x4010100,\n\t 0x180000: 0x4010004,\n\t 0x280000: 0x0,\n\t 0x380000: 0x4000100,\n\t 0x480000: 0x4000004,\n\t 0x580000: 0x10000,\n\t 0x680000: 0x10004,\n\t 0x780000: 0x104,\n\t 0x880000: 0x4,\n\t 0x980000: 0x100,\n\t 0xa80000: 0x4010000,\n\t 0xb80000: 0x10104,\n\t 0xc80000: 0x10100,\n\t 0xd80000: 0x4000104,\n\t 0xe80000: 0x4010104,\n\t 0xf80000: 0x4000000,\n\t 0x1000000: 0x4010100,\n\t 0x1100000: 0x10004,\n\t 0x1200000: 0x10000,\n\t 0x1300000: 0x4000100,\n\t 0x1400000: 0x100,\n\t 0x1500000: 0x4010104,\n\t 0x1600000: 0x4000004,\n\t 0x1700000: 0x0,\n\t 0x1800000: 0x4000104,\n\t 0x1900000: 0x4000000,\n\t 0x1a00000: 0x4,\n\t 0x1b00000: 0x10100,\n\t 0x1c00000: 0x4010000,\n\t 0x1d00000: 0x104,\n\t 0x1e00000: 0x10104,\n\t 0x1f00000: 0x4010004,\n\t 0x1080000: 0x4000000,\n\t 0x1180000: 0x104,\n\t 0x1280000: 0x4010100,\n\t 0x1380000: 0x0,\n\t 0x1480000: 0x10004,\n\t 0x1580000: 0x4000100,\n\t 0x1680000: 0x100,\n\t 0x1780000: 0x4010004,\n\t 0x1880000: 0x10000,\n\t 0x1980000: 0x4010104,\n\t 0x1a80000: 0x10104,\n\t 0x1b80000: 0x4000004,\n\t 0x1c80000: 0x4000104,\n\t 0x1d80000: 0x4010000,\n\t 0x1e80000: 0x4,\n\t 0x1f80000: 0x10100\n\t },\n\t {\n\t 0x0: 0x80401000,\n\t 0x10000: 0x80001040,\n\t 0x20000: 0x401040,\n\t 0x30000: 0x80400000,\n\t 0x40000: 0x0,\n\t 0x50000: 0x401000,\n\t 0x60000: 0x80000040,\n\t 0x70000: 0x400040,\n\t 0x80000: 0x80000000,\n\t 0x90000: 0x400000,\n\t 0xa0000: 0x40,\n\t 0xb0000: 0x80001000,\n\t 0xc0000: 0x80400040,\n\t 0xd0000: 0x1040,\n\t 0xe0000: 0x1000,\n\t 0xf0000: 0x80401040,\n\t 0x8000: 0x80001040,\n\t 0x18000: 0x40,\n\t 0x28000: 0x80400040,\n\t 0x38000: 0x80001000,\n\t 0x48000: 0x401000,\n\t 0x58000: 0x80401040,\n\t 0x68000: 0x0,\n\t 0x78000: 0x80400000,\n\t 0x88000: 0x1000,\n\t 0x98000: 0x80401000,\n\t 0xa8000: 0x400000,\n\t 0xb8000: 0x1040,\n\t 0xc8000: 0x80000000,\n\t 0xd8000: 0x400040,\n\t 0xe8000: 0x401040,\n\t 0xf8000: 0x80000040,\n\t 0x100000: 0x400040,\n\t 0x110000: 0x401000,\n\t 0x120000: 0x80000040,\n\t 0x130000: 0x0,\n\t 0x140000: 0x1040,\n\t 0x150000: 0x80400040,\n\t 0x160000: 0x80401000,\n\t 0x170000: 0x80001040,\n\t 0x180000: 0x80401040,\n\t 0x190000: 0x80000000,\n\t 0x1a0000: 0x80400000,\n\t 0x1b0000: 0x401040,\n\t 0x1c0000: 0x80001000,\n\t 0x1d0000: 0x400000,\n\t 0x1e0000: 0x40,\n\t 0x1f0000: 0x1000,\n\t 0x108000: 0x80400000,\n\t 0x118000: 0x80401040,\n\t 0x128000: 0x0,\n\t 0x138000: 0x401000,\n\t 0x148000: 0x400040,\n\t 0x158000: 0x80000000,\n\t 0x168000: 0x80001040,\n\t 0x178000: 0x40,\n\t 0x188000: 0x80000040,\n\t 0x198000: 0x1000,\n\t 0x1a8000: 0x80001000,\n\t 0x1b8000: 0x80400040,\n\t 0x1c8000: 0x1040,\n\t 0x1d8000: 0x80401000,\n\t 0x1e8000: 0x400000,\n\t 0x1f8000: 0x401040\n\t },\n\t {\n\t 0x0: 0x80,\n\t 0x1000: 0x1040000,\n\t 0x2000: 0x40000,\n\t 0x3000: 0x20000000,\n\t 0x4000: 0x20040080,\n\t 0x5000: 0x1000080,\n\t 0x6000: 0x21000080,\n\t 0x7000: 0x40080,\n\t 0x8000: 0x1000000,\n\t 0x9000: 0x20040000,\n\t 0xa000: 0x20000080,\n\t 0xb000: 0x21040080,\n\t 0xc000: 0x21040000,\n\t 0xd000: 0x0,\n\t 0xe000: 0x1040080,\n\t 0xf000: 0x21000000,\n\t 0x800: 0x1040080,\n\t 0x1800: 0x21000080,\n\t 0x2800: 0x80,\n\t 0x3800: 0x1040000,\n\t 0x4800: 0x40000,\n\t 0x5800: 0x20040080,\n\t 0x6800: 0x21040000,\n\t 0x7800: 0x20000000,\n\t 0x8800: 0x20040000,\n\t 0x9800: 0x0,\n\t 0xa800: 0x21040080,\n\t 0xb800: 0x1000080,\n\t 0xc800: 0x20000080,\n\t 0xd800: 0x21000000,\n\t 0xe800: 0x1000000,\n\t 0xf800: 0x40080,\n\t 0x10000: 0x40000,\n\t 0x11000: 0x80,\n\t 0x12000: 0x20000000,\n\t 0x13000: 0x21000080,\n\t 0x14000: 0x1000080,\n\t 0x15000: 0x21040000,\n\t 0x16000: 0x20040080,\n\t 0x17000: 0x1000000,\n\t 0x18000: 0x21040080,\n\t 0x19000: 0x21000000,\n\t 0x1a000: 0x1040000,\n\t 0x1b000: 0x20040000,\n\t 0x1c000: 0x40080,\n\t 0x1d000: 0x20000080,\n\t 0x1e000: 0x0,\n\t 0x1f000: 0x1040080,\n\t 0x10800: 0x21000080,\n\t 0x11800: 0x1000000,\n\t 0x12800: 0x1040000,\n\t 0x13800: 0x20040080,\n\t 0x14800: 0x20000000,\n\t 0x15800: 0x1040080,\n\t 0x16800: 0x80,\n\t 0x17800: 0x21040000,\n\t 0x18800: 0x40080,\n\t 0x19800: 0x21040080,\n\t 0x1a800: 0x0,\n\t 0x1b800: 0x21000000,\n\t 0x1c800: 0x1000080,\n\t 0x1d800: 0x40000,\n\t 0x1e800: 0x20040000,\n\t 0x1f800: 0x20000080\n\t },\n\t {\n\t 0x0: 0x10000008,\n\t 0x100: 0x2000,\n\t 0x200: 0x10200000,\n\t 0x300: 0x10202008,\n\t 0x400: 0x10002000,\n\t 0x500: 0x200000,\n\t 0x600: 0x200008,\n\t 0x700: 0x10000000,\n\t 0x800: 0x0,\n\t 0x900: 0x10002008,\n\t 0xa00: 0x202000,\n\t 0xb00: 0x8,\n\t 0xc00: 0x10200008,\n\t 0xd00: 0x202008,\n\t 0xe00: 0x2008,\n\t 0xf00: 0x10202000,\n\t 0x80: 0x10200000,\n\t 0x180: 0x10202008,\n\t 0x280: 0x8,\n\t 0x380: 0x200000,\n\t 0x480: 0x202008,\n\t 0x580: 0x10000008,\n\t 0x680: 0x10002000,\n\t 0x780: 0x2008,\n\t 0x880: 0x200008,\n\t 0x980: 0x2000,\n\t 0xa80: 0x10002008,\n\t 0xb80: 0x10200008,\n\t 0xc80: 0x0,\n\t 0xd80: 0x10202000,\n\t 0xe80: 0x202000,\n\t 0xf80: 0x10000000,\n\t 0x1000: 0x10002000,\n\t 0x1100: 0x10200008,\n\t 0x1200: 0x10202008,\n\t 0x1300: 0x2008,\n\t 0x1400: 0x200000,\n\t 0x1500: 0x10000000,\n\t 0x1600: 0x10000008,\n\t 0x1700: 0x202000,\n\t 0x1800: 0x202008,\n\t 0x1900: 0x0,\n\t 0x1a00: 0x8,\n\t 0x1b00: 0x10200000,\n\t 0x1c00: 0x2000,\n\t 0x1d00: 0x10002008,\n\t 0x1e00: 0x10202000,\n\t 0x1f00: 0x200008,\n\t 0x1080: 0x8,\n\t 0x1180: 0x202000,\n\t 0x1280: 0x200000,\n\t 0x1380: 0x10000008,\n\t 0x1480: 0x10002000,\n\t 0x1580: 0x2008,\n\t 0x1680: 0x10202008,\n\t 0x1780: 0x10200000,\n\t 0x1880: 0x10202000,\n\t 0x1980: 0x10200008,\n\t 0x1a80: 0x2000,\n\t 0x1b80: 0x202008,\n\t 0x1c80: 0x200008,\n\t 0x1d80: 0x0,\n\t 0x1e80: 0x10000000,\n\t 0x1f80: 0x10002008\n\t },\n\t {\n\t 0x0: 0x100000,\n\t 0x10: 0x2000401,\n\t 0x20: 0x400,\n\t 0x30: 0x100401,\n\t 0x40: 0x2100401,\n\t 0x50: 0x0,\n\t 0x60: 0x1,\n\t 0x70: 0x2100001,\n\t 0x80: 0x2000400,\n\t 0x90: 0x100001,\n\t 0xa0: 0x2000001,\n\t 0xb0: 0x2100400,\n\t 0xc0: 0x2100000,\n\t 0xd0: 0x401,\n\t 0xe0: 0x100400,\n\t 0xf0: 0x2000000,\n\t 0x8: 0x2100001,\n\t 0x18: 0x0,\n\t 0x28: 0x2000401,\n\t 0x38: 0x2100400,\n\t 0x48: 0x100000,\n\t 0x58: 0x2000001,\n\t 0x68: 0x2000000,\n\t 0x78: 0x401,\n\t 0x88: 0x100401,\n\t 0x98: 0x2000400,\n\t 0xa8: 0x2100000,\n\t 0xb8: 0x100001,\n\t 0xc8: 0x400,\n\t 0xd8: 0x2100401,\n\t 0xe8: 0x1,\n\t 0xf8: 0x100400,\n\t 0x100: 0x2000000,\n\t 0x110: 0x100000,\n\t 0x120: 0x2000401,\n\t 0x130: 0x2100001,\n\t 0x140: 0x100001,\n\t 0x150: 0x2000400,\n\t 0x160: 0x2100400,\n\t 0x170: 0x100401,\n\t 0x180: 0x401,\n\t 0x190: 0x2100401,\n\t 0x1a0: 0x100400,\n\t 0x1b0: 0x1,\n\t 0x1c0: 0x0,\n\t 0x1d0: 0x2100000,\n\t 0x1e0: 0x2000001,\n\t 0x1f0: 0x400,\n\t 0x108: 0x100400,\n\t 0x118: 0x2000401,\n\t 0x128: 0x2100001,\n\t 0x138: 0x1,\n\t 0x148: 0x2000000,\n\t 0x158: 0x100000,\n\t 0x168: 0x401,\n\t 0x178: 0x2100400,\n\t 0x188: 0x2000001,\n\t 0x198: 0x2100000,\n\t 0x1a8: 0x0,\n\t 0x1b8: 0x2100401,\n\t 0x1c8: 0x100401,\n\t 0x1d8: 0x400,\n\t 0x1e8: 0x2000400,\n\t 0x1f8: 0x100001\n\t },\n\t {\n\t 0x0: 0x8000820,\n\t 0x1: 0x20000,\n\t 0x2: 0x8000000,\n\t 0x3: 0x20,\n\t 0x4: 0x20020,\n\t 0x5: 0x8020820,\n\t 0x6: 0x8020800,\n\t 0x7: 0x800,\n\t 0x8: 0x8020000,\n\t 0x9: 0x8000800,\n\t 0xa: 0x20800,\n\t 0xb: 0x8020020,\n\t 0xc: 0x820,\n\t 0xd: 0x0,\n\t 0xe: 0x8000020,\n\t 0xf: 0x20820,\n\t 0x80000000: 0x800,\n\t 0x80000001: 0x8020820,\n\t 0x80000002: 0x8000820,\n\t 0x80000003: 0x8000000,\n\t 0x80000004: 0x8020000,\n\t 0x80000005: 0x20800,\n\t 0x80000006: 0x20820,\n\t 0x80000007: 0x20,\n\t 0x80000008: 0x8000020,\n\t 0x80000009: 0x820,\n\t 0x8000000a: 0x20020,\n\t 0x8000000b: 0x8020800,\n\t 0x8000000c: 0x0,\n\t 0x8000000d: 0x8020020,\n\t 0x8000000e: 0x8000800,\n\t 0x8000000f: 0x20000,\n\t 0x10: 0x20820,\n\t 0x11: 0x8020800,\n\t 0x12: 0x20,\n\t 0x13: 0x800,\n\t 0x14: 0x8000800,\n\t 0x15: 0x8000020,\n\t 0x16: 0x8020020,\n\t 0x17: 0x20000,\n\t 0x18: 0x0,\n\t 0x19: 0x20020,\n\t 0x1a: 0x8020000,\n\t 0x1b: 0x8000820,\n\t 0x1c: 0x8020820,\n\t 0x1d: 0x20800,\n\t 0x1e: 0x820,\n\t 0x1f: 0x8000000,\n\t 0x80000010: 0x20000,\n\t 0x80000011: 0x800,\n\t 0x80000012: 0x8020020,\n\t 0x80000013: 0x20820,\n\t 0x80000014: 0x20,\n\t 0x80000015: 0x8020000,\n\t 0x80000016: 0x8000000,\n\t 0x80000017: 0x8000820,\n\t 0x80000018: 0x8020820,\n\t 0x80000019: 0x8000020,\n\t 0x8000001a: 0x8000800,\n\t 0x8000001b: 0x0,\n\t 0x8000001c: 0x20800,\n\t 0x8000001d: 0x820,\n\t 0x8000001e: 0x20020,\n\t 0x8000001f: 0x8020800\n\t }\n\t ];\n\n\t // Masks that select the SBOX input\n\t var SBOX_MASK = [\n\t 0xf8000001, 0x1f800000, 0x01f80000, 0x001f8000,\n\t 0x0001f800, 0x00001f80, 0x000001f8, 0x8000001f\n\t ];\n\n\t /**\n\t * DES block cipher algorithm.\n\t */\n\t var DES = C_algo.DES = BlockCipher.extend({\n\t _doReset: function () {\n\t // Shortcuts\n\t var key = this._key;\n\t var keyWords = key.words;\n\n\t // Select 56 bits according to PC1\n\t var keyBits = [];\n\t for (var i = 0; i < 56; i++) {\n\t var keyBitPos = PC1[i] - 1;\n\t keyBits[i] = (keyWords[keyBitPos >>> 5] >>> (31 - keyBitPos % 32)) & 1;\n\t }\n\n\t // Assemble 16 subkeys\n\t var subKeys = this._subKeys = [];\n\t for (var nSubKey = 0; nSubKey < 16; nSubKey++) {\n\t // Create subkey\n\t var subKey = subKeys[nSubKey] = [];\n\n\t // Shortcut\n\t var bitShift = BIT_SHIFTS[nSubKey];\n\n\t // Select 48 bits according to PC2\n\t for (var i = 0; i < 24; i++) {\n\t // Select from the left 28 key bits\n\t subKey[(i / 6) | 0] |= keyBits[((PC2[i] - 1) + bitShift) % 28] << (31 - i % 6);\n\n\t // Select from the right 28 key bits\n\t subKey[4 + ((i / 6) | 0)] |= keyBits[28 + (((PC2[i + 24] - 1) + bitShift) % 28)] << (31 - i % 6);\n\t }\n\n\t // Since each subkey is applied to an expanded 32-bit input,\n\t // the subkey can be broken into 8 values scaled to 32-bits,\n\t // which allows the key to be used without expansion\n\t subKey[0] = (subKey[0] << 1) | (subKey[0] >>> 31);\n\t for (var i = 1; i < 7; i++) {\n\t subKey[i] = subKey[i] >>> ((i - 1) * 4 + 3);\n\t }\n\t subKey[7] = (subKey[7] << 5) | (subKey[7] >>> 27);\n\t }\n\n\t // Compute inverse subkeys\n\t var invSubKeys = this._invSubKeys = [];\n\t for (var i = 0; i < 16; i++) {\n\t invSubKeys[i] = subKeys[15 - i];\n\t }\n\t },\n\n\t encryptBlock: function (M, offset) {\n\t this._doCryptBlock(M, offset, this._subKeys);\n\t },\n\n\t decryptBlock: function (M, offset) {\n\t this._doCryptBlock(M, offset, this._invSubKeys);\n\t },\n\n\t _doCryptBlock: function (M, offset, subKeys) {\n\t // Get input\n\t this._lBlock = M[offset];\n\t this._rBlock = M[offset + 1];\n\n\t // Initial permutation\n\t exchangeLR.call(this, 4, 0x0f0f0f0f);\n\t exchangeLR.call(this, 16, 0x0000ffff);\n\t exchangeRL.call(this, 2, 0x33333333);\n\t exchangeRL.call(this, 8, 0x00ff00ff);\n\t exchangeLR.call(this, 1, 0x55555555);\n\n\t // Rounds\n\t for (var round = 0; round < 16; round++) {\n\t // Shortcuts\n\t var subKey = subKeys[round];\n\t var lBlock = this._lBlock;\n\t var rBlock = this._rBlock;\n\n\t // Feistel function\n\t var f = 0;\n\t for (var i = 0; i < 8; i++) {\n\t f |= SBOX_P[i][((rBlock ^ subKey[i]) & SBOX_MASK[i]) >>> 0];\n\t }\n\t this._lBlock = rBlock;\n\t this._rBlock = lBlock ^ f;\n\t }\n\n\t // Undo swap from last round\n\t var t = this._lBlock;\n\t this._lBlock = this._rBlock;\n\t this._rBlock = t;\n\n\t // Final permutation\n\t exchangeLR.call(this, 1, 0x55555555);\n\t exchangeRL.call(this, 8, 0x00ff00ff);\n\t exchangeRL.call(this, 2, 0x33333333);\n\t exchangeLR.call(this, 16, 0x0000ffff);\n\t exchangeLR.call(this, 4, 0x0f0f0f0f);\n\n\t // Set output\n\t M[offset] = this._lBlock;\n\t M[offset + 1] = this._rBlock;\n\t },\n\n\t keySize: 64/32,\n\n\t ivSize: 64/32,\n\n\t blockSize: 64/32\n\t });\n\n\t // Swap bits across the left and right words\n\t function exchangeLR(offset, mask) {\n\t var t = ((this._lBlock >>> offset) ^ this._rBlock) & mask;\n\t this._rBlock ^= t;\n\t this._lBlock ^= t << offset;\n\t }\n\n\t function exchangeRL(offset, mask) {\n\t var t = ((this._rBlock >>> offset) ^ this._lBlock) & mask;\n\t this._lBlock ^= t;\n\t this._rBlock ^= t << offset;\n\t }\n\n\t /**\n\t * Shortcut functions to the cipher's object interface.\n\t *\n\t * @example\n\t *\n\t * var ciphertext = CryptoJS.DES.encrypt(message, key, cfg);\n\t * var plaintext = CryptoJS.DES.decrypt(ciphertext, key, cfg);\n\t */\n\t C.DES = BlockCipher._createHelper(DES);\n\n\t /**\n\t * Triple-DES block cipher algorithm.\n\t */\n\t var TripleDES = C_algo.TripleDES = BlockCipher.extend({\n\t _doReset: function () {\n\t // Shortcuts\n\t var key = this._key;\n\t var keyWords = key.words;\n\t // Make sure the key length is valid (64, 128 or >= 192 bit)\n\t if (keyWords.length !== 2 && keyWords.length !== 4 && keyWords.length < 6) {\n\t throw new Error('Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.');\n\t }\n\n\t // Extend the key according to the keying options defined in 3DES standard\n\t var key1 = keyWords.slice(0, 2);\n\t var key2 = keyWords.length < 4 ? keyWords.slice(0, 2) : keyWords.slice(2, 4);\n\t var key3 = keyWords.length < 6 ? keyWords.slice(0, 2) : keyWords.slice(4, 6);\n\n\t // Create DES instances\n\t this._des1 = DES.createEncryptor(WordArray.create(key1));\n\t this._des2 = DES.createEncryptor(WordArray.create(key2));\n\t this._des3 = DES.createEncryptor(WordArray.create(key3));\n\t },\n\n\t encryptBlock: function (M, offset) {\n\t this._des1.encryptBlock(M, offset);\n\t this._des2.decryptBlock(M, offset);\n\t this._des3.encryptBlock(M, offset);\n\t },\n\n\t decryptBlock: function (M, offset) {\n\t this._des3.decryptBlock(M, offset);\n\t this._des2.encryptBlock(M, offset);\n\t this._des1.decryptBlock(M, offset);\n\t },\n\n\t keySize: 192/32,\n\n\t ivSize: 64/32,\n\n\t blockSize: 64/32\n\t });\n\n\t /**\n\t * Shortcut functions to the cipher's object interface.\n\t *\n\t * @example\n\t *\n\t * var ciphertext = CryptoJS.TripleDES.encrypt(message, key, cfg);\n\t * var plaintext = CryptoJS.TripleDES.decrypt(ciphertext, key, cfg);\n\t */\n\t C.TripleDES = BlockCipher._createHelper(TripleDES);\n\t}());\n\n\n\treturn CryptoJS.TripleDES;\n\n}));"],"names":["root","factory","undef","module","require$$0","require$$1","require$$2","require$$3","require$$4","this","CryptoJS","C","C_lib","WordArray","BlockCipher","C_algo","PC1","PC2","BIT_SHIFTS","SBOX_P","SBOX_MASK","DES","key","keyWords","keyBits","i","keyBitPos","subKeys","nSubKey","subKey","bitShift","invSubKeys","M","offset","exchangeLR","exchangeRL","round","lBlock","rBlock","f","t","mask","TripleDES","key1","key2","key3"],"mappings":";;;;;;;;;;AAAC,KAAC,SAAUA,GAAMC,GAASC,GAAO;AAGhC,MAAAC,EAAiB,UAAUF,EAAQG,KAAmBC,KAAyBC,KAAkBC,KAAqBC,GAAwB;AAAA,IAUhJ,GAAEC,GAAM,SAAUC,GAAU;AA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,WAAW,KAAKA,EAAS,WAAW,KAAKA,EAAS,SAAS;AACpE,oBAAM,IAAI,MAAM,+EAA+E;AAInG,gBAAIoB,IAAOpB,EAAS,MAAM,GAAG,CAAC,GAC1BqB,IAAOrB,EAAS,SAAS,IAAIA,EAAS,MAAM,GAAG,CAAC,IAAIA,EAAS,MAAM,GAAG,CAAC,GACvEsB,IAAOtB,EAAS,SAAS,IAAIA,EAAS,MAAM,GAAG,CAAC,IAAIA,EAAS,MAAM,GAAG,CAAC;AAG3E,iBAAK,QAAQF,EAAI,gBAAgBR,EAAU,OAAO8B,CAAI,CAAC,GACvD,KAAK,QAAQtB,EAAI,gBAAgBR,EAAU,OAAO+B,CAAI,CAAC,GACvD,KAAK,QAAQvB,EAAI,gBAAgBR,EAAU,OAAOgC,CAAI,CAAC;AAAA,UAC1D;AAAA,UAED,cAAc,SAAUb,GAAGC,GAAQ;AAC/B,iBAAK,MAAM,aAAaD,GAAGC,CAAM,GACjC,KAAK,MAAM,aAAaD,GAAGC,CAAM,GACjC,KAAK,MAAM,aAAaD,GAAGC,CAAM;AAAA,UACpC;AAAA,UAED,cAAc,SAAUD,GAAGC,GAAQ;AAC/B,iBAAK,MAAM,aAAaD,GAAGC,CAAM,GACjC,KAAK,MAAM,aAAaD,GAAGC,CAAM,GACjC,KAAK,MAAM,aAAaD,GAAGC,CAAM;AAAA,UACpC;AAAA,UAED,SAAS,MAAI;AAAA,UAEb,QAAQ,KAAG;AAAA,UAEX,WAAW,KAAG;AAAA,QACvB,CAAM;AAUD,QAAAtB,EAAE,YAAYG,EAAY,cAAc4B,CAAS;AAAA,MACtD,EAAI,GAGIhC,EAAS;AAAA,IAEjB,CAAC;AAAA;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { commonjsGlobal as x } from "../../../../../_virtual/_commonjsHelpers.es.js";
|
|
2
|
+
import { __module as a } from "../../../../../_virtual/x64-core.es.js";
|
|
3
|
+
import { __require as g } from "./core.es.js";
|
|
4
|
+
var f;
|
|
5
|
+
function C() {
|
|
6
|
+
return f ? a.exports : (f = 1, function(v, m) {
|
|
7
|
+
(function(n, s) {
|
|
8
|
+
v.exports = s(g());
|
|
9
|
+
})(x, function(n) {
|
|
10
|
+
return function(s) {
|
|
11
|
+
var u = n, h = u.lib, i = h.Base, d = h.WordArray, l = u.x64 = {};
|
|
12
|
+
l.Word = i.extend({
|
|
13
|
+
/**
|
|
14
|
+
* Initializes a newly created 64-bit word.
|
|
15
|
+
*
|
|
16
|
+
* @param {number} high The high 32 bits.
|
|
17
|
+
* @param {number} low The low 32 bits.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
*
|
|
21
|
+
* var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);
|
|
22
|
+
*/
|
|
23
|
+
init: function(r, o) {
|
|
24
|
+
this.high = r, this.low = o;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Bitwise NOTs this word.
|
|
28
|
+
*
|
|
29
|
+
* @return {X64Word} A new x64-Word object after negating.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
*
|
|
33
|
+
* var negated = x64Word.not();
|
|
34
|
+
*/
|
|
35
|
+
// not: function () {
|
|
36
|
+
// var high = ~this.high;
|
|
37
|
+
// var low = ~this.low;
|
|
38
|
+
// return X64Word.create(high, low);
|
|
39
|
+
// },
|
|
40
|
+
/**
|
|
41
|
+
* Bitwise ANDs this word with the passed word.
|
|
42
|
+
*
|
|
43
|
+
* @param {X64Word} word The x64-Word to AND with this word.
|
|
44
|
+
*
|
|
45
|
+
* @return {X64Word} A new x64-Word object after ANDing.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
*
|
|
49
|
+
* var anded = x64Word.and(anotherX64Word);
|
|
50
|
+
*/
|
|
51
|
+
// and: function (word) {
|
|
52
|
+
// var high = this.high & word.high;
|
|
53
|
+
// var low = this.low & word.low;
|
|
54
|
+
// return X64Word.create(high, low);
|
|
55
|
+
// },
|
|
56
|
+
/**
|
|
57
|
+
* Bitwise ORs this word with the passed word.
|
|
58
|
+
*
|
|
59
|
+
* @param {X64Word} word The x64-Word to OR with this word.
|
|
60
|
+
*
|
|
61
|
+
* @return {X64Word} A new x64-Word object after ORing.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
*
|
|
65
|
+
* var ored = x64Word.or(anotherX64Word);
|
|
66
|
+
*/
|
|
67
|
+
// or: function (word) {
|
|
68
|
+
// var high = this.high | word.high;
|
|
69
|
+
// var low = this.low | word.low;
|
|
70
|
+
// return X64Word.create(high, low);
|
|
71
|
+
// },
|
|
72
|
+
/**
|
|
73
|
+
* Bitwise XORs this word with the passed word.
|
|
74
|
+
*
|
|
75
|
+
* @param {X64Word} word The x64-Word to XOR with this word.
|
|
76
|
+
*
|
|
77
|
+
* @return {X64Word} A new x64-Word object after XORing.
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
*
|
|
81
|
+
* var xored = x64Word.xor(anotherX64Word);
|
|
82
|
+
*/
|
|
83
|
+
// xor: function (word) {
|
|
84
|
+
// var high = this.high ^ word.high;
|
|
85
|
+
// var low = this.low ^ word.low;
|
|
86
|
+
// return X64Word.create(high, low);
|
|
87
|
+
// },
|
|
88
|
+
/**
|
|
89
|
+
* Shifts this word n bits to the left.
|
|
90
|
+
*
|
|
91
|
+
* @param {number} n The number of bits to shift.
|
|
92
|
+
*
|
|
93
|
+
* @return {X64Word} A new x64-Word object after shifting.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
*
|
|
97
|
+
* var shifted = x64Word.shiftL(25);
|
|
98
|
+
*/
|
|
99
|
+
// shiftL: function (n) {
|
|
100
|
+
// if (n < 32) {
|
|
101
|
+
// var high = (this.high << n) | (this.low >>> (32 - n));
|
|
102
|
+
// var low = this.low << n;
|
|
103
|
+
// } else {
|
|
104
|
+
// var high = this.low << (n - 32);
|
|
105
|
+
// var low = 0;
|
|
106
|
+
// }
|
|
107
|
+
// return X64Word.create(high, low);
|
|
108
|
+
// },
|
|
109
|
+
/**
|
|
110
|
+
* Shifts this word n bits to the right.
|
|
111
|
+
*
|
|
112
|
+
* @param {number} n The number of bits to shift.
|
|
113
|
+
*
|
|
114
|
+
* @return {X64Word} A new x64-Word object after shifting.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
*
|
|
118
|
+
* var shifted = x64Word.shiftR(7);
|
|
119
|
+
*/
|
|
120
|
+
// shiftR: function (n) {
|
|
121
|
+
// if (n < 32) {
|
|
122
|
+
// var low = (this.low >>> n) | (this.high << (32 - n));
|
|
123
|
+
// var high = this.high >>> n;
|
|
124
|
+
// } else {
|
|
125
|
+
// var low = this.high >>> (n - 32);
|
|
126
|
+
// var high = 0;
|
|
127
|
+
// }
|
|
128
|
+
// return X64Word.create(high, low);
|
|
129
|
+
// },
|
|
130
|
+
/**
|
|
131
|
+
* Rotates this word n bits to the left.
|
|
132
|
+
*
|
|
133
|
+
* @param {number} n The number of bits to rotate.
|
|
134
|
+
*
|
|
135
|
+
* @return {X64Word} A new x64-Word object after rotating.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
*
|
|
139
|
+
* var rotated = x64Word.rotL(25);
|
|
140
|
+
*/
|
|
141
|
+
// rotL: function (n) {
|
|
142
|
+
// return this.shiftL(n).or(this.shiftR(64 - n));
|
|
143
|
+
// },
|
|
144
|
+
/**
|
|
145
|
+
* Rotates this word n bits to the right.
|
|
146
|
+
*
|
|
147
|
+
* @param {number} n The number of bits to rotate.
|
|
148
|
+
*
|
|
149
|
+
* @return {X64Word} A new x64-Word object after rotating.
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
*
|
|
153
|
+
* var rotated = x64Word.rotR(7);
|
|
154
|
+
*/
|
|
155
|
+
// rotR: function (n) {
|
|
156
|
+
// return this.shiftR(n).or(this.shiftL(64 - n));
|
|
157
|
+
// },
|
|
158
|
+
/**
|
|
159
|
+
* Adds this word with the passed word.
|
|
160
|
+
*
|
|
161
|
+
* @param {X64Word} word The x64-Word to add with this word.
|
|
162
|
+
*
|
|
163
|
+
* @return {X64Word} A new x64-Word object after adding.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
*
|
|
167
|
+
* var added = x64Word.add(anotherX64Word);
|
|
168
|
+
*/
|
|
169
|
+
// add: function (word) {
|
|
170
|
+
// var low = (this.low + word.low) | 0;
|
|
171
|
+
// var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;
|
|
172
|
+
// var high = (this.high + word.high + carry) | 0;
|
|
173
|
+
// return X64Word.create(high, low);
|
|
174
|
+
// }
|
|
175
|
+
}), l.WordArray = i.extend({
|
|
176
|
+
/**
|
|
177
|
+
* Initializes a newly created word array.
|
|
178
|
+
*
|
|
179
|
+
* @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.
|
|
180
|
+
* @param {number} sigBytes (Optional) The number of significant bytes in the words.
|
|
181
|
+
*
|
|
182
|
+
* @example
|
|
183
|
+
*
|
|
184
|
+
* var wordArray = CryptoJS.x64.WordArray.create();
|
|
185
|
+
*
|
|
186
|
+
* var wordArray = CryptoJS.x64.WordArray.create([
|
|
187
|
+
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
|
|
188
|
+
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
|
|
189
|
+
* ]);
|
|
190
|
+
*
|
|
191
|
+
* var wordArray = CryptoJS.x64.WordArray.create([
|
|
192
|
+
* CryptoJS.x64.Word.create(0x00010203, 0x04050607),
|
|
193
|
+
* CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)
|
|
194
|
+
* ], 10);
|
|
195
|
+
*/
|
|
196
|
+
init: function(r, o) {
|
|
197
|
+
r = this.words = r || [], o != s ? this.sigBytes = o : this.sigBytes = r.length * 8;
|
|
198
|
+
},
|
|
199
|
+
/**
|
|
200
|
+
* Converts this 64-bit word array to a 32-bit word array.
|
|
201
|
+
*
|
|
202
|
+
* @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
*
|
|
206
|
+
* var x32WordArray = x64WordArray.toX32();
|
|
207
|
+
*/
|
|
208
|
+
toX32: function() {
|
|
209
|
+
for (var r = this.words, o = r.length, t = [], e = 0; e < o; e++) {
|
|
210
|
+
var c = r[e];
|
|
211
|
+
t.push(c.high), t.push(c.low);
|
|
212
|
+
}
|
|
213
|
+
return d.create(t, this.sigBytes);
|
|
214
|
+
},
|
|
215
|
+
/**
|
|
216
|
+
* Creates a copy of this word array.
|
|
217
|
+
*
|
|
218
|
+
* @return {X64WordArray} The clone.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
*
|
|
222
|
+
* var clone = x64WordArray.clone();
|
|
223
|
+
*/
|
|
224
|
+
clone: function() {
|
|
225
|
+
for (var r = i.clone.call(this), o = r.words = this.words.slice(0), t = o.length, e = 0; e < t; e++)
|
|
226
|
+
o[e] = o[e].clone();
|
|
227
|
+
return r;
|
|
228
|
+
}
|
|
229
|
+
});
|
|
230
|
+
}(), n;
|
|
231
|
+
});
|
|
232
|
+
}(a), a.exports);
|
|
233
|
+
}
|
|
234
|
+
export {
|
|
235
|
+
C as __require
|
|
236
|
+
};
|
|
237
|
+
//# sourceMappingURL=x64-core.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x64-core.es.js","sources":["../../../../../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/x64-core.js"],"sourcesContent":[";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function (undefined) {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var Base = C_lib.Base;\n\t var X32WordArray = C_lib.WordArray;\n\n\t /**\n\t * x64 namespace.\n\t */\n\t var C_x64 = C.x64 = {};\n\n\t /**\n\t * A 64-bit word.\n\t */\n\t var X64Word = C_x64.Word = Base.extend({\n\t /**\n\t * Initializes a newly created 64-bit word.\n\t *\n\t * @param {number} high The high 32 bits.\n\t * @param {number} low The low 32 bits.\n\t *\n\t * @example\n\t *\n\t * var x64Word = CryptoJS.x64.Word.create(0x00010203, 0x04050607);\n\t */\n\t init: function (high, low) {\n\t this.high = high;\n\t this.low = low;\n\t }\n\n\t /**\n\t * Bitwise NOTs this word.\n\t *\n\t * @return {X64Word} A new x64-Word object after negating.\n\t *\n\t * @example\n\t *\n\t * var negated = x64Word.not();\n\t */\n\t // not: function () {\n\t // var high = ~this.high;\n\t // var low = ~this.low;\n\n\t // return X64Word.create(high, low);\n\t // },\n\n\t /**\n\t * Bitwise ANDs this word with the passed word.\n\t *\n\t * @param {X64Word} word The x64-Word to AND with this word.\n\t *\n\t * @return {X64Word} A new x64-Word object after ANDing.\n\t *\n\t * @example\n\t *\n\t * var anded = x64Word.and(anotherX64Word);\n\t */\n\t // and: function (word) {\n\t // var high = this.high & word.high;\n\t // var low = this.low & word.low;\n\n\t // return X64Word.create(high, low);\n\t // },\n\n\t /**\n\t * Bitwise ORs this word with the passed word.\n\t *\n\t * @param {X64Word} word The x64-Word to OR with this word.\n\t *\n\t * @return {X64Word} A new x64-Word object after ORing.\n\t *\n\t * @example\n\t *\n\t * var ored = x64Word.or(anotherX64Word);\n\t */\n\t // or: function (word) {\n\t // var high = this.high | word.high;\n\t // var low = this.low | word.low;\n\n\t // return X64Word.create(high, low);\n\t // },\n\n\t /**\n\t * Bitwise XORs this word with the passed word.\n\t *\n\t * @param {X64Word} word The x64-Word to XOR with this word.\n\t *\n\t * @return {X64Word} A new x64-Word object after XORing.\n\t *\n\t * @example\n\t *\n\t * var xored = x64Word.xor(anotherX64Word);\n\t */\n\t // xor: function (word) {\n\t // var high = this.high ^ word.high;\n\t // var low = this.low ^ word.low;\n\n\t // return X64Word.create(high, low);\n\t // },\n\n\t /**\n\t * Shifts this word n bits to the left.\n\t *\n\t * @param {number} n The number of bits to shift.\n\t *\n\t * @return {X64Word} A new x64-Word object after shifting.\n\t *\n\t * @example\n\t *\n\t * var shifted = x64Word.shiftL(25);\n\t */\n\t // shiftL: function (n) {\n\t // if (n < 32) {\n\t // var high = (this.high << n) | (this.low >>> (32 - n));\n\t // var low = this.low << n;\n\t // } else {\n\t // var high = this.low << (n - 32);\n\t // var low = 0;\n\t // }\n\n\t // return X64Word.create(high, low);\n\t // },\n\n\t /**\n\t * Shifts this word n bits to the right.\n\t *\n\t * @param {number} n The number of bits to shift.\n\t *\n\t * @return {X64Word} A new x64-Word object after shifting.\n\t *\n\t * @example\n\t *\n\t * var shifted = x64Word.shiftR(7);\n\t */\n\t // shiftR: function (n) {\n\t // if (n < 32) {\n\t // var low = (this.low >>> n) | (this.high << (32 - n));\n\t // var high = this.high >>> n;\n\t // } else {\n\t // var low = this.high >>> (n - 32);\n\t // var high = 0;\n\t // }\n\n\t // return X64Word.create(high, low);\n\t // },\n\n\t /**\n\t * Rotates this word n bits to the left.\n\t *\n\t * @param {number} n The number of bits to rotate.\n\t *\n\t * @return {X64Word} A new x64-Word object after rotating.\n\t *\n\t * @example\n\t *\n\t * var rotated = x64Word.rotL(25);\n\t */\n\t // rotL: function (n) {\n\t // return this.shiftL(n).or(this.shiftR(64 - n));\n\t // },\n\n\t /**\n\t * Rotates this word n bits to the right.\n\t *\n\t * @param {number} n The number of bits to rotate.\n\t *\n\t * @return {X64Word} A new x64-Word object after rotating.\n\t *\n\t * @example\n\t *\n\t * var rotated = x64Word.rotR(7);\n\t */\n\t // rotR: function (n) {\n\t // return this.shiftR(n).or(this.shiftL(64 - n));\n\t // },\n\n\t /**\n\t * Adds this word with the passed word.\n\t *\n\t * @param {X64Word} word The x64-Word to add with this word.\n\t *\n\t * @return {X64Word} A new x64-Word object after adding.\n\t *\n\t * @example\n\t *\n\t * var added = x64Word.add(anotherX64Word);\n\t */\n\t // add: function (word) {\n\t // var low = (this.low + word.low) | 0;\n\t // var carry = (low >>> 0) < (this.low >>> 0) ? 1 : 0;\n\t // var high = (this.high + word.high + carry) | 0;\n\n\t // return X64Word.create(high, low);\n\t // }\n\t });\n\n\t /**\n\t * An array of 64-bit words.\n\t *\n\t * @property {Array} words The array of CryptoJS.x64.Word objects.\n\t * @property {number} sigBytes The number of significant bytes in this word array.\n\t */\n\t var X64WordArray = C_x64.WordArray = Base.extend({\n\t /**\n\t * Initializes a newly created word array.\n\t *\n\t * @param {Array} words (Optional) An array of CryptoJS.x64.Word objects.\n\t * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.x64.WordArray.create();\n\t *\n\t * var wordArray = CryptoJS.x64.WordArray.create([\n\t * CryptoJS.x64.Word.create(0x00010203, 0x04050607),\n\t * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)\n\t * ]);\n\t *\n\t * var wordArray = CryptoJS.x64.WordArray.create([\n\t * CryptoJS.x64.Word.create(0x00010203, 0x04050607),\n\t * CryptoJS.x64.Word.create(0x18191a1b, 0x1c1d1e1f)\n\t * ], 10);\n\t */\n\t init: function (words, sigBytes) {\n\t words = this.words = words || [];\n\n\t if (sigBytes != undefined) {\n\t this.sigBytes = sigBytes;\n\t } else {\n\t this.sigBytes = words.length * 8;\n\t }\n\t },\n\n\t /**\n\t * Converts this 64-bit word array to a 32-bit word array.\n\t *\n\t * @return {CryptoJS.lib.WordArray} This word array's data as a 32-bit word array.\n\t *\n\t * @example\n\t *\n\t * var x32WordArray = x64WordArray.toX32();\n\t */\n\t toX32: function () {\n\t // Shortcuts\n\t var x64Words = this.words;\n\t var x64WordsLength = x64Words.length;\n\n\t // Convert\n\t var x32Words = [];\n\t for (var i = 0; i < x64WordsLength; i++) {\n\t var x64Word = x64Words[i];\n\t x32Words.push(x64Word.high);\n\t x32Words.push(x64Word.low);\n\t }\n\n\t return X32WordArray.create(x32Words, this.sigBytes);\n\t },\n\n\t /**\n\t * Creates a copy of this word array.\n\t *\n\t * @return {X64WordArray} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = x64WordArray.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\n\t // Clone \"words\" array\n\t var words = clone.words = this.words.slice(0);\n\n\t // Clone each X64Word object\n\t var wordsLength = words.length;\n\t for (var i = 0; i < wordsLength; i++) {\n\t words[i] = words[i].clone();\n\t }\n\n\t return clone;\n\t }\n\t });\n\t}());\n\n\n\treturn CryptoJS;\n\n}));"],"names":["root","factory","module","require$$0","this","CryptoJS","undefined","C","C_lib","Base","X32WordArray","C_x64","high","low","words","sigBytes","x64Words","x64WordsLength","x32Words","i","x64Word","clone","wordsLength"],"mappings":";;;;;;AAAC,KAAC,SAAUA,GAAMC,GAAS;AAGzB,MAAAC,YAA2BD,EAAQE,GAAiB;AAAA,IAUtD,GAAEC,GAAM,SAAUC,GAAU;AAE3B,aAAC,SAAUC,GAAW;AAElB,YAAIC,IAAIF,GACJG,IAAQD,EAAE,KACVE,IAAOD,EAAM,MACbE,IAAeF,EAAM,WAKrBG,IAAQJ,EAAE,MAAM,CAAE;AAKR,QAAAI,EAAM,OAAOF,EAAK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAWnC,MAAM,SAAUG,GAAMC,GAAK;AACvB,iBAAK,OAAOD,GACZ,KAAK,MAAMC;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAuKlB,CAAA,GAQkBF,EAAM,YAAYF,EAAK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAqB7C,MAAM,SAAUK,GAAOC,GAAU;AAC7B,YAAAD,IAAQ,KAAK,QAAQA,KAAS,CAAE,GAE5BC,KAAYT,IACZ,KAAK,WAAWS,IAEhB,KAAK,WAAWD,EAAM,SAAS;AAAA,UAEtC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAWD,OAAO,WAAY;AAOf,qBALIE,IAAW,KAAK,OAChBC,IAAiBD,EAAS,QAG1BE,IAAW,CAAE,GACRC,IAAI,GAAGA,IAAIF,GAAgBE,KAAK;AACrC,kBAAIC,IAAUJ,EAASG,CAAC;AACxB,cAAAD,EAAS,KAAKE,EAAQ,IAAI,GAC1BF,EAAS,KAAKE,EAAQ,GAAG;AAAA;AAG7B,mBAAOV,EAAa,OAAOQ,GAAU,KAAK,QAAQ;AAAA,UACrD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAWD,OAAO,WAAY;AAQf,qBAPIG,IAAQZ,EAAK,MAAM,KAAK,IAAI,GAG5BK,IAAQO,EAAM,QAAQ,KAAK,MAAM,MAAM,CAAC,GAGxCC,IAAcR,EAAM,QACfK,IAAI,GAAGA,IAAIG,GAAaH;AAC7B,cAAAL,EAAMK,CAAC,IAAIL,EAAMK,CAAC,EAAE,MAAO;AAG/B,mBAAOE;AAAA;QAEd,CAAA;AAAA,MACN,EAAI,GAGIhB;AAAA,IAER,CAAC;AAAA;;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as e } from "../../../../../_virtual/_commonjsHelpers.es.js";
|
|
2
|
-
import { __module as r } from "../../../../../_virtual/index.
|
|
2
|
+
import { __module as r } from "../../../../../_virtual/index.es4.js";
|
|
3
3
|
import { __require as o } from "../../../react-is@16.13.1/node_modules/react-is/index.es.js";
|
|
4
4
|
import { __require as t } from "./factoryWithTypeCheckers.es.js";
|
|
5
5
|
import { __require as p } from "./factoryWithThrowingShims.es.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as e } from "../../../../../_virtual/index.
|
|
1
|
+
import { __module as e } from "../../../../../_virtual/index.es6.js";
|
|
2
2
|
import { __require as o } from "./cjs/react-is.production.min.es.js";
|
|
3
3
|
import { __require as t } from "./cjs/react-is.development.es.js";
|
|
4
4
|
var r;
|
|
@@ -2,7 +2,7 @@ import { getDefaultExportFromCjs as f, commonjsGlobal as a } from "../../../../.
|
|
|
2
2
|
import "../../../../style-to-object@1.0.8/node_modules/style-to-object/cjs/index.es.js";
|
|
3
3
|
import "./utilities.es.js";
|
|
4
4
|
import { __exports as s } from "../../../../../../_virtual/utilities.es.js";
|
|
5
|
-
import { __exports as _ } from "../../../../../../_virtual/index.
|
|
5
|
+
import { __exports as _ } from "../../../../../../_virtual/index.es7.js";
|
|
6
6
|
var l = a && a.__importDefault || function(t) {
|
|
7
7
|
return t && t.__esModule ? t : { default: t };
|
|
8
8
|
}, n = l(_), m = s;
|
package/dist/node_modules/.pnpm/style-to-object@1.0.8/node_modules/style-to-object/cjs/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { commonjsGlobal as a } from "../../../../../../_virtual/_commonjsHelpers.es.js";
|
|
2
|
-
import { __exports as n } from "../../../../../../_virtual/index.
|
|
2
|
+
import { __exports as n } from "../../../../../../_virtual/index.es7.js";
|
|
3
3
|
import { i as p } from "../../../../inline-style-parser@0.2.4/node_modules/inline-style-parser/index.es.js";
|
|
4
4
|
var s = a && a.__importDefault || function(e) {
|
|
5
5
|
return e && e.__esModule ? e : { default: e };
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './xunFeiStreamVoiceManager';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @type {new (processorPath: string): any}
|
|
3
|
+
*/
|
|
4
|
+
export function RecorderManager(e: any): void;
|
|
5
|
+
export class RecorderManager {
|
|
6
|
+
/**
|
|
7
|
+
* @type {new (processorPath: string): any}
|
|
8
|
+
*/
|
|
9
|
+
constructor(e: any);
|
|
10
|
+
processorPath: any;
|
|
11
|
+
audioBuffers: any[];
|
|
12
|
+
start(a: any): any;
|
|
13
|
+
stop(): void;
|
|
14
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import g from "../../node_modules/.pnpm/co-web-worker@1.0.1/node_modules/co-web-worker/index.es.js";
|
|
2
|
+
function m(a, u, n, r) {
|
|
3
|
+
return new (n || (n = Promise))(function(t, s) {
|
|
4
|
+
function o(i) {
|
|
5
|
+
try {
|
|
6
|
+
d(r.next(i));
|
|
7
|
+
} catch (e) {
|
|
8
|
+
s(e);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
function c(i) {
|
|
12
|
+
try {
|
|
13
|
+
d(r.throw(i));
|
|
14
|
+
} catch (e) {
|
|
15
|
+
s(e);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function d(i) {
|
|
19
|
+
let e;
|
|
20
|
+
i.done ? t(i.value) : (e = i.value, e instanceof n ? e : new n(function(f) {
|
|
21
|
+
f(e);
|
|
22
|
+
})).then(o, c);
|
|
23
|
+
}
|
|
24
|
+
d((r = r.apply(a, [])).next());
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
function w(a, u) {
|
|
28
|
+
let n, r, t, s, o = {
|
|
29
|
+
label: 0,
|
|
30
|
+
sent: function() {
|
|
31
|
+
if (1 & t[0]) throw t[1];
|
|
32
|
+
return t[1];
|
|
33
|
+
},
|
|
34
|
+
trys: [],
|
|
35
|
+
ops: []
|
|
36
|
+
};
|
|
37
|
+
return s = { next: c(0), throw: c(1), return: c(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() {
|
|
38
|
+
return this;
|
|
39
|
+
}), s;
|
|
40
|
+
function c(d) {
|
|
41
|
+
return function(i) {
|
|
42
|
+
return function(e) {
|
|
43
|
+
if (n) throw new TypeError("Generator is already executing.");
|
|
44
|
+
for (; s && (s = 0, e[0] && (o = 0)), o; )
|
|
45
|
+
try {
|
|
46
|
+
if (n = 1, r && (t = 2 & e[0] ? r.return : e[0] ? r.throw || ((t = r.return) && t.call(r), 0) : r.next) && !(t = t.call(r, e[1])).done)
|
|
47
|
+
return t;
|
|
48
|
+
switch (r = 0, t && (e = [2 & e[0], t.value]), e[0]) {
|
|
49
|
+
case 0:
|
|
50
|
+
case 1:
|
|
51
|
+
t = e;
|
|
52
|
+
break;
|
|
53
|
+
case 4:
|
|
54
|
+
return o.label++, { value: e[1], done: !1 };
|
|
55
|
+
case 5:
|
|
56
|
+
o.label++, r = e[1], e = [0];
|
|
57
|
+
continue;
|
|
58
|
+
case 7:
|
|
59
|
+
e = o.ops.pop(), o.trys.pop();
|
|
60
|
+
continue;
|
|
61
|
+
default:
|
|
62
|
+
if (t = o.trys, !((t = t.length > 0 && t[t.length - 1]) || e[0] !== 6 && e[0] !== 2)) {
|
|
63
|
+
o = 0;
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
if (e[0] === 3 && (!t || e[1] > t[0] && e[1] < t[3])) {
|
|
67
|
+
o.label = e[1];
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
if (e[0] === 6 && o.label < t[1]) {
|
|
71
|
+
o.label = t[1], t = e;
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
if (t && o.label < t[2]) {
|
|
75
|
+
o.label = t[2], o.ops.push(e);
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
t[2] && o.ops.pop(), o.trys.pop();
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
e = u.call(a, o);
|
|
82
|
+
} catch (f) {
|
|
83
|
+
e = [6, f], r = 0;
|
|
84
|
+
} finally {
|
|
85
|
+
n = t = 0;
|
|
86
|
+
}
|
|
87
|
+
if (5 & e[0]) throw e[1];
|
|
88
|
+
return { value: e[0] ? e[1] : void 0, done: !0 };
|
|
89
|
+
}([d, i]);
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
const h = !!AudioWorkletNode;
|
|
94
|
+
function k() {
|
|
95
|
+
let a;
|
|
96
|
+
return !((a = navigator.mediaDevices) === null || a === void 0) && a.getUserMedia ? navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 }) : navigator.getUserMedia ? new Promise(function(u, n) {
|
|
97
|
+
navigator.getUserMedia(
|
|
98
|
+
{ audio: !0, video: !1 },
|
|
99
|
+
function(r) {
|
|
100
|
+
u(r);
|
|
101
|
+
},
|
|
102
|
+
function(r) {
|
|
103
|
+
n(r);
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
}) : Promise.reject(new Error("不支持录音"));
|
|
107
|
+
}
|
|
108
|
+
function b(a, u) {
|
|
109
|
+
return m(this, void 0, void 0, function() {
|
|
110
|
+
return w(this, function(n) {
|
|
111
|
+
switch (n.label) {
|
|
112
|
+
case 0:
|
|
113
|
+
return h ? [4, a.audioWorklet.addModule("".concat(u, "/processor.worklet.js"))] : [3, 2];
|
|
114
|
+
case 1:
|
|
115
|
+
return n.sent(), [2, new AudioWorkletNode(a, "processor-worklet")];
|
|
116
|
+
case 2:
|
|
117
|
+
return [4, new g("".concat(u, "/processor.worker.js"))];
|
|
118
|
+
case 3:
|
|
119
|
+
return [2, { port: n.sent() }];
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
function v(a) {
|
|
125
|
+
this.processorPath = a, this.audioBuffers = [];
|
|
126
|
+
}
|
|
127
|
+
v.prototype.start = function(a) {
|
|
128
|
+
let u, n = a.sampleRate, r = a.frameSize, t = a.arrayBufferType;
|
|
129
|
+
return m(this, void 0, void 0, function() {
|
|
130
|
+
let s, o, c, d, i, e;
|
|
131
|
+
return w(this, function(f) {
|
|
132
|
+
switch (f.label) {
|
|
133
|
+
case 0:
|
|
134
|
+
return (s = this).audioBuffers = [], [4, k()];
|
|
135
|
+
case 1:
|
|
136
|
+
return o = f.sent(), this.audioTracks = o.getAudioTracks(), c = function(l, y) {
|
|
137
|
+
let p;
|
|
138
|
+
try {
|
|
139
|
+
(p = new (window.AudioContext || window.webkitAudioContext)({
|
|
140
|
+
sampleRate: y
|
|
141
|
+
})).createMediaStreamSource(l);
|
|
142
|
+
} catch {
|
|
143
|
+
(p = new (window.AudioContext || window.webkitAudioContext)()).createMediaStreamSource(l);
|
|
144
|
+
}
|
|
145
|
+
return p;
|
|
146
|
+
}(o, n), this.audioContext = c, c.createMediaStreamSource(o), d = c.createMediaStreamSource(o), [4, b(c, this.processorPath)];
|
|
147
|
+
case 2:
|
|
148
|
+
return i = f.sent(), this.audioWorklet = i, i.port.postMessage({
|
|
149
|
+
type: "init",
|
|
150
|
+
data: {
|
|
151
|
+
frameSize: r,
|
|
152
|
+
toSampleRate: n || c.sampleRate,
|
|
153
|
+
fromSampleRate: c.sampleRate,
|
|
154
|
+
arrayBufferType: t || "short16"
|
|
155
|
+
}
|
|
156
|
+
}), i.port.onmessage = function(l) {
|
|
157
|
+
r && s.onFrameRecorded && s.onFrameRecorded(l.data), s.onStop && (l.data.frameBuffer && s.audioBuffers.push(l.data.frameBuffer), l.data.isLastFrame && !h && (i == null ? void 0 : i.port).terminate(), l.data.isLastFrame && s.onStop(s.audioBuffers));
|
|
158
|
+
}, h ? d.connect(i) : ((e = c.createScriptProcessor(0, 1, 1)).onaudioprocess = function(l) {
|
|
159
|
+
i.port.postMessage({
|
|
160
|
+
type: "message",
|
|
161
|
+
data: l.inputBuffer.getChannelData(0)
|
|
162
|
+
});
|
|
163
|
+
}, d.connect(e), e.connect(c.destination)), c.resume(), (u = this.onStart) === null || u === void 0 || u.call(this), [2];
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
};
|
|
168
|
+
v.prototype.stop = function() {
|
|
169
|
+
let a, u, n;
|
|
170
|
+
(a = this.audioWorklet) === null || a === void 0 || a.port.postMessage({ type: "stop" }), (u = this.audioTracks) === null || u === void 0 || u[0].stop(), (n = this.audioContext) === null || n === void 0 || n.suspend();
|
|
171
|
+
};
|
|
172
|
+
export {
|
|
173
|
+
v as RecorderManager
|
|
174
|
+
};
|
|
175
|
+
//# sourceMappingURL=recordManager.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recordManager.es.js","sources":["../../../src/utils/xunFeiVoice/recordManager.js"],"sourcesContent":["import CrossOriginWorker from 'co-web-worker';\n\nfunction e(e, t, r, o) {\n return new (r || (r = Promise))(function (n, a) {\n function i(e) {\n try {\n s(o.next(e));\n } catch (e) {\n a(e);\n }\n }\n function u(e) {\n try {\n s(o.throw(e));\n } catch (e) {\n a(e);\n }\n }\n function s(e) {\n let t;\n e.done\n ? n(e.value)\n : ((t = e.value),\n t instanceof r\n ? t\n : new r(function (e) {\n e(t);\n })).then(i, u);\n }\n s((o = o.apply(e, t || [])).next());\n });\n}\nfunction t(e, t) {\n let r,\n o,\n n,\n a,\n i = {\n label: 0,\n sent: function () {\n if (1 & n[0]) throw n[1];\n return n[1];\n },\n trys: [],\n ops: [],\n };\n return (\n (a = { next: u(0), throw: u(1), return: u(2) }),\n 'function' == typeof Symbol &&\n (a[Symbol.iterator] = function () {\n return this;\n }),\n a\n );\n function u(u) {\n return function (s) {\n return (function (u) {\n if (r) throw new TypeError('Generator is already executing.');\n for (; a && ((a = 0), u[0] && (i = 0)), i; )\n try {\n if (\n ((r = 1),\n o &&\n (n =\n 2 & u[0]\n ? o.return\n : u[0]\n ? o.throw || ((n = o.return) && n.call(o), 0)\n : o.next) &&\n !(n = n.call(o, u[1])).done)\n )\n return n;\n switch (((o = 0), n && (u = [2 & u[0], n.value]), u[0])) {\n case 0:\n case 1:\n n = u;\n break;\n case 4:\n return i.label++, { value: u[1], done: !1 };\n case 5:\n i.label++, (o = u[1]), (u = [0]);\n continue;\n case 7:\n (u = i.ops.pop()), i.trys.pop();\n continue;\n default:\n if (\n !((n = i.trys),\n (n = n.length > 0 && n[n.length - 1]) || (6 !== u[0] && 2 !== u[0]))\n ) {\n i = 0;\n continue;\n }\n if (3 === u[0] && (!n || (u[1] > n[0] && u[1] < n[3]))) {\n i.label = u[1];\n break;\n }\n if (6 === u[0] && i.label < n[1]) {\n (i.label = n[1]), (n = u);\n break;\n }\n if (n && i.label < n[2]) {\n (i.label = n[2]), i.ops.push(u);\n break;\n }\n n[2] && i.ops.pop(), i.trys.pop();\n continue;\n }\n u = t.call(e, i);\n } catch (e) {\n (u = [6, e]), (o = 0);\n } finally {\n r = n = 0;\n }\n if (5 & u[0]) throw u[1];\n return { value: u[0] ? u[1] : void 0, done: !0 };\n })([u, s]);\n };\n }\n}\nconst canUseAudioWork = !!AudioWorkletNode;\nfunction o() {\n let e;\n return (null === (e = navigator.mediaDevices) || void 0 === e ? void 0 : e.getUserMedia)\n ? navigator.mediaDevices.getUserMedia({ audio: !0, video: !1 })\n : navigator.getUserMedia\n ? new Promise(function (e, t) {\n navigator.getUserMedia(\n { audio: !0, video: !1 },\n function (t) {\n e(t);\n },\n function (e) {\n t(e);\n },\n );\n })\n : Promise.reject(new Error('不支持录音'));\n}\nfunction n(o, n) {\n return e(this, void 0, void 0, function () {\n return t(this, function (e) {\n switch (e.label) {\n case 0:\n return canUseAudioWork\n ? [4, o.audioWorklet.addModule(''.concat(n, '/processor.worklet.js'))]\n : [3, 2];\n case 1:\n return e.sent(), [2, new AudioWorkletNode(o, 'processor-worklet')];\n case 2:\n return [4, new CrossOriginWorker(''.concat(n, '/processor.worker.js'))];\n case 3:\n return [2, { port: e.sent() }];\n }\n });\n });\n}\n/**\n * @type {new (processorPath: string): any}\n */\nexport function RecorderManager(e) {\n this.processorPath = e;\n this.audioBuffers = [];\n}\nRecorderManager.prototype.start = function (a) {\n let i,\n u = a.sampleRate,\n s = a.frameSize,\n c = a.arrayBufferType;\n return e(this, void 0, void 0, function () {\n let e, a, d, l, f, p;\n return t(this, function (t) {\n switch (t.label) {\n case 0:\n return ((e = this).audioBuffers = []), [4, o()];\n case 1:\n return (\n (a = t.sent()),\n (this.audioTracks = a.getAudioTracks()),\n (d = (function (e, t) {\n let r;\n try {\n (r = new (window.AudioContext || window.webkitAudioContext)({\n sampleRate: t,\n })).createMediaStreamSource(e);\n } catch (t) {\n (r = new (window.AudioContext ||\n window.webkitAudioContext)()).createMediaStreamSource(e);\n }\n return r;\n })(a, u)),\n (this.audioContext = d),\n d.createMediaStreamSource(a),\n (l = d.createMediaStreamSource(a)),\n [4, n(d, this.processorPath)]\n );\n case 2:\n return (\n (f = t.sent()),\n (this.audioWorklet = f),\n f.port.postMessage({\n type: 'init',\n data: {\n frameSize: s,\n toSampleRate: u || d.sampleRate,\n fromSampleRate: d.sampleRate,\n arrayBufferType: c || 'short16',\n },\n }),\n (f.port.onmessage = function (t) {\n s && e.onFrameRecorded && e.onFrameRecorded(t.data),\n e.onStop &&\n (t.data.frameBuffer && e.audioBuffers.push(t.data.frameBuffer),\n t.data.isLastFrame &&\n !canUseAudioWork &&\n (null == f ? void 0 : f.port).terminate(),\n t.data.isLastFrame && e.onStop(e.audioBuffers));\n }),\n canUseAudioWork\n ? l.connect(f)\n : (((p = d.createScriptProcessor(0, 1, 1)).onaudioprocess = function (e) {\n f.port.postMessage({\n type: 'message',\n data: e.inputBuffer.getChannelData(0),\n });\n }),\n l.connect(p),\n p.connect(d.destination)),\n d.resume(),\n null === (i = this.onStart) || void 0 === i || i.call(this),\n [2]\n );\n }\n });\n });\n};\nRecorderManager.prototype.stop = function () {\n let e, t, r;\n null === (e = this.audioWorklet) || void 0 === e || e.port.postMessage({ type: 'stop' }),\n null === (t = this.audioTracks) || void 0 === t || t[0].stop(),\n null === (r = this.audioContext) || void 0 === r || r.suspend();\n};\n"],"names":["e","t","r","o","n","a","i","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AC,GACXA,EAAE,QAAQH,EAAE,WAAW,IAC3BA,EAAE,OAAQ,IACAP,IAAI,KAAK,aAAnB,QAA0CA,MAAX,UAAgBA,EAAE,KAAK,IAAI,GAC1D,CAAC,CAAC;AAAA,MAEd;AAAA,IACA,CAAK;AAAA,EACL,CAAG;AACH;AACAK,EAAgB,UAAU,OAAO,WAAY;AAC3C,MAAIX,GAAGC,GAAGC;AACV,GAAUF,IAAI,KAAK,kBAAnB,QAA+CA,MAAX,UAAgBA,EAAE,KAAK,YAAY,EAAE,MAAM,OAAM,CAAE,IAC3EC,IAAI,KAAK,iBAAnB,QAA8CA,MAAX,UAAgBA,EAAE,CAAC,EAAE,KAAM,IACpDC,IAAI,KAAK,kBAAnB,QAA+CA,MAAX,UAAgBA,EAAE,QAAS;AACnE;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface OnRecordProcessParams {
|
|
2
|
+
isLastFrame: boolean;
|
|
3
|
+
frameBuffer: ArrayBuffer;
|
|
4
|
+
}
|
|
5
|
+
declare class RecorderManagerClass {
|
|
6
|
+
/**
|
|
7
|
+
* 构造函数
|
|
8
|
+
* @param processorPath processor的文件路径,如果processor.worker.js的访问地址为`/a/b/processor.worker.js`,则processorPath 为`/a/b`
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
constructor(processorPath: string);
|
|
12
|
+
private audioBuffers;
|
|
13
|
+
private processorPath;
|
|
14
|
+
private audioContext?;
|
|
15
|
+
private audioTracks?;
|
|
16
|
+
private audioWorklet?;
|
|
17
|
+
onStop?: (audioBuffers: ArrayBuffer[]) => void;
|
|
18
|
+
onFrameRecorded?: (params: OnRecordProcessParams) => void;
|
|
19
|
+
/**
|
|
20
|
+
* 监听录音开始事件
|
|
21
|
+
*/
|
|
22
|
+
onStart?: () => void;
|
|
23
|
+
start({ sampleRate, frameSize, arrayBufferType, }: {
|
|
24
|
+
sampleRate?: number;
|
|
25
|
+
frameSize?: number;
|
|
26
|
+
arrayBufferType?: 'short16' | 'float32';
|
|
27
|
+
}): Promise<void>;
|
|
28
|
+
stop(): void;
|
|
29
|
+
}
|
|
30
|
+
export { RecorderManagerClass };
|