@atomicservice/ascf-toolkit 1.0.3-beta.6 → 1.0.4-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.
- package/lib/ascf-build-npm/build-npm.js +1 -0
- package/lib/ascf-compiler/appjson-loader.js +1 -1
- package/lib/ascf-compiler/common/appjson-validator.js +1 -1
- package/lib/ascf-compiler/common/css-runtime-api.js +1 -1
- package/lib/ascf-compiler/common/eventHappenHjs.js +1 -0
- package/lib/ascf-compiler/common/exp-utils.js +1 -1
- package/lib/ascf-compiler/common/fixComponentName.js +1 -1
- package/lib/ascf-compiler/common/hash-sum.js +1 -1
- package/lib/ascf-compiler/common/hjs-utils.js +1 -1
- package/lib/ascf-compiler/common/hxml-validator.js +1 -1
- package/lib/ascf-compiler/common/logUndefined.js +1 -1
- package/lib/ascf-compiler/common/merge-tpl-cmps.js +1 -0
- package/lib/ascf-compiler/common/packoptions-utils.js +1 -1
- package/lib/ascf-compiler/common/quick-generate-subpackage.js +1 -0
- package/lib/ascf-compiler/common/utils.js +1 -1
- package/lib/ascf-compiler/css-process-loader.js +1 -1
- package/lib/ascf-compiler/extract-loader.js +1 -1
- package/lib/ascf-compiler/hcss-loader.js +1 -1
- package/lib/ascf-compiler/hjs-loader.js +1 -1
- package/lib/ascf-compiler/hxml-loader.js +1 -1
- package/lib/ascf-compiler/js-parser/parser-babel.js +1 -0
- package/lib/ascf-compiler/js-parser/parser-swc.js +1 -0
- package/lib/ascf-compiler/js-parser/parser.js +1 -0
- package/lib/ascf-compiler/loader-utils.js +1 -1
- package/lib/ascf-compiler/path-process-loader.js +1 -1
- package/lib/ascf-compiler/plugin/copy-bundle-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/extConfig-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/html-generator-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/i18n-transform-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/manifest-generator-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/replace-module-id-plugin.js +1 -0
- package/lib/ascf-compiler/plugin/resource-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/webpack-target/index.js +1 -1
- package/lib/ascf-compiler/plugin/webpack-target/jsonpChunkLoadingRuntimeModule.js +1 -1
- package/lib/ascf-compiler/plugin/webpack-target/jsonpHelpers.js +1 -1
- package/lib/ascf-compiler/plugin/webpack-target/jsonpTemplatePlugin.js +1 -1
- package/lib/ascf-compiler/require-loader.js +1 -0
- package/lib/ascf-compiler/swc-loader.js +1 -1
- package/lib/ascf-compiler/template/attr-utils.js +1 -1
- package/lib/ascf-compiler/template/implicit-model-config.js +1 -0
- package/lib/ascf-compiler/template/node-name-utils.js +1 -1
- package/lib/ascf-compiler/trustlist-hxml-verify-loader.js +1 -1
- package/lib/ascf-compiler/trustlist-js-verify-loader.js +1 -1
- package/lib/ascf-compiler/trustlist-verify/config.js +1 -1
- package/lib/ascf-compiler/trustlist-verify/utils.js +1 -1
- package/lib/ascf-compiler/trustlist-verify/verify-ignore-files.js +1 -0
- package/lib/ascf-compiler/vue-compiler/vue.bundle.js +1 -1
- package/lib/ascf-compiler/watch/watch.js +1 -1
- package/lib/ascf-compiler/web.webpack.config.js +1 -1
- package/lib/ascf-converter/common/commonConfig.js +1 -1
- package/lib/ascf-converter/common/commonUtils.js +1 -1
- package/lib/ascf-converter/common/path-validator.js +1 -1
- package/lib/ascf-converter/common/textDocument.js +1 -1
- package/lib/ascf-converter/compiler-utils/parse5.bundle.js +1 -1
- package/lib/ascf-converter/features/converter.js +1 -1
- package/lib/ascf-converter/features/fileHandle.js +1 -1
- package/lib/ascf-converter/features/transformReport.js +1 -1
- package/lib/ascf-converter/lib/apiadapter4alipay.js +1 -1
- package/lib/ascf-converter/parse/babelParser.js +1 -1
- package/lib/ascf-converter/parse/importVisitor.js +1 -1
- package/lib/ascf-converter/parse/wxssParser.js +1 -1
- package/lib/bin/ascf.js +1 -1
- package/lib/common/config.js +1 -1
- package/lib/common/log4js.js +1 -1
- package/lib/common/logger-plugin.js +1 -1
- package/lib/common/remove-strict-mode-plugin.js +1 -1
- package/lib/common/string-utils.js +1 -0
- package/lib/common/url.json +3 -0
- package/lib/common/utils.js +1 -1
- package/lib/common/version-check.js +1 -1
- package/lib/index.d.ts +5 -1
- package/lib/index.js +1 -1
- package/notice/openSourceSoftwareNotice.docx +0 -0
- package/package.json +15 -51
- package/lib/ascf-compiler/common/parser-babel.js +0 -1
- package/lib/ascf-compiler/common/parser-swc.js +0 -1
- package/lib/ascf-compiler/common/parser.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x26e251=_0x23b9;function _typeof(e){var t=_0x23b9;return(_typeof=t(451)==typeof Symbol&&t(394)==typeof Symbol[t(407)]?function(e){return typeof e}:function(e){var r=t;return e&&r(451)==typeof Symbol&&e[r(414)]===Symbol&&e!==Symbol[r(437)]?r(394):typeof e})(e)}function ownKeys(t,e){var r,n=_0x23b9,o=Object[n(453)](t);return Object[n(371)]&&(r=Object[n(371)](t),e&&(r=r[n(383)](function(e){var r=n;return Object.getOwnPropertyDescriptor(t,e)[r(379)]})),o.push[n(326)](o,r)),o}function _objectSpread(t){for(var n=_0x23b9,e=1;e<arguments[n(399)];e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(o),!0).forEach(function(e){_defineProperty(t,e,o[e])}):Object[n(404)]?Object[n(361)](t,Object[n(404)](o)):ownKeys(Object(o))[n(393)](function(e){var r=n;Object[r(339)](t,e,Object[r(370)](o,e))})}return t}function _defineProperty(e,r,t){var n=_0x23b9;return(r=_toPropertyKey(r))in e?Object[n(339)](e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(e){e=_toPrimitive(e,_0x23b9(449));return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,r){var t=_0x23b9;if(t(376)!=_typeof(e)||!e)return e;var n=e[Symbol[t(408)]];if(void 0===n)return(t(449)===r?String:Number)(e);n=n[t(462)](e,r||t(329));if(t(376)!=_typeof(n))return n;throw new TypeError(t(381))}function _createForOfIteratorHelper(e,r){var t,n,o,a,i=_0x23b9,s=i(422)!=typeof Symbol&&e[Symbol[i(407)]]||e[i(398)];if(s)return o=!(n=!0),{s:function(){s=s[i(462)](e)},n:function(){var e=i,r=s.next();return n=r[e(356)],r},e:function(e){o=!0,t=e},f:function(){try{n||null==s.return||s.return()}finally{if(o)throw t}}};if(Array[i(391)](e)||(s=_unsupportedIterableToArray(e))||r&&e&&i(448)==typeof e[i(399)])return s&&(e=s),a=0,{s:r=function(){},n:function(){return a>=e[i(399)]?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r};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 _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x23b9(405))}function _unsupportedIterableToArray(e,r){var t,n=_0x23b9;if(e)return n(449)==typeof e?_arrayLikeToArray(e,r):(t={}.toString.call(e)[n(349)](8,-1),n(443)===t&&e[n(414)]&&(t=e[n(414)][n(458)]),n(331)===t||n(369)===t?Array[n(347)](e):n(324)===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(348)](t)?_arrayLikeToArray(e,r):void 0)}function _iterableToArray(e){var r=_0x23b9;if(r(422)!=typeof Symbol&&null!=e[Symbol[r(407)]]||null!=e[r(398)])return Array[r(347)](e)}function _0x23b9(e,r){var t=_0x5058();return(_0x23b9=function(e,r){return t[e-=311]})(e,r)}function _arrayWithoutHoles(e){if(Array[_0x23b9(391)](e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}(()=>{for(var e=_0x23b9,r=_0x5058();;)try{if(112638==-parseInt(e(454))+-parseInt(e(374))/2+parseInt(e(403))/3*(-parseInt(e(372))/4)+-parseInt(e(367))/5+parseInt(e(373))/6*(-parseInt(e(467))/7)+-parseInt(e(468))/8+parseInt(e(396))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var vm=require("vm"),fs=require("fs"),path=require(_0x26e251(345)),loaderUtils=require(_0x26e251(470)),sourceMap=require(_0x26e251(380)),expUtils=require(_0x26e251(320)),_require=require(_0x26e251(312)),readJsonFile=_require.readJsonFile,_toString=Object[_0x26e251(437)][_0x26e251(368)],OBJECT_STRING="[object Object]",REGEXP_LINE=/\r?\n/g,join=function(){return path[_0x26e251(323)].apply(path,arguments)},relative=function(e,r){return path.relative(e,r)},cssProcessorType=[_0x26e251(473),_0x26e251(378),_0x26e251(344),_0x26e251(472),_0x26e251(417)],CSS_LANG_ALIAS={styl:_0x26e251(378),scss:"sass"};function extend(e){for(var r=_0x26e251,t=arguments[r(399)],n=new Array(1<t?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=n;if(r(451)===typeof Object[r(464)])Object[r(464)][r(326)](Object,[e][r(440)](a));else{var i,s=a[r(382)]();for(i in s)Object[r(437)][r(338)][r(462)](s,i)&&(e[i]=s[i]);a[r(399)]&&extend.apply(void 0,[e].concat(a))}return e}function merge(e){for(var r=_0x26e251,t=e,n=arguments[r(399)],o=new Array(1<n?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return o.length&&o[r(393)](function(e){t=t[r(440)](e)}),t}function hyphenedToCamelCase(e){var t=_0x26e251;return e[t(328)](/-([a-z])/g,function(e,r){return r[t(354)]()})}function camelCaseToHyphened(e){return e.replace(/([A-Z])/g,function(e,r){return"-"[_0x23b9(440)](r.toLowerCase())})}function getNameByPath(e){var r=_0x26e251;return path.basename(e)[r(328)](/\..*$/,"")}function isEmptyObject(e){var r,t=_0x26e251;if(e)for(r in e)if(Object.prototype.hasOwnProperty[t(462)](e,r))return!1;return!0}function isPlainObject(e){return _toString.call(e)===OBJECT_STRING}function getLoaderModule(e){var r=_0x26e251,t=path.join(__dirname,"..","..",".."),n=readJsonFile(path.join(t,r(386)))[r(458)],n=(n!==r(400)&&n.includes("/")&&(t=path[r(323)](t,"..")),path[r(434)](t,"node_modules",e)),n=fs.existsSync(n)?n:path.resolve(t,"..","..",e);return fs[r(432)](n)?n:e}function getFilenameByPath(e){return path[_0x26e251(446)](".",e)}function _0x5058(){var e=["path","source","from","test","slice","hyphenedToCamelCase","setPrototypeOf","equals","prohibitedKeywordRE","toUpperCase","getLoaderModule","done"," is not a map.","reason","-column-0","[object Undefined]","defineProperties","isEmptyStr","filePath","has","extend","value","832875MTrAUI","toString","Set","getOwnPropertyDescriptor","getOwnPropertySymbols","4EWCEsk","372tmDVmu","28366AkgSSE",".js","object","statSync","stylus","enumerable","source-map","@@toPrimitive must return a primitive value.","shift","filter","random","defUnfreezeProperty","package.json","splitAttr","isFileExist","split","[\"']","isArray","css","forEach","symbol","isEmptyObject","8786871CCxirQ","../extract-loader","@@iterator","length","@atomicservice/ascf-toolkit","get","mkdirSync","542637iGnmJV","getOwnPropertyDescriptors","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","$ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz","iterator","toPrimitive","trim","\n@ ","push",'ERROR: Unexpected JavaScript keyword as property name: "',"ERROR: Babel parse error occurred. Invalid attribute value : ","constructor","start","makeRequireString","scss","query","logWarn","FUNC_START","../css-process-loader","undefined","getFilenameByPath","-loader","ERROR","/index","reduce","stripStringRE","line","mergeMap","set","existsSync","#####FUNC_START#####","resolve","splitSourceLine",'", please change it.',"prototype","match","generateCodeFrame","concat","defFreezeProperty","resourcePath","Object","originalPositionFor","map","relative","genUid","number","string","endsWith","function","loc","keys","185166XrfntY","miniprogram_npm","end","FUNC_END_REG","name","flat","column","FUNC_END","call","isPlainTextEqual","assign","mkdirsSync","line-","14392HKUEyU","1515248MWuyYx","require(","../loader-utils",".json","sass","styl","getNameByPath","../../common/utils","isPlainObject","deepClone","compose","#####FUNC_END#####","ATTR","[object Null]","array","./exp-utils","readFileSync","getComponentCssPath","join","Arguments","sourcesContent","apply","stringifyFunction","replace","default","FUNC_START_REG","Map","Error: Module Not Found: ","../hcss-loader","[object Map]","startsWith","&","includes","hasOwnProperty","defineProperty","isFile"," is not a function","isExp","stringifyRequest","less"];return(_0x5058=function(){return e})()}function stringifyFunction(e,r){var t=_0x26e251;return"function"==typeof r?exports[t(420)]+r[t(368)]()+exports[t(461)]:r}function logWarn(a,e){var i=_0x26e251,s=a.emitError,u=a.emitWarning;e&&0<e[i(399)]&&e.forEach(function(e){var r=i,t=e[r(452)],n=e.trigger,n=void 0===n?r(317):n,o=e[r(358)],e=e[r(363)],e=void 0===e?a[r(442)]:e,n=generateCodeFrame(fs[r(321)](e)[r(368)](),n,t),t="".concat(o,r(410))[r(440)](e)[r(440)](n,"\n");(o[r(335)](r(425))?s:u)(t)})}function generateCodeFrame(e,r,t){var n=_0x26e251;if(!t)return"";var o=t[n(415)],t=t.attrStart,a=(n(456),e[n(389)](/\r?\n/));r===n(317)&&(o=t||o);for(var i=(e.slice(0,o)[n(438)](/\r|\n/g)||[])[n(399)],s=1;s<=a.length;s++){var u=a[n(349)](0,s)[n(323)]("")[n(399)]+i;if(o<u)return":"[n(440)](s,":")[n(440)](o-u+a[s-1][n(399)]+1)}}function makeRequireString(e,r,t){var n=_0x26e251;return n(469)+"".concat(loaderUtils[n(343)](e,r?"!!"[n(440)](r,"!")[n(440)](t):"".concat(t)),")\n")}function stringifyLoaders(e){var s=_0x26e251;return e[s(445)](function(e){var r=s;if(r(449)===typeof e)return e;var t=e[r(458)],n=[];if(e[r(418)])for(var o in e[r(418)])if(Object[r(437)].hasOwnProperty[r(462)](e[r(418)],o)){var a=e[r(418)][o];if(null!=a)if(!0===a)n.push(o);else if(a instanceof Array)for(var i in a)Object[r(437)][r(338)][r(462)](a,i)&&n[r(411)]("".concat(o,"[]=")[r(440)](a[i]));else n[r(411)](""[r(440)](o,"=").concat(a))}return n[r(399)]?""[r(440)](t,"?")[r(440)](n[r(323)]("&")):t})[s(323)]("!")}function consumeMap(e,r,t){var n=_0x26e251,o=new sourceMap.SourceMapConsumer(t),a=void 0,i=[],s=[],u={};return splitSourceLine(r).forEach(function(e,r){var t=_0x23b9,r=r+1,n=o[t(444)]({line:r,column:0});n.source&&(a=n[t(346)],i[t(411)]({line:n[t(429)],column:n[t(460)]}),s[t(411)]({line:r,column:0}),u[t(466)[t(440)](r,t(359))]={line:n.line,column:n[t(460)]})}),{source:a,original:i,generated:s,mapping:u,sourcesContent:o[n(325)]}}function splitSourceLine(e){return e.split(REGEXP_LINE)}function splitAttr(t,e,r){var n=_0x26e251,o=e[n(389)](/\s+/);if(o)switch(o.length){case 1:r[n(393)](function(e){t[e]=o[0]});break;case 2:r[n(393)](function(e,r){t[e]=r%2?o[1]:o[0]});break;case 3:r[n(393)](function(e,r){t[e]=r%2?o[1]:o[r]});break;default:r.forEach(function(e,r){t[e]=o[r]})}}function isValidValue(e){return"number"==typeof e||_0x26e251(449)===typeof e}function equals(e,r,t){var n=_0x26e251;if(t){for(var o=arguments[n(399)],a=new Array(3<o?o-3:0),i=3;i<o;i++)a[i-3]=arguments[i];if(t.apply(void 0,[e,r][n(440)](a)))return!0}var s=Object[n(437)].toString[n(462)](e);if(s!==Object[n(437)][n(368)].call(r))return!1;if(n(318)!==s&&n(360)!==s){if("[object Object]"!==s&&"[object Array]"!==s)return Object(e).toString()===Object(r)[n(368)]();for(var u={},c=(Object[n(453)](e)[n(393)](function(e){return u[e]=!0}),Object.keys(r)[n(393)](function(e){return u[e]=!0}),Object[n(453)](u)),f=0;f<c[n(399)];f++){var p=c[f];if(!equals(e[p],r[p],t,p))return!1}}return!0}function mkdirsSync(e){var r,t=_0x26e251;fs[t(432)](e)&&fs[t(377)](e).isDirectory()||(r=path[t(323)](e,".."),fs[t(432)](r)&&!fs[t(377)](r)[t(340)]()||mkdirsSync(r),fs[t(402)](e))}exports.getProjectAbsPath=function(e,r,t){var n=_0x26e251;return/^\.?\.\//.test(e)?relative(t,join(r,"..",e))[n(328)](/\\/g,"/"):/^\//.test(e)?e[n(349)](1)[n(328)](/\\/g,"/"):(r=join(r,"..",e),fs[n(432)](r)||fs[n(432)](""[n(440)](r,".json"))?relative(t,r).replace(/\\/g,"/"):e[n(328)](/\\/g,"/"))},exports.uniqueSymmetricDifference=function(e,r){return _toConsumableArray(e.filter(function(e){return!r[_0x23b9(337)](e)}))},exports[_0x26e251(447)]=function(e){for(var r=_0x26e251,t=r(406),n=[],o=0;o<e;o++)n[o]=t.charAt(Math[r(384)]()*t[r(399)]);return n[r(323)]("")};var attchIndexPostfix=function(e,r){var t=_0x26e251,n=2<arguments[t(399)]&&void 0!==arguments[2]?arguments[2]:".json";if(fs[t(432)](""[t(440)](e,"/"))){if(fs[t(377)](e).isDirectory()){for(var o=0,a=["".concat(e,t(426)).concat(n),""[t(440)](e,"/src/index")[t(440)](n)];o<a[t(399)];o++){var i=a[o];if(fs.existsSync(i))return{filePath:i,fixEntryPath:relative(r,i)[t(328)](/\\/g,"/").replace(/\.json$/,"")}}throw t(332)[t(440)](e)}if(!fs[t(432)](e))throw"ERROR: Can not resolve file : "[t(440)](e)}};function removeBindingFix(e){return e[_0x26e251(328)](/\s*({\s*{\s*{?)|(}\s*}\s*}?)\s*/g,"")}function isExp(e){var r=_0x26e251;return!!e&&/{{{(.+?)}}}|{{(.+?)}}/.test(e[r(368)]()[r(328)](/(\n)|(\r)/g,""))}exports[_0x26e251(388)]=function(e){var r=_0x26e251;return fs[r(432)](e)||fs[r(432)](""[r(440)](e,r(375)))||fs.existsSync(""[r(440)](e,r(471)))},exports.getAbsPath=function(e,r,t){var n=_0x26e251,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"",r=(o&&!e[n(450)](o)&&(e+=o),join(r,"..",e)[n(328)](/\\/g,"/")),a=join(t,e)[n(328)](/\\/g,"/"),i=join(t,n(455),e).replace(/\\/g,"/");if(/^\//[n(348)](e))return{filePath:a};if(/^\.?\.\//[n(348)](e))return{filePath:r};for(var s=0,u=[r,a,i];s<u[n(399)];s++){var c=u[s];if(fs.existsSync(c))return{filePath:c};c=attchIndexPostfix(c[n(328)](o,""),t,o);if(c)return c}return{filePath:e}},exports[_0x26e251(322)]=function(e){var r,t=_0x26e251,n=_createForOfIteratorHelper(cssProcessorType[t(440)](t(392)));try{for(n.s();!(r=n.n())[t(356)];){var o=r[t(366)],a=""[t(440)](e,".")[t(440)](o);if(fs.existsSync(a))return a[t(328)](/\\/g,"/")}}catch(e){n.e(e)}finally{n.f()}return null},exports.createCSSRule=function(){var n=_0x26e251,o={test:/\.q?css$/,type:"javascript/auto",use:[{loader:path[n(434)](__dirname,n(333))},{loader:path.resolve(__dirname,n(397))},{loader:path.resolve(__dirname,n(421))}]},a=o.use,i=[o];return cssProcessorType.map(function(e){return{test:new RegExp("\\."[n(440)](e,"$")),lang:e}})[n(393)](function(e){var r=n,t=e[r(348)],e=e.lang;i[r(411)](_objectSpread(_objectSpread({},o),{},{test:t,use:[][r(440)](_toConsumableArray(a),[{loader:getLoaderModule("".concat(CSS_LANG_ALIAS[e]||e,r(424)))}])}))}),i},exports[_0x26e251(362)]=function(e){return!0!==e&&!e[_0x26e251(328)](/\s/g,"")},exports.transformHtmlUnicodeAmp=function(e){var r=_0x26e251;return e[r(328)](/&(?=amp;|apos;|lt;|gt;|ensp;|emsp;|nbsp;)/g,r(336))},exports[_0x26e251(314)]=function(e){var r,t,n=_0x26e251,o=1<arguments[n(399)]&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(o[n(364)](e))return o[n(401)](e);if(Array[n(391)](e))r=[],t=n(319);else{if(!e||_typeof(e)!==n(376))return e;r={},t="object"}if(o[n(431)](e,r),t===n(376))for(var a in e)Object[n(437)][n(338)][n(462)](e,a)&&(r[a]=this[n(314)](e[a],o));if("array"===t)for(var i=0;i<e.length;i++)r[n(411)](this[n(314)](e[i],o));return r},exports[_0x26e251(315)]=function(e){for(var n=_0x26e251,r=arguments.length,t=new Array(1<r?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];return t[n(427)](function(e,r){var t=n;if(typeof r!==t(451))throw new TypeError(""[t(440)](r,t(341)));return r(e)},e)},exports.inherit=function(e,r){var t=_0x26e251;e.prototype=Object.create(r[t(437)]),Object[t(339)](e[t(437)],t(414),{value:e,enumerable:!0,configurable:!0,writable:!1}),Object[t(351)](e,r)},exports[_0x26e251(441)]=function(e,r,t){Object.defineProperty(e,r,{writable:!1,configurable:!1,value:t})},exports[_0x26e251(385)]=function(e,r,t){Object[_0x26e251(339)](e,r,{writable:!0,configurable:!0,value:t})},exports[_0x26e251(463)]=function(e,r){var t=_0x26e251;return e[t(409)]()===r[t(409)]()},exports[_0x26e251(430)]=function(e){var n=_0x26e251,r=new Map;return e[n(427)](function(t,e){var r=n;if(_toString.call(e)!==r(334))throw new TypeError(""[r(440)](e,r(357)));return e[r(393)](function(e,r){return t.set(r,e)}),t},r)},exports[_0x26e251(459)]=function(e){var n=_0x26e251,o=this,a=1<arguments[n(399)]&&void 0!==arguments[1]?arguments[1]:1;return 0===a?e:e[n(427)](function(e,r){var t=n;return Array[t(391)](r)?r[t(399)]?[][t(440)](_toConsumableArray(e),_toConsumableArray(o[t(459)](r,--a))):e:[][t(440)](_toConsumableArray(e),[r])},[])},exports.checkExpression=function(r,t){var n=_0x26e251;try{vm.runInThisContext(r)}catch(e){var o=r[n(328)](expUtils[n(428)],"")[n(438)](expUtils[n(353)]);o?t.buildLog[n(411)]({reason:n(412)[n(440)](o[0],n(436))}):t.buildLog.push({reason:n(413)[n(440)](r)})}},Object[_0x26e251(339)](exports,"__esModule",{value:!0}),exports[_0x26e251(420)]=_0x26e251(433),exports[_0x26e251(461)]=_0x26e251(316),exports[_0x26e251(330)]=new RegExp("[\"']"[_0x26e251(440)](exports.FUNC_START),"g"),exports[_0x26e251(457)]=new RegExp(""[_0x26e251(440)](exports[_0x26e251(461)],_0x26e251(390)),"g"),exports[_0x26e251(365)]=extend,exports.merge=merge,exports[_0x26e251(350)]=hyphenedToCamelCase,exports.camelCaseToHyphened=camelCaseToHyphened,exports[_0x26e251(311)]=getNameByPath,exports[_0x26e251(395)]=isEmptyObject,exports[_0x26e251(313)]=isPlainObject,exports[_0x26e251(355)]=getLoaderModule,exports[_0x26e251(423)]=getFilenameByPath,exports[_0x26e251(327)]=stringifyFunction,exports[_0x26e251(419)]=logWarn,exports[_0x26e251(439)]=generateCodeFrame,exports[_0x26e251(416)]=makeRequireString,exports.stringifyLoaders=stringifyLoaders,exports.consumeMap=consumeMap,exports[_0x26e251(465)]=mkdirsSync,exports[_0x26e251(435)]=splitSourceLine,exports[_0x26e251(387)]=splitAttr,exports.isValidValue=isValidValue,exports.removeBindingFix=removeBindingFix,exports[_0x26e251(342)]=isExp,exports[_0x26e251(352)]=equals,exports[_0x26e251(446)]=relative;
|
|
1
|
+
var _0x123bbb=_0x5149;function _typeof(e){var t=_0x5149;return(_typeof=t(291)==typeof Symbol&&t(300)==typeof Symbol[t(235)]?function(e){return typeof e}:function(e){var r=t;return e&&"function"==typeof Symbol&&e[r(266)]===Symbol&&e!==Symbol[r(225)]?"symbol":typeof e})(e)}function ownKeys(t,e){var r,n=_0x5149,o=Object[n(346)](t);return Object.getOwnPropertySymbols&&(r=Object[n(198)](t),e&&(r=r[n(202)](function(e){var r=n;return Object.getOwnPropertyDescriptor(t,e)[r(204)]})),o.push[n(320)](o,r)),o}function _0x5149(e,r){var t=_0x52f5();return(_0x5149=function(e,r){return t[e-=190]})(e,r)}function _objectSpread(t){for(var n=_0x5149,e=1;e<arguments[n(241)];e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(o),!0)[n(271)](function(e){_defineProperty(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object[n(218)](t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o))[n(271)](function(e){var r=n;Object.defineProperty(t,e,Object[r(267)](o,e))})}return t}function _defineProperty(e,r,t){var n=_0x5149;return(r=_toPropertyKey(r))in e?Object[n(272)](e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(e){var r=_0x5149,e=_toPrimitive(e,r(233));return r(300)==_typeof(e)?e:e+""}function _toPrimitive(e,r){var t=_0x5149;if(t(288)!=_typeof(e)||!e)return e;var n=e[Symbol[t(258)]];if(void 0===n)return("string"===r?String:Number)(e);n=n[t(287)](e,r||t(215));if("object"!=_typeof(n))return n;throw new TypeError(t(269))}function _createForOfIteratorHelper(e,r){var t,n,o,a,i=_0x5149,b=i(310)!=typeof Symbol&&e[Symbol[i(235)]]||e[i(199)];if(b)return o=!(n=!0),{s:function(){b=b[i(287)](e)},n:function(){var e=i,r=b[e(295)]();return n=r[e(354)],r},e:function(e){o=!0,t=e},f:function(){var e=i;try{n||null==b[e(256)]||b[e(256)]()}finally{if(o)throw t}}};if(Array[i(319)](e)||(b=_unsupportedIterableToArray(e))||r&&e&&i(216)==typeof e.length)return b&&(e=b),a=0,{s:r=function(){},n:function(){return a>=e[i(241)]?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:r};throw new TypeError(i(342))}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x5149(299))}function _unsupportedIterableToArray(e,r){var t,n=_0x5149;if(e)return n(233)==typeof e?_arrayLikeToArray(e,r):("Object"===(t={}[n(331)][n(287)](e)[n(326)](8,-1))&&e[n(266)]&&(t=e[n(266)][n(210)]),n(206)===t||n(335)===t?Array[n(220)](e):n(263)===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0)}function _iterableToArray(e){var r=_0x5149;if(r(310)!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[r(199)])return Array.from(e)}function _arrayWithoutHoles(e){if(Array[_0x5149(319)](e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){var t=_0x5149;(null==r||r>e.length)&&(r=e[t(241)]);for(var n=0,o=Array(r);n<r;n++)o[n]=e[n];return o}(()=>{for(var e=_0x5149,r=_0x52f5();;)try{if(407178==+parseInt(e(253))*(-parseInt(e(301))/2)+-parseInt(e(318))/3*(-parseInt(e(333))/4)+parseInt(e(274))/5+parseInt(e(302))/6+-parseInt(e(231))/7+parseInt(e(270))/8+parseInt(e(227))/9*(-parseInt(e(312))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var vm=require("vm"),fs=require("fs"),path=require("path"),loaderUtils=require(_0x123bbb(350)),expUtils=require("./exp-utils"),_require=require("../../common/utils"),readJsonFile=_require[_0x123bbb(336)],ASCF_SRC_PATH=_require.ASCF_SRC_PATH,_toString=Object[_0x123bbb(225)][_0x123bbb(331)],OBJECT_STRING="[object Object]",REGEXP_LINE=/\r?\n/g,join=function(){return path.join.apply(path,arguments)},relative=function(e,r){return path[_0x123bbb(234)](e,r)},cssProcessorType=[_0x123bbb(282),_0x123bbb(250),_0x123bbb(262),_0x123bbb(325),"scss"],CSS_LANG_ALIAS={styl:_0x123bbb(250),scss:_0x123bbb(325)};function extend(e){for(var r=_0x123bbb,t=arguments.length,n=new Array(1<t?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var a=n;if(r(291)===typeof Object.assign)Object[r(207)][r(320)](Object,[e][r(315)](a));else{var i,b=a[r(285)]();for(i in b)Object.prototype[r(260)][r(287)](b,i)&&(e[i]=b[i]);a[r(241)]&&extend[r(320)](void 0,[e][r(315)](a))}return e}function merge(e){for(var r=_0x123bbb,t=e,n=arguments.length,o=new Array(1<n?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return o[r(241)]&&o[r(271)](function(e){t=t[r(315)](e)}),t}function _0x52f5(){var e=["readFileSync","toPrimitive","isValidValue","hasOwnProperty","flat","less","Arguments","getComponentAbsPath","includes","constructor","getOwnPropertyDescriptor","stripStringRE","@@toPrimitive must return a primitive value.","5548872ErqeTV","forEach","defineProperty","mergeMap","2413025KrXxIk",'ERROR: Unexpected JavaScript keyword as property name: "',"resourcePath","startsWith","FUNC_START","FUNC_END","mkdirsSync",".js","styl","value","Error: Module Not Found: ","shift","miniprogram_npm","call","object","transformHtmlUnicodeAmp","loc","function","random","camelCaseToHyphened","genUid","next","[object Object]","merge","getNameByPath","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","symbol","156726UnaxIO","2605302kwSIYm","resolve","#####FUNC_END#####","start","../css-process-loader","push","buildLog","ERROR","undefined","\n@ ","7204600kgpJiG","basename","/index","concat","toLowerCase","isFile","293871oBUGIi","isArray","apply","$ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz","getProjectAbsPath","getFilenameByPath","#####FUNC_START#####","sass","slice","create","[object Map]","/src/index","splitSourceLine","toString","stringifyFunction","8nwWTfO","node_modules","Set","readJsonFile","charAt","checkExpression","statSync","lang","uniqueSymmetricDifference","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","mkdirSync","setPrototypeOf","../extract-loader","keys","deepClone","set","getAbsPath","../loader-utils","generateCodeFrame","logWarn"," is not a map.","done","has","getComponentCssPath","@atomicservice/ascf-toolkit","[]=","emitWarning","runInThisContext","javascript/auto","filePath","FUNC_START_REG","isExp","test","end","compose","trim","getOwnPropertySymbols","@@iterator","existsSync","[object Null]","filter","array","enumerable","package.json","Map","assign","isEmptyStr","__esModule","name",".json","reduce","replace","emitError","default","number","defFreezeProperty","defineProperties","hyphenedToCamelCase","from","trigger","map","removeBindingFix","ERROR: Can not resolve file : ","prototype","../hcss-loader","9RcmNrn","ATTR","css","require(","2008244XtSlGt","endsWith","string","relative","iterator","[\"']","equals","extend","isFileExist","defUnfreezeProperty","length",'", please change it.',"ERROR: Babel parse error occurred. Invalid attribute value : ","reason","normalizedAbsPath","query","FUNC_END_REG","inherit","stringifyRequest","stylus","getLoaderModule","match","5zBBIuQ","join","-loader","return"];return(_0x52f5=function(){return e})()}function hyphenedToCamelCase(e){return e[_0x123bbb(213)](/-([a-z])/g,function(e,r){return r.toUpperCase()})}function camelCaseToHyphened(e){var o=_0x123bbb;return e[o(213)](/([a-z])([A-Z])/g,function(e,r,t){var n=o;return""[n(315)](r,"-")[n(315)](t[n(316)]())})}function getNameByPath(e){var r=_0x123bbb;return path[r(313)](e)[r(213)](/\..*$/,"")}function isEmptyObject(e){var r,t=_0x123bbb;if(e)for(r in e)if(Object[t(225)].hasOwnProperty[t(287)](e,r))return!1;return!0}function isPlainObject(e){return _toString[_0x123bbb(287)](e)===OBJECT_STRING}function getLoaderModule(e){var r=_0x123bbb,t=path[r(254)](__dirname,"..","..",".."),n=readJsonFile(path[r(254)](t,r(205)))[r(210)],n=(n!==r(357)&&n[r(265)]("/")&&(t=path[r(254)](t,"..")),path.resolve(t,r(334),e)),n=fs[r(200)](n)?n:path[r(303)](t,"..","..",e);return fs[r(200)](n)?n:e}function getFilenameByPath(e){return path[_0x123bbb(234)](".",e)}function stringifyFunction(e,r){return"function"==typeof r?exports[_0x123bbb(278)]+r.toString()+exports.FUNC_END:r}function logWarn(a,e){var i=_0x123bbb,b=a[i(214)],s=a[i(359)];e&&0<e.length&&e[i(271)](function(e){var r=i,t=e[r(290)],n=e[r(221)],n=void 0===n?r(228):n,o=e[r(244)],e=e[r(191)],e=void 0===e?a[r(276)]:e,n=generateCodeFrame(fs[r(257)](e)[r(331)](),n,t),t=""[r(315)](o,r(311))[r(315)](e).concat(n,"\n");(o[r(277)](r(309))?b:s)(t)})}function generateCodeFrame(e,r,t){var n=_0x123bbb;if(!t)return"";var o=t[n(305)],t=t.attrStart,a=(n(195),e.split(/\r?\n/));r===n(228)&&(o=t||o);for(var i=(e.slice(0,o)[n(252)](/\r|\n/g)||[])[n(241)],b=1;b<=a[n(241)];b++){var s=a.slice(0,b).join("")[n(241)]+i;if(o<s)return":"[n(315)](b,":")[n(315)](o-s+a[b-1][n(241)]+1)}}function makeRequireString(e,r,t){var n=_0x123bbb;return n(230)+""[n(315)](loaderUtils[n(249)](e,(r?"!!"[n(315)](r,"!"):"").concat(t)),")\n")}function stringifyLoaders(e){var b=_0x123bbb;return e[b(222)](function(e){var r=b;if(r(233)===typeof e)return e;var t=e[r(210)],n=[];if(e[r(246)])for(var o in e[r(246)])if(Object[r(225)][r(260)][r(287)](e[r(246)],o)){var a=e.query[o];if(null!=a)if(!0===a)n[r(307)](o);else if(a instanceof Array)for(var i in a)Object[r(225)].hasOwnProperty[r(287)](a,i)&&n[r(307)](""[r(315)](o,r(358))[r(315)](a[i]));else n[r(307)](""[r(315)](o,"=")[r(315)](a))}return n[r(241)]?""[r(315)](t,"?").concat(n[r(254)]("&")):t}).join("!")}function splitSourceLine(e){return e.split(REGEXP_LINE)}function splitAttr(t,e,r){var n=_0x123bbb,o=e.split(/\s+/);if(o)switch(o[n(241)]){case 1:r.forEach(function(e){t[e]=o[0]});break;case 2:r.forEach(function(e,r){t[e]=r%2?o[1]:o[0]});break;case 3:r[n(271)](function(e,r){t[e]=r%2?o[1]:o[r]});break;default:r.forEach(function(e,r){t[e]=o[r]})}}function isValidValue(e){return"number"==typeof e||_0x123bbb(233)===typeof e}function equals(e,r,t){var n=_0x123bbb;if(t){for(var o=arguments[n(241)],a=new Array(3<o?o-3:0),i=3;i<o;i++)a[i-3]=arguments[i];if(t[n(320)](void 0,[e,r][n(315)](a)))return!0}var b=Object[n(225)][n(331)].call(e);if(b!==Object[n(225)].toString.call(r))return!1;if(n(201)!==b&&"[object Undefined]"!==b){if(n(296)!==b&&"[object Array]"!==b)return Object(e)[n(331)]()===Object(r)[n(331)]();for(var s={},u=(Object.keys(e)[n(271)](function(e){return s[e]=!0}),Object[n(346)](r).forEach(function(e){return s[e]=!0}),Object[n(346)](s)),c=0;c<u.length;c++){var f=u[c];if(!equals(e[f],r[f],t,f))return!1}}return!0}function mkdirsSync(e){var r,t=_0x123bbb;fs[t(200)](e)&&fs[t(339)](e).isDirectory()||(r=path.join(e,".."),fs[t(200)](r)&&!fs.statSync(r)[t(317)]()||mkdirsSync(r),fs[t(343)](e))}exports[_0x123bbb(322)]=function(e,r,t){var n=_0x123bbb;return/^\.?\.\//[n(194)](e)?relative(t,join(r,"..",e)).replace(/\\/g,"/"):/^\//[n(194)](e)?e[n(326)](1)[n(213)](/\\/g,"/"):(r=join(r,"..",e),fs[n(200)](r)||fs.existsSync(""[n(315)](r,n(211)))?relative(t,r).replace(/\\/g,"/"):e[n(213)](/\\/g,"/"))},exports[_0x123bbb(341)]=function(e,r){var t=_0x123bbb;return _toConsumableArray(e[t(202)](function(e){return!r[t(265)](e)}))},exports[_0x123bbb(294)]=function(e){for(var r=_0x123bbb,t=r(321),n=[],o=0;o<e;o++)n[o]=t[r(337)](Math[r(292)]()*t.length);return n[r(254)]("")};var attchIndexPostfix=function(e,r){var t=_0x123bbb,n=2<arguments[t(241)]&&void 0!==arguments[2]?arguments[2]:t(211);if(fs[t(200)](""[t(315)](e,"/"))){if(fs.statSync(e).isDirectory()){for(var o=0,a=["".concat(e,t(314))[t(315)](n),""[t(315)](e,t(329))[t(315)](n)];o<a[t(241)];o++){var i=a[o];if(fs[t(200)](i))return{filePath:i,fixEntryPath:relative(r,i)[t(213)](/\\/g,"/").replace(/\.json$/,"")}}throw t(284)[t(315)](e)}if(!fs.existsSync(e))throw t(224)[t(315)](e)}};function removeBindingFix(e){return e[_0x123bbb(213)](/\s*({\s*{\s*{?)|(}\s*}\s*}?)\s*/g,"")}function isExp(e){var r=_0x123bbb;return!!e&&/{{{(.+?)}}}|{{(.+?)}}/[r(194)](e[r(331)]()[r(213)](/(\n)|(\r)/g,""))}exports[_0x123bbb(239)]=function(e){var r=_0x123bbb;return fs.existsSync(e)||fs[r(200)](""[r(315)](e,r(281)))||fs[r(200)](""[r(315)](e,r(211)))},exports[_0x123bbb(349)]=function(e,r,t){var n=_0x123bbb,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"",r=(o&&!e[n(232)](o)&&(e+=o),join(r,"..",e)[n(213)](/\\/g,"/")),a=join(t,e).replace(/\\/g,"/"),i=join(t,n(286),e)[n(213)](/\\/g,"/");if(/^\//[n(194)](e))return{filePath:a};if(/^\.?\.\//[n(194)](e))return{filePath:r};for(var b=0,s=[r,a,i];b<s[n(241)];b++){var u=s[b];if(fs[n(200)](u))return{filePath:u};u=attchIndexPostfix(u.replace(o,""),t,o);if(u)return u}return{filePath:e}},exports[_0x123bbb(264)]=function(e,r,t){for(var n=_0x123bbb,o=3<arguments[n(241)]&&void 0!==arguments[3]?arguments[3]:"",r=(o&&!e[n(232)](o)&&(e+=o),join(r,"..",e).replace(/\\/g,"/")),a=0,i=[join(t,e)[n(213)](/\\/g,"/"),r,join(t,n(286),e).replace(/\\/g,"/")];a<i[n(241)];a++){var b=i[a];if(fs[n(200)](b))return{filePath:b};b=attchIndexPostfix(b[n(213)](o,""),t,o);if(b)return b}return{filePath:e}},exports[_0x123bbb(356)]=function(e){var r,t=_0x123bbb,n=_createForOfIteratorHelper(cssProcessorType.concat(t(229)));try{for(n.s();!(r=n.n())[t(354)];){var o=r[t(283)],a=""[t(315)](e,".")[t(315)](o);if(fs.existsSync(a))return a[t(213)](/\\/g,"/")}}catch(e){n.e(e)}finally{n.f()}return null},exports.createCSSRule=function(){var n=_0x123bbb,o={test:/\.h?css$/,type:n(190),use:[{loader:path.resolve(__dirname,n(226))},{loader:path[n(303)](__dirname,n(345))},{loader:path[n(303)](__dirname,n(306))}]},a=o.use,i=[o];return cssProcessorType[n(222)](function(e){return{test:new RegExp("\\.".concat(e,"$")),lang:e}})[n(271)](function(e){var r=n,t=e.test,e=e[r(340)];i[r(307)](_objectSpread(_objectSpread({},o),{},{test:t,use:[][r(315)](_toConsumableArray(a),[{loader:getLoaderModule(""[r(315)](CSS_LANG_ALIAS[e]||e,r(255)))}])}))}),i},exports[_0x123bbb(208)]=function(e){return!0!==e&&!e[_0x123bbb(213)](/\s/g,"")},exports[_0x123bbb(289)]=function(e){return e[_0x123bbb(213)](/&(?=amp;|apos;|lt;|gt;|ensp;|emsp;|nbsp;)/g,"&")},exports[_0x123bbb(347)]=function(e){var r,t,n=_0x123bbb,o=1<arguments[n(241)]&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(o[n(355)](e))return o.get(e);if(Array[n(319)](e))r=[],t=n(203);else{if(!e||_typeof(e)!==n(288))return e;r={},t=n(288)}if(o[n(348)](e,r),"object"===t)for(var a in e)Object[n(225)][n(260)][n(287)](e,a)&&(r[a]=this[n(347)](e[a],o));if(t===n(203))for(var i=0;i<e[n(241)];i++)r[n(307)](this[n(347)](e[i],o));return r},exports[_0x123bbb(196)]=function(e){for(var r=arguments.length,t=new Array(1<r?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];return t.reduce(function(e,r){var t=_0x5149;if(typeof r!==t(291))throw new TypeError(""[t(315)](r," is not a function"));return r(e)},e)},exports[_0x123bbb(248)]=function(e,r){var t=_0x123bbb;e.prototype=Object[t(327)](r[t(225)]),Object[t(272)](e.prototype,t(266),{value:e,enumerable:!0,configurable:!0,writable:!1}),Object[t(344)](e,r)},exports[_0x123bbb(217)]=function(e,r,t){Object[_0x123bbb(272)](e,r,{writable:!1,configurable:!1,value:t})},exports[_0x123bbb(240)]=function(e,r,t){Object[_0x123bbb(272)](e,r,{writable:!0,configurable:!0,value:t})},exports.isPlainTextEqual=function(e,r){var t=_0x123bbb;return e.trim()===r[t(197)]()},exports[_0x123bbb(273)]=function(e){var r=_0x123bbb,t=new Map;return e[r(212)](function(t,e){var n=r;if(_toString.call(e)!==n(328))throw new TypeError(""[n(315)](e,n(353)));return e[n(271)](function(e,r){return t[n(348)](r,e)}),t},t)},exports[_0x123bbb(261)]=function(e){var n=_0x123bbb,o=this,a=1<arguments[n(241)]&&void 0!==arguments[1]?arguments[1]:1;return 0===a?e:e[n(212)](function(e,r){var t=n;return Array[t(319)](r)?r[t(241)]?[].concat(_toConsumableArray(e),_toConsumableArray(o[t(261)](r,--a))):e:[][t(315)](_toConsumableArray(e),[r])},[])},exports[_0x123bbb(338)]=function(r,t){var n=_0x123bbb;try{vm[n(360)](r)}catch(e){var o=r[n(213)](expUtils[n(268)],"")[n(252)](expUtils.prohibitedKeywordRE);o?t[n(308)].push({reason:n(275)[n(315)](o[0],n(242))}):t[n(308)][n(307)]({reason:n(243)[n(315)](r)})}},exports[_0x123bbb(245)]=function(e){return path[_0x123bbb(254)](ASCF_SRC_PATH,e).replace(/\\/g,"/")},Object[_0x123bbb(272)](exports,_0x123bbb(209),{value:!0}),exports[_0x123bbb(278)]=_0x123bbb(324),exports.FUNC_END=_0x123bbb(304),exports[_0x123bbb(192)]=new RegExp(_0x123bbb(236)[_0x123bbb(315)](exports[_0x123bbb(278)]),"g"),exports[_0x123bbb(247)]=new RegExp(""[_0x123bbb(315)](exports[_0x123bbb(279)],_0x123bbb(236)),"g"),exports[_0x123bbb(238)]=extend,exports[_0x123bbb(297)]=merge,exports[_0x123bbb(219)]=hyphenedToCamelCase,exports[_0x123bbb(293)]=camelCaseToHyphened,exports[_0x123bbb(298)]=getNameByPath,exports.isEmptyObject=isEmptyObject,exports.isPlainObject=isPlainObject,exports[_0x123bbb(251)]=getLoaderModule,exports[_0x123bbb(323)]=getFilenameByPath,exports[_0x123bbb(332)]=stringifyFunction,exports[_0x123bbb(352)]=logWarn,exports[_0x123bbb(351)]=generateCodeFrame,exports.makeRequireString=makeRequireString,exports.stringifyLoaders=stringifyLoaders,exports[_0x123bbb(280)]=mkdirsSync,exports[_0x123bbb(330)]=splitSourceLine,exports.splitAttr=splitAttr,exports[_0x123bbb(259)]=isValidValue,exports[_0x123bbb(223)]=removeBindingFix,exports[_0x123bbb(193)]=isExp,exports[_0x123bbb(237)]=equals,exports.relative=relative;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x267bcd=_0x3cee;function _0x3cee(r,e){var t=_0x40fa();return(_0x3cee=function(r,e){return t[r-=200]})(r,e)}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x3cee(246))}function _iterableToArray(r){var e=_0x3cee;if(e(217)!=typeof Symbol&&null!=r[Symbol[e(234)]]||null!=r[e(222)])return Array.from(r)}function _arrayWithoutHoles(r){if(Array[_0x3cee(233)](r))return _arrayLikeToArray(r)}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,e){var t,n=_0x3cee;if(r)return n(249)==typeof r?_arrayLikeToArray(r,e):(t={}[n(273)][n(211)](r).slice(8,-1),n(200)===t&&r[n(228)]&&(t=r.constructor[n(270)]),n(212)===t||"Set"===t?Array[n(226)](r):n(257)===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(277)](t)?_arrayLikeToArray(r,e):void 0)}function _arrayLikeToArray(r,e){var t=_0x3cee;(null==e||e>r[t(251)])&&(e=r[t(251)]);for(var n=0,a=Array(e);n<e;n++)a[n]=r[n];return a}function _iterableToArrayLimit(r,e){var t=_0x3cee,n=null==r?null:t(217)!=typeof Symbol&&r[Symbol[t(234)]]||r["@@iterator"];if(null!=n){var a,o,s,i,l=[],c=!0,u=!1;try{if(s=(n=n[t(211)](r))[t(225)],0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=s[t(211)](n))[t(264)])&&(l[t(215)](a[t(247)]),l.length!==e);c=!0);}catch(r){u=!0,o=r}finally{try{if(!c&&null!=n[t(208)]&&(i=n[t(208)](),Object(i)!==i))return}finally{if(u)throw o}}return l}}function _arrayWithHoles(r){if(Array[_0x3cee(233)](r))return r}(()=>{for(var r=_0x3cee,e=_0x40fa();;)try{if(280306==+parseInt(r(269))+parseInt(r(235))/2*(parseInt(r(248))/3)+parseInt(r(209))/4+parseInt(r(274))/5+-parseInt(r(254))/6+parseInt(r(229))/7*(-parseInt(r(216))/8)+parseInt(r(263))/9*(parseInt(r(271))/10))break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var IMPORT_REG_NO_SEMI=/@import\s+(.*)['"]\s*[)]?/g,IMPORT_REG_EXP=/@import\s+(.*?)[;\n]/g,URL_MATCH_REG_EXP=/url\s*\(\s*['"]?\s*([^()]+?)\s*['"]?\s*\)/g,URL_CONTENT_REG_EXP=/url\s*\(\s*['"]?([^'"]*)['"]?\s*\)/,KEY_FRAMES_REG_EXP=/(?<=keyframes\s+)['"]\S+/g,utils=require(_0x267bcd(250)),path=require(_0x267bcd(268)),_require=require("fs"),existsSync=_require[_0x267bcd(245)],loaderUtils=require(_0x267bcd(236)),stringUtils=require(_0x267bcd(223)),NETWORK_RESOURCE_RE=/^\/\//,LOCAL_RESOURCE_RE=/^\.?\.\//,loaderContext=null;function _0x40fa(){var r=["Map","resourcePath","var _RUNTIME_API_ = require(","push","567128WPRPql","undefined","replace","concat",', ""]);',"size","@@iterator","../common/string-utils","dirname","next","from","url(/","constructor","21rPAnKX","stringifyRequest","some","loaderIndex","isArray","iterator","106462nvVKKp","./loader-utils","set","exports","lastIndex","includes","exec","_compilation","callback","forEach","existsSync","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","value","3pOvoKS","string","./common/utils","length","request","_IMPORT_CSS_MODULE_","40014VaYSsA","stringify","exports = _RUNTIME_API_(false);","Arguments","join","http:","url(","get","module.exports=exports;","21843XMywcU","done","___","/** ","reverse","path","81342MYeiES","name","90bkscAg"," \n@ ","toString","1319510nxGZCE","compose","exports.i(","test","relative","Object","trim"," **/"," = require(","match","rootContext","WARNING: Can not resolve file: ","filter","return","317320PhfRdb","slice","call"];return(_0x40fa=function(){return r})()}function matchCssPath(r,e){var t=_0x267bcd,r=r[t(204)](e);return(r?r[1]:"")[t(201)]().slice(1,-1)}function processImports(r){for(var o=_0x267bcd,s=r,e=new Map,t=[],n=(t.push(o(214)+""[o(219)](loaderUtils[o(230)](loaderContext,require.resolve("./common/css-runtime-api")),");")),t[o(215)](o(256)),0),a=/@import\s*(.*?)[;\n]/g,i=/@import\s*(.*?)[;\n]/,r=s.match(a),l=(r&&r[o(244)](function(r){var e,t=o,n=matchCssPath(r,i),a=null;n&&(/^.+\.css$/[t(277)](n)||(a=r.replace(n,""[t(219)](n,".css"))),/^\//[t(277)](n)&&(e=path[t(258)](loaderContext[t(205)],n),t=path[t(278)](path[t(258)](loaderContext[t(213)],".."),e),a=(null!=a?a:r).replace(n,t.replace(/\\/g,"/"))),s=a?stringUtils.replaceAll(s,r,a):s)}),[]);c=a[o(241)](s);){var c=_slicedToArray(c,2),u=c[0],c=c[1],u=(l[o(215)](s[o(210)](n,a[o(239)]-u[o(251)])),"!"[o(219)](loaderContext.loaders[loaderContext[o(232)]][o(252)],"!")),c=path[o(258)](loaderContext[o(213)],"..",c[o(210)](1,-1)),_=e[o(261)](c);_||(_=o(253)[o(219)](e[o(221)],o(265)),t[o(215)]("var "[o(219)](_,o(203))+"".concat(loaderUtils[o(230)](loaderContext,u+c),");")),e[o(237)](c,_)),l[o(215)](o(266)[o(219)](c,o(202))),n=a[o(239)],t.push(o(276)[o(219)](_,");"))}l[o(215)](s[o(210)](n)),(l=_toConsumableArray(new Set(l[o(267)]()))).reverse(),t[o(215)]("exports.push([module.id, "[o(219)](JSON[o(255)](l[o(258)]("")),o(220))),t.push(o(262)),loaderContext[o(243)](null,t[o(258)]("\r\n"),"")}function processKeyfarmes(r){var e=_0x267bcd,t=r,n=t[e(204)](KEY_FRAMES_REG_EXP);if(n&&0<n[e(251)])for(var a=0;a<n[e(251)];a++)t=t[e(218)](n[a],n[a][e(218)](/['"]/g,""));return t}function processSemi(r){var n=_0x267bcd,t=r,a=t[n(204)](IMPORT_REG_EXP),r=t[n(204)](IMPORT_REG_NO_SEMI);return r&&(r=a?r[n(207)](function(e){var t=n;return!a[t(231)](function(r){return r[t(240)](e)})}):r)[n(244)](function(r){var e=n,r=r[e(218)](/\r\n/g,"");t=t[e(218)](r,"".concat(r,";"))}),t}function processUrl(r){var e=_0x267bcd,t=r,r=t.match(URL_MATCH_REG_EXP);return r&&r[e(244)](function(r){t=t.replace(r,function(r){var e,t,n,a=_0x3cee,o=r[a(218)](/(\\")|(\\')/g,"").match(URL_CONTENT_REG_EXP);return o?(n=o[1][a(201)](),NETWORK_RESOURCE_RE[a(277)](n)?(o=a(259).concat(o[1]),a(260)[a(219)](o,")")):LOCAL_RESOURCE_RE[a(277)](n)?(e=(o=loaderContext).resourcePath,t=o.options.srcPath,o=o[a(242)],n=path[a(258)](path[a(224)](e),n),existsSync(n)||o.warnings[a(215)]({message:a(206)[a(219)](n,a(272))[a(219)](e)}),o=path[a(278)](t,n)[a(218)](/\\/g,"/"),a(227)[a(219)](o,")")):r):r})}),t}module[_0x267bcd(238)]=function(r){var e=_0x267bcd,r=(loaderContext=this,r.replace(/\/\*[\s\S]*?\*\//g,""));return utils[e(275)](r,processSemi,processUrl,processKeyfarmes,processImports)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x16ad39=_0x38cb;function _typeof(t){var e=_0x38cb;return(_typeof=e(183)==typeof Symbol&&e(139)==typeof Symbol[e(145)]?function(t){return typeof t}:function(t){var r=e;return t&&r(183)==typeof Symbol&&t[r(225)]===Symbol&&t!==Symbol[r(201)]?r(139):typeof t})(t)}function _regeneratorRuntime(){var s=_0x38cb;_regeneratorRuntime=function(){return u};var f,u={},t=Object[s(201)],h=t[s(116)],l=Object[s(158)]||function(t,r,e){t[r]=e.value},r=s(183)==typeof Symbol?Symbol:{},i=r[s(145)]||"@@iterator",e=r[s(143)]||s(173),n=r[s(141)]||s(221);function o(t,r,e){return Object[s(158)](t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{o({},"")}catch(t){o=function(t,r,e){return t[r]=e}}function c(t,r,e,n){var o,i,a,u,c=s,r=r&&r.prototype instanceof m?r:m,r=Object[c(231)](r.prototype),n=new L(n||[]);return l(r,c(136),{value:(o=t,i=e,a=n,u=v,function(t,r){var e=_0x38cb;if(u===d)throw Error(e(148));if(u===b){if(e(124)===t)throw r;return{value:f,done:!0}}for(a.method=t,a.arg=r;;){var n=a.delegate;if(n){n=function t(r,e){var n=s,o=e[n(106)],i=r[n(145)][o];if(i===f)return e[n(168)]=null,n(124)===o&&r[n(145)][n(176)]&&(e.method=n(176),e[n(122)]=f,t(r,e),n(124)===e.method)||n(176)!==o&&(e.method=n(124),e[n(122)]=new TypeError(n(212)+o+n(196))),_;o=p(i,r[n(145)],e[n(122)]);if(n(124)===o[n(156)])return e[n(106)]=n(124),e[n(122)]=o[n(122)],e[n(168)]=null,_;i=o.arg;return i?i[n(113)]?(e[r[n(193)]]=i[n(181)],e[n(169)]=r.nextLoc,n(176)!==e[n(106)]&&(e.method="next",e.arg=f),e[n(168)]=null,_):i:(e.method=n(124),e.arg=new TypeError(n(174)),e[n(168)]=null,_)}(n,a);if(n){if(n===_)continue;return n}}if("next"===a[e(106)])a[e(223)]=a[e(180)]=a[e(122)];else if(e(124)===a[e(106)]){if(u===v)throw u=b,a[e(122)];a[e(137)](a[e(122)])}else e(176)===a.method&&a.abrupt(e(176),a.arg);u=d;n=p(o,i,a);if(e(134)===n[e(156)]){if(u=a[e(113)]?b:y,n[e(122)]===_)continue;return{value:n[e(122)],done:a.done}}e(124)===n[e(156)]&&(u=b,a[e(106)]=e(124),a[e(122)]=n[e(122)])}})}),r}function p(t,r,e){var n=s;try{return{type:n(134),arg:t[n(170)](r,e)}}catch(t){return{type:"throw",arg:t}}}u[s(178)]=c;var v="suspendedStart",y=s(199),d=s(192),b=s(213),_={};function m(){}function a(){}function x(){}var r={},g=(o(r,i,function(){return this}),Object[s(157)]),g=g&&g(g(j([]))),w=(g&&g!==t&&h.call(g,i)&&(r=g),x[s(201)]=m[s(201)]=Object[s(231)](r));function O(t){var r=s;[r(169),r(124),r(176)][r(190)](function(r){o(t,r,function(t){return this[_0x38cb(136)](r,t)})})}function P(u,c){var r;l(this,s(136),{value:function(e,n){function t(){return new c(function(t,r){!function r(t,e,n,o){var i,a=_0x38cb,t=p(u[t],u,e);if("throw"!==t.type)return(e=(i=t[a(122)])[a(181)])&&a(140)==_typeof(e)&&h.call(e,"__await")?c[a(229)](e[a(112)])[a(175)](function(t){r(a(169),t,n,o)},function(t){r("throw",t,n,o)}):c[a(229)](e)[a(175)](function(t){i.value=t,n(i)},function(t){return r(a(124),t,n,o)});o(t[a(122)])}(e,n,t,r)})}return r=r?r.then(t,t):t()}})}function E(t){var r=s,e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e[r(230)]=t[2],e[r(115)]=t[3]),this[r(224)][r(121)](e)}function S(t){var r=s,e=t[r(200)]||{};e[r(156)]="normal",delete e.arg,t[r(200)]=e}function L(t){var r=s;this.tryEntries=[{tryLoc:r(207)}],t[r(190)](E,this),this[r(111)](!0)}function j(e){var n=s;if(e||""===e){var o,t=e[i];if(t)return t.call(e);if("function"==typeof e[n(169)])return e;if(!isNaN(e.length))return o=-1,(t=function t(){for(var r=n;++o<e[r(133)];)if(h[r(170)](e,o))return t[r(181)]=e[o],t[r(113)]=!1,t;return t[r(181)]=f,t[r(113)]=!0,t}).next=t}throw new TypeError(_typeof(e)+n(154))}return a.prototype=x,l(w,s(225),{value:x,configurable:!0}),l(x,s(225),{value:a,configurable:!0}),a[s(152)]=o(x,n,"GeneratorFunction"),u[s(166)]=function(t){var r=s,t=r(183)==typeof t&&t[r(225)];return!!t&&(t===a||"GeneratorFunction"===(t[r(152)]||t[r(107)]))},u[s(131)]=function(t){var r=s;return Object.setPrototypeOf?Object[r(135)](t,x):(t.__proto__=x,o(t,n,r(186))),t.prototype=Object[r(231)](w),t},u[s(125)]=function(t){return{__await:t}},O(P.prototype),o(P[s(201)],e,function(){return this}),u.AsyncIterator=P,u[s(222)]=function(t,r,e,n,o){var i=s,a=(void 0===o&&(o=Promise),new P(c(t,r,e,n),o));return u[i(166)](r)?a:a[i(169)]().then(function(t){var r=i;return t[r(113)]?t[r(181)]:a.next()})},O(w),o(w,n,s(142)),o(w,i,function(){return this}),o(w,s(198),function(){return s(188)}),u.keys=function(t){var r,n=s,o=Object(t),i=[];for(r in o)i[n(121)](r);return i[n(132)](),function t(){for(var r=n;i[r(133)];){var e=i[r(159)]();if(e in o)return t[r(181)]=e,t[r(113)]=!1,t}return t[r(113)]=!0,t}},u[s(185)]=j,L[s(201)]={constructor:L,reset:function(t){var r=s;if(this.prev=0,this.next=0,this[r(223)]=this._sent=f,this[r(113)]=!1,this[r(168)]=null,this[r(106)]=r(169),this[r(122)]=f,this[r(224)][r(190)](S),!t)for(var e in this)"t"===e.charAt(0)&&h[r(170)](this,e)&&!isNaN(+e[r(218)](1))&&(this[e]=f)},stop:function(){var t=s,r=(this[t(113)]=!0,this.tryEntries[0][t(200)]);if(t(124)===r[t(156)])throw r[t(122)];return this[t(161)]},dispatchException:function(n){var o=s;if(this[o(113)])throw n;var i=this;function t(t,r){var e=o;return a.type=e(124),a.arg=n,i[e(169)]=t,r&&(i[e(106)]=e(169),i.arg=f),!!r}for(var r=this[o(224)][o(133)]-1;0<=r;--r){var e=this[o(224)][r],a=e[o(200)];if(o(207)===e.tryLoc)return t(o(191));if(e[o(147)]<=this[o(226)]){var u=h.call(e,o(108)),c=h.call(e,o(230));if(u&&c){if(this[o(226)]<e[o(108)])return t(e[o(108)],!0);if(this[o(226)]<e[o(230)])return t(e[o(230)])}else if(u){if(this[o(226)]<e[o(108)])return t(e[o(108)],!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<e[o(230)])return t(e[o(230)])}}}},abrupt:function(t,r){for(var e=s,n=this[e(224)][e(133)]-1;0<=n;--n){var o=this[e(224)][n];if(o.tryLoc<=this[e(226)]&&h.call(o,e(230))&&this.prev<o.finallyLoc){var i=o;break}}var a=(i=i&&(e(220)===t||"continue"===t)&&i.tryLoc<=r&&r<=i[e(230)]?null:i)?i[e(200)]:{};return a.type=t,a[e(122)]=r,i?(this[e(106)]=e(169),this.next=i[e(230)],_):this[e(228)](a)},complete:function(t,r){var e=s;if(e(124)===t.type)throw t.arg;return e(220)===t[e(156)]||e(227)===t[e(156)]?this.next=t.arg:e(176)===t.type?(this[e(161)]=this[e(122)]=t.arg,this.method=e(176),this[e(169)]="end"):e(134)===t[e(156)]&&r&&(this[e(169)]=r),_},finish:function(t){for(var r=s,e=this.tryEntries.length-1;0<=e;--e){var n=this[r(224)][e];if(n[r(230)]===t)return this[r(228)](n[r(200)],n[r(115)]),S(n),_}},catch:function(t){for(var r=s,e=this[r(224)][r(133)]-1;0<=e;--e){var n,o,i=this[r(224)][e];if(i[r(147)]===t)return n=i[r(200)],r(124)===n[r(156)]&&(o=n[r(122)],S(i)),o}throw Error(r(182))},delegateYield:function(t,r,e){var n=s;return this[n(168)]={iterator:j(t),resultName:r,nextLoc:e},n(169)===this.method&&(this[n(122)]=f),_}},u}function asyncGeneratorStep(t,r,e,n,o,i,a){var u=_0x38cb;try{var c=t[i](a),s=c[u(181)]}catch(t){return void e(t)}c[u(113)]?r(s):Promise[u(229)](s)[u(175)](n,o)}function _asyncToGenerator(u){return function(){var t=this,a=arguments;return new Promise(function(r,e){var n=u.apply(t,a);function o(t){asyncGeneratorStep(n,r,e,o,i,_0x38cb(169),t)}function i(t){asyncGeneratorStep(n,r,e,o,i,_0x38cb(124),t)}o(void 0)})}}(()=>{for(var t=_0x38cb,r=_0x56d0();;)try{if(647974==-parseInt(t(164))*(-parseInt(t(179))/2)+-parseInt(t(163))/3*(parseInt(t(184))/4)+-parseInt(t(144))/5*(parseInt(t(202))/6)+-parseInt(t(195))/7*(parseInt(t(216))/8)+-parseInt(t(171))/9*(-parseInt(t(194))/10)+parseInt(t(167))/11+parseInt(t(114))/12)break;r.push(r.shift())}catch(t){r.push(r.shift())}})();var vm=require("vm"),path=require(_0x16ad39(187)),fs=require("fs"),_require=require(_0x16ad39(128)),getOptions=_require[_0x16ad39(118)],stringifyRequest=_require[_0x16ad39(151)],COMMENT_RE=/\/\*[\s\S]*?\*\//g;function extractLoader(t){return _extractLoader[_0x16ad39(162)](this,arguments)}function _0x56d0(){var t=["42fwnctV","resourcePath","catch","has","options","root","max","from","binary","get","The iterator does not provide a '","completed","Script","src","528pPhrdJ","indexOf","slice","assign","break","@@toStringTag","async","sent","tryEntries","constructor","prev","continue","complete","resolve","finallyLoc","create","method","name","catchLoc","runInNewContext","output","reset","__await","done","18662640fhTMdn","afterLoc","hasOwnProperty","match","getOptions","base64","map","push","arg","existsSync","throw","awrap","replace","btoa","./loader-utils","loadModule","parse","mark","reverse","length","normal","setPrototypeOf","_invoke","dispatchException","abrupt","symbol","object","toStringTag","Generator","asyncIterator","557855rTApBt","iterator","join","tryLoc","Generator is already running","stop","outputOptions","stringifyRequest","displayName","split"," is not iterable","lastIndexOf","type","getPrototypeOf","defineProperty","pop","cacheable","rval","apply","8937ssrywY","1KXhMOX","publicPath","isGeneratorFunction","7231532HDnESE","delegate","next","call","9nUTnxy","_compilation","@@asyncIterator","iterator result is not an object","then","return","exports","wrap","124870TlPsui","_sent","value","illegal catch attempt","function","524kWwVVt","values","GeneratorFunction","path","[object Generator]",".js","forEach","end","executing","resultName","13350mZjKrJ","48489fbDNoK","' method","all","toString","suspendedYield","completion","prototype"];return(_0x56d0=function(){return t})()}function _extractLoader(){var r=_0x16ad39;return(_extractLoader=_asyncToGenerator(_regeneratorRuntime()[r(131)](function t(e){var n,o,i=r;return _regeneratorRuntime()[i(178)](function(t){for(var r=i;;)switch(t[r(226)]=t[r(169)]){case 0:return n=this.async(),o=getOptions(this)||{},o=getPublicPath(o,this),this[r(160)](),t.prev=4,t[r(169)]=7,evalDependencyGraph({loaderContext:this,src:e,filename:this[r(203)],publicPath:o});case 7:o=t[r(223)],n(null,o),t.next=14;break;case 11:t.prev=11,t.t0=t[r(204)](4),n(t.t0);case 14:case r(191):return t.stop()}},t,this,[[4,11]])})))[r(162)](this,arguments)}function btoa(t){var r=_0x16ad39,t=t instanceof Buffer?t:Buffer[r(209)](t[r(198)](),r(210));return t[r(198)](r(119))}function _0x38cb(t,r){var e=_0x56d0();return(_0x38cb=function(t,r){return e[t-=106]})(t,r)}function evalDependencyGraph(t){var l=_0x16ad39,p=t.loaderContext,r=t[l(215)],e=t.filename,t=t[l(165)],f=void 0===t?"":t,h=new Map;function v(){return n.apply(this,arguments)}function n(){var t=l;return(n=_asyncToGenerator(_regeneratorRuntime().mark(function t(r,a){var u,e,n,o,c,s=_0x38cb;return _regeneratorRuntime()[s(178)](function(t){for(var i=s;;)switch(t[i(226)]=t.next){case 0:return o=new vm[i(214)](r,{fileName:a,displayErrors:!0}),e={},u=[],e=Object[i(219)]({},global,{exports:e,module:{exports:e},__webpack_publicpath__:f,require:(r=>{var t=i;function e(t){return r[_0x38cb(162)](this,arguments)}return e[t(198)]=function(){return r[t(198)]()},e})(function(t){var r=i,e=Math[r(208)](t[r(217)]("?"),t[r(133)]),n=t[r(218)](0,e),o=n[r(155)]("!"),e=t[r(218)](e),t=t[r(218)](0,o+1),n=n[r(218)](o+1),o="",o=path.isAbsolute(n)?n:path[r(146)](path.dirname(a),n),n=path.extname(o);return h[r(205)](o)?h[r(211)](o):""===t&&n===r(189)?(p.addDependency(o),n=require(o),h.set(o,n),n):(u.push({absolutePath:o,absoluteRequest:t+o+e}),"")})}),o[i(109)](e),t[i(169)]=7,Promise[i(197)](u[i(120)]((()=>{var r=i,e=_asyncToGenerator(_regeneratorRuntime()[r(131)](function t(c){var s,f,h=r;return _regeneratorRuntime()[h(178)](function(t){for(var r=h;;)switch(t.prev=t[r(169)]){case 0:s=c.absolutePath,f=c.absoluteRequest,t[r(169)]=3;var e,n,o,i=f,a=l,u=((i=i[a(153)]("!"))[1]&&((n=p.remainingRequest.split("!")[0])&&(e=stringifyRequest(p,n)),n=(i[1][a(117)](/^(.*?)(\?.*)/)||i)[1],o=path[a(146)](p.context,n),fs[a(123)](o)||n===e||(i[1]=JSON[a(130)](e))),i[a(146)]("!"));return new Promise(function(e,n){p[a(129)](u,function(t,r){t?n(t):e(r)})});case 3:return f=t[r(223)],t[r(138)](r(176),v(f,s));case 5:case r(191):return t[r(149)]()}},t)}));return function(t){return e[r(162)](this,arguments)}})()));case 7:return n=t[i(223)],o=(t=>{var r=l,e=r(127)in global,n=global[r(127)];global[r(127)]=btoa;try{return t&&t[r(198)]()}catch(t){throw t}finally{e?global[r(127)]=n:delete global[r(127)]}})(e.module.exports),c=o[i(126)](COMMENT_RE,function(){return n.shift()||""}),h.set(a,c),t[i(138)](i(176),c);case 12:case"end":return t[i(149)]()}},t)})))[t(162)](this,arguments)}return v(r,e)}function getPublicPath(t,r){var e=_0x16ad39;return e(165)in t?"function"==typeof t.publicPath?t[e(165)](r):t[e(165)]:r[e(206)]&&r[e(206)].output&&e(165)in r[e(206)][e(110)]?r[e(206)][e(110)][e(165)]:r._compilation&&r[e(172)][e(150)]&&e(165)in r[e(172)][e(150)]?r._compilation.outputOptions[e(165)]:""}module[_0x16ad39(177)]=extractLoader;
|
|
1
|
+
function _0x32cd(t,r){var e=_0x373e();return(_0x32cd=function(t,r){return e[t-=400]})(t,r)}var _0xa8ee58=_0x32cd;function _0x373e(){var t=["split","options","absolutePath","abrupt","finallyLoc","iterator result is not an object","pop","push","name","775TvfJmB","base64","existsSync","executing","outputOptions","resultName","throw","assign","GeneratorFunction","output","join","@@toStringTag","call","7yJMzwX","map","@@iterator","getPrototypeOf","completed","resolve","loaderContext","reset","afterLoc","tryEntries","3220992SsQPTk","forEach","filename","exports","prev","getOptions","end","next","cacheable","symbol","btoa","prototype"," is not iterable","stop","publicPath","type","apply","then","_invoke","_compilation","all","resourcePath","set","suspendedYield","value","rval","module","hasOwnProperty","suspendedStart","isGeneratorFunction","slice","parse","done","displayName","31196759xauWjL","arg","remainingRequest","charAt","runInNewContext","create","defineProperty","AsyncIterator","context","get","_sent","return","asyncIterator","async","catchLoc","25800aEXqlK","578133PXMcMM","function","[object Generator]","10AquQmu","delegate","keys","120881ulpKMh","values","wrap","break","loadModule","has","extname","awrap","stringifyRequest","mark","method","toString","illegal catch attempt","binary","continue","Generator is already running","setPrototypeOf","./loader-utils","try statement without catch or finally","__await","Generator","addDependency","normal","completion","complete","src","The iterator does not provide a '","length","isAbsolute","190FVYeRw","tryLoc","sent","6219968pxDEnf","root","constructor","toStringTag","@@asyncIterator","2511942GcZwch","iterator"];return(_0x373e=function(){return t})()}function _typeof(t){var e=_0x32cd;return(_typeof=e(433)==typeof Symbol&&"symbol"==typeof Symbol[e(476)]?function(t){return typeof t}:function(t){var r=e;return t&&"function"==typeof Symbol&&t[r(472)]===Symbol&&t!==Symbol[r(520)]?r(518):typeof t})(t)}function _regeneratorRuntime(){var s=_0x32cd;_regeneratorRuntime=function(){return u};var f,u={},t=Object.prototype,h=t[s(409)],l=Object[s(422)]||function(t,r,e){var n=s;t[r]=e[n(406)]},r="function"==typeof Symbol?Symbol:{},o=r[s(476)]||s(501),e=r[s(428)]||s(474),n=r[s(473)]||s(497);function i(t,r,e){return Object[s(422)](t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{i({},"")}catch(t){i=function(t,r,e){return t[r]=e}}function c(t,r,e,n){var i,o,a,u,c=s,r=r&&r.prototype instanceof b?r:b,r=Object[c(421)](r[c(520)]),n=new S(n||[]);return l(r,c(400),{value:(i=t,o=e,a=n,u=v,function(t,r){var e=_0x32cd;if(u===d)throw Error(e(453));if(u===_){if(e(492)===t)throw r;return{value:f,done:!0}}for(a.method=t,a[e(417)]=r;;){var n=a.delegate;if(n){n=function t(r,e){var n=s,i=e[n(448)],o=r[n(476)][i];if(o===f)return e[n(436)]=null,n(492)===i&&r[n(476)][n(427)]&&(e[n(448)]="return",e[n(417)]=f,t(r,e),n(492)===e.method)||n(427)!==i&&(e[n(448)]=n(492),e[n(417)]=new TypeError(n(464)+i+"' method")),m;i=p(o,r[n(476)],e[n(417)]);if(n(492)===i[n(524)])return e[n(448)]="throw",e[n(417)]=i.arg,e[n(436)]=null,m;o=i.arg;return o?o[n(414)]?(e[r[n(491)]]=o[n(406)],e.next=r.nextLoc,n(427)!==e[n(448)]&&(e[n(448)]="next",e.arg=f),e[n(436)]=null,m):o:(e[n(448)]=n(492),e[n(417)]=new TypeError(n(482)),e[n(436)]=null,m)}(n,a);if(n){if(n===m)continue;return n}}if(e(516)===a.method)a[e(469)]=a[e(426)]=a[e(417)];else if("throw"===a.method){if(u===v)throw u=_,a[e(417)];a.dispatchException(a[e(417)])}else"return"===a[e(448)]&&a[e(480)]("return",a[e(417)]);u=d;n=p(i,o,a);if(e(460)===n[e(524)]){if(u=a[e(414)]?_:y,n[e(417)]===m)continue;return{value:n[e(417)],done:a.done}}"throw"===n[e(524)]&&(u=_,a[e(448)]=e(492),a[e(417)]=n[e(417)])}})}),r}function p(t,r,e){var n=s;try{return{type:n(460),arg:t[n(498)](r,e)}}catch(t){return{type:n(492),arg:t}}}u[s(440)]=c;var v=s(410),y=s(405),d=s(489),_=s(503),m={};function b(){}function a(){}function x(){}var r={},g=(i(r,o,function(){return this}),Object[s(502)]),g=g&&g(g(j([]))),w=(g&&g!==t&&h[s(498)](g,o)&&(r=g),x[s(520)]=b[s(520)]=Object[s(421)](r));function O(t){var r=s;[r(516),r(492),"return"][r(510)](function(r){i(t,r,function(t){return this[_0x32cd(400)](r,t)})})}function E(u,c){var r,i=s;l(this,i(400),{value:function(e,n){function t(){return new c(function(t,r){!function r(t,e,n,i){var o,a=_0x32cd,t=p(u[t],u,e);if(a(492)!==t[a(524)])return(e=(o=t[a(417)])[a(406)])&&"object"==_typeof(e)&&h.call(e,a(457))?c[a(504)](e[a(457)]).then(function(t){r(a(516),t,n,i)},function(t){r("throw",t,n,i)}):c[a(504)](e)[a(526)](function(t){o[a(406)]=t,n(o)},function(t){return r(a(492),t,n,i)});i(t.arg)}(e,n,t,r)})}return r=r?r[i(526)](t,t):t()}})}function P(t){var r=s,e={tryLoc:t[0]};1 in t&&(e[r(430)]=t[1]),2 in t&&(e[r(481)]=t[2],e[r(507)]=t[3]),this.tryEntries[r(484)](e)}function L(t){var r=s,e=t[r(461)]||{};e[r(524)]=r(460),delete e[r(417)],t.completion=e}function S(t){var r=s;this[r(508)]=[{tryLoc:r(471)}],t.forEach(P,this),this[r(506)](!0)}function j(e){var n=s;if(e||""===e){var i,t=e[o];if(t)return t[n(498)](e);if(n(433)==typeof e[n(516)])return e;if(!isNaN(e[n(465)]))return i=-1,(t=function t(){for(var r=n;++i<e.length;)if(h[r(498)](e,i))return t.value=e[i],t[r(414)]=!1,t;return t[r(406)]=f,t[r(414)]=!0,t})[n(516)]=t}throw new TypeError(_typeof(e)+n(521))}return a.prototype=x,l(w,s(472),{value:x,configurable:!0}),l(x,s(472),{value:a,configurable:!0}),a.displayName=i(x,n,s(494)),u.isGeneratorFunction=function(t){var r=s,t=r(433)==typeof t&&t[r(472)];return!!t&&(t===a||r(494)===(t[r(415)]||t[r(485)]))},u[s(447)]=function(t){var r=s;return Object[r(454)]?Object[r(454)](t,x):(t.__proto__=x,i(t,n,"GeneratorFunction")),t[r(520)]=Object[r(421)](w),t},u[s(445)]=function(t){return{__await:t}},O(E[s(520)]),i(E[s(520)],e,function(){return this}),u[s(423)]=E,u[s(429)]=function(t,r,e,n,i){var o=s,a=(void 0===i&&(i=Promise),new E(c(t,r,e,n),i));return u[o(411)](r)?a:a[o(516)]().then(function(t){var r=o;return t[r(414)]?t[r(406)]:a[r(516)]()})},O(w),i(w,n,s(458)),i(w,o,function(){return this}),i(w,s(449),function(){return s(434)}),u[s(437)]=function(t){var r,n=s,i=Object(t),o=[];for(r in i)o[n(484)](r);return o.reverse(),function t(){for(var r=n;o[r(465)];){var e=o[r(483)]();if(e in i)return t[r(406)]=e,t[r(414)]=!1,t}return t[r(414)]=!0,t}},u[s(439)]=j,S[s(520)]={constructor:S,reset:function(t){var r=s;if(this[r(513)]=0,this[r(516)]=0,this[r(469)]=this[r(426)]=f,this[r(414)]=!1,this[r(436)]=null,this[r(448)]="next",this[r(417)]=f,this[r(508)][r(510)](L),!t)for(var e in this)"t"===e[r(419)](0)&&h[r(498)](this,e)&&!isNaN(+e.slice(1))&&(this[e]=f)},stop:function(){var t=s,r=(this.done=!0,this.tryEntries[0][t(461)]);if("throw"===r[t(524)])throw r.arg;return this[t(407)]},dispatchException:function(n){var i=s;if(this[i(414)])throw n;var o=this;function t(t,r){var e=i;return a.type=e(492),a[e(417)]=n,o.next=t,r&&(o[e(448)]=e(516),o[e(417)]=f),!!r}for(var r=this[i(508)][i(465)]-1;0<=r;--r){var e=this[i(508)][r],a=e[i(461)];if(i(471)===e[i(468)])return t(i(515));if(e.tryLoc<=this[i(513)]){var u=h[i(498)](e,i(430)),c=h.call(e,i(481));if(u&&c){if(this.prev<e.catchLoc)return t(e.catchLoc,!0);if(this[i(513)]<e.finallyLoc)return t(e[i(481)])}else if(u){if(this.prev<e[i(430)])return t(e[i(430)],!0)}else{if(!c)throw Error(i(456));if(this.prev<e[i(481)])return t(e[i(481)])}}}},abrupt:function(t,r){for(var e=s,n=this[e(508)].length-1;0<=n;--n){var i=this[e(508)][n];if(i.tryLoc<=this[e(513)]&&h[e(498)](i,"finallyLoc")&&this[e(513)]<i[e(481)]){var o=i;break}}var a=(o=o&&(e(441)===t||e(452)===t)&&o[e(468)]<=r&&r<=o.finallyLoc?null:o)?o[e(461)]:{};return a[e(524)]=t,a[e(417)]=r,o?(this[e(448)]=e(516),this[e(516)]=o[e(481)],m):this[e(462)](a)},complete:function(t,r){var e=s;if(e(492)===t[e(524)])throw t[e(417)];return e(441)===t[e(524)]||e(452)===t[e(524)]?this.next=t.arg:e(427)===t[e(524)]?(this[e(407)]=this.arg=t[e(417)],this[e(448)]=e(427),this[e(516)]=e(515)):e(460)===t[e(524)]&&r&&(this[e(516)]=r),m},finish:function(t){for(var r=s,e=this.tryEntries[r(465)]-1;0<=e;--e){var n=this[r(508)][e];if(n[r(481)]===t)return this[r(462)](n[r(461)],n[r(507)]),L(n),m}},catch:function(t){for(var r=s,e=this[r(508)][r(465)]-1;0<=e;--e){var n,i,o=this.tryEntries[e];if(o[r(468)]===t)return n=o[r(461)],r(492)===n[r(524)]&&(i=n[r(417)],L(o)),i}throw Error(r(450))},delegateYield:function(t,r,e){var n=s;return this[n(436)]={iterator:j(t),resultName:r,nextLoc:e},n(516)===this.method&&(this[n(417)]=f),m}},u}function asyncGeneratorStep(t,r,e,n,i,o,a){var u=_0x32cd;try{var c=t[o](a),s=c.value}catch(t){return void e(t)}c[u(414)]?r(s):Promise[u(504)](s).then(n,i)}function _asyncToGenerator(c){return function(){var t=this,u=arguments;return new Promise(function(r,e){var n=_0x32cd,i=c[n(525)](t,u);function o(t){asyncGeneratorStep(i,r,e,o,a,"next",t)}function a(t){asyncGeneratorStep(i,r,e,o,a,n(492),t)}o(void 0)})}}(()=>{for(var t=_0x32cd,r=_0x373e();;)try{if(743909==+parseInt(t(438))*(parseInt(t(435))/2)+-parseInt(t(475))/3+parseInt(t(509))/4+-parseInt(t(486))/5*(parseInt(t(431))/6)+parseInt(t(499))/7*(-parseInt(t(470))/8)+parseInt(t(432))/9*(-parseInt(t(467))/10)+parseInt(t(416))/11)break;r.push(r.shift())}catch(t){r.push(r.shift())}})();var vm=require("vm"),path=require("path"),fs=require("fs"),_require=require(_0xa8ee58(455)),getOptions=_require[_0xa8ee58(514)],stringifyRequest=_require[_0xa8ee58(446)],COMMENT_RE=/\/\*[\s\S]*?\*\//g;function extractLoader(t){return _extractLoader[_0xa8ee58(525)](this,arguments)}function _extractLoader(){var t=_0xa8ee58;return(_extractLoader=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var n,i,o=_0x32cd;return _regeneratorRuntime()[o(440)](function(t){for(var r=o;;)switch(t.prev=t[r(516)]){case 0:return n=this.async(),i=getOptions(this)||{},i=getPublicPath(i,this),this[r(517)](),t.prev=4,t.next=7,evalDependencyGraph({loaderContext:this,src:e,filename:this[r(403)],publicPath:i});case 7:i=t[r(469)],n(null,i),t[r(516)]=14;break;case 11:t.prev=11,t.t0=t.catch(4),n(t.t0);case 14:case"end":return t[r(522)]()}},t,this,[[4,11]])})))[t(525)](this,arguments)}function btoa(t){var r=_0xa8ee58,t=t instanceof Buffer?t:Buffer.from(t[r(449)](),r(451));return t[r(449)](r(487))}function evalDependencyGraph(t){var l=_0xa8ee58,p=t[l(505)],r=t[l(463)],e=t[l(511)],t=t[l(523)],f=void 0===t?"":t,h=new Map;function v(){return n[l(525)](this,arguments)}function n(){var o=l;return(n=_asyncToGenerator(_regeneratorRuntime()[o(447)](function t(r,a){var u,e,n,i,c,s=o;return _regeneratorRuntime()[s(440)](function(t){for(var o=s;;)switch(t[o(513)]=t[o(516)]){case 0:return i=new vm.Script(r,{fileName:a,displayErrors:!0}),e={},u=[],e=Object[o(493)]({},global,{exports:e,module:{exports:e},__webpack_publicpath__:f,require:(r=>{var t=o;function e(t){return r[_0x32cd(525)](this,arguments)}return e[t(449)]=function(){return r[t(449)]()},e})(function(t){var r=o,e=Math.max(t.indexOf("?"),t[r(465)]),n=t[r(412)](0,e),i=n.lastIndexOf("!"),e=t[r(412)](e),t=t[r(412)](0,i+1),n=n.slice(i+1),i="",i=path[r(466)](n)?n:path[r(496)](path.dirname(a),n),n=path[r(444)](i);return h[r(443)](i)?h[r(425)](i):""===t&&".js"===n?(p[r(459)](i),n=require(i),h[r(404)](i,n),n):(u[r(484)]({absolutePath:i,absoluteRequest:t+i+e}),"")})}),i[o(420)](e),t.next=7,Promise[o(402)](u[o(500)]((()=>{var r=o,e=_asyncToGenerator(_regeneratorRuntime()[r(447)](function t(c){var s,f,h=r;return _regeneratorRuntime()[h(440)](function(t){for(var r=h;;)switch(t[r(513)]=t.next){case 0:s=c[r(479)],f=c.absoluteRequest,t[r(516)]=3;var e,n,i,o=f,a=l,u=((o=o[a(477)]("!"))[1]&&((n=p[a(418)][a(477)]("!")[0])&&(e=stringifyRequest(p,n)),n=(o[1].match(/^(.*?)(\?.*)/)||o)[1],i=path[a(496)](p[a(424)],n),fs[a(488)](i)||n===e||(o[1]=JSON[a(413)](e))),o[a(496)]("!"));return new Promise(function(e,n){p[a(442)](u,function(t,r){t?n(t):e(r)})});case 3:return f=t[r(469)],t[r(480)](r(427),v(f,s));case 5:case"end":return t[r(522)]()}},t)}));return function(t){return e[r(525)](this,arguments)}})()));case 7:return n=t[o(469)],i=(t=>{var r=l,e=r(519)in global,n=global[r(519)];global[r(519)]=btoa;try{return t&&t[r(449)]()}catch(t){throw t}finally{e?global[r(519)]=n:delete global[r(519)]}})(e[o(408)][o(512)]),c=i.replace(COMMENT_RE,function(){return n.shift()||""}),h[o(404)](a,c),t.abrupt(o(427),c);case 12:case o(515):return t[o(522)]()}},t)})))[o(525)](this,arguments)}return v(r,e)}function getPublicPath(t,r){var e=_0xa8ee58;return e(523)in t?typeof t[e(523)]===e(433)?t[e(523)](r):t.publicPath:r[e(478)]&&r.options.output&&e(523)in r[e(478)].output?r[e(478)][e(495)][e(523)]:r[e(401)]&&r._compilation[e(490)]&&e(523)in r[e(401)][e(490)]?r[e(401)][e(490)].publicPath:""}module.exports=extractLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x3176a7=_0x45aa;function _0x45aa(e,r){var t=_0x3d87();return(_0x45aa=function(e,r){return t[e-=433]})(e,r)}function _createForOfIteratorHelper(e,r){var t,a,n,o,s=_0x45aa,c=s(464)!=typeof Symbol&&e[Symbol[s(447)]]||e[s(454)];if(c)return n=!(a=!0),{s:function(){c=c[s(477)](e)},n:function(){var e=c[s(472)]();return a=e.done,e},e:function(e){n=!0,t=e},f:function(){var e=s;try{a||null==c[e(479)]||c[e(479)]()}finally{if(n)throw t}}};if(Array[s(438)](e)||(c=_unsupportedIterableToArray(e))||r&&e&&s(494)==typeof e[s(498)])return c&&(e=c),o=0,{s:r=function(){},n:function(){return o>=e[s(498)]?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r};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,r){var t,a=_0x45aa;if(e)return a(484)==typeof e?_arrayLikeToArray(e,r):("Object"===(t={}[a(457)][a(477)](e)[a(480)](8,-1))&&e.constructor&&(t=e[a(463)][a(465)]),a(456)===t||a(445)===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[a(486)](t)?_arrayLikeToArray(e,r):void 0)}function _arrayLikeToArray(e,r){var t=_0x45aa;(null==r||r>e[t(498)])&&(r=e[t(498)]);for(var a=0,n=Array(r);a<r;a++)n[a]=e[a];return n}(()=>{for(var e=_0x45aa,r=_0x3d87();;)try{if(653208==-parseInt(e(469))+parseInt(e(443))/2*(-parseInt(e(471))/3)+parseInt(e(492))/4+-parseInt(e(482))/5+parseInt(e(501))/6*(-parseInt(e(496))/7)+parseInt(e(499))/8*(parseInt(e(488))/9)+parseInt(e(437))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var path=require(_0x3176a7(474)),css=require(_0x3176a7(460)),loaderUtils=require(_0x3176a7(467)),utils=require(_0x3176a7(468)),nodeNameUtils=require(_0x3176a7(476));function getBuildInfo(e,r){var t=_0x3176a7;e.get(t(449))&&e.get("scopeId")&&(r[t(449)]=!0,r[t(434)]=e[t(489)]("scopeId"))}function transQType(e,r,t){return e&&(e.get("type")&&(r=e.get("type")),getBuildInfo(e,t)),r}function hcssLoader(e){var r=_0x3176a7,t=[],a=initBuildInfo(),n=path[r(487)](this.rootContext,this[r(452)]).replace(/.(css|sass|scss|styl|less|stylus)$/,"").replace(/\\/g,"/"),o=n===r(433)?r(433):r(466),e=("?"===this[r(450)][0]&&(o=transQType(loaderUtils.parseQuery(this[r(450)]),o,a)),e[r(475)](/\/\*[\s\S]*?\*\//g,""));try{var s=getSegs(getCssAst(this,e,t,a)),c="";return r(433)===o&&(c=r(439)+"var info = module.exports.info\n\tinjectStyle(segs, sourcemap, info)"),0<t[r(498)]&&utils[r(478)](this,t),r(444)[r(485)](JSON.stringify(s),r(490))[r(485)](n,'", type:"')[r(485)](o,r(451)).concat(c)}catch(e){t[r(435)]({reason:r(453).concat(this[r(452)],"\n ")[r(485)](e)}),utils[r(478)](this,t)}return""}function initBuildInfo(){var e={scoped:!1};return e}function getCssAst(e,r,t,a){var n,o=_0x3176a7;try{n=css[o(491)](r,{from:e[o(452)]})}catch(e){t[o(435)]({line:e[o(440)],column:e.column,reason:e[o(457)]()})}return n&&traverseSelectors(n[o(458)],a),n}function traverseSelectors(e,r){var t=_0x3176a7;if(e){var a,n=_createForOfIteratorHelper(e);try{for(n.s();!(a=n.n())[t(436)];){var o=a[t(493)];"rule"===o[t(441)]?transSelectorName(o,r):o[t(441)]===t(481)&&o[t(465)]===t(459)&&traverseSelectors(o[t(458)],r)}}catch(e){n.e(e)}finally{n.f()}}}function transSelectorName(e,r){var t=_0x3176a7,a=e[t(455)].replace(t(483),"")[t(462)](",");if(a){for(var n,o=0,s=a[t(498)];o<s;o++)a[o]=nodeNameUtils[t(497)](a[o]),r.scoped&&(0<(n=a[o][t(448)](":"))?a[o]=a[o][t(475)](":","["[t(485)](r[t(434)],"]:")):n<0&&(a[o]="".concat(a[o],"[")[t(485)](r[t(434)],"]")));e[t(455)]=a[t(442)](",")}}function getSegs(e){var r=_0x3176a7,t=[];e&&(e[r(458)]=checkRules(e[r(458)]));var a,n=_createForOfIteratorHelper(null!=(e=(i=null!=(e=null==e?void 0:e[r(457)]())?e:"")[r(500)](/\$ascf[+\-]?[0-9.]+(?=rpx)/g))?e:[]);try{for(n.s();!(a=n.n())[r(436)];){var o=a.value,s=i.indexOf("".concat(o,"rpx")),c=parseFloat(o[r(473)](5)),u=i[r(473)](0,s),i=i[r(473)](s+o[r(498)]+3);t.push(u),t[r(435)]([2,c])}}catch(e){n.e(e)}finally{n.f()}return t[r(435)](i),t}function checkDeclarations(e){var r,t=_0x3176a7,a=_createForOfIteratorHelper(e);try{for(a.s();!(r=a.n())[t(436)];){var n=r[t(493)];n.value&&(n[t(493)]=n.value[t(475)](/([+\-]?[0-9.]+)(?=rpx)/g,t(470)))}}catch(e){a.e(e)}finally{a.f()}return e}function checkRules(e){var r,t=_0x3176a7,a=_createForOfIteratorHelper(e);try{for(a.s();!(r=a.n()).done;){var n,o=r[t(493)];o[t(441)]===t(495)?(n=o.nodes)&&0<n[t(498)]&&(o[t(458)]=checkDeclarations(n)):"atrule"!==o[t(441)]||o[t(465)]!==t(459)&&o[t(465)]!==t(446)||(o[t(458)]=checkRules(o[t(458)]))}}catch(e){a.e(e)}finally{a.f()}return e}function _0x3d87(){var e=["call","logWarn","return","slice","atrule","1247580DgycDa","/\n/g","string","concat","test","relative","18DFYHhu","get",',\n info:{path:"',"parse","411696zUfJaY","value","number","rule","7ogTagG","transformSelectorName","length","237264Qfjeew","match","1120314rxlybH","app","scopeId","push","done","21570310yDLqqV","isArray","\n\tvar segs = module.exports.segs\n\tvar sourcemap = module.exports.sourcemap\n\t","line","type","join","212UATMWa","module.exports = {\n segs:","Set","keyframes","iterator","indexOf","scoped","resourceQuery",'"}\n }',"resourcePath","ERROR: Cannot parse css : ","@@iterator","selector","Map","toString","nodes","media","postcss","exports","split","constructor","undefined","name","page","./loader-utils","./common/utils","892748vzgksu","$ascf$1","9540SLsCeq","next","substring","path","replace","./template/node-name-utils"];return(_0x3d87=function(){return e})()}module[_0x3176a7(461)]=hcssLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x574491=_0x12fc;function _0x12fc(e,r){var t=_0x5a8f();return(_0x12fc=function(e,r){return t[e-=382]})(e,r)}function _0x5a8f(){var e=["215932heGLBL","stringifyRequest","location, navigator, print, prompt, screen, self, sessionStorage, window, parent, stop, addEventListener, ","8182224AZSjJE",");\n","module.exports = (function (require, module, exports, Caches, DOMParser, Image, Reporter, URL, ","1238040IgQlOO","67707qNMnOI","postMessage, Vue, injectStyle, pageLoaded) {\n ","./common/hjs-utils","461888fIWdWL","./path-process-loader","test","48CkXojZ","concat","3799250KiqSfo","exports","Vue, injectStyle, pageLoaded) {\n ","568eWMwtV","resolve","WebSocket, WeixinJSCore, XMLHttpRequest, alert, confirm, document, fetch, frames, history, localStorage, ","print, prompt, screen, self, sessionStorage, window, parent, stop, addEventListener, postMessage, ","\n ","function (require, module, exports, Caches, DOMParser, Image, Reporter, URL, WebSocket, WeixinJSCore, ","951265vDwIzk","XMLHttpRequest, alert, confirm, document, fetch, frames, history, localStorage, location, navigator, "];return(_0x5a8f=function(){return e})()}(()=>{for(var e=_0x12fc,r=_0x5a8f();;)try{if(778608==+parseInt(e(392))+parseInt(e(400))/2+-parseInt(e(407))/3*(-parseInt(e(394))/4)+-parseInt(e(383))/5+-parseInt(e(397))/6+-parseInt(e(404))/7+-parseInt(e(386))/8*(-parseInt(e(401))/9))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var path=require("path"),loaderUtils=require("./loader-utils"),pathProcessLoader=require(_0x574491(405));function hjsLoader(e){var r=_0x574491;return r(399)+r(388)+r(396)+r(402)[r(382)](padInnerFunction(e,this),r(390)).concat(e,"\n return module.exports;\n })(require, module, module.exports);")}function hjsLoaderForInnerHjs(e){var r=_0x574491,e=pathProcessLoader.call(this,e);return r(391)+r(393)+r(389)+r(385)[r(382)](padInnerFunction(e,this),r(390))[r(382)](e,"\n return module.exports;\n }")}function padInnerFunction(e,r){var t=_0x574491;return/get(?=RegExp|Date|Property4Object)/[t(406)](e)?"\nvar { getRegExp, getDate, getProperty4Object } = require("+""[t(382)](loaderUtils[t(395)](r,"!"[t(382)](path[t(387)](__dirname,t(403)))),t(398)):""}module[_0x574491(384)]=hjsLoader,module.exports.hjsLoaderForInnerHjs=hjsLoaderForInnerHjs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0xcc1446=_0x4e77,_excluded=((()=>{for(var e=_0x4e77,t=_0x2265();;)try{if(810345==-parseInt(e(302))*(parseInt(e(324))/2)+-parseInt(e(238))/3*(-parseInt(e(292))/4)+-parseInt(e(290))/5+parseInt(e(276))/6*(parseInt(e(270))/7)+parseInt(e(332))/8*(parseInt(e(194))/9)+parseInt(e(299))/10+parseInt(e(365))/11*(-parseInt(e(294))/12))break;t.push(t.shift())}catch(e){t.push(t.shift())}})(),["componentName"]);function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x4e77(282))}function _iterableToArray(e){var t=_0x4e77;if(t(243)!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[t(259)])return Array.from(e)}function _arrayWithoutHoles(e){if(Array[_0x4e77(314)](e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var r,n,a,o,i=_0x4e77,s=i(243)!=typeof Symbol&&e[Symbol[i(352)]]||e[i(259)];if(s)return a=!(n=!0),{s:function(){s=s[i(222)](e)},n:function(){var e=s.next();return n=e.done,e},e:function(e){a=!0,r=e},f:function(){var e=i;try{n||null==s[e(389)]||s[e(389)]()}finally{if(a)throw r}}};if(Array.isArray(e)||(s=_unsupportedIterableToArray(e))||t&&e&&i(210)==typeof e[i(323)])return s&&(e=s),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},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=_0x4e77;if(e)return n(205)==typeof e?_arrayLikeToArray(e,t):(r={}[n(341)].call(e)[n(325)](8,-1),n(356)===r&&e[n(188)]&&(r=e[n(188)][n(241)]),n(277)===r||n(346)===r?Array[n(234)](e):n(206)===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[n(393)](r)?_arrayLikeToArray(e,t):void 0)}function _arrayLikeToArray(e,t){var r=_0x4e77;(null==t||t>e[r(323)])&&(t=e[r(323)]);for(var n=0,a=Array(t);n<t;n++)a[n]=e[n];return a}function _objectWithoutProperties(e,t){var r=_0x4e77;if(null==e)return{};var n,a=_objectWithoutPropertiesLoose(e,t);if(Object[r(233)])for(var o=Object[r(233)](e),i=0;i<o[r(323)];i++)n=o[i],t[r(251)](n)||{}[r(383)][r(222)](e,n)&&(a[n]=e[n]);return a}function _objectWithoutPropertiesLoose(e,t){var r=_0x4e77;if(null==e)return{};var n,a={};for(n in e)if({}[r(345)][r(222)](e,n)){if(t[r(251)](n))continue;a[n]=e[n]}return a}var path=require(_0xcc1446(258)),fs=require("fs"),loaderUtils=require(_0xcc1446(320)),_require=require(_0xcc1446(244)),compile=_require[_0xcc1446(257)],nodeNameUtils=require(_0xcc1446(254)),attrUtils=require(_0xcc1446(339)),utils=require("./common/utils"),expUtils=require(_0xcc1446(313)),Parse5=require(_0xcc1446(304)),qjsLoader=require(_0xcc1446(281)),validator=require(_0xcc1446(317)),_require2=require(_0xcc1446(364)),hashSum=_require2[_0xcc1446(390)],_fixComponent=require("./common/fixComponentName"),log4js=require(_0xcc1446(228)),logger=log4js.getLogger(_0xcc1446(252)),moduleNameReg=/^((?!_)(?!\$)).*/,functionalPlaceHolder=_0xcc1446(191)+_0xcc1446(240),isTemplateOrImport=function(e){var t=_0xcc1446;return[t(198),"import"][t(251)](e)},isPageOrComponent=function(e){var t=_0xcc1446;return[t(274),t(372)][t(251)](e)},resolve=function(){for(var e=_0xcc1446,t=arguments[e(323)],r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return path[e(388)][e(307)](path,[__dirname][e(187)](r))},filterTextNodes=function(e){var r=_0xcc1446;return e[r(293)](function(e){var t=r;return![t(321),t(219)][t(251)](e[t(273)])})},dependencies=new Map;function addDependency(r,e){var n=_0xcc1446;e[n(300)](function(e,t){return r[n(391)](t)})}function getComponentsObj(a,e,t){var o=_0xcc1446,r=e[o(241)],i=(o(392),e[o(193)]),e=(a[o(272)]="",a[o(284)]="",a[o(295)]=[],a[o(203)]),n=a[o(347)],s=a[o(255)],c=a.template[o(186)],u=[],l=[];e[o(300)](function(e){var t=o;("hjs"===e.type?u:l)[t(358)](e)}),c=c.filter(function(r){return!u.find(function(e){var t=_0x4e77;return e.name===r[t(241)]})}),u[o(300)](function(e){return concatTemplateRequiredQjs(t,e,a,i)}),c[o(300)](function(e){return concatTemplateRequiredQjs(t,e,a,i)}),n[o(300)](function(t){var r=o;l[r(261)](function(e){return e[r(241)]===t.name})||l[r(358)](t)}),(s=s[o(261)](function(e){var t=o;return utils[t(207)](e[t(241)])})?l.filter(function(e){return e[o(241)]!==r}):l[o(293)](function(r){var n=o;return s[n(261)](function(e){var t=n;return e.name===r[t(241)]})}))[o(300)](function(e){var t=o,r=e[t(241)],n=path[t(348)](i,e[t(258)])[t(200)](/\\/g,"/");a[t(272)]+='\n"'[t(187)](r,t(248))[t(187)](n,t(328)).concat(e[t(392)],t(315))[t(187)](e.name,t(216))})}function concatTemplateRequiredQjs(e,t,r,n){var a=_0xcc1446;t[a(258)]?(n=path[a(348)](n,t[a(258)])[a(200)](/\\/g,"/"),r.qjsComponentList+=a(375)[a(187)](t.name,a(384))[a(187)](n,a(288)),r[a(295)][a(358)](t.name)):(n=qjsLoader.qjsLoaderForInnerQjs[a(222)](e,t[a(338)]),r[a(284)]+=a(326)[a(187)](t[a(241)]," = (")[a(187)](n,a(306)),r.boundKeys[a(358)](t[a(241)]))}function initParameter(e){var t,r=_0xcc1446,n=e.rootContext,a=e.resourcePath,o=e[r(262)],e=e[r(242)],e=void 0===e?{}:e,i=path[r(256)](n,a)[r(200)](/.hxml$/,"")[r(200)](/\\/g,"/"),s=e[r(213)][r(266)](i)?e[r(213)].get(i):{},c=s[r(392)],c=void 0===c?"":c,u=s[r(245)],s=s.componentList,s=void 0===s?[]:s,o=("?"===o[0]&&(o=loaderUtils[r(253)](o))&&(c=o.get(r(392)),t=o.get(r(241))),Object[r(349)](e[r(361)][r(272)]||[])[r(187)](s[r(382)](function(e){return e.key})));return{rootPath:n,resourcePath:a,basePath:i,type:c,name:t,customComponentNameList:o,useCustomTabBar:(e[r(361)][r(274)][i]||{})[r(337)],componentName:u}}function initBuildInfo(e,t){var r=_0xcc1446,n={};return n[r(203)]=[],n.qjsPropsList=[],n.buildLog=[],n[r(255)]=[],n.declareTemplates=[],n[r(198)]={ast:null,type:null,name:null,propsList:{},forPropsList:[],componentList:[],needRequiredQjs:[],hasDynamicName:!1},n[r(189)]=!(!1===((e.options[r(329)]||{})[r(312)]||{})[r(268)]),n[r(215)]=t[r(392)],n}function filterCompPropsList(n,e){var a,t,o=_0xcc1446;if(isTemplateOrImport(e[o(392)]))return t=(e=n[o(198)])[o(201)],a=e[o(203)],(t=Object[o(349)](t))[o(300)](function(t){var r=o,e=a[r(261)](function(e){return e[r(241)]===t});e&&n[r(198)].needRequiredQjs[r(358)](e)}),e=a.map(function(e){return e.name}),utils[o(366)](t,e)}function hxmlLoader(e){var n=_0xcc1446,t=(this.cacheable&&this[n(220)](),initParameter(this)),r=t.componentName,t=_objectWithoutProperties(t,_excluded),a=initBuildInfo(this,t),e=transformToVue(e,a,t,r),o=filterCompPropsList(a,t),e=getRenderFunc(e,a),i=e[n(264)],e=e[n(232)],s=(getComponentsObj(a,t,this),utils[n(369)](this,a.buildLog),t[n(392)]),c=t[n(227)],u=t[n(337)],l=[];if(a.template[n(208)]&&l[n(358)](n(221)+""[n(187)](loaderUtils[n(204)](this,"!"[n(187)](resolve(n(395)))),");")),i[n(251)](n(247))&&l[n(358)](n(271)+""[n(187)](loaderUtils.stringifyRequest(this,"!".concat(resolve(n(362)))),");")),l[n(358)](isTemplateOrImport(s)?"var render = function (_createElement, _vm) {":n(342)),a[n(295)][n(323)]&&l.push(a[n(284)]),l[n(358)](""[n(187)](i,"};")),l[n(358)](n(212)[n(187)](e,"];\n render._withStripped = true;")),isTemplateOrImport(s))return addDependency(this,dependencies),l.push(n(260).concat(JSON[n(335)](o),n(224))[n(187)](c,n(385))[n(187)](a[n(272)],n(298)).concat(s,'",\n staticRenderFns: staticRenderFns,\n };\n module.exports = templateConfig;')),l[n(348)]("\r\n")[n(200)](n(334),"")[n(200)]("$style=_vm.$style, $class=_vm.$class, $slots = _vm.$slots, eventHappen = _vm.eventHappen;",functionalPlaceHolder);var p=this[n(242)][n(374)];if(isPageOrComponent(s)){i=this[n(242)].components.get(c);if(i){var m,e=i.componentList,f=_createForOfIteratorHelper(e=s===n(274)?e[n(293)](function(t){var r=n;return!p[r(265)](function(e){return e[r(258)]===t.path})}):e);try{for(f.s();!(m=f.n())[n(250)];){var d,_,v=m[n(338)];v.key!==n(322)&&(d="q-"[n(187)](_fixComponent(v.key)),_=n(283)[n(187)](v[n(258)],"']"),a[n(272)]+='\n"'.concat(d,n(279))[n(187)](_,","))}}catch(e){f.e(e)}finally{f.f()}}}o="",c=utils[n(354)](this[n(236)][n(200)](/.hxml$/,""));return fs[n(218)](c)&&(o=n(360).concat(hashSum(c))),l[n(358)](n(195).concat(r?n(229).concat(_fixComponent(r),'",'):"",n(196))[n(187)](t.basePath,'",\n ')[n(187)](s===n(274)?getGlobalUsingComponents(p):"",n(377))[n(187)](a[n(272)],'},\n render: render,\n type:"')[n(187)](s,'",\n staticRenderFns: staticRenderFns,\n ').concat(o?n(394)[n(187)](JSON[n(335)](o),","):"",n(235))[n(187)](u?n(367):"","\n };")),s===n(274)?l[n(358)](n(297)):l[n(358)](n(357)[n(187)](t[n(227)],n(275))),fs.existsSync(c)&&(i="",s===n(372)&&(i=n(214)[n(187)](o)),l.push('const cssData = require("'[n(187)](c,n(328))[n(187)](s)[n(187)](i,n(333))+n(291))),addDependency(this,dependencies),l[n(348)]("\r\n")}function getRenderFunc(e,t){var r=_0xcc1446,t=(isTemplateOrImport(t[r(215)])&&(e="<template functional>"[r(187)](e,r(318))),compile(e,{}));return{render:t[r(264)],staticRenderFns:t.staticRenderFns}}function getGlobalUsingComponents(e){var r=_0xcc1446,n=[r(285)];return e[r(300)](function(e){var t=r;n.push('"q-'[t(187)](_fixComponent(e[t(387)]),"\": __pageComponentInfos['").concat(e[t(258)],t(230)))}),n.push("},"),n.join("\r\n")}function catchInvalidBindingVariable(e,r,t,n){var a=_0xcc1446,o=validator.findIncldeTagSrcChain(t,n);(e=e[a(293)](function(e){var t=a;return attrUtils[t(386)].includes(e[t(241)])}))[a(300)](function(e){var t=a;utils.isExp(e[t(338)])&&r.buildLog.push({filePath:o,reason:"NOTE: Cannot use dynamic on directive "[t(187)](e[t(241)],", ")+"binding value: "[t(187)](e[t(338)]," should without {{}}."),loc:e[t(319)]})})}function travelNodes(e,t,r,n){var a,o=_0xcc1446;if(e[o(273)]===o(321)&&(a="text"===e[o(267)][o(273)][o(200)](/^q\-/,""),e[o(338)]=a?e[o(338)][o(200)](/\r/g,""):e.value[o(200)](/\n|\r/g,""),t[o(198)].forPropsList=e[o(190)]||[],e[o(338)]=e[o(338)][o(200)](/{{(\r?\n|\s|\d)*}}/g,""),expUtils[o(350)](e[o(338)]))&&(attrUtils.traverseWrapper(e,t),attrUtils.genTextElementVal(e,t)),e[o(303)]&&0<e[o(303)].length){var i,s=_createForOfIteratorHelper(e.childNodes);try{for(s.s();!(i=s.n())[o(250)];){var c,u=i.value,l=(t[o(198)][o(278)]=u._forPropsChain||[],u.nodeName&&(validator[o(239)](u,t,r),c=n&&u[o(273)]===n?"q-"[o(187)](_fixComponent(n)):nodeNameUtils[o(308)](u.nodeName,r),u[o(273)]=c,u.tagName)&&(u[o(231)]=c),u[o(311)]);l&&0<l[o(323)]&&(catchInvalidBindingVariable(utils[o(336)](l),t,u,r),attrUtils[o(327)](l,t,u)),travelNodes(u,t,r,n)}}catch(e){s.e(e)}finally{s.f()}}}function handleImport(e,t,r){var n=_0xcc1446,a=r[n(193)],r=r[n(236)],e=e[n(261)](function(e){var t=n;return e[t(241)]===t(263)});if(e){e=utils[n(363)](e[n(338)],r,a)[n(192)],e=fs[n(218)](e)?e:""[n(187)](e,n(331));if(fs[n(218)](e)){r=fs[n(370)](e,n(355)),r=Parse5[n(351)](r);if(r&&r[n(303)]){var o,i=path[n(256)](a,e),s=_createForOfIteratorHelper(r[n(303)]);try{for(s.s();!(o=s.n())[n(250)];){var c,u=o.value;u[n(273)]===n(198)&&(c=u[n(311)].find(function(e){return"name"===e[n(241)]}))&&t[n(358)]({type:n(376),name:_fixComponent(c[n(338)]),path:i})}}catch(e){s.e(e)}finally{s.f()}}}}}function handleInclude(n,a,e){var o=_0xcc1446,i=e,s=i[o(193)],c=i[o(236)];n[o(311)]&&n[o(311)].forEach(function(e){var t,r=o;e[r(241)]===r(263)&&(e=utils[r(363)](e[r(338)],c,s)[r(192)],e=fs.existsSync(e)?e:""[r(187)](e,r(331)),dependencies[r(226)](e[r(200)](/\//g,"\\"),!0),fs[r(218)](e))&&(t=fs.readFileSync(e,r(355)),i=Object[r(289)]({},i,{rootPath:s,resourcePath:e}),Parse5[r(351)](t)[r(303)][r(300)](function(e){var t=r;Parse5[t(379)][t(209)](n,e),"include"===e[t(231)]&&handleInclude(e,a,i)}),n[r(273)]=r(310),n[r(231)]=n[r(273)])})}function _0x4e77(e,t){var r=_0x2265();return(_0x4e77=function(e,t){return r[e-=184]})(e,t)}function processTemplate(e,t,r){var n=_0xcc1446,a=r.rootPath,o=r[n(236)],i=!1,s=!1;if(e[n(311)]&&0<e[n(311)][n(323)])for(var c=0,u=e[n(311)][n(323)];c<u;c++){var l=e[n(311)][c],p=(l[n(241)]!==n(241)&&"is"!==l[n(241)]||(l[n(338)]=_fixComponent(l[n(338)])),{type:n(198),name:l[n(338)],path:path[n(256)](a,o),qxmlPath:o});l[n(241)]===n(241)?(t[n(203)][n(358)](p),t.declareTemplates.push(p),l.value===r[n(241)]?(t[n(202)]=e).usingTemplates=[]:(t[n(340)]=[],e[n(255)]=t[n(340)]),s=i=!0):"is"===l.name&&(s=!0,t[n(255)][n(358)](p),e.usingTemplates)&&e[n(255)][n(358)](p)}return{isDeclaration:i,isComponent:s}}function _0x2265(){var e=["path","@@iterator","const templateConfig = {\n functional:true,\n props: ","find","resourceQuery","src","render","some","get","parentNode","tryCatch","getProjectAbsPath","51345YjYZDU","var _logUndefined = require(","usingComponents","nodeName","page","'] = pageConfig;","492FuBCRX","Map","forPropsList",'": ',', module name can not start with "_" or "$".',"./hjs-loader","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","__pageComponentInfos['","qjsComponentList","\nglobalComponents: {","exports","view","');\n","assign","4710940gQiIDo","injectStyle(cssData.segs, cssData.sourcemap, cssData.info);","68otVEZS","filter","25296UNTFHZ","boundKeys","has:for-index","global.pageLoaded(pageConfig);",'},\n render: render,\n type:"',"8252240cbeteN","forEach","module","108188EReSEf","childNodes","../ascf-converter/compiler-utils/parse5.bundle","orignNodeName",")(require, module, module.exports);\n","apply","transformNodeName","has:for","_@template@_","attrs","setting","./common/exp-utils","isArray","&name=","isDeclaration","./common/hxml-validator","</template>","loc","./loader-utils","#text","customTabBar","length","2BRfUil","slice","var ","handleAttrs","?type=","projectCfgData","index",".hxml","70952vTQDXs",'"); ',"_vm=this,","stringify","deepClone","useCustomTabBar","value","./template/attr-utils","exculdeTemplates","toString","var render = function () {","isComponent","WARNING: Unexpected hjs module name: ","hasOwnProperty","Set","declareTemplates","join","keys","containExpr","parseFragment","iterator","has:for-items","getComponentCssPath","utf8","Object","window.__pageComponentInfos = window.__pageComponentInfos || {};\n __pageComponentInfos['","push","fixAttrInitValue","data-q-","manifest","./common/logUndefined","getAbsPath","./common/hash-sum","6754caIIGt","uniqueSymmetricDifference",'customTabBar: __pageComponentInfos["custom-tab-bar/index"]',"include","logWarn","readFileSync","hasfix-component","component","hjs error : no module content!","globalComponents","\nvar ","import","\n components:{","error","defaultTreeAdapter","serialize","block","map","propertyIsEnumerable"," = require('",'",\n components:{',"QAFORKEYS","key","resolve","return","hashSum","addDependency","type","test","_scopeId : ","./common/fixComponentName","defUnfreezeProperty","buildLog","needRequiredQjs","concat","constructor","addCatchStatement","_forPropsChain","$style=_vm.parent.$style, $class=_vm.parent.$class, ","filePath","rootPath","918fMWYIt","const pageConfig = {\n",'path: "',"has:for-item","template","item","replace","propsList","templateAst","componentList","stringifyRequest","string","Arguments","isExp","hasDynamicName","appendChild","number","createElement","var staticRenderFns = [","components","&scoped=true&scopeId=","queryType","'),","defFreezeProperty","existsSync","#comment","cacheable","var _fixComponent = require(","call","attrAliasMap",',\n path: "',"_vm.props.internal__updateTrigger","set","basePath","../common/log4js.js",'name: "q-',"'],","tagName","staticRenderFns","getOwnPropertySymbols","from","\n ","resourcePath","removeExprffix","145359VZyAxx","checkNode","eventHappen = _vm.parent.eventHappen,_t = _t.bind(_vm.parent);","name","options","undefined","./vue-compiler/vue.bundle","componentName","_vm.$dataprops.internal__updateTrigger","_logUndefined","\": require('","v-bind:data-internal-update-trigger","done","includes","hxml-loader","parseQuery","./template/node-name-utils","usingTemplates","relative","compile"];return(_0x2265=function(){return e})()}function handleQJS(e,t,r){var n,a,o=_0xcc1446,i=r.rootPath,r=r[o(236)],s=e.attrs[o(261)](function(e){var t=o;return e[t(241)]===t(301)}),c=e[o(311)].find(function(e){var t=o;return e[t(241)]===t(263)});s&&(n=s.value),c&&(a=utils[o(269)](c[o(338)],r,i)),n&&(!moduleNameReg.test(n)&&t[o(185)]&&t.buildLog[o(358)]({reason:o(344)[o(187)](n,o(280)),loc:s[o(319)]}),c={type:"hjs",name:n},a?c.path=a:((r=Parse5[o(380)](e))||logger[o(378)](o(373)),c[o(338)]=r),t[o(203)][o(358)](c),t[o(198)][o(203)][o(358)](c))}function traverseAst(e,i,s){var c=_0xcc1446,u=3<arguments[c(323)]&&void 0!==arguments[3]?arguments[3]:[];e[c(303)]&&e[c(303)][c(323)]&&(e[c(303)]=e.childNodes[c(293)](function(e){var t,r,n=c,a=!0,o=e[n(311)];return e.parentNode[n(255)]&&utils[n(184)](e,n(255),e[n(267)][n(255)]),e.nodeName===n(198)?(r=(t=processTemplate(e,i,s))[n(343)],t[n(316)]?(utils[n(184)](e,n(190),[]),a=!1):r?(utils[n(217)](e,n(305),e[n(273)]),e[n(273)]="component"):e.nodeName=n(310)):e[n(273)]===n(368)?handleInclude(e,i,s):"hjs"===e[n(273)]||"wxs"===e[n(273)]?(handleQJS(e,i,s),a=!1):e.nodeName===n(376)?(handleImport(e.attrs,i.declareTemplates,s),a=!1):e[n(273)]===n(381)?(e.nodeName="_@template@_",e[n(231)]=n(310)):e[n(273)]===n(321)&&/^\n\s*$/[n(393)](e[n(338)])?a=!1:e[n(273)]===n(372)&&(e[n(273)]=n(371)),utils[n(184)](e,n(190),(u||[]).concat(forPropsCollect(o))),traverseAst(e,i,s,e[n(190)]),a}))}function forPropsCollect(e){var t,r=_0xcc1446,n=[];return e&&(t=e.map(function(e){var t=_0x4e77;return attrUtils[t(223)][e[t(241)]]?attrUtils.attrAliasMap[e.name]:e[t(241)]}),e=e.filter(function(e){var t=_0x4e77;return attrUtils[t(386)][t(251)](e[t(241)])})[r(382)](function(e){var t=r;return attrUtils[t(359)](e),expUtils[t(237)](e.value)}),t[r(251)](r(309)))&&(1===t.filter(function(e){var t=r;return e.startsWith(t(309))})[r(323)]?n[r(358)](r(330),"item"):t[r(251)](r(197))&&!t.includes(r(296))?n[r(358)][r(307)](n,[r(330)].concat(_toConsumableArray(e))):!t[r(251)]("has:for-item")&&t[r(251)](r(296))?n[r(358)][r(307)](n,[r(199)][r(187)](_toConsumableArray(e))):n[r(358)][r(307)](n,_toConsumableArray(e))),n}function rootAddExtraAttr(e,t){var r=_0xcc1446,t=isTemplateOrImport(t.queryType)?r(225):r(246),t={name:r(249),value:t};try{filterTextNodes(e[r(303)])[0][r(311)][r(358)](t)}catch(e){return!1}}function findTemplateNode(r,e){var n=_0xcc1446;if(e.name)return r.usingTemplates=r[n(202)][n(255)],r[n(202)];r[n(340)]&&r[n(340)][n(323)]&&(r.usingTemplates=r.usingTemplates[n(293)](function(t){var e=n;return r.exculdeTemplates[e(261)](function(e){return e.name!==t.name})}))}function transformToVue(e,t,r,n){var a=_0xcc1446,o=Parse5[a(351)](e);return traverseAst(o,t,r),(o=findTemplateNode(t,r)||o)?(adaptMultiRootNode(o,r),travelNodes(o,t,r,n),rootAddExtraAttr(o,t),Parse5[a(380)](o)[a(200)](/q-_@template@_/g,a(198))):e}function adaptMultiRootNode(e,t){var r=_0xcc1446;if(!isTemplateOrImport(t[r(392)])){var n=!1,a=e[r(303)],o=a.length,i=t.type===r(274)?r(274):r(287);if(a&&o){var s,o=filterTextNodes(a);if(1<o[r(323)]&&(n=!0),n=1===o[r(323)]&&((s=(s=o.find(function(e){var t=r;return e.tagName===t(310)}))&&filterTextNodes(s[r(303)]))&&(n=1<s[r(323)]||s[r(265)](function(e){return"_@template@_"===e[r(231)]})),o[0][r(311)]&&o[0].attrs[r(265)](function(e){var t=r;return["has:for",t(353)][t(251)](e[t(241)])})&&(n=!0),t[r(392)]===r(274))&&"page"!==o[0][r(231)]?!0:n){var c,u=Parse5[r(379)][r(211)](i,null,[]),l=_createForOfIteratorHelper(a);try{for(l.s();!(c=l.n())[r(250)];){var p=c[r(338)];Parse5.defaultTreeAdapter.appendChild(u,p)}}catch(e){l.e(e)}finally{l.f()}e[r(303)]=[],e.childNodes[0]=u}}}}module[_0xcc1446(286)]=hxmlLoader;
|
|
1
|
+
var _0x1eee7c=_0x3145,_excluded=((()=>{for(var e=_0x3145,t=_0x2834();;)try{if(929660==+parseInt(e(324))*(parseInt(e(423))/2)+-parseInt(e(482))/3*(-parseInt(e(487))/4)+-parseInt(e(284))/5+parseInt(e(455))/6*(parseInt(e(413))/7)+parseInt(e(390))/8+-parseInt(e(399))/9+-parseInt(e(430))/10*(parseInt(e(467))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}})(),[_0x1eee7c(362)]);function _0x3145(e,t){var n=_0x2834();return(_0x3145=function(e,t){return n[e-=270]})(e,t)}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){var t=_0x1eee7c;if("undefined"!=typeof Symbol&&null!=e[Symbol[t(492)]]||null!=e["@@iterator"])return Array[t(319)](e)}function _arrayWithoutHoles(e){if(Array[_0x1eee7c(372)](e))return _arrayLikeToArray(e)}function _objectWithoutProperties(e,t){var n=_0x1eee7c;if(null==e)return{};var r,o=_objectWithoutPropertiesLoose(e,t);if(Object[n(449)])for(var a=Object[n(449)](e),i=0;i<a[n(354)];i++)r=a[i],t[n(406)](r)||{}.propertyIsEnumerable[n(358)](e,r)&&(o[r]=e[r]);return o}function _objectWithoutPropertiesLoose(e,t){var n=_0x1eee7c;if(null==e)return{};var r,o={};for(r in e)if({}[n(475)].call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}function _createForOfIteratorHelper(e,t){var n,r,o,a,i=_0x1eee7c,s=i(328)!=typeof Symbol&&e[Symbol[i(492)]]||e["@@iterator"];if(s)return o=!(r=!0),{s:function(){s=s.call(e)},n:function(){var e=i,t=s.next();return r=t[e(367)],t},e:function(e){o=!0,n=e},f:function(){var e=i;try{r||null==s[e(315)]||s[e(315)]()}finally{if(o)throw n}}};if(Array[i(372)](e)||(s=_unsupportedIterableToArray(e))||t&&e&&i(374)==typeof e.length)return s&&(e=s),a=0,{s:t=function(){},n:function(){return a>=e[i(354)]?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:t};throw new TypeError(i(278))}function _unsupportedIterableToArray(e,t){var n,r=_0x1eee7c;if(e)return"string"==typeof e?_arrayLikeToArray(e,t):(n={}[r(497)][r(358)](e).slice(8,-1),r(418)===n&&e[r(453)]&&(n=e[r(453)][r(404)]),r(351)===n||r(331)===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[r(298)](n)?_arrayLikeToArray(e,t):void 0)}function _arrayLikeToArray(e,t){(null==t||t>e[_0x1eee7c(354)])&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var path=require(_0x1eee7c(477)),fs=require("fs"),loaderUtils=require(_0x1eee7c(286)),_require=require(_0x1eee7c(499)),compile=_require[_0x1eee7c(273)],nodeNameUtils=require("./template/node-name-utils"),attrUtils=require(_0x1eee7c(360)),utils=require(_0x1eee7c(382)),expUtils=require(_0x1eee7c(410)),Parse5=require(_0x1eee7c(300)),hjsLoader=require("./hjs-loader"),validator=require("./common/hxml-validator"),_require2=require(_0x1eee7c(478)),hashSum=_require2[_0x1eee7c(283)],_fixComponent=require(_0x1eee7c(472)),_require3=require(_0x1eee7c(377)),IMPLICIT_MODEL_ATTRS=_require3[_0x1eee7c(381)],_require4=require(_0x1eee7c(426)),configs=_require4[_0x1eee7c(465)],log4js=require("../common/log4js.js"),logger=log4js[_0x1eee7c(408)]("hxml-loader"),_require5=require(_0x1eee7c(334)),ASCF_SRC_PATH=_require5[_0x1eee7c(422)],moduleNameReg=/^((?!_)(?!\$)).*/,functionalPlaceHolder=_0x1eee7c(490)+"eventHappen = _vm.parent.eventHappen,_t = _t.bind(_vm.parent);",isTemplateOrImport=function(e){var t=_0x1eee7c;return[t(333),t(432)][t(406)](e)},isPageOrComponent=function(e){var t=_0x1eee7c;return[t(400),t(451)][t(406)](e)},resolve=function(){for(var e=_0x1eee7c,t=arguments[e(354)],n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return path[e(371)].apply(path,[__dirname][e(483)](n))},filterTextNodes=function(e){var n=_0x1eee7c;return e[n(373)](function(e){var t=n;return![t(469),"#comment"][t(406)](e[t(383)])})},dependencies=new Map;function addDependency(n,e){e.forEach(function(e,t){return n[_0x3145(277)](t)})}function getComponentsObj(o,e,t){var a=_0x1eee7c,n=e[a(404)],i=e[a(285)],e=(o.usingComponents="",o.hjsComponentList="",o.pageTemplateList="",o[a(309)]="",o[a(282)]=[],o[a(466)]),r=o[a(417)],s=o.usingTemplates,c=o[a(333)][a(474)],l=[],u=[];e[a(376)](function(e){var t=a;e[t(498)]===t(386)?l.push(e):u[t(405)](e)}),c=c[a(373)](function(n){var r=a;return!l[r(428)](function(e){var t=r;return e[t(404)]===n[t(404)]})}),l[a(376)](function(e){return concatTemplateRequiredHjs(t,e,o,i)}),c.forEach(function(e){return concatTemplateRequiredHjs(t,e,o,i)}),r[a(376)](function(n){var r=a;u[r(428)](function(e){var t=r;return e[t(404)]===n[t(404)]})||u.push(n)}),(s=s[a(428)](function(e){var t=a;return utils[t(296)](e[t(404)])})?u[a(373)](function(e){return e[a(404)]!==n}):u[a(373)](function(n){var r=a;return s[r(428)](function(e){var t=r;return e[t(404)]===n[t(404)]})})).forEach(function(e){var t=a,n=e.name,r=path[t(332)](i,e.path)[t(335)](/\\/g,"/");o[t(440)]+='\n"'.concat(n,t(464)).concat(r,t(337))[t(483)](e.type,t(416))[t(483)](e[t(404)],t(308))}),configs[a(447)]&&generateTemplateInfo(u,i,o)}function generateTemplateInfo(e,o,a){var t,i=_0x1eee7c;0<(null==e?void 0:e[i(354)])&&(t=e[0].path,t=path[i(332)](o,t)[i(335)](/\\/g,"/"),a[i(347)]+=i(431)[i(483)](t,"?type=templateComponents'),")),null!=e&&e[i(376)](function(e){var t=i,n=e[t(404)],r=path[t(332)](o,e[t(477)])[t(335)](/\\/g,"/");a[t(309)]+='\n"'[t(483)](n,t(464))[t(483)](r,t(337)).concat(e.type,t(416)).concat(e[t(404)],t(308))})}function concatTemplateRequiredHjs(e,t,n,r){var o=_0x1eee7c;t[o(477)]?(r=path.join(r,t[o(477)])[o(335)](/\\/g,"/"),n[o(342)]+=o(290)[o(483)](t[o(404)]," = require('").concat(r,o(280))):(r=hjsLoader[o(479)][o(358)](e,t.value),n[o(342)]+=o(397)[o(483)](t.name," = (").concat(r,o(366))),n[o(282)][o(405)](t[o(404)])}function initParameter(e){var t,n=_0x1eee7c,r=e[n(348)],o=e[n(303)],a=e.resourceQuery,e=e[n(380)],e=void 0===e?{}:e,i=path.relative(r,o).replace(/.hxml$/,"")[n(335)](/\\/g,"/"),s=e.components[n(401)](i)?e.components[n(401)](i):{},c=s[n(498)],c=void 0===c?"":c,l=s[n(362)],s=s.componentList,s=void 0===s?[]:s,a=("?"===a[0]&&(a=loaderUtils[n(318)](a))&&(c=a.get(n(498)),t=a[n(401)]("name")),Object.keys(e[n(307)][n(440)]||[])[n(483)](s.map(function(e){return e[n(411)]})));return{rootPath:r,resourcePath:o,basePath:i,type:c,name:t,customComponentNameList:a,useCustomTabBar:(e[n(307)].page[i]||{})[n(480)],componentName:l}}function initBuildInfo(e,t){var n=_0x1eee7c,r={componentList:[]};return r[n(427)]=[],r.usingTemplates=[],r[n(417)]=[],r.template={ast:null,type:null,name:null,propsList:{},forPropsList:[],componentList:[],needRequiredHjs:[],hasDynamicName:!1},r[n(302)]=!(!1===((e[n(380)][n(424)]||{})[n(340)]||{})[n(345)]),r[n(494)]=t[n(498)],r}function filterCompPropsList(r,e){var o,t,a=_0x1eee7c;if(isTemplateOrImport(e[a(498)]))return t=(e=r[a(333)])[a(329)],o=e.componentList,(t=Object[a(457)](t))[a(376)](function(t){var e=a,n=o[e(428)](function(e){return e.name===t});n&&r[e(333)][e(474)][e(405)](n)}),e=o[a(394)](function(e){return e[a(404)]}),utils[a(349)](t,e)}function getPlaceholderList(e){var t,n=_0x1eee7c,r="",o=_createForOfIteratorHelper(e);try{for(o.s();!(t=o.n()).done;){var a=t[n(364)],i="q-"[n(483)](_fixComponent(a[n(411)])),s="".concat(a[n(385)]),c=(configs[n(466)][n(406)](a[n(385)])||(s=""[n(483)](_fixComponent(a[n(385)]))),"q-"[n(483)](s));r+='\n"'[n(483)](i,n(369))[n(483)](c,'",')}}catch(e){o.e(e)}finally{o.f()}return r}function traverseComponentList(e,t,o,n,r){var a=_0x1eee7c;if(isPageOrComponent(t)&&e){var i,s=e.componentList,t=("page"===t&&(s=s[a(373)](function(n){var r=a;return!o[r(501)](function(e){var t=r;return e[t(477)]===n[t(477)]})})),e[a(441)]),c=(n.placeholderComponents=getPlaceholderList(t),_createForOfIteratorHelper(s));try{for(c.s();!(i=c.n())[a(367)];){var l,u,p,m=i[a(364)],d="q-"[a(483)](_fixComponent(m.key));m[a(326)]?(l=m.compJsonPath,u=path[a(314)](ASCF_SRC_PATH,l)[a(335)](/\.json$/g,"")[a(350)]("\\").join("/"),n[a(462)]+='\n"'[a(483)](d,a(369))[a(483)](u,'",')):m.key!==a(287)&&(p=a(363)[a(483)](m[a(477)],"']"),r.usingComponents+='\n"'[a(483)](d,a(305))[a(483)](p,","))}}catch(e){c.e(e)}finally{c.f()}}}function hxmlLoader(e){var t,n,r=_0x1eee7c,o=(this[r(496)]&&this[r(496)](),initParameter(this)),a=o[r(362)],o=_objectWithoutProperties(o,_excluded),i=initBuildInfo(this,o),e=transformToVue(e,i,o,a),s=filterCompPropsList(i,o),e=getRenderFunc(e,i),c=e[r(439)],e=e[r(458)],l=(getComponentsObj(i,o,this),utils[r(437)](this,i[r(427)]),o.type),u=o[r(443)],p=o[r(480)],m=[];return configs[r(447)]&&o[r(498)]===r(436)?(addDependency(this,dependencies),m.push(r(361)[r(483)](i[r(309)],"\n },\n };")),m.join("\r\n")):(i.hasHjs&&m[r(405)](r(276)+""[r(483)](loaderUtils[r(389)](this,"!".concat(resolve("./common/eventHappenHjs.js"))),");")),i[r(333)].hasDynamicName&&m[r(405)](r(425)+"".concat(loaderUtils[r(389)](this,"!".concat(resolve(r(472)))),");")),c[r(406)](r(387))&&m.push(r(275)+""[r(483)](loaderUtils[r(389)](this,"!"[r(483)](resolve(r(393)))),");")),m[r(405)](isTemplateOrImport(l)?r(357):r(375)),i[r(282)][r(354)]&&m[r(405)](i[r(342)]),m.push(""[r(483)](c,"};")),m.push(r(434)[r(483)](e,"];\n render._withStripped = true;")),isTemplateOrImport(l)?(addDependency(this,dependencies),m.push("const templateConfig = {\n functional:true,\n props: "[r(483)](JSON.stringify(s),r(456))[r(483)](u,r(321))[r(483)](configs[r(447)]?"":i[r(440)],'},\n render: render,\n type:"')[r(483)](l,r(409))),m[r(332)]("\r\n")[r(335)]("_vm=this,","")[r(335)]("$style=_vm.$style, $class=_vm.$class, $slots = _vm.$slots, eventHappen = _vm.eventHappen;",functionalPlaceHolder)):(c=this[r(380)][r(419)],e={asyncComponents:"",placeholderComponents:""},traverseComponentList(s=this[r(380)][r(489)][r(401)](u),l,c,e,i),u="",t=utils.getComponentCssPath(this.resourcePath[r(335)](/.hxml$/,"")),fs[r(346)](t)&&(u=r(312).concat(hashSum(t))),n="{"[r(483)](i[r(440)],"}"),configs[r(447)]&&(m[r(405)](r(339)+""[r(483)](loaderUtils[r(389)](this,"!".concat(resolve(r(341)))),");")),n=handleTplComponents(m,n,i)),m[r(405)](r(398)[r(483)](a?r(446)[r(483)](_fixComponent(a),'",'):"",'path: "')[r(483)](o[r(443)],r(370)).concat("page"===l?getGlobalUsingComponents(c):"","\n components: ")[r(483)](n||{},r(468))[r(483)](l,'",\n staticRenderFns: staticRenderFns,\n ')[r(483)](u?"_scopeId : "[r(483)](JSON[r(320)](u),","):"",r(327))[r(483)](p?r(473):"",r(402))[r(483)](e.asyncComponents,r(485))[r(483)](e[r(438)],r(311))),handlePage(l,m,o,s,this[r(380)][r(307)][r(435)]),handleCss(t,l,m,u),addDependency(this,dependencies),m[r(332)]("\r\n")))}function handlePage(e,t,n,r,o){var a=_0x1eee7c;"page"===e?t[a(405)]("global.pageLoaded(pageConfig);"):(t[a(405)](a(396)[a(483)](n[a(443)],a(336))),addComponentLoaded(r,t,o))}function handleCss(e,t,n,r){var o,a=_0x1eee7c;fs.existsSync(e)&&(o="",t===a(451)&&(o=a(272)[a(483)](r)),n[a(405)](a(281).concat(e,a(337))[a(483)](t)[a(483)](o,'"); ')+"injectStyle(cssData.segs, cssData.sourcemap, cssData.info);"))}function handleTplComponents(e,t,n){var r=_0x1eee7c;return"__ascf_mergeTplCmps({"[r(483)](n[r(440)],"},[").concat(n.pageTemplateList,"])")}function addComponentLoaded(e,t,n){var r=_0x1eee7c;if(e)for(var o=0;o<(null==n?void 0:n[r(354)]);o++){var a=n[o][r(420)]+(n[o][r(420)][r(291)]("/")?"":"/");e[r(477)][r(461)](a)&&n[o].common&&t[r(405)](r(323))}}function getRenderFunc(e,t){var n=_0x1eee7c,t=(isTemplateOrImport(t[n(494)])&&(e=n(322)[n(483)](e,"</template>")),compile(e,{}));return{render:t.render,staticRenderFns:t.staticRenderFns}}function getGlobalUsingComponents(e){var n=_0x1eee7c,r=[n(388)];return e[n(376)](function(e){var t=n;r.push(t(353).concat(_fixComponent(e[t(411)]),t(304)).concat(e.path,t(317)))}),r[n(405)]("},"),r[n(332)]("\r\n")}function catchInvalidBindingVariable(e,n,t,r){var o=_0x1eee7c,a=validator.findIncldeTagSrcChain(t,r);(e=e.filter(function(e){var t=_0x3145;return attrUtils[t(486)][t(406)](e[t(404)])}))[o(376)](function(e){var t=o;utils[t(296)](e.value)&&n.buildLog[t(405)]({filePath:a,reason:t(444)[t(483)](e[t(404)],", ")+"binding value: "[t(483)](e[t(364)],t(460)),loc:e.loc})})}function procImplicitModel(e){var t,n=_0x1eee7c,r=IMPLICIT_MODEL_ATTRS[e[n(383)]];r&&0<(null==(t=e[n(450)])?void 0:t[n(354)])&&e[n(450)][n(394)](function(e){var t=n;return r[t(406)](e.name)&&(e[t(404)]=t(297)[t(483)](e.name)),e})}function handleTextNode(e,t){var n=_0x1eee7c,r=e.parentNode.nodeName.replace(/^q\-/,"")===n(429);e[n(364)]=r?e[n(364)][n(335)](/\r/g,""):e[n(364)][n(335)](/\n|\r/g,""),t[n(333)][n(295)]=e[n(338)]||[],e.value=e[n(364)][n(335)](/{{(\r?\n|\s|\d)*}}/g,""),expUtils[n(442)](e.value)&&(attrUtils[n(407)](e,t),attrUtils[n(421)](e,t))}function travelNodes(e,t,n,r){var o=_0x1eee7c;if(e[o(383)]===o(469)&&handleTextNode(e,t),e.childNodes&&!(e.childNodes[o(354)]<=0)){var a,i=_createForOfIteratorHelper(e.childNodes);try{for(i.s();!(a=i.n())[o(367)];){var s,c=a.value,l=(t[o(333)].forPropsList=c[o(338)]||[],c[o(383)]&&(validator[o(463)](c,t,n),procImplicitModel(c),s=r&&c[o(383)]===r?"q-"[o(483)](_fixComponent(r)):nodeNameUtils[o(288)](c[o(383)],n),c.nodeName=s,c[o(500)])&&(c[o(500)]=s),c[o(450)]);l&&0<l.length&&(catchInvalidBindingVariable(utils[o(310)](l),t,c,n),attrUtils[o(352)](l,t,c)),travelNodes(c,t,n,r)}}catch(e){i.e(e)}finally{i.f()}}}function handleImport(e,t,n){var r=_0x1eee7c,o=n.rootPath,n=n[r(303)],e=e.find(function(e){var t=r;return e[t(404)]===t(344)});if(e){e=utils.getAbsPath(e[r(364)],n,o)[r(365)],e=fs[r(346)](e)?e:""[r(483)](e,".hxml");if(fs[r(346)](e)){n=fs[r(301)](e,r(415)),n=Parse5[r(403)](n);if(n&&n[r(299)]){var a,i=path[r(314)](o,e),s=_createForOfIteratorHelper(n.childNodes);try{for(s.s();!(a=s.n())[r(367)];){var c,l=a[r(364)];l[r(383)]===r(333)&&(c=l[r(450)][r(428)](function(e){var t=r;return e[t(404)]===t(404)}))&&t[r(405)]({type:r(432),name:_fixComponent(c[r(364)]),path:i})}}catch(e){s.e(e)}finally{s.f()}}}}}function handleInclude(r,o,e){var a=_0x1eee7c,i=e,s=i[a(285)],c=i[a(303)];r[a(450)]&&r.attrs[a(376)](function(e){var t,n=a;"src"===e[n(404)]&&(e=utils[n(412)](e[n(364)],c,s).filePath,e=fs[n(346)](e)?e:""[n(483)](e,n(379)),dependencies[n(359)](e[n(335)](/\//g,"\\"),!0),fs.existsSync(e))&&(t=fs.readFileSync(e,"utf8"),i=Object.assign({},i,{rootPath:s,resourcePath:e}),Parse5.parseFragment(t)[n(299)][n(376)](function(e){var t=n;Parse5[t(313)].appendChild(r,e),"include"===e[t(500)]&&handleInclude(e,o,i)}),r[n(383)]=n(484),r[n(500)]=r[n(383)])})}function processTemplate(e,t,n){var r=_0x1eee7c,o=n[r(285)],a=n.resourcePath,i=!1,s=!1;if(e[r(450)]&&0<e[r(450)][r(354)])for(var c=0,l=e[r(450)][r(354)];c<l;c++){var u=e.attrs[c],p=(u.name!==r(404)&&"is"!==u[r(404)]||(u[r(364)]=_fixComponent(u[r(364)])),{type:r(333),name:u[r(364)],path:path[r(314)](o,a),hxmlPath:a});u.name===r(404)?(t[r(466)][r(405)](p),t[r(417)][r(405)](p),u[r(364)]===n.name?(t[r(271)]=e)[r(452)]=[]:(t[r(445)]=[],e.usingTemplates=t[r(445)]),s=i=!0):"is"===u[r(404)]&&(s=!0,t.usingTemplates.push(p),e.usingTemplates)&&e[r(452)].push(p)}return{isDeclaration:i,isComponent:s}}function handleHjs(e,t,n){var r,o,a=_0x1eee7c,i=n[a(285)],n=n[a(303)],s=e[a(450)][a(428)](function(e){var t=a;return e[t(404)]===t(476)}),c=e[a(450)][a(428)](function(e){var t=a;return e[t(404)]===t(344)});s&&(r=s[a(364)]),c&&(o=utils[a(471)](c.value,n,i)),r&&(!moduleNameReg.test(r)&&t[a(427)]&&t[a(427)].push({reason:a(378)[a(483)](r,a(325)),loc:s[a(448)]}),c={type:a(386),name:r},o?c.path=o:((n=Parse5[a(279)](e))||logger[a(274)](a(270)),c[a(364)]=n),t[a(294)]=!0,t[a(466)][a(405)](c),t[a(333)][a(466)][a(405)](c))}function traverseAst(e,i,s){var c=_0x1eee7c,l=3<arguments.length&&void 0!==arguments[3]?arguments[3]:[];e[c(299)]&&e[c(299)][c(354)]&&(e.childNodes=e[c(299)][c(373)](function(e){var t,n,r=c,o=!0,a=e[r(450)];return e[r(356)][r(452)]&&utils.defUnfreezeProperty(e,r(452),e.parentNode.usingTemplates),e[r(383)]===r(333)?(n=(t=processTemplate(e,i,s))[r(355)],t[r(384)]?(utils[r(470)](e,r(338),[]),o=!1):n?(utils.defFreezeProperty(e,"orignNodeName",e[r(383)]),e[r(383)]=r(451)):e[r(383)]="_@template@_"):e.nodeName===r(488)?handleInclude(e,i,s):e[r(383)]===r(386)||e[r(383)]===r(454)?(handleHjs(e,i,s),o=!1):"import"===e[r(383)]?(handleImport(e[r(450)],i[r(417)],s),o=!1):e[r(383)]===r(491)?(e[r(383)]=r(484),e[r(500)]="_@template@_"):e[r(383)]===r(469)&&/^\n\s*$/[r(298)](e[r(364)])?o=!1:e[r(383)]===r(451)&&(e[r(383)]=r(330)),utils[r(470)](e,"_forPropsChain",(l||[]).concat(forPropsCollect(a))),traverseAst(e,i,s,e[r(338)]),o}))}function forPropsCollect(e){var t,n=_0x1eee7c,r=[];return e&&(t=e[n(394)](function(e){var t=n;return attrUtils[t(316)][e[t(404)]]?attrUtils[t(316)][e[t(404)]]:e[t(404)]}),e=e[n(373)](function(e){var t=n;return attrUtils.QAFORKEYS[t(406)](e[t(404)])})[n(394)](function(e){var t=n;return attrUtils[t(481)](e),expUtils.removeExprffix(e[t(364)])}),t[n(406)](n(343)))&&generateCurrentNodeForKeys(t,r,e),r}function generateCurrentNodeForKeys(e,t,n){var r=_0x1eee7c;1===e[r(373)](function(e){var t=r;return e[t(461)](t(343))})[r(354)]?t.push(r(502),r(392)):e[r(406)](r(391))&&!e.includes(r(292))?t[r(405)][r(289)](t,["index"][r(483)](_toConsumableArray(n))):!e[r(406)](r(391))&&e.includes(r(292))?t.push.apply(t,[r(392)][r(483)](_toConsumableArray(n))):t[r(405)][r(289)](t,_toConsumableArray(n))}function rootAddExtraAttr(e,t){var n=_0x1eee7c,t=isTemplateOrImport(t[n(494)])?n(368):n(493),t={name:n(293),value:t};try{filterTextNodes(e[n(299)])[0][n(450)][n(405)](t)}catch(e){return!1}}function findTemplateNode(e,t){var o=_0x1eee7c;if(t.name)return!e.templateAst&&configs.templateHoist?null:(e.usingTemplates=e.templateAst[o(452)],e[o(271)]);if(e[o(445)]&&e[o(445)].length){if(!e[o(452)]&&configs[o(447)])return null;e[o(452)]=e.usingTemplates[o(373)](function(n){var r=o;return e[r(445)][r(428)](function(e){var t=r;return e[t(404)]!==n[t(404)]})})}}function _0x2834(){var e=["view","var staticRenderFns = [","subpackages","templateComponents","logWarn","placeholderComponents","render","usingComponents","componentPlaceholderList","containExpr","basePath","NOTE: Cannot use dynamic on directive ","exculdeTemplates",'name: "q-',"templateHoist","loc","getOwnPropertySymbols","attrs","component","usingTemplates","constructor","wxs","1078458rQMpBU",',\n path: "',"keys","staticRenderFns","has:for-items"," should without {{}}.","startsWith","asyncComponents","checkNode","\": require('","configs","componentList","45848GtwYcL",',\n render: render,\n type:"',"#text","defUnfreezeProperty","getProjectAbsPath","./common/fixComponentName",'customTabBar: __pageComponentInfos["custom-tab-bar/index"],',"needRequiredHjs","hasOwnProperty","module","path","./common/hash-sum","hjsLoaderForInnerHjs","useCustomTabBar","fixAttrInitValue","48kVeobd","concat","_@template@_","},\n placeholderComponents: {","QAFORKEYS","156304xNvpfF","include","components","$style=_vm.parent.$style, $class=_vm.parent.$class, ","block","iterator","_vm.$dataprops.internal__updateTrigger","queryType","hasfix-multi-roots","cacheable","toString","type","./vue-compiler/vue.bundle","tagName","some","index","hjs error : no module content!","templateAst","&scoped=true&scopeId=","compile","error","var _logUndefined = require(","var eventHappenHjs = require(","addDependency","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","serialize","');\n",'const cssData = require("',"boundKeys","hashSum","2624115putNic","rootPath","./loader-utils","customTabBar","transformNodeName","apply","\nvar ","endsWith","has:for-index","v-bind:data-internal-update-trigger","hasHjs","forPropsList","isExp","model:","test","childNodes","../ascf-converter/compiler-utils/parse5.bundle","readFileSync","addCatchStatement","resourcePath","\": __pageComponentInfos['",'": ',"adapt multi root node @","manifest","'),","hxmlTemplatestr","deepClone","},\n };","data-q-","defaultTreeAdapter","relative","return","attrAliasMap","'],","parseQuery","from","stringify",'",\n components: {',"<template functional>","global.componentLoaded(pageConfig);","24731mwnciI",', module name can not start with "_" or "$".',"hasPlaceHolder","\n ","undefined","propsList","hasfix-component","Set","join","template","../common/utils","replace","'] = pageConfig;","?type=","_forPropsChain","var __ascf_mergeTplCmps = require(","setting","./common/merge-tpl-cmps","hjsComponentList","has:for","src","tryCatch","existsSync","pageTemplateList","rootContext","uniqueSymmetricDifference","split","Map","handleAttrs",'"q-',"length","isComponent","parentNode","var render = function (_createElement, _vm) {","call","set","./template/attr-utils","\n module.exports = {\n components: {\n ","componentName","__pageComponentInfos['","value","filePath",")(require, module, module.exports);\n","done","_vm.props.internal__updateTrigger",'": "','",\n ',"resolve","isArray","filter","number","var render = function () {","forEach","./template/implicit-model-config","WARNING: Unexpected hjs module name: ",".hxml","options","IMPLICIT_MODEL_ATTRS","./common/utils","nodeName","isDeclaration","placeholder","hjs","_logUndefined","\nglobalComponents: {","stringifyRequest","4726104MMyxOJ","has:for-item","item","./common/logUndefined","map","warn","window.__pageComponentInfos = window.__pageComponentInfos || {};\n __pageComponentInfos['","var ","const pageConfig = {\n","13345812noQaEb","page","get","\n asyncComponents: {","parseFragment","name","push","includes","traverseWrapper","getLogger",'",\n staticRenderFns: staticRenderFns,\n };\n module.exports = templateConfig;',"./common/exp-utils","key","getAbsPath","63BgKqiF","appendChild","utf8","&name=","declareTemplates","Object","globalComponents","root","genTextElementVal","ASCF_SRC_PATH","94eZFYkU","projectCfgData","var _fixComponent = require(","../common/config","buildLog","find","text","2540XJsukz","\nrequire('","import"];return(_0x2834=function(){return e})()}function transformToVue(e,t,n,r){var o=_0x1eee7c,a=Parse5.parseFragment(e);return traverseAst(a,t,n),(a=findTemplateNode(t,n)||a)?(adaptMultiRootNode(a,n),travelNodes(a,t,n,r),rootAddExtraAttr(a,t),Parse5[o(279)](a)[o(335)](/q-_@template@_/g,"template")):e}function adaptMultiRootNode(e,t){var n,r,o,a,i,s=_0x1eee7c;isTemplateOrImport(t[s(498)])||(n=!1,a=(r=e[s(299)])[s(354)],o=t[s(498)]===s(400)?s(400):s(433),r&&a&&(1<(a=filterTextNodes(r))[s(354)]&&(n=!0),n=!!(1===a[s(354)]&&((i=(i=a[s(428)](function(e){return"_@template@_"===e[s(500)]}))&&filterTextNodes(i[s(299)]))&&(n=1<i[s(354)]||i.some(function(e){var t=s;return e[t(500)]===t(484)})),a[0][s(450)]&&a[0].attrs[s(501)](function(e){var t=s;return[t(343),t(459)][t(406)](e.name)})||"page"===t.type&&a[0].tagName!==s(400)))||n)&&wrapProcess(t,r,o,e))}function wrapProcess(e,t,n,r){var o,a=_0x1eee7c,i=[],s=("page"!==e[a(498)]&&(logger[a(395)](a(306)[a(483)](e.resourcePath)),i=[{name:"class",value:a(495)}]),Parse5.defaultTreeAdapter.createElement(n,null,i)),c=_createForOfIteratorHelper(t);try{for(c.s();!(o=c.n()).done;){var l=o[a(364)];Parse5.defaultTreeAdapter[a(414)](s,l)}}catch(e){c.e(e)}finally{c.f()}r[a(299)]=[],r[a(299)][0]=s}module.exports=hxmlLoader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x52c377=_0x2038;function _0x2038(e,r){var t=_0x5c8b();return(_0x2038=function(e,r){return t[e-=282]})(e,r)}function _0x5c8b(){var e=["params","5196401tzfxhW","parentPath","../common/utils","REQUIRE","parse","require","constructor","ASCF_LAZY_IMPORT","node","line","ascfLazyImportFiles","program","MemberExpression","push","8Yodabn","hasInterface","raw","add","getStatementParent","CatchClause","39008292xQAYXx","replaceWith","expression","getOwnBinding","45WJaFQK","INNER_FUNC_LIST","NEW_PROMISE","findParent","object","exports","replaceAll","normalizedAbsPath","configs","../../common/config","Identifier","@babel/parser","hjsMod","HJS_GET_CONSTRUCTOR","keys","err","@babel/traverse","ArrowFunctionExpression","length","source","body","getRegExp","slice","call","block","6nzQmXI","parent","end","includes","ASCF_LAZY_IMPORT_ERR","prefix","name","isHjs","column","prototype","FunctionExpression","778060YrXMkS","callee","async","@babel/core","value","type","Import","key","1424255BdXwBG","start","listKey","125284wkycvt","loc","3500829rbVwLA","deepClone","argument","handler","132JpdNjR","../common/exp-utils","default","2UvEGPn","param","property","visited","extra","arguments","49804hWDVlq","hasOwnProperty"];return(_0x5c8b=function(){return e})()}(()=>{for(var e=_0x2038,r=_0x5c8b();;)try{if(480833==+parseInt(e(336))*(parseInt(e(342))/2)+-parseInt(e(369))/3*(parseInt(e(327))/4)+-parseInt(e(324))/5*(parseInt(e(305))/6)+parseInt(e(345))/7*(-parseInt(e(359))/8)+-parseInt(e(329))/9+-parseInt(e(316))/10*(parseInt(e(333))/11)+parseInt(e(365))/12)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var core=require(_0x52c377(319)),traverse=require(_0x52c377(296))[_0x52c377(335)],generate=require("@babel/generator").default,parser=require(_0x52c377(291)),utils=require(_0x52c377(347)),stringUtils=require("../../common/string-utils"),_require=require(_0x52c377(334)),CATCH_FUNC=_require.CATCH_FUNC,INNER_FUNC_LIST=_require[_0x52c377(370)],HJS_GET_CONSTRUCTOR=_require[_0x52c377(293)],ASCF_LAZY_IMPORT=_require[_0x52c377(352)],ASCF_LAZY_IMPORT_ERR=_require[_0x52c377(309)],NEW_PROMISE=_require[_0x52c377(282)],REQUIRE_TRY_CATCH=_require.REQUIRE_TRY_CATCH,REQUIRE=_require[_0x52c377(348)],_require2=require(_0x52c377(347)),normalizedAbsPath=_require2[_0x52c377(287)],_require3=require(_0x52c377(289)),configs=_require3[_0x52c377(288)],CATCH_CALL_EXP=parser.parse(CATCH_FUNC).program[_0x52c377(300)][0][_0x52c377(367)],GET_CONSTRUCTOR_EXP=parser[_0x52c377(349)](HJS_GET_CONSTRUCTOR).program[_0x52c377(300)][0][_0x52c377(367)],ASCF_LAZY_IMPORT_EXP=astParse(ASCF_LAZY_IMPORT)[_0x52c377(356)].body[0][_0x52c377(367)],ASCF_LAZY_IMPORT_ERR_EXP=astParse(ASCF_LAZY_IMPORT_ERR)[_0x52c377(356)][_0x52c377(300)][0][_0x52c377(367)],NEW_PROMISE_EXP=astParse(NEW_PROMISE)[_0x52c377(356)][_0x52c377(300)][0][_0x52c377(367)],REQUIRE_TRY_CATCH_EXP=astParse(REQUIRE_TRY_CATCH)[_0x52c377(356)][_0x52c377(300)][0],REQUIRE_EXP=astParse(REQUIRE)[_0x52c377(356)][_0x52c377(300)][0][_0x52c377(367)];function astParse(e){var r=_0x52c377,t=1<arguments[r(298)]&&void 0!==arguments[1]?arguments[1]:{};return core[r(349)](e,t)}function getI18NDupKeyLoc(n,a,e,r){return{ObjectProperty:function(e){var r,t=_0x2038,e=e[t(353)];e[t(323)].value===a&&(r=e[t(328)][t(325)][t(354)]-1,e=e.loc[t(325)][t(313)],n.push({line:r,column:e}))}}}function getPathProcessVistor(n){return Object.assign({},{ImportDeclaration:function(e){var r=_0x2038,t=e[r(353)][r(299)].value;e[r(353)][r(299)].value=n(t)},CallExpression:function(e){var r,t=_0x2038;e[t(353)][t(317)]&&e[t(353)][t(341)]&&(e[t(353)][t(317)][t(311)]===t(350)||e.node[t(317)][t(321)]===t(322))&&1===e[t(353)][t(341)].length&&(r=e[t(353)][t(341)][0][t(320)])&&(e[t(353)][t(341)][0][t(320)]=n(r)),e.node[t(317)][t(311)]===t(301)&&(e=(r=e[t(353)][t(341)][0])[t(340)]&&r.extra[t(361)][t(302)](1,-1))&&(r[t(320)]=e)},StringLiteral:function(e){var r=_0x2038;e[r(353)][r(320)]=e[r(353)][r(340)][r(361)][r(302)](1,-1)}})}function getConstructorProcessVistor(){return{MemberExpression:function(e){var r=_0x2038,t=e.node,n=t.object,t=t[r(338)];"Identifier"===(null==t?void 0:t[r(321)])&&(null==t?void 0:t[r(311)])===r(351)&&((t=utils.deepClone(GET_CONSTRUCTOR_EXP))[r(341)][1]=n,e[r(366)](t))}}}function addCatchStatement(e,r){var t=_0x52c377,n=e[t(353)];n[t(339)]||(r(n),r=stringUtils[t(286)]((n[t(284)]||{})[t(311)],"$ascf",""),INNER_FUNC_LIST[t(308)](r))||((r=utils[t(330)](CATCH_CALL_EXP))[t(317)][t(300)].body[0][t(304)][t(300)][0][t(331)]=n,e[t(306)]&&(e[t(326)]?e[t(306)][e.listKey][e[t(323)]]=r:e[t(306)][e[t(323)]]=r))}function isParameter(e,r){var t=_0x52c377;return r.parent[t(321)]===t(315)&&r[t(326)]&&r.parent[r[t(326)]]&&e===r[t(306)][r[t(326)]][r.key][t(311)]||r[t(306)].type===t(364)||r.parent.type===t(315)&&"id"===r[t(323)]}function hasOwnBinding(e,t){var n=_0x52c377,a=!1;return e[n(363)]()[n(283)](function(e){var r=n;a||e.scope[r(368)](t)&&(a=!0)}),a}function getTrustListVerifyVisitor(n,a,e,r){return{MemberExpression:function(e){var r,t=_0x2038;e[t(353)][t(284)]&&e[t(353)].object[t(311)]===n[t(310)]&&e.node[t(284)][t(321)]===t(290)&&null!=(r=e[t(353)][t(338)])&&r.name&&!hasOwnBinding(e,e[t(353)].object[t(311)])&&a[t(358)]({type:t(360),module:e[t(353)][t(284)].name,moduleRange:{start:{line:e[t(353)][t(284)][t(328)][t(325)][t(354)],column:e[t(353)].object[t(328)].start[t(313)]},end:{line:e[t(353)][t(284)].loc[t(307)][t(354)],column:e[t(353)][t(284)][t(328)].end.column}},property:e.node[t(284)][t(311)]+"."+e[t(353)][t(338)][t(311)]})}}}function isHjs(e,r,t){var n=_0x52c377;e[n(321)]===n(357)&&r.includes(e.object[n(311)])&&(t[n(292)]=e[n(284)][n(311)],t[n(312)]=!0)}function requireHandler(i,c,o,_,u){return{CallExpression:function(e){var r,t,n,a,s=_0x2038;e[s(353)][s(341)]&&(null==(a=e[s(353)][s(317)])?void 0:a[s(311)])===s(350)&&1<e.node.arguments[s(298)]?(a=e[s(353)][s(341)][0],n=e[s(353)][s(341)][1],r=e[s(353)].arguments[2]||{},!0===(t=i(c,a[s(320)],o,u))?syncCallBackRequire(a,n,r,e):handleCallBackRequire(a,t,_,r,n,e)):e[s(353)][s(341)]&&"MemberExpression"===(null==(a=e[s(353)][s(317)])?void 0:a.type)&&(null==(t=e[s(353)][s(317)][s(284)])?void 0:t.type)===s(290)&&"require"===e[s(353)][s(317)].object.name&&(null==(r=e[s(353)][s(317)].property)?void 0:r[s(311)])===s(318)&&(n=e.node[s(341)][0],!0===(a=i(c,n[s(320)],o,u))?syncAsyncRequire(n,e):handleAsyncRequire(n,a,_,e))},AwaitExpression:function(e){var r,t,n,a=_0x2038;(null==(r=e[a(353)][a(331)])||null==(r=r[a(317)])?void 0:r[a(321)])===a(357)&&(null==(r=e[a(353)][a(331)].callee[a(284)])?void 0:r[a(311)])===a(350)&&(null==(r=e[a(353)].argument[a(317)].property)?void 0:r[a(311)])===a(318)&&((r=utils.deepClone(NEW_PROMISE_EXP))[a(331)][a(341)][0][a(300)][a(300)][0].expression[a(317)][a(284)].callee[a(284)]=e.node.argument,n=(t={node:e[a(353)][a(331)]})[a(353)][a(341)][0],!0===i(c,n[a(320)],o,u)?syncAwaitRequire(n,e):(r[a(331)].arguments[0][a(300)][a(300)][0].expression.callee[a(284)][a(317)][a(284)]=requireAsync(t,i,c,o,_,u),e[a(366)](r)))}}}function requireAsync(e,r,t,n,a,s){var i=_0x52c377,e=e.node[i(341)][0],c=utils[i(330)](ASCF_LAZY_IMPORT_EXP.callee.object[i(317)][i(284)]),o=utils[i(330)](e);return e[i(320)]=r(t,e[i(320)],n,s),o.value=normalizedAbsPath(e[i(320)]),Object[i(314)][i(343)][i(303)](configs[i(355)],a)||(configs[i(355)][a]=new Set),configs[i(355)][a][i(362)](o[i(320)]),c[i(341)][0].body[i(341)]=[o],c[i(317)].object.arguments=[e],c}function handleCallBackRequire(e,r,t,n,a,s){var i=_0x52c377,c=utils[i(330)](ASCF_LAZY_IMPORT_EXP),o=utils[i(330)](ASCF_LAZY_IMPORT_ERR_EXP),_=utils[i(330)](e);e[i(320)]=r,_[i(320)]=normalizedAbsPath(e[i(320)]),Object.prototype[i(343)][i(303)](configs[i(355)],t)||(configs[i(355)][t]=new Set),configs[i(355)][t].add(_[i(320)]),c[i(341)][0]=0===Object[i(294)](n)[i(298)]?o:n,c[i(317)][i(284)].arguments=[a],c[i(317)][i(284)][i(317)].object[i(341)][0][i(300)][i(341)]=[_],c[i(317)][i(284)][i(317)][i(284)].callee[i(284)].arguments=[e],s[i(366)](c)}function syncCallBackRequire(e,r,t,n){var a=_0x52c377,s=utils[a(330)](REQUIRE_EXP),e=(s[a(341)][0]=utils[a(330)](e),utils[a(330)](REQUIRE_TRY_CATCH_EXP));e[a(304)].body[0][a(367)][a(317)]=r,e[a(304)][a(300)][0][a(367)][a(341)][0]=s,e[a(332)][a(337)][a(311)]=0===Object[a(294)](t)[a(298)]?a(295):t[a(344)][0].name,0===Object.keys(t).length?e[a(332)][a(300)][a(300)][0][a(367)].callee.body[a(300)][0].expression=utils[a(330)](ASCF_LAZY_IMPORT_ERR_EXP):e[a(332)].body[a(300)][0][a(367)].callee=t[a(367)],e[a(332)][a(300)].body[0][a(367)][a(341)][0][a(311)]=0===Object[a(294)](t).length?a(295):t[a(344)][0].name,n[a(366)](e)}function handleAsyncRequire(e,r,t,n){var a=_0x52c377,r=(e[a(320)]=r,utils[a(330)](ASCF_LAZY_IMPORT_EXP[a(317)][a(284)][a(317)][a(284)])),s=utils[a(330)](e);s[a(320)]=normalizedAbsPath(e[a(320)]),Object[a(314)][a(343)][a(303)](configs.ascfLazyImportFiles,t)||(configs.ascfLazyImportFiles[t]=new Set),configs[a(355)][t][a(362)](s[a(320)]),r[a(341)][0][a(300)][a(341)]=[s],r.callee[a(284)][a(341)]=[e],n[a(366)](r)}function syncAsyncRequire(e,r){var t=_0x52c377,n=utils.deepClone(REQUIRE_EXP),e=(n[t(341)][0]=utils[t(330)](e),{}),a={},s=((null==(s=r[t(346)][t(346)][t(353)][t(341)])||null==(s=s[0])?void 0:s[t(321)])===t(297)&&(e=r[t(346)].parentPath[t(353)][t(341)][0]),(null==(s=r[t(346)].parentPath[t(346)][t(346)][t(353)][t(341)])||null==(s=s[0])?void 0:s[t(321)])===t(297)&&(a=null==(s=r[t(346)].parentPath.parentPath.parentPath.node[t(341)])?void 0:s[0]),utils.deepClone(REQUIRE_TRY_CATCH_EXP));s[t(304)].body[0][t(367)][t(317)]=e,s[t(304)][t(300)][0][t(367)][t(341)][0]=n;(0===Object[t(294)](a).length?(s.handler.param[t(311)]=t(295),s.handler[t(300)][t(300)][0][t(367)][t(317)]=utils[t(330)](ASCF_LAZY_IMPORT_ERR_EXP),s[t(332)][t(300)][t(300)][0].expression[t(341)][0].name=t(295),r):(s[t(332)][t(337)]=a.params[0],s[t(332)].body[t(300)][0][t(367)][t(317)]=a,s[t(332)][t(300)][t(300)][0][t(367)][t(341)]=a[t(344)],r[t(346)][t(346)]))[t(346)][t(346)][t(366)](s)}function syncAwaitRequire(e,r){var t=_0x52c377,n=utils[t(330)](REQUIRE_EXP);n[t(341)][0]=utils[t(330)](e),r[t(366)](n)}module[_0x52c377(285)]={core:core,astParse:astParse,parser:parser,traverse:traverse,generate:generate,getI18NDupKeyLoc:getI18NDupKeyLoc,getPathProcessVistor:getPathProcessVistor,getConstructorProcessVistor:getConstructorProcessVistor,addCatchStatement:addCatchStatement,isParameter:isParameter,getTrustListVerifyVisitor:getTrustListVerifyVisitor,isHjs:isHjs,requireHandler:requireHandler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x45a462=_0x49e2;function _typeof(e){var r=_0x49e2;return(_typeof=r(294)==typeof Symbol&&r(297)==typeof Symbol[r(300)]?function(e){return typeof e}:function(e){var n=r;return e&&n(294)==typeof Symbol&&e[n(248)]===Symbol&&e!==Symbol.prototype?n(297):typeof e})(e)}(()=>{for(var e=_0x49e2,n=_0x53d6();;)try{if(318482==+parseInt(e(251))*(-parseInt(e(316))/2)+parseInt(e(273))/3+-parseInt(e(265))/4*(-parseInt(e(247))/5)+parseInt(e(264))/6+-parseInt(e(315))/7+-parseInt(e(295))/8+-parseInt(e(311))/9*(-parseInt(e(282))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}})();var core=require(_0x45a462(239)),utils=require("../common/utils"),_require=require(_0x45a462(298)),CATCH_FUNC=_require[_0x45a462(262)],INNER_FUNC_LIST=_require[_0x45a462(252)],HJS_GET_CONSTRUCTOR=_require[_0x45a462(288)],ASCF_LAZY_IMPORT=_require[_0x45a462(319)],ASCF_LAZY_IMPORT_ERR=_require.ASCF_LAZY_IMPORT_ERR,NEW_PROMISE=_require[_0x45a462(302)],REQUIRE_TRY_CATCH=_require[_0x45a462(305)],REQUIRE=_require[_0x45a462(314)],REQUIRE_TRY_CATCH_FUL=_require[_0x45a462(259)],stringUtils=require(_0x45a462(317)),_require2=require(_0x45a462(246)),normalizedAbsPath=_require2[_0x45a462(241)],_require3=require("../../common/config"),configs=_require3[_0x45a462(245)],CATCH_CALL_EXP=astParse(CATCH_FUNC)[_0x45a462(306)][0][_0x45a462(307)],GET_CONSTRUCTOR_EXP=astParse(HJS_GET_CONSTRUCTOR).body[0][_0x45a462(307)],ASCF_LAZY_IMPORT_EXP=astParse(ASCF_LAZY_IMPORT)[_0x45a462(306)][0][_0x45a462(307)],ASCF_LAZY_IMPORT_ERR_EXP=astParse(ASCF_LAZY_IMPORT_ERR)[_0x45a462(306)][0][_0x45a462(307)],NEW_PROMISE_EXP=astParse(NEW_PROMISE)[_0x45a462(306)][0].expression,REQUIRE_TRY_CATCH_EXP=astParse(REQUIRE_TRY_CATCH)[_0x45a462(306)][0],REQUIRE_EXP=astParse(REQUIRE)[_0x45a462(306)][0][_0x45a462(307)];function astParse(e){var n=_0x45a462;n(240);return core[n(318)](e,{syntax:n(303)})}function traverse(e,s){function u(t){var n=_0x49e2,e=1<arguments[n(240)]&&void 0!==arguments[1]?arguments[1]:null,r=2<arguments[n(240)]&&void 0!==arguments[2]?arguments[2]:null,a=3<arguments[n(240)]&&void 0!==arguments[3]?arguments[3]:null;if(t&&_typeof(t)===n(324)){var i,o=s[t.type];o&&o({node:t,parent:e,key:r,listKey:a});for(i in t)(r=>{var e=n;Object.prototype[e(280)][e(269)](t,r)&&t[r]&&_typeof(t[r])===e(324)&&(Array[e(279)](t[r])?t[r].forEach(function(e,n){u(e,t,r,n)}):u(t[r],t,r))})(i)}}u(e)}function generate(e){return e?core[_0x45a462(301)](e):void 0}function replaceNode(e,n){var r=_0x45a462;e[r(290)]&&((e[r(293)]||0===e[r(293)])&&e.parent[e[r(293)]]?e[r(290)][e.listKey][e.key]=n:e.listKey||0===e[r(293)]?e[r(290)][e[r(283)]][e[r(293)]]=n:e[r(290)][e[r(283)]]=n)}function getLineAndColumn(e,n){var r=_0x45a462,t=removeCommentsAndBlank(e),n=n+e.length-t[r(240)],t=e[r(284)](/[\u4e00-\u9fa5]/g,"000")[r(254)](0,n)[r(308)]("\n");return{line:t[r(240)],column:t[t.length-1].length}}function removeCommentsAndBlank(e){var n=_0x45a462,e=e[n(237)]();if(!e.startsWith("//")&&!e[n(276)]("/*"))return e;if(e.startsWith("//")){var r=e[n(257)]("\n");if(-1===r)return"";e=e[n(254)](r+1)}if(e.startsWith("/*")){r=e.indexOf("*/");if(-1===r)return"";e=e[n(254)](r+2)}return removeCommentsAndBlank(e)}function getI18NDupKeyLoc(r,t,a,i){return{KeyValueProperty:function(e){var n=_0x49e2,e=e[n(272)];e[n(283)][n(325)]===t&&r[n(322)](getLineAndColumn(a,e[n(283)][n(256)][n(244)]-i))}}}function getPathProcessVistor(t){return{ImportDeclaration:function(e){var n=_0x49e2,r=e.node.source[n(325)];e[n(272)][n(261)][n(325)]=t(r)},CallExpression:function(e){var n,r=_0x49e2;e.node.callee&&e[r(272)][r(287)]&&(e[r(272)][r(250)][r(325)]===r(275)||e[r(272)][r(250)][r(281)]===r(312))&&1===e.node[r(287)][r(240)]&&(n=e.node[r(287)][0][r(307)][r(325)])&&(e[r(272)].arguments[0][r(307)][r(325)]=t(n))}}}function getConstructorProcessVistor(){return{MemberExpression:function(e){var n=_0x49e2,r=e.node,t=r[n(324)],r=r[n(289)];(null==r?void 0:r.type)===n(270)&&"constructor"===(null==r?void 0:r[n(325)])&&((r=utils[n(242)](GET_CONSTRUCTOR_EXP)).arguments[1][n(307)]=t,replaceNode(e,r))}}}function addCatchStatement(e,n){var r=_0x45a462,t=e[r(272)];t[r(258)]||(n(t),n=stringUtils[r(309)]((t.object||{})[r(325)],r(313),""),INNER_FUNC_LIST[r(274)](n))||((n=utils.deepClone(CATCH_CALL_EXP))[r(250)][r(307)][r(306)][r(255)][0][r(291)][r(255)][0][r(271)]=t,replaceNode(e,n))}function isParameter(e,n){var r=_0x45a462;return n[r(290)].type===r(236)&&n[r(283)]===r(299)||n.parent[r(281)]===r(323)||"FunctionExpression"===n[r(290)].type&&n.key===r(243)}function getTrustListVerifyVisitor(t,a,i,o){return{MemberExpression:function(e){var n,r=_0x49e2;e[r(272)][r(324)]&&e[r(272)][r(324)][r(325)]===t[r(285)]&&"Identifier"===e.node[r(324)][r(281)]&&null!=(n=e[r(272)].property)&&n[r(325)]&&a[r(322)]({type:r(278),module:e[r(272)].object[r(325)],moduleRange:{start:getLineAndColumn(i,e[r(272)][r(324)].span[r(244)]-o),end:getLineAndColumn(i,e[r(272)][r(324)][r(256)][r(266)]-o)},property:e[r(272)][r(324)].value+"."+e[r(272)][r(289)].value})}}}function _0x49e2(e,n){var r=_0x53d6();return(_0x49e2=function(e,n){return r[e-=235]})(e,n)}function isHjs(e,n,r){var t=_0x45a462;e[t(281)]===t(267)&&n[t(274)](e[t(324)][t(325)])&&(r[t(321)]=e[t(324)][t(325)],r.isHjs=!0)}function isRequireCallBack(e){var n,r=_0x45a462;return e.node[r(287)]&&"require"===(null==(n=e.node[r(250)])?void 0:n[r(325)])&&1<e.node.arguments[r(240)]}function isRequireAsync(e){var n,r=_0x45a462;return e[r(272)][r(287)]&&(null==(n=e[r(272)][r(250)])?void 0:n.type)===r(267)&&(null==(n=e[r(272)][r(250)].object)?void 0:n[r(281)])===r(270)&&e[r(272)][r(250)][r(324)][r(325)]===r(275)&&(null==(n=e[r(272)][r(250)][r(289)])?void 0:n.value)===r(296)}function requireCallBackNeedSync(e){var n,r=_0x45a462;return(null==(n=e[r(272)][r(307)])?void 0:n[r(287)])&&(null==(n=e[r(272)][r(307)])||null==(n=n.callee)?void 0:n[r(325)])===r(275)&&1<(null==(n=e[r(272)][r(307)])?void 0:n[r(287)][r(240)])}function requireThenNeedSync(e){var n,r=_0x45a462;return e.node.expression[r(281)]===r(253)&&(null==(n=e[r(272)].expression[r(250)])||null==(n=n[r(324)])||null==(n=n[r(250)])||null==(n=n[r(324)])?void 0:n[r(281)])===r(270)&&(null==(n=e.node.expression[r(250)])||null==(n=n[r(324)])||null==(n=n[r(250)])||null==(n=n[r(324)])?void 0:n[r(325)])===r(275)&&(null==(n=e[r(272)].expression.callee)||null==(n=n[r(324)])||null==(n=n[r(250)])||null==(n=n.property)?void 0:n.value)===r(296)}function requireCatchNeedSync(e){var n,r=_0x45a462;return e[r(272)][r(307)][r(281)]===r(253)&&(null==(n=e[r(272)][r(307)][r(250)])||null==(n=n[r(324)])||null==(n=n[r(250)])||null==(n=n[r(324)])||null==(n=n[r(250)])||null==(n=n[r(324)])?void 0:n[r(281)])===r(270)&&"require"===(null==(n=e.node[r(307)][r(250)])||null==(n=n[r(324)])||null==(n=n[r(250)])||null==(n=n.object)||null==(n=n[r(250)])||null==(n=n[r(324)])?void 0:n.value)&&(null==(n=e[r(272)][r(307)][r(250)])||null==(n=n[r(324)])||null==(n=n.callee)||null==(n=n.object)||null==(n=n[r(250)])||null==(n=n.property)?void 0:n[r(325)])===r(296)}function isAwait(e){var n,r=_0x45a462;return(null==(n=e.node.argument)||null==(n=n[r(250)])?void 0:n[r(281)])===r(267)&&"require"===(null==(n=e[r(272)][r(271)][r(250)][r(324)])?void 0:n.value)&&(null==(n=e[r(272)][r(271)][r(250)][r(289)])?void 0:n[r(325)])===r(296)}function requireHandler(i,o,s,u,l){return{CallExpression:function(e){var n,r=_0x49e2;isRequireCallBack(e)?(n=e[r(272)][r(287)][0],!0!==(n=i(o,n.expression[r(325)],s,l))&&handleCallBackRequire(e,u,n)):isRequireAsync(e)&&(n=e[r(272)][r(287)][0],!0!==(n=i(o,n[r(307)][r(325)],s,l)))&&handleAsyncRequire(e,u,n)},ExpressionStatement:function(e){var n,r=_0x49e2;requireCallBackNeedSync(e)?(n=e.node[r(307)].arguments[0],!0===i(o,n[r(307)].value,s,l)&&syncCallBackRequire(e)):requireThenNeedSync(e)?(n=e[r(272)][r(307)][r(250)][r(324)].arguments[0],!0===i(o,n.expression[r(325)],s,l)&&syncAsyncRequire(n,e)):requireCatchNeedSync(e)&&(n=e[r(272)].expression[r(250)][r(324)].callee.object[r(287)][0],!0===i(o,n[r(307)][r(325)],s,l))&&syncAsyncRequireWithCatch(n,e)},AwaitExpression:function(e){var n,r,t,a=_0x49e2;isAwait(e)&&((n=utils.deepClone(NEW_PROMISE_EXP))[a(271)][a(287)][0][a(307)].body[a(255)][0][a(307)][a(250)][a(324)][a(250)][a(324)]=e[a(272)][a(271)],t=(r={node:e[a(272)][a(271)]})[a(272)][a(287)][0],!0===i(o,t[a(307)][a(325)],s,l)?syncAwaitRequire(t,e):(n.argument[a(287)][0][a(307)][a(306)][a(255)][0][a(307)][a(250)][a(324)][a(250)][a(324)]=requireAsync(r,i,o,s,u,l),replaceNode(e,n)))}}}function requireAsync(e,n,r,t,a,i){var o=_0x45a462,e=e.node[o(287)][0],s=utils[o(242)](ASCF_LAZY_IMPORT_EXP[o(250)][o(324)][o(250)][o(324)]),u=utils[o(242)](e);return e[o(307)][o(325)]=n(r,e[o(307)][o(325)],t,i),e[o(307)].raw='"'[o(260)](e[o(307)].value,'"'),u[o(307)].value=normalizedAbsPath(e.expression[o(325)]),u[o(307)][o(320)]='"'[o(260)](u.expression.value,'"'),Object[o(304)][o(280)][o(269)](configs[o(292)],a)||(configs[o(292)][a]=new Set),configs[o(292)][a].add(u[o(307)][o(325)]),s.arguments[0][o(307)].body.expression[o(287)]=[u],s[o(250)][o(324)][o(287)]=[e],s}function handleCallBackRequire(e,n,r){var t=_0x45a462,a=e[t(272)].arguments[0],i=e.node[t(287)][1],o=e[t(272)][t(287)][2],s=utils[t(242)](ASCF_LAZY_IMPORT_EXP),u=utils[t(242)](ASCF_LAZY_IMPORT_ERR_EXP),l=utils[t(242)](a);a.expression[t(325)]=r,a[t(307)][t(320)]='"'.concat(a[t(307)].value,'"'),l[t(307)][t(325)]=normalizedAbsPath(a[t(307)].value),l[t(307)][t(320)]='"'.concat(l[t(307)][t(325)],'"'),Object[t(304)].hasOwnProperty[t(269)](configs[t(292)],n)||(configs.ascfLazyImportFiles[n]=new Set),configs[t(292)][n][t(263)](l[t(307)][t(325)]),s[t(287)][0][t(307)]=null!=(r=null==o?void 0:o[t(307)])?r:u,s[t(250)].object.arguments=[i],s[t(250)][t(324)][t(250)][t(324)][t(287)][0].expression[t(306)][t(307)][t(287)]=[l],s[t(250)][t(324)][t(250)][t(324)].callee[t(324)].arguments=[a],replaceNode(e,s)}function _0x53d6(){var e=["value","err","Parameter","trimStart","param","@swc/core","length","normalizedAbsPath","deepClone","identifier","start","configs","../common/utils","599450gpaYSU","constructor","exports","callee","2ZgqKyZ","INNER_FUNC_LIST","CallExpression","slice","stmts","span","indexOf","visited","REQUIRE_TRY_CATCH_FUL","concat","source","CATCH_FUNC","add","831900ZosNwd","4bjyRbM","end","MemberExpression","params","call","Identifier","argument","node","431898BWlDxW","includes","require","startsWith","ArrowFunctionExpression","hasInterface","isArray","hasOwnProperty","type","7318320TGtNLY","key","replace","prefix","handler","arguments","HJS_GET_CONSTRUCTOR","property","parent","block","ascfLazyImportFiles","listKey","function","575440VLlShR","async","symbol","../common/exp-utils","pat","iterator","printSync","NEW_PROMISE","ecmascript","prototype","REQUIRE_TRY_CATCH","body","expression","split","replaceAll","keys","9DWJiGp","Import","$ascf","REQUIRE","1818194TQUmUf","484184pPxhGx","../../common/string-utils","parseSync","ASCF_LAZY_IMPORT","raw","hjsMod","push","CatchClause","object"];return(_0x53d6=function(){return e})()}function handleAsyncRequire(e,n,r){var t=_0x45a462,a=e[t(272)][t(287)][0],i=utils[t(242)](ASCF_LAZY_IMPORT_EXP[t(250)].object[t(250)][t(324)]),o=utils.deepClone(a);a.expression[t(325)]=r,a[t(307)][t(320)]='"'[t(260)](a.expression[t(325)],'"'),o.expression[t(325)]=normalizedAbsPath(a[t(307)][t(325)]),o[t(307)][t(320)]='"'[t(260)](o[t(307)][t(325)],'"'),Object[t(304)].hasOwnProperty[t(269)](configs[t(292)],n)||(configs[t(292)][n]=new Set),configs[t(292)][n][t(263)](o[t(307)][t(325)]),i[t(287)][0][t(307)][t(306)][t(307)][t(287)]=[o],i.callee[t(324)].arguments=[a],replaceNode(e,i)}function syncCallBackRequire(e){var n=_0x45a462;syncAsyncRequireCommon(e[n(272)].expression[n(287)][0],e[n(272)].expression[n(287)][1],e[n(272)][n(307)].arguments[2]||{},e)}function syncAsyncRequire(e,n,r){var t=_0x45a462,a={};syncAsyncRequireCommon(e,a=(null==(e=n[t(272)][t(307)][t(287)])||null==(e=e[0])?void 0:e[t(307)].type)===t(277)?n[t(272)][t(307)][t(287)][0]:a,{},n)}function syncAsyncRequireWithCatch(e,n,r){var t=_0x45a462,a={},i={};syncAsyncRequireCommon(e,a=(null==(e=n[t(272)][t(307)][t(250)][t(324)][t(287)])||null==(e=e[0])?void 0:e[t(307)].type)===t(277)?n.node[t(307)].callee[t(324)][t(287)][0]:a,i=(null==(e=n.node[t(307)][t(287)])||null==(e=e[0])?void 0:e.expression[t(281)])===t(277)?n[t(272)][t(307)].arguments[0]:i,n)}function syncAsyncRequireCommon(e,n,r,t){var a=_0x45a462,i=utils[a(242)](REQUIRE_EXP),e=(i[a(287)][0]=utils.deepClone(e),utils[a(242)](REQUIRE_TRY_CATCH_EXP));e[a(291)][a(255)][0].expression[a(250)][a(307)]=n[a(307)],e[a(291)][a(255)][0][a(307)][a(287)][0][a(307)]=i,e[a(286)][a(238)][a(325)]=0===Object[a(310)](r)[a(240)]?"err":r[a(307)].params[0][a(325)],0===Object[a(310)](r)[a(240)]?e[a(286)][a(306)][a(255)][0][a(307)][a(250)][a(307)][a(306)][a(255)][0][a(307)]=utils[a(242)](ASCF_LAZY_IMPORT_ERR_EXP):e[a(286)][a(306)][a(255)][0][a(307)].callee.expression=r.expression,e[a(286)].body[a(255)][0].expression[a(287)][0][a(307)][a(325)]=0===Object[a(310)](r)[a(240)]?a(235):r[a(307)][a(268)][0][a(325)],replaceNode(t,e)}function syncAwaitRequire(e,n){var r=_0x45a462,t=utils[r(242)](REQUIRE_EXP);t[r(287)][0]=utils[r(242)](e),replaceNode(n,t)}module[_0x45a462(249)]={core:core,astParse:astParse,traverse:traverse,generate:generate,getLineAndColumn:getLineAndColumn,getI18NDupKeyLoc:getI18NDupKeyLoc,getPathProcessVistor:getPathProcessVistor,getConstructorProcessVistor:getConstructorProcessVistor,addCatchStatement:addCatchStatement,isParameter:isParameter,getTrustListVerifyVisitor:getTrustListVerifyVisitor,isHjs:isHjs,requireHandler:requireHandler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x4ef2df=_0x5383;function _0x5383(e,r){var t=_0x2ef4();return(_0x5383=function(e,r){return t[e-=161]})(e,r)}function _0x2ef4(){var e=["7763110spKgVG","stringify","getPathProcessVistor",'>, "',"./parser-swc","configs","@@iterator","toPrimitive","iterator","constructor","slice","Set","defineProperties","exports","es5","3438819akOxsf","undefined","220gZknpN","test","getLoaderModule","concat","length","keys","getOwnPropertySymbols","../common/utils","filter",'". \n@ ',"getOwnPropertyDescriptors","function","readFileSync","object","Map","isArray","forEach","Object","start","string","code",'will overwrite "',"column","767208jAlGnw","../swc-loader","line","symbol","parser","406514lFqeOA","6UpjyVV","astParse","error","utf8","10405ILdExc","WARNING: Duplicate key: <","traverse","span","@babel/preset-env","Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","swc","assign","prototype","getLogger","./parser-babel","114yDBQvz","74179oosBUC","../../common/config","toString","defineProperty","name","value","parse","@@toPrimitive must return a primitive value.","219326UmwhEi","default","let xxx = ","call","unambiguous","resolve","getOwnPropertyDescriptor","babel-loader","enumerable","hasOwnProperty","Arguments"];return(_0x2ef4=function(){return e})()}function _typeof(e){var t=_0x5383;return(_typeof="function"==typeof Symbol&&t(190)==typeof Symbol.iterator?function(e){return typeof e}:function(e){var r=t;return e&&r(175)==typeof Symbol&&e[r(237)]===Symbol&&e!==Symbol[r(205)]?r(190):typeof e})(e)}function ownKeys(t,e){var r,o=_0x5383,n=Object[o(169)](t);return Object[o(170)]&&(r=Object[o(170)](t),e&&(r=r[o(172)](function(e){var r=o;return Object.getOwnPropertyDescriptor(t,e)[r(225)]})),n.push.apply(n,r)),n}function _objectSpread(t){for(var o=_0x5383,e=1;e<arguments[o(168)];e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(n),!0)[o(180)](function(e){_defineProperty(t,e,n[e])}):Object[o(174)]?Object[o(240)](t,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n))[o(180)](function(e){var r=o;Object[r(212)](t,e,Object[r(223)](n,e))})}return t}function _defineProperty(e,r,t){var o=_0x5383;return(r=_toPropertyKey(r))in e?Object[o(212)](e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(e){var r=_0x5383,e=_toPrimitive(e,r(183));return r(190)==_typeof(e)?e:e+""}function _toPrimitive(e,r){var t=_0x5383;if(t(177)!=_typeof(e)||!e)return e;var o=e[Symbol[t(235)]];if(void 0===o)return(t(183)===r?String:Number)(e);o=o.call(e,r||t(218));if(t(177)!=_typeof(o))return o;throw new TypeError(t(216))}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError(_0x5383(202))}function _unsupportedIterableToArray(e,r){var t,o=_0x5383;if(e)return o(183)==typeof e?_arrayLikeToArray(e,r):(t={}.toString[o(220)](e)[o(238)](8,-1),o(181)===t&&e[o(237)]&&(t=e[o(237)][o(213)]),o(178)===t||o(239)===t?Array.from(e):o(227)===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[o(165)](t)?_arrayLikeToArray(e,r):void 0)}function _iterableToArray(e){var r=_0x5383;if(r(163)!=typeof Symbol&&null!=e[Symbol[r(236)]]||null!=e[r(234)])return Array.from(e)}function _arrayWithoutHoles(e){if(Array[_0x5383(179)](e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){var t=_0x5383;(null==r||r>e[t(168)])&&(r=e[t(168)]);for(var o=0,n=Array(r);o<r;o++)n[o]=e[o];return n}(()=>{for(var e=_0x5383,r=_0x2ef4();;)try{if(204667==+parseInt(e(192))+-parseInt(e(217))/2*(parseInt(e(193))/3)+-parseInt(e(164))/4*(-parseInt(e(197))/5)+parseInt(e(208))/6*(parseInt(e(209))/7)+parseInt(e(187))/8+parseInt(e(162))/9+-parseInt(e(228))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require(_0x4ef2df(171)),getLoaderModule=_require[_0x4ef2df(166)],fs=require("fs"),path=require("path"),log4js=require("../../common/log4js.js"),_require2=require(_0x4ef2df(210)),configs=_require2[_0x4ef2df(233)],logger=log4js[_0x4ef2df(206)](_0x4ef2df(191)),compiler=configs.parser===_0x4ef2df(203)?require(_0x4ef2df(232)):require(_0x4ef2df(207)),presetsOption={targets:{node:8}},jsExpCache={};function getNodeName(e){var r=_0x4ef2df;return"swc"===configs[r(191)]?null==e?void 0:e[r(214)]:null==e?void 0:e[r(213)]}function useJsLoader(e){var r=_0x4ef2df,e={loader:getLoaderModule(r(224)),options:{presets:[[getLoaderModule(r(201)),presetsOption]],plugins:[getLoaderModule("@babel/plugin-transform-modules-commonjs"),getLoaderModule("@babel/plugin-transform-class-properties")][r(167)](_toConsumableArray(e||[]))}},t={loader:path[r(222)](__dirname,r(188)),options:{jsc:{transform:{legacyDecorator:!0,decoratorMetadata:!0,useDefineForClassFields:!0},target:r(161)},module:{type:"commonjs"}}};return configs[r(191)]===r(203)?t:e}function useJsLoaderNoCompact(){var e=_0x4ef2df,r={loader:getLoaderModule(e(224)),options:{presets:[[getLoaderModule(e(201)),presetsOption]],compact:!1}},t={loader:path[e(222)](__dirname,"../swc-loader")};return configs[e(191)]===e(203)?t:r}function isLegalJsExp(e){var r=_0x4ef2df;if(e&&jsExpCache[e])return!0;try{return jsExpCache[e]=compiler[r(194)](r(219)[r(167)](e)),!0}catch(e){return!1}}function checkJsonDupKey(n,a,s){var i=_0x4ef2df,c="var _temp_=\n",u=fs[i(176)](a,i(196))[i(211)]()||"{}",p=JSON[i(215)](u),f=compiler[i(194)]("".concat(c)[i(167)](u));return Object[i(169)](p)[i(180)](function(e){var r,t,o=i;Object.prototype[o(226)][o(220)](n,e)&&(t=[],compiler[o(199)](f,compiler.getI18NDupKeyLoc(t,e,u,(null==(r=f[o(200)])?void 0:r[o(182)])+c.length)),s({message:o(198)[o(167)](e,o(231))[o(167)](p[e],'" ')+o(185)[o(167)](n[e],o(173)).concat(a,":").concat(null==(r=t[0])?void 0:r[o(189)],":")[o(167)](null==(e=t[0])?void 0:e[o(186)],"\n")}))}),p}function hjsProcess(r,e){var t,o=_0x4ef2df;try{t=compiler[o(194)](r,{sourceType:o(221)})}catch(e){return logger[o(195)](e),r}r=Object[o(204)]({},compiler[o(230)](e),compiler.getConstructorProcessVistor());return compiler[o(199)](t,r),compiler.generate(t)[o(184)]}function deepCopyNode(e){var r=_0x4ef2df;return JSON[r(215)](JSON[r(229)](e))}module[_0x4ef2df(241)]=_objectSpread(_objectSpread({},compiler),{},{useJsLoader:useJsLoader,useJsLoaderNoCompact:useJsLoaderNoCompact,isLegalJsExp:isLegalJsExp,checkJsonDupKey:checkJsonDupKey,hjsProcess:hjsProcess,deepCopyNode:deepCopyNode,getNodeName:getNodeName,jsExpCache:jsExpCache});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x40a637=_0x4c82;function _0x4c9d(){var r=["5541360UsGOWG","39321BbqZMQ","rootContext","6615112ZdwFGr","parseQuery","4260iWlDba","getOptions","2452104MHZKBG","stringify","289592SsULqR","utils","8sYussf","3284GWAiMT","5855085hqYmks","3195AOQQHl","slice","stringifyRequest","context"];return(_0x4c9d=function(){return r})()}function _0x4c82(r,t){var e=_0x4c9d();return(_0x4c82=function(r,t){return e[r-=284]})(r,t)}(()=>{for(var r=_0x4c82,t=_0x4c9d();;)try{if(701838==-parseInt(r(284))*(parseInt(r(286))/2)+-parseInt(r(289))/3*(-parseInt(r(287))/4)+parseInt(r(288))/5+-parseInt(r(300))/6+-parseInt(r(296))/7+-parseInt(r(293))/8+-parseInt(r(294))/9*(-parseInt(r(298))/10))break;t.push(t.shift())}catch(r){t.push(t.shift())}})();var loaderUtils=require("loader-utils");loaderUtils[_0x40a637(297)]=function(r){return new URLSearchParams(r[_0x40a637(290)](1))},loaderUtils[_0x40a637(291)]=function(r,t){var e=_0x40a637;return JSON[e(301)](r[e(285)].contextify(r[e(292)]||r[e(295)],t))},loaderUtils[_0x40a637(299)]=function(r){return r[_0x40a637(299)]()},module.exports=loaderUtils;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x93e3b4=_0x3616;function _0x3616(r,e){var t=_0x28fd();return(_0x3616=function(r,e){return t[r-=328]})(r,e)}(()=>{for(var r=_0x3616,e=_0x28fd();;)try{if(227436==+parseInt(r(330))+-parseInt(r(333))/2+parseInt(r(340))/3+parseInt(r(343))/4*(-parseInt(r(339))/5)+-parseInt(r(328))/6*(parseInt(r(336))/7)+-parseInt(r(332))/8+-parseInt(r(346))/9*(-parseInt(r(337))/10))break;e.push(e.shift())}catch(r){e.push(e.shift())}})();var resourcePath,SOURCE_ROOT_PATH,path=require(_0x93e3b4(341)),_require=require(_0x93e3b4(342)),hjsProcess=_require.hjsProcess,_require2=require("./common/utils"),isFileExist=_require2[_0x93e3b4(334)],PATH_RE=/^\.?\.\//,IGNORED_PATH_RE=/^@(?=system|service|card|android|hap)/;function _0x28fd(){var r=["2066968vtXENq","266972CMZCWi","isFileExist","exports","50771eMHrYk","1669790zOgPOk","join","175YwfOaO","116703iMZMoH","path","./js-parser/parser","49124SSbExT","srcPath","options","36Lextli","54JWzhxm","test","407588IJdpQk","concat"];return(_0x28fd=function(){return r})()}function pathProcess(r){var e,t=_0x93e3b4,s=path[t(338)](resourcePath,"..");return IGNORED_PATH_RE[t(329)](r.toLowerCase())||PATH_RE.test(r)||(r.startsWith("/")?(e=path[t(338)](SOURCE_ROOT_PATH,r),r=isFileExist(e)?path.relative(s,e):".".concat(r)):(e=path[t(338)](s,r),isFileExist(e)&&(r="./"[t(331)](r)))),r}module[_0x93e3b4(335)]=function(r){var e=_0x93e3b4;return resourcePath=this.resourcePath,SOURCE_ROOT_PATH=this[e(345)][e(344)],hjsProcess(r,pathProcess)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0xfb598e=_0x2cea;function _typeof(e){var t=_0x2cea;return(_typeof="function"==typeof Symbol&&t(344)==typeof Symbol.iterator?function(e){return typeof e}:function(e){var r=t;return e&&r(379)==typeof Symbol&&e.constructor===Symbol&&e!==Symbol[r(339)]?r(344):typeof e})(e)}function _classCallCheck(e,r){var t=_0x2cea;if(!(e instanceof r))throw new TypeError(t(342))}function _defineProperties(e,r){for(var t=_0x2cea,o=0;o<r[t(361)];o++){var n=r[o];n[t(360)]=n.enumerable||!1,n[t(373)]=!0,"value"in n&&(n.writable=!0),Object[t(380)](e,_toPropertyKey(n[t(346)]),n)}}function _createClass(e,r,t){var o=_0x2cea;return r&&_defineProperties(e[o(339)],r),t&&_defineProperties(e,t),Object[o(380)](e,o(339),{writable:!1}),e}function _toPropertyKey(e){e=_toPrimitive(e,_0x2cea(397));return"symbol"==_typeof(e)?e:e+""}function _toPrimitive(e,r){var t=_0x2cea;if(t(349)!=_typeof(e)||!e)return e;var o=e[Symbol[t(343)]];if(void 0===o)return(t(397)===r?String:Number)(e);o=o.call(e,r||t(352));if(t(349)!=_typeof(o))return o;throw new TypeError(t(375))}(()=>{for(var e=_0x2cea,r=_0x6b0b();;)try{if(868625==+parseInt(e(353))+-parseInt(e(385))/2*(-parseInt(e(389))/3)+-parseInt(e(390))/4*(-parseInt(e(387))/5)+-parseInt(e(357))/6+parseInt(e(345))/7*(-parseInt(e(376))/8)+parseInt(e(368))/9+parseInt(e(348))/10*(-parseInt(e(363))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var fs=require("fs"),path=require(_0xfb598e(333)),_require=require("../../common/utils"),PROJECT_PATH=_require[_0xfb598e(358)],json5=require(_0xfb598e(338)),_require2=require(_0xfb598e(347)),getSubRootMap=_require2[_0xfb598e(359)],utils=require(_0xfb598e(383)),_require3=require(_0xfb598e(334)),copyDirectory=_require3[_0xfb598e(372)],setModuleName=_require3[_0xfb598e(370)],addSubInfo=_require3[_0xfb598e(336)],deleteNotExistSub=_require3[_0xfb598e(392)],log4js=require(_0xfb598e(337)),logger=log4js[_0xfb598e(350)](_0xfb598e(341));function deleteDirectory(t){var o=_0xfb598e;fs[o(374)](t)&&(fs[o(377)](t)[o(371)](function(e){var r=o,e=path.join(t,e);fs[r(391)](e)[r(395)]()?deleteDirectory(e):fs.unlinkSync(e)}),fs[o(367)](t))}function copySubFile(e,r,t,o){var n=_0xfb598e,i=t[n(394)],a=t[n(369)],u=path[n(351)](__dirname,n(393)),t=path[n(351)](t[n(362)],"../ascf_build",e,i,o),e=(copyDirectory(u,r),copyDirectory(path[n(382)](a,o),t),deleteDirectory(path[n(382)](a,o)),path.resolve(t,n(384)));fs[n(381)](e,path.resolve(r,i,n(384)),function(){})}function _0x2cea(e,r){var t=_0x6b0b();return(_0x2cea=function(e,r){return t[e-=332]})(e,r)}var CopyAscfBundlePlugin=_createClass(function e(r){_classCallCheck(this,e),this.options=r},[{key:"apply",value:function(e){var c=_0x2cea,s=this;e[c(386)][c(335)].tapAsync("CopyAscfBundlePlugin",function(e,r){var n=c;try{var t=path[n(351)](PROJECT_PATH,"build-profile.json5"),i=json5.parse(fs.readFileSync(t)[n(332)]()),o=utils[n(366)](path[n(351)](s[n(388)][n(362)],"app.json")),a=o[n(365)]||o[n(364)]||[],u=(deleteNotExistSub(i),getSubRootMap());a[n(371)](function(e){var r=n,t=u[r(354)](e.root),o=path.resolve(s[r(388)][r(362)],r(396),t);copySubFile(t,o,s[r(388)],e.root),setModuleName(o,t),addSubInfo(i,t)}),fs.writeFileSync(t,JSON[n(355)](i,null,2)),r()}catch(e){return logger[n(340)](n(378),e),r(e)}})}}]);function _0x6b0b(){var e=["readJsonFile","rmdirSync","5418AlNCYB","entryDir","setModuleName","forEach","copyDirectory","configurable","existsSync","@@toPrimitive must return a primitive value.","56SBmtwn","readdirSync","Error reading output directory:","function","defineProperty","rename","join","../../common/utils","index.js","1382eWZwVV","hooks","5cmvJFe","options","4443VdWjCa","4724948aiSSrP","lstatSync","deleteNotExistSub","../../ascf-project-generator/templates","bundleDir","isDirectory","../ascf_build","string","toString","path","../common/quick-generate-subpackage","afterEmit","addSubInfo","../../common/log4js.js","json5","prototype","error","copy-bundle-plugin","Cannot call a class as a function","toPrimitive","symbol","377335NJueHe","key","./manifest-generator-plugin","34070ceLDYd","object","getLogger","resolve","default","1222624jVTcRU","get","stringify","exports","4914444fQYLPK","PROJECT_PATH","getSubRootMap","enumerable","length","projectPath","4400WhgxoO","subPackages","subpackages"];return(_0x6b0b=function(){return e})()}module[_0xfb598e(356)]=CopyAscfBundlePlugin;
|