zego-express-engine-webrtc
Version:
zego webrtc express sdk
18 lines (15 loc) • 339 kB
JavaScript
!function(t,i){if("object"==typeof exports&&"object"==typeof module)module.exports=i(require("long"));else if("function"==typeof define&&define.amd)define(["long"],i);else{var n="object"==typeof exports?i(require("long")):i(t.long);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}("undefined"!=typeof self?self:this,(function(t){return function(){var i={955:function(t,i,n){var r;t.exports=(r=n(9021),n(754),n(4636),n(9506),n(7165),function(){var t=r,i=t.lib.BlockCipher,n=t.algo,e=[],o=[],s=[],u=[],c=[],a=[],l=[],h=[],d=[],f=[];!function(){for(var t=[],i=0;i<256;i++)t[i]=i<128?i<<1:i<<1^283;var n=0,r=0;for(i=0;i<256;i++){var b=r^r<<1^r<<2^r<<3^r<<4;e[n]=b=b>>>8^255&b^99,o[b]=n;var m,Z=t[n],y=t[Z],v=t[y];s[n]=(m=257*t[b]^16843008*b)<<24|m>>>8,u[n]=m<<16|m>>>16,c[n]=m<<8|m>>>24,a[n]=m,l[b]=(m=16843009*v^65537*y^257*Z^16843008*n)<<24|m>>>8,h[b]=m<<16|m>>>16,d[b]=m<<8|m>>>24,f[b]=m,n?(n=Z^t[t[t[v^Z]]],r^=t[t[r]]):n=r=1}}();var b=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,i=t.words,n=t.sigBytes/4,r=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],s=0;s<r;s++)s<n?o[s]=i[s]:(a=o[s-1],s%n?n>6&&s%n==4&&(a=e[a>>>24]<<24|e[a>>>16&255]<<16|e[a>>>8&255]<<8|e[255&a]):(a=e[(a=a<<8|a>>>24)>>>24]<<24|e[a>>>16&255]<<16|e[a>>>8&255]<<8|e[255&a],a^=b[s/n|0]<<24),o[s]=o[s-n]^a);for(var u=this._invKeySchedule=[],c=0;c<r;c++){if(s=r-c,c%4)var a=o[s];else a=o[s-4];u[c]=c<4||s<=4?a:l[e[a>>>24]]^h[e[a>>>16&255]]^d[e[a>>>8&255]]^f[e[255&a]]}}},encryptBlock:function(t,i){this._doCryptBlock(t,i,this._keySchedule,s,u,c,a,e)},decryptBlock:function(t,i){var n=t[i+1];t[i+1]=t[i+3],t[i+3]=n,this._doCryptBlock(t,i,this._invKeySchedule,l,h,d,f,o),n=t[i+1],t[i+1]=t[i+3],t[i+3]=n},_doCryptBlock:function(t,i,n,r,e,o,s,u){for(var c=this._nRounds,a=t[i]^n[0],l=t[i+1]^n[1],h=t[i+2]^n[2],d=t[i+3]^n[3],f=4,b=1;b<c;b++){var m=r[a>>>24]^e[l>>>16&255]^o[h>>>8&255]^s[255&d]^n[f++],Z=r[l>>>24]^e[h>>>16&255]^o[d>>>8&255]^s[255&a]^n[f++],y=r[h>>>24]^e[d>>>16&255]^o[a>>>8&255]^s[255&l]^n[f++],v=r[d>>>24]^e[a>>>16&255]^o[l>>>8&255]^s[255&h]^n[f++];a=m,l=Z,h=y,d=v}m=(u[a>>>24]<<24|u[l>>>16&255]<<16|u[h>>>8&255]<<8|u[255&d])^n[f++],Z=(u[l>>>24]<<24|u[h>>>16&255]<<16|u[d>>>8&255]<<8|u[255&a])^n[f++],y=(u[h>>>24]<<24|u[d>>>16&255]<<16|u[a>>>8&255]<<8|u[255&l])^n[f++],v=(u[d>>>24]<<24|u[a>>>16&255]<<16|u[l>>>8&255]<<8|u[255&h])^n[f++],t[i]=m,t[i+1]=Z,t[i+2]=y,t[i+3]=v},keySize:8});t.AES=i._createHelper(m)}(),r.AES)},3128:function(t,i,n){var r;t.exports=(r=n(9021),n(754),n(4636),n(9506),n(7165),function(){var t=r,i=t.lib.BlockCipher;const n=16,e=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],o=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var s={pbox:[],sbox:[]};function u(t,i){let n=t.sbox[0][i>>24&255]+t.sbox[1][i>>16&255];return n^=t.sbox[2][i>>8&255],n+=t.sbox[3][255&i],n}function c(t,i,r){let e,o=i,s=r;for(let i=0;i<n;++i)o^=t.pbox[i],s=u(t,o)^s,e=o,o=s,s=e;return e=o,o=s,s=e,s^=t.pbox[n],o^=t.pbox[n+1],{left:o,right:s}}function a(t,i,r){let e,o=i,s=r;for(let i=n+1;i>1;--i)o^=t.pbox[i],s=u(t,o)^s,e=o,o=s,s=e;return e=o,o=s,s=e,s^=t.pbox[1],o^=t.pbox[0],{left:o,right:s}}function l(t,i,r){for(let i=0;i<4;i++){t.sbox[i]=[];for(let n=0;n<256;n++)t.sbox[i][n]=o[i][n]}let s=0;for(let o=0;o<n+2;o++)t.pbox[o]=e[o]^i[s],s++,s>=r&&(s=0);let u=0,a=0,l=0;for(let i=0;i<n+2;i+=2)l=c(t,u,a),u=l.left,a=l.right,t.pbox[i]=u,t.pbox[i+1]=a;for(let i=0;i<4;i++)for(let n=0;n<256;n+=2)l=c(t,u,a),u=l.left,a=l.right,t.sbox[i][n]=u,t.sbox[i][n+1]=a;return!0}var h=t.algo.Blowfish=i.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var t=this._keyPriorReset=this._key;l(s,t.words,t.sigBytes/4)}},encryptBlock:function(t,i){var n=c(s,t[i],t[i+1]);t[i]=n.left,t[i+1]=n.right},decryptBlock:function(t,i){var n=a(s,t[i],t[i+1]);t[i]=n.left,t[i+1]=n.right},blockSize:2,keySize:4,ivSize:2});t.Blowfish=i._createHelper(h)}(),r.Blowfish)},7165:function(t,i,n){var r;t.exports=(r=n(9021),n(9506),void(r.lib.Cipher||function(t){var i=r,n=i.lib,e=n.Base,o=n.WordArray,s=n.BufferedBlockAlgorithm,u=i.enc,c=u.Base64,a=i.algo.EvpKDF,l=n.Cipher=s.extend({cfg:e.extend(),createEncryptor:function(t,i){return this.create(this._ENC_XFORM_MODE,t,i)},createDecryptor:function(t,i){return this.create(this._DEC_XFORM_MODE,t,i)},init:function(t,i,n){this.cfg=this.cfg.extend(n),this._xformMode=t,this._key=i,this.reset()},reset:function(){s.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?p:y}return function(i){return{encrypt:function(n,r,e){return t(r).encrypt(i,n,r,e)},decrypt:function(n,r,e){return t(r).decrypt(i,n,r,e)}}}}()}),h=(n.StreamCipher=l.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),i.mode={}),d=n.BlockCipherMode=e.extend({createEncryptor:function(t,i){return this.Encryptor.create(t,i)},createDecryptor:function(t,i){return this.Decryptor.create(t,i)},init:function(t,i){this._cipher=t,this._iv=i}}),f=h.CBC=function(){var i=d.extend();function n(i,n,r){var e,o=this._iv;o?(e=o,this._iv=t):e=this._prevBlock;for(var s=0;s<r;s++)i[n+s]^=e[s]}return i.Encryptor=i.extend({processBlock:function(t,i){var r=this._cipher,e=r.blockSize;n.call(this,t,i,e),r.encryptBlock(t,i),this._prevBlock=t.slice(i,i+e)}}),i.Decryptor=i.extend({processBlock:function(t,i){var r=this._cipher,e=r.blockSize,o=t.slice(i,i+e);r.decryptBlock(t,i),n.call(this,t,i,e),this._prevBlock=o}}),i}(),b=(i.pad={}).Pkcs7={pad:function(t,i){for(var n=4*i,r=n-t.sigBytes%n,e=r<<24|r<<16|r<<8|r,s=[],u=0;u<r;u+=4)s.push(e);var c=o.create(s,r);t.concat(c)},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},m=(n.BlockCipher=l.extend({cfg:l.cfg.extend({mode:f,padding:b}),reset:function(){var t;l.reset.call(this);var i=this.cfg,n=i.iv,r=i.mode;this._xformMode==this._ENC_XFORM_MODE?t=r.createEncryptor:(t=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,n&&n.words):(this._mode=t.call(r,this,n&&n.words),this._mode.__creator=t)},_doProcessBlock:function(t,i){this._mode.processBlock(t,i)},_doFinalize:function(){var t,i=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(i.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),i.unpad(t)),t},blockSize:4}),n.CipherParams=e.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),Z=(i.format={}).OpenSSL={stringify:function(t){var i=t.ciphertext,n=t.salt;return(n?o.create([1398893684,1701076831]).concat(n).concat(i):i).toString(c)},parse:function(t){var i,n=c.parse(t),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(i=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),m.create({ciphertext:n,salt:i})}},y=n.SerializableCipher=e.extend({cfg:e.extend({format:Z}),encrypt:function(t,i,n,r){r=this.cfg.extend(r);var e=t.createEncryptor(n,r),o=e.finalize(i),s=e.cfg;return m.create({ciphertext:o,key:n,iv:s.iv,algorithm:t,mode:s.mode,padding:s.padding,blockSize:t.blockSize,formatter:r.format})},decrypt:function(t,i,n,r){return r=this.cfg.extend(r),i=this._parse(i,r.format),t.createDecryptor(n,r).finalize(i.ciphertext)},_parse:function(t,i){return"string"==typeof t?i.parse(t,this):t}}),v=(i.kdf={}).OpenSSL={execute:function(t,i,n,r,e){if(r||(r=o.random(8)),e)s=a.create({keySize:i+n,hasher:e}).compute(t,r);else var s=a.create({keySize:i+n}).compute(t,r);var u=o.create(s.words.slice(i),4*n);return s.sigBytes=4*i,m.create({key:s,iv:u,salt:r})}},p=n.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:v}),encrypt:function(t,i,n,r){var e=(r=this.cfg.extend(r)).kdf.execute(n,t.keySize,t.ivSize,r.salt,r.hasher);r.iv=e.iv;var o=y.encrypt.call(this,t,i,e.key,r);return o.mixIn(e),o},decrypt:function(t,i,n,r){r=this.cfg.extend(r),i=this._parse(i,r.format);var e=r.kdf.execute(n,t.keySize,t.ivSize,i.salt,r.hasher);return r.iv=e.iv,y.decrypt.call(this,t,i,e.key,r)}})}()))},9021:function(t,i,n){var r;t.exports=(r=r||function(t,i){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(477)}catch(t){}var e=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function t(){}return function(i){var n;return t.prototype=i,n=new t,t.prototype=null,n}}(),s={},u=s.lib={},c=u.Base={extend:function(t){var i=o(this);return t&&i.mixIn(t),i.hasOwnProperty("init")&&this.init!==i.init||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},a=u.WordArray=c.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=i?n:4*t.length},toString:function(t){return(t||h).stringify(this)},concat:function(t){var i=this.words,n=t.words,r=this.sigBytes,e=t.sigBytes;if(this.clamp(),r%4)for(var o=0;o<e;o++)i[r+o>>>2]|=(n[o>>>2]>>>24-o%4*8&255)<<24-(r+o)%4*8;else for(var s=0;s<e;s+=4)i[r+s>>>2]=n[s>>>2];return this.sigBytes+=e,this},clamp:function(){var i=this.words,n=this.sigBytes;i[n>>>2]&=4294967295<<32-n%4*8,i.length=t.ceil(n/4)},clone:function(){var t=c.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var i=[],n=0;n<t;n+=4)i.push(e());return new a.init(i,t)}}),l=s.enc={},h=l.Hex={stringify:function(t){for(var i=t.words,n=t.sigBytes,r=[],e=0;e<n;e++){var o=i[e>>>2]>>>24-e%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var i=t.length,n=[],r=0;r<i;r+=2)n[r>>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new a.init(n,i/2)}},d=l.Latin1={stringify:function(t){for(var i=t.words,n=t.sigBytes,r=[],e=0;e<n;e++)r.push(String.fromCharCode(i[e>>>2]>>>24-e%4*8&255));return r.join("")},parse:function(t){for(var i=t.length,n=[],r=0;r<i;r++)n[r>>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new a.init(n,i)}},f=l.Utf8={stringify:function(t){try{return decodeURIComponent(escape(d.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return d.parse(unescape(encodeURIComponent(t)))}},b=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=f.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(i){var n,r=this._data,e=r.words,o=r.sigBytes,s=this.blockSize,u=o/(4*s),c=(u=i?t.ceil(u):t.max((0|u)-this._minBufferSize,0))*s,l=t.min(4*c,o);if(c){for(var h=0;h<c;h+=s)this._doProcessBlock(e,h);n=e.splice(0,c),r.sigBytes-=l}return new a.init(n,l)},clone:function(){var t=c.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),m=(u.Hasher=b.extend({cfg:c.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){b.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(i,n){return new t.init(n).finalize(i)}},_createHmacHelper:function(t){return function(i,n){return new m.HMAC.init(t,n).finalize(i)}}}),s.algo={});return s}(Math),r)},754:function(t,i,n){var r;t.exports=(r=n(9021),function(){var t=r.lib.WordArray;function i(i,n,r){for(var e=[],o=0,s=0;s<n;s++)if(s%4){var u=r[i.charCodeAt(s-1)]<<s%4*2,c=r[i.charCodeAt(s)]>>>6-s%4*2;e[o>>>2]|=(u|c)<<24-o%4*8,o++}return t.create(e,o)}r.enc.Base64={stringify:function(t){var i=t.words,n=t.sigBytes,r=this._map;t.clamp();for(var e=[],o=0;o<n;o+=3)for(var s=(i[o>>>2]>>>24-o%4*8&255)<<16|(i[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|i[o+2>>>2]>>>24-(o+2)%4*8&255,u=0;u<4&&o+.75*u<n;u++)e.push(r.charAt(s>>>6*(3-u)&63));var c=r.charAt(64);if(c)for(;e.length%4;)e.push(c);return e.join("")},parse:function(t){var n=t.length,r=this._map,e=this._reverseMap;if(!e){e=this._reverseMap=[];for(var o=0;o<r.length;o++)e[r.charCodeAt(o)]=o}var s=r.charAt(64);if(s){var u=t.indexOf(s);-1!==u&&(n=u)}return i(t,n,e)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),r.enc.Base64)},4725:function(t,i,n){var r;t.exports=(r=n(9021),function(){var t=r.lib.WordArray;function i(i,n,r){for(var e=[],o=0,s=0;s<n;s++)if(s%4){var u=r[i.charCodeAt(s-1)]<<s%4*2,c=r[i.charCodeAt(s)]>>>6-s%4*2;e[o>>>2]|=(u|c)<<24-o%4*8,o++}return t.create(e,o)}r.enc.Base64url={stringify:function(t,i){void 0===i&&(i=!0);var n=t.words,r=t.sigBytes,e=i?this._safe_map:this._map;t.clamp();for(var o=[],s=0;s<r;s+=3)for(var u=(n[s>>>2]>>>24-s%4*8&255)<<16|(n[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|n[s+2>>>2]>>>24-(s+2)%4*8&255,c=0;c<4&&s+.75*c<r;c++)o.push(e.charAt(u>>>6*(3-c)&63));var a=e.charAt(64);if(a)for(;o.length%4;)o.push(a);return o.join("")},parse:function(t,n){void 0===n&&(n=!0);var r=t.length,e=n?this._safe_map:this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var s=0;s<e.length;s++)o[e.charCodeAt(s)]=s}var u=e.charAt(64);if(u){var c=t.indexOf(u);-1!==c&&(r=c)}return i(t,r,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),r.enc.Base64url)},5503:function(t,i,n){var r;t.exports=(r=n(9021),function(){var t=r.lib.WordArray,i=r.enc;function n(t){return t<<8&4278255360|t>>>8&16711935}i.Utf16=i.Utf16BE={stringify:function(t){for(var i=t.words,n=t.sigBytes,r=[],e=0;e<n;e+=2)r.push(String.fromCharCode(i[e>>>2]>>>16-e%4*8&65535));return r.join("")},parse:function(i){for(var n=i.length,r=[],e=0;e<n;e++)r[e>>>1]|=i.charCodeAt(e)<<16-e%2*16;return t.create(r,2*n)}},i.Utf16LE={stringify:function(t){for(var i=t.words,r=t.sigBytes,e=[],o=0;o<r;o+=2){var s=n(i[o>>>2]>>>16-o%4*8&65535);e.push(String.fromCharCode(s))}return e.join("")},parse:function(i){for(var r=i.length,e=[],o=0;o<r;o++)e[o>>>1]|=n(i.charCodeAt(o)<<16-o%2*16);return t.create(e,2*r)}}}(),r.enc.Utf16)},9506:function(t,i,n){var r,e,o,s,u,c,a;t.exports=(a=n(9021),n(5471),n(1025),s=(e=(r=a).lib).WordArray,c=(u=r.algo).EvpKDF=(o=e.Base).extend({cfg:o.extend({keySize:4,hasher:u.MD5,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,i){for(var n,r=this.cfg,e=r.hasher.create(),o=s.create(),u=o.words,c=r.keySize,a=r.iterations;u.length<c;){n&&e.update(n),n=e.update(t).finalize(i),e.reset();for(var l=1;l<a;l++)n=e.finalize(n),e.reset();o.concat(n)}return o.sigBytes=4*c,o}}),r.EvpKDF=function(t,i,n){return c.create(n).compute(t,i)},a.EvpKDF)},25:function(t,i,n){var r,e,o;t.exports=(o=n(9021),n(7165),r=o.lib.CipherParams,e=o.enc.Hex,o.format.Hex={stringify:function(t){return t.ciphertext.toString(e)},parse:function(t){var i=e.parse(t);return r.create({ciphertext:i})}},o.format.Hex)},1025:function(t,i,n){var r,e;t.exports=(r=n(9021),e=r.enc.Utf8,void(r.algo.HMAC=r.lib.Base.extend({init:function(t,i){t=this._hasher=new t.init,"string"==typeof i&&(i=e.parse(i));var n=t.blockSize,r=4*n;i.sigBytes>r&&(i=t.finalize(i)),i.clamp();for(var o=this._oKey=i.clone(),s=this._iKey=i.clone(),u=o.words,c=s.words,a=0;a<n;a++)u[a]^=1549556828,c[a]^=909522486;o.sigBytes=s.sigBytes=r,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var i=this._hasher,n=i.finalize(t);return i.reset(),i.finalize(this._oKey.clone().concat(n))}})))},1396:function(t,i,n){var r;t.exports=(r=n(9021),n(3240),n(6440),n(5503),n(754),n(4725),n(4636),n(5471),n(3009),n(6308),n(1380),n(9557),n(5953),n(8056),n(1025),n(19),n(9506),n(7165),n(2169),n(6939),n(6372),n(3797),n(8454),n(2073),n(4905),n(482),n(2155),n(8124),n(25),n(955),n(7628),n(7193),n(6298),n(2696),n(3128),r)},6440:function(t,i,n){var r;t.exports=(r=n(9021),function(){if("function"==typeof ArrayBuffer){var t=r.lib.WordArray,i=t.init,n=t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var n=t.byteLength,r=[],e=0;e<n;e++)r[e>>>2]|=t[e]<<24-e%4*8;i.call(this,r,n)}else i.apply(this,arguments)};n.prototype=t}}(),r.lib.WordArray)},4636:function(t,i,n){var r;t.exports=(r=n(9021),function(t){var i=r,n=i.lib,e=n.WordArray,o=n.Hasher,s=i.algo,u=[];!function(){for(var i=0;i<64;i++)u[i]=4294967296*t.abs(t.sin(i+1))|0}();var c=s.MD5=o.extend({_doReset:function(){this._hash=new e.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,i){for(var n=0;n<16;n++){var r=i+n,e=t[r];t[r]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8)}var o=this._hash.words,s=t[i+0],c=t[i+1],f=t[i+2],b=t[i+3],m=t[i+4],Z=t[i+5],y=t[i+6],v=t[i+7],p=t[i+8],W=t[i+9],X=t[i+10],G=t[i+11],V=t[i+12],I=t[i+13],g=t[i+14],w=t[i+15],Y=o[0],S=o[1],K=o[2],R=o[3];Y=a(Y,S,K,R,s,7,u[0]),R=a(R,Y,S,K,c,12,u[1]),K=a(K,R,Y,S,f,17,u[2]),S=a(S,K,R,Y,b,22,u[3]),Y=a(Y,S,K,R,m,7,u[4]),R=a(R,Y,S,K,Z,12,u[5]),K=a(K,R,Y,S,y,17,u[6]),S=a(S,K,R,Y,v,22,u[7]),Y=a(Y,S,K,R,p,7,u[8]),R=a(R,Y,S,K,W,12,u[9]),K=a(K,R,Y,S,X,17,u[10]),S=a(S,K,R,Y,G,22,u[11]),Y=a(Y,S,K,R,V,7,u[12]),R=a(R,Y,S,K,I,12,u[13]),K=a(K,R,Y,S,g,17,u[14]),Y=l(Y,S=a(S,K,R,Y,w,22,u[15]),K,R,c,5,u[16]),R=l(R,Y,S,K,y,9,u[17]),K=l(K,R,Y,S,G,14,u[18]),S=l(S,K,R,Y,s,20,u[19]),Y=l(Y,S,K,R,Z,5,u[20]),R=l(R,Y,S,K,X,9,u[21]),K=l(K,R,Y,S,w,14,u[22]),S=l(S,K,R,Y,m,20,u[23]),Y=l(Y,S,K,R,W,5,u[24]),R=l(R,Y,S,K,g,9,u[25]),K=l(K,R,Y,S,b,14,u[26]),S=l(S,K,R,Y,p,20,u[27]),Y=l(Y,S,K,R,I,5,u[28]),R=l(R,Y,S,K,f,9,u[29]),K=l(K,R,Y,S,v,14,u[30]),Y=h(Y,S=l(S,K,R,Y,V,20,u[31]),K,R,Z,4,u[32]),R=h(R,Y,S,K,p,11,u[33]),K=h(K,R,Y,S,G,16,u[34]),S=h(S,K,R,Y,g,23,u[35]),Y=h(Y,S,K,R,c,4,u[36]),R=h(R,Y,S,K,m,11,u[37]),K=h(K,R,Y,S,v,16,u[38]),S=h(S,K,R,Y,X,23,u[39]),Y=h(Y,S,K,R,I,4,u[40]),R=h(R,Y,S,K,s,11,u[41]),K=h(K,R,Y,S,b,16,u[42]),S=h(S,K,R,Y,y,23,u[43]),Y=h(Y,S,K,R,W,4,u[44]),R=h(R,Y,S,K,V,11,u[45]),K=h(K,R,Y,S,w,16,u[46]),Y=d(Y,S=h(S,K,R,Y,f,23,u[47]),K,R,s,6,u[48]),R=d(R,Y,S,K,v,10,u[49]),K=d(K,R,Y,S,g,15,u[50]),S=d(S,K,R,Y,Z,21,u[51]),Y=d(Y,S,K,R,V,6,u[52]),R=d(R,Y,S,K,b,10,u[53]),K=d(K,R,Y,S,X,15,u[54]),S=d(S,K,R,Y,c,21,u[55]),Y=d(Y,S,K,R,p,6,u[56]),R=d(R,Y,S,K,w,10,u[57]),K=d(K,R,Y,S,y,15,u[58]),S=d(S,K,R,Y,I,21,u[59]),Y=d(Y,S,K,R,m,6,u[60]),R=d(R,Y,S,K,G,10,u[61]),K=d(K,R,Y,S,f,15,u[62]),S=d(S,K,R,Y,W,21,u[63]),o[0]=o[0]+Y|0,o[1]=o[1]+S|0,o[2]=o[2]+K|0,o[3]=o[3]+R|0},_doFinalize:function(){var i=this._data,n=i.words,r=8*this._nDataBytes,e=8*i.sigBytes;n[e>>>5]|=128<<24-e%32;var o=t.floor(r/4294967296),s=r;n[15+(e+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(e+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),i.sigBytes=4*(n.length+1),this._process();for(var u=this._hash,c=u.words,a=0;a<4;a++){var l=c[a];c[a]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return u},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function a(t,i,n,r,e,o,s){var u=t+(i&n|~i&r)+e+s;return(u<<o|u>>>32-o)+i}function l(t,i,n,r,e,o,s){var u=t+(i&r|n&~r)+e+s;return(u<<o|u>>>32-o)+i}function h(t,i,n,r,e,o,s){var u=t+(i^n^r)+e+s;return(u<<o|u>>>32-o)+i}function d(t,i,n,r,e,o,s){var u=t+(n^(i|~r))+e+s;return(u<<o|u>>>32-o)+i}i.MD5=o._createHelper(c),i.HmacMD5=o._createHmacHelper(c)}(Math),r.MD5)},2169:function(t,i,n){var r;t.exports=(r=n(9021),n(7165),r.mode.CFB=function(){var t=r.lib.BlockCipherMode.extend();function i(t,i,n,r){var e,o=this._iv;o?(e=o.slice(0),this._iv=void 0):e=this._prevBlock,r.encryptBlock(e,0);for(var s=0;s<n;s++)t[i+s]^=e[s]}return t.Encryptor=t.extend({processBlock:function(t,n){var r=this._cipher,e=r.blockSize;i.call(this,t,n,e,r),this._prevBlock=t.slice(n,n+e)}}),t.Decryptor=t.extend({processBlock:function(t,n){var r=this._cipher,e=r.blockSize,o=t.slice(n,n+e);i.call(this,t,n,e,r),this._prevBlock=o}}),t}(),r.mode.CFB)},6372:function(t,i,n){var r;t.exports=(r=n(9021),n(7165),
/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/
r.mode.CTRGladman=function(){var t=r.lib.BlockCipherMode.extend();function i(t){if(255&~(t>>24))t+=1<<24;else{var i=t>>16&255,n=t>>8&255,r=255&t;255===i?(i=0,255===n?(n=0,255===r?r=0:++r):++n):++i,t=0,t+=i<<16,t+=n<<8,t+=r}return t}function n(t){return 0===(t[0]=i(t[0]))&&(t[1]=i(t[1])),t}var e=t.Encryptor=t.extend({processBlock:function(t,i){var r=this._cipher,e=r.blockSize,o=this._iv,s=this._counter;o&&(s=this._counter=o.slice(0),this._iv=void 0),n(s);var u=s.slice(0);r.encryptBlock(u,0);for(var c=0;c<e;c++)t[i+c]^=u[c]}});return t.Decryptor=e,t}(),r.mode.CTRGladman)},6939:function(t,i,n){var r,e,o;t.exports=(o=n(9021),n(7165),o.mode.CTR=(r=o.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(t,i){var n=this._cipher,r=n.blockSize,e=this._iv,o=this._counter;e&&(o=this._counter=e.slice(0),this._iv=void 0);var s=o.slice(0);n.encryptBlock(s,0),o[r-1]=o[r-1]+1|0;for(var u=0;u<r;u++)t[i+u]^=s[u]}}),r.Decryptor=e,r),o.mode.CTR)},8454:function(t,i,n){var r,e;t.exports=(e=n(9021),n(7165),e.mode.ECB=((r=e.lib.BlockCipherMode.extend()).Encryptor=r.extend({processBlock:function(t,i){this._cipher.encryptBlock(t,i)}}),r.Decryptor=r.extend({processBlock:function(t,i){this._cipher.decryptBlock(t,i)}}),r),e.mode.ECB)},3797:function(t,i,n){var r,e,o;t.exports=(o=n(9021),n(7165),o.mode.OFB=(r=o.lib.BlockCipherMode.extend(),e=r.Encryptor=r.extend({processBlock:function(t,i){var n=this._cipher,r=n.blockSize,e=this._iv,o=this._keystream;e&&(o=this._keystream=e.slice(0),this._iv=void 0),n.encryptBlock(o,0);for(var s=0;s<r;s++)t[i+s]^=o[s]}}),r.Decryptor=e,r),o.mode.OFB)},2073:function(t,i,n){var r;t.exports=(r=n(9021),n(7165),r.pad.AnsiX923={pad:function(t,i){var n=t.sigBytes,r=4*i,e=r-n%r,o=n+e-1;t.clamp(),t.words[o>>>2]|=e<<24-o%4*8,t.sigBytes+=e},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},r.pad.Ansix923)},4905:function(t,i,n){var r;t.exports=(r=n(9021),n(7165),r.pad.Iso10126={pad:function(t,i){var n=4*i,e=n-t.sigBytes%n;t.concat(r.lib.WordArray.random(e-1)).concat(r.lib.WordArray.create([e<<24],1))},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},r.pad.Iso10126)},482:function(t,i,n){var r;t.exports=(r=n(9021),n(7165),r.pad.Iso97971={pad:function(t,i){t.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(t,i)},unpad:function(t){r.pad.ZeroPadding.unpad(t),t.sigBytes--}},r.pad.Iso97971)},8124:function(t,i,n){var r;t.exports=(r=n(9021),n(7165),r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding)},2155:function(t,i,n){var r;t.exports=(r=n(9021),n(7165),r.pad.ZeroPadding={pad:function(t,i){var n=4*i;t.clamp(),t.sigBytes+=n-(t.sigBytes%n||n)},unpad:function(t){var i=t.words,n=t.sigBytes-1;for(n=t.sigBytes-1;n>=0;n--)if(i[n>>>2]>>>24-n%4*8&255){t.sigBytes=n+1;break}}},r.pad.ZeroPadding)},19:function(t,i,n){var r,e,o,s,u,c,a,l;t.exports=(l=n(9021),n(3009),n(1025),s=(e=(r=l).lib).WordArray,c=(u=r.algo).HMAC,a=u.PBKDF2=(o=e.Base).extend({cfg:o.extend({keySize:4,hasher:u.SHA256,iterations:25e4}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,i){for(var n=this.cfg,r=c.create(n.hasher,t),e=s.create(),o=s.create([1]),u=e.words,a=o.words,l=n.keySize,h=n.iterations;u.length<l;){var d=r.update(i).finalize(o);r.reset();for(var f=d.words,b=f.length,m=d,Z=1;Z<h;Z++){m=r.finalize(m),r.reset();for(var y=m.words,v=0;v<b;v++)f[v]^=y[v]}e.concat(d),a[0]++}return e.sigBytes=4*l,e}}),r.PBKDF2=function(t,i,n){return a.create(n).compute(t,i)},l.PBKDF2)},2696:function(t,i,n){var r;t.exports=(r=n(9021),n(754),n(4636),n(9506),n(7165),function(){var t=r,i=t.lib.StreamCipher,n=[],e=[],o=[],s=t.algo.RabbitLegacy=i.extend({_doReset:function(){var t=this._key.words,i=this.cfg.iv,n=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],r=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];this._b=0;for(var e=0;e<4;e++)u.call(this);for(e=0;e<8;e++)r[e]^=n[e+4&7];if(i){var o=i.words,s=o[0],c=o[1],a=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),h=a>>>16|4294901760&l,d=l<<16|65535&a;for(r[0]^=a,r[1]^=h,r[2]^=l,r[3]^=d,r[4]^=a,r[5]^=h,r[6]^=l,r[7]^=d,e=0;e<4;e++)u.call(this)}},_doProcessBlock:function(t,i){var r=this._X;u.call(this),n[0]=r[0]^r[5]>>>16^r[3]<<16,n[1]=r[2]^r[7]>>>16^r[5]<<16,n[2]=r[4]^r[1]>>>16^r[7]<<16,n[3]=r[6]^r[3]>>>16^r[1]<<16;for(var e=0;e<4;e++)n[e]=16711935&(n[e]<<8|n[e]>>>24)|4278255360&(n[e]<<24|n[e]>>>8),t[i+e]^=n[e]},blockSize:4,ivSize:2});function u(){for(var t=this._X,i=this._C,n=0;n<8;n++)e[n]=i[n];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0<e[0]>>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0<e[1]>>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0<e[2]>>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0<e[3]>>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0<e[4]>>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0<e[5]>>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0<e[6]>>>0?1:0)|0,this._b=i[7]>>>0<e[7]>>>0?1:0,n=0;n<8;n++){var r=t[n]+i[n],s=65535&r,u=r>>>16;o[n]=((s*s>>>17)+s*u>>>15)+u*u^((4294901760&r)*r|0)+((65535&r)*r|0)}t[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,t[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,t[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,t[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,t[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,t[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,t[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,t[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.RabbitLegacy=i._createHelper(s)}(),r.RabbitLegacy)},6298:function(t,i,n){var r;t.exports=(r=n(9021),n(754),n(4636),n(9506),n(7165),function(){var t=r,i=t.lib.StreamCipher,n=[],e=[],o=[],s=t.algo.Rabbit=i.extend({_doReset:function(){for(var t=this._key.words,i=this.cfg.iv,n=0;n<4;n++)t[n]=16711935&(t[n]<<8|t[n]>>>24)|4278255360&(t[n]<<24|t[n]>>>8);var r=this._X=[t[0],t[3]<<16|t[2]>>>16,t[1],t[0]<<16|t[3]>>>16,t[2],t[1]<<16|t[0]>>>16,t[3],t[2]<<16|t[1]>>>16],e=this._C=[t[2]<<16|t[2]>>>16,4294901760&t[0]|65535&t[1],t[3]<<16|t[3]>>>16,4294901760&t[1]|65535&t[2],t[0]<<16|t[0]>>>16,4294901760&t[2]|65535&t[3],t[1]<<16|t[1]>>>16,4294901760&t[3]|65535&t[0]];for(this._b=0,n=0;n<4;n++)u.call(this);for(n=0;n<8;n++)e[n]^=r[n+4&7];if(i){var o=i.words,s=o[0],c=o[1],a=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),l=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),h=a>>>16|4294901760&l,d=l<<16|65535&a;for(e[0]^=a,e[1]^=h,e[2]^=l,e[3]^=d,e[4]^=a,e[5]^=h,e[6]^=l,e[7]^=d,n=0;n<4;n++)u.call(this)}},_doProcessBlock:function(t,i){var r=this._X;u.call(this),n[0]=r[0]^r[5]>>>16^r[3]<<16,n[1]=r[2]^r[7]>>>16^r[5]<<16,n[2]=r[4]^r[1]>>>16^r[7]<<16,n[3]=r[6]^r[3]>>>16^r[1]<<16;for(var e=0;e<4;e++)n[e]=16711935&(n[e]<<8|n[e]>>>24)|4278255360&(n[e]<<24|n[e]>>>8),t[i+e]^=n[e]},blockSize:4,ivSize:2});function u(){for(var t=this._X,i=this._C,n=0;n<8;n++)e[n]=i[n];for(i[0]=i[0]+1295307597+this._b|0,i[1]=i[1]+3545052371+(i[0]>>>0<e[0]>>>0?1:0)|0,i[2]=i[2]+886263092+(i[1]>>>0<e[1]>>>0?1:0)|0,i[3]=i[3]+1295307597+(i[2]>>>0<e[2]>>>0?1:0)|0,i[4]=i[4]+3545052371+(i[3]>>>0<e[3]>>>0?1:0)|0,i[5]=i[5]+886263092+(i[4]>>>0<e[4]>>>0?1:0)|0,i[6]=i[6]+1295307597+(i[5]>>>0<e[5]>>>0?1:0)|0,i[7]=i[7]+3545052371+(i[6]>>>0<e[6]>>>0?1:0)|0,this._b=i[7]>>>0<e[7]>>>0?1:0,n=0;n<8;n++){var r=t[n]+i[n],s=65535&r,u=r>>>16;o[n]=((s*s>>>17)+s*u>>>15)+u*u^((4294901760&r)*r|0)+((65535&r)*r|0)}t[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,t[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,t[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,t[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,t[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,t[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,t[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,t[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.Rabbit=i._createHelper(s)}(),r.Rabbit)},7193:function(t,i,n){var r;t.exports=(r=n(9021),n(754),n(4636),n(9506),n(7165),function(){var t=r,i=t.lib.StreamCipher,n=t.algo,e=n.RC4=i.extend({_doReset:function(){for(var t=this._key,i=t.words,n=t.sigBytes,r=this._S=[],e=0;e<256;e++)r[e]=e;e=0;for(var o=0;e<256;e++){var s=e%n,u=r[e];r[e]=r[o=(o+r[e]+(i[s>>>2]>>>24-s%4*8&255))%256],r[o]=u}this._i=this._j=0},_doProcessBlock:function(t,i){t[i]^=o.call(this)},keySize:8,ivSize:0});function o(){for(var t=this._S,i=this._i,n=this._j,r=0,e=0;e<4;e++){var o=t[i=(i+1)%256];t[i]=t[n=(n+t[i])%256],t[n]=o,r|=t[(t[i]+t[n])%256]<<24-8*e}return this._i=i,this._j=n,r}t.RC4=i._createHelper(e);var s=n.RC4Drop=e.extend({cfg:e.cfg.extend({drop:192}),_doReset:function(){e._doReset.call(this);for(var t=this.cfg.drop;t>0;t--)o.call(this)}});t.RC4Drop=i._createHelper(s)}(),r.RC4)},8056:function(t,i,n){var r;t.exports=(r=n(9021),
/** @preserve
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
function(){var t=r,i=t.lib,n=i.WordArray,e=i.Hasher,o=t.algo,s=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),a=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=n.create([0,1518500249,1859775393,2400959708,2840853838]),h=n.create([1352829926,1548603684,1836072691,2053994217,0]),d=o.RIPEMD160=e.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,i){for(var n=0;n<16;n++){var r=i+n,e=t[r];t[r]=16711935&(e<<8|e>>>24)|4278255360&(e<<24|e>>>8)}var o,d,p,W,X,G,V,I,g,w,Y,S=this._hash.words,K=l.words,R=h.words,k=s.words,C=u.words,T=c.words,J=a.words;for(G=o=S[0],V=d=S[1],I=p=S[2],g=W=S[3],w=X=S[4],n=0;n<80;n+=1)Y=o+t[i+k[n]]|0,Y+=n<16?f(d,p,W)+K[0]:n<32?b(d,p,W)+K[1]:n<48?m(d,p,W)+K[2]:n<64?Z(d,p,W)+K[3]:y(d,p,W)+K[4],Y=(Y=v(Y|=0,T[n]))+X|0,o=X,X=W,W=v(p,10),p=d,d=Y,Y=G+t[i+C[n]]|0,Y+=n<16?y(V,I,g)+R[0]:n<32?Z(V,I,g)+R[1]:n<48?m(V,I,g)+R[2]:n<64?b(V,I,g)+R[3]:f(V,I,g)+R[4],Y=(Y=v(Y|=0,J[n]))+w|0,G=w,w=g,g=v(I,10),I=V,V=Y;Y=S[1]+p+g|0,S[1]=S[2]+W+w|0,S[2]=S[3]+X+G|0,S[3]=S[4]+o+V|0,S[4]=S[0]+d+I|0,S[0]=Y},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;i[r>>>5]|=128<<24-r%32,i[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),t.sigBytes=4*(i.length+1),this._process();for(var e=this._hash,o=e.words,s=0;s<5;s++){var u=o[s];o[s]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return e},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t}});function f(t,i,n){return t^i^n}function b(t,i,n){return t&i|~t&n}function m(t,i,n){return(t|~i)^n}function Z(t,i,n){return t&n|i&~n}function y(t,i,n){return t^(i|~n)}function v(t,i){return t<<i|t>>>32-i}t.RIPEMD160=e._createHelper(d),t.HmacRIPEMD160=e._createHmacHelper(d)}(Math),r.RIPEMD160)},5471:function(t,i,n){var r,e,o,s,u,c,a;t.exports=(a=n(9021),o=(e=(r=a).lib).WordArray,u=[],c=r.algo.SHA1=(s=e.Hasher).extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,i){for(var n=this._hash.words,r=n[0],e=n[1],o=n[2],s=n[3],c=n[4],a=0;a<80;a++){if(a<16)u[a]=0|t[i+a];else{var l=u[a-3]^u[a-8]^u[a-14]^u[a-16];u[a]=l<<1|l>>>31}var h=(r<<5|r>>>27)+c+u[a];h+=a<20?1518500249+(e&o|~e&s):a<40?1859775393+(e^o^s):a<60?(e&o|e&s|o&s)-1894007588:(e^o^s)-899497514,c=s,s=o,o=e<<30|e>>>2,e=r,r=h}n[0]=n[0]+r|0,n[1]=n[1]+e|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+c|0},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,r=8*t.sigBytes;return i[r>>>5]|=128<<24-r%32,i[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),i[15+(r+64>>>9<<4)]=n,t.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}}),r.SHA1=s._createHelper(c),r.HmacSHA1=s._createHmacHelper(c),a.SHA1)},6308:function(t,i,n){var r,e,o,s,u,c;t.exports=(c=n(9021),n(3009),e=(r=c).lib.WordArray,u=(o=r.algo).SHA224=(s=o.SHA256).extend({_doReset:function(){this._hash=new e.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=s._doFinalize.call(this);return t.sigBytes-=4,t}}),r.SHA224=s._createHelper(u),r.HmacSHA224=s._createHmacHelper(u),c.SHA224)},3009:function(t,i,n){var r;t.exports=(r=n(9021),function(t){var i=r,n=i.lib,e=n.WordArray,o=n.Hasher,s=i.algo,u=[],c=[];!function(){function i(i){for(var n=t.sqrt(i),r=2;r<=n;r++)if(!(i%r))return!1;return!0}function n(t){return 4294967296*(t-(0|t))|0}for(var r=2,e=0;e<64;)i(r)&&(e<8&&(u[e]=n(t.pow(r,.5))),c[e]=n(t.pow(r,1/3)),e++),r++}();var a=[],l=s.SHA256=o.extend({_doReset:function(){this._hash=new e.init(u.slice(0))},_doProcessBlock:function(t,i){for(var n=this._hash.words,r=n[0],e=n[1],o=n[2],s=n[3],u=n[4],l=n[5],h=n[6],d=n[7],f=0;f<64;f++){if(f<16)a[f]=0|t[i+f];else{var b=a[f-15],m=a[f-2];a[f]=((b<<25|b>>>7)^(b<<14|b>>>18)^b>>>3)+a[f-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+a[f-16]}var Z=r&e^r&o^e&o,y=d+((u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25))+(u&l^~u&h)+c[f]+a[f];d=h,h=l,l=u,u=s+y|0,s=o,o=e,e=r,r=y+(((r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22))+Z)|0}n[0]=n[0]+r|0,n[1]=n[1]+e|0,n[2]=n[2]+o|0,n[3]=n[3]+s|0,n[4]=n[4]+u|0,n[5]=n[5]+l|0,n[6]=n[6]+h|0,n[7]=n[7]+d|0},_doFinalize:function(){var i=this._data,n=i.words,r=8*this._nDataBytes,e=8*i.sigBytes;return n[e>>>5]|=128<<24-e%32,n[14+(e+64>>>9<<4)]=t.floor(r/4294967296),n[15+(e+64>>>9<<4)]=r,i.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});i.SHA256=o._createHelper(l),i.HmacSHA256=o._createHmacHelper(l)}(Math),r.SHA256)},5953:function(t,i,n){var r;t.exports=(r=n(9021),n(3240),function(t){var i=r,n=i.lib,e=n.WordArray,o=n.Hasher,s=i.x64.Word,u=i.algo,c=[],a=[],l=[];!function(){for(var t=1,i=0,n=0;n<24;n++){c[t+5*i]=(n+1)*(n+2)/2%64;var r=(2*t+3*i)%5;t=i%5,i=r}for(t=0;t<5;t++)for(i=0;i<5;i++)a[t+5*i]=i+(2*t+3*i)%5*5;for(var e=1,o=0;o<24;o++){for(var u=0,h=0,d=0;d<7;d++){if(1&e){var f=(1<<d)-1;f<32?h^=1<<f:u^=1<<f-32}128&e?e=e<<1^113:e<<=1}l[o]=s.create(u,h)}}();var h=[];!function(){for(var t=0;t<25;t++)h[t]=s.create()}();var d=u.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var t=this._state=[],i=0;i<25;i++)t[i]=new s.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(t,i){for(var n=this._state,r=this.blockSize/2,e=0;e<r;e++){var o=t[i+2*e],s=t[i+2*e+1];o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(k=n[e]).high^=s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),k.low^=o}for(var u=0;u<24;u++){for(var d=0;d<5;d++){for(var f=0,b=0,m=0;m<5;m++)f^=(k=n[d+5*m]).high,b^=k.low;var Z=h[d];Z.high=f,Z.low=b}for(d=0;d<5;d++){var y=h[(d+4)%5],v=h[(d+1)%5],p=v.high,W=v.low;for(f=y.high^(p<<1|W>>>31),b=y.low^(W<<1|p>>>31),m=0;m<5;m++)(k=n[d+5*m]).high^=f,k.low^=b}for(var X=1;X<25;X++){var G=(k=n[X]).high,V=k.low,I=c[X];I<32?(f=G<<I|V>>>32-I,b=V<<I|G>>>32-I):(f=V<<I-32|G>>>64-I,b=G<<I-32|V>>>64-I);var g=h[a[X]];g.high=f,g.low=b}var w=h[0],Y=n[0];for(w.high=Y.high,w.low=Y.low,d=0;d<5;d++)for(m=0;m<5;m++){var S=h[X=d+5*m],K=h[(d+1)%5+5*m],R=h[(d+2)%5+5*m];(k=n[X]).high=S.high^~K.high&R.high,k.low=S.low^~K.low&R.low}var k,C=l[u];(k=n[0]).high^=C.high,k.low^=C.low}},_doFinalize:function(){var i=this._data,n=i.words,r=8*i.sigBytes,o=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/o)*o>>>5)-1]|=128,i.sigBytes=4*n.length,this._process();for(var s=this._state,u=this.cfg.outputLength/8,c=u/8,a=[],l=0;l<c;l++){var h=s[l],d=h.high,f=h.low;d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),a.push(f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8)),a.push(d)}return new e.init(a,u)},clone:function(){for(var t=o.clone.call(this),i=t._state=this._state.slice(0),n=0;n<25;n++)i[n]=i[n].clone();return t}});i.SHA3=o._createHelper(d),i.HmacSHA3=o._createHmacHelper(d)}(Math),r.SHA3)},9557:function(t,i,n){var r,e,o,s,u,c,a,l;t.exports=(l=n(9021),n(3240),n(1380),o=(e=(r=l).x64).Word,s=e.WordArray,a=(u=r.algo).SHA384=(c=u.SHA512).extend({_doReset:function(){this._hash=new s.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new