Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gallery-2014.01.28-00-45 tripp gallery-stockindicators-3-15-patch

  • Loading branch information...
commit 11f0a8dae1a62a53876a082fddd16bcc7dab29d4 1 parent 4293037
@tripp tripp authored
View
6 build/gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch-coverage.js
@@ -0,0 +1,6 @@
+if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
+if (!__coverage__['build/gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch.js']) {
+ __coverage__['build/gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch.js'] = {"path":"build/gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch.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},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0],"28":[0,0],"29":[0,0,0,0,0,0,0,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,0],"41":[0,0],"42":[0,0],"43":[0,0],"44":[0,0],"45":[0,0],"46":[0,0],"47":[0,0],"48":[0,0],"49":[0,0],"50":[0,0],"51":[0,0],"52":[0,0],"53":[0,0],"54":[0,0],"55":[0,0],"56":[0,0],"57":[0,0,0],"58":[0,0],"59":[0,0],"60":[0,0],"61":[0,0],"62":[0,0],"63":[0,0],"64":[0,0],"65":[0,0,0],"66":[0,0],"67":[0,0],"68":[0,0],"69":[0,0],"70":[0,0],"71":[0,0],"72":[0,0],"73":[0,0],"74":[0,0],"75":[0,0],"76":[0,0],"77":[0,0],"78":[0,0],"79":[0,0],"80":[0,0],"81":[0,0],"82":[0,0],"83":[0,0],"84":[0,0],"85":[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},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":46},"end":{"line":1,"column":65}}},"2":{"name":"(anonymous_2)","line":11,"loc":{"start":{"line":11,"column":40},"end":{"line":11,"column":51}}},"3":{"name":"(anonymous_3)","line":61,"loc":{"start":{"line":61,"column":45},"end":{"line":61,"column":56}}},"4":{"name":"(anonymous_4)","line":92,"loc":{"start":{"line":92,"column":39},"end":{"line":93,"column":4}}},"5":{"name":"(anonymous_5)","line":178,"loc":{"start":{"line":178,"column":39},"end":{"line":179,"column":1}}},"6":{"name":"(anonymous_6)","line":197,"loc":{"start":{"line":197,"column":38},"end":{"line":198,"column":1}}},"7":{"name":"(anonymous_7)","line":230,"loc":{"start":{"line":230,"column":45},"end":{"line":231,"column":1}}},"8":{"name":"(anonymous_8)","line":272,"loc":{"start":{"line":272,"column":43},"end":{"line":273,"column":1}}},"9":{"name":"(anonymous_9)","line":303,"loc":{"start":{"line":303,"column":44},"end":{"line":304,"column":1}}},"10":{"name":"(anonymous_10)","line":369,"loc":{"start":{"line":369,"column":44},"end":{"line":370,"column":1}}},"11":{"name":"(anonymous_11)","line":434,"loc":{"start":{"line":434,"column":30},"end":{"line":435,"column":1}}},"12":{"name":"(anonymous_12)","line":447,"loc":{"start":{"line":447,"column":39},"end":{"line":447,"column":50}}},"13":{"name":"(anonymous_13)","line":465,"loc":{"start":{"line":465,"column":11},"end":{"line":466,"column":2}}},"14":{"name":"(anonymous_14)","line":470,"loc":{"start":{"line":470,"column":10},"end":{"line":471,"column":2}}},"15":{"name":"(anonymous_15)","line":482,"loc":{"start":{"line":482,"column":11},"end":{"line":483,"column":2}}},"16":{"name":"(anonymous_16)","line":493,"loc":{"start":{"line":493,"column":10},"end":{"line":494,"column":2}}},"17":{"name":"(anonymous_17)","line":503,"loc":{"start":{"line":503,"column":34},"end":{"line":503,"column":45}}},"18":{"name":"(anonymous_18)","line":517,"loc":{"start":{"line":517,"column":37},"end":{"line":517,"column":48}}},"19":{"name":"(anonymous_19)","line":594,"loc":{"start":{"line":594,"column":33},"end":{"line":594,"column":44}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":602,"column":31}},"2":{"start":{"line":3,"column":0},"end":{"line":5,"column":2}},"3":{"start":{"line":7,"column":0},"end":{"line":7,"column":62}},"4":{"start":{"line":8,"column":0},"end":{"line":8,"column":58}},"5":{"start":{"line":10,"column":0},"end":{"line":57,"column":1}},"6":{"start":{"line":11,"column":4},"end":{"line":56,"column":6}},"7":{"start":{"line":12,"column":8},"end":{"line":13,"column":42}},"8":{"start":{"line":14,"column":8},"end":{"line":32,"column":9}},"9":{"start":{"line":16,"column":12},"end":{"line":19,"column":13}},"10":{"start":{"line":18,"column":16},"end":{"line":18,"column":50}},"11":{"start":{"line":20,"column":12},"end":{"line":23,"column":13}},"12":{"start":{"line":22,"column":16},"end":{"line":22,"column":49}},"13":{"start":{"line":24,"column":12},"end":{"line":27,"column":13}},"14":{"start":{"line":26,"column":16},"end":{"line":26,"column":50}},"15":{"start":{"line":28,"column":12},"end":{"line":31,"column":13}},"16":{"start":{"line":30,"column":16},"end":{"line":30,"column":51}},"17":{"start":{"line":33,"column":8},"end":{"line":40,"column":9}},"18":{"start":{"line":35,"column":12},"end":{"line":35,"column":37}},"19":{"start":{"line":36,"column":12},"end":{"line":39,"column":13}},"20":{"start":{"line":38,"column":16},"end":{"line":38,"column":33}},"21":{"start":{"line":41,"column":8},"end":{"line":45,"column":9}},"22":{"start":{"line":43,"column":12},"end":{"line":43,"column":33}},"23":{"start":{"line":44,"column":12},"end":{"line":44,"column":30}},"24":{"start":{"line":46,"column":8},"end":{"line":50,"column":9}},"25":{"start":{"line":48,"column":12},"end":{"line":48,"column":40}},"26":{"start":{"line":49,"column":12},"end":{"line":49,"column":37}},"27":{"start":{"line":51,"column":8},"end":{"line":55,"column":9}},"28":{"start":{"line":53,"column":12},"end":{"line":53,"column":40}},"29":{"start":{"line":54,"column":12},"end":{"line":54,"column":37}},"30":{"start":{"line":60,"column":0},"end":{"line":90,"column":1}},"31":{"start":{"line":61,"column":4},"end":{"line":89,"column":6}},"32":{"start":{"line":62,"column":8},"end":{"line":88,"column":9}},"33":{"start":{"line":64,"column":12},"end":{"line":67,"column":13}},"34":{"start":{"line":66,"column":16},"end":{"line":66,"column":48}},"35":{"start":{"line":68,"column":12},"end":{"line":71,"column":13}},"36":{"start":{"line":70,"column":16},"end":{"line":70,"column":49}},"37":{"start":{"line":72,"column":12},"end":{"line":75,"column":13}},"38":{"start":{"line":74,"column":16},"end":{"line":74,"column":48}},"39":{"start":{"line":76,"column":12},"end":{"line":79,"column":13}},"40":{"start":{"line":78,"column":16},"end":{"line":78,"column":49}},"41":{"start":{"line":80,"column":12},"end":{"line":83,"column":13}},"42":{"start":{"line":82,"column":16},"end":{"line":82,"column":49}},"43":{"start":{"line":84,"column":12},"end":{"line":87,"column":13}},"44":{"start":{"line":86,"column":16},"end":{"line":86,"column":49}},"45":{"start":{"line":91,"column":0},"end":{"line":590,"column":1}},"46":{"start":{"line":92,"column":4},"end":{"line":176,"column":6}},"47":{"start":{"line":94,"column":8},"end":{"line":103,"column":36}},"48":{"start":{"line":104,"column":8},"end":{"line":175,"column":9}},"49":{"start":{"line":106,"column":12},"end":{"line":106,"column":49}},"50":{"start":{"line":107,"column":12},"end":{"line":160,"column":13}},"51":{"start":{"line":109,"column":16},"end":{"line":109,"column":49}},"52":{"start":{"line":110,"column":16},"end":{"line":110,"column":42}},"53":{"start":{"line":111,"column":16},"end":{"line":111,"column":43}},"54":{"start":{"line":112,"column":16},"end":{"line":127,"column":17}},"55":{"start":{"line":114,"column":20},"end":{"line":114,"column":79}},"56":{"start":{"line":116,"column":21},"end":{"line":127,"column":17}},"57":{"start":{"line":118,"column":20},"end":{"line":118,"column":34}},"58":{"start":{"line":120,"column":21},"end":{"line":127,"column":17}},"59":{"start":{"line":122,"column":20},"end":{"line":122,"column":95}},"60":{"start":{"line":126,"column":20},"end":{"line":126,"column":80}},"61":{"start":{"line":128,"column":16},"end":{"line":159,"column":17}},"62":{"start":{"line":136,"column":24},"end":{"line":141,"column":25}},"63":{"start":{"line":138,"column":28},"end":{"line":138,"column":61}},"64":{"start":{"line":139,"column":28},"end":{"line":139,"column":56}},"65":{"start":{"line":140,"column":28},"end":{"line":140,"column":59}},"66":{"start":{"line":142,"column":20},"end":{"line":142,"column":26}},"67":{"start":{"line":144,"column":24},"end":{"line":144,"column":100}},"68":{"start":{"line":145,"column":24},"end":{"line":145,"column":108}},"69":{"start":{"line":146,"column":24},"end":{"line":146,"column":71}},"70":{"start":{"line":147,"column":24},"end":{"line":147,"column":42}},"71":{"start":{"line":148,"column":20},"end":{"line":148,"column":26}},"72":{"start":{"line":151,"column":24},"end":{"line":157,"column":25}},"73":{"start":{"line":153,"column":28},"end":{"line":153,"column":69}},"74":{"start":{"line":154,"column":28},"end":{"line":154,"column":45}},"75":{"start":{"line":155,"column":28},"end":{"line":155,"column":78}},"76":{"start":{"line":156,"column":28},"end":{"line":156,"column":46}},"77":{"start":{"line":158,"column":20},"end":{"line":158,"column":26}},"78":{"start":{"line":161,"column":12},"end":{"line":164,"column":13}},"79":{"start":{"line":163,"column":16},"end":{"line":163,"column":28}},"80":{"start":{"line":165,"column":12},"end":{"line":165,"column":30}},"81":{"start":{"line":166,"column":12},"end":{"line":169,"column":13}},"82":{"start":{"line":168,"column":16},"end":{"line":168,"column":45}},"83":{"start":{"line":171,"column":12},"end":{"line":171,"column":30}},"84":{"start":{"line":172,"column":12},"end":{"line":172,"column":38}},"85":{"start":{"line":173,"column":12},"end":{"line":173,"column":40}},"86":{"start":{"line":174,"column":12},"end":{"line":174,"column":36}},"87":{"start":{"line":178,"column":4},"end":{"line":195,"column":3}},"88":{"start":{"line":180,"column":2},"end":{"line":182,"column":36}},"89":{"start":{"line":183,"column":2},"end":{"line":183,"column":27}},"90":{"start":{"line":184,"column":8},"end":{"line":184,"column":32}},"91":{"start":{"line":185,"column":8},"end":{"line":185,"column":26}},"92":{"start":{"line":186,"column":2},"end":{"line":189,"column":9}},"93":{"start":{"line":188,"column":12},"end":{"line":188,"column":38}},"94":{"start":{"line":190,"column":8},"end":{"line":193,"column":9}},"95":{"start":{"line":192,"column":12},"end":{"line":192,"column":38}},"96":{"start":{"line":194,"column":8},"end":{"line":194,"column":30}},"97":{"start":{"line":197,"column":4},"end":{"line":229,"column":3}},"98":{"start":{"line":199,"column":2},"end":{"line":205,"column":45}},"99":{"start":{"line":206,"column":2},"end":{"line":206,"column":19}},"100":{"start":{"line":207,"column":2},"end":{"line":215,"column":10}},"101":{"start":{"line":216,"column":8},"end":{"line":219,"column":3}},"102":{"start":{"line":218,"column":3},"end":{"line":218,"column":31}},"103":{"start":{"line":220,"column":2},"end":{"line":223,"column":3}},"104":{"start":{"line":222,"column":3},"end":{"line":222,"column":57}},"105":{"start":{"line":224,"column":8},"end":{"line":227,"column":9}},"106":{"start":{"line":226,"column":12},"end":{"line":226,"column":53}},"107":{"start":{"line":228,"column":8},"end":{"line":228,"column":76}},"108":{"start":{"line":230,"column":1},"end":{"line":270,"column":3}},"109":{"start":{"line":232,"column":2},"end":{"line":236,"column":12}},"110":{"start":{"line":237,"column":2},"end":{"line":269,"column":3}},"111":{"start":{"line":239,"column":3},"end":{"line":239,"column":41}},"112":{"start":{"line":240,"column":3},"end":{"line":240,"column":46}},"113":{"start":{"line":241,"column":3},"end":{"line":241,"column":42}},"114":{"start":{"line":242,"column":3},"end":{"line":242,"column":71}},"115":{"start":{"line":243,"column":3},"end":{"line":243,"column":44}},"116":{"start":{"line":244,"column":3},"end":{"line":244,"column":38}},"117":{"start":{"line":245,"column":3},"end":{"line":245,"column":71}},"118":{"start":{"line":246,"column":3},"end":{"line":246,"column":45}},"119":{"start":{"line":247,"column":3},"end":{"line":247,"column":50}},"120":{"start":{"line":248,"column":3},"end":{"line":248,"column":45}},"121":{"start":{"line":249,"column":3},"end":{"line":249,"column":58}},"122":{"start":{"line":250,"column":3},"end":{"line":250,"column":55}},"123":{"start":{"line":251,"column":3},"end":{"line":251,"column":58}},"124":{"start":{"line":252,"column":3},"end":{"line":264,"column":4}},"125":{"start":{"line":254,"column":4},"end":{"line":254,"column":54}},"126":{"start":{"line":258,"column":4},"end":{"line":258,"column":38}},"127":{"start":{"line":259,"column":4},"end":{"line":263,"column":5}},"128":{"start":{"line":261,"column":5},"end":{"line":261,"column":70}},"129":{"start":{"line":262,"column":5},"end":{"line":262,"column":54}},"130":{"start":{"line":268,"column":3},"end":{"line":268,"column":39}},"131":{"start":{"line":272,"column":1},"end":{"line":301,"column":3}},"132":{"start":{"line":274,"column":2},"end":{"line":276,"column":8}},"133":{"start":{"line":277,"column":2},"end":{"line":300,"column":3}},"134":{"start":{"line":279,"column":3},"end":{"line":279,"column":20}},"135":{"start":{"line":280,"column":3},"end":{"line":295,"column":4}},"136":{"start":{"line":282,"column":4},"end":{"line":282,"column":32}},"137":{"start":{"line":283,"column":4},"end":{"line":283,"column":67}},"138":{"start":{"line":285,"column":8},"end":{"line":295,"column":4}},"139":{"start":{"line":287,"column":4},"end":{"line":287,"column":38}},"140":{"start":{"line":291,"column":16},"end":{"line":291,"column":55}},"141":{"start":{"line":292,"column":4},"end":{"line":292,"column":65}},"142":{"start":{"line":293,"column":4},"end":{"line":293,"column":42}},"143":{"start":{"line":294,"column":4},"end":{"line":294,"column":54}},"144":{"start":{"line":299,"column":3},"end":{"line":299,"column":38}},"145":{"start":{"line":303,"column":4},"end":{"line":367,"column":3}},"146":{"start":{"line":305,"column":2},"end":{"line":316,"column":42}},"147":{"start":{"line":318,"column":8},"end":{"line":357,"column":3}},"148":{"start":{"line":320,"column":12},"end":{"line":320,"column":24}},"149":{"start":{"line":321,"column":12},"end":{"line":321,"column":24}},"150":{"start":{"line":322,"column":12},"end":{"line":322,"column":58}},"151":{"start":{"line":323,"column":12},"end":{"line":323,"column":62}},"152":{"start":{"line":324,"column":12},"end":{"line":324,"column":63}},"153":{"start":{"line":326,"column":12},"end":{"line":335,"column":13}},"154":{"start":{"line":329,"column":16},"end":{"line":333,"column":17}},"155":{"start":{"line":331,"column":20},"end":{"line":331,"column":79}},"156":{"start":{"line":332,"column":20},"end":{"line":332,"column":79}},"157":{"start":{"line":334,"column":16},"end":{"line":334,"column":79}},"158":{"start":{"line":336,"column":12},"end":{"line":336,"column":47}},"159":{"start":{"line":337,"column":12},"end":{"line":349,"column":4}},"160":{"start":{"line":339,"column":16},"end":{"line":339,"column":50}},"161":{"start":{"line":340,"column":16},"end":{"line":344,"column":17}},"162":{"start":{"line":342,"column":20},"end":{"line":342,"column":87}},"163":{"start":{"line":343,"column":20},"end":{"line":343,"column":67}},"164":{"start":{"line":345,"column":16},"end":{"line":348,"column":17}},"165":{"start":{"line":347,"column":20},"end":{"line":347,"column":53}},"166":{"start":{"line":350,"column":12},"end":{"line":350,"column":49}},"167":{"start":{"line":351,"column":12},"end":{"line":356,"column":54}},"168":{"start":{"line":358,"column":8},"end":{"line":358,"column":45}},"169":{"start":{"line":359,"column":8},"end":{"line":362,"column":9}},"170":{"start":{"line":361,"column":12},"end":{"line":361,"column":54}},"171":{"start":{"line":363,"column":8},"end":{"line":366,"column":9}},"172":{"start":{"line":365,"column":12},"end":{"line":365,"column":34}},"173":{"start":{"line":369,"column":4},"end":{"line":433,"column":3}},"174":{"start":{"line":371,"column":2},"end":{"line":382,"column":42}},"175":{"start":{"line":384,"column":8},"end":{"line":423,"column":3}},"176":{"start":{"line":386,"column":12},"end":{"line":386,"column":24}},"177":{"start":{"line":387,"column":12},"end":{"line":387,"column":24}},"178":{"start":{"line":388,"column":12},"end":{"line":388,"column":58}},"179":{"start":{"line":389,"column":12},"end":{"line":389,"column":62}},"180":{"start":{"line":390,"column":12},"end":{"line":390,"column":63}},"181":{"start":{"line":392,"column":12},"end":{"line":401,"column":13}},"182":{"start":{"line":395,"column":16},"end":{"line":399,"column":17}},"183":{"start":{"line":397,"column":20},"end":{"line":397,"column":79}},"184":{"start":{"line":398,"column":20},"end":{"line":398,"column":79}},"185":{"start":{"line":400,"column":16},"end":{"line":400,"column":79}},"186":{"start":{"line":402,"column":12},"end":{"line":402,"column":47}},"187":{"start":{"line":403,"column":12},"end":{"line":415,"column":4}},"188":{"start":{"line":405,"column":16},"end":{"line":405,"column":50}},"189":{"start":{"line":406,"column":16},"end":{"line":410,"column":17}},"190":{"start":{"line":408,"column":20},"end":{"line":408,"column":87}},"191":{"start":{"line":409,"column":20},"end":{"line":409,"column":67}},"192":{"start":{"line":411,"column":16},"end":{"line":414,"column":17}},"193":{"start":{"line":413,"column":20},"end":{"line":413,"column":53}},"194":{"start":{"line":416,"column":12},"end":{"line":416,"column":49}},"195":{"start":{"line":417,"column":12},"end":{"line":422,"column":54}},"196":{"start":{"line":424,"column":8},"end":{"line":424,"column":45}},"197":{"start":{"line":425,"column":8},"end":{"line":428,"column":9}},"198":{"start":{"line":427,"column":12},"end":{"line":427,"column":54}},"199":{"start":{"line":429,"column":8},"end":{"line":432,"column":9}},"200":{"start":{"line":431,"column":12},"end":{"line":431,"column":34}},"201":{"start":{"line":434,"column":1},"end":{"line":445,"column":3}},"202":{"start":{"line":436,"column":2},"end":{"line":436,"column":48}},"203":{"start":{"line":437,"column":2},"end":{"line":437,"column":50}},"204":{"start":{"line":438,"column":2},"end":{"line":438,"column":34}},"205":{"start":{"line":439,"column":2},"end":{"line":439,"column":34}},"206":{"start":{"line":440,"column":2},"end":{"line":440,"column":43}},"207":{"start":{"line":441,"column":2},"end":{"line":441,"column":42}},"208":{"start":{"line":442,"column":2},"end":{"line":442,"column":28}},"209":{"start":{"line":443,"column":2},"end":{"line":443,"column":30}},"210":{"start":{"line":444,"column":2},"end":{"line":444,"column":26}},"211":{"start":{"line":447,"column":4},"end":{"line":462,"column":6}},"212":{"start":{"line":448,"column":8},"end":{"line":448,"column":16}},"213":{"start":{"line":449,"column":8},"end":{"line":453,"column":9}},"214":{"start":{"line":450,"column":12},"end":{"line":452,"column":13}},"215":{"start":{"line":451,"column":16},"end":{"line":451,"column":70}},"216":{"start":{"line":454,"column":8},"end":{"line":459,"column":9}},"217":{"start":{"line":455,"column":12},"end":{"line":458,"column":13}},"218":{"start":{"line":456,"column":16},"end":{"line":456,"column":72}},"219":{"start":{"line":460,"column":8},"end":{"line":460,"column":33}},"220":{"start":{"line":461,"column":8},"end":{"line":461,"column":32}},"221":{"start":{"line":464,"column":4},"end":{"line":479,"column":3}},"222":{"start":{"line":467,"column":3},"end":{"line":467,"column":19}},"223":{"start":{"line":472,"column":3},"end":{"line":472,"column":24}},"224":{"start":{"line":473,"column":3},"end":{"line":476,"column":4}},"225":{"start":{"line":475,"column":4},"end":{"line":475,"column":33}},"226":{"start":{"line":477,"column":3},"end":{"line":477,"column":14}},"227":{"start":{"line":481,"column":4},"end":{"line":502,"column":6}},"228":{"start":{"line":484,"column":3},"end":{"line":485,"column":21}},"229":{"start":{"line":486,"column":3},"end":{"line":489,"column":4}},"230":{"start":{"line":488,"column":4},"end":{"line":488,"column":48}},"231":{"start":{"line":490,"column":3},"end":{"line":490,"column":14}},"232":{"start":{"line":495,"column":3},"end":{"line":495,"column":24}},"233":{"start":{"line":496,"column":3},"end":{"line":499,"column":4}},"234":{"start":{"line":498,"column":4},"end":{"line":498,"column":48}},"235":{"start":{"line":500,"column":3},"end":{"line":500,"column":14}},"236":{"start":{"line":503,"column":4},"end":{"line":515,"column":6}},"237":{"start":{"line":504,"column":8},"end":{"line":508,"column":28}},"238":{"start":{"line":509,"column":8},"end":{"line":509,"column":39}},"239":{"start":{"line":510,"column":8},"end":{"line":510,"column":36}},"240":{"start":{"line":511,"column":8},"end":{"line":511,"column":36}},"241":{"start":{"line":512,"column":8},"end":{"line":512,"column":34}},"242":{"start":{"line":513,"column":8},"end":{"line":513,"column":36}},"243":{"start":{"line":514,"column":8},"end":{"line":514,"column":32}},"244":{"start":{"line":517,"column":4},"end":{"line":589,"column":6}},"245":{"start":{"line":518,"column":8},"end":{"line":533,"column":34}},"246":{"start":{"line":534,"column":8},"end":{"line":565,"column":9}},"247":{"start":{"line":536,"column":12},"end":{"line":557,"column":13}},"248":{"start":{"line":538,"column":16},"end":{"line":538,"column":34}},"249":{"start":{"line":539,"column":16},"end":{"line":539,"column":82}},"250":{"start":{"line":540,"column":16},"end":{"line":540,"column":84}},"251":{"start":{"line":541,"column":16},"end":{"line":541,"column":47}},"252":{"start":{"line":542,"column":16},"end":{"line":542,"column":91}},"253":{"start":{"line":546,"column":16},"end":{"line":546,"column":38}},"254":{"start":{"line":547,"column":16},"end":{"line":547,"column":40}},"255":{"start":{"line":548,"column":16},"end":{"line":548,"column":36}},"256":{"start":{"line":549,"column":16},"end":{"line":549,"column":34}},"257":{"start":{"line":550,"column":16},"end":{"line":550,"column":42}},"258":{"start":{"line":551,"column":16},"end":{"line":551,"column":44}},"259":{"start":{"line":552,"column":16},"end":{"line":556,"column":17}},"260":{"start":{"line":554,"column":20},"end":{"line":554,"column":58}},"261":{"start":{"line":555,"column":20},"end":{"line":555,"column":60}},"262":{"start":{"line":561,"column":16},"end":{"line":561,"column":38}},"263":{"start":{"line":562,"column":16},"end":{"line":562,"column":40}},"264":{"start":{"line":563,"column":16},"end":{"line":563,"column":36}},"265":{"start":{"line":564,"column":16},"end":{"line":564,"column":34}},"266":{"start":{"line":566,"column":8},"end":{"line":570,"column":9}},"267":{"start":{"line":567,"column":12},"end":{"line":569,"column":13}},"268":{"start":{"line":568,"column":16},"end":{"line":568,"column":42}},"269":{"start":{"line":571,"column":8},"end":{"line":580,"column":9}},"270":{"start":{"line":573,"column":12},"end":{"line":573,"column":63}},"271":{"start":{"line":574,"column":12},"end":{"line":574,"column":61}},"272":{"start":{"line":575,"column":12},"end":{"line":575,"column":67}},"273":{"start":{"line":576,"column":12},"end":{"line":576,"column":69}},"274":{"start":{"line":577,"column":12},"end":{"line":577,"column":65}},"275":{"start":{"line":578,"column":12},"end":{"line":578,"column":67}},"276":{"start":{"line":579,"column":12},"end":{"line":579,"column":111}},"277":{"start":{"line":581,"column":8},"end":{"line":588,"column":9}},"278":{"start":{"line":583,"column":12},"end":{"line":586,"column":13}},"279":{"start":{"line":585,"column":16},"end":{"line":585,"column":58}},"280":{"start":{"line":587,"column":12},"end":{"line":587,"column":30}},"281":{"start":{"line":593,"column":0},"end":{"line":598,"column":1}},"282":{"start":{"line":594,"column":4},"end":{"line":597,"column":6}},"283":{"start":{"line":595,"column":8},"end":{"line":595,"column":21}},"284":{"start":{"line":596,"column":8},"end":{"line":596,"column":20}}},"branchMap":{"1":{"line":10,"type":"if","locations":[{"start":{"line":10,"column":0},"end":{"line":10,"column":0}},{"start":{"line":10,"column":0},"end":{"line":10,"column":0}}]},"2":{"line":14,"type":"if","locations":[{"start":{"line":14,"column":8},"end":{"line":14,"column":8}},{"start":{"line":14,"column":8},"end":{"line":14,"column":8}}]},"3":{"line":16,"type":"if","locations":[{"start":{"line":16,"column":12},"end":{"line":16,"column":12}},{"start":{"line":16,"column":12},"end":{"line":16,"column":12}}]},"4":{"line":20,"type":"if","locations":[{"start":{"line":20,"column":12},"end":{"line":20,"column":12}},{"start":{"line":20,"column":12},"end":{"line":20,"column":12}}]},"5":{"line":24,"type":"if","locations":[{"start":{"line":24,"column":12},"end":{"line":24,"column":12}},{"start":{"line":24,"column":12},"end":{"line":24,"column":12}}]},"6":{"line":28,"type":"if","locations":[{"start":{"line":28,"column":12},"end":{"line":28,"column":12}},{"start":{"line":28,"column":12},"end":{"line":28,"column":12}}]},"7":{"line":33,"type":"binary-expr","locations":[{"start":{"line":33,"column":14},"end":{"line":33,"column":21}},{"start":{"line":33,"column":25},"end":{"line":33,"column":43}}]},"8":{"line":36,"type":"if","locations":[{"start":{"line":36,"column":12},"end":{"line":36,"column":12}},{"start":{"line":36,"column":12},"end":{"line":36,"column":12}}]},"9":{"line":36,"type":"binary-expr","locations":[{"start":{"line":36,"column":15},"end":{"line":36,"column":21}},{"start":{"line":36,"column":25},"end":{"line":36,"column":50}}]},"10":{"line":41,"type":"if","locations":[{"start":{"line":41,"column":8},"end":{"line":41,"column":8}},{"start":{"line":41,"column":8},"end":{"line":41,"column":8}}]},"11":{"line":46,"type":"if","locations":[{"start":{"line":46,"column":8},"end":{"line":46,"column":8}},{"start":{"line":46,"column":8},"end":{"line":46,"column":8}}]},"12":{"line":51,"type":"if","locations":[{"start":{"line":51,"column":8},"end":{"line":51,"column":8}},{"start":{"line":51,"column":8},"end":{"line":51,"column":8}}]},"13":{"line":60,"type":"if","locations":[{"start":{"line":60,"column":0},"end":{"line":60,"column":0}},{"start":{"line":60,"column":0},"end":{"line":60,"column":0}}]},"14":{"line":62,"type":"if","locations":[{"start":{"line":62,"column":8},"end":{"line":62,"column":8}},{"start":{"line":62,"column":8},"end":{"line":62,"column":8}}]},"15":{"line":64,"type":"if","locations":[{"start":{"line":64,"column":12},"end":{"line":64,"column":12}},{"start":{"line":64,"column":12},"end":{"line":64,"column":12}}]},"16":{"line":68,"type":"if","locations":[{"start":{"line":68,"column":12},"end":{"line":68,"column":12}},{"start":{"line":68,"column":12},"end":{"line":68,"column":12}}]},"17":{"line":72,"type":"if","locations":[{"start":{"line":72,"column":12},"end":{"line":72,"column":12}},{"start":{"line":72,"column":12},"end":{"line":72,"column":12}}]},"18":{"line":76,"type":"if","locations":[{"start":{"line":76,"column":12},"end":{"line":76,"column":12}},{"start":{"line":76,"column":12},"end":{"line":76,"column":12}}]},"19":{"line":80,"type":"if","locations":[{"start":{"line":80,"column":12},"end":{"line":80,"column":12}},{"start":{"line":80,"column":12},"end":{"line":80,"column":12}}]},"20":{"line":84,"type":"if","locations":[{"start":{"line":84,"column":12},"end":{"line":84,"column":12}},{"start":{"line":84,"column":12},"end":{"line":84,"column":12}}]},"21":{"line":91,"type":"if","locations":[{"start":{"line":91,"column":0},"end":{"line":91,"column":0}},{"start":{"line":91,"column":0},"end":{"line":91,"column":0}}]},"22":{"line":104,"type":"if","locations":[{"start":{"line":104,"column":8},"end":{"line":104,"column":8}},{"start":{"line":104,"column":8},"end":{"line":104,"column":8}}]},"23":{"line":107,"type":"binary-expr","locations":[{"start":{"line":107,"column":18},"end":{"line":107,"column":27}},{"start":{"line":107,"column":31},"end":{"line":107,"column":51}}]},"24":{"line":112,"type":"if","locations":[{"start":{"line":112,"column":16},"end":{"line":112,"column":16}},{"start":{"line":112,"column":16},"end":{"line":112,"column":16}}]},"25":{"line":116,"type":"if","locations":[{"start":{"line":116,"column":21},"end":{"line":116,"column":21}},{"start":{"line":116,"column":21},"end":{"line":116,"column":21}}]},"26":{"line":116,"type":"binary-expr","locations":[{"start":{"line":116,"column":24},"end":{"line":116,"column":40}},{"start":{"line":116,"column":44},"end":{"line":116,"column":60}}]},"27":{"line":120,"type":"if","locations":[{"start":{"line":120,"column":21},"end":{"line":120,"column":21}},{"start":{"line":120,"column":21},"end":{"line":120,"column":21}}]},"28":{"line":120,"type":"binary-expr","locations":[{"start":{"line":120,"column":24},"end":{"line":120,"column":40}},{"start":{"line":120,"column":44},"end":{"line":120,"column":60}}]},"29":{"line":128,"type":"switch","locations":[{"start":{"line":130,"column":20},"end":{"line":130,"column":30}},{"start":{"line":131,"column":20},"end":{"line":131,"column":30}},{"start":{"line":132,"column":20},"end":{"line":132,"column":30}},{"start":{"line":133,"column":20},"end":{"line":133,"column":30}},{"start":{"line":134,"column":20},"end":{"line":134,"column":30}},{"start":{"line":135,"column":20},"end":{"line":142,"column":26}},{"start":{"line":143,"column":20},"end":{"line":148,"column":26}},{"start":{"line":149,"column":20},"end":{"line":149,"column":30}},{"start":{"line":150,"column":20},"end":{"line":158,"column":26}}]},"30":{"line":138,"type":"cond-expr","locations":[{"start":{"line":138,"column":50},"end":{"line":138,"column":53}},{"start":{"line":138,"column":56},"end":{"line":138,"column":60}}]},"31":{"line":161,"type":"if","locations":[{"start":{"line":161,"column":12},"end":{"line":161,"column":12}},{"start":{"line":161,"column":12},"end":{"line":161,"column":12}}]},"32":{"line":161,"type":"binary-expr","locations":[{"start":{"line":161,"column":15},"end":{"line":161,"column":19}},{"start":{"line":161,"column":23},"end":{"line":161,"column":33}}]},"33":{"line":166,"type":"if","locations":[{"start":{"line":166,"column":12},"end":{"line":166,"column":12}},{"start":{"line":166,"column":12},"end":{"line":166,"column":12}}]},"34":{"line":186,"type":"if","locations":[{"start":{"line":186,"column":2},"end":{"line":186,"column":2}},{"start":{"line":186,"column":2},"end":{"line":186,"column":2}}]},"35":{"line":190,"type":"if","locations":[{"start":{"line":190,"column":8},"end":{"line":190,"column":8}},{"start":{"line":190,"column":8},"end":{"line":190,"column":8}}]},"36":{"line":216,"type":"if","locations":[{"start":{"line":216,"column":8},"end":{"line":216,"column":8}},{"start":{"line":216,"column":8},"end":{"line":216,"column":8}}]},"37":{"line":220,"type":"if","locations":[{"start":{"line":220,"column":2},"end":{"line":220,"column":2}},{"start":{"line":220,"column":2},"end":{"line":220,"column":2}}]},"38":{"line":224,"type":"if","locations":[{"start":{"line":224,"column":8},"end":{"line":224,"column":8}},{"start":{"line":224,"column":8},"end":{"line":224,"column":8}}]},"39":{"line":237,"type":"if","locations":[{"start":{"line":237,"column":2},"end":{"line":237,"column":2}},{"start":{"line":237,"column":2},"end":{"line":237,"column":2}}]},"40":{"line":237,"type":"binary-expr","locations":[{"start":{"line":237,"column":5},"end":{"line":237,"column":11}},{"start":{"line":237,"column":15},"end":{"line":237,"column":28}},{"start":{"line":237,"column":32},"end":{"line":237,"column":49}}]},"41":{"line":239,"type":"binary-expr","locations":[{"start":{"line":239,"column":14},"end":{"line":239,"column":29}},{"start":{"line":239,"column":33},"end":{"line":239,"column":40}}]},"42":{"line":241,"type":"binary-expr","locations":[{"start":{"line":241,"column":15},"end":{"line":241,"column":31}},{"start":{"line":241,"column":35},"end":{"line":241,"column":41}}]},"43":{"line":242,"type":"cond-expr","locations":[{"start":{"line":242,"column":38},"end":{"line":242,"column":58}},{"start":{"line":242,"column":61},"end":{"line":242,"column":70}}]},"44":{"line":243,"type":"binary-expr","locations":[{"start":{"line":243,"column":18},"end":{"line":243,"column":30}},{"start":{"line":243,"column":34},"end":{"line":243,"column":43}}]},"45":{"line":244,"type":"binary-expr","locations":[{"start":{"line":244,"column":19},"end":{"line":244,"column":32}},{"start":{"line":244,"column":36},"end":{"line":244,"column":37}}]},"46":{"line":245,"type":"cond-expr","locations":[{"start":{"line":245,"column":53},"end":{"line":245,"column":66}},{"start":{"line":245,"column":69},"end":{"line":245,"column":70}}]},"47":{"line":246,"type":"binary-expr","locations":[{"start":{"line":246,"column":20},"end":{"line":246,"column":34}},{"start":{"line":246,"column":38},"end":{"line":246,"column":44}}]},"48":{"line":252,"type":"if","locations":[{"start":{"line":252,"column":3},"end":{"line":252,"column":3}},{"start":{"line":252,"column":3},"end":{"line":252,"column":3}}]},"49":{"line":252,"type":"binary-expr","locations":[{"start":{"line":252,"column":6},"end":{"line":252,"column":26}},{"start":{"line":252,"column":30},"end":{"line":252,"column":50}}]},"50":{"line":259,"type":"if","locations":[{"start":{"line":259,"column":4},"end":{"line":259,"column":4}},{"start":{"line":259,"column":4},"end":{"line":259,"column":4}}]},"51":{"line":277,"type":"if","locations":[{"start":{"line":277,"column":2},"end":{"line":277,"column":2}},{"start":{"line":277,"column":2},"end":{"line":277,"column":2}}]},"52":{"line":280,"type":"if","locations":[{"start":{"line":280,"column":3},"end":{"line":280,"column":3}},{"start":{"line":280,"column":3},"end":{"line":280,"column":3}}]},"53":{"line":280,"type":"binary-expr","locations":[{"start":{"line":280,"column":6},"end":{"line":280,"column":23}},{"start":{"line":280,"column":27},"end":{"line":280,"column":44}}]},"54":{"line":285,"type":"if","locations":[{"start":{"line":285,"column":8},"end":{"line":285,"column":8}},{"start":{"line":285,"column":8},"end":{"line":285,"column":8}}]},"55":{"line":292,"type":"cond-expr","locations":[{"start":{"line":292,"column":49},"end":{"line":292,"column":60}},{"start":{"line":292,"column":63},"end":{"line":292,"column":64}}]},"56":{"line":318,"type":"if","locations":[{"start":{"line":318,"column":8},"end":{"line":318,"column":8}},{"start":{"line":318,"column":8},"end":{"line":318,"column":8}}]},"57":{"line":318,"type":"binary-expr","locations":[{"start":{"line":318,"column":11},"end":{"line":318,"column":17}},{"start":{"line":318,"column":22},"end":{"line":318,"column":38}},{"start":{"line":318,"column":42},"end":{"line":318,"column":69}}]},"58":{"line":326,"type":"if","locations":[{"start":{"line":326,"column":12},"end":{"line":326,"column":12}},{"start":{"line":326,"column":12},"end":{"line":326,"column":12}}]},"59":{"line":329,"type":"if","locations":[{"start":{"line":329,"column":16},"end":{"line":329,"column":16}},{"start":{"line":329,"column":16},"end":{"line":329,"column":16}}]},"60":{"line":340,"type":"if","locations":[{"start":{"line":340,"column":16},"end":{"line":340,"column":16}},{"start":{"line":340,"column":16},"end":{"line":340,"column":16}}]},"61":{"line":345,"type":"if","locations":[{"start":{"line":345,"column":16},"end":{"line":345,"column":16}},{"start":{"line":345,"column":16},"end":{"line":345,"column":16}}]},"62":{"line":359,"type":"if","locations":[{"start":{"line":359,"column":8},"end":{"line":359,"column":8}},{"start":{"line":359,"column":8},"end":{"line":359,"column":8}}]},"63":{"line":363,"type":"if","locations":[{"start":{"line":363,"column":8},"end":{"line":363,"column":8}},{"start":{"line":363,"column":8},"end":{"line":363,"column":8}}]},"64":{"line":384,"type":"if","locations":[{"start":{"line":384,"column":8},"end":{"line":384,"column":8}},{"start":{"line":384,"column":8},"end":{"line":384,"column":8}}]},"65":{"line":384,"type":"binary-expr","locations":[{"start":{"line":384,"column":11},"end":{"line":384,"column":17}},{"start":{"line":384,"column":22},"end":{"line":384,"column":38}},{"start":{"line":384,"column":42},"end":{"line":384,"column":69}}]},"66":{"line":392,"type":"if","locations":[{"start":{"line":392,"column":12},"end":{"line":392,"column":12}},{"start":{"line":392,"column":12},"end":{"line":392,"column":12}}]},"67":{"line":395,"type":"if","locations":[{"start":{"line":395,"column":16},"end":{"line":395,"column":16}},{"start":{"line":395,"column":16},"end":{"line":395,"column":16}}]},"68":{"line":406,"type":"if","locations":[{"start":{"line":406,"column":16},"end":{"line":406,"column":16}},{"start":{"line":406,"column":16},"end":{"line":406,"column":16}}]},"69":{"line":411,"type":"if","locations":[{"start":{"line":411,"column":16},"end":{"line":411,"column":16}},{"start":{"line":411,"column":16},"end":{"line":411,"column":16}}]},"70":{"line":425,"type":"if","locations":[{"start":{"line":425,"column":8},"end":{"line":425,"column":8}},{"start":{"line":425,"column":8},"end":{"line":425,"column":8}}]},"71":{"line":429,"type":"if","locations":[{"start":{"line":429,"column":8},"end":{"line":429,"column":8}},{"start":{"line":429,"column":8},"end":{"line":429,"column":8}}]},"72":{"line":450,"type":"if","locations":[{"start":{"line":450,"column":12},"end":{"line":450,"column":12}},{"start":{"line":450,"column":12},"end":{"line":450,"column":12}}]},"73":{"line":455,"type":"if","locations":[{"start":{"line":455,"column":12},"end":{"line":455,"column":12}},{"start":{"line":455,"column":12},"end":{"line":455,"column":12}}]},"74":{"line":473,"type":"if","locations":[{"start":{"line":473,"column":3},"end":{"line":473,"column":3}},{"start":{"line":473,"column":3},"end":{"line":473,"column":3}}]},"75":{"line":486,"type":"if","locations":[{"start":{"line":486,"column":3},"end":{"line":486,"column":3}},{"start":{"line":486,"column":3},"end":{"line":486,"column":3}}]},"76":{"line":496,"type":"if","locations":[{"start":{"line":496,"column":3},"end":{"line":496,"column":3}},{"start":{"line":496,"column":3},"end":{"line":496,"column":3}}]},"77":{"line":520,"type":"cond-expr","locations":[{"start":{"line":520,"column":43},"end":{"line":520,"column":74}},{"start":{"line":520,"column":77},"end":{"line":520,"column":96}}]},"78":{"line":534,"type":"if","locations":[{"start":{"line":534,"column":8},"end":{"line":534,"column":8}},{"start":{"line":534,"column":8},"end":{"line":534,"column":8}}]},"79":{"line":536,"type":"if","locations":[{"start":{"line":536,"column":12},"end":{"line":536,"column":12}},{"start":{"line":536,"column":12},"end":{"line":536,"column":12}}]},"80":{"line":552,"type":"if","locations":[{"start":{"line":552,"column":16},"end":{"line":552,"column":16}},{"start":{"line":552,"column":16},"end":{"line":552,"column":16}}]},"81":{"line":567,"type":"if","locations":[{"start":{"line":567,"column":12},"end":{"line":567,"column":12}},{"start":{"line":567,"column":12},"end":{"line":567,"column":12}}]},"82":{"line":571,"type":"if","locations":[{"start":{"line":571,"column":8},"end":{"line":571,"column":8}},{"start":{"line":571,"column":8},"end":{"line":571,"column":8}}]},"83":{"line":581,"type":"if","locations":[{"start":{"line":581,"column":8},"end":{"line":581,"column":8}},{"start":{"line":581,"column":8},"end":{"line":581,"column":8}}]},"84":{"line":583,"type":"if","locations":[{"start":{"line":583,"column":12},"end":{"line":583,"column":12}},{"start":{"line":583,"column":12},"end":{"line":583,"column":12}}]},"85":{"line":593,"type":"if","locations":[{"start":{"line":593,"column":0},"end":{"line":593,"column":0}},{"start":{"line":593,"column":0},"end":{"line":593,"column":0}}]}},"code":["(function () { YUI.add('gallery-stockindicators-3-15-patch', function (Y, NAME) {","","var defaultAxisLabelFormat = {"," value: null","};","","Y.CategoryAxisBase.ATTRS.labelFormat = defaultAxisLabelFormat;","Y.CategoryAxis.ATTRS.labelFormat = defaultAxisLabelFormat;","","if(Y.SeriesBase) {"," Y.SeriesBase.prototype.destructor = function() {"," var marker,"," markers = this.get(\"markers\");"," if(this.get(\"rendered\"))"," {"," if(this._stylesChangeHandle)"," {"," this._stylesChangeHandle.detach();"," }"," if(this._widthChangeHandle)"," {"," this._widthChangeHandle.detach();"," }"," if(this._heightChangeHandle)"," {"," this._heightChangeHandle.detach();"," }"," if(this._visibleChangeHandle)"," {"," this._visibleChangeHandle.detach();"," }"," }"," while(markers && markers.length > 0)"," {"," marker = markers.shift();"," if(marker && marker instanceof Y.Shape)"," {"," marker.destroy();"," }"," }"," if(this._path)"," {"," this._path.destroy();"," this._path = null;"," }"," if(this._lineGraphic)"," {"," this._lineGraphic.destroy();"," this._lineGraphic = null;"," }"," if(this._groupMarker)"," {"," this._groupMarker.destroy();"," this._groupMarker = null;"," }"," };","}","","//patch CartesianSeries destructor bug","if(Y.CartesianSeries) {"," Y.CartesianSeries.prototype.destructor = function() {"," if(this.get(\"rendered\"))"," {"," if(this._xDataReadyHandle)"," {"," this._xDataReadyHandle.detach();"," }"," if(this._xDataUpdateHandle)"," {"," this._xDataUpdateHandle.detach();"," }"," if(this._yDataReadyHandle)"," {"," this._yDataReadyHandle.detach();"," }"," if(this._yDataUpdateHandle)"," {"," this._yDataUpdateHandle.detach();"," }"," if(this._xAxisChangeHandle)"," {"," this._xAxisChangeHandle.detach();"," }"," if(this._yAxisChangeHandle)"," {"," this._yAxisChangeHandle.detach();"," }"," }"," };","}","if(Y.SVGDrawing) {"," Y.SVGDrawing.prototype_closePath = function()"," {"," var pathArray,"," segmentArray,"," pathType,"," len,"," val,"," i,"," path = \"\","," left = parseFloat(this._left),"," top = parseFloat(this._top),"," fill = this.get(\"fill\");"," if(this._pathArray)"," {"," pathArray = this._pathArray.concat();"," while(pathArray && pathArray.length > 0)"," {"," segmentArray = pathArray.shift();"," len = segmentArray.length;"," pathType = segmentArray[0];"," if(pathType === \"A\")"," {"," path += pathType + segmentArray[1] + \",\" + segmentArray[2];"," }"," else if(pathType === \"z\" || pathType === \"Z\")"," {"," path += \" z \";"," }"," else if(pathType === \"C\" || pathType === \"c\")"," {"," path += pathType + (segmentArray[1] - left)+ \",\" + (segmentArray[2] - top);"," }"," else"," {"," path += \" \" + pathType + parseFloat(segmentArray[1] - left);"," }"," switch(pathType)"," {"," case \"L\" :"," case \"l\" :"," case \"M\" :"," case \"m\" :"," case \"Q\" :"," case \"q\" :"," for(i = 2; i < len; ++i)"," {"," val = (i % 2 === 0) ? top : left;"," val = segmentArray[i] - val;"," path += \", \" + parseFloat(val);"," }"," break;"," case \"A\" :"," val = \" \" + parseFloat(segmentArray[3]) + \" \" + parseFloat(segmentArray[4]);"," val += \",\" + parseFloat(segmentArray[5]) + \" \" + parseFloat(segmentArray[6] - left);"," val += \",\" + parseFloat(segmentArray[7] - top);"," path += \" \" + val;"," break;"," case \"C\" :"," case \"c\" :"," for(i = 3; i < len - 1; i = i + 2)"," {"," val = parseFloat(segmentArray[i] - left);"," val = val + \", \";"," val = val + parseFloat(segmentArray[i + 1] - top);"," path += \" \" + val;"," }"," break;"," }"," }"," if(fill && fill.color)"," {"," path += 'z';"," }"," Y.Lang.trim(path);"," if(path)"," {"," this._nodeAttrFlags.d = path;"," }",""," this._path = path;"," this._fillChangeHandler();"," this._strokeChangeHandler();"," this._updateTransform();"," }"," };","\t"," Y.SVGShape.prototype.initializer = function(cfg)","\t{","\t\tvar host = this,"," graphic = cfg.graphic,"," data = this.get(\"data\");","\t\tthis._nodeAttrFlags = {};"," this._nodeCSSFlags = {};"," host.createNode();","\t\tif(graphic)"," {"," host._setGraphic(graphic);"," }"," if(data)"," {"," host._parsePathData(data);"," }"," host._updateHandler();","\t};","\t"," Y.SVGShape.prototype.createNode = function()","\t{","\t\tvar host = this,"," getClassName = Y.ClassNameManager.getClassName,"," node = Y.config.doc.createElementNS(\"http://www.w3.org/2000/svg\", \"svg:\" + this._type),","\t\t\tid = host.get(\"id\"),"," name = host.name,"," concat = host._camelCaseConcat,","\t\t\tpointerEvents = host.get(\"pointerEvents\");","\t\thost.node = node;","\t\thost.addClass("," getClassName(\"shape\") +"," \" \" +"," getClassName(concat(\"svg\", \"shape\")) +"," \" \" +"," getClassName(name) +"," \" \" +"," getClassName(concat(\"svg\", name))"," );"," if(id)","\t\t{","\t\t\tthis._nodeAttrFlags.id = id;","\t\t}","\t\tif(pointerEvents)","\t\t{","\t\t\tthis._nodeAttrFlags[\"pointer-events\"] = pointerEvents;","\t\t}"," if(!host.get(\"visible\"))"," {"," this._nodeCSSFlags.visibility = \"hidden\";"," }"," this._nodeAttrFlags[\"shape-rendering\"] = this.get(\"shapeRendering\");","\t};","\tY.SVGShape.prototype._strokeChangeHandler = function()","\t{","\t\tvar stroke = this.get(\"stroke\"),","\t\t\tstrokeOpacity,","\t\t\tdashstyle,","\t\t\tdash,","\t\t\tlinejoin;","\t\tif(stroke && stroke.weight && stroke.weight > 0)","\t\t{","\t\t\tlinejoin = stroke.linejoin || \"round\";","\t\t\tstrokeOpacity = parseFloat(stroke.opacity);","\t\t\tdashstyle = stroke.dashstyle || \"none\";","\t\t\tdash = Y.Lang.isArray(dashstyle) ? dashstyle.toString() : dashstyle;","\t\t\tstroke.color = stroke.color || \"#000000\";","\t\t\tstroke.weight = stroke.weight || 1;","\t\t\tstroke.opacity = Y.Lang.isNumber(strokeOpacity) ? strokeOpacity : 1;","\t\t\tstroke.linecap = stroke.linecap || \"butt\";","\t\t\tthis._nodeAttrFlags[\"stroke-dasharray\"] = dash;","\t\t\tthis._nodeAttrFlags.stroke = stroke.color;","\t\t\tthis._nodeAttrFlags[\"stroke-linecap\"] = stroke.linecap;","\t\t\tthis._nodeAttrFlags[\"stroke-width\"] = stroke.weight;","\t\t\tthis._nodeAttrFlags[\"stroke-opacity\"] = stroke.opacity;","\t\t\tif(linejoin === \"round\" || linejoin === \"bevel\")","\t\t\t{","\t\t\t\tthis._nodeAttrFlags[\"stroke-linejoin\"] = linejoin;","\t\t\t}","\t\t\telse","\t\t\t{","\t\t\t\tlinejoin = parseInt(linejoin, 10);","\t\t\t\tif(Y.Lang.isNumber(linejoin))","\t\t\t\t{","\t\t\t\t\tthis._nodeAttrFlags[\"stroke-miterlimit\"] = Math.max(linejoin, 1);","\t\t\t\t\tthis._nodeAttrFlags[\"stroke-linejoin\"] = \"miter\";","\t\t\t\t}","\t\t\t}","\t\t}","\t\telse","\t\t{","\t\t\tthis._nodeAttrFlags.stroke = \"none\";","\t\t}","\t};","","\tY.SVGShape.prototype._fillChangeHandler = function()","\t{","\t\tvar fill = this.get(\"fill\"),","\t\t\tfillOpacity,","\t\t\ttype;","\t\tif(fill)","\t\t{","\t\t\ttype = fill.type;","\t\t\tif(type === \"linear\" || type === \"radial\")","\t\t\t{","\t\t\t\tthis._setGradientFill(fill);","\t\t\t\tthis._nodeAttrFlags.fill = \"url(#grad\" + this.get(\"id\") + \")\";","\t\t\t}","\t\t\telse if(!fill.color)","\t\t\t{","\t\t\t\tthis._nodeAttrFlags.fill = \"none\";","\t\t\t}","\t\t\telse","\t\t\t{"," fillOpacity = parseFloat(fill.opacity);","\t\t\t\tfillOpacity = Y.Lang.isNumber(fillOpacity) ? fillOpacity : 1;","\t\t\t\tthis._nodeAttrFlags.fill = fill.color;","\t\t\t\tthis._nodeAttrFlags[\"fill-opacity\"] = fillOpacity;","\t\t\t}","\t\t}","\t\telse","\t\t{","\t\t\tthis._nodeAttrFlags.fill = \"none\";","\t\t}","\t};","\t"," Y.SVGShape.prototype._updateTransform = function()","\t{","\t\tvar isPath = this._type === \"path\",","\t\t\tkey,","\t\t\ttransform,","\t\t\ttransformOrigin,","\t\t\tx,","\t\t\ty,"," tx,"," ty,"," matrix = this.matrix,"," normalizedMatrix = this._normalizedMatrix,"," i,"," len = this._transforms.length;",""," if(isPath || (this._transforms && this._transforms.length > 0))","\t\t{"," x = this._x;"," y = this._y;"," transformOrigin = this.get(\"transformOrigin\");"," tx = x + (transformOrigin[0] * this.get(\"width\"));"," ty = y + (transformOrigin[1] * this.get(\"height\"));"," //need to use translate for x/y coords"," if(isPath)"," {"," //adjust origin for custom shapes"," if(!(this instanceof Y.SVGPath))"," {"," tx = this._left + (transformOrigin[0] * this.get(\"width\"));"," ty = this._top + (transformOrigin[1] * this.get(\"height\"));"," }"," normalizedMatrix.init({dx: x + this._left, dy: y + this._top});"," }"," normalizedMatrix.translate(tx, ty);"," for(i = 0; i < len; ++i)"," {"," key = this._transforms[i].shift();"," if(key)"," {"," normalizedMatrix[key].apply(normalizedMatrix, this._transforms[i]);"," matrix[key].apply(matrix, this._transforms[i]);"," }"," if(isPath)"," {"," this._transforms[i].unshift(key);"," }","\t\t\t}"," normalizedMatrix.translate(-tx, -ty);"," transform = \"matrix(\" + normalizedMatrix.a + \",\" +"," normalizedMatrix.b + \",\" +"," normalizedMatrix.c + \",\" +"," normalizedMatrix.d + \",\" +"," normalizedMatrix.dx + \",\" +"," normalizedMatrix.dy + \")\";","\t\t}"," this._graphic.addToRedrawQueue(this);"," if(transform)","\t\t{"," this._nodeAttrFlags.transform = transform;"," }"," if(!isPath)"," {"," this._transforms = [];"," }","\t};","\t"," Y.SVGShape.prototype._updateTransform = function()","\t{","\t\tvar isPath = this._type === \"path\",","\t\t\tkey,","\t\t\ttransform,","\t\t\ttransformOrigin,","\t\t\tx,","\t\t\ty,"," tx,"," ty,"," matrix = this.matrix,"," normalizedMatrix = this._normalizedMatrix,"," i,"," len = this._transforms.length;",""," if(isPath || (this._transforms && this._transforms.length > 0))","\t\t{"," x = this._x;"," y = this._y;"," transformOrigin = this.get(\"transformOrigin\");"," tx = x + (transformOrigin[0] * this.get(\"width\"));"," ty = y + (transformOrigin[1] * this.get(\"height\"));"," //need to use translate for x/y coords"," if(isPath)"," {"," //adjust origin for custom shapes"," if(!(this instanceof Y.SVGPath))"," {"," tx = this._left + (transformOrigin[0] * this.get(\"width\"));"," ty = this._top + (transformOrigin[1] * this.get(\"height\"));"," }"," normalizedMatrix.init({dx: x + this._left, dy: y + this._top});"," }"," normalizedMatrix.translate(tx, ty);"," for(i = 0; i < len; ++i)"," {"," key = this._transforms[i].shift();"," if(key)"," {"," normalizedMatrix[key].apply(normalizedMatrix, this._transforms[i]);"," matrix[key].apply(matrix, this._transforms[i]);"," }"," if(isPath)"," {"," this._transforms[i].unshift(key);"," }","\t\t\t}"," normalizedMatrix.translate(-tx, -ty);"," transform = \"matrix(\" + normalizedMatrix.a + \",\" +"," normalizedMatrix.b + \",\" +"," normalizedMatrix.c + \",\" +"," normalizedMatrix.d + \",\" +"," normalizedMatrix.dx + \",\" +"," normalizedMatrix.dy + \")\";","\t\t}"," this._graphic.addToRedrawQueue(this);"," if(transform)","\t\t{"," this._nodeAttrFlags.transform = transform;"," }"," if(!isPath)"," {"," this._transforms = [];"," }","\t};","\tY.SVGShape.prototype._draw = function()","\t{","\t\tthis._nodeAttrFlags.width = this.get(\"width\");","\t\tthis._nodeAttrFlags.height = this.get(\"height\");","\t\tthis._nodeAttrFlags.x = this._x;","\t\tthis._nodeAttrFlags.y = this._y;","\t\tthis._nodeCSSFlags.left = this._x + \"px\";","\t\tthis._nodeCSSFlags.top = this._y + \"px\";","\t\tthis._fillChangeHandler();","\t\tthis._strokeChangeHandler();","\t\tthis._updateTransform();","\t};",""," Y.SVGShape.prototype._clearFlags = function() {"," var key;"," for(key in this._nodeAttrFlags) {"," if(this._nodeAttrFlags.hasOwnProperty(key)) {"," this.node.setAttribute(key, this._nodeAttrFlags[key]);"," }"," }"," for(key in this._nodeCSSFlags) {"," if(this._nodeCSSFlags.hasOwnProperty(key)) {"," Y.DOM.setStyle(this.node, key, this._nodeCSSFlags[key]);"," //this.node.style[key] = this._nodeCSSFlags[key];"," }"," }"," this._nodeAttrFlags = {};"," this._nodeCSSFlags = {};"," };",""," Y.SVGShape.ATTRS.id = {","\t\tvalueFn: function()","\t\t{","\t\t\treturn Y.guid();","\t\t},","","\t\tsetter: function(val)","\t\t{","\t\t\tvar node = this.node;","\t\t\tif(node)","\t\t\t{","\t\t\t\tthis._nodeAttrFlags.id = val;","\t\t\t}","\t\t\treturn val;","\t\t}","\t};",""," Y.SVGShape.ATTRS.pointerEvents = {","\t\tvalueFn: function()","\t\t{","\t\t\tvar val = \"visiblePainted\",","\t\t\t\tnode = this.node;","\t\t\tif(node)","\t\t\t{","\t\t\t\tthis._nodeAttrFlags[\"pointer-events\"] = val;","\t\t\t}","\t\t\treturn val;","\t\t},","","\t\tsetter: function(val)","\t\t{","\t\t\tvar node = this.node;","\t\t\tif(node)","\t\t\t{","\t\t\t\tthis._nodeAttrFlags[\"pointer-events\"] = val;","\t\t\t}","\t\t\treturn val;","\t\t}"," };"," Y.SVGCircle.prototype._draw = function() {"," var x = this.get(\"x\"),"," y = this.get(\"y\"),"," radius = this.get(\"radius\"),"," cx = x + radius,"," cy = y + radius;"," this._nodeAttrFlags.r = radius;"," this._nodeAttrFlags.cx = cx;"," this._nodeAttrFlags.cy = cy;"," this._fillChangeHandler();"," this._strokeChangeHandler();"," this._updateTransform();"," };",""," Y.SVGGraphic.prototype._redraw = function() {"," var autoSize = this.get(\"autoSize\"),"," preserveAspectRatio = this.get(\"preserveAspectRatio\"),"," box = this.get(\"resizeDown\") ? this._getUpdatedContentBounds() : this._contentBounds,"," left = box.left,"," right = box.right,"," top = box.top,"," bottom = box.bottom,"," width = right - left,"," height = bottom - top,"," computedWidth,"," computedHeight,"," computedLeft,"," computedTop,"," node,"," key,"," shapes = this._shapes;"," if(autoSize)"," {"," if(autoSize === \"sizeContentToGraphic\")"," {"," node = this._node;"," computedWidth = parseFloat(Y.DOM.getComputedStyle(node, \"width\"));"," computedHeight = parseFloat(Y.DOM.getComputedStyle(node, \"height\"));"," computedLeft = computedTop = 0;"," this._contentNode.setAttribute(\"preserveAspectRatio\", preserveAspectRatio);"," }"," else"," {"," computedWidth = width;"," computedHeight = height;"," computedLeft = left;"," computedTop = top;"," this._state.width = width;"," this._state.height = height;"," if(this._node)"," {"," this._node.style.width = width + \"px\";"," this._node.style.height = height + \"px\";"," }"," }"," }"," else"," {"," computedWidth = width;"," computedHeight = height;"," computedLeft = left;"," computedTop = top;"," }"," for(key in shapes) {"," if(shapes.hasOwnProperty(key)) {"," shapes[key]._clearFlags();"," }"," }"," if(this._contentNode)"," {"," this._contentNode.style.left = computedLeft + \"px\";"," this._contentNode.style.top = computedTop + \"px\";"," this._contentNode.setAttribute(\"width\", computedWidth);"," this._contentNode.setAttribute(\"height\", computedHeight);"," this._contentNode.style.width = computedWidth + \"px\";"," this._contentNode.style.height = computedHeight + \"px\";"," this._contentNode.setAttribute(\"viewBox\", \"\" + left + \" \" + top + \" \" + width + \" \" + height + \"\");"," }"," if(this._frag)"," {"," if(this._contentNode)"," {"," this._contentNode.appendChild(this._frag);"," }"," this._frag = null;"," }"," };","}","","//addresses canvas chaining bug","if(Y.CanvasPath) {"," Y.CanvasPath.prototype.end = function() {"," this._draw();"," return this;"," };","}","","","","}, 'gallery-2014.01.28-00-45');","","}());"]};
+}
+var __cov_3wMaD3PpEwxWJpaI18h2KA = __coverage__['build/gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch.js'];
+__cov_3wMaD3PpEwxWJpaI18h2KA.s['1']++;YUI.add('gallery-stockindicators-3-15-patch',function(Y,NAME){__cov_3wMaD3PpEwxWJpaI18h2KA.f['1']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['2']++;var defaultAxisLabelFormat={value:null};__cov_3wMaD3PpEwxWJpaI18h2KA.s['3']++;Y.CategoryAxisBase.ATTRS.labelFormat=defaultAxisLabelFormat;__cov_3wMaD3PpEwxWJpaI18h2KA.s['4']++;Y.CategoryAxis.ATTRS.labelFormat=defaultAxisLabelFormat;__cov_3wMaD3PpEwxWJpaI18h2KA.s['5']++;if(Y.SeriesBase){__cov_3wMaD3PpEwxWJpaI18h2KA.b['1'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['6']++;Y.SeriesBase.prototype.destructor=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['2']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['7']++;var marker,markers=this.get('markers');__cov_3wMaD3PpEwxWJpaI18h2KA.s['8']++;if(this.get('rendered')){__cov_3wMaD3PpEwxWJpaI18h2KA.b['2'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['9']++;if(this._stylesChangeHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['3'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['10']++;this._stylesChangeHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['3'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['11']++;if(this._widthChangeHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['4'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['12']++;this._widthChangeHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['4'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['13']++;if(this._heightChangeHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['5'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['14']++;this._heightChangeHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['5'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['15']++;if(this._visibleChangeHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['6'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['16']++;this._visibleChangeHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['6'][1]++;}}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['2'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['17']++;while((__cov_3wMaD3PpEwxWJpaI18h2KA.b['7'][0]++,markers)&&(__cov_3wMaD3PpEwxWJpaI18h2KA.b['7'][1]++,markers.length>0)){__cov_3wMaD3PpEwxWJpaI18h2KA.s['18']++;marker=markers.shift();__cov_3wMaD3PpEwxWJpaI18h2KA.s['19']++;if((__cov_3wMaD3PpEwxWJpaI18h2KA.b['9'][0]++,marker)&&(__cov_3wMaD3PpEwxWJpaI18h2KA.b['9'][1]++,marker instanceof Y.Shape)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['8'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['20']++;marker.destroy();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['8'][1]++;}}__cov_3wMaD3PpEwxWJpaI18h2KA.s['21']++;if(this._path){__cov_3wMaD3PpEwxWJpaI18h2KA.b['10'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['22']++;this._path.destroy();__cov_3wMaD3PpEwxWJpaI18h2KA.s['23']++;this._path=null;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['10'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['24']++;if(this._lineGraphic){__cov_3wMaD3PpEwxWJpaI18h2KA.b['11'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['25']++;this._lineGraphic.destroy();__cov_3wMaD3PpEwxWJpaI18h2KA.s['26']++;this._lineGraphic=null;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['11'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['27']++;if(this._groupMarker){__cov_3wMaD3PpEwxWJpaI18h2KA.b['12'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['28']++;this._groupMarker.destroy();__cov_3wMaD3PpEwxWJpaI18h2KA.s['29']++;this._groupMarker=null;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['12'][1]++;}};}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['1'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['30']++;if(Y.CartesianSeries){__cov_3wMaD3PpEwxWJpaI18h2KA.b['13'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['31']++;Y.CartesianSeries.prototype.destructor=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['3']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['32']++;if(this.get('rendered')){__cov_3wMaD3PpEwxWJpaI18h2KA.b['14'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['33']++;if(this._xDataReadyHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['15'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['34']++;this._xDataReadyHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['15'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['35']++;if(this._xDataUpdateHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['16'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['36']++;this._xDataUpdateHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['16'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['37']++;if(this._yDataReadyHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['17'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['38']++;this._yDataReadyHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['17'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['39']++;if(this._yDataUpdateHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['18'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['40']++;this._yDataUpdateHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['18'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['41']++;if(this._xAxisChangeHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['19'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['42']++;this._xAxisChangeHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['19'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['43']++;if(this._yAxisChangeHandle){__cov_3wMaD3PpEwxWJpaI18h2KA.b['20'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['44']++;this._yAxisChangeHandle.detach();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['20'][1]++;}}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['14'][1]++;}};}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['13'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['45']++;if(Y.SVGDrawing){__cov_3wMaD3PpEwxWJpaI18h2KA.b['21'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['46']++;Y.SVGDrawing.prototype_closePath=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['4']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['47']++;var pathArray,segmentArray,pathType,len,val,i,path='',left=parseFloat(this._left),top=parseFloat(this._top),fill=this.get('fill');__cov_3wMaD3PpEwxWJpaI18h2KA.s['48']++;if(this._pathArray){__cov_3wMaD3PpEwxWJpaI18h2KA.b['22'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['49']++;pathArray=this._pathArray.concat();__cov_3wMaD3PpEwxWJpaI18h2KA.s['50']++;while((__cov_3wMaD3PpEwxWJpaI18h2KA.b['23'][0]++,pathArray)&&(__cov_3wMaD3PpEwxWJpaI18h2KA.b['23'][1]++,pathArray.length>0)){__cov_3wMaD3PpEwxWJpaI18h2KA.s['51']++;segmentArray=pathArray.shift();__cov_3wMaD3PpEwxWJpaI18h2KA.s['52']++;len=segmentArray.length;__cov_3wMaD3PpEwxWJpaI18h2KA.s['53']++;pathType=segmentArray[0];__cov_3wMaD3PpEwxWJpaI18h2KA.s['54']++;if(pathType==='A'){__cov_3wMaD3PpEwxWJpaI18h2KA.b['24'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['55']++;path+=pathType+segmentArray[1]+','+segmentArray[2];}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['24'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['56']++;if((__cov_3wMaD3PpEwxWJpaI18h2KA.b['26'][0]++,pathType==='z')||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['26'][1]++,pathType==='Z')){__cov_3wMaD3PpEwxWJpaI18h2KA.b['25'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['57']++;path+=' z ';}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['25'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['58']++;if((__cov_3wMaD3PpEwxWJpaI18h2KA.b['28'][0]++,pathType==='C')||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['28'][1]++,pathType==='c')){__cov_3wMaD3PpEwxWJpaI18h2KA.b['27'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['59']++;path+=pathType+(segmentArray[1]-left)+','+(segmentArray[2]-top);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['27'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['60']++;path+=' '+pathType+parseFloat(segmentArray[1]-left);}}}__cov_3wMaD3PpEwxWJpaI18h2KA.s['61']++;switch(pathType){case'L':__cov_3wMaD3PpEwxWJpaI18h2KA.b['29'][0]++;case'l':__cov_3wMaD3PpEwxWJpaI18h2KA.b['29'][1]++;case'M':__cov_3wMaD3PpEwxWJpaI18h2KA.b['29'][2]++;case'm':__cov_3wMaD3PpEwxWJpaI18h2KA.b['29'][3]++;case'Q':__cov_3wMaD3PpEwxWJpaI18h2KA.b['29'][4]++;case'q':__cov_3wMaD3PpEwxWJpaI18h2KA.b['29'][5]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['62']++;for(i=2;i<len;++i){__cov_3wMaD3PpEwxWJpaI18h2KA.s['63']++;val=i%2===0?(__cov_3wMaD3PpEwxWJpaI18h2KA.b['30'][0]++,top):(__cov_3wMaD3PpEwxWJpaI18h2KA.b['30'][1]++,left);__cov_3wMaD3PpEwxWJpaI18h2KA.s['64']++;val=segmentArray[i]-val;__cov_3wMaD3PpEwxWJpaI18h2KA.s['65']++;path+=', '+parseFloat(val);}__cov_3wMaD3PpEwxWJpaI18h2KA.s['66']++;break;case'A':__cov_3wMaD3PpEwxWJpaI18h2KA.b['29'][6]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['67']++;val=' '+parseFloat(segmentArray[3])+' '+parseFloat(segmentArray[4]);__cov_3wMaD3PpEwxWJpaI18h2KA.s['68']++;val+=','+parseFloat(segmentArray[5])+' '+parseFloat(segmentArray[6]-left);__cov_3wMaD3PpEwxWJpaI18h2KA.s['69']++;val+=','+parseFloat(segmentArray[7]-top);__cov_3wMaD3PpEwxWJpaI18h2KA.s['70']++;path+=' '+val;__cov_3wMaD3PpEwxWJpaI18h2KA.s['71']++;break;case'C':__cov_3wMaD3PpEwxWJpaI18h2KA.b['29'][7]++;case'c':__cov_3wMaD3PpEwxWJpaI18h2KA.b['29'][8]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['72']++;for(i=3;i<len-1;i=i+2){__cov_3wMaD3PpEwxWJpaI18h2KA.s['73']++;val=parseFloat(segmentArray[i]-left);__cov_3wMaD3PpEwxWJpaI18h2KA.s['74']++;val=val+', ';__cov_3wMaD3PpEwxWJpaI18h2KA.s['75']++;val=val+parseFloat(segmentArray[i+1]-top);__cov_3wMaD3PpEwxWJpaI18h2KA.s['76']++;path+=' '+val;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['77']++;break;}}__cov_3wMaD3PpEwxWJpaI18h2KA.s['78']++;if((__cov_3wMaD3PpEwxWJpaI18h2KA.b['32'][0]++,fill)&&(__cov_3wMaD3PpEwxWJpaI18h2KA.b['32'][1]++,fill.color)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['31'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['79']++;path+='z';}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['31'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['80']++;Y.Lang.trim(path);__cov_3wMaD3PpEwxWJpaI18h2KA.s['81']++;if(path){__cov_3wMaD3PpEwxWJpaI18h2KA.b['33'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['82']++;this._nodeAttrFlags.d=path;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['33'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['83']++;this._path=path;__cov_3wMaD3PpEwxWJpaI18h2KA.s['84']++;this._fillChangeHandler();__cov_3wMaD3PpEwxWJpaI18h2KA.s['85']++;this._strokeChangeHandler();__cov_3wMaD3PpEwxWJpaI18h2KA.s['86']++;this._updateTransform();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['22'][1]++;}};__cov_3wMaD3PpEwxWJpaI18h2KA.s['87']++;Y.SVGShape.prototype.initializer=function(cfg){__cov_3wMaD3PpEwxWJpaI18h2KA.f['5']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['88']++;var host=this,graphic=cfg.graphic,data=this.get('data');__cov_3wMaD3PpEwxWJpaI18h2KA.s['89']++;this._nodeAttrFlags={};__cov_3wMaD3PpEwxWJpaI18h2KA.s['90']++;this._nodeCSSFlags={};__cov_3wMaD3PpEwxWJpaI18h2KA.s['91']++;host.createNode();__cov_3wMaD3PpEwxWJpaI18h2KA.s['92']++;if(graphic){__cov_3wMaD3PpEwxWJpaI18h2KA.b['34'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['93']++;host._setGraphic(graphic);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['34'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['94']++;if(data){__cov_3wMaD3PpEwxWJpaI18h2KA.b['35'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['95']++;host._parsePathData(data);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['35'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['96']++;host._updateHandler();};__cov_3wMaD3PpEwxWJpaI18h2KA.s['97']++;Y.SVGShape.prototype.createNode=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['6']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['98']++;var host=this,getClassName=Y.ClassNameManager.getClassName,node=Y.config.doc.createElementNS('http://www.w3.org/2000/svg','svg:'+this._type),id=host.get('id'),name=host.name,concat=host._camelCaseConcat,pointerEvents=host.get('pointerEvents');__cov_3wMaD3PpEwxWJpaI18h2KA.s['99']++;host.node=node;__cov_3wMaD3PpEwxWJpaI18h2KA.s['100']++;host.addClass(getClassName('shape')+' '+getClassName(concat('svg','shape'))+' '+getClassName(name)+' '+getClassName(concat('svg',name)));__cov_3wMaD3PpEwxWJpaI18h2KA.s['101']++;if(id){__cov_3wMaD3PpEwxWJpaI18h2KA.b['36'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['102']++;this._nodeAttrFlags.id=id;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['36'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['103']++;if(pointerEvents){__cov_3wMaD3PpEwxWJpaI18h2KA.b['37'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['104']++;this._nodeAttrFlags['pointer-events']=pointerEvents;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['37'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['105']++;if(!host.get('visible')){__cov_3wMaD3PpEwxWJpaI18h2KA.b['38'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['106']++;this._nodeCSSFlags.visibility='hidden';}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['38'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['107']++;this._nodeAttrFlags['shape-rendering']=this.get('shapeRendering');};__cov_3wMaD3PpEwxWJpaI18h2KA.s['108']++;Y.SVGShape.prototype._strokeChangeHandler=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['7']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['109']++;var stroke=this.get('stroke'),strokeOpacity,dashstyle,dash,linejoin;__cov_3wMaD3PpEwxWJpaI18h2KA.s['110']++;if((__cov_3wMaD3PpEwxWJpaI18h2KA.b['40'][0]++,stroke)&&(__cov_3wMaD3PpEwxWJpaI18h2KA.b['40'][1]++,stroke.weight)&&(__cov_3wMaD3PpEwxWJpaI18h2KA.b['40'][2]++,stroke.weight>0)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['39'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['111']++;linejoin=(__cov_3wMaD3PpEwxWJpaI18h2KA.b['41'][0]++,stroke.linejoin)||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['41'][1]++,'round');__cov_3wMaD3PpEwxWJpaI18h2KA.s['112']++;strokeOpacity=parseFloat(stroke.opacity);__cov_3wMaD3PpEwxWJpaI18h2KA.s['113']++;dashstyle=(__cov_3wMaD3PpEwxWJpaI18h2KA.b['42'][0]++,stroke.dashstyle)||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['42'][1]++,'none');__cov_3wMaD3PpEwxWJpaI18h2KA.s['114']++;dash=Y.Lang.isArray(dashstyle)?(__cov_3wMaD3PpEwxWJpaI18h2KA.b['43'][0]++,dashstyle.toString()):(__cov_3wMaD3PpEwxWJpaI18h2KA.b['43'][1]++,dashstyle);__cov_3wMaD3PpEwxWJpaI18h2KA.s['115']++;stroke.color=(__cov_3wMaD3PpEwxWJpaI18h2KA.b['44'][0]++,stroke.color)||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['44'][1]++,'#000000');__cov_3wMaD3PpEwxWJpaI18h2KA.s['116']++;stroke.weight=(__cov_3wMaD3PpEwxWJpaI18h2KA.b['45'][0]++,stroke.weight)||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['45'][1]++,1);__cov_3wMaD3PpEwxWJpaI18h2KA.s['117']++;stroke.opacity=Y.Lang.isNumber(strokeOpacity)?(__cov_3wMaD3PpEwxWJpaI18h2KA.b['46'][0]++,strokeOpacity):(__cov_3wMaD3PpEwxWJpaI18h2KA.b['46'][1]++,1);__cov_3wMaD3PpEwxWJpaI18h2KA.s['118']++;stroke.linecap=(__cov_3wMaD3PpEwxWJpaI18h2KA.b['47'][0]++,stroke.linecap)||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['47'][1]++,'butt');__cov_3wMaD3PpEwxWJpaI18h2KA.s['119']++;this._nodeAttrFlags['stroke-dasharray']=dash;__cov_3wMaD3PpEwxWJpaI18h2KA.s['120']++;this._nodeAttrFlags.stroke=stroke.color;__cov_3wMaD3PpEwxWJpaI18h2KA.s['121']++;this._nodeAttrFlags['stroke-linecap']=stroke.linecap;__cov_3wMaD3PpEwxWJpaI18h2KA.s['122']++;this._nodeAttrFlags['stroke-width']=stroke.weight;__cov_3wMaD3PpEwxWJpaI18h2KA.s['123']++;this._nodeAttrFlags['stroke-opacity']=stroke.opacity;__cov_3wMaD3PpEwxWJpaI18h2KA.s['124']++;if((__cov_3wMaD3PpEwxWJpaI18h2KA.b['49'][0]++,linejoin==='round')||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['49'][1]++,linejoin==='bevel')){__cov_3wMaD3PpEwxWJpaI18h2KA.b['48'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['125']++;this._nodeAttrFlags['stroke-linejoin']=linejoin;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['48'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['126']++;linejoin=parseInt(linejoin,10);__cov_3wMaD3PpEwxWJpaI18h2KA.s['127']++;if(Y.Lang.isNumber(linejoin)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['50'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['128']++;this._nodeAttrFlags['stroke-miterlimit']=Math.max(linejoin,1);__cov_3wMaD3PpEwxWJpaI18h2KA.s['129']++;this._nodeAttrFlags['stroke-linejoin']='miter';}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['50'][1]++;}}}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['39'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['130']++;this._nodeAttrFlags.stroke='none';}};__cov_3wMaD3PpEwxWJpaI18h2KA.s['131']++;Y.SVGShape.prototype._fillChangeHandler=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['8']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['132']++;var fill=this.get('fill'),fillOpacity,type;__cov_3wMaD3PpEwxWJpaI18h2KA.s['133']++;if(fill){__cov_3wMaD3PpEwxWJpaI18h2KA.b['51'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['134']++;type=fill.type;__cov_3wMaD3PpEwxWJpaI18h2KA.s['135']++;if((__cov_3wMaD3PpEwxWJpaI18h2KA.b['53'][0]++,type==='linear')||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['53'][1]++,type==='radial')){__cov_3wMaD3PpEwxWJpaI18h2KA.b['52'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['136']++;this._setGradientFill(fill);__cov_3wMaD3PpEwxWJpaI18h2KA.s['137']++;this._nodeAttrFlags.fill='url(#grad'+this.get('id')+')';}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['52'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['138']++;if(!fill.color){__cov_3wMaD3PpEwxWJpaI18h2KA.b['54'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['139']++;this._nodeAttrFlags.fill='none';}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['54'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['140']++;fillOpacity=parseFloat(fill.opacity);__cov_3wMaD3PpEwxWJpaI18h2KA.s['141']++;fillOpacity=Y.Lang.isNumber(fillOpacity)?(__cov_3wMaD3PpEwxWJpaI18h2KA.b['55'][0]++,fillOpacity):(__cov_3wMaD3PpEwxWJpaI18h2KA.b['55'][1]++,1);__cov_3wMaD3PpEwxWJpaI18h2KA.s['142']++;this._nodeAttrFlags.fill=fill.color;__cov_3wMaD3PpEwxWJpaI18h2KA.s['143']++;this._nodeAttrFlags['fill-opacity']=fillOpacity;}}}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['51'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['144']++;this._nodeAttrFlags.fill='none';}};__cov_3wMaD3PpEwxWJpaI18h2KA.s['145']++;Y.SVGShape.prototype._updateTransform=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['9']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['146']++;var isPath=this._type==='path',key,transform,transformOrigin,x,y,tx,ty,matrix=this.matrix,normalizedMatrix=this._normalizedMatrix,i,len=this._transforms.length;__cov_3wMaD3PpEwxWJpaI18h2KA.s['147']++;if((__cov_3wMaD3PpEwxWJpaI18h2KA.b['57'][0]++,isPath)||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['57'][1]++,this._transforms)&&(__cov_3wMaD3PpEwxWJpaI18h2KA.b['57'][2]++,this._transforms.length>0)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['56'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['148']++;x=this._x;__cov_3wMaD3PpEwxWJpaI18h2KA.s['149']++;y=this._y;__cov_3wMaD3PpEwxWJpaI18h2KA.s['150']++;transformOrigin=this.get('transformOrigin');__cov_3wMaD3PpEwxWJpaI18h2KA.s['151']++;tx=x+transformOrigin[0]*this.get('width');__cov_3wMaD3PpEwxWJpaI18h2KA.s['152']++;ty=y+transformOrigin[1]*this.get('height');__cov_3wMaD3PpEwxWJpaI18h2KA.s['153']++;if(isPath){__cov_3wMaD3PpEwxWJpaI18h2KA.b['58'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['154']++;if(!(this instanceof Y.SVGPath)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['59'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['155']++;tx=this._left+transformOrigin[0]*this.get('width');__cov_3wMaD3PpEwxWJpaI18h2KA.s['156']++;ty=this._top+transformOrigin[1]*this.get('height');}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['59'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['157']++;normalizedMatrix.init({dx:x+this._left,dy:y+this._top});}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['58'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['158']++;normalizedMatrix.translate(tx,ty);__cov_3wMaD3PpEwxWJpaI18h2KA.s['159']++;for(i=0;i<len;++i){__cov_3wMaD3PpEwxWJpaI18h2KA.s['160']++;key=this._transforms[i].shift();__cov_3wMaD3PpEwxWJpaI18h2KA.s['161']++;if(key){__cov_3wMaD3PpEwxWJpaI18h2KA.b['60'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['162']++;normalizedMatrix[key].apply(normalizedMatrix,this._transforms[i]);__cov_3wMaD3PpEwxWJpaI18h2KA.s['163']++;matrix[key].apply(matrix,this._transforms[i]);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['60'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['164']++;if(isPath){__cov_3wMaD3PpEwxWJpaI18h2KA.b['61'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['165']++;this._transforms[i].unshift(key);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['61'][1]++;}}__cov_3wMaD3PpEwxWJpaI18h2KA.s['166']++;normalizedMatrix.translate(-tx,-ty);__cov_3wMaD3PpEwxWJpaI18h2KA.s['167']++;transform='matrix('+normalizedMatrix.a+','+normalizedMatrix.b+','+normalizedMatrix.c+','+normalizedMatrix.d+','+normalizedMatrix.dx+','+normalizedMatrix.dy+')';}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['56'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['168']++;this._graphic.addToRedrawQueue(this);__cov_3wMaD3PpEwxWJpaI18h2KA.s['169']++;if(transform){__cov_3wMaD3PpEwxWJpaI18h2KA.b['62'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['170']++;this._nodeAttrFlags.transform=transform;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['62'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['171']++;if(!isPath){__cov_3wMaD3PpEwxWJpaI18h2KA.b['63'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['172']++;this._transforms=[];}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['63'][1]++;}};__cov_3wMaD3PpEwxWJpaI18h2KA.s['173']++;Y.SVGShape.prototype._updateTransform=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['10']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['174']++;var isPath=this._type==='path',key,transform,transformOrigin,x,y,tx,ty,matrix=this.matrix,normalizedMatrix=this._normalizedMatrix,i,len=this._transforms.length;__cov_3wMaD3PpEwxWJpaI18h2KA.s['175']++;if((__cov_3wMaD3PpEwxWJpaI18h2KA.b['65'][0]++,isPath)||(__cov_3wMaD3PpEwxWJpaI18h2KA.b['65'][1]++,this._transforms)&&(__cov_3wMaD3PpEwxWJpaI18h2KA.b['65'][2]++,this._transforms.length>0)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['64'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['176']++;x=this._x;__cov_3wMaD3PpEwxWJpaI18h2KA.s['177']++;y=this._y;__cov_3wMaD3PpEwxWJpaI18h2KA.s['178']++;transformOrigin=this.get('transformOrigin');__cov_3wMaD3PpEwxWJpaI18h2KA.s['179']++;tx=x+transformOrigin[0]*this.get('width');__cov_3wMaD3PpEwxWJpaI18h2KA.s['180']++;ty=y+transformOrigin[1]*this.get('height');__cov_3wMaD3PpEwxWJpaI18h2KA.s['181']++;if(isPath){__cov_3wMaD3PpEwxWJpaI18h2KA.b['66'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['182']++;if(!(this instanceof Y.SVGPath)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['67'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['183']++;tx=this._left+transformOrigin[0]*this.get('width');__cov_3wMaD3PpEwxWJpaI18h2KA.s['184']++;ty=this._top+transformOrigin[1]*this.get('height');}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['67'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['185']++;normalizedMatrix.init({dx:x+this._left,dy:y+this._top});}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['66'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['186']++;normalizedMatrix.translate(tx,ty);__cov_3wMaD3PpEwxWJpaI18h2KA.s['187']++;for(i=0;i<len;++i){__cov_3wMaD3PpEwxWJpaI18h2KA.s['188']++;key=this._transforms[i].shift();__cov_3wMaD3PpEwxWJpaI18h2KA.s['189']++;if(key){__cov_3wMaD3PpEwxWJpaI18h2KA.b['68'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['190']++;normalizedMatrix[key].apply(normalizedMatrix,this._transforms[i]);__cov_3wMaD3PpEwxWJpaI18h2KA.s['191']++;matrix[key].apply(matrix,this._transforms[i]);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['68'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['192']++;if(isPath){__cov_3wMaD3PpEwxWJpaI18h2KA.b['69'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['193']++;this._transforms[i].unshift(key);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['69'][1]++;}}__cov_3wMaD3PpEwxWJpaI18h2KA.s['194']++;normalizedMatrix.translate(-tx,-ty);__cov_3wMaD3PpEwxWJpaI18h2KA.s['195']++;transform='matrix('+normalizedMatrix.a+','+normalizedMatrix.b+','+normalizedMatrix.c+','+normalizedMatrix.d+','+normalizedMatrix.dx+','+normalizedMatrix.dy+')';}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['64'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['196']++;this._graphic.addToRedrawQueue(this);__cov_3wMaD3PpEwxWJpaI18h2KA.s['197']++;if(transform){__cov_3wMaD3PpEwxWJpaI18h2KA.b['70'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['198']++;this._nodeAttrFlags.transform=transform;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['70'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['199']++;if(!isPath){__cov_3wMaD3PpEwxWJpaI18h2KA.b['71'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['200']++;this._transforms=[];}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['71'][1]++;}};__cov_3wMaD3PpEwxWJpaI18h2KA.s['201']++;Y.SVGShape.prototype._draw=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['11']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['202']++;this._nodeAttrFlags.width=this.get('width');__cov_3wMaD3PpEwxWJpaI18h2KA.s['203']++;this._nodeAttrFlags.height=this.get('height');__cov_3wMaD3PpEwxWJpaI18h2KA.s['204']++;this._nodeAttrFlags.x=this._x;__cov_3wMaD3PpEwxWJpaI18h2KA.s['205']++;this._nodeAttrFlags.y=this._y;__cov_3wMaD3PpEwxWJpaI18h2KA.s['206']++;this._nodeCSSFlags.left=this._x+'px';__cov_3wMaD3PpEwxWJpaI18h2KA.s['207']++;this._nodeCSSFlags.top=this._y+'px';__cov_3wMaD3PpEwxWJpaI18h2KA.s['208']++;this._fillChangeHandler();__cov_3wMaD3PpEwxWJpaI18h2KA.s['209']++;this._strokeChangeHandler();__cov_3wMaD3PpEwxWJpaI18h2KA.s['210']++;this._updateTransform();};__cov_3wMaD3PpEwxWJpaI18h2KA.s['211']++;Y.SVGShape.prototype._clearFlags=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['12']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['212']++;var key;__cov_3wMaD3PpEwxWJpaI18h2KA.s['213']++;for(key in this._nodeAttrFlags){__cov_3wMaD3PpEwxWJpaI18h2KA.s['214']++;if(this._nodeAttrFlags.hasOwnProperty(key)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['72'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['215']++;this.node.setAttribute(key,this._nodeAttrFlags[key]);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['72'][1]++;}}__cov_3wMaD3PpEwxWJpaI18h2KA.s['216']++;for(key in this._nodeCSSFlags){__cov_3wMaD3PpEwxWJpaI18h2KA.s['217']++;if(this._nodeCSSFlags.hasOwnProperty(key)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['73'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['218']++;Y.DOM.setStyle(this.node,key,this._nodeCSSFlags[key]);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['73'][1]++;}}__cov_3wMaD3PpEwxWJpaI18h2KA.s['219']++;this._nodeAttrFlags={};__cov_3wMaD3PpEwxWJpaI18h2KA.s['220']++;this._nodeCSSFlags={};};__cov_3wMaD3PpEwxWJpaI18h2KA.s['221']++;Y.SVGShape.ATTRS.id={valueFn:function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['13']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['222']++;return Y.guid();},setter:function(val){__cov_3wMaD3PpEwxWJpaI18h2KA.f['14']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['223']++;var node=this.node;__cov_3wMaD3PpEwxWJpaI18h2KA.s['224']++;if(node){__cov_3wMaD3PpEwxWJpaI18h2KA.b['74'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['225']++;this._nodeAttrFlags.id=val;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['74'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['226']++;return val;}};__cov_3wMaD3PpEwxWJpaI18h2KA.s['227']++;Y.SVGShape.ATTRS.pointerEvents={valueFn:function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['15']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['228']++;var val='visiblePainted',node=this.node;__cov_3wMaD3PpEwxWJpaI18h2KA.s['229']++;if(node){__cov_3wMaD3PpEwxWJpaI18h2KA.b['75'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['230']++;this._nodeAttrFlags['pointer-events']=val;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['75'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['231']++;return val;},setter:function(val){__cov_3wMaD3PpEwxWJpaI18h2KA.f['16']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['232']++;var node=this.node;__cov_3wMaD3PpEwxWJpaI18h2KA.s['233']++;if(node){__cov_3wMaD3PpEwxWJpaI18h2KA.b['76'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['234']++;this._nodeAttrFlags['pointer-events']=val;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['76'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['235']++;return val;}};__cov_3wMaD3PpEwxWJpaI18h2KA.s['236']++;Y.SVGCircle.prototype._draw=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['17']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['237']++;var x=this.get('x'),y=this.get('y'),radius=this.get('radius'),cx=x+radius,cy=y+radius;__cov_3wMaD3PpEwxWJpaI18h2KA.s['238']++;this._nodeAttrFlags.r=radius;__cov_3wMaD3PpEwxWJpaI18h2KA.s['239']++;this._nodeAttrFlags.cx=cx;__cov_3wMaD3PpEwxWJpaI18h2KA.s['240']++;this._nodeAttrFlags.cy=cy;__cov_3wMaD3PpEwxWJpaI18h2KA.s['241']++;this._fillChangeHandler();__cov_3wMaD3PpEwxWJpaI18h2KA.s['242']++;this._strokeChangeHandler();__cov_3wMaD3PpEwxWJpaI18h2KA.s['243']++;this._updateTransform();};__cov_3wMaD3PpEwxWJpaI18h2KA.s['244']++;Y.SVGGraphic.prototype._redraw=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['18']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['245']++;var autoSize=this.get('autoSize'),preserveAspectRatio=this.get('preserveAspectRatio'),box=this.get('resizeDown')?(__cov_3wMaD3PpEwxWJpaI18h2KA.b['77'][0]++,this._getUpdatedContentBounds()):(__cov_3wMaD3PpEwxWJpaI18h2KA.b['77'][1]++,this._contentBounds),left=box.left,right=box.right,top=box.top,bottom=box.bottom,width=right-left,height=bottom-top,computedWidth,computedHeight,computedLeft,computedTop,node,key,shapes=this._shapes;__cov_3wMaD3PpEwxWJpaI18h2KA.s['246']++;if(autoSize){__cov_3wMaD3PpEwxWJpaI18h2KA.b['78'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['247']++;if(autoSize==='sizeContentToGraphic'){__cov_3wMaD3PpEwxWJpaI18h2KA.b['79'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['248']++;node=this._node;__cov_3wMaD3PpEwxWJpaI18h2KA.s['249']++;computedWidth=parseFloat(Y.DOM.getComputedStyle(node,'width'));__cov_3wMaD3PpEwxWJpaI18h2KA.s['250']++;computedHeight=parseFloat(Y.DOM.getComputedStyle(node,'height'));__cov_3wMaD3PpEwxWJpaI18h2KA.s['251']++;computedLeft=computedTop=0;__cov_3wMaD3PpEwxWJpaI18h2KA.s['252']++;this._contentNode.setAttribute('preserveAspectRatio',preserveAspectRatio);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['79'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['253']++;computedWidth=width;__cov_3wMaD3PpEwxWJpaI18h2KA.s['254']++;computedHeight=height;__cov_3wMaD3PpEwxWJpaI18h2KA.s['255']++;computedLeft=left;__cov_3wMaD3PpEwxWJpaI18h2KA.s['256']++;computedTop=top;__cov_3wMaD3PpEwxWJpaI18h2KA.s['257']++;this._state.width=width;__cov_3wMaD3PpEwxWJpaI18h2KA.s['258']++;this._state.height=height;__cov_3wMaD3PpEwxWJpaI18h2KA.s['259']++;if(this._node){__cov_3wMaD3PpEwxWJpaI18h2KA.b['80'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['260']++;this._node.style.width=width+'px';__cov_3wMaD3PpEwxWJpaI18h2KA.s['261']++;this._node.style.height=height+'px';}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['80'][1]++;}}}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['78'][1]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['262']++;computedWidth=width;__cov_3wMaD3PpEwxWJpaI18h2KA.s['263']++;computedHeight=height;__cov_3wMaD3PpEwxWJpaI18h2KA.s['264']++;computedLeft=left;__cov_3wMaD3PpEwxWJpaI18h2KA.s['265']++;computedTop=top;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['266']++;for(key in shapes){__cov_3wMaD3PpEwxWJpaI18h2KA.s['267']++;if(shapes.hasOwnProperty(key)){__cov_3wMaD3PpEwxWJpaI18h2KA.b['81'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['268']++;shapes[key]._clearFlags();}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['81'][1]++;}}__cov_3wMaD3PpEwxWJpaI18h2KA.s['269']++;if(this._contentNode){__cov_3wMaD3PpEwxWJpaI18h2KA.b['82'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['270']++;this._contentNode.style.left=computedLeft+'px';__cov_3wMaD3PpEwxWJpaI18h2KA.s['271']++;this._contentNode.style.top=computedTop+'px';__cov_3wMaD3PpEwxWJpaI18h2KA.s['272']++;this._contentNode.setAttribute('width',computedWidth);__cov_3wMaD3PpEwxWJpaI18h2KA.s['273']++;this._contentNode.setAttribute('height',computedHeight);__cov_3wMaD3PpEwxWJpaI18h2KA.s['274']++;this._contentNode.style.width=computedWidth+'px';__cov_3wMaD3PpEwxWJpaI18h2KA.s['275']++;this._contentNode.style.height=computedHeight+'px';__cov_3wMaD3PpEwxWJpaI18h2KA.s['276']++;this._contentNode.setAttribute('viewBox',''+left+' '+top+' '+width+' '+height+'');}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['82'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['277']++;if(this._frag){__cov_3wMaD3PpEwxWJpaI18h2KA.b['83'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['278']++;if(this._contentNode){__cov_3wMaD3PpEwxWJpaI18h2KA.b['84'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['279']++;this._contentNode.appendChild(this._frag);}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['84'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['280']++;this._frag=null;}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['83'][1]++;}};}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['21'][1]++;}__cov_3wMaD3PpEwxWJpaI18h2KA.s['281']++;if(Y.CanvasPath){__cov_3wMaD3PpEwxWJpaI18h2KA.b['85'][0]++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['282']++;Y.CanvasPath.prototype.end=function(){__cov_3wMaD3PpEwxWJpaI18h2KA.f['19']++;__cov_3wMaD3PpEwxWJpaI18h2KA.s['283']++;this._draw();__cov_3wMaD3PpEwxWJpaI18h2KA.s['284']++;return this;};}else{__cov_3wMaD3PpEwxWJpaI18h2KA.b['85'][1]++;}},'gallery-2014.01.28-00-45');
View
602 build/gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch-debug.js
@@ -0,0 +1,602 @@
+YUI.add('gallery-stockindicators-3-15-patch', function (Y, NAME) {
+
+var defaultAxisLabelFormat = {
+ value: null
+};
+
+Y.CategoryAxisBase.ATTRS.labelFormat = defaultAxisLabelFormat;
+Y.CategoryAxis.ATTRS.labelFormat = defaultAxisLabelFormat;
+
+if(Y.SeriesBase) {
+ Y.SeriesBase.prototype.destructor = function() {
+ var marker,
+ markers = this.get("markers");
+ if(this.get("rendered"))
+ {
+ if(this._stylesChangeHandle)
+ {
+ this._stylesChangeHandle.detach();
+ }
+ if(this._widthChangeHandle)
+ {
+ this._widthChangeHandle.detach();
+ }
+ if(this._heightChangeHandle)
+ {
+ this._heightChangeHandle.detach();
+ }
+ if(this._visibleChangeHandle)
+ {
+ this._visibleChangeHandle.detach();
+ }
+ }
+ while(markers && markers.length > 0)
+ {
+ marker = markers.shift();
+ if(marker && marker instanceof Y.Shape)
+ {
+ marker.destroy();
+ }
+ }
+ if(this._path)
+ {
+ this._path.destroy();
+ this._path = null;
+ }
+ if(this._lineGraphic)
+ {
+ this._lineGraphic.destroy();
+ this._lineGraphic = null;
+ }
+ if(this._groupMarker)
+ {
+ this._groupMarker.destroy();
+ this._groupMarker = null;
+ }
+ };
+}
+
+//patch CartesianSeries destructor bug
+if(Y.CartesianSeries) {
+ Y.CartesianSeries.prototype.destructor = function() {
+ if(this.get("rendered"))
+ {
+ if(this._xDataReadyHandle)
+ {
+ this._xDataReadyHandle.detach();
+ }
+ if(this._xDataUpdateHandle)
+ {
+ this._xDataUpdateHandle.detach();
+ }
+ if(this._yDataReadyHandle)
+ {
+ this._yDataReadyHandle.detach();
+ }
+ if(this._yDataUpdateHandle)
+ {
+ this._yDataUpdateHandle.detach();
+ }
+ if(this._xAxisChangeHandle)
+ {
+ this._xAxisChangeHandle.detach();
+ }
+ if(this._yAxisChangeHandle)
+ {
+ this._yAxisChangeHandle.detach();
+ }
+ }
+ };
+}
+if(Y.SVGDrawing) {
+ Y.SVGDrawing.prototype_closePath = function()
+ {
+ var pathArray,
+ segmentArray,
+ pathType,
+ len,
+ val,
+ i,
+ path = "",
+ left = parseFloat(this._left),
+ top = parseFloat(this._top),
+ fill = this.get("fill");
+ if(this._pathArray)
+ {
+ pathArray = this._pathArray.concat();
+ while(pathArray && pathArray.length > 0)
+ {
+ segmentArray = pathArray.shift();
+ len = segmentArray.length;
+ pathType = segmentArray[0];
+ if(pathType === "A")
+ {
+ path += pathType + segmentArray[1] + "," + segmentArray[2];
+ }
+ else if(pathType === "z" || pathType === "Z")
+ {
+ path += " z ";
+ }
+ else if(pathType === "C" || pathType === "c")
+ {
+ path += pathType + (segmentArray[1] - left)+ "," + (segmentArray[2] - top);
+ }
+ else
+ {
+ path += " " + pathType + parseFloat(segmentArray[1] - left);
+ }
+ switch(pathType)
+ {
+ case "L" :
+ case "l" :
+ case "M" :
+ case "m" :
+ case "Q" :
+ case "q" :
+ for(i = 2; i < len; ++i)
+ {
+ val = (i % 2 === 0) ? top : left;
+ val = segmentArray[i] - val;
+ path += ", " + parseFloat(val);
+ }
+ break;
+ case "A" :
+ val = " " + parseFloat(segmentArray[3]) + " " + parseFloat(segmentArray[4]);
+ val += "," + parseFloat(segmentArray[5]) + " " + parseFloat(segmentArray[6] - left);
+ val += "," + parseFloat(segmentArray[7] - top);
+ path += " " + val;
+ break;
+ case "C" :
+ case "c" :
+ for(i = 3; i < len - 1; i = i + 2)
+ {
+ val = parseFloat(segmentArray[i] - left);
+ val = val + ", ";
+ val = val + parseFloat(segmentArray[i + 1] - top);
+ path += " " + val;
+ }
+ break;
+ }
+ }
+ if(fill && fill.color)
+ {
+ path += 'z';
+ }
+ Y.Lang.trim(path);
+ if(path)
+ {
+ this._nodeAttrFlags.d = path;
+ }
+
+ this._path = path;
+ this._fillChangeHandler();
+ this._strokeChangeHandler();
+ this._updateTransform();
+ }
+ };
+
+ Y.SVGShape.prototype.initializer = function(cfg)
+ {
+ var host = this,
+ graphic = cfg.graphic,
+ data = this.get("data");
+ this._nodeAttrFlags = {};
+ this._nodeCSSFlags = {};
+ host.createNode();
+ if(graphic)
+ {
+ host._setGraphic(graphic);
+ }
+ if(data)
+ {
+ host._parsePathData(data);
+ }
+ host._updateHandler();
+ };
+
+ Y.SVGShape.prototype.createNode = function()
+ {
+ var host = this,
+ getClassName = Y.ClassNameManager.getClassName,
+ node = Y.config.doc.createElementNS("http://www.w3.org/2000/svg", "svg:" + this._type),
+ id = host.get("id"),
+ name = host.name,
+ concat = host._camelCaseConcat,
+ pointerEvents = host.get("pointerEvents");
+ host.node = node;
+ host.addClass(
+ getClassName("shape") +
+ " " +
+ getClassName(concat("svg", "shape")) +
+ " " +
+ getClassName(name) +
+ " " +
+ getClassName(concat("svg", name))
+ );
+ if(id)
+ {
+ this._nodeAttrFlags.id = id;
+ }
+ if(pointerEvents)
+ {
+ this._nodeAttrFlags["pointer-events"] = pointerEvents;
+ }
+ if(!host.get("visible"))
+ {
+ this._nodeCSSFlags.visibility = "hidden";
+ }
+ this._nodeAttrFlags["shape-rendering"] = this.get("shapeRendering");
+ };
+ Y.SVGShape.prototype._strokeChangeHandler = function()
+ {
+ var stroke = this.get("stroke"),
+ strokeOpacity,
+ dashstyle,
+ dash,
+ linejoin;
+ if(stroke && stroke.weight && stroke.weight > 0)
+ {
+ linejoin = stroke.linejoin || "round";
+ strokeOpacity = parseFloat(stroke.opacity);
+ dashstyle = stroke.dashstyle || "none";
+ dash = Y.Lang.isArray(dashstyle) ? dashstyle.toString() : dashstyle;
+ stroke.color = stroke.color || "#000000";
+ stroke.weight = stroke.weight || 1;
+ stroke.opacity = Y.Lang.isNumber(strokeOpacity) ? strokeOpacity : 1;
+ stroke.linecap = stroke.linecap || "butt";
+ this._nodeAttrFlags["stroke-dasharray"] = dash;
+ this._nodeAttrFlags.stroke = stroke.color;
+ this._nodeAttrFlags["stroke-linecap"] = stroke.linecap;
+ this._nodeAttrFlags["stroke-width"] = stroke.weight;
+ this._nodeAttrFlags["stroke-opacity"] = stroke.opacity;
+ if(linejoin === "round" || linejoin === "bevel")
+ {
+ this._nodeAttrFlags["stroke-linejoin"] = linejoin;
+ }
+ else
+ {
+ linejoin = parseInt(linejoin, 10);
+ if(Y.Lang.isNumber(linejoin))
+ {
+ this._nodeAttrFlags["stroke-miterlimit"] = Math.max(linejoin, 1);
+ this._nodeAttrFlags["stroke-linejoin"] = "miter";
+ }
+ }
+ }
+ else
+ {
+ this._nodeAttrFlags.stroke = "none";
+ }
+ };
+
+ Y.SVGShape.prototype._fillChangeHandler = function()
+ {
+ var fill = this.get("fill"),
+ fillOpacity,
+ type;
+ if(fill)
+ {
+ type = fill.type;
+ if(type === "linear" || type === "radial")
+ {
+ this._setGradientFill(fill);
+ this._nodeAttrFlags.fill = "url(#grad" + this.get("id") + ")";
+ }
+ else if(!fill.color)
+ {
+ this._nodeAttrFlags.fill = "none";
+ }
+ else
+ {
+ fillOpacity = parseFloat(fill.opacity);
+ fillOpacity = Y.Lang.isNumber(fillOpacity) ? fillOpacity : 1;
+ this._nodeAttrFlags.fill = fill.color;
+ this._nodeAttrFlags["fill-opacity"] = fillOpacity;
+ }
+ }
+ else
+ {
+ this._nodeAttrFlags.fill = "none";
+ }
+ };
+
+ Y.SVGShape.prototype._updateTransform = function()
+ {
+ var isPath = this._type === "path",
+ key,
+ transform,
+ transformOrigin,
+ x,
+ y,
+ tx,
+ ty,
+ matrix = this.matrix,
+ normalizedMatrix = this._normalizedMatrix,
+ i,
+ len = this._transforms.length;
+
+ if(isPath || (this._transforms && this._transforms.length > 0))
+ {
+ x = this._x;
+ y = this._y;
+ transformOrigin = this.get("transformOrigin");
+ tx = x + (transformOrigin[0] * this.get("width"));
+ ty = y + (transformOrigin[1] * this.get("height"));
+ //need to use translate for x/y coords
+ if(isPath)
+ {
+ //adjust origin for custom shapes
+ if(!(this instanceof Y.SVGPath))
+ {
+ tx = this._left + (transformOrigin[0] * this.get("width"));
+ ty = this._top + (transformOrigin[1] * this.get("height"));
+ }
+ normalizedMatrix.init({dx: x + this._left, dy: y + this._top});
+ }
+ normalizedMatrix.translate(tx, ty);
+ for(i = 0; i < len; ++i)
+ {
+ key = this._transforms[i].shift();
+ if(key)
+ {
+ normalizedMatrix[key].apply(normalizedMatrix, this._transforms[i]);
+ matrix[key].apply(matrix, this._transforms[i]);
+ }
+ if(isPath)
+ {
+ this._transforms[i].unshift(key);
+ }
+ }
+ normalizedMatrix.translate(-tx, -ty);
+ transform = "matrix(" + normalizedMatrix.a + "," +
+ normalizedMatrix.b + "," +
+ normalizedMatrix.c + "," +
+ normalizedMatrix.d + "," +
+ normalizedMatrix.dx + "," +
+ normalizedMatrix.dy + ")";
+ }
+ this._graphic.addToRedrawQueue(this);
+ if(transform)
+ {
+ this._nodeAttrFlags.transform = transform;
+ }
+ if(!isPath)
+ {
+ this._transforms = [];
+ }
+ };
+
+ Y.SVGShape.prototype._updateTransform = function()
+ {
+ var isPath = this._type === "path",
+ key,
+ transform,
+ transformOrigin,
+ x,
+ y,
+ tx,
+ ty,
+ matrix = this.matrix,
+ normalizedMatrix = this._normalizedMatrix,
+ i,
+ len = this._transforms.length;
+
+ if(isPath || (this._transforms && this._transforms.length > 0))
+ {
+ x = this._x;
+ y = this._y;
+ transformOrigin = this.get("transformOrigin");
+ tx = x + (transformOrigin[0] * this.get("width"));
+ ty = y + (transformOrigin[1] * this.get("height"));
+ //need to use translate for x/y coords
+ if(isPath)
+ {
+ //adjust origin for custom shapes
+ if(!(this instanceof Y.SVGPath))
+ {
+ tx = this._left + (transformOrigin[0] * this.get("width"));
+ ty = this._top + (transformOrigin[1] * this.get("height"));
+ }
+ normalizedMatrix.init({dx: x + this._left, dy: y + this._top});
+ }
+ normalizedMatrix.translate(tx, ty);
+ for(i = 0; i < len; ++i)
+ {
+ key = this._transforms[i].shift();
+ if(key)
+ {
+ normalizedMatrix[key].apply(normalizedMatrix, this._transforms[i]);
+ matrix[key].apply(matrix, this._transforms[i]);
+ }
+ if(isPath)
+ {
+ this._transforms[i].unshift(key);
+ }
+ }
+ normalizedMatrix.translate(-tx, -ty);
+ transform = "matrix(" + normalizedMatrix.a + "," +
+ normalizedMatrix.b + "," +
+ normalizedMatrix.c + "," +
+ normalizedMatrix.d + "," +
+ normalizedMatrix.dx + "," +
+ normalizedMatrix.dy + ")";
+ }
+ this._graphic.addToRedrawQueue(this);
+ if(transform)
+ {
+ this._nodeAttrFlags.transform = transform;
+ }
+ if(!isPath)
+ {
+ this._transforms = [];
+ }
+ };
+ Y.SVGShape.prototype._draw = function()
+ {
+ this._nodeAttrFlags.width = this.get("width");
+ this._nodeAttrFlags.height = this.get("height");
+ this._nodeAttrFlags.x = this._x;
+ this._nodeAttrFlags.y = this._y;
+ this._nodeCSSFlags.left = this._x + "px";
+ this._nodeCSSFlags.top = this._y + "px";
+ this._fillChangeHandler();
+ this._strokeChangeHandler();
+ this._updateTransform();
+ };
+
+ Y.SVGShape.prototype._clearFlags = function() {
+ var key;
+ for(key in this._nodeAttrFlags) {
+ if(this._nodeAttrFlags.hasOwnProperty(key)) {
+ this.node.setAttribute(key, this._nodeAttrFlags[key]);
+ }
+ }
+ for(key in this._nodeCSSFlags) {
+ if(this._nodeCSSFlags.hasOwnProperty(key)) {
+ Y.DOM.setStyle(this.node, key, this._nodeCSSFlags[key]);
+ //this.node.style[key] = this._nodeCSSFlags[key];
+ }
+ }
+ this._nodeAttrFlags = {};
+ this._nodeCSSFlags = {};
+ };
+
+ Y.SVGShape.ATTRS.id = {
+ valueFn: function()
+ {
+ return Y.guid();
+ },
+
+ setter: function(val)
+ {
+ var node = this.node;
+ if(node)
+ {
+ this._nodeAttrFlags.id = val;
+ }
+ return val;
+ }
+ };
+
+ Y.SVGShape.ATTRS.pointerEvents = {
+ valueFn: function()
+ {
+ var val = "visiblePainted",
+ node = this.node;
+ if(node)
+ {
+ this._nodeAttrFlags["pointer-events"] = val;
+ }
+ return val;
+ },
+
+ setter: function(val)
+ {
+ var node = this.node;
+ if(node)
+ {
+ this._nodeAttrFlags["pointer-events"] = val;
+ }
+ return val;
+ }
+ };
+ Y.SVGCircle.prototype._draw = function() {
+ var x = this.get("x"),
+ y = this.get("y"),
+ radius = this.get("radius"),
+ cx = x + radius,
+ cy = y + radius;
+ this._nodeAttrFlags.r = radius;
+ this._nodeAttrFlags.cx = cx;
+ this._nodeAttrFlags.cy = cy;
+ this._fillChangeHandler();
+ this._strokeChangeHandler();
+ this._updateTransform();
+ };
+
+ Y.SVGGraphic.prototype._redraw = function() {
+ var autoSize = this.get("autoSize"),
+ preserveAspectRatio = this.get("preserveAspectRatio"),
+ box = this.get("resizeDown") ? this._getUpdatedContentBounds() : this._contentBounds,
+ left = box.left,
+ right = box.right,
+ top = box.top,
+ bottom = box.bottom,
+ width = right - left,
+ height = bottom - top,
+ computedWidth,
+ computedHeight,
+ computedLeft,
+ computedTop,
+ node,
+ key,
+ shapes = this._shapes;
+ if(autoSize)
+ {
+ if(autoSize === "sizeContentToGraphic")
+ {
+ node = this._node;
+ computedWidth = parseFloat(Y.DOM.getComputedStyle(node, "width"));
+ computedHeight = parseFloat(Y.DOM.getComputedStyle(node, "height"));
+ computedLeft = computedTop = 0;
+ this._contentNode.setAttribute("preserveAspectRatio", preserveAspectRatio);
+ }
+ else
+ {
+ computedWidth = width;
+ computedHeight = height;
+ computedLeft = left;
+ computedTop = top;
+ this._state.width = width;
+ this._state.height = height;
+ if(this._node)
+ {
+ this._node.style.width = width + "px";
+ this._node.style.height = height + "px";
+ }
+ }
+ }
+ else
+ {
+ computedWidth = width;
+ computedHeight = height;
+ computedLeft = left;
+ computedTop = top;
+ }
+ for(key in shapes) {
+ if(shapes.hasOwnProperty(key)) {
+ shapes[key]._clearFlags();
+ }
+ }
+ if(this._contentNode)
+ {
+ this._contentNode.style.left = computedLeft + "px";
+ this._contentNode.style.top = computedTop + "px";
+ this._contentNode.setAttribute("width", computedWidth);
+ this._contentNode.setAttribute("height", computedHeight);
+ this._contentNode.style.width = computedWidth + "px";
+ this._contentNode.style.height = computedHeight + "px";
+ this._contentNode.setAttribute("viewBox", "" + left + " " + top + " " + width + " " + height + "");
+ }
+ if(this._frag)
+ {
+ if(this._contentNode)
+ {
+ this._contentNode.appendChild(this._frag);
+ }
+ this._frag = null;
+ }
+ };
+}
+
+//addresses canvas chaining bug
+if(Y.CanvasPath) {
+ Y.CanvasPath.prototype.end = function() {
+ this._draw();
+ return this;
+ };
+}
+
+
+
+}, 'gallery-2014.01.28-00-45');
View
2  build/gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch-min.js
@@ -0,0 +1,2 @@
+YUI.add("gallery-stockindicators-3-15-patch",function(e,t){var n={value:null};e.CategoryAxisBase.ATTRS.labelFormat=n,e.CategoryAxis.ATTRS.labelFormat=n,e.SeriesBase&&(e.SeriesBase.prototype.destructor=function(){var t,n=this.get("markers");this.get("rendered")&&(this._stylesChangeHandle&&this._stylesChangeHandle.detach(),this._widthChangeHandle&&this._widthChangeHandle.detach(),this._heightChangeHandle&&this._heightChangeHandle.detach(),this._visibleChangeHandle&&this._visibleChangeHandle.detach());while(n&&n.length>0)t=n.shift(),t&&t instanceof e.Shape&&t.destroy();this._path&&(this._path.destroy(),this._path=null),this._lineGraphic&&(this._lineGraphic.destroy(),this._lineGraphic=null),this._groupMarker&&(this._groupMarker.destroy(),this._groupMarker=null)}),e.CartesianSeries&&(e.CartesianSeries.prototype.destructor=function(){this.get("rendered")&&(this._xDataReadyHandle&&this._xDataReadyHandle.detach(),this._xDataUpdateHandle&&this._xDataUpdateHandle.detach(),this._yDataReadyHandle&&this._yDataReadyHandle.detach(),this._yDataUpdateHandle&&this._yDataUpdateHandle.detach(),this._xAxisChangeHandle&&this._xAxisChangeHandle.detach(),this._yAxisChangeHandle&&this._yAxisChangeHandle.detach())}),e.SVGDrawing&&(e.SVGDrawing.prototype_closePath=function(){var t,n,r,i,s,o,u="",a=parseFloat(this._left),f=parseFloat(this._top),l=this.get("fill");if(this._pathArray){t=this._pathArray.concat();while(t&&t.length>0){n=t.shift(),i=n.length,r=n[0],r==="A"?u+=r+n[1]+","+n[2]:r==="z"||r==="Z"?u+=" z ":r==="C"||r==="c"?u+=r+(n[1]-a)+","+(n[2]-f):u+=" "+r+parseFloat(n[1]-a);switch(r){case"L":case"l":case"M":case"m":case"Q":case"q":for(o=2;o<i;++o)s=o%2===0?f:a,s=n[o]-s,u+=", "+parseFloat(s);break;case"A":s=" "+parseFloat(n[3])+" "+parseFloat(n[4]),s+=","+parseFloat(n[5])+" "+parseFloat(n[6]-a),s+=","+parseFloat(n[7]-f),u+=" "+s;break;case"C":case"c":for(o=3;o<i-1;o+=2)s=parseFloat(n[o]-a),s+=", ",s+=parseFloat(n[o+1]-f),u+=" "+s}}l&&l.color&&(u+="z"),e.Lang.trim(u),u&&(this._nodeAttrFlags.d=u),this._path=u,this._fillChangeHandler(),this._strokeChangeHandler(),this._updateTransform()}},e.SVGShape.prototype.initializer=function(e){var t=this,n=e.graphic,r=this.get("data");this._nodeAttrFlags={},this._nodeCSSFlags={},t.createNode(),n&&t._setGraphic(n),r&&t._parsePathData(r),t._updateHandler()},e.SVGShape.prototype.createNode=function(){var t=this,n=e.ClassNameManager.getClassName,r=e.config.doc.createElementNS("http://www.w3.org/2000/svg","svg:"+this._type),i=t.get("id"),s=t.name,o=t._camelCaseConcat,u=t.get("pointerEvents");t.node=r,t.addClass(n("shape")+" "+n(o("svg","shape"))+" "+n(s)+" "+n(o("svg",s))),i&&(this._nodeAttrFlags.id=i),u&&(this._nodeAttrFlags["pointer-events"]=u),t.get("visible")||(this._nodeCSSFlags.visibility="hidden"),this._nodeAttrFlags["shape-rendering"]=this.get("shapeRendering")},e.SVGShape.prototype._strokeChangeHandler=function(){var t=this.get("stroke"),n,r,i,s;t&&t.weight&&t.weight>0?(s=t.linejoin||"round",n=parseFloat(t.opacity),r=t.dashstyle||"none",i=e.Lang.isArray(r)?r.toString():r,t.color=t.color||"#000000",t.weight=t.weight||1,t.opacity=e.Lang.isNumber(n)?n:1,t.linecap=t.linecap||"butt",this._nodeAttrFlags["stroke-dasharray"]=i,this._nodeAttrFlags.stroke=t.color,this._nodeAttrFlags["stroke-linecap"]=t.linecap,this._nodeAttrFlags["stroke-width"]=t.weight,this._nodeAttrFlags["stroke-opacity"]=t.opacity,s==="round"||s==="bevel"?this._nodeAttrFlags["stroke-linejoin"]=s:(s=parseInt(s,10),e.Lang.isNumber(s)&&(this._nodeAttrFlags["stroke-miterlimit"]=Math.max(s,1),this._nodeAttrFlags["stroke-linejoin"]="miter"))):this._nodeAttrFlags.stroke="none"},e.SVGShape.prototype._fillChangeHandler=function(){var t=this.get("fill"),n,r;t?(r=t.type,r==="linear"||r==="radial"?(this._setGradientFill(t),this._nodeAttrFlags.fill="url(#grad"+this.get("id")+")"):t.color?(n=parseFloat(t.opacity),n=e.Lang.isNumber(n)?n:1,this._nodeAttrFlags.fill=t.color,this._nodeAttrFlags["fill-opacity"]=n):this._nodeAttrFlags.fill="none"):this._nodeAttrFlags.fill="none"},e.SVGShape.prototype._updateTransform=function(){var t=this._type==="path",n,r,i,s,o,u,a,f=this.matrix,l=this._normalizedMatrix,c,h=this._transforms.length;if(t||this._transforms&&this._transforms.length>0){s=this._x,o=this._y,i=this.get("transformOrigin"),u=s+i[0]*this.get("width"),a=o+i[1]*this.get("height"),t&&(this instanceof e.SVGPath||(u=this._left+i[0]*this.get("width"),a=this._top+i[1]*this.get("height")),l.init({dx:s+this._left,dy:o+this._top})),l.translate(u,a);for(c=0;c<h;++c)n=this._transforms[c].shift(),n&&(l[n].apply(l,this._transforms[c]),f[n].apply(f,this._transforms[c])),t&&this._transforms[c].unshift(n);l.translate(-u,-a),r="matrix("+l.a+","+l.b+","+l.c+","+l.d+","+l.dx+","+l.dy+")"}this._graphic.addToRedrawQueue(this),r&&(this._nodeAttrFlags.transform=r),t||(this._transforms=[])},e.SVGShape.prototype._updateTransform=function(){var t=this._type==="path",n,r,i,s,o,u,a,f=this.matrix,l=this._normalizedMatrix,c,h=this._transforms.length;if(t||this._transforms&&this._transforms.length>0){s=this._x,o=this._y,i=this.get("transformOrigin"),u=s+i[0]*this.get("width"),a=o+i[1]*this.get("height"),t&&(this instanceof e.SVGPath||(u=this._left+i[0]*this.get("width"),a=this._top+i[1]*this.get("height")),l.init({dx:s+this._left,dy:o+this._top})),l.translate(u,a);for(c=0;c<h;++c)n=this._transforms[c].shift(),n&&(l[n].apply(l,this._transforms[c]),f[n].apply(f,this._transforms[c])),t&&this._transforms[c].unshift(n);l.translate(-u,-a),r="matrix("+l.a+","+l.b+","+l.c+","+l.d+","+l.dx+","+l.dy+")"}this._graphic.addToRedrawQueue(this),r&&(this._nodeAttrFlags.transform=r),t||(this._transforms=[])},e.SVGShape.prototype._draw=function(){this._nodeAttrFlags.width=this.get("width"),this._nodeAttrFlags.height=this.get("height"),this._nodeAttrFlags.x=this._x,this._nodeAttrFlags.y=this._y,this._nodeCSSFlags.left=this._x+"px",this._nodeCSSFlags.top=this._y+"px",this._fillChangeHandler(),this._strokeChangeHandler(),this._updateTransform()},e.SVGShape.prototype._clearFlags=
+function(){var t;for(t in this._nodeAttrFlags)this._nodeAttrFlags.hasOwnProperty(t)&&this.node.setAttribute(t,this._nodeAttrFlags[t]);for(t in this._nodeCSSFlags)this._nodeCSSFlags.hasOwnProperty(t)&&e.DOM.setStyle(this.node,t,this._nodeCSSFlags[t]);this._nodeAttrFlags={},this._nodeCSSFlags={}},e.SVGShape.ATTRS.id={valueFn:function(){return e.guid()},setter:function(e){var t=this.node;return t&&(this._nodeAttrFlags.id=e),e}},e.SVGShape.ATTRS.pointerEvents={valueFn:function(){var e="visiblePainted",t=this.node;return t&&(this._nodeAttrFlags["pointer-events"]=e),e},setter:function(e){var t=this.node;return t&&(this._nodeAttrFlags["pointer-events"]=e),e}},e.SVGCircle.prototype._draw=function(){var e=this.get("x"),t=this.get("y"),n=this.get("radius"),r=e+n,i=t+n;this._nodeAttrFlags.r=n,this._nodeAttrFlags.cx=r,this._nodeAttrFlags.cy=i,this._fillChangeHandler(),this._strokeChangeHandler(),this._updateTransform()},e.SVGGraphic.prototype._redraw=function(){var t=this.get("autoSize"),n=this.get("preserveAspectRatio"),r=this.get("resizeDown")?this._getUpdatedContentBounds():this._contentBounds,i=r.left,s=r.right,o=r.top,u=r.bottom,a=s-i,f=u-o,l,c,h,p,d,v,m=this._shapes;t?t==="sizeContentToGraphic"?(d=this._node,l=parseFloat(e.DOM.getComputedStyle(d,"width")),c=parseFloat(e.DOM.getComputedStyle(d,"height")),h=p=0,this._contentNode.setAttribute("preserveAspectRatio",n)):(l=a,c=f,h=i,p=o,this._state.width=a,this._state.height=f,this._node&&(this._node.style.width=a+"px",this._node.style.height=f+"px")):(l=a,c=f,h=i,p=o);for(v in m)m.hasOwnProperty(v)&&m[v]._clearFlags();this._contentNode&&(this._contentNode.style.left=h+"px",this._contentNode.style.top=p+"px",this._contentNode.setAttribute("width",l),this._contentNode.setAttribute("height",c),this._contentNode.style.width=l+"px",this._contentNode.style.height=c+"px",this._contentNode.setAttribute("viewBox",""+i+" "+o+" "+a+" "+f+"")),this._frag&&(this._contentNode&&this._contentNode.appendChild(this._frag),this._frag=null)}),e.CanvasPath&&(e.CanvasPath.prototype.end=function(){return this._draw(),this})},"gallery-2014.01.28-00-45");
View
602 build/gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch.js
@@ -0,0 +1,602 @@
+YUI.add('gallery-stockindicators-3-15-patch', function (Y, NAME) {
+
+var defaultAxisLabelFormat = {
+ value: null
+};
+
+Y.CategoryAxisBase.ATTRS.labelFormat = defaultAxisLabelFormat;
+Y.CategoryAxis.ATTRS.labelFormat = defaultAxisLabelFormat;
+
+if(Y.SeriesBase) {
+ Y.SeriesBase.prototype.destructor = function() {
+ var marker,
+ markers = this.get("markers");
+ if(this.get("rendered"))
+ {
+ if(this._stylesChangeHandle)
+ {
+ this._stylesChangeHandle.detach();
+ }
+ if(this._widthChangeHandle)
+ {
+ this._widthChangeHandle.detach();
+ }
+ if(this._heightChangeHandle)
+ {
+ this._heightChangeHandle.detach();
+ }
+ if(this._visibleChangeHandle)
+ {
+ this._visibleChangeHandle.detach();
+ }
+ }
+ while(markers && markers.length > 0)
+ {
+ marker = markers.shift();
+ if(marker && marker instanceof Y.Shape)
+ {
+ marker.destroy();
+ }
+ }
+ if(this._path)
+ {
+ this._path.destroy();
+ this._path = null;
+ }
+ if(this._lineGraphic)
+ {
+ this._lineGraphic.destroy();
+ this._lineGraphic = null;
+ }
+ if(this._groupMarker)
+ {
+ this._groupMarker.destroy();
+ this._groupMarker = null;
+ }
+ };
+}
+
+//patch CartesianSeries destructor bug
+if(Y.CartesianSeries) {
+ Y.CartesianSeries.prototype.destructor = function() {
+ if(this.get("rendered"))
+ {
+ if(this._xDataReadyHandle)
+ {
+ this._xDataReadyHandle.detach();
+ }
+ if(this._xDataUpdateHandle)
+ {
+ this._xDataUpdateHandle.detach();
+ }
+ if(this._yDataReadyHandle)
+ {
+ this._yDataReadyHandle.detach();
+ }
+ if(this._yDataUpdateHandle)
+ {
+ this._yDataUpdateHandle.detach();
+ }
+ if(this._xAxisChangeHandle)
+ {
+ this._xAxisChangeHandle.detach();
+ }
+ if(this._yAxisChangeHandle)
+ {
+ this._yAxisChangeHandle.detach();
+ }
+ }
+ };
+}
+if(Y.SVGDrawing) {
+ Y.SVGDrawing.prototype_closePath = function()
+ {
+ var pathArray,
+ segmentArray,
+ pathType,
+ len,
+ val,
+ i,
+ path = "",
+ left = parseFloat(this._left),
+ top = parseFloat(this._top),
+ fill = this.get("fill");
+ if(this._pathArray)
+ {
+ pathArray = this._pathArray.concat();
+ while(pathArray && pathArray.length > 0)
+ {
+ segmentArray = pathArray.shift();
+ len = segmentArray.length;
+ pathType = segmentArray[0];
+ if(pathType === "A")
+ {
+ path += pathType + segmentArray[1] + "," + segmentArray[2];
+ }
+ else if(pathType === "z" || pathType === "Z")
+ {
+ path += " z ";
+ }
+ else if(pathType === "C" || pathType === "c")
+ {
+ path += pathType + (segmentArray[1] - left)+ "," + (segmentArray[2] - top);
+ }
+ else
+ {
+ path += " " + pathType + parseFloat(segmentArray[1] - left);
+ }
+ switch(pathType)
+ {
+ case "L" :
+ case "l" :
+ case "M" :
+ case "m" :
+ case "Q" :
+ case "q" :
+ for(i = 2; i < len; ++i)
+ {
+ val = (i % 2 === 0) ? top : left;
+ val = segmentArray[i] - val;
+ path += ", " + parseFloat(val);
+ }
+ break;
+ case "A" :
+ val = " " + parseFloat(segmentArray[3]) + " " + parseFloat(segmentArray[4]);
+ val += "," + parseFloat(segmentArray[5]) + " " + parseFloat(segmentArray[6] - left);
+ val += "," + parseFloat(segmentArray[7] - top);
+ path += " " + val;
+ break;
+ case "C" :
+ case "c" :
+ for(i = 3; i < len - 1; i = i + 2)
+ {
+ val = parseFloat(segmentArray[i] - left);
+ val = val + ", ";
+ val = val + parseFloat(segmentArray[i + 1] - top);
+ path += " " + val;
+ }
+ break;
+ }
+ }
+ if(fill && fill.color)
+ {
+ path += 'z';
+ }
+ Y.Lang.trim(path);
+ if(path)
+ {
+ this._nodeAttrFlags.d = path;
+ }
+
+ this._path = path;
+ this._fillChangeHandler();
+ this._strokeChangeHandler();
+ this._updateTransform();
+ }
+ };
+
+ Y.SVGShape.prototype.initializer = function(cfg)
+ {
+ var host = this,
+ graphic = cfg.graphic,
+ data = this.get("data");
+ this._nodeAttrFlags = {};
+ this._nodeCSSFlags = {};
+ host.createNode();
+ if(graphic)
+ {
+ host._setGraphic(graphic);
+ }
+ if(data)
+ {
+ host._parsePathData(data);
+ }
+ host._updateHandler();
+ };
+
+ Y.SVGShape.prototype.createNode = function()
+ {
+ var host = this,
+ getClassName = Y.ClassNameManager.getClassName,
+ node = Y.config.doc.createElementNS("http://www.w3.org/2000/svg", "svg:" + this._type),
+ id = host.get("id"),
+ name = host.name,
+ concat = host._camelCaseConcat,
+ pointerEvents = host.get("pointerEvents");
+ host.node = node;
+ host.addClass(
+ getClassName("shape") +
+ " " +
+ getClassName(concat("svg", "shape")) +
+ " " +
+ getClassName(name) +
+ " " +
+ getClassName(concat("svg", name))
+ );
+ if(id)
+ {
+ this._nodeAttrFlags.id = id;
+ }
+ if(pointerEvents)
+ {
+ this._nodeAttrFlags["pointer-events"] = pointerEvents;
+ }
+ if(!host.get("visible"))
+ {
+ this._nodeCSSFlags.visibility = "hidden";
+ }
+ this._nodeAttrFlags["shape-rendering"] = this.get("shapeRendering");
+ };
+ Y.SVGShape.prototype._strokeChangeHandler = function()
+ {
+ var stroke = this.get("stroke"),
+ strokeOpacity,
+ dashstyle,
+ dash,
+ linejoin;
+ if(stroke && stroke.weight && stroke.weight > 0)
+ {
+ linejoin = stroke.linejoin || "round";
+ strokeOpacity = parseFloat(stroke.opacity);
+ dashstyle = stroke.dashstyle || "none";
+ dash = Y.Lang.isArray(dashstyle) ? dashstyle.toString() : dashstyle;
+ stroke.color = stroke.color || "#000000";
+ stroke.weight = stroke.weight || 1;
+ stroke.opacity = Y.Lang.isNumber(strokeOpacity) ? strokeOpacity : 1;
+ stroke.linecap = stroke.linecap || "butt";
+ this._nodeAttrFlags["stroke-dasharray"] = dash;
+ this._nodeAttrFlags.stroke = stroke.color;
+ this._nodeAttrFlags["stroke-linecap"] = stroke.linecap;
+ this._nodeAttrFlags["stroke-width"] = stroke.weight;
+ this._nodeAttrFlags["stroke-opacity"] = stroke.opacity;
+ if(linejoin === "round" || linejoin === "bevel")
+ {
+ this._nodeAttrFlags["stroke-linejoin"] = linejoin;
+ }
+ else
+ {
+ linejoin = parseInt(linejoin, 10);
+ if(Y.Lang.isNumber(linejoin))
+ {
+ this._nodeAttrFlags["stroke-miterlimit"] = Math.max(linejoin, 1);
+ this._nodeAttrFlags["stroke-linejoin"] = "miter";
+ }
+ }
+ }
+ else
+ {
+ this._nodeAttrFlags.stroke = "none";
+ }
+ };
+
+ Y.SVGShape.prototype._fillChangeHandler = function()
+ {
+ var fill = this.get("fill"),
+ fillOpacity,
+ type;
+ if(fill)
+ {
+ type = fill.type;
+ if(type === "linear" || type === "radial")
+ {
+ this._setGradientFill(fill);
+ this._nodeAttrFlags.fill = "url(#grad" + this.get("id") + ")";
+ }
+ else if(!fill.color)
+ {
+ this._nodeAttrFlags.fill = "none";
+ }
+ else
+ {
+ fillOpacity = parseFloat(fill.opacity);
+ fillOpacity = Y.Lang.isNumber(fillOpacity) ? fillOpacity : 1;
+ this._nodeAttrFlags.fill = fill.color;
+ this._nodeAttrFlags["fill-opacity"] = fillOpacity;
+ }
+ }
+ else
+ {
+ this._nodeAttrFlags.fill = "none";
+ }
+ };
+
+ Y.SVGShape.prototype._updateTransform = function()
+ {
+ var isPath = this._type === "path",
+ key,
+ transform,
+ transformOrigin,
+ x,
+ y,
+ tx,
+ ty,
+ matrix = this.matrix,
+ normalizedMatrix = this._normalizedMatrix,
+ i,
+ len = this._transforms.length;
+
+ if(isPath || (this._transforms && this._transforms.length > 0))
+ {
+ x = this._x;
+ y = this._y;
+ transformOrigin = this.get("transformOrigin");
+ tx = x + (transformOrigin[0] * this.get("width"));
+ ty = y + (transformOrigin[1] * this.get("height"));
+ //need to use translate for x/y coords
+ if(isPath)
+ {
+ //adjust origin for custom shapes
+ if(!(this instanceof Y.SVGPath))
+ {
+ tx = this._left + (transformOrigin[0] * this.get("width"));
+ ty = this._top + (transformOrigin[1] * this.get("height"));
+ }
+ normalizedMatrix.init({dx: x + this._left, dy: y + this._top});
+ }
+ normalizedMatrix.translate(tx, ty);
+ for(i = 0; i < len; ++i)
+ {
+ key = this._transforms[i].shift();
+ if(key)
+ {
+ normalizedMatrix[key].apply(normalizedMatrix, this._transforms[i]);
+ matrix[key].apply(matrix, this._transforms[i]);
+ }
+ if(isPath)
+ {
+ this._transforms[i].unshift(key);
+ }
+ }
+ normalizedMatrix.translate(-tx, -ty);
+ transform = "matrix(" + normalizedMatrix.a + "," +
+ normalizedMatrix.b + "," +
+ normalizedMatrix.c + "," +
+ normalizedMatrix.d + "," +
+ normalizedMatrix.dx + "," +
+ normalizedMatrix.dy + ")";
+ }
+ this._graphic.addToRedrawQueue(this);
+ if(transform)
+ {
+ this._nodeAttrFlags.transform = transform;
+ }
+ if(!isPath)
+ {
+ this._transforms = [];
+ }
+ };
+
+ Y.SVGShape.prototype._updateTransform = function()
+ {
+ var isPath = this._type === "path",
+ key,
+ transform,
+ transformOrigin,
+ x,
+ y,
+ tx,
+ ty,
+ matrix = this.matrix,
+ normalizedMatrix = this._normalizedMatrix,
+ i,
+ len = this._transforms.length;
+
+ if(isPath || (this._transforms && this._transforms.length > 0))
+ {
+ x = this._x;
+ y = this._y;
+ transformOrigin = this.get("transformOrigin");
+ tx = x + (transformOrigin[0] * this.get("width"));
+ ty = y + (transformOrigin[1] * this.get("height"));
+ //need to use translate for x/y coords
+ if(isPath)
+ {
+ //adjust origin for custom shapes
+ if(!(this instanceof Y.SVGPath))
+ {
+ tx = this._left + (transformOrigin[0] * this.get("width"));
+ ty = this._top + (transformOrigin[1] * this.get("height"));
+ }
+ normalizedMatrix.init({dx: x + this._left, dy: y + this._top});
+ }
+ normalizedMatrix.translate(tx, ty);
+ for(i = 0; i < len; ++i)
+ {
+ key = this._transforms[i].shift();
+ if(key)
+ {
+ normalizedMatrix[key].apply(normalizedMatrix, this._transforms[i]);
+ matrix[key].apply(matrix, this._transforms[i]);
+ }
+ if(isPath)
+ {
+ this._transforms[i].unshift(key);
+ }
+ }
+ normalizedMatrix.translate(-tx, -ty);
+ transform = "matrix(" + normalizedMatrix.a + "," +
+ normalizedMatrix.b + "," +
+ normalizedMatrix.c + "," +
+ normalizedMatrix.d + "," +
+ normalizedMatrix.dx + "," +
+ normalizedMatrix.dy + ")";
+ }
+ this._graphic.addToRedrawQueue(this);
+ if(transform)
+ {
+ this._nodeAttrFlags.transform = transform;
+ }
+ if(!isPath)
+ {
+ this._transforms = [];
+ }
+ };
+ Y.SVGShape.prototype._draw = function()
+ {
+ this._nodeAttrFlags.width = this.get("width");
+ this._nodeAttrFlags.height = this.get("height");
+ this._nodeAttrFlags.x = this._x;
+ this._nodeAttrFlags.y = this._y;
+ this._nodeCSSFlags.left = this._x + "px";
+ this._nodeCSSFlags.top = this._y + "px";
+ this._fillChangeHandler();
+ this._strokeChangeHandler();
+ this._updateTransform();
+ };
+
+ Y.SVGShape.prototype._clearFlags = function() {
+ var key;
+ for(key in this._nodeAttrFlags) {
+ if(this._nodeAttrFlags.hasOwnProperty(key)) {
+ this.node.setAttribute(key, this._nodeAttrFlags[key]);
+ }
+ }
+ for(key in this._nodeCSSFlags) {
+ if(this._nodeCSSFlags.hasOwnProperty(key)) {
+ Y.DOM.setStyle(this.node, key, this._nodeCSSFlags[key]);
+ //this.node.style[key] = this._nodeCSSFlags[key];
+ }
+ }
+ this._nodeAttrFlags = {};
+ this._nodeCSSFlags = {};
+ };
+
+ Y.SVGShape.ATTRS.id = {
+ valueFn: function()
+ {
+ return Y.guid();
+ },
+
+ setter: function(val)
+ {
+ var node = this.node;
+ if(node)
+ {
+ this._nodeAttrFlags.id = val;
+ }
+ return val;
+ }
+ };
+
+ Y.SVGShape.ATTRS.pointerEvents = {
+ valueFn: function()
+ {
+ var val = "visiblePainted",
+ node = this.node;
+ if(node)
+ {
+ this._nodeAttrFlags["pointer-events"] = val;
+ }
+ return val;
+ },
+
+ setter: function(val)
+ {
+ var node = this.node;
+ if(node)
+ {
+ this._nodeAttrFlags["pointer-events"] = val;
+ }
+ return val;
+ }
+ };
+ Y.SVGCircle.prototype._draw = function() {
+ var x = this.get("x"),
+ y = this.get("y"),
+ radius = this.get("radius"),
+ cx = x + radius,
+ cy = y + radius;
+ this._nodeAttrFlags.r = radius;
+ this._nodeAttrFlags.cx = cx;
+ this._nodeAttrFlags.cy = cy;
+ this._fillChangeHandler();
+ this._strokeChangeHandler();
+ this._updateTransform();
+ };
+
+ Y.SVGGraphic.prototype._redraw = function() {
+ var autoSize = this.get("autoSize"),
+ preserveAspectRatio = this.get("preserveAspectRatio"),
+ box = this.get("resizeDown") ? this._getUpdatedContentBounds() : this._contentBounds,
+ left = box.left,
+ right = box.right,
+ top = box.top,
+ bottom = box.bottom,
+ width = right - left,
+ height = bottom - top,
+ computedWidth,
+ computedHeight,
+ computedLeft,
+ computedTop,
+ node,
+ key,
+ shapes = this._shapes;
+ if(autoSize)
+ {
+ if(autoSize === "sizeContentToGraphic")
+ {
+ node = this._node;
+ computedWidth = parseFloat(Y.DOM.getComputedStyle(node, "width"));
+ computedHeight = parseFloat(Y.DOM.getComputedStyle(node, "height"));
+ computedLeft = computedTop = 0;
+ this._contentNode.setAttribute("preserveAspectRatio", preserveAspectRatio);
+ }
+ else
+ {
+ computedWidth = width;
+ computedHeight = height;
+ computedLeft = left;
+ computedTop = top;
+ this._state.width = width;
+ this._state.height = height;
+ if(this._node)
+ {
+ this._node.style.width = width + "px";
+ this._node.style.height = height + "px";
+ }
+ }
+ }
+ else
+ {
+ computedWidth = width;
+ computedHeight = height;
+ computedLeft = left;
+ computedTop = top;
+ }
+ for(key in shapes) {
+ if(shapes.hasOwnProperty(key)) {
+ shapes[key]._clearFlags();
+ }
+ }
+ if(this._contentNode)
+ {
+ this._contentNode.style.left = computedLeft + "px";
+ this._contentNode.style.top = computedTop + "px";
+ this._contentNode.setAttribute("width", computedWidth);
+ this._contentNode.setAttribute("height", computedHeight);
+ this._contentNode.style.width = computedWidth + "px";
+ this._contentNode.style.height = computedHeight + "px";
+ this._contentNode.setAttribute("viewBox", "" + left + " " + top + " " + width + " " + height + "");
+ }
+ if(this._frag)
+ {
+ if(this._contentNode)
+ {
+ this._contentNode.appendChild(this._frag);
+ }
+ this._frag = null;
+ }
+ };
+}
+
+//addresses canvas chaining bug
+if(Y.CanvasPath) {
+ Y.CanvasPath.prototype.end = function() {
+ this._draw();
+ return this;
+ };
+}
+
+
+
+}, 'gallery-2014.01.28-00-45');
View
10 src/gallery-stockindicators-3-15-patch/build.json
@@ -0,0 +1,10 @@
+{
+ "name": "gallery-stockindicators-3-15-patch",
+ "builds": {
+ "gallery-stockindicators-3-15-patch": {
+ "jsfiles": [
+ "StockIndicatorsPatch3-15.js"
+ ]
+ }
+ }
+}
View
597 src/gallery-stockindicators-3-15-patch/js/StockIndicatorsPatch3-15.js
@@ -0,0 +1,597 @@
+var defaultAxisLabelFormat = {
+ value: null
+};
+
+Y.CategoryAxisBase.ATTRS.labelFormat = defaultAxisLabelFormat;
+Y.CategoryAxis.ATTRS.labelFormat = defaultAxisLabelFormat;
+
+if(Y.SeriesBase) {
+ Y.SeriesBase.prototype.destructor = function() {
+ var marker,
+ markers = this.get("markers");
+ if(this.get("rendered"))
+ {
+ if(this._stylesChangeHandle)
+ {
+ this._stylesChangeHandle.detach();
+ }
+ if(this._widthChangeHandle)
+ {
+ this._widthChangeHandle.detach();
+ }
+ if(this._heightChangeHandle)
+ {
+ this._heightChangeHandle.detach();
+ }
+ if(this._visibleChangeHandle)
+ {
+ this._visibleChangeHandle.detach();
+ }
+ }
+ while(markers && markers.length > 0)
+ {
+ marker = markers.shift();
+ if(marker && marker instanceof Y.Shape)
+ {
+ marker.destroy();
+ }
+ }
+ if(this._path)
+ {
+ this._path.destroy();
+ this._path = null;
+ }
+ if(this._lineGraphic)
+ {
+ this._lineGraphic.destroy();
+ this._lineGraphic = null;
+ }
+ if(this._groupMarker)
+ {
+ this._groupMarker.destroy();
+ this._groupMarker = null;
+ }
+ };
+}
+
+//patch CartesianSeries destructor bug
+if(Y.CartesianSeries) {
+ Y.CartesianSeries.prototype.destructor = function() {
+ if(this.get("rendered"))
+ {
+ if(this._xDataReadyHandle)
+ {
+ this._xDataReadyHandle.detach();
+ }
+ if(this._xDataUpdateHandle)
+ {
+ this._xDataUpdateHandle.detach();
+ }
+ if(this._yDataReadyHandle)
+ {
+ this._yDataReadyHandle.detach();
+ }
+ if(this._yDataUpdateHandle)
+ {
+ this._yDataUpdateHandle.detach();
+ }
+ if(this._xAxisChangeHandle)
+ {
+ this._xAxisChangeHandle.detach();
+ }
+ if(this._yAxisChangeHandle)
+ {
+ this._yAxisChangeHandle.detach();
+ }
+ }
+ };
+}
+if(Y.SVGDrawing) {
+ Y.SVGDrawing.prototype_closePath = function()
+ {
+ var pathArray,
+ segmentArray,
+ pathType,
+ len,
+ val,
+ i,
+ path = "",
+ left = parseFloat(this._left),
+ top = parseFloat(this._top),
+ fill = this.get("fill");
+ if(this._pathArray)
+ {
+ pathArray = this._pathArray.concat();
+ while(pathArray && pathArray.length > 0)
+ {
+ segmentArray = pathArray.shift();
+ len = segmentArray.length;
+ pathType = segmentArray[0];
+ if(pathType === "A")
+ {
+ path += pathType + segmentArray[1] + "," + segmentArray[2];
+ }
+ else if(pathType === "z" || pathType === "Z")
+ {
+ path += " z ";
+ }
+ else if(pathType === "C" || pathType === "c")
+ {
+ path += pathType + (segmentArray[1] - left)+ "," + (segmentArray[2] - top);
+ }
+ else
+ {
+ path += " " + pathType + parseFloat(segmentArray[1] - left);
+ }
+ switch(pathType)
+ {
+ case "L" :
+ case "l" :
+ case "M" :
+ case "m" :
+ case "Q" :
+ case "q" :
+ for(i = 2; i < len; ++i)
+ {
+ val = (i % 2 === 0) ? top : left;
+ val = segmentArray[i] - val;
+ path += ", " + parseFloat(val);
+ }
+ break;
+ case "A" :
+ val = " " + parseFloat(segmentArray[3]) + " " + parseFloat(segmentArray[4]);
+ val += "," + parseFloat(segmentArray[5]) + " " + parseFloat(segmentArray[6] - left);
+ val += "," + parseFloat(segmentArray[7] - top);
+ path += " " + val;
+ break;
+ case "C" :
+ case "c" :
+ for(i = 3; i < len - 1; i = i + 2)
+ {
+ val = parseFloat(segmentArray[i] - left);
+ val = val + ", ";
+ val = val + parseFloat(segmentArray[i + 1] - top);
+ path += " " + val;
+ }
+ break;
+ }
+ }
+ if(fill && fill.color)
+ {
+ path += 'z';
+ }
+ Y.Lang.trim(path);
+ if(path)
+ {
+ this._nodeAttrFlags.d = path;
+ }
+
+ this._path = path;
+ this._fillChangeHandler();
+ this._strokeChangeHandler();
+ this._updateTransform();
+ }
+ };
+
+ Y.SVGShape.prototype.initializer = function(cfg)
+ {
+ var host = this,
+ graphic = cfg.graphic,
+ data = this.get("data");
+ this._nodeAttrFlags = {};
+ this._nodeCSSFlags = {};
+ host.createNode();
+ if(graphic)
+ {
+ host._setGraphic(graphic);
+ }
+ if(data)
+ {
+ host._parsePathData(data);
+ }
+ host._updateHandler();
+ };
+
+ Y.SVGShape.prototype.createNode = function()
+ {
+ var host = this,
+ getClassName = Y.ClassNameManager.getClassName,
+ node = Y.config.doc.createElementNS("http://www.w3.org/2000/svg", "svg:" + this._type),
+ id = host.get("id"),
+ name = host.name,
+ concat = host._camelCaseConcat,
+ pointerEvents = host.get("pointerEvents");
+ host.node = node;
+ host.addClass(
+ getClassName("shape") +
+ " " +
+ getClassName(concat("svg", "shape")) +
+ " " +
+ getClassName(name) +
+ " " +
+ getClassName(concat("svg", name))
+ );
+ if(id)
+ {
+ this._nodeAttrFlags.id = id;
+ }
+ if(pointerEvents)
+ {
+ this._nodeAttrFlags["pointer-events"] = pointerEvents;
+ }
+ if(!host.get("visible"))
+ {
+ this._nodeCSSFlags.visibility = "hidden";
+ }
+ this._nodeAttrFlags["shape-rendering"] = this.get("shapeRendering");
+ };
+ Y.SVGShape.prototype._strokeChangeHandler = function()
+ {
+ var stroke = this.get("stroke"),
+ strokeOpacity,
+ dashstyle,
+ dash,
+ linejoin;
+ if(stroke && stroke.weight && stroke.weight > 0)
+ {
+ linejoin = stroke.linejoin || "round";
+ strokeOpacity = parseFloat(stroke.opacity);
+ dashstyle = stroke.dashstyle || "none";
+ dash = Y.Lang.isArray(dashstyle) ? dashstyle.toString() : dashstyle;
+ stroke.color = stroke.color || "#000000";
+ stroke.weight = stroke.weight || 1;
+ stroke.opacity = Y.Lang.isNumber(strokeOpacity) ? strokeOpacity : 1;
+ stroke.linecap = stroke.linecap || "butt";
+ this._nodeAttrFlags["stroke-dasharray"] = dash;
+ this._nodeAttrFlags.stroke = stroke.color;
+ this._nodeAttrFlags["stroke-linecap"] = stroke.linecap;
+ this._nodeAttrFlags["stroke-width"] = stroke.weight;
+ this._nodeAttrFlags["stroke-opacity"] = stroke.opacity;
+ if(linejoin === "round" || linejoin === "bevel")
+ {
+ this._nodeAttrFlags["stroke-linejoin"] = linejoin;
+ }
+ else
+ {
+ linejoin = parseInt(linejoin, 10);
+ if(Y.Lang.isNumber(linejoin))
+ {
+ this._nodeAttrFlags["stroke-miterlimit"] = Math.max(linejoin, 1);
+ this._nodeAttrFlags["stroke-linejoin"] = "miter";
+ }
+ }
+ }
+ else
+ {
+ this._nodeAttrFlags.stroke = "none";
+ }
+ };
+
+ Y.SVGShape.prototype._fillChangeHandler = function()
+ {
+ var fill = this.get("fill"),
+ fillOpacity,
+ type;
+ if(fill)
+ {
+ type = fill.type;
+ if(type === "linear" || type === "radial")
+ {
+ this._setGradientFill(fill);
+ this._nodeAttrFlags.fill = "url(#grad" + this.get("id") + ")";
+ }
+ else if(!fill.color)
+ {
+ this._nodeAttrFlags.fill = "none";
+ }
+ else
+ {
+ fillOpacity = parseFloat(fill.opacity);
+ fillOpacity = Y.Lang.isNumber(fillOpacity) ? fillOpacity : 1;
+ this._nodeAttrFlags.fill = fill.color;
+ this._nodeAttrFlags["fill-opacity"] = fillOpacity;
+ }
+ }
+ else
+ {
+ this._nodeAttrFlags.fill = "none";
+ }
+ };
+
+ Y.SVGShape.prototype._updateTransform = function()
+ {
+ var isPath = this._type === "path",
+ key,
+ transform,
+ transformOrigin,
+ x,
+ y,
+ tx,
+ ty,
+ matrix = this.matrix,
+ normalizedMatrix = this._normalizedMatrix,
+ i,
+ len = this._transforms.length;
+
+ if(isPath || (this._transforms && this._transforms.length > 0))
+ {
+ x = this._x;
+ y = this._y;
+ transformOrigin = this.get("transformOrigin");
+ tx = x + (transformOrigin[0] * this.get("width"));
+ ty = y + (transformOrigin[1] * this.get("height"));
+ //need to use translate for x/y coords
+ if(isPath)
+ {
+ //adjust origin for custom shapes
+ if(!(this instanceof Y.SVGPath))
+ {
+ tx = this._left + (transformOrigin[0] * this.get("width"));
+ ty = this._top + (transformOrigin[1] * this.get("height"));
+ }
+ normalizedMatrix.init({dx: x + this._left, dy: y + this._top});
+ }
+ normalizedMatrix.translate(tx, ty);
+ for(i = 0; i < len; ++i)
+ {
+ key = this._transforms[i].shift();
+ if(key)
+ {
+ normalizedMatrix[key].apply(normalizedMatrix, this._transforms[i]);
+ matrix[key].apply(matrix, this._transforms[i]);
+ }
+ if(isPath)
+ {
+ this._transforms[i].unshift(key);
+ }
+ }
+ normalizedMatrix.translate(-tx, -ty);
+ transform = "matrix(" + normalizedMatrix.a + "," +
+ normalizedMatrix.b + "," +
+ normalizedMatrix.c + "," +
+ normalizedMatrix.d + "," +
+ normalizedMatrix.dx + "," +
+ normalizedMatrix.dy + ")";
+ }
+ this._graphic.addToRedrawQueue(this);
+ if(transform)
+ {
+ this._nodeAttrFlags.transform = transform;
+ }
+ if(!isPath)
+ {
+ this._transforms = [];
+ }
+ };
+
+ Y.SVGShape.prototype._updateTransform = function()
+ {
+ var isPath = this._type === "path",
+ key,
+ transform,
+ transformOrigin,
+ x,
+ y,
+ tx,
+ ty,
+ matrix = this.matrix,
+ normalizedMatrix = this._normalizedMatrix,
+ i,
+ len = this._transforms.length;
+
+ if(isPath || (this._transforms && this._transforms.length > 0))
+ {
+ x = this._x;
+ y = this._y;
+ transformOrigin = this.get("transformOrigin");
+ tx = x + (transformOrigin[0] * this.get("width"));
+ ty = y + (transformOrigin[1] * this.get("height"));
+ //need to use translate for x/y coords
+ if(isPath)
+ {
+ //adjust origin for custom shapes
+ if(!(this instanceof Y.SVGPath))
+ {
+ tx = this._left + (transformOrigin[0] * this.get("width"));
+ ty = this._top + (transformOrigin[1] * this.get("height"));
+ }
+ normalizedMatrix.init({dx: x + this._left, dy: y + this._top});
+ }
+ normalizedMatrix.translate(tx, ty);
+ for(i = 0; i < len; ++i)
+ {
+ key = this._transforms[i].shift();
+ if(key)
+ {
+ normalizedMatrix[key].apply(normalizedMatrix, this._transforms[i]);
+ matrix[key].apply(matrix, this._transforms[i]);
+ }
+ if(isPath)
+ {
+ this._transforms[i].unshift(key);
+ }
+ }
+ normalizedMatrix.translate(-tx, -ty);
+ transform = "matrix(" + normalizedMatrix.a + "," +
+ normalizedMatrix.b + "," +
+ normalizedMatrix.c + "," +
+ normalizedMatrix.d + "," +
+ normalizedMatrix.dx + "," +
+ normalizedMatrix.dy + ")";
+ }
+ this._graphic.addToRedrawQueue(this);
+ if(transform)
+ {
+ this._nodeAttrFlags.transform = transform;
+ }
+ if(!isPath)
+ {
+ this._transforms = [];
+ }
+ };
+ Y.SVGShape.prototype._draw = function()
+ {
+ this._nodeAttrFlags.width = this.get("width");
+ this._nodeAttrFlags.height = this.get("height");
+ this._nodeAttrFlags.x = this._x;
+ this._nodeAttrFlags.y = this._y;
+ this._nodeCSSFlags.left = this._x + "px";
+ this._nodeCSSFlags.top = this._y + "px";
+ this._fillChangeHandler();
+ this._strokeChangeHandler();
+ this._updateTransform();
+ };
+
+ Y.SVGShape.prototype._clearFlags = function() {
+ var key;
+ for(key in this._nodeAttrFlags) {
+ if(this._nodeAttrFlags.hasOwnProperty(key)) {
+ this.node.setAttribute(key, this._nodeAttrFlags[key]);
+ }
+ }
+ for(key in this._nodeCSSFlags) {
+ if(this._nodeCSSFlags.hasOwnProperty(key)) {
+ Y.DOM.setStyle(this.node, key, this._nodeCSSFlags[key]);
+ //this.node.style[key] = this._nodeCSSFlags[key];
+ }
+ }
+ this._nodeAttrFlags = {};
+ this._nodeCSSFlags = {};
+ };
+
+ Y.SVGShape.ATTRS.id = {
+ valueFn: function()
+ {
+ return Y.guid();
+ },
+
+ setter: function(val)
+ {
+ var node = this.node;
+ if(node)
+ {
+ this._nodeAttrFlags.id = val;
+ }
+ return val;
+ }
+ };
+
+ Y.SVGShape.ATTRS.pointerEvents = {
+ valueFn: function()
+ {
+ var val = "visiblePainted",
+ node = this.node;
+ if(node)
+ {
+ this._nodeAttrFlags["pointer-events"] = val;
+ }
+ return val;
+ },
+
+ setter: function(val)
+ {
+ var node = this.node;
+ if(node)
+ {
+ this._nodeAttrFlags["pointer-events"] = val;
+ }
+ return val;
+ }
+ };
+ Y.SVGCircle.prototype._draw = function() {
+ var x = this.get("x"),
+ y = this.get("y"),
+ radius = this.get("radius"),
+ cx = x + radius,
+ cy = y + radius;
+ this._nodeAttrFlags.r = radius;
+ this._nodeAttrFlags.cx = cx;
+ this._nodeAttrFlags.cy = cy;
+ this._fillChangeHandler();
+ this._strokeChangeHandler();
+ this._updateTransform();
+ };
+
+ Y.SVGGraphic.prototype._redraw = function() {
+ var autoSize = this.get("autoSize"),
+ preserveAspectRatio = this.get("preserveAspectRatio"),
+ box = this.get("resizeDown") ? this._getUpdatedContentBounds() : this._contentBounds,
+ left = box.left,
+ right = box.right,
+ top = box.top,
+ bottom = box.bottom,
+ width = right - left,
+ height = bottom - top,
+ computedWidth,
+ computedHeight,
+ computedLeft,
+ computedTop,
+ node,
+ key,
+ shapes = this._shapes;
+ if(autoSize)
+ {
+ if(autoSize === "sizeContentToGraphic")
+ {
+ node = this._node;
+ computedWidth = parseFloat(Y.DOM.getComputedStyle(node, "width"));
+ computedHeight = parseFloat(Y.DOM.getComputedStyle(node, "height"));
+ computedLeft = computedTop = 0;
+ this._contentNode.setAttribute("preserveAspectRatio", preserveAspectRatio);
+ }
+ else
+ {
+ computedWidth = width;
+ computedHeight = height;
+ computedLeft = left;
+ computedTop = top;
+ this._state.width = width;
+ this._state.height = height;
+ if(this._node)
+ {
+ this._node.style.width = width + "px";
+ this._node.style.height = height + "px";
+ }
+ }
+ }
+ else
+ {
+ computedWidth = width;
+ computedHeight = height;
+ computedLeft = left;
+ computedTop = top;
+ }
+ for(key in shapes) {
+ if(shapes.hasOwnProperty(key)) {
+ shapes[key]._clearFlags();
+ }
+ }
+ if(this._contentNode)
+ {
+ this._contentNode.style.left = computedLeft + "px";
+ this._contentNode.style.top = computedTop + "px";
+ this._contentNode.setAttribute("width", computedWidth);
+ this._contentNode.setAttribute("height", computedHeight);
+ this._contentNode.style.width = computedWidth + "px";
+ this._contentNode.style.height = computedHeight + "px";
+ this._contentNode.setAttribute("viewBox", "" + left + " " + top + " " + width + " " + height + "");
+ }
+ if(this._frag)
+ {
+ if(this._contentNode)
+ {
+ this._contentNode.appendChild(this._frag);
+ }
+ this._frag = null;
+ }
+ };
+}
+
+//addresses canvas chaining bug
+if(Y.CanvasPath) {
+ Y.CanvasPath.prototype.end = function() {
+ this._draw();
+ return this;
+ };
+}
+
View
0  src/gallery-stockindicators-3-15-patch/logs/yogi.stderr.log
No changes.
View
25 src/gallery-stockindicators-3-15-patch/logs/yogi.stdout.log
@@ -0,0 +1,25 @@
+yogi [info] using yogi@0.1.9 on node@0.8.3
+yogi [info] using module: gallery-stockindicators-3-15-patch
+yogi [info] running with shifter
+shifter [info] racing to find the closest .shifter.json file
+shifter [info] revving up
+shifter [info] looking for build.json file
+shifter [info] found build.json file, shifting
+shifter [info] putting the hammer down, let's build this thing!
+shifter [info] munging in loader meta data into build.json
+shifter [info] putting the hammer down
+shifter [info] shifting into gear for gallery-stockindicators-3-15-patch
+shifter [queu] writing RAW file
+shifter [queu] compressing gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch.js with UglifyJS
+shifter [queu] writing -min file
+shifter [info] shifting for coverage
+shifter [queu] coverage file read, starting coverage for: gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch.js
+shifter [info] istanbul providing coverage
+shifter [queu] instrumenting with istanbul
+shifter [queu] writing coverage file to gallery-stockindicators-3-15-patch/gallery-stockindicators-3-15-patch-coverage.js
+shifter [info] done racing, the gears are toast
+shifter [info] finished in 0.337 seconds, pretty fast huh?
+yogi [info] build complete
+yogi [info] testing module now
+yogi [info] prepping grover tests
+yogi [bail] seems this module does not have tests, you should add some :)
View
4 src/gallery-stockindicators-3-15-patch/meta/gallery-stockindicators-3-15-patch.json
@@ -0,0 +1,4 @@
+{
+ "gallery-stockindicators-3-15-patch": {
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.