@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
package/lib/bin/ascf.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function _0x52bd(r,e){var o=_0x2a8f();return(_0x52bd=function(r,e){return o[r-=478]})(r,e)}var _0x450b80=_0x52bd,_require=((()=>{for(var r=_0x52bd,e=_0x2a8f();;)try{if(695631==+parseInt(r(503))+parseInt(r(498))/2+-parseInt(r(492))/3+parseInt(r(491))/4*(parseInt(r(485))/5)+parseInt(r(512))/6+-parseInt(r(501))/7*(parseInt(r(482))/8)+parseInt(r(506))/9*(-parseInt(r(494))/10))break;e.push(e.shift())}catch(r){e.push(e.shift())}})(),require(_0x450b80(488))),Command=_require[_0x450b80(514)],pkg=require(_0x450b80(508)),_require2=require(_0x450b80(487)),setLoggerConfig=_require2[_0x450b80(507)],convertCmd=require(_0x450b80(489)),compileCmd=require(_0x450b80(493)),buildNpmCmd=require(_0x450b80(480)),debuggerCmd=require("../commands/debugger"),ascfbuildCmd=require("../commands/ascfbuild"),quickserviceCmd=require("../commands/quickservice"),_require3=require("../common/constants.js"),BUILD_TARGET_QS=_require3.BUILD_TARGET_QS;function _0x2a8f(){var r=["option","version","992340lvdWDS","preAction","--debug","2069018xRvgyz","parse","1220612FMeCAo","debug","ascf toolkit convert and compile ascf project","1224495DPrORk","setLoggerConfig","../../package.json","includes","--targets","argv","4482726JHVuGV","logging","Command","_ascfDebug","opts","../commands/build-npm","Setting the log level","8JLRTkC","slice","forEach","3750280iyDCDw","--logging [level]","../common/log4js.js","commander","../commands/convert","hook","4FszLKE","3811107KWlNwm","../commands/compile","70CMcVLt","_ascfCliProgram"];return(_0x2a8f=function(){return r})()}global._supportLegacyHos=((r,e)=>{var o=_0x450b80,n=r.indexOf(o(510));return-1!==n&&(null==(e=r[n+1])?void 0:e[o(509)](BUILD_TARGET_QS))})(process[_0x450b80(511)][_0x450b80(483)](2));var program=new Command,cmds=[convertCmd,compileCmd,buildNpmCmd,debuggerCmd,ascfbuildCmd,quickserviceCmd];program[_0x450b80(497)](pkg[_0x450b80(497)]).description(_0x450b80(505))[_0x450b80(496)](_0x450b80(486),_0x450b80(481))[_0x450b80(496)](_0x450b80(500),"enable debug logging"),program[_0x450b80(490)](_0x450b80(499),function(){var r,e=_0x450b80;setLoggerConfig(null==(r=program[e(479)]())?void 0:r[e(513)]),global[e(495)]=program,global[e(478)]=!(null==(r=program[e(479)]())||!r[e(504)])}),cmds[_0x450b80(484)](function(r){return null==r?void 0:r.install(program)}),program[_0x450b80(502)](process[_0x450b80(511)]);
2
+ var _0x22241b=_0x3317;function _0xe9cc(){var r=["parse","version","../commands/convert","51258XxsyPB","install","Command","enable debug logging","forEach","../common/constants.js","opts","hook","../common/log4js.js","841955kMJMAr","--logging [level]","_ascfDebug","1182717XGviFa","--targets","14QcFiFd","description","../ascf-common","_ascfCliProgram","617536BErdlL","includes","--debug","../commands/debugger","787064XVHSKi","422379LSonNd","BUILD_TARGET_QS","preAction","../commands/ascfbuild","10dljXsG","8087wvzhAf","../commands/quickservice","38pKixMr","../../package.json","option","Setting the log level","debug"];return(_0xe9cc=function(){return r})()}(()=>{for(var r=_0x3317,e=_0xe9cc();;)try{if(120808==-parseInt(r(468))*(-parseInt(r(470))/2)+parseInt(r(463))/3+-parseInt(r(462))/4+-parseInt(r(449))/5+-parseInt(r(478))/6*(parseInt(r(454))/7)+parseInt(r(458))/8+-parseInt(r(452))/9*(-parseInt(r(467))/10))break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var _require=require(_0x22241b(456)),Command=_require[_0x22241b(480)],pkg=require(_0x22241b(471)),_require2=require(_0x22241b(448)),setLoggerConfig=_require2.setLoggerConfig,convertCmd=require(_0x22241b(477)),compileCmd=require("../commands/compile"),buildNpmCmd=require("../commands/build-npm"),debuggerCmd=require(_0x22241b(461)),ascfbuildCmd=require(_0x22241b(466)),quickserviceCmd=require(_0x22241b(469)),_require3=require(_0x22241b(445)),BUILD_TARGET_QS=_require3[_0x22241b(464)],program=(global._supportLegacyHos=((r,e)=>{var o=_0x22241b,n=r.indexOf(o(453));return-1!==n&&(null==(e=r[n+1])?void 0:e[o(459)](BUILD_TARGET_QS))})(process.argv.slice(2)),new Command),cmds=[convertCmd,compileCmd,buildNpmCmd,debuggerCmd,ascfbuildCmd,quickserviceCmd];function _0x3317(r,e){var o=_0xe9cc();return(_0x3317=function(r,e){return o[r-=443]})(r,e)}program[_0x22241b(476)](pkg[_0x22241b(476)])[_0x22241b(455)]("ascf toolkit convert and compile ascf project")[_0x22241b(472)](_0x22241b(450),_0x22241b(473)).option(_0x22241b(460),_0x22241b(443)),program[_0x22241b(447)](_0x22241b(465),function(){var r,e=_0x22241b;setLoggerConfig(null==(r=program[e(446)]())?void 0:r.logging),global[e(457)]=program,global[e(451)]=!(null==(r=program[e(446)]())||!r[e(474)])}),cmds[_0x22241b(444)](function(r){return null==r?void 0:r[_0x22241b(479)](program)}),program[_0x22241b(475)](process.argv);
@@ -1 +1 @@
1
- var _0x15bc29=_0x5383;function _0x5383(e,r){var n=_0x5c14();return(_0x5383=function(e,r){return n[e-=474]})(e,r)}function _0x5c14(){var e=["clean","displayName","done","next","defineProperty","command","exports","apply","chdir","3854500imlHNm","Generator","2701902TykKFt","1003430tXGdTu","iterator","-r, --projectRoot [projectRoot]","function","toStringTag","throw","then","select a device","14ixUZuT","' method","resolve","uninstall","prototype","1046245koHKiU","build","call","return","_invoke","3585952PVRmRu","bind","installDeps","action","toString","GeneratorFunction","[object Generator]","3xFULLA","installHap","getPrototypeOf","@@iterator","option","7236450jTZBWi","../../ascf-base","start","setPrototypeOf","@@toStringTag","create","Build ASCF project","The iterator does not provide a '","value","projectRoot","2AwZdzT","88WAnxVJ","Generator is already running","constructor","length","description","4128070RPtgdq"];return(_0x5c14=function(){return e})()}function _regenerator(){var g,h=_0x5383,e=h(527)==typeof Symbol?Symbol:{},r=e[h(525)]||h(493),n=e[h(528)]||h(499);function t(e,r,n,t){var o,a,i,c,u,f,s,p,l,_,v=h,r=r&&r[v(477)]instanceof y?r:y,r=Object[v(500)](r[v(477)]);return _regeneratorDefine2(r,v(482),(o=e,a=n,p=t||[],l=!1,_={p:s=0,n:0,v:g,a:d,f:d[(f=v)(484)](g,4),d:function(e,r){return i=e,c=0,u=g,_.n=r,b}},function(e,r,n){var t=f;if(1<s)throw TypeError(t(507));for(l&&1===r&&d(r,n),c=r,u=n;(x=c<2?g:u)||!l;){i||(c?c<3?(1<c&&(_.n=-1),d(c,u)):_.n=u:_.v=u);try{if(s=2,i){if(c||(e=t(515)),x=i[e]){if(!(x=x.call(i,u)))throw TypeError("iterator result is not an object");if(!x[t(514)])return x;u=x[t(503)],c<2&&(c=0)}else 1===c&&(x=i[t(481)])&&x[t(480)](i),c<2&&(u=TypeError(t(502)+e+t(474)),c=1);i=g}else if((x=(l=_.n<0)?u:o.call(a,_))!==b)break}catch(e){i=g,c=1,u=e}finally{s=1}}return{value:x,done:l}}),!0),r;function d(e,r){var n=f;for(c=e,u=r,x=0;!l&&s&&!t&&x<p[n(509)];x++){var t,o=p[x],a=_.p,i=o[2];3<e?(t=i===r)&&(u=o[(c=o[4])?5:c=3],o[4]=o[5]=g):o[0]<=a&&((t=e<2&&a<o[1])?(c=0,_.v=r,_.n=o[1]):a<i&&(t=e<3||o[0]>r||i<r)&&(o[4]=e,o[5]=r,_.n=i,c=0))}if(t||1<e)return b;throw l=!0,r}}var b={};function y(){}function o(){}function a(){}var x=Object[h(492)],e=[][r]?x(x([][r]())):(_regeneratorDefine2(x={},r,function(){return this}),x),i=a[h(477)]=y[h(477)]=Object[h(500)](e);function c(e){var r=h;return Object[r(498)]?Object[r(498)](e,a):(e.__proto__=a,_regeneratorDefine2(e,n,r(488))),e[r(477)]=Object[r(500)](i),e}return o.prototype=a,_regeneratorDefine2(i,h(508),a),_regeneratorDefine2(a,h(508),o),o[h(513)]=h(488),_regeneratorDefine2(a,n,"GeneratorFunction"),_regeneratorDefine2(i),_regeneratorDefine2(i,n,h(522)),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,h(487),function(){return h(489)}),(_regenerator=function(){return{w:t,m:c}})()}function _regeneratorDefine2(e,r,n,t){var a=_0x5383,i=Object[a(516)];try{i({},"",{})}catch(e){i=0}(_regeneratorDefine2=function(e,r,n,t){var o=a;r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:((t=function(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})})(o(515),0),t("throw",1),t("return",2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,o,a,i){var c=_0x5383;try{var u=e[a](i),f=u[c(503)]}catch(e){return void n(e)}u[c(514)]?r(f):Promise[c(475)](f)[c(530)](t,o)}function _asyncToGenerator(u){return function(){var e=this,c=arguments;return new Promise(function(r,n){var t=_0x5383,o=u[t(519)](e,c);function a(e){asyncGeneratorStep(o,r,n,a,i,t(515),e)}function i(e){asyncGeneratorStep(o,r,n,a,i,t(529),e)}a(void 0)})}}(()=>{for(var e=_0x5383,r=_0x5c14();;)try{if(602505==+parseInt(e(478))*(parseInt(e(505))/2)+-parseInt(e(490))/3*(parseInt(e(521))/4)+-parseInt(e(511))/5+parseInt(e(523))/6+parseInt(e(532))/7*(parseInt(e(483))/8)+-parseInt(e(495))/9+-parseInt(e(524))/10*(-parseInt(e(506))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require(_0x15bc29(496)),AscfBuilder=_require.AscfBuilder;module[_0x15bc29(518)]={install:function(e){function n(t){return r=_asyncToGenerator(_regenerator().m(function e(n){return _regenerator().w(function(e){for(var r=_0x5383;;)switch(e.n){case 0:n[r(504)]?process[r(520)](n[r(504)]):n[r(504)]=process.cwd(),new AscfBuilder(n).handle(t);case 1:return e.a(2)}},e)})),function(e){return r[_0x5383(519)](this,arguments)};var r}var t=_0x15bc29,o=e[t(517)](t(479))[t(510)](t(501));[t(485),"assembleHap",t(512)].forEach(function(e){var r=t;o[r(517)](e)[r(510)](e)[r(494)](r(526),r(504))[r(486)](n(e))}),[t(491),"assembleAndInstallHap",t(476),t(497)].forEach(function(e){var r=t;o[r(517)](e)[r(510)](e)[r(494)]("-r, --projectRoot [projectRoot]",r(504))[r(494)]("-t, --deviceId [deviceId]",r(531))[r(486)](n(e))})}};
1
+ function _0x4aa8(){var e=["22TVlkLK","value","cwd","toString","description","assembleHap","@@toStringTag","@@iterator","' method","chdir","return","clean","then","create","toStringTag","done","15298758mDPtfL","apply","21NXVUcR","prototype","GeneratorFunction","defineProperty","exports","constructor","select a device","getPrototypeOf","AscfBuilder","85758OASouU","_invoke","400049WKUsDn","bind","resolve","projectRoot","6946800suSPkz","249162yFOsNL","-r, --projectRoot [projectRoot]","function","[object Generator]","4365470pSumDH","action","command","Build ASCF project","option","installHap","assembleAndInstallHap","call","handle","throw","next","setPrototypeOf","../../ascf-base","Generator","4196844zFqoxX","forEach","iterator"];return(_0x4aa8=function(){return e})()}var _0x2a35ec=_0x453a;function _regenerator(){var g,h=_0x453a,e=h(471)==typeof Symbol?Symbol:{},r=e[h(434)]||h(442),n=e[h(449)]||h(441);function t(e,r,n,t){var o,a,i,c,u,f,s,p,_,l,v=h,r=r&&r[v(454)]instanceof x?r:x,r=Object.create(r[v(454)]);return _regeneratorDefine2(r,v(463),(o=e,a=n,p=t||[],_=!1,l={p:s=0,n:0,v:g,a:d,f:d[(f=v)(465)](g,4),d:function(e,r){return i=e,c=0,u=g,l.n=r,y}},function(e,r,n){var t=f;if(1<s)throw TypeError("Generator is already running");for(_&&1===r&&d(r,n),c=r,u=n;(b=c<2?g:u)||!_;){i||(c?c<3?(1<c&&(l.n=-1),d(c,u)):l.n=u:l.v=u);try{if(s=2,i){if(b=i[e=c?e:"next"]){if(!(b=b.call(i,u)))throw TypeError("iterator result is not an object");if(!b.done)return b;u=b[t(436)],c<2&&(c=0)}else 1===c&&(b=i[t(445)])&&b[t(425)](i),c<2&&(u=TypeError("The iterator does not provide a '"+e+t(443)),c=1);i=g}else if((b=(_=l.n<0)?u:o[t(425)](a,l))!==y)break}catch(e){i=g,c=1,u=e}finally{s=1}}return{value:b,done:_}}),!0),r;function d(e,r){for(c=e,u=r,b=0;!_&&s&&!n&&b<p.length;b++){var n,t=p[b],o=l.p,a=t[2];3<e?(n=a===r)&&(u=t[(c=t[4])?5:c=3],t[4]=t[5]=g):t[0]<=o&&((n=e<2&&o<t[1])?(c=0,l.v=r,l.n=t[1]):o<a&&(n=e<3||t[0]>r||a<r)&&(t[4]=e,t[5]=r,l.n=a,c=0))}if(n||1<e)return y;throw _=!0,r}}var y={};function x(){}function o(){}function a(){}var b=Object[h(460)],e=[][r]?b(b([][r]())):(_regeneratorDefine2(b={},r,function(){return this}),b),i=a[h(454)]=x[h(454)]=Object.create(e);function c(e){var r=h;return Object[r(429)]?Object[r(429)](e,a):(e.__proto__=a,_regeneratorDefine2(e,n,r(455))),e[r(454)]=Object[r(448)](i),e}return _regeneratorDefine2(i,"constructor",o.prototype=a),_regeneratorDefine2(a,h(458),o),o.displayName=h(455),_regeneratorDefine2(a,n,"GeneratorFunction"),_regeneratorDefine2(i),_regeneratorDefine2(i,n,h(431)),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,h(438),function(){return h(472)}),(_regenerator=function(){return{w:t,m:c}})()}function _0x453a(e,r){var n=_0x4aa8();return(_0x453a=function(e,r){return n[e-=423]})(e,r)}function _regeneratorDefine2(e,r,n,t){var a=_0x453a,i=Object[a(456)];try{i({},"",{})}catch(e){i=0}(_regeneratorDefine2=function(e,r,n,t){var o=a;r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:((t=function(r,n){_regeneratorDefine2(e,r,function(e){return this[_0x453a(463)](r,n,e)})})(o(428),0),t(o(427),1),t(o(445),2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,o,a,i){var c=_0x453a;try{var u=e[a](i),f=u[c(436)]}catch(e){return void n(e)}u[c(450)]?r(f):Promise[c(466)](f)[c(447)](t,o)}function _asyncToGenerator(u){return function(){var e=this,c=arguments;return new Promise(function(r,n){var t=_0x453a,o=u[t(452)](e,c);function a(e){asyncGeneratorStep(o,r,n,a,i,t(428),e)}function i(e){asyncGeneratorStep(o,r,n,a,i,t(427),e)}a(void 0)})}}(()=>{for(var e=_0x453a,r=_0x4aa8();;)try{if(536963==+parseInt(e(464))+parseInt(e(435))/2*(-parseInt(e(469))/3)+parseInt(e(432))/4+-parseInt(e(473))/5+parseInt(e(462))/6*(parseInt(e(453))/7)+-parseInt(e(468))/8+parseInt(e(451))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require(_0x2a35ec(430)),AscfBuilder=_require[_0x2a35ec(461)];module[_0x2a35ec(457)]={install:function(e){function n(t){return r=_asyncToGenerator(_regenerator().m(function e(n){return _regenerator().w(function(e){for(var r=_0x453a;;)switch(e.n){case 0:n.projectRoot?process[r(444)](n.projectRoot):n[r(467)]=process[r(437)](),new AscfBuilder(n)[r(426)](t);case 1:return e.a(2)}},e)})),function(e){return r[_0x453a(452)](this,arguments)};var r}var t=_0x2a35ec,o=e[t(475)]("build")[t(439)](t(476));["installDeps",t(440),t(446)][t(433)](function(e){var r=t;o[r(475)](e)[r(439)](e)[r(477)](r(470),r(467))[r(474)](n(e))}),[t(423),t(424),"uninstall","start"][t(433)](function(e){var r=t;o.command(e)[r(439)](e)[r(477)](r(470),r(467))[r(477)]("-t, --deviceId [deviceId]",r(459))[r(474)](n(e))})}};
@@ -1 +1 @@
1
- function _0xa7ab(){var e=["miniprogram","ascf_src","105IEimlo","@@toStringTag","Build ASCF npm dependencies to miniprogram_npm","package.json","prototype","[object Generator]","514164BAXNtu","value","6792zMOSKM","8yzegSC","The iterator does not provide a '","Generator","dependencies","' method","@@iterator","command","description","node_modules","done","throw","action","240692hhqkaF","info","All npm dependencies has been built.","apply","hasOwnProperty","join","resolve","25524170WGkftc","../../common/log4js","function","iterator result is not an object","error","toString","2235850gvSLZb","next","moveFiles","14009193DucqYq","bind","ascf","defineProperty"," not found in node_modules, please run npm install ","warn","getPrototypeOf","1952256zFTFOq","toStringTag","hasHxml","_invoke","then","concat","buildNpm","call","path","getLogger","344HWIHFy","Dependencies info not found.","length","return","setPrototypeOf","existsSync","GeneratorFunction","__proto__","displayName","create"];return(_0xa7ab=function(){return e})()}var _0x3a4123=_0x2b42;function _regenerator(){var b,d=_0x2b42,e=d(449)==typeof Symbol?Symbol:{},r=e.iterator||d(433),n=e[d(398)]||d(420);function t(e,r,n,t){var o,a,i,c,u,f,s,p,l,_,g=d,r=r&&r[g(423)]instanceof h?r:h,r=Object[g(416)](r.prototype);return _regeneratorDefine2(r,g(400),(o=e,a=n,p=t||[],l=!1,_={p:s=0,n:0,v:b,a:m,f:m[(f=g)(457)](b,4),d:function(e,r){return i=e,c=0,u=b,_.n=r,v}},function(e,r,n){var t=f;if(1<s)throw TypeError("Generator is already running");for(l&&1===r&&m(r,n),c=r,u=n;(y=c<2?b:u)||!l;){i||(c?c<3?(1<c&&(_.n=-1),m(c,u)):_.n=u:_.v=u);try{if(s=2,i){if(c||(e=t(454)),y=i[e]){if(!(y=y.call(i,u)))throw TypeError(t(450));if(!y[t(437)])return y;u=y.value,c<2&&(c=0)}else 1===c&&(y=i.return)&&y[t(404)](i),c<2&&(u=TypeError(t(429)+e+t(432)),c=1);i=b}else if((y=(l=_.n<0)?u:o[t(404)](a,_))!==v)break}catch(e){i=b,c=1,u=e}finally{s=1}}return{value:y,done:l}}),!0),r;function m(e,r){var n=f;for(c=e,u=r,y=0;!l&&s&&!t&&y<p[n(409)];y++){var t,o=p[y],a=_.p,i=o[2];3<e?(t=i===r)&&(u=o[(c=o[4])?5:c=3],o[4]=o[5]=b):o[0]<=a&&((t=e<2&&a<o[1])?(c=0,_.v=r,_.n=o[1]):a<i&&(t=e<3||o[0]>r||i<r)&&(o[4]=e,o[5]=r,_.n=i,c=0))}if(t||1<e)return v;throw l=!0,r}}var v={};function h(){}function o(){}function a(){}var y=Object[d(462)],e=[][r]?y(y([][r]())):(_regeneratorDefine2(y={},r,function(){return this}),y),i=a.prototype=h[d(423)]=Object.create(e);function c(e){var r=d;return Object[r(411)]?Object[r(411)](e,a):(e[r(414)]=a,_regeneratorDefine2(e,n,"GeneratorFunction")),e.prototype=Object[r(416)](i),e}return o[d(423)]=a,_regeneratorDefine2(i,"constructor",a),_regeneratorDefine2(a,"constructor",o),o[d(415)]="GeneratorFunction",_regeneratorDefine2(a,n,d(413)),_regeneratorDefine2(i),_regeneratorDefine2(i,n,d(430)),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,d(452),function(){return d(424)}),(_regenerator=function(){return{w:t,m:c}})()}function _regeneratorDefine2(e,r,n,t){var a=_0x2b42,i=Object[a(459)];try{i({},"",{})}catch(e){i=0}(_regeneratorDefine2=function(e,r,n,t){var o=a;r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:((t=function(r,n){_regeneratorDefine2(e,r,function(e){return this[_0x2b42(400)](r,n,e)})})(o(454),0),t(o(438),1),t(o(410),2))})(e,r,n,t)}function _0x2b42(e,r){var n=_0xa7ab();return(_0x2b42=function(e,r){return n[e-=397]})(e,r)}function asyncGeneratorStep(e,r,n,t,o,a,i){var c=_0x2b42;try{var u=e[a](i),f=u[c(426)]}catch(e){return void n(e)}u[c(437)]?r(f):Promise[c(446)](f)[c(401)](t,o)}function _asyncToGenerator(u){return function(){var e=this,c=arguments;return new Promise(function(r,n){var t=_0x2b42,o=u[t(443)](e,c);function a(e){asyncGeneratorStep(o,r,n,a,i,t(454),e)}function i(e){asyncGeneratorStep(o,r,n,a,i,t(438),e)}a(void 0)})}}(()=>{for(var e=_0x2b42,r=_0xa7ab();;)try{if(878776==+parseInt(e(440))+-parseInt(e(407))/2*(-parseInt(e(427))/3)+-parseInt(e(397))/4+parseInt(e(453))/5+-parseInt(e(425))/6*(-parseInt(e(419))/7)+-parseInt(e(428))/8*(-parseInt(e(456))/9)+-parseInt(e(447))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require("../../common/utils"),readJsonFile=_require.readJsonFile,hasHxml=_require[_0x3a4123(399)],moveFiles=_require[_0x3a4123(455)],path=require(_0x3a4123(405)),fs=require("fs"),log4js=require(_0x3a4123(448)),logger=log4js[_0x3a4123(406)](_0x3a4123(403));function buildMiniProgramNpm(e){var r=_0x3a4123,n=readJsonFile(path[r(445)](e,"ascf","ascf_src","package.json"));if(n==={})logger[r(461)](r(408));else{if(n[r(431)])for(var t in n[r(431)])if(Object[r(423)][r(444)][r(404)](n[r(431)],t)){var o=path[r(445)](e,r(458),r(418),"miniprogram_npm",t);if(!fs.existsSync(o)){var a=path[r(445)](e,r(458),r(418),r(436),t);if(!fs[r(412)](a))return void logger[r(451)]("".concat(t,r(460))[r(402)](t,"."));hasHxml(a)&&(t=readJsonFile(path[r(445)](a,r(422)))[r(417)],moveFiles(t?path[r(445)](a,t):a,o))}}logger[r(441)](r(442))}}function buildNpm(e){var r=_0x3a4123;try{buildMiniProgramNpm(e)}catch(e){logger[r(451)]("Error: ascf buildNpm error: "[r(402)](e,"."))}}module.exports={buildNpm:buildNpm,install:function(e){var n,r=_0x3a4123;e[r(434)]("buildNpm <projectRoot>")[r(435)](r(421))[r(439)]((n=_asyncToGenerator(_regenerator().m(function e(r,n){return _regenerator().w(function(e){for(;;)switch(e.n){case 0:buildNpm(r);case 1:return e.a(2)}},e)})),function(e,r){return n.apply(this,arguments)}))}};
1
+ var _0x30eb9d=_0x545a;function _regenerator(){var m,v=_0x545a,e=v(305)==typeof Symbol?Symbol:{},r=e[v(336)]||"@@iterator",n=e[v(295)]||v(335);function t(e,r,n,t){var o,a,i,u,c,f,s,p,l,_,d=v,r=r&&r[d(293)]instanceof h?r:h,r=Object[d(309)](r[d(293)]);return _regeneratorDefine2(r,"_invoke",(o=e,a=n,p=t||[],l=!1,_={p:s=0,n:0,v:m,a:g,f:g[(f=d)(315)](m,4),d:function(e,r){return i=e,u=0,c=m,_.n=r,b}},function(e,r,n){var t=f;if(1<s)throw TypeError(t(290));for(l&&1===r&&g(r,n),u=r,c=n;(x=u<2?m:c)||!l;){i||(u?u<3?(1<u&&(_.n=-1),g(u,c)):_.n=c:_.v=c);try{if(s=2,i){if(u||(e=t(303)),x=i[e]){if(!(x=x[t(288)](i,c)))throw TypeError(t(340));if(!x[t(320)])return x;c=x[t(291)],u<2&&(u=0)}else 1===u&&(x=i[t(326)])&&x[t(288)](i),u<2&&(c=TypeError(t(343)+e+t(345)),u=1);i=m}else if((x=(l=_.n<0)?c:o.call(a,_))!==b)break}catch(e){i=m,u=1,c=e}finally{s=1}}return{value:x,done:l}}),!0),r;function g(e,r){var n=f;for(u=e,c=r,x=0;!l&&s&&!t&&x<p[n(312)];x++){var t,o=p[x],a=_.p,i=o[2];3<e?(t=i===r)&&(c=o[(u=o[4])?5:u=3],o[4]=o[5]=m):o[0]<=a&&((t=e<2&&a<o[1])?(u=0,_.v=r,_.n=o[1]):a<i&&(t=e<3||o[0]>r||i<r)&&(o[4]=e,o[5]=r,_.n=i,u=0))}if(t||1<e)return b;throw l=!0,r}}var b={};function h(){}function o(){}function a(){}var x=Object.getPrototypeOf,e=[][r]?x(x([][r]())):(_regeneratorDefine2(x={},r,function(){return this}),x),i=a[v(293)]=h[v(293)]=Object[v(309)](e);function u(e){var r=v;return Object[r(338)]?Object[r(338)](e,a):(e[r(306)]=a,_regeneratorDefine2(e,n,r(328))),e[r(293)]=Object.create(i),e}return _regeneratorDefine2(i,"constructor",o.prototype=a),_regeneratorDefine2(a,v(346),o),o[v(294)]=v(328),_regeneratorDefine2(a,n,v(328)),_regeneratorDefine2(i),_regeneratorDefine2(i,n,v(348)),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,v(347),function(){return"[object Generator]"}),(_regenerator=function(){return{w:t,m:u}})()}function _0x545a(e,r){var n=_0x2536();return(_0x545a=function(e,r){return n[e-=288]})(e,r)}function _regeneratorDefine2(e,r,n,t){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}(_regeneratorDefine2=function(e,r,n,t){var o=_0x545a;r?a?a(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:((t=function(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})})(o(303),0),t(o(307),1),t(o(326),2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,o,a,i){var u=_0x545a;try{var c=e[a](i),f=c.value}catch(e){return void n(e)}c[u(320)]?r(f):Promise[u(337)](f).then(t,o)}function _asyncToGenerator(c){return function(){var e=this,u=arguments;return new Promise(function(r,n){var t=_0x545a,o=c[t(302)](e,u);function a(e){asyncGeneratorStep(o,r,n,a,i,t(303),e)}function i(e){asyncGeneratorStep(o,r,n,a,i,t(307),e)}a(void 0)})}}(()=>{for(var e=_0x545a,r=_0x2536();;)try{if(131602==-parseInt(e(322))+-parseInt(e(319))/2*(-parseInt(e(308))/3)+parseInt(e(339))/4+parseInt(e(324))/5+parseInt(e(301))/6*(parseInt(e(289))/7)+-parseInt(e(333))/8+parseInt(e(296))/9*(-parseInt(e(344))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require(_0x30eb9d(313)),readJsonFile=_require.readJsonFile,hasHxml=_require[_0x30eb9d(310)],moveFiles=_require[_0x30eb9d(314)],path=require(_0x30eb9d(298)),fs=require("fs"),log4js=require(_0x30eb9d(330)),logger=log4js[_0x30eb9d(327)]("buildNpm");function buildMiniProgramNpm(e){var r=_0x30eb9d,n=readJsonFile(path[r(342)](e,r(331),r(334),r(318)));if(n==={})logger[r(299)](r(297));else{if(n[r(325)])for(var t in n.dependencies)if(Object[r(293)].hasOwnProperty[r(288)](n[r(325)],t)){var o=path[r(342)](e,r(331),r(334),"miniprogram_npm",t);if(!fs[r(329)](o)){var a=path.join(e,"ascf",r(334),r(311),t);if(!fs[r(329)](a))return void logger[r(321)](""[r(323)](t,r(317))[r(323)](t,"."));hasHxml(a)&&(t=readJsonFile(path[r(342)](a,r(318))).miniprogram,moveFiles(t?path[r(342)](a,t):a,o))}}logger[r(300)]("All npm dependencies has been built.")}}function buildNpm(e){var r=_0x30eb9d;try{buildMiniProgramNpm(e)}catch(e){logger.error(r(316).concat(e,"."))}}function _0x2536(){var e=["iterator result is not an object","buildNpm <projectRoot>","join","The iterator does not provide a '","730IyMCZP","' method","constructor","toString","Generator","call","7eaDAvf","Generator is already running","value","action","prototype","displayName","toStringTag","26361cVIKfp","Dependencies info not found.","path","warn","info","800706Qkyxgj","apply","next","exports","function","__proto__","throw","9kYYxsk","create","hasHxml","node_modules","length","../../common/utils","moveFiles","bind","Error: ascf buildNpm error: "," not found in node_modules, please run npm install ","package.json","49634YgzowW","done","error","30386eKkUVy","concat","592470SfZMRX","dependencies","return","getLogger","GeneratorFunction","existsSync","../../common/log4js","ascf","Build ASCF npm dependencies to miniprogram_npm","1002568zPxbCn","ascf_src","@@toStringTag","iterator","resolve","setPrototypeOf","698920DBQIew"];return(_0x2536=function(){return e})()}module[_0x30eb9d(304)]={buildNpm:buildNpm,install:function(e){var n,r=_0x30eb9d;e.command(r(341)).description(r(332))[r(292)]((n=_asyncToGenerator(_regenerator().m(function e(r,n){return _regenerator().w(function(e){for(;;)switch(e.n){case 0:buildNpm(r);case 1:return e.a(2)}},e)})),function(e,r){return n.apply(this,arguments)}))}};
@@ -1 +1 @@
1
- var _0x447456=_0x121f;function _0x47a6(){var e=["Clear build resource","46548WrigNt","Skip API and components validator, default is true","p12 File Path for ","99aVSnaK","BUILD_TARGET_QS","GeneratorFunction","42dNmanM","--targets [buildTarget]","262048TWvWYI","select a device to start hot reload","--qs-host-pkg [pkg]","Run command on changes been watched","@@iterator","--analyzeBundle","option","../common/constants.js","bind","Build targets, atomicservice and ","resolve","concat","@@toStringTag","__proto__","-w, --watch","description","then","Generator is already running","2722385HoByba","--templateHoist","Compile ascf project","create","constructor","Generator","[object Generator]","The iterator does not provide a '","analyze bundle","exports","compile <projectRoot>","4378tShkdj","Disable subpackages, default is true for development, false for production","iterator","Password of the p12 file for ","apply","getPrototypeOf","compile","--sign-private-key-path [path]","Show build progress","Use swc parser, default is babel parser","Host package for ","9nncwRB","--deviceId [deviceId]","--devtool [type]","--sign-public-key-path [path]","prototype","next","_supportLegacyHos","--skipApiValidator [flag]","_invoke","-r, --run [command]","--sign-profile-path [path]","Start dev-server","-p, --progress","Hoist template to page scope, default is true when have base.hxml","../index","call","value","return","53112IINKoZ","length","439556muIoTP","Sign public key path for ","--disableSubpackages [true or false]","--swc","640770FvcFtJ","' method","--serve","setPrototypeOf","628002qURgkp","throw","--sign-pwd [pwd]","8SzArFG"];return(_0x47a6=function(){return e})()}function _regenerator(){var v,h=_0x121f,e="function"==typeof Symbol?Symbol:{},r=e[h(237)]||h(210),t=e.toStringTag||h(218);function n(e,r,t,n){var o,a,i,c,u,s,p,f,l,_,d=h,r=r&&r[d(250)]instanceof y?r:y,r=Object.create(r.prototype);return _regeneratorDefine2(r,d(254),(o=e,a=t,f=n||[],l=!1,_={p:p=0,n:0,v:v,a:g,f:g[(s=d)(214)](v,4),d:function(e,r){return i=e,c=0,u=v,_.n=r,m}},function(e,r,t){var n=s;if(1<p)throw TypeError(n(223));for(l&&1===r&&g(r,t),c=r,u=t;(b=c<2?v:u)||!l;){i||(c?c<3?(1<c&&(_.n=-1),g(c,u)):_.n=u:_.v=u);try{if(p=2,i){if(c||(e=n(251)),b=i[e]){if(!(b=b[n(261)](i,u)))throw TypeError("iterator result is not an object");if(!b.done)return b;u=b[n(262)],c<2&&(c=0)}else 1===c&&(b=i[n(263)])&&b.call(i),c<2&&(u=TypeError(n(231)+e+n(190)),c=1);i=v}else if((b=(l=_.n<0)?u:o[n(261)](a,_))!==m)break}catch(e){i=v,c=1,u=e}finally{p=1}}return{value:b,done:l}}),!0),r;function g(e,r){var t=s;for(c=e,u=r,b=0;!l&&p&&!n&&b<f[t(265)];b++){var n,o=f[b],a=_.p,i=o[2];3<e?(n=i===r)&&(u=o[(c=o[4])?5:c=3],o[4]=o[5]=v):o[0]<=a&&((n=e<2&&a<o[1])?(c=0,_.v=r,_.n=o[1]):a<i&&(n=e<3||o[0]>r||i<r)&&(o[4]=e,o[5]=r,_.n=i,c=0))}if(n||1<e)return m;throw l=!0,r}}var m={};function y(){}function o(){}function a(){}var b=Object[h(240)],e=[][r]?b(b([][r]())):(_regeneratorDefine2(b={},r,function(){return this}),b),i=a.prototype=y.prototype=Object.create(e);function c(e){var r=h;return Object[r(192)]?Object[r(192)](e,a):(e[r(219)]=a,_regeneratorDefine2(e,t,r(203))),e[r(250)]=Object[r(227)](i),e}return o[h(250)]=a,_regeneratorDefine2(i,h(228),a),_regeneratorDefine2(a,"constructor",o),o.displayName="GeneratorFunction",_regeneratorDefine2(a,t,h(203)),_regeneratorDefine2(i),_regeneratorDefine2(i,t,h(229)),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,"toString",function(){return h(230)}),(_regenerator=function(){return{w:n,m:c}})()}function _regeneratorDefine2(e,r,t,n){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}(_regeneratorDefine2=function(e,r,t,n){var o=_0x121f;r?a?a(e,r,{value:t,enumerable:!n,configurable:!n,writable:!n}):e[r]=t:((n=function(r,t){_regeneratorDefine2(e,r,function(e){return this[_0x121f(254)](r,t,e)})})(o(251),0),n("throw",1),n(o(263),2))})(e,r,t,n)}function asyncGeneratorStep(e,r,t,n,o,a,i){var c=_0x121f;try{var u=e[a](i),s=u[c(262)]}catch(e){return void t(e)}u.done?r(s):Promise[c(216)](s)[c(222)](n,o)}function _asyncToGenerator(u){return function(){var e=this,c=arguments;return new Promise(function(r,t){var n=_0x121f,o=u[n(239)](e,c);function a(e){asyncGeneratorStep(o,r,t,a,i,n(251),e)}function i(e){asyncGeneratorStep(o,r,t,a,i,n(194),e)}a(void 0)})}}(()=>{for(var e=_0x121f,r=_0x47a6();;)try{if(578585==-parseInt(e(266))+-parseInt(e(264))/2*(-parseInt(e(201))/3)+parseInt(e(196))/4*(parseInt(e(224))/5)+-parseInt(e(193))/6*(-parseInt(e(204))/7)+parseInt(e(206))/8*(parseInt(e(246))/9)+-parseInt(e(270))/10+parseInt(e(235))/11*(-parseInt(e(198))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require(_0x447456(213)),BUILD_TARGET_QS=_require[_0x447456(202)];function _0x121f(e,r){var t=_0x47a6();return(_0x121f=function(e,r){return t[e-=190]})(e,r)}module[_0x447456(233)]={install:function(e){var t,r=_0x447456,e=e.command(r(234))[r(221)](r(226))[r(212)](r(258),r(243))[r(212)](r(220),"Watch run for changes")[r(212)]("-m, --mode","Environment, empty is production, -m is development")[r(212)]("-c, --clear",r(197))[r(212)](r(255),r(209))[r(212)](r(269),r(244))[r(212)](r(248),"sourcemap type, default is eval-cheap-source-map")[r(212)](r(268),r(236))[r(212)](r(211),r(232),!1)[r(212)](r(225),r(259))[r(212)](r(253),r(199))[r(212)](r(191),r(257)).option(r(247),r(207))[r(212)](r(205),r(215)[r(217)](BUILD_TARGET_QS));global[r(252)]&&e.option(r(208),r(245)[r(217)](BUILD_TARGET_QS)).option(r(242),"Sign private key path for "[r(217)](BUILD_TARGET_QS)).option(r(249),r(267)[r(217)](BUILD_TARGET_QS))[r(212)](r(195),r(238)[r(217)](BUILD_TARGET_QS))[r(212)](r(256),r(200)[r(217)](BUILD_TARGET_QS)),e.action((t=_asyncToGenerator(_regenerator().m(function e(t,n){return _regenerator().w(function(e){for(var r=_0x121f;;)switch(e.n){case 0:return e.n=1,require(r(260))[r(241)](t,n);case 1:return e.a(2)}},e)})),function(e,r){return t[_0x121f(239)](this,arguments)}))}};
1
+ function _0x2f61(){var e=["defineProperty","--skipApiValidator [flag]","../common/constants.js","Environment, empty is production, -m is development","command","toStringTag","Skip API and components validator, default is true","--swc","[object Generator]","The iterator does not provide a '","prototype","description","option","setPrototypeOf","-m, --mode","select a device to start hot reload","Compile ascf project","next","call","--deviceId [deviceId]","Host package for ","--sign-public-key-path [path]","5930czNwbp","5393585GvzyLf","--qs-host-pkg [pkg]","Disable subpackages, default is true for development, false for production","Start dev-server","../index","_invoke","value","-r, --run [command]","--templateHoist","@@toStringTag","78GLEquz","2916JupUGH","Clear build resource","Watch run for changes","-p, --progress","--targets [buildTarget]","p12 File Path for ","5504580YjyIYS","Password of the p12 file for ","function","length","--disableSubpackages [true or false]","9945dKwmKG","iterator result is not an object","--analyzeBundle","create","Show build progress","8434BumsHk","getPrototypeOf","Generator is already running","GeneratorFunction","BUILD_TARGET_QS","-w, --watch","throw","concat","compile","Use swc parser, default is babel parser","17017gLUWiW","' method","8817216neRDtP","done","return","exports","__proto__","apply","Sign private key path for ","-c, --clear","compile <projectRoot>","@@iterator","constructor","bind","--serve","Sign public key path for ","1546254PVAYAJ"];return(_0x2f61=function(){return e})()}var _0x24feda=_0xc404;function _regenerator(){var v,h=_0xc404,e=h(194)==typeof Symbol?Symbol:{},r=e.iterator||h(223),t=e[h(157)]||h(184);function n(e,r,t,n){var o,a,i,c,u,s,f,p,l,_,d=h,r=r&&r.prototype instanceof y?r:y,r=Object[d(200)](r[d(162)]);return _regeneratorDefine2(r,d(180),(o=e,a=t,p=n||[],l=!1,_={p:f=0,n:0,v:v,a:g,f:g[(s=d)(225)](v,4),d:function(e,r){return i=e,c=0,u=v,_.n=r,m}},function(e,r,t){var n=s;if(1<f)throw TypeError(n(204));for(l&&1===r&&g(r,t),c=r,u=t;(b=c<2?v:u)||!l;){i||(c?c<3?(1<c&&(_.n=-1),g(c,u)):_.n=u:_.v=u);try{if(f=2,i){if(c||(e=n(169)),b=i[e]){if(!(b=b[n(170)](i,u)))throw TypeError(n(198));if(!b[n(215)])return b;u=b[n(181)],c<2&&(c=0)}else 1===c&&(b=i[n(216)])&&b[n(170)](i),c<2&&(u=TypeError(n(161)+e+n(213)),c=1);i=v}else if((b=(l=_.n<0)?u:o[n(170)](a,_))!==m)break}catch(e){i=v,c=1,u=e}finally{f=1}}return{value:b,done:l}}),!0),r;function g(e,r){var t=s;for(c=e,u=r,b=0;!l&&f&&!n&&b<p[t(195)];b++){var n,o=p[b],a=_.p,i=o[2];3<e?(n=i===r)&&(u=o[(c=o[4])?5:c=3],o[4]=o[5]=v):o[0]<=a&&((n=e<2&&a<o[1])?(c=0,_.v=r,_.n=o[1]):a<i&&(n=e<3||o[0]>r||i<r)&&(o[4]=e,o[5]=r,_.n=i,c=0))}if(n||1<e)return m;throw l=!0,r}}var m={};function y(){}function o(){}function a(){}var b=Object[h(203)],e=[][r]?b(b([][r]())):(_regeneratorDefine2(b={},r,function(){return this}),b),i=a[h(162)]=y[h(162)]=Object[h(200)](e);function c(e){var r=h;return Object.setPrototypeOf?Object[r(165)](e,a):(e[r(218)]=a,_regeneratorDefine2(e,t,r(205))),e[r(162)]=Object[r(200)](i),e}return o[h(162)]=a,_regeneratorDefine2(i,h(224),a),_regeneratorDefine2(a,h(224),o),o.displayName=h(205),_regeneratorDefine2(a,t,h(205)),_regeneratorDefine2(i),_regeneratorDefine2(i,t,"Generator"),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,"toString",function(){return h(160)}),(_regenerator=function(){return{w:n,m:c}})()}function _regeneratorDefine2(e,r,t,n){var a=_0xc404,i=Object[a(229)];try{i({},"",{})}catch(e){i=0}(_regeneratorDefine2=function(e,r,t,n){var o=a;r?i?i(e,r,{value:t,enumerable:!n,configurable:!n,writable:!n}):e[r]=t:((n=function(r,t){_regeneratorDefine2(e,r,function(e){return this[_0xc404(180)](r,t,e)})})("next",0),n(o(208),1),n("return",2))})(e,r,t,n)}function asyncGeneratorStep(e,r,t,n,o,a,i){var c=_0xc404;try{var u=e[a](i),s=u[c(181)]}catch(e){return void t(e)}u[c(215)]?r(s):Promise.resolve(s).then(n,o)}function _0xc404(e,r){var t=_0x2f61();return(_0xc404=function(e,r){return t[e-=155]})(e,r)}function _asyncToGenerator(u){return function(){var e=this,c=arguments;return new Promise(function(r,t){var n=_0xc404,o=u[n(219)](e,c);function a(e){asyncGeneratorStep(o,r,t,a,i,"next",e)}function i(e){asyncGeneratorStep(o,r,t,a,i,n(208),e)}a(void 0)})}}(()=>{for(var e=_0xc404,r=_0x2f61();;)try{if(985559==-parseInt(e(228))+parseInt(e(202))/2*(-parseInt(e(185))/3)+-parseInt(e(192))/4+parseInt(e(175))/5+-parseInt(e(186))/6*(-parseInt(e(212))/7)+parseInt(e(214))/8+parseInt(e(197))/9*(parseInt(e(174))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require(_0x24feda(231)),BUILD_TARGET_QS=_require[_0x24feda(206)];module[_0x24feda(217)]={install:function(e){var t,r=_0x24feda,e=e[r(156)](r(222))[r(163)](r(168))[r(164)](r(189),r(201)).option(r(207),r(188))[r(164)](r(166),r(155))[r(164)](r(221),r(187))[r(164)](r(182),"Run command on changes been watched")[r(164)](r(159),r(211)).option("--devtool [type]","sourcemap type, default is eval-cheap-source-map").option(r(196),r(177))[r(164)](r(199),"analyze bundle",!1)[r(164)](r(183),"Hoist template to page scope, default is true when have base.hxml")[r(164)](r(230),r(158))[r(164)](r(226),r(178)).option(r(171),r(167))[r(164)](r(190),"Build targets, atomicservice and "[r(209)](BUILD_TARGET_QS));global._supportLegacyHos&&e[r(164)](r(176),r(172)[r(209)](BUILD_TARGET_QS))[r(164)]("--sign-private-key-path [path]",r(220)[r(209)](BUILD_TARGET_QS))[r(164)](r(173),r(227).concat(BUILD_TARGET_QS))[r(164)]("--sign-pwd [pwd]",r(193)[r(209)](BUILD_TARGET_QS))[r(164)]("--sign-profile-path [path]",r(191).concat(BUILD_TARGET_QS)),e.action((t=_asyncToGenerator(_regenerator().m(function e(t,n){return _regenerator().w(function(e){for(var r=_0xc404;;)switch(e.n){case 0:return e.n=1,require(r(179))[r(210)](t,n);case 1:return e.a(2)}},e)})),function(e,r){return t[_0xc404(219)](this,arguments)}))}};
@@ -1 +1 @@
1
- var _0x3c88ac=_0x44b8;function _0x5746(){var r=["next","exports","497784QJlmlE","The iterator does not provide a '","1257216NpbRPB","value","call","223710XESjTM","2149840tSsBmZ","Build targets, atomicservice and ","-o, --output <output-directory>","defineProperty","Generator","done","../common/constants.js","convert","Validate path","Generator is already running","setPrototypeOf","command","4jPuTCj","function","Not add todo for not supported api.","GeneratorFunction","[object Generator]","iterator","@@iterator","__proto__","apply","return","concat","displayName","Convert miniprogram project to ascf project","BUILD_TARGET_QS","_invoke","-va, --validate","constructor","284932rJTHsy","requiredOption","7bicsXp","toString","Clear convert output path","-notaddtodo, --notaddtodo","throw","prototype","toStringTag","option","219150oRSLzE","9iCRqGW","create","5219290RZYFFi"];return(_0x5746=function(){return r})()}function _regenerator(){var d,b=_0x44b8,r=b(456)==typeof Symbol?Symbol:{},e=r[b(460)]||b(461),t=r[b(429)]||"@@toStringTag";function n(r,e,t,n){var o,a,i,c,u,f,p,s,_,v=b,e=e&&e.prototype instanceof g?e:g,e=Object[v(433)](e[v(428)]);return _regeneratorDefine2(e,v(469),(o=r,a=t,p=n||[],s=!1,_={p:f=0,n:0,v:d,a:l,f:l.bind(d,4),d:function(r,e){return i=r,c=0,u=d,_.n=e,y}},function(r,e,t){var n=_0x44b8;if(1<f)throw TypeError(n(452));for(s&&1===e&&l(e,t),c=e,u=t;(h=c<2?d:u)||!s;){i||(c?c<3?(1<c&&(_.n=-1),l(c,u)):_.n=u:_.v=u);try{if(f=2,i){if(h=i[r=c?r:"next"]){if(!(h=h.call(i,u)))throw TypeError("iterator result is not an object");if(!h[n(448)])return h;u=h[n(440)],c<2&&(c=0)}else 1===c&&(h=i[n(464)])&&h[n(441)](i),c<2&&(u=TypeError(n(438)+r+"' method"),c=1);i=d}else if((h=(s=_.n<0)?u:o.call(a,_))!==y)break}catch(r){i=d,c=1,u=r}finally{f=1}}return{value:h,done:s}}),!0),e;function l(r,e){for(c=r,u=e,h=0;!s&&f&&!t&&h<p.length;h++){var t,n=p[h],o=_.p,a=n[2];3<r?(t=a===e)&&(u=n[(c=n[4])?5:c=3],n[4]=n[5]=d):n[0]<=o&&((t=r<2&&o<n[1])?(c=0,_.v=e,_.n=n[1]):o<a&&(t=r<3||n[0]>e||a<e)&&(n[4]=r,n[5]=e,_.n=a,c=0))}if(t||1<r)return y;throw s=!0,e}}var y={};function g(){}function o(){}function a(){}var h=Object.getPrototypeOf,r=[][e]?h(h([][e]())):(_regeneratorDefine2(h={},e,function(){return this}),h),i=a.prototype=g[b(428)]=Object[b(433)](r);function c(r){var e=b;return Object[e(453)]?Object[e(453)](r,a):(r[e(462)]=a,_regeneratorDefine2(r,t,e(458))),r[e(428)]=Object.create(i),r}return o[b(428)]=a,_regeneratorDefine2(i,b(471),a),_regeneratorDefine2(a,b(471),o),o[b(466)]="GeneratorFunction",_regeneratorDefine2(a,t,"GeneratorFunction"),_regeneratorDefine2(i),_regeneratorDefine2(i,t,b(447)),_regeneratorDefine2(i,e,function(){return this}),_regeneratorDefine2(i,b(424),function(){return b(459)}),(_regenerator=function(){return{w:n,m:c}})()}function _regeneratorDefine2(r,e,t,n){var a=_0x44b8,i=Object[a(446)];try{i({},"",{})}catch(r){i=0}(_regeneratorDefine2=function(r,e,t,n){var o=a;e?i?i(r,e,{value:t,enumerable:!n,configurable:!n,writable:!n}):r[e]=t:((n=function(e,t){_regeneratorDefine2(r,e,function(r){return this[_0x44b8(469)](e,t,r)})})(o(435),0),n(o(427),1),n("return",2))})(r,e,t,n)}function asyncGeneratorStep(r,e,t,n,o,a,i){var c=_0x44b8;try{var u=r[a](i),f=u.value}catch(r){return void t(r)}u[c(448)]?e(f):Promise.resolve(f).then(n,o)}function _asyncToGenerator(u){return function(){var r=this,c=arguments;return new Promise(function(e,t){var n=_0x44b8,o=u[n(463)](r,c);function a(r){asyncGeneratorStep(o,e,t,a,i,n(435),r)}function i(r){asyncGeneratorStep(o,e,t,a,i,"throw",r)}a(void 0)})}}function _0x44b8(r,e){var t=_0x5746();return(_0x44b8=function(r,e){return t[r-=421]})(r,e)}(()=>{for(var r=_0x44b8,e=_0x5746();;)try{if(264585==+parseInt(r(421))+parseInt(r(431))/2+-parseInt(r(442))/3*(parseInt(r(455))/4)+-parseInt(r(443))/5+parseInt(r(439))/6*(-parseInt(r(423))/7)+parseInt(r(437))/8*(parseInt(r(432))/9)+parseInt(r(434))/10)break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var _require=require(_0x3c88ac(449)),BUILD_TARGET_QS=_require[_0x3c88ac(468)];module[_0x3c88ac(436)]={install:function(r){var e,t=_0x3c88ac;r[t(454)](t(450)).description(t(467))[t(422)]("-i, --input <input-directory>").requiredOption(t(445))[t(430)]("-c, --clear",t(425))[t(430)](t(470),t(451))[t(430)](t(426),t(457)).option("--targets [type]",t(444)[t(465)](BUILD_TARGET_QS)).action((e=_asyncToGenerator(_regenerator().m(function r(t){return _regenerator().w(function(r){for(var e=_0x44b8;;)switch(r.n){case 0:return r.n=1,require("../index")[e(450)](t);case 1:return r.a(2)}},r)})),function(r){return e.apply(this,arguments)}))}};
1
+ var _0x546095=_0x1646;function _0x1646(r,e){var t=_0x50cc();return(_0x1646=function(r,e){return t[r-=442]})(r,e)}function _0x50cc(){var r=["apply","prototype","defineProperty","_invoke","constructor","action","convert","throw","create","BUILD_TARGET_QS","bind","Validate path","function","resolve","setPrototypeOf","@@iterator","iterator result is not an object","' method","4196656HwQDmB","-i, --input <input-directory>","7832699ThRpJq","next","7669092ZDzTUz","then","return","call","3385134KmNmEI","981lyzGQN","Convert miniprogram project to ascf project","728kzrrgd","length","exports","2088760PWQuFZ","../common/constants.js","__proto__","GeneratorFunction","Build targets, atomicservice and ","The iterator does not provide a '","Generator","3759000SznGgI","command","Clear convert output path","Generator is already running","option","-notaddtodo, --notaddtodo","done","value","toString","getPrototypeOf","toStringTag"];return(_0x50cc=function(){return r})()}function _regenerator(){var l,y=_0x1646,r=y(469)==typeof Symbol?Symbol:{},e=r.iterator||y(472),t=r[y(456)]||"@@toStringTag";function n(r,e,t,n){var o,a,i,c,u,f,p,_,s,v,d=y,e=e&&e[d(458)]instanceof x?e:x,e=Object[d(465)](e[d(458)]);return _regeneratorDefine2(e,d(460),(o=r,a=t,_=n||[],s=!1,v={p:p=0,n:0,v:l,a:g,f:g[(f=d)(467)](l,4),d:function(r,e){return i=r,c=0,u=l,v.n=e,h}},function(r,e,t){var n=f;if(1<p)throw TypeError(n(449));for(s&&1===e&&g(e,t),c=e,u=t;(m=c<2?l:u)||!s;){i||(c?c<3?(1<c&&(v.n=-1),g(c,u)):v.n=u:v.v=u);try{if(p=2,i){if(c||(r=n(478)),m=i[r]){if(!(m=m[n(482)](i,u)))throw TypeError(n(473));if(!m[n(452)])return m;u=m[n(453)],c<2&&(c=0)}else 1===c&&(m=i[n(481)])&&m[n(482)](i),c<2&&(u=TypeError(n(444)+r+n(474)),c=1);i=l}else if((m=(s=v.n<0)?u:o[n(482)](a,v))!==h)break}catch(r){i=l,c=1,u=r}finally{p=1}}return{value:m,done:s}}),!0),e;function g(r,e){var t=f;for(c=r,u=e,m=0;!s&&p&&!n&&m<_[t(487)];m++){var n,o=_[m],a=v.p,i=o[2];3<r?(n=i===e)&&(u=o[(c=o[4])?5:c=3],o[4]=o[5]=l):o[0]<=a&&((n=r<2&&a<o[1])?(c=0,v.v=e,v.n=o[1]):a<i&&(n=r<3||o[0]>e||i<e)&&(o[4]=r,o[5]=e,v.n=i,c=0))}if(n||1<r)return h;throw s=!0,e}}var h={};function x(){}function o(){}function a(){}var m=Object[y(455)],r=[][e]?m(m([][e]())):(_regeneratorDefine2(m={},e,function(){return this}),m),i=a[y(458)]=x.prototype=Object[y(465)](r);function c(r){var e=y;return Object[e(471)]?Object.setPrototypeOf(r,a):(r[e(491)]=a,_regeneratorDefine2(r,t,e(442))),r[e(458)]=Object.create(i),r}return o[y(458)]=a,_regeneratorDefine2(i,y(461),a),_regeneratorDefine2(a,y(461),o),o.displayName="GeneratorFunction",_regeneratorDefine2(a,t,y(442)),_regeneratorDefine2(i),_regeneratorDefine2(i,t,y(445)),_regeneratorDefine2(i,e,function(){return this}),_regeneratorDefine2(i,y(454),function(){return"[object Generator]"}),(_regenerator=function(){return{w:n,m:c}})()}function _regeneratorDefine2(r,e,t,n){var a=_0x1646,i=Object[a(459)];try{i({},"",{})}catch(r){i=0}(_regeneratorDefine2=function(r,e,t,n){var o=a;e?i?i(r,e,{value:t,enumerable:!n,configurable:!n,writable:!n}):r[e]=t:((n=function(e,t){_regeneratorDefine2(r,e,function(r){return this[_0x1646(460)](e,t,r)})})(o(478),0),n(o(464),1),n(o(481),2))})(r,e,t,n)}function asyncGeneratorStep(r,e,t,n,o,a,i){var c=_0x1646;try{var u=r[a](i),f=u[c(453)]}catch(r){return void t(r)}u[c(452)]?e(f):Promise[c(470)](f)[c(480)](n,o)}function _asyncToGenerator(u){return function(){var r=this,c=arguments;return new Promise(function(e,t){var n=_0x1646,o=u[n(457)](r,c);function a(r){asyncGeneratorStep(o,e,t,a,i,"next",r)}function i(r){asyncGeneratorStep(o,e,t,a,i,n(464),r)}a(void 0)})}}(()=>{for(var r=_0x1646,e=_0x50cc();;)try{if(648338==+parseInt(r(484))*(-parseInt(r(486))/2)+parseInt(r(483))/3+parseInt(r(475))/4+-parseInt(r(446))/5+-parseInt(r(479))/6+parseInt(r(477))/7+-parseInt(r(489))/8)break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var _require=require(_0x546095(490)),BUILD_TARGET_QS=_require[_0x546095(466)];module[_0x546095(488)]={install:function(r){var e,t=_0x546095;r[t(447)](t(463)).description(t(485)).requiredOption(t(476)).requiredOption("-o, --output <output-directory>")[t(450)]("-c, --clear",t(448))[t(450)]("-va, --validate",t(468))[t(450)](t(451),"Not add todo for not supported api.").option("--targets [type]",t(443).concat(BUILD_TARGET_QS))[t(462)]((e=_asyncToGenerator(_regenerator().m(function r(t){return _regenerator().w(function(r){for(var e=_0x1646;;)switch(r.n){case 0:return r.n=1,require("../index")[e(463)](t);case 1:return r.a(2)}},r)})),function(r){return e[_0x1646(457)](this,arguments)}))}};
@@ -1 +1 @@
1
- var _0x1154e6=_0x48f7;function _0x48f7(e,r){var t=_0x39d8();return(_0x48f7=function(e,r){return t[e-=256]})(e,r)}function _regenerator(){var l,b=_0x48f7,e=b(261)==typeof Symbol?Symbol:{},r=e[b(285)]||b(280),t=e[b(278)]||b(266);function n(e,r,t,n){var o,a,i,c,u,f,s,v,d,p,_=b,r=r&&r[_(257)]instanceof h?r:h,r=Object[_(283)](r[_(257)]);return _regeneratorDefine2(r,_(274),(o=e,a=t,v=n||[],d=!1,p={p:s=0,n:0,v:l,a:g,f:g[(f=_)(264)](l,4),d:function(e,r){return i=e,c=0,u=l,p.n=r,y}},function(e,r,t){var n=f;if(1<s)throw TypeError(n(258));for(d&&1===r&&g(r,t),c=r,u=t;(x=c<2?l:u)||!d;){i||(c?c<3?(1<c&&(p.n=-1),g(c,u)):p.n=u:p.v=u);try{if(s=2,i){if(x=i[e=c?e:"next"]){if(!(x=x[n(297)](i,u)))throw TypeError(n(306));if(!x[n(310)])return x;u=x[n(265)],c<2&&(c=0)}else 1===c&&(x=i.return)&&x[n(297)](i),c<2&&(u=TypeError(n(270)+e+n(314)),c=1);i=l}else if((x=(d=p.n<0)?u:o[n(297)](a,p))!==y)break}catch(e){i=l,c=1,u=e}finally{s=1}}return{value:x,done:d}}),!0),r;function g(e,r){for(c=e,u=r,x=0;!d&&s&&!t&&x<v.length;x++){var t,n=v[x],o=p.p,a=n[2];3<e?(t=a===r)&&(u=n[(c=n[4])?5:c=3],n[4]=n[5]=l):n[0]<=o&&((t=e<2&&o<n[1])?(c=0,p.v=r,p.n=n[1]):o<a&&(t=e<3||n[0]>r||a<r)&&(n[4]=e,n[5]=r,p.n=a,c=0))}if(t||1<e)return y;throw d=!0,r}}var y={};function h(){}function o(){}function a(){}var x=Object.getPrototypeOf,e=[][r]?x(x([][r]())):(_regeneratorDefine2(x={},r,function(){return this}),x),i=a.prototype=h.prototype=Object[b(283)](e);function c(e){var r=b;return Object[r(315)]?Object[r(315)](e,a):(e[r(289)]=a,_regeneratorDefine2(e,t,r(312))),e[r(257)]=Object[r(283)](i),e}return o[b(257)]=a,_regeneratorDefine2(i,"constructor",a),_regeneratorDefine2(a,b(273),o),o[b(259)]="GeneratorFunction",_regeneratorDefine2(a,t,b(312)),_regeneratorDefine2(i),_regeneratorDefine2(i,t,"Generator"),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,b(275),function(){return"[object Generator]"}),(_regenerator=function(){return{w:n,m:c}})()}function _regeneratorDefine2(e,r,t,n){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}(_regeneratorDefine2=function(e,r,t,n){var o=_0x48f7;r?a?a(e,r,{value:t,enumerable:!n,configurable:!n,writable:!n}):e[r]=t:((n=function(r,t){_regeneratorDefine2(e,r,function(e){return this._invoke(r,t,e)})})(o(313),0),n("throw",1),n("return",2))})(e,r,t,n)}function asyncGeneratorStep(e,r,t,n,o,a,i){var c=_0x48f7;try{var u=e[a](i),f=u.value}catch(e){return void t(e)}u.done?r(f):Promise[c(256)](f).then(n,o)}function _asyncToGenerator(c){return function(){var e=this,i=arguments;return new Promise(function(r,t){var n=c.apply(e,i);function o(e){asyncGeneratorStep(n,r,t,o,a,"next",e)}function a(e){asyncGeneratorStep(n,r,t,o,a,_0x48f7(304),e)}o(void 0)})}}(()=>{for(var e=_0x48f7,r=_0x39d8();;)try{if(276477==-parseInt(e(299))*(-parseInt(e(269))/2)+-parseInt(e(305))/3*(parseInt(e(263))/4)+-parseInt(e(262))/5+-parseInt(e(293))/6+parseInt(e(284))/7*(-parseInt(e(303))/8)+parseInt(e(268))/9+parseInt(e(296))/10*(parseInt(e(301))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require(_0x1154e6(294)),AscfDebugger=_require[_0x1154e6(288)];function _0x39d8(){var e=["displayName","start-service","function","2175480HyiBQq","160yQPQnw","bind","value","@@toStringTag","action","4382604UKwvkm","24ZSnLBT","The iterator does not provide a '","default","select a device to debug","constructor","_invoke","toString","status","command","toStringTag","apply","@@iterator","start","debugger","create","898065lggGRv","iterator","-t, --deviceId [deviceId]","exports","AscfDebugger","__proto__","-o, --open <browser>","bundleName of debugging project","option","3304524AHDmBF","../../ascf-base","-b, --bundleName [bundleName]","1002160OIeYac","call","start-view","35434TYKThH",'Open default browser, "default","chrome","edge"',"88notwms","forEach","24JxUVAL","throw","5001BsEbEi","iterator result is not an object","stop","handle","description","done","stop-service","GeneratorFunction","next","' method","setPrototypeOf","resolve","prototype","Generator is already running"];return(_0x39d8=function(){return e})()}module[_0x1154e6(287)]={install:function(e){function t(n){return r=_asyncToGenerator(_regenerator().m(function e(t){return _regenerator().w(function(e){for(var r=_0x48f7;;)switch(e.n){case 0:new AscfDebugger(t)[r(308)](n);case 1:return e.a(2)}},e)})),function(e){return r[_0x48f7(279)](this,arguments)};var r}var n=_0x1154e6,o=e[n(277)](n(282))[n(309)]("Start or stop debugger");[n(276)][n(302)](function(e){var r=n;o[r(277)](e).description(e)[r(292)](r(295),r(291))[r(292)]("-t, --deviceId [deviceId]","select a device to debug")[r(267)](t(e))}),[n(281),n(298),n(260)][n(302)](function(e){var r=n;o[r(277)](e)[r(309)](e)[r(292)](r(290),r(300),r(271))[r(292)](r(295),r(291)).option("-t, --deviceId [deviceId]",r(272))[r(267)](t(e))}),[n(307),"stop-view",n(311)][n(302)](function(e){var r=n;o[r(277)](e)[r(309)](e)[r(292)](r(295),r(291))[r(292)](r(286),"select a device to debug")[r(267)](t(e))})}};
1
+ var _0x533f82=_0x5a4e;function _0x5a4e(e,r){var n=_0x5104();return(_0x5a4e=function(e,r){return n[e-=148]})(e,r)}function _regenerator(){var d,l=_0x5a4e,e="function"==typeof Symbol?Symbol:{},r=e.iterator||l(186),n=e.toStringTag||l(148);function t(e,r,n,t){var o,a,i,c,u,f,s,p,g,_=l,r=r&&r[_(179)]instanceof h?r:h,r=Object.create(r[_(179)]);return _regeneratorDefine2(r,_(181),(o=e,a=n,s=t||[],p=!1,g={p:f=0,n:0,v:d,a:v,f:v.bind(d,4),d:function(e,r){return i=e,c=0,u=d,g.n=r,b}},function(e,r,n){var t=_0x5a4e;if(1<f)throw TypeError(t(154));for(p&&1===r&&v(r,n),c=r,u=n;(m=c<2?d:u)||!p;){i||(c?c<3?(1<c&&(g.n=-1),v(c,u)):g.n=u:g.v=u);try{if(f=2,i){if(c||(e=t(183)),m=i[e]){if(!(m=m[t(170)](i,u)))throw TypeError(t(192));if(!m.done)return m;u=m[t(199)],c<2&&(c=0)}else 1===c&&(m=i.return)&&m[t(170)](i),c<2&&(u=TypeError("The iterator does not provide a '"+e+"' method"),c=1);i=d}else if((m=(p=g.n<0)?u:o.call(a,g))!==b)break}catch(e){i=d,c=1,u=e}finally{f=1}}return{value:m,done:p}}),!0),r;function v(e,r){var n=_0x5a4e;for(c=e,u=r,m=0;!p&&f&&!t&&m<s[n(175)];m++){var t,o=s[m],a=g.p,i=o[2];3<e?(t=i===r)&&(u=o[(c=o[4])?5:c=3],o[4]=o[5]=d):o[0]<=a&&((t=e<2&&a<o[1])?(c=0,g.v=r,g.n=o[1]):a<i&&(t=e<3||o[0]>r||i<r)&&(o[4]=e,o[5]=r,g.n=i,c=0))}if(t||1<e)return b;throw p=!0,r}}var b={};function h(){}function o(){}function a(){}var m=Object[l(196)],e=[][r]?m(m([][r]())):(_regeneratorDefine2(m={},r,function(){return this}),m),i=a.prototype=h[l(179)]=Object[l(180)](e);function c(e){var r=l;return Object[r(176)]?Object[r(176)](e,a):(e[r(193)]=a,_regeneratorDefine2(e,n,r(200))),e[r(179)]=Object[r(180)](i),e}return o[l(179)]=a,_regeneratorDefine2(i,l(161),a),_regeneratorDefine2(a,l(161),o),o.displayName="GeneratorFunction",_regeneratorDefine2(a,n,l(200)),_regeneratorDefine2(i),_regeneratorDefine2(i,n,l(204)),_regeneratorDefine2(i,r,function(){return this}),_regeneratorDefine2(i,l(162),function(){return"[object Generator]"}),(_regenerator=function(){return{w:t,m:c}})()}function _0x5104(){var e=["return","8CEtEqz","defineProperty","1575KzcrHW","throw","exports","call","start-view","command","5755452MjkTvm","resolve","length","setPrototypeOf","handle","112990hXhMln","prototype","create","_invoke","apply","next","then","485613ogVnlL","@@iterator","3KWnItb",'Open default browser, "default","chrome","edge"',"stop","start-service","AscfDebugger","iterator result is not an object","__proto__","select a device to debug","description","getPrototypeOf","bundleName of debugging project","status","value","GeneratorFunction","-t, --deviceId [deviceId]","772qRaUVw","debugger","Generator","@@toStringTag","action","default","option","1088215EthJDu","forEach","Generator is already running","-b, --bundleName [bundleName]","4740FaChWh","stop-view","1124844SBzGZW","6ZRtfGM","2277oWXfwC","constructor","toString","stop-service"];return(_0x5104=function(){return e})()}function _regeneratorDefine2(e,r,n,t){var a=_0x5a4e,i=Object[a(166)];try{i({},"",{})}catch(e){i=0}(_regeneratorDefine2=function(e,r,n,t){var o=a;r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:((t=function(r,n){_regeneratorDefine2(e,r,function(e){return this[_0x5a4e(181)](r,n,e)})})(o(183),0),t(o(168),1),t(o(164),2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,o,a,i){var c=_0x5a4e;try{var u=e[a](i),f=u[c(199)]}catch(e){return void n(e)}u.done?r(f):Promise[c(174)](f)[c(184)](t,o)}function _asyncToGenerator(u){return function(){var e=this,c=arguments;return new Promise(function(r,n){var t=_0x5a4e,o=u[t(182)](e,c);function a(e){asyncGeneratorStep(o,r,n,a,i,t(183),e)}function i(e){asyncGeneratorStep(o,r,n,a,i,t(168),e)}a(void 0)})}}(()=>{for(var e=_0x5a4e,r=_0x5104();;)try{if(113687==-parseInt(e(187))*(parseInt(e(178))/2)+-parseInt(e(167))/3*(parseInt(e(202))/4)+parseInt(e(152))/5*(parseInt(e(159))/6)+-parseInt(e(158))/7+-parseInt(e(165))/8*(parseInt(e(185))/9)+parseInt(e(156))/10*(-parseInt(e(160))/11)+parseInt(e(173))/12)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require("../../ascf-base"),AscfDebugger=_require[_0x533f82(191)];module[_0x533f82(169)]={install:function(e){function n(t){return r=_asyncToGenerator(_regenerator().m(function e(n){return _regenerator().w(function(e){for(var r=_0x5a4e;;)switch(e.n){case 0:new AscfDebugger(n)[r(177)](t);case 1:return e.a(2)}},e)})),function(e){return r[_0x5a4e(182)](this,arguments)};var r}var t=_0x533f82,o=e.command(t(203)).description("Start or stop debugger");[t(198)][t(153)](function(e){var r=t;o.command(e)[r(195)](e)[r(151)]("-b, --bundleName [bundleName]",r(197)).option(r(201),"select a device to debug").action(n(e))}),["start",t(171),t(190)][t(153)](function(e){var r=t;o.command(e)[r(195)](e)[r(151)]("-o, --open <browser>",r(188),r(150))[r(151)](r(155),r(197))[r(151)](r(201),r(194))[r(149)](n(e))}),[t(189),t(157),t(163)][t(153)](function(e){var r=t;o[r(172)](e)[r(195)](e)[r(151)](r(155),"bundleName of debugging project")[r(151)](r(201),"select a device to debug")[r(149)](n(e))})}};
@@ -1 +1 @@
1
- var _0x2a74a7=_0x1a67;function _0x1a67(e,r){var n=_0x5795();return(_0x1a67=function(e,r){return n[e-=436]})(e,r)}function _regenerator(){var v,y=_0x1a67,e=y(511)==typeof Symbol?Symbol:{},r=e[y(441)]||y(471),n=e[y(506)]||y(460);function t(e,r,n,t){var a,i,o,c,s,u,f,g,p,h,_=y,r=r&&r[_(474)]instanceof P?r:P,r=Object[_(508)](r[_(474)]);return _regeneratorDefine2(r,_(449),(a=e,i=n,g=t||[],p=!1,h={p:f=0,n:0,v:v,a:l,f:l[(u=_)(496)](v,4),d:function(e,r){return o=e,c=0,s=v,h.n=r,d}},function(e,r,n){var t=u;if(1<f)throw TypeError(t(500));for(p&&1===r&&l(r,n),c=r,s=n;(x=c<2?v:s)||!p;){o||(c?c<3?(1<c&&(h.n=-1),l(c,s)):h.n=s:h.v=s);try{if(f=2,o){if(x=o[e=c?e:"next"]){if(!(x=x[t(516)](o,s)))throw TypeError(t(473));if(!x[t(494)])return x;s=x.value,c<2&&(c=0)}else 1===c&&(x=o[t(444)])&&x[t(516)](o),c<2&&(s=TypeError("The iterator does not provide a '"+e+t(461)),c=1);o=v}else if((x=(p=h.n<0)?s:a[t(516)](i,h))!==d)break}catch(e){o=v,c=1,s=e}finally{f=1}}return{value:x,done:p}}),!0),r;function l(e,r){var n=u;for(c=e,s=r,x=0;!p&&f&&!t&&x<g[n(507)];x++){var t,a=g[x],i=h.p,o=a[2];3<e?(t=o===r)&&(s=a[(c=a[4])?5:c=3],a[4]=a[5]=v):a[0]<=i&&((t=e<2&&i<a[1])?(c=0,h.v=r,h.n=a[1]):i<o&&(t=e<3||a[0]>r||o<r)&&(a[4]=e,a[5]=r,h.n=o,c=0))}if(t||1<e)return d;throw p=!0,r}}var d={};function P(){}function a(){}function i(){}var x=Object[y(488)],e=[][r]?x(x([][r]())):(_regeneratorDefine2(x={},r,function(){return this}),x),o=i[y(474)]=P.prototype=Object[y(508)](e);function c(e){var r=y;return Object[r(495)]?Object[r(495)](e,i):(e.__proto__=i,_regeneratorDefine2(e,n,r(517))),e[r(474)]=Object[r(508)](o),e}return a[y(474)]=i,_regeneratorDefine2(o,y(468),i),_regeneratorDefine2(i,y(468),a),a[y(492)]=y(517),_regeneratorDefine2(i,n,y(517)),_regeneratorDefine2(o),_regeneratorDefine2(o,n,"Generator"),_regeneratorDefine2(o,r,function(){return this}),_regeneratorDefine2(o,"toString",function(){return y(452)}),(_regenerator=function(){return{w:t,m:c}})()}function _regeneratorDefine2(e,r,n,t){var i=_0x1a67,o=Object[i(438)];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[_0x1a67(449)](r,n,e)})})(a(453),0),t("throw",1),t(a(444),2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,a,i,o){var c=_0x1a67;try{var s=e[i](o),u=s.value}catch(e){return void n(e)}s[c(494)]?r(u):Promise[c(490)](u)[c(455)](t,a)}function _asyncToGenerator(s){return function(){var e=this,c=arguments;return new Promise(function(r,n){var t=_0x1a67,a=s[t(510)](e,c);function i(e){asyncGeneratorStep(a,r,n,i,o,t(453),e)}function o(e){asyncGeneratorStep(a,r,n,i,o,t(462),e)}i(void 0)})}}(()=>{for(var e=_0x1a67,r=_0x5795();;)try{if(725845==-parseInt(e(466))+parseInt(e(458))/2*(parseInt(e(475))/3)+-parseInt(e(480))/4+parseInt(e(465))/5*(parseInt(e(487))/6)+parseInt(e(476))/7+-parseInt(e(456))/8+-parseInt(e(501))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var fs=require("fs"),path=require(_0x2a74a7(486)),cachedir=require(_0x2a74a7(472)),signTools=require("../../ascf-sign-tools"),log4js=require("../../common/log4js"),logger=log4js[_0x2a74a7(436)]("ascf-sign-tools");function _0x5795(){var e=["join","3760636sqeoxx","generate-p12","mkdirSync","--sign-profile-path [path]","printFp","p12 File Path","path","678AQXDzn","getPrototypeOf","error","resolve","signPublicKeyPath","displayName","genCert","done","setPrototypeOf","bind","finally","description","-r, --projectRoot [projectRoot]","Generator is already running","3160332KunFgm","tmp sign dir ","sign/certificate.pem","genP12","action","toStringTag","length","create","concat","apply","function","certificate.pem","Sign public key path","sign/ascf-build.p12","--sign-public-key-path [path]","call","GeneratorFunction","getLogger","-i, --input <input-directory>","defineProperty","requiredOption","genCertAndP12 error","iterator","signProfilePath","catch","return","Sign tools to generate keypair, p12 file and view fingerprint","View Fingerprint","debug","rmSync","_invoke","existsSync","option","[object Generator]","next","input","then","7529760krBGIT","generate keypair","1154auCrOy","dirname","@@toStringTag","' method","throw","private.pem","signtools","17870oGGARU","30669ESEOqp","warn","constructor","sign/private.pem","ascf-cache-tmp-sign","@@iterator","cachedir","iterator result is not an object","prototype","6489TJcuNO","9359896nkJEpf","--sign-pwd [pwd]","command"];return(_0x5795=function(){return e})()}function ensureDir(e){var r=_0x2a74a7,e=path[r(459)](e);return fs.existsSync(e)||fs[r(482)](e,{recursive:!0}),e}function getParams(e){var r=_0x2a74a7,n=e.projectRoot,t=e.signPrivateKeyPath,a=e.signPublicKeyPath,i=e[r(442)],e=e.signPwd;return{signPrivateKeyPath:t=n&&!t?path[r(479)](n,r(469)):t,signPublicKeyPath:a=n&&!a?path[r(479)](n,r(503)):a,signProfilePath:i=n&&!i?path.join(n,r(514)):i,signPwd:e}}function genCertAndP12(e,r){return _genCertAndP[_0x2a74a7(510)](this,arguments)}function _genCertAndP(){var e=_0x2a74a7;return(_genCertAndP=_asyncToGenerator(_regenerator().m(function e(r,t){var a,i,o;return _regenerator().w(function(e){for(var n=_0x1a67;;)if(0===e.n)return a=cachedir(n(470)),logger[n(447)](n(502)[n(509)](a)),i=path[n(479)](a,n(463)),o=path[n(479)](a,n(512)),ensureDir(i),e.a(2,signTools[n(493)](i,o).then(function(){return signTools[n(504)](r,i,o,t)})[n(443)](function(e){var r=n;logger[r(489)](r(440),e)})[n(497)](function(){fs[n(448)](a,{recursive:!0,force:!0})}))},e)})))[e(510)](this,arguments)}module.exports={install:function(e){var r,n,t,a=_0x2a74a7,e=e.command(a(464))[a(498)](a(445));e.command("generate-keypair")[a(498)](a(457))[a(451)](a(499),"projectRoot")[a(451)]("--sign-private-key-path [path]","Sign private key path")[a(451)](a(515),a(513))[a(505)]((t=_asyncToGenerator(_regenerator().m(function e(n){var t,a;return _regenerator().w(function(e){for(var r=_0x1a67;;)if(0===e.n)return a=getParams(n),t=a.signPrivateKeyPath,a=a[r(491)],ensureDir(t),ensureDir(a),e.a(2,signTools[r(493)](t,a))},e)})),function(e){return t[_0x1a67(510)](this,arguments)})),e[a(478)](a(481))[a(498)]("generate p12")[a(451)](a(499),"projectRoot")[a(451)]("--sign-private-key-path [path]","Sign private key path")[a(451)](a(515),a(513))[a(451)](a(483),a(485))[a(439)](a(477),"Password of the p12 file")[a(505)]((n=_asyncToGenerator(_regenerator().m(function e(n){var t,a,i,o;return _regenerator().w(function(e){for(var r=_0x1a67;;)switch(e.n){case 0:if(o=getParams(n),t=o.signPrivateKeyPath,a=o[r(491)],i=o.signProfilePath,o=o.signPwd,ensureDir(i),fs[r(450)](t)&&fs.existsSync(a)){e.n=1;break}return logger[r(467)](r(457)),e.a(2,genCertAndP12(i,o));case 1:return e.a(2,signTools[r(504)](i,t,a,o))}},e)})),function(e){return n[_0x1a67(510)](this,arguments)})),e[a(478)]("printFp").description(a(446)).requiredOption(a(437)).action((r=_asyncToGenerator(_regenerator().m(function e(n){return _regenerator().w(function(e){for(var r=_0x1a67;;)switch(e.n){case 0:signTools[r(484)](n[r(454)]);case 1:return e.a(2)}},e)})),function(e){return r[_0x1a67(510)](this,arguments)}))}};
1
+ var _0x4c10ef=_0x4ddb;function _0x5170(){var e=["call","genP12","mkdirSync","--sign-profile-path [path]","The iterator does not provide a '","__proto__","dirname","-r, --projectRoot [projectRoot]","certificate.pem","resolve","12eyRySn","create","Sign public key path","signPublicKeyPath","Sign tools to generate keypair, p12 file and view fingerprint","displayName","generate keypair","--sign-pwd [pwd]","869354waWMba","' method","private.pem","[object Generator]","Generator","18kkJvng","_invoke","bind","iterator","generate-p12","2442430BlYjdi","join","prototype","concat","Sign private key path","apply","rmSync","genCertAndP12 error","@@toStringTag","signPwd","2197320pTspTp","throw","13044XhXEdr","next","command","printFp","sign/ascf-build.p12","GeneratorFunction","action","-i, --input <input-directory>","sign/private.pem","genCert","1402863TfYVlM","path","function","projectRoot","generate-keypair","ascf-cache-tmp-sign","requiredOption","--sign-public-key-path [path]","Password of the p12 file","return","677072HeNxTL","getLogger","existsSync","catch","Generator is already running","../../common/log4js","p12 File Path","signProfilePath","--sign-private-key-path [path]","defineProperty","description","signPrivateKeyPath","132NelkBm","option","finally","setPrototypeOf","length","4490003EOYruR","value","278DQeyoa","iterator result is not an object","constructor","toString","done","error","then","ascf-sign-tools","8aYfYHn"];return(_0x5170=function(){return e})()}function _regenerator(){var l,y=_0x4ddb,e=y(372)==typeof Symbol?Symbol:{},r=e[y(346)]||"@@iterator",n=e.toStringTag||y(356);function t(e,r,n,t){var o,i,a,c,s,u,f,p,g,d,_=y,r=r&&r[_(350)]instanceof b?r:b,r=Object[_(419)](r.prototype);return _regeneratorDefine2(r,_(344),(o=e,i=n,p=t||[],g=!1,d={p:f=0,n:0,v:l,a:h,f:h[(u=_)(345)](l,4),d:function(e,r){return a=e,c=0,s=l,d.n=r,v}},function(e,r,n){var t=u;if(1<f)throw TypeError(t(384));for(g&&1===r&&h(r,n),c=r,s=n;(x=c<2?l:s)||!g;){a||(c?c<3?(1<c&&(d.n=-1),h(c,s)):d.n=s:d.v=s);try{if(f=2,a){if(x=a[e=c?e:"next"]){if(!(x=x[t(408)](a,s)))throw TypeError(t(400));if(!x[t(403)])return x;s=x[t(398)],c<2&&(c=0)}else 1===c&&(x=a[t(379)])&&x[t(408)](a),c<2&&(s=TypeError(t(412)+e+t(427)),c=1);a=l}else if((x=(g=d.n<0)?s:o.call(i,d))!==v)break}catch(e){a=l,c=1,s=e}finally{f=1}}return{value:x,done:g}}),!0),r;function h(e,r){var n=u;for(c=e,s=r,x=0;!g&&f&&!t&&x<p[n(396)];x++){var t,o=p[x],i=d.p,a=o[2];3<e?(t=a===r)&&(s=o[(c=o[4])?5:c=3],o[4]=o[5]=l):o[0]<=i&&((t=e<2&&i<o[1])?(c=0,d.v=r,d.n=o[1]):i<a&&(t=e<3||o[0]>r||a<r)&&(o[4]=e,o[5]=r,d.n=a,c=0))}if(t||1<e)return v;throw g=!0,r}}var v={};function b(){}function o(){}function i(){}var x=Object.getPrototypeOf,e=[][r]?x(x([][r]())):(_regeneratorDefine2(x={},r,function(){return this}),x),a=i.prototype=b.prototype=Object[y(419)](e);function c(e){var r=y;return Object[r(395)]?Object.setPrototypeOf(e,i):(e[r(413)]=i,_regeneratorDefine2(e,n,r(365))),e[r(350)]=Object[r(419)](a),e}return o.prototype=i,_regeneratorDefine2(a,y(401),i),_regeneratorDefine2(i,"constructor",o),o[y(423)]=y(365),_regeneratorDefine2(i,n,"GeneratorFunction"),_regeneratorDefine2(a),_regeneratorDefine2(a,n,y(430)),_regeneratorDefine2(a,r,function(){return this}),_regeneratorDefine2(a,y(402),function(){return y(429)}),(_regenerator=function(){return{w:t,m:c}})()}function _regeneratorDefine2(e,r,n,t){var i=_0x4ddb,a=Object[i(389)];try{a({},"",{})}catch(e){a=0}(_regeneratorDefine2=function(e,r,n,t){var o=i;r?a?a(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:((t=function(r,n){_regeneratorDefine2(e,r,function(e){return this[_0x4ddb(344)](r,n,e)})})(o(361),0),t(o(359),1),t(o(379),2))})(e,r,n,t)}function asyncGeneratorStep(e,r,n,t,o,i,a){var c=_0x4ddb;try{var s=e[i](a),u=s[c(398)]}catch(e){return void n(e)}s[c(403)]?r(u):Promise[c(417)](u).then(t,o)}function _asyncToGenerator(c){return function(){var e=this,a=arguments;return new Promise(function(r,n){var t=c.apply(e,a);function o(e){asyncGeneratorStep(t,r,n,o,i,_0x4ddb(361),e)}function i(e){asyncGeneratorStep(t,r,n,o,i,_0x4ddb(359),e)}o(void 0)})}}(()=>{for(var e=_0x4ddb,r=_0x5170();;)try{if(649456==+parseInt(e(426))+parseInt(e(399))/2*(parseInt(e(360))/3)+-parseInt(e(380))/4+-parseInt(e(348))/5*(parseInt(e(418))/6)+parseInt(e(397))/7*(-parseInt(e(407))/8)+-parseInt(e(343))/9*(parseInt(e(358))/10)+-parseInt(e(370))/11*(-parseInt(e(392))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var fs=require("fs"),path=require(_0x4c10ef(371)),cachedir=require("cachedir"),signTools=require("../../ascf-sign-tools"),log4js=require(_0x4c10ef(385)),logger=log4js[_0x4c10ef(381)](_0x4c10ef(406));function ensureDir(e){var r=_0x4c10ef,e=path[r(414)](e);return fs[r(382)](e)||fs[r(410)](e,{recursive:!0}),e}function getParams(e){var r=_0x4c10ef,n=e.projectRoot,t=e[r(391)],o=e[r(421)],i=e[r(387)],e=e.signPwd;return{signPrivateKeyPath:t=n&&!t?path[r(349)](n,r(368)):t,signPublicKeyPath:o=n&&!o?path.join(n,"sign/certificate.pem"):o,signProfilePath:i=n&&!i?path.join(n,r(364)):i,signPwd:e}}function genCertAndP12(e,r){return _genCertAndP.apply(this,arguments)}function _0x4ddb(e,r){var n=_0x5170();return(_0x4ddb=function(e,r){return n[e-=343]})(e,r)}function _genCertAndP(){var e=_0x4c10ef;return(_genCertAndP=_asyncToGenerator(_regenerator().m(function e(r,t){var o,i,a;return _regenerator().w(function(e){for(var n=_0x4ddb;;)if(0===e.n)return o=cachedir(n(375)),logger.debug("tmp sign dir "[n(351)](o)),i=path[n(349)](o,n(428)),a=path[n(349)](o,n(416)),ensureDir(i),e.a(2,signTools[n(369)](i,a)[n(405)](function(){return signTools.genP12(r,i,a,t)})[n(383)](function(e){var r=n;logger[r(404)](r(355),e)})[n(394)](function(){fs[n(354)](o,{recursive:!0,force:!0})}))},e)})))[e(353)](this,arguments)}module.exports={install:function(e){var r,n,t,o=_0x4c10ef,e=e[o(362)]("signtools")[o(390)](o(422));e.command(o(374))[o(390)](o(424)).option(o(415),"projectRoot").option(o(388),o(352))[o(393)](o(377),o(420)).action((t=_asyncToGenerator(_regenerator().m(function e(n){var t,o;return _regenerator().w(function(e){for(var r=_0x4ddb;;)if(0===e.n)return o=getParams(n),t=o[r(391)],o=o[r(421)],ensureDir(t),ensureDir(o),e.a(2,signTools[r(369)](t,o))},e)})),function(e){return t.apply(this,arguments)})),e[o(362)](o(347))[o(390)]("generate p12").option(o(415),o(373))[o(393)]("--sign-private-key-path [path]",o(352))[o(393)]("--sign-public-key-path [path]","Sign public key path")[o(393)](o(411),o(386))[o(376)](o(425),o(378))[o(366)]((n=_asyncToGenerator(_regenerator().m(function e(n){var t,o,i,a;return _regenerator().w(function(e){for(var r=_0x4ddb;;)switch(e.n){case 0:if(a=getParams(n),t=a[r(391)],o=a[r(421)],i=a[r(387)],a=a[r(357)],ensureDir(i),fs[r(382)](t)&&fs[r(382)](o)){e.n=1;break}return logger.warn("generate keypair"),e.a(2,genCertAndP12(i,a));case 1:return e.a(2,signTools[r(409)](i,t,o,a))}},e)})),function(e){return n[_0x4ddb(353)](this,arguments)})),e[o(362)](o(363)).description("View Fingerprint")[o(376)](o(367)).action((r=_asyncToGenerator(_regenerator().m(function e(n){return _regenerator().w(function(e){for(var r=_0x4ddb;;)switch(e.n){case 0:signTools[r(363)](n.input);case 1:return e.a(2)}},e)})),function(e){return r[_0x4ddb(353)](this,arguments)}))}};
@@ -1 +1 @@
1
- var _0x3f15c9=_0x36db;function _0x1714(){var e=["movable-area","slider","checkbox-group","text","277809HVmDrv","textarea","picker-view","1793090eoNbnt","canvas","input","picker","switch","radio-group","video","picker-view-column","11PEzaSJ","web-view","19878zhBcst","label","255200lLbhXu","Map","image","isProd","12252942aOaFvY","configs","2574696ssZAqP","development","NODE_ENV","1462760ORXytk","30GNtaKj","icon","button","swiper"];return(_0x1714=function(){return e})()}function _0x36db(e,r){var t=_0x1714();return(_0x36db=function(e,r){return t[e-=288]})(e,r)}(()=>{for(var e=_0x36db,r=_0x1714();;)try{if(321079==-parseInt(e(313))*(parseInt(e(315))/2)+parseInt(e(294))/3*(-parseInt(e(317))/4)+parseInt(e(305))/5+-parseInt(e(290))/6+-parseInt(e(302))/7+-parseInt(e(293))/8+parseInt(e(288))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var configs={notaddtodo:!1,parser:"babel",devtool:void 0,componentList:[_0x3f15c9(298),"movable-view","scroll-view",_0x3f15c9(297),"swiper-item","view",_0x3f15c9(295),"progress","rich-text",_0x3f15c9(301),_0x3f15c9(296),"checkbox",_0x3f15c9(300),"form",_0x3f15c9(307),_0x3f15c9(316),_0x3f15c9(308),_0x3f15c9(304),_0x3f15c9(312),"radio",_0x3f15c9(310),_0x3f15c9(299),_0x3f15c9(309),_0x3f15c9(303),"navigator",_0x3f15c9(319),_0x3f15c9(311),"camera",_0x3f15c9(318),_0x3f15c9(306),_0x3f15c9(314)],templateHoist:!1,ascfLazyImportFiles:{},skipApiValidator:!0,serve:!1,deviceId:!1,isProd:function(){var e=_0x3f15c9;return process.env[e(292)]!==e(291)},isInjectDebugTimer:function(){return!configs[_0x3f15c9(320)]()},requiredComponents:[],tabBarUsingComponents:{},tabBarList:[],asyncJsList:{},jsLoaderList:new Set};exports[_0x3f15c9(289)]=configs;
1
+ function _0x3a9d(c,e){var r=_0x3e42();return(_0x3a9d=function(c,e){return r[c-=292]})(c,e)}var _0x21c69c=_0x3a9d;function _0x3e42(){var c=["54IiTvXS","18tUfwJp","video","472715ogCCYa","camera","image","swiper","slider","72EXWkLK","75255DPrwGq","691977MsVXaR","env","163051wxFhBV","progress","picker-view-column","NODE_ENV","navigator","checkbox-group","checkbox","scroll-view","input","configs","movable-view","switch","label","4QPxsHl","text","radio","154881eGRqQx","development","rich-text","72830Wpdlyg","babel","canvas","swiper-item","109566osEkly","web-view","form","view","textarea","movable-area"];return(_0x3e42=function(){return c})()}(()=>{for(var c=_0x3a9d,e=_0x3e42();;)try{if(171612==+parseInt(c(321))+parseInt(c(306))/2+-parseInt(c(299))/3*(parseInt(c(296))/4)+parseInt(c(315))/5*(parseInt(c(313))/6)+-parseInt(c(324))/7*(parseInt(c(320))/8)+-parseInt(c(312))/9*(parseInt(c(302))/10)+parseInt(c(322))/11)break;e.push(e.shift())}catch(c){e.push(e.shift())}})();var configs={notaddtodo:!1,parser:_0x21c69c(303),devtool:void 0,componentList:[_0x21c69c(311),_0x21c69c(293),_0x21c69c(331),_0x21c69c(318),_0x21c69c(305),_0x21c69c(309),"icon",_0x21c69c(325),_0x21c69c(301),_0x21c69c(297),"button",_0x21c69c(330),_0x21c69c(329),_0x21c69c(308),_0x21c69c(332),_0x21c69c(295),"picker","picker-view",_0x21c69c(326),_0x21c69c(298),"radio-group",_0x21c69c(319),_0x21c69c(294),_0x21c69c(310),_0x21c69c(328),_0x21c69c(317),_0x21c69c(314),_0x21c69c(316),"Map",_0x21c69c(304),_0x21c69c(307)],templateHoist:!1,ascfLazyImportFiles:{},skipApiValidator:!0,serve:!1,deviceId:!1,isProd:function(){var c=_0x21c69c;return process[c(323)][c(327)]!==c(300)},isInjectDebugTimer:function(){return!configs.isProd()},requiredComponents:[],tabBarUsingComponents:{},tabBarList:[],asyncJsList:{},jsLoaderList:new Set,isRelease:!0};exports[_0x21c69c(292)]=configs;
@@ -1 +1 @@
1
- var _0x582058=_0x5806;function _0x31b2(){var r=["185ikDkxn","4027347PpWNhT","atomicservice","2379418pTcxlD","2018216DrFcHF","28602cXcisG","6618425KysbaB","3lRPJAF","1188061vBIiHU","exports","14sieVYk","30nnOSsR","2962716szUadL"];return(_0x31b2=function(){return r})()}function _0x5806(r,n){var t=_0x31b2();return(_0x5806=function(r,n){return t[r-=190]})(r,n)}(()=>{for(var r=_0x5806,n=_0x31b2();;)try{if(946686==-parseInt(r(199))+parseInt(r(194))/2+-parseInt(r(198))/3*(parseInt(r(190))/4)+-parseInt(r(191))/5*(parseInt(r(196))/6)+-parseInt(r(201))/7*(-parseInt(r(195))/8)+-parseInt(r(192))/9+parseInt(r(202))/10*(parseInt(r(197))/11))break;n.push(n.shift())}catch(r){n.push(n.shift())}})();var BUILD_TARGET_AS=_0x582058(193),BUILD_TARGET_QS="crossAtomicService";module[_0x582058(200)]={BUILD_TARGET_AS:BUILD_TARGET_AS,BUILD_TARGET_QS:BUILD_TARGET_QS};
1
+ var _0x2374ee=_0x3bb3;function _0x2f78(){var r=["115tJnSep","crossAtomicService","104260KInaOq","282QkvBdi","10991112NrzQpM","25656650Widfxq","165384LapXCQ","16xRUKTP","886770DPBiZX","exports","10921545BmGKoL","130319KOwLlS"];return(_0x2f78=function(){return r})()}function _0x3bb3(r,e){var t=_0x2f78();return(_0x3bb3=function(r,e){return t[r-=167]})(r,e)}(()=>{for(var r=_0x3bb3,e=_0x2f78();;)try{if(687875==-parseInt(r(178))*(-parseInt(r(177))/2)+parseInt(r(167))/3+-parseInt(r(173))/4*(-parseInt(r(171))/5)+-parseInt(r(174))/6*(-parseInt(r(170))/7)+parseInt(r(175))/8+-parseInt(r(169))/9+-parseInt(r(176))/10)break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var BUILD_TARGET_AS="atomicservice",BUILD_TARGET_QS=_0x2374ee(172);module[_0x2374ee(168)]={BUILD_TARGET_AS:BUILD_TARGET_AS,BUILD_TARGET_QS:BUILD_TARGET_QS};
@@ -1 +1 @@
1
- function _0x1235(e,r){var t=_0x150f();return(_0x1235=function(e,r){return t[e-=217]})(e,r)}function _0x150f(){var e=["8842689PBfbty","8IMTKqF","34994zhdExC","ASCF_LOG_FILE","21613920gCdrPP","5055827zjmWhg","5419338lWBVeD","22QOudKV","1672SxYuki","1314291vFlvOh","setLoggerConfig","getLogger","13395gdKTVO","exports"];return(_0x150f=function(){return e})()}var _0x232075=_0x1235,_require=((()=>{for(var e=_0x1235,r=_0x150f();;)try{if(701118==+parseInt(e(217))*(parseInt(e(226))/2)+parseInt(e(219))/3+-parseInt(e(218))/4*(parseInt(e(222))/5)+-parseInt(e(230))/6+-parseInt(e(229))/7*(-parseInt(e(225))/8)+-parseInt(e(224))/9+parseInt(e(228))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}})(),require("../ascf-base")),ASCF_LOG_FILE=_require[_0x232075(227)],setLoggerConfig=_require[_0x232075(220)],getLogger=_require[_0x232075(221)];module[_0x232075(223)]={ASCF_LOG_FILE:ASCF_LOG_FILE,setLoggerConfig:setLoggerConfig,getLogger:getLogger};
1
+ function _0x2714(){var e=["578130NEupNV","16689360YAimQj","228408hejnrt","1563332UehXRh","981842fVmcBn","161PdyGIx","setLoggerConfig","5bcAWNm","ASCF_LOG_FILE","3nfafgo","54HwqqVi","11QQGjXy","73398PIoxWD","4112580LXZHIO","exports"];return(_0x2714=function(){return e})()}function _0xc1f3(e,r){var t=_0x2714();return(_0xc1f3=function(e,r){return t[e-=484]})(e,r)}var _0x41e992=_0xc1f3,_require=((()=>{for(var e=_0xc1f3,r=_0x2714();;)try{if(368865==+parseInt(e(487))+-parseInt(e(494))/2*(parseInt(e(484))/3)+parseInt(e(493))/4*(parseInt(e(497))/5)+-parseInt(e(488))/6+-parseInt(e(495))/7*(parseInt(e(492))/8)+-parseInt(e(485))/9*(-parseInt(e(490))/10)+-parseInt(e(486))/11*(-parseInt(e(491))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}})(),require("../ascf-base")),ASCF_LOG_FILE=_require[_0x41e992(498)],setLoggerConfig=_require[_0x41e992(496)],getLogger=_require.getLogger;module[_0x41e992(489)]={ASCF_LOG_FILE:ASCF_LOG_FILE,setLoggerConfig:setLoggerConfig,getLogger:getLogger};
@@ -1 +1 @@
1
- var _0x46fdcb=_0xb326;function _typeof(r){var t=_0xb326;return(_typeof=t(463)==typeof Symbol&&t(421)==typeof Symbol[t(418)]?function(r){return typeof r}:function(r){var e=t;return r&&e(463)==typeof Symbol&&r.constructor===Symbol&&r!==Symbol[e(403)]?e(421):typeof r})(r)}function _classCallCheck(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(r,e){for(var t=_0xb326,n=0;n<e[t(429)];n++){var o=e[n];o[t(416)]=o.enumerable||!1,o.configurable=!0,t(391)in o&&(o[t(415)]=!0),Object[t(407)](r,_toPropertyKey(o[t(377)]),o)}}function _createClass(r,e,t){var n=_0xb326;return e&&_defineProperties(r[n(403)],e),t&&_defineProperties(r,t),Object.defineProperty(r,n(403),{writable:!1}),r}function _toPropertyKey(r){var e=_0xb326,r=_toPrimitive(r,e(465));return e(421)==_typeof(r)?r:r+""}function _toPrimitive(r,e){var t=_0xb326;if(t(422)!=_typeof(r)||!r)return r;var n=r[Symbol[t(390)]];if(void 0===n)return("string"===e?String:Number)(r);n=n[t(370)](r,e||"default");if(t(422)!=_typeof(n))return n;throw new TypeError(t(388))}function _0x59ad(){var r=["reduce","4295904MVbqut","map","key","true","@@iterator","startTime","done","showCompileTime","Set","noteCount","FAIL ","SyntaxError","hasErrors","@@toPrimitive must return a primitive value.","warnings","toPrimitive","value","compilation","1088796ZoBCrJ","includes","options","11KVqwnz","constructor","printCompileResult","./log4js.js","extraInfo","from","endTime","prototype","9604557DCgXpH","calculate","origin","defineProperty","file","dropRepeat","concat","86gzJKnX","getTime","\nCOMPILE RESULT:SUCCESS","warnCount","writable","enumerable","ERROR: ","iterator","displayErrors"," ms","symbol","object","3956dVxyBB","test","1900vKMDUU","undefined","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","name","length",", elapsed: ","ASCF_LOG_FILE","fatal","info","Map","50973aBaQYm","7DJCEVg","assign","stringify","hooks","warningCount","Error: ","errorCount","exports","beginTime","1464073OTcPIk","round","errors","env","logger-plugin","compileTime: ","SUCCESS ","\nCOMPILE RESULT:","apply","26064960TzQTCZ","message","isArray","forEach","formatters","warning","showtime","error","replace","function","Module not found","string","call","BuildLogOutputPlugin","transformers","resource"];return(_0x59ad=function(){return r})()}function _0xb326(r,e){var t=_0x59ad();return(_0xb326=function(r,e){return t[r-=370]})(r,e)}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0xb326(427))}function _unsupportedIterableToArray(r,e){var t,n=_0xb326;if(r)return n(465)==typeof r?_arrayLikeToArray(r,e):("Object"===(t={}.toString[n(370)](r).slice(8,-1))&&r.constructor&&(t=r[n(397)].name),n(434)===t||n(383)===t?Array[n(401)](r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,e):void 0)}function _iterableToArray(r){var e=_0xb326;if(e(426)!=typeof Symbol&&null!=r[Symbol[e(418)]]||null!=r[e(379)])return Array[e(401)](r)}function _arrayWithoutHoles(r){if(Array[_0xb326(456)](r))return _arrayLikeToArray(r)}function _arrayLikeToArray(r,e){var t=_0xb326;(null==e||e>r.length)&&(e=r[t(429)]);for(var n=0,o=Array(e);n<e;n++)o[n]=r[n];return o}(()=>{for(var r=_0xb326,e=_0x59ad();;)try{if(747641==-parseInt(r(445))+-parseInt(r(411))/2*(parseInt(r(435))/3)+-parseInt(r(423))/4*(parseInt(r(425))/5)+parseInt(r(393))/6*(parseInt(r(436))/7)+-parseInt(r(375))/8+parseInt(r(404))/9+-parseInt(r(454))/10*(-parseInt(r(396))/11))break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var TYPE=_0x46fdcb(464),log4js=require(_0x46fdcb(399)),logger=log4js.getLogger(_0x46fdcb(449));function defaultFormatter(r,e){return r.reduce(function(r,e){var t=_0xb326;return[][t(410)](_toConsumableArray(r),["\n"[t(410)](e[t(455)])])},[])}function babelSyntaxError(r){var e=_0x46fdcb;return isBabelSyntaxError(r)&&(r[e(455)]=cleanStackTrace(r[e(455)])),r}function isBabelSyntaxError(r){var e=_0x46fdcb;return"ModuleBuildError"===r.name&&r[e(455)][e(394)](e(386))}function cleanStackTrace(r){var e=_0x46fdcb;return r.replace(/^\s*at\s.*:\d+:\d+[\s\)]*\n/gm,"")[e(462)](/^Module build failed.*:\s/,e(441))}function moduleNotFoundError(r){var e,t=_0x46fdcb;return"ModuleNotFoundError"===r[t(428)]&&r[t(455)][t(394)](TYPE)&&(r[t(455)]=r[t(455)].replace(TYPE,t(417)[t(410)](TYPE)),e=r[t(406)]&&r[t(406)][t(373)])&&(r[t(455)]+="\n@ ".concat(e)),r}var defaultFormatters=[defaultFormatter],defaultTransformers=[babelSyntaxError,moduleNotFoundError];function extractError(r){var e=_0x46fdcb;return{message:r.message,file:r[e(408)],origin:r.origin,name:r[e(428)],severity:0,webpackError:r}}function cleanMessage(r){var e=_0x46fdcb;return r[e(462)]("(Emitted value instead of an instance of Error) ","")[e(462)](/Module Warning[^\n]+\n/,"")[e(462)](/Module Error[^\n]+\n/,"")}function transformErrors(r,e){function t(r,e){return e(r)}var n=_0x46fdcb;return r.map(extractError)[n(376)](function(r){return e[_0xb326(374)](t,r)})}function formatErrors(e,r,t){var n=_0x46fdcb;return r[n(376)](function(r){return r(e,t)||[]})[n(374)](function(r,e){return r[_0xb326(410)](e)},[])}function getCompileTime(r){var e=_0x46fdcb,t=r[e(402)],r=r[e(380)];logger[e(433)](e(450)[e(410)](t-r,e(420)))}function _dropRepeat(r){var n=_0x46fdcb;return r[n(374)](function(r,t){var e=n;return r.some(function(r){var e=_0xb326;return r[e(455)]===t[e(455)]})?r:r[e(410)](t)},[])}var BuildLogOutputPlugin=(()=>{var l=_0x46fdcb;return _createClass(function r(){var e=_0xb326,t=0<arguments[e(429)]&&void 0!==arguments[0]?arguments[0]:{},n=t[e(382)],n=void 0!==n&&n,t=t[e(395)];_classCallCheck(this,r),this[e(442)]=0,this[e(440)]=0,this[e(384)]=0,this[e(382)]=n||process[e(448)][e(460)]===e(378),this[e(458)]=defaultFormatters,this[e(372)]=defaultTransformers,this.options=t},[{key:l(453),value:function(r){var u=l,s=this;r[u(439)][u(381)].tap(u(371),function(e){var t=u,r=(s[t(409)](e),e[t(392)]),n=r[t(447)],o=r[t(389)],a=e[t(387)](),i=e.hasWarnings();setTimeout(function(){var r=t;a&&s[r(419)](n,r(461)),i&&s.displayErrors(o,r(459)),s[r(405)](e,n,o),s[r(398)](),s[r(382)]&&getCompileTime(e)})})}},{key:l(409),value:function(r){var e=l;r[e(392)][e(389)]=_dropRepeat(r[e(392)][e(389)]),r.compilation[e(447)]=_dropRepeat(r.compilation[e(447)])}},{key:"calculate",value:function(r,e){var t=l,n=this,o=2<arguments[t(429)]&&void 0!==arguments[2]?arguments[2]:[],r=r[t(392)][t(400)]||{},a=r[t(442)],a=void 0===a?0:a,i=r[t(414)],i=void 0===i?0:i,r=r[t(384)],r=void 0===r?0:r;this.errorCount=e[t(429)]+a,this.warningCount=i,this.noteCount=r,o[t(457)](function(r){var e=t,r=r[e(455)];/^NOTE:/[e(424)](cleanMessage(r))?n.noteCount++:n[e(440)]++})}},{key:l(398),value:function(){var r,e=l,t=this.errorCount,n=this.warningCount,o=this.noteCount,a=(new Date)[e(412)]()-global[e(444)],a=e(430)+Math[e(446)](a/1e3)+"s\n\nYou can check full log: "+log4js[e(431)];0<t+n+o?(r=e(t?385:451),n=Object[e(437)]({},t?{ERROR:t}:{},n?{WARN:n}:{},o?{NOTE:o}:{}),t?logger[e(432)](e(452)[e(410)](r)[e(410)](JSON[e(438)](n))+a):logger.warn("\nCOMPILE RESULT:".concat(r)[e(410)](JSON[e(438)](n))+a)):logger[e(433)](e(413)+a)}},{key:l(419),value:function(r,t){var n=l;formatErrors(transformErrors(r,this[n(372)]),this.formatters,t)[n(457)](function(r){var e=n;t===e(461)&&logger[e(461)](cleanMessage(r)),t===e(459)&&logger.warn(cleanMessage(r))})}},{key:"getBuildMsg",value:function(r,e){var t=l;return formatErrors(transformErrors(r,this[t(372)]),this[t(458)],e).map(function(r){return cleanMessage(r)})}}])})();module[_0x46fdcb(443)]=BuildLogOutputPlugin;
1
+ var _0x32c660=_0x4521;function _typeof(r){var t=_0x4521;return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol[t(215)]?function(r){return typeof r}:function(r){var e=t;return r&&e(255)==typeof Symbol&&r[e(232)]===Symbol&&r!==Symbol[e(206)]?"symbol":typeof r})(r)}function _classCallCheck(r,e){var t=_0x4521;if(!(r instanceof e))throw new TypeError(t(230))}function _defineProperties(r,e){for(var t=_0x4521,n=0;n<e[t(177)];n++){var o=e[n];o[t(220)]=o[t(220)]||!1,o.configurable=!0,t(219)in o&&(o[t(241)]=!0),Object[t(217)](r,_toPropertyKey(o[t(197)]),o)}}function _createClass(r,e,t){var n=_0x4521;return e&&_defineProperties(r.prototype,e),t&&_defineProperties(r,t),Object[n(217)](r,n(206),{writable:!1}),r}function _toPropertyKey(r){var e=_0x4521,r=_toPrimitive(r,e(162));return e(195)==_typeof(r)?r:r+""}function _toPrimitive(r,e){var t=_0x4521;if(t(221)!=_typeof(r)||!r)return r;var n=r[Symbol[t(175)]];if(void 0===n)return(t(162)===e?String:Number)(r);n=n.call(r,e||"default");if(t(221)!=_typeof(n))return n;throw new TypeError(t(211))}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x4521(163))}function _unsupportedIterableToArray(r,e){var t,n=_0x4521;if(r)return n(162)==typeof r?_arrayLikeToArray(r,e):"Map"===(t="Object"===(t={}.toString[n(201)](r).slice(8,-1))&&r[n(232)]?r[n(232)].name:t)||"Set"===t?Array[n(209)](r):n(187)===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(223)](t)?_arrayLikeToArray(r,e):void 0}function _iterableToArray(r){var e=_0x4521;if(e(168)!=typeof Symbol&&null!=r[Symbol[e(215)]]||null!=r[e(176)])return Array[e(209)](r)}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _arrayLikeToArray(r,e){var t=_0x4521;(null==e||e>r[t(177)])&&(e=r[t(177)]);for(var n=0,o=Array(e);n<e;n++)o[n]=r[n];return o}(()=>{for(var r=_0x4521,e=_0x4ce2();;)try{if(269180==+parseInt(r(243))+-parseInt(r(166))/2*(parseInt(r(235))/3)+-parseInt(r(165))/4+parseInt(r(252))/5+parseInt(r(184))/6*(-parseInt(r(237))/7)+parseInt(r(245))/8*(-parseInt(r(181))/9)+parseInt(r(234))/10*(parseInt(r(248))/11))break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var TYPE=_0x32c660(199),log4js=require(_0x32c660(192)),logger=log4js.getLogger(_0x32c660(186));function defaultFormatter(r,e){var n=_0x32c660;return r[n(240)](function(r,e){var t=n;return[][t(179)](_toConsumableArray(r),["\n"[t(179)](e[t(204)])])},[])}function babelSyntaxError(r){var e=_0x32c660;return isBabelSyntaxError(r)&&(r[e(204)]=cleanStackTrace(r[e(204)])),r}function isBabelSyntaxError(r){var e=_0x32c660;return r.name===e(251)&&r[e(204)].includes("SyntaxError")}function cleanStackTrace(r){var e=_0x32c660;return r[e(196)](/^\s*at\s.*:\d+:\d+[\s\)]*\n/gm,"")[e(196)](/^Module build failed.*:\s/,e(244))}function moduleNotFoundError(r){var e,t=_0x32c660;return r[t(253)]===t(238)&&r.message[t(213)](TYPE)&&(r[t(204)]=r[t(204)][t(196)](TYPE,t(216)[t(179)](TYPE)),e=r[t(218)]&&r.origin[t(207)])&&(r[t(204)]+=t(190)[t(179)](e)),r}var defaultFormatters=[defaultFormatter],defaultTransformers=[babelSyntaxError,moduleNotFoundError];function extractError(r){var e=_0x32c660;return{message:r[e(204)],file:r[e(203)],origin:r[e(218)],name:r[e(253)],severity:0,webpackError:r}}function cleanMessage(r){var e=_0x32c660;return r[e(196)](e(193),"")[e(196)](/Module Warning[^\n]+\n/,"")[e(196)](/Module Error[^\n]+\n/,"")}function transformErrors(r,e){function t(r,e){return e(r)}var n=_0x32c660;return r[n(250)](extractError)[n(250)](function(r){return e.reduce(t,r)})}function _0x4521(r,e){var t=_0x4ce2();return(_0x4521=function(r,e){return t[r-=161]})(r,e)}function formatErrors(e,r,t){var n=_0x32c660;return r[n(250)](function(r){return r(e,t)||[]})[n(240)](function(r,e){return r[_0x4521(179)](e)},[])}function _0x4ce2(){var r=["logger-plugin","Arguments","printCompileResult","compileTime: ","\n@ ","transformers","./log4js.js","(Emitted value instead of an instance of Error) ","done","symbol","replace","key","endTime","Module not found","round","call","warningCount","file","message","formatters","prototype","resource","getBuildMsg","from","fatal","@@toPrimitive must return a primitive value.","warnCount","includes","showCompileTime","iterator","ERROR: ","defineProperty","origin","value","enumerable","object"," ms","test","some","errorCount","\nCOMPILE RESULT:","ASCF_LOG_FILE","calculate","warning","Cannot call a class as a function","startTime","constructor","beginTime","6998820jGWJSZ","849501iOohPB","stringify","21ifWhwq","ModuleNotFoundError","hasWarnings","reduce","writable","apply","33949ylSqvo","Error: ","3234208IMeRwv","errors","compilation","22ycdmNr","error","map","ModuleBuildError","513435AHWXpf","name","extraInfo","function","tap","noteCount","warn","\n\nYou can check full log: ","hasErrors","string","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","hooks","1720800JsaQiG","2aLAyCe","BuildLogOutputPlugin","undefined",", elapsed: ","info","getTime","warnings","options","dropRepeat","toPrimitive","@@iterator","length","displayErrors","concat","\nCOMPILE RESULT:SUCCESS","9NibVuW","assign","FAIL ","299154NfatUF","forEach"];return(_0x4ce2=function(){return r})()}function getCompileTime(r){var e=_0x32c660,t=r[e(198)],r=r[e(231)];logger[e(170)](e(189)[e(179)](t-r,e(222)))}function _dropRepeat(r){return r.reduce(function(r,e){var t=_0x4521;return r[t(224)](function(r){return r[t(204)]===e.message})?r:r[t(179)](e)},[])}var BuildLogOutputPlugin=(()=>{var l=_0x32c660;return _createClass(function r(){var e=_0x4521,t=0<arguments[e(177)]&&void 0!==arguments[0]?arguments[0]:{},n=t[e(214)],n=void 0!==n&&n,t=t.options;_classCallCheck(this,r),this.errorCount=0,this[e(202)]=0,this[e(257)]=0,this[e(214)]=n||"true"===process.env.showtime,this[e(205)]=defaultFormatters,this.transformers=defaultTransformers,this[e(173)]=t},[{key:l(242),value:function(r){var u=l,s=this;r[u(164)][u(194)][u(256)](u(167),function(e){var t=u,r=(s[t(174)](e),e[t(247)]),n=r[t(246)],o=r[t(172)],a=e[t(161)](),i=e[t(239)]();setTimeout(function(){var r=t;a&&s.displayErrors(n,r(249)),i&&s.displayErrors(o,r(229)),s[r(228)](e,n,o),s[r(188)](),s[r(214)]&&getCompileTime(e)})})}},{key:"dropRepeat",value:function(r){var e=l;r.compilation[e(172)]=_dropRepeat(r[e(247)][e(172)]),r[e(247)][e(246)]=_dropRepeat(r.compilation[e(246)])}},{key:l(228),value:function(r,e){var t=l,n=this,o=2<arguments[t(177)]&&void 0!==arguments[2]?arguments[2]:[],r=r[t(247)][t(254)]||{},a=r[t(225)],a=void 0===a?0:a,i=r[t(212)],i=void 0===i?0:i,r=r[t(257)],r=void 0===r?0:r;this.errorCount=e[t(177)]+a,this[t(202)]=i,this[t(257)]=r,o[t(185)](function(r){var e=t,r=r[e(204)];/^NOTE:/[e(223)](cleanMessage(r))?n[e(257)]++:n[e(202)]++})}},{key:"printCompileResult",value:function(){var r,e=l,t=this[e(225)],n=this[e(202)],o=this[e(257)],a=(new Date)[e(171)]()-global[e(233)],a=e(169)+Math[e(200)](a/1e3)+"s"+e(259)+log4js[e(227)];0<t+n+o?(r=t?e(183):"SUCCESS ",n=Object[e(182)]({},t?{ERROR:t}:{},n?{WARN:n}:{},o?{NOTE:o}:{}),t?logger[e(210)](e(226).concat(r).concat(JSON[e(236)](n))+a):logger[e(258)](e(226)[e(179)](r)[e(179)](JSON[e(236)](n))+a)):logger.info(e(180)+a)}},{key:l(178),value:function(r,t){var n=l;formatErrors(transformErrors(r,this.transformers),this[n(205)],t)[n(185)](function(r){var e=n;t===e(249)&&logger.error(cleanMessage(r)),"warning"===t&&logger[e(258)](cleanMessage(r))})}},{key:l(208),value:function(r,e){var t=l;return formatErrors(transformErrors(r,this[t(191)]),this[t(205)],e)[t(250)](function(r){return cleanMessage(r)})}}])})();module.exports=BuildLogOutputPlugin;
@@ -1 +1 @@
1
- function _0x269c(r,t){var n=_0x2659();return(_0x269c=function(r,t){return n[r-=283]})(r,t)}var _0x3e6fab=_0x269c;function _0x2659(){var r=["9819276uwuXZX","value","11ShxlSg","20YfCtuF","directives","1978461wHhiAv","exports","1GgyEya","2878016KmuVwt","9804QjVHHc","12HwUFrK","1238800BZGYIO","382403DAGVju","69442hIlXMm","length","435WVBvqH"];return(_0x2659=function(){return r})()}(()=>{for(var r=_0x269c,t=_0x2659();;)try{if(220487==+parseInt(r(287))*(parseInt(r(293))/2)+parseInt(r(295))/3*(-parseInt(r(289))/4)+-parseInt(r(291))/5+parseInt(r(290))/6*(-parseInt(r(292))/7)+-parseInt(r(288))/8+-parseInt(r(285))/9*(-parseInt(r(283))/10)+-parseInt(r(298))/11*(-parseInt(r(296))/12))break;t.push(t.shift())}catch(r){t.push(t.shift())}})(),module[_0x3e6fab(286)]=function(){return{visitor:{Program:{exit:function(r){for(var t=_0x269c,n=r.node[t(284)],e=n[t(294)]-1;0<=e;e--)"use strict"===n[e][t(297)][t(297)]&&n.splice(e,1)}}}}};
1
+ var _0x1d4340=_0x3e87;function _0x421b(){var r=["42DilFPx","2013664wTitrA","exports","splice","33XSLaDy","41ywJPug","266uHiAYD","2922080PetyhO","355386tpKjgH","directives","length","use strict","10538pSwPzI","392100QRsFgc","23928QCxoLA","value","4551984qbfcTL"];return(_0x421b=function(){return r})()}function _0x3e87(r,t){var e=_0x421b();return(_0x3e87=function(r,t){return e[r-=134]})(r,t)}(()=>{for(var r=_0x3e87,t=_0x421b();;)try{if(400281==-parseInt(r(146))*(-parseInt(r(136))/2)+-parseInt(r(149))/3+-parseInt(r(142))/4+-parseInt(r(137))/5*(-parseInt(r(141))/6)+parseInt(r(147))/7*(-parseInt(r(138))/8)+-parseInt(r(140))/9+-parseInt(r(148))/10*(-parseInt(r(145))/11))break;t.push(t.shift())}catch(r){t.push(t.shift())}})(),module[_0x1d4340(143)]=function(){return{visitor:{Program:{exit:function(r){for(var t=_0x3e87,e=r.node[t(150)],n=e[t(134)]-1;0<=n;n--)e[n][t(139)][t(139)]===t(135)&&e[t(144)](n,1)}}}}};
@@ -1 +1 @@
1
- function _0x13ce(r,e){var n=_0x9d59();return(_0x13ce=function(r,e){return n[r-=468]})(r,e)}function _0x9d59(){var r=["replace","3819235LcILQD","102kdtCcU","10hpkyiT","68155iDyFGf","411323UhOGEG","28022yaOKmt","replaceAll","384800NobgUR","13675833nlilgz","798072Hizdbw","282GDIocz"];return(_0x9d59=function(){return r})()}(()=>{for(var r=_0x13ce,e=_0x9d59();;)try{if(340829==-parseInt(r(477))+-parseInt(r(478))/2*(parseInt(r(474))/3)+-parseInt(r(468))/4+parseInt(r(476))/5*(-parseInt(r(471))/6)+parseInt(r(473))/7+-parseInt(r(470))/8+-parseInt(r(469))/9*(-parseInt(r(475))/10))break;e.push(e.shift())}catch(r){e.push(e.shift())}})(),exports.replaceAll=function(r,e,n){var t=_0x13ce;return String.prototype.replaceAll?null==r?void 0:r[t(479)](e,n):(e=e[t(472)](/[.*+?^${}()|[\]\\]/g,"\\$&"),e=new RegExp(e,"g"),null==r?void 0:r[t(472)](e,n))};
1
+ var _0x10586e=_0x1213;function _0x8040(){var r=["2711850PKErJl","361230qhNsNE","prototype","replace","38785dbRsSR","4022263YEBydA","9BBbWdA","721896QkwVpx","\\$&","591124WRApkR","8ZwhUNu","replaceAll","117fvDJNY","1835135dBWZUS"];return(_0x8040=function(){return r})()}function _0x1213(r,e){var n=_0x8040();return(_0x1213=function(r,e){return n[r-=143]})(r,e)}(()=>{for(var r=_0x1213,e=_0x8040();;)try{if(358378==+parseInt(r(147))*(-parseInt(r(153))/2)+parseInt(r(149))/3*(parseInt(r(152))/4)+-parseInt(r(156))/5+parseInt(r(143))/6+-parseInt(r(148))/7+parseInt(r(150))/8+-parseInt(r(155))/9*(-parseInt(r(144))/10))break;e.push(e.shift())}catch(r){e.push(e.shift())}})(),exports[_0x10586e(154)]=function(r,e,n){var t=_0x10586e;return String[t(145)].replaceAll?null==r?void 0:r[t(154)](e,n):(e=e[t(146)](/[.*+?^${}()|[\]\\]/g,t(151)),e=new RegExp(e,"g"),null==r?void 0:r[t(146)](e,n))};
@@ -1 +1 @@
1
- var _0x13889f=_0x2bf2;function _createForOfIteratorHelper(r,e){var t,o,n,i,a=_0x2bf2,s=a(154)!=typeof Symbol&&r[Symbol[a(146)]]||r[a(196)];if(s)return n=!(o=!0),{s:function(){s=s[a(190)](r)},n:function(){var r=a,e=s[r(153)]();return o=e[r(187)],e},e:function(r){n=!0,t=r},f:function(){var r=a;try{o||null==s[r(116)]||s[r(116)]()}finally{if(n)throw t}}};if(Array.isArray(r)||(s=_unsupportedIterableToArray(r))||e&&r&&a(110)==typeof r[a(128)])return s&&(r=s),i=0,{s:e=function(){},n:function(){return i>=r.length?{done:!0}:{done:!1,value:r[i++]}},e:function(r){throw r},f:e};throw new TypeError(a(193))}function _0x344b(){var r=["tools","ascf/ascf_src","TOOLKIT_PATH","configs","production","map","babel","skipApiValidator","Moving files error:","env","module","Arguments","templateHoist","clear","iterator","disableSubpackages","ascf_src","Object","ascf_build","Map","toolchains","next","undefined","copyFileSync","columnNumber","openharmony","getBundleName","mkdirSync","path","handleResolveAlias","7mNploA","swc","src","prototype","utf-8","projectRoot","hvigor","app.json5","C:\\Program Files\\Huawei\\DevEco Studio\\bin","getEntryPkgPath","moveFiles","198mmiYNe","sync","writeFileSync","abilities","platform","resolve","toString","338PeOYUT","hdc","warn","projectCfg","constructor","2493825lldvqq","node.exe","done","all","isFile","call","hasHxml","projectPath","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","ascf","trim","@@iterator","stringify","error","getModuleNames","win32","startsWith","existsSync","concat","ascf/ascf_src/base.hxml","rimraf","parse","./config","readFileSync","srcPath","readdirSync","replace","getNodePath","initConfigs","/Applications/DevEco-Studio.app/Contents/tools","isDirectory","child_process","default","exec cmd error","AppScope","mode","json5","false","endsWith","NODE_ENV","development","value","app","isOSX","1117kIUXZK","forEach","join","hvigorw","build-profile.json5","slice","keys","test","bin","true","499764fmHwdk","main","sort","getHvigorwPath","RAWFILE_DIR","3176766hBXxth","4176294oNOGGi","apply","name","sdk","hasOwnProperty","node_modules","execSafe","src/main/resources/rawfile","number","parse json file error at ","3633928VeZkEI","232228JBlnuY","bundleName","node","return","debug","./log4js.js","clearResource","utf8","darwin","split","10nnxapP","shift","getEntryPkgPath error, build-profile.json5 file modules is null","yes","[object Object]","length",".hxml","modules","3ucjwms"];return(_0x344b=function(){return r})()}function _unsupportedIterableToArray(r,e){var t,o=_0x2bf2;if(r)return"string"==typeof r?_arrayLikeToArray(r,e):(t={}[o(179)][o(190)](r)[o(234)](8,-1),o(149)===t&&r[o(184)]&&(t=r[o(184)].name),o(151)===t||"Set"===t?Array.from(r):o(143)===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[o(236)](t)?_arrayLikeToArray(r,e):void 0)}function _arrayLikeToArray(r,e){var t=_0x2bf2;(null==e||e>r[t(128)])&&(e=r[t(128)]);for(var o=0,n=Array(e);o<e;o++)n[o]=r[o];return n}(()=>{for(var r=_0x2bf2,e=_0x344b();;)try{if(474617==-parseInt(r(229))*(-parseInt(r(180))/2)+-parseInt(r(131))/3*(parseInt(r(113))/4)+parseInt(r(185))/5+parseInt(r(245))/6+-parseInt(r(162))/7*(parseInt(r(112))/8)+parseInt(r(244))/9*(parseInt(r(123))/10)+-parseInt(r(173))/11*(parseInt(r(239))/12))break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var rimraf=require(_0x13889f(205)),fs=require("fs"),path=require(_0x13889f(160)),JSON5=require(_0x13889f(221)),os=require("os"),_require=require(_0x13889f(216)),execSync=_require.execSync,json5=require(_0x13889f(221)),log4js=require(_0x13889f(118)),_require2=require(_0x13889f(207)),configs=_require2[_0x13889f(135)],logger=log4js.getLogger("common-utils"),curProjectPath=null,curProjectInfo=null;function getProjectInfo(){var r,e,t,o=_0x13889f;return process[o(141)][o(167)]===curProjectPath&&curProjectInfo||(e=readProjectCfgJson(r=process[o(141)][o(167)]||process.cwd())||{},t=path[o(178)](r,o(133)),t=e.ascfRoot?path.resolve(t,e.ascfRoot):t,o=path[o(178)](r,o(194),o(150)),curProjectInfo={projectPath:curProjectPath=r,projectCfg:e,ascfSrcPath:t,ascfBuildPath:o}),curProjectInfo}function initOptions(r){var e,t=_0x13889f;for(e in r)Object[t(165)][t(249)][t(190)](r,e)&&(r[e]===t(222)&&(r[e]=!1),r[e]===t(238))&&(r[e]=!0)}function readJsonFile(e){var t=_0x13889f;if(!fs[t(202)](e))return{};var r={};try{r=JSON5[t(206)](fs[t(208)](e,t(166))[t(179)]()||"{}")}catch(r){throw new Error(t(111)[t(203)](e,":").concat(r.lineNumber,":")[t(203)](r[t(156)]," "))}return r}function writeJsonFile(r,e){var t=_0x13889f;try{fs[t(175)](r,JSON.stringify(e,null,2))}catch(r){throw"ERROR: Write JSON file failed: "[t(203)](r)}}function readProjectCfgJson(r){var e,t=_0x13889f,r=path[t(231)](r,"ascf",t(148),"ascf.config.json");return e=fs[t(202)](r)?JSON[t(206)](fs[t(208)](r)[t(179)]()):e}function _0x2bf2(r,e){var t=_0x344b();return(_0x2bf2=function(r,e){return t[r-=107]})(r,e)}function isOSX(){var r=_0x13889f;return os[r(177)]()===r(121)}function hasHxml(r){var e=_0x13889f;try{var t,o=_createForOfIteratorHelper(fs[e(210)](r,{withFileTypes:!0}));try{for(o.s();!(t=o.n()).done;){var n=t[e(226)],i=path.join(r,n[e(247)]);if(n.isFile()&&n[e(247)].endsWith(e(129))||n[e(215)]()&&n[e(247)]!==e(107)&&hasHxml(i))return!0}}catch(r){o.e(r)}finally{o.f()}}catch(r){logger[e(198)]("find Hxml error:",r)}return!1}function moveFiles(n,i){var a=_0x13889f;try{fs[a(159)](i,{recursive:!0}),fs[a(210)](n,{withFileTypes:!0})[a(230)](function(r){var e=a,t=path[e(231)](n,r[e(247)]),o=path[e(231)](i,r[e(247)]);r[e(189)]()?fs[e(155)](t,o):r[e(215)]()&&r[e(247)]!==e(107)&&moveFiles(t,o)})}catch(r){logger[a(198)](a(140),r)}}function handleResolveAlias(r,e){var t,o=_0x13889f,n=_createForOfIteratorHelper(Object[o(235)](e)[o(241)](function(r,e){var t=o;return e[t(128)]-r[t(128)]}));try{for(n.s();!(t=n.n())[o(187)];){var i,a,s,f=t[o(226)];if(f.endsWith("/*")&&e[f][o(223)]("/*"))if(r[o(201)](f.slice(0,-1))||r===f[o(234)](0,-1))return i=e[f].slice(0,-1),a=r[o(234)](f.length-1),s=(s=path[o(231)](i,a)[o(211)](/\\/g,"/"))[o(201)]("/")?s:"/"+s}}catch(r){n.e(r)}finally{n.f()}return r}function getEntryPkgPath(){var r,e=_0x13889f,t=getProjectInfo().projectPath,o=readJsonFile(path[e(178)](t,e(233)));if(0<(null==o||null==(r=o[e(130)])?void 0:r[e(128)]))return path[e(231)](t,o[e(130)][0][e(209)]);logger.fatal(e(125))}function deepMerge(r){for(var e=_0x13889f,t=arguments[e(128)],o=new Array(1<t?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(!o[e(128)])return r;var i=o[e(124)]();if(!i)return deepMerge.apply(void 0,[r].concat(o));for(var a=0,s=Object[e(235)](i);a<s[e(128)];a++){var f=s[a],c=i[f];isObject(c)?(null==r[f]&&(r[f]={}),deepMerge(r[f],c)):void 0!==c&&(r[f]=c)}return deepMerge[e(246)](void 0,[r][e(203)](o))}function isObject(r){var e=_0x13889f;return Object.prototype[e(179)][e(190)](r)===e(127)}function getIdeBinPath(){var r=_0x13889f,e=null==(e=process[r(141)]["DevEco Studio"]||process[r(141)].DEVECO_DIR)?void 0:e[r(122)](";")[0][r(195)](),t=e||r(214),e=e||r(170);return isOSX()?t:e}function adjustPathByPlatform(r){var e=_0x13889f;return isOSX()?r:'"'[e(203)](r,'"')}function getPath(){for(var r=_0x13889f,e=getIdeBinPath(),t=arguments[r(128)],o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return adjustPathByPlatform(path[r(231)][r(246)](path,[e].concat(o)))}exports.getProjectInfo=getProjectInfo,exports[_0x13889f(243)]=_0x13889f(109),exports[_0x13889f(134)]=path[_0x13889f(231)](__dirname,"..",".."),exports[_0x13889f(213)]=function(r,e){var t=_0x13889f,o=(initOptions(e),getProjectInfo()),n=e.watch||e.serve||void 0!==e[t(220)]&&e.mode!==t(136);process.env[t(224)]&&!n||(process[t(141)].NODE_ENV=n?t(225):"production"),deepMerge(configs,o[t(183)],e),process[t(141)].clearResource=n||configs[t(145)]?t(126):"no",configs.parser=configs[t(163)]?t(163):t(138),void 0===configs[t(144)]&&fs.existsSync(path[t(178)](r,t(204)))&&(configs[t(144)]=!0),configs[t(144)]=!!configs[t(144)],configs[t(139)]=n||configs.skipApiValidator!==t(222)&&configs[t(139)],configs[t(147)]=configs.serve||(void 0===configs[t(147)]?!!n:configs[t(147)]),logger[t(117)]("configs is: "[t(203)](JSON[t(197)](configs)))},exports[_0x13889f(119)]=function(r){var e=_0x13889f;return Promise[e(188)](r[e(137)](function(e){if(fs.existsSync(e))return new Promise(function(r){rimraf[_0x2bf2(174)](e),r()})}))},exports.readJsonFile=readJsonFile,exports.writeJsonFile=writeJsonFile,exports[_0x13889f(228)]=isOSX,exports[_0x13889f(191)]=hasHxml,exports[_0x13889f(172)]=moveFiles,exports[_0x13889f(161)]=handleResolveAlias,exports[_0x13889f(171)]=getEntryPkgPath,exports.deepMerge=deepMerge,exports[_0x13889f(108)]=function(r){var e,t=_0x13889f,o=1<arguments[t(128)]&&void 0!==arguments[1]?arguments[1]:{};try{return null==(e=execSync(r,o))?void 0:e.toString(t(120))}catch(r){logger[t(182)](t(218),r)}},exports[_0x13889f(199)]=function(){var r,e,t=_0x13889f,o=getEntryPkgPath(),o=path[t(231)](o,t(164),t(240),"module.json5");if(fs[t(202)](o))return e=fs[t(208)](o,t(166)),{name:null==(e=json5.parse(e))||null==(r=e[t(142)])?void 0:r[t(247)],entryAbility:null==e||null==(r=e[t(142)])||null==(r=r[t(176)])?void 0:r.map(function(r){return r[t(247)]})};throw new Error("".concat(o," is not found"))},exports[_0x13889f(158)]=function(){var r,e=_0x13889f,t=getProjectInfo()[e(192)],t=path.join(t,e(219),e(169));if(fs[e(202)](t))return r=fs[e(208)](t,e(166)),null==(r=json5[e(206)](r))||null==(r=r[e(227)])?void 0:r[e(114)];throw new Error(""[e(203)](t," is not found"))},exports[_0x13889f(212)]=function(){var r=_0x13889f,e=getIdeBinPath(),e=path.join(e,"..",r(132),r(115));r(115);return adjustPathByPlatform(isOSX()?path[r(231)](e,r(115)):path.join(e,r(186)))},exports[_0x13889f(242)]=function(){var r=_0x13889f;return getPath("..",r(132),r(168),r(237),r(232))},exports.getHdcPath=function(){var r=_0x13889f;return getPath("..",r(248),r(217),r(157),r(152),process[r(177)]===r(200)?"hdc.exe":r(181))};
1
+ var _0x1749c9=_0x52fc;function _createForOfIteratorHelper(r,e){var t,o,n,a,c=_0x52fc,i=c(381)!=typeof Symbol&&r[Symbol.iterator]||r[c(489)];if(i)return n=!(o=!0),{s:function(){i=i.call(r)},n:function(){var r=i[c(403)]();return o=r.done,r},e:function(r){n=!0,t=r},f:function(){var r=c;try{o||null==i[r(468)]||i[r(468)]()}finally{if(n)throw t}}};if(Array[c(492)](r)||(i=_unsupportedIterableToArray(r))||e&&r&&c(375)==typeof r[c(466)])return i&&(r=i),a=0,{s:e=function(){},n:function(){return a>=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(r){throw r},f:e};throw new TypeError(c(405))}function _unsupportedIterableToArray(r,e){var t,o=_0x52fc;if(r)return o(505)==typeof r?_arrayLikeToArray(r,e):(t={}.toString[o(444)](r)[o(481)](8,-1),o(438)===t&&r[o(383)]&&(t=r[o(383)].name),o(515)===t||o(417)===t?Array[o(457)](r):o(411)===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[o(478)](t)?_arrayLikeToArray(r,e):void 0)}function _arrayLikeToArray(r,e){var t=_0x52fc;(null==e||e>r[t(466)])&&(e=r[t(466)]);for(var o=0,n=Array(e);o<e;o++)n[o]=r[o];return n}(()=>{for(var r=_0x52fc,e=_0x6aba();;)try{if(982249==+parseInt(r(431))+parseInt(r(397))/2*(parseInt(r(387))/3)+parseInt(r(394))/4*(parseInt(r(384))/5)+-parseInt(r(491))/6+-parseInt(r(503))/7*(parseInt(r(447))/8)+parseInt(r(372))/9*(-parseInt(r(477))/10)+-parseInt(r(434))/11*(-parseInt(r(448))/12))break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var rimraf=require(_0x1749c9(413)),fs=require("fs"),path=require("path"),JSON5=require(_0x1749c9(374)),os=require("os"),_require=require("child_process"),execSync=_require[_0x1749c9(463)],json5=require(_0x1749c9(374)),log4js=require(_0x1749c9(462)),_require2=require(_0x1749c9(388)),configs=_require2[_0x1749c9(428)],logger=log4js.getLogger(_0x1749c9(453)),curProjectPath=null,curProjectInfo=null;function getProjectInfo(){var r,e,t,o=_0x1749c9;return process[o(450)][o(416)]===curProjectPath&&curProjectInfo||(e=readProjectCfgJson(r=process[o(450)][o(416)]||process[o(418)]())||{},t=path[o(404)](r,o(482)),t=e[o(488)]?path[o(404)](t,e[o(488)]):t,o=path[o(404)](r,"ascf",o(456)),curProjectInfo={projectPath:curProjectPath=r,projectCfg:e,ascfSrcPath:t,ascfBuildPath:o}),curProjectInfo}exports.getProjectInfo=getProjectInfo,exports[_0x1749c9(499)]=_0x1749c9(445),exports.TOOLKIT_PATH=path.join(__dirname,"..","..");var SECURE_KEYS=["deviceId",_0x1749c9(430),_0x1749c9(514)];function logJsonStr(r){var o=_0x1749c9;return JSON[o(436)](r,function(r,e){var t=o;return SECURE_KEYS[t(391)](r)?null!=e?t(440):void 0:e})}function fixUniapp(r,e){var t=_0x1749c9,r=path[t(404)](r,"ascf/ascf_src/common/vendor.js");fs[t(490)](r)&&((null==(r=fs[t(441)](r,t(498)))?void 0:r[t(391)](t(458)))||(null==r?void 0:r.includes(t(464))))&&(e.disableSubpackages=!1)}function initOptions(r){var e,t=_0x1749c9;for(e in r)Object.prototype[t(396)].call(r,e)&&(r[e]===t(419)&&(r[e]=!1),r[e]===t(511))&&(r[e]=!0)}function readJsonFile(e){var t=_0x1749c9;if(!fs.existsSync(e))return{};var r={};try{r=JSON5[t(504)](fs[t(441)](e,"utf-8")[t(377)]()||"{}")}catch(r){throw new Error("parse json file error at "[t(378)](e,":")[t(378)](r[t(371)],":").concat(r[t(402)]," "))}return r}function _0x52fc(r,e){var t=_0x6aba();return(_0x52fc=function(r,e){return t[r-=370]})(r,e)}function writeJsonFile(r,e){var t=_0x1749c9;try{fs[t(409)](r,JSON[t(436)](e,null,2))}catch(r){throw t(480).concat(r)}}function readProjectCfgJson(r){var e,t=_0x1749c9,r=path[t(497)](r,t(475),t(474),t(510));return e=fs[t(490)](r)?JSON[t(504)](fs[t(441)](r)[t(377)]()):e}function isOSX(){var r=_0x1749c9;return os.platform()===r(500)}function hasHxml(r){var e=_0x1749c9;try{var t,o=_createForOfIteratorHelper(fs[e(496)](r,{withFileTypes:!0}));try{for(o.s();!(t=o.n()).done;){var n=t[e(395)],a=path.join(r,n[e(415)]);if(n[e(442)]()&&n.name[e(501)](e(507))||n[e(423)]()&&n[e(415)]!==e(479)&&hasHxml(a))return!0}}catch(r){o.e(r)}finally{o.f()}}catch(r){logger[e(509)](e(473),r)}return!1}function moveFiles(n,a){var c=_0x1749c9;try{fs[c(471)](a,{recursive:!0}),fs[c(496)](n,{withFileTypes:!0})[c(520)](function(r){var e=c,t=path[e(497)](n,r.name),o=path.join(a,r[e(415)]);r.isFile()?fs[e(469)](t,o):r[e(423)]()&&r.name!==e(479)&&moveFiles(t,o)})}catch(r){logger.error("Moving files error:",r)}}function handleResolveAlias(r,e){var t,o=_0x1749c9,n=_createForOfIteratorHelper(Object[o(454)](e).sort(function(r,e){var t=o;return e[t(466)]-r[t(466)]}));try{for(n.s();!(t=n.n()).done;){var a,c,i,s=t[o(395)];if(s[o(501)]("/*")&&e[s][o(501)]("/*"))if(r.startsWith(s.slice(0,-1))||r===s.slice(0,-1))return a=e[s].slice(0,-1),c=r[o(481)](s.length-1),i=(i=path[o(497)](a,c)[o(400)](/\\/g,"/"))[o(370)]("/")?i:"/"+i}}catch(r){n.e(r)}finally{n.f()}return r}function getEntryPkgPath(){var r,e=_0x1749c9,t=getProjectInfo()[e(435)],o=readJsonFile(path[e(404)](t,e(513)));if(0<(null==o||null==(r=o[e(465)])?void 0:r[e(466)]))return path[e(497)](t,o[e(465)][0][e(470)]);logger[e(401)](e(392))}function deepMerge(r){for(var e=_0x1749c9,t=arguments[e(466)],o=new Array(1<t?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(!o[e(466)])return r;var a=o[e(379)]();if(!a)return deepMerge[e(472)](void 0,[r][e(378)](o));for(var c=0,i=Object.keys(a);c<i[e(466)];c++){var s=i[c],f=a[s];isObject(f)?(null==r[s]&&(r[s]={}),deepMerge(r[s],f)):void 0!==f&&(r[s]=f)}return deepMerge[e(472)](void 0,[r].concat(o))}function isObject(r){var e=_0x1749c9;return Object.prototype[e(377)].call(r)===e(494)}function getIdeBinPath(){var r=_0x1749c9,e=null==(e=process[r(450)][r(398)]||process[r(450)][r(449)])?void 0:e[r(437)](";")[0][r(421)](),t=e||r(414),e=e||r(376);return isOSX()?t:e}function adjustPathByPlatform(r){return isOSX()?r:'"'.concat(r,'"')}function _0x6aba(){var r=["UNI","modules","length"," is not found","return","copyFileSync","srcPath","mkdirSync","apply","find Hxml error:","ascf_src","ascf","serve","17607890FNSaSu","test","node_modules","ERROR: Write JSON file failed: ","slice","ascf/ascf_src","logJsonStr","sdk","disableSubpackages","src","getHdcPath","ascfRoot","@@iterator","existsSync","11428968xYoUyL","isArray","main","[object Object]","clearResource","readdirSync","join","utf8","RAWFILE_DIR","darwin","endsWith","hdc","8012445jLHPxR","parse","string","hvigor",".hxml","watch","error","ascf.config.json","true","bundleName","build-profile.json5","signPwd","Map","development","hdc.exe","skipApiValidator","parser","forEach","swc","startsWith","lineNumber","9yHMJvj","utf-8","json5","number","C:\\Program Files\\Huawei\\DevEco Studio\\bin","toString","concat","shift","module.json5","undefined","isOSX","constructor","5090KsLgRB","node","debug","245406ThTJca","./config","win32","default","includes","getEntryPkgPath error, build-profile.json5 file modules is null","configs is: ","1880WpwsLI","value","hasOwnProperty","48VoVEHX","DevEco Studio","exec cmd error","replace","fatal","columnNumber","next","resolve","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","tools","hasHxml","projectCfg","writeFileSync","getModuleNames","Arguments","templateHoist","rimraf","/Applications/DevEco-Studio.app/Contents/tools","name","projectRoot","Set","cwd","false","getEntryPkgPath","trim","bin","isDirectory","getNodePath","hvigorw","NODE_ENV","node.exe","configs","getBundleName","deviceList","73219JuKjeW","module","openharmony","4829FzWuTs","projectPath","stringify","split","Object","yes","***","readFileSync","isFile","readJsonFile","call","src/main/resources/rawfile","babel","8yIvujO","89592GHOvwH","DEVECO_DIR","env","writeJsonFile","AppScope","common-utils","keys","map","ascf_build","from","* @dcloudio","getHvigorwPath","handleResolveAlias","sync","./log4js.js","execSync"];return(_0x6aba=function(){return r})()}function getPath(){for(var r=_0x1749c9,e=getIdeBinPath(),t=arguments[r(466)],o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];return adjustPathByPlatform(path[r(497)][r(472)](path,[e][r(378)](o)))}exports[_0x1749c9(483)]=logJsonStr,exports.initConfigs=function(r,e){var t=_0x1749c9,o=(initOptions(e),getProjectInfo()),n=e[t(508)]||e[t(476)]||void 0!==e.mode&&"production"!==e.mode;process[t(450)][t(426)]&&!n||(process[t(450)][t(426)]=n?t(516):"production"),deepMerge(configs,o[t(408)],e),process[t(450)][t(495)]=n||configs.clear?t(439):"no",configs[t(519)]=configs[t(521)]?t(521):t(446),void 0===configs[t(412)]&&fs[t(490)](path.resolve(r,"ascf/ascf_src/base.hxml"))&&(configs.templateHoist=!0),configs[t(412)]=!!configs.templateHoist,configs[t(518)]=n||configs[t(518)]!==t(419)&&configs.skipApiValidator,configs.disableSubpackages=configs[t(476)]||(void 0===configs[t(485)]?!!n:configs.disableSubpackages),fixUniapp(r,configs),logger[t(386)](t(393)[t(378)](logJsonStr(configs)))},exports[_0x1749c9(495)]=function(r){var o=_0x1749c9;return Promise.all(r[o(455)](function(e){var t=o;if(fs[t(490)](e))return new Promise(function(r){rimraf[t(461)](e),r()})}))},exports[_0x1749c9(443)]=readJsonFile,exports[_0x1749c9(451)]=writeJsonFile,exports[_0x1749c9(382)]=isOSX,exports[_0x1749c9(407)]=hasHxml,exports.moveFiles=moveFiles,exports[_0x1749c9(460)]=handleResolveAlias,exports[_0x1749c9(420)]=getEntryPkgPath,exports.deepMerge=deepMerge,exports.execSafe=function(r){var e,t=_0x1749c9,o=1<arguments[t(466)]&&void 0!==arguments[1]?arguments[1]:{};try{return null==(e=execSync(r,o))?void 0:e[t(377)](t(498))}catch(r){logger.warn(t(399),r)}},exports[_0x1749c9(410)]=function(){var r,e,t=_0x1749c9,o=getEntryPkgPath(),o=path[t(497)](o,t(486),t(493),t(380));if(fs[t(490)](o))return e=fs[t(441)](o,t(373)),{name:null==(e=json5[t(504)](e))||null==(r=e[t(432)])?void 0:r[t(415)],entryAbility:null==e||null==(r=e[t(432)])||null==(r=r.abilities)?void 0:r.map(function(r){return r[t(415)]})};throw new Error(""[t(378)](o,t(467)))},exports[_0x1749c9(429)]=function(){var r,e=_0x1749c9,t=getProjectInfo()[e(435)],t=path[e(497)](t,e(452),"app.json5");if(fs.existsSync(t))return r=fs[e(441)](t,"utf-8"),null==(r=json5[e(504)](r))||null==(r=r.app)?void 0:r[e(512)];throw new Error(""[e(378)](t,e(467)))},exports[_0x1749c9(424)]=function(){var r=_0x1749c9,e=getIdeBinPath(),e=path[r(497)](e,"..",r(406),r(385));r(385);return adjustPathByPlatform(isOSX()?path[r(497)](e,r(385)):path[r(497)](e,r(427)))},exports[_0x1749c9(459)]=function(){var r=_0x1749c9;return getPath("..",r(406),r(506),r(422),r(425))},exports[_0x1749c9(487)]=function(){var r=_0x1749c9;return getPath("..",r(484),r(390),r(433),"toolchains",process.platform===r(389)?r(517):r(502))};
@@ -1 +1 @@
1
- var _0x6761a=_0x3abd;function _0x1bc6(){var e=["get ohpm from deveco dir.","/Applications/DevEco-Studio.app/Contents/tools","bundleName","fatal","dependencies"," at entry/src/main/module.json5."," info @atomicservice/ascfapi","isLatestAscfHar","isLatestAscfToolkit","execSync","getEntryPkgPath","6038912yFAleK","update to ","256096AhsDLm","WARNING: ","versionCode","env","warn","8qxQNwC",'INFO: @atomicservice/ascf-toolkit can be upgraded, execute command "npm update -g @atomicservice/ascf-toolkit ',"readJsonFile","satisfies","module","child_process","ohpm","existsSync","com.huawei.hms.ascfruntime","latest","module.json5","oh-package.json5","tools","toString","info","latest:","bin","4iBzByH","length","C:\\Program Files\\Huawei\\DevEco Studio\\bin","209vAWJRy","split","7ZumSvS","join","ERROR: ASCF shared library version is too low,","DEVECO_DIR","./log4js.js",'WARNING: @atomicservice/ascf-toolkit can be upgraded, execute command "npm update -g @atomicservice/ascf-toolkit ',"6554709TghysR","DevEco Studio ohpm ","package.json","WARN: ASCF shared library not found.","path","isAscfHspSatisfied","1348281SkWAOc","trim","npm view @atomicservice/ascf-toolkit version","DevEco Studio","concat","semver"," is not exists, please ensure DevEco Studio installed","2113035IzIoDG","1172550rVWIPh","TOOLKIT_PATH","@atomicservice/ascfapi","765220qruoeM","version","filter","toLowerCase","version-check"];return(_0x1bc6=function(){return e})()}function _0x3abd(e,t){var r=_0x1bc6();return(_0x3abd=function(e,t){return r[e-=370]})(e,t)}(()=>{for(var e=_0x3abd,t=_0x1bc6();;)try{if(643091==+parseInt(e(405))*(-parseInt(e(383))/2)+-parseInt(e(422))/3*(-parseInt(e(388))/4)+parseInt(e(429))/5+-parseInt(e(430))/6+-parseInt(e(410))/7*(-parseInt(e(381))/8)+parseInt(e(416))/9+-parseInt(e(433))/10*(parseInt(e(408))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var utils=require("./utils"),path=require(_0x6761a(420)),_require=require(_0x6761a(427)),satisfies=_require[_0x6761a(391)],_require2=require(_0x6761a(393)),execSync=_require2[_0x6761a(379)],log4js=require(_0x6761a(414)),fs=require("fs"),logger=log4js.getLogger(_0x6761a(437));function getOhpmFile(){var e=_0x6761a,t=(logger.debug(e(370)),null==(t=process[e(386)][e(425)]||process[e(386)][e(413)])?void 0:t[e(409)](";")[0][e(423)]()),r=t||e(371),t=t||e(407),r=utils.isOSX()?r:t;return path[e(411)](r,"..",e(400),e(394),e(404),"ohpm")}exports[_0x6761a(378)]=function(){var e=_0x6761a,t=0<arguments[e(406)]&&void 0!==arguments[0]&&arguments[0],r=utils[e(390)](path[e(411)](utils[e(431)],e(418)))[e(434)],a=execSync(e(424),{timeout:5e3})[e(401)]()[e(423)]();r!==a&&(t?logger[e(387)](e(415)[e(426)](a,'"')):logger[e(402)](e(389)[e(426)](a,'"')))},exports[_0x6761a(377)]=function(){var e,t,r=_0x6761a,a=0<arguments[r(406)]&&void 0!==arguments[0]&&arguments[0],o=path.join(utils[r(380)](),r(399)),i=utils[r(390)](o)[r(374)][r(432)];i?(e=getOhpmFile(),fs[r(395)](e)?(t=utils.isOSX()?e:'"'[r(426)](e,'"'),t=execSync(""[r(426)](t,r(376)),{timeout:5e3})[r(401)]()[r(409)](r(403))[1][r(409)]("\n")[0].trim(),satisfies(t,i)||i[r(436)]()===r(397)||(a?logger.warn("WARNING: ASCF Shared Library can be upgraded."):logger[r(402)]("INFO: ASCF Shared Library can be upgraded."))):logger[r(387)](r(417)[r(426)](e,r(428)))):logger.warn(r(384)[r(426)](o," does not depend on ASCF Shared Library. Select a project that does, or create a new one."))},exports[_0x6761a(421)]=function(e){var r=_0x6761a,t=(logger.debug("get project entry module.json."),path[r(411)](utils.getEntryPkgPath(),"src","main",r(398))),t=null==(t=utils[r(390)](t)[r(392)])?void 0:t[r(374)],t=null==t?void 0:t[r(435)](function(e){var t=r;return e[t(372)]===t(396)});return!t||t[r(406)]<=0?(logger[r(387)](r(419)),!1):!(Number(t[0][r(385)])<Number(e)&&(logger[r(373)](r(412)+r(382).concat(e,r(375))),1))};
1
+ var _0x210ff4=_0x189e;function _0x4c28(){var e=["concat","satisfies","isAscfHspSatisfied","WARNING: ","get ohpm from deveco dir.",'WARNING: @atomicservice/ascf-toolkit can be upgraded, execute command "npm update -g @atomicservice/ascf-toolkit ',"./log4js.js","3770704KrESyr","join","toString","289220pIeTOA","396104tvVcGY","C:\\Program Files\\Huawei\\DevEco Studio\\bin","length","versionCode","WARNING: ASCF Shared Library can be upgraded.","child_process","5EFHKiA","package.json","9TqTtQB","toLowerCase","com.huawei.hms.ascfruntime","debug","899544tRHxzj","latest","module.json5","latest:","1759464vhxPxk","getEntryPkgPath","1330626YMUxpZ","info","dependencies","INFO: ASCF Shared Library can be upgraded.","fatal","version-check","execSync","ERROR: ASCF shared library version is too low,","isOSX","env","191903nfZDUL","update to ","split"," is not exists, please ensure DevEco Studio installed","version","filter",'INFO: @atomicservice/ascf-toolkit can be upgraded, execute command "npm update -g @atomicservice/ascf-toolkit ',"npm view @atomicservice/ascf-toolkit version"," at entry/src/main/module.json5.","WARN: ASCF shared library not found.","oh-package.json5","getLogger","readJsonFile","bundleName","path"," info @atomicservice/ascfapi","src","ohpm","warn","isLatestAscfHar","TOOLKIT_PATH","main","trim"," does not depend on ASCF Shared Library. Select a project that does, or create a new one."];return(_0x4c28=function(){return e})()}(()=>{for(var e=_0x189e,t=_0x4c28();;)try{if(155314==-parseInt(e(393))+parseInt(e(364))/2+parseInt(e(377))/3+-parseInt(e(365))/4+-parseInt(e(371))/5*(-parseInt(e(383))/6)+parseInt(e(381))/7+parseInt(e(361))/8*(-parseInt(e(373))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var utils=require("./utils"),path=require(_0x210ff4(407)),_require=require("semver"),satisfies=_require[_0x210ff4(418)],_require2=require(_0x210ff4(370)),execSync=_require2[_0x210ff4(389)],log4js=require(_0x210ff4(360)),fs=require("fs"),logger=log4js[_0x210ff4(404)](_0x210ff4(388));function _0x189e(e,t){var r=_0x4c28();return(_0x189e=function(e,t){return r[e-=360]})(e,t)}function getOhpmFile(){var e=_0x210ff4,t=(logger[e(376)](e(421)),null==(t=process.env["DevEco Studio"]||process[e(392)].DEVECO_DIR)?void 0:t[e(395)](";")[0].trim()),r=t||"/Applications/DevEco-Studio.app/Contents/tools",t=t||e(366),r=utils[e(391)]()?r:t;return path.join(r,"..","tools",e(410),"bin",e(410))}exports.isLatestAscfToolkit=function(){var e=_0x210ff4,t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],r=utils[e(405)](path[e(362)](utils[e(413)],e(372)))[e(397)],o=execSync(e(400),{timeout:5e3}).toString().trim();r!==o&&(t?logger[e(411)](e(422)[e(417)](o,'"')):logger[e(384)](e(399)[e(417)](o,'"')))},exports[_0x210ff4(412)]=function(){var e,t,r=_0x210ff4,o=0<arguments[r(367)]&&void 0!==arguments[0]&&arguments[0],i=path.join(utils.getEntryPkgPath(),r(403)),s=utils[r(405)](i)[r(385)]["@atomicservice/ascfapi"];s?(e=getOhpmFile(),fs.existsSync(e)?(t=utils[r(391)]()?e:'"'[r(417)](e,'"'),t=execSync(""[r(417)](t,r(408)),{timeout:5e3})[r(363)]()[r(395)](r(380))[1][r(395)]("\n")[0][r(415)](),satisfies(t,s)||s[r(374)]()===r(378)||(o?logger[r(411)](r(369)):logger[r(384)](r(386)))):logger[r(411)]("DevEco Studio ohpm "[r(417)](e,r(396)))):logger[r(411)](r(420)[r(417)](i,r(416)))},exports[_0x210ff4(419)]=function(e){var r=_0x210ff4,t=(logger[r(376)]("get project entry module.json."),path.join(utils[r(382)](),r(409),r(414),r(379))),t=null==(t=utils[r(405)](t).module)?void 0:t[r(385)],t=null==t?void 0:t[r(398)](function(e){var t=r;return e[t(406)]===t(375)});return!t||t.length<=0?(logger.warn(r(402)),!1):!(Number(t[0][r(368)])<Number(e)&&(logger[r(387)](r(390)+r(394)[r(417)](e,r(401))),1))};