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

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 (59) 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/path-validator.js +1 -0
  41. package/lib/ascf-converter/common/textDocument.js +1 -1
  42. package/lib/ascf-converter/compiler-utils/parse5.bundle.js +1 -1
  43. package/lib/ascf-converter/features/converter.js +1 -1
  44. package/lib/ascf-converter/features/fileHandle.js +1 -1
  45. package/lib/ascf-converter/features/transformReport.js +1 -1
  46. package/lib/ascf-converter/lib/apiadapter4alipay.js +1 -1
  47. package/lib/ascf-converter/parse/babelParser.js +1 -1
  48. package/lib/ascf-converter/parse/importVisitor.js +1 -1
  49. package/lib/ascf-converter/parse/wxssParser.js +1 -1
  50. package/lib/bin/ascf.js +1 -1
  51. package/lib/common/config.js +1 -0
  52. package/lib/common/logger-plugin.js +1 -1
  53. package/lib/common/remove-strict-mode-plugin.js +1 -1
  54. package/lib/common/utils.js +1 -1
  55. package/lib/common/version-check.js +1 -0
  56. package/lib/index.js +1 -1
  57. package/notice/openSourceSoftwareNotice.docx +0 -0
  58. package/package.json +22 -16
  59. package/notice/openSourceSoftwareNotice.html +0 -5132
