var AppHeaderController=function(e,n){t=e,g=a=null;var t,r,i,a,g,o={init:function(e){e=e;var n=g=new t;a=e.find(".user_avatar"),n.registerTarget(r.USER_AVATAR,a),$filter=e.find(".ic_filter_pc"),n.registerTarget(r.IC_FILTER,$filter),(e=g).registerEventTrigger(r.USER_AVATAR,i.TAP),e.registerEventTrigger(r.IC_FILTER,i.TAP)},Targets:r={USER_AVATAR:"user_avatar",IC_FILTER:"ic_filter_pc"},Events:i={TAP:"tap"},on:function(e,n,t){g.on(e,n,t)},isLoggedIn:function(){return!!a.data("logged-in")}};return{init:function(e){o.init(e),(e=o).on(e.Targets.USER_AVATAR,e.Events.TAP,function(){n.globalVersionFallback(function(){o.isLoggedIn()?n.navigate("/me/"):showSecond()},function(){showSecond()})}),e.on(e.Targets.IC_FILTER,e.Events.TAP,function(){BJBridgeReceiver.triggerBridgeEvent("onEventCallback",{key:"filter"})})}}}(MultiTargetEventDispatcher,BJUtil);
//# sourceMappingURL=../../source_maps/common/app_header_controller.js.map
