src/cm/media/js/lib/yui/yui3-3.15.0/build/uploader-flash/uploader-flash-coverage.js
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 602 e16a97fb364a
permissions -rw-r--r--
add link to "privacy policy" in the header test
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
602
e16a97fb364a Use YUI 3.15
gibus
parents:
diff changeset
     1
if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
e16a97fb364a Use YUI 3.15
gibus
parents:
diff changeset
     2
if (!__coverage__['build/uploader-flash/uploader-flash.js']) {
e16a97fb364a Use YUI 3.15
gibus
parents:
diff changeset
     3
   __coverage__['build/uploader-flash/uploader-flash.js'] = {"path":"build/uploader-flash/uploader-flash.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,"181":0,"182":0,"183":0,"184":0,"185":0,"186":0,"187":0,"188":0,"189":0,"190":0,"191":0,"192":0,"193":0,"194":0,"195":0,"196":0,"197":0,"198":0,"199":0,"200":0,"201":0,"202":0,"203":0,"204":0,"205":0,"206":0,"207":0,"208":0,"209":0,"210":0,"211":0,"212":0,"213":0,"214":0,"215":0,"216":0,"217":0,"218":0,"219":0,"220":0,"221":0,"222":0,"223":0,"224":0,"225":0,"226":0,"227":0,"228":0,"229":0,"230":0,"231":0,"232":0,"233":0,"234":0,"235":0,"236":0,"237":0,"238":0,"239":0,"240":0,"241":0,"242":0,"243":0,"244":0,"245":0,"246":0,"247":0,"248":0,"249":0,"250":0,"251":0,"252":0,"253":0,"254":0,"255":0,"256":0,"257":0,"258":0,"259":0,"260":0,"261":0,"262":0,"263":0,"264":0,"265":0,"266":0,"267":0,"268":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"277":0,"278":0,"279":0,"280":0,"281":0,"282":0,"283":0,"284":0,"285":0,"286":0,"287":0,"288":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0,0],"4":[0,0],"5":[0,0],"6":[0,0,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,0,0,0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,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,0,0,0,0,0,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,0,0],"51":[0,0],"52":[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,"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},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":45}}},"2":{"name":"SWF","line":67,"loc":{"start":{"line":67,"column":0},"end":{"line":67,"column":86}}},"3":{"name":"(anonymous_3)","line":159,"loc":{"start":{"line":159,"column":19},"end":{"line":159,"column":43}}},"4":{"name":"(anonymous_4)","line":170,"loc":{"start":{"line":170,"column":19},"end":{"line":170,"column":35}}},"5":{"name":"(anonymous_5)","line":188,"loc":{"start":{"line":188,"column":13},"end":{"line":189,"column":4}}},"6":{"name":"(anonymous_6)","line":206,"loc":{"start":{"line":206,"column":14},"end":{"line":207,"column":4}}},"7":{"name":"(anonymous_7)","line":228,"loc":{"start":{"line":228,"column":20},"end":{"line":228,"column":32}}},"8":{"name":"(anonymous_8)","line":240,"loc":{"start":{"line":240,"column":22},"end":{"line":240,"column":37}}},"9":{"name":"(anonymous_9)","line":253,"loc":{"start":{"line":253,"column":26},"end":{"line":253,"column":43}}},"10":{"name":"(anonymous_10)","line":378,"loc":{"start":{"line":378,"column":21},"end":{"line":378,"column":62}}},"11":{"name":"(anonymous_11)","line":405,"loc":{"start":{"line":405,"column":22},"end":{"line":405,"column":34}}},"12":{"name":"UploaderFlash","line":561,"loc":{"start":{"line":561,"column":0},"end":{"line":561,"column":25}}},"13":{"name":"(anonymous_13)","line":635,"loc":{"start":{"line":635,"column":18},"end":{"line":635,"column":30}}},"14":{"name":"(anonymous_14)","line":820,"loc":{"start":{"line":820,"column":15},"end":{"line":820,"column":27}}},"15":{"name":"(anonymous_15)","line":854,"loc":{"start":{"line":854,"column":13},"end":{"line":854,"column":25}}},"16":{"name":"(anonymous_16)","line":856,"loc":{"start":{"line":856,"column":42},"end":{"line":856,"column":54}}},"17":{"name":"(anonymous_17)","line":873,"loc":{"start":{"line":873,"column":44},"end":{"line":873,"column":56}}},"18":{"name":"(anonymous_18)","line":881,"loc":{"start":{"line":881,"column":44},"end":{"line":881,"column":56}}},"19":{"name":"(anonymous_19)","line":887,"loc":{"start":{"line":887,"column":43},"end":{"line":887,"column":55}}},"20":{"name":"(anonymous_20)","line":893,"loc":{"start":{"line":893,"column":41},"end":{"line":893,"column":53}}},"21":{"name":"(anonymous_21)","line":899,"loc":{"start":{"line":899,"column":39},"end":{"line":899,"column":51}}},"22":{"name":"(anonymous_22)","line":918,"loc":{"start":{"line":918,"column":25},"end":{"line":918,"column":37}}},"23":{"name":"(anonymous_23)","line":937,"loc":{"start":{"line":937,"column":70},"end":{"line":937,"column":84}}},"24":{"name":"(anonymous_24)","line":947,"loc":{"start":{"line":947,"column":66},"end":{"line":947,"column":80}}},"25":{"name":"(anonymous_25)","line":957,"loc":{"start":{"line":957,"column":80},"end":{"line":957,"column":92}}},"26":{"name":"(anonymous_26)","line":959,"loc":{"start":{"line":959,"column":27},"end":{"line":959,"column":39}}},"27":{"name":"(anonymous_27)","line":964,"loc":{"start":{"line":964,"column":86},"end":{"line":964,"column":98}}},"28":{"name":"(anonymous_28)","line":966,"loc":{"start":{"line":966,"column":27},"end":{"line":966,"column":39}}},"29":{"name":"(anonymous_29)","line":971,"loc":{"start":{"line":971,"column":81},"end":{"line":971,"column":93}}},"30":{"name":"(anonymous_30)","line":976,"loc":{"start":{"line":976,"column":79},"end":{"line":976,"column":91}}},"31":{"name":"(anonymous_31)","line":1001,"loc":{"start":{"line":1001,"column":22},"end":{"line":1001,"column":44}}},"32":{"name":"(anonymous_32)","line":1018,"loc":{"start":{"line":1018,"column":22},"end":{"line":1018,"column":34}}},"33":{"name":"(anonymous_33)","line":1033,"loc":{"start":{"line":1033,"column":24},"end":{"line":1033,"column":36}}},"34":{"name":"(anonymous_34)","line":1046,"loc":{"start":{"line":1046,"column":22},"end":{"line":1046,"column":34}}},"35":{"name":"(anonymous_35)","line":1065,"loc":{"start":{"line":1065,"column":19},"end":{"line":1065,"column":31}}},"36":{"name":"(anonymous_36)","line":1075,"loc":{"start":{"line":1075,"column":19},"end":{"line":1075,"column":34}}},"37":{"name":"(anonymous_37)","line":1090,"loc":{"start":{"line":1090,"column":22},"end":{"line":1090,"column":36}}},"38":{"name":"(anonymous_38)","line":1103,"loc":{"start":{"line":1103,"column":25},"end":{"line":1103,"column":42}}},"39":{"name":"(anonymous_39)","line":1117,"loc":{"start":{"line":1117,"column":36},"end":{"line":1117,"column":53}}},"40":{"name":"(anonymous_40)","line":1125,"loc":{"start":{"line":1125,"column":36},"end":{"line":1125,"column":53}}},"41":{"name":"(anonymous_41)","line":1150,"loc":{"start":{"line":1150,"column":26},"end":{"line":1150,"column":43}}},"42":{"name":"(anonymous_42)","line":1192,"loc":{"start":{"line":1192,"column":13},"end":{"line":1192,"column":44}}},"43":{"name":"(anonymous_43)","line":1220,"loc":{"start":{"line":1220,"column":16},"end":{"line":1220,"column":41}}},"44":{"name":"(anonymous_44)","line":1233,"loc":{"start":{"line":1233,"column":18},"end":{"line":1233,"column":50}}},"45":{"name":"(anonymous_45)","line":1253,"loc":{"start":{"line":1253,"column":49},"end":{"line":1253,"column":61}}},"46":{"name":"(anonymous_46)","line":1391,"loc":{"start":{"line":1391,"column":23},"end":{"line":1391,"column":38}}},"47":{"name":"(anonymous_47)","line":1507,"loc":{"start":{"line":1507,"column":21},"end":{"line":1507,"column":33}}},"48":{"name":"(anonymous_48)","line":1524,"loc":{"start":{"line":1524,"column":23},"end":{"line":1524,"column":38}}},"49":{"name":"(anonymous_49)","line":1541,"loc":{"start":{"line":1541,"column":21},"end":{"line":1541,"column":33}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":1611,"column":3}},"2":{"start":{"line":14,"column":0},"end":{"line":15,"column":45}},"3":{"start":{"line":24,"column":4},"end":{"line":37,"column":216}},"4":{"start":{"line":67,"column":0},"end":{"line":140,"column":1}},"5":{"start":{"line":69,"column":4},"end":{"line":69,"column":32}},"6":{"start":{"line":72,"column":4},"end":{"line":72,"column":23}},"7":{"start":{"line":73,"column":4},"end":{"line":73,"column":40}},"8":{"start":{"line":75,"column":4},"end":{"line":75,"column":44}},"9":{"start":{"line":77,"column":4},"end":{"line":77,"column":58}},"10":{"start":{"line":79,"column":4},"end":{"line":79,"column":59}},"11":{"start":{"line":80,"column":4},"end":{"line":80,"column":170}},"12":{"start":{"line":81,"column":4},"end":{"line":81,"column":69}},"13":{"start":{"line":82,"column":4},"end":{"line":82,"column":108}},"14":{"start":{"line":83,"column":4},"end":{"line":83,"column":69}},"15":{"start":{"line":84,"column":4},"end":{"line":84,"column":31}},"16":{"start":{"line":85,"column":4},"end":{"line":85,"column":13}},"17":{"start":{"line":86,"column":4},"end":{"line":86,"column":149}},"18":{"start":{"line":88,"column":4},"end":{"line":88,"column":33}},"19":{"start":{"line":89,"column":4},"end":{"line":139,"column":5}},"20":{"start":{"line":90,"column":8},"end":{"line":90,"column":41}},"21":{"start":{"line":91,"column":8},"end":{"line":95,"column":9}},"22":{"start":{"line":92,"column":12},"end":{"line":92,"column":56}},"23":{"start":{"line":94,"column":12},"end":{"line":94,"column":91}},"24":{"start":{"line":97,"column":8},"end":{"line":97,"column":19}},"25":{"start":{"line":98,"column":8},"end":{"line":98,"column":19}},"26":{"start":{"line":100,"column":8},"end":{"line":100,"column":61}},"27":{"start":{"line":102,"column":8},"end":{"line":104,"column":9}},"28":{"start":{"line":103,"column":12},"end":{"line":103,"column":87}},"29":{"start":{"line":106,"column":8},"end":{"line":110,"column":9}},"30":{"start":{"line":107,"column":12},"end":{"line":109,"column":13}},"31":{"start":{"line":108,"column":16},"end":{"line":108,"column":148}},"32":{"start":{"line":112,"column":8},"end":{"line":117,"column":9}},"33":{"start":{"line":113,"column":12},"end":{"line":113,"column":57}},"34":{"start":{"line":114,"column":12},"end":{"line":116,"column":13}},"35":{"start":{"line":115,"column":16},"end":{"line":115,"column":108}},"36":{"start":{"line":119,"column":8},"end":{"line":121,"column":9}},"37":{"start":{"line":120,"column":12},"end":{"line":120,"column":84}},"38":{"start":{"line":123,"column":8},"end":{"line":123,"column":33}},"39":{"start":{"line":125,"column":8},"end":{"line":125,"column":45}},"40":{"start":{"line":127,"column":8},"end":{"line":127,"column":40}},"41":{"start":{"line":135,"column":8},"end":{"line":135,"column":23}},"42":{"start":{"line":136,"column":8},"end":{"line":136,"column":41}},"43":{"start":{"line":137,"column":8},"end":{"line":137,"column":59}},"44":{"start":{"line":138,"column":8},"end":{"line":138,"column":46}},"45":{"start":{"line":149,"column":0},"end":{"line":149,"column":38}},"46":{"start":{"line":159,"column":0},"end":{"line":161,"column":2}},"47":{"start":{"line":160,"column":4},"end":{"line":160,"column":47}},"48":{"start":{"line":163,"column":0},"end":{"line":210,"column":2}},"49":{"start":{"line":171,"column":8},"end":{"line":177,"column":9}},"50":{"start":{"line":172,"column":12},"end":{"line":172,"column":54}},"51":{"start":{"line":173,"column":12},"end":{"line":173,"column":41}},"52":{"start":{"line":174,"column":15},"end":{"line":177,"column":9}},"53":{"start":{"line":176,"column":12},"end":{"line":176,"column":41}},"54":{"start":{"line":190,"column":4},"end":{"line":192,"column":5}},"55":{"start":{"line":191,"column":10},"end":{"line":191,"column":19}},"56":{"start":{"line":193,"column":8},"end":{"line":197,"column":9}},"57":{"start":{"line":194,"column":8},"end":{"line":194,"column":67}},"58":{"start":{"line":196,"column":8},"end":{"line":196,"column":20}},"59":{"start":{"line":208,"column":8},"end":{"line":208,"column":33}},"60":{"start":{"line":212,"column":0},"end":{"line":212,"column":30}},"61":{"start":{"line":214,"column":0},"end":{"line":214,"column":12}},"62":{"start":{"line":228,"column":4},"end":{"line":230,"column":6}},"63":{"start":{"line":229,"column":8},"end":{"line":229,"column":64}},"64":{"start":{"line":232,"column":4},"end":{"line":548,"column":7}},"65":{"start":{"line":241,"column":12},"end":{"line":243,"column":13}},"66":{"start":{"line":242,"column":16},"end":{"line":242,"column":48}},"67":{"start":{"line":254,"column":10},"end":{"line":367,"column":9}},"68":{"start":{"line":255,"column":10},"end":{"line":366,"column":11}},"69":{"start":{"line":268,"column":17},"end":{"line":268,"column":76}},"70":{"start":{"line":269,"column":17},"end":{"line":269,"column":23}},"71":{"start":{"line":289,"column":17},"end":{"line":293,"column":48}},"72":{"start":{"line":294,"column":17},"end":{"line":294,"column":63}},"73":{"start":{"line":295,"column":17},"end":{"line":295,"column":23}},"74":{"start":{"line":309,"column":17},"end":{"line":309,"column":67}},"75":{"start":{"line":310,"column":17},"end":{"line":310,"column":23}},"76":{"start":{"line":325,"column":17},"end":{"line":326,"column":65}},"77":{"start":{"line":327,"column":17},"end":{"line":327,"column":23}},"78":{"start":{"line":341,"column":17},"end":{"line":341,"column":65}},"79":{"start":{"line":342,"column":17},"end":{"line":342,"column":23}},"80":{"start":{"line":364,"column":17},"end":{"line":364,"column":135}},"81":{"start":{"line":380,"column":8},"end":{"line":396,"column":10}},"82":{"start":{"line":382,"column":12},"end":{"line":385,"column":44}},"83":{"start":{"line":387,"column":12},"end":{"line":387,"column":42}},"84":{"start":{"line":389,"column":12},"end":{"line":389,"column":70}},"85":{"start":{"line":390,"column":12},"end":{"line":390,"column":73}},"86":{"start":{"line":391,"column":12},"end":{"line":391,"column":73}},"87":{"start":{"line":392,"column":12},"end":{"line":392,"column":77}},"88":{"start":{"line":393,"column":12},"end":{"line":393,"column":70}},"89":{"start":{"line":395,"column":12},"end":{"line":395,"column":71}},"90":{"start":{"line":406,"column":9},"end":{"line":409,"column":10}},"91":{"start":{"line":407,"column":11},"end":{"line":407,"column":68}},"92":{"start":{"line":408,"column":11},"end":{"line":408,"column":37}},"93":{"start":{"line":550,"column":4},"end":{"line":550,"column":28}},"94":{"start":{"line":561,"column":0},"end":{"line":563,"column":1}},"95":{"start":{"line":562,"column":4},"end":{"line":562,"column":67}},"96":{"start":{"line":567,"column":0},"end":{"line":1595,"column":3}},"97":{"start":{"line":638,"column":8},"end":{"line":638,"column":50}},"98":{"start":{"line":639,"column":8},"end":{"line":639,"column":34}},"99":{"start":{"line":640,"column":8},"end":{"line":640,"column":26}},"100":{"start":{"line":641,"column":8},"end":{"line":641,"column":33}},"101":{"start":{"line":642,"column":8},"end":{"line":642,"column":33}},"102":{"start":{"line":643,"column":8},"end":{"line":643,"column":40}},"103":{"start":{"line":644,"column":8},"end":{"line":644,"column":28}},"104":{"start":{"line":660,"column":8},"end":{"line":660,"column":35}},"105":{"start":{"line":668,"column":8},"end":{"line":668,"column":36}},"106":{"start":{"line":683,"column":8},"end":{"line":683,"column":40}},"107":{"start":{"line":702,"column":8},"end":{"line":702,"column":39}},"108":{"start":{"line":719,"column":8},"end":{"line":719,"column":44}},"109":{"start":{"line":736,"column":8},"end":{"line":736,"column":39}},"110":{"start":{"line":744,"column":8},"end":{"line":744,"column":43}},"111":{"start":{"line":765,"column":8},"end":{"line":765,"column":36}},"112":{"start":{"line":773,"column":8},"end":{"line":773,"column":35}},"113":{"start":{"line":781,"column":8},"end":{"line":781,"column":35}},"114":{"start":{"line":789,"column":8},"end":{"line":789,"column":34}},"115":{"start":{"line":797,"column":8},"end":{"line":797,"column":32}},"116":{"start":{"line":805,"column":8},"end":{"line":805,"column":30}},"117":{"start":{"line":821,"column":8},"end":{"line":835,"column":14}},"118":{"start":{"line":837,"column":8},"end":{"line":837,"column":53}},"119":{"start":{"line":838,"column":8},"end":{"line":838,"column":66}},"120":{"start":{"line":839,"column":8},"end":{"line":839,"column":42}},"121":{"start":{"line":840,"column":8},"end":{"line":840,"column":42}},"122":{"start":{"line":842,"column":8},"end":{"line":842,"column":83}},"123":{"start":{"line":856,"column":8},"end":{"line":865,"column":17}},"124":{"start":{"line":857,"column":12},"end":{"line":857,"column":37}},"125":{"start":{"line":858,"column":12},"end":{"line":858,"column":35}},"126":{"start":{"line":859,"column":12},"end":{"line":859,"column":35}},"127":{"start":{"line":860,"column":12},"end":{"line":860,"column":38}},"128":{"start":{"line":861,"column":12},"end":{"line":861,"column":76}},"129":{"start":{"line":862,"column":12},"end":{"line":862,"column":72}},"130":{"start":{"line":863,"column":12},"end":{"line":863,"column":68}},"131":{"start":{"line":864,"column":12},"end":{"line":864,"column":69}},"132":{"start":{"line":867,"column":8},"end":{"line":867,"column":72}},"133":{"start":{"line":873,"column":8},"end":{"line":879,"column":17}},"134":{"start":{"line":874,"column":12},"end":{"line":874,"column":36}},"135":{"start":{"line":875,"column":12},"end":{"line":875,"column":48}},"136":{"start":{"line":876,"column":12},"end":{"line":878,"column":13}},"137":{"start":{"line":877,"column":16},"end":{"line":877,"column":53}},"138":{"start":{"line":881,"column":8},"end":{"line":885,"column":17}},"139":{"start":{"line":882,"column":12},"end":{"line":882,"column":36}},"140":{"start":{"line":883,"column":12},"end":{"line":883,"column":49}},"141":{"start":{"line":884,"column":12},"end":{"line":884,"column":50}},"142":{"start":{"line":887,"column":8},"end":{"line":891,"column":17}},"143":{"start":{"line":888,"column":12},"end":{"line":888,"column":35}},"144":{"start":{"line":889,"column":12},"end":{"line":889,"column":39}},"145":{"start":{"line":890,"column":12},"end":{"line":890,"column":49}},"146":{"start":{"line":893,"column":8},"end":{"line":897,"column":17}},"147":{"start":{"line":894,"column":12},"end":{"line":894,"column":33}},"148":{"start":{"line":895,"column":12},"end":{"line":895,"column":37}},"149":{"start":{"line":896,"column":12},"end":{"line":896,"column":50}},"150":{"start":{"line":899,"column":8},"end":{"line":905,"column":17}},"151":{"start":{"line":900,"column":12},"end":{"line":900,"column":31}},"152":{"start":{"line":901,"column":12},"end":{"line":901,"column":37}},"153":{"start":{"line":902,"column":12},"end":{"line":902,"column":48}},"154":{"start":{"line":903,"column":12},"end":{"line":903,"column":34}},"155":{"start":{"line":904,"column":12},"end":{"line":904,"column":44}},"156":{"start":{"line":919,"column":8},"end":{"line":988,"column":9}},"157":{"start":{"line":921,"column":12},"end":{"line":931,"column":13}},"158":{"start":{"line":922,"column":16},"end":{"line":922,"column":55}},"159":{"start":{"line":923,"column":16},"end":{"line":923,"column":53}},"160":{"start":{"line":924,"column":16},"end":{"line":924,"column":58}},"161":{"start":{"line":925,"column":16},"end":{"line":925,"column":61}},"162":{"start":{"line":926,"column":16},"end":{"line":926,"column":56}},"163":{"start":{"line":927,"column":16},"end":{"line":927,"column":55}},"164":{"start":{"line":930,"column":16},"end":{"line":930,"column":46}},"165":{"start":{"line":933,"column":12},"end":{"line":934,"column":62}},"166":{"start":{"line":937,"column":12},"end":{"line":945,"column":21}},"167":{"start":{"line":938,"column":16},"end":{"line":944,"column":17}},"168":{"start":{"line":939,"column":20},"end":{"line":939,"column":40}},"169":{"start":{"line":940,"column":20},"end":{"line":940,"column":72}},"170":{"start":{"line":941,"column":20},"end":{"line":941,"column":75}},"171":{"start":{"line":942,"column":20},"end":{"line":942,"column":102}},"172":{"start":{"line":943,"column":20},"end":{"line":943,"column":52}},"173":{"start":{"line":947,"column":12},"end":{"line":955,"column":21}},"174":{"start":{"line":948,"column":16},"end":{"line":954,"column":17}},"175":{"start":{"line":949,"column":20},"end":{"line":949,"column":40}},"176":{"start":{"line":950,"column":20},"end":{"line":950,"column":72}},"177":{"start":{"line":951,"column":20},"end":{"line":951,"column":75}},"178":{"start":{"line":952,"column":20},"end":{"line":952,"column":102}},"179":{"start":{"line":953,"column":20},"end":{"line":953,"column":52}},"180":{"start":{"line":957,"column":12},"end":{"line":962,"column":21}},"181":{"start":{"line":958,"column":16},"end":{"line":958,"column":47}},"182":{"start":{"line":959,"column":16},"end":{"line":961,"column":23}},"183":{"start":{"line":960,"column":20},"end":{"line":960,"column":40}},"184":{"start":{"line":964,"column":12},"end":{"line":969,"column":21}},"185":{"start":{"line":965,"column":16},"end":{"line":965,"column":47}},"186":{"start":{"line":966,"column":16},"end":{"line":968,"column":23}},"187":{"start":{"line":967,"column":20},"end":{"line":967,"column":38}},"188":{"start":{"line":971,"column":12},"end":{"line":974,"column":21}},"189":{"start":{"line":972,"column":16},"end":{"line":972,"column":41}},"190":{"start":{"line":973,"column":16},"end":{"line":973,"column":52}},"191":{"start":{"line":976,"column":12},"end":{"line":979,"column":21}},"192":{"start":{"line":977,"column":16},"end":{"line":977,"column":42}},"193":{"start":{"line":978,"column":16},"end":{"line":978,"column":53}},"194":{"start":{"line":981,"column":13},"end":{"line":988,"column":9}},"195":{"start":{"line":982,"column":12},"end":{"line":982,"column":51}},"196":{"start":{"line":983,"column":12},"end":{"line":983,"column":49}},"197":{"start":{"line":984,"column":12},"end":{"line":984,"column":54}},"198":{"start":{"line":985,"column":12},"end":{"line":985,"column":57}},"199":{"start":{"line":986,"column":12},"end":{"line":986,"column":52}},"200":{"start":{"line":987,"column":12},"end":{"line":987,"column":51}},"201":{"start":{"line":1002,"column":8},"end":{"line":1007,"column":9}},"202":{"start":{"line":1003,"column":12},"end":{"line":1003,"column":88}},"203":{"start":{"line":1006,"column":12},"end":{"line":1006,"column":91}},"204":{"start":{"line":1019,"column":8},"end":{"line":1021,"column":9}},"205":{"start":{"line":1020,"column":12},"end":{"line":1020,"column":84}},"206":{"start":{"line":1034,"column":8},"end":{"line":1036,"column":9}},"207":{"start":{"line":1035,"column":12},"end":{"line":1035,"column":93}},"208":{"start":{"line":1047,"column":8},"end":{"line":1056,"column":9}},"209":{"start":{"line":1048,"column":12},"end":{"line":1048,"column":49}},"210":{"start":{"line":1049,"column":12},"end":{"line":1049,"column":75}},"211":{"start":{"line":1050,"column":12},"end":{"line":1050,"column":52}},"212":{"start":{"line":1053,"column":12},"end":{"line":1053,"column":50}},"213":{"start":{"line":1054,"column":12},"end":{"line":1054,"column":74}},"214":{"start":{"line":1055,"column":12},"end":{"line":1055,"column":51}},"215":{"start":{"line":1066,"column":8},"end":{"line":1066,"column":39}},"216":{"start":{"line":1076,"column":8},"end":{"line":1076,"column":38}},"217":{"start":{"line":1077,"column":8},"end":{"line":1077,"column":39}},"218":{"start":{"line":1092,"column":8},"end":{"line":1092,"column":30}},"219":{"start":{"line":1093,"column":8},"end":{"line":1093,"column":40}},"220":{"start":{"line":1096,"column":8},"end":{"line":1101,"column":21}},"221":{"start":{"line":1103,"column":8},"end":{"line":1114,"column":11}},"222":{"start":{"line":1104,"column":12},"end":{"line":1104,"column":33}},"223":{"start":{"line":1105,"column":12},"end":{"line":1105,"column":42}},"224":{"start":{"line":1106,"column":12},"end":{"line":1106,"column":56}},"225":{"start":{"line":1107,"column":12},"end":{"line":1107,"column":56}},"226":{"start":{"line":1108,"column":12},"end":{"line":1108,"column":56}},"227":{"start":{"line":1109,"column":12},"end":{"line":1109,"column":71}},"228":{"start":{"line":1110,"column":12},"end":{"line":1110,"column":76}},"229":{"start":{"line":1111,"column":12},"end":{"line":1111,"column":42}},"230":{"start":{"line":1113,"column":12},"end":{"line":1113,"column":46}},"231":{"start":{"line":1116,"column":9},"end":{"line":1128,"column":10}},"232":{"start":{"line":1117,"column":12},"end":{"line":1122,"column":15}},"233":{"start":{"line":1118,"column":16},"end":{"line":1118,"column":53}},"234":{"start":{"line":1119,"column":16},"end":{"line":1121,"column":17}},"235":{"start":{"line":1120,"column":20},"end":{"line":1120,"column":46}},"236":{"start":{"line":1125,"column":12},"end":{"line":1127,"column":15}},"237":{"start":{"line":1126,"column":16},"end":{"line":1126,"column":57}},"238":{"start":{"line":1130,"column":8},"end":{"line":1137,"column":9}},"239":{"start":{"line":1131,"column":12},"end":{"line":1131,"column":44}},"240":{"start":{"line":1133,"column":12},"end":{"line":1134,"column":103}},"241":{"start":{"line":1136,"column":12},"end":{"line":1136,"column":63}},"242":{"start":{"line":1152,"column":8},"end":{"line":1177,"column":9}},"243":{"start":{"line":1154,"column":17},"end":{"line":1154,"column":53}},"244":{"start":{"line":1155,"column":16},"end":{"line":1155,"column":22}},"245":{"start":{"line":1157,"column":17},"end":{"line":1157,"column":52}},"246":{"start":{"line":1158,"column":16},"end":{"line":1158,"column":22}},"247":{"start":{"line":1160,"column":17},"end":{"line":1160,"column":57}},"248":{"start":{"line":1161,"column":16},"end":{"line":1161,"column":22}},"249":{"start":{"line":1163,"column":17},"end":{"line":1163,"column":52}},"250":{"start":{"line":1164,"column":16},"end":{"line":1164,"column":22}},"251":{"start":{"line":1166,"column":17},"end":{"line":1166,"column":35}},"252":{"start":{"line":1167,"column":17},"end":{"line":1167,"column":56}},"253":{"start":{"line":1168,"column":16},"end":{"line":1168,"column":22}},"254":{"start":{"line":1171,"column":17},"end":{"line":1171,"column":49}},"255":{"start":{"line":1172,"column":16},"end":{"line":1172,"column":22}},"256":{"start":{"line":1175,"column":17},"end":{"line":1175,"column":50}},"257":{"start":{"line":1176,"column":12},"end":{"line":1176,"column":18}},"258":{"start":{"line":1194,"column":8},"end":{"line":1196,"column":36}},"259":{"start":{"line":1198,"column":12},"end":{"line":1198,"column":85}},"260":{"start":{"line":1200,"column":8},"end":{"line":1209,"column":9}},"261":{"start":{"line":1202,"column":12},"end":{"line":1202,"column":67}},"262":{"start":{"line":1203,"column":12},"end":{"line":1203,"column":70}},"263":{"start":{"line":1204,"column":12},"end":{"line":1204,"column":70}},"264":{"start":{"line":1205,"column":12},"end":{"line":1205,"column":67}},"265":{"start":{"line":1206,"column":12},"end":{"line":1206,"column":68}},"266":{"start":{"line":1208,"column":12},"end":{"line":1208,"column":77}},"267":{"start":{"line":1221,"column":8},"end":{"line":1221,"column":62}},"268":{"start":{"line":1234,"column":8},"end":{"line":1258,"column":9}},"269":{"start":{"line":1235,"column":12},"end":{"line":1236,"column":67}},"270":{"start":{"line":1238,"column":12},"end":{"line":1246,"column":15}},"271":{"start":{"line":1248,"column":12},"end":{"line":1248,"column":73}},"272":{"start":{"line":1249,"column":12},"end":{"line":1249,"column":76}},"273":{"start":{"line":1250,"column":12},"end":{"line":1250,"column":81}},"274":{"start":{"line":1251,"column":12},"end":{"line":1251,"column":76}},"275":{"start":{"line":1252,"column":12},"end":{"line":1252,"column":80}},"276":{"start":{"line":1253,"column":12},"end":{"line":1253,"column":89}},"277":{"start":{"line":1253,"column":62},"end":{"line":1253,"column":80}},"278":{"start":{"line":1254,"column":12},"end":{"line":1254,"column":73}},"279":{"start":{"line":1255,"column":12},"end":{"line":1255,"column":37}},"280":{"start":{"line":1257,"column":12},"end":{"line":1257,"column":37}},"281":{"start":{"line":1392,"column":16},"end":{"line":1397,"column":18}},"282":{"start":{"line":1508,"column":16},"end":{"line":1508,"column":138}},"283":{"start":{"line":1525,"column":20},"end":{"line":1525,"column":50}},"284":{"start":{"line":1542,"column":16},"end":{"line":1542,"column":49}},"285":{"start":{"line":1544,"column":16},"end":{"line":1546,"column":17}},"286":{"start":{"line":1545,"column":20},"end":{"line":1545,"column":65}},"287":{"start":{"line":1548,"column":16},"end":{"line":1548,"column":30}},"288":{"start":{"line":1597,"column":0},"end":{"line":1597,"column":38}}},"branchMap":{"1":{"line":75,"type":"binary-expr","locations":[{"start":{"line":75,"column":24},"end":{"line":75,"column":37}},{"start":{"line":75,"column":41},"end":{"line":75,"column":43}}]},"2":{"line":77,"type":"binary-expr","locations":[{"start":{"line":77,"column":23},"end":{"line":77,"column":44}},{"start":{"line":77,"column":48},"end":{"line":77,"column":57}}]},"3":{"line":82,"type":"binary-expr","locations":[{"start":{"line":82,"column":31},"end":{"line":82,"column":48}},{"start":{"line":82,"column":52},"end":{"line":82,"column":72}},{"start":{"line":82,"column":76},"end":{"line":82,"column":107}}]},"4":{"line":83,"type":"cond-expr","locations":[{"start":{"line":83,"column":42},"end":{"line":83,"column":61}},{"start":{"line":83,"column":62},"end":{"line":83,"column":68}}]},"5":{"line":89,"type":"if","locations":[{"start":{"line":89,"column":4},"end":{"line":89,"column":4}},{"start":{"line":89,"column":4},"end":{"line":89,"column":4}}]},"6":{"line":89,"type":"binary-expr","locations":[{"start":{"line":89,"column":8},"end":{"line":89,"column":16}},{"start":{"line":89,"column":21},"end":{"line":89,"column":40}},{"start":{"line":89,"column":44},"end":{"line":89,"column":64}},{"start":{"line":89,"column":69},"end":{"line":89,"column":77}}]},"7":{"line":91,"type":"if","locations":[{"start":{"line":91,"column":8},"end":{"line":91,"column":8}},{"start":{"line":91,"column":8},"end":{"line":91,"column":8}}]},"8":{"line":102,"type":"if","locations":[{"start":{"line":102,"column":8},"end":{"line":102,"column":8}},{"start":{"line":102,"column":8},"end":{"line":102,"column":8}}]},"9":{"line":107,"type":"if","locations":[{"start":{"line":107,"column":12},"end":{"line":107,"column":12}},{"start":{"line":107,"column":12},"end":{"line":107,"column":12}}]},"10":{"line":114,"type":"if","locations":[{"start":{"line":114,"column":12},"end":{"line":114,"column":12}},{"start":{"line":114,"column":12},"end":{"line":114,"column":12}}]},"11":{"line":119,"type":"if","locations":[{"start":{"line":119,"column":8},"end":{"line":119,"column":8}},{"start":{"line":119,"column":8},"end":{"line":119,"column":8}}]},"12":{"line":149,"type":"binary-expr","locations":[{"start":{"line":149,"column":17},"end":{"line":149,"column":31}},{"start":{"line":149,"column":35},"end":{"line":149,"column":37}}]},"13":{"line":171,"type":"if","locations":[{"start":{"line":171,"column":8},"end":{"line":171,"column":8}},{"start":{"line":171,"column":8},"end":{"line":171,"column":8}}]},"14":{"line":174,"type":"if","locations":[{"start":{"line":174,"column":15},"end":{"line":174,"column":15}},{"start":{"line":174,"column":15},"end":{"line":174,"column":15}}]},"15":{"line":190,"type":"if","locations":[{"start":{"line":190,"column":4},"end":{"line":190,"column":4}},{"start":{"line":190,"column":4},"end":{"line":190,"column":4}}]},"16":{"line":193,"type":"if","locations":[{"start":{"line":193,"column":8},"end":{"line":193,"column":8}},{"start":{"line":193,"column":8},"end":{"line":193,"column":8}}]},"17":{"line":241,"type":"if","locations":[{"start":{"line":241,"column":12},"end":{"line":241,"column":12}},{"start":{"line":241,"column":12},"end":{"line":241,"column":12}}]},"18":{"line":254,"type":"if","locations":[{"start":{"line":254,"column":10},"end":{"line":254,"column":10}},{"start":{"line":254,"column":10},"end":{"line":254,"column":10}}]},"19":{"line":255,"type":"switch","locations":[{"start":{"line":267,"column":12},"end":{"line":269,"column":23}},{"start":{"line":270,"column":12},"end":{"line":295,"column":23}},{"start":{"line":296,"column":12},"end":{"line":310,"column":23}},{"start":{"line":311,"column":12},"end":{"line":327,"column":23}},{"start":{"line":328,"column":12},"end":{"line":342,"column":23}},{"start":{"line":343,"column":12},"end":{"line":364,"column":135}}]},"20":{"line":380,"type":"if","locations":[{"start":{"line":380,"column":8},"end":{"line":380,"column":8}},{"start":{"line":380,"column":8},"end":{"line":380,"column":8}}]},"21":{"line":383,"type":"binary-expr","locations":[{"start":{"line":383,"column":28},"end":{"line":383,"column":41}},{"start":{"line":383,"column":45},"end":{"line":383,"column":55}}]},"22":{"line":385,"type":"binary-expr","locations":[{"start":{"line":385,"column":25},"end":{"line":385,"column":35}},{"start":{"line":385,"column":39},"end":{"line":385,"column":43}}]},"23":{"line":406,"type":"if","locations":[{"start":{"line":406,"column":9},"end":{"line":406,"column":9}},{"start":{"line":406,"column":9},"end":{"line":406,"column":9}}]},"24":{"line":876,"type":"if","locations":[{"start":{"line":876,"column":12},"end":{"line":876,"column":12}},{"start":{"line":876,"column":12},"end":{"line":876,"column":12}}]},"25":{"line":919,"type":"if","locations":[{"start":{"line":919,"column":8},"end":{"line":919,"column":8}},{"start":{"line":919,"column":8},"end":{"line":919,"column":8}}]},"26":{"line":919,"type":"binary-expr","locations":[{"start":{"line":919,"column":12},"end":{"line":919,"column":44}},{"start":{"line":919,"column":48},"end":{"line":919,"column":85}},{"start":{"line":919,"column":89},"end":{"line":919,"column":124}}]},"27":{"line":921,"type":"if","locations":[{"start":{"line":921,"column":12},"end":{"line":921,"column":12}},{"start":{"line":921,"column":12},"end":{"line":921,"column":12}}]},"28":{"line":938,"type":"if","locations":[{"start":{"line":938,"column":16},"end":{"line":938,"column":16}},{"start":{"line":938,"column":16},"end":{"line":938,"column":16}}]},"29":{"line":938,"type":"binary-expr","locations":[{"start":{"line":938,"column":20},"end":{"line":938,"column":36}},{"start":{"line":938,"column":40},"end":{"line":938,"column":52}}]},"30":{"line":948,"type":"if","locations":[{"start":{"line":948,"column":16},"end":{"line":948,"column":16}},{"start":{"line":948,"column":16},"end":{"line":948,"column":16}}]},"31":{"line":948,"type":"binary-expr","locations":[{"start":{"line":948,"column":20},"end":{"line":948,"column":36}},{"start":{"line":948,"column":40},"end":{"line":948,"column":51}}]},"32":{"line":981,"type":"if","locations":[{"start":{"line":981,"column":13},"end":{"line":981,"column":13}},{"start":{"line":981,"column":13},"end":{"line":981,"column":13}}]},"33":{"line":1002,"type":"if","locations":[{"start":{"line":1002,"column":8},"end":{"line":1002,"column":8}},{"start":{"line":1002,"column":8},"end":{"line":1002,"column":8}}]},"34":{"line":1019,"type":"if","locations":[{"start":{"line":1019,"column":8},"end":{"line":1019,"column":8}},{"start":{"line":1019,"column":8},"end":{"line":1019,"column":8}}]},"35":{"line":1019,"type":"binary-expr","locations":[{"start":{"line":1019,"column":12},"end":{"line":1019,"column":30}},{"start":{"line":1019,"column":34},"end":{"line":1019,"column":68}}]},"36":{"line":1034,"type":"if","locations":[{"start":{"line":1034,"column":8},"end":{"line":1034,"column":8}},{"start":{"line":1034,"column":8},"end":{"line":1034,"column":8}}]},"37":{"line":1047,"type":"if","locations":[{"start":{"line":1047,"column":8},"end":{"line":1047,"column":8}},{"start":{"line":1047,"column":8},"end":{"line":1047,"column":8}}]},"38":{"line":1116,"type":"if","locations":[{"start":{"line":1116,"column":9},"end":{"line":1116,"column":9}},{"start":{"line":1116,"column":9},"end":{"line":1116,"column":9}}]},"39":{"line":1119,"type":"if","locations":[{"start":{"line":1119,"column":16},"end":{"line":1119,"column":16}},{"start":{"line":1119,"column":16},"end":{"line":1119,"column":16}}]},"40":{"line":1130,"type":"if","locations":[{"start":{"line":1130,"column":8},"end":{"line":1130,"column":8}},{"start":{"line":1130,"column":8},"end":{"line":1130,"column":8}}]},"41":{"line":1134,"type":"cond-expr","locations":[{"start":{"line":1134,"column":58},"end":{"line":1134,"column":86}},{"start":{"line":1134,"column":89},"end":{"line":1134,"column":100}}]},"42":{"line":1152,"type":"switch","locations":[{"start":{"line":1153,"column":12},"end":{"line":1155,"column":22}},{"start":{"line":1156,"column":12},"end":{"line":1158,"column":22}},{"start":{"line":1159,"column":12},"end":{"line":1161,"column":22}},{"start":{"line":1162,"column":12},"end":{"line":1164,"column":22}},{"start":{"line":1165,"column":12},"end":{"line":1168,"column":22}},{"start":{"line":1169,"column":12},"end":{"line":1169,"column":36}},{"start":{"line":1170,"column":12},"end":{"line":1172,"column":22}},{"start":{"line":1173,"column":12},"end":{"line":1173,"column":37}},{"start":{"line":1174,"column":12},"end":{"line":1176,"column":18}}]},"43":{"line":1194,"type":"binary-expr","locations":[{"start":{"line":1194,"column":24},"end":{"line":1194,"column":27}},{"start":{"line":1194,"column":31},"end":{"line":1194,"column":52}}]},"44":{"line":1195,"type":"binary-expr","locations":[{"start":{"line":1195,"column":23},"end":{"line":1195,"column":31}},{"start":{"line":1195,"column":35},"end":{"line":1195,"column":62}}]},"45":{"line":1198,"type":"cond-expr","locations":[{"start":{"line":1198,"column":57},"end":{"line":1198,"column":73}},{"start":{"line":1198,"column":76},"end":{"line":1198,"column":84}}]},"46":{"line":1200,"type":"if","locations":[{"start":{"line":1200,"column":8},"end":{"line":1200,"column":8}},{"start":{"line":1200,"column":8},"end":{"line":1200,"column":8}}]},"47":{"line":1234,"type":"if","locations":[{"start":{"line":1234,"column":8},"end":{"line":1234,"column":8}},{"start":{"line":1234,"column":8},"end":{"line":1234,"column":8}}]},"48":{"line":1235,"type":"binary-expr","locations":[{"start":{"line":1235,"column":28},"end":{"line":1235,"column":31}},{"start":{"line":1235,"column":35},"end":{"line":1235,"column":56}}]},"49":{"line":1236,"type":"binary-expr","locations":[{"start":{"line":1236,"column":27},"end":{"line":1236,"column":35}},{"start":{"line":1236,"column":39},"end":{"line":1236,"column":66}}]},"50":{"line":1393,"type":"binary-expr","locations":[{"start":{"line":1393,"column":20},"end":{"line":1393,"column":50}},{"start":{"line":1394,"column":20},"end":{"line":1394,"column":46}},{"start":{"line":1395,"column":20},"end":{"line":1395,"column":54}},{"start":{"line":1396,"column":20},"end":{"line":1396,"column":55}}]},"51":{"line":1525,"type":"binary-expr","locations":[{"start":{"line":1525,"column":28},"end":{"line":1525,"column":36}},{"start":{"line":1525,"column":40},"end":{"line":1525,"column":48}}]},"52":{"line":1544,"type":"if","locations":[{"start":{"line":1544,"column":16},"end":{"line":1544,"column":16}},{"start":{"line":1544,"column":16},"end":{"line":1544,"column":16}}]}},"code":["(function () { YUI.add('uploader-flash', function (Y, NAME) {","","/**","* This module provides a UI for file selection and multiple file upload capability using","* Flash as a transport engine.","* The supported features include: automatic upload queue management, upload progress","* tracking, file filtering, server response retrieval and error reporting.","*","* @module uploader-flash","* @deprecated","*/","","// Shorthands for external modules","var substitute            = Y.Lang.sub,","    UploaderQueue         = Y.Uploader.Queue;","","","/**"," * Embed a Flash applications in a standard manner and communicate with it"," * via External Interface."," * @module swf"," */","","    var Event = Y.Event,","        SWFDetect = Y.SWFDetect,","        Lang = Y.Lang,","        uA = Y.UA,","        Node = Y.Node,","        Escape = Y.Escape,","","        // private","        FLASH_CID = \"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\",","        FLASH_TYPE = \"application/x-shockwave-flash\",","        FLASH_VER = \"10.0.22\",","        EXPRESS_INSTALL_URL = \"http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?\" + Math.random(),","        EVENT_HANDLER = \"SWF.eventHandler\",","        possibleAttributes = {align:\"\", allowFullScreen:\"\", allowNetworking:\"\", allowScriptAccess:\"\", base:\"\", bgcolor:\"\", loop:\"\", menu:\"\", name:\"\", play: \"\", quality:\"\", salign:\"\", scale:\"\", tabindex:\"\", wmode:\"\"};","","        /**","         * The SWF utility is a tool for embedding Flash applications in HTML pages.","         * @module swf","         * @title SWF Utility","         * @requires event-custom, node, swfdetect","         */","","        /**","         * Creates the SWF instance and keeps the configuration data","         *","         * @class SWF","         * @uses Y.Event.Target","         * @constructor","         * @param {String|HTMLElement} id The id of the element, or the element itself that the SWF will be inserted into.","         *        The width and height of the SWF will be set to the width and height of this container element.","         * @param {String} swfURL The URL of the SWF to be embedded into the page.","         * @param {Object} p_oAttributes (optional) Configuration parameters for the Flash application and values for Flashvars","         *        to be passed to the SWF. The p_oAttributes object allows the following additional properties:","         *        <dl>","         *          <dt>version : String</dt>","         *          <dd>The minimum version of Flash required on the user's machine.</dd>","         *          <dt>fixedAttributes : Object</dt>","         *          <dd>An object literal containing one or more of the following String keys and their values: <code>align,","         *              allowFullScreen, allowNetworking, allowScriptAccess, base, bgcolor, menu, name, quality, salign, scale,","         *              tabindex, wmode.</code> event from the thumb</dd>","         *        </dl>","         */","","function SWF (p_oElement /*:String*/, swfURL /*:String*/, p_oAttributes /*:Object*/ ) {","","    this._id = Y.guid(\"yuiswf\");","","","    var _id = this._id;","    var oElement = Node.one(p_oElement);","","    var p_oAttributes = p_oAttributes || {};","","    var flashVersion = p_oAttributes.version || FLASH_VER;","","    var flashVersionSplit = (flashVersion + '').split(\".\");","    var isFlashVersionRight = SWFDetect.isFlashVersionAtLeast(parseInt(flashVersionSplit[0], 10), parseInt(flashVersionSplit[1], 10), parseInt(flashVersionSplit[2], 10));","    var canExpressInstall = (SWFDetect.isFlashVersionAtLeast(8,0,0));","    var shouldExpressInstall = canExpressInstall && !isFlashVersionRight && p_oAttributes.useExpressInstall;","    var flashURL = (shouldExpressInstall)?EXPRESS_INSTALL_URL:swfURL;","    var objstring = '<object ';","    var w, h;","    var flashvarstring = \"yId=\" + Y.id + \"&YUISwfId=\" + _id + \"&YUIBridgeCallback=\" + EVENT_HANDLER + \"&allowedDomain=\" + document.location.hostname;","","    Y.SWF._instances[_id] = this;","    if (oElement && (isFlashVersionRight || shouldExpressInstall) && flashURL) {","        objstring += 'id=\"' + _id + '\" ';","        if (uA.ie) {","            objstring += 'classid=\"' + FLASH_CID + '\" ';","        } else {","            objstring += 'type=\"' + FLASH_TYPE + '\" data=\"' + Escape.html(flashURL) + '\" ';","        }","","        w = \"100%\";","        h = \"100%\";","","        objstring += 'width=\"' + w + '\" height=\"' + h + '\">';","","        if (uA.ie) {","            objstring += '<param name=\"movie\" value=\"' + Escape.html(flashURL) + '\"/>';","        }","","        for (var attribute in p_oAttributes.fixedAttributes) {","            if (possibleAttributes.hasOwnProperty(attribute)) {","                objstring += '<param name=\"' + Escape.html(attribute) + '\" value=\"' + Escape.html(p_oAttributes.fixedAttributes[attribute]) + '\"/>';","            }","        }","","        for (var flashvar in p_oAttributes.flashVars) {","            var fvar = p_oAttributes.flashVars[flashvar];","            if (Lang.isString(fvar)) {","                flashvarstring += \"&\" + Escape.html(flashvar) + \"=\" + Escape.html(encodeURIComponent(fvar));","            }","        }","","        if (flashvarstring) {","            objstring += '<param name=\"flashVars\" value=\"' + flashvarstring + '\"/>';","        }","","        objstring += \"</object>\";","        //using innerHTML as setHTML/setContent causes some issues with ExternalInterface for IE versions of the player","        oElement.set(\"innerHTML\", objstring);","","        this._swf = Node.one(\"#\" + _id);","    } else {","        /**","         * Fired when the Flash player version on the user's machine is","         * below the required value.","         *","         * @event wrongflashversion","         */","        var event = {};","        event.type = \"wrongflashversion\";","        this.publish(\"wrongflashversion\", {fireOnce:true});","        this.fire(\"wrongflashversion\", event);","    }","}","","/**"," * @private"," * The static collection of all instances of the SWFs on the page."," * @property _instances"," * @type Object"," */","","SWF._instances = SWF._instances || {};","","/**"," * @private"," * Handles an event coming from within the SWF and delegate it"," * to a specific instance of SWF."," * @method eventHandler"," * @param swfid {String} the id of the SWF dispatching the event"," * @param event {Object} the event being transmitted."," */","SWF.eventHandler = function (swfid, event) {","    SWF._instances[swfid]._eventHandler(event);","};","","SWF.prototype = {","    /**","     * @private","     * Propagates a specific event from Flash to JS.","     * @method _eventHandler","     * @param event {Object} The event to be propagated from Flash.","     */","    _eventHandler: function(event) {","        if (event.type === \"swfReady\") {","            this.publish(\"swfReady\", {fireOnce:true});","            this.fire(\"swfReady\", event);","        } else if(event.type === \"log\") {","        } else {","            this.fire(event.type, event);","        }","    },","","        /**","     * Calls a specific function exposed by the SWF's","     * ExternalInterface.","     * @method callSWF","     * @param func {String} the name of the function to call","     * @param args {Array} the set of arguments to pass to the function.","     */","","    callSWF: function (func, args)","    {","    if (!args) {","          args= [];","    }","        if (this._swf._node[func]) {","        return(this._swf._node[func].apply(this._swf._node, args));","        } else {","        return null;","        }","    },","","    /**","     * Public accessor to the unique name of the SWF instance.","     *","     * @method toString","     * @return {String} Unique name of the SWF instance.","     */","    toString: function()","    {","        return \"SWF \" + this._id;","    }","};","","Y.augment(SWF, Y.EventTarget);","","Y.SWF = SWF;","    /**","     * The FileFlash class provides a wrapper for a file pointer stored in Flash. The File wrapper","     * also implements the mechanics for uploading a file and tracking its progress.","     * @module file-flash","     */","    /**","     * The class provides a wrapper for a file pointer in Flash.","     * @class FileFlash","     * @extends Base","     * @constructor","     * @param {Object} config Configuration object.","     */","","    var FileFlash = function(o) {","        FileFlash.superclass.constructor.apply(this, arguments);","    };","","    Y.extend(FileFlash, Y.Base, {","","       /**","        * Construction logic executed during FileFlash instantiation.","        *","        * @method initializer","        * @protected","        */","        initializer : function (cfg) {","            if (!this.get(\"id\")) {","                this._set(\"id\", Y.guid(\"file\"));","            }","        },","","       /**","        * Handler of events dispatched by the Flash player.","        *","        * @method _swfEventHandler","        * @param {Event} event The event object received from the Flash player.","        * @protected","        */","        _swfEventHandler: function (event) {","          if (event.id === this.get(\"id\")) {","          switch (event.type) {","            /**","             * Signals that this file's upload has started.","             *","             * @event uploadstart","             * @param event {Event} The event object for the `uploadstart` with the","             *                      following payload:","             *  <dl>","             *      <dt>uploader</dt>","             *          <dd>The Y.SWF instance of Flash uploader that's handling the upload.</dd>","             *  </dl>","             */","            case \"uploadstart\":","                 this.fire(\"uploadstart\", {uploader: this.get(\"uploader\")});","                 break;","            case \"uploadprogress\":","","                  /**","                   * Signals that progress has been made on the upload of this file.","                   *","                   * @event uploadprogress","                   * @param event {Event} The event object for the `uploadprogress` with the","                   *                      following payload:","                   *  <dl>","                   *      <dt>originEvent</dt>","                   *          <dd>The original event fired by the Flash uploader instance.</dd>","                   *      <dt>bytesLoaded</dt>","                   *          <dd>The number of bytes of the file that has been uploaded.</dd>","                   *      <dt>bytesTotal</dt>","                   *          <dd>The total number of bytes in the file (the file size)</dd>","                   *      <dt>percentLoaded</dt>","                   *          <dd>The fraction of the file that has been uploaded, out of 100.</dd>","                   *  </dl>","                   */","                 this.fire(\"uploadprogress\", {originEvent: event,","                                              bytesLoaded: event.bytesLoaded,","                                              bytesTotal: event.bytesTotal,","                                              percentLoaded: Math.min(100, Math.round(10000*event.bytesLoaded/event.bytesTotal)/100)","                                             });","                 this._set(\"bytesUploaded\", event.bytesLoaded);","                 break;","            case \"uploadcomplete\":","","                  /**","                   * Signals that this file's upload has completed, but data has not yet been received from the server.","                   *","                   * @event uploadfinished","                   * @param event {Event} The event object for the `uploadfinished` with the","                   *                      following payload:","                   *  <dl>","                   *      <dt>originEvent</dt>","                   *          <dd>The original event fired by the Flash player instance.</dd>","                   *  </dl>","                   */","                 this.fire(\"uploadfinished\", {originEvent: event});","                 break;","            case \"uploadcompletedata\":","                /**","                 * Signals that this file's upload has completed and data has been received from the server.","                 *","                 * @event uploadcomplete","                 * @param event {Event} The event object for the `uploadcomplete` with the","                 *                      following payload:","                 *  <dl>","                 *      <dt>originEvent</dt>","                 *          <dd>The original event fired by the Flash player instance.</dd>","                 *      <dt>data</dt>","                 *          <dd>The data returned by the server.</dd>","                 *  </dl>","                 */","                 this.fire(\"uploadcomplete\", {originEvent: event,","                                              data: event.data});","                 break;","            case \"uploadcancel\":","","                /**","                 * Signals that this file's upload has been cancelled.","                 *","                 * @event uploadcancel","                 * @param event {Event} The event object for the `uploadcancel` with the","                 *                      following payload:","                 *  <dl>","                 *      <dt>originEvent</dt>","                 *          <dd>The original event fired by the Flash player instance.</dd>","                 *  </dl>","                 */","                 this.fire(\"uploadcancel\", {originEvent: event});","                 break;","            case \"uploaderror\":","","                /**","                 * Signals that this file's upload has encountered an error.","                 *","                 * @event uploaderror","                 * @param event {Event} The event object for the `uploaderror` with the","                 *                      following payload:","                 *  <dl>","                 *      <dt>originEvent</dt>","                 *          <dd>The original event fired by the Flash player instance.</dd>","                 *      <dt>status</dt>","                 *          <dd>The status code reported by the Flash Player. If it's an HTTP error,","                 *                then this corresponds to the HTTP status code received by the uploader.</dd>","                 *      <dt>statusText</dt>","                 *          <dd>The text of the error event reported by the Flash Player.</dd>","                 *      <dt>source</dt>","                 *          <dd>Either \"http\" (if it's an HTTP error), or \"io\" (if it's a network transmission","                 *              error.)</dd>","                 *  </dl>","                 */","                 this.fire(\"uploaderror\", {originEvent: event, status: event.status, statusText: event.message, source: event.source});","","          }","        }","        },","","       /**","        * Starts the upload of a specific file.","        *","        * @method startUpload","        * @param url {String} The URL to upload the file to.","        * @param parameters {Object} (optional) A set of key-value pairs to send as variables along with the file upload HTTP request.","        * @param fileFieldName {String} (optional) The name of the POST variable that should contain the uploaded file ('Filedata' by default)","        */","        startUpload: function(url, parameters, fileFieldName) {","","        if (this.get(\"uploader\")) {","","            var myUploader = this.get(\"uploader\"),","                fileField = fileFieldName || \"Filedata\",","                id = this.get(\"id\"),","                params = parameters || null;","","            this._set(\"bytesUploaded\", 0);","","            myUploader.on(\"uploadstart\", this._swfEventHandler, this);","            myUploader.on(\"uploadprogress\", this._swfEventHandler, this);","            myUploader.on(\"uploadcomplete\", this._swfEventHandler, this);","            myUploader.on(\"uploadcompletedata\", this._swfEventHandler, this);","            myUploader.on(\"uploaderror\", this._swfEventHandler, this);","","            myUploader.callSWF(\"upload\", [id, url, params, fileField]);","         }","","        },","","       /**","        * Cancels the upload of a specific file, if currently in progress.","        *","        * @method cancelUpload","        */","        cancelUpload: function () {","         if (this.get(\"uploader\")) {","           this.get(\"uploader\").callSWF(\"cancel\", [this.get(\"id\")]);","           this.fire(\"uploadcancel\");","         }","        }","","    }, {","","       /**","        * The identity of the class.","        *","        * @property NAME","        * @type String","        * @default 'file'","        * @readOnly","        * @protected","        * @static","        */","        NAME: 'file',","","       /**","        * The type of transport.","        *","        * @property TYPE","        * @type String","        * @default 'flash'","        * @readOnly","        * @protected","        * @static","        */","        TYPE: \"flash\",","","       /**","        * Static property used to define the default attribute configuration of","        * the File.","        *","        * @property ATTRS","        * @type {Object}","        * @protected","        * @static","        */","        ATTRS: {","","       /**","        * A String containing the unique id of the file wrapped by the FileFlash instance.","        * The id is supplied by the Flash player uploader.","        *","        * @attribute id","        * @type {String}","        * @initOnly","        */","        id: {","            writeOnce: \"initOnly\",","            value: null","        },","","       /**","        * The size of the file wrapped by FileFlash. This value is supplied by the Flash player uploader.","        *","        * @attribute size","        * @type {Number}","        * @initOnly","        */","        size: {","            writeOnce: \"initOnly\",","            value: 0","        },","","       /**","        * The name of the file wrapped by FileFlash. This value is supplied by the Flash player uploader.","        *","        * @attribute name","        * @type {String}","        * @initOnly","        */","        name: {","            writeOnce: \"initOnly\",","            value: null","        },","","       /**","        * The date that the file wrapped by FileFlash was created on. This value is supplied by the Flash player uploader.","        *","        * @attribute dateCreated","        * @type {Date}","        * @initOnly","        */","        dateCreated: {","            writeOnce: \"initOnly\",","            value: null","        },","","       /**","        * The date that the file wrapped by FileFlash was last modified on. This value is supplied by the Flash player uploader.","        *","        * @attribute dateModified","        * @type {Date}","        * @initOnly","        */","        dateModified: {","            writeOnce: \"initOnly\",","            value: null","        },","","       /**","        * The number of bytes of the file that has been uploaded to the server. This value is","        * non-zero only while a file is being uploaded.","        *","        * @attribute bytesUploaded","        * @type {Date}","        * @readOnly","        */","        bytesUploaded: {","            readOnly: true,","            value: 0","        },","","       /**","        * The type of the file wrapped by FileFlash. This value is provided by the Flash player","        * uploader.","        *","        * @attribute type","        * @type {String}","        * @initOnly","        */","        type: {","            writeOnce: \"initOnly\",","            value: null","        },","","       /**","        * The instance of Y.SWF wrapping the Flash player uploader associated with this file.","        *","        * @attribute uploder","        * @type {SWF}","        * @initOnly","        */","        uploader: {","            writeOnce: \"initOnly\",","            value: null","        }","        }","    });","","    Y.FileFlash = FileFlash;","/**","* This module provides a UI for file selection and multiple file upload capability","* using Flash as a transport engine.","* @class UploaderFlash","* @extends Widget","* @param {Object} config Configuration object.","* @constructor","* @deprecated","*/","","function UploaderFlash() {","    UploaderFlash.superclass.constructor.apply ( this, arguments );","}","","","","Y.UploaderFlash = Y.extend(UploaderFlash, Y.Widget, {","","    /**","    * Stored value of the current button state (based on","    * mouse events dispatched by the Flash player)","    * @property _buttonState","    * @type {String}","    * @protected","    */","    _buttonState: \"up\",","","    /**","    * Stored value of the current button focus state (based","    * on keyboard and mouse events).","    * @property _buttonFocus","    * @type {Boolean}","    * @protected","    */","    _buttonFocus: false,","","    /**","    * Stored value of the unique id for the container that holds the","    * Flash uploader.","    *","    * @property _swfContainerId","    * @type {String}","    * @protected","    */","    _swfContainerId: null,","","    /**","    * Stored reference to the instance of SWF used to host the","    * Flash uploader.","    *","    * @property _swfReference","    * @type {SWF}","    * @protected","    */","    _swfReference: null,","","    /**","    * Stored reference to the instance of Uploader.Queue used to manage","    * the upload process. This is a read-only property that only exists","    * during an active upload process. Only one queue can be active at","    * a time; if an upload start is attempted while a queue is active,","    * it will be ignored.","    *","    * @property queue","    * @type {Uploader.Queue}","    */","    queue: null,","","    /**","    * Stored event bindings for keyboard navigation to and from the uploader.","    *","    * @property _tabElementBindings","    * @type {Object}","    * @protected","    */","    _tabElementBindings: null,","","","    /**","    * Construction logic executed during UploaderFlash instantiation.","    *","    * @method initializer","    * @protected","    */","    initializer : function () {","","        // Assign protected variable values","        this._swfContainerId = Y.guid(\"uploader\");","        this._swfReference = null;","        this.queue = null;","        this._buttonState = \"up\";","        this._buttonFocus = null;","        this._tabElementBindings = null;","        this._fileList = [];","","        // Publish available events","","        /**","        * Signals that files have been selected.","        *","        * @event fileselect","        * @param event {Event} The event object for the `fileselect` with the","        *                      following payload:","        *  <dl>","        *      <dt>fileList</dt>","        *          <dd>An `Array` of files selected by the user, encapsulated","        *              in Y.FileFlash objects.</dd>","        *  </dl>","        */","        this.publish(\"fileselect\");","","        /**","        * Signals that an upload of multiple files has been started.","        *","        * @event uploadstart","        * @param event {Event} The event object for the `uploadstart`.","        */","        this.publish(\"uploadstart\");","","        /**","        * Signals that an upload of a specific file has started.","        *","        * @event fileuploadstart","        * @param event {Event} The event object for the `fileuploadstart` with the","        *                      following payload:","        *  <dl>","        *      <dt>file</dt>","        *          <dd>A reference to the Y.File that dispatched the event.</dd>","        *      <dt>originEvent</dt>","        *          <dd>The original event dispatched by Y.File.</dd>","        *  </dl>","        */","        this.publish(\"fileuploadstart\");","","        /**","        * Reports on upload progress of a specific file.","        *","        * @event uploadprogress","        * @param event {Event} The event object for the `uploadprogress` with the","        *                      following payload:","        *  <dl>","        *      <dt>bytesLoaded</dt>","        *          <dd>The number of bytes of the file that has been uploaded</dd>","        *      <dt>bytesTotal</dt>","        *          <dd>The total number of bytes in the file</dd>","        *      <dt>percentLoaded</dt>","        *          <dd>The fraction of the file that has been uploaded, out of 100</dd>","        *      <dt>originEvent</dt>","        *          <dd>The original event dispatched by the SWF uploader</dd>","        *  </dl>","        */","        this.publish(\"uploadprogress\");","","        /**","        * Reports on the total upload progress of the file list.","        *","        * @event totaluploadprogress","        * @param event {Event} The event object for the `totaluploadprogress` with the","        *                      following payload:","        *  <dl>","        *      <dt>bytesLoaded</dt>","        *          <dd>The number of bytes of the file list that has been uploaded</dd>","        *      <dt>bytesTotal</dt>","        *          <dd>The total number of bytes in the file list</dd>","        *      <dt>percentLoaded</dt>","        *          <dd>The fraction of the file list that has been uploaded, out of 100</dd>","        *  </dl>","        */","        this.publish(\"totaluploadprogress\");","","        /**","        * Signals that a single file upload has been completed.","        *","        * @event uploadcomplete","        * @param event {Event} The event object for the `uploadcomplete` with the","        *                      following payload:","        *  <dl>","        *      <dt>file</dt>","        *          <dd>The pointer to the instance of `Y.File` whose upload has been completed.</dd>","        *      <dt>originEvent</dt>","        *          <dd>The original event fired by the SWF Uploader</dd>","        *      <dt>data</dt>","        *          <dd>Data returned by the server.</dd>","        *  </dl>","        */","        this.publish(\"uploadcomplete\");","","        /**","        * Signals that the upload process of the entire file list has been completed.","        *","        * @event alluploadscomplete","        * @param event {Event} The event object for the `alluploadscomplete`.","        */","        this.publish(\"alluploadscomplete\");","","        /**","        * Signals that a error has occurred in a specific file's upload process.","        *","        * @event uploaderror","        * @param event {Event} The event object for the `uploaderror` with the","        *                      following payload:","        *  <dl>","        *      <dt>originEvent</dt>","        *          <dd>The original error event fired by the SWF Uploader. </dd>","        *      <dt>file</dt>","        *          <dd>The pointer at the instance of Y.FileFlash that returned the error.</dd>","        *      <dt>source</dt>","        *          <dd>The source of the upload error, either \"io\" or \"http\"</dd>","        *      <dt>message</dt>","        *          <dd>The message that accompanied the error. Corresponds to the text of","        *              the error in cases where source is \"io\", and to the HTTP status for","                                     cases where source is \"http\".</dd>","        *  </dl>","        */","        this.publish(\"uploaderror\");","","        /**","        * Signals that a mouse has begun hovering over the `Select Files` button.","        *","        * @event mouseenter","        * @param event {Event} The event object for the `mouseenter` event.","        */","        this.publish(\"mouseenter\");","","        /**","        * Signals that a mouse has stopped hovering over the `Select Files` button.","        *","        * @event mouseleave","        * @param event {Event} The event object for the `mouseleave` event.","        */","        this.publish(\"mouseleave\");","","        /**","        * Signals that a mouse button has been pressed over the `Select Files` button.","        *","        * @event mousedown","        * @param event {Event} The event object for the `mousedown` event.","        */","        this.publish(\"mousedown\");","","        /**","        * Signals that a mouse button has been released over the `Select Files` button.","        *","        * @event mouseup","        * @param event {Event} The event object for the `mouseup` event.","        */","        this.publish(\"mouseup\");","","        /**","        * Signals that a mouse has been clicked over the `Select Files` button.","        *","        * @event click","        * @param event {Event} The event object for the `click` event.","        */","        this.publish(\"click\");","    },","","    /**","    * Creates the DOM structure for the UploaderFlash.","    * UploaderFlash's DOM structure consists of two layers: the base \"Select Files\"","    * button that can be replaced by the developer's widget of choice; and a transparent","    * Flash overlay positoned above the button that captures all input events.","    * The `position` style attribute of the `boundingBox` of the `Uploader` widget","    * is forced to be `relative`, in order to accommodate the Flash player overlay","    * (which is `position`ed `absolute`ly).","    *","    * @method renderUI","    * @protected","    */","    renderUI : function () {","        var boundingBox = this.get(\"boundingBox\"),","            contentBox = this.get('contentBox'),","            selFilesButton = this.get(\"selectFilesButton\"),","            flashContainer = Y.Node.create(substitute(UploaderFlash.FLASH_CONTAINER, {","                swfContainerId: this._swfContainerId","            })),","            params = {","                version: \"10.0.45\",","                fixedAttributes: {","                    wmode: \"transparent\",","                    allowScriptAccess:\"always\",","                    allowNetworking:\"all\",","                    scale: \"noscale\"","                }","            };","","        boundingBox.setStyle(\"position\", \"relative\");","        selFilesButton.setStyles({width: \"100%\", height: \"100%\"});","        contentBox.append(selFilesButton);","        contentBox.append(flashContainer);","","        this._swfReference = new Y.SWF(flashContainer, this.get(\"swfURL\"), params);","    },","","    /**","    * Binds handlers to the UploaderFlash UI events and propagates attribute","    * values to the Flash player.","    * The propagation of initial values is set to occur once the Flash player","    * instance is ready (as indicated by the `swfReady` event.)","    *","    * @method bindUI","    * @protected","    */","    bindUI : function () {","","        this._swfReference.on(\"swfReady\", function () {","            this._setMultipleFiles();","            this._setFileFilters();","            this._triggerEnabled();","            this._attachTabElements();","            this.after(\"multipleFilesChange\", this._setMultipleFiles, this);","            this.after(\"fileFiltersChange\", this._setFileFilters, this);","            this.after(\"enabledChange\", this._triggerEnabled, this);","            this.after(\"tabElementsChange\", this._attachTabElements);","        }, this);","","        this._swfReference.on(\"fileselect\", this._updateFileList, this);","","","","        // this._swfReference.on(\"trace\", function (ev) {console.log(ev.message);});","","        this._swfReference.on(\"mouseenter\", function () {","            this.fire(\"mouseenter\");","            this._setButtonClass(\"hover\", true);","            if (this._buttonState === \"down\") {","                this._setButtonClass(\"active\", true);","            }","        }, this);","","        this._swfReference.on(\"mouseleave\", function () {","            this.fire(\"mouseleave\");","            this._setButtonClass(\"hover\", false);","            this._setButtonClass(\"active\", false);","        }, this);","","        this._swfReference.on(\"mousedown\", function () {","            this.fire(\"mousedown\");","            this._buttonState = \"down\";","            this._setButtonClass(\"active\", true);","        }, this);","","        this._swfReference.on(\"mouseup\", function () {","            this.fire(\"mouseup\");","            this._buttonState = \"up\";","            this._setButtonClass(\"active\", false);","        }, this);","","        this._swfReference.on(\"click\", function () {","            this.fire(\"click\");","            this._buttonFocus = true;","            this._setButtonClass(\"focus\", true);","            Y.one(\"body\").focus();","            this._swfReference._swf.focus();","        }, this);","    },","","    /**","    * Attaches keyboard bindings to enabling tabbing to and from the instance of the Flash","    * player in the Uploader widget. If the previous and next elements are specified, the","    * keyboard bindings enable the user to tab from the `tabElements[\"from\"]` node to the","    * Flash-powered \"Select Files\" button, and to the `tabElements[\"to\"]` node.","    *","    * @method _attachTabElements","    * @protected","    * @param ev {Event} Optional event payload if called as a `tabElementsChange` handler.","    */","    _attachTabElements : function () {","        if (this.get(\"tabElements\") !== null && this.get(\"tabElements\").from !== null && this.get(\"tabElements\").to !== null) {","","            if (this._tabElementBindings !== null) {","                this._tabElementBindings.from.detach();","                this._tabElementBindings.to.detach();","                this._tabElementBindings.tabback.detach();","                this._tabElementBindings.tabforward.detach();","                this._tabElementBindings.focus.detach();","                this._tabElementBindings.blur.detach();","            }","            else {","                this._tabElementBindings = {};","            }","","            var fromElement = Y.one(this.get(\"tabElements\").from),","                toElement = Y.one(this.get(\"tabElements\").to);","","","            this._tabElementBindings.from = fromElement.on(\"keydown\", function (ev) {","                if (ev.keyCode === 9 && !ev.shiftKey) {","                    ev.preventDefault();","                    this._swfReference._swf.setAttribute(\"tabindex\", 0);","                    this._swfReference._swf.setAttribute(\"role\", \"button\");","                    this._swfReference._swf.setAttribute(\"aria-label\", this.get(\"selectButtonLabel\"));","                    this._swfReference._swf.focus();","                }","            }, this);","","            this._tabElementBindings.to = toElement.on(\"keydown\", function (ev) {","                if (ev.keyCode === 9 && ev.shiftKey) {","                    ev.preventDefault();","                    this._swfReference._swf.setAttribute(\"tabindex\", 0);","                    this._swfReference._swf.setAttribute(\"role\", \"button\");","                    this._swfReference._swf.setAttribute(\"aria-label\", this.get(\"selectButtonLabel\"));","                    this._swfReference._swf.focus();","                }","            }, this);","","            this._tabElementBindings.tabback = this._swfReference.on(\"tabback\", function () {","                this._swfReference._swf.blur();","                setTimeout(function () {","                    fromElement.focus();","                }, 30);","            }, this);","","            this._tabElementBindings.tabforward = this._swfReference.on(\"tabforward\", function () {","                this._swfReference._swf.blur();","                setTimeout(function () {","                    toElement.focus();","                }, 30);","            }, this);","","            this._tabElementBindings.focus = this._swfReference._swf.on(\"focus\", function () {","                this._buttonFocus = true;","                this._setButtonClass(\"focus\", true);","            }, this);","","            this._tabElementBindings.blur = this._swfReference._swf.on(\"blur\", function () {","                this._buttonFocus = false;","                this._setButtonClass(\"focus\", false);","            }, this);","        }","        else if (this._tabElementBindings !== null) {","            this._tabElementBindings.from.detach();","            this._tabElementBindings.to.detach();","            this._tabElementBindings.tabback.detach();","            this._tabElementBindings.tabforward.detach();","            this._tabElementBindings.focus.detach();","            this._tabElementBindings.blur.detach();","        }","    },","","","    /**","    * Adds or removes a specified state CSS class to the underlying uploader button.","    *","    * @method _setButtonClass","    * @protected","    * @param state {String} The name of the state enumerated in `buttonClassNames` attribute","    * from which to derive the needed class name.","    * @param add {Boolean} A Boolean indicating whether to add or remove the class.","    */","    _setButtonClass : function (state, add) {","        if (add) {","            this.get(\"selectFilesButton\").addClass(this.get(\"buttonClassNames\")[state]);","        }","        else {","            this.get(\"selectFilesButton\").removeClass(this.get(\"buttonClassNames\")[state]);","        }","    },","","","    /**","    * Syncs the state of the `fileFilters` attribute between the instance of UploaderFlash","    * and the Flash player.","    *","    * @method _setFileFilters","    * @private","    */","    _setFileFilters : function () {","        if (this._swfReference && this.get(\"fileFilters\").length > 0) {","            this._swfReference.callSWF(\"setFileFilters\", [this.get(\"fileFilters\")]);","        }","    },","","","","    /**","    * Syncs the state of the `multipleFiles` attribute between this class","    * and the Flash uploader.","    *","    * @method _setMultipleFiles","    * @private","    */","    _setMultipleFiles : function () {","        if (this._swfReference) {","            this._swfReference.callSWF(\"setAllowMultipleFiles\", [this.get(\"multipleFiles\")]);","        }","    },","","    /**","    * Syncs the state of the `enabled` attribute between this class","    * and the Flash uploader.","    *","    * @method _triggerEnabled","    * @private","    */","    _triggerEnabled : function () {","        if (this.get(\"enabled\")) {","            this._swfReference.callSWF(\"enable\");","            this._swfReference._swf.setAttribute(\"aria-disabled\", \"false\");","            this._setButtonClass(\"disabled\", false);","        }","        else {","            this._swfReference.callSWF(\"disable\");","            this._swfReference._swf.setAttribute(\"aria-disabled\", \"true\");","            this._setButtonClass(\"disabled\", true);","        }","    },","","    /**","    * Getter for the `fileList` attribute","    *","    * @method _getFileList","    * @private","    */","    _getFileList : function () {","        return this._fileList.concat();","    },","","    /**","    * Setter for the `fileList` attribute","    *","    * @method _setFileList","    * @private","    */","    _setFileList : function (val) {","        this._fileList = val.concat();","        return this._fileList.concat();","    },","","    /**","    * Adjusts the content of the `fileList` based on the results of file selection","    * and the `appendNewFiles` attribute. If the `appendNewFiles` attribute is true,","    * then selected files are appended to the existing list; otherwise, the list is","    * cleared and populated with the newly selected files.","    *","    * @method _updateFileList","    * @param ev {Event} The file selection event received from the uploader.","    * @private","    */","    _updateFileList : function (ev) {","","        Y.one(\"body\").focus();","        this._swfReference._swf.focus();","","","        var newfiles = ev.fileList,","            fileConfObjects = [],","            parsedFiles = [],","            swfRef = this._swfReference,","            filterFunc = this.get(\"fileFilterFunction\"),","            oldfiles;","","        Y.each(newfiles, function (value) {","            var newFileConf = {};","            newFileConf.id = value.fileId;","            newFileConf.name = value.fileReference.name;","            newFileConf.size = value.fileReference.size;","            newFileConf.type = value.fileReference.type;","            newFileConf.dateCreated = value.fileReference.creationDate;","            newFileConf.dateModified = value.fileReference.modificationDate;","            newFileConf.uploader = swfRef;","","            fileConfObjects.push(newFileConf);","        });","","         if (filterFunc) {","            Y.each(fileConfObjects, function (value) {","                var newfile = new Y.FileFlash(value);","                if (filterFunc(newfile)) {","                    parsedFiles.push(newfile);","                }","            });","         }","         else {","            Y.each(fileConfObjects, function (value) {","                parsedFiles.push(new Y.FileFlash(value));","            });","         }","","        if (parsedFiles.length > 0) {","            oldfiles = this.get(\"fileList\");","","            this.set(\"fileList\",","                             this.get(\"appendNewFiles\") ? oldfiles.concat(parsedFiles) : parsedFiles );","","            this.fire(\"fileselect\", { fileList: parsedFiles });","        }","","    },","","","","    /**","    * Handles and retransmits events fired by `Y.FileFlash` and `Y.Uploader.Queue`.","    *","    * @method _uploadEventHandler","    * @param event The event dispatched during the upload process.","    * @private","    */","    _uploadEventHandler : function (event) {","","        switch (event.type) {","            case \"file:uploadstart\":","                 this.fire(\"fileuploadstart\", event);","                break;","            case \"file:uploadprogress\":","                 this.fire(\"uploadprogress\", event);","                break;","            case \"uploaderqueue:totaluploadprogress\":","                 this.fire(\"totaluploadprogress\", event);","                break;","            case \"file:uploadcomplete\":","                 this.fire(\"uploadcomplete\", event);","                break;","            case \"uploaderqueue:alluploadscomplete\":","                 this.queue = null;","                 this.fire(\"alluploadscomplete\", event);","                break;","            case \"file:uploaderror\": //overflow intentional","            case \"uploaderqueue:uploaderror\":","                 this.fire(\"uploaderror\", event);","                break;","            case \"file:uploadcancel\": // overflow intentional","            case \"uploaderqueue:uploadcancel\":","                 this.fire(\"uploadcancel\", event);","            break;","        }","","    },","","","","    /**","    * Starts the upload of a specific file.","    *","    * @method upload","    * @param file {FileFlash} Reference to the instance of the file to be uploaded.","    * @param url {String} The URL to upload the file to.","    * @param [postVars] {Object} A set of key-value pairs to send as variables along with the file upload HTTP request.","    *                          If not specified, the values from the attribute `postVarsPerFile` are used instead.","    */","    upload : function (file, url, postvars) {","","        var uploadURL = url || this.get(\"uploadURL\"),","            postVars = postvars || this.get(\"postVarsPerFile\"),","            fileId = file.get(\"id\");","","            postVars = postVars.hasOwnProperty(fileId) ? postVars[fileId] : postVars;","","        if (file instanceof Y.FileFlash) {","","            file.on(\"uploadstart\", this._uploadEventHandler, this);","            file.on(\"uploadprogress\", this._uploadEventHandler, this);","            file.on(\"uploadcomplete\", this._uploadEventHandler, this);","            file.on(\"uploaderror\", this._uploadEventHandler, this);","            file.on(\"uploadcancel\", this._uploadEventHandler, this);","","            file.startUpload(uploadURL, postVars, this.get(\"fileFieldName\"));","        }","    },","","    /**","    * Starts the upload of all files on the file list, using an automated queue.","    *","    * @method uploadAll","    * @param url {String} The URL to upload the files to.","    * @param [postVars] {Object} A set of key-value pairs to send as variables along with the file upload HTTP request.","    *                          If not specified, the values from the attribute `postVarsPerFile` are used instead.","    */","    uploadAll : function (url, postvars) {","        this.uploadThese(this.get(\"fileList\"), url, postvars);","    },","","    /**","    * Starts the upload of the files specified in the first argument, using an automated queue.","    *","    * @method uploadThese","    * @param files {Array} The list of files to upload.","    * @param url {String} The URL to upload the files to.","    * @param [postVars] {Object} A set of key-value pairs to send as variables along with the file upload HTTP request.","    *                          If not specified, the values from the attribute `postVarsPerFile` are used instead.","    */","    uploadThese : function (files, url, postvars) {","        if (!this.queue) {","            var uploadURL = url || this.get(\"uploadURL\"),","                postVars = postvars || this.get(\"postVarsPerFile\");","","            this.queue = new UploaderQueue({","                simUploads: this.get(\"simLimit\"),","                errorAction: this.get(\"errorAction\"),","                fileFieldName: this.get(\"fileFieldName\"),","                fileList: files,","                uploadURL: uploadURL,","                perFileParameters: postVars,","                retryCount: this.get(\"retryCount\")","            });","","            this.queue.on(\"uploadstart\", this._uploadEventHandler, this);","            this.queue.on(\"uploadprogress\", this._uploadEventHandler, this);","            this.queue.on(\"totaluploadprogress\", this._uploadEventHandler, this);","            this.queue.on(\"uploadcomplete\", this._uploadEventHandler, this);","            this.queue.on(\"alluploadscomplete\", this._uploadEventHandler, this);","            this.queue.on(\"alluploadscancelled\", function () {this.queue = null;}, this);","            this.queue.on(\"uploaderror\", this._uploadEventHandler, this);","            this.queue.startUpload();","","            this.fire(\"uploadstart\");","        }","    }","},","","{","    /**","    * The template for the Flash player container. Since the Flash player container needs","    * to completely overlay the &lquot;Select Files&rqot; control, it's positioned absolutely,","    * with width and height set to 100% of the parent.","    *","    * @property FLASH_CONTAINER","    * @type {String}","    * @static","    * @default '<div id=\"{swfContainerId}\" style=\"position:absolute; top:0px; left: 0px; margin: 0; padding: 0;","    *           border: 0; width:100%; height:100%\"></div>'","    */","    FLASH_CONTAINER: '<div id=\"{swfContainerId}\" style=\"position:absolute; top:0px; left: 0px; margin: 0; ' +","                     'padding: 0; border: 0; width:100%; height:100%\"></div>',","","    /**","    * The template for the \"Select Files\" button.","    *","    * @property SELECT_FILES_BUTTON","    * @type {String}","    * @static","    * @default \"<button type='button' class='yui3-button' tabindex='-1'>{selectButtonLabel}</button>\"","    */","    SELECT_FILES_BUTTON: \"<button type='button' class='yui3-button' tabindex='-1'>{selectButtonLabel}</button>\",","","    /**","    * The static property reflecting the type of uploader that `Y.Uploader`","    * aliases. The UploaderFlash value is `\"flash\"`.","    *","    * @property TYPE","    * @type {String}","    * @static","    */","    TYPE: \"flash\",","","    /**","    * The identity of the widget.","    *","    * @property NAME","    * @type String","    * @default 'uploader'","    * @readOnly","    * @protected","    * @static","    */","    NAME: \"uploader\",","","    /**","    * Static property used to define the default attribute configuration of","    * the Widget.","    *","    * @property ATTRS","    * @type {Object}","    * @protected","    * @static","    */","    ATTRS: {","","        /**","        * A Boolean indicating whether newly selected files should be appended","        * to the existing file list, or whether they should replace it.","        *","        * @attribute appendNewFiles","        * @type {Boolean}","        * @default true","        */","        appendNewFiles : {","            value: true","        },","","        /**","        * The names of CSS classes that correspond to different button states","        * of the \"Select Files\" control. These classes are assigned to the","        * \"Select Files\" control based on the mouse states reported by the","        * Flash player. The keys for the class names are:","        * <ul>","        *   <li> <strong>`hover`</strong>: the class corresponding to mouse hovering over","        *      the \"Select Files\" button.</li>","        *   <li> <strong>`active`</strong>: the class corresponding to mouse down state of","        *      the \"Select Files\" button.</li>","        *   <li> <strong>`disabled`</strong>: the class corresponding to the disabled state","        *      of the \"Select Files\" button.</li>","        *   <li> <strong>`focus`</strong>: the class corresponding to the focused state of","        *      the \"Select Files\" button.</li>","        * </ul>","        * @attribute buttonClassNames","        * @type {Object}","        * @default { hover: \"yui3-button-hover\",","        *            active: \"yui3-button-active\",","        *            disabled: \"yui3-button-disabled\",","        *            focus: \"yui3-button-selected\"","        *          }","        */","        buttonClassNames: {","            value: {","                \"hover\": \"yui3-button-hover\",","                \"active\": \"yui3-button-active\",","                \"disabled\": \"yui3-button-disabled\",","                \"focus\": \"yui3-button-selected\"","            }","        },","","        /**","        * A Boolean indicating whether the uploader is enabled or disabled for user input.","        *","        * @attribute enabled","        * @type {Boolean}","        * @default true","        */","        enabled : {","            value: true","        },","","        /**","        * The action  performed when an upload error occurs for a specific file being uploaded.","        * The possible values are:","        * <ul>","        *   <li> <strong>`UploaderQueue.CONTINUE`</strong>: the error is ignored and the upload process is continued.</li>","        *   <li> <strong>`UploaderQueue.STOP`</strong>: the upload process is stopped as soon as any other parallel file","        *     uploads are finished.</li>","        *   <li> <strong>`UploaderQueue.RESTART_ASAP`</strong>: the file is added back to the front of the queue.</li>","        *   <li> <strong>`UploaderQueue.RESTART_AFTER`</strong>: the file is added to the back of the queue.</li>","        * </ul>","        * @attribute errorAction","        * @type {String}","        * @default UploaderQueue.CONTINUE","        */","        errorAction: {","            value: \"continue\",","            validator: function (val) {","                return (","                    val === UploaderQueue.CONTINUE ||","                    val === UploaderQueue.STOP ||","                    val === UploaderQueue.RESTART_ASAP ||","                    val === UploaderQueue.RESTART_AFTER","                );","            }","        },","","        /**","        * An array indicating what fileFilters should be applied to the file","        * selection dialog. Each element in the array should be an object with","        * the following key-value pairs:","        * {","        *   description : String","         extensions: String of the form &lquot;*.ext1;*.ext2;*.ext3;...&rquot;","        * }","        * @attribute fileFilters","        * @type {Array}","        * @default []","        */","        fileFilters: {","            value: []","        },","","        /**","        * A filtering function that is applied to every file selected by the user.","        * The function receives the `Y.File` object and must return a Boolean value.","        * If a `false` value is returned, the file in question is not added to the","        * list of files to be uploaded.","        * Use this function to put limits on file sizes or check the file names for","        * correct extension, but make sure that a server-side check is also performed,","        * since any client-side restrictions are only advisory and can be circumvented.","        *","        * @attribute fileFilterFunction","        * @type {Function}","        * @default null","        */","        fileFilterFunction: {","            value: null","        },","","        /**","        * A String specifying what should be the POST field name for the file","        * content in the upload request.","        *","        * @attribute fileFieldName","        * @type {String}","        * @default Filedata","        */","        fileFieldName: {","            value: \"Filedata\"","        },","","        /**","        * The array of files to be uploaded. All elements in the array","        * must be instances of `Y.FileFlash` and be instantiated with a `fileId`","        * retrieved from an instance of the uploader.","        *","        * @attribute fileList","        * @type {Array}","        * @default []","        */","        fileList: {","            value: [],","            getter: \"_getFileList\",","            setter: \"_setFileList\"","        },","","        /**","        * A Boolean indicating whether multiple file selection is enabled.","        *","        * @attribute multipleFiles","        * @type {Boolean}","        * @default false","        */","        multipleFiles: {","            value: false","        },","","        /**","        * An object, keyed by `fileId`, containing sets of key-value pairs","        * that should be passed as POST variables along with each corresponding","        * file. This attribute is only used if no POST variables are specifed","        * in the upload method call.","        *","        * @attribute postVarsPerFile","        * @type {Object}","        * @default {}","        */","        postVarsPerFile: {","            value: {}","        },","","        /**","        * The label for the \"Select Files\" widget. This is the value that replaces the","        * `{selectButtonLabel}` token in the `SELECT_FILES_BUTTON` template.","        *","        * @attribute selectButtonLabel","        * @type {String}","        * @default \"Select Files\"","        */","        selectButtonLabel: {","            value: \"Select Files\"","        },","","        /**","        * The widget that serves as the \"Select Files\" control for the file uploader","        *","        *","        * @attribute selectFilesButton","        * @type {Node | Widget}","        * @default A standard HTML button with YUI CSS Button skin.","        */","        selectFilesButton : {","            valueFn: function () {","                return Y.Node.create(substitute(Y.UploaderFlash.SELECT_FILES_BUTTON, {selectButtonLabel: this.get(\"selectButtonLabel\")}));","             }","        },","","        /**","        * The number of files that can be uploaded","        * simultaneously if the automatic queue management","        * is used. This value can be in the range between 2","        * and 5.","        *","        * @attribute simLimit","        * @type {Number}","        * @default 2","        */","        simLimit: {","            value: 2,","            validator: function (val) {","                    return (val >= 2 && val <= 5);","            }","        },","","        /**","        * The URL to the SWF file of the flash uploader. A copy local to","        * the server that hosts the page on which the uploader appears is","        * recommended.","        *","        * @attribute swfURL","        * @type {String}","        * @default \"flashuploader.swf\" with a","        * random GET parameter for IE (to prevent buggy behavior when the SWF","        * is cached).","        */","        swfURL: {","            valueFn: function () {","                var prefix = \"flashuploader.swf\";","","                if (Y.UA.ie > 0) {","                    return (prefix + \"?t=\" + Y.guid(\"uploader\"));","                }","","                return prefix;","            }","        },","","        /**","        * The id's or `Node` references of the DOM elements that precede","        * and follow the `Select Files` button in the tab order. Specifying","        * these allows keyboard navigation to and from the Flash player","        * layer of the uploader.","        * The two keys corresponding to the DOM elements are:","        <ul>","        *   <li> `from`: the id or the `Node` reference corresponding to the","        *     DOM element that precedes the `Select Files` button in the tab order.</li>","        *   <li> `to`: the id or the `Node` reference corresponding to the","        *     DOM element that follows the `Select Files` button in the tab order.</li>","        * </ul>","        * @attribute tabElements","        * @type {Object}","        * @default null","        */","        tabElements: {","            value: null","        },","","        /**","        * The URL to which file upload requested are POSTed. Only used if a different url is not passed to the upload method call.","        *","        * @attribute uploadURL","        * @type {String}","        * @default \"\"","        */","        uploadURL: {","            value: \"\"","        },","","        /**","        * The number of times to try re-uploading a file that failed to upload before","        * cancelling its upload.","        *","        * @attribute retryCount","        * @type {Number}","        * @default 3","        */","        retryCount: {","            value: 3","        }","    }","});","","Y.UploaderFlash.Queue = UploaderQueue;","","","}, '@VERSION@', {","    \"requires\": [","        \"swfdetect\",","        \"escape\",","        \"widget\",","        \"base\",","        \"cssbutton\",","        \"node\",","        \"event-custom\",","        \"uploader-queue\"","    ]","});","","}());"]};
e16a97fb364a Use YUI 3.15
gibus
parents:
diff changeset
     4
}
e16a97fb364a Use YUI 3.15
gibus
parents:
diff changeset
     5
var __cov_H2imwewODq4$fnpUwROFpA = __coverage__['build/uploader-flash/uploader-flash.js'];
e16a97fb364a Use YUI 3.15
gibus
parents:
diff changeset
     6
__cov_H2imwewODq4$fnpUwROFpA.s['1']++;YUI.add('uploader-flash',function(Y,NAME){__cov_H2imwewODq4$fnpUwROFpA.f['1']++;__cov_H2imwewODq4$fnpUwROFpA.s['2']++;var substitute=Y.Lang.sub,UploaderQueue=Y.Uploader.Queue;__cov_H2imwewODq4$fnpUwROFpA.s['3']++;var Event=Y.Event,SWFDetect=Y.SWFDetect,Lang=Y.Lang,uA=Y.UA,Node=Y.Node,Escape=Y.Escape,FLASH_CID='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',FLASH_TYPE='application/x-shockwave-flash',FLASH_VER='10.0.22',EXPRESS_INSTALL_URL='http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?'+Math.random(),EVENT_HANDLER='SWF.eventHandler',possibleAttributes={align:'',allowFullScreen:'',allowNetworking:'',allowScriptAccess:'',base:'',bgcolor:'',loop:'',menu:'',name:'',play:'',quality:'',salign:'',scale:'',tabindex:'',wmode:''};__cov_H2imwewODq4$fnpUwROFpA.s['4']++;function SWF(p_oElement,swfURL,p_oAttributes){__cov_H2imwewODq4$fnpUwROFpA.f['2']++;__cov_H2imwewODq4$fnpUwROFpA.s['5']++;this._id=Y.guid('yuiswf');__cov_H2imwewODq4$fnpUwROFpA.s['6']++;var _id=this._id;__cov_H2imwewODq4$fnpUwROFpA.s['7']++;var oElement=Node.one(p_oElement);__cov_H2imwewODq4$fnpUwROFpA.s['8']++;var p_oAttributes=(__cov_H2imwewODq4$fnpUwROFpA.b['1'][0]++,p_oAttributes)||(__cov_H2imwewODq4$fnpUwROFpA.b['1'][1]++,{});__cov_H2imwewODq4$fnpUwROFpA.s['9']++;var flashVersion=(__cov_H2imwewODq4$fnpUwROFpA.b['2'][0]++,p_oAttributes.version)||(__cov_H2imwewODq4$fnpUwROFpA.b['2'][1]++,FLASH_VER);__cov_H2imwewODq4$fnpUwROFpA.s['10']++;var flashVersionSplit=(flashVersion+'').split('.');__cov_H2imwewODq4$fnpUwROFpA.s['11']++;var isFlashVersionRight=SWFDetect.isFlashVersionAtLeast(parseInt(flashVersionSplit[0],10),parseInt(flashVersionSplit[1],10),parseInt(flashVersionSplit[2],10));__cov_H2imwewODq4$fnpUwROFpA.s['12']++;var canExpressInstall=SWFDetect.isFlashVersionAtLeast(8,0,0);__cov_H2imwewODq4$fnpUwROFpA.s['13']++;var shouldExpressInstall=(__cov_H2imwewODq4$fnpUwROFpA.b['3'][0]++,canExpressInstall)&&(__cov_H2imwewODq4$fnpUwROFpA.b['3'][1]++,!isFlashVersionRight)&&(__cov_H2imwewODq4$fnpUwROFpA.b['3'][2]++,p_oAttributes.useExpressInstall);__cov_H2imwewODq4$fnpUwROFpA.s['14']++;var flashURL=shouldExpressInstall?(__cov_H2imwewODq4$fnpUwROFpA.b['4'][0]++,EXPRESS_INSTALL_URL):(__cov_H2imwewODq4$fnpUwROFpA.b['4'][1]++,swfURL);__cov_H2imwewODq4$fnpUwROFpA.s['15']++;var objstring='<object ';__cov_H2imwewODq4$fnpUwROFpA.s['16']++;var w,h;__cov_H2imwewODq4$fnpUwROFpA.s['17']++;var flashvarstring='yId='+Y.id+'&YUISwfId='+_id+'&YUIBridgeCallback='+EVENT_HANDLER+'&allowedDomain='+document.location.hostname;__cov_H2imwewODq4$fnpUwROFpA.s['18']++;Y.SWF._instances[_id]=this;__cov_H2imwewODq4$fnpUwROFpA.s['19']++;if((__cov_H2imwewODq4$fnpUwROFpA.b['6'][0]++,oElement)&&((__cov_H2imwewODq4$fnpUwROFpA.b['6'][1]++,isFlashVersionRight)||(__cov_H2imwewODq4$fnpUwROFpA.b['6'][2]++,shouldExpressInstall))&&(__cov_H2imwewODq4$fnpUwROFpA.b['6'][3]++,flashURL)){__cov_H2imwewODq4$fnpUwROFpA.b['5'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['20']++;objstring+='id="'+_id+'" ';__cov_H2imwewODq4$fnpUwROFpA.s['21']++;if(uA.ie){__cov_H2imwewODq4$fnpUwROFpA.b['7'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['22']++;objstring+='classid="'+FLASH_CID+'" ';}else{__cov_H2imwewODq4$fnpUwROFpA.b['7'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['23']++;objstring+='type="'+FLASH_TYPE+'" data="'+Escape.html(flashURL)+'" ';}__cov_H2imwewODq4$fnpUwROFpA.s['24']++;w='100%';__cov_H2imwewODq4$fnpUwROFpA.s['25']++;h='100%';__cov_H2imwewODq4$fnpUwROFpA.s['26']++;objstring+='width="'+w+'" height="'+h+'">';__cov_H2imwewODq4$fnpUwROFpA.s['27']++;if(uA.ie){__cov_H2imwewODq4$fnpUwROFpA.b['8'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['28']++;objstring+='<param name="movie" value="'+Escape.html(flashURL)+'"/>';}else{__cov_H2imwewODq4$fnpUwROFpA.b['8'][1]++;}__cov_H2imwewODq4$fnpUwROFpA.s['29']++;for(var attribute in p_oAttributes.fixedAttributes){__cov_H2imwewODq4$fnpUwROFpA.s['30']++;if(possibleAttributes.hasOwnProperty(attribute)){__cov_H2imwewODq4$fnpUwROFpA.b['9'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['31']++;objstring+='<param name="'+Escape.html(attribute)+'" value="'+Escape.html(p_oAttributes.fixedAttributes[attribute])+'"/>';}else{__cov_H2imwewODq4$fnpUwROFpA.b['9'][1]++;}}__cov_H2imwewODq4$fnpUwROFpA.s['32']++;for(var flashvar in p_oAttributes.flashVars){__cov_H2imwewODq4$fnpUwROFpA.s['33']++;var fvar=p_oAttributes.flashVars[flashvar];__cov_H2imwewODq4$fnpUwROFpA.s['34']++;if(Lang.isString(fvar)){__cov_H2imwewODq4$fnpUwROFpA.b['10'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['35']++;flashvarstring+='&'+Escape.html(flashvar)+'='+Escape.html(encodeURIComponent(fvar));}else{__cov_H2imwewODq4$fnpUwROFpA.b['10'][1]++;}}__cov_H2imwewODq4$fnpUwROFpA.s['36']++;if(flashvarstring){__cov_H2imwewODq4$fnpUwROFpA.b['11'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['37']++;objstring+='<param name="flashVars" value="'+flashvarstring+'"/>';}else{__cov_H2imwewODq4$fnpUwROFpA.b['11'][1]++;}__cov_H2imwewODq4$fnpUwROFpA.s['38']++;objstring+='</object>';__cov_H2imwewODq4$fnpUwROFpA.s['39']++;oElement.set('innerHTML',objstring);__cov_H2imwewODq4$fnpUwROFpA.s['40']++;this._swf=Node.one('#'+_id);}else{__cov_H2imwewODq4$fnpUwROFpA.b['5'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['41']++;var event={};__cov_H2imwewODq4$fnpUwROFpA.s['42']++;event.type='wrongflashversion';__cov_H2imwewODq4$fnpUwROFpA.s['43']++;this.publish('wrongflashversion',{fireOnce:true});__cov_H2imwewODq4$fnpUwROFpA.s['44']++;this.fire('wrongflashversion',event);}}__cov_H2imwewODq4$fnpUwROFpA.s['45']++;SWF._instances=(__cov_H2imwewODq4$fnpUwROFpA.b['12'][0]++,SWF._instances)||(__cov_H2imwewODq4$fnpUwROFpA.b['12'][1]++,{});__cov_H2imwewODq4$fnpUwROFpA.s['46']++;SWF.eventHandler=function(swfid,event){__cov_H2imwewODq4$fnpUwROFpA.f['3']++;__cov_H2imwewODq4$fnpUwROFpA.s['47']++;SWF._instances[swfid]._eventHandler(event);};__cov_H2imwewODq4$fnpUwROFpA.s['48']++;SWF.prototype={_eventHandler:function(event){__cov_H2imwewODq4$fnpUwROFpA.f['4']++;__cov_H2imwewODq4$fnpUwROFpA.s['49']++;if(event.type==='swfReady'){__cov_H2imwewODq4$fnpUwROFpA.b['13'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['50']++;this.publish('swfReady',{fireOnce:true});__cov_H2imwewODq4$fnpUwROFpA.s['51']++;this.fire('swfReady',event);}else{__cov_H2imwewODq4$fnpUwROFpA.b['13'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['52']++;if(event.type==='log'){__cov_H2imwewODq4$fnpUwROFpA.b['14'][0]++;}else{__cov_H2imwewODq4$fnpUwROFpA.b['14'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['53']++;this.fire(event.type,event);}}},callSWF:function(func,args){__cov_H2imwewODq4$fnpUwROFpA.f['5']++;__cov_H2imwewODq4$fnpUwROFpA.s['54']++;if(!args){__cov_H2imwewODq4$fnpUwROFpA.b['15'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['55']++;args=[];}else{__cov_H2imwewODq4$fnpUwROFpA.b['15'][1]++;}__cov_H2imwewODq4$fnpUwROFpA.s['56']++;if(this._swf._node[func]){__cov_H2imwewODq4$fnpUwROFpA.b['16'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['57']++;return this._swf._node[func].apply(this._swf._node,args);}else{__cov_H2imwewODq4$fnpUwROFpA.b['16'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['58']++;return null;}},toString:function(){__cov_H2imwewODq4$fnpUwROFpA.f['6']++;__cov_H2imwewODq4$fnpUwROFpA.s['59']++;return'SWF '+this._id;}};__cov_H2imwewODq4$fnpUwROFpA.s['60']++;Y.augment(SWF,Y.EventTarget);__cov_H2imwewODq4$fnpUwROFpA.s['61']++;Y.SWF=SWF;__cov_H2imwewODq4$fnpUwROFpA.s['62']++;var FileFlash=function(o){__cov_H2imwewODq4$fnpUwROFpA.f['7']++;__cov_H2imwewODq4$fnpUwROFpA.s['63']++;FileFlash.superclass.constructor.apply(this,arguments);};__cov_H2imwewODq4$fnpUwROFpA.s['64']++;Y.extend(FileFlash,Y.Base,{initializer:function(cfg){__cov_H2imwewODq4$fnpUwROFpA.f['8']++;__cov_H2imwewODq4$fnpUwROFpA.s['65']++;if(!this.get('id')){__cov_H2imwewODq4$fnpUwROFpA.b['17'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['66']++;this._set('id',Y.guid('file'));}else{__cov_H2imwewODq4$fnpUwROFpA.b['17'][1]++;}},_swfEventHandler:function(event){__cov_H2imwewODq4$fnpUwROFpA.f['9']++;__cov_H2imwewODq4$fnpUwROFpA.s['67']++;if(event.id===this.get('id')){__cov_H2imwewODq4$fnpUwROFpA.b['18'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['68']++;switch(event.type){case'uploadstart':__cov_H2imwewODq4$fnpUwROFpA.b['19'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['69']++;this.fire('uploadstart',{uploader:this.get('uploader')});__cov_H2imwewODq4$fnpUwROFpA.s['70']++;break;case'uploadprogress':__cov_H2imwewODq4$fnpUwROFpA.b['19'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['71']++;this.fire('uploadprogress',{originEvent:event,bytesLoaded:event.bytesLoaded,bytesTotal:event.bytesTotal,percentLoaded:Math.min(100,Math.round(10000*event.bytesLoaded/event.bytesTotal)/100)});__cov_H2imwewODq4$fnpUwROFpA.s['72']++;this._set('bytesUploaded',event.bytesLoaded);__cov_H2imwewODq4$fnpUwROFpA.s['73']++;break;case'uploadcomplete':__cov_H2imwewODq4$fnpUwROFpA.b['19'][2]++;__cov_H2imwewODq4$fnpUwROFpA.s['74']++;this.fire('uploadfinished',{originEvent:event});__cov_H2imwewODq4$fnpUwROFpA.s['75']++;break;case'uploadcompletedata':__cov_H2imwewODq4$fnpUwROFpA.b['19'][3]++;__cov_H2imwewODq4$fnpUwROFpA.s['76']++;this.fire('uploadcomplete',{originEvent:event,data:event.data});__cov_H2imwewODq4$fnpUwROFpA.s['77']++;break;case'uploadcancel':__cov_H2imwewODq4$fnpUwROFpA.b['19'][4]++;__cov_H2imwewODq4$fnpUwROFpA.s['78']++;this.fire('uploadcancel',{originEvent:event});__cov_H2imwewODq4$fnpUwROFpA.s['79']++;break;case'uploaderror':__cov_H2imwewODq4$fnpUwROFpA.b['19'][5]++;__cov_H2imwewODq4$fnpUwROFpA.s['80']++;this.fire('uploaderror',{originEvent:event,status:event.status,statusText:event.message,source:event.source});}}else{__cov_H2imwewODq4$fnpUwROFpA.b['18'][1]++;}},startUpload:function(url,parameters,fileFieldName){__cov_H2imwewODq4$fnpUwROFpA.f['10']++;__cov_H2imwewODq4$fnpUwROFpA.s['81']++;if(this.get('uploader')){__cov_H2imwewODq4$fnpUwROFpA.b['20'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['82']++;var myUploader=this.get('uploader'),fileField=(__cov_H2imwewODq4$fnpUwROFpA.b['21'][0]++,fileFieldName)||(__cov_H2imwewODq4$fnpUwROFpA.b['21'][1]++,'Filedata'),id=this.get('id'),params=(__cov_H2imwewODq4$fnpUwROFpA.b['22'][0]++,parameters)||(__cov_H2imwewODq4$fnpUwROFpA.b['22'][1]++,null);__cov_H2imwewODq4$fnpUwROFpA.s['83']++;this._set('bytesUploaded',0);__cov_H2imwewODq4$fnpUwROFpA.s['84']++;myUploader.on('uploadstart',this._swfEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['85']++;myUploader.on('uploadprogress',this._swfEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['86']++;myUploader.on('uploadcomplete',this._swfEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['87']++;myUploader.on('uploadcompletedata',this._swfEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['88']++;myUploader.on('uploaderror',this._swfEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['89']++;myUploader.callSWF('upload',[id,url,params,fileField]);}else{__cov_H2imwewODq4$fnpUwROFpA.b['20'][1]++;}},cancelUpload:function(){__cov_H2imwewODq4$fnpUwROFpA.f['11']++;__cov_H2imwewODq4$fnpUwROFpA.s['90']++;if(this.get('uploader')){__cov_H2imwewODq4$fnpUwROFpA.b['23'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['91']++;this.get('uploader').callSWF('cancel',[this.get('id')]);__cov_H2imwewODq4$fnpUwROFpA.s['92']++;this.fire('uploadcancel');}else{__cov_H2imwewODq4$fnpUwROFpA.b['23'][1]++;}}},{NAME:'file',TYPE:'flash',ATTRS:{id:{writeOnce:'initOnly',value:null},size:{writeOnce:'initOnly',value:0},name:{writeOnce:'initOnly',value:null},dateCreated:{writeOnce:'initOnly',value:null},dateModified:{writeOnce:'initOnly',value:null},bytesUploaded:{readOnly:true,value:0},type:{writeOnce:'initOnly',value:null},uploader:{writeOnce:'initOnly',value:null}}});__cov_H2imwewODq4$fnpUwROFpA.s['93']++;Y.FileFlash=FileFlash;__cov_H2imwewODq4$fnpUwROFpA.s['94']++;function UploaderFlash(){__cov_H2imwewODq4$fnpUwROFpA.f['12']++;__cov_H2imwewODq4$fnpUwROFpA.s['95']++;UploaderFlash.superclass.constructor.apply(this,arguments);}__cov_H2imwewODq4$fnpUwROFpA.s['96']++;Y.UploaderFlash=Y.extend(UploaderFlash,Y.Widget,{_buttonState:'up',_buttonFocus:false,_swfContainerId:null,_swfReference:null,queue:null,_tabElementBindings:null,initializer:function(){__cov_H2imwewODq4$fnpUwROFpA.f['13']++;__cov_H2imwewODq4$fnpUwROFpA.s['97']++;this._swfContainerId=Y.guid('uploader');__cov_H2imwewODq4$fnpUwROFpA.s['98']++;this._swfReference=null;__cov_H2imwewODq4$fnpUwROFpA.s['99']++;this.queue=null;__cov_H2imwewODq4$fnpUwROFpA.s['100']++;this._buttonState='up';__cov_H2imwewODq4$fnpUwROFpA.s['101']++;this._buttonFocus=null;__cov_H2imwewODq4$fnpUwROFpA.s['102']++;this._tabElementBindings=null;__cov_H2imwewODq4$fnpUwROFpA.s['103']++;this._fileList=[];__cov_H2imwewODq4$fnpUwROFpA.s['104']++;this.publish('fileselect');__cov_H2imwewODq4$fnpUwROFpA.s['105']++;this.publish('uploadstart');__cov_H2imwewODq4$fnpUwROFpA.s['106']++;this.publish('fileuploadstart');__cov_H2imwewODq4$fnpUwROFpA.s['107']++;this.publish('uploadprogress');__cov_H2imwewODq4$fnpUwROFpA.s['108']++;this.publish('totaluploadprogress');__cov_H2imwewODq4$fnpUwROFpA.s['109']++;this.publish('uploadcomplete');__cov_H2imwewODq4$fnpUwROFpA.s['110']++;this.publish('alluploadscomplete');__cov_H2imwewODq4$fnpUwROFpA.s['111']++;this.publish('uploaderror');__cov_H2imwewODq4$fnpUwROFpA.s['112']++;this.publish('mouseenter');__cov_H2imwewODq4$fnpUwROFpA.s['113']++;this.publish('mouseleave');__cov_H2imwewODq4$fnpUwROFpA.s['114']++;this.publish('mousedown');__cov_H2imwewODq4$fnpUwROFpA.s['115']++;this.publish('mouseup');__cov_H2imwewODq4$fnpUwROFpA.s['116']++;this.publish('click');},renderUI:function(){__cov_H2imwewODq4$fnpUwROFpA.f['14']++;__cov_H2imwewODq4$fnpUwROFpA.s['117']++;var boundingBox=this.get('boundingBox'),contentBox=this.get('contentBox'),selFilesButton=this.get('selectFilesButton'),flashContainer=Y.Node.create(substitute(UploaderFlash.FLASH_CONTAINER,{swfContainerId:this._swfContainerId})),params={version:'10.0.45',fixedAttributes:{wmode:'transparent',allowScriptAccess:'always',allowNetworking:'all',scale:'noscale'}};__cov_H2imwewODq4$fnpUwROFpA.s['118']++;boundingBox.setStyle('position','relative');__cov_H2imwewODq4$fnpUwROFpA.s['119']++;selFilesButton.setStyles({width:'100%',height:'100%'});__cov_H2imwewODq4$fnpUwROFpA.s['120']++;contentBox.append(selFilesButton);__cov_H2imwewODq4$fnpUwROFpA.s['121']++;contentBox.append(flashContainer);__cov_H2imwewODq4$fnpUwROFpA.s['122']++;this._swfReference=new Y.SWF(flashContainer,this.get('swfURL'),params);},bindUI:function(){__cov_H2imwewODq4$fnpUwROFpA.f['15']++;__cov_H2imwewODq4$fnpUwROFpA.s['123']++;this._swfReference.on('swfReady',function(){__cov_H2imwewODq4$fnpUwROFpA.f['16']++;__cov_H2imwewODq4$fnpUwROFpA.s['124']++;this._setMultipleFiles();__cov_H2imwewODq4$fnpUwROFpA.s['125']++;this._setFileFilters();__cov_H2imwewODq4$fnpUwROFpA.s['126']++;this._triggerEnabled();__cov_H2imwewODq4$fnpUwROFpA.s['127']++;this._attachTabElements();__cov_H2imwewODq4$fnpUwROFpA.s['128']++;this.after('multipleFilesChange',this._setMultipleFiles,this);__cov_H2imwewODq4$fnpUwROFpA.s['129']++;this.after('fileFiltersChange',this._setFileFilters,this);__cov_H2imwewODq4$fnpUwROFpA.s['130']++;this.after('enabledChange',this._triggerEnabled,this);__cov_H2imwewODq4$fnpUwROFpA.s['131']++;this.after('tabElementsChange',this._attachTabElements);},this);__cov_H2imwewODq4$fnpUwROFpA.s['132']++;this._swfReference.on('fileselect',this._updateFileList,this);__cov_H2imwewODq4$fnpUwROFpA.s['133']++;this._swfReference.on('mouseenter',function(){__cov_H2imwewODq4$fnpUwROFpA.f['17']++;__cov_H2imwewODq4$fnpUwROFpA.s['134']++;this.fire('mouseenter');__cov_H2imwewODq4$fnpUwROFpA.s['135']++;this._setButtonClass('hover',true);__cov_H2imwewODq4$fnpUwROFpA.s['136']++;if(this._buttonState==='down'){__cov_H2imwewODq4$fnpUwROFpA.b['24'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['137']++;this._setButtonClass('active',true);}else{__cov_H2imwewODq4$fnpUwROFpA.b['24'][1]++;}},this);__cov_H2imwewODq4$fnpUwROFpA.s['138']++;this._swfReference.on('mouseleave',function(){__cov_H2imwewODq4$fnpUwROFpA.f['18']++;__cov_H2imwewODq4$fnpUwROFpA.s['139']++;this.fire('mouseleave');__cov_H2imwewODq4$fnpUwROFpA.s['140']++;this._setButtonClass('hover',false);__cov_H2imwewODq4$fnpUwROFpA.s['141']++;this._setButtonClass('active',false);},this);__cov_H2imwewODq4$fnpUwROFpA.s['142']++;this._swfReference.on('mousedown',function(){__cov_H2imwewODq4$fnpUwROFpA.f['19']++;__cov_H2imwewODq4$fnpUwROFpA.s['143']++;this.fire('mousedown');__cov_H2imwewODq4$fnpUwROFpA.s['144']++;this._buttonState='down';__cov_H2imwewODq4$fnpUwROFpA.s['145']++;this._setButtonClass('active',true);},this);__cov_H2imwewODq4$fnpUwROFpA.s['146']++;this._swfReference.on('mouseup',function(){__cov_H2imwewODq4$fnpUwROFpA.f['20']++;__cov_H2imwewODq4$fnpUwROFpA.s['147']++;this.fire('mouseup');__cov_H2imwewODq4$fnpUwROFpA.s['148']++;this._buttonState='up';__cov_H2imwewODq4$fnpUwROFpA.s['149']++;this._setButtonClass('active',false);},this);__cov_H2imwewODq4$fnpUwROFpA.s['150']++;this._swfReference.on('click',function(){__cov_H2imwewODq4$fnpUwROFpA.f['21']++;__cov_H2imwewODq4$fnpUwROFpA.s['151']++;this.fire('click');__cov_H2imwewODq4$fnpUwROFpA.s['152']++;this._buttonFocus=true;__cov_H2imwewODq4$fnpUwROFpA.s['153']++;this._setButtonClass('focus',true);__cov_H2imwewODq4$fnpUwROFpA.s['154']++;Y.one('body').focus();__cov_H2imwewODq4$fnpUwROFpA.s['155']++;this._swfReference._swf.focus();},this);},_attachTabElements:function(){__cov_H2imwewODq4$fnpUwROFpA.f['22']++;__cov_H2imwewODq4$fnpUwROFpA.s['156']++;if((__cov_H2imwewODq4$fnpUwROFpA.b['26'][0]++,this.get('tabElements')!==null)&&(__cov_H2imwewODq4$fnpUwROFpA.b['26'][1]++,this.get('tabElements').from!==null)&&(__cov_H2imwewODq4$fnpUwROFpA.b['26'][2]++,this.get('tabElements').to!==null)){__cov_H2imwewODq4$fnpUwROFpA.b['25'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['157']++;if(this._tabElementBindings!==null){__cov_H2imwewODq4$fnpUwROFpA.b['27'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['158']++;this._tabElementBindings.from.detach();__cov_H2imwewODq4$fnpUwROFpA.s['159']++;this._tabElementBindings.to.detach();__cov_H2imwewODq4$fnpUwROFpA.s['160']++;this._tabElementBindings.tabback.detach();__cov_H2imwewODq4$fnpUwROFpA.s['161']++;this._tabElementBindings.tabforward.detach();__cov_H2imwewODq4$fnpUwROFpA.s['162']++;this._tabElementBindings.focus.detach();__cov_H2imwewODq4$fnpUwROFpA.s['163']++;this._tabElementBindings.blur.detach();}else{__cov_H2imwewODq4$fnpUwROFpA.b['27'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['164']++;this._tabElementBindings={};}__cov_H2imwewODq4$fnpUwROFpA.s['165']++;var fromElement=Y.one(this.get('tabElements').from),toElement=Y.one(this.get('tabElements').to);__cov_H2imwewODq4$fnpUwROFpA.s['166']++;this._tabElementBindings.from=fromElement.on('keydown',function(ev){__cov_H2imwewODq4$fnpUwROFpA.f['23']++;__cov_H2imwewODq4$fnpUwROFpA.s['167']++;if((__cov_H2imwewODq4$fnpUwROFpA.b['29'][0]++,ev.keyCode===9)&&(__cov_H2imwewODq4$fnpUwROFpA.b['29'][1]++,!ev.shiftKey)){__cov_H2imwewODq4$fnpUwROFpA.b['28'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['168']++;ev.preventDefault();__cov_H2imwewODq4$fnpUwROFpA.s['169']++;this._swfReference._swf.setAttribute('tabindex',0);__cov_H2imwewODq4$fnpUwROFpA.s['170']++;this._swfReference._swf.setAttribute('role','button');__cov_H2imwewODq4$fnpUwROFpA.s['171']++;this._swfReference._swf.setAttribute('aria-label',this.get('selectButtonLabel'));__cov_H2imwewODq4$fnpUwROFpA.s['172']++;this._swfReference._swf.focus();}else{__cov_H2imwewODq4$fnpUwROFpA.b['28'][1]++;}},this);__cov_H2imwewODq4$fnpUwROFpA.s['173']++;this._tabElementBindings.to=toElement.on('keydown',function(ev){__cov_H2imwewODq4$fnpUwROFpA.f['24']++;__cov_H2imwewODq4$fnpUwROFpA.s['174']++;if((__cov_H2imwewODq4$fnpUwROFpA.b['31'][0]++,ev.keyCode===9)&&(__cov_H2imwewODq4$fnpUwROFpA.b['31'][1]++,ev.shiftKey)){__cov_H2imwewODq4$fnpUwROFpA.b['30'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['175']++;ev.preventDefault();__cov_H2imwewODq4$fnpUwROFpA.s['176']++;this._swfReference._swf.setAttribute('tabindex',0);__cov_H2imwewODq4$fnpUwROFpA.s['177']++;this._swfReference._swf.setAttribute('role','button');__cov_H2imwewODq4$fnpUwROFpA.s['178']++;this._swfReference._swf.setAttribute('aria-label',this.get('selectButtonLabel'));__cov_H2imwewODq4$fnpUwROFpA.s['179']++;this._swfReference._swf.focus();}else{__cov_H2imwewODq4$fnpUwROFpA.b['30'][1]++;}},this);__cov_H2imwewODq4$fnpUwROFpA.s['180']++;this._tabElementBindings.tabback=this._swfReference.on('tabback',function(){__cov_H2imwewODq4$fnpUwROFpA.f['25']++;__cov_H2imwewODq4$fnpUwROFpA.s['181']++;this._swfReference._swf.blur();__cov_H2imwewODq4$fnpUwROFpA.s['182']++;setTimeout(function(){__cov_H2imwewODq4$fnpUwROFpA.f['26']++;__cov_H2imwewODq4$fnpUwROFpA.s['183']++;fromElement.focus();},30);},this);__cov_H2imwewODq4$fnpUwROFpA.s['184']++;this._tabElementBindings.tabforward=this._swfReference.on('tabforward',function(){__cov_H2imwewODq4$fnpUwROFpA.f['27']++;__cov_H2imwewODq4$fnpUwROFpA.s['185']++;this._swfReference._swf.blur();__cov_H2imwewODq4$fnpUwROFpA.s['186']++;setTimeout(function(){__cov_H2imwewODq4$fnpUwROFpA.f['28']++;__cov_H2imwewODq4$fnpUwROFpA.s['187']++;toElement.focus();},30);},this);__cov_H2imwewODq4$fnpUwROFpA.s['188']++;this._tabElementBindings.focus=this._swfReference._swf.on('focus',function(){__cov_H2imwewODq4$fnpUwROFpA.f['29']++;__cov_H2imwewODq4$fnpUwROFpA.s['189']++;this._buttonFocus=true;__cov_H2imwewODq4$fnpUwROFpA.s['190']++;this._setButtonClass('focus',true);},this);__cov_H2imwewODq4$fnpUwROFpA.s['191']++;this._tabElementBindings.blur=this._swfReference._swf.on('blur',function(){__cov_H2imwewODq4$fnpUwROFpA.f['30']++;__cov_H2imwewODq4$fnpUwROFpA.s['192']++;this._buttonFocus=false;__cov_H2imwewODq4$fnpUwROFpA.s['193']++;this._setButtonClass('focus',false);},this);}else{__cov_H2imwewODq4$fnpUwROFpA.b['25'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['194']++;if(this._tabElementBindings!==null){__cov_H2imwewODq4$fnpUwROFpA.b['32'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['195']++;this._tabElementBindings.from.detach();__cov_H2imwewODq4$fnpUwROFpA.s['196']++;this._tabElementBindings.to.detach();__cov_H2imwewODq4$fnpUwROFpA.s['197']++;this._tabElementBindings.tabback.detach();__cov_H2imwewODq4$fnpUwROFpA.s['198']++;this._tabElementBindings.tabforward.detach();__cov_H2imwewODq4$fnpUwROFpA.s['199']++;this._tabElementBindings.focus.detach();__cov_H2imwewODq4$fnpUwROFpA.s['200']++;this._tabElementBindings.blur.detach();}else{__cov_H2imwewODq4$fnpUwROFpA.b['32'][1]++;}}},_setButtonClass:function(state,add){__cov_H2imwewODq4$fnpUwROFpA.f['31']++;__cov_H2imwewODq4$fnpUwROFpA.s['201']++;if(add){__cov_H2imwewODq4$fnpUwROFpA.b['33'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['202']++;this.get('selectFilesButton').addClass(this.get('buttonClassNames')[state]);}else{__cov_H2imwewODq4$fnpUwROFpA.b['33'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['203']++;this.get('selectFilesButton').removeClass(this.get('buttonClassNames')[state]);}},_setFileFilters:function(){__cov_H2imwewODq4$fnpUwROFpA.f['32']++;__cov_H2imwewODq4$fnpUwROFpA.s['204']++;if((__cov_H2imwewODq4$fnpUwROFpA.b['35'][0]++,this._swfReference)&&(__cov_H2imwewODq4$fnpUwROFpA.b['35'][1]++,this.get('fileFilters').length>0)){__cov_H2imwewODq4$fnpUwROFpA.b['34'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['205']++;this._swfReference.callSWF('setFileFilters',[this.get('fileFilters')]);}else{__cov_H2imwewODq4$fnpUwROFpA.b['34'][1]++;}},_setMultipleFiles:function(){__cov_H2imwewODq4$fnpUwROFpA.f['33']++;__cov_H2imwewODq4$fnpUwROFpA.s['206']++;if(this._swfReference){__cov_H2imwewODq4$fnpUwROFpA.b['36'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['207']++;this._swfReference.callSWF('setAllowMultipleFiles',[this.get('multipleFiles')]);}else{__cov_H2imwewODq4$fnpUwROFpA.b['36'][1]++;}},_triggerEnabled:function(){__cov_H2imwewODq4$fnpUwROFpA.f['34']++;__cov_H2imwewODq4$fnpUwROFpA.s['208']++;if(this.get('enabled')){__cov_H2imwewODq4$fnpUwROFpA.b['37'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['209']++;this._swfReference.callSWF('enable');__cov_H2imwewODq4$fnpUwROFpA.s['210']++;this._swfReference._swf.setAttribute('aria-disabled','false');__cov_H2imwewODq4$fnpUwROFpA.s['211']++;this._setButtonClass('disabled',false);}else{__cov_H2imwewODq4$fnpUwROFpA.b['37'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['212']++;this._swfReference.callSWF('disable');__cov_H2imwewODq4$fnpUwROFpA.s['213']++;this._swfReference._swf.setAttribute('aria-disabled','true');__cov_H2imwewODq4$fnpUwROFpA.s['214']++;this._setButtonClass('disabled',true);}},_getFileList:function(){__cov_H2imwewODq4$fnpUwROFpA.f['35']++;__cov_H2imwewODq4$fnpUwROFpA.s['215']++;return this._fileList.concat();},_setFileList:function(val){__cov_H2imwewODq4$fnpUwROFpA.f['36']++;__cov_H2imwewODq4$fnpUwROFpA.s['216']++;this._fileList=val.concat();__cov_H2imwewODq4$fnpUwROFpA.s['217']++;return this._fileList.concat();},_updateFileList:function(ev){__cov_H2imwewODq4$fnpUwROFpA.f['37']++;__cov_H2imwewODq4$fnpUwROFpA.s['218']++;Y.one('body').focus();__cov_H2imwewODq4$fnpUwROFpA.s['219']++;this._swfReference._swf.focus();__cov_H2imwewODq4$fnpUwROFpA.s['220']++;var newfiles=ev.fileList,fileConfObjects=[],parsedFiles=[],swfRef=this._swfReference,filterFunc=this.get('fileFilterFunction'),oldfiles;__cov_H2imwewODq4$fnpUwROFpA.s['221']++;Y.each(newfiles,function(value){__cov_H2imwewODq4$fnpUwROFpA.f['38']++;__cov_H2imwewODq4$fnpUwROFpA.s['222']++;var newFileConf={};__cov_H2imwewODq4$fnpUwROFpA.s['223']++;newFileConf.id=value.fileId;__cov_H2imwewODq4$fnpUwROFpA.s['224']++;newFileConf.name=value.fileReference.name;__cov_H2imwewODq4$fnpUwROFpA.s['225']++;newFileConf.size=value.fileReference.size;__cov_H2imwewODq4$fnpUwROFpA.s['226']++;newFileConf.type=value.fileReference.type;__cov_H2imwewODq4$fnpUwROFpA.s['227']++;newFileConf.dateCreated=value.fileReference.creationDate;__cov_H2imwewODq4$fnpUwROFpA.s['228']++;newFileConf.dateModified=value.fileReference.modificationDate;__cov_H2imwewODq4$fnpUwROFpA.s['229']++;newFileConf.uploader=swfRef;__cov_H2imwewODq4$fnpUwROFpA.s['230']++;fileConfObjects.push(newFileConf);});__cov_H2imwewODq4$fnpUwROFpA.s['231']++;if(filterFunc){__cov_H2imwewODq4$fnpUwROFpA.b['38'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['232']++;Y.each(fileConfObjects,function(value){__cov_H2imwewODq4$fnpUwROFpA.f['39']++;__cov_H2imwewODq4$fnpUwROFpA.s['233']++;var newfile=new Y.FileFlash(value);__cov_H2imwewODq4$fnpUwROFpA.s['234']++;if(filterFunc(newfile)){__cov_H2imwewODq4$fnpUwROFpA.b['39'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['235']++;parsedFiles.push(newfile);}else{__cov_H2imwewODq4$fnpUwROFpA.b['39'][1]++;}});}else{__cov_H2imwewODq4$fnpUwROFpA.b['38'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['236']++;Y.each(fileConfObjects,function(value){__cov_H2imwewODq4$fnpUwROFpA.f['40']++;__cov_H2imwewODq4$fnpUwROFpA.s['237']++;parsedFiles.push(new Y.FileFlash(value));});}__cov_H2imwewODq4$fnpUwROFpA.s['238']++;if(parsedFiles.length>0){__cov_H2imwewODq4$fnpUwROFpA.b['40'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['239']++;oldfiles=this.get('fileList');__cov_H2imwewODq4$fnpUwROFpA.s['240']++;this.set('fileList',this.get('appendNewFiles')?(__cov_H2imwewODq4$fnpUwROFpA.b['41'][0]++,oldfiles.concat(parsedFiles)):(__cov_H2imwewODq4$fnpUwROFpA.b['41'][1]++,parsedFiles));__cov_H2imwewODq4$fnpUwROFpA.s['241']++;this.fire('fileselect',{fileList:parsedFiles});}else{__cov_H2imwewODq4$fnpUwROFpA.b['40'][1]++;}},_uploadEventHandler:function(event){__cov_H2imwewODq4$fnpUwROFpA.f['41']++;__cov_H2imwewODq4$fnpUwROFpA.s['242']++;switch(event.type){case'file:uploadstart':__cov_H2imwewODq4$fnpUwROFpA.b['42'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['243']++;this.fire('fileuploadstart',event);__cov_H2imwewODq4$fnpUwROFpA.s['244']++;break;case'file:uploadprogress':__cov_H2imwewODq4$fnpUwROFpA.b['42'][1]++;__cov_H2imwewODq4$fnpUwROFpA.s['245']++;this.fire('uploadprogress',event);__cov_H2imwewODq4$fnpUwROFpA.s['246']++;break;case'uploaderqueue:totaluploadprogress':__cov_H2imwewODq4$fnpUwROFpA.b['42'][2]++;__cov_H2imwewODq4$fnpUwROFpA.s['247']++;this.fire('totaluploadprogress',event);__cov_H2imwewODq4$fnpUwROFpA.s['248']++;break;case'file:uploadcomplete':__cov_H2imwewODq4$fnpUwROFpA.b['42'][3]++;__cov_H2imwewODq4$fnpUwROFpA.s['249']++;this.fire('uploadcomplete',event);__cov_H2imwewODq4$fnpUwROFpA.s['250']++;break;case'uploaderqueue:alluploadscomplete':__cov_H2imwewODq4$fnpUwROFpA.b['42'][4]++;__cov_H2imwewODq4$fnpUwROFpA.s['251']++;this.queue=null;__cov_H2imwewODq4$fnpUwROFpA.s['252']++;this.fire('alluploadscomplete',event);__cov_H2imwewODq4$fnpUwROFpA.s['253']++;break;case'file:uploaderror':__cov_H2imwewODq4$fnpUwROFpA.b['42'][5]++;case'uploaderqueue:uploaderror':__cov_H2imwewODq4$fnpUwROFpA.b['42'][6]++;__cov_H2imwewODq4$fnpUwROFpA.s['254']++;this.fire('uploaderror',event);__cov_H2imwewODq4$fnpUwROFpA.s['255']++;break;case'file:uploadcancel':__cov_H2imwewODq4$fnpUwROFpA.b['42'][7]++;case'uploaderqueue:uploadcancel':__cov_H2imwewODq4$fnpUwROFpA.b['42'][8]++;__cov_H2imwewODq4$fnpUwROFpA.s['256']++;this.fire('uploadcancel',event);__cov_H2imwewODq4$fnpUwROFpA.s['257']++;break;}},upload:function(file,url,postvars){__cov_H2imwewODq4$fnpUwROFpA.f['42']++;__cov_H2imwewODq4$fnpUwROFpA.s['258']++;var uploadURL=(__cov_H2imwewODq4$fnpUwROFpA.b['43'][0]++,url)||(__cov_H2imwewODq4$fnpUwROFpA.b['43'][1]++,this.get('uploadURL')),postVars=(__cov_H2imwewODq4$fnpUwROFpA.b['44'][0]++,postvars)||(__cov_H2imwewODq4$fnpUwROFpA.b['44'][1]++,this.get('postVarsPerFile')),fileId=file.get('id');__cov_H2imwewODq4$fnpUwROFpA.s['259']++;postVars=postVars.hasOwnProperty(fileId)?(__cov_H2imwewODq4$fnpUwROFpA.b['45'][0]++,postVars[fileId]):(__cov_H2imwewODq4$fnpUwROFpA.b['45'][1]++,postVars);__cov_H2imwewODq4$fnpUwROFpA.s['260']++;if(file instanceof Y.FileFlash){__cov_H2imwewODq4$fnpUwROFpA.b['46'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['261']++;file.on('uploadstart',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['262']++;file.on('uploadprogress',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['263']++;file.on('uploadcomplete',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['264']++;file.on('uploaderror',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['265']++;file.on('uploadcancel',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['266']++;file.startUpload(uploadURL,postVars,this.get('fileFieldName'));}else{__cov_H2imwewODq4$fnpUwROFpA.b['46'][1]++;}},uploadAll:function(url,postvars){__cov_H2imwewODq4$fnpUwROFpA.f['43']++;__cov_H2imwewODq4$fnpUwROFpA.s['267']++;this.uploadThese(this.get('fileList'),url,postvars);},uploadThese:function(files,url,postvars){__cov_H2imwewODq4$fnpUwROFpA.f['44']++;__cov_H2imwewODq4$fnpUwROFpA.s['268']++;if(!this.queue){__cov_H2imwewODq4$fnpUwROFpA.b['47'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['269']++;var uploadURL=(__cov_H2imwewODq4$fnpUwROFpA.b['48'][0]++,url)||(__cov_H2imwewODq4$fnpUwROFpA.b['48'][1]++,this.get('uploadURL')),postVars=(__cov_H2imwewODq4$fnpUwROFpA.b['49'][0]++,postvars)||(__cov_H2imwewODq4$fnpUwROFpA.b['49'][1]++,this.get('postVarsPerFile'));__cov_H2imwewODq4$fnpUwROFpA.s['270']++;this.queue=new UploaderQueue({simUploads:this.get('simLimit'),errorAction:this.get('errorAction'),fileFieldName:this.get('fileFieldName'),fileList:files,uploadURL:uploadURL,perFileParameters:postVars,retryCount:this.get('retryCount')});__cov_H2imwewODq4$fnpUwROFpA.s['271']++;this.queue.on('uploadstart',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['272']++;this.queue.on('uploadprogress',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['273']++;this.queue.on('totaluploadprogress',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['274']++;this.queue.on('uploadcomplete',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['275']++;this.queue.on('alluploadscomplete',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['276']++;this.queue.on('alluploadscancelled',function(){__cov_H2imwewODq4$fnpUwROFpA.f['45']++;__cov_H2imwewODq4$fnpUwROFpA.s['277']++;this.queue=null;},this);__cov_H2imwewODq4$fnpUwROFpA.s['278']++;this.queue.on('uploaderror',this._uploadEventHandler,this);__cov_H2imwewODq4$fnpUwROFpA.s['279']++;this.queue.startUpload();__cov_H2imwewODq4$fnpUwROFpA.s['280']++;this.fire('uploadstart');}else{__cov_H2imwewODq4$fnpUwROFpA.b['47'][1]++;}}},{FLASH_CONTAINER:'<div id="{swfContainerId}" style="position:absolute; top:0px; left: 0px; margin: 0; '+'padding: 0; border: 0; width:100%; height:100%"></div>',SELECT_FILES_BUTTON:'<button type=\'button\' class=\'yui3-button\' tabindex=\'-1\'>{selectButtonLabel}</button>',TYPE:'flash',NAME:'uploader',ATTRS:{appendNewFiles:{value:true},buttonClassNames:{value:{'hover':'yui3-button-hover','active':'yui3-button-active','disabled':'yui3-button-disabled','focus':'yui3-button-selected'}},enabled:{value:true},errorAction:{value:'continue',validator:function(val){__cov_H2imwewODq4$fnpUwROFpA.f['46']++;__cov_H2imwewODq4$fnpUwROFpA.s['281']++;return(__cov_H2imwewODq4$fnpUwROFpA.b['50'][0]++,val===UploaderQueue.CONTINUE)||(__cov_H2imwewODq4$fnpUwROFpA.b['50'][1]++,val===UploaderQueue.STOP)||(__cov_H2imwewODq4$fnpUwROFpA.b['50'][2]++,val===UploaderQueue.RESTART_ASAP)||(__cov_H2imwewODq4$fnpUwROFpA.b['50'][3]++,val===UploaderQueue.RESTART_AFTER);}},fileFilters:{value:[]},fileFilterFunction:{value:null},fileFieldName:{value:'Filedata'},fileList:{value:[],getter:'_getFileList',setter:'_setFileList'},multipleFiles:{value:false},postVarsPerFile:{value:{}},selectButtonLabel:{value:'Select Files'},selectFilesButton:{valueFn:function(){__cov_H2imwewODq4$fnpUwROFpA.f['47']++;__cov_H2imwewODq4$fnpUwROFpA.s['282']++;return Y.Node.create(substitute(Y.UploaderFlash.SELECT_FILES_BUTTON,{selectButtonLabel:this.get('selectButtonLabel')}));}},simLimit:{value:2,validator:function(val){__cov_H2imwewODq4$fnpUwROFpA.f['48']++;__cov_H2imwewODq4$fnpUwROFpA.s['283']++;return(__cov_H2imwewODq4$fnpUwROFpA.b['51'][0]++,val>=2)&&(__cov_H2imwewODq4$fnpUwROFpA.b['51'][1]++,val<=5);}},swfURL:{valueFn:function(){__cov_H2imwewODq4$fnpUwROFpA.f['49']++;__cov_H2imwewODq4$fnpUwROFpA.s['284']++;var prefix='flashuploader.swf';__cov_H2imwewODq4$fnpUwROFpA.s['285']++;if(Y.UA.ie>0){__cov_H2imwewODq4$fnpUwROFpA.b['52'][0]++;__cov_H2imwewODq4$fnpUwROFpA.s['286']++;return prefix+'?t='+Y.guid('uploader');}else{__cov_H2imwewODq4$fnpUwROFpA.b['52'][1]++;}__cov_H2imwewODq4$fnpUwROFpA.s['287']++;return prefix;}},tabElements:{value:null},uploadURL:{value:''},retryCount:{value:3}}});__cov_H2imwewODq4$fnpUwROFpA.s['288']++;Y.UploaderFlash.Queue=UploaderQueue;},'@VERSION@',{'requires':['swfdetect','escape','widget','base','cssbutton','node','event-custom','uploader-queue']});