@atomicservice/ascf-toolkit 1.0.6-beta.4 → 1.0.7

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 (93) hide show
  1. package/lib/ascf-base/index.d.ts +2 -1
  2. package/lib/ascf-base/index.js +1 -1
  3. package/lib/ascf-common/index.d.ts +2 -0
  4. package/lib/ascf-common/index.js +1 -0
  5. package/lib/ascf-compiler/appjson-loader.js +1 -1
  6. package/lib/ascf-compiler/common/appjson-validator.js +1 -1
  7. package/lib/ascf-compiler/common/ascf-define.js +1 -1
  8. package/lib/ascf-compiler/common/beforeLoaderProcess.js +1 -1
  9. package/lib/ascf-compiler/common/css-runtime-api.js +1 -1
  10. package/lib/ascf-compiler/common/eventHappenHjs.js +1 -1
  11. package/lib/ascf-compiler/common/exp-utils.js +1 -1
  12. package/lib/ascf-compiler/common/hash-sum.js +1 -1
  13. package/lib/ascf-compiler/common/hdc-executor.js +1 -1
  14. package/lib/ascf-compiler/common/hjs-utils.js +1 -1
  15. package/lib/ascf-compiler/common/hxml-validator.js +1 -1
  16. package/lib/ascf-compiler/common/logUndefined.js +1 -1
  17. package/lib/ascf-compiler/common/manifest-handler.js +1 -1
  18. package/lib/ascf-compiler/common/manifest-manager.js +1 -1
  19. package/lib/ascf-compiler/common/merge-tpl-cmps.js +1 -1
  20. package/lib/ascf-compiler/common/packoptions-utils.js +1 -1
  21. package/lib/ascf-compiler/common/quick-generate-subpackage.js +1 -1
  22. package/lib/ascf-compiler/common/utils.js +1 -1
  23. package/lib/ascf-compiler/css-process-loader.js +1 -1
  24. package/lib/ascf-compiler/extract-loader.js +1 -1
  25. package/lib/ascf-compiler/hcss-loader.js +1 -1
  26. package/lib/ascf-compiler/hjs-loader.js +1 -1
  27. package/lib/ascf-compiler/hxml-loader.js +1 -1
  28. package/lib/ascf-compiler/js-parser/parser-babel.js +1 -1
  29. package/lib/ascf-compiler/js-parser/parser-swc.js +1 -1
  30. package/lib/ascf-compiler/js-parser/parser.js +1 -1
  31. package/lib/ascf-compiler/loader-utils.js +1 -1
  32. package/lib/ascf-compiler/path-process-loader.js +1 -1
  33. package/lib/ascf-compiler/plugin/before-loader-plugin.js +1 -1
  34. package/lib/ascf-compiler/plugin/copy-bundle-plugin.js +1 -1
  35. package/lib/ascf-compiler/plugin/dynamic-entry-plugin.js +1 -1
  36. package/lib/ascf-compiler/plugin/extConfig-plugin.js +1 -1
  37. package/lib/ascf-compiler/plugin/html-generator-plugin.js +1 -1
  38. package/lib/ascf-compiler/plugin/i18n-transform-plugin.js +1 -1
  39. package/lib/ascf-compiler/plugin/manifest-generator-plugin.js +1 -1
  40. package/lib/ascf-compiler/plugin/quick-service-build-plugin.js +1 -1
  41. package/lib/ascf-compiler/plugin/replace-module-id-plugin.js +1 -1
  42. package/lib/ascf-compiler/plugin/resource-plugin.js +1 -1
  43. package/lib/ascf-compiler/plugin/webpack-target/index.js +1 -1
  44. package/lib/ascf-compiler/plugin/webpack-target/jsonpChunkLoadingRuntimeModule.js +1 -1
  45. package/lib/ascf-compiler/plugin/webpack-target/jsonpHelpers.js +1 -1
  46. package/lib/ascf-compiler/plugin/webpack-target/jsonpTemplatePlugin.js +1 -1
  47. package/lib/ascf-compiler/require-loader.js +1 -1
  48. package/lib/ascf-compiler/server/dev-server.js +1 -1
  49. package/lib/ascf-compiler/server/port-manager.js +1 -1
  50. package/lib/ascf-compiler/swc-loader.js +1 -1
  51. package/lib/ascf-compiler/template/attr-utils.js +1 -1
  52. package/lib/ascf-compiler/template/implicit-model-config.js +1 -1
  53. package/lib/ascf-compiler/template/node-name-utils.js +1 -1
  54. package/lib/ascf-compiler/trustlist-hxml-verify-loader.js +1 -1
  55. package/lib/ascf-compiler/trustlist-js-verify-loader.js +1 -1
  56. package/lib/ascf-compiler/trustlist-verify/config.js +1 -1
  57. package/lib/ascf-compiler/trustlist-verify/utils.js +1 -1
  58. package/lib/ascf-compiler/trustlist-verify/verify-ignore-files.js +1 -1
  59. package/lib/ascf-compiler/vue-compiler/vue.bundle.js +1 -1
  60. package/lib/ascf-compiler/web.webpack.config.js +1 -1
  61. package/lib/ascf-converter/common/commonConfig.js +1 -1
  62. package/lib/ascf-converter/common/commonUtils.js +1 -1
  63. package/lib/ascf-converter/common/path-validator.js +1 -1
  64. package/lib/ascf-converter/common/textDocument.js +1 -1
  65. package/lib/ascf-converter/compiler-utils/parse5.bundle.js +1 -1
  66. package/lib/ascf-converter/convertManager.js +1 -1
  67. package/lib/ascf-converter/features/converter.js +1 -1
  68. package/lib/ascf-converter/features/fileHandle.js +1 -1
  69. package/lib/ascf-converter/features/transformReport.js +1 -1
  70. package/lib/ascf-converter/lib/apiadapter4alipay.js +1 -1
  71. package/lib/ascf-converter/parse/babelParser.js +1 -1
  72. package/lib/ascf-converter/parse/importVisitor.js +1 -1
  73. package/lib/ascf-converter/parse/wxssParser.js +1 -1
  74. package/lib/ascf-converter/report/js/index.js +1 -1
  75. package/lib/ascf-sign-tools/cli.js +1 -1
  76. package/lib/ascf-sign-tools/index.js +1 -1
  77. package/lib/bin/ascf.js +1 -1
  78. package/lib/commands/ascfbuild/index.js +1 -1
  79. package/lib/commands/build-npm/index.js +1 -1
  80. package/lib/commands/compile.js +1 -1
  81. package/lib/commands/convert.js +1 -1
  82. package/lib/commands/debugger/index.js +1 -1
  83. package/lib/commands/quickservice/index.js +1 -1
  84. package/lib/common/config.js +1 -1
  85. package/lib/common/constants.js +1 -1
  86. package/lib/common/log4js.js +1 -1
  87. package/lib/common/logger-plugin.js +1 -1
  88. package/lib/common/remove-strict-mode-plugin.js +1 -1
  89. package/lib/common/string-utils.js +1 -1
  90. package/lib/common/utils.js +1 -1
  91. package/lib/common/version-check.js +1 -1
  92. package/lib/index.js +1 -1
  93. package/package.json +11 -15
@@ -1 +1 @@
1
- var _0x4d3e84=_0x426a;function ownKeys(r,e){var n,t=_0x426a,a=Object.keys(r);return Object[t(505)]&&(n=Object.getOwnPropertySymbols(r),e&&(n=n[t(828)](function(e){return Object[t(583)](r,e).enumerable})),a.push[t(955)](a,n)),a}function _objectSpread(r){for(var e=_0x426a,n=1;n<arguments[e(624)];n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0)[e(702)](function(e){_defineProperty(r,e,t[e])}):Object.getOwnPropertyDescriptors?Object[e(812)](r,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t))[e(702)](function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))})}return r}function _defineProperty(e,r,n){var t=_0x426a;return(r=_toPropertyKey(r))in e?Object[t(817)](e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function _classCallCheck(e,r){var n=_0x426a;if(!(e instanceof r))throw new TypeError(n(350))}function _defineProperties(e,r){for(var n=_0x426a,t=0;t<r.length;t++){var a=r[t];a.enumerable=a[n(372)]||!1,a[n(613)]=!0,n(681)in a&&(a[n(693)]=!0),Object[n(817)](e,_toPropertyKey(a[n(343)]),a)}}function _createClass(e,r,n){var t=_0x426a;return r&&_defineProperties(e[t(714)],r),n&&_defineProperties(e,n),Object[t(817)](e,t(714),{writable:!1}),e}function _toPropertyKey(e){var r=_0x426a,e=_toPrimitive(e,r(561));return r(467)==_typeof(e)?e:e+""}function _toPrimitive(e,r){var n=_0x426a;if("object"!=_typeof(e)||!e)return e;var t=e[Symbol[n(430)]];if(void 0===t)return("string"===r?String:Number)(e);t=t.call(e,r||n(788));if("object"!=_typeof(t))return t;throw new TypeError(n(419))}function _createForOfIteratorHelper(e,r){var n,t,a,i,o=_0x426a,s=o(861)!=typeof Symbol&&e[Symbol[o(360)]]||e[o(674)];if(s)return a=!(t=!0),{s:function(){s=s[o(517)](e)},n:function(){var e=o,r=s.next();return t=r[e(538)],r},e:function(e){a=!0,n=e},f:function(){var e=o;try{t||null==s[e(577)]||s[e(577)]()}finally{if(a)throw n}}};if(Array[o(446)](e)||(s=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e[o(624)])return s&&(e=s),i=0,{s:r=function(){},n:function(){return i>=e[o(624)]?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r};throw new TypeError(o(367))}function _unsupportedIterableToArray(e,r){var n,t=_0x426a;if(e)return t(561)==typeof e?_arrayLikeToArray(e,r):(n={}[t(723)][t(517)](e)[t(740)](8,-1),t(416)===n&&e[t(548)]&&(n=e[t(548)][t(825)]),t(884)===n||"Set"===n?Array.from(e):t(860)===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,r):void 0)}function _arrayLikeToArray(e,r){(null==r||r>e[_0x426a(624)])&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}function _typeof(e){var n=_0x426a;return(_typeof=n(950)==typeof Symbol&&n(467)==typeof Symbol[n(360)]?function(e){return typeof e}:function(e){var r=n;return e&&r(950)==typeof Symbol&&e.constructor===Symbol&&e!==Symbol[r(714)]?r(467):typeof e})(e)}function _regenerator(){var g,_=_0x426a,e=_(950)==typeof Symbol?Symbol:{},r=e[_(360)]||"@@iterator",n=e[_(810)]||_(647);function t(e,r,n,t){var a,i,o,s,c,u,f,l,v,h=_,r=r&&r[h(714)]instanceof y?r:y,r=Object.create(r[h(714)]);return _regeneratorDefine2(r,"_invoke",(a=e,i=n,f=t||[],l=!1,v={p:u=0,n:0,v:g,a:p,f:p.bind(g,4),d:function(e,r){return o=e,s=0,c=g,v.n=r,d}},function(e,r,n){var t=_0x426a;if(1<u)throw TypeError("Generator is already running");for(l&&1===r&&p(r,n),s=r,c=n;(m=s<2?g:c)||!l;){o||(s?s<3?(1<s&&(v.n=-1),p(s,c)):v.n=c:v.v=c);try{if(u=2,o){if(s||(e=t(782)),m=o[e]){if(!(m=m.call(o,c)))throw TypeError(t(315));if(!m[t(538)])return m;c=m[t(681)],s<2&&(s=0)}else 1===s&&(m=o[t(577)])&&m.call(o),s<2&&(c=TypeError(t(559)+e+t(728)),s=1);o=g}else if((m=(l=v.n<0)?c:a[t(517)](i,v))!==d)break}catch(e){o=g,s=1,c=e}finally{u=1}}return{value:m,done:l}}),!0),r;function p(e,r){var n=_0x426a;for(s=e,c=r,m=0;!l&&u&&!t&&m<f[n(624)];m++){var t,a=f[m],i=v.p,o=a[2];3<e?(t=o===r)&&(c=a[(s=a[4])?5:s=3],a[4]=a[5]=g):a[0]<=i&&((t=e<2&&i<a[1])?(s=0,v.v=r,v.n=a[1]):i<o&&(t=e<3||a[0]>r||o<r)&&(a[4]=e,a[5]=r,v.n=o,s=0))}if(t||1<e)return d;throw l=!0,r}}var d={};function y(){}function a(){}function i(){}var m=Object.getPrototypeOf,e=[][r]?m(m([][r]())):(_regeneratorDefine2(m={},r,function(){return this}),m),o=i[_(714)]=y.prototype=Object.create(e);function s(e){var r=_;return Object[r(656)]?Object[r(656)](e,i):(e[r(525)]=i,_regeneratorDefine2(e,n,"GeneratorFunction")),e[r(714)]=Object[r(762)](o),e}return a[_(714)]=i,_regeneratorDefine2(o,"constructor",i),_regeneratorDefine2(i,"constructor",a),a[_(539)]=_(449),_regeneratorDefine2(i,n,"GeneratorFunction"),_regeneratorDefine2(o),_regeneratorDefine2(o,n,_(650)),_regeneratorDefine2(o,r,function(){return this}),_regeneratorDefine2(o,_(723),function(){return _(619)}),(_regenerator=function(){return{w:t,m:s}})()}function _regeneratorDefine2(e,r,n,t){var i=_0x426a,o=Object[i(817)];try{o({},"",{})}catch(e){o=0}(_regeneratorDefine2=function(e,r,n,t){var a=i;r?o?o(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:((t=function(r,n){_regeneratorDefine2(e,r,function(e){return this[_0x426a(928)](r,n,e)})})(a(782),0),t(a(423),1),t(a(577),2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,a,i,o){var s=_0x426a;try{var c=e[i](o),u=c[s(681)]}catch(e){return void n(e)}c[s(538)]?r(u):Promise[s(726)](u)[s(904)](t,a)}function _asyncToGenerator(c){return function(){var e=this,s=arguments;return new Promise(function(r,n){var t=_0x426a,a=c[t(955)](e,s);function i(e){asyncGeneratorStep(a,r,n,i,o,t(782),e)}function o(e){asyncGeneratorStep(a,r,n,i,o,t(423),e)}i(void 0)})}}(()=>{for(var e=_0x426a,r=_0x39c8();;)try{if(147260==-parseInt(e(691))+parseInt(e(522))/2*(-parseInt(e(635))/3)+-parseInt(e(644))/4+-parseInt(e(492))/5*(parseInt(e(549))/6)+parseInt(e(566))/7+-parseInt(e(906))/8*(parseInt(e(395))/9)+parseInt(e(736))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var b=function(e,r){return function(){return r||e((r={exports:{}})[_0x426a(530)],r),r.exports}},J=b(function(e,r){var n,t,a=_0x426a,i=a(743),o="crossAtomicService";r[a(530)]={MAX_SIZE_SSPK:2097152,MAX_SIZE_SPK:20971520,SIGN_MAGIC:"RPK Sig Block 42",SIGN_MAGIC_APK:a(663),SIGN_TYPE_FULL_PACKAGE:16777473,SIGN_TYPE_FULL_PACKAGE_APK:1896449818,SIGN_TYPE_FILE_LIST:16777729,CRYPT_TYPE_RSA_SHA256:259,SIGN_HEADER:[48,49,48,13,6,9,96,134,72,1,101,3,4,2,1,5,0,4,32],BEGIN_TAG:165,JOINT_TAG:90,CERT_HEAD:"-----BEGIN CERTIFICATE-----\n",CERT_END:"\n-----END CERTIFICATE-----",setSignType:function(e){return i=e},isApkSign:function(){return i===a(550)},setDssHost:function(e){return n=e},setDssKey:function(e){return t=e},setDssKeyId:function(e){return o=e},getDssHost:function(){return n},getDssKey:function(){return t},getDssKeyId:function(){return o},setDssConfig:function(e){var r=a;n=e[r(527)],t=e[r(924)]}}}),Ce=b(function(e,r){var n=_0x426a,l=J(),v=22,h=67324752,p=33639248,g=101010256,_=16;r[n(530)]={parserZip:function(e,r){var n,t,a,i,o,s,c,u=_0x426a,f={tag:!1,length:e.length,sections:{header:null,central:null,footer:null}};return f[u(940)].footer=(e=>{var r=_0x426a,n={tag:!1};if(e&&!(e[r(624)]<v))for(var t=e[r(624)]-v;0<=t;t--)if(g===e[r(469)](t)){n.tag=!0,n[r(759)]=t,n[r(791)]=e[r(624)]-t,n[r(657)]=e.readInt32LE(t+_);break}return n})(e),f[u(940)][u(711)][u(593)]&&(f[u(940)][u(336)]=(a=e,i=f[u(940)][u(711)][u(657)],o=f[u(940)][u(711)][u(759)]-f.sections.footer[u(657)],s=_0x426a,c={tag:!1},!a||a[s(624)]<i||p===a[s(469)](i)&&(c[s(593)]=!0,c[s(759)]=i,c.len=o,c[s(657)]=a[s(469)](i+42)),c),f.sections[u(336)][u(593)])&&(o=f[u(940)].central[u(657)],a=f[u(940)][u(336)][u(759)]-f.sections[u(336)].previous,r&&(f.sections[u(307)]=(s=o,i=_0x426a,c={tag:!1},!(r=e)||r[i(624)]<s||(s=l[i(757)]()?l[i(730)]:l[i(556)],0<(s=r[i(949)](s))&&(n=r.readInt32LE(s-8),t=s+16-n-8,r.readInt32LE(t)===n)&&(c.tag=!0,c[i(791)]=n,c.startIndex=s+16,c[i(657)]=t)),c),o=0,a=f[u(940)].sign[u(759)]-f[u(940)][u(307)][u(791)]-8),f.sections[u(614)]=(r=o,n=a,s=_0x426a,i={tag:!1},!(t=e)||t[s(624)]<r||h===t[s(469)](r)&&(i.tag=!0,i[s(759)]=r,i[s(791)]=n,i[s(657)]=-1),i),f[u(940)][u(614)].tag&&(f.tag=!0)),f},checkZipBuffer:function(e,r){var n=_0x426a;return!e||e.length<=4?(console[n(420)](n(917),r),!1):h===e[n(469)](0)||(console.log("### Sign Failed, zip file error: ",r),!1)}}}),rt=b(function(e,r){var c,u=_0x426a,t={};t[u(756)]=function(e){var r=u;if(void 0===c){var n=r(857);for(c=[],o=0;o<64;++o)c[r(515)[r(798)](o)]=o;for(o=0;o<n[r(624)];++o)c[n[r(798)](o)]=-1}for(var t=[],a=0,i=0,o=0;o<e[r(624)];++o){var s=e[r(798)](o);if("="===s)break;if(-1!==(s=c[s])){if(void 0===s)throw"Illegal character at offset "+o;a|=s,4<=++i?(t[t.length]=a>>16,t[t[r(624)]]=a>>8&255,t[t[r(624)]]=255&a,i=a=0):a<<=6}}switch(i){case 1:throw r(933);case 2:t[t[r(624)]]=a>>10;break;case 3:t[t[r(624)]]=a>>16,t[t[r(624)]]=a>>8&255}return t},t.re=/-----BEGIN [^-]+-----([A-Za-z\d+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z\d+\/=\s]+)====/,t.unarmor=function(e){var r=u,n=t.re[r(658)](e);if(n)if(n[1])e=n[1];else{if(!n[2])throw r(617);e=n[2]}return t.decode(e)},r[u(530)]=t}),it=b(function(e,r){var u,f=_0x426a,n={};n[f(756)]=function(e){var r=f;if(void 0===u){var n=r(312),t=r(595);for(u=[],s=0;s<16;++s)u[n.charAt(s)]=s;for(n=n[r(800)](),s=10;s<16;++s)u[n[r(798)](s)]=s;for(s=0;s<t[r(624)];++s)u[t[r(798)](s)]=-1}for(var a=[],i=0,o=0,s=0;s<e[r(624)];++s){var c=e.charAt(s);if("="===c)break;if(-1!==(c=u[c])){if(void 0===c)throw"Illegal character at offset "+s;i|=c,2<=++o?(a[a[r(624)]]=i,o=i=0):i<<=4}}if(o)throw r(535);return a},r[f(530)]=n}),ct=b(function(e,r){var o=_0x426a,n={};n[o(497)]=function(e,r){var n,t=o;void 0===r&&(r=0);r^=-1;for(var a=0,i=e[t(624)];a<i;a++)n=255&(r^e[t(786)](a)),r=r>>>8^"0x"+"00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D"[t(875)](9*n,8);return-1^r},r[o(530)]=n}),Ae=b(function(e,r){var n=rt(),t=it(),a=ct();r.exports={Base64:n,Hex:t,CRC32:a}}),be=b(function(e,r){var u=_0x426a,f=require(u(608)),l=require(u(352)),v=J(),h=require(u(339))[u(849)];var p={"Content-Type":u(485)};function i(e){var r,n,t,i=u,o={version:"1",payload:h(e),paddingMode:"1"},e=(new Date).getTime(),a=i(842),s=(p[a]=(a=o,r=u,n=(new Date)[r(426)](),a=r(716)+new URL(v.getDssHost()).pathname+"&&"+JSON[r(795)](a)+"&appid="+v[r(585)]()+r(472)+n,t=v[r(386)](),t=f[r(521)]("sha256",t)[r(638)](a)[r(497)]("base64"),r(326)[r(941)](v[r(585)](),r(311))[r(941)](n,r(803))[r(941)](t,'"')),p["X-Request-ID"]=e,new URL(v[i(660)]())),c=s[i(931)];return new Promise(function(t){var a=i,e=l[a(641)]({host:s[a(494)],port:8108,method:a(491),path:c,headers:p},function(e){var r=a,n="";e.on(r(362),function(e){n+=e}),e.on("end",function(){t(JSON[r(692)](n))})});e.on("error",function(e){var r=a;console[r(322)](r(833).concat(e[r(599)]))}),e[a(808)](JSON[a(795)](o)),e[a(434)]()})}function a(e){return n[u(955)](this,arguments)}function n(){var e=u;return(n=_asyncToGenerator(_regenerator().m(function e(n){var t,a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,i(n);case 1:return t=e.v,console[r(420)](t),a={},e.a(2,(t&&0===t.status?(a[r(856)]=t.result.cert,a[r(402)]=t[r(820)][r(402)]):console.error(r(346)+(t?t[r(820)][r(574)]:"")),a))}},e)})))[e(955)](this,arguments)}function o(e){var r,n=u;if(e)return r=(e=e[n(797)](/-/g,"+")[n(797)](/_/g,"/")).length%4,e+n(680)[n(779)](0,r)}function t(){var e=u;return(t=_asyncToGenerator(_regenerator().m(function e(n){var t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return v[r(486)](n),e.n=1,a(r(913));case 1:return t=e.v,t=o(t[r(856)])[r(797)](/(.{64})/g,r(555)),e.a(2,v.CERT_HEAD+t+v[r(662)])}},e)})))[e(955)](this,arguments)}r.exports={getSignDigestOnline:a,Base64UrlToBase64:o,setOnlineParam:function(e,r){var n=u;v[n(610)](e),v[n(500)](r)},generateCertificate:function(e){return t[u(955)](this,arguments)}}}),ve=b(function(e,r){var k=_0x426a,D=J(),p=Ce(),n=require(k(339)),t=n[k(498)],g=n[k(885)],c=require(k(352)),a=require("fs"),_=require(k(608)),o=Ae(),d=be(),u="Rsagen",f=k(679),l="Normal",v=k(438),h=k(439);function y(e,r){var n=k,t=r[n(759)],a=r[n(759)]+r[n(791)],e=e[n(740)](t,a),t=Buffer[n(407)](5+r.len);t[0]=D[n(778)],t[n(455)](e[n(624)],1),e[n(876)](t,5),r[n(307)]=P(t)}function m(e){var r=k;function n(e){e.copy(a,i),i+=e.length}var e=e[r(940)],t=e[r(614)][r(307)][r(624)]+e[r(336)].sign.length+e.footer[r(307)][r(624)]+5,a=Buffer[r(407)](t),i=0;return a[r(819)](D.JOINT_TAG,0),a.writeInt32LE(3,1),i+=5,n(e[r(614)][r(307)]),n(e.central[r(307)]),n(e[r(711)][r(307)]),P(a)}function b(e,r){var n=k,i={keyId:r[n(732)],clientType:u,clientVersion:f,algorithmType:l,userName:r[n(834)],unSignData:t(e),passwordDigest:r[n(646)],algorithm:v,outFileNameArray:[h],encryptPassword:r.encryptPassword},o=new URL(r[n(699)]),s=o.pathname;return new Promise(function(t){var a=n,e=c[a(641)]({host:o[a(494)],method:a(491),path:s,headers:{"Content-Type":a(485)}},function(e){var r=a,n="";e.on(r(362),function(e){n+=e}),e.on(r(434),function(){t(JSON[r(692)](n))})});e.on(a(322),function(e){var r=a;console[r(322)](r(689)[r(941)](e[r(599)]))}),e[a(808)](JSON.stringify(i)),e.end()})}function w(e){var r=k,n=Buffer.from(D[r(383)]),e=P(e),t=Buffer[r(407)](e.length+n[r(624)]),a=0;return n[r(876)](t,0),a+=n[r(624)],e[r(876)](t,a),t}function E(e){var r=k,n=Buffer[r(407)](e.length+12);return n.writeInt32LE(e[r(624)]+8,0),n[r(455)](D[r(609)],4),n.writeInt32LE(e.length,8),e[r(876)](n,12),{len:n[r(624)],buffer:n}}function A(e,r){var n=k,t={len:12,digests:{size:0,data:[]},certs:{size:0,data:[]},additional:0};return t[n(629)][n(362)].push(e),t[n(629)][n(911)]+=e[n(791)],t[n(791)]+=e[n(791)],t[n(838)].data[n(804)](r),t[n(838)].size+=r[n(791)],t[n(791)]+=r[n(791)],t}function C(){var e=k;return(C=_asyncToGenerator(_regenerator().m(function e(n,t){var a,i,o,s,c;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if((a={len:16+t[r(856)][r(324)][r(624)],size:12+t[r(856)][r(324)][r(624)],signdata:{size:0,buffer:null},signatures:{size:0,data:[]},pubkey:{size:t[r(856)][r(324)][r(624)],buffer:t[r(856)][r(324)]}})[r(508)][r(652)]=x(n),a.signdata[r(911)]=n[r(791)],a[r(911)]+=n[r(791)],a[r(791)]+=n.len,D[r(757)]())return e.n=1,d[r(603)](a[r(508)].buffer);e.n=2;break;case 1:i=e.v,i=Buffer[r(627)](g[r(342)](i.signature)),e.n=8;break;case 2:if("dss"===t[r(670)])return e.n=3,d.getSignDigestOnline(a[r(508)].buffer);e.n=4;break;case 3:o=e.v,i=Buffer[r(627)](g.toUint8Array(o[r(402)])),e.n=8;break;case 4:if(t[r(923)])return o=w(a[r(508)][r(652)]),e.n=5,b(o,t[r(306)]);e.n=7;break;case 5:if((s=e.v)[r(457)]){e.n=6;break}throw new Error(s[r(599)]);case 6:i=Buffer[r(627)](g[r(342)](s[r(362)][r(439)])),e.n=8;break;case 7:(c=_[r(400)](r(371)))[r(638)](a[r(508)].buffer),i=c[r(307)](t[r(366)]);case 8:return c={len:i.length+12,size:i.length+8,id:D[r(609)],buffer:i},e.a(2,(a[r(504)][r(362)].push(c),a.signatures[r(911)]+=c[r(791)],a[r(911)]+=c.len,a[r(791)]+=c[r(791)],a))}},e)})))[e(955)](this,arguments)}function B(){var e=k;return(B=_asyncToGenerator(_regenerator().m(function e(n,t,a){var i,o,s;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if((i={len:4+t[r(791)],size:t[r(791)],data:[]})[r(362)][r(804)](t),o=D[r(757)]()?D[r(510)]:D[r(391)],o={len:i[r(791)]+12,size:i[r(791)]+4,id:o,value:i},(i={len:32+o[r(791)],size:24+o[r(791)],data:[]})[r(362)][r(804)](o),n[r(780)]&&!D[r(757)]())return e.n=1,function(){return F[k(955)](this,arguments)}(n.files,a);e.n=2;break;case 1:(o=e.v)&&((s={len:4+o[r(624)],size:o[r(624)],data:[]})[r(362)][r(804)](o),s={len:s.len+12,size:s.len+4,id:D[r(317)],value:s},i[r(362)][r(804)](s),i[r(911)]+=s[r(791)],i[r(791)]+=s[r(791)]);case 2:return e.a(2,i)}},e)})))[e(955)](this,arguments)}function x(e){var n=k,t=Buffer[n(407)](e.len),a=0;return t[n(455)](e[n(629)][n(911)],a),a+=4,e.digests[n(362)][n(702)](function(e){var r=n;e[r(652)][r(876)](t,a),a+=e[r(791)]}),t.writeInt32LE(e[n(838)].size,a),a+=4,e[n(838)][n(362)][n(702)](function(e){var r=n;e[r(652)][r(876)](t,a),a+=e[r(791)]}),t[n(455)](e[n(783)],a),t}function S(e){var i={len:8,size:4,digests:[],sign:null};return e.forEach(function(e){var r=_0x426a,n=o[r(460)][r(497)](e[r(825)][r(723)]()),t=6+e[r(773)].length,a=Buffer.alloc(t);a.writeInt32LE(n,0),a.writeInt16LE(e[r(773)][r(624)],4),e.hash[r(876)](a,6),i[r(629)][r(804)](a),i[r(911)]+=t,i[r(791)]+=t}),i}function F(){var e=k;return(F=_asyncToGenerator(_regenerator().m(function e(o,s){var c,u,f,l,v,h,p;return _regenerator().w(function(e){for(var r,n,t,a,i=_0x426a;;)switch(e.n){case 0:c=S(o),u=Buffer.alloc(c.size),f=0,c[i(629)][i(702)](function(e){var r=i;e[r(876)](u,f),f+=e[r(624)]}),s[i(307)]?(console.log(i(784)),l=s[i(307)],e.n=7):e.n=1;break;case 1:if(s.type===i(424))return e.n=2,d[i(603)](u);e.n=3;break;case 2:v=e.v,l=Buffer[i(627)](g[i(342)](v[i(402)])),e.n=7;break;case 3:if(s[i(923)])return v=w(u),e.n=4,b(v,s[i(306)]);e.n=6;break;case 4:if((h=e.v).success){e.n=5;break}throw new Error(h[i(599)]);case 5:l=Buffer[i(627)](g[i(342)](h[i(362)].signData)),e.n=7;break;case 6:(p=_.createSign(i(371)))[i(638)](u),l=p[i(307)](s[i(366)]);case 7:return e.a(2,(c[i(629)]=u[i(740)](),c[i(307)]={len:12+l.length,size:8+l[i(624)],id:D[i(609)],data:l},c[i(791)]+=c.sign[i(791)],r=c,a=t=n=void 0,n=k,t=Buffer[n(407)](r[n(791)]),a=0,t[n(455)](r[n(911)],0),a+=4,r[n(629)].copy(t,4),a+=r[n(629)][n(624)],t.writeInt32LE(r[n(307)][n(911)],a),a+=4,t.writeInt32LE(r.sign.id,a),a+=4,t[n(455)](r[n(307)][n(362)][n(624)],a),a+=4,r[n(307)].data[n(876)](t,a),t))}},e)})))[e(955)](this,arguments)}function i(){return(i=_asyncToGenerator(_regenerator().m(function e(c,u,f){var l,v,h;return _regenerator().w(function(e){for(var r,n,t,a,i,o,s=_0x426a;;)switch(e.n){case 0:if(p[s(841)](c)){e.n=1;break}return e.a(2,null);case 1:if((l=p[s(935)](c))[s(519)]={files:u},l.tag){e.n=2;break}return e.a(2,null);case 2:return Object[s(453)](l.sections)[s(702)](function(e){e=l.sections[e];y(c,e)}),v=m(l),v=E(v),v=A(v,f[s(856)].obj),e.n=3,function(){return C[k(955)](this,arguments)}(v,f);case 3:return v=e.v,e.n=4,function(){return B[k(955)](this,arguments)}(l.options,v,f);case 4:return h=e.v,e.a(2,(l[s(626)]=(e=>{var n=k,t=Buffer[n(407)](e[n(791)]),a=0,i=(t[n(455)](e[n(911)],a),a+=4,t.writeInt32LE(0,a),a+=4,D[n(757)]()?D.SIGN_TYPE_FULL_PACKAGE_APK:D[n(391)]),e=(e.data[n(702)](function(e){var r=n;t.writeInt32LE(e.size,a),a+=4,t[r(455)](0,a),a+=4,t.writeInt32LE(e.id,a),a+=4,t[r(455)](e.value[r(911)],a),a+=4,i===e.id?e[r(681)][r(362)].forEach(function(e){var n=r;t[n(455)](e[n(911)],a),a+=4,t[n(455)](e[n(508)][n(911)],a),a+=4,e[n(508)][n(652)][n(876)](t,a),a+=e[n(508)][n(652)][n(624)],t[n(455)](e.signatures.size,a),a+=4,e[n(504)].data[n(702)](function(e){var r=n;t[r(455)](e.size,a),a+=4,t[r(455)](e.id,a),a+=4,t.writeInt32LE(e[r(652)][r(624)],a),a+=4,e[r(652)][r(876)](t,a),a+=e.buffer[r(624)]}),t[n(455)](e[n(926)].size,a),a+=4,e.pubkey[n(652)][n(876)](t,a),a+=e.pubkey.buffer[n(624)]}):D[r(317)]===e.id&&e[r(681)].data[r(702)](function(e){e[r(876)](t,a),a+=e.length})}),t[n(455)](e[n(911)],a),a+=4,t[n(455)](0,a),a+=4,D[n(757)]()?D.SIGN_MAGIC_APK:D.SIGN_MAGIC);return Buffer[n(627)](e)[n(876)](t,a),t})(h),r=c,n=l,o=i=a=t=void 0,t=k,a=Buffer[t(407)](r[t(624)]+n.signchunk[t(624)]),i=0,o=n[t(940)],r[t(876)](a,0,o[t(614)][t(759)],o[t(614)].startIndex+o[t(614)][t(791)]),i+=o.header[t(791)],n[t(626)][t(876)](a,i),i+=n[t(626)].length,r.copy(a,i,o[t(336)][t(759)],o[t(336)][t(759)]+o[t(336)][t(791)]),i+=o[t(336)][t(791)],r[t(455)](o[t(336)].startIndex+n[t(626)][t(624)],o.footer[t(759)]+16),r[t(876)](a,i,o[t(711)][t(759)],o.footer[t(759)]+o[t(711)][t(791)]),a))}},e)}))).apply(this,arguments)}function s(){var e=k;return(s=_asyncToGenerator(_regenerator().m(function e(n,t,a){var i,o;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(p.checkZipBuffer(n)){e.n=1;break}return e.a(2,null);case 1:if((i=p[r(935)](n)).options={files:t},i[r(593)]){e.n=2;break}return e.a(2,null);case 2:return Object[r(453)](i[r(940)])[r(702)](function(e){e=i.sections[e];y(n,e)}),o=m(i),o=E(o),o=A(o,a[r(856)].obj),e.a(2,x(o))}},e)})))[e(955)](this,arguments)}function P(e){var r=k,n=_[r(671)](r(615));return n[r(638)](e),n[r(497)]()}function T(e,r){var n=k,t={};return t.size=e[n(469)](r),r+=4,t[n(652)]=e[n(740)](r,r+t.size),{obj:t,i:r+=t[n(911)]}}r[k(530)]={hashFile:function(e){return P(a[k(444)](e))},signZipResource:function(e,r,n){return i[k(955)](this,arguments)},getBufferSha256:P,getSignChunk:function(e,r){for(var n,t,a,i,o,s,c,u=k,f=(w=r[u(657)]+8)+r[u(791)],l=[],v={},h=(v[u(763)]=[],D[u(757)]()?D[u(510)]:D.SIGN_TYPE_FULL_PACKAGE);w<f;){p=e,o=w,c=s=void 0,(c={})[(s=k)(911)]=p[s(469)](o),o+=8,c.id=p[s(469)](o),o+=4,c.value={},c.value.size=p[s(469)](o),c[s(681)].data=[];var p={data:c,index:o+=4},g=p.data,_=(w=p.index)+g[u(681)].size,d={};if(h===g.id)for(;w<_;){d[u(911)]=e[u(469)](w);var y=T(e,w+=4),m=(d[u(508)]=y[u(914)],w=y.i,v[u(763)].push(d.signdata[u(652)]),d[u(504)]={},d[u(504)][u(911)]=e[u(469)](w),(w+=4)+d.signatures[u(911)]);for(d[u(504)][u(362)]=[];w<m;){b=e,n=w,i=a=t=void 0,(a={})[(t=k)(911)]=b[t(469)](n),n+=4,a.id=b[t(469)](n),n+=4,i=b[t(469)](n),n+=4,a[t(652)]=b[t(740)](n,n+i);var b={sData:a,index:n+=i},w=b[u(686)];d[u(504)].data.push(b[u(744)])}y=T(e,w);d[u(926)]=y.obj,w=y.i,g.value[u(362)][u(804)](d)}else D[u(317)]===g.id&&(d=e[u(740)](w,w+g[u(681)][u(911)]),g[u(681)][u(362)][u(804)](d));l[u(804)](g)}return v[u(362)]=l,v.size=r.size,v},getCertBuffer:function(e){var r,n,t=k;if(e)return e[t(763)]&&0<e[t(763)][t(624)]?(r=(r=0)+(4+e[t(763)][0][t(469)](0))+4,n=e.signDataBufList[0][t(469)](r),r+=4,e=e.signDataBufList[0][t(740)](r,r+n),D[t(364)]+e[t(723)](t(725))+D.CERT_END):void 0;console.error(t(648))},getSignFilesObject:S,getSignData:function(e,r,n){return s[k(955)](this,arguments)}}}),j=b(function(j,e){function a(n,t,a,i){var o=c;if(t&&"object"==_typeof(t)||typeof t==o(950)){var s,r=_createForOfIteratorHelper(R(t));try{for(r.s();!(s=r.n()).done;)(()=>{var e=o,r=s[e(681)];H[e(517)](n,r)||r===a||u(n,r,{get:function(){return t[r]},enumerable:!(i=L(t,r))||i[e(372)]})})()}catch(e){r.e(e)}finally{r.f()}}return n}function r(e,r,n){var t=c;return n=null!=e?N(K(e)):{},a(!r&&e&&e[t(572)]?n:u(n,t(788),{value:e,enumerable:!0}),e)}var n,c=_0x426a,N=Object[c(762)],u=Object.defineProperty,L=Object[c(583)],R=Object.getOwnPropertyNames,K=Object[c(776)],H=Object[c(714)][c(358)],t={},q=t,i={ASCF_LOG_FILE:function(){return z},AscfBuilder:function(){return er},AscfDebugger:function(){return Xe},getDevEcoSdkHome:function(){return re},getHdcPath:function(){return m},getHvigorwPath:function(){return y},getLogger:function(){return h},getNodePath:function(){return $},getNpmPath:function(){return ee},getOhpmPath:function(){return d},getPath:function(){return _},openInBrowser:function(){return ir},setLoggerConfig:function(){return U}};for(n in i)u(q,n,{get:i[n],enumerable:!0});e[c(530)]=(e=t,a(u({},c(572),{value:!0}),e));var s=r(require(c(607))),o=r(require(c(682))),f=r(require(c(618))),M=[c(602),c(374),c(710),c(322),c(734)],l=c(464),z=o[c(726)]((0,f.default)(c(939)),c(894));function U(e){var r,n=c,e=(r=c,(e=e)&&M[r(587)](e[r(800)]())?e[r(800)]():r(374));s[n(916)]({appenders:{default:{type:n(458),layout:{type:"pattern",pattern:n(425)}},"debug-log-file":{type:n(789),filename:o[n(726)]((0,f[n(788)])("ascf-cache"),n(894)),maxLogSize:10485760,backups:9,layout:{type:n(616),pattern:n(474)}}},categories:{default:{appenders:[n(788)],level:e},AscfToolkit:{appenders:[n(345)],level:n(602)}}})}var v,J=_createClass(function e(r){var n=_0x426a;_classCallCheck(this,e),this[n(854)]=r},[{key:(v=c)(602),value:function(e){for(var r=v,n=s[r(387)](this[r(854)]),t=s[r(387)](l),a=arguments[r(624)],i=new Array(1<a?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];n[r(602)][r(955)](n,[e][r(941)](i)),t.debug[r(955)](t,[e].concat(i))}},{key:"info",value:function(e){for(var r=v,n=s[r(387)](this[r(854)]),t=s.getLogger(l),a=arguments[r(624)],i=new Array(1<a?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];n[r(374)][r(955)](n,[e][r(941)](i)),t.info[r(955)](t,[e][r(941)](i))}},{key:"warn",value:function(e){for(var r=v,n=s[r(387)](this[r(854)]),t=s[r(387)](l),a=arguments.length,i=new Array(1<a?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];n[r(710)][r(955)](n,[e][r(941)](i)),t[r(710)][r(955)](t,[e][r(941)](i))}},{key:v(322),value:function(e){for(var r=v,n=s[r(387)](this[r(854)]),t=s[r(387)](l),a=arguments[r(624)],i=new Array(1<a?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];n.error[r(955)](n,[e].concat(i)),t[r(322)][r(955)](t,[e][r(941)](i))}},{key:v(734),value:function(e){for(var r=v,n=s[r(387)](this.categories),t=s[r(387)](l),a=arguments[r(624)],i=new Array(1<a?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];n[r(734)][r(955)](n,[e][r(941)](i)),t.fatal[r(955)](t,[e][r(941)](i))}}]);function h(e){return new J(e)}function p(){return V[c(955)](this,arguments)}function V(){var e=c;return(V=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(;;)switch(e.n){case 0:return e.p=0,e.n=1,r;case 1:return n=e.v,e.a(2,{data:n});case 2:return e.p=2,e.a(2,{err:e.v})}},e,null,[[0,2]])})))[e(955)](this,arguments)}var Y=r(require(c(352)));var Z=require(c(683)),g=r(require("fs")),W=r(require("json5")),X=r(require(c(682))),e=(null==(t=process[c(489)][c(818)]||process[c(489)][c(688)])?void 0:t.split(";")[0][c(802)]())+c(465),t=e||c(701),e=e||c(408),Q=process[c(532)]===c(896)?e:t;function _(){for(var e=c,r=arguments[e(624)],n=new Array(r),t=0;t<r;t++)n[t]=arguments[t];var a=process[e(489)][e(320)],a=a?a+"/../tools/":Q,a=X[e(468)][e(955)](X,[a][e(941)](n));return"win32"===process[e(532)]&&a[e(587)](" ")?'"'[e(941)](a,'"'):a}function $(){var e=c;return _(e(456),process[e(532)]===e(896)?"node.exe":"node")}function ee(){var e=c;return _("node",process.platform===e(896)?e(580):"npm")}function d(){return _(c(753),"bin","ohpm")}function y(){var e=c;return _("hvigor",e(389),e(605))}function re(){var e=c;return _(e(542))[e(797)](/"/g,"")}function m(){var e=c;return _(e(799),"win32"===process.platform?"hdc.exe":e(720))}var b=h(c(720));function ne(e,r,n,t){var a=c,i=(b[a(602)]("begin runCmd",e,null==r?void 0:r.join(" ")),re()),i=(b[a(602)]("DEVECO_SDK_HOME="+i),Object.assign({shell:!0,env:_objectSpread(_objectSpread({},process.env||{}),{},{DEVECO_SDK_HOME:i})},t)),t=(0,Z[a(612)])(e,r,i),o=[],s=[];return t[a(458)].on(a(362),function(e){var r=a,e=e[r(723)]()[r(802)]();b[r(602)](r(512),e),o[r(804)](e)}),t[a(347)].on(a(362),function(e){var r=a,e=e[r(723)]()[r(802)]();b[r(322)](r(687),e),s.push(e)}),t.on("close",function(e){var r=a;0!==e?(e=r(418)[r(941)](e,"."),b[r(322)](e),null!=n&&n(e+r(385)+s.join("\n"))):(e=o.join("\n"),/failed to start ability/[r(678)](e)?null!=n&&n(r(843)):(null!=n&&n(null,e),b[r(602)](r(370))))}),t}function w(){return te[c(955)](this,arguments)}function te(){return(te=_asyncToGenerator(_regenerator().m(function e(r,a,i,o){return _regenerator().w(function(e){for(;;)if(0===e.n)return e.a(2,new Promise(function(n,t){var e=ne(r,a,function(e,r){if(e)return t(e);n(r)},i);null!=o&&o(e)}))},e)}))).apply(this,arguments)}function k(){return ae.apply(this,arguments)}function ae(){var e=c;return(ae=_asyncToGenerator(_regenerator().m(function e(r,n){return _regenerator().w(function(e){for(;;)if(0===e.n)return e.a(2,w(m(),r,n))},e)})))[e(955)](this,arguments)}function ie(){var e=c;return(ie=_asyncToGenerator(_regenerator().m(function e(){var n;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,p(k(["list","targets"]));case 1:return n=e.v,e.a(2,n.err?(b[r(322)](r(502)+n[r(392)]),[]):null==(n=n[r(362)])||null==(n=n.trim())||null==(n=n.split("\n"))?void 0:n[r(668)](function(e){return e.trim()}))}},e)})))[e(955)](this,arguments)}function oe(){return(oe=_asyncToGenerator(_regenerator().m(function e(n){var t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,p(k(["-t",n,"shell",r(546),r(353),r(835)]));case 1:return t=e.v,e.a(2,t[r(392)]||/(\[Fail\])/.test(t[r(362)])?(b.error(r(414),t[r(392)]),r(910)):null==(t=t.data)?void 0:t[r(802)]())}},e)}))).apply(this,arguments)}function D(e){var r,n=c,e="".concat(e,n(864));if(g[n(927)](e))return r=g.readFileSync(e,n(922)),null==(r=W[n(692)](r))||null==(r=r[n(696)])?void 0:r[n(466)];throw b[n(322)](""[n(941)](e,n(632))),new Error(""[n(941)](e,n(632)))}function se(e){var r,n=c,e=""[n(941)](e,n(507));if(g[n(927)](e))return r=g.readFileSync(e,n(922)),W[n(692)](r);throw b.error(""[n(941)](e," is not found")),new Error("".concat(e," is not found"))}function ce(){return ue[c(955)](this,arguments)}function ue(){var e=c;return(ue=_asyncToGenerator(_regenerator().m(function e(n,t){var a,i;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return b[r(374)](r(915)[r(941)](n)),a=D(n),e.n=1,p(k(["-t",t,r(473),"aa",r(749),a]));case 1:return e.n=2,p(k(["-t",t,r(473),"aa",r(303),"-a",r(932),"-b",a,"--ps launchMode forceUpdate"]));case 2:if((i=e.v)[r(392)])return b[r(322)](r(772),i[r(392)]),b[r(322)]("Start ability error"),e.a(2);e.n=3;break;case 3:return e.a(2)}},e)})))[e(955)](this,arguments)}function fe(){var e=c;return(fe=_asyncToGenerator(_regenerator().m(function e(n){var t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return b[r(374)](r(476)[r(941)](n)),e.n=1,p(w(d(),[r(638)],{chdir:!0,cwd:n}));case 1:(t=e.v)[r(392)]&&b[r(322)](r(380),t[r(392)]);case 2:return e.a(2)}},e)})))[e(955)](this,arguments)}function le(){var e=c;return(le=_asyncToGenerator(_regenerator().m(function e(n){var t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return b[r(374)](r(766)[r(941)](n)),e.n=1,p(w(d(),[r(340)],{chdir:!0,cwd:n}));case 1:(t=e.v)[r(392)]&&b.error(r(704),t[r(392)]);case 2:return e.a(2)}},e)})))[e(955)](this,arguments)}function ve(){var e=c;return(ve=_asyncToGenerator(_regenerator().m(function e(n){var t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return b[r(374)]("start hvigor clean under ".concat(n)),e.n=1,p(w(y(),["clean",r(902)],{chdir:!0,cwd:n}));case 1:(t=e.v).err&&b.error(r(529),t[r(392)]);case 2:return e.a(2)}},e)})))[e(955)](this,arguments)}var he,pe,E,ge=_createClass(function e(){_classCallCheck(this,e)}),e=_createClass(A,[{key:(E=c)(844),value:(pe=_asyncToGenerator(_regenerator().m(function e(){var n,t,i,a,o=this;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,p(function(){return ie[c(955)](this,arguments)}());case 1:if((t=e.v)[r(392)]||null==t||null==(n=t[r(362)])||!n[r(624)]||/(\[Empty\])|(\[Fail\])/[r(678)](null==(n=t[r(362)])?void 0:n[r(468)]("\n")))return e.a(2,(b[r(322)](r(694)),[]));e.n=2;break;case 2:return b[r(602)]("found devices: ",null==(n=t[r(362)])?void 0:n[r(468)]("\n")),i=!1,e.n=3,Promise[r(563)](t[r(362)].map((()=>{var r=_asyncToGenerator(_regenerator().m(function e(n){var t,a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(o[r(524)]&&o[r(524)].sn===n&&(i=!0),o[r(344)][r(685)](n))return e.a(2,o[r(344)][r(353)](n));e.n=1;break;case 1:return(t=new ge).sn=n,e.n=2,function(){return oe.apply(this,arguments)}(n);case 2:return a=e.v,e.a(2,(t[r(825)]=a,o[r(344)][r(954)](n,t),t))}},e)}));return function(e){return r[_0x426a(955)](this,arguments)}})()));case 3:return a=e.v,e.a(2,(i||(this.cur=a[r(624)]?a[0]:null),a))}},e,this)})),function(){return pe.apply(this,arguments)})},{key:E(323),value:function(){return this[E(524)]}},{key:E(912),value:function(e){var r=E;e&&this[r(344)].has(e)&&(e=this.cache[r(353)](e),this[r(524)]=e)}},{key:E(767),value:(he=_asyncToGenerator(_regenerator().m(function e(){var n;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,this[r(844)]();case 1:if(n=null==(n=this.getCurrent())?void 0:n.sn){e.n=2;break}return b.error("No devices found, please connet to phone"),e.a(2);case 2:return e.a(2,n)}},e,this)})),function(){return he[_0x426a(955)](this,arguments)})}],[{key:"getInstance",value:function(){return A[E(394)]}}]);function A(){var e=_0x426a;_classCallCheck(this,A),this[e(344)]=new Map,this[e(524)]=null}e[c(394)]=new e;var C=e,_e=r(require("net"));function de(){var e=c;return(de=_asyncToGenerator(_regenerator().m(function e(o){var s,r,c,n,t=arguments;return _regenerator().w(function(e){for(var i=_0x426a;;)switch(e.n){case 0:return r=(n=1<t.length&&void 0!==t[1]?t[1]:{})[i(699)],s=void 0===r?i(741):r,r=n.timeout,c=void 0===r?1e3:r,n=new Promise(function(e,r){function n(){a[t(719)](),r()}var t=i,a=new _e[t(713)];a[t(569)](t(322),n),a[t(569)](t(590),n),a[t(604)](c),a[t(921)](o,s,function(){a.end(),e(o)})}),e.p=1,e.n=2,n;case 2:return e.a(2,!0);case 3:return e.p=3,e.a(2,!1)}},e,null,[[1,3]])})))[e(955)](this,arguments)}var B=h(c(938)),x=c(584);function S(){return ye.apply(this,arguments)}function ye(){var e=c;return(ye=_asyncToGenerator(_regenerator().m(function e(o){var r,s,c,t,a,i=arguments;return _regenerator().w(function(e){for(var n=_0x426a;;)switch(e.n){case 0:return s=1<i[n(624)]&&void 0!==i[1]&&i[1],c=2<i.length&&void 0!==i[2]?i[2]:"",e.n=1,p(k(["-t",o,"fport","ls"]));case 1:(t=e.v).err?(B[n(322)](n(672),x),a=[],e.n=4):e.n=2;break;case 2:return e.n=3,Promise[n(563)](null==(r=t[n(362)])?void 0:r[n(802)]()[n(899)]("\n")[n(668)]((()=>{var r=_asyncToGenerator(_regenerator().m(function e(n){var t,a,i;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(a=n[r(899)](/\s+/),t=null==(t=a[1])?void 0:t[r(802)](),a=null==(a=a[2])?void 0:a[r(802)](),i=s&&t===r(934)[r(941)](c))return e.n=1,p(k(["-t",o,r(576),"rm",t,a]));e.n=1;break;case 1:return e.a(2,{localPort:t,remotePort:a,needRm:i})}},e)}));return function(e){return r[_0x426a(955)](this,arguments)}})()));case 3:a=e.v[n(828)](function(e){var r=n;return e[r(881)]&&!e[r(823)]});case 4:return e.a(2,a)}},e)})))[e(955)](this,arguments)}function me(){return be[c(955)](this,arguments)}function be(){var e=c;return(be=_asyncToGenerator(_regenerator().m(function e(a,i,o){var n,s,t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,S(a);case 1:return n=e.v,s=!1,t=i[r(802)]()[r(797)](r(934),""),e.n=2,Promise.all(n.map((()=>{var r=_asyncToGenerator(_regenerator().m(function e(n){var t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(n[r(881)]&&n.remotePort){e.n=1;break}return e.a(2);case 1:if(t=!1,n[r(881)]===i&&n.remotePort===o?s=!0:n[r(881)]!==i&&n[r(621)]!==o||(t=!0),t)return e.n=2,p(k(["-t",a,r(576),"rm",n[r(881)],n.remotePort]));e.n=2;break;case 2:return e.a(2)}},e)}));return function(e){return r.apply(this,arguments)}})()));case 2:if(s)return B[r(710)](r(417)),e.a(2);e.n=3;break;case 3:return e.n=4,function(){return de[c(955)](this,arguments)}(t);case 4:if(e.v)return B[r(322)](r(484)[r(941)](t," is used")),e.a(2);e.n=5;break;case 5:return e.n=6,p(k(["-t",a,r(576),i,o]));case 6:if(e.v[r(392)])return B[r(322)](r(705),x),e.a(2);e.n=7;break;case 7:return e.a(2)}},e)})))[e(955)](this,arguments)}function we(){var e=c;return(we=_asyncToGenerator(_regenerator().m(function e(r,n){return _regenerator().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,S(r,!0,n);case 1:return e.a(2,e.v)}},e)})))[e(955)](this,arguments)}F=c;var ke,De,Ee,Ae,Ce,Be,F,t=_createClass(function e(){_classCallCheck(this,e),this.webLocalPort=9222,this.v8LocalPort=9229},[{key:"fportWeb",value:(Be=_asyncToGenerator(_regenerator().m(function e(n,t){var a,i,o,s;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(s=!n)return e.n=1,C[r(649)]().getDeviceId();e.n=2;break;case 1:n=e.v,s=!n;case 2:if(s)return e.a(2);e.n=3;break;case 3:return e.n=4,p(k(["-t",n,r(473),r(947)[r(941)](t,r(878))]));case 4:if((i=e.v)[r(392)]||null==(a=i[r(362)])||!a[r(624)])return B[r(322)]("fportWeb get pid error: ",x),e.a(2);e.n=5;break;case 5:return o=null==(a=i[r(362)])||null==(a=a.trim()[r(899)]("\n"))?void 0:a[0].trim()[r(899)](/\s+/)[1][r(802)](),e.n=6,p(me(n,r(934)+this[r(440)],r(837)[r(941)](o)));case 6:if(e.v[r(392)])return B[r(322)](r(534),x),e.a(2);e.n=7;break;case 7:return e.a(2)}},e,this)})),function(e,r){return Be[_0x426a(955)](this,arguments)})},{key:"fportV8",value:(Ce=_asyncToGenerator(_regenerator().m(function e(n){var t,a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(a=!n)return e.n=1,C.getInstance()[r(767)]();e.n=2;break;case 1:n=e.v,a=!n;case 2:if(t=!a)return e.n=3,p(me(n,r(934)+this[r(586)],r(816)));e.n=4;break;case 3:t=e.v.err;case 4:if(t)return B.error("fport v8 error: ",x),e.a(2);e.n=5;break;case 5:return e.a(2)}},e,this)})),function(e){return Ce[_0x426a(955)](this,arguments)})},{key:F(893),value:(Ae=_asyncToGenerator(_regenerator().m(function e(n){return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,this.fportRm(n,String(this[r(586)]));case 1:return e.a(2)}},e,this)})),function(e){return Ae[_0x426a(955)](this,arguments)})},{key:F(865),value:(Ee=_asyncToGenerator(_regenerator().m(function e(n){return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,this[r(601)](n,String(this[r(440)]));case 1:return e.a(2)}},e,this)})),function(e){return Ee.apply(this,arguments)})},{key:"fportRm",value:(De=_asyncToGenerator(_regenerator().m(function e(n,t){var a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(a=!n)return e.n=1,C[r(649)]()[r(767)]();e.n=2;break;case 1:n=e.v,a=!n;case 2:if(a){e.n=3;break}return e.n=3,function(){return we[c(955)](this,arguments)}(n,t);case 3:return e.a(2)}},e)})),function(e,r){return De[_0x426a(955)](this,arguments)})},{key:F(944),value:(ke=_asyncToGenerator(_regenerator().m(function e(r){var n,t;return _regenerator().w(function(e){for(;;)switch(e.n){case 0:if(n=!r)return e.n=1,C.getInstance().getDeviceId();e.n=2;break;case 1:r=e.v,n=!r;case 2:n?(t=[],e.n=5):e.n=3;break;case 3:return e.n=4,S(r);case 4:t=e.v;case 5:return e.a(2,t)}},e)})),function(e){return ke.apply(this,arguments)})}],[{key:F(649),value:function(){return this[F(394)]}}]),P=(t.instance=new t,t),T=h(c(895)),xe=c(801);function Se(){var e=c;return(Se=_asyncToGenerator(_regenerator().m(function e(n){var a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:a=[],e.p=1,e.n=2;var t="http://localhost:"[r(941)](n,r(335)),o={timeout:3e3};return new Promise(function(a,i){var r=_0x426a,e=Object[r(929)]({timeout:6e3},o),n=Y[r(788)].get(t,function(e){var n=r,t="";e.on(n(362),function(e){t+=e}),e.on("end",function(){var r=n;try{a(JSON[r(692)](t))}catch(e){i(new Error(r(415)))}})});n[r(604)](e[r(590)],function(){n[r(807)](),i(new Error("Request timed out"))}),n.on(r(322),i),n[r(434)]()});case 2:a=e.v,e.n=4;break;case 3:e.p=3,T[r(322)](r(401),x);case 4:return e.a(2,a)}},e,null,[[1,3]])})))[e(955)](this,arguments)}function Fe(){return Pe[c(955)](this,arguments)}function Pe(){var e=c;return(Pe=_asyncToGenerator(_regenerator().m(function e(n){var t,a,i,o,s;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(n){e.n=1;break}return e.a(2,"");case 1:return e.p=1,e.n=2,function(){return Se.apply(this,arguments)}(n);case 2:if(t=e.v,i=null===t){e.n=3;break}i=void 0===t;case 3:if(a=i){e.n=4;break}a=null==(t=t[0]);case 4:a?(o=void 0,e.n=6):e.n=5;break;case 5:o=t.devtoolsFrontendUrl;case 6:return e.a(2,o);case 7:return e.p=7,s=e.v,T.error(r(727)[r(941)](n,r(645)),s),e.a(2,"")}},e,null,[[1,7]])})))[e(955)](this,arguments)}var Te,Ie,Ge,Oe,je,Ne,Le,Re,Ke,He,I,qe,Me,ze,Ue,Je,Ve,Ye,Ze,We,Xe=_createClass(function e(r){var n=_0x426a;_classCallCheck(this,e),T[n(374)](n(481),r),this.options=Object[n(929)]({open:""},r)},[{key:"handle",value:function(e){var n=_0x426a,r=this,t=(T[n(374)](n(777)[n(941)](e)),{status:function(){return r.status()},start:function(){return r.start()},stop:function(){return r[n(908)]()},"start-view":function(){return r[n(437)]()},"start-service":function(){return r[n(953)]()},"stop-view":function(){return r[n(745)]()},"stop-service":function(){return r[n(945)]()}});t[e]?t[e]()[n(904)](function(){var e=n;return T[e(374)](e(758))})[n(850)](function(e){var r=n;return T[r(322)](r(537),e)}):T[n(322)]("invalid subCmd, should be "+Object[n(453)](t)[n(468)](","))}},{key:(e=c)(944),value:(We=_asyncToGenerator(_regenerator().m(function e(){var n,t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return T[r(374)]("status"),n=(n=this[r(519)].bundleName)||D(process[r(506)]()),e.n=1,this[r(536)](n);case 1:if(e.v){e.n=2;break}return e.a(2);case 2:return e.n=3,P[r(649)]()[r(944)](this.options[r(435)]);case 3:return n=e.v,e.n=4,Promise[r(563)](null==n?void 0:n.map((()=>{var r=_asyncToGenerator(_regenerator().m(function e(n){var t,a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:n[r(881)]!==r(934)[r(941)](P[r(649)]().webLocalPort)?e.n=1:(t=r(499),e.n=3);break;case 1:n.localPort!==r(934)[r(941)](P.getInstance().v8LocalPort)?e.n=2:(t="service",e.n=3);break;case 2:return e.a(2);case 3:return e.n=4,Fe(n.localPort.replace("tcp:",""));case 4:return a=e.v,e.a(2,a?(t===r(499)&&(a="chrome://inspect#devices"),""[r(941)](t," ")[r(941)](n[r(881)]," ")[r(941)](n[r(621)],r(503)).concat(a)):"")}},e)}));return function(e){return r.apply(this,arguments)}})()));case 4:0!==(t=(t=e.v).filter(Boolean))[r(624)]&&T[r(374)](r(483)+t[r(468)]("\n"));case 5:return e.a(2)}},e,this)})),function(){return We.apply(this,arguments)})},{key:e(303),value:(Ze=_asyncToGenerator(_regenerator().m(function e(){return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return T.info(r(303)),e.n=1,this[r(437)]();case 1:return e.n=2,this[r(953)]();case 2:return e.a(2)}},e,this)})),function(){return Ze.apply(this,arguments)})},{key:e(908),value:(Ye=_asyncToGenerator(_regenerator().m(function e(){return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return T[r(374)](r(908)),e.n=1,this.stopView();case 1:return e.n=2,this[r(945)]();case 2:return e.a(2)}},e,this)})),function(){return Ye.apply(this,arguments)})},{key:e(437),value:(Ve=_asyncToGenerator(_regenerator().m(function e(){var n;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return T[r(374)](r(437)),n=(n=this[r(519)].bundleName)||D(process[r(506)]()),e.n=1,this.checkBundleName(n);case 1:if(e.v)return e.n=2,P[r(649)]()[r(388)](this.options[r(435)],n);e.n=3;break;case 2:return e.n=3,this[r(845)](P[r(649)]()[r(440)],r(560));case 3:return e.a(2)}},e,this)})),function(){return Ve.apply(this,arguments)})},{key:e(953),value:(Je=_asyncToGenerator(_regenerator().m(function e(){var n;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return T[r(374)](r(953)),n=(n=this[r(519)].bundleName)||D(process[r(506)]()),e.n=1,this[r(536)](n);case 1:if(e.v)return e.n=2,P[r(649)]()[r(717)](this[r(519)][r(435)]);e.n=3;break;case 2:return e.n=3,this[r(845)](P[r(649)]()[r(586)]);case 3:return e.a(2)}},e,this)})),function(){return Je.apply(this,arguments)})},{key:e(745),value:(Ue=_asyncToGenerator(_regenerator().m(function e(){return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return T[r(374)](r(745)),e.n=1,P[r(649)]()[r(865)](this[r(519)].deviceId);case 1:return e.a(2)}},e,this)})),function(){return Ue[_0x426a(955)](this,arguments)})},{key:"stopService",value:(ze=_asyncToGenerator(_regenerator().m(function e(){return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return T[r(374)]("stopService"),e.n=1,P[r(649)]().fportRmV8(this[r(519)][r(435)]);case 1:return e.a(2)}},e,this)})),function(){return ze[_0x426a(955)](this,arguments)})},{key:e(536),value:(Me=_asyncToGenerator(_regenerator().m(function e(n){var t,a,i,o,s,c;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(a=this.options[r(435)],o=!a)return e.n=1,C[r(649)]()[r(767)]();e.n=2;break;case 1:a=e.v,o=!a;case 2:if(o)return e.a(2,!1);e.n=3;break;case 3:return e.n=4,p(k(["-t",a,"shell",r(397),n]));case 4:if(t=e.v[r(362)],s=null===t){e.n=5;break}s=void 0===t;case 5:s?(c=void 0,e.n=7):e.n=6;break;case 6:c=t[r(802)]();case 7:return i=c,e.a(2,(i||T.error(xe),i))}},e,this)})),function(e){return Me[_0x426a(955)](this,arguments)})},{key:e(845),value:(qe=_asyncToGenerator(_regenerator().m(function e(n){var t,a,i=arguments;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(t=1<i[r(624)]&&void 0!==i[1]?i[1]:"",T.info(r(845)),this.options.open)return e.n=1,Fe(n);e.n=3;break;case 1:if(a=e.v){e.n=2;break}return T[r(374)]("openBrowser error, please try later"),e.a(2);case 2:t&&(a=t),T[r(374)](r(422),a);case 3:return e.a(2)}},e,this)})),function(e){return qe.apply(this,arguments)})}]),Qe=r(require("fs")),$e=r(require(c(682))),G=h(c(634)),er=_createClass(function e(r){var n=_0x426a;_classCallCheck(this,e),this[n(836)]=[],this[n(703)]=null,this[n(785)]=!1,this[n(519)]=Object.assign({buildMode:"debug",buildTarget:n(676)},r)},[{key:(I=c)(748),value:function(e){var n=I,r=this,t=(G[n(374)](n(777).concat(e)),{start:function(){return r[n(303)]()},installDeps:function(){return r.installDeps()},assembleHap:function(){return r[n(642)]()},installHap:function(){return r[n(582)]()},assembleAndInstallHap:function(){return r[n(952)]()},uninstall:function(){return r[n(815)]()},clean:function(){return r.clean()},stop:function(){return r.stop()}});t[e]?t[e]()[n(904)](function(){var e=n;return G[e(374)](e(903))}).catch(function(e){var r=n;return G[r(322)](r(537),e)}):G[n(322)](n(552)+Object.keys(t)[n(468)](","))}},{key:I(475),value:function(e){var r=I;this[r(836)][r(804)](e)}},{key:"del",value:function(e){var r=I,e=this.cpList[r(949)](e);-1!==e&&this[r(836)][r(373)](e,1)}},{key:"stop",value:function(){var e=I;this[e(785)]=!0,this[e(381)]()}},{key:I(381),value:function(){for(var e=I;this[e(836)].length;){var r=this[e(836)].pop(),n=(a=t=n=void 0,r),t=c;if(n){var a=process[t(532)];try{a===t(896)?(0,Z[t(839)])(t(482)[t(941)](n[t(907)],t(628))):a===t(606)&&n[t(907)]?process[t(666)](n[t(907)]):n[t(666)]()}catch(e){b[t(322)](t(514),e)}}}}},{key:I(399),value:function(){}},{key:I(461),value:(He=_asyncToGenerator(_regenerator().m(function e(r,o,s){var c=this;return _regenerator().w(function(e){for(;;)if(0===e.n)return e.a(2,new Promise(function(n,t){var a,i=_0x426a;c[i(785)]?t("cancelled"):(a=ne(r,o,function(e,r){if(c[i(575)](a),e)return t(e);n(r)},s),c[i(475)](a))}))},e)})),function(e,r,n){return He[_0x426a(955)](this,arguments)})},{key:I(659),value:(Ke=_asyncToGenerator(_regenerator().m(function e(r,n){return _regenerator().w(function(e){for(;;)if(0===e.n)return e.a(2,this.runCmdAsync(m(),r,n))},e,this)})),function(e,r){return Ke[_0x426a(955)](this,arguments)})},{key:I(303),value:(Re=_asyncToGenerator(_regenerator().m(function e(){var n,t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(n=this[r(519)].projectRoot,G[r(374)]("start ability under ".concat(n)),t=this[r(519)][r(435)]){e.n=2;break}return e.n=1,C[r(649)]()[r(767)]();case 1:t=e.v;case 2:return e.n=3,p(ce(n,t));case 3:return e.a(2)}},e,this)})),function(){return Re.apply(this,arguments)})},{key:I(731),value:(Le=_asyncToGenerator(_regenerator().m(function e(){var n;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return n=this[r(519)][r(925)],G[r(374)](r(476)[r(941)](n)),e.n=1,p(function(){return fe.apply(this,arguments)}(n));case 1:return e.a(2)}},e,this)})),function(){return Le[_0x426a(955)](this,arguments)})},{key:"assembleHap",value:(Ne=_asyncToGenerator(_regenerator().m(function e(){var n,t,a,i;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return n=this[r(519)][r(925)],G[r(374)](r(761)[r(941)](n)),t=(new Date).getTime(),Qe[r(927)]($e[r(726)](n,r(883)))||this.installDeps(),e.n=1,p(this.runCmdAsync(y(),[r(436)],{cwd:n}));case 1:return a=null==(a=se(n))||null==(a=a[r(325)])?void 0:a[r(668)](function(e){return"".concat(e.name,"@default")}),e.n=2,p(this[r(461)](y(),["-m","module","-p",r(533)[r(941)](null==a?void 0:a.join(",")),r(642),1<a[r(624)]?"assembleHsp":"",r(902),r(579),r(357),"-p","skipAscfCompile=true"],{chdir:!0,cwd:n}));case 2:(a=e.v)[r(392)]&&G[r(322)](r(348),a.err),i=Math.round(((new Date)[r(426)]()-t)/1e3),G[r(374)]("assembleHap within "[r(941)](i," s"));case 3:return e.a(2)}},e,this)})),function(){return Ne[_0x426a(955)](this,arguments)})},{key:I(377),value:(je=_asyncToGenerator(_regenerator().m(function e(n,t){var a,i;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return a=r(684)+((new Date).getTime()+Math[r(901)](1e3*Math[r(869)]())),e.n=1,p(this[r(659)](["-t",n,"shell",r(698),a]));case 1:if((i=e.v).err)return G[r(322)](r(493),i.err),e.a(2);e.n=2;break;case 2:return e.n=3,p(t(a));case 3:return(i=e.v)[r(392)]&&G.error(r(478),i[r(392)]),e.n=4,p(this.runHdcCmdAsync(["-t",n,"shell","rm",r(664),a]));case 4:return e.a(2)}},e,this)})),function(e,r){return je.apply(this,arguments)})},{key:I(582),value:(Oe=_asyncToGenerator(_regenerator().m(function e(){var t,n,o,a,s=this;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(t=this[r(519)][r(925)],G[r(374)](r(852)[r(941)](t)),n=(new Date)[r(426)](),o=this[r(519)][r(435)]){e.n=2;break}return e.n=1,C.getInstance()[r(767)]();case 1:o=e.v;case 2:return e.n=3,p(this.usingTmpDir(o,(()=>{var r=_asyncToGenerator(_regenerator().m(function e(a){var i,r;return _regenerator().w(function(e){for(var n=_0x426a;;)switch(e.n){case 0:return r=null==(r=se(t))||null==(r=r.modules)?void 0:r[n(668)](function(e){var r=n;return $e.resolve(t,e.srcPath,r(765)[r(941)](e.name,"-default-signed.")[r(941)](e[r(825)]===r(495)?r(830):r(545)))}),i=!1,e.n=1,Promise[n(563)](null==r?void 0:r[n(668)]((()=>{var r=_asyncToGenerator(_regenerator().m(function e(n){var t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(Qe.existsSync(n)){e.n=1;break}return G[r(322)](r(557),n),i=!0,e.a(2);case 1:return e.n=2,p(s[r(659)](["-t",o,r(554),r(827),n,a]));case 2:(t=e.v).err&&(G[r(322)]("send hap error",t[r(392)]),i=!0);case 3:return e.a(2)}},e)}));return function(e){return r[_0x426a(955)](this,arguments)}})()));case 1:if(i)return e.a(2);e.n=2;break;case 2:return e.n=3,p(s[n(659)](["-t",o,n(473),"bm",n(873),"-p",a]));case 3:if((r=e.v)[n(392)])return G[n(322)](n(937),r[n(392)]),e.a(2);e.n=4;break;case 4:ce(t,o);case 5:return e.a(2)}},e)}));return function(e){return r[_0x426a(955)](this,arguments)}})()));case 3:a=Math.round(((new Date)[r(426)]()-n)/1e3),G[r(374)](r(480)[r(941)](a," s"));case 4:return e.a(2)}},e,this)})),function(){return Oe[_0x426a(955)](this,arguments)})},{key:I(952),value:(Ge=_asyncToGenerator(_regenerator().m(function e(){var n;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return this[r(785)]=!1,e.n=1,C[r(649)]().getDeviceId();case 1:if(e.v){e.n=2;break}return e.a(2);case 2:return e.n=3,p(this[r(642)]());case 3:if((n=e.v)[r(392)])return G.error(r(523),n.err),e.a(2);e.n=4;break;case 4:return e.n=5,p(this[r(582)]());case 5:return e.a(2)}},e,this)})),function(){return Ge[_0x426a(955)](this,arguments)})},{key:"uninstall",value:(Ie=_asyncToGenerator(_regenerator().m(function e(){var n,t,a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(n=this[r(519)].projectRoot,G[r(374)](r(750)[r(941)](n)),t=this.options.deviceId){e.n=2;break}return e.n=1,C[r(649)]()[r(767)]();case 1:t=e.v;case 2:return a=D(n),e.n=3,p(this[r(659)](["-t",t,r(815),a]));case 3:if((a=e.v)[r(392)])return G[r(322)](r(463),a[r(392)]),e.a(2);e.n=4;break;case 4:return e.a(2)}},e,this)})),function(){return Ie[_0x426a(955)](this,arguments)})},{key:I(340),value:(Te=_asyncToGenerator(_regenerator().m(function e(){var n;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return n=this[r(519)][r(925)],e.n=1,function(){return le[c(955)](this,arguments)}(n);case 1:return e.n=2,function(){return ve[c(955)](this,arguments)}(n);case 2:return e.a(2)}},e,this)})),function(){return Te[_0x426a(955)](this,arguments)})}]),O=r(require(c(432))),rr=require(c(652)),nr=r(require(c(683))),tr={chrome:{darwin:c(675),win32:c(496),linux:[c(793),c(334),c(470)]},edge:{darwin:c(305),win32:c(809),linux:[c(630),c(639)]}};function ar(e,r){var n=c,t=O[n(532)],a=null==(a=tr[e])?void 0:a[t];if(!a)throw new Error(""[n(941)](e,n(951)));var e=n(571),i=[],o=[];t===n(606)?(e=n(571),o.push("-a",a),/^(chrome|edge):/i[n(678)](r)&&o[n(804)](n(308))):t===n(896)&&(e="".concat(O.env[n(349)]||O.env[n(747)]||n(578),n(450)),o[n(804)](n(477),n(718),n(405),"Bypass",n(447)),t=["Start"],a?(t[n(804)](n(824).concat(a,n(633))),r&&(i[n(804)](n(355),n(308)),i[n(804)](r))):r&&t.push('"'.concat(r,'"')),0<i[n(624)]&&(i=i[n(668)](function(e){var r=n;return r(824)[r(941)](e,r(633))}),t[n(804)](n(558),i[n(468)](","))),r=rr[n(847)][n(627)](t.join(" "),n(413)).toString(n(725))),r&&o[n(804)](r),nr[n(612)](e,o)[n(551)]()}function ir(r){var n=c,t=1<arguments[n(624)]&&void 0!==arguments[1]?arguments[1]:"chrome";try{ar(t,r)}catch(e){ar(t===n(496)?n(794):n(496),r)}}}),se=b(function(e,r){var _=_0x426a,u=require("path"),d=require("fs"),y=require(_(608)),m=require(_(654)),b=ve(),l=require("jsrsasign"),v=Ae(),w=Ce(),k=ve(),h=be(),D=(0,j()[_(387)])(_(382)),c=_(811),s=_(868),E={type:_(406),compression:"DEFLATE",compressionOptions:{level:9}};function f(){var e=_;return(f=_asyncToGenerator(_regenerator().m(function e(r,n){var a,i,o;return _regenerator().w(function(e){for(var t=_0x426a;;)switch(e.n){case 0:return a={},r[t(702)](function(e){var r=t,n=e[r(900)],e=e[r(378)];return a[n]=e[r(723)]("hex")}),(i=new m).file(s,JSON[t(795)]({algorithm:t(304),digests:a})),e.n=1,i.generateAsync(E);case 1:return i=e.v,o={name:s,hash:b[t(760)](i)},e.n=2,b[t(737)](i,[o],n);case 2:return e.a(2,e.v)}},e)})))[e(955)](this,arguments)}function A(){return n[_(955)](this,arguments)}function n(){var e=_;return(n=_asyncToGenerator(_regenerator().m(function e(r,n){var a,i,o,s;return _regenerator().w(function(e){for(var t=_0x426a;;)switch(e.n){case 0:return a=r[t(341)],i=new m,o=a[t(668)](function(e){var r=t;return{name:e[r(900)],hash:e[r(378)]}}),e.n=1,function(){return f[_(955)](this,arguments)}(a,n);case 1:return s=e.v,i[t(554)](c,s),o[t(598)]({name:c,hash:b[t(760)](s)}),s=Object.assign({},E),a[t(702)](function(e){var r=t,n=e.fileBuildPath,e=e[r(882)];i.file(n,e)}),e.n=2,i[t(316)](s);case 2:return s=e.v,e.n=3,b[t(737)](s,o,n);case 3:return e.a(2,e.v)}},e)})))[e(955)](this,arguments)}function i(){return(i=_asyncToGenerator(_regenerator().m(function e(r,n,a,i,o){var s,c,u,f,l,v,h,p,g;return _regenerator().w(function(e){for(var t=_0x426a;;)switch(e.n){case 0:return e.n=1,A(a,n);case 1:if(s=e.v,i[t(624)]){e.n=2;break}return e.a(2,{rpkBuffer:s});case 2:if(c=new m,u=[],f=Object[t(929)]({},E),o[t(898)]===t(487))return v=i.map(function(e){return A(e,n)}),e.n=3,Promise[t(563)](v)[t(850)](function(){new Error(t(319))});e.n=4;break;case 3:e.v[t(702)](function(e,r){var n=t,r="".concat(i[r][n(880)]);e[n(624)],c.file(r,e),u[n(804)]({name:r,hash:b[n(760)](e)})}),e.n=6;break;case 4:return l=i[0],e.n=5,A(l,n).catch(function(){new Error(t(319))});case 5:v=e.v,h=""[t(941)](l[t(880)]),v[t(624)],c[t(554)](h,v),u[t(804)]({name:h,hash:b[t(760)](v)});case 6:return e.n=7,c[t(316)](f);case 7:return h=e.v,e.n=8,b[t(737)](h,u,n);case 8:return p=e.v,g=s,e.a(2,{rpksBuffer:p,rpkBuffer:g})}},e)}))).apply(this,arguments)}function t(){return(t=_asyncToGenerator(_regenerator().m(function e(n,t){var a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return a=d.readFileSync(t),e.n=1,b[r(737)](a,[],n);case 1:return a=e.v,e.a(2,{apkBuffer:a})}},e)}))).apply(this,arguments)}function p(e,r,n,t){var a=_;e[a(341)][a(804)]({fileBuildPath:r,fileContentBuffer:n,fileContentDigest:t})}function a(e){var r,n,t,a,i,o,s,c=_,e=e[c(891)](/^(\d{2}|\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(|\.\d+)Z$/);if(e)return o=e[1],s=parseInt(o),2===o[c(624)]&&(50<=s&&s<100?s=1900+s:0<=s&&s<50&&(s=2e3+s)),o=parseInt(e[2])-1,r=parseInt(e[3]),n=parseInt(e[4]),t=parseInt(e[5]),a=parseInt(e[6]),i=0,""!==(e=e[7])&&(e=(e[c(875)](1)+"00")[c(875)](0,3),i=parseInt(e)),Date[c(637)](s,o,r,n,t,a,i);throw new Error(c(428))}function C(e,r,n){return o[_(955)](this,arguments)}function o(){var e=_;return(o=_asyncToGenerator(_regenerator().m(function e(n,t,a){var i,o,s,c,u,f=arguments;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(o=3<f[r(624)]&&void 0!==f[3]?f[3]:{},i={signOnline:null!=a,privateKey:t,onlineConfig:a},o&&o[r(527)]&&o.dssKey)return e.n=1,h[r(409)](o);e.n=2;break;case 1:n=e.v,i[r(670)]=r(424);case 2:return(o=new l[r(404)])[r(653)](n[r(723)]()),s=l.KEYUTIL[r(677)](o[r(581)]()),c=Buffer[r(627)](v[r(885)][r(321)](n)),u=Buffer.alloc(c[r(624)]+4),e.a(2,(u[r(455)](c[r(624)],0),c[r(876)](u,4),i[r(856)]={content:n,obj:{len:u[r(624)],buffer:u},pemBuffer:Buffer[r(627)](v.Base64[r(321)](s))},i))}},e)})))[e(955)](this,arguments)}function g(e){var r=_,n=new l.X509,e=(n.readCertPEM(e),n.getSignatureValueHex()),n=Buffer[r(627)](e,r(568))[r(723)](r(725)),e=k[r(760)](n);return Buffer[r(627)](e).toString("hex")}function B(){var e=_;return(B=_asyncToGenerator(_regenerator().m(function e(s){var c,u,f,l,v,h,p,g;return _regenerator().w(function(e){for(var r,n,t,a,i,o=_0x426a;;)switch(e.n){case 0:if(s&&d[o(927)](s)){e.n=1;break}throw new Error(o(866)+s);case 1:if(c=d[o(444)](s),w[o(841)](c)){e.n=2;break}throw new Error(o(611));case 2:if((u=w[o(935)](c,!0))[o(940)][o(307)][o(593)]){e.n=3;break}throw new Error(o(368));case 3:if(f=k[o(768)](c,u[o(940)][o(307)]),l=k.getCertBuffer(f)){e.n=4;break}throw new Error(o(867));case 4:return v=f[o(362)][0][o(681)][o(362)][0][o(504)][o(362)][0][o(652)],h=[],r=c,i=a=t=void 0,n=(n=u)[(t=_)(940)],a=Buffer[t(407)](n[t(614)][t(791)]+n[t(336)][t(791)]+n[t(711)][t(791)]),i=0,r[t(876)](a,0,n.header[t(759)],n[t(614)][t(759)]+n.header.len),i+=n.header[t(791)],r[t(876)](a,i,n[t(336)][t(759)],n[t(336)][t(759)]+n[t(336)][t(791)]),i+=n.central[t(791)],r[t(876)](a,i,n[t(711)][t(759)],n[t(711)][t(759)]+n.footer[t(791)]),a[t(455)](n[t(614)].len,a[t(624)]-6),p=a,e.n=5,C(l);case 5:return g=e.v,e.n=6,b[o(673)](p,h,g);case 6:g=e.v,y[o(376)](o(371))[o(638)](g).verify(l,v)||(D[o(322)](o(403)),process.exit(-1));case 7:return e.a(2)}},e)})))[e(955)](this,arguments)}r[_(530)]={generatePkgDef:function(){var n=_,e=0<arguments[n(624)]&&void 0!==arguments[0]?arguments[0]:[],t=[],r={pkgName:"base.sspk",fileList:[]};return e[n(702)](function(e){var r=n,e=e[r(479)];t[r(804)]({pkgName:""[r(941)](e,r(384)),fileList:[],root:e})}),{mainPkg:{pkgName:"base.spk",fileList:[]},subPkgs:e[n(624)]?[r][n(941)](t):[r]}},addResourceToPkg:function(e,r,n,s){var c=_;e[c(702)](function(t){var a,i=c,e=d.readFileSync(u[i(468)](r,t)),o=[t,e,b.getBufferSha256(e)];p[i(955)](void 0,[n][i(941)](o)),s[i(624)]&&(a=!0,s[i(740)](1)[i(702)](function(e){var r=i,n=t.split("/");n[0]===e[r(592)]&&(o[0]=n[r(740)](1)[r(468)]("/"),p[r(955)](void 0,[e].concat(o)),a=!1)}),a)&&p[i(955)](void 0,[s[0]][i(941)](o))})},signPkgs:function(e,r,n,t,a){return i[_(955)](this,arguments)},DIGEST_PATH:c,getResources:function(e){return function t(a,i){var o=_0x426a,s=[],c=u[o(697)][o(468)](a,i);return d.readdirSync(c)[o(702)](function(e){var r=o,n=u[r(697)][r(468)](c,e),e=u[r(697)].join(i,e);d[r(722)](n)[r(796)]()?s[r(804)](e):s=s[r(941)](t(a,e))}),s}(e,".").filter(function(e){return e!==c})},checkValidity:function(e){(r=new l[(n=_)(404)])[n(653)](String(e));var e=a(r.getNotAfter()),r=a(r[n(890)]()),n=Number(new Date);return{validityDays:Number(e-n)/864e5,isInvalid:0<Number(r)-n}},getSignInfo:C,getApkSignInfo:function(e){var r=_,n={signOnline:!1,onlineConfig:null},t=((t=new l[r(404)])[r(653)](e[r(723)]()),l[r(540)].getPEM(t[r(581)]())),a=Buffer[r(627)](v[r(885)][r(321)](e)),i=Buffer.alloc(a.length+4);return i.writeInt32LE(a[r(624)],0),a[r(876)](i,4),n[r(856)]={content:e,obj:{len:i[r(624)],buffer:i},pemBuffer:Buffer[r(627)](v[r(885)][r(321)](t))},n},getSignedZipCertFp:function(e){return B[_(955)](this,arguments)},getCertFp:function(e){var r=_;if(d[r(927)](e))return g(d[r(444)](e).toString());console[r(322)]("error : certificate.pem is not exist!")},signFullApk:function(e,r){return t[_(955)](this,arguments)},getCertString:function(e){var r=_;if(!e||!d[r(927)](e))throw new Error(r(625)+e);if(e=d[r(444)](e),!w[r(841)](e))throw new Error(r(611));var n=w[r(935)](e,!0);if(!n[r(940)][r(307)].tag)throw new Error("No sign block!");if(e=k[r(768)](e,n[r(940)][r(307)]),n=k[r(814)](e))return g(n);throw new Error(r(867))}}}),K=b(function(e,r){var f=_0x426a,l=require(f(682)),v=require("fs"),t=require(f(752)),n=require(f(706)),h=require(f(573)),a=f(851),i=f(742),o=f(751),s=f(792),c=f(412),u=f(313),p=(0,j()[f(387)])(f(859)),g=require(f(683)),_=g.exec,d=g.spawnSync;function y(e){var r,n=f,t=l[n(726)](e,n(564));if(!v[n(927)](t))return l.join(e,n(495));t=m(t);if(0<(null==t||null==(r=t[n(325)])?void 0:r[n(624)]))return l[n(468)](e,t.modules[0][n(623)]);throw new Error(n(511))}function m(r){var n=f;if(!v[n(927)](r))return{};var e={};try{e=t.parse(v[n(444)](r,n(922))[n(723)]()||"{}")}catch(e){throw new Error("parse json file error at "[n(941)](r,":")[n(941)](e[n(459)],":")[n(941)](e[n(596)]," "))}return e}var b=function(e){var r=f;return Promise[r(563)](e[r(668)](function(r){if(v.existsSync(r))return new Promise(function(e){n[_0x426a(528)](r),e()})}))};function w(){var e=f;return(w=_asyncToGenerator(_regenerator().m(function e(n,t){var a,i,o,s,c,u,f;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.p=0,e.n=1,h(n,t);case 1:i=v[r(708)](t,{withFileTypes:!0}),a=[],i=_createForOfIteratorHelper(i),e.p=2,i.s();case 3:if((f=i.n()).done)e.n=9;else{if(o=f[r(681)],s=l[r(726)](l[r(468)](t,o[r(825)])),c="","base.sspk"===o[r(825)])return e.n=4,h(s,t);e.n=5}break;case 4:c=l[r(726)](l.join(t,r(690))),e.n=7;break;case 5:return u=o.name[r(899)](".")[0],e.n=6,h(s,l.resolve(t,u));case 6:c=l[r(726)](l[r(726)](t,u,r(690)));case 7:a.push(c),v[r(764)](s);case 8:e.n=3;break;case 9:e.n=11;break;case 10:e.p=10,f=e.v,i.e(f);case 11:return e.p=11,i.f(),e.f(11);case 12:return e.n=13,b(a);case 13:e.n=15;break;case 14:throw e.p=14,e.v;case 15:return e.a(2)}},e,null,[[2,10,11,12],[0,14]])})))[e(955)](this,arguments)}r[f(530)]={RAWFILE_DIR:a,ASCF_BUILD:i,ASCF_CONFIG_JSON:o,P12_PATH:s,QUICK_SERVICE_BUILD:c,DIST_PATH:u,getManifestData:function(e){return m(l[f(726)](y(e),a,"manifest.json"))},getEntryPkgPath:y,readJsonFile:m,clearResource:b,copyDirectory:function e(r,n){var t,a=f;if(v[a(905)](n,{recursive:!0}),v[a(722)](r).isFile())t=l[a(468)](n,l[a(544)](r)),v.copyFileSync(r,t);else{var i,o=_createForOfIteratorHelper(v[a(708)](r,{withFileTypes:!0}));try{for(o.s();!(i=o.n())[a(538)];){var s=i.value,c=l.resolve(l[a(468)](r,s[a(825)])),u=l[a(468)](n,s[a(825)]);s[a(733)]()?e(c,u):v[a(888)](c,u)}}catch(e){o.e(e)}finally{o.f()}}},mkdirsSync:function e(r){var n=f;if(!v[n(927)](r)){if(v[n(927)](l[n(769)](r))||!e(l[n(769)](r)))return v[n(905)](r);print("mkdirSync err : "[n(941)](r))}},formatHexString:function(e){var r=f;if(64!==e.length)throw new Error(r(471));for(var n="",t=0;t<e[r(624)];t+=2)n+=e[r(875)](t,2)+":";return n[r(740)](0,-1)[r(431)]()},extractspk:function(e,r){return w[f(955)](this,arguments)},deleteDirectory:function n(t){var a=f;v.existsSync(t)&&(v[a(708)](t).forEach(function(e){var r=a,e=l[r(468)](t,e);v[r(665)](e)[r(733)]()?n(e):v[r(764)](e)}),v.rmdirSync(t))},executeCommand:function(i){var o=/^mac verified ok/i;return new Promise(function(r,n){var e,t=_0x426a,a=_(i);null!=(e=a[t(458)])&&e.on(t(362),function(e){p[t(602)](e)}),null!=(e=a.stderr)&&e.on("data",function(e){var r=t;!e[r(891)](o)&&i[r(587)](r(848))&&n(e)}),null!=(e=a[t(347)])&&e.on(t(322),function(e){n(e)}),a.on(t(919),function(e){r(e)})})},checkOpenSSL:function(e){var r=f;if(0===(e=d(e,[r(562)],{encoding:r(922)})).status)return p[r(602)](e.stdout),!0;throw new Error(r(365)+e[r(347)])}}}),je=b(function(e,r){var n=_0x426a,t=require(n(682)),a=require("os"),i=K()[n(452)],o=a.platform(),s=(0,j()[n(387)])(n(570)),c=!1;r[n(530)]={getOpensslPath:function(){var e=n,r="openssl";return o===e(896)&&(r=t[e(468)](__dirname,e(813))),c||(s[e(602)](r),c=i(r)),r},getOpensslConfig:function(){var e=n,r="";return r="win32"===o?e(821)[e(941)](t[e(468)](__dirname,e(567))):r}}}),yr=b(function(N,e){var h,l=_0x426a,f=require(l(608)),p=require("path"),g=require("fs"),a=require(l(654)),_=se(),r=j()[l(387)],n=K(),d=n[l(886)],y=n[l(393)],m=n[l(318)],b=n[l(918)],w=n[l(421)],k=n.getManifestData,L=n[l(695)],D=n[l(832)],v=n[l(520)],R=n[l(754)],H=n[l(620)],E=n[l(738)],A=je()[l(829)],C=r(l(337)),c=100,q=1e4,M=0;function B(){return t[l(955)](this,arguments)}function t(){var e=l;return(t=_asyncToGenerator(_regenerator().m(function e(n,t){var a,i,o;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return a=p[r(726)](n,D),e.n=1,function(){return u[l(955)](this,arguments)}(t,n,a);case 1:return i=e.v,e.n=2,function(){return s[l(955)](this,arguments)}(t,n,a);case 2:return o=e.v,e.a(2,_[r(636)](o,i,h))}},e)})))[e(955)](this,arguments)}function s(){return(s=_asyncToGenerator(_regenerator().m(function e(i,o,s){var c,u,f;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(c="",g.existsSync(i[r(454)])&&(C[r(602)]("Obtaining a public Key using a Path"),c=g[r(444)](i.signPublicKeyPath)),!c&&g[r(927)](i.signProfilePath))return C[r(602)](r(588)),e.n=1,O(i[r(887)],I(i[r(775)]));e.n=2;break;case 1:c=e.v;case 2:c||!g[r(927)](s)?e.n=5:(u=null==(u=JSON[r(692)](g[r(444)](s)[r(723)]()))?void 0:u[r(879)],g[r(927)](null==u?void 0:u[r(565)])?(C[r(602)](r(443)),c=g.readFileSync(u[r(565)]),e.n=5):e.n=3);break;case 3:if(g[r(927)](null==u?void 0:u[r(874)]))return C.debug("Obtain the public key from the ascf.config.json profilePath"),e.n=4,O(u.profilePath,I(i[r(775)]));e.n=5;break;case 4:c=e.v;case 5:if(f=p.resolve(o,r(541)),!c&&g[r(927)](f)&&(C.debug("Obtaining the public key using "[r(941)](f)),c=g[r(444)](f)),f=p[r(726)](o,v),!c&&g.existsSync(f))return C[r(602)]("Obtaining the public Key Using the .p12 File"),e.n=6,O(f,I(i[r(775)]));e.n=7;break;case 6:c=e.v;case 7:c||(C[r(322)](r(781)),process[r(490)](-1)),a=t=n=void 0;var n=c,t=l,a=(n=_.checkValidity(n))[t(330)],n=n[t(488)];if(a<0||n)throw new Error(t(526));return a<180&&C[t(710)]("WARNING: Your certificate is valid for less than 180 days. Please update it in time."),e.a(2,c)}},e)}))).apply(this,arguments)}function u(){var e=l;return(u=_asyncToGenerator(_regenerator().m(function e(n,t,a){var i,o,s;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(i="",g[r(927)](n[r(410)])&&(C[r(602)](r(770)),i=g[r(444)](n[r(410)])),!i&&g[r(927)](n.signProfilePath))return C[r(602)](r(588)),e.n=1,G(n[r(887)],I(n[r(775)]));e.n=2;break;case 1:i=e.v;case 2:i||!g.existsSync(a)?e.n=5:(o=null==(o=JSON.parse(g.readFileSync(a).toString()))?void 0:o[r(879)],g[r(927)](null==o?void 0:o.privateKeyPath)?(C.debug("Obtain the private key from the ascf.config.json privateKeyPath"),i=g[r(444)](o[r(667)]),e.n=5):e.n=3);break;case 3:if(g[r(927)](null==o?void 0:o[r(874)]))return C.debug(r(920)),e.n=4,G(o[r(874)],I(n[r(775)]));e.n=5;break;case 4:i=e.v;case 5:if(s=p[r(726)](t,r(445)),!i&&g[r(927)](s)&&(C[r(602)](r(870).concat(s)),i=g.readFileSync(s)),s=p.resolve(t,v),!i&&g.existsSync(s))return C[r(602)]("Obtaining the private Key Using the p12 File"),e.n=6,G(s,I(n[r(775)]));e.n=7;break;case 6:i=e.v;case 7:return i||(C[r(322)](r(790)),process[r(490)](-1)),e.a(2,i)}},e)})))[e(955)](this,arguments)}function x(){return i[l(955)](this,arguments)}function i(){var e=l;return(i=_asyncToGenerator(_regenerator().m(function e(i,r,o,s){return _regenerator().w(function(e){for(;;)if(0===e.n)return e.a(2,(g.existsSync(i)||g.mkdirSync(i),r=o.rpksBuffer,n=i,a=void 0,a=l,(t=s).length>c&&(t=t[a(740)](0,c)),n=p[a(468)](n,t),g[a(531)](n,r),C[a(374)](a(846)[a(941)](n)),n));var r,n,t,a},e)})))[e(955)](this,arguments)}function S(e){var r=l;if(!e[r(858)]||!e[r(858)][r(442)](r(909)))throw new Error(r(651));if(!e.versionName||!e[r(806)])throw new Error(r(354))}function F(e){var r=l,n=(new Date)[r(774)]()[r(899)]("T")[0][r(899)]("-").join(""),t="production"===process[r(489)].NODE_ENV?r(451):r(602);return"".concat(e.package,"-")[r(941)](e[r(806)],"-").concat(t,"-")[r(941)](n,r(547))}function o(){var e=l;return(o=_asyncToGenerator(_regenerator().m(function e(a,r){var n,i,o,s,c,u,f,l,v;return _regenerator().w(function(e){for(var t=_0x426a;;)switch(e.n){case 0:if(n=p[t(468)](a,D),(h=(g[t(927)](n)?require(n):{}).sign)&&!h[t(699)])throw new Error(t(943));e.n=1;break;case 1:return e.n=2,B(a,r);case 2:if(i=e.v){e.n=3;break}throw new Error(t(930));case 3:return o=p.resolve(a,H),s=p.resolve(a,R),e.n=4,m([s]);case 4:if(S(c=k(a)),u=F(c),null!=(n=c[t(597)])&&n[t(702)](function(e){var r=t,n=p[r(726)](a,y,e[r(479)],d);b(n,p[r(726)](s,e[r(479)]))}),b(p[t(726)](w(a),d),s),l=_[t(840)](c.subpackages),f=l.mainPkg,l=l[t(600)],(v=0<(v=[])[t(624)]?v:_[t(338)](s))[t(624)]){e.n=5;break}throw new Error("The packed file is empty.");case 5:return e.a(2,(_[t(669)](v,s,f,l),_[t(379)]("",i,f,l,r)[t(904)]((()=>{var r=_asyncToGenerator(_regenerator().m(function e(n){var t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,x(o,c[r(597)],n,u);case 1:if(t=e.v,"release"===c[r(631)])return e.n=2,T(t);e.n=2;break;case 2:return e.a(2,t)}},e)}));return function(e){return r[_0x426a(955)](this,arguments)}})())))}},e)})))[e(955)](this,arguments)}function P(){var e=l;return(P=_asyncToGenerator(_regenerator().m(function e(n,t,a,i){var o,s,c,u,f,l,v;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return o={signPrivateKeyPath:a,signPublicKeyPath:t,disableSubpackages:r(487)},e.n=1,B("",o);case 1:if(s=e.v,l=p[r(726)](n,"manifest.json"),c=L(l),u=F(c),S(c),l=_[r(840)](c[r(597)]),f=l[r(433)],l=l[r(600)],(v=0<(v=[]).length?v:_.getResources(n))[r(624)]){e.n=2;break}throw new Error(r(640));case 2:_[r(669)](v,n,f,l),i=null!=i?i:p[r(726)](n,"dist"),_[r(379)]("",s,f,l,o).then((()=>{var r=_asyncToGenerator(_regenerator().m(function e(n){var t;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,x(i,c[r(597)],n,u);case 1:if(t=e.v,c.versionType===r(451))return e.n=2,T(t);e.n=2;break;case 2:return e.a(2,t)}},e)}));return function(e){return r[_0x426a(955)](this,arguments)}})());case 3:return e.a(2)}},e)})))[e(955)](this,arguments)}function T(e){var r=l,n=J(),s=n[r(351)],n=n[r(332)];if(g[r(722)](e)[r(911)]>n)throw new Error("Total package is exceed limit "[r(941)](n/1024/1024,r(591)));return new Promise(function(i,o){var t=r;g[t(594)](e,function(e,r){var n=t;if(e)return o(e);a[n(427)](r)[n(904)](function(e){var t=n,a=null;if(e[t(702)](function(e,r){var n=t;if(q<++M)throw n(441);!a&&r[n(712)][n(707)]>s&&(a=new Error(n(771)[n(941)](s/1024/1024,n(591))))}),a)return o(a);i()})})})}function I(e){var r=l,e=null!=e?e:process[r(489)][r(411)];return e||(C[r(322)](r(359)),process[r(490)](-1)),e}function G(c,u){return new Promise((n=_asyncToGenerator(_regenerator().m(function e(n,t){var a,i,o,s;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return C[r(602)](r(787)),a=f[r(398)](16).toString(r(568)),i=f[r(398)](16)[r(723)](r(568)),e.p=1,o=""[r(941)](A(),r(729))[r(941)](c,r(375))[r(941)](a," -passin pass:").concat(u),C[r(602)]("".concat(A(),r(729))[r(941)](c,r(375))[r(941)](a,r(328))),e.n=2,E(o);case 2:return o="".concat(A(),r(661)).concat(a,r(314))[r(941)](i),C[r(602)](""[r(941)](A()," ec -in ")[r(941)](a,r(314))[r(941)](i)),e.n=3,E(o);case 3:return g[r(927)](a)&&g[r(764)](a),s="",e.a(2,(g[r(927)](i)&&(s=g[r(444)](i),g.unlinkSync(i)),C[r(602)](r(863)),n(s)));case 4:e.p=4,s=e.v,g[r(927)](a)&&g.unlinkSync(a),g[r(927)](i)&&g[r(764)](i),t(r(871)[r(941)](s));case 5:return e.a(2)}},e,null,[[1,4]])})),function(e,r){return n[_0x426a(955)](this,arguments)}));var n}function O(s,c){return new Promise((n=_asyncToGenerator(_regenerator().m(function e(n,t){var a,i,o;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return a=f[r(398)](16)[r(723)]("hex"),e.p=1,i=""[r(941)](A(),r(729))[r(941)](s," -nokeys -clcerts -passin pass:")[r(941)](c,r(700))[r(941)](A(),r(721))[r(941)](a),C[r(602)](""[r(941)](A(),r(729)).concat(s,r(724))[r(941)](A(),r(721))[r(941)](a)),e.n=2,E(i);case 2:if(g[r(927)](a))return i=g[r(444)](a),e.a(2,(g[r(764)](a),n(i)));e.n=3;break;case 3:e.n=5;break;case 4:e.p=4,o=e.v,g[r(927)](a)&&g[r(764)](a),t("Failed to obtain the cert key: ".concat(o));case 5:return e.a(2)}},e,null,[[1,4]])})),function(e,r){return n[_0x426a(955)](this,arguments)}));var n}e[l(530)]={signSpk:function(e,r){return o[l(955)](this,arguments)},resignSpk:function(e,r,n,t){return P[l(955)](this,arguments)}}}),mr=b(function(e,r){var a=_0x426a,s=(require("path"),require("fs")),n=j().getLogger,c=K()[a(738)],t=je(),u=t.getOpensslPath,o=t[a(448)],f=n("cert-utils");function i(){return(i=_asyncToGenerator(_regenerator().m(function e(n,t){var a,i;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(s[r(927)](n)||s[r(927)](t))throw new Error(""[r(941)](n,r(501))[r(941)](t,r(361)));e.n=1;break;case 1:return e.p=1,a=""[r(941)](u(),r(516))[r(941)](n),f.debug(a),e.n=2,c(a);case 2:return a=""[r(941)](u(),r(853))[r(941)](n,r(518))[r(941)](t,r(309))[r(941)](o()),f[r(602)](a),e.n=3,c(a);case 3:e.n=5;break;case 4:e.p=4,i=e.v,f[r(322)](r(805),i),s[r(927)](tempKeyPath)&&s[r(764)](tempKeyPath),s[r(927)](tempCertPath)&&s.unlinkSync(tempCertPath);case 5:return e.a(2)}},e,null,[[1,4]])}))).apply(this,arguments)}function l(){return(l=_asyncToGenerator(_regenerator().m(function e(n,t,a,i){var o;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:if(s[r(927)](n))throw new Error("".concat(n,r(361)));e.n=1;break;case 1:return e.p=1,o=""[r(941)](u()," pkcs12 -export -out ")[r(941)](n,r(369))[r(941)](t,r(946)).concat(a,r(739))[r(941)](i),console[r(420)](""[r(941)](u(),r(877)).concat(n,r(369)).concat(t," -in ")[r(941)](a,r(655))),e.n=2,c(o);case 2:e.n=4;break;case 3:e.p=3,o=e.v,f[r(322)](r(872),o),s[r(927)](n)&&s[r(764)](n);case 4:return e.a(2)}},e,null,[[1,3]])}))).apply(this,arguments)}r.exports={genCert:function(e,r){return i[a(955)](this,arguments)},genP12:function(e,r,n,t){return l[a(955)](this,arguments)}}}),Er=b(function(e){var n=_0x426a,a=require(n(682)),i=require(n(573)),o=se()[n(755)],r=K(),s=r[n(318)],c=r[n(746)];function t(){return(t=_asyncToGenerator(_regenerator().m(function e(n,t){return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return t=null!=t?t:a[r(726)](a[r(769)](n),"dist"),e.n=1,o(n);case 1:return e.n=2,s([t]);case 2:return e.n=3,i(n,t);case 3:c(a.resolve(t,r(690)));case 4:return e.a(2)}},e)}))).apply(this,arguments)}e[n(855)]=function(e,r){return t[n(955)](this,arguments)}}),Br=b(function(e,r){var h=_0x426a,d=require("fs"),y=require(h(682)),i=require(h(654)),n=K(),m=n[h(363)],p=n.extractspk,g=n[h(318)],b=se(),o=h(333),w="";function _(){var e=h;return(_=_asyncToGenerator(_regenerator().m(function e(n,t,a,i){var o,s,c,u,f,l,v,h,p,g,_;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return m(t),o=n[r(858)],s=n[r(631)],c=n[r(806)],p=i[r(942)],f=i.certFilePath,f=d.readFileSync(f),p=d[r(444)](p),e.n=1,b[r(636)](f,p);case 1:if(u=e.v,f=b[r(840)](n[r(597)]),l=f[r(433)],v=f[r(600)],(h=0<(h=[])[r(624)]?h:b[r(338)](a))[r(624)]){e.n=2;break}throw new Error(r(640));case 2:return b.addResourceToPkg(h,a,l,v),e.n=3,b.signPkgs(o,u,l,v,{disableSubpackages:"false"});case 3:p=e.v,g=p[r(715)],_=(new Date)[r(774)]()[r(899)]("T")[0].split("-")[r(468)](""),w=y[r(468)](t,"".concat(o,"-")[r(941)](c,"-")[r(941)](s,"-")[r(941)](_,r(547))),d[r(531)](w,g);case 4:return e.a(2)}},e)})))[e(955)](this,arguments)}function k(){return(k=_asyncToGenerator(_regenerator().m(function e(n){var t,a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.n=1,(new i).loadAsync(d[r(444)](n));case 1:if((t=e.v).files[r(513)]){e.n=2;break}throw new Error("Can not resolve base.sspk file.");case 2:return e.n=3,t[r(780)][r(513)].async(r(406));case 3:return a=e.v,e.n=4,(new i).loadAsync(a);case 4:return e.n=5,e.v[r(554)](o)[r(327)](r(561));case 5:return a=e.v,e.a(2,JSON.parse(a)||{})}},e)}))).apply(this,arguments)}r[h(530)]={spkHandler:function(c,u,f,l,v){return new Promise((n=_asyncToGenerator(_regenerator().m(function e(t,a){var i,o,s;return _regenerator().w(function(e){for(var r,n=_0x426a;;)switch(e.n){case 0:if(d[n(927)](c)){e.n=1;break}return e.a(2,a(new Error("Can not resolve spk file: "[n(941)](c))));case 1:if(d[n(927)](u)){e.n=2;break}return e.a(2,a(new Error(n(622).concat(u))));case 2:if(d[n(927)](f)){e.n=3;break}return e.a(2,a(new Error(n(310)[n(941)](f))));case 3:return e.n=4,function(){return k[h(955)](this,arguments)}(c);case 4:if(i=e.v,r=i,0===Object[h(453)](r).length)return e.a(2,a(new Error(n(329))));e.n=5;break;case 5:return o=i.package,s=y[n(769)](c),s=y[n(468)](s,o),o=y[n(468)](null!=l?l:s,"quick-service-build"),s=y[n(468)](null!=l?l:s,n(831)),e.n=6,g([o,s]);case 6:return m(o),e.n=7,p(c,o);case 7:return i[n(631)]=null!=v?v:i.versionType,d[n(531)](y.resolve(o,n(333)),JSON.stringify(i,null,2)),e.n=8,function(){return _[h(955)](this,arguments)}(i,s,o,{privateKeyFilePath:f,certFilePath:u});case 8:return e.a(2,t(w))}},e)})),function(e,r){return n[_0x426a(955)](this,arguments)}));var n}}}),_yr=yr(),yi=_yr[_0x4d3e84(543)],wi=_yr.resignSpk,_mr=mr(),mi=_mr[_0x4d3e84(331)],Si=_mr[_0x4d3e84(643)],_K6=K(),Ei=_K6.formatHexString,_Er=Er(),Di=_Er.verifySignHandler,_j6=j(),Ci=_j6[_0x4d3e84(387)],_Br=Br(),Ai=_Br.spkHandler,_se2=se(),Bi=_se2[_0x4d3e84(589)],A=Ci(_0x4d3e84(686));function bi(e,r){return _bi[_0x4d3e84(955)](this,arguments)}function _0x426a(e,r){var n=_0x39c8();return(_0x426a=function(e,r){return n[e-=303]})(e,r)}function _bi(){var e=_0x4d3e84;return(_bi=_asyncToGenerator(_regenerator().m(function e(n,t){var a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.p=0,A[r(374)](r(948)),e.n=1,yi(n,t);case 1:return a=e.v,e.a(2,(A[r(374)](r(390)),a));case 2:e.p=2,a=e.v,A[r(734)](r(553)+a),process[r(490)](-1);case 3:return e.a(2)}},e,null,[[0,2]])})))[e(955)](this,arguments)}function Ii(e,r,n,t){return _Ii[_0x4d3e84(955)](this,arguments)}function _Ii(){return(_Ii=_asyncToGenerator(_regenerator().m(function e(n,t,a,i){var o;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.p=0,A[r(374)](r(429)),e.n=1,wi(n,t,a,i);case 1:A[r(374)](r(390)),e.n=3;break;case 2:e.p=2,o=e.v,A[r(734)](r(553)+o),process[r(490)](-1);case 3:return e.a(2)}},e,null,[[0,2]])}))).apply(this,arguments)}function ki(e,r){return _ki[_0x4d3e84(955)](this,arguments)}function _ki(){var e=_0x4d3e84;return(_ki=_asyncToGenerator(_regenerator().m(function e(n,t){var a;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.p=0,A[r(374)](r(936)),e.n=1,Di(n,t);case 1:A[r(374)](r(356)),e.n=3;break;case 2:e.p=2,a=e.v,A[r(374)](r(709),a),process.exit(-1);case 3:return e.a(2)}},e,null,[[0,2]])})))[e(955)](this,arguments)}function _0x39c8(){var e=["getCertBuffer","uninstall","tcp:9225","defineProperty","DevEco Studio","writeInt8","result","-config ","exec repack success, repack package path: ","needRm",'"`"',"name","ASCF unhandled rejection at:","send","filter","getOpensslPath","hap","dist","ASCF_CONFIG_JSON","sign request error: ","userName","const.product.name","cpList","localabstract:webview_devtools_remote_","certs","execSync","generatePkgDef","checkZipBuffer","Authorization","start ability error","getDevices","openBrowser","Build spk ","Buffer","pkcs12","encodeURL","catch","src/main/resources/rawfile","start install pkg under "," req -new -x509 -key ","categories","verifySignHandler","cert","= \f\n\r\t \u2028\u2029","package","utils","Arguments","undefined","reason:","Obtaining the private key is complete.","/AppScope/app.json5","fportRmWeb","No rpk file : ","Get Certificate error!","hash.json","random","Obtaining the private key using ","Failed to obtain the private key: ","Failed to generate p12","install","profilePath","substr","copy"," pkcs12 -export -out ",' | grep -v render | grep -v grep"',"signConfig","pkgName","localPort","fileContentBuffer","oh_modules","Map","Base64","RAWFILE_DIR","signProfilePath","copyFileSync","unhandledRejection","getNotBefore","match","start exec print fingerprints","fportRmV8","build.log","AscfDebugger","win32","repack failed: ","disableSubpackages","split","fileBuildPath","round","--parallel","handle success","then","mkdirSync","200rgqQJH","pid","stop","com.atomicservice.","Unknown","size","setCurrent","abc","obj","start startAbility under ","configure","### Sign Failed, cannot open file: ","copyDirectory","close","Obtain the private key from the ascf.config.json profilePath","connect","utf-8","signOnline","dssKey","projectRoot","pubkey","existsSync","_invoke","assign","ERROR: Failed to obtain the signature configuration information.","pathname","EntryAbility","Base64 encoding incomplete: at least 2 bits missing","tcp:","parserZip","start exec verify sign","install hap error","DebugPortManager","ascf-cache","sections","concat","privateKeyFilePath","ERROR: The signature configuration file is incorrect, the hostvalue is empty.","status","stopService"," -in ",'"ps -ef | grep ',"start exec sign spk","indexOf","function"," is not supported","assembleAndInstallHap","startService","set","apply","start","SHA-256","microsoft edge","onlineConfig","sign","--allow-file-access-from-files",' -days 3650 -sha256 -subj "/CN=ASCF/OU=/O=/L=/ST=/C=CN" ',"Can not resolve private key file: ",", timestamp=","0123456789ABCDEF","build/dist"," -check -out ","iterator result is not an object","generateAsync","SIGN_TYPE_FILE_LIST","clearResource","ERROR: Rpk sign failed!","ASCF_DEVECO_SDK_HOME","unarmor","error","getCurrent","pemBuffer","modules","CLOUDSOA-HMAC-SHA256 appid=","async"," -passin pass:***","Invalid spk file.","validityDays","genCert","MAX_SIZE_SPK","manifest.json","google-chrome-stable","/json","central","generate-spk","getResources","js-base64","clean","fileList","toUint8Array","key","cache","debug-log-file","sign request error:","stderr","assembleHap err","SYSTEMROOT","Cannot call a class as a function","MAX_SIZE_SSPK","http","get","The versionName and versionCode fields in the app.json file cannot be empty.","--disable-web-security","Signature verification succeeded.","--daemon","hasOwnProperty","signPwd is null, please configure through cli options, ascf.config.json or env ASCF_SIGN_PWD","iterator"," exists","data","mkdirsSync","CERT_HEAD","Please install openssl or configure PATH.","privateKey","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","No sign block!"," -inkey ","runCmd exited.","RSA-SHA256","enumerable","splice","info"," -nocerts -nodes -out ","createVerify","usingTmpDir","fileContentDigest","signPkgs","installDeps err","dispose","spk-sign-utils","SIGN_HEADER",".sspk"," errors:\n","getDssKey","getLogger","fportWeb","bin","Signed successfully.","SIGN_TYPE_FULL_PACKAGE","err","ASCF_BUILD","instance","18153gNseld","exec print fingerprints success, fingerprints info: ","pidof","randomBytes","init","createSign","getDebugees error: ","signature","Failed to verify the signature","X509","-ExecutionPolicy","nodebuffer","alloc","C:\\Program Files\\Huawei\\DevEco Studio\\tools","generateCertificate","signPrivateKeyPath","ASCF_SIGN_PWD","build/quick_service_build","utf16le","get device name error","Invalid JSON","Object","already has forward","runCmd exited with code ","@@toPrimitive must return a primitive value.","log","getEntryPkgPath","please open url in browser: ","throw","dss","> ascf-toolkit %p %c %[%m%]","getTime","loadAsync","Your certificate is Invalid.","start exec resign spk","toPrimitive","toUpperCase","process","mainPkg","end","deviceId","--sync","startView","NONEWITHRSA","signData","webLocalPort","Reached max. number of files","startsWith","Obtain the public key from the ascf.config.json publicKeyPath","readFileSync","sign/private.pem","isArray","-EncodedCommand","getOpensslConfig","GeneratorFunction","\\System32\\WindowsPowerShell\\v1.0\\powershell","release","checkOpenSSL","keys","signPublicKeyPath","writeInt32LE","node","success","stdout","lineNumber","CRC32","runCmdAsync","uncaughtException","uninstall hap error","AscfToolkit","/../tools/","bundleName","symbol","join","readInt32LE","chromium","指纹格式错误","&timestamp=","shell","%d{yyyy-MM-dd hh:mm:ss.SSS} > ascf-toolkit %p %c %m","add","start installDeps under ","-NoProfile","usingTmpDir error","resource","Launched within ","init AscfDebugger with options","taskkill /pid ","ports:\n","port ","application/json","setDssConfig","false","isInvalid","env","exit","POST","5705WJYtNK","mkdir error","hostname","entry","chrome","digest","encode","view","setDssHost"," or ","list targets error: ",", browser url: ","signatures","getOwnPropertySymbols","cwd","/build-profile.json5","signdata","failed to obtain the fingerprint: ","SIGN_TYPE_FULL_PACKAGE_APK","getEntryPkgPath error, build-profile.json5 file modules is null","runCmd stdout","base.sspk","killProcess error","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"," ecparam -name secp256r1 -genkey -noout -out ","call"," -out ","options","P12_PATH","createHmac","101534cbepev","assembleHap error","cur","__proto__","ERROR: Your certificate is Invalid.","dssHost","sync","hvigorClean err","exports","writeFileSync","platform","module=","fport web error: ","Hex encoding incomplete: 4 bits missing","checkBundleName","handle error","done","displayName","KEYUTIL","sign/certificate.pem","../sdk","signSpk","basename","hsp","param",".spk","constructor","612aiqxqI","apk","unref","invalid subCmd, should be ","Signing failed: ","file","$1\n","SIGN_MAGIC","hapPath is not exists","-ArgumentList","The iterator does not provide a '","chrome://inspect/#devices","string","version","all","build-profile.json5","publicKeyPath","1807778kjqRbW","../tools/release_64/SSL/openssl.cnf","hex","once","openssl","open","__esModule","decompress","errMsg","del","fport","return","C:\\Windows","--incremental","npm.cmd","getPublicKey","installHap","getOwnPropertyDescriptor","Please check the following: 1.The device is connected to the computer. 2. The screen is on. 3. Check whether the debugging port is occupied.","getDssKeyId","v8LocalPort","includes","Obtain the private key using the p12 file path specified by the parameter","getCertString","timeout"," MB.","root","tag","readFile"," \f\n\r\t \u2028\u2029","columnNumber","subpackages","unshift","message","subPkgs","fportRm","debug","getSignDigestOnline","setTimeout","hvigorw","darwin","log4js","crypto","CRYPT_TYPE_RSA_SHA256","setDssKey","Get File Certificate Error!","spawn","configurable","header","SHA256","pattern","RegExp out of sync","cachedir","[object Generator]","DIST_PATH","remotePort","Can not resolve certificate file: ","srcPath","length","No srpk file : ","signchunk","from"," /T /F","digests","microsoft-edge","versionType"," is not found",'`""',"AscfBuilder","3lJQUNr","getSignInfo","UTC","update","microsoft-edge-dev","The packed file is empty.","request","assembleHap","genP12","238508yZvMGR"," error","passwordDigest","@@toStringTag","no sign chunk!","getInstance","Generator","The package in the app.json file cannot be empty and must start with com.atomicservice.","buffer","readCertPEM","jszip"," -passout pass:***","setPrototypeOf","previous","exec","runHdcCmdAsync","getDssHost"," ec -in ","CERT_END","APK Sig Block 42","-rf","lstatSync","kill","privateKeyPath","map","addResourceToPkg","type","createHash","fport ls error: ","getSignData","@@iterator","google chrome","atomicservice","getPEM","test","Rsagen-V3.0.1.20190615","====","value","path","child_process","/data/local/tmp/","has","index","runCmd stderr","DEVECO_SDK_HOME","problem with request: ","META-INF","140564dpdMFj","parse","writable","listTargets error or no devices found","readJsonFile","app","posix","mkdir","host"," | ","/Applications/DevEco-Studio.app/Contents/tools","forEach","terminal","ohpmClean err","fport error: ","rimraf","compressedSize","readdirSync","Failed to verify the signature: ","warn","footer","_data","Socket","prototype","rpksBuffer","POST&","fportV8","-NonInteractive","destroy","hdc"," x509 -out ","statSync","toString"," -nokeys -clcerts -passin pass:*** | ","base64","resolve","getDebugUrl ","' method"," pkcs12 -in ","SIGN_MAGIC_APK","installDeps","keyId","isDirectory","fatal","ASCF uncaught error","3067710MbsEkL","signZipResource","executeCommand"," -passout pass:","slice","127.0.0.1","ascf/ascf_build","rpk","sData","stopView","deleteDirectory","windir","handle","force-stop","start uninstall pkg under ","ascf/ascf_src/ascf.config.json","json5","ohpm","QUICK_SERVICE_BUILD","getSignedZipCertFp","decode","isApkSign","handle end","startIndex","getBufferSha256","start assembleHap under ","create","signDataBufList","unlinkSync","build\\default\\outputs\\default\\","start ohpm clean under ","getDeviceId","getSignChunk","dirname","Obtaining a private Key using a Path","Package is exceed limit ","start hap error","hash","toISOString","signPwd","getPrototypeOf","handle ","BEGIN_TAG","substring","files","failed to obtain the public key, please ensure certificate.pem or ascf-build.p12 under sign","next","additional","sign files, use remote sign","stopping","charCodeAt","Start to obtain the private key","default","fileSync","failed to obtain the private key, please ensure private.pem or ascf-build.p12 under sign","len","sign/ascf-build.p12","google-chrome","edge","stringify","isFile","replace","charAt","../sdk/default/openharmony/toolchains","toLowerCase","The selected Atomic Service is not running properly. Please start the Atomic Service first.","trim",', signature="',"push","Failed to generate cert","versionCode","abort","write","msedge","toStringTag","META-INF/CERT","defineProperties","../tools/release_64/bin/openssl.exe"];return(_0x39c8=function(){return e})()}function vi(e,r,n,t,a){return _vi[_0x4d3e84(955)](this,arguments)}function _vi(){var e=_0x4d3e84;return(_vi=_asyncToGenerator(_regenerator().m(function e(n,t,a,i,o){var s;return _regenerator().w(function(e){for(var r=_0x426a;;)switch(e.n){case 0:return e.p=0,A[r(374)]("start exec repack"),e.n=1,Ai(n,t,a,i,o);case 1:s=e.v,A[r(374)](r(822)+s),e.n=3;break;case 2:e.p=2,s=e.v,A.fatal(r(897)+s),process[r(490)](-1);case 3:return e.a(2)}},e,null,[[0,2]])})))[e(955)](this,arguments)}function Fi(e){var r=_0x4d3e84;try{A[r(374)](r(892));var n=Bi(e),t=Ei(n);A[r(374)](r(396)+t)}catch(e){A[r(734)](r(509)+e),process.exit(-1)}}process.on(_0x4d3e84(462),function(e){var r=_0x4d3e84;A[r(322)](r(735),e)}),process.on(_0x4d3e84(889),function(e,r){var n=_0x4d3e84;A[n(322)](n(826),r,n(862),e)}),module[_0x4d3e84(530)]={signPkg:bi,resignPkg:Ii,verifySign:ki,repackHandler:vi,printFp:Fi,genCert:mi,genP12:Si};
1
+ function _0x4b6b(){var e=["readBlockZip64EndOfCentral","wrapped end","compressWorker","dss","_worker","getResources","9dieUZF","build/quick_service_build","Object","toPrimitive","removeChild","getOwnPropertyDescriptor","80087ecxCjk","diskNumberStart","entry","endEmitted","application/zip","matches","openssl","super_","createArgument","emit readable","file","categories","Argument must be a number","Nodejs stream input adapter for ","allocUnsafeSlow","terminal"," -nocerts -nodes -out ","substr","readdirSync","fill","window_size",", browser url: ","realpathSync","w_mask","outputHelp callback must return a string or a Buffer","inspect","MAX_VALUE_16BITS","Generator","do read","tcp:","dist","readExtraFields","crc32","start ability under ","_allowUnknownOption","parseArg","charCodeAt","window","node.exe","commander.version","extraStreamInfo","prependListener","commander.conflictingOption","delay","pkgName","incompatible version","cancelled","exitOverride","_hasHelpOption","CENTRAL_DIRECTORY_END","currentFile","beforeAll","centralDirSize","Obtain the public key from the ascf.config.json profilePath","writeErr","action","iterator result is not an object","_tickAndRepeat"," is not a valid compression method !","getDeviceId","GeneratorFunction","addArgument","_concatValue","EACCES","usingTmpDir error","combineFlagAndOptionalValue","/Applications/DevEco-Studio.app/Contents/tools","browser","isEncoding","output","hash","Argument must not be a number","### Sign Failed, zip file error: ","stopping","charAt","cli","log","static_len","setOptionValue","InvalidArgumentError","_checkForConflictingOptions","[object File]","option:","fportWeb","Bug : can't construct the Blob.","optionDescription","valueOf","bi_buf","_createPako","_outputConfiguration","match_start","outcome","startView","parse json file error at ","9229","assembleHap err","getOwnPropertySymbols","extraFields","runHdcCmdAsync","date","writing","createCommand","Failed to verify the signature","com.atomicservice.","v1.8."," -passin pass:","_internalType","hasOwnProperty","extra_base","min","readableListening","Hex encoding incomplete: 4 bits missing","_helpCommandName","implied","The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.","finalCalled","find","start uninstall pkg under ","EntryAbility","uncork","Z_SYNC_FLUSH","_hasImplicitHelpCommand","/AppScope/app.json5","error : certificate.pem is not exist!","StringDecoder","newBufferFrom","hapPath is not exists","parserZip","max","strm","_read() is not implemented","hash_mask","string","compressedSize","avail_in","stringifyByChunk","diskWithCentralDirStart","needRm","dirRecord","dyn_dtree","extra_len","throw","external","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/","handle error","execArgv","variadic","hvigorw","length","bi_valid","_storeOptionsAsProperties","signData","createHmac","helpInformation","_hidden","Writable","subPkgs","isBuf"," -check -out ","substring","prepareNextSource","start exec verify sign","custom","module","connect","setDssHost","_helpShortFlag","invalid subCmd, should be ","max_code","isLocked","storeOptionsAsProperties","listeners","offset","[object ArrayBuffer]","write"," ecparam -name secp256r1 -genkey -noout -out ","fileSync","42PlUEAp","module=","sha256","_checkForConflictingLocalOptions","2009030vAJdBU","signConfig","====","installDeps","_executeSubCommand","Crc32Probe","_usage","utf-8","existsSync"," req -new -x509 -key ","lendyn","buffer",".tsx","nice_match","@default","Corrupted zip : compression ","xflags","signPwd is null, please configure through cli options, ascf.config.json or env ASCF_SIGN_PWD","writelen","events","addCommand","Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)","inflateInfo","writeInt32LE","versions","loadOptions","openedSource","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","(outputHelp)","bufferProcessing","hvigorClean err","SIGN_MAGIC","hcrc","getContentWorker","Deflate","invalid block type","clear","ERROR: Your certificate is Invalid.","pretty","_mimeType","LOCAL_FILE_HEADER","beforeAllHelp","uncaughtException","method","internalFileAttributes","createElement","transforming","utf8","20712JaLjkO","DEVECO_SDK_HOME","RSA-SHA256","privateKey","atomicservice","ZIP64_CENTRAL_DIRECTORY_LOCATOR","help","Signing failed: ","invalid window size","--incremental","child_process","isStream","async","mkdirSync","Stream","setEncoding","unhandledRejection","error: command-argument value '","verifySignHandler","keyId","ohpmClean err","Corrupted zip: missing ","tcp:9225","Can't read the data of '","generatedError","Set","decoder","resume read 0","info","utf16le","statSync","Signed successfully.","lstatSync","1822792nJiVwP","createOption","repack failed: ","valueFromOption","clearResource","Base64","SIGN_TYPE_FILE_LIST","error: ","exec print fingerprints success, fingerprints info: ","all","defaultEncoding","DOS","timeout","hvigor","byteAt","Derived constructors may only return object or undefined","ConvertWorker to ","-ExecutionPolicy","inflateInit","Can not resolve certificate file: ","max_chain_length","total_out","uncompressWorker","_helpConfiguration","call pause flowing=%j","openBrowser error, please try later","flowing","mkdir","package","request","long","hdc.exe","visibleCommands","_dict_set","wrapped data","_combineFlagAndOptionalValue","base.sspk","setDssKey","lastIndexOf","_exit","readString","finish","getEntryPkgPath","getBufferSha256","then","object","InvalidOptionArgumentError","configureHelp","allocUnsafe","const.product.name","applyCanBeUsed","fromCharCode","generateCertificate","deflate","writableHighWaterMark","reading","localeCompare","Transform","Obtain the private key from the ascf.config.json privateKeyPath","incorrect length check","get device name error","latin1","executableFile","distdyn","getErrHelpWidth","Launched within ","Bypass","opt_len","$1\n","subpackages","isRelease","fportRmWeb","Failed to obtain the private key: ","nlen","userName","inflateInit2","SIGUSR1","Cannot resolve promise with itself","longestSubcommandTermLength","node","raw","Worker ","pathname","ungzip","start install pkg under ","toISOString","assign","invalid literal/lengths set","_executableFile","subarray","ohpm","generateAsync","_write","call .storeOptionsAsProperties() before adding options","fport","newBlob","Cannot pipe, not readable","checkIndex","Rsagen","writableObjectMode","checkSupport","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","compressionMethod","SIGN_TYPE_FULL_PACKAGE","POST&","chunkSize","bl_count"," -> ","encodeURL","_tr_flush_block"," -passout pass:***","pipe","getPEM","support","toNodejsStream","projectRoot","KEYUTIL","_dispatchSubcommand","command:","openBrowser","unixPermissions","--sign-pwd ***","last_lit","inflateRaw","utf8decode","debuglog","depth","assembleHsp","visibleOptions","runCmd exited.","readInt","callback","callRejected","_pakoOptions","extra","incorrect header check","bytesWritten","end","sort","from","_addImplicitHelpCommand","WebKitBlobBuilder","Obtaining the private key using ","/build-profile.json5","_tr_tally","Allowed choices are ","streamFiles","_prepareUserArgs","push","mkdir error","Illegal character at offset ","readable","rpk","../tools/release_64/SSL/openssl.cnf","failed to obtain the fingerprint: ","inflateReset","No rpk file : ","lit_bufsize","decodeFileName","ERROR: The signature configuration file is incorrect, the hostvalue is empty.","dssHost","lock","script","success","build","afterAll","AscfDebugger","ins_h","w_bits","Corrupted zip or bug: expected ","chunks","outputError","skip","utf-16le","problem with request: ","alias","encoding","-NonInteractive","uint8array","windowBits","construct","rpksBuffer","randomBytes","processedArgs","needReadable","abs","_defaultCommandName","createFolders","callFulfilled","failed to obtain the public key, please ensure certificate.pem or ascf-build.p12 under sign","observe","mandatory","C:\\Program Files\\Huawei\\DevEco Studio\\tools","text","binarystring","mergeStreamInfo"," error","localPort","lastBufferedRequest","' is invalid.","documentElement","_checkForMissingMandatoryOptions","Z_FINISH","bl_desc","remotePort","cleanUp","memLevel","unknown","readEndOfCentral","PassThrough","inherits","exit","prev_match","asUint8Array","replace","byteLength","RPK Sig Block 42","nameFromFilename",'"callback" argument must be a function',"exec repack success, repack package path: ","getOwnPropertyDescriptors","ucs2","APK Sig Block 42","npm","_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","_getHelpContext","d_buf","writeOut","prototype","ENOENT","load","__esModule","parse",', signature="',"hold","_events","@@iterator","deflateSetHeader","passThroughOptions","head","assembleHap within ","formatHelp","afterTransform","_aliases","Promise","longestArgumentTermLength","start hvigor clean under ","inflateGetHeader","End of data reached (data length = ","Start to obtain the private key","afterAllHelp","unpipe","_optionValues","Package is exceed limit ","invalid distances set","DATA_DESCRIPTOR","build/dist","RegExp out of sync",", asked index = ","start exec sign spk","signPkgs","manifest.json","signDataBufList","msedge","DEVECO_SDK_HOME=","hsp","wnext"," is used","getInstance","getSignDigestOnline","spawn","utf8border","type","Command passed to .addCommand() must have a name\n- specify the name in Command constructor or using .name()","service","commander.invalidArgument","resolve","deflateInit2","bits","next","read: emitReadable","user","data:","cwd","diskNumber","0123456789ABCDEF","header crc mismatch","onfinish","stringify","readLocalFiles","-ArgumentList","This method has been removed in JSZip 3.0, please check the upgrade guide.","UNIX","isFile","round","streamInfo","hookedCommand","Request timed out"," records in central dir, got ","createVerify","Failed to remove cacheDir:","google-chrome-stable","sign/private.pem","fport error: ","rimraf","isInvalid","lineNumber","required","buffer error","_transform() is not implemented","nice_length","split","onwrite","WritableState","stderr","_scriptPath","sections","Map","readBlockZip64EndOfCentralLocator","formatHexString","mimeType","_sources","root","unref","argRequired","check",'"ps -ef | grep ',"init AscfDebugger with options","allocBuffer"," unknown (inner file : ","accumulate","first parameter to parse must be array or undefined","target"," is not found","The selected Atomic Service is not running properly. Please start the Atomic Service first.","please open url in browser: ","pipesCount","[native code]","hdc","ondata","_pako","extname","resignSpk","Readable","_outputType","fportRm","back","DEP0003","corked","getEntryPkgPath error, build-profile.json5 file modules is null","fileList","negate","genCert","gzip","encode","readableObjectMode","DataWorker","call","index","onerror","dualOptions","w_size","files","helpWidth","_allowExcessArguments","tag","pemBuffer","resume","isDefault","promise","../sdk","ascf",".pack_cache",".js","&timestamp=","Obtaining the public key using ","modules","level","oh_modules","startIndex","writecb","distcode","pending_out","Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","nestedError"," -nokeys -clcerts -passin pass:","Failed to generate p12","postAction","hash_size","zip64","commander.missingMandatoryOptionValue","max_chain","data","[command]","msg","tail","externalFileAttributes","zipCommentLength","getCompressedWorker","chrome://inspect/#devices","splitOptionFlags","createTextNode","missingMandatoryOptionValue","CERT_END","SIGTERM","ASCF uncaught error","setOptionValueWithSource","findExtraFieldUnicodePath","usingTmpDir","isEncrypted","Super expression must either be null or a function","lastNeed","localabstract:webview_devtools_remote_","DIST_PATH","Failed to verify the signature: ","SIGN_TYPE_FULL_PACKAGE_APK","[object RegExp]","_tick"," -out ","CRC32","create","close","stdout","slice","chromium","propName","good_length","addResourceToPkg","signSpk","allowHalfOpen","-EncodedCommand","isDate","generateWorker","_dataBinary","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","decodeStrings","_data","production","Z_NEED_DICT","conflicts","args","host","setDssConfig","dispose","stringifyByChar"," is not supported by this method","Invalid Password.\nThe password must contain at least 8 characters and include any two of the following:\n1. Lowercase letters: a-z\n2. Uppercase letters : A-Z\n3. Digits : 0-9\n4. Special characters : `~!@#$%^&*()-_=+\\|[{}];:'\",<.>/?","getUTCDate","implies","pattern","pending","dir","stream.push() after EOF","http","attributeName","MSBlobBuilder","Utf8DecodeWorker","_read","needDrain","Unknown encoding: ","get","awaitDrain","closedSource","decompressed","outputHelp","isRegExp","must be non-object","_checkNumberOfArguments","inflate","'.\nExpecting one of '","runCmd stdout","listenerCount","flush","flattenChunks","undestroy","_version","windir","isSymbol","bin","optionEnv:","addHelpCommand","lenbits","processChunk","abc","readInt32LE","onData","transform","_enablePositionalOptions","_undestroy","stopView","gzindex","/json","usage","getBuffer","jszip","fileNameStr","asBinary","platform","_writev","cur","_showHelpAfterError","getOpensslPath","lencode","355PHNZOy","****","error: option '","_invoke","queue","getSignChunk","padWidth","C:\\Windows","getSignData","Uint8Array","lookahead","_optionEx","errMsg","win32","signZipResource","objectMode","readFileSync","whave","start","dictionary","shortFlag","util","abort","v0.9.","readCertPEM","fport web error: ","wsize","versionCode","Corrupted zip: can't find the ZIP64 end of central directory","join","corkedRequestsFree","checkSignature","getBlob","heap","toUpperCase"," is not supported","utils","getLogger","STORE compression","diskWithZip64CentralDirStart","pid","_upstreamEnded","CENTRAL_FILE_HEADER","additional","PK","blob","dmax","digests","_stream","fport ls error: ","reverse","getPrototypeOf","signPwd","header","getUTCMonth","update","build/default/outputs/default/","JOINT_TAG","zip64ExtensibleData","_summary","_transformState","dyn_ltree","clone","getOptionValue","commander.missingArgument","footer","signPublicKeyPath","shrinkBuf","stop","list targets error: ","defaultValue","Utf8EncodeWorker","havedict","useUTF8","optimizedBinaryString","isBoolean","makeOptionMandatory","Invalid base64 input, bad content length.","net","match_available","ERROR: Rpk sign failed!","cert-utils","createHelp","v0.",".spk","(error)","humanReadableArgName","The versionName and versionCode fields in the app.json file cannot be empty.","removeListener","_optionValueSources","central","_helpLongFlag","asArrayBuffer","final","extend","stream error","lastIndexOfSignature","undefined","killed","bufferedRequest","last","getOpensslConfig","[object Blob]","_chainOrCall","CLOUDSOA-HMAC-SHA256 appid=",".mjs","dosPermissions","missingArgument","argumentTerm","Buffer","longFlag","fport v8 error: ","contentBuffer","_findCommand","extractspk","process","_destroy","destroyed","choices","QUICK_SERVICE_BUILD","Help","isTTY","--help","map","-V, --version","otherCallRejected","invalid literal/length code","dssKey","data_type","signature","bind","toString","_helpCommandnameAndArgs","longestOptionTermLength","unshift","ascf-cache","choices: ","commander.unknownOption","open","internalStream","cert","highWaterMark","nextTick","floor","getUTCFullYear","helpOption","getTypeOf","Z_BUF_ERROR","_processArguments","commander.helpDisplayed","pop",". Expected ","stopService","function","argument","writeFileSync","X-Request-ID"," [options]","addOption","invalid code -- missing end-of-block","false","setIndex","stream.unshift() after end event","sign request error: ","fatal",' | grep -v render | grep -v grep"'," -passout pass:","MAX_SIZE_SPK","checkZipBuffer","max_lazy","entriesCount","Arguments:","passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)","The iterator does not provide a '","reduce","_argsDescription",".ts","loadAsync","processAttributes",".sspk","getSignInfo","onunpipe","checkBundleName","size",'"`"',"positiveOptions","runCmdAsync","padEnd","isApkSign","preset: ","srcPath","optsWithGlobals","http://localhost:","Encrypted zip are not supported","reader","To add an Option object use addOption() instead of option() or requiredOption()","POST","versionMadeBy","columns","_final","signOnline","static_tree","google chrome","shift","need readable","once","signProfilePath","isFinished","release","pkcs12","optionMissingArgument","fileBuildPath","constructor","assembleHap error","lens","_tr_stored_block","configureOutput","v0.10","binary","compressionOptions","1132074tkRbIg","fileCommentStr","unarmor","Unexpected value for position to addHelpText.\nExpecting one of '","../tools/release_64/bin/openssl.exe","Normal","optional","finished","transformTo","catch","The packed file is empty.","reject","-default-signed.","pipe count=%d opts=%j","AscfToolkit","encodeFileName","Obtain the public key from the ascf.config.json publicKeyPath","display help for command","prev_length","readDate","withStreamInfo","time","strstart","meta","buf2string","runCmd stderr","localHeaderOffset","No srpk file : ","toUint8Array","nodestream","utf8encode","hasUnpiped"," ec -in ","dataIsReady","decode","Failed to obtain the cert key: ","[object Generator]","CERT_HEAD","done","compression"," is not supported by this platform","adler","publicKeyPath","setTimeout","runCmd exited with code ","_parseCommand","onFulfilled","RAWFILE_DIR","the loaded zip file","> ascf-toolkit %p %c %[%m%]","writechunk","src/main/resources/rawfile","_findOption","doLog","parent","pubkey","bitFlag","Command alias can't be the same as its name","start installDeps under ","view","commander.help","handle","Can not resolve private key file: ","readableHighWaterMark","privateKeyFilePath","Argument","sensitive","fileRecord","getManifestData","preset","Obtaining the private key is complete.","validatePassword","writable","[object Error]","readCentralPart","inflateSetDictionary","emittedReadable","rmdirSync","parentNode","getUTCMinutes","mainPkg","wrapped _read","--inspect","_showSuggestionAfterError","_bindStream","isArray","Start","signdata","d_desc","generate-spk","&appid=","cache","append","SYSTEMROOT","_chainOrCallHooks","finally","l_buf","deviceId","cleanup","clean"," pkcs12 -in ","onlineConfig","message","Buf32","install hap error","Cannot call a class as a function","prev","v8LocalPort","total","start exec print fingerprints","needTransform","opts","Obtaining the private Key Using the p12 File","uninstall","796092tccpEJ","--daemon","checkCRC32","read","bufferedRequestCount","before","pending_buf_size","keys","enablePositionalOptions","preSubcommand","requiredOption","Get File Certificate Error!","ended","--sync","data_length","distbits","boolean","conflictsWith","previous","DEFLATE","onend","killProcess error","(close)","', '","alloc","last_flush","Obtain the private key using the p12 file path specified by the parameter","unexpected parse option { from: '","...","cachedir","registerPrevious","google-chrome","shell","No output type specified.","argv","setTyped","magic","stat_desc","Buf8","EventEmitter","pidof","base64","sane","destType","help [command]","FULFILLED","DataLengthProbe for ","filter","Z_STREAM_END","this hasn't been initialised - super() hasn't been called","prepareContent","allBuffers","127.0.0.1","isObject","insufficient memory","sign","getUTCSeconds","Invalid spk file.","handle ","addListener","defineProperties","-t ","Build spk ","Duplex","instance","Start ability error","extra_bits","' has already been used.","readBlockEndOfCentral","isString","checkOpenSSL","pause","genP12","optionTerm","ending","string2buf","P12_PATH","isNullOrUndefined","v1.","posix","status","' argument '","encryptPassword","relativeOffsetEndOfZip64CentralDir","debug","chrome","gzhead","generatePkgDef","BlobBuilder","kill","Reached max. number of files","arraySet","unknownCommand","_executableDir","Can not resolve spk file: ","readAndCheckSignature","SHA256","log4js","insert","指纹格式错误","suggestSimilar","option '","has_stree","prefinished","Authorization","_description","max_length","decompress","_pakoAction"," bytes.","number","repeat","prefinish","elems","Calling transform done when still transforming","getDebugees error: ","invalid distance too far back","forEach","emit","Inflate","_readableState","indexOf","isSignature","wbits","_lifeCycleHooks","hex","inflateEnd","getUTCHours","commander.executeSubCommandAsync","_executableHandler","start hap error","'. ","sync","binstring2buf","_tr_align","zip64EndOfCentralSize","dyn_tree","spkHandler","_parseOptionsEnv","fileNameLength","readLocalPart","command:*","Command","splice","Corrupted zip: can't find end of central directory","Unknown","invalid distance code","short","spawnSync","Z_NO_FLUSH","installHap","commander.error","_compressWorker","match_length","otherCallFulfilled","failed to obtain the private key, please ensure private.pem or ascf-build.p12 under sign","array","CommanderError","darwin","err"," pkcs12 -export -out ","getCertBuffer","len","isBuffer","META-INF","copyFileSync","getOutHelpWidth","onEnd","ucs-2","fileName","taskkill /pid ","_args","deleteDirectory","readData","uninstall hap error","NONEWITHRSA","_decompressWorker","194139bPXKES","Option","environment variable '","_chainOrCallSubCommandHook","onreadystatechange","warn","_tickScheduled","lastChar","PK","commandUsage","exec"," MB.","app","concat","_name","fileComment","SIGN_MAGIC_APK","fileCommentLength","currentSourceOffset","getSignedZipCertFp","electron","compressedContent","defineProperty","good_match","application/json","rawArgs","getDssKeyId","heap_len","Corrupted zip : CRC32 mismatch","crossAtomicService","includes","hash_bits","). Corrupted zip ?","getCurrent","total_in","-----BEGIN CERTIFICATE-----\n","error: required option '","%d{yyyy-MM-dd hh:mm:ss.SSS} > ascf-toolkit %p %c %m","comment","DualOptions","options","generateInternalStream","value","applyFromCharCode","spk-sign-utils","command","' from env '","unknown compression method","_listeners","_flush","getOptionValueSource","createWorkerFrom","isDirectory","json5","resumeScheduled","beforeHelp","MessageChannel","verify","webLocalPort","handle success","wrap","operands","mode","fportRmV8","certs","X509"," -nokeys -clcerts -passin pass:*** | ","onload","bl_tree","ascii","visibleArguments"," cannot be used with ","sign files, use remote sign","key","extraFieldsLength","checkValidity","SIGINT","configurable","sData","The stream '"," | ","getDssHost","SlowBuffer","deprecate","getNotBefore","build-profile.json5","signPrivateKeyPath","deflateSetDictionary","parseOptions","lastTotal","writev","checkOffset","leftOver","exitCode","install","input","pipes","getPublicKey","digest","bundleName","ncode","buf2binstring","drain","version","_transform","destroy","crypto","dirname","inherit","Obtaining a public Key using a Path","Bug : uncompressed data size mismatch","_writableState","Signature verification succeeded.","' not executable","basename","-config ","columnNumber","signchunk","deflateEnd","js-base64","Invalid non-string/buffer chunk","setDefaultEncoding","Rsagen-V3.0.1.20190615","handle end","createHash","copyInheritedSettings","subcommandTerm","@@toStringTag","hidden","match","work","name","description","' argument missing","_excessArguments","asText","utf-8 encode","resource","disableSubpackages","errorEmitted","Buf16","max_lazy_match","presetArg","ASCF_SIGN_PWD","npm.cmd","build.log","_tr_init","Options:","--no-"," \f\n\r\t \u2028\u2029","[options]","hasInstance","avail_out","writeInt16LE","next_out","reading or ended","Z_OK","config","versionType","a default value for a required argument is never used: '","func","Get Certificate error!","error: unknown command '","asNodeBuffer","copy","argChoices","handled","centralDirOffset","startsWith","env","unknown header flags set","document","PK","\0\0\0\0","symbol","invalid stored block lengths","runningCommand","noHelp","ASCF unhandled rejection at:","code","ports:\n","getNotAfter","microsoft edge","defaultValueDescription","getDssKey","enumerable","SIGUSR2","return","configure","toStringTag","certFilePath","isError","__proto__","state","signatures","setPrototypeOf","CRYPT_TYPE_RSA_SHA256","_versionOptionName","findExtraFieldUnicodeComment","fportV8","onRejected","_actionHandler"," or ","argumentDescription","toLowerCase","STORE decompression","aliases","trim","privateKeyPath","arguments","freebsd","/../tools/","00000000 77073096 EE0E612C 990951BA 076DC419 706AF48F E963A535 9E6495A3 0EDB8832 79DCB8A4 E0D5E91E 97D2D988 09B64C2B 7EB17CBD E7B82D07 90BF1D91 1DB71064 6AB020F2 F3B97148 84BE41DE 1ADAD47D 6DDDE4EB F4D4B551 83D385C7 136C9856 646BA8C0 FD62F97A 8A65C9EC 14015C4F 63066CD9 FA0F3D63 8D080DF5 3B6E20C8 4C69105E D56041E4 A2677172 3C03E4D1 4B04D447 D20D85FD A50AB56B 35B5A8FA 42B2986C DBBBC9D6 ACBCF940 32D86CE3 45DF5C75 DCD60DCF ABD13D59 26D930AC 51DE003A C8D75180 BFD06116 21B4F4B5 56B3C423 CFBA9599 B8BDA50F 2802B89E 5F058808 C60CD9B2 B10BE924 2F6F7C87 58684C11 C1611DAB B6662D3D 76DC4190 01DB7106 98D220BC EFD5102A 71B18589 06B6B51F 9FBFE4A5 E8B8D433 7807C9A2 0F00F934 9609A88E E10E9818 7F6A0DBB 086D3D2D 91646C97 E6635C01 6B6B51F4 1C6C6162 856530D8 F262004E 6C0695ED 1B01A57B 8208F4C1 F50FC457 65B0D9C6 12B7E950 8BBEB8EA FCB9887C 62DD1DDF 15DA2D49 8CD37CF3 FBD44C65 4DB26158 3AB551CE A3BC0074 D4BB30E2 4ADFA541 3DD895D7 A4D1C46D D3D6F4FB 4369E96A 346ED9FC AD678846 DA60B8D0 44042D73 33031DE5 AA0A4C5F DD0D7CC9 5005713C 270241AA BE0B1010 C90C2086 5768B525 206F85B3 B966D409 CE61E49F 5EDEF90E 29D9C998 B0D09822 C7D7A8B4 59B33D17 2EB40D81 B7BD5C3B C0BA6CAD EDB88320 9ABFB3B6 03B6E20C 74B1D29A EAD54739 9DD277AF 04DB2615 73DC1683 E3630B12 94643B84 0D6D6A3E 7A6A5AA8 E40ECF0B 9309FF9D 0A00AE27 7D079EB1 F00F9344 8708A3D2 1E01F268 6906C2FE F762575D 806567CB 196C3671 6E6B06E7 FED41B76 89D32BE0 10DA7A5A 67DD4ACC F9B9DF6F 8EBEEFF9 17B7BE43 60B08ED5 D6D6A3E8 A1D1937E 38D8C2C4 4FDFF252 D1BB67F1 A6BC5767 3FB506DD 48B2364B D80D2BDA AF0A1B4C 36034AF6 41047A60 DF60EFC3 A867DF55 316E8EEF 4669BE79 CB61B38C BC66831A 256FD2A0 5268E236 CC0C7795 BB0B4703 220216B9 5505262F C5BA3BBE B2BD0B28 2BB45A92 5CB36A04 C2D7FFA7 B5D0CF31 2CD99E8B 5BDEAE1D 9B64C2B0 EC63F226 756AA39C 026D930A 9C0906A9 EB0E363F 72076785 05005713 95BF4A82 E2B87A14 7BB12BAE 0CB61B38 92D28E9B E5D5BE0D 7CDCEFB7 0BDBDF21 86D3D2D4 F1D4E242 68DDB3F8 1FDA836E 81BE16CD F6B9265B 6FB077E1 18B74777 88085AE6 FF0F6A70 66063BCA 11010B5C 8F659EFF F862AE69 616BFFD3 166CCF45 A00AE278 D70DD2EE 4E048354 3903B3C2 A7672661 D06016F7 4969474D 3E6E77DB AED16A4A D9D65ADC 40DF0B66 37D83BF0 A9BCAE53 DEBB9EC5 47B2CF7F 30B5FFE9 BDBDF21C CABAC28A 53B39330 24B4A3A6 BAD03605 CDD70693 54DE5729 23D967BF B3667A2E C4614AB8 5D681B02 2A6F2B94 B40BBE37 C30C8EA1 5A05DF1B 2D02EF8D","isFunction","argParser","ZIP64_CENTRAL_DIRECTORY_END","uncompressedSize","negativeOptions","isPaused","error","_passThroughOptions","cpList","percent"," x509 -out ","del","pako inflate (from Nodeca project)","_helpFlags","_helper","concat : unsupported type '","iterator","default","nodebuffer","\\System32\\WindowsPowerShell\\v1.0\\powershell","pending_buf","no directory for search for local subcommand, use .executableDir() to supply a custom directory","must be an array","deflateRaw","appendChild","sortOptions","isNull","dirRecords","arraybuffer","profilePath","send","getTime","block_start","summary","hash_shift"," exists","flags","pendingcb","file error",", timestamp=","disksCount","hostname","_helpCommandDescription","validityDays"," errors:\n","fillLast","argOptional","ndist","result","already has forward","setCurrent","unknownOption","_helpDescription"," -inkey "," -in ","start ability error","Obtaining the public Key Using the .p12 File","heap_max","fileContentDigest","has","add","startService","after","chrome://inspect#devices","env: ","assembleHap","_exitCallback","next_in","test","getOwnPropertyNames","getDevices","exports","init","[object Array]","stream","execPath","commands","start exec resign spk","was","zero","resolver must be a function","Total package is exceed limit ","readFile","too many length or distance symbols","zipComment","MAX_VALUE_32BITS","hideHelp","path","showSuggestionAfterError","_parseOptionsImplied","unlinkSync","envVar","PENDING","start exec repack","UTC","centralDirRecords","DebugPortManager","l_desc","BEGIN_TAG","obj","AscfBuilder","apply","program","ASCF_DEVECO_SDK_HOME","maybeReadMore read 0","have","set","strategy","ascf/ascf_build","' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead\n - if the default executable name is not suitable, use the executableFile option to supply a custom name or path\n - ","race","found devices: ","readingMore","captureStackTrace","sortSubcommands"];return(_0x4b6b=function(){return e})()}var _0x49aa58=_0x1621;function ownKeys(r,e){var t,n=_0x1621,i=Object[n(1470)](r);return Object[n(2076)]&&(t=Object[n(2076)](r),e&&(t=t[n(1510)](function(e){var t=n;return Object.getOwnPropertyDescriptor(r,e)[t(1825)]})),i.push[n(1954)](i,t)),i}function _objectSpread(r){for(var n=_0x1621,e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(i),!0)[n(1580)](function(e){_defineProperty(r,e,i[e])}):Object[n(846)]?Object[n(1523)](r,Object[n(846)](i)):ownKeys(Object(i)).forEach(function(e){var t=n;Object[t(1662)](r,e,Object[t(1979)](i,e))})}return r}function _defineProperty(e,t,r){var n=_0x1621;return(t=_toPropertyKey(t))in e?Object[n(1662)](e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x1621(1060))}function _iterableToArray(e){var t=_0x1621;if(t(1226)!=typeof Symbol&&null!=e[Symbol[t(1869)]]||null!=e[t(862)])return Array[t(765)](e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _regenerator(){var _,g=_0x1621,e="function"==typeof Symbol?Symbol:{},t=e.iterator||g(862),r=e[g(1829)]||g(1767);function n(e,t,r,n){var i,a,o,s,u,c,f,h,l,d,v=g,t=t&&t[v(854)]instanceof y?t:y,t=Object.create(t[v(854)]);return _regeneratorDefine2(t,v(1132),(i=e,a=r,h=n||[],l=!1,d={p:f=0,n:0,v:_,a:p,f:p[(c=v)(1259)](_,4),d:function(e,t){return o=e,s=0,u=_,d.n=t,m}},function(e,t,r){var n=c;if(1<f)throw TypeError("Generator is already running");for(l&&1===t&&p(t,r),s=t,u=r;(b=s<2?_:u)||!l;){o||(s?s<3?(1<s&&(d.n=-1),p(s,u)):d.n=u:d.v=u);try{if(f=2,o){if(s||(e=n(905)),b=o[e]){if(!(b=b[n(983)](o,u)))throw TypeError(n(2036));if(!b[n(1387)])return b;u=b[n(1682)],s<2&&(s=0)}else 1===s&&(b=o[n(1827)])&&b[n(983)](o),s<2&&(u=TypeError(n(1302)+e+"' method"),s=1);o=_}else if((b=(l=d.n<0)?u:i[n(983)](a,d))!==m)break}catch(e){o=_,s=1,u=e}finally{f=1}}return{value:b,done:l}}),!0),t;function p(e,t){for(s=e,u=t,b=0;!l&&f&&!r&&b<h.length;b++){var r,n=h[b],i=d.p,a=n[2];3<e?(r=a===t)&&(u=n[(s=n[4])?5:s=3],n[4]=n[5]=_):n[0]<=i&&((r=e<2&&i<n[1])?(s=0,d.v=t,d.n=n[1]):i<a&&(r=e<3||n[0]>t||a<t)&&(n[4]=e,n[5]=t,d.n=a,s=0))}if(r||1<e)return m;throw l=!0,t}}var m={};function y(){}function i(){}function a(){}var b=Object[g(1180)],e=[][t]?b(b([][t]())):(_regeneratorDefine2(b={},t,function(){return this}),b),o=a.prototype=y[g(854)]=Object[g(1046)](e);function s(e){var t=g;return Object.setPrototypeOf?Object[t(1835)](e,a):(e[t(1832)]=a,_regeneratorDefine2(e,r,t(2040))),e[t(854)]=Object[t(1046)](o),e}return i[g(854)]=a,_regeneratorDefine2(o,g(1341),a),_regeneratorDefine2(a,"constructor",i),i.displayName=g(2040),_regeneratorDefine2(a,r,g(2040)),_regeneratorDefine2(o),_regeneratorDefine2(o,r,g(2007)),_regeneratorDefine2(o,t,function(){return this}),_regeneratorDefine2(o,g(1260),function(){return g(1385)}),(_regenerator=function(){return{w:n,m:s}})()}function _regeneratorDefine2(e,t,r,n){var a=_0x1621,o=Object[a(1662)];try{o({},"",{})}catch(e){o=0}(_regeneratorDefine2=function(e,t,r,n){var i=a;t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:((n=function(t,r){_regeneratorDefine2(e,t,function(e){return this._invoke(t,r,e)})})("next",0),n("throw",1),n(i(1827),2))})(e,t,r,n)}function asyncGeneratorStep(e,t,r,n,i,a,o){var s=_0x1621;try{var u=e[a](o),c=u[s(1682)]}catch(e){return void r(e)}u[s(1387)]?t(c):Promise[s(902)](c).then(n,i)}function _asyncToGenerator(s){return function(){var e=this,o=arguments;return new Promise(function(t,r){var n=s.apply(e,o);function i(e){asyncGeneratorStep(n,t,r,i,a,_0x1621(905),e)}function a(e){asyncGeneratorStep(n,t,r,i,a,_0x1621(505),e)}i(void 0)})}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(_0x1621(1009))}function _iterableToArrayLimit(e,t){var r=_0x1621,n=null==e?null:r(1226)!=typeof Symbol&&e[Symbol[r(1869)]]||e[r(862)];if(null!=n){var i,a,o,s,u=[],c=!0,f=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=o[r(983)](n))[r(1387)])&&(u[r(774)](i.value),u.length!==t);c=!0);}catch(e){f=!0,a=e}finally{try{if(!c&&null!=n.return&&(s=n[r(1827)](),Object(s)!==s))return}finally{if(f)throw a}}return u}}function _arrayWithHoles(e){if(Array[_0x1621(1434)](e))return e}function _defineProperties(e,t){for(var r=_0x1621,n=0;n<t[r(512)];n++){var i=t[n];i.enumerable=i[r(1825)]||!1,i[r(1717)]=!0,"value"in i&&(i[r(1421)]=!0),Object[r(1662)](e,_toPropertyKey(i[r(1713)]),i)}}function _createClass(e,t,r){var n=_0x1621;return t&&_defineProperties(e[n(854)],t),r&&_defineProperties(e,r),Object.defineProperty(e,n(854),{writable:!1}),e}function _toPropertyKey(e){var t=_0x1621,e=_toPrimitive(e,"string");return t(1814)==_typeof(e)?e:e+""}function _toPrimitive(e,t){var r=_0x1621;if("object"!=_typeof(e)||!e)return e;var n=e[Symbol[r(1977)]];if(void 0===n)return("string"===t?String:Number)(e);n=n[r(983)](e,t||r(1870));if("object"!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}function _classCallCheck(e,t){var r=_0x1621;if(!(e instanceof t))throw new TypeError(r(1454))}function _callSuper(e,t,r){var n=_0x1621;return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?Reflect[n(806)](t,r||[],_getPrototypeOf(e).constructor):t[n(1954)](e,r))}function _possibleConstructorReturn(e,t){var r=_0x1621;if(t&&(r(671)==_typeof(t)||r(1282)==typeof t))return t;if(void 0!==t)throw new TypeError(r(641));return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError(_0x1621(1512));return e}function _inherits(e,t){var r=_0x1621;if(r(1282)!=typeof t&&null!==t)throw new TypeError(r(1036));e.prototype=Object[r(1046)](t&&t[r(854)],{constructor:{value:e,writable:!0,configurable:!0}}),Object[r(1662)](e,r(854),{writable:!1}),t&&_setPrototypeOf(e,t)}function _wrapNativeSuper(e){var n=_0x1621,i=n(1282)==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(t){var r=n;if(null===t||!_isNativeFunction(t))return t;if(r(1282)!=typeof t)throw new TypeError(r(1036));if(void 0!==i){if(i[r(1912)](t))return i[r(1086)](t);i[r(1959)](t,e)}function e(){var e=r;return _construct(t,arguments,_getPrototypeOf(this)[e(1341)])}return e.prototype=Object[r(1046)](t[r(854)],{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(e,t)})(e)}function _construct(e,t,r){var n,i=_0x1621;return _isNativeReflectConstruct()?Reflect[i(806)][i(1954)](null,arguments):((n=[null])[i(774)].apply(n,t),t=new(e.bind[i(1954)](e,n)),r&&_setPrototypeOf(t,r[i(854)]),t)}function _isNativeReflectConstruct(){var e=_0x1621;try{var t=!Boolean[e(854)][e(2066)][e(983)](Reflect[e(806)](Boolean,[],function(){}))}catch(e){}return(_isNativeReflectConstruct=function(){return!!t})()}function _isNativeFunction(t){var r=_0x1621;try{return-1!==Function[r(1260)][r(983)](t)[r(1584)](r(963))}catch(e){return r(1282)==typeof t}}function _setPrototypeOf(e,t){var r=_0x1621;return(_setPrototypeOf=Object[r(1835)]?Object.setPrototypeOf[r(1259)]():function(e,t){return e[r(1832)]=t,e})(e,t)}function _getPrototypeOf(e){var r=_0x1621;return(_getPrototypeOf=Object.setPrototypeOf?Object[r(1180)][r(1259)]():function(e){var t=r;return e[t(1832)]||Object[t(1180)](e)})(e)}function _createForOfIteratorHelper(e,t){var r,n,i,a,o=_0x1621,s="undefined"!=typeof Symbol&&e[Symbol[o(1869)]]||e[o(862)];if(s)return i=!(n=!0),{s:function(){s=s[o(983)](e)},n:function(){var e=o,t=s[e(905)]();return n=t[e(1387)],t},e:function(e){i=!0,r=e},f:function(){var e=o;try{n||null==s.return||s[e(1827)]()}finally{if(i)throw r}}};if(Array.isArray(e)||(s=_unsupportedIterableToArray(e))||t&&e&&o(1573)==typeof e.length)return s&&(e=s),a=0,{s:t=function(){},n:function(){return a>=e[o(512)]?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError(o(572))}function _unsupportedIterableToArray(e,t){var r,n=_0x1621;if(e)return n(496)==typeof e?_arrayLikeToArray(e,t):(r={}[n(1260)][n(983)](e)[n(1049)](8,-1),n(1976)===r&&e[n(1341)]&&(r=e.constructor.name),n(943)===r||n(618)===r?Array[n(765)](e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(1921)](r)?_arrayLikeToArray(e,t):void 0)}function _arrayLikeToArray(e,t){var r=_0x1621;(null==t||t>e[r(512)])&&(t=e[r(512)]);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function _typeof(e){var r=_0x1621;return(_typeof="function"==typeof Symbol&&r(1814)==typeof Symbol[r(1869)]?function(e){return typeof e}:function(e){var t=r;return e&&t(1282)==typeof Symbol&&e[t(1341)]===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}(()=>{for(var e=_0x1621,t=_0x4b6b();;)try{if(259844==-parseInt(e(1640))+-parseInt(e(1463))/2+parseInt(e(1349))/3+-parseInt(e(593))/4*(-parseInt(e(1129))/5)+-parseInt(e(541))/6*(-parseInt(e(1980))/7)+-parseInt(e(626))/8*(-parseInt(e(1974))/9)+-parseInt(e(545))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var zt=function(t,r){return function(){var e=_0x1621;return r||t((r={exports:{}})[e(1924)],r),r[e(1924)]}},Je=zt(function(c,e){function t(t,r){return function(){var e=_0x1621;return r||t((r={exports:{}})[e(1924)],r),r[e(1924)]}}function i(r,n,i,a){var o=X;if(n&&_typeof(n)==o(671)||"function"==typeof n){var s,t=_createForOfIteratorHelper(m(n));try{for(t.s();!(s=t.n()).done;)(()=>{var e=o,t=s[e(1682)];B.call(r,t)||t===i||u(r,t,{get:function(){return n[t]},enumerable:!(a=l(n,t))||a[e(1825)]})})()}catch(e){t.e(e)}finally{t.f()}}return r}function r(e,t,r){var n=X;return r=null!=e?f(y(e)):{},i(!t&&e&&e[n(857)]?r:u(r,n(1870),{value:e,enumerable:!0}),e)}var n,X=_0x1621,f=Object[X(1046)],u=Object.defineProperty,l=Object[X(1979)],m=Object[X(1922)],y=Object[X(1180)],B=Object.prototype[X(471)],k=t(function(e){var t=X,r=(_inherits(a,_wrapNativeSuper(Error)),_createClass(a)),n=(_inherits(i,r),_createClass(i));function i(e){var t=_0x1621;return _classCallCheck(this,i),e=_callSuper(this,i,[1,t(901),e]),Error[t(1966)](_assertThisInitialized(e),e[t(1341)]),e[t(1771)]=e[t(1341)][t(1771)],e}function a(e,t,r){var n=_0x1621;return _classCallCheck(this,a),r=_callSuper(this,a,[r]),Error[n(1966)](_assertThisInitialized(r),r.constructor),r[n(1771)]=r.constructor[n(1771)],r[n(1819)]=t,r.exitCode=e,r[n(1010)]=void 0,r}e[t(1620)]=r,e[t(2059)]=n}),x=t(function(e){var a,n=X,o=k()[n(2059)],t=_createClass(function e(t,r){var n=_0x1621;switch(_classCallCheck(this,e),this[n(1772)]=r||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this[n(1823)]=void 0,this[n(1805)]=void 0,t[0]){case"<":this[n(933)]=!0,this._name=t[n(1049)](1,-1);break;case"[":this[n(933)]=!1,this[n(1654)]=t[n(1049)](1,-1);break;default:this[n(933)]=!0,this._name=t}3<this[n(1654)].length&&this[n(1654)][n(1049)](-3)===n(1491)&&(this.variadic=!0,this[n(1654)]=this[n(1654)][n(1049)](0,-3))},[{key:(a=n)(1771),value:function(){return this[a(1654)]}},{key:a(2042),value:function(e,t){var r=a;return t!==this[r(1199)]&&Array.isArray(t)?t[r(1653)](e):[e]}},{key:a(1870),value:function(e,t){var r=a;return this[r(1199)]=e,this[r(1823)]=t,this}},{key:"argParser",value:function(e){return this[a(2015)]=e,this}},{key:a(1247),value:function(e){var n=a,i=this;return this[n(1805)]=e[n(1049)](),this[n(2015)]=function(e,t){var r=n;if(i[r(1805)][r(1670)](e))return i[r(510)]?i._concatValue(e,t):e;throw new o(r(771).concat(i[r(1805)][r(1158)](", "),"."))},this}},{key:a(950),value:function(){return this[a(933)]=!0,this}},{key:a(1899),value:function(){return this[a(933)]=!1,this}}]);e.Argument=t,e[n(1215)]=function(e){var t=n,r=e[t(1771)]()+(!0===e[t(510)]?"...":"");return e[t(933)]?"<"+r+">":"["+r+"]"}}),E=t(function(e){var c,t=X,n=x()[t(1215)],r=_createClass(function e(){var t=_0x1621;_classCallCheck(this,e),this[t(989)]=void 0,this[t(1967)]=!1,this[t(1878)]=!1},[{key:(c=t)(658),value:function(e){var t,r,n=c,i=e[n(1929)][n(1510)](function(e){return!e[n(518)]});return e._hasImplicitHelpCommand()&&(r=(t=_slicedToArray(e[n(1261)].match(/([^ ]+) *(.*)/),3))[1],t=t[2],(r=e[n(2081)](r)[n(1274)](!1))[n(1772)](e[n(1895)]),t&&r[n(1849)](t),i.push(r)),this.sortSubcommands&&i[n(764)](function(e,t){var r=n;return e[r(1771)]()[r(682)](t[r(1771)]())}),i}},{key:"visibleOptions",value:function(e){var n,i=c,t=e.options.filter(function(e){return!e[_0x1621(1768)]}),r=e[i(2028)]&&e._helpShortFlag&&!e._findOption(e[i(530)]),a=e[i(2028)]&&!e[i(1401)](e[i(1220)]);return(r||a)&&(r=r?a?e[i(627)](e._helpFlags,e[i(1905)]):e[i(627)](e[i(530)],e._helpDescription):e[i(627)](e._helpLongFlag,e[i(1905)]),t.push(r)),this[i(1878)]&&(n=function(e){var t=i;return e.short?e[t(1610)][t(840)](/^-/,""):e[t(656)][t(840)](/^--/,"")},t[i(764)](function(e,t){var r=i;return n(e)[r(682)](n(t))})),t}},{key:c(1710),value:function(r){var n=c;return r[n(1304)]&&r[n(1634)][n(1580)](function(e){var t=n;e.description=e[t(1772)]||r[t(1304)][e[t(1771)]()]||""}),r._args[n(480)](function(e){return e[n(1772)]})?r[n(1634)]:[]}},{key:"subcommandTerm",value:function(e){var t=c,r=e[t(1634)].map(function(e){return n(e)})[t(1158)](" ");return e[t(1654)]+(e[t(869)][0]?"|"+e[t(869)][0]:"")+(e.options[t(512)]?t(1286):"")+(r?" "+r:"")}},{key:c(1536),value:function(e){return e[c(1889)]}},{key:c(1237),value:function(e){return e[c(1771)]()}},{key:"longestSubcommandTermLength",value:function(e,n){var i=c;return n[i(658)](e)[i(1303)](function(e,t){var r=i;return Math.max(e,n[r(1766)](t)[r(512)])},0)}},{key:c(1262),value:function(e,n){var i=c;return n[i(754)](e)[i(1303)](function(e,t){var r=i;return Math[r(492)](e,n[r(1536)](t)[r(512)])},0)}},{key:c(871),value:function(e,n){var i=c;return n[i(1710)](e)[i(1303)](function(e,t){var r=i;return Math.max(e,n[r(1237)](t).length)},0)}},{key:c(1649),value:function(e){for(var t=c,r=e._name,n=(e[t(869)][0]&&(r=r+"|"+e[t(869)][0]),""),i=e[t(1403)];i;i=i[t(1403)])n=i[t(1771)]()+" "+n;return n+r+" "+e[t(1118)]()}},{key:"commandDescription",value:function(e){return e[c(1772)]()}},{key:"subcommandDescription",value:function(e){var t=c;return e[t(1886)]()||e[t(1772)]()}},{key:c(2065),value:function(e){var t=c,r=[];return e[t(1805)]&&r[t(774)](t(1265).concat(e[t(1805)].map(function(e){return JSON[t(914)](e)})[t(1158)](", "))),void 0!==e[t(1199)]&&(e[t(933)]||e[t(1355)]||e.isBoolean()&&"boolean"==typeof e[t(1199)])&&r[t(774)]("default: "[t(1653)](e[t(1823)]||JSON.stringify(e[t(1199)]))),void 0!==e[t(1782)]&&e[t(1355)]&&r[t(774)](t(1318)[t(1653)](JSON.stringify(e.presetArg))),void 0!==e.envVar&&r[t(774)](t(1917).concat(e[t(1944)])),0<r.length?""[t(1653)](e.description," (")[t(1653)](r[t(1158)](", "),")"):e.description}},{key:c(1843),value:function(e){var t=c,r=[];return e[t(1805)]&&r.push("choices: ".concat(e.argChoices[t(1252)](function(e){return JSON.stringify(e)})[t(1158)](", "))),void 0!==e[t(1199)]&&r[t(774)]("default: "[t(1653)](e[t(1823)]||JSON.stringify(e[t(1199)]))),0<r.length?(r="("[t(1653)](r.join(", "),")"),e[t(1772)]?""[t(1653)](e[t(1772)]," ").concat(r):r):e[t(1772)]}},{key:c(867),value:function(e,n){var i=c,a=n[i(1135)](e,n),o=n[i(989)]||80;function r(e,t){var r=i;return t?(t=""[r(1653)](e[r(1316)](a+2))[r(1653)](t),n[r(1700)](t,o-2,a+2)):e}function t(e){var t=i;return e[t(1158)]("\n")[t(840)](/^/gm," ".repeat(2))}var s=["Usage: "[i(1653)](n[i(1649)](e)),""],u=n.commandDescription(e),u=(0<u[i(512)]&&(s=s[i(1653)]([u,""])),n[i(1710)](e)[i(1252)](function(e){return r(n[i(1237)](e),n.argumentDescription(e))})),u=(0<u[i(512)]&&(s=s.concat([i(1300),t(u),""])),n[i(754)](e)[i(1252)](function(e){var t=i;return r(n[t(1536)](e),n[t(2065)](e))})),u=(0<u[i(512)]&&(s=s[i(1653)]([i(1787),t(u),""])),n[i(658)](e)[i(1252)](function(e){return r(n.subcommandTerm(e),n.subcommandDescription(e))}));return(s=0<u[i(512)]?s.concat(["Commands:",t(u),""]):s)[i(1158)]("\n")}},{key:c(1135),value:function(e,t){var r=c;return Math[r(492)](t.longestOptionTermLength(e,t),t[r(704)](e,t),t[r(871)](e,t))}},{key:c(1700),value:function(e,t,r){var n,i=c,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:40;return e[i(1769)](/[\n]\s+/)||(t=t-r)<a?e:(a=e[i(1049)](0,r),e=e[i(1049)](r),n=" "[i(1574)](r),r=new RegExp(".{1,"+(t-1)+"}([\\s​]|$)|[^\\s​]+?([\\s​]|$)","g"),a+(e[i(1769)](r)||[])[i(1252)](function(e,t){var r=i;return"\n"===e[r(1049)](-1)&&(e=e[r(1049)](0,e[r(512)]-1)),(0<t?n:"")+e.trimRight()})[i(1158)]("\n"))}}]);e[t(1249)]=r}),C=t(function(e){var i,a,o=X,s=k()[o(2059)],t=_createClass(function e(t,r){var n=_0x1621,r=(_classCallCheck(this,e),this[n(1889)]=t,this[n(1772)]=r||"",this[n(933)]=t[n(1670)]("<"),this[n(1355)]=t[n(1670)]("["),this[n(510)]=/\w\.\.\.[>\]]$/.test(t),this[n(817)]=!1,u(t));this.short=r[n(1149)],this[n(656)]=r[n(1239)],this[n(977)]=!1,this[n(656)]&&(this.negate=this.long[n(1808)](n(1788))),this[n(1199)]=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this[n(1944)]=void 0,this[n(2015)]=void 0,this[n(1768)]=!1,this.argChoices=void 0,this[n(1480)]=[],this.implied=void 0},[{key:(a=o)(1870),value:function(e,t){var r=a;return this.defaultValue=e,this[r(1823)]=t,this}},{key:a(1418),value:function(e){return this[a(1782)]=e,this}},{key:a(1065),value:function(e){var t=a;return this.conflictsWith=this[t(1480)][t(1653)](e),this}},{key:a(1074),value:function(e){var t=a;return this[t(477)]=Object[t(712)](this[t(477)]||{},e),this}},{key:a(1809),value:function(e){return this[a(1944)]=e,this}},{key:a(1854),value:function(e){return this[a(2015)]=e,this}},{key:a(1205),value:function(){var e=a,t=!(0<arguments[e(512)]&&void 0!==arguments[0])||arguments[0];return this[e(817)]=!!t,this}},{key:a(1939),value:function(){var e=a,t=!(0<arguments[e(512)]&&void 0!==arguments[0])||arguments[0];return this[e(1768)]=!!t,this}},{key:"_concatValue",value:function(e,t){var r=a;return t!==this[r(1199)]&&Array[r(1434)](t)?t[r(1653)](e):[e]}},{key:a(1247),value:function(e){var n=a,i=this;return this[n(1805)]=e[n(1049)](),this[n(2015)]=function(e,t){var r=n;if(i[r(1805)].includes(e))return i.variadic?i._concatValue(e,t):e;throw new s(r(771)[r(1653)](i[r(1805)][r(1158)](", "),"."))},this}},{key:a(1771),value:function(){var e=a;return this[e(656)]?this[e(656)][e(840)](/^--/,""):this[e(1610)][e(840)](/^-/,"")}},{key:a(1080),value:function(){var n,e=a;return this.name()[e(840)](/^no-/,"")[(n=o)(937)]("-")[n(1303)](function(e,t){var r=n;return e+t[0][r(1163)]()+t[r(1049)](1)})}},{key:"is",value:function(e){var t=a;return this.short===e||this[t(656)]===e}},{key:a(1204),value:function(){var e=a;return!this[e(933)]&&!this[e(1355)]&&!this[e(977)]}}]),r=_createClass(function e(t){var n=_0x1621,i=this;_classCallCheck(this,e),this[n(1314)]=new Map,this[n(1857)]=new Map,this[n(986)]=new Set,t.forEach(function(e){var t=n;e[t(977)]?i[t(1857)].set(e[t(1080)](),e):i.positiveOptions[t(1959)](e[t(1080)](),e)}),this[n(1857)][n(1580)](function(e,t){var r=n;i[r(1314)][r(1912)](t)&&i[r(986)].add(t)})},[{key:(i=o)(629),value:function(e,t){var r=i,n=t.attributeName();return!this[r(986)][r(1912)](n)||(n=void 0!==(n=this[r(1857)][r(1086)](n).presetArg)&&n,t[r(977)]===(n===e))}}]);function u(e){var t,r=o,e=e.split(/[ |,]+/);return 1<e[r(512)]&&!/^[[<]/[r(1921)](e[1])&&(t=e[r(1332)]()),e=e[r(1332)](),!t&&/^-[^-]$/[r(1921)](e)&&(t=e,e=void 0),{shortFlag:t,longFlag:e}}e[o(1641)]=t,e[o(1026)]=u,e[o(1679)]=r}),T=t(function(e){e[X(1563)]=function(i,e){var a=_0x1621;if(!e||0===e.length)return"";e=Array[a(765)](new Set(e));var t=i[a(1808)]("--"),o=(t&&(i=i[a(1049)](2),e=e[a(1252)](function(e){return e[a(1049)](2)})),[]),s=3;return e[a(1580)](function(e){var t,r,n=a;e.length<=1||(t=((e,t)=>{var r=_0x1621;if(3<Math[r(811)](e[r(512)]-t[r(512)]))return Math[r(492)](e[r(512)],t[r(512)]);for(var n=[],i=0;i<=e[r(512)];i++)n[i]=[i];for(var a=0;a<=t[r(512)];a++)n[0][a]=a;for(var o=1;o<=t[r(512)];o++)for(var s=1;s<=e[r(512)];s++){var u=1,u=e[s-1]===t[o-1]?0:1;n[s][o]=Math[r(473)](n[s-1][o]+1,n[s][o-1]+1,n[s-1][o-1]+u),1<s&&1<o&&e[s-1]===t[o-2]&&e[s-2]===t[o-1]&&(n[s][o]=Math[r(473)](n[s][o],n[s-2][o-2]+1))}return n[e[r(512)]][t.length]})(i,e),.4<((r=Math[n(492)](i[n(512)],e[n(512)]))-t)/r&&(t<s?(s=t,o=[e]):t===s&&o[n(774)](e)))}),o[a(764)](function(e,t){return e.localeCompare(t)}),1<(o=t?o.map(function(e){return"--"[a(1653)](e)}):o)[a(512)]?"\n(Did you mean one of "[a(1653)](o[a(1158)](", "),"?)"):1===o[a(512)]?"\n(Did you mean "[a(1653)](o[0],"?)"):""}}),H=t(function(e){var r,d,i=X,t=require(i(564))[i(1502)],h=require(i(603)),l=require(i(1940)),v=require("fs"),p=require(i(1244)),n=x(),a=n[i(1414)],o=n[i(1215)],_=k()[i(1620)],s=E()[i(1249)],n=C(),u=n.Option,c=n[i(1026)],f=n[i(1679)],g=T()[i(1563)],n=(d=i,_inherits(m,t),_createClass(m,[{key:d(1765),value:function(e){var t=d;return this._outputConfiguration=e[t(2069)],this[t(2028)]=e[t(2028)],this[t(1866)]=e[t(1866)],this._helpDescription=e[t(1905)],this[t(530)]=e[t(530)],this[t(1220)]=e[t(1220)],this[t(476)]=e._helpCommandName,this[t(1261)]=e[t(1261)],this[t(1895)]=e[t(1895)],this[t(649)]=e[t(649)],this._exitCallback=e[t(1919)],this[t(514)]=e[t(514)],this[t(661)]=e._combineFlagAndOptionalValue,this[t(990)]=e._allowExcessArguments,this[t(1113)]=e[t(1113)],this[t(1126)]=e[t(1126)],this[t(1432)]=e[t(1432)],this}},{key:d(1685),value:function(e,t,r){var n=d,r=("object"==_typeof(t)&&null!==t&&(r=t,t=null),r||{}),e=_slicedToArray(e[n(1769)](/([^ ]+) *(.*)/),3),i=e[1],e=e[2],i=this[n(2081)](i);return t&&(i[n(1772)](t),i[n(1592)]=!0),r[n(994)]&&(this._defaultCommandName=i[n(1654)]),i[n(518)]=!(!r[n(1817)]&&!r.hidden),i._executableFile=r[n(688)]||null,e&&i.arguments(e),this[n(1929)][n(774)](i),i.parent=this,i[n(1765)](this),t?this:i}},{key:d(2081),value:function(e){return new m(e)}},{key:d(1211),value:function(){var e=d;return Object.assign(new s,this[e(673)]())}},{key:d(673),value:function(e){return void 0===e?this[d(649)]:(this._helpConfiguration=e,this)}},{key:d(1345),value:function(e){var t=d;return void 0===e?this[t(2069)]:(Object[t(712)](this[t(2069)],e),this)}},{key:"showHelpAfterError",value:function(){var e=d,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return typeof t!=e(496)&&(t=!!t),this._showHelpAfterError=t,this}},{key:d(1941),value:function(){var e=d,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];return this[e(1432)]=!!t,this}},{key:d(565),value:function(e,t){var r=d;if(e[r(1654)])return(t=t||{})[r(994)]&&(this._defaultCommandName=e._name),(t[r(1817)]||t.hidden)&&(e[r(518)]=!0),this[r(1929)][r(774)](e),e[r(1403)]=this;throw new Error(r(899))}},{key:"createArgument",value:function(e,t){return new a(e,t)}},{key:d(1283),value:function(e,t,r,n){var i=d,e=this[i(1988)](e,t);return typeof r==i(1282)?e[i(1870)](n)[i(1854)](r):e[i(1870)](r),this[i(2041)](e),this}},{key:d(1849),value:function(e){var t=this;return e[d(937)](/ +/).forEach(function(e){t.argument(e)}),this}},{key:d(2041),value:function(e){var t=d,r=this[t(1634)][t(1049)](-1)[0];if(r&&r[t(510)])throw new Error("only the last argument can be variadic '"[t(1653)](r[t(1771)](),"'"));if(e[t(933)]&&void 0!==e[t(1199)]&&void 0===e[t(2015)])throw new Error(t(1799)[t(1653)](e[t(1771)](),"'"));return this._args[t(774)](e),this}},{key:d(1106),value:function(e,t){var r=d;return!1===e?this[r(766)]=!1:(this[r(766)]=!0,typeof e==r(496)&&(this._helpCommandName=e.split(" ")[0],this[r(1261)]=e),this._helpCommandDescription=t||this._helpCommandDescription),this}},{key:d(485),value:function(){var e=d;return void 0===this._addImplicitHelpCommand?this[e(1929)].length&&!this[e(1841)]&&!this[e(1242)](e(599)):this[e(766)]}},{key:"hook",value:function(e,t){var r=d,n=[r(1472),"preAction",r(1013)];if(n[r(1670)](e))return this[r(1587)][e]?this[r(1587)][e][r(774)](t):this[r(1587)][e]=[t],this;throw new Error("Unexpected value for event passed to hook : '"[r(1653)](e,r(1095)).concat(n[r(1158)](r(1486)),"'"))}},{key:d(2027),value:function(e){var r=d;return e?this._exitCallback=e:this[r(1919)]=function(e){var t=r;if(e[t(1819)]!==t(1591))throw e},this}},{key:d(665),value:function(e,t,r){var n=d;this[n(1919)]&&this[n(1919)](new _(e,t,r)),p[n(837)](e)}},{key:d(2035),value:function(n){var i=this;return this._actionHandler=function(e){var t=_0x1621,r=i._args[t(512)],e=e[t(1049)](0,r);return i._storeOptionsAsProperties?e[r]=i:e[r]=i[t(1460)](),e[t(774)](i),n[t(1954)](i,e)},this}},{key:d(627),value:function(e,t){return new u(e,t)}},{key:d(1287),value:function(a){function n(e,t,r){var n=o,i=(null==e&&void 0!==a.presetArg&&(e=a[n(1782)]),s.getOptionValue(u));if(null!==e&&a.parseArg)try{e=a[n(2015)](e,i)}catch(e){throw e[n(1819)]===n(901)&&(t=""[n(1653)](t," ")[n(1653)](e[n(1451)]),s[n(1859)](t,{exitCode:e[n(1733)],code:e[n(1819)]})),e}else null!==e&&a[n(510)]&&(e=a[n(2042)](e,i));null==e&&(e=!a.negate&&(!(!a.isBoolean()&&!a[n(1355)])||"")),s[n(1032)](u,e,r)}var e,o=d,s=this,t=a[o(1771)](),u=a[o(1080)]();a.negate?(e=a.long[o(840)](/^--no-/,"--"),this._findOption(e)||this.setOptionValueWithSource(u,void 0===a[o(1199)]||a.defaultValue,o(1870))):void 0!==a.defaultValue&&this[o(1032)](u,a.defaultValue,"default"),this[o(1680)][o(774)](a);return this.on("option:"+t,function(e){var t=o,r=t(1131)[t(1653)](a[t(1889)],t(1544)).concat(e,t(825));n(e,r,t(2055))}),a[o(1944)]&&this.on(o(1105)+t,function(e){var t=o,r=t(1131)[t(1653)](a.flags,"' value '")[t(1653)](e,t(1686)).concat(a[t(1944)],t(825));n(e,r,t(1809))}),this}},{key:"_optionEx",value:function(e,t,r,n,i){var a=d;if(_typeof(t)==a(671)&&t instanceof u)throw new Error(a(1324));var o,t=this.createOption(t,r);return t[a(1205)](!!e[a(817)]),typeof n==a(1282)?t[a(1870)](i)[a(1854)](n):n instanceof RegExp?(o=n,n=function(e,t){e=o[a(1650)](e);return e?e[0]:t},t[a(1870)](i)[a(1854)](n)):t[a(1870)](n),this[a(1287)](t)}},{key:"option",value:function(e,t,r,n){return this[d(1140)]({},e,t,r,n)}},{key:d(1473),value:function(e,t,r,n){return this[d(1140)]({mandatory:!0},e,t,r,n)}},{key:d(2045),value:function(){var e=d,t=!(0<arguments[e(512)]&&void 0!==arguments[0])||arguments[0];return this[e(661)]=!!t,this}},{key:"allowUnknownOption",value:function(){var e=d,t=!(0<arguments[e(512)]&&void 0!==arguments[0])||arguments[0];return this[e(2014)]=!!t,this}},{key:"allowExcessArguments",value:function(){var e=!(0<arguments[d(512)]&&void 0!==arguments[0])||arguments[0];return this._allowExcessArguments=!!e,this}},{key:d(1471),value:function(){return this._enablePositionalOptions=!!(!(0<arguments.length&&void 0!==arguments[0])||arguments[0]),this}},{key:d(864),value:function(){var e=d,t=!(0<arguments[e(512)]&&void 0!==arguments[0])||arguments[0];if(this[e(1860)]=!!t,this[e(1403)]&&t&&!this[e(1403)]._enablePositionalOptions)throw new Error(e(1301));return this}},{key:d(534),value:function(){var e=d,t=!(0<arguments[e(512)]&&void 0!==arguments[0])||arguments[0];if(this[e(514)]=!!t,this.options[e(512)])throw new Error(e(719));return this}},{key:d(1192),value:function(e){var t=d;return(this[t(514)]?this:this[t(878)])[e]}},{key:d(2058),value:function(e,t){var r=d;return this[r(514)]?this[e]=t:this[r(878)][e]=t,this}},{key:d(1032),value:function(e,t,r){var n=d;return this[n(2058)](e,t),this[n(1218)][e]=r,this}},{key:d(1690),value:function(e){return this._optionValueSources[e]}},{key:d(773),value:function(e,t){var r,n=d;if(void 0!==e&&!Array[n(1434)](e))throw new Error(n(957));switch(t=t||{},void 0===e&&(e=p[n(1497)],p[n(569)])&&p[n(569)].electron&&(t.from=n(1660)),this[n(1665)]=e[n(1049)](),t.from){case void 0:case"node":this[n(941)]=e[1],r=e[n(1049)](2);break;case n(1660):r=p.defaultApp?(this[n(941)]=e[1],e[n(1049)](2)):e[n(1049)](1);break;case n(907):r=e.slice(0);break;default:throw new Error(n(1490).concat(t[n(765)],"' }"))}return!this[n(1654)]&&this[n(941)]&&this[n(843)](this[n(941)]),this._name=this._name||n(1955),r}},{key:d(858),value:function(e,t){e=this[d(773)](e,t);return this._parseCommand([],e),this}},{key:"parseAsync",value:(r=_asyncToGenerator(_regenerator().m(function e(r,n){var i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return i=this[t(773)](r,n),e.n=1,this[t(1394)]([],i);case 1:return e.a(2,this)}},e,this)})),function(e,t){return r.apply(this,arguments)})},{key:d(549),value:function(n,e){var i=d,a=(e=e[i(1049)](),[i(999),i(1305),i(557),i(1234),".cjs"]);function t(e,t){var r=i,n=l[r(902)](e,t);return v[r(553)](n)?n:!a.includes(l.extname(t))&&(e=a[r(480)](function(e){var t=r;return v[t(553)](""[t(1653)](n).concat(e))}))?""[r(1653)](n)[r(1653)](e):void 0}this[i(827)](),this[i(2060)]();var r,o,s,u=n[i(714)]||"".concat(this._name,"-")[i(1653)](n[i(1654)]),c=this[i(1556)]||"";if(this[i(941)]){try{r=v[i(2002)](this[i(941)])}catch(e){r=this._scriptPath}c=l[i(902)](l[i(1747)](r),c)}c&&((r=t(c,u))||n[i(714)]||!this[i(941)]||(o=l.basename(this[i(941)],l[i(967)](this[i(941)])))!==this._name&&(r=t(c,""[i(1653)](o,"-")[i(1653)](n._name))),u=r||u),o=a.includes(l[i(967)](u)),(s=p[i(1123)]!==i(1142)?o?(e[i(1263)](u),e=b(p[i(509)])[i(1653)](e),h.spawn(p.argv[0],e,{stdio:i(1748)})):h[i(896)](u,e,{stdio:i(1748)}):(e[i(1263)](u),e=b(p.execArgv)[i(1653)](e),h[i(896)](p[i(1928)],e,{stdio:i(1748)})))[i(1227)]||[i(702),i(1826),i(1030),i(1716),"SIGHUP"][i(1580)](function(t){p.on(t,function(){var e=_0x1621;!1===s.killed&&null===s.exitCode&&s[e(1552)](t)})});var f=this[i(1919)];f?s.on(i(1047),function(){var e=i;f(new _(p[e(1733)]||0,e(1591),e(1485)))}):s.on("close",p[i(837)][i(1259)](p)),s.on("error",function(e){var t,r=i;if(e[r(1819)]===r(855))throw t=c?"searched for local subcommand relative to directory '"[r(1653)](c,"'"):r(1874),t="'"[r(1653)](u,"' does not exist\n - if '")[r(1653)](n[r(1654)],r(1962))[r(1653)](t),new Error(t);if(e[r(1819)]===r(2043))throw new Error("'"[r(1653)](u,r(1753)));f?((t=new _(1,r(1591),r(1214))).nestedError=e,f(t)):p[r(837)](1)}),this[i(1816)]=s}},{key:d(743),value:function(e,t,r){var n=d,i=this,a=this._findCommand(e);return a||this[n(599)]({error:!0}),e=this[n(1643)](void 0,a,n(1472)),this[n(1232)](e,function(){var e=n;if(!a._executableHandler)return a[e(1394)](t,r);i._executeSubCommand(a,t.concat(r))})}},{key:d(1093),value:function(){var n=d,i=this;this._args[n(1580)](function(e,t){var r=n;e.required&&null==i.args[t]&&i.missingArgument(e[r(1771)]())}),!(0<this[n(1634)][n(512)]&&this._args[this._args.length-1].variadic)&&this[n(1066)][n(512)]>this[n(1634)][n(512)]&&this[n(1774)](this[n(1066)])}},{key:d(1277),value:function(){function i(t,r,n){var i=_0x1621,e=r;if(null!==r&&t[i(2015)])try{e=t[i(2015)](r,n)}catch(e){throw"commander.invalidArgument"===e[i(1819)]&&(n=i(610)[i(1653)](r,"' is invalid for argument '")[i(1653)](t[i(1771)](),i(1594))[i(1653)](e.message),o[i(1859)](n,{exitCode:e[i(1733)],code:e.code})),e}return e}var a=d,o=this,s=(this._checkNumberOfArguments(),[]);this[a(1634)][a(1580)](function(r,e){var t=a,n=r[t(1199)];r[t(510)]?e<o[t(1066)][t(512)]?(n=o[t(1066)].slice(e),r.parseArg&&(n=n[t(1303)](function(e,t){return i(r,t,e)},r[t(1199)]))):void 0===n&&(n=[]):e<o.args[t(512)]&&(n=o.args[e],r[t(2015)])&&(n=i(r,n,r[t(1199)])),s[e]=n}),this[a(809)]=s}},{key:"_chainOrCall",value:function(e,t){var r=d;return e&&e[r(670)]&&typeof e.then==r(1282)?e.then(function(){return t()}):t()}},{key:d(1443),value:function(e,r){var n=d,i=this,a=e,o=[];return w(this)[n(1179)]()[n(1510)](function(e){return void 0!==e[n(1587)][r]})[n(1580)](function(t){var e=n;t._lifeCycleHooks[r][e(1580)](function(e){o.push({hookedCommand:t,callback:e})})}),"postAction"===r&&o.reverse(),o[n(1580)](function(t){var r=n;a=i[r(1232)](a,function(){var e=r;return t[e(757)](t[e(922)],i)})}),a}},{key:"_chainOrCallSubCommandHook",value:function(e,t,r){var n=d,i=this,a=e;return void 0!==this[n(1587)][r]&&this[n(1587)][r][n(1580)](function(e){a=i[n(1232)](a,function(){return e(i,t)})}),a}},{key:d(1394),value:function(t,r){var n=d,i=this,a=this[n(1728)](r);if(this._parseOptionsEnv(),this._parseOptionsImplied(),t=t.concat(a[n(1701)]),r=a[n(833)],this[n(1066)]=t[n(1653)](r),t&&this._findCommand(t[0]))return this._dispatchSubcommand(t[0],t.slice(1),r);if(this._hasImplicitHelpCommand()&&t[0]===this._helpCommandName)return 1===t.length&&this[n(599)](),this[n(743)](t[1],[],[this[n(1220)]]);if(this[n(812)])return y(this,r),this[n(743)](this[n(812)],t,r);!this[n(1929)][n(512)]||0!==this[n(1066)][n(512)]||this[n(1841)]||this[n(812)]||this[n(599)]({error:!0}),y(this,a[n(833)]),this[n(827)](),this[n(2060)]();function e(){var e=n;0<a.unknown.length&&i[e(1904)](a[e(833)][0])}var o,s=n(744)[n(1653)](this[n(1771)]());if(this[n(1841)])return e(),this[n(1277)](),o=this[n(1443)](o,"preAction"),o=this._chainOrCall(o,function(){return i._actionHandler(i.processedArgs)}),this[n(1403)]&&(o=this[n(1232)](o,function(){var e=n;i[e(1403)][e(1581)](s,t,r)})),o=this._chainOrCallHooks(o,n(1013));if(this[n(1403)]&&this[n(1403)].listenerCount(s))e(),this[n(1277)](),this[n(1403)][n(1581)](s,t,r);else if(t.length){if(this[n(1242)]("*"))return this[n(743)]("*",t,r);this[n(1097)](n(1604))?this[n(1581)](n(1604),t,r):this[n(1929)][n(512)]?this[n(1555)]():(e(),this._processArguments())}else this[n(1929)][n(512)]?(e(),this[n(599)]({error:!0})):(e(),this[n(1277)]())}},{key:d(1242),value:function(r){var n=d;if(r)return this[n(1929)][n(480)](function(e){var t=n;return e._name===r||e._aliases[t(1670)](r)})}},{key:"_findOption",value:function(t){var e=d;return this.options[e(480)](function(e){return e.is(t)})}},{key:d(827),value:function(){for(var e=d,t=this;t;t=t[e(1403)])(r=>{var n=_0x1621;r[n(1680)][n(1580)](function(e){var t=n;e[t(817)]&&void 0===r[t(1192)](e[t(1080)]())&&r[t(1028)](e)})})(t)}},{key:d(544),value:function(){var i=d,a=this,t=this.options[i(1510)](function(e){var t=i,e=e[t(1080)]();return void 0!==a[t(1192)](e)&&a[t(1690)](e)!==t(1870)});t[i(1510)](function(e){var t=i;return 0<e.conflictsWith[t(512)]})[i(1580)](function(r){var n=i,e=t[n(480)](function(e){var t=n;return r[t(1480)][t(1670)](e[t(1080)]())});e&&a._conflictingOption(r,e)})}},{key:d(2060),value:function(){for(var e=d,t=this;t;t=t[e(1403)])t[e(544)]()}},{key:d(1728),value:function(e){var t=d,r=[],n=[],i=r,a=e[t(1049)]();function o(e){return 1<e[t(512)]&&"-"===e[0]}for(var s=null;a.length;){var u=a[t(1332)]();if("--"===u){i===n&&i[t(774)](u),(f=i)[t(774)].apply(f,_toConsumableArray(a));break}if(s&&!o(u))this.emit("option:"[t(1653)](s.name()),u);else{if(s=null,o(u)){var c,f=this[t(1401)](u);if(f){f.required?(void 0===(c=a[t(1332)]())&&this.optionMissingArgument(f),this[t(1581)](t(2062)[t(1653)](f.name()),c)):f[t(1355)]?(c=null,0<a[t(512)]&&!o(a[0])&&(c=a.shift()),this[t(1581)](t(2062)[t(1653)](f.name()),c)):this[t(1581)]("option:"[t(1653)](f[t(1771)]())),s=f.variadic?f:null;continue}}if(2<u[t(512)]&&"-"===u[0]&&"-"!==u[1]){var h=this[t(1401)]("-".concat(u[1]));if(h){h[t(933)]||h[t(1355)]&&this[t(661)]?this[t(1581)](t(2062)[t(1653)](h[t(1771)]()),u.slice(2)):(this.emit(t(2062)[t(1653)](h[t(1771)]())),a[t(1263)]("-".concat(u[t(1049)](2))));continue}}if(/^--[^=]+=/.test(u)){var h=u.indexOf("="),l=this[t(1401)](u[t(1049)](0,h));if(l&&(l[t(933)]||l[t(1355)])){this[t(1581)]("option:".concat(l.name()),u[t(1049)](h+1));continue}}if(o(u)&&(i=n),(this._enablePositionalOptions||this[t(1860)])&&0===r[t(512)]&&0===n[t(512)]){if(this[t(1242)](u)){r.push(u),0<a[t(512)]&&n[t(774)][t(1954)](n,_toConsumableArray(a));break}if(u===this[t(476)]&&this[t(485)]()){r[t(774)](u),0<a[t(512)]&&r.push[t(1954)](r,_toConsumableArray(a));break}if(this[t(812)]){n[t(774)](u),0<a[t(512)]&&n[t(774)][t(1954)](n,_toConsumableArray(a));break}}if(this[t(1860)]){i[t(774)](u),0<a.length&&(l=i)[t(774)].apply(l,_toConsumableArray(a));break}i[t(774)](u)}}return{operands:r,unknown:n}}},{key:d(1460),value:function(){var e=d;if(this._storeOptionsAsProperties){for(var t={},r=this[e(1680)][e(512)],n=0;n<r;n++){var i=this[e(1680)][n].attributeName();t[i]=i===this._versionOptionName?this[e(1101)]:this[i]}return t}return this[e(878)]}},{key:d(1320),value:function(){var n=d;return w(this)[n(1303)](function(e,t){var r=n;return Object[r(712)](e,t[r(1460)]())},{})}},{key:d(1859),value:function(e,t){var r=d,t=(this[r(2069)][r(797)](""[r(1653)](e,"\n"),this[r(2069)][r(2034)]),"string"==typeof this[r(1126)]?this[r(2069)].writeErr(""[r(1653)](this[r(1126)],"\n")):this[r(1126)]&&(this._outputConfiguration[r(2034)]("\n"),this[r(1090)]({error:!0})),t||{}),n=t[r(1733)]||1,t=t.code||r(1614);this._exit(n,t,e)}},{key:d(1601),value:function(){var n=d,i=this;this[n(1680)][n(1580)](function(e){var t,r=n;e[r(1944)]&&e[r(1944)]in p[r(1809)]&&(t=e.attributeName(),void 0!==i.getOptionValue(t)&&![r(1870),r(1797),r(1809)].includes(i[r(1690)](t))||(e.required||e[r(1355)]?i[r(1581)](r(1105)[r(1653)](e[r(1771)]()),p[r(1809)][e[r(1944)]]):i[r(1581)](r(1105)[r(1653)](e[r(1771)]()))))})}},{key:d(1942),value:function(){function i(e){var t=a;return void 0!==o[t(1192)](e)&&![t(1870),"implied"][t(1670)](o[t(1690)](e))}var a=d,o=this,r=new f(this[a(1680)]);this[a(1680)][a(1510)](function(e){var t=a;return void 0!==e.implied&&i(e.attributeName())&&r[t(629)](o[t(1192)](e[t(1080)]()),e)}).forEach(function(r){var n=a;Object[n(1470)](r[n(477)]).filter(function(e){return!i(e)})[n(1580)](function(e){var t=n;o[t(1032)](e,r[t(477)][e],t(477))})})}},{key:d(1236),value:function(e){var t=d,e="error: missing required argument '"[t(1653)](e,"'");this.error(e,{code:t(1193)})}},{key:d(1339),value:function(e){var t=d,e=t(1131).concat(e[t(1889)],t(1773));this[t(1859)](e,{code:"commander.optionMissingArgument"})}},{key:d(1028),value:function(e){var t=d,e=t(1676)[t(1653)](e.flags,"' not specified");this[t(1859)](e,{code:t(1016)})}},{key:"_conflictingOption",value:function(e,t){function r(e){var t=_0x1621,r=(e=i(e)).attributeName();return o[t(1690)](r)===t(1809)?t(1642).concat(e.envVar,"'"):t(1564)[t(1653)](e.flags,"'")}var n=d,o=this,i=function(e){var r=_0x1621,n=e.attributeName(),t=o[r(1192)](n),i=o[r(1680)][r(480)](function(e){var t=r;return e[t(977)]&&n===e[t(1080)]()}),a=o[r(1680)][r(480)](function(e){var t=r;return!e[t(977)]&&n===e[t(1080)]()});return i&&(void 0===i.presetArg&&!1===t||void 0!==i[r(1782)]&&t===i[r(1782)])?i:a||e},e=n(633)[n(1653)](r(e),n(1711))[n(1653)](r(t));this.error(e,{code:n(2022)})}},{key:"unknownOption",value:function(e){var t=d;if(!this[t(2014)]){var r="";if(e[t(1808)]("--")&&this._showSuggestionAfterError){var n=[],i=this;do{var a=i[t(1211)]()[t(754)](i).filter(function(e){return e.long}).map(function(e){return e[t(656)]}),n=n.concat(a),i=i[t(1403)]}while(i&&!i._enablePositionalOptions);r=g(e,n)}e="error: unknown option '"[t(1653)](e,"'")[t(1653)](r);this[t(1859)](e,{code:t(1266)})}}},{key:"_excessArguments",value:function(e){var t,r,n=d;this._allowExcessArguments||(t=1===(r=this._args[n(512)])?"":"s",r="error: too many arguments"[n(1653)](this[n(1403)]?" for '"[n(1653)](this[n(1771)](),"'"):"",n(1280)).concat(r," argument")[n(1653)](t," but got ")[n(1653)](e[n(512)],"."),this[n(1859)](r,{code:"commander.excessArguments"}))}},{key:"unknownCommand",value:function(){var r,n=d,e=this[n(1066)][0],t="",e=(this[n(1432)]&&(r=[],this[n(1211)]()[n(658)](this)[n(1580)](function(e){var t=n;r[t(774)](e.name()),e[t(801)]()&&r[t(774)](e[t(801)]())}),t=g(e,r)),n(1802)[n(1653)](e,"'")[n(1653)](t));this.error(e,{code:"commander.unknownCommand"})}},{key:"version",value:function(t,e,r){var n=d,i=this;if(void 0===t)return this[n(1101)];this[n(1101)]=t,e=e||n(1253),r=r||"output the version number";e=this[n(627)](e,r);return this[n(1837)]=e[n(1080)](),this[n(1680)][n(774)](e),this.on(n(2062)+e[n(1771)](),function(){var e=n;i._outputConfiguration.writeOut(""[e(1653)](t,"\n")),i[e(665)](0,e(2019),t)}),this}},{key:d(1772),value:function(e,t){var r=d;return void 0===e&&void 0===t?this[r(1568)]:(this[r(1568)]=e,t&&(this[r(1304)]=t),this)}},{key:d(1886),value:function(e){var t=d;return void 0===e?this[t(1188)]:(this[t(1188)]=e,this)}},{key:d(801),value:function(e){var t=d;if(void 0===e)return this[t(869)][0];var r=this;if(e===(r=0!==this[t(1929)][t(512)]&&this.commands[this.commands[t(512)]-1][t(1592)]?this[t(1929)][this.commands[t(512)]-1]:r)[t(1654)])throw new Error(t(1406));return r[t(869)].push(e),this}},{key:d(1846),value:function(e){var t=d,r=this;return void 0===e?this[t(869)]:(e.forEach(function(e){return r[t(801)](e)}),this)}},{key:d(1118),value:function(e){var t,r=d;return void 0===e?this[r(551)]?this._usage:(t=this[r(1634)][r(1252)](function(e){return o(e)}),[].concat(this[r(1680)].length||this._hasHelpOption?r(1790):[],this.commands[r(512)]?r(1019):[],this._args[r(512)]?t:[])[r(1158)](" ")):(this[r(551)]=e,this)}},{key:d(1771),value:function(e){var t=d;return void 0===e?this[t(1654)]:(this[t(1654)]=e,this)}},{key:d(843),value:function(e){var t=d;return this[t(1654)]=l[t(1754)](e,l[t(967)](e)),this}},{key:"executableDir",value:function(e){var t=d;return void 0===e?this[t(1556)]:(this[t(1556)]=e,this)}},{key:d(517),value:function(e){var t=d,r=this[t(1211)]();return void 0===r[t(989)]&&(r[t(989)]=e&&e.error?this._outputConfiguration[t(690)]():this[t(2069)][t(1629)]()),r.formatHelp(this,r)}},{key:d(851),value:function(e){var r=d,n=this,t={error:!!(e=e||{})[r(1859)]},i=t[r(1859)]?function(e){var t=r;return n[t(2069)][t(2034)](e)}:function(e){var t=r;return n[t(2069)][t(853)](e)};return t[r(538)]=e[r(538)]||i,t[r(1685)]=this,t}},{key:d(1090),value:function(e){var t,r=d,n=(typeof e==r(1282)&&(t=e,e=void 0),this._getHelpContext(e)),e=(w(this)[r(1179)]()[r(1580)](function(e){var t=r;return e.emit(t(586),n)}),this.emit(r(1695),n),this[r(517)](n));if(t&&"string"!=typeof(e=t(e))&&!Buffer.isBuffer(e))throw new Error(r(2004));n[r(538)](e),this[r(1581)](this._helpLongFlag),this[r(1581)]("afterHelp",n),w(this).forEach(function(e){var t=r;return e[t(1581)](t(876),n)})}},{key:d(1274),value:function(e,t){var r=d;return typeof e==r(1479)?this[r(2028)]=e:(this._helpFlags=e||this[r(1866)],this[r(1905)]=t||this._helpDescription,e=c(this[r(1866)]),this._helpShortFlag=e.shortFlag,this[r(1220)]=e.longFlag),this}},{key:d(599),value:function(e){var t=d,r=(this[t(1090)](e),p[t(1733)]||0);0===r&&e&&typeof e!=t(1282)&&e.error&&(r=1),this[t(665)](r,t(1409),t(573))}},{key:"addHelpText",value:function(e,n){var i=d,t=[i(2031),i(1468),i(1915),i(791)];if(t[i(1670)](e))return e=""[i(1653)](e,"Help"),this.on(e,function(e){var t=i,r=typeof n==t(1282)?n({error:e[t(1859)],command:e[t(1685)]}):n;r&&e[t(538)]("".concat(r,"\n"))}),this;throw new Error(i(1352).concat(t[i(1158)](i(1486)),"'"))}}]));function m(e){var t,r=_0x1621;return _classCallCheck(this,m),(t=_callSuper(this,m))[r(1929)]=[],t[r(1680)]=[],t[r(1403)]=null,t[r(2014)]=!1,t._allowExcessArguments=!0,t[r(1634)]=[],t.args=[],t[r(1665)]=[],t[r(809)]=[],t._scriptPath=null,t._name=e||"",t[r(878)]={},t[r(1218)]={},t._storeOptionsAsProperties=!1,t[r(1841)]=null,t[r(1592)]=!1,t[r(714)]=null,t[r(1556)]=null,t[r(812)]=null,t[r(1919)]=null,t[r(869)]=[],t[r(661)]=!0,t._description="",t._summary="",t[r(1304)]=void 0,t[r(1113)]=!1,t[r(1860)]=!1,t[r(1587)]={},t[r(1126)]=!1,t._showSuggestionAfterError=!0,t._outputConfiguration={writeOut:function(e){var t=r;return p.stdout[t(538)](e)},writeErr:function(e){var t=r;return p[t(940)][t(538)](e)},getOutHelpWidth:function(){var e=r;return p[e(1048)][e(1250)]?p[e(1048)][e(1327)]:void 0},getErrHelpWidth:function(){var e=r;return p.stderr[e(1250)]?p[e(940)].columns:void 0},outputError:function(e,t){return t(e)}},t._hidden=!1,t._hasHelpOption=!0,t[r(1866)]="-h, --help",t[r(1905)]=r(1366),t[r(530)]="-h",t[r(1220)]=r(1251),t._addImplicitHelpCommand=void 0,t[r(476)]="help",t[r(1261)]=r(1507),t[r(1895)]=r(1366),t[r(649)]={},t}function y(r,e){var n=i;r[n(2028)]&&e[n(480)](function(e){var t=n;return e===r[t(1220)]||e===r[t(530)]})&&(r[n(1090)](),r._exit(0,n(1278),n(573)))}function b(e){var o=i;return e[o(1252)](function(e){var t,r,n,i,a=o;return e[a(1808)](a(1431))&&(r=a(1515),n=a(2074),null!==(i=e[a(1769)](/^(--inspect(-brk)?)$/))?t=i[1]:null!==(i=e[a(1769)](/^(--inspect(-brk|-port)?)=([^:]+)$/))?(t=i[1],/^\d+$/[a(1921)](i[3])?n=i[3]:r=i[3]):null!==(i=e[a(1769)](/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))&&(t=i[1],r=i[3],n=i[4]),t)&&"0"!==n?""[a(1653)](t,"=")[a(1653)](r,":").concat(parseInt(n)+1):e})}function w(e){for(var t=i,r=[],n=e;n;n=n[t(1403)])r[t(774)](n);return r}e[i(1605)]=n}),U=t(function(e,t){var r=X,n=x()[r(1414)],i=H()[r(1605)],a=k(),o=a[r(1620)],a=a[r(2059)],s=E()[r(1249)],u=C()[r(1641)];((e=t[r(1924)]=new i).program=e)[r(1414)]=n,e[r(1605)]=i,e[r(1620)]=o,e[r(1249)]=s,e.InvalidArgumentError=a,e[r(672)]=a,e[r(1641)]=u}),F=t(function(e,t){var u=X;"u"<(typeof process===u(1226)?"undefined":_typeof(process))||!process[u(1743)]||0===process.version[u(1584)](u(1212))||0===process.version.indexOf(u(1541))&&0!==process[u(1743)][u(1584)](u(468))?t[u(1924)]={nextTick:function(e,t,r,n){var i=u;if(typeof e!=i(1282))throw new TypeError(i(844));var a,o,s=arguments[i(512)];switch(s){case 0:case 1:return process[i(1271)](e);case 2:return process.nextTick(function(){e[i(983)](null,t)});case 3:return process.nextTick(function(){e[i(983)](null,t,r)});case 4:return process[i(1271)](function(){e[i(983)](null,t,r,n)});default:for(a=new Array(s-1),o=0;o<a.length;)a[o++]=arguments[o];return process[i(1271)](function(){e.apply(null,a)})}}}:t.exports=process}),G=t(function(e,t){var r=X,n={}[r(1260)];t.exports=Array[r(1434)]||function(e){var t=r;return n.call(e)==t(1926)}}),I=t(function(e,t){var r=X;t.exports=require(r(1927))}),P=t(function(e,t){var i=X,r=require("buffer"),a=r.Buffer;function n(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return a(e,t,r)}a[i(765)]&&a.alloc&&a.allocUnsafe&&a[i(1994)]?t.exports=r:(n(r,e),e.Buffer=o),n(a,o),o[i(765)]=function(e,t,r){var n=i;if(typeof e==n(1573))throw new TypeError(n(2051));return a(e,t,r)},o[i(1487)]=function(e,t,r){var n=i;if(typeof e!=n(1573))throw new TypeError(n(1992));e=a(e);return void 0!==t?typeof r==n(496)?e[n(1999)](t,r):e[n(1999)](t):e[n(1999)](0),e},o[i(674)]=function(e){var t=i;if(typeof e!=t(1573))throw new TypeError(t(1992));return a(e)},o[i(1994)]=function(e){var t=i;if(typeof e!=t(1573))throw new TypeError(t(1992));return r[t(1722)](e)}}),R=t(function(e){var r=X;function n(e){var t=r;return Object[t(854)][t(1260)][t(983)](e)}e.isArray=function(e){var t=_0x1621;return Array[t(1434)]?Array.isArray(e):n(e)===t(1926)},e[r(1204)]=function(e){return typeof e==_0x1621(1479)},e[r(1879)]=function(e){return null===e},e[r(1540)]=function(e){return null==e},e.isNumber=function(e){return typeof e==r(1573)},e[r(1532)]=function(e){return"string"==typeof e},e[r(1103)]=function(e){var t=r;return _typeof(e)==t(1814)},e.isUndefined=function(e){return void 0===e},e[r(1091)]=function(e){var t=r;return n(e)===t(1042)},e[r(1516)]=function(e){var t=r;return _typeof(e)==t(671)&&null!==e},e[r(1057)]=function(e){return"[object Date]"===n(e)},e[r(1831)]=function(e){var t=r;return n(e)===t(1422)||e instanceof Error},e[r(1853)]=function(e){return typeof e==r(1282)},e.isPrimitive=function(e){var t=r;return null===e||typeof e==t(1479)||typeof e==t(1573)||typeof e==t(496)||_typeof(e)==t(1814)||"u"<_typeof(e)},e[r(1626)]=require(r(556))[r(1238)][r(1626)]}),M=t(function(e,t){var i=X;"function"==typeof Object[i(1046)]?t[i(1924)]=function(e,t){var r=i;t&&(e[r(1987)]=t,e.prototype=Object.create(t[r(854)],{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t[i(1924)]=function(e,t){var r,n=i;t&&(e[n(1987)]=t,(r=function(){})[n(854)]=t[n(854)],e[n(854)]=new r,e[n(854)][n(1341)]=e)}}),N=t(function(e,t){var r,n=X;try{if("function"!=typeof(r=require(n(1150))).inherits)throw"";t.exports=r[n(836)]}catch(e){t[n(1924)]=M()}}),Z=t(function(e,t){var r=X;var s,u=P()[r(1238)],n=require("util");function i(){var e=_0x1621,t=_0x1621;if(!(this instanceof i))throw new TypeError(t(1454));this[e(865)]=null,this[e(1021)]=null,this.length=0}t.exports=(i[(s=r)(854)][s(774)]=function(e){var t=s,e={data:e,next:null};0<this[t(512)]?this.tail[t(905)]=e:this[t(865)]=e,this[t(1021)]=e,++this[t(512)]},i[s(854)][s(1263)]=function(e){var t=s,e={data:e,next:this[t(865)]};0===this[t(512)]&&(this[t(1021)]=e),this.head=e,++this.length},i[s(854)].shift=function(){var e,t=s;if(0!==this[t(512)])return e=this[t(865)].data,1===this[t(512)]?this[t(865)]=this.tail=null:this.head=this[t(865)][t(905)],--this[t(512)],e},i.prototype[s(581)]=function(){var e=s;this[e(865)]=this[e(1021)]=null,this[e(512)]=0},i[s(854)][s(1158)]=function(e){var t=s;if(0===this[t(512)])return"";for(var r=this.head,n=""+r[t(1018)];r=r[t(905)];)n+=e+r[t(1018)];return n},i[s(854)][s(1653)]=function(e){var t=s;if(0===this.length)return u[t(1487)](0);for(var r,n,i=u.allocUnsafe(e>>>0),a=this[t(865)],o=0;a;)r=a.data,n=o,r.copy(i,n),o+=a.data[t(512)],a=a.next;return i},i),n&&n[r(2005)]&&n.inspect.custom&&(t[r(1924)][r(854)][n[r(2005)][r(526)]]=function(){var e=r,t=n[e(2005)]({length:this[e(512)]});return this[e(1341)][e(1771)]+" "+t})}),j=t(function(e,t){var r=X,o=F();function s(e,t){var r=_0x1621;e[r(1581)](r(1859),t)}t[r(1924)]={destroy:function(e,r){var n=_0x1621,i=this,t=this[n(1583)]&&this[n(1583)][n(1246)],a=this[n(1751)]&&this[n(1751)].destroyed;return t||a?r?r(e):e&&(this[n(1751)]?this[n(1751)][n(1779)]||(this[n(1751)][n(1779)]=!0,o.nextTick(s,this,e)):o.nextTick(s,this,e)):(this._readableState&&(this[n(1583)][n(1246)]=!0),this[n(1751)]&&(this[n(1751)][n(1246)]=!0),this[n(1245)](e||null,function(e){var t=n;!r&&e?i[t(1751)]?i[t(1751)].errorEmitted||(i[t(1751)][t(1779)]=!0,o[t(1271)](s,i,e)):o[t(1271)](s,i,e):r&&r(e)})),this},undestroy:function(){var e=_0x1621;this[e(1583)]&&(this[e(1583)].destroyed=!1,this._readableState[e(681)]=!1,this._readableState[e(1475)]=!1,this._readableState.endEmitted=!1),this[e(1751)]&&(this._writableState[e(1246)]=!1,this[e(1751)][e(1475)]=!1,this[e(1751)].ending=!1,this[e(1751)][e(479)]=!1,this[e(1751)][e(1566)]=!1,this[e(1751)][e(1356)]=!1,this[e(1751)][e(1779)]=!1)}}}),q=t(function(e,t){var r=X;t.exports=require(r(1150))[r(1723)]}),d=t(function(e,t){var p=X,_=F();function h(o){var e=p,s=this;this[e(905)]=null,this[e(1982)]=null,this[e(667)]=function(){var e=s,t=o,r=void 0,n=p,i=e[n(1982)];for(e[n(1982)]=null;i;){var a=i[n(757)];t[n(1890)]--,a(r),i=i[n(905)]}t[n(1159)][n(905)]=e}}t[p(1924)]=u;var o,d=!process.browser&&-1<[p(1346),p(1152)][p(1584)](process[p(1743)].slice(0,5))?setImmediate:_.nextTick,t=(u[p(939)]=s,Object[p(1046)](R())),r=(t[p(836)]=N(),{deprecate:q()}),n=I(),g=P()[p(1238)],m=(("undefined"==typeof global?p(1226):_typeof(global))<"u"?global:(typeof window===p(1226)?p(1226):_typeof(window))<"u"?window:(typeof self===p(1226)?p(1226):_typeof(self))<"u"?self:{})[p(1138)]||function(){};var i,a=j();function y(){}function s(e,l){var t=p,r=(o=o||L(),e=e||{},l instanceof o),n=(this[t(1144)]=!!e[t(1144)],r&&(this[t(1144)]=this[t(1144)]||!!e[t(725)]),e.highWaterMark),i=e.writableHighWaterMark,a=this[t(1144)]?16:16384,n=(n||0===n?this[t(1270)]=n:r&&(i||0===i)?this[t(1270)]=i:this.highWaterMark=a,this[t(1270)]=Math[t(1272)](this[t(1270)]),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this[t(1475)]=!1,this[t(1356)]=!1,(this[t(1246)]=!1)===e[t(1061)]);this[t(1061)]=!n,this[t(636)]=e[t(636)]||"utf8",this.length=0,this[t(2080)]=!1,this.corked=0,this[t(1595)]=!0,this.bufferProcessing=!1,this.onwrite=function(e){e=e,n=(t=l)[(r=p)(1751)],i=n[r(1595)],a=n[r(1006)];var t,r,n,i,a,o=n,s=p;{var u,c,f,h;(o[s(2080)]=!1,o.writecb=null,o[s(512)]-=o[s(563)],o[s(563)]=0,e)?(o=t,u=i,c=e,f=a,h=p,--(s=n).pendingcb,u?(_[h(1271)](f,c),_[h(1271)](x,o,s),o._writableState[h(1779)]=!0,o[h(1581)](h(1859),c)):(f(c),o._writableState[h(1779)]=!0,o[h(1581)](h(1859),c),x(o,s))):((e=k(n))||n.corked||n[r(574)]||!n.bufferedRequest||w(t,n),i?d(v,t,n,e,a):v(t,n,e,a))}},this[t(1006)]=null,this[t(563)]=0,this[t(1228)]=null,this[t(824)]=null,this[t(1890)]=0,this[t(1566)]=!1,this.errorEmitted=!1,this[t(1467)]=0,this[t(1159)]=new h(this)}t[p(836)](u,n),s[p(854)][p(1119)]=function(){for(var e=p,t=this.bufferedRequest,r=[];t;)r[e(774)](t),t=t.next;return r};t=p;try{Object.defineProperty(s.prototype,t(556),{get:r[t(1723)](function(){return this.getBuffer()},t(850),t(973))})}catch(e){}function u(e){var t=p;if(o=o||L(),!(i.call(u,this)||this instanceof o))return new u(e);this._writableState=new s(e,this),this[t(1421)]=!0,e&&("function"==typeof e[t(538)]&&(this[t(718)]=e[t(538)]),"function"==typeof e.writev&&(this[t(1124)]=e[t(1730)]),"function"==typeof e.destroy&&(this[t(1245)]=e[t(1745)]),typeof e.final==t(1282))&&(this[t(1328)]=e[t(1222)]),n.call(this)}function b(e,t,r,n,i,a,o){var s=p;t.writelen=n,t[s(1006)]=o,t[s(2080)]=!0,t[s(1595)]=!0,r?e[s(1124)](i,t.onwrite):e[s(718)](i,a,t[s(938)]),t.sync=!1}function v(e,t,r,n){var i,a;r||(r=e,0===(i=t)[(a=p)(512)]&&i[a(1084)]&&(i[a(1084)]=!1,r[a(1581)](a(1742)))),t.pendingcb--,n(),x(e,t)}function w(e,t){var r=p,n=(t[r(574)]=!0,t[r(1228)]);if(e[r(1124)]&&n&&n[r(905)]){var i=t[r(1467)],a=new Array(i),i=t[r(1159)];i[r(1982)]=n;for(var o=0,s=!0;n;)(a[o]=n)[r(521)]||(s=!1),n=n[r(905)],o+=1;a[r(1514)]=s,b(e,t,!0,t[r(512)],a,"",i[r(667)]),t.pendingcb++,t[r(824)]=null,i[r(905)]?(t[r(1159)]=i.next,i.next=null):t[r(1159)]=new h(t),t[r(1467)]=0}else{for(;n;){var u=n.chunk,c=n[r(802)],f=n[r(757)];if(b(e,t,!1,t[r(1144)]?1:u[r(512)],u,c,f),n=n[r(905)],t.bufferedRequestCount--,t.writing)break}null===n&&(t[r(824)]=null)}t.bufferedRequest=n,t[r(574)]=!1}function k(e){var t=p;return e[t(1537)]&&0===e[t(512)]&&null===e[t(1228)]&&!e[t(1356)]&&!e[t(2080)]}function c(r,n){var i=p;r[i(1328)](function(e){var t=i;n[t(1890)]--,e&&r[t(1581)](t(1859),e),n[t(1566)]=!0,r[t(1581)](t(1575)),x(r,n)})}function x(e,t){var r,n,i,a=p,o=k(t);return o&&(r=e,(n=t)[(i=p)(1566)]||n.finalCalled||(typeof r[i(1328)]==i(1282)?(n[i(1890)]++,n[i(479)]=!0,_[i(1271)](c,r,n)):(n[i(1566)]=!0,r.emit(i(1575)))),0===t[a(1890)])&&(t[a(1356)]=!0,e.emit(a(667))),o}typeof Symbol==p(1282)&&Symbol[p(1791)]&&typeof Function.prototype[Symbol[p(1791)]]==p(1282)?(i=Function[p(854)][Symbol[p(1791)]],Object[p(1662)](u,Symbol[p(1791)],{value:function(e){var t=p;return!!i[t(983)](this,e)||this===u&&e&&e[t(1751)]instanceof s}})):i=function(e){return e instanceof this},u[p(854)][p(737)]=function(){var e=p;this[e(1581)](e(1859),new Error(e(722)))},u[p(854)][p(538)]=function(e,t,r){var n,i,a,o,s,u,c,f,h=p,l=this[h(1751)],d=!1,v=!l[h(1144)]&&(v=e,g[p(1626)](v)||v instanceof m);return v&&!g[h(1626)](e)&&(f=e,e=g.from(f)),typeof t==h(1282)&&(r=t,t=null),t=v?h(556):t||l.defaultEncoding,typeof r!=h(1282)&&(r=y),l.ended?(f=this,s=r,u=p,c=new Error("write after end"),f[u(1581)]("error",c),_[u(1271)](s,c)):(v||(u=this,s=l,c=r,i=p,o=!(a=!0),null===(n=e)?o=new TypeError("May not write null values to stream"):typeof n==i(496)||void 0===n||s[i(1144)]||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(u[i(1581)](i(1859),o),_[i(1271)](c,o),a=!1),a))&&(l[h(1890)]++,d=((e,t,r,n,i,a)=>{var o,s=p,u=(r||(u=((e,t,r)=>{var n=p;return t=e[n(1144)]||!1===e[n(1061)]||typeof t!=n(496)?t:g[n(765)](t,r)})(t,n,i),n!==u&&(r=!0,i=s(556),n=u)),t[s(1144)]?1:n[s(512)]),c=(t.length+=u,t.length<t[s(1270)]);return c||(t[s(1084)]=!0),t[s(2080)]||t[s(974)]?(o=t[s(824)],t[s(824)]={chunk:n,encoding:i,isBuf:r,callback:a,next:null},o?o[s(905)]=t.lastBufferedRequest:t.bufferedRequest=t[s(824)],t[s(1467)]+=1):b(e,t,!1,u,n,i,a),c})(this,l,v,e,t,r)),d},u[p(854)].cork=function(){var e=p;this[e(1751)][e(974)]++},u[p(854)][p(483)]=function(){var e=p,t=this[e(1751)];!t.corked||(t[e(974)]--,t.writing)||t[e(974)]||t.bufferProcessing||!t[e(1228)]||w(this,t)},u[p(854)][p(1761)]=function(e){var t=p;if(typeof e==t(496)&&(e=e.toLowerCase()),-1<[t(1588),"utf8","utf-8",t(1709),t(1347),t(1504),t(847),t(1631),t(622),t(799),t(706)][t(1584)]((e+"")[t(1844)]()))return this[t(1751)].defaultEncoding=e,this;throw new TypeError("Unknown encoding: "+e)},Object[p(1662)](u[p(854)],p(680),{enumerable:!1,get:function(){var e=p;return this._writableState[e(1270)]}}),u[p(854)][p(718)]=function(e,t,r){r(new Error("_write() is not implemented"))},u[p(854)][p(1124)]=null,u[p(854)][p(763)]=function(e,t,r){var n=p,i=this[n(1751)];"function"==typeof e?(r=e,t=e=null):"function"==typeof t&&(r=t,t=null),null!=e&&this[n(538)](e,t),i[n(974)]&&(i[n(974)]=1,this[n(483)]()),i.ending||(e=this,t=r,n=p,(r=i).ending=!0,x(e,r),t&&(r[n(1356)]?_[n(1271)](t):e[n(1334)](n(667),t)),r[n(1475)]=!0,e.writable=!1)},Object.defineProperty(u.prototype,"destroyed",{get:function(){var e=p;return void 0!==this[e(1751)]&&this[e(1751)][e(1246)]},set:function(e){var t=p;this[t(1751)]&&(this[t(1751)][t(1246)]=e)}}),u.prototype.destroy=a[p(1745)],u[p(854)][p(1114)]=a[p(1100)],u[p(854)][p(1245)]=function(e,t){this[p(763)](),t(e)}}),L=t(function(e,t){var r,n,i,a=X,o=F(),s=Object[a(1470)]||function(e){var t,r=a,n=[];for(t in e)n[r(774)](t);return n},t=(t[a(1924)]=f,Object[a(1046)](R())),u=(t[a(836)]=N(),v()),c=d();for(t.inherits(f,u),r=s(c.prototype),i=0;i<r[a(512)];i++)n=r[i],f[a(854)][n]||(f.prototype[n]=c[a(854)][n]);function f(e){var t=a;if(!(this instanceof f))return new f(e);u[t(983)](this,e),c[t(983)](this,e),e&&!1===e[t(777)]&&(this[t(777)]=!1),e&&!1===e[t(1421)]&&(this.writable=!1),this[t(1055)]=!0,e&&!1===e[t(1055)]&&(this[t(1055)]=!1),this[t(1334)](t(763),h)}function h(){var e=a;this.allowHalfOpen||this._writableState[e(1475)]||o.nextTick(l,this)}function l(e){e[a(763)]()}Object[a(1662)](f[a(854)],"writableHighWaterMark",{enumerable:!1,get:function(){var e=a;return this._writableState[e(1270)]}}),Object[a(1662)](f.prototype,a(1246),{get:function(){var e=a;return void 0!==this[e(1583)]&&void 0!==this[e(1751)]&&this[e(1583)].destroyed&&this._writableState.destroyed},set:function(e){var t=a;void 0!==this[t(1583)]&&void 0!==this[t(1751)]&&(this[t(1583)][t(1246)]=e,this[t(1751)][t(1246)]=e)}}),f.prototype[a(1245)]=function(e,t){this[a(774)](null),this.end(),o.nextTick(t,e)}}),z=t(function(e){var o=X,n=P().Buffer,i=n.isEncoding||function(e){var t=_0x1621;switch((e=""+e)&&e.toLowerCase()){case t(1588):case t(592):case t(552):case"ascii":case"binary":case t(1504):case t(847):case t(1631):case t(622):case t(799):case t(706):return!0;default:return!1}};function a(e){var t=_0x1621,r=(e=>{var t,r=_0x1621;if(!e)return r(592);for(;;)switch(e){case r(592):case r(552):return r(592);case r(847):case r(1631):case"utf16le":case r(799):return"utf16le";case r(687):case r(1347):return r(687);case r(1504):case r(1709):case r(1588):return e;default:if(t)return;e=(""+e)[r(1844)](),t=!0}})(e);if(typeof r==t(496)||n[t(2048)]!==i&&i(e))return r||e;throw new Error(t(1085)+e)}function t(e){var t,r=o;switch(this[r(802)]=a(e),this[r(802)]){case"utf16le":this[r(819)]=c,this[r(763)]=f,t=4;break;case"utf8":this[r(1898)]=u,t=4;break;case r(1504):this.text=h,this[r(763)]=l,t=3;break;default:return this[r(538)]=d,void(this[r(763)]=v)}this[r(1037)]=0,this[r(1729)]=0,this[r(1647)]=n[r(674)](t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function u(e){var t,r,n=o,i=this.lastTotal-this[n(1037)],a=(t=this,r=o,128!=(192&(a=e)[0])?(t[r(1037)]=0,"�"):1<t[r(1037)]&&1<a[r(512)]?128!=(192&a[1])?(t[r(1037)]=1,"�"):2<t.lastNeed&&2<a[r(512)]&&128!=(192&a[2])?(t[r(1037)]=2,"�"):void 0:void 0);return void 0!==a?a:this[n(1037)]<=e[n(512)]?(e[n(1804)](this.lastChar,i,0,this[n(1037)]),this[n(1647)][n(1260)](this[n(802)],0,this[n(1729)])):(e[n(1804)](this[n(1647)],i,0,e[n(512)]),void(this[n(1037)]-=e[n(512)]))}function c(e,t){var r=o;if((e.length-t)%2!=0)return this[r(1037)]=1,this.lastTotal=2,this[r(1647)][0]=e[e[r(512)]-1],e[r(1260)](r(622),t,e[r(512)]-1);t=e[r(1260)]("utf16le",t);if(t){var n=t[r(2016)](t.length-1);if(55296<=n&&n<=56319)return this.lastNeed=2,this[r(1729)]=4,this.lastChar[0]=e[e[r(512)]-2],this[r(1647)][1]=e[e[r(512)]-1],t[r(1049)](0,-1)}return t}function f(e){var t,r=o,e=e&&e.length?this[r(538)](e):"";return this[r(1037)]?(t=this.lastTotal-this[r(1037)],e+this[r(1647)][r(1260)](r(622),0,t)):e}function h(e,t){var r=o,n=(e[r(512)]-t)%3;return 0==n?e[r(1260)](r(1504),t):(this.lastNeed=3-n,this.lastTotal=3,1==n?this[r(1647)][0]=e[e[r(512)]-1]:(this[r(1647)][0]=e[e[r(512)]-2],this[r(1647)][1]=e[e.length-1]),e.toString(r(1504),t,e.length-n))}function l(e){var t=o,e=e&&e.length?this[t(538)](e):"";return this[t(1037)]?e+this[t(1647)][t(1260)](t(1504),0,3-this.lastNeed):e}function d(e){return e.toString(this.encoding)}function v(e){var t=o;return e&&e[t(512)]?this[t(538)](e):""}(e[o(488)]=t)[o(854)][o(538)]=function(e){var t,r,n=o;if(0===e[n(512)])return"";if(this[n(1037)]){if(void 0===(t=this[n(1898)](e)))return"";r=this[n(1037)],this[n(1037)]=0}else r=0;return r<e[n(512)]?t?t+this.text(e,r):this.text(e,r):t||""},t[o(854)][o(763)]=function(e){var t=o,e=e&&e.length?this[t(538)](e):"";return this[t(1037)]?e+"�":e},t[o(854)].text=function(e,t){var r=o,n=((e,t,r)=>{var n,i=o,a=t[i(512)]-1;return a<r?0:0<=(n=s(t[a]))?(0<n&&(e.lastNeed=n-1),n):--a<r||-2===n?0:0<=(n=s(t[a]))?(0<n&&(e[i(1037)]=n-2),n):!(--a<r||-2===n)&&0<=(n=s(t[a]))?(0<n&&(2===n?n=0:e[i(1037)]=n-3),n):0})(this,e,t);if(!this[r(1037)])return e[r(1260)](r(592),t);this[r(1729)]=n;n=e.length-(n-this.lastNeed);return e[r(1804)](this[r(1647)],0,n),e[r(1260)](r(592),t,n)},t[o(854)][o(1898)]=function(e){var t=o;if(this[t(1037)]<=e.length)return e[t(1804)](this[t(1647)],this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar[t(1260)](this[t(802)],0,this.lastTotal);e[t(1804)](this[t(1647)],this[t(1729)]-this.lastNeed,0,e[t(512)]),this[t(1037)]-=e[t(512)]}}),v=t(function(e,t){function g(e,t){var r=m;return e[r(535)](t)[r(512)]}var o,m=X,y=F(),b=(t[m(1924)]=a,G()),n=(a.ReadableState=i,require(m(564))[m(1502)],I()),d=P()[m(1238)],v=(("undefined"==typeof global?"undefined":_typeof(global))<"u"?global:(typeof window===m(1226)?"undefined":_typeof(window))<"u"?window:(typeof self===m(1226)?m(1226):_typeof(self))<"u"?self:{}).Uint8Array||function(){};var s,t=Object[m(1046)](R()),r=(t[m(836)]=N(),require(m(1150))),w=void 0,w=r&&r[m(751)]?r[m(751)](m(1927)):function(){},u=Z(),r=j(),c=(t[m(836)](a,n),[m(1859),m(1047),m(1745),"pause",m(993)]);function i(e,t){var r=m,t=(e=e||{},t instanceof(o=o||L())),n=(this.objectMode=!!e.objectMode,t&&(this[r(1144)]=this[r(1144)]||!!e[r(981)]),e[r(1270)]),i=e[r(1412)],a=this[r(1144)]?16:16384;n||0===n?this.highWaterMark=n:this[r(1270)]=t&&(i||0===i)?i:a,this[r(1270)]=Math[r(1272)](this[r(1270)]),this[r(556)]=new u,this[r(512)]=0,this[r(1736)]=null,this[r(962)]=0,this[r(652)]=null,this[r(1475)]=!1,this[r(1983)]=!1,this.reading=!1,this[r(1595)]=!0,this.needReadable=!1,this[r(1425)]=!1,this.readableListening=!1,this[r(1694)]=!1,this[r(1246)]=!1,this.defaultEncoding=e[r(636)]||"utf8",this[r(1087)]=0,this[r(1965)]=!1,this.decoder=null,this[r(802)]=null,e[r(802)]&&(s=s||z()[r(488)],this[r(619)]=new s(e[r(802)]),this[r(802)]=e[r(802)])}function a(e){var t=m;if(o=o||L(),!(this instanceof a))return new a(e);this[t(1583)]=new i(e,this),this.readable=!0,e&&(typeof e.read==t(1282)&&(this[t(1083)]=e[t(1466)]),typeof e[t(1745)]==t(1282))&&(this._destroy=e[t(1745)]),n[t(983)](this)}function f(e,t,r,n,i){var a,o,s,u,c,f,h=m,l=e[h(1583)];return null===t?(l[h(681)]=!1,o=e,(c=l)[(u=m)(1475)]||(c.decoder&&(s=c[u(619)][u(763)]())&&s[u(512)]&&(c[u(556)][u(774)](s),c[u(512)]+=c.objectMode?1:s.length),c[u(1475)]=!0,_(o))):(i||(s=l,c=m,a=f=(e=>d.isBuffer(e)||e instanceof v)(u=t)||"string"==typeof u||void 0===u||s[c(1144)]?f:new TypeError(c(1760))),a?e[h(1581)](h(1859),a):l.objectMode||t&&0<t.length?("string"==typeof t||l[h(1144)]||Object.getPrototypeOf(t)===d.prototype||(o=t,t=d[m(765)](o)),n?l[h(1983)]?e[h(1581)]("error",new Error(h(1291))):p(e,l,t,!0):l.ended?e[h(1581)](h(1859),new Error(h(1078))):(l[h(681)]=!1,!l[h(619)]||r||(t=l.decoder.write(t),l[h(1144)])||0!==t[h(512)]?p(e,l,t,!1):x(e,l))):n||(l.reading=!1)),!(i=l)[(f=m)(1475)]&&(i[f(810)]||i[f(512)]<i[f(1270)]||0===i[f(512)])}function p(e,t,r,n){var i=m;t[i(652)]&&0===t[i(512)]&&!t[i(1595)]?(e.emit("data",r),e[i(1466)](0)):(t[i(512)]+=t[i(1144)]?1:r[i(512)],n?t[i(556)][i(1263)](r):t[i(556)][i(774)](r),t.needReadable&&_(e)),x(e,t)}Object[m(1662)](a[m(854)],"destroyed",{get:function(){var e=m;return void 0!==this[e(1583)]&&this[e(1583)][e(1246)]},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),a.prototype[m(1745)]=r[m(1745)],a[m(854)][m(1114)]=r[m(1100)],a[m(854)][m(1245)]=function(e,t){this.push(null),t(e)},a[m(854)][m(774)]=function(e,t){var r,n=m,i=this[n(1583)];return i.objectMode?r=!0:typeof e==n(496)&&((t=t||i.defaultEncoding)!==i[n(802)]&&(e=d[n(765)](e,t),t=""),r=!0),f(this,e,t,!1,r)},a.prototype[m(1263)]=function(e){return f(this,e,null,!0,!1)},a[m(854)][m(1858)]=function(){var e=m;return!1===this[e(1583)][e(652)]},a.prototype[m(608)]=function(e){var t=m;return s=s||z()[t(488)],this[t(1583)][t(619)]=new s(e),this[t(1583)][t(802)]=e,this};var h=8388608;function l(e,t){var r,n=m;return e<=0||0===t[n(512)]&&t[n(1475)]?0:t.objectMode?1:e!=e?(t[n(652)]&&t[n(512)]?t[n(556)][n(865)].data:t)[n(512)]:(e>t[n(1270)]&&(t.highWaterMark=(h<=(r=e)?r=h:(r--,r=(r=(r=(r=(r|=r>>>1)|r>>>2)|r>>>4)|r>>>8)|r>>>16,r++),r)),e<=t.length?e:t[n(1475)]?t[n(512)]:(t[n(810)]=!0,0))}function _(e){var t=m,r=e._readableState;r[t(810)]=!1,r[t(1425)]||(w("emitReadable",r[t(652)]),r.emittedReadable=!0,r[t(1595)]?y[t(1271)](k,e):k(e))}function k(e){var t=m;w(t(1989)),e[t(1581)](t(777)),S(e)}function x(e,t){var r=m;t.readingMore||(t[r(1965)]=!0,y.nextTick(E,e,t))}function E(e,t){for(var r=m,n=t[r(512)];!t[r(681)]&&!t[r(652)]&&!t.ended&&t[r(512)]<t.highWaterMark&&(w(r(1957)),e[r(1466)](0),n!==t[r(512)]);)n=t.length;t[r(1965)]=!1}function C(e){var t=m;w("readable nexttick read 0"),e[t(1466)](0)}function A(e,t){var r=m;t[r(681)]||(w(r(620)),e[r(1466)](0)),t[r(1694)]=!1,t[r(1087)]=0,e[r(1581)](r(993)),S(e),t[r(652)]&&!t.reading&&e[r(1466)](0)}function S(e){var t=m,r=e[t(1583)];for(w("flow",r.flowing);r.flowing&&null!==e[t(1466)](););}function D(e,t){var r,n,i,a=m;return 0===t[a(512)]?null:(t[a(1144)]?r=t[a(556)].shift():!e||e>=t.length?(r=t[a(619)]?t[a(556)].join(""):1===t[a(556)][a(512)]?t[a(556)].head.data:t[a(556)][a(1653)](t[a(512)]),t[a(556)][a(581)]()):(e=e,a=t[a(556)],t=t.decoder,e<a[(i=m)(865)][i(1018)][i(512)]?(n=a[i(865)][i(1018)][i(1049)](0,e),a[i(865)].data=a.head[i(1018)][i(1049)](e)):n=e===a[i(865)][i(1018)][i(512)]?a.shift():(t?(e,t)=>{var r=m,n=t.head,i=1,a=n[r(1018)];for(e-=a.length;n=n[r(905)];){var o=n.data,s=e>o.length?o[r(512)]:e;if(s===o[r(512)]?a+=o:a+=o[r(1049)](0,e),0===(e-=s)){s===o[r(512)]?(++i,n[r(905)]?t[r(865)]=n[r(905)]:t[r(865)]=t[r(1021)]=null):(t[r(865)]=n)[r(1018)]=o[r(1049)](s);break}++i}return t[r(512)]-=i,a}:(e,t)=>{var r=m,n=d[r(674)](e),i=t[r(865)],a=1;for(i[r(1018)][r(1804)](n),e-=i[r(1018)][r(512)];i=i.next;){var o=i[r(1018)],s=e>o.length?o[r(512)]:e;if(o[r(1804)](n,n[r(512)]-e,0,s),0===(e-=s)){s===o[r(512)]?(++a,i[r(905)]?t[r(865)]=i[r(905)]:t[r(865)]=t[r(1021)]=null):(t[r(865)]=i)[r(1018)]=o[r(1049)](s);break}++a}return t[r(512)]-=a,n})(e,a),r=n),r)}function O(e){var t=m,r=e[t(1583)];if(0<r.length)throw new Error('"endReadable()" called on non-empty stream');r[t(1983)]||(r[t(1475)]=!0,y[t(1271)](B,r,e))}function B(e,t){var r=m;e.endEmitted||0!==e[r(512)]||(e[r(1983)]=!0,t[r(777)]=!1,t[r(1581)](r(763)))}function T(e,t){for(var r=0,n=e[m(512)];r<n;r++)if(e[r]===t)return r;return-1}a[m(854)][m(1466)]=function(e){var t,r=m,n=(w(r(1466),e),e=parseInt(e,10),this[r(1583)]),i=e;return 0!==e&&(n[r(1425)]=!1),0===e&&n[r(810)]&&(n[r(512)]>=n[r(1270)]||n[r(1475)])?(w(r(906),n[r(512)],n[r(1475)]),(0===n.length&&n[r(1475)]?O:_)(this),null):0===(e=l(e,n))&&n.ended?(0===n[r(512)]&&O(this),null):(t=n[r(810)],w(r(1333),t),(0===n.length||n.length-e<n[r(1270)])&&w("length less than watermark",t=!0),n[r(1475)]||n[r(681)]?(t=!1,w(r(1795),t)):t&&(w(r(2008)),n[r(681)]=!0,n[r(1595)]=!0,0===n.length&&(n[r(810)]=!0),this[r(1083)](n[r(1270)]),n[r(1595)]=!1,n[r(681)]||(e=l(i,n))),null===(t=0<e?D(e,n):null)?(n[r(810)]=!0,e=0):n[r(512)]-=e,0===n.length&&(n[r(1475)]||(n[r(810)]=!0),i!==e)&&n.ended&&O(this),null!==t&&this.emit("data",t),t)},a[m(854)]._read=function(e){var t=m;this[t(1581)](t(1859),new Error(t(494)))},a[m(854)].pipe=function(n,e){var i=m,a=this,o=this[i(1583)];switch(o[i(962)]){case 0:o[i(1736)]=n;break;case 1:o[i(1736)]=[o[i(1736)],n];break;default:o[i(1736)][i(774)](n)}o[i(962)]+=1,w(i(1362),o[i(962)],e);e=(!e||!1!==e[i(763)])&&n!==process[i(1048)]&&n!==process[i(940)]?u:_;function s(e,t){var r=i;w(r(1310)),e===a&&t&&!1===t[r(1380)]&&(t[r(1380)]=!0,w((e=i)(1447)),n[e(1217)](e(1047),v),n[e(1217)](e(667),p),n.removeListener("drain",c),n[e(1217)](e(1859),d),n[e(1217)](e(877),s),a.removeListener(e(763),u),a.removeListener(e(763),_),a[e(1217)]("data",l),f=!0,!o.awaitDrain||n[e(1751)]&&!n[e(1751)].needDrain||c())}function u(){var e=i;w(e(1483)),n[e(763)]()}o.endEmitted?y[i(1271)](e):a[i(1334)]("end",e),n.on(i(877),s);r=a;var r,c=function(){var e=_0x1621,t=r._readableState;w("pipeOnDrain",t[e(1087)]),t[e(1087)]&&t[e(1087)]--,0===t[e(1087)]&&g(r,e(1018))&&(t[e(652)]=!0,S(r))},f=(n.on(i(1742),c),!1);var h=!1;function l(e){var t=i;w(t(965)),(h=!1)!==n[t(538)](e)||h||((1===o[t(962)]&&o[t(1736)]===n||1<o[t(962)]&&-1!==T(o.pipes,n))&&!f&&(w("false write response, pause",o[t(1087)]),o.awaitDrain++,h=!0),a[t(1534)]())}function d(e){var t=i;w(t(985),e),_(),n[t(1217)](t(1859),d),0===g(n,t(1859))&&n[t(1581)](t(1859),e)}function v(){var e=i;n.removeListener(e(667),p),_()}function p(){var e=i;w(e(913)),n[e(1217)](e(1047),v),_()}function _(){var e=i;w(e(877)),a[e(877)](n)}return a.on(i(1018),l),((e,t,r)=>{var n=m;if("function"==typeof e[n(2021)])return e[n(2021)](t,r);e._events&&e[n(861)][t]?b(e[n(861)][t])?e._events[t][n(1263)](r):e[n(861)][t]=[r,e[n(861)][t]]:e.on(t,r)})(n,"error",d),n.once(i(1047),v),n.once(i(667),p),n[i(1581)](i(737),a),o[i(652)]||(w("pipe resume"),a[i(993)]()),n},a[m(854)].unpipe=function(e){var t=m,r=this[t(1583)],n={hasUnpiped:!1};if(0!==r[t(962)])if(1===r[t(962)])e&&e!==r[t(1736)]||(e=e||r[t(1736)],r[t(1736)]=null,r[t(962)]=0,r[t(652)]=!1,e&&e[t(1581)](t(877),this,n));else if(e){var i=T(r[t(1736)],e);-1!==i&&(r.pipes[t(1606)](i,1),--r.pipesCount,1===r[t(962)]&&(r.pipes=r[t(1736)][0]),e[t(1581)](t(877),this,n))}else{var a=r.pipes,o=r[t(962)];r[t(1736)]=null,r[t(962)]=0,r.flowing=!1;for(var s=0;s<o;s++)a[s][t(1581)](t(877),this,{hasUnpiped:!1})}return this},a.prototype.on=function(e,t){var r=m,t=n[r(854)].on[r(983)](this,e,t);return e===r(1018)?!1!==this[r(1583)][r(652)]&&this[r(993)]():e!==r(777)||(e=this[r(1583)])[r(1983)]||e[r(474)]||(e[r(474)]=e.needReadable=!0,e.emittedReadable=!1,e[r(681)]?e.length&&_(this):y.nextTick(C,this)),t},a[m(854)][m(1522)]=a.prototype.on,a[m(854)][m(993)]=function(){var e,t=m,r=this._readableState;return r.flowing||(w(t(993)),r[t(652)]=!0,t=this,(r=r)[(e=m)(1694)]||(r[e(1694)]=!0,y[e(1271)](A,t,r))),this},a.prototype[m(1534)]=function(){var e=m;return w(e(650),this[e(1583)][e(652)]),!1!==this[e(1583)][e(652)]&&(w(e(1534)),this[e(1583)][e(652)]=!1,this.emit("pause")),this},a.prototype.wrap=function(r){var e,n=m,i=this,a=this._readableState,o=!1;for(e in r.on(n(763),function(){var e,t=n;w(t(1969)),a[t(619)]&&!a[t(1475)]&&(e=a[t(619)].end())&&e.length&&i[t(774)](e),i.push(null)}),r.on(n(1018),function(e){var t=n;w(t(660)),a.decoder&&(e=a[t(619)][t(538)](e)),a[t(1144)]&&null==e||!(a[t(1144)]||e&&e[t(512)])||i[t(774)](e)||(o=!0,r[t(1534)]())}),r)void 0===this[e]&&"function"==typeof r[e]&&(this[e]=(e=>function(){return r[e].apply(r,arguments)})(e));for(var t=0;t<c[n(512)];t++)r.on(c[t],this[n(1581)][n(1259)](this,c[t]));return this._read=function(e){var t=n;w(t(1430),e),o&&(o=!1,r[t(993)]())},this},Object.defineProperty(a.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){var e=m;return this[e(1583)][e(1270)]}}),a._fromList=D}),a=t(function(e,t){var a=X,o=(t.exports=r,L()),t=Object[a(1046)](R());function r(e){var t=a;if(!(this instanceof r))return new r(e);o[t(983)](this,e),this[t(1189)]={afterTransform:function(e,t){var r=a,n=this[r(1189)],i=(n.transforming=!1,n[r(1006)]);if(!i)return this[r(1581)](r(1859),new Error("write callback called multiple times"));n[r(1399)]=null,(n[r(1006)]=null)!=t&&this.push(t),i(e),(n=this[r(1583)])[r(681)]=!1,(n.needReadable||n.length<n[r(1270)])&&this[r(1083)](n[r(1270)])}[t(1259)](this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState[t(810)]=!0,this[t(1583)][t(1595)]=!1,e&&(typeof e[t(1112)]==t(1282)&&(this[t(1744)]=e[t(1112)]),typeof e[t(1098)]==t(1282))&&(this[t(1689)]=e[t(1098)]),this.on(t(1575),n)}function n(){var e=a,r=this;typeof this._flush==e(1282)?this[e(1689)](function(e,t){i(r,e,t)}):i(this,null,null)}function i(e,t,r){var n=a;if(t)return e[n(1581)]("error",t);if(null!=r&&e[n(774)](r),e[n(1751)][n(512)])throw new Error("Calling transform done when ws.length != 0");if(e[n(1189)][n(591)])throw new Error(n(1577));e.push(null)}t[a(836)]=N(),t[a(836)](r,o),r[a(854)].push=function(e,t){var r=a;return this[r(1189)][r(1459)]=!1,o[r(854)][r(774)][r(983)](this,e,t)},r[a(854)][a(1744)]=function(e,t,r){throw new Error(a(935))},r[a(854)][a(718)]=function(e,t,r){var n=a,i=this._transformState;i[n(1006)]=r,i[n(1399)]=e,i.writeencoding=t,!i.transforming&&(r=this._readableState,i.needTransform||r[n(810)]||r[n(512)]<r[n(1270)])&&this[n(1083)](r[n(1270)])},r[a(854)][a(1083)]=function(e){var t=a,r=this[t(1189)];null!==r[t(1399)]&&r[t(1006)]&&!r.transforming?(r[t(591)]=!0,this[t(1744)](r[t(1399)],r.writeencoding,r[t(868)])):r[t(1459)]=!0},r.prototype[a(1245)]=function(e,r){var n=a,i=this;o[n(854)][n(1245)].call(this,e,function(e){var t=n;r(e),i[t(1581)](t(1047))})}}),W=t(function(e,t){var r=X,n=(t[r(1924)]=i,a()),t=Object[r(1046)](R());function i(e){var t=r;if(!(this instanceof i))return new i(e);n[t(983)](this,e)}t[r(836)]=N(),t[r(836)](i,n),i.prototype[r(1744)]=function(e,t,r){r(null,e)}}),s=t(function(e,t){var r=X,n=require(r(1927));"disable"===process[r(1809)].READABLE_STREAM&&n?(t[r(1924)]=n,(e=t[r(1924)]=n[r(969)])[r(969)]=n.Readable,e.Writable=n.Writable,e.Duplex=n[r(1526)],e[r(683)]=n[r(683)],e.PassThrough=n[r(835)],e[r(607)]=n):((e=t[r(1924)]=v())[r(607)]=n||e,(e[r(969)]=e)[r(519)]=d(),e.Duplex=L(),e.Transform=a(),e[r(835)]=W())}),_=t(function(t){var r,n,i=X;if(t[i(1504)]=!0,t.array=!0,t.string=!0,t[i(1881)]=(typeof ArrayBuffer===i(1226)?i(1226):_typeof(ArrayBuffer))<"u"&&(typeof Uint8Array===i(1226)?"undefined":_typeof(Uint8Array))<"u",t.nodebuffer=(typeof Buffer===i(1226)?i(1226):_typeof(Buffer))<"u",t[i(804)]=(typeof Uint8Array===i(1226)?i(1226):_typeof(Uint8Array))<"u","u"<(typeof ArrayBuffer===i(1226)?i(1226):_typeof(ArrayBuffer)))t[i(1174)]=!1;else{r=new ArrayBuffer(0);try{t[i(1174)]=0===new Blob([r],{type:"application/zip"})[i(1312)]}catch(e){try{(n=new(self.BlobBuilder||self[i(767)]||self.MozBlobBuilder||self[i(1081)]))[i(1441)](r),t[i(1174)]=0===n[i(1161)](i(1984)).size}catch(e){t[i(1174)]=!1}}}try{t.nodestream=!!s()[i(969)]}catch(e){t.nodestream=!1}}),p=t(function(e){var d=X,v=A(),l=_(),p=d(727);e[d(980)]=function(e){for(var t,r,n,i,a,o,s,u=d,c=[],f=0,h=e[u(512)],l=v[u(1275)](e)!==u(496);f<e[u(512)];)s=h-f,n=l?(t=e[f++],r=f<h?e[f++]:0,f<h?e[f++]:0):(t=e[u(2016)](f++),r=f<h?e[u(2016)](f++):0,f<h?e.charCodeAt(f++):0),i=t>>2,a=(3&t)<<4|r>>4,o=1<s?(15&r)<<2|n>>6:64,s=2<s?63&n:64,c[u(774)](p[u(2054)](i)+p.charAt(a)+p.charAt(o)+p[u(2054)](s));return c[u(1158)]("")},e[d(1383)]=function(e){var t,r,n,i,a,o,s=d,u=0,c=0,f=s(908);if(e[s(1997)](0,f[s(512)])===f)throw new Error("Invalid base64 input, it looks like a data url.");var h,f=3*(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,""))[s(512)]/4;if(e[s(2054)](e[s(512)]-1)===p[s(2054)](64)&&f--,e.charAt(e[s(512)]-2)===p[s(2054)](64)&&f--,f%1!=0)throw new Error(s(1206));for(h=new(l[s(804)]?Uint8Array:Array)(0|f);u<e[s(512)];)n=p[s(1584)](e[s(2054)](u++)),t=(15&(i=p[s(1584)](e[s(2054)](u++))))<<4|(a=p[s(1584)](e[s(2054)](u++)))>>2,r=(3&a)<<6|(o=p[s(1584)](e.charAt(u++))),h[c++]=n<<2|i>>4,64!==a&&(h[c++]=t),64!==o&&(h[c++]=r);return h}}),b=t(function(e,t){var n=X;t[n(1924)]={isNode:(typeof Buffer===n(1226)?n(1226):_typeof(Buffer))<"u",newBufferFrom:function(e,t){var r=n;if(Buffer[r(765)]&&Buffer.from!==Uint8Array.from)return Buffer[r(765)](e,t);if(typeof e==r(1573))throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){var t=n;return Buffer[t(1487)]?Buffer.alloc(e):((e=new Buffer(e))[t(1999)](0),e)},isBuffer:function(e){return Buffer[n(1626)](e)},isStream:function(e){var t=n;return e&&"function"==typeof e.on&&typeof e[t(1534)]==t(1282)&&"function"==typeof e.resume}}}),V=t(function(e,t){var r=X;t[r(1924)]="function"==typeof setImmediate?setImmediate:function(){var e=r,t=[][e(1049)][e(1954)](arguments);t[e(1606)](1,0,0),setTimeout.apply(null,t)}}),J=t(function(e,t){var r,n,i,a,o=X,s=global.MutationObserver||global.WebKitMutationObserver,u=process.browser?s?(r=0,s=new s(f),n=global[o(1811)][o(1027)](""),s[o(816)](n,{characterData:!0}),function(){n[o(1018)]=r=++r%2}):!global.setImmediate&&_typeof(global[o(1696)])<"u"?((i=new global[o(1696)]).port1.onmessage=f,function(){i.port2.postMessage(0)}):o(1811)in global&&o(1644)in global[o(1811)].createElement(o(788))?function(){var t=o,r=global.document[t(590)](t(788));r[t(1644)]=function(){var e=t;f(),r[e(1644)]=null,r[e(1427)][e(1978)](r),r=null},global[t(1811)][t(826)][t(1877)](r)}:function(){setTimeout(f,0)}:function(){process[o(1271)](f)},c=[];function f(){var e=o;a=!0;for(var t,r,n=c[e(512)];n;){for(r=c,c=[],t=-1;++t<n;)r[t]();n=c[e(512)]}a=!1}t[o(1924)]=function(e){1!==c.push(e)||a||u()}}),Y=t(function(e,t){var f=X,a=J();function h(){}var o,l={},s=["REJECTED"],u=[f(1508)],i=[f(1945)];function r(e){var t=f;if(typeof e!=t(1282))throw new TypeError(t(1933));this[t(1833)]=i,this[t(1133)]=[],this[t(2071)]=void 0,process[t(2047)]||(this.handled=o),e!==h&&p(this,e)}function c(e,t,r){var n=f;this[n(995)]=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this[n(1617)]),"function"==typeof r&&(this[n(1840)]=r,this.callRejected=this[n(1254)])}function d(r,n,i){a(function(){var e,t=_0x1621;try{e=n(i)}catch(e){return l[t(1360)](r,e)}e===r?l[t(1360)](r,new TypeError(t(703))):l[t(902)](r,e)})}function v(e){var t=f,r=e&&e[t(670)];if(e&&(_typeof(e)==t(671)||typeof e==t(1282))&&typeof r==t(1282))return function(){r[t(1954)](e,arguments)}}function p(t,e){var r=f,n=!1;function i(e){n||(n=!0,l[_0x1621(1360)](t,e))}function a(e){n||(n=!0,l[_0x1621(902)](t,e))}var o=_(function(){e(a,i)});o.status===r(1859)&&i(o[r(1682)])}function _(e,t){var r=f,n={};try{n[r(1682)]=e(t),n.status=r(789)}catch(e){n[r(1543)]=r(1859),n[r(1682)]=e}return n}process.browser||(o=["UNHANDLED"]),(t.exports=r).prototype[f(1444)]=function(r){var n,i=f;return"function"!=typeof r?this:(n=this[i(1341)],this[i(670)](function(e){var t=i;return n.resolve(r())[t(670)](function(){return e})},function(e){var t=i;return n[t(902)](r())[t(670)](function(){throw e})}))},r[f(854)][f(1358)]=function(e){return this[f(670)](null,e)},r[f(854)][f(670)]=function(e,t){var r,n=f;return typeof e!=n(1282)&&this[n(1833)]===u||typeof t!=n(1282)&&this[n(1833)]===s?this:(r=new this[n(1341)](h),process[n(2047)]||this.handled===o&&(this[n(1806)]=null),this[n(1833)]!==i?d(r,this[n(1833)]===u?e:t,this[n(2071)]):this[n(1133)][n(774)](new c(r,e,t)),r)},c.prototype[f(814)]=function(e){l[f(902)](this.promise,e)},c[f(854)].otherCallFulfilled=function(e){var t=f;d(this[t(995)],this[t(1395)],e)},c[f(854)][f(758)]=function(e){var t=f;l[t(1360)](this[t(995)],e)},c.prototype[f(1254)]=function(e){var t=f;d(this[t(995)],this[t(1840)],e)},l[f(902)]=function(e,t){var r=f,n=_(v,t);if("error"===n[r(1543)])return l[r(1360)](e,n.value);n=n[r(1682)];if(n)p(e,n);else{e.state=u,e[r(2071)]=t;for(var i=-1,a=e.queue[r(512)];++i<a;)e[r(1133)][i][r(814)](t)}return e},l[f(1360)]=function(t,r){var n=f;t[n(1833)]=s,t[n(2071)]=r,process[n(2047)]||t[n(1806)]===o&&a(function(){var e=n;t[e(1806)]===o&&process.emit(e(609),r,t)});for(var e=-1,i=t[n(1133)][n(512)];++e<i;)t[n(1133)][e][n(758)](r);return t},r.resolve=function(e){var t=f;return e instanceof this?e:l[t(902)](new this(h),e)},r.reject=function(e){var t=f,r=new this(h);return l[t(1360)](r,e)},r[f(635)]=function(e){var t=f,i=this;if(Object[t(854)][t(1260)][t(983)](e)!==t(1926))return this.reject(new TypeError("must be an array"));var a=e[t(512)],o=!1;if(!a)return this[t(902)]([]);for(var s=new Array(a),u=0,r=-1,c=new this(h);++r<a;)((e,r)=>{var n=t;i[n(902)](e).then(function(e){var t=n;s[r]=e,++u!==a||o||(o=!0,l[t(902)](c,s))},function(e){o||(o=!0,l.reject(c,e))})})(e[r],r);return c},r[f(1963)]=function(e){var r=f,n=this;if(Object[r(854)][r(1260)][r(983)](e)!==r(1926))return this.reject(new TypeError(r(1875)));var t=e.length,i=!1;if(!t)return this[r(902)]([]);for(var a=-1,o=new this(h);++a<t;)(e=>{var t=r;n.resolve(e)[t(670)](function(e){i||(i=!0,l[t(902)](o,e))},function(e){i||(i=!0,l[t(1360)](o,e))})})(e[a]);return o}}),g=t(function(e,t){var r=X,n=null,n=(typeof Promise===r(1226)?r(1226):_typeof(Promise))<"u"?Promise:Y();t[r(1924)]={Promise:n}}),A=t(function(c){var f=X,h=_(),l=p(),r=b(),n=V(),d=g();function e(e){return e}function v(e,t){for(var r=f,n=0;n<e.length;++n)t[n]=255&e[r(2016)](n);return t}c[f(721)]=function(t,r){var n=f;c[n(726)](n(1174));try{return new Blob([t],{type:r})}catch(e){try{var i=new(self[n(1551)]||self[n(767)]||self.MozBlobBuilder||self[n(1081)]);return i.append(t),i[n(1161)](r)}catch(e){throw new Error(n(2064))}}};var a={stringifyByChunk:function(e,t,r){var n=f,i=[],a=0,o=e.length;if(o<=r)return String[n(677)].apply(null,e);for(;a<o;)t===n(1619)||"nodebuffer"===t?i.push(String.fromCharCode.apply(null,e[n(1049)](a,Math[n(473)](a+r,o)))):i[n(774)](String.fromCharCode[n(1954)](null,e.subarray(a,Math[n(473)](a+r,o)))),a+=r;return i[n(1158)]("")},stringifyByChar:function(e){for(var t=f,r="",n=0;n<e[t(512)];n++)r+=String[t(677)](e[n]);return r},applyCanBeUsed:{uint8array:(()=>{var e=f;try{return h[e(804)]&&1===String[e(677)][e(1954)](null,new Uint8Array(1))[e(512)]}catch(e){return!1}})(),nodebuffer:(()=>{var e=f;try{return h[e(1871)]&&1===String.fromCharCode[e(1954)](null,r[e(954)](1)).length}catch(e){return!1}})()}};function t(e){var t=f,r=65536,n=c[t(1275)](e),i=!0;if(n===t(804)?i=a[t(676)][t(804)]:n===t(1871)&&(i=a[t(676)][t(1871)]),i)for(;1<r;)try{return a[t(499)](e,n,r)}catch(e){r=Math.floor(r/2)}return a[t(1070)](e)}function i(e,t){for(var r=f,n=0;n<e[r(512)];n++)t[n]=e[n];return t}c[f(1683)]=t;var o={};o.string={string:e,array:function(e){return v(e,new Array(e.length))},arraybuffer:function(e){var t=f;return o[t(496)][t(804)](e).buffer},uint8array:function(e){return v(e,new Uint8Array(e.length))},nodebuffer:function(e){var t=f;return v(e,r[t(954)](e[t(512)]))}},o.array={string:t,array:e,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return r.newBufferFrom(e)}},o[f(1881)]={string:function(e){return t(new Uint8Array(e))},array:function(e){var t=f;return i(new Uint8Array(e),new Array(e[t(841)]))},arraybuffer:e,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return r[f(489)](new Uint8Array(e))}},o[f(804)]={string:t,array:function(e){return i(e,new Array(e[f(512)]))},arraybuffer:function(e){return e[f(556)]},uint8array:e,nodebuffer:function(e){return r[f(489)](e)}},o[f(1871)]={string:t,array:function(e){return i(e,new Array(e.length))},arraybuffer:function(e){var t=f;return o[t(1871)][t(804)](e)[t(556)]},uint8array:function(e){return i(e,new Uint8Array(e[f(512)]))},nodebuffer:e},c[f(1357)]=function(e,t){var r=f;if(t=t||"",!e)return t;c[r(726)](e);r=c[r(1275)](t);return o[r][e](t)},c[f(1275)]=function(e){var t=f;return typeof e==t(496)?"string":Object[t(854)][t(1260)][t(983)](e)===t(1926)?t(1619):h[t(1871)]&&r[t(1626)](e)?t(1871):h.uint8array&&e instanceof Uint8Array?"uint8array":h[t(1881)]&&e instanceof ArrayBuffer?t(1881):void 0},c[f(726)]=function(e){var t=f;if(!h[e[t(1844)]()])throw new Error(e+t(1389))},c[f(2006)]=65535,c[f(1938)]=-1,c[f(583)]=function(e){for(var t,r=f,n="",i=0;i<(e||"")[r(512)];i++)n+="\\x"+((t=e[r(2016)](i))<16?"0":"")+t[r(1260)](16)[r(1163)]();return n},c.delay=function(e,t,r){n(function(){e.apply(r||null,t||[])})},c[f(836)]=function(e,t){function r(){}var n=f;r.prototype=t[n(854)],e[n(854)]=new r},c[f(1223)]=function(){for(var e,t=f,r={},n=0;n<arguments[t(512)];n++)for(e in arguments[n])arguments[n].hasOwnProperty(e)&&"u"<_typeof(r[e])&&(r[e]=arguments[n][e]);return r},c.prepareContent=function(i,e,a,o,s){var u=f;return d[u(870)][u(902)](e)[u(670)](function(t){var a=u;return h.blob&&(t instanceof Blob||-1!==[a(2061),a(1231)][a(1584)](Object.prototype.toString[a(983)](t)))&&(typeof FileReader===a(1226)?a(1226):_typeof(FileReader))<"u"?new d[a(870)](function(r,n){var i=a,e=new FileReader;e[i(1707)]=function(e){var t=i;r(e[t(958)][t(1901)])},e[i(985)]=function(e){var t=i;n(e[t(958)][t(1859)])},e.readAsArrayBuffer(t)}):t})[u(670)](function(e){var t,r=u,n=c[r(1275)](e);return n?(n===r(1881)?e=c[r(1357)](r(804),e):n===r(496)&&(s?e=l[r(1383)](e):a&&!0!==o&&(e=v(n=e,new(h[(t=_0x1621)(804)]?Uint8Array:Array)(n[t(512)])))),e):d[r(870)][r(1360)](new Error(r(616)+i+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}}),S=t(function(e,t){var i=X;function r(e){var t=_0x1621;this[t(1771)]=e||t(1870),this[t(921)]={},this[t(617)]=null,this.extraStreamInfo={},this[t(1858)]=!0,this.isFinished=!1,this[t(533)]=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r[i(854)]={push:function(e){var t=i;this[t(1581)](t(1018),e)},end:function(){var t=i;if(this[t(1336)])return!1;this.flush();try{this.emit(t(763)),this[t(831)](),this.isFinished=!0}catch(e){this[t(1581)](t(1859),e)}return!0},error:function(e){var t=i;return!this[t(1336)]&&(this.isPaused?this[t(617)]=e:(this.isFinished=!0,this.emit("error",e),this[t(1481)]&&this[t(1481)].error(e),this[t(831)]()),!0)},on:function(e,t){var r=i;return this[r(1688)][e][r(774)](t),this},cleanUp:function(){var e=i;this[e(921)]=this[e(617)]=this[e(2020)]=null,this[e(1688)]=[]},emit:function(e,t){var r=i;if(this[r(1688)][e])for(var n=0;n<this[r(1688)][e].length;n++)this[r(1688)][e][n].call(this,t)},pipe:function(e){return e[i(1493)](this)},registerPrevious:function(e){var t=i;if(this[t(533)])throw new Error(t(1719)+this+"' has already been used.");this[t(921)]=e[t(921)],this[t(821)](),this[t(1481)]=e;var r=this;return e.on(t(1018),function(e){r[t(1108)](e)}),e.on("end",function(){r[t(763)]()}),e.on(t(1859),function(e){r[t(1859)](e)}),this},pause:function(){var e=i;return!this[e(1858)]&&!this[e(1336)]&&(this.isPaused=!0,this[e(1481)]&&this[e(1481)][e(1534)](),!0)},resume:function(){var e,t=i;return!(!this.isPaused||this[t(1336)]||(e=this[t(1858)]=!1,this[t(617)]&&(this[t(1859)](this[t(617)]),e=!0),this[t(1481)]&&this[t(1481)][t(993)](),e))},flush:function(){},processChunk:function(e){this[i(774)](e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){var e,t=i;for(e in this[t(2020)])this.extraStreamInfo[t(471)](e)&&(this[t(921)][e]=this[t(2020)][e])},lock:function(){var e=i;if(this[e(533)])throw new Error(e(1719)+this+e(1530));this[e(533)]=!0,this[e(1481)]&&this[e(1481)].lock()},toString:function(){var e=i,t=e(707)+this[e(1771)];return this[e(1481)]?this.previous+e(733)+t:t}},t[i(1924)]=r}),D=t(function(a){for(var e,h=X,c=A(),l=_(),d=b(),t=S(),f=new Array(256),e=0;e<256;e++)f[e]=252<=e?6:248<=e?5:240<=e?4:224<=e?3:192<=e?2:1;f[254]=f[254]=1;function r(){var e=h;t[e(983)](this,"utf-8 decode"),this[e(1732)]=null}function n(){var e=h;t.call(this,e(1776))}a[h(1379)]=function(e){var t=h;if(l[t(1871)])return d[t(489)](e,"utf-8");for(var r,n,i,a,o=e,s=_0x1621,u=o.length,c=0,f=0;f<u;f++)55296==(64512&(n=o[s(2016)](f)))&&f+1<u&&56320==(64512&(i=o.charCodeAt(f+1)))&&(n=65536+(n-55296<<10)+(i-56320),f++),c+=n<128?1:n<2048?2:n<65536?3:4;for(r=new(l[s(804)]?Uint8Array:Array)(c),f=a=0;a<c;f++)55296==(64512&(n=o[s(2016)](f)))&&f+1<u&&56320==(64512&(i=o.charCodeAt(f+1)))&&(n=65536+(n-55296<<10)+(i-56320),f++),n<128?r[a++]=n:(n<2048?r[a++]=192|n>>>6:(n<65536?r[a++]=224|n>>>12:(r[a++]=240|n>>>18,r[a++]=128|n>>>12&63),r[a++]=128|n>>>6&63),r[a++]=128|63&n);return r},a[h(750)]=function(e){var t=h;if(l.nodebuffer)return c[t(1357)]("nodebuffer",e)[t(1260)]("utf-8");for(var r,n,i=e=c[t(1357)](l[t(804)]?t(804):t(1619),e),t=_0x1621,a=i[t(512)],o=new Array(2*a),s=0,u=0;u<a;)if((r=i[u++])<128)o[s++]=r;else if(4<(n=f[r]))o[s++]=65533,u+=n-1;else{for(r&=2===n?31:3===n?15:7;1<n&&u<a;)r=r<<6|63&i[u++],n--;1<n?o[s++]=65533:r<65536?o[s++]=r:(r-=65536,o[s++]=55296|r>>10&1023,o[s++]=56320|1023&r)}return o[t(512)]!==s&&(o[t(715)]?o=o.subarray(0,s):o[t(512)]=s),c[t(1683)](o)},c[h(836)](r,t),r[h(854)][h(1108)]=function(e){var t=h,r=c[t(1357)](l[t(804)]?t(804):"array",e[t(1018)]),n=(this[t(1732)]&&this[t(1732)][t(512)]&&(l[t(804)]?(n=r,(r=new Uint8Array(n[t(512)]+this[t(1732)].length)).set(this[t(1732)],0),r[t(1959)](n,this[t(1732)].length)):r=this[t(1732)][t(1653)](r),this.leftOver=null),((e,t)=>{for(var r=_0x1621,n=(t=(t=t||e[r(512)])>e[r(512)]?e.length:t)-1;0<=n&&128==(192&e[n]);)n--;return!(n<0||0===n)&&n+f[e[n]]>t?n:t})(r)),i=r;n!==r[t(512)]&&(l[t(804)]?(i=r[t(715)](0,n),this[t(1732)]=r[t(715)](n,r[t(512)])):(i=r[t(1049)](0,n),this[t(1732)]=r.slice(n,r[t(512)]))),this[t(774)]({data:a[t(750)](i),meta:e[t(1372)]})},r[h(854)].flush=function(){var e=h;this[e(1732)]&&this[e(1732)][e(512)]&&(this[e(774)]({data:a[e(750)](this[e(1732)]),meta:{}}),this[e(1732)]=null)},a[h(1082)]=r,c[h(836)](n,t),n.prototype[h(1108)]=function(e){var t=h;this[t(774)]({data:a.utf8encode(e.data),meta:e[t(1372)]})},a.Utf8EncodeWorker=n}),Q=t(function(e,t){var r=X,n=S(),i=A();function a(e){var t=_0x1621;n.call(this,t(642)+e),this[t(1506)]=e}i[r(836)](a,n),a.prototype[r(1108)]=function(e){var t=r;this[t(774)]({data:i[t(1357)](this[t(1506)],e[t(1018)]),meta:e[t(1372)]})},t[r(1924)]=a}),ee=t(function(e,t){var r=X,o=s()[r(969)];function n(e,t,n){var i=r,a=(o[i(983)](this,t),this[i(1867)]=e,this);e.on(i(1018),function(e,t){var r=i;a[r(774)](e)||a[r(1867)][r(1534)](),n&&n(t)}).on("error",function(e){var t=i;a[t(1581)](t(1859),e)}).on(i(763),function(){a.push(null)})}A().inherits(n,o),n[r(854)][r(1083)]=function(){var e=r;this._helper[e(993)]()},t[r(1924)]=n}),w=t(function(e,t){var f=X,h=A(),a=Q(),o=S(),l=p(),r=_(),n=g(),i=null;if(r[f(1378)])try{i=ee()}catch(e){}function s(s,u){var c=f;return new n[c(870)](function(t,r){var e=c,n=[],i=s[e(470)],a=s[e(970)],o=s[e(584)];s.on(e(1018),function(e,t){n.push(e),u&&u(t)}).on("error",function(e){n=[],r(e)}).on(e(763),function(){try{var e=((e,t,r)=>{var n=f;switch(e){case n(1174):return h[n(721)](h[n(1357)]("arraybuffer",t),r);case n(1504):return l[n(980)](t);default:return h[n(1357)](e,t)}})(a,((e,t)=>{for(var r=f,n=0,i=null,a=0,o=0;o<t.length;o++)a+=t[o].length;switch(e){case r(496):return t[r(1158)]("");case r(1619):return Array[r(854)][r(1653)][r(1954)]([],t);case r(804):for(i=new Uint8Array(a),o=0;o<t[r(512)];o++)i[r(1959)](t[o],n),n+=t[o][r(512)];return i;case"nodebuffer":return Buffer[r(1653)](t);default:throw new Error(r(1868)+e+"'")}})(i,n),o);t(e)}catch(e){r(e)}n=[]})[e(993)]()})}function u(e,t,r){var n=f,i=t;switch(t){case n(1174):case n(1881):i=n(804);break;case n(1504):i="string"}try{this[n(470)]=i,this._outputType=t,this._mimeType=r,h[n(726)](i),this[n(1972)]=e.pipe(new a(i)),e.lock()}catch(e){this[n(1972)]=new o(n(1859)),this[n(1972)][n(1859)](e)}}u[f(854)]={accumulate:function(e){return s(this,e)},on:function(e,r){var n=f,i=this;return e===n(1018)?this[n(1972)].on(e,function(e){var t=n;r[t(983)](i,e[t(1018)],e[t(1372)])}):this[n(1972)].on(e,function(){h[n(2023)](r,arguments,i)}),this},resume:function(){var e=f;return h[e(2023)](this[e(1972)][e(993)],[],this[e(1972)]),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){var t=f;if(h[t(726)](t(1378)),this[t(970)]!==t(1871))throw new Error(this[t(970)]+t(1071));return new i(this,{objectMode:this._outputType!==t(1871)},e)}},t.exports=u}),te=t(function(e){var t=X;e[t(1504)]=!1,e[t(1347)]=!1,e[t(1077)]=!1,e.createFolders=!0,e[t(2079)]=null,e[t(1388)]=null,e[t(1348)]=null,e[t(1678)]=null,e[t(746)]=null,e[t(1235)]=null}),re=t(function(e,t){var n=X,i=A(),a=S();function r(e){var r=_0x1621,n=(a[r(983)](this,r(982)),this);this[r(1382)]=!1,this.index=0,this.max=0,this[r(1018)]=null,this[r(898)]="",this[r(1646)]=!1,e[r(670)](function(e){var t=r;n[t(1382)]=!0,n.data=e,n.max=e&&e[t(512)]||0,n[t(898)]=i[t(1275)](e),n[t(1858)]||n[t(2037)]()},function(e){n[r(1859)](e)})}i[n(836)](r,a),r[n(854)].cleanUp=function(){var e=n;a[e(854)][e(831)][e(983)](this),this[e(1018)]=null},r[n(854)].resume=function(){var e=n;return!!a[e(854)][e(993)][e(983)](this)&&(!this._tickScheduled&&this.dataIsReady&&(this[e(1646)]=!0,i[e(2023)](this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){var e=n;this[e(1646)]=!1,this[e(1858)]||this[e(1336)]||(this[e(1043)](),this.isFinished)||(i[e(2023)](this[e(2037)],[],this),this[e(1646)]=!0)},r[n(854)][n(1043)]=function(){var e=n;if(this[e(1858)]||this[e(1336)])return!1;var t=null,r=Math[e(473)](this.max,this[e(984)]+16384);if(this[e(984)]>=this[e(492)])return this.end();switch(this[e(898)]){case e(496):t=this[e(1018)].substring(this[e(984)],r);break;case"uint8array":t=this.data[e(715)](this[e(984)],r);break;case e(1619):case e(1871):t=this[e(1018)].slice(this[e(984)],r)}return this.index=r,this.push({data:t,meta:{percent:this[e(492)]?this[e(984)]/this.max*100:0}})},t[n(1924)]=r}),h=t(function(e,t){var _=X,g=A();var m=(()=>{for(var e=[],t=0;t<256;t++){for(var r=t,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;e[t]=r}return e})();t[_(1924)]=function(e,t){var r=_;if("u"<_typeof(e)||!e[r(512)])return 0;var n="string"!==g.getTypeOf(e);if(n){var i=0|t,a=e,n=e.length,o=0,s=m,u=o+n;i^=-1;for(var c=o;c<u;c++)i=i>>>8^s[255&(i^a[c])];return-1^i}var f=0|t,h=e,n=e[r(512)],o=0,l=_0x1621,d=m,v=o+n;f^=-1;for(var p=o;p<v;p++)f=f>>>8^d[255&(f^h[l(2016)](p))];return-1^f}}),ne=t(function(e,t){var r=X,n=S(),i=h();function a(){var e=_0x1621;n[e(983)](this,e(550)),this[e(1369)](e(2012),0)}A().inherits(a,n),a[r(854)][r(1108)]=function(e){var t=r;this[t(921)][t(2012)]=i(e[t(1018)],this[t(921)][t(2012)]||0),this[t(774)](e)},t[r(1924)]=a}),ie=t(function(e,t){var n=X,r=A(),i=S();function a(e){var t=_0x1621;i.call(this,t(1509)+e),this[t(1051)]=e,this[t(1369)](e,0)}r[n(836)](a,i),a[n(854)][n(1108)]=function(e){var t,r=n;e&&(t=this[r(921)][this[r(1051)]]||0,this[r(921)][this[r(1051)]]=t+e.data[r(512)]),i.prototype[r(1108)][r(983)](this,e)},t[n(1924)]=a}),O=t(function(e,t){var i=X,n=g(),a=re(),o=ne(),s=ie();function r(e,t,r,n,i){var a=_0x1621;this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this[a(1388)]=n,this.compressedContent=i}r[i(854)]={getContentWorker:function(){var t=i,e=new a(n.Promise.resolve(this[t(1661)]))[t(737)](this[t(1388)].uncompressWorker()).pipe(new s(t(1477))),r=this;return e.on(t(763),function(){var e=t;if(this[e(921)][e(1477)]!==r[e(1856)])throw new Error(e(1750))}),e},getCompressedWorker:function(){var e=i;return new a(n[e(870)][e(902)](this[e(1661)]))[e(1369)](e(497),this[e(497)])[e(1369)](e(1856),this[e(1856)])[e(1369)](e(2012),this[e(2012)])[e(1369)](e(1388),this[e(1388)])}},r[i(1691)]=function(e,t,r){var n=i;return e[n(737)](new o)[n(737)](new s("uncompressedSize")).pipe(t[n(1970)](r))[n(737)](new s(n(497)))[n(1369)](n(1388),t)},t[i(1924)]=r}),ae=t(function(e,t){for(var r,o=X,s=w(),n=re(),u=D(),i=O(),c=S(),a=function(e,t,r){var n=_0x1621;this.name=e,this[n(1077)]=r[n(1077)],this[n(2079)]=r.date,this[n(1678)]=r.comment,this[n(746)]=r[n(746)],this[n(1235)]=r.dosPermissions,this[n(1062)]=t,this[n(1059)]=r[n(1347)],this[n(1680)]={compression:r.compression,compressionOptions:r[n(1348)]}},f=(a[o(854)]={internalStream:function(e){var t=o,r=null,n=t(496);try{if(!e)throw new Error(t(1496));var i="string"===(n=e[t(1844)]())||"text"===n,a=(n!==t(820)&&"text"!==n||(n=t(496)),r=this._decompressWorker(),!this[t(1059)]);a&&!i&&(r=r.pipe(new u[t(1200)])),!a&&i&&(r=r[t(737)](new u[t(1082)]))}catch(e){(r=new c("error"))[t(1859)](e)}return new s(r,n,"")},async:function(e,t){var r=o;return this[r(1268)](e)[r(956)](t)},nodeStream:function(e,t){var r=o;return this[r(1268)](e||r(1871)).toNodejsStream(t)},_compressWorker:function(e,t){var r,n=o;return this[n(1062)]instanceof i&&this._data[n(1388)][n(1499)]===e.magic?this[n(1062)][n(1024)]():(r=this[n(1639)](),this[n(1059)]||(r=r[n(737)](new u[n(1200)])),i[n(1691)](r,e,t))},_decompressWorker:function(){var e=o;return this[e(1062)]instanceof i?this[e(1062)][e(578)]():this[e(1062)]instanceof c?this[e(1062)]:new n(this[e(1062)])}},[o(1775),o(1122),o(1803),o(839),o(1221)]),h=function(){throw new Error(o(917))},r=0;r<f[o(512)];r++)a[o(854)][f[r]]=h;t.exports=a}),$=t(function(r){var u=X,e=(typeof Uint8Array===u(1226)?"undefined":_typeof(Uint8Array))<"u"&&("undefined"==typeof Uint16Array?u(1226):_typeof(Uint16Array))<"u"&&(typeof Int32Array===u(1226)?u(1226):_typeof(Int32Array))<"u";r.assign=function(e){for(var t,r,n,i=u,a=Array[i(854)][i(1049)][i(983)](arguments,1);a.length;){var o=a[i(1332)]();if(o){if(_typeof(o)!=i(671))throw new TypeError(o+i(1092));for(var s in o)t=o,r=s,n=void 0,n=u,Object.prototype[n(471)][n(983)](t,r)&&(e[s]=o[s])}}return e},r[u(1196)]=function(e,t){var r=u;return e[r(512)]===t?e:e[r(715)]?e[r(715)](0,t):(e[r(512)]=t,e)};var n={arraySet:function(e,t,r,n,i){var a=u;if(t.subarray&&e.subarray)e[a(1959)](t.subarray(r,r+n),i);else for(var o=0;o<n;o++)e[i+o]=t[r+o]},flattenChunks:function(e){for(var t,r,n,i=u,a=0,o=0,s=e[i(512)];o<s;o++)a+=e[o][i(512)];for(n=new Uint8Array(a),o=t=0,s=e.length;o<s;o++)r=e[o],n.set(r,t),t+=r[i(512)];return n}},i={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[][u(1653)].apply([],e)}};r.setTyped=function(e){var t=u;e?(r[t(1501)]=Uint8Array,r[t(1780)]=Uint16Array,r[t(1452)]=Int32Array,r[t(712)](r,n)):(r[t(1501)]=Array,r.Buf16=Array,r[t(1452)]=Array,r[t(712)](r,i))},r[u(1498)](e)}),oe=t(function(e){var t=X,o=$(),h=0,l=1;function r(e){for(var t=e[_0x1621(512)];0<=--t;)e[t]=0}var u,c,f,d=29,v=256,p=v+1+d,_=30,g=19,S=2*p+1,D=15,i=16,z=7,m=256,y=16,b=17,w=18,k=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],x=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],H=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],C=new Array(2*(p+2)),A=(r(C),new Array(2*_)),O=(r(A),new Array(512)),B=(r(O),new Array(256)),T=(r(B),new Array(d)),F=(r(T),new Array(_));function I(e,t,r,n,i){var a=_0x1621;this[a(1330)]=e,this[a(1529)]=t,this[a(472)]=r,this[a(1576)]=n,this[a(1569)]=i,this[a(1565)]=e&&e[a(512)]}function P(e,t){var r=_0x1621;this[r(1599)]=e,this[r(532)]=0,this.stat_desc=t}function U(e){return e<256?O[e]:O[256+(e>>>7)]}function a(e,t){var r=_0x1621;e[r(1873)][e.pending++]=255&t,e.pending_buf[e[r(1076)]++]=t>>>8&255}function R(e,t,r){var n=_0x1621;e.bi_valid>i-r?(e[n(2067)]|=t<<e.bi_valid&65535,a(e,e[n(2067)]),e[n(2067)]=t>>i-e[n(513)],e[n(513)]+=r-i):(e.bi_buf|=t<<e[n(513)]&65535,e[n(513)]+=r)}function N(e,t,r){R(e,r[2*t],r[2*t+1])}function G(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function M(e,t,r){for(var n,i=new Array(D+1),a=0,o=1;o<=D;o++)i[o]=a=a+r[o-1]<<1;for(n=0;n<=t;n++){var s=e[2*n+1];0!==s&&(e[2*n]=G(i[s]++,s))}}function Z(e){for(var t=_0x1621,r=0;r<p;r++)e[t(1190)][2*r]=0;for(r=0;r<_;r++)e.dyn_dtree[2*r]=0;for(r=0;r<g;r++)e[t(1708)][2*r]=0;e.dyn_ltree[2*m]=1,e[t(693)]=e[t(2057)]=0,e[t(748)]=e[t(1985)]=0}function q(e){var t=_0x1621;8<e[t(513)]?a(e,e[t(2067)]):0<e[t(513)]&&(e[t(1873)][e[t(1076)]++]=e[t(2067)]),e[t(2067)]=0,e[t(513)]=0}function s(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function j(e,t,r){for(var n=_0x1621,i=e[n(1162)][r],a=r<<1;a<=e[n(1667)]&&(a<e[n(1667)]&&s(t,e[n(1162)][a+1],e[n(1162)][a],e[n(752)])&&a++,!s(t,i,e.heap[a],e.depth));)e.heap[r]=e[n(1162)][a],r=a,a<<=1;e[n(1162)][r]=i}function W(e,t,r){var n,i,a,o,s=_0x1621,u=0;if(0!==e[s(748)])for(;n=e[s(1873)][e.d_buf+2*u]<<8|e.pending_buf[e[s(852)]+2*u+1],i=e.pending_buf[e[s(1445)]+u],u++,0==n?N(e,i,t):(N(e,(a=B[i])+v+1,t),0!==(o=k[a])&&R(e,i-=T[a],o),N(e,a=U(--n),r),0!==(o=x[a])&&R(e,n-=F[a],o)),u<e[s(748)];);N(e,m,t)}function L(e,t){var r,n,i,a=_0x1621,o=t[a(1599)],s=t.stat_desc[a(1330)],u=t[a(1500)][a(1565)],c=t.stat_desc[a(1576)],f=-1;for(e.heap_len=0,e[a(1910)]=S,r=0;r<c;r++)0!==o[2*r]?(e[a(1162)][++e[a(1667)]]=f=r,e[a(752)][r]=0):o[2*r+1]=0;for(;e[a(1667)]<2;)o[2*(i=e[a(1162)][++e[a(1667)]]=f<2?++f:0)]=1,e[a(752)][i]=0,e[a(693)]--,u&&(e[a(2057)]-=s[2*i+1]);for(t[a(532)]=f,r=e[a(1667)]>>1;1<=r;r--)j(e,o,r);for(i=c;r=e[a(1162)][1],e.heap[1]=e[a(1162)][e.heap_len--],j(e,o,1),n=e[a(1162)][1],e.heap[--e[a(1910)]]=r,e.heap[--e[a(1910)]]=n,o[2*i]=o[2*r]+o[2*n],e[a(752)][i]=(e.depth[r]>=e.depth[n]?e[a(752)][r]:e[a(752)][n])+1,o[2*r+1]=o[2*n+1]=i,e[a(1162)][1]=i++,j(e,o,1),2<=e.heap_len;);e.heap[--e[a(1910)]]=e[a(1162)][1];for(var h,l,d,v,p,_=e,g=_0x1621,m=t[g(1599)],y=t[g(532)],b=t[g(1500)][g(1330)],w=t[g(1500)].has_stree,k=t[g(1500)].extra_bits,x=t.stat_desc[g(472)],E=t[g(1500)][g(1569)],C=0,A=0;A<=D;A++)_[g(732)][A]=0;for(m[2*_.heap[_[g(1910)]]+1]=0,h=_[g(1910)]+1;h<S;h++)E<(A=m[2*m[2*(l=_.heap[h])+1]+1]+1)&&(A=E,C++),m[2*l+1]=A,y<l||(_[g(732)][A]++,v=0,x<=l&&(v=k[l-x]),p=m[2*l],_.opt_len+=p*(A+v),!w)||(_[g(2057)]+=p*(b[2*l+1]+v));if(0!==C){do{for(A=E-1;0===_[g(732)][A];)A--}while(_[g(732)][A]--,_[g(732)][A+1]+=2,_.bl_count[E]--,0<(C-=2));for(A=E;0!==A;A--)for(l=_[g(732)][A];0!==l;)y<(d=_.heap[--h])||(m[2*d+1]!==A&&(_[g(693)]+=(A-m[2*d+1])*m[2*d],m[2*d+1]=A),l--)}M(o,f,e[a(732)])}function K(e,t,r){var n,i,a=_0x1621,o=-1,s=t[1],u=0,c=7,f=4;for(0===s&&(c=138,f=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=s,s=t[2*(n+1)+1],++u<c&&i===s||(u<f?e[a(1708)][2*i]+=u:0!==i?(i!==o&&e[a(1708)][2*i]++,e[a(1708)][2*y]++):u<=10?e[a(1708)][2*b]++:e[a(1708)][2*w]++,o=i,f=(u=0)===s?(c=138,3):i===s?(c=6,3):(c=7,4))}function V(e,t,r){var n,i,a=_0x1621,o=-1,s=t[1],u=0,c=7,f=4;for(0===s&&(c=138,f=3),n=0;n<=r;n++)if(i=s,s=t[2*(n+1)+1],!(++u<c&&i===s)){if(u<f)for(;N(e,i,e.bl_tree),0!=--u;);else 0!==i?(i!==o&&(N(e,i,e[a(1708)]),u--),N(e,y,e[a(1708)]),R(e,u-3,2)):u<=10?(N(e,b,e[a(1708)]),R(e,u-3,3)):(N(e,w,e[a(1708)]),R(e,u-11,7));o=i,f=(u=0)===s?(c=138,3):i===s?(c=6,3):(c=7,4)}}r(F);var J=!1;function Y(e,t,r,n){var i;R(e,0+(n?1:0),3),n=t,t=r,r=!0,i=_0x1621,q(e=e),r&&(a(e,t),a(e,~t)),o.arraySet(e.pending_buf,e[i(2017)],n,t,e[i(1076)]),e.pending+=t}e._tr_init=function(e){var t=_0x1621;if(!J){for(var r,n,i,a=new Array(D+1),o=0,s=0;s<d-1;s++)for(T[s]=o,r=0;r<1<<k[s];r++)B[o++]=s;for(B[o-1]=s,s=i=0;s<16;s++)for(F[s]=i,r=0;r<1<<x[s];r++)O[i++]=s;for(i>>=7;s<_;s++)for(F[s]=i<<7,r=0;r<1<<x[s]-7;r++)O[256+i++]=s;for(n=0;n<=D;n++)a[n]=0;for(r=0;r<=143;)C[2*r+1]=8,r++,a[8]++;for(;r<=255;)C[2*r+1]=9,r++,a[9]++;for(;r<=279;)C[2*r+1]=7,r++,a[7]++;for(;r<=287;)C[2*r+1]=8,r++,a[8]++;for(M(C,p+1,a),r=0;r<_;r++)A[2*r+1]=5,A[2*r]=G(r,5);u=new I(C,k,v+1,p,D),c=new I(A,x,0,_,D),f=new I(new Array(0),H,0,g,z),J=!0}e[t(1950)]=new P(e[t(1190)],u),e.d_desc=new P(e[t(503)],c),e[t(829)]=new P(e[t(1708)],f),e.bi_buf=0,e.bi_valid=0,Z(e)},e[t(1344)]=Y,e[t(735)]=function(e,t,r,n){var i,a=_0x1621,o=0;if(0<e[a(1003)]?(2===e[a(493)][a(1257)]&&(e[a(493)][a(1257)]=(e=>{for(var t=_0x1621,r=4093624447,n=0;n<=31;n++,r>>>=1)if(1&r&&0!==e[t(1190)][2*n])return h;if(0!==e.dyn_ltree[18]||0!==e[t(1190)][20]||0!==e[t(1190)][26])return l;for(n=32;n<v;n++)if(0!==e[t(1190)][2*n])return l;return h})(e)),L(e,e[a(1950)]),L(e,e[a(1437)]),o=(e=>{var t,r=_0x1621;for(K(e,e[r(1190)],e.l_desc[r(532)]),K(e,e[r(503)],e[r(1437)][r(532)]),L(e,e[r(829)]),t=g-1;3<=t&&0===e[r(1708)][2*E[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t})(e),i=e[a(693)]+3+7>>>3,(f=e[a(2057)]+3+7>>>3)<=i&&(i=f)):i=f=r+5,r+4<=i&&-1!==t)Y(e,t,r,n);else if(4===e[a(1960)]||f===i)R(e,2+(n?1:0),3),W(e,C,A);else{R(e,4+(n?1:0),3);var s,u=e,c=(t=e[a(1950)][a(532)]+1,r=e[a(1437)][a(532)]+1,o+1),f=_0x1621;for(R(u,t-257,5),R(u,r-1,5),R(u,c-4,4),s=0;s<c;s++)R(u,u.bl_tree[2*E[s]+1],3);V(u,u[f(1190)],t-1),V(u,u.dyn_dtree,r-1),W(e,e.dyn_ltree,e.dyn_dtree)}Z(e),n&&q(e)},e[t(770)]=function(e,t,r){var n=_0x1621;return e.pending_buf[e[n(852)]+2*e[n(748)]]=t>>>8&255,e.pending_buf[e[n(852)]+2*e[n(748)]+1]=255&t,e[n(1873)][e.l_buf+e[n(748)]]=255&r,e.last_lit++,0===t?e[n(1190)][2*r]++:(e[n(1985)]++,t--,e[n(1190)][2*(B[r]+v+1)]++,e[n(503)][2*U(t)]++),e.last_lit===e[n(783)]-1},e[t(1597)]=function(e){var t;R(e,2,3),N(e,m,C),16===(e=e)[(t=_0x1621)(513)]?(a(e,e[t(2067)]),e[t(2067)]=0,e[t(513)]=0):8<=e.bi_valid&&(e.pending_buf[e[t(1076)]++]=255&e.bi_buf,e.bi_buf>>=8,e[t(513)]-=8)}}),se=t(function(e,t){t[X(1924)]=function(e,t,r,n){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==r;){for(r-=o=2e3<r?2e3:r;a=a+(i=i+t[n++]|0)|0,--o;);i%=65521,a%=65521}return i|a<<16|0}}),ue=t(function(e,t){var r=X;var s=(()=>{for(var e=[],t=0;t<256;t++){for(var r=t,n=0;n<8;n++)r=1&r?3988292384^r>>>1:r>>>1;e[t]=r}return e})();t[r(1924)]=function(e,t,r,n){var i=s,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[255&(e^t[o])];return-1^e}}),K=t(function(e,t){var r=X;t[r(1924)]={2:"need dictionary",1:"stream end",0:"","-1":r(1891),"-2":r(1224),"-3":"data error","-4":r(1517),"-5":r(934),"-6":r(2025)}}),ce=t(function(e){var u,t=X,d=$(),c=oe(),v=se(),p=ue(),N=K(),f=0,h=4,l=0,_=-2,j=-1,L=4,z=2,g=8,H=9,r=286,U=30,G=19,M=2*r+1,Z=15,m=3,y=258,b=y+m+1,w=42,k=113,x=1,E=2,C=3,A=4;function S(e,t){return e[_0x1621(1020)]=N[t],t}function D(e){return(e<<1)-(4<e?9:0)}function O(e){for(var t=e.length;0<=--t;)e[t]=0}function B(e){var t=_0x1621,r=e[t(1833)],n=r[t(1076)];0!==(n=n>e[t(1792)]?e[t(1792)]:n)&&(d[t(1554)](e.output,r[t(1873)],r[t(1008)],n,e[t(1794)]),e[t(1794)]+=n,r[t(1008)]+=n,e[t(647)]+=n,e.avail_out-=n,r.pending-=n,0===r[t(1076)])&&(r[t(1008)]=0)}function T(e,t){var r=_0x1621;c[r(735)](e,0<=e[r(1885)]?e[r(1885)]:-1,e[r(1371)]-e[r(1885)],t),e.block_start=e[r(1371)],B(e[r(493)])}function F(e,t){var r=_0x1621;e[r(1873)][e[r(1076)]++]=t}function I(e,t){var r=_0x1621;e[r(1873)][e[r(1076)]++]=t>>>8&255,e[r(1873)][e.pending++]=255&t}function o(e,t){var r,n,i=_0x1621,a=e[i(646)],o=e.strstart,s=e[i(1367)],u=e[i(558)],c=e[i(1371)]>e[i(987)]-b?e[i(1371)]-(e[i(987)]-b):0,f=e[i(2017)],h=e[i(2003)],l=e[i(1455)],d=e[i(1371)]+y,v=f[o+s-1],p=f[o+s];e[i(1367)]>=e[i(1663)]&&(a>>=2),u>e[i(1139)]&&(u=e[i(1139)]);do{if(f[(r=t)+s]===p&&f[r+s-1]===v&&f[r]===f[o]&&f[++r]===f[o+1]){for(o+=2,r++;f[++o]===f[++r]&&f[++o]===f[++r]&&f[++o]===f[++r]&&f[++o]===f[++r]&&f[++o]===f[++r]&&f[++o]===f[++r]&&f[++o]===f[++r]&&f[++o]===f[++r]&&o<d;);if(n=y-(d-o),o=d-y,s<n){if(e.match_start=t,u<=(s=n))break;v=f[o+s-1],p=f[o+s]}}}while((t=l[t&h])>c&&0!=--a);return s<=e[i(1139)]?s:e[i(1139)]}function P(e){var t,r,n,i,a,o,s,u,c,f,h=_0x1621,l=e[h(987)];do{if(u=e[h(2e3)]-e[h(1139)]-e[h(1371)],e[h(1371)]>=l+(l-b)){for(d.arraySet(e[h(2017)],e[h(2017)],l,l,0),e[h(2070)]-=l,e[h(1371)]-=l,e[h(1885)]-=l,t=r=e[h(1014)];n=e[h(865)][--t],e[h(865)][t]=l<=n?n-l:0,--r;);for(t=r=l;n=e[h(1455)][--t],e[h(1455)][t]=l<=n?n-l:0,--r;);u+=l}if(0===e[h(493)][h(498)])break;if(a=e[h(493)],o=e[h(2017)],s=e.strstart+e[h(1139)],u=u,f=c=void 0,f=a[(c=_0x1621)(498)],r=0===(f=u<f?u:f)?0:(a[c(498)]-=f,d[c(1554)](o,a.input,a[c(1920)],f,s),1===a.state.wrap?a[c(1390)]=v(a[c(1390)],o,f,s):2===a.state[c(1700)]&&(a[c(1390)]=p(a.adler,o,f,s)),a[c(1920)]+=f,a.total_in+=f,f),e.lookahead+=r,e[h(1139)]+e[h(1561)]>=m)for(i=e[h(1371)]-e[h(1561)],e[h(793)]=e[h(2017)][i],e[h(793)]=(e[h(793)]<<e[h(1887)]^e[h(2017)][i+1])&e[h(495)];e[h(1561)]&&(e[h(793)]=(e.ins_h<<e[h(1887)]^e[h(2017)][i+m-1])&e[h(495)],e.prev[i&e[h(2003)]]=e[h(865)][e.ins_h],e[h(865)][e.ins_h]=i,i++,e[h(1561)]--,!(e[h(1139)]+e.insert<m)););}while(e[h(1139)]<b&&0!==e[h(493)][h(498)])}function n(e,t){for(var r,n,i=_0x1621;;){if(e.lookahead<b){if(P(e),e[i(1139)]<b&&t===f)return x;if(0===e.lookahead)break}if(r=0,e[i(1139)]>=m&&(e[i(793)]=(e[i(793)]<<e[i(1887)]^e[i(2017)][e[i(1371)]+m-1])&e.hash_mask,r=e.prev[e[i(1371)]&e.w_mask]=e.head[e[i(793)]],e[i(865)][e[i(793)]]=e[i(1371)]),0!==r&&e[i(1371)]-r<=e[i(987)]-b&&(e[i(1616)]=o(e,r)),m<=e.match_length)if(n=c._tr_tally(e,e[i(1371)]-e.match_start,e.match_length-m),e[i(1139)]-=e[i(1616)],e[i(1616)]<=e[i(1781)]&&e[i(1139)]>=m){for(e[i(1616)]--;e[i(1371)]++,e[i(793)]=(e[i(793)]<<e[i(1887)]^e[i(2017)][e[i(1371)]+m-1])&e[i(495)],r=e.prev[e[i(1371)]&e[i(2003)]]=e.head[e.ins_h],e.head[e[i(793)]]=e.strstart,0!=--e[i(1616)];);e.strstart++}else e[i(1371)]+=e[i(1616)],e[i(1616)]=0,e[i(793)]=e[i(2017)][e[i(1371)]],e.ins_h=(e[i(793)]<<e[i(1887)]^e.window[e[i(1371)]+1])&e[i(495)];else n=c[i(770)](e,0,e.window[e[i(1371)]]),e.lookahead--,e.strstart++;if(n&&(T(e,!1),0===e[i(493)][i(1792)]))return x}return e[i(1561)]=e[i(1371)]<m-1?e.strstart:m-1,t===h?(T(e,!0),0===e.strm.avail_out?C:A):e[i(748)]&&(T(e,!1),0===e[i(493)][i(1792)])?x:E}function i(e,t){for(var r,n,i,a=_0x1621;;){if(e[a(1139)]<b){if(P(e),e[a(1139)]<b&&t===f)return x;if(0===e[a(1139)])break}if(r=0,e[a(1139)]>=m&&(e[a(793)]=(e[a(793)]<<e[a(1887)]^e[a(2017)][e[a(1371)]+m-1])&e[a(495)],r=e[a(1455)][e.strstart&e.w_mask]=e[a(865)][e.ins_h],e.head[e[a(793)]]=e[a(1371)]),e[a(1367)]=e[a(1616)],e[a(838)]=e[a(2070)],e[a(1616)]=m-1,0!==r&&e[a(1367)]<e.max_lazy_match&&e[a(1371)]-r<=e[a(987)]-b&&(e[a(1616)]=o(e,r),e[a(1616)]<=5)&&(1===e.strategy||e[a(1616)]===m&&4096<e[a(1371)]-e[a(2070)])&&(e[a(1616)]=m-1),m<=e.prev_length&&e[a(1616)]<=e[a(1367)]){for(i=e[a(1371)]+e[a(1139)]-m,n=c._tr_tally(e,e.strstart-1-e[a(838)],e[a(1367)]-m),e[a(1139)]-=e[a(1367)]-1,e[a(1367)]-=2;++e[a(1371)]<=i&&(e.ins_h=(e[a(793)]<<e[a(1887)]^e[a(2017)][e[a(1371)]+m-1])&e.hash_mask,r=e[a(1455)][e[a(1371)]&e[a(2003)]]=e[a(865)][e.ins_h],e.head[e[a(793)]]=e[a(1371)]),0!=--e[a(1367)];);if(e[a(1208)]=0,e[a(1616)]=m-1,e[a(1371)]++,n&&(T(e,!1),0===e[a(493)][a(1792)]))return x}else if(e[a(1208)]){if((n=c[a(770)](e,0,e[a(2017)][e[a(1371)]-1]))&&T(e,!1),e[a(1371)]++,e[a(1139)]--,0===e.strm[a(1792)])return x}else e.match_available=1,e[a(1371)]++,e[a(1139)]--}return e[a(1208)]&&(n=c._tr_tally(e,0,e[a(2017)][e[a(1371)]-1]),e[a(1208)]=0),e[a(1561)]=e[a(1371)]<m-1?e[a(1371)]:m-1,t===h?(T(e,!0),0===e.strm[a(1792)]?C:A):e.last_lit&&(T(e,!1),0===e[a(493)].avail_out)?x:E}function a(e,t,r,n,i){var a=_0x1621;this.good_length=e,this[a(1298)]=t,this[a(936)]=r,this.max_chain=n,this[a(1800)]=i}function q(){var e=_0x1621;this[e(493)]=null,this[e(1543)]=0,this.pending_buf=null,this.pending_buf_size=0,this[e(1008)]=0,this[e(1076)]=0,this[e(1700)]=0,this[e(1549)]=null,this.gzindex=0,this.method=g,this[e(1488)]=-1,this[e(987)]=0,this.w_bits=0,this[e(2003)]=0,this[e(2017)]=null,this[e(2e3)]=0,this[e(1455)]=null,this[e(865)]=null,this[e(793)]=0,this.hash_size=0,this[e(1671)]=0,this[e(495)]=0,this.hash_shift=0,this[e(1885)]=0,this.match_length=0,this[e(838)]=0,this.match_available=0,this[e(1371)]=0,this[e(2070)]=0,this[e(1139)]=0,this[e(1367)]=0,this.max_chain_length=0,this.max_lazy_match=0,this[e(1003)]=0,this[e(1960)]=0,this[e(1663)]=0,this.nice_match=0,this[e(1190)]=new d[e(1780)](2*M),this.dyn_dtree=new d.Buf16(2*(2*U+1)),this[e(1708)]=new d[e(1780)](2*(2*G+1)),O(this[e(1190)]),O(this[e(503)]),O(this[e(1708)]),this[e(1950)]=null,this[e(1437)]=null,this[e(829)]=null,this.bl_count=new d[e(1780)](Z+1),this[e(1162)]=new d.Buf16(2*r+1),O(this[e(1162)]),this[e(1667)]=0,this[e(1910)]=0,this[e(752)]=new d[e(1780)](2*r+1),O(this[e(752)]),this[e(1445)]=0,this[e(783)]=0,this.last_lit=0,this[e(852)]=0,this[e(693)]=0,this.static_len=0,this[e(1985)]=0,this[e(1561)]=0,this[e(2067)]=0,this[e(513)]=0}function s(e){var t,r=_0x1621;return e&&e[r(1833)]?(e[r(1674)]=e.total_out=0,e[r(1257)]=z,(t=e[r(1833)])[r(1076)]=0,t[r(1008)]=0,t.wrap<0&&(t.wrap=-t[r(1700)]),t[r(1543)]=t[r(1700)]?w:k,e.adler=2===t[r(1700)]?0:1,t[r(1488)]=f,c[r(1786)](t),l):S(e,_)}function R(e){var t=_0x1621,r=s(e);return r===l&&(e=e[t(1833)],t=_0x1621,e.window_size=2*e.w_size,O(e.head),e.max_lazy_match=u[e.level][t(1298)],e[t(1663)]=u[e[t(1003)]][t(1052)],e[t(558)]=u[e.level][t(936)],e[t(646)]=u[e[t(1003)]][t(1017)],e[t(1371)]=0,e[t(1885)]=0,e[t(1139)]=0,e[t(1561)]=0,e[t(1616)]=e.prev_length=m-1,e[t(1208)]=0,e[t(793)]=0),r}function W(e,t,r,n,i,a){var o=_0x1621;if(!e)return _;var s=1;if(t===j&&(t=6),n<0?(s=0,n=-n):15<n&&(s=2,n-=16),i<1||H<i||r!==g||n<8||15<n||t<0||9<t||a<0||L<a)return S(e,_);8===n&&(n=9);var u=new q;return(e[o(1833)]=u)[o(493)]=e,u[o(1700)]=s,u[o(1549)]=null,u.w_bits=n,u[o(987)]=1<<u[o(794)],u.w_mask=u.w_size-1,u[o(1671)]=i+7,u[o(1014)]=1<<u[o(1671)],u[o(495)]=u.hash_size-1,u[o(1887)]=~~((u[o(1671)]+m-1)/m),u[o(2017)]=new d[o(1501)](2*u[o(987)]),u[o(865)]=new d[o(1780)](u[o(1014)]),u[o(1455)]=new d[o(1780)](u[o(987)]),u[o(783)]=1<<i+6,u.pending_buf_size=4*u[o(783)],u.pending_buf=new d[o(1501)](u[o(1469)]),u[o(852)]=+u[o(783)],u[o(1445)]=3*u[o(783)],u[o(1003)]=t,u.strategy=a,u.method=r,R(e)}u=[new a(0,0,0,0,function(e,t){var r=_0x1621,n=65535;for(n>e.pending_buf_size-5&&(n=e[r(1469)]-5);;){if(e[r(1139)]<=1){if(P(e),0===e[r(1139)]&&t===f)return x;if(0===e.lookahead)break}e[r(1371)]+=e[r(1139)],e[r(1139)]=0;var i=e[r(1885)]+n;if((0===e[r(1371)]||e[r(1371)]>=i)&&(e[r(1139)]=e[r(1371)]-i,e[r(1371)]=i,T(e,!1),0===e[r(493)][r(1792)])||e.strstart-e[r(1885)]>=e[r(987)]-b&&(T(e,!1),0===e[r(493)][r(1792)]))return x}return e[r(1561)]=0,t===h?(T(e,!0),0===e[r(493)][r(1792)]?C:A):(e[r(1371)]>e[r(1885)]&&(T(e,!1),e[r(493)][r(1792)]),x)}),new a(4,4,8,4,n),new a(4,5,16,8,n),new a(4,6,32,32,n),new a(4,4,16,16,i),new a(8,16,32,32,i),new a(8,16,128,128,i),new a(8,32,128,256,i),new a(32,128,258,1024,i),new a(32,258,258,4096,i)],e.deflateInit=function(e,t){return W(e,t,g,15,8,0)},e[t(903)]=W,e.deflateReset=R,e.deflateResetKeep=s,e.deflateSetHeader=function(e,t){var r=_0x1621;return e&&e[r(1833)]&&2===e[r(1833)][r(1700)]?(e.state.gzhead=t,l):_},e[t(679)]=function(e,t){var r,n,i,a,o=_0x1621;if(!e||!e.state||5<t||t<0)return e?S(e,_):_;if(n=e.state,!e.output||!e.input&&0!==e[o(498)]||666===n[o(1543)]&&t!==h)return S(e,0===e[o(1792)]?-5:_);if(n[o(493)]=e,r=n[o(1488)],n[o(1488)]=t,n[o(1543)]===w&&(2===n.wrap?(e[o(1390)]=0,F(n,31),F(n,139),F(n,8),n[o(1549)]?(F(n,(n[o(1549)][o(819)]?1:0)+(n[o(1549)].hcrc?2:0)+(n[o(1549)].extra?4:0)+(n.gzhead.name?8:0)+(n[o(1549)][o(1678)]?16:0)),F(n,255&n[o(1549)].time),F(n,n[o(1549)][o(1370)]>>8&255),F(n,n[o(1549)].time>>16&255),F(n,n.gzhead[o(1370)]>>24&255),F(n,9===n.level?2:2<=n[o(1960)]||n[o(1003)]<2?4:0),F(n,255&n[o(1549)].os),n[o(1549)][o(760)]&&n[o(1549)][o(760)][o(512)]&&(F(n,255&n.gzhead[o(760)][o(512)]),F(n,n[o(1549)][o(760)].length>>8&255)),n.gzhead[o(577)]&&(e[o(1390)]=p(e[o(1390)],n.pending_buf,n[o(1076)],0)),n[o(1116)]=0,n[o(1543)]=69):(F(n,0),F(n,0),F(n,0),F(n,0),F(n,0),F(n,9===n[o(1003)]?2:2<=n[o(1960)]||n[o(1003)]<2?4:0),F(n,3),n[o(1543)]=k)):(s=g+(n.w_bits-8<<4)<<8,s|=(2<=n[o(1960)]||n.level<2?0:n.level<6?1:6===n[o(1003)]?2:3)<<6,0!==n[o(1371)]&&(s|=32),s+=31-s%31,n[o(1543)]=k,I(n,s),0!==n[o(1371)]&&(I(n,e[o(1390)]>>>16),I(n,65535&e[o(1390)])),e.adler=1)),69===n.status)if(n[o(1549)][o(760)]){for(i=n[o(1076)];n.gzindex<(65535&n[o(1549)][o(760)].length)&&(n.pending!==n[o(1469)]||(n[o(1549)][o(577)]&&n.pending>i&&(e[o(1390)]=p(e[o(1390)],n[o(1873)],n.pending-i,i)),B(e),i=n[o(1076)],n.pending!==n.pending_buf_size));)F(n,255&n[o(1549)].extra[n[o(1116)]]),n[o(1116)]++;n[o(1549)].hcrc&&n[o(1076)]>i&&(e[o(1390)]=p(e[o(1390)],n[o(1873)],n.pending-i,i)),n.gzindex===n[o(1549)].extra[o(512)]&&(n.gzindex=0,n.status=73)}else n[o(1543)]=73;if(73===n[o(1543)])if(n[o(1549)][o(1771)]){i=n[o(1076)];do{if(n[o(1076)]===n[o(1469)]&&(n[o(1549)][o(577)]&&n[o(1076)]>i&&(e.adler=p(e[o(1390)],n.pending_buf,n[o(1076)]-i,i)),B(e),i=n[o(1076)],n.pending===n[o(1469)])){a=1;break}}while(a=n[o(1116)]<n[o(1549)].name[o(512)]?255&n[o(1549)][o(1771)][o(2016)](n.gzindex++):0,F(n,a),0!==a);n[o(1549)].hcrc&&n[o(1076)]>i&&(e.adler=p(e[o(1390)],n.pending_buf,n[o(1076)]-i,i)),0===a&&(n[o(1116)]=0,n[o(1543)]=91)}else n[o(1543)]=91;if(91===n[o(1543)])if(n[o(1549)][o(1678)]){i=n[o(1076)];do{if(n[o(1076)]===n.pending_buf_size&&(n.gzhead[o(577)]&&n[o(1076)]>i&&(e[o(1390)]=p(e[o(1390)],n[o(1873)],n.pending-i,i)),B(e),i=n.pending,n[o(1076)]===n[o(1469)])){a=1;break}}while(a=n[o(1116)]<n[o(1549)].comment.length?255&n[o(1549)].comment[o(2016)](n.gzindex++):0,F(n,a),0!==a);n[o(1549)][o(577)]&&n[o(1076)]>i&&(e[o(1390)]=p(e.adler,n.pending_buf,n.pending-i,i)),0===a&&(n[o(1543)]=103)}else n[o(1543)]=103;if(103===n[o(1543)]&&(n[o(1549)].hcrc?(n.pending+2>n[o(1469)]&&B(e),n.pending+2<=n.pending_buf_size&&(F(n,255&e.adler),F(n,e[o(1390)]>>8&255),e[o(1390)]=0,n[o(1543)]=k)):n[o(1543)]=k),0!==n[o(1076)]){if(B(e),0===e[o(1792)])return n[o(1488)]=-1,l}else if(0===e.avail_in&&D(t)<=D(r)&&t!==h)return S(e,-5);if(666===n[o(1543)]&&0!==e[o(498)])return S(e,-5);if(0!==e[o(498)]||0!==n[o(1139)]||t!==f&&666!==n[o(1543)]){var s=2===n[o(1960)]?((e,t)=>{for(var r,n=_0x1621;;){if(0===e[n(1139)]&&(P(e),0===e[n(1139)])){if(t===f)return x;break}if(e[n(1616)]=0,r=c._tr_tally(e,0,e[n(2017)][e[n(1371)]]),e[n(1139)]--,e[n(1371)]++,r&&(T(e,!1),0===e.strm[n(1792)]))return x}return e.insert=0,t===h?(T(e,!0),0===e.strm.avail_out?C:A):e[n(748)]&&(T(e,!1),0===e[n(493)][n(1792)])?x:E})(n,t):3===n[o(1960)]?((e,t)=>{for(var r,n,i,a,o=_0x1621,s=e.window;;){if(e[o(1139)]<=y){if(P(e),e.lookahead<=y&&t===f)return x;if(0===e.lookahead)break}if(e.match_length=0,m<=e.lookahead&&0<e[o(1371)]&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){for(a=e[o(1371)]+y;n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a;);e[o(1616)]=y-(a-i),e[o(1616)]>e.lookahead&&(e[o(1616)]=e[o(1139)])}if(e[o(1616)]>=m?(r=c[o(770)](e,1,e.match_length-m),e[o(1139)]-=e[o(1616)],e[o(1371)]+=e[o(1616)],e[o(1616)]=0):(r=c[o(770)](e,0,e[o(2017)][e.strstart]),e.lookahead--,e[o(1371)]++),r&&(T(e,!1),0===e.strm.avail_out))return x}return e[o(1561)]=0,t===h?(T(e,!0),0===e[o(493)].avail_out?C:A):e[o(748)]&&(T(e,!1),0===e[o(493)][o(1792)])?x:E})(n,t):u[n[o(1003)]].func(n,t);if(s!==C&&s!==A||(n[o(1543)]=666),s===x||s===C)return 0===e[o(1792)]&&(n[o(1488)]=-1),l;if(s===E&&(1===t?c._tr_align(n):5!==t&&(c._tr_stored_block(n,0,0,!1),3===t)&&(O(n.head),0===n[o(1139)])&&(n.strstart=0,n.block_start=0,n[o(1561)]=0),B(e),0===e[o(1792)]))return n.last_flush=-1,l}return t!==h||!(n.wrap<=0)&&(2===n.wrap?(F(n,255&e.adler),F(n,e[o(1390)]>>8&255),F(n,e[o(1390)]>>16&255),F(n,e[o(1390)]>>24&255),F(n,255&e[o(1674)]),F(n,e[o(1674)]>>8&255),F(n,e[o(1674)]>>16&255),F(n,e[o(1674)]>>24&255)):(I(n,e.adler>>>16),I(n,65535&e[o(1390)])),B(e),0<n[o(1700)]&&(n.wrap=-n[o(1700)]),0!==n[o(1076)])?l:1},e[t(1758)]=function(e){var t=_0x1621;return e&&e[t(1833)]?(t=e[t(1833)][t(1543)])!==w&&69!==t&&73!==t&&91!==t&&103!==t&&t!==k&&666!==t?S(e,_):(e.state=null,t===k?S(e,-3):l):_},e[t(1727)]=function(e,t){var r,n,i,a,o,s,u,c=_0x1621,f=t[c(512)];if(!e||!e[c(1833)]||2===(a=(r=e[c(1833)]).wrap)||1===a&&r[c(1543)]!==w||r.lookahead)return _;for(1===a&&(e[c(1390)]=v(e[c(1390)],t,f,0)),r[c(1700)]=0,f>=r.w_size&&(0===a&&(O(r.head),r.strstart=0,r[c(1885)]=0,r[c(1561)]=0),u=new d[c(1501)](r[c(987)]),d[c(1554)](u,t,f-r[c(987)],r.w_size,0),t=u,f=r[c(987)]),u=e.avail_in,o=e[c(1920)],s=e[c(1735)],e[c(498)]=f,e[c(1920)]=0,e[c(1735)]=t,P(r);r[c(1139)]>=m;){for(n=r[c(1371)],i=r[c(1139)]-(m-1);r.ins_h=(r[c(793)]<<r[c(1887)]^r.window[n+m-1])&r[c(495)],r[c(1455)][n&r[c(2003)]]=r[c(865)][r[c(793)]],r[c(865)][r.ins_h]=n,n++,--i;);r.strstart=n,r[c(1139)]=m-1,P(r)}return r[c(1371)]+=r[c(1139)],r.block_start=r[c(1371)],r[c(1561)]=r[c(1139)],r[c(1139)]=0,r[c(1616)]=r.prev_length=m-1,r[c(1208)]=0,e[c(1920)]=o,e[c(1735)]=s,e[c(498)]=u,r[c(1700)]=a,l},e.deflateInfo="pako deflate (from Nodeca project)"}),fe=t(function(e){var c=X,f=$(),a=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode[c(1954)](null,new Uint8Array(1))}catch(e){o=!1}for(var t,u=new f.Buf8(256),t=0;t<256;t++)u[t]=252<=t?6:248<=t?5:240<=t?4:224<=t?3:192<=t?2:1;function h(e,t){var r=c;if(t<65534&&(e[r(715)]&&o||!e[r(715)]&&a))return String.fromCharCode[r(1954)](null,f[r(1196)](e,t));for(var n="",i=0;i<t;i++)n+=String[r(677)](e[i]);return n}u[254]=u[254]=1,e[c(1538)]=function(e){for(var t,r,n,i,a=c,o=e.length,s=0,u=0;u<o;u++)55296==(64512&(r=e[a(2016)](u)))&&u+1<o&&56320==(64512&(n=e[a(2016)](u+1)))&&(r=65536+(r-55296<<10)+(n-56320),u++),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new f[a(1501)](s),u=i=0;i<s;u++)55296==(64512&(r=e[a(2016)](u)))&&u+1<o&&56320==(64512&(n=e[a(2016)](u+1)))&&(r=65536+(r-55296<<10)+(n-56320),u++),r<128?t[i++]=r:(r<2048?t[i++]=192|r>>>6:(r<65536?t[i++]=224|r>>>12:(t[i++]=240|r>>>18,t[i++]=128|r>>>12&63),t[i++]=128|r>>>6&63),t[i++]=128|63&r);return t},e[c(1741)]=function(e){return h(e,e[c(512)])},e[c(1596)]=function(e){for(var t=c,r=new f.Buf8(e.length),n=0,i=r[t(512)];n<i;n++)r[n]=e.charCodeAt(n);return r},e.buf2string=function(e,t){for(var r,n,i=t||e[c(512)],a=new Array(2*i),o=0,s=0;s<i;)if((r=e[s++])<128)a[o++]=r;else if(4<(n=u[r]))a[o++]=65533,s+=n-1;else{for(r&=2===n?31:3===n?15:7;1<n&&s<i;)r=r<<6|63&e[s++],n--;1<n?a[o++]=65533:r<65536?a[o++]=r:(r-=65536,a[o++]=55296|r>>10&1023,a[o++]=56320|1023&r)}return h(a,o)},e[c(897)]=function(e,t){for(var r=c,n=(t=(t=t||e.length)>e[r(512)]?e[r(512)]:t)-1;0<=n&&128==(192&e[n]);)n--;return!(n<0||0===n)&&n+u[e[n]]>t?n:t}}),he=t(function(e,t){t.exports=function(){var e=_0x1621;this[e(1735)]=null,this[e(1920)]=0,this[e(498)]=0,this[e(1674)]=0,this[e(2049)]=null,this[e(1794)]=0,this[e(1792)]=0,this.total_out=0,this[e(1020)]="",this.state=null,this.data_type=2,this[e(1390)]=0}}),le=t(function(e){var s=X,u=ce(),c=$(),f=fe(),n=K(),i=he(),h=Object[s(854)][s(1260)];function a(e){var t=s;if(!(this instanceof a))return new a(e);this[t(1680)]=c[t(712)]({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});e=this[t(1680)];if(e[t(706)]&&0<e.windowBits?e[t(805)]=-e[t(805)]:e.gzip&&0<e.windowBits&&e[t(805)]<16&&(e.windowBits+=16),this[t(1622)]=0,this.msg="",this[t(1475)]=!1,this[t(796)]=[],this[t(493)]=new i,(this.strm[t(1792)]=0)!==(r=u.deflateInit2(this[t(493)],e.level,e[t(588)],e[t(805)],e[t(832)],e[t(1960)])))throw new Error(n[r]);if(e.header&&u[t(863)](this[t(493)],e[t(1182)]),e[t(1148)]){var r,e=typeof e.dictionary==t(496)?f[t(1538)](e[t(1148)]):h[t(983)](e[t(1148)])===t(537)?new Uint8Array(e[t(1148)]):e[t(1148)];if(0!==(r=u[t(1727)](this[t(493)],e)))throw new Error(n[r]);this[t(659)]=!0}}function r(e,t){var r=s,t=new a(t);if(t[r(774)](e,!0),t[r(1622)])throw t[r(1020)]||n[t.err];return t.result}a[s(854)][s(774)]=function(e,t){var r,n,i=s,a=this[i(493)],o=this[i(1680)][i(731)];if(this[i(1475)])return!1;n=t===~~t?t:!0===t?4:0,typeof e==i(496)?a[i(1735)]=f[i(1538)](e):h.call(e)===i(537)?a[i(1735)]=new Uint8Array(e):a.input=e,a[i(1920)]=0,a[i(498)]=a.input[i(512)];do{if(0===a[i(1792)]&&(a[i(2049)]=new c[i(1501)](o),a[i(1794)]=0,a[i(1792)]=o),1!==(r=u[i(679)](a,n))&&0!==r)return this.onEnd(r),!(this[i(1475)]=!0)}while(0!==a[i(1792)]&&(0!==a[i(498)]||4!==n&&2!==n)||(this[i(1680)].to===i(496)?this[i(1111)](f.buf2binstring(c[i(1196)](a[i(2049)],a.next_out))):this.onData(c[i(1196)](a[i(2049)],a[i(1794)]))),(0<a[i(498)]||0===a[i(1792)])&&1!==r);return 4===n?(r=u.deflateEnd(this[i(493)]),this[i(1630)](r),this.ended=!0,0===r):(2===n&&(this[i(1630)](0),a[i(1792)]=0),!0)},a[s(854)][s(1111)]=function(e){var t=s;this.chunks[t(774)](e)},a[s(854)][s(1630)]=function(e){var t=s;0===e&&(this.options.to===t(496)?this[t(1901)]=this[t(796)][t(1158)](""):this[t(1901)]=c[t(1099)](this[t(796)])),this.chunks=[],this[t(1622)]=e,this[t(1020)]=this[t(493)][t(1020)]},e[s(579)]=a,e[s(679)]=r,e[s(1876)]=function(e,t){return(t=t||{})[s(706)]=!0,r(e,t)},e[s(979)]=function(e,t){return(t=t||{})[s(979)]=!0,r(e,t)}}),de=t(function(e,t){t.exports=function(e,t){var r,n,i,a,o,s,u=_0x1621,c=e.state,f=e[u(1920)],h=e[u(1735)],l=f+(e[u(498)]-5),d=e.next_out,v=e[u(2049)],p=d-(t-e.avail_out),_=d+(e[u(1792)]-257),g=c.dmax,m=c[u(1155)],y=c[u(1146)],b=c[u(892)],w=c[u(2017)],k=c[u(860)],x=c[u(904)],E=c[u(1128)],C=c[u(1007)],A=(1<<c[u(1107)])-1,S=(1<<c[u(1478)])-1;e:do{for(x<15&&(k+=h[f++]<<x,x+=8,k+=h[f++]<<x,x+=8),r=E[k&A];;){if(k>>>=n=r>>>24,x-=n,0===(n=r>>>16&255))v[d++]=65535&r;else{if(!(16&n)){if(0==(64&n)){r=E[(65535&r)+(k&(1<<n)-1)];continue}if(32&n){c[u(1702)]=12;break e}e.msg=u(1255),c.mode=30;break e}for(i=65535&r,(n&=15)&&(x<n&&(k+=h[f++]<<x,x+=8),i+=k&(1<<n)-1,k>>>=n,x-=n),x<15&&(k+=h[f++]<<x,x+=8,k+=h[f++]<<x,x+=8),r=C[k&S];;){if(k>>>=n=r>>>24,x-=n,!(16&(n=r>>>16&255))){if(0==(64&n)){r=C[(65535&r)+(k&(1<<n)-1)];continue}e.msg=u(1609),c[u(1702)]=30;break e}if(a=65535&r,x<(n&=15)&&(k+=h[f++]<<x,(x+=8)<n)&&(k+=h[f++]<<x,x+=8),g<(a+=k&(1<<n)-1)){e.msg=u(1579),c[u(1702)]=30;break e}if(k>>>=n,x-=n,(n=d-p)<a){if(y<(n=a-n)&&c[u(1505)]){e[u(1020)]=u(1579),c.mode=30;break e}if(s=w,(o=0)===b){if(o+=m-n,n<i){for(i-=n;v[d++]=w[o++],--n;);o=d-a,s=v}}else if(b<n){if(o+=m+b-n,(n-=b)<i){for(i-=n;v[d++]=w[o++],--n;);if(o=0,b<i){for(i-=n=b;v[d++]=w[o++],--n;);o=d-a,s=v}}}else if(o+=b-n,n<i){for(i-=n;v[d++]=w[o++],--n;);o=d-a,s=v}for(;2<i;)v[d++]=s[o++],v[d++]=s[o++],v[d++]=s[o++],i-=3;i&&(v[d++]=s[o++],1<i)&&(v[d++]=s[o++])}else{for(o=d-a;v[d++]=v[o++],v[d++]=v[o++],v[d++]=v[o++],2<(i-=3););i&&(v[d++]=v[o++],1<i)&&(v[d++]=v[o++])}break}}break}}while(f<l&&d<_);f-=i=x>>3,k&=(1<<(x-=i<<3))-1,e[u(1920)]=f,e[u(1794)]=d,e[u(498)]=f<l?l-f+5:5-(f-l),e[u(1792)]=d<_?_-d+257:257-(d-_),c[u(860)]=k,c.bits=x}}),ve=t(function(e,t){var R=X,N=$(),j=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],L=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],z=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],H=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t[R(1924)]=function(e,t,r,n,i,a,o,s){for(var u,c,f,h,l,d,v,p,_,g=R,m=s[g(904)],y=0,b=0,w=0,k=0,x=0,E=0,C=0,A=0,S=0,D=0,O=null,B=0,T=new N[g(1780)](16),F=new N[g(1780)](16),I=null,P=0,y=0;y<=15;y++)T[y]=0;for(b=0;b<n;b++)T[t[r+b]]++;for(x=m,k=15;1<=k&&0===T[k];k--);if(k<x&&(x=k),0===k)i[a++]=20971520,i[a++]=20971520,s[g(904)]=1;else{for(w=1;w<k&&0===T[w];w++);for(x<w&&(x=w),y=A=1;y<=15;y++)if((A=(A<<1)-T[y])<0)return-1;if(0<A&&(0===e||1!==k))return-1;for(F[1]=0,y=1;y<15;y++)F[y+1]=F[y]+T[y];for(b=0;b<n;b++)0!==t[r+b]&&(o[F[t[r+b]]++]=b);if(d=0===e?(O=I=o,19):1===e?(O=j,B-=257,I=L,P-=257,256):(O=z,I=H,-1),y=w,l=a,C=b=D=0,f=-1,h=(S=1<<(E=x))-1,1===e&&852<S||2===e&&592<S)return 1;for(;;){for(_=o[b]<d?(p=0,o[b]):o[b]>d?(p=I[P+o[b]],O[B+o[b]]):(p=96,0),u=1<<(v=y-C),w=c=1<<E;i[l+(D>>C)+(c-=u)]=v<<24|p<<16|_|0,0!==c;);for(u=1<<y-1;D&u;)u>>=1;if(0!==u?D=(D&u-1)+u:D=0,b++,0==--T[y]){if(y===k)break;y=t[r+o[b]]}if(x<y&&(D&h)!==f){for(l+=w,A=1<<(E=y-(C=0===C?x:C));E+C<k&&!((A-=T[E+C])<=0);)E++,A<<=1;if(S+=1<<E,1===e&&852<S||2===e&&592<S)return 1;i[f=D&h]=x<<24|E<<16|l-a|0}}0!==D&&(i[l+D]=y-C<<24|64<<16|0),s[g(904)]=x}return 0}}),pe=t(function(e){var t=X,I=$(),P=se(),R=ue(),N=de(),j=ve(),L=1,z=2,H=0,U=-2,G=1,n=852,i=592;function M(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function a(){var e=_0x1621;this[e(1702)]=0,this.last=!1,this.wrap=0,this[e(1201)]=!1,this[e(1889)]=0,this.dmax=0,this[e(951)]=0,this[e(1457)]=0,this[e(865)]=null,this[e(1586)]=0,this[e(1155)]=0,this[e(1146)]=0,this[e(892)]=0,this[e(2017)]=null,this[e(860)]=0,this[e(904)]=0,this[e(512)]=0,this[e(536)]=0,this.extra=0,this[e(1128)]=null,this.distcode=null,this.lenbits=0,this[e(1478)]=0,this[e(1740)]=0,this[e(699)]=0,this.ndist=0,this[e(1958)]=0,this.next=null,this[e(1343)]=new I[e(1780)](320),this[e(1770)]=new I[e(1780)](288),this[e(555)]=null,this[e(689)]=null,this[e(1505)]=0,this[e(972)]=0,this[e(1931)]=0}function o(e){var t,r=_0x1621;return e&&e[r(1833)]?(t=e[r(1833)],e.total_in=e.total_out=t[r(1457)]=0,e[r(1020)]="",t.wrap&&(e[r(1390)]=1&t.wrap),t.mode=G,t[r(1229)]=0,t[r(1201)]=0,t[r(1175)]=32768,t[r(865)]=null,t[r(860)]=0,t[r(904)]=0,t.lencode=t[r(555)]=new I.Buf32(n),t[r(1007)]=t[r(689)]=new I[r(1452)](i),t[r(1505)]=1,t[r(972)]=-1,H):U}function s(e){var t,r=_0x1621;return e&&e[r(1833)]?((t=e[r(1833)])[r(1155)]=0,t[r(1146)]=0,t.wnext=0,o(e)):U}function u(e,t){var r,n,i=_0x1621;return!e||!e.state||(n=e[i(1833)],t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t))?U:(null!==n[i(2017)]&&n[i(1586)]!==t&&(n[i(2017)]=null),n[i(1700)]=r,n[i(1586)]=t,s(e))}function r(e,t){var r;return e?(r=new a,(e.state=r).window=null,(r=u(e,t))!==H&&(e.state=null),r):U}var Z,q,W=!0;function K(e,t,r,n){var i,a=_0x1621,e=e[a(1833)];return null===e[a(2017)]&&(e.wsize=1<<e[a(1586)],e[a(892)]=0,e[a(1146)]=0,e.window=new I[a(1501)](e[a(1155)])),n>=e[a(1155)]?(I[a(1554)](e.window,t,r-e.wsize,e[a(1155)],0),e[a(892)]=0,e[a(1146)]=e[a(1155)]):(n<(i=e[a(1155)]-e[a(892)])&&(i=n),I.arraySet(e[a(2017)],t,r-n,i,e[a(892)]),(n-=i)?(I.arraySet(e[a(2017)],t,r-n,n,0),e[a(892)]=n,e[a(1146)]=e.wsize):(e[a(892)]+=i,e.wnext===e[a(1155)]&&(e[a(892)]=0),e[a(1146)]<e[a(1155)]&&(e[a(1146)]+=i))),0}e[t(781)]=s,e.inflateReset2=u,e.inflateResetKeep=o,e[t(644)]=function(e){return r(e,15)},e[t(701)]=r,e.inflate=function(e,t){var r,n,i,a,o,s,u,c,f,h,l,d,v,p,_,g,m,y,b,w,k,x,E,C,A=_0x1621,S=0,D=new I[A(1501)](4),O=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e[A(1833)]||!e[A(2049)]||!e[A(1735)]&&0!==e[A(498)])return U;12===(r=e[A(1833)])[A(1702)]&&(r[A(1702)]=13),o=e[A(1794)],i=e.output,u=e[A(1792)],a=e[A(1920)],n=e[A(1735)],s=e[A(498)],c=r.hold,f=r[A(904)],h=s,l=u,x=H;e:for(;;)switch(r.mode){case G:if(0===r[A(1700)])r[A(1702)]=13;else{for(;f<16;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if(2&r[A(1700)]&&35615===c)D[r[A(951)]=0]=255&c,D[1]=c>>>8&255,r[A(951)]=R(r.check,D,2,0),f=c=0,r[A(1702)]=2;else if(r[A(1889)]=0,r[A(865)]&&(r.head[A(1387)]=!1),!(1&r[A(1700)])||(((255&c)<<8)+(c>>8))%31)e[A(1020)]=A(761),r[A(1702)]=30;else if(8!=(15&c))e[A(1020)]=A(1687),r[A(1702)]=30;else{if(f-=4,k=8+(15&(c>>>=4)),0===r[A(1586)])r[A(1586)]=k;else if(k>r[A(1586)]){e[A(1020)]=A(601),r[A(1702)]=30;break}r[A(1175)]=1<<k,e[A(1390)]=r[A(951)]=1,r.mode=512&c?10:12,f=c=0}}break;case 2:for(;f<16;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if(r[A(1889)]=c,8!=(255&r[A(1889)])){e[A(1020)]=A(1687),r[A(1702)]=30;break}if(57344&r[A(1889)]){e[A(1020)]=A(1810),r.mode=30;break}r[A(865)]&&(r.head.text=c>>8&1),512&r[A(1889)]&&(D[0]=255&c,D[1]=c>>>8&255,r[A(951)]=R(r.check,D,2,0)),f=c=0,r[A(1702)]=3;case 3:for(;f<32;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}r[A(865)]&&(r.head[A(1370)]=c),512&r[A(1889)]&&(D[0]=255&c,D[1]=c>>>8&255,D[2]=c>>>16&255,D[3]=c>>>24&255,r[A(951)]=R(r[A(951)],D,4,0)),f=c=0,r[A(1702)]=4;case 4:for(;f<16;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}r[A(865)]&&(r[A(865)].xflags=255&c,r[A(865)].os=c>>8),512&r[A(1889)]&&(D[0]=255&c,D[1]=c>>>8&255,r[A(951)]=R(r[A(951)],D,2,0)),f=c=0,r[A(1702)]=5;case 5:if(1024&r.flags){for(;f<16;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}r[A(512)]=c,r[A(865)]&&(r[A(865)].extra_len=c),512&r[A(1889)]&&(D[0]=255&c,D[1]=c>>>8&255,r[A(951)]=R(r.check,D,2,0)),f=c=0}else r[A(865)]&&(r[A(865)].extra=null);r[A(1702)]=6;case 6:if(1024&r[A(1889)]&&((d=s<(d=r.length)?s:d)&&(r[A(865)]&&(k=r.head.extra_len-r[A(512)],r[A(865)].extra||(r[A(865)].extra=new Array(r[A(865)][A(504)])),I[A(1554)](r[A(865)][A(760)],n,a,d,k)),512&r[A(1889)]&&(r[A(951)]=R(r[A(951)],n,d,a)),s-=d,a+=d,r[A(512)]-=d),r[A(512)]))break e;r.length=0,r[A(1702)]=7;case 7:if(2048&r[A(1889)]){if(0===s)break e;for(d=0;k=n[a+d++],r[A(865)]&&k&&r[A(512)]<65536&&(r[A(865)][A(1771)]+=String[A(677)](k)),k&&d<s;);if(512&r[A(1889)]&&(r[A(951)]=R(r[A(951)],n,d,a)),s-=d,a+=d,k)break e}else r.head&&(r.head.name=null);r[A(512)]=0,r[A(1702)]=8;case 8:if(4096&r[A(1889)]){if(0===s)break e;for(d=0;k=n[a+d++],r.head&&k&&r[A(512)]<65536&&(r[A(865)].comment+=String[A(677)](k)),k&&d<s;);if(512&r[A(1889)]&&(r[A(951)]=R(r[A(951)],n,d,a)),s-=d,a+=d,k)break e}else r.head&&(r[A(865)][A(1678)]=null);r[A(1702)]=9;case 9:if(512&r[A(1889)]){for(;f<16;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if(c!==(65535&r.check)){e.msg=A(912),r[A(1702)]=30;break}f=c=0}r[A(865)]&&(r[A(865)][A(577)]=r[A(1889)]>>9&1,r[A(865)].done=!0),e[A(1390)]=r[A(951)]=0,r[A(1702)]=12;break;case 10:for(;f<32;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}e[A(1390)]=r[A(951)]=M(c),f=c=0,r[A(1702)]=11;case 11:if(0===r[A(1201)])return e[A(1794)]=o,e[A(1792)]=u,e[A(1920)]=a,e[A(498)]=s,r[A(860)]=c,r.bits=f,2;e.adler=r.check=1,r[A(1702)]=12;case 12:if(5===t||6===t)break e;case 13:if(r[A(1229)])c>>>=7&f,f-=7&f,r[A(1702)]=27;else{for(;f<3;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}switch(r[A(1229)]=1&c,--f,3&(c>>>=1)){case 0:r[A(1702)]=14;break;case 1:B=F=T=void 0;var B,T=r,F=_0x1621;if(W){for(Z=new I[F(1452)](512),q=new I[F(1452)](32),B=0;B<144;)T[F(1343)][B++]=8;for(;B<256;)T[F(1343)][B++]=9;for(;B<280;)T[F(1343)][B++]=7;for(;B<288;)T[F(1343)][B++]=8;for(j(L,T[F(1343)],0,288,Z,0,T[F(1770)],{bits:9}),B=0;B<32;)T[F(1343)][B++]=5;j(z,T[F(1343)],0,32,q,0,T[F(1770)],{bits:5}),W=!1}if(T[F(1128)]=Z,T.lenbits=9,T[F(1007)]=q,T[F(1478)]=5,r[A(1702)]=20,6!==t)break;c>>>=2,f-=2;break e;case 2:r.mode=17;break;case 3:e[A(1020)]=A(580),r[A(1702)]=30}c>>>=2,f-=2}break;case 14:for(c>>>=7&f,f-=7&f;f<32;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if((65535&c)!=(c>>>16^65535)){e[A(1020)]=A(1815),r[A(1702)]=30;break}if(r[A(512)]=65535&c,f=c=0,r[A(1702)]=15,6===t)break e;case 15:r.mode=16;case 16:if(d=r[A(512)]){if(0===(d=u<(d=s<d?s:d)?u:d))break e;I.arraySet(i,n,a,d,o),s-=d,a+=d,u-=d,o+=d,r[A(512)]-=d}else r[A(1702)]=12;break;case 17:for(;f<14;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if(r[A(699)]=257+(31&c),c>>>=5,f-=5,r[A(1900)]=1+(31&c),c>>>=5,f-=5,r[A(1740)]=4+(15&c),c>>>=4,f-=4,286<r[A(699)]||30<r[A(1900)]){e[A(1020)]=A(1936),r[A(1702)]=30;break}r[A(1958)]=0,r[A(1702)]=18;case 18:for(;r[A(1958)]<r.ncode;){for(;f<3;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}r[A(1343)][O[r[A(1958)]++]]=7&c,c>>>=3,f-=3}for(;r[A(1958)]<19;)r[A(1343)][O[r[A(1958)]++]]=0;if(r[A(1128)]=r[A(555)],r[A(1107)]=7,E={bits:r[A(1107)]},x=j(0,r[A(1343)],0,19,r.lencode,0,r[A(1770)],E),r.lenbits=E[A(904)],x){e.msg="invalid code lengths set",r[A(1702)]=30;break}r.have=0,r[A(1702)]=19;case 19:for(;r[A(1958)]<r[A(699)]+r[A(1900)];){for(;g=(S=r[A(1128)][c&(1<<r.lenbits)-1])>>>16&255,m=65535&S,!((_=S>>>24)<=f);){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if(m<16)c>>>=_,f-=_,r.lens[r[A(1958)]++]=m;else{if(16===m){for(C=_+2;f<C;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if(c>>>=_,f-=_,0===r.have){e[A(1020)]="invalid bit length repeat",r.mode=30;break}k=r.lens[r.have-1],d=3+(3&c),c>>>=2,f-=2}else if(17===m){for(C=_+3;f<C;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}k=0,d=3+(7&(c>>>=_)),c>>>=3,f=f-_-3}else{for(C=_+7;f<C;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}k=0,d=11+(127&(c>>>=_)),c>>>=7,f=f-_-7}if(r.have+d>r[A(699)]+r[A(1900)]){e[A(1020)]="invalid bit length repeat",r[A(1702)]=30;break}for(;d--;)r[A(1343)][r.have++]=k}}if(30===r[A(1702)])break;if(0===r.lens[256]){e[A(1020)]=A(1288),r[A(1702)]=30;break}if(r[A(1107)]=9,E={bits:r[A(1107)]},x=j(L,r.lens,0,r[A(699)],r[A(1128)],0,r[A(1770)],E),r[A(1107)]=E.bits,x){e.msg=A(713),r.mode=30;break}if(r[A(1478)]=6,r[A(1007)]=r[A(689)],E={bits:r[A(1478)]},x=j(z,r.lens,r[A(699)],r.ndist,r[A(1007)],0,r[A(1770)],E),r[A(1478)]=E[A(904)],x){e[A(1020)]=A(880),r.mode=30;break}if(r[A(1702)]=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=s&&258<=u){e.next_out=o,e[A(1792)]=u,e.next_in=a,e[A(498)]=s,r[A(860)]=c,r[A(904)]=f,N(e,l),o=e.next_out,i=e[A(2049)],u=e[A(1792)],a=e[A(1920)],n=e[A(1735)],s=e[A(498)],c=r.hold,f=r[A(904)],12===r.mode&&(r.back=-1);break}for(r[A(972)]=0;g=(S=r[A(1128)][c&(1<<r.lenbits)-1])>>>16&255,m=65535&S,!((_=S>>>24)<=f);){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if(g&&0==(240&g)){for(y=_,b=g,w=m;g=(S=r[A(1128)][w+((c&(1<<y+b)-1)>>y)])>>>16&255,m=65535&S,!(y+(_=S>>>24)<=f);){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}c>>>=y,f-=y,r.back+=y}if(c>>>=_,f-=_,r[A(972)]+=_,r[A(512)]=m,0===g){r[A(1702)]=26;break}if(32&g){r[A(972)]=-1,r[A(1702)]=12;break}if(64&g){e.msg="invalid literal/length code",r[A(1702)]=30;break}r[A(760)]=15&g,r[A(1702)]=22;case 22:if(r[A(760)]){for(C=r[A(760)];f<C;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}r[A(512)]+=c&(1<<r[A(760)])-1,c>>>=r[A(760)],f-=r[A(760)],r[A(972)]+=r[A(760)]}r[A(1931)]=r.length,r[A(1702)]=23;case 23:for(;g=(S=r[A(1007)][c&(1<<r[A(1478)])-1])>>>16&255,m=65535&S,!((_=S>>>24)<=f);){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if(0==(240&g)){for(y=_,b=g,w=m;g=(S=r[A(1007)][w+((c&(1<<y+b)-1)>>y)])>>>16&255,m=65535&S,!(y+(_=S>>>24)<=f);){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}c>>>=y,f-=y,r.back+=y}if(c>>>=_,f-=_,r[A(972)]+=_,64&g){e[A(1020)]=A(1609),r[A(1702)]=30;break}r[A(536)]=m,r[A(760)]=15&g,r[A(1702)]=24;case 24:if(r.extra){for(C=r[A(760)];f<C;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}r[A(536)]+=c&(1<<r[A(760)])-1,c>>>=r[A(760)],f-=r.extra,r.back+=r[A(760)]}if(r[A(536)]>r.dmax){e[A(1020)]=A(1579),r[A(1702)]=30;break}r[A(1702)]=25;case 25:if(0===u)break e;if(d=l-u,r[A(536)]>d){if((d=r[A(536)]-d)>r.whave&&r[A(1505)]){e[A(1020)]=A(1579),r[A(1702)]=30;break}v=d>r[A(892)]?(d-=r.wnext,r[A(1155)]-d):r[A(892)]-d,d>r[A(512)]&&(d=r.length),p=r[A(2017)]}else p=i,v=o-r[A(536)],d=r[A(512)];for(u-=d=u<d?u:d,r[A(512)]-=d;i[o++]=p[v++],--d;);0===r[A(512)]&&(r[A(1702)]=21);break;case 26:if(0===u)break e;i[o++]=r.length,u--,r.mode=21;break;case 27:if(r[A(1700)]){for(;f<32;){if(0===s)break e;s--,c|=n[a++]<<f,f+=8}if(l-=u,e[A(647)]+=l,r[A(1457)]+=l,l&&(e[A(1390)]=r[A(951)]=r[A(1889)]?R(r[A(951)],i,l,o-l):P(r.check,i,l,o-l)),l=u,(r.flags?c:M(c))!==r[A(951)]){e[A(1020)]="incorrect data check",r.mode=30;break}f=c=0}r[A(1702)]=28;case 28:if(r[A(1700)]&&r[A(1889)]){for(;f<32;){if(0===s)break e;s--,c+=n[a++]<<f,f+=8}if(c!==(4294967295&r[A(1457)])){e[A(1020)]=A(685),r[A(1702)]=30;break}f=c=0}r[A(1702)]=29;case 29:x=1;break e;case 30:x=-3;break e;case 31:return-4;default:return U}return e.next_out=o,e[A(1792)]=u,e.next_in=a,e.avail_in=s,r[A(860)]=c,r[A(904)]=f,(r[A(1155)]||l!==e[A(1792)]&&r[A(1702)]<30&&(r.mode<27||4!==t))&&K(e,e[A(2049)],e[A(1794)],l-e.avail_out)?(r[A(1702)]=31,-4):(h-=e[A(498)],l-=e[A(1792)],e.total_in+=h,e[A(647)]+=l,r[A(1457)]+=l,r[A(1700)]&&l&&(e[A(1390)]=r[A(951)]=r[A(1889)]?R(r[A(951)],i,l,e[A(1794)]-l):P(r[A(951)],i,l,e.next_out-l)),e.data_type=r[A(904)]+(r[A(1229)]?64:0)+(12===r[A(1702)]?128:0)+(20===r[A(1702)]||15===r[A(1702)]?256:0),x=(0==h&&0===l||4===t)&&x===H?-5:x)},e[t(1589)]=function(e){var t,r=_0x1621;return e&&e[r(1833)]?((t=e[r(1833)])[r(2017)]&&(t[r(2017)]=null),e[r(1833)]=null,H):U},e[t(873)]=function(e,t){var r=_0x1621;return e&&e[r(1833)]&&0!=(2&(e=e[r(1833)]).wrap)?((e[r(865)]=t)[r(1387)]=!1,H):U},e.inflateSetDictionary=function(e,t){var r,n=_0x1621,i=t[n(512)];return e&&e[n(1833)]&&(0===(r=e[n(1833)])[n(1700)]||11===r[n(1702)])?11===r[n(1702)]&&P(1,t,i,0)!==r.check?-3:K(e,t,i,i)?(r[n(1702)]=31,-4):(r[n(1201)]=1,H):U},e[t(567)]=t(1865)}),_e=t(function(e,t){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}}),ge=t(function(e,t){t[X(1924)]=function(){var e=_0x1621;this.text=0,this[e(1370)]=0,this[e(561)]=0,this.os=0,this[e(760)]=null,this[e(504)]=0,this.name="",this[e(1678)]="",this[e(577)]=0,this[e(1387)]=!1}}),me=t(function(e){var l=X,d=pe(),v=$(),p=fe(),_=_e(),n=K(),i=he(),a=ge(),g=Object[l(854)][l(1260)];function o(e){var t=l;if(!(this instanceof o))return new o(e);this.options=v[t(712)]({chunkSize:16384,windowBits:0,to:""},e||{});var r=this[t(1680)],e=(r[t(706)]&&0<=r[t(805)]&&r[t(805)]<16&&(r[t(805)]=-r.windowBits,0===r[t(805)])&&(r[t(805)]=-15),!(0<=r[t(805)]&&r[t(805)]<16)||e&&e[t(805)]||(r[t(805)]+=32),15<r[t(805)]&&r[t(805)]<48&&0==(15&r[t(805)])&&(r.windowBits|=15),this[t(1622)]=0,this[t(1020)]="",this[t(1475)]=!1,this.chunks=[],this.strm=new i,this.strm[t(1792)]=0,d[t(701)](this.strm,r[t(805)]));if(e!==_[t(1796)])throw new Error(n[e]);if(this.header=new a,d[t(873)](this[t(493)],this[t(1182)]),r[t(1148)]&&("string"==typeof r[t(1148)]?r[t(1148)]=p.string2buf(r[t(1148)]):g[t(983)](r[t(1148)])===t(537)&&(r[t(1148)]=new Uint8Array(r.dictionary)),r[t(706)])&&(e=d[t(1424)](this[t(493)],r.dictionary))!==_[t(1796)])throw new Error(n[e])}function r(e,t){var r=l,t=new o(t);if(t[r(774)](e,!0),t[r(1622)])throw t.msg||n[t[r(1622)]];return t[r(1901)]}o[l(854)][l(774)]=function(e,t){var r,n,i,a,o,s=l,u=this[s(493)],c=this[s(1680)][s(731)],f=this.options[s(1148)],h=!1;if(this.ended)return!1;n=t===~~t?t:!0===t?_[s(828)]:_[s(1612)],typeof e==s(496)?u[s(1735)]=p[s(1596)](e):g[s(983)](e)===s(537)?u[s(1735)]=new Uint8Array(e):u[s(1735)]=e,u[s(1920)]=0,u[s(498)]=u[s(1735)][s(512)];do{if(0===u[s(1792)]&&(u.output=new v[s(1501)](c),u[s(1794)]=0,u[s(1792)]=c),(r=(r=d[s(1094)](u,_.Z_NO_FLUSH))===_[s(1064)]&&f?d[s(1424)](this.strm,f):r)===_[s(1276)]&&!0===h&&(r=_[s(1796)],h=!1),r!==_[s(1511)]&&r!==_[s(1796)])return this[s(1630)](r),!(this[s(1475)]=!0)}while(!u[s(1794)]||0!==u[s(1792)]&&r!==_.Z_STREAM_END&&(0!==u.avail_in||n!==_[s(828)]&&n!==_[s(484)])||(this[s(1680)].to===s(496)?(i=p[s(897)](u[s(2049)],u[s(1794)]),a=u.next_out-i,o=p[s(1373)](u[s(2049)],i),u.next_out=a,u[s(1792)]=c-a,a&&v[s(1554)](u[s(2049)],u[s(2049)],i,a,0),this[s(1111)](o)):this.onData(v[s(1196)](u.output,u.next_out))),0===u[s(498)]&&0===u[s(1792)]&&(h=!0),(0<u[s(498)]||0===u[s(1792)])&&r!==_[s(1511)]);return(n=r===_.Z_STREAM_END?_.Z_FINISH:n)===_[s(828)]?(r=d[s(1589)](this[s(493)]),this[s(1630)](r),this[s(1475)]=!0,r===_[s(1796)]):(n===_[s(484)]&&(this.onEnd(_[s(1796)]),u[s(1792)]=0),!0)},o[l(854)][l(1111)]=function(e){this[l(796)].push(e)},o[l(854)][l(1630)]=function(e){var t=l;e===_[t(1796)]&&(this[t(1680)].to===t(496)?this.result=this[t(796)][t(1158)](""):this.result=v[t(1099)](this.chunks)),this[t(796)]=[],this[t(1622)]=e,this[t(1020)]=this.strm[t(1020)]},e[l(1582)]=o,e[l(1094)]=r,e[l(749)]=function(e,t){return(t=t||{})[l(706)]=!0,r(e,t)},e[l(709)]=r}),ye=t(function(e,t){var r=X,n={};(0,$()[r(712)])(n,le(),me(),_e()),t[r(1924)]=n}),be=t(function(e){var n=X,t=("undefined"==typeof Uint8Array?n(1226):_typeof(Uint8Array))<"u"&&(typeof Uint16Array===n(1226)?n(1226):_typeof(Uint16Array))<"u"&&("undefined"==typeof Uint32Array?n(1226):_typeof(Uint32Array))<"u",i=ye(),r=A(),a=S(),o=n(t?804:1619);function s(e,t){var r=n;a.call(this,"FlateWorker/"+e),this[r(966)]=null,this[r(1571)]=e,this[r(759)]=t,this[r(1372)]={}}e.magic="\b\0",r.inherits(s,a),s.prototype[n(1108)]=function(e){var t=n;this[t(1372)]=e.meta,null===this[t(966)]&&this[t(2068)](),this[t(966)][t(774)](r[t(1357)](o,e[t(1018)]),!1)},s[n(854)][n(1098)]=function(){var e=n;a[e(854)][e(1098)].call(this),null===this._pako&&this._createPako(),this[e(966)].push([],!0)},s[n(854)][n(831)]=function(){var e=n;a[e(854)][e(831)][e(983)](this),this[e(966)]=null},s[n(854)][n(2068)]=function(){var t=n,r=(this[t(966)]=new i[this[t(1571)]]({raw:!0,level:this._pakoOptions[t(1003)]||-1}),this);this[t(966)][t(1111)]=function(e){r[t(774)]({data:e,meta:r.meta})}},e[n(1970)]=function(e){return new s(n(579),e)},e[n(648)]=function(){return new s(n(1582),{})}}),we=t(function(e){var t=S();e.STORE={magic:"\0\0",compressWorker:function(e){return new t(_0x1621(1167))},uncompressWorker:function(){return new t(_0x1621(1845))}},e.DEFLATE=be()}),ke=t(function(e){var t=X;e[t(585)]="PK",e[t(1171)]=t(1173),e.CENTRAL_DIRECTORY_END=t(1648),e.ZIP64_CENTRAL_DIRECTORY_LOCATOR=t(1812),e[t(1855)]="PK",e[t(881)]="PK\b"}),xe=t(function(e,t){function y(e,t){for(var r="",n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function i(e,t,r,n,i,a){var o=_0x1621,s=e.file,u=e[o(1388)],c=a!==w[o(1379)],f=b.transformTo(o(496),a(s[o(1771)])),h=b[o(1357)](o(496),w[o(1379)](s[o(1771)])),l=s[o(1678)],a=b.transformTo(o(496),a(l)),d=b[o(1357)](o(496),w[o(1379)](l)),v=h.length!==s.name[o(512)],l=d[o(512)]!==l[o(512)],p="",_=s[o(1077)],g=s[o(2079)],m={crc32:0,compressedSize:0,uncompressedSize:0},r=(t&&!r||(m[o(2012)]=e.crc32,m[o(497)]=e.compressedSize,m[o(1856)]=e.uncompressedSize),0),e=(t&&(r|=8),c||!v&&!l||(r|=2048),0),t=0,g=(_&&(e|=16),i===o(918)?(t=798,e|=(c=s[o(746)],i=_,(65535&(c?c:i?16893:33204))<<16)):(t=20,e|=63&(s[o(1235)]||0)),_=g[o(1590)](),_<<=6,_=(_=(_|g[o(1428)]())<<5)|g[o(1519)]()/2,c=g[o(1273)]()-1980,c=(c=((c<<=4)|g[o(1183)]()+1)<<5)|g[o(1073)](),v&&(i=y(1,1)+y(k(f),4)+h,p+="up"+y(i[o(512)],2)+i),l&&(s=y(1,1)+y(k(a),4)+d,p+="uc"+y(s[o(512)],2)+s),""),g=(g=(g=(g=(g=(g=(g=(g=(g=(g+="\n\0")+y(r,2))+u[o(1499)])+y(_,2))+y(c,2))+y(m[o(2012)],4))+y(m[o(497)],4))+y(m.uncompressedSize,4))+y(f[o(512)],2))+y(p[o(512)],2);return{fileRecord:x[o(585)]+g+f+p,dirRecord:x.CENTRAL_FILE_HEADER+y(t,2)+g+y(a[o(512)],2)+o(1813)+y(e,4)+y(n,4)+f+p+a}}var u=X,b=A(),a=S(),w=D(),k=h(),x=ke();function r(e,t,r,n){var i=_0x1621;a[i(983)](this,"ZipFileWorker"),this[i(762)]=0,this[i(1937)]=t,this.zipPlatform=r,this[i(1364)]=n,this[i(772)]=e,this[i(956)]=!1,this.contentBuffer=[],this[i(1880)]=[],this[i(1658)]=0,this[i(1299)]=0,this[i(2030)]=null,this[i(947)]=[]}b[u(836)](r,a),r.prototype[u(774)]=function(e){var t=u,r=e.meta[t(1862)]||0,n=this[t(1299)],i=this[t(947)][t(512)];this.accumulate?this.contentBuffer.push(e):(this[t(762)]+=e[t(1018)][t(512)],a.prototype[t(774)][t(983)](this,{data:e[t(1018)],meta:{currentFile:this[t(2030)],percent:n?(r+100*(n-i-1))/n:100}}))},r[u(854)].openedSource=function(e){var t=u,r=(this[t(1658)]=this[t(762)],this[t(2030)]=e[t(1990)][t(1771)],this[t(772)]&&!e.file[t(1077)]);r?(e=i(e,r,!1,this[t(1658)],this.zipPlatform,this.encodeFileName),this[t(774)]({data:e[t(1416)],meta:{percent:0}})):this[t(956)]=!0},r[u(854)][u(1088)]=function(e){var t=u,r=(this[t(956)]=!1,this[t(772)]&&!e[t(1990)][t(1077)]),n=i(e,r,!0,this[t(1658)],this.zipPlatform,this[t(1364)]);if(this[t(1880)][t(774)](n[t(502)]),r)this.push({data:(r=e,x[(e=_0x1621)(881)]+y(r[e(2012)],4)+y(r[e(497)],4)+y(r[e(1856)],4)),meta:{percent:100}});else for(this[t(774)]({data:n[t(1416)],meta:{percent:0}});this[t(1241)][t(512)];)this[t(774)](this[t(1241)].shift());this[t(2030)]=null},r[u(854)].flush=function(){for(var e=u,t=this.bytesWritten,r=0;r<this[e(1880)][e(512)];r++)this[e(774)]({data:this.dirRecords[r],meta:{percent:100}});var n,i,a,o=this.bytesWritten-t,s=(n=this.dirRecords[e(512)],o=o,t=t,s=this[e(1937)],i=this[e(1364)],i=b[(a=_0x1621)(1357)]("string",i(s)),x[a(2029)]+a(1813)+y(n,2)+y(n,2)+y(o,4)+y(t,4)+y(i[a(512)],2)+i);this.push({data:s,meta:{percent:100}})},r.prototype.prepareNextSource=function(){var e=u;this.previous=this[e(947)][e(1332)](),this[e(571)](this[e(1481)][e(921)]),this[e(1858)]?this[e(1481)][e(1534)]():this[e(1481)][e(993)]()},r[u(854)][u(1493)]=function(e){var t=u,r=(this[t(947)][t(774)](e),this);return e.on(t(1018),function(e){r[t(1108)](e)}),e.on(t(763),function(){var e=t;r[e(1088)](r.previous[e(921)]),r._sources[e(512)]?r[e(524)]():r[e(763)]()}),e.on("error",function(e){r[t(1859)](e)}),this},r[u(854)].resume=function(){var e=u;return!!a.prototype[e(993)][e(983)](this)&&(!this[e(1481)]&&this[e(947)][e(512)]?(this[e(524)](),!0):this.previous||this._sources[e(512)]||this.generatedError?void 0:(this[e(763)](),!0))},r.prototype[u(1859)]=function(e){var t=u,r=this[t(947)];if(!a.prototype.error[t(983)](this,e))return!1;for(var n=0;n<r[t(512)];n++)try{r[n][t(1859)](e)}catch(e){}return!0},r.prototype.lock=function(){var e=u;a.prototype.lock[e(983)](this);for(var t=this[e(947)],r=0;r<t[e(512)];r++)t[r][e(787)]()},t[u(1924)]=r}),Ee=t(function(e){var h=we(),r=xe();e.generateWorker=function(e,s,t){var u=_0x1621,c=new r(s[u(772)],t,s.platform,s[u(1364)]),f=0;try{e[u(1580)](function(e,t){var r=u,n=(f++,((e,t)=>{var r=_0x1621;if(t=h[e=e||t])return t;throw new Error(e+r(2038))})(t[r(1680)][r(1388)],s.compression)),i=t[r(1680)].compressionOptions||s[r(1348)]||{},a=t[r(1077)],o=t[r(2079)];t[r(1615)](n,i)[r(1369)](r(1990),{name:e,dir:a,date:o,comment:t[r(1678)]||"",unixPermissions:t[r(746)],dosPermissions:t[r(1235)]})[r(737)](c)}),c.entriesCount=f}catch(e){c[u(1859)](e)}return c}}),Ce=t(function(e,t){var i=X,r=A(),n=S();function a(e,t){var r=_0x1621;n.call(this,r(1993)+e),this[r(1170)]=!1,this[r(1433)](t)}r.inherits(a,n),a[i(854)]._bindStream=function(e){var r=i,n=this;(this[r(1177)]=e)[r(1534)](),e.on("data",function(e){n[r(774)]({data:e,meta:{percent:0}})}).on(r(1859),function(e){var t=r;n.isPaused?this[t(617)]=e:n[t(1859)](e)}).on(r(763),function(){var e=r;n.isPaused?n._upstreamEnded=!0:n[e(763)]()})},a[i(854)].pause=function(){var e=i;return!!n[e(854)][e(1534)].call(this)&&(this._stream[e(1534)](),!0)},a.prototype[i(993)]=function(){var e=i;return!!n[e(854)][e(993)][e(983)](this)&&(this[e(1170)]?this[e(763)]():this[e(1177)][e(993)](),!0)},t[i(1924)]=a}),Ae=t(function(e,t){function s(e){var t=_0x1621;return 0<(t=(e="/"===e[t(1049)](-1)?e[t(523)](0,e[t(512)]-1):e).lastIndexOf("/"))?e.substring(0,t):""}function u(e,t){var r=_0x1621;return t=_typeof(t)<"u"?t:h[r(813)],e=m(e),this.files[e]||g[r(983)](this,e,null,{dir:!0,createFolders:t}),this[r(988)][e]}var r=X,a=D(),c=A(),f=S(),o=w(),h=te(),l=O(),d=ae(),v=Ee(),p=b(),_=Ce(),g=function(e,t,r){var n=_0x1621,i=c.getTypeOf(t),a=c.extend(r||{},h),o=(a[n(2079)]=a[n(2079)]||new Date,null!==a[n(1388)]&&(a.compression=a[n(1388)][n(1163)]()),typeof a[n(746)]==n(496)&&(a[n(746)]=parseInt(a[n(746)],8)),a[n(746)]&&16384&a[n(746)]&&(a[n(1077)]=!0),a[n(1235)]&&16&a[n(1235)]&&(a.dir=!0),a.dir&&(e=m(e)),a[n(813)]&&(o=s(e))&&u[n(983)](this,o,!0),i===n(496)&&!1===a[n(1347)]&&!1===a[n(1504)]);(!r||"u"<_typeof(r[n(1347)]))&&(a[n(1347)]=!o);(t instanceof l&&0===t[n(1856)]||a[n(1077)]||!t||0===t.length)&&(a[n(1504)]=!1,a.binary=!0,t="",a[n(1388)]="STORE",n(496));i=null,i=t instanceof l||t instanceof f?t:p.isNode&&p[n(604)](t)?new _(e,t):c[n(1513)](e,t,a[n(1347)],a[n(1203)],a[n(1504)]),r=new d(e,i,a);this.files[e]=r},m=function(e){return"/"!==e[_0x1621(1049)](-1)&&(e+="/"),e};function y(e){var t=_0x1621;return Object[t(854)][t(1260)][t(983)](e)===t(1042)}var n={load:function(){throw new Error(_0x1621(917))},forEach:function(e){var t,r,n,i=_0x1621;for(t in this.files)n=this.files[t],r=t.slice(this[i(948)][i(512)],t[i(512)]),r&&t[i(1049)](0,this[i(948)][i(512)])===this[i(948)]&&e(r,n)},filter:function(r){var n=[];return this[_0x1621(1580)](function(e,t){r(e,t)&&n.push(t)}),n},file:function(e,t,r){var n,i,a=_0x1621;return 1===arguments[a(512)]?y(e)?(n=e,this.filter(function(e,t){return!t[a(1077)]&&n.test(e)})):(i=this[a(988)][this[a(948)]+e])&&!i.dir?i:null:(e=this.root+e,g[a(983)](this,e,t,r),this)},folder:function(r){var e,t,n=_0x1621;return r?y(r)?this[n(1510)](function(e,t){return t.dir&&r.test(e)}):(e=this[n(948)]+r,e=u.call(this,e),(t=this[n(1191)]())[n(948)]=e[n(1771)],t):this},remove:function(n){var i=_0x1621,e=(n=this[i(948)]+n,this.files[n]);if(e||("/"!==n[i(1049)](-1)&&(n+="/"),e=this.files[n]),e&&!e[i(1077)])delete this[i(988)][n];else for(var t=this[i(1510)](function(e,t){var r=i;return t.name[r(1049)](0,n.length)===n}),r=0;r<t[i(512)];r++)delete this[i(988)][t[r][i(1771)]];return this},generate:function(e){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t=_0x1621,r={};try{if((r=c[t(1223)](e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:t(1984),encodeFileName:a[t(1379)]}))[t(898)]=r[t(898)][t(1844)](),r[t(1388)]=r.compression[t(1163)](),r[t(898)]===t(820)&&(r.type=t(496)),!r[t(898)])throw new Error(t(1496));c[t(726)](r[t(898)]),"darwin"!==r[t(1123)]&&r[t(1123)]!==t(1850)&&"linux"!==r[t(1123)]&&"sunos"!==r[t(1123)]||(r[t(1123)]=t(918)),r[t(1123)]===t(1142)&&(r[t(1123)]=t(637));var n=r[t(1678)]||this[t(1678)]||"",i=v[t(1058)](this,r,n)}catch(e){(i=new f(t(1859)))[t(1859)](e)}return new o(i,r[t(898)]||"string",r[t(946)])},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){var r=_0x1621;return(e=e||{})[r(898)]||(e[r(898)]=r(1871)),this[r(1681)](e)[r(740)](t)}};t[r(1924)]=n}),Se=t(function(e,t){var i=X,r=A();function n(e){var t=_0x1621;this[t(1018)]=e,this.length=e[t(512)],this[t(984)]=0,this[t(1932)]=0}n[i(854)]={checkOffset:function(e){var t=i;this[t(723)](this[t(984)]+e)},checkIndex:function(e){var t=i;if(this[t(512)]<this.zero+e||e<0)throw new Error(t(874)+this[t(512)]+t(884)+e+t(1672))},setIndex:function(e){var t=i;this[t(723)](e),this[t(984)]=e},skip:function(e){var t=i;this[t(1290)](this[t(984)]+e)},byteAt:function(e){},readInt:function(e){var t,r=i,n=0;for(this[r(1731)](e),t=this[r(984)]+e-1;t>=this[r(984)];t--)n=(n<<8)+this[r(640)](t);return this[r(984)]+=e,n},readString:function(e){var t=i;return r[t(1357)]("string",this[t(1636)](e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this[i(756)](4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=n}),De=t(function(e,t){var s=X,n=Se();function r(e){var t=_0x1621;n[t(983)](this,e);for(var r=0;r<this[t(1018)][t(512)];r++)e[r]=255&e[r]}A()[s(836)](r,n),r.prototype.byteAt=function(e){var t=s;return this[t(1018)][this[t(1932)]+e]},r[s(854)][s(1225)]=function(e){for(var t=s,r=e[t(2016)](0),n=e[t(2016)](1),i=e[t(2016)](2),a=e[t(2016)](3),o=this.length-4;0<=o;--o)if(this[t(1018)][o]===r&&this.data[o+1]===n&&this[t(1018)][o+2]===i&&this[t(1018)][o+3]===a)return o-this[t(1932)];return-1},r[s(854)][s(1558)]=function(e){var t=s,r=e[t(2016)](0),n=e[t(2016)](1),i=e[t(2016)](2),e=e[t(2016)](3),t=this[t(1636)](4);return r===t[0]&&n===t[1]&&i===t[2]&&e===t[3]},r[s(854)][s(1636)]=function(e){var t,r=s;return this[r(1731)](e),0===e?[]:(t=this[r(1018)].slice(this[r(1932)]+this[r(984)],this.zero+this.index+e),this[r(984)]+=e,t)},t.exports=r}),Oe=t(function(e,t){var n=X,r=Se();function i(e){r.call(this,e)}A().inherits(i,r),i[n(854)][n(640)]=function(e){var t=n;return this[t(1018)][t(2016)](this[t(1932)]+e)},i[n(854)][n(1225)]=function(e){var t=n;return this[t(1018)][t(664)](e)-this[t(1932)]},i[n(854)].readAndCheckSignature=function(e){return e===this[n(1636)](4)},i.prototype.readData=function(e){var t=n,r=(this[t(1731)](e),this.data[t(1049)](this.zero+this[t(984)],this[t(1932)]+this[t(984)]+e));return this[t(984)]+=e,r},t[n(1924)]=i}),Be=t(function(e,t){var r=X,n=De();function i(e){n[_0x1621(983)](this,e)}A()[r(836)](i,n),i[r(854)][r(1636)]=function(e){var t=r;return this.checkOffset(e),0===e?new Uint8Array(0):(t=this[t(1018)][t(715)](this[t(1932)]+this[t(984)],this[t(1932)]+this[t(984)]+e),this.index+=e,t)},t[r(1924)]=i}),Te=t(function(e,t){var n=X,r=Be();function i(e){r.call(this,e)}A()[n(836)](i,r),i[n(854)][n(1636)]=function(e){var t=n,r=(this[t(1731)](e),this[t(1018)][t(1049)](this[t(1932)]+this[t(984)],this.zero+this.index+e));return this[t(984)]+=e,r},t.exports=i}),Fe=t(function(e,t){var n=X,i=A(),a=_(),o=De(),s=Oe(),u=Te(),c=Be();t[n(1924)]=function(e){var t=n,r=i[t(1275)](e);return i[t(726)](r),"string"!==r||a[t(804)]?r===t(1871)?new u(e):a[t(804)]?new c(i[t(1357)](t(804),e)):new o(i.transformTo("array",e)):new s(e)}}),Ie=t(function(e,t){var o=X,n=Fe(),i=A(),a=O(),s=h(),u=D(),c=we(),f=_();function r(e,t){var r=_0x1621;this[r(1680)]=e,this[r(570)]=t}r[o(854)]={isEncrypted:function(){return 1==(1&this[o(1405)])},useUTF8:function(){return 2048==(2048&this[o(1405)])},readLocalPart:function(e){var t,r=o;if(e[r(798)](22),this.fileNameLength=e[r(756)](2),t=e.readInt(2),this[r(1632)]=e[r(1636)](this[r(1602)]),e[r(798)](t),-1===this[r(497)]||-1===this[r(1856)])throw new Error(r(566));if(null===(t=(e=>{var t,r=_0x1621;for(t in c)if(c[r(471)](t)&&c[t].magic===e)return c[t];return null})(this[r(728)])))throw new Error(r(560)+i.pretty(this[r(728)])+r(955)+i[r(1357)](r(496),this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e[r(1636)](this[r(497)]))},readCentralPart:function(e){var t=o,r=(this[t(1326)]=e[t(756)](2),e[t(798)](2),this[t(1405)]=e[t(756)](2),this[t(728)]=e[t(666)](2),this[t(2079)]=e[t(1368)](),this[t(2012)]=e.readInt(4),this.compressedSize=e[t(756)](4),this.uncompressedSize=e[t(756)](4),e.readInt(2));if(this[t(1714)]=e.readInt(2),this[t(1657)]=e[t(756)](2),this.diskNumberStart=e.readInt(2),this[t(589)]=e[t(756)](2),this[t(1022)]=e[t(756)](4),this[t(1375)]=e[t(756)](4),this[t(1035)]())throw new Error(t(1322));e[t(798)](r),this[t(2011)](e),this.parseZIP64ExtraField(e),this[t(1655)]=e[t(1636)](this[t(1657)])},processAttributes:function(){var e=o,t=(this.unixPermissions=null,this.dosPermissions=null,this[e(1326)]>>8);this[e(1077)]=!!(16&this.externalFileAttributes),0==t&&(this[e(1235)]=63&this.externalFileAttributes),3==t&&(this[e(746)]=this[e(1022)]>>16&65535),this[e(1077)]||"/"!==this[e(1121)][e(1049)](-1)||(this[e(1077)]=!0)},parseZIP64ExtraField:function(e){var t,r=o;this.extraFields[1]&&(t=n(this[r(2077)][1][r(1682)]),this[r(1856)]===i[r(1938)]&&(this[r(1856)]=t[r(756)](8)),this.compressedSize===i[r(1938)]&&(this[r(497)]=t[r(756)](8)),this[r(1375)]===i[r(1938)]&&(this[r(1375)]=t.readInt(8)),this[r(1981)]===i[r(1938)])&&(this[r(1981)]=t[r(756)](4))},readExtraFields:function(e){var t,r,n,i=o,a=e[i(984)]+this.extraFieldsLength;for(this[i(2077)]||(this.extraFields={});e.index+4<a;)t=e.readInt(2),r=e[i(756)](2),n=e[i(1636)](r),this[i(2077)][t]={id:t,length:r,value:n};e[i(1290)](a)},handleUTF8:function(){var e,t=o,r=f[t(804)]?t(804):t(1619);this[t(1202)]()?(this[t(1121)]=u[t(750)](this.fileName),this[t(1350)]=u.utf8decode(this[t(1655)])):(null!==(e=this[t(1033)]())?this[t(1121)]=e:(e=i[t(1357)](r,this[t(1632)]),this[t(1121)]=this[t(570)].decodeFileName(e)),null!==(e=this[t(1838)]())?this[t(1350)]=e:(e=i[t(1357)](r,this[t(1655)]),this[t(1350)]=this[t(570)].decodeFileName(e)))},findExtraFieldUnicodePath:function(){var e,t=o,r=this.extraFields[28789];return!r||1!==(e=n(r.value)).readInt(1)||s(this[t(1632)])!==e[t(756)](4)?null:u[t(750)](e[t(1636)](r.length-5))},findExtraFieldUnicodeComment:function(){var e,t=o,r=this.extraFields[25461];return!r||1!==(e=n(r[t(1682)])).readInt(1)||s(this[t(1655)])!==e[t(756)](4)?null:u[t(750)](e.readData(r[t(512)]-5))}},t.exports=r}),Pe=t(function(e,t){var a=X,r=Fe(),n=A(),i=ke(),o=Ie(),s=(D(),_());function u(e){var t=_0x1621;this[t(988)]=[],this[t(570)]=e}u[a(854)]={checkSignature:function(e){var t,r=a;if(!this[r(1323)].readAndCheckSignature(e))throw this[r(1323)][r(984)]-=4,t=this[r(1323)][r(666)](4),new Error("Corrupted zip or bug: unexpected signature ("+n[r(583)](t)+", expected "+n.pretty(e)+")")},isSignature:function(e,t){var r=a,n=this[r(1323)][r(984)];this[r(1323)][r(1290)](e);e=this[r(1323)][r(666)](4)===t;return this.reader.setIndex(n),e},readBlockEndOfCentral:function(){var e=a,t=(this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this[e(1323)].readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this[e(1948)]=this[e(1323)].readInt(2),this[e(2032)]=this[e(1323)][e(756)](4),this[e(1807)]=this[e(1323)][e(756)](4),this[e(1023)]=this[e(1323)][e(756)](2),this[e(1323)][e(1636)](this[e(1023)])),r=s[e(804)]?e(804):e(1619),r=n[e(1357)](r,t);this[e(1937)]=this[e(570)][e(784)](r)},readBlockZip64EndOfCentral:function(){var e=a;this.zip64EndOfCentralSize=this[e(1323)].readInt(8),this.reader[e(798)](4),this[e(910)]=this[e(1323)][e(756)](4),this[e(500)]=this[e(1323)][e(756)](4),this.centralDirRecordsOnThisDisk=this[e(1323)].readInt(8),this[e(1948)]=this[e(1323)][e(756)](8),this[e(2032)]=this[e(1323)].readInt(8),this[e(1807)]=this[e(1323)][e(756)](8),this[e(1187)]={};for(var t,r,n,i=this[e(1598)]-44;0<i;)t=this[e(1323)][e(756)](2),r=this[e(1323)][e(756)](4),n=this.reader.readData(r),this.zip64ExtensibleData[t]={id:t,length:r,value:n}},readBlockZip64EndOfCentralLocator:function(){var e=a;if(this[e(1168)]=this.reader[e(756)](4),this.relativeOffsetEndOfZip64CentralDir=this[e(1323)][e(756)](8),this[e(1893)]=this.reader[e(756)](4),1<this[e(1893)])throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){for(var e,t=a,r=0;r<this[t(988)][t(512)];r++)e=this[t(988)][r],this[t(1323)][t(1290)](e[t(1375)]),this[t(1160)](i[t(585)]),e[t(1603)](this[t(1323)]),e.handleUTF8(),e[t(1307)]()},readCentralDir:function(){var e,t=a;for(this.reader[t(1290)](this[t(1807)]);this[t(1323)].readAndCheckSignature(i[t(1171)]);)(e=new o({zip64:this[t(1015)]},this[t(570)]))[t(1423)](this[t(1323)]),this[t(988)][t(774)](e);if(this[t(1948)]!==this[t(988)].length&&0!==this[t(1948)]&&0===this[t(988)][t(512)])throw new Error(t(795)+this.centralDirRecords+t(924)+this.files[t(512)])},readEndOfCentral:function(){var e=a,t=this[e(1323)][e(1225)](i[e(2029)]);if(t<0)throw!this[e(1585)](0,i[e(585)])?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error(e(1607));this[e(1323)][e(1290)](t);var r=t;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this[e(1531)](),this[e(910)]===n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===n[e(2006)]||this.centralDirRecordsOnThisDisk===n.MAX_VALUE_16BITS||this.centralDirRecords===n.MAX_VALUE_16BITS||this.centralDirSize===n.MAX_VALUE_32BITS||this.centralDirOffset===n.MAX_VALUE_32BITS){if(this[e(1015)]=!0,(t=this[e(1323)].lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this[e(1323)][e(1290)](t),this[e(1160)](i[e(598)]),this[e(944)](),!this[e(1585)](this.relativeOffsetEndOfZip64CentralDir,i[e(1855)])&&(this[e(1546)]=this[e(1323)].lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END),this[e(1546)]<0))throw new Error(e(1157));this[e(1323)].setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(i[e(1855)]),this[e(1968)]()}t=this[e(1807)]+this[e(2032)],t=r-(t=this[e(1015)]?(t+=20)+(12+this[e(1598)]):t);if(0<t)this.isSignature(r,i[e(1171)])||(this.reader[e(1932)]=t);else if(t<0)throw new Error(e(614)+Math.abs(t)+e(1572))},prepareReader:function(e){this[a(1323)]=r(e)},load:function(e){var t=a;this.prepareReader(e),this[t(834)](),this.readCentralDir(),this[t(915)]()}},t[a(1924)]=u}),Re=t(function(e,t){var r=X,n=A(),u=g(),i=D(),c=Pe(),f=ne(),h=b();t[r(1924)]=function(e,a){var o=r,s=this;return a=n.extend(a||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i[o(750)]}),h.isNode&&h[o(604)](e)?u[o(870)][o(1360)](new Error("JSZip can't accept a stream when loading a zip file.")):n[o(1513)](o(1397),e,!0,a[o(1203)],a[o(1504)]).then(function(e){var t=o,r=new c(a);return r[t(856)](e),r})[o(670)](function(e){var t=o,r=[u[t(870)][t(902)](e)],n=e[t(988)];if(a[t(1465)])for(var i=0;i<n.length;i++)r.push((a=>new u.Promise(function(t,r){var n=_0x1621,i=a[n(1089)][n(578)]()[n(737)](new f);i.on("error",function(e){r(e)}).on(n(763),function(){var e=n;i[e(921)][e(2012)]!==a[e(1089)][e(2012)]?r(new Error(e(1668))):t()})[n(993)]()}))(n[i]));return u[t(870)][t(635)](r)})[o(670)](function(e){for(var t=o,e=e[t(1332)](),r=e.files,n=0;n<r[t(512)];n++){var i=r[n];s[t(1990)](i[t(1121)],i[t(1089)],{binary:!0,optimizedBinaryString:!0,date:i.date,dir:i[t(1077)],comment:i[t(1350)].length?i.fileCommentStr:null,unixPermissions:i[t(746)],dosPermissions:i[t(1235)],createFolders:a[t(813)]})}return e[t(1937)].length&&(s[t(1678)]=e[t(1937)]),s})}}),Ne=t(function(e,t){var r=X;function i(){var n=_0x1621;if(!(this instanceof i))return new i;if(arguments[n(512)])throw new Error(n(478));this[n(988)]=Object[n(1046)](null),this[n(1678)]=null,this.root="",this[n(1191)]=function(){var e,t=n,r=new i;for(e in this)typeof this[e]!=t(1282)&&(r[e]=this[e]);return r}}i[r(854)]=Ae(),i[r(854)][r(1306)]=Re(),i[r(739)]=_(),i.defaults=te(),i[r(1743)]="3.7.1",i[r(1306)]=function(e,t){return(new i).loadAsync(e,t)},i[r(506)]=g(),t[r(1924)]=i}),o={},je=o,Le={Command:function(){return ze},jszip:function(){return He[X(1870)]}};for(n in Le)u(je,n,{get:Le[n],enumerable:!0});e.exports=(e=o,i(u({},"__esModule",{value:!0}),e));var o=r(U(),1).default,ze=(o[X(1955)],o[X(2081)],o[X(1988)],o.createOption,o[X(1620)],o[X(2059)],o[X(672)],o[X(1605)]),He=(o.Argument,o[X(1641)],o[X(1249)],r(Ne()))}),Te=zt(function(e,t){var r,n,i=_0x1621,a=i(778),o=i(1669);t[i(1924)]={MAX_SIZE_SSPK:2097152,MAX_SIZE_SPK:20971520,SIGN_MAGIC:i(842),SIGN_MAGIC_APK:i(848),SIGN_TYPE_FULL_PACKAGE:16777473,SIGN_TYPE_FULL_PACKAGE_APK:1896449818,SIGN_TYPE_FILE_LIST:16777729,CRYPT_TYPE_RSA_SHA256:259,SIGN_HEADER:[48,49,48,13,6,9,96,134,72,1,101,3,4,2,1,5,0,4,32],BEGIN_TAG:165,JOINT_TAG:90,CERT_HEAD:i(1675),CERT_END:"\n-----END CERTIFICATE-----",setSignType:function(e){return a=e},isApkSign:function(){return"apk"===a},setDssHost:function(e){return r=e},setDssKey:function(e){return n=e},setDssKeyId:function(e){return o=e},getDssHost:function(){return r},getDssKey:function(){return n},getDssKeyId:function(){return o},setDssConfig:function(e){var t=i;r=e[t(786)],n=e[t(1256)]}}}),gr=zt(function(e,t){var h=Te(),l=22,d=67324752,v=33639248,p=101010256,_=16;t.exports={parserZip:function(e,t){var r,n,i,a,o,s,u,c=_0x1621,f={tag:!1,length:e[c(512)],sections:{header:null,central:null,footer:null}};return f[c(942)].footer=(e=>{var t=_0x1621,r={tag:!1};if(e&&!(e[t(512)]<l))for(var n=e[t(512)]-l;0<=n;n--)if(p===e.readInt32LE(n)){r[t(991)]=!0,r.startIndex=n,r[t(1625)]=e[t(512)]-n,r[t(1481)]=e.readInt32LE(n+_);break}return r})(e),f.sections.footer[c(991)]&&(f[c(942)][c(1219)]=(i=e,a=f[c(942)][c(1194)][c(1481)],o=f.sections[c(1194)][c(1005)]-f[c(942)].footer[c(1481)],s=_0x1621,u={tag:!1},!i||i.length<a||v===i[s(1110)](a)&&(u[s(991)]=!0,u[s(1005)]=a,u.len=o,u[s(1481)]=i[s(1110)](a+42)),u),f[c(942)][c(1219)][c(991)])&&(o=f[c(942)].central[c(1481)],i=f[c(942)].central[c(1005)]-f[c(942)][c(1219)].previous,t&&(f[c(942)].sign=(s=o,a=_0x1621,u={tag:!1},!(t=e)||t[a(512)]<s||(s=h[a(1317)]()?h[a(1656)]:h[a(576)],0<(s=t[a(1584)](s))&&(r=t[a(1110)](s-8),n=s+16-r-8,t[a(1110)](n)===r)&&(u.tag=!0,u[a(1625)]=r,u[a(1005)]=s+16,u[a(1481)]=n)),u),o=0,i=f[c(942)].sign[c(1005)]-f[c(942)].sign[c(1625)]-8),f[c(942)].header=(t=o,r=i,s=_0x1621,a={tag:!1},!(n=e)||n[s(512)]<t||d===n[s(1110)](t)&&(a[s(991)]=!0,a[s(1005)]=t,a[s(1625)]=r,a.previous=-1),a),f[c(942)][c(1182)][c(991)]&&(f[c(991)]=!0)),f},checkZipBuffer:function(e,t){var r=_0x1621;return!e||e.length<=4?(console[r(2056)]("### Sign Failed, cannot open file: ",t),!1):d===e[r(1110)](0)||(console[r(2056)](r(2052),t),!1)}}}),Bn=zt(function(e,t){var u,c=_0x1621,n={};n[c(1383)]=function(e){var t=c;if(void 0===u){var r="= \f\n\r\t \u2028\u2029";for(u=[],o=0;o<64;++o)u[t(507)[t(2054)](o)]=o;for(o=0;o<r[t(512)];++o)u[r[t(2054)](o)]=-1}for(var n=[],i=0,a=0,o=0;o<e[t(512)];++o){var s=e.charAt(o);if("="===s)break;if(-1!==(s=u[s])){if(void 0===s)throw t(776)+o;i|=s,4<=++a?(n[n[t(512)]]=i>>16,n[n[t(512)]]=i>>8&255,n[n[t(512)]]=255&i,a=i=0):i<<=6}}switch(a){case 1:throw"Base64 encoding incomplete: at least 2 bits missing";case 2:n[n.length]=i>>10;break;case 3:n[n[t(512)]]=i>>16,n[n.length]=i>>8&255}return n},n.re=/-----BEGIN [^-]+-----([A-Za-z\d+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z\d+\/=\s]+)====/,n[c(1351)]=function(e){var t=c,r=n.re[t(1650)](e);if(r)if(r[1])e=r[1];else{if(!r[2])throw t(883);e=r[2]}return n[t(1383)](e)},t[c(1924)]=n}),Tn=zt(function(e,t){var c,f=_0x1621,r={};r[f(1383)]=function(e){var t=f;if(void 0===c){var r=t(911),n=t(1789);for(c=[],s=0;s<16;++s)c[r[t(2054)](s)]=s;for(r=r[t(1844)](),s=10;s<16;++s)c[r[t(2054)](s)]=s;for(s=0;s<n[t(512)];++s)c[n.charAt(s)]=-1}for(var i=[],a=0,o=0,s=0;s<e[t(512)];++s){var u=e[t(2054)](s);if("="===u)break;if(-1!==(u=c[u])){if(void 0===u)throw t(776)+s;a|=u,2<=++o?(i[i.length]=a,o=a=0):a<<=4}}if(o)throw t(475);return i},t[f(1924)]=r}),Nn=zt(function(e,t){var a=_0x1621,r={},o=a(1852);r[a(1738)]=function(e,t){var r;void 0===t&&(t=0);t^=-1;for(var n=0,i=e[a(512)];n<i;n++)r=255&(t^e.charCodeAt(n)),t=t>>>8^"0x"+o.substr(9*r,8);return-1^t},t[a(1924)]=r}),mr=zt(function(e,t){var r=_0x1621,n=Bn(),i=Tn(),a=Nn();t[r(1924)]={Base64:n,Hex:i,CRC32:a}}),wr=zt(function(e,t){var c=_0x1621,f=require(c(1746)),h=require(c(1079)),l=Te(),d=require("js-base64")[c(734)];var v={"Content-Type":"application/json"};function a(e){var t,r,n,a=c,o={version:"1",payload:d(e),paddingMode:"1"},e=(new Date)[a(1884)](),i=a(1567),s=(v[i]=(i=o,t=c,r=(new Date).getTime(),i=t(730)+new URL(l[t(1721)]())[t(708)]+"&&"+JSON[t(914)](i)+t(1439)+l[t(1666)]()+t(1e3)+r,n=l[t(1824)](),n=f[t(516)](t(543),n)[t(1184)](i).digest(t(1504)),t(1233).concat(l[t(1666)](),t(1892)).concat(r,t(859))[t(1653)](n,'"')),v[a(1285)]=e,new URL(l[a(1721)]())),u=s.pathname;return new Promise(function(n){var i=a,e=h[i(655)]({host:s[i(1894)],port:8108,method:i(1325),path:u,headers:v},function(e){var t=i,r="";e.on(t(1018),function(e){r+=e}),e.on(t(763),function(){n(JSON[t(858)](r))})});e.on(i(1859),function(e){var t=i;console[t(1859)](t(1292)[t(1653)](e[t(1451)]))}),e[i(538)](JSON[i(914)](o)),e[i(763)]()})}function i(e){return r[c(1954)](this,arguments)}function r(){return(r=_asyncToGenerator(_regenerator().m(function e(r){var n,i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,a(r);case 1:return n=e.v,console[t(2056)](n),i={},e.a(2,(n&&0===n[t(1543)]?(i[t(1269)]=n.result[t(1269)],i[t(1258)]=n[t(1901)][t(1258)]):console[t(1859)]("sign request error:"+(n?n[t(1901)][t(1141)]:"")),i))}},e)}))).apply(this,arguments)}function o(e){var t,r=c;if(e)return t=(e=e[r(840)](/-/g,"+").replace(/_/g,"/")).length%4,e+r(547)[r(523)](0,t)}function n(){var e=c;return(n=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return l[t(1068)](r),e.n=1,i(t(1109));case 1:return n=e.v,n=o(n.cert).replace(/(.{64})/g,t(694)),e.a(2,l[t(1386)]+n+l[t(1029)])}},e)})))[e(1954)](this,arguments)}t[c(1924)]={getSignDigestOnline:i,Base64UrlToBase64:o,setOnlineParam:function(e,t){var r=c;l[r(663)](e),l[r(529)](t)},generateCertificate:function(e){return n.apply(this,arguments)}}}),vr=zt(function(e,t){var k=_0x1621,x=Te(),v=gr(),r=require(k(1759)),n=r[k(980)],p=r[k(631)],u=require(k(1079)),i=require("fs"),_=require(k(1746)),o=mr(),g=wr(),c=k(724),f=k(1762),h=k(1354),l=k(1638),d=k(515);function m(e,t){var r=k,n=t.startIndex,i=t.startIndex+t[r(1625)],e=e[r(1049)](n,i),n=Buffer[r(1487)](5+t[r(1625)]);n[0]=x[r(1951)],n[r(568)](e[r(512)],1),e[r(1804)](n,5),t[r(1518)]=T(n)}function y(e){var t=k;function r(e){var t=_0x1621;e[t(1804)](i,a),a+=e[t(512)]}var e=e[t(942)],n=e.header[t(1518)][t(512)]+e[t(1219)].sign.length+e[t(1194)][t(1518)][t(512)]+5,i=Buffer.alloc(n),a=0;return i.writeInt8(x[t(1186)],0),i[t(568)](3,1),a+=5,r(e[t(1182)].sign),r(e[t(1219)][t(1518)]),r(e[t(1194)][t(1518)]),T(i)}function b(e,t){var r=k,a={keyId:t[r(612)],clientType:c,clientVersion:f,algorithmType:h,userName:t[r(700)],unSignData:n(e),passwordDigest:t.passwordDigest,algorithm:l,outFileNameArray:[d],encryptPassword:t[r(1545)]},o=new URL(t.host),s=o[r(708)];return new Promise(function(n){var i=r,e=u[i(655)]({host:o[i(1894)],method:i(1325),path:s,headers:{"Content-Type":i(1664)}},function(e){var t=i,r="";e.on(t(1018),function(e){r+=e}),e.on(t(763),function(){n(JSON[t(858)](r))})});e.on("error",function(e){var t=i;console.error(t(800).concat(e[t(1451)]))}),e[i(538)](JSON[i(914)](a)),e[i(763)]()})}function w(e){var t=k,r=Buffer[t(765)](x.SIGN_HEADER),e=T(e),n=Buffer[t(1487)](e[t(512)]+r[t(512)]),i=0;return r[t(1804)](n,0),i+=r[t(512)],e[t(1804)](n,i),n}function E(e){var t=k,r=Buffer[t(1487)](e[t(512)]+12);return r[t(568)](e.length+8,0),r.writeInt32LE(x[t(1836)],4),r[t(568)](e.length,8),e.copy(r,12),{len:r[t(512)],buffer:r}}function C(e,t){var r=k,n={len:12,digests:{size:0,data:[]},certs:{size:0,data:[]},additional:0};return n[r(1176)][r(1018)][r(774)](e),n.digests.size+=e[r(1625)],n[r(1625)]+=e[r(1625)],n.certs.data[r(774)](t),n[r(1704)][r(1312)]+=t[r(1625)],n[r(1625)]+=t[r(1625)],n}function A(){var e=k;return(A=_asyncToGenerator(_regenerator().m(function e(r,n){var i,a,o,s,u;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if((i={len:16+n.cert[t(992)][t(512)],size:12+n.cert[t(992)].length,signdata:{size:0,buffer:null},signatures:{size:0,data:[]},pubkey:{size:n[t(1269)][t(992)][t(512)],buffer:n[t(1269)].pemBuffer}})[t(1436)][t(556)]=D(r),i[t(1436)][t(1312)]=r.len,i.size+=r.len,i[t(1625)]+=r[t(1625)],x[t(1317)]())return e.n=1,g[t(895)](i[t(1436)].buffer);e.n=2;break;case 1:a=e.v,a=Buffer.from(p[t(1377)](a.signature)),e.n=8;break;case 2:if(n.type===t(1971))return e.n=3,g.getSignDigestOnline(i[t(1436)].buffer);e.n=4;break;case 3:o=e.v,a=Buffer[t(765)](p[t(1377)](o[t(1258)])),e.n=8;break;case 4:if(n[t(1329)])return o=w(i.signdata[t(556)]),e.n=5,b(o,n[t(1450)]);e.n=7;break;case 5:if((s=e.v).success){e.n=6;break}throw new Error(s[t(1451)]);case 6:a=Buffer[t(765)](p[t(1377)](s.data[t(515)])),e.n=8;break;case 7:(u=_.createSign(t(595)))[t(1184)](i[t(1436)][t(556)]),a=u[t(1518)](n[t(596)]);case 8:return u={len:a[t(512)]+12,size:a[t(512)]+8,id:x.CRYPT_TYPE_RSA_SHA256,buffer:a},e.a(2,(i[t(1834)][t(1018)][t(774)](u),i[t(1834)][t(1312)]+=u[t(1625)],i[t(1312)]+=u[t(1625)],i[t(1625)]+=u.len,i))}},e)})))[e(1954)](this,arguments)}function S(){var e=k;return(S=_asyncToGenerator(_regenerator().m(function e(r,n,i){var a,o,s;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if((a={len:4+n[t(1625)],size:n[t(1625)],data:[]}).data[t(774)](n),o=x.isApkSign()?x[t(1041)]:x.SIGN_TYPE_FULL_PACKAGE,o={len:a.len+12,size:a[t(1625)]+4,id:o,value:a},(a={len:32+o[t(1625)],size:24+o[t(1625)],data:[]})[t(1018)].push(o),r[t(988)]&&!x[t(1317)]())return e.n=1,function(){return B.apply(this,arguments)}(r[t(988)],i);e.n=2;break;case 1:(o=e.v)&&((s={len:4+o[t(512)],size:o[t(512)],data:[]})[t(1018)][t(774)](o),s={len:s[t(1625)]+12,size:s[t(1625)]+4,id:x[t(632)],value:s},a[t(1018)][t(774)](s),a[t(1312)]+=s[t(1625)],a[t(1625)]+=s[t(1625)]);case 2:return e.a(2,a)}},e)})))[e(1954)](this,arguments)}function D(e){var r=k,n=Buffer[r(1487)](e[r(1625)]),i=0;return n.writeInt32LE(e[r(1176)][r(1312)],i),i+=4,e[r(1176)][r(1018)].forEach(function(e){var t=r;e[t(556)][t(1804)](n,i),i+=e[t(1625)]}),n[r(568)](e[r(1704)][r(1312)],i),i+=4,e[r(1704)].data.forEach(function(e){var t=r;e[t(556)][t(1804)](n,i),i+=e[t(1625)]}),n[r(568)](e[r(1172)],i),n}function O(e){var a={len:8,size:4,digests:[],sign:null};return e.forEach(function(e){var t=_0x1621,r=o[t(1045)].digest(e[t(1771)][t(1260)]()),n=6+e[t(2050)][t(512)],i=Buffer[t(1487)](n);i[t(568)](r,0),i[t(1793)](e[t(2050)].length,4),e.hash[t(1804)](i,6),a[t(1176)][t(774)](i),a[t(1312)]+=n,a[t(1625)]+=n}),a}function B(){return(B=_asyncToGenerator(_regenerator().m(function e(o,s){var u,c,f,h,l,d,v;return _regenerator().w(function(e){for(var t,r,n,i,a=_0x1621;;)switch(e.n){case 0:u=O(o),c=Buffer[a(1487)](u.size),f=0,u[a(1176)][a(1580)](function(e){var t=a;e[t(1804)](c,f),f+=e[t(512)]}),s[a(1518)]?(console[a(2056)](a(1712)),h=s[a(1518)],e.n=7):e.n=1;break;case 1:if(s[a(898)]===a(1971))return e.n=2,g.getSignDigestOnline(c);e.n=3;break;case 2:l=e.v,h=Buffer[a(765)](p[a(1377)](l[a(1258)])),e.n=7;break;case 3:if(s[a(1329)])return l=w(c),e.n=4,b(l,s[a(1450)]);e.n=6;break;case 4:if((d=e.v).success){e.n=5;break}throw new Error(d.message);case 5:h=Buffer[a(765)](p[a(1377)](d[a(1018)][a(515)])),e.n=7;break;case 6:(v=_.createSign("RSA-SHA256")).update(c),h=v[a(1518)](s[a(596)]);case 7:return e.a(2,(u[a(1176)]=c[a(1049)](),u.sign={len:12+h[a(512)],size:8+h[a(512)],id:x[a(1836)],data:h},u[a(1625)]+=u[a(1518)].len,t=u,i=n=r=void 0,r=k,n=Buffer[r(1487)](t[r(1625)]),i=0,n[r(568)](t[r(1312)],0),i+=4,t[r(1176)].copy(n,4),i+=t[r(1176)][r(512)],n.writeInt32LE(t[r(1518)][r(1312)],i),i+=4,n.writeInt32LE(t[r(1518)].id,i),i+=4,n[r(568)](t.sign[r(1018)][r(512)],i),i+=4,t.sign[r(1018)][r(1804)](n,i),n))}},e)}))).apply(this,arguments)}function a(){var e=k;return(a=_asyncToGenerator(_regenerator().m(function e(u,c,f){var h,l,d;return _regenerator().w(function(e){for(var t,r,n,i,a,o,s=_0x1621;;)switch(e.n){case 0:if(v[s(1297)](u)){e.n=1;break}return e.a(2,null);case 1:if((h=v[s(491)](u))[s(1680)]={files:c},h[s(991)]){e.n=2;break}return e.a(2,null);case 2:return Object[s(1470)](h.sections)[s(1580)](function(e){e=h[s(942)][e];m(u,e)}),l=y(h),l=E(l),l=C(l,f[s(1269)][s(1952)]),e.n=3,function(){return A[k(1954)](this,arguments)}(l,f);case 3:return l=e.v,e.n=4,function(){return S[k(1954)](this,arguments)}(h[s(1680)],l,f);case 4:return d=e.v,e.a(2,(h[s(1757)]=(e=>{var t=k,i=Buffer[t(1487)](e[t(1625)]),a=0,r=(i[t(568)](e[t(1312)],a),a+=4,i[t(568)](0,a),a+=4,x[t(1317)]()?x[t(1041)]:x[t(729)]),e=(e[t(1018)][t(1580)](function(e){var n=t;i[n(568)](e[n(1312)],a),a+=4,i[n(568)](0,a),a+=4,i[n(568)](e.id,a),a+=4,i[n(568)](e[n(1682)].size,a),a+=4,r===e.id?e[n(1682)][n(1018)][n(1580)](function(e){var r=n;i[r(568)](e.size,a),a+=4,i[r(568)](e.signdata.size,a),a+=4,e[r(1436)].buffer[r(1804)](i,a),a+=e[r(1436)][r(556)].length,i.writeInt32LE(e.signatures[r(1312)],a),a+=4,e[r(1834)].data[r(1580)](function(e){var t=r;i.writeInt32LE(e[t(1312)],a),a+=4,i.writeInt32LE(e.id,a),a+=4,i[t(568)](e[t(556)][t(512)],a),a+=4,e[t(556)][t(1804)](i,a),a+=e.buffer[t(512)]}),i[r(568)](e[r(1404)][r(1312)],a),a+=4,e[r(1404)][r(556)][r(1804)](i,a),a+=e[r(1404)][r(556)].length}):x[n(632)]===e.id&&e[n(1682)][n(1018)][n(1580)](function(e){var t=n;e[t(1804)](i,a),a+=e[t(512)]})}),i.writeInt32LE(e.size,a),a+=4,i[t(568)](0,a),a+=4,x[t(1317)]()?x.SIGN_MAGIC_APK:x[t(576)]);return Buffer[t(765)](e)[t(1804)](i,a),i})(d),t=u,r=h,o=a=i=n=void 0,n=k,i=Buffer[n(1487)](t.length+r[n(1757)].length),a=0,o=r.sections,t[n(1804)](i,0,o.header[n(1005)],o[n(1182)][n(1005)]+o[n(1182)][n(1625)]),a+=o[n(1182)][n(1625)],r.signchunk[n(1804)](i,a),a+=r.signchunk[n(512)],t.copy(i,a,o[n(1219)].startIndex,o[n(1219)][n(1005)]+o[n(1219)].len),a+=o.central[n(1625)],t[n(568)](o[n(1219)][n(1005)]+r[n(1757)].length,o[n(1194)][n(1005)]+16),t.copy(i,a,o[n(1194)][n(1005)],o[n(1194)][n(1005)]+o[n(1194)][n(1625)]),i))}},e)})))[e(1954)](this,arguments)}function s(){var e=k;return(s=_asyncToGenerator(_regenerator().m(function e(r,n,i){var a,o;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(v[t(1297)](r)){e.n=1;break}return e.a(2,null);case 1:if((a=v.parserZip(r))[t(1680)]={files:n},a[t(991)]){e.n=2;break}return e.a(2,null);case 2:return Object.keys(a[t(942)])[t(1580)](function(e){e=a[t(942)][e];m(r,e)}),o=y(a),o=E(o),o=C(o,i.cert[t(1952)]),e.a(2,D(o))}},e)})))[e(1954)](this,arguments)}function T(e){var t=k,r=_[t(1764)](t(1559));return r[t(1184)](e),r[t(1738)]()}function F(e,t){var r=k,n={};return n.size=e.readInt32LE(t),t+=4,n[r(556)]=e[r(1049)](t,t+n[r(1312)]),{obj:n,i:t+=n[r(1312)]}}t[k(1924)]={hashFile:function(e){return T(i[k(1145)](e))},signZipResource:function(e,t,r){return a[k(1954)](this,arguments)},getBufferSha256:T,getSignChunk:function(e,t){for(var r,n,i,a,o,s,u,c=k,f=(w=t[c(1481)]+8)+t[c(1625)],h=[],l={signDataBufList:[]},d=x[c(1317)]()?x[c(1041)]:x[c(729)];w<f;){v=e,o=w,u=s=void 0,(u={})[(s=k)(1312)]=v[s(1110)](o),u.id=v.readInt32LE(o+=8),o+=4,u.value={},u[s(1682)][s(1312)]=v[s(1110)](o),u[s(1682)].data=[];var v={data:u,index:o+=4},p=v[c(1018)],_=(w=v[c(984)])+p[c(1682)][c(1312)],g={};if(d===p.id)for(;w<_;){g[c(1312)]=e[c(1110)](w);var m=F(e,w+=4),y=(g.signdata=m.obj,w=m.i,l.signDataBufList[c(774)](g[c(1436)].buffer),g[c(1834)]={},g[c(1834)][c(1312)]=e[c(1110)](w),(w+=4)+g[c(1834)][c(1312)]);for(g[c(1834)][c(1018)]=[];w<y;){b=e,r=w,a=i=n=void 0,(i={})[(n=k)(1312)]=b[n(1110)](r),r+=4,i.id=b[n(1110)](r),r+=4,a=b[n(1110)](r),r+=4,i[n(556)]=b[n(1049)](r,r+a);var b={sData:i,index:r+=a},w=b.index;g.signatures[c(1018)][c(774)](b[c(1718)])}m=F(e,w);g[c(1404)]=m.obj,w=m.i,p.value[c(1018)][c(774)](g)}else x[c(632)]===p.id&&(g=e[c(1049)](w,w+p[c(1682)].size),p[c(1682)][c(1018)][c(774)](g));h[c(774)](p)}return l.data=h,l.size=t.size,l},getCertBuffer:function(e){var t,r,n=k;if(e)return e[n(888)]&&0<e[n(888)].length?(t=(t=0)+(4+e[n(888)][0][n(1110)](0))+4,r=e[n(888)][0][n(1110)](t),t+=4,e=e[n(888)][0][n(1049)](t,t+r),x.CERT_HEAD+e[n(1260)]("base64")+x[n(1029)]):void 0;console[n(1859)]("no sign chunk!")},getSignFilesObject:O,getSignData:function(e,t,r){return s.apply(this,arguments)}}}),ye=zt(function(N,e){function i(r,n,i,a){var o=u;if(n&&_typeof(n)==o(671)||typeof n==o(1282)){var s,t=_createForOfIteratorHelper(z(n));try{for(t.s();!(s=t.n())[o(1387)];)(()=>{var e=o,t=s[e(1682)];U[e(983)](r,t)||t===i||c(r,t,{get:function(){return n[t]},enumerable:!(a=L(n,t))||a[e(1825)]})})()}catch(e){t.e(e)}finally{t.f()}}return r}function t(e,t,r){var n=u;return r=null!=e?j(H(e)):{},i(!t&&e&&e.__esModule?r:c(r,n(1870),{value:e,enumerable:!0}),e)}var r,u=_0x1621,j=Object[u(1046)],c=Object.defineProperty,L=Object[u(1979)],z=Object[u(1922)],H=Object[u(1180)],U=Object.prototype[u(471)],n={},G=n,a={ASCF_LOG_FILE:function(){return W},AscfBuilder:function(){return rt},AscfDebugger:function(){return tt},getDevEcoSdkHome:function(){return ne},getHdcPath:function(){return m},getHvigorwPath:function(){return g},getLogger:function(){return l},getNodePath:function(){return te},getNpmPath:function(){return re},getOhpmPath:function(){return _},getPath:function(){return p},openInBrowser:function(){return st},setLoggerConfig:function(){return K}};for(r in a)c(G,r,{get:a[r],enumerable:!0});e[u(1924)]=(e=n,i(c({},u(857),{value:!0}),e));var f=t(require(u(1560))),o=t(require(u(1940))),s=t(require(u(1492))),M={isRelease:!0},Z=["debug",u(621),u(1645),u(1859),u(1293)],q=u(1363),W=o.resolve((0,s[u(1870)])(u(1264)),"build.log");function K(e){var t,r=u,e=(t=u,(e=e)&&Z[t(1670)](e[t(1844)]())?e.toLowerCase():t(621));f[r(1828)]({appenders:{default:{type:"stdout",layout:{type:r(1075),pattern:r(1398)}},"debug-log-file":{type:r(540),filename:o.resolve((0,s.default)(r(1264)),r(1785)),maxLogSize:10485760,backups:9,layout:{type:r(1075),pattern:r(1677)}}},categories:{default:{appenders:[r(1870)],level:e},AscfToolkit:{appenders:["debug-log-file"],level:r(1547)}}})}var h,V=_createClass(function e(t){var r=_0x1621;_classCallCheck(this,e),this[r(1991)]=t},[{key:(h=u)(1402),value:function(e,t,r){var n=h,i=3<arguments[n(512)]&&void 0!==arguments[3]&&arguments[3],a="",o=("info"!==e&&(a=function(e){var t=u,r="";if(M[t(696)]){for(var n=arguments[t(512)],i=new Array(1<n?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];i.unshift(e);for(var o=0;o<i[t(512)];o++){var s="";typeof i[o]==t(496)&&(s=i[o]),(s=i[o]instanceof Error?i[o][t(1451)]:s)[t(1808)]("\n")?r+=String(s)[t(937)]("\n")[1]:r+=String(s)[t(937)]("\n")[0]}}return r}[n(1954)](void 0,[t][n(1653)](_toConsumableArray(r)))),f[n(1166)](this[n(1991)])),s=f[n(1166)](q);""!==a?(o[e](a),s[e](a)):(o[e].apply(o,[t][n(1653)](_toConsumableArray(r))),s[e][n(1954)](s,[t].concat(_toConsumableArray(r)))),i&&process[n(837)](1)}},{key:"info",value:function(e){for(var t=h,r=arguments[t(512)],n=new Array(1<r?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this[t(1402)](t(621),e,n)}},{key:h(1645),value:function(e){for(var t=h,r=arguments.length,n=new Array(1<r?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this.doLog(t(1645),e,n)}},{key:h(1547),value:function(e){for(var t=h,r=arguments[t(512)],n=new Array(1<r?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this[t(1402)](t(1547),e,n)}},{key:h(1859),value:function(e){for(var t=h,r=arguments.length,n=new Array(1<r?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this[t(1402)](t(1859),e,n)}},{key:h(1293),value:function(e){for(var t=h,r=arguments[t(512)],n=new Array(1<r?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return this[t(1402)](t(1293),e,n,!0)}}]);function l(e){return new V(e)}function d(){return J[u(1954)](this,arguments)}function J(){var e=u;return(J=_asyncToGenerator(_regenerator().m(function e(t){var r;return _regenerator().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,t;case 1:return r=e.v,e.a(2,{data:r});case 2:return e.p=2,e.a(2,{err:e.v})}},e,null,[[0,2]])})))[e(1954)](this,arguments)}var Y=t(require(u(1079)));var X=require("child_process"),v=t(require("fs")),$=t(require("json5")),Q=t(require(u(1940))),e=(null==(n=process[u(1809)]["DevEco Studio"]||process[u(1809)][u(594)])?void 0:n.split(";")[0][u(1847)]())+u(1851),n=e||u(2046),e=e||u(818),ee=process.platform===u(1142)?e:n;function p(){for(var e=u,t=arguments[e(512)],r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=process[e(1809)][e(1956)],i=i?i+e(1851):ee,i=Q[e(1158)][e(1954)](Q,[i][e(1653)](r));return process[e(1123)]===e(1142)&&i[e(1670)](" ")?'"'[e(1653)](i,'"'):i}function te(){var e=u;return p(e(705),process[e(1123)]===e(1142)?e(2018):"node")}function re(){var e=u;return p("node",process[e(1123)]===e(1142)?e(1784):e(849))}function _(){var e=u;return p(e(716),e(1104),e(716))}function g(){var e=u;return p(e(639),e(1104),e(511))}function ne(){var e=u;return p(e(996))[e(840)](/"/g,"")}function m(){var e=u;return p("../sdk/default/openharmony/toolchains",process.platform===e(1142)?e(657):e(964))}function ie(e){var t=u;return e&&(e[t(512)]<4?"*"[t(1574)](e[t(512)]):e[t(1049)](0,-4)+t(1130))}var y=l(u(964));function ae(e){var n=u;return null==e?void 0:e[n(840)](/--sign-pwd\s+\S+/g,n(747))[n(840)](/-t\s+(\S+)/g,function(e,t){var r=n;return r(1524)[r(1653)](ie(t))})}function oe(e,t,r,n){var i=u,a=(y[i(621)]("begin runCmd",e,ae(null==t?void 0:t[i(1158)](" "))),ne()),a=(y[i(1547)](i(890)+a),Object[i(712)]({shell:!0,env:_objectSpread(_objectSpread({},process[i(1809)]||{}),{},{DEVECO_SDK_HOME:a})},n)),e=(0,X[i(896)])(e,t,a),o=[],s=[];return e[i(1048)].on("data",function(e){var t=i,e=e[t(1260)]().trim();null!=n&&n[t(1415)]||y[t(1547)](t(1096),ae(e)),o[t(774)](e)}),e[i(940)].on(i(1018),function(e){var t=i,e=e[t(1260)]()[t(1847)]();y.error(t(1374),e),s[t(774)](e)}),e.on(i(1047),function(e){var t=i;0!==e?(e=t(1393).concat(e,"."),y[t(1859)](e),null!=r&&r(e+t(1897)+s[t(1158)]("\n"))):(e=o[t(1158)]("\n"),/failed to start ability/[t(1921)](e)?null!=r&&r(t(1908)):(null!=r&&r(null,e),y[t(1547)](t(755))))}),e}function b(){return se.apply(this,arguments)}function se(){var e=u;return(se=_asyncToGenerator(_regenerator().m(function e(t,i,a,o){return _regenerator().w(function(e){for(;;)if(0===e.n)return e.a(2,new Promise(function(r,n){var e=oe(t,i,function(e,t){if(e)return n(e);r(t)},a);null!=o&&o(e)}))},e)})))[e(1954)](this,arguments)}function w(){return ue[u(1954)](this,arguments)}function ue(){var e=u;return(ue=_asyncToGenerator(_regenerator().m(function e(t,r){return _regenerator().w(function(e){for(;;)if(0===e.n)return e.a(2,b(m(),t,r))},e)})))[e(1954)](this,arguments)}function ce(){return(ce=_asyncToGenerator(_regenerator().m(function e(){var r;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,d(w(["list","targets"],{sensitive:!0}));case 1:return r=e.v,e.a(2,r[t(1622)]?(y[t(1859)](t(1198)+r[t(1622)]),[]):null==(r=r[t(1018)])||null==(r=r[t(1847)]())||null==(r=r[t(937)]("\n"))?void 0:r[t(1252)](function(e){return e[t(1847)]()}))}},e)}))).apply(this,arguments)}function fe(){var e=u;return(fe=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,d(w(["-t",r,t(1495),"param","get",t(675)]));case 1:return n=e.v,e.a(2,n[t(1622)]||/(\[Fail\])/.test(n[t(1018)])?(y.error(t(686),n[t(1622)]),t(1608)):null==(n=n[t(1018)])?void 0:n[t(1847)]())}},e)})))[e(1954)](this,arguments)}function k(e){var t,r=u,e=""[r(1653)](e,r(486));if(v[r(553)](e))return t=v[r(1145)](e,"utf-8"),null==(t=$[r(858)](t))||null==(t=t[r(1652)])?void 0:t.bundleName;throw y[r(1859)]("".concat(e," is not found")),new Error("".concat(e," is not found"))}function he(e){var t,r=u,e=""[r(1653)](e,r(769));if(v[r(553)](e))return t=v[r(1145)](e,r(552)),$[r(858)](t);throw y[r(1859)](""[r(1653)](e," is not found")),new Error("".concat(e,r(959)))}function le(){return de[u(1954)](this,arguments)}function de(){var e=u;return(de=_asyncToGenerator(_regenerator().m(function e(r,n){var i,a;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return y.info("start startAbility under "[t(1653)](r)),i=k(r),e.n=1,d(w(["-t",n,t(1495),"aa","force-stop",i]));case 1:return e.n=2,d(w(["-t",n,t(1495),"aa",t(1147),"-a",t(482),"-b",i,"--ps launchMode forceUpdate"]));case 2:if((a=e.v)[t(1622)])return y[t(1859)](t(1593),a[t(1622)]),y[t(1859)](t(1528)),e.a(2);e.n=3;break;case 3:return e.a(2)}},e)})))[e(1954)](this,arguments)}function ve(){var e=u;return(ve=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return y.info("start installDeps under "[t(1653)](r)),e.n=1,d(b(_(),[t(1184)],{chdir:!0,cwd:r}));case 1:(n=e.v)[t(1622)]&&y[t(1859)]("installDeps err",n[t(1622)]);case 2:return e.a(2)}},e)})))[e(1954)](this,arguments)}function pe(){var e=u;return(pe=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return y[t(621)]("start ohpm clean under "[t(1653)](r)),e.n=1,d(b(_(),["clean"],{chdir:!0,cwd:r}));case 1:(n=e.v)[t(1622)]&&y[t(1859)](t(613),n.err);case 2:return e.a(2)}},e)})))[e(1954)](this,arguments)}function _e(){var e=u;return(_e=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return y[t(621)](t(872)[t(1653)](r)),e.n=1,d(b(g(),[t(1448),"--parallel"],{chdir:!0,cwd:r}));case 1:(n=e.v)[t(1622)]&&y[t(1859)](t(575),n[t(1622)]);case 2:return e.a(2)}},e)})))[e(1954)](this,arguments)}var ge,me,x,ye=_createClass(function e(){_classCallCheck(this,e)}),e=_createClass(E,[{key:(x=u)(1923),value:(me=_asyncToGenerator(_regenerator().m(function e(){var r,n,a,i,o=this;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,d(function(){return ce[u(1954)](this,arguments)}());case 1:if((n=e.v)[t(1622)]||null==n||null==(r=n.data)||!r.length||/(\[Empty\])|(\[Fail\])/[t(1921)](null==(r=n.data)?void 0:r[t(1158)]("\n")))return e.a(2,(y[t(1859)]("listTargets error or no devices found"),[]));e.n=2;break;case 2:return y[t(1547)](t(1964),null==(r=n.data)?void 0:r[t(1252)](ie).join("\n")),a=!1,e.n=3,Promise[t(635)](n[t(1018)][t(1252)]((()=>{var t=_asyncToGenerator(_regenerator().m(function e(r){var n,i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(o[t(1125)]&&o[t(1125)].sn===r&&(a=!0),o.cache[t(1912)](r))return e.a(2,o[t(1440)][t(1086)](r));e.n=1;break;case 1:return(n=new ye).sn=r,e.n=2,function(){return fe.apply(this,arguments)}(r);case 2:return i=e.v,e.a(2,(n[t(1771)]=i,o[t(1440)][t(1959)](r,n),n))}},e)}));return function(e){return t.apply(this,arguments)}})()));case 3:return i=e.v,e.a(2,(a||(this[t(1125)]=i[t(512)]?i[0]:null),i))}},e,this)})),function(){return me[_0x1621(1954)](this,arguments)})},{key:x(1673),value:function(){return this[x(1125)]}},{key:x(1903),value:function(e){var t=x;e&&this.cache[t(1912)](e)&&(t=this[t(1440)][t(1086)](e),this.cur=t)}},{key:x(2039),value:(ge=_asyncToGenerator(_regenerator().m(function e(){var r;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,this[t(1923)]();case 1:if(r=null==(r=this.getCurrent())?void 0:r.sn){e.n=2;break}return y[t(1859)]("No devices found, please connet to phone"),e.a(2);case 2:return e.a(2,r)}},e,this)})),function(){return ge.apply(this,arguments)})}],[{key:x(894),value:function(){return E[x(1527)]}}]);function E(){var e=_0x1621;_classCallCheck(this,E),this[e(1440)]=new Map,this.cur=null}e[u(1527)]=new e;var C=e,be=t(require(u(1207)));function we(){var e=u;return(we=_asyncToGenerator(_regenerator().m(function e(o){var s,t,u,r,n=arguments;return _regenerator().w(function(e){for(var a=_0x1621;;)switch(e.p=e.n){case 0:return r=1<n[a(512)]&&void 0!==n[1]?n[1]:{},t=r[a(1067)],s=void 0===t?a(1515):t,t=r[a(638)],u=void 0===t?1e3:t,r=new Promise(function(e,t){function r(){i[_0x1621(1745)](),t()}var n=a,i=new be.Socket;i.once(n(1859),r),i[n(1334)](n(638),r),i.setTimeout(u),i[n(528)](o,s,function(){i[n(763)](),e(o)})}),e.p=1,e.n=2,r;case 2:return e.a(2,!0);case 3:return e.p=3,e.a(2,!1)}},e,null,[[1,3]])})))[e(1954)](this,arguments)}var A=l(u(1949)),S="Please check the following: 1.The device is connected to the computer. 2. The screen is on. 3. Check whether the debugging port is occupied.";function D(){return ke.apply(this,arguments)}function ke(){var e=u;return(ke=_asyncToGenerator(_regenerator().m(function e(o){var t,s,u,n,i,a=arguments;return _regenerator().w(function(e){for(var r=_0x1621;;)switch(e.n){case 0:return s=1<a.length&&void 0!==a[1]&&a[1],u=2<a[r(512)]&&void 0!==a[2]?a[2]:"",e.n=1,d(w(["-t",o,r(720),"ls"]));case 1:(n=e.v)[r(1622)]?(A.error(r(1178),S),i=[],e.n=4):e.n=2;break;case 2:return e.n=3,Promise[r(635)](null==(t=n[r(1018)])?void 0:t[r(1847)]()[r(937)]("\n")[r(1252)]((()=>{var t=_asyncToGenerator(_regenerator().m(function e(r){var n,i,a;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(i=r[t(937)](/\s+/),n=null==(n=i[1])?void 0:n.trim(),i=null==(i=i[2])?void 0:i[t(1847)](),a=s&&n===t(2009)[t(1653)](u))return e.n=1,d(w(["-t",o,t(720),"rm",n,i]));e.n=1;break;case 1:return e.a(2,{localPort:n,remotePort:i,needRm:a})}},e)}));return function(e){return t.apply(this,arguments)}})()));case 3:i=e.v[r(1510)](function(e){var t=r;return e[t(823)]&&!e[t(501)]});case 4:return e.a(2,i)}},e)})))[e(1954)](this,arguments)}function xe(){return Ee[u(1954)](this,arguments)}function Ee(){var e=u;return(Ee=_asyncToGenerator(_regenerator().m(function e(i,a,o){var r,s,n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,D(i);case 1:return r=e.v,s=!1,n=a[t(1847)]()[t(840)](t(2009),""),e.n=2,Promise[t(635)](r[t(1252)]((()=>{var t=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(r[t(823)]&&r[t(830)]){e.n=1;break}return e.a(2);case 1:if(n=!1,r[t(823)]===a&&r[t(830)]===o?s=!0:r[t(823)]!==a&&r[t(830)]!==o||(n=!0),n)return e.n=2,d(w(["-t",i,t(720),"rm",r[t(823)],r[t(830)]]));e.n=2;break;case 2:return e.a(2)}},e)}));return function(e){return t.apply(this,arguments)}})()));case 2:if(s)return A[t(1645)](t(1902)),e.a(2);e.n=3;break;case 3:return e.n=4,function(){return we[u(1954)](this,arguments)}(n);case 4:if(e.v)return A.error("port "[t(1653)](n,t(893))),e.a(2);e.n=5;break;case 5:return e.n=6,d(w(["-t",i,"fport",a,o]));case 6:if(e.v.err)return A[t(1859)](t(929),S),e.a(2);e.n=7;break;case 7:return e.a(2)}},e)})))[e(1954)](this,arguments)}function Ce(){var e=u;return(Ce=_asyncToGenerator(_regenerator().m(function e(t,r){return _regenerator().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,D(t,!0,r);case 1:return e.a(2,e.v)}},e)})))[e(1954)](this,arguments)}var Ae,Se,De,Oe,Be,Te,e=_createClass(function e(){var t=_0x1621;_classCallCheck(this,e),this[t(1698)]=9222,this.v8LocalPort=9229},[{key:(n=u)(2063),value:(Te=_asyncToGenerator(_regenerator().m(function e(r,n){var i,a,o,s;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(s=!r)return e.n=1,C[t(894)]()[t(2039)]();e.n=2;break;case 1:r=e.v,s=!r;case 2:if(s)return e.a(2);e.n=3;break;case 3:return e.n=4,d(w(["-t",r,t(1495),t(952)[t(1653)](n,t(1294))]));case 4:if((a=e.v).err||null==(i=a[t(1018)])||!i.length)return A[t(1859)]("fportWeb get pid error: ",S),e.a(2);e.n=5;break;case 5:return o=null==(i=a.data)||null==(i=i[t(1847)]()[t(937)]("\n"))?void 0:i[0].trim()[t(937)](/\s+/)[1].trim(),e.n=6,d(xe(r,t(2009)+this[t(1698)],t(1038)[t(1653)](o)));case 6:if(e.v[t(1622)])return A[t(1859)](t(1154),S),e.a(2);e.n=7;break;case 7:return e.a(2)}},e,this)})),function(e,t){return Te.apply(this,arguments)})},{key:n(1839),value:(Be=_asyncToGenerator(_regenerator().m(function e(r){var n,i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(i=!r)return e.n=1,C[t(894)]()[t(2039)]();e.n=2;break;case 1:r=e.v,i=!r;case 2:if(n=!i)return e.n=3,d(xe(r,t(2009)+this[t(1456)],t(615)));e.n=4;break;case 3:n=e.v[t(1622)];case 4:if(n)return A[t(1859)](t(1240),S),e.a(2);e.n=5;break;case 5:return e.a(2)}},e,this)})),function(e){return Be.apply(this,arguments)})},{key:"fportRmV8",value:(Oe=_asyncToGenerator(_regenerator().m(function e(r){return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,this[t(971)](r,String(this[t(1456)]));case 1:return e.a(2)}},e,this)})),function(e){return Oe[_0x1621(1954)](this,arguments)})},{key:n(697),value:(De=_asyncToGenerator(_regenerator().m(function e(r){return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,this[t(971)](r,String(this[t(1698)]));case 1:return e.a(2)}},e,this)})),function(e){return De[_0x1621(1954)](this,arguments)})},{key:"fportRm",value:(Se=_asyncToGenerator(_regenerator().m(function e(r,n){var i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(i=!r)return e.n=1,C[t(894)]()[t(2039)]();e.n=2;break;case 1:r=e.v,i=!r;case 2:if(i){e.n=3;break}return e.n=3,function(){return Ce.apply(this,arguments)}(r,n);case 3:return e.a(2)}},e)})),function(e,t){return Se[_0x1621(1954)](this,arguments)})},{key:n(1543),value:(Ae=_asyncToGenerator(_regenerator().m(function e(r){var n,i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(n=!r)return e.n=1,C[t(894)]()[t(2039)]();e.n=2;break;case 1:r=e.v,n=!r;case 2:n?(i=[],e.n=5):e.n=3;break;case 3:return e.n=4,D(r);case 4:i=e.v;case 5:return e.a(2,i)}},e)})),function(e){return Ae[_0x1621(1954)](this,arguments)})}],[{key:n(894),value:function(){return this.instance}}]),O=(e[u(1527)]=new e,e),B=l(u(792)),Fe=u(960);function Ie(){return(Ie=_asyncToGenerator(_regenerator().m(function e(n){var i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:i=[],e.p=1,e.n=2;var r=t(1321)[t(1653)](n,t(1117)),o={timeout:3e3};return new Promise(function(n,i){var a=_0x1621,e=Object[a(712)]({timeout:6e3},o),t=Y.default[a(1086)](r,function(e){var t=a,r="";e.on(t(1018),function(e){r+=e}),e.on(t(763),function(){try{n(JSON.parse(r))}catch(e){i(new Error("Invalid JSON"))}})});t[a(1392)](e[a(638)],function(){var e=a;t[e(1151)](),i(new Error(e(923)))}),t.on(a(1859),i),t[a(763)]()});case 2:i=e.v,e.n=4;break;case 3:e.p=3,B[t(1859)](t(1578),S);case 4:return e.a(2,i)}},e,null,[[1,3]])}))).apply(this,arguments)}function Pe(){return Re[u(1954)](this,arguments)}function Re(){return(Re=_asyncToGenerator(_regenerator().m(function e(r){var n,i,a,o,s;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:if(r){e.n=1;break}return e.a(2,"");case 1:return e.p=1,e.n=2,function(){return Ie[u(1954)](this,arguments)}(r);case 2:if(n=e.v,a=null===n){e.n=3;break}a=void 0===n;case 3:if(i=a){e.n=4;break}i=null==(n=n[0]);case 4:i?(o=void 0,e.n=6):e.n=5;break;case 5:o=n.devtoolsFrontendUrl;case 6:return e.a(2,o);case 7:return e.p=7,s=e.v,B.error("getDebugUrl "[t(1653)](r,t(822)),s),e.a(2,"")}},e,null,[[1,7]])}))).apply(this,arguments)}var Ne,je,Le,ze,He,Ue,Ge,Me,Ze,qe,T,We,Ke,Ve,Je,Ye,Xe,$e,Qe,et,tt=_createClass(function e(t){var r=_0x1621;_classCallCheck(this,e),B.info(r(953),t),this.options=Object[r(712)]({open:""},t)},[{key:"handle",value:function(e){var r=_0x1621,t=this,n=(B.info(r(1521).concat(e)),{status:function(){return t.status()},start:function(){return t.start()},stop:function(){return t.stop()},"start-view":function(){return t[r(2072)]()},"start-service":function(){return t[r(1914)]()},"stop-view":function(){return t[r(1115)]()},"stop-service":function(){return t[r(1281)]()}});n[e]?n[e]()[r(670)](function(){var e=r;return B[e(621)](e(1763))})[r(1358)](function(e){var t=r;return B[t(1859)](t(508),e)}):B[r(1859)](r(531)+Object[r(1470)](n)[r(1158)](","))}},{key:(n=u)(1543),value:(et=_asyncToGenerator(_regenerator().m(function e(){var r,n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return B.info(t(1543)),r=(r=this[t(1680)][t(1739)])||k(process.cwd()),e.n=1,this[t(1311)](r);case 1:if(e.v){e.n=2;break}return e.a(2);case 2:return e.n=3,O[t(894)]()[t(1543)](this[t(1680)].deviceId);case 3:return r=e.v,e.n=4,Promise[t(635)](null==r?void 0:r[t(1252)]((()=>{var t=_asyncToGenerator(_regenerator().m(function e(r){var n,i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:r.localPort!==t(2009)[t(1653)](O.getInstance()[t(1698)])?e.n=1:(n=t(1408),e.n=3);break;case 1:r[t(823)]!=="tcp:"[t(1653)](O.getInstance()[t(1456)])?e.n=2:(n=t(900),e.n=3);break;case 2:return e.a(2);case 3:return e.n=4,Pe(r.localPort.replace(t(2009),""));case 4:return i=e.v,e.a(2,i?(n===t(1408)&&(i=t(1916)),""[t(1653)](n," ")[t(1653)](r[t(823)]," ")[t(1653)](r[t(830)],t(2001))[t(1653)](i)):"")}},e)}));return function(e){return t[_0x1621(1954)](this,arguments)}})()));case 4:0!==(n=(n=e.v)[t(1510)](Boolean))[t(512)]&&B[t(621)](t(1820)+n.join("\n"));case 5:return e.a(2)}},e,this)})),function(){return et.apply(this,arguments)})},{key:"start",value:(Qe=_asyncToGenerator(_regenerator().m(function e(){return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return B[t(621)](t(1147)),e.n=1,this[t(2072)]();case 1:return e.n=2,this[t(1914)]();case 2:return e.a(2)}},e,this)})),function(){return Qe[_0x1621(1954)](this,arguments)})},{key:n(1197),value:($e=_asyncToGenerator(_regenerator().m(function e(){return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return B[t(621)](t(1197)),e.n=1,this[t(1115)]();case 1:return e.n=2,this[t(1281)]();case 2:return e.a(2)}},e,this)})),function(){return $e[_0x1621(1954)](this,arguments)})},{key:n(2072),value:(Xe=_asyncToGenerator(_regenerator().m(function e(){var r;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return B[t(621)](t(2072)),r=(r=this.options.bundleName)||k(process[t(909)]()),e.n=1,this[t(1311)](r);case 1:if(e.v)return e.n=2,O[t(894)]().fportWeb(this.options[t(1446)],r);e.n=3;break;case 2:return e.n=3,this[t(745)](O[t(894)]()[t(1698)],t(1025));case 3:return e.a(2)}},e,this)})),function(){return Xe[_0x1621(1954)](this,arguments)})},{key:n(1914),value:(Ye=_asyncToGenerator(_regenerator().m(function e(){var r;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return B.info("startService"),r=(r=this[t(1680)][t(1739)])||k(process.cwd()),e.n=1,this.checkBundleName(r);case 1:if(e.v)return e.n=2,O[t(894)]()[t(1839)](this[t(1680)][t(1446)]);e.n=3;break;case 2:return e.n=3,this.openBrowser(O[t(894)]()[t(1456)]);case 3:return e.a(2)}},e,this)})),function(){return Ye[_0x1621(1954)](this,arguments)})},{key:n(1115),value:(Je=_asyncToGenerator(_regenerator().m(function e(){return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return B[t(621)](t(1115)),e.n=1,O[t(894)]()[t(697)](this[t(1680)][t(1446)]);case 1:return e.a(2)}},e,this)})),function(){return Je[_0x1621(1954)](this,arguments)})},{key:"stopService",value:(Ve=_asyncToGenerator(_regenerator().m(function e(){return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return B[t(621)](t(1281)),e.n=1,O.getInstance()[t(1703)](this[t(1680)][t(1446)]);case 1:return e.a(2)}},e,this)})),function(){return Ve[_0x1621(1954)](this,arguments)})},{key:n(1311),value:(Ke=_asyncToGenerator(_regenerator().m(function e(r){var n,i,a,o,s,u;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(i=this.options.deviceId,o=!i)return e.n=1,C.getInstance()[t(2039)]();e.n=2;break;case 1:i=e.v,o=!i;case 2:if(o)return e.a(2,!1);e.n=3;break;case 3:return e.n=4,d(w(["-t",i,t(1495),t(1503),r]));case 4:if(n=e.v[t(1018)],s=null===n){e.n=5;break}s=void 0===n;case 5:s?(u=void 0,e.n=7):e.n=6;break;case 6:u=n.trim();case 7:return a=u,e.a(2,(a||B.error(Fe),a))}},e,this)})),function(e){return Ke[_0x1621(1954)](this,arguments)})},{key:n(745),value:(We=_asyncToGenerator(_regenerator().m(function e(r){var n,i,a=arguments;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(n=1<a[t(512)]&&void 0!==a[1]?a[1]:"",B[t(621)]("openBrowser"),this[t(1680)].open)return e.n=1,Pe(r);e.n=3;break;case 1:if(i=e.v){e.n=2;break}return B.info(t(651)),e.a(2);case 2:n&&(i=n),B[t(621)](t(961),i);case 3:return e.a(2)}},e,this)})),function(e){return We[_0x1621(1954)](this,arguments)})}]),F=t(require("fs")),I=t(require(u(1940))),P=l(u(1953)),rt=_createClass(function e(t){var r=_0x1621;_classCallCheck(this,e),this[r(1861)]=[],this[r(1995)]=null,this[r(2053)]=!1,this[r(1680)]=Object[r(712)]({buildMode:"debug",buildTarget:r(597)},t)},[{key:(T=u)(1410),value:function(e){var r=T,t=this,n=(P[r(621)](r(1521)[r(1653)](e)),{start:function(){return t[r(1147)]()},installDeps:function(){return t[r(548)]()},assembleHap:function(){return t[r(1918)]()},installHap:function(){return t[r(1613)]()},assembleAndInstallHap:function(){return t.assembleAndInstallHap()},uninstall:function(){return t[r(1462)]()},clean:function(){return t[r(1448)]()},stop:function(){return t[r(1197)]()}});n[e]?n[e]()[r(670)](function(){var e=r;return P[e(621)](e(1699))}).catch(function(e){var t=r;return P[t(1859)](t(508),e)}):P[r(1859)](r(531)+Object[r(1470)](n)[r(1158)](","))}},{key:"add",value:function(e){var t=T;this[t(1861)][t(774)](e)}},{key:T(1864),value:function(e){var t=T,e=this[t(1861)][t(1584)](e);-1!==e&&this.cpList[t(1606)](e,1)}},{key:T(1197),value:function(){var e=T;this[e(2053)]=!0,this[e(1069)]()}},{key:T(1069),value:function(){for(var e=T;this[e(1861)][e(512)];){var t=this.cpList[e(1279)](),r=(i=n=r=void 0,t),n=u;if(r){var i=process.platform;try{i===n(1142)?(0,X.execSync)(n(1633).concat(r[n(1169)]," /T /F")):"darwin"===i&&r[n(1169)]?process[n(1552)](r.pid):r[n(1552)]()}catch(e){y[n(1859)](n(1484),e)}}}}},{key:T(1925),value:function(){}},{key:T(1315),value:(qe=_asyncToGenerator(_regenerator().m(function e(t,o,s){var u=this;return _regenerator().w(function(e){for(;;)if(0===e.n)return e.a(2,new Promise(function(r,n){var i,a=_0x1621;u[a(2053)]?n(a(2026)):(i=oe(t,o,function(e,t){if(u[a(1864)](i),e)return n(e);r(t)},s),u[a(1913)](i))}))},e)})),function(e,t,r){return qe[_0x1621(1954)](this,arguments)})},{key:"runHdcCmdAsync",value:(Ze=_asyncToGenerator(_regenerator().m(function e(r,n){return _regenerator().w(function(e){for(var t=_0x1621;;)if(0===e.n)return e.a(2,this[t(1315)](m(),r,n))},e,this)})),function(e,t){return Ze[_0x1621(1954)](this,arguments)})},{key:T(1147),value:(Me=_asyncToGenerator(_regenerator().m(function e(){var r,n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(r=this[t(1680)][t(741)],P.info(t(2013)[t(1653)](r)),n=this[t(1680)][t(1446)]){e.n=2;break}return e.n=1,C[t(894)]()[t(2039)]();case 1:n=e.v;case 2:return e.n=3,d(le(r,n));case 3:return e.a(2)}},e,this)})),function(){return Me[_0x1621(1954)](this,arguments)})},{key:T(548),value:(Ge=_asyncToGenerator(_regenerator().m(function e(){var r;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return r=this[t(1680)][t(741)],P[t(621)](t(1407)[t(1653)](r)),e.n=1,d(function(){return ve[u(1954)](this,arguments)}(r));case 1:return e.a(2)}},e,this)})),function(){return Ge[_0x1621(1954)](this,arguments)})},{key:T(1918),value:(Ue=_asyncToGenerator(_regenerator().m(function e(){var t,n,i,a;return _regenerator().w(function(e){for(var r=_0x1621;;)switch(e.n){case 0:return t=this[r(1680)][r(741)],P[r(621)]("start assembleHap under "[r(1653)](t)),n=(new Date)[r(1884)](),F[r(553)](I[r(902)](t,r(1004)))||this[r(548)](),e.n=1,d(this[r(1315)](g(),[r(1476)],{cwd:t}));case 1:return i=null==(i=he(t))||null==(i=i[r(1002)])?void 0:i[r(1252)](function(e){var t=r;return""[t(1653)](e[t(1771)],t(559))}),e.n=2,d(this.runCmdAsync(g(),["-m",r(527),"-p",r(542)[r(1653)](null==i?void 0:i[r(1158)](",")),r(1918),1<i[r(512)]?r(753):"","--parallel",r(602),r(1464),"-p","skipAscfCompile=true"],{chdir:!0,cwd:t}));case 2:(i=e.v)[r(1622)]&&P[r(1859)](r(2075),i[r(1622)]),a=Math[r(920)](((new Date)[r(1884)]()-n)/1e3),P.info(r(866)[r(1653)](a," s"));case 3:return e.a(2)}},e,this)})),function(){return Ue[_0x1621(1954)](this,arguments)})},{key:T(1034),value:(He=_asyncToGenerator(_regenerator().m(function e(r,n){var i,a;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return i="/data/local/tmp/"+((new Date).getTime()+Math[t(920)](1e3*Math.random())),e.n=1,d(this.runHdcCmdAsync(["-t",r,t(1495),t(653),i]));case 1:if((a=e.v)[t(1622)])return P[t(1859)](t(775),a.err),e.a(2);e.n=2;break;case 2:return e.n=3,d(n(i));case 3:return(a=e.v)[t(1622)]&&P[t(1859)](t(2044),a[t(1622)]),e.n=4,d(this[t(2078)](["-t",r,t(1495),"rm","-rf",i]));case 4:return e.a(2)}},e,this)})),function(e,t){return He[_0x1621(1954)](this,arguments)})},{key:"installHap",value:(ze=_asyncToGenerator(_regenerator().m(function e(){var n,r,o,i,s=this;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(n=this[t(1680)].projectRoot,P[t(621)](t(710).concat(n)),r=(new Date)[t(1884)](),o=this[t(1680)].deviceId){e.n=2;break}return e.n=1,C.getInstance()[t(2039)]();case 1:o=e.v;case 2:return e.n=3,d(this.usingTmpDir(o,(()=>{var t=_asyncToGenerator(_regenerator().m(function e(i){var a,t;return _regenerator().w(function(e){for(var r=_0x1621;;)switch(e.n){case 0:return t=null==(t=he(n))||null==(t=t[r(1002)])?void 0:t[r(1252)](function(e){var t=r;return I[t(902)](n,e.srcPath,t(1185)[t(1653)](e[t(1771)],t(1361))[t(1653)]("entry"===e[t(1771)]?"hap":t(891)))}),a=!1,e.n=1,Promise[r(635)](null==t?void 0:t[r(1252)]((()=>{var t=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(F[t(553)](r)){e.n=1;break}return P[t(1859)](t(490),r),a=!0,e.a(2);case 1:return e.n=2,d(s[t(2078)](["-t",o,t(1990),t(1883),r,i]));case 2:(n=e.v).err&&(P.error("send hap error",n[t(1622)]),a=!0);case 3:return e.a(2)}},e)}));return function(e){return t[_0x1621(1954)](this,arguments)}})()));case 1:if(a)return e.a(2);e.n=2;break;case 2:return e.n=3,d(s[r(2078)](["-t",o,"shell","bm",r(1734),"-p",i]));case 3:if((t=e.v).err)return P[r(1859)](r(1453),t[r(1622)]),e.a(2);e.n=4;break;case 4:le(n,o);case 5:return e.a(2)}},e)}));return function(e){return t[_0x1621(1954)](this,arguments)}})()));case 3:i=Math[t(920)](((new Date)[t(1884)]()-r)/1e3),P[t(621)](t(691).concat(i," s"));case 4:return e.a(2)}},e,this)})),function(){return ze.apply(this,arguments)})},{key:"assembleAndInstallHap",value:(Le=_asyncToGenerator(_regenerator().m(function e(){var r;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return this[t(2053)]=!1,e.n=1,C[t(894)]().getDeviceId();case 1:if(e.v){e.n=2;break}return e.a(2);case 2:return e.n=3,d(this[t(1918)]());case 3:if((r=e.v).err)return P[t(1859)](t(1342),r.err),e.a(2);e.n=4;break;case 4:return e.n=5,d(this.installHap());case 5:return e.a(2)}},e,this)})),function(){return Le[_0x1621(1954)](this,arguments)})},{key:"uninstall",value:(je=_asyncToGenerator(_regenerator().m(function e(){var r,n,i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(r=this[t(1680)].projectRoot,P[t(621)](t(481).concat(r)),n=this.options.deviceId){e.n=2;break}return e.n=1,C[t(894)]()[t(2039)]();case 1:n=e.v;case 2:return i=k(r),e.n=3,d(this[t(2078)](["-t",n,t(1462),i]));case 3:if((i=e.v)[t(1622)])return P.error(t(1637),i[t(1622)]),e.a(2);e.n=4;break;case 4:return e.a(2)}},e,this)})),function(){return je[_0x1621(1954)](this,arguments)})},{key:T(1448),value:(Ne=_asyncToGenerator(_regenerator().m(function e(){var t,n;return _regenerator().w(function(e){for(var r=_0x1621;;)switch(e.n){case 0:if(void 0===(t=this[r(1680)].projectRoot))return e.a(2);e.n=1;break;case 1:return e.n=2,function(){return pe[u(1954)](this,arguments)}(t);case 2:return e.n=3,function(){return _e[u(1954)](this,arguments)}(t);case 3:n=I[r(902)](t,r(997),r(790),r(998)),F.rm(n,{recursive:!0,force:!0},function(e){var t=r;e?console[t(1859)](t(926),e):console[t(2056)]("cacheDir removed successfully")});case 4:return e.a(2)}},e,this)})),function(){return Ne[_0x1621(1954)](this,arguments)})}]),R=t(require(u(1244))),nt=require("buffer"),it=t(require(u(603))),at={chrome:{darwin:u(1331),win32:u(1548),linux:[u(1494),u(927),u(1050)]},edge:{darwin:u(1822),win32:u(889),linux:["microsoft-edge","microsoft-edge-dev"]}};function ot(e,t){var r=u,n=R[r(1123)],i=null==(i=at[e])?void 0:i[n];if(!i)throw new Error(""[r(1653)](e,r(1164)));var e=r(1267),a=[],o=[];n===r(1621)?(e=r(1267),o[r(774)]("-a",i),/^(chrome|edge):/i[r(1921)](t)&&o[r(774)]("--allow-file-access-from-files")):n===r(1142)&&(e=""[r(1653)](R.env[r(1442)]||R[r(1809)][r(1102)]||r(1136),r(1872)),o[r(774)]("-NoProfile",r(803),r(643),r(692),r(1056)),n=[r(1435)],i?(n.push(r(1313)[r(1653)](i,'`""')),t&&(a[r(774)]("--disable-web-security","--allow-file-access-from-files"),a[r(774)](t))):t&&n.push('"'[r(1653)](t,'"')),0<a[r(512)]&&(a=a[r(1252)](function(e){var t=r;return t(1313)[t(1653)](e,'`""')}),n[r(774)](r(916),a[r(1158)](","))),t=nt[r(1238)].from(n[r(1158)](" "),r(622)).toString(r(1504))),t&&o[r(774)](t),it[r(896)](e,o)[r(949)]()}function st(t){var r=u,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:r(1548);try{ot(n,t)}catch(e){ot(n===r(1548)?"edge":r(1548),t)}}}),He=zt(function(e,t){var _=_0x1621,c=require(_(1940)),g=require("fs"),m=require(_(1746)),y=Je()[_(1120)],b=vr(),h=require("jsrsasign"),l=mr(),w=gr(),k=vr(),d=wr(),x=(0,ye().getLogger)(_(1684)),u="META-INF/CERT",s="hash.json",E={type:_(1871),compression:_(1482),compressionOptions:{level:9}};function f(){return(f=_asyncToGenerator(_regenerator().m(function e(t,r){var i,a,o;return _regenerator().w(function(e){for(var n=_0x1621;;)switch(e.n){case 0:return i={},t[n(1580)](function(e){var t=n,r=e[t(1340)],e=e[t(1911)];return i[r]=e[t(1260)]("hex")}),(a=new y).file(s,JSON.stringify({algorithm:"SHA-256",digests:i})),e.n=1,a.generateAsync(E);case 1:return a=e.v,o={name:s,hash:b[n(669)](a)},e.n=2,b[n(1143)](a,[o],r);case 2:return e.a(2,e.v)}},e)}))).apply(this,arguments)}function C(){return r[_(1954)](this,arguments)}function r(){var e=_;return(r=_asyncToGenerator(_regenerator().m(function e(t,r){var i,a,o,s;return _regenerator().w(function(e){for(var n=_0x1621;;)switch(e.n){case 0:return i=t[n(976)],a=new y,o=i[n(1252)](function(e){var t=n;return{name:e[t(1340)],hash:e[t(1911)]}}),e.n=1,function(){return f[_(1954)](this,arguments)}(i,r);case 1:return s=e.v,a[n(1990)](u,s),o[n(1263)]({name:u,hash:b[n(669)](s)}),s=Object.assign({},E),i[n(1580)](function(e){var t=n,r=e[t(1340)],e=e.fileContentBuffer;a[t(1990)](r,e)}),e.n=2,a[n(717)](s);case 2:return s=e.v,e.n=3,b[n(1143)](s,o,r);case 3:return e.a(2,e.v)}},e)})))[e(1954)](this,arguments)}function a(){return(a=_asyncToGenerator(_regenerator().m(function e(t,r,i,a,o){var s,u,c,f,h,l,d,v,p;return _regenerator().w(function(e){for(var n=_0x1621;;)switch(e.n){case 0:return e.n=1,C(i,r);case 1:if(s=e.v,a.length){e.n=2;break}return e.a(2,{rpkBuffer:s});case 2:if(u=new y,c=[],f=Object[n(712)]({},E),o[n(1778)]&&o[n(1778)]!==n(1289)){e.n=4;break}return l=a[n(1252)](function(e){return C(e,r)}),e.n=3,Promise.all(l)[n(1358)](function(){new Error(n(1209))});case 3:e.v[n(1580)](function(e,t){var r=n,t=""[r(1653)](a[t][r(2024)]);e[r(512)],u[r(1990)](t,e),c[r(774)]({name:t,hash:b[r(669)](e)})}),e.n=6;break;case 4:return h=a[0],e.n=5,C(h,r)[n(1358)](function(){new Error(n(1209))});case 5:l=e.v,d="".concat(h.pkgName),l[n(512)],u.file(d,l),c[n(774)]({name:d,hash:b.getBufferSha256(l)});case 6:return e.n=7,u[n(717)](f);case 7:return d=e.v,e.n=8,b[n(1143)](d,c,r);case 8:return v=e.v,p=s,e.a(2,{rpksBuffer:v,rpkBuffer:p})}},e)}))).apply(this,arguments)}function n(){var e=_;return(n=_asyncToGenerator(_regenerator().m(function e(r,n){var i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return i=g.readFileSync(n),e.n=1,b[t(1143)](i,[],r);case 1:return i=e.v,e.a(2,{apkBuffer:i})}},e)})))[e(1954)](this,arguments)}function v(e,t,r,n){var i=_;e.fileList[i(774)]({fileBuildPath:t,fileContentBuffer:r,fileContentDigest:n})}function i(e){var t,r,n,i,a,o,s,u=_,e=e[u(1769)](/^(\d{2}|\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(|\.\d+)Z$/);if(e)return o=e[1],s=parseInt(o),2===o[u(512)]&&(50<=s&&s<100?s=1900+s:0<=s&&s<50&&(s=2e3+s)),o=parseInt(e[2])-1,t=parseInt(e[3]),r=parseInt(e[4]),n=parseInt(e[5]),i=parseInt(e[6]),a=0,""!==(e=e[7])&&(e=(e[u(1997)](1)+"00")[u(1997)](0,3),a=parseInt(e)),Date[u(1947)](s,o,t,r,n,i,a);throw new Error("Your certificate is Invalid.")}function A(e,t,r){return o[_(1954)](this,arguments)}function o(){var e=_;return(o=_asyncToGenerator(_regenerator().m(function e(r,n,i){var a,o,s,u,c,f=arguments;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(a={signOnline:null!=i,privateKey:n,onlineConfig:i},(o=3<f.length&&void 0!==f[3]?f[3]:{})&&o[t(786)]&&o[t(1256)])return e.n=1,d[t(678)](o);e.n=2;break;case 1:r=e.v,a[t(898)]=t(1971);case 2:return(o=new h[t(1705)])[t(1153)](r[t(1260)]()),s=h[t(742)][t(738)](o[t(1737)]()),u=Buffer[t(765)](l[t(631)][t(1351)](r)),c=Buffer[t(1487)](u[t(512)]+4),e.a(2,(c.writeInt32LE(u[t(512)],0),u.copy(c,4),a[t(1269)]={content:r,obj:{len:c[t(512)],buffer:c},pemBuffer:Buffer[t(765)](l[t(631)][t(1351)](s))},a))}},e)})))[e(1954)](this,arguments)}function p(e){var t=_,r=new h[t(1705)],e=(r[t(1153)](e),r.getSignatureValueHex()),r=Buffer[t(765)](e,t(1588)).toString(t(1504)),e=k[t(669)](r);return Buffer[t(765)](e)[t(1260)]("hex")}function S(){var e=_;return(S=_asyncToGenerator(_regenerator().m(function e(s){var u,c,f,h,l,d,v,p;return _regenerator().w(function(e){for(var t,r,n,i,a,o=_0x1621;;)switch(e.n){case 0:if(s&&g[o(553)](s)){e.n=1;break}throw new Error(o(782)+s);case 1:if(u=g.readFileSync(s),w[o(1297)](u)){e.n=2;break}throw new Error(o(1474));case 2:if((c=w.parserZip(u,!0)).sections.sign.tag){e.n=3;break}throw new Error("No sign block!");case 3:if(f=k[o(1134)](u,c[o(942)][o(1518)]),h=k.getCertBuffer(f)){e.n=4;break}throw new Error(o(1801));case 4:return l=f[o(1018)][0].value.data[0][o(1834)][o(1018)][0][o(556)],d=[],t=u,a=i=n=void 0,n=_,r=(r=c).sections,i=Buffer[n(1487)](r[n(1182)][n(1625)]+r[n(1219)][n(1625)]+r[n(1194)].len),a=0,t[n(1804)](i,0,r[n(1182)][n(1005)],r[n(1182)][n(1005)]+r[n(1182)][n(1625)]),a+=r[n(1182)][n(1625)],t[n(1804)](i,a,r.central.startIndex,r[n(1219)].startIndex+r.central.len),a+=r.central[n(1625)],t.copy(i,a,r[n(1194)][n(1005)],r[n(1194)][n(1005)]+r[n(1194)][n(1625)]),i[n(568)](r[n(1182)][n(1625)],i.length-6),v=i,e.n=5,A(h);case 5:return p=e.v,e.n=6,b[o(1137)](v,d,p);case 6:p=e.v,m[o(925)]("RSA-SHA256")[o(1184)](p)[o(1697)](h,l)||(x.error(o(2082)),process.exit(-1));case 7:return e.a(2)}},e)})))[e(1954)](this,arguments)}t[_(1924)]={generatePkgDef:function(){var r=_,e=0<arguments[r(512)]&&void 0!==arguments[0]?arguments[0]:[],n=[],t={pkgName:r(662),fileList:[]};return e.forEach(function(e){var t=r,e=e.resource;t(1771);n.push({pkgName:""[t(1653)](e,t(1308)),fileList:[],root:e})}),{mainPkg:{pkgName:"base.spk",fileList:[]},subPkgs:e[r(512)]?[t].concat(n):[t]}},addResourceToPkg:function(e,t,r,s){var u=_;e[u(1580)](function(n){var i,a=u,e=g[a(1145)](c[a(1158)](t,n)),o=[n,e,b[a(669)](e)];v.apply(void 0,[r].concat(o)),s[a(512)]&&(i=!0,s[a(1049)](1).forEach(function(e){var t=a,r=n[t(937)]("/");r[0]===e.root&&(o[0]=r.slice(1)[t(1158)]("/"),v.apply(void 0,[e][t(1653)](o)),i=!1)}),i)&&v[a(1954)](void 0,[s[0]][a(1653)](o))})},signPkgs:function(e,t,r,n,i){return a[_(1954)](this,arguments)},DIGEST_PATH:u,getResources:function(e){var t=_;return function n(i,a){var o=_0x1621,s=[],u=c[o(1542)][o(1158)](i,a);return g[o(1998)](u).forEach(function(e){var t=o,r=c[t(1542)][t(1158)](u,e),e=c.posix[t(1158)](a,e);g[t(623)](r)[t(919)]()?s.push(e):s=s.concat(n(i,e))}),s}(e,".")[t(1510)](function(e){return e!==u})},checkValidity:function(e){(t=new h[(r=_)(1705)])[r(1153)](String(e));var e=i(t[r(1821)]()),t=i(t[r(1724)]()),r=Number(new Date);return{validityDays:Number(e-r)/864e5,isInvalid:0<Number(t)-r}},getSignInfo:A,getApkSignInfo:function(e){var t=_,r={signOnline:!1,onlineConfig:null},n=((n=new h[t(1705)]).readCertPEM(e[t(1260)]()),h[t(742)].getPEM(n.getPublicKey())),i=Buffer[t(765)](l[t(631)].unarmor(e)),a=Buffer[t(1487)](i.length+4);return a[t(568)](i[t(512)],0),i.copy(a,4),r[t(1269)]={content:e,obj:{len:a[t(512)],buffer:a},pemBuffer:Buffer[t(765)](l[t(631)][t(1351)](n))},r},getSignedZipCertFp:function(e){return S.apply(this,arguments)},getCertFp:function(e){var t=_;if(g[t(553)](e))return p(g[t(1145)](e)[t(1260)]());console.error(t(487))},signFullApk:function(e,t){return n[_(1954)](this,arguments)},getCertString:function(e){var t=_;if(!e||!g[t(553)](e))throw new Error(t(1376)+e);if(e=g[t(1145)](e),!w[t(1297)](e))throw new Error("Get File Certificate Error!");var r=w[t(491)](e,!0);if(!r[t(942)][t(1518)][t(991)])throw new Error("No sign block!");if(e=k.getSignChunk(e,r[t(942)][t(1518)]),r=k[t(1624)](e))return p(r);throw new Error(t(1801))}}}),be=zt(function(e,t){var f=_0x1621,h=require(f(1940)),l=require("fs"),n=require(f(1693)),i=require(f(930)),d=require(f(1570)),r=f(1400),a=f(1961),o=f(1975),s=f(882),u=(0,ye()[f(1166)])(f(1165)),c=require(f(603)),v=c.exec,p=c[f(1611)];function _(e){var t,r=f,n=h.resolve(e,r(1725));if(!l[r(553)](n))return h.join(e,"entry");n=g(n);if(0<(null==n||null==(t=n[r(1002)])?void 0:t[r(512)]))return h[r(1158)](e,n.modules[0][r(1319)]);throw new Error(r(975))}function g(t){var r=f;if(!l[r(553)](t))return{};var e={};try{e=n[r(858)](l[r(1145)](t,r(552)).toString()||"{}")}catch(e){throw new Error(r(2073)[r(1653)](t,":")[r(1653)](e[r(932)],":").concat(e[r(1756)]," "))}return e}var m=function(e){var n=f;return Promise[n(635)](e[n(1252)](function(t){var r=n;if(l[r(553)](t))return new Promise(function(e){i[r(1595)](t),e()})}))};function y(){var e=f;return(y=_asyncToGenerator(_regenerator().m(function e(r,n){var i,a,o,s,u,c,f;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,d(r,n);case 1:a=l[t(1998)](n,{withFileTypes:!0}),i=[],a=_createForOfIteratorHelper(a),e.p=2,a.s();case 3:if((f=a.n()).done)e.n=9;else{if(o=f[t(1682)],s=h[t(902)](h[t(1158)](n,o[t(1771)])),u="","base.sspk"===o[t(1771)])return e.n=4,d(s,n);e.n=5}break;case 4:u=h[t(902)](h[t(1158)](n,"META-INF")),e.n=7;break;case 5:return c=o[t(1771)][t(937)](".")[0],e.n=6,d(s,h[t(902)](n,c));case 6:u=h[t(902)](h[t(902)](n,c,t(1627)));case 7:i.push(u),l[t(1943)](s);case 8:e.n=3;break;case 9:e.n=11;break;case 10:e.p=10,f=e.v,a.e(f);case 11:return e.p=11,a.f(),e.f(11);case 12:return e.n=13,m(i);case 13:e.n=15;break;case 14:throw e.p=14,e.v;case 15:return e.a(2)}},e,null,[[2,10,11,12],[0,14]])})))[e(1954)](this,arguments)}t[f(1924)]={RAWFILE_DIR:r,ASCF_BUILD:a,ASCF_CONFIG_JSON:"ascf/ascf_src/ascf.config.json",P12_PATH:"sign/ascf-build.p12",QUICK_SERVICE_BUILD:o,DIST_PATH:s,getManifestData:function(e){return g(h[f(902)](_(e),r,"manifest.json"))},getEntryPkgPath:_,readJsonFile:g,clearResource:m,copyDirectory:function e(t,r){var n,i=f;if(l[i(606)](r,{recursive:!0}),l[i(623)](t)[i(919)]())n=h[i(1158)](r,h.basename(t)),l[i(1628)](t,n);else{var a,o=_createForOfIteratorHelper(l[i(1998)](t,{withFileTypes:!0}));try{for(o.s();!(a=o.n())[i(1387)];){var s=a[i(1682)],u=h[i(902)](h.join(t,s[i(1771)])),c=h[i(1158)](r,s.name);s[i(1692)]()?e(u,c):l.copyFileSync(u,c)}}catch(e){o.e(e)}finally{o.f()}}},mkdirsSync:function e(t){var r=f;if(!l[r(553)](t)){if(l[r(553)](h.dirname(t))||!e(h[r(1747)](t)))return l[r(606)](t);print("mkdirSync err : "[r(1653)](t))}},formatHexString:function(e){var t=f;if(64!==e[t(512)])throw new Error(t(1562));for(var r="",n=0;n<e[t(512)];n+=2)r+=e[t(1997)](n,2)+":";return r[t(1049)](0,-1)[t(1163)]()},extractspk:function(e,t){return y[f(1954)](this,arguments)},deleteDirectory:function r(n){var i=f;l.existsSync(n)&&(l.readdirSync(n)[i(1580)](function(e){var t=i,e=h[t(1158)](n,e);l[t(625)](e)[t(1692)]()?r(e):l[t(1943)](e)}),l[i(1426)](n))},executeCommand:function(a){var o=/^mac verified ok/i;return new Promise(function(t,r){var e,n=_0x1621,i=v(a);null!=(e=i.stdout)&&e.on("data",function(e){u[_0x1621(1547)](e)}),null!=(e=i[n(940)])&&e.on("data",function(e){var t=n;!e[t(1769)](o)&&a.includes(t(1338))&&r(e)}),null!=(e=i[n(940)])&&e.on(n(1859),function(e){r(e)}),i.on(n(1047),function(e){t(e)})})},checkOpenSSL:function(e){var t=f;if(0===(e=p(e,[t(1743)],{encoding:t(552)}))[t(1543)])return u[t(1547)](e.stdout),!0;throw new Error("Please install openssl or configure PATH."+e.stderr)},validatePassword:function(){var e,t=f,r=0<arguments[t(512)]&&void 0!==arguments[0]?arguments[0]:"";return!(r[t(512)]<8)&&(e=0,/[a-z]/.test(r)&&e++,/[A-Z]/[t(1921)](r)&&e++,/[0-9]/[t(1921)](r)&&e++,/[`~!@#$%^&*()\-_=+\\|[{}];:'",<.>\/?]/.test(r)&&e++,2<=e)}}}),Lr=zt(function(e,t){var r=_0x1621,n=require(r(1940)),i=require("os"),a=be()[r(1533)],o=i[r(1123)](),s=(0,ye()[r(1166)])(r(1986)),u=!1;t[r(1924)]={getOpensslPath:function(){var e=r,t=e(1986);return o===e(1142)&&(t=n[e(1158)](__dirname,e(1353))),u||(s.debug(t),u=a(t)),t},getOpensslConfig:function(){var e=r,t="";return t=o===e(1142)?e(1755)[e(1653)](n[e(1158)](__dirname,e(779))):t}}}),Ui=zt(function(N,e){var d,h=_0x1621,f=require(h(1746)),v=require("path"),p=require("fs"),s=Je()[h(1120)],_=He(),t=ye()[h(1166)],r=be(),g=r[h(1396)],m=r.ASCF_BUILD,y=r[h(630)],b=r.copyDirectory,w=r[h(668)],k=r[h(1417)],j=r.readJsonFile,x=r.ASCF_CONFIG_JSON,l=r[h(1539)],L=r[h(1248)],z=r[h(1039)],E=r.executeCommand,C=Lr().getOpensslPath,A=t(h(1438)),c=100,H=1e4,U=0;function S(){return n[h(1954)](this,arguments)}function n(){return(n=_asyncToGenerator(_regenerator().m(function e(r,n){var i,a,o;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return i=v.resolve(r,x),e.n=1,function(){return D[h(1954)](this,arguments)}(n,r,i);case 1:return a=e.v,e.n=2,function(){return u[h(1954)](this,arguments)}(n,r,i);case 2:return o=e.v,e.a(2,_[t(1309)](o,a,d))}},e)}))).apply(this,arguments)}function u(){var e=h;return(u=_asyncToGenerator(_regenerator().m(function e(a,o,s){var u,c,f;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(u="",p[t(553)](a[t(1195)])&&(A[t(1547)](t(1749)),u=p[t(1145)](a[t(1195)])),!u&&p[t(553)](a[t(1335)]))return A[t(1547)](t(1489)),e.n=1,R(a.signProfilePath,I(a[t(1181)]));e.n=2;break;case 1:u=e.v;case 2:u||!p[t(553)](s)?e.n=5:(c=null==(c=JSON.parse(p.readFileSync(s)[t(1260)]()))?void 0:c[t(546)],p[t(553)](null==c?void 0:c[t(1391)])?(A[t(1547)](t(1365)),u=p[t(1145)](c[t(1391)]),e.n=5):e.n=3);break;case 3:if(p[t(553)](null==c?void 0:c[t(1882)]))return A[t(1547)](t(2033)),e.n=4,R(c[t(1882)],I(a[t(1181)]));e.n=5;break;case 4:u=e.v;case 5:if(f=v[t(902)](o,"sign/certificate.pem"),!u&&p[t(553)](f)&&(A[t(1547)](t(1001).concat(f)),u=p[t(1145)](f)),f=v[t(902)](o,l),!u&&p[t(553)](f))return A[t(1547)](t(1909)),e.n=6,R(f,I(a.signPwd));e.n=7;break;case 6:u=e.v;case 7:u||(A.error(t(815)),process.exit(-1)),i=n=r=void 0;var r=u,n=h,i=(r=_[n(1715)](r))[n(1896)],r=r[n(931)];if(i<0||r)throw new Error(n(582));return i<180&&A[n(1645)]("WARNING: Your certificate is valid for less than 180 days. Please update it in time."),e.a(2,u)}},e)})))[e(1954)](this,arguments)}function D(){return(D=_asyncToGenerator(_regenerator().m(function e(r,n,i){var a,o,s;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:if(a="",p[t(553)](r[t(1726)])&&(A.debug("Obtaining a private Key using a Path"),a=p[t(1145)](r[t(1726)])),!a&&p[t(553)](r[t(1335)]))return A.debug(t(1489)),e.n=1,P(r.signProfilePath,I(r[t(1181)]));e.n=2;break;case 1:a=e.v;case 2:a||!p[t(553)](i)?e.n=5:(o=null==(o=JSON[t(858)](p.readFileSync(i)[t(1260)]()))?void 0:o[t(546)],p[t(553)](null==o?void 0:o[t(1848)])?(A[t(1547)](t(684)),a=p[t(1145)](o.privateKeyPath),e.n=5):e.n=3);break;case 3:if(p[t(553)](null==o?void 0:o[t(1882)]))return A[t(1547)]("Obtain the private key from the ascf.config.json profilePath"),e.n=4,P(o[t(1882)],I(r[t(1181)]));e.n=5;break;case 4:a=e.v;case 5:if(s=v.resolve(n,t(928)),!a&&p[t(553)](s)&&(A[t(1547)](t(768).concat(s)),a=p[t(1145)](s)),s=v.resolve(n,l),!a&&p[t(553)](s))return A.debug(t(1461)),e.n=6,P(s,I(r[t(1181)]));e.n=7;break;case 6:a=e.v;case 7:return a||(A.error(t(1618)),process[t(837)](-1)),e.a(2,a)}},e)}))).apply(this,arguments)}function O(){return i.apply(this,arguments)}function i(){var e=h;return(i=_asyncToGenerator(_regenerator().m(function e(o,t,s,u){return _regenerator().w(function(e){for(var t,r,n,i,a=_0x1621;;)if(0===e.n)return e.a(2,(p[a(553)](o)||p[a(606)](o),t=s[a(807)],r=o,i=void 0,(n=u)[(i=h)(512)]>c&&(n=n.slice(0,c)),r=v[i(1158)](r,n),p[i(1284)](r,t),A[i(621)](i(1525)[i(1653)](r)),r))},e)})))[e(1954)](this,arguments)}function B(e){var t=h;if(!e[t(654)]||!e[t(654)][t(1808)](t(2083)))throw new Error("The package in the app.json file cannot be empty and must start with com.atomicservice.");if(!e.versionName||!e[t(1156)])throw new Error(t(1216))}function T(e){var t=h,r=(new Date).toISOString()[t(937)]("T")[0][t(937)]("-")[t(1158)](""),n=process[t(1809)].NODE_ENV===t(1063)?t(1337):"debug";return""[t(1653)](e.package,"-").concat(e.versionCode,"-").concat(n,"-").concat(r,t(1213))}function a(){var e=h;return(a=_asyncToGenerator(_regenerator().m(function e(i,t){var r,a,o,s,u,c,f,h,l;return _regenerator().w(function(e){for(var n=_0x1621;;)switch(e.n){case 0:if(r=v[n(1158)](i,x),(d=(p[n(553)](r)?require(r):{})[n(1518)])&&!d[n(1067)])throw new Error(n(785));e.n=1;break;case 1:return e.n=2,S(i,t);case 2:if(a=e.v){e.n=3;break}throw new Error("ERROR: Failed to obtain the signature configuration information.");case 3:return o=v[n(902)](i,z),s=v[n(902)](i,L),e.n=4,y([s]);case 4:if(B(u=k(i)),c=T(u),null!=(r=u[n(695)])&&r[n(1580)](function(e){var t=n,r=v[t(902)](i,m,e[t(1777)],g);b(r,v[t(902)](s,e[t(1777)]))}),b(v[n(902)](w(i),g),s),h=_[n(1550)](u.subpackages),f=h[n(1429)],h=h[n(520)],(l=0<(l=[])[n(512)]?l:_[n(1973)](s))[n(512)]){e.n=5;break}throw new Error(n(1359));case 5:return e.a(2,(_[n(1053)](l,s,f,h),_.signPkgs("",a,f,h,t).then((()=>{var t=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,O(o,u[t(695)],r,c);case 1:if(n=e.v,u[t(1798)]===t(1337))return e.n=2,F(n);e.n=2;break;case 2:return e.a(2,n)}},e)}));return function(e){return t.apply(this,arguments)}})())))}},e)})))[e(1954)](this,arguments)}function o(){return(o=_asyncToGenerator(_regenerator().m(function e(r,n,i,a){var o,s,u,c,f,h,l;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return o={signPrivateKeyPath:i,signPublicKeyPath:n,disableSubpackages:!1},e.n=1,S("",o);case 1:if(s=e.v,h=v[t(902)](r,"manifest.json"),u=j(h),c=T(u),B(u),h=_[t(1550)](u[t(695)]),f=h[t(1429)],h=h.subPkgs,(l=0<(l=[])[t(512)]?l:_[t(1973)](r)).length){e.n=2;break}throw new Error(t(1359));case 2:_[t(1053)](l,r,f,h),a=null!=a?a:v[t(902)](r,t(2010)),_.signPkgs("",s,f,h,o).then((()=>{var t=_asyncToGenerator(_regenerator().m(function e(r){var n;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,O(a,u.subpackages,r,c);case 1:if(n=e.v,u.versionType===t(1337))return e.n=2,F(n);e.n=2;break;case 2:return e.a(2,n)}},e)}));return function(e){return t.apply(this,arguments)}})());case 3:return e.a(2)}},e)}))).apply(this,arguments)}function F(e){var t=h,r=Te(),o=r.MAX_SIZE_SSPK,r=r[t(1296)];if(p.statSync(e)[t(1312)]>r)throw new Error(t(1934)[t(1653)](r/1024/1024,t(1651)));return new Promise(function(i,a){var n=t;p[n(1935)](e,function(e,t){var r=n;if(e)return a(e);s[r(1306)](t)[r(670)](function(e){var n=null;if(e.forEach(function(e,t){var r=_0x1621;if(H<++U)throw r(1553);!n&&t[r(1062)].compressedSize>o&&(n=new Error(r(879)[r(1653)](o/1024/1024,r(1651))))}),n)return a(n);i()})})})}function I(e){var t=h,e=null!=e?e:process[t(1809)][t(1783)];return e||(A[t(1859)](t(562)),process[t(837)](-1)),e}function P(u,c){return new Promise((r=_asyncToGenerator(_regenerator().m(function e(r,n){var i,a,o,s;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:return A[t(1547)](t(875)),i=f[t(808)](16).toString(t(1588)),a=f.randomBytes(16)[t(1260)](t(1588)),e.p=1,o=""[t(1653)](C()," pkcs12 -in ").concat(u,t(1996))[t(1653)](i,t(469))[t(1653)](c),A[t(1547)](""[t(1653)](C(),t(1449)).concat(u,t(1996))[t(1653)](i," -passin pass:***")),e.n=2,E(o);case 2:return o="".concat(C()," ec -in ")[t(1653)](i,t(522))[t(1653)](a),A[t(1547)](""[t(1653)](C(),t(1381))[t(1653)](i,t(522))[t(1653)](a)),e.n=3,E(o);case 3:return p[t(553)](i)&&p[t(1943)](i),s="",e.a(2,(p[t(553)](a)&&(s=p[t(1145)](a),p.unlinkSync(a)),A.debug(t(1419)),r(s)));case 4:e.p=4,s=e.v,p[t(553)](i)&&p[t(1943)](i),p.existsSync(a)&&p[t(1943)](a),n(t(698)[t(1653)](s));case 5:return e.a(2)}},e,null,[[1,4]])})),function(e,t){return r[_0x1621(1954)](this,arguments)}));var r}function R(s,u){return new Promise((r=_asyncToGenerator(_regenerator().m(function e(r,n){var i,a,o;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:return i=f[t(808)](16)[t(1260)](t(1588)),e.p=1,a=""[t(1653)](C()," pkcs12 -in ").concat(s,t(1011))[t(1653)](u,t(1720))[t(1653)](C(),t(1863))[t(1653)](i),A.debug(""[t(1653)](C(),t(1449))[t(1653)](s,t(1706)).concat(C(),t(1863)).concat(i)),e.n=2,E(a);case 2:if(p[t(553)](i))return a=p[t(1145)](i),e.a(2,(p.unlinkSync(i),r(a)));e.n=3;break;case 3:e.n=5;break;case 4:e.p=4,o=e.v,p.existsSync(i)&&p.unlinkSync(i),n(t(1384)[t(1653)](o));case 5:return e.a(2)}},e,null,[[1,4]])})),function(e,t){return r[_0x1621(1954)](this,arguments)}));var r}e.exports={signSpk:function(e,t){return a[h(1954)](this,arguments)},resignSpk:function(e,t,r,n){return o[h(1954)](this,arguments)}}}),Wi=zt(function(e,t){var i=_0x1621,s=(require("path"),require("fs")),r=ye()[i(1166)],n=be(),u=n.executeCommand,c=n[i(1420)],n=Lr(),f=n[i(1127)],o=n[i(1230)],h=r(i(1210));function a(){var e=i;return(a=_asyncToGenerator(_regenerator().m(function e(r,n){var i,a;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:if(s.existsSync(r)||s.existsSync(n))throw new Error(""[t(1653)](r,t(1842))[t(1653)](n," exists"));e.n=1;break;case 1:return e.p=1,i=""[t(1653)](f(),t(539))[t(1653)](r),h[t(1547)](i),e.n=2,u(i);case 2:return i="".concat(f(),t(554))[t(1653)](r,t(1044))[t(1653)](n,' -days 3650 -sha256 -subj "/CN=ASCF/OU=/O=/L=/ST=/C=CN" ')[t(1653)](o()),h.debug(i),e.n=3,u(i);case 3:e.n=5;break;case 4:e.p=4,a=e.v,h[t(1859)]("Failed to generate cert",a),s[t(553)](tempKeyPath)&&s[t(1943)](tempKeyPath),s[t(553)](tempCertPath)&&s[t(1943)](tempCertPath);case 5:return e.a(2)}},e,null,[[1,4]])})))[e(1954)](this,arguments)}function l(){var e=i;return(l=_asyncToGenerator(_regenerator().m(function e(r,n,i,a){var o;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:if(c(a)){e.n=1;break}throw new Error(t(1072));case 1:if(s[t(553)](r))throw new Error(""[t(1653)](r,t(1888)));e.n=2;break;case 2:return e.p=2,o="".concat(f(),t(1623))[t(1653)](r,t(1906))[t(1653)](n,t(1907))[t(1653)](i,t(1295))[t(1653)](a),h[t(1547)](""[t(1653)](f(),t(1623))[t(1653)](r,t(1906))[t(1653)](n,t(1907)).concat(i,t(736))),e.n=3,u(o);case 3:e.n=5;break;case 4:e.p=4,o=e.v,h.error(t(1012),o),s[t(553)](r)&&s.unlinkSync(r);case 5:return e.a(2)}},e,null,[[2,4]])})))[e(1954)](this,arguments)}t[i(1924)]={genCert:function(e,t){return a[i(1954)](this,arguments)},genP12:function(e,t,r,n){return l[i(1954)](this,arguments)}}}),Zi=zt(function(e){var r=_0x1621,i=require(r(1940)),a=require("decompress"),o=He()[r(1659)],t=be(),s=t[r(630)],u=t[r(1635)];function n(){var e=r;return(n=_asyncToGenerator(_regenerator().m(function e(r,n){return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return n=null!=n?n:i.resolve(i[t(1747)](r),t(2010)),e.n=1,o(r);case 1:return e.n=2,s([n]);case 2:return e.n=3,a(r,n);case 3:u(i.resolve(n,t(1627)));case 4:return e.a(2)}},e)})))[e(1954)](this,arguments)}e[r(611)]=function(e,t){return n[r(1954)](this,arguments)}}),Xi=zt(function(e,t){var d=_0x1621,g=require("fs"),m=require(d(1940)),a=Je().jszip,r=be(),y=r.mkdirsSync,v=r[d(1243)],p=r[d(630)],b=He(),o=d(887),w="";function _(){var e=d;return(_=_asyncToGenerator(_regenerator().m(function e(r,n,i,a){var o,s,u,c,f,h,l,d,v,p,_;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return y(n),o=r[t(654)],s=r[t(1798)],u=r[t(1156)],v=a[t(1413)],f=a[t(1830)],f=g.readFileSync(f),v=g.readFileSync(v),e.n=1,b.getSignInfo(f,v);case 1:if(c=e.v,f=b[t(1550)](r[t(695)]),h=f[t(1429)],l=f.subPkgs,(d=0<(d=[])[t(512)]?d:b[t(1973)](i))[t(512)]){e.n=2;break}throw new Error(t(1359));case 2:return b[t(1053)](d,i,h,l),e.n=3,b[t(886)](o,c,h,l,{disableSubpackages:!1});case 3:v=e.v,p=v.rpksBuffer,_=(new Date)[t(711)]().split("T")[0][t(937)]("-")[t(1158)](""),w=m[t(1158)](n,""[t(1653)](o,"-").concat(u,"-")[t(1653)](s,"-")[t(1653)](_,t(1213))),g[t(1284)](w,p);case 4:return e.a(2)}},e)})))[e(1954)](this,arguments)}function k(){var e=d;return(k=_asyncToGenerator(_regenerator().m(function e(r){var n,i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.n){case 0:return e.n=1,(new a)[t(1306)](g.readFileSync(r));case 1:if((n=e.v)[t(988)][t(662)]){e.n=2;break}throw new Error("Can not resolve base.sspk file.");case 2:return e.n=3,n[t(988)][t(662)][t(605)]("nodebuffer");case 3:return i=e.v,e.n=4,(new a)[t(1306)](i);case 4:return e.n=5,e.v[t(1990)](o)[t(605)](t(496));case 5:return i=e.v,e.a(2,JSON.parse(i)||{})}},e)})))[e(1954)](this,arguments)}t[d(1924)]={spkHandler:function(u,c,f,h,l){return new Promise((r=_asyncToGenerator(_regenerator().m(function e(n,i){var a,o,s;return _regenerator().w(function(e){for(var t,r=_0x1621;;)switch(e.n){case 0:if(g[r(553)](u)){e.n=1;break}return e.a(2,i(new Error(r(1557)[r(1653)](u))));case 1:if(g[r(553)](c)){e.n=2;break}return e.a(2,i(new Error(r(645).concat(c))));case 2:if(g[r(553)](f)){e.n=3;break}return e.a(2,i(new Error(r(1411).concat(f))));case 3:return e.n=4,function(){return k[d(1954)](this,arguments)}(u);case 4:if(a=e.v,t=a,0===Object[d(1470)](t).length)return e.a(2,i(new Error(r(1520))));e.n=5;break;case 5:return o=a[r(654)],s=m.dirname(u),s=m[r(1158)](s,o),o=m[r(1158)](null!=h?h:s,"quick-service-build"),s=m[r(1158)](null!=h?h:s,r(2010)),e.n=6,p([o,s]);case 6:return y(o),e.n=7,v(u,o);case 7:return a.versionType=null!=l?l:a[r(1798)],g[r(1284)](m[r(902)](o,"manifest.json"),JSON[r(914)](a,null,2)),e.n=8,function(){return _[d(1954)](this,arguments)}(a,s,o,{privateKeyFilePath:f,certFilePath:c});case 8:return e.a(2,n(w))}},e)})),function(e,t){return r[_0x1621(1954)](this,arguments)}));var r}}}),_Ui=Ui(),jl=_Ui[_0x49aa58(1054)],Hl=_Ui[_0x49aa58(968)],_Wi=Wi(),$l=_Wi[_0x49aa58(978)],Ml=_Wi[_0x49aa58(1535)],_be6=be(),ql=_be6[_0x49aa58(945)],_Zi=Zi(),Ul=_Zi[_0x49aa58(611)],_ye6=ye(),Vl=_ye6[_0x49aa58(1166)],_Xi=Xi(),Wl=_Xi[_0x49aa58(1600)],_He2=He(),Kl=_He2.getCertString,jt=Vl("index");function Zl(e,t){return _Zl.apply(this,arguments)}function _Zl(){var e=_0x49aa58;return(_Zl=_asyncToGenerator(_regenerator().m(function e(r,n){var i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:return e.p=0,jt.info(t(885)),e.n=1,jl(r,n);case 1:return i=e.v,e.a(2,(jt[t(621)](t(624)),i));case 2:e.p=2,i=e.v,jt[t(1293)](t(600)+i),process.exit(-1);case 3:return e.a(2)}},e,null,[[0,2]])})))[e(1954)](this,arguments)}function Gl(e,t,r,n){return _Gl[_0x49aa58(1954)](this,arguments)}function _Gl(){var e=_0x49aa58;return(_Gl=_asyncToGenerator(_regenerator().m(function e(r,n,i,a){var o;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:return e.p=0,jt[t(621)](t(1930)),e.n=1,Hl(r,n,i,a);case 1:jt[t(621)](t(624)),e.n=3;break;case 2:e.p=2,o=e.v,jt[t(1293)](t(600)+o),process[t(837)](-1);case 3:return e.a(2)}},e,null,[[0,2]])})))[e(1954)](this,arguments)}function Jl(e,t){return _Jl[_0x49aa58(1954)](this,arguments)}function _Jl(){var e=_0x49aa58;return(_Jl=_asyncToGenerator(_regenerator().m(function e(r,n){var i;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:return e.p=0,jt.info(t(525)),e.n=1,Ul(r,n);case 1:jt[t(621)](t(1752)),e.n=3;break;case 2:e.p=2,i=e.v,jt[t(621)](t(1040),i),process.exit(-1);case 3:return e.a(2)}},e,null,[[0,2]])})))[e(1954)](this,arguments)}function _0x1621(e,t){var r=_0x4b6b();return(_0x1621=function(e,t){return r[e-=468]})(e,t)}function Yl(e,t,r,n,i){return _Yl[_0x49aa58(1954)](this,arguments)}function _Yl(){return(_Yl=_asyncToGenerator(_regenerator().m(function e(r,n,i,a,o){var s;return _regenerator().w(function(e){for(var t=_0x1621;;)switch(e.p=e.n){case 0:return e.p=0,jt.info(t(1946)),e.n=1,Wl(r,n,i,a,o);case 1:s=e.v,jt.info(t(845)+s),e.n=3;break;case 2:e.p=2,s=e.v,jt[t(1293)](t(628)+s),process[t(837)](-1);case 3:return e.a(2)}},e,null,[[0,2]])}))).apply(this,arguments)}function Xl(e){var t=_0x49aa58;try{jt.info(t(1458));var r=Kl(e),n=ql(r);jt[t(621)](t(634)+n)}catch(e){jt[t(1293)](t(780)+e),process[t(837)](-1)}}process.on(_0x49aa58(587),function(e){var t=_0x49aa58;jt.error(t(1031),e)}),process.on(_0x49aa58(609),function(e,t){var r=_0x49aa58;jt[r(1859)](r(1818),t,"reason:",e)}),module[_0x49aa58(1924)]={signPkg:Zl,resignPkg:Gl,verifySign:Jl,repackHandler:Yl,printFp:Xl,genCert:$l,genP12:Ml};