(new Gallery).addStage("root",{header:{title:"蚂蚁抢票党"},init:function(){Filler.loop($("#rootMenuContainer"),[{id:"rootMenu12306",menuIconClass:"menuIcon12306",menuTitle:"抢火车票",menuIntro:"使用订票助手帮您在12306订票"},{id:"rootMenuFlight",menuIconClass:"menuIconFlight",menuTitle:"抢飞机票",menuIntro:"实时关注最低机票价格"},{id:"rootMenuCheap",menuIconClass:"menuIconCheap",menuTitle:"抢超值旅游",menuIntro:"出游省钱没商量"},{id:"rootMenuLottery",menuIconClass:"menuIconLottery",menuTitle:"还想抢什么",menuIntro:"说说你期待的新功能"},],{menuIcon:function(n,t){t.addClass(n.menuIconClass)}});$("#rootMenu12306").click(function(){Statistics.trigger(5);(new Gallery).goTo("intro12306",!0);return;var n});$("#rootMenuFlight").click(function(){Statistics.trigger(6);Storage.get("monitorBox")!==null&&JSON.parse(Storage.get("monitorBox")).length>0?(new Gallery).goTo("monitorBox",!0):(new Gallery).goTo("flightSetting",!0)});$("#rootMenuCheap").click(function(){Statistics.trigger(23);(new Gallery).goTo("bargainList")});$("#rootMenuLottery").click(function(){Statistics.trigger(24);chrome.tabs.create({url:config.urls.lottery})})},prepare:function(){Statistics.trigger(1)}})