@atomicservice/ascf-toolkit 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ascf-base/index.js +1 -1
- package/lib/ascf-common/index.js +1 -1
- package/lib/ascf-compiler/appjson-loader.js +1 -1
- package/lib/ascf-compiler/common/appjson-validator.js +1 -1
- package/lib/ascf-compiler/common/ascf-define.js +1 -1
- package/lib/ascf-compiler/common/beforeLoaderProcess.js +1 -1
- package/lib/ascf-compiler/common/css-runtime-api.js +1 -1
- package/lib/ascf-compiler/common/eventHappenHjs.js +1 -1
- package/lib/ascf-compiler/common/exp-utils.js +1 -1
- package/lib/ascf-compiler/common/hash-sum.js +1 -1
- package/lib/ascf-compiler/common/hdc-executor.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/manifest-handler.js +1 -1
- package/lib/ascf-compiler/common/manifest-manager.js +1 -1
- package/lib/ascf-compiler/common/merge-tpl-cmps.js +1 -1
- package/lib/ascf-compiler/common/packoptions-utils.js +1 -1
- package/lib/ascf-compiler/common/quick-generate-subpackage.js +1 -1
- 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 -1
- package/lib/ascf-compiler/js-parser/parser-swc.js +1 -1
- package/lib/ascf-compiler/js-parser/parser.js +1 -1
- package/lib/ascf-compiler/loader-utils.js +1 -1
- package/lib/ascf-compiler/path-process-loader.js +1 -1
- package/lib/ascf-compiler/plugin/before-loader-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/copy-bundle-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/dynamic-entry-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/quick-service-build-plugin.js +1 -1
- package/lib/ascf-compiler/plugin/replace-module-id-plugin.js +1 -1
- 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 -1
- package/lib/ascf-compiler/server/dev-server.js +1 -1
- package/lib/ascf-compiler/server/port-manager.js +1 -1
- 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 -1
- 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 -1
- package/lib/ascf-compiler/vue-compiler/vue.bundle.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/convertManager.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/ascf-converter/report/js/index.js +1 -1
- package/lib/ascf-sign-tools/cli.js +1 -1
- package/lib/ascf-sign-tools/index.js +1 -1
- package/lib/bin/ascf.js +1 -1
- package/lib/commands/ascfbuild/index.js +1 -1
- package/lib/commands/build-npm/index.js +1 -1
- package/lib/commands/compile.js +1 -1
- package/lib/commands/convert.js +1 -1
- package/lib/commands/debugger/index.js +1 -1
- package/lib/commands/quickservice/index.js +1 -1
- package/lib/common/config.js +1 -1
- package/lib/common/constants.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 -1
- package/lib/common/utils.js +1 -1
- package/lib/common/version-check.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x24b833=_0x190b;function _createForOfIteratorHelper(e,r){var n,t,a,o,i=_0x190b,s="undefined"!=typeof Symbol&&e[Symbol[i(514)]]||e[i(519)];if(s)return a=!(t=!0),{s:function(){s=s[i(542)](e)},n:function(){var e=i,r=s[e(491)]();return t=r[e(547)],r},e:function(e){a=!0,n=e},f:function(){var e=i;try{t||null==s.return||s[e(562)]()}finally{if(a)throw n}}};if(Array[i(555)](e)||(s=_unsupportedIterableToArray(e))||r&&e&&i(551)==typeof e[i(504)])return s&&(e=s),o=0,{s:r=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r};throw new TypeError(i(513))}function _unsupportedIterableToArray(e,r){var n,t=_0x190b;if(e)return t(536)==typeof e?_arrayLikeToArray(e,r):(n={}.toString[t(542)](e)[t(485)](8,-1),t(521)===n&&e[t(481)]&&(n=e[t(481)][t(479)]),t(494)===n||t(560)===n?Array[t(497)](e):t(528)===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/[t(511)](n)?_arrayLikeToArray(e,r):void 0)}function _0x36d1(){var e=["number","1368BmsmOp","join","getManifestData","isArray","../common/config","values","path","8548584gtVEpZ","Set","projectCfg","return","keys","./common/packoptions-utils","', ","existsSync","parseIgnoreRules","manifest","isInjectDebugTimer","value","name","require('","constructor","10EDUWVW","compJsonPath","stringifyRequest","slice",'import(/* webpackChunkName: "',"parseQuery","size","forEach","get","next","');","68695RnSxdd","Map","key","1383765CZcGNf","from","130RTzjzo","require('./","global.__globalComponents = ","configs",".js","../common/utils","length","srcPath","replace","160WpnKnF","var {ascfDefine, ascfRequire} = require(","stringify","./loader-utils","test","getProjectInfo","Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.","iterator","getIsOpenLazyCodeLoad","concat","25918BqwPZn","asyncJsList","@@iterator","customTabBar","Object","'), '","app","usingComponents","ascfSrcPath","options","global.__qaRoute = '","Arguments","const NOOP=()=>{}; setInterval(NOOP, 1000);","./ascf-define","../ascf-compiler/common/manifest-manager","6671tdJjWI","filter","1399812wTjLsm","addDependency","string","endsWith","exports","./common/appjson-validator","package","314829mTBUhh","call","resolve","ascfDefine(() => require('","map","relative","done","push","hasPlaceHolder","manifestManager"];return(_0x36d1=function(){return e})()}function _arrayLikeToArray(e,r){(null==r||r>e[_0x190b(504)])&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}(()=>{for(var e=_0x190b,r=_0x36d1();;)try{if(291769==+parseInt(e(482))*(parseInt(e(517))/2)+-parseInt(e(496))/3+parseInt(e(507))/4*(parseInt(e(493))/5)+parseInt(e(534))/6+-parseInt(e(532))/7*(-parseInt(e(552))/8)+parseInt(e(541))/9*(parseInt(e(498))/10)+-parseInt(e(559))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var loaderUtils=require(_0x24b833(510)),checkAppJson=require(_0x24b833(539)),_require=require("path"),relative=_require.relative,fs=require("fs"),path=require("path"),_require2=require(_0x24b833(503)),getProjectInfo=_require2[_0x24b833(512)],readJsonFile=_require2.readJsonFile,_require3=require("./common/utils"),resolve=_require3.resolve,packOptions=require(_0x24b833(564)),_require4=require(_0x24b833(556)),configs=_require4[_0x24b833(501)],_require5=require(_0x24b833(531)),manifestManager=_require5[_0x24b833(550)],hasCheckAppJson=!1;function generateIgnoreRule(e){var r;return(r=e?packOptions[_0x24b833(567)](e):r)||{}}function getComponents(e){var n=_0x24b833,t=1<arguments[n(504)]&&void 0!==arguments[1]?arguments[1]:[],a=[];return null!=e&&e.forEach(function(e){var r=n;t.includes(e[r(558)])||a.push(e[r(558)])}),JSON[n(509)](a)}function appProcess(n,e,r,t){var a=_0x24b833;configs[a(569)]()&&n[a(548)](a(529)),n[a(548)](a(500).concat(JSON[a(509)](e),";")),n.push(a(527)[a(516)](t,"';")),Object[a(563)](r)[a(489)](function(e){var r=a;e===r(523)?n.push("require('./app.js');"):n.push(r(486).concat(e[r(537)]("/")?e:""[r(516)](e,"/"),"index.js\" */'./app.json?package=").concat(e,r(492)))})}function appJsonLoader(e){var s=_0x24b833,u=this,r=(hasCheckAppJson=hasCheckAppJson||checkAppJson(this),(null==(r=loaderUtils[s(487)](this.resourceQuery)[s(490)](s(540)))?void 0:r[s(506)](/\\/g,"/"))||""),n=manifestManager[s(554)](),t=n.projectComponentsMap,n=n[s(568)],c=manifestManager[s(515)](),p=this[s(526)][s(505)],f=Object[s(557)](n[s(524)]||{}),l=[],n=(c&&l.push(s(508)+"".concat(loaderUtils[s(484)](this,"!"[s(516)](resolve(s(530)))),");")),r===s(523)&&appProcess(l,f,t,r),t[r]||t[""[s(516)](r,"/")]);return n&&0<n[s(488)]&&n[s(489)](function(e,r){var n=s,t=e.componentList,e=e[n(483)],e="./"+relative(p,e).replace(/\\/g,"/"),a=getComponents(t,f),o=e[n(506)](/\.json$/g,n(502)),e=path[n(543)](getProjectInfo()[n(525)],e),i=e[n(506)](/\.json$/g,n(502));fs[n(566)](e)&&u[n(535)](e),fs.existsSync(i)&&u[n(535)](i),c?(e=getLazyCodeLoadUsingCmp(t),l[n(548)](n(544)[n(516)](o,n(522))[n(516)](r,n(565))[n(516)](e,")"))):(l[n(548)](n(527).concat(r,"';")),l[n(548)]("global.usingComponents = ".concat(a,";")),l.push(n(480)[n(516)](o,n(492))))}),r===s(523)&&c&&(t=getRequireGlobalCmpStr(p,f),l.push(t)),asyncProcess(r,l,this),l[s(553)]("\r\n")}function getRequireGlobalCmpStr(){var r=_0x24b833,e=0<arguments[r(504)]&&void 0!==arguments[0]?arguments[0]:[],n=[];return(n=e[r(504)]?e.map(function(e){return'ascfRequire("'[r(516)](e,'")')}):n)[r(553)]("\r\n")}function getLazyCodeLoadUsingCmp(){var n=_0x24b833,e=0<arguments[n(504)]&&void 0!==arguments[0]?arguments[0]:[],r=[];return e[n(504)]&&(r=e[n(533)](function(e){var r=n;return!e[r(549)]||e[r(495)]===r(520)})[n(545)](function(e){return e.path})),JSON.stringify(r)}function _0x190b(e,r){var n=_0x36d1();return(_0x190b=function(e,r){return n[e-=479]})(e,r)}function asyncProcess(e,r,n){var t,a=_0x24b833,o=getProjectInfo(),i=generateIgnoreRule(o[a(561)]);if(null==(t=configs[a(518)][e])?void 0:t[a(563)]()){var s,u=_createForOfIteratorHelper(configs[a(518)][e].keys());try{for(u.s();!(s=u.n())[a(547)];){var c=s[a(570)],p=path.relative(o[a(525)],c).replace(/\\/g,"/");p.endsWith(a(502))||(p+=a(502)),packOptions.isIgnoreFile(path[a(546)](o[a(525)],c),i)||(n[a(535)](c[a(506)](/\//g,"\\")),r[a(548)](a(499)[a(516)](p,"');")))}}catch(e){u.e(e)}finally{u.f()}}}module[_0x24b833(538)]=appJsonLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x197bf0=_0x52dd;function _typeof(e){var r=_0x52dd;return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol[r(239)]?function(e){return typeof e}:function(e){var a=r;return e&&a(149)==typeof Symbol&&e[a(178)]===Symbol&&e!==Symbol[a(152)]?a(146):typeof e})(e)}function _0x52dd(e,a){var r=_0x49ab();return(_0x52dd=function(e,a){return r[e-=144]})(e,a)}(()=>{for(var e=_0x52dd,a=_0x49ab();;)try{if(286160==-parseInt(e(231))*(parseInt(e(208))/2)+parseInt(e(198))/3+parseInt(e(191))/4+-parseInt(e(221))/5+parseInt(e(161))/6+parseInt(e(160))/7+parseInt(e(207))/8*(-parseInt(e(215))/9))break;a.push(a.shift())}catch(e){a.push(a.shift())}})();var utils=require(_0x197bf0(145)),fs=require("fs"),path=require(_0x197bf0(236)),logTypes=["NOTE",_0x197bf0(148),_0x197bf0(190)],REGEXP_INT=/^[0-9]+$/,REGEXP_COLOR_LONG=/^#[0-9a-fA-F]{6}$/,REGEXP_COLOR_SHORT=/^#[0-9a-fA-F]{3}$/,REGEXP_PACKAGE_NAME=/^[a-zA-Z][a-zA-Z0-9_]*(\.[a-zA-Z0-9_]+)+$/,validator={enum:function(t,e){var n=_0x197bf0;return 0<=t[n(223)](e[n(157)]())?{value:e}:{value:null,reason:function(e,a){var r=n;return r(206)[r(219)](e,r(184))[r(219)](a,r(187))+r(182)[r(219)](t,"]")}}},booleans:function(e){var t=_0x197bf0;return typeof e===t(144)?{value:e}:{value:null,reason:function(e,a){var r=t;return r(206)[r(219)](e,r(184))[r(219)](a,"' is invalid, ")+"the attribute value type must be boolean"}}},packageName:function(e){var t=_0x197bf0;return(e||"")[t(157)]()[t(173)]()[t(195)](REGEXP_PACKAGE_NAME)?{value:!0}:{value:!1,reason:function(e,a){var r=t;return r(218).concat(e,"' value '")[r(219)](a,r(214))}}},integer:function(e){var t=_0x197bf0;return t(216)===typeof e?e[t(195)](REGEXP_INT)?{value:!0,reason:function(e,a){var r=t;return r(169)[r(219)](e,"' ")+r(172)[r(219)](a,r(234))}}:{value:!1,reason:function(e,a){var r=t;return r(218)[r(219)](e,r(184))[r(219)](a,"' is invalid.")}}:(e=(e||"")[t(157)]())[t(195)](REGEXP_INT)?{value:!0}:{value:!1,reason:function(e,a){var r=t;return"ERROR: app.json configuration item '"[r(219)](e,r(184))[r(219)](a,r(214))}}},strArr:function(e){var t=_0x197bf0;return Array[t(230)](e)?{value:e}:{value:!1,reason:function(e,a){var r=t;return r(206).concat(e,"' value '")[r(219)](a,r(183))}}},window:function(e){return windowAndNetworkTimeOut(e,windowValidatorMap,_0x197bf0(212))},tabBar:function(o){var i,r,u,l,f,d=_0x197bf0;return d(167)!==_typeof(o)?{value:!1,reason:function(e){var a=d;return a(206)[a(219)](e,a(197))}}:(i=[],r=[],Object[d(200)](tabBarValidatorMap)[d(222)](function(e){var a=d;tabBarValidatorMap[e][a(156)]&&i[a(170)](e),tabBarValidatorMap[e].def&&r.push(tabBarValidatorMap[e].def)}),u={},l=[],f=0,Object[d(200)](o).forEach(function(e){var a,r,t,n=d;typeof tabBarValidatorMap[e]!==n(240)?(-1!==i[n(223)](e)&&(a=i.indexOf(e),i[n(233)](a,1)),a=tabBarValidatorMap[e][n(164)],n(149)===typeof a&&("number"!=typeof(a=a(o[e])).value&&"string"!=typeof a[n(213)]||(u[e]=a[n(213)]),a[n(229)])&&((r=(a=a[n(229)](e,o[e]))[n(195)](/^([A-Z]+):/))&&(t=logTypes[n(223)](r[1]),f<t&&(f=t),a=a[n(226)](r[0],"")),l[n(170)](a))):(f=1,l.push(" Attribute '"[n(219)](e,n(150))))}),0<i[d(171)]&&(f=2,l[d(170)](d(155)[d(219)](i[d(163)](", ")))),{value:utils.isEmptyObject(u)?null:JSON[d(186)](u),reason:0<l[d(171)]?function(e){var a=d;return""[a(219)](logTypes[f],": configuration item '").concat(e,a(203))+""[a(219)](l.join(a(193)))}:null})},networkTimeout:function(e){return windowAndNetworkTimeOut(e,networkTimeoutValidatorMap,"networkTimeout")},objArr:function(e){return{value:e}},string:function(e){return{value:e}},Object:function(e){return{value:e}},plugins:function(e){return{value:e}},preloadRule:function(e){return{value:e}},permission:function(e){return{value:e}},permissionObject:function(e){return{value:e}},HexColor:function(e){var r=_0x197bf0;return(e=(e||"")[r(157)]())[r(195)](REGEXP_COLOR_LONG)||e[r(195)](REGEXP_COLOR_SHORT)?{value:e}:{value:null,reason:function(e,a){return r(206).concat(e,"' color value '").concat(a,"' is invalid.'")}}},number:function(e){var t=_0x197bf0;return t(216)===typeof e?e[t(195)](REGEXP_INT)?{value:Number(e),reason:function(e,a){var r=t;return"WARNING: app.json configuration item '"[r(219)](e,"' ")+r(172).concat(a,"' is a character string, which should be an integer instead.")}}:{value:!1,reason:function(e,a){var r=t;return r(218)[r(219)](e,"' value '")[r(219)](a,r(183))}}:(e=(e||"").toString())[t(195)](REGEXP_INT)?{value:e}:{value:!1,reason:function(e,a){var r=t;return r(218).concat(e,r(184))[r(219)](a,r(214))}}},minPlatformVersion:function(e){var t=_0x197bf0,a=validator[t(151)](e);return a.value?e<1069?{value:!1,reason:function(e,a){var r=t;return r(205)[r(219)](a,r(196))+'please change "'[r(219)](e,'" field in the app.json file >= 1069.')}}:{value:!0}:a}},validatorMap={window:{type:validator[_0x197bf0(212)],required:!1},tabBar:{type:validator.tabBar,required:!1},networkTimeout:{type:validator.networkTimeout,required:!1},functionalPages:{type:makeEnumValidator(["false",_0x197bf0(217)]),required:!1},subpackages:{type:validator[_0x197bf0(185)],required:!1},subPackages:{type:validator[_0x197bf0(185)],required:!1},workers:{type:validator[_0x197bf0(216)],required:!1},requiredBackgroundModes:{type:validator[_0x197bf0(192)],required:!1},plugins:{type:validator.plugins,required:!1},preloadRule:{type:validator[_0x197bf0(242)],required:!1},resizable:{type:makeEnumValidator([_0x197bf0(211),_0x197bf0(217)]),required:!1},navigateToMiniProgramAppIdList:{type:validator[_0x197bf0(192)],required:!1},usingComponents:{type:validator.Object,required:!1},permission:{type:validator[_0x197bf0(188)],required:!1},sitemapLocation:{type:validator.string,required:!1},style:{type:validator[_0x197bf0(216)],required:!1}},windowValidatorMap={navigationBarBackgroundColor:{type:validator[_0x197bf0(166)],def:_0x197bf0(147)},navigationBarTextStyle:{type:makeEnumValidator(["white",_0x197bf0(209)]),def:_0x197bf0(165)},navigationBarTitleText:{type:validator.string},navigationStyle:{type:makeEnumValidator([_0x197bf0(201),_0x197bf0(204)]),def:_0x197bf0(201)},backgroundColor:{type:validator[_0x197bf0(166)],def:_0x197bf0(180)},backgroundTextStyle:{type:makeEnumValidator([_0x197bf0(194),"light"]),def:_0x197bf0(194)},backgroundColorTop:{type:validator.string,def:_0x197bf0(180)},backgroundColorBottom:{type:validator[_0x197bf0(216)],def:"#ffffff"},enablePullDownRefresh:{type:makeEnumValidator([_0x197bf0(211),_0x197bf0(217)]),def:"false"},onReachBottomDistance:{type:validator[_0x197bf0(153)],def:50},pageOrientation:{type:makeEnumValidator([_0x197bf0(232),_0x197bf0(179),_0x197bf0(220)]),def:_0x197bf0(232)}},tabBarValidatorMap={color:{type:validator.HexColor,required:!0},selectedColor:{type:validator.HexColor,required:!0},backgroundColor:{type:validator[_0x197bf0(166)],required:!0},borderStyle:{type:makeEnumValidator([_0x197bf0(209),_0x197bf0(165)]),required:!1,def:"black"},list:{type:validator.array,required:!0},position:{type:makeEnumValidator([_0x197bf0(162),_0x197bf0(227)]),required:!1,def:_0x197bf0(162)},custom:{type:makeBooleanValidator(),required:!1,def:"false"}},networkTimeoutValidatorMap={request:{type:validator[_0x197bf0(153)],required:!1,def:6e4},connectSocket:{type:validator[_0x197bf0(153)],required:!1,def:6e4},uploadFile:{type:validator[_0x197bf0(153)],required:!1,def:6e4},downloadFile:{type:validator[_0x197bf0(153)],required:!1,def:6e4}},preloadRuleValidatorMap={packages:{type:validator[_0x197bf0(192)],required:!0},network:{type:makeEnumValidator([_0x197bf0(228),_0x197bf0(241)]),required:!1,def:"wifi"}},permissionValidatorMap={"scope.userLocation":{type:validator[_0x197bf0(243)],required:!0}},requireAttrMap=[];function _0x49ab(){var e=["stringify","' is invalid, ","permission","ERROR: app.json does not contain configuration item '","ERROR","1895512tmLEQK","strArr"," \n ","dark","match"," is too early, ","' value is invalid.","1665945nnnktG","' is not a configuration item of ","keys","default","isEmptyObject","' contains: \n ","custom","ERROR: The platform version number of ","ERROR: Attribute '","3773128DEcAvH","139766ZdGYsP","black","icon","false","window","value","' is invalid.","9vnzyjl","string","true","ERROR: app.json configuration item '","concat","landscape","321690CCEUzA","forEach","indexOf","exports","manifest","replace","top","wifi","reason","isArray","4lyfHDL","portrait","splice","' is a character string, which should be an integer instead."," Attribute '","path","options","manifestData","iterator","undefined","all","preloadRule","permissionObject","boolean","./utils","symbol","#000000","WARNING","function","' is not a sub-attribute of tabBar.","integer","prototype","number","booleans"," The mandatory sub-attribute is missing: ","require","toString","existsSync","includes","168518QjVzGb","290424XkIZOR","bottom","join","type","white","HexColor","object","isExp","WARNING: app.json configuration item '","push","length","value '","trim","log","required","bind",": configuration item '","constructor","auto","#ffffff","ERROR: Can not resolve file :","the attribute value must in [","' is invalid","' value '","objArr"];return(_0x49ab=function(){return e})()}function validate(e,a){var r=_0x197bf0,t=void 0,n=void 0,o=validatorMap[e];return o&&r(149)===typeof o[r(164)]?(t=o[r(164)](a))[r(229)]&&(n={reason:t[r(229)](e,a)}):t={value:!0},{value:t[r(213)],log:n}}function windowAndNetworkTimeOut(o,i,u){var l,f,d,s=_0x197bf0;return"{}"===JSON.stringify(o)?{value:!0}:(l={},f=[],d=0,Object[s(200)](o).forEach(function(e){var a,r,t=s,n=i[e]&&i[e][t(164)];"function"==typeof n?(n=n(o[e]),t(153)!==typeof n.value&&t(216)!==typeof n[t(213)]&&t(144)!==typeof n[t(213)]||(l[e]=n[t(213)]),n.reason&&((a=(n=n.reason(e,o[e]))[t(195)](/^([A-Z]+):/))&&(r=logTypes.indexOf(a[1]),d<r&&(d=r),n=n[t(226)](a[0],"")),f[t(170)](n))):(d=1,f[t(170)](t(235)[t(219)](e,t(199))[t(219)](u,".")))}),{value:utils[s(202)](l)?null:JSON[s(186)](l),reason:0<f[s(171)]?function(e){var a=s;return""[a(219)](logTypes[d],a(177))[a(219)](e,a(203))+""[a(219)](f.join(a(193)))}:null})}function makeEnumValidator(e){var a=_0x197bf0;return validator.enum[a(176)](null,e)}function makeBooleanValidator(){var e=_0x197bf0;return validator[e(154)][e(176)](null)}function getComponents(e){var r=_0x197bf0,t=1<arguments[r(171)]&&void 0!==arguments[1]?arguments[1]:[],n=[];return e[r(222)](function(e){var a=r;t[a(159)](e[a(236)])||n[a(170)](e[a(236)])}),JSON.stringify(n)}(()=>{var r=_0x197bf0;Object[r(200)](validatorMap)[r(222)](function(e){var a=r;validatorMap[e][a(175)]&&requireAttrMap[a(170)](e)})})(),module[_0x197bf0(224)]=function(e){var r,t,a,n,o=_0x197bf0,i=e[o(237)][o(238)][o(225)];return i&&(r=e.resourcePath,t=[],requireAttrMap[o(222)](function(e){var a=o;i[e]||t.push({reason:a(189)[a(219)](e,"'"),filePath:r})}),a=i[o(210)],n=void(utils[o(168)](a)||!a||fs[o(158)](path[o(163)](r,"..",a[o(173)]()))||t[o(170)]({reason:o(181)[o(219)](a),filePath:r})),Object[o(200)](i)[o(222)](function(e){var a=o;(n=validate(e,i[e]))[a(174)]&&t[a(170)]({reason:n[a(174)][a(229)],filePath:r})}),utils.logWarn(e,t)),!0};
|
|
1
|
+
var _0xadf554=_0x4bac;function _typeof(a){var r=_0x4bac;return(_typeof="function"==typeof Symbol&&r(274)==typeof Symbol[r(241)]?function(a){return typeof a}:function(a){var e=r;return a&&e(272)==typeof Symbol&&a[e(251)]===Symbol&&a!==Symbol[e(253)]?e(274):typeof a})(a)}(()=>{for(var a=_0x4bac,e=_0x2930();;)try{if(951498==-parseInt(a(236))*(parseInt(a(231))/2)+parseInt(a(246))/3+parseInt(a(286))/4*(-parseInt(a(227))/5)+-parseInt(a(212))/6*(parseInt(a(276))/7)+parseInt(a(265))/8*(-parseInt(a(233))/9)+parseInt(a(216))/10+parseInt(a(206))/11)break;e.push(e.shift())}catch(a){e.push(e.shift())}})();var utils=require("./utils"),fs=require("fs"),path=require(_0xadf554(284)),logTypes=[_0xadf554(252),_0xadf554(269),"ERROR"],REGEXP_INT=/^[0-9]+$/,REGEXP_COLOR_LONG=/^#[0-9a-fA-F]{6}$/,REGEXP_COLOR_SHORT=/^#[0-9a-fA-F]{3}$/,REGEXP_PACKAGE_NAME=/^[a-zA-Z][a-zA-Z0-9_]*(\.[a-zA-Z0-9_]+)+$/,validator={enum:function(t,a){var n=_0xadf554;return 0<=t[n(223)](a[n(238)]())?{value:a}:{value:null,reason:function(a,e){var r=n;return r(222)[r(258)](a,r(187))[r(258)](e,"' is invalid, ")+r(247)[r(258)](t,"]")}}},booleans:function(a){var t=_0xadf554;return typeof a===t(200)?{value:a}:{value:null,reason:function(a,e){var r=t;return r(222)[r(258)](a,r(187)).concat(e,r(188))+r(195)}}},packageName:function(a){var t=_0xadf554;return(a||"")[t(238)]()[t(221)]()[t(224)](REGEXP_PACKAGE_NAME)?{value:!0}:{value:!1,reason:function(a,e){var r=t;return r(263)[r(258)](a,"' value '")[r(258)](e,r(199))}}},integer:function(a){var t=_0xadf554;return"string"==typeof a?a[t(224)](REGEXP_INT)?{value:!0,reason:function(a,e){var r=t;return r(201)[r(258)](a,"' ")+r(249)[r(258)](e,r(285))}}:{value:!1,reason:function(a,e){var r=t;return r(263)[r(258)](a,"' value '").concat(e,r(199))}}:(a=(a||"")[t(238)]())[t(224)](REGEXP_INT)?{value:!0}:{value:!1,reason:function(a,e){var r=t;return"ERROR: app.json configuration item '"[r(258)](a,r(187))[r(258)](e,"' is invalid.")}}},strArr:function(a){var t=_0xadf554;return Array[t(261)](a)?{value:a}:{value:!1,reason:function(a,e){var r=t;return r(222).concat(a,r(187))[r(258)](e,r(281))}}},window:function(a){return windowAndNetworkTimeOut(a,windowValidatorMap,_0xadf554(214))},tabBar:function(o){var i,r,u,d,l,f=_0xadf554;return f(245)!==_typeof(o)?{value:!1,reason:function(a){var e=f;return e(222)[e(258)](a,"' value is invalid.")}}:(i=[],r=[],Object.keys(tabBarValidatorMap)[f(239)](function(a){var e=f;tabBarValidatorMap[a][e(240)]&&i[e(207)](a),tabBarValidatorMap[a][e(237)]&&r[e(207)](tabBarValidatorMap[a].def)}),u={},d=[],l=0,Object[f(257)](o)[f(239)](function(a){var e,r,t,n=f;typeof tabBarValidatorMap[a]!==n(267)?(-1!==i[n(223)](a)&&(e=i.indexOf(a),i.splice(e,1)),e=tabBarValidatorMap[a].type,n(272)===typeof e&&(e=e(o[a]),n(211)!==typeof e[n(264)]&&n(190)!==typeof e[n(264)]||(u[a]=e.value),e[n(259)])&&((r=(e=e.reason(a,o[a])).match(/^([A-Z]+):/))&&(t=logTypes[n(223)](r[1]),l<t&&(l=t),e=e[n(271)](r[0],"")),d.push(e))):(l=1,d.push(n(266)[n(258)](a,n(186))))}),0<i[f(189)]&&(l=2,d[f(207)](" The mandatory sub-attribute is missing: "[f(258)](i.join(", ")))),{value:utils[f(229)](u)?null:JSON[f(194)](u),reason:0<d.length?function(a){var e=f;return"".concat(logTypes[l],": configuration item '")[e(258)](a,e(198))+""[e(258)](d.join(" \n "))}:null})},networkTimeout:function(a){return windowAndNetworkTimeOut(a,networkTimeoutValidatorMap,_0xadf554(278))},objArr:function(a){return{value:a}},string:function(a){return{value:a}},Object:function(a){return{value:a}},plugins:function(a){return{value:a}},preloadRule:function(a){return{value:a}},permission:function(a){return{value:a}},permissionObject:function(a){return{value:a}},HexColor:function(a){var t=_0xadf554;return(a=(a||"")[t(238)]()).match(REGEXP_COLOR_LONG)||a.match(REGEXP_COLOR_SHORT)?{value:a}:{value:null,reason:function(a,e){var r=t;return r(222).concat(a,r(193)).concat(e,r(242))}}},number:function(a){var t=_0xadf554;return t(190)===typeof a?a[t(224)](REGEXP_INT)?{value:Number(a),reason:function(a,e){var r=t;return r(201)[r(258)](a,"' ")+"value '"[r(258)](e,r(285))}}:{value:!1,reason:function(a,e){var r=t;return r(263)[r(258)](a,r(187))[r(258)](e,r(281))}}:(a=(a||"").toString())[t(224)](REGEXP_INT)?{value:a}:{value:!1,reason:function(a,e){var r=t;return r(263)[r(258)](a,r(187)).concat(e,r(199))}}},minPlatformVersion:function(a){var t=_0xadf554,e=validator[t(235)](a);return e[t(264)]?a<1069?{value:!1,reason:function(a,e){var r=t;return r(185).concat(e,r(273))+'please change "'.concat(a,r(244))}}:{value:!0}:e}},validatorMap={window:{type:validator[_0xadf554(214)],required:!1},tabBar:{type:validator[_0xadf554(268)],required:!1},networkTimeout:{type:validator[_0xadf554(278)],required:!1},functionalPages:{type:makeEnumValidator([_0xadf554(197),_0xadf554(209)]),required:!1},subpackages:{type:validator[_0xadf554(277)],required:!1},subPackages:{type:validator.objArr,required:!1},workers:{type:validator.string,required:!1},requiredBackgroundModes:{type:validator[_0xadf554(220)],required:!1},plugins:{type:validator[_0xadf554(230)],required:!1},preloadRule:{type:validator[_0xadf554(208)],required:!1},resizable:{type:makeEnumValidator([_0xadf554(197),_0xadf554(209)]),required:!1},navigateToMiniProgramAppIdList:{type:validator.strArr,required:!1},usingComponents:{type:validator[_0xadf554(243)],required:!1},permission:{type:validator[_0xadf554(213)],required:!1},sitemapLocation:{type:validator[_0xadf554(190)],required:!1},style:{type:validator.string,required:!1}},windowValidatorMap={navigationBarBackgroundColor:{type:validator[_0xadf554(217)],def:"#000000"},navigationBarTextStyle:{type:makeEnumValidator([_0xadf554(282),_0xadf554(203)]),def:_0xadf554(282)},navigationBarTitleText:{type:validator.string},navigationStyle:{type:makeEnumValidator(["default",_0xadf554(280)]),def:_0xadf554(196)},backgroundColor:{type:validator[_0xadf554(217)],def:_0xadf554(232)},backgroundTextStyle:{type:makeEnumValidator([_0xadf554(260),_0xadf554(192)]),def:_0xadf554(260)},backgroundColorTop:{type:validator[_0xadf554(190)],def:_0xadf554(232)},backgroundColorBottom:{type:validator[_0xadf554(190)],def:"#ffffff"},enablePullDownRefresh:{type:makeEnumValidator([_0xadf554(197),_0xadf554(209)]),def:_0xadf554(197)},onReachBottomDistance:{type:validator.number,def:50},pageOrientation:{type:makeEnumValidator([_0xadf554(215),"auto","landscape"]),def:_0xadf554(215)}},tabBarValidatorMap={color:{type:validator[_0xadf554(217)],required:!0},selectedColor:{type:validator.HexColor,required:!0},backgroundColor:{type:validator[_0xadf554(217)],required:!0},borderStyle:{type:makeEnumValidator([_0xadf554(203),_0xadf554(282)]),required:!1,def:_0xadf554(203)},list:{type:validator[_0xadf554(225)],required:!0},position:{type:makeEnumValidator([_0xadf554(228),"top"]),required:!1,def:_0xadf554(228)},custom:{type:makeBooleanValidator(),required:!1,def:_0xadf554(197)}},networkTimeoutValidatorMap={request:{type:validator[_0xadf554(211)],required:!1,def:6e4},connectSocket:{type:validator.number,required:!1,def:6e4},uploadFile:{type:validator[_0xadf554(211)],required:!1,def:6e4},downloadFile:{type:validator[_0xadf554(211)],required:!1,def:6e4}},preloadRuleValidatorMap={packages:{type:validator[_0xadf554(220)],required:!0},network:{type:makeEnumValidator([_0xadf554(275),_0xadf554(218)]),required:!1,def:_0xadf554(275)}},permissionValidatorMap={"scope.userLocation":{type:validator[_0xadf554(210)],required:!0}},requireAttrMap=[];function validate(a,e){var r=_0xadf554,t=void 0,n=void 0,o=validatorMap[a];return o&&r(272)===typeof o[r(256)]?(t=o.type(e))[r(259)]&&(n={reason:t[r(259)](a,e)}):t={value:!0},{value:t[r(264)],log:n}}function _0x4bac(a,e){var r=_0x2930();return(_0x4bac=function(a,e){return r[a-=185]})(a,e)}function windowAndNetworkTimeOut(o,i,u){var d,l,f,p=_0xadf554;return"{}"===JSON[p(194)](o)?{value:!0}:(d={},l=[],f=0,Object[p(257)](o)[p(239)](function(a){var e,r,t=p,n=i[a]&&i[a][t(256)];t(272)===typeof n?(n=n(o[a]),t(211)!==typeof n[t(264)]&&t(190)!==typeof n[t(264)]&&t(200)!==typeof n[t(264)]||(d[a]=n[t(264)]),n.reason&&((e=(n=n[t(259)](a,o[a]))[t(224)](/^([A-Z]+):/))&&(r=logTypes[t(223)](e[1]),f<r&&(f=r),n=n[t(271)](e[0],"")),l.push(n))):(f=1,l[t(207)](t(266)[t(258)](a,t(262))[t(258)](u,".")))}),{value:utils[p(229)](d)?null:JSON[p(194)](d),reason:0<l[p(189)]?function(a){var e=p;return""[e(258)](logTypes[f],": configuration item '").concat(a,"' contains: \n ")+""[e(258)](l[e(283)](" \n "))}:null})}function _0x2930(){var a=["921AxrRYi","def","toString","forEach","require","iterator","' is invalid.'","Object",'" field in the app.json file >= 1069.',"object","2252856nLXCOM","the attribute value must in [","options","value '","required","constructor","NOTE","prototype","manifestData","bind","type","keys","concat","reason","dark","isArray","' is not a configuration item of ","ERROR: app.json configuration item '","value","456Xaozqq"," Attribute '","undefined","tabBar","WARNING","manifest","replace","function"," is too early, ","symbol","wifi","21KApaLz","objArr","networkTimeout","booleans","custom","' is invalid","white","join","path","' is a character string, which should be an integer instead.","5950500vsTNoJ","ERROR: The platform version number of ","' is not a sub-attribute of tabBar.","' value '","' is invalid, ","length","string","ERROR: Can not resolve file :","light","' color value '","stringify","the attribute value type must be boolean","default","false","' contains: \n ","' is invalid.","boolean","WARNING: app.json configuration item '","existsSync","black","isExp","icon","53879441nHYjKu","push","preloadRule","true","permissionObject","number","3166866oMJGAR","permission","window","portrait","9399850rtXjdz","HexColor","all","resourcePath","strArr","trim","ERROR: Attribute '","indexOf","match","array","ERROR: app.json does not contain configuration item '","5KLlpeP","bottom","isEmptyObject","plugins","2958zbqdwS","#ffffff","190161tyuxVJ","log","integer"];return(_0x2930=function(){return a})()}function makeEnumValidator(a){var e=_0xadf554;return validator.enum[e(255)](null,a)}function makeBooleanValidator(){var a=_0xadf554;return validator[a(279)][a(255)](null)}function getComponents(a){var r=_0xadf554,t=1<arguments[r(189)]&&void 0!==arguments[1]?arguments[1]:[],n=[];return a[r(239)](function(a){var e=r;t.includes(a[e(284)])||n.push(a[e(284)])}),JSON.stringify(n)}(()=>{var r=_0xadf554;Object.keys(validatorMap)[r(239)](function(a){var e=r;validatorMap[a][e(250)]&&requireAttrMap[e(207)](a)})})(),module.exports=function(a){var r,t,e,n,o=_0xadf554,i=a[o(248)][o(254)][o(270)];return i&&(r=a[o(219)],t=[],requireAttrMap[o(239)](function(a){var e=o;i[a]||t.push({reason:e(226)[e(258)](a,"'"),filePath:r})}),e=i[o(205)],n=void(utils[o(204)](e)||!e||fs[o(202)](path.join(r,"..",e[o(221)]()))||t[o(207)]({reason:o(191)[o(258)](e),filePath:r})),Object[o(257)](i)[o(239)](function(a){var e=o;(n=validate(a,i[a]))[e(234)]&&t[e(207)]({reason:n[e(234)][e(259)],filePath:r})}),utils.logWarn(a,t)),!0};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1a08(){var e=["5794790ooCxFL","224tiLQfi","716300RRjjVq","11570009oLHcpT","ASCF_ROUTES","routePath","18YhXffi","4310157oFbdvr","warn","73199TNEIVB","712934GesHgP","WARNING: Can't find the "," info, please check your json file.","48fTRyQd","usingComponents","requireCb","exports","2fgcnSD","__qaRoute","832285kLcunX"];return(_0x1a08=function(){return e})()}var _0x1d370b=_0x38e2;function ascfDefine(e,n){var a=_0x38e2,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[];globalThis[a(393)][n]={routePath:n,requireCb:e,usingComponents:r}}function _0x38e2(e,n){var a=_0x1a08();return(_0x38e2=function(e,n){return a[e-=391]})(e,n)}function ascfRequireInner(e){var n=_0x38e2;global[n(407)]=e[n(394)],global[n(403)]=e[n(403)],e[n(404)](),global[n(407)]=""}function ascfRequire(e){var n=_0x38e2,a=globalThis.ASCF_ROUTES[e];a?(a[n(403)]&&a[n(403)].forEach(function(e){ascfRequire(e)}),ascfRequireInner(a)):console[n(397)](n(400).concat(e,n(401)))}(()=>{for(var e=_0x38e2,n=_0x1a08();;)try{if(920909==-parseInt(e(399))+-parseInt(e(406))/2*(parseInt(e(396))/3)+-parseInt(e(391))/4+parseInt(e(408))/5*(parseInt(e(402))/6)+-parseInt(e(398))/7*(parseInt(e(410))/8)+-parseInt(e(395))/9*(-parseInt(e(409))/10)+parseInt(e(392))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}})(),globalThis.ascfDefine=ascfDefine,globalThis.ascfRequire=ascfRequire,globalThis.ASCF_ROUTES=globalThis.ASCF_ROUTES||{},module[_0x1d370b(405)]={ascfDefine:ascfDefine,ascfRequire:ascfRequire};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x585100=_0x4db6;function _0x4db6(e,r){var n=_0x18c6();return(_0x4db6=function(e,r){return n[e-=142]})(e,r)}function _0x18c6(){var e=["add","code","root","traverse","hasOwnProperty","5qICmjt","1HfHDai","1162098THztZV","ascfSrcPath","resolve","jsLoaderList","getProjectInfo","app.js","411360Cosito","handleResolveAlias","forEach","../../common/utils","prototype","existsSync","55iDAHLD","asyncJsList","call","astParse","1939KKnfpR","replace","requireHandler","2868gbKUrr","405376lGHDSM","relative","startsWith","app","concat","endsWith","./utils","generate",".js","351336UiTcEt","325034XGMpbk","configs","path","dirname","566640wqwAMg"];return(_0x18c6=function(){return e})()}(()=>{for(var e=_0x4db6,r=_0x18c6();;)try{if(106705==-parseInt(e(161))*(parseInt(e(150))/2)+-parseInt(e(168))/3+-parseInt(e(149))/4*(parseInt(e(160))/5)+-parseInt(e(181))/6*(-parseInt(e(178))/7)+-parseInt(e(182))/8+parseInt(e(162))/9+-parseInt(e(154))/10*(-parseInt(e(174))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}})();var _require=require("../js-parser/parser"),astParse=_require[_0x585100(177)],traverse=_require[_0x585100(158)],generate=_require[_0x585100(147)],requireHandler=_require[_0x585100(180)],_require2=require(_0x585100(171)),getProjectInfo=_require2[_0x585100(166)],path=require(_0x585100(152)),fs=require("fs"),_require3=require(_0x585100(146)),normalizedAbsPath=_require3.normalizedAbsPath,_require4=require("../../common/utils"),handleResolveAlias=_require4[_0x585100(169)],_require5=require("../../common/config"),configs=_require5[_0x585100(151)];function getOwnerIndexJs(t,e){var a,i=_0x585100;return t=normalizePath(t),null!=e&&e[i(170)](function(e){var r,n=i,e=normalizedAbsPath(e[n(157)]);e+=e[n(145)]("/")?"":"/",null!=(r=t)&&r[n(142)](e)&&(a=e)}),a?a+"index.js":normalizedAbsPath(i(167))}function pathHandler(e,r,n,t,a){var i=_0x585100,s=getProjectInfo()[i(163)],t=(r=handleResolveAlias(r,t),path[i(153)](e)),t=r[i(142)]("/")?path.join(s,r):path[i(164)](t,r);return isValidJSPath(t,r,e),a||configs[i(165)][i(155)](e),!!isNeedAddCommon(n,t,e,a)||((r="/"+normalizePath(path[i(183)](s,t)))[i(145)](".js")||(r+=i(148)),r)}function normalizePath(e){return null==e?void 0:e[_0x585100(179)](/\\/g,"/")}function isNeedAddCommon(e,t,a,i){var s=_0x585100,o=getProjectInfo()[s(163)],u=(a=a[s(179)](/\\/g,"/"),(t=normalizePath(t))+(t.endsWith(s(148))?"":".js")),c=!1,l=!1;return null!=e&&e[s(170)](function(e){var r=s,n=path.join(o,e.root)[r(179)](/\\/g,"/");n+=n.endsWith("/")?"":"/",t[r(142)](n)&&a[r(142)](n)&&(l=!0),t[r(142)](n)&&!i&&(Object[r(172)].hasOwnProperty[r(176)](configs.asyncJsList,e[r(157)])||(configs[r(175)][e[r(157)]]=new Set),configs[r(175)][e[r(157)]][r(155)](u),c=!0)}),c||i||(e=s(143),Object[s(172)][s(159)].call(configs[s(175)],s(143))||(configs[s(175)][e]=new Set),configs.asyncJsList[e][s(155)](u)),l}function isValidJSPath(e,r,n){var t=_0x585100;if(e.endsWith(t(148))||(e+=t(148)),!fs[t(173)](e))throw'ERROR: JS is not found in path "'.concat(r,'" (using by "')[t(144)](n,'")')}function jsScanner(e,r,n,t){var a=_0x585100,e=astParse(e),i=getOwnerIndexJs(r,t),r=requireHandler(pathHandler,r,t,i,n);return traverse(e,r),null==(t=generate(e))?void 0:t[a(156)]}module.exports={jsScanner:jsScanner,getOwnerIndexJs:getOwnerIndexJs,pathHandler:pathHandler,normalizePath:normalizePath};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xe885(){var r=["push","4921848aLBYdG","concat","3IYsihr","exports","245202vqwaZa","string","1827aLoCmg","17Ppiiwo","map","length","913CIFeAg","1175284plJAhA","join","331692sAvYXk","5cmKzeh","29904ktZFyV"," and ","4744620hUBaah","10480ahpigz"];return(_0xe885=function(){return r})()}var _0x4170d6=_0x36a3;function _0x36a3(r,n){var t=_0xe885();return(_0x36a3=function(r,n){return t[r-=404]})(r,n)}(()=>{for(var r=_0x36a3,n=_0xe885();;)try{if(342087==-parseInt(r(406))*(parseInt(r(414))/2)+parseInt(r(421))/3*(-parseInt(r(410))/4)+parseInt(r(413))/5*(-parseInt(r(423))/6)+parseInt(r(405))/7*(-parseInt(r(417))/8)+-parseInt(r(419))/9+-parseInt(r(416))/10+parseInt(r(409))/11*(parseInt(r(412))/12))break;n.push(n.shift())}catch(r){n.push(n.shift())}})(),module[_0x4170d6(422)]=function(r){var f=[];return f.toString=function(){var r=_0x36a3;return this[r(407)](function(r){return r[1]||""})[r(411)]("")},f.i=function(r,n,t){var a=_0x36a3,e=r,s=(typeof e===a(404)&&(e=[[null,e,""]]),{});if(t)for(var i=0;i<this[a(408)];i++){var p=this[i][0];null!=p&&(s[p]=!0)}for(var u=0;u<e[a(408)];u++){var o=[][a(420)](e[u]);t&&s[o[0]]||(n&&(o[2]?o[2]=""[a(420)](n,a(415))[a(420)](o[2]):o[2]=n),f[a(418)](o))}},f};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var _0x3e6441=_0x32a0;function _0x169a(){var n=["300zPTWNy","4556584ccdzTI","20057337AaQlut","25011kuPTCA","69755dPQHMj","exports","2709114nkhUXg","10VDZWHy","136XvRzyR","576694cUqwWN","call","632647FTcmgw"];return(_0x169a=function(){return n})()}function eventHappenHjs(n,a,t,r){var e=_0x32a0;return"function"==typeof n&&n[e(461)]?null==n?void 0:n[e(461)](t,a,a.ownerInstance):null==r?void 0:r(n,a)}function _0x32a0(n,a){var t=_0x169a();return(_0x32a0=function(n,a){return t[n-=461]})(n,a)}(()=>{for(var n=_0x32a0,a=_0x169a();;)try{if(460696==+parseInt(n(462))+parseInt(n(472))/2+parseInt(n(469))/3+-parseInt(n(471))/4*(-parseInt(n(467))/5)+-parseInt(n(463))/6*(parseInt(n(466))/7)+parseInt(n(464))/8+-parseInt(n(465))/9*(parseInt(n(470))/10))break;a.push(a.shift())}catch(n){a.push(a.shift())}})(),module[_0x3e6441(468)]=eventHappenHjs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x11ebb7=_0x3b95,allowedKeywords=((()=>{for(var e=_0x3b95,r=_0x4373();;)try{if(883753==-parseInt(e(149))+parseInt(e(181))/2*(-parseInt(e(190))/3)+-parseInt(e(174))/4*(-parseInt(e(172))/5)+-parseInt(e(164))/6*(-parseInt(e(192))/7)+parseInt(e(187))/8+parseInt(e(191))/9+-parseInt(e(179))/10*(parseInt(e(180))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}})(),_0x11ebb7(148)+"parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,"+_0x11ebb7(168)),allowedKeywordsRE=allowedKeywords.split(","),prohibitedKeywordRE=new RegExp("\\b"[_0x11ebb7(165)]((_0x11ebb7(151)+"for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,"+_0x11ebb7(166))[_0x11ebb7(154)](",")[_0x11ebb7(182)](_0x11ebb7(153)),"\\b")),stripStringRE=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g,innerParenthesesRe=/{{([^}][^}])*({{.*)+/,_require=require(_0x11ebb7(178)),hashSum=_require[_0x11ebb7(155)],STRINGIFY_OBJECT=JSON[_0x11ebb7(188)]({}),OBEJECT_PLACEHOLDER=hashSum(STRINGIFY_OBJECT),REPLACE_RE=new RegExp(OBEJECT_PLACEHOLDER,"g"),BINDING_CONTENT_RE=/{{([\s\S]*)}}/,OBJECT_RE=/{\s*}/g,CATCH_FUNC=_0x11ebb7(184),INNER_FUNC_KEYWORDS=_0x11ebb7(168),INNER_FUNC_LIST=INNER_FUNC_KEYWORDS[_0x11ebb7(154)](","),HJS_GET_CONSTRUCTOR=_0x11ebb7(169),ASCF_LAZY_IMPORT=_0x11ebb7(189),ASCF_LAZY_IMPORT_ERR=_0x11ebb7(150),NEW_PROMISE=_0x11ebb7(173),REQUIRE_TRY_CATCH=_0x11ebb7(160),REQUIRE_TRY_CATCH_FUL="try { (cb)(require(path));} catch(err) {(cbErr)(err)}",REQUIRE=_0x11ebb7(175);function replace(e){var r=_0x11ebb7;return 1<arguments[r(177)]&&void 0!==arguments[1]&&arguments[1]?e[r(157)](REPLACE_RE,STRINGIFY_OBJECT)[r(157)](/\s+$/gm,""):e[r(157)](REPLACE_RE,STRINGIFY_OBJECT)[r(163)]()}function isIdentifierNotAllow(e){return allowedKeywordsRE[_0x11ebb7(170)](e)}function parseText(e,r){var t=_0x11ebb7,n=2<arguments[t(177)]&&void 0!==arguments[2]&&arguments[2],E=!(3<arguments[t(177)]&&void 0!==arguments[3])||arguments[3],_=e;if(n){if(!textExpRE.test(_))return null}else if(_=_[t(157)](/\n/g,""),!expRE[t(152)](_))return null;var a=[];if(innerParenthesesRe[t(152)](_))r[t(162)].push({reason:t(186).concat(_,'", please change it.')});else{for(var i=0,R=(tagRE[t(185)]=i,OBJECT_RE[t(152)](_)&&(_=_[t(157)](OBJECT_RE,OBEJECT_PLACEHOLDER)),null);R=textTagRE[t(183)](_);){var x=R.index,x=(i<x&&a.push({value:_[t(156)](i,x)}),htmlRE.test(R[0]));x&&(R[1]=_.slice(i,textTagRE[t(185)]+1).match(BINDING_CONTENT_RE)[1]),a[t(167)]({tag:!0,value:replace(R[1]||R[2],E),html:x}),i=textTagRE.lastIndex}i<_[t(177)]&&a.push({value:replace(_[t(156)](i),E)})}return a}function isExpr(e){return expRE.test(e)}function singleExpr(e){var r=_0x11ebb7;return sexpRE[r(152)](e[r(163)]())}function removeExprffix(e){var r=_0x11ebb7;return e=(e=singleExpr(e)?e.replace(/^\s*{{/,"")[r(157)](/}}\s*$/,""):e).trim()}function addExprffix(e){var r=_0x11ebb7;return e=singleExpr(e)?e:"{{"[r(165)](e,"}}")}function containExpr(e){return!!e&&tagRE[_0x11ebb7(152)](e.replace(/(\n)|(\r)/g,""))}function _0x3b95(e,r){var t=_0x4373();return(_0x3b95=function(e,r){return t[e-=148]})(e,r)}function removeAllExprFix(e){var r=_0x11ebb7;return e=containExpr(e)?e[r(157)](/\{\{\{?|\}\}\}?/g,""):e}var tagSource=_0x11ebb7(161),tagRE=new RegExp(tagSource,"g"),expRE=new RegExp(tagSource),textTagRE=new RegExp(_0x11ebb7(171),"g"),textExpRE=new RegExp(_0x11ebb7(171)),htmlRE=new RegExp(_0x11ebb7(159)),sexpRE=new RegExp(_0x11ebb7(176));function _0x4373(){var e=["13431519pbBSaI","846636CAfceP","Infinity,undefined,NaN,null,isFinite,isNaN,true,false,","1480636nVpqjw",'console.log("__ascf_lazy_import__ error: " + err);',"break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,","test","\\b|\\b","split","hashSum","slice","replace","exports","^{{{.*}}}$","try { (mod => {a();})(require('./w.js'));} catch(err) {(err => {a();})(err)}","{{{(.+?)}}}|{{(.+?)}}","buildLog","trim","48SzcEWL","concat","with,yield,enum,await,implements,package,protected,static,interface,private,public","push","Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,require",'getProperty4Object("constructor", xx)',"includes","{{{([\\s\\S]*?)}}}|{{([\\s\\S]*?)}}","5xhGxrO","await new Promise((resolve,reject) => { aa.then(resolve).catch(reject);});","22688qVgPcy","require(path)","^{{{(.+?)}}}$|^{{(.+?)}}$","length","./hash-sum","37670ebeCTH","2387HdSCto","318BhoEgy","join","exec","(function(){ try { return xx} catch (_undefinedErr){ _logUndefined(_undefinedErr)};})()","lastIndex",'ERROR: Unexpected inner parentheses, with attr value : "',"6801744KHtRUe","stringify","__ascf_lazy_import__(p1).then(()=>(__webpack_require__(p2))).then(cb).catch(cbErr);","2529UXfpzK"];return(_0x4373=function(){return e})()}module[_0x11ebb7(158)]={parseText:parseText,isExpr:isExpr,singleExpr:singleExpr,addExprffix:addExprffix,removeExprffix:removeExprffix,containExpr:containExpr,removeAllExprFix:removeAllExprFix,prohibitedKeywordRE:prohibitedKeywordRE,stripStringRE:stripStringRE,isIdentifierNotAllow:isIdentifierNotAllow,CATCH_FUNC:CATCH_FUNC,INNER_FUNC_LIST:INNER_FUNC_LIST,HJS_GET_CONSTRUCTOR:HJS_GET_CONSTRUCTOR,ASCF_LAZY_IMPORT:ASCF_LAZY_IMPORT,ASCF_LAZY_IMPORT_ERR:ASCF_LAZY_IMPORT_ERR,NEW_PROMISE:NEW_PROMISE,REQUIRE_TRY_CATCH:REQUIRE_TRY_CATCH,REQUIRE:REQUIRE,REQUIRE_TRY_CATCH_FUL:REQUIRE_TRY_CATCH_FUL};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
var _0x38567f=_0x4495;function _0x4495(t,r){var o=_0x4e2e();return(_0x4495=function(t,r){return o[t-=270]})(t,r)}function _typeof(t){var o=_0x4495;return(_typeof=o(288)==typeof Symbol&&o(286)==typeof Symbol[o(274)]?function(t){return typeof t}:function(t){var r=o;return t&&"function"==typeof Symbol&&t[r(284)]===Symbol&&t!==Symbol[r(271)]?"symbol":typeof t})(t)}function hashSum(t){for(var r=_0x4495,o=fold(fold(fold(0,""),Object.prototype[r(278)].call(t)),_typeof(t)),e=fold(o,t[r(278)]())[r(278)](16);e[r(283)]<8;)e="0"+e;return e}function fold(t,r){var o,e,n=_0x4495,f=t;if(0===r[n(283)])return f;for(o=0,e=r[n(283)];o<e;o++)f=(f<<5)-f+r[n(277)](o),f|=0;return f<0?-2*f:f}function _0x4e2e(){var t=["toString","6120170YFzhJb","5WoPMjq","197932ISZlQH","136PrhHFS","length","constructor","22598aKmIzv","symbol","264BAxopu","function","29530Djaxco","prototype","2669481QJNSMl","995532YDWBjO","iterator","exports","1800484fNisYo","charCodeAt"];return(_0x4e2e=function(){return t})()}(()=>{for(var t=_0x4495,r=_0x4e2e();;)try{if(250376==-parseInt(t(280))*(parseInt(t(285))/2)+parseInt(t(273))/3+-parseInt(t(276))/4+-parseInt(t(270))/5*(-parseInt(t(287))/6)+-parseInt(t(281))/7*(-parseInt(t(282))/8)+parseInt(t(272))/9+-parseInt(t(279))/10)break;r.push(r.shift())}catch(t){r.push(r.shift())}})(),module[_0x38567f(275)]={hashSum:hashSum};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _ref,
|
|
1
|
+
var _ref,_0xde476c=_0x57fb;function _0x57fb(e,t){var r=_0x2a22();return(_0x57fb=function(e,t){return r[e-=202]})(e,t)}function _typeof(e){var r=_0x57fb;return(_typeof=r(220)==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){var t=r;return e&&t(220)==typeof Symbol&&e[t(232)]===Symbol&&e!==Symbol[t(291)]?t(313):typeof e})(e)}function ownKeys(r,e){var t,n=_0x57fb,o=Object[n(296)](r);return Object[n(288)]&&(t=Object[n(288)](r),e&&(t=t[n(231)](function(e){var t=n;return Object[t(306)](r,e)[t(297)]})),o[n(295)][n(314)](o,t)),o}function _objectSpread(r){for(var n=_0x57fb,e=1;e<arguments[n(298)];e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(o),!0)[n(256)](function(e){_defineProperty(r,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object[n(284)](o)):ownKeys(Object(o))[n(256)](function(e){var t=n;Object[t(263)](r,e,Object[t(306)](o,e))})}return r}function _defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _toPropertyKey(e){var t=_0x57fb,e=_toPrimitive(e,"string");return t(313)==_typeof(e)?e:e+""}function _0x2a22(){var e=["default","ascf_src","hapPath is not exists","5066ZOdpKH","forceUpdate","symbol","apply","Uninstall package","error","ascf","debug","readdirSync","getBundleName","string","getHdcPath","App Launch: select a device first"," -b ","@@toPrimitive must return a primitive value.","Run command: ","trim","../../common/config","4586688EfJLnN","object"," install ","join","function","ascfPackageName","44635oQxVgT","getLogger"," uninstall "," --ps launchMode forceUpdate","app.json package is null","688644VJdBOQ","outputs","info","exports","filter","constructor","concat","package","deviceId","env","readFileSync","replace"," assembleHap --parallel --incremental --daemon -p skipAscfCompile=true","test","11beXrun","ASCF_QS_BUILT_PATH","MpEntryAbility","projectPath","Remove forward port","abilities.name is null, in the file of module.json5"," -t ","1346379uuzjuL","assign","_supportLegacyHos","build"," --ps ascfPackageName ","entryAbility","qsHostPkg","/../tools/","forEach","existsSync"," list targets","platform"," -m ","floor","124fACcEw","defineProperty","C:\\Program Files\\Huawei\\DevEco Studio\\tools"," fport rm tcp:","DEVECO_SDK_HOME is not found, please specify env DEVECO_SDK_HOME","/Applications/DevEco-Studio.app/Contents/tools","split","com.enjoy.now.hmos","22KpHtxS","DEVECO_SDK_HOME=","module.name is null, in the file of module.json5"," shell aa start -a MpEntryAbility -b ","start startAbility under ","3065704zfrvwo","getHvigorwPath","/build/dist"," tcp:","name","utf8","Run command error: ","warn","DEVECO_SDK_HOME","getOwnPropertyDescriptors","basename","../../common/log4js","../../common/utils","getOwnPropertySymbols","installing package bundleName to sn","7VWmloC","prototype","7822810MZyAUs","bundleName is null","remotePort","push","keys","enumerable","length","getEntryPkgPath"," rport tcp:","shell","DevEco Studio","--ps","configs","start","getOwnPropertyDescriptor","toPrimitive"];return(_0x2a22=function(){return e})()}function _toPrimitive(e,t){var r=_0x57fb;if(r(217)!=_typeof(e)||!e)return e;var n=e[Symbol[r(307)]];if(void 0===n)return(r(208)===t?String:Number)(e);n=n.call(e,t||r(308));if(r(217)!=_typeof(n))return n;throw new TypeError(r(212))}(()=>{for(var e=_0x57fb,t=_0x2a22();;)try{if(405194==-parseInt(e(270))*(parseInt(e(311))/2)+parseInt(e(248))/3+-parseInt(e(262))/4*(parseInt(e(222))/5)+parseInt(e(216))/6+parseInt(e(290))/7*(parseInt(e(275))/8)+-parseInt(e(227))/9+-parseInt(e(292))/10*(parseInt(e(241))/11))break;t.push(t.shift())}catch(e){t.push(t.shift())}})();var _require=require(_0xde476c(287)),getProjectInfo=_require.getProjectInfo,getHvigorwPath=_require[_0xde476c(276)],getEntryPkgPath=_require[_0xde476c(299)],getHdcPath=_require[_0xde476c(209)],getModuleNames=_require.getModuleNames,getBundleName=_require[_0xde476c(207)],execSafe=_require.execSafe,log4js=require(_0xde476c(286)),path=require("path"),fs=require("fs"),_require2=require("child_process"),execSync=_require2.execSync,_require3=require(_0xde476c(215)),configs=_require3[_0xde476c(304)],logger=log4js[_0xde476c(223)]("hdc-executor"),DEVECO_SDK_HOME=(null==(_ref=process[_0xde476c(236)][_0xde476c(302)]||process[_0xde476c(236)][_0xde476c(283)])?void 0:_ref[_0xde476c(268)](";")[0][_0xde476c(214)]())+_0xde476c(255),TOOLS_DIR_OSX=DEVECO_SDK_HOME||_0xde476c(267),TOOLS_DIR_WIN=DEVECO_SDK_HOME||_0xde476c(264),TOOLS_DIR="win32"===process[_0xde476c(259)]?TOOLS_DIR_WIN:TOOLS_DIR_OSX;function getPath(){for(var e=_0xde476c,t=DEVECO_SDK_HOME?DEVECO_SDK_HOME+e(255):TOOLS_DIR,r=arguments[e(298)],n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return path.join[e(314)](path,[t][e(233)](n))}function getDevEcoSdkHome(){var e=_0xde476c,t=getPath("../sdk")[e(238)](/"/g,"");return fs[e(257)](t)?logger[e(205)](e(271)+t):logger[e(282)](e(266)),t}var isCommandRunning=!1;function assembleHap(){var e=_0xde476c;logger[e(229)]("assembleHap"),runCmd(""[e(233)](getHvigorwPath(),e(239)),{chdir:!0,cwd:getProjectInfo()[e(244)]})}function installPkg(){var e=_0xde476c,t=getModuleNames();t[e(279)]?(t=path[e(219)](getEntryPkgPath(),e(251),e(308),e(228),"default",""[e(233)](t[e(279)],"-default-signed.hap")),fs[e(257)](t)?(logger.info(e(289)),runCmd(""[e(233)](getHdcPath()," -t ")[e(233)](getDeviceId(),e(218))[e(233)](t),{chdir:!0,cwd:getProjectInfo()[e(244)]})):logger[e(203)](e(310),t)):logger[e(203)](e(272))}function assembleAndInstallHap(e){var t,r,n,o,a=_0xde476c;global[a(250)]?(t=getProjectInfo()[a(244)],r=configs[a(254)]||a(269),n=global[a(242)]?path[a(285)](global[a(242)]):null==(n=fs[a(206)](""[a(233)](t,a(277))))||null==(n=n.filter(function(e){return/.*-debug-.*\.spk/.test(e)}))?void 0:n[0],o=getBundleNameQs(t),runCmd(""[a(233)](getHdcPath(),a(247)).concat(getDeviceId(),a(273)).concat(r," --ps startMode installAndRunDebugPkg --ps pkgUrl http://127.0.0.1:").concat(e[a(294)],"/build/dist/")[a(233)](n,a(252))[a(233)](o),{chdir:!0,cwd:t})):(assembleHap(),installPkg())}function uninstallPkg(){var e,t=_0xde476c;global[t(250)]||(e=getBundleName(),logger[t(229)](t(202)),runCmd(""[t(233)](getHdcPath(),t(247)).concat(getDeviceId(),t(224))[t(233)](e),{chdir:!0,cwd:getProjectInfo().projectPath}))}function getBundleNameQs(e){var t=_0xde476c,e=path.resolve(e,t(204),t(309),"app.json");if(fs[t(257)](e)){e=JSON.parse(fs[t(237)](e,t(280)));if(null!=e&&e[t(234)])return null==e?void 0:e.package;logger[t(203)](t(226))}else logger[t(203)]("app.json is not found")}function startAbility(){var e,t=_0xde476c,r=getProjectInfo()[t(244)];logger[t(229)](t(274)[t(233)](r)),global._supportLegacyHos?(r=getBundleNameQs(r),e=configs[t(254)]||t(269),runCmd([getHdcPath(),"-t",getDeviceId(),t(301),"aa",t(305),"-a",t(243),"-b",e,t(303),t(221),r,t(303),"launchMode",t(312)][t(219)](" "))):(e=getBundleName())?(r=getModuleNames())[t(279)]?r[t(253)]?(logger[t(229)]("start ability ".concat(e)),runCmd(""[t(233)](getHdcPath(),t(247))[t(233)](getDeviceId()," shell aa start -a ")[t(233)](r.entryAbility,t(211)).concat(e,t(260))[t(233)](r[t(279)],t(225)))):logger[t(203)](t(246)):logger[t(203)]("module.name is null, in the file of module.json5"):logger.error(t(293))}function runCmd(e,t){var r=_0xde476c;if(e&&!isCommandRunning){var n=getDevEcoSdkHome(),n=Object[r(249)]({encoding:r(280),env:_objectSpread(_objectSpread({},process[r(236)]||{}),{},{DEVECO_SDK_HOME:n})},t);try{logger[r(229)](r(213),e),isCommandRunning=!0;var o=execSync(e,n),a=String(o);return/failed to start ability/.test(a)?logger[r(203)](r(281),a):logger[r(229)]("Run command result:",a),o}catch(e){logger[r(203)](r(281),e)}finally{isCommandRunning=!1}}}function hdcRemovePort(e,t){var r=_0xde476c;0!==e&&0!==t&&(logger[r(229)](r(245)),e=execSafe(""[r(233)](getHdcPath(),r(247))[r(233)](getDeviceId(),r(265))[r(233)](e,r(278))[r(233)](t)),logger[r(205)](e))}function tryHdcPortReversing(e){var t=_0xde476c,r=1<arguments[t(298)]&&void 0!==arguments[1]?arguments[1]:0,n=Math[t(261)](64512*Math.random())+1024,t=execSafe("".concat(getHdcPath(),t(247))[t(233)](getDeviceId(),t(300))[t(233)](n,t(278)).concat(e));return t&&5!==r?t.includes("Forwardport result:OK")?n:tryHdcPortReversing(e,++r):0}function getDeviceId(){var e,t=_0xde476c;return configs.deviceId||((e=execSafe("".concat(getHdcPath(),t(258))))&&!/(Empty|Fail)/[t(240)](e)||(logger.error(t(210)),process.exit(1)),e=e.split("\n"),configs[t(235)]=e[0][t(214)]()),configs[t(235)]}module[_0xde476c(230)]={assembleAndInstallHap:assembleAndInstallHap,assembleHap:assembleHap,installPkg:installPkg,uninstallPkg:uninstallPkg,startAbility:startAbility,hdcRemovePort:hdcRemovePort,tryHdcPortReversing:tryHdcPortReversing,getDeviceId:getDeviceId};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x64d3(t,e){var r=_0x54de();return(_0x64d3=function(t,e){return r[t-=342]})(t,e)}function _construct(t,e,r){var n,u=_0x64d3;return _isNativeReflectConstruct()?Reflect[u(345)][u(353)](null,arguments):((n=[null])[u(359)].apply(n,e),e=new(t[u(358)].apply(t,n)),r&&_setPrototypeOf(e,r.prototype),e)}function _setPrototypeOf(t,e){var r=_0x64d3;return(_setPrototypeOf=Object[r(350)]?Object[r(350)][r(358)]():function(t,e){return t.__proto__=e,t})(t,e)}function _isNativeReflectConstruct(){var t=_0x64d3;try{var e=!Boolean[t(352)][t(351)][t(361)](Reflect[t(345)](Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function(){return!!e})()}function getRegExp(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return _construct(RegExp,e)}function _0x54de(){var t=["push","constructor","call","10UtiXCE","Boolean","2273334NpiTQZ","1425288Ascmuf","7175583gZzloC","length","Array","28EMGKdE","Object","construct","String","6418140DzshuS","2jvGEhP","1244WQcgpH","setPrototypeOf","valueOf","prototype","apply","9828CoVJxu","11715ieXIXV","551878KfVcej","17743YJHXqq","bind"];return(_0x54de=function(){return t})()}function getDate(){for(var t=arguments[_0x64d3(367)],e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return _construct(Date,e)}function getProperty4Object(t,e){var r=_0x64d3,n=null==e?void 0:e[t];if(t!==r(360))return n;switch(n){case Date:return"Date";case RegExp:return"RegExp";case Object:return r(344);case Function:return"Function";case Array:return r(342);case String:return r(346);case Boolean:return r(363);case Number:return"Number";default:return n}}(()=>{for(var t=_0x64d3,e=_0x54de();;)try{if(735801==-parseInt(t(348))*(parseInt(t(356))/2)+parseInt(t(364))/3+parseInt(t(349))/4*(-parseInt(t(355))/5)+parseInt(t(347))/6+-parseInt(t(343))/7*(-parseInt(t(365))/8)+parseInt(t(366))/9*(parseInt(t(362))/10)+parseInt(t(357))/11*(-parseInt(t(354))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}})(),module.exports={getDate:getDate,getRegExp:getRegExp,getProperty4Object:getProperty4Object};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x491b62=_0x48d6,expUtils=((()=>{for(var e=_0x48d6,t=_0x6861();;)try{if(549191==+parseInt(e(471))+-parseInt(e(724))/2+-parseInt(e(565))/3*(-parseInt(e(789))/4)+-parseInt(e(672))/5+-parseInt(e(475))/6*(-parseInt(e(581))/7)+parseInt(e(607))/8+-parseInt(e(525))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}})(),require(_0x491b62(619))),fs=require("fs"),utils=require(_0x491b62(614)),path=require(_0x491b62(595)),vm=require("vm"),ATTR_NAME="ATTR_NAME",tagCommon={attrs:[{name:"id"},{name:_0x491b62(524)},{name:"style"},{name:"has:for"},{name:_0x491b62(578)},{name:_0x491b62(664)},{name:"has:else"},{name:"has:key",combDiectives:["has:for",_0x491b62(703)]},{name:_0x491b62(703)},{name:_0x491b62(822),combDiectives:[_0x491b62(687),_0x491b62(703)]},{name:_0x491b62(793),combDiectives:[_0x491b62(687),_0x491b62(703)]},{name:_0x491b62(746)},{name:"bind"},{name:_0x491b62(746)},{name:_0x491b62(676)},{name:"catch"},{name:_0x491b62(797)}]},tagComponentMap={map:{events:[_0x491b62(470),_0x491b62(815),_0x491b62(556),_0x491b62(683),_0x491b62(600),_0x491b62(641),_0x491b62(689),"bindpoitap"],attrs:[{name:"longitude",type:[_0x491b62(794)],required:!0},{name:_0x491b62(681),type:[_0x491b62(794)],required:!0},{name:_0x491b62(825),type:["number"],default:16,enum:[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]},{name:"marker",type:[_0x491b62(768)]},{name:"cover",type:[_0x491b62(768)]},{name:"polyline",type:[_0x491b62(768)]},{name:_0x491b62(826),type:[_0x491b62(768)]},{name:_0x491b62(577),type:[_0x491b62(768)]},{name:_0x491b62(807),type:[_0x491b62(768)]},{name:_0x491b62(775),type:[_0x491b62(611)],default:!1},{name:_0x491b62(535),type:["array"]},{name:_0x491b62(514),type:[_0x491b62(788)]},{name:_0x491b62(742),type:[_0x491b62(794)],default:1},{name:"rotate",type:[_0x491b62(794)],default:0},{name:"skew",type:[_0x491b62(794)],default:0},{name:_0x491b62(819),type:[_0x491b62(611)],default:!1},{name:_0x491b62(714),type:[_0x491b62(611)],default:!1},{name:_0x491b62(731),type:[_0x491b62(611)],default:!1},{name:_0x491b62(769),type:["boolean"],default:!1},{name:_0x491b62(562),type:[_0x491b62(611)],default:!0},{name:_0x491b62(706),type:[_0x491b62(611)],default:!1},{name:_0x491b62(717),type:[_0x491b62(611)],default:!1},{name:_0x491b62(686),type:["boolean"],default:!0},{name:"enable-rotate",type:[_0x491b62(611)],default:!1},{name:"setting",type:["object"]}]},video:{events:["bindplay","bindpause",_0x491b62(806),"bindtimeupdate","bindfullscreenchange",_0x491b62(592),_0x491b62(792),_0x491b62(736),_0x491b62(786)],attrs:[{name:"src",type:["string"],checkPath:!0,required:!0},{name:"duration",type:[_0x491b62(794)]},{name:"controls",type:["boolean"],default:!0},{name:_0x491b62(520),type:[_0x491b62(768)]},{name:_0x491b62(520),type:[_0x491b62(768)]},{name:_0x491b62(748),type:["boolean"],default:!1},{name:"enable-danmu",type:[_0x491b62(611)],default:!1},{name:_0x491b62(622),type:[_0x491b62(611)],default:!1},{name:_0x491b62(696),type:[_0x491b62(611)],default:!1},{name:_0x491b62(482),type:[_0x491b62(611)],default:!1},{name:_0x491b62(559),type:[_0x491b62(794)],default:0},{name:_0x491b62(526),type:[_0x491b62(611)],default:!1},{name:_0x491b62(571),type:[_0x491b62(788)],default:_0x491b62(758),enum:[_0x491b62(758),"fill","cover"]},{name:_0x491b62(850),type:["string"],checkPath:!0},{name:_0x491b62(658),type:[_0x491b62(794)],enum:[0,-90,90]},{name:_0x491b62(620),type:[_0x491b62(611)],default:!0},{name:_0x491b62(557),type:[_0x491b62(611)],default:!0},{name:"show-play-btn",type:[_0x491b62(611)],default:!0},{name:_0x491b62(723),type:[_0x491b62(611)],default:!0},{name:_0x491b62(661),type:[_0x491b62(611)],default:!0},{name:_0x491b62(845),type:["boolean"],default:!1},{name:"title",type:[_0x491b62(788)]},{name:_0x491b62(821),type:[_0x491b62(788)],default:"buttom",enum:["buttom",_0x491b62(488)]},{name:_0x491b62(667),type:[_0x491b62(611)],default:!1},{name:_0x491b62(500),type:["boolean"],default:!0},{name:_0x491b62(561),type:[_0x491b62(611)],default:!0},{name:_0x491b62(684),type:["boolean"],default:!1},{name:_0x491b62(834),type:[_0x491b62(611)],default:!0},{name:_0x491b62(799),type:[_0x491b62(788)]}]},"live-pusher":{events:[_0x491b62(638),_0x491b62(540),"binderror",_0x491b62(753),"bindbgmprogress",_0x491b62(575)],attrs:[{name:_0x491b62(527),type:[_0x491b62(788)],checkPath:!0},{name:"mode",type:[_0x491b62(788)],default:_0x491b62(678),enum:[_0x491b62(678),_0x491b62(732)]},{name:_0x491b62(634),type:[_0x491b62(611)],default:!1},{name:"muted",type:[_0x491b62(611)],default:!1},{name:_0x491b62(542),type:["boolean"],default:!0},{name:_0x491b62(588),type:[_0x491b62(611)],default:!0},{name:"orientation",type:[_0x491b62(788)],default:_0x491b62(697),enum:[_0x491b62(697),"horizontal"]},{name:_0x491b62(560),type:[_0x491b62(794)],default:0,enum:[0,1,2,3,4,5,6,7,8,9]},{name:_0x491b62(756),type:[_0x491b62(794)],default:0,enum:[0,1,2,3,4,5,6,7,8,9]},{name:_0x491b62(694),type:[_0x491b62(788)],default:_0x491b62(624),enum:["9:16","3:4"]},{name:"mini-bitrate",type:[_0x491b62(794)],default:200},{name:"max-bitrate",type:[_0x491b62(794)],default:1e3},{name:_0x491b62(767),type:["string"],default:_0x491b62(517),enum:[_0x491b62(474),_0x491b62(517)]},{name:"waiting-image",type:[_0x491b62(788)]},{name:_0x491b62(744),type:["string"]},{name:"zoom",type:[_0x491b62(611)],default:!1},{name:"device-position",type:[_0x491b62(788)],default:_0x491b62(823),enum:[_0x491b62(823),_0x491b62(536)]},{name:_0x491b62(652),type:[_0x491b62(611)],default:!1},{name:"mirror",type:[_0x491b62(611)],default:!1}]},"live-player":{events:[_0x491b62(638),_0x491b62(567),_0x491b62(540)],attrs:[{name:_0x491b62(760),type:[_0x491b62(788)],checkPath:!0},{name:"mode",type:[_0x491b62(788)],default:"RTC",enum:["HD",_0x491b62(795),"SD","RTC"]},{name:_0x491b62(622),type:[_0x491b62(611)],default:!1},{name:_0x491b62(482),type:[_0x491b62(611)],default:!1},{name:_0x491b62(547),type:[_0x491b62(788)],default:_0x491b62(697),enum:[_0x491b62(697),_0x491b62(835)]},{name:"object-fit",type:[_0x491b62(788)],default:_0x491b62(758),enum:[_0x491b62(758),_0x491b62(787)]},{name:"background-mute",type:["boolean"],default:!1},{name:_0x491b62(702),type:[_0x491b62(794)],default:1},{name:_0x491b62(702),type:[_0x491b62(794)],default:3},{name:"sound-mode",type:[_0x491b62(788)],default:_0x491b62(637),enum:[_0x491b62(637),"ear"]},{name:_0x491b62(561),type:[_0x491b62(611)],default:!0},{name:"auto-pause-if-navigate",type:["boolean"],default:!0}]},camrea:{events:[_0x491b62(523),_0x491b62(792),"bindinitdone","bindscancode"],attrs:[{name:_0x491b62(708),type:["boolean"],default:"normal",enum:["front",_0x491b62(536)]},{name:"device-position",type:[_0x491b62(788)],default:_0x491b62(536)},{name:_0x491b62(783),type:[_0x491b62(788)],default:_0x491b62(490),enum:[_0x491b62(490),"on",_0x491b62(604),_0x491b62(532)]},{name:_0x491b62(601),type:["string"],default:_0x491b62(657),enum:[_0x491b62(762),"medium",_0x491b62(550)]},{name:_0x491b62(783),type:[_0x491b62(788)],default:"auto"}]},view:{attrs:[{name:"hover-class",type:[_0x491b62(788)],default:_0x491b62(639)},{name:_0x491b62(564),type:[_0x491b62(611)],default:!1},{name:_0x491b62(563),type:[_0x491b62(794)],default:50},{name:_0x491b62(711),type:[_0x491b62(794)],default:400}]},"scroll-view":{events:["bindscrolltoupper",_0x491b62(675),"bindscroll"],attrs:[{name:_0x491b62(720),type:[_0x491b62(611)],default:!1},{name:_0x491b62(499),type:[_0x491b62(611)],default:!1},{name:_0x491b62(728),type:[_0x491b62(794),"string"],default:50},{name:_0x491b62(739),type:[_0x491b62(794),_0x491b62(788)],default:50},{name:_0x491b62(852),type:[_0x491b62(794),"string"]},{name:"scroll-left",type:[_0x491b62(794),_0x491b62(788)]},{name:"scroll-into-view",type:[_0x491b62(788)]},{name:_0x491b62(594),type:["boolean"],default:!1},{name:_0x491b62(605),type:[_0x491b62(611)],default:!1},{name:_0x491b62(548),type:[_0x491b62(611)],default:!1}]},"movable-area":{attrs:[{name:_0x491b62(655),type:["boolean"],default:!1}]},"movable-view":{events:[_0x491b62(616),_0x491b62(629),"htouchmove","vtouchmove"],attrs:[{name:_0x491b62(658),type:[_0x491b62(788)],default:_0x491b62(539)},{name:_0x491b62(534),type:[_0x491b62(611)],default:!1},{name:_0x491b62(515),type:[_0x491b62(611)],default:!1},{name:"x",type:[_0x491b62(794)]},{name:"y",type:[_0x491b62(794)]},{name:_0x491b62(473),type:["number"],default:20},{name:"friction",type:[_0x491b62(794)],default:2},{name:"disabled",type:[_0x491b62(611)],default:!1},{name:_0x491b62(825),type:[_0x491b62(611)],default:!1},{name:_0x491b62(480),type:["number"],default:.5},{name:_0x491b62(800),type:[_0x491b62(794)],default:10},{name:_0x491b62(816),type:["number"],default:1},{name:_0x491b62(840),type:[_0x491b62(611)],default:!0}]},audio:{events:[_0x491b62(792),_0x491b62(782),"bindpause",_0x491b62(516),_0x491b62(806)],attrs:[{name:"id",type:[_0x491b62(788)]},{name:_0x491b62(760),type:[_0x491b62(788)],checkPath:!0},{name:_0x491b62(696),type:[_0x491b62(611)],default:!1},{name:_0x491b62(577),type:[_0x491b62(611)],default:!1},{name:_0x491b62(850),type:[_0x491b62(788)],checkPath:!0},{name:_0x491b62(755),type:[_0x491b62(788)]},{name:_0x491b62(700),type:[_0x491b62(788)]}]},progress:{events:["bindactiveend"],attrs:[{name:_0x491b62(833),type:["number"]},{name:"show-info",type:[_0x491b62(611)],default:!1},{name:"border-radius",type:["number",_0x491b62(788)],default:0},{name:_0x491b62(669),type:[_0x491b62(794),_0x491b62(788)],default:16},{name:_0x491b62(530),type:[_0x491b62(794),_0x491b62(788)],default:6},{name:_0x491b62(623),type:["string"],default:"#09BB07"},{name:"active-color",type:[_0x491b62(788)],default:_0x491b62(518)},{name:_0x491b62(771),type:["string"],default:_0x491b62(580)},{name:_0x491b62(485),type:[_0x491b62(611)],default:!1},{name:_0x491b62(668),type:[_0x491b62(788)],default:_0x491b62(597)},{name:_0x491b62(617),type:[_0x491b62(794)],default:30}]},"rich-text":{attrs:[{name:_0x491b62(749),type:[_0x491b62(768),_0x491b62(788)],default:[]},{name:_0x491b62(627),type:[_0x491b62(788)]}]},text:{attrs:[{name:_0x491b62(622),type:[_0x491b62(611)],default:!1},{name:_0x491b62(622),type:["string"]},{name:_0x491b62(766),type:["boolean"],default:!1}]},swiper:{events:["bindchang",_0x491b62(764),"bindanimationfinish"],attrs:[{name:"indicator-dots",type:[_0x491b62(611)],default:!1},{name:"indicator-color",type:["string"],default:"rgba(0, 0, 0, .3)"},{name:_0x491b62(776),type:["string"],default:"#000000"},{name:"autoplay",type:["boolean"],default:!1},{name:_0x491b62(589),type:[_0x491b62(794),_0x491b62(788)],default:0},{name:_0x491b62(685),type:["number",_0x491b62(788)],default:5e3},{name:_0x491b62(665),type:[_0x491b62(794),"string"],default:500},{name:"vertical",type:[_0x491b62(611)],default:!1},{name:"circular",type:[_0x491b62(611)],default:!1},{name:_0x491b62(469),type:[_0x491b62(788),"number"],default:_0x491b62(555)},{name:_0x491b62(491),type:[_0x491b62(788),_0x491b62(794)],default:_0x491b62(555)},{name:"display-multiple-items",type:[_0x491b62(794)],default:1},{name:_0x491b62(735),type:["boolean"],default:!1},{name:_0x491b62(519),type:["string"],default:"default",enum:["default",_0x491b62(688),_0x491b62(843),_0x491b62(648),_0x491b62(590)]}]},"swiper-item":{parent:_0x491b62(552),attrs:[{name:"item-id"}]},image:{events:[_0x491b62(792),"bindload"],attrs:[{name:_0x491b62(760),checkPath:!0},{name:_0x491b62(708)},{name:_0x491b62(666)},{name:"lazy-load"},{name:_0x491b62(701)}]},icon:{attrs:[{name:"type",type:[_0x491b62(788)]},{name:_0x491b62(644),type:["number",_0x491b62(788)],default:23},{name:_0x491b62(623),type:["string"]}]},"cover-image":{attrs:[{name:_0x491b62(760),required:!0,checkPath:!0}],events:[_0x491b62(802),_0x491b62(792)]},"cover-view":{attrs:[{name:"scroll-top",type:["number",_0x491b62(788)]}]},checkbox:{attrs:[{name:_0x491b62(832),type:[_0x491b62(788),_0x491b62(794)]},{name:_0x491b62(680),type:["boolean"],default:!1},{name:_0x491b62(747),type:[_0x491b62(611)],default:!1},{name:_0x491b62(623),type:["string"],default:"#09BB07"}]},button:{events:[_0x491b62(805),_0x491b62(635),_0x491b62(796),_0x491b62(792),_0x491b62(740),"bindlaunchapp"],attrs:[{name:_0x491b62(644),type:[_0x491b62(788)],default:_0x491b62(558),enum:[_0x491b62(558),_0x491b62(846)]},{name:_0x491b62(642),type:["string"],default:_0x491b62(558),enum:[_0x491b62(521),"default",_0x491b62(653)]},{name:_0x491b62(511),type:[_0x491b62(611)],default:!1},{name:_0x491b62(680),type:[_0x491b62(611)],default:!1},{name:_0x491b62(772),type:[_0x491b62(611)],default:!1},{name:"form-type",type:[_0x491b62(788)],enum:["submit",_0x491b62(593)]},{name:"open-type",type:[_0x491b62(788)],enum:[_0x491b62(472),"share",_0x491b62(626),_0x491b62(608),_0x491b62(804),_0x491b62(541),"feedback"]},{name:"hover-class",type:[_0x491b62(788)],default:_0x491b62(734)},{name:_0x491b62(564),type:[_0x491b62(611)],default:!1},{name:"hover-start-time",type:["number"],default:20},{name:"hover-stay-time",type:[_0x491b62(794)],default:70},{name:_0x491b62(705),type:[_0x491b62(788)],default:"en",enum:["en",_0x491b62(710),_0x491b62(778)]},{name:_0x491b62(811),type:[_0x491b62(788)]},{name:"send-message-title",type:[_0x491b62(788)]},{name:_0x491b62(640),type:["string"]},{name:_0x491b62(585),type:[_0x491b62(788)]},{name:_0x491b62(546),type:["string"]},{name:"show-message-card",type:[_0x491b62(611)],default:!1}]},"checkbox-group":{events:[_0x491b62(616)],attrs:[]},editor:{events:[_0x491b62(690),_0x491b62(505),_0x491b62(649),_0x491b62(512),_0x491b62(537)],attrs:[{name:_0x491b62(544),type:[_0x491b62(611)],default:!1},{name:_0x491b62(726),type:[_0x491b62(788),_0x491b62(794)]},{name:_0x491b62(568),type:[_0x491b62(611)],default:!1},{name:_0x491b62(618),type:[_0x491b62(611)],default:!1},{name:_0x491b62(483),type:["boolean"],default:!1}]},form:{events:[_0x491b62(646),_0x491b62(692)],attrs:[{name:_0x491b62(587),type:[_0x491b62(611)],default:!1},{name:_0x491b62(851),type:[_0x491b62(794)],default:0}]},input:{events:[_0x491b62(512),"bindfocus",_0x491b62(649),_0x491b62(631),_0x491b62(606)],attrs:[{name:_0x491b62(832),type:[_0x491b62(788),_0x491b62(794)]},{name:"type",type:["string"],default:_0x491b62(501),enum:[_0x491b62(501),_0x491b62(794),_0x491b62(549),_0x491b62(509)]},{name:"password",type:[_0x491b62(611)],default:!1},{name:_0x491b62(726),type:[_0x491b62(788),_0x491b62(794)]},{name:"placeholder-style",type:["string"]},{name:_0x491b62(830),type:[_0x491b62(788)],default:"input-placeholder"},{name:"disabled",type:["boolean"],default:!1},{name:_0x491b62(718),type:[_0x491b62(794)],default:140},{name:_0x491b62(752),type:[_0x491b62(794)],default:0},{name:_0x491b62(662),type:[_0x491b62(611)],default:!1},{name:"focus",type:[_0x491b62(611)],default:!1},{name:_0x491b62(745),type:[_0x491b62(788)],default:"done",enum:[_0x491b62(673),_0x491b62(682),_0x491b62(790),"go",_0x491b62(839)]},{name:_0x491b62(707),type:[_0x491b62(611)],default:!1},{name:_0x491b62(779),type:[_0x491b62(794)]},{name:"selection-start",type:[_0x491b62(794)],default:-1},{name:_0x491b62(651),type:["number"],default:-1},{name:"adjust-position",type:[_0x491b62(611)],default:!0},{name:"hold-keyboard",type:[_0x491b62(611)],default:!1}]},label:{attrs:[{name:_0x491b62(528),type:[_0x491b62(788)]}]},picker:{events:[_0x491b62(503),"bindchange","bindcolumnchange"],attrs:[{name:_0x491b62(708),type:[_0x491b62(788)],default:"selector",enum:["selector",_0x491b62(741),_0x491b62(507),_0x491b62(633),"region"]},{name:_0x491b62(680),type:[_0x491b62(611)],default:!1},{name:"range",type:[_0x491b62(768)]},{name:_0x491b62(531),type:[_0x491b62(611)],string:!1},{name:"value",type:[_0x491b62(794),_0x491b62(768),"string"]},{name:_0x491b62(610),type:[_0x491b62(788),_0x491b62(794)]},{name:_0x491b62(529),type:[_0x491b62(788),_0x491b62(794)]},{name:_0x491b62(543),type:[_0x491b62(788)],default:_0x491b62(506),enum:[_0x491b62(545),"month","day"]},{name:_0x491b62(722),type:["string"]}]},"picker-view":{events:[_0x491b62(616),_0x491b62(493),"bindpickend"],attrs:[{name:_0x491b62(832),type:[_0x491b62(768)],default:_0x491b62(784)},{name:"indicator-style",type:[_0x491b62(788)]},{name:_0x491b62(573),type:[_0x491b62(788)]},{name:"mask-style",type:[_0x491b62(788)]},{name:"mask-class",type:[_0x491b62(788)]}]},"picker-view-column":{attrs:[]},radio:{attrs:[{name:_0x491b62(832),type:[_0x491b62(788),_0x491b62(794)]},{name:"color",type:[_0x491b62(788)],default:_0x491b62(518)},{name:_0x491b62(747),type:[_0x491b62(611)],default:!1},{name:"disabled",type:[_0x491b62(611)],default:!1}]},"radio-group":{events:["bindchange"],attrs:[]},slider:{events:[_0x491b62(616),_0x491b62(791)],attrs:[{name:_0x491b62(645),type:[_0x491b62(794)],default:0},{name:"max",type:[_0x491b62(794)],default:100},{name:"step",type:[_0x491b62(794)],default:1},{name:"disabled",type:[_0x491b62(611)],default:!1},{name:_0x491b62(832),type:[_0x491b62(794)],default:0},{name:"color",type:["string"],default:_0x491b62(663)},{name:"selected-color",type:["string"],default:_0x491b62(628)},{name:_0x491b62(613),type:[_0x491b62(788)],default:_0x491b62(628)},{name:_0x491b62(553),type:[_0x491b62(788)],default:_0x491b62(663)},{name:_0x491b62(497),type:[_0x491b62(794)],default:28},{name:_0x491b62(656),type:[_0x491b62(788)],default:_0x491b62(679)},{name:"show-value",type:[_0x491b62(611)],default:!1}]},switch:{events:[_0x491b62(616)],attrs:[{name:_0x491b62(747),type:[_0x491b62(611)],default:!1},{name:_0x491b62(680),type:[_0x491b62(611)],default:!1},{name:_0x491b62(642),type:[_0x491b62(788)],default:"switch"},{name:_0x491b62(623),type:[_0x491b62(788)],default:_0x491b62(754)}]},textarea:{events:["bindfocus",_0x491b62(649),_0x491b62(777),_0x491b62(512),"bindconfirm",_0x491b62(606)],attrs:[{name:_0x491b62(832),type:[_0x491b62(788)]},{name:_0x491b62(726),type:["string",_0x491b62(794)]},{name:_0x491b62(841),type:["string"]},{name:_0x491b62(830),type:[_0x491b62(788)],default:_0x491b62(513)},{name:"disabled",type:["boolean"],default:!1},{name:"maxlength",type:["number"],default:140},{name:_0x491b62(662),type:[_0x491b62(611)],default:!1},{name:_0x491b62(704),type:["boolean"],default:!1},{name:_0x491b62(785),type:[_0x491b62(611)],default:!1},{name:"fixed",type:[_0x491b62(611)],default:!1},{name:_0x491b62(752),type:[_0x491b62(794)],default:0},{name:_0x491b62(779),type:[_0x491b62(794)],default:-1},{name:"show-confirm-bar",type:[_0x491b62(611)],default:!1},{name:_0x491b62(761),type:["number"],default:-1},{name:_0x491b62(651),type:[_0x491b62(794)],default:-1},{name:_0x491b62(479),type:["boolean"],default:!0},{name:_0x491b62(533),type:[_0x491b62(611)],default:!1}]},"functional-page-navigator":{events:[_0x491b62(763),"bindfail",_0x491b62(503)],attrs:[{name:"version",type:[_0x491b62(788)],default:_0x491b62(586)},{name:"name",type:[_0x491b62(788)]},{name:_0x491b62(496),type:[_0x491b62(813)]}]},navigator:{events:[_0x491b62(763),_0x491b62(636),_0x491b62(508)],attrs:[{name:_0x491b62(522),type:[_0x491b62(788)],default:_0x491b62(730)},{name:_0x491b62(527),type:["string"]},{name:_0x491b62(495),type:["string"],default:"navigate",enum:[_0x491b62(770),"redirect","switchTab","reLaunch",_0x491b62(781),_0x491b62(738)]},{name:_0x491b62(476),type:[_0x491b62(794)],default:1},{name:_0x491b62(774),type:[_0x491b62(788)]},{name:"path",type:["string"]},{name:_0x491b62(709),type:[_0x491b62(813)]},{name:"version",type:[_0x491b62(788)],default:_0x491b62(586),enum:[_0x491b62(810),_0x491b62(699),"release"]},{name:_0x491b62(698),type:[_0x491b62(788)],default:"navigator-hover"},{name:_0x491b62(564),type:[_0x491b62(611)],default:!1},{name:_0x491b62(563),type:[_0x491b62(794)],default:50},{name:_0x491b62(711),type:["number"],default:600}]},"open-data":{events:[_0x491b62(792)],attrs:[{name:_0x491b62(642),type:[_0x491b62(788)],enum:[_0x491b62(478),_0x491b62(582),"userAvatarUrl",_0x491b62(659),"userCity",_0x491b62(737),"userCountry",_0x491b62(650)]},{name:_0x491b62(765),type:[_0x491b62(788)]},{name:_0x491b62(705),type:["string"],default:"en",enum:["en","zh_CN",_0x491b62(778)]},{name:_0x491b62(502),type:[_0x491b62(788)]},{name:_0x491b62(712),type:[_0x491b62(788)]}]},"official-account":{events:["bindload",_0x491b62(792)],attrs:[]},ad:{events:[_0x491b62(802),_0x491b62(792),"bindclose"],attrs:[{name:_0x491b62(828),type:[_0x491b62(788)],required:!0},{name:_0x491b62(715),type:[_0x491b62(794)]}]},"web-view":{events:["bindmessage",_0x491b62(802),_0x491b62(792)],attrs:[{name:"src",type:["string"],checkPath:!0}]},canvas:{events:[_0x491b62(729),_0x491b62(477),_0x491b62(660),"bindtouchcancel","bindlongtap",_0x491b62(792)],attrs:[{name:_0x491b62(642),type:["string"]},{name:_0x491b62(798),type:[_0x491b62(788)]},{name:"disable-scroll",type:[_0x491b62(611)],default:!1}]},"navigation-bar":{events:[],attrs:[{name:"title",type:[_0x491b62(788)]},{name:_0x491b62(772),type:["boolean"],default:!1},{name:_0x491b62(677),type:[_0x491b62(788)]},{name:"background-color",type:[_0x491b62(788)]},{name:"color-animation-duration",type:["number"],default:0},{name:_0x491b62(569),type:[_0x491b62(788)],default:""},{name:_0x491b62(759),type:[_0x491b62(788)],default:_0x491b62(688),enum:["linear",_0x491b62(836),_0x491b62(757),_0x491b62(750)]}]},"page-meta":{events:["bindresize",_0x491b62(510),_0x491b62(842)],attrs:[{name:_0x491b62(780),type:[_0x491b62(788)]},{name:_0x491b62(553),type:[_0x491b62(788)]},{name:_0x491b62(494),type:[_0x491b62(788)]},{name:"background-color-bottom",type:[_0x491b62(788)]},{name:_0x491b62(852),type:[_0x491b62(788)],default:""},{name:_0x491b62(803),type:[_0x491b62(794)],default:300},{name:_0x491b62(569),type:[_0x491b62(788)],default:""},{name:_0x491b62(572),type:[_0x491b62(788)],default:""}]},"ad-button":{events:[_0x491b62(470)],attrs:[{name:_0x491b62(808),type:[_0x491b62(788)],required:!0},{name:_0x491b62(625),type:[_0x491b62(788)],required:!0},{name:_0x491b62(716),type:["number"],default:0},{name:_0x491b62(495),type:["number"],default:0}]}},tagRequiredParent={},tagRequiredAttrs={},tagAllowedAttrs={},tagAttrsAllowedType={},tagAttrsNeedCheckPath={},attrsNeedCombine={},URL_MATCH_REG_EXP=/url\s*\(\s*['"]?\s*([^\(\)]+?)\s*['"]?\s*\)/g,URL_CONTENT_REG_EXP=/url\s*\(\s*['"]?([^'"]*)['"]?\s*\)/;function initData(b){var x=_0x491b62;tagCommon[x(654)].filter(function(e){return e[x(719)]})[x(743)](function(e){var t=x;return attrsNeedCombine[e[t(755)]]=e[t(719)]}),Object[x(596)](b)[x(743)](function(e){var t=x,a=b[e],n=a.attrs;a[t(773)]&&a.parent.length&&(tagRequiredParent[e]=a.parent),tagRequiredAttrs[e]=n.filter(function(e){return e[t(570)]}),tagAllowedAttrs[e]=n[t(647)](tagCommon[t(654)]),tagAttrsAllowedType[e]=n[t(829)](function(e){return e[t(642)]}),tagAttrsNeedCheckPath[e]=n.filter(function(e){return e[t(579)]})[t(630)](function(e){return e[t(755)]})})}function getRelativePath(e,t){var a=_0x491b62;return path.relative(e,t)[a(674)](/\\/g,"/")}function findIncldeTagSrcChain(e,t){for(var a,n=_0x491b62,b=[],x=e[n(602)],_=t[n(632)],r=t.resourcePath;x;)x[n(486)][n(674)](/^q\-/,"")===n(837)&&(a=x[n(654)][n(829)](function(e){var t=n;return e.name===t(760)})[0])&&b[n(814)](a[n(832)]),x=x[n(602)];return b[n(489)]&&(r=b[n(817)](function(e,t){var a=n,t=utils[a(554)](t,r,_)[a(621)];return r=t},"")),/\.hxml$/[n(848)](r)?r:""[n(647)](r,n(612))}function findIncludeSrcPath(e,t){var a=_0x491b62,n=e;return/^\//.test(t)?{srcPath:e}:((e=e[a(584)](/\/|\\/))[a(824)](),e=e[a(713)]("/"),{sourcePath:n,filePath:path[a(713)](e,t)[a(674)](/\\/g,"/")})}function checkSourcePath(e,t,a,n,b){var x,_=_0x491b62;/^(https?:)?\/\//[_(848)](t.value)||(x=t[_(832)],e=e.tagName,tagAttrsNeedCheckPath[e][_(725)](t[_(755)])&&fileExistHandle(e,t,a,n,b),t.name!==_(695))||"string"!=typeof x||x[_(725)](_(847))||checkStyleUrlPath(e,t,a,n,b)}function fileExistHandle(e,t,a,n,b){var x,_,r,l=_0x491b62;return/^(https?:)?\/\//[l(848)](t[l(832)])||"string"==typeof t.value&&(x=t.value,_=n[l(632)],n=n.resourcePath,r=findIncludeSrcPath(b,x),n=utils.getAbsPath(x,n,_).filePath.replace(/\s/g,""),n=r&&r.filePath?r[l(621)]:n,fs[l(670)](n)?(r=getRelativePath(_,n),t.value="/".concat(r)):/^\/[^\/]+|(\.?\.\/)/[l(848)](x)&&a[l(484)]({filePath:b,loc:t[l(599)]||{start:0,end:0},reason:l(671)[l(647)](e,l(551))[l(647)](t[l(755)],"' ")+"source path '"[l(647)](t[l(832)],"' is not exist, ")+l(818)})),t[l(832)]}function checkStyleUrlPath(n,e,b,x,_){var r=_0x491b62;URL_MATCH_REG_EXP.test(e[r(832)])&&(e[r(832)]=e[r(832)][r(674)](URL_MATCH_REG_EXP,function(e){var t=r,a=e[t(674)](/(\\")|(\\')/g,"").match(URL_CONTENT_REG_EXP);return a?(a=fileExistHandle(n,{value:a[1],name:t(695)},b,x,_),t(812).concat(a,")")):e}))}function checkAttrValType(e,a,t,n){var b=_0x491b62,x=tagAttrsAllowedType[e][b(831)](function(e){var t=b;return e.name===a[t(755)]});x&&(x=x[b(642)])&&(x=x.filter(function(e){return e!==b(611)}))[b(489)]&&!x[b(725)](getAttrValType(a.value))&&t[b(484)]({filePath:n,loc:a[b(599)],reason:b(671).concat(e,b(551)).concat(a[b(755)],"' ")+b(574)[b(647)](a.value,"' is not allowed type: <")[b(647)](getAttrValType(a[b(832)]),">, ")+"Use below types ".concat(JSON[b(827)](x[b(713)](", ")))})}function getAttrValType(e){var t,a=_0x491b62;try{return/^{(:+)}$/[a(848)](e)?a(813):(t=vm[a(849)](e),Object.prototype.toString[a(693)](t)[a(481)](8,-1).toLowerCase())}catch(e){return a(788)}}function isParentTagExist(e,t){for(var a=e[_0x491b62(602)];a&&a.nodeName.replace(/^q\-/,"")!==t;)a=a.parentNode;return!!a}function checkTagName(e,t,a){var n=_0x491b62,b=e[n(576)],t=t[n(583)];tagRequiredParent[b]&&!isParentTagExist(e,e=tagRequiredParent[b])&&t[n(484)]({filePath:a,reason:n(801)[n(647)](b,"> cant not find parent component: <")[n(647)](e,n(844))+n(566)})}function checkAttrValInAllowedList(e,t,a,n,b){var x=_0x491b62,_=getAttrValType(t[x(832)])===x(794)?Number(t.value):t[x(832)],n=(typeof _===x(788)&&(_=_[x(538)]()),n[x(583)]);a[x(725)](_)||n.push({filePath:b,loc:t.loc,reason:x(671)[x(647)](e,x(551))[x(647)](t[x(755)],x(751))[x(647)](t[x(832)],"' is not allowed,")+" Use below values \n "[x(647)](JSON[x(827)](a[x(713)](", ")))})}function _0x48d6(e,t){var a=_0x6861();return(_0x48d6=function(e,t){return a[e-=469]})(e,t)}function checkElseIf(e,t,a,n){var b,x,_=_0x491b62,r=!1;[_(591),_(664)][_(725)](t.name)&&((x=e[_(602)][_(838)])&&1<x[_(489)]&&(b=x[_(820)](e),r=(x=x[_(481)](0,b))[_(489)]&&x[_(721)](function(e){var a=_;return e[a(654)]&&e[a(654)].find(function(e){var t=a;return e[t(755)]===t(733)})})),r||(a[_(583)].push({filePath:n,loc:t[_(599)],trigger:ATTR_NAME,reason:_(603).concat(t[_(755)],"=")[_(647)](t.value," used on element <")[_(647)](e.tagName,"> ")+_(691)}),e[_(654)].splice(e[_(654)].indexOf(t),1)))}function checkAttrFor(e,t,a,n){var b,x,_=_0x491b62,r=attrsNeedCombine[t.name];r&&(x=(b=e[_(654)]).indexOf(t),!b[_(831)](function(e){var t=_;return r[t(725)](e[t(755)])}))&&(a[_(583)][_(484)]({filePath:n,loc:t[_(599)],trigger:ATTR_NAME,reason:"WRANNING: "[_(647)](t[_(755)],"=").concat(t[_(832)],_(643)).concat(e[_(576)],"> ")+"without corresponding has:for."}),/^has:key$/[_(848)](t.name))&&e.attrs.splice(x,1)}function checkAttrAllowed(e,t,a){var n=_0x491b62,b=[n(504)];return/^(v-|:)/[n(848)](e[n(755)])?(t[n(484)]({filePath:a,loc:e[n(599)],trigger:ATTR_NAME,reason:n(487)[n(647)](e.name,n(498))}),!1):(b[n(725)](e[n(755)])&&t.push({filePath:a,loc:e[n(599)],trigger:ATTR_NAME,reason:n(615).concat(e[n(755)],"', please change it.")}),!0)}function checkTagAttrs(b,t,x,_){var r,l,i=_0x491b62,o=b[i(576)],u=t[i(583)],e=b.attrs,m=tagAllowedAttrs[o],a=tagRequiredAttrs[o];m?(a[i(743)](function(t){var a=i;e[a(831)](function(e){return e[a(755)]===t.name})||u[a(484)]({filePath:_,loc:b[a(599)],reason:a(671)[a(647)](o,a(609)).concat(t[a(755)],"'")})}),r=[],e.forEach(function(a){var e,n=i;checkAttrAllowed(a,u,_)&&r[n(484)](a),!expUtils[n(492)](a.value)&&!utils[n(598)](a[n(832)])&&(/^data\-/[n(848)](a[n(755)])||(a[n(755)]=utils[n(727)](a.name)),e=m.find(function(e){var t=n;return new RegExp("^"[t(647)](e.name))[t(848)](a[t(755)])}))&&(e[n(809)]?checkAttrValInAllowedList(o,a,e[n(809)],t,_):checkAttrValType(o,a,u,_),checkSourcePath(b,a,u,x,_)),checkElseIf(b,a,t,_),checkAttrFor(b,a,t,_)}),b[i(654)]=r):e&&0<e[i(489)]&&(l=[],e[i(743)](function(e,t,a){var n=i;checkAttrAllowed(e,u,_)&&l[n(484)](e)}),b[i(654)]=l)}function _0x6861(){var e=["bindinput","textarea-placeholde","subkey","out-of-bounds","bindtimeupdate","high","#09BB07","easing-function","danmu-list","primary","target","bindstop","class","2198493PJpOAT","page-gesture","url","for","end","stroke-width","range-key","torch","hold-keyboard","inertia","polygons","back","bindstatuschange","trim","none","bindnetstatus","openSetting","enable-camera","fields","read-only","year","app-parameter","orientation","scroll-anchoring","idcard","large","> attribute '","swiper","background-color","getAbsPath","0px","bindlabeltap","show-fullscreen-btn","default","initial-time","beauty","auto-pause-if-open-native","enable-zoom","hover-start-time","hover-stop-propagation","3TxzYQX","Please check it","bindfullscreenchange","show-img-size","page-style","required","object-fit","root-font-size","indicator-class","value '","bindbgmcomplete","tagName","controls","has:if","checkPath","#EBEBEB","1939yNNdDk","userNickName","buildLog","split","send-message-img","release","report-submit","atuo-foucus","current","easeInOutCubic","has:else","bindwating","reset","scroll-with-animation","path","keys","backwards","isEmptyStr","loc","bindcallouttap","frame-size","parentNode","WRANNING: ","off","scroll-flex","bindkeyboardheightchange","650568QLaTXS","getUserInfo","> missing required attribute '","start","boolean",".hxml","active-color","./utils","WARNING: Unexpected JavaScript keyword as attribute name: '","bindchange","durations","show-img-toolbar","./exp-utils","show-progress","filePath","autoplay","color","9:16","adunitid","getPhoneNumber","space","#1aad19","bindscale","map","bindconfirm","rootPath","date","autopush","bindcontact","bindfail","speaker","bindstatechange","node","send-message-path","bindupdated","type"," used on element <","size","min","bindsubmit","concat","easeOutCubic","bindblur","userLanguage","selection-end","background-mute","warn","attrs","scale-area","block-color","medium","direction","userGender","bindtouchend","enable-prgress-gesture","auto-focus","#e9e9e9","has:elif","duration","webp","enable-play-gesture","active-mode","font-size","existsSync","WRANNING: Component <","1841370EabWhs","send","replace","bindscrolltolower","data-","front-color","live","#ffffff","disabled","latitude","search","bindcontroltap","vslide-gesture","interval","enable-scroll","has:for","linear","bindregionchange","bindready","without corresponding has:if.","bindreset","call","aspect","style","loop","vertical","hover-class","trial","author","show-menu-by-longpress","min-cache","has:for-items","focus","lang","enable-sttellite","confirm-hold","mode","extra-data","zh_CN","hover-stay-time","default-avatar","join","enable-3D","ad-intervals","valuetype","enable-traffic","maxlength","combDiectives","scroll-x","some","custom-item","show-center-play-btn","1379400JAxfZo","includes","placeholder","camelCaseToHyphened","upper-threshold","bindtouchstart","self","show-scale","RTC","v-if","button-hover","skip-hidden-item-layout","bindprogress","userProvince","exit","lower-threshold","bindopensetting","multiSelector","layer-style","forEach","waiting-image-hash","confirm-type","data","checked","danmu-button","nodes","easeInOut","' value '","cursor-spacing","bindbgmstart","#04BE02","name","whiteness","easeOut","contain","color-animation-timing-func","src","selection-start","small","bindsuccess","bindtransition","open-gid","decode","audio-quality","array","enable-overlooking","navigate","backgroundColor","loading","parent","app-id","show-location","indicator-active-color","bindlinechange","zh_TW","cursor","background-text-style","navigateBack","bindplay","flash","selector","auto-height","bindloadmetadata","fillCrop","string","1568920hNaaNg","next","bindchanging","binderror","has:for-item","number","FHD","bindgetphonenumber","capture-catch:","canvas-id","ad-unit-id","scale-max","WRANING: Component <","bindload","scroll-duration","launchApp","bindgetuserinfo","bindended","include-points","adid","enum","develop","session-from","url(","object","unshift","bindmarketap","scale-value","reduce","Please check.","show-compass","indexOf","play-btn-postion","has:for-index","front","pop","scale","circles","stringify","unit-id","filter","placeholder-class","find","value","percent","vslide-gesture-in-fullscreen","horizontal","easeIn","_@template@_","childNodes","done","animation","placeholder-style","bindscrolldone","easeInCubic",">, ","show-mute-btn","mini","rpx","test","runInThisContext","poster","report-submit-timeout","scroll-top","previous-margin","bindtap","424457USsNwS","contact","damping","low","20652REWmXy","delta","bindtouchmove","groupName","adjust-position","scale-min","slice","muted","show-img-resize","push","active","nodeName","WARNING: Unexpected attribute name: ","center","length","auto","next-margin","isExpr","bindpickstart","background-color-top","open-type","args","block-size",", attribute can not start with 'v-' or ':'. ","scroll-y","auto-pause-if-navigate","text","default-text","bindcancel","key","bindfocus","day","time","bindcomplete","digit","bindscroll","plain"];return(_0x6861=function(){return e})()}function checkNode(e,t,a){var n=findIncldeTagSrcChain(e,a);checkTagName(e,t,n),checkTagAttrs(e,t,a,n)}initData(tagComponentMap),module.exports={checkTagAttrs:checkTagAttrs,checkTagName:checkTagName,isParentTagExist:isParentTagExist,checkNode:checkNode,findIncldeTagSrcChain:findIncldeTagSrcChain};
|
|
1
|
+
var _0x21b1b0=_0xba14,expUtils=((()=>{for(var e=_0xba14,b=_0x3622();;)try{if(519574==-parseInt(e(704))*(-parseInt(e(649))/2)+parseInt(e(782))/3+-parseInt(e(511))/4*(-parseInt(e(765))/5)+-parseInt(e(632))/6+-parseInt(e(570))/7+parseInt(e(521))/8*(parseInt(e(737))/9)+-parseInt(e(480))/10)break;b.push(b.shift())}catch(e){b.push(b.shift())}})(),require(_0x21b1b0(399))),fs=require("fs"),utils=require(_0x21b1b0(742)),path=require("path"),vm=require("vm"),ATTR_NAME=_0x21b1b0(771),tagCommon={attrs:[{name:"id"},{name:"class"},{name:"style"},{name:_0x21b1b0(735)},{name:_0x21b1b0(626)},{name:_0x21b1b0(423)},{name:_0x21b1b0(514)},{name:_0x21b1b0(609),combDiectives:[_0x21b1b0(735),_0x21b1b0(527)]},{name:_0x21b1b0(527)},{name:"has:for-index",combDiectives:[_0x21b1b0(735),_0x21b1b0(527)]},{name:"has:for-item",combDiectives:[_0x21b1b0(735),_0x21b1b0(527)]},{name:_0x21b1b0(793)},{name:_0x21b1b0(788)},{name:_0x21b1b0(793)},{name:"data-"},{name:_0x21b1b0(424)},{name:_0x21b1b0(579)}]},tagComponentMap={map:{events:[_0x21b1b0(681),_0x21b1b0(728),"bindlabeltap",_0x21b1b0(751),_0x21b1b0(682),_0x21b1b0(501),_0x21b1b0(711),_0x21b1b0(588)],attrs:[{name:_0x21b1b0(786),type:[_0x21b1b0(456)],required:!0},{name:_0x21b1b0(485),type:[_0x21b1b0(456)],required:!0},{name:_0x21b1b0(697),type:[_0x21b1b0(456)],default:16,enum:[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]},{name:"marker",type:[_0x21b1b0(446)]},{name:_0x21b1b0(689),type:[_0x21b1b0(446)]},{name:_0x21b1b0(641),type:[_0x21b1b0(446)]},{name:"circles",type:[_0x21b1b0(446)]},{name:_0x21b1b0(599),type:[_0x21b1b0(446)]},{name:"include-points",type:["array"]},{name:_0x21b1b0(653),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(623),type:[_0x21b1b0(446)]},{name:_0x21b1b0(636),type:["string"]},{name:"layer-style",type:[_0x21b1b0(456)],default:1},{name:_0x21b1b0(657),type:[_0x21b1b0(456)],default:0},{name:_0x21b1b0(757),type:[_0x21b1b0(456)],default:0},{name:_0x21b1b0(583),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(455),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(610),type:["boolean"],default:!1},{name:_0x21b1b0(798),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(505),type:[_0x21b1b0(739)],default:!0},{name:_0x21b1b0(529),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(674),type:["boolean"],default:!1},{name:_0x21b1b0(443),type:[_0x21b1b0(739)],default:!0},{name:_0x21b1b0(540),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(619),type:[_0x21b1b0(702)]}]},video:{events:[_0x21b1b0(536),"bindpause",_0x21b1b0(474),"bindtimeupdate",_0x21b1b0(595),_0x21b1b0(743),_0x21b1b0(562),_0x21b1b0(781),_0x21b1b0(418)],attrs:[{name:"src",type:["string"],checkPath:!0,required:!0},{name:_0x21b1b0(503),type:[_0x21b1b0(456)]},{name:_0x21b1b0(599),type:[_0x21b1b0(739)],default:!0},{name:_0x21b1b0(416),type:["array"]},{name:"danmu-list",type:[_0x21b1b0(446)]},{name:_0x21b1b0(746),type:[_0x21b1b0(739)],default:!1},{name:"enable-danmu",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(408),type:["boolean"],default:!1},{name:"loop",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(720),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(592),type:[_0x21b1b0(456)],default:0},{name:_0x21b1b0(758),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(725),type:[_0x21b1b0(426)],default:_0x21b1b0(618),enum:["contain","fill","cover"]},{name:_0x21b1b0(662),type:[_0x21b1b0(426)],checkPath:!0},{name:_0x21b1b0(413),type:["number"],enum:[0,-90,90]},{name:_0x21b1b0(635),type:[_0x21b1b0(739)],default:!0},{name:"show-fullscreen-btn",type:["boolean"],default:!0},{name:_0x21b1b0(441),type:[_0x21b1b0(739)],default:!0},{name:_0x21b1b0(738),type:["boolean"],default:!0},{name:"enable-prgress-gesture",type:["boolean"],default:!0},{name:"show-mute-btn",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(403),type:[_0x21b1b0(426)]},{name:_0x21b1b0(565),type:[_0x21b1b0(426)],default:_0x21b1b0(553),enum:[_0x21b1b0(553),"center"]},{name:_0x21b1b0(506),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(568),type:[_0x21b1b0(739)],default:!0},{name:_0x21b1b0(663),type:[_0x21b1b0(739)],default:!0},{name:"vslide-gesture",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(716),type:["boolean"],default:!0},{name:_0x21b1b0(430),type:["string"]}]},"live-pusher":{events:[_0x21b1b0(552),"bindnetstatus","binderror",_0x21b1b0(686),"bindbgmprogress","bindbgmcomplete"],attrs:[{name:_0x21b1b0(477),type:[_0x21b1b0(426)],checkPath:!0},{name:"mode",type:[_0x21b1b0(426)],default:_0x21b1b0(582),enum:["live",_0x21b1b0(646)]},{name:_0x21b1b0(427),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(720),type:["boolean"],default:!1},{name:_0x21b1b0(693),type:[_0x21b1b0(739)],default:!0},{name:_0x21b1b0(778),type:[_0x21b1b0(739)],default:!0},{name:_0x21b1b0(533),type:[_0x21b1b0(426)],default:_0x21b1b0(512),enum:[_0x21b1b0(512),"horizontal"]},{name:_0x21b1b0(483),type:[_0x21b1b0(456)],default:0,enum:[0,1,2,3,4,5,6,7,8,9]},{name:_0x21b1b0(516),type:[_0x21b1b0(456)],default:0,enum:[0,1,2,3,4,5,6,7,8,9]},{name:_0x21b1b0(630),type:[_0x21b1b0(426)],default:_0x21b1b0(672),enum:["9:16",_0x21b1b0(561)]},{name:"mini-bitrate",type:["number"],default:200},{name:_0x21b1b0(523),type:[_0x21b1b0(456)],default:1e3},{name:"audio-quality",type:[_0x21b1b0(426)],default:_0x21b1b0(747),enum:[_0x21b1b0(733),_0x21b1b0(747)]},{name:_0x21b1b0(695),type:["string"]},{name:_0x21b1b0(524),type:["string"]},{name:"zoom",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(644),type:["string"],default:_0x21b1b0(461),enum:[_0x21b1b0(461),_0x21b1b0(602)]},{name:_0x21b1b0(539),type:["boolean"],default:!1},{name:_0x21b1b0(470),type:["boolean"],default:!1}]},"live-player":{events:[_0x21b1b0(552),_0x21b1b0(595),_0x21b1b0(481)],attrs:[{name:_0x21b1b0(633),type:[_0x21b1b0(426)],checkPath:!0},{name:_0x21b1b0(707),type:[_0x21b1b0(426)],default:"RTC",enum:["HD",_0x21b1b0(515),"SD","RTC"]},{name:_0x21b1b0(408),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(720),type:["boolean"],default:!1},{name:_0x21b1b0(533),type:[_0x21b1b0(426)],default:_0x21b1b0(512),enum:[_0x21b1b0(512),_0x21b1b0(744)]},{name:"object-fit",type:[_0x21b1b0(426)],default:_0x21b1b0(618),enum:[_0x21b1b0(618),_0x21b1b0(468)]},{name:_0x21b1b0(539),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(655),type:[_0x21b1b0(456)],default:1},{name:_0x21b1b0(655),type:[_0x21b1b0(456)],default:3},{name:"sound-mode",type:[_0x21b1b0(426)],default:_0x21b1b0(727),enum:[_0x21b1b0(727),_0x21b1b0(600)]},{name:_0x21b1b0(663),type:[_0x21b1b0(739)],default:!0},{name:_0x21b1b0(568),type:[_0x21b1b0(739)],default:!0}]},camrea:{events:[_0x21b1b0(756),"binderror",_0x21b1b0(572),"bindscancode"],attrs:[{name:_0x21b1b0(707),type:["boolean"],default:"normal",enum:["front","back"]},{name:"device-position",type:[_0x21b1b0(426)],default:"back"},{name:_0x21b1b0(658),type:[_0x21b1b0(426)],default:_0x21b1b0(530),enum:[_0x21b1b0(530),"on","off",_0x21b1b0(504)]},{name:_0x21b1b0(683),type:[_0x21b1b0(426)],default:"medium",enum:[_0x21b1b0(690),_0x21b1b0(410),_0x21b1b0(604)]},{name:_0x21b1b0(658),type:[_0x21b1b0(426)],default:"auto"}]},view:{attrs:[{name:_0x21b1b0(605),type:[_0x21b1b0(426)],default:_0x21b1b0(712)},{name:_0x21b1b0(703),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(492),type:[_0x21b1b0(456)],default:50},{name:_0x21b1b0(597),type:[_0x21b1b0(456)],default:400}]},"scroll-view":{events:[_0x21b1b0(722),"bindscrolltolower",_0x21b1b0(587)],attrs:[{name:"scroll-x",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(450),type:["boolean"],default:!1},{name:_0x21b1b0(729),type:["number",_0x21b1b0(426)],default:50},{name:"lower-threshold",type:[_0x21b1b0(456),_0x21b1b0(426)],default:50},{name:"scroll-top",type:[_0x21b1b0(456),_0x21b1b0(426)]},{name:"scroll-left",type:[_0x21b1b0(456),_0x21b1b0(426)]},{name:"scroll-into-view",type:[_0x21b1b0(426)]},{name:_0x21b1b0(709),type:["boolean"],default:!1},{name:_0x21b1b0(688),type:[_0x21b1b0(739)],default:!1},{name:"scroll-anchoring",type:["boolean"],default:!1}]},"movable-area":{attrs:[{name:"scale-area",type:[_0x21b1b0(739)],default:!1}]},"movable-view":{events:["bindchange",_0x21b1b0(531),"htouchmove",_0x21b1b0(678)],attrs:[{name:_0x21b1b0(413),type:[_0x21b1b0(426)],default:_0x21b1b0(651)},{name:_0x21b1b0(576),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(749),type:[_0x21b1b0(739)],default:!1},{name:"x",type:[_0x21b1b0(456)]},{name:"y",type:[_0x21b1b0(456)]},{name:"damping",type:[_0x21b1b0(456)],default:20},{name:_0x21b1b0(466),type:[_0x21b1b0(456)],default:2},{name:"disabled",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(697),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(508),type:[_0x21b1b0(456)],default:.5},{name:"scale-max",type:[_0x21b1b0(456)],default:10},{name:_0x21b1b0(762),type:[_0x21b1b0(456)],default:1},{name:_0x21b1b0(528),type:["boolean"],default:!0}]},audio:{events:[_0x21b1b0(562),"bindplay",_0x21b1b0(606),_0x21b1b0(460),_0x21b1b0(474)],attrs:[{name:"id",type:[_0x21b1b0(426)]},{name:_0x21b1b0(633),type:["string"],checkPath:!0},{name:_0x21b1b0(420),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(599),type:["boolean"],default:!1},{name:_0x21b1b0(662),type:[_0x21b1b0(426)],checkPath:!0},{name:_0x21b1b0(745),type:[_0x21b1b0(426)]},{name:_0x21b1b0(458),type:["string"]}]},progress:{events:[_0x21b1b0(659)],attrs:[{name:"percent",type:[_0x21b1b0(456)]},{name:"show-info",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(475),type:["number","string"],default:0},{name:_0x21b1b0(401),type:[_0x21b1b0(456),_0x21b1b0(426)],default:16},{name:_0x21b1b0(792),type:["number",_0x21b1b0(426)],default:6},{name:_0x21b1b0(615),type:[_0x21b1b0(426)],default:_0x21b1b0(791)},{name:_0x21b1b0(546),type:["string"],default:_0x21b1b0(791)},{name:"backgroundColor",type:[_0x21b1b0(426)],default:_0x21b1b0(445)},{name:"active",type:["boolean"],default:!1},{name:_0x21b1b0(409),type:["string"],default:"backwards"},{name:"durations",type:[_0x21b1b0(456)],default:30}]},"rich-text":{attrs:[{name:_0x21b1b0(736),type:[_0x21b1b0(446),_0x21b1b0(426)],default:[]},{name:_0x21b1b0(577),type:["string"]}]},text:{attrs:[{name:_0x21b1b0(408),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(408),type:[_0x21b1b0(426)]},{name:_0x21b1b0(719),type:["boolean"],default:!1}]},swiper:{events:[_0x21b1b0(598),_0x21b1b0(741),"bindanimationfinish"],attrs:[{name:"indicator-dots",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(750),type:[_0x21b1b0(426)],default:_0x21b1b0(453)},{name:_0x21b1b0(603),type:[_0x21b1b0(426)],default:_0x21b1b0(767)},{name:"autoplay",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(486),type:[_0x21b1b0(456),_0x21b1b0(426)],default:0},{name:_0x21b1b0(723),type:[_0x21b1b0(456),_0x21b1b0(426)],default:5e3},{name:_0x21b1b0(503),type:[_0x21b1b0(456),_0x21b1b0(426)],default:500},{name:_0x21b1b0(512),type:["boolean"],default:!1},{name:_0x21b1b0(629),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(726),type:["string",_0x21b1b0(456)],default:"0px"},{name:"next-margin",type:[_0x21b1b0(426),"number"],default:_0x21b1b0(730)},{name:_0x21b1b0(559),type:["number"],default:1},{name:_0x21b1b0(488),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(538),type:[_0x21b1b0(426)],default:_0x21b1b0(447),enum:["default",_0x21b1b0(773),_0x21b1b0(472),_0x21b1b0(543),_0x21b1b0(769)]}]},"swiper-item":{parent:_0x21b1b0(499),attrs:[{name:"item-id"}]},image:{events:["binderror","bindload"],attrs:[{name:"src",checkPath:!0},{name:_0x21b1b0(707)},{name:_0x21b1b0(509)},{name:_0x21b1b0(601)},{name:_0x21b1b0(763)}]},icon:{attrs:[{name:_0x21b1b0(797),type:["string"]},{name:_0x21b1b0(590),type:["number",_0x21b1b0(426)],default:23},{name:_0x21b1b0(615),type:["string"]}]},"cover-image":{attrs:[{name:"src",required:!0,checkPath:!0}],events:[_0x21b1b0(431),_0x21b1b0(562)]},"cover-view":{attrs:[{name:_0x21b1b0(628),type:["number",_0x21b1b0(426)]}]},checkbox:{attrs:[{name:_0x21b1b0(785),type:["string",_0x21b1b0(456)]},{name:_0x21b1b0(671),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(494),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(615),type:["string"],default:"#09BB07"}]},button:{events:["bindgetuserinfo",_0x21b1b0(574),"bindgetphonenumber","binderror","bindopensetting","bindlaunchapp"],attrs:[{name:_0x21b1b0(590),type:[_0x21b1b0(426)],default:_0x21b1b0(447),enum:[_0x21b1b0(447),_0x21b1b0(404)]},{name:_0x21b1b0(797),type:[_0x21b1b0(426)],default:"default",enum:[_0x21b1b0(542),_0x21b1b0(447),_0x21b1b0(422)]},{name:_0x21b1b0(777),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(671),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(679),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(789),type:[_0x21b1b0(426)],enum:[_0x21b1b0(790),_0x21b1b0(467)]},{name:"open-type",type:[_0x21b1b0(426)],enum:[_0x21b1b0(435),_0x21b1b0(519),_0x21b1b0(451),_0x21b1b0(520),_0x21b1b0(586),_0x21b1b0(748),_0x21b1b0(591)]},{name:"hover-class",type:["string"],default:_0x21b1b0(760)},{name:_0x21b1b0(703),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(492),type:[_0x21b1b0(456)],default:20},{name:_0x21b1b0(597),type:[_0x21b1b0(456)],default:70},{name:_0x21b1b0(500),type:[_0x21b1b0(426)],default:"en",enum:["en",_0x21b1b0(779),"zh_TW"]},{name:_0x21b1b0(774),type:[_0x21b1b0(426)]},{name:_0x21b1b0(405),type:[_0x21b1b0(426)]},{name:_0x21b1b0(417),type:[_0x21b1b0(426)]},{name:_0x21b1b0(627),type:[_0x21b1b0(426)]},{name:_0x21b1b0(465),type:[_0x21b1b0(426)]},{name:_0x21b1b0(787),type:[_0x21b1b0(739)],default:!1}]},"checkbox-group":{events:[_0x21b1b0(411)],attrs:[]},editor:{events:[_0x21b1b0(537),_0x21b1b0(734),_0x21b1b0(753),_0x21b1b0(432),_0x21b1b0(661)],attrs:[{name:_0x21b1b0(668),type:[_0x21b1b0(739)],default:!1},{name:"placeholder",type:[_0x21b1b0(426),_0x21b1b0(456)]},{name:_0x21b1b0(439),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(490),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(647),type:[_0x21b1b0(739)],default:!1}]},form:{events:[_0x21b1b0(617),"bindreset"],attrs:[{name:_0x21b1b0(656),type:["boolean"],default:!1},{name:_0x21b1b0(415),type:["number"],default:0}]},input:{events:["bindinput","bindfocus",_0x21b1b0(753),_0x21b1b0(495),_0x21b1b0(643)],attrs:[{name:_0x21b1b0(785),type:[_0x21b1b0(426),_0x21b1b0(456)]},{name:"type",type:[_0x21b1b0(426)],default:"text",enum:[_0x21b1b0(714),_0x21b1b0(456),"idcard",_0x21b1b0(502)]},{name:_0x21b1b0(535),type:[_0x21b1b0(739)],default:!1},{name:"placeholder",type:[_0x21b1b0(426),_0x21b1b0(456)]},{name:_0x21b1b0(772),type:[_0x21b1b0(426)]},{name:_0x21b1b0(496),type:[_0x21b1b0(426)],default:"input-placeholder"},{name:"disabled",type:[_0x21b1b0(739)],default:!1},{name:"maxlength",type:[_0x21b1b0(456)],default:140},{name:_0x21b1b0(794),type:[_0x21b1b0(456)],default:0},{name:"auto-focus",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(567),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(549),type:[_0x21b1b0(426)],default:_0x21b1b0(799),enum:[_0x21b1b0(551),"search",_0x21b1b0(692),"go",_0x21b1b0(799)]},{name:_0x21b1b0(489),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(398),type:[_0x21b1b0(456)]},{name:_0x21b1b0(700),type:[_0x21b1b0(456)],default:-1},{name:_0x21b1b0(631),type:["number"],default:-1},{name:"adjust-position",type:["boolean"],default:!0},{name:"hold-keyboard",type:[_0x21b1b0(739)],default:!1}]},label:{attrs:[{name:_0x21b1b0(640),type:[_0x21b1b0(426)]}]},picker:{events:[_0x21b1b0(699),_0x21b1b0(411),"bindcolumnchange"],attrs:[{name:_0x21b1b0(707),type:[_0x21b1b0(426)],default:"selector",enum:[_0x21b1b0(429),_0x21b1b0(775),_0x21b1b0(571),_0x21b1b0(440),_0x21b1b0(706)]},{name:_0x21b1b0(671),type:["boolean"],default:!1},{name:"range",type:["array"]},{name:_0x21b1b0(673),type:[_0x21b1b0(739)],string:!1},{name:_0x21b1b0(785),type:[_0x21b1b0(456),_0x21b1b0(446),_0x21b1b0(426)]},{name:_0x21b1b0(558),type:[_0x21b1b0(426),_0x21b1b0(456)]},{name:"end",type:[_0x21b1b0(426),_0x21b1b0(456)]},{name:_0x21b1b0(666),type:[_0x21b1b0(426)],default:"day",enum:[_0x21b1b0(660),_0x21b1b0(752),_0x21b1b0(621)]},{name:_0x21b1b0(545),type:[_0x21b1b0(426)]}]},"picker-view":{events:[_0x21b1b0(411),_0x21b1b0(795),_0x21b1b0(459)],attrs:[{name:_0x21b1b0(785),type:[_0x21b1b0(446)],default:_0x21b1b0(429)},{name:_0x21b1b0(776),type:["string"]},{name:_0x21b1b0(639),type:[_0x21b1b0(426)]},{name:_0x21b1b0(581),type:[_0x21b1b0(426)]},{name:"mask-class",type:["string"]}]},"picker-view-column":{attrs:[]},radio:{attrs:[{name:_0x21b1b0(785),type:[_0x21b1b0(426),_0x21b1b0(456)]},{name:_0x21b1b0(615),type:["string"],default:_0x21b1b0(791)},{name:_0x21b1b0(494),type:[_0x21b1b0(739)],default:!1},{name:"disabled",type:["boolean"],default:!1}]},"radio-group":{events:[_0x21b1b0(411)],attrs:[]},slider:{events:[_0x21b1b0(411),"bindchanging"],attrs:[{name:_0x21b1b0(469),type:[_0x21b1b0(456)],default:0},{name:_0x21b1b0(685),type:["number"],default:100},{name:_0x21b1b0(710),type:[_0x21b1b0(456)],default:1},{name:_0x21b1b0(671),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(785),type:[_0x21b1b0(456)],default:0},{name:"color",type:["string"],default:"#e9e9e9"},{name:_0x21b1b0(593),type:[_0x21b1b0(426)],default:_0x21b1b0(614)},{name:_0x21b1b0(546),type:[_0x21b1b0(426)],default:_0x21b1b0(614)},{name:_0x21b1b0(414),type:[_0x21b1b0(426)],default:_0x21b1b0(454)},{name:_0x21b1b0(780),type:[_0x21b1b0(456)],default:28},{name:_0x21b1b0(487),type:[_0x21b1b0(426)],default:_0x21b1b0(624)},{name:_0x21b1b0(701),type:[_0x21b1b0(739)],default:!1}]},switch:{events:[_0x21b1b0(411)],attrs:[{name:_0x21b1b0(494),type:[_0x21b1b0(739)],default:!1},{name:"disabled",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(797),type:[_0x21b1b0(426)],default:_0x21b1b0(438)},{name:_0x21b1b0(615),type:[_0x21b1b0(426)],default:"#04BE02"}]},textarea:{events:["bindfocus","bindblur",_0x21b1b0(476),_0x21b1b0(432),_0x21b1b0(495),_0x21b1b0(643)],attrs:[{name:_0x21b1b0(785),type:[_0x21b1b0(426)]},{name:_0x21b1b0(696),type:[_0x21b1b0(426),_0x21b1b0(456)]},{name:_0x21b1b0(772),type:[_0x21b1b0(426)]},{name:_0x21b1b0(496),type:[_0x21b1b0(426)],default:_0x21b1b0(482)},{name:_0x21b1b0(671),type:["boolean"],default:!1},{name:_0x21b1b0(580),type:[_0x21b1b0(456)],default:140},{name:_0x21b1b0(768),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(567),type:["boolean"],default:!1},{name:_0x21b1b0(713),type:["boolean"],default:!1},{name:_0x21b1b0(550),type:[_0x21b1b0(739)],default:!1},{name:"cursor-spacing",type:["number"],default:0},{name:_0x21b1b0(398),type:["number"],default:-1},{name:_0x21b1b0(740),type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(700),type:[_0x21b1b0(456)],default:-1},{name:_0x21b1b0(631),type:["number"],default:-1},{name:_0x21b1b0(669),type:[_0x21b1b0(739)],default:!0},{name:"hold-keyboard",type:[_0x21b1b0(739)],default:!1}]},"functional-page-navigator":{events:[_0x21b1b0(732),_0x21b1b0(444),"bindcancel"],attrs:[{name:_0x21b1b0(652),type:[_0x21b1b0(426)],default:_0x21b1b0(400)},{name:_0x21b1b0(745),type:[_0x21b1b0(426)]},{name:_0x21b1b0(463),type:["object"]}]},navigator:{events:["bindsuccess","bindfail","bindcomplete"],attrs:[{name:_0x21b1b0(578),type:[_0x21b1b0(426)],default:_0x21b1b0(541)},{name:_0x21b1b0(477),type:[_0x21b1b0(426)]},{name:_0x21b1b0(613),type:["string"],default:"navigate",enum:[_0x21b1b0(569),_0x21b1b0(625),_0x21b1b0(670),"reLaunch",_0x21b1b0(783),_0x21b1b0(620)]},{name:_0x21b1b0(770),type:[_0x21b1b0(456)],default:1},{name:_0x21b1b0(715),type:[_0x21b1b0(426)]},{name:"path",type:[_0x21b1b0(426)]},{name:_0x21b1b0(556),type:[_0x21b1b0(702)]},{name:"version",type:[_0x21b1b0(426)],default:_0x21b1b0(400),enum:[_0x21b1b0(510),_0x21b1b0(754),"release"]},{name:"hover-class",type:[_0x21b1b0(426)],default:_0x21b1b0(478)},{name:_0x21b1b0(703),type:["boolean"],default:!1},{name:"hover-start-time",type:[_0x21b1b0(456)],default:50},{name:_0x21b1b0(597),type:[_0x21b1b0(456)],default:600}]},"open-data":{events:[_0x21b1b0(562)],attrs:[{name:"type",type:[_0x21b1b0(426)],enum:[_0x21b1b0(513),_0x21b1b0(761),"userAvatarUrl",_0x21b1b0(493),"userCity",_0x21b1b0(705),_0x21b1b0(522),_0x21b1b0(555)]},{name:"open-gid",type:["string"]},{name:_0x21b1b0(500),type:[_0x21b1b0(426)],default:"en",enum:["en",_0x21b1b0(779),_0x21b1b0(612)]},{name:_0x21b1b0(437),type:[_0x21b1b0(426)]},{name:_0x21b1b0(402),type:[_0x21b1b0(426)]}]},"official-account":{events:[_0x21b1b0(431),_0x21b1b0(562)],attrs:[]},ad:{events:["bindload",_0x21b1b0(562),_0x21b1b0(645)],attrs:[{name:_0x21b1b0(637),type:["string"],required:!0},{name:"ad-intervals",type:[_0x21b1b0(456)]}]},"web-view":{events:["bindmessage",_0x21b1b0(431),"binderror"],attrs:[{name:_0x21b1b0(633),type:[_0x21b1b0(426)],checkPath:!0}]},canvas:{events:[_0x21b1b0(667),"bindtouchmove","bindtouchend","bindtouchcancel",_0x21b1b0(544),_0x21b1b0(562)],attrs:[{name:"type",type:[_0x21b1b0(426)]},{name:_0x21b1b0(548),type:[_0x21b1b0(426)]},{name:"disable-scroll",type:[_0x21b1b0(739)],default:!1}]},"navigation-bar":{events:[],attrs:[{name:_0x21b1b0(403),type:[_0x21b1b0(426)]},{name:"loading",type:[_0x21b1b0(739)],default:!1},{name:_0x21b1b0(796),type:[_0x21b1b0(426)]},{name:_0x21b1b0(414),type:[_0x21b1b0(426)]},{name:"color-animation-duration",type:[_0x21b1b0(456)],default:0},{name:_0x21b1b0(407),type:[_0x21b1b0(426)],default:""},{name:"color-animation-timing-func",type:[_0x21b1b0(426)],default:_0x21b1b0(773),enum:[_0x21b1b0(773),_0x21b1b0(434),_0x21b1b0(759),_0x21b1b0(642)]}]},"page-meta":{events:[_0x21b1b0(498),_0x21b1b0(587),_0x21b1b0(596)],attrs:[{name:_0x21b1b0(575),type:[_0x21b1b0(426)]},{name:_0x21b1b0(414),type:["string"]},{name:_0x21b1b0(557),type:["string"]},{name:_0x21b1b0(764),type:["string"]},{name:_0x21b1b0(628),type:["string"],default:""},{name:_0x21b1b0(691),type:[_0x21b1b0(456)],default:300},{name:_0x21b1b0(407),type:[_0x21b1b0(426)],default:""},{name:_0x21b1b0(589),type:[_0x21b1b0(426)],default:""}]},"ad-button":{events:[_0x21b1b0(681)],attrs:[{name:_0x21b1b0(698),type:[_0x21b1b0(426)],required:!0},{name:_0x21b1b0(448),type:[_0x21b1b0(426)],required:!0},{name:_0x21b1b0(585),type:[_0x21b1b0(456)],default:0},{name:_0x21b1b0(613),type:["number"],default:0}]}},tagRequiredParent={},tagRequiredAttrs={},tagAllowedAttrs={},tagAttrsAllowedType={},tagAttrsNeedCheckPath={},attrsNeedCombine={},URL_MATCH_REG_EXP=/url\s*\(\s*['"]?\s*([^\(\)]+?)\s*['"]?\s*\)/g,URL_CONTENT_REG_EXP=/url\s*\(\s*['"]?([^'"]*)['"]?\s*\)/;function initData(n){var x=_0x21b1b0;tagCommon[x(654)][x(473)](function(e){return e.combDiectives})[x(442)](function(e){var b=x;return attrsNeedCombine[e[b(745)]]=e[b(718)]}),Object[x(479)](n)[x(442)](function(e){var b=x,t=n[e],a=t.attrs;t[b(675)]&&t[b(675)][b(412)]&&(tagRequiredParent[e]=t.parent),tagRequiredAttrs[e]=a[b(473)](function(e){return e[b(650)]}),tagAllowedAttrs[e]=a[b(484)](tagCommon.attrs),tagAttrsAllowedType[e]=a[b(473)](function(e){return e[b(797)]}),tagAttrsNeedCheckPath[e]=a[b(473)](function(e){return e.checkPath}).map(function(e){return e[b(745)]})})}function getRelativePath(e,b){return path.relative(e,b).replace(/\\/g,"/")}function findIncldeTagSrcChain(e,b){for(var t,a=_0x21b1b0,n=[],x=e[a(665)],_=b[a(708)],r=b.resourcePath;x;)x[a(452)][a(491)](/^q\-/,"")===a(449)&&(t=x[a(654)].filter(function(e){var b=a;return e.name===b(633)})[0])&&n[a(755)](t[a(785)]),x=x[a(665)];return n[a(412)]&&(r=n[a(680)](function(e,b){var t=a,b=utils[t(457)](b,r,_)[t(462)];return r=b},"")),/\.hxml$/[a(560)](r)?r:""[a(484)](r,".hxml")}function findIncludeSrcPath(e,b){var t=_0x21b1b0,a=e;return/^\//.test(b)?{srcPath:e}:((e=e.split(/\/|\\/))[t(717)](),e=e[t(436)]("/"),{sourcePath:a,filePath:path.join(e,b)[t(491)](/\\/g,"/")})}function checkSourcePath(e,b,t,a,n){var x,_=_0x21b1b0;/^(https?:)?\/\//[_(560)](b[_(785)])||(x=b.value,e=e[_(507)],tagAttrsNeedCheckPath[e][_(425)](b[_(745)])&&fileExistHandle(e,b,t,a,n),b.name!==_(687))||typeof x!==_(426)||x[_(425)]("rpx")||checkStyleUrlPath(e,b,t,a,n)}function fileExistHandle(e,b,t,a,n){var x=_0x21b1b0;if(!/^(https?:)?\/\//.test(b[x(785)])){if(typeof b[x(785)]!==x(426))return b.value;var _=b.value,r=a[x(708)],a=a[x(664)],l=findIncludeSrcPath(n,_),a=utils[x(457)](_,a,r)[x(462)][x(491)](/\s/g,""),a=l&&l.filePath?l[x(462)]:a;fs[x(421)](a)?(l=getRelativePath(r,a),b[x(785)]="/"[x(484)](l)):/^\/[^\/]+|(\.?\.\/)/[x(560)](_)&&t[x(525)]({filePath:n,loc:b[x(554)]||{start:0,end:0},reason:x(616)[x(484)](e,x(721))[x(484)](b[x(745)],"' ")+x(428)[x(484)](b[x(785)],x(547))+x(766)})}return b[x(785)]}function checkStyleUrlPath(a,e,n,x,_){var r=_0x21b1b0;URL_MATCH_REG_EXP.test(e.value)&&(e[r(785)]=e[r(785)][r(491)](URL_MATCH_REG_EXP,function(e){var b=r,t=e.replace(/(\\")|(\\')/g,"")[b(497)](URL_CONTENT_REG_EXP);return t?(t=fileExistHandle(a,{value:t[1],name:b(687)},n,x,_),b(584)[b(484)](t,")")):e}))}function _0xba14(e,b){var t=_0x3622();return(_0xba14=function(e,b){return t[e-=398]})(e,b)}function checkAttrValType(e,b,t,a){var n=_0x21b1b0,x=tagAttrsAllowedType[e][n(634)](function(e){return e[n(745)]===b.name});x&&(x=x[n(797)])&&(x=x.filter(function(e){return"boolean"!==e}))[n(412)]&&!x.includes(getAttrValType(b[n(785)]))&&t[n(525)]({filePath:a,loc:b[n(554)],reason:n(616)[n(484)](e,n(721))[n(484)](b[n(745)],"' ")+"value '"[n(484)](b[n(785)],n(534))[n(484)](getAttrValType(b[n(785)]),n(611))+n(526)[n(484)](JSON[n(684)](x[n(436)](", ")))})}function getAttrValType(e){var b,t=_0x21b1b0;try{return/^{(:+)}$/[t(560)](e)?t(702):(b=vm[t(608)](e),Object.prototype[t(406)][t(532)](b)[t(724)](8,-1)[t(573)]())}catch(e){return t(426)}}function isParentTagExist(e,b){for(var t=_0x21b1b0,a=e[t(665)];a&&a[t(452)][t(491)](/^q\-/,"")!==b;)a=a[t(665)];return!!a}function checkTagName(e,b,t){var a=_0x21b1b0,n=e.tagName,b=b[a(622)];tagRequiredParent[n]&&!isParentTagExist(e,e=tagRequiredParent[n])&&b.push({filePath:t,reason:"WRANING: Component <".concat(n,"> cant not find parent component: <")[a(484)](e,a(611))+"Please check it"})}function _0x3622(){var e=["color","WRANNING: Component <","bindsubmit","contain","setting","exit","day","buildLog","polygons","#ffffff","redirect","has:if","send-message-img","scroll-top","circular","aspect","selection-end","1704288fuPIvt","src","find","show-progress","subkey","unit-id","camelCaseToHyphened","indicator-class","for","polyline","easeInOut","bindkeyboardheightchange","device-position","bindclose","RTC","show-img-resize","without corresponding has:if.","2nmzuaj","required","none","version","show-location","attrs","min-cache","report-submit","rotate","flash","bindactiveend","year","bindstatuschange","poster","auto-pause-if-open-native","resourcePath","parentNode","fields","bindtouchstart","read-only","adjust-position","switchTab","disabled","9:16","range-key","enable-traffic","parent","isExpr","splice","vtouchmove","loading","reduce","bindtap","bindcallouttap","frame-size","stringify","max","bindbgmstart","style","scroll-flex","cover","small","scroll-duration","next","enable-camera","indexOf","waiting-image","placeholder","scale","adid","bindcancel","selection-start","show-value","object","hover-stop-propagation","950689Ubwidz","userProvince","region","mode","rootPath","scroll-with-animation","step","bindregionchange","node","auto-height","text","app-id","vslide-gesture-in-fullscreen","pop","combDiectives","decode","muted","> attribute '","bindscrolltoupper","interval","slice","object-fit","previous-margin","speaker","bindmarketap","upper-threshold","0px","> missing required attribute '","bindsuccess","low","bindfocus","has:for","nodes","720HvoYED","show-center-play-btn","boolean","show-confirm-bar","bindtransition","./utils","bindwating","horizontal","name","danmu-button","high","openSetting","out-of-bounds","indicator-color","bindcontroltap","month","bindblur","trial","unshift","bindstop","skew","page-gesture","easeOut","button-hover","userNickName","scale-value","show-menu-by-longpress","background-color-bottom","5exwMSY","Please check.","#000000","auto-focus","easeInOutCubic","delta","ATTR_NAME","placeholder-style","linear","session-from","multiSelector","indicator-style","plain","atuo-foucus","zh_CN","block-size","bindprogress","2032437CFtvtS","navigateBack","WRANNING: ","value","longitude","show-message-card","bind","form-type","submit","#09BB07","stroke-width","data","cursor-spacing","bindpickstart","front-color","type","enable-overlooking","done","cursor","./exp-utils","release","font-size","default-avatar","title","mini","send-message-title","toString","page-style","autoplay","active-mode","medium","bindchange","length","direction","background-color","report-submit-timeout","danmu-list","send-message-path","bindloadmetadata","childNodes","loop","existsSync","warn","has:elif","catch","includes","string","autopush","source path '","selector","ad-unit-id","bindload","bindinput","' value '","easeIn","contact","join","default-text","switch","show-img-size","date","show-play-btn","forEach","enable-scroll","bindfail","#EBEBEB","array","default","adunitid","_@template@_","scroll-y","getPhoneNumber","nodeName","rgba(0, 0, 0, .3)","#e9e9e9","enable-3D","number","getAbsPath","author","bindpickend","bindtimeupdate","front","filePath","args","without corresponding has:for.","app-parameter","friction","reset","fillCrop","min","mirror","', please change it.","easeInCubic","filter","bindended","border-radius","bindlinechange","url","navigator-hover","keys","14956770MyUhiM","bindnetstatus","textarea-placeholde","beauty","concat","latitude","current","block-color","skip-hidden-item-layout","confirm-hold","show-img-toolbar","replace","hover-start-time","userGender","checked","bindconfirm","placeholder-class","match","bindresize","swiper","lang","bindupdated","digit","duration","torch","enable-zoom","enable-play-gesture","tagName","scale-min","webp","develop","1539368TNFcQs","vertical","groupName","has:else","FHD","whiteness","trim","WARNING: Unexpected JavaScript keyword as attribute name: '","share","getUserInfo","83152IYFYlu","userCountry","max-bitrate","waiting-image-hash","push","Use below types ","has:for-items","animation","enable-sttellite","auto","bindscale","call","orientation","' is not allowed type: <","password","bindplay","bindready","easing-function","background-mute","enable-rotate","self","primary","easeOutCubic","bindlongtap","custom-item","active-color","' is not exist, ","canvas-id","confirm-type","fixed","send","bindstatechange","buttom","loc","userLanguage","extra-data","background-color-top","start","display-multiple-items","test","3:4","binderror","enum","WARNING: Unexpected attribute name: ","play-btn-postion"," used on element <","focus","auto-pause-if-navigate","navigate","3816617rJJYNk","time","bindinitdone","toLowerCase","bindcontact","background-text-style","inertia","space","target","capture-catch:","maxlength","mask-style","live","show-compass","url(","valuetype","launchApp","bindscroll","bindpoitap","root-font-size","size","feedback","initial-time","selected-color","v-if","bindfullscreenchange","bindscrolldone","hover-stay-time","bindchang","controls","ear","lazy-load","back","indicator-active-color","large","hover-class","bindpause","key","runInThisContext","has:key","show-scale",">, ","zh_TW","open-type","#1aad19"];return(_0x3622=function(){return e})()}function checkAttrValInAllowedList(e,b,t,a,n){var x=_0x21b1b0,_=getAttrValType(b[x(785)])===x(456)?Number(b[x(785)]):b[x(785)],a=(typeof _===x(426)&&(_=_[x(517)]()),a[x(622)]);t.includes(_)||a.push({filePath:n,loc:b[x(554)],reason:"WRANNING: Component <"[x(484)](e,x(721))[x(484)](b[x(745)],x(433))[x(484)](b.value,"' is not allowed,")+" Use below values \n "[x(484)](JSON[x(684)](t.join(", ")))})}function checkElseIf(e,b,t,a){var n,x,_=_0x21b1b0,r=!1;[_(514),_(423)][_(425)](b[_(745)])&&((x=e[_(665)][_(419)])&&1<x[_(412)]&&(n=x[_(694)](e),r=(x=x[_(724)](0,n)).length&&x.some(function(e){var t=_;return e[t(654)]&&e[t(654)][t(634)](function(e){var b=t;return e.name===b(594)})})),r||(t[_(622)][_(525)]({filePath:a,loc:b[_(554)],trigger:ATTR_NAME,reason:_(784)[_(484)](b[_(745)],"=")[_(484)](b[_(785)],_(566))[_(484)](e[_(507)],"> ")+_(648)}),e.attrs.splice(e[_(654)][_(694)](b),1)))}function checkAttrFor(e,b,t,a){var n,x,_=_0x21b1b0,r=attrsNeedCombine[b[_(745)]];r&&(x=(n=e[_(654)])[_(694)](b),!n.find(function(e){var b=_;return r[b(425)](e[b(745)])}))&&(t[_(622)].push({filePath:a,loc:b[_(554)],trigger:ATTR_NAME,reason:_(784)[_(484)](b[_(745)],"=").concat(b[_(785)]," used on element <").concat(e[_(507)],"> ")+_(464)}),/^has:key$/.test(b[_(745)]))&&e[_(654)][_(677)](x,1)}function checkAttrAllowed(e,b,t){var a=_0x21b1b0,n=[a(607)];return/^(v-|:)/[a(560)](e[a(745)])?(b[a(525)]({filePath:t,loc:e[a(554)],trigger:ATTR_NAME,reason:a(564).concat(e.name,", attribute can not start with 'v-' or ':'. ")}),!1):(n.includes(e.name)&&b[a(525)]({filePath:t,loc:e[a(554)],trigger:ATTR_NAME,reason:a(518)[a(484)](e.name,a(471))}),!0)}function checkTagAttrs(b,n,x,_){var r,l,i=_0x21b1b0,o=b[i(507)],u=n.buildLog,e=b[i(654)],m=tagAllowedAttrs[o],t=tagRequiredAttrs[o];m?(t.forEach(function(t){var a=i;e[a(634)](function(e){var b=a;return e.name===t[b(745)]})||u.push({filePath:_,loc:b.loc,reason:a(616)[a(484)](o,a(731)).concat(t[a(745)],"'")})}),r=[],e[i(442)](function(t){var e,a=i;checkAttrAllowed(t,u,_)&&r[a(525)](t),!expUtils[a(676)](t.value)&&!utils.isEmptyStr(t[a(785)])&&(/^data\-/.test(t[a(745)])||(t[a(745)]=utils[a(638)](t[a(745)])),e=m[a(634)](function(e){var b=a;return new RegExp("^".concat(e[b(745)]))[b(560)](t[b(745)])}))&&(e[a(563)]?checkAttrValInAllowedList(o,t,e[a(563)],n,_):checkAttrValType(o,t,u,_),checkSourcePath(b,t,u,x,_)),checkElseIf(b,t,n,_),checkAttrFor(b,t,n,_)}),b[i(654)]=r):e&&0<e[i(412)]&&(l=[],e.forEach(function(e,b,t){var a=i;checkAttrAllowed(e,u,_)&&l[a(525)](e)}),b.attrs=l)}function checkNode(e,b,t){var a=findIncldeTagSrcChain(e,t);checkTagName(e,b,a),checkTagAttrs(e,b,t,a)}initData(tagComponentMap),module.exports={checkTagAttrs:checkTagAttrs,checkTagName:checkTagName,isParentTagExist:isParentTagExist,checkNode:checkNode,findIncldeTagSrcChain:findIncldeTagSrcChain};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var _0x308a4b=_0x1671;function _0x557f(){var r=["3848190kvVEVV","exports","8eGYLqQ","649008XFEbLa","10bsbqJW","4300DTtNLt","33936rdQFiZ","19564655OpjQYu","undefined property , error: ","1731QCNshA","9645984ZLgVUm","warn","757438OEJCNb","312lMBVSA"];return(_0x557f=function(){return r})()}function _0x1671(r,n){var t=_0x557f();return(_0x1671=function(r,n){return t[r-=490]})(r,n)}(()=>{for(var r=_0x1671,n=_0x557f();;)try{if(664891==-parseInt(r(495))+parseInt(r(490))/2+-parseInt(r(501))/3*(-parseInt(r(497))/4)+parseInt(r(492))/5+parseInt(r(491))/6*(parseInt(r(498))/7)+parseInt(r(494))/8*(parseInt(r(502))/9)+parseInt(r(496))/10*(-parseInt(r(499))/11))break;n.push(n.shift())}catch(r){n.push(n.shift())}})(),module[_0x308a4b(493)]=function(r){var n=_0x308a4b;console[n(503)](n(500),r)};
|