@atomicservice/ascf-toolkit 1.0.1-beta.0 → 1.0.2

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 (57) hide show
  1. package/lib/ascf-compiler/appjson-loader.js +1 -1
  2. package/lib/ascf-compiler/chalk/bundle.cjs.js +1 -1
  3. package/lib/ascf-compiler/common/appjson-validator.js +1 -1
  4. package/lib/ascf-compiler/common/css-runtime-api.js +1 -1
  5. package/lib/ascf-compiler/common/exp-utils.js +1 -1
  6. package/lib/ascf-compiler/common/hash-sum.js +1 -1
  7. package/lib/ascf-compiler/common/hjs-utils.js +1 -1
  8. package/lib/ascf-compiler/common/hxml-validator.js +1 -1
  9. package/lib/ascf-compiler/common/logUndefined.js +1 -1
  10. package/lib/ascf-compiler/common/packoptions-utils.js +1 -1
  11. package/lib/ascf-compiler/common/utils.js +1 -1
  12. package/lib/ascf-compiler/css-process-loader.js +1 -1
  13. package/lib/ascf-compiler/extract-loader.js +1 -1
  14. package/lib/ascf-compiler/hcss-loader.js +1 -1
  15. package/lib/ascf-compiler/hjs-loader.js +1 -1
  16. package/lib/ascf-compiler/hxml-loader.js +1 -1
  17. package/lib/ascf-compiler/loader-utils.js +1 -1
  18. package/lib/ascf-compiler/path-process-loader.js +1 -1
  19. package/lib/ascf-compiler/plugin/copy-bundle-plugin.js +1 -1
  20. package/lib/ascf-compiler/plugin/extConfig-plugin.js +1 -1
  21. package/lib/ascf-compiler/plugin/html-generator-plugin.js +1 -1
  22. package/lib/ascf-compiler/plugin/i18n-transform-plugin.js +1 -1
  23. package/lib/ascf-compiler/plugin/manifest-generator-plugin.js +1 -1
  24. package/lib/ascf-compiler/plugin/resource-plugin.js +1 -1
  25. package/lib/ascf-compiler/plugin/webpack-target/index.js +1 -1
  26. package/lib/ascf-compiler/plugin/webpack-target/jsonpChunkLoadingRuntimeModule.js +1 -1
  27. package/lib/ascf-compiler/plugin/webpack-target/jsonpHelpers.js +1 -1
  28. package/lib/ascf-compiler/plugin/webpack-target/jsonpTemplatePlugin.js +1 -1
  29. package/lib/ascf-compiler/template/attr-utils.js +1 -1
  30. package/lib/ascf-compiler/template/node-name-utils.js +1 -1
  31. package/lib/ascf-compiler/trustlist-hxml-verify-loader.js +1 -1
  32. package/lib/ascf-compiler/trustlist-js-verify-loader.js +1 -1
  33. package/lib/ascf-compiler/trustlist-verify/config.js +1 -1
  34. package/lib/ascf-compiler/trustlist-verify/utils.js +1 -1
  35. package/lib/ascf-compiler/vue-compiler/vue.bundle.js +1 -1
  36. package/lib/ascf-compiler/watch/watch.js +1 -0
  37. package/lib/ascf-compiler/web.webpack.config.js +1 -1
  38. package/lib/ascf-converter/common/commonConfig.js +1 -1
  39. package/lib/ascf-converter/common/commonUtils.js +1 -1
  40. package/lib/ascf-converter/common/textDocument.js +1 -1
  41. package/lib/ascf-converter/compiler-utils/parse5.bundle.js +1 -1
  42. package/lib/ascf-converter/features/converter.js +1 -1
  43. package/lib/ascf-converter/features/fileHandle.js +1 -1
  44. package/lib/ascf-converter/features/transformReport.js +1 -1
  45. package/lib/ascf-converter/lib/apiadapter4alipay.js +1 -1
  46. package/lib/ascf-converter/parse/babelParser.js +1 -1
  47. package/lib/ascf-converter/parse/importVisitor.js +1 -1
  48. package/lib/ascf-converter/parse/wxssParser.js +1 -1
  49. package/lib/bin/ascf.js +1 -1
  50. package/lib/common/config.js +1 -0
  51. package/lib/common/logger-plugin.js +1 -1
  52. package/lib/common/remove-strict-mode-plugin.js +1 -1
  53. package/lib/common/utils.js +1 -1
  54. package/lib/index.js +1 -1
  55. package/notice/openSourceSoftwareNotice.docx +0 -0
  56. package/package.json +22 -16
  57. package/notice/openSourceSoftwareNotice.html +0 -5132