@@ -1 +1 @@
1
- var _0x2ec374=_0x1b52;function _regeneratorRuntime(){var c=_0x1b52;_regeneratorRuntime=function(){return s};var l,s={},e=Object[c(337)],p=e[c(485)],f=Object[c(382)]||function(e,t,r){var n=c;e[t]=r[n(385)]},t=c(504)==typeof Symbol?Symbol:{},a=t.iterator||c(506),r=t[c(440)]||c(478),n=t[c(499)]||c(322);function o(e,t,r){return Object[c(382)](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.prototype instanceof v?t:v,t=Object.create(t.prototype),n=new T(n||[]);return f(t,u(492),{value:(o=e,a=r,i=n,s=h,function(e,t){var r=_0x1b52;if(s===d)throw Error(r(452));if(s===g){if("throw"===e)throw t;return{value:l,done:!0}}for(i.method=e,i[r(489)]=t;;){var n=i[r(447)];if(n){n=function e(t,r){var n=c,o=r[n(314)],a=t[n(517)][o];if(a===l)return r[n(447)]=null,n(342)===o&&t[n(517)][n(395)]&&(r.method=n(395),r[n(489)]=l,e(t,r),n(342)===r[n(314)])||n(395)!==o&&(r.method=n(342),r.arg=new TypeError(n(432)+o+n(451))),y;o=_(a,t[n(517)],r[n(489)]);if("throw"===o[n(328)])return r.method="throw",r[n(489)]=o.arg,r[n(447)]=null,y;a=o[n(489)];return a?a[n(371)]?(r[t[n(332)]]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r[n(314)]=n(446),r.arg=l),r[n(447)]=null,y):a:(r[n(314)]=n(342),r[n(489)]=new TypeError(n(435)),r[n(447)]=null,y)}(n,i);if(n){if(n===y)continue;return n}}if(r(446)===i.method)i[r(488)]=i[r(361)]=i[r(489)];else if(r(342)===i[r(314)]){if(s===h)throw s=g,i[r(489)];i[r(338)](i[r(489)])}else r(395)===i[r(314)]&&i[r(368)]("return",i.arg);s=d;n=_(o,a,i);if(r(427)===n[r(328)]){if(s=i.done?g:m,n.arg===y)continue;return{value:n.arg,done:i[r(371)]}}r(342)===n.type&&(s=g,i[r(314)]=r(342),i[r(489)]=n[r(489)])}})}),t}function _(e,t,r){var n=c;try{return{type:n(427),arg:e.call(t,r)}}catch(e){return{type:n(342),arg:e}}}s[c(407)]=u;var h=c(479),m=c(379),d="executing",g=c(351),y={};function v(){}function i(){}function b(){}var t={},P=(o(t,a,function(){return this}),Object[c(531)]),P=P&&P(P(I([]))),A=(P&&P!==e&&p[c(327)](P,a)&&(t=P),b[c(337)]=v.prototype=Object[c(417)](t));function C(e){var t=c;["next",t(342),t(395)][t(443)](function(t){o(e,t,function(e){return this[_0x1b52(492)](t,e)})})}function x(s,u){var t;f(this,c(492),{value:function(r,n){function e(){return new u(function(e,t){!function t(e,r,n,o){var a,i=_0x1b52,e=_(s[e],s,r);if(i(342)!==e[i(328)])return(r=(a=e[i(489)])[i(385)])&&"object"==_typeof(r)&&p[i(327)](r,i(318))?u.resolve(r[i(318)])[i(384)](function(e){t(i(446),e,n,o)},function(e){t(i(342),e,n,o)}):u[i(465)](r)[i(384)](function(e){a[i(385)]=e,n(a)},function(e){return t(i(342),e,n,o)});o(e[i(489)])}(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.catchLoc=e[1]),2 in e&&(r[t(365)]=e[2],r[t(494)]=e[3]),this.tryEntries[t(508)](r)}function S(e){var t=c,r=e[t(402)]||{};r[t(328)]=t(427),delete r[t(489)],e.completion=r}function T(e){var t=c;this.tryEntries=[{tryLoc:t(409)}],e[t(443)](R,this),this.reset(!0)}function I(r){var n=c;if(r||""===r){var o,e=r[a];if(e)return e[n(327)](r);if("function"==typeof r[n(446)])return r;if(!isNaN(r[n(496)]))return o=-1,(e=function e(){for(var t=n;++o<r[t(496)];)if(p[t(327)](r,o))return e[t(385)]=r[o],e[t(371)]=!1,e;return e[t(385)]=l,e.done=!0,e})[n(446)]=e}throw new TypeError(_typeof(r)+" is not iterable")}return i[c(337)]=b,f(A,c(309),{value:b,configurable:!0}),f(b,c(309),{value:i,configurable:!0}),i[c(470)]=o(b,n,"GeneratorFunction"),s[c(333)]=function(e){var t=c,e="function"==typeof e&&e[t(309)];return!!e&&(e===i||t(473)===(e[t(470)]||e.name))},s[c(524)]=function(e){var t=c;return Object[t(520)]?Object.setPrototypeOf(e,b):(e[t(419)]=b,o(e,n,t(473))),e[t(337)]=Object[t(417)](A),e},s.awrap=function(e){return{__await:e}},C(x[c(337)]),o(x[c(337)],r,function(){return this}),s[c(482)]=x,s.async=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(333)](t)?i:i[a(446)]()[a(384)](function(e){var t=a;return e[t(371)]?e[t(385)]:i[t(446)]()})},C(A),o(A,n,"Generator"),o(A,a,function(){return this}),o(A,"toString",function(){return"[object Generator]"}),s[c(511)]=function(e){var t,n=c,o=Object(e),a=[];for(t in o)a[n(508)](t);return a[n(532)](),function e(){for(var t=n;a[t(496)];){var r=a[t(510)]();if(r in o)return e.value=r,e[t(371)]=!1,e}return e[t(371)]=!0,e}},s[c(486)]=I,T.prototype={constructor:T,reset:function(e){var t=c;if(this.prev=0,this[t(446)]=0,this[t(488)]=this[t(361)]=l,this[t(371)]=!1,this[t(447)]=null,this[t(314)]=t(446),this.arg=l,this[t(528)][t(443)](S),!e)for(var r in this)"t"===r.charAt(0)&&p[t(327)](this,r)&&!isNaN(+r[t(378)](1))&&(this[r]=l)},stop:function(){var e=c,t=(this[e(371)]=!0,this[e(528)][0].completion);if(e(342)===t[e(328)])throw t[e(489)];return this[e(484)]},dispatchException:function(n){var o=c;if(this[o(371)])throw n;var a=this;function e(e,t){var r=o;return i[r(328)]=r(342),i.arg=n,a[r(446)]=e,t&&(a[r(314)]=r(446),a[r(489)]=l),!!t}for(var t=this[o(528)][o(496)]-1;0<=t;--t){var r=this[o(528)][t],i=r[o(402)];if(o(409)===r[o(346)])return e("end");if(r.tryLoc<=this[o(487)]){var s=p[o(327)](r,o(429)),u=p[o(327)](r,o(365));if(s&&u){if(this[o(487)]<r[o(429)])return e(r[o(429)],!0);if(this.prev<r[o(365)])return e(r[o(365)])}else if(s){if(this[o(487)]<r[o(429)])return e(r[o(429)],!0)}else{if(!u)throw Error("try statement without catch or finally");if(this[o(487)]<r[o(365)])return e(r[o(365)])}}}},abrupt:function(e,t){for(var r=c,n=this.tryEntries.length-1;0<=n;--n){var o=this[r(528)][n];if(o[r(346)]<=this[r(487)]&&p[r(327)](o,"finallyLoc")&&this[r(487)]<o[r(365)]){var a=o;break}}var i=(a=a&&(r(348)===e||r(406)===e)&&a[r(346)]<=t&&t<=a.finallyLoc?null:a)?a[r(402)]:{};return i[r(328)]=e,i[r(489)]=t,a?(this.method=r(446),this.next=a[r(365)],y):this[r(414)](i)},complete:function(e,t){var r=c;if(r(342)===e[r(328)])throw e.arg;return r(348)===e[r(328)]||r(406)===e.type?this[r(446)]=e[r(489)]:r(395)===e.type?(this[r(484)]=this[r(489)]=e[r(489)],this[r(314)]=r(395),this[r(446)]=r(421)):r(427)===e.type&&t&&(this[r(446)]=t),y},finish:function(e){for(var t=c,r=this.tryEntries.length-1;0<=r;--r){var n=this[t(528)][r];if(n.finallyLoc===e)return this[t(414)](n.completion,n[t(494)]),S(n),y}},catch:function(e){for(var t=c,r=this[t(528)][t(496)]-1;0<=r;--r){var n,o,a=this[t(528)][r];if(a[t(346)]===e)return n=a[t(402)],t(342)===n[t(328)]&&(o=n[t(489)],S(a)),o}throw Error(t(436))},delegateYield:function(e,t,r){var n=c;return this[n(447)]={iterator:I(e),resultName:t,nextLoc:r},"next"===this[n(314)]&&(this[n(489)]=l),y}},s}function _typeof(e){var r=_0x1b52;return(_typeof=r(504)==typeof Symbol&&r(373)==typeof Symbol.iterator?function(e){return typeof e}:function(e){var t=r;return e&&"function"==typeof Symbol&&e[t(309)]===Symbol&&e!==Symbol.prototype?t(373):typeof e})(e)}function asyncGeneratorStep(e,t,r,n,o,a,i){var s=_0x1b52;try{var u=e[a](i),c=u[s(385)]}catch(e){return void r(e)}u[s(371)]?t(c):Promise[s(465)](c)[s(384)](n,o)}function _asyncToGenerator(u){return function(){var e=this,s=arguments;return new Promise(function(t,r){var n=_0x1b52,o=u[n(507)](e,s);function a(e){asyncGeneratorStep(o,t,r,a,i,n(446),e)}function i(e){asyncGeneratorStep(o,t,r,a,i,n(342),e)}a(void 0)})}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x1b52(369))}function _iterableToArray(e){var t=_0x1b52;if("undefined"!=typeof Symbol&&null!=e[Symbol[t(517)]]||null!=e[t(506)])return Array[t(330)](e)}function _0x5897(){var e=[".hxml","length","isDirectory","babel-loader","toStringTag","clearResource","optimization","selectedIconPath","./trustlist-hxml-verify-loader.js","function","independent","@@iterator","apply","push","./plugin/html-generator-plugin","pop","keys","../common/utils","13336gLRYIJ","app.js","router","webapp","iterator","ERROR: build-profile.json5 file modules is null","fa-compiler/loader.js","setPrototypeOf","toString","object","yellow","mark",".ascf","WARNING: The build directory is not cleared. Use the -c parameter.","./plugin/manifest-generator-plugin","tryEntries","' is used.","./common/utils","getPrototypeOf","reverse","[name]","custom","manifest","join","widgetPathsList","constructor","componentList","undefined","iconPath","1851381beYtkB","method"," cannot be in the subpackage directory","./appjson-loader","ERROR: Failed to find the file: ","__await","@babel/preset-env","ERROR: ","text","@@toStringTag","usingComponents","path","javascript/auto","ERROR: app.json doesn't contain any page.","call","type","customTabBar","from","custom-tab-bar/index.hxml","resultName","isGeneratorFunction","filePath","', please check tabBar configuration.","get","prototype","dispatchException","app.css.js","i18n","map","throw","PROJECT_PATH","fixEntryPath","' does not have the component attribute configured. ","tryLoc","defFreezeProperty","break","stop","production","completed","471907Isxwwu","test","versionNum","warn","list","set","srcPath","dist","Arguments","_sent","miniprogram_npm","./plugin/extConfig-plugin","routeMapping","finallyLoc","RAWFILE_DIR",".ux","abrupt","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","env","done","./plugin/i18n-transform-plugin","symbol","concat","modules","ASCF_BUILD_PATH","isArray","slice","suspendedYield","split","tabBar","defineProperty","./hjs-loader","then","value","toPrimitive","trim","parseIgnoreRules","projectComponentsMap","find","subPackages","webpack","226404AneVgl","custom-tab-bar/index","return","async","@babel/plugin-transform-modules-commonjs","string","ASCF_SRC_PATH","./plugin/webpack-target/index","independentList","completion","./trustlist-js-verify-loader.js","import-scripts","963CIeoVy","continue","wrap",".pack.js","root","4vEEeDt","1756848JZgqJC","LoaderOptionsPlugin","relative","complete","web","toLowerCase","create","existsSync","__proto__",".json","end","401667NhkIuq","compJsonPath","createCSSRule","name","app.css","normal","components","catchLoc","pages","replace","The iterator does not provide a '","./hxml-loader","getAbsPath","iterator result is not an object","illegal catch attempt","readdir","ERROR: build-profile.json5 file not found","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","asyncIterator","page","exit","forEach","pagePath","red","next","delegate","Map","isIgnoreFile","ERROR: Can not resolve tabBar list item : ","' method","Generator is already running","node_modules","ERROR: modify app.json tabBar and recompile it","parse","Object","./plugin/copy-bundle-plugin","named","exports","WARNING:Route information in the manifest.json file is incomplete:\n Page '","loadBabelModule","getProjectAbsPath","moduleIds","global","resolve","none","mergeMap","lstatSync","filter","displayName","subpackages","startsWith","GeneratorFunction","?type=component","app","json5","error","@@asyncIterator","suspendedStart","number","Set","AsyncIterator","useCustomTabBar","rval","hasOwnProperty","values","prev","sent","arg","2713770fvDeZr","widgets","_invoke","readFileSync","afterLoc"];return(_0x5897=function(){return e})()}function _arrayWithoutHoles(e){if(Array[_0x1b52(377)](e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var r,n,o,a,i=_0x1b52,s=i(311)!=typeof Symbol&&e[Symbol.iterator]||e[i(506)];if(s)return o=!(n=!0),{s:function(){s=s[i(327)](e)},n:function(){var e=i,t=s[e(446)]();return n=t[e(371)],t},e:function(e){o=!0,r=e},f:function(){var e=i;try{n||null==s[e(395)]||s.return()}finally{if(o)throw r}}};if(Array[i(377)](e)||(s=_unsupportedIterableToArray(e))||t&&e&&i(480)==typeof e[i(496)])return s&&(e=s),a=0,{s:t=function(){},n:function(){return a>=e[i(496)]?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError(i(439))}function _unsupportedIterableToArray(e,t){var r,n=_0x1b52;if(e)return n(398)==typeof e?_arrayLikeToArray(e,t):(r={}[n(521)][n(327)](e).slice(8,-1),n(456)===r&&e[n(309)]&&(r=e[n(309)].name),n(448)===r||n(481)===r?Array[n(330)](e):n(360)===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(353)](r)?_arrayLikeToArray(e,t):void 0)}function _arrayLikeToArray(e,t){var r=_0x1b52;(null==t||t>e[r(496)])&&(t=e[r(496)]);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){e=_toPrimitive(e,_0x1b52(398));return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,t){var r=_0x1b52;if(r(522)!=_typeof(e)||!e)return e;var n=e[Symbol[r(386)]];if(void 0===n)return(r(398)===t?String:Number)(e);n=n.call(e,t||"default");if(r(522)!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(()=>{for(var e=_0x1b52,t=_0x5897();;)try{if(298228==-parseInt(e(352))+-parseInt(e(393))/2+-parseInt(e(422))/3*(-parseInt(e(410))/4)+parseInt(e(490))/5+parseInt(e(411))/6+-parseInt(e(313))/7+parseInt(e(513))/8*(parseInt(e(405))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var path=require("path"),fs=require("fs"),webpack=require(_0x2ec374(392)),json5=require(_0x2ec374(476)),ResourcePlugin=require("./plugin/resource-plugin"),HtmlGeneratorPlugin=require(_0x2ec374(509)),ManifestGeneratorPlugin=require(_0x2ec374(527)),I18NPlugin=require(_0x2ec374(372)),CopyAscfBundlePlugin=require(_0x2ec374(457)),_packOptions=require("./common/packoptions-utils"),_require=require(_0x2ec374(512)),clearResource=_require[_0x2ec374(500)],IS_PRD=_require.IS_PRD,PROJECT_PATH=_require[_0x2ec374(343)],PROJECT_CONFIG=_require.PROJECT_CONFIG,ASCF_SRC_PATH=_require[_0x2ec374(399)],ASCF_BUILD_PATH=_require[_0x2ec374(376)],RAWFILE_DIR=_require[_0x2ec374(366)],WebpackTargetPlugin=require(_0x2ec374(400)),LoggerPlguin=require("../common/logger-plugin"),utils=require(_0x2ec374(530)),commonUtils=require(_0x2ec374(512)),removeStrictModePlugin=require("../common/remove-strict-mode-plugin"),chalk=require("../ascf-compiler/chalk/bundle.cjs"),ExtConfigPlugin=require(_0x2ec374(363));function _0x1b52(e,t){var r=_0x5897();return(_0x1b52=function(e,t){return r[e-=306]})(e,t)}chalk.level=1,process.noDeprecation=!0;var ignoreRules=generateIgnoreRule(PROJECT_CONFIG),ZIP_PATH=path[_0x2ec374(307)](ASCF_SRC_PATH,_0x2ec374(525),_0x2ec374(359)),buildProfileJson5Path=path[_0x2ec374(465)](PROJECT_PATH,"build-profile.json5");if(!fs[_0x2ec374(418)](buildProfileJson5Path))throw _0x2ec374(438);var buildProfile=json5[_0x2ec374(455)](fs[_0x2ec374(493)](buildProfileJson5Path).toString());if(!buildProfile[_0x2ec374(375)]||0===buildProfile[_0x2ec374(375)][_0x2ec374(496)])throw _0x2ec374(518);var BUILD_PATH=path[_0x2ec374(465)](PROJECT_PATH,buildProfile[_0x2ec374(375)][0][_0x2ec374(358)],RAWFILE_DIR),I18N_ENTRY=[],I18N=_0x2ec374(340),APP=_0x2ec374(475),APP_TYPE=_0x2ec374(516);function handleUsingComponents(e,t){var r,n=_0x2ec374;if(e)for(var o in e)Object[n(337)][n(485)][n(327)](e,o)&&(r=e[o][n(387)](),e[o]=utils[n(462)](r,t,ASCF_SRC_PATH))}function checkTabBarPath(e){var t,i,r=_0x2ec374,s=[r(312),r(502),"pagePath"],n=(null==(n=e.tabBar)?void 0:n.list)||[],e=e.subPackages||e.subpackages||[];n!==[]&&e!==[]&&(t=e[r(341)](function(e){return e[r(409)]})[r(469)](function(e){return e}),i=[],n[r(443)](function(a){var e=r;t[e(443)](function(n){var o=e;s[o(443)](function(e){var t,r=o;path[r(307)](ASCF_SRC_PATH,null!=(t=a[e])?t:"")[r(472)](path[r(307)](ASCF_SRC_PATH,n,"/"))&&i[r(508)](chalk[r(445)]("ERROR: tabBar ".concat(a[r(321)]," ")[r(374)](e,r(315))))})})}),0<i[r(496)])&&(i[r(443)](function(e){var t=r;console[t(477)](chalk[t(445)](e))}),console.error(chalk[r(445)](r(454))),process[r(442)](1))}function readAppJson(){var r=_0x2ec374,e=_defineProperty({},APP,new Map),t=path[r(307)](ASCF_SRC_PATH,"app.json");if(!fs[r(418)](t))throw"ERROR: Can not resolve file : app.json";var n=commonUtils.readJsonFile(t),t=(checkTabBarPath(n),handleAppType(n),handleUsingComponents(n[r(323)],t),n.page={},n[r(401)]=[],[]);if(!n[r(430)]||n[r(430)][r(496)]<=0)throw r(326);putPageInfoToEntryList(n[r(430)],"",!1,n,e[APP]);var o=[r(471),r(391)][r(390)](function(e){var t=r;return Object.prototype[t(485)][t(327)](n,e)});if(t[r(496)]){o&&delete n[o];var a,i=_createForOfIteratorHelper(n[r(471)]=t);try{for(i.s();!(a=i.n())[r(371)];){var s=a[r(385)],u=new Map;e[s[r(409)]]=u,putPageInfoToEntryList(s.pages,s[r(409)],s[r(505)],n,u)}}catch(e){i.e(e)}finally{i.f()}}else if(o){t=n[o],delete n[o];var c,l=_createForOfIteratorHelper(n.subpackages=t);try{for(l.s();!(c=l.n())[r(371)];){var p=c[r(385)],f=new Map;e[p[r(409)]]=f,putPageInfoToEntryList(p[r(430)],p[r(409)],p[r(505)],n,f)}}catch(e){l.e(e)}finally{l.f()}}return handingCustomTabBar(n),{manifest:n,projectComponentsMap:e}}function handleAppType(e){var t;e[_0x2ec374(328)]=null!=(t=null!=(t=e.type)?t:e.appType)?t:APP_TYPE,delete e.appType}function hasCustomTabBar(e){var t=_0x2ec374;return(e[t(381)]||{})[t(534)]&&fs[t(418)](path[t(465)](ASCF_SRC_PATH,t(331)))}function handingCustomTabBar(e){var t=_0x2ec374;if(hasCustomTabBar(e)){var r,n=_createForOfIteratorHelper(e[t(381)].list);try{for(n.s();!(r=n.n())[t(371)];){var o=r[t(385)];if(!e[t(441)][o[t(444)]])throw t(450)+"'"[t(374)](o[t(444)],t(335));e[t(441)][o[t(444)]][t(483)]=!0}}catch(e){n.e(e)}finally{n.f()}}}function getGlobalComponentsInfo(){var t=0<arguments[_0x2ec374(496)]&&void 0!==arguments[0]?arguments[0]:{},r=[];return Object.keys(t).forEach(function(e){r.push({key:e,path:t[e]})}),r}function putPageInfoToEntryList(e,t,r,n,o){var a=_0x2ec374;if(e)for(var i in e)if(Object[a(337)][a(485)].call(e,i)){var i=path[a(307)](ASCF_SRC_PATH,t,e[i]),s=path[a(413)](ASCF_SRC_PATH,i);if(!_packOptions[a(449)](s,ignoreRules)){var s=s[a(431)](/\\/g,"/"),i=""[a(374)](i,".json"),u=void 0;try{u=fs[a(418)](i)?JSON[a(455)](fs.readFileSync(i)[a(521)]()):{}}catch(e){throw a(320)[a(374)](i," contains error, please check it.")}handleUsingComponents(u[a(323)],i),r&&n[a(401)].push(s),n[a(441)][s]=u,t||getUsingComponents(n,"","",o,a(441)),getUsingComponents(u,i,s,o,a(441))}}}function getUsingComponents(a,i,e,s,t){var u=_0x2ec374,c=5<arguments[u(496)]&&void 0!==arguments[5]?arguments[5]:[],l=[],p=a[u(425)];if(a[u(323)])for(var f in a.usingComponents)(()=>{var t=u;if(Object[t(337)][t(485)][t(327)](a.usingComponents,f)){var e=a[t(323)][f],r=utils[t(434)](e,i,ASCF_SRC_PATH,t(420)),n=r[t(334)],r=r[t(344)],o=path[t(413)](ASCF_SRC_PATH,n)[t(431)](/\\/g,"/").replace(/\.json/,""),e=r||o;if(a[t(323)][f]=e,!p&&i===n)return p=f;if(c[t(390)](function(e){return e===n}))throw"ERROR: Can not use cyclic dependened component with component path : "[t(374)](n);l.some(function(e){return e[t(324)]===path})||l[t(508)]({path:e,key:f,compJsonPath:n});r=JSON[t(455)](fs[t(493)](n)[t(521)]());handleUsingComponents(r[t(323)],n),getUsingComponents(r,n,e,s,"component",c[t(374)]([n]))}})();e&&!s[u(336)](e)&&(t={componentList:l,type:t,componentName:p,compJsonPath:i,path:e},s[u(357)](e,t))}function getI18NEntry(u){var c=_0x2ec374;fs[c(437)](u,function(e,t){var r=c;if(e)throw e;var n,o=_createForOfIteratorHelper(t);try{for(o.s();!(n=o.n()).done;){var a,i=n[r(385)],s=path[r(307)](u,i)[r(431)](/\\/g,"/");fs[r(468)](s)[r(497)]()&&!/(node_modules)|(\.ascf)/[r(353)](i)&&((a=s[r(380)]("/"))[a.length-1][r(416)]()===I18N&&I18N_ENTRY[r(508)](s),getI18NEntry(s))}}catch(e){o.e(e)}finally{o.f()}})}function generateEntry(e){var n=_0x2ec374,o={},t=e[n(389)],r=[],a=(Object[n(511)](t).reverse().forEach(function(e){r[n(508)](t[e])}),o[n(514)]=path.resolve(ASCF_SRC_PATH,"app.json?package=app")[n(431)](/\\/g,"/"),utils[n(467)](r)),i=path[n(465)](ASCF_SRC_PATH,n(426));if(fs[n(418)](i)&&(o[n(339)]=path[n(465)](ASCF_SRC_PATH,n(426))),hasCustomTabBar(e[n(306)])){var s,i=path[n(465)](ASCF_SRC_PATH,"custom-tab-bar/index.hxml"),u=i[n(431)](/\.hxml$/,".json"),c=(o["custom-tab-bar/index.pack.js"]=""[n(374)](i,n(474)),_createForOfIteratorHelper(e[n(306)][n(381)][n(356)]));try{for(c.s();!(s=c.n()).done;){var l=s[n(385)];a[n(336)](l[n(444)])&&a.get(l[n(444)])[n(310)][n(508)]({path:n(394),key:n(329),compJsonPath:u})}}catch(e){c.e(e)}finally{c.f()}i={componentList:[],type:"component",compJsonPath:u};t[n(475)].set(n(394),i)}return a[n(443)](function(e,t){var r=n;return o[""[r(374)](t,r(408))]=e[r(423)][r(431)](/\.json$/,r(495))}),utils[n(347)](e,n(428),a),generateWidgetsEntry(o,e),o}function generateWidgetsEntry(o,r){var a,n,i=_0x2ec374,e=r[i(306)];r[i(306)]&&e.router&&((a=e[i(515)][i(430)])&&Object.keys(a)[i(443)](function(e){var t=i,r=a[e],n=r.component,r=(r||console[t(355)](chalk[t(523)](t(460)[t(374)](e,t(345))+"By default, '"[t(374)](n,t(529)))),path.join(ASCF_SRC_PATH,e,n)),e=""[t(374)](path[t(307)](e,n),".js");if(fs[t(418)]("".concat(r,t(367))))o[e]="".concat(r,".ux");else if(!fs[t(418)](""[t(374)](r,".hxml")))throw t(317).concat(r,t(367))}),e=e[i(491)])&&0<e[i(496)]&&(r[i(308)]=[],n="",e[i(443)](function(e){var t=i;n=e.path,r[t(308)].push(path[t(307)](ASCF_SRC_PATH,n))}))}function generateModules(){var e=_0x2ec374,t={targets:{node:8}};return{rules:[][e(374)](_toConsumableArray(utils[e(424)]()),[{test:/\.js$/,use:[{loader:utils[e(461)](e(498)),options:{presets:[[utils[e(461)](e(319)),t]],plugins:[utils[e(461)]("@babel/plugin-transform-modules-commonjs"),utils[e(461)]("@babel/plugin-proposal-class-properties")]}},{loader:path[e(465)](__dirname,e(403))}],exclude:/node_modules/},{test:/\.(hjs)$/,use:[{loader:path[e(465)](__dirname,e(383))},{loader:utils[e(461)](e(498)),options:{presets:[[utils[e(461)]("@babel/preset-env"),t]],plugins:[utils[e(461)](e(397)),removeStrictModePlugin]}},{loader:path[e(465)](__dirname,"./path-process-loader.js")},{loader:path[e(465)](__dirname,e(403))}],exclude:/node_modules/},{test:/\.hxml$/,type:e(325),use:[{loader:utils[e(461)](e(498)),options:{presets:[[utils[e(461)](e(319)),t]],compact:!1}},{loader:path[e(465)](__dirname,e(433))},{loader:path[e(465)](__dirname,e(503))}]},{test:/app\.json$/,type:"javascript/auto",use:[{loader:path[e(465)](__dirname,e(316))}]},{test:/\.(ux)(\?[^?]+)?$/,use:[{loader:path[e(465)](__dirname,e(519))}]}])}}function generateIgnoreRule(e){var t;return(t=e?_packOptions[_0x2ec374(388)](e):t)||{}}function generateRouteMapping(e){var t=_0x2ec374,r=e[t(306)][t(364)]||{},n=path[t(307)](ASCF_SRC_PATH,"route-mapping.json");if(fs[t(418)](n)){var o=JSON[t(455)](fs.readFileSync(n).toString());if(o)for(var a in o)Object[t(337)].hasOwnProperty[t(327)](o,a)&&(r[a]=o[a])}0<Object[t(511)](r)[t(496)]&&(e[t(306)][t(364)]=r)}function generatePlugins(e){var t=_0x2ec374;return[new LoggerPlguin,new ResourcePlugin({src:ASCF_SRC_PATH,build:BUILD_PATH,ignoreRules:ignoreRules,manifest:e[t(306)]}),new ManifestGeneratorPlugin({manifest:e[t(306)],build:BUILD_PATH}),new HtmlGeneratorPlugin({manifestData:e[t(306)],pagesInfo:e[t(306)][t(441)],srcPath:ASCF_SRC_PATH,buildPath:BUILD_PATH,componentSet:e[t(428)]}),new webpack[t(412)]({options:{srcPath:ASCF_SRC_PATH,manifest:e[t(306)],components:e.components,projectComponentsMap:e[t(389)],versionNum:e[t(354)],widgetPathsList:e[t(308)],widgetsDependList:e.widgetPathsList,projectCfgData:PROJECT_CONFIG,globalComponents:getGlobalComponentsInfo(e[t(306)][t(323)])}}),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=_0x2ec374;return{modules:[path.join(ASCF_SRC_PATH,e(362)),path.join(ASCF_SRC_PATH,e(453)),path[e(307)](__dirname,"..","..",e(453)),path[e(307)](__dirname,"..","..","..","..","node_modules")]}}function checkBuildResources(){var e=_0x2ec374;(fs[e(418)](ZIP_PATH)||fs[e(418)](BUILD_PATH)||fs.existsSync(ASCF_BUILD_PATH))&&(console[e(355)](chalk[e(523)](e(526))),process[e(442)](1))}function generateConfig(){return _generateConfig[_0x2ec374(507)](this,arguments)}function _generateConfig(){var t=_0x2ec374;return(_generateConfig=_asyncToGenerator(_regeneratorRuntime()[t(524)](function e(){var r,n,o=t;return _regeneratorRuntime()[o(407)](function(e){for(var t=o;;)switch(e[t(487)]=e[t(446)]){case 0:if("yes"===process[t(370)][t(500)])return e.next=3,clearResource([ZIP_PATH,BUILD_PATH,ASCF_BUILD_PATH]);e[t(446)]=3;break;case 3:return checkBuildResources(),getI18NEntry(ASCF_SRC_PATH),generateRouteMapping(r=readAppJson()),n=generateEntry(r),n={mode:IS_PRD?t(350):"development",devtool:!IS_PRD&&"inline-cheap-source-map",context:ASCF_SRC_PATH,entry:n,output:{path:BUILD_PATH,filename:t(533),publicPath:"/",globalObject:t(464),enabledChunkLoadingTypes:[t(404)]},target:t(415),resolve:getResolve(),module:generateModules(),plugins:generatePlugins(r),node:{global:!1},stats:t(466),optimization:{noEmitOnErrors:!1,splitChunks:{chunks:t(396),cacheGroups:{default:!1}}}},IS_PRD||(n[t(501)][t(463)]=t(458)),e.abrupt(t(395),n);case 11:case t(421):return e[t(349)]()}},e)})))[t(507)](this,arguments)}module[_0x2ec374(459)]=generateConfig;
1
+ var _0x22e264=_0x5f55;function _regeneratorRuntime(){var c=_0x5f55;_regeneratorRuntime=function(){return s};var l,s={},e=Object.prototype,p=e.hasOwnProperty,f=Object.defineProperty||function(e,t,r){var n=_0x5f55;e[t]=r[n(417)]},t=c(291)==typeof Symbol?Symbol:{},a=t[c(314)]||c(237),r=t[c(436)]||c(242),n=t[c(384)]||c(286);function o(e,t,r){return Object[c(315)](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(260)]instanceof v?t:v,t=Object.create(t[u(260)]),n=new T(n||[]);return f(t,u(235),{value:(o=e,a=r,i=n,s=h,function(e,t){var r=_0x5f55;if(s===m)throw Error(r(442));if(s===g){if(r(220)===e)throw t;return{value:l,done:!0}}for(i[r(249)]=e,i.arg=t;;){var n=i.delegate;if(n){n=function e(t,r){var n=c,o=r[n(249)],a=t[n(314)][o];if(a===l)return r[n(265)]=null,"throw"===o&&t.iterator[n(431)]&&(r[n(249)]=n(431),r[n(233)]=l,e(t,r),n(220)===r.method)||n(431)!==o&&(r[n(249)]=n(220),r.arg=new TypeError(n(437)+o+"' method")),y;o=_(a,t[n(314)],r[n(233)]);if(n(220)===o.type)return r[n(249)]="throw",r.arg=o.arg,r[n(265)]=null,y;a=o[n(233)];return a?a[n(267)]?(r[t[n(240)]]=a[n(417)],r[n(381)]=t.nextLoc,n(431)!==r[n(249)]&&(r[n(249)]=n(381),r[n(233)]=l),r[n(265)]=null,y):a:(r[n(249)]=n(220),r.arg=new TypeError(n(333)),r[n(265)]=null,y)}(n,i);if(n){if(n===y)continue;return n}}if("next"===i[r(249)])i[r(355)]=i[r(363)]=i[r(233)];else if("throw"===i.method){if(s===h)throw s=g,i[r(233)];i[r(222)](i[r(233)])}else r(431)===i[r(249)]&&i.abrupt(r(431),i[r(233)]);s=m;n=_(o,a,i);if(r(241)===n[r(243)]){if(s=i[r(267)]?g:d,n[r(233)]===y)continue;return{value:n[r(233)],done:i[r(267)]}}r(220)===n.type&&(s=g,i[r(249)]=r(220),i[r(233)]=n[r(233)])}})}),t}function _(e,t,r){var n=c;try{return{type:n(241),arg:e[n(254)](t,r)}}catch(e){return{type:n(220),arg:e}}}s.wrap=u;var h=c(276),d=c(320),m=c(353),g=c(334),y={};function v(){}function i(){}function P(){}var t={},b=(o(t,a,function(){return this}),Object[c(275)]),b=b&&b(b(I([]))),x=(b&&b!==e&&p.call(b,a)&&(t=b),P[c(260)]=v[c(260)]=Object.create(t));function A(e){var t=c;["next",t(220),"return"][t(225)](function(t){o(e,t,function(e){return this._invoke(t,e)})})}function C(s,u){var t,o=c;f(this,o(235),{value:function(r,n){function e(){return new u(function(e,t){!function t(e,r,n,o){var a,i=_0x5f55,e=_(s[e],s,r);if("throw"!==e[i(243)])return(r=(a=e[i(233)])[i(417)])&&i(329)==_typeof(r)&&p[i(254)](r,i(232))?u.resolve(r[i(232)])[i(327)](function(e){t(i(381),e,n,o)},function(e){t("throw",e,n,o)}):u[i(228)](r)[i(327)](function(e){a.value=e,n(a)},function(e){return t(i(220),e,n,o)});o(e[i(233)])}(r,n,e,t)})}return t=t?t[o(327)](e,e):e()}})}function S(e){var t=c,r={tryLoc:e[0]};1 in e&&(r[t(290)]=e[1]),2 in e&&(r[t(261)]=e[2],r[t(354)]=e[3]),this.tryEntries[t(445)](r)}function R(e){var t=c,r=e.completion||{};r[t(243)]=t(241),delete r[t(233)],e[t(226)]=r}function T(e){var t=c;this[t(339)]=[{tryLoc:t(277)}],e[t(225)](S,this),this[t(246)](!0)}function I(r){var n=c;if(r||""===r){var o,e=r[a];if(e)return e[n(254)](r);if(n(291)==typeof r[n(381)])return r;if(!isNaN(r[n(422)]))return o=-1,(e=function e(){for(var t=n;++o<r[t(422)];)if(p[t(254)](r,o))return e.value=r[o],e[t(267)]=!1,e;return e.value=l,e.done=!0,e})[n(381)]=e}throw new TypeError(_typeof(r)+n(293))}return i[c(260)]=P,f(x,"constructor",{value:P,configurable:!0}),f(P,"constructor",{value:i,configurable:!0}),i.displayName=o(P,n,c(337)),s[c(441)]=function(e){var t=c,e=t(291)==typeof e&&e[t(245)];return!!e&&(e===i||"GeneratorFunction"===(e[t(439)]||e[t(322)]))},s[c(364)]=function(e){var t=c;return Object[t(358)]?Object[t(358)](e,P):(e[t(234)]=P,o(e,n,t(337))),e[t(260)]=Object.create(x),e},s[c(367)]=function(e){return{__await:e}},A(C.prototype),o(C[c(260)],r,function(){return this}),s.AsyncIterator=C,s[c(428)]=function(e,t,r,n,o){var a=c,i=(void 0===o&&(o=Promise),new C(u(e,t,r,n),o));return s.isGeneratorFunction(t)?i:i[a(381)]()[a(327)](function(e){var t=a;return e[t(267)]?e[t(417)]:i[t(381)]()})},A(x),o(x,n,c(263)),o(x,a,function(){return this}),o(x,"toString",function(){return c(227)}),s[c(360)]=function(e){var t,n=Object(e),o=[];for(t in n)o.push(t);return o.reverse(),function e(){for(var t=_0x5f55;o[t(422)];){var r=o[t(294)]();if(r in n)return e[t(417)]=r,e[t(267)]=!1,e}return e[t(267)]=!0,e}},s[c(274)]=I,T[c(260)]={constructor:T,reset:function(e){var t=c;if(this[t(247)]=0,this.next=0,this[t(355)]=this[t(363)]=l,this[t(267)]=!1,this[t(265)]=null,this[t(249)]=t(381),this[t(233)]=l,this[t(339)].forEach(R),!e)for(var r in this)"t"===r[t(434)](0)&&p[t(254)](this,r)&&!isNaN(+r[t(236)](1))&&(this[r]=l)},stop:function(){var e=c,t=(this.done=!0,this[e(339)][0][e(226)]);if(e(220)===t.type)throw t[e(233)];return this.rval},dispatchException:function(n){var o=c;if(this[o(267)])throw n;var a=this;function e(e,t){var r=o;return i.type="throw",i[r(233)]=n,a.next=e,t&&(a.method=r(381),a.arg=l),!!t}for(var t=this[o(339)][o(422)]-1;0<=t;--t){var r=this[o(339)][t],i=r[o(226)];if(o(277)===r.tryLoc)return e("end");if(r[o(255)]<=this[o(247)]){var s=p.call(r,o(290)),u=p[o(254)](r,o(261));if(s&&u){if(this[o(247)]<r[o(290)])return e(r[o(290)],!0);if(this[o(247)]<r[o(261)])return e(r[o(261)])}else if(s){if(this.prev<r.catchLoc)return e(r[o(290)],!0)}else{if(!u)throw Error(o(318));if(this.prev<r[o(261)])return e(r[o(261)])}}}},abrupt:function(e,t){for(var r=c,n=this[r(339)].length-1;0<=n;--n){var o=this[r(339)][n];if(o[r(255)]<=this[r(247)]&&p.call(o,r(261))&&this[r(247)]<o[r(261)]){var a=o;break}}var i=(a=a&&("break"===e||r(216)===e)&&a.tryLoc<=t&&t<=a[r(261)]?null:a)?a.completion:{};return i[r(243)]=e,i.arg=t,a?(this[r(249)]=r(381),this[r(381)]=a.finallyLoc,y):this.complete(i)},complete:function(e,t){var r=c;if(r(220)===e[r(243)])throw e[r(233)];return r(279)===e[r(243)]||r(216)===e[r(243)]?this.next=e[r(233)]:r(431)===e[r(243)]?(this.rval=this.arg=e[r(233)],this[r(249)]=r(431),this[r(381)]=r(295)):r(241)===e[r(243)]&&t&&(this[r(381)]=t),y},finish:function(e){for(var t=c,r=this.tryEntries[t(422)]-1;0<=r;--r){var n=this[t(339)][r];if(n[t(261)]===e)return this[t(421)](n[t(226)],n.afterLoc),R(n),y}},catch:function(e){for(var t=c,r=this[t(339)][t(422)]-1;0<=r;--r){var n,o,a=this[t(339)][r];if(a[t(255)]===e)return n=a[t(226)],t(220)===n[t(243)]&&(o=n[t(233)],R(a)),o}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){var n=c;return this.delegate={iterator:I(e),resultName:t,nextLoc:r},"next"===this.method&&(this[n(233)]=l),y}},s}function _typeof(e){var r=_0x5f55;return(_typeof="function"==typeof Symbol&&r(423)==typeof Symbol[r(314)]?function(e){return typeof e}:function(e){var t=r;return e&&t(291)==typeof Symbol&&e[t(245)]===Symbol&&e!==Symbol.prototype?t(423):typeof e})(e)}function asyncGeneratorStep(e,t,r,n,o,a,i){var s=_0x5f55;try{var u=e[a](i),c=u[s(417)]}catch(e){return void r(e)}u[s(267)]?t(c):Promise[s(228)](c).then(n,o)}function _asyncToGenerator(u){return function(){var e=this,s=arguments;return new Promise(function(t,r){var n=_0x5f55,o=u[n(394)](e,s);function a(e){asyncGeneratorStep(o,t,r,a,i,n(381),e)}function i(e){asyncGeneratorStep(o,t,r,a,i,n(220),e)}a(void 0)})}}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x5f55(424))}function _iterableToArray(e){var t=_0x5f55;if(t(429)!=typeof Symbol&&null!=e[Symbol[t(314)]]||null!=e["@@iterator"])return Array[t(326)](e)}function _arrayWithoutHoles(e){if(Array[_0x5f55(331)](e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var r,n,o,a,i=_0x5f55,s="undefined"!=typeof Symbol&&e[Symbol[i(314)]]||e[i(237)];if(s)return o=!(n=!0),{s:function(){s=s[i(254)](e)},n:function(){var e=i,t=s[e(381)]();return n=t[e(267)],t},e:function(e){o=!0,r=e},f:function(){var e=i;try{n||null==s[e(431)]||s[e(431)]()}finally{if(o)throw r}}};if(Array.isArray(e)||(s=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e[i(422)])return s&&(e=s),a=0,{s:t=function(){},n:function(){return a>=e.length?{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=_0x5f55;if(e)return n(414)==typeof e?_arrayLikeToArray(e,t):(r={}[n(352)].call(e)[n(236)](8,-1),n(343)===r&&e[n(245)]&&(r=e[n(245)][n(322)]),n(351)===r||"Set"===r?Array[n(326)](e):n(253)===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(223)](r)?_arrayLikeToArray(e,t):void 0)}function _arrayLikeToArray(e,t){var r=_0x5f55;(null==t||t>e[r(422)])&&(t=e[r(422)]);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function _defineProperty(e,t,r){var n=_0x5f55;return(t=_toPropertyKey(t))in e?Object[n(315)](e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){var t=_0x5f55,e=_toPrimitive(e,t(414));return t(423)==_typeof(e)?e:e+""}function _toPrimitive(e,t){var r=_0x5f55;if("object"!=_typeof(e)||!e)return e;var n=e[Symbol[r(404)]];if(void 0===n)return(r(414)===t?String:Number)(e);n=n[r(254)](e,t||"default");if(r(329)!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(()=>{for(var e=_0x5f55,t=_0x2def();;)try{if(231881==-parseInt(e(378))*(parseInt(e(398))/2)+parseInt(e(268))/3+-parseInt(e(224))/4*(parseInt(e(397))/5)+-parseInt(e(399))/6*(-parseInt(e(325))/7)+-parseInt(e(369))/8*(-parseInt(e(443))/9)+parseInt(e(219))/10+-parseInt(e(310))/11*(parseInt(e(385))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var path=require(_0x22e264(411)),fs=require("fs"),webpack=require(_0x22e264(250)),json5=require(_0x22e264(386)),ResourcePlugin=require("./plugin/resource-plugin"),HtmlGeneratorPlugin=require(_0x22e264(229)),ManifestGeneratorPlugin=require("./plugin/manifest-generator-plugin"),I18NPlugin=require(_0x22e264(230)),CopyAscfBundlePlugin=require(_0x22e264(231)),_packOptions=require("./common/packoptions-utils"),_require=require(_0x22e264(302)),clearResource=_require[_0x22e264(298)],IS_PRD=_require.IS_PRD,PROJECT_PATH=_require[_0x22e264(313)],PROJECT_CONFIG=_require[_0x22e264(340)],ASCF_SRC_PATH=_require[_0x22e264(444)],ASCF_BUILD_PATH=_require.ASCF_BUILD_PATH,RAWFILE_DIR=_require.RAWFILE_DIR,WebpackTargetPlugin=require(_0x22e264(419)),LoggerPlguin=require(_0x22e264(416)),utils=require(_0x22e264(330)),commonUtils=require(_0x22e264(302)),removeStrictModePlugin=require(_0x22e264(387)),chalk=require(_0x22e264(287)),ExtConfigPlugin=require(_0x22e264(262)),ignoreRules=(chalk.level=1,process[_0x22e264(285)]=!0,generateIgnoreRule(PROJECT_CONFIG)),ZIP_PATH=path[_0x22e264(273)](ASCF_SRC_PATH,_0x22e264(415),_0x22e264(383)),buildProfileJson5Path=path[_0x22e264(228)](PROJECT_PATH,_0x22e264(371));if(!fs[_0x22e264(412)](buildProfileJson5Path))throw _0x22e264(382);var buildProfile=json5[_0x22e264(296)](fs[_0x22e264(332)](buildProfileJson5Path)[_0x22e264(352)]());if(!buildProfile[_0x22e264(284)]||0===buildProfile.modules.length)throw _0x22e264(328);var BUILD_PATH=path[_0x22e264(228)](PROJECT_PATH,buildProfile.modules[0][_0x22e264(396)],RAWFILE_DIR),I18N_ENTRY=[],I18N="i18n",APP=_0x22e264(408),APP_TYPE="webapp";function handleUsingComponents(e,t){var r,n=_0x22e264;if(e)for(var o in e)Object.prototype[n(258)][n(254)](e,o)&&(r=e[o][n(272)](),e[o]=utils[n(316)](r,t,ASCF_SRC_PATH))}function checkTabBarPath(e){var t,a,r=_0x22e264,i=["iconPath","selectedIconPath",r(366)],n=(null==(n=e[r(323)])?void 0:n.list)||[],e=e.subPackages||e[r(357)]||[];n!==[]&&e!==[]&&(t=e[r(409)](function(e){return e[r(277)]}).filter(function(e){return e}),a=[],n[r(225)](function(o){t[r(225)](function(n){i.forEach(function(e){var t,r=_0x5f55;path.join(ASCF_SRC_PATH,null!=(t=o[e])?t:"")[r(281)](path[r(273)](ASCF_SRC_PATH,n,"/"))&&a[r(445)](chalk[r(218)](r(319)[r(432)](o[r(248)]," ")[r(432)](e," cannot be in the subpackage directory")))})})}),0<a[r(422)])&&(a[r(225)](function(e){console[r(278)](chalk.red(e))}),console[r(278)](chalk[r(218)](r(221))),process[r(359)](1))}function readAppJson(){var r=_0x22e264,e=_defineProperty({},APP,new Map),t=path[r(273)](ASCF_SRC_PATH,"app.json");if(!fs[r(412)](t))throw r(309);var n=commonUtils[r(379)](t),t=(checkTabBarPath(n),handleAppType(n),handleUsingComponents(n[r(312)],t),n.page={},n[r(365)]=[],[]);if(!n.pages||n[r(373)][r(422)]<=0)throw"ERROR: app.json doesn't contain any page.";putPageInfoToEntryList(n[r(373)],"",!1,n,e[APP]);var o=[r(357),r(349)][r(433)](function(e){var t=r;return Object[t(260)][t(258)].call(n,e)});if(t[r(422)]){o&&delete n[o];var a,i=_createForOfIteratorHelper(n[r(357)]=t);try{for(i.s();!(a=i.n()).done;){var s=a[r(417)],u=new Map;e[s[r(277)]]=u,putPageInfoToEntryList(s[r(373)],s[r(277)],s[r(390)],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(357)]=t);try{for(l.s();!(c=l.n()).done;){var p=c[r(417)],f=new Map;e[p[r(277)]]=f,putPageInfoToEntryList(p[r(373)],p[r(277)],p.independent,n,f)}}catch(e){l.e(e)}finally{l.f()}}return handingCustomTabBar(n),{manifest:n,projectComponentsMap:e}}function handleAppType(e){var t,r=_0x22e264;e[r(243)]=null!=(t=null!=(t=e[r(243)])?t:e[r(324)])?t:APP_TYPE,delete e[r(324)]}function hasCustomTabBar(e){var t=_0x22e264;return(e[t(323)]||{})[t(266)]&&fs.existsSync(path[t(228)](ASCF_SRC_PATH,t(306)))}function handingCustomTabBar(e){var t=_0x22e264;if(hasCustomTabBar(e)){var r,n=_createForOfIteratorHelper(e[t(323)][t(407)]);try{for(n.s();!(r=n.n())[t(267)];){var o=r.value;if(!e[t(400)][o.pagePath])throw t(410)+"'"[t(432)](o.pagePath,t(405));e[t(400)][o[t(366)]][t(376)]=!0}}catch(e){n.e(e)}finally{n.f()}}}function getGlobalComponentsInfo(){var e=_0x22e264,t=0<arguments[e(422)]&&void 0!==arguments[0]?arguments[0]:{},r=[];return Object[e(360)](t)[e(225)](function(e){r.push({key:e,path:t[e]})}),r}function putPageInfoToEntryList(e,t,r,n,o){var a=_0x22e264;if(e)for(var i in e)if(Object[a(260)][a(258)].call(e,i)){var i=path[a(273)](ASCF_SRC_PATH,t,e[i]),s=path[a(311)](ASCF_SRC_PATH,i);if(!_packOptions[a(406)](s,ignoreRules)){var s=s[a(305)](/\\/g,"/"),i=""[a(432)](i,a(257)),u=void 0;try{u=fs.existsSync(i)?JSON.parse(fs[a(332)](i)[a(352)]()):{}}catch(e){throw a(418)[a(432)](i,a(271))}handleUsingComponents(u[a(312)],i),r&&n[a(365)][a(445)](s),n[a(400)][s]=u,t||getUsingComponents(n,"","",o,a(400)),getUsingComponents(u,i,s,o,"page")}}}function getUsingComponents(a,i,e,s,t){var u=_0x22e264,c=5<arguments[u(422)]&&void 0!==arguments[5]?arguments[5]:[],l=[],p=a[u(322)];if(a.usingComponents)for(var f in a[u(312)])(()=>{var t=u;if(Object[t(260)][t(258)][t(254)](a[t(312)],f)){var r=a[t(312)][f],e=utils.getAbsPath(r,i,ASCF_SRC_PATH,t(257)),n=e[t(300)],e=e[t(297)],o=path[t(311)](ASCF_SRC_PATH,n).replace(/\\/g,"/")[t(305)](/\.json/,""),r=e||o;if(a[t(312)][f]=r,!p&&i===n)return p=f;if(c.find(function(e){return e===n}))return;l[t(356)](function(e){return e[t(411)]===r})||l[t(445)]({path:r,key:f,compJsonPath:n});e=JSON[t(296)](fs[t(332)](n)[t(352)]());handleUsingComponents(e[t(312)],n),getUsingComponents(e,n,r,s,t(217),c[t(432)]([n]))}})();e&&!s[u(380)](e)&&(t={componentList:l,type:t,componentName:p,compJsonPath:i,path:e},s[u(389)](e,t))}function getI18NEntry(u){var c=_0x22e264;fs[c(252)](u,function(e,t){var r=c;if(e)throw e;var n,o=_createForOfIteratorHelper(t);try{for(o.s();!(n=o.n())[r(267)];){var a,i=n[r(417)],s=path[r(273)](u,i)[r(305)](/\\/g,"/");fs[r(336)](s).isDirectory()&&!/(node_modules)|(\.ascf)/[r(223)](i)&&((a=s.split("/"))[a.length-1][r(440)]()===I18N&&I18N_ENTRY[r(445)](s),getI18NEntry(s))}}catch(e){o.e(e)}finally{o.f()}})}function generateEntry(e){var n=_0x22e264,o={},t=e[n(345)],r=[],a=(Object.keys(t)[n(259)]()[n(225)](function(e){r[n(445)](t[e])}),o["app.js"]=path[n(228)](ASCF_SRC_PATH,n(361))[n(305)](/\\/g,"/"),utils[n(388)](r)),i=path[n(228)](ASCF_SRC_PATH,"app.css");if(fs[n(412)](i)&&(o[n(344)]=path[n(228)](ASCF_SRC_PATH,n(283))),hasCustomTabBar(e[n(215)])){var s,i=path.resolve(ASCF_SRC_PATH,"custom-tab-bar/index.hxml"),u=i[n(305)](/\.hxml$/,n(257)),c=(o[n(413)]="".concat(i,n(244)),_createForOfIteratorHelper(e[n(215)][n(323)][n(407)]));try{for(c.s();!(s=c.n())[n(267)];){var l=s[n(417)];a[n(380)](l.pagePath)&&a[n(380)](l[n(366)])[n(308)][n(445)]({path:n(375),key:"customTabBar",compJsonPath:u})}}catch(e){c.e(e)}finally{c.f()}i={componentList:[],type:"component",compJsonPath:u};t[n(408)][n(389)](n(375),i)}return a[n(225)](function(e,t){var r=n;return o[""[r(432)](t,r(420))]=e.compJsonPath[r(305)](/\.json$/,r(251))}),utils[n(372)](e,n(391),a),generateWidgetsEntry(o,e),o}function generateWidgetsEntry(o,r){var a,n,i=_0x22e264,e=r[i(215)];r.manifest&&e[i(430)]&&((a=e[i(430)][i(373)])&&Object[i(360)](a)[i(225)](function(e){var t=i,r=a[e],n=r.component,r=(r||console[t(307)](chalk[t(264)](t(341)[t(432)](e,"' does not have the component attribute configured. ")+t(299)[t(432)](n,t(335)))),path[t(273)](ASCF_SRC_PATH,e,n)),e=""[t(432)](path[t(273)](e,n),t(374));if(fs.existsSync("".concat(r,".ux")))o[e]=""[t(432)](r,t(362));else if(!fs.existsSync(""[t(432)](r,t(251))))throw t(427)[t(432)](r,t(362))}),e=e[i(426)])&&0<e[i(422)]&&(r[i(280)]=[],n="",e.forEach(function(e){var t=i;n=e[t(411)],r[t(280)].push(path[t(273)](ASCF_SRC_PATH,n))}))}function generateModules(){var e=_0x22e264,t={targets:{node:8}};return{rules:[][e(432)](_toConsumableArray(utils.createCSSRule()),[{test:/\.js$/,use:[{loader:utils.loadBabelModule(e(338)),options:{presets:[[utils.loadBabelModule(e(317)),t]],plugins:[utils[e(368)](e(282)),utils[e(368)](e(350))]}},{loader:path[e(228)](__dirname,e(438))}],exclude:/node_modules/},{test:/\.(hjs)$/,use:[{loader:path.resolve(__dirname,e(239))},{loader:utils.loadBabelModule(e(338)),options:{presets:[[utils[e(368)](e(317)),t]],plugins:[utils[e(368)](e(282)),removeStrictModePlugin]}},{loader:path[e(228)](__dirname,e(321))},{loader:path.resolve(__dirname,e(438))}],exclude:/node_modules/},{test:/\.hxml$/,type:"javascript/auto",use:[{loader:utils[e(368)](e(338)),options:{presets:[[utils[e(368)](e(317)),t]],compact:!1}},{loader:path.resolve(__dirname,e(269))},{loader:path[e(228)](__dirname,e(393))}]},{test:/app\.json$/,type:"javascript/auto",use:[{loader:path[e(228)](__dirname,e(270))}]},{test:/\.(ux)(\?[^?]+)?$/,use:[{loader:path[e(228)](__dirname,"fa-compiler/loader.js")}]}])}}function generateIgnoreRule(e){var t;return(t=e?_packOptions[_0x22e264(238)](e):t)||{}}function _0x5f55(e,t){var r=_0x2def();return(_0x5f55=function(e,t){return r[e-=215]})(e,t)}function generateRouteMapping(e){var t=_0x22e264,r=e[t(215)][t(256)]||{},n=path[t(273)](ASCF_SRC_PATH,t(425));if(fs[t(412)](n)){var o=JSON[t(296)](fs[t(332)](n).toString());if(o)for(var a in o)Object[t(260)].hasOwnProperty[t(254)](o,a)&&(r[a]=o[a])}0<Object[t(360)](r)[t(422)]&&(e[t(215)][t(256)]=r)}function generatePlugins(e){var t=_0x22e264;return[new LoggerPlguin,new ResourcePlugin({src:ASCF_SRC_PATH,build:BUILD_PATH,ignoreRules:ignoreRules,manifest:e[t(215)]}),new ManifestGeneratorPlugin({manifest:e[t(215)],build:BUILD_PATH}),new HtmlGeneratorPlugin({manifestData:e[t(215)],pagesInfo:e[t(215)][t(400)],srcPath:ASCF_SRC_PATH,buildPath:BUILD_PATH,componentSet:e[t(391)]}),new webpack[t(403)]({options:{srcPath:ASCF_SRC_PATH,manifest:e.manifest,components:e.components,projectComponentsMap:e[t(345)],versionNum:e[t(288)],widgetPathsList:e.widgetPathsList,widgetsDependList:e[t(280)],projectCfgData:PROJECT_CONFIG,globalComponents:getGlobalComponentsInfo(e[t(215)][t(312)])}}),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=_0x22e264;return{modules:[path[e(273)](ASCF_SRC_PATH,"miniprogram_npm"),path.join(ASCF_SRC_PATH,e(342)),path[e(273)](__dirname,"..","..",e(342)),path[e(273)](__dirname,"..","..","..","..",e(342))]}}function checkBuildResources(){var e=_0x22e264;(fs[e(412)](ZIP_PATH)||fs.existsSync(BUILD_PATH)||fs[e(412)](ASCF_BUILD_PATH))&&(console.warn(chalk.yellow(e(435))),process[e(359)](1))}function generateConfig(){return _generateConfig[_0x22e264(394)](this,arguments)}function _0x2def(){var e=["iterator","defineProperty","getProjectAbsPath","@babel/preset-env","try statement without catch or finally","ERROR: tabBar ","suspendedYield","./path-process-loader.js","name","tabBar","appType","1423555Fyxjyf","from","then","ERROR: build-profile.json5 file modules is null","object","./common/utils","isArray","readFileSync","iterator result is not an object","completed","' is used.","lstatSync","GeneratorFunction","babel-loader","tryEntries","PROJECT_CONFIG","WARNING:Route information in the manifest.json file is incomplete:\n Page '","node_modules","Object","app.css.js","projectComponentsMap","moduleIds","production","yes","subPackages","@babel/plugin-proposal-class-properties","Map","toString","executing","afterLoc","sent","some","subpackages","setPrototypeOf","exit","keys","app.json?package=app",".ux","_sent","mark","independentList","pagePath","awrap","loadBabelModule","8lpxKmY","none","build-profile.json5","defFreezeProperty","pages",".js","custom-tab-bar/index","useCustomTabBar","[name]","1MTmhcy","readJsonFile","get","next","ERROR: build-profile.json5 file not found","dist","toStringTag","12EAmYWF","json5","../common/remove-strict-mode-plugin","mergeMap","set","independent","components","stop","./trustlist-hxml-verify-loader.js","apply","global","srcPath","81645JGjETx","74650hrUWMc","6QXegsG","page","named","development","LoaderOptionsPlugin","toPrimitive","', please check tabBar configuration.","isIgnoreFile","list","app","map","ERROR: Can not resolve tabBar list item : ","path","existsSync","custom-tab-bar/index.pack.js","string",".ascf","../common/logger-plugin","value","ERROR: ","./plugin/webpack-target/index",".pack.js","complete","length","symbol","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","route-mapping.json","widgets","ERROR: Failed to find the file: ","async","undefined","router","return","concat","find","charAt","WARNING: The build directory is not cleared. Use the -c parameter.","asyncIterator","The iterator does not provide a '","./trustlist-js-verify-loader.js","displayName","toLowerCase","isGeneratorFunction","Generator is already running","1833669vIHXTj","ASCF_SRC_PATH","push","manifest","continue","component","red","2908980wtyQpS","throw","ERROR: modify app.json tabBar and recompile it","dispatchException","test","76MFlVKa","forEach","completion","[object Generator]","resolve","./plugin/html-generator-plugin","./plugin/i18n-transform-plugin","./plugin/copy-bundle-plugin","__await","arg","__proto__","_invoke","slice","@@iterator","parseIgnoreRules","./hjs-loader","resultName","normal","@@asyncIterator","type","?type=component","constructor","reset","prev","text","method","webpack",".hxml","readdir","Arguments","call","tryLoc","routeMapping",".json","hasOwnProperty","reverse","prototype","finallyLoc","./plugin/extConfig-plugin","Generator","yellow","delegate","custom","done","21282tIRnnO","./hxml-loader","./appjson-loader"," contains error, please check it.","trim","join","values","getPrototypeOf","suspendedStart","root","error","break","widgetPathsList","startsWith","@babel/plugin-transform-modules-commonjs","app.css","modules","noDeprecation","@@toStringTag","../ascf-compiler/chalk/bundle.cjs","versionNum","web","catchLoc","function","abrupt"," is not iterable","pop","end","parse","fixEntryPath","clearResource","By default, '","filePath","wrap","../common/utils","import-scripts","inline-cheap-source-map","replace","custom-tab-bar/index.hxml","warn","componentList","ERROR: Can not resolve file : app.json","1382051SUaswD","relative","usingComponents","PROJECT_PATH"];return(_0x2def=function(){return e})()}function _generateConfig(){var t=_0x22e264;return(_generateConfig=_asyncToGenerator(_regeneratorRuntime()[t(364)](function e(){var r,n,o=t;return _regeneratorRuntime()[o(301)](function(e){for(var t=o;;)switch(e[t(247)]=e[t(381)]){case 0:if(process.env.clearResource===t(348))return e[t(381)]=3,clearResource([ZIP_PATH,BUILD_PATH,ASCF_BUILD_PATH]);e[t(381)]=3;break;case 3:return checkBuildResources(),getI18NEntry(ASCF_SRC_PATH),generateRouteMapping(r=readAppJson()),n=generateEntry(r),n={mode:t(IS_PRD?347:402),devtool:!IS_PRD&&t(304),context:ASCF_SRC_PATH,entry:n,output:{path:BUILD_PATH,filename:t(377),publicPath:"/",globalObject:t(395),enabledChunkLoadingTypes:[t(303)]},target:t(289),resolve:getResolve(),module:generateModules(),plugins:generatePlugins(r),node:{global:!1},stats:t(370),optimization:{noEmitOnErrors:!1,splitChunks:{chunks:t(428),cacheGroups:{default:!1}}}},IS_PRD||(n.optimization[t(346)]=t(401)),e[t(292)]("return",n);case 11:case"end":return e[t(392)]()}},e)}))).apply(this,arguments)}module.exports=generateConfig;
@@ -1 +1 @@
1
- var _0x3ed183=_0x432d;function _typeof(e){var t=_0x432d;return(_typeof="function"==typeof Symbol&&t(437)==typeof Symbol[t(594)]?function(e){return typeof e}:function(e){var o=t;return e&&o(510)==typeof Symbol&&e[o(517)]===Symbol&&e!==Symbol[o(406)]?"symbol":typeof e})(e)}function _classCallCheck(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function _0x1eab(){var e=["showTabBarRedDot","startLocationUpdate","createARCameraContext","concat","tap","createBLEConnection","onPlay","requestHwPayment","stopRecord","offAudioInterruptionEnd","Headline","createRtcRoomContext","hideToast","closeBLEConnection","submitresource","setURLQuery","configBasenameArray","597205bIFkvZ","playVoice","deleteresource","onScrollToLower","qa:","createAnimation","checkSession","getAvailableAudioSources","vibrate","iconPath",".wxss","getTemplateLibraryById","rsa","list","onTransition","showAuthGuide","iterator","onLoad","setTopBarText","44445933QseoJs","compressImage","value","offMemoryWarning","minProgramLanguage","onBlur","shareFile","block-size","block-color","navigateToBookshelf","project.swan.json","stopBackgroundAudio","512300XJpJNL","onEnded","hideHomeButton","watchShake","startWifi","offWindowResize","insertCalendar","default","polygons","onControlTap","prototype","onError","optionsSelect","insertBookshelf","getRunScene",".ttss","string","color","@@toPrimitive must return a primitive value.","setEnableDebug","getServerTime","object","pauseVoice","onBackgroundAudioPlay","isLoginSync","offSocketError","onRenderStart","getMenuButtonBoundingClientRect","getSelectedTextRange","showModal","onStop","openReplyEditor",".sjs","wxs","onTimeUpdate","3448216NoGcxD","nextTick","onChanging","getRealtimeLogManager","tablebarItems","setLocatedCity","symbol","enumerable",".ttml","onFirstAppear","Applets","length","onBackgroundAudioPause","arrayBufferToBase64","tablebarListItems","_appletType","offSocketMessage","offLocationChange","onLocationChange",".wxml","saveImageToPhotosAlbum","subscribeService","stopVoice","Baidu","onConfirm","setInnerAudioOption","Alipay","mute","directivesPrefix","project.config.json","addTemplate","stopLocationUpdate","onToBindWithTagEvents","onAnimationEnd","compressVideo","onPause","projectFileSuffix","setNavigationBar","touchEnd","onChange","onAppear","getUserInfo","createInnerAudioContext",".wxs","datePicker","getAccountInfoSync","offAudioInterruptionBegin","getAppIdSync","commonOnEvents","onInput","onScale","onScrollToUpper","saveFileToDisk","tagEventToTransform","onChangeEnd","createAnimationVideo","4640355oFjCtn","getSystemRiskInfo","__esModule","onLocatedComplete","selectedIconPath","onReset","addSupportTypes","enablePullDownRefresh","windowItems","configurable","onWindowResize","pauseBackgroundAudio","configBasename","weChat","call","playBackgroundAudio","SDKVersion","setWifiList","navigationBarBackgroundColor","bindchange","offSocketClose","bindanimationfinish","hideTabBarRedDot","function","offSocketOpen","setPageInfo","onAudioInterruptionBegin","onFocus","defineProperty","createAudioContext","constructor","import-sjs",".css","getClipboardData","3850527JOCFpU","getDirectivesReg","resetConfig","onBackgroundAudioStop","startRecord","onCalloutTap","quickapp","tt:","setMetaDescription","invalidApis","onShareAppMessage","getRecorderManager","interfacesForTransform","8kxdycM","getEnvInfoSync",".qxml","navigateBackSmartProgram","touchMove","setDocumentTitle","onRegionChange","2661490HWLdAG","onScroll","touchCancel","specialTag","openCommunityEditor","submitsitemap","toPrimitive","getTemplateList","createOffscreenCanvas","deletesitemap","66qkslwd","startLocationUpdateBackground","showNavigationBarLoading","navigationBarTitleText","queryBookshelf","chooseAlipayContact","navigateToSmartProgram","onAnimationStart","onDisappear","onAudioInterruptionEnd"];return(_0x1eab=function(){return e})()}function _defineProperties(e,o){for(var t=_0x432d,n=0;n<o[t(442)];n++){var d=o[n];d[t(438)]=d[t(438)]||!1,d[t(496)]=!0,t(386)in d&&(d.writable=!0),Object[t(515)](e,_toPropertyKey(d.key),d)}}function _createClass(e,o,t){var n=_0x432d;return o&&_defineProperties(e[n(406)],o),t&&_defineProperties(e,t),Object[n(515)](e,n(406),{writable:!1}),e}function _0x432d(e,o){var t=_0x1eab();return(_0x432d=function(e,o){return t[e-=386]})(e,o)}function _toPropertyKey(e){var o=_0x432d,e=_toPrimitive(e,o(412));return o(437)==_typeof(e)?e:e+""}function _toPrimitive(e,o){var t=_0x432d;if(t(417)!=_typeof(e)||!e)return e;var n=e[Symbol[t(547)]];if(void 0===n)return(t(412)===o?String:Number)(e);n=n[t(501)](e,o||t(403));if("object"!=_typeof(n))return n;throw new TypeError(t(414))}(()=>{for(var e=_0x432d,o=_0x1eab();;)try{if(807401==-parseInt(e(396))+-parseInt(e(541))/2+-parseInt(e(521))/3+parseInt(e(431))/4+-parseInt(e(487))/5+-parseInt(e(551))/6*(parseInt(e(578))/7)+-parseInt(e(534))/8*(-parseInt(e(597))/9))break;o.push(o.shift())}catch(e){o.push(o.shift())}})(),Object[_0x3ed183(515)](exports,_0x3ed183(489),{value:!0}),exports.interfacesForTransform=exports[_0x3ed183(463)]=exports[_0x3ed183(484)]=exports[_0x3ed183(479)]=exports[_0x3ed183(441)]=exports[_0x3ed183(445)]=exports[_0x3ed183(435)]=exports[_0x3ed183(495)]=exports[_0x3ed183(577)]=exports[_0x3ed183(544)]=exports[_0x3ed183(459)]=exports[_0x3ed183(467)]=exports[_0x3ed183(388)]=exports[_0x3ed183(530)]=void 0,exports[_0x3ed183(530)]=["base64ToArrayBuffer",_0x3ed183(444),_0x3ed183(560),_0x3ed183(513),"offAudioInterruptionEnd",_0x3ed183(477),_0x3ed183(415),_0x3ed183(573),_0x3ed183(553),"hideNavigationBarLoading","setBackgroundTextStyle","setBackgroundColor",_0x3ed183(561),"setTabBarStyle","setTabBarItem",_0x3ed183(509),_0x3ed183(583),_0x3ed183(432),_0x3ed183(423),_0x3ed183(598),_0x3ed183(465),_0x3ed183(453),_0x3ed183(456),_0x3ed183(579),_0x3ed183(418),_0x3ed183(585),_0x3ed183(473),_0x3ed183(516),_0x3ed183(395),"seekBackgroundAudio",_0x3ed183(502),_0x3ed183(498),_0x3ed183(524),_0x3ed183(419),_0x3ed183(443),"getBackgroundAudioPlayerState","getBackgroundAudioManager",_0x3ed183(569),_0x3ed183(525),_0x3ed183(532),_0x3ed183(462),_0x3ed183(552),_0x3ed183(562),_0x3ed183(449),_0x3ed183(448),"getClipboardData",_0x3ed183(504),_0x3ed183(400),"stopWifi",_0x3ed183(483),_0x3ed183(549),"onMemoryWarning",_0x3ed183(387),_0x3ed183(434),_0x3ed183(398),_0x3ed183(596),_0x3ed183(497),_0x3ed183(401),"chooseMessageFile",_0x3ed183(584),_0x3ed183(472),_0x3ed183(568),_0x3ed183(476),_0x3ed183(478),_0x3ed183(410),_0x3ed183(503),"hideBackHome",_0x3ed183(468),_0x3ed183(556),"chooseCity",_0x3ed183(490),_0x3ed183(436),"regionPicker",_0x3ed183(475),"calculateRoute",_0x3ed183(408),"multiLevelSelect","setCanPullDown",_0x3ed183(507),_0x3ed183(447),_0x3ed183(511),_0x3ed183(421),_0x3ed183(458),"offAudioInterruptionBegin",_0x3ed183(570),_0x3ed183(513),_0x3ed183(560),_0x3ed183(586),_0x3ed183(399),_0x3ed183(416),_0x3ed183(593),_0x3ed183(590),"getURLQuery",_0x3ed183(576),"onURLQueryChange","ai",_0x3ed183(563),_0x3ed183(486),"createLivePlayerContext",_0x3ed183(572),_0x3ed183(535),"getunionid",_0x3ed183(420),"requestPolymerPayment",_0x3ed183(512),_0x3ed183(529),"setMetaKeywords",_0x3ed183(539),"loadSubPackage","reportAnalytics",_0x3ed183(488),_0x3ed183(452),_0x3ed183(409),"deleteBookshelf",_0x3ed183(555),"updateBookshelfReadTime",_0x3ed183(393),"getSwanId",_0x3ed183(531),"openShare",_0x3ed183(390),_0x3ed183(557),_0x3ed183(537),_0x3ed183(545),"closeCommunityEditor",_0x3ed183(427),"closeReplyEditor",_0x3ed183(575),_0x3ed183(580),_0x3ed183(546),_0x3ed183(550),"getTemplateLibraryList",_0x3ed183(589),_0x3ed183(461),_0x3ed183(548),"deleteTemplate","sendTemplateMessage"],exports[_0x3ed183(388)]={qa:_0x3ed183(527),wx:_0x3ed183(500),swan:_0x3ed183(454),my:_0x3ed183(457),tt:_0x3ed183(571)},exports[_0x3ed183(467)]={qa:{hxml:_0x3ed183(536),css:_0x3ed183(519),hjs:".qjs"},wx:{hxml:_0x3ed183(450),css:_0x3ed183(588),hjs:_0x3ed183(474)},swan:{hxml:".swan",css:_0x3ed183(519),hjs:".sjs"},my:{hxml:".axml",css:".acss",hjs:_0x3ed183(428)},tt:{hxml:_0x3ed183(439),css:_0x3ed183(411),hjs:".sjs"}},exports[_0x3ed183(459)]={qa:_0x3ed183(582),wx:"wx:",swan:"s-",my:"a:",tt:_0x3ed183(528)},exports[_0x3ed183(544)]={wx:_0x3ed183(429),swan:_0x3ed183(518),my:_0x3ed183(518),tt:null},exports[_0x3ed183(577)]=[_0x3ed183(460),_0x3ed183(394)];var configBasename={qa:"quickapp.config.json",wx:_0x3ed183(460),swan:_0x3ed183(394),my:null,tt:_0x3ed183(460)},addSupportTypes=(exports[_0x3ed183(495)]={titleBarColor:_0x3ed183(505),pullRefresh:_0x3ed183(494),defaultTitle:_0x3ed183(554)},exports[_0x3ed183(435)]={textColor:_0x3ed183(413),items:_0x3ed183(591)},exports[_0x3ed183(445)]={name:"text",icon:_0x3ed183(587),activeIcon:_0x3ed183(491)},{wx:null,swan:null,my:null,tt:["wx"]}),Applets=(()=>{var t=_0x3ed183;function n(){_classCallCheck(this,n)}return _createClass(n,null,[{key:"appletType",get:function(){return n[_0x432d(446)]},set:function(e){var o=_0x432d;n[o(523)](e),n[o(446)]=e}},{key:t(523),value:function(e){var o=t;n[o(499)]=configBasename[e],n[o(493)]=addSupportTypes[e]}},{key:t(522),value:function(e){var o=t;return new RegExp("^"[o(564)](exports[o(459)][e],".*"))}}])})();exports.Applets=Applets,exports.commonOnEvents=["touchStart",_0x3ed183(538),_0x3ed183(469),_0x3ed183(543),_0x3ed183(565),"longTap"],exports[_0x3ed183(484)]={swiper:{onAnimationEnd:_0x3ed183(508)},video:{onLoading:"bindwaiting"},checkbox:{onChange:_0x3ed183(506)},slider:{"handle-size":_0x3ed183(391),handleSize:_0x3ed183(391),"handle-color":_0x3ed183(392),handleColor:_0x3ed183(392)},map:{polygon:_0x3ed183(404)}},exports[_0x3ed183(463)]={view:["onTransitionEnd","onAnimationIteration",_0x3ed183(558),_0x3ed183(464),_0x3ed183(471),_0x3ed183(559),_0x3ed183(440)],"movable-view":[_0x3ed183(470),_0x3ed183(481),_0x3ed183(485)],"scroll-view":[_0x3ed183(482),_0x3ed183(581),_0x3ed183(542)],swiper:[_0x3ed183(470),_0x3ed183(592)],"checkbox-group":[_0x3ed183(470)],form:["onSubmit",_0x3ed183(492)],input:[_0x3ed183(480),_0x3ed183(514),_0x3ed183(389),_0x3ed183(455)],picker:[_0x3ed183(470)],"picker-view":[_0x3ed183(470)],"radio-group":[_0x3ed183(470)],slider:[_0x3ed183(470),_0x3ed183(433)],switch:[_0x3ed183(470)],textarea:[_0x3ed183(480),_0x3ed183(514),_0x3ed183(389),_0x3ed183(455)],image:[_0x3ed183(595),_0x3ed183(407)],video:[_0x3ed183(567),_0x3ed183(466),_0x3ed183(397),_0x3ed183(430),_0x3ed183(407),"onFullScreenChange","onUserAction",_0x3ed183(426),_0x3ed183(422)],map:["onMarkerTap",_0x3ed183(526),_0x3ed183(405),_0x3ed183(540),"onPanelTap"]},exports[_0x3ed183(533)]={confirm:_0x3ed183(425),saveImage:_0x3ed183(451),connectBLEDevice:_0x3ed183(566),disconnectBLEDevice:_0x3ed183(574),scan:"scanCode",setClipboard:"setClipboardData",getClipboard:_0x3ed183(520),getSelectedTextRange:"hideKeyboard",hideKeyboard:_0x3ed183(424),compressVideo:_0x3ed183(465),saveFileToDisk:"saveFile",addPhoneRepeatCalendar:_0x3ed183(402),stopAccelerometer:"stopAccelerometer"};
1
+ var _0x474750=_0x3c12;function _typeof(e){var t=_0x3c12;return(_typeof=t(330)==typeof Symbol&&"symbol"==typeof Symbol[t(203)]?function(e){return typeof e}:function(e){var o=t;return e&&o(330)==typeof Symbol&&e[o(272)]===Symbol&&e!==Symbol.prototype?o(212):typeof e})(e)}function _classCallCheck(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,o){for(var t=_0x3c12,n=0;n<o.length;n++){var a=o[n];a[t(180)]=a[t(180)]||!1,a.configurable=!0,t(321)in a&&(a.writable=!0),Object.defineProperty(e,_toPropertyKey(a[t(218)]),a)}}function _createClass(e,o,t){return o&&_defineProperties(e[_0x3c12(346)],o),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var o=_0x3c12,e=_toPrimitive(e,o(287));return o(212)==_typeof(e)?e:e+""}function _toPrimitive(e,o){var t=_0x3c12;if(t(269)!=_typeof(e)||!e)return e;var n=e[Symbol[t(233)]];if(void 0===n)return(t(287)===o?String:Number)(e);n=n[t(168)](e,o||t(237));if("object"!=_typeof(n))return n;throw new TypeError(t(275))}function _0x3c12(e,o){var t=_0x43dd();return(_0x3c12=function(e,o){return t[e-=135]})(e,o)}function _0x43dd(){var e=["getDirectivesReg","compressImage","onRenderStart",".ttml","onAnimationEnd","onAudioInterruptionEnd",".acss","createRtcRoomContext","projectFileSuffix","navigateBackSmartProgram","addTemplate","showModal","offWindowResize","onAnimationIteration","onMemoryWarning","onBackgroundAudioPlay","1304150aFoVws","updateBookshelfReadTime","setMetaKeywords","chooseAlipayContact","deleteTemplate","call","openReplyEditor","getRecorderManager","setCanPullDown","saveFile","weChat","getSwanId","onError","list","invalidApis","windowItems","touchMove","enumerable","concat","onAudioInterruptionBegin","mute",".css","arrayBufferToBase64","onScroll","onLoad",".wxss","onBlur","hideKeyboard","stopLocationUpdate","278632SZvQHR","__esModule","4UHFVGX","tap","setNavigationBar","tagEventToTransform","onChange","closeReplyEditor","pauseBackgroundAudio","Applets","wxs","iterator","Alipay","8175805KPEzXk","getServerTime","tt:","datePicker","qa:","Baidu","628RbLlJS","symbol","_appletType","createBLEConnection","appletType","directivesPrefix","onFocus","key","pauseVoice","setTabBarStyle","bindwaiting","stopRecord","chooseCity","SDKVersion","getUserInfo","base64ToArrayBuffer","block-size","deletesitemap","setDocumentTitle","submitresource","deleteBookshelf","wx:","toPrimitive","commonOnEvents","getRunScene","polygons","default","onScrollToLower","insertCalendar","hideBackHome","subscribeService","iconPath","setTopBarText","6BdgxnV","requestHwPayment","offAudioInterruptionEnd",".wxs","text","createAnimation","stopAccelerometer","navigationBarTitleText","playBackgroundAudio","saveImageToPhotosAlbum","insertBookshelf","onPause","nextTick","getTemplateLibraryList","setTabBarItem","resetConfig","isLoginSync","onFirstAppear","selectedIconPath","getRealtimeLogManager","getAppIdSync","setEnableDebug","onToBindWithTagEvents","onConfirm","project.swan.json","object","saveFileToDisk","compressVideo","constructor","closeCommunityEditor","Headline","@@toPrimitive must return a primitive value.","startLocationUpdateBackground","onScale","showTabBarRedDot","onWindowResize","createOffscreenCanvas","onURLQueryChange","getunionid","stopBackgroundAudio","offMemoryWarning",".sjs","createInnerAudioContext","string","onFullScreenChange","tablebarListItems","addSupportTypes","getSelectedTextRange","1692gLLDUV","setBackgroundColor","onUserAction","interfacesForTransform","offSocketClose","project.config.json","7744muIaoK","enablePullDownRefresh","offSocketMessage","getTemplateLibraryById","shareFile","navigateToSmartProgram","3125633JtAgFV","988956VGpvlh","touchStart","setWifiList","startLocationUpdate","startWifi","submitsitemap","offLocationChange","minProgramLanguage","hideToast","onInput","chooseMessageFile","getBackgroundAudioManager","setMetaDescription","offSocketError","tablebarItems","playVoice","value","setClipboardData","onAppear","onBackgroundAudioPause","import-sjs","onAnimationStart","vibrate","hideHomeButton","onSubmit","function","specialTag","onDisappear","closeBLEConnection","rsa","getTemplateList","stopVoice","color","getSystemRiskInfo","onEnded","setLocatedCity","onMarkerTap","bindchange","onRegionChange","scanCode","setPageInfo","prototype","block-color","createAudioContext","onCalloutTap","configBasenameArray","offAudioInterruptionBegin",".ttss","showNavigationBarLoading","onShareAppMessage",".swan","quickapp.config.json","onLocationChange","8480jNynsH",".axml","createARCameraContext","onControlTap","bindanimationfinish","navigateToBookshelf","getAccountInfoSync","sendTemplateMessage","defineProperty"];return(_0x43dd=function(){return e})()}(()=>{for(var e=_0x3c12,o=_0x43dd();;)try{if(283827==-parseInt(e(192))*(parseInt(e(194))/2)+parseInt(e(305))/3+parseInt(e(211))/4*(parseInt(e(138))/5)+parseInt(e(244))/6*(-parseInt(e(304))/7)+-parseInt(e(298))/8*(parseInt(e(292))/9)+parseInt(e(163))/10+parseInt(e(205))/11)break;o.push(o.shift())}catch(e){o.push(o.shift())}})(),Object[_0x474750(146)](exports,_0x474750(193),{value:!0}),exports.interfacesForTransform=exports[_0x474750(266)]=exports[_0x474750(197)]=exports[_0x474750(234)]=exports[_0x474750(201)]=exports.tablebarListItems=exports[_0x474750(319)]=exports[_0x474750(178)]=exports[_0x474750(350)]=exports[_0x474750(331)]=exports[_0x474750(216)]=exports.projectFileSuffix=exports.minProgramLanguage=exports[_0x474750(177)]=void 0,exports[_0x474750(177)]=[_0x474750(226),_0x474750(185),_0x474750(152),_0x474750(182),_0x474750(246),_0x474750(351),_0x474750(265),_0x474750(313),_0x474750(353),"hideNavigationBarLoading","setBackgroundTextStyle",_0x474750(293),_0x474750(278),_0x474750(220),_0x474750(258),"hideTabBarRedDot",_0x474750(249),_0x474750(256),"getMenuButtonBoundingClientRect",_0x474750(148),_0x474750(271),_0x474750(336),"setInnerAudioOption",_0x474750(320),_0x474750(219),"getAvailableAudioSources",_0x474750(286),_0x474750(348),_0x474750(283),"seekBackgroundAudio",_0x474750(252),_0x474750(200),"onBackgroundAudioStop",_0x474750(162),_0x474750(324),"getBackgroundAudioPlayerState",_0x474750(316),_0x474750(222),"startRecord",_0x474750(170),_0x474750(191),_0x474750(276),_0x474750(308),_0x474750(137),_0x474750(311),"getClipboardData",_0x474750(307),_0x474750(309),"stopWifi",_0x474750(270),_0x474750(280),_0x474750(161),_0x474750(284),_0x474750(263),_0x474750(328),_0x474750(243),_0x474750(279),_0x474750(159),_0x474750(315),"checkSession",_0x474750(225),_0x474750(245),_0x474750(144),_0x474750(264),_0x474750(235),_0x474750(224),_0x474750(240),_0x474750(196),_0x474750(166),_0x474750(223),"onLocatedComplete",_0x474750(340),"regionPicker",_0x474750(208),"calculateRoute","optionsSelect","multiLevelSelect",_0x474750(171),_0x474750(296),_0x474750(300),"offSocketOpen",_0x474750(318),_0x474750(183),_0x474750(351),"offAudioInterruptionEnd",_0x474750(182),_0x474750(152),_0x474750(327),"watchShake",_0x474750(206),"showAuthGuide",_0x474750(334),"getURLQuery","setURLQuery",_0x474750(281),"ai",_0x474750(140),"createAnimationVideo","createLivePlayerContext",_0x474750(154),"getEnvInfoSync",_0x474750(282),_0x474750(260),"requestPolymerPayment",_0x474750(345),_0x474750(317),_0x474750(165),_0x474750(229),"loadSubPackage","reportAnalytics",_0x474750(338),_0x474750(241),_0x474750(254),_0x474750(231),"queryBookshelf",_0x474750(164),_0x474750(143),_0x474750(174),_0x474750(354),"openShare",_0x474750(302),_0x474750(303),_0x474750(156),"openCommunityEditor",_0x474750(273),_0x474750(169),_0x474750(199),_0x474750(230),"deleteresource",_0x474750(310),_0x474750(228),_0x474750(257),_0x474750(301),_0x474750(157),_0x474750(335),_0x474750(167),_0x474750(145)],exports[_0x474750(312)]={qa:"quickapp",wx:_0x474750(173),swan:_0x474750(210),my:_0x474750(204),tt:_0x474750(274)},exports[_0x474750(155)]={qa:{hxml:".qxml",css:".css",hjs:".qjs"},wx:{hxml:".wxml",css:_0x474750(188),hjs:_0x474750(247)},swan:{hxml:_0x474750(135),css:_0x474750(184),hjs:_0x474750(285)},my:{hxml:_0x474750(139),css:_0x474750(153),hjs:_0x474750(285)},tt:{hxml:_0x474750(150),css:_0x474750(352),hjs:_0x474750(285)}},exports[_0x474750(216)]={qa:_0x474750(209),wx:_0x474750(232),swan:"s-",my:"a:",tt:_0x474750(207)},exports[_0x474750(331)]={wx:_0x474750(202),swan:_0x474750(325),my:_0x474750(325),tt:null},exports.configBasenameArray=[_0x474750(297),_0x474750(268)];var configBasename={qa:_0x474750(136),wx:_0x474750(297),swan:"project.swan.json",my:null,tt:_0x474750(297)},addSupportTypes=(exports[_0x474750(178)]={titleBarColor:"navigationBarBackgroundColor",pullRefresh:_0x474750(299),defaultTitle:_0x474750(251)},exports[_0x474750(319)]={textColor:_0x474750(337),items:_0x474750(176)},exports[_0x474750(289)]={name:_0x474750(248),icon:_0x474750(242),activeIcon:_0x474750(262)},{wx:null,swan:null,my:null,tt:["wx"]}),Applets=(()=>{var t=_0x474750;function n(){_classCallCheck(this,n)}return _createClass(n,null,[{key:t(215),get:function(){return n[t(213)]},set:function(e){var o=t;n.resetConfig(e),n[o(213)]=e}},{key:t(259),value:function(e){var o=t;n.configBasename=configBasename[e],n[o(290)]=addSupportTypes[e]}},{key:t(147),value:function(e){var o=t;return new RegExp("^"[o(181)](exports[o(216)][e],".*"))}}])})();exports[_0x474750(201)]=Applets,exports[_0x474750(234)]=[_0x474750(306),_0x474750(179),"touchEnd","touchCancel",_0x474750(195),"longTap"],exports[_0x474750(197)]={swiper:{onAnimationEnd:_0x474750(142)},video:{onLoading:_0x474750(221)},checkbox:{onChange:_0x474750(342)},slider:{"handle-size":_0x474750(227),handleSize:"block-size","handle-color":_0x474750(347),handleColor:"block-color"},map:{polygon:_0x474750(236)}},exports[_0x474750(266)]={view:["onTransitionEnd",_0x474750(160),_0x474750(326),_0x474750(151),_0x474750(323),_0x474750(332),_0x474750(261)],"movable-view":["onChange",_0x474750(277),"onChangeEnd"],"scroll-view":["onScrollToUpper",_0x474750(238),_0x474750(186)],swiper:[_0x474750(198),"onTransition"],"checkbox-group":[_0x474750(198)],form:[_0x474750(329),"onReset"],input:[_0x474750(314),_0x474750(217),_0x474750(189),_0x474750(267)],picker:[_0x474750(198)],"picker-view":["onChange"],"radio-group":[_0x474750(198)],slider:[_0x474750(198),"onChanging"],switch:[_0x474750(198)],textarea:["onInput",_0x474750(217),_0x474750(189),_0x474750(267)],image:[_0x474750(187),_0x474750(175)],video:["onPlay",_0x474750(255),_0x474750(339),"onTimeUpdate",_0x474750(175),_0x474750(288),_0x474750(294),"onStop",_0x474750(149)],map:[_0x474750(341),_0x474750(349),_0x474750(141),_0x474750(343),"onPanelTap"]},exports[_0x474750(295)]={confirm:_0x474750(158),saveImage:_0x474750(253),connectBLEDevice:_0x474750(214),disconnectBLEDevice:_0x474750(333),scan:_0x474750(344),setClipboard:_0x474750(322),getClipboard:"getClipboardData",getSelectedTextRange:_0x474750(190),hideKeyboard:_0x474750(291),compressVideo:_0x474750(271),saveFileToDisk:_0x474750(172),addPhoneRepeatCalendar:_0x474750(239),stopAccelerometer:_0x474750(250)};
@@ -1 +1 @@
1
- function _0x20e3(){var e=["util","transformNodeModuleComponent","appletType","../common/textDocument","versionName","tablebarListItems","concat","copyFile","writeFileSync","tablebarItems","Hello","handleWxssImport","changeAppJsonItem","ascf.config.json","dirname","icon","lib","extname","widgets","display","toLowerCase","length","node_modules","5569192hLTMNA","type","151702WtYiLZ","error","setLanguage","./commonConfig","fileImport","hjs","366kDjxJd","insertStr",".hxml","swan","statSync","../lib/locale.json","createDirs","orientation","createTransformReportFile","versionCode","addSupportTypes","copyConfigFiles","parse","path","Applets",'{"locale": "zh-cn"}',"input","platformFeature","chinese","3586PzEHlS","push","transformWxsFilePath","writeFile","unlinkSync","5ukurfB","readFileSync","css","apiadapter4alipay.js","require('./util/apiadapter4alipay.js');\r\n","isDirectory","usingComponents","tabBar","manifest.json","4083048DiTxdh","packOptions","log","windowItems","projectConfigFile","package","handleWxmlFile","name","output","existsSync","miniprogram_npm","../features/transformReport","mkdirSync","3EJAnZU","create","utf-8","slice","defineProperty","replace","basename","hxml","isArray","srcRootPath","6470INhdiG",".json","indexOf","getImportRules","iconPath","zh-cn","stringify","copyDir",".js","target","app.json","adaptApiFile","substring","getText","join","transformJsFile","setOriginPtahObject","Common",".css","67876shVWrh","miniProgramProject","assign","readdirSync","navigateToMiniProgramAppIdList","toString","replacepos","webUrl","eventTargetKey","__esModule","../parse/importVisitor","isFile","window","3227ybWnEq","appJsonFile","2614220DMlkSm","configBasename","packageName","helloUxStr","forEach","app.js"];return(_0x20e3=function(){return e})()}var _0x4e78cd=_0x3bb9,path=((()=>{for(var e=_0x3bb9,t=_0x20e3();;)try{if(354900==-parseInt(e(537))*(-parseInt(e(507))/2)+-parseInt(e(559))/3*(-parseInt(e(588))/4)+-parseInt(e(476))/5+parseInt(e(513))/6*(parseInt(e(474))/7)+parseInt(e(505))/8+-parseInt(e(546))/9+parseInt(e(569))/10*(parseInt(e(532))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}})(),Object[_0x4e78cd(563)](exports,_0x4e78cd(470),{value:!0}),exports[_0x4e78cd(509)]=exports[_0x4e78cd(580)]=exports.getGlobleOutPutPath=exports[_0x4e78cd(521)]=exports[_0x4e78cd(519)]=exports[_0x4e78cd(550)]=exports[_0x4e78cd(475)]=exports.changeAppJsonItem=exports[_0x4e78cd(489)]=exports[_0x4e78cd(524)]=exports[_0x4e78cd(483)]=exports.handleConfigInfo=exports[_0x4e78cd(576)]=exports.insertStr=exports[_0x4e78cd(467)]=exports.setOriginPtahObject=void 0,require(_0x4e78cd(526))),fs=require("fs"),importVisitor_1=require(_0x4e78cd(471)),_require=require(_0x4e78cd(485)),create=_require[_0x4e78cd(560)],fileHandle_1=require("../features/fileHandle"),commonConfig_1=require(_0x4e78cd(510)),transformReport=require(_0x4e78cd(557)),globleOutPutPath="",thirdComponents=[],originPtahObject={input:"",output:""};function setOriginPtahObject(e,t){var n=_0x4e78cd;thirdComponents=[],originPtahObject[n(529)]=e,originPtahObject[n(554)]=t}function replacepos(e,t,n,o){var i=_0x4e78cd;return e.substring(0,t)+o+e[i(581)](n)}function insertStr(e,t,n){var o=_0x4e78cd;return e.slice(0,t)+n+e[o(562)](t)}function copyDir(e,t){var n=_0x4e78cd,o=2<arguments[n(503)]&&void 0!==arguments[2]&&arguments[2],i=3<arguments[n(503)]&&void 0!==arguments[3]&&arguments[3];try{fs.existsSync(t)||fs[n(558)](t),i?_copyH5Pragram(e,t):_copyMiniPragram(e,t,o)}catch(e){throw e}}function handleConfigInfo(e,t){var n=_0x4e78cd,o=path[n(583)](t,n(545)),i=JSON[n(525)](fs.readFileSync(o,{encoding:n(561)})),i=(i[n(501)].pages[n(492)][n(520)]=e[n(520)],i[n(497)]=i[n(497)]+path.basename(e[n(573)]),i[n(551)]=e[n(478)],i[n(553)]=e.appName,i.versionName=e[n(486)],i[n(522)]=e[n(522)],JSON[n(575)](i,null,2)),o=(fs[n(490)](o,i),path[n(583)](t,n(492),"hello.ux")),i=(i=fs.readFileSync(o,{encoding:n(561)}))[n(564)](n(479),e[n(468)]);fs.writeFileSync(o,i),fs.existsSync(path[n(583)](t,"Common"))||fs[n(558)](path[n(583)](t,n(586))),copyFile(path.join(t,n(586),path[n(565)](e[n(573)])),e.iconPath)}function _copyH5Pragram(i,r){var a=_0x4e78cd;try{fs[a(464)](i)[a(480)](function(e){var t=a,n=path[t(583)](i,e),e=path[t(583)](r,e),o=fs[t(517)](n);o[t(472)]()&&copyFile(e,n),o.isDirectory()&&copyDir(n,e,!1,!0)})}catch(e){throw e}}function _copyMiniPragram(r,a){var c=_0x4e78cd,s=2<arguments[c(503)]&&void 0!==arguments[2]&&arguments[2];try{fs[c(464)](r)[c(480)](function(e){var t=c,n=path.join(r,e),o=path[t(583)](a,e),i=fs[t(517)](n);i[t(472)]()&&(copyFile(o,n),!s)&&dealWithFile(o,n),i[t(542)]()&&n!==t(504)&&n!==t(556)&&(e===t(504)?copyDir(n,path[t(583)](a,t(556)),!0):copyDir(n,o,s))})}catch(e){throw e}}function dealWithFile(t,n){var e=_0x4e78cd,o=2<arguments[e(503)]&&void 0!==arguments[2]?arguments[2]:commonConfig_1.Applets[e(484)],i=path[e(499)](t);switch(i){case e(577):modifyFileContent(t,n,e(577),o);break;case e(570):modifyFileContent(t,n,e(570));break;default:var r=[commonConfig_1[e(527)][e(484)]];(r=commonConfig_1.Applets[e(523)]?r.concat(commonConfig_1[e(527)][e(523)]):r)[e(480)](function(e){dealWithMainFile(t,n,i,e)})}}function dealWithMainFile(e,t,n,o){var i=_0x4e78cd,r=commonConfig_1.projectFileSuffix[o];switch(n){case r[i(566)]:var a=e[i(564)](n,i(515));modifyFile(e,a,r[i(566)],t,o);break;case r[i(539)]:a=e[i(564)](n,i(587));modifyFile(e,a,r.css,null,o);break;case r[i(512)]:if(!r[i(512)])return;a=e[i(564)](n,".hjs");modifyFile(e,a,r[i(512)],t,o)}}function modifyFile(e,t,n,o){var i=_0x4e78cd,r=4<arguments[i(503)]&&void 0!==arguments[4]?arguments[4]:commonConfig_1.Applets[i(484)];try{fs.renameSync(e,t),modifyFileContent(t,o,n,r)}catch(e){throw console[i(508)](e),e}}function modifyFileContent(e,t,n){var o=_0x4e78cd,i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:commonConfig_1[o(527)][o(484)];try{var r,a=fs[o(538)](e,{encoding:o(561)})[o(466)](),c=commonConfig_1.projectFileSuffix[i];switch(n){case c[o(566)]:a=fileHandle_1[o(552)](e,a,t,i),"tt"===i&&(a=fileHandle_1[o(552)](e,a,t,"wx"));break;case c[o(512)]:var s=create(e,a),a=s[o(582)](),p=importVisitor_1[o(572)](a,null,!0,i).filter(function(e){var t=o;return e.type===t(511)});a=fileHandle_1[o(534)](p,s,a,t,i);break;case c[o(539)]:a=fileHandle_1[o(493)](e,a,i),"tt"===i&&(a=fileHandle_1.handleWxssImport(e,a,"wx"));break;case".js":a=fileHandle_1[o(584)](e,t,a,i),"tt"===i&&(a=fileHandle_1.transformJsFile(e,t,a,"wx"));break;case o(570):a&&((r=JSON[o(525)](a))[o(543)]&&handleUsingComponents(r[o(543)]),"my"===commonConfig_1.Applets.appletType&&changeAppJsonItem(r,commonConfig_1[o(549)]),a=JSON[o(575)](r,null,2))}fs[o(490)](e,a)}catch(e){throw e}}function dealWithNodeModuleComponent(n,o){var i=_0x4e78cd,e=fs[i(517)](n);e[i(472)]()&&dealWithFile(n,o),e.isDirectory()&&fs[i(464)](n)[i(480)](function(e){var t=i;dealWithNodeModuleComponent(path[t(583)](n,e),path[t(583)](o,e))})}function transformNodeModuleComponent(){var i=_0x4e78cd;thirdComponents[i(480)](function(e){var t,n=i,o=path[n(583)](originPtahObject[n(554)],n(556),e);fs[n(555)](o)&&(t=path[n(583)](originPtahObject[n(529)],n(556),e),fs.existsSync(t)?dealWithNodeModuleComponent(o,t):dealWithNodeModuleComponent(o,path[n(583)](originPtahObject[n(529)],"node_modules",e)))})}function handleUsingComponents(e){var t,n,o=_0x4e78cd;for(t in e)e[t]&&(n=e[t].split("/"))[0]&&"."!==n[0][0]&&-1===thirdComponents.indexOf(n[0])&&thirdComponents[o(533)](n[0])}function copyConfigFiles(o,i){var r=_0x4e78cd;try{fs[r(464)](o)[r(480)](function(e){var t=r,n=path[t(583)](o,e),e=path[t(583)](i,e);fs[t(517)](n)[t(472)]()&&copyFile(e,n)})}catch(e){throw e}}function copyFile(e,t){var n=_0x4e78cd;fs.writeFileSync(e,fs[n(538)](t))}function changeAppJsonItem(e,t){if(e)for(var n in t)e[n]&&(e[t[n]]=e[n],delete e[n])}function appJsonFile(e,t){var n=_0x4e78cd,o=JSON[n(525)](fs[n(538)](path[n(583)](e,n(579)))[n(466)]()),o=(delete o.package,delete o.name,delete o.versionName,delete o[n(522)],delete o.minPlatformVersion,delete o[n(497)],delete o[n(506)],changeAppJsonItem(o[n(473)],commonConfig_1.windowItems),changeAppJsonItem(o[n(544)],commonConfig_1[n(491)]),o.tabBar&&o[n(544)].list&&o[n(544)].list[n(480)](function(e){changeAppJsonItem(e,commonConfig_1[n(487)])}),Object[n(463)]({},o)),o=(delete o[n(500)],delete o.entry,delete o.debug,delete o[n(465)],-1!==[n(516),"my"][n(571)](commonConfig_1[n(527)][n(484)])&&(o[n(530)]={enableNoDeclareCompProp:!0}),-1!==["my"][n(571)](commonConfig_1[n(527)].appletType)&&(o[n(530)][n(469)]=n(578)),JSON.stringify(o,null,2));fs[n(490)](path[n(583)](e,n(579)),o)}function projectConfigFile(e){var t=_0x4e78cd,n={},o=(commonConfig_1[t(527)].configBasename?fs[t(555)](path.join(e,commonConfig_1[t(527)].configBasename))&&(n=JSON[t(525)](fs.readFileSync(path[t(583)](e,commonConfig_1.Applets[t(477)])).toString())):n={},{ascfRoot:commonConfig_1[t(527)][t(568)],packOptions:{ignore:[]}}),n=(o[t(547)]=n[t(547)],JSON[t(575)](o,null,2));commonConfig_1.Applets[t(477)]&&fs[t(555)](path[t(583)](e,commonConfig_1[t(527)][t(477)]))&&fs[t(536)](path[t(583)](e,commonConfig_1[t(527)].configBasename)),fs[t(535)](path.join(e,t(495)),n,function(e){e&&console[t(548)](e)})}function mkdirsSync(e){var t=_0x4e78cd;return!!fs[t(555)](e)||(mkdirsSync(path[t(496)](e))?(fs[t(558)](e),!0):void 0)}function _0x3bb9(e,t){var n=_0x20e3();return(_0x3bb9=function(e,t){return n[e-=462]})(e,t)}function createDirs(e,t){var n=_0x4e78cd;n(503);fs[n(555)](e)||mkdirsSync(e),fs[n(555)](path[n(583)](e,t))||mkdirsSync(path[n(583)](e,t))}function createTransformReportFile(e,t){var n=_0x4e78cd,e=(globleOutPutPath=path.join(e,"transform.log"),setLanguage(n(462))+t+"\n\n");fs[n(490)](globleOutPutPath,e)}function getGlobleOutPutPath(){return globleOutPutPath}function adaptApiFile(e,t){var n=_0x4e78cd,t=(fs[n(555)](path.join(e,"util"))||fs.mkdirSync(path[n(583)](e,n(482))),copyFile(path[n(583)](e,n(482),n(540)),path.join(t,n(498),n(540))),path[n(583)](e,n(481))),e=fs[n(538)](t,{encoding:n(561)}),e=n(541)[n(488)](e);fs[n(490)](t,e)}exports[_0x4e78cd(585)]=setOriginPtahObject,exports[_0x4e78cd(467)]=replacepos,exports[_0x4e78cd(514)]=insertStr,exports[_0x4e78cd(576)]=copyDir,exports.handleConfigInfo=handleConfigInfo,exports[_0x4e78cd(483)]=transformNodeModuleComponent,exports[_0x4e78cd(524)]=copyConfigFiles,exports[_0x4e78cd(489)]=copyFile,exports[_0x4e78cd(494)]=changeAppJsonItem,exports[_0x4e78cd(475)]=appJsonFile,exports[_0x4e78cd(550)]=projectConfigFile,exports[_0x4e78cd(519)]=createDirs,exports[_0x4e78cd(521)]=createTransformReportFile,exports.getGlobleOutPutPath=getGlobleOutPutPath,exports[_0x4e78cd(580)]=adaptApiFile;var lan=JSON[_0x4e78cd(525)](process.env.VSCODE_NLS_CONFIG||_0x4e78cd(528)).locale[_0x4e78cd(502)](),language=require(_0x4e78cd(518));function setLanguage(e,t){var n,o=_0x4e78cd;return language[e]?(n=lan===o(574)?language[e][o(531)]:language[e].english,Array[o(567)](t)&&t[o(480)](function(e,t){n=n.replace("${"+(t+1)+"}",e)}),n):e}exports[_0x4e78cd(509)]=setLanguage;
1
+ var _0x3c4b94=_0x2397;function _0x24c1(){var e=["transformNodeModuleComponent","hello.ux","output",".json",".hjs","iconPath","338712yvAVAS","mkdirSync",".js","assign","handleWxssImport","939944SGzQKj","835132GfrfTq","lib","handleWxmlFile","../lib/locale.json","setOriginPtahObject","isDirectory","statSync","target","widgets","webUrl","unlinkSync","concat","isArray","createDirs","toLowerCase","basename","addSupportTypes","appJsonFile","entry","versionName","replacepos","stringify","forEach",".hxml","navigateToMiniProgramAppIdList","copyFile","toString","Common","readdirSync","app.js","Applets","join","getImportRules","locale","slice","substring","transformJsFile","VSCODE_NLS_CONFIG","name","fileImport","hjs","windowItems","package","transform.log","1202139FZTxKB","replace","__esModule","node_modules","1315615aalpAE","icon","length","../features/fileHandle","copyConfigFiles","miniprogram_npm","chinese","adaptApiFile","isFile","../parse/importVisitor","tabBar","createTransformReportFile","appletType","indexOf","filter","orientation","window","ascf.config.json","minPlatformVersion","changeAppJsonItem","path","projectConfigFile","app.json","eventTargetKey","writeFileSync","versionCode","insertStr","projectFileSuffix","326452lpTZlC","28TWGPRL","utf-8","existsSync","push","debug","type","210564UeSJMV","list","configBasename","usingComponents","log","tablebarItems","util","getGlobleOutPutPath","srcRootPath","helloUxStr","../common/textDocument","dirname","display","readFileSync","Hello","parse","copyDir","platformFeature","css","create","defineProperty","99ZJFfVj","renameSync","handleConfigInfo",".css","input","english","tablebarListItems"];return(_0x24c1=function(){return e})()}(()=>{for(var e=_0x2397,t=_0x24c1();;)try{if(309866==-parseInt(e(539))+-parseInt(e(580))/2+-parseInt(e(507))/3+-parseInt(e(586))/4+parseInt(e(511))/5+parseInt(e(546))/6*(-parseInt(e(540))/7)+-parseInt(e(585))/8*(-parseInt(e(567))/9))break;t.push(t.shift())}catch(e){t.push(t.shift())}})(),Object[_0x3c4b94(566)](exports,_0x3c4b94(509),{value:!0}),exports.setLanguage=exports.adaptApiFile=exports.getGlobleOutPutPath=exports[_0x3c4b94(522)]=exports[_0x3c4b94(599)]=exports[_0x3c4b94(532)]=exports[_0x3c4b94(603)]=exports[_0x3c4b94(530)]=exports[_0x3c4b94(611)]=exports[_0x3c4b94(515)]=exports[_0x3c4b94(574)]=exports[_0x3c4b94(569)]=exports[_0x3c4b94(562)]=exports.insertStr=exports[_0x3c4b94(606)]=exports.setOriginPtahObject=void 0;var path=require(_0x3c4b94(531)),fs=require("fs"),importVisitor_1=require(_0x3c4b94(520)),_require=require(_0x3c4b94(556)),create=_require[_0x3c4b94(565)],fileHandle_1=require(_0x3c4b94(514)),commonConfig_1=require("./commonConfig"),transformReport=require("../features/transformReport"),globleOutPutPath="",thirdComponents=[],originPtahObject={input:"",output:""};function setOriginPtahObject(e,t){thirdComponents=[],originPtahObject[_0x3c4b94(571)]=e,originPtahObject.output=t}function replacepos(e,t,o,n){var i=_0x3c4b94;return e[i(498)](0,t)+n+e[i(498)](o)}function insertStr(e,t,o){var n=_0x3c4b94;return e[n(497)](0,t)+o+e[n(497)](t)}function copyDir(e,t){var o=_0x3c4b94,n=2<arguments[o(513)]&&void 0!==arguments[2]&&arguments[2],i=3<arguments[o(513)]&&void 0!==arguments[3]&&arguments[3];try{fs[o(542)](t)||fs[o(581)](t),i?_copyH5Pragram(e,t):_copyMiniPragram(e,t,n)}catch(e){throw e}}function handleConfigInfo(e,t){var o=_0x3c4b94,n=path[o(617)](t,"manifest.json"),i=JSON[o(561)](fs[o(559)](n,{encoding:o(541)})),i=(i[o(558)].pages[o(560)][o(526)]=e[o(526)],i[o(512)]=i[o(512)]+path[o(601)](e[o(579)]),i[o(505)]=e.packageName,i.name=e.appName,i.versionName=e[o(605)],i[o(536)]=e[o(536)],JSON[o(607)](i,null,2)),n=(fs.writeFileSync(n,i),path.join(t,"Hello",o(575))),i=(i=fs[o(559)](n,{encoding:o(541)}))[o(508)](o(555),e[o(595)]);fs[o(535)](n,i),fs[o(542)](path[o(617)](t,o(613)))||fs[o(581)](path.join(t,o(613))),copyFile(path[o(617)](t,o(613),path[o(601)](e[o(579)])),e[o(579)])}function _copyH5Pragram(i,a){var r=_0x3c4b94;try{fs[r(614)](i)[r(608)](function(e){var t=r,o=path[t(617)](i,e),e=path[t(617)](a,e),n=fs[t(592)](o);n[t(519)]()&&copyFile(e,o),n.isDirectory()&&copyDir(o,e,!1,!0)})}catch(e){throw e}}function _copyMiniPragram(a,r){var c=_0x3c4b94,s=2<arguments[c(513)]&&void 0!==arguments[2]&&arguments[2];try{fs[c(614)](a)[c(608)](function(e){var t=c,o=path[t(617)](a,e),n=path[t(617)](r,e),i=fs.statSync(o);i[t(519)]()&&(copyFile(n,o),!s)&&dealWithFile(n,o),i[t(591)]()&&o!==t(510)&&"miniprogram_npm"!==o&&(e===t(510)?copyDir(o,path[t(617)](r,t(516)),!0):copyDir(o,n,s))})}catch(e){throw e}}function dealWithFile(t,o){var e=_0x3c4b94,n=2<arguments[e(513)]&&void 0!==arguments[2]?arguments[2]:commonConfig_1[e(616)][e(523)],i=path.extname(t);switch(i){case e(582):modifyFileContent(t,o,e(582),n);break;case".json":modifyFileContent(t,o,e(577));break;default:var a=[commonConfig_1[e(616)][e(523)]];(a=commonConfig_1[e(616)][e(602)]?a.concat(commonConfig_1.Applets[e(602)]):a).forEach(function(e){dealWithMainFile(t,o,i,e)})}}function dealWithMainFile(e,t,o,n){var i=_0x3c4b94,a=commonConfig_1[i(538)][n];switch(o){case a.hxml:var r=e[i(508)](o,i(609));modifyFile(e,r,a.hxml,t,n);break;case a[i(564)]:r=e[i(508)](o,i(570));modifyFile(e,r,a.css,null,n);break;case a[i(503)]:if(!a[i(503)])return;r=e[i(508)](o,i(578));modifyFile(e,r,a[i(503)],t,n)}}function modifyFile(e,t,o,n){var i=_0x3c4b94,a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:commonConfig_1.Applets[i(523)];try{fs[i(568)](e,t),modifyFileContent(t,n,o,a)}catch(e){throw console.error(e),e}}function modifyFileContent(e,t,o){var n=_0x3c4b94,i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:commonConfig_1.Applets[n(523)];try{var a,r=fs[n(559)](e,{encoding:n(541)})[n(612)](),c=commonConfig_1[n(538)][i];switch(o){case c.hxml:r=fileHandle_1[n(588)](e,r,t,i),"tt"===i&&(r=fileHandle_1[n(588)](e,r,t,"wx"));break;case c[n(503)]:var s=create(e,r),r=s.getText(),p=importVisitor_1[n(618)](r,null,!0,i)[n(525)](function(e){var t=n;return e[t(545)]===t(502)});r=fileHandle_1.transformWxsFilePath(p,s,r,t,i);break;case c[n(564)]:r=fileHandle_1[n(584)](e,r,i),"tt"===i&&(r=fileHandle_1.handleWxssImport(e,r,"wx"));break;case n(582):r=fileHandle_1[n(499)](e,t,r,i),"tt"===i&&(r=fileHandle_1.transformJsFile(e,t,r,"wx"));break;case".json":r&&((a=JSON[n(561)](r)).usingComponents&&handleUsingComponents(a[n(549)]),"my"===commonConfig_1[n(616)][n(523)]&&changeAppJsonItem(a,commonConfig_1[n(504)]),r=JSON[n(607)](a,null,2))}fs[n(535)](e,r)}catch(e){throw e}}function dealWithNodeModuleComponent(o,n){var i=_0x3c4b94,e=fs[i(592)](o);e.isFile()&&dealWithFile(o,n),e[i(591)]()&&fs.readdirSync(o)[i(608)](function(e){var t=i;dealWithNodeModuleComponent(path[t(617)](o,e),path[t(617)](n,e))})}function transformNodeModuleComponent(){var i=_0x3c4b94;thirdComponents[i(608)](function(e){var t,o=i,n=path[o(617)](originPtahObject[o(576)],o(516),e);fs[o(542)](n)&&(t=path[o(617)](originPtahObject[o(571)],o(516),e),fs[o(542)](t)?dealWithNodeModuleComponent(n,t):dealWithNodeModuleComponent(n,path[o(617)](originPtahObject.input,o(510),e)))})}function handleUsingComponents(e){var t,o,n=_0x3c4b94;for(t in e)e[t]&&(o=e[t].split("/"))[0]&&"."!==o[0][0]&&-1===thirdComponents[n(524)](o[0])&&thirdComponents[n(543)](o[0])}function copyConfigFiles(n,i){var a=_0x3c4b94;try{fs[a(614)](n)[a(608)](function(e){var t=a,o=path[t(617)](n,e),e=path[t(617)](i,e);fs[t(592)](o)[t(519)]()&&copyFile(e,o)})}catch(e){throw e}}function _0x2397(e,t){var o=_0x24c1();return(_0x2397=function(e,t){return o[e-=496]})(e,t)}function copyFile(e,t){fs[_0x3c4b94(535)](e,fs.readFileSync(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=_0x3c4b94,n=JSON.parse(fs[o(559)](path.join(e,o(533)))[o(612)]()),n=(delete n[o(505)],delete n[o(501)],delete n[o(605)],delete n[o(536)],delete n[o(529)],delete n[o(512)],delete n.type,changeAppJsonItem(n[o(527)],commonConfig_1.windowItems),changeAppJsonItem(n[o(521)],commonConfig_1[o(551)]),n.tabBar&&n[o(521)][o(547)]&&n.tabBar[o(547)].forEach(function(e){changeAppJsonItem(e,commonConfig_1[o(573)])}),Object[o(583)]({},n)),n=(delete n[o(594)],delete n[o(604)],delete n[o(544)],delete n[o(610)],-1!==["swan","my"][o(524)](commonConfig_1[o(616)][o(523)])&&(n.platformFeature={enableNoDeclareCompProp:!0}),-1!==["my"][o(524)](commonConfig_1[o(616)][o(523)])&&(n[o(563)][o(534)]=o(593)),JSON[o(607)](n,null,2));fs[o(535)](path.join(e,o(533)),n)}function projectConfigFile(e){var t=_0x3c4b94,o={},n=(commonConfig_1[t(616)][t(548)]?fs.existsSync(path[t(617)](e,commonConfig_1[t(616)][t(548)]))&&(o=JSON.parse(fs[t(559)](path[t(617)](e,commonConfig_1[t(616)][t(548)]))[t(612)]())):o={},{ascfRoot:commonConfig_1[t(616)][t(554)],packOptions:{ignore:[]}}),o=(n.packOptions=o.packOptions,JSON.stringify(n,null,2));commonConfig_1[t(616)][t(548)]&&fs[t(542)](path.join(e,commonConfig_1[t(616)][t(548)]))&&fs[t(596)](path.join(e,commonConfig_1[t(616)][t(548)])),fs.writeFile(path[t(617)](e,t(528)),o,function(e){e&&console[t(550)](e)})}function mkdirsSync(e){var t=_0x3c4b94;return!!fs[t(542)](e)||(mkdirsSync(path[t(557)](e))?(fs[t(581)](e),!0):void 0)}function createDirs(e,t){var o=_0x3c4b94;o(513);fs[o(542)](e)||mkdirsSync(e),fs[o(542)](path[o(617)](e,t))||mkdirsSync(path[o(617)](e,t))}function createTransformReportFile(e,t){var o=_0x3c4b94(506),e=(globleOutPutPath=path.join(e,o),setLanguage("miniProgramProject")+t+"\n\n");fs.writeFileSync(globleOutPutPath,e)}function getGlobleOutPutPath(){return globleOutPutPath}function adaptApiFile(e,t){var o=_0x3c4b94,t=(fs[o(542)](path[o(617)](e,o(552)))||fs.mkdirSync(path[o(617)](e,o(552))),copyFile(path[o(617)](e,o(552),"apiadapter4alipay.js"),path[o(617)](t,o(587),"apiadapter4alipay.js")),path.join(e,o(615))),e=fs.readFileSync(t,{encoding:o(541)}),e="require('./util/apiadapter4alipay.js');\r\n"[o(597)](e);fs[o(535)](t,e)}exports[_0x3c4b94(590)]=setOriginPtahObject,exports[_0x3c4b94(606)]=replacepos,exports[_0x3c4b94(537)]=insertStr,exports[_0x3c4b94(562)]=copyDir,exports[_0x3c4b94(569)]=handleConfigInfo,exports[_0x3c4b94(574)]=transformNodeModuleComponent,exports[_0x3c4b94(515)]=copyConfigFiles,exports.copyFile=copyFile,exports.changeAppJsonItem=changeAppJsonItem,exports[_0x3c4b94(603)]=appJsonFile,exports[_0x3c4b94(532)]=projectConfigFile,exports.createDirs=createDirs,exports[_0x3c4b94(522)]=createTransformReportFile,exports[_0x3c4b94(553)]=getGlobleOutPutPath,exports[_0x3c4b94(518)]=adaptApiFile;var lan=JSON.parse(process.env[_0x3c4b94(500)]||'{"locale": "zh-cn"}')[_0x3c4b94(496)][_0x3c4b94(600)](),language=require(_0x3c4b94(589));function setLanguage(e,t){var o,n=_0x3c4b94;return language[e]?(o="zh-cn"===lan?language[e][n(517)]:language[e][n(572)],Array[n(598)](t)&&t[n(608)](function(e,t){o=o[n(508)]("${"+(t+1)+"}",e)}),o):e}exports.setLanguage=setLanguage;
@@ -0,0 +1 @@
1
+ var _0xfddd24=_0x127f;function _0x127f(e,r){var n=_0x3f62();return(_0x127f=function(e,r){return n[e-=156]})(e,r)}(()=>{for(var e=_0x127f,r=_0x3f62();;)try{if(272471==-parseInt(e(177))+parseInt(e(160))/2*(parseInt(e(169))/3)+parseInt(e(157))/4+-parseInt(e(171))/5+-parseInt(e(168))/6*(parseInt(e(170))/7)+parseInt(e(167))/8*(parseInt(e(159))/9)+-parseInt(e(173))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var fs=require("fs"),path=require(_0xfddd24(174)),_require=require(_0xfddd24(180)),readJsonFile=_require[_0xfddd24(158)];function _0x3f62(){var e=["srcPath","1972644EQPcfz","readJsonFile","342XXwQlv","1966CrVLjV","oh-package.json5","Output path is not an ASCF project.","resolve","Check success.","error","@atomicservice/ascfapi","53672klyBsT","53304fTikpH","1128UTiWcm","91FcwLhA","1506730NFWYBy","modules","4194290eUvxmW","path","info","dependencies","8973lrhfmb","existsSync","@atomicservice/ascf","../../common/utils"];return(_0x3f62=function(){return e})()}exports.pathValidator=function(e,r){var n,t=_0xfddd24;require("../features/converter.js").checkInputPathFun(e).data.returnCode?(e=path[t(163)](r,"build-profile.json5"),null!=(r=(n=0<(null==(e=fs[t(178)](e)?readJsonFile(e):void 0)||null==(n=e[t(172)])?void 0:n.length)?path[t(163)](r,e.modules[0][t(156)],t(161)):void 0)?readJsonFile(n):void 0)&&r[t(176)]&&(r[t(176)][t(166)]||r.dependencies[t(179)])?console[t(175)](t(164)):console[t(165)](t(162))):console[t(165)]("Input path is not MiniProgram src.")};
@@ -1 +1 @@
1
- var _0x5ac071=_0x3253;function _0x3253(t,e){var r=_0x3bda();return(_0x3253=function(t,e){return r[t-=119]})(t,e)}function _typeof(t){var r=_0x3253;return(_typeof=r(148)==typeof Symbol&&r(126)==typeof Symbol[r(139)]?function(t){return typeof t}:function(t){var e=r;return t&&e(148)==typeof Symbol&&t[e(160)]===Symbol&&t!==Symbol[e(156)]?e(126):typeof t})(t)}function _classCallCheck(t,e){var r=_0x3253;if(!(t instanceof e))throw new TypeError(r(150))}function _defineProperties(t,e){for(var r=_0x3253,n=0;n<e.length;n++){var i=e[n];i[r(152)]=i[r(152)]||!1,i[r(141)]=!0,r(131)in i&&(i.writable=!0),Object[r(153)](t,_toPropertyKey(i[r(128)]),i)}}function _createClass(t,e,r){var n=_0x3253;return e&&_defineProperties(t[n(156)],e),r&&_defineProperties(t,r),Object[n(153)](t,n(156),{writable:!1}),t}function _toPropertyKey(t){t=_toPrimitive(t,_0x3253(149));return"symbol"==_typeof(t)?t:t+""}function _toPrimitive(t,e){var r=_0x3253;if(r(161)!=_typeof(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return(r(149)===e?String:Number)(t);n=n[r(127)](t,e||r(132));if(r(161)!=_typeof(n))return n;throw new TypeError(r(133))}function _0x3bda(){var t=["enumerable","defineProperty","_content","6HLNepu","prototype","1752485JtuqZI","535sWNLsf","833195lVbeQS","constructor","object","75694pkHCwa","positionAt","min","uri","floor","computeLineOffsets","17828BBBsyu","length","5183320xecjeQ","symbol","call","key","line","_uri","value","default","@@toPrimitive must return a primitive value.","getText","getLineOffsets","588233bnbPtG","_lineOffsets","charCodeAt","iterator","exports","configurable","9AxhwCv","character","531GFdivW","max","offsetAt","204tcvtKK","function","string","Cannot call a class as a function","80552EAAqfl"];return(_0x3bda=function(){return t})()}(()=>{for(var t=_0x3253,e=_0x3bda();;)try{if(299968==+parseInt(t(136))+-parseInt(t(162))/2*(-parseInt(t(142))/3)+parseInt(t(123))/4*(-parseInt(t(158))/5)+parseInt(t(155))/6*(parseInt(t(157))/7)+-parseInt(t(151))/8*(-parseInt(t(144))/9)+parseInt(t(125))/10+-parseInt(t(159))/11*(parseInt(t(147))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();var TextDocument=(()=>{var u=_0x3253;return _createClass(function t(e,r){var n=_0x3253;_classCallCheck(this,t),this[n(130)]=e,this[n(154)]=r,this._lineOffsets=void 0},[{key:u(134),value:function(){return this._content}},{key:u(120),value:function(){return this._uri}},{key:u(146),value:function(t){var e,r=u,n=this[r(135)]();return t[r(129)]>=n[r(124)]?this[r(154)][r(124)]:t.line<0?0:(e=n[t[r(129)]],n=t[r(129)]+1<n[r(124)]?n[t[r(129)]+1]:this[r(154)][r(124)],Math[r(145)](Math[r(119)](e+t[r(143)],n),e))}},{key:u(135),value:function(){var t=u;return void 0===this[t(137)]&&(this[t(137)]=this[t(122)](this[t(154)],!0)),this[t(137)]}},{key:"computeLineOffsets",value:function(t,e,r){for(var n=u,i=(void 0===r&&(r=0),e?[r]:[]),a=0;a<t[n(124)];a++){var o=t[n(138)](a);13!==o&&10!==o||(13===o&&a+1<t[n(124)]&&10===t[n(138)](a+1)&&a++,i.push(r+a+1))}return i}},{key:u(163),value:function(t){var e=u,r=(t=Math.max(Math.min(t,this._content.length),0),this.getLineOffsets()),n=0,i=r[e(124)];if(0===i)return{line:0,character:t};for(;n<i;){var a=Math[e(121)]((n+i)/2);r[a]>t?i=a:n=a+1}var o=n-1;return{line:o,character:t-r[o]}}}])})();function create(t,e){return new TextDocument(t,e)}module[_0x5ac071(140)]={create:create};
1
+ function _typeof(t){var r=_0x5b1c;return(_typeof=r(228)==typeof Symbol&&"symbol"==typeof Symbol[r(237)]?function(t){return typeof t}:function(t){var e=r;return t&&"function"==typeof Symbol&&t[e(220)]===Symbol&&t!==Symbol[e(234)]?e(216):typeof t})(t)}function _classCallCheck(t,e){var r=_0x5b1c;if(!(t instanceof e))throw new TypeError(r(233))}function _0x5b1c(t,e){var r=_0x4a11();return(_0x5b1c=function(t,e){return r[t-=200]})(t,e)}function _defineProperties(t,e){for(var r=_0x5b1c,n=0;n<e[r(212)];n++){var i=e[n];i.enumerable=i.enumerable||!1,i[r(235)]=!0,r(226)in i&&(i[r(219)]=!0),Object[r(218)](t,_toPropertyKey(i[r(204)]),i)}}function _createClass(t,e,r){var n=_0x5b1c;return e&&_defineProperties(t[n(234)],e),r&&_defineProperties(t,r),Object.defineProperty(t,n(234),{writable:!1}),t}function _0x4a11(){var t=["2292820RhNsRy","value","540918BNrlZl","function","character","computeLineOffsets","string","getLineOffsets","Cannot call a class as a function","prototype","configurable","3522925wMLhwC","iterator","positionAt","default","max","124krcNdW","line","charCodeAt","key","uri","object","_lineOffsets","1228554OkKjqx","toPrimitive","51069jMyfSf","call","length","min","_uri","getText","symbol","_content","defineProperty","writable","constructor","908802cMRlxw","56zngHcm","floor","865994eYCKSN"];return(_0x4a11=function(){return t})()}function _toPropertyKey(t){var e=_0x5b1c,t=_toPrimitive(t,"string");return e(216)==_typeof(t)?t:t+""}function _toPrimitive(t,e){var r=_0x5b1c;if(r(206)!=_typeof(t)||!t)return t;var n=t[Symbol[r(209)]];if(void 0===n)return(r(231)===e?String:Number)(t);n=n[r(211)](t,e||r(239));if(r(206)!=_typeof(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(()=>{for(var t=_0x5b1c,e=_0x4a11();;)try{if(288438==+parseInt(t(227))+parseInt(t(224))/2+-parseInt(t(210))/3*(parseInt(t(201))/4)+-parseInt(t(225))/5+-parseInt(t(221))/6+-parseInt(t(236))/7+parseInt(t(222))/8*(parseInt(t(208))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}})();var TextDocument=(()=>{var c=_0x5b1c;return _createClass(function t(e,r){var n=_0x5b1c;_classCallCheck(this,t),this._uri=e,this._content=r,this[n(207)]=void 0},[{key:c(215),value:function(){return this[c(217)]}},{key:c(205),value:function(){return this[c(214)]}},{key:"offsetAt",value:function(t){var e,r=c,n=this[r(232)]();return t[r(202)]>=n[r(212)]?this._content.length:t.line<0?0:(e=n[t[r(202)]],n=t[r(202)]+1<n.length?n[t.line+1]:this[r(217)][r(212)],Math[r(200)](Math.min(e+t[r(229)],n),e))}},{key:c(232),value:function(){var t=c;return void 0===this[t(207)]&&(this._lineOffsets=this[t(230)](this[t(217)],!0)),this[t(207)]}},{key:c(230),value:function(t,e,r){for(var n=c,i=(void 0===r&&(r=0),e?[r]:[]),o=0;o<t[n(212)];o++){var a=t[n(203)](o);13!==a&&10!==a||(13===a&&o+1<t[n(212)]&&10===t[n(203)](o+1)&&o++,i.push(r+o+1))}return i}},{key:c(238),value:function(t){var e=c,r=(t=Math[e(200)](Math[e(213)](t,this._content.length),0),this[e(232)]()),n=0,i=r[e(212)];if(0===i)return{line:0,character:t};for(;n<i;){var o=Math[e(223)]((n+i)/2);r[o]>t?i=o:n=o+1}var a=n-1;return{line:a,character:t-r[a]}}}])})();function create(t,e){return new TextDocument(t,e)}module.exports={create:create};