New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@loaders.gl/crypto

Package Overview
Dependencies
Maintainers
7
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loaders.gl/crypto - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

2

dist/dist.min.js

@@ -1,2 +0,2 @@

!function(t,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var A=o();for(var n in A)("object"==typeof exports?exports:t)[n]=A[n]}}(window,(function(){return function(t){var o={};function A(n){if(o[n])return o[n].exports;var e=o[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,A),e.l=!0,e.exports}return A.m=t,A.c=o,A.d=function(t,o,n){A.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:n})},A.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},A.t=function(t,o){if(1&o&&(t=A(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(A.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var e in t)A.d(n,e,function(o){return t[o]}.bind(null,e));return n},A.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return A.d(o,"a",o),o},A.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},A.p="",A(A.s=2)}([function(t,o){},function(t,o){},function(t,o,A){(function(o){const n=A(4),e="undefined"==typeof window?o:window;e.loaders=e.loaders||{},t.exports=Object.assign(e.loaders,n)}).call(this,A(3))},function(t,o){var A;A=function(){return this}();try{A=A||new Function("return this")()}catch(t){"object"==typeof window&&(A=window)}t.exports=A},function(t,o,A){"use strict";A.r(o),A.d(o,"CRC32Hash",(function(){return B})),A.d(o,"CRC32CHash",(function(){return Q})),A.d(o,"MD5Hash",(function(){return M})),A.d(o,"SHA256Hash",(function(){return j})),A.d(o,"CryptoHash",(function(){return x})),A.d(o,"NodeHash",(function(){return D})),A.d(o,"_hexToBase64",(function(){return h})),A.d(o,"_toHex",(function(){return c})),A.d(o,"CryptoWorker",(function(){return H})),A.d(o,"CryptoJSWorker",(function(){return q}));A(0);async function n(t){const o=[];for await(const A of t)o.push(A);return function(...t){const o=t.map(t=>t instanceof ArrayBuffer?new Uint8Array(t):t),A=o.reduce((t,o)=>t+o.byteLength,0),n=new Uint8Array(A);let e=0;for(const t of o)n.set(t,e),e+=t.byteLength;return n.buffer}(...o)}function e(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}class r{constructor(t={}){e(this,"name",void 0),e(this,"options",void 0),this.hashBatches=this.hashBatches.bind(this)}async preload(){}async*hashBatches(t){var o,A,n;const e=[];for await(const o of t)e.push(o),yield o;const r=await this.concatenate(e),i=await this.hash(r);null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||null===(n=A.onEnd)||void 0===n||n.call(A,{hash:i})}async concatenate(t){return await n(t)}}class i{constructor(){this.crc=-1}update(t){const o=s,A=new Uint8Array(t);for(let t=0;t<A.byteLength;t++)this.crc=this.crc>>>8^o[255&(this.crc^A[t])];return this}finalize(){return this.crc=Math.abs(-1^this.crc),this.crc}}const s=Uint32Array.of(0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117);function a(t){return t<26?String.fromCharCode(t+"A".charCodeAt(0)):t<52?String.fromCharCode(t-26+"a".charCodeAt(0)):t<62?String.fromCharCode(t-52+"0".charCodeAt(0)):62===t?"+":63===t?"/":void 0}function c(t){const o=t.toString(16);return"0"===o?"0"+o:o}function h(t){t.length%2!=0&&(t="0"+t);return function(t){t=""+t;for(let o=0;o<t.length;o++)if(t.charCodeAt(o)>255)return null;let o="";for(let A=0;A<t.length;A+=3){const n=[void 0,void 0,void 0,void 0];n[0]=t.charCodeAt(A)>>2,n[1]=(3&t.charCodeAt(A))<<4,t.length>A+1&&(n[1]|=t.charCodeAt(A+1)>>4,n[2]=(15&t.charCodeAt(A+1))<<2),t.length>A+2&&(n[2]|=t.charCodeAt(A+2)>>6,n[3]=63&t.charCodeAt(A+2));for(let t=0;t<n.length;t++)void 0===n[t]?o+="=":o+=a(n[t])}return o}(t.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}function u(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}class B extends r{constructor(t={}){super(),u(this,"name","crc32"),u(this,"options",void 0),u(this,"_hash",void 0),this.options={crypto:{},...t},this._hash=new i,this.hashBatches=this.hashBatches.bind(this)}async hash(t){return this.hashSync(t)}hashSync(t){this._hash.update(t);return h(c(this._hash.finalize()))}async*hashBatches(t){var o,A;for await(const o of t)this._hash.update(o),yield o;const n=h(c(this._hash.finalize()));null===(o=this.options.crypto)||void 0===o||null===(A=o.onEnd)||void 0===A||A.call(o,{hash:n})}}class l{constructor(t={}){this.options=t,this.crc=-1}update(t){const o=new Uint8Array(t),A=f;for(let t=0;t<o.length;t++)this.crc=A[255&(this.crc^o[t])]^this.crc>>>8;return this}finalize(){return this.crc=(-1^this.crc)>>>0,this.crc}}const f=Int32Array.of(0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697);function d(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}class Q extends r{constructor(t={}){super(),d(this,"name","crc32c"),d(this,"options",void 0),d(this,"_hash",void 0),this.options={crypto:{},...t},this._hash=new l(t)}async hash(t){return this.hashSync(t)}hashSync(t){this._hash.update(t);return h(c(this._hash.finalize()))}async*hashBatches(t){var o,A;for await(const o of t)this._hash.update(o),yield o;const n=h(c(this._hash.finalize()));null===(o=this.options.crypto)||void 0===o||null===(A=o.onEnd)||void 0===A||A.call(o,{hash:n})}}const E="function"==typeof atob?atob:"function"==typeof Buffer?function(t){return Buffer.from(t,"base64").toString("binary")}:v,w=E("AGFzbQEAAAABDANgAX8AYAAAYAABfwIeAgdpbXBvcnRzA2xvZwAAB2ltcG9ydHMDbWVtAgABAzIxAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAAAAAAAAAgICAgIAAAAAAAaYARt/AUGBxpS6Bgt/AUGJ17b+fgt/AUH+uevFeQt/AUH2qMmBAQt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALB7oCJQhvbmVGdWxsQQAYCG9uZUZ1bGxCABkIb25lRnVsbEMAGghvbmVGdWxsRAAbBWxvb3BzAAEEbG9vcAACBXByaW1lAAMFbG9vcEEABAZsb29wQTEABQZsb29wQTIABgZsb29wQTMABwZsb29wQTQACAVsb29wQgAJBmxvb3BCMQAKBmxvb3BCMgALBmxvb3BCMwAMBmxvb3BCNAANBWxvb3BDAA4GbG9vcEMxAA8GbG9vcEMyABAGbG9vcEMzABEGbG9vcEM0ABIFbG9vcEQAEwZsb29wRDEAFAZsb29wRDIAFQZsb29wRDMAFgZsb29wRDQAFwRnZXRBACgEZ2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A="),y=!(!WebAssembly||E===v)&&function(t){var o,A,n,e=-1;o=t.length-1,A=new ArrayBuffer(t.length),n=new Uint8Array(A);for(;o>e++;)n[e]=t.charCodeAt(e);return n}(w).buffer,C={rotl:function(t,o){return t<<o|t>>>32-o},endian:function(t){if(t.constructor==Number)return 16711935&C.rotl(t,8)|4278255360&C.rotl(t,24);for(var o=0;o<t.length;o++)t[o]=C.endian(t[o]);return t},bytesToWords:function(t){for(var o=[],A=0,n=0;A<t.length;A++,n+=8)o[n>>>5]|=t[A]<<24-n%32;return o},wordsToBytes:function(t){for(var o=[],A=0;A<32*t.length;A+=8)o.push(t[A>>>5]>>>24-A%32&255);return o},bytesToHex:function(t){for(var o=[],A=0;A<t.length;A++)o.push((t[A]>>>4).toString(16)),o.push((15&t[A]).toString(16));return o.join("")}},I=Math.floor(1048576.00032768),b="Parameter must be Buffer, ArrayBuffer or Uint8Array";function g(t){var o,A,n,e,r,i,s,a,c;const h=function(t,o){var A=C.wordsToBytes(function(t,o){(new Date).getTime();var A,n,e,r,i,s,a,c,h,u,B,l,f,d,Q,E,w,y,I,b,g,v=1732584193,p=-271733879,M=-1732584194,m=271733878,G=8*t.length;g=C.bytesToWords(t);for(var x=0;x<g.length;x++)g[x]=16711935&(g[x]<<8|g[x]>>>24)|4278255360&(g[x]<<24|g[x]>>>8);g[G>>>5]|=128<<G%32,g[14+(G+64>>>9<<4)]=G;for(var j=0;j<g.length;j+=16)w=v,y=p,I=M,b=m,A=g[j+0]>>>0,n=g[j+1]>>>0,e=g[j+2]>>>0,r=g[j+3]>>>0,i=g[j+4]>>>0,s=g[j+5]>>>0,a=g[j+6]>>>0,c=g[j+7]>>>0,h=g[j+8]>>>0,u=g[j+9]>>>0,B=g[j+10]>>>0,l=g[j+11]>>>0,f=g[j+12]>>>0,d=g[j+13]>>>0,Q=g[j+14]>>>0,E=g[j+15]>>>0,v=F(7,25,v+(p&M|~p&m)+A-680876936)+p,m=F(12,20,m+(v&p|~v&M)+n-389564586)+v,M=F(17,15,M+(m&v|~m&p)+e+606105819)+m,p=F(22,10,p+(M&m|~M&v)+r-1044525330)+M,v=F(7,25,v+(p&M|~p&m)+i-176418897)+p,m=F(12,20,m+(v&p|~v&M)+s+1200080426)+v,M=F(17,15,M+(m&v|~m&p)+a-1473231341)+m,p=F(22,10,p+(M&m|~M&v)+c-45705983)+M,v=F(7,25,v+(p&M|~p&m)+h+1770035416)+p,m=F(12,20,m+(v&p|~v&M)+u-1958414417)+v,M=F(17,15,M+(m&v|~m&p)+B-42063)+m,p=F(22,10,p+(M&m|~M&v)+l-1990404162)+M,v=F(7,25,v+(p&M|~p&m)+f+1804603682)+p,m=F(12,20,m+(v&p|~v&M)+d-40341101)+v,M=F(17,15,M+(m&v|~m&p)+Q-1502002290)+m,p=F(22,10,p+(M&m|~M&v)+E+1236535329)+M,v=F(5,27,v+(p&m|M&~m)+n-165796510)+p,m=F(9,23,m+(v&M|p&~M)+a-1069501632)+v,M=F(14,18,M+(m&p|v&~p)+l+643717713)+m,p=F(20,12,p+(M&v|m&~v)+A-373897302)+M,v=F(5,27,v+(p&m|M&~m)+s-701558691)+p,m=F(9,23,m+(v&M|p&~M)+B+38016083)+v,M=F(14,18,M+(m&p|v&~p)+E-660478335)+m,p=F(20,12,p+(M&v|m&~v)+i-405537848)+M,v=F(5,27,v+(p&m|M&~m)+u+568446438)+p,m=F(9,23,m+(v&M|p&~M)+Q-1019803690)+v,M=F(14,18,M+(m&p|v&~p)+r-187363961)+m,p=F(20,12,p+(M&v|m&~v)+h+1163531501)+M,v=F(5,27,v+(p&m|M&~m)+d-1444681467)+p,m=F(9,23,m+(v&M|p&~M)+e-51403784)+v,M=F(14,18,M+(m&p|v&~p)+c+1735328473)+m,p=F(20,12,p+(M&v|m&~v)+f-1926607734)+M,v=F(4,28,v+(p^M^m)+s-378558)+p,m=F(11,21,m+(v^p^M)+h-2022574463)+v,M=F(16,16,M+(m^v^p)+l+1839030562)+m,p=F(23,9,p+(M^m^v)+Q-35309556)+M,v=F(4,28,v+(p^M^m)+n-1530992060)+p,m=F(11,21,m+(v^p^M)+i+1272893353)+v,M=F(16,16,M+(m^v^p)+c-155497632)+m,p=F(23,9,p+(M^m^v)+B-1094730640)+M,v=F(4,28,v+(p^M^m)+d+681279174)+p,m=F(11,21,m+(v^p^M)+A-358537222)+v,M=F(16,16,M+(m^v^p)+r-722521979)+m,p=F(23,9,p+(M^m^v)+a+76029189)+M,v=F(4,28,v+(p^M^m)+u-640364487)+p,m=F(11,21,m+(v^p^M)+f-421815835)+v,M=F(16,16,M+(m^v^p)+E+530742520)+m,p=F(23,9,p+(M^m^v)+e-995338651)+M,v=F(6,26,v+(M^(p|~m))+A-198630844)+p,m=F(10,22,m+(p^(v|~M))+c+1126891415)+v,M=F(15,17,M+(v^(m|~p))+Q-1416354905)+m,p=F(21,11,p+(m^(M|~v))+s-57434055)+M,v=F(6,26,v+(M^(p|~m))+f+1700485571)+p,m=F(10,22,m+(p^(v|~M))+r-1894986606)+v,M=F(15,17,M+(v^(m|~p))+B-1051523)+m,p=F(21,11,p+(m^(M|~v))+n-2054922799)+M,v=F(6,26,v+(M^(p|~m))+h+1873313359)+p,m=F(10,22,m+(p^(v|~M))+E-30611744)+v,M=F(15,17,M+(v^(m|~p))+a-1560198380)+m,p=F(21,11,p+(m^(M|~v))+d+1309151649)+M,v=F(6,26,v+(M^(p|~m))+i-145523070)+p,m=F(10,22,m+(p^(v|~M))+l-1120210379)+v,M=F(15,17,M+(v^(m|~p))+e+718787259)+m,p=F(21,11,p+(m^(M|~v))+u-343485551)+M,v=v+w>>>0,p=p+y>>>0,M=M+I>>>0,m=m+b>>>0;return C.endian([v,p,M,m]);function F(t,o,A){return A<<t|A>>>o}}(t));return o&&o.asBytes?A:C.bytesToHex(A)},u=function(){var t,o,A,n,e,r,i,s,a,c;return function(h,u,B,l){var f;return t=u.loops,u.loop,o=u.getA,n=u.getB,r=u.getC,s=u.getD,u.getX,A=u.setA,e=u.setB,i=u.setC,a=u.setD,u.setX,c=B,f=C.wordsToBytes(function(h){(new Date).getTime();var u,B,l,f,d,Q,E,w,y,b,g,v,p,M,m,G,x,j,F,W,D,H,q=1732584193,U=-271733879,J=-1732584194,R=271733878,Z=0,L=8*h.length;for(function(t,o){var A,n,e,r,i=-1,s=Math.floor((t.length-1)/4),a=0;for(;s-8>i++;)a=i<<2,o[i]=t[a+0]|t[a+1]<<8|t[a+2]<<16|t[a+3]<<24;i--;for(;s>i++;)A=void 0===t[(a=i<<2)+0]?0:t[a+0],n=void 0===t[a+1]?0:t[a+1],e=void 0===t[a+2]?0:t[a+2],r=void 0===t[a+3]?0:t[a+3],o[i]=A|n<<8|e<<16|r<<24;return s+1}(h,c),c[L>>>5]|=128<<L%32,c[14+(L+64>>>9<<4)]=L,H=15+(L+64>>>9<<4),D=c;Z<H;)H>Z+I?(A(q),e(U),i(J),a(R),t(61440),Z+=983040,q=o(),U=n(),J=r(),R=s()):(x=q,j=U,F=J,W=R,u=D[Z+0]>>>0,B=D[Z+1]>>>0,l=D[Z+2]>>>0,f=D[Z+3]>>>0,d=D[Z+4]>>>0,Q=D[Z+5]>>>0,E=D[Z+6]>>>0,w=D[Z+7]>>>0,y=D[Z+8]>>>0,b=D[Z+9]>>>0,g=D[Z+10]>>>0,v=D[Z+11]>>>0,p=D[Z+12]>>>0,M=D[Z+13]>>>0,m=D[Z+14]>>>0,G=D[Z+15]>>>0,q=S(7,25,q+(U&J|~U&R)+u-680876936)+U,R=S(12,20,R+(q&U|~q&J)+B-389564586)+q,J=S(17,15,J+(R&q|~R&U)+l+606105819)+R,U=S(22,10,U+(J&R|~J&q)+f-1044525330)+J,q=S(7,25,q+(U&J|~U&R)+d-176418897)+U,R=S(12,20,R+(q&U|~q&J)+Q+1200080426)+q,J=S(17,15,J+(R&q|~R&U)+E-1473231341)+R,U=S(22,10,U+(J&R|~J&q)+w-45705983)+J,q=S(7,25,q+(U&J|~U&R)+y+1770035416)+U,R=S(12,20,R+(q&U|~q&J)+b-1958414417)+q,J=S(17,15,J+(R&q|~R&U)+g-42063)+R,U=S(22,10,U+(J&R|~J&q)+v-1990404162)+J,q=S(7,25,q+(U&J|~U&R)+p+1804603682)+U,R=S(12,20,R+(q&U|~q&J)+M-40341101)+q,J=S(17,15,J+(R&q|~R&U)+m-1502002290)+R,U=S(22,10,U+(J&R|~J&q)+G+1236535329)+J,q=S(5,27,q+(U&R|J&~R)+B-165796510)+U,R=S(9,23,R+(q&J|U&~J)+E-1069501632)+q,J=S(14,18,J+(R&U|q&~U)+v+643717713)+R,U=S(20,12,U+(J&q|R&~q)+u-373897302)+J,q=S(5,27,q+(U&R|J&~R)+Q-701558691)+U,R=S(9,23,R+(q&J|U&~J)+g+38016083)+q,J=S(14,18,J+(R&U|q&~U)+G-660478335)+R,U=S(20,12,U+(J&q|R&~q)+d-405537848)+J,q=S(5,27,q+(U&R|J&~R)+b+568446438)+U,R=S(9,23,R+(q&J|U&~J)+m-1019803690)+q,J=S(14,18,J+(R&U|q&~U)+f-187363961)+R,U=S(20,12,U+(J&q|R&~q)+y+1163531501)+J,q=S(5,27,q+(U&R|J&~R)+M-1444681467)+U,R=S(9,23,R+(q&J|U&~J)+l-51403784)+q,J=S(14,18,J+(R&U|q&~U)+w+1735328473)+R,U=S(20,12,U+(J&q|R&~q)+p-1926607734)+J,q=S(4,28,q+(U^J^R)+Q-378558)+U,R=S(11,21,R+(q^U^J)+y-2022574463)+q,J=S(16,16,J+(R^q^U)+v+1839030562)+R,U=S(23,9,U+(J^R^q)+m-35309556)+J,q=S(4,28,q+(U^J^R)+B-1530992060)+U,R=S(11,21,R+(q^U^J)+d+1272893353)+q,J=S(16,16,J+(R^q^U)+w-155497632)+R,U=S(23,9,U+(J^R^q)+g-1094730640)+J,q=S(4,28,q+(U^J^R)+M+681279174)+U,R=S(11,21,R+(q^U^J)+u-358537222)+q,J=S(16,16,J+(R^q^U)+f-722521979)+R,U=S(23,9,U+(J^R^q)+E+76029189)+J,q=S(4,28,q+(U^J^R)+b-640364487)+U,R=S(11,21,R+(q^U^J)+p-421815835)+q,J=S(16,16,J+(R^q^U)+G+530742520)+R,U=S(23,9,U+(J^R^q)+l-995338651)+J,q=S(6,26,q+(J^(U|~R))+u-198630844)+U,R=S(10,22,R+(U^(q|~J))+w+1126891415)+q,J=S(15,17,J+(q^(R|~U))+m-1416354905)+R,U=S(21,11,U+(R^(J|~q))+Q-57434055)+J,q=S(6,26,q+(J^(U|~R))+p+1700485571)+U,R=S(10,22,R+(U^(q|~J))+f-1894986606)+q,J=S(15,17,J+(q^(R|~U))+g-1051523)+R,U=S(21,11,U+(R^(J|~q))+B-2054922799)+J,q=S(6,26,q+(J^(U|~R))+y+1873313359)+U,R=S(10,22,R+(U^(q|~J))+G-30611744)+q,J=S(15,17,J+(q^(R|~U))+E-1560198380)+R,U=S(21,11,U+(R^(J|~q))+M+1309151649)+J,q=S(6,26,q+(J^(U|~R))+d-145523070)+U,R=S(10,22,R+(U^(q|~J))+v-1120210379)+q,J=S(15,17,J+(q^(R|~U))+l+718787259)+R,U=S(21,11,U+(R^(J|~q))+b-343485551)+J,Z+=16,q=q+x>>>0,U=U+j>>>0,J=J+F>>>0,R=R+W>>>0);return C.endian([q,U,J,R]);function S(t,o,A){return A<<t|A>>>o}}(h)),l&&l.asBytes?f:C.bytesToHex(f)}}(),B={},l=(new Date).getTime();return B.then=function(t){return i=t,f(),B},B.catch=function(t){return s=t,B},t&&"object"==typeof t?"function"==typeof Buffer&&t.constructor===Buffer?r=t:t.constructor===Uint8Array||t.constructor===ArrayBuffer?r=t.constructor===ArrayBuffer?new Uint8Array(t):t:d(new TypeError(b)):d(new TypeError(b)),r&&(e=r.length,y&&e>I?e>268369920?d(new Error("Parameter exceeds max size of 255.9 Mbytes")):(o=new WebAssembly.Memory({initial:e>32e6?e>64e6?e>128e6?4096:2048:1024:512}),A=new Uint32Array(o.buffer),n={imports:{mem:o,log:console.log}},WebAssembly.instantiate(y,n).then((function(t){f(u(r,t.instance.exports,A))}))):f(h(r))),B;function f(t){var o=Boolean(t)?t:a;Boolean(t)&&(c=(new Date).getTime()),"function"==typeof i?Boolean(o)&&(i(o,c-l),i=s=null):Boolean(t)&&(a=t)}function d(t){"function"==typeof s&&s(t)}}function v(t){return t}function p(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}y||console.log("WebAssembly not available or WASM module could not be decoded; md5WASM will fall back to JavaScript");class M extends r{constructor(t={}){super(),p(this,"name","md5"),p(this,"options",void 0),this.options=t}async hash(t){const o=new Promise((o,A)=>g(t).then(o).catch(A));return h(await o)}}function m(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}let G;class x extends r{constructor(t){var o,A;if(super(),m(this,"name",void 0),m(this,"options",void 0),m(this,"_algorithm",void 0),m(this,"_hash",void 0),this.options=t,this._algorithm=null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A?void 0:A.algorithm,!this._algorithm)throw new Error(this.name);this.name=this._algorithm.toLowerCase()}async preload(){var t,o;if(!G&&(G=null===(t=this.options)||void 0===t||null===(o=t.modules)||void 0===o?void 0:o.CryptoJS,!G))throw new Error(this.name);if(!this._hash){const t=G.algo[this._algorithm];this._hash=t.create()}if(!this._hash)throw new Error(this.name)}async hash(t){await this.preload();const o=G.lib.WordArray.create(t);return this._hash.update(o).finalize().toString(G.enc.Base64)}async*hashBatches(t){var o,A,n;await this.preload();for await(const o of t){const t=G.lib.WordArray.create(o);this._hash.update(t),yield o}const e=this._hash.finalize().toString(G.enc.Base64);null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||null===(n=A.onEnd)||void 0===n||n.call(A,{hash:e})}}class j extends x{constructor(t){super({...t,crypto:{...t.crypto,algorithm:"SHA256"}})}}var F=A(1);function W(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}class D extends r{constructor(t){var o,A;if(super(),W(this,"name","crypto-node"),W(this,"options",void 0),W(this,"_algorithm",void 0),W(this,"_hash",void 0),this.options=t,null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||!A.algorithm)throw new Error(this.name)}async hash(t){var o,A,n;await this.preload();const e=Object(F.createHash)(null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||null===(n=A.algorithm)||void 0===n?void 0:n.toLowerCase()),r=new Uint8Array(t);return e.update(r).digest("base64")}async*hashBatches(t){var o,A,n,e,r,i;await this.preload();const s=Object(F.createHash)(null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||null===(n=A.algorithm)||void 0===n?void 0:n.toLowerCase());for await(const o of t){const t=new Uint8Array(o);s.update(t),yield o}null===(e=this.options)||void 0===e||null===(r=e.crypto)||void 0===r||null===(i=r.onEnd)||void 0===i||i.call(r,{hash:s.digest("base64")})}}const H={id:"crypto",name:"CRC32, CRC32c and MD5 Hashes",module:"crypto",version:"3.0.4",options:{crypto:{}}},q={id:"cryptojs",name:"Cryptographic Hashes",module:"crypto",version:"3.0.4",options:{cryptojs:{}}}}])}));
!function(t,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var A=o();for(var n in A)("object"==typeof exports?exports:t)[n]=A[n]}}(window,(function(){return function(t){var o={};function A(n){if(o[n])return o[n].exports;var e=o[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,A),e.l=!0,e.exports}return A.m=t,A.c=o,A.d=function(t,o,n){A.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:n})},A.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},A.t=function(t,o){if(1&o&&(t=A(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(A.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var e in t)A.d(n,e,function(o){return t[o]}.bind(null,e));return n},A.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return A.d(o,"a",o),o},A.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},A.p="",A(A.s=2)}([function(t,o){},function(t,o){},function(t,o,A){(function(o){const n=A(4),e="undefined"==typeof window?o:window;e.loaders=e.loaders||{},t.exports=Object.assign(e.loaders,n)}).call(this,A(3))},function(t,o){var A;A=function(){return this}();try{A=A||new Function("return this")()}catch(t){"object"==typeof window&&(A=window)}t.exports=A},function(t,o,A){"use strict";A.r(o),A.d(o,"CRC32Hash",(function(){return B})),A.d(o,"CRC32CHash",(function(){return Q})),A.d(o,"MD5Hash",(function(){return M})),A.d(o,"SHA256Hash",(function(){return j})),A.d(o,"CryptoHash",(function(){return x})),A.d(o,"NodeHash",(function(){return D})),A.d(o,"_hexToBase64",(function(){return h})),A.d(o,"_toHex",(function(){return c})),A.d(o,"CryptoWorker",(function(){return H})),A.d(o,"CryptoJSWorker",(function(){return q}));A(0);async function n(t){const o=[];for await(const A of t)o.push(A);return function(...t){const o=t.map(t=>t instanceof ArrayBuffer?new Uint8Array(t):t),A=o.reduce((t,o)=>t+o.byteLength,0),n=new Uint8Array(A);let e=0;for(const t of o)n.set(t,e),e+=t.byteLength;return n.buffer}(...o)}function e(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}class r{constructor(t={}){e(this,"name",void 0),e(this,"options",void 0),this.hashBatches=this.hashBatches.bind(this)}async preload(){}async*hashBatches(t){var o,A,n;const e=[];for await(const o of t)e.push(o),yield o;const r=await this.concatenate(e),i=await this.hash(r);null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||null===(n=A.onEnd)||void 0===n||n.call(A,{hash:i})}async concatenate(t){return await n(t)}}class i{constructor(){this.crc=-1}update(t){const o=s,A=new Uint8Array(t);for(let t=0;t<A.byteLength;t++)this.crc=this.crc>>>8^o[255&(this.crc^A[t])];return this}finalize(){return this.crc=Math.abs(-1^this.crc),this.crc}}const s=Uint32Array.of(0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117);function a(t){return t<26?String.fromCharCode(t+"A".charCodeAt(0)):t<52?String.fromCharCode(t-26+"a".charCodeAt(0)):t<62?String.fromCharCode(t-52+"0".charCodeAt(0)):62===t?"+":63===t?"/":void 0}function c(t){const o=t.toString(16);return"0"===o?"0"+o:o}function h(t){t.length%2!=0&&(t="0"+t);return function(t){t=""+t;for(let o=0;o<t.length;o++)if(t.charCodeAt(o)>255)return null;let o="";for(let A=0;A<t.length;A+=3){const n=[void 0,void 0,void 0,void 0];n[0]=t.charCodeAt(A)>>2,n[1]=(3&t.charCodeAt(A))<<4,t.length>A+1&&(n[1]|=t.charCodeAt(A+1)>>4,n[2]=(15&t.charCodeAt(A+1))<<2),t.length>A+2&&(n[2]|=t.charCodeAt(A+2)>>6,n[3]=63&t.charCodeAt(A+2));for(let t=0;t<n.length;t++)void 0===n[t]?o+="=":o+=a(n[t])}return o}(t.match(/\w{2}/g).map(t=>String.fromCharCode(parseInt(t,16))).join(""))}function u(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}class B extends r{constructor(t={}){super(),u(this,"name","crc32"),u(this,"options",void 0),u(this,"_hash",void 0),this.options={crypto:{},...t},this._hash=new i,this.hashBatches=this.hashBatches.bind(this)}async hash(t){return this.hashSync(t)}hashSync(t){this._hash.update(t);return h(c(this._hash.finalize()))}async*hashBatches(t){var o,A;for await(const o of t)this._hash.update(o),yield o;const n=h(c(this._hash.finalize()));null===(o=this.options.crypto)||void 0===o||null===(A=o.onEnd)||void 0===A||A.call(o,{hash:n})}}class l{constructor(t={}){this.options=t,this.crc=-1}update(t){const o=new Uint8Array(t),A=f;for(let t=0;t<o.length;t++)this.crc=A[255&(this.crc^o[t])]^this.crc>>>8;return this}finalize(){return this.crc=(-1^this.crc)>>>0,this.crc}}const f=Int32Array.of(0,4067132163,3778769143,324072436,3348797215,904991772,648144872,3570033899,2329499855,2024987596,1809983544,2575936315,1296289744,3207089363,2893594407,1578318884,274646895,3795141740,4049975192,51262619,3619967088,632279923,922689671,3298075524,2592579488,1760304291,2075979607,2312596564,1562183871,2943781820,3156637768,1313733451,549293790,3537243613,3246849577,871202090,3878099393,357341890,102525238,4101499445,2858735121,1477399826,1264559846,3107202533,1845379342,2677391885,2361733625,2125378298,820201905,3263744690,3520608582,598981189,4151959214,85089709,373468761,3827903834,3124367742,1213305469,1526817161,2842354314,2107672161,2412447074,2627466902,1861252501,1098587580,3004210879,2688576843,1378610760,2262928035,1955203488,1742404180,2511436119,3416409459,969524848,714683780,3639785095,205050476,4266873199,3976438427,526918040,1361435347,2739821008,2954799652,1114974503,2529119692,1691668175,2005155131,2247081528,3690758684,697762079,986182379,3366744552,476452099,3993867776,4250756596,255256311,1640403810,2477592673,2164122517,1922457750,2791048317,1412925310,1197962378,3037525897,3944729517,427051182,170179418,4165941337,746937522,3740196785,3451792453,1070968646,1905808397,2213795598,2426610938,1657317369,3053634322,1147748369,1463399397,2773627110,4215344322,153784257,444234805,3893493558,1021025245,3467647198,3722505002,797665321,2197175160,1889384571,1674398607,2443626636,1164749927,3070701412,2757221520,1446797203,137323447,4198817972,3910406976,461344835,3484808360,1037989803,781091935,3705997148,2460548119,1623424788,1939049696,2180517859,1429367560,2807687179,3020495871,1180866812,410100952,3927582683,4182430767,186734380,3756733383,763408580,1053836080,3434856499,2722870694,1344288421,1131464017,2971354706,1708204729,2545590714,2229949006,1988219213,680717673,3673779818,3383336350,1002577565,4010310262,493091189,238226049,4233660802,2987750089,1082061258,1395524158,2705686845,1972364758,2279892693,2494862625,1725896226,952904198,3399985413,3656866545,731699698,4283874585,222117402,510512622,3959836397,3280807620,837199303,582374963,3504198960,68661723,4135334616,3844915500,390545967,1230274059,3141532936,2825850620,1510247935,2395924756,2091215383,1878366691,2644384480,3553878443,565732008,854102364,3229815391,340358836,3861050807,4117890627,119113024,1493875044,2875275879,3090270611,1247431312,2660249211,1828433272,2141937292,2378227087,3811616794,291187481,34330861,4032846830,615137029,3603020806,3314634738,939183345,1776939221,2609017814,2295496738,2058945313,2926798794,1545135305,1330124605,3173225534,4084100981,17165430,307568514,3762199681,888469610,3332340585,3587147933,665062302,2042050490,2346497209,2559330125,1793573966,3190661285,1279665062,1595330642,2910671697);function d(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}class Q extends r{constructor(t={}){super(),d(this,"name","crc32c"),d(this,"options",void 0),d(this,"_hash",void 0),this.options={crypto:{},...t},this._hash=new l(t)}async hash(t){return this.hashSync(t)}hashSync(t){this._hash.update(t);return h(c(this._hash.finalize()))}async*hashBatches(t){var o,A;for await(const o of t)this._hash.update(o),yield o;const n=h(c(this._hash.finalize()));null===(o=this.options.crypto)||void 0===o||null===(A=o.onEnd)||void 0===A||A.call(o,{hash:n})}}const E="function"==typeof atob?atob:"function"==typeof Buffer?function(t){return Buffer.from(t,"base64").toString("binary")}:v,w=E("AGFzbQEAAAABDANgAX8AYAAAYAABfwIeAgdpbXBvcnRzA2xvZwAAB2ltcG9ydHMDbWVtAgABAzIxAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAAAAAAAAAgICAgIAAAAAAAaYARt/AUGBxpS6Bgt/AUGJ17b+fgt/AUH+uevFeQt/AUH2qMmBAQt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt/AUEAC38BQQALfwFBAAt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WFGdWxsRCgEZ2V0QSkEZ2V0QioEZ2V0QysEZ2V0RCwEZ2V0WC0Ec2V0QS4Ec2V0Qi8Ec2V0QzAEc2V0RDEEc2V0WALNATIAAQAAAQIAAAEIbnVtbG9vcHMCAAMABAAFAAYABwAIAAkACgALAAwADQAOAA8AEAARABIAEwAUABUAFgAXABgCAAABAW4ZAgAAAQFuGgIAAAEBbhsCAAABAW4cAgAAAQFuHQIAAAEBbh4CAAABAW4fAgAAAQFuIAIAAAEBbiECAAABAW4iAgAAAQFuIwIAAAEBbiQCAAABAW4lAgAAAQFuJgIAAAEBbicCAAABAW4oACkAKgArACwALQEAAC4BAAAvAQAAMAEAADEBAAA="),y=!(!WebAssembly||E===v)&&function(t){var o,A,n,e=-1;o=t.length-1,A=new ArrayBuffer(t.length),n=new Uint8Array(A);for(;o>e++;)n[e]=t.charCodeAt(e);return n}(w).buffer,C={rotl:function(t,o){return t<<o|t>>>32-o},endian:function(t){if(t.constructor==Number)return 16711935&C.rotl(t,8)|4278255360&C.rotl(t,24);for(var o=0;o<t.length;o++)t[o]=C.endian(t[o]);return t},bytesToWords:function(t){for(var o=[],A=0,n=0;A<t.length;A++,n+=8)o[n>>>5]|=t[A]<<24-n%32;return o},wordsToBytes:function(t){for(var o=[],A=0;A<32*t.length;A+=8)o.push(t[A>>>5]>>>24-A%32&255);return o},bytesToHex:function(t){for(var o=[],A=0;A<t.length;A++)o.push((t[A]>>>4).toString(16)),o.push((15&t[A]).toString(16));return o.join("")}},I=Math.floor(1048576.00032768),b="Parameter must be Buffer, ArrayBuffer or Uint8Array";function g(t){var o,A,n,e,r,i,s,a,c;const h=function(t,o){var A=C.wordsToBytes(function(t,o){(new Date).getTime();var A,n,e,r,i,s,a,c,h,u,B,l,f,d,Q,E,w,y,I,b,g,v=1732584193,p=-271733879,M=-1732584194,m=271733878,G=8*t.length;g=C.bytesToWords(t);for(var x=0;x<g.length;x++)g[x]=16711935&(g[x]<<8|g[x]>>>24)|4278255360&(g[x]<<24|g[x]>>>8);g[G>>>5]|=128<<G%32,g[14+(G+64>>>9<<4)]=G;for(var j=0;j<g.length;j+=16)w=v,y=p,I=M,b=m,A=g[j+0]>>>0,n=g[j+1]>>>0,e=g[j+2]>>>0,r=g[j+3]>>>0,i=g[j+4]>>>0,s=g[j+5]>>>0,a=g[j+6]>>>0,c=g[j+7]>>>0,h=g[j+8]>>>0,u=g[j+9]>>>0,B=g[j+10]>>>0,l=g[j+11]>>>0,f=g[j+12]>>>0,d=g[j+13]>>>0,Q=g[j+14]>>>0,E=g[j+15]>>>0,v=F(7,25,v+(p&M|~p&m)+A-680876936)+p,m=F(12,20,m+(v&p|~v&M)+n-389564586)+v,M=F(17,15,M+(m&v|~m&p)+e+606105819)+m,p=F(22,10,p+(M&m|~M&v)+r-1044525330)+M,v=F(7,25,v+(p&M|~p&m)+i-176418897)+p,m=F(12,20,m+(v&p|~v&M)+s+1200080426)+v,M=F(17,15,M+(m&v|~m&p)+a-1473231341)+m,p=F(22,10,p+(M&m|~M&v)+c-45705983)+M,v=F(7,25,v+(p&M|~p&m)+h+1770035416)+p,m=F(12,20,m+(v&p|~v&M)+u-1958414417)+v,M=F(17,15,M+(m&v|~m&p)+B-42063)+m,p=F(22,10,p+(M&m|~M&v)+l-1990404162)+M,v=F(7,25,v+(p&M|~p&m)+f+1804603682)+p,m=F(12,20,m+(v&p|~v&M)+d-40341101)+v,M=F(17,15,M+(m&v|~m&p)+Q-1502002290)+m,p=F(22,10,p+(M&m|~M&v)+E+1236535329)+M,v=F(5,27,v+(p&m|M&~m)+n-165796510)+p,m=F(9,23,m+(v&M|p&~M)+a-1069501632)+v,M=F(14,18,M+(m&p|v&~p)+l+643717713)+m,p=F(20,12,p+(M&v|m&~v)+A-373897302)+M,v=F(5,27,v+(p&m|M&~m)+s-701558691)+p,m=F(9,23,m+(v&M|p&~M)+B+38016083)+v,M=F(14,18,M+(m&p|v&~p)+E-660478335)+m,p=F(20,12,p+(M&v|m&~v)+i-405537848)+M,v=F(5,27,v+(p&m|M&~m)+u+568446438)+p,m=F(9,23,m+(v&M|p&~M)+Q-1019803690)+v,M=F(14,18,M+(m&p|v&~p)+r-187363961)+m,p=F(20,12,p+(M&v|m&~v)+h+1163531501)+M,v=F(5,27,v+(p&m|M&~m)+d-1444681467)+p,m=F(9,23,m+(v&M|p&~M)+e-51403784)+v,M=F(14,18,M+(m&p|v&~p)+c+1735328473)+m,p=F(20,12,p+(M&v|m&~v)+f-1926607734)+M,v=F(4,28,v+(p^M^m)+s-378558)+p,m=F(11,21,m+(v^p^M)+h-2022574463)+v,M=F(16,16,M+(m^v^p)+l+1839030562)+m,p=F(23,9,p+(M^m^v)+Q-35309556)+M,v=F(4,28,v+(p^M^m)+n-1530992060)+p,m=F(11,21,m+(v^p^M)+i+1272893353)+v,M=F(16,16,M+(m^v^p)+c-155497632)+m,p=F(23,9,p+(M^m^v)+B-1094730640)+M,v=F(4,28,v+(p^M^m)+d+681279174)+p,m=F(11,21,m+(v^p^M)+A-358537222)+v,M=F(16,16,M+(m^v^p)+r-722521979)+m,p=F(23,9,p+(M^m^v)+a+76029189)+M,v=F(4,28,v+(p^M^m)+u-640364487)+p,m=F(11,21,m+(v^p^M)+f-421815835)+v,M=F(16,16,M+(m^v^p)+E+530742520)+m,p=F(23,9,p+(M^m^v)+e-995338651)+M,v=F(6,26,v+(M^(p|~m))+A-198630844)+p,m=F(10,22,m+(p^(v|~M))+c+1126891415)+v,M=F(15,17,M+(v^(m|~p))+Q-1416354905)+m,p=F(21,11,p+(m^(M|~v))+s-57434055)+M,v=F(6,26,v+(M^(p|~m))+f+1700485571)+p,m=F(10,22,m+(p^(v|~M))+r-1894986606)+v,M=F(15,17,M+(v^(m|~p))+B-1051523)+m,p=F(21,11,p+(m^(M|~v))+n-2054922799)+M,v=F(6,26,v+(M^(p|~m))+h+1873313359)+p,m=F(10,22,m+(p^(v|~M))+E-30611744)+v,M=F(15,17,M+(v^(m|~p))+a-1560198380)+m,p=F(21,11,p+(m^(M|~v))+d+1309151649)+M,v=F(6,26,v+(M^(p|~m))+i-145523070)+p,m=F(10,22,m+(p^(v|~M))+l-1120210379)+v,M=F(15,17,M+(v^(m|~p))+e+718787259)+m,p=F(21,11,p+(m^(M|~v))+u-343485551)+M,v=v+w>>>0,p=p+y>>>0,M=M+I>>>0,m=m+b>>>0;return C.endian([v,p,M,m]);function F(t,o,A){return A<<t|A>>>o}}(t));return o&&o.asBytes?A:C.bytesToHex(A)},u=function(){var t,o,A,n,e,r,i,s,a,c;return function(h,u,B,l){var f;return t=u.loops,u.loop,o=u.getA,n=u.getB,r=u.getC,s=u.getD,u.getX,A=u.setA,e=u.setB,i=u.setC,a=u.setD,u.setX,c=B,f=C.wordsToBytes(function(h){(new Date).getTime();var u,B,l,f,d,Q,E,w,y,b,g,v,p,M,m,G,x,j,F,W,D,H,q=1732584193,U=-271733879,J=-1732584194,R=271733878,Z=0,L=8*h.length;for(function(t,o){var A,n,e,r,i=-1,s=Math.floor((t.length-1)/4),a=0;for(;s-8>i++;)a=i<<2,o[i]=t[a+0]|t[a+1]<<8|t[a+2]<<16|t[a+3]<<24;i--;for(;s>i++;)A=void 0===t[(a=i<<2)+0]?0:t[a+0],n=void 0===t[a+1]?0:t[a+1],e=void 0===t[a+2]?0:t[a+2],r=void 0===t[a+3]?0:t[a+3],o[i]=A|n<<8|e<<16|r<<24;return s+1}(h,c),c[L>>>5]|=128<<L%32,c[14+(L+64>>>9<<4)]=L,H=15+(L+64>>>9<<4),D=c;Z<H;)H>Z+I?(A(q),e(U),i(J),a(R),t(61440),Z+=983040,q=o(),U=n(),J=r(),R=s()):(x=q,j=U,F=J,W=R,u=D[Z+0]>>>0,B=D[Z+1]>>>0,l=D[Z+2]>>>0,f=D[Z+3]>>>0,d=D[Z+4]>>>0,Q=D[Z+5]>>>0,E=D[Z+6]>>>0,w=D[Z+7]>>>0,y=D[Z+8]>>>0,b=D[Z+9]>>>0,g=D[Z+10]>>>0,v=D[Z+11]>>>0,p=D[Z+12]>>>0,M=D[Z+13]>>>0,m=D[Z+14]>>>0,G=D[Z+15]>>>0,q=S(7,25,q+(U&J|~U&R)+u-680876936)+U,R=S(12,20,R+(q&U|~q&J)+B-389564586)+q,J=S(17,15,J+(R&q|~R&U)+l+606105819)+R,U=S(22,10,U+(J&R|~J&q)+f-1044525330)+J,q=S(7,25,q+(U&J|~U&R)+d-176418897)+U,R=S(12,20,R+(q&U|~q&J)+Q+1200080426)+q,J=S(17,15,J+(R&q|~R&U)+E-1473231341)+R,U=S(22,10,U+(J&R|~J&q)+w-45705983)+J,q=S(7,25,q+(U&J|~U&R)+y+1770035416)+U,R=S(12,20,R+(q&U|~q&J)+b-1958414417)+q,J=S(17,15,J+(R&q|~R&U)+g-42063)+R,U=S(22,10,U+(J&R|~J&q)+v-1990404162)+J,q=S(7,25,q+(U&J|~U&R)+p+1804603682)+U,R=S(12,20,R+(q&U|~q&J)+M-40341101)+q,J=S(17,15,J+(R&q|~R&U)+m-1502002290)+R,U=S(22,10,U+(J&R|~J&q)+G+1236535329)+J,q=S(5,27,q+(U&R|J&~R)+B-165796510)+U,R=S(9,23,R+(q&J|U&~J)+E-1069501632)+q,J=S(14,18,J+(R&U|q&~U)+v+643717713)+R,U=S(20,12,U+(J&q|R&~q)+u-373897302)+J,q=S(5,27,q+(U&R|J&~R)+Q-701558691)+U,R=S(9,23,R+(q&J|U&~J)+g+38016083)+q,J=S(14,18,J+(R&U|q&~U)+G-660478335)+R,U=S(20,12,U+(J&q|R&~q)+d-405537848)+J,q=S(5,27,q+(U&R|J&~R)+b+568446438)+U,R=S(9,23,R+(q&J|U&~J)+m-1019803690)+q,J=S(14,18,J+(R&U|q&~U)+f-187363961)+R,U=S(20,12,U+(J&q|R&~q)+y+1163531501)+J,q=S(5,27,q+(U&R|J&~R)+M-1444681467)+U,R=S(9,23,R+(q&J|U&~J)+l-51403784)+q,J=S(14,18,J+(R&U|q&~U)+w+1735328473)+R,U=S(20,12,U+(J&q|R&~q)+p-1926607734)+J,q=S(4,28,q+(U^J^R)+Q-378558)+U,R=S(11,21,R+(q^U^J)+y-2022574463)+q,J=S(16,16,J+(R^q^U)+v+1839030562)+R,U=S(23,9,U+(J^R^q)+m-35309556)+J,q=S(4,28,q+(U^J^R)+B-1530992060)+U,R=S(11,21,R+(q^U^J)+d+1272893353)+q,J=S(16,16,J+(R^q^U)+w-155497632)+R,U=S(23,9,U+(J^R^q)+g-1094730640)+J,q=S(4,28,q+(U^J^R)+M+681279174)+U,R=S(11,21,R+(q^U^J)+u-358537222)+q,J=S(16,16,J+(R^q^U)+f-722521979)+R,U=S(23,9,U+(J^R^q)+E+76029189)+J,q=S(4,28,q+(U^J^R)+b-640364487)+U,R=S(11,21,R+(q^U^J)+p-421815835)+q,J=S(16,16,J+(R^q^U)+G+530742520)+R,U=S(23,9,U+(J^R^q)+l-995338651)+J,q=S(6,26,q+(J^(U|~R))+u-198630844)+U,R=S(10,22,R+(U^(q|~J))+w+1126891415)+q,J=S(15,17,J+(q^(R|~U))+m-1416354905)+R,U=S(21,11,U+(R^(J|~q))+Q-57434055)+J,q=S(6,26,q+(J^(U|~R))+p+1700485571)+U,R=S(10,22,R+(U^(q|~J))+f-1894986606)+q,J=S(15,17,J+(q^(R|~U))+g-1051523)+R,U=S(21,11,U+(R^(J|~q))+B-2054922799)+J,q=S(6,26,q+(J^(U|~R))+y+1873313359)+U,R=S(10,22,R+(U^(q|~J))+G-30611744)+q,J=S(15,17,J+(q^(R|~U))+E-1560198380)+R,U=S(21,11,U+(R^(J|~q))+M+1309151649)+J,q=S(6,26,q+(J^(U|~R))+d-145523070)+U,R=S(10,22,R+(U^(q|~J))+v-1120210379)+q,J=S(15,17,J+(q^(R|~U))+l+718787259)+R,U=S(21,11,U+(R^(J|~q))+b-343485551)+J,Z+=16,q=q+x>>>0,U=U+j>>>0,J=J+F>>>0,R=R+W>>>0);return C.endian([q,U,J,R]);function S(t,o,A){return A<<t|A>>>o}}(h)),l&&l.asBytes?f:C.bytesToHex(f)}}(),B={},l=(new Date).getTime();return B.then=function(t){return i=t,f(),B},B.catch=function(t){return s=t,B},t&&"object"==typeof t?"function"==typeof Buffer&&t.constructor===Buffer?r=t:t.constructor===Uint8Array||t.constructor===ArrayBuffer?r=t.constructor===ArrayBuffer?new Uint8Array(t):t:d(new TypeError(b)):d(new TypeError(b)),r&&(e=r.length,y&&e>I?e>268369920?d(new Error("Parameter exceeds max size of 255.9 Mbytes")):(o=new WebAssembly.Memory({initial:e>32e6?e>64e6?e>128e6?4096:2048:1024:512}),A=new Uint32Array(o.buffer),n={imports:{mem:o,log:console.log}},WebAssembly.instantiate(y,n).then((function(t){f(u(r,t.instance.exports,A))}))):f(h(r))),B;function f(t){var o=Boolean(t)?t:a;Boolean(t)&&(c=(new Date).getTime()),"function"==typeof i?Boolean(o)&&(i(o,c-l),i=s=null):Boolean(t)&&(a=t)}function d(t){"function"==typeof s&&s(t)}}function v(t){return t}function p(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}y||console.log("WebAssembly not available or WASM module could not be decoded; md5WASM will fall back to JavaScript");class M extends r{constructor(t={}){super(),p(this,"name","md5"),p(this,"options",void 0),this.options=t}async hash(t){const o=new Promise((o,A)=>g(t).then(o).catch(A));return h(await o)}}function m(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}let G;class x extends r{constructor(t){var o,A;if(super(),m(this,"name",void 0),m(this,"options",void 0),m(this,"_algorithm",void 0),m(this,"_hash",void 0),this.options=t,this._algorithm=null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A?void 0:A.algorithm,!this._algorithm)throw new Error(this.name);this.name=this._algorithm.toLowerCase()}async preload(){var t,o;if(!G&&(G=null===(t=this.options)||void 0===t||null===(o=t.modules)||void 0===o?void 0:o.CryptoJS,!G))throw new Error(this.name);if(!this._hash){const t=G.algo[this._algorithm];this._hash=t.create()}if(!this._hash)throw new Error(this.name)}async hash(t){await this.preload();const o=G.lib.WordArray.create(t);return this._hash.update(o).finalize().toString(G.enc.Base64)}async*hashBatches(t){var o,A,n;await this.preload();for await(const o of t){const t=G.lib.WordArray.create(o);this._hash.update(t),yield o}const e=this._hash.finalize().toString(G.enc.Base64);null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||null===(n=A.onEnd)||void 0===n||n.call(A,{hash:e})}}class j extends x{constructor(t){super({...t,crypto:{...t.crypto,algorithm:"SHA256"}})}}var F=A(1);function W(t,o,A){return o in t?Object.defineProperty(t,o,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[o]=A,t}class D extends r{constructor(t){var o,A;if(super(),W(this,"name","crypto-node"),W(this,"options",void 0),W(this,"_algorithm",void 0),W(this,"_hash",void 0),this.options=t,null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||!A.algorithm)throw new Error(this.name)}async hash(t){var o,A,n;await this.preload();const e=Object(F.createHash)(null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||null===(n=A.algorithm)||void 0===n?void 0:n.toLowerCase()),r=new Uint8Array(t);return e.update(r).digest("base64")}async*hashBatches(t){var o,A,n,e,r,i;await this.preload();const s=Object(F.createHash)(null===(o=this.options)||void 0===o||null===(A=o.crypto)||void 0===A||null===(n=A.algorithm)||void 0===n?void 0:n.toLowerCase());for await(const o of t){const t=new Uint8Array(o);s.update(t),yield o}null===(e=this.options)||void 0===e||null===(r=e.crypto)||void 0===r||null===(i=r.onEnd)||void 0===i||i.call(r,{hash:s.digest("base64")})}}const H={id:"crypto",name:"CRC32, CRC32c and MD5 Hashes",module:"crypto",version:"3.0.5",options:{crypto:{}}},q={id:"cryptojs",name:"Cryptographic Hashes",module:"crypto",version:"3.0.5",options:{cryptojs:{}}}}])}));
//# sourceMappingURL=dist.min.js.map

