@kne-components/react-pdf-sign 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/build/asset-manifest.json +28 -28
  2. package/build/index.html +1 -1
  3. package/build/remoteEntry.js +1 -1
  4. package/build/remoteEntry.js.map +1 -1
  5. package/build/static/js/0.1d902a60.chunk.js +2 -0
  6. package/build/static/js/{0.b6d614cc.chunk.js.map → 0.1d902a60.chunk.js.map} +1 -1
  7. package/build/static/js/119.2a87eee7.chunk.js +2 -0
  8. package/build/static/js/119.2a87eee7.chunk.js.map +1 -0
  9. package/build/static/js/{201.8e49107f.chunk.js → 201.fa98451e.chunk.js} +2 -2
  10. package/build/static/js/201.fa98451e.chunk.js.map +1 -0
  11. package/build/static/js/237.c78cbf3d.chunk.js +2 -0
  12. package/build/static/js/237.c78cbf3d.chunk.js.map +1 -0
  13. package/build/static/js/334.be1501c9.chunk.js +3 -0
  14. package/build/static/js/334.be1501c9.chunk.js.map +1 -0
  15. package/build/static/js/{351.9c5e5dd7.chunk.js → 351.50e0ca8b.chunk.js} +2 -2
  16. package/build/static/js/351.50e0ca8b.chunk.js.map +1 -0
  17. package/build/static/js/382.c1ed3e03.chunk.js +2 -0
  18. package/build/static/js/382.c1ed3e03.chunk.js.map +1 -0
  19. package/build/static/js/399.51c4e9c7.chunk.js +2 -0
  20. package/build/static/js/399.51c4e9c7.chunk.js.map +1 -0
  21. package/build/static/js/{72.22f5f6b3.chunk.js → 72.0248b530.chunk.js} +2 -2
  22. package/build/static/js/{72.22f5f6b3.chunk.js.map → 72.0248b530.chunk.js.map} +1 -1
  23. package/build/static/js/{784.45b9a4a8.chunk.js → 784.12f8208c.chunk.js} +2 -2
  24. package/build/static/js/{784.45b9a4a8.chunk.js.map → 784.12f8208c.chunk.js.map} +1 -1
  25. package/build/static/js/{8.a1cd0091.chunk.js → 8.f93f16e3.chunk.js} +2 -2
  26. package/build/static/js/8.f93f16e3.chunk.js.map +1 -0
  27. package/build/static/js/825.6655ce77.chunk.js +2 -0
  28. package/build/static/js/825.6655ce77.chunk.js.map +1 -0
  29. package/build/static/js/{main.e62fa856.js → main.111f76ce.js} +2 -2
  30. package/build/static/js/{main.e62fa856.js.map → main.111f76ce.js.map} +1 -1
  31. package/package.json +1 -1
  32. package/build/static/js/0.b6d614cc.chunk.js +0 -2
  33. package/build/static/js/201.8e49107f.chunk.js.map +0 -1
  34. package/build/static/js/237.f29216d3.chunk.js +0 -2
  35. package/build/static/js/237.f29216d3.chunk.js.map +0 -1
  36. package/build/static/js/286.706c3a72.chunk.js +0 -2
  37. package/build/static/js/286.706c3a72.chunk.js.map +0 -1
  38. package/build/static/js/351.9c5e5dd7.chunk.js.map +0 -1
  39. package/build/static/js/399.46c1a7ba.chunk.js +0 -2
  40. package/build/static/js/399.46c1a7ba.chunk.js.map +0 -1
  41. package/build/static/js/568.a3b46018.chunk.js +0 -2
  42. package/build/static/js/568.a3b46018.chunk.js.map +0 -1
  43. package/build/static/js/8.a1cd0091.chunk.js.map +0 -1
  44. package/build/static/js/825.f7b9a9eb.chunk.js +0 -2
  45. package/build/static/js/825.f7b9a9eb.chunk.js.map +0 -1
  46. package/build/static/js/989.e745d217.chunk.js +0 -3
  47. package/build/static/js/989.e745d217.chunk.js.map +0 -1
  48. /package/build/static/js/{989.e745d217.chunk.js.LICENSE.txt → 334.be1501c9.chunk.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- (self.webpackChunk_kne_components_react_pdf_sign=self.webpackChunk_kne_components_react_pdf_sign||[]).push([[351],{360(t,e,r){var n=r(96537),o=r(14547),i=r(93179),a=r(49578),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:a;t.exports=s},534(t,e,r){var n=r(41987),o=r(46205);t.exports=function(t,e){return e.length<2?t:n(t,o(e,0,-1))}},2316(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},2344(t,e,r){var n=r(65610);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},2387(t,e,r){var n=r(81051),o=r(76003),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},3654(t,e,r){var n=r(49266),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(u){}var o=a.call(t);return n&&(e?t[s]=r:delete t[s]),o}},5131(t){t.exports=function(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}},5186(t,e,r){var n=r(88992),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),u=Array(s);++a<s;)u[a]=i[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=i[a];return c[e]=r(u),n(t,this,c)}}},5913(t,e,r){var n=r(87210),o=r(27882),i=r(98554);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},7820(t,e,r){var n=r(81633);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},9104(t,e,r){var n=r(2316),o=r(69810),i=r(85106),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&r.push(s);return r}},9517(t,e,r){var n=r(20533),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e});t.exports=a},10161(t,e,r){var n=r(83689),o=r(46484),i=r(98677),a=i&&i.isMap,s=a?o(a):n;t.exports=s},10238(t,e,r){var n=r(91959),o=r(28566),i=r(78514),a=r(67574),s=r(47352),u=r(36555),c=r(83103),f=r(80338),l=c(function(t,e){var r={};if(null==t)return r;var c=!1;e=n(e,function(e){return e=a(e,t),c||(c=e.length>1),e}),s(t,f(t),r),c&&(r=o(r,7,u));for(var l=e.length;l--;)i(r,e[l]);return r});t.exports=l},10427(t,e,r){var n=r(59704),o=r(80251);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},11394(t,e,r){var n=r(80951),o=r(23052);t.exports=function(t,e){return n(t,e,function(e,r){return o(t,r)})}},11524(t){var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},11585(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},11747(t,e,r){var n=r(2316),o=Object.create,i=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=i},11907(t,e,r){var n=r(69810),o=r(44681),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},12408(t,e,r){var n=r(90931);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},12418(t){t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},13605(t,e,r){var n=r(10427)(r(36382),"Promise");t.exports=n},13665(t){t.exports=function t(e,r,n){function o(a,s){if(!r[a]){if(!e[a]){if(i)return i(a,!0);throw new Error("Cannot find module '"+a+"'")}s=r[a]={exports:{}},e[a][0].call(s.exports,function(t){return o(e[a][1][t]||t)},s,s.exports,t,e,r,n)}return r[a].exports}for(var i=void 0,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t,e,r){(function(n,o,i,a,s,u,c,f,l){"use strict";var p=t("crypto");function d(t,e){var r;return void 0===(r="passthrough"!==(e=y(t,e)).algorithm?p.createHash(e.algorithm):new m).write&&(r.write=r.update,r.end=r.update),b(e,r).dispatch(t),r.update||r.end(""),r.digest?r.digest("buffer"===e.encoding?void 0:e.encoding):(t=r.read(),"buffer"!==e.encoding?t.toString(e.encoding):t)}(r=e.exports=d).sha1=function(t){return d(t)},r.keys=function(t){return d(t,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(t){return d(t,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(t){return d(t,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var h=p.getHashes?p.getHashes().slice():["sha1","md5"],g=(h.push("passthrough"),["buffer","hex","binary","base64"]);function y(t,e){var r={};if(r.algorithm=(e=e||{}).algorithm||"sha1",r.encoding=e.encoding||"hex",r.excludeValues=!!e.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===e.ignoreUnknown,r.respectType=!1!==e.respectType,r.respectFunctionNames=!1!==e.respectFunctionNames,r.respectFunctionProperties=!1!==e.respectFunctionProperties,r.unorderedArrays=!0===e.unorderedArrays,r.unorderedSets=!1!==e.unorderedSets,r.unorderedObjects=!1!==e.unorderedObjects,r.replacer=e.replacer||void 0,r.excludeKeys=e.excludeKeys||void 0,void 0===t)throw new Error("Object argument required.");for(var n=0;n<h.length;++n)h[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=h[n]);if(-1===h.indexOf(r.algorithm))throw new Error('Algorithm "'+r.algorithm+'" not supported. supported values: '+h.join(", "));if(-1===g.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw new Error('Encoding "'+r.encoding+'" not supported. supported values: '+g.join(", "));return r}function v(t){if("function"==typeof t)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(t))}function b(t,e,r){function n(t){return e.update?e.update(t,"utf8"):e.write(t,"utf8")}return r=r||[],{dispatch:function(e){return this["_"+(null===(e=t.replacer?t.replacer(e):e)?"null":typeof e)](e)},_object:function(e){var o,a=Object.prototype.toString.call(e),s=/\[object (.*)\]/i.exec(a);if(s=(s=s?s[1]:"unknown:["+a+"]").toLowerCase(),0<=(a=r.indexOf(e)))return this.dispatch("[CIRCULAR:"+a+"]");if(r.push(e),void 0!==i&&i.isBuffer&&i.isBuffer(e))return n("buffer:"),n(e);if("object"===s||"function"===s||"asyncfunction"===s)return a=Object.keys(e),t.unorderedObjects&&(a=a.sort()),!1===t.respectType||v(e)||a.splice(0,0,"prototype","__proto__","constructor"),t.excludeKeys&&(a=a.filter(function(e){return!t.excludeKeys(e)})),n("object:"+a.length+":"),o=this,a.forEach(function(r){o.dispatch(r),n(":"),t.excludeValues||o.dispatch(e[r]),n(",")});if(!this["_"+s]){if(t.ignoreUnknown)return n("["+s+"]");throw new Error('Unknown object type "'+s+'"')}this["_"+s](e)},_array:function(e,o){o=void 0!==o?o:!1!==t.unorderedArrays;var i=this;if(n("array:"+e.length+":"),!o||e.length<=1)return e.forEach(function(t){return i.dispatch(t)});var a=[];return o=e.map(function(e){var n=new m,o=r.slice();return b(t,n,o).dispatch(e),a=a.concat(o.slice(r.length)),n.read().toString()}),r=r.concat(a),o.sort(),this._array(o,!1)},_date:function(t){return n("date:"+t.toJSON())},_symbol:function(t){return n("symbol:"+t.toString())},_error:function(t){return n("error:"+t.toString())},_boolean:function(t){return n("bool:"+t.toString())},_string:function(t){n("string:"+t.length+":"),n(t.toString())},_function:function(e){n("fn:"),v(e)?this.dispatch("[native]"):this.dispatch(e.toString()),!1!==t.respectFunctionNames&&this.dispatch("function-name:"+String(e.name)),t.respectFunctionProperties&&this._object(e)},_number:function(t){return n("number:"+t.toString())},_xml:function(t){return n("xml:"+t.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(t){return n("regex:"+t.toString())},_uint8array:function(t){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint8clampedarray:function(t){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(t))},_int8array:function(t){return n("int8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint16array:function(t){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},_int16array:function(t){return n("int16array:"),this.dispatch(Array.prototype.slice.call(t))},_uint32array:function(t){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},_int32array:function(t){return n("int32array:"),this.dispatch(Array.prototype.slice.call(t))},_float32array:function(t){return n("float32array:"),this.dispatch(Array.prototype.slice.call(t))},_float64array:function(t){return n("float64array:"),this.dispatch(Array.prototype.slice.call(t))},_arraybuffer:function(t){return n("arraybuffer:"),this.dispatch(new Uint8Array(t))},_url:function(t){return n("url:"+t.toString())},_map:function(e){return n("map:"),e=Array.from(e),this._array(e,!1!==t.unorderedSets)},_set:function(e){return n("set:"),e=Array.from(e),this._array(e,!1!==t.unorderedSets)},_file:function(t){return n("file:"),this.dispatch([t.name,t.size,t.type,t.lastModfied])},_blob:function(){if(t.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(t){return n("bigint:"+t.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function m(){return{buf:"",write:function(t){this.buf+=t},end:function(t){this.buf+=t},read:function(){return this.buf}}}r.writeToStream=function(t,e,r){return void 0===r&&(r=e,e={}),b(e=y(t,e),r).dispatch(t)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(t,e,r){(function(t,e,n,o,i,a,s,u,c){!function(t){"use strict";var e="undefined"!=typeof Uint8Array?Uint8Array:Array,r="+".charCodeAt(0),n="/".charCodeAt(0),o="0".charCodeAt(0),i="a".charCodeAt(0),a="A".charCodeAt(0),s="-".charCodeAt(0),u="_".charCodeAt(0);function c(t){return(t=t.charCodeAt(0))===r||t===s?62:t===n||t===u?63:t<o?-1:t<o+10?t-o+26+26:t<a+26?t-a:t<i+26?t-i+26:void 0}t.toByteArray=function(t){var r,n;if(0<t.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var o=t.length,i=(o="="===t.charAt(o-2)?2:"="===t.charAt(o-1)?1:0,new e(3*t.length/4-o)),a=0<o?t.length-4:t.length,s=0;function u(t){i[s++]=t}for(r=0;r<a;r+=4,0)u((16711680&(n=c(t.charAt(r))<<18|c(t.charAt(r+1))<<12|c(t.charAt(r+2))<<6|c(t.charAt(r+3))))>>16),u((65280&n)>>8),u(255&n);return 2==o?u(255&(n=c(t.charAt(r))<<2|c(t.charAt(r+1))>>4)):1==o&&(u((n=c(t.charAt(r))<<10|c(t.charAt(r+1))<<4|c(t.charAt(r+2))>>2)>>8&255),u(255&n)),i},t.fromByteArray=function(t){var e,r,n,o,i=t.length%3,a="";function s(t){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)}for(e=0,n=t.length-i;e<n;e+=3)a+=s((o=r=(t[e]<<16)+(t[e+1]<<8)+t[e+2])>>18&63)+s(o>>12&63)+s(o>>6&63)+s(63&o);switch(i){case 1:a=(a+=s((r=t[t.length-1])>>2))+s(r<<4&63)+"==";break;case 2:a=(a=(a+=s((r=(t[t.length-2]<<8)+t[t.length-1])>>10))+s(r>>4&63))+s(r<<2&63)+"="}return a}}(void 0===r?this.base64js={}:r)}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(t,e,r){(function(e,n,o,i,a,s,u,c,f){var l=t("base64-js"),p=t("ieee754");function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);var n,i,a,s,u=typeof t;if("base64"===e&&"string"==u)for(t=(s=t).trim?s.trim():s.replace(/^\s+|\s+$/g,"");t.length%4!=0;)t+="=";if("number"==u)n=B(t);else if("string"==u)n=o.byteLength(t,e);else{if("object"!=u)throw new Error("First argument needs to be a number, array or string.");n=B(t.length)}if(o._useTypedArrays?i=o._augment(new Uint8Array(n)):((i=this).length=n,i._isBuffer=!0),o._useTypedArrays&&"number"==typeof t.byteLength)i._set(t);else if(L(s=t)||o.isBuffer(s)||s&&"object"==typeof s&&"number"==typeof s.length)for(a=0;a<n;a++)o.isBuffer(t)?i[a]=t.readUInt8(a):i[a]=t[a];else if("string"==u)i.write(t,0,e);else if("number"==u&&!o._useTypedArrays&&!r)for(a=0;a<n;a++)i[a]=0;return i}function d(t,e,r,n){return o._charsWritten=M(function(t){for(var e=[],r=0;r<t.length;r++)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function h(t,e,r,n){return o._charsWritten=M(function(t){for(var e,r,n=[],o=0;o<t.length;o++)e=(r=t.charCodeAt(o))>>8,r%=256,n.push(r),n.push(e);return n}(e),t,r,n)}function g(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;o++)n+=String.fromCharCode(t[o]);return n}function y(t,e,r,n){var o;if(n||(R("boolean"==typeof r,"missing or invalid endian"),R(null!=e,"missing offset"),R(e+1<t.length,"Trying to read beyond buffer length")),!((n=t.length)<=e))return r?(o=t[e],e+1<n&&(o|=t[e+1]<<8)):(o=t[e]<<8,e+1<n&&(o|=t[e+1])),o}function v(t,e,r,n){var o;if(n||(R("boolean"==typeof r,"missing or invalid endian"),R(null!=e,"missing offset"),R(e+3<t.length,"Trying to read beyond buffer length")),!((n=t.length)<=e))return r?(e+2<n&&(o=t[e+2]<<16),e+1<n&&(o|=t[e+1]<<8),o|=t[e],e+3<n&&(o+=t[e+3]<<24>>>0)):(e+1<n&&(o=t[e+1]<<16),e+2<n&&(o|=t[e+2]<<8),e+3<n&&(o|=t[e+3]),o+=t[e]<<24>>>0),o}function b(t,e,r,n){if(n||(R("boolean"==typeof r,"missing or invalid endian"),R(null!=e,"missing offset"),R(e+1<t.length,"Trying to read beyond buffer length")),!(t.length<=e))return 32768&(n=y(t,e,r,!0))?-1*(65535-n+1):n}function m(t,e,r,n){if(n||(R("boolean"==typeof r,"missing or invalid endian"),R(null!=e,"missing offset"),R(e+3<t.length,"Trying to read beyond buffer length")),!(t.length<=e))return 2147483648&(n=v(t,e,r,!0))?-1*(4294967295-n+1):n}function w(t,e,r,n){return n||(R("boolean"==typeof r,"missing or invalid endian"),R(e+3<t.length,"Trying to read beyond buffer length")),p.read(t,e,r,23,4)}function x(t,e,r,n){return n||(R("boolean"==typeof r,"missing or invalid endian"),R(e+7<t.length,"Trying to read beyond buffer length")),p.read(t,e,r,52,8)}function _(t,e,r,n,o){if(o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+1<t.length,"trying to write beyond buffer length"),N(e,65535)),!((o=t.length)<=r))for(var i=0,a=Math.min(o-r,2);i<a;i++)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function j(t,e,r,n,o){if(o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+3<t.length,"trying to write beyond buffer length"),N(e,4294967295)),!((o=t.length)<=r))for(var i=0,a=Math.min(o-r,4);i<a;i++)t[r+i]=e>>>8*(n?i:3-i)&255}function E(t,e,r,n,o){o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+1<t.length,"Trying to write beyond buffer length"),q(e,32767,-32768)),t.length<=r||_(t,0<=e?e:65535+e+1,r,n,o)}function A(t,e,r,n,o){o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+3<t.length,"Trying to write beyond buffer length"),q(e,2147483647,-2147483648)),t.length<=r||j(t,0<=e?e:4294967295+e+1,r,n,o)}function I(t,e,r,n,o){o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+3<t.length,"Trying to write beyond buffer length"),F(e,34028234663852886e22,-34028234663852886e22)),t.length<=r||p.write(t,e,r,n,23,4)}function S(t,e,r,n,o){o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+7<t.length,"Trying to write beyond buffer length"),F(e,17976931348623157e292,-17976931348623157e292)),t.length<=r||p.write(t,e,r,n,52,8)}r.Buffer=o,r.SlowBuffer=o,r.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var t=new ArrayBuffer(0),e=new Uint8Array(t);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),o.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.byteLength=function(t,e){var r;switch(t+="",e||"utf8"){case"hex":r=t.length/2;break;case"utf8":case"utf-8":r=U(t).length;break;case"ascii":case"binary":case"raw":r=t.length;break;case"base64":r=P(t).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*t.length;break;default:throw new Error("Unknown encoding")}return r},o.concat=function(t,e){if(R(L(t),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===t.length)return new o(0);if(1===t.length)return t[0];if("number"!=typeof e)for(i=e=0;i<t.length;i++)e+=t[i].length;for(var r=new o(e),n=0,i=0;i<t.length;i++){var a=t[i];a.copy(r,n),n+=a.length}return r},o.prototype.write=function(t,e,r,n){isFinite(e)?isFinite(r)||(n=r,r=void 0):(c=n,n=e,e=r,r=c),e=Number(e)||0;var i,a,s,u,c=this.length-e;switch((!r||c<(r=Number(r)))&&(r=c),n=String(n||"utf8").toLowerCase()){case"hex":i=function(t,e,r,n){r=Number(r)||0;var i=t.length-r;(!n||i<(n=Number(n)))&&(n=i),R((i=e.length)%2==0,"Invalid hex string"),i/2<n&&(n=i/2);for(var a=0;a<n;a++){var s=parseInt(e.substr(2*a,2),16);R(!isNaN(s),"Invalid hex string"),t[r+a]=s}return o._charsWritten=2*a,a}(this,t,e,r);break;case"utf8":case"utf-8":a=this,s=e,u=r,i=o._charsWritten=M(U(t),a,s,u);break;case"ascii":case"binary":i=d(this,t,e,r);break;case"base64":a=this,s=e,u=r,i=o._charsWritten=M(P(t),a,s,u);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=h(this,t,e,r);break;default:throw new Error("Unknown encoding")}return i},o.prototype.toString=function(t,e,r){var n,o,i,a,s=this;if(t=String(t||"utf8").toLowerCase(),e=Number(e)||0,(r=void 0!==r?Number(r):s.length)===e)return"";switch(t){case"hex":n=function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||n<r)&&(r=n);for(var o="",i=e;i<r;i++)o+=k(t[i]);return o}(s,e,r);break;case"utf8":case"utf-8":n=function(t,e,r){var n="",o="";r=Math.min(t.length,r);for(var i=e;i<r;i++)t[i]<=127?(n+=T(o)+String.fromCharCode(t[i]),o=""):o+="%"+t[i].toString(16);return n+T(o)}(s,e,r);break;case"ascii":case"binary":n=g(s,e,r);break;case"base64":o=s,a=r,n=0===(i=e)&&a===o.length?l.fromByteArray(o):l.fromByteArray(o.slice(i,a));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(s,e,r);break;default:throw new Error("Unknown encoding")}return n},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(t,e,r,n){if(e=e||0,(n=n||0===n?n:this.length)!==(r=r||0)&&0!==t.length&&0!==this.length){R(r<=n,"sourceEnd < sourceStart"),R(0<=e&&e<t.length,"targetStart out of bounds"),R(0<=r&&r<this.length,"sourceStart out of bounds"),R(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length);var i=(n=t.length-e<n-r?t.length-e+r:n)-r;if(i<100||!o._useTypedArrays)for(var a=0;a<i;a++)t[a+e]=this[a+r];else t._set(this.subarray(r,r+i),e)}},o.prototype.slice=function(t,e){var r=this.length;if(t=C(t,r,0),e=C(e,r,r),o._useTypedArrays)return o._augment(this.subarray(t,e));for(var n=e-t,i=new o(n,void 0,!0),a=0;a<n;a++)i[a]=this[a+t];return i},o.prototype.get=function(t){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(t)},o.prototype.set=function(t,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(t,e)},o.prototype.readUInt8=function(t,e){if(e||(R(null!=t,"missing offset"),R(t<this.length,"Trying to read beyond buffer length")),!(t>=this.length))return this[t]},o.prototype.readUInt16LE=function(t,e){return y(this,t,!0,e)},o.prototype.readUInt16BE=function(t,e){return y(this,t,!1,e)},o.prototype.readUInt32LE=function(t,e){return v(this,t,!0,e)},o.prototype.readUInt32BE=function(t,e){return v(this,t,!1,e)},o.prototype.readInt8=function(t,e){if(e||(R(null!=t,"missing offset"),R(t<this.length,"Trying to read beyond buffer length")),!(t>=this.length))return 128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){return b(this,t,!0,e)},o.prototype.readInt16BE=function(t,e){return b(this,t,!1,e)},o.prototype.readInt32LE=function(t,e){return m(this,t,!0,e)},o.prototype.readInt32BE=function(t,e){return m(this,t,!1,e)},o.prototype.readFloatLE=function(t,e){return w(this,t,!0,e)},o.prototype.readFloatBE=function(t,e){return w(this,t,!1,e)},o.prototype.readDoubleLE=function(t,e){return x(this,t,!0,e)},o.prototype.readDoubleBE=function(t,e){return x(this,t,!1,e)},o.prototype.writeUInt8=function(t,e,r){r||(R(null!=t,"missing value"),R(null!=e,"missing offset"),R(e<this.length,"trying to write beyond buffer length"),N(t,255)),e>=this.length||(this[e]=t)},o.prototype.writeUInt16LE=function(t,e,r){_(this,t,e,!0,r)},o.prototype.writeUInt16BE=function(t,e,r){_(this,t,e,!1,r)},o.prototype.writeUInt32LE=function(t,e,r){j(this,t,e,!0,r)},o.prototype.writeUInt32BE=function(t,e,r){j(this,t,e,!1,r)},o.prototype.writeInt8=function(t,e,r){r||(R(null!=t,"missing value"),R(null!=e,"missing offset"),R(e<this.length,"Trying to write beyond buffer length"),q(t,127,-128)),e>=this.length||(0<=t?this.writeUInt8(t,e,r):this.writeUInt8(255+t+1,e,r))},o.prototype.writeInt16LE=function(t,e,r){E(this,t,e,!0,r)},o.prototype.writeInt16BE=function(t,e,r){E(this,t,e,!1,r)},o.prototype.writeInt32LE=function(t,e,r){A(this,t,e,!0,r)},o.prototype.writeInt32BE=function(t,e,r){A(this,t,e,!1,r)},o.prototype.writeFloatLE=function(t,e,r){I(this,t,e,!0,r)},o.prototype.writeFloatBE=function(t,e,r){I(this,t,e,!1,r)},o.prototype.writeDoubleLE=function(t,e,r){S(this,t,e,!0,r)},o.prototype.writeDoubleBE=function(t,e,r){S(this,t,e,!1,r)},o.prototype.fill=function(t,e,r){if(e=e||0,r=r||this.length,R("number"==typeof(t="string"==typeof(t=t||0)?t.charCodeAt(0):t)&&!isNaN(t),"value is not a number"),R(e<=r,"end < start"),r!==e&&0!==this.length){R(0<=e&&e<this.length,"start out of bounds"),R(0<=r&&r<=this.length,"end out of bounds");for(var n=e;n<r;n++)this[n]=t}},o.prototype.inspect=function(){for(var t=[],e=this.length,n=0;n<e;n++)if(t[n]=k(this[n]),n===r.INSPECT_MAX_BYTES){t[n+1]="...";break}return"<Buffer "+t.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var t=new Uint8Array(this.length),e=0,r=t.length;e<r;e+=1)t[e]=this[e];return t.buffer};var O=o.prototype;function C(t,e,r){return"number"!=typeof t?r:e<=(t=~~t)?e:0<=t||0<=(t+=e)?t:0}function B(t){return(t=~~Math.ceil(+t))<0?0:t}function L(t){return(Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)})(t)}function k(t){return t<16?"0"+t.toString(16):t.toString(16)}function U(t){for(var e=[],r=0;r<t.length;r++){var n=t.charCodeAt(r);if(n<=127)e.push(t.charCodeAt(r));else for(var o=r,i=(55296<=n&&n<=57343&&r++,encodeURIComponent(t.slice(o,r+1)).substr(1).split("%")),a=0;a<i.length;a++)e.push(parseInt(i[a],16))}return e}function P(t){return l.toByteArray(t)}function M(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);o++)e[o+r]=t[o];return o}function T(t){try{return decodeURIComponent(t)}catch(t){return String.fromCharCode(65533)}}function N(t,e){R("number"==typeof t,"cannot write a non-number as a number"),R(0<=t,"specified a negative value for writing an unsigned value"),R(t<=e,"value is larger than maximum value for type"),R(Math.floor(t)===t,"value has a fractional component")}function q(t,e,r){R("number"==typeof t,"cannot write a non-number as a number"),R(t<=e,"value larger than maximum allowed value"),R(r<=t,"value smaller than minimum allowed value"),R(Math.floor(t)===t,"value has a fractional component")}function F(t,e,r){R("number"==typeof t,"cannot write a non-number as a number"),R(t<=e,"value larger than maximum allowed value"),R(r<=t,"value smaller than minimum allowed value")}function R(t,e){if(!t)throw new Error(e||"Failed assertion")}o._augment=function(t){return t._isBuffer=!0,t._get=t.get,t._set=t.set,t.get=O.get,t.set=O.set,t.write=O.write,t.toString=O.toString,t.toLocaleString=O.toString,t.toJSON=O.toJSON,t.copy=O.copy,t.slice=O.slice,t.readUInt8=O.readUInt8,t.readUInt16LE=O.readUInt16LE,t.readUInt16BE=O.readUInt16BE,t.readUInt32LE=O.readUInt32LE,t.readUInt32BE=O.readUInt32BE,t.readInt8=O.readInt8,t.readInt16LE=O.readInt16LE,t.readInt16BE=O.readInt16BE,t.readInt32LE=O.readInt32LE,t.readInt32BE=O.readInt32BE,t.readFloatLE=O.readFloatLE,t.readFloatBE=O.readFloatBE,t.readDoubleLE=O.readDoubleLE,t.readDoubleBE=O.readDoubleBE,t.writeUInt8=O.writeUInt8,t.writeUInt16LE=O.writeUInt16LE,t.writeUInt16BE=O.writeUInt16BE,t.writeUInt32LE=O.writeUInt32LE,t.writeUInt32BE=O.writeUInt32BE,t.writeInt8=O.writeInt8,t.writeInt16LE=O.writeInt16LE,t.writeInt16BE=O.writeInt16BE,t.writeInt32LE=O.writeInt32LE,t.writeInt32BE=O.writeInt32BE,t.writeFloatLE=O.writeFloatLE,t.writeFloatBE=O.writeFloatBE,t.writeDoubleLE=O.writeDoubleLE,t.writeDoubleBE=O.writeDoubleBE,t.fill=O.fill,t.inspect=O.inspect,t.toArrayBuffer=O.toArrayBuffer,t}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(t,e,r){(function(r,n,o,i,a,s,u,c,f){o=t("buffer").Buffer;var l=4,p=new o(l);p.fill(0),e.exports={hash:function(t,e,r,n){for(var i=e(function(t,e){t.length%l!=0&&(r=t.length+(l-t.length%l),t=o.concat([t,p],r));for(var r,n=[],i=e?t.readInt32BE:t.readInt32LE,a=0;a<t.length;a+=l)n.push(i.call(t,a));return n}(t=o.isBuffer(t)?t:new o(t),n),8*t.length),a=(e=n,new o(r)),s=e?a.writeInt32BE:a.writeInt32LE,u=0;u<i.length;u++)s.call(a,i[u],4*u,!0);return a}}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(t,e,r){(function(e,n,o,i,a,s,u,c,f){o=t("buffer").Buffer;var l=t("./sha"),p=t("./sha256"),d=t("./rng"),h={sha1:l,sha256:p,md5:t("./md5")},g=64,y=new o(g);function v(t,e){var r=h[t=t||"sha1"],n=[];return r||b("algorithm:",t,"is not yet supported"),{update:function(t){return o.isBuffer(t)||(t=new o(t)),n.push(t),t.length,this},digest:function(t){var i=o.concat(n);return i=e?function(t,e,r){o.isBuffer(e)||(e=new o(e)),o.isBuffer(r)||(r=new o(r)),e.length>g?e=t(e):e.length<g&&(e=o.concat([e,y],g));for(var n=new o(g),i=new o(g),a=0;a<g;a++)n[a]=54^e[a],i[a]=92^e[a];return r=t(o.concat([n,r])),t(o.concat([i,r]))}(r,e,i):r(i),n=null,t?i.toString(t):i}}}function b(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}y.fill(0),r.createHash=function(t){return v(t)},r.createHmac=v,r.randomBytes=function(t,e){if(!e||!e.call)return new o(d(t));try{e.call(this,void 0,new o(d(t)))}catch(t){e(t)}};var m,w=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],x=function(t){r[t]=function(){b("sorry,",t,"is not implemented yet")}};for(m in w)x(w[m],m)}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(t,e,r){(function(r,n,o,i,a,s,u,c,f){var l=t("./helpers");function p(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var r=1732584193,n=-271733879,o=-1732584194,i=271733878,a=0;a<t.length;a+=16){var s=r,u=n,c=o,f=i;r=h(r,n,o,i,t[a+0],7,-680876936),i=h(i,r,n,o,t[a+1],12,-389564586),o=h(o,i,r,n,t[a+2],17,606105819),n=h(n,o,i,r,t[a+3],22,-1044525330),r=h(r,n,o,i,t[a+4],7,-176418897),i=h(i,r,n,o,t[a+5],12,1200080426),o=h(o,i,r,n,t[a+6],17,-1473231341),n=h(n,o,i,r,t[a+7],22,-45705983),r=h(r,n,o,i,t[a+8],7,1770035416),i=h(i,r,n,o,t[a+9],12,-1958414417),o=h(o,i,r,n,t[a+10],17,-42063),n=h(n,o,i,r,t[a+11],22,-1990404162),r=h(r,n,o,i,t[a+12],7,1804603682),i=h(i,r,n,o,t[a+13],12,-40341101),o=h(o,i,r,n,t[a+14],17,-1502002290),r=g(r,n=h(n,o,i,r,t[a+15],22,1236535329),o,i,t[a+1],5,-165796510),i=g(i,r,n,o,t[a+6],9,-1069501632),o=g(o,i,r,n,t[a+11],14,643717713),n=g(n,o,i,r,t[a+0],20,-373897302),r=g(r,n,o,i,t[a+5],5,-701558691),i=g(i,r,n,o,t[a+10],9,38016083),o=g(o,i,r,n,t[a+15],14,-660478335),n=g(n,o,i,r,t[a+4],20,-405537848),r=g(r,n,o,i,t[a+9],5,568446438),i=g(i,r,n,o,t[a+14],9,-1019803690),o=g(o,i,r,n,t[a+3],14,-187363961),n=g(n,o,i,r,t[a+8],20,1163531501),r=g(r,n,o,i,t[a+13],5,-1444681467),i=g(i,r,n,o,t[a+2],9,-51403784),o=g(o,i,r,n,t[a+7],14,1735328473),r=y(r,n=g(n,o,i,r,t[a+12],20,-1926607734),o,i,t[a+5],4,-378558),i=y(i,r,n,o,t[a+8],11,-2022574463),o=y(o,i,r,n,t[a+11],16,1839030562),n=y(n,o,i,r,t[a+14],23,-35309556),r=y(r,n,o,i,t[a+1],4,-1530992060),i=y(i,r,n,o,t[a+4],11,1272893353),o=y(o,i,r,n,t[a+7],16,-155497632),n=y(n,o,i,r,t[a+10],23,-1094730640),r=y(r,n,o,i,t[a+13],4,681279174),i=y(i,r,n,o,t[a+0],11,-358537222),o=y(o,i,r,n,t[a+3],16,-722521979),n=y(n,o,i,r,t[a+6],23,76029189),r=y(r,n,o,i,t[a+9],4,-640364487),i=y(i,r,n,o,t[a+12],11,-421815835),o=y(o,i,r,n,t[a+15],16,530742520),r=v(r,n=y(n,o,i,r,t[a+2],23,-995338651),o,i,t[a+0],6,-198630844),i=v(i,r,n,o,t[a+7],10,1126891415),o=v(o,i,r,n,t[a+14],15,-1416354905),n=v(n,o,i,r,t[a+5],21,-57434055),r=v(r,n,o,i,t[a+12],6,1700485571),i=v(i,r,n,o,t[a+3],10,-1894986606),o=v(o,i,r,n,t[a+10],15,-1051523),n=v(n,o,i,r,t[a+1],21,-2054922799),r=v(r,n,o,i,t[a+8],6,1873313359),i=v(i,r,n,o,t[a+15],10,-30611744),o=v(o,i,r,n,t[a+6],15,-1560198380),n=v(n,o,i,r,t[a+13],21,1309151649),r=v(r,n,o,i,t[a+4],6,-145523070),i=v(i,r,n,o,t[a+11],10,-1120210379),o=v(o,i,r,n,t[a+2],15,718787259),n=v(n,o,i,r,t[a+9],21,-343485551),r=b(r,s),n=b(n,u),o=b(o,c),i=b(i,f)}return Array(r,n,o,i)}function d(t,e,r,n,o,i){return b((e=b(b(e,t),b(n,i)))<<o|e>>>32-o,r)}function h(t,e,r,n,o,i,a){return d(e&r|~e&n,t,e,o,i,a)}function g(t,e,r,n,o,i,a){return d(e&n|r&~n,t,e,o,i,a)}function y(t,e,r,n,o,i,a){return d(e^r^n,t,e,o,i,a)}function v(t,e,r,n,o,i,a){return d(r^(e|~n),t,e,o,i,a)}function b(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}e.exports=function(t){return l.hash(t,p,16)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(t,e,r){(function(t,r,n,o,i,a,s,u,c){var f;e.exports=f||function(t){for(var e,r=new Array(t),n=0;n<t;n++)0==(3&n)&&(e=4294967296*Math.random()),r[n]=e>>>((3&n)<<3)&255;return r}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(t,e,r){(function(r,n,o,i,a,s,u,c,f){var l=t("./helpers");function p(t,e){t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var r,n,o,i=Array(80),a=1732584193,s=-271733879,u=-1732584194,c=271733878,f=-1009589776,l=0;l<t.length;l+=16){for(var p=a,g=s,y=u,v=c,b=f,m=0;m<80;m++){i[m]=m<16?t[l+m]:h(i[m-3]^i[m-8]^i[m-14]^i[m-16],1);var w=d(d(h(a,5),(w=s,n=u,o=c,(r=m)<20?w&n|~w&o:!(r<40)&&r<60?w&n|w&o|n&o:w^n^o)),d(d(f,i[m]),(r=m)<20?1518500249:r<40?1859775393:r<60?-1894007588:-899497514));f=c,c=u,u=h(s,30),s=a,a=w}a=d(a,p),s=d(s,g),u=d(u,y),c=d(c,v),f=d(f,b)}return Array(a,s,u,c,f)}function d(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function h(t,e){return t<<e|t>>>32-e}e.exports=function(t){return l.hash(t,p,20,!0)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(t,e,r){(function(r,n,o,i,a,s,u,c,f){function l(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function p(t,e){var r,n=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),o=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),i=new Array(64);t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var a,s,u=0;u<t.length;u+=16){for(var c=o[0],f=o[1],p=o[2],d=o[3],y=o[4],v=o[5],b=o[6],m=o[7],w=0;w<64;w++)i[w]=w<16?t[w+u]:l(l(l((s=i[w-2],h(s,17)^h(s,19)^g(s,10)),i[w-7]),(s=i[w-15],h(s,7)^h(s,18)^g(s,3))),i[w-16]),r=l(l(l(l(m,h(s=y,6)^h(s,11)^h(s,25)),y&v^~y&b),n[w]),i[w]),a=l(h(a=c,2)^h(a,13)^h(a,22),c&f^c&p^f&p),m=b,b=v,v=y,y=l(d,r),d=p,p=f,f=c,c=l(r,a);o[0]=l(c,o[0]),o[1]=l(f,o[1]),o[2]=l(p,o[2]),o[3]=l(d,o[3]),o[4]=l(y,o[4]),o[5]=l(v,o[5]),o[6]=l(b,o[6]),o[7]=l(m,o[7])}return o}var d=t("./helpers"),h=function(t,e){return t>>>e|t<<32-e},g=function(t,e){return t>>>e};e.exports=function(t){return d.hash(t,p,32,!0)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(t,e,r){(function(t,e,n,o,i,a,s,u,c){r.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,f=-7,l=r?o-1:0,p=r?-1:1;for(o=t[e+l],l+=p,i=o&(1<<-f)-1,o>>=-f,f+=s;0<f;i=256*i+t[e+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;0<f;a=256*a+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(o?-1:1);a+=Math.pow(2,n),i-=c}return(o?-1:1)*a*Math.pow(2,i-n)},r.write=function(t,e,r,n,o,i){var a,s,u=8*i-o-1,c=(1<<u)-1,f=c>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,d=n?1:-1;for(i=e<0||0===e&&1/e<0?1:0,e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(n=Math.pow(2,-a))<1&&(a--,n*=2),2<=(e+=1<=a+f?l/n:l*Math.pow(2,1-f))*n&&(a++,n/=2),c<=a+f?(s=0,a=c):1<=a+f?(s=(e*n-1)*Math.pow(2,o),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,o),a=0));8<=o;t[r+p]=255&s,p+=d,s/=256,o-=8);for(a=a<<o|s,u+=o;0<u;t[r+p]=255&a,p+=d,a/=256,u-=8);t[r+p-d]|=128*i}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(t,e,r){(function(t,r,n,o,i,a,s,u,c){var f,l,p;function d(){}(t=e.exports={}).nextTick=(l="undefined"!=typeof window&&window.setImmediate,p="undefined"!=typeof window&&window.postMessage&&window.addEventListener,l?function(t){return window.setImmediate(t)}:p?(f=[],window.addEventListener("message",function(t){var e=t.source;e!==window&&null!==e||"process-tick"!==t.data||(t.stopPropagation(),0<f.length&&f.shift()())},!0),function(t){f.push(t),window.postMessage("process-tick","*")}):function(t){setTimeout(t,0)}),t.title="browser",t.browser=!0,t.env={},t.argv=[],t.on=d,t.addListener=d,t.once=d,t.off=d,t.removeListener=d,t.removeAllListeners=d,t.emit=d,t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},13961(t,e,r){var n=r(96537),o=r(84202);t.exports=function t(e,r,i,a,s){var u=-1,c=e.length;for(i||(i=o),s||(s=[]);++u<c;){var f=e[u];r>0&&i(f)?r>1?t(f,r-1,i,a,s):n(s,f):a||(s[s.length]=f)}return s}},13993(t,e,r){var n=r(81633);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},14547(t,e,r){var n=r(79734)(Object.getPrototypeOf,Object);t.exports=n},14888(t,e,r){var n=r(99635),o=r(14547),i=r(76003),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,f=u.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==f}},16093(t,e,r){var n=r(47352),o=r(360);t.exports=function(t,e){return n(t,o(t),e)}},16299(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},16303(t,e,r){var n=r(74406),o=r(76003);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},16521(t,e,r){var n=r(55045),o=r(5186),i=r(41436);t.exports=function(t,e){return i(o(t,e,n),t+"")}},16593(t,e,r){var n=r(13961);t.exports=function(t){return(null==t?0:t.length)?n(t,1):[]}},17137(t,e,r){var n=r(92060);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},17556(t){var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var o=e(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},18710(t){var e=Array.isArray;t.exports=e},19883(t,e,r){t=r.nmd(t);var n=r(36382),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}},20250(t,e,r){var n=r(5913),o=r(17137),i=r(92056),a=r(83980),s=r(85436);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,t.exports=u},20533(t,e,r){var n=r(73075);t.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},20907(t,e,r){var n=r(22467);t.exports=function(t){return null==t?"":n(t)}},20954(t,e,r){var n=r(47352),o=r(93179);t.exports=function(t,e){return n(t,o(t),e)}},22467(t,e,r){var n=r(49266),o=r(91959),i=r(18710),a=r(90931),s=n?n.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},23052(t,e,r){var n=r(89620),o=r(80715);t.exports=function(t,e){return null!=t&&o(t,e,n)}},25790(t,e,r){var n=r(62257),o=r(76003);t.exports=function(t){return o(t)&&n(t)}},26711(t,e,r){var n=r(99635),o=r(2316);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},26938(t,e,r){var n=r(11394),o=r(83103)(function(t,e){return null==t?{}:n(t,e)});t.exports=o},27049(t){t.exports=function(){this.__data__=[],this.size=0}},27882(t,e,r){var n=r(27049),o=r(55585),i=r(2344),a=r(87548),s=r(96940);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,t.exports=u},28566(t,e,r){var n=r(62316),o=r(65472),i=r(86654),a=r(61354),s=r(48045),u=r(19883),c=r(12418),f=r(20954),l=r(16093),p=r(70633),d=r(80338),h=r(74406),g=r(38982),y=r(51384),v=r(91996),b=r(18710),m=r(57517),w=r(10161),x=r(2316),_=r(68103),j=r(49723),E=r(67016),A="[object Arguments]",I="[object Function]",S="[object Object]",O={};O[A]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[S]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[I]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,C,B,L,k){var U,P=1&r,M=2&r,T=4&r;if(C&&(U=L?C(e,B,L,k):C(e)),void 0!==U)return U;if(!x(e))return e;var N=b(e);if(N){if(U=g(e),!P)return c(e,U)}else{var q=h(e),F=q==I||"[object GeneratorFunction]"==q;if(m(e))return u(e,P);if(q==S||q==A||F&&!L){if(U=M||F?{}:v(e),!P)return M?l(e,s(U,e)):f(e,a(U,e))}else{if(!O[q])return L?e:{};U=y(e,q,P)}}k||(k=new n);var R=k.get(e);if(R)return R;k.set(e,U),_(e)?e.forEach(function(n){U.add(t(n,r,C,n,e,k))}):w(e)&&e.forEach(function(n,o){U.set(o,t(n,r,C,o,e,k))});var D=N?void 0:(T?M?d:p:M?E:j)(e);return o(D||e,function(n,o){D&&(n=e[o=n]),i(U,o,t(n,r,C,o,e,k))}),U}},28958(t,e,r){var n=r(27882),o=r(98554),i=r(20250);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},29988(t){t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),s=a.length;s--;){var u=a[t?s:++o];if(!1===r(i[u],u,i))break}return e}}},30634(t,e,r){var n=r(96817),o=r(55949);t.exports=function(t,e,r){(void 0!==r&&!o(t[e],r)||void 0===r&&!(e in t))&&n(t,e,r)}},31923(t){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},33227(t,e,r){var n=r(41987);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},35720(t,e,r){var n=r(57746);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},36382(t,e,r){var n=r(74807),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},36555(t,e,r){var n=r(14888);t.exports=function(t){return n(t)?void 0:t}},37147(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},38932(t,e,r){var n=r(29988)();t.exports=n},38982(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},39463(t,e,r){var n=r(36382).Uint8Array;t.exports=n},39572(t){t.exports=function(){return!1}},39789(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},41436(t,e,r){var n=r(76779),o=r(17556)(n);t.exports=o},41987(t,e,r){var n=r(67574),o=r(12408);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},42947(t,e,r){var n=r(18710),o=r(90931),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(a.test(t)||!i.test(t)||null!=e&&t in Object(e))}},43506(t,e,r){var n=r(99635),o=r(16299),i=r(76003),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},44681(t,e,r){var n=r(79734)(Object.keys,Object);t.exports=n},45370(t,e,r){var n=r(43506),o=r(46484),i=r(98677),a=i&&i.isTypedArray,s=a?o(a):n;t.exports=s},46205(t){t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}},46484(t){t.exports=function(t){return function(e){return t(e)}}},47352(t,e,r){var n=r(86654),o=r(96817);t.exports=function(t,e,r,i){var a=!r;r||(r={});for(var s=-1,u=e.length;++s<u;){var c=e[s],f=i?i(r[c],t[c],c,r,t):void 0;void 0===f&&(f=t[c]),a?o(r,c,f):n(r,c,f)}return r}},48045(t,e,r){var n=r(47352),o=r(67016);t.exports=function(t,e){return t&&n(e,o(e),t)}},49266(t,e,r){var n=r(36382).Symbol;t.exports=n},49578(t){t.exports=function(){return[]}},49723(t,e,r){var n=r(80406),o=r(11907),i=r(62257);t.exports=function(t){return i(t)?n(t):o(t)}},50878(t,e,r){var n=r(36382)["__core-js_shared__"];t.exports=n},51384(t,e,r){var n=r(57746),o=r(59072),i=r(11524),a=r(58805),s=r(35720);t.exports=function(t,e,r){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return i(t);case"[object Symbol]":return a(t)}}},51480(t,e,r){var n=r(16521),o=r(54855);t.exports=function(t){return n(function(e,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var u=r[n];u&&t(e,u,n,a)}return e})}},54706(t){t.exports=function(t){return this.__data__.get(t)}},54855(t,e,r){var n=r(55949),o=r(62257),i=r(62976),a=r(2316);t.exports=function(t,e,r){if(!a(r))return!1;var s=typeof e;return!!("number"==s?o(r)&&i(e,r.length):"string"==s&&e in r)&&n(r[e],t)}},55045(t){t.exports=function(t){return t}},55585(t,e,r){var n=r(65610),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},55949(t){t.exports=function(t,e){return t===e||t!==t&&e!==e}},56039(t,e,r){var n=r(27882);t.exports=function(){this.__data__=new n,this.size=0}},56251(t,e,r){var n=r(62316),o=r(30634),i=r(38932),a=r(93541),s=r(2316),u=r(67016),c=r(5131);t.exports=function t(e,r,f,l,p){e!==r&&i(r,function(i,u){if(p||(p=new n),s(i))a(e,r,u,f,t,l,p);else{var d=l?l(c(e,u),i,u+"",e,r,p):void 0;void 0===d&&(d=i),o(e,u,d)}},u)}},57517(t,e,r){t=r.nmd(t);var n=r(36382),o=r(39572),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,s=a&&a.exports===i?n.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;t.exports=u},57746(t,e,r){var n=r(39463);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},58805(t,e,r){var n=r(49266),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},59072(t,e,r){var n=r(57746);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},59292(t,e,r){var n=r(81633),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},59704(t,e,r){var n=r(26711),o=r(89719),i=r(2316),a=r(74018),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,f=u.toString,l=c.hasOwnProperty,p=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?p:s).test(a(t))}},59744(t,e,r){var n=r(10427)(r(36382),"Set");t.exports=n},61354(t,e,r){var n=r(47352),o=r(49723);t.exports=function(t,e){return t&&n(e,o(e),t)}},62257(t,e,r){var n=r(26711),o=r(16299);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},62316(t,e,r){var n=r(27882),o=r(56039),i=r(31923),a=r(54706),s=r(85030),u=r(28958);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,t.exports=c},62976(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},64351(t,e,r){"use strict";r.r(e),r.d(e,{Cache:()=>w,createWithFetch:()=>M,default:()=>U,getAjax:()=>j,getCache:()=>_,preset:()=>E,request:()=>N,useFetch:()=>L,withFetch:()=>P});var n=r(94922),o=r.n(n),i=r(10238),a=r.n(i),s=r(26938),u=r.n(s),c=r(64755),f=r.n(c),l=r(13665),p=r.n(l),d=r(33227),h=r.n(d);function g(){return g=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},g.apply(null,arguments)}function y(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.includes(n))continue;r[n]=t[n]}return r}const v=["options","urlParams"];var b={id:"params",plugin:(t,e)=>{let{options:r,url:n,method:o,params:i,data:a}=t;const s=e.componentContext.getProps(),{options:c,urlParams:l}=s,p=y(s,v),d=f()({},c,u()(p,["url","method","params","data"]),r,{url:n,method:o,params:i,data:a,urlParams:l}),h=Object.assign({},d);return"object"===typeof l&&Object.keys(l).length>0&&"string"===typeof h.url&&(h.url=h.url.replace(/{([\s\S]+?)}/g,(t,e)=>l.hasOwnProperty(e)?l[e]:t)),e.componentContext.setRequestParams(d),h}};const m=["isLocal"];class w{static now(){return(new Date).getTime()}constructor(t){const{ttl:e,maxLength:r,isLocal:n,localName:o}=Object.assign({},t);this.ttl=e||0,this.data={},this.cacheNameMapping={},this.maxLength=r||1e3,this.isLocal=!!o||n,this.localName=o,this._load()}_load(){if(this.isLocal)try{const t=window.localStorage&&window.localStorage.getItem(this.localName||w.KEY_NAME);if(!t)return;const e=JSON.parse(t);Object.keys(e).forEach(t=>{e[t].isLocal=!0}),this.data=e}catch(t){}}_save(){if(!this.isLocal)return;const t=Object.keys(this.data);Promise.all(t.map(t=>this.data[t].value)).then(t=>{const e={};Object.keys(this.data).forEach((r,n)=>{const o=this.data[r],{isLocal:i}=o,a=y(o,m);!0===i&&(e[r]=Object.assign({},a,{value:t[n]}))}),window.localStorage&&window.localStorage.setItem(this.localName||w.KEY_NAME,JSON.stringify(e))})}get(t){const e=this.data[t];let r=null;return e&&(r=e.value,e.expires&&w.now()>=e.expires&&(r=null,delete this.data[t])),this._save(),r}delByCacheName(t){this.cacheNameMapping[t]&&(this.cacheNameMapping[t].forEach(t=>{this.del(t)}),this.cacheNameMapping[t].clear())}del(t){const e=this.get(t);return delete this.data[t],this._save(),e}put(t,e,r){let{ttl:n,isLocal:o,cacheName:i}=r;void 0===n&&(n=this.ttl);let a=this.del(t);if(null!==e){const r=Object.keys(this.data);if(r.length>=this.maxLength){const t=r.sort((t,e)=>this.data[t].createTime-this.data[e].createTime)[0];delete this.data[t]}const a=w.now();this.data[t]={expires:0===n?null:a+n,value:e,createTime:a,isLocal:o},i&&!this.cacheNameMapping[i]&&(this.cacheNameMapping[i]=new Set),i&&this.cacheNameMapping[i].add(t)}return this._save(),a}clean(){this.data={},this._save()}}w.KEY_NAME="REACT_FETCH_CACHE";const x={cache:new w({ttl:6e5,maxLength:1e3,isLocal:!0}),ajax:()=>{throw new Error("\u9ed8\u8ba4\u7684axios\u914d\u7f6e\u5df2\u7ecf\u79fb\u9664\uff0c\u8bf7\u9996\u5148\u5728preset\u91cc\u9762\u914d\u7f6e")},loading:null,error:null,empty:null,pagination:{initCurrent:1,pageSize:10,transform:t=>t},transformResponse:t=>{const{data:e}=t;return t.data={code:e.code,msg:e.msg,results:e.results},t}},_=()=>x.cache,j=()=>x.ajax;var E=t=>Object.assign(x,t),A={id:"cache-record",plugin:(t,e)=>{const{cache:r,isLocal:n,ttl:o}=e.componentContext.getProps(),i=!0===r?"":r,a=i+e.componentContext.getRequestToken();r&&(e.outputStack.request||e.outputStack.loader)&&void 0!==e.outputStack["output-data"]&&x.cache.put(a,e.outputStack.request||e.outputStack.loader,{ttl:o,isLocal:n,cacheName:i})},dependencies:["cache","request","output-data"]},I={id:"output-data",plugin:(t,e)=>{const{options:r,onRequestSuccess:n,ignoreSuccessState:o,transformData:i}=e.componentContext.getProps();if(Object.keys(e.errorStack).length>0)return;const a=e.output.data;if(!0!==o&&200!==a.code){const t=new Error(a.msg);throw t.responseData=a,t}const s=(t=>"function"===typeof i?i(t,e.outputStack.params):t)((!0!==o?a.results:a)||{});return n&&n(s),s},dependencies:["request"]};const S=[{id:"start",plugin:(t,e)=>{let{type:r}=t;const{onRequestStart:n}=e.componentContext.getProps(),{setIsLoading:o,setIsComplete:i}=e.componentContext;n&&n(),"refresh"===r&&o(!0),i(!1)}},b,{id:"cache",plugin:(t,e)=>{let{force:r}=t;const{cache:n}=e.componentContext.getProps(),o=e.componentContext.getRequestToken();if(!0===r||!n)return;const i=(!0===n?"":n)+o,a=x.cache.get(i);return a?Promise.resolve(a):void 0}},{id:"loader",plugin:async(t,e)=>{const{loader:r}=e.componentContext.getProps();if("function"!==typeof r)return;if(e.outputStack.cache)return e.outputStack.cache;return{data:{code:200,results:await r(e.outputStack.params)}}},dependencies:["params"]},{id:"request",plugin:(t,e)=>{let{force:r}=t;if(e.outputStack.loader||e.errorStack.loader)return;if(e.outputStack.cache)return e.outputStack.cache;const n=e.componentContext.getRequestToken();e.componentContext.requestParams=e.outputStack.params;const{ajax:o}=e.componentContext.getProps(),i=!0!==r&&h()(e.globalContext.pendingRequest,n)||(o||x.ajax)(e.outputStack.params);return e.globalContext.pendingRequest=Object.assign({},e.globalContext.pendingRequest,{[n]:i}),i.then(t=>(delete e.globalContext.pendingRequest[n],t))},dependencies:["params"]},{id:"transform-response",plugin:(t,e)=>{const{transformResponse:r,ignoreSuccessState:n,options:o}=e.componentContext.getProps(),i=e.outputStack.request;if(i)return!0===n?i:(r||x.transformResponse)(Object.assign({},i))},dependencies:["request"]},I,A,{id:"load-more",plugin:(t,e)=>{let{type:r,callback:n}=t;if("load-more"===r&&"function"===typeof n){const{fetchData:t}=e.componentContext.getState();return n(t,e.output)}},dependencies:["output-data"]},{id:"complete",plugin:(t,e)=>{let{type:r}=t;const{setIsLoading:n,setIsComplete:o,setFetchData:i}=e.componentContext;i(e.output),"refresh"===r&&n(!1),o(!0)}},{id:"error",plugin:(t,e)=>{const{onRequestError:r,onRequestComplete:n}=e.componentContext.getProps(),{setError:o}=e.componentContext;if(Object.keys(e.errorStack).length>0){const t=Object.values(e.errorStack).map(t=>t.message).filter(t=>!!t).join("\n");r&&r(Object.values(e.errorStack)),o(t||"\u8bf7\u6c42\u53d1\u751f\u9519\u8bef")}else o(null);n&&n(e)}}],O={},C=t=>async e=>{e=Object.assign({},e);const r=S,n={props:e,globalContext:O,componentContext:t,requestContext:{},outputStack:{},errorStack:{},runPath:[],output:null},{debug:o}=t.getProps();for(let t of r)try{if((t.dependencies||[]).find(t=>-1===n.runPath.indexOf(t)))continue;!0===o&&console.info("react-fetch:plugin-"+t.id+":start",n);const r=await t.plugin(e,n);!0===o&&console.info("react-fetch:plugin-"+t.id+":complete",r),n.outputStack[t.id]=r,n.output=void 0!==r?r:n.output,n.runPath.push(t.id)}catch(i){console.error(i),n.errorStack[t.id]=i}return n},B=t=>p()(u()(t,["url","params","method","data","urlParams","options"]),{algorithm:"md5",encoding:"base64"}),L=t=>{const e=Object.assign({auto:!0,updateType:"reload"},t),r=(0,n.useRef)(e);r.current=e;const[o,i]=(0,n.useState)(!1),[a,s]=(0,n.useState)(!1),[u,c]=(0,n.useState)(null),[f,l]=(0,n.useState)(null),[p,d]=(0,n.useState)({}),h=(0,n.useRef)({isLoading:o,isComplete:a,fetchData:u,error:f,requestParams:p});h.current={isLoading:o,isComplete:a,fetchData:u,error:f,requestParams:p};const g=B(e),y=(0,n.useRef)(g);y.current=g;const v=(0,n.useRef)();(0,n.useMemo)(()=>{v.current=C({getProps:()=>r.current,getRequestToken:()=>y.current,getState:()=>h.current,requestParams:p,setRequestParams:d,setFetchData:c,setError:l,setIsComplete:s,setIsLoading:i})},[]);const b=function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return v.current(Object.assign({},t,{force:e}))},m=function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return v.current(Object.assign({},t,{force:e,type:"refresh"}))},w=function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return v.current(Object.assign({},t,{force:e,type:"reload"}))},x=function(t,e){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return v.current(Object.assign({},t,{force:r,callback:e,type:"load-more"}))},_=(0,n.useRef)({});return _.current={send:b,refresh:m,reload:w,loadMore:x,setData:c},(0,n.useEffect)(()=>{r.current.auto&&(h.current.isComplete?_.current.send({type:r.current.updateType},!1):_.current.refresh({},!1))},[g]),{isLoading:o,isComplete:a,data:u,error:f,send:b,refresh:m,reload:w,loadMore:x,setData:c,requestParams:p}},k=["component","render","loading","isEmpty","empty","error"],U=(0,n.forwardRef)((t,e)=>{let{component:r,render:i,loading:s,isEmpty:c,empty:f,error:l}=t,p=y(t,k);const{isLoading:d,isComplete:h,data:v,requestParams:b,error:m,send:w,refresh:_,reload:j,loadMore:E,setData:A}=L(p),I=["url","params","urlParams","method","data","cache","ttl","isLocal","auto","loader","options","updateType","onRequestError","onRequestSuccess","onRequestComplete","onRequestStart","debug","ajax","transformData","transformResponse"],S=a()(p,I),O=u()(p,I);if((0,n.useImperativeHandle)(e,()=>({isLoading:d,isComplete:h,data:v,requestParams:b,error:m,send:w,refresh:_,reload:j,loadMore:E,setData:A})),d)return void 0===s?x.loading:s;if(m){const t=void 0===l?x.error:l;return"function"===typeof t?t(m):t}if(!h&&!v)return null;if("function"===typeof c?c(v,b):!v)return void 0===f?x.empty:f;if(r){const t=r;return o().createElement(t,g({},S,{fetchProps:O,isComplete:h,data:v,refresh:_,reload:j,setData:A,loadMore:E,send:w,requestParams:b}))}if(i)return i(g({},S,{fetchProps:O,isComplete:h,data:v,refresh:_,reload:j,setData:A,loadMore:E,send:w,requestParams:b}));throw new Error("\u8bf7\u4f20\u5165component\u53c2\u6570\u6216\u8005render\u53c2\u6570")}),P=t=>(0,n.forwardRef)((e,r)=>o().createElement(U,g({},e,{component:t,ref:r}))),M=t=>e=>{const r=P(e);return(0,n.forwardRef)((e,n)=>o().createElement(r,g({},f()({},t,e),{ref:n})))},T=["onRequestParamsChange","onRequestDataChange","onError","onIsCompleteChange","onIsLoadingChange"],N=t=>{const e=Object.assign({},t,{options:Object.assign({},null==t?void 0:t.options)},{type:"refresh",ignoreSuccessState:!0}),{onRequestParamsChange:r,onRequestDataChange:n,onError:o,onIsCompleteChange:i,onIsLoadingChange:a}=e,s=y(e,T);return C({getProps:()=>s,getRequestToken:()=>B(s),requestParams:{},setRequestParams:function(){return r&&r(...arguments)},setFetchData:function(){return n&&n(...arguments)},setError:function(){return o&&o(...arguments)},setIsComplete:function(){return i&&i(...arguments)},setIsLoading:function(){return a&&a(...arguments)}})({}).then(t=>{let{outputStack:e}=t;return e["transform-response"]})}},64755(t,e,r){var n=r(56251),o=r(51480)(function(t,e,r){n(t,e,r)});t.exports=o},65472(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},65610(t,e,r){var n=r(55949);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},67016(t,e,r){var n=r(80406),o=r(9104),i=r(62257);t.exports=function(t){return i(t)?n(t,!0):o(t)}},67574(t,e,r){var n=r(18710),o=r(42947),i=r(9517),a=r(20907);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},68103(t,e,r){var n=r(16303),o=r(46484),i=r(98677),a=i&&i.isSet,s=a?o(a):n;t.exports=s},69810(t){var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},70633(t,e,r){var n=r(88628),o=r(93179),i=r(49723);t.exports=function(t){return n(t,i,o)}},73075(t,e,r){var n=r(20250);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},74018(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(r){}try{return t+""}catch(r){}}return""}},74406(t,e,r){var n=r(98959),o=r(98554),i=r(13605),a=r(59744),s=r(84582),u=r(99635),c=r(74018),f="[object Map]",l="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",g=c(n),y=c(o),v=c(i),b=c(a),m=c(s),w=u;(n&&w(new n(new ArrayBuffer(1)))!=h||o&&w(new o)!=f||i&&w(i.resolve())!=l||a&&w(new a)!=p||s&&w(new s)!=d)&&(w=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return h;case y:return f;case v:return l;case b:return p;case m:return d}return e}),t.exports=w},74807(t,e,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},76003(t){t.exports=function(t){return null!=t&&"object"==typeof t}},76779(t,e,r){var n=r(84059),o=r(87796),i=r(55045),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},78514(t,e,r){var n=r(67574),o=r(92679),i=r(534),a=r(12408);t.exports=function(t,e){return e=n(e,t),null==(t=i(t,e))||delete t[a(o(e))]}},79734(t){t.exports=function(t,e){return function(r){return t(e(r))}}},80175(t,e,r){var n=r(47352),o=r(67016);t.exports=function(t){return n(t,o(t))}},80251(t){t.exports=function(t,e){return null==t?void 0:t[e]}},80338(t,e,r){var n=r(88628),o=r(360),i=r(67016);t.exports=function(t){return n(t,i,o)}},80406(t,e,r){var n=r(98745),o=r(2387),i=r(18710),a=r(57517),s=r(62976),u=r(45370),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),f=!r&&o(t),l=!r&&!f&&a(t),p=!r&&!f&&!l&&u(t),d=r||f||l||p,h=d?n(t.length,String):[],g=h.length;for(var y in t)!e&&!c.call(t,y)||d&&("length"==y||l&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||h.push(y);return h}},80715(t,e,r){var n=r(67574),o=r(2387),i=r(18710),a=r(62976),s=r(16299),u=r(12408);t.exports=function(t,e,r){for(var c=-1,f=(e=n(e,t)).length,l=!1;++c<f;){var p=u(e[c]);if(!(l=null!=t&&r(t,p)))break;t=t[p]}return l||++c!=f?l:!!(f=null==t?0:t.length)&&s(f)&&a(p,f)&&(i(t)||o(t))}},80951(t,e,r){var n=r(41987),o=r(90951),i=r(67574);t.exports=function(t,e,r){for(var a=-1,s=e.length,u={};++a<s;){var c=e[a],f=n(t,c);r(f,c)&&o(u,i(c,t),f)}return u}},81051(t,e,r){var n=r(99635),o=r(76003);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},81633(t,e,r){var n=r(10427)(Object,"create");t.exports=n},83103(t,e,r){var n=r(16593),o=r(5186),i=r(41436);t.exports=function(t){return i(o(t,void 0,n),t+"")}},83463(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},83689(t,e,r){var n=r(74406),o=r(76003);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},83980(t,e,r){var n=r(92060);t.exports=function(t){return n(this,t).has(t)}},84059(t){t.exports=function(t){return function(){return t}}},84202(t,e,r){var n=r(49266),o=r(2387),i=r(18710),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},84582(t,e,r){var n=r(10427)(r(36382),"WeakMap");t.exports=n},85030(t){t.exports=function(t){return this.__data__.has(t)}},85106(t){t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},85436(t,e,r){var n=r(92060);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},86654(t,e,r){var n=r(96817),o=r(55949),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var a=t[e];i.call(t,e)&&o(a,r)&&(void 0!==r||e in t)||n(t,e,r)}},87210(t,e,r){var n=r(13993),o=r(11585),i=r(95656),a=r(59292),s=r(7820);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,t.exports=u},87548(t,e,r){var n=r(65610);t.exports=function(t){return n(this.__data__,t)>-1}},87796(t,e,r){var n=r(10427),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},88628(t,e,r){var n=r(96537),o=r(18710);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},88992(t){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},89620(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},89719(t,e,r){var n=r(50878),o=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},90931(t,e,r){var n=r(99635),o=r(76003);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},90951(t,e,r){var n=r(86654),o=r(67574),i=r(62976),a=r(2316),s=r(12408);t.exports=function(t,e,r,u){if(!a(t))return t;for(var c=-1,f=(e=o(e,t)).length,l=f-1,p=t;null!=p&&++c<f;){var d=s(e[c]),h=r;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(c!=l){var g=p[d];void 0===(h=u?u(g,d,p):void 0)&&(h=a(g)?g:i(e[c+1])?[]:{})}n(p,d,h),p=p[d]}return t}},91959(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},91996(t,e,r){var n=r(11747),o=r(14547),i=r(69810);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:n(o(t))}},92056(t,e,r){var n=r(92060);t.exports=function(t){return n(this,t).get(t)}},92060(t,e,r){var n=r(37147);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},92679(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},93179(t,e,r){var n=r(83463),o=r(49578),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),n(a(t),function(e){return i.call(t,e)}))}:o;t.exports=s},93541(t,e,r){var n=r(30634),o=r(19883),i=r(35720),a=r(12418),s=r(91996),u=r(2387),c=r(18710),f=r(25790),l=r(57517),p=r(26711),d=r(2316),h=r(14888),g=r(45370),y=r(5131),v=r(80175);t.exports=function(t,e,r,b,m,w,x){var _=y(t,r),j=y(e,r),E=x.get(j);if(E)n(t,r,E);else{var A=w?w(_,j,r+"",t,e,x):void 0,I=void 0===A;if(I){var S=c(j),O=!S&&l(j),C=!S&&!O&&g(j);A=j,S||O||C?c(_)?A=_:f(_)?A=a(_):O?(I=!1,A=o(j,!0)):C?(I=!1,A=i(j,!0)):A=[]:h(j)||u(j)?(A=_,u(_)?A=v(_):d(_)&&!p(_)||(A=s(j))):I=!1}I&&(x.set(j,A),m(A,j,b,w,x),x.delete(j)),n(t,r,A)}}},95656(t,e,r){var n=r(81633),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},96537(t){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},96817(t,e,r){var n=r(87796);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},96940(t,e,r){var n=r(65610);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},98554(t,e,r){var n=r(10427)(r(36382),"Map");t.exports=n},98677(t,e,r){t=r.nmd(t);var n=r(74807),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=s},98745(t){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},98959(t,e,r){var n=r(10427)(r(36382),"DataView");t.exports=n},99635(t,e,r){var n=r(49266),o=r(3654),i=r(39789),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}}}]);
2
- //# sourceMappingURL=351.9c5e5dd7.chunk.js.map
1
+ (self.webpackChunk_kne_components_react_pdf_sign=self.webpackChunk_kne_components_react_pdf_sign||[]).push([[351],{360(t,e,r){var n=r(96537),o=r(14547),i=r(93179),a=r(49578),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)n(e,i(t)),t=o(t);return e}:a;t.exports=s},534(t,e,r){var n=r(41987),o=r(46205);t.exports=function(t,e){return e.length<2?t:n(t,o(e,0,-1))}},2316(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},2344(t,e,r){var n=r(65610);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},2387(t,e,r){var n=r(81051),o=r(76003),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},3654(t,e,r){var n=r(49266),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(u){}var o=a.call(t);return n&&(e?t[s]=r:delete t[s]),o}},5131(t){t.exports=function(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}},5186(t,e,r){var n=r(88992),o=Math.max;t.exports=function(t,e,r){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),u=Array(s);++a<s;)u[a]=i[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=i[a];return c[e]=r(u),n(t,this,c)}}},5913(t,e,r){var n=r(87210),o=r(27882),i=r(98554);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},7820(t,e,r){var n=r(81633);t.exports=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this}},9104(t,e,r){var n=r(2316),o=r(69810),i=r(85106),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var e=o(t),r=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&r.push(s);return r}},9517(t,e,r){var n=r(20533),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,r,n,o){e.push(n?o.replace(i,"$1"):r||t)}),e});t.exports=a},10161(t,e,r){var n=r(83689),o=r(46484),i=r(98677),a=i&&i.isMap,s=a?o(a):n;t.exports=s},10238(t,e,r){var n=r(91959),o=r(28566),i=r(78514),a=r(67574),s=r(47352),u=r(36555),c=r(83103),f=r(80338),l=c(function(t,e){var r={};if(null==t)return r;var c=!1;e=n(e,function(e){return e=a(e,t),c||(c=e.length>1),e}),s(t,f(t),r),c&&(r=o(r,7,u));for(var l=e.length;l--;)i(r,e[l]);return r});t.exports=l},10427(t,e,r){var n=r(59704),o=r(80251);t.exports=function(t,e){var r=o(t,e);return n(r)?r:void 0}},11394(t,e,r){var n=r(80951),o=r(23052);t.exports=function(t,e){return n(t,e,function(e,r){return o(t,r)})}},11524(t){var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},11585(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},11747(t,e,r){var n=r(2316),o=Object.create,i=function(){function t(){}return function(e){if(!n(e))return{};if(o)return o(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=i},11907(t,e,r){var n=r(69810),o=r(44681),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},12408(t,e,r){var n=r(90931);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},12418(t){t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},13605(t,e,r){var n=r(10427)(r(36382),"Promise");t.exports=n},13665(t){t.exports=function t(e,r,n){function o(a,s){if(!r[a]){if(!e[a]){if(i)return i(a,!0);throw new Error("Cannot find module '"+a+"'")}s=r[a]={exports:{}},e[a][0].call(s.exports,function(t){return o(e[a][1][t]||t)},s,s.exports,t,e,r,n)}return r[a].exports}for(var i=void 0,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t,e,r){(function(n,o,i,a,s,u,c,f,l){"use strict";var p=t("crypto");function d(t,e){var r;return void 0===(r="passthrough"!==(e=y(t,e)).algorithm?p.createHash(e.algorithm):new m).write&&(r.write=r.update,r.end=r.update),b(e,r).dispatch(t),r.update||r.end(""),r.digest?r.digest("buffer"===e.encoding?void 0:e.encoding):(t=r.read(),"buffer"!==e.encoding?t.toString(e.encoding):t)}(r=e.exports=d).sha1=function(t){return d(t)},r.keys=function(t){return d(t,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},r.MD5=function(t){return d(t,{algorithm:"md5",encoding:"hex"})},r.keysMD5=function(t){return d(t,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var h=p.getHashes?p.getHashes().slice():["sha1","md5"],g=(h.push("passthrough"),["buffer","hex","binary","base64"]);function y(t,e){var r={};if(r.algorithm=(e=e||{}).algorithm||"sha1",r.encoding=e.encoding||"hex",r.excludeValues=!!e.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=!0===e.ignoreUnknown,r.respectType=!1!==e.respectType,r.respectFunctionNames=!1!==e.respectFunctionNames,r.respectFunctionProperties=!1!==e.respectFunctionProperties,r.unorderedArrays=!0===e.unorderedArrays,r.unorderedSets=!1!==e.unorderedSets,r.unorderedObjects=!1!==e.unorderedObjects,r.replacer=e.replacer||void 0,r.excludeKeys=e.excludeKeys||void 0,void 0===t)throw new Error("Object argument required.");for(var n=0;n<h.length;++n)h[n].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=h[n]);if(-1===h.indexOf(r.algorithm))throw new Error('Algorithm "'+r.algorithm+'" not supported. supported values: '+h.join(", "));if(-1===g.indexOf(r.encoding)&&"passthrough"!==r.algorithm)throw new Error('Encoding "'+r.encoding+'" not supported. supported values: '+g.join(", "));return r}function v(t){if("function"==typeof t)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(t))}function b(t,e,r){function n(t){return e.update?e.update(t,"utf8"):e.write(t,"utf8")}return r=r||[],{dispatch:function(e){return this["_"+(null===(e=t.replacer?t.replacer(e):e)?"null":typeof e)](e)},_object:function(e){var o,a=Object.prototype.toString.call(e),s=/\[object (.*)\]/i.exec(a);if(s=(s=s?s[1]:"unknown:["+a+"]").toLowerCase(),0<=(a=r.indexOf(e)))return this.dispatch("[CIRCULAR:"+a+"]");if(r.push(e),void 0!==i&&i.isBuffer&&i.isBuffer(e))return n("buffer:"),n(e);if("object"===s||"function"===s||"asyncfunction"===s)return a=Object.keys(e),t.unorderedObjects&&(a=a.sort()),!1===t.respectType||v(e)||a.splice(0,0,"prototype","__proto__","constructor"),t.excludeKeys&&(a=a.filter(function(e){return!t.excludeKeys(e)})),n("object:"+a.length+":"),o=this,a.forEach(function(r){o.dispatch(r),n(":"),t.excludeValues||o.dispatch(e[r]),n(",")});if(!this["_"+s]){if(t.ignoreUnknown)return n("["+s+"]");throw new Error('Unknown object type "'+s+'"')}this["_"+s](e)},_array:function(e,o){o=void 0!==o?o:!1!==t.unorderedArrays;var i=this;if(n("array:"+e.length+":"),!o||e.length<=1)return e.forEach(function(t){return i.dispatch(t)});var a=[];return o=e.map(function(e){var n=new m,o=r.slice();return b(t,n,o).dispatch(e),a=a.concat(o.slice(r.length)),n.read().toString()}),r=r.concat(a),o.sort(),this._array(o,!1)},_date:function(t){return n("date:"+t.toJSON())},_symbol:function(t){return n("symbol:"+t.toString())},_error:function(t){return n("error:"+t.toString())},_boolean:function(t){return n("bool:"+t.toString())},_string:function(t){n("string:"+t.length+":"),n(t.toString())},_function:function(e){n("fn:"),v(e)?this.dispatch("[native]"):this.dispatch(e.toString()),!1!==t.respectFunctionNames&&this.dispatch("function-name:"+String(e.name)),t.respectFunctionProperties&&this._object(e)},_number:function(t){return n("number:"+t.toString())},_xml:function(t){return n("xml:"+t.toString())},_null:function(){return n("Null")},_undefined:function(){return n("Undefined")},_regexp:function(t){return n("regex:"+t.toString())},_uint8array:function(t){return n("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint8clampedarray:function(t){return n("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(t))},_int8array:function(t){return n("int8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint16array:function(t){return n("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},_int16array:function(t){return n("int16array:"),this.dispatch(Array.prototype.slice.call(t))},_uint32array:function(t){return n("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},_int32array:function(t){return n("int32array:"),this.dispatch(Array.prototype.slice.call(t))},_float32array:function(t){return n("float32array:"),this.dispatch(Array.prototype.slice.call(t))},_float64array:function(t){return n("float64array:"),this.dispatch(Array.prototype.slice.call(t))},_arraybuffer:function(t){return n("arraybuffer:"),this.dispatch(new Uint8Array(t))},_url:function(t){return n("url:"+t.toString())},_map:function(e){return n("map:"),e=Array.from(e),this._array(e,!1!==t.unorderedSets)},_set:function(e){return n("set:"),e=Array.from(e),this._array(e,!1!==t.unorderedSets)},_file:function(t){return n("file:"),this.dispatch([t.name,t.size,t.type,t.lastModfied])},_blob:function(){if(t.ignoreUnknown)return n("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return n("domwindow")},_bigint:function(t){return n("bigint:"+t.toString())},_process:function(){return n("process")},_timer:function(){return n("timer")},_pipe:function(){return n("pipe")},_tcp:function(){return n("tcp")},_udp:function(){return n("udp")},_tty:function(){return n("tty")},_statwatcher:function(){return n("statwatcher")},_securecontext:function(){return n("securecontext")},_connection:function(){return n("connection")},_zlib:function(){return n("zlib")},_context:function(){return n("context")},_nodescript:function(){return n("nodescript")},_httpparser:function(){return n("httpparser")},_dataview:function(){return n("dataview")},_signal:function(){return n("signal")},_fsevent:function(){return n("fsevent")},_tlswrap:function(){return n("tlswrap")}}}function m(){return{buf:"",write:function(t){this.buf+=t},end:function(t){this.buf+=t},read:function(){return this.buf}}}r.writeToStream=function(t,e,r){return void 0===r&&(r=e,e={}),b(e=y(t,e),r).dispatch(t)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(t,e,r){(function(t,e,n,o,i,a,s,u,c){!function(t){"use strict";var e="undefined"!=typeof Uint8Array?Uint8Array:Array,r="+".charCodeAt(0),n="/".charCodeAt(0),o="0".charCodeAt(0),i="a".charCodeAt(0),a="A".charCodeAt(0),s="-".charCodeAt(0),u="_".charCodeAt(0);function c(t){return(t=t.charCodeAt(0))===r||t===s?62:t===n||t===u?63:t<o?-1:t<o+10?t-o+26+26:t<a+26?t-a:t<i+26?t-i+26:void 0}t.toByteArray=function(t){var r,n;if(0<t.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var o=t.length,i=(o="="===t.charAt(o-2)?2:"="===t.charAt(o-1)?1:0,new e(3*t.length/4-o)),a=0<o?t.length-4:t.length,s=0;function u(t){i[s++]=t}for(r=0;r<a;r+=4,0)u((16711680&(n=c(t.charAt(r))<<18|c(t.charAt(r+1))<<12|c(t.charAt(r+2))<<6|c(t.charAt(r+3))))>>16),u((65280&n)>>8),u(255&n);return 2==o?u(255&(n=c(t.charAt(r))<<2|c(t.charAt(r+1))>>4)):1==o&&(u((n=c(t.charAt(r))<<10|c(t.charAt(r+1))<<4|c(t.charAt(r+2))>>2)>>8&255),u(255&n)),i},t.fromByteArray=function(t){var e,r,n,o,i=t.length%3,a="";function s(t){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)}for(e=0,n=t.length-i;e<n;e+=3)a+=s((o=r=(t[e]<<16)+(t[e+1]<<8)+t[e+2])>>18&63)+s(o>>12&63)+s(o>>6&63)+s(63&o);switch(i){case 1:a=(a+=s((r=t[t.length-1])>>2))+s(r<<4&63)+"==";break;case 2:a=(a=(a+=s((r=(t[t.length-2]<<8)+t[t.length-1])>>10))+s(r>>4&63))+s(r<<2&63)+"="}return a}}(void 0===r?this.base64js={}:r)}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(t,e,r){(function(e,n,o,i,a,s,u,c,f){var l=t("base64-js"),p=t("ieee754");function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);var n,i,a,s,u=typeof t;if("base64"===e&&"string"==u)for(t=(s=t).trim?s.trim():s.replace(/^\s+|\s+$/g,"");t.length%4!=0;)t+="=";if("number"==u)n=B(t);else if("string"==u)n=o.byteLength(t,e);else{if("object"!=u)throw new Error("First argument needs to be a number, array or string.");n=B(t.length)}if(o._useTypedArrays?i=o._augment(new Uint8Array(n)):((i=this).length=n,i._isBuffer=!0),o._useTypedArrays&&"number"==typeof t.byteLength)i._set(t);else if(L(s=t)||o.isBuffer(s)||s&&"object"==typeof s&&"number"==typeof s.length)for(a=0;a<n;a++)o.isBuffer(t)?i[a]=t.readUInt8(a):i[a]=t[a];else if("string"==u)i.write(t,0,e);else if("number"==u&&!o._useTypedArrays&&!r)for(a=0;a<n;a++)i[a]=0;return i}function d(t,e,r,n){return o._charsWritten=M(function(t){for(var e=[],r=0;r<t.length;r++)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function h(t,e,r,n){return o._charsWritten=M(function(t){for(var e,r,n=[],o=0;o<t.length;o++)e=(r=t.charCodeAt(o))>>8,r%=256,n.push(r),n.push(e);return n}(e),t,r,n)}function g(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;o++)n+=String.fromCharCode(t[o]);return n}function y(t,e,r,n){var o;if(n||(R("boolean"==typeof r,"missing or invalid endian"),R(null!=e,"missing offset"),R(e+1<t.length,"Trying to read beyond buffer length")),!((n=t.length)<=e))return r?(o=t[e],e+1<n&&(o|=t[e+1]<<8)):(o=t[e]<<8,e+1<n&&(o|=t[e+1])),o}function v(t,e,r,n){var o;if(n||(R("boolean"==typeof r,"missing or invalid endian"),R(null!=e,"missing offset"),R(e+3<t.length,"Trying to read beyond buffer length")),!((n=t.length)<=e))return r?(e+2<n&&(o=t[e+2]<<16),e+1<n&&(o|=t[e+1]<<8),o|=t[e],e+3<n&&(o+=t[e+3]<<24>>>0)):(e+1<n&&(o=t[e+1]<<16),e+2<n&&(o|=t[e+2]<<8),e+3<n&&(o|=t[e+3]),o+=t[e]<<24>>>0),o}function b(t,e,r,n){if(n||(R("boolean"==typeof r,"missing or invalid endian"),R(null!=e,"missing offset"),R(e+1<t.length,"Trying to read beyond buffer length")),!(t.length<=e))return 32768&(n=y(t,e,r,!0))?-1*(65535-n+1):n}function m(t,e,r,n){if(n||(R("boolean"==typeof r,"missing or invalid endian"),R(null!=e,"missing offset"),R(e+3<t.length,"Trying to read beyond buffer length")),!(t.length<=e))return 2147483648&(n=v(t,e,r,!0))?-1*(4294967295-n+1):n}function w(t,e,r,n){return n||(R("boolean"==typeof r,"missing or invalid endian"),R(e+3<t.length,"Trying to read beyond buffer length")),p.read(t,e,r,23,4)}function _(t,e,r,n){return n||(R("boolean"==typeof r,"missing or invalid endian"),R(e+7<t.length,"Trying to read beyond buffer length")),p.read(t,e,r,52,8)}function x(t,e,r,n,o){if(o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+1<t.length,"trying to write beyond buffer length"),N(e,65535)),!((o=t.length)<=r))for(var i=0,a=Math.min(o-r,2);i<a;i++)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function j(t,e,r,n,o){if(o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+3<t.length,"trying to write beyond buffer length"),N(e,4294967295)),!((o=t.length)<=r))for(var i=0,a=Math.min(o-r,4);i<a;i++)t[r+i]=e>>>8*(n?i:3-i)&255}function E(t,e,r,n,o){o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+1<t.length,"Trying to write beyond buffer length"),q(e,32767,-32768)),t.length<=r||x(t,0<=e?e:65535+e+1,r,n,o)}function A(t,e,r,n,o){o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+3<t.length,"Trying to write beyond buffer length"),q(e,2147483647,-2147483648)),t.length<=r||j(t,0<=e?e:4294967295+e+1,r,n,o)}function I(t,e,r,n,o){o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+3<t.length,"Trying to write beyond buffer length"),F(e,34028234663852886e22,-34028234663852886e22)),t.length<=r||p.write(t,e,r,n,23,4)}function S(t,e,r,n,o){o||(R(null!=e,"missing value"),R("boolean"==typeof n,"missing or invalid endian"),R(null!=r,"missing offset"),R(r+7<t.length,"Trying to write beyond buffer length"),F(e,17976931348623157e292,-17976931348623157e292)),t.length<=r||p.write(t,e,r,n,52,8)}r.Buffer=o,r.SlowBuffer=o,r.INSPECT_MAX_BYTES=50,o.poolSize=8192,o._useTypedArrays=function(){try{var t=new ArrayBuffer(0),e=new Uint8Array(t);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),o.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.isBuffer=function(t){return!(null==t||!t._isBuffer)},o.byteLength=function(t,e){var r;switch(t+="",e||"utf8"){case"hex":r=t.length/2;break;case"utf8":case"utf-8":r=U(t).length;break;case"ascii":case"binary":case"raw":r=t.length;break;case"base64":r=P(t).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=2*t.length;break;default:throw new Error("Unknown encoding")}return r},o.concat=function(t,e){if(R(L(t),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===t.length)return new o(0);if(1===t.length)return t[0];if("number"!=typeof e)for(i=e=0;i<t.length;i++)e+=t[i].length;for(var r=new o(e),n=0,i=0;i<t.length;i++){var a=t[i];a.copy(r,n),n+=a.length}return r},o.prototype.write=function(t,e,r,n){isFinite(e)?isFinite(r)||(n=r,r=void 0):(c=n,n=e,e=r,r=c),e=Number(e)||0;var i,a,s,u,c=this.length-e;switch((!r||c<(r=Number(r)))&&(r=c),n=String(n||"utf8").toLowerCase()){case"hex":i=function(t,e,r,n){r=Number(r)||0;var i=t.length-r;(!n||i<(n=Number(n)))&&(n=i),R((i=e.length)%2==0,"Invalid hex string"),i/2<n&&(n=i/2);for(var a=0;a<n;a++){var s=parseInt(e.substr(2*a,2),16);R(!isNaN(s),"Invalid hex string"),t[r+a]=s}return o._charsWritten=2*a,a}(this,t,e,r);break;case"utf8":case"utf-8":a=this,s=e,u=r,i=o._charsWritten=M(U(t),a,s,u);break;case"ascii":case"binary":i=d(this,t,e,r);break;case"base64":a=this,s=e,u=r,i=o._charsWritten=M(P(t),a,s,u);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=h(this,t,e,r);break;default:throw new Error("Unknown encoding")}return i},o.prototype.toString=function(t,e,r){var n,o,i,a,s=this;if(t=String(t||"utf8").toLowerCase(),e=Number(e)||0,(r=void 0!==r?Number(r):s.length)===e)return"";switch(t){case"hex":n=function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||n<r)&&(r=n);for(var o="",i=e;i<r;i++)o+=k(t[i]);return o}(s,e,r);break;case"utf8":case"utf-8":n=function(t,e,r){var n="",o="";r=Math.min(t.length,r);for(var i=e;i<r;i++)t[i]<=127?(n+=T(o)+String.fromCharCode(t[i]),o=""):o+="%"+t[i].toString(16);return n+T(o)}(s,e,r);break;case"ascii":case"binary":n=g(s,e,r);break;case"base64":o=s,a=r,n=0===(i=e)&&a===o.length?l.fromByteArray(o):l.fromByteArray(o.slice(i,a));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(s,e,r);break;default:throw new Error("Unknown encoding")}return n},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.copy=function(t,e,r,n){if(e=e||0,(n=n||0===n?n:this.length)!==(r=r||0)&&0!==t.length&&0!==this.length){R(r<=n,"sourceEnd < sourceStart"),R(0<=e&&e<t.length,"targetStart out of bounds"),R(0<=r&&r<this.length,"sourceStart out of bounds"),R(0<=n&&n<=this.length,"sourceEnd out of bounds"),n>this.length&&(n=this.length);var i=(n=t.length-e<n-r?t.length-e+r:n)-r;if(i<100||!o._useTypedArrays)for(var a=0;a<i;a++)t[a+e]=this[a+r];else t._set(this.subarray(r,r+i),e)}},o.prototype.slice=function(t,e){var r=this.length;if(t=C(t,r,0),e=C(e,r,r),o._useTypedArrays)return o._augment(this.subarray(t,e));for(var n=e-t,i=new o(n,void 0,!0),a=0;a<n;a++)i[a]=this[a+t];return i},o.prototype.get=function(t){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(t)},o.prototype.set=function(t,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(t,e)},o.prototype.readUInt8=function(t,e){if(e||(R(null!=t,"missing offset"),R(t<this.length,"Trying to read beyond buffer length")),!(t>=this.length))return this[t]},o.prototype.readUInt16LE=function(t,e){return y(this,t,!0,e)},o.prototype.readUInt16BE=function(t,e){return y(this,t,!1,e)},o.prototype.readUInt32LE=function(t,e){return v(this,t,!0,e)},o.prototype.readUInt32BE=function(t,e){return v(this,t,!1,e)},o.prototype.readInt8=function(t,e){if(e||(R(null!=t,"missing offset"),R(t<this.length,"Trying to read beyond buffer length")),!(t>=this.length))return 128&this[t]?-1*(255-this[t]+1):this[t]},o.prototype.readInt16LE=function(t,e){return b(this,t,!0,e)},o.prototype.readInt16BE=function(t,e){return b(this,t,!1,e)},o.prototype.readInt32LE=function(t,e){return m(this,t,!0,e)},o.prototype.readInt32BE=function(t,e){return m(this,t,!1,e)},o.prototype.readFloatLE=function(t,e){return w(this,t,!0,e)},o.prototype.readFloatBE=function(t,e){return w(this,t,!1,e)},o.prototype.readDoubleLE=function(t,e){return _(this,t,!0,e)},o.prototype.readDoubleBE=function(t,e){return _(this,t,!1,e)},o.prototype.writeUInt8=function(t,e,r){r||(R(null!=t,"missing value"),R(null!=e,"missing offset"),R(e<this.length,"trying to write beyond buffer length"),N(t,255)),e>=this.length||(this[e]=t)},o.prototype.writeUInt16LE=function(t,e,r){x(this,t,e,!0,r)},o.prototype.writeUInt16BE=function(t,e,r){x(this,t,e,!1,r)},o.prototype.writeUInt32LE=function(t,e,r){j(this,t,e,!0,r)},o.prototype.writeUInt32BE=function(t,e,r){j(this,t,e,!1,r)},o.prototype.writeInt8=function(t,e,r){r||(R(null!=t,"missing value"),R(null!=e,"missing offset"),R(e<this.length,"Trying to write beyond buffer length"),q(t,127,-128)),e>=this.length||(0<=t?this.writeUInt8(t,e,r):this.writeUInt8(255+t+1,e,r))},o.prototype.writeInt16LE=function(t,e,r){E(this,t,e,!0,r)},o.prototype.writeInt16BE=function(t,e,r){E(this,t,e,!1,r)},o.prototype.writeInt32LE=function(t,e,r){A(this,t,e,!0,r)},o.prototype.writeInt32BE=function(t,e,r){A(this,t,e,!1,r)},o.prototype.writeFloatLE=function(t,e,r){I(this,t,e,!0,r)},o.prototype.writeFloatBE=function(t,e,r){I(this,t,e,!1,r)},o.prototype.writeDoubleLE=function(t,e,r){S(this,t,e,!0,r)},o.prototype.writeDoubleBE=function(t,e,r){S(this,t,e,!1,r)},o.prototype.fill=function(t,e,r){if(e=e||0,r=r||this.length,R("number"==typeof(t="string"==typeof(t=t||0)?t.charCodeAt(0):t)&&!isNaN(t),"value is not a number"),R(e<=r,"end < start"),r!==e&&0!==this.length){R(0<=e&&e<this.length,"start out of bounds"),R(0<=r&&r<=this.length,"end out of bounds");for(var n=e;n<r;n++)this[n]=t}},o.prototype.inspect=function(){for(var t=[],e=this.length,n=0;n<e;n++)if(t[n]=k(this[n]),n===r.INSPECT_MAX_BYTES){t[n+1]="...";break}return"<Buffer "+t.join(" ")+">"},o.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(o._useTypedArrays)return new o(this).buffer;for(var t=new Uint8Array(this.length),e=0,r=t.length;e<r;e+=1)t[e]=this[e];return t.buffer};var O=o.prototype;function C(t,e,r){return"number"!=typeof t?r:e<=(t=~~t)?e:0<=t||0<=(t+=e)?t:0}function B(t){return(t=~~Math.ceil(+t))<0?0:t}function L(t){return(Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)})(t)}function k(t){return t<16?"0"+t.toString(16):t.toString(16)}function U(t){for(var e=[],r=0;r<t.length;r++){var n=t.charCodeAt(r);if(n<=127)e.push(t.charCodeAt(r));else for(var o=r,i=(55296<=n&&n<=57343&&r++,encodeURIComponent(t.slice(o,r+1)).substr(1).split("%")),a=0;a<i.length;a++)e.push(parseInt(i[a],16))}return e}function P(t){return l.toByteArray(t)}function M(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length||o>=t.length);o++)e[o+r]=t[o];return o}function T(t){try{return decodeURIComponent(t)}catch(t){return String.fromCharCode(65533)}}function N(t,e){R("number"==typeof t,"cannot write a non-number as a number"),R(0<=t,"specified a negative value for writing an unsigned value"),R(t<=e,"value is larger than maximum value for type"),R(Math.floor(t)===t,"value has a fractional component")}function q(t,e,r){R("number"==typeof t,"cannot write a non-number as a number"),R(t<=e,"value larger than maximum allowed value"),R(r<=t,"value smaller than minimum allowed value"),R(Math.floor(t)===t,"value has a fractional component")}function F(t,e,r){R("number"==typeof t,"cannot write a non-number as a number"),R(t<=e,"value larger than maximum allowed value"),R(r<=t,"value smaller than minimum allowed value")}function R(t,e){if(!t)throw new Error(e||"Failed assertion")}o._augment=function(t){return t._isBuffer=!0,t._get=t.get,t._set=t.set,t.get=O.get,t.set=O.set,t.write=O.write,t.toString=O.toString,t.toLocaleString=O.toString,t.toJSON=O.toJSON,t.copy=O.copy,t.slice=O.slice,t.readUInt8=O.readUInt8,t.readUInt16LE=O.readUInt16LE,t.readUInt16BE=O.readUInt16BE,t.readUInt32LE=O.readUInt32LE,t.readUInt32BE=O.readUInt32BE,t.readInt8=O.readInt8,t.readInt16LE=O.readInt16LE,t.readInt16BE=O.readInt16BE,t.readInt32LE=O.readInt32LE,t.readInt32BE=O.readInt32BE,t.readFloatLE=O.readFloatLE,t.readFloatBE=O.readFloatBE,t.readDoubleLE=O.readDoubleLE,t.readDoubleBE=O.readDoubleBE,t.writeUInt8=O.writeUInt8,t.writeUInt16LE=O.writeUInt16LE,t.writeUInt16BE=O.writeUInt16BE,t.writeUInt32LE=O.writeUInt32LE,t.writeUInt32BE=O.writeUInt32BE,t.writeInt8=O.writeInt8,t.writeInt16LE=O.writeInt16LE,t.writeInt16BE=O.writeInt16BE,t.writeInt32LE=O.writeInt32LE,t.writeInt32BE=O.writeInt32BE,t.writeFloatLE=O.writeFloatLE,t.writeFloatBE=O.writeFloatBE,t.writeDoubleLE=O.writeDoubleLE,t.writeDoubleBE=O.writeDoubleBE,t.fill=O.fill,t.inspect=O.inspect,t.toArrayBuffer=O.toArrayBuffer,t}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(t,e,r){(function(r,n,o,i,a,s,u,c,f){o=t("buffer").Buffer;var l=4,p=new o(l);p.fill(0),e.exports={hash:function(t,e,r,n){for(var i=e(function(t,e){t.length%l!=0&&(r=t.length+(l-t.length%l),t=o.concat([t,p],r));for(var r,n=[],i=e?t.readInt32BE:t.readInt32LE,a=0;a<t.length;a+=l)n.push(i.call(t,a));return n}(t=o.isBuffer(t)?t:new o(t),n),8*t.length),a=(e=n,new o(r)),s=e?a.writeInt32BE:a.writeInt32LE,u=0;u<i.length;u++)s.call(a,i[u],4*u,!0);return a}}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(t,e,r){(function(e,n,o,i,a,s,u,c,f){o=t("buffer").Buffer;var l=t("./sha"),p=t("./sha256"),d=t("./rng"),h={sha1:l,sha256:p,md5:t("./md5")},g=64,y=new o(g);function v(t,e){var r=h[t=t||"sha1"],n=[];return r||b("algorithm:",t,"is not yet supported"),{update:function(t){return o.isBuffer(t)||(t=new o(t)),n.push(t),t.length,this},digest:function(t){var i=o.concat(n);return i=e?function(t,e,r){o.isBuffer(e)||(e=new o(e)),o.isBuffer(r)||(r=new o(r)),e.length>g?e=t(e):e.length<g&&(e=o.concat([e,y],g));for(var n=new o(g),i=new o(g),a=0;a<g;a++)n[a]=54^e[a],i[a]=92^e[a];return r=t(o.concat([n,r])),t(o.concat([i,r]))}(r,e,i):r(i),n=null,t?i.toString(t):i}}}function b(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}y.fill(0),r.createHash=function(t){return v(t)},r.createHmac=v,r.randomBytes=function(t,e){if(!e||!e.call)return new o(d(t));try{e.call(this,void 0,new o(d(t)))}catch(t){e(t)}};var m,w=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],_=function(t){r[t]=function(){b("sorry,",t,"is not implemented yet")}};for(m in w)_(w[m],m)}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(t,e,r){(function(r,n,o,i,a,s,u,c,f){var l=t("./helpers");function p(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var r=1732584193,n=-271733879,o=-1732584194,i=271733878,a=0;a<t.length;a+=16){var s=r,u=n,c=o,f=i;r=h(r,n,o,i,t[a+0],7,-680876936),i=h(i,r,n,o,t[a+1],12,-389564586),o=h(o,i,r,n,t[a+2],17,606105819),n=h(n,o,i,r,t[a+3],22,-1044525330),r=h(r,n,o,i,t[a+4],7,-176418897),i=h(i,r,n,o,t[a+5],12,1200080426),o=h(o,i,r,n,t[a+6],17,-1473231341),n=h(n,o,i,r,t[a+7],22,-45705983),r=h(r,n,o,i,t[a+8],7,1770035416),i=h(i,r,n,o,t[a+9],12,-1958414417),o=h(o,i,r,n,t[a+10],17,-42063),n=h(n,o,i,r,t[a+11],22,-1990404162),r=h(r,n,o,i,t[a+12],7,1804603682),i=h(i,r,n,o,t[a+13],12,-40341101),o=h(o,i,r,n,t[a+14],17,-1502002290),r=g(r,n=h(n,o,i,r,t[a+15],22,1236535329),o,i,t[a+1],5,-165796510),i=g(i,r,n,o,t[a+6],9,-1069501632),o=g(o,i,r,n,t[a+11],14,643717713),n=g(n,o,i,r,t[a+0],20,-373897302),r=g(r,n,o,i,t[a+5],5,-701558691),i=g(i,r,n,o,t[a+10],9,38016083),o=g(o,i,r,n,t[a+15],14,-660478335),n=g(n,o,i,r,t[a+4],20,-405537848),r=g(r,n,o,i,t[a+9],5,568446438),i=g(i,r,n,o,t[a+14],9,-1019803690),o=g(o,i,r,n,t[a+3],14,-187363961),n=g(n,o,i,r,t[a+8],20,1163531501),r=g(r,n,o,i,t[a+13],5,-1444681467),i=g(i,r,n,o,t[a+2],9,-51403784),o=g(o,i,r,n,t[a+7],14,1735328473),r=y(r,n=g(n,o,i,r,t[a+12],20,-1926607734),o,i,t[a+5],4,-378558),i=y(i,r,n,o,t[a+8],11,-2022574463),o=y(o,i,r,n,t[a+11],16,1839030562),n=y(n,o,i,r,t[a+14],23,-35309556),r=y(r,n,o,i,t[a+1],4,-1530992060),i=y(i,r,n,o,t[a+4],11,1272893353),o=y(o,i,r,n,t[a+7],16,-155497632),n=y(n,o,i,r,t[a+10],23,-1094730640),r=y(r,n,o,i,t[a+13],4,681279174),i=y(i,r,n,o,t[a+0],11,-358537222),o=y(o,i,r,n,t[a+3],16,-722521979),n=y(n,o,i,r,t[a+6],23,76029189),r=y(r,n,o,i,t[a+9],4,-640364487),i=y(i,r,n,o,t[a+12],11,-421815835),o=y(o,i,r,n,t[a+15],16,530742520),r=v(r,n=y(n,o,i,r,t[a+2],23,-995338651),o,i,t[a+0],6,-198630844),i=v(i,r,n,o,t[a+7],10,1126891415),o=v(o,i,r,n,t[a+14],15,-1416354905),n=v(n,o,i,r,t[a+5],21,-57434055),r=v(r,n,o,i,t[a+12],6,1700485571),i=v(i,r,n,o,t[a+3],10,-1894986606),o=v(o,i,r,n,t[a+10],15,-1051523),n=v(n,o,i,r,t[a+1],21,-2054922799),r=v(r,n,o,i,t[a+8],6,1873313359),i=v(i,r,n,o,t[a+15],10,-30611744),o=v(o,i,r,n,t[a+6],15,-1560198380),n=v(n,o,i,r,t[a+13],21,1309151649),r=v(r,n,o,i,t[a+4],6,-145523070),i=v(i,r,n,o,t[a+11],10,-1120210379),o=v(o,i,r,n,t[a+2],15,718787259),n=v(n,o,i,r,t[a+9],21,-343485551),r=b(r,s),n=b(n,u),o=b(o,c),i=b(i,f)}return Array(r,n,o,i)}function d(t,e,r,n,o,i){return b((e=b(b(e,t),b(n,i)))<<o|e>>>32-o,r)}function h(t,e,r,n,o,i,a){return d(e&r|~e&n,t,e,o,i,a)}function g(t,e,r,n,o,i,a){return d(e&n|r&~n,t,e,o,i,a)}function y(t,e,r,n,o,i,a){return d(e^r^n,t,e,o,i,a)}function v(t,e,r,n,o,i,a){return d(r^(e|~n),t,e,o,i,a)}function b(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}e.exports=function(t){return l.hash(t,p,16)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(t,e,r){(function(t,r,n,o,i,a,s,u,c){var f;e.exports=f||function(t){for(var e,r=new Array(t),n=0;n<t;n++)0==(3&n)&&(e=4294967296*Math.random()),r[n]=e>>>((3&n)<<3)&255;return r}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(t,e,r){(function(r,n,o,i,a,s,u,c,f){var l=t("./helpers");function p(t,e){t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var r,n,o,i=Array(80),a=1732584193,s=-271733879,u=-1732584194,c=271733878,f=-1009589776,l=0;l<t.length;l+=16){for(var p=a,g=s,y=u,v=c,b=f,m=0;m<80;m++){i[m]=m<16?t[l+m]:h(i[m-3]^i[m-8]^i[m-14]^i[m-16],1);var w=d(d(h(a,5),(w=s,n=u,o=c,(r=m)<20?w&n|~w&o:!(r<40)&&r<60?w&n|w&o|n&o:w^n^o)),d(d(f,i[m]),(r=m)<20?1518500249:r<40?1859775393:r<60?-1894007588:-899497514));f=c,c=u,u=h(s,30),s=a,a=w}a=d(a,p),s=d(s,g),u=d(u,y),c=d(c,v),f=d(f,b)}return Array(a,s,u,c,f)}function d(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function h(t,e){return t<<e|t>>>32-e}e.exports=function(t){return l.hash(t,p,20,!0)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(t,e,r){(function(r,n,o,i,a,s,u,c,f){function l(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function p(t,e){var r,n=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),o=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),i=new Array(64);t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var a,s,u=0;u<t.length;u+=16){for(var c=o[0],f=o[1],p=o[2],d=o[3],y=o[4],v=o[5],b=o[6],m=o[7],w=0;w<64;w++)i[w]=w<16?t[w+u]:l(l(l((s=i[w-2],h(s,17)^h(s,19)^g(s,10)),i[w-7]),(s=i[w-15],h(s,7)^h(s,18)^g(s,3))),i[w-16]),r=l(l(l(l(m,h(s=y,6)^h(s,11)^h(s,25)),y&v^~y&b),n[w]),i[w]),a=l(h(a=c,2)^h(a,13)^h(a,22),c&f^c&p^f&p),m=b,b=v,v=y,y=l(d,r),d=p,p=f,f=c,c=l(r,a);o[0]=l(c,o[0]),o[1]=l(f,o[1]),o[2]=l(p,o[2]),o[3]=l(d,o[3]),o[4]=l(y,o[4]),o[5]=l(v,o[5]),o[6]=l(b,o[6]),o[7]=l(m,o[7])}return o}var d=t("./helpers"),h=function(t,e){return t>>>e|t<<32-e},g=function(t,e){return t>>>e};e.exports=function(t){return d.hash(t,p,32,!0)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(t,e,r){(function(t,e,n,o,i,a,s,u,c){r.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,f=-7,l=r?o-1:0,p=r?-1:1;for(o=t[e+l],l+=p,i=o&(1<<-f)-1,o>>=-f,f+=s;0<f;i=256*i+t[e+l],l+=p,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;0<f;a=256*a+t[e+l],l+=p,f-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(o?-1:1);a+=Math.pow(2,n),i-=c}return(o?-1:1)*a*Math.pow(2,i-n)},r.write=function(t,e,r,n,o,i){var a,s,u=8*i-o-1,c=(1<<u)-1,f=c>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,d=n?1:-1;for(i=e<0||0===e&&1/e<0?1:0,e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(n=Math.pow(2,-a))<1&&(a--,n*=2),2<=(e+=1<=a+f?l/n:l*Math.pow(2,1-f))*n&&(a++,n/=2),c<=a+f?(s=0,a=c):1<=a+f?(s=(e*n-1)*Math.pow(2,o),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,o),a=0));8<=o;t[r+p]=255&s,p+=d,s/=256,o-=8);for(a=a<<o|s,u+=o;0<u;t[r+p]=255&a,p+=d,a/=256,u-=8);t[r+p-d]|=128*i}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(t,e,r){(function(t,r,n,o,i,a,s,u,c){var f,l,p;function d(){}(t=e.exports={}).nextTick=(l="undefined"!=typeof window&&window.setImmediate,p="undefined"!=typeof window&&window.postMessage&&window.addEventListener,l?function(t){return window.setImmediate(t)}:p?(f=[],window.addEventListener("message",function(t){var e=t.source;e!==window&&null!==e||"process-tick"!==t.data||(t.stopPropagation(),0<f.length&&f.shift()())},!0),function(t){f.push(t),window.postMessage("process-tick","*")}):function(t){setTimeout(t,0)}),t.title="browser",t.browser=!0,t.env={},t.argv=[],t.on=d,t.addListener=d,t.once=d,t.off=d,t.removeListener=d,t.removeAllListeners=d,t.emit=d,t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},13961(t,e,r){var n=r(96537),o=r(84202);t.exports=function t(e,r,i,a,s){var u=-1,c=e.length;for(i||(i=o),s||(s=[]);++u<c;){var f=e[u];r>0&&i(f)?r>1?t(f,r-1,i,a,s):n(s,f):a||(s[s.length]=f)}return s}},13993(t,e,r){var n=r(81633);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},14547(t,e,r){var n=r(79734)(Object.getPrototypeOf,Object);t.exports=n},14888(t,e,r){var n=r(99635),o=r(14547),i=r(76003),a=Function.prototype,s=Object.prototype,u=a.toString,c=s.hasOwnProperty,f=u.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=n(t))return!1;var e=o(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==f}},16093(t,e,r){var n=r(47352),o=r(360);t.exports=function(t,e){return n(t,o(t),e)}},16299(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},16303(t,e,r){var n=r(74406),o=r(76003);t.exports=function(t){return o(t)&&"[object Set]"==n(t)}},16521(t,e,r){var n=r(55045),o=r(5186),i=r(41436);t.exports=function(t,e){return i(o(t,e,n),t+"")}},16593(t,e,r){var n=r(13961);t.exports=function(t){return(null==t?0:t.length)?n(t,1):[]}},17137(t,e,r){var n=r(92060);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},17556(t){var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var o=e(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},18710(t){var e=Array.isArray;t.exports=e},19883(t,e,r){t=r.nmd(t);var n=r(36382),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}},20250(t,e,r){var n=r(5913),o=r(17137),i=r(92056),a=r(83980),s=r(85436);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,t.exports=u},20533(t,e,r){var n=r(73075);t.exports=function(t){var e=n(t,function(t){return 500===r.size&&r.clear(),t}),r=e.cache;return e}},20907(t,e,r){var n=r(22467);t.exports=function(t){return null==t?"":n(t)}},20954(t,e,r){var n=r(47352),o=r(93179);t.exports=function(t,e){return n(t,o(t),e)}},22467(t,e,r){var n=r(49266),o=r(91959),i=r(18710),a=r(90931),s=n?n.prototype:void 0,u=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return u?u.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r}},23052(t,e,r){var n=r(89620),o=r(80715);t.exports=function(t,e){return null!=t&&o(t,e,n)}},25790(t,e,r){var n=r(62257),o=r(76003);t.exports=function(t){return o(t)&&n(t)}},26711(t,e,r){var n=r(99635),o=r(2316);t.exports=function(t){if(!o(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},26938(t,e,r){var n=r(11394),o=r(83103)(function(t,e){return null==t?{}:n(t,e)});t.exports=o},27049(t){t.exports=function(){this.__data__=[],this.size=0}},27882(t,e,r){var n=r(27049),o=r(55585),i=r(2344),a=r(87548),s=r(96940);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,t.exports=u},28566(t,e,r){var n=r(62316),o=r(65472),i=r(86654),a=r(61354),s=r(48045),u=r(19883),c=r(12418),f=r(20954),l=r(16093),p=r(70633),d=r(80338),h=r(74406),g=r(38982),y=r(51384),v=r(91996),b=r(18710),m=r(57517),w=r(10161),_=r(2316),x=r(68103),j=r(49723),E=r(67016),A="[object Arguments]",I="[object Function]",S="[object Object]",O={};O[A]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[S]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[I]=O["[object WeakMap]"]=!1,t.exports=function t(e,r,C,B,L,k){var U,P=1&r,M=2&r,T=4&r;if(C&&(U=L?C(e,B,L,k):C(e)),void 0!==U)return U;if(!_(e))return e;var N=b(e);if(N){if(U=g(e),!P)return c(e,U)}else{var q=h(e),F=q==I||"[object GeneratorFunction]"==q;if(m(e))return u(e,P);if(q==S||q==A||F&&!L){if(U=M||F?{}:v(e),!P)return M?l(e,s(U,e)):f(e,a(U,e))}else{if(!O[q])return L?e:{};U=y(e,q,P)}}k||(k=new n);var R=k.get(e);if(R)return R;k.set(e,U),x(e)?e.forEach(function(n){U.add(t(n,r,C,n,e,k))}):w(e)&&e.forEach(function(n,o){U.set(o,t(n,r,C,o,e,k))});var D=N?void 0:(T?M?d:p:M?E:j)(e);return o(D||e,function(n,o){D&&(n=e[o=n]),i(U,o,t(n,r,C,o,e,k))}),U}},28958(t,e,r){var n=r(27882),o=r(98554),i=r(20250);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(t,e),this.size=r.size,this}},29988(t){t.exports=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),s=a.length;s--;){var u=a[t?s:++o];if(!1===r(i[u],u,i))break}return e}}},30634(t,e,r){var n=r(96817),o=r(55949);t.exports=function(t,e,r){(void 0!==r&&!o(t[e],r)||void 0===r&&!(e in t))&&n(t,e,r)}},31923(t){t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},33227(t,e,r){var n=r(41987);t.exports=function(t,e,r){var o=null==t?void 0:n(t,e);return void 0===o?r:o}},35720(t,e,r){var n=r(57746);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},36382(t,e,r){var n=r(74807),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},36555(t,e,r){var n=r(14888);t.exports=function(t){return n(t)?void 0:t}},37147(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},38932(t,e,r){var n=r(29988)();t.exports=n},38982(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},39463(t,e,r){var n=r(36382).Uint8Array;t.exports=n},39572(t){t.exports=function(){return!1}},39789(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},41436(t,e,r){var n=r(76779),o=r(17556)(n);t.exports=o},41987(t,e,r){var n=r(67574),o=r(12408);t.exports=function(t,e){for(var r=0,i=(e=n(e,t)).length;null!=t&&r<i;)t=t[o(e[r++])];return r&&r==i?t:void 0}},42947(t,e,r){var n=r(18710),o=r(90931),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(n(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(a.test(t)||!i.test(t)||null!=e&&t in Object(e))}},43506(t,e,r){var n=r(99635),o=r(16299),i=r(76003),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},44681(t,e,r){var n=r(79734)(Object.keys,Object);t.exports=n},45370(t,e,r){var n=r(43506),o=r(46484),i=r(98677),a=i&&i.isTypedArray,s=a?o(a):n;t.exports=s},46205(t){t.exports=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+e];return i}},46484(t){t.exports=function(t){return function(e){return t(e)}}},47352(t,e,r){var n=r(86654),o=r(96817);t.exports=function(t,e,r,i){var a=!r;r||(r={});for(var s=-1,u=e.length;++s<u;){var c=e[s],f=i?i(r[c],t[c],c,r,t):void 0;void 0===f&&(f=t[c]),a?o(r,c,f):n(r,c,f)}return r}},48045(t,e,r){var n=r(47352),o=r(67016);t.exports=function(t,e){return t&&n(e,o(e),t)}},49266(t,e,r){var n=r(36382).Symbol;t.exports=n},49578(t){t.exports=function(){return[]}},49723(t,e,r){var n=r(80406),o=r(11907),i=r(62257);t.exports=function(t){return i(t)?n(t):o(t)}},50878(t,e,r){var n=r(36382)["__core-js_shared__"];t.exports=n},51384(t,e,r){var n=r(57746),o=r(59072),i=r(11524),a=r(58805),s=r(35720);t.exports=function(t,e,r){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return n(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return i(t);case"[object Symbol]":return a(t)}}},51480(t,e,r){var n=r(16521),o=r(54855);t.exports=function(t){return n(function(e,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++n<i;){var u=r[n];u&&t(e,u,n,a)}return e})}},54706(t){t.exports=function(t){return this.__data__.get(t)}},54855(t,e,r){var n=r(55949),o=r(62257),i=r(62976),a=r(2316);t.exports=function(t,e,r){if(!a(r))return!1;var s=typeof e;return!!("number"==s?o(r)&&i(e,r.length):"string"==s&&e in r)&&n(r[e],t)}},55045(t){t.exports=function(t){return t}},55585(t,e,r){var n=r(65610),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():o.call(e,r,1),--this.size,!0)}},55949(t){t.exports=function(t,e){return t===e||t!==t&&e!==e}},56039(t,e,r){var n=r(27882);t.exports=function(){this.__data__=new n,this.size=0}},56251(t,e,r){var n=r(62316),o=r(30634),i=r(38932),a=r(93541),s=r(2316),u=r(67016),c=r(5131);t.exports=function t(e,r,f,l,p){e!==r&&i(r,function(i,u){if(p||(p=new n),s(i))a(e,r,u,f,t,l,p);else{var d=l?l(c(e,u),i,u+"",e,r,p):void 0;void 0===d&&(d=i),o(e,u,d)}},u)}},57517(t,e,r){t=r.nmd(t);var n=r(36382),o=r(39572),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,s=a&&a.exports===i?n.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;t.exports=u},57746(t,e,r){var n=r(39463);t.exports=function(t){var e=new t.constructor(t.byteLength);return new n(e).set(new n(t)),e}},58805(t,e,r){var n=r(49266),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},59072(t,e,r){var n=r(57746);t.exports=function(t,e){var r=e?n(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},59292(t,e,r){var n=r(81633),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return n?void 0!==e[t]:o.call(e,t)}},59704(t,e,r){var n=r(26711),o=r(89719),i=r(2316),a=r(74018),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,f=u.toString,l=c.hasOwnProperty,p=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?p:s).test(a(t))}},59744(t,e,r){var n=r(10427)(r(36382),"Set");t.exports=n},61354(t,e,r){var n=r(47352),o=r(49723);t.exports=function(t,e){return t&&n(e,o(e),t)}},62257(t,e,r){var n=r(26711),o=r(16299);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},62316(t,e,r){var n=r(27882),o=r(56039),i=r(31923),a=r(54706),s=r(85030),u=r(28958);function c(t){var e=this.__data__=new n(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,t.exports=c},62976(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&e.test(t))&&t>-1&&t%1==0&&t<r}},64351(t,e,r){"use strict";r.r(e),r.d(e,{Cache:()=>w,createWithFetch:()=>M,default:()=>U,getAjax:()=>j,getCache:()=>x,preset:()=>E,request:()=>N,useFetch:()=>L,withFetch:()=>P});var n=r(94922),o=r.n(n),i=r(10238),a=r.n(i),s=r(26938),u=r.n(s),c=r(64755),f=r.n(c),l=r(13665),p=r.n(l),d=r(33227),h=r.n(d);function g(){return g=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},g.apply(null,arguments)}function y(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.includes(n))continue;r[n]=t[n]}return r}const v=["options","urlParams"];var b={id:"params",plugin:(t,e)=>{let{options:r,url:n,method:o,params:i,data:a}=t;const s=e.componentContext.getProps(),{options:c,urlParams:l}=s,p=y(s,v),d=f()({},c,u()(p,["url","method","params","data"]),r,{url:n,method:o,params:i,data:a,urlParams:l}),h=Object.assign({},d);return"object"===typeof l&&Object.keys(l).length>0&&"string"===typeof h.url&&(h.url=h.url.replace(/{([\s\S]+?)}/g,(t,e)=>l.hasOwnProperty(e)?l[e]:t)),e.componentContext.setRequestParams(d),h}};const m=["isLocal"];class w{static now(){return(new Date).getTime()}constructor(t){const{ttl:e,maxLength:r,isLocal:n,localName:o}=Object.assign({},t);this.ttl=e||0,this.data={},this.cacheNameMapping={},this.maxLength=r||1e3,this.isLocal=!!o||n,this.localName=o,this._load()}_load(){if(this.isLocal)try{const t=window.localStorage&&window.localStorage.getItem(this.localName||w.KEY_NAME);if(!t)return;const e=JSON.parse(t);Object.keys(e).forEach(t=>{e[t].isLocal=!0}),this.data=e}catch(t){}}_save(){if(!this.isLocal)return;const t=Object.keys(this.data);Promise.all(t.map(t=>this.data[t].value)).then(t=>{const e={};Object.keys(this.data).forEach((r,n)=>{const o=this.data[r],{isLocal:i}=o,a=y(o,m);!0===i&&(e[r]=Object.assign({},a,{value:t[n]}))}),window.localStorage&&window.localStorage.setItem(this.localName||w.KEY_NAME,JSON.stringify(e))})}get(t){const e=this.data[t];let r=null;return e&&(r=e.value,e.expires&&w.now()>=e.expires&&(r=null,delete this.data[t])),this._save(),r}delByCacheName(t){this.cacheNameMapping[t]&&(this.cacheNameMapping[t].forEach(t=>{this.del(t)}),this.cacheNameMapping[t].clear())}del(t){const e=this.get(t);return delete this.data[t],this._save(),e}put(t,e,r){let{ttl:n,isLocal:o,cacheName:i}=r;void 0===n&&(n=this.ttl);let a=this.del(t);if(null!==e){const r=Object.keys(this.data);if(r.length>=this.maxLength){const t=r.sort((t,e)=>this.data[t].createTime-this.data[e].createTime)[0];delete this.data[t]}const a=w.now();this.data[t]={expires:0===n?null:a+n,value:e,createTime:a,isLocal:o},i&&!this.cacheNameMapping[i]&&(this.cacheNameMapping[i]=new Set),i&&this.cacheNameMapping[i].add(t)}return this._save(),a}clean(){this.data={},this._save()}}w.KEY_NAME="REACT_FETCH_CACHE";const _={cache:new w({ttl:6e5,maxLength:1e3,isLocal:!0}),ajax:()=>{throw new Error("\u9ed8\u8ba4\u7684axios\u914d\u7f6e\u5df2\u7ecf\u79fb\u9664\uff0c\u8bf7\u9996\u5148\u5728preset\u91cc\u9762\u914d\u7f6e")},loading:null,error:null,empty:null,pagination:{initCurrent:1,pageSize:10,transform:t=>t},transformResponse:t=>{const{data:e}=t;return t.data={code:e.code,msg:e.msg,results:e.results},t}},x=()=>_.cache,j=()=>_.ajax;var E=t=>Object.assign(_,t),A={id:"cache-record",plugin:(t,e)=>{const{cache:r,isLocal:n,ttl:o}=e.componentContext.getProps(),i=!0===r?"":r,a=i+e.componentContext.getRequestToken();r&&(e.outputStack.request||e.outputStack.loader)&&void 0!==e.outputStack["output-data"]&&_.cache.put(a,e.outputStack.request||e.outputStack.loader,{ttl:o,isLocal:n,cacheName:i})},dependencies:["cache","request","output-data"]},I={id:"output-data",plugin:(t,e)=>{const{options:r,onRequestSuccess:n,ignoreSuccessState:o,transformData:i}=e.componentContext.getProps();if(Object.keys(e.errorStack).length>0)return;const a=e.output.data;if(!0!==o&&200!==a.code){const t=new Error(a.msg);throw t.responseData=a,t}const s=(t=>"function"===typeof i?i(t,e.outputStack.params):t)((!0!==o?a.results:a)||{});return n&&n(s),s},dependencies:["request"]};const S=[{id:"start",plugin:(t,e)=>{let{type:r}=t;const{onRequestStart:n}=e.componentContext.getProps(),{setIsLoading:o,setIsComplete:i}=e.componentContext;n&&n(),"refresh"===r&&o(!0),i(!1)}},b,{id:"cache",plugin:(t,e)=>{let{force:r}=t;const{cache:n}=e.componentContext.getProps(),o=e.componentContext.getRequestToken();if(!0===r||!n)return;const i=(!0===n?"":n)+o,a=_.cache.get(i);return a?Promise.resolve(a):void 0}},{id:"loader",plugin:async(t,e)=>{const{loader:r}=e.componentContext.getProps();if("function"!==typeof r)return;if(e.outputStack.cache)return e.outputStack.cache;return{data:{code:200,results:await r(e.outputStack.params)}}},dependencies:["params"]},{id:"request",plugin:(t,e)=>{let{force:r}=t;if(e.outputStack.loader||e.errorStack.loader)return;if(e.outputStack.cache)return e.outputStack.cache;const n=e.componentContext.getRequestToken();e.componentContext.requestParams=e.outputStack.params;const{ajax:o}=e.componentContext.getProps(),i=!0!==r&&h()(e.globalContext.pendingRequest,n)||(o||_.ajax)(e.outputStack.params);return e.globalContext.pendingRequest=Object.assign({},e.globalContext.pendingRequest,{[n]:i}),i.then(t=>(delete e.globalContext.pendingRequest[n],t))},dependencies:["params"]},{id:"transform-response",plugin:(t,e)=>{const{transformResponse:r,ignoreSuccessState:n,options:o}=e.componentContext.getProps(),i=e.outputStack.request;if(i)return!0===n?i:(r||_.transformResponse)(Object.assign({},i))},dependencies:["request"]},I,A,{id:"load-more",plugin:(t,e)=>{let{type:r,callback:n}=t;if("load-more"===r&&"function"===typeof n){const{fetchData:t}=e.componentContext.getState();return n(t,e.output)}},dependencies:["output-data"]},{id:"complete",plugin:(t,e)=>{let{type:r}=t;const{setIsLoading:n,setIsComplete:o,setFetchData:i}=e.componentContext;i(e.output),"refresh"===r&&n(!1),o(!0)}},{id:"error",plugin:(t,e)=>{const{onRequestError:r,onRequestComplete:n}=e.componentContext.getProps(),{setError:o}=e.componentContext;if(Object.keys(e.errorStack).length>0){const t=Object.values(e.errorStack).map(t=>t.message).filter(t=>!!t).join("\n");r&&r(Object.values(e.errorStack)),o(t||"\u8bf7\u6c42\u53d1\u751f\u9519\u8bef")}else o(null);n&&n(e)}}],O={},C=t=>async e=>{e=Object.assign({},e);const r=S,n={props:e,globalContext:O,componentContext:t,requestContext:{},outputStack:{},errorStack:{},runPath:[],output:null},{debug:o}=t.getProps();for(let t of r)try{if((t.dependencies||[]).find(t=>-1===n.runPath.indexOf(t)))continue;!0===o&&console.info("react-fetch:plugin-"+t.id+":start",n);const r=await t.plugin(e,n);!0===o&&console.info("react-fetch:plugin-"+t.id+":complete",r),n.outputStack[t.id]=r,n.output=void 0!==r?r:n.output,n.runPath.push(t.id)}catch(i){console.error(i),n.errorStack[t.id]=i}return n},B=t=>p()(u()(t,["url","params","method","data","urlParams","options"]),{algorithm:"md5",encoding:"base64"}),L=t=>{const e=Object.assign({auto:!0,updateType:"reload"},t),r=(0,n.useRef)(e);r.current=e;const[o,i]=(0,n.useState)(!1),[a,s]=(0,n.useState)(!1),[u,c]=(0,n.useState)(null),[f,l]=(0,n.useState)(null),[p,d]=(0,n.useState)({}),h=(0,n.useRef)({isLoading:o,isComplete:a,fetchData:u,error:f,requestParams:p});h.current={isLoading:o,isComplete:a,fetchData:u,error:f,requestParams:p};const g=B(e),y=(0,n.useRef)(g);y.current=g;const v=(0,n.useRef)();(0,n.useMemo)(()=>{v.current=C({getProps:()=>r.current,getRequestToken:()=>y.current,getState:()=>h.current,requestParams:p,setRequestParams:d,setFetchData:c,setError:l,setIsComplete:s,setIsLoading:i})},[]);const b=function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return v.current(Object.assign({},t,{force:e}))},m=function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return v.current(Object.assign({},t,{force:e,type:"refresh"}))},w=function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return v.current(Object.assign({},t,{force:e,type:"reload"}))},_=function(t,e){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return v.current(Object.assign({},t,{force:r,callback:e,type:"load-more"}))},x=(0,n.useRef)({});return x.current={send:b,refresh:m,reload:w,loadMore:_,setData:c},(0,n.useEffect)(()=>{r.current.auto&&(h.current.isComplete?x.current.send({type:r.current.updateType},!1):x.current.refresh({},!1))},[g]),{isLoading:o,isComplete:a,data:u,error:f,send:b,refresh:m,reload:w,loadMore:_,setData:c,requestParams:p}},k=["component","render","loading","isEmpty","empty","error"],U=(0,n.forwardRef)((t,e)=>{let{component:r,render:i,loading:s,isEmpty:c,empty:f,error:l}=t,p=y(t,k);const{isLoading:d,isComplete:h,data:v,requestParams:b,error:m,send:w,refresh:x,reload:j,loadMore:E,setData:A}=L(p),I=["url","params","urlParams","method","data","cache","ttl","isLocal","auto","loader","options","updateType","onRequestError","onRequestSuccess","onRequestComplete","onRequestStart","debug","ajax","transformData","transformResponse"],S=a()(p,I),O=u()(p,I);if((0,n.useImperativeHandle)(e,()=>({isLoading:d,isComplete:h,data:v,requestParams:b,error:m,send:w,refresh:x,reload:j,loadMore:E,setData:A})),d)return void 0===s?_.loading:s;if(m){const t=void 0===l?_.error:l;return"function"===typeof t?t(m):t}if(!h&&!v)return null;if("function"===typeof c?c(v,b):!v)return void 0===f?_.empty:f;if(r){const t=r;return o().createElement(t,g({},S,{fetchProps:O,isComplete:h,data:v,refresh:x,reload:j,setData:A,loadMore:E,send:w,requestParams:b}))}if(i)return i(g({},S,{fetchProps:O,isComplete:h,data:v,refresh:x,reload:j,setData:A,loadMore:E,send:w,requestParams:b}));throw new Error("\u8bf7\u4f20\u5165component\u53c2\u6570\u6216\u8005render\u53c2\u6570")}),P=t=>(0,n.forwardRef)((e,r)=>o().createElement(U,g({},e,{component:t,ref:r}))),M=t=>e=>{const r=P(e);return(0,n.forwardRef)((e,n)=>o().createElement(r,g({},f()({},t,e),{ref:n})))},T=["onRequestParamsChange","onRequestDataChange","onError","onIsCompleteChange","onIsLoadingChange"],N=t=>{const e=Object.assign({},t,{options:Object.assign({},null==t?void 0:t.options)},{type:"refresh",ignoreSuccessState:!0}),{onRequestParamsChange:r,onRequestDataChange:n,onError:o,onIsCompleteChange:i,onIsLoadingChange:a}=e,s=y(e,T);return C({getProps:()=>s,getRequestToken:()=>B(s),requestParams:{},setRequestParams:function(){return r&&r(...arguments)},setFetchData:function(){return n&&n(...arguments)},setError:function(){return o&&o(...arguments)},setIsComplete:function(){return i&&i(...arguments)},setIsLoading:function(){return a&&a(...arguments)}})({}).then(t=>{let{outputStack:e}=t;return e["transform-response"]})}},64755(t,e,r){var n=r(56251),o=r(51480)(function(t,e,r){n(t,e,r)});t.exports=o},65472(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},65610(t,e,r){var n=r(55949);t.exports=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return-1}},67016(t,e,r){var n=r(80406),o=r(9104),i=r(62257);t.exports=function(t){return i(t)?n(t,!0):o(t)}},67574(t,e,r){var n=r(18710),o=r(42947),i=r(9517),a=r(20907);t.exports=function(t,e){return n(t)?t:o(t,e)?[t]:i(a(t))}},68103(t,e,r){var n=r(16303),o=r(46484),i=r(98677),a=i&&i.isSet,s=a?o(a):n;t.exports=s},69810(t){var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},70633(t,e,r){var n=r(88628),o=r(93179),i=r(49723);t.exports=function(t){return n(t,i,o)}},73075(t,e,r){var n=r(20250);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,t.exports=o},74018(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(r){}try{return t+""}catch(r){}}return""}},74406(t,e,r){var n=r(98959),o=r(98554),i=r(13605),a=r(59744),s=r(84582),u=r(99635),c=r(74018),f="[object Map]",l="[object Promise]",p="[object Set]",d="[object WeakMap]",h="[object DataView]",g=c(n),y=c(o),v=c(i),b=c(a),m=c(s),w=u;(n&&w(new n(new ArrayBuffer(1)))!=h||o&&w(new o)!=f||i&&w(i.resolve())!=l||a&&w(new a)!=p||s&&w(new s)!=d)&&(w=function(t){var e=u(t),r="[object Object]"==e?t.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return h;case y:return f;case v:return l;case b:return p;case m:return d}return e}),t.exports=w},74807(t,e,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n},76003(t){t.exports=function(t){return null!=t&&"object"==typeof t}},76779(t,e,r){var n=r(84059),o=r(87796),i=r(55045),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:i;t.exports=a},78514(t,e,r){var n=r(67574),o=r(92679),i=r(534),a=r(12408),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=-1,u=(e=n(e,t)).length;if(!u)return!0;for(var c=null==t||"object"!==typeof t&&"function"!==typeof t;++r<u;){var f=e[r];if("string"===typeof f){if("__proto__"===f&&!s.call(t,"__proto__"))return!1;if("constructor"===f&&r+1<u&&"string"===typeof e[r+1]&&"prototype"===e[r+1]){if(c&&0===r)continue;return!1}}}var l=i(t,e);return null==l||delete l[a(o(e))]}},79734(t){t.exports=function(t,e){return function(r){return t(e(r))}}},80175(t,e,r){var n=r(47352),o=r(67016);t.exports=function(t){return n(t,o(t))}},80251(t){t.exports=function(t,e){return null==t?void 0:t[e]}},80338(t,e,r){var n=r(88628),o=r(360),i=r(67016);t.exports=function(t){return n(t,i,o)}},80406(t,e,r){var n=r(98745),o=r(2387),i=r(18710),a=r(57517),s=r(62976),u=r(45370),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var r=i(t),f=!r&&o(t),l=!r&&!f&&a(t),p=!r&&!f&&!l&&u(t),d=r||f||l||p,h=d?n(t.length,String):[],g=h.length;for(var y in t)!e&&!c.call(t,y)||d&&("length"==y||l&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g))||h.push(y);return h}},80715(t,e,r){var n=r(67574),o=r(2387),i=r(18710),a=r(62976),s=r(16299),u=r(12408);t.exports=function(t,e,r){for(var c=-1,f=(e=n(e,t)).length,l=!1;++c<f;){var p=u(e[c]);if(!(l=null!=t&&r(t,p)))break;t=t[p]}return l||++c!=f?l:!!(f=null==t?0:t.length)&&s(f)&&a(p,f)&&(i(t)||o(t))}},80951(t,e,r){var n=r(41987),o=r(90951),i=r(67574);t.exports=function(t,e,r){for(var a=-1,s=e.length,u={};++a<s;){var c=e[a],f=n(t,c);r(f,c)&&o(u,i(c,t),f)}return u}},81051(t,e,r){var n=r(99635),o=r(76003);t.exports=function(t){return o(t)&&"[object Arguments]"==n(t)}},81633(t,e,r){var n=r(10427)(Object,"create");t.exports=n},83103(t,e,r){var n=r(16593),o=r(5186),i=r(41436);t.exports=function(t){return i(o(t,void 0,n),t+"")}},83463(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r<n;){var a=t[r];e(a,r,t)&&(i[o++]=a)}return i}},83689(t,e,r){var n=r(74406),o=r(76003);t.exports=function(t){return o(t)&&"[object Map]"==n(t)}},83980(t,e,r){var n=r(92060);t.exports=function(t){return n(this,t).has(t)}},84059(t){t.exports=function(t){return function(){return t}}},84202(t,e,r){var n=r(49266),o=r(2387),i=r(18710),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},84582(t,e,r){var n=r(10427)(r(36382),"WeakMap");t.exports=n},85030(t){t.exports=function(t){return this.__data__.has(t)}},85106(t){t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},85436(t,e,r){var n=r(92060);t.exports=function(t,e){var r=n(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}},86654(t,e,r){var n=r(96817),o=r(55949),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,r){var a=t[e];i.call(t,e)&&o(a,r)&&(void 0!==r||e in t)||n(t,e,r)}},87210(t,e,r){var n=r(13993),o=r(11585),i=r(95656),a=r(59292),s=r(7820);function u(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,t.exports=u},87548(t,e,r){var n=r(65610);t.exports=function(t){return n(this.__data__,t)>-1}},87796(t,e,r){var n=r(10427),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},88628(t,e,r){var n=r(96537),o=r(18710);t.exports=function(t,e,r){var i=e(t);return o(t)?i:n(i,r(t))}},88992(t){t.exports=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}},89620(t){t.exports=function(t,e){return null!=t&&e in Object(t)}},89719(t,e,r){var n=r(50878),o=function(){var t=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},90931(t,e,r){var n=r(99635),o=r(76003);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},90951(t,e,r){var n=r(86654),o=r(67574),i=r(62976),a=r(2316),s=r(12408);t.exports=function(t,e,r,u){if(!a(t))return t;for(var c=-1,f=(e=o(e,t)).length,l=f-1,p=t;null!=p&&++c<f;){var d=s(e[c]),h=r;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(c!=l){var g=p[d];void 0===(h=u?u(g,d,p):void 0)&&(h=a(g)?g:i(e[c+1])?[]:{})}n(p,d,h),p=p[d]}return t}},91959(t){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}},91996(t,e,r){var n=r(11747),o=r(14547),i=r(69810);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:n(o(t))}},92056(t,e,r){var n=r(92060);t.exports=function(t){return n(this,t).get(t)}},92060(t,e,r){var n=r(37147);t.exports=function(t,e){var r=t.__data__;return n(e)?r["string"==typeof e?"string":"hash"]:r.map}},92679(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},93179(t,e,r){var n=r(83463),o=r(49578),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),n(a(t),function(e){return i.call(t,e)}))}:o;t.exports=s},93541(t,e,r){var n=r(30634),o=r(19883),i=r(35720),a=r(12418),s=r(91996),u=r(2387),c=r(18710),f=r(25790),l=r(57517),p=r(26711),d=r(2316),h=r(14888),g=r(45370),y=r(5131),v=r(80175);t.exports=function(t,e,r,b,m,w,_){var x=y(t,r),j=y(e,r),E=_.get(j);if(E)n(t,r,E);else{var A=w?w(x,j,r+"",t,e,_):void 0,I=void 0===A;if(I){var S=c(j),O=!S&&l(j),C=!S&&!O&&g(j);A=j,S||O||C?c(x)?A=x:f(x)?A=a(x):O?(I=!1,A=o(j,!0)):C?(I=!1,A=i(j,!0)):A=[]:h(j)||u(j)?(A=x,u(x)?A=v(x):d(x)&&!p(x)||(A=s(j))):I=!1}I&&(_.set(j,A),m(A,j,b,w,_),_.delete(j)),n(t,r,A)}}},95656(t,e,r){var n=r(81633),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(e,t)?e[t]:void 0}},96537(t){t.exports=function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}},96817(t,e,r){var n=r(87796);t.exports=function(t,e,r){"__proto__"==e&&n?n(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},96940(t,e,r){var n=r(65610);t.exports=function(t,e){var r=this.__data__,o=n(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}},98554(t,e,r){var n=r(10427)(r(36382),"Map");t.exports=n},98677(t,e,r){t=r.nmd(t);var n=r(74807),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=s},98745(t){t.exports=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}},98959(t,e,r){var n=r(10427)(r(36382),"DataView");t.exports=n},99635(t,e,r){var n=r(49266),o=r(3654),i=r(39789),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}}}]);
2
+ //# sourceMappingURL=351.50e0ca8b.chunk.js.map