fa-toolkit
Version:
a devtool for fast app
1 lines • 33.9 kB
JavaScript
;var _0x4662ab=_0x4aac;!function(){for(var a=_0x4aac,e=_0x3ca2();;)try{if(945808==-parseInt(a(246))*(parseInt(a(277))/2)+-parseInt(a(268))/3+-parseInt(a(382))/4+parseInt(a(165))/5*(parseInt(a(232))/6)+-parseInt(a(260))/7*(parseInt(a(307))/8)+-parseInt(a(143))/9+parseInt(a(337))/10*(parseInt(a(306))/11))break;e.push(e.shift())}catch(a){e.push(e.shift())}}();var expUtils=require("./exp-utils"),fs=require("fs"),utils=require(_0x4662ab(529)),path=require("path"),vm=require("vm"),ATTR_NAME="ATTR_NAME",RESERVED_TAGS=[_0x4662ab(328),_0x4662ab(252)],tagCommon={attrs:[{name:"id"},{name:_0x4662ab(325)},{name:_0x4662ab(252)},{name:"qa:for"},{name:_0x4662ab(276)},{name:_0x4662ab(330)},{name:"qa:else"},{name:_0x4662ab(310),combDiectives:["qa:for",_0x4662ab(211)]},{name:"qa:for-items"},{name:"qa:for-index",combDiectives:[_0x4662ab(387),_0x4662ab(211)]},{name:_0x4662ab(473),combDiectives:[_0x4662ab(387),_0x4662ab(211)]},{name:_0x4662ab(495)},{name:"bind"},{name:_0x4662ab(495)},{name:_0x4662ab(177)},{name:_0x4662ab(410)},{name:_0x4662ab(341)}]},tagComponentMap={map:{events:[_0x4662ab(492),_0x4662ab(181),_0x4662ab(350),"bindcontroltap",_0x4662ab(440),"bindupdated",_0x4662ab(238),_0x4662ab(421)],attrs:[{name:_0x4662ab(535),type:[_0x4662ab(139)],required:!0},{name:_0x4662ab(347),type:[_0x4662ab(139)],required:!0},{name:_0x4662ab(176),type:[_0x4662ab(139)],default:16,enum:[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]},{name:_0x4662ab(447),type:[_0x4662ab(362)]},{name:_0x4662ab(429),type:["array"]},{name:_0x4662ab(283),type:[_0x4662ab(362)]},{name:"circles",type:[_0x4662ab(362)]},{name:_0x4662ab(424),type:[_0x4662ab(362)]},{name:_0x4662ab(443),type:["array"]},{name:_0x4662ab(261),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(516),type:[_0x4662ab(362)]},{name:"subkey",type:[_0x4662ab(471)]},{name:_0x4662ab(354),type:[_0x4662ab(139)],default:1},{name:_0x4662ab(184),type:[_0x4662ab(139)],default:0},{name:_0x4662ab(269),type:["number"],default:0},{name:_0x4662ab(179),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(533),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(144),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(430),type:[_0x4662ab(414)],default:!1},{name:"enable-zoom",type:[_0x4662ab(414)],default:!0},{name:_0x4662ab(390),type:["boolean"],default:!1},{name:_0x4662ab(292),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(156),type:[_0x4662ab(414)],default:!0},{name:_0x4662ab(197),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(172),type:["object"]}]},video:{events:[_0x4662ab(314),_0x4662ab(401),_0x4662ab(454),_0x4662ab(234),_0x4662ab(285),"bindwating","binderror",_0x4662ab(340),_0x4662ab(262)],attrs:[{name:"src",type:["string"],checkPath:!0,required:!0},{name:_0x4662ab(227),type:["number"]},{name:_0x4662ab(424),type:[_0x4662ab(414)],default:!0},{name:_0x4662ab(291),type:[_0x4662ab(362)]},{name:_0x4662ab(291),type:[_0x4662ab(362)]},{name:_0x4662ab(498),type:[_0x4662ab(414)],default:!1},{name:"enable-danmu",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(216),type:["boolean"],default:!1},{name:_0x4662ab(324),type:["boolean"],default:!1},{name:_0x4662ab(508),type:[_0x4662ab(414)],default:!1},{name:"initial-time",type:[_0x4662ab(139)],default:0},{name:_0x4662ab(399),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(222),type:["string"],default:_0x4662ab(274),enum:[_0x4662ab(274),_0x4662ab(318),_0x4662ab(429)]},{name:_0x4662ab(210),type:[_0x4662ab(471)],checkPath:!0},{name:_0x4662ab(475),type:[_0x4662ab(139)],enum:[0,-90,90]},{name:"show-progress",type:[_0x4662ab(414)],default:!0},{name:"show-fullscreen-btn",type:[_0x4662ab(414)],default:!0},{name:"show-play-btn",type:[_0x4662ab(414)],default:!0},{name:_0x4662ab(536),type:["boolean"],default:!0},{name:"enable-prgress-gesture",type:[_0x4662ab(414)],default:!0},{name:_0x4662ab(489),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(477),type:["string"]},{name:_0x4662ab(478),type:[_0x4662ab(471)],default:"buttom",enum:[_0x4662ab(280),_0x4662ab(147)]},{name:_0x4662ab(368),type:["boolean"],default:!1},{name:_0x4662ab(481),type:["boolean"],default:!0},{name:_0x4662ab(281),type:[_0x4662ab(414)],default:!0},{name:_0x4662ab(158),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(294),type:[_0x4662ab(414)],default:!0},{name:"ad-unit-id",type:[_0x4662ab(471)]}]},"live-pusher":{events:["bindstatechange",_0x4662ab(385),_0x4662ab(205),_0x4662ab(305),_0x4662ab(510),"bindbgmcomplete"],attrs:[{name:_0x4662ab(303),type:[_0x4662ab(471)],checkPath:!0},{name:_0x4662ab(504),type:[_0x4662ab(471)],default:_0x4662ab(322),enum:[_0x4662ab(322),_0x4662ab(531)]},{name:"autopush",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(508),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(394),type:[_0x4662ab(414)],default:!0},{name:_0x4662ab(369),type:[_0x4662ab(414)],default:!0},{name:"orientation",type:[_0x4662ab(471)],default:"vertical",enum:[_0x4662ab(463),_0x4662ab(499)]},{name:_0x4662ab(371),type:[_0x4662ab(139)],default:0,enum:[0,1,2,3,4,5,6,7,8,9]},{name:_0x4662ab(226),type:["number"],default:0,enum:[0,1,2,3,4,5,6,7,8,9]},{name:_0x4662ab(187),type:[_0x4662ab(471)],default:_0x4662ab(370),enum:[_0x4662ab(370),_0x4662ab(140)]},{name:_0x4662ab(225),type:[_0x4662ab(139)],default:200},{name:"max-bitrate",type:[_0x4662ab(139)],default:1e3},{name:_0x4662ab(523),type:["string"],default:_0x4662ab(418),enum:[_0x4662ab(520),"high"]},{name:_0x4662ab(288),type:["string"]},{name:_0x4662ab(295),type:[_0x4662ab(471)]},{name:_0x4662ab(293),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(381),type:[_0x4662ab(471)],default:_0x4662ab(202),enum:["front",_0x4662ab(212)]},{name:_0x4662ab(433),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(166),type:[_0x4662ab(414)],default:!1}]},"live-player":{events:["bindstatechange","bindfullscreenchange",_0x4662ab(385)],attrs:[{name:_0x4662ab(422),type:[_0x4662ab(471)],checkPath:!0},{name:_0x4662ab(504),type:["string"],default:_0x4662ab(531),enum:["HD","FHD","SD",_0x4662ab(531)]},{name:_0x4662ab(216),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(508),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(487),type:["string"],default:_0x4662ab(463),enum:[_0x4662ab(463),_0x4662ab(499)]},{name:_0x4662ab(222),type:[_0x4662ab(471)],default:"contain",enum:["contain","fillCrop"]},{name:_0x4662ab(433),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(190),type:[_0x4662ab(139)],default:1},{name:_0x4662ab(190),type:[_0x4662ab(139)],default:3},{name:_0x4662ab(182),type:[_0x4662ab(471)],default:_0x4662ab(241),enum:[_0x4662ab(241),_0x4662ab(195)]},{name:"auto-pause-if-open-native",type:[_0x4662ab(414)],default:!0},{name:_0x4662ab(481),type:[_0x4662ab(414)],default:!0}]},camrea:{events:["bindstop",_0x4662ab(205),_0x4662ab(231),_0x4662ab(300)],attrs:[{name:_0x4662ab(504),type:[_0x4662ab(414)],default:_0x4662ab(348),enum:["front",_0x4662ab(212)]},{name:_0x4662ab(381),type:["string"],default:_0x4662ab(212)},{name:_0x4662ab(157),type:[_0x4662ab(471)],default:_0x4662ab(351),enum:[_0x4662ab(351),"on","off","torch"]},{name:_0x4662ab(493),type:[_0x4662ab(471)],default:"medium",enum:[_0x4662ab(242),_0x4662ab(173),_0x4662ab(155)]},{name:_0x4662ab(157),type:[_0x4662ab(471)],default:"auto"}]},view:{attrs:[{name:_0x4662ab(480),type:[_0x4662ab(471)],default:_0x4662ab(331)},{name:"hover-stop-propagation",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(363),type:[_0x4662ab(139)],default:50},{name:_0x4662ab(207),type:[_0x4662ab(139)],default:400}]},"scroll-view":{events:[_0x4662ab(265),"bindscrolltolower","bindscroll"],attrs:[{name:_0x4662ab(459),type:["boolean"],default:!1},{name:_0x4662ab(511),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(201),type:[_0x4662ab(139),_0x4662ab(471)],default:50},{name:_0x4662ab(196),type:["number","string"],default:50},{name:_0x4662ab(441),type:[_0x4662ab(139),_0x4662ab(471)]},{name:"scroll-left",type:[_0x4662ab(139),"string"]},{name:_0x4662ab(398),type:["string"]},{name:_0x4662ab(194),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(301),type:["boolean"],default:!1},{name:"scroll-anchoring",type:[_0x4662ab(414)],default:!1}]},"movable-area":{attrs:[{name:_0x4662ab(344),type:[_0x4662ab(414)],default:!1}]},"movable-view":{events:[_0x4662ab(442),_0x4662ab(515),"htouchmove","vtouchmove"],attrs:[{name:"direction",type:[_0x4662ab(471)],default:_0x4662ab(142)},{name:_0x4662ab(367),type:["boolean"],default:!1},{name:_0x4662ab(200),type:[_0x4662ab(414)],default:!1},{name:"x",type:["number"]},{name:"y",type:[_0x4662ab(139)]},{name:_0x4662ab(168),type:["number"],default:20},{name:_0x4662ab(490),type:[_0x4662ab(139)],default:2},{name:"disabled",type:["boolean"],default:!1},{name:_0x4662ab(176),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(514),type:[_0x4662ab(139)],default:.5},{name:_0x4662ab(329),type:[_0x4662ab(139)],default:10},{name:_0x4662ab(479),type:[_0x4662ab(139)],default:1},{name:"animation",type:[_0x4662ab(414)],default:!0}]},audio:{events:["binderror",_0x4662ab(314),"bindpause",_0x4662ab(234),_0x4662ab(454)],attrs:[{name:"id",type:[_0x4662ab(471)]},{name:_0x4662ab(422),type:[_0x4662ab(471)],checkPath:!0},{name:_0x4662ab(324),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(424),type:[_0x4662ab(414)],default:!1},{name:"poster",type:[_0x4662ab(471)],checkPath:!0},{name:_0x4662ab(419),type:[_0x4662ab(471)]},{name:_0x4662ab(286),type:[_0x4662ab(471)]}]},progress:{events:[_0x4662ab(254)],attrs:[{name:_0x4662ab(378),type:[_0x4662ab(139)]},{name:_0x4662ab(356),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(253),type:[_0x4662ab(139),"string"],default:0},{name:_0x4662ab(425),type:[_0x4662ab(139),_0x4662ab(471)],default:16},{name:_0x4662ab(188),type:[_0x4662ab(139),_0x4662ab(471)],default:6},{name:_0x4662ab(464),type:[_0x4662ab(471)],default:_0x4662ab(209)},{name:_0x4662ab(255),type:[_0x4662ab(471)],default:_0x4662ab(209)},{name:_0x4662ab(357),type:[_0x4662ab(471)],default:"#EBEBEB"},{name:_0x4662ab(161),type:["boolean"],default:!1},{name:"active-mode",type:[_0x4662ab(471)],default:"backwards"},{name:_0x4662ab(218),type:[_0x4662ab(139)],default:30}]},"rich-text":{attrs:[{name:"nodes",type:[_0x4662ab(362),_0x4662ab(471)],default:[]},{name:_0x4662ab(169),type:["string"]}]},text:{attrs:[{name:"autoplay",type:["boolean"],default:!1},{name:_0x4662ab(216),type:[_0x4662ab(471)]},{name:_0x4662ab(321),type:[_0x4662ab(414)],default:!1}]},swiper:{events:[_0x4662ab(437),"bindtransition","bindanimationfinish"],attrs:[{name:_0x4662ab(436),type:[_0x4662ab(414)],default:!1},{name:"indicator-color",type:["string"],default:_0x4662ab(148)},{name:"indicator-active-color",type:[_0x4662ab(471)],default:_0x4662ab(518)},{name:_0x4662ab(216),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(290),type:[_0x4662ab(139),_0x4662ab(471)],default:0},{name:_0x4662ab(308),type:[_0x4662ab(139),_0x4662ab(471)],default:5e3},{name:_0x4662ab(227),type:[_0x4662ab(139),"string"],default:500},{name:_0x4662ab(463),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(309),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(507),type:["string","number"],default:"0px"},{name:_0x4662ab(413),type:[_0x4662ab(471),_0x4662ab(139)],default:_0x4662ab(509)},{name:_0x4662ab(149),type:[_0x4662ab(139)],default:1},{name:_0x4662ab(532),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(153),type:[_0x4662ab(471)],default:"default",enum:[_0x4662ab(137),_0x4662ab(198),_0x4662ab(178),_0x4662ab(217),_0x4662ab(452)]}]},"swiper-item":{parent:"swiper",attrs:[{name:_0x4662ab(333)}]},image:{events:[_0x4662ab(205),_0x4662ab(237)],attrs:[{name:_0x4662ab(422),checkPath:!0},{name:_0x4662ab(504)},{name:"webp"},{name:_0x4662ab(448)},{name:"show-menu-by-longpress"}]},icon:{attrs:[{name:_0x4662ab(343),type:[_0x4662ab(471)]},{name:_0x4662ab(497),type:[_0x4662ab(139),_0x4662ab(471)],default:23},{name:_0x4662ab(464),type:[_0x4662ab(471)]}]},"cover-image":{attrs:[{name:"src",required:!0,checkPath:!0}],events:["bindload",_0x4662ab(205)]},"cover-view":{attrs:[{name:"scroll-top",type:[_0x4662ab(139),_0x4662ab(471)]}]},checkbox:{attrs:[{name:_0x4662ab(248),type:[_0x4662ab(471),"number"]},{name:_0x4662ab(247),type:["boolean"],default:!1},{name:_0x4662ab(404),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(464),type:["string"],default:_0x4662ab(209)}]},button:{events:[_0x4662ab(361),"bindcontact",_0x4662ab(389),_0x4662ab(205),_0x4662ab(396),_0x4662ab(386)],attrs:[{name:_0x4662ab(497),type:[_0x4662ab(471)],default:_0x4662ab(137),enum:[_0x4662ab(137),_0x4662ab(439)]},{name:_0x4662ab(343),type:[_0x4662ab(471)],default:_0x4662ab(137),enum:["primary","default",_0x4662ab(233)]},{name:"plain",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(247),type:[_0x4662ab(414)],default:!1},{name:"loading",type:[_0x4662ab(414)],default:!1},{name:"form-type",type:["string"],enum:[_0x4662ab(400),"reset"]},{name:"open-type",type:[_0x4662ab(471)],enum:["contact",_0x4662ab(213),_0x4662ab(461),_0x4662ab(412),_0x4662ab(379),_0x4662ab(174),"feedback"]},{name:"hover-class",type:[_0x4662ab(471)],default:_0x4662ab(159)},{name:_0x4662ab(494),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(363),type:["number"],default:20},{name:_0x4662ab(207),type:[_0x4662ab(139)],default:70},{name:_0x4662ab(388),type:[_0x4662ab(471)],default:"en",enum:["en","zh_CN","zh_TW"]},{name:_0x4662ab(506),type:[_0x4662ab(471)]},{name:_0x4662ab(221),type:[_0x4662ab(471)]},{name:_0x4662ab(519),type:["string"]},{name:_0x4662ab(267),type:[_0x4662ab(471)]},{name:_0x4662ab(431),type:[_0x4662ab(471)]},{name:_0x4662ab(420),type:[_0x4662ab(414)],default:!1}]},"checkbox-group":{events:["bindchange"],attrs:[]},editor:{events:["bindready","bindfocus",_0x4662ab(313),_0x4662ab(203),_0x4662ab(146)],attrs:[{name:_0x4662ab(503),type:["boolean"],default:!1},{name:"placeholder",type:[_0x4662ab(471),_0x4662ab(139)]},{name:_0x4662ab(534),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(373),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(296),type:["boolean"],default:!1}]},form:{events:[_0x4662ab(517),_0x4662ab(317)],attrs:[{name:_0x4662ab(465),type:["boolean"],default:!1},{name:_0x4662ab(180),type:[_0x4662ab(139)],default:0}]},input:{events:[_0x4662ab(203),_0x4662ab(186),_0x4662ab(313),_0x4662ab(375),_0x4662ab(374)],attrs:[{name:_0x4662ab(248),type:[_0x4662ab(471),_0x4662ab(139)]},{name:_0x4662ab(343),type:["string"],default:_0x4662ab(474),enum:[_0x4662ab(474),_0x4662ab(139),_0x4662ab(244),"digit"]},{name:_0x4662ab(251),type:["boolean"],default:!1},{name:_0x4662ab(230),type:[_0x4662ab(471),_0x4662ab(139)]},{name:_0x4662ab(409),type:[_0x4662ab(471)]},{name:_0x4662ab(491),type:[_0x4662ab(471)],default:_0x4662ab(208)},{name:_0x4662ab(247),type:[_0x4662ab(414)],default:!1},{name:"maxlength",type:[_0x4662ab(139)],default:140},{name:_0x4662ab(315),type:["number"],default:0},{name:_0x4662ab(332),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(271),type:["boolean"],default:!1},{name:_0x4662ab(289),type:[_0x4662ab(471)],default:_0x4662ab(525),enum:[_0x4662ab(151),"search",_0x4662ab(215),"go",_0x4662ab(525)]},{name:_0x4662ab(445),type:[_0x4662ab(414)],default:!1},{name:"cursor",type:["number"]},{name:_0x4662ab(175),type:[_0x4662ab(139)],default:-1},{name:"selection-end",type:[_0x4662ab(139)],default:-1},{name:"adjust-position",type:[_0x4662ab(414)],default:!0},{name:"hold-keyboard",type:[_0x4662ab(414)],default:!1}]},label:{attrs:[{name:_0x4662ab(189),type:["string"]}]},picker:{events:[_0x4662ab(229),_0x4662ab(442),_0x4662ab(496)],attrs:[{name:"mode",type:[_0x4662ab(471)],default:_0x4662ab(502),enum:[_0x4662ab(502),_0x4662ab(192),"time",_0x4662ab(458),_0x4662ab(336)]},{name:_0x4662ab(247),type:["boolean"],default:!1},{name:"range",type:[_0x4662ab(362)]},{name:_0x4662ab(183),type:[_0x4662ab(414)],string:!1},{name:_0x4662ab(248),type:[_0x4662ab(139),_0x4662ab(362),_0x4662ab(471)]},{name:_0x4662ab(391),type:[_0x4662ab(471),"number"]},{name:_0x4662ab(167),type:[_0x4662ab(471),_0x4662ab(139)]},{name:_0x4662ab(364),type:[_0x4662ab(471)],default:_0x4662ab(243),enum:[_0x4662ab(279),_0x4662ab(266),_0x4662ab(243)]},{name:"custom-item",type:[_0x4662ab(471)]}]},"picker-view":{events:["bindchange",_0x4662ab(456),_0x4662ab(455)],attrs:[{name:_0x4662ab(248),type:[_0x4662ab(362)],default:"selector"},{name:_0x4662ab(240),type:[_0x4662ab(471)]},{name:"indicator-class",type:[_0x4662ab(471)]},{name:"mask-style",type:[_0x4662ab(471)]},{name:"mask-class",type:["string"]}]},"picker-view-column":{attrs:[]},radio:{attrs:[{name:_0x4662ab(248),type:[_0x4662ab(471),"number"]},{name:_0x4662ab(464),type:["string"],default:_0x4662ab(209)},{name:"checked",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(247),type:["boolean"],default:!1}]},"radio-group":{events:[_0x4662ab(442)],attrs:[]},slider:{events:[_0x4662ab(442),_0x4662ab(466)],attrs:[{name:_0x4662ab(236),type:[_0x4662ab(139)],default:0},{name:_0x4662ab(353),type:["number"],default:100},{name:_0x4662ab(408),type:[_0x4662ab(139)],default:1},{name:_0x4662ab(247),type:[_0x4662ab(414)],default:!1},{name:"value",type:[_0x4662ab(139)],default:0},{name:"color",type:[_0x4662ab(471)],default:_0x4662ab(462)},{name:"selected-color",type:[_0x4662ab(471)],default:_0x4662ab(171)},{name:_0x4662ab(255),type:[_0x4662ab(471)],default:"#1aad19"},{name:_0x4662ab(406),type:[_0x4662ab(471)],default:_0x4662ab(462)},{name:"block-size",type:[_0x4662ab(139)],default:28},{name:"block-color",type:["string"],default:_0x4662ab(450)},{name:"show-value",type:["boolean"],default:!1}]},switch:{events:["bindchange"],attrs:[{name:"checked",type:[_0x4662ab(414)],default:!1},{name:"disabled",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(343),type:[_0x4662ab(471)],default:_0x4662ab(304)},{name:"color",type:[_0x4662ab(471)],default:_0x4662ab(524)}]},textarea:{events:["bindfocus",_0x4662ab(313),_0x4662ab(145),"bindinput",_0x4662ab(375),_0x4662ab(374)],attrs:[{name:"value",type:["string"]},{name:"placeholder",type:[_0x4662ab(471),_0x4662ab(139)]},{name:_0x4662ab(409),type:[_0x4662ab(471)]},{name:_0x4662ab(491),type:[_0x4662ab(471)],default:_0x4662ab(460)},{name:_0x4662ab(247),type:["boolean"],default:!1},{name:"maxlength",type:[_0x4662ab(139)],default:140},{name:_0x4662ab(332),type:[_0x4662ab(414)],default:!1},{name:"focus",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(376),type:[_0x4662ab(414)],default:!1},{name:"fixed",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(315),type:[_0x4662ab(139)],default:0},{name:_0x4662ab(377),type:[_0x4662ab(139)],default:-1},{name:"show-confirm-bar",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(175),type:["number"],default:-1},{name:_0x4662ab(403),type:[_0x4662ab(139)],default:-1},{name:_0x4662ab(185),type:[_0x4662ab(414)],default:!0},{name:"hold-keyboard",type:[_0x4662ab(414)],default:!1}]},"functional-page-navigator":{events:[_0x4662ab(415),"bindfail","bindcancel"],attrs:[{name:_0x4662ab(359),type:[_0x4662ab(471)],default:_0x4662ab(472)},{name:_0x4662ab(419),type:[_0x4662ab(471)]},{name:_0x4662ab(342),type:[_0x4662ab(392)]}]},navigator:{events:[_0x4662ab(415),_0x4662ab(423),_0x4662ab(513)],attrs:[{name:"target",type:["string"],default:_0x4662ab(272)},{name:_0x4662ab(303),type:["string"]},{name:_0x4662ab(358),type:[_0x4662ab(471)],default:_0x4662ab(316),enum:[_0x4662ab(316),_0x4662ab(393),_0x4662ab(397),_0x4662ab(528),_0x4662ab(352),_0x4662ab(346)]},{name:"delta",type:[_0x4662ab(139)],default:1},{name:_0x4662ab(488),type:["string"]},{name:"path",type:[_0x4662ab(471)]},{name:"extra-data",type:[_0x4662ab(392)]},{name:"version",type:[_0x4662ab(471)],default:_0x4662ab(472),enum:[_0x4662ab(270),_0x4662ab(405),_0x4662ab(472)]},{name:"hover-class",type:[_0x4662ab(471)],default:_0x4662ab(275)},{name:_0x4662ab(494),type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(363),type:[_0x4662ab(139)],default:50},{name:_0x4662ab(207),type:["number"],default:600}]},"open-data":{events:["binderror"],attrs:[{name:_0x4662ab(343),type:[_0x4662ab(471)],enum:[_0x4662ab(263),_0x4662ab(453),_0x4662ab(162),_0x4662ab(345),_0x4662ab(484),_0x4662ab(468),"userCountry","userLanguage"]},{name:_0x4662ab(170),type:[_0x4662ab(471)]},{name:_0x4662ab(388),type:[_0x4662ab(471)],default:"en",enum:["en","zh_CN",_0x4662ab(273)]},{name:_0x4662ab(467),type:["string"]},{name:_0x4662ab(512),type:[_0x4662ab(471)]}]},"official-account":{events:["bindload","binderror"],attrs:[]},ad:{events:[_0x4662ab(237),_0x4662ab(205),_0x4662ab(249)],attrs:[{name:"unit-id",type:[_0x4662ab(471)],required:!0},{name:_0x4662ab(486),type:[_0x4662ab(139)]}]},"web-view":{events:[_0x4662ab(521),_0x4662ab(237),_0x4662ab(205)],attrs:[{name:"src",type:[_0x4662ab(471)],checkPath:!0}]},canvas:{events:[_0x4662ab(434),_0x4662ab(457),_0x4662ab(287),_0x4662ab(451),_0x4662ab(366),"binderror"],attrs:[{name:_0x4662ab(343),type:[_0x4662ab(471)]},{name:_0x4662ab(160),type:[_0x4662ab(471)]},{name:_0x4662ab(365),type:["boolean"],default:!1}]},"navigation-bar":{events:[],attrs:[{name:_0x4662ab(477),type:[_0x4662ab(471)]},{name:"loading",type:[_0x4662ab(414)],default:!1},{name:_0x4662ab(250),type:[_0x4662ab(471)]},{name:_0x4662ab(406),type:[_0x4662ab(471)]},{name:"color-animation-duration",type:[_0x4662ab(139)],default:0},{name:_0x4662ab(444),type:[_0x4662ab(471)],default:""},{name:_0x4662ab(150),type:[_0x4662ab(471)],default:_0x4662ab(198),enum:[_0x4662ab(198),"easeIn","easeOut",_0x4662ab(349)]}]},"page-meta":{events:["bindresize","bindscroll","bindscrolldone"],attrs:[{name:_0x4662ab(282),type:[_0x4662ab(471)]},{name:_0x4662ab(406),type:[_0x4662ab(471)]},{name:"background-color-top",type:["string"]},{name:"background-color-bottom",type:[_0x4662ab(471)]},{name:_0x4662ab(441),type:[_0x4662ab(471)],default:""},{name:_0x4662ab(427),type:["number"],default:300},{name:_0x4662ab(444),type:[_0x4662ab(471)],default:""},{name:"root-font-size",type:[_0x4662ab(471)],default:""}]},"ad-button":{events:[_0x4662ab(492)],attrs:[{name:_0x4662ab(355),type:["string"],required:!0},{name:_0x4662ab(228),type:[_0x4662ab(471)],required:!0},{name:_0x4662ab(383),type:["number"],default:0},{name:"open-type",type:[_0x4662ab(139)],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=_0x4662ab;tagCommon.attrs.filter(function(a){return a[_0x4aac(485)]})[x(338)](function(a){var e=x;return attrsNeedCombine[a[e(419)]]=a[e(485)]}),Object.keys(b)[x(338)](function(a){var e=x,t=b[a],n=t[e(220)];t[e(426)]&&t[e(426)][e(199)]&&(tagRequiredParent[a]=t[e(426)]),tagRequiredAttrs[a]=n[e(152)](function(a){return a[e(259)]}),tagAllowedAttrs[a]=n[e(302)](tagCommon[e(220)]),tagAttrsAllowedType[a]=n[e(152)](function(a){return a.type}),tagAttrsNeedCheckPath[a]=n[e(152)](function(a){return a[e(505)]})[e(435)](function(a){return a[e(419)]})})}function getRelativePath(a,e){var t=_0x4662ab;return path.relative(a,e)[t(223)](/\\/g,"/")}function findIncldeTagSrcChain(a,e){for(var t,n=_0x4662ab,b=[],x=a[n(191)],_=e.rootPath,r=e.resourcePath;x;)x[n(235)][n(223)](/^q\-/,"")!==n(219)||(t=x[n(220)][n(152)](function(a){return a.name===n(422)})[0])&&b.unshift(t[n(248)]),x=x[n(191)];return b[n(199)]&&(r=b[n(312)](function(a,e){e=utils[n(500)](e,r,_).filePath;return r=e},"")),/\.qxml$/[n(299)](r)?r:""[n(302)](r,n(284))}function findIncludeSrcPath(a,e){var t=_0x4662ab,n=e,e=a,a=e;return/^\//[t(299)](n)?{srcPath:e}:((e=e.split(/\/|\\/))[t(449)](),e=e.join("/"),{sourcePath:a,filePath:path[t(482)](e,n).replace(/\\/g,"/")})}function checkSourcePath(a,e,t,n,b){var x,_=_0x4662ab;/^(https?:)?\/\//[_(299)](e[_(248)])||(x=e[_(248)],a=a[_(483)],tagAttrsNeedCheckPath[a][_(264)](e.name)&&fileExistHandle(a,e,t,n,b),e.name!==_(252)||x[_(264)](_(372))||checkStyleUrlPath(a,e,t,n,b))}function fileExistHandle(a,e,t,n,b){var x=_0x4662ab;if(/^(https?:)?\/\//[x(299)](e[x(248)]))return e[x(248)];var _=e.value,r=n[x(522)],l=n[x(206)],n=findIncludeSrcPath(b,_),l=utils[x(500)](_,l,r)[x(395)].replace(/\s/g,""),l=n&&n[x(395)]?n[x(395)]:l;return fs[x(327)](l)?(l=getRelativePath(r,l),e.value="/".concat(l)):/^\/[^\/]+|(\.?\.\/)/[x(299)](_)&&t.push({filePath:b,loc:e[x(323)]||{start:0,end:0},reason:"WRANNING: Component <"[x(302)](a,x(402))[x(302)](e.name,"' ")+x(256).concat(e[x(248)],"' is not exist, ")+x(417)}),e[x(248)]}function checkStyleUrlPath(n,a,b,x,_){var r=_0x4662ab;URL_MATCH_REG_EXP[r(299)](a[r(248)])&&(a[r(248)]=a.value[r(223)](URL_MATCH_REG_EXP,function(a){var e=r,t=a[e(223)](/(\\")|(\\')/g,"")[e(326)](URL_CONTENT_REG_EXP);return t?(t=fileExistHandle(n,{value:t[1],name:"style"},b,x,_),e(360)[e(302)](t,")")):a}))}function checkAttrValType(a,t,e,n){var b=_0x4662ab,x=tagAttrsAllowedType[a].find(function(a){var e=_0x4aac;return a[e(419)]===t[e(419)]});x&&(!(x=x[b(343)])||(x=x.filter(function(a){return a!==b(414)}))[b(199)]&&!x.includes(getAttrValType(t[b(248)]))&&e[b(278)]({filePath:n,loc:t[b(323)],reason:b(204)[b(302)](a,b(402))[b(302)](t[b(419)],"' ")+b(141)[b(302)](t[b(248)],b(239))[b(302)](getAttrValType(t[b(248)]),">, ")+b(320).concat(JSON[b(319)](x[b(482)](", ")))}))}function getAttrValType(a){var e=_0x4662ab;try{if(/^{(:+)}$/[e(299)](a))return e(392);var t=vm.runInThisContext(a);return Object[e(470)][e(311)][e(214)](t)[e(224)](8,-1)[e(257)]()}catch(a){return e(471)}}function isRevservedTag(a){return RESERVED_TAGS[_0x4662ab(264)](a)}function isParentTagExist(a,e){for(var t=_0x4662ab,n=a.parentNode;n&&n.nodeName[t(223)](/^q\-/,"")!==e;)n=n[t(191)];return!!n}function _0x4aac(a,e){var t=_0x3ca2();return(_0x4aac=function(a,e){return t[a-=137]})(a,e)}function checkTagName(a,e,t){var n=_0x4662ab,b=a.tagName,e=e[n(339)];isRevservedTag(b)&&e[n(278)]({filePath:t,loc:a[n(323)],reason:n(138).concat(b,"> is reserved, Please change it. ")}),tagRequiredParent[b]&&(isParentTagExist(a,a=tagRequiredParent[b])||e.push({filePath:t,reason:n(335)[n(302)](b,n(334))[n(302)](a,n(526))+n(438)}))}function _0x3ca2(){var a=["hover-start-time","fields","disable-scroll","bindlongtap","inertia","enable-play-gesture","atuo-foucus","9:16","beauty","rpx","show-img-toolbar","bindkeyboardheightchange","bindconfirm","auto-height","cursor","percent","launchApp","without corresponding qa:if.","device-position","85916QXtiSj","valuetype","enum","bindnetstatus","bindlaunchapp","qa:for","lang","bindgetphonenumber","enable-sttellite","start","object","redirect","enable-camera","filePath","bindopensetting","switchTab","scroll-into-view","page-gesture","submit","bindpause","> attribute '","selection-end","checked","trial","background-color","indexOf","step","placeholder-style","catch","trim","getUserInfo","next-margin","boolean","bindsuccess","isEmptyStr","Please check.","high","name","show-message-card","bindpoitap","src","bindfail","controls","font-size","parent","scroll-duration","childNodes","cover","enable-overlooking","app-parameter","WRANNING: ","background-mute","bindtouchstart","map","indicator-dots","bindchang","Please check it","mini","bindcallouttap","scroll-top","bindchange","include-points","page-style","confirm-hold","WARNING: Unexpected attribute name: ","marker","lazy-load","pop","#ffffff","bindtouchcancel","easeInOutCubic","userNickName","bindended","bindpickend","bindpickstart","bindtouchmove","date","scroll-x","textarea-placeholde","getPhoneNumber","#e9e9e9","vertical","color","report-submit","bindchanging","default-text","userProvince","isExpr","prototype","string","release","qa:for-item","text","direction","', please change it.","title","play-btn-postion","scale-value","hover-class","auto-pause-if-navigate","join","tagName","userCity","combDiectives","ad-intervals","orientation","app-id","show-mute-btn","friction","placeholder-class","bindtap","frame-size","hover-stop-propagation","data","bindcolumnchange","size","danmu-button","horizontal","getAbsPath","find","selector","read-only","mode","checkPath","session-from","previous-margin","muted","0px","bindbgmprogress","scroll-y","default-avatar","bindcomplete","scale-min","bindscale","polygons","bindsubmit","#000000","send-message-path","low","bindmessage","rootPath","audio-quality","#04BE02","done",">, ","without corresponding qa:for.","reLaunch","./utils","qa:else","RTC","skip-hidden-item-layout","enable-3D","show-img-size","longitude","show-center-play-btn","default","WRANING: Unexpected component name <","number","3:4","value '","none","7628895ELboDN","show-scale","bindlinechange","bindstatuschange","center","rgba(0, 0, 0, .3)","display-multiple-items","color-animation-timing-func","send","filter","easing-function","camelCaseToHyphened","large","enable-scroll","flash","vslide-gesture","button-hover","canvas-id","active","userAvatarUrl","splice","key","425870EBSxtp","mirror","end","damping","space","open-gid","#1aad19","setting","medium","openSetting","selection-start","scale","data-","easeInCubic","show-compass","report-submit-timeout","bindmarketap","sound-mode","range-key","rotate","adjust-position","bindfocus","aspect","stroke-width","for","min-cache","parentNode","multiSelector","> missing required attribute '","scroll-with-animation","ear","lower-threshold","enable-rotate","linear","length","out-of-bounds","upper-threshold","front","bindinput","WRANNING: Component <","binderror","resourcePath","hover-stay-time","input-placeholder","#09BB07","poster","qa:for-items","back","share","call","next","autoplay","easeOutCubic","durations","_@template@_","attrs","send-message-title","object-fit","replace","slice","mini-bitrate","whiteness","duration","adunitid","bindcancel","placeholder","bindinitdone","18CIUjGQ","warn","bindtimeupdate","nodeName","min","bindload","bindregionchange","' is not allowed type: <","indicator-style","speaker","small","day","idcard","' value '","2cuOnHk","disabled","value","bindclose","front-color","password","style","border-radius","bindactiveend","active-color","source path '","toLowerCase"," used on element <","required","126525QxISOh","show-location","bindloadmetadata","groupName","includes","bindscrolltoupper","month","send-message-img","486291zaNDOf","skew","develop","focus","self","zh_TW","contain","navigator-hover","qa:if","40646sgPZiU","push","year","buttom","auto-pause-if-open-native","background-text-style","polyline",".qxml","bindfullscreenchange","author","bindtouchend","waiting-image","confirm-type","current","danmu-list","enable-traffic","zoom","vslide-gesture-in-fullscreen","waiting-image-hash","show-img-resize","some","' is not allowed,","test","bindscancode","scroll-flex","concat","url","switch","bindbgmstart","12177209txrCpO","200yvKxbm","interval","circular","qa:key","toString","reduce","bindblur","bindplay","cursor-spacing","navigate","bindreset","fill","stringify","Use below types ","decode","live","loc","loop","class","match","existsSync","script","scale-max","qa:elif","node","auto-focus","item-id","> cant not find parent component: <","WRANING: Component <","region","20kyxmpg","forEach","buildLog","bindprogress","capture-catch:","args","type","scale-area","userGender","exit","latitude","normal","easeInOut","bindlabeltap","auto","navigateBack","max","layer-style","adid","show-info","backgroundColor","open-type","version","url(","bindgetuserinfo","array"];return(_0x3ca2=function(){return a})()}function checkAttrValInAllowedList(a,e,t,n,b){var x=_0x4662ab,_="number"===getAttrValType(e[x(248)])?Number(e.value):e[x(248)];typeof _===x(471)&&(_=_[x(411)]());n=n[x(339)];t[x(264)](_)||n.push({filePath:b,loc:e[x(323)],reason:x(204)[x(302)](a,x(402)).concat(e[x(419)],x(245))[x(302)](e[x(248)],x(298))+" Use below values \n "[x(302)](JSON[x(319)](t[x(482)](", ")))})}function checkElseIf(a,e,t,n){var b,x,_=_0x4662ab,r=!1;[_(530),_(330)][_(264)](e[_(419)])&&((b=a.parentNode[_(428)])&&1<b[_(199)]&&(x=b[_(407)](a),r=(x=b[_(224)](0,x))[_(199)]&&x[_(297)](function(a){var e=_;return a[e(220)]&&a[e(220)][e(501)](function(a){return"v-if"===a[e(419)]})})),r||(t[_(339)][_(278)]({filePath:n,loc:e.loc,trigger:ATTR_NAME,reason:_(432)[_(302)](e[_(419)],"=")[_(302)](e[_(248)],_(258))[_(302)](a[_(483)],"> ")+_(380)}),a[_(220)].splice(a[_(220)][_(407)](e),1)))}function checkAttrFor(a,e,t,n){var b,x,_=_0x4662ab,r=attrsNeedCombine[e[_(419)]];r&&(x=(b=a[_(220)]).indexOf(e),b[_(501)](function(a){return r.includes(a[_(419)])})||(t[_(339)][_(278)]({filePath:n,loc:e.loc,trigger:ATTR_NAME,reason:_(432)[_(302)](e[_(419)],"=")[_(302)](e.value," used on element <")[_(302)](a[_(483)],"> ")+_(527)}),/^qa:key$/.test(e.name)&&a.attrs[_(163)](x,1)))}function checkAttrAllowed(a,e,t){var n=_0x4662ab,b=[n(164)];return/^(v-|:)/[n(299)](a.name)?(e[n(278)]({filePath:t,loc:a[n(323)],trigger:ATTR_NAME,reason:n(446).concat(a.name,", attribute can not start with 'v-' or ':'. ")}),!1):(b[n(264)](a.name)&&e[n(278)]({filePath:t,loc:a[n(323)],trigger:ATTR_NAME,reason:"ERROR: Unexpected JavaScript keyword as attribute name: '"[n(302)](a[n(419)],n(476))}),!0)}function checkTagAttrs(b,e,x,_){var r,l,i=_0x4662ab,o=b.tagName,u=e[i(339)],a=b.attrs,m=tagAllowedAttrs[o],t=tagRequiredAttrs[o];m?(t[i(338)](function(e){var t=i;a[t(501)](function(a){return a.name===e[t(419)]})||u[t(278)]({filePath:_,loc:b.loc,reason:"WRANNING: Component <"[t(302)](o,t(193))[t(302)](e[t(419)],"'")})}),r=[],a.forEach(function(t){var a,n=i;checkAttrAllowed(t,u,_)&&r[n(278)](t),expUtils[n(469)](t[n(248)])||utils[n(416)](t.value)||(/^data\-/[n(299)](t[n(419)])||(t[n(419)]=utils[n(154)](t[n(419)])),(a=m[n(501)](function(a){var e=n;return new RegExp("^".concat(a[e(419)]))[e(299)](t[e(419)])}))&&(a[n(384)]?checkAttrValInAllowedList(o,t,a[n(384)],e,_):checkAttrValType(o,t,u,_),checkSourcePath(b,t,u,x,_))),checkElseIf(b,t,e,_),checkAttrFor(b,t,e,_)}),b[i(220)]=r):a&&0<a[i(199)]&&(l=[],a[i(338)](function(a,e,t){var n=i;checkAttrAllowed(a,u,_)&&l[n(278)](a)}),b[i(220)]=l)}function checkNode(a,e,t){var n=findIncldeTagSrcChain(a,t);checkTagName(a,e,n),checkTagAttrs(a,e,t,n)}initData(tagComponentMap),module.exports={checkTagAttrs:checkTagAttrs,checkTagName:checkTagName,isRevservedTag:isRevservedTag,isParentTagExist:isParentTagExist,checkNode:checkNode,findIncldeTagSrcChain:findIncldeTagSrcChain};