@@ -70,3 +70,3 @@ "use strict";

var VERSION = typeof "3.0.4" !== 'undefined' ? "3.0.4" : 'latest';
var VERSION = typeof "3.0.5" !== 'undefined' ? "3.0.5" : 'latest';
var CryptoWorker = {

@@ -73,0 +73,0 @@ id: 'crypto',

@@ -8,3 +8,3 @@ export { CRC32Hash } from './lib/crc32-hash';

export { hexToBase64 as _hexToBase64, toHex as _toHex } from './lib/utils/digest-utils';
const VERSION = typeof "3.0.4" !== 'undefined' ? "3.0.4" : 'latest';
const VERSION = typeof "3.0.5" !== 'undefined' ? "3.0.5" : 'latest';
export const CryptoWorker = {

@@ -11,0 +11,0 @@ id: 'crypto',

{
"name": "@loaders.gl/crypto",
"version": "3.0.4",
"version": "3.0.5",
"description": "Cryptographic/hashing plugins for loaders.gl",

@@ -36,4 +36,4 @@ "license": "MIT",

"@babel/runtime": "^7.3.1",
"@loaders.gl/loader-utils": "3.0.4",
"@loaders.gl/worker-utils": "3.0.4",
"@loaders.gl/loader-utils": "3.0.5",
"@loaders.gl/worker-utils": "3.0.5",
"@types/crypto-js": "^4.0.1"

@@ -48,3 +48,3 @@ },

},
"gitHead": "03447de06ec59ac283bb1ee807b95ab73f117f9a"
"gitHead": "7043218eaff37ffa9998f0758e1712286c68c9ea"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc