text: if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
  if (!__coverage__['build/anim-base/anim-base.js']) {
     __coverage__['build/anim-base/anim-base.js'] = {"path":"build/anim-base/anim-base.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,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0,"163":0,"164":0,"165":0,"166":0,"167":0,"168":0,"169":0,"170":0,"171":0,"172":0,"173":0,"174":0,"175":0,"176":0,"177":0,"178":0,"179":0,"180":0},"b":{"1":[0,0],"2":[0,0],"3":[0,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,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],"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],"47":[0,0],"48":[0,0],"49":[0,0],"50":[0,0],"51":[0,0],"52":[0,0],"53":[0,0],"54":[0,0],"55":[0,0],"56":[0,0],"57":[0,0],"58":[0,0],"59":[0,0],"60":[0,0],"61":[0,0],"62":[0,0],"63":[0,0],"64":[0,0],"65":[0,0],"66":[0,0],"67":[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,"25":0,"26":0,"27":0,"28":0,"29":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":40}}},"2":{"name":"(anonymous_2)","line":60,"loc":{"start":{"line":60,"column":13},"end":{"line":60,"column":24}}},"3":{"name":"(anonymous_3)","line":85,"loc":{"start":{"line":85,"column":28},"end":{"line":85,"column":50}}},"4":{"name":"(anonymous_4)","line":106,"loc":{"start":{"line":106,"column":17},"end":{"line":106,"column":38}}},"5":{"name":"(anonymous_5)","line":120,"loc":{"start":{"line":120,"column":28},"end":{"line":120,"column":87}}},"6":{"name":"(anonymous_6)","line":147,"loc":{"start":{"line":147,"column":28},"end":{"line":147,"column":48}}},"7":{"name":"(anonymous_7)","line":176,"loc":{"start":{"line":176,"column":20},"end":{"line":176,"column":35}}},"8":{"name":"(anonymous_8)","line":208,"loc":{"start":{"line":208,"column":20},"end":{"line":208,"column":34}}},"9":{"name":"(anonymous_9)","line":281,"loc":{"start":{"line":281,"column":20},"end":{"line":281,"column":31}}},"10":{"name":"(anonymous_10)","line":355,"loc":{"start":{"line":355,"column":17},"end":{"line":355,"column":28}}},"11":{"name":"(anonymous_11)","line":370,"loc":{"start":{"line":370,"column":19},"end":{"line":370,"column":30}}},"12":{"name":"(anonymous_12)","line":385,"loc":{"start":{"line":385,"column":18},"end":{"line":385,"column":29}}},"13":{"name":"(anonymous_13)","line":394,"loc":{"start":{"line":394,"column":25},"end":{"line":394,"column":36}}},"14":{"name":"(anonymous_14)","line":400,"loc":{"start":{"line":400,"column":24},"end":{"line":400,"column":35}}},"15":{"name":"(anonymous_15)","line":411,"loc":{"start":{"line":411,"column":23},"end":{"line":411,"column":34}}},"16":{"name":"(anonymous_16)","line":434,"loc":{"start":{"line":434,"column":13},"end":{"line":434,"column":24}}},"17":{"name":"(anonymous_17)","line":450,"loc":{"start":{"line":450,"column":15},"end":{"line":450,"column":26}}},"18":{"name":"(anonymous_18)","line":463,"loc":{"start":{"line":463,"column":14},"end":{"line":463,"column":31}}},"19":{"name":"(anonymous_19)","line":472,"loc":{"start":{"line":472,"column":16},"end":{"line":472,"column":27}}},"20":{"name":"(anonymous_20)","line":484,"loc":{"start":{"line":484,"column":16},"end":{"line":484,"column":27}}},"21":{"name":"(anonymous_21)","line":498,"loc":{"start":{"line":498,"column":17},"end":{"line":498,"column":28}}},"22":{"name":"(anonymous_22)","line":513,"loc":{"start":{"line":513,"column":14},"end":{"line":513,"column":31}}},"23":{"name":"(anonymous_23)","line":527,"loc":{"start":{"line":527,"column":19},"end":{"line":527,"column":30}}},"24":{"name":"(anonymous_24)","line":543,"loc":{"start":{"line":543,"column":19},"end":{"line":543,"column":43}}},"25":{"name":"(anonymous_25)","line":579,"loc":{"start":{"line":579,"column":20},"end":{"line":579,"column":31}}},"26":{"name":"(anonymous_26)","line":604,"loc":{"start":{"line":604,"column":23},"end":{"line":604,"column":34}}},"27":{"name":"(anonymous_27)","line":615,"loc":{"start":{"line":615,"column":23},"end":{"line":615,"column":43}}},"28":{"name":"(anonymous_28)","line":657,"loc":{"start":{"line":657,"column":20},"end":{"line":657,"column":35}}},"29":{"name":"(anonymous_29)","line":677,"loc":{"start":{"line":677,"column":20},"end":{"line":677,"column":31}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":685,"column":73}},"2":{"start":{"line":23,"column":4},"end":{"line":55,"column":21}},"3":{"start":{"line":57,"column":4},"end":{"line":58,"column":15}},"4":{"start":{"line":60,"column":4},"end":{"line":63,"column":6}},"5":{"start":{"line":61,"column":8},"end":{"line":61,"column":61}},"6":{"start":{"line":62,"column":8},"end":{"line":62,"column":48}},"7":{"start":{"line":65,"column":4},"end":{"line":65,"column":25}},"8":{"start":{"line":67,"column":4},"end":{"line":67,"column":27}},"9":{"start":{"line":75,"column":4},"end":{"line":75,"column":97}},"10":{"start":{"line":83,"column":4},"end":{"line":83,"column":31}},"11":{"start":{"line":85,"column":4},"end":{"line":87,"column":6}},"12":{"start":{"line":86,"column":8},"end":{"line":86,"column":29}},"13":{"start":{"line":96,"column":4},"end":{"line":96,"column":30}},"14":{"start":{"line":104,"column":4},"end":{"line":110,"column":6}},"15":{"start":{"line":107,"column":16},"end":{"line":107,"column":45}},"16":{"start":{"line":112,"column":4},"end":{"line":112,"column":49}},"17":{"start":{"line":120,"column":4},"end":{"line":139,"column":6}},"18":{"start":{"line":121,"column":8},"end":{"line":123,"column":72}},"19":{"start":{"line":125,"column":8},"end":{"line":138,"column":9}},"20":{"start":{"line":126,"column":12},"end":{"line":133,"column":13}},"21":{"start":{"line":127,"column":16},"end":{"line":127,"column":34}},"22":{"start":{"line":128,"column":16},"end":{"line":128,"column":47}},"23":{"start":{"line":129,"column":19},"end":{"line":133,"column":13}},"24":{"start":{"line":130,"column":16},"end":{"line":130,"column":44}},"25":{"start":{"line":131,"column":19},"end":{"line":133,"column":13}},"26":{"start":{"line":132,"column":16},"end":{"line":132,"column":35}},"27":{"start":{"line":134,"column":15},"end":{"line":138,"column":9}},"28":{"start":{"line":135,"column":12},"end":{"line":135,"column":31}},"29":{"start":{"line":136,"column":15},"end":{"line":138,"column":9}},"30":{"start":{"line":137,"column":12},"end":{"line":137,"column":28}},"31":{"start":{"line":147,"column":4},"end":{"line":167,"column":6}},"32":{"start":{"line":148,"column":8},"end":{"line":150,"column":21}},"33":{"start":{"line":152,"column":8},"end":{"line":164,"column":9}},"34":{"start":{"line":153,"column":12},"end":{"line":159,"column":13}},"35":{"start":{"line":154,"column":16},"end":{"line":154,"column":49}},"36":{"start":{"line":155,"column":19},"end":{"line":159,"column":13}},"37":{"start":{"line":156,"column":16},"end":{"line":156,"column":45}},"38":{"start":{"line":157,"column":19},"end":{"line":159,"column":13}},"39":{"start":{"line":158,"column":16},"end":{"line":158,"column":35}},"40":{"start":{"line":160,"column":15},"end":{"line":164,"column":9}},"41":{"start":{"line":161,"column":12},"end":{"line":161,"column":32}},"42":{"start":{"line":162,"column":15},"end":{"line":164,"column":9}},"43":{"start":{"line":163,"column":12},"end":{"line":163,"column":28}},"44":{"start":{"line":166,"column":8},"end":{"line":166,"column":19}},"45":{"start":{"line":169,"column":4},"end":{"line":348,"column":6}},"46":{"start":{"line":177,"column":16},"end":{"line":181,"column":17}},"47":{"start":{"line":178,"column":20},"end":{"line":180,"column":21}},"48":{"start":{"line":179,"column":24},"end":{"line":179,"column":43}},"49":{"start":{"line":183,"column":16},"end":{"line":183,"column":34}},"50":{"start":{"line":184,"column":16},"end":{"line":185,"column":17}},"51":{"start":{"line":186,"column":16},"end":{"line":186,"column":28}},"52":{"start":{"line":209,"column":16},"end":{"line":211,"column":17}},"53":{"start":{"line":210,"column":20},"end":{"line":210,"column":41}},"54":{"start":{"line":282,"column":16},"end":{"line":282,"column":49}},"55":{"start":{"line":355,"column":4},"end":{"line":363,"column":6}},"56":{"start":{"line":356,"column":8},"end":{"line":357,"column":14}},"57":{"start":{"line":358,"column":8},"end":{"line":362,"column":9}},"58":{"start":{"line":359,"column":12},"end":{"line":361,"column":13}},"59":{"start":{"line":360,"column":16},"end":{"line":360,"column":35}},"60":{"start":{"line":370,"column":4},"end":{"line":378,"column":6}},"61":{"start":{"line":371,"column":8},"end":{"line":375,"column":9}},"62":{"start":{"line":372,"column":12},"end":{"line":374,"column":13}},"63":{"start":{"line":373,"column":16},"end":{"line":373,"column":36}},"64":{"start":{"line":377,"column":8},"end":{"line":377,"column":28}},"65":{"start":{"line":385,"column":4},"end":{"line":392,"column":6}},"66":{"start":{"line":386,"column":8},"end":{"line":390,"column":9}},"67":{"start":{"line":387,"column":12},"end":{"line":389,"column":13}},"68":{"start":{"line":388,"column":16},"end":{"line":388,"column":35}},"69":{"start":{"line":391,"column":8},"end":{"line":391,"column":28}},"70":{"start":{"line":394,"column":4},"end":{"line":398,"column":6}},"71":{"start":{"line":395,"column":8},"end":{"line":397,"column":9}},"72":{"start":{"line":396,"column":12},"end":{"line":396,"column":73}},"73":{"start":{"line":400,"column":4},"end":{"line":403,"column":6}},"74":{"start":{"line":401,"column":8},"end":{"line":401,"column":30}},"75":{"start":{"line":402,"column":8},"end":{"line":402,"column":19}},"76":{"start":{"line":411,"column":4},"end":{"line":424,"column":6}},"77":{"start":{"line":412,"column":8},"end":{"line":413,"column":17}},"78":{"start":{"line":414,"column":8},"end":{"line":419,"column":9}},"79":{"start":{"line":415,"column":12},"end":{"line":418,"column":13}},"80":{"start":{"line":416,"column":16},"end":{"line":416,"column":29}},"81":{"start":{"line":417,"column":16},"end":{"line":417,"column":43}},"82":{"start":{"line":421,"column":8},"end":{"line":423,"column":9}},"83":{"start":{"line":422,"column":12},"end":{"line":422,"column":32}},"84":{"start":{"line":426,"column":4},"end":{"line":426,"column":71}},"85":{"start":{"line":428,"column":4},"end":{"line":680,"column":6}},"86":{"start":{"line":435,"column":12},"end":{"line":439,"column":13}},"87":{"start":{"line":436,"column":16},"end":{"line":436,"column":31}},"88":{"start":{"line":437,"column":19},"end":{"line":439,"column":13}},"89":{"start":{"line":438,"column":16},"end":{"line":438,"column":30}},"90":{"start":{"line":440,"column":12},"end":{"line":440,"column":24}},"91":{"start":{"line":451,"column":12},"end":{"line":453,"column":13}},"92":{"start":{"line":452,"column":16},"end":{"line":452,"column":30}},"93":{"start":{"line":454,"column":12},"end":{"line":454,"column":24}},"94":{"start":{"line":464,"column":12},"end":{"line":466,"column":13}},"95":{"start":{"line":465,"column":16},"end":{"line":465,"column":34}},"96":{"start":{"line":467,"column":12},"end":{"line":467,"column":24}},"97":{"start":{"line":473,"column":12},"end":{"line":473,"column":71}},"98":{"start":{"line":474,"column":12},"end":{"line":474,"column":35}},"99":{"start":{"line":475,"column":12},"end":{"line":477,"column":13}},"100":{"start":{"line":476,"column":16},"end":{"line":476,"column":37}},"101":{"start":{"line":478,"column":12},"end":{"line":478,"column":43}},"102":{"start":{"line":479,"column":12},"end":{"line":479,"column":33}},"103":{"start":{"line":481,"column":12},"end":{"line":481,"column":29}},"104":{"start":{"line":485,"column":12},"end":{"line":485,"column":40}},"105":{"start":{"line":486,"column":12},"end":{"line":486,"column":36}},"106":{"start":{"line":487,"column":12},"end":{"line":487,"column":43}},"107":{"start":{"line":495,"column":12},"end":{"line":495,"column":31}},"108":{"start":{"line":499,"column":12},"end":{"line":499,"column":37}},"109":{"start":{"line":500,"column":12},"end":{"line":500,"column":43}},"110":{"start":{"line":501,"column":12},"end":{"line":501,"column":71}},"111":{"start":{"line":502,"column":12},"end":{"line":502,"column":33}},"112":{"start":{"line":510,"column":12},"end":{"line":510,"column":32}},"113":{"start":{"line":514,"column":12},"end":{"line":514,"column":55}},"114":{"start":{"line":515,"column":12},"end":{"line":517,"column":13}},"115":{"start":{"line":516,"column":16},"end":{"line":516,"column":70}},"116":{"start":{"line":519,"column":12},"end":{"line":519,"column":40}},"117":{"start":{"line":520,"column":12},"end":{"line":520,"column":39}},"118":{"start":{"line":521,"column":12},"end":{"line":521,"column":37}},"119":{"start":{"line":523,"column":12},"end":{"line":523,"column":43}},"120":{"start":{"line":524,"column":12},"end":{"line":524,"column":62}},"121":{"start":{"line":528,"column":12},"end":{"line":531,"column":32}},"122":{"start":{"line":533,"column":12},"end":{"line":533,"column":42}},"123":{"start":{"line":534,"column":12},"end":{"line":534,"column":36}},"124":{"start":{"line":535,"column":12},"end":{"line":535,"column":39}},"125":{"start":{"line":537,"column":12},"end":{"line":537,"column":29}},"126":{"start":{"line":538,"column":12},"end":{"line":540,"column":13}},"127":{"start":{"line":539,"column":16},"end":{"line":539,"column":34}},"128":{"start":{"line":544,"column":12},"end":{"line":551,"column":18}},"129":{"start":{"line":553,"column":12},"end":{"line":555,"column":13}},"130":{"start":{"line":554,"column":16},"end":{"line":554,"column":28}},"131":{"start":{"line":557,"column":12},"end":{"line":560,"column":13}},"132":{"start":{"line":558,"column":16},"end":{"line":558,"column":26}},"133":{"start":{"line":559,"column":16},"end":{"line":559,"column":30}},"134":{"start":{"line":562,"column":12},"end":{"line":574,"column":13}},"135":{"start":{"line":563,"column":16},"end":{"line":573,"column":17}},"136":{"start":{"line":564,"column":20},"end":{"line":564,"column":40}},"137":{"start":{"line":565,"column":20},"end":{"line":566,"column":70}},"138":{"start":{"line":568,"column":20},"end":{"line":572,"column":21}},"139":{"start":{"line":569,"column":24},"end":{"line":569,"column":100}},"140":{"start":{"line":571,"column":24},"end":{"line":571,"column":108}},"141":{"start":{"line":580,"column":12},"end":{"line":581,"column":54}},"142":{"start":{"line":583,"column":12},"end":{"line":583,"column":27}},"143":{"start":{"line":584,"column":12},"end":{"line":598,"column":13}},"144":{"start":{"line":585,"column":16},"end":{"line":587,"column":17}},"145":{"start":{"line":586,"column":20},"end":{"line":586,"column":58}},"146":{"start":{"line":594,"column":16},"end":{"line":594,"column":39}},"147":{"start":{"line":596,"column":16},"end":{"line":596,"column":30}},"148":{"start":{"line":597,"column":16},"end":{"line":597,"column":28}},"149":{"start":{"line":600,"column":12},"end":{"line":600,"column":46}},"150":{"start":{"line":601,"column":12},"end":{"line":601,"column":50}},"151":{"start":{"line":605,"column":12},"end":{"line":613,"column":33}},"152":{"start":{"line":615,"column":12},"end":{"line":650,"column":21}},"153":{"start":{"line":616,"column":16},"end":{"line":618,"column":17}},"154":{"start":{"line":617,"column":20},"end":{"line":617,"column":47}},"155":{"start":{"line":620,"column":16},"end":{"line":620,"column":35}},"156":{"start":{"line":621,"column":16},"end":{"line":626,"column":17}},"157":{"start":{"line":622,"column":20},"end":{"line":623,"column":97}},"158":{"start":{"line":624,"column":23},"end":{"line":626,"column":17}},"159":{"start":{"line":625,"column":20},"end":{"line":625,"column":51}},"160":{"start":{"line":628,"column":16},"end":{"line":629,"column":52}},"161":{"start":{"line":631,"column":16},"end":{"line":631,"column":49}},"162":{"start":{"line":632,"column":16},"end":{"line":632,"column":41}},"163":{"start":{"line":633,"column":16},"end":{"line":633,"column":61}},"164":{"start":{"line":635,"column":16},"end":{"line":637,"column":17}},"165":{"start":{"line":636,"column":20},"end":{"line":636,"column":47}},"166":{"start":{"line":639,"column":16},"end":{"line":642,"column":17}},"167":{"start":{"line":640,"column":20},"end":{"line":640,"column":81}},"168":{"start":{"line":641,"column":20},"end":{"line":641,"column":27}},"169":{"start":{"line":644,"column":16},"end":{"line":648,"column":18}},"170":{"start":{"line":652,"column":12},"end":{"line":652,"column":37}},"171":{"start":{"line":658,"column":12},"end":{"line":662,"column":25}},"172":{"start":{"line":664,"column":12},"end":{"line":672,"column":13}},"173":{"start":{"line":665,"column":16},"end":{"line":665,"column":53}},"174":{"start":{"line":666,"column":16},"end":{"line":671,"column":17}},"175":{"start":{"line":667,"column":20},"end":{"line":667,"column":38}},"176":{"start":{"line":668,"column":20},"end":{"line":668,"column":35}},"177":{"start":{"line":670,"column":20},"end":{"line":670,"column":28}},"178":{"start":{"line":674,"column":12},"end":{"line":674,"column":23}},"179":{"start":{"line":678,"column":12},"end":{"line":678,"column":52}},"180":{"start":{"line":682,"column":4},"end":{"line":682,"column":36}}},"branchMap":{"1":{"line":125,"type":"if","locations":[{"start":{"line":125,"column":8},"end":{"line":125,"column":8}},{"start":{"line":125,"column":8},"end":{"line":125,"column":8}}]},"2":{"line":126,"type":"if","locations":[{"start":{"line":126,"column":12},"end":{"line":126,"column":12}},{"start":{"line":126,"column":12},"end":{"line":126,"column":12}}]},"3":{"line":126,"type":"binary-expr","locations":[{"start":{"line":126,"column":16},"end":{"line":126,"column":34}},{"start":{"line":126,"column":39},"end":{"line":126,"column":59}},{"start":{"line":126,"column":63},"end":{"line":126,"column":89}}]},"4":{"line":127,"type":"binary-expr","locations":[{"start":{"line":127,"column":23},"end":{"line":127,"column":27}},{"start":{"line":127,"column":31},"end":{"line":127,"column":33}}]},"5":{"line":129,"type":"if","locations":[{"start":{"line":129,"column":19},"end":{"line":129,"column":19}},{"start":{"line":129,"column":19},"end":{"line":129,"column":19}}]},"6":{"line":129,"type":"binary-expr","locations":[{"start":{"line":129,"column":23},"end":{"line":129,"column":46}},{"start":{"line":129,"column":50},"end":{"line":129,"column":75}}]},"7":{"line":131,"type":"if","locations":[{"start":{"line":131,"column":19},"end":{"line":131,"column":19}},{"start":{"line":131,"column":19},"end":{"line":131,"column":19}}]},"8":{"line":134,"type":"if","locations":[{"start":{"line":134,"column":15},"end":{"line":134,"column":15}},{"start":{"line":134,"column":15},"end":{"line":134,"column":15}}]},"9":{"line":136,"type":"if","locations":[{"start":{"line":136,"column":15},"end":{"line":136,"column":15}},{"start":{"line":136,"column":15},"end":{"line":136,"column":15}}]},"10":{"line":152,"type":"if","locations":[{"start":{"line":152,"column":8},"end":{"line":152,"column":8}},{"start":{"line":152,"column":8},"end":{"line":152,"column":8}}]},"11":{"line":153,"type":"if","locations":[{"start":{"line":153,"column":12},"end":{"line":153,"column":12}},{"start":{"line":153,"column":12},"end":{"line":153,"column":12}}]},"12":{"line":153,"type":"binary-expr","locations":[{"start":{"line":153,"column":16},"end":{"line":153,"column":34}},{"start":{"line":153,"column":39},"end":{"line":153,"column":59}},{"start":{"line":153,"column":63},"end":{"line":153,"column":89}}]},"13":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":19},"end":{"line":155,"column":19}},{"start":{"line":155,"column":19},"end":{"line":155,"column":19}}]},"14":{"line":155,"type":"binary-expr","locations":[{"start":{"line":155,"column":23},"end":{"line":155,"column":46}},{"start":{"line":155,"column":50},"end":{"line":155,"column":75}}]},"15":{"line":157,"type":"if","locations":[{"start":{"line":157,"column":19},"end":{"line":157,"column":19}},{"start":{"line":157,"column":19},"end":{"line":157,"column":19}}]},"16":{"line":160,"type":"if","locations":[{"start":{"line":160,"column":15},"end":{"line":160,"column":15}},{"start":{"line":160,"column":15},"end":{"line":160,"column":15}}]},"17":{"line":162,"type":"if","locations":[{"start":{"line":162,"column":15},"end":{"line":162,"column":15}},{"start":{"line":162,"column":15},"end":{"line":162,"column":15}}]},"18":{"line":177,"type":"if","locations":[{"start":{"line":177,"column":16},"end":{"line":177,"column":16}},{"start":{"line":177,"column":16},"end":{"line":177,"column":16}}]},"19":{"line":178,"type":"if","locations":[{"start":{"line":178,"column":20},"end":{"line":178,"column":20}},{"start":{"line":178,"column":20},"end":{"line":178,"column":20}}]},"20":{"line":178,"type":"binary-expr","locations":[{"start":{"line":178,"column":24},"end":{"line":178,"column":48}},{"start":{"line":178,"column":52},"end":{"line":178,"column":65}}]},"21":{"line":184,"type":"if","locations":[{"start":{"line":184,"column":16},"end":{"line":184,"column":16}},{"start":{"line":184,"column":16},"end":{"line":184,"column":16}}]},"22":{"line":209,"type":"if","locations":[{"start":{"line":209,"column":16},"end":{"line":209,"column":16}},{"start":{"line":209,"column":16},"end":{"line":209,"column":16}}]},"23":{"line":209,"type":"binary-expr","locations":[{"start":{"line":209,"column":20},"end":{"line":209,"column":43}},{"start":{"line":209,"column":47},"end":{"line":209,"column":55}}]},"24":{"line":359,"type":"if","locations":[{"start":{"line":359,"column":12},"end":{"line":359,"column":12}},{"start":{"line":359,"column":12},"end":{"line":359,"column":12}}]},"25":{"line":372,"type":"if","locations":[{"start":{"line":372,"column":12},"end":{"line":372,"column":12}},{"start":{"line":372,"column":12},"end":{"line":372,"column":12}}]},"26":{"line":387,"type":"if","locations":[{"start":{"line":387,"column":12},"end":{"line":387,"column":12}},{"start":{"line":387,"column":12},"end":{"line":387,"column":12}}]},"27":{"line":395,"type":"if","locations":[{"start":{"line":395,"column":8},"end":{"line":395,"column":8}},{"start":{"line":395,"column":8},"end":{"line":395,"column":8}}]},"28":{"line":415,"type":"if","locations":[{"start":{"line":415,"column":12},"end":{"line":415,"column":12}},{"start":{"line":415,"column":12},"end":{"line":415,"column":12}}]},"29":{"line":421,"type":"if","locations":[{"start":{"line":421,"column":8},"end":{"line":421,"column":8}},{"start":{"line":421,"column":8},"end":{"line":421,"column":8}}]},"30":{"line":435,"type":"if","locations":[{"start":{"line":435,"column":12},"end":{"line":435,"column":12}},{"start":{"line":435,"column":12},"end":{"line":435,"column":12}}]},"31":{"line":437,"type":"if","locations":[{"start":{"line":437,"column":19},"end":{"line":437,"column":19}},{"start":{"line":437,"column":19},"end":{"line":437,"column":19}}]},"32":{"line":451,"type":"if","locations":[{"start":{"line":451,"column":12},"end":{"line":451,"column":12}},{"start":{"line":451,"column":12},"end":{"line":451,"column":12}}]},"33":{"line":464,"type":"if","locations":[{"start":{"line":464,"column":12},"end":{"line":464,"column":12}},{"start":{"line":464,"column":12},"end":{"line":464,"column":12}}]},"34":{"line":464,"type":"binary-expr","locations":[{"start":{"line":464,"column":16},"end":{"line":464,"column":33}},{"start":{"line":464,"column":37},"end":{"line":464,"column":53}}]},"35":{"line":475,"type":"if","locations":[{"start":{"line":475,"column":12},"end":{"line":475,"column":12}},{"start":{"line":475,"column":12},"end":{"line":475,"column":12}}]},"36":{"line":515,"type":"if","locations":[{"start":{"line":515,"column":12},"end":{"line":515,"column":12}},{"start":{"line":515,"column":12},"end":{"line":515,"column":12}}]},"37":{"line":538,"type":"if","locations":[{"start":{"line":538,"column":12},"end":{"line":538,"column":12}},{"start":{"line":538,"column":12},"end":{"line":538,"column":12}}]},"38":{"line":553,"type":"if","locations":[{"start":{"line":553,"column":12},"end":{"line":553,"column":12}},{"start":{"line":553,"column":12},"end":{"line":553,"column":12}}]},"39":{"line":557,"type":"if","locations":[{"start":{"line":557,"column":12},"end":{"line":557,"column":12}},{"start":{"line":557,"column":12},"end":{"line":557,"column":12}}]},"40":{"line":563,"type":"if","locations":[{"start":{"line":563,"column":16},"end":{"line":563,"column":16}},{"start":{"line":563,"column":16},"end":{"line":563,"column":16}}]},"41":{"line":565,"type":"cond-expr","locations":[{"start":{"line":566,"column":28},"end":{"line":566,"column":45}},{"start":{"line":566,"column":48},"end":{"line":566,"column":69}}]},"42":{"line":565,"type":"binary-expr","locations":[{"start":{"line":565,"column":30},"end":{"line":565,"column":45}},{"start":{"line":565,"column":49},"end":{"line":565,"column":71}}]},"43":{"line":568,"type":"if","locations":[{"start":{"line":568,"column":20},"end":{"line":568,"column":20}},{"start":{"line":568,"column":20},"end":{"line":568,"column":20}}]},"44":{"line":584,"type":"if","locations":[{"start":{"line":584,"column":12},"end":{"line":584,"column":12}},{"start":{"line":584,"column":12},"end":{"line":584,"column":12}}]},"45":{"line":584,"type":"binary-expr","locations":[{"start":{"line":584,"column":16},"end":{"line":584,"column":35}},{"start":{"line":584,"column":39},"end":{"line":584,"column":55}}]},"46":{"line":585,"type":"if","locations":[{"start":{"line":585,"column":16},"end":{"line":585,"column":16}},{"start":{"line":585,"column":16},"end":{"line":585,"column":16}}]},"47":{"line":605,"type":"binary-expr","locations":[{"start":{"line":605,"column":23},"end":{"line":605,"column":39}},{"start":{"line":605,"column":43},"end":{"line":605,"column":45}}]},"48":{"line":606,"type":"binary-expr","locations":[{"start":{"line":606,"column":21},"end":{"line":606,"column":35}},{"start":{"line":606,"column":39},"end":{"line":606,"column":41}}]},"49":{"line":616,"type":"if","locations":[{"start":{"line":616,"column":16},"end":{"line":616,"column":16}},{"start":{"line":616,"column":16},"end":{"line":616,"column":16}}]},"50":{"line":621,"type":"if","locations":[{"start":{"line":621,"column":16},"end":{"line":621,"column":16}},{"start":{"line":621,"column":16},"end":{"line":621,"column":16}}]},"51":{"line":622,"type":"cond-expr","locations":[{"start":{"line":623,"column":28},"end":{"line":623,"column":60}},{"start":{"line":623,"column":63},"end":{"line":623,"column":96}}]},"52":{"line":622,"type":"binary-expr","locations":[{"start":{"line":622,"column":29},"end":{"line":622,"column":47}},{"start":{"line":622,"column":51},"end":{"line":622,"column":76}}]},"53":{"line":624,"type":"if","locations":[{"start":{"line":624,"column":23},"end":{"line":624,"column":23}},{"start":{"line":624,"column":23},"end":{"line":624,"column":23}}]},"54":{"line":631,"type":"cond-expr","locations":[{"start":{"line":631,"column":32},"end":{"line":631,"column":40}},{"start":{"line":631,"column":43},"end":{"line":631,"column":48}}]},"55":{"line":632,"type":"cond-expr","locations":[{"start":{"line":632,"column":28},"end":{"line":632,"column":34}},{"start":{"line":632,"column":37},"end":{"line":632,"column":40}}]},"56":{"line":633,"type":"cond-expr","locations":[{"start":{"line":633,"column":29},"end":{"line":633,"column":35}},{"start":{"line":633,"column":38},"end":{"line":633,"column":60}}]},"57":{"line":633,"type":"cond-expr","locations":[{"start":{"line":633,"column":47},"end":{"line":633,"column":55}},{"start":{"line":633,"column":58},"end":{"line":633,"column":60}}]},"58":{"line":635,"type":"if","locations":[{"start":{"line":635,"column":16},"end":{"line":635,"column":16}},{"start":{"line":635,"column":16},"end":{"line":635,"column":16}}]},"59":{"line":635,"type":"binary-expr","locations":[{"start":{"line":635,"column":20},"end":{"line":635,"column":25}},{"start":{"line":635,"column":29},"end":{"line":635,"column":62}}]},"60":{"line":639,"type":"if","locations":[{"start":{"line":639,"column":16},"end":{"line":639,"column":16}},{"start":{"line":639,"column":16},"end":{"line":639,"column":16}}]},"61":{"line":639,"type":"binary-expr","locations":[{"start":{"line":639,"column":20},"end":{"line":639,"column":26}},{"start":{"line":639,"column":30},"end":{"line":639,"column":34}}]},"62":{"line":645,"type":"cond-expr","locations":[{"start":{"line":645,"column":51},"end":{"line":645,"column":65}},{"start":{"line":645,"column":68},"end":{"line":645,"column":73}}]},"63":{"line":660,"type":"cond-expr","locations":[{"start":{"line":660,"column":42},"end":{"line":660,"column":48}},{"start":{"line":660,"column":50},"end":{"line":660,"column":56}}]},"64":{"line":661,"type":"cond-expr","locations":[{"start":{"line":661,"column":42},"end":{"line":661,"column":48}},{"start":{"line":661,"column":50},"end":{"line":661,"column":56}}]},"65":{"line":664,"type":"if","locations":[{"start":{"line":664,"column":12},"end":{"line":664,"column":12}},{"start":{"line":664,"column":12},"end":{"line":664,"column":12}}]},"66":{"line":666,"type":"if","locations":[{"start":{"line":666,"column":16},"end":{"line":666,"column":16}},{"start":{"line":666,"column":16},"end":{"line":666,"column":16}}]},"67":{"line":666,"type":"binary-expr","locations":[{"start":{"line":666,"column":20},"end":{"line":666,"column":43}},{"start":{"line":666,"column":47},"end":{"line":666,"column":67}}]}},"code":["(function () { YUI.add('anim-base', function (Y, NAME) {","","/**","* The Animation Utility provides an API for creating advanced transitions.","* @module anim","*/","","/**","* Provides the base Anim class, for animating numeric properties.","*","* @module anim","* @submodule anim-base","*/","","    /**","     * A class for constructing animation instances.","     * @class Anim","     * @for Anim","     * @constructor","     * @extends Base","     */","","    var RUNNING = 'running',","        START_TIME = 'startTime',","        ELAPSED_TIME = 'elapsedTime',","        /**","        * @for Anim","        * @event start","        * @description fires when an animation begins.","        * @param {Event} ev The start event.","        * @type Event.Custom","        */","        START = 'start',","","        /**","        * @event tween","        * @description fires every frame of the animation.","        * @param {Event} ev The tween event.","        * @type Event.Custom","        */","        TWEEN = 'tween',","","        /**","        * @event end","        * @description fires after the animation completes.","        * @param {Event} ev The end event.","        * @type Event.Custom","        */","        END = 'end',","        NODE = 'node',","        PAUSED = 'paused',","        REVERSE = 'reverse', // TODO: cleanup","        ITERATION_COUNT = 'iterationCount',","","        NUM = Number;","","    var _running = {},","        _timer;","","    Y.Anim = function() {","        Y.Anim.superclass.constructor.apply(this, arguments);","        Y.Anim._instances[Y.stamp(this)] = this;","    };","","    Y.Anim.NAME = 'anim';","","    Y.Anim._instances = {};","","    /**","     * Regex of properties that should use the default unit.","     *","     * @property RE_DEFAULT_UNIT","     * @static","     */","    Y.Anim.RE_DEFAULT_UNIT = /^width|height|top|right|bottom|left|margin.*|padding.*|border.*$/i;","","    /**","     * The default unit to use with properties that pass the RE_DEFAULT_UNIT test.","     *","     * @property DEFAULT_UNIT","     * @static","     */","    Y.Anim.DEFAULT_UNIT = 'px';","","    Y.Anim.DEFAULT_EASING = function (t, b, c, d) {","        return c * t / d + b; // linear easing","    };","","    /**","     * Time in milliseconds passed to setInterval for frame processing","     *","     * @property intervalTime","     * @default 20","     * @static","     */","    Y.Anim._intervalTime = 20;","","    /**","     * Bucket for custom getters and setters","     *","     * @property behaviors","     * @static","     */","    Y.Anim.behaviors = {","        left: {","            get: function(anim, attr) {","                return anim._getOffset(attr);","            }","        }","    };","","    Y.Anim.behaviors.top = Y.Anim.behaviors.left;","","    /**","     * The default setter to use when setting object properties.","     *","     * @property DEFAULT_SETTER","     * @static","     */","    Y.Anim.DEFAULT_SETTER = function(anim, att, from, to, elapsed, duration, fn, unit) {","        var node = anim._node,","            domNode = node._node,","            val = fn(elapsed, NUM(from), NUM(to) - NUM(from), duration);","","        if (domNode) {","            if ('style' in domNode && (att in domNode.style || att in Y.DOM.CUSTOM_STYLES)) {","                unit = unit || '';","                node.setStyle(att, val + unit);","            } else if ('attributes' in domNode && att in domNode.attributes) {","                node.setAttribute(att, val);","            } else if (att in domNode) {","                domNode[att] = val;","            }","        } else if (node.set) {","            node.set(att, val);","        } else if (att in node) {","            node[att] = val;","        }","    };","","    /**","     * The default getter to use when getting object properties.","     *","     * @property DEFAULT_GETTER","     * @static","     */","    Y.Anim.DEFAULT_GETTER = function(anim, att) {","        var node = anim._node,","            domNode = node._node,","            val = '';","","        if (domNode) {","            if ('style' in domNode && (att in domNode.style || att in Y.DOM.CUSTOM_STYLES)) {","                val = node.getComputedStyle(att);","            } else if ('attributes' in domNode && att in domNode.attributes) {","                val = node.getAttribute(att);","            } else if (att in domNode) {","                val = domNode[att];","            }","        } else if (node.get) {","            val = node.get(att);","        } else if (att in node) {","            val = node[att];","        }","","        return val;","    };","","    Y.Anim.ATTRS = {","        /**","         * The object to be animated.","         * @attribute node","         * @type Node","         */","        node: {","            setter: function(node) {","                if (node) {","                    if (typeof node === 'string' || node.nodeType) {","                        node = Y.one(node);","                    }","                }","","                this._node = node;","                if (!node) {","                }","                return node;","            }","        },","","        /**","         * The length of the animation.  Defaults to \"1\" (second).","         * @attribute duration","         * @type NUM","         */","        duration: {","            value: 1","        },","","        /**","         * The method that will provide values to the attribute(s) during the animation.","         * Defaults to \"Easing.easeNone\".","         * @attribute easing","         * @type Function","         */","        easing: {","            value: Y.Anim.DEFAULT_EASING,","","            setter: function(val) {","                if (typeof val === 'string' && Y.Easing) {","                    return Y.Easing[val];","                }","            }","        },","","        /**","         * The starting values for the animated properties.","         *","         * Fields may be strings, numbers, or functions.","         * If a function is used, the return value becomes the from value.","         * If no from value is specified, the DEFAULT_GETTER will be used.","         * Supports any unit, provided it matches the \"to\" (or default)","         * unit (e.g. `{width: '10em', color: 'rgb(0, 0, 0)', borderColor: '#ccc'}`).","         *","         * If using the default ('px' for length-based units), the unit may be omitted","         * (e.g. `{width: 100}, borderColor: 'ccc'}`, which defaults to pixels","         * and hex, respectively).","         *","         * @attribute from","         * @type Object","         */","        from: {},","","        /**","         * The ending values for the animated properties.","         *","         * Fields may be strings, numbers, or functions.","         * Supports any unit, provided it matches the \"from\" (or default)","         * unit (e.g. `{width: '50%', color: 'red', borderColor: '#ccc'}`).","         *","         * If using the default ('px' for length-based units), the unit may be omitted","         * (e.g. `{width: 100, borderColor: 'ccc'}`, which defaults to pixels","         * and hex, respectively).","         *","         * @attribute to","         * @type Object","         */","        to: {},","","        /**","         * Date stamp for the first frame of the animation.","         * @attribute startTime","         * @type Int","         * @default 0","         * @readOnly","         */","        startTime: {","            value: 0,","            readOnly: true","        },","","        /**","         * Current time the animation has been running.","         * @attribute elapsedTime","         * @type Int","         * @default 0","         * @readOnly","         */","        elapsedTime: {","            value: 0,","            readOnly: true","        },","","        /**","         * Whether or not the animation is currently running.","         * @attribute running","         * @type Boolean","         * @default false","         * @readOnly","         */","        running: {","            getter: function() {","                return !!_running[Y.stamp(this)];","            },","            value: false,","            readOnly: true","        },","","        /**","         * The number of times the animation should run","         * @attribute iterations","         * @type Int","         * @default 1","         */","        iterations: {","            value: 1","        },","","        /**","         * The number of iterations that have occurred.","         * Resets when an animation ends (reaches iteration count or stop() called).","         * @attribute iterationCount","         * @type Int","         * @default 0","         * @readOnly","         */","        iterationCount: {","            value: 0,","            readOnly: true","        },","","        /**","         * How iterations of the animation should behave.","         * Possible values are \"normal\" and \"alternate\".","         * Normal will repeat the animation, alternate will reverse on every other pass.","         *","         * @attribute direction","         * @type String","         * @default \"normal\"","         */","        direction: {","            value: 'normal' // | alternate (fwd on odd, rev on even per spec)","        },","","        /**","         * Whether or not the animation is currently paused.","         * @attribute paused","         * @type Boolean","         * @default false","         * @readOnly","         */","        paused: {","            readOnly: true,","            value: false","        },","","        /**","         * If true, the `from` and `to` attributes are swapped,","         * and the animation is then run starting from `from`.","         * @attribute reverse","         * @type Boolean","         * @default false","         */","        reverse: {","            value: false","        }","","","    };","","    /**","     * Runs all animation instances.","     * @method run","     * @static","     */","    Y.Anim.run = function() {","        var instances = Y.Anim._instances,","            i;","        for (i in instances) {","            if (instances[i].run) {","                instances[i].run();","            }","        }","    };","","    /**","     * Pauses all animation instances.","     * @method pause","     * @static","     */","    Y.Anim.pause = function() {","        for (var i in _running) { // stop timer if nothing running","            if (_running[i].pause) {","                _running[i].pause();","            }","        }","","        Y.Anim._stopTimer();","    };","","    /**","     * Stops all animation instances.","     * @method stop","     * @static","     */","    Y.Anim.stop = function() {","        for (var i in _running) { // stop timer if nothing running","            if (_running[i].stop) {","                _running[i].stop();","            }","        }","        Y.Anim._stopTimer();","    };","","    Y.Anim._startTimer = function() {","        if (!_timer) {","            _timer = setInterval(Y.Anim._runFrame, Y.Anim._intervalTime);","        }","    };","","    Y.Anim._stopTimer = function() {","        clearInterval(_timer);","        _timer = 0;","    };","","    /**","     * Called per Interval to handle each animation frame.","     * @method _runFrame","     * @private","     * @static","     */","    Y.Anim._runFrame = function() {","        var done = true,","            anim;","        for (anim in _running) {","            if (_running[anim]._runFrame) {","                done = false;","                _running[anim]._runFrame();","            }","        }","","        if (done) {","            Y.Anim._stopTimer();","        }","    };","","    Y.Anim.RE_UNITS = /^(-?\\d*\\.?\\d*){1}(em|ex|px|in|cm|mm|pt|pc|%)*$/;","","    var proto = {","        /**","         * Starts or resumes an animation.","         * @method run","         * @chainable","         */","        run: function() {","            if (this.get(PAUSED)) {","                this._resume();","            } else if (!this.get(RUNNING)) {","                this._start();","            }","            return this;","        },","","        /**","         * Pauses the animation and","         * freezes it in its current state and time.","         * Calling run() will continue where it left off.","         * @method pause","         * @chainable","         */","        pause: function() {","            if (this.get(RUNNING)) {","                this._pause();","            }","            return this;","        },","","        /**","         * Stops the animation and resets its time.","         * @method stop","         * @param {Boolean} finish If true, the animation will move to the last frame","         * @chainable","         */","        stop: function(finish) {","            if (this.get(RUNNING) || this.get(PAUSED)) {","                this._end(finish);","            }","            return this;","        },","","        _added: false,","","        _start: function() {","            this._set(START_TIME, new Date() - this.get(ELAPSED_TIME));","            this._actualFrames = 0;","            if (!this.get(PAUSED)) {","                this._initAnimAttr();","            }","            _running[Y.stamp(this)] = this;","            Y.Anim._startTimer();","","            this.fire(START);","        },","","        _pause: function() {","            this._set(START_TIME, null);","            this._set(PAUSED, true);","            delete _running[Y.stamp(this)];","","            /**","            * @event pause","            * @description fires when an animation is paused.","            * @param {Event} ev The pause event.","            * @type Event.Custom","            */","            this.fire('pause');","        },","","        _resume: function() {","            this._set(PAUSED, false);","            _running[Y.stamp(this)] = this;","            this._set(START_TIME, new Date() - this.get(ELAPSED_TIME));","            Y.Anim._startTimer();","","            /**","            * @event resume","            * @description fires when an animation is resumed (run from pause).","            * @param {Event} ev The pause event.","            * @type Event.Custom","            */","            this.fire('resume');","        },","","        _end: function(finish) {","            var duration = this.get('duration') * 1000;","            if (finish) { // jump to last frame","                this._runAttrs(duration, duration, this.get(REVERSE));","            }","","            this._set(START_TIME, null);","            this._set(ELAPSED_TIME, 0);","            this._set(PAUSED, false);","","            delete _running[Y.stamp(this)];","            this.fire(END, {elapsed: this.get(ELAPSED_TIME)});","        },","","        _runFrame: function() {","            var d = this._runtimeAttr.duration,","                t = new Date() - this.get(START_TIME),","                reverse = this.get(REVERSE),","                done = (t >= d);","","            this._runAttrs(t, d, reverse);","            this._actualFrames += 1;","            this._set(ELAPSED_TIME, t);","","            this.fire(TWEEN);","            if (done) {","                this._lastFrame();","            }","        },","","        _runAttrs: function(t, d, reverse) {","            var attr = this._runtimeAttr,","                customAttr = Y.Anim.behaviors,","                easing = attr.easing,","                lastFrame = d,","                done = false,","                attribute,","                setter,","                i;","","            if (t >= d) {","                done = true;","            }","","            if (reverse) {","                t = d - t;","                lastFrame = 0;","            }","","            for (i in attr) {","                if (attr[i].to) {","                    attribute = attr[i];","                    setter = (i in customAttr && 'set' in customAttr[i]) ?","                            customAttr[i].set : Y.Anim.DEFAULT_SETTER;","","                    if (!done) {","                        setter(this, i, attribute.from, attribute.to, t, d, easing, attribute.unit);","                    } else {","                        setter(this, i, attribute.from, attribute.to, lastFrame, d, easing, attribute.unit);","                    }","                }","            }","","","        },","","        _lastFrame: function() {","            var iter = this.get('iterations'),","                iterCount = this.get(ITERATION_COUNT);","","            iterCount += 1;","            if (iter === 'infinite' || iterCount < iter) {","                if (this.get('direction') === 'alternate') {","                    this.set(REVERSE, !this.get(REVERSE)); // flip it","                }","                /**","                * @event iteration","                * @description fires when an animation begins an iteration.","                * @param {Event} ev The iteration event.","                * @type Event.Custom","                */","                this.fire('iteration');","            } else {","                iterCount = 0;","                this._end();","            }","","            this._set(START_TIME, new Date());","            this._set(ITERATION_COUNT, iterCount);","        },","","        _initAnimAttr: function() {","            var from = this.get('from') || {},","                to = this.get('to') || {},","                attr = {","                    duration: this.get('duration') * 1000,","                    easing: this.get('easing')","                },","                customAttr = Y.Anim.behaviors,","                node = this.get(NODE), // implicit attr init","                unit, begin, end;","","            Y.each(to, function(val, name) {","                if (typeof val === 'function') {","                    val = val.call(this, node);","                }","","                begin = from[name];","                if (begin === undefined) {","                    begin = (name in customAttr && 'get' in customAttr[name])  ?","                            customAttr[name].get(this, name) : Y.Anim.DEFAULT_GETTER(this, name);","                } else if (typeof begin === 'function') {","                    begin = begin.call(this, node);","                }","","                var mFrom = Y.Anim.RE_UNITS.exec(begin),","                    mTo = Y.Anim.RE_UNITS.exec(val);","","                begin = mFrom ? mFrom[1] : begin;","                end = mTo ? mTo[1] : val;","                unit = mTo ? mTo[2] : mFrom ?  mFrom[2] : ''; // one might be zero TODO: mixed units","","                if (!unit && Y.Anim.RE_DEFAULT_UNIT.test(name)) {","                    unit = Y.Anim.DEFAULT_UNIT;","                }","","                if (!begin || !end) {","                    Y.error('invalid \"from\" or \"to\" for \"' + name + '\"', 'Anim');","                    return;","                }","","                attr[name] = {","                    from: Y.Lang.isObject(begin) ? Y.clone(begin) : begin,","                    to: end,","                    unit: unit","                };","","            }, this);","","            this._runtimeAttr = attr;","        },","","","        // TODO: move to computedStyle? (browsers dont agree on default computed offsets)","        _getOffset: function(attr) {","            var node = this._node,","                val = node.getComputedStyle(attr),","                get = (attr === 'left') ? 'getX': 'getY',","                set = (attr === 'left') ? 'setX': 'setY',","                position;","","            if (val === 'auto') {","                position = node.getStyle('position');","                if (position === 'absolute' || position === 'fixed') {","                    val = node[get]();","                    node[set](val);","                } else {","                    val = 0;","                }","            }","","            return val;","        },","","        destructor: function() {","            delete Y.Anim._instances[Y.stamp(this)];","        }","    };","","    Y.extend(Y.Anim, Y.Base, proto);","","","}, 'patched-v3.18.0', {\"requires\": [\"base-base\", \"node-style\", \"color-base\"]});","","}());"]};
  }
  var __cov_LgJ5P4ZXEcllOMVJL_pLXQ = __coverage__['build/anim-base/anim-base.js'];
  __cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['1']++;YUI.add('anim-base',function(Y,NAME){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['1']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['2']++;var RUNNING='running',START_TIME='startTime',ELAPSED_TIME='elapsedTime',START='start',TWEEN='tween',END='end',NODE='node',PAUSED='paused',REVERSE='reverse',ITERATION_COUNT='iterationCount',NUM=Number;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['3']++;var _running={},_timer;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['4']++;Y.Anim=function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['2']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['5']++;Y.Anim.superclass.constructor.apply(this,arguments);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['6']++;Y.Anim._instances[Y.stamp(this)]=this;};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['7']++;Y.Anim.NAME='anim';__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['8']++;Y.Anim._instances={};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['9']++;Y.Anim.RE_DEFAULT_UNIT=/^width|height|top|right|bottom|left|margin.*|padding.*|border.*$/i;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['10']++;Y.Anim.DEFAULT_UNIT='px';__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['11']++;Y.Anim.DEFAULT_EASING=function(t,b,c,d){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['3']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['12']++;return c*t/d+b;};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['13']++;Y.Anim._intervalTime=20;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['14']++;Y.Anim.behaviors={left:{get:function(anim,attr){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['4']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['15']++;return anim._getOffset(attr);}}};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['16']++;Y.Anim.behaviors.top=Y.Anim.behaviors.left;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['17']++;Y.Anim.DEFAULT_SETTER=function(anim,att,from,to,elapsed,duration,fn,unit){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['5']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['18']++;var node=anim._node,domNode=node._node,val=fn(elapsed,NUM(from),NUM(to)-NUM(from),duration);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['19']++;if(domNode){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['1'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['20']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['3'][0]++,'style'in domNode)&&((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['3'][1]++,att in domNode.style)||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['3'][2]++,att in Y.DOM.CUSTOM_STYLES))){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['2'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['21']++;unit=(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['4'][0]++,unit)||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['4'][1]++,'');__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['22']++;node.setStyle(att,val+unit);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['2'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['23']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['6'][0]++,'attributes'in domNode)&&(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['6'][1]++,att in domNode.attributes)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['5'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['24']++;node.setAttribute(att,val);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['5'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['25']++;if(att in domNode){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['7'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['26']++;domNode[att]=val;}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['7'][1]++;}}}}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['1'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['27']++;if(node.set){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['8'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['28']++;node.set(att,val);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['8'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['29']++;if(att in node){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['9'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['30']++;node[att]=val;}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['9'][1]++;}}}};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['31']++;Y.Anim.DEFAULT_GETTER=function(anim,att){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['6']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['32']++;var node=anim._node,domNode=node._node,val='';__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['33']++;if(domNode){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['10'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['34']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['12'][0]++,'style'in domNode)&&((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['12'][1]++,att in domNode.style)||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['12'][2]++,att in Y.DOM.CUSTOM_STYLES))){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['11'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['35']++;val=node.getComputedStyle(att);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['11'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['36']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['14'][0]++,'attributes'in domNode)&&(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['14'][1]++,att in domNode.attributes)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['13'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['37']++;val=node.getAttribute(att);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['13'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['38']++;if(att in domNode){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['15'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['39']++;val=domNode[att];}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['15'][1]++;}}}}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['10'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['40']++;if(node.get){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['16'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['41']++;val=node.get(att);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['16'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['42']++;if(att in node){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['17'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['43']++;val=node[att];}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['17'][1]++;}}}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['44']++;return val;};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['45']++;Y.Anim.ATTRS={node:{setter:function(node){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['7']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['46']++;if(node){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['18'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['47']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['20'][0]++,typeof node==='string')||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['20'][1]++,node.nodeType)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['19'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['48']++;node=Y.one(node);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['19'][1]++;}}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['18'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['49']++;this._node=node;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['50']++;if(!node){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['21'][0]++;}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['21'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['51']++;return node;}},duration:{value:1},easing:{value:Y.Anim.DEFAULT_EASING,setter:function(val){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['8']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['52']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['23'][0]++,typeof val==='string')&&(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['23'][1]++,Y.Easing)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['22'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['53']++;return Y.Easing[val];}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['22'][1]++;}}},from:{},to:{},startTime:{value:0,readOnly:true},elapsedTime:{value:0,readOnly:true},running:{getter:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['9']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['54']++;return!!_running[Y.stamp(this)];},value:false,readOnly:true},iterations:{value:1},iterationCount:{value:0,readOnly:true},direction:{value:'normal'},paused:{readOnly:true,value:false},reverse:{value:false}};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['55']++;Y.Anim.run=function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['10']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['56']++;var instances=Y.Anim._instances,i;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['57']++;for(i in instances){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['58']++;if(instances[i].run){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['24'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['59']++;instances[i].run();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['24'][1]++;}}};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['60']++;Y.Anim.pause=function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['11']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['61']++;for(var i in _running){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['62']++;if(_running[i].pause){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['25'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['63']++;_running[i].pause();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['25'][1]++;}}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['64']++;Y.Anim._stopTimer();};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['65']++;Y.Anim.stop=function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['12']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['66']++;for(var i in _running){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['67']++;if(_running[i].stop){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['26'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['68']++;_running[i].stop();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['26'][1]++;}}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['69']++;Y.Anim._stopTimer();};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['70']++;Y.Anim._startTimer=function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['13']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['71']++;if(!_timer){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['27'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['72']++;_timer=setInterval(Y.Anim._runFrame,Y.Anim._intervalTime);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['27'][1]++;}};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['73']++;Y.Anim._stopTimer=function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['14']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['74']++;clearInterval(_timer);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['75']++;_timer=0;};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['76']++;Y.Anim._runFrame=function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['15']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['77']++;var done=true,anim;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['78']++;for(anim in _running){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['79']++;if(_running[anim]._runFrame){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['28'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['80']++;done=false;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['81']++;_running[anim]._runFrame();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['28'][1]++;}}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['82']++;if(done){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['29'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['83']++;Y.Anim._stopTimer();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['29'][1]++;}};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['84']++;Y.Anim.RE_UNITS=/^(-?\d*\.?\d*){1}(em|ex|px|in|cm|mm|pt|pc|%)*$/;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['85']++;var proto={run:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['16']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['86']++;if(this.get(PAUSED)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['30'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['87']++;this._resume();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['30'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['88']++;if(!this.get(RUNNING)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['31'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['89']++;this._start();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['31'][1]++;}}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['90']++;return this;},pause:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['17']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['91']++;if(this.get(RUNNING)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['32'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['92']++;this._pause();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['32'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['93']++;return this;},stop:function(finish){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['18']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['94']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['34'][0]++,this.get(RUNNING))||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['34'][1]++,this.get(PAUSED))){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['33'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['95']++;this._end(finish);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['33'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['96']++;return this;},_added:false,_start:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['19']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['97']++;this._set(START_TIME,new Date()-this.get(ELAPSED_TIME));__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['98']++;this._actualFrames=0;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['99']++;if(!this.get(PAUSED)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['35'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['100']++;this._initAnimAttr();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['35'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['101']++;_running[Y.stamp(this)]=this;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['102']++;Y.Anim._startTimer();__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['103']++;this.fire(START);},_pause:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['20']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['104']++;this._set(START_TIME,null);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['105']++;this._set(PAUSED,true);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['106']++;delete _running[Y.stamp(this)];__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['107']++;this.fire('pause');},_resume:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['21']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['108']++;this._set(PAUSED,false);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['109']++;_running[Y.stamp(this)]=this;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['110']++;this._set(START_TIME,new Date()-this.get(ELAPSED_TIME));__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['111']++;Y.Anim._startTimer();__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['112']++;this.fire('resume');},_end:function(finish){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['22']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['113']++;var duration=this.get('duration')*1000;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['114']++;if(finish){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['36'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['115']++;this._runAttrs(duration,duration,this.get(REVERSE));}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['36'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['116']++;this._set(START_TIME,null);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['117']++;this._set(ELAPSED_TIME,0);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['118']++;this._set(PAUSED,false);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['119']++;delete _running[Y.stamp(this)];__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['120']++;this.fire(END,{elapsed:this.get(ELAPSED_TIME)});},_runFrame:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['23']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['121']++;var d=this._runtimeAttr.duration,t=new Date()-this.get(START_TIME),reverse=this.get(REVERSE),done=t>=d;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['122']++;this._runAttrs(t,d,reverse);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['123']++;this._actualFrames+=1;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['124']++;this._set(ELAPSED_TIME,t);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['125']++;this.fire(TWEEN);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['126']++;if(done){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['37'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['127']++;this._lastFrame();}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['37'][1]++;}},_runAttrs:function(t,d,reverse){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['24']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['128']++;var attr=this._runtimeAttr,customAttr=Y.Anim.behaviors,easing=attr.easing,lastFrame=d,done=false,attribute,setter,i;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['129']++;if(t>=d){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['38'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['130']++;done=true;}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['38'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['131']++;if(reverse){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['39'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['132']++;t=d-t;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['133']++;lastFrame=0;}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['39'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['134']++;for(i in attr){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['135']++;if(attr[i].to){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['40'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['136']++;attribute=attr[i];__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['137']++;setter=(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['42'][0]++,i in customAttr)&&(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['42'][1]++,'set'in customAttr[i])?(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['41'][0]++,customAttr[i].set):(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['41'][1]++,Y.Anim.DEFAULT_SETTER);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['138']++;if(!done){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['43'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['139']++;setter(this,i,attribute.from,attribute.to,t,d,easing,attribute.unit);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['43'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['140']++;setter(this,i,attribute.from,attribute.to,lastFrame,d,easing,attribute.unit);}}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['40'][1]++;}}},_lastFrame:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['25']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['141']++;var iter=this.get('iterations'),iterCount=this.get(ITERATION_COUNT);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['142']++;iterCount+=1;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['143']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['45'][0]++,iter==='infinite')||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['45'][1]++,iterCount<iter)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['44'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['144']++;if(this.get('direction')==='alternate'){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['46'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['145']++;this.set(REVERSE,!this.get(REVERSE));}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['46'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['146']++;this.fire('iteration');}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['44'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['147']++;iterCount=0;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['148']++;this._end();}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['149']++;this._set(START_TIME,new Date());__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['150']++;this._set(ITERATION_COUNT,iterCount);},_initAnimAttr:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['26']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['151']++;var from=(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['47'][0]++,this.get('from'))||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['47'][1]++,{}),to=(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['48'][0]++,this.get('to'))||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['48'][1]++,{}),attr={duration:this.get('duration')*1000,easing:this.get('easing')},customAttr=Y.Anim.behaviors,node=this.get(NODE),unit,begin,end;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['152']++;Y.each(to,function(val,name){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['27']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['153']++;if(typeof val==='function'){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['49'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['154']++;val=val.call(this,node);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['49'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['155']++;begin=from[name];__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['156']++;if(begin===undefined){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['50'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['157']++;begin=(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['52'][0]++,name in customAttr)&&(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['52'][1]++,'get'in customAttr[name])?(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['51'][0]++,customAttr[name].get(this,name)):(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['51'][1]++,Y.Anim.DEFAULT_GETTER(this,name));}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['50'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['158']++;if(typeof begin==='function'){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['53'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['159']++;begin=begin.call(this,node);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['53'][1]++;}}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['160']++;var mFrom=Y.Anim.RE_UNITS.exec(begin),mTo=Y.Anim.RE_UNITS.exec(val);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['161']++;begin=mFrom?(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['54'][0]++,mFrom[1]):(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['54'][1]++,begin);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['162']++;end=mTo?(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['55'][0]++,mTo[1]):(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['55'][1]++,val);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['163']++;unit=mTo?(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['56'][0]++,mTo[2]):(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['56'][1]++,mFrom?(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['57'][0]++,mFrom[2]):(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['57'][1]++,''));__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['164']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['59'][0]++,!unit)&&(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['59'][1]++,Y.Anim.RE_DEFAULT_UNIT.test(name))){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['58'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['165']++;unit=Y.Anim.DEFAULT_UNIT;}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['58'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['166']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['61'][0]++,!begin)||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['61'][1]++,!end)){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['60'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['167']++;Y.error('invalid "from" or "to" for "'+name+'"','Anim');__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['168']++;return;}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['60'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['169']++;attr[name]={from:Y.Lang.isObject(begin)?(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['62'][0]++,Y.clone(begin)):(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['62'][1]++,begin),to:end,unit:unit};},this);__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['170']++;this._runtimeAttr=attr;},_getOffset:function(attr){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['28']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['171']++;var node=this._node,val=node.getComputedStyle(attr),get=attr==='left'?(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['63'][0]++,'getX'):(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['63'][1]++,'getY'),set=attr==='left'?(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['64'][0]++,'setX'):(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['64'][1]++,'setY'),position;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['172']++;if(val==='auto'){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['65'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['173']++;position=node.getStyle('position');__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['174']++;if((__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['67'][0]++,position==='absolute')||(__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['67'][1]++,position==='fixed')){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['66'][0]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['175']++;val=node[get]();__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['176']++;node[set](val);}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['66'][1]++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['177']++;val=0;}}else{__cov_LgJ5P4ZXEcllOMVJL_pLXQ.b['65'][1]++;}__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['178']++;return val;},destructor:function(){__cov_LgJ5P4ZXEcllOMVJL_pLXQ.f['29']++;__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['179']++;delete Y.Anim._instances[Y.stamp(this)];}};__cov_LgJ5P4ZXEcllOMVJL_pLXQ.s['180']++;Y.extend(Y.Anim,Y.Base,proto);},'patched-v3.18.0',{'requires':['base-base','node-style','color-base']});
  