@@ -1 +1 @@
1
- var _0x2839e7=_0x14e0;function _regeneratorRuntime(){var c=_0x14e0;_regeneratorRuntime=function(){return s};var l,s={},e=Object[c(237)],p=e[c(418)],f=Object[c(365)]||function(e,t,r){var n=c;e[t]=r[n(219)]},t=c(319)==typeof Symbol?Symbol:{},a=t[c(301)]||"@@iterator",r=t[c(250)]||c(234),n=t.toStringTag||c(372);function o(e,t,r){return Object[c(365)](e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(e){o=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o,a,i,s,u=c,t=t&&t[u(237)]instanceof y?t:y,t=Object.create(t[u(237)]),n=new T(n||[]);return f(t,u(431),{value:(o=e,a=r,i=n,s=h,function(e,t){var r=_0x14e0;if(s===m)throw Error("Generator is already running");if(s===g){if(r(374)===e)throw t;return{value:l,done:!0}}for(i[r(399)]=e,i[r(262)]=t;;){var n=i[r(346)];if(n){n=function e(t,r){var n=c,o=r.method,a=t[n(301)][o];if(a===l)return r[n(346)]=null,n(374)===o&&t[n(301)].return&&(r.method=n(356),r.arg=l,e(t,r),n(374)===r[n(399)])||n(356)!==o&&(r[n(399)]=n(374),r[n(262)]=new TypeError("The iterator does not provide a '"+o+"' method")),v;o=_(a,t[n(301)],r[n(262)]);if(n(374)===o[n(268)])return r[n(399)]="throw",r.arg=o[n(262)],r[n(346)]=null,v;a=o[n(262)];return a?a.done?(r[t[n(208)]]=a[n(219)],r[n(213)]=t[n(221)],n(356)!==r[n(399)]&&(r[n(399)]="next",r.arg=l),r[n(346)]=null,v):a:(r[n(399)]=n(374),r[n(262)]=new TypeError(n(411)),r[n(346)]=null,v)}(n,i);if(n){if(n===v)continue;return n}}if(r(213)===i[r(399)])i[r(204)]=i[r(232)]=i[r(262)];else if(r(374)===i[r(399)]){if(s===h)throw s=g,i[r(262)];i.dispatchException(i[r(262)])}else r(356)===i[r(399)]&&i.abrupt(r(356),i.arg);s=m;n=_(o,a,i);if(r(318)===n[r(268)]){if(s=i[r(233)]?g:d,n[r(262)]===v)continue;return{value:n[r(262)],done:i[r(233)]}}r(374)===n.type&&(s=g,i.method=r(374),i[r(262)]=n[r(262)])}})}),t}function _(e,t,r){var n=c;try{return{type:n(318),arg:e[n(260)](t,r)}}catch(e){return{type:n(374),arg:e}}}s[c(214)]=u;var h=c(428),d=c(229),m="executing",g=c(305),v={};function y(){}function i(){}function b(){}var t={},P=(o(t,a,function(){return this}),Object[c(359)]),P=P&&P(P(I([]))),A=(P&&P!==e&&p[c(260)](P,a)&&(t=P),b[c(237)]=y[c(237)]=Object[c(254)](t));function C(e){var t=c;[t(213),t(374),t(356)][t(298)](function(t){o(e,t,function(e){return this._invoke(t,e)})})}function x(s,u){var t,o=c;f(this,o(431),{value:function(r,n){function e(){return new u(function(e,t){!function t(e,r,n,o){var a,i=_0x14e0,e=_(s[e],s,r);if(i(374)!==e[i(268)])return(r=(a=e.arg)[i(219)])&&i(253)==_typeof(r)&&p[i(260)](r,i(373))?u[i(344)](r[i(373)])[i(217)](function(e){t(i(213),e,n,o)},function(e){t(i(374),e,n,o)}):u.resolve(r).then(function(e){a[i(219)]=e,n(a)},function(e){return t("throw",e,n,o)});o(e[i(262)])}(r,n,e,t)})}return t=t?t[o(217)](e,e):e()}})}function R(e){var t=c,r={tryLoc:e[0]};1 in e&&(r[t(312)]=e[1]),2 in e&&(r[t(243)]=e[2],r[t(364)]=e[3]),this[t(409)][t(215)](r)}function S(e){var t=c,r=e[t(351)]||{};r[t(268)]=t(318),delete r[t(262)],e[t(351)]=r}function T(e){var t=c;this[t(409)]=[{tryLoc:t(287)}],e.forEach(R,this),this[t(408)](!0)}function I(r){var n=c;if(r||""===r){var o,e=r[a];if(e)return e[n(260)](r);if(n(319)==typeof r[n(213)])return r;if(!isNaN(r.length))return o=-1,(e=function e(){for(var t=n;++o<r[t(369)];)if(p[t(260)](r,o))return e[t(219)]=r[o],e.done=!1,e;return e.value=l,e[t(233)]=!0,e})[n(213)]=e}throw new TypeError(_typeof(r)+n(383))}return i[c(237)]=b,f(A,c(323),{value:b,configurable:!0}),f(b,c(323),{value:i,configurable:!0}),i[c(384)]=o(b,n,c(339)),s[c(286)]=function(e){var t=c,e=t(319)==typeof e&&e[t(323)];return!!e&&(e===i||"GeneratorFunction"===(e.displayName||e[t(422)]))},s[c(414)]=function(e){var t=c;return Object[t(210)]?Object[t(210)](e,b):(e[t(299)]=b,o(e,n,t(339))),e[t(237)]=Object[t(254)](A),e},s[c(245)]=function(e){return{__await:e}},C(x[c(237)]),o(x[c(237)],r,function(){return this}),s[c(376)]=x,s[c(265)]=function(e,t,r,n,o){var a=c,i=(void 0===o&&(o=Promise),new x(u(e,t,r,n),o));return s[a(286)](t)?i:i[a(213)]().then(function(e){var t=a;return e[t(233)]?e[t(219)]:i.next()})},C(A),o(A,n,c(228)),o(A,a,function(){return this}),o(A,c(405),function(){return"[object Generator]"}),s[c(306)]=function(e){var t,n=c,o=Object(e),a=[];for(t in o)a[n(215)](t);return a.reverse(),function e(){for(var t=n;a[t(369)];){var r=a[t(290)]();if(r in o)return e[t(219)]=r,e[t(233)]=!1,e}return e[t(233)]=!0,e}},s[c(284)]=I,T[c(237)]={constructor:T,reset:function(e){var t=c;if(this.prev=0,this.next=0,this[t(204)]=this[t(232)]=l,this[t(233)]=!1,this[t(346)]=null,this[t(399)]=t(213),this.arg=l,this[t(409)].forEach(S),!e)for(var r in this)"t"===r[t(413)](0)&&p[t(260)](this,r)&&!isNaN(+r[t(416)](1))&&(this[r]=l)},stop:function(){var e=c,t=(this[e(233)]=!0,this.tryEntries[0][e(351)]);if(e(374)===t[e(268)])throw t.arg;return this[e(257)]},dispatchException:function(n){var o=c;if(this[o(233)])throw n;var a=this;function e(e,t){var r=o;return i[r(268)]=r(374),i[r(262)]=n,a[r(213)]=e,t&&(a[r(399)]="next",a[r(262)]=l),!!t}for(var t=this[o(409)][o(369)]-1;0<=t;--t){var r=this[o(409)][t],i=r[o(351)];if("root"===r[o(322)])return e("end");if(r[o(322)]<=this[o(397)]){var s=p.call(r,o(312)),u=p[o(260)](r,o(243));if(s&&u){if(this.prev<r[o(312)])return e(r.catchLoc,!0);if(this[o(397)]<r[o(243)])return e(r[o(243)])}else if(s){if(this[o(397)]<r[o(312)])return e(r.catchLoc,!0)}else{if(!u)throw Error(o(297));if(this[o(397)]<r[o(243)])return e(r[o(243)])}}}},abrupt:function(e,t){for(var r=c,n=this[r(409)].length-1;0<=n;--n){var o=this.tryEntries[n];if(o.tryLoc<=this[r(397)]&&p.call(o,r(243))&&this[r(397)]<o[r(243)]){var a=o;break}}var i=(a=a&&(r(363)===e||r(400)===e)&&a[r(322)]<=t&&t<=a[r(243)]?null:a)?a[r(351)]:{};return i[r(268)]=e,i[r(262)]=t,a?(this.method=r(213),this.next=a[r(243)],v):this.complete(i)},complete:function(e,t){var r=c;if(r(374)===e[r(268)])throw e[r(262)];return r(363)===e[r(268)]||"continue"===e.type?this[r(213)]=e[r(262)]:r(356)===e[r(268)]?(this.rval=this.arg=e[r(262)],this[r(399)]=r(356),this[r(213)]=r(334)):r(318)===e[r(268)]&&t&&(this.next=t),v},finish:function(e){for(var t=c,r=this[t(409)][t(369)]-1;0<=r;--r){var n=this[t(409)][r];if(n[t(243)]===e)return this[t(377)](n.completion,n.afterLoc),S(n),v}},catch:function(e){for(var t=c,r=this[t(409)].length-1;0<=r;--r){var n,o,a=this[t(409)][r];if(a[t(322)]===e)return"throw"===(n=a[t(351)])[t(268)]&&(o=n[t(262)],S(a)),o}throw Error(t(246))},delegateYield:function(e,t,r){var n=c;return this[n(346)]={iterator:I(e),resultName:t,nextLoc:r},n(213)===this[n(399)]&&(this[n(262)]=l),v}},s}function _typeof(e){var r=_0x14e0;return(_typeof=r(319)==typeof Symbol&&"symbol"==typeof Symbol[r(301)]?function(e){return typeof e}:function(e){var t=r;return e&&t(319)==typeof Symbol&&e[t(323)]===Symbol&&e!==Symbol[t(237)]?t(427):typeof e})(e)}function asyncGeneratorStep(e,t,r,n,o,a,i){var s=_0x14e0;try{var u=e[a](i),c=u.value}catch(e){return void r(e)}u[s(233)]?t(c):Promise[s(344)](c)[s(217)](n,o)}function _asyncToGenerator(u){return function(){var e=this,s=arguments;return new Promise(function(t,r){var n=_0x14e0,o=u[n(296)](e,s);function a(e){asyncGeneratorStep(o,t,r,a,i,n(213),e)}function i(e){asyncGeneratorStep(o,t,r,a,i,n(374),e)}a(void 0)})}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x14e0(207))}function _iterableToArray(e){var t=_0x14e0;if("undefined"!=typeof Symbol&&null!=e[Symbol[t(301)]]||null!=e[t(421)])return Array[t(308)](e)}function _arrayWithoutHoles(e){if(Array[_0x14e0(223)](e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var r,n,o,a,i=_0x14e0,s=i(288)!=typeof Symbol&&e[Symbol[i(301)]]||e[i(421)];if(s)return o=!(n=!0),{s:function(){s=s[i(260)](e)},n:function(){var e=s.next();return n=e.done,e},e:function(e){o=!0,r=e},f:function(){var e=i;try{n||null==s[e(356)]||s[e(356)]()}finally{if(o)throw r}}};if(Array[i(223)](e)||(s=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e[i(369)])return s&&(e=s),a=0,{s:t=function(){},n:function(){return a>=e[i(369)]?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,t){var r,n=_0x14e0;if(e)return n(406)==typeof e?_arrayLikeToArray(e,t):(r={}[n(405)][n(260)](e)[n(416)](8,-1),n(325)===r&&e[n(323)]&&(r=e[n(323)][n(422)]),n(274)===r||n(222)===r?Array.from(e):n(295)===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(433)](r)?_arrayLikeToArray(e,t):void 0)}function _arrayLikeToArray(e,t){(null==t||t>e[_0x14e0(369)])&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function _defineProperty(e,t,r){var n=_0x14e0;return(t=_toPropertyKey(t))in e?Object[n(365)](e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){var t=_0x14e0,e=_toPrimitive(e,t(406));return t(427)==_typeof(e)?e:e+""}function _toPrimitive(e,t){var r=_0x14e0;if(r(253)!=_typeof(e)||!e)return e;var n=e[Symbol[r(426)]];if(void 0===n)return(r(406)===t?String:Number)(e);n=n[r(260)](e,t||r(403));if(r(253)!=_typeof(n))return n;throw new TypeError(r(212))}(()=>{for(var e=_0x14e0,t=_0x159f();;)try{if(964989==-parseInt(e(335))+parseInt(e(244))/2*(-parseInt(e(342))/3)+parseInt(e(292))/4*(-parseInt(e(241))/5)+parseInt(e(230))/6+parseInt(e(236))/7+parseInt(e(249))/8*(-parseInt(e(225))/9)+-parseInt(e(258))/10*(-parseInt(e(350))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var path=require(_0x2839e7(401)),fs=require("fs"),webpack=require("webpack"),json5=require(_0x2839e7(256)),ResourcePlugin=require("./plugin/resource-plugin"),HtmlGeneratorPlugin=require(_0x2839e7(251)),ManifestGeneratorPlugin=require(_0x2839e7(333)),I18NPlugin=require("./plugin/i18n-transform-plugin"),CopyAscfBundlePlugin=require(_0x2839e7(259)),_packOptions=require(_0x2839e7(379)),_require=require("../common/utils"),clearResource=_require[_0x2839e7(328)],IS_PRD=_require.IS_PRD,PROJECT_PATH=_require[_0x2839e7(332)],PROJECT_CONFIG=_require.PROJECT_CONFIG,ASCF_SRC_PATH=_require[_0x2839e7(430)],ASCF_BUILD_PATH=_require[_0x2839e7(267)],RAWFILE_DIR=_require[_0x2839e7(349)],WebpackTargetPlugin=require("./plugin/webpack-target/index"),LoggerPlguin=require(_0x2839e7(343)),utils=require(_0x2839e7(381)),commonUtils=require(_0x2839e7(218)),removeStrictModePlugin=require(_0x2839e7(216)),chalk=require(_0x2839e7(209)),ExtConfigPlugin=require(_0x2839e7(235));function _0x159f(){var e=["prototype","ERROR: app.json doesn't contain any page.","@babel/preset-env","exit","196505tuemEj","WARNING: The build directory is not cleared. Use the -c parameter.","finallyLoc","252572yehbWa","awrap","illegal catch attempt","set","javascript/auto","120SokhYn","asyncIterator","./plugin/html-generator-plugin","widgetPathsList","object","create","route-mapping.json","json5","rval","1560vJOzXb","./plugin/copy-bundle-plugin","call","./trustlist-hxml-verify-loader.js","arg","@babel/plugin-transform-modules-commonjs","toLowerCase","async","yellow","ASCF_BUILD_PATH","type","independent","readJsonFile","ERROR: ",".ascf","pages","Map","app.css.js","routeMapping","list",".ux","selectedIconPath","babel-loader","manifest",".pack.js","isIgnoreFile","values",".hxml","isGeneratorFunction","root","undefined","fixEntryPath","pop","relative","52IPBXQD","stop","web","Arguments","apply","try statement without catch or finally","forEach","__proto__","isDirectory","iterator","filePath","existsSync","i18n","completed","keys","@babel/plugin-proposal-class-properties","from","pagePath","node_modules","filter","catchLoc","noDeprecation","some","concat","LoaderOptionsPlugin","./appjson-loader","normal","function","dist","./hxml-loader","tryLoc","constructor","yes","Object","?type=component","none","clearResource","app.css","createCSSRule","compJsonPath","PROJECT_PATH","./plugin/manifest-generator-plugin","end","693600wwufEf","warn","import-scripts","trim","GeneratorFunction","page","miniprogram_npm","33bwlOsS","../common/logger-plugin","resolve","versionNum","delegate","custom-tab-bar/index.hxml","inline-cheap-source-map","RAWFILE_DIR","176363AvbVxR","completion","components","app.js","build-profile.json5","getProjectAbsPath","return","modules","named","getPrototypeOf","custom-tab-bar/index.pack.js","global","custom","break","afterLoc","defineProperty","join","readdir","componentList","length","find","optimization","@@toStringTag","__await","throw","subpackages","AsyncIterator","complete","./path-process-loader.js","./common/packoptions-utils","text","./common/utils","error"," is not iterable","displayName","ERROR: modify app.json tabBar and recompile it","custom-tab-bar/index","projectComponentsMap"," cannot be in the subpackage directory","loadBabelModule","app","app.json","exports","defFreezeProperty","usingComponents","ERROR: build-profile.json5 file modules is null","customTabBar","prev","useCustomTabBar","method","continue","path","srcPath","default","env","toString","string","fa-compiler/loader.js","reset","tryEntries","./trustlist-js-verify-loader.js","iterator result is not an object","independentList","charAt","mark","appType","slice"," contains error, please check it.","hasOwnProperty","replace","component","@@iterator","name","./hjs-loader","[name]",".js","toPrimitive","symbol","suspendedStart","ERROR: Failed to find the file: ","ASCF_SRC_PATH","_invoke","ERROR: Can not resolve file : app.json","test","readFileSync","ERROR: build-profile.json5 file not found","abrupt","webapp","get","sent","map","red","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","resultName","../ascf-compiler/chalk/bundle.cjs","setPrototypeOf","router","@@toPrimitive must return a primitive value.","next","wrap","push","../common/remove-strict-mode-plugin","then","../common/utils","value",".json","nextLoc","Set","isArray","tabBar","22347gchCXL","' does not have the component attribute configured. ","parse","Generator","suspendedYield","156420cWIgKn","lstatSync","_sent","done","@@asyncIterator","./plugin/extConfig-plugin","7480725EAmGsu"];return(_0x159f=function(){return e})()}chalk.level=1,process[_0x2839e7(313)]=!0;var ignoreRules=generateIgnoreRule(PROJECT_CONFIG),ZIP_PATH=path.join(ASCF_SRC_PATH,_0x2839e7(272),_0x2839e7(320)),buildProfileJson5Path=path.resolve(PROJECT_PATH,_0x2839e7(354));if(!fs.existsSync(buildProfileJson5Path))throw _0x2839e7(435);var buildProfile=json5[_0x2839e7(227)](fs[_0x2839e7(434)](buildProfileJson5Path)[_0x2839e7(405)]());if(!buildProfile[_0x2839e7(357)]||0===buildProfile[_0x2839e7(357)].length)throw _0x2839e7(395);var BUILD_PATH=path.resolve(PROJECT_PATH,buildProfile[_0x2839e7(357)][0][_0x2839e7(402)],RAWFILE_DIR),I18N_ENTRY=[],I18N=_0x2839e7(304),APP=_0x2839e7(390),APP_TYPE=_0x2839e7(437);function handleUsingComponents(e,t){var r,n=_0x2839e7;if(e)for(var o in e)Object[n(237)][n(418)][n(260)](e,o)&&(r=e[o][n(338)](),e[o]=utils[n(355)](r,t,ASCF_SRC_PATH))}function checkTabBarPath(e){var t,i,r=_0x2839e7,s=["iconPath",r(279),r(309)],n=(null==(n=e[r(224)])?void 0:n[r(277)])||[],e=e.subPackages||e[r(375)]||[];n!==[]&&e!==[]&&(t=e[r(205)](function(e){return e[r(287)]})[r(311)](function(e){return e}),i=[],n[r(298)](function(a){t.forEach(function(n){var o=_0x14e0;s[o(298)](function(e){var t,r=o;path.join(ASCF_SRC_PATH,null!=(t=a[e])?t:"").startsWith(path[r(366)](ASCF_SRC_PATH,n,"/"))&&i.push(chalk[r(206)]("ERROR: tabBar "[r(315)](a[r(380)]," ")[r(315)](e,r(388))))})})}),0<i.length)&&(i.forEach(function(e){var t=r;console[t(382)](chalk[t(206)](e))}),console[r(382)](chalk[r(206)](r(385))),process[r(240)](1))}function readAppJson(){var r=_0x2839e7,e=_defineProperty({},APP,new Map),t=path[r(366)](ASCF_SRC_PATH,r(391));if(!fs[r(303)](t))throw r(432);var n=commonUtils[r(270)](t),t=(checkTabBarPath(n),handleAppType(n),handleUsingComponents(n[r(394)],t),n[r(340)]={},n[r(412)]=[],[]);if(!n[r(273)]||n.pages[r(369)]<=0)throw r(238);putPageInfoToEntryList(n[r(273)],"",!1,n,e[APP]);var o=[r(375),"subPackages"][r(370)](function(e){var t=r;return Object[t(237)][t(418)].call(n,e)});if(t[r(369)]){o&&delete n[o];var a,i=_createForOfIteratorHelper(n[r(375)]=t);try{for(i.s();!(a=i.n())[r(233)];){var s=a[r(219)],u=new Map;e[s[r(287)]]=u,putPageInfoToEntryList(s[r(273)],s[r(287)],s[r(269)],n,u)}}catch(e){i.e(e)}finally{i.f()}}else if(o){t=n[o],delete n[o];var c,l=_createForOfIteratorHelper(n[r(375)]=t);try{for(l.s();!(c=l.n()).done;){var p=c[r(219)],f=new Map;e[p.root]=f,putPageInfoToEntryList(p.pages,p[r(287)],p[r(269)],n,f)}}catch(e){l.e(e)}finally{l.f()}}return handingCustomTabBar(n),{manifest:n,projectComponentsMap:e}}function handleAppType(e){var t,r=_0x2839e7;e[r(268)]=null!=(t=null!=(t=e[r(268)])?t:e[r(415)])?t:APP_TYPE,delete e[r(415)]}function hasCustomTabBar(e){var t=_0x2839e7;return(e.tabBar||{})[t(362)]&&fs.existsSync(path[t(344)](ASCF_SRC_PATH,t(347)))}function handingCustomTabBar(e){var t=_0x2839e7;if(hasCustomTabBar(e)){var r,n=_createForOfIteratorHelper(e[t(224)].list);try{for(n.s();!(r=n.n()).done;){var o=r[t(219)];if(!e[t(340)][o.pagePath])throw"ERROR: Can not resolve tabBar list item : "+"'".concat(o[t(309)],"', please check tabBar configuration.");e[t(340)][o[t(309)]][t(398)]=!0}}catch(e){n.e(e)}finally{n.f()}}}function getGlobalComponentsInfo(){var t=_0x2839e7,r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=[];return Object.keys(r)[t(298)](function(e){n[t(215)]({key:e,path:r[e]})}),n}function putPageInfoToEntryList(e,t,r,n,o){var a=_0x2839e7;if(e)for(var i in e)if(Object[a(237)][a(418)][a(260)](e,i)){var i=path[a(366)](ASCF_SRC_PATH,t,e[i]),s=path[a(291)](ASCF_SRC_PATH,i);if(!_packOptions[a(283)](s,ignoreRules)){var s=s[a(419)](/\\/g,"/"),i=""[a(315)](i,a(220)),u=void 0;try{u=fs[a(303)](i)?JSON[a(227)](fs[a(434)](i)[a(405)]()):{}}catch(e){throw a(271)[a(315)](i,a(417))}handleUsingComponents(u.usingComponents,i),r&&n.independentList.push(s),n[a(340)][s]=u,t||getUsingComponents(n,"","",o,"page"),getUsingComponents(u,i,s,o,a(340))}}}function getUsingComponents(a,i,e,s,t){var u=_0x2839e7,c=5<arguments[u(369)]&&void 0!==arguments[5]?arguments[5]:[],l=[],p=a[u(422)];if(a.usingComponents)for(var f in a.usingComponents)(()=>{var e=u;if(Object.prototype[e(418)][e(260)](a[e(394)],f)){var t=a.usingComponents[f],r=utils.getAbsPath(t,i,ASCF_SRC_PATH,e(220)),n=r[e(302)],r=r[e(289)],o=path[e(291)](ASCF_SRC_PATH,n)[e(419)](/\\/g,"/")[e(419)](/\.json/,""),t=r||o;if(a[e(394)][f]=t,!p&&i===n)return p=f;if(c[e(370)](function(e){return e===n}))throw"ERROR: Can not use cyclic dependened component with component path : ".concat(n);l[e(314)](function(e){return e.path===path})||l[e(215)]({path:t,key:f,compJsonPath:n});r=JSON[e(227)](fs[e(434)](n).toString());handleUsingComponents(r[e(394)],n),getUsingComponents(r,n,t,s,"component",c[e(315)]([n]))}})();e&&!s[u(203)](e)&&(t={componentList:l,type:t,componentName:p,compJsonPath:i,path:e},s.set(e,t))}function getI18NEntry(u){var c=_0x2839e7;fs[c(367)](u,function(e,t){var r=c;if(e)throw e;var n,o=_createForOfIteratorHelper(t);try{for(o.s();!(n=o.n())[r(233)];){var a,i=n[r(219)],s=path[r(366)](u,i)[r(419)](/\\/g,"/");fs[r(231)](s)[r(300)]()&&!/(node_modules)|(\.ascf)/.test(i)&&((a=s.split("/"))[a[r(369)]-1][r(264)]()===I18N&&I18N_ENTRY[r(215)](s),getI18NEntry(s))}}catch(e){o.e(e)}finally{o.f()}})}function generateEntry(e){var n=_0x2839e7,o={},t=e[n(387)],r=[],a=(Object.keys(t).reverse()[n(298)](function(e){r.push(t[e])}),o[n(353)]=path[n(344)](ASCF_SRC_PATH,"app.json?package=app")[n(419)](/\\/g,"/"),utils.mergeMap(r)),i=path[n(344)](ASCF_SRC_PATH,n(329));if(fs[n(303)](i)&&(o[n(275)]=path[n(344)](ASCF_SRC_PATH,"app.css")),hasCustomTabBar(e.manifest)){var s,i=path[n(344)](ASCF_SRC_PATH,n(347)),u=i[n(419)](/\.hxml$/,n(220)),c=(o[n(360)]="".concat(i,n(326)),_createForOfIteratorHelper(e[n(281)][n(224)].list));try{for(c.s();!(s=c.n()).done;){var l=s.value;a[n(203)](l[n(309)])&&a[n(203)](l[n(309)])[n(368)][n(215)]({path:n(386),key:n(396),compJsonPath:u})}}catch(e){c.e(e)}finally{c.f()}i={componentList:[],type:n(420),compJsonPath:u};t[n(390)][n(247)]("custom-tab-bar/index",i)}return a[n(298)](function(e,t){var r=n;return o[""[r(315)](t,r(282))]=e[r(331)][r(419)](/\.json$/,".hxml")}),utils[n(393)](e,n(352),a),generateWidgetsEntry(o,e),o}function _0x14e0(e,t){var r=_0x159f();return(_0x14e0=function(e,t){return r[e-=203]})(e,t)}function generateWidgetsEntry(o,r){var a,n,i=_0x2839e7,e=r[i(281)];r.manifest&&e[i(211)]&&((a=e[i(211)][i(273)])&&Object[i(306)](a)[i(298)](function(e){var t=i,r=a[e],n=r[t(420)],r=(r||console[t(336)](chalk[t(266)]("WARNING:Route information in the manifest.json file is incomplete:\n Page '".concat(e,t(226))+"By default, '"[t(315)](n,"' is used."))),path[t(366)](ASCF_SRC_PATH,e,n)),e="".concat(path[t(366)](e,n),t(425));if(fs[t(303)](""[t(315)](r,t(278))))o[e]=""[t(315)](r,t(278));else if(!fs[t(303)](""[t(315)](r,t(285))))throw t(429)[t(315)](r,t(278))}),e=e.widgets)&&0<e[i(369)]&&(r[i(252)]=[],n="",e[i(298)](function(e){var t=i;n=e[t(401)],r[t(252)][t(215)](path[t(366)](ASCF_SRC_PATH,n))}))}function generateModules(){var e=_0x2839e7,t={targets:{node:8}};return{rules:[][e(315)](_toConsumableArray(utils[e(330)]()),[{test:/\.js$/,use:[{loader:utils[e(389)](e(280)),options:{presets:[[utils.loadBabelModule(e(239)),t]],plugins:[utils.loadBabelModule(e(263)),utils[e(389)](e(307))]}},{loader:path[e(344)](__dirname,e(410))}],exclude:/node_modules/},{test:/\.(hjs)$/,use:[{loader:path[e(344)](__dirname,e(423))},{loader:utils[e(389)](e(280)),options:{presets:[[utils[e(389)]("@babel/preset-env"),t]],plugins:[utils[e(389)](e(263)),removeStrictModePlugin]}},{loader:path[e(344)](__dirname,e(378))},{loader:path[e(344)](__dirname,e(410))}],exclude:/node_modules/},{test:/\.hxml$/,type:"javascript/auto",use:[{loader:utils[e(389)](e(280)),options:{presets:[[utils.loadBabelModule("@babel/preset-env"),t]],compact:!1}},{loader:path[e(344)](__dirname,e(321))},{loader:path[e(344)](__dirname,e(261))}]},{test:/app\.json$/,type:e(248),use:[{loader:path[e(344)](__dirname,e(317))}]},{test:/\.(ux)(\?[^?]+)?$/,use:[{loader:path[e(344)](__dirname,e(407))}]}])}}function generateIgnoreRule(e){var t;return(t=e?_packOptions.parseIgnoreRules(e):t)||{}}function generateRouteMapping(e){var t=_0x2839e7,r=e[t(281)][t(276)]||{},n=path[t(366)](ASCF_SRC_PATH,t(255));if(fs[t(303)](n)){var o=JSON[t(227)](fs.readFileSync(n).toString());if(o)for(var a in o)Object[t(237)][t(418)][t(260)](o,a)&&(r[a]=o[a])}0<Object[t(306)](r)[t(369)]&&(e[t(281)][t(276)]=r)}function generatePlugins(e){var t=_0x2839e7;return[new LoggerPlguin,new ResourcePlugin({src:ASCF_SRC_PATH,build:BUILD_PATH,ignoreRules:ignoreRules,manifest:e[t(281)]}),new ManifestGeneratorPlugin({manifest:e[t(281)],build:BUILD_PATH}),new HtmlGeneratorPlugin({manifestData:e.manifest,pagesInfo:e[t(281)][t(340)],srcPath:ASCF_SRC_PATH,buildPath:BUILD_PATH,componentSet:e[t(352)]}),new webpack[t(316)]({options:{srcPath:ASCF_SRC_PATH,manifest:e[t(281)],components:e[t(352)],projectComponentsMap:e[t(387)],versionNum:e[t(345)],widgetPathsList:e[t(252)],widgetsDependList:e[t(252)],projectCfgData:PROJECT_CONFIG,globalComponents:getGlobalComponentsInfo(e[t(281)][t(394)])}}),new I18NPlugin({srcPath:ASCF_SRC_PATH,buildPath:BUILD_PATH,entries:I18N_ENTRY}),new WebpackTargetPlugin,new CopyAscfBundlePlugin({projectPath:ASCF_SRC_PATH,entryDir:BUILD_PATH,bundleDir:RAWFILE_DIR}),new ExtConfigPlugin({projectPath:ASCF_SRC_PATH,entryDir:BUILD_PATH})]}function getResolve(){var e=_0x2839e7;return{modules:[path[e(366)](ASCF_SRC_PATH,e(341)),path[e(366)](ASCF_SRC_PATH,"node_modules"),path[e(366)](__dirname,"..","..",e(310)),path.join(__dirname,"..","..","..","..",e(310))]}}function checkBuildResources(){var e=_0x2839e7;(fs[e(303)](ZIP_PATH)||fs[e(303)](BUILD_PATH)||fs[e(303)](ASCF_BUILD_PATH))&&(console[e(336)](chalk[e(266)](e(242))),process[e(240)](1))}function generateConfig(){return _generateConfig.apply(this,arguments)}function _generateConfig(){var e=_0x2839e7;return(_generateConfig=_asyncToGenerator(_regeneratorRuntime()[e(414)](function e(){var r,n;return _regeneratorRuntime().wrap(function(e){for(var t=_0x14e0;;)switch(e[t(397)]=e[t(213)]){case 0:if(process[t(404)][t(328)]===t(324))return e[t(213)]=3,clearResource([ZIP_PATH,BUILD_PATH,ASCF_BUILD_PATH]);e[t(213)]=3;break;case 3:return checkBuildResources(),getI18NEntry(ASCF_SRC_PATH),generateRouteMapping(r=readAppJson()),n=generateEntry(r),n={mode:IS_PRD?"production":"development",devtool:!IS_PRD&&t(348),context:ASCF_SRC_PATH,entry:n,output:{path:BUILD_PATH,filename:t(424),publicPath:"/",globalObject:t(361),enabledChunkLoadingTypes:[t(337)]},target:t(294),resolve:getResolve(),module:generateModules(),plugins:generatePlugins(r),node:{global:!1},stats:t(327),optimization:{noEmitOnErrors:!1,splitChunks:{chunks:t(265),cacheGroups:{default:!1}}}},IS_PRD||(n[t(371)].moduleIds=t(358)),e[t(436)](t(356),n);case 11:case"end":return e[t(293)]()}},e)})))[e(296)](this,arguments)}module[_0x2839e7(392)]=generateConfig;
1
+ var _0x1c9aa6=_0xe2d3;function _regeneratorRuntime(){var c=_0xe2d3;_regeneratorRuntime=function(){return s};var l,s={},e=Object[c(380)],p=e[c(323)],f=Object[c(457)]||function(e,t,r){e[t]=r.value},t=c(421)==typeof Symbol?Symbol:{},o=t[c(377)]||c(368),r=t[c(291)]||"@@asyncIterator",n=t.toStringTag||c(416);function a(e,t,r){return Object[c(457)](e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{a({},"")}catch(e){a=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a,o,i,s,u=c,t=t&&t[u(380)]instanceof v?t:v,t=Object.create(t[u(380)]),n=new T(n||[]);return f(t,u(285),{value:(a=e,o=r,i=n,s=h,function(e,t){var r=_0xe2d3;if(s===m)throw Error(r(242));if(s===g){if(r(398)===e)throw t;return{value:l,done:!0}}for(i[r(443)]=e,i.arg=t;;){var n=i[r(379)];if(n){n=function e(t,r){var n=c,a=r[n(443)],o=t[n(377)][a];if(o===l)return r.delegate=null,n(398)===a&&t[n(377)][n(458)]&&(r.method=n(458),r[n(408)]=l,e(t,r),n(398)===r.method)||n(458)!==a&&(r[n(443)]="throw",r[n(408)]=new TypeError(n(424)+a+"' method")),y;a=_(o,t[n(377)],r.arg);if(n(398)===a.type)return r[n(443)]=n(398),r[n(408)]=a[n(408)],r[n(379)]=null,y;o=a[n(408)];return o?o[n(310)]?(r[t[n(465)]]=o[n(451)],r[n(365)]=t.nextLoc,n(458)!==r[n(443)]&&(r.method=n(365),r[n(408)]=l),r[n(379)]=null,y):o:(r[n(443)]=n(398),r[n(408)]=new TypeError(n(476)),r[n(379)]=null,y)}(n,i);if(n){if(n===y)continue;return n}}if(r(365)===i.method)i[r(314)]=i[r(372)]=i.arg;else if(r(398)===i[r(443)]){if(s===h)throw s=g,i[r(408)];i[r(311)](i[r(408)])}else"return"===i[r(443)]&&i.abrupt("return",i.arg);s=m;n=_(a,o,i);if(r(389)===n[r(420)]){if(s=i[r(310)]?g:d,n[r(408)]===y)continue;return{value:n[r(408)],done:i[r(310)]}}r(398)===n[r(420)]&&(s=g,i[r(443)]="throw",i[r(408)]=n.arg)}})}),t}function _(e,t,r){var n=c;try{return{type:n(389),arg:e[n(414)](t,r)}}catch(e){return{type:"throw",arg:e}}}s[c(249)]=u;var h=c(275),d=c(357),m=c(399),g=c(433),y={};function v(){}function i(){}function P(){}var t={},b=(a(t,o,function(){return this}),Object[c(330)]),b=b&&b(b(I([]))),A=(b&&b!==e&&p[c(414)](b,o)&&(t=b),P[c(380)]=v[c(380)]=Object[c(276)](t));function x(e){var t=c;[t(365),t(398),t(458)][t(317)](function(t){a(e,t,function(e){return this[_0xe2d3(285)](t,e)})})}function C(s,u){var t;f(this,c(285),{value:function(r,n){function e(){return new u(function(e,t){!function t(e,r,n,a){var o,i=_0xe2d3,e=_(s[e],s,r);if(i(398)!==e[i(420)])return(r=(o=e[i(408)])[i(451)])&&i(462)==_typeof(r)&&p[i(414)](r,i(293))?u.resolve(r.__await)[i(422)](function(e){t(i(365),e,n,a)},function(e){t("throw",e,n,a)}):u.resolve(r)[i(422)](function(e){o[i(451)]=e,n(o)},function(e){return t(i(398),e,n,a)});a(e[i(408)])}(r,n,e,t)})}return t=t?t.then(e,e):e()}})}function R(e){var t=c,r={tryLoc:e[0]};1 in e&&(r[t(302)]=e[1]),2 in e&&(r[t(315)]=e[2],r[t(307)]=e[3]),this.tryEntries[t(423)](r)}function S(e){var t=c,r=e[t(326)]||{};r[t(420)]=t(389),delete r.arg,e[t(326)]=r}function T(e){var t=c;this[t(286)]=[{tryLoc:t(475)}],e[t(317)](R,this),this[t(319)](!0)}function I(r){var n=c;if(r||""===r){var a,e=r[o];if(e)return e[n(414)](r);if("function"==typeof r[n(365)])return r;if(!isNaN(r[n(295)]))return a=-1,(e=function e(){for(var t=n;++a<r[t(295)];)if(p[t(414)](r,a))return e[t(451)]=r[a],e[t(310)]=!1,e;return e.value=l,e.done=!0,e})[n(365)]=e}throw new TypeError(_typeof(r)+n(431))}return i[c(380)]=P,f(A,"constructor",{value:P,configurable:!0}),f(P,c(436),{value:i,configurable:!0}),i.displayName=a(P,n,c(338)),s.isGeneratorFunction=function(e){var t=c,e=t(421)==typeof e&&e[t(436)];return!!e&&(e===i||t(338)===(e[t(281)]||e[t(404)]))},s.mark=function(e){var t=c;return Object[t(350)]?Object[t(350)](e,P):(e[t(407)]=P,a(e,n,t(338))),e.prototype=Object[t(276)](A),e},s[c(259)]=function(e){return{__await:e}},x(C[c(380)]),a(C[c(380)],r,function(){return this}),s[c(427)]=C,s.async=function(e,t,r,n,a){var o=c,i=(void 0===a&&(a=Promise),new C(u(e,t,r,n),a));return s[o(299)](t)?i:i.next().then(function(e){var t=o;return e[t(310)]?e[t(451)]:i[t(365)]()})},x(A),a(A,n,c(322)),a(A,o,function(){return this}),a(A,c(410),function(){return c(334)}),s.keys=function(e){var t,n=c,a=Object(e),o=[];for(t in a)o[n(423)](t);return o[n(294)](),function e(){for(var t=n;o[t(295)];){var r=o[t(318)]();if(r in a)return e[t(451)]=r,e[t(310)]=!1,e}return e[t(310)]=!0,e}},s[c(298)]=I,T.prototype={constructor:T,reset:function(e){var t=c;if(this[t(461)]=0,this[t(365)]=0,this.sent=this[t(372)]=l,this[t(310)]=!1,this[t(379)]=null,this.method=t(365),this[t(408)]=l,this.tryEntries[t(317)](S),!e)for(var r in this)"t"===r[t(400)](0)&&p[t(414)](this,r)&&!isNaN(+r.slice(1))&&(this[r]=l)},stop:function(){var e=c,t=(this[e(310)]=!0,this.tryEntries[0][e(326)]);if(e(398)===t[e(420)])throw t[e(408)];return this.rval},dispatchException:function(n){var a=c;if(this[a(310)])throw n;var o=this;function e(e,t){var r=a;return i[r(420)]=r(398),i[r(408)]=n,o[r(365)]=e,t&&(o[r(443)]=r(365),o[r(408)]=l),!!t}for(var t=this.tryEntries[a(295)]-1;0<=t;--t){var r=this[a(286)][t],i=r[a(326)];if(a(475)===r[a(312)])return e(a(270));if(r[a(312)]<=this.prev){var s=p[a(414)](r,a(302)),u=p[a(414)](r,"finallyLoc");if(s&&u){if(this[a(461)]<r[a(302)])return e(r[a(302)],!0);if(this.prev<r[a(315)])return e(r[a(315)])}else if(s){if(this[a(461)]<r.catchLoc)return e(r.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r[a(315)])}}}},abrupt:function(e,t){for(var r=c,n=this.tryEntries.length-1;0<=n;--n){var a=this[r(286)][n];if(a.tryLoc<=this.prev&&p[r(414)](a,r(315))&&this.prev<a[r(315)]){var o=a;break}}var i=(o=o&&(r(268)===e||r(450)===e)&&o[r(312)]<=t&&t<=o.finallyLoc?null:o)?o.completion:{};return i[r(420)]=e,i[r(408)]=t,o?(this[r(443)]=r(365),this[r(365)]=o[r(315)],y):this[r(374)](i)},complete:function(e,t){var r=c;if(r(398)===e.type)throw e.arg;return"break"===e.type||"continue"===e[r(420)]?this.next=e[r(408)]:r(458)===e[r(420)]?(this.rval=this.arg=e[r(408)],this[r(443)]=r(458),this[r(365)]="end"):r(389)===e.type&&t&&(this[r(365)]=t),y},finish:function(e){for(var t=c,r=this[t(286)][t(295)]-1;0<=r;--r){var n=this.tryEntries[r];if(n.finallyLoc===e)return this[t(374)](n[t(326)],n[t(307)]),S(n),y}},catch:function(e){for(var t=c,r=this.tryEntries[t(295)]-1;0<=r;--r){var n,a,o=this.tryEntries[r];if(o[t(312)]===e)return n=o[t(326)],t(398)===n.type&&(a=n[t(408)],S(o)),a}throw Error(t(411))},delegateYield:function(e,t,r){var n=c;return this[n(379)]={iterator:I(e),resultName:t,nextLoc:r},n(365)===this[n(443)]&&(this[n(408)]=l),y}},s}function _typeof(e){var r=_0xe2d3;return(_typeof=r(421)==typeof Symbol&&r(325)==typeof Symbol.iterator?function(e){return typeof e}:function(e){var t=r;return e&&t(421)==typeof Symbol&&e.constructor===Symbol&&e!==Symbol[t(380)]?t(325):typeof e})(e)}function asyncGeneratorStep(e,t,r,n,a,o,i){var s=_0xe2d3;try{var u=e[o](i),c=u[s(451)]}catch(e){return void r(e)}u[s(310)]?t(c):Promise[s(359)](c).then(n,a)}function _asyncToGenerator(u){return function(){var e=this,s=arguments;return new Promise(function(t,r){var n=_0xe2d3,a=u[n(403)](e,s);function o(e){asyncGeneratorStep(a,t,r,o,i,n(365),e)}function i(e){asyncGeneratorStep(a,t,r,o,i,n(398),e)}o(void 0)})}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){var t=_0xe2d3;if(t(300)!=typeof Symbol&&null!=e[Symbol[t(377)]]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array[_0xe2d3(347)](e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var r,n,a,o,i=_0xe2d3,s=i(300)!=typeof Symbol&&e[Symbol[i(377)]]||e[i(368)];if(s)return a=!(n=!0),{s:function(){s=s[i(414)](e)},n:function(){var e=i,t=s[e(365)]();return n=t[e(310)],t},e:function(e){a=!0,r=e},f:function(){var e=i;try{n||null==s[e(458)]||s[e(458)]()}finally{if(a)throw r}}};if(Array[i(347)](e)||(s=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e[i(295)])return s&&(e=s),o=0,{s:t=function(){},n:function(){return o>=e[i(295)]?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError(i(247))}function _unsupportedIterableToArray(e,t){var r,n=_0xe2d3;if(e)return n(392)==typeof e?_arrayLikeToArray(e,t):(r={}[n(410)].call(e)[n(402)](8,-1),n(467)===r&&e[n(436)]&&(r=e.constructor[n(404)]),n(371)===r||"Set"===r?Array.from(e):n(292)===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0)}function _arrayLikeToArray(e,t){var r=_0xe2d3;(null==t||t>e[r(295)])&&(t=e[r(295)]);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function _defineProperty(e,t,r){var n=_0xe2d3;return(t=_toPropertyKey(t))in e?Object[n(457)](e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){var t=_0xe2d3,e=_toPrimitive(e,"string");return t(325)==_typeof(e)?e:e+""}function _toPrimitive(e,t){var r=_0xe2d3;if(r(462)!=_typeof(e)||!e)return e;var n=e[Symbol[r(415)]];if(void 0===n)return(r(392)===t?String:Number)(e);n=n.call(e,t||r(306));if(r(462)!=_typeof(n))return n;throw new TypeError(r(348))}(()=>{for(var e=_0xe2d3,t=_0x3acb();;)try{if(962589==+parseInt(e(256))*(parseInt(e(353))/2)+-parseInt(e(336))/3+parseInt(e(267))/4+parseInt(e(454))/5+-parseInt(e(303))/6+parseInt(e(382))/7+parseInt(e(333))/8*(-parseInt(e(381))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var path=require("path"),fs=require("fs"),webpack=require(_0x1c9aa6(473)),json5=require(_0x1c9aa6(262)),ResourcePlugin=require(_0x1c9aa6(428)),HtmlGeneratorPlugin=require(_0x1c9aa6(413)),ManifestGeneratorPlugin=require("./plugin/manifest-generator-plugin"),I18NPlugin=require(_0x1c9aa6(279)),CopyAscfBundlePlugin=require(_0x1c9aa6(296)),_packOptions=require(_0x1c9aa6(254)),_require=require(_0x1c9aa6(397)),clearResource=_require[_0x1c9aa6(448)],IS_PRD=_require[_0x1c9aa6(425)],PROJECT_PATH=_require[_0x1c9aa6(362)],PROJECT_CONFIG=_require[_0x1c9aa6(258)],ASCF_SRC_PATH=_require[_0x1c9aa6(434)],ASCF_BUILD_PATH=_require[_0x1c9aa6(477)],RAWFILE_DIR=_require[_0x1c9aa6(252)],WebpackTargetPlugin=require(_0x1c9aa6(339)),LoggerPlguin=require("../common/logger-plugin"),utils=require(_0x1c9aa6(468)),commonUtils=require(_0x1c9aa6(397)),removeStrictModePlugin=require(_0x1c9aa6(245)),chalk=require(_0x1c9aa6(438)),ExtConfigPlugin=require("./plugin/extConfig-plugin"),ignoreRules=(chalk[_0x1c9aa6(260)]=1,process[_0x1c9aa6(441)]=!0,generateIgnoreRule(PROJECT_CONFIG)),ZIP_PATH=path[_0x1c9aa6(331)](ASCF_SRC_PATH,".ascf",_0x1c9aa6(345)),buildProfileJson5Path=path[_0x1c9aa6(359)](PROJECT_PATH,_0x1c9aa6(335));if(!fs[_0x1c9aa6(305)](buildProfileJson5Path))throw _0x1c9aa6(337);var buildProfile=json5[_0x1c9aa6(349)](fs.readFileSync(buildProfileJson5Path)[_0x1c9aa6(410)]());if(!buildProfile[_0x1c9aa6(278)]||0===buildProfile[_0x1c9aa6(278)][_0x1c9aa6(295)])throw _0x1c9aa6(452);var BUILD_PATH=path[_0x1c9aa6(359)](PROJECT_PATH,buildProfile[_0x1c9aa6(278)][0][_0x1c9aa6(251)],RAWFILE_DIR),I18N_ENTRY=[],I18N=_0x1c9aa6(366),APP=_0x1c9aa6(426),APP_TYPE=_0x1c9aa6(430);function handleUsingComponents(e,t){var r,n=_0x1c9aa6;if(e)for(var a in e)Object[n(380)][n(323)][n(414)](e,a)&&(r=e[a].trim(),e[a]=utils[n(255)](r,t,ASCF_SRC_PATH))}function checkTabBarPath(e){var t,i,r=_0x1c9aa6,s=[r(282),r(324),r(309)],n=(null==(n=e[r(474)])?void 0:n[r(257)])||[],e=e.subPackages||e[r(342)]||[];n!==[]&&e!==[]&&(t=e[r(274)](function(e){return e[r(475)]})[r(332)](function(e){return e}),i=[],n[r(317)](function(o){var e=r;t[e(317)](function(n){var a=e;s[a(317)](function(e){var t,r=a;path[r(331)](ASCF_SRC_PATH,null!=(t=o[e])?t:"")[r(470)](path[r(331)](ASCF_SRC_PATH,n,"/"))&&i[r(423)](chalk[r(440)](r(327).concat(o[r(253)]," ")[r(394)](e,r(313))))})})}),0<i.length)&&(i[r(317)](function(e){console[r(435)](chalk.red(e))}),console.error(chalk[r(440)](r(432))),process[r(272)](1))}function readAppJson(){var r=_0x1c9aa6,e=_defineProperty({},APP,new Map),t=path[r(331)](ASCF_SRC_PATH,"app.json");if(!fs[r(305)](t))throw r(320);var n=commonUtils[r(344)](t),t=(checkTabBarPath(n),handleAppType(n),handleUsingComponents(n[r(271)],t),n.page={},n[r(341)]=[],[]);if(!n[r(243)]||n.pages.length<=0)throw r(390);putPageInfoToEntryList(n[r(243)],"",!1,n,e[APP]);var a=[r(342),r(419)][r(264)](function(e){var t=r;return Object[t(380)].hasOwnProperty[t(414)](n,e)});if(t[r(295)]){a&&delete n[a];var o,i=_createForOfIteratorHelper(n[r(342)]=t);try{for(i.s();!(o=i.n()).done;){var s=o[r(451)],u=new Map;e[s.root]=u,putPageInfoToEntryList(s[r(243)],s.root,s[r(356)],n,u)}}catch(e){i.e(e)}finally{i.f()}}else if(a){t=n[a],delete n[a];var c,l=_createForOfIteratorHelper(n[r(342)]=t);try{for(l.s();!(c=l.n())[r(310)];){var p=c[r(451)],f=new Map;e[p[r(475)]]=f,putPageInfoToEntryList(p[r(243)],p[r(475)],p[r(356)],n,f)}}catch(e){l.e(e)}finally{l.f()}}return handingCustomTabBar(n),{manifest:n,projectComponentsMap:e}}function handleAppType(e){var t,r=_0x1c9aa6;e.type=null!=(t=null!=(t=e.type)?t:e[r(290)])?t:APP_TYPE,delete e[r(290)]}function hasCustomTabBar(e){var t=_0x1c9aa6;return(e.tabBar||{}).custom&&fs[t(305)](path[t(359)](ASCF_SRC_PATH,t(383)))}function _0xe2d3(e,t){var r=_0x3acb();return(_0xe2d3=function(e,t){return r[e-=241]})(e,t)}function handingCustomTabBar(e){var t=_0x1c9aa6;if(hasCustomTabBar(e)){var r,n=_createForOfIteratorHelper(e[t(474)][t(257)]);try{for(n.s();!(r=n.n())[t(310)];){var a=r[t(451)];if(!e.page[a[t(309)]])throw t(273)+"'".concat(a.pagePath,t(471));e[t(401)][a[t(309)]][t(280)]=!0}}catch(e){n.e(e)}finally{n.f()}}}function getGlobalComponentsInfo(){var t=_0x1c9aa6,r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=[];return Object[t(297)](r)[t(317)](function(e){n[t(423)]({key:e,path:r[e]})}),n}function putPageInfoToEntryList(e,t,r,n,a){var o=_0x1c9aa6;if(e)for(var i in e)if(Object[o(380)][o(323)][o(414)](e,i)){var i=path[o(331)](ASCF_SRC_PATH,t,e[i]),s=path.relative(ASCF_SRC_PATH,i);if(!_packOptions.isIgnoreFile(s,ignoreRules)){var s=s[o(316)](/\\/g,"/"),i="".concat(i,".json"),u=void 0;try{u=fs[o(305)](i)?JSON.parse(fs[o(384)](i)[o(410)]()):{}}catch(e){throw o(447)[o(394)](i," contains error, please check it.")}handleUsingComponents(u.usingComponents,i),r&&n[o(341)][o(423)](s),n[o(401)][s]=u,t||getUsingComponents(n,"","",a,o(401)),getUsingComponents(u,i,s,a,o(401))}}}function _0x3acb(){var e=["ERROR: Can not resolve tabBar list item : ","map","suspendedStart","create","route-mapping.json","modules","./plugin/i18n-transform-plugin","useCustomTabBar","displayName","iconPath","named","app.css","_invoke","tryEntries","isDirectory",".pack.js","widgetPathsList","appType","asyncIterator","Arguments","__await","reverse","length","./plugin/copy-bundle-plugin","keys","values","isGeneratorFunction","undefined","readdir","catchLoc","1006344dWvUIB","mark","existsSync","default","afterLoc","miniprogram_npm","pagePath","done","dispatchException","tryLoc"," cannot be in the subpackage directory","sent","finallyLoc","replace","forEach","pop","reset","ERROR: Can not resolve file : app.json","env","Generator","hasOwnProperty","selectedIconPath","symbol","completion","ERROR: tabBar ","@babel/plugin-transform-modules-commonjs","widgets","getPrototypeOf","join","filter","7119968bOKuQB","[object Generator]","build-profile.json5","4591767oivhom","ERROR: build-profile.json5 file not found","GeneratorFunction","./plugin/webpack-target/index","node_modules","independentList","subpackages","customTabBar","readJsonFile","dist","versionNum","isArray","@@toPrimitive must return a primitive value.","parse","setPrototypeOf","moduleIds",".ux","24474KwcOxj","component","@babel/preset-env","independent","suspendedYield","stop","resolve","components","projectComponentsMap","PROJECT_PATH","mergeMap","compJsonPath","next","i18n","lstatSync","@@iterator","get","WARNING:Route information in the manifest.json file is incomplete:\n Page '","Map","_sent","defFreezeProperty","complete","manifest","custom-tab-bar/index.pack.js","iterator","test","delegate","prototype","9mVyiKB","4026029RrVGra","custom-tab-bar/index.hxml","readFileSync","abrupt",".js","./hjs-loader","parseIgnoreRules","normal","ERROR: app.json doesn't contain any page.","app.css.js","string","fixEntryPath","concat","./trustlist-hxml-verify-loader.js","routeMapping","../common/utils","throw","executing","charAt","page","slice","apply","name","set","' is used.","__proto__","arg","LoaderOptionsPlugin","toString","illegal catch attempt","getAbsPath","./plugin/html-generator-plugin","call","toPrimitive","@@toStringTag",".json",".hxml","subPackages","type","function","then","push","The iterator does not provide a '","IS_PRD","app","AsyncIterator","./plugin/resource-plugin","custom-tab-bar/index","webapp"," is not iterable","ERROR: modify app.json tabBar and recompile it","completed","ASCF_SRC_PATH","error","constructor","toLowerCase","../ascf-compiler/chalk/bundle.cjs","import-scripts","red","noDeprecation","path","method","[name]","./hxml-loader","ERROR: Failed to find the file: ","ERROR: ","clearResource","relative","continue","value","ERROR: build-profile.json5 file modules is null","babel-loader","1799515bBakzu","warn","global","defineProperty","return","WARNING: The build directory is not cleared. Use the -c parameter.","@babel/plugin-proposal-class-properties","prev","object","fa-compiler/loader.js","loadBabelModule","resultName","componentList","Object","./common/utils","router","startsWith","', please check tabBar configuration.","some","webpack","tabBar","root","iterator result is not an object","ASCF_BUILD_PATH","filePath","Generator is already running","pages","development","../common/remove-strict-mode-plugin","none","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","yes","wrap","async","srcPath","RAWFILE_DIR","text","./common/packoptions-utils","getProjectAbsPath","85KKzacP","list","PROJECT_CONFIG","awrap","level","yellow","json5","./path-process-loader.js","find","production","javascript/auto","6302812aeZlAs","break","app.js","end","usingComponents","exit"];return(_0x3acb=function(){return e})()}function getUsingComponents(o,i,e,s,t){var u=_0x1c9aa6,c=5<arguments[u(295)]&&void 0!==arguments[5]?arguments[5]:[],l=[],p=o[u(404)];if(o[u(271)])for(var f in o[u(271)])(()=>{var t=u;if(Object.prototype[t(323)][t(414)](o[t(271)],f)){var r=o.usingComponents[f],e=utils[t(412)](r,i,ASCF_SRC_PATH,".json"),n=e[t(241)],e=e[t(393)],a=path[t(449)](ASCF_SRC_PATH,n)[t(316)](/\\/g,"/")[t(316)](/\.json/,""),r=e||a;if(o[t(271)][f]=r,!p&&i===n)return p=f;if(c[t(264)](function(e){return e===n}))return;l[t(472)](function(e){return e[t(442)]===r})||l[t(423)]({path:r,key:f,compJsonPath:n});e=JSON[t(349)](fs[t(384)](n)[t(410)]());handleUsingComponents(e[t(271)],n),getUsingComponents(e,n,r,s,t(354),c[t(394)]([n]))}})();e&&!s[u(369)](e)&&(t={componentList:l,type:t,componentName:p,compJsonPath:i,path:e},s[u(405)](e,t))}function getI18NEntry(u){var c=_0x1c9aa6;fs[c(301)](u,function(e,t){var r=c;if(e)throw e;var n,a=_createForOfIteratorHelper(t);try{for(a.s();!(n=a.n())[r(310)];){var o,i=n[r(451)],s=path[r(331)](u,i)[r(316)](/\\/g,"/");fs[r(367)](s)[r(287)]()&&!/(node_modules)|(\.ascf)/[r(378)](i)&&((o=s.split("/"))[o[r(295)]-1][r(437)]()===I18N&&I18N_ENTRY.push(s),getI18NEntry(s))}}catch(e){a.e(e)}finally{a.f()}})}function generateEntry(e){var n=_0x1c9aa6,a={},t=e[n(361)],r=[],o=(Object[n(297)](t)[n(294)]().forEach(function(e){r[n(423)](t[e])}),a[n(269)]=path[n(359)](ASCF_SRC_PATH,"app.json?package=app")[n(316)](/\\/g,"/"),utils[n(363)](r)),i=path[n(359)](ASCF_SRC_PATH,n(284));if(fs[n(305)](i)&&(a[n(391)]=path.resolve(ASCF_SRC_PATH,"app.css")),hasCustomTabBar(e.manifest)){var s,i=path.resolve(ASCF_SRC_PATH,n(383)),u=i[n(316)](/\.hxml$/,n(417)),c=(a[n(376)]=""[n(394)](i,"?type=component"),_createForOfIteratorHelper(e[n(375)][n(474)][n(257)]));try{for(c.s();!(s=c.n())[n(310)];){var l=s[n(451)];o.get(l.pagePath)&&o.get(l[n(309)])[n(466)].push({path:n(429),key:n(343),compJsonPath:u})}}catch(e){c.e(e)}finally{c.f()}i={componentList:[],type:"component",compJsonPath:u};t[n(426)].set(n(429),i)}return o[n(317)](function(e,t){var r=n;return a[""[r(394)](t,r(288))]=e[r(364)][r(316)](/\.json$/,r(418))}),utils[n(373)](e,n(360),o),generateWidgetsEntry(a,e),a}function generateWidgetsEntry(a,r){var o,n,i=_0x1c9aa6,e=r[i(375)];r[i(375)]&&e[i(469)]&&((o=e[i(469)][i(243)])&&Object.keys(o)[i(317)](function(e){var t=i,r=o[e],n=r.component,r=(r||console[t(455)](chalk[t(261)](t(370)[t(394)](e,"' does not have the component attribute configured. ")+"By default, '"[t(394)](n,t(406)))),path[t(331)](ASCF_SRC_PATH,e,n)),e="".concat(path.join(e,n),t(386));if(fs.existsSync("".concat(r,t(352))))a[e]="".concat(r,t(352));else if(!fs[t(305)](""[t(394)](r,t(418))))throw t(446)[t(394)](r,t(352))}),e=e[i(329)])&&0<e[i(295)]&&(r[i(289)]=[],n="",e[i(317)](function(e){var t=i;n=e[t(442)],r[t(289)][t(423)](path[t(331)](ASCF_SRC_PATH,n))}))}function generateModules(){var e=_0x1c9aa6,t={targets:{node:8}};return{rules:[][e(394)](_toConsumableArray(utils.createCSSRule()),[{test:/\.js$/,use:[{loader:utils[e(464)](e(453)),options:{presets:[[utils.loadBabelModule(e(355)),t]],plugins:[utils.loadBabelModule(e(328)),utils[e(464)](e(460))]}},{loader:path[e(359)](__dirname,"./trustlist-js-verify-loader.js")}],exclude:/node_modules/},{test:/\.(hjs)$/,use:[{loader:path[e(359)](__dirname,e(387))},{loader:utils[e(464)]("babel-loader"),options:{presets:[[utils[e(464)](e(355)),t]],plugins:[utils[e(464)](e(328)),removeStrictModePlugin]}},{loader:path.resolve(__dirname,e(263))},{loader:path.resolve(__dirname,"./trustlist-js-verify-loader.js")}],exclude:/node_modules/},{test:/\.hxml$/,type:"javascript/auto",use:[{loader:utils[e(464)](e(453)),options:{presets:[[utils[e(464)](e(355)),t]],compact:!1}},{loader:path[e(359)](__dirname,e(445))},{loader:path[e(359)](__dirname,e(395))}]},{test:/app\.json$/,type:e(266),use:[{loader:path[e(359)](__dirname,"./appjson-loader")}]},{test:/\.(ux)(\?[^?]+)?$/,use:[{loader:path.resolve(__dirname,e(463))}]}])}}function generateIgnoreRule(e){var t;return(t=e?_packOptions[_0x1c9aa6(388)](e):t)||{}}function generateRouteMapping(e){var t=_0x1c9aa6,r=e.manifest[t(396)]||{},n=path.join(ASCF_SRC_PATH,t(277));if(fs.existsSync(n)){var a=JSON.parse(fs[t(384)](n)[t(410)]());if(a)for(var o in a)Object[t(380)][t(323)][t(414)](a,o)&&(r[o]=a[o])}0<Object[t(297)](r).length&&(e[t(375)][t(396)]=r)}function generatePlugins(e){var t=_0x1c9aa6;return[new LoggerPlguin,new ResourcePlugin({src:ASCF_SRC_PATH,build:BUILD_PATH,ignoreRules:ignoreRules,manifest:e[t(375)]}),new ManifestGeneratorPlugin({manifest:e[t(375)],build:BUILD_PATH}),new HtmlGeneratorPlugin({manifestData:e[t(375)],pagesInfo:e[t(375)].page,srcPath:ASCF_SRC_PATH,buildPath:BUILD_PATH,componentSet:e.components}),new webpack[t(409)]({options:{srcPath:ASCF_SRC_PATH,manifest:e[t(375)],components:e[t(360)],projectComponentsMap:e.projectComponentsMap,versionNum:e[t(346)],widgetPathsList:e[t(289)],widgetsDependList:e.widgetPathsList,projectCfgData:PROJECT_CONFIG,globalComponents:getGlobalComponentsInfo(e[t(375)][t(271)])}}),new I18NPlugin({srcPath:ASCF_SRC_PATH,buildPath:BUILD_PATH,entries:I18N_ENTRY}),new WebpackTargetPlugin,new CopyAscfBundlePlugin({projectPath:ASCF_SRC_PATH,entryDir:BUILD_PATH,bundleDir:RAWFILE_DIR}),new ExtConfigPlugin({projectPath:ASCF_SRC_PATH,entryDir:BUILD_PATH})]}function getResolve(){var e=_0x1c9aa6;return{modules:[path[e(331)](ASCF_SRC_PATH,e(308)),path[e(331)](ASCF_SRC_PATH,e(340)),path[e(331)](__dirname,"..","..",e(340)),path.join(__dirname,"..","..","..","..",e(340))]}}function checkBuildResources(){var e=_0x1c9aa6;(fs[e(305)](ZIP_PATH)||fs[e(305)](BUILD_PATH)||fs.existsSync(ASCF_BUILD_PATH))&&(console[e(455)](chalk.yellow(e(459))),process.exit(1))}function generateConfig(){return _generateConfig[_0x1c9aa6(403)](this,arguments)}function _generateConfig(){var e=_0x1c9aa6;return(_generateConfig=_asyncToGenerator(_regeneratorRuntime()[e(304)](function e(){var r,n;return _regeneratorRuntime().wrap(function(e){for(var t=_0xe2d3;;)switch(e.prev=e[t(365)]){case 0:if(process[t(321)][t(448)]===t(248))return e[t(365)]=3,clearResource([ZIP_PATH,BUILD_PATH,ASCF_BUILD_PATH]);e[t(365)]=3;break;case 3:return checkBuildResources(),getI18NEntry(ASCF_SRC_PATH),generateRouteMapping(r=readAppJson()),n=generateEntry(r),n={mode:t(IS_PRD?265:244),devtool:!IS_PRD&&"inline-cheap-source-map",context:ASCF_SRC_PATH,entry:n,output:{path:BUILD_PATH,filename:t(444),publicPath:"/",globalObject:t(456),enabledChunkLoadingTypes:[t(439)]},target:"web",resolve:getResolve(),module:generateModules(),plugins:generatePlugins(r),node:{global:!1},stats:t(246),optimization:{noEmitOnErrors:!1,splitChunks:{chunks:t(250),cacheGroups:{default:!1}}}},IS_PRD||(n.optimization[t(351)]=t(283)),e[t(385)](t(458),n);case 11:case t(270):return e[t(358)]()}},e)})))[e(403)](this,arguments)}module.exports=generateConfig;
@@ -1 +1 @@
1
- var _0xeef3ef=_0xc511;function _typeof(e){var f=_0xc511;return(_typeof=f(342)==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e[f(366)]===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,f){var o=_0xc511;if(!(e instanceof f))throw new TypeError(o(462))}function _defineProperties(e,f){for(var o=_0xc511,t=0;t<f[o(488)];t++){var n=f[t];n.enumerable=n[o(461)]||!1,n[o(335)]=!0,o(446)in n&&(n[o(369)]=!0),Object[o(362)](e,_toPropertyKey(n[o(489)]),n)}}function _createClass(e,f,o){var t=_0xc511;return f&&_defineProperties(e[t(381)],f),o&&_defineProperties(e,o),Object[t(362)](e,t(381),{writable:!1}),e}function _0x5e3b(){var e=["touchEnd","openCommunityEditor","onRegionChange","enablePullDownRefresh","touchCancel","getAccountInfoSync","onToBindWithTagEvents",".wxss","setBackgroundTextStyle",".qjs","getunionid","startLocationUpdate","Applets","tablebarListItems",".ttml","subscribeService","showTabBarRedDot","createAudioContext","onChange","showNavigationBarLoading","onAnimationIteration","onDisappear","requestPolymerPayment","getBackgroundAudioManager","pauseBackgroundAudio","offSocketClose","getDirectivesReg","setTopBarText","onBackgroundAudioStop","772835Qpzscc","onRenderStart","onAudioInterruptionBegin","onShareAppMessage","setClipboardData","directivesPrefix","string","calculateRoute","chooseCity","getAppIdSync","offSocketMessage","setTabBarItem","hideTabBarRedDot","bindanimationfinish",".css","offSocketOpen","onError","closeBLEConnection","onScroll","99WVLLcI","getRunScene","seekBackgroundAudio","onFullScreenChange","wx:","getEnvInfoSync","onChangeEnd","stopAccelerometer","value","onURLQueryChange","hideHomeButton","commonOnEvents","hideToast","project.swan.json","152465wIPjba","onChanging","compressVideo","startRecord","block-color","compressImage","onUserAction","setNavigationBar","addTemplate","enumerable","Cannot call a class as a function","onFocus","interfacesForTransform","nextTick","2837676EBpvWb","isLoginSync","deletesitemap","scanCode","createAnimationVideo","Alipay","onTimeUpdate","navigateToSmartProgram","block-size","getURLQuery","resetConfig","openShare","onCalloutTap","onAnimationEnd","offLocationChange","1599774iMRrfI","24lcdoBs",".ttss","toPrimitive",".qxml","mute","projectFileSuffix","length","key","onAudioInterruptionEnd","object","setTabBarStyle","473960wqRCaD","bindchange","__esModule","polygons","onTransition","365877wYqGMx","updateBookshelfReadTime","setEnableDebug","startWifi","createInnerAudioContext","rsa","tagEventToTransform","@@toPrimitive must return a primitive value.","getBackgroundAudioPlayerState","weChat","configBasename","Baidu","onWindowResize","call","createARCameraContext","onBlur","tt:","tablebarItems","vibrate","offAudioInterruptionEnd","onStop","project.config.json","closeCommunityEditor","playVoice","72ZmFNbd","shareFile","list","getSelectedTextRange","openReplyEditor","multiLevelSelect","onTransitionEnd","bindwaiting","onFirstAppear","getSwanId","navigationBarBackgroundColor","setPageInfo","arrayBufferToBase64","offAudioInterruptionBegin","configBasenameArray","2084ZbjJlR","onBackgroundAudioPlay","36AsoGNR","stopLocationUpdate","Headline","setDocumentTitle","getAvailableAudioSources","navigateBackSmartProgram","quickapp","wxs","chooseMessageFile","configurable","datePicker","getRealtimeLogManager","stopVoice","hideBackHome","symbol","getClipboardData","function","onConfirm","stopWifi","pauseVoice","optionsSelect","submitsitemap","setMetaKeywords",".swan","deleteresource","saveFile","invalidApis","touchStart","quickapp.config.json","queryBookshelf","SDKVersion",".sjs",".acss","onPanelTap","submitresource","watchShake","defineProperty","concat","minProgramLanguage","672GTIOZV","constructor","setLocatedCity","onScrollToUpper","writable","requestHwPayment","specialTag","touchMove","onLocationChange","setWifiList","getServerTime","windowItems","closeReplyEditor","qa:","saveFileToDisk","getTemplateList","prototype","showAuthGuide","onScale","playBackgroundAudio","iconPath","import-sjs","onPlay","onInput",".wxs"];return(_0x5e3b=function(){return e})()}function _toPropertyKey(e){var f=_0xc511,e=_toPrimitive(e,f(425));return f(340)==_typeof(e)?e:e+""}function _toPrimitive(e,f){var o=_0xc511;if(o(491)!=_typeof(e)||!e)return e;var t=e[Symbol[o(484)]];if(void 0===t)return(o(425)===f?String:Number)(e);t=t[o(511)](e,f||"default");if(o(491)!=_typeof(t))return t;throw new TypeError(o(505))}(()=>{for(var e=_0xc511,f=_0x5e3b();;)try{if(283923==+parseInt(e(498))+parseInt(e(324))/2*(parseInt(e(365))/3)+-parseInt(e(326))/4*(-parseInt(e(452))/5)+parseInt(e(466))/6+-parseInt(e(419))/7*(-parseInt(e(482))/8)+parseInt(e(438))/9*(-parseInt(e(493))/10)+parseInt(e(481))/11*(-parseInt(e(309))/12))break;f.push(f.shift())}catch(e){f.push(f.shift())}})(),Object[_0xeef3ef(362)](exports,_0xeef3ef(495),{value:!0}),exports[_0xeef3ef(464)]=exports[_0xeef3ef(396)]=exports[_0xeef3ef(504)]=exports.commonOnEvents=exports[_0xeef3ef(402)]=exports[_0xeef3ef(403)]=exports.tablebarItems=exports.windowItems=exports[_0xeef3ef(323)]=exports[_0xeef3ef(371)]=exports[_0xeef3ef(424)]=exports[_0xeef3ef(487)]=exports[_0xeef3ef(364)]=exports[_0xeef3ef(352)]=void 0,exports[_0xeef3ef(352)]=["base64ToArrayBuffer",_0xeef3ef(321),_0xeef3ef(490),_0xeef3ef(421),_0xeef3ef(304),_0xeef3ef(322),_0xeef3ef(500),_0xeef3ef(450),_0xeef3ef(409),"hideNavigationBarLoading",_0xeef3ef(398),"setBackgroundColor",_0xeef3ef(406),_0xeef3ef(492),_0xeef3ef(430),_0xeef3ef(431),"createAnimation",_0xeef3ef(465),"getMenuButtonBoundingClientRect",_0xeef3ef(457),_0xeef3ef(454),_0xeef3ef(338),"setInnerAudioOption",_0xeef3ef(308),_0xeef3ef(345),_0xeef3ef(330),_0xeef3ef(502),_0xeef3ef(407),"stopBackgroundAudio",_0xeef3ef(440),_0xeef3ef(384),_0xeef3ef(414),_0xeef3ef(418),_0xeef3ef(325),"onBackgroundAudioPause",_0xeef3ef(506),_0xeef3ef(413),"stopRecord",_0xeef3ef(455),"getRecorderManager",_0xeef3ef(327),"startLocationUpdateBackground",_0xeef3ef(401),_0xeef3ef(373),_0xeef3ef(480),_0xeef3ef(341),_0xeef3ef(374),_0xeef3ef(501),_0xeef3ef(344),_0xeef3ef(379),"createOffscreenCanvas","onMemoryWarning","offMemoryWarning",_0xeef3ef(337),_0xeef3ef(448),_0xeef3ef(417),_0xeef3ef(510),"offWindowResize",_0xeef3ef(334),"checkSession","getUserInfo",_0xeef3ef(370),_0xeef3ef(395),_0xeef3ef(428),_0xeef3ef(439),_0xeef3ef(356),_0xeef3ef(339),_0xeef3ef(459),"chooseAlipayContact",_0xeef3ef(427),"onLocatedComplete",_0xeef3ef(367),"regionPicker",_0xeef3ef(336),_0xeef3ef(426),_0xeef3ef(346),_0xeef3ef(314),"setCanPullDown",_0xeef3ef(415),_0xeef3ef(429),_0xeef3ef(434),"offSocketError",_0xeef3ef(486),_0xeef3ef(322),_0xeef3ef(304),_0xeef3ef(421),"onAudioInterruptionEnd",_0xeef3ef(303),_0xeef3ef(361),_0xeef3ef(375),_0xeef3ef(382),_0xeef3ef(503),_0xeef3ef(475),"setURLQuery",_0xeef3ef(447),"ai",_0xeef3ef(512),_0xeef3ef(470),"createLivePlayerContext","createRtcRoomContext",_0xeef3ef(443),_0xeef3ef(400),_0xeef3ef(467),_0xeef3ef(412),_0xeef3ef(320),"setMetaDescription",_0xeef3ef(348),_0xeef3ef(329),"loadSubPackage","reportAnalytics","getSystemRiskInfo",_0xeef3ef(405),"insertBookshelf","deleteBookshelf",_0xeef3ef(355),_0xeef3ef(499),"navigateToBookshelf",_0xeef3ef(318),_0xeef3ef(422),_0xeef3ef(477),_0xeef3ef(310),_0xeef3ef(473),_0xeef3ef(331),_0xeef3ef(391),_0xeef3ef(307),_0xeef3ef(313),_0xeef3ef(377),_0xeef3ef(360),_0xeef3ef(350),_0xeef3ef(347),_0xeef3ef(468),"getTemplateLibraryList","getTemplateLibraryById",_0xeef3ef(460),_0xeef3ef(380),"deleteTemplate","sendTemplateMessage"],exports[_0xeef3ef(364)]={qa:_0xeef3ef(332),wx:_0xeef3ef(507),swan:_0xeef3ef(509),my:_0xeef3ef(471),tt:_0xeef3ef(328)},exports[_0xeef3ef(487)]={qa:{hxml:_0xeef3ef(485),css:".css",hjs:_0xeef3ef(399)},wx:{hxml:".wxml",css:_0xeef3ef(397),hjs:_0xeef3ef(389)},swan:{hxml:_0xeef3ef(349),css:_0xeef3ef(433),hjs:_0xeef3ef(357)},my:{hxml:".axml",css:_0xeef3ef(358),hjs:_0xeef3ef(357)},tt:{hxml:_0xeef3ef(404),css:_0xeef3ef(483),hjs:_0xeef3ef(357)}},exports[_0xeef3ef(424)]={qa:_0xeef3ef(378),wx:_0xeef3ef(442),swan:"s-",my:"a:",tt:_0xeef3ef(514)},exports.specialTag={wx:_0xeef3ef(333),swan:_0xeef3ef(386),my:_0xeef3ef(386),tt:null},exports[_0xeef3ef(323)]=[_0xeef3ef(306),_0xeef3ef(451)];var configBasename={qa:_0xeef3ef(354),wx:"project.config.json",swan:_0xeef3ef(451),my:null,tt:"project.config.json"},addSupportTypes=(exports[_0xeef3ef(376)]={titleBarColor:_0xeef3ef(319),pullRefresh:_0xeef3ef(393),defaultTitle:"navigationBarTitleText"},exports[_0xeef3ef(302)]={textColor:"color",items:_0xeef3ef(311)},exports[_0xeef3ef(403)]={name:"text",icon:_0xeef3ef(385),activeIcon:"selectedIconPath"},{wx:null,swan:null,my:null,tt:["wx"]}),Applets=(()=>{var f=_0xeef3ef;function o(){_classCallCheck(this,o)}return _createClass(o,null,[{key:"appletType",get:function(){return o._appletType},set:function(e){o[_0xc511(476)](e),o._appletType=e}},{key:f(476),value:function(e){o[f(508)]=configBasename[e],o.addSupportTypes=addSupportTypes[e]}},{key:f(416),value:function(e){return new RegExp("^"[f(363)](exports.directivesPrefix[e],".*"))}}])})();function _0xc511(e,f){var o=_0x5e3b();return(_0xc511=function(e,f){return o[e-=302]})(e,f)}exports.Applets=Applets,exports[_0xeef3ef(449)]=[_0xeef3ef(353),_0xeef3ef(372),_0xeef3ef(390),_0xeef3ef(394),"tap","longTap"],exports[_0xeef3ef(504)]={swiper:{onAnimationEnd:_0xeef3ef(432)},video:{onLoading:_0xeef3ef(316)},checkbox:{onChange:_0xeef3ef(494)},slider:{"handle-size":_0xeef3ef(474),handleSize:"block-size","handle-color":_0xeef3ef(456),handleColor:"block-color"},map:{polygon:_0xeef3ef(496)}},exports[_0xeef3ef(396)]={view:[_0xeef3ef(315),_0xeef3ef(410),"onAnimationStart",_0xeef3ef(479),"onAppear",_0xeef3ef(411),_0xeef3ef(317)],"movable-view":["onChange",_0xeef3ef(383),_0xeef3ef(444)],"scroll-view":[_0xeef3ef(368),"onScrollToLower",_0xeef3ef(437)],swiper:[_0xeef3ef(408),_0xeef3ef(497)],"checkbox-group":[_0xeef3ef(408)],form:["onSubmit","onReset"],input:[_0xeef3ef(388),_0xeef3ef(463),_0xeef3ef(513),_0xeef3ef(343)],picker:[_0xeef3ef(408)],"picker-view":["onChange"],"radio-group":[_0xeef3ef(408)],slider:["onChange",_0xeef3ef(453)],switch:[_0xeef3ef(408)],textarea:[_0xeef3ef(388),_0xeef3ef(463),_0xeef3ef(513),_0xeef3ef(343)],image:["onLoad",_0xeef3ef(435)],video:[_0xeef3ef(387),"onPause","onEnded",_0xeef3ef(472),_0xeef3ef(435),_0xeef3ef(441),_0xeef3ef(458),_0xeef3ef(305),_0xeef3ef(420)],map:["onMarkerTap",_0xeef3ef(478),"onControlTap",_0xeef3ef(392),_0xeef3ef(359)]},exports.interfacesForTransform={confirm:"showModal",saveImage:"saveImageToPhotosAlbum",connectBLEDevice:"createBLEConnection",disconnectBLEDevice:_0xeef3ef(436),scan:_0xeef3ef(469),setClipboard:_0xeef3ef(423),getClipboard:"getClipboardData",getSelectedTextRange:"hideKeyboard",hideKeyboard:_0xeef3ef(312),compressVideo:_0xeef3ef(454),saveFileToDisk:_0xeef3ef(351),addPhoneRepeatCalendar:"insertCalendar",stopAccelerometer:_0xeef3ef(445)};
1
+ function _0x13c7(){var c=["onRenderStart","touchEnd","setBackgroundColor","createBLEConnection","saveImageToPhotosAlbum","insertCalendar","tt:","navigateBackSmartProgram","wxs","onLoad","23108436amWlfj","setCanPullDown","tagEventToTransform","createAnimation","onAnimationStart","quickapp.config.json","getSelectedTextRange",".ttml","bindchange","invalidApis","onScrollToUpper","setTabBarItem","length","onTransition","stopBackgroundAudio","configBasename","directivesPrefix","117ecktpm","configBasenameArray","openReplyEditor","createInnerAudioContext","6856892EzeHfr","openShare","navigateToBookshelf","navigationBarTitleText",".css","setBackgroundTextStyle","onFullScreenChange","onAnimationEnd","stopLocationUpdate","interfacesForTransform","offAudioInterruptionEnd","onPanelTap","deleteresource","deleteTemplate","submitresource","onRegionChange","setTabBarStyle",".swan","arrayBufferToBase64","onError","pauseBackgroundAudio","isLoginSync","commonOnEvents","onLocatedComplete","getRecorderManager","onScale","deletesitemap","hideToast","offSocketClose","onControlTap","selectedIconPath","setInnerAudioOption","windowItems","saveFile",".wxs","rsa","loadSubPackage","playBackgroundAudio","closeCommunityEditor","qa:","getSwanId","bindwaiting",".wxml","onAudioInterruptionBegin","onTransitionEnd","wx:","hideKeyboard","offWindowResize","vibrate","compressImage","prototype","stopVoice","getURLQuery","setTopBarText","call","startWifi","optionsSelect","minProgramLanguage","list","block-size","stopAccelerometer","bindanimationfinish","onConfirm","createAudioContext",".axml","quickapp","offSocketMessage","project.config.json","onScrollToLower","onURLQueryChange","onInput","concat","_appletType","getClipboardData","configurable","setNavigationBar","onToBindWithTagEvents","getDirectivesReg","17660vqpmrh","stopWifi","Applets","closeBLEConnection","deleteBookshelf","navigationBarBackgroundColor","getAccountInfoSync","navigateToSmartProgram",".qxml","getAvailableAudioSources","Alipay","Headline","onTimeUpdate","getRealtimeLogManager","onChanging","requestPolymerPayment","createRtcRoomContext","@@toPrimitive must return a primitive value.","setMetaKeywords","getUserInfo","shareFile","closeReplyEditor","onAudioInterruptionEnd","showNavigationBarLoading","onBlur","touchStart","3TNfOSL","stopRecord","offSocketError",".qjs","saveFileToDisk","onFirstAppear","value","constructor","404214DMBcXl","getMenuButtonBoundingClientRect","__esModule","mute","chooseCity","offLocationChange","watchShake","258VwyPPa","subscribeService","createARCameraContext","275VTOclr","720904YpEunT","setEnableDebug","onAnimationIteration","onEnded","openCommunityEditor","import-sjs","setDocumentTitle","iconPath","weChat","polygons","getunionid","string","onBackgroundAudioPause","pauseVoice","onCalloutTap","startLocationUpdateBackground","setClipboardData","enumerable","onSubmit","offAudioInterruptionBegin","specialTag","onChange","startRecord","projectFileSuffix","compressVideo","toPrimitive","onFocus","block-color","createOffscreenCanvas","getSystemRiskInfo","appletType","resetConfig","color","longTap","hideHomeButton","onPause","setURLQuery",".wxss","tablebarListItems","getTemplateLibraryList","object","getTemplateList","1284bndZAl","iterator","defineProperty",".sjs","submitsitemap","onAppear","124180dmLcRw","setLocatedCity","requestHwPayment","function","onLocationChange","onChangeEnd","text","offSocketOpen","onDisappear","multiLevelSelect","getEnvInfoSync","createAnimationVideo","10443KUMAsC","setMetaDescription","checkSession","symbol","showModal",".ttss"];return(_0x13c7=function(){return c})()}var _0x6740cc=_0x2095;function _typeof(c){var o=_0x2095;return(_typeof=o(633)==typeof Symbol&&"symbol"==typeof Symbol[o(625)]?function(c){return typeof c}:function(c){var e=o;return c&&e(633)==typeof Symbol&&c[e(570)]===Symbol&&c!==Symbol[e(509)]?e(645):typeof c})(c)}function _classCallCheck(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function _0x2095(c,e){var o=_0x13c7();return(_0x2095=function(c,e){return o[c-=483]})(c,e)}function _defineProperties(c,e){for(var o=_0x2095,t=0;t<e[o(670)];t++){var n=e[t];n[o(599)]=n[o(599)]||!1,n[o(533)]=!0,o(569)in n&&(n.writable=!0),Object.defineProperty(c,_toPropertyKey(n.key),n)}}function _createClass(c,e,o){var t=_0x2095;return e&&_defineProperties(c.prototype,e),o&&_defineProperties(c,o),Object[t(626)](c,t(509),{writable:!1}),c}function _toPropertyKey(c){var e=_0x2095,c=_toPrimitive(c,e(593));return e(645)==_typeof(c)?c:c+""}function _toPrimitive(c,e){var o=_0x2095;if(o(622)!=_typeof(c)||!c)return c;var t=c[Symbol[o(607)]];if(void 0===t)return(o(593)===e?String:Number)(c);t=t[o(513)](c,e||"default");if(o(622)!=_typeof(t))return t;throw new TypeError(o(554))}(()=>{for(var c=_0x2095,e=_0x13c7();;)try{if(738040==-parseInt(c(563))*(-parseInt(c(571))/2)+parseInt(c(642))/3*(-parseInt(c(624))/4)+-parseInt(c(630))/5*(-parseInt(c(578))/6)+parseInt(c(679))/7+-parseInt(c(582))/8*(-parseInt(c(675))/9)+parseInt(c(537))/10*(-parseInt(c(581))/11)+-parseInt(c(658))/12)break;e.push(e.shift())}catch(c){e.push(e.shift())}})(),Object.defineProperty(exports,_0x6740cc(573),{value:!0}),exports[_0x6740cc(688)]=exports[_0x6740cc(535)]=exports[_0x6740cc(660)]=exports[_0x6740cc(701)]=exports[_0x6740cc(539)]=exports.tablebarListItems=exports.tablebarItems=exports[_0x6740cc(491)]=exports[_0x6740cc(676)]=exports[_0x6740cc(602)]=exports[_0x6740cc(674)]=exports[_0x6740cc(605)]=exports[_0x6740cc(516)]=exports.invalidApis=void 0,exports[_0x6740cc(667)]=["base64ToArrayBuffer",_0x6740cc(697),_0x6740cc(559),_0x6740cc(502),_0x6740cc(689),_0x6740cc(601),_0x6740cc(583),_0x6740cc(486),_0x6740cc(560),"hideNavigationBarLoading",_0x6740cc(684),_0x6740cc(650),"showTabBarRedDot",_0x6740cc(695),_0x6740cc(669),"hideTabBarRedDot",_0x6740cc(661),"nextTick",_0x6740cc(572),_0x6740cc(508),_0x6740cc(606),_0x6740cc(510),_0x6740cc(490),"playVoice",_0x6740cc(595),_0x6740cc(546),_0x6740cc(678),_0x6740cc(522),_0x6740cc(672),"seekBackgroundAudio",_0x6740cc(496),_0x6740cc(699),"onBackgroundAudioStop","onBackgroundAudioPlay",_0x6740cc(594),"getBackgroundAudioPlayerState","getBackgroundAudioManager",_0x6740cc(564),_0x6740cc(604),_0x6740cc(483),_0x6740cc(687),_0x6740cc(597),"startLocationUpdate",_0x6740cc(634),_0x6740cc(576),"getClipboardData","setWifiList",_0x6740cc(514),_0x6740cc(538),_0x6740cc(567),_0x6740cc(610),"onMemoryWarning","offMemoryWarning",_0x6740cc(550),_0x6740cc(616),_0x6740cc(512),"onWindowResize",_0x6740cc(506),"chooseMessageFile",_0x6740cc(644),_0x6740cc(556),_0x6740cc(632),_0x6740cc(543),"getAppIdSync","getRunScene","SDKVersion","hideBackHome",_0x6740cc(534),"chooseAlipayContact",_0x6740cc(575),_0x6740cc(702),_0x6740cc(631),"regionPicker","datePicker","calculateRoute",_0x6740cc(515),_0x6740cc(639),_0x6740cc(659),_0x6740cc(487),_0x6740cc(525),_0x6740cc(637),_0x6740cc(565),_0x6740cc(574),"offAudioInterruptionBegin",_0x6740cc(689),_0x6740cc(502),_0x6740cc(559),_0x6740cc(507),_0x6740cc(577),"getServerTime","showAuthGuide",_0x6740cc(494),_0x6740cc(511),_0x6740cc(618),_0x6740cc(528),"ai",_0x6740cc(580),_0x6740cc(641),"createLivePlayerContext",_0x6740cc(553),_0x6740cc(640),_0x6740cc(592),_0x6740cc(700),_0x6740cc(552),"setPageInfo",_0x6740cc(643),_0x6740cc(555),_0x6740cc(588),_0x6740cc(495),"reportAnalytics",_0x6740cc(611),_0x6740cc(579),"insertBookshelf",_0x6740cc(541),"queryBookshelf","updateBookshelfReadTime",_0x6740cc(681),_0x6740cc(499),"onShareAppMessage",_0x6740cc(680),_0x6740cc(557),_0x6740cc(544),_0x6740cc(655),_0x6740cc(586),_0x6740cc(497),_0x6740cc(677),_0x6740cc(558),_0x6740cc(693),_0x6740cc(691),_0x6740cc(628),_0x6740cc(485),_0x6740cc(621),"getTemplateLibraryById","addTemplate",_0x6740cc(623),_0x6740cc(692),"sendTemplateMessage"],exports.minProgramLanguage={qa:_0x6740cc(524),wx:_0x6740cc(590),swan:"Baidu",my:_0x6740cc(547),tt:_0x6740cc(548)},exports[_0x6740cc(605)]={qa:{hxml:_0x6740cc(545),css:_0x6740cc(683),hjs:_0x6740cc(566)},wx:{hxml:_0x6740cc(501),css:_0x6740cc(619),hjs:_0x6740cc(493)},swan:{hxml:_0x6740cc(696),css:".css",hjs:_0x6740cc(627)},my:{hxml:_0x6740cc(523),css:".acss",hjs:".sjs"},tt:{hxml:_0x6740cc(665),css:_0x6740cc(647),hjs:_0x6740cc(627)}},exports[_0x6740cc(674)]={qa:_0x6740cc(498),wx:_0x6740cc(504),swan:"s-",my:"a:",tt:_0x6740cc(654)},exports[_0x6740cc(602)]={wx:_0x6740cc(656),swan:_0x6740cc(587),my:_0x6740cc(587),tt:null},exports[_0x6740cc(676)]=["project.config.json","project.swan.json"];var configBasename={qa:_0x6740cc(663),wx:_0x6740cc(526),swan:"project.swan.json",my:null,tt:_0x6740cc(526)},addSupportTypes=(exports[_0x6740cc(491)]={titleBarColor:_0x6740cc(542),pullRefresh:"enablePullDownRefresh",defaultTitle:_0x6740cc(682)},exports.tablebarItems={textColor:_0x6740cc(614),items:_0x6740cc(517)},exports[_0x6740cc(620)]={name:_0x6740cc(636),icon:_0x6740cc(589),activeIcon:_0x6740cc(489)},{wx:null,swan:null,my:null,tt:["wx"]}),Applets=(()=>{var e=_0x6740cc;function o(){_classCallCheck(this,o)}return _createClass(o,null,[{key:e(612),get:function(){return o[e(531)]},set:function(c){o.resetConfig(c),o._appletType=c}},{key:e(613),value:function(c){o[e(673)]=configBasename[c],o.addSupportTypes=addSupportTypes[c]}},{key:e(536),value:function(c){return new RegExp("^"[e(530)](exports.directivesPrefix[c],".*"))}}])})();exports[_0x6740cc(539)]=Applets,exports[_0x6740cc(701)]=[_0x6740cc(562),"touchMove",_0x6740cc(649),"touchCancel","tap",_0x6740cc(615)],exports[_0x6740cc(660)]={swiper:{onAnimationEnd:_0x6740cc(520)},video:{onLoading:_0x6740cc(500)},checkbox:{onChange:_0x6740cc(666)},slider:{"handle-size":_0x6740cc(518),handleSize:"block-size","handle-color":_0x6740cc(609),handleColor:_0x6740cc(609)},map:{polygon:_0x6740cc(591)}},exports[_0x6740cc(535)]={view:[_0x6740cc(503),_0x6740cc(584),_0x6740cc(662),_0x6740cc(686),_0x6740cc(629),_0x6740cc(638),_0x6740cc(568)],"movable-view":[_0x6740cc(603),_0x6740cc(484),_0x6740cc(635)],"scroll-view":[_0x6740cc(668),_0x6740cc(527),"onScroll"],swiper:[_0x6740cc(603),_0x6740cc(671)],"checkbox-group":[_0x6740cc(603)],form:[_0x6740cc(600),"onReset"],input:[_0x6740cc(529),_0x6740cc(608),_0x6740cc(561),_0x6740cc(521)],picker:[_0x6740cc(603)],"picker-view":[_0x6740cc(603)],"radio-group":[_0x6740cc(603)],slider:[_0x6740cc(603),_0x6740cc(551)],switch:[_0x6740cc(603)],textarea:[_0x6740cc(529),"onFocus",_0x6740cc(561),"onConfirm"],image:[_0x6740cc(657),_0x6740cc(698)],video:["onPlay",_0x6740cc(617),_0x6740cc(585),_0x6740cc(549),_0x6740cc(698),_0x6740cc(685),"onUserAction","onStop",_0x6740cc(648)],map:["onMarkerTap",_0x6740cc(596),_0x6740cc(488),_0x6740cc(694),_0x6740cc(690)]},exports.interfacesForTransform={confirm:_0x6740cc(646),saveImage:_0x6740cc(652),connectBLEDevice:_0x6740cc(651),disconnectBLEDevice:_0x6740cc(540),scan:"scanCode",setClipboard:_0x6740cc(598),getClipboard:_0x6740cc(532),getSelectedTextRange:_0x6740cc(505),hideKeyboard:_0x6740cc(664),compressVideo:_0x6740cc(606),saveFileToDisk:_0x6740cc(492),addPhoneRepeatCalendar:_0x6740cc(653),stopAccelerometer:_0x6740cc(519)};
@@ -1 +1 @@
1
- var _0x1d7e79=_0x143d,path=((()=>{for(var e=_0x143d,t=_0x265d();;)try{if(516911==+parseInt(e(495))+-parseInt(e(485))/2*(-parseInt(e(461))/3)+parseInt(e(459))/4*(-parseInt(e(442))/5)+parseInt(e(445))/6*(parseInt(e(457))/7)+parseInt(e(523))/8+-parseInt(e(438))/9*(parseInt(e(548))/10)+parseInt(e(426))/11*(-parseInt(e(462))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}})(),Object[_0x1d7e79(475)](exports,_0x1d7e79(534),{value:!0}),exports[_0x1d7e79(544)]=exports.adaptApiFile=exports[_0x1d7e79(514)]=exports[_0x1d7e79(521)]=exports[_0x1d7e79(513)]=exports[_0x1d7e79(489)]=exports.appJsonFile=exports.changeAppJsonItem=exports[_0x1d7e79(497)]=exports.copyConfigFiles=exports.transformNodeModuleComponent=exports[_0x1d7e79(484)]=exports[_0x1d7e79(541)]=exports.insertStr=exports[_0x1d7e79(477)]=exports[_0x1d7e79(441)]=void 0,require("path")),fs=require("fs"),importVisitor_1=require(_0x1d7e79(501)),_require=require("../common/textDocument"),create=_require[_0x1d7e79(463)],fileHandle_1=require(_0x1d7e79(505)),commonConfig_1=require("./commonConfig"),transformReport=require(_0x1d7e79(460)),globleOutPutPath="",thirdComponents=[],originPtahObject={input:"",output:""};function setOriginPtahObject(e,t){thirdComponents=[],originPtahObject.input=e,originPtahObject.output=t}function replacepos(e,t,o,n){return e.substring(0,t)+n+e.substring(o)}function insertStr(e,t,o){return e[_0x1d7e79(492)](0,t)+o+e.slice(t)}function copyDir(e,t){var o=_0x1d7e79,n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=3<arguments.length&&void 0!==arguments[3]&&arguments[3];try{fs[o(467)](t)||fs.mkdirSync(t),i?_copyH5Pragram(e,t):_copyMiniPragram(e,t,n)}catch(e){throw e}}function handleConfigInfo(e,t){var o=_0x1d7e79,n=path[o(432)](t,o(431)),i=JSON[o(499)](fs[o(493)](n,{encoding:o(488)})),i=(i[o(531)].pages[o(447)][o(486)]=e[o(486)],i.icon=i[o(487)]+path[o(437)](e[o(549)]),i[o(503)]=e.packageName,i[o(427)]=e[o(470)],i.versionName=e[o(537)],i[o(545)]=e.versionCode,JSON[o(471)](i,null,2)),n=(fs[o(423)](n,i),path.join(t,o(447),o(522))),i=(i=fs[o(493)](n,{encoding:o(488)}))[o(527)]("helloUxStr",e[o(518)]);fs[o(423)](n,i),fs[o(467)](path[o(432)](t,o(543)))||fs[o(456)](path[o(432)](t,"Common")),copyFile(path[o(432)](t,o(543),path[o(437)](e[o(549)])),e[o(549)])}function _copyH5Pragram(n,i){var r=_0x1d7e79;try{fs[r(512)](n)[r(449)](function(e){var t=r,o=path[t(432)](n,e),t=path[t(432)](i,e),e=fs.statSync(o);e.isFile()&&copyFile(t,o),e.isDirectory()&&copyDir(o,t,!1,!0)})}catch(e){throw e}}function _copyMiniPragram(r,a){var s=_0x1d7e79,p=2<arguments[s(494)]&&void 0!==arguments[2]&&arguments[2];try{fs[s(512)](r)[s(449)](function(e){var t=s,o=path[t(432)](r,e),n=path[t(432)](a,e),i=fs[t(546)](o);i[t(525)]()&&(copyFile(n,o),!p)&&dealWithFile(n,o),i[t(536)]()&&"node_modules"!==o&&"miniprogram_npm"!==o&&("node_modules"===e?copyDir(o,path[t(432)](a,"miniprogram_npm"),!0):copyDir(o,n,p))})}catch(e){throw e}}function dealWithFile(t,o){var e=_0x1d7e79,n=2<arguments[e(494)]&&void 0!==arguments[2]?arguments[2]:commonConfig_1[e(478)][e(451)],i=path[e(538)](t);switch(i){case e(483):modifyFileContent(t,o,e(483),n);break;case".json":modifyFileContent(t,o,e(465));break;default:var r=[commonConfig_1[e(478)][e(451)]];(r=commonConfig_1.Applets[e(496)]?r[e(530)](commonConfig_1[e(478)].addSupportTypes):r)[e(449)](function(e){dealWithMainFile(t,o,i,e)})}}function _0x143d(e,t){var o=_0x265d();return(_0x143d=function(e,t){return o[e-=423]})(e,t)}function dealWithMainFile(e,t,o,n){var i=_0x1d7e79,r=commonConfig_1[i(529)][n];switch(o){case r[i(450)]:var a=e[i(527)](o,".hxml");modifyFile(e,a,r[i(450)],t,n);break;case r[i(500)]:a=e[i(527)](o,i(464));modifyFile(e,a,r[i(500)],null,n);break;case r[i(448)]:if(!r[i(448)])return;a=e[i(527)](o,i(533));modifyFile(e,a,r.hjs,t,n)}}function modifyFile(e,t,o,n){var i=_0x1d7e79,r=4<arguments[i(494)]&&void 0!==arguments[4]?arguments[4]:commonConfig_1[i(478)][i(451)];try{fs[i(424)](e,t),modifyFileContent(t,n,o,r)}catch(e){throw console.error(e),e}}function modifyFileContent(e,t,o){var n=_0x1d7e79,i=3<arguments[n(494)]&&void 0!==arguments[3]?arguments[3]:commonConfig_1[n(478)][n(451)];try{var r,a=fs.readFileSync(e,{encoding:n(488)})[n(434)](),s=commonConfig_1.projectFileSuffix[i];switch(o){case s[n(450)]:a=fileHandle_1.handleWxmlFile(e,a,t,i),"tt"===i&&(a=fileHandle_1.handleWxmlFile(e,a,t,"wx"));break;case s[n(448)]:var p=create(e,a),a=p[n(516)](),c=importVisitor_1.getImportRules(a,null,!0,i)[n(479)](function(e){var t=n;return e.type===t(472)});a=fileHandle_1[n(474)](c,p,a,t,i);break;case s[n(500)]:a=fileHandle_1[n(532)](e,a,i),"tt"===i&&(a=fileHandle_1[n(532)](e,a,"wx"));break;case n(483):a=fileHandle_1[n(490)](e,t,a,i),"tt"===i&&(a=fileHandle_1[n(490)](e,t,a,"wx"));break;case n(465):a&&((r=JSON[n(499)](a))[n(511)]&&handleUsingComponents(r[n(511)]),"my"===commonConfig_1[n(478)][n(451)]&&changeAppJsonItem(r,commonConfig_1[n(458)]),a=JSON.stringify(r,null,2))}fs.writeFileSync(e,a)}catch(e){throw e}}function dealWithNodeModuleComponent(t,o){var n=_0x1d7e79,e=fs.statSync(t);e[n(525)]()&&dealWithFile(t,o),e[n(536)]()&&fs[n(512)](t)[n(449)](function(e){dealWithNodeModuleComponent(path[n(432)](t,e),path.join(o,e))})}function transformNodeModuleComponent(){var i=_0x1d7e79;thirdComponents[i(449)](function(e){var t,o=i,n=path[o(432)](originPtahObject[o(502)],"miniprogram_npm",e);fs[o(467)](n)&&(t=path[o(432)](originPtahObject[o(535)],o(480),e),fs[o(467)](t)?dealWithNodeModuleComponent(n,t):dealWithNodeModuleComponent(n,path[o(432)](originPtahObject.input,o(507),e)))})}function handleUsingComponents(e){var t,o,n=_0x1d7e79;for(t in e)e[t]&&(o=e[t][n(515)]("/"))[0]&&"."!==o[0][0]&&-1===thirdComponents[n(444)](o[0])&&thirdComponents[n(429)](o[0])}function copyConfigFiles(o,n){var i=_0x1d7e79;try{fs[i(512)](o)[i(449)](function(e){var t=path[i(432)](o,e),e=path.join(n,e);fs.statSync(t).isFile()&&copyFile(e,t)})}catch(e){throw e}}function copyFile(e,t){var o=_0x1d7e79;fs[o(423)](e,fs[o(493)](t))}function _0x265d(){var e=["copyFile","../lib/locale.json","parse","css","../parse/importVisitor","output","package","util","../features/fileHandle","srcRootPath","node_modules","assign","isArray","app.json","usingComponents","readdirSync","createDirs","getGlobleOutPutPath","split","getText","swan","webUrl",'{"locale": "zh-cn"}',"insertStr","createTransformReportFile","hello.ux","50896NxEiLQ","packOptions","isFile","toLowerCase","replace","window","projectFileSuffix","concat","display","handleWxssImport",".hjs","__esModule","input","isDirectory","versionName","extname","platformFeature","configBasename","copyDir","zh-cn","Common","setLanguage","versionCode","statSync","target","610nugPop","iconPath","writeFileSync","renameSync","eventTargetKey","6935753fUQNUa","name","adaptApiFile","push","debug","manifest.json","join","tablebarItems","toString","unlinkSync","app.js","basename","9189YuTUyG","changeAppJsonItem","appJsonFile","setOriginPtahObject","2172230mWbOXf","tabBar","indexOf","147594ytKyZB","entry","Hello","hjs","forEach","hxml","appletType","widgets","log","require('./util/apiadapter4alipay.js');\r\n","VSCODE_NLS_CONFIG","mkdirSync","49KZxpaq","windowItems","8RKMojZ","../features/transformReport","387525EjFnJU","12nErnJR","create",".css",".json","ascf.config.json","existsSync","lib","english","appName","stringify","fileImport","list","transformWxsFilePath","defineProperty","apiadapter4alipay.js","replacepos","Applets","filter","miniprogram_npm","env","type",".js","handleConfigInfo","14xhLGNY","orientation","icon","utf-8","projectConfigFile","transformJsFile","chinese","slice","readFileSync","length","995827uWEReh","addSupportTypes"];return(_0x265d=function(){return e})()}function changeAppJsonItem(e,t){if(e)for(var o in t)e[o]&&(e[t[o]]=e[o],delete e[o])}function appJsonFile(e,t){var o=_0x1d7e79,n=JSON[o(499)](fs[o(493)](path[o(432)](e,o(510)))[o(434)]()),n=(delete n[o(503)],delete n[o(427)],delete n.versionName,delete n.versionCode,delete n.minPlatformVersion,delete n[o(487)],delete n[o(482)],changeAppJsonItem(n[o(528)],commonConfig_1[o(458)]),changeAppJsonItem(n[o(443)],commonConfig_1[o(433)]),n[o(443)]&&n.tabBar.list&&n.tabBar[o(473)].forEach(function(e){changeAppJsonItem(e,commonConfig_1.tablebarListItems)}),Object[o(508)]({},n)),n=(delete n[o(452)],delete n[o(446)],delete n[o(430)],delete n.navigateToMiniProgramAppIdList,-1!==[o(517),"my"][o(444)](commonConfig_1[o(478)][o(451)])&&(n.platformFeature={enableNoDeclareCompProp:!0}),-1!==["my"][o(444)](commonConfig_1.Applets.appletType)&&(n[o(539)][o(425)]=o(547)),JSON[o(471)](n,null,2));fs[o(423)](path[o(432)](e,o(510)),n)}function projectConfigFile(e){var t=_0x1d7e79,o={},n=(commonConfig_1[t(478)][t(540)]?fs.existsSync(path.join(e,commonConfig_1.Applets[t(540)]))&&(o=JSON[t(499)](fs[t(493)](path[t(432)](e,commonConfig_1[t(478)][t(540)]))[t(434)]())):o={},{ascfRoot:commonConfig_1[t(478)][t(506)],packOptions:{ignore:[]}}),o=(n[t(524)]=o[t(524)],JSON[t(471)](n,null,2));commonConfig_1.Applets[t(540)]&&fs[t(467)](path[t(432)](e,commonConfig_1[t(478)][t(540)]))&&fs[t(435)](path[t(432)](e,commonConfig_1[t(478)][t(540)])),fs.writeFile(path[t(432)](e,t(466)),o,function(e){e&&console[t(453)](e)})}function mkdirsSync(e){var t=_0x1d7e79;return!!fs[t(467)](e)||(mkdirsSync(path.dirname(e))?(fs[t(456)](e),!0):void 0)}function createDirs(e,t){var o=_0x1d7e79;o(494);fs[o(467)](e)||mkdirsSync(e),fs[o(467)](path[o(432)](e,t))||mkdirsSync(path.join(e,t))}function createTransformReportFile(e,t){var o=_0x1d7e79,e=(globleOutPutPath=path.join(e,"transform.log"),setLanguage("miniProgramProject")+t+"\n\n");fs[o(423)](globleOutPutPath,e)}function getGlobleOutPutPath(){return globleOutPutPath}function adaptApiFile(e,t){var o=_0x1d7e79,t=(fs[o(467)](path[o(432)](e,o(504)))||fs[o(456)](path[o(432)](e,"util")),copyFile(path[o(432)](e,o(504),o(476)),path[o(432)](t,o(468),"apiadapter4alipay.js")),path[o(432)](e,o(436))),e=fs[o(493)](t,{encoding:"utf-8"}),e=o(454)[o(530)](e);fs.writeFileSync(t,e)}exports[_0x1d7e79(441)]=setOriginPtahObject,exports[_0x1d7e79(477)]=replacepos,exports[_0x1d7e79(520)]=insertStr,exports[_0x1d7e79(541)]=copyDir,exports[_0x1d7e79(484)]=handleConfigInfo,exports.transformNodeModuleComponent=transformNodeModuleComponent,exports.copyConfigFiles=copyConfigFiles,exports.copyFile=copyFile,exports[_0x1d7e79(439)]=changeAppJsonItem,exports[_0x1d7e79(440)]=appJsonFile,exports[_0x1d7e79(489)]=projectConfigFile,exports[_0x1d7e79(513)]=createDirs,exports.createTransformReportFile=createTransformReportFile,exports[_0x1d7e79(514)]=getGlobleOutPutPath,exports[_0x1d7e79(428)]=adaptApiFile;var lan=JSON.parse(process[_0x1d7e79(481)][_0x1d7e79(455)]||_0x1d7e79(519)).locale[_0x1d7e79(526)](),language=require(_0x1d7e79(498));function setLanguage(e,t){var o,n=_0x1d7e79;return language[e]?(o=lan===n(542)?language[e][n(491)]:language[e][n(469)],Array[n(509)](t)&&t[n(449)](function(e,t){o=o.replace("${"+(t+1)+"}",e)}),o):e}exports.setLanguage=setLanguage;
1
+ var _0x4adf84=_0x1322,path=((()=>{for(var e=_0x1322,t=_0x136c();;)try{if(297233==+parseInt(e(417))*(parseInt(e(392))/2)+parseInt(e(388))/3*(-parseInt(e(370))/4)+parseInt(e(451))/5+-parseInt(e(379))/6+parseInt(e(428))/7+-parseInt(e(362))/8*(-parseInt(e(399))/9)+-parseInt(e(389))/10)break;t.push(t.shift())}catch(e){t.push(t.shift())}})(),Object[_0x4adf84(445)](exports,_0x4adf84(452),{value:!0}),exports[_0x4adf84(454)]=exports[_0x4adf84(390)]=exports[_0x4adf84(455)]=exports[_0x4adf84(335)]=exports[_0x4adf84(453)]=exports.projectConfigFile=exports[_0x4adf84(338)]=exports.changeAppJsonItem=exports[_0x4adf84(441)]=exports[_0x4adf84(354)]=exports[_0x4adf84(398)]=exports[_0x4adf84(386)]=exports.copyDir=exports.insertStr=exports[_0x4adf84(341)]=exports[_0x4adf84(350)]=void 0,require(_0x4adf84(383))),fs=require("fs"),importVisitor_1=require("../parse/importVisitor"),_require=require(_0x4adf84(436)),create=_require[_0x4adf84(440)],fileHandle_1=require("../features/fileHandle"),commonConfig_1=require(_0x4adf84(352)),transformReport=require(_0x4adf84(377)),globleOutPutPath="",thirdComponents=[],originPtahObject={input:"",output:""};function setOriginPtahObject(e,t){var o=_0x4adf84;thirdComponents=[],originPtahObject[o(405)]=e,originPtahObject[o(396)]=t}function replacepos(e,t,o,n){var a=_0x4adf84;return e[a(359)](0,t)+n+e[a(359)](o)}function insertStr(e,t,o){var n=_0x4adf84;return e[n(374)](0,t)+o+e[n(374)](t)}function copyDir(e,t){var o=_0x4adf84,n=2<arguments[o(420)]&&void 0!==arguments[2]&&arguments[2],a=3<arguments[o(420)]&&void 0!==arguments[3]&&arguments[3];try{fs[o(328)](t)||fs[o(382)](t),a?_copyH5Pragram(e,t):_copyMiniPragram(e,t,n)}catch(e){throw e}}function handleConfigInfo(e,t){var o=_0x4adf84,n=path[o(381)](t,o(438)),a=JSON[o(447)](fs.readFileSync(n,{encoding:o(412)})),a=(a.display.pages[o(423)][o(406)]=e.orientation,a.icon=a[o(456)]+path.basename(e[o(425)]),a.package=e[o(356)],a[o(329)]=e.appName,a[o(368)]=e[o(368)],a[o(442)]=e[o(442)],JSON[o(380)](a,null,2)),n=(fs[o(439)](n,a),path[o(381)](t,o(423),o(397))),a=(a=fs.readFileSync(n,{encoding:o(412)}))[o(409)](o(410),e[o(331)]);fs[o(439)](n,a),fs.existsSync(path[o(381)](t,o(351)))||fs[o(382)](path[o(381)](t,"Common")),copyFile(path.join(t,o(351),path[o(432)](e[o(425)])),e[o(425)])}function _copyH5Pragram(a,i){try{fs.readdirSync(a).forEach(function(e){var t=_0x1322,o=path[t(381)](a,e),e=path[t(381)](i,e),n=fs[t(367)](o);n[t(345)]()&&copyFile(e,o),n.isDirectory()&&copyDir(o,e,!1,!0)})}catch(e){throw e}}function _copyMiniPragram(i,r){var s=_0x4adf84,p=2<arguments[s(420)]&&void 0!==arguments[2]&&arguments[2];try{fs.readdirSync(i)[s(393)](function(e){var t=s,o=path.join(i,e),n=path[t(381)](r,e),a=fs.statSync(o);a[t(345)]()&&(copyFile(n,o),!p)&&dealWithFile(n,o),a[t(363)]()&&o!==t(344)&&"miniprogram_npm"!==o&&("node_modules"===e?copyDir(o,path[t(381)](r,t(342)),!0):copyDir(o,n,p))})}catch(e){throw e}}function dealWithFile(t,o){var e=_0x4adf84,n=2<arguments[e(420)]&&void 0!==arguments[2]?arguments[2]:commonConfig_1[e(373)][e(355)],a=path[e(378)](t);switch(a){case".js":modifyFileContent(t,o,".js",n);break;case e(413):modifyFileContent(t,o,e(413));break;default:var i=[commonConfig_1.Applets[e(355)]];(i=commonConfig_1.Applets.addSupportTypes?i[e(430)](commonConfig_1[e(373)][e(414)]):i).forEach(function(e){dealWithMainFile(t,o,a,e)})}}function dealWithMainFile(e,t,o,n){var a=_0x4adf84,i=commonConfig_1[a(366)][n];switch(o){case i[a(418)]:var r=e[a(409)](o,a(422));modifyFile(e,r,i[a(418)],t,n);break;case i[a(449)]:r=e[a(409)](o,a(391));modifyFile(e,r,i.css,null,n);break;case i[a(411)]:if(!i[a(411)])return;r=e[a(409)](o,".hjs");modifyFile(e,r,i[a(411)],t,n)}}function modifyFile(e,t,o,n){var a=_0x4adf84,i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:commonConfig_1[a(373)][a(355)];try{fs[a(340)](e,t),modifyFileContent(t,n,o,i)}catch(e){throw console[a(433)](e),e}}function modifyFileContent(e,t,o){var n=_0x4adf84,a=3<arguments[n(420)]&&void 0!==arguments[3]?arguments[3]:commonConfig_1.Applets[n(355)];try{var i,r=fs[n(424)](e,{encoding:n(412)}).toString(),s=commonConfig_1[n(366)][a];switch(o){case s[n(418)]:r=fileHandle_1[n(364)](e,r,t,a),"tt"===a&&(r=fileHandle_1[n(364)](e,r,t,"wx"));break;case s[n(411)]:var p=create(e,r),r=p.getText(),f=importVisitor_1[n(333)](r,null,!0,a)[n(419)](function(e){var t=n;return e[t(400)]===t(385)});r=fileHandle_1[n(347)](f,p,r,t,a);break;case s[n(449)]:r=fileHandle_1.handleWxssImport(e,r,a),"tt"===a&&(r=fileHandle_1[n(415)](e,r,"wx"));break;case n(339):r=fileHandle_1[n(403)](e,t,r,a),"tt"===a&&(r=fileHandle_1[n(403)](e,t,r,"wx"));break;case".json":r&&((i=JSON[n(447)](r)).usingComponents&&handleUsingComponents(i[n(360)]),"my"===commonConfig_1.Applets.appletType&&changeAppJsonItem(i,commonConfig_1.windowItems),r=JSON[n(380)](i,null,2))}fs[n(439)](e,r)}catch(e){throw e}}function _0x136c(){var e=["type","util","isArray","transformJsFile","widgets","input","orientation",'{"locale": "zh-cn"}',"window","replace","helloUxStr","hjs","utf-8",".json","addSupportTypes","handleWxssImport","writeFile","687WyynbY","hxml","filter","length","entry",".hxml","Hello","readFileSync","iconPath","ascf.config.json","locale","1405747EYDAGW","assign","concat","require('./util/apiadapter4alipay.js');\r\n","basename","error","../lib/locale.json","english","../common/textDocument","apiadapter4alipay.js","manifest.json","writeFileSync","create","copyFile","versionCode","unlinkSync","swan","defineProperty","tablebarItems","parse","target","css","miniProgramProject","2471025Xqyvam","__esModule","createDirs","setLanguage","getGlobleOutPutPath","icon","tablebarListItems","zh-cn","existsSync","name","insertStr","webUrl","configBasename","getImportRules","split","createTransformReportFile","toString","packOptions","appJsonFile",".js","renameSync","replacepos","miniprogram_npm","windowItems","node_modules","isFile","transform.log","transformWxsFilePath","list","toLowerCase","setOriginPtahObject","Common","./commonConfig","projectConfigFile","copyConfigFiles","appletType","packageName","log","srcRootPath","substring","usingComponents","dirname","2248EQoUob","isDirectory","handleWxmlFile","readdirSync","projectFileSuffix","statSync","versionName","app.js","1054796mOpWAo","app.json","navigateToMiniProgramAppIdList","Applets","slice","push","tabBar","../features/transformReport","extname","2520072rooXeU","stringify","join","mkdirSync","path","lib","fileImport","handleConfigInfo","VSCODE_NLS_CONFIG","3hvXpPY","1061720OMjxBl","adaptApiFile",".css","586gINthP","forEach","env","platformFeature","output","hello.ux","transformNodeModuleComponent","6111RxiPAE"];return(_0x136c=function(){return e})()}function dealWithNodeModuleComponent(t,o){var e=_0x4adf84,n=fs[e(367)](t);n[e(345)]()&&dealWithFile(t,o),n[e(363)]()&&fs[e(365)](t)[e(393)](function(e){dealWithNodeModuleComponent(path.join(t,e),path.join(o,e))})}function transformNodeModuleComponent(){var a=_0x4adf84;thirdComponents[a(393)](function(e){var t,o=a,n=path[o(381)](originPtahObject.output,o(342),e);fs.existsSync(n)&&(t=path[o(381)](originPtahObject.input,o(342),e),fs[o(328)](t)?dealWithNodeModuleComponent(n,t):dealWithNodeModuleComponent(n,path[o(381)](originPtahObject.input,o(344),e)))})}function handleUsingComponents(e){var t,o,n=_0x4adf84;for(t in e)e[t]&&(o=e[t][n(334)]("/"))[0]&&"."!==o[0][0]&&-1===thirdComponents.indexOf(o[0])&&thirdComponents[n(375)](o[0])}function copyConfigFiles(o,n){var e=_0x4adf84;try{fs[e(365)](o)[e(393)](function(e){var t=path.join(o,e),e=path.join(n,e);fs.statSync(t).isFile()&&copyFile(e,t)})}catch(e){throw e}}function copyFile(e,t){var o=_0x4adf84;fs[o(439)](e,fs[o(424)](t))}function changeAppJsonItem(e,t){if(e)for(var o in t)e[o]&&(e[t[o]]=e[o],delete e[o])}function appJsonFile(e,t){var o=_0x4adf84,n=JSON[o(447)](fs.readFileSync(path[o(381)](e,o(371)))[o(336)]()),n=(delete n.package,delete n.name,delete n[o(368)],delete n[o(442)],delete n.minPlatformVersion,delete n.icon,delete n[o(400)],changeAppJsonItem(n[o(408)],commonConfig_1[o(343)]),changeAppJsonItem(n[o(376)],commonConfig_1[o(446)]),n[o(376)]&&n.tabBar[o(348)]&&n[o(376)][o(348)][o(393)](function(e){changeAppJsonItem(e,commonConfig_1[o(457)])}),Object[o(429)]({},n)),n=(delete n[o(404)],delete n[o(421)],delete n.debug,delete n[o(372)],-1!==[o(444),"my"].indexOf(commonConfig_1[o(373)][o(355)])&&(n[o(395)]={enableNoDeclareCompProp:!0}),-1!==["my"].indexOf(commonConfig_1[o(373)].appletType)&&(n[o(395)].eventTargetKey=o(448)),JSON[o(380)](n,null,2));fs.writeFileSync(path[o(381)](e,o(371)),n)}function projectConfigFile(e){var t=_0x4adf84,o={},n=(commonConfig_1.Applets[t(332)]?fs[t(328)](path[t(381)](e,commonConfig_1[t(373)].configBasename))&&(o=JSON[t(447)](fs[t(424)](path[t(381)](e,commonConfig_1[t(373)][t(332)]))[t(336)]())):o={},{ascfRoot:commonConfig_1[t(373)][t(358)],packOptions:{ignore:[]}}),o=(n[t(337)]=o.packOptions,JSON.stringify(n,null,2));commonConfig_1[t(373)].configBasename&&fs[t(328)](path[t(381)](e,commonConfig_1[t(373)][t(332)]))&&fs[t(443)](path[t(381)](e,commonConfig_1[t(373)][t(332)])),fs[t(416)](path[t(381)](e,t(426)),o,function(e){e&&console[t(357)](e)})}function mkdirsSync(e){var t=_0x4adf84;return!!fs[t(328)](e)||(mkdirsSync(path[t(361)](e))?(fs[t(382)](e),!0):void 0)}function createDirs(e,t){var o=_0x4adf84;o(420);fs[o(328)](e)||mkdirsSync(e),fs[o(328)](path[o(381)](e,t))||mkdirsSync(path[o(381)](e,t))}function _0x1322(e,t){var o=_0x136c();return(_0x1322=function(e,t){return o[e-=327]})(e,t)}function createTransformReportFile(e,t){var o=_0x4adf84,n=o(346),e=(globleOutPutPath=path[o(381)](e,n),setLanguage(o(450))+t+"\n\n");fs[o(439)](globleOutPutPath,e)}function getGlobleOutPutPath(){return globleOutPutPath}function adaptApiFile(e,t){var o=_0x4adf84,t=(fs[o(328)](path[o(381)](e,o(401)))||fs.mkdirSync(path[o(381)](e,o(401))),copyFile(path[o(381)](e,o(401),"apiadapter4alipay.js"),path[o(381)](t,o(384),o(437))),path[o(381)](e,o(369))),e=fs[o(424)](t,{encoding:"utf-8"}),e=o(431)[o(430)](e);fs[o(439)](t,e)}exports.setOriginPtahObject=setOriginPtahObject,exports[_0x4adf84(341)]=replacepos,exports[_0x4adf84(330)]=insertStr,exports.copyDir=copyDir,exports[_0x4adf84(386)]=handleConfigInfo,exports[_0x4adf84(398)]=transformNodeModuleComponent,exports[_0x4adf84(354)]=copyConfigFiles,exports.copyFile=copyFile,exports.changeAppJsonItem=changeAppJsonItem,exports.appJsonFile=appJsonFile,exports[_0x4adf84(353)]=projectConfigFile,exports[_0x4adf84(453)]=createDirs,exports[_0x4adf84(335)]=createTransformReportFile,exports[_0x4adf84(455)]=getGlobleOutPutPath,exports[_0x4adf84(390)]=adaptApiFile;var lan=JSON[_0x4adf84(447)](process[_0x4adf84(394)][_0x4adf84(387)]||_0x4adf84(407))[_0x4adf84(427)][_0x4adf84(349)](),language=require(_0x4adf84(434));function setLanguage(e,t){var o,n=_0x4adf84;return language[e]?(o=lan===n(327)?language[e].chinese:language[e][n(435)],Array[n(402)](t)&&t[n(393)](function(e,t){o=o[n(409)]("${"+(t+1)+"}",e)}),o):e}exports[_0x4adf84(454)]=setLanguage;
@@ -1 +1 @@
1
- function _0x3cdf(t,e){var r=_0x19fd();return(_0x3cdf=function(t,e){return r[t-=399]})(t,e)}var _0x56f959=_0x3cdf;function _typeof(t){var r=_0x3cdf;return(_typeof=r(409)==typeof Symbol&&r(415)==typeof Symbol.iterator?function(t){return typeof t}:function(t){var e=r;return t&&"function"==typeof Symbol&&t[e(425)]===Symbol&&t!==Symbol[e(431)]?e(415):typeof t})(t)}function _0x19fd(){var t=["32vQKJkY","uri","length","writable","value","object","computeLineOffsets","301740YCnZez","max","enumerable","configurable","default","key","charCodeAt","min","_content","function","97020JEJDMb","55080DcfVOU","1200332kIQqAc","@@toPrimitive must return a primitive value.","64dHQFpm","symbol","offsetAt","1169FdMTuy","_uri","positionAt","276rYpLYP","exports","1794wurnUZ","line","floor","constructor","string","_lineOffsets","896640BdnNPI","getLineOffsets","defineProperty","prototype"];return(_0x19fd=function(){return t})()}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var r=_0x3cdf,n=0;n<e[r(434)];n++){var i=e[n];i[r(402)]=i[r(402)]||!1,i[r(403)]=!0,r(436)in i&&(i[r(435)]=!0),Object.defineProperty(t,_toPropertyKey(i[r(405)]),i)}}function _createClass(t,e,r){var n=_0x3cdf;return e&&_defineProperties(t[n(431)],e),r&&_defineProperties(t,r),Object[n(430)](t,n(431),{writable:!1}),t}function _toPropertyKey(t){var e=_0x3cdf,t=_toPrimitive(t,e(426));return e(415)==_typeof(t)?t:t+""}function _toPrimitive(t,e){var r=_0x3cdf;if(r(437)!=_typeof(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return(r(426)===e?String:Number)(t);n=n.call(t,e||r(404));if(r(437)!=_typeof(n))return n;throw new TypeError(r(413))}(()=>{for(var t=_0x3cdf,e=_0x19fd();;)try{if(100612==-parseInt(t(417))*(-parseInt(t(432))/2)+-parseInt(t(422))/3*(parseInt(t(420))/4)+-parseInt(t(428))/5+parseInt(t(400))/6+parseInt(t(412))/7+-parseInt(t(414))/8*(-parseInt(t(410))/9)+-parseInt(t(411))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}})();var TextDocument=(()=>{var a=_0x3cdf;return _createClass(function t(e,r){var n=_0x3cdf;_classCallCheck(this,t),this[n(418)]=e,this._content=r,this[n(427)]=void 0},[{key:"getText",value:function(){return this._content}},{key:a(433),value:function(){return this[a(418)]}},{key:a(416),value:function(t){var e,r=a,n=this.getLineOffsets();return t[r(423)]>=n[r(434)]?this._content[r(434)]:t.line<0?0:(e=n[t[r(423)]],n=t[r(423)]+1<n[r(434)]?n[t[r(423)]+1]:this[r(408)].length,Math[r(401)](Math[r(407)](e+t.character,n),e))}},{key:a(429),value:function(){return void 0===this._lineOffsets&&(this._lineOffsets=this.computeLineOffsets(this._content,!0)),this._lineOffsets}},{key:a(399),value:function(t,e,r){for(var n=a,i=(void 0===r&&(r=0),e?[r]:[]),f=0;f<t[n(434)];f++){var o=t.charCodeAt(f);13!==o&&10!==o||(13===o&&f+1<t[n(434)]&&10===t[n(406)](f+1)&&f++,i.push(r+f+1))}return i}},{key:a(419),value:function(t){var e=a,r=(t=Math[e(401)](Math[e(407)](t,this[e(408)].length),0),this.getLineOffsets()),n=0,i=r.length;if(0===i)return{line:0,character:t};for(;n<i;){var f=Math[e(424)]((n+i)/2);r[f]>t?i=f:n=f+1}var o=n-1;return{line:o,character:t-r[o]}}}])})();function create(t,e){return new TextDocument(t,e)}module[_0x56f959(421)]={create:create};
1
+ function _0x41d4(t,e){var r=_0x284b();return(_0x41d4=function(t,e){return r[t-=476]})(t,e)}function _0x284b(){var t=["_lineOffsets","80BDqcwc","exports","uri","charCodeAt","line","1351626LaqqSA","10CPWpzB","getLineOffsets","defineProperty","_content","2944684LFNFiI","enumerable","length","function","call","key","positionAt","writable","1550544GlGSDi","3182824tflZxd","@@toPrimitive must return a primitive value.","45ZVXyMt","configurable","object","value","Cannot call a class as a function","min","computeLineOffsets","7006350GtpjfZ","string","constructor","prototype","getText","1832347bXMixJ","3JwJXEq","toPrimitive","push","max","symbol","7662893dRrTQO","_uri","offsetAt"];return(_0x284b=function(){return t})()}var _0x3f8139=_0x41d4;function _typeof(t){var r=_0x41d4;return(_typeof=r(513)==typeof Symbol&&r(495)==typeof Symbol.iterator?function(t){return typeof t}:function(t){var e=r;return t&&e(513)==typeof Symbol&&t[e(487)]===Symbol&&t!==Symbol[e(488)]?e(495):typeof t})(t)}function _classCallCheck(t,e){var r=_0x41d4;if(!(t instanceof e))throw new TypeError(r(482))}function _defineProperties(t,e){for(var r=_0x41d4,n=0;n<e[r(512)];n++){var i=e[n];i.enumerable=i[r(511)]||!1,i[r(479)]=!0,r(481)in i&&(i[r(517)]=!0),Object[r(508)](t,_toPropertyKey(i[r(515)]),i)}}function _createClass(t,e,r){var n=_0x41d4;return e&&_defineProperties(t[n(488)],e),r&&_defineProperties(t,r),Object[n(508)](t,n(488),{writable:!1}),t}function _toPropertyKey(t){t=_toPrimitive(t,_0x41d4(486));return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(t,e){var r=_0x41d4;if(r(480)!=_typeof(t)||!t)return t;var n=t[Symbol[r(492)]];if(void 0===n)return("string"===e?String:Number)(t);n=n[r(514)](t,e||"default");if(r(480)!=_typeof(n))return n;throw new TypeError(r(477))}(()=>{for(var t=_0x41d4,e=_0x284b();;)try{if(996124==-parseInt(t(505))+parseInt(t(510))/2*(-parseInt(t(491))/3)+parseInt(t(476))/4*(parseInt(t(506))/5)+-parseInt(t(485))/6+parseInt(t(496))/7+-parseInt(t(518))/8*(-parseInt(t(478))/9)+-parseInt(t(500))/10*(-parseInt(t(490))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();var TextDocument=(()=>{var u=_0x41d4;return _createClass(function t(e,r){var n=_0x41d4;_classCallCheck(this,t),this[n(497)]=e,this[n(509)]=r,this[n(499)]=void 0},[{key:u(489),value:function(){return this[u(509)]}},{key:u(502),value:function(){return this._uri}},{key:u(498),value:function(t){var e,r=u,n=this[r(507)]();return t[r(504)]>=n[r(512)]?this[r(509)][r(512)]:t[r(504)]<0?0:(e=n[t[r(504)]],n=t.line+1<n.length?n[t[r(504)]+1]:this._content.length,Math[r(494)](Math.min(e+t.character,n),e))}},{key:"getLineOffsets",value:function(){var t=u;return void 0===this[t(499)]&&(this[t(499)]=this[t(484)](this._content,!0)),this[t(499)]}},{key:u(484),value:function(t,e,r){for(var n=u,i=(void 0===r&&(r=0),e?[r]:[]),o=0;o<t[n(512)];o++){var a=t[n(503)](o);13!==a&&10!==a||(13===a&&o+1<t[n(512)]&&10===t[n(503)](o+1)&&o++,i[n(493)](r+o+1))}return i}},{key:u(516),value:function(t){var e=u,r=(t=Math.max(Math[e(483)](t,this[e(509)][e(512)]),0),this[e(507)]()),n=0,i=r[e(512)];if(0===i)return{line:0,character:t};for(;n<i;){var o=Math.floor((n+i)/2);r[o]>t?i=o:n=o+1}e=n-1;return{line:e,character:t-r[e]}}}])})();function create(t,e){return new TextDocument(t,e)}module[_0x3f8139(501)]={create:create};