KR/function/assets/h5_3_1_src.js

16 lines
206 KiB
JavaScript
Raw Normal View History

2023-11-29 10:06:39 +08:00
var ParamsSign=function(){"use strict";var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(n){if(n.__esModule)return n;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(n).forEach((function(r){var e=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,e.get?e:{enumerable:!0,get:function(){return n[r]}})})),t}function r(n,t,r,e,i,u,o){try{var c=n[u](o),a=c.value}catch(n){return void r(n)}c.done?t(a):Promise.resolve(a).then(e,i)}var e=function(n){return function(){var t=this,e=arguments;return new Promise((function(i,u){var o=n.apply(t,e);function c(n){r(o,i,u,c,a,"next",n)}function a(n){r(o,i,u,c,a,"throw",n)}c(void 0)}))}};var i=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")};function u(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}var o=function(n,t,r){return t&&u(n.prototype,t),r&&u(n,r),n};function c(n){return a=c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},c(n)}var a=c,f=a,s={exports:{}};!function(n){var t=function(n){var t,r=Object.prototype,e=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function a(n,t,r){return Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),n[t]}try{a({},"")}catch(n){a=function(n,t,r){return n[t]=r}}function s(n,t,r,e){var i=t&&t.prototype instanceof y?t:y,u=Object.create(i.prototype),o=new K(e||[]);return u._invoke=function(n,t,r){var e=h;return function(i,u){if(e===x)throw new Error("Generator is already running");if(e===d){if("throw"===i)throw u;return M()}for(r.method=i,r.arg=u;;){var o=r.delegate;if(o){var c=D(o,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(e===h)throw e=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);e=x;var a=v(n,t,r);if("normal"===a.type){if(e=r.done?d:l,a.arg===p)continue;return{value:a.arg,done:r.done}}"throw"===a.type&&(e=d,r.method="throw",r.arg=a.arg)}}}(n,r,o),u}function v(n,t,r){try{return{type:"normal",arg:n.call(t,r)}}catch(n){return{type:"throw",arg:n}}}n.wrap=s;var h="suspendedStart",l="suspendedYield",x="executing",d="completed",p={};function y(){}function _(){}function w(){}var g={};g[u]=function(){return this};var m=Object.getPrototypeOf,b=m&&m(m(q([])));b&&b!==r&&e.call(b,u)&&(g=b);var C=w.prototype=y.prototype=Object.create(g);function z(n){["next","throw","return"].forEach((function(t){a(n,t,(function(n){return this._invoke(t,n)}))}))}function B(n,t){function r(i,u,o,c){var a=v(n[i],n,u);if("throw"!==a.type){var s=a.arg,h=s.value;return h&&"object"===f(h)&&e.call(h,"__await")?t.resolve(h.__await).then((function(n){r("next",n,o,c)}),(function(n){r("throw",n,o,c)})):t.resolve(h).then((function(n){s.value=n,o(s)}),(function(n){return r("throw",n,o,c)}))}c(a.arg)}var i;this._invoke=function(n,e){function u(){return new t((function(t,i){r(n,e,t,i)}))}return i=i?i.then(u,u):u()}}function D(n,r){var e=n.iterator[r.method];if(e===t){if(r.delegate=null,"throw"===r.method){if(n.iterator.return&&(r.method="return",r.arg=t,D(n,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=v(e,n.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,p;var u=i.arg;return u?u.done?(r[n.resultName]=u.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):u:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function A(n){var t={tryLoc:n[0]};1 in n&&(t.catchLoc=n[1]),2 in n&&(t.finallyLoc=n[2],t.afterLoc=n[3]),this.
/** @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.
*/
return function(t){var r=n,e=r.lib,i=e.WordArray,u=e.Hasher,o=r.algo,c=i.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]),a=i.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]),f=i.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]),s=i.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]),v=i.create([0,1518500249,1859775393,2400959708,2840853838]),h=i.create([1352829926,1548603684,1836072691,2053994217,0]),l=o.RIPEMD160=u.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(n,t){for(var r=0;r<16;r++){var e=t+r,i=n[e];n[e]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var u,o,l,g,m,b,C,z,B,D,A,L=this._hash.words,K=v.words,q=h.words,M=c.words,S=a.words,k=f.words,j=s.words;for(b=u=L[0],C=o=L[1],z=l=L[2],B=g=L[3],D=m=L[4],r=0;r<80;r+=1)A=u+n[t+M[r]]|0,A+=r<16?x(o,l,g)+K[0]:r<32?d(o,l,g)+K[1]:r<48?p(o,l,g)+K[2]:r<64?y(o,l,g)+K[3]:_(o,l,g)+K[4],A=(A=w(A|=0,k[r]))+m|0,u=m,m=g,g=w(l,10),l=o,o=A,A=b+n[t+S[r]]|0,A+=r<16?_(C,z,B)+q[0]:r<32?y(C,z,B)+q[1]:r<48?p(C,z,B)+q[2]:r<64?d(C,z,B)+q[3]:x(C,z,B)+q[4],A=(A=w(A|=0,j[r]))+D|0,b=D,D=B,B=w(z,10),z=C,C=A;A=L[1]+l+B|0,L[1]=L[2]+g+D|0,L[2]=L[3]+m+b|0,L[3]=L[4]+u+C|0,L[4]=L[0]+o+z|0,L[0]=A},_doFinalize:function(){var n=this._data,t=n.words,r=8*this._nDataBytes,e=8*n.sigBytes;t[e>>>5]|=128<<24-e%32,t[14+(e+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),n.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,u=i.words,o=0;o<5;o++){var c=u[o];u[o]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return i},clone:function(){var n=u.clone.call(this);return n._hash=this._hash.clone(),n}});function x(n,t,r){return n^t^r}function d(n,t,r){return n&t|~n&r}function p(n,t,r){return(n|~t)^r}function y(n,t,r){return n&r|t&~r}function _(n,t,r){return n^(t|~r)}function w(n,t){return n<<t|n>>>32-t}r.RIPEMD160=u._createHelper(l),r.HmacRIPEMD160=u._createHmacHelper(l)}(),n.RIPEMD160}(mt.exports)}(jt);var Et={exports:{}};!function(n,t){n.exports=function(n){var t,r,e;r=(t=n).lib.Base,e=t.enc.Utf8,t.algo.HMAC=r.extend({init:function(n,t){n=this._hasher=new n.init,"string"==typeof t&&(t=e.parse(t));var r=n.blockSize,i=4*r;t.sigBytes>i&&(t=n.finalize(t)),t.clamp();for(var u=this._oKey=t.clone(),o=this._iKey=t.clone(),c=u.words,a=o.words,f=0;f<r;f++)c[f]^=1549556828,a[f]^=909522486;u.sigBytes=o.sigBytes=i,this.reset()},reset:function(){var n=this._hasher;n.reset(),n.update(this._iKey)},update:function(n){return this._hasher.update(n),this},finalize:function(n){var t=this._hasher,r=t.finalize(n);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})}(mt.exports)}(Et);var Wt={exports:{}};!function(n,t){n.exports=function(n){return r=(t=n).lib,e=r.Base,i=r.WordArray,u=t.algo,o=u.SHA1,c=u.HMAC,a=u.PBKDF2=e.extend({cfg:e.extend({keySize:4,hasher:o,iterations:1}),init:function(n){this.cfg=this.cfg.extend(n)},compute:function(n,t){for(var r=this.cfg,e=c.create(r.hasher,n),u=i.create(),o=i.create([1]),a=u.words,f=o.words,s=r.keySize,v=r.iterations;a.length<s;){var h=e.update(t).finalize(o);e.reset();for(var l=h.words,x=l.length,d=h,p=1;p<v;p++){d=e.finalize(d),e.reset();for(var y=d.words,_=0;_<x;_++)l[_]^=y[_]}u.concat(h),f[0]++}return u.sigBytes=4*s,u}}),t.PBKDF2=function(n,t,r){return a.create(r).compute(n,t)},n.PBKDF2;var t,r,e,i,u,o,c,a}(mt.exports)}(Wt);var Ht={exports:{}};!function(n,t){n.exports=function(n){return r=(t=n).lib,e=r.Base,i=r.WordArray,u=t.algo,o=u.MD5,c=u.EvpKDF=e.extend({cfg:e.extend({keyS
/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/
return n.mode.CTRGladman=function(){var t=n.lib.BlockCipherMode.extend();function r(n){if(255==(n>>24&255)){var t=n>>16&255,r=n>>8&255,e=255&n;255===t?(t=0,255===r?(r=0,255===e?e=0:++e):++r):++t,n=0,n+=t<<16,n+=r<<8,n+=e}else n+=1<<24;return n}function e(n){return 0===(n[0]=r(n[0]))&&(n[1]=r(n[1])),n}var i=t.Encryptor=t.extend({processBlock:function(n,t){var r=this._cipher,i=r.blockSize,u=this._iv,o=this._counter;u&&(o=this._counter=u.slice(0),this._iv=void 0),e(o);var c=o.slice(0);r.encryptBlock(c,0);for(var a=0;a<i;a++)n[t+a]^=c[a]}});return t.Decryptor=i,t}(),n.mode.CTRGladman}(mt.exports)}(It);var Tt={exports:{}};!function(n,t){n.exports=function(n){return n.mode.OFB=(t=n.lib.BlockCipherMode.extend(),r=t.Encryptor=t.extend({processBlock:function(n,t){var r=this._cipher,e=r.blockSize,i=this._iv,u=this._keystream;i&&(u=this._keystream=i.slice(0),this._iv=void 0),r.encryptBlock(u,0);for(var o=0;o<e;o++)n[t+o]^=u[o]}}),t.Decryptor=r,t),n.mode.OFB;var t,r}(mt.exports)}(Tt);var Gt={exports:{}};!function(n,t){n.exports=function(n){return n.mode.ECB=((t=n.lib.BlockCipherMode.extend()).Encryptor=t.extend({processBlock:function(n,t){this._cipher.encryptBlock(n,t)}}),t.Decryptor=t.extend({processBlock:function(n,t){this._cipher.decryptBlock(n,t)}}),t),n.mode.ECB;var t}(mt.exports)}(Gt);var Ft={exports:{}};!function(n,t){n.exports=function(n){return n.pad.AnsiX923={pad:function(n,t){var r=n.sigBytes,e=4*t,i=e-r%e,u=r+i-1;n.clamp(),n.words[u>>>2]|=i<<24-u%4*8,n.sigBytes+=i},unpad:function(n){var t=255&n.words[n.sigBytes-1>>>2];n.sigBytes-=t}},n.pad.Ansix923}(mt.exports)}(Ft);var Rt={exports:{}};!function(n,t){n.exports=function(n){return n.pad.Iso10126={pad:function(t,r){var e=4*r,i=e-t.sigBytes%e;t.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(n){var t=255&n.words[n.sigBytes-1>>>2];n.sigBytes-=t}},n.pad.Iso10126}(mt.exports)}(Rt);var Ut={exports:{}};!function(n,t){n.exports=function(n){return n.pad.Iso97971={pad:function(t,r){t.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(t,r)},unpad:function(t){n.pad.ZeroPadding.unpad(t),t.sigBytes--}},n.pad.Iso97971}(mt.exports)}(Ut);var Xt={exports:{}};!function(n,t){n.exports=function(n){return n.pad.ZeroPadding={pad:function(n,t){var r=4*t;n.clamp(),n.sigBytes+=r-(n.sigBytes%r||r)},unpad:function(n){var t=n.words,r=n.sigBytes-1;for(r=n.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){n.sigBytes=r+1;break}}},n.pad.ZeroPadding}(mt.exports)}(Xt);var Yt={exports:{}};!function(n,t){n.exports=function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding}(mt.exports)}(Yt);var Zt={exports:{}};!function(n,t){n.exports=function(n){return r=(t=n).lib.CipherParams,e=t.enc.Hex,t.format.Hex={stringify:function(n){return n.ciphertext.toString(e)},parse:function(n){var t=e.parse(n);return r.create({ciphertext:t})}},n.format.Hex;var t,r,e}(mt.exports)}(Zt);var Vt={exports:{}};!function(n,t){n.exports=function(n){return function(){var t=n,r=t.lib.BlockCipher,e=t.algo,i=[],u=[],o=[],c=[],a=[],f=[],s=[],v=[],h=[],l=[];!function(){for(var n=[],t=0;t<256;t++)n[t]=t<128?t<<1:t<<1^283;var r=0,e=0;for(t=0;t<256;t++){var x=e^e<<1^e<<2^e<<3^e<<4;x=x>>>8^255&x^99,i[r]=x,u[x]=r;var d=n[r],p=n[d],y=n[p],_=257*n[x]^16843008*x;o[r]=_<<24|_>>>8,c[r]=_<<16|_>>>16,a[r]=_<<8|_>>>24,f[r]=_,_=16843009*y^65537*p^257*d^16843008*r,s[x]=_<<24|_>>>8,v[x]=_<<16|_>>>16,h[x]=_<<8|_>>>24,l[x]=_,r?(r=d^n[n[n[y^d]]],e^=n[n[e]]):r=e=1}}();var x=[0,1,2,4,8,16,32,64,128,27,54],d=e.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var n=this._keyPriorReset=this._key,t=n.words,r=n.sigBytes/4,e=4*((this._nRounds=r+6)+1),u=this._keySchedule=[],o=0;o<e;o++)o<r?u[o]=t[o]:(f=u[o-1],o%r?r>6&&o%r==4&&(f=i[f>>>24]<<24|i[f>>>16&255]<<16|i[f>>>8&255]<<8|i[255&f]):(f=i[(f=f<<8|f>>>24)>>>24]<<24|i[f>>>16&255]<<16|i[f>>>8&255]<<8|i[255&f],f^=x[o/r|0]<<24),u[o]=u[o-r]^f);for(var c=this._invKeySchedule=[],a=0;a<e;a++){if(o=e-a,a%4)var f=u[o];else f=u[o-4];c[a]=a<4||o<=4?f:s[i[f>>>24]]^v[i[f>>>16&255]]^h[i[f>>>8&255]]^l[i[