src/cm/media/js/lib/yui/yui3-3.15.0/build/datatable-keynav/datatable-keynav-coverage.js
changeset 602 e16a97fb364a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cm/media/js/lib/yui/yui3-3.15.0/build/datatable-keynav/datatable-keynav-coverage.js	Mon Mar 10 15:19:48 2014 +0100
@@ -0,0 +1,6 @@
+if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
+if (!__coverage__['build/datatable-keynav/datatable-keynav.js']) {
+   __coverage__['build/datatable-keynav/datatable-keynav.js'] = {"path":"build/datatable-keynav/datatable-keynav.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":0,"153":0,"154":0,"155":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0],"21":[0,0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0],"29":[0,0],"30":[0,0],"31":[0,0],"32":[0,0],"33":[0,0],"34":[0,0],"35":[0,0],"36":[0,0],"37":[0,0],"38":[0,0],"39":[0,0],"40":[0,0],"41":[0,0],"42":[0,0],"43":[0,0],"44":[0,0],"45":[0,0],"46":[0,0,0],"47":[0,0],"48":[0,0],"49":[0,0],"50":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":47}}},"2":{"name":"(anonymous_2)","line":21,"loc":{"start":{"line":21,"column":15},"end":{"line":21,"column":26}}},"3":{"name":"(anonymous_3)","line":205,"loc":{"start":{"line":205,"column":17},"end":{"line":205,"column":29}}},"4":{"name":"(anonymous_4)","line":217,"loc":{"start":{"line":217,"column":16},"end":{"line":217,"column":28}}},"5":{"name":"(anonymous_5)","line":218,"loc":{"start":{"line":218,"column":36},"end":{"line":218,"column":56}}},"6":{"name":"(anonymous_6)","line":233,"loc":{"start":{"line":233,"column":35},"end":{"line":233,"column":48}}},"7":{"name":"(anonymous_7)","line":261,"loc":{"start":{"line":261,"column":31},"end":{"line":261,"column":44}}},"8":{"name":"(anonymous_8)","line":284,"loc":{"start":{"line":284,"column":24},"end":{"line":284,"column":36}}},"9":{"name":"(anonymous_9)","line":304,"loc":{"start":{"line":304,"column":20},"end":{"line":304,"column":33}}},"10":{"name":"(anonymous_10)","line":320,"loc":{"start":{"line":320,"column":22},"end":{"line":320,"column":35}}},"11":{"name":"(anonymous_11)","line":325,"loc":{"start":{"line":325,"column":50},"end":{"line":325,"column":70}}},"12":{"name":"(anonymous_12)","line":355,"loc":{"start":{"line":355,"column":22},"end":{"line":355,"column":43}}},"13":{"name":"(anonymous_13)","line":373,"loc":{"start":{"line":373,"column":19},"end":{"line":373,"column":31}}},"14":{"name":"(anonymous_14)","line":385,"loc":{"start":{"line":385,"column":18},"end":{"line":385,"column":31}}},"15":{"name":"(anonymous_15)","line":407,"loc":{"start":{"line":407,"column":19},"end":{"line":407,"column":32}}},"16":{"name":"(anonymous_16)","line":464,"loc":{"start":{"line":464,"column":16},"end":{"line":464,"column":29}}},"17":{"name":"(anonymous_17)","line":521,"loc":{"start":{"line":521,"column":18},"end":{"line":521,"column":31}}},"18":{"name":"(anonymous_18)","line":584,"loc":{"start":{"line":584,"column":22},"end":{"line":584,"column":35}}},"19":{"name":"(anonymous_19)","line":597,"loc":{"start":{"line":597,"column":20},"end":{"line":597,"column":33}}},"20":{"name":"(anonymous_20)","line":611,"loc":{"start":{"line":611,"column":20},"end":{"line":611,"column":33}}},"21":{"name":"(anonymous_21)","line":639,"loc":{"start":{"line":639,"column":23},"end":{"line":639,"column":36}}},"22":{"name":"(anonymous_22)","line":658,"loc":{"start":{"line":658,"column":24},"end":{"line":658,"column":40}}},"23":{"name":"(anonymous_23)","line":678,"loc":{"start":{"line":678,"column":18},"end":{"line":678,"column":36}}},"24":{"name":"(anonymous_24)","line":697,"loc":{"start":{"line":697,"column":24},"end":{"line":697,"column":40}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":706,"column":50}},"2":{"start":{"line":10,"column":0},"end":{"line":21,"column":29}},"3":{"start":{"line":51,"column":0},"end":{"line":77,"column":2}},"4":{"start":{"line":91,"column":0},"end":{"line":100,"column":2}},"5":{"start":{"line":102,"column":0},"end":{"line":128,"column":2}},"6":{"start":{"line":130,"column":0},"end":{"line":700,"column":3}},"7":{"start":{"line":206,"column":8},"end":{"line":206,"column":58}},"8":{"start":{"line":207,"column":8},"end":{"line":210,"column":10}},"9":{"start":{"line":211,"column":8},"end":{"line":211,"column":61}},"10":{"start":{"line":212,"column":8},"end":{"line":212,"column":83}},"11":{"start":{"line":213,"column":8},"end":{"line":213,"column":57}},"12":{"start":{"line":218,"column":8},"end":{"line":222,"column":11}},"13":{"start":{"line":219,"column":12},"end":{"line":221,"column":13}},"14":{"start":{"line":220,"column":16},"end":{"line":220,"column":34}},"15":{"start":{"line":234,"column":8},"end":{"line":235,"column":32}},"16":{"start":{"line":237,"column":8},"end":{"line":239,"column":9}},"17":{"start":{"line":238,"column":12},"end":{"line":238,"column":40}},"18":{"start":{"line":241,"column":8},"end":{"line":250,"column":9}},"19":{"start":{"line":242,"column":12},"end":{"line":242,"column":38}},"20":{"start":{"line":244,"column":12},"end":{"line":247,"column":13}},"21":{"start":{"line":245,"column":16},"end":{"line":245,"column":40}},"22":{"start":{"line":246,"column":16},"end":{"line":246,"column":31}},"23":{"start":{"line":249,"column":12},"end":{"line":249,"column":38}},"24":{"start":{"line":262,"column":8},"end":{"line":262,"column":43}},"25":{"start":{"line":263,"column":8},"end":{"line":274,"column":9}},"26":{"start":{"line":264,"column":12},"end":{"line":269,"column":13}},"27":{"start":{"line":265,"column":16},"end":{"line":265,"column":38}},"28":{"start":{"line":266,"column":16},"end":{"line":266,"column":29}},"29":{"start":{"line":268,"column":16},"end":{"line":268,"column":37}},"30":{"start":{"line":271,"column":12},"end":{"line":273,"column":13}},"31":{"start":{"line":272,"column":16},"end":{"line":272,"column":28}},"32":{"start":{"line":285,"column":8},"end":{"line":285,"column":41}},"33":{"start":{"line":286,"column":8},"end":{"line":289,"column":10}},"34":{"start":{"line":290,"column":8},"end":{"line":290,"column":82}},"35":{"start":{"line":291,"column":8},"end":{"line":291,"column":29}},"36":{"start":{"line":294,"column":8},"end":{"line":294,"column":106}},"37":{"start":{"line":305,"column":8},"end":{"line":305,"column":90}},"38":{"start":{"line":306,"column":8},"end":{"line":309,"column":9}},"39":{"start":{"line":307,"column":12},"end":{"line":307,"column":25}},"40":{"start":{"line":308,"column":12},"end":{"line":308,"column":42}},"41":{"start":{"line":321,"column":8},"end":{"line":323,"column":19}},"42":{"start":{"line":325,"column":8},"end":{"line":330,"column":11}},"43":{"start":{"line":326,"column":12},"end":{"line":329,"column":13}},"44":{"start":{"line":327,"column":16},"end":{"line":327,"column":51}},"45":{"start":{"line":328,"column":16},"end":{"line":328,"column":51}},"46":{"start":{"line":331,"column":8},"end":{"line":331,"column":70}},"47":{"start":{"line":333,"column":8},"end":{"line":341,"column":9}},"48":{"start":{"line":334,"column":12},"end":{"line":338,"column":13}},"49":{"start":{"line":335,"column":16},"end":{"line":335,"column":43}},"50":{"start":{"line":337,"column":16},"end":{"line":337,"column":49}},"51":{"start":{"line":340,"column":12},"end":{"line":340,"column":33}},"52":{"start":{"line":356,"column":8},"end":{"line":356,"column":53}},"53":{"start":{"line":357,"column":8},"end":{"line":364,"column":9}},"54":{"start":{"line":358,"column":12},"end":{"line":363,"column":18}},"55":{"start":{"line":374,"column":8},"end":{"line":374,"column":137}},"56":{"start":{"line":386,"column":8},"end":{"line":388,"column":34}},"57":{"start":{"line":390,"column":8},"end":{"line":390,"column":27}},"58":{"start":{"line":392,"column":8},"end":{"line":394,"column":9}},"59":{"start":{"line":393,"column":12},"end":{"line":393,"column":19}},"60":{"start":{"line":395,"column":8},"end":{"line":395,"column":48}},"61":{"start":{"line":396,"column":8},"end":{"line":396,"column":55}},"62":{"start":{"line":408,"column":8},"end":{"line":413,"column":19}},"63":{"start":{"line":415,"column":8},"end":{"line":415,"column":27}},"64":{"start":{"line":428,"column":8},"end":{"line":428,"column":31}},"65":{"start":{"line":430,"column":8},"end":{"line":449,"column":9}},"66":{"start":{"line":431,"column":12},"end":{"line":441,"column":13}},"67":{"start":{"line":432,"column":16},"end":{"line":432,"column":32}},"68":{"start":{"line":434,"column":16},"end":{"line":434,"column":49}},"69":{"start":{"line":436,"column":16},"end":{"line":440,"column":17}},"70":{"start":{"line":437,"column":20},"end":{"line":437,"column":41}},"71":{"start":{"line":439,"column":20},"end":{"line":439,"column":27}},"72":{"start":{"line":444,"column":12},"end":{"line":448,"column":13}},"73":{"start":{"line":445,"column":16},"end":{"line":445,"column":23}},"74":{"start":{"line":447,"column":16},"end":{"line":447,"column":32}},"75":{"start":{"line":451,"column":8},"end":{"line":451,"column":56}},"76":{"start":{"line":465,"column":8},"end":{"line":472,"column":19}},"77":{"start":{"line":474,"column":8},"end":{"line":474,"column":27}},"78":{"start":{"line":476,"column":8},"end":{"line":478,"column":9}},"79":{"start":{"line":477,"column":12},"end":{"line":477,"column":66}},"80":{"start":{"line":480,"column":8},"end":{"line":508,"column":9}},"81":{"start":{"line":481,"column":12},"end":{"line":483,"column":13}},"82":{"start":{"line":482,"column":16},"end":{"line":482,"column":23}},"83":{"start":{"line":485,"column":12},"end":{"line":485,"column":40}},"84":{"start":{"line":486,"column":12},"end":{"line":486,"column":46}},"85":{"start":{"line":488,"column":12},"end":{"line":496,"column":13}},"86":{"start":{"line":489,"column":16},"end":{"line":489,"column":52}},"87":{"start":{"line":490,"column":16},"end":{"line":490,"column":70}},"88":{"start":{"line":491,"column":16},"end":{"line":491,"column":50}},"89":{"start":{"line":492,"column":16},"end":{"line":492,"column":42}},"90":{"start":{"line":494,"column":16},"end":{"line":494,"column":48}},"91":{"start":{"line":495,"column":16},"end":{"line":495,"column":56}},"92":{"start":{"line":498,"column":12},"end":{"line":507,"column":13}},"93":{"start":{"line":499,"column":16},"end":{"line":499,"column":52}},"94":{"start":{"line":500,"column":16},"end":{"line":500,"column":54}},"95":{"start":{"line":501,"column":16},"end":{"line":503,"column":17}},"96":{"start":{"line":502,"column":20},"end":{"line":502,"column":56}},"97":{"start":{"line":505,"column":16},"end":{"line":505,"column":52}},"98":{"start":{"line":506,"column":16},"end":{"line":506,"column":56}},"99":{"start":{"line":509,"column":8},"end":{"line":509,"column":38}},"100":{"start":{"line":522,"column":8},"end":{"line":531,"column":21}},"101":{"start":{"line":533,"column":8},"end":{"line":533,"column":27}},"102":{"start":{"line":535,"column":8},"end":{"line":557,"column":9}},"103":{"start":{"line":536,"column":12},"end":{"line":556,"column":13}},"104":{"start":{"line":537,"column":16},"end":{"line":537,"column":52}},"105":{"start":{"line":538,"column":16},"end":{"line":538,"column":57}},"106":{"start":{"line":540,"column":16},"end":{"line":540,"column":68}},"107":{"start":{"line":542,"column":16},"end":{"line":550,"column":17}},"108":{"start":{"line":544,"column":20},"end":{"line":544,"column":61}},"109":{"start":{"line":547,"column":20},"end":{"line":547,"column":72}},"110":{"start":{"line":548,"column":20},"end":{"line":548,"column":36}},"111":{"start":{"line":549,"column":20},"end":{"line":549,"column":54}},"112":{"start":{"line":551,"column":16},"end":{"line":551,"column":50}},"113":{"start":{"line":554,"column":16},"end":{"line":554,"column":38}},"114":{"start":{"line":555,"column":16},"end":{"line":555,"column":56}},"115":{"start":{"line":560,"column":8},"end":{"line":560,"column":56}},"116":{"start":{"line":563,"column":8},"end":{"line":572,"column":9}},"117":{"start":{"line":564,"column":12},"end":{"line":566,"column":13}},"118":{"start":{"line":565,"column":16},"end":{"line":565,"column":23}},"119":{"start":{"line":567,"column":12},"end":{"line":567,"column":28}},"120":{"start":{"line":568,"column":12},"end":{"line":568,"column":36}},"121":{"start":{"line":571,"column":12},"end":{"line":571,"column":45}},"122":{"start":{"line":574,"column":8},"end":{"line":574,"column":66}},"123":{"start":{"line":585,"column":8},"end":{"line":585,"column":53}},"124":{"start":{"line":586,"column":8},"end":{"line":586,"column":71}},"125":{"start":{"line":587,"column":8},"end":{"line":587,"column":27}},"126":{"start":{"line":598,"column":8},"end":{"line":598,"column":53}},"127":{"start":{"line":599,"column":8},"end":{"line":599,"column":70}},"128":{"start":{"line":600,"column":8},"end":{"line":600,"column":27}},"129":{"start":{"line":612,"column":8},"end":{"line":614,"column":24}},"130":{"start":{"line":616,"column":8},"end":{"line":616,"column":27}},"131":{"start":{"line":618,"column":8},"end":{"line":628,"column":9}},"132":{"start":{"line":619,"column":12},"end":{"line":619,"column":48}},"133":{"start":{"line":620,"column":12},"end":{"line":620,"column":42}},"134":{"start":{"line":621,"column":12},"end":{"line":623,"column":13}},"135":{"start":{"line":622,"column":16},"end":{"line":622,"column":40}},"136":{"start":{"line":624,"column":12},"end":{"line":624,"column":58}},"137":{"start":{"line":627,"column":12},"end":{"line":627,"column":132}},"138":{"start":{"line":629,"column":8},"end":{"line":629,"column":55}},"139":{"start":{"line":640,"column":8},"end":{"line":641,"column":46}},"140":{"start":{"line":643,"column":8},"end":{"line":643,"column":111}},"141":{"start":{"line":644,"column":8},"end":{"line":644,"column":27}},"142":{"start":{"line":659,"column":8},"end":{"line":666,"column":9}},"143":{"start":{"line":660,"column":12},"end":{"line":660,"column":56}},"144":{"start":{"line":661,"column":12},"end":{"line":663,"column":13}},"145":{"start":{"line":662,"column":16},"end":{"line":662,"column":28}},"146":{"start":{"line":664,"column":15},"end":{"line":666,"column":9}},"147":{"start":{"line":665,"column":12},"end":{"line":665,"column":24}},"148":{"start":{"line":667,"column":8},"end":{"line":667,"column":41}},"149":{"start":{"line":679,"column":8},"end":{"line":680,"column":74}},"150":{"start":{"line":682,"column":8},"end":{"line":684,"column":9}},"151":{"start":{"line":683,"column":12},"end":{"line":683,"column":94}},"152":{"start":{"line":686,"column":8},"end":{"line":686,"column":20}},"153":{"start":{"line":698,"column":8},"end":{"line":698,"column":99}},"154":{"start":{"line":702,"column":0},"end":{"line":702,"column":30}},"155":{"start":{"line":703,"column":0},"end":{"line":703,"column":36}}},"branchMap":{"1":{"line":219,"type":"if","locations":[{"start":{"line":219,"column":12},"end":{"line":219,"column":12}},{"start":{"line":219,"column":12},"end":{"line":219,"column":12}}]},"2":{"line":219,"type":"binary-expr","locations":[{"start":{"line":219,"column":16},"end":{"line":219,"column":24}},{"start":{"line":219,"column":28},"end":{"line":219,"column":43}}]},"3":{"line":237,"type":"if","locations":[{"start":{"line":237,"column":8},"end":{"line":237,"column":8}},{"start":{"line":237,"column":8},"end":{"line":237,"column":8}}]},"4":{"line":241,"type":"if","locations":[{"start":{"line":241,"column":8},"end":{"line":241,"column":8}},{"start":{"line":241,"column":8},"end":{"line":241,"column":8}}]},"5":{"line":244,"type":"if","locations":[{"start":{"line":244,"column":12},"end":{"line":244,"column":12}},{"start":{"line":244,"column":12},"end":{"line":244,"column":12}}]},"6":{"line":263,"type":"if","locations":[{"start":{"line":263,"column":8},"end":{"line":263,"column":8}},{"start":{"line":263,"column":8},"end":{"line":263,"column":8}}]},"7":{"line":264,"type":"if","locations":[{"start":{"line":264,"column":12},"end":{"line":264,"column":12}},{"start":{"line":264,"column":12},"end":{"line":264,"column":12}}]},"8":{"line":271,"type":"if","locations":[{"start":{"line":271,"column":12},"end":{"line":271,"column":12}},{"start":{"line":271,"column":12},"end":{"line":271,"column":12}}]},"9":{"line":290,"type":"binary-expr","locations":[{"start":{"line":290,"column":29},"end":{"line":290,"column":48}},{"start":{"line":290,"column":52},"end":{"line":290,"column":67}}]},"10":{"line":305,"type":"cond-expr","locations":[{"start":{"line":305,"column":67},"end":{"line":305,"column":75}},{"start":{"line":305,"column":77},"end":{"line":305,"column":81}}]},"11":{"line":306,"type":"if","locations":[{"start":{"line":306,"column":8},"end":{"line":306,"column":8}},{"start":{"line":306,"column":8},"end":{"line":306,"column":8}}]},"12":{"line":322,"type":"binary-expr","locations":[{"start":{"line":322,"column":22},"end":{"line":322,"column":49}},{"start":{"line":322,"column":53},"end":{"line":322,"column":60}}]},"13":{"line":326,"type":"if","locations":[{"start":{"line":326,"column":12},"end":{"line":326,"column":12}},{"start":{"line":326,"column":12},"end":{"line":326,"column":12}}]},"14":{"line":331,"type":"binary-expr","locations":[{"start":{"line":331,"column":17},"end":{"line":331,"column":41}},{"start":{"line":331,"column":45},"end":{"line":331,"column":69}}]},"15":{"line":333,"type":"if","locations":[{"start":{"line":333,"column":8},"end":{"line":333,"column":8}},{"start":{"line":333,"column":8},"end":{"line":333,"column":8}}]},"16":{"line":334,"type":"if","locations":[{"start":{"line":334,"column":12},"end":{"line":334,"column":12}},{"start":{"line":334,"column":12},"end":{"line":334,"column":12}}]},"17":{"line":357,"type":"if","locations":[{"start":{"line":357,"column":8},"end":{"line":357,"column":8}},{"start":{"line":357,"column":8},"end":{"line":357,"column":8}}]},"18":{"line":374,"type":"cond-expr","locations":[{"start":{"line":374,"column":63},"end":{"line":374,"column":90}},{"start":{"line":374,"column":93},"end":{"line":374,"column":118}}]},"19":{"line":392,"type":"if","locations":[{"start":{"line":392,"column":8},"end":{"line":392,"column":8}},{"start":{"line":392,"column":8},"end":{"line":392,"column":8}}]},"20":{"line":430,"type":"if","locations":[{"start":{"line":430,"column":8},"end":{"line":430,"column":8}},{"start":{"line":430,"column":8},"end":{"line":430,"column":8}}]},"21":{"line":430,"type":"binary-expr","locations":[{"start":{"line":430,"column":12},"end":{"line":430,"column":37}},{"start":{"line":430,"column":41},"end":{"line":430,"column":47}},{"start":{"line":430,"column":51},"end":{"line":430,"column":76}}]},"22":{"line":431,"type":"if","locations":[{"start":{"line":431,"column":12},"end":{"line":431,"column":12}},{"start":{"line":431,"column":12},"end":{"line":431,"column":12}}]},"23":{"line":436,"type":"if","locations":[{"start":{"line":436,"column":16},"end":{"line":436,"column":16}},{"start":{"line":436,"column":16},"end":{"line":436,"column":16}}]},"24":{"line":436,"type":"binary-expr","locations":[{"start":{"line":436,"column":20},"end":{"line":436,"column":26}},{"start":{"line":436,"column":30},"end":{"line":436,"column":43}}]},"25":{"line":444,"type":"if","locations":[{"start":{"line":444,"column":12},"end":{"line":444,"column":12}},{"start":{"line":444,"column":12},"end":{"line":444,"column":12}}]},"26":{"line":476,"type":"if","locations":[{"start":{"line":476,"column":8},"end":{"line":476,"column":8}},{"start":{"line":476,"column":8},"end":{"line":476,"column":8}}]},"27":{"line":480,"type":"if","locations":[{"start":{"line":480,"column":8},"end":{"line":480,"column":8}},{"start":{"line":480,"column":8},"end":{"line":480,"column":8}}]},"28":{"line":481,"type":"if","locations":[{"start":{"line":481,"column":12},"end":{"line":481,"column":12}},{"start":{"line":481,"column":12},"end":{"line":481,"column":12}}]},"29":{"line":481,"type":"binary-expr","locations":[{"start":{"line":481,"column":16},"end":{"line":481,"column":22}},{"start":{"line":481,"column":26},"end":{"line":481,"column":53}}]},"30":{"line":488,"type":"if","locations":[{"start":{"line":488,"column":12},"end":{"line":488,"column":12}},{"start":{"line":488,"column":12},"end":{"line":488,"column":12}}]},"31":{"line":498,"type":"if","locations":[{"start":{"line":498,"column":12},"end":{"line":498,"column":12}},{"start":{"line":498,"column":12},"end":{"line":498,"column":12}}]},"32":{"line":498,"type":"binary-expr","locations":[{"start":{"line":498,"column":16},"end":{"line":498,"column":22}},{"start":{"line":498,"column":26},"end":{"line":498,"column":51}}]},"33":{"line":501,"type":"if","locations":[{"start":{"line":501,"column":16},"end":{"line":501,"column":16}},{"start":{"line":501,"column":16},"end":{"line":501,"column":16}}]},"34":{"line":528,"type":"binary-expr","locations":[{"start":{"line":528,"column":21},"end":{"line":528,"column":30}},{"start":{"line":528,"column":34},"end":{"line":528,"column":53}}]},"35":{"line":535,"type":"if","locations":[{"start":{"line":535,"column":8},"end":{"line":535,"column":8}},{"start":{"line":535,"column":8},"end":{"line":535,"column":8}}]},"36":{"line":536,"type":"if","locations":[{"start":{"line":536,"column":12},"end":{"line":536,"column":12}},{"start":{"line":536,"column":12},"end":{"line":536,"column":12}}]},"37":{"line":540,"type":"binary-expr","locations":[{"start":{"line":540,"column":29},"end":{"line":540,"column":57}},{"start":{"line":540,"column":61},"end":{"line":540,"column":62}}]},"38":{"line":542,"type":"if","locations":[{"start":{"line":542,"column":16},"end":{"line":542,"column":16}},{"start":{"line":542,"column":16},"end":{"line":542,"column":16}}]},"39":{"line":563,"type":"if","locations":[{"start":{"line":563,"column":8},"end":{"line":563,"column":8}},{"start":{"line":563,"column":8},"end":{"line":563,"column":8}}]},"40":{"line":564,"type":"if","locations":[{"start":{"line":564,"column":12},"end":{"line":564,"column":12}},{"start":{"line":564,"column":12},"end":{"line":564,"column":12}}]},"41":{"line":618,"type":"if","locations":[{"start":{"line":618,"column":8},"end":{"line":618,"column":8}},{"start":{"line":618,"column":8},"end":{"line":618,"column":8}}]},"42":{"line":618,"type":"binary-expr","locations":[{"start":{"line":618,"column":12},"end":{"line":618,"column":37}},{"start":{"line":618,"column":41},"end":{"line":618,"column":67}}]},"43":{"line":627,"type":"cond-expr","locations":[{"start":{"line":627,"column":49},"end":{"line":627,"column":66}},{"start":{"line":627,"column":68},"end":{"line":627,"column":83}}]},"44":{"line":659,"type":"if","locations":[{"start":{"line":659,"column":8},"end":{"line":659,"column":8}},{"start":{"line":659,"column":8},"end":{"line":659,"column":8}}]},"45":{"line":661,"type":"if","locations":[{"start":{"line":661,"column":12},"end":{"line":661,"column":12}},{"start":{"line":661,"column":12},"end":{"line":661,"column":12}}]},"46":{"line":661,"type":"binary-expr","locations":[{"start":{"line":661,"column":17},"end":{"line":661,"column":29}},{"start":{"line":661,"column":33},"end":{"line":661,"column":45}},{"start":{"line":661,"column":50},"end":{"line":661,"column":87}}]},"47":{"line":664,"type":"if","locations":[{"start":{"line":664,"column":15},"end":{"line":664,"column":15}},{"start":{"line":664,"column":15},"end":{"line":664,"column":15}}]},"48":{"line":680,"type":"binary-expr","locations":[{"start":{"line":680,"column":21},"end":{"line":680,"column":41}},{"start":{"line":680,"column":45},"end":{"line":680,"column":73}}]},"49":{"line":682,"type":"if","locations":[{"start":{"line":682,"column":8},"end":{"line":682,"column":8}},{"start":{"line":682,"column":8},"end":{"line":682,"column":8}}]},"50":{"line":698,"type":"binary-expr","locations":[{"start":{"line":698,"column":15},"end":{"line":698,"column":42}},{"start":{"line":698,"column":46},"end":{"line":698,"column":98}}]}},"code":["(function () { YUI.add('datatable-keynav', function (Y, NAME) {","","/**"," Provides keyboard navigation of DataTable cells and support for adding other"," keyboard actions.",""," @module datatable"," @submodule datatable-keynav","*/","var arrEach = Y.Array.each,","","/**"," A DataTable class extension that provides navigation via keyboard, based on"," WAI-ARIA recommendation for the [Grid widget](http://www.w3.org/WAI/PF/aria-practices/#grid)"," and extensible to support other actions.","",""," @class DataTable.KeyNav"," @for DataTable","*/","    DtKeyNav = function (){};","","/**","Mapping of key codes to friendly key names that can be used in the","[keyActions](#property_keyActions) property and [ARIA_ACTIONS](#property_ARIA_ACTIONS)","property.","","It contains aliases for the following keys:","    <ul>","    <li>backspace</li>","    <li>tab</li>","    <li>enter</li>","    <li>esc</li>","    <li>space</li>","    <li>pgup</li>","    <li>pgdown</li>","    <li>end</li>","    <li>home</li>","    <li>left</li>","    <li>up</li>","    <li>right</li>","    <li>down</li>","    <li>f1 .. f12</li>","    </ul>","","","@property KEY_NAMES","@type {Object}","@static","**/","DtKeyNav.KEY_NAMES = {","     8: 'backspace',","     9: 'tab',","    13: 'enter',","    27: 'esc',","    32: 'space',","    33: 'pgup',","    34: 'pgdown',","    35: 'end',","    36: 'home',","    37: 'left',","    38: 'up',","    39: 'right',","    40: 'down',","    112:'f1',","    113:'f2',","    114:'f3',","    115:'f4',","    116:'f5',","    117:'f6',","    118:'f7',","    119:'f8',","    120:'f9',","    121:'f10',","    122:'f11',","    123:'f12'","};","","/**","Mapping of key codes to actions according to the WAI-ARIA suggestion for the","[Grid Widget](http://www.w3.org/WAI/PF/aria-practices/#grid).","","The key for each entry is a key-code or [keyName](#property_KEY_NAMES) while the","value can be a function that performs the action or a string.  If a string,","it can either correspond to the name of a method in this module (or  any","method in a DataTable instance) or the name of an event to fire.","@property ARIA_ACTIONS","@type Object","@static"," */","DtKeyNav.ARIA_ACTIONS = {","    left:   '_keyMoveLeft',","    right:  '_keyMoveRight',","    up:     '_keyMoveUp',","    down:   '_keyMoveDown',","    home:   '_keyMoveRowStart',","    end:    '_keyMoveRowEnd',","    pgup:   '_keyMoveColTop',","    pgdown: '_keyMoveColBottom'","};","","DtKeyNav.ATTRS = {","    /**","    Cell that's currently either focused or","    focusable when the DataTable gets the focus.","","    @attribute focusedCell","    @type Node","    @default first cell in the table.","    **/","    focusedCell: {","        setter: '_focusedCellSetter'","    },","","    /**","    Determines whether it is possible to navigate into the header area.","    The examples referenced in the document show both behaviors so it seems","    it is optional.","","    @attribute keyIntoHeaders","    @type Boolean","    @default true","     */","    keyIntoHeaders: {","        value: true","    }","","};","","Y.mix( DtKeyNav.prototype, {","","    /**","    Table of actions to be performed for each key.  It is loaded with a clone","    of [ARIA_ACTIONS](#property_ARIA_ACTIONS) by default.","","    The key for each entry is either a key-code or an alias from the","    [KEY_NAMES](#property_KEY_NAMES) table. They can be prefixed with any combination","    of the modifier keys `alt`, `ctrl`, `meta` or `shift` each followed by a hyphen,","    such as `\"ctrl-shift-up\"` (modifiers, if more than one, should appear in alphabetical order).","","    The value for each entry should be a function or the name of a method in","    the DataTable instance.  The method will receive the original keyboard","    EventFacade as its only argument.","","    If the value is a string and it cannot be resolved into a method,","    it will be assumed to be the name of an event to fire. The listener for that","    event will receive an EventFacade containing references to the cell that has the focus,","    the row, column and, unless it is a header row, the record it corresponds to.","    The second argument will be the original EventFacade for the keyboard event.","","     @property keyActions","     @type {Object}","     @default Y.DataTable.keyNav.ARIA_ACTIONS","     */","","    keyActions: null,","","    /**","    Array containing the event handles to any event that might need to be detached","    on destruction.","    @property _keyNavSubscr","    @type Array","    @default null,","    @private","     */","    _keyNavSubscr: null,","","    /**","    Reference to the THead section that holds the headers for the datatable.","    For a Scrolling DataTable, it is the one visible to the user.","    @property _keyNavTHead","    @type Node","    @default: null","    @private","     */","    _keyNavTHead: null,","","    /**","    Indicates if the headers of the table are nested or not.","    Nested headers makes navigation in the headers much harder.","    @property _keyNavNestedHeaders","    @default false","    @private","     */","    _keyNavNestedHeaders: false,","","    /**","    CSS class name prefix for columns, used to search for a cell by key.","    @property _keyNavColPrefix","    @type String","    @default null (initialized via getClassname() )","    @private","     */","    _keyNavColPrefix:null,","","    /**","    Regular expression to extract the column key from a cell via its CSS class name.","    @property _keyNavColRegExp","    @type RegExp","    @default null (initialized based on _keyNavColPrefix)","    @private","     */","    _keyNavColRegExp:null,","","    initializer: function () {","        this.onceAfter('render', this._afterKeyNavRender);","        this._keyNavSubscr = [","            this.after('focusedCellChange', this._afterKeyNavFocusedCellChange),","            this.after('focusedChange', this._afterKeyNavFocusedChange)","        ];","        this._keyNavColPrefix = this.getClassName('col', '');","        this._keyNavColRegExp = new RegExp(this._keyNavColPrefix + '(.+?)(\\\\s|$)');","        this.keyActions = Y.clone(DtKeyNav.ARIA_ACTIONS);","","    },","","    destructor: function () {","        arrEach(this._keyNavSubscr, function (evHandle) {","            if (evHandle && evHandle.detach) {","                evHandle.detach();","            }","        });","    },","","    /**","    Sets the tabIndex on the focused cell and, if the DataTable has the focus,","    sets the focus on it.","","    @method _afterFocusedCellChange","    @param e {EventFacade}","    @private","    */","    _afterKeyNavFocusedCellChange: function (e) {","        var newVal  = e.newVal,","            prevVal = e.prevVal;","","        if (prevVal) {","            prevVal.set('tabIndex', -1);","        }","","        if (newVal) {","            newVal.set('tabIndex', 0);","","            if (this.get('focused')) {","                newVal.scrollIntoView();","                newVal.focus();","            }","        } else {","            this.set('focused', null);","        }","    },","","    /**","    When the DataTable gets the focus, it ensures the correct cell regains","    the focus.","","    @method _afterKeyNavFocusedChange","    @param e {EventFacade}","    @private","    */","    _afterKeyNavFocusedChange: function (e) {","        var cell = this.get('focusedCell');","        if (e.newVal) {","            if (cell) {","                cell.scrollIntoView();","                cell.focus();","            } else {","                this._keyMoveFirst();","            }","        } else {","            if (cell) {","                cell.blur();","            }","        }","    },","","    /**","    Subscribes to the events on the DataTable elements once they have been rendered,","    finds out the header section and makes the top-left element focusable.","","    @method _afterKeyNavRender","    @private","     */","    _afterKeyNavRender: function () {","        var cbx = this.get('contentBox');","        this._keyNavSubscr.push(","            cbx.on('keydown', this._onKeyNavKeyDown, this),","            cbx.on('click', this._onKeyNavClick, this)","        );","        this._keyNavTHead = (this._yScrollHeader || this._tableNode).one('thead');","        this._keyMoveFirst();","","        // determine if we have nested headers","        this._keyNavNestedHeaders = (this.get('columns').length !== this.head.theadNode.all('th').size());","    },","","    /**","    In response to a click event, it sets the focus on the clicked cell","","    @method _onKeyNavClick","    @param e {EventFacade}","    @private","     */","    _onKeyNavClick: function (e) {","        var cell = e.target.ancestor((this.get('keyIntoHeaders') ? 'td, th': 'td'), true);","        if (cell) {","            this.focus();","            this.set('focusedCell', cell);","        }","    },","","    /**","    Responds to a key down event by executing the action set in the","    [keyActions](#property_keyActions) table.","","    @method _onKeyNavKeyDown","    @param e {EventFacade}","    @private","    */","    _onKeyNavKeyDown: function (e) {","        var keyCode = e.keyCode,","            keyName = DtKeyNav.KEY_NAMES[keyCode] || keyCode,","            action;","","        arrEach(['alt', 'ctrl', 'meta', 'shift'], function (modifier) {","            if (e[modifier + 'Key']) {","                keyCode = modifier + '-' + keyCode;","                keyName = modifier + '-' + keyName;","            }","        });","        action = this.keyActions[keyCode] || this.keyActions[keyName];","","        if (typeof action === 'string') {","            if (this[action]) {","                this[action].call(this, e);","            } else {","                this._keyNavFireEvent(action, e);","            }","        } else {","            action.call(this, e);","        }","    },","","    /**","    If the action associated to a key combination is a string and no method","    by that name was found in this instance, this method will","    fire an event using that string and provides extra information","    to the listener.","","    @method _keyNavFireEvent","    @param action {String} Name of the event to fire","    @param e {EventFacade} Original facade from the keydown event.","    @private","     */","    _keyNavFireEvent: function (action, e) {","        var cell = e.target.ancestor('td, th', true);","        if (cell) {","            this.fire(action, {","                cell: cell,","                row: cell.ancestor('tr'),","                record: this.getRecord(cell),","                column: this.getColumn(cell.get('cellIndex'))","            }, e);","        }","    },","","    /**","    Sets the focus on the very first cell in the header of the table.","","    @method _keyMoveFirst","    @private","     */","    _keyMoveFirst: function () {","        this.set('focusedCell' , (this.get('keyIntoHeaders') ? this._keyNavTHead.one('th') : this._tbodyNode.one('td')), {src:'keyNav'});","    },","","    /**","    Sets the focus on the cell to the left of the currently focused one.","    Does not wrap, following the WAI-ARIA recommendation.","","    @method _keyMoveLeft","    @param e {EventFacade} Event Facade for the keydown event","    @private","    */","    _keyMoveLeft: function (e) {","        var cell = this.get('focusedCell'),","            index = cell.get('cellIndex'),","            row = cell.ancestor();","","        e.preventDefault();","","        if (index === 0) {","            return;","        }","        cell = row.get('cells').item(index - 1);","        this.set('focusedCell', cell , {src:'keyNav'});","    },","","    /**","    Sets the focus on the cell to the right of the currently focused one.","    Does not wrap, following the WAI-ARIA recommendation.","","    @method _keyMoveRight","    @param e {EventFacade} Event Facade for the keydown event","    @private","    */","    _keyMoveRight: function (e) {","        var cell = this.get('focusedCell'),","            row = cell.ancestor('tr'),","            section = row.ancestor(),","            inHead = section === this._keyNavTHead,","            nextCell,","            parent;","","        e.preventDefault();","","        // a little special with nested headers","        /*","            +-------------+-------+","            | ABC         | DE    |","            +-------+-----+---+---+","            | AB    |     |   |   |","            +---+---+     |   |   |","            | A | B |  C  | D | E |","            +---+---+-----+---+---+","        */","","        nextCell = cell.next();","","        if (row.get('rowIndex') !== 0 && inHead && this._keyNavNestedHeaders) {","            if (nextCell) {","                cell = nextCell;","            } else { //-- B -> C","                parent = this._getTHParent(cell);","","                if (parent && parent.next()) {","                    cell = parent.next();","                } else { //-- E -> ...","                    return;","                }","            }","","        } else {","            if (!nextCell) {","                return;","            } else {","                cell = nextCell;","            }","        }","","        this.set('focusedCell', cell, { src:'keyNav' });","","    },","","    /**","    Sets the focus on the cell above the currently focused one.","    It will move into the headers when the top of the data rows is reached.","    Does not wrap, following the WAI-ARIA recommendation.","","    @method _keyMoveUp","    @param e {EventFacade} Event Facade for the keydown event","    @private","    */","    _keyMoveUp: function (e) {","        var cell = this.get('focusedCell'),","            cellIndex = cell.get('cellIndex'),","            row = cell.ancestor('tr'),","            rowIndex = row.get('rowIndex'),","            section = row.ancestor(),","            sectionRows = section.get('rows'),","            inHead = section === this._keyNavTHead,","            parent;","","        e.preventDefault();","","        if (!inHead) {","            rowIndex -= section.get('firstChild').get('rowIndex');","        }","","        if (rowIndex === 0) {","            if (inHead || !this.get('keyIntoHeaders')) {","                return;","            }","","            section = this._keyNavTHead;","            sectionRows = section.get('rows');","","            if (this._keyNavNestedHeaders) {","                key = this._getCellColumnName(cell);","                cell = section.one('.' + this._keyNavColPrefix + key);","                cellIndex = cell.get('cellIndex');","                row = cell.ancestor('tr');","            } else {","                row = section.get('firstChild');","                cell = row.get('cells').item(cellIndex);","            }","        } else {","            if (inHead && this._keyNavNestedHeaders) {","                key = this._getCellColumnName(cell);","                parent = this._columnMap[key]._parent;","                if (parent) {","                    cell = section.one('#' + parent.id);","                }","            } else {","                row = sectionRows.item(rowIndex -1);","                cell = row.get('cells').item(cellIndex);","            }","        }","        this.set('focusedCell', cell);","    },","","    /**","    Sets the focus on the cell below the currently focused one.","    It will move into the data rows when the bottom of the header rows is reached.","    Does not wrap, following the WAI-ARIA recommendation.","","    @method _keyMoveDown","    @param e {EventFacade} Event Facade for the keydown event","    @private","    */","    _keyMoveDown: function (e) {","        var cell = this.get('focusedCell'),","            cellIndex = cell.get('cellIndex'),","            row = cell.ancestor('tr'),","            rowIndex = row.get('rowIndex') + 1,","            section = row.ancestor(),","            inHead = section === this._keyNavTHead,","            tbody = (this.body && this.body.tbodyNode),","            sectionRows = section.get('rows'),","            key,","            children;","","        e.preventDefault();","","        if (inHead) { // focused cell is in the header","            if (this._keyNavNestedHeaders) { // the header is nested","                key = this._getCellColumnName(cell);","                children = this._columnMap[key].children;","","                rowIndex += (cell.getAttribute('rowspan') || 1) - 1;","","                if (children) {","                    // stay in thead","                    cell = section.one('#' + children[0].id);","                } else {","                    // moving into tbody","                    cell = tbody.one('.' + this._keyNavColPrefix + key);","                    section = tbody;","                    sectionRows = section.get('rows');","                }","                cellIndex = cell.get('cellIndex');","","            } else { // the header is not nested","                row = tbody.one('tr');","                cell = row.get('cells').item(cellIndex);","            }","        }","","        // offset row index to tbody","        rowIndex -= sectionRows.item(0).get('rowIndex');","","","        if (rowIndex >= sectionRows.size()) {","            if (!inHead) { // last row in tbody","                return;","            }","            section = tbody;","            row = section.one('tr');","","        } else {","            row = sectionRows.item(rowIndex);","        }","","        this.set('focusedCell', row.get('cells').item(cellIndex));","    },","","    /**","    Sets the focus on the left-most cell of the row containing the currently focused cell.","","    @method _keyMoveRowStart","    @param e {EventFacade} Event Facade for the keydown event","    @private","     */","    _keyMoveRowStart: function (e) {","        var row = this.get('focusedCell').ancestor();","        this.set('focusedCell', row.get('firstChild'), {src:'keyNav'});","        e.preventDefault();","    },","","    /**","    Sets the focus on the right-most cell of the row containing the currently focused cell.","","    @method _keyMoveRowEnd","    @param e {EventFacade} Event Facade for the keydown event","    @private","     */","    _keyMoveRowEnd: function (e) {","        var row = this.get('focusedCell').ancestor();","        this.set('focusedCell', row.get('lastChild'), {src:'keyNav'});","        e.preventDefault();","    },","","    /**","    Sets the focus on the top-most cell of the column containing the currently focused cell.","    It would normally be a header cell.","","    @method _keyMoveColTop","    @param e {EventFacade} Event Facade for the keydown event","    @private","     */","    _keyMoveColTop: function (e) {","        var cell = this.get('focusedCell'),","            cellIndex = cell.get('cellIndex'),","            key, header;","","        e.preventDefault();","","        if (this._keyNavNestedHeaders && this.get('keyIntoHeaders')) {","            key = this._getCellColumnName(cell);","            header = this._columnMap[key];","            while (header._parent) {","                header = header._parent;","            }","            cell = this._keyNavTHead.one('#' + header.id);","","        } else {","            cell = (this.get('keyIntoHeaders') ? this._keyNavTHead: this._tbodyNode).get('firstChild').get('cells').item(cellIndex);","        }","        this.set('focusedCell', cell , {src:'keyNav'});","    },","","    /**","    Sets the focus on the last cell of the column containing the currently focused cell.","","    @method _keyMoveColBottom","    @param e {EventFacade} Event Facade for the keydown event","    @private","     */","    _keyMoveColBottom: function (e) {","        var cell = this.get('focusedCell'),","            cellIndex = cell.get('cellIndex');","","        this.set('focusedCell', this._tbodyNode.get('lastChild').get('cells').item(cellIndex), {src:'keyNav'});","        e.preventDefault();","","    },","","    /**","    Setter method for the [focusedCell](#attr_focusedCell) attribute.","    Checks that the passed value is a Node, either a TD or TH and is","    contained within the DataTable contentBox.","","    @method _focusedCellSetter","    @param cell {Node} DataTable cell to receive the focus","    @return cell or Y.Attribute.INVALID_VALUE","    @private","     */","    _focusedCellSetter: function (cell) {","        if (cell instanceof Y.Node) {","            var tag = cell.get('tagName').toUpperCase();","            if ((tag === 'TD' || tag === 'TH') && this.get('contentBox').contains(cell) ) {","                return cell;","            }","        } else if (cell === null) {","            return cell;","        }","        return Y.Attribute.INVALID_VALUE;","    },","","    /**","     Retrieves the parent cell of the given TH cell. If there is no parent for","     the provided cell, null is returned.","     @protected","     @method _getTHParent","     @param {Node} thCell Cell to find parent of","     @return {Node} Parent of the cell provided or null","     */","    _getTHParent: function (thCell) {","        var key = this._getCellColumnName(thCell),","            parent = this._columnMap[key] && this._columnMap[key]._parent;","","        if (parent) {","            return thCell.ancestor().ancestor().one('.' + this._keyNavColPrefix + parent.key);","        }","","        return null;","    },","","    /**","     Retrieves the column name based from the data attribute on the cell if","     available. Other wise, extracts the column name from the classname","     @protected","     @method _getCellColumnName","     @param {Node} cell Cell to get column name from","     @return String Column name of the provided cell","     */","    _getCellColumnName: function (cell) {","        return cell.getData('yui3-col-id') || this._keyNavColRegExp.exec(cell.get('className'))[1];","    }","});","","Y.DataTable.KeyNav = DtKeyNav;","Y.Base.mix(Y.DataTable, [DtKeyNav]);","","","}, '@VERSION@', {\"requires\": [\"datatable-base\"]});","","}());"]};
+}
+var __cov_yXpCstAjqUUA1$1DzM0b8A = __coverage__['build/datatable-keynav/datatable-keynav.js'];
+__cov_yXpCstAjqUUA1$1DzM0b8A.s['1']++;YUI.add('datatable-keynav',function(Y,NAME){__cov_yXpCstAjqUUA1$1DzM0b8A.f['1']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['2']++;var arrEach=Y.Array.each,DtKeyNav=function(){__cov_yXpCstAjqUUA1$1DzM0b8A.f['2']++;};__cov_yXpCstAjqUUA1$1DzM0b8A.s['3']++;DtKeyNav.KEY_NAMES={8:'backspace',9:'tab',13:'enter',27:'esc',32:'space',33:'pgup',34:'pgdown',35:'end',36:'home',37:'left',38:'up',39:'right',40:'down',112:'f1',113:'f2',114:'f3',115:'f4',116:'f5',117:'f6',118:'f7',119:'f8',120:'f9',121:'f10',122:'f11',123:'f12'};__cov_yXpCstAjqUUA1$1DzM0b8A.s['4']++;DtKeyNav.ARIA_ACTIONS={left:'_keyMoveLeft',right:'_keyMoveRight',up:'_keyMoveUp',down:'_keyMoveDown',home:'_keyMoveRowStart',end:'_keyMoveRowEnd',pgup:'_keyMoveColTop',pgdown:'_keyMoveColBottom'};__cov_yXpCstAjqUUA1$1DzM0b8A.s['5']++;DtKeyNav.ATTRS={focusedCell:{setter:'_focusedCellSetter'},keyIntoHeaders:{value:true}};__cov_yXpCstAjqUUA1$1DzM0b8A.s['6']++;Y.mix(DtKeyNav.prototype,{keyActions:null,_keyNavSubscr:null,_keyNavTHead:null,_keyNavNestedHeaders:false,_keyNavColPrefix:null,_keyNavColRegExp:null,initializer:function(){__cov_yXpCstAjqUUA1$1DzM0b8A.f['3']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['7']++;this.onceAfter('render',this._afterKeyNavRender);__cov_yXpCstAjqUUA1$1DzM0b8A.s['8']++;this._keyNavSubscr=[this.after('focusedCellChange',this._afterKeyNavFocusedCellChange),this.after('focusedChange',this._afterKeyNavFocusedChange)];__cov_yXpCstAjqUUA1$1DzM0b8A.s['9']++;this._keyNavColPrefix=this.getClassName('col','');__cov_yXpCstAjqUUA1$1DzM0b8A.s['10']++;this._keyNavColRegExp=new RegExp(this._keyNavColPrefix+'(.+?)(\\s|$)');__cov_yXpCstAjqUUA1$1DzM0b8A.s['11']++;this.keyActions=Y.clone(DtKeyNav.ARIA_ACTIONS);},destructor:function(){__cov_yXpCstAjqUUA1$1DzM0b8A.f['4']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['12']++;arrEach(this._keyNavSubscr,function(evHandle){__cov_yXpCstAjqUUA1$1DzM0b8A.f['5']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['13']++;if((__cov_yXpCstAjqUUA1$1DzM0b8A.b['2'][0]++,evHandle)&&(__cov_yXpCstAjqUUA1$1DzM0b8A.b['2'][1]++,evHandle.detach)){__cov_yXpCstAjqUUA1$1DzM0b8A.b['1'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['14']++;evHandle.detach();}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['1'][1]++;}});},_afterKeyNavFocusedCellChange:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['6']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['15']++;var newVal=e.newVal,prevVal=e.prevVal;__cov_yXpCstAjqUUA1$1DzM0b8A.s['16']++;if(prevVal){__cov_yXpCstAjqUUA1$1DzM0b8A.b['3'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['17']++;prevVal.set('tabIndex',-1);}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['3'][1]++;}__cov_yXpCstAjqUUA1$1DzM0b8A.s['18']++;if(newVal){__cov_yXpCstAjqUUA1$1DzM0b8A.b['4'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['19']++;newVal.set('tabIndex',0);__cov_yXpCstAjqUUA1$1DzM0b8A.s['20']++;if(this.get('focused')){__cov_yXpCstAjqUUA1$1DzM0b8A.b['5'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['21']++;newVal.scrollIntoView();__cov_yXpCstAjqUUA1$1DzM0b8A.s['22']++;newVal.focus();}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['5'][1]++;}}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['4'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['23']++;this.set('focused',null);}},_afterKeyNavFocusedChange:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['7']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['24']++;var cell=this.get('focusedCell');__cov_yXpCstAjqUUA1$1DzM0b8A.s['25']++;if(e.newVal){__cov_yXpCstAjqUUA1$1DzM0b8A.b['6'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['26']++;if(cell){__cov_yXpCstAjqUUA1$1DzM0b8A.b['7'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['27']++;cell.scrollIntoView();__cov_yXpCstAjqUUA1$1DzM0b8A.s['28']++;cell.focus();}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['7'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['29']++;this._keyMoveFirst();}}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['6'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['30']++;if(cell){__cov_yXpCstAjqUUA1$1DzM0b8A.b['8'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['31']++;cell.blur();}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['8'][1]++;}}},_afterKeyNavRender:function(){__cov_yXpCstAjqUUA1$1DzM0b8A.f['8']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['32']++;var cbx=this.get('contentBox');__cov_yXpCstAjqUUA1$1DzM0b8A.s['33']++;this._keyNavSubscr.push(cbx.on('keydown',this._onKeyNavKeyDown,this),cbx.on('click',this._onKeyNavClick,this));__cov_yXpCstAjqUUA1$1DzM0b8A.s['34']++;this._keyNavTHead=((__cov_yXpCstAjqUUA1$1DzM0b8A.b['9'][0]++,this._yScrollHeader)||(__cov_yXpCstAjqUUA1$1DzM0b8A.b['9'][1]++,this._tableNode)).one('thead');__cov_yXpCstAjqUUA1$1DzM0b8A.s['35']++;this._keyMoveFirst();__cov_yXpCstAjqUUA1$1DzM0b8A.s['36']++;this._keyNavNestedHeaders=this.get('columns').length!==this.head.theadNode.all('th').size();},_onKeyNavClick:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['9']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['37']++;var cell=e.target.ancestor(this.get('keyIntoHeaders')?(__cov_yXpCstAjqUUA1$1DzM0b8A.b['10'][0]++,'td, th'):(__cov_yXpCstAjqUUA1$1DzM0b8A.b['10'][1]++,'td'),true);__cov_yXpCstAjqUUA1$1DzM0b8A.s['38']++;if(cell){__cov_yXpCstAjqUUA1$1DzM0b8A.b['11'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['39']++;this.focus();__cov_yXpCstAjqUUA1$1DzM0b8A.s['40']++;this.set('focusedCell',cell);}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['11'][1]++;}},_onKeyNavKeyDown:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['10']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['41']++;var keyCode=e.keyCode,keyName=(__cov_yXpCstAjqUUA1$1DzM0b8A.b['12'][0]++,DtKeyNav.KEY_NAMES[keyCode])||(__cov_yXpCstAjqUUA1$1DzM0b8A.b['12'][1]++,keyCode),action;__cov_yXpCstAjqUUA1$1DzM0b8A.s['42']++;arrEach(['alt','ctrl','meta','shift'],function(modifier){__cov_yXpCstAjqUUA1$1DzM0b8A.f['11']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['43']++;if(e[modifier+'Key']){__cov_yXpCstAjqUUA1$1DzM0b8A.b['13'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['44']++;keyCode=modifier+'-'+keyCode;__cov_yXpCstAjqUUA1$1DzM0b8A.s['45']++;keyName=modifier+'-'+keyName;}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['13'][1]++;}});__cov_yXpCstAjqUUA1$1DzM0b8A.s['46']++;action=(__cov_yXpCstAjqUUA1$1DzM0b8A.b['14'][0]++,this.keyActions[keyCode])||(__cov_yXpCstAjqUUA1$1DzM0b8A.b['14'][1]++,this.keyActions[keyName]);__cov_yXpCstAjqUUA1$1DzM0b8A.s['47']++;if(typeof action==='string'){__cov_yXpCstAjqUUA1$1DzM0b8A.b['15'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['48']++;if(this[action]){__cov_yXpCstAjqUUA1$1DzM0b8A.b['16'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['49']++;this[action].call(this,e);}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['16'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['50']++;this._keyNavFireEvent(action,e);}}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['15'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['51']++;action.call(this,e);}},_keyNavFireEvent:function(action,e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['12']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['52']++;var cell=e.target.ancestor('td, th',true);__cov_yXpCstAjqUUA1$1DzM0b8A.s['53']++;if(cell){__cov_yXpCstAjqUUA1$1DzM0b8A.b['17'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['54']++;this.fire(action,{cell:cell,row:cell.ancestor('tr'),record:this.getRecord(cell),column:this.getColumn(cell.get('cellIndex'))},e);}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['17'][1]++;}},_keyMoveFirst:function(){__cov_yXpCstAjqUUA1$1DzM0b8A.f['13']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['55']++;this.set('focusedCell',this.get('keyIntoHeaders')?(__cov_yXpCstAjqUUA1$1DzM0b8A.b['18'][0]++,this._keyNavTHead.one('th')):(__cov_yXpCstAjqUUA1$1DzM0b8A.b['18'][1]++,this._tbodyNode.one('td')),{src:'keyNav'});},_keyMoveLeft:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['14']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['56']++;var cell=this.get('focusedCell'),index=cell.get('cellIndex'),row=cell.ancestor();__cov_yXpCstAjqUUA1$1DzM0b8A.s['57']++;e.preventDefault();__cov_yXpCstAjqUUA1$1DzM0b8A.s['58']++;if(index===0){__cov_yXpCstAjqUUA1$1DzM0b8A.b['19'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['59']++;return;}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['19'][1]++;}__cov_yXpCstAjqUUA1$1DzM0b8A.s['60']++;cell=row.get('cells').item(index-1);__cov_yXpCstAjqUUA1$1DzM0b8A.s['61']++;this.set('focusedCell',cell,{src:'keyNav'});},_keyMoveRight:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['15']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['62']++;var cell=this.get('focusedCell'),row=cell.ancestor('tr'),section=row.ancestor(),inHead=section===this._keyNavTHead,nextCell,parent;__cov_yXpCstAjqUUA1$1DzM0b8A.s['63']++;e.preventDefault();__cov_yXpCstAjqUUA1$1DzM0b8A.s['64']++;nextCell=cell.next();__cov_yXpCstAjqUUA1$1DzM0b8A.s['65']++;if((__cov_yXpCstAjqUUA1$1DzM0b8A.b['21'][0]++,row.get('rowIndex')!==0)&&(__cov_yXpCstAjqUUA1$1DzM0b8A.b['21'][1]++,inHead)&&(__cov_yXpCstAjqUUA1$1DzM0b8A.b['21'][2]++,this._keyNavNestedHeaders)){__cov_yXpCstAjqUUA1$1DzM0b8A.b['20'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['66']++;if(nextCell){__cov_yXpCstAjqUUA1$1DzM0b8A.b['22'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['67']++;cell=nextCell;}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['22'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['68']++;parent=this._getTHParent(cell);__cov_yXpCstAjqUUA1$1DzM0b8A.s['69']++;if((__cov_yXpCstAjqUUA1$1DzM0b8A.b['24'][0]++,parent)&&(__cov_yXpCstAjqUUA1$1DzM0b8A.b['24'][1]++,parent.next())){__cov_yXpCstAjqUUA1$1DzM0b8A.b['23'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['70']++;cell=parent.next();}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['23'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['71']++;return;}}}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['20'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['72']++;if(!nextCell){__cov_yXpCstAjqUUA1$1DzM0b8A.b['25'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['73']++;return;}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['25'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['74']++;cell=nextCell;}}__cov_yXpCstAjqUUA1$1DzM0b8A.s['75']++;this.set('focusedCell',cell,{src:'keyNav'});},_keyMoveUp:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['16']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['76']++;var cell=this.get('focusedCell'),cellIndex=cell.get('cellIndex'),row=cell.ancestor('tr'),rowIndex=row.get('rowIndex'),section=row.ancestor(),sectionRows=section.get('rows'),inHead=section===this._keyNavTHead,parent;__cov_yXpCstAjqUUA1$1DzM0b8A.s['77']++;e.preventDefault();__cov_yXpCstAjqUUA1$1DzM0b8A.s['78']++;if(!inHead){__cov_yXpCstAjqUUA1$1DzM0b8A.b['26'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['79']++;rowIndex-=section.get('firstChild').get('rowIndex');}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['26'][1]++;}__cov_yXpCstAjqUUA1$1DzM0b8A.s['80']++;if(rowIndex===0){__cov_yXpCstAjqUUA1$1DzM0b8A.b['27'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['81']++;if((__cov_yXpCstAjqUUA1$1DzM0b8A.b['29'][0]++,inHead)||(__cov_yXpCstAjqUUA1$1DzM0b8A.b['29'][1]++,!this.get('keyIntoHeaders'))){__cov_yXpCstAjqUUA1$1DzM0b8A.b['28'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['82']++;return;}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['28'][1]++;}__cov_yXpCstAjqUUA1$1DzM0b8A.s['83']++;section=this._keyNavTHead;__cov_yXpCstAjqUUA1$1DzM0b8A.s['84']++;sectionRows=section.get('rows');__cov_yXpCstAjqUUA1$1DzM0b8A.s['85']++;if(this._keyNavNestedHeaders){__cov_yXpCstAjqUUA1$1DzM0b8A.b['30'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['86']++;key=this._getCellColumnName(cell);__cov_yXpCstAjqUUA1$1DzM0b8A.s['87']++;cell=section.one('.'+this._keyNavColPrefix+key);__cov_yXpCstAjqUUA1$1DzM0b8A.s['88']++;cellIndex=cell.get('cellIndex');__cov_yXpCstAjqUUA1$1DzM0b8A.s['89']++;row=cell.ancestor('tr');}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['30'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['90']++;row=section.get('firstChild');__cov_yXpCstAjqUUA1$1DzM0b8A.s['91']++;cell=row.get('cells').item(cellIndex);}}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['27'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['92']++;if((__cov_yXpCstAjqUUA1$1DzM0b8A.b['32'][0]++,inHead)&&(__cov_yXpCstAjqUUA1$1DzM0b8A.b['32'][1]++,this._keyNavNestedHeaders)){__cov_yXpCstAjqUUA1$1DzM0b8A.b['31'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['93']++;key=this._getCellColumnName(cell);__cov_yXpCstAjqUUA1$1DzM0b8A.s['94']++;parent=this._columnMap[key]._parent;__cov_yXpCstAjqUUA1$1DzM0b8A.s['95']++;if(parent){__cov_yXpCstAjqUUA1$1DzM0b8A.b['33'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['96']++;cell=section.one('#'+parent.id);}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['33'][1]++;}}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['31'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['97']++;row=sectionRows.item(rowIndex-1);__cov_yXpCstAjqUUA1$1DzM0b8A.s['98']++;cell=row.get('cells').item(cellIndex);}}__cov_yXpCstAjqUUA1$1DzM0b8A.s['99']++;this.set('focusedCell',cell);},_keyMoveDown:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['17']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['100']++;var cell=this.get('focusedCell'),cellIndex=cell.get('cellIndex'),row=cell.ancestor('tr'),rowIndex=row.get('rowIndex')+1,section=row.ancestor(),inHead=section===this._keyNavTHead,tbody=(__cov_yXpCstAjqUUA1$1DzM0b8A.b['34'][0]++,this.body)&&(__cov_yXpCstAjqUUA1$1DzM0b8A.b['34'][1]++,this.body.tbodyNode),sectionRows=section.get('rows'),key,children;__cov_yXpCstAjqUUA1$1DzM0b8A.s['101']++;e.preventDefault();__cov_yXpCstAjqUUA1$1DzM0b8A.s['102']++;if(inHead){__cov_yXpCstAjqUUA1$1DzM0b8A.b['35'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['103']++;if(this._keyNavNestedHeaders){__cov_yXpCstAjqUUA1$1DzM0b8A.b['36'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['104']++;key=this._getCellColumnName(cell);__cov_yXpCstAjqUUA1$1DzM0b8A.s['105']++;children=this._columnMap[key].children;__cov_yXpCstAjqUUA1$1DzM0b8A.s['106']++;rowIndex+=((__cov_yXpCstAjqUUA1$1DzM0b8A.b['37'][0]++,cell.getAttribute('rowspan'))||(__cov_yXpCstAjqUUA1$1DzM0b8A.b['37'][1]++,1))-1;__cov_yXpCstAjqUUA1$1DzM0b8A.s['107']++;if(children){__cov_yXpCstAjqUUA1$1DzM0b8A.b['38'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['108']++;cell=section.one('#'+children[0].id);}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['38'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['109']++;cell=tbody.one('.'+this._keyNavColPrefix+key);__cov_yXpCstAjqUUA1$1DzM0b8A.s['110']++;section=tbody;__cov_yXpCstAjqUUA1$1DzM0b8A.s['111']++;sectionRows=section.get('rows');}__cov_yXpCstAjqUUA1$1DzM0b8A.s['112']++;cellIndex=cell.get('cellIndex');}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['36'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['113']++;row=tbody.one('tr');__cov_yXpCstAjqUUA1$1DzM0b8A.s['114']++;cell=row.get('cells').item(cellIndex);}}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['35'][1]++;}__cov_yXpCstAjqUUA1$1DzM0b8A.s['115']++;rowIndex-=sectionRows.item(0).get('rowIndex');__cov_yXpCstAjqUUA1$1DzM0b8A.s['116']++;if(rowIndex>=sectionRows.size()){__cov_yXpCstAjqUUA1$1DzM0b8A.b['39'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['117']++;if(!inHead){__cov_yXpCstAjqUUA1$1DzM0b8A.b['40'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['118']++;return;}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['40'][1]++;}__cov_yXpCstAjqUUA1$1DzM0b8A.s['119']++;section=tbody;__cov_yXpCstAjqUUA1$1DzM0b8A.s['120']++;row=section.one('tr');}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['39'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['121']++;row=sectionRows.item(rowIndex);}__cov_yXpCstAjqUUA1$1DzM0b8A.s['122']++;this.set('focusedCell',row.get('cells').item(cellIndex));},_keyMoveRowStart:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['18']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['123']++;var row=this.get('focusedCell').ancestor();__cov_yXpCstAjqUUA1$1DzM0b8A.s['124']++;this.set('focusedCell',row.get('firstChild'),{src:'keyNav'});__cov_yXpCstAjqUUA1$1DzM0b8A.s['125']++;e.preventDefault();},_keyMoveRowEnd:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['19']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['126']++;var row=this.get('focusedCell').ancestor();__cov_yXpCstAjqUUA1$1DzM0b8A.s['127']++;this.set('focusedCell',row.get('lastChild'),{src:'keyNav'});__cov_yXpCstAjqUUA1$1DzM0b8A.s['128']++;e.preventDefault();},_keyMoveColTop:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['20']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['129']++;var cell=this.get('focusedCell'),cellIndex=cell.get('cellIndex'),key,header;__cov_yXpCstAjqUUA1$1DzM0b8A.s['130']++;e.preventDefault();__cov_yXpCstAjqUUA1$1DzM0b8A.s['131']++;if((__cov_yXpCstAjqUUA1$1DzM0b8A.b['42'][0]++,this._keyNavNestedHeaders)&&(__cov_yXpCstAjqUUA1$1DzM0b8A.b['42'][1]++,this.get('keyIntoHeaders'))){__cov_yXpCstAjqUUA1$1DzM0b8A.b['41'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['132']++;key=this._getCellColumnName(cell);__cov_yXpCstAjqUUA1$1DzM0b8A.s['133']++;header=this._columnMap[key];__cov_yXpCstAjqUUA1$1DzM0b8A.s['134']++;while(header._parent){__cov_yXpCstAjqUUA1$1DzM0b8A.s['135']++;header=header._parent;}__cov_yXpCstAjqUUA1$1DzM0b8A.s['136']++;cell=this._keyNavTHead.one('#'+header.id);}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['41'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['137']++;cell=(this.get('keyIntoHeaders')?(__cov_yXpCstAjqUUA1$1DzM0b8A.b['43'][0]++,this._keyNavTHead):(__cov_yXpCstAjqUUA1$1DzM0b8A.b['43'][1]++,this._tbodyNode)).get('firstChild').get('cells').item(cellIndex);}__cov_yXpCstAjqUUA1$1DzM0b8A.s['138']++;this.set('focusedCell',cell,{src:'keyNav'});},_keyMoveColBottom:function(e){__cov_yXpCstAjqUUA1$1DzM0b8A.f['21']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['139']++;var cell=this.get('focusedCell'),cellIndex=cell.get('cellIndex');__cov_yXpCstAjqUUA1$1DzM0b8A.s['140']++;this.set('focusedCell',this._tbodyNode.get('lastChild').get('cells').item(cellIndex),{src:'keyNav'});__cov_yXpCstAjqUUA1$1DzM0b8A.s['141']++;e.preventDefault();},_focusedCellSetter:function(cell){__cov_yXpCstAjqUUA1$1DzM0b8A.f['22']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['142']++;if(cell instanceof Y.Node){__cov_yXpCstAjqUUA1$1DzM0b8A.b['44'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['143']++;var tag=cell.get('tagName').toUpperCase();__cov_yXpCstAjqUUA1$1DzM0b8A.s['144']++;if(((__cov_yXpCstAjqUUA1$1DzM0b8A.b['46'][0]++,tag==='TD')||(__cov_yXpCstAjqUUA1$1DzM0b8A.b['46'][1]++,tag==='TH'))&&(__cov_yXpCstAjqUUA1$1DzM0b8A.b['46'][2]++,this.get('contentBox').contains(cell))){__cov_yXpCstAjqUUA1$1DzM0b8A.b['45'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['145']++;return cell;}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['45'][1]++;}}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['44'][1]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['146']++;if(cell===null){__cov_yXpCstAjqUUA1$1DzM0b8A.b['47'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['147']++;return cell;}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['47'][1]++;}}__cov_yXpCstAjqUUA1$1DzM0b8A.s['148']++;return Y.Attribute.INVALID_VALUE;},_getTHParent:function(thCell){__cov_yXpCstAjqUUA1$1DzM0b8A.f['23']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['149']++;var key=this._getCellColumnName(thCell),parent=(__cov_yXpCstAjqUUA1$1DzM0b8A.b['48'][0]++,this._columnMap[key])&&(__cov_yXpCstAjqUUA1$1DzM0b8A.b['48'][1]++,this._columnMap[key]._parent);__cov_yXpCstAjqUUA1$1DzM0b8A.s['150']++;if(parent){__cov_yXpCstAjqUUA1$1DzM0b8A.b['49'][0]++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['151']++;return thCell.ancestor().ancestor().one('.'+this._keyNavColPrefix+parent.key);}else{__cov_yXpCstAjqUUA1$1DzM0b8A.b['49'][1]++;}__cov_yXpCstAjqUUA1$1DzM0b8A.s['152']++;return null;},_getCellColumnName:function(cell){__cov_yXpCstAjqUUA1$1DzM0b8A.f['24']++;__cov_yXpCstAjqUUA1$1DzM0b8A.s['153']++;return(__cov_yXpCstAjqUUA1$1DzM0b8A.b['50'][0]++,cell.getData('yui3-col-id'))||(__cov_yXpCstAjqUUA1$1DzM0b8A.b['50'][1]++,this._keyNavColRegExp.exec(cell.get('className'))[1]);}});__cov_yXpCstAjqUUA1$1DzM0b8A.s['154']++;Y.DataTable.KeyNav=DtKeyNav;__cov_yXpCstAjqUUA1$1DzM0b8A.s['155']++;Y.Base.mix(Y.DataTable,[DtKeyNav]);},'@VERSION@',{'requires':['datatable-base']});