if(nexacro.Component){var _pComponent=nexacro.Component.prototype;_pComponent._resetScrollPos=function(_a,_b,_c,_d,_e,_f){if(this._is_frame){return;}if(!this._is_popup_control&&this.parent&&this.parent!=this){this.parent._resetScrollPos(this,_b,_c,_d,_e,_f);}};_pComponent._getSameParent=function(_a){if(!_a){return;}var _b=this.parent;var _c=0;var _d=[];while(_b){_c=nexacro._indexOf(_a,_b);_d.push(_b);if(_c> -1||_b._is_window||(_b._is_frame&&(_b._window_type==1||_b._window_type==4))){return [_d,_c];}_b=_b.parent;}};_pComponent._setLastFocus=function(_a){if(_a&&!_a._is_popup_control){if(_a&&nexacro._enableaccessibility&&nexacro._accessibilitytype==5){_a._setAccessibilityNotifyEvent();}if(this==_a){this._last_focused=null;return;}var _b=this;while(_b&&_b._is_form){_b._last_focused=_a;_a=_b;_b=_b.parent;}}};_pComponent._getTabOrderFirst=function(){return null;};_pComponent._setCurFocusPathsByCurPos=function(_a,_b){var _c=_b?_b:this._getRootWindow();var _d=[];var _e=_a.parent;_c.clearCurrentFocusPaths();if(_c.frame==_a){return;}while(_e){_d.push(_e);if(_e==_c.frame||(_e._is_frame&&(_e._window_type==1||_e._window_type==4))){break;}_e=_e.parent;}for(var _f=_d.length;_f>0;_f-- ){_c.addCurrentFocusPaths(_d[_f-1]);}};_pComponent._getRecalcCanvasXY=function(_a,_b,_c){_b+=this._adjust_left-this._scroll_left||0;_c+=this._adjust_top-this._scroll_top||0;var _d=this._getWindow();var _e=this.currentstyle;var _f=_d.findComponent(_a);if(_f!=this){if(_e&&_e.padding){_b+=_e.padding.left;_c+=_e.padding.top;}}return [_b,_c];};_pComponent._getClientXY=function(_a,_b){var _c=0,_d=0,_e=0,_f=0,_g=this.currentstyle;if(_g){if(_g.border){_d=_g.border._top_width;_c=_g.border._left_width||_g.border._top_width;}}var _h=_a-_c;var _i=_b-_d;return [_h,_i];};_pComponent._isParentdefaultprevented=function(_a,_b){var _c=_a.parent;while(_c){if(!_c._getFromComponent){return false;}var _d=_c._getFromComponent(_c);var _e=_d["on"+_b];if(!_e||(_e&&!_e.defaultprevented)){_c=_c.parent;if(_d instanceof nexacro.MainFrame){return false;}}else{return true;}}return false;};_pComponent._setfocusing_comp=null;_pComponent._on_focus=function(_a,_b,_c,_d,_e,_f){if(!this._is_alive||!this.visible||!this._isEnable()){return;}var _g=this._getRootWindow();if(_a){var _h=_g.getCurrentFocusPaths();var _i=this;while(_i&&_i._is_nc_control){_i=_i.parent;}if(!_i){return;}var _j= -1;if(_h){_j=nexacro._indexOf(_h,_i);}if(_j> -1){if(_j==_h.length-1){if(this._getTabOrderFirst()==null){return;}}else{if(!(this instanceof nexacro.PopupDiv)){return;}}}if(_i._isFocusAcceptable()==false){return;}var _k=this;var _e=this._getRootComponent(_i);var _l=null;if(_h&&_h.length){_l=_i._getSameParent(_h);}if(_l){var _m=_l[1];var _n=_h[_h.length-1];var _o=this._getRootComponent(_n);var _p=_h.slice(_m+1);_p=_p.reverse();var _q=_l[0];if(_q&&(_q.length>0)){var _r;for(var _s=0,_t=_q.length;_s<_t;_s++ ){_r=_q[_s];if(_r&&_r._isFocusAcceptable()==false){return;}}}var _u;if(_q&&(_q.length>1)){var _r,_v;for(var _s=0,_t=_q.length;_s<_t;_s++ ){_r=_q[_s];if(_r&&_r.components){_r._last_focused=(_v?_v:_i);}_v=_r;}}else{if(_i.parent&&_i.parent.components){_i.parent._last_focused=_i;}}if(_p&&_p.length>0){for(var _s=0,_t=_p.length;_s<_t;_s++ ){_u=_p[_s];if(_u&&_u._is_alive&&!_u._is_killfocusing){_u._is_killfocusing=true;var _w=_g.getCurrentFocusPaths().slice(0);_g._removeFromCurrentFocusPath(_u,false,_e,_k);if(_u.enableevent){_g._setfocusing_comp=_e;var _x=_g.getCurrentFocusPaths().slice(0);_u.on_fire_onkillfocus(_e,_k);var _y=_g.getCurrentFocusPaths();var _z=(_x.length!=_y.length);if(!_z){for(var _aa=0;_aa<_x.length;_aa++ ){if(_x[_aa]!=_y[_aa]||(_w.length==_x.length&&_w[_aa]==_x[_aa])||(_w.length!=_x.length&&_w[_aa]!=_x[_aa])){_z=true;break;}}}if(_z){_u._is_killfocusing=false;return;}}_u._is_killfocusing=false;}}}if(_q&&(_q.length>1)){var _ab=_q[_q.length-2];_i._setCurFocusPathsByCurPos(_ab,_g);_ab._on_focus(false,_b,_o,_n,_e,_k);}else{_i._setCurFocusPathsByCurPos(_i,_g);_i._on_focus(false,_b,_o,_n,_e,_k);}}else{_i._setCurFocusPathsByCurPos(_i,_g);_i._on_focus(false,_b,_c,_d);}}else{var _ac=this._getLastFocused();if(!_ac||(_ac&&(!_ac.visible||!_ac.enable))){var _ad=nexacro._enableaccessibility;_ac=this._getTabOrderFirst(_ad);}if(_ac&&_ac.visible&&!this._block_inner_focus){if(_g._is_active_window!==false){if(this._pseudo=="pushed"){this._stat_change("focus","pushed");}else{this._stat_change("focus","focused");}}{var _ae=_g.getCurrentFocusPaths();var _x=null;if(_ae){_x=_ae.slice(0);}if(!this._is_comp_focus){this.on_fire_onsetfocus(_c,_d);}if(_ae){var _y=_g.getCurrentFocusPaths();var _z=(_x.length!=_y.length);if(!_z){for(var _aa=0;_aa<_x.length;_aa++ ){if(_x[_aa]!=_y[_aa]){_z=true;break;}}}if(_z){return;}}}this._setLastFocus(_ac);_g.addCurrentFocusPaths(this);_ac._on_focus(false,_b,_c,_d,_e,_f);}else{var _af;if(_f&&this!=_f){var _ag=_f;while(_ag&&!(_ag._is_window)){if(_ag==this){_af=true;break;}_ag=_ag.parent;}}if(_b=="lbuttondown"&&_af==true){this._stat_change("focus","mouseover");}else{if(_g._is_active_window!==false){if(this._pseudo=="pushed"){this._stat_change("focus","pushed");}else{this._stat_change("focus","focused");}}}{var _ae=_g.getCurrentFocusPaths();var _x=null;if(_ae){_x=_ae.slice(0);}this.on_fire_onsetfocus(_c,_d);if(_ae){var _y=_g.getCurrentFocusPaths();var _z=(_x.length!=_y.length);if(!_z){for(var _aa=0;_aa<_x.length;_aa++ ){if(_x[_aa]!=_y[_aa]){_z=true;break;}}}if(_z){return;}}}if(nexacro._enableaccessibility){this._setAccessibilityStatFocus(_b);}this._setLastFocus(this);_g.addCurrentFocusPaths(this);this.on_apply_custom_setfocus(_b);if(_af){var _ah=null;_ag=_f;while(_ag&&this!=_ag){if(_ag instanceof nexacro.Form){break;}_ah=_ag;_ag=_ag.parent;}if(_ah&&!_ah._is_application){_ah._on_focus(false,_b,_c,_d,_e,_f);}}}}};_pComponent._on_activate=function(){if(!this._is_alive){return;}if(!this._isSelected()){this._stat_change("focus","normal");}};_pComponent._on_deactivate=function(){if(!this._is_alive){return;}if(!this._isSelected()){this._stat_change("notfocus","normal");}if(this._on_killfocus){this._on_killfocus(null,null);}};_pComponent._on_click=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(!this._is_alive){return;}if(this.visible&&this._isEnable()&&this.enableevent){var _j=this._getClientXY(_f,_g);this.on_fire_onclick(_b,_c,_d,_e,_h,_i,_f,_g,_j[0],_j[1],this,this);this.on_click_basic_action(_a,_b,_c,_d,_e,_f,_g,_h,_i);}};_pComponent.on_click_basic_action=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){return;};_pComponent._on_dblclick=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(!this._is_alive){return;}var _j=this._getFromComponent(this);if(!_j.onlbuttonup||(_j.onlbuttonup&&!_j.onlbuttonup.defaultprevented)){if(this.visible&&this._isEnable()&&this.enableevent){var _k=this._getClientXY(_f,_g);this.on_fire_ondblclick(_b,_c,_d,_e,_h,_i,_f,_g,_k[0],_k[1],this,this);}}};_pComponent._focus_refer_comp=null;_pComponent._getFromComponent=function(_a){var _b=_a;if(_a._is_subcontrol){_b=this._getRootComponent(_a);}return _b;};_pComponent._on_lbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){application._skipDragEventAfterMsgBox=false;var _m=this._on_bubble_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,true);var _n=this._getFromComponent(this);if(!_n.onlbuttondown||(_n.onlbuttondown&&!_n.onlbuttondown.defaultprevented)){this.on_lbuttondown_default_action(_a,this._focus_refer_comp,_f,_g);_m=this._on_bubble_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,false);}return _m;};_pComponent._on_touch_lbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){application._skipDragEventAfterMsgBox=false;var _n;if(_m){_n=this._on_bubble_touch_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,true,_m);}var _o=this._getFromComponent(this);if(!_o.onlbuttondown||(_o.onlbuttondown&&!_o.onlbuttondown.defaultprevented)){if(_m){this.on_lbuttondown_default_action(_a,this._focus_refer_comp,_f,_g);}_n=this._on_bubble_touch_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,false,_m);}return _n;};_pComponent._on_bubble_touch_lbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(!this._is_alive){return;}var _o=this._getWindow();if(_j===undefined){var _p;if(!_l){_p=this;_l=this._focus_refer_comp=this;if(!_l._is_reference_control){_l=this._focus_refer_comp=this._getReferenceComponent(_l);}}if(this.visible&&this._isEnable()){if(_n){var _q=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onlbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_q[0],_q[1],this,_l);}else{_j=this.on_fire_sys_onlbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_q[0],_q[1],this,_l);}}if(_j===false){_j=undefined;}var _r;if(_n){if(this._is_track){_r=false;}if(this._is_repeat){_r=true;}}else{_r=this.on_lbuttondown_basic_action(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m);}var _r=this.on_lbuttondown_basic_action(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m);if(_r){return;}else if(_r===false){_j=_r;}}if((!this.onlbuttondown||(this.onlbuttondown&&!this.onlbuttondown.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _s=this._getRecalcCanvasXY(_a,_f,_g);_f=_s[0];_g=_s[1];if(this._is_subcontrol){return this.parent._on_bubble_touch_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,null,_l,_m,_n);}else{if(!_n){nexacro._setDragInfo(_o,_a,_o._curWindowX,_o._curWindowY,null,null);}return this.parent._on_bubble_touch_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l,_m,_n);}}}else{if(this.visible&&this._isEnable()&&_n){var _q=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onlbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_q[0],_q[1],_k,_l);}else{_j=this.on_fire_sys_onlbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_q[0],_q[1],_k,_l);}}if((!this.onlbuttondown||(this.onlbuttondown&&!this.onlbuttondown.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _s=this._getRecalcCanvasXY(_a,_f,_g);_f=_s[0];_g=_s[1];return this.parent._on_bubble_touch_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,_k,_l,_m,_n);}}};_pComponent._on_bubble_lbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(!this._is_alive){return;}var _n=this._getWindow();if(_j===undefined){var _o;if(!_l){_o=this;_l=this._focus_refer_comp=this;if(!_l._is_reference_control){_l=this._focus_refer_comp=this._getReferenceComponent(_l);}}if(this.visible&&this._isEnable()){var _p=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onlbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_p[0],_p[1],this,_l);}else{_j=this.on_fire_sys_onlbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_p[0],_p[1],this,_l);}if(_j===false){_j=undefined;}if(_m){var _q=this.on_lbuttondown_basic_action(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m);if(_q){return;}}}if((!this.onlbuttondown||(this.onlbuttondown&&!this.onlbuttondown.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _r=this._getRecalcCanvasXY(_a,_f,_g);_f=_r[0];_g=_r[1];if(this._is_subcontrol){return this.parent._on_bubble_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,null,_l,_m);}else{nexacro._setDragInfo(_n,_a,_n._curWindowX,_n._curWindowY,null,null);return this.parent._on_bubble_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l,_m);}}}else{if(this.visible&&this._isEnable()){var _p=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onlbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_p[0],_p[1],_k,_l);}else{_j=this.on_fire_sys_onlbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_p[0],_p[1],_k,_l);}}if((!this.onlbuttondown||(this.onlbuttondown&&!this.onlbuttondown.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _r=this._getRecalcCanvasXY(_a,_f,_g);_f=_r[0];_g=_r[1];return this.parent._on_bubble_lbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,_k,_l,_m);}}};_pComponent.on_lbuttondown_basic_action=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){var _n=this._getWindow();if(_l===this){if(this._apply_pushed_pseudo){this._stat_change("push","pushed");this._is_pushed_area=true;this._is_push=true;}}if(this._is_track){nexacro._setTrackInfo(_n,this,_n._curWindowX,_n._curWindowY);return false;}if(this._is_repeat){nexacro._setRepeatInfo(this,_n,_l,_n._curWindowX,_n._curWindowY,_f,_g);return true;}};_pComponent.on_lbuttondown_default_action=function(_a,_b,_c,_d){var _e=this._getWindow();if(this.visible&&this._isEnable()&&_b){_b._on_focus(true,"lbuttondown");}else{var _f=_e._findComponentForEvent(_a,0,0);if(_f&&_f[0]){_f[0]._on_focus(true,"lbuttondown");}}};_pComponent._on_rbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){var _m=this._on_bubble_rbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,true);var _n=this._getFromComponent(this);if(_n&&(!_n.onrbuttondown||(_n.onrbuttondown&&!_n.onrbuttondown.defaultprevented))){this.on_rbuttondown_default_action();_m=this._on_bubble_rbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,false);}return _m;};_pComponent._on_bubble_rbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(!this._is_alive){return;}if(_j===undefined){if(!_l){_l=this;if(!_l._is_reference_control){_l=this._getReferenceComponent(_l);}}if(this.visible&&this._isEnable()){var _n=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onrbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],this,_l);}else{_j=this.on_fire_sys_onrbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],this,_l);}if(_j===false){_j=undefined;}}if((!this.onrbuttondown||(this.onrbuttondown&&!this.onrbuttondown.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _o=this._getRecalcCanvasXY(_a,_f,_g);_f=_o[0];_g=_o[1];if(this._is_subcontrol){return this.parent._on_bubble_rbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,null,_l,_m);}else{return this.parent._on_bubble_rbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l,_m);}}}else{if(this.visible&&this._isEnable()){var _n=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onrbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],_k,_l);}else{_j=this.on_fire_sys_onrbuttondown(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],_k,_l);}}if((!this.onrbuttondown||(this.onrbuttondown&&!this.onrbuttondown.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _o=this._getRecalcCanvasXY(_a,_f,_g);_f=_o[0];_g=_o[1];return this.parent._on_bubble_rbuttondown(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,_k,_l,_m);}}};_pComponent.on_rbuttondown_default_action=function(){};_pComponent._lbuttonup_first_comp=null;_pComponent._lbuttonup_event_bubbles=undefined;_pComponent._on_lbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){var _n=this._on_bubble_lbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,true);var _o=this._getFromComponent(this);if(_o&&(!_o.onlbuttonup||(_o.onlbuttonup&&!_o.onlbuttonup.defaultprevented))){this.on_lbuttonup_default_action();_n=this._on_bubble_lbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false);}return _n;};_pComponent._on_touch_lbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){var _n;var _o=this._getFromComponent(this);if(_o&&(!_o.onlbuttonup||(_o.onlbuttonup&&!_o.onlbuttonup.defaultprevented))){_n=this._on_bubble_touch_lbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false);}return _n;};_pComponent._on_bubble_touch_lbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(!this._is_alive){return;}if(_j===undefined){this._lbuttonup_event_bubbles=undefined;if(!_l){this._lbuttonup_first_comp=this;_l=this;if(!_l._is_reference_control){_l=this._getReferenceComponent(_l);}}this.on_lbuttonup_basic_action();if((!this.onlbuttonup||(this.onlbuttonup&&!this.onlbuttonup.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _o=this._getRecalcCanvasXY(_a,_f,_g);_f=_o[0];_g=_o[1];if(this._is_subcontrol){return this.parent._on_bubble_touch_lbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,null,_l,_m,_n);}else{return this.parent._on_bubble_touch_lbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l,_m,_n);}}}else{this._lbuttonup_event_bubbles=_j;if((!this.onlbuttonup||(this.onlbuttonup&&!this.onlbuttonup.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _o=this._getRecalcCanvasXY(_a,_f,_g);_f=_o[0];_g=_o[1];return this.parent._on_bubble_touch_lbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,_k,_l,_m,_n);}}};_pComponent._on_bubble_lbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(!this._is_alive){return;}if(_j===undefined){this._lbuttonup_event_bubbles=undefined;if(!_l){this._lbuttonup_first_comp=this;_l=this;if(!_l._is_reference_control){_l=this._getReferenceComponent(_l);}}if(_n){this.on_lbuttonup_basic_action();}if(this.visible&&this._isEnable()){var _o=this._getClientXY(_f,_g);if(_n){_j=this.on_fire_user_onlbuttonup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,_m);}else{_j=this.on_fire_sys_onlbuttonup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,_m);}if(_j===false){_j=undefined;}}if((!this.onlbuttonup||(this.onlbuttonup&&!this.onlbuttonup.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _p=this._getRecalcCanvasXY(_a,_f,_g);_f=_p[0];_g=_p[1];if(this._is_subcontrol){return this.parent._on_bubble_lbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,null,_l,_m,_n);}else{return this.parent._on_bubble_lbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l,_m,_n);}}}else{this._lbuttonup_event_bubbles=_j;if(this.visible&&this._isEnable()){var _o=this._getClientXY(_f,_g);if(_n){_j=this.on_fire_user_onlbuttonup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],_k,_l,_m);}else{_j=this.on_fire_sys_onlbuttonup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],_k,_l,_m);}}if((!this.onlbuttonup||(this.onlbuttonup&&!this.onlbuttonup.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _p=this._getRecalcCanvasXY(_a,_f,_g);_f=_p[0];_g=_p[1];return this.parent._on_bubble_lbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,_k,_l,_m,_n);}}};_pComponent.on_lbuttonup_basic_action=function(){if(this._apply_pushed_pseudo){this._is_push=false;if(this._is_pushed_area){if(nexacro.isTouchInteraction){this._stat_change("notpush","normal");}else{this._stat_change("notpush","mouseover");}this._is_pushed_area=false;}}};_pComponent.on_lbuttonup_default_action=function(){};_pComponent._on_rbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){var _n=this._on_bubble_rbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,true);var _o=this._getFromComponent(this);if(_o&&(!_o.onrbuttonup||(_o.onrbuttonup&&!_o.onrbuttonup.defaultprevented))){this.on_rbuttonup_default_action();_n=this._on_bubble_rbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false);}return _n;};_pComponent._on_bubble_rbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(!this._is_alive){return;}if(_j===undefined){if(!_l){_l=this;if(!_l._is_reference_control){_l=this._getReferenceComponent(_l);}}if(this.visible&&this._isEnable()){var _o=this._getClientXY(_f,_g);if(_n){_j=this.on_fire_user_onrbuttonup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,_m);}else{_j=this.on_fire_sys_onrbuttonup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,_m);}if(_j===false){_j=undefined;}}if((!this.onrbuttonup||(this.onrbuttonup&&!this.onrbuttonup.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _p=this._getRecalcCanvasXY(_a,_f,_g);_f=_p[0];_g=_p[1];if(this._is_subcontrol){return this.parent._on_bubble_rbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,null,_l,_m,_n);}else{return this.parent._on_bubble_rbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l,_m,_n);}}}else{if(this.visible&&this._isEnable()){var _o=this._getClientXY(_f,_g);if(_n){_j=this.on_fire_user_onrbuttonup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],_k,_l,_m);}else{_j=this.on_fire_sys_onrbuttonup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],_k,_l,_m);}}if((!this.onrbuttonup||(this.onrbuttonup&&!this.onrbuttonup.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _p=this._getRecalcCanvasXY(_a,_f,_g);_f=_p[0];_g=_p[1];return this.parent._on_bubble_rbuttonup(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,_k,_l,_m,_n);}}};_pComponent.on_rbuttonup_default_action=function(){};_pComponent._on_mouseup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){var _n=this._on_bubble_mouseup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,true);if(!this._is_alive){return _n;}var _o=this._getFromComponent(this);if(_o&&(!_o.onmouseup||(_o.onmouseup&&!_o.onmouseup.defaultprevented))){this.on_mouseup_default_action();_n=this._on_bubble_mouseup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false);}return _n;};_pComponent._on_bubble_mouseup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(!this._is_alive){return;}if(_j===undefined){if(!_l){_l=this;if(!_l._is_reference_control){_l=this._getReferenceComponent(_l);}}if(this.visible&&this._isEnable()){var _o=this._getClientXY(_f,_g);if(_n){_j=this.on_fire_user_onmouseup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,_m);}else{_j=this.on_fire_sys_onmouseup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,_m);}if(_j===false){_j=undefined;}}if((!this.onmouseup||(this.onmouseup&&!this.onmouseup.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _p=this._getRecalcCanvasXY(_a,_f,_g);_f=_p[0];_g=_p[1];if(this._is_subcontrol){return this.parent._on_bubble_mouseup(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,null,_l,_m,_n);}else{return this.parent._on_bubble_mouseup(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l,_m,_n);}}}else{if(this.visible&&this._isEnable()){var _o=this._getClientXY(_f,_g);if(_n){_j=this.on_fire_user_onmouseup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],_k,_l,_m);}else{_j=this.on_fire_sys_onmouseup(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],_k,_l,_m);}}if((!this.onmouseup||(this.onmouseup&&!this.onmouseup.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _p=this._getRecalcCanvasXY(_a,_f,_g);_f=_p[0];_g=_p[1];return this.parent._on_bubble_mouseup(_a,_b,_c,_d,_e,_f,_g,false,_k,_l,_m,_n);}}};_pComponent.on_mouseup_default_action=function(){};_pComponent._on_mousedown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){var _m=this._on_bubble_mousedown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,true);if(!this._is_alive){return _m;}var _n=this._getFromComponent(this);if(!_n.onmousedown||(_n.onmousedown&&!_n.onmousedown.defaultprevented)){this.on_mousedown_default_action();_m=this._on_bubble_mousedown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,false);}return _m;};_pComponent._on_bubble_mousedown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(!this._is_alive){return;}if(_j===undefined){if(!_l){_l=this;if(!_l._is_reference_control){_l=this._getReferenceComponent(_l);}}if(this.visible&&this._isEnable()){var _n=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onmousedown(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],this,_l);}else{_j=this.on_fire_sys_onmousedown(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],this,_l);}if(_j===false){_j=undefined;}}if((!this.onmousedown||(this.onmousedown&&!this.onmousedown.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _o=this._getRecalcCanvasXY(_a,_f,_g);_f=_o[0];_g=_o[1];if(this._is_subcontrol){return this.parent._on_bubble_mousedown(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,null,_l,_m);}else{return this.parent._on_bubble_mousedown(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l,_m);}}}else{if(this.visible&&this._isEnable()){var _n=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onmousedown(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],_k,_l);}else{_j=this.on_fire_sys_onmousedown(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],_k,_l);}}if((!this.onmousedown||(this.onmousedown&&!this.onmousedown.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _o=this._getRecalcCanvasXY(_a,_f,_g);_f=_o[0];_g=_o[1];return this.parent._on_bubble_mousedown(_a,_b,_c,_d,_e,_f,_g,false,_k,_l,_m);}}};_pComponent.on_mousedown_default_action=function(){};_pComponent._on_mousemove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(application._current_popups.length>0){var _o=this._getWindow();var _p=_o.findComponent(_a,0,0);if(_p&&_p[0]){var _q=application._current_popups[0];if(_q._track_capture&&!_q._contains(_p[0])){return;}}}if(!this._is_created){return;}var _m=this._on_bubble_mousemove(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,true);if(!this._is_alive){return _m;}var _n=this._getFromComponent(this);if(!_n.onmousemove||(_n.onmousemove&&!_n.onmousemove.defaultprevented)){this.on_mousemove_default_action();_m=this._on_bubble_mousemove(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,false);}return _m;};_pComponent._on_bubble_mousemove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(!this._is_alive){return;}if(_j===undefined){if(!_l){_l=this;if(!_l._is_reference_control){_l=this._getReferenceComponent(_l);}}if(this.visible&&this._isEnable()){if(_m){this.on_mousemove_basic_action();}var _n=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onmousemove(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],this,_l);}else{_j=this.on_fire_sys_onmousemove(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],this,_l);}if(_j===false){_j=undefined;}}if(this.parent){this.parent._overedobj=this;}if((!this.onmousemove||(this.onmousemove&&!this.onmousemove.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _o=this._getRecalcCanvasXY(_a,_f,_g);_f=_o[0];_g=_o[1];if(this._is_subcontrol){return this.parent._on_bubble_mousemove(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,null,_l,_m);}else{return this.parent._on_bubble_mousemove(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l,_m);}}}else{if(this.visible&&this._isEnable()){if(_m){this.on_mousemove_basic_action();}var _n=this._getClientXY(_f,_g);if(_m){_j=this.on_fire_user_onmousemove(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],_k,_l);}else{_j=this.on_fire_sys_onmousemove(_b,_c,_d,_e,_h,_i,_f,_g,_n[0],_n[1],_k,_l);}}if(this.parent){this.parent._overedobj=this;}if((!this.onmousemove||(this.onmousemove&&!this.onmousemove.stoppropagation))&&(_j!==true)&&this.parent&&!this.parent._is_application){var _o=this._getRecalcCanvasXY(_a,_f,_g);_f=_o[0];_g=_o[1];return this.parent._on_bubble_mousemove(_a,_b,_c,_d,_e,_f,_g,false,_k,_l,_m);}}};_pComponent.on_mousemove_basic_action=function(){if(this._apply_pushed_pseudo&&this._is_push){this._stat_change("push","pushed");this._is_pushed_area=true;}else{if(!nexacro.isTouchInteraction){this._stat_change("","mouseover");}}};_pComponent.on_mousemove_default_action=function(){};_pComponent._mouseenter_event_bubbles=undefined;_pComponent._on_mouseenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(application._current_popups.length>0){var _p=this._getWindow();var _q=_p.findComponent(_a,0,0);if(_q&&_q[0]){var _r=application._current_popups[0];if(_r._track_capture&&!_r._contains(_q[0])){return;}}}if(!this._is_created){return;}var _n=this._on_bubble_mouseenter(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,true);if(!this._is_alive){return _n;}var _o=this._getFromComponent(this);if(!_o.onmouseenter||(_o.onmouseenter&&!_o.onmouseenter.defaultprevented)){this.on_mouseenter_default_action();_n=this._on_bubble_mouseenter(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false);}return _n;};_pComponent._on_bubble_mouseenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(!this._is_alive){return;}if(_k===undefined){var _o;var _p=this._is_subcontrol?true:false;if(!_m){_o=this;_m=this;if(!_m._is_reference_control){_m=this._getReferenceComponent(_m);}}if(this.visible&&this._isEnable()){if(_p){if(_b&&this._contains(_b)){return true;}if(_o==this){var _q=this._getClientXY(_g,_h);if(_n){_k=this.on_fire_user_onmouseenter(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],this,_m);}else{_k=this.on_fire_sys_onmouseenter(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],this,_m);}if(_k===false){_k=undefined;}}}else{_b=this._getRootComponent(_b);if(_b&&this._contains(_b)){return true;}var _q=this._getClientXY(_g,_h);if(_n){_k=this.on_fire_user_onmouseenter(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],this,_m);}else{_k=this.on_fire_sys_onmouseenter(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],this,_m);}}}if((!this.onmouseenter||(this.onmouseenter&&!this.onmouseenter.stoppropagation))&&(_k!==true)&&this.parent&&!this.parent._is_application){var _r=this._getRecalcCanvasXY(_a,_g,_h);_g=_r[0];_h=_r[1];if(_p){return this.parent._on_bubble_mouseenter(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,null,_m,_n);}else{return this.parent._on_bubble_mouseenter(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,false,this,_m,_n);}}}else{if(this.visible&&this._isEnable()){var _q=this._getClientXY(_g,_h);if(_n){_k=this.on_fire_user_onmouseenter(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],_l,_m);}else{_k=this.on_fire_sys_onmouseenter(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],_l,_m);}}if((!this.onmouseenter||(this.onmouseenter&&!this.onmouseenter.stoppropagation))&&(_k!==true)&&this.parent&&!this.parent._is_application){var _r=this._getRecalcCanvasXY(_a,_g,_h);_g=_r[0];_h=_r[1];return this.parent._on_bubble_mouseenter(_a,_b,_c,_d,_e,_f,_g,_h,false,_i,_j,_l,_m,_n);}}};_pComponent.on_mouseenter_default_action=function(){};_pComponent._on_mouseleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(application._current_popups.length>0){var _p=this._getWindow();var _q=_p.findComponent(_a,0,0);if(_q&&_q[0]){var _r=application._current_popups[0];if(_r._track_capture&&!_r._contains(_q[0])){return;}}}var _n=this._on_bubble_mouseleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,true);if(!this._is_alive){return _n;}var _o=this._getFromComponent(this);if(!_o.onmouseleave||(_o.onmouseleave&&!_o.onmouseleave.defaultprevented)){this.on_mouseleave_default_action(_b);_n=this._on_bubble_mouseleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false);}return _n;};_pComponent._on_bubble_mouseleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(!this._is_alive){return;}if(_k===undefined){var _o;var _p=this._is_subcontrol?true:false;if(!_m){_o=this;_m=this;if(!_m._is_reference_control){_m=this._getReferenceComponent(_m);}}if(this.visible&&this._isEnable()){this.on_mouseleave_basic_action(_p);if(_p){if(_b&&this._contains(_b)){return true;}if(_o==this){var _q=this._getClientXY(_g,_h);if(_n){_k=this.on_fire_user_onmouseleave(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],this,_m);}else{_k=this.on_fire_sys_onmouseleave(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],this,_m);}if(_k===false){_k=undefined;}}}else{_b=this._getRootComponent(_b);if(_b&&this._contains(_b)){return true;}var _q=this._getClientXY(_g,_h);if(_n){_k=this.on_fire_user_onmouseleave(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],this,_m);}else{_k=this.on_fire_sys_onmouseleave(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],this,_m);}}}if((!this.onmouseleave||(this.onmouseleave&&!this.onmouseleave.stoppropagation))&&(_k!==true)&&this.parent&&!this.parent._is_application){var _r=this._getRecalcCanvasXY(_a,_g,_h);_g=_r[0];_h=_r[1];if(_p){return this.parent._on_bubble_mouseleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,null,_m,_n);}else{return this.parent._on_bubble_mouseleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,false,this,_m,_n);}}}else{if(this.visible&&this._isEnable()){var _q=this._getClientXY(_g,_h);if(_n){_k=this.on_fire_user_onmouseleave(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],_l,_m);}else{_k=this.on_fire_sys_onmouseleave(_c,_d,_e,_f,_i,_j,_g,_h,_q[0],_q[1],_l,_m);}}if((!this.onmouseleave||(this.onmouseleave&&!this.onmouseleave.stoppropagation))&&(_k!==true)&&this.parent&&!this.parent._is_application){var _r=this._getRecalcCanvasXY(_a,_g,_h);_g=_r[0];_h=_r[1];return this.parent._on_bubble_mouseleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,false,_l,_m,_n);}}};_pComponent._isSelected=function(){return this._selected;};_pComponent.on_mouseleave_basic_action=function(_a){if(_a){if(this._apply_pushed_pseudo&&this._is_push){this._stat_change("notpush","normal");this._is_pushed_area=false;}else if(!this._isSelected()){var _b=this;var _c=true;while(_b){if(_b._is_alive==false){_c=false;break;}_b=_b.parent;}if(_c){this._stat_change("","normal");}}}else{if(this._apply_pushed_pseudo&&this._is_push){this._stat_change("notpush","normal");this._is_pushed_area=false;}else if(this._isSelected()){this._stat_change("select","selected");}else{this._stat_change("","normal");}}};_pComponent.on_mouseleave_default_action=function(_a){};_pComponent._on_mousewheel=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o){return this._on_bubble_mousewheel(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o);};_pComponent._on_bubble_mousewheel=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o){if(!this._is_alive){return;}if(_l===undefined){if(!_n){_n=this;if(!_n._is_reference_control){_n=this._getReferenceComponent(_n);}}if(this.visible&&this._isEnable()){var _p=this._getClientXY(_h,_i);_l=this.on_fire_user_onmousewheel(_b,_c,_d,_e,_f,_g,_j,_k,_h,_i,_p[0],_p[1],this,_n);var _q=this._getFromComponent(this);if(_l!==true){if(!_q.onmousewheel||(_q.onmousewheel&&!_q.onmousewheel.defaultprevented)){var _r=this.on_fire_sys_onmousewheel(_b,_c,_d,_e,_f,_g,_j,_k,_h,_i,_p[0],_p[1],this,_n);if(_r){return false;}if(this.vscrollbar&&this.vscrollbar.enable&&this.vscrollbar.visible){var _s=this.vscrollbar;var _t=_s._pos;this._setVScrollDefaultAction(_s,_c);var _u=_s._pos;if(_t!=_u){return false;}}if(this.hscrollbar&&this.hscrollbar.enable&&this.hscrollbar.visible){var _v=this.hscrollbar;var _w=_v._pos;this._setHScrollDefaultAction(_v,_b);var _x=_v._pos;if(_w!=_x){return false;}}}if(_l===false){_l=undefined;}if(!_q.onmousewheel||(_q.onmousewheel&&!_q.onmousewheel.stoppropagation)){if(this.parent&&!this.parent._is_application){var _y=this._getRecalcCanvasXY(_a,_h,_i);_h=_y[0];_i=_y[1];if(this._is_subcontrol){return this.parent._on_bubble_mousewheel(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,null,_n,_o);}else{return this.parent._on_bubble_mousewheel(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,false,this,_n,_o);}}}}}}else{if(this.visible&&this._isEnable()){var _p=this._getClientXY(_h,_i);_l=this.on_fire_user_onmousewheel(_b,_c,_d,_e,_f,_g,_j,_k,_h,_i,_p[0],_p[0],_m,_n);var _q=this._getFromComponent(this);if(_l!==true){if(!_q.onmousewheel||(_q.onmousewheel&&!_q.onmousewheel.defaultprevented)){var _r=this.on_fire_sys_onmousewheel(_b,_c,_d,_e,_f,_g,_j,_k,_h,_i,_p[0],_p[0],_m,_n);if(_r){return false;}if(this.vscrollbar&&this.vscrollbar.enable&&this.vscrollbar.visible){var _s=this.vscrollbar;var _t=_s._pos;this._setVScrollDefaultAction(_s,_c);var _u=_s._pos;if(_t!=_u){return false;}}if(nexacro.OS=="Mac OS"){if(this.hscrollbar&&this.hscrollbar.enable){var _v=this.hscrollbar;var _w=_v._pos;this._setHScrollDefaultAction(_v,_b);var _x=_v._pos;if(_w!=_x){return false;}}}}if(!_q.onmousewheel||(_q.onmousewheel&&!_q.onmousewheel.stoppropagation)){if(this.parent&&!this.parent._is_application){var _y=this._getRecalcCanvasXY(_a,_h,_i);_h=_y[0];_i=_y[1];return this.parent._on_bubble_mousewheel(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,false,_m,_n,_o);}}}}}};_pComponent._setVScrollDefaultAction=function(_a,_b){_a._setPos(_a.pos-_b,"mousewheel");};_pComponent._setHScrollDefaultAction=function(_a,_b){_a._setPos(_a.pos-_b,"mousewheel");};_pComponent.on_mousewheel_default_action=function(){};_pComponent._init_drag_info=function(){nexacro._cur_drag_info=null;};_pComponent._on_drag=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(application._skipDragEventAfterMsgBox){this._init_drag_info();return false;}var _m=this._on_bubble_drag(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);var _n=this._getFromComponent(this);if(_n&&(_n.ondrag&&_n.ondrag.defaultprevented)){this._init_drag_info();}return _m;};_pComponent._on_bubble_drag=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(!this._is_alive){return;}if(_j===undefined){var _m;if(!_l){_l=this;if(!_l._is_reference_control){_l=this._getReferenceComponent(_l);}}var _n=this._getFromComponent(this);if(this._is_subcontrol){_m=true;}else{_m=false;var _o=this._getClientXY(_f,_g);_j=this.on_fire_user_ondrag(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,_l);if(!_j||_j[0]!==true){if(!this.ondrag||(_n.ondrag&&!_n.ondrag.defaultprevented)){this.on_fire_sys_ondrag(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,_l);}}}if((!_j||_j[0]!==true)){if((!_n.ondrag||(_n.ondrag&&!_n.ondrag.stoppropagation))&&this.parent&&!this.parent._is_application){var _p=this._getRecalcCanvasXY(_a,_f,_g);_f=_p[0];_g=_p[1];if(_m){return this.parent._on_bubble_drag(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,this,_l);}else{return this.parent._on_bubble_drag(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,this,_l);}}}return _j;}else{if((!_j||_j[0]!==true)&&this.parent&&!this.parent._is_application){var _o=this._getClientXY(_f,_g);_j=this.on_fire_user_ondrag(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,this);if(!_j||_j[0]!==true){var _n=this._getFromComponent(this);if(!_n.ondrag||(_n.ondrag&&!_n.ondrag.defaultprevented)){this.on_fire_sys_ondrag(_b,_c,_d,_e,_h,_i,_f,_g,_o[0],_o[1],this,_l,this);}if((!_n.ondrag||(_n.ondrag&&!_n.ondrag.stoppropagation))&&this.parent&&!this.parent._is_application){var _p=this._getRecalcCanvasXY(_a,_f,_g);_f=_p[0];_g=_p[1];return this.parent._on_bubble_drag(_a,_b,_c,_d,_e,_f,_g,_h,_i,false,_k,_l);}}}return _j;}};_pComponent.on_drag_default_action=function(){};_pComponent._on_drop=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){var _q=_b?_b._input_element:null;if(_q&&_q.enable){var _t=_q._parent_elem.linkedcontrol._edit_base_api._is_selected();if(_c==this&&(!_t||_d==null||_d==undefined||_d=="")){return;}}var _r=this._on_bubble_drop(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,true);if(!this._is_alive){return;}var _s=this._getFromComponent(this);if(!_s.ondrop||(_s.ondrop&&!_s.ondrop.defaultprevented)){this.on_drop_default_action();_r=this._on_bubble_drop(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,false);}return _r;};_pComponent._on_bubble_drop=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q){if(!this._is_alive){return;}if(_n===undefined){var _r;if(!_p){_p=this;if(!_p._is_reference_control){_p=this._getReferenceComponent(_p);}}if(this.visible&&this._isEnable()){var _s=this._getClientXY(_j,_k);if(_q){_n=this.on_fire_user_ondrop(_b,_c,_d,_e,_f,_g,_h,_i,_l,_m,_j,_k,_s[0],_s[1],this,_p);}else{_n=this.on_fire_sys_ondrop(_b,_c,_d,_e,_f,_g,_h,_i,_l,_m,_j,_k,_s[0],_s[1],this,_p);}}if((!this.ondrop||(this.ondrop&&!this.ondrop.stoppropagation))&&_n!==true&&this.parent&&!this.parent._is_application){var _t=this._getRecalcCanvasXY(_a,_j,_k);_j=_t[0];_k=_t[1];if(this._is_subcontrol){return this.parent._on_bubble_drop(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,null,_p,_q);}else{return this.parent._on_bubble_drop(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false,this,_p,_q);}}}else{if(this.visible&&this._isEnable()){var _s=this._getClientXY(_j,_k);if(_q){_n=this.on_fire_user_ondrop(_b,_c,_d,_e,_f,_g,_h,_i,_l,_m,_j,_k,_s[0],_s[1],_o,_p);}else{_n=this.on_fire_sys_ondrop(_b,_c,_d,_e,_f,_g,_h,_i,_l,_m,_j,_k,_s[0],_s[1],_o,_p);}}if((!this.ondrop||(this.ondrop&&!this.ondrop.stoppropagation))&&_n!==true&&this.parent&&!this.parent._is_application){var _t=this._getRecalcCanvasXY(_a,_j,_k);_j=_t[0];_k=_t[1];return this.parent._on_bubble_drop(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false,_o,_p,_q);}}};_pComponent.on_drop_default_action=function(){};_pComponent._on_dragmove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){var _q=_b?_b._input_element:null;if(_q&&_q.enable){var _t=_q._parent_elem.linkedcontrol._edit_base_api._is_selected();if(!_t||_d==null||_d==undefined||_d==""){return;}}var _r=this._on_bubble_dragmove(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,true);var _s=this._getFromComponent(this);if(!_s.ondragmove||(_s.ondragmove&&!_s.ondragmove.defaultprevented)){this.on_dragmove_default_action();_r=this._on_bubble_dragmove(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,false);}else if(_s.ondragmove&&_s.ondragmove.defaultprevented){this._init_drag_info();}return _r;};_pComponent._on_bubble_dragmove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q){if(!this._is_alive){return;}if(_n===undefined){var _r;if(!_p){_p=this;if(!_p._is_reference_control){_p=this._getReferenceComponent(_p);}}if(this._is_subcontrol){_r=true;}else{_r=false;if(this.visible&&this._isEnable()){var _s=this._getClientXY(_j,_k);if(_q){_n=this.on_fire_user_ondragmove(_b,_c,_d,_e,_f,_g,_h,_i,_l,_m,_j,_k,_s[0],_s[1],this,_p);}else{_n=this.on_fire_sys_ondragmove(_b,_c,_d,_e,_f,_g,_h,_i,_l,_m,_j,_k,_s[0],_s[1],this,_p);}}}if((!this.ondragmove||(this.ondragmove&&!this.ondragmove.stoppropagation))&&_n!==true&&this.parent&&!this.parent._is_application){var _t=this._getRecalcCanvasXY(_a,_j,_k);_j=_t[0];_k=_t[1];if(this.parent instanceof nexacro.Form){_j-=this.parent._control_element.scroll_left;_k-=this.parent._control_element.scroll_top;}if(_r){return this.parent._on_bubble_dragmove(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,null,_p,_q);}else{return this.parent._on_bubble_dragmove(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false,this,_p,_q);}}}else{if(this.visible&&this._isEnable()){var _s=this._getClientXY(_j,_k);if(_q){_n=this.on_fire_user_ondragmove(_b,_c,_d,_e,_f,_g,_h,_i,_l,_m,_j,_k,_s[0],_s[1],_o,_p);}else{_n=this.on_fire_sys_ondragmove(_b,_c,_d,_e,_f,_g,_h,_i,_l,_m,_j,_k,_s[0],_s[1],_o,_p);}}if((!this.ondragmove||(this.ondragmove&&!this.ondragmove.stoppropagation))&&_n!==true&&this.parent&&!this.parent._is_application){var _t=this._getRecalcCanvasXY(_a,_j,_k);_j=_t[0];_k=_t[1];return this.parent._on_bubble_dragmove(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,false,_o,_p,_q);}}};_pComponent.on_dragmove_default_action=function(){};_pComponent._on_dragenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q){var _r=_c?_c._input_element:null;if(_r&&_r.enable){var _u=_r._parent_elem.linkedcontrol._edit_base_api._is_selected();if(!_u||_e==null||_e==undefined||_e==""){return;}}var _s=this._on_bubble_dragenter(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q,true);var _t=this._getFromComponent(this);if(!_t.ondragenter||(_t.ondragenter&&!_t.ondragenter.defaultprevented)){this.on_dragenter_default_action();_s=this._on_bubble_dragenter(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q,false);}else if(_t.ondragenter&&_t.ondragenter.defaultprevented){this._init_drag_info();}return _s;};_pComponent._on_bubble_dragenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q,_r){if(!this._is_alive){return;}if(_o===undefined){var _s;if(!_q){this._dragenter_first_comp=this;_q=this;if(!_q._is_reference_control){_q=this._getReferenceComponent(_q);}}if(this._is_subcontrol){_s=true;if(_b&&this._contains(_b)){return;}if(_b==this){this.on_dragenter_basic_action();}}else{_s=false;_b=this._getRootComponent(_b);if(_b&&this._contains(_b)){return;}if(this.visible&&this._isEnable()){this.on_dragenter_basic_action();var _t=this._getClientXY(_k,_l);if(_r){_o=this.on_fire_user_ondragenter(_c,_d,_e,_f,_g,_h,_i,_j,_m,_n,_k,_l,_t[0],_t[1],this,_q);}else{_o=this.on_fire_sys_ondragenter(_c,_d,_e,_f,_g,_h,_i,_j,_m,_n,_k,_l,_t[0],_t[1],this,_q);}}}if((!this.ondragenter||(this.ondragenter&&!this.ondragenter.stoppropagation))&&_o!==true&&this.parent&&!this.parent._is_application){var _u=this._getRecalcCanvasXY(_a,_k,_l);_k=_u[0];_l=_u[1];if(_s){return this.parent._on_bubble_dragenter(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,null,_q,_r);}else{return this.parent._on_bubble_dragenter(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,false,this,_q,_r);}}}else{if(this.visible&&this._isEnable()){var _t=this._getClientXY(_k,_l);if(_r){_o=this.on_fire_user_ondragenter(_c,_d,_e,_f,_g,_h,_i,_j,_m,_n,_k,_l,_t[0],_t[1],_p,_q);}else{_o=this.on_fire_sys_ondragenter(_c,_d,_e,_f,_g,_h,_i,_j,_m,_n,_k,_l,_t[0],_t[1],_p,_q);}this._stat_change("","mouseover");}if((!this.ondragenter||(this.ondragenter&&!this.ondragenter.stoppropagation))&&_o!==true&&this.parent&&!this.parent._is_application){var _u=this._getRecalcCanvasXY(_a,_k,_l);_k=_u[0];_l=_u[1];return this.parent._on_bubble_dragenter(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,false,_p,_q,_r);}}};_pComponent.on_dragenter_basic_action=function(){if(this._apply_pushed_pseudo&&this._is_push){this._stat_change("push","pushed");this._is_pushed_area=true;}else{this._stat_change("","mouseover");}};_pComponent.on_dragenter_default_action=function(_a){};_pComponent._on_dragleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q){var _r=_c?_c._input_element:null;if(_r&&_r.enable){var _u=_r._parent_elem.linkedcontrol._edit_base_api._is_selected();if(!_u||_e==null||_e==undefined||_e==""){return;}}var _s=this._on_bubble_dragleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q,true);var _t=this._getFromComponent(this);if(!_t.ondragleave||(_t.ondragleave&&!_t.ondragleave.defaultprevented)){this.on_dragleave_default_action();_s=this._on_bubble_dragleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q,false);}return _s;};_pComponent._on_bubble_dragleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p,_q,_r){if(!this._is_alive){return;}if(_o===undefined){var _s;if(!_q){_q=this;if(!_q._is_reference_control){_q=this._getReferenceComponent(_q);}}if(this._is_subcontrol){_s=true;if(_b&&this._contains(_b)){return;}if(_p==this){this.on_dragleave_basic_action();}}else{_s=false;_b=this._getRootComponent(_b);if(_b&&this._contains(_b)){return;}if(this.visible&&this._isEnable()){this.on_dragleave_basic_action();var _t=this._getClientXY(_k,_l);if(_r){_o=this.on_fire_user_ondragleave(_c,_d,_e,_f,_g,_h,_i,_j,_m,_n,_k,_l,_t[0],_t[1],this,_q);}else{_o=this.on_fire_sys_ondragleave(_c,_d,_e,_f,_g,_h,_i,_j,_m,_n,_k,_l,_t[0],_t[1],this,_q);}}}if((!this.ondragleave||(this.ondragleave&&!this.ondragleave.stoppropagation))&&_o!==true&&this.parent&&!this.parent._is_application){var _u=this._getRecalcCanvasXY(_a,_k,_l);_k=_u[0];_l=_u[1];if(_s){return this.parent._on_bubble_dragleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,null,_q,_r);}else{return this.parent._on_bubble_dragleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,false,this,_q,_r);}}}else{if(this.visible&&this._isEnable()){var _t=this._getClientXY(_k,_l);if(_r){_o=this.on_fire_user_ondragleave(_c,_d,_e,_f,_g,_h,_i,_j,_m,_n,_k,_l,_t[0],_t[1],_p,_q);}else{_o=this.on_fire_sys_ondragleave(_c,_d,_e,_f,_g,_h,_i,_j,_m,_n,_k,_l,_t[0],_t[1],_p,_q);}if(!_b||!this._contains(_b)){this._stat_change("","normal");}}if((!this.ondragleave||(this.ondragleave&&!this.ondragleave.stoppropagation))&&_o!==true&&this.parent&&!this.parent._is_application){var _u=this._getRecalcCanvasXY(_a,_k,_l);_k=_u[0];_l=_u[1];return this.parent._on_bubble_dragleave(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,false,_p,_q,_r);}}};_pComponent.on_dragleave_basic_action=function(){if(this._apply_pushed_pseudo&&this._is_push){this._stat_change("notpush","normal");this._is_pushed_area=false;}else{this._stat_change("","normal");}};_pComponent.on_dragleave_default_action=function(){};_pComponent._on_keydown=function(_a,_b,_c,_d,_e,_f,_g,_h){var _i=this._on_bubble_keydown(_a,_b,_c,_d,_e,_f,_g,_h,true);if(!this._is_alive){return _i;}var _j=this._getFromComponent(this);if(!_j.onkeydown||(_j.onkeydown&&!_j.onkeydown.defaultprevented)){this.on_keydown_default_action();_i=this._on_bubble_keydown(_a,_b,_c,_d,_e,_f,_g,_h,false);}return _i;};_pComponent._on_bubble_keydown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(!this._is_alive){return;}if(_f===undefined){if(!_h){_h=this;if(!_h._is_reference_control){_h=this._getReferenceComponent(_h);}}if(this.visible&&this._isEnable()){if(_i&&!this._is_hotkey){_f=this.on_fire_user_onkeydown(_b,_c,_d,_e,this,_h);}else{_f=this.on_fire_sys_onkeydown(_b,_c,_d,_e,this,_h);this._is_hotkey=false;}if(_f===false){_f=undefined;}}if((!this.onkeydown||(this.onkeydown&&!this.onkeydown.stoppropagation))&&_f!==true&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_keydown(_a,_b,_c,_d,_e,_f,null,_h,_i);}else{return this.parent._on_bubble_keydown(_a,_b,_c,_d,_e,false,this,_h,_i);}}}else{if(this.visible&&this._isEnable()){if(_i){_f=this.on_fire_user_onkeydown(_b,_c,_d,_e,_g,_h);}else{_f=this.on_fire_sys_onkeydown(_b,_c,_d,_e,_g,_h);}}if((!this.onkeydown||(this.onkeydown&&!this.onkeydown.stoppropagation))&&_f!==true&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_keydown(_a,_b,_c,_d,_e,false,_g,_h,_i);}}};_pComponent.on_keydown_default_action=function(){};_pComponent._on_keyup=function(_a,_b,_c,_d,_e,_f,_g,_h){if(_b==nexacro.Event.KEY_TAB&&!this._is_subcontrol){if(!this.acceptstab){return;}}var _i=this._on_bubble_keyup(_a,_b,_c,_d,_e,_f,_g,_h,true);var _j=this._getFromComponent(this);if(_j&&(!_j.onkeyup||(_j.onkeyup&&!_j.onkeyup.defaultprevented))){this.on_keyup_default_action();_i=this._on_bubble_keyup(_a,_b,_c,_d,_e,_f,_g,_h,false);}return _i;};_pComponent._on_bubble_keyup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(!this._is_alive){return;}if(_f===undefined){if(!_h){_h=this;if(!_h._is_reference_control){_h=this._getReferenceComponent(_h);}}if(this.visible&&this._isEnable()){if(_i){_f=this.on_fire_user_onkeyup(_b,_c,_d,_e,this,_h);}else{_f=this.on_fire_sys_onkeyup(_b,_c,_d,_e,this,_h);}if(_f===false){_f=undefined;}}if((!this.onkeyup||(this.onkeyup&&!this.onkeyup.stoppropagation))&&_f!==true&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_keyup(_a,_b,_c,_d,_e,_f,null,_h,_i);}else{return this.parent._on_bubble_keyup(_a,_b,_c,_d,_e,false,this,_h,_i);}}}else{if(this.visible&&this._isEnable()){if(_i){_f=this.on_fire_user_onkeyup(_b,_c,_d,_e,_g,_h);}else{_f=this.on_fire_sys_onkeyup(_b,_c,_d,_e,_g,_h);}}if((!this.onkeyup||(this.onkeyup&&!this.onkeyup.stoppropagation))&&_f!==true&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_keyup(_a,_b,_c,_d,_e,false,_g,_h,_i);}}};_pComponent.on_keyup_default_action=function(){};_pComponent._on_keypress=function(_a,_b,_c,_d,_e){};_pComponent._on_contextmenu=function(_a,_b,_c,_d){var _e=this._isEnable();var _f=_e;if(!this._is_alive){return _f;}if(_e){var _g=this._getFromComponent(this);var _h=nexacro.Browser=="Safari"?_g.onrbuttondown:_g.onrbuttonup;if(_h&&_h.defaultprevented){_f=false;}else{_f=this._on_bubble_contextmenu(_b,_c,_d,true);_h=_g.oncontextmenu;if(!_h||(_h&&!_h.defaultprevented)){_f=this._on_bubble_contextmenu(_b,_c,_d,false);}else{_f=false;}}}return _f;};_pComponent._on_bubble_contextmenu=function(_a,_b,_c,_d){var _e=true;if(!this._is_alive){return;}if(_a===undefined){if(!_c){_c=this;if(!_c._is_reference_control){_c=this._getReferenceComponent(_c);}}if(_d){this._on_contextmenu_basic_action();}else{_e=this._on_contextmenu_default_action();}if(this.visible&&this._isEnable()){var _f=_d?this.on_fire_user_oncontextmenu:this.on_fire_sys_oncontextmenu;_a=_f.call(this,this,_c);}if((!this.oncontextmenu||(this.oncontextmenu&&!this.oncontextmenu.stoppropagation))&&(_a!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_contextmenu(_a,null,_c,_d);}else{return this.parent._on_bubble_contextmenu(false,null,_c,_d);}}}else{if(this.visible&&this._isEnable()){var _f=_d?this.on_fire_user_oncontextmenu:this.on_fire_sys_oncontextmenu;_a=_f.call(this,this,_c);}if((!this.oncontextmenu||(this.oncontextmenu&&!this.oncontextmenu.stoppropagation))&&(_a!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_contextmenu(false,_b,_c,_d);}}return _e;};_pComponent._on_contextmenu_basic_action=function(){return;};_pComponent._on_contextmenu_default_action=function(){var _a=this;var _b=_a._type;var _c=application?application.usecontextmenu:"all";if(_c=="all"){if(_a instanceof nexacro.Form||_a instanceof nexacro.Edit||_a instanceof nexacro.MaskEdit||_a instanceof nexacro.TextArea){return true;}return false;}else if(_c=="form"){if(_a instanceof nexacro.Form){return true;}return false;}else if(_c=="edit"){if(_a instanceof nexacro.Edit||_a instanceof nexacro.MaskEdit||_a instanceof nexacro.TextArea){return true;}return false;}else{return false;}};_pComponent._on_touchstart=function(_a,_b,_c,_d,_e,_f){this._on_bubble_touchstart(_a,_b,_c,_d,_e,_f,true);var _g=this._getFromComponent(this);var _h=_g.ontouchstart;if(!_h||(_h&&!_h.defaultprevented)){this._on_bubble_touchstart(_a,_b,_c,_d,_e,_f,false);}};_pComponent._on_bubble_touchstart=function(_a,_b,_c,_d,_e,_f,_g){if(!this._is_alive){return;}if(_d===undefined){if(!_f){_f=this;if(!_f._is_reference_control){_f=this._getReferenceComponent(_f);}}if(_g){this.on_touchstart_basic_action(_a,_c,_f);}else{this.on_touchstart_default_action();}if(this.visible&&this._isEnable()&&((_g&&this.enableevent)||!_g)){var _h=_g?this.on_fire_user_ontouchstart:this.on_fire_sys_ontouchstart;_d=_h.call(this,_b,_c,this,_f);if(_d===false){_d=undefined;}}var _i=this.ontouchstart;if((!_i||(_i&&!_i.stoppropagation))&&(_d!==true)&&this.parent&&!this.parent._is_application){_a.updateTouchInputInfosCanvasXY(_b,(this._adjust_left-this._scroll_left||0),(this._adjust_top-this._scroll_top||0));if(this._is_subcontrol){return this.parent._on_bubble_touchstart(_a,_b,_c,_d,null,_f,_g);}else{var _j="select";if(this.selectscrollmode){if(this.selectscrollmode=="default"){_j=(nexacro.isTouchInteraction)?"scroll":"select";}else{_j=this.selectscrollmode;}}if(_b.length==1&&_j=="select"){var _k=_a._start_win;var _l=_a._start_elem;nexacro._setDragInfo(_k,_l,_k._curWindowX,_k._curWindowY,null,null);}return this.parent._on_bubble_touchstart(_a,_b,_c,false,this,_f,_g);}}}else{if(this.visible&&this._isEnable()&&((_g&&this.enableevent)||!_g)){_a.updateTouchInputInfosClientXY(_b,this);var _h=_g?this.on_fire_user_ontouchstart:this.on_fire_sys_ontouchstart;_d=_h.call(this,_b,_c,_e,_f);}var _i=this.ontouchstart;if((!_i||(_i&&!_i.stoppropagation))&&(_d!==true)&&this.parent&&!this.parent._is_application){_a.updateTouchInputInfosCanvasXY(_b,(this._adjust_left-this._scroll_left||0),(this._adjust_top-this._scroll_top||0));return this.parent._on_bubble_touchstart(_a,_b,_c,false,_e,_f,_g);}}};_pComponent.on_touchstart_basic_action=function(_a,_b,_c){var _d=_a.getFirstTouchInputInfo(_b);if(_d){if(this._apply_pushed_pseudo){this._stat_change("push","pushed");this._is_pushed_area=true;this._is_push=true;}var _e=_d._elem;if(application._current_popups.length>0){application._checkClosePopupComponent(this,true);}var _f=this._getWindow();if(this._is_track){nexacro._setTrackInfo(_f,this,_f._curWindowX,_f._curWindowY);return false;}if(this._is_repeat){nexacro._setRepeatInfo(this,_f,_c,_f._curWindowX,_f._curWindowY,_b[0].canvasX,_b[0].canvasY);return true;}}};_pComponent.on_touchstart_default_action=function(){};_pComponent._on_touchmove=function(_a,_b,_c,_d,_e,_f){this._on_bubble_touchmove(_a,_b,_c,_d,_e,_f,true);var _g=this._getFromComponent(this);var _h=_g.ontouchmove;if(!_h||(_h&&!_h.defaultprevented)){this._on_bubble_touchmove(_a,_b,_c,_d,_e,_f,false);}};_pComponent._on_bubble_touchmove=function(_a,_b,_c,_d,_e,_f,_g){if(!this._is_alive){return;}if(_d===undefined){if(!_f){_f=this;if(!_f._is_reference_control){_f=this._getReferenceComponent(_f);}}if(_g){this.on_touchmove_basic_action();}else{this.on_touchmove_default_action();}if(this.visible&&this._isEnable()&&((_g&&this.enableevent)||!_g)){var _h=_g?this.on_fire_user_ontouchmove:this.on_fire_sys_ontouchmove;_d=_h.call(this,_b,_c,this,_f);if(_d===false){_d=undefined;}}var _i=this.ontouchmove;if((!_i||(_i&&!_i.stoppropagation))&&(_d!==true)&&this.parent&&!this.parent._is_application){_a.updateTouchInputInfosCanvasXY(_b,(this._adjust_left-this._scroll_left||0),(this._adjust_top-this._scroll_top||0));if(this._is_subcontrol){return this.parent._on_bubble_touchmove(_a,_b,_c,_d,null,_f,_g);}else{return this.parent._on_bubble_touchmove(_a,_b,_c,false,this,_f,_g);}}}else{if(this.visible&&this._isEnable()&&((_g&&this.enableevent)||!_g)){_a.updateTouchInputInfosClientXY(_b,this);var _h=_g?this.on_fire_user_ontouchmove:this.on_fire_sys_ontouchmove;_d=_h.call(this,_b,_c,this,_f);}var _i=this.ontouchmove;if((!_i||(_i&&!_i.stoppropagation))&&(_d!==true)&&this.parent&&!this.parent._is_application){_a.updateTouchInputInfosCanvasXY(_b,(this._adjust_left-this._scroll_left||0),(this._adjust_top-this._scroll_top||0));return this.parent._on_bubble_touchmove(_a,_b,_c,false,_e,_f,_g);}}};_pComponent.on_touchmove_basic_action=function(){};_pComponent.on_touchmove_default_action=function(){};_pComponent._on_touchend=function(_a,_b,_c,_d,_e,_f){this._on_bubble_touchend(_a,_b,_c,_d,_e,_f,true);var _g=this._getFromComponent(this);if(_g){var _h=_g.ontouchend;if(!_h||(_h&&!_h.defaultprevented)){this._on_bubble_touchend(_a,_b,_c,_d,_e,_f,false);}if(_h&&_h.defaultprevented){return true;}}};_pComponent._on_bubble_touchend=function(_a,_b,_c,_d,_e,_f,_g){if(!this._is_alive){return;}if(_d===undefined){if(!_f){_f=this;if(!_f._is_reference_control){_f=this._getReferenceComponent(_f);}}if(_g){this.on_touchend_basic_action(_a,_c);}else{this.on_touchend_default_action();}if(this.visible&&this._isEnable()&&((_g&&this.enableevent)||!_g)){var _h=_g?this.on_fire_user_ontouchend:this.on_fire_sys_ontouchend;_d=_h.call(this,_b,_c,this,_f);if(_d===false){_d=undefined;}}var _i=this.ontouchstart;if((!_i||(_i&&!_i.stoppropagation))&&(_d!==true)&&this.parent&&!this.parent._is_application){_a.updateTouchInputInfosCanvasXY(_b,(this._adjust_left-this._scroll_left||0),(this._adjust_top-this._scroll_top||0));if(this._is_subcontrol){return this.parent._on_bubble_touchend(_a,_b,_c,_d,null,_f,_g);}else{return this.parent._on_bubble_touchend(_a,_b,_c,false,this,_f,_g);}}}else{if(this.visible&&this._isEnable()&&((_g&&this.enableevent)||!_g)){_a.updateTouchInputInfosClientXY(_b,this);var _h=_g?this.on_fire_user_ontouchend:this.on_fire_sys_ontouchend;_d=_h.call(this,_b,_c,this,_f);}var _i=this.ontouchstart;if((!_i||(_i&&!_i.stoppropagation))&&(_d!==true)&&this.parent&&!this.parent._is_application){_a.updateTouchInputInfosCanvasXY(_b,(this._adjust_left-this._scroll_left||0),(this._adjust_top-this._scroll_top||0));return this.parent._on_bubble_touchend(_a,_b,_c,false,_e,_f,_g);}}};_pComponent.on_touchend_basic_action=function(_a,_b){var _c=_a.getFirstTouchInputInfo(_b);if(_c){if(this._apply_pushed_pseudo){this._is_push=false;if(this._is_pushed_area){if(nexacro.isTouchInteraction){this._stat_change("notpush","normal");}else{this._stat_change("notpush","mouseover");}this._is_pushed_area=false;}}}};_pComponent.on_touchend_default_action=function(){};_pComponent._on_tap=function(_a,_b,_c,_d,_e,_f,_g,_h){this._on_bubble_tap(_a,_b,_c,_d,_e,_f,_g,_h,true);var _i=this._getFromComponent(this);var _j=_i.ontap;if(!_j||(_j&&!_j.defaultprevented)){this._on_bubble_tap(_a,_b,_c,_d,_e,_f,_g,_h,false);}};_pComponent._on_bubble_tap=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(!this._is_alive){return;}if(_f===undefined){var _j=false;if(!_h){_h=this._focus_refer_comp=this;if(!_h._is_reference_control){_h=this._focus_refer_comp=this._getReferenceComponent(_h);}_j=true;}if(_i){if(_j){this.on_tap_basic_action(_a,_b,_c,_d,_e,_f,_g,_h);}}else{this.on_tap_default_action(_a,_b,_c,_d,_e,_f,_g,_h);}if(this.visible&&this._isEnable()){var _k=this._getClientXY(_b,_c);if(!_i||(_i&&application.enabletouchevent&&this.enableevent)){var _l=_i?this.on_fire_user_ontap:this.on_fire_sys_ontap;_f=_l.call(this,_a,_d,_e,_b,_c,_k[0],_k[1],this,_h);if(_f===false){_f=undefined;}}}var _m=this.ontap;if((!_m||(_m&&!_m.stoppropagation))&&(_f!==true)&&this.parent&&!this.parent._is_application){var _n=this._getRecalcCanvasXY(_a,_b,_c);_b=_n[0];_c=_n[1];if(this._is_subcontrol){return this.parent._on_bubble_tap(_a,_b,_c,_d,_e,_f,null,_h,_i);}else{return this.parent._on_bubble_tap(_a,_b,_c,_d,_e,false,this,_h,_i);}}}else{if(this.visible&&this._isEnable()&&application.enabletouchevent&&this.enableevent){var _k=this._getClientXY(_b,_c);var _l=_i?this.on_fire_user_ontap:this.on_fire_sys_ontap;_f=_l.call(this,_a,_d,_e,_b,_c,_k[0],_k[1],_g,_h);}var _m=this.ontap;if((!_m||(_m&&!_m.stoppropagation))&&(_f!==true)&&this.parent&&!this.parent._is_application){var _n=this._getRecalcCanvasXY(_a,_b,_c);_b=_n[0];_c=_n[1];return this.parent._on_bubble_tap(_a,_b,_c,_d,_e,false,_g,_h,_i);}}};_pComponent.on_tap_basic_action=function(_a,_b,_c,_d,_e,_f,_g,_h){var _i=this._getWindow();if(this.visible&&this._isEnable()&&_h){_h._on_focus(true,"tap");}else{var _j=_i._findComponentForEvent(_a,0,0);if(_j&&_j[0]){_j[0]._on_focus(true,"tap");}}this._on_click(_a,"touch",false,false,false,_b,_c,_d,_e);};_pComponent.on_tap_default_action=function(_a,_b,_c,_d,_e,_f,_g,_h){};_pComponent._on_dbltap=function(_a,_b,_c,_d,_e,_f,_g,_h){this._on_bubble_dbltap(_a,_b,_c,_d,_e,_f,_g,_h,true);var _i=this._getFromComponent(this);var _j=_i.ondbltap;if(!_j||(_j&&!_j.defaultprevented)){this._on_bubble_dbltap(_a,_b,_c,_d,_e,_f,_g,_h,false);}};_pComponent._on_bubble_dbltap=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(!this._is_alive){return;}if(_f===undefined){if(!_h){_h=this;if(!_h._is_reference_control){_h=this._getReferenceComponent(_h);}}if(_i){this.on_dbltap_basic_action(_a,_b,_c,_d,_e,_g,_h);}else{this.on_dbltap_default_action(_a,_b,_c,_d,_e,_g,_h);}if(this.visible&&this._isEnable()){var _j=this._getClientXY(_b,_c);if(!_i||(_i&&application.enabletouchevent&&this.enableevent)){var _k=_i?this.on_fire_user_ondbltap:this.on_fire_sys_ondbltap;_f=_k.call(this,_a,_d,_e,_b,_c,_j[0],_j[1],this,_h);if(_f===false){_f=undefined;}}}var _l=this.ondbltap;if((!_l||(_l&&!_l.stoppropagation))&&(_f!==true)&&this.parent&&!this.parent._is_application){var _m=this._getRecalcCanvasXY(_a,_b,_c);_b=_m[0];_c=_m[1];if(this._is_subcontrol){return this.parent._on_bubble_dbltap(_a,_b,_c,_d,_e,_f,null,_h,_i);}else{return this.parent._on_bubble_dbltap(_a,_b,_c,_d,_e,false,this,_h,_i);}}}else{if(this.visible&&this._isEnable()&&application.enabletouchevent&&this.enableevent){var _j=this._getClientXY(_b,_c);var _k=_i?this.on_fire_user_ondbltap:this.on_fire_sys_ondbltap;_f=_k.call(this,_a,_d,_e,_b,_c,_j[0],_j[1],_g,_h);}var _l=this.ondbltap;if((!_l||(_l&&!_l.stoppropagation))&&(_f!==true)&&this.parent&&!this.parent._is_application){var _m=this._getRecalcCanvasXY(_a,_b,_c);_b=_m[0];_c=_m[1];return this.parent._on_bubble_dbltap(_a,_b,_c,_d,_e,false,_g,_h,_i);}}};_pComponent.on_dbltap_basic_action=function(){};_pComponent.on_dbltap_default_action=function(){};_pComponent._on_pinchstart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j){this._on_bubble_pinchstart(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,true);var _k=this._getFromComponent(this);var _l=_k.onpinchstart;if(!_l||(_l&&!_l.defaultprevented)){if(this._isParentdefaultprevented(_k,"pinchstart")){return true;}this._on_bubble_pinchstart(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,false);}if(_l&&_l.defaultprevented){return true;}};_pComponent._on_bubble_pinchstart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k){if(!this._is_alive){return;}if(_g===undefined){if(!_i){_i=this;if(!_i._is_reference_control){_i=this._getReferenceComponent(_i);}}if(_k){this.on_pinchstart_basic_action();}else{this.on_pinchstart_default_action();}if(this.visible&&this._isEnable()){if(application.enabletouchevent&&(!_k||(_k&&this.enableevent))){var _l=_k?this.on_fire_user_onpinchstart:this.on_fire_sys_onpinchstart;_g=_l.call(this,_a,_b,_c,_d,this,_i);if(_g===false){_g=undefined;}}}var _m=this.onpinchstart;if((!_m||(_m&&!_m.stoppropagation))&&(_g!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_pinchstart(_a,_b,_c,_d,_e,_f,_g,null,_i,_j,_k);}else{return this.parent._on_bubble_pinchstart(_a,_b,_c,_d,_e,_f,false,this,_i,_j,_k);}}}else{if(this.visible&&this._isEnable()){if(application.enabletouchevent&&(!_k||(_k&&this.enableevent))){var _l=_k?this.on_fire_user_onpinchstart:this.on_fire_sys_onpinchstart;_g=_l.call(this,_a,_b,_c,_d,_h,_i);}}var _m=this.onpinchstart;if((!_m||(_m&&!_m.stoppropagation))&&(_g!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_pinchstart(_a,_b,_c,_d,_e,_f,false,_h,_i,_j,_k);}}};_pComponent.on_pinchstart_basic_action=function(){};_pComponent.on_pinchstart_default_action=function(){};_pComponent._on_pinch=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j){this._on_bubble_pinch(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,true);var _k=this._getFromComponent(this);var _l=_k.onpinch;if(!_l||(_l&&!_l.defaultprevented)){if(this._isParentdefaultprevented(_k,"pinch")){return true;}this._on_bubble_pinch(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,false);}if(_l&&_l.defaultprevented){return true;}};_pComponent._on_bubble_pinch=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k){if(!this._is_alive){return;}if(_g===undefined){if(!_i){_i=this;if(!_i._is_reference_control){_i=this._getReferenceComponent(_i);}}if(_k){this.on_pinch_basic_action();}else{this.on_pinch_default_action();}if(this.visible&&this._isEnable()){if(application.enabletouchevent&&(!_k||(_k&&this.enableevent))){var _l=_k?this.on_fire_user_onpinch:this.on_fire_sys_onpinch;_g=_l.call(this,_a,_b,_c,_d,_e,_f,this,_i);if(_g===false){_g=undefined;}}}var _m=this.onpinch;if((!_m||(_m&&!_m.stoppropagation))&&(_g!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_pinch(_a,_b,_c,_d,_e,_f,_g,null,_i,_j,_k);}else{return this.parent._on_bubble_pinch(_a,_b,_c,_d,_e,_f,false,this,_i,_j,_k);}}}else{if(this.visible&&this._isEnable()){if(application.enabletouchevent&&(!_k||(_k&&this.enableevent))){var _l=_k?this.on_fire_user_onpinch:this.on_fire_sys_onpinch;_g=_l.call(this,_a,_b,_c,_d,_e,_f,_h,_i);}}var _m=this.onpinch;if((!_m||(_m&&!_m.stoppropagation))&&(_g!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_pinch(_a,_b,_c,_d,_e,_f,false,_h,_i,_j,_k);}}};_pComponent.on_pinch_basic_action=function(){};_pComponent.on_pinch_default_action=function(){};_pComponent._on_pinchend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j){this._on_bubble_pinchend(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,true);var _k=this._getFromComponent(this);var _l=_k.onpinchend;if(!_l||(_l&&!_l.defaultprevented)){this._on_bubble_pinchend(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,false);}};_pComponent._on_bubble_pinchend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k){if(!this._is_alive){return;}if(_g===undefined){if(!_i){_i=this;if(!_i._is_reference_control){_i=this._getReferenceComponent(_i);}}if(_k){this.on_pinchend_basic_action();}else{this.on_pinchend_default_action();}if(this.visible&&this._isEnable()){if(application.enabletouchevent&&(!_k||(_k&&this.enableevent))){var _l=_k?this.on_fire_user_onpinchend:this.on_fire_sys_onpinchend;_g=_l.call(this,_a,_b,_c,_d,this,_i);if(_g===false){_g=undefined;}}}var _m=this.onpinchend;if((!_m||(_m&&!_m.stoppropagation))&&(_g!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_pinchend(_a,_b,_c,_d,_e,_f,_g,null,_i,_j,_k);}else{return this.parent._on_bubble_pinchend(_a,_b,_c,_d,_e,_f,false,this,_i,_j,_k);}}}else{if(this.visible&&this._isEnable()){if(application.enabletouchevent&&(!_k||(_k&&this.enableevent))){var _l=_k?this.on_fire_user_onpinchend:this.on_fire_sys_onpinchend;_g=_l.call(this,_a,_b,_c,_d,_h,_i);}}var _m=this.onpinchend;if((!_m||(_m&&!_m.stoppropagation))&&(_g!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_pinchend(_a,_b,_c,_d,_e,_f,false,_h,_i,_j,_k);}}};_pComponent.on_pinchend_basic_action=function(){};_pComponent.on_pinchend_default_action=function(){};_pComponent._on_flingstart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j){if(!this._is_alive){return;}this._on_bubble_flingstart(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,true);var _k=this._getFromComponent(this);var _l=_k.onflingstart;if(!_l||(_l&&!_l.defaultprevented)){if(this._isParentdefaultprevented(_k,"flingstart")){return true;}this._on_bubble_flingstart(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,false);}if(_l&&_l.defaultprevented){return true;}};_pComponent._on_bubble_flingstart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k){if(!this._is_alive){return;}if(_h===undefined){if(!_j){_j=this;if(!_j._is_reference_control){_j=this._getReferenceComponent(_j);}}if(_k){this.on_flingstart_basic_action();}else{this.on_flingstart_default_action();}if(this.visible&&this._isEnable()){if(!_k||(_k&&application.enabletouchevent&&this.enableevent)){var _l=_k?this.on_fire_user_onflingstart:this.on_fire_sys_onflingstart;_h=_l.call(this,_a,_b,_c,_d,_e,_f,_g,this,_j);if(_h===false){_h=undefined;}}}var _m=this.onflingstart;if((!_m||(_m&&!_m.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_flingstart(_a,_b,_c,_d,_e,_f,_g,_h,null,_j,_k);}else{return this.parent._on_bubble_flingstart(_a,_b,_c,_d,_e,_f,_g,false,this,_j,_k);}}}else{if(this.visible&&this._isEnable()){if(!_k||(_k&&application.enabletouchevent&&this.enableevent)){var _l=_k?this.on_fire_user_onflingstart:this.on_fire_sys_onflingstart;_h=_l.call(this,_a,_b,_c,_d,_e,_f,_g,_i,_j);}}var _m=this.onflingstart;if((!_m||(_m&&!_m.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_flingstart(_a,_b,_c,_d,_e,_f,_g,false,_i,_j,_k);}}};_pComponent.on_flingstart_basic_action=function(){};_pComponent.on_flingstart_default_action=function(){};_pComponent._on_fling=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j){if(!this._is_alive){return;}this._on_bubble_fling(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,true);var _k=this._getFromComponent(this);var _l=_k.onfling;if(!_l||(_l&&!_l.defaultprevented)){if(this._isParentdefaultprevented(_k,"fling")){return true;}this._on_bubble_fling(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,false);}if(_l&&_l.defaultprevented){return true;}};_pComponent._on_bubble_fling=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k){if(!this._is_alive){return;}var _l=this._getFromComponent(this);if(_h===undefined){if(!_j){_j=this;if(!_j._is_reference_control){_j=this._getReferenceComponent(_j);}}if(_k){this.on_fling_basic_action();}else{this.on_fling_default_action();}if(this.visible&&this._isEnable()){if((!_k&&(!_l.onfling||(_l.onfling&&!_l.onfling.defaultprevented)))||(_k&&application.enabletouchevent&&this.enableevent)){var _m=_k?this.on_fire_user_onfling:this.on_fire_sys_onfling;_h=_m.call(this,_a,_b,_c,_d,_e,_f,_g,this,_j);if(_h===false){_h=undefined;}}}var _n=this.onfling;if((!_n||(_n&&!_n.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_fling(_a,_b,_c,_d,_e,_f,_g,_h,null,_j,_k);}else{return this.parent._on_bubble_fling(_a,_b,_c,_d,_e,_f,_g,false,this,_j,_k);}}}else{if(this.visible&&this._isEnable()){if((!_k&&(!_l.onfling||(_l.onfling&&!_l.onfling.defaultprevented)))||(_k&&application.enabletouchevent&&this.enableevent)){var _m=_k?this.on_fire_user_onfling:this.on_fire_sys_onfling;_h=_m.call(this,_a,_b,_c,_d,_e,_f,_g,_i,_j);}}var _n=this.onfling;if((!_n||(_n&&!_n.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_fling(_a,_b,_c,_d,_e,_f,_g,false,_i,_j,_k);}}};_pComponent.on_fling_basic_action=function(){};_pComponent.on_fling_default_action=function(){};_pComponent._on_flingend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j){if(!this._is_alive){return;}this._on_bubble_flingend(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,true);var _k=this._getFromComponent(this);var _l=_k.onflingend;if(!_l||(_l&&!_l.defaultprevented)){this._on_bubble_flingend(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,false);}if(this instanceof nexacro.Form){if(nexacro.OS=="iOS"){var _m=this._getWindow();var _n=_m.getCurrentFocusPaths();var _o=_n[_n.length-1];var _p=_o._input_element;if(_p){nexacro._deleteRefreshNode();nexacro._refreshCaret();}}}};_pComponent._on_bubble_flingend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k){if(!this._is_alive){return;}if(_h===undefined){if(!_j){_j=this;if(!_j._is_reference_control){_j=this._getReferenceComponent(_j);}}if(_k){this.on_flingend_basic_action();}else{this.on_flingend_default_action();}if(this.visible&&this._isEnable()){if(!_k||(_k&&application.enabletouchevent&&this.enableevent)){var _l=_k?this.on_fire_user_onflingend:this.on_fire_sys_onflingend;_h=_l.call(this,_a,_b,_c,_d,_e,_f,_g,this,_j);if(_h===false){_h=undefined;}}}var _m=this.onflingend;if((!_m||(_m&&!_m.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_flingend(_a,_b,_c,_d,_e,_f,_g,_h,null,_j,_k);}else{return this.parent._on_bubble_flingend(_a,_b,_c,_d,_e,_f,_g,false,this,_j,_k);}}}else{if(this.visible&&this._isEnable()){if(!_k||(_k&&application.enabletouchevent&&this.enableevent)){var _l=_k?this.on_fire_user_onflingend:this.on_fire_sys_onflingend;_h=_l.call(this,_a,_b,_c,_d,_e,_f,_g,_i,_j);}}var _m=this.onflingend;if((!_m||(_m&&!_m.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_flingend(_a,_b,_c,_d,_e,_f,_g,false,_i,_j,_k);}}};_pComponent.on_flingend_basic_action=function(){};_pComponent.on_flingend_default_action=function(){};_pComponent._on_longpress=function(_a,_b,_c,_d,_e){this._on_bubble_longpress(_a,_b,_c,_d,_e,true);var _f=this._getFromComponent(this);var _g=_f.onlongpress;if(!_g||(_g&&!_g.defaultprevented)){this._on_bubble_longpress(_a,_b,_c,_d,_e,false);}};_pComponent._on_bubble_longpress=function(_a,_b,_c,_d,_e,_f){if(!this._is_alive){return;}if(_c===undefined){if(!_e){_e=this;if(!_e._is_reference_control){_e=this._getReferenceComponent(_e);}}if(_f){this.on_longpress_basic_action();}else{this.on_longpress_default_action();}if(this.visible&&this._isEnable()&&(!_f||(_f&&this.enableevent))){var _g=_f?this.on_fire_user_onlongpress:this.on_fire_sys_onlongpress;_c=_g.call(this,_a,_b,this,_e);if(_c===false){_c=undefined;}}var _h=this.onlongpress;if((!_h||(_h&&!_h.stoppropagation))&&(_c!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_longpress(_a,_b,_c,null,_e,_f);}else{return this.parent._on_bubble_longpress(_a,_b,false,this,_e,_f);}}}else{if(this.visible&&this._isEnable()&&(!_f||(_f&&this.enableevent))){var _g=_f?this.on_fire_user_onlongpress:this.on_fire_sys_onlongpress;_c=_g.call(this,_a,_b,_d,_e);}var _h=this.onlongpress;if((!_h||(_h&&!_h.stoppropagation))&&(_c!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_longpress(_a,_b,false,_d,_e,_f);}}};_pComponent.on_longpress_basic_action=function(){};_pComponent.on_longpress_default_action=function(){};_pComponent._on_slidestart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k){this._on_bubble_slidestart(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,true);var _l=this._getFromComponent(this);var _m=_l.onslidestart;if(!_m||(_m&&!_m.defaultprevented)){if(this._isParentdefaultprevented(_l,"slidestart")){return true;}this._on_bubble_slidestart(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,false);}if(_m&&_m.defaultprevented){return true;}};_pComponent._on_bubble_slidestart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(!this._is_alive){return;}if(_h===undefined){if(!_j){_j=this;if(!_j._is_reference_control){_j=this._getReferenceComponent(_j);}}if(_l){this.on_slidestart_basic_action();}else{this.on_slidestart_default_action();}if(this.visible&&this._isEnable()){if(!_l||(_l&&application.enabletouchevent&&this.enableevent)){var _m=_l?this.on_fire_user_onslidestart:this.on_fire_sys_onslidestart;_h=_m.call(this,_a,_b,_c,_d,_e,_f,_g,this,_j);if(_h===false){_h=undefined;}}}var _n=this.onslidestart;if((!_n||(_n&&!_n.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_slidestart(_a,_b,_c,_d,_e,_f,_g,_h,null,_j,_k,_l);}else{return this.parent._on_bubble_slidestart(_a,_b,_c,_d,_e,_f,_g,false,this,_j,_k,_l);}}}else{if(this.visible&&this._isEnable()){if(!_l||(_l&&application.enabletouchevent&&this.enableevent)){var _m=_l?this.on_fire_user_onslidestart:this.on_fire_sys_onslidestart;_h=_m.call(this,_a,_b,_c,_d,_e,_f,_g,_i,_j);}}var _n=this.onslidestart;if((!_n||(_n&&!_n.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_slidestart(_a,_b,_c,_d,_e,_f,_g,false,_i,_j,_k,_l);}}};_pComponent.on_slidestart_basic_action=function(){};_pComponent.on_slidestart_default_action=function(){};_pComponent._on_slide=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k){this._on_bubble_slide(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,true);var _l=this._getFromComponent(this);var _m=_l.onslide;if(!_m||(_m&&!_m.defaultprevented)){if(this._isParentdefaultprevented(_l,"slide")){return true;}this._on_bubble_slide(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,false);}if(_m&&_m.defaultprevented){return true;}};_pComponent._on_bubble_slide=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(!this._is_alive){return;}var _m=this._getFromComponent(this);if(_h===undefined){if(!_j){_j=this;if(!_j._is_reference_control){_j=this._getReferenceComponent(_j);}}if(_l){this.on_slide_basic_action();}else{this.on_slide_default_action();}if(this.visible&&this._isEnable()){if((!_l&&(!_m.onslide||(_m.onslide&&!_m.onslide.defaultprevented)))||(_l&&application.enabletouchevent&&this.enableevent)){var _n=_l?this.on_fire_user_onslide:this.on_fire_sys_onslide;_h=_n.call(this,_a,_b,_c,_d,_e,_f,_g,this,_j);if(_h===false){_h=undefined;}}}var _o=this.onslide;if((!_o||(_o&&!_o.stoppropagation))&&(_h!==true)&&this.parent){if(this.parent._is_application){if(!_l&&_b._scroll_comp==null&&!application._cur_track_info){if(nexacro._allow_default_pinchzoom&&_f!=0&&Math.abs(_f)>Math.abs(_g)){_b._scroll_end=true;_b._scroll_direction=(_f>0)? -10:10;}else if(_g!=0){_b._scroll_end=true;_b._scroll_direction=(_g>0)? -1:1;}}return;}if(this._is_subcontrol){return this.parent._on_bubble_slide(_a,_b,_c,_d,_e,_f,_g,_h,null,_j,_k,_l);}else{return this.parent._on_bubble_slide(_a,_b,_c,_d,_e,_f,_g,false,this,_j,_k,_l);}}}else{if(this.visible&&this._isEnable()){if((!_l&&(!_m.onslide||(_m.onslide&&!_m.onslide.defaultprevented)))||(_l&&application.enabletouchevent&&this.enableevent)){var _n=_l?this.on_fire_user_onslide:this.on_fire_sys_onslide;_h=_n.call(this,_a,_b,_c,_d,_e,_f,_g,_i,_j);}}var _o=this.onslide;if((!_o||(_o&&!_o.stoppropagation))&&(_h!==true)&&this.parent){if(this.parent._is_application){if(!_l&&_b._scroll_comp==null&&!application._cur_track_info){if(nexacro._allow_default_pinchzoom&&_f!=0&&Math.abs(_f)>Math.abs(_g)){_b._scroll_end=true;_b._scroll_direction=(_f>0)? -10:10;}else if(_g!=0){_b._scroll_end=true;_b._scroll_direction=(_g>0)? -1:1;}}return;}else if(nexacro.OS=="iOS"){var _p=document.documentElement.clientWidth/window.innerWidth;if(_p>1&&nexacro._allow_default_pinchzoom&&_g!=0){_b._scroll_end=true;_b._scroll_direction=(_g>0)? -1:1;return;}}return this.parent._on_bubble_slide(_a,_b,_c,_d,_e,_f,_g,false,_i,_j,_k,_l);}}};_pComponent.on_slide_basic_action=function(){};_pComponent.on_slide_default_action=function(){};_pComponent._on_slideend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k){this._on_bubble_slideend(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,true);var _l=this._getFromComponent(this);var _m=_l.onslideend;if(!_m||(_m&&!_m.defaultprevented)){this._on_bubble_slideend(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,false);}};_pComponent._on_bubble_slideend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(!this._is_alive){return;}if(_h===undefined){if(!_j){_j=this;if(!_j._is_reference_control){_j=this._getReferenceComponent(_j);}}if(_l){this.on_slideend_basic_action();}else{this.on_slideend_default_action();}if(this.visible&&this._isEnable()){if(!_l||(_l&&application.enabletouchevent&&this.enableevent)){var _m=_l?this.on_fire_user_onslideend:this.on_fire_sys_onslideend;_h=_m.call(this,_a,_b,_c,_d,_e,_f,_g,this,_j);if(_h===false){_h=undefined;}}}var _n=this.onslideend;if((!_n||(_n&&!_n.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_slideend(_a,_b,_c,_d,_e,_f,_g,_h,null,_j,_k,_l);}else{return this.parent._on_bubble_slideend(_a,_b,_c,_d,_e,_f,_g,false,this,_j,_k,_l);}}}else{if(this.visible&&this._isEnable()){if(!_l||(_l&&application.enabletouchevent&&this.enableevent)){var _m=_l?this.on_fire_user_onslideend:this.on_fire_sys_onslideend;_h=_m.call(this,_a,_b,_c,_d,_e,_f,_g,_i,_j);}}var _n=this.onslideend;if((!_n||(_n&&!_n.stoppropagation))&&(_h!==true)&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_slideend(_a,_b,_c,_d,_e,_f,_g,false,_i,_j,_k,_l);}}};_pComponent.on_slideend_basic_action=function(){};_pComponent.on_slideend_default_action=function(){};_pComponent._on_zoom=function(_a,_b,_c){if(!this._is_alive){return;}if(this.visible&&this._isEnable()){this.setZoom(_a);if(this.enableevent){this.on_fire_onzoom(_a,this,_c);}}};_pComponent._on_accessibilitygesture=function(_a,_b,_c,_d){var _e=this._on_bubble_accessibilitygesture(_a,_b,_c,_d,true);if(!this._is_alive){return _e;}var _f=this._getFromComponent(this);if(!_f.onaccessibilitygesture||(_f.onaccessibilitygesture&&!_f.onaccessibilitygesture.defaultprevented)){this.on_accessibilitygesture_default_action();_e=this._on_bubble_accessibilitygesture(_a,_b,_c,_d,false);}return _e;};_pComponent._on_bubble_accessibilitygesture=function(_a,_b,_c,_d,_e){if(!this._is_alive){return;}if(_b===undefined){if(!_d){_d=this;if(!_d._is_reference_control){_d=this._getReferenceComponent(_d);}}if((this.visible&&this._isEnable())||(this.visible&&nexacro._enableaccessibility&&nexacro._accessibilitytype==5)){if(_e&&!this._is_hotkey){_b=this.on_fire_user_onaccessibilitygesture(_a,this,_d);}else{_b=this.on_fire_sys_onaccessibilitygesture(_a,this,_d);this._is_hotkey=false;}if(_b===false){_b=undefined;}}if((!this.onaccessibilitygesture||(this.onaccessibilitygesture&&!this.onaccessibilitygesture.stoppropagation))&&_b!==true&&this.parent&&!this.parent._is_application){if(this._is_subcontrol){return this.parent._on_bubble_accessibilitygesture(_a,_b,null,_d,_e);}else{return this.parent._on_bubble_accessibilitygesture(_a,false,this,_d,_e);}}}else{if(this.visible&&this._isEnable()){if(_e){_b=this.on_fire_user_onaccessibilitygesture(_a,_c,_d);}else{_b=this.on_fire_sys_onaccessibilitygesture(_a,_c,_d);}}if((!this.accessibilitygesture||(this.accessibilitygesture&&!this.accessibilitygesture.stoppropagation))&&_b!==true&&this.parent&&!this.parent._is_application){return this.parent._on_bubble_accessibilitygesture(_a,false,_c,_d,_e);}}};_pComponent.on_accessibilitygesture_default_action=function(){};_pComponent._on_orientationchange=function(_a){if(!this._is_alive){return;}if(this.visible&&this._isEnable()){if(this.enableevent){this.on_fire_onorientationchange(_a);}}};_pComponent._on_starttrack=nexacro._emptyFn;_pComponent._on_movetrack=nexacro._emptyFn;_pComponent._on_endtrack=nexacro._emptyFn;_pComponent._on_startrepeat=nexacro._emptyFn;_pComponent._on_repeat=nexacro._emptyFn;_pComponent._on_endrepeat=nexacro._emptyFn;_pComponent.on_fire_onclick=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onclick&&this.onclick._has_handlers){var _m=new nexacro.ClickEventInfo(this,"onclick",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);var _n=this.onclick._fireEvent(this,_m);_m.destroy();_m=null;return _n;}return false;};_pComponent.on_fire_ondblclick=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){nexacro._fireBeforeDblclick(this,_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);if(this.ondblclick&&this.ondblclick._has_handlers){var _m=new nexacro.ClickEventInfo(this,"ondblclick",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.ondblclick._fireEvent(this,_m);}return false;};_pComponent.on_fire_onkillfocus=function(_a,_b){if(this.onkillfocus&&this.onkillfocus._has_handlers){var _c=new nexacro.KillFocusEventInfo(this,"onkillfocus",_a,_b);return this.onkillfocus._fireEvent(this,_c);}return false;};_pComponent.on_fire_onsetfocus=function(_a,_b){if(this.onsetfocus&&this.onsetfocus._has_handlers){var _c=new nexacro.SetFocusEventInfo(this,"onsetfocus",_a,_b);return this.onsetfocus._fireEvent(this,_c);}return false;};_pComponent.on_fire_onkeydown=function(_a,_b,_c,_d,_e,_f){if(this.onkeydown&&this.onkeydown._has_handlers){var _g=new nexacro.KeyEventInfo(this,"onkeydown",_b,_c,_d,_a,_e,_f);return this.onkeydown._fireEvent(this,_g);}return false;};_pComponent.on_fire_sys_onkeydown=function(_a,_b,_c,_d,_e,_f){if(this.onkeydown&&this.onkeydown._has_handlers){var _g=new nexacro.KeyEventInfo(this,"onkeydown",_b,_c,_d,_a,_e,_f);return this.onkeydown._fireSysEvent(this,_g);}return false;};_pComponent.on_fire_user_onkeydown=function(_a,_b,_c,_d,_e,_f){if(this.onkeydown&&this.onkeydown._has_handlers){var _g=new nexacro.KeyEventInfo(this,"onkeydown",_b,_c,_d,_a,_e,_f);return this.onkeydown._fireUserEvent(this,_g);}return false;};_pComponent.on_fire_onkeyup=function(_a,_b,_c,_d,_e,_f){if(this.onkeyup&&this.onkeyup._has_handlers){var _g=new nexacro.KeyEventInfo(this,"onkeyup",_b,_c,_d,_a,_e,_f);return this.onkeyup._fireEvent(this,_g);}return false;};_pComponent.on_fire_sys_onkeyup=function(_a,_b,_c,_d,_e,_f){if(this.onkeyup&&this.onkeyup._has_handlers){var _g=new nexacro.KeyEventInfo(this,"onkeyup",_b,_c,_d,_a,_e,_f);return this.onkeyup._fireSysEvent(this,_g);}return false;};_pComponent.on_fire_user_onkeyup=function(_a,_b,_c,_d,_e,_f){if(this.onkeyup&&this.onkeyup._has_handlers){var _g=new nexacro.KeyEventInfo(this,"onkeyup",_b,_c,_d,_a,_e,_f);return this.onkeyup._fireUserEvent(this,_g);}return false;};_pComponent.on_fire_onlbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onlbuttondown&&this.onlbuttondown._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onlbuttondown",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onlbuttondown._fireEvent(this,_m);}return false;};_pComponent.on_fire_sys_onlbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onlbuttondown&&this.onlbuttondown._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onlbuttondown",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onlbuttondown._fireSysEvent(this,_m);}return false;};_pComponent.on_fire_user_onlbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onlbuttondown&&this.onlbuttondown._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onlbuttondown",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onlbuttondown._fireUserEvent(this,_m);}return false;};_pComponent.on_fire_onlbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onlbuttonup&&this.onlbuttonup._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onlbuttonup",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onlbuttonup._fireEvent(this,_m);}return false;};_pComponent.on_fire_sys_onlbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(this.onlbuttonup&&this.onlbuttonup._has_handlers){var _n=new nexacro.MouseEventInfo(this,"onlbuttonup",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onlbuttonup._fireSysEvent(this,_n);}return false;};_pComponent.on_fire_user_onlbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(this.onlbuttonup&&this.onlbuttonup._has_handlers){var _n=new nexacro.MouseEventInfo(this,"onlbuttonup",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onlbuttonup._fireUserEvent(this,_n);}return false;};_pComponent.on_fire_onrbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onrbuttondown&&this.onrbuttondown._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onrbuttondown",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onrbuttondown._fireEvent(this,_m);}return false;};_pComponent.on_fire_sys_onrbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onrbuttondown&&this.onrbuttondown._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onrbuttondown",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onrbuttondown._fireSysEvent(this,_m);}return false;};_pComponent.on_fire_user_onrbuttondown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onrbuttondown&&this.onrbuttondown._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onrbuttondown",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onrbuttondown._fireUserEvent(this,_m);}return false;};_pComponent.on_fire_onrbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onrbuttonup&&this.onrbuttonup._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onrbuttonup",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onrbuttonup._fireEvent(this,_m);}return false;};_pComponent.on_fire_sys_onrbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(this.onrbuttonup&&this.onrbuttonup._has_handlers){var _n=new nexacro.MouseEventInfo(this,"onrbuttonup",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onrbuttonup._fireSysEvent(this,_n);}return false;};_pComponent.on_fire_user_onrbuttonup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(this.onrbuttonup&&this.onrbuttonup._has_handlers){var _n=new nexacro.MouseEventInfo(this,"onrbuttonup",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onrbuttonup._fireUserEvent(this,_n);}return false;};_pComponent.on_fire_onmouseup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmouseup&&this.onmouseup._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmouseup",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmouseup._fireEvent(this,_m);}return false;};_pComponent.on_fire_sys_onmouseup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(this.onmouseup&&this.onmouseup._has_handlers){var _n=new nexacro.MouseEventInfo(this,"onmouseup",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmouseup._fireSysEvent(this,_n);}return false;};_pComponent.on_fire_user_onmouseup=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(this.onmouseup&&this.onmouseup._has_handlers){var _n=new nexacro.MouseEventInfo(this,"onmouseup",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmouseup._fireUserEvent(this,_n);}return false;};_pComponent.on_fire_onmousedown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmousedown&&this.onmousedown._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmousedown",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmousedown._fireEvent(this,_m);}return false;};_pComponent.on_fire_sys_onmousedown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmousedown&&this.onmousedown._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmousedown",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmousedown._fireSysEvent(this,_m);}return false;};_pComponent.on_fire_user_onmousedown=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmousedown&&this.onmousedown._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmousedown",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmousedown._fireUserEvent(this,_m);}return false;};_pComponent.on_fire_onmouseenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmouseenter&&this.onmouseenter._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmouseenter",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmouseenter._fireEvent(this,_m);}return false;};_pComponent.on_fire_sys_onmouseenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmouseenter&&this.onmouseenter._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmouseenter",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmouseenter._fireSysEvent(this,_m);}return false;};_pComponent.on_fire_user_onmouseenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmouseenter&&this.onmouseenter._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmouseenter",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmouseenter._fireUserEvent(this,_m);}return false;};_pComponent.on_fire_onmouseleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmouseleave&&this.onmouseleave._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmouseleave",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmouseleave._fireEvent(this,_m);}return false;};_pComponent.on_fire_sys_onmouseleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmouseleave&&this.onmouseleave._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmouseleave",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmouseleave._fireSysEvent(this,_m);}return false;};_pComponent.on_fire_user_onmouseleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmouseleave&&this.onmouseleave._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmouseleave",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmouseleave._fireUserEvent(this,_m);}return false;};_pComponent.on_fire_onmousemove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmousemove&&this.onmousemove._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmousemove",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmousemove._fireEvent(this,_m);}return false;};_pComponent.on_fire_sys_onmousemove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmousemove&&this.onmousemove._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmousemove",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmousemove._fireSysEvent(this,_m);}return false;};_pComponent.on_fire_user_onmousemove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l){if(this.onmousemove&&this.onmousemove._has_handlers){var _m=new nexacro.MouseEventInfo(this,"onmousemove",_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l);return this.onmousemove._fireUserEvent(this,_m);}return false;};_pComponent.on_fire_onmousewheel=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(this.onmousewheel&&this.onmousewheel._has_handlers){var _o=new nexacro.MouseWheelEventInfo(this,"onmousewheel",_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_b,_m,_n);return this.onmousewheel._fireEvent(this,_o);}return false;};_pComponent.on_fire_sys_onmousewheel=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(this.onmousewheel&&this.onmousewheel._has_handlers){var _o=new nexacro.MouseWheelEventInfo(this,"onmousewheel",_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_b,_m,_n);return this.onmousewheel._fireSysEvent(this,_o);}return false;};_pComponent.on_fire_user_onmousewheel=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n){if(this.onmousewheel&&this.onmousewheel._has_handlers){var _o=new nexacro.MouseWheelEventInfo(this,"onmousewheel",_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_b,_m,_n);return this.onmousewheel._fireUserEvent(this,_o);}return false;};_pComponent.on_fire_ondrag=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(this.ondrag&&this.ondrag._has_handlers){var _n=this._getDragData();var _o=new nexacro.DragEventInfo(this,"ondrag",_n,null,this,_m,_k,_l,_a,_b,_c,_d,_e,_f,_g,_h,_i,_j);return [this.ondrag._fireEvent(this,_o),this,_m,_n,_o.userdata];}return [false];};_pComponent.on_fire_sys_ondrag=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(this.ondrag&&this.ondrag._has_handlers){var _n=this._getDragData();var _o=new nexacro.DragEventInfo(this,"ondrag",_n,null,this,_m,_k,_l,_a,_b,_c,_d,_e,_f,_g,_h,_i,_j);return [this.ondrag._fireSysEvent(this,_o),this,_m,_n,_o.userdata];}return [false];};_pComponent.on_fire_user_ondrag=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m){if(this.ondrag&&this.ondrag._has_handlers){var _n=this._getDragData();var _o=new nexacro.DragEventInfo(this,"ondrag",_n,null,this,_m,_k,_l,_a,_b,_c,_d,_e,_f,_g,_h,_i,_j);return [this.ondrag._fireUserEvent(this,_o),this,_m,_n,_o.userdata];}return [false];};_pComponent.on_fire_ondrop=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondrop&&this.ondrop._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondrop",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondrop._fireEvent(this,_q);}return false;};_pComponent.on_fire_sys_ondrop=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondrop&&this.ondrop._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondrop",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondrop._fireSysEvent(this,_q);}return false;};_pComponent.on_fire_user_ondrop=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondrop&&this.ondrop._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondrop",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondrop._fireUserEvent(this,_q);}return false;};_pComponent.on_fire_ondragenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondragenter&&this.ondragenter._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondragenter",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondragenter._fireEvent(this,_q);}return false;};_pComponent.on_fire_sys_ondragenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondragenter&&this.ondragenter._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondragenter",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondragenter._fireSysEvent(this,_q);}return false;};_pComponent.on_fire_user_ondragenter=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondragenter&&this.ondragenter._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondragenter",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondragenter._fireUserEvent(this,_q);}return false;};_pComponent.on_fire_ondragleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondragleave&&this.ondragleave._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondragleave",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondragleave._fireEvent(this,_q);}return false;};_pComponent.on_fire_sys_ondragleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondragleave&&this.ondragleave._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondragleave",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondragleave._fireSysEvent(this,_q);}return false;};_pComponent.on_fire_user_ondragleave=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondragleave&&this.ondragleave._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondragleave",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondragleave._fireUserEvent(this,_q);}return false;};_pComponent.on_fire_ondragmove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondragmove&&this.ondragmove._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondragmove",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondragmove._fireEvent(this,_q);}return false;};_pComponent.on_fire_sys_ondragmove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondragmove&&this.ondragmove._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondragmove",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondragmove._fireSysEvent(this,_q);}return false;};_pComponent.on_fire_user_ondragmove=function(_a,_b,_c,_d,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n,_o,_p){if(this.ondragmove&&this.ondragmove._has_handlers){var _q=new nexacro.DragEventInfo(this,"ondragmove",_c,_d,_a,_b,_o,_p,_e,_f,_g,_h,_i,_j,_k,_l,_m,_n);return this.ondragmove._fireUserEvent(this,_q);}return false;};_pComponent.on_fire_onmove=function(_a,_b){if(this.onmove&&this.onmove._has_handlers){var _c=new nexacro.MoveEventInfo(this,"onmove",_a,_b);return this.onmove._fireEvent(this,_c);}return false;};_pComponent.on_fire_onsize=function(_a,_b){if(this.onsize&&this.onsize._has_handlers){var _c=new nexacro.SizeEventInfo(this,"onsize",_a,_b);return this.onsize._fireEvent(this,_c);}return false;};_pComponent.on_fire_oncontextmenu=function(_a,_b){if(this.oncontextmenu&&this.oncontextmenu._has_handlers){var _c=new nexacro.ContextMenuEventInfo(this,"oncontextmenu",_a,_b);return this.ontouchstart._fireEvent(this,_c);}return false;};_pComponent.on_fire_user_oncontextmenu=function(_a,_b){if(this.oncontextmenu&&this.oncontextmenu._has_handlers){var _c=new nexacro.ContextMenuEventInfo(this,"oncontextmenu",_a,_b);return this.oncontextmenu._fireUserEvent(this,_c);}return false;};_pComponent.on_fire_sys_oncontextmenu=function(_a,_b){if(this.oncontextmenu&&this.oncontextmenu._has_handlers){var _c=new nexacro.ContextMenuEventInfo(this,"oncontextmenu",_a,_b);return this.oncontextmenu._fireSysEvent(this,_c);}return true;};_pComponent.on_fire_ontouchstart=function(_a,_b,_c,_d){if(this.ontouchstart&&this.ontouchstart._has_handlers){var _e=new nexacro.TouchEventInfo(this,"ontouchstart",_a,_b,_c,_d);return this.ontouchstart._fireEvent(this,_e);}return false;};_pComponent.on_fire_user_ontouchstart=function(_a,_b,_c,_d){if(this.ontouchstart&&this.ontouchstart._has_handlers){var _e=new nexacro.TouchEventInfo(this,"ontouchstart",_a,_b,_c,_d);return this.ontouchstart._fireUserEvent(this,_e);}return false;};_pComponent.on_fire_sys_ontouchstart=function(_a,_b,_c,_d){if(this.ontouchstart&&this.ontouchstart._has_handlers){var _e=new nexacro.TouchEventInfo(this,"ontouchstart",_a,_b,_c,_d);return this.ontouchstart._fireSysEvent(this,_e);}return false;};_pComponent.on_fire_ontouchmove=function(_a,_b,_c,_d){if(this.ontouchmove&&this.ontouchmove._has_handlers){var _e=new nexacro.TouchEventInfo(this,"ontouchmove",_a,_b,_c,_d);return this.ontouchmove._fireEvent(this,_e);}return false;};_pComponent.on_fire_user_ontouchmove=function(_a,_b,_c,_d){if(this.ontouchmove&&this.ontouchmove._has_handlers){var _e=new nexacro.TouchEventInfo(this,"ontouchmove",_a,_b,_c,_d);return this.ontouchmove._fireUserEvent(this,_e);}return false;};_pComponent.on_fire_sys_ontouchmove=function(_a,_b,_c,_d){if(this.ontouchmove&&this.ontouchmove._has_handlers){var _e=new nexacro.TouchEventInfo(this,"ontouchmove",_a,_b,_c,_d);return this.ontouchmove._fireSysEvent(this,_e);}return false;};_pComponent.on_fire_ontouchend=function(_a,_b,_c,_d){if(this.ontouchend&&this.ontouchend._has_handlers){var _e=new nexacro.TouchEventInfo(this,"ontouchend",_a,_b,_c,_d);return this.ontouchend._fireEvent(this,_e);}return false;};_pComponent.on_fire_user_ontouchend=function(_a,_b,_c,_d){if(this.ontouchend&&this.ontouchend._has_handlers){var _e=new nexacro.TouchEventInfo(this,"ontouchend",_a,_b,_c,_d);return this.ontouchend._fireUserEvent(this,_e);}return false;};_pComponent.on_fire_sys_ontouchend=function(_a,_b,_c,_d){if(this.ontouchend&&this.ontouchend._has_handlers){var _e=new nexacro.TouchEventInfo(this,"ontouchend",_a,_b,_c,_d);return this.ontouchend._fireSysEvent(this,_e);}return false;};_pComponent.on_fire_ontap=function(){if(this.ontap&&this.ontap._has_handlers){var _a=new nexacro.TapEventInfo(this,"ontap");return this.ontap._fireEvent(this,_a);}return false;};_pComponent.on_fire_user_ontap=_pComponent.on_fire_ontap;_pComponent.on_fire_sys_ontap=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){return true;};_pComponent.on_fire_ondbltap=function(){if(this.ondbltap&&this.ondbltap._has_handlers){var _a=new nexacro.TapEventInfo(this,"ondbltap");return this.ondbltap._fireEvent(this,_a);}return false;};_pComponent.on_fire_user_ondbltap=_pComponent.on_fire_ondbltap;_pComponent.on_fire_sys_ondbltap=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){this._on_dblclick(_a,"touch",false,false,false,_d,_e,_b,_c);return true;};_pComponent.on_fire_onpinchstart=function(_a,_b,_c,_d,_e,_f){if(this.onpinchstart&&this.onpinchstart._has_handlers){var _g=new nexacro.PinchEventInfo(this,"onpinchstart",_b,_c,_d,_e,_f);return this.onpinchstart._fireEvent(this,_g);}return false;};_pComponent.on_fire_user_onpinchstart=function(_a,_b,_c,_d,_e,_f){if(this.onpinchstart&&this.onpinchstart._has_handlers){var _g=new nexacro.PinchEventInfo(this,"onpinchstart",_b,_c,_d,_e,_f);return this.onpinchstart._fireUserEvent(this,_g);}return false;};_pComponent.on_fire_sys_onpinchstart=function(_a,_b,_c,_d,_e,_f){if(this.onpinchstart&&this.onpinchstart._has_handlers){var _g=new nexacro.PinchEventInfo(this,"onpinchstart",_b,_c,_d,_e,_f);return this.onpinchstart._fireSysEvent(this,_g);}return false;};_pComponent.on_fire_onpinch=function(_a,_b,_c,_d,_e,_f,_g,_h){if(this.onpinch&&this.onpinch._has_handlers){var _i=new nexacro.PinchEventInfo(this,"onpinch",_b,_c,_d,_g,_h);return this.onpinch._fireEvent(this,_i);}return false;};_pComponent.on_fire_user_onpinch=function(_a,_b,_c,_d,_e,_f,_g,_h){if(this.onpinch&&this.onpinch._has_handlers){var _i=new nexacro.PinchEventInfo(this,"onpinch",_b,_c,_d,_g,_h);return this.onpinch._fireUserEvent(this,_i);}return false;};_pComponent.on_fire_sys_onpinch=function(_a,_b,_c,_d,_e,_f,_g,_h){if(this instanceof nexacro.Form){if(this._is_popup_control){return true;}if(this.parent&&this.parent instanceof nexacro.ChildFrame){var _i=Math.abs(_d)/_e;var _j=_d>0?1: -1;var _k=(1.0+(_j*_i));var _l=this.getZoom()||100;_l=_l*_k;if(!nexacro._allow_default_pinchzoom){var _m=application._curscreen;if(_m){var _n=100;if(this._autofittedZoomFactor!==undefined){_n=this._autofittedZoomFactor;}var _o=_m._zoommin*100*_n/100;var _p=_m._zoommax*100*_n/100;if(_o!==undefined&&_p!==undefined&&_o>=_p){return true;}if(_o!=undefined&&_o>=0&&_l<_o){_l=_o;}if(_p!=undefined&&_p>=0&&_l>_p){_l=_p;}}}this._on_zoom(_l,this,_h);return true;}}return false;};_pComponent.on_fire_onpinchend=function(_a,_b,_c,_d,_e,_f){if(this.onpinchend&&this.onpinchend._has_handlers){var _g=new nexacro.PinchEventInfo(this,"onpinchend",_b,_c,_d,_e,_f);return this.onpinchend._fireEvent(this,_g);}return false;};_pComponent.on_fire_user_onpinchend=function(_a,_b,_c,_d,_e,_f){if(this.onpinchend&&this.onpinchend._has_handlers){var _g=new nexacro.PinchEventInfo(this,"onpinchend",_b,_c,_d,_e,_f);return this.onpinchend._fireUserEvent(this,_g);}return false;};_pComponent.on_fire_sys_onpinchend=function(_a,_b,_c,_d,_e,_f){if(this.onpinchend&&this.onpinchend._has_handlers){var _g=new nexacro.PinchEventInfo(this,"onpinchend",_b,_c,_d,_e,_f);return this.onpinchend._fireSysEvent(this,_g);}return false;};_pComponent.on_fire_onflingstart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onflingstart&&this.onflingstart._has_handlers){var _j=new nexacro.FlingEventInfo(this,"onflingstart",null,_c,_d,_e,_f,_g,_h,_i);return this.onflingstart._fireEvent(this,_j);}return false;};_pComponent.on_fire_user_onflingstart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onflingstart&&this.onflingstart._has_handlers){var _j=new nexacro.FlingEventInfo(this,"onflingstart",null,_c,_d,_e,_f,_g,_h,_i);return this.onflingstart._fireUserEvent(this,_j);}return false;};_pComponent.on_fire_sys_onflingstart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){return true;};_pComponent.on_fire_onfling=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onfling&&this.onfling._has_handlers){var _j=new nexacro.FlingEventInfo(this,"onfling",null,_c,_d,_e,_f,_g,_h,_i);return this.onfling._fireEvent(this,_j);}return false;};_pComponent.on_fire_user_onfling=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onfling&&this.onfling._has_handlers){var _j=new nexacro.FlingEventInfo(this,"onfling",null,_c,_d,_e,_f,_g,_h,_i);return this.onfling._fireUserEvent(this,_j);}return false;};_pComponent.on_fire_sys_onfling=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(_b._scroll_comp==this){_b._proc_scroll=true;return true;}return false;};_pComponent.on_fire_onflingend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onflingend&&this.onflingend._has_handlers){var _j=new nexacro.FlingEventInfo(this,"onflingend",null,_c,_d,_e,_f,_g,_h,_i);return this.onflingend._fireEvent(this,_j);}return false;};_pComponent.on_fire_user_onflingend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onflingend&&this.onflingend._has_handlers){var _j=new nexacro.FlingEventInfo(this,"onflingend",null,_c,_d,_e,_f,_g,_h,_i);return this.onflingend._fireUserEvent(this,_j);}return false;};_pComponent.on_fire_sys_onflingend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){return false;};_pComponent.on_fire_onlongpress=function(_a,_b,_c,_d){if(this.onlongpress&&this.onlongpress._has_handlers){var _e=new nexacro.LongPressEventInfo(this,"onlongpress",_b,_c,_d);return this.onlongpress._fireEvent(this,_e);}return false;};_pComponent.on_fire_user_onlongpress=function(_a,_b,_c,_d){if(this.onlongpress&&this.onlongpress._has_handlers){var _e=new nexacro.LongPressEventInfo(this,"onlongpress",_b,_c,_d);return this.onlongpress._fireUserEvent(this,_e);}return false;};_pComponent.on_fire_sys_onlongpress=function(_a,_b,_c,_d){if(this.onlongpress&&this.onlongpress._has_handlers){var _e=new nexacro.LongPressEventInfo(this,"onlongpress",_b,_c,_d);return this.onlongpress._fireSysEvent(this,_e);}return false;};_pComponent.on_fire_onslidestart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onslidestart&&this.onslidestart._has_handlers){var _j=new nexacro.SlideEventInfo(this,"onslidestart",_c,_d,_e,_f,_g,_h,_i);return this.onslidestart._fireEvent(this,_j);}return false;};_pComponent.on_fire_user_onslidestart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onslidestart&&this.onslidestart._has_handlers){var _j=new nexacro.SlideEventInfo(this,"onslidestart",_c,_d,_e,_f,_g,_h,_i);return this.onslidestart._fireUserEvent(this,_j);}return false;};_pComponent.on_fire_sys_onslidestart=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onslidestart&&this.onslidestart._has_handlers){var _j=new nexacro.SlideEventInfo(this,"onslidestart",_c,_d,_e,_f,_g,_h,_i);return this.onslidestart._fireSysEvent(this,_j);}return false;};_pComponent.on_fire_onslide=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onslide&&this.onslide._has_handlers){var _j=new nexacro.SlideEventInfo(this,"onslide",_c,_d,_e,_f,_g,_h,_i);return this.onslide._fireEvent(this,_j);}return false;};_pComponent.on_fire_user_onslide=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onslide&&this.onslide._has_handlers){var _j=new nexacro.SlideEventInfo(this,"onslide",_c,_d,_e,_f,_g,_h,_i);return this.onslide._fireUserEvent(this,_j);}return false;};_pComponent.on_fire_sys_onslide=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(nexacro._cur_track_info){if(nexacro._cur_track_info.target._no_slide_scroll==true){return true;}}if(!this.hscrollbar&&!this.vscrollbar){return false;}var _j=_b._scroll_comp;var _k=_b._scroll_mode;if(_j){if(_j!=this){return false;}}else{var _l=false;var _m=false;if(_f!=0&&this.hscrollbar&&this.hscrollbar.enable&&(this.dragscrolltype!="none"&&this.dragscrolltype!="vert")){if(_f<0){if(this.hscrollbar.pos0){_l=true;}}}if(_g!=0&&this.vscrollbar&&this.vscrollbar.enable&&(this.dragscrolltype!="none"&&this.dragscrolltype!="horz")){if(_g<0){if(this.vscrollbar.pos0){_m=true;}}}if(this.dragscrolltype=="all"&&(_l||_m)){_k=3;}else if(_l&&_m){if(Math.abs(_g)0){_j=this;_b._scroll_end=false;_b._scroll_comp=this;_b._scroll_mode=_k;}else{return false;}}if(this.getZoom){var _o=this.getZoom();if(_o!=100){_f/=(_o/100.0);_g/=(_o/100.0);}}if((_k==3||_k==2)&&_f!=0&&this.hscrollbar&&this.hscrollbar.enable){this.hscrollbar._setPos(this.hscrollbar.pos-_f,"slide");}if((_k==3||_k==1)&&_g!=0&&this.vscrollbar&&this.vscrollbar.enable){this.vscrollbar._setPos(this.vscrollbar.pos-_g,"slide");}return true;};_pComponent.on_fire_onslideend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onslideend&&this.onslideend._has_handlers){var _j=new nexacro.SlideEventInfo(this,"onslideend",_c,_d,_e,_f,_g,_h,_i);return this.onslideend._fireEvent(this,_j);}return false;};_pComponent.on_fire_user_onslideend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onslideend&&this.onslideend._has_handlers){var _j=new nexacro.SlideEventInfo(this,"onslideend",_c,_d,_e,_f,_g,_h,_i);return this.onslideend._fireUserEvent(this,_j);}return false;};_pComponent.on_fire_sys_onslideend=function(_a,_b,_c,_d,_e,_f,_g,_h,_i){if(this.onslideend&&this.onslideend._has_handlers){var _j=new nexacro.SlideEventInfo(this,"onslideend",_c,_d,_e,_f,_g,_h,_i);return this.onslideend._fireSysEvent(this,_j);}return false;};_pComponent.on_fire_onzoom=function(_a,_b,_c){if(this.onzoom&&this.onzoom._has_handlers){var _d=new nexacro.ZoomEventInfo(this,"onzoom",_a,_b,_c);return this.onzoom._fireEvent(this,_d);}return false;};_pComponent.on_fire_user_onzoom=function(_a,_b,_c){if(this.onzoom&&this.onzoom._has_handlers){var _d=new nexacro.ZoomEventInfo(this,"onzoom",_a,_b,_c);return this.onzoom._fireUserEvent(this,_d);}return false;};_pComponent.on_fire_sys_onzoom=function(_a,_b,_c){if(this.onzoom&&this.onzoom._has_handlers){var _d=new nexacro.ZoomEventInfo(this,"onzoom",_a,_b,_c);return this.onzoom._fireSysEvent(this,_d);}return false;};_pComponent.on_fire_onorientationchange=function(_a){if(this.onorientationchange&&this.onorientationchange._has_handlers){var _b=new nexacro.OrientationChangeEventInfo(this,"onorientationchange",_a);return this.onorientationchange._fireEvent(this,_b);}return false;};_pComponent.on_fire_user_onaccessibilitygesture=function(_a,_b,_c){};_pComponent.on_fire_sys_onaccessibilitygesture=function(_a,_b,_c){};delete _pComponent;}