码迷,mamicode.com
首页 > Web开发 > 详细

js制作简单的趋势图

时间:2014-09-02 12:05:15      阅读:725      评论:0      收藏:0      [点我收藏+]

标签:des   android   style   blog   http   color   os   io   java   

一、加载js文件

bubuko.com,布布扣
1 ZC={AG:function(l,e){if(l.indexOf){return l.indexOf(e)}else{for(var h=0,a=l.length;h<a;h++){if(l[h]==e){return h}}return -1}},VERSION:"0.130812",CHARTS:["null","null3d","line","line3d","area","area3d","bar","bar3d","vbar","vbar3d","hbar","hbar3d","scatter","bubble","pie","pie3d","nestedpie","mixed","radar","bullet","vbullet","hbullet","funnel","vfunnel","hfunnel","piano","stock","range","gauge","venn"],EQUIV:{floatbar:["vfloatbar","hfloatbar"]},cache:{data:{},size:0,add:function(e,f){ZC.cache.data[e]=f;ZC.cache.size++;if(ZC.cache.size>2*1024){for(var g in ZC.cache.data){if(ZC.cache.data.hasOwnProperty(g)){if(g.indexOf("text-width-")==0||g.indexOf("path-points-")==0){ZC.cache.data[g]=null;delete ZC.cache.data[g]}}}ZC.cache.size=0}}},DEBUG:0,TS:{},MAX:Number.MAX_VALUE,IMG404:[],SEQ:0,BLANK:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",IMAGES:{"zc.logo":"data:image/gif;base64,iV","zc.menu-item":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjbQg61aAAAANklEQVQYV2NgAAK/wCAGc2t7KLYD0kBsBcFmKNgWyAdiSwQ2BbIh2AaCLRDYBMg2sbBGYHNrAPhFEmI4BJ+zAAAAAElFTkSuQmCC","zc.menu-item-hover":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjbQg61aAAAAZElEQVQYVwXBUQbCAAAA0PddnavbTEnJSJJIMisz01oiIhERMZHEkm7QbfaeRrOlXf7Z/dh+yT9sKrI36YvkyfpBXBLdWd5YXJlfmJ2ZnpgcGR8Y7QkLhjmDjH5KL6G7ohMTRDV0SCDzyIdIlgAAAABJRU5ErkJggg==","zc.wm1":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI4AAAAeCAYAAAD6myZLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADfVJREFUeNrsWglYFEcWnp6DAeQSvFCEGCMi3sYLNcZEg5pEsopoogKKJwYlqBHFmEQwRlGiHNH4uRiPrK63xsS4up6JF1Fj8EI8Ip6oyD0Mw0x3572eardS2wNks9k1X6a+r76e7qp+VfXe//73umo4URRV9mIvv7ao7SqwFztw7MUOHHuxA8de7MCxF3uxA8de7MCxFztw7OUPUbTVtHEUuDjqKheBVJGqT0PhqKv8m54fx/QXmWtNsjlKH6xOWF2IREeq36AjdjyVgmyVwlp/7XgcoztWN2JtgSODRkuqhlKUDBoLqTSInhYmpRVNA5yjnovU3H+NgjWUTjSMQVEWT6pAXcXfABjaBrJRWbkc+c1T9T/Rm4bRm+L8tbVQkA6qI7nSwJFBU0WBR7Th5UpFtIF2Je9nPUCJNUTGqFoyX3xuJnOknUHNOABfA/PQoJP14kCqjjFcFbmaFRyLU2AFjqkiM1d5LHpNMjjoeclrrSJXXkG+ks7k93Wkyrioouov7FkTcLDdsd7omamPywwj6EYHrfb2wE6Bk3bGTzxNJskCR1AIA5yN0ECHQpGhYbUCoGhFsGyCC9fjtc6IuI16nTavcO3iqZRs7TOT5o5/WFIWUrFx2ZvEsGZmDez82Plo1ENjboqi6MEqrY7e4dLaqZGRQxev+h50lG3alNqPMqASM9CA1ygAR1qPf8y8mKv3H86Qx2no4bopP3NhAv6OTF/Xft3hU9ud9Q4XDRuWhsCjSqhGYnCaBFimFSlm1soEAXr70mS2NLVsSW8N9wYlBqsN42i1GrXG3dnpZPH6JRPJc77xuIT39/+Ykwy/XyOLExg2YD2M9iY2N1LXABzORn9WCRoKOA5atVqDlXir3Efn5KDTaTUafO5CgYb2UDZHoFlJMrqwNaM54gSqG8pxHzV9bamxsqV/44YHQ7t3qBS3fdqKyHRmgCCvRQasSDkpG/Yk4PiMnzP/bmHx0Da+jVPPL52TGRibNObynfw4GNO35IuUCWAbNDigWVqrO1m/lgBIpACopXTGUzpTU5FFS+RgcSJzNDGArhE4EhLVnBoKx9Ee0aNls/3bTp4LI8IFr8iZqYXlhgH4opuT44nPY8JjZ32xa9iNBwUTALldd2Vle/xl0cqTzRp4Zd5Ykbi4Z0JK/5O5PyXyWzM6ghyvqIz1aaD4IHzft57nqryVSYtwnEZjZy0oKjf2qLJYmr77Rr8+yRGD7/hNnBt/q6BwvDzW6pjwqWCsYvC8tpuOnUkDb/Fx1OnuSgzgqL/DULwWUQPyfF1HTttZXmlqhez5UpsW7+2dG/OtR/iMDPDcW/f+umCB5NlRs2YVlVf0rNqc9iLRi4UBsKZrfHIkggbmcuXsklnrwaG8ghPTDyP7lG9YOvztVZtaL9979O8ujvrLFl5wqzSbm2Db394ZE/VG13bFiVv2+Cbv2L/MYKoKxHmD5UpxXtMG9Q3XgPIRNJ4udbIANKtx/Eupc5frh8cORX0NS8nsATo1SUmPILgDW3xdYaryJo4egfPs/d7S17Ou3ZyOeiEAK508oPektLFh50EHm41V5ib+jRvsAjCG13dzOVNmrAyQABD6du5nE99qPTG4l4FND9S1SdAAM4Aa7hdJ5cncm8G4eDQEeMAkg8nU5svZk4J2z47ugQuIXb0lfkDHwLPw223muh3dMg8c74svQsjrhfYuKCvvVM/NJQttG/f51tkaWA146fMpo4cMelBSOrDLzEXh6K1atWTkph+NCBkAoHmEz7H9k9GhIdgfmQPfRzkIGjD6XXjeuctzfuvQQDh3htGk9aASn21Ybz/07dC8Ub2t/8y+kr779PmG3nXdciCMjSBs4gwGfLFRXbc9NsKIZunug34//HR7FD4ABS+gKR3dDWUAYCRGgPn4HEqMnYzGQZAs++rgYHjssWTXgTS8H/NyUOyyqKHvYD/s7+qkdz6WcwP1pWrg7pJDQIsgMUII7AFzf27z9LEn5PHMFt71SFLc1AburmdLKozde81JGY1iTuTeSESbnFr47uBerZpnok0OXcjFSOGG7IL3CBqUsTshOglAlwvgLQP5bWFNJUr5aq33cYBNugICT0M9AzU7v7g0eGTvrh8i2wCrhIERtgzq3Lbs9c5tynoGNF9zv6j0FUD0dfTCvEeFz8L7zXQaTTl6JjCNd35Rafem9epeRXq8XVA0ZHy/niuQLsHLHgQ0abjj9uOinngPTKdGT00I7Z+P99cfFAwI9PHeGTfo5UcYggZ3a7/hflHJK/Hrd3ZAMIx5KSgDF3l0ftx2fM/WehD0P36SkInzBw/Gq2r9kax2qWPDdqEiAYzPA3M0Au9t3a3FM8eVQINOM3/r3veARVxbeDdYA8A+g0YFoJuJ10k5F+RZGAZUMJ/87v7NTLDu65Khed4racs3HdHD0Vir3x51Dgz1sG4d51ySR+oARO5SzHBwKKUSbjq0CiL5U5WLkz6/c3Nfg4+XxzWrfMETXzVvTn8dxt0MzDcSANLHKluDc3JCRsD7fu0ClgBQ+sBaH4v/+pMWz6QVtf4ctwZ4EFTXxfkUJJnjSMJVSQRKcRMNFujT6DJRpgr6lqLyUXd+DTzPXL3/KKDIUNG407NN9526enPIR9v29kUA9e/QKhko3BffSd65fw3UJ2MiNcvAhtBSKjOg0WT2AQ/vBuCNoecITCYlqsBYOTKtguLLbG5gaSSZT/YtMDzgj+D2rcpcnRxzvr18vcfRS9dEMPqdLTPGXaCUpyG5gEuH6Qti0KHQOXIzPlhGGIEjLPdkKMwRaWflSDt4uzr33sOmrD0AJAYrY3EcMCi9BvmL8Rf5n8D8G0+Wr9Oosa9T3YgZK4oNxhYEvA+ofEgnvzM3bOB+wmaCWIu9rZqAY00ERUHgAQlEsJyxCyTp1GPMLCgzuMg0fT3/kTcqHEH/TH2vi2CASPDcxr0Dn8vIvf/wWtbVvF5IhRB+zoNXY/KoOvDh1L4vt21ZznxtCAIOLkiKwbHVEPNLBnZqnb5nzuRDdDI+Y+12f7xCiPRPjQrDEKoGz3cFz/q3jUpUtIXn3ajnPOYe7s6OhWj8Ft71D9x8+LgrrKGsiafHPmZOUiIJOVv9i7fvYyhQhQZ1XE714VBhlA4tEEKkrQBYhbQOGJsnOYngUcephLCPK5kPByzjIr3IC3w7vyY5312+rgLW7gqPVhHQaiDHOYghfOGoN14lclWCddwn8vE5sExHBA048zVw/On9PkwLPXD+SgToQEr45XchzzGSLyjRWp4k0Ip7UOoaQCNY5y8KZCAjVWUAVcKkvv7+Wt5YyBFcsV66kz/Ur77nJmyHJOwoxFt/UIzLpOAXjgGNZkEO0cnLtc4paK94pX3AA0xwI9LWRaP+pmZu8Xd8M3Z3q6mJEZISELLWsRE4piZeHt8cvXg1AgDnhBWSu889I99NXRI55ByCdeO3pyNx7kGzlwzGBFNUiSK7IcfzooA5BeRLodi35ZR5YwH8JauiR55FRoVQewwYrAvMswsY7jh5V96PkcLU2OVfzMMQBfnRlxBiTtBKxjkTpsb7SjBKFXVfYbYIEpCqLLw5fdyw4/CVdw8TWjByZwiXPpCM+1vbLeZPxw//DtkXma1t3EdR6Oygm2gEDTzfGz84OA+AZlaSb4L3IQQ+pkBlBLC3JfkQ9jGSd1Sgqyd2lZ8p7APVGjhSTK0yWyyIfoJIo2xEuc4b/loSsGpxyMefncCKv6+kf5CG/SFBvov7C8hKQS2b3Wro7vYDCver77ULLkjD5Z9OGB4NhgqA8HM2fc/hDdD//OW099Ot+QJvIR6E41aA3FRoz8avFqy4yOj+L2BybAgL6jSlpKKyFcg5dz7v7hD8WiLeb6bAYwGl89iWnXcvCvpeuPmwcBjuSckbZ5CbZePXDXrdjvgJR9hP9dSvD7nCfPtb2bUgBGRkQb0E9brTm+/sgNBtoQxZDkCosBpPYu0yMLQEJAAL6s8w5dU+CRjuIGwvjl65MRlYspxuf7w2OQK+elIu3LoXi/llzt0H0wCwi+H5ZNQLMEqlLfkLRoacgZxqOzovvLvP0UGXh23ZeXff+se5y2ryjqqwzPCEFCC5/gpTDVzPwh373Jj9OSvNV/NndXqrW0t9ilqoT1K5TU/ClobqR1O70na5hUG03EektrpFGxtwWuYrh2eSVrlN3sU1UXsm1c2XI2246ZlRR6+/lbcyKRGNT5xGoPY7nIgMeQfarHAEwCncs/tkDpQ8rFqP8Bkr0ND4JQkfBVfI/Ok9F8HGBqKakU+3KW2y8tTczQqyaP1Z6KMZbS0YhzYMeyZFb9NbFM44xGoO6NjdVE01Z0iiQl9NNbugamZe7JECPV96w1EC5LQ127yRUUb27vICCck0KHg5iSRtahubmqoajknkTTdeGzblDHp4n9YtFs0fEXLEYDJJOSIBTQWzkccxRhdtHELbOphVKehNoI5k6LM+kTlOqnVyLFRzwst+svHMmZJg47xJZQMMahsnvEoGsDAeLdo4kxEZBdHgNyswANcwatZkyG3mAl0vhyT7CsVWArNeSy1Ox5WOVlTMOsQ2vt7x8OUZc/ji1fhec1LicfMOQufHBDQVxOsFhcPU2pz3cdW02zr9VtKtqrah6s9U2EM+OoSZbXndf+EEXw5VelLpECvnkFVsmHja/4/zZysik5fR7PJ7/GVEpJhPHkvNhA4LE9LtwHkKQUMDhVP9/n9QY3OMKoVQ/7T9Sc4OHBuGFP9PYwp/NGXZ/3NsL3bg2Mv/rvwswABesoq0nEnfbwAAAABJRU5ErkJggg==","zc.wm2":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI4AAAAeCAYAAAD6myZLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADCFJREFUeNrsWglsVccV/f/9/70vrA4Fm82GOIAhUWqCG1QaEFEhrWhZwr41lNAiQgtqACVpgCy0LC0NYTUgKCnFIBZBEFAoooBJI/YlMUvY94AdbLPZ+P/Xc9wZ62b6vu3QpqXKG+nqvdnu3Ln3zJ07857Xtm2Pm9z0VZPXBY6bXOC4yQWOm1zguMkFjpvc5ALHTS5w3OQCx03/38CxLKu8XpClnky2opB4f6TmZTztMPV2mPqqeEt9eEWd7fC0/00deR1I8wqFmdPDjmfOR/LzhEKhagFHM/EJsgQzcgkqChmT+F+DRhvWEgrWCjAN8FXAb+rEUk+p7FAYehhjesUYPjGW7aBzr2GX0EMsCMtBbxXyVxc4WuAAKALkd2BYBnqgBHVSTGWC25UgvSoPEW5V6Mn7hWG1nFqRllEXEsquTGbbMGRAkARPUOlEj1smDOokswlmc956LL8iEzi2sRDKhF1CYfjbxpw8Qm+abMGn3MYSOFYVKKTQEQUFBbPQ6QbouqIbJSUlB7du3foM6qNAkYKiFEVUQoEw5ZFGm0AVfSMdyjh2NCjmzp07H966dWuOAD4pcPny5Zfv3r27Ee+xqq2WXYLBb5BPbE9WMBi8CD0UKH1cAV0mge+2IUOGNMD7F9DRbqEfLVe0KDPnLttoiiGdO3fuV2qsa3zeuHHjD7p+7dq17VB28969ezuQj1d9ohx4S4o0xoxVfePJp6ys7Kwqj3DwqpUCp2J1QUlWcXHxHjihZqDmoLTCwsLc9u3bzxADm085cf2M1YowFBhVCUUbk9XPaIc2X1I25X7w4IFesdpT+O/fv++Hoi1DTielSkB9yeP6fL5G0EM9UCooAyD9lBUw8F+WLFlyF2VNIiMjf6D46bnHCYoNo59Ys+3169d/37Bhw/GnTp2aThucOXNmau3atfsVFRXlkD9sQRk9MLbPgX+UkCFOgSPOGCdePskHO5FX9fM74oRblRN5vV4/KA6U9Pnnn/8Zwu3B++OgdFCzzZs3D7LJ3ettDGqI+g9tlQCy3YMHD259/vz5KTDeLdQ3GjhwYBvWXbp0aR7zBw4c+Jmqqz906NAM9tH9r169OgflyaAGN2/e/FNpael5ls+bNy+L5ayXY7E/y1evXv2CbgtwXCRRds4BlACKB9U+ceLEeHiDCzD2MbZln127dvWlLLdv316PPu/j/TESvO17qD+kdBGl9BKh+NWjLo4ePTpTyfIp8i179OiRyTxW7lHkU5ctW/Yj5jkeZdJ11Al1MX369O8yz3IpV3Z2ds/58+f34rvSf5rSd4qe56ZNmwbPnTv3RcXzEonvAFUu7UK97Nu37+fkq3UGYBQuXbr0x5SNYzF/+vTpRazDfP9uizR27NjmaBcNsiQ+qgIOFf2YAE66ojSWacV89tlnUylY//79n+zbt+9TLL927doKCsfBOfnt27ePEcptgZWZnZ+fv4n9AYQczX/SpEmdyAvGeI11HIf9pk6d2gH5pixn/ZtvvtmZ7dmP/fHenOVKYel79+6dyH4KODRwDWXsOnl5eRNYBwBNp+GhtN8SxJRdvysDNYKhj2Aub6m+EjiJBDbloOL1PDm2Bg5A+AmBpA3Ldp06deqIeX/MPGVEfSu2Y37lypXDX3311a6a34wZMwZggc3iO7zMQs6fY6qFkKQWV5rmD+9a1KFDh+c1f/T9NRc7+emx9+/f/z7r4L0Wo6417SGBwjbQYR7bU/+gugo4XokPq7ohd0JCQhbce56iU3CVXdatW/canVZKSkqfixcvrli+fHnRihUriiBwdp06dbpgrz8JpeShvmliYmJTCFMcFxf3RMeOHeuh/7NwwXncQ+vVq/ci+s6kW5w4ceJVgGpl/fr12zPP7QZxwyfjxo27wq0GLvsFKHHV5MmTr7J+y5YtS+rWrfv9OXPmPBkREZGyatWq31Hetm3b5rBfmMCfHulYenr6fMqflpbGp2fQoEGtMc4q1CcuXLjw6e7duydhu8k4ePDgbmOPrzjpjBkzZhK2rYQLFy5kjxgxYj/KSgKBQFC09cM70N17IM8VLKC7mPeJ8gDS56s9bdq0p2JjY1tQT717996L/DUshuOsZ7+oqKhEvmNRFKrAWwesOuAPcT6a/86dO28D6Cc1f261kOe5Q4cOfTBz5syfpKamdmYdQEaZotSW5NmzZ8874PM05CsgRkSg73ga9FcXOIxxYPxBSuhSJXR54EiDwesc03shAtIiKpPKhjf4uEmTJi0AvGSs9A0ZGRn9Xn/99ecJoG3btr01fvz4RuwDpeeAKsYD6j/S/AC4Ih13wZApMDhBPEbKByDW4HPYsGF5uq3o9y+Jq1PGc7ottrtixitZWVnPkmC8i127dj0iFGipgDH6+PHjr3BBsX3jxo2nKUV7IZtXhQHlpyIVZ+m8pY3FWAKGbCTbsj/GLNZlAEOxcVjxidOV00msInHRETgA4h/j4+PTFbiuinjIr2V5++23N+uTmABO2FSVx7EVojUzAqYEdF8R30uhqMKaNWsm6BUAr9CACqd8WInHkpOTM5OSkjLhHo8DECdat279HCZVNHr06MMnT57M50DdunXLwjitQC1Aj9eoUWMwJwIAlo+vVxkmegvxyC9VW1IG6Qsk8lm8eHG6lsPv9ycoueWdhs0VilWYIMAQZFvIVsB3yLwFHi8LXrMltrpNxtG3/Ng6YMCAOjD6T8kQ8d5MebSnzOVo/OfYQSysMuXpWF6qnvQIIYx5i++QJ17Lg/bx5ava7w8CnOVek/II0EbCA+2F3i/B4A21xzH5MyG+yiRoqHeUdzh8+PAGPTb1qUECr0d73qNdDY/jeB9kVQUaduYgaqASQRpEpRBqQ5s2bYb36dMnsV+/fgnNmjXrfeXKleUUYsGCBTvoXaCEeAS3u+CmP6pVq1ZbxiasX7NmzQ246Vy0+wUnghNJOraRbdiOXtJKUIrheKVwwxszMzNfwjYSQ0LfFeA1H97qIMEKAA6j8NheesXExLQUwKkglmELaHXkyJHenCfGGgEgF0L+AwQoYo9d8K7tIGc7eMnd4qKz4i5n1qxZ79KrIthf3atXr1x5EYq5SuCUwkuWiXyJBhKf2M53Y76XIU8DGPmZkSNHpsCLPcF69kMAvYvel54NMdnLxBO8+ygArSHKN8J7n0PfsPzh/QsEqEqaN2/+lAYl8xpkAJd2CCyzhd48jl6tkuDYUsFgPIyzBJPbIQJEn6pnkBg3YcKENLjAnTrA4rsKSEn1GWCqgLNZbm7uK2yDPXeEqk8aNWoUwXJE9ycQUf4tBuZ0swi2/8bTEANbddL5QLdlv9mzZ3+HQeP69eu76NMGA3S+wxEtU4FxjAryGI+MZZ1uyye2zc4q4GTw2ZSBtgoQk1X/CBUYR7/xxhupdpiEfoeHDx/eUsvGADsnJ+eH4pTVlCdL5nmoYPDK4FYHqdAd74Iui2CbJ6lGZ8+e/Y0cB3N4l7olcd6V8E/j4UH3Q90q/d6zZ89v69OcOj0xEE5Cm3d0mylTpvCQEGmeqqpzc6zJI1aeXn0+4xbVbOcxrujltbzkI29zzVtRjxGgWcZlnLkyZF1IxGRlon+EkNcW3sKryiMBuHlQ6nlsERMZGqjVqOM6fdEYMG5sQ8btttchb96T+Y07Iz8WzlJ6aQTK30OwfkrJbxufHILGzbAVZgcxv6t5Hb416oDbNnQYFDfHZdga7eoEx7YwbMj41GAb5bZQvCfMdbjlsA3ahsG9Yept43rc/G5mfnIwr+CDxhw0uM0Pg+V8Fy1aVB9bVVdso+0E6EJCLq3kUgfwVveblAZNBDzbMZ7ksEVOhjf7a3R0dHmMqEBzTwDHquKTg7caH0mdPnnITy6eMONUe6si6WQp0skjSNf7DbIM8hlk1pv9ndpIXk5tdXlAkayTc3Fqx60oJj8/f6K6CHsP+ZpqiwvoewxjvgHVT5PkJ2XzOcgcUFtnImKXYXKr5qUmtx9jfCmzk358YcY1xww4yBmOl9Sdp7pb1TftFxPL+C7lEfcmZV/D13+vOFrrb0p6pQeNLTb4KPx9UN2v499E4FjGf0chh3jrP/37h3k3I2PAskfplxUXOFX/xOQNE5h/XYAN95PWI/WTXLWA4yY3VbrKXOC4yQWOm/5r6R8CDACY8b9YDye80gAAAABJRU5ErkJggg=="},hosted:false,adapter:"",flash:null,canvas:null,svg:null,vml:null,move:false,compat:function(){ZC.flash=ZC.canvas=ZC.svg=ZC.vml=false;var n=!!document.createElement("canvas").getContext,l=false;if(n){var o=document.createElement("canvas").getContext("2d");l=typeof o.fillText=="function"}ZC.canvas=n&&l;ZC.svg=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1");var p=document.body.appendChild(document.createElement("div"));p.innerHTML=‘<zcv:shape id="vml_flag1" adj="1" />‘;var m=p.firstChild;m.style.behavior="url(#default#VML)";ZC.vml=m?typeof m.adj=="object":true;p.parentNode.removeChild(p);var h=false;if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]){h=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin}else{if(document.all&&navigator.appVersion.indexOf("Mac")==-1){h=new Function(‘try { var xObj = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if (xObj) { xObj = null; return true; } } catch (e) { return false; }‘)()}}ZC.flash=h?1:0},quirks:function(){return !(document.compatMode&&document.compatMode=="CSS1Compat")}(),ie67:function(){if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){return parseFloat(RegExp.$1)<8}else{return false}}(),ie678:function(){if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){return parseFloat(RegExp.$1)<9}else{return false}}(),mobile:function(){return/Mobile|BlackBerry|Opera Mini|PPC|Windows CE|Android/.test(navigator.userAgent)}(),ipad:function(){return/iPad/.test(navigator.userAgent)}(),iphone:function(){return/iPhone/.test(navigator.userAgent)}(),websockets:function(){return"WebSocket" in window}(),webstorage:function(){return"sessionStorage" in window}(),P3:[],RZ:[],E1:[0,0],P1:null,_cp_:function(o,p,q,r,t){if(q==null){q=true}if(r==null){r=true}if(t==null){t=false}for(var m in o){if(o[m] instanceof Array){if(r){if(p[m]==null||m!="override"&&!t){p[m]=[]}for(var s=0,n=o[m].length;s<n;s++){p[m].push(o[m][s])}}}else{if(o[m] instanceof Object&&!(o[m] instanceof Function)){if(r){if(p[m]==null){p[m]={}}ZC._cp_(o[m],p[m],q)}}else{if(p[m]==null||q){p[m]=o[m]}}}}},_cpa_:function(l,h){if(!h){h=[]}for(var f=0,g=l.length;f<g;f++){h.push(l[f])}},_todash_:function(m,n,o){if(typeof n==ZC._[31]){n=true}o=o||[];for(var h in m){if(m.hasOwnProperty(h)&&ZC.AG(o,h)==-1){if(ZC.AG([".","#"],h.substring(0,1))==-1){if(m[h] instanceof Array){if(ZC.RU(h)!=h){m[ZC.RU(h)]=[];for(var p=0,l=m[h].length;p<l;p++){m[ZC.RU(h)].push(m[h][p])}delete m[h]}}else{if(m[h] instanceof Object&&!(m[h] instanceof Function)){if(ZC.RU(h)!=h){m[ZC.RU(h)]={};ZC._cp_(m[h],m[ZC.RU(h)]);delete m[h]}if(n){ZC._todash_(m[ZC.RU(h)],n,o)}}else{if(ZC.RU(h)!=h){m[ZC.RU(h)]=m[h];delete m[h]}}}}}}},U5:function(m,p){for(var h in m){if(m.hasOwnProperty(h)){var n;if((n=h.replace(p+"-",""))!=h){m[n]=m[h];if(m[h] instanceof Array){for(var o=0,l=m[h].length;o<l;o++){ZC.U5(m[h][o],p)}}else{if(m[h] instanceof Object&&!(m[h] instanceof Function)){ZC.U5(m[h],p)}}}}}},A4F:function(o){var m="";for(var n=0,l=o.length;n<l;n++){var p=n%2==0?n:o.length-n;var h=o.substring(p,p+1);m+=h}m=m.replace(/\./g,"d");return m},A7M:function(e){var c=e;c=c.replace("*","&");c=c.replace("9","3");c=c.replace("l","1");return c},T5:function(c){var e=c.replace(/[a-zA-Z]/g,function(a){return String.fromCharCode((a<="Z"?90:122)>=(a=a.charCodeAt(0)+13)?a:a-26)});return e},A6R:function(x,v){var D=ZC.SE(ZC.A6C(x));var w=ZC.SE(ZC.WQ(v));var y=D.length;if(y==0){return""}var n=D[y-1],e=D[0],C=2654435769;var G,p,A=Math.floor(6+52/y),q=A*C;while(q!=0){p=q>>>2&3;for(var z=y-1;z>0;z--){n=D[z-1];G=(n>>>5^e<<2)+(e>>>3^n<<4)^(q^e)+(w[z&3^p]^n);e=D[z]-=G}n=D[y-1];G=(n>>>5^e<<2)+(e>>>3^n<<4)^(q^e)+(w[z&3^p]^n);e=D[0]-=G;q-=C}return unescape(ZC.A6A(ZC.A04(D)))},AB1:function(x,v){x=escape(x);var D=ZC.SE(ZC.WQ(x));var w=ZC.SE(ZC.WQ(v));var y=D.length;if(y==0){return""}if(y==1){D[y++]=0}var n=D[y-1],e=D[0],C=2654435769;var G,p,A=Math.floor(6+52/y),q=0;while(A-->0){q+=C;p=q>>>2&3;for(var z=0;z<y-1;z++){e=D[z+1];G=(n>>>5^e<<2)+(e>>>3^n<<4)^(q^e)+(w[z&3^p]^n);n=D[z]+=G}e=D[0];G=(n>>>5^e<<2)+(e>>>3^n<<4)^(q^e)+(w[z&3^p]^n);n=D[y-1]+=G}return ZC.A6D(ZC.A04(D))},SE:function(e){var g=new Array(Math.ceil(e.length/4));for(var f=0;f<g.length;f++){g[f]=e[f*4]+(e[f*4+1]<<8)+(e[f*4+2]<<16)+(e[f*4+3]<<24)}return g},A04:function(e){var g=[];for(var f=0;f<e.length;f++){g.push(e[f]&255,e[f]>>>8&255,e[f]>>>16&255,e[f]>>>24&255)}return g},A6D:function(l){var g="";var h=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];for(var f=0;f<l.length;f++){g+=h[l[f]>>4]+h[l[f]&15]}return g},A6C:function(e){var g=[];for(var f=e.substr(0,2)=="0x"?2:0;f<e.length;f+=2){g.push(parseInt(e.substr(f,2),16))}return g},A6A:function(g){var f="";for(var e=0;e<g.length;e++){if(g[e]!=0){f+=String.fromCharCode(g[e])}}return f},WQ:function(e){var g=[];for(var f=0;f<e.length;f++){g.push(e.charCodeAt(f))}return g},_i_:function(b){if(String(b).indexOf("e-")!=-1){return 0}b=String(b).replace(/[^0-9\.\-]/gi,"");if(b==""){return 0}return Math.round(b)},_f_:function(b){b=parseFloat(b);return isNaN(b)?0:b},_x_:function(c,e){if(typeof e==ZC._[31]){e=2}return parseFloat(Number(c).toFixed(e))},_a_:function(b){return Math.abs(b)},_b_:function(b){if(b=="false"||b=="0"){return false}if(b=="true"||b=="1"){return true}return b&&true},_p_:function(e){e=String(e).replace(/[^0-9\.\%]/gi,"");var c=e.indexOf("%");if(c!=-1){e=e.substring(0,c);e=ZC._f_(e)/100}return e},P4:function(b){if(ZC._f_(b)+""==b+""){return ZC._a_(b)}else{b=b+"";if(b.indexOf("%")!=-1){return ZC._f_(b.replace("%",""))/100}else{if(b.indexOf("px")!=-1){return ZC._f_(b.replace("px",""))}else{return ZC._f_(b)}}}},N1:function(b){return parseInt(b,16)},K8:function(b){return ZC._i_(b).toString(16)},_r_:function(e,c){return parseInt(e+(c-e)*Math.random(),10)},_l_:function(e,f,g){e=e<f?f:e;e=e>g?g:e;return e},EO:function(e,f,g){return f<=e&&e<=g||g<=e&&e<=f},BT:function(c,e){return Math.max(c,e)},DI:function(c,e){return Math.min(c,e)},XR:function(h){for(var l=0,g=h.length,f=-Number.MAX_VALUE;l<g;l++){f=Math.max(f,h[l])}return f},Y3:function(h){for(var l=0,g=h.length,f=Number.MAX_VALUE;l<g;l++){f=Math.min(f,h[l])}return f},AA9:function(c){var e=c.split(".");return e[e.length-1]||""},HM:function(b){return b.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},Q2:function(b){if(isFinite(Math.log(b))){return Math.log(b)}else{return 0}},QS:function(b){return b*360/(2*Math.PI)},PL:function(b){return b*2*Math.PI/360},DG:function(b){return Math.cos(ZC.PL(b))},DD:function(b){return Math.sin(ZC.PL(b))},MS:function(b){return !isNaN(parseFloat(b))&&isFinite(b)},CX:function(b){if(b.indexOf("-")!=-1){return b.replace(/(\-[a-z0-9])/g,function(a){return a.toUpperCase().replace("-","")})}return b},RU:function(b){if(b.toUpperCase()!=b){if(b.indexOf("-")==-1){if(b.substring(0,1).toLowerCase()==b.substring(0,1)){return b.replace(/([A-Z0-9])/g,function(a){return"-"+a.toLowerCase()}).replace("-3d","3d")}}}return b},AAA:function(b){return ZC.UE.md5(b)},AH:function(b){return document.getElementById(b)},WH:function(a,b){if(a[0].length<b[0].length){return 1}else{if(a[0].length>b[0].length){return -1}else{return 0}}},U1:function(b){window.setTimeout(b,zingchart.TIMEOUT)}};ZC.MAPTX=ZC.ie67?40:0;var JSON=window.JSON||{};JSON.stringify=JSON.stringify||function(p){var o=typeof p;if(o!="object"||p===null){if(o=="string"){p=‘"‘+p.replace("\\","\\\\").replace(‘"‘,‘"‘)+‘"‘}return String(p)}else{var m,h,l=[],n=p&&p.constructor==Array;for(m in p){if(typeof p[m]!="function"){h=p[m];o=typeof h;if(o=="string"){h=‘"‘+h.replace("\\","\\\\").replace(‘"‘,‘\\"‘)+‘"‘}else{if(o=="object"&&h!==null){h=JSON.stringify(h)}}l.push((n?"":‘"‘+m+‘":‘)+String(h))}}return(n?"[":"{")+String(l)+(n?"]":"}")}};JSON.parse=JSON.parse||function(IH){if(IH===""){IH=‘""‘}return eval("("+IH+")")};ZC._=["background-color","angle-start","angle-end","graphid","line-width","values","-node-area zc-node-area","placement","slice","value","labels","series","decimals","thousands-separator","decimals-separator","-print-c","graphset","value-box","outer","width","height","size","-hover-c","enable-guide","zc-abs zc-layer","exponent-decimals","3d-aspect","x-angle","y-angle","z-angle",‘" coords="‘,"undefined","rgba(255,255,255,0)","rgb(255,255,255)","-node-area ","-plotset-plot-","http://www.w3.org/2000/svg","http://www.w3.org/1999/xlink","skip_context_menu","skip_segment_tracking","skip_marker_tracking","skip_interactivity","use_fast_mode","use_fast_markers","use_single_canvas","If-Modified-Since","Thu, 1 Jan 1970 00:00:00 GMT","mousedown","mousemove","mouseup","scale-x","scale-y","scale-v","preservezoom","toggle-action","enable-animation","enable-preview","margin-top","margin-right","margin-bottom","margin-left","Network error","URL Data loader","loader.gui.context-menu","-menu-item-exitfullscreen","transform-date-format","transform-date","bg-image-width","bg-image-height"];(function(){var c=false;var e=/xyz/.test(function(){xyz})?/\bb\b/:/.*/;ZC.BX=function(){};ZC.BX.BF=function(b){var n=this.prototype;c=true;var l=new this();c=false;for(var m in b){l[m]=typeof l[m]=="function"&&typeof n[m]=="function"&&e.test(b[m])?function(g,f){return function(){var h=this.b;this.b=n[g];var p=f.apply(this,arguments);this.b=h;return p}}(m,b[m]):b[m]}function a(){if(!c&&this.$i){this.$i.apply(this,arguments)}}a.prototype=l;a.constructor=a;a.BF=arguments.callee;return a}})();ZC.A52=function(){this.A4B=function(w,x){var o=this;var s=o.AV.palette;if(x!=null&&s[x]!=null){s=s[x]}if(s[w]!=null){var r=s[w];if(r[2]==null){r[2]=ZC.AQ.NP(r[1],10)}if(r[3]==null){r[3]=ZC.AQ.NP(r[1],10)}return r}else{var u=["#B4A500","#421E52","#4C5A7F","#741740","#B89F33","#E56000","#95001F","#43A200","#CA0000","#4A6744","#9A78C5","#A9DB00","#FFCE0A","#B4C0CB"];if(u[w-o.AV.palette.length]!=null){var q=u[w-o.AV.palette.length]}else{var q="#"+ZC.K8(ZC._r_(20,220))+ZC.K8(ZC._r_(20,220))+ZC.K8(ZC._r_(20,220))}var t=ZC.AQ.NP(q,10);var v=ZC.AQ.NP(q,20);var p="#FFF";if(o.AV.palette&&o.AV.palette[0]&&o.AV.palette[0][0]){p=o.AV.palette[0][0]}return[p,q,t,v]}};this.A3E=function(b){ZC._cp_(b,this.AV,true)};this.A5C=function(e){var c=this;if(c.PE[e]!=null){ZC._todash_(c.PE[e]);ZC._cp_(c.PE[e],c.AV)}};this.PE={};ZC._cp_(zingchart.THEMES,this.PE);this.PE.zingchart={palette:[["#fff","#6a921f","#a7da47","#89b92e"],["#fff","#007fa3","#00b0e1","#0392bb"],["#fff","#a62b02","#ef4810","#cc3300"],["#fff","#b79007","#f9c332","#da9b04"],["#fff","#563d02","#84680a","#6e4503"],["#fff","#0b32a0","#4d62b1","#1540a0"]],graph:{refresh:{curtain:{alpha:0.5,backgroundColor:"#999",color:"#000",fontSize:15,bold:1,text:"Loading..."}},backgroundColor:"#e1eaec #edf3f5",title:{fontSize:14,bold:1,color:"#fff",backgroundColor:"#00bbf1 #05a0cd",padding:6},subtitle:{fontSize:11,bold:1,color:"#333",marginTop:30,padding:6},source:{fontSize:10,color:"#333",width:0.9,bold:1,textAlign:"right",height:20,margin:"auto 0 0 auto",padding:5},nodata:{fontSize:12,color:"#333",textAlign:"center",verticalAlign:"middle",text:""},SCALE:{fontSize:11,lineWidth:2,lineColor:"#3e6c7b",item:{flat:true},refLine:{lineWidth:1,lineColor:"#3e6c7b"},guide:{visible:1,lineWidth:1,lineStyle:"dashed",lineColor:"#2c4a59",alpha:0.2},minorGuide:{visible:1,lineWidth:1,lineStyle:"dotted",lineColor:"#aaa",alpha:0.1},tick:{visible:1,size:6,placement:ZC._[18],lineWidth:2,lineColor:"#3e6c7b"},minorTick:{visible:1,size:4,lineWidth:1,lineColor:"#3e6c7b"},label:{color:"#2c4a59"}},legend:{backgroundColor:"#fff",borderWidth:1,alpha:0.75,borderColor:"#666",shadowDistance:3,header:{padding:"4 6",color:"#fff",borderWidth:1,borderColor:"#3e6c7b",backgroundColor:"#3e6c7b"},footer:{padding:"2 6",backgroundColor:"#ccc",borderWidth:1,borderColor:"#666"},marker:{borderColor:"#333",borderWidth:1}},plot:{valueBox:{flat:true},marker:{shadow:1,lineWidth:1,borderWidth:1},hoverMarker:{lineWidth:1,borderWidth:1}},guide:{lineWidth:1,lineColor:"#999",alpha:1,scaleLabel:{text:"%l",padding:"3 6"},plotLabel:{padding:"3 6"}}},line:{plot:{shadowAlpha:0.5,marker:{size:4},hoverMarker:{size:5}}},area:{plot:{shadowAlpha:0.5,marker:{size:4},hoverMarker:{size:5}}},vbar:{plot:{fillAngle:90,shadow:0}},hbar:{plot:{fillAngle:180,shadow:0}},piano:{plot:{shadow:0}},stock:{plot:{shadow:0}},vbullet:{plot:{shadow:0}},hbullet:{plot:{fillAngle:0,shadow:0}},scatter:{plot:{marker:{size:4},hoverMarker:{size:5}}},bubble:{plot:{marker:{borderWidth:0},hoverMarker:{borderWidth:0}}},pie:{plot:{borderWidth:1}},nestedpie:{plot:{borderWidth:1}},radar:{plot:{marker:{size:3},hoverMarker:{size:4}},scaleK:{guide:{alpha:0.5,backgroundColor:"#eee #ddd"}}},gauge:{scaleR:{backgroundColor:-1,guide:{alpha:0.5,backgroundColor:"#eee #ddd"},ring:{size:1,items:[{backgroundColor:"#999",alpha:0.8},{backgroundColor:"#666",alpha:0.8}]}}},vfunnel:{plotarea:{margin:"50 100"},SCALE:{lineWidth:0,tick:{lineWidth:0},minorTick:{lineWidth:0},guide:{lineWidth:0},minorGuide:{lineWidth:0}},scaleY:{guide:{alpha:0.25,backgroundColor:"-1 #b6c8cf"}},scaleYN:{guide:{alpha:0.25,backgroundColor:"-1 #b6c8cf"}},plot:{borderWidth:1}},hfunnel:{plotarea:{margin:"50 100"},scaleX:{label:{fontAngle:270}},scaleXN:{label:{fontAngle:90}},SCALE:{lineWidth:0,tick:{lineWidth:0},minorTick:{lineWidth:0},guide:{lineWidth:0},minorGuide:{lineWidth:0}},scaleY:{label:{fontAngle:0},item:{textAlign:"center"},guide:{alpha:0.25,backgroundColor:"#b6c8cf -1"}},scaleYN:{label:{fontAngle:0},item:{textAlign:"center"},guide:{alpha:0.25,backgroundColor:"#b6c8cf -1"}},plot:{borderWidth:1}},range:{plot:{marker:{size:4},hoverMarker:{size:5}}},line3d:{SCALE:{lineColor:"#ddd"},plot:{lineWidth:1}},area3d:{SCALE:{lineColor:"#ddd"},plot:{lineWidth:1}},mixed3d:{SCALE:{lineColor:"#ddd"},plot:{borderWidth:1}},vbar3d:{SCALE:{lineColor:"#ddd"},plot:{borderWidth:1}},hbar3d:{SCALE:{lineColor:"#ddd"},plot:{borderWidth:1}},pie3d:{plot:{borderWidth:1}},"-":""};ZC._todash_(this.PE.zingchart);this.PE.mini={graph:{title:{width:"100%",padding:"1 2 2",fontSize:10},subtitle:{width:"100%",padding:"1 2 2",marginTop:14,fontSize:9},plotarea:{width:"100%",height:"100%",margin:"12 5 5 5"},SCALE:{visible:0},tooltip:{visible:0},legend:{visible:0},plot:{shadow:0,valueBox:{visible:0}}},line:{plot:{lineWidth:1}},area:{plot:{lineWidth:1}},scatter:{SCALE:{offsetStart:5,offsetEnd:5}},bubble:{SCALE:{offsetStart:5,offsetEnd:5}},pie:{plotarea:{margin:"15 5 5 5"},plot:{valueBox:{visible:0}},scale:{sizeFactor:0.9}},pie3d:{plotarea:{margin:"15 5 5 5"},plot:{valueBox:{visible:0}},scale:{sizeFactor:0.9}},nestedpie:{plotarea:{margin:"15 5 5 5"},plot:{valueBox:{visible:0}},scale:{sizeFactor:0.9}},venn:{plotarea:{margin:"15 5 5 5"},scale:{sizeFactor:0.9}},range:{plot:{lineWidth:1}},"-":""};ZC._todash_(this.PE.mini);this.PE.negative={palette:[["#000","#909090","#969696","#9c9c9c"],["#000","#a0a0a0","#a6a6a6","#acacac"],["#000","#b0b0b0","#b6b6b6","#bcbcbc"],["#000","#c0c0c0","#c6c6c6","#cccccc"],["#000","#d0d0d0","#d6d6d6","#dcdcdc"],["#000","#e0e0e0","#e6e6e6","#ececec"],["#000","#f0f0f0","#f6f6f6","#fcfcfc"]],graph:{backgroundColor:"#111",title:{color:"#fff"},subtitle:{color:"#333"},SCALE:{fontSize:11,lineWidth:2,lineColor:"#ccc",guide:{visible:1,lineWidth:1,lineStyle:"dashed",lineColor:"#ccc",alpha:0.2},minorGuide:{visible:1,lineWidth:1,lineStyle:"dotted",lineColor:"#ccc",alpha:0.2},tick:{visible:1,size:6,placement:ZC._[18],lineWidth:2,lineColor:"#ccc"},minorTick:{visible:1,size:4,lineWidth:1,lineColor:"#ccc"},label:{color:"#fff"},item:{color:"#fff"}}},radar:{scaleK:{guide:{alpha:0.5,backgroundColor:"#222 #333"}}},"-":""};ZC._todash_(this.PE.mini);this.PE.spark=this.PE.mini;this.AV={root:{gui:{watermark:{type:1,position:"rb"},history:{margin:"10 auto auto 10",width:30,height:22,padding:4,item:{backgroundColor:"#369",borderWidth:1,borderColor:"#69c"},itemOff:{backgroundColor:"#eee",borderColor:"#ddd"}},progress:{backgroundColor:"#fff",color:"#000"},contextMenu:{padding:0,borderWidth:1,borderColor:"#000",button:{margin:"5 auto auto 5",alpha:0.8,backgroundColor:"#333 #999",borderRadius:8,width:40,height:40},gear:{backgroundColor:"#fff #f6f6f6",type:"gear6",alpha:0.8},item:{backgroundColor:"#36393D",padding:"4 20 4 8",borderWidth:1,borderColor:"#000",color:"#fff",backgroundImage:ZC.ie67?"":"zc.menu-item",hoverState:{backgroundColor:"#0084AA",backgroundImage:ZC.ie67?"":"zc.menu-item-hover"}}},"contextMenu[mobile]":{item:{padding:"6 10 6 6"}}}},palette:[],graph:{title:{width:"100%",bold:1,fontSize:13},subtitle:{width:"100%",bold:1,fontSize:11},scroll:{bar:{backgroundColor:"#e1eaec",borderColor:"#ddd"},handle:{backgroundColor:"#ddd",borderColor:"#ccc",borderWidth:2}},scrollX:{bar:{height:16}},scrollY:{bar:{width:16}},preview:{width:"100%",height:50,margin:"auto 50 15 50",borderWidth:1,shadow:0,backgroundColor:"#f0f0f0",borderColor:"#999",mask:{alpha:0.5,backgroundColor:"#333"},active:{alpha:0.1,backgroundColor:"#999"},handle:{width:9,height:16,borderWidth:1,lineWidth:1,lineColor:"#111",borderColor:"#444",borderRadius:2,backgroundColor:"#e6e6e6"},handleTop:{width:16,height:9},handleBottom:{width:16,height:9}},plotarea:{width:"100%",height:"100%",margin:"60 50 65 50"},"plotarea[preview]":{margin:"60 50 105 50"},SCALE:{lineWidth:1,guide:{lineWidth:1,lineColor:"#ddd"},tick:{size:6,lineWidth:2},minorGuide:{lineWidth:1,lineColor:"#ddd"},minorTick:{size:4,lineWidth:1},label:{bold:1,padding:6},item:{padding:1,autoAlign:true,flat:true},marker:{lineWidth:1,lineColor:"#000",backgroundColor:"#ccc"},"transform[date]":{item:{fontSize:10,padding:2,color:"#000",backgroundColor:"#fff"}}},"SCALE[3d]":{backgroundColor:"#ccc"},scaleY:{label:{fontAngle:270},item:{textAlign:"right"}},scaleYN:{label:{fontAngle:90},item:{textAlign:"left"}},plot:{error:{lineWidth:1,lineColor:"#333",size:0.5},valueBox:{flat:true,text:"%v",bold:1,placement:"auto",shadow:1},tooltipText:"%v",shadow:1,lineWidth:1,marker:{type:"square",shadow:1}},tooltip:{shadow:1,padding:"4 8",shadowDistance:3,offsetY:ZC.mobile?-40:-20},guide:{marker:{type:"circle"}},zoom:{borderWidth:0,backgroundColor:"#369",alpha:0.25},arrow:{borderWidth:1,borderColor:"#000",backgroundColor:"#666",size:4},"legend[position]":{margin:10},legend:{backgroundColor:"#eee",alpha:1,shadow:1,margin:"10 10 auto auto",padding:"4 2 4 2",item:{textAlign:"left",margin:"2 6 2 4",padding:"2 4"},itemOff:{alpha:0.25},marker:{shadow:0,size:6,borderColor:"#999",borderWidth:1},header:{textAlign:"left",bold:1},footer:{textAlign:"left"}}},vbar:{plot:{valueBox:{placement:"top-out"}}},vbar3d:{plot:{valueBox:{placement:"top-out"}},"3dAspect":{depth:40,angle:45,xAngle:-20,yAngle:0,zAngle:0}},mixed3d:{"3dAspect":{depth:40,angle:45,xAngle:-20,yAngle:0,zAngle:0}},hbar:{scaleY:{label:{fontAngle:0},item:{textAlign:"center"}},scaleX:{label:{fontAngle:270}},scaleYN:{label:{fontAngle:0},item:{textAlign:"center"}},scaleXN:{label:{fontAngle:90}},plot:{valueBox:{placement:"top-out"}}},hbar3d:{scaleY:{label:{fontAngle:0}},scaleX:{label:{fontAngle:270}},scaleYN:{label:{fontAngle:0}},scaleXN:{label:{fontAngle:90}},"3dAspect":{depth:40,angle:45,xAngle:0,yAngle:-20,zAngle:0},plot:{valueBox:{placement:"top-out"}}},hbullet:{scaleY:{label:{fontAngle:0},item:{textAlign:"center"}},scaleX:{label:{fontAngle:270}},scaleYN:{label:{fontAngle:0},item:{textAlign:"center"}},scaleXN:{label:{fontAngle:90}}},line:{plot:{lineWidth:4,marker:{type:"circle",size:4}}},area:{plot:{lineWidth:4,marker:{type:"circle",size:4},valueBox:{placement:"top"}}},line3d:{"3dAspect":{depth:40,angle:45,xAngle:-20,yAngle:0,zAngle:0},plot:{lineWidth:1,marker:{type:"circle",size:4,alpha:0}}},area3d:{"3dAspect":{depth:40,angle:45,xAngle:-20,yAngle:0,zAngle:0},plot:{lineWidth:1,marker:{type:"circle",size:4,alpha:0},valueBox:{placement:"top"}}},scatter:{SCALE:{offsetStart:10,offsetEnd:10},plot:{marker:{type:"circle",size:4},valueBox:{placement:"top"}}},bubble:{SCALE:{offsetStart:40,offsetEnd:40},plot:{marker:{type:"circle",fillType:"radial",fillOffsetX:-0.2,fillOffsetY:-0.2},hoverMarker:{fillType:"radial",fillOffsetX:-0.2,fillOffsetY:-0.2},valueBox:{placement:"middle"},tooltipText:"%node-size-value"}},pie:{plotarea:{margin:0},scale:{sizeFactor:0.65,lineWidth:0,guide:{lineWidth:0},minorGuide:{lineWidth:0}},plot:{fillType:"radial",valueBox:{connector:{lineWidth:1},placement:"out",text:"%t",visible:1}}},pie3d:{"3dAspect":{xAngle:38,yAngle:0,zAngle:0},plotarea:{margin:"40 5 5 5"},scale:{sizeFactor:0.75,lineWidth:0,guide:{lineWidth:0},minorGuide:{lineWidth:0}},plot:{fillType:"linear",valueBox:{connector:{lineWidth:1},placement:"out",text:"%t",visible:1}}},nestedpie:{plotarea:{margin:"40 5 15 5"},scale:{sizeFactor:0.8,lineWidth:0,guide:{lineWidth:0},minorGuide:{lineWidth:0}},plot:{fillType:"radial",valueBox:{connector:{lineWidth:1},text:"%v",visible:1}}},venn:{plotarea:{margin:"30 10 10 10"},plot:{alpha:0.5,borderWidth:4},scale:{sizeFactor:0.65,lineWidth:0,guide:{lineWidth:0},minorGuide:{lineWidth:0}}},radar:{SCALE:{guide:{borderWidth:1,borderColor:"#999",backgroundColor:"-1"},tick:{lineWidth:1}},scale:{visible:0,sizeFactor:0.7},scaleK:{refAngle:270},plotarea:{margin:"40 5 5 5"},plot:{lineWidth:4,aspect:"line",marker:{type:"circle"}}},gauge:{SCALE:{guide:{borderWidth:1,borderColor:"#999",backgroundColor:"-1"}},scale:{lineWidth:0,guide:{lineWidth:0},minorGuide:{lineWidth:0},sizeFactor:0.7},scaleR:{refAngle:270,backgroundColor:"#fff",guide:{lineWidth:0},tick:{placement:"inner"}},plotarea:{margin:"40 5 5 5"}},stock:{plot:{lineWidth:1,borderWidth:1}},range:{plot:{lineWidth:4,valueBox:{text:"%node-min-value - %node-max-value"},tooltipText:"%node-min-value - %node-max-value"}},"-":""};ZC._todash_(this.AV);this.LW=function(g,h){var n=this,m;var l=false;if((m=n.AV.graph[g])!=null){if(m.enabled!=null){l=l||ZC._b_(m.enabled)}}if(n.AV[h]!=null&&(m=n.AV[h][g])!=null){if(m.enabled!=null){l=l||ZC._b_(m.enabled)}}return l};this.load=function(D,J,L,o){var K=this,M;L=L==null?true:ZC._b_(L);o=o==null?false:ZC._b_(o);if(!(J instanceof Array)){J=new Array(J)}var p=[],s="";for(var y=0,H=J.length;y<H;y++){if(/(\(\w+\))(.*)/.test(J[y])){var z=RegExp.$1;s=J[y].replace(z,"graph");if(ZC.AG(p,s)==-1){p.push(s)}s=J[y].replace(z,z.substring(1,z.length-1));if(ZC.AG(p,s)==-1){p.push(s)}}else{if(ZC.AG(p,J[y])==-1){p.push(J[y])}if(/root(.*)/.test(J[y])){if(ZC.AG(p,J[y].replace("root","loader"))==-1){p.push(J[y].replace("root","loader"))}}if(/loader(.*)/.test(J[y])){if(ZC.AG(p,J[y].replace("loader","root"))==-1){p.push(J[y].replace("loader","root"))}}}}var G={};for(var y=0,H=p.length;y<H;y++){var N=p[y].split(".");var O=K.AV;for(var I=0,A=N.length;I<A;I++){if((M=O[N[I]])!=null){O=M}else{if((M=O[ZC.RU(N[I])])!=null){O=M}else{if((M=O[ZC.CX(N[I])])!=null){O=M}else{O=null;break}}}}if(O){for(var C in O){if(O[C]!=null){if(o||typeof O[C]!="object"||O[C].length){if(L||D[C]==null){G[C]=O[C]}else{if(L&&typeof O[C]=="object"){G[C]=O[C]}}}}}}}ZC._cp_(G,D)}};ZC.AQ={A6T:function(o,l,h){var m=document.getElementsByTagName("head")[0];var n=document.createElement("script");n.type="text/javascript";n.src=l;var p=false;n.onload=n.onreadystatechange=function(){if(!p&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){p=true;n.onload=n.onreadystatechange=null;if(m&&n.parentNode){m.removeChild(n)}var a=new RegExp("zingchart-html5-(.+?)-min.js","g").exec(l);if(a){ZC.RZ.push(a[1])}if(h){h(l)}}};n.onerror=function(){if(!o&&zingchart.IB[0]){o=zingchart.IB[0]}if(o){o.KN({name:ZC._[61],message:"Resource not found ("+n.src+")"},"Module loader")}else{alert("Resource not found ("+n.src+")")}};m.insertBefore(n,m.firstChild)},RV:function(b){},A1S:function(e,c){return zingchart[e]||c&&c.VP&&c.VP[e]||zingchart.hasEvent(null,e)||c&&zingchart.hasEvent(c.N,e)},CM:function(l,o,m,p,h){if(!(m instanceof Array)){m=[m]}var n=1;if(p){m.push(p)}if(h){n=2;m.push(h)}if(l=="touchstart"){l=ZC._[47]}if(l=="touchend"){l=ZC._[49]}if(l=="touchmove"){l=ZC._[48]}if(zingchart[l]){if(p){m[m.length-n]=zingchart[l].apply(zingchart,m)}else{zingchart[l].apply(zingchart,m)}}if(o&&o.VP[l]){if(p){m[m.length-n]=o.VP[l].apply(zingchart,m)}else{o.VP[l].apply(zingchart,m)}}if(zingchart.hasEvent(null,l)){if(p){m[m.length-n]=zingchart.callEvent(null,l,m,p)}else{zingchart.callEvent(null,l,m)}}if(o&&zingchart.hasEvent(o.N,l)){if(p){m[m.length-n]=zingchart.callEvent(o.N,l,m,p)}else{zingchart.callEvent(o.N,l,m)}}return m[m.length-n]},QU:function(m,g){if(g.A6%360!=0){var l=[[-g.I/2,-g.F/2],[g.I/2,-g.F/2],[g.I/2,g.F/2],[-g.I/2,g.F/2]];var h="";for(var n=0;n<4;n++){l[n]=[g.iX+g.I/2+g.C1+ZC.MAPTX+l[n][0]*ZC.DG(g.A6)-l[n][1]*ZC.DD(g.A6),g.iY+g.F/2+g.BW+ZC.MAPTX+l[n][0]*ZC.DD(g.A6)+l[n][1]*ZC.DG(g.A6)];h+=ZC._i_(l[n][0])+","+ZC._i_(l[n][1])+","}g.C=l;return ZC.L.E7("poly",g.DQ,g.ID)+‘class="‘+m+‘-label-area zc-label-area" id="‘+g.N+"-area"+ZC._[30]+h.substring(0,h.length-1)+‘" />‘}else{return ZC.L.E7("rect",g.DQ,g.ID)+‘class="‘+m+‘-label-area zc-label-area" id="‘+g.N+"-area"+ZC._[30]+ZC._i_(g.iX+g.C1+ZC.MAPTX)+","+ZC._i_(g.iY+g.BW+ZC.MAPTX)+","+ZC._i_(g.iX+g.C1+g.I+ZC.MAPTX)+","+ZC._i_(g.iY+g.BW+g.F+ZC.MAPTX)+‘" />‘}},QQ:function(h){var m="";var o=h.indexOf(‘id="‘);if(o!=-1){iPos2=h.indexOf(‘"‘,o+4);if(iPos2!=-1){var m=h.substring(o+4,iPos2)}}if(ZC.cache.data["area-score-"+m]){return ZC.cache.data["area-score-"+m]}var l=0;if(h.indexOf(‘shape="rect"‘)!=-1){l+=10000;var p=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(h);if(p.length==5){l+=(ZC._i_(p[3])-ZC._i_(p[1]))*(ZC._i_(p[4])-ZC._i_(p[2]))}}else{if(h.indexOf(‘shape="circle"‘)!=-1){l+=100;var p=/coords=\"(\-*\d+),(\-*\d+),(\-*\d+)\"/.exec(h);if(p[3]!=null){l+=p[3]/10}}else{l+=1}}if(h.indexOf("data-z-sort")!=-1){var n=/data-z-sort=\"(\-*\d+)\"/.exec(h);if(n&&n.length==2){l*=ZC._i_(Math.pow(10,n[1]))}}if(m!=""){ZC.cache.add("area-score-"+m,l)}return l},VZ:function(o,r,m){var p=[];for(var n=0,a=o.length;n<a;n++){if(o[n]!=null){var q=o[n].slice(0);if(q[0]!=null&&typeof q[0]!="string"){q[0]+=r}if(q[1]!=null&&typeof q[1]!="string"){q[1]+=m}if(q[2]!=null&&typeof q[2]!="string"&&q.length<=4){q[2]+=r}if(q[3]!=null&&typeof q[3]!="string"&&q.length<=4){q[3]+=m}p.push(q)}else{p.push(null)}}return p},MW:function(h,l){var g;l=l||{};h=h||{};var f={};if((g=h.negation)!=null){f.negation=g}if((g=h["short"])!=null){f["short"]=ZC._b_(g)}if((g=h["short-unit"])!=null){f["short-unit"]=g}if((g=h.exponent)!=null){f.exponent=ZC._b_(g)}if((g=h[ZC._[25]])!=null){f[ZC._[25]]=ZC._i_(g)}if((g=h[ZC._[14]])!=null){f[ZC._[14]]=g}else{if(l[ZC._[14]]==null){if((g=ZC.FL[ZC._[14]])!=null){f[ZC._[14]]=g}}}if((g=h[ZC._[13]])!=null){f[ZC._[13]]=g}else{if(l[ZC._[13]]==null){if((g=ZC.FL[ZC._[13]])!=null){f[ZC._[13]]=g}}}if((g=h[ZC._[12]])!=null){f[ZC._[12]]=ZC._i_(g)}if((g=h["decimals-dyn"])!=null){f["decimals-dyn"]=g}if((g=h.transform)!=null){if(g.type!=null){switch(g.type){case"date":f[ZC._[66]]=true;if(g.text!=null){g.all=g.text}if(g.all!=null){f[ZC._[65]]=g.all}break}}}return f},FZ:function(L,K,A,G){var w=L+"";var z=false;if(G){if(K[ZC._[66]]!=null&&K[ZC._[66]]){if(""+Number(w)==w){w=ZC.AQ.ZU(Number(w),K[ZC._[65]],K.utc);z=true}}}if(K[ZC._[14]]==null&&(L=ZC.FL[ZC._[14]])!=null){K[ZC._[14]]=L}if(K[ZC._[13]]==null&&(L=ZC.FL[ZC._[13]])!=null){K[ZC._[13]]=L}if(K[ZC._[12]]!=null&&K[ZC._[12]]!=-1&&typeof K["max-decimals"]!=ZC._[31]&&K["max-decimals"]!=-1){K[ZC._[12]]=ZC.BT(K["max-decimals"],K[ZC._[12]])}if(!z){if(K.exponent!=null&&K.exponent){w=Number(w).toExponential(K[ZC._[25]]);if(K[ZC._[14]]!=null){w=w.replace(/\./g,K[ZC._[14]])}}else{if(K["short"]!=null&&K["short"]){var J="",O=K["short-unit"]||"";var M=ZC.Q2(ZC._a_(Number(w)))/Math.LN10;var N=Number(w)<0;switch(ZC._a_(Number(w))){case 1000:M=3;break;case 1000000:M=6;break;case 1000000000:M=9;break}if(M>=3&&M<6&&O==""||O.toUpperCase()=="K"){w=""+Number(w)/1000;J="K"}else{if(M>=6&&M<9&&O==""||O.toUpperCase()=="M"){w=""+Number(w)/1000000;J="M"}else{if(M>=9&&O==""||O.toUpperCase()=="B"){w=""+Number(w)/1000000000;J="B"}}}if(ZC.MS(w)){if(K[ZC._[12]]!=null&&K[ZC._[12]]!=-1){w=Number(w).toFixed(ZC.BT(0,ZC._i_(K[ZC._[12]])))}else{var I=w.split("."),C=I[1]||"";if(K["max-decimals"]!=-1&&K["max-decimals"]<C.length){w=Number(w).toFixed(ZC.BT(0,ZC._i_(K["max-decimals"])))}}}if(K[ZC._[14]]!=null){w=w.replace(/\./g,K[ZC._[14]])}}if(!isNaN(w)){if(K[ZC._[12]]!=null&&K[ZC._[12]]!=-1){if(ZC.MS(w)){if(K["short"]==null||!K["short"]){w=Number(w).toFixed(ZC.BT(0,ZC._i_(K[ZC._[12]])))}}}if(K[ZC._[13]]!=null||K[ZC._[14]]!=null){var D=w.split(".");var H="";for(var y=0,x=D[0].length;y<x;y++){var c=D[0].substring(y,y+1);H+=c;if(ZC.AG(["-","+"],c)==-1){if((D[0].length-y-1)%3==0&&D[0].length-y-1!=0){H+=K[ZC._[13]]}}}w=H+(D[1]!=null?K[ZC._[14]]+D[1]:"")}if(K["short"]!=null&&K["short"]){w+=J}}}}return w},A4M:function(y){var x=y.indexOf("(");var s="";var v="";if(x!=-1){s=ZC.HM(y.substring(0,x));v=ZC.HM(y.substring(x+1,y.length-1))}else{s=ZC.HM(y)}var z=[];if(v!=""){var t=false;var q=false;var C=false;var u="";for(var w=0,A=v.length;w<A;w++){var r=v.substring(w,w+1);switch(r){case"\\":if(C){u+="\\";C=false}else{C=true}break;case‘"‘:if(C){u+=‘"‘;C=false}else{if(q){z.push(u);u="";q=false}else{if(t){u+=r}else{q=true}}}break;case"‘":if(C){u+="‘";C=false}else{if(t){z.push(u);u="";t=false}else{if(q){u+=r}else{t=true}}}break;case" ":if(t||q){u+=r}break;case",":if(t||q){u+=r}else{if(u!=""){z.push(u)}u=""}break;default:u+=r;break}}}if(u!=""){z.push(u)}return[s,z]},Z2:function(b){return b.toString().replace(/^([0-9])$/,"0$1")},ZU:function(u,z,A){z=z||ZC.FL["date-formats"]["minute"];if(typeof A==ZC._[31]){A=false}var s=new Date();s.setTime(u);if(A){var w=s.getUTCHours();var G=s.getUTCMinutes();var t=s.getUTCSeconds();var H=s.getUTCMilliseconds();var x=s.getUTCDay();var C=s.getUTCDate();var v=s.getUTCMonth();var D=s.getUTCFullYear()}else{var w=s.getHours();var G=s.getMinutes();var t=s.getSeconds();var H=s.getMilliseconds();var x=s.getDay();var C=s.getDate();var v=s.getMonth();var D=s.getFullYear()}var I={Y:D,y:D.toString().substr(2,2),F:ZC.FL["months-long"][v],m:ZC.AQ.Z2(v+1),M:ZC.FL["months-short"][v],n:v,d:ZC.AQ.Z2(C),D:ZC.FL["days-short"][x],j:C,l:ZC.FL["days-long"][x],N:x+1,w:x,S:function(){if(C%10==1){return"st"}else{if(C%10==2){return"nd"}else{if(C%10==2){return"rd"}else{return"th"}}}},a:w<12?"am":"pm",A:w<12?"AM":"PM",g:w%12||12,G:w,h:ZC.AQ.Z2(w%12||12),H:ZC.AQ.Z2(w),i:ZC.AQ.Z2(G),s:ZC.AQ.Z2(t),q:H};for(var y in I){z=z.replace("%"+y,I[y])}return z},UZ:{},GD:function(t,q){if(ZC.AQ.UZ[t]!=null){return ZC.AQ.UZ[t]}else{var b=String(t),s=1;if(b.length==0){return""}b=b.replace("0x","#");if(b.substring(0,5)=="rgba("){var r=new RegExp("rgba\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3}),\\s*([0-9.]+)\\)","gi");if(D7=r.exec(b)){var o=ZC.K8(D7[1]);if(o.length==1){o="0"+o}var p=ZC.K8(D7[2]);if(p.length==1){p="0"+p}var g=ZC.K8(D7[3]);if(g.length==1){g="0"+g}b="#"+o+p+g;s=ZC.BT(0,ZC.DI(1,parseFloat(D7[4])))}}else{if(b.substring(0,4)=="rgb("){var r=new RegExp("rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)","gi");if(D7=r.exec(b)){var o=ZC.K8(D7[1]);if(o.length==1){o="0"+o}var p=ZC.K8(D7[2]);if(p.length==1){p="0"+p}var g=ZC.K8(D7[3]);if(g.length==1){g="0"+g}b="#"+o+p+g}}else{if(b.substring(0,1)=="#"){if(b.length==4){b="#"+b.substring(1,2)+b.substring(1,2)+b.substring(2,3)+b.substring(2,3)+b.substring(3,4)+b.substring(3,4)}else{if(b.length!=7){b=""}}}else{if(ZC.L.A3L[b.toUpperCase()]!=null){b="#"+ZC.L.A3L[b.toUpperCase()]}}}}if(b=="none"||b=="transparent"){b=-1}if(!q){ZC.AQ.UZ[t]=b}return q?[b,s]:b}},W2:{},VT:function(e,g){if(e==-1){e="#ffffff";g=0}if(ZC.AQ.W2[e+","+g]!=null){return ZC.AQ.W2[e+","+g]}else{if(e.length==4){e=e.substring(0,1)+e.substring(1,2)+e.substring(1,2)+e.substring(2,3)+e.substring(2,3)+e.substring(3,4)+e.substring(3,4)}var f="rgba("+[ZC.N1(e.substring(1,3)),ZC.N1(e.substring(3,5)),ZC.N1(e.substring(5,7)),g].join(",")+")";ZC.AQ.W2[e+","+g]=f;return f}},A7O:function(n,t,q){n/=255;t/=255;q/=255;var s=Math.max(n,t,q);var v=Math.min(n,t,q);var u,o,p;p=s;var r=s-v;var o=s==0?0:r/s;if(s==v){u=0}else{switch(s){case n:u=(t-q)/r+(t<q?6:0);break;case t:u=(q-n)/r+2;break;case q:u=(n-t)/r+4;break}u/=6}return[u,o,p]},A7P:function(x,q,s){var p,w,t;var v=Math.floor(x*6);var u=x*6-v;var y=s*(1-q);var z=s*(1-u*q);var f=s*(1-(1-u)*q);switch(v%6){case 0:p=s,w=f,t=y;break;case 1:p=z,w=s,t=y;break;case 2:p=y,w=s,t=f;break;case 3:p=y,w=z,t=s;break;case 4:p=f,w=y,t=s;break;case 5:p=s,w=y,t=z;break}return[p*255,w*255,t*255]},H8:function(r,o){if(r==-1){return -1}r=ZC.AQ.GD(r);if(typeof o==ZC._[31]){o=10}var l=ZC.N1(r.substring(1,3));var m=ZC.N1(r.substring(3,5));var n=ZC.N1(r.substring(5,7));var p=ZC.AQ.A7O(l,m,n);if(o>0){p[2]=Math.max(0,p[2]-p[2]*o/100)}else{p[2]=Math.min(1,p[2]-p[2]*o/100)}var q=ZC.AQ.A7P(p[0],p[1],p[2]);q[0]=ZC._i_(q[0])<16?"0"+ZC.K8(q[0]):ZC.K8(q[0]);q[1]=ZC._i_(q[1])<16?"0"+ZC.K8(q[1]):ZC.K8(q[1]);q[2]=ZC._i_(q[2])<16?"0"+ZC.K8(q[2]):ZC.K8(q[2]);r="#"+q[0]+q[1]+q[2];return r},NP:function(n,m){if(n==-1){return -1}n=ZC.AQ.GD(n);if(typeof m==ZC._[31]){m=10}var g=parseInt(n.substr(1,2),16);var h=parseInt(n.substr(3,2),16);var l=parseInt(n.substr(5,2),16);return"#"+(0|(1<<8)+g+(256-g)*m/100).toString(16).substr(1)+(0|(1<<8)+h+(256-h)*m/100).toString(16).substr(1)+(0|(1<<8)+l+(256-l)*m/100).toString(16).substr(1)},Y4:function(f,l,h,g){},A5X:function(g,n,m,h,l){}};ZC.L={A3L:{BLACK:"000000",BLUE:"0000FF",BROWN:"A52A2A",CYAN:"00FFFF",FUCHSIA:"FF00FF",GOLD:"FFD700",GRAY:"808080",GREEN:"008000",INDIGO:"4B0082",LIME:"00FF00",MAGENTA:"FF00FF",MAROON:"800000",NAVY:"000080",ORANGE:"FFA500",PINK:"FFC0CB",PURPLE:"800080",RED:"FF0000",SILVER:"C0C0C0",TURQUOISE:"40E0D0",VIOLET:"EE82EE",WHITE:"FFFFFF",YELLOW:"FFFF00"},E7:function(g,e,f){return"<area"+(e&&f!="arrow"||f=="hand"?‘ href="javascript:;"‘:"")+‘ shape="‘+g+‘" ‘},A7W:function(n){var e;if(ZC.A2.browser.msie){try{e=document.createElement("<iframe />")}catch(p){e=document.createElement("iframe")}}else{e=document.createElement("iframe")}e.id=n.id+"-iframe";e.style.visibility="hidden";n.appendChild(e);var t=null;var o=e.contentWindow||e.contentDocument;if(o.document){t=o.document}else{t=o}if(!t.body){var q=t.createElement("HTML");t.appendChild(q);var r=t.createElement("HEAD");q.appendChild(r);var s=t.createElement("BODY");q.appendChild(s)}return t},BM:function(g){if(typeof ZC.TOUCHEVENTS==ZC._[31]){var f=true;try{document.createEvent("TouchEvent")}catch(e){f=false}if(f){f="ontouchstart" in document.documentElement}ZC.TOUCHEVENTS=f}else{var f=ZC.TOUCHEVENTS}if(f){switch(g){case"mouseover":case"mousedown":g="touchstart";break;case"mousemove":g="touchmove";break;case"mouseout":case"mouseup":g="touchend";break;case"click":g="touchstart";break}}return g},_sh_:function(G,v){var a=[];var H=v.H9,A=v.M3,D=v.LI,I=H-D/2;if(G.length>0){var x=ZC._i_(I*ZC.DG(A)+D),y=ZC._i_(I*ZC.DD(A)+D);for(var u=0,C=G.length;u<C;u++){if(G[u]!=null){var l=[];for(var w=0;w<G[u].length;w++){l[w]=G[u][w]}var z=l.length;if(z==2||z==4){for(var w=0;w<z;w++){l[w]=G[u][w]+(w%2?y+v.BW:x+v.C1)}}a.push(l)}else{a.push(null)}}}return a},_txp_:function(u,f,t,v,p){if(typeof p==ZC._[31]){p=false}var x=[u[0],u[1]];if(u.length>=4){x[2]=u[2];x[3]=u[3]}if(u.length>=6){x[4]=u[4];x[5]=u[5]}switch(f){case"canvas":case"svg":if(t.D5){var r,s;r=s=t.AM%2==1?0.5:0;if(ZC.A2.browser.msie&&ZC.quirks&&f=="svg"){r=t.AM%2==1?0.5:0;s=t.AM%2==1?0:0.5}x[0]=ZC._i_(x[0])-r;x[1]=ZC._i_(x[1])-s;if(x.length==4){x[2]=ZC._i_(x[2])-r;x[3]=ZC._i_(x[3])-s}}if(f=="svg"){x[0]=parseFloat(x[0].toFixed(1));x[1]=parseFloat(x[1].toFixed(1));if(x.length==4){x[2]=parseFloat(x[2].toFixed(1));x[3]=parseFloat(x[3].toFixed(1))}}if(f=="canvas"&&!v){if(typeof t.C1!=ZC._[31]&&typeof t.BW!=ZC._[31]){x[0]+=t.C1;x[1]+=t.BW;if(x.length==4){x[2]+=t.C1;x[3]+=t.BW}}}break;case"vml":if(t.A6%360==0){var q=10;var w=t.AM%2==1?0:q/2}else{var q=1;var w=0}if(t.D5){x[0]=q*ZC._i_(ZC._i_(q*x[0])/q)-w;x[1]=q*ZC._i_(ZC._i_(q*x[1])/q)-w;if(x.length==4){x[2]=q*ZC._i_(ZC._i_(q*x[2])/q)-w;x[3]=q*ZC._i_(ZC._i_(q*x[3])/q)-w}}else{x[0]=ZC._i_(q*x[0]);x[1]=ZC._i_(q*x[1]);if(x.length==4){x[2]=ZC._i_(q*x[2]);x[3]=ZC._i_(q*x[3])}}break}return x},XE:function(I,t,C,D,v){for(var A=0,G=I.length;A<G;A++){if(I[A]){I[A][0]=ZC._x_(I[A][0]);I[A][1]=ZC._x_(I[A][1])}}if(C.N6){var z=C.N+":"+C.A6+":"+I.join("#");if(ZC.cache.data["path-points-"+z]){return ZC.cache.data["path-points-"+z].split("#")}}var u=[];var x=false;for(var A=0,G=I.length;A<G;A++){if(I[A]==null){x=true;continue}var y=ZC.L._txp_(I[A],t,C,D,v);if(y==null||isNaN(y[0])||isNaN(y[1])||!isFinite(y[0])||!isFinite(y[1])){continue}if(A==0){u.push((t=="svg"?"M ":"m ")+y[0]+" "+y[1])}else{if(x){u.push((t=="svg"?"M ":"m ")+y[0]+" "+y[1]);x=false}if(y.length==2){u.push((t=="svg"?"L ":"l ")+y[0]+" "+y[1])}else{if(y.length==4){u.push((t=="svg"?"Q ":"qb ")+y[0]+" "+y[1]+" "+y[2]+" "+y[3])}else{if(y.length==6){if(t=="svg"){var H=ZC.AX.BK(y[0],y[1],y[2],y[3]);var s=ZC.AX.BK(y[0],y[1],y[2],y[4]);var w="0,0";if(y[5]==0){if(y[4]-y[3]<=180){w="0,1"}else{w="1,1"}}else{if(y[3]-y[4]<=180){w="0,0"}else{w="1,0"}}u.push("a "+y[2]+","+y[2]+" 0 "+w+" "+(s[0]-H[0])+","+(s[1]-H[1]))}else{if(t=="vml"){y[2]*=10;var H=ZC.AX.BK(y[0],y[1],y[2],y[3]);var s=ZC.AX.BK(y[0],y[1],y[2],y[4]);var w=y[5]==1?"at":"wa";u.push(w+" "+ZC._i_(y[0]-y[2])+","+ZC._i_(y[1]-y[2])+","+ZC._i_(y[0]+y[2])+","+ZC._i_(y[1]+y[2])+" "+ZC._i_(H[0])+","+ZC._i_(H[1])+" "+ZC._i_(s[0])+","+ZC._i_(s[1]))}}}}}}}if(C.N6){ZC.cache.add("path-points-"+z,u.join("#"))}return u},LE:function(l){var h,f;var g=l.originalEvent||l.originalEventZC;if(g&&g.touches){if(g.touches.length>0){h=g.touches[0].pageX;f=g.touches[0].pageY}else{if(g.changedTouches.length>0){h=g.changedTouches[0].pageX;f=g.changedTouches[0].pageY}}}else{h=l.pageX;f=l.pageY}return[h,f]},E8:function(l,h,g){g=g||document;var f;if(h!=null){if(g.createElementNS){f=g.createElementNS(h,l)}else{f=g.createElement(l);f.setAttribute("xmlns",h)}}else{f=g.createElement(l)}if(l.substring(0,4)=="zcv:"){f.className="zcvml"}return f},F6:function(l){var h;if(!(l instanceof Array)){l=[l]}for(var f=0,g=l.length;f<g;f++){h=l[f];if(typeof h!="object"){h=ZC.AH(l[f])}if(h){if(typeof h.parentElement!=ZC._[31]){h.parentElement.removeChild(h)}else{if(typeof h.parentNode!=ZC._[31]){h.parentNode.removeChild(h)}}}}},F2:function(f,g){for(var l in g){if(typeof l=="string"&&typeof g[l]!="object"&&typeof g[l]!="function"){try{f.setAttribute(l,g[l])}catch(h){}}}},P0:function(e,f){for(var g in f){if(typeof g=="string"&&typeof f[g]!="object"&&typeof f[g]!="function"){e.style[g]=f[g]}}},A58:function(c){if(c==document){return true}if(!c){return false}if(!c.parentNode){return false}if(c.style){if(c.style.display=="none"){return false}if(c.style.visibility=="hidden"){return false}}if(window.getComputedStyle){var e=window.getComputedStyle(c,"");if(e.display=="none"){return false}if(e.visibility=="hidden"){return false}}var e=c.currentStyle;if(e){if(e.display=="none"){return false}if(e.visibility=="hidden"){return false}}return ZC.L.A58(c.parentNode)},A0U:function(c){var e=c.className||ZC.A2(c).attr("class");if(e!=null&&typeof e=="object"){if(typeof e.baseVal!=ZC._[31]){e=e.baseVal}else{e=""}}return e||""},JI:function(t,h,p,q,n,r,s){if(!t){return}s=s||"";switch(h){case"canvas":t.getContext("2d").clearRect(p,q,n,r);break;case"vml":case"svg":var v=t.childNodes.length;if(v>0){for(var u=v-1;u>=0;u--){if(s==""){t.removeChild(t.childNodes[u])}else{if(t.childNodes[u].id.indexOf(s+"-")==0){t.removeChild(t.childNodes[u])}}}}break}},DF:function(e,c){if(typeof e=="string"){e=ZC.AH(e)}switch(c){case"canvas":return e.getContext("2d");case"svg":case"vml":return e}},JG:function(c,e){switch(e){case"svg":return ZC.L.A64(c);case"vml":case"canvas":return ZC.L.IU(c)}},HV:function(c,e){switch(e){case"svg":return ZC.L.A64(c);case"vml":return ZC.L.IU(c);case"canvas":return ZC.L.A7U(c)}},A64:function(g){var e;if(ZC.AH(g.id)==null){var f=ZC.L.E8("g",ZC._[36]);if((e=g.id)!=null){f.setAttribute("id",e)}if((e=g.cls)!=null){f.setAttribute("class",e)}if((e=g.zidx)!=null){f.setAttribute("z-index",e)}if((e=g["clip-path"])!=null){f.setAttribute("clip-path",e)}g.p.appendChild(f);return f}else{return ZC.AH(g.id)}},X9:function(e){ZC.L.F6(e.id);var g=ZC.L.E8("clipPath",ZC._[36]);g.id=e.id;var f=ZC.L.E8("polygon",ZC._[36]);f.id=e.id+"-shape";ZC.L.F2(f,{points:e.path});g.appendChild(f);return g},A7U:function(o){var p;if(ZC.AH(o.id)==null){var h=document.createElement("canvas"),n=h.style;if((p=o.id)!=null){h.id=p}if((p=o.cls)!=null){h.className=p}if((p=o.wh)!=null){var m=new String(p).split("/");o[ZC._[19]]=m[0];o[ZC._[20]]=m[1]}if((p=o.tl)!=null){var l=new String(p).split("/");o.top=l[0];o.left=l[1]}h.width=o[ZC._[19]];h.height=o[ZC._[20]];if((p=o.left)!=null){n.left=p+"px"}if((p=o.top)!=null){n.top=p+"px"}if((p=o.display)!=null){n.display=p}if((p=o.position)!=null){n.position=p}if((p=o.zidx)!=null){n.zIndex=p}o.p.appendChild(h);return h}else{return ZC.AH(o.id)}},IU:function(D){var L,x;if(ZC.AH(D.id)==null){var G=document.createElement("div"),M=G.style;M.whiteSpace="nowrap";if((L=D.wh)!=null){var a=new String(L).split("/");D[ZC._[19]]=a[0];D[ZC._[20]]=a[1]}if((L=D.tl)!=null){var y=new String(L).split("/");D.top=y[0];D.left=y[1]}if((L=D.id)!=null){G.id=L}if((L=D.cls)!=null){if(L!=""){G.className=L}}var H=[["top","","px"],["left","","px"],[ZC._[19],"","px"],[ZC._[20],"","px"],"position","overflow",["float","cssFloat|styleFloat"],["zidx","zIndex"],"clip","display",["font-size","","px"],"font-family","font-weight","font-style","text-decoration","text-align","vertical-align","color","border","border-top","border-right","border-bottom","border-left","background",["margin","marginTop|marginRight|marginBottom|marginLeft","px"],[ZC._[57],"","px"],[ZC._[58],"","px"],[ZC._[59],"","px"],[ZC._[60],"","px"],["padding","paddingTop|paddingRight|paddingBottom|paddingLeft","px"],["padding-top","","px"],["padding-right","","px"],["padding-bottom","","px"],["padding-left","","px"],"line-height","filter"];var N=null,I=null,w=null;for(var z=0,J=H.length;z<J;z++){if(typeof H[z]=="string"){H[z]=[H[z]]}L=null;if((x=D[H[z][0]])!=null){L=x}if((x=D[ZC.CX(H[z][0])])!=null){L=x}if(L!=null){if(H[z][1]==null||H[z][1]==""){H[z][1]=ZC.CX(H[z][0])}var A=H[z][1].split("|");for(var O=0,C=A.length;O<C;O++){var K=L+(H[z][2]==null?"":H[z][2]);M[A[O]]=K;if(A[O]=="fontFamily"){N=K}if(A[O]=="fontSize"){I=ZC._i_(K)}if(A[O]=="fontWeight"&&K=="bold"){w=true}}}}if((L=D.opacity)!=null){M.opacity=L;if(ZC._f_(L)!=1){M.filter="alpha(opacity = "+ZC._i_(ZC._f_(L)*100)+")"}}if((L=D.p)!=null){L.appendChild(G)}if((L=D.html)!=null){G.innerHTML=L;if(L.indexOf("<")!=-1&&L.indexOf(">")!=-1){ZC.A2(G).children().each(function(){if(N!=null){if(this.style.fontFamily==null||this.style.fontFamily==""){this.style.fontFamily=N}}if(I!=null){if(this.style.fontSize==null||this.style.fontSize==""){this.style.fontSize=I+"px"}}if(w!=null){if(this.style.fontWeight==null||this.style.fontWeight==""){this.style.fontWeight="bold"}}})}}return G}else{return ZC.AH(D.id)}},RC:null,A70:function(u,o,q,v,r){var n;var s="{{"+o+"}}"+q.replace(/[^a-z]/gi,"").toLowerCase()+v+(r?"b":"n");if(ZC.cache.data["text-width-"+s]){return ZC.cache.data["text-width-"+s]}var t;if((t=ZC.AH(u+"-text-ruler"))!=null){if(ZC.L.RC==null||ZC.L.RC!=u+q+v+(r?1:0)){t.style.fontFamily=q;t.style.fontSize=v+"px";t.style.fontWeight=r?"bold":"normal";ZC.L.RC=u+q+v+(r?1:0)}t.innerHTML=o}else{t=ZC.L.IU({id:u+"-text-ruler",p:document.body,tl:"-9999/-9999",html:o,position:"absolute",fontFamily:q,fontSize:v,fontWeight:r?"bold":"normal"})}if(o.indexOf("<")!=-1&&o.indexOf(">")!=-1){ZC.A2(t).children().each(function(){if(this.style.fontFamily==null||this.style.fontFamily==""){this.style.fontFamily=q}if(this.style.fontSize==null||this.style.fontSize==""){this.style.fontSize=v+"px"}if(this.style.fontWeight==null||this.style.fontWeight==""){this.style.fontWeight="bold"}})}if((n=t.getBoundingClientRect())&&n.width>0){var p=n.width}else{var p=ZC.mobile&&ZC.A2.browser.webkit?t.offsetWidth:ZC.A2(t).width()}ZC.cache.add("text-width-"+s,p);return p}};ZC.A2=function(A,v,u){var r=this;if(typeof u==ZC._[31]){u=true}if(u){return new ZC.A2(A,v,false)}else{r.MU=[];r.JC=A;r.TH=v;r.length=0;r.TH=r.TH||document.getElementsByTagName("body")[0];if(typeof r.JC=="object"){r.MU=[r.JC]}else{if(typeof r.JC=="string"){var t=false;var D=r.JC.split(">");if(D.length==2){t=true;ZC.A2(D[0]).each(function(){var a=this;ZC.A2(D[1],this).each(function(){if(this.parentNode==a){r.MU.push(this)}})})}var D=r.JC.split(" ");if(D.length==2){t=true;ZC.A2(D[0]).each(function(){ZC.A2(D[1],this).each(function(){r.MU.push(this)})})}if(!t){if(r.JC.substring(0,1)=="#"){if(ZC.AH(r.JC.substring(1))){r.MU=[ZC.AH(r.JC.substring(1))]}}else{if(r.JC.substring(0,1)=="."){if(document.getElementsByClassName){if(r.TH.getElementsByClassName){var G=r.TH.getElementsByClassName(r.JC.substring(1))}else{var G=document.getElementsByClassName(r.JC.substring(1));if(r.TH!=document){var s=[];for(var z=0,C=G.length;z<C;z++){if(ZC.A2.childof(G[z],r.TH)){s.push(G[z])}}G=s}}for(var z=0,C=G.length;z<C;z++){r.MU.push(G[z])}}else{var x=new RegExp("(^|\\s)"+r.JC.substring(1)+"(\\s|$)","i");var w=r.TH.getElementsByTagName("*");var y="";for(var z=0,C=w.length;z<C;z++){y=w[z].className;if(typeof y=="object"){if(typeof y.baseVal!=ZC._[31]){y=y.baseVal}else{y=""}}if(y!=""&&x.test(y)){r.MU.push(w[z])}}}}else{var G=r.TH.getElementsByTagName(r.JC);for(var z=0,C=G.length;z<C;z++){r.MU.push(G[z])}}}}}}}r.length=r.MU.length;return this};ZC.A2.prototype={eachfn:function(){var h=[],n;for(var o=0,l=this.MU.length;o<l;o++){var m=[this.MU[o]];if((n=arguments.length)>1){for(var p=1;p<n;p++){m.push(arguments[p])}}h.push(arguments[0].apply(this,m))}return h},each:function(){var m;for(var n=0,h=this.MU.length;n<h;n++){var l=[this.MU[n]];if((m=arguments.length)>1){for(var g=1;g<m;g++){l.push(arguments[g])}}arguments[0].apply(this.MU[n],l)}return this},children:function(){var b=[];this.each(function(){for(var e=0,a=this.childNodes.length;e<a;e++){if(this.childNodes[e].nodeType==1){b.push(this.childNodes[e])}}});this.MU=b;return this},remove:function(){this.eachfn.call(this,function(b){if(b&&b.parentNode){b.parentNode.removeChild(b)}})},empty:function(){this.eachfn.call(this,function(b){if(b){while(b.childNodes.length){b.removeChild(b.childNodes[b.childNodes.length-1])}}})},A22:function(c){if(typeof c==ZC._[31]){c=true}var e=this.eachfn.call(this,function(u){if(!u){return null}if(u==window){var h,t,p=document.body;if(u.innerWidth){h=u.innerWidth;t=u.innerHeight}else{if(p&&p.parentElement&&p.parentElement.clientWidth){h=p.parentElement.clientWidth;t=p.parentElement.clientHeight}else{if(p&&p.clientWidth){h=p.clientWidth;t=p.clientHeight}}}return{width:h,height:t}}else{var s=c?"block":ZC.A2(u).getstyle("display");if(s=="none"||s==""||typeof s==ZC._[31]){var a=u.style;var b=a.visibility;var v=a.position;var r=a.display;a.visibility="hidden";a.position="absolute";a.display="block";var h=u.offsetWidth;var t=u.offsetHeight;a.display=r;a.position=v;a.visibility=b}else{h=u.offsetWidth||0;t=u.offsetHeight||0}}return{width:h,height:t}});return e.length==1?e[0]:e},getstyle:function(c){var e=this.eachfn.call(this,function(u,s){if(s=="display"){return u.style.display}var a,p=document;s=ZC.CX(s);if(!u||u==p){return undefined}if(s=="opacity"&&typeof u.filters!=ZC._[31]){var r=(ZC.A2(u).getstyle("filter")||"").match(/alpha\(opacity=(.*)\)/);if(r&&r[1]){return parseFloat(r[1])/100}return 1}if(ZC.AG(["float","cssFloat","styleFloat"],s)!=-1){if(a=u.style["float"]){return a}else{if(a=u.style.cssFloat){return a}else{if(a=u.style.styleFloat){return a}else{return"none"}}}}var b=u.style?u.style[s]:null;if(!b){if(p.defaultView&&p.defaultView.getComputedStyle){var t=p.defaultView.getComputedStyle(u,null);s=s.replace(/([A-Z])/g,"-$1").toLowerCase();b=t?t.getPropertyValue(s):null}else{if(u.currentStyle){b=u.currentStyle[s];if(/^\d/.test(b)&&!/px$/.test(b)&&s!="fontWeight"){var q=u.style.left;var v=u.runtimeStyle.left;u.runtimeStyle.left=u.currentStyle.left;u.style.left=b||0;b=u.style.pixelLeft+"px";u.style.left=q;u.runtimeStyle.left=v}}}}if(s=="opacity"){b=parseFloat(b)}if(/Opera/.test(navigator.userAgent)&&ZC.AG(["left","top","right","bottom"],s)!=-1){if(ZC.A2(u).getstyle("position")=="static"){b="auto"}}return b=="auto"?null:b},c);return e.length==1?e[0]:e},width:function(e){var g;if(typeof e==ZC._[31]){var f=this.eachfn.call(this,function(a){if((g=ZC.A2(a).A22())!=null){return ZC._i_(g[ZC._[19]])}else{return 0}});return f.length==1?f[0]:f}else{this.eachfn.call(this,function(a,b){a.style.width=b+"px"},e);return this}},height:function(e){var g;if(typeof e==ZC._[31]){var f=this.eachfn.call(this,function(a){if((g=ZC.A2(a).A22())!=null){return ZC._i_(g[ZC._[20]])}else{return 0}});return f.length==1?f[0]:f}else{this.eachfn.call(this,function(b,a){b.style.height=a+"px"},e);return this}},scrollLeft:function(){var b=ZC.A2.scroll();return b.left},scrollTop:function(){var b=ZC.A2.scroll();return b.top},css:function(g,f){if(typeof f==ZC._[31]){var e=this.eachfn.call(this,function(a){var b=ZC.A2(a).getstyle(g);if(new String(b).indexOf("px")!=-1){return ZC._i_(b)}else{return b}});return e.length==1?e[0]:e}else{this.eachfn.call(this,function(a,b,c){a.style[b]=c},g,f);return this}},attr:function(g,f){if(typeof f==ZC._[31]){var e=this.eachfn.call(this,function(a){return a.getAttribute(g)});return e.length==1?e[0]:e}else{this.eachfn.call(this,function(b,a,c){b.setAttribute(a,c)},g,f);return this}},val:function(e){if(typeof e==ZC._[31]){var c=this.eachfn.call(this,function(a){return a.value});return c.length==1?c[0]:c}else{this.eachfn.call(this,function(a,b){a.value=b},e);return this}},show:function(){this.eachfn.call(this,function(b){b.style.display="block"});return this},hide:function(){this.eachfn.call(this,function(b){b.style.display="none"});return this},offset:function(c){var e=this.eachfn.call(this,function(v){if(!v||!(v.x&&v.y)&&(!v.parentNode===null||ZC.A2(v).getstyle("display")=="none")){return undefined}var q={top:0,left:0};var t=null;var u=null;var r=document,a=r.documentElement,b=r.body;if(!v.parentNode&&v.x&&v.y){q.left+=v.x||0;q.top+=v.y||0}else{if(v.getBoundingClientRect){t=v.getBoundingClientRect();q.left+=t.left+(a.scrollLeft||b.scrollLeft)-(a.clientLeft||0);q.top+=t.top+(a.scrollTop||b.scrollTop)-(a.clientTop||0)}else{if(v.offsetParent){q.left+=v.offsetLeft;q.top+=v.offsetTop;u=v.offsetParent;if(u!=v){while(u){q.left+=ZC._i_(u.style.borderLeftWidth);q.top+=ZC._i_(u.style.borderTopWidth);q.left+=ZC._i_(parent.offsetLeft);q.top+=ZC._i_(parent.offsetTop);u=u.offsetParent}}var x=navigator.userAgent.toLowerCase();if(typeof opera!=ZC._[31]&&parseFloat(opera.version())<9||x.indexOf("AppleWebKit")!=-1&&ZC.A2(v).getstyle("position")=="absolute"){q.left-=ZC._i_(b.offsetLeft);q.top-=ZC._i_(b.offsetTop)}if(v.parentNode){u=v.parentNode}else{u=null}while(u){var w=u.tagName.toUpperCase();if(w==="BODY"||w==="HTML"){break}var s=ZC.A2(u).getstyle("display");if(s.search(/^inline|table-row.*$/i)){q.left-=ZC._i_(u.scrollLeft);q.top-=ZC._i_(u.scrollTop)}if(u.parentNode){u=u.parentNode}else{u=null}}}}}return q});return e.length==1?e[0]:e},bind:function(h,f){if(h.indexOf(" ")!=-1){var g=h.split(/\s+/);for(var l=0;l<g.length;l++){this.bind(g[l],f)}return this}this.eachfn.call(this,function(b,a,c){if(!ZC.A2.GR){ZC.A2.GR=[]}function e(q){q=q||window.event;var r=q.target||q.srcElement;var p=ZC.A2.BM(q);if(p!=null){c.call(r,p)}}ZC.A2.GR.push([b,a,c,e]);if(b.addEventListener){b.addEventListener(a,e,true)}else{b.attachEvent("on"+a,e)}},h,f);return this},unbind:function(h,f){if(h.indexOf(" ")!=-1){var g=h.split(/\s+/);for(var l=0;l<g.length;l++){this.unbind(g[l],f)}return this}this.eachfn.call(this,function(a,o,c){if(typeof ZC.A2.GR!=ZC._[31]){for(var b=0,e=ZC.A2.GR.length;b<e;b++){if(ZC.A2.GR[b][0]==a&&ZC.A2.GR[b][1]==o&&ZC.A2.GR[b][2]==c){if(a.removeEventListener){a.removeEventListener(o,ZC.A2.GR[b][3],true)}else{a.detachEvent("on"+o,ZC.A2.GR[b][3])}ZC.A2.GR.splice(b,1);break}}}},h,f);return this},live:function(m,p){if(m.indexOf(" ")!=-1){var l=m.split(/\s+/);for(var o=0;o<l.length;o++){this.live(l[o],p)}return this}var h=this.JC;if(!ZC.A2.EVENTS){ZC.A2.EVENTS={}}if(!ZC.A2.EVENTS[m]){ZC.A2.EVENTS[m]=[];function n(f){f=f||window.event;var t=f.target||f.srcElement;var e=t.className||"";if(typeof e=="object"){if(typeof e.baseVal!=ZC._[31]){e=e.baseVal}else{e=""}}var a=ZC.A2.EVENTS[m];var g=null,b=null;for(var s=0,c=a.length;s<c;s++){if(typeof a[s][0]=="object"&&t==a[s][0]||typeof a[s][0]=="string"&&(a[s][0].substring(0,1)=="."&&ZC.AG(e.split(" "),a[s][0].replace(".",""))!=-1||a[s][0].substring(0,1)=="#"&&t.id==a[s][0].substring(1))){g=a[s][1];b=ZC.A2.BM(f)}}if(g!=null&&b!=null){g.call(t,b)}}if(document.addEventListener){document.addEventListener(m,n,true)}else{document.attachEvent("on"+m,n)}}ZC.A2.EVENTS[m].push([h,p]);return this},die:function(m,o){if(m.indexOf(" ")!=-1){var h=m.split(/\s+/);for(var n=0;n<h.length;n++){this.die(h[n],o)}return this}var p=this.JC;if(!ZC.A2.EVENTS){ZC.A2.EVENTS={}}var h;if(h=ZC.A2.EVENTS[m]){for(var n=0,l=h.length;n<l;n++){if(h[n][0]==p&&(!o||h[n][1]==o)){h.splice(n,1);break}}}return this}};ZC.A2.cache={};ZC.A2.browser={};(function(){var m=/(webkit)[ \/]([\w.]+)/,l=/(opera)(?:.*version)?[ \/]([\w.]+)/,n=/(msie) ([\w.]+)/,h=/(mozilla)(?:.*? rv:([\w.]+))?/;var g=function(a){a=a.toLowerCase();var b=m.exec(a)||l.exec(a)||n.exec(a)||a.indexOf("compatible")<0&&h.exec(a)||[];return[b[1]||"",b[2]||"0"]}(navigator.userAgent);if(g[0]){ZC.A2.browser[g[0]]=true;ZC.A2.browser.version=g[1]}})();ZC.A2.scroll=function(){var g={top:0,left:0};var l=document;var h=l.documentElement;var f=l.body;if(h&&(h.scrollTop||h.scrollLeft)){g.left=h.scrollLeft;g.top=h.scrollTop}else{if(f){g.left=f.scrollLeft;g.top=f.scrollTop}}return g};ZC.A2.BM=function(l){l.originalEventZC=l;if(!l.target){l.target=l.srcElement||document}if(l.target.nodeType===3||l.target.nodeType===8){l.target=l.target.parentNode}if(l.pageX==null&&l.clientX!=null){var f=l.target.ownerDocument||document,h=f.documentElement,g=f.body;l.pageX=l.clientX+(h&&h.scrollLeft||g&&g.scrollLeft||0)-(h&&h.clientLeft||g&&g.clientLeft||0);l.pageY=l.clientY+(h&&h.scrollTop||g&&g.scrollTop||0)-(h&&h.clientTop||g&&g.clientTop||0)}if(!l.which&&l.button!==undefined){l.which=l.button&1?1:l.button&2?3:l.button&4?2:0}if(!l.preventDefault){l.preventDefault=function(){this.returnValue=false}}if(!l.stopPropagation){l.stopPropagation=function(){this.cancelBubble=true}}return l};ZC.A2.childof=function(c,e){if(c==e){return true}while(c!=e&&c.parentNode){c=c.parentNode;if(c==e){return true}}return false};ZC.A2.ajax=function(w){var s=w.url||"";var y=w.type||"GET";var x=w.data||"";var A=true;if(typeof w.async!=ZC._[31]){A=ZC._b_(w.async)}if(x.replace(/\&/g,"")==""){x=""}var t=w.beforeSend||null;var D=w.error||null;var C=w.success||null;var G=null;try{if(window.ActiveXObject){G=new ActiveXObject("Microsoft.XMLHTTP")}else{if(window.XMLHttpRequest){G=new XMLHttpRequest()}}}catch(e){}var u=window.location.protocol=="file:";if(G){if(A){function z(){if(G.readyState==4){if(u||G.status>=200&&G.status<300){if(C){C(G.responseText,G.status,G,s)}}if(G.status>=400){if(D){D(G,G.status,G.statusText,s)}}G.onreadystatechange=new window.Function();G=null}}G.onreadystatechange=z}if(!window.ActiveXObject){G.onerror=function(){if(D){D(G,0,"",s)}}}if(y.toUpperCase()=="POST"){G.open("POST",s,A);G.setRequestHeader("X-Requested-With","XMLHttpRequest");G.setRequestHeader("Content-type","application/x-www-form-urlencoded")}else{if(x!=""){if(s.indexOf("?")==-1){s+="?"}s+="&"+x}G.open("GET",s,A)}if(t){t(G)}try{G.send(x);if(!A){if(u||G.status>=200&&G.status<300){if(C){C(G.responseText,G.status,G,s)}}if(G.status>=400){if(D){D(G,G.status,G.statusText,s)}}G=null}}catch(v){if(u){if(D){D(G,G.status,G.statusText,s);G.onreadystatechange=new window.Function();G=null}}}}};ZC.AX={YC:function(c,e){if(c.x>e.x+e.width){return false}if(e.x>c.x+c.width){return false}if(c.y>e.y+e.height){return false}if(e.y>c.y+c.height){return false}return true},A0H:function(D,G,x){var A=Math.sqrt(D/Math.PI);var C=Math.sqrt(G/Math.PI);var H=Math.min(A,C);var z=Math.max(A,C);var v=ZC.MAX;var w=0;for(var y=H+z;y>z-H;y-=H/50){var r=H*H*Math.acos((y*y+H*H-z*z)/(2*y*H));var t=z*z*Math.acos((y*y+z*z-H*H)/(2*y*z));var u=1/2*Math.sqrt((-y+H+z)*(y+H-z)*(y-H+z)*(y+H+z));var I=r+t-u;if(Math.abs(I-x)<v){v=Math.abs(I-x);w=y}}return w},BK:function(g,h,f,l){return[g+f*Math.cos(l*2*Math.PI/360),h+f*Math.sin(l*2*Math.PI/360)]},Z3:function(s,q,t,r,o){var p=ZC.QS(Math.atan((r-q)/(t-s)));var m=ZC._i_(ZC.DG(p)*o);var n=ZC._i_(ZC.DD(p)*o);return[s+m,q+n]},IA:function(w,p,x,q,v,o){v=v==null?0:v;o=o==null?true:o;if(x-w!=0){var r=0,s=0;var t=Math.atan((q-p)/(x-w));if(v<1||o){r=v/2.5*Math.cos(t);s=v/2.5*Math.sin(t)}var u=w<x;return[(w+x)/2+(u?r:-r),(p+q)/2+s]}else{return[w,p]}},A55:function(a,b){var h=(a[1]-b[1])/(a[0]-b[0]);var l=a[1]-h*a[0];return[h,l]},A5N:function(u,v,w,x){if(v[0]==x[0]&&v[1]==x[1]){return v}if(u[0]==w[0]&&u[1]==w[1]){return u}var z=ZC.AX.A55(u,v);var A=z[0],q=z[1];var y=ZC.AX.A55(w,x);var C=y[0],s=y[1];var r=(s-q)/(A-C);var t=A*r+q;return[r,t]},OT:function(x,p){if(p==null){p=5}var v="";var r,q,s,t,o=ZC.ie67?ZC.MAPTX:0;for(var u=0,w=x.length;u<w;u++){if(x[u]){if(u==0){q=x[u][0]+o;s=x[u][1]+o;r=u;v+=ZC._i_(q)+","+ZC._i_(s)+","}else{t=Math.sqrt((x[u][0]+o-q)*(x[u][0]+o-q)+(x[u][1]+o-s)*(x[u][1]+o-s));if(t>p){if(x[u-1]){t=Math.sqrt((x[u][0]-x[u-1][0])*(x[u][0]-x[u-1][0])+(x[u][1]-x[u-1][1])*(x[u][1]-x[u-1][1]));if(t>p&&u-r>1){v+=ZC._i_(x[u-1][0]+o)+","+ZC._i_(x[u-1][1]+o)+","}q=x[u][0]+o;s=x[u][1]+o;r=u;v+=ZC._i_(q)+","+ZC._i_(s)+","}}}}}v=v.substring(0,v.length-1);return v},XM:function(J,A){if(J==null||J.length<2){return""}A=A||8;if(ZC.mobile){A+=12}var C=[];for(var G=0,S=J.length;G<S;G++){if(G==0||G>0&&J[G]!=null&&J[G-1]!=null&&J[G].join("/")!=J[G-1].join("/")||J[G]==null){C.push(J[G])}}var M=[];var D=[];var O=false;for(var G=0,S=C.length;G<S;G++){if(!J[G]){continue}var H=C[G][0],I=C[G][1],Q,x,R,y;if(C[G-1]){R=C[G-1][0];y=C[G-1][1];if(R==H){R-=0.1}}if(C[G+1]){Q=C[G+1][0];x=C[G+1][1];if(Q==H){Q+=0.1}}if(G==0){var K=Math.atan((x-I)/(Q-H)),P=ZC.QS(K);var z=P;if(Q>=H){z+=180}M.push(ZC.AX.BK(H,I,A,P+90),ZC.AX.BK(H,I,A,z),ZC.AX.BK(H,I,A,P+270))}else{if(G==C.length-1){var K=Math.atan((y-I)/(R-H)),P=ZC.QS(K);var z=P;if(R>=H){z+=180}if(O){D.push(ZC.AX.BK(H,I,A,P+270),ZC.AX.BK(H,I,A,z),ZC.AX.BK(H,I,A,P+90));O=false}else{M.push(ZC.AX.BK(H,I,A,P+270),ZC.AX.BK(H,I,A,z),ZC.AX.BK(H,I,A,P+90))}}else{var L=Math.atan((x-I)/(Q-H)),N=Math.atan((I-y)/(H-R)),z=ZC.QS((L+N)/2);M.push(ZC.AX.BK(H,I,A,z+270));if(Q>=H&&R>=H){M.push(ZC.AX.BK(H,I,A,z+180));M.push(ZC.AX.BK(H,I,A,z+90));D.push(ZC.AX.BK(H,I,A,z));O=true}else{if(Q<=H&&R<=H){M.push(ZC.AX.BK(H,I,A,z));M.push(ZC.AX.BK(H,I,A,z+90));D.push(ZC.AX.BK(H,I,A,z+180));O=true}else{D.push(ZC.AX.BK(H,I,A,z+90))}}}}}for(var G=D.length-1;G>=0;G--){M.push(D[G])}return M},WP:function(m,n){var h=0;var g=0;var l=[];m+="";switch(m){case"horizontal":case"h":h=1;g=n;break;case"vertical":case"v":h=n;g=1;default:l=m.split("x");if(l[0]!=null&&ZC._i_(l[0])==l[0]){h=ZC._i_(l[0])}if(l[1]!=null&&ZC._i_(l[1])==l[1]){g=ZC._i_(l[1])}if(g==0&&h==0){h=Math.ceil(Math.sqrt(n));g=Math.ceil(n/h)}else{if(g==0){g=Math.ceil(n/h)}if(h==0){h=Math.ceil(n/g)}}break}return[h,g]},UI:function(z,r,s){if(s==null){s=1/(4*(r/z.length))}var q=[];function y(b,a){return 0.5*(2*a[1]+(-a[0]+a[2])*b+(2*a[0]-5*a[1]+4*a[2]-a[3])*b*b+(-a[0]+3*a[1]-3*a[2]+a[3])*b*b*b)}function p(a,b,c,e){if(a!=null){return a}if(b!=null){return b}if(c!=null){return c}if(e!=null){return e}return null}for(var v=1;v<z.length-2;v++){if(s!=1){var x=[z[v-1],z[v],z[v+1],z[v+2]];if(x[1]==null||x[2]==null){q.push([])}else{if(x[0]==null){x[0]=p(x[1],x[2],x[3],x[0])}if(x[1]==null){x[1]=p(x[2],x[0],x[3],x[1])}if(x[2]==null){x[2]=p(x[3],x[1],x[0],x[2])}if(x[3]==null){x[3]=p(x[2],x[1],x[0],x[3])}for(var w=0;w<=1;w+=s){var t=v+w;var u=y(w,x);q.push([t-1,u])}}}else{q.push([v-1,z[v]])}}return q},A4H:function(u,p,t,x){if(x==null||x==0){x=1}var q;var r;var s=Math.floor(ZC.Q2(ZC._a_(p))/Math.LN10);var w=Math.floor(ZC.Q2(ZC._a_(u))/Math.LN10);var z=Math.max(s,w);if(t==null){t=Math.pow(10,z);if(ZC._a_(p)/t<2&&ZC._a_(u)/t<2){z--;t=Math.pow(10,z)}var y=Math.floor(ZC.Q2(p-u)/Math.LN10);var v=Math.pow(10,y);if(p-u>0&&t/v>=10){t=v;z=y}}t*=x;r=p;r=Math.ceil(p/t)*t;if(u<0){q=-(Math.floor(ZC._a_(u/t))*t);if(q>u){q=-((Math.floor(ZC._a_(u/t))+1)*t)}}else{q=Math.floor(ZC._a_(u/t))*t;if(q>u){q=Math.floor(ZC._a_(u/t)-1)*t}q=q<0?0:q}if(z<0){q=ZC._f_(q.toFixed(-z));r=ZC._f_(r.toFixed(-z));if(t.toFixed(-z)>0){t=ZC._f_(t.toFixed(-z))}}return[q,r,t,z]}};ZC.UE={md5:function(b){return ZC.UE.A7B(ZC.UE.A7I(ZC.UE.A78(b)))},A7I:function(b){return ZC.UE.A6N(ZC.UE.A7E(ZC.UE.A6O(b),b.length*8))},A7B:function(p){var m="0123456789abcdef";var n="";var o;for(var h=0,l=p.length;h<l;h++){o=p.charCodeAt(h);n+=m.charAt(o>>>4&15)+m.charAt(o&15)}return n},A78:function(p){var o="";var h=-1,l=p.length;var m,n;while(++h<l){m=p.charCodeAt(h);n=h+1<l?p.charCodeAt(h+1):0;if(55296<=m&&m<=56319&&56320<=n&&n<=57343){m=65536+((m&1023)<<10)+(n&1023);h++}if(m<=127){o+=String.fromCharCode(m)}else{if(m<=2047){o+=String.fromCharCode(192|m>>>6&31,128|m&63)}else{if(m<=65535){o+=String.fromCharCode(224|m>>>12&15,128|m>>>6&63,128|m&63)}else{if(m<=2097151){o+=String.fromCharCode(240|m>>>18&7,128|m>>>12&63,128|m>>>6&63,128|m&63)}}}}}return o},A6O:function(g){var f=Array(g.length>>2);for(var e=0;e<f.length;e++){f[e]=0}for(var e=0;e<g.length*8;e+=8){f[e>>5]|=(g.charCodeAt(e/8)&255)<<e%32}return f},A6N:function(e){var g="";for(var f=0;f<e.length*32;f+=8){g+=String.fromCharCode(e[f>>5]>>>f%32&255)}return g},A7E:function(L,R){function K(f,h,l,e,m,g){return Q(c(Q(Q(h,f),Q(e,g)),m),l)}function J(l,m,f,g,n,e,h){return K(m&f|~m&g,l,m,n,e,h)}function G(l,m,f,g,n,e,h){return K(m&g|f&~g,l,m,n,e,h)}function P(l,m,f,g,n,e,h){return K(m^f^g,l,m,n,e,h)}function M(l,m,f,g,n,e,h){return K(f^(m|~g),l,m,n,e,h)}function Q(f,g){var e=(f&65535)+(g&65535);var h=(f>>16)+(g>>16)+(e>>16);return h<<16|e&65535}function c(e,f){return e<<f|e>>>32-f}L[R>>5]|=128<<R%32;L[(R+64>>>9<<4)+14]=R;var b=1732584193;var A=-271733879;var C=-1732584194;var D=271733878;for(var H=0,O=L.length;H<O;H+=16){var a=b;var N=A;var I=C;var S=D;b=J(b,A,C,D,L[H],7,-680876936);D=J(D,b,A,C,L[H+1],12,-389564586);C=J(C,D,b,A,L[H+2],17,606105819);A=J(A,C,D,b,L[H+3],22,-1044525330);b=J(b,A,C,D,L[H+4],7,-176418897);D=J(D,b,A,C,L[H+5],12,1200080426);C=J(C,D,b,A,L[H+6],17,-1473231341);A=J(A,C,D,b,L[H+7],22,-45705983);b=J(b,A,C,D,L[H+8],7,1770035416);D=J(D,b,A,C,L[H+9],12,-1958414417);C=J(C,D,b,A,L[H+10],17,-42063);A=J(A,C,D,b,L[H+11],22,-1990404162);b=J(b,A,C,D,L[H+12],7,1804603682);D=J(D,b,A,C,L[H+13],12,-40341101);C=J(C,D,b,A,L[H+14],17,-1502002290);A=J(A,C,D,b,L[H+15],22,1236535329);b=G(b,A,C,D,L[H+1],5,-165796510);D=G(D,b,A,C,L[H+6],9,-1069501632);C=G(C,D,b,A,L[H+11],14,643717713);A=G(A,C,D,b,L[H],20,-373897302);b=G(b,A,C,D,L[H+5],5,-701558691);D=G(D,b,A,C,L[H+10],9,38016083);C=G(C,D,b,A,L[H+15],14,-660478335);A=G(A,C,D,b,L[H+4],20,-405537848);b=G(b,A,C,D,L[H+9],5,568446438);D=G(D,b,A,C,L[H+14],9,-1019803690);C=G(C,D,b,A,L[H+3],14,-187363961);A=G(A,C,D,b,L[H+8],20,1163531501);b=G(b,A,C,D,L[H+13],5,-1444681467);D=G(D,b,A,C,L[H+2],9,-51403784);C=G(C,D,b,A,L[H+7],14,1735328473);A=G(A,C,D,b,L[H+12],20,-1926607734);b=P(b,A,C,D,L[H+5],4,-378558);D=P(D,b,A,C,L[H+8],11,-2022574463);C=P(C,D,b,A,L[H+11],16,1839030562);A=P(A,C,D,b,L[H+14],23,-35309556);b=P(b,A,C,D,L[H+1],4,-1530992060);D=P(D,b,A,C,L[H+4],11,1272893353);C=P(C,D,b,A,L[H+7],16,-155497632);A=P(A,C,D,b,L[H+10],23,-1094730640);b=P(b,A,C,D,L[H+13],4,681279174);D=P(D,b,A,C,L[H],11,-358537222);C=P(C,D,b,A,L[H+3],16,-722521979);A=P(A,C,D,b,L[H+6],23,76029189);b=P(b,A,C,D,L[H+9],4,-640364487);D=P(D,b,A,C,L[H+12],11,-421815835);C=P(C,D,b,A,L[H+15],16,530742520);A=P(A,C,D,b,L[H+2],23,-995338651);b=M(b,A,C,D,L[H],6,-198630844);D=M(D,b,A,C,L[H+7],10,1126891415);C=M(C,D,b,A,L[H+14],15,-1416354905);A=M(A,C,D,b,L[H+5],21,-57434055);b=M(b,A,C,D,L[H+12],6,1700485571);D=M(D,b,A,C,L[H+3],10,-1894986606);C=M(C,D,b,A,L[H+10],15,-1051523);A=M(A,C,D,b,L[H+1],21,-2054922799);b=M(b,A,C,D,L[H+8],6,1873313359);D=M(D,b,A,C,L[H+15],10,-30611744);C=M(C,D,b,A,L[H+6],15,-1560198380);A=M(A,C,D,b,L[H+13],21,1309151649);b=M(b,A,C,D,L[H+4],6,-145523070);D=M(D,b,A,C,L[H+11],10,-1120210379);C=M(C,D,b,A,L[H+2],15,718787259);A=M(A,C,D,b,L[H+9],21,-343485551);b=Q(b,a);A=Q(A,N);C=Q(C,I);D=Q(D,S)}return Array(b,A,C,D)}};if(typeof zingchart==ZC._[31]){zingchart={A7Y:true}}zingchart.clipart={};zingchart.widgets={};zingchart.plugins={};zingchart.pool={};zingchart.pool.getInstance=function(l,g,h){var f;if(zingchart.pool[h]!=null){f=zingchart.pool[h];ZC.SKIPOBJCOUNT=true;f.$i(g);f.N=h;ZC.SKIPOBJCOUNT=false}else{switch(l){case"D2":f=new ZC.D2(g);break;case"HC":f=new ZC.HC(g);break;case"DA":f=new ZC.DA(g);break;case"VV":f=new ZC.VV(g);break;case"DZ":f=new ZC.DZ(g);break}f.N=h;zingchart.pool[h]=f}return f};zingchart.i18n={};zingchart.THEMES={};zingchart.V3D=2;zingchart.QUOTEDVALUES=false;zingchart.EDITSOURCE=1;zingchart.MODULESDIR="./modules/";zingchart.MODULESDEP={line:"xy",line3d:"3d,line",area:"xy",area3d:"3d,area",vbar:"xy",vbar3d:"3d,vbar",hbar:"yx",hbar3d:"3d,hbar",scatter:"xy",bubble:"xy",pie:"r",pie3d:"3d,pie",nestedpie:"r",gauge:"r",vbullet:"vbar",hbullet:"hbar",vfunnel:"xy",hfunnel:"yx",piano:"xy",radar:"r",range:"xy",stock:"xy,vbar",venn:"r"};zingchart.SKIP={EVENT:false,ANIMATION:false,LEGEND:false,CSV:false};zingchart.DEV={DOMFRAGMENTS:1,SORTTOKENS:1,PLOTSTATS:1};zingchart.CANVASTEXT=0;zingchart.ZINDEX=1;zingchart.CMZINDEX=0;zingchart.FSZINDEX=9999;zingchart.ZCOUTPUT=0;zingchart.ASYNC=0;zingchart.SORTTRACKERS=0;zingchart.TIMEOUT=25;zingchart.USERCSS={};zingchart.EXPORTURL=document.location.protocol+"//export.zingchart.com/";zingchart.AJAXEXPORT=false;zingchart.TOUCHZOOM="normal";zingchart.FONTSIZE=11;zingchart.FONTFAMILY="Lucida Sans Unicode,Lucida Grande,Verdana,Arial,sans-serif";if(ZC.mobile){zingchart.FONTFAMILY="Helvetica,Verdana,Arial,sans-serif"}zingchart.loadModules=function(o,l){var n=new String(o).split(",");for(var r=0,m=n.length;r<m;r++){var p=ZC.HM(n[r]);if(ZC.AG(["bar","bar3d","funnel","bullet"],p)!=-1){p="v"+p}var q=zingchart.MODULESDEP[p];if(q!=null&&typeof q!=ZC._[31]){zingchart.loadModules(q)}if(ZC.AG(ZC.P3,p)==-1){ZC.P3.push(p)}}if(l){zingchart.W3(null,ZC.P3,l)}};zingchart.W3=function(h,o,l){if(o.length==0){l()}else{var n=document.getElementsByTagName("head")[0];if(!n){l();return}var m=0;function p(){var b,a=true;if(zingchart.A79(o[m])){b=zingchart.MODULESDIR+"zingchart-html5-"+o[m]+"-min.js"}else{a=false}function c(){m++;if(m==o.length){l()}else{p()}}if(a){ZC.AQ.A6T(h,b,c)}else{c()}}p()}};zingchart.A79=function(b){return ZC.AG(ZC.P3,b)!=-1&&ZC.AG(ZC.RZ,b)==-1};zingchart.LB=[];if(!ZC.ie67){(function(){for(var b in ZC.IMAGES){if(ZC.IMAGES.hasOwnProperty(b)){zingchart.LB[b]=new Image();zingchart.LB[b].src=ZC.IMAGES[b]}}})()}if(typeof Ext!=ZC._[31]){zingchart.LB["zc.blank"]=new Image();zingchart.LB["zc.blank"].src=ZC.BLANK}zingchart.exec=function(g,e,f){if(zingchart.exec_flash){return zingchart.exec_flash(g,e,f)}return null};zingchart.A7T=function(O){var OD=O.dataurl||"";var I0="",E;var PT=null;if((E=O.data)!=null){if(typeof E=="string"){I0=E}else{PT=E}}var DX=null;if(OD!=""){ZC.A2.ajax({type:"GET",url:OD,async:false,data:zingchart.ZCOUTPUT?"zcoutput=userdef":"",error:function(FQ,LU,GL){return false},success:function(I9,LU,FQ){function _f_(DX){ZC.cache.data["data-"+OD]=I9;O.output="auto";ZC._cp_(DX.render,O)}try{DX=JSON.parse(I9);_f_(DX)}catch(GL){try{DX=eval("("+I9+")");_f_(DX)}catch(GL){return false}}}})}else{if(I0!=""){try{DX=JSON.parse(I0)}catch(GL){return false}}else{if(PT!=null){DX=PT}}if(O.output==null){O.output="auto"}ZC._cp_(DX.render,O)}return zingchart.render(O)};zingchart.US=null;zingchart.render=function(h,g){if(g==null){g=false}if(g){return zingchart.A7T(h)}if(typeof ZC.canvas==ZC._[31]||ZC.canvas==null){ZC.compat()}var l=h.output||"auto";if(l=="html5"){l="auto"}if(ZC.mobile&&l=="auto"){l="svg"}var f=false;if(l.substring(0,1)=="!"){f=true;l=l.substring(1)}if(!f){if(l=="auto"||l=="canvas"&&!ZC.canvas||l=="svg"&&!ZC.svg||l=="vml"&&!ZC.vml||l=="flash"&&!ZC.flash){if(ZC.canvas){l="canvas"}else{if(ZC.svg){l="svg"}else{if(ZC.vml){l="vml"}else{if(ZC.flash){l="flash"}}}}}}if(l=="vml"&&zingchart.US==null){zingchart.US=false}if(l=="flash"){zingchart.render_flash(h)}else{return zingchart.A33(h,l)}};if(document.attachEvent){if(document.readyState=="complete"){zingchart.US=true}else{document.attachEvent("onreadystatechange",function(){if(document.readyState=="complete"){zingchart.US=true}})}}zingchart.setlabel=function(e,c){ZC.FL[e]=c};zingchart.IB=[];zingchart.A7Z=0;zingchart.A7K=0;zingchart.A81=false;zingchart.A3P=false;zingchart.A3V=false;zingchart.A7A=false;zingchart.css=null;zingchart.S6=function(h){if(!h.target.id){return}var l=null;for(var g=0,f=zingchart.IB.length;g<f;g++){if(h.target.id.substr(0,zingchart.IB[g].N.length+1)==zingchart.IB[g].N+"-"){l=zingchart.IB[g]}}return l};if(typeof zingchart.OB==ZC._[31]){zingchart.OB=function(c){if(window.ZC){window.ZC.E1=[c.pageX,c.pageY];var e=zingchart.S6(c);if(e){if(!zingchart.SKIP.EVENT){ZC.AQ.CM(c.type,e,zingchart.A38(c,e))}zingchart.SKIP.EVENT=false}}};ZC.A2(document).bind(ZC.L.BM(ZC._[48]),zingchart.OB).bind(ZC.L.BM(ZC._[47]),zingchart.OB).bind(ZC.L.BM(ZC._[49]),zingchart.OB)}zingchart.A38=function(r,t){var o=ZC.L.LE(r);var p=t.ZP(o[0],o[1]);var m=ZC.A2("#"+t.N+"-top");var n=o[0]-m.offset().left;var s=o[1]-m.offset().top;var q="none";if(/(.*)\-plotset\-plot\-(\d+)\-node\-(\d+)(.*)/.test(r.target.id)){q="node"}if(/(.*)\-legend\-item\-(\d+)\-area/.test(r.target.id)){q="legend-item"}if(/(.*)\-menu\-item\-(.*)/.test(r.target.id)){q="menu-item"}if(/(.*)\-preview\-handler\-x(.*)/.test(r.target.id)){q="preview"}if(/(.*)\-shape\-(.*?)\-area/.test(r.target.id)){q="shape"}if(/(.*)\-label\-(.*?)\-area/.test(r.target.id)){q="label"}return{id:t.N,ev:ZC.A2.BM(r),targetid:r.target.id,graphid:p?p.N:null,target:q,x:n,y:s,plotarea:p?n>=p.P.iX&&n<=p.P.iX+p.P.I&&s>=p.P.iY&&s<=p.P.iY+p.P.F:false,touch:ZC.mobile}};if(typeof zingchart.QF==ZC._[31]){zingchart.QF=function(h){for(var g=0,f=zingchart.IB.length;g<f;g++){zingchart.IB[g].hideCM()}if(ZC.mobile&&ZC.move){ZC.move=false;return}if(!ZC.mobile&&h.which>1){return}var l=zingchart.S6(h);if(l){if(!zingchart.SKIP.EVENT){ZC.AQ.CM("click",l,zingchart.A38(h,l))}zingchart.SKIP.EVENT=false;if(h.target.id!=l.N+"-menu-area"){l.hideCM()}else{zingchart.TL(h)}}};if(ZC.mobile){ZC.A2(document).bind("touchmove",function(b){ZC.move=true})}else{ZC.A2(document).bind("click",zingchart.QF)}}if(typeof zingchart.zc_check_touch==ZC._[31]){zingchart.zc_check_touch=function(b){if(b.touches.length>0){ZC.TOUCHEVENTS=true}};ZC.A2(document).bind("touchstart",zingchart.zc_check_touch)}if(typeof zingchart.TL==ZC._[31]){zingchart.TL=function(Q,S){if(Q.target.tagName.toUpperCase()!="IMG"&&Q.target.tagName.toUpperCase()!="AREA"){return}var R=S==null?zingchart.S6(Q):zingchart.getLoader(S);if(R){if(ZC.AG(R.I8,ZC._[38])!=-1){return false}var U=ZC.L.LE(Q);var M=R.ZP(U[0],U[1]);R.ZY(M?M.J:-1);var J=-1;if(zingchart.CMZINDEX!=0){J=zingchart.CMZINDEX}else{var D=ZC.AH(R.N);while(J==-1&&D.parentNode!=null){J=ZC._i_(ZC.A2(D).css("zIndex"));if(J=="auto"||J==""||J==null){J=-1}D=D.parentNode}}if(!J||J==-1||J==null){J=1}var I=ZC.A2("#"+R.N+"-menu");I.css("zIndex",zingchart.ZINDEX+J+1);if(S==null){if(Q.target.id==R.N+"-print-png"||Q.target.id==R.N+"-print-jpeg"){return true}else{Q.preventDefault()}}if(!ZC.AH(R.N+"-menu")){return false}var ae=ZC.A2("#"+R.N+"-top");var O=U[0]-ae.offset().left;var W=U[1]-ae.offset().top;var G={id:R.N,graphid:M?M.N:null,targetid:Q.target.id,x:O,y:W,touch:ZC.mobile};ZC.AQ.CM("contextmenu",R,G);var ae=ZC.A2("#"+R.N+"-top");var O=ae.offset().left;var W=ae.offset().top;var P=ae.width();var ad=ae.height();if(S==null){var U=ZC.L.LE(Q);var Y=U[0]||ZC.E1[0];var Z=U[1]||ZC.E1[1]}else{var Y=O+R.I/2;var Z=W+5}var ac=false;R.R5("goback",false);if(R.KM>0){R.R5("goback",true);ac=true}R.R5("goforward",false);if(R.KM<R.N5.length-1){R.R5("goforward",true);ac=true}R.R5("history",ac,true);if(Y>=O&&Y<=O+P&&Z>=W&&Z<=W+ad){ZC.A2(".zc-menu").each(function(){if(this.id!=R.N+"-menu"){R.hideCM()}});R.OS=[Y,Z,S==null?Q.target.id:S];I.css("opacity",0).show();var aa=ZC._i_(I.css(ZC._[19])),K=ZC._i_(I.css(ZC._[20]));I.css("opacity",1).hide();var L,ab;if(S==null&&Q.target.id==R.N+"-menu-area"){ZC.AH(R.N+"-menu").style.paddingTop=0;var N=ZC.A2("#"+R.N+"-menu-area");var H=N.attr("coords").split(",");var X=ZC._i_(H[3])-ZC._i_(H[1]);ZC.AH(R.N+"-menu").style.backgroundPosition=ZC._i_(H[0])>R.I/2?"100% 0% !important":"0% 0% !important";L=O+(ZC._i_(H[0])>R.I/2?ZC._i_(H[2])-aa:ZC._i_(H[0]));ab=W+(ZC._i_(H[1])>R.F/1.25?ZC._i_(H[3])-K-X:ZC._i_(H[3]))}else{ZC.AH(R.N+"-menu").style.backgroundPosition="50% 0% !important";L=R.OS[0]-aa/2;ab=R.OS[1];if(K>R.F){ab=W}else{if(ab-W+K>R.F){ab=ZC.BT(ab-K,R.F-K)}}if(L<O){L=ZC.BT(L,O)}if(L+aa>O+R.I){L=ZC.DI(O+R.I-aa/2,L-aa/2)}}I.css("left",ZC.BT(1,L)+"px").css("top",ZC.BT(1,ab)+"px").show();R.A4A=true;return false}}};ZC.A2(document).bind("contextmenu",zingchart.TL)}zingchart.A4K=function(c,e){if(zingchart.css){if(zingchart.css.addRule){return zingchart.css.addRule(c,e)}else{return zingchart.css.insertRule(c+"{"+e+"}",0)}}};zingchart.wh=function(n,l,g){if(l=="auto"){l="100%"}if(g=="auto"){g="100%"}var h,m;if(new String(l).indexOf("%")!=-1){h=n.width()*parseInt(l,10)/100}else{h=parseInt(l,10)}if(new String(g).indexOf("%")!=-1){m=n.height()*parseInt(g,10)/100}else{m=parseInt(g,10)}return[h,m]};zingchart.GR={};zingchart.bind=function(g,e,f){g=g||"zingchart-global";if(!zingchart.GR[g]){zingchart.GR[g]={}}if(!zingchart.GR[g][e]){zingchart.GR[g][e]=[{fn:f}]}else{zingchart.GR[g][e].push({fn:f})}};zingchart.unbind=function(l,m,g){l=l||"zingchart-global";if(zingchart.GR[l]&&zingchart.GR[l][m]){if(!g){zingchart.GR[l][m]=null}else{for(var n=0,h=zingchart.GR[l][m].length;n<h;n++){if(zingchart.GR[l][m][n].fn==g){zingchart.GR[l][m].splice(n,1);break}}}}};zingchart.callEvent=function(n,o,m,h){n=n||"zingchart-global";if(zingchart.GR[n]&&zingchart.GR[n][o]){for(var p=0,l=zingchart.GR[n][o].length;p<l;p++){if(h){m[m.length-1]=zingchart.GR[n][o][p].fn.apply(zingchart,m)}else{zingchart.GR[n][o][p].fn.apply(zingchart,m)}}if(h){return m[m.length-1]}}};zingchart.hasEvent=function(c,e){c=c||"zingchart-global";return zingchart.GR[c]&&zingchart.GR[c][e]};zingchart.A33=function(av,ar){ZC._todash_(av,false);var af=[],al,ac;if((al=av.flags)!=null){af=al.split(",")}if((al=av.mode)!=null){switch(al){case"static":af=[ZC._[38],ZC._[39],ZC._[40],ZC._[41],ZC._[44]];break}}var at="";if((al=av.container)!=null){at=al}if((al=av.id)!=null){at=al}ZC.TS[at]=new Date().getTime();if(!ZC.AH(at)){return}if(ZC.AH(at+"-top")){zingchart.exec(at,"destroy")}var ah=false;var ao=null;for(var O=0;O<zingchart.IB.length;O++){if(zingchart.IB[O].N==at){zingchart.IB[O]=new ZC.OC();ao=zingchart.IB[O];ah=true}}if(!ah){ao=new ZC.OC();zingchart.IB.push(ao)}ao.N=at;if(ar=="vml"&&!zingchart.US){window.setTimeout(function(){zingchart.A33(av,ar)},33);return ao}if(!zingchart.A3V){zingchart.A3V=true;var aB={".zc-style":"font-family:"+zingchart.FONTFAMILY+";font-size:"+zingchart.FONTSIZE+"px;font-weight:normal;font-style:normal;text-decoration:none;text-shadow:none;",".zc-style *":"font-family:"+zingchart.FONTFAMILY+";font-size:"+zingchart.FONTSIZE+"px;font-weight:normal;font-style:normal;text-decoration:none;text-shadow:none;",".zc-top *":"text-align:left;margin:auto;text-shadow:none;",".zc-menu *":"text-align:left;margin:auto;",".zc-img":"-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;",".zc-map":"-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;",".zc-pixmap":"-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;",".zc-preview-mask":"-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;",".zc-about":"position:absolute;overflow:hidden;border:5px solid #fff;background:#003C4F url("+(ZC.ie67?"//":ZC.LOGO_ABOUT)+") no-repeat center 10px",".zc-about-1":"padding:80px 5px 5px 5px;text-align:center !important;",".zc-about-1 a":"color:#1AB6E3;font-size:17px;line-height:125%;",".zc-about-2":"padding:5px;color:#fff;text-align:center !important;",".zc-about-3":"padding:5px;text-align:center;line-height:125%;",".zc-about-3 div":"background-color:#1AB6E3;line-height:125%;color:#fff;border:1px solid #fff;padding:5px 10px;font-weight:bold;width:60px;margin:0 auto;cursor:pointer;text-align:center",".zc-about-4":"color:#fff;line-height:125%;",".zc-about-4 div":"float:right;color:#fff;line-height:125%;",".zc-viewsource":"border:5px solid #fff;background:#999",".zc-error":"border:5px solid #fff;background:#900",".zc-bugreport":"border:5px solid #fff;background:#999",".zc-form-row-label":"padding:4px 10px 2px;text-align:left;color:#fff",".zc-form-row-element":"padding:2px 8px",".zc-form-row-last":"padding:8px 8px 2px !important",".zc-form-row-element textarea":"text-align:left;background:#fff;color:#000;border:1px solid #333;",".zc-form-row-label input":"color:#000;padding:2px;margin:0 5px 0 0;background-color:#999;",".zc-form-row-element input":"color:#000;padding:2px;margin:0;background-color:#fff",".zc-form-row-last input":"padding:4px 10px !important;margin:0 20px 0 0 !important;background-color:#eee !important;border:2px outset #ccc !important",".zc-form-s0":"font-size:27px !important;letter-spacing:-1px;line-height:125%",".zc-form-s1":"font-size:17px !important;line-height:125%",".zc-form-s1 a":"color:#fff;padding:3px 10px;position:relative;top:4px;border:1px solid #333;border-bottom:0px solid #333",".zc-tab-active":"background-color:#fff;color:#333 !important",".zc-tab-inactive":"background-color:#999;color:#ddd !important",".zc-bugreport label":"display:inline-block;position:relative;top:-2px",".zc-viewimage div":"position:absolute;text-align:center;padding:5px;background:#999;color:#fff",".zc-license-ie67":"padding:0;position:absolute;font-size:12px;font-weight:bold;font-family:Arial;color:#369;text-align:left",".zc-license":"padding:0;position:absolute;","#zc-fullscreen":"display:block;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;background:#fff;",".zc-menu":"position:absolute;display:none;background-repeat:no-repeat !important;background-position:50% 0% !important;",".zc-menu-sep":"font-size:1px;padding:0;line-height:1px;",".zc-menu-item":"cursor:pointer;white-space:nowrap",".zc-blocker":"background:#eee",".zc-blocker div":"position:absolute;border:2px solid #ccc;padding:10px 30px;background:#333;color:#fff",".zc-rel":"top:0;left:0;position:relative",".zc-abs":"top:0;left:0;position:absolute"};var Z=document.getElementsByTagName("head")[0];var aw=document.createElement("style");aw.type="text/css";Z.appendChild(aw);for(var O=0,ap=document.styleSheets.length;O<ap;O++){if(document.styleSheets[O].title=="zingchart"){zingchart.css=document.styleSheets[O]}}if(!zingchart.css){zingchart.css=document.styleSheets[document.styleSheets.length-1]}for(var ad in aB){if(zingchart.USERCSS[ad]!=null){zingchart.A4K(ad,zingchart.USERCSS[ad])}else{zingchart.A4K(ad,aB[ad])}}}if(ar=="vml"&&!zingchart.A3P){document.namespaces.add("zcv","urn:schemas-microsoft-com:vml");var az=document.createStyleSheet();az.cssText=".zcvml { behavior:url(#default#VML); }";zingchart.A3P=true}var ak="";if((al=av.theme)!=null){ak=al}var G=false;if((al=av.apikey)!=null){if(ZC._i_(al)==1){G=true}}var ab={data:false,defaults:false,css:false,csv:false};if((al=av.cache)!=null){for(var aD in ab){if((ac=al[aD])!=null){ab[aD]=ZC._b_(ac)}}}var aE=false;if((al=av.fullscreen)!=null){aE=ZC._b_(al)}var ai=true;if((al=av["auto-resize"])!=null){ai=ZC._b_(al)}var aC=ZC.A2("#"+at);var ay=(av[ZC._[19]]||"100%")+"";var S=(av[ZC._[20]]||"100%")+"";if(ay=="auto"){ay="100%"}if(S=="auto"){S="100%"}var ae=zingchart.wh(aC,ay,S);var aq=ae[0];var an=ae[1];if(aE){aq=ZC.A2(window).width();an=ZC.A2(window).height();document.body.style.overflow="hidden"}if(aq<10||an<10){aq=320;an=240}aq=aq==0?320:aq;an=an==0?240:an;var ag=av.dataurl||"";var N=av.defaultsurl||"";var I=null;var aa="";var aF=null;if((al=av.data)!=null){if(typeof al=="string"){aa=al}else{aF=al}}if((al=av.defaults)!=null){if(typeof al=="string"){al=JSON.parse(al)}I=al}if((al=av.imggen)!=null){ao.VR=ZC._b_(al)}if(ao.VR){ao.FH=null}ao.JY=ay+"/"+S;ao.A8=ar;ao.A=ao;ao.iX=0;ao.iY=0;ao.I=aq;ao.F=an;ao.OD=ag;ao.I0=aa;ao.PT=aF;ao.MX=N;ao.JT=I;ao.Q8=G;if(av.fullscreenmode!=null&&ZC._b_(av.fullscreenmode)){ao.O8=true}ao.JN=aE;ao.NU=ab;ao.I8=af;ao.P9=ak;ao.G=ao;ao.H.hideprogresslogo=false;if((al=av.hideprogresslogo)!=null){ao.H.hideprogresslogo=ZC._b_(al)}if((al=av.customprogresslogo)!=null){ao.H.customprogresslogo=al}if((al=av.exportdataurl)!=null){ao.H.exportdataurl=al}if((al=av.exportimageurl)!=null){ao.H.exportimageurl=al}var aj={};if((al=av.bgcolor)!=null){aj[ZC._[0]]=al}if((al=av[ZC._[0]])!=null){aj[ZC._[0]]=al}if((al=av["border-color"])!=null){aj["border-color"]=al}if((al=av["border-width"])!=null){aj["border-width"]=al}if((al=av.color)!=null){aj.color=al}ao.H.progress=aj;if((al=av["auto-load-modules"])!=null){ao.A0Z=ZC._b_(al)}if((al=av.events)!=null){ao.VP=al}if((al=av.modules)!=null){ao.W7=al}if((al=av.format)!=null){ao.CN=al}if((al=av.csvdata)!=null){ao.KL=al}if((al=av.locale)!=null){if(zingchart.i18n[al]!=null){ao.VS=al;ZC.FL=zingchart.i18n[al]}}if((al=av["cache-control"])!=null){ao.K2=al}ao.render();aC.css("overflow","hidden");if(ao.JN){aC.css("position","absolute").css("top",0).css("left",0)}if((ay.indexOf("%")!=-1||S.indexOf("%")!=-1||ao.JN||ao.O8)&&ai){var ax=ao.O8||ao.JN?ZC.A2(window):aC;var aA=ax.width();var am=ax.height();var au=0;ao.TF=window.setInterval(function(){if(ZC.AH(at)!=null){if(au==0&&(ax.width()!=aA||ax.height()!=am)){aA=ax.width();am=ax.height();if(aA>10&&am>10){ao.I=aA;ao.F=am;ao.resize()}}else{if(ax.width()+ax.height()>0&&(ax.width()!=aA||ax.height()!=am)){if(ao.JN||ao.O8){var a=zingchart.wh(ax,new String(ax.width()),new String(ax.height()))}else{var a=zingchart.wh(ax,ay,S)}if(a[0]>10&&a[1]>10){ao.I=a[0];ao.F=a[1];aA=ax.width();am=ax.height();ao.resize()}}}au++}else{window.clearInterval(ao.TF)}},150)}return ao};window.zingchart=zingchart;if(ZC.A2.browser.msie&&parseFloat(ZC.A2.browser.version)<9){window.onunload=function(){while(zingchart.IB.length){zingchart.exec(zingchart.IB[0].N,"destroy")}ZC.A2(document).unbind(ZC.L.BM(ZC._[48]),zingchart.OB).unbind(ZC.L.BM(ZC._[47]),zingchart.OB).unbind(ZC.L.BM(ZC._[49]),zingchart.OB).unbind("click",zingchart.QF).unbind("contextmenu",zingchart.TL)};zingchart.IB=[]}zingchart.i18n.en_us={"decimals-separator":".","thousands-separator":"","menu-reload":"閲嶆柊杞藉叆","menu-print":"鎵撳嵃鍥惧儚","menu-viewaspng":"鏌ョ湅 PNG","menu-viewasjpg":"鏌ョ湅 JPG","menu-downloadpdf":"Download PDF","menu-zoomin":"Zoom In","menu-zoomout":"Zoom Out","menu-viewall":"View All","menu-viewsource":"View Source","menu-bugreport":"Submit Bug","menu-switchto2d":"Switch To 2D","menu-switchto3d":"杞崲鍒? 3D","menu-switchtolin":"Show Linear Scale","menu-switchtolog":"Show Log Scale","menu-fullscreen":"鍏ㄥ睆","menu-exitfullscreen":"閫€鍑哄叏灞?","menu-goback":"Go Back","menu-goforward":"Go Forward","date-formats":{msecond:"%d %M %Y<br />%g:%i:%s %A<br />%q ms",second:"%d %M %Y<br />%g:%i:%s %A",minute:"%d %M %Y<br />%g:%i %A",hour:"%d %M %Y<br />%g %A",day:"%d %M %Y",month:"%M %Y",year:"%Y"},"days-short":["鏃?","涓€","浜?","涓?","鍥?","浜?","鍏?"],"days-long":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"months-short":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"months-long":["January","February","March","April","May","June","July","August","September","October","November","December"],"sync-wait":"Wait...","export-wait":"Exporting...","progress-wait-long":"Wait. Loading...","progress-wait-short":"Wait...","progress-wait-mini":"...","error-header":"An Error Has Occured","error-message":"Error Message:","error-close":"Close","bugreport-header":"Submit Bug Report","bugreport-senddata":"Send JSON Data","bugreport-sendcapture":"Send Graph Capture","bugreport-yourcomment":"Your Comment:","bugreport-jsondata":"JSON Data:","bugreport-youremail":"Your Email Address","bugreport-infoemail":"if you want to receive via email our reply to your problem","bugreport-emailmandatory":"Email address is mandatory...","bugreport-submit":"Submit","bugreport-cancel":"Cancel","bugreport-confirm":"Your bug report was sent.\n\nThank you!","about-close":"Close","viewsource-jsonsource":"Parsed JSON","viewsource-originalsource":"Original JSON","viewsource-close":"Close","viewsource-apply":"Apply","viewimage-close":"Close","legend-pagination":"Page %page% of %pages%"};ZC.FL=zingchart.i18n.en_us;zingchart.getLoader=function(c){for(var e=0;e<zingchart.IB.length;e++){if(zingchart.IB[e].N==c){return zingchart.IB[e]}}return null};zingchart.getGraph=function(e,c){return e.MG(c)};zingchart.getGraphInfo=function(e,g,f){return e.Z5(g,f)};zingchart.initThemes=function(b){b.A40(true)};zingchart.setModule=function(b){ZC.RZ.push(b)};zingchart.getModules=function(b){return b.W7.split(",")};zingchart.getPalette=function(e,f,g){g=g||"bar";return e.AV.A4B(f,g)};zingchart.getObject=function(l,g,m){m=m||"label";switch(m){case"shape":for(var n=0,h=l.HY.length;n<h;n++){if(l.HY[n].GI==g||n==g){return l.HY[n].BG}}break;case"label":for(var n=0,h=l.BU.length;n<h;n++){if(l.BU[n].GI==g||n==g){return l.BU[n]}}break}return null};zingchart.getObjData=function(b){return b.o};zingchart.setObjData=function(c,e){c.o=e};zingchart.getObjAttribute=function(e,a){return e.H[a]};zingchart.setObjAttribute=function(f,a,g){f.H[a]=g};zingchart.getProperty=function(g,e){var f=g.getPMap();if(f[e]){return g[f[e]]}else{return null}};zingchart.getInstance=function(e,c){switch(c){case"style":return new ZC.DZ(e);case"shape":return new ZC.DA(e);case"box":return new ZC.HC(e);case"textbox":return new ZC.D2(e)}return null};zingchart.normalize=function(b){ZC._todash_(b)};zingchart.copy=function(e,c){ZC._cp_(e,c)};zingchart.formatDate=function(e,f,g){return ZC.AQ.ZU(e,f,g)};zingchart.fireEvent=function(e,g,f){ZC.AQ.CM(e,g,f)};zingchart.showTooltip=function(f,l,g,h){f=f||{};f.targetid=f.targetid||l.N+ZC._[35]+g+"-node-"+h;if(l.A.AK){l.A.AK.onmouseover(f)}};zingchart.exec=function(h,l,f){var g=zingchart.getLoader(h);if(g!=null){return zingchart.A7D(h,l,f)}else{if(zingchart.exec_flash){return zingchart.exec_flash(h,l,f)}}};zingchart.A7D=function(K,A,L){var H;if(document.getElementById("zc-fullscreen")){K="zc-fullscreen"}L=L||{};if(typeof L=="string"){L=JSON.parse(L)}var I=zingchart.getLoader(K);if(L[ZC._[53]]!=null){I.H[ZC._[53]]=ZC._b_(L[ZC._[53]])}if(I!=null){switch(A){case"goback":if(I.GE&&I.KM>0){I.KM--;zingchart.exec(I.N,"setdata",{data:I.N5[I.KM]})}break;case"goforward":if(I.GE&&I.KM<I.N5.length-1){I.KM++;zingchart.exec(I.N,"setdata",{data:I.N5[I.KM]})}break;case"setmode":if(typeof I.H["mode-flags"]==ZC._[31]){I.H["mode-flags"]=I.I8.join(",")}if(L.mode==""&&typeof I.H["mode-flags"]!=ZC._[31]){I.I8=I.H["mode-flags"].split(",")}else{I.I8=[];var N=new String(L.mode).split(",");if(ZC.AG(N,"static")!=-1){I.I8.push(ZC._[38],"skip_objects_tracking",ZC._[39],ZC._[40],ZC._[41])}}break;case"showmenu":zingchart.TL(null,I.N);break;case"hidemenu":I.hideCM();break;case"destroy":case"zcdestroy":for(var y=0,S=I.B0.length;y<S;y++){I.B0[y].MR[0]=0}I.A3S(L);if(I.TF){window.clearInterval(I.TF)}if(zingchart.GR[I.N]){delete zingchart.GR[I.N]}ZC.L.F6([I.N+"-top",I.N+"-text-ruler",I.N+"-dummy",I.N+"-progress"]);var J=ZC.AG(zingchart.IB,I);if(J!=-1){zingchart.IB.splice(J,1)}I=null;ZC.AQ.CM("destroy",null,L);break;case"getrender":return I.A8;break;case"clear":I.A3S(L);break;case"reload":I.A3C(L);break;case"load":I.A7F(L);break;case"enable":I.YE();break;case"disable":I.A1T(L.text);break;case"mapdata":I.A68(L);break;case"print":I.A48();break;case"fullscreen":I.ZW();break;case"exitfullscreen":zingchart.exec("zc-fullscreen","destroy");ZC.L.F6("zc-fullscreen");break;case"resize":var G=I.I,Q=I.F;var O=I.JY.split("/");var M=false;var P=O[0],C=O[1];if((H=L[ZC._[19]])!=null){P=H}if((H=L[ZC._[20]])!=null){C=H}if((H=L.scale)!=null){M=ZC._b_(H)}var z=zingchart.wh(ZC.A2("#"+I.N),P,C);if((G!=z[0]||Q!=z[1])&&z[0]>10&&z[1]>10){I.I=z[0];I.F=z[1];if((H=L.layout)!=null){I.o.layout=H}if(I.LA==""){I.H[ZC._[53]]=true;I.resize(M)}}break;case"plothide":case"hideplot":var D=I.BR(L[ZC._[3]]);if(D){D.XP(L,"hide")}break;case"plotshow":case"showplot":var D=I.BR(L[ZC._[3]]);if(D){D.XP(L,"show")}break;case"toggleplot":var D=I.BR(L[ZC._[3]]);if(D){D.O0(L)}break;case"getcharttype":var D=I.BR(L[ZC._[3]]);if(D!=null){return D.AC}return null;break;case"showversion":case"getversion":return ZC.VERSION;break;case"get3dview":var D=I.BR(L[ZC._[3]]);if(D){return D.EB}return null;break;case"set3dview":var D=I.BR(L[ZC._[3]]);if(D){if(I.o[ZC._[16]][D.J][ZC._[26]]==null){I.o[ZC._[16]][D.J][ZC._[26]]={}}ZC._cp_(L,I.o[ZC._[16]][D.J][ZC._[26]]);if(D.o[ZC._[26]]==null){D.o[ZC._[26]]={}}ZC._cp_(L,D.o[ZC._[26]]);D.IC(true,true)}break;case"getpage":return I.KF;break;case"setpage":var R=0;if((H=L.page)!=null){R=ZC._i_(H)}I.KF=R;ZC.U1(function(){I.clear();I.parse();I.paint()},true);break}}var H,x;if(zingchart.A62){x=zingchart.A62(K,A,L);if(x){H=x}}if(zingchart.A5F){x=zingchart.A5F(K,A,L);if(x){H=x}}if(zingchart.A5K){x=zingchart.A5K(K,A,L);if(x){H=x}}if(zingchart.A5Y){x=zingchart.A5Y(K,A,L);if(x){H=x}}if(zingchart.A4T){x=zingchart.A4T(K,A,L);if(x){H=x}}if(zingchart.A5W){x=zingchart.A5W(K,A,L);if(x){H=x}}return H};zingchart.A62=function(a4,aQ,a5){var aU;if(document.getElementById("zc-fullscreen")){a4="zc-fullscreen"}a5=a5||{};if(typeof a5=="string"){a5=JSON.parse(a5)}var aW=zingchart.getLoader(a4);var aF=!(a5.update!=null&&!ZC._b_(a5.update));var ax=a5.history!=null&&ZC._b_(a5.history);var D=typeof a5.smart!=ZC._[31]&&ZC._b_(a5.smart);if(aW!=null){var n=["addplot","removeplot","modify","modifyplot","setnodevalue","addnode","removenode","setdata"];if(ZC.AG(n,aQ)==-1){var aM=aW.J1();aM.params=a5;ZC.AQ.CM(aQ,aW,aM)}switch(aQ){case"clearscroll":var aP=aW.BR(a5[ZC._[3]]);if(!aP){return null}if(aP.JS&&aP.JS.N7){aP.JS.N7();aP.JS.unbind()}if(aP.JQ&&aP.JQ.N7){aP.JQ.N7();aP.JQ.unbind()}break;case"getbubblesize":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);if(a2){return a2.getSize(a5[ZC._[9]]||1)}}return null;break;case"getobjectinfo":var aP=aW.BR(a5[ZC._[3]]);if(!aP){return null}var aV={x:"iX",y:"iY",width:"I",height:"F",lineColor:"AW",lineWidth:"AM",borderColor:"BA",borderWidth:"AA",backgroundColor1:"W",backgroundColor2:"A5"};switch(a5.object){case"graph":var aM={};for(var at in aV){aM[at]=aP[aV[at]]}return aM;break;case"plotarea":var aM={};for(var at in aV){aM[at]=aP.P[aV[at]]}return aM;break;case"scale":var aH=aP.BB(a5.name||"");if(!aH){return null}var aM={};for(var at in aV){aM[at]=aH[aV[at]]}ZC._cp_({minValue:aH.BJ,maxValue:aH.C7,step:aH.E4,stepSize:aH.X,values:aH.Z},aM);return aM;break;case"plot":var a2=aP.HG(a5.plotindex,a5.plotid);if(!a2){return null}var aM={};for(var at in aV){aM[at]=a2[aV[at]]}ZC._cp_({id:a2.N,index:a2.J,type:a2.AC,text:a2.AN,values:a2.Z,scales:a2.B9,stacked:a2.CG,stackType:a2.K6,stack:a2.EK,xdata:a2.QM},aM);return aM;break;case"node":var M,a2=aP.HG(a5.plotindex,a5.plotid);if(a2){var a3=a5.nodeindex!=null?ZC._i_(a5.nodeindex):0;if(!a2.Q[a3]){return null}var M=a2.EV(a3);var aM={};for(var at in aV){aM[at]=M[aV[at]]}ZC._cp_({plotindex:a2.J,index:M.J,size:M.AO,value:M.AE},aM);if(a2.AC.indexOf("pie")!=-1){ZC._cp_({angleStart:M.AL,angleEnd:M.AZ},aM)}return aM}return null;break}break;case"getxyinfo":var ba=[];var aE=a5.x,aG=a5.y;for(var G=0;G<aW.B0.length;G++){var aP=aW.B0[G];for(var aC=0;aC<aP.AY.AB.length;aC++){var a2=aP.AY.AB[aC];var a6=aP.BB(a2.BH("k")[0]);var aS=aP.BB(a2.BH("v")[0]);if(a6&&aS){var aO=a6.MJ(aE);var N=a6.MJ(aE,null,true);ba.push({infotype:"key-scale",xydistance:ZC._a_(aE-a6.NN(aO)),graphid:aP.N,plotidx:a2.J,scalename:a6.B5,scaleidx:aO,scalepos:N,scaletext:a6.BU[aO]||"",scalevalue:a6.Z[aO]});var Z=aS.OZ(aG);ba.push({infotype:"value-scale",xydistance:ZC._a_(aG-aS.B7(Z)),graphid:aP.N,plotidx:a2.J,scalename:aS.B5,scalevalue:Z});var aL=ZC.MAX;var p=null,M;for(var az=0,aY=a2.Q.length;az<aY;az++){if((M=a2.Q[az])!=null){switch(aP.AI.layout){case"xy":if(ZC.AG(["scatter","bubble"],aP.AC)!=-1){if((aU=Math.sqrt((M.iX-aE)*(M.iX-aE)+(M.iY-aG)*(M.iY-aG)))<aL){p={infotype:"node",xydistance:aL,graphid:aP.N,plotidx:a2.J,nodeidx:M.J,nodevalue:M.AE,nodekeyvalue:M.CF==null?a6.Z[M.J]:M.CF};aL=aU}}else{if((aU=ZC._a_(M.iX-aE))<aL){p={infotype:"node",xydistance:aL,graphid:aP.N,plotidx:a2.J,nodeidx:M.J,nodevalue:M.AE,nodekeyvalue:M.CF==null?a6.Z[M.J]:M.CF};aL=aU}}break;case"yx":if((aU=ZC._a_(M.iY-aG))<aL){p={infotype:"node",xydistance:aL,graphid:aP.N,plotidx:a2.J,nodeidx:M.J,nodevalue:M.AE,nodekeyvalue:M.CF==null?a6.Z[M.J]:M.CF};aL=aU}break;case"":var au=M.A83();if((aU=Math.sqrt((au[0]-aE)*(au[0]-aE)+(au[1]-aG)*(au[1]-aG)))<aL){p={infotype:"node",xydistance:aL,graphid:aP.N,plotidx:a2.J,nodeidx:M.J,nodevalue:M.AE,nodekeyvalue:M.CF==null?a6.Z[M.J]:M.CF};aL=aU}break}}}if(p){ba.push(p)}}}}return ba;break;case"update":if(a5[ZC._[3]]!=null){var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){aW.LO(function(){aP.IC(D,D)})}else{aW.IC()}}else{aW.IC()}break;case"setcharttype":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){aW.o[ZC._[16]][aP.J]["type"]=aP.o.type=aP.AC=a5.type;if(aF){aW.IC()}}break;case"addplot":zingchart.SKIP.CSV=true;var aB={};var aD=a5.plotdata?"plotdata":"data";if(a5[aD]!=null){if(typeof a5[aD]=="object"){ZC._cp_(a5[aD],aB)}else{aB=JSON.parse(a5[aD])}}ZC._todash_(aB);var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);var a1=a2?a2.J:0;var aw=[];if(aP.o[ZC._[11]]==null){aP.o[ZC._[11]]=[]}if(aP.o[ZC._[11]].length>0){for(var O=0;O<aP.o[ZC._[11]].length;O++){aw.push(aP.o[ZC._[11]][O]);if(O==a1){aw.push(aB)}}}else{aw.push(aB)}ZC.AQ.CM("plot_add",aW,{id:aW.N,graphid:aP.N,plotindex:a1,data:aB});aW.o[ZC._[16]][aP.J][ZC._[11]]=aP.o[ZC._[11]]=aw;aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){aW.LO(function(){aP.IC(D,D)})}}break;case"removeplot":zingchart.SKIP.CSV=true;var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);if(a2){aP.o[ZC._[11]].splice(a2.J,1);aW.o[ZC._[16]][aP.J][ZC._[11]]=aP.o[ZC._[11]];aW.H.json=ZC.HM(JSON.stringify(aW.o));ZC.AQ.CM("plot_remove",aW,{id:aW.N,graphid:aP.N,plotindex:a2.J});if(aF){aW.LO(function(){aP.IC(D,D)})}}}break;case"modify":zingchart.SKIP.CSV=true;var aB={};if(a5.data!=null){if(typeof a5.data=="object"){ZC._cp_(a5.data,aB)}else{aB=JSON.parse(a5.data)}}ZC._todash_(aB);var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){if(a5.object!=null&&aP.o[a5.object]!=null){switch(a5.object){case"title":ZC._cp_(aB,aP.o.title);break;case"plotset":case"series":ZC._cp_(aB,aP.o[ZC._[11]]);break;case"plotarea":ZC._cp_(aB,aP.o.plotarea);break;case"legend":ZC._cp_(aB,aP.o.legend);break}}else{ZC._cp_(aB,aP.o)}aW.o[ZC._[16]][aP.J]=aP.o;aW.H.json=ZC.HM(JSON.stringify(aW.o));ZC.AQ.CM("modify",aW,{id:aW.N,graphid:aP.N,data:aB,object:a5.object});if(aF){aW.LO(function(){aP.IC(D,D)})}}break;case"modifyplot":zingchart.SKIP.CSV=true;var aB={};var aD=a5.plotdata?"plotdata":"data";if(a5[aD]!=null){if(typeof a5[aD]=="object"){ZC._cp_(a5[aD],aB)}else{aB=JSON.parse(a5[aD])}}ZC._todash_(aB);var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);if(a2){if(aW.o[ZC._[16]][aP.J][ZC._[11]]==null){aW.o[ZC._[16]][aP.J][ZC._[11]]=[]}ZC._cp_(aB,aP.o[ZC._[11]][a2.J]);aW.o[ZC._[16]][aP.J][ZC._[11]][a2.J]=aP.o[ZC._[11]][a2.J];aW.H.json=ZC.HM(JSON.stringify(aW.o));ZC.AQ.CM("plot_modify",aW,{id:aW.N,graphid:aP.N,plotindex:a2.J,data:aB});if(aF){aW.LO(function(){aP.IC(D,D)})}}}break;case"setnodevalue":zingchart.SKIP.CSV=true;var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);if(a2){var a3=0;if(a5.nodeindex!=null){a3=ZC._i_(a5.nodeindex)}var aU=0;if(a5[ZC._[9]]!=null){aU=a5[ZC._[9]]}ZC.AQ.CM("node_set",aW,{id:aW.N,graphid:aP.N,plotindex:a2.J,nodeindex:a3,key:a3,value:aU,text:aU});aW.o[ZC._[16]][aP.J][ZC._[11]][a2.J][ZC._[5]][a3]=aP.o[ZC._[11]][a2.J][ZC._[5]][a3]=aU;aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){aP.IC(D,D)}}}break;case"setscalevalues":zingchart.SKIP.CSV=true;var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var aK=a5.scale||ZC._[50];for(var R=0,a0=aP.B9.length;R<a0;R++){if(aK==aP.B9[R].B5){if(aP.o[aK]!=null){aP.o[aK][ZC._[5]]=a5[ZC._[5]];aW.o[ZC._[16]][aP.J][aK]=aW.o[ZC._[16]][aP.J][aK]||{};aW.o[ZC._[16]][aP.J][aK][ZC._[5]]=a5[ZC._[5]]}}}aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){aP.IC(D,D)}}break;case"addscalevalue":zingchart.SKIP.CSV=true;var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var aK=a5.scale||ZC._[50];for(var R=0,a0=aP.B9.length;R<a0;R++){if(aK==aP.B9[R].B5){if(aP.o[aK]!=null&&aP.o[aK][ZC._[5]]!=null){var a3=a5.nodeindex==null?aP.o[aK][ZC._[5]].length:ZC._i_(a5.nodeindex);var aT=aP.o[aK][ZC._[5]];aT.push(null);for(var O=aT.length-1;O>a3;O--){aT[O]=aT[O-1]}aT[a3]=a5[ZC._[9]]||"";aW.o[ZC._[16]][aP.J][aK][ZC._[5]]=aT}}}aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){aP.IC(D,D)}}break;case"removescalevalue":zingchart.SKIP.CSV=true;var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var aK=a5.scale||ZC._[50];for(var R=0,a0=aP.B9.length;R<a0;R++){if(aK==aP.B9[R].B5){if(aP.o[aK]!=null&&aP.o[aK][ZC._[5]]!=null){var a3=a5.nodeindex==null?aP.o[aK][ZC._[5]].length-1:ZC._i_(a5.nodeindex);var aT=aP.o[aK][ZC._[5]];aT.splice(a3,1);aW.o[ZC._[16]][aP.J][aK][ZC._[5]]=aT}}}aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){aP.IC(D,D)}}break;case"addnode":zingchart.SKIP.CSV=true;var aP=aW.BR(a5[ZC._[3]]);var ay=a5[ZC._[9]] instanceof Array;if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);if(a2){var aA=aP.o[ZC._[11]][a2.J][ZC._[5]];var a3=a5.nodeindex==null?aA.length:a5.nodeindex;if(ay&&a5.nodeindex!=null){aA.push([a5.nodeindex,a5[ZC._[9]][1]||0])}else{aA.push(null);var aN=aA.length;a3=ZC.BT(0,ZC.DI(a3,aN));for(var O=aN-1;O>a3;O--){aA[O]=aA[O-1]}aA[a3]=a5[ZC._[9]]}if(!ay){for(var R=0,a0=aP.B9.length;R<a0;R++){var aK=aP.B9[R].B5;if(aP.B9[R].AC=="k"&&a5[aK+"-value"]!=null){if(aP.o[aK]!=null&&aP.o[aK][ZC._[5]]!=null){var aT=aP.o[aK][ZC._[5]];aT.push(null);for(var O=aT.length-1;O>a3;O--){aT[O]=aT[O-1]}aT[a3]=a5[aK+"-value"];aW.o[ZC._[16]][aP.J][aK][ZC._[5]]=aT}}}}ZC.AQ.CM("node_add",aW,{id:aW.N,graphid:aP.N,plotindex:a2.J,nodeindex:a3,key:a3,value:a5[ZC._[9]],text:a5[ZC._[9]]});aW.o[ZC._[16]][aP.J][ZC._[11]][a2.J][ZC._[5]]=aP.o[ZC._[11]][a2.J][ZC._[5]];aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){aP.IC(D,D)}}}break;case"removenode":zingchart.SKIP.CSV=true;var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);if(a2){var aA=aP.o[ZC._[11]][a2.J][ZC._[5]];var a3=a5.nodeindex==null?a2.Q.length-1:ZC._i_(a5.nodeindex);if(ZC.EO(a3,0,a2.Q.length-1)){aA.splice(a3,1);for(var R=0,a0=aP.B9.length;R<a0;R++){var aK=aP.B9[R].B5;if(aP.B9[R].AC=="k"&&a5[aK]!=null&&ZC._b_(a5[aK])){if(aP.o[aK]!=null&&aP.o[aK][ZC._[5]]!=null){var aT=aP.o[aK][ZC._[5]];aT.splice(a3,1);aW.o[ZC._[16]][aP.J][aK][ZC._[5]]=aT}}}ZC.AQ.CM("node_remove",aW,{id:aW.N,graphid:aP.N,plotindex:a2.J,nodeindex:a3,key:a3,value:a2.Q[a3].AE,text:a2.Q[a3].AE});aW.o[ZC._[16]][aP.J][ZC._[11]][a2.J][ZC._[5]]=aP.o[ZC._[11]][a2.J][ZC._[5]];aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){aP.IC(D,D)}}}}break;case"setdata":var aB={};if(a5.data!=null){if(typeof a5.data=="object"){ZC._cp_(a5.data,aB)}else{try{aB=JSON.parse(a5.data)}catch(a9){aW.KN(a9,"JSON parser");return false}}}ZC._todash_(aB);if(a5[ZC._[53]]==null){aW.H[ZC._[53]]=false}var aP=null;if(a5[ZC._[3]]!=null){var aP=aW.BR(a5[ZC._[3]])}ZC.AQ.CM("setdata",aW,{id:aW.N,graphid:aP==null?null:aP.N,data:aB});if(aP!=null){aW.o[ZC._[16]][aP.J]=aP.o=aB;aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){if(ax){aW.KM++}aW.LO(function(){aW.parse(aP.N);aW.B0[aP.J].paint()})}}else{aW.o=aB;aW.H.json=ZC.HM(JSON.stringify(aW.o));aW.Y6(aW.o);if(aF){if(ax){aW.KM++}aW.IC()}}break;case"getseriesdata":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){if(a5.plotindex!=null||a5.plotid!=null){var a2=aP.HG(a5.plotindex,a5.plotid,0);return a2?aP.o[ZC._[11]][a2.J]:null}else{return aP.o[ZC._[11]]}}return null;break;case"setseriesdata":case"appendseriesdata":zingchart.SKIP.CSV=true;var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){if(a5.plotindex!=null||a5.plotid!=null){var a2=aP.HG(a5.plotindex,a5.plotid,0);if(aQ=="setseriesdata"){var aB={}}else{if(aP.o[ZC._[11]]&&aP.o[ZC._[11]][a2.J]){var aB=aP.o[ZC._[11]][a2.J]}else{var aB={}}}}else{if(aQ=="setseriesdata"){var aB=[]}else{var aB=aP.o[ZC._[11]]||[]}}if(a5.data!=null){if(typeof a5.data=="object"){ZC._cp_(a5.data,aB)}else{ZC._cp_(JSON.parse(a5.data),aB)}}ZC._todash_(aB);if(a5.plotindex!=null||a5.plotid!=null){var a2=aP.HG(a5.plotindex,a5.plotid,0);aW.o[ZC._[16]][aP.J][ZC._[11]][a2.J]=aP.o[ZC._[11]][a2.J]=aB}else{aW.o[ZC._[16]][aP.J][ZC._[11]]=aP.o[ZC._[11]]=aB}aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){aW.LO(function(){aP.IC(D,D)})}}break;case"getseriesvalues":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){if(a5.plotindex!=null||a5.plotid!=null){var a2=aP.HG(a5.plotindex,a5.plotid,0);return a2?aP.o[ZC._[11]][a2.J][ZC._[5]]||[]:[]}else{var a8=[];for(var O=0,aZ=aP.AY.AB.length;O<aZ;O++){a8.push(aP.o[ZC._[11]][O][ZC._[5]]||[])}return a8}}return null;break;case"setseriesvalues":case"appendseriesvalues":zingchart.SKIP.CSV=true;var a8=[];if(a5[ZC._[5]]!=null){if(typeof a5[ZC._[5]]=="object"){a8=a5[ZC._[5]]}else{a8=JSON.parse(a5[ZC._[5]])}}var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){if(a5.plotindex!=null||a5.plotid!=null){a8=[a8]}var a2=aP.HG(a5.plotindex,a5.plotid,0);for(var O=0,aZ=a8.length;O<aZ;O++){if(aP.AY.AB[a2.J+O]!=null){if(aQ=="setseriesvalues"){aW.o[ZC._[16]][aP.J][ZC._[11]][a2.J+O][ZC._[5]]=aP.o[ZC._[11]][a2.J+O][ZC._[5]]=a8[O]}else{var a7=aW.o[ZC._[16]][aP.J][ZC._[11]][a2.J+O][ZC._[5]];var aR=a8[O].length>0&&a8[O][0].length>1;var aJ=true;if((aU=a5.ignoreduplicates)!=null){aJ=ZC._b_(aU)}if(aR){var av=a7.length;for(var aI=0,o=a8[O].length;aI<o;aI++){var aX=false;for(var v=av-1;v>=0;v--){if(a8[O][aI][0]>a7[v][0]){a7.push(a8[O][aI]);aX=true;break}else{if(a8[O][aI][0]==a7[v][0]){aX=true;break}}}if(!aX||!aJ){a7.push(a8[O][aI])}}}else{for(var aI=0,o=a8[O].length;aI<o;aI++){a7.push(a8[O][aI])}}aW.o[ZC._[16]][aP.J][ZC._[11]][a2.J+O][ZC._[5]]=aP.o[ZC._[11]][a2.J+O][ZC._[5]]=a7}}}aW.H.json=ZC.HM(JSON.stringify(aW.o));if(aF){aP.IC(D,D)}}break;case"togglelegend":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){if(aP.D3){var g=true;if(typeof aP.D3.o.visible!=ZC._[31]&&!aP.D3.o.visible){g=false}aP.D3.o.visible=!g;aP.D3.clear(false);aP.D3.parse();aP.D3.paint()}}break;case"toggledimension":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){aW.ZK(aP.N)}break;case"getdata":return JSON.parse(aW.H.json);break;case"getgraphlength":return aW.B0.length;break;case"getplotlength":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){return aP.AY.AB.length}return null;break;case"getnodelength":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);if(a2!=null){return a2.Q.length}}return null;break;case"getnodevalue":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);if(a2!=null){if(a5.nodeindex!=null){if(BI=a2.Q[ZC._i_(a5.nodeindex)]){return BI.AE}else{return null}}}}return null;break;case"getplotvalues":var aP=aW.BR(a5[ZC._[3]]);if(aP!=null){var a2=aP.HG(a5.plotindex,a5.plotid);if(a2!=null){var a8=[];for(var O=0,aZ=a2.Q.length;O<aZ;O++){a8.push(a2.Q[O].AE)}return a8}}return null;break}}return null};ZC.A72=ZC.BX.BF({$i:function(){var b=this;b.LF=null;b.o={};b.H={};b.DJ=[]},parse:function(){var f=this;ZC._todash_(f.o);var g="";if(typeof f.G!=ZC._[31]){g=f.G.A8}ZC.U5(f.o,"html5");if(g!=""){ZC.U5(f.o,g)}if(f.o.rules!=null){f.DJ=f.o.rules}if(typeof f.G!=ZC._[31]&&f.G.PS!=null){for(var e in f.G.PS){if(f.G.PS.hasOwnProperty(e)){f.o[e]=f.G.PS[e]}}}},getPMap:function(){return{}},addPMap:function(r,n,o){var p=new String(n).split(",");var l=new String(o).split(",");for(var q=0,m=l.length;q<m;q++){r[p[q]]=l[q]}},append:function(h,l,f){if(l==null){l=true}var g=this;if(h){ZC._cp_(h,g.o,true,f)}if(typeof g.A7L!=ZC._[31]){if(g.A7L()){if(h){ZC._cp_(h,g.o)}}}},A7L:function(){},XK_a:function(g){for(var e=0,f=g.length;e<f;e++){if(this.o.hasOwnProperty(g[e][0])){this.XK(g[e][0],g[e][1],g[e][2],g[e][3],g[e][4])}}},XK:function(m,p,n,h,l){var o;if((o=this.o[m])!=null){if(n!=null){if(n.indexOf("p")!=-1){o=ZC._p_(o);n=n.replace("p","")}if(n.indexOf("a")!=-1){o=ZC._a_(o);n=n.replace("a","")}switch(n){case"i":o=ZC._i_(o);break;case"f":o=ZC._f_(o);break;case"b":o=ZC._b_(o);break;case"c":o=ZC.AQ.GD(o,this);if(o instanceof Array){if(m=="color"||m=="font-color"){this.S0=o[1]}else{if(this.o.alpha==null){this.BC=o[1]}}o=o[0]}break}}if(h!=null&&l!=null){o=ZC._l_(o,h,l)}this[p]=o}},CJ:function(){var p=this;var e=false;for(var n=0,o=p.DJ.length;n<o;n++){var l=false;try{l=new Function("return ("+p.IG(p.DJ[n]["rule"])+")")()}catch(m){l=false}if(l){e=true;p.append(p.DJ[n])}}return e},A6Y:function(o){var e=this;var p="";for(var q=0,r=o.length;q<r;q++){var n=false;try{n=new Function("return ("+e.IG(o[q]["rule"])+")")()}catch(m){n=false}if(n){p+="<"+o[q]["rule"]+">"}}if(p!=""){return[p,ZC.UE.md5(p)]}else{return null}},IG:function(b){return true},copy:function(c){var e=this;ZC._cp_(c.o,e.o);ZC._cp_(c.H,e.H);ZC._cp_(c.DJ,e.DJ)}});ZC.DZ=ZC.A72.BF({$i:function(e){var c=this;c.b(e);if(e&&e.G){c.G=e.G}c.N="";c.DW=null;c.AP=true;c.W=-1;c.A5=-1;c.FD="";c.FU="";c.BY="";c.JW="repeat";c.PA="50% 50%";c.S1="";c.L6="linear";c.JV=90;c.RD=0;c.RG=0;c.AM=0;c.AW="#000";c.FX="";c.F8=0;c.H2=0;c.AA=0;c.BA="#000";c.BC=1;c.P7="butt";c.UW="round";c.LC=false;c.M3=45;c.H9=2;c.P8=0.75;c.NV="#999";c.LI=0;c.D5=true;c.L5=false;c.KO=false;c.WM=false;c.NK=null},getPMap:function(){var b=this.b();this.addPMap(b,"visible,backgroundColor1,backgroundColor2,gradientColors,gradientStops,backgroundImage,backgroundRepeat,backgroundPosition,backgroundFit,fillType,fillAngle,fillOffsetX,fillOffsetY,lineWidth,lineColor,lineStyle,lineSegmentSize,lineGapSize,borderWidth,borderColor,alpha,lineCap,shadow,shadowAngle,shadowDistance,shadowAlpha,shadowColor,shadowBlur,class","AP,W,A5,FD,FU,BY,JW,PA,S1,L6,JV,RD,RG,AM,AW,FX,F8,H2,AA,BA,BC,P7,LC,M3,H9,P8,NV,LI,DW");return b},copy:function(l){var m=this;m.b(l);var g=new String("AP,W,A5,FD,FU,BY,JW,PA,S1,L6,JV,RD,RG,AM,AW,FX,F8,H2,AA,BA,BC,P7,LC,M3,H9,P8,NV,LI,D5,KO,DW,G").split(",");for(var n=0,h=g.length;n<h;n++){if(typeof l[g[n]]!=ZC._[31]){m[g[n]]=l[g[n]]}}},A7L:function(){var q=this,p,o;var l=false;if(q.o["class"]!=null||q.o.cls!=null||q.o.id!=null){if(q.G!=null&&q.G.S!=null){if((p=q.o["class"]||q.o.cls)!=null){var n=p.split(/(\s+)/);for(var r=0,m=n.length;r<m;r++){if((o=q.G.S["."+n[r]])!=null){l=true;ZC._cp_(o,q.o)}}}if((p=q.o.id)!=null){if((o=q.G.S["#"+p])!=null){l=true;ZC._cp_(o,q.o)}}}}if(q.LF!=null&&(o=q.G.S[q.LF])!=null){l=true;ZC._cp_(o,q.o)}return l},IV:function(){var b=this;switch(b.FX){case"dotted":b.F8=ZC.BT(1,b.AM*0.75);b.H2=b.AM*1.75;break;case"dashed":b.F8=4*b.AM;b.H2=3*b.AM;break;default:b.F8=0;b.H2=0}b.XK_a([["line-segment-size","F8","i"],["line-gap-size","H2","i"]])},parse:function(){var s=this,t;s.b();if((t=s.o.override)!=null&&!s.WM){var w=-1,y=-1;if(typeof s.H.plotidx!=ZC._[31]){w=ZC._i_(s.H.plotidx)}if(typeof s.H.nodeidx!=ZC._[31]){y=ZC._i_(s.H.nodeidx)}var A,G,C;for(var D=0,I=t.length;D<I;D++){A=-1;G=-1;if(t[D]["hook"]!=null){if((C0=t[D]["hook"]["node-index"])!=null){G=0;C=[];if(typeof C0=="object"){C=C0}else{if(typeof C0=="string"){if(C0.indexOf(",")!=-1){C=C0.split(",")}else{if(C0.indexOf("-")!=-1){var x=C0.split("-");for(var u=ZC._i_(x[0]);u<=ZC._i_(x[1]);u++){C.push(u)}}}}else{C=[C0]}}if(ZC.AG(C,y)!=-1){G=1}}if((C0=t[D]["hook"]["plot-index"])!=null){A=0;C=[];if(typeof C0=="object"){C=C0}else{if(typeof C0=="string"){if(C0.indexOf(",")!=-1){C=C0.split(",")}else{if(C0.indexOf("-")!=-1){var x=C0.split("-");for(var u=ZC._i_(x[0]);u<ZC._i_(x[1]);u++){C.push(u)}}}}else{C=[C0]}}if(ZC.AG(C,w)!=-1){A=1}}}if(A!=0&&G!=0){s.append(t[D])}}}if((t=s.NK)!=null){s.append(t)}if((t=s.o[ZC._[0]])!=null){if(String(t).substring(0,4)=="rgb("){var z=new RegExp("rgb\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\)");while(D7=z.exec(t)){t=t.replace(D7[0],ZC.AQ.GD(D7[0]))}}if(String(t).substring(0,5)=="rgba("){var z=new RegExp("rgba\\((\\d{1,3}),\\s*(\\d{1,3}),\\s*(\\d{1,3})\\,\\s*([0-9.]+)\\)");while(D7=z.exec(t)){var v=ZC.AQ.GD(D7[0],s);t=t.replace(D7[0],v[0]);s.o.alpha=v[1]}}var H=String(t).split(/\s+|;|,/);s.W=ZC.AQ.GD(H[0]);s.A5=H.length==1?s.W:ZC.AQ.GD(H[1])}s.XK_a([["visible","AP","b"],["background-color-1","W","c"],["background-color-2","A5","c"],["gradient-colors","FD"],["gradient-stops","FU"],["background-image","BY"],["background-repeat","JW"],["background-position","PA"],["background-fit","S1"],["fill-type","L6"],["fill-angle","JV","i"],["fill-offset-x","RD","f"],["fill-offset-y","RG","f"],[ZC._[4],"AM","i"],["line-color","AW","c"],["line-style","FX",""],["class","DW"],["cls","DW"]]);s.IV();s.XK_a([["line-segment-size","F8","i"],["line-gap-size","H2","i"],["border-width","AA","i"],["border-color","BA","c"],["alpha","BC","f",0,1],["shadow","LC","b"],["shadow-angle","M3","i",0,360],["shadow-distance","H9","i"],["shadow-alpha","P8","f",0,1],["shadow-color","NV","c"],["shadow-blur","LI","i"]])}});ZC.C8={contour:function(q,r,n){if(!q||!n||n.length==0){return}var o=false;var m=n.length;for(var l=0;l<m;l++){if(n[l]!=null){var p=[n[l][0],n[l][1]];if(n[l][2]!=null){p.push(n[l][2],n[l][3])}if(n[l][4]!=null){p.push(n[l][4],n[l][5])}if(r.L5){p[0]=ZC._i_(p[0]);p[1]=ZC._i_(p[1]);if(p.length==4){p[2]=ZC._i_(p[2]);p[3]=ZC._i_(p[3])}}if(r.D5&&r.AM%2==1){p[0]-=0.5;p[1]-=0.5;if(p.length==4){p[2]-=0.5;p[3]-=0.5}}}if(l==0){q.moveTo(p[0],p[1])}else{if(n[l]){if(o){q.moveTo(p[0],p[1]);o=false}if(p.length==2){q.lineTo(p[0],p[1])}else{if(p.length==4){q.quadraticCurveTo(p[0],p[1],p[2],p[3])}else{if(p.length==6){q.arc(p[0],p[1],p[2],ZC.PL(p[3]),ZC.PL(p[4]),p[5])}}}}else{o=true}}}},setup:function(e,f){var g=f.G.A8;if(f.BC!=1){if(f.KO){if(f.o["border-color"]==null){f.BA=f.W}if(f.o["border-width"]==null){switch(g){case"canvas":f.AA=0.2;break;case"svg":f.AA=0.1;break;case"vml":f.AA=0.2;f.H.A2T=f.BC/10;break}}}}},paint:function(ah,aq,ac,p,av){if(av==null){av=2}if(p==null){p=false}if(!ah||!ac||ac.length==0||!aq){return}if(ac[0]!=null&&ac[ac.length-1]!=null&&ac[0].join(",")==ac[ac.length-1].join(",")){aq.P7="round"}var C=aq.G.A8;if(C=="canvas"&&aq.AM==0){return}if(aq.LC&&aq.BZ!=null&&!p){aq.BZ=aq.BZ||aq.A0;var au=ZC.L._sh_(ac,aq);var aw;if(typeof aq.Z8!=ZC._[31]){aw=aq.Z8}else{aw=new ZC.DA(aq);aw.copy(aq);aw.N=aq.N+"-sh";aw.LC=false;aw.AM+=aw.LI;aw.AW=aw.NV}aw.BC=aq.BC*aw.P8;if(typeof aq.A82==ZC._[31]){aq.Z8=aw}aw.D5=false;var ai=ZC.L.DF(aq.BZ,C);ZC.C8.setup(ai,aw);ZC.C8.paint(ai,aw,au,false,1)}var S=aq.F8||0;var ae=aq.H2||0;var am=ac.length;if(typeof aq.A6==ZC._[31]){aq.A6=0}if(C=="canvas"){ah.lineJoin=aq.UW;ah.lineCap=aq.P7;ah.strokeStyle=ZC.AQ.VT(aq.AW,aq.BC);ah.lineWidth=aq.AM;ah.beginPath()}var an=false;if(ZC.AG(["svg","vml"],C)!=-1){var ab=ZC.L.XE(ac,C,aq,p)}else{for(var W=0;W<am;W++){if(ac[W]==null){an=true;continue}var ap=ZC.L._txp_(ac[W],C,aq,p);if(ap==null||isNaN(ap[0])||isNaN(ap[1])||!isFinite(ap[0])||!isFinite(ap[1])){continue}if(W==0){if(ap.length==2){ah.moveTo(ap[0],ap[1])}else{if(ap.length==6){ah.arc(ap[0],ap[1],ap[2],ZC.PL(ap[3]),ZC.PL(ap[4]),ap[5])}}}else{if(an){ah.moveTo(ap[0],ap[1]);an=false}if(S==0||ae==0||ap.length==4||ap.length==6){if(ap.length==2){ah.lineTo(ap[0],ap[1])}else{if(ap.length==4){ah.quadraticCurveTo(ap[0],ap[1],ap[2],ap[3])}else{if(ap.length==6){ah.arc(ap[0],ap[1],ap[2],ZC.PL(ap[3]),ZC.PL(ap[4]),ap[5])}}}}else{if(ac[W-1]!=null){var aa=ZC.L._txp_(ac[W-1],C,aq,p);var R=aa[aa.length==4?2:0];var ax=aa[aa.length==4?3:1];var ao=ap[0];var aj=ap[1];var Y=S+ae;var ad=ao-R;var al=aj-ax;var U=Math.sqrt(ad*ad+al*al);var Q=Math.floor(ZC._a_(U/Y));var af=Math.atan2(al,ad);var Z=Math.cos(af);var ak=Math.sin(af);var ar=R;var at=ax;ad=Z*Y;al=ak*Y;for(var X=0;X<Q;X++){ah.moveTo(ar,at);ah.lineTo(ar+Z*S,at+ak*S);ar+=ad;at+=al}ah.moveTo(ar,at);U=Math.sqrt((ao-ar)*(ao-ar)+(aj-at)*(aj-at));if(U>S){ah.lineTo(ar+Z*S,at+ak*S)}else{if(U>0){ah.lineTo(ar+Z*U,at+ak*U)}}ah.moveTo(ao,aj)}}}}}switch(C){case"canvas":ah.globalCompositeOperation=aq.VM;ah.stroke();break;case"svg":case"vml":if(aq.G.N6&&(!p||aq.H.areanode)){if(aq.H.areanode){var ag=aq.W+"-"+aq.A5+"-"+aq.BY+"-"+aq.AM+"-"+aq.FX+"-"+aq.BC}else{var ag=aq.AW+"-"+aq.AM+"-"+aq.FX+"-"+aq.BC}if(aq.G.KK[av]==null){aq.G.KK[av]={uid:ag,ctx:ah,path:ab,style:aq,filled:p};break}else{if(aq.G.KK[av].uid==ag&&aq.G.KK[av].path.length<2000){var X=aq.G.KK[av].path;if(X.length>0&&X[X.length-1].replace(/[A-Z]+/,"")==ab[0].replace(/[A-Z]+/,"")){ab[0]=""}aq.G.KK[av].path=aq.G.KK[av].path.concat(ab);break}else{if(C=="svg"){ZC.C8.T9(aq.G.KK[av].ctx,aq.G.KK[av].style,aq.G.KK[av].path.join(" "),aq.G.KK[av].filled)}else{ZC.C8.T7(aq.G.KK[av].ctx,aq.G.KK[av].style,aq.G.KK[av].path.join(" "),aq.G.KK[av].filled)}aq.G.KK[av]={uid:ag,ctx:ah,path:ab,style:aq,filled:p};break}}}else{if(C=="svg"){ZC.C8.T9(ah,aq,ab.join(" "),p)}else{ZC.C8.T7(ah,aq,ab.join(" "),p)}}break}},T9:function(z,x,r,y){if(r==""){return}var u=ZC.L.E8("path",ZC._[36]);var v="";if(typeof x.N==ZC._[31]||x.N==""){if(typeof x.G!=""){v=x.G.GRAPHID+"-path-"+ZC.SEQ;ZC.SEQ++}}else{v=x.N+"-path"}var w="";if(typeof x.C1!=ZC._[31]&&typeof x.BW!=ZC._[31]){if(x.C1!=0||x.BW!=0){w+="translate("+x.C1+" "+x.BW+")"}}if(typeof x.A6!=ZC._[31]){if(x.A6!=0){var p=x.A6;if(typeof x.H.cx!=ZC._[31]){p+=","+(ZC._i_(x.H.cx)+0.5)}if(typeof x.H.cy!=ZC._[31]){p+=","+(ZC._i_(x.H.cy)+0.5)}w+=" rotate("+p+")"}}if(y&&x.H.fill!=-1){ZC.L.F2(u,{fill:x.H.fill,"fill-opacity":x.BC})}else{ZC.L.F2(u,{fill:"none"})}if(x.AM>0){ZC.L.F2(u,{stroke:x.AW,"stroke-width":x.AM,"stroke-opacity":x.BC,"stroke-linecap":x.P7,"stroke-linejoin":x.UW});if(x.F8+","+x.H2!="0,0"){ZC.L.F2(u,{"stroke-dasharray":x.F8+","+x.H2})}}u.id=v;u.setAttribute("d",r);if(w!=""){u.setAttribute("transform",w)}function s(a){if(x.G&&x.G.FH){if(x.G.FH[z.id]==null){x.G.FH[z.id]=document.createDocumentFragment()}x.G.FH[z.id].appendChild(a)}else{z.appendChild(a)}}s(u);if(typeof x.H.imgfill!=ZC._[31]){if(typeof x.H.imgfill=="string"){var u=ZC.L.E8("path",ZC._[36]);ZC.L.F2(u,{id:v+"-imgfill",d:r,transform:w,fill:x.H.imgfill,"fill-opacity":x.BC});s(u)}else{if(!ZC.AH(v+"-image")){var t=x.H.imgfill;var q=ZC.L.E8("image",ZC._[36]);if(q.setAttributeNS){if(x.BY.substring(0,3)=="zc."){q.setAttributeNS(ZC._[37],"href",ZC.IMAGES[x.BY])}else{q.setAttributeNS(ZC._[37],"href",x.BY)}}else{if(x.BY.substring(0,3)=="zc."){q.setAttribute("src",ZC.IMAGES[x.BY])}else{q.setAttribute("src",x.BY)}}if(x.H["clip-path"]!=null){ZC.L.F2(q,{"clip-path":"url(#"+x.H["clip-path"]+")"})}ZC.L.F2(q,{id:v+"-image",x:t[1],y:t[2],width:x.H[ZC._[67]],height:x.H[ZC._[68]],preserveAspectRatio:"none"});s(q)}}}},T7:function(O,ae,X,M){var P;if(M){X+=" x e"}var ab="";if(typeof ae.N==ZC._[31]||ae.N==""){if(typeof ae.G!=""){ab=ae.G.GRAPHID+"-path-"+ZC.SEQ;ZC.SEQ++}}else{ab=ae.N+"-path"}var K=ZC.L.E8("zcv:shape");K.style.position="absolute";K.style.rotation=ae.A6;K.id=ab;var ac=ZC.L.E8("zcv:path");ac.v=X;ac.setAttribute("VMLv",X);K.appendChild(ac);if(ae.AM==0){K.stroked=false}else{var af=ZC.L.E8("zcv:stroke");var ai=ae.BC;if(typeof ae.H.A2T!=ZC._[31]){ai=ae.H.A2T}if(typeof ae.H.stroke!=ZC._[31]){var Q=ae.H.stroke.weight;var ad=ae.H.stroke.color;var ai=ae.H.stroke.opacity;var h=ae.H.stroke.dashstyle}else{var h="solid";switch(ae.FX){case"solid":h="solid";break;case"dotted":h="dot";break;case"dashed":h="dash";break}if((P=ZC.DI(6,ae.F8*ae.AM)+" "+ZC.DI(8,ae.H2*ae.AM))!="0 0"){h=P}var Q=ae.AM;var ad=ae.AW}ZC.L.F2(af,{weight:Q+"px",color:ad,opacity:ai,miterlimit:10,endcap:"flat",joinstyle:"round",dashstyle:h});K.appendChild(af)}if(M&&typeof ae.H.fill!=ZC._[31]){if(ae.H.fill!=-1){K.filled=true;K.appendChild(ae.H.fill)}else{K.filled=false}}else{K.filled=false}ZC.L.F2(K,{coordorigin:"0 0",coordsize:ae.A6%360==0?"100 100":ae.G.I+" "+ae.G.F});var w=0,L=0;var ag=0,Z=0;if(ae.A6%360!=0&&typeof ae.H.cx!=ZC._[31]&&typeof ae.H.cy!=ZC._[31]){var W=ae.G.I/2-ae.H.cx;var U=ae.G.F/2-ae.H.cy;var N=U==0?0:ZC.QS(Math.atan(W/U));if(ae.H.cy>ae.G.F/2){N+=180}var S=Math.sqrt(W*W+U*U);var R=S*ZC.DD(N-ae.A6);var aa=S*ZC.DG(N-ae.A6);var ag=W-R;var Z=U-aa}var a=w-ag;if(ae.C1!=null){a+=ae.C1}var ah=L-Z;if(ae.BW!=null){ah+=ae.BW}K.style.left=a+"px";K.style.top=ah+"px";O.appendChild(K);if(ae.A6%360==0){K.style.width="10px";K.style.height="10px"}else{K.style.width=ae.G.I+"px";K.style.height=ae.G.F+"px"}if(typeof ae.H.imgfill!=ZC._[31]){var Y=ae.H.imgfill;if(Y.length==1){var K=ZC.L.E8("zcv:shape");K.style.position="absolute";K.style.rotation=ae.A6;var ac=ZC.L.E8("zcv:path");ac.v=X;K.appendChild(ac);K.appendChild(Y[0]);K.stroked=false;ZC.L.F2(K,{id:ab+"-imgfill",filled:true,coordorigin:"0 0",coordsize:ae.A6%360==0?"100 100":ae.G.I+" "+ae.G.F});K.style.left=a+"px";K.style.top=ah+"px";O.appendChild(K);if(ae.A6%360==0){K.style.width="10px";K.style.height="10px"}else{K.style.width=ae.G.I+"px";K.style.height=ae.G.F+"px"}}else{if(Y.length==3){J2=ZC.L.E8("img");J2.id=ab+"-img";if(ae.BY.substring(0,3)=="zc."){J2.src=ZC.IMAGES[ae.BY]}else{J2.src=ae.BY}J2.style.position="absolute";J2.style.left=Y[1]+"px";J2.style.top=Y[2]+"px";J2.style.width=ae.H[ZC._[67]]+"px";J2.style.height=ae.H[ZC._[68]]+"px";O.appendChild(J2)}}}}};ZC.DA=ZC.DZ.BF({$i:function(e){var c=this;c.b(e);c.A=e;c.A0=null;c.BZ=null;c.GI="";c.iX=-1;c.iY=-1;c.DY="poly";c.C=[];c.DN=[0,0,0,0];c.A6=0;c.AO=0;c.SI=0;c.C1=0;c.BW=0;c.A3Y=0;c.DS=0;c.AL=0;c.AZ=360;c.C4=0;c.RA=false;c.A7V=false;c.A1M=0;c.A4V="";c.N6=false;c.A5G=0;c.I6=0;c.DQ=null;c.FM=null;c.ID="auto";c.JU=false;c.VM="source-over"},getPMap:function(){var b=this.b();this.addPMap(b,"objectId,x,y,points,bounds,pieAngleStart,pieAngleEnd,pieSlice,url,target,offsetX,offsetY,offsetR,size,size2,angle,shape","GI,iX,iY,C,DN,AL,AZ,C4,DQ,FM,C1,BW,DS,AO,SI,A6,DY");return b},build:function(){},copy:function(l){var m=this;m.b(l);var g=new String("C1,BW,DS,AO,SI,A6,DY").split(",");for(var n=0,h=g.length;n<h;n++){if(typeof l[g[n]]!=ZC._[31]){m[g[n]]=l[g[n]]}}if(l.C&&l.C.length>0){m.C=[];for(var n=0,h=l.C.length;n<h;n++){m.C.push(l.C[n])}}},ll_:function(l,h){var f=this;if((""+l).indexOf("lat")!=-1){h="y"}if((""+l).indexOf("lon")!=-1){h="x"}l=ZC._f_((""+l).replace("lat","").replace("lon",""));var g=zingchart.maps.maps[f.A1M];if(g){l=zingchart.maps.lonlat2xy(g._INFO_.x,g._INFO_.y,g._INFO_.width,g._INFO_.height,h=="x"?[l,0]:[0,l],g._INFO_.bbox,{map:f.A1M,item:f.A4V},true)}l=ZC._i_(h=="x"?l[0]:l[1]);return l},kv_:function(m,l){var g=this;if((""+m).indexOf("val")!=-1){l="y"}if((""+m).indexOf("key")!=-1){l="x"}m=ZC._f_((""+m).replace("key","").replace("val",""));var h=g.G||zingchart.IB[0];if(h){var n=g.A||h.B0[0];if(n){if(l=="x"){if((E=n.BH("k")[0])!=null){m=ZC._i_(E.B7(m))}}else{if((E=n.BH("v")[0])!=null){m=ZC._i_(E.B7(m))}}}}return ZC._i_(m)},xy_:function(q,n){var r=this;n=n||"x";if((""+q).indexOf("lat")!=-1||(""+q).indexOf("lon")!=-1){return r.ll_(q,n)}else{if((""+q).indexOf("val")!=-1||(""+q).indexOf("key")!=-1){return r.kv_(q,n)}else{if(ZC._f_(q)+""==q+""){var l=typeof r.H["p-x"]!=ZC._[31]?r.H["p-x"]:r.A.iX;var m=typeof r.H["p-y"]!=ZC._[31]?r.H["p-y"]:r.A.iY;var o=typeof r.H["p-width"]!=ZC._[31]?r.H["p-width"]:r.A.I;var p=typeof r.H["p-height"]!=ZC._[31]?r.H["p-height"]:r.A.F;if(q>1||q<0){if(n=="x"){return l+ZC._i_(q)}else{return m+ZC._i_(q)}}else{if(q>=0&&q<=1){if(n=="x"){return ZC._i_(l+o*q)}else{return ZC._i_(m+p*q)}}}}else{q=q+"";if(q.indexOf("%")!=-1){return r.xy_(ZC._f_(q.replace("%",""))/100,n)}else{if(q.indexOf("px")!=-1){return r.xy_(ZC._f_(q.replace("px","")),n)}else{return r.xy_(ZC._f_(q),n)}}}}}},locate:function(f){var e=this,g;if(e.RA){e.XK_a([["x","iX"],["y","iY"]]);e.XV();return}if(f==1){if((g=e.o.x)!=null){e.iX=e.xy_(g,"x")}if((g=e.o.y)!=null){e.iY=e.xy_(g,"y")}if(e.iX==-1){e.iX=e.A.iX}if(e.iY==-1){e.iY=e.A.iY}}else{if(f==2){e.XV();e.I=e.DN[2]-e.DN[0];e.F=e.DN[3]-e.DN[1]}}},XV:function(){var q=this,p;var s=ZC.MAX;var m=ZC.MAX;var o=-ZC.MAX;var t=-ZC.MAX;switch(q.DY){case"custom":s=0;m=0;o=0;t=0;break;case"circle":case"arc":case"pie":s=q.iX-q.AO;m=q.iY-q.AO;o=q.iX+q.AO;t=q.iY+q.AO;break;default:for(var r=0,n=q.C.length;r<n;r++){if((p=q.C[r])!=null){s=ZC.DI(s,p[0]);m=ZC.DI(m,p[1]);o=ZC.BT(o,p[0]);t=ZC.BT(t,p[1])}}break}q.DN=[s,m,o,t]},E0:function(){var f=this;if(f.DY=="pie"){var g=1;var h=[];if(f.AO>50){g=2}if(f.AO>100){g=4}if(f.C4==0){if(f.AL%360!=f.AZ%360){h.push([f.iX,f.iY])}}else{h.push(ZC.AX.BK(f.iX,f.iY,f.C4,f.AL),ZC.AX.BK(f.iX,f.iY,f.AO,f.AL))}for(var l=f.AL;l<=f.AZ;l+=g){h.push(ZC.AX.BK(f.iX,f.iY,f.AO,l))}h.push(ZC.AX.BK(f.iX,f.iY,f.AO,f.AZ));if(f.C4==0){if(f.AL%360!=f.AZ%360){h.push([f.iX,f.iY])}}else{h.push(ZC.AX.BK(f.iX,f.iY,f.C4,f.AZ));for(var l=f.AZ;l>=f.AL;l-=g){h.push(ZC.AX.BK(f.iX,f.iY,f.C4,l))}h.push(ZC.AX.BK(f.iX,f.iY,f.C4,f.AL))}h.push([h[0][0],h[0][1]]);return ZC.AX.OT(h,ZC.DI(5,f.AO/5))}return ZC.AX.OT(f.C,ZC.DI(5,f.AO/5))},A4J:function(){var K=this;var A=ZC.ie67?ZC.MAPTX:0;switch(K.DY){case"line":return["poly",ZC.AX.OT(ZC.AX.XM(K.C),4)];break;case"cross":case"plus":return["circle",K.iX+A+","+(K.iY+A)+","+ZC._i_(K.AO*1.2)];break;case"circle":case"arc":return["circle",K.iX+A+","+(K.iY+A)+","+ZC._i_(K.AO*1.1)];break;case"pie":return["poly",K.E0()];break;default:var O=["poly"];var L=[];for(var C=0,J=K.C.length;C<J;C++){if(K.C[C]!=null){if(K.C[C].length==6){for(var t=K.C[C][3];t<K.C[C][4];t+=1){L.push(ZC.AX.BK(K.C[C][0],K.C[C][1],K.C[C][2],t))}}else{if(K.C[C].length==4&&L[C-1]){var M={x:L[L.length-1][0],y:L[L.length-1][1]};var s={x:K.C[C][2],y:K.C[C][3]};var a={x:K.C[C][0],y:K.C[C][1]};for(var N=0;N<=1;N+=0.1){L.push([ZC._i_((1-N)*(1-N)*M.x+2*N*(1-N)*a.x+N*N*s.x),ZC._i_((1-N)*(1-N)*M.y+2*N*(1-N)*a.y+N*N*s.y)])}}else{L.push(K.C[C])}}}else{if(L.length>-1){O.push(ZC.AX.OT(L,ZC.DI(5,K.AO/5)))}L=[]}}if(K.A6!=0){var H=ZC._i_((K.DN[0]+K.DN[2])/2);var I=ZC._i_((K.DN[1]+K.DN[3])/2);for(var C=0,J=L.length;C<J;C++){if(L[C]!=null){var x=L[C][0]-H,y=L[C][1]-I;var D=x*ZC.DG(K.A6)-y*ZC.DD(K.A6);var G=x*ZC.DD(K.A6)+y*ZC.DG(K.A6);L[C]=[D+H,G+I]}}}if(L.length>-1){O.push(ZC.AX.OT(L,ZC.DI(5,K.AO/5)))}return O;break}},parse:function(){var M=this,N;M.b();M.XK_a([["map","A1M"],["item","A4V"]]);var G=["offset-x","offset-y"];for(var C=0;C<2;C++){var s=G[C];var z=s=="offset-x"?"lon":"lat";if((N=M.o[s])!=null){N=""+N;if(N.indexOf(z)!=-1){N=ZC._f_(N.replace(z,""));var J=zingchart.maps.maps[M.A1M];if(J){N=zingchart.maps.translate(s.replace("offset-"),N,M.A.I,M.A.F,J._INFO_.bbox);M.o[s]=N}}}}M.XK_a([["url","DQ"],["target","FM"],["cursor","ID"],["id","GI"],["angle","A6","i"],["static","JU","b"],["flat","JU","b"],[ZC._[1],"AL","f"],[ZC._[2],"AZ","f"],[ZC._[8],"C4","i"],[ZC._[21],"AO","f"],["size-2","SI","f"],["type","DY"],["points","C"],["offset-x","C1","i"],["offset-y","BW","i"],["offset-z","A3Y","i"],["offset-r","DS","i"],["z-sort","A5G","i"],["z-index","I6","i"],["composite","VM"]]);for(var C=0,L=M.C.length;C<L;C++){if(M.C[C]!=null){for(var H=0;H<M.C[C].length;H++){if((""+M.C[C][H]).indexOf("lat")!=-1||(""+M.C[C][H]).indexOf("lon")!=-1){M.C[C][H]=M.ll_(M.C[C][H],H%2==0?"x":"y")}if((""+M.C[C][H]).indexOf("key")!=-1||(""+M.C[C][H]).indexOf("val")!=-1){M.C[C][H]=M.kv_(M.C[C][H],H%2==0?"x":"y")}}}}M.A6=M.A6%360;M.locate(1);if(M.DY!="bar"){var x=M.AO;switch(M.DY){case"custom":break;case"triangle":x=M.AO;var y=0.1*M.AO;M.C=[[M.iX-x,M.iY+x-y],[M.iX,M.iY-x-y],[M.iX+x,M.iY+x-y],[M.iX-x,M.iY+x-y]];break;case"square":x=ZC._i_(M.AO*0.9);M.C=[[M.iX-x,M.iY-x],[M.iX-x,M.iY+x],[M.iX+x,M.iY+x],[M.iX+x,M.iY-x],[M.iX-x,M.iY-x]];break;case"diamond":x=ZC._i_(M.AO*1.2);M.C=[[M.iX-x,M.iY],[M.iX,M.iY+x],[M.iX+x,M.iY],[M.iX,M.iY-x],[M.iX-x,M.iY]];break;case"rectangle":M.C=[[M.iX-x,M.iY-M.SI],[M.iX+x,M.iY-M.SI],[M.iX+x,M.iY+M.SI],[M.iX-x,M.iY+M.SI],[M.iX-x,M.iY-M.SI]];break;case"plus":x=M.AO;M.C=[[M.iX,M.iY-x],[M.iX,M.iY+x],null,[M.iX-x,M.iY],[M.iX+x,M.iY]];break;case"cross":x=M.AO;M.C=[[M.iX-x,M.iY-x],[M.iX+x,M.iY+x],null,[M.iX-x,M.iY+x],[M.iX+x,M.iY-x]];break;case"star3":case"star4":case"star5":case"star6":case"star7":case"star8":case"star9":M.C=[];x=2*M.AO;var I=ZC._i_(M.DY.replace("star",""));var D=360/I;var A=I%2==0?0:-90;var K=x/(I>4?2:7-I);for(var C=0+A;C<360+A;C+=D){M.C.push(ZC.AX.BK(M.iX,M.iY,x*0.75,C),ZC.AX.BK(M.iX,M.iY,K*0.75,C+D/2))}M.C.push([M.C[0][0],M.C[0][1]]);break;case"rpoly3":case"rpoly4":case"rpoly5":case"rpoly6":case"rpoly7":case"rpoly8":case"rpoly9":M.C=[];x=M.AO;var I=ZC._i_(M.DY.replace("rpoly",""));var D=360/I;var A=I%2==0?0:-90;for(var C=0+A;C<360+A;C+=D){M.C.push(ZC.AX.BK(M.iX,M.iY,x,C))}M.C.push([M.C[0][0],M.C[0][1]]);break;case"gear3":case"gear4":case"gear5":case"gear6":case"gear7":case"gear8":case"gear9":M.C=[];x=2*M.AO;var I=ZC._i_(M.DY.replace("gear",""));var D=360/(2*I);var A=I%2==0?0:-90;var K=x*0.75;for(var C=0+A;C<360+A;C+=2*D){var w=C+D/2;M.C.push(ZC.AX.BK(M.iX,M.iY,x*0.75,w),ZC.AX.BK(M.iX,M.iY,x*0.75,w+D),ZC.AX.BK(M.iX,M.iY,K*0.75,w+D+D*0.2),ZC.AX.BK(M.iX,M.iY,K*0.75,w+D*2-D*0.2))}M.C.push([M.C[0][0],M.C[0][1]]);break;case"ellipse":M.D5=false;M.C=[];for(var C=0;C<=360;C+=5){M.C.push([M.iX+M.AO*ZC.DG(C),M.iY+M.SI*ZC.DD(C)])}M.C.push([M.C[0][0],M.C[0][1]]);break;case"arc":M.D5=false;M.C=[ZC.AX.BK(M.iX,M.iY,M.AO,M.AL),[M.iX,M.iY,M.AO,M.AL,M.AZ,0]];break;case"pie":M.D5=false;var O=false;if(ZC.AG(["svg","vml"],M.G.A8)!=-1&&M.AL%360==M.AZ%360){M.AZ-=0.05;O=true}M.C=[];if(M.C4==0){if(M.AL%360!=M.AZ%360&&!O){M.C.push([M.iX,M.iY])}}else{M.C.push(ZC.AX.BK(M.iX,M.iY,M.C4,M.AL))}M.C.push(ZC.AX.BK(M.iX,M.iY,x,M.AL),[M.iX,M.iY,x,ZC._x_(M.AL,2),ZC._x_(M.AZ,2),0]);if(M.C4==0){if(M.AL%360!=M.AZ%360&&!O){M.C.push([M.iX,M.iY])}}else{M.C.push(ZC.AX.BK(M.iX,M.iY,x,M.AZ),ZC.AX.BK(M.iX,M.iY,M.C4,M.AZ),[M.iX,M.iY,M.C4,ZC._x_(M.AZ,2),ZC._x_(M.AL,2),1])}M.C.push([M.C[0][0],M.C[0][1]]);break}}M.locate(2)},paint:function(){var e=this;if(e.DY=="none"){return}var c=e.G.A8;if(e.LC&&e.BZ!=null){e.A3K()}switch(c){case"canvas":e.W4();break;case"svg":e.T9();break;case"vml":e.T7();break}},A3K:function(){var a=this;var r=zingchart.pool.getInstance("DA",a.A,a.N+"-sh");r.copy(a);r.N6=a.N6;r.A0=a.BZ;r.LC=false;r.W=r.A5=r.NV;r.BY="";r.AA=1;r.BA=r.NV;r.AM=0;r.BC=r.P8*a.BC;r.N=a.N+"-sh";var t=(a.H9-a.LI)*ZC.DG(a.M3)+a.LI;var u=(a.H9-a.LI)*ZC.DD(a.M3)+a.LI;r.iX=a.iX+ZC._i_(t);r.iY=a.iY+ZC._i_(u);r.AO=a.AO+a.LI;if(a.C.length>0){var p=[];for(var q=0,v=a.C.length;q<v;q++){if(a.C[q]!=null){var o=[];for(var s=0;s<a.C[q].length;s++){o[s]=a.C[q][s]}o[0]=a.C[q][0]+t;o[1]=a.C[q][1]+u;p.push(o)}else{p.push(null)}}}r.DN=[a.DN[0]+t,a.DN[1]+u,a.DN[2]+t,a.DN[3]+u];r.C=p;r.paint()},WA:function(){var n=this;var m=n.AW==-1?ZC._[32]:n.BC==1?n.AW:ZC.AQ.VT(n.AW,n.BC);var g=n.BA==-1?ZC._[32]:n.BC==1?n.BA:ZC.AQ.VT(n.BA,n.BC);var h=n.W==-1?ZC._[32]:n.BC==1?n.W:ZC.AQ.VT(n.W,n.BC);var l=n.A5==-1?ZC._[32]:n.BC==1?n.A5:ZC.AQ.VT(n.A5,n.BC);return{lc:m,bc:g,bgc1:h,bgc2:l}},T8:function(y){var r=this;switch(r.DY){case"circle":case"arc":case"pie":var z=r.iX;var A=r.iY;var u=r.AO;break;default:var z=r.DN[0]+(r.DN[2]-r.DN[0])/2;var A=r.DN[1]+(r.DN[3]-r.DN[1])/2;var u=ZC.DG(r.JV)*(r.DN[2]-r.DN[0])/2+ZC.DD(r.JV)*(r.DN[3]-r.DN[1])/2;break}if(!ZC.MS(z)){z=0}if(!ZC.MS(A)){A=0}if(!ZC.MS(u)){u=0}var w=r.RD,x=r.RG;if(ZC._a_(w)<=1){w=w*(r.DN[2]-r.DN[0])/2}if(ZC._a_(x)<=1){x=x*(r.DN[3]-r.DN[1])/2}z+=w;A+=x;if(y=="radial"){return{cx:z,cy:A,r:ZC._a_(u)}}else{if(y=="linear"){var s=u*ZC.DG(r.JV),C=u*ZC.DD(r.JV);var D=z-s;var t=A-C;var G=z+s;var v=A+C;return{x1:D,y1:t,x2:G,y2:v}}}},NG:function(){var p=this;if(ZC.cache.data[p.BY]){var x=ZC.cache.data[p.BY]}else{var x=new Image();x.src=p.BY;ZC.cache.data[p.BY]=x}var u=x.width;var y=x.height;switch(p.S1){case"x":u=p.I;break;case"y":y=p.F;break;case"xy":case"both":u=p.I;y=p.F;break}var s,t,w,r;var z=p.PA.split(" ");var q=z[0]||"";switch(q){case"":case"left":s=0;break;case"center":s=(p.I-u)/2;break;case"right":s=p.I-u;break;default:if(q.indexOf("%")!=-1){s=(p.I-u)*ZC._i_(q.replace(/[^0-9]/g,""))/100}else{s=ZC._i_(q.replace(/[^0-9]/g,""))}break}w=s/p.I;if(typeof p.J0!=ZC._[31]){s+=p.iX+p.C1}else{s+=p.DN[0]+p.C1}var v=z[1]||"";switch(v){case"":case"top":t=0;break;case"middle":t=(p.F-y)/2;break;case"bottom":t=p.F-y;break;default:if(v.indexOf("%")!=-1){t=(p.F-y)*ZC._i_(v.replace(/[^0-9]/g,""))/100}else{t=ZC._i_(v.replace(/[^0-9]/g,""))}break}r=t/p.F;if(typeof p.J0!=ZC._[31]){t+=p.iY+p.BW}else{t+=p.DN[1]+p.BW}p.H[ZC._[67]]=u;p.H[ZC._[68]]=y;return{image:x,x:ZC._i_(s),y:ZC._i_(t),cx:ZC._i_(w),cy:ZC._i_(r)}},U7:function(p){var t=this;var o=t.FD.split(/\s+|;|,/);var q=t.FU.split(/\s+|;|,/);for(var m=0,n=o.length;m<n;m++){o[m]=ZC.AQ.GD(o[m]);var r=o[m]==-1?ZC._[32]:t.BC==1?o[m]:ZC.AQ.VT(o[m],t.BC);var s=ZC._f_(q[m])||1;if(!ZC.EO(s,0,1)){s=1}p.addColorStop(s,r)}},W4:function(){var J=this,L;var K=J.A0.getContext("2d");K.save();if(J.DY=="poly"){var N=J.DN[0]+(J.DN[2]-J.DN[0])/2;var O=J.DN[1]+(J.DN[3]-J.DN[1])/2}else{var N=J.iX;var O=J.iY}var G=J.WA();var S=G.lc;var W=G.bc;var U=G.bgc1;var s=G.bgc2;if(U!=s||J.FD!=""&&J.FU!=""){var D=J.T8(J.L6);if(J.L6=="radial"){var Y=K.createRadialGradient(D.cx,D.cy,1,D.cx,D.cy,D.r)}else{if(J.L6=="linear"){var Y=K.createLinearGradient(D.x1,D.y1,D.x2,D.y2)}}if(J.FD!=""&&J.FU!=""){J.U7(Y)}else{Y.addColorStop(0,U);Y.addColorStop(1,s)}K.fillStyle=Y}else{if(J.BY!=""&&ZC.AG(["repeat","true",true],J.JW)!=-1){if(J.W==-1&&J.A5==-1){U=ZC._[32]}}K.fillStyle=U}switch(J.DY){case"custom":if((L=J.o.url)!=null){if(ZC.cache.data[L]){var M=ZC.cache.data[L]}else{var M=new Image();M.src=L;ZC.cache.data[L]=M}K.drawImage(M,J.iX-M.width/2+J.C1,J.iY-M.height/2+J.BW)}break;case"plus":case"cross":case"line":K.strokeStyle=S;K.lineWidth=J.AM;break;default:K.strokeStyle=W;K.lineWidth=J.AA;break}K.translate(N,O);if(!isNaN(J.A6)){K.rotate(ZC.PL(J.A6))}K.translate(-N,-O);if(!isNaN(J.C1)&&!isNaN(J.BW)){K.translate(J.C1,J.BW)}K.beginPath();var Q=J.FX;J.FX="";J.IV();switch(J.DY){case"circle":case"arc":K.arc(J.iX,J.iY,J.AO,ZC.PL(J.AL),ZC.PL(J.AZ),false);break;default:if(ZC.AG(["square","plus"],J.DY)!=-1){J.L5=true}ZC.C8.contour(K,J,J.C);if(ZC.AG(["square","plus"],J.DY)!=-1){J.L5=false}break}J.FX=Q;J.IV();K.globalCompositeOperation=J.VM;if(J.BY!=""&&ZC.AG(ZC.IMG404,J.BY)==-1){K.fill();K.save();K.clip();var C=K.globalAlpha;K.globalAlpha=J.BC;var X=J.NG();var M=X.image;switch(J.JW){case"repeat":case true:case"true":var H=J.DN[0]-(M.width-(J.DN[2]-J.DN[0]))/2,I=J.DN[1]-(M.height-(J.DN[3]-J.DN[1]))/2;K.translate(H,I);var R=K.createPattern(M,"repeat");K.fillStyle=R;K.fill();K.translate(-H,-I);break;case"no-repeat":case false:case"false":K.drawImage(M,X.x-J.C1,X.y-J.BW,J.H[ZC._[67]],J.H[ZC._[68]]);break}K.globalAlpha=C;K.restore()}else{K.fill()}K.closePath();K.beginPath();switch(J.DY){case"circle":case"arc":K.arc(J.iX,J.iY,J.AO,ZC.PL(J.AL),ZC.PL(J.AZ),false);if(J.AA>0){K.stroke()}K.closePath();break;case"plus":case"cross":case"line":if(J.AM>0){ZC.C8.setup(K,J);ZC.C8.paint(K,J,J.C)}break;case"pie":default:if(J.AA>0){var P=J.AW;var A=J.AM;J.AW=J.BA;J.AM=J.AA;J.IV();ZC.C8.setup(K,J);ZC.C8.paint(K,J,J.C,true);J.AW=P;J.AM=A;J.IV()}K.closePath();break}K.restore()},X8:function(o){var l=this;var p=o.info;var m=p.image;switch(l.JW){case"repeat":case"true":case true:default:var n=l.N==""?"pattern-"+ZC.SEQ++:l.N+"-pattern";ZC.L.F6(n);var r=ZC.L.E8("pattern",ZC._[36]);ZC.L.F2(r,{x:o.x,y:o.y,width:m.width,height:m.height,id:n,patternUnits:"userSpaceOnUse"});l.G.JK.childNodes[0].appendChild(r);var q=ZC.L.E8("image",ZC._[36]);if(q.setAttributeNS){q.setAttributeNS(ZC._[37],"href",l.BY)}else{q.setAttribute("src",l.BY)}ZC.L.F2(q,{width:m.width,height:m.height});r.appendChild(q);l.H.imgfill="url(#"+n+")";break;case"no-repeat":case"false":case false:l.H.imgfill=[m,p.x,p.y];break}},S7:function(s){if(s==null){s=false}var N=this;if(N.W!=N.A5||N.FD!=""&&N.FU!=""){var A=N.N==""?"gradient-"+ZC.SEQ++:N.N+"-gradient";if(s&&ZC.AH(A)==null){s=false}if(ZC.A2.browser.msie&&ZC._i_(ZC.A2.browser.version)==9){s=false}if(ZC.AH(A)!=null&&!s){ZC.L.F6(A)}var H=N.T8(N.L6);if(N.L6=="radial"){var S=s?ZC.AH(A):ZC.L.E8("radialGradient",ZC._[36]);ZC.L.F2(S,{cx:ZC._i_(H.cx),cy:ZC._i_(H.cy),r:ZC._i_(H.r),fx:ZC._i_(H.cx),fy:ZC._i_(H.cy)})}else{if(N.L6=="linear"){var S=s?ZC.AH(A):ZC.L.E8("linearGradient",ZC._[36]);ZC.L.F2(S,{x1:ZC._i_(H.x1),x2:ZC._i_(H.x2),y1:ZC._i_(H.y1),y2:ZC._i_(H.y2)})}}if(!s){ZC.L.F2(S,{id:A,gradientUnits:"userSpaceOnUse"});N.G.JK.childNodes[0].appendChild(S);if(N.FD!=""&&N.FU!=""){var I=N.FD.split(/\s+|;|,/);var C=N.FU.split(/\s+|;|,/);for(var G=0,R=I.length;G<R;G++){I[G]=ZC.AQ.GD(I[G]);var D=I[G]==-1?ZC._[32]:N.BC==1?I[G]:ZC.AQ.VT(I[G],N.BC);var z=C[G]||1;if(!ZC.EO(z,0,1)){z=1}var P=1;var D=I[G];if(I[G]==-1){P=0;D=ZC._[33]}var O=ZC.L.E8("stop",ZC._[36]);ZC.L.F2(O,{offset:z,"stop-color":D,"stop-opacity":P});S.appendChild(O)}}else{var K=1;var Q=N.W;if(N.W==-1){K=0;Q=ZC._[33]}var J=ZC.L.E8("stop",ZC._[36]);ZC.L.F2(J,{offset:0,"stop-color":Q,"stop-opacity":K});var L=1;var y=N.A5;if(N.A5==-1){L=0;y=ZC._[33]}var M=ZC.L.E8("stop",ZC._[36]);ZC.L.F2(M,{offset:1,"stop-color":y,"stop-opacity":L});S.appendChild(J);S.appendChild(M)}N.H.fill="url(#"+A+")"}}else{if(N.W!=-1){N.H.fill=N.W}}},XU:function(){var n=this;if(typeof n.H.imgfill=="object"&&typeof n.G!=ZC._[31]&&n.G){var o=n.A4J();var m=o[1].split(",");if(m.length>6){var h="";for(var p=0,l=m.length;p<l;p+=2){h+=ZC._i_(m[p])+ZC._i_(n.C1)+","+(ZC._i_(m[p+1])+ZC._i_(n.BW))+" "}n.G.JK.appendChild(ZC.L.X9({id:n.N+"_image-clip",path:h}));n.H["clip-path"]=n.N+"_image-clip"}}},T9:function(){var q=this,r;var A=q.A0;if(q.DY=="poly"){var x=q.DN[0]+(q.DN[2]-q.DN[0])/2;var y=q.DN[1]+(q.DN[3]-q.DN[1])/2}else{var x=q.iX;var y=q.iY}q.H.cx=x;q.H.cy=y;q.H.fill=-1;if(q.BY!=""){var C=q.NG();q.X8({info:C,x:x-C.image.width/2,y:y-C.image.height/2})}q.XU();q.S7();switch(q.DY){case"custom":if((r=q.o.url)!=null){if(ZC.cache.data[r]){var z=ZC.cache.data[r]}else{var z=new Image();z.src=r;ZC.cache.data[r]=z}var s=ZC.L.E8("image",ZC._[36]);if(s.setAttributeNS){s.setAttributeNS(ZC._[37],"href",r)}else{s.setAttribute("src",r)}ZC.L.F2(s,{id:q.N+"-image",x:q.iX-z.width/2+q.C1,y:q.iY-z.height/2+q.BW,width:z.width,height:z.height});A.appendChild(s)}break;case"circle":if(ZC.AH(q.N+"-circle")==null){var t=ZC.L.E8("circle",ZC._[36]);if(q.H.fill!=-1){ZC.L.F2(t,{fill:q.H.fill,"fill-opacity":q.BC})}else{ZC.L.F2(t,{fill:"none"})}ZC.L.F2(t,{id:q.N+"-circle",cx:q.iX+q.C1,cy:q.iY+q.BW,r:q.AO});if(q.AA>0){ZC.L.F2(t,{stroke:q.BA,"stroke-width":q.AA,"stroke-opacity":q.BC})}if(q.G&&q.G.FH){if(q.G.FH[A.id]==null){q.G.FH[A.id]=document.createDocumentFragment()}q.G.FH[A.id].appendChild(t)}else{A.appendChild(t)}if(typeof q.H.imgfill!=ZC._[31]){if(typeof q.H.imgfill=="string"){var t=ZC.L.E8("circle",ZC._[36]);ZC.L.F2(t,{id:q.N+"-imgfill",fill:q.H.imgfill,"fill-opacity":q.BC,cx:q.iX+q.C1,cy:q.iY+q.BW,r:q.AO,"stroke-width":0});A.appendChild(t)}else{var u=q.H.imgfill;var s=ZC.L.E8("image",ZC._[36]);if(s.setAttributeNS){s.setAttributeNS(ZC._[37],"href",q.BY)}if(q.H["clip-path"]!=null){ZC.L.F2(s,{"clip-path":"url(#"+q.H["clip-path"]+")"})}ZC.L.F2(s,{id:q.N+"-imgfill",x:u[1],y:u[2],width:u[0].width,height:u[0].height});A.appendChild(s)}}}break;case"plus":case"cross":case"line":if(q.AM>0){ZC.C8.setup(A,q);ZC.C8.paint(A,q,q.C)}break;case"pie":case"arc":default:var w=q.AW;var v=q.AM;q.AW=q.BA;q.AM=q.AA;q.IV();ZC.C8.setup(A,q);ZC.C8.paint(A,q,q.C,true,0);q.AW=w;q.AM=v;q.IV();break}},S5:function(s,y){if(y==null){y=false}var M=this;if(M.W!=M.A5||M.FD!=""&&M.FU!=""){var A=M.N==""?"gradient-"+ZC.SEQ++:M.N+"-gradient";if(y&&ZC.AH(A)==null){y=false}if(ZC.AH(A)!=null&&!y){ZC.A2(A).remove()}var N=y?ZC.AH(A):ZC.L.E8("zcv:fill");if(y){s=ZC.A2("#"+A).attr("focusposition")}if(M.FD!=""&&M.FU!=""){var K=M.FD.split(/\s+|;|,/);var D=M.FU.split(/\s+|;|,/);var C="",G="",O="";for(var I=0,Q=K.length;I<Q;I++){K[I]=ZC.AQ.GD(K[I]);var H=K[I]==-1?ZC._[33]:K[I];var z=D[I]||1;if(!ZC.EO(z,0,1)){z=1}var J=ZC._i_(z*100);if(I==0){C=H}else{if(I==Q-1){G=H}else{O+=J+"% "+ZC.AQ.GD(H)+","}}}if(O!=""){O=O.substring(0,O.length-1)}if(M.L6=="radial"){ZC.L.F2(N,{id:A,type:"gradientradial",focusposition:s,color:C,color2:G,colors:O})}else{if(M.L6=="linear"){ZC.L.F2(N,{id:A,type:"gradient",method:"sigma",angle:270-M.JV-M.A6,color:C,color2:G,colors:O})}}}else{var P=M.W;if(M.W==-1){P=ZC._[33]}var x=M.A5;if(M.A5==-1){x=ZC._[33]}if(M.L6=="radial"){ZC.L.F2(N,{id:A,type:"gradientradial",focusposition:s,color:x,color2:P})}else{if(M.L6=="linear"){ZC.L.F2(N,{id:A,type:"gradient",method:"sigma",angle:270-M.JV-M.A6,color:P,color2:x})}}}var L=typeof M.H.opacity2!=ZC._[31]?M.H.opacity2:M.BC;ZC.L.F2(N,{opacity:M.BC,"o:opacity2":L});M.H.fill=N}else{var N=ZC.L.E8("zcv:fill");if(M.W!=-1){ZC.L.F2(N,{type:"solid",color:M.W,opacity:M.BC});M.H.fill=N}}},T7:function(){var r=this,s;var D=r.A0;if(r.DY=="poly"){var z=r.DN[0]+(r.DN[2]-r.DN[0])/2;var A=r.DN[1]+(r.DN[3]-r.DN[1])/2}else{var z=r.iX;var A=r.iY}r.H.cx=z;r.H.cy=A;r.H.fill=-1;var y=ZC.L.E8("zcv:fill");if(r.BY!=""){var G=r.NG();var C=G.image;switch(r.JW){case"repeat":case"true":case true:default:y.type="tile";y.src=r.BY;ZC.L.F2(y,{position:G.cx+","+G.cy,opacity:r.BC,"o:opacity2":r.BC});r.H.imgfill=[y];break;case"no-repeat":case"false":case false:r.H.imgfill=[C,G.x,G.y];break}}r.S5("0,0");var x=ZC.L.E8("zcv:stroke");switch(r.DY){case"custom":if((s=r.o.url)!=null){if(ZC.cache.data[s]){var C=ZC.cache.data[s]}else{var C=new Image();C.src=s;ZC.cache.data[s]=C}J2=ZC.L.E8("img");J2.id=r.N+"-img";J2.src=s;J2.style.position="absolute";J2.style.left=r.iX-C.width/2+r.C1+"px";J2.style.top=r.iY-C.height/2+r.BW+"px";D.appendChild(J2)}break;case"plus":case"cross":case"line":x.weight=r.AM+"px";x.color=r.AW;break;default:x.weight=r.AA+"px";x.color=r.BA;break}x.opacity=r.BC;switch(r.FX){case"solid":x.dashstyle="solid";break;case"dotted":x.dashstyle="dot";break;case"dashed":x.dashstyle="dash";break}if(ZC.AG(["plus","cross","line"],r.DY)==-1){r.H.stroke=x}switch(r.DY){case"circle":case"arc":if(ZC.AH(r.N+"-circle")==null){var t=ZC.L.E8(r.DY=="circle"?"zcv:oval":"zcv:arc");t.id=r.N+"-circle";t.style.position="absolute";if(r.H.fill!=-1){t.appendChild(r.H.fill)}else{t.filled=false}if(r.AA>0){t.appendChild(x)}else{t.stroked=false}t.style.left=r.iX+r.C1-r.AO+"px";t.style.top=r.iY+r.BW-r.AO+"px";t.style.width=2*r.AO+"px";t.style.height=2*r.AO+"px";if(r.DY=="arc"){ZC.L.F2(t,{startangle:r.AZ+90,endangle:r.AL+90})}D.appendChild(t);if(typeof r.H.imgfill!=ZC._[31]){var u=r.H.imgfill;if(u.length==1){var t=ZC.L.E8("zcv:oval");t.id=r.N+"-imgfill";t.style.position="absolute";D.appendChild(t);t.appendChild(u[0]);t.style.left=r.iX+r.C1-r.AO+"px";t.style.top=r.iY+r.BW-r.AO+"px";t.style.width=2*r.AO+"px";t.style.height=2*r.AO+"px";if(r.DY=="arc"){ZC.L.F2(t,{startangle:r.AZ+90,endangle:r.AL+90})}}else{if(u.length==3){J2=ZC.L.E8("img");J2.id=r.N+"-img";J2.src=r.BY;J2.style.position="absolute";J2.style.left=u[1]+"px";J2.style.top=u[2]+"px";D.appendChild(J2)}}}}break;case"plus":case"cross":case"line":if(r.AM>0){ZC.C8.setup(D,r);ZC.C8.paint(D,r,r.C)}break;case"pie":default:var w=r.AW;var v=r.AM;r.AW=r.BA;r.AM=r.AA;r.IV();ZC.C8.setup(D,r);ZC.C8.paint(D,r,r.C,true,0);r.AW=w;r.AM=v;r.IV();break}}});ZC.HC=ZC.DA.BF({$i:function(e){var c=this;c.b(e);c.DY="box";c.I=0;c.F=0;c.A2O="";c.CP=-1;c.CT=-1;c.CO=-1;c.CW=-1;c.EX=0;c.EN=0;c.E2=0;c.EA=0;c.A1H=false;c.J0=false;c.FT="bottom";c.HE=0;c.JD=0;c.HW=8;c.HF=8;c.DK=null;c.MF=false;c.L5=true;c.OR="";c.MV="";c.MA="";c.NR="";c.ZS="tl"},getPMap:function(){var b=this.b();this.addPMap(b,"width,height,borderRadiusTopLeft,borderRadiusTopRight,borderRadiusBottomRight,borderRadiusBottomLeft,callout,calloutPosition,calloutHook,calloutWidth,calloutHeight,calloutOffset,calloutExtension,position,borderTop,borderRight,borderBottom,borderLeft","I,F,EX,EN,E2,EA,J0,FT,DK,HW,HF,HE,JD,A2O,OR,MV,MA,NR");return b},build:function(){},wh_:function(h,l){var g=this;l=l||"w";if(ZC._f_(h)+""==h+""){var m=typeof g.H["p-width"]!=ZC._[31]?g.H["p-width"]:g.A.I;var n=typeof g.H["p-height"]!=ZC._[31]?g.H["p-height"]:g.A.F;h=ZC._a_(h);if(h>1){return ZC._i_(h)}else{if(h<=1){if(l=="w"){return ZC._i_(m*h)}else{return ZC._i_(n*h)}}}}else{h=h+"";if(h.indexOf("%")!=-1){return g.wh_(ZC._f_(h.replace("%",""))/100,l)}else{if(h.indexOf("px")!=-1){return g.wh_(ZC._f_(h.replace("px","")),l)}else{return g.wh_(ZC._f_(h),l)}}}},m_:function(v,r,o,t,p){var m=this;o=o||0;t=t||0;r=r||"all";p=p||"n";if(r=="all"){var q=String(v).split(/\s+|;|,/);if(q.length==1){return[m.m_(q[0],"tb",o,t,p),m.m_(q[0],"lr",o,t,p),m.m_(q[0],"tb",o,t,p),m.m_(q[0],"lr",o,t,p)]}else{if(q.length==2){return[m.m_(q[0],"tb",o,t,p),m.m_(q[1],"lr",o,t,p),m.m_(q[0],"tb",o,t,p),m.m_(q[1],"lr",o,t,p)]}else{if(q.length==3){return[m.m_(q[0],"tb",o,t,p),m.m_(q[1],"lr",o,t,p),m.m_(q[2],"tb",o,t,p),m.m_(q[1],"lr",o,t,p)]}else{return[m.m_(q[0],"tb",o,t,p),m.m_(q[1],"lr",o,t,p),m.m_(q[2],"tb",o,t,p),m.m_(q[3],"lr",o,t,p)]}}}}else{if(v+""=="auto"){return -2}if(v+""=="dynamic"&&p=="y"){return"dynamic"}if(ZC._f_(v)+""==v+""){if(m.A||typeof m.H["p-width"]!=ZC._[31]){var u=typeof m.H["p-width"]!=ZC._[31]?m.H["p-width"]:m.A.I;var s=typeof m.H["p-height"]!=ZC._[31]?m.H["p-height"]:m.A.F}v=ZC._a_(v);if(v>=1){return ZC._i_(v)}else{if(v<1){if(r=="lr"){return ZC._i_((m.A?u:o)*v)}else{return ZC._i_((m.A?s:t)*v)}}}}else{v=v+"";if(v.indexOf("%")!=-1){return m.m_(ZC._f_(v.replace("%",""))/100,r)}else{if(v.indexOf("px")!=-1){return m.m_(ZC._f_(v.replace("px","")),r)}else{return m.m_(ZC._f_(v),r)}}}}},copy:function(l){var m=this;m.b(l);var g=new String("I,F,EX,EN,E2,EA,J0,FT,DK,HW,HF,HE,JD,A2O,OR,MV,MA,NR").split(",");for(var n=0,h=g.length;n<h;n++){if(typeof l[g[n]]!=ZC._[31]){m[g[n]]=l[g[n]]}}},locate:function(Y){var h=this,m,N;Y=Y||1;if(Y==2){return}if(h.RA){h.XK_a([["x","iX"],["y","iY"],[ZC._[19],"I"],[ZC._[20],"F"]]);return}var M=typeof h.H["p-x"]!=ZC._[31]?h.H["p-x"]:h.A.iX;var P=typeof h.H["p-y"]!=ZC._[31]?h.H["p-y"]:h.A.iY;var U=typeof h.H["p-width"]!=ZC._[31]?h.H["p-width"]:h.A.I;var X=typeof h.H["p-height"]!=ZC._[31]?h.H["p-height"]:h.A.F;if(!h.MF){var Q=0,W=0,Z=0,aa=0;if(h.o.margin!=null){var R=""+h.o.margin;if(R.indexOf("dynamic")!=-1){var K=h.m_(R,"all",0,0,"y");if(K[0]=="dynamic"){h.H["d-margin-top"]=h.H["d-margin"]=true}if(K[1]=="dynamic"){h.H["d-margin-right"]=h.H["d-margin"]=true}if(K[2]=="dynamic"){h.H["d-margin-bottom"]=h.H["d-margin"]=true}if(K[3]=="dynamic"){h.H["d-margin-left"]=h.H["d-margin"]=true}h.o.margin=R.replace(/dynamic/g,"20")}}if(h.o.margin=="dynamic"){h.H["d-margin"]=h.H["d-margin-top"]=h.H["d-margin-right"]=h.H["d-margin-bottom"]=h.H["d-margin-left"]=true;h.o.margin=null}if(typeof h.H["force-margins"]!=ZC._[31]&&(h.o["adjust-layout"]==null||!ZC._b_(h.o["adjust-layout"]))){if(h.o[ZC._[57]]!=null&&h.o[ZC._[59]]==null){h.o[ZC._[59]]="auto"}if(h.o[ZC._[59]]!=null&&h.o[ZC._[57]]==null){h.o[ZC._[57]]="auto"}if(h.o[ZC._[60]]!=null&&h.o[ZC._[58]]==null){h.o[ZC._[58]]="auto"}if(h.o[ZC._[58]]!=null&&h.o[ZC._[60]]==null){h.o[ZC._[60]]="auto"}}var S=[ZC._[57],ZC._[58],ZC._[59],ZC._[60]];for(var J=0,ac=S.length;J<ac;J++){if(h.o[S[J]]=="dynamic"){h.H["d-"+S[J]]=h.H["d-margin"]=true;h.o[S[J]]=null}}if((m=h.o.margin)!=null){N=h.m_(m,"all");if(h.o[ZC._[57]]==null){Q=N[0]}if(h.o[ZC._[58]]==null){W=N[1]}if(h.o[ZC._[59]]==null){Z=N[2]}if(h.o[ZC._[60]]==null){aa=N[3]}}if((m=h.o[ZC._[57]])!=null){N=h.m_(m,"tb");Q=N}if((m=h.o[ZC._[58]])!=null){N=h.m_(m,"lr");W=N}if((m=h.o[ZC._[59]])!=null){N=h.m_(m,"tb");Z=N}if((m=h.o[ZC._[60]])!=null){N=h.m_(m,"lr");aa=N}var v=[Q,W,Z,aa];if(h.o.x!=null){h.iX=h.xy_(h.o.x,"x")}if(h.o.y!=null){h.iY=h.xy_(h.o.y,"y")}if((m=h.o[ZC._[19]])!=null){var s=ZC._p_(m);if(s>1){h.I=ZC._i_(s)}else{if(aa==-2&&W==-2){h.I=ZC._i_(U*s)}else{if(aa==-2&&W!=-2){h.I=ZC._i_((U-W)*s)}else{if(aa!=-2&&W==-2){h.I=ZC._i_((U-aa)*s)}else{h.I=ZC._i_((U-aa-W)*s)}}}}if(h.iX!=-1){h.CW=h.iX-M;h.CT=M+U-h.CW-h.I}else{if(aa==-2&&W==-2){h.CW=h.CT=(U-h.I)/2;h.iX=M+h.CW}else{if(aa==-2&&W!=-2){h.CT=W;h.CW=U-h.CT-h.I;h.iX=M+h.CW}else{h.CW=aa;h.iX=M+h.CW;if(h instanceof ZC.D2){h.CT=W}else{h.CT=U-h.CW-h.I}}}}}else{if(h.iX!=-1){h.CW=h.iX-M;if(W==-2){h.CT=0}else{h.CT=W}h.I=U-h.CW-h.CT}else{if(aa==-2&&W==-2){h.CW=h.CT=0;h.iX=M+h.CW;h.I=U-h.CW-h.CT}else{if(aa==-2&&W!=-2){h.CT=W;h.CW=0;h.iX=M+h.CW;h.I=U-h.CW-h.CT}else{if(aa!=-2&&W==-2){h.CW=aa;if(h instanceof ZC.D2){h.CT=W}else{h.CT=0}h.iX=M+h.CW;h.I=U-h.CW-h.CT}else{h.CW=aa;h.CT=W;h.iX=M+h.CW;h.I=U-h.CW-h.CT}}}}}if((m=h.o[ZC._[20]])!=null){var ab=ZC._p_(m);if(ab>1){h.F=ZC._i_(ab)}else{if(Q==-2&&Z==-2){h.F=ZC._i_(X*ab)}else{if(Q==-2&&Z!=-2){h.F=ZC._i_((X-Z)*ab)}else{if(Q!=-2&&Z==-2){h.F=ZC._i_((X-Q)*ab)}else{h.F=ZC._i_((X-Q-Z)*ab)}}}}if(h.iY!=-1){h.CP=h.iY-P;h.CO=P+X-h.CP-h.F}else{if(Q==-2&&Z==-2){h.CP=h.CO=(X-h.F)/2;h.iY=P+h.CP}else{if(Q==-2&&Z!=-2){h.CO=Z;h.CP=X-h.CO-h.F;h.iY=P+h.CP}else{h.CP=Q;h.iY=P+h.CP;if(h instanceof ZC.D2){h.CO=Z}else{h.CO=X-h.CP-h.F}}}}}else{if(h.iY!=-1){h.CP=h.iY-P;if(Z==-2){h.CO=0}else{h.CO=Z}h.F=X-h.CP-h.CO}else{if(Q==-2&&Q==-2){h.CP=h.CP=0;h.iY=P+h.CP;h.F=X-h.CP-h.CO}else{if(Q==-2&&Z!=-2){h.CO=Z;h.CP=0;h.iY=P+h.CP;h.F=X-h.CP-h.CO}else{if(Q==-2&&Z!=-2){h.CP=Q;if(h instanceof ZC.D2){h.CO=Z}else{h.CO=0}h.iY=P+h.CP;h.F=X-h.CP-h.CO}else{h.CP=Q;h.CO=Z;h.iY=P+h.CP;h.F=X-h.CP-h.CO}}}}}if((m=h.o.position)!=null){if(h.A&&typeof h.A.iX!=ZC._[31]&&typeof h.A.iY!=ZC._[31]&&typeof h.A.I!=ZC._[31]&&typeof h.A.F!=ZC._[31]){var p=0,L=0,O=String(m).split(/\s+/);switch(O[0]){case"left":p=0;break;case"right":p=1;break;case"center":p=0.5;break;default:p=ZC.P4(O[0]);if(p>1){p=p/h.A.I}break}switch(O[1]){case"top":L=0;break;case"bottom":L=1;break;case"middle":L=0.5;break;default:L=ZC.P4(O[1]);if(L>1){L=L/h.A.F}break}}h.H["position-info"]=[p,L];h.iX=h.A.iX+ZC._i_(p*(h.A.I-h.I-v[1]-v[3]))+v[3];h.iY=h.A.iY+ZC._i_(L*(h.A.F-h.F-v[0]-v[2]))+v[0]}h.DN=[h.iX,h.iY,h.iX+h.I,h.iY+h.F]}},parse:function(){var e=this,g;e.b();e.XK_a([["center-ref","A1H","b"],["callout","J0","b"],["callout-position","FT"],["callout-hook","DK"],["callout-width","HW","i"],["callout-height","HF","i"],["callout-offset","HE","i"],["callout-extension","JD","i"],["border-top","OR"],["border-right","MV"],["border-bottom","MA"],["border-left","NR"]]);if((g=e.o["border-radius"])!=null){var f=String(g).split(/\s+|;|,/);if(f.length==2){e.EX=e.EN=ZC._i_(f[0]);e.E2=e.EA=ZC._i_(f[1])}else{if(f.length==4){e.EX=ZC._i_(f[0]);e.EN=ZC._i_(f[1]);e.E2=ZC._i_(f[2]);e.EA=ZC._i_(f[3])}else{e.EX=e.EN=e.E2=e.EA=ZC._i_(f[0])}}}e.XK_a([["border-radius-top-left","EX","i"],["border-radius-top-right","EN","i"],["border-radius-bottom-right","E2","i"],["border-radius-bottom-left","EA","i"]])},paint:function(){var s=this;if(s.DK!=null&&!(s.DK instanceof Array)){if(s.A.ME=="zcgraph"){var y=s.A.VL(s.DK);s.DK=[y[0],y[1]]}}if(s.A1H){s.iX-=s.I/2;s.iY-=s.F/2}if((s.BA==-1||s.AA==0)&&s.OR+s.MV+s.MA+s.NR==""&&s.W==-1&&s.A5==-1&&s.BY==""&&s.FD==""&&s.FU==""){return}var t=s.G.A8;if(s.LC&&s.BZ!=null){s.A3K()}function G(b){var a=b.split(/\s/);a[0]=ZC._i_(a[0]);a[2]=ZC.AQ.GD(a[2]);return a}if(s.OR+s.MV+s.MA+s.NR==""){switch(t){case"canvas":s.W4();break;case"svg":s.T9();break;case"vml":s.T7();break}}else{var I=s.AA;var v=s.BA;var z=s.FX;s.AA=0;switch(t){case"canvas":s.W4();break;case"svg":s.T9();break;case"vml":s.T7();break}var H=s.W;var x=s.A5;s.W=s.A5=-1;var w=["top","right","bottom","left"],D=["OR","MV","MA","NR"],A;for(var C=0;C<w.length;C++){if((A=s[D[C]])!=""){var u=G(A);s.AA=u[0];s.FX=u[1];s.BA=u[2]}switch(t){case"canvas":s.W4(w[C]);break;case"svg":s.T9(w[C]);break;case"vml":s.T7(w[C]);break}s.AA=I;s.BA=v;s.FX=z}s.W=H;s.A5=x}},A3K:function(){var h=this;var l=zingchart.pool.getInstance("HC",h.A,h.N+"-sh");l.copy(h);l.A0=h.BZ;l.LC=false;l.OR=l.MV=l.MA=l.NR="";l.W=l.A5=l.NV;l.FD=l.FU="";l.BY="";l.AA=1;l.BA=l.NV;l.AM=0;var f=h.H9*ZC.DG(h.M3);var g=h.H9*ZC.DD(h.M3);l.I=h.I+(h.G.A8=="vml"?0:0.5)-ZC.DG(h.M3)*h.LI/2;l.F=h.F+(h.G.A8=="vml"?0:0.5)-ZC.DD(h.M3)*h.LI/2;l.BC=l.P8*h.BC;l.N=h.N+"-sh";l.iX=h.iX+ZC._i_(f);l.iY=h.iY+ZC._i_(g);l.paint()},T8:function(G){var M=this;var N=M.iX;var O=M.iY;var H=N+M.I/2;var I=O+M.F/2;var C=M.RD,D=M.RG;if(ZC._a_(C)<=1){C=C*M.I/2}if(ZC._a_(D)<=1){D=D*M.F/2}H+=C;I+=D;if(G=="radial"){var z=ZC._i_((M.I+M.F)/2);var w=ZC.DI(M.I,M.F);var s=w<z/4?(w+z)/2:w;return{cx:H,cy:I,r:ZC._a_(s)}}else{if(G=="linear"){if(M.I>=M.F){s=ZC._a_(ZC.DD(M.JV))>0.5?M.F/2:M.I/2}else{s=ZC._a_(ZC.DG(M.JV))>0.5?M.I/2:M.F/2}var x=s*ZC.DG(M.JV),J=s*ZC.DD(M.JV);var K=H-x;var L=H+x;var y=I-J;var A=I+J;return{x1:K,y1:y,x2:L,y2:A}}}},RP:function(A){var I=this,J;if(typeof A==ZC._[31]){A="all"}var C=I.iX;var G=I.iY;var s,M;I.C=[];s=M=I.AA/2;var K=1;switch(I.G.A8){case"vml":K=2;if(I.AA%2==1){s=ZC._i_((I.AA-1)/2);M=ZC._i_((I.AA+1)/2)}break}var z=C+s,y=C-M;var Q=G+s,O=G-M;var P=I.DK!=null&&I.DK.length==2;var N=ZC._i_(I.HE*(I.I-I.HW)/100);var D=I.EX!=0||I.EN!=0||I.E2!=0||I.EA!=0;if(!D){if(A=="top"||A=="all"){I.C.push([z,Q]);if(I.J0&&I.FT=="top"){I.C.push([z+I.I/2-I.HW/2-I.AA/2+N,Q]);if(P){I.C.push([I.DK[0],I.DK[1]])}else{I.C.push([z+I.I/2-I.AA/2+N,Q-I.HF])}if(I.JD>0){var x=I.C[I.C.length-1];I.C.push([x[0],x[1]-I.JD]);I.C.push([x[0],x[1]])}I.C.push([z+I.I/2+I.HW/2-I.AA/2+N,Q])}if(A=="top"){I.C.push([y+I.I,Q])}}if(A=="right"||A=="all"){I.C.push([y+I.I,Q]);if(I.J0&&I.FT=="right"){I.C.push([y+I.I,Q+I.F/2-I.AA/2-I.HF/2]);if(P){I.C.push([I.DK[0],I.DK[1]])}else{I.C.push([y+I.I+I.HW,Q+I.F/2-I.AA/2])}I.C.push([y+I.I,Q+I.F/2-I.AA/2+I.HF/2])}if(A=="right"){I.C.push([y+I.I,O+I.F])}}if(A=="bottom"||A=="all"){I.C.push([y+I.I,O+I.F]);if(I.J0&&I.FT=="bottom"){I.C.push([y+I.I/2+I.HW/2+I.AA/2+N,O+I.F]);if(P){I.C.push([I.DK[0],I.DK[1]])}else{I.C.push([y+I.I/2+I.AA/2+N,O+I.F+I.HF])}if(I.JD>0){var x=I.C[I.C.length-1];I.C.push([x[0],x[1]+I.JD]);I.C.push([x[0],x[1]])}I.C.push([y+I.I/2-I.HW/2+I.AA/2+N,O+I.F])}if(A=="bottom"){I.C.push([z,O+I.F])}}if(A=="left"||A=="all"){I.C.push([z,O+I.F]);if(I.J0&&I.FT=="left"){I.C.push([z,O+I.F/2+I.AA/2+I.HF/2]);if(P){I.C.push([I.DK[0],I.DK[1]])}else{I.C.push([z-I.HW,O+I.F/2+I.AA/2])}I.C.push([z,O+I.F/2+I.AA/2-I.HF/2])}I.C.push([z,Q]);I.C.push([z+0.1,Q])}}else{I.D5=false;var L;var H=ZC.DI(I.I/2,I.F/2);if(A=="top"||A=="all"){if(I.EX!=0){L=I.I/2>=I.EX&&I.F/2>=I.EX?ZC._a_(I.EX):H;I.C.push([z,Q+L]);if(I.EX>0){I.C.push([z,Q,z+K*L,Q])}I.C.push([z+L,Q])}else{I.C.push([z,Q])}if(I.J0&&I.FT=="top"){I.C.push([z+I.I/2-I.HW/2-I.AA/2+N,Q]);if(P){I.C.push([I.DK[0],I.DK[1]])}else{I.C.push([z+I.I/2-I.AA/2+N,Q-I.HF])}if(I.JD>0){var x=I.C[I.C.length-1];I.C.push([x[0],x[1]+I.JD]);I.C.push([x[0],x[1]])}I.C.push([z+I.I/2-I.AA/2+I.HW/2+N,Q])}if(A=="top"){if(I.EN!=0){L=I.I/2>=I.EN&&I.F/2>=I.EN?ZC._a_(I.EN):H;I.C.push([y+I.I-L,Q])}else{I.C.push([y+I.I,Q])}}}if(A=="right"||A=="all"){if(I.EN!=0){L=I.I/2>=I.EN&&I.F/2>=I.EN?ZC._a_(I.EN):H;I.C.push([y+I.I-L,Q]);if(I.EN>0){I.C.push([y+I.I,Q,y+I.I,Q+K*L])}else{I.C.push([y+I.I,Q+L])}}else{I.C.push([y+I.I,Q])}if(I.J0&&I.FT=="right"){I.C.push([y+I.I,Q+I.F/2-I.HF/2-I.AA/2]);if(P){I.C.push([I.DK[0],I.DK[1]])}else{I.C.push([y+I.I+I.HW,Q+I.F/2-I.AA/2])}I.C.push([y+I.I,Q+I.F/2+I.HF/2-I.AA/2])}if(A=="right"){if(I.E2!=0){L=I.I/2>=I.E2&&I.F/2>=I.E2?ZC._a_(I.E2):H;I.C.push([y+I.I,O+I.F-L])}else{I.C.push([y+I.I,O+I.F])}}}if(A=="bottom"||A=="all"){if(I.E2!=0){L=I.I/2>=I.E2&&I.F/2>=I.E2?ZC._a_(I.E2):H;I.C.push([y+I.I,O+I.F-L]);if(I.E2>0){I.C.push([y+I.I,O+I.F,y+I.I-K*L,O+I.F])}else{I.C.push([y+I.I-L,O+I.F])}}else{I.C.push([y+I.I,O+I.F])}if(I.J0&&I.FT=="bottom"){I.C.push([y+I.I/2+I.HW/2+I.AA/2+N,O+I.F]);if(P){I.C.push([I.DK[0],I.DK[1]])}else{I.C.push([y+I.I/2+I.AA/2+N,O+I.F+I.HF])}if(I.JD>0){var x=I.C[I.C.length-1];I.C.push([x[0],x[1]+I.JD]);I.C.push([x[0],x[1]])}I.C.push([y+I.I/2-I.HW/2+I.AA/2+N,O+I.F])}if(A=="bottom"){if(I.EA!=0){L=I.I/2>=I.EA&&I.F/2>=I.EA?ZC._a_(I.EA):H;I.C.push([z+L,O+I.F])}else{I.C.push([z,O+I.F])}}}if(A=="left"||A=="all"){if(I.EA!=0){L=I.I/2>=I.EA&&I.F/2>=I.EA?ZC._a_(I.EA):H;I.C.push([z+L,O+I.F]);if(I.EA>0){I.C.push([z,O+I.F,z,O+I.F-K*L])}else{I.C.push([z,O+I.F-L])}}else{I.C.push([z,O+I.F])}if(I.J0&&I.FT=="left"){I.C.push([z,O+I.F/2+I.HF/2+I.AA/2]);if(P){I.C.push([I.DK[0],I.DK[1]])}else{I.C.push([z-I.HW,O+I.F/2+I.AA/2])}I.C.push([z,O+I.F/2-I.HF/2+I.AA/2])}if(I.EX!=0){L=I.I/2>=I.EX&&I.F/2>=I.EX?ZC._a_(I.EX):H;I.C.push([z,Q+L])}else{I.C.push([z,Q]);I.C.push([z+0.1,Q])}}}},W4:function(C){C=C||"all";var J=this;var K=J.A0.getContext("2d");K.save();K.globalCompositeOperation=J.VM;var G=J.iX;var I=J.iY;var D=J.WA();var Q=D.bc;var P=D.bgc1;var s=D.bgc2;if(P!=s||J.FD!=""&&J.FU!=""){var A=J.T8(J.L6);if(J.L6=="radial"){var S=K.createRadialGradient(A.cx,A.cy,1,A.cx,A.cy,A.r)}else{if(J.L6=="linear"){A.x1=isNaN(A.x1)?0:A.x1;A.x2=isNaN(A.x2)?0:A.x2;A.y1=isNaN(A.y1)?0:A.y1;A.y2=isNaN(A.y2)?0:A.y2;var S=K.createLinearGradient(A.x1,A.y1,A.x2,A.y2)}}if(J.FD!=""&&J.FU!=""){J.U7(S)}else{S.addColorStop(0,P);S.addColorStop(1,s)}K.fillStyle=S}else{if(J.BY!=""&&ZC.AG(["repeat","true",true],J.JW)!=-1){if(J.W==-1&&J.A5==-1){P=ZC._[32]}}K.fillStyle=P}K.strokeStyle=Q;K.lineWidth=J.AA;K.translate(J.C1,J.BW);if(J.A6!=0){K.translate(G+J.I/2,I+J.F/2);K.rotate(ZC.PL(J.A6));K.translate(-(G+J.I/2),-(I+J.F/2))}K.beginPath();J.RP(C);var H=J.EX+J.EN+J.E2+J.EA!=0;var y=J.AM;J.AM=J.AA;var N=J.FX;J.FX="";J.IV();ZC.C8.contour(K,J,J.C);J.AM=y;J.FX=N;J.IV();if(J.BY!=""&&ZC.AG(ZC.IMG404,J.BY)==-1){K.fill();K.save();K.clip();var z=K.globalAlpha;K.globalAlpha=J.BC;var R=J.NG();var L=R.image;switch(J.JW){case"repeat":case"true":case true:default:K.translate(R.x,R.y);var O=K.createPattern(L,"repeat");K.fillStyle=O;K.fill();K.translate(-R.x,-R.y);break;case"no-repeat":case"false":case false:K.drawImage(L,R.x,R.y,J.H[ZC._[67]],J.H[ZC._[68]]);break}K.globalAlpha=z;K.restore()}else{K.fill()}if(J.AA>0){var M=J.AW;var y=J.AM;J.AW=J.BA;J.AM=J.AA;J.IV();ZC.C8.setup(K,J);J.P7=H?"round":"square";if(J.F8+J.H2>0){J.P7="butt"}J.UW=H?"round":"miter";ZC.C8.paint(K,J,J.C,true);J.AW=M;J.AM=y;J.IV()}K.closePath();K.restore()},T9:function(p){p=p||"all";var q=this;var r=q.A0;q.H.fill=-1;if(q.BY!=""&&ZC.AG(ZC.IMG404,q.BY)==-1){var o=q.NG();q.X8({info:o,x:o.x,y:o.y})}q.S7();q.RP(p);var m=q.EX+q.EN+q.E2+q.EA!=0;q.H.cx=q.iX+q.I/2;q.H.cy=q.iY+q.F/2;q.XU();var n=q.AW;var l=q.AM;q.AW=q.BA;q.AM=q.AA;q.IV();ZC.C8.setup(r,q);q.P7=m?"round":"square";if(q.F8+q.H2>0){q.P7="butt"}q.UW=m?"round":"miter";ZC.C8.paint(r,q,q.C,true);q.AW=n;q.AM=l;q.IV()},T7:function(p){p=p||"all";var o=this;var w=o.A0;var t=ZC.L.E8("zcv:fill");if(o.BY!=""&&ZC.AG(ZC.IMG404,o.BY)==-1){var x=o.NG();var v=x.image;switch(o.JW){case"repeat":case"true":case true:default:t.type="tile";t.src=o.BY;ZC.L.F2(t,{position:x.cx+","+x.cy,opacity:o.BC,"o:opacity2":o.BC});o.H.imgfill=[t];break;case"no-repeat":case"false":case false:o.H.imgfill=[v,x.x,x.y];break}}o.S5("0.5,0.5");var s=ZC.L.E8("zcv:stroke");s.weight=o.AA+"px";s.color=o.BA;s.opacity=o.BC;switch(o.FX){case"solid":s.dashstyle="solid";break;case"dotted":s.dashstyle="dot";break;case"dashed":s.dashstyle="dash";break}o.H.stroke=s;o.RP(p);var u=o.EX+o.EN+o.E2+o.EA!=0;o.H.cx=o.iX+o.I/2;o.H.cy=o.iY+o.F/2;var r=o.AW;var q=o.AM;o.AW=o.BA;o.AM=o.AA;o.IV();ZC.C8.setup(w,o);o.P7=u?"round":"square";if(o.F8+o.H2>0){o.P7="butt"}o.UW=u?"round":"miter";ZC.C8.paint(w,o,o.C,p=="all");o.AW=r;o.AM=q;o.IV()}});ZC.VV=ZC.DA.BF({$i:function(e){var c=this;c.b(e);c.VO=null;c.BG=null;c.K=null;c.OL=null;c.AK=null;c.JU=false;c.N6=false;c.HO=false;c.A0I=false},parse:function(){var e=this,c;if(e.VO.type=="rect"||e.VO.type=="rectangle"){e.BG=zingchart.pool.getInstance("HC",e.A,e.N+"-shape")}else{e.BG=zingchart.pool.getInstance("DA",e.A,e.N+"-shape")}e.BG.append(e.VO);e.BG.iX=e.iX;e.BG.iY=e.iY;e.BG.N=e.N+"-gshape";e.BG.N6=e.N6;if(!e.A0I&&(c=e.BG.o.points)!=null){e.BG.o.points=ZC.AQ.VZ(c,e.A.iX,e.A.iY);e.A0I=true}e.BG.parse();if((c=e.BG.o.label)!=null){e.K=new ZC.D2(e);e.K.append(c)}if((c=e.BG.o.tooltip)!=null){e.AK=new ZC.D2(e);e.AK.append(c);e.AK.parse()}if((c=e.BG.o["static"])!=null){e.JU=ZC._b_(c)}if((c=e.BG.o.flat)!=null){e.JU=ZC._b_(c)}if((c=e.BG.o.dynamic)!=null){e.HO=ZC._b_(c)}if((c=e.BG.o.connector)!=null){e.OL=new ZC.DA(e);e.OL.append(c);e.OL.parse()}},paint:function(){var n=this;n.BG.A0=n.A0;n.BG.BZ=n.BZ;n.BG.locate(2);n.BG.paint();if(n.K){n.K.A0=n.K.BZ=n.A0;n.K.HA=ZC.AH(n.A.A.N+"-text");n.K.N=n.A.N+"-shape-label-"+n.GI;n.K.F7=n.A.N+"-shape-label zc-shape-label";switch(n.DY){default:n.K.iX=n.iX;n.K.iY=n.iY;break;case"line":case"poly":case"rect":case"rectangle":n.K.iX=ZC._i_((n.BG.DN[0]+n.BG.DN[2])/2);n.K.iY=ZC._i_((n.BG.DN[1]+n.BG.DN[3])/2);break}n.K.parse();n.K.iX=n.K.iX-n.K.I/2+n.BG.C1;n.K.iY=n.K.iY-n.K.F/2+n.BG.C1;if(n.K.AP){if(n.OL!=null&&n.OL.C.length>0){var l=n.OL.C;var m=n.OL.o.anchor||"";var h=l[l.length-1];switch(m){case"l":n.K.iX=h[0]+n.BG.C1;n.K.iY=h[1]-n.K.F/2+n.BG.BW;break;case"r":n.K.iX=h[0]-n.K.I+n.BG.C1;n.K.iY=h[1]-n.K.F/2+n.BG.BW;break;case"t":n.K.iX=h[0]-n.K.I/2+n.BG.C1;n.K.iY=h[1]+n.BG.BW;break;case"b":n.K.iX=h[0]-n.K.I/2+n.BG.C1;n.K.iY=h[1]-n.K.F+n.BG.BW;break}var g=ZC.L.DF(ZC.AH(n.A.N+"-front-c"),n.A.G.A8);ZC.C8.setup(g,n.OL);ZC.C8.paint(g,n.OL,l)}n.K.paint();n.K.DR()}}}});ZC.D2=ZC.HC.BF({$i:function(e){var c=this;c.b(e);c.HA=null;c.F7="";c.AN=null;c.ON="center";c.MN="middle";c.EY=zingchart.FONTSIZE;c.HI=zingchart.FONTFAMILY;c.BO="#000";c.MQ=false;c.O6=false;c.MC=false;c.WN=0;c.FO=2;c.FA=2;c.G4=2;c.EL=2;c.A2Y=false;c.A2W=false;c.D9=0;c.DP=0;c.LX=ZC.MAX;c.A13=false;c.A09=1.65;c.S0=-1;c.TO=false;c.AK=null;c.Y8=false;c.YY=false},getPMap:function(){var b=this.b();this.addPMap(b,"textAlign,verticalAlign,fontSize,fontFamily,color,bold,italic,underline,paddingTop,paddingRight,paddingBottom,paddingLeft,text","ON,MN,EY,HI,BO,MQ,O6,MC,FO,FA,G4,EL,AN");return b},copy:function(l){var m=this;m.b(l);var g=new String("ON,MN,EY,HI,BO,MQ,O6,MC,FO,FA,G4,EL,AN").split(",");for(var n=0,h=g.length;n<h;n++){if(typeof l[g[n]]!=ZC._[31]){m[g[n]]=l[g[n]]}}},KV:function(b){return b},cwidth:function(c){var e=this;if(e.A13){return c.length*e.EY/(e.A09*(e.MQ?0.87:1)*(e.O6?0.95:1))}else{return ZC.L.A70(this.G.N,c,this.HI,this.EY,this.MQ)}},parse:function(){var L=this,M;L.I=L.F=L.DP=L.D9=0;L.b();L.XK("text","AN");if(L.AN!=null){L.AN=L.KV(L.AN);L.AN=new String(L.AN).replace(/\n/g,"<br />");if(L.G.A8=="svg"){L.AN=new String(L.AN).replace(/&nbsp;/g," ")}}L.XK_a([["fast-width","A13","b"],["max-width","LX","i"],["width-ratio","A09","f"],["wrap-text","A2W","b"],["clip-text","A2Y","b"],["bold","MQ","b"],["italic","O6","b"],["underline","MC","b"],["text-align","ON"],["align","ON"],["anchor","ZS"],["vertical-align","MN"],["font-size","EY","i"],["max-chars","WN","i"],["font-family","HI"],["font-angle","A6","i"],["color","BO","c"],["font-color","BO","c"],["text-alpha","S0","f",0,1],["lock-rotation","Y8","b"]]);if((M=L.o["font-weight"])!=null){L.MQ=M=="bold"}if((M=L.o["text-decoration"])!=null){L.MC=M=="underline"}if((M=L.o["font-style"])!=null){L.O6=M=="italic"||M=="oblique"}if((M=L.o.padding)!=null){var w=String(M).split(/\s+|;|,/);if(w.length==1){var H=[ZC._i_(w[0]),ZC._i_(w[0]),ZC._i_(w[0]),ZC._i_(w[0])]}else{if(w.length==2){var H=[ZC._i_(w[0]),ZC._i_(w[1]),ZC._i_(w[0]),ZC._i_(w[1])]}else{if(w.length==3){var H=[ZC._i_(w[0]),ZC._i_(w[1]),ZC._i_(w[2]),ZC._i_(w[0])]}else{var H=[ZC._i_(w[0]),ZC._i_(w[1]),ZC._i_(w[2]),ZC._i_(w[3])]}}}L.FO=H[0];L.FA=H[1];L.G4=H[2];L.EL=H[3]}L.XK_a([["padding-top","FO","i"],["padding-right","FA","i"],["padding-bottom","G4","i"],["padding-left","EL","i"]]);if(L.AN!=null){if(L.WN>0&&L.AN.length>L.WN){L.AN=L.AN.substring(0,L.WN)+"..."}var y=new String(L.AN).split(/<br>|<br\/>|<br \/>|\n/);var K=y.length;L.D9=ZC._i_(K*1.25*L.EY)+L.FO+L.G4;for(var A=0,G=y.length;A<G;A++){L.DP=ZC.BT(L.DP,L.cwidth(y[A])+L.EL+L.FA)}}else{L.AN="";L.DP=ZC._i_(L.EY*1.25);L.D9=ZC._i_(L.EY*1.25)}if(L.o[ZC._[19]]==null||isNaN(L.I)){L.I=L.DP}if(L.o[ZC._[20]]==null||isNaN(L.F)){L.F=L.D9}L.I=ZC.DI(L.I,L.LX);if(L.A2W&&L.DP>L.I&&!L.H.wrapped){var p="",J=0;var I=L.AN.split(/\s/);for(var A=0,G=I.length;A<G;A++){var C=1+L.cwidth(I[A]+" ");J+=C;if(J>L.I*0.9){p+="<br>"+I[A]+" ";J=C}else{p+=I[A]+" "}}var z=L.o.text;L.o.text=p;L.H.wrapped=true;L.parse();L.o.text=z;L.H.wrapped=false}if((L.o[ZC._[19]]==null||L.o[ZC._[20]]==null)&&(L.o.position!=null||L.o.margin!=null||L.o[ZC._[57]]!=null||L.o[ZC._[58]]!=null||L.o[ZC._[59]]!=null||L.o[ZC._[60]]!=null)){L.iX=-1;L.iY=-1;var D=L.o[ZC._[19]];var s=L.o[ZC._[20]];if(D==null){L.o[ZC._[19]]=L.I}if(s==null){L.o[ZC._[20]]=L.F}L.locate();L.o[ZC._[19]]=D;L.o[ZC._[20]]=s}if(typeof L.o["html-mode"]==ZC._[31]||!L.o["html-mode"]){var x=Math.ceil((L.DP-L.EL-L.FA)/L.EY);if(x>0){L.AN=L.AN.replace(/<hr>/g,new Array(x).join("鈥?"))}}switch(L.ZS){case"tl":break;case"tr":L.iX-=L.I;break;case"bl":L.iY-=L.F;break;case"br":L.iX-=L.I;L.iY-=L.F;break;case"c":L.iX-=L.I/2;L.iY-=L.F/2;break;case"t":L.iX-=L.I/2;break;case"r":L.iX-=L.I;L.iY-=L.F/2;break;case"b":L.iX-=L.I/2;L.iY-=L.F;break;case"l":L.iY-=L.F/2;break}},paint:function(){var aR=this;var a7=aR.G.A8;var aw=ZC.L.DF(aR.A0,a7);if(!aR.TO){aR.b()}if(aR.YY){return}if(aR.I-aR.EL-aR.FA<2||aR.D9-aR.FO-aR.G4<2){return}var aQ=aR.A6%360==0?"0":"";if(aR.TO||zingchart.CANVASTEXT&&a7=="canvas"){aQ=""}if(ZC.vml&&a7=="svg"&&aR.F7==""){aR.F7=aR.N+"-class"}if(!aR.TO&&ZC.AH(aR.N)!=null){a7="_"}var aU=typeof aR.H["html-mode"]!=ZC._[31]&&aR.H["html-mode"];var aT=[aR.AN];if(!aU){aT=new String(aR.AN).split(/<br>|<br\/>|<br \/>|\n/)}var aZ=aR.HA==null?aR.A0.parentNode:aR.HA;switch(a7+aQ){case"canvas0":case"vml0":var t=0;switch(aR.MN){case"middle":t+=(aR.F-aR.D9)/2;break;case"bottom":t+=aR.F-aR.D9;break}var ba=ZC.L.IU({id:aR.N,cls:aR.F7,tl:ZC._x_(aR.iY+aR.BW)+"/"+ZC._x_(aR.iX+aR.C1),wh:aR.I+"/"+aR.F,position:"absolute",padding:0,margin:0,overflow:aU?"visible":"hidden",textAlign:aR.ON});if(aU){aZ.appendChild(ba)}ZC.L.IU({id:aR.N+"-t",cls:aR.F7!=""?aR.F7+"-t":"",p:ba,width:aR.I-aR.EL-aR.FA,height:aU?null:aR.D9-aR.FO-aR.G4,tl:t+"/0",html:aR.AN+"",position:"absolute",whiteSpace:"nowrap",opacity:aR.S0!=-1?aR.S0:aR.BC,color:aR.BO,fontWeight:aR.MQ?"bold":"normal",fontStyle:aR.O6?"oblique":"normal",textDecoration:aR.MC?"underline":"none",fontSize:aR.EY,fontFamily:aR.HI,marginTop:aR.FO,marginRight:aR.FA,marginBottom:aR.G4,marginLeft:aR.EL,verticalAlign:aR.MN,textAlign:aR.ON,lineHeight:"125%",padding:0});if(aU){if(aR.G&&aR.G.AK){var at=ZC.A2("#"+aR.N+"-t");if(a7=="canvas"){ZC.AH(aR.G.N+"-tooltip-c").width=at.width()+aR.EL+aR.FA;ZC.AH(aR.G.N+"-tooltip-c").height=at.height()+aR.FO+aR.G4}aR.G.AK.clear();aR.I=at.width()+aR.EL+aR.FA;aR.F=at.height()+aR.FO+aR.G4;aR.paint()}}break;case"canvas":var aM=false;if(ZC.A2.browser.opera&&aR.A6%90==0&&aR.A6!=0){aR.A6+=0.5;aM=true}var aw=aR.A0.getContext("2d");for(var aL=0,a3=aT.length;aL<a3;aL++){if(ZC.HM(aT[aL])!=""){if(a3==1){var aC=aR.DP}else{var aC=aR.cwidth(aT[aL])+aR.FA+aR.EL}aT[aL]=aT[aL].replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,"");var a9=0,t=0;switch(aR.ON){case"center":a9+=(aR.I-aC)/2;break;case"right":a9+=aR.I-aC;break}switch(aR.MN){case"middle":t+=(aR.F-aR.D9)/2;break;case"bottom":t+=aR.F-aR.D9;break}aw.save();aw.globalAlpha=aR.BC;aw.font=(aR.O6?"italic":"normal")+" normal "+(aR.MQ?"bold":"normal")+" "+aR.EY+"px "+aR.HI;aw.fillStyle=aR.BO;aw.textAlign="left";aw.textBaseline="alphabetic";aw.translate(aR.iX+aR.C1,aR.iY+aR.BW);aw.translate(aR.I/2,aR.F/2);aw.rotate(ZC.PL(aR.A6));aw.translate(-aR.I/2,-aR.F/2);aw.translate(aR.EL,aR.FO+aR.EY);aw.translate(a9,t);aw.fillText(aT[aL],0,aL*1.25*aR.EY);aw.restore()}}if(aM){aR.A6-=0.5}break;case"vml":var t=0;switch(aR.MN){case"top":t-=(aR.F-aR.D9)/2;break;case"bottom":t+=(aR.F-aR.D9)/2;break}var ar=ZC.L.E8("zcv:line");var aq=aR.iX+aR.C1+aR.I/2;var au=aR.iY+aR.BW+aR.F/2;var aE=ZC.DG(aR.A6)*(aR.I-aR.EL-aR.FA)/2;var ay=ZC.DD(aR.A6)*(aR.I-aR.EL-aR.FA)/2;var aX=ZC._i_(aq-aE-ZC.DG(90-aR.A6)*t);var ax=ZC._i_(au-ay+ZC.DD(90-aR.A6)*t);var a0=ZC._i_(aq+aE-ZC.DG(90-aR.A6)*t);var aA=ZC._i_(au+ay+ZC.DD(90-aR.A6)*t);if(aX==a0){aX-=0.01;a0+=0.01}if(ax==aA){ax-=0.01;aA+=0.01}var aG=aR.BO;if(aR.A6!=0){if(aR.BC<1){aG=ZC.AQ.NP(aG,(1-aR.BC)*99)}}ZC.L.F2(ar,{id:aR.N+"-line",from:aX+"px,"+ax+"px",to:a0+"px,"+aA+"px",fillcolor:aG});ar.filled=true;ar.stroked=false;var a1=ZC.L.E8("zcv:path");a1.setAttribute("textpathok",true);ar.appendChild(a1);var aD=ZC.L.E8("zcv:textpath");var aF=new String(aR.AN).replace(/<br>|<br\/>|<br \/>/gi,"\n").replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,"");ZC.L.F2(aD,{on:true,string:aF});ZC.L.P0(aD,{color:aG,fontWeight:aR.MQ?"bold":"normal",fontStyle:aR.O6?"oblique":"normal",textDecoration:aR.MC?"underline":"none",fontSize:aR.EY+"px",fontFamily:aR.HI,"v-text-align":aR.ON});ar.appendChild(aD);aw.appendChild(ar);break;case"svg":case"svg0":var ap=aR.iX+aR.EL+aR.C1;var aI=aR.iY+aR.FO+aR.BW;var ba=ZC.L.E8("text",ZC._[36]);ZC.L.F2(ba,{x:ZC._x_(ap),y:ZC._x_(aI),id:aR.N,"class":aR.F7,opacity:aR.S0!=-1?aR.S0:aR.BC});if(aR.A2Y){aR.G.JK.appendChild(ZC.L.X9({id:aR.N+"-clip",path:[[aR.iX+aR.EL+aR.AA+aR.C1,aR.iY+aR.FO+aR.AA+aR.BW].join(","),[aR.iX+aR.I-aR.FA-aR.AA+aR.C1,aR.iY+aR.FO+aR.AA+aR.BW].join(","),[aR.iX+aR.I-aR.FA-aR.AA+aR.C1,aR.iY+aR.F-aR.G4-aR.AA+aR.BW].join(","),[aR.iX+aR.EL+aR.AA+aR.C1,aR.iY+aR.F-aR.G4-aR.AA+aR.BW].join(","),[aR.iX+aR.EL+aR.AA+aR.C1,aR.iY+aR.FO+aR.AA+aR.BW].join(",")].join(" ")}));ZC.L.F2(ba,{"clip-path":"url(#"+aR.N+"-clip)"})}if(aR.A6%360!=0){ba.setAttribute("transform","rotate("+aR.A6+" "+(ap+(aR.I-aR.EL-aR.FA)/2)+" "+(aI+(aR.F-aR.FO-aR.G4)/2)+")")}if(aU){aZ.appendChild(ba)}for(var aL=0,a3=aT.length;aL<a3;aL++){if(a3==1){var aC=aR.DP}else{var aC=aR.cwidth(aT[aL])+aR.FA+aR.EL}var A=aT[aL];var an=A.indexOf("<")==-1?A:A.replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,"");var a9=0,t=aR.EY;switch(aR.ON){case"center":a9=(aR.I-aC)/2;break;case"right":a9=aR.I-aC;break}switch(aR.MN){case"middle":t+=(aR.F-aR.D9)/2;break;case"bottom":t+=aR.F-aR.D9;break}if(aU){ZC.L.F6(aR.N+"-float");var aY=ZC.L.E8("div");ZC.L.P0(aY,{position:"absolute",left:0,top:0,width:aR.I-aR.EL-aR.FA,height:aR.F-aR.FO-aR.G4});aY.id=aR.N+"-float";aY.className="zc-style zc-html-mode";aY.innerHTML=A;document.body.appendChild(aY);if(aR.G&&aR.G.AK){aR.G.AK.clear();aR.I=ZC.A2(aY).width()+aR.EL+aR.FA;aR.F=ZC.A2(aY).height()+aR.FO+aR.G4;aR.paint()}}else{var a2=0;if(A!=an){while(a4=/<(.+?)>(.*?)<\/(.+?)>/.exec(A)){var aO="",aN="";if(A3D=/(.+?)style=(.+?)(\‘|")(.*?)/.exec(a4[1])){aN=A3D[2].replace(/\‘|"/g,"")}switch(a4[3]){case"b":case"strong":aO="font-weight:bold";break;case"i":case"em":aO="font-style:italic";break;case"u":aO="text-decoration:underline";break}var aV=‘[[span style="‘+(aO==""?"":aO+";")+aN+‘"]]‘+a4[2]+"[[/span]]";A=A.replace(a4[0],aV)}A=A.replace(/\[\[/g,"<").replace(/\]\]/g,">").replace(/<span/g,"[[*]]<span").replace(/<\/span>/g,"</span>[[*]]");var a6=false;var a4=A.split("[[*]]");for(var s=0,av=a4.length;s<av;s++){if(a4[s]!=""){var aG=aR.BO,bb=aR.MQ,az=aR.O6,a8=aR.MC,aS=aR.EY,ao=aR.HI;var aW=a4[s];if(ZN=/<span style=(.+?)>(.+?)<\/(.+?)>/.exec(a4[s])){aW=ZN[2];var aB=ZN[1].replace(/\‘|"/g,"").split(/;|:/);for(var aP=0,a5=aB.length;aP<a5-1;aP+=2){switch(ZC.HM(aB[aP])){case"font-size":aS=ZC._i_(ZC.HM(aB[aP+1]));break;case"font-family":ao=ZC.HM(aB[aP+1]);break;case"font-weight":if(ZC.AG(["bold","bolder"],ZC.HM(aB[aP+1]))!=-1){bb=true}break;case"font-style":if(ZC.AG(["italic","oblique"],ZC.HM(aB[aP+1]))!=-1){az=true}case"text-decoration":if("underline"==ZC.HM(aB[aP+1])){a8=true}break;case"color":aG=ZC.AQ.GD(ZC.HM(aB[aP+1]));break}}}var aH=ZC.L.E8("tspan",ZC._[36]);if(a2==0){ZC.L.F2(aH,{x:ZC._x_(ap+a9),y:ZC._x_(aI+t)});if(aL>0){ZC.L.F2(aH,{dy:ZC._x_(aL*1.25)+"em"})}}else{ZC.L.F2(aH,{dx:a6||bb||a8?2:0})}ZC.L.F2(aH,{color:aG,fill:aG});ZC.L.P0(aH,{fontWeight:bb?"bold":"normal",fontStyle:az?"oblique":"normal",textDecoration:a8?"underline":"none",fontSize:aS+"px",fontFamily:ao});var aJ=document.createElement("span");aJ.innerHTML=aW;aW=aJ.innerText||aJ.textContent;aJ=null;aH.textContent=aW;ba.appendChild(aH);a6=az;a2++}}}else{var aH=ZC.L.E8("tspan",ZC._[36]);ZC.L.F2(aH,{x:ZC._x_(ap+a9),y:ZC._x_(aI+t),color:aR.BO,fill:aR.BO});if(aL>0){ZC.L.F2(aH,{dy:ZC._x_(aL*1.25)+"em"})}ZC.L.P0(aH,{fontWeight:aR.MQ?"bold":"normal",fontStyle:aR.O6?"oblique":"normal",textDecoration:aR.MC?"underline":"none",fontSize:aR.EY+"px",fontFamily:aR.HI});aH.textContent=an;ba.appendChild(aH)}}}break}if(!aU){if(!aR.TO&&ba){if(aR.G.FH){var aK=ZC.L.A0U(aZ);if(aK.indexOf("zc-text")!=-1){if(aR.G.FH[aZ.id]==null){aR.G.FH[aZ.id]=document.createDocumentFragment()}}if(aR.G.FH[aZ.id]){aR.G.FH[aZ.id].appendChild(ba)}else{aZ.appendChild(ba)}}else{aZ.appendChild(ba)}}}},DR:function(l){var g=this;if(!ZC.canvas||g.G.A8!="canvas"){return}if(!l){l=ZC.AH(g.G.N+ZC._[15])}if(zingchart.CANVASTEXT==1){return}if(g.A6%360==0){var m=g.AN;g.AN=g.AN.replace(/<br>|<br(\s*)\/>/gi,"\n");var n=document.createElement("span");n.innerHTML=g.AN;g.AN=n.innerText||n.textContent;n=null;g.AN=g.AN.replace("\n","<br />");g.A0=l;g.TO=true;var h=g.G.A8;g.G.A8="canvas";g.paint();g.TO=false;g.AN=m;g.G.A8=h}}});ZC.OC=ZC.HC.BF({$i:function(e){var c=this;c.b(e);c.CN="json";c.VR=false;c.VS="en_us";c.PS=null;c.JY="";c.Q8=false;c.NU={};c.K2="http-headers";c.A84={};c.OD="";c.I0="";c.PT={};c.G8=null;c.B0=[];c.P9="";c.AK=null;c.GW=null;c.C9=null;c.AV=new ZC.A52();c.MX="";c.JT=null;c.KK=[null,null,null,null];c.N6=false;c.M2="x";c.JU=false;c.RM=false;c.A3Z=false;c.Y0=false;c.H0=false;c.A3U={};c.KL=null;c.O3={};c.JN=false;c.O8=false;c.A7S=null;c.OS=[];c.S={};c.L7=null;c.DC=null;c.QV=0;c.WU=0;c.Z1=1;c.K5=null;c.OA="";c.A5A="F*nStrlng4Cu$tOmLlc9nc9!";c.LA="";c.VP={};c.V6=false;c.A8="";c.JK=null;c.X5=false;c.MY=["",""];c.KF=0;c.I8=[];c.A2G=0;c.A2C=0;c.A4A=false;c.W7="";c.A0Z=true;c.GE=null;c.N5=[];c.KM=0;c.A50=false;c.PW={};c.FH=zingchart.DEV.DOMFRAGMENTS?{}:null},usc:function(){return ZC.AG(this.I8,ZC._[44])!=-1},mc:function(b){b=b||"";return ZC.AH(this.N+"-main-c"+(b==""?b:"-"+b))},hideCM:function(){var b;if(b=ZC.AH(this.N+"-menu")){b.style.display="none"}this.A4A=false},X7:function(){var c=this;var f=c.KK.length;for(var g=0;g<f;g++){if(c.KK[g]!=null){switch(c.A8){case"svg":ZC.C8.T9(c.KK[g].ctx,c.KK[g].style,c.KK[g].path.join(" "),c.KK[g].filled);break;case"vml":ZC.C8.T7(c.KK[g].ctx,c.KK[g].style,c.KK[g].path.join(" "),c.KK[g].filled);break}c.KK[g]=null}}},A6X:function(){var s=this;if(document.location.protocol=="file:"){var A1I=ZC.HOSTNAME||""}else{var A1I=document.location.hostname}var VY=[A1I];var D4=A1I.split(".");if(D4[0]=="www"){VY.push(A1I.replace("www.",""))}else{VY.push("www."+A1I)}for(var i=0;i<=D4.length-2;i++){var A5Q="*";for(var j=i;j<D4.length;j++){A5Q+="."+D4[j]}VY.push(A5Q)}function S9(A7N){if(ZC.NOABOUT&&ZC.NOABOUT instanceof Array){var A3M=ZC.UE.md5(ZC.A4F(ZC.T5(A7N)));if(ZC.AG(ZC.NOABOUT,A3M)!=-1){s.A3Z=true}}}if(ZC.AG(VY,"localhost")!=-1||ZC.AG(VY,"127.0.0.1")!=-1){s.RM=true;s.Y0=true;S9("localhost")}else{var X3=[["jvaqbj.NP.Pber.msyntf","Q^fhx]XKoJJLnmLPUYiWUuQKAOGnuAIWrSN_ZIj_LYvS`jRkihLOSfysvRQTBtQOUUO^`SdgZUHWKDVQ[xST_SWRLyFKogwOclSB"],["jvaqbj.wfAbeguAvar.NccVqragvgl","09Vczmfsf/Q5G8dRWLio+7PVG0KjUnLRqnRSPOeqf6gu/hpxK6BeHRUtuasojuRTPFQYdzNGN57nxLviTf1hV4lwaFjtbv/tA1g0W0k7AKV1g1ouow1nG/+EJLl0khmPDSKBJa8fkP70KLNtrxt5pE2yjx+IvQ40ajd/03rqqtR="]];for(var i=0,A4=X3.length;i<A4;i++){try{if(eval(ZC.T5(X3[i][0]))==ZC.T5(X3[i][1])){s.RM=true;break}}catch(e){}}for(var i=0,A4=VY.length;i<A4;i++){var Z0=ZC.UE.md5(ZC.A4F(ZC.T5(VY[i])));if(1>0){s.RM=true;S9(Z0)}}if(ZC.BUILDCODE instanceof Array&&ZC.BUILDCODE.length==2){var FK=ZC.A7M(s.A5A);FK=FK.replace("O","0");s.OA=ZC.A6R(ZC.BUILDCODE[0],FK);if(s.OA==ZC.BUILDCODE[1]){s.RM=true;s.Y0=true;S9(ZC.BUILDCODE[0])}}}},A3E:function(){var f=this;if(f.JT!=null){ZC._todash_(f.JT);f.load()}else{if(ZC.cache.data["defaults-"+f.MX]==null){var l=[f.K2=="query-string"?"zcrandom="+Math.random():"",zingchart.ZCOUTPUT?"zcoutput="+f.A8:""].join("&");ZC.A2.ajax({type:"GET",url:f.MX,dataType:"text",beforeSend:function(a){if(!f.NU.defaults&&f.K2=="http-headers"){a.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")}},data:l,error:function(c,e,a,b){f.KN({name:ZC._[61],message:"Resource not found ("+b+")"},ZC._[62]);return false},success:function(e,n,b){try{var c=JSON.parse(e);ZC.cache.data["defaults-"+f.MX]=e}catch(a){f.KN(a,"JSON parser");return false}f.JT=c;ZC._todash_(f.JT);f.load()}})}else{try{var g=JSON.parse(ZC.cache.data["defaults-"+f.MX])}catch(h){f.KN(h,"JSON parser");return false}f.JT=g;ZC._todash_(f.JT);f.load()}}},load:function(f,h){var g=this;g.LA="load";h=h||g.OD;if(h!=""){if(ZC.cache.data["data-"+h]==null){var l=[g.K2=="query-string"?"zcrandom="+Math.random():"",zingchart.ZCOUTPUT?"zcoutput="+g.A8:""].join("&");ZC.A2.ajax({type:"GET",url:h,dataType:"text",beforeSend:function(a){if(!g.NU.data&&g.K2=="http-headers"){a.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")}},data:l,error:function(c,e,a,b){g.KN({name:ZC._[61],message:"Resource not found ("+b+")"},ZC._[62]);return false},success:function(b,c,a){g.data_(f,b)}})}else{g.data_(f,ZC.cache.data["data-"+h]);ZC.cache.data["data-"+h]=null}}else{if(g.I0!=""){g.data_(f,g.I0)}else{if(g.PT!=null){g.data_(f,g.PT)}}}},data_:function(e,g){var f=this;if(ZC.AQ.A1S("dataload",f)){ZC.AQ.CM("dataload",f,f.J1(),g,function(a){f.load_(e,a)})}else{f.load_(e,g)}},ZB:function(n){var q=this;if(!n){n=q.o}var p=[];if(n.graphset){for(var r=0,m=n.graphset.length;r<m;r++){var o=n.graphset[r]["type"]||"null";if(ZC.AG(ZC.CHARTS,o)==-1){if(o.substring(o.length-2)=="3d"){o=o.substring(0,o.length-2)}for(var l in ZC.EQUIV){if(ZC.EQUIV.hasOwnProperty(l)){if(ZC.AG(ZC.EQUIV[l],o)!=-1){o=l}}}zingchart.loadModules(o);p.push(o)}}}q.A76(n);for(var r=0,m=ZC.P3.length;r<m;r++){if(ZC.HM(ZC.P3[r])!=""&&ZC.AG(ZC.RZ,ZC.HM(ZC.P3[r]))==-1){p.push(ZC.HM(ZC.P3[r]))}}return p},A76:function(h){var g=this,f,l;if(!h){h=g.o}},load_:function(GZ,PJ){var s=this,E;s.H.rawsource=PJ;var DX=null;if(typeof PJ=="string"){try{DX=JSON.parse(PJ)}catch(GL){try{DX=eval("("+PJ+")")}catch(GL){s.KN(GL,"JSON parser");return false}}}else{DX=PJ}if(DX[ZC._[16]]==null){DX={graphset:[DX]}}s.H.source=ZC.HM(JSON.stringify(DX));zingchart.W3(s,s.ZB(DX),function(){DX=ZC.AQ.CM("dataparse",s,s.J1(),DX);zingchart.W3(s,s.ZB(DX),function(){ZC.AQ.CM("modulesready",s,{id:s.N});if(GZ==null){s.Y6(DX);s.o=DX;if(s.VR){s.parse();s.paint()}else{s.LO(function(){s.parse();s.paint()})}}else{var D=s.MG(GZ);if(D!=null&&(E=DX[ZC._[16]])!=null){var MB=E.length>1?E[D.J]:E[0];if(!MB.id){MB.id=D.o.id||""}s.o[ZC._[16]][D.J]=MB;s.LO(function(){s.parse(GZ);s.B0[D.J].paint()})}}})})},Y6:function(DX){var s=this,E;if(DX[ZC._[16]]==null){DX={graphset:[DX]}}for(var i=0,A4=DX[ZC._[16]].length;i<A4;i++){if((E=DX[ZC._[16]][i]["shapes"])!=null){var HY=[];for(var j=0,IZ=E.length;j<IZ;j++){HY.push(E[j]);if(E[j]["type"]!=null&&E[j]["type"].indexOf("zingchart.")==0){try{var LV=E[j]["options"]||{};var ET=E[j]["type"]+"."+(LV.name||"");LV[ZC._[3]]=i;var A26=eval(ET).call(s,LV,DX,E[j]);for(var A47 in A26){if(A26.hasOwnProperty(A47)){HY.push(A26[A47])}}}catch(e){}}}DX[ZC._[16]][i]["shapes"]=HY}var A0L;if((A0L=DX[ZC._[16]][i]["widgets"])!=null){var A5B=s.Z5(DX,i);for(var k=0;k<A0L.length;k++){var XB=A0L[k];if(XB.type!=null&&zingchart.widgets[XB.type]!=null&&typeof zingchart.widgets[XB.type]["parse"]=="function"){try{var BL={};ZC._cp_(XB,BL);BL.graph=A5B.graph;BL.loader={id:s.N,width:s.I,height:s.F};var o=zingchart.widgets[XB.type]["parse"].call(s,BL);if((E=o.graphs)!=null){for(var j=0;j<E.length;j++){DX[ZC._[16]].push({});ZC._cp_(E[j],DX[ZC._[16]][DX[ZC._[16]].length-1])}}if((E=o[ZC._[10]])!=null){if(DX[ZC._[16]][i][ZC._[10]]==null){DX[ZC._[16]][i][ZC._[10]]=[]}for(var j=0;j<E.length;j++){DX[ZC._[16]][i][ZC._[10]].push(E[j])}}if((E=o.shapes)!=null){if(DX[ZC._[16]][i]["shapes"]==null){DX[ZC._[16]][i]["shapes"]=[]}for(var j=0;j<E.length;j++){DX[ZC._[16]][i]["shapes"].push(E[j])}}}catch(e){}}}}}},A4N:function(n,r){var o=this;switch(n){case"line":return new ZC.A0A(o);case"area":return new ZC.A0C(o);case"bar":case"vbar":return new ZC.X6(o);case"hbar":return new ZC.X0(o);case"mixed":case"mixed3d":var p=false;var l=o.o[ZC._[16]][r][ZC._[11]];for(var q=0,m=l.length;q<m;q++){if(l[q]["type"]&&l[q]["type"].indexOf("3d")!=-1){p=true}}if(p){return new ZC.A1Q(o)}else{return new ZC.ZE(o)}case"scatter":return new ZC.A29(o);case"bubble":return new ZC.A35(o);case"pie":return new ZC.A1J(o);case"nestedpie":return new ZC.A0P(o);case"radar":return new ZC.A3O(o);case"venn":return new ZC.A4R(o);case"bullet":case"vbullet":return new ZC.A2D(o);case"hbullet":return new ZC.A2L(o);case"funnel":case"vfunnel":return new ZC.A2N(o);case"hfunnel":return new ZC.A1R(o);case"piano":return new ZC.A3N(o);case"stock":return new ZC.A49(o);case"range":return new ZC.A4D(o);case"gauge":return new ZC.A4G(o);case"line3d":return new ZC.A39(o);case"area3d":return new ZC.A31(o);case"pie3d":return new ZC.A3W(o);case"bar3d":case"vbar3d":return new ZC.A3A(o);case"hbar3d":return new ZC.A37(o);case"null3d":return new ZC.ZCNull3DGraph(o);case"null":default:return new ZC.A4P(o)}},MG:function(h){var l=this;for(var f=0,g=l.B0.length;f<g;f++){if(l.B0[f].N==l.N+"-graph-"+h||l.B0[f].N==l.N+"-graph-id"+h||l.B0[f].N==h||f==h){return l.B0[f]}}return null},ZP:function(l,n){var q=this;var o=ZC.A2("#"+q.N+(q.A8=="svg"?"-top":"-main"));l-=o.offset().left;n-=o.offset().top;var p=null;for(var r=0,m=q.B0.length;r<m;r++){if(ZC.EO(l,q.B0[r].iX,q.B0[r].iX+q.B0[r].I)&&ZC.EO(n,q.B0[r].iY,q.B0[r].iY+q.B0[r].F)){p=q.B0[r]}}return p},A40:function(m){var p=this,o;if(typeof p.H.themesloaded!=ZC._[31]){return}if(typeof m==ZC._[31]){m=false}p.XK_a([["theme","P9"]]);if(p.o[ZC._[16]]&&p.o[ZC._[16]].length==1){if((o=p.o[ZC._[16]][0]["theme"])!=null){p.P9=o}}if(p.P9==""){p.P9="zingchart"}var n=String(p.P9).split(/\s+|;|,/);for(var h=0,l=n.length;h<l;h++){p.AV.A5C(n[h])}p.AV.A3E(p.JT);if(ZC.mobile){p.AV.A5C("mobile")}if(!m){p.H.themesloaded=true}},parse:function(ac){var ab=this,D;ab.H.json=ZC.HM(JSON.stringify(ab.o));var N=ab.J1();if(ac!=null){N[ZC._[3]]=ac}ZC.AQ.CM("dataready",ab,N);ab.LA="parse";ab.MY[1]=ab.MY[0];ab.MY[0]="";ab.MY[0]+=ab.I+":"+ab.F+":";if((D=ab.o[ZC._[16]])!=null){ab.MY[0]+=D.length+":";for(var Q=0;Q<D.length;Q++){ab.MY[0]+=(D[Q]["type"]||"")+":";ab.MY[0]+=(D[Q]["x"]||"")+":"+(D[Q]["y"]||"")+":"+(D[Q][ZC._[19]]||"")+":"+(D[Q][ZC._[20]]||"")+":";if(D[Q][ZC._[11]]!=null){ab.MY[0]+=D[Q][ZC._[11]].length+":"}}}if(ZC.AH(ab.N+"-main-c")){ab.clear(ac,false)}if(typeof ZC.A19!=ZC._[31]){ab.GW=new ZC.A19(ab)}if(ac==null){ab.A40();var S=ab.o.gui?true:false;ab.AV.load(ab.o,"loader",false,true);ab.XK_a([["gui","DC"],["globals","PS"]]);if(ab.o[ZC._[16]]&&ab.o[ZC._[16]].length==1){var Z=ab.o[ZC._[16]][0];if((D=Z.gui)!=null){ab.DC=D}if((D=Z.globals)!=null){ab.PS=D}}ZC._todash_(ab.PS);ZC._cp_(ab.AV.AV.gui,ab.DC,false,true,true);if(!S){delete ab.o.gui}if((D=ab.o.style)!=null){for(var M in D){if(M!="url"){ab.S[M]=D[M]}}}if(ab.o[ZC._[16]]&&ab.o[ZC._[16]].length==1){var Z=ab.o[ZC._[16]][0];if((D=Z.style)!=null){for(var M in D){if(M!="url"){ab.S[M]=D[M]}}}}ZC._todash_(ab.S);ab.b();ab.XK_a([["locale","VS"],["set-locale","VS"],["layout","M2"],["h-space","A2G","i"],["v-space","A2C","i"],["flat","JU","b"],["show-progress","V6","b"]]);if(ab.o[ZC._[16]]&&ab.o[ZC._[16]].length==1){var Z=ab.o[ZC._[16]][0];if((D=Z.locale)!=null){ab.VS=D}if((D=Z["set-locale"])!=null){ab.VS=D}if((D=Z.flat)!=null){ab.JU=ZC._b_(D)}if((D=Z["show-progress"])!=null){ab.V6=ZC._b_(D)}}if((D=zingchart.i18n[ab.VS])!=null){ZC.FL=D}ab.B0=[]}var ak=0,al=0,ai=ab.I,U=ab.F;if(ab.o.margin!=null||ab.o[ZC._[57]]!=null||ab.o[ZC._[58]]!=null||ab.o[ZC._[59]]!=null||ab.o[ZC._[60]]!=null){var ah=new ZC.HC(ab);ah.append(ab.o,false,false);ah.parse();ak=ah.CW;al=ah.CP;ai=ai-ah.CW-ah.CT;U=U-ah.CP-ah.CO}var Y=ab.MG(ac),O;if((O=ab.o[ZC._[16]])!=null){var ae,s=0;for(var Q=0,am=O.length;Q<am;Q++){ae=0;if((D=O[Q]["page"])!=null){ae=ZC._i_(D)}s+=ab.KF==ae?1:0}var X=ZC.AX.WP(ab.M2,s);var aj=X[0];var R=X[1];var af=0;var ad=0;var P=0;for(var Q=0,am=O.length;Q<am;Q++){var ae=0;if(Y==null){if((D=O[Q]["page"])!=null){ae=ZC._i_(D)}}if((Y==null||P==Y.J)&&ab.KF==ae){ab.B0[P]=ab.A4N(O[Q]["type"]||"null",Q);ab.B0[P].LF=ab.B0[P].AC+"graph";ab.AV.load(ab.B0[P].o,"graph");ab.AV.load(ab.B0[P].o,O[Q]["type"]||"null");ab.B0[P].append(O[Q]);ab.B0[P].J=P;if(O[P]["id"]==null){ab.B0[P].N=ab.N+"-graph-id"+P}else{ab.B0[P].N=ab.N+"-graph-"+O[Q]["id"]}if(O.length>0){var W=0,aa=0;var ag=ZC._i_((ai-(R+1)*ab.A2G)/R);var L=ZC._i_((U-(aj+1)*ab.A2C)/aj);if(ab.B0[P].o.x==null){ab.B0[P].o.x=ZC._i_(ab.iX+(af+1)*ab.A2G+af*ag)+ak}else{W=ZC.P4(ab.B0[P].o.x);if(W<1){W=ZC._i_(ab.I*W)}}if(ab.B0[P].o.y==null){ab.B0[P].o.y=ZC._i_(ab.iY+(ad+1)*ab.A2C+ad*L)+al}else{aa=ZC.P4(ab.B0[P].o.y);if(aa<1){aa=ZC._i_(ab.F*aa)}}if(ab.B0[P].o[ZC._[19]]==null){ab.B0[P].o[ZC._[19]]=ag-W}if(ab.B0[P].o[ZC._[20]]==null){ab.B0[P].o[ZC._[20]]=L-aa}}ab.B0[P].parse()}if(ab.KF==ae){P++;af++;if(af==R){ad++;af=0}}}}if(ac==null){if((D=ab.o.refresh)!=null){ab.G8={type:"full",interval:10};ZC._cp_(D,ab.G8)}}},Y7:function(o,p){p=p||"";var r=[];for(var q in o){if(typeof o[q]=="object"){var m=this.Y7(o[q],p+"."+q);for(var s=0,n=m.length;s<n;s++){if(ZC.AG(r,m[s])==-1){r.push(m[s])}}}else{var t=p+"."+q;if(("background-image"==q||"backgroundImage"==q)&&o[q]!=""&&o[q].substring(0,3)!="zc."){if(!ZC.ie67&&ZC.PATTERNS){if(o[q].substring(0,8)=="PATTERN_"){o[q]=ZC.PATTERNS[o[q].substring(8)]}}r.push([o[q],"image"])}if("src"==q&&o[q]!=""&&o[q].substring(0,3)!="zc."){if(t.indexOf(".images.")!=-1){if(!ZC.ie67&&ZC.PATTERNS){if(o[q].substring(0,8)=="PATTERN_"){o[q]=ZC.PATTERNS[o[q].substring(8)]}}r.push([o[q],"image"])}}if(t.substr(t.length-4,4)==".csv"&&typeof o[q]=="string"){r.push([o[q],"csv"])}if("url"==q){if(t.indexOf(".style.")!=-1){r.push([o[q],"css"])}if(t.indexOf(".csv.")!=-1){r.push([o[q],"csv"])}if(t.indexOf(".marker.")!=-1){r.push([o[q],"image"])}}if(typeof o[q]=="string"&&q!="url"&&(o[q].indexOf("url:")==0&&q==ZC._[5]||o[q].indexOf("javascript:")==0)){if(ZC.AG(["format","text","tooltipText"],ZC.CX(q))==-1){r.push([o[q],"data"])}}}}return r},LO:function(HK){var s=this;var J7=s.Y7(s.o).concat(s.Y7(s.JT));if(J7.length==0){HK();return}var QV=0;var LB={};var W5=0;function XC(i){if(i>=J7.length){return}var IM=J7[i][0];var V5=J7[i][1];if(IM.substring(0,4)=="url:"){var OD=IM.substring(4);s.O3["url:"+OD]="[]";try{var I0=[s.K2=="query-string"?"zcrandom="+Math.random():""].join("&");ZC.A2.ajax({type:"GET",url:OD,beforeSend:function(FQ){if(!s.NU.data&&s.K2=="http-headers"){FQ.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")}},data:I0,error:function(FQ,LU,GL,DQ){s.KN({name:ZC._[61],message:"Resource not found ("+DQ+")"},ZC._[62]);return false},success:function(I9,LU,FQ,DQ){s.O3["url:"+DQ]=I9;QV++}})}catch(GL){s.KN(GL,ZC._[62]);return false}}else{if(IM.substring(0,11)=="javascript:"){s.O3[IM]="[]";var DL=ZC.AQ.A4M(IM.substring(11));var O={id:s.N,resource:IM,callback:function(UA){s.O3[IM]=UA;QV++}};var UV=DL[0];O["arguments"]=DL[1];try{var UA=eval(UV).call(s,O);if(UA!=null&&UA){s.O3[IM]=UA;QV++}}catch(GL){s.KN(GL,"JavaScript data loader");return false}}else{if(V5=="image"){LB[IM]=new Image();LB[IM].onload=function(){QV++};LB[IM].onerror=function(){var A50=ZC._b_(s.o.strict);ZC.IMG404.push(IM);if(A50){s.KN({name:ZC._[61],message:"Resource not found ("+this.src+")"},"Resource loader (image)");return false}else{this.src=ZC.BLANK}QV++};LB[IM].src=IM;ZC.cache.data[IM]=LB[IM]}else{if(V5=="css"){var I0=[s.K2=="query-string"?"zcrandom="+Math.random():""].join("&");ZC.A2.ajax({type:"GET",url:IM,beforeSend:function(FQ){if(!s.NU.css&&s.K2=="http-headers"){FQ.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")}},data:I0,error:function(FQ,LU,GL){s.KN(GL,"Resource loader");return false},success:function(I9,LU,FQ,DQ){var VU={};var A43=I9.match(/[a-zA-Z0-9\.\#\-](.+?)\{((.|\s)+?)\}/gi);for(var i=0,A4=A43.length;i<A4;i++){var aTmp=A43[i].split("{");var DW=ZC.HM(aTmp[0]);var aTmp2=DW.split(/\s+/);if(aTmp2.length==1||aTmp2.length==2&&ZC.HM(aTmp2[0])=="#"+s.N){DW=ZC.HM(aTmp2.length==1?aTmp2[0]:aTmp2[1]);if(!VU[DW]){VU[DW]={}}var aTmp=aTmp[1].replace("}","").split(";");for(var j=0,IZ=aTmp.length;j<IZ;j++){var aDef=aTmp[j].split(":");if(aDef.length==2){VU[DW][ZC.HM(aDef[0])]=""+ZC.HM(aDef[1])}}}}if(s.o.style!=null){ZC._cp_(VU,s.o.style)}else{if(s.o[ZC._[16]]!=null&&s.o[ZC._[16]].length==1&&s.o[ZC._[16]][0]["style"]){ZC._cp_(VU,s.o[ZC._[16]][0]["style"])}}QV++}})}else{if(V5=="csv"){var I0=[s.K2=="query-string"?"zcrandom="+Math.random():""].join("&");ZC.A2.ajax({type:"GET",url:IM,beforeSend:function(FQ){if(!s.NU.csv&&s.K2=="http-headers"){FQ.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")}},data:I0,error:function(FQ,LU,GL){s.KN(GL,"Resource loader");return false},success:function(I9,LU,FQ,DQ){s.A3U[DQ]=I9;QV++}})}}}}}}var BN=window.setInterval(function(){if(QV>=J7.length){window.clearInterval(BN);s.A66(s.o);HK()}else{W5++;XC(W5)}},20);XC(W5)},A66:function(CE){var s=this;for(var p in CE){if(typeof CE[p]=="object"){s.A66(CE[p])}else{for(var I0 in s.O3){if(I0==CE[p]){CE[p]=eval(s.O3[I0])}}}}},resize:function(y){var c=this,r;if(!c.o[ZC._[16]]){return}if(typeof y==ZC._[31]){y=false}ZC.AQ.CM("resize",c,c.J1());y=false;if(y){}else{var s=c.o[ZC._[16]],z=[ZC._[10],"shapes"];for(var u=0,t=s.length;u<t;u++){for(var x=0;x<z.length;x++){var C=z[x];var v=[];if(s[u][C]!=null){for(var w=0,A=s[u][C].length;w<A;w++){if(!s[u][C][w]["generated"]){v.push(s[u][C][w])}}s[u][C]=v}}}c.Y6(c.o);c.o=ZC.AQ.CM("dataparse",c,c.J1(),c.o);ZC.A2("#"+c.N+"-top").width(c.I).height(c.F);if((r=ZC.A2("#"+c.N+"-img")).length==1){r.width(c.I).height(c.F).css("clip","rect(1px,"+(c.I-1)+"px,"+(c.F-1)+"px,1px)")}if(c.A8=="svg"){c.JK.setAttribute(ZC._[19],c.I);c.JK.setAttribute(ZC._[20],c.F)}if(c.A8=="canvas"||c.A8=="vml"){ZC.A2("#"+c.N+"-main").width(c.I).height(c.F);for(var w=0,A=c.B0.length;w<A;w++){ZC.A2("#"+c.B0[w].N+"-hover").remove()}ZC.A2("#"+c.N+"-main>div").width(c.I).height(c.F)}if(c.A8=="canvas"){if(r=ZC.AH(c.N+"-main-c")){r.width=c.I;r.height=c.F}if(r=ZC.AH(c.N+"-main-c-top")){r.width=c.I;r.height=c.F}ZC.A2("#"+c.N+"-objects-bottom canvas").each(function(){this.width=c.I;this.height=c.F});ZC.A2("#"+c.N+"-objects-top canvas").each(function(){this.width=c.I;this.height=c.F});ZC.A2("#"+c.N+"-tools canvas").each(function(){this.width=c.I;this.height=c.F})}if(c.A8=="vml"){ZC.A2("#"+c.N+"-objects-bottom div").each(function(){this.style.width=c.I+"px";this.style.height=c.F+"px"});ZC.A2("#"+c.N+"-objects-top div").each(function(){this.style.width=c.I+"px";this.style.height=c.F+"px"});ZC.A2("#"+c.N+"-tools div").each(function(){this.style.width=c.I+"px";this.style.height=c.F+"px"})}c.parse();c.paint()}},clear:function(x,u){var c=this;if(typeof u==ZC._[31]){u=true}ZC.A2("."+c.N+"-history-area").unbind("click",c.VD);ZC.A2("."+c.N+"-history-area").remove();if(x!=null){c.MG(x).clear()}else{if(u){var r=c.o[ZC._[16]],z=[ZC._[10],"shapes"];if(r){for(var t=0,s=r.length;t<s;t++){for(var y=0;y<z.length;y++){var C=z[y];var v=[];if(r[t][C]!=null){for(var w=0,A=r[t][C].length;w<A;w++){if(!r[t][C][w]["generated"]){v.push(r[t][C][w])}}r[t][C]=v}}}}}c._unbind_();for(var w=0,A=c.B0.length;w<A;w++){c.B0[w].clear()}if((W8=ZC.AH(c.N+"-main-c"))!=null){ZC.L.JI(W8,c.A8,c.iX,c.iY,c.I,c.F)}if((YZ=ZC.AH(c.N+"-main-c-top"))!=null){ZC.L.JI(YZ,c.A8,c.iX,c.iY,c.I,c.F)}if((A5P=ZC.AH(c.N+"-trigger-c"))!=null){ZC.L.JI(A5P,c.A8,c.iX,c.iY,c.I,c.F);ZC.A2("#"+c.N+"-menu-area").remove()}if(c.AK){c.AK.hide()}ZC.A2("."+c.N+"-menu-item").remove();ZC.L.F6([c.N+"-menu-trigger",c.N+"-menu",c.N+"-license"]);if(c.GE!=null){ZC.L.F6([c.N+"-history-path",c.N+"-history-back-path",c.N+"-history-forw-path",c.N+"-history-gradient",c.N+"-history-back-gradient",c.N+"-history-forw-gradient"])}}},A59:function(){var h=this;var l=h.I+"/"+h.F;var g=ZC.L.IU({cls:"zc-rel zc-top",wh:l,id:h.N+"-top",overflow:"hidden",p:ZC.AH(h.N)});if(zingchart.OFFSET){g.style.left="-0.5px";g.style.top="-0.5px"}switch(h.A8){case"svg":h.JK=ZC.L.E8("svg",ZC._[36]);if(h.JK.setAttributeNS){h.JK.setAttributeNS(null,"xlink",ZC._[37])}ZC.L.F2(h.JK,{version:"1.1",id:h.N+"-svg",cls:"zc-svg",width:h.I,height:h.F});g.appendChild(h.JK);var f=ZC.L.E8("defs",ZC._[36]);f.id=h.N+"-defs";h.JK.appendChild(f);ZC.L.JG({cls:"zc-rel zc-main",wh:l,id:h.N+"-main",p:h.JK},h.A8);break;case"vml":ZC.L.IU({cls:"zc-rel zc-main",wh:l,id:h.N+"-main",p:g});break;case"canvas":ZC.L.IU({cls:"zc-rel zc-main",wh:l,id:h.N+"-main",p:g});break}},paintHistory:function(){},paint:function(){var P=this,R;P.LA="paint";var X=P.I+"/"+P.F;P.Y5();if(ZC.AH(P.N+"-top")==null){P.A59();var ad=ZC.AH(P.N+"-main");ZC.L.HV({cls:"zc-abs",id:P.N+"-main-c",wh:X,p:ad},P.A8);if(!P.G.usc()){ZC.L.JG({cls:"zc-abs",wh:X,id:P.N+"-objects-bottom",p:ad},P.A8);ZC.L.JG({cls:"zc-abs",wh:X,id:P.N+"-graphset",p:ad},P.A8);ZC.L.JG({cls:"zc-abs",wh:X,id:P.N+"-objects-top",p:ad},P.A8);ZC.L.JG({cls:"zc-abs",wh:X,id:P.N+"-hover",p:ad},P.A8);ZC.L.JG({cls:"zc-abs",wh:X,id:P.N+"-front",p:ad},P.A8);ZC.L.JG({cls:"zc-abs zc-text",wh:X,id:P.N+"-text",p:ad},P.A8);ZC.L.JG({cls:"zc-abs",wh:X,id:P.N+"-legend",p:ad},P.A8);ZC.L.JG({cls:"zc-abs",wh:X,id:P.N+"-tools",p:ad},P.A8);var I=ZC.AH(P.N+"-tools");ZC.L.HV({cls:ZC._[24],id:P.N+"-static-c",wh:X,p:I},P.A8);ZC.L.HV({cls:ZC._[24]+" zc-guide-c",id:P.N+"-guide-c",wh:X,p:I},P.A8);if(ZC.A2.browser.opera&&ZC._i_(ZC.A2.browser.version)<=9.5||ZC.mobile){ZC.L.HV({cls:ZC._[24],id:P.N+"-trigger-c",wh:X,p:I},P.A8)}ZC.L.HV({cls:ZC._[24],id:P.N+ZC._[15],p:I,wh:X,display:"none"},P.A8);ZC.L.JG({cls:"zc-abs",wh:X,id:P.N+"-text-top",p:ad},P.A8)}else{ZC.L.HV({cls:"zc-abs",id:P.N+"-main-c-top",wh:X,p:ad},P.A8);ZC.L.HV({cls:ZC._[24],id:P.N+ZC._[15],p:ad,wh:X,display:"none"},P.A8)}var s=document.createElement("img");s.id=P.N+"-img";s.className="zc-img";s.setAttribute("useMap","#"+P.N+"-map");ZC.L.P0(s,{position:"absolute",borderWidth:0,width:P.I+ZC.MAPTX+"px",height:P.F+ZC.MAPTX+"px",left:-ZC.MAPTX+"px",top:-ZC.MAPTX+"px",zIndex:0,opacity:0,clip:"rect("+(ZC.MAPTX+1)+"px,"+(P.I+ZC.MAPTX-1)+"px,"+(P.F+ZC.MAPTX-1)+"px,"+(ZC.MAPTX+1)+"px)"});s.src=(ZC.ie67?"//":"")+ZC.BLANK;ZC.AH(P.N+"-top").appendChild(s);if(!P.G.usc()){var G=document.createElement("map");G.className="zc-map";ZC.L.F2(G,{id:P.N+"-map",name:P.N+"-map"});ZC.AH(P.N+"-top").appendChild(G)}}P.A0=ZC.AH(P.N+"-main-c");P.b();var ab=false;for(var H=0,ae=P.B0.length;H<ae;H++){P.B0[H].paint();if(P.B0[H].GT!=null&&P.B0[H].GT.AP||P.B0[H].JL!=null&&P.B0[H].JL.AP){ab=true}}if(P.FH){for(var W in P.FH){ZC.AH(W).appendChild(P.FH[W])}P.FH=null}P.H[ZC._[53]]=null;if(!P.RM&&!P.Q8){var U={};var Q=P.DC.watermark;P.AV.load(U,"loader.gui.watermark");if(Q){ZC._cp_(Q,U)}if(P.o[ZC._[16]].length==1&&P.o[ZC._[16]][0]["gui"]&&(R=P.o[ZC._[16]][0]["gui"]["watermark"])){ZC._cp_(R,U)}var Z=ZC._l_(ZC._i_(U.type||1),1,2);var N=U.position||"br";if(ZC.AG(["tl","tr","br","bl"],N)==-1){N="br"}if(ZC.ie67){var O=30,J=168,S=8,Y=1,aa="Powered by ZingChart"}else{var O=32,J=146,S=0,Y=1,aa=""}switch(N){case"br":var L=P.F-O,M=P.I-J;break;case"bl":var L=P.F-O,M=0;break;case"tr":var L=0,M=P.I-J;break;case"tl":var L=0,M=0;break}if((R=ZC.AH(P.N+"-top"))!=null){var ac=P.N+"-license";if(ZC.AH(ac)==null){ZC.L.IU({cls:"zc-style zc-license"+(ZC.ie67?"-ie67":""),id:ac,p:R,tl:L+"/"+M,wh:J+"/"+(O-S),color:ZC.ie67?Z==1?"#369":"#fff":"",padding:S,opacity:Y,background:ZC.ie67?"":"transparent url("+ZC.IMAGES["zc.wm"+Z]+") no-repeat",html:aa},P.A8);ZC.AH(ac).style.cursor="pointer";P.R1=function(){window.top.location.href="http://www.shuiguanli.com/"};ZC.A2("#"+ac).bind("click",P.R1)}}}if(ZC.AG(P.I8,ZC._[38])==-1){P.ZY()}if(ZC.AG(P.I8,ZC._[41])==-1){if(typeof ZC.A2P!=ZC._[31]){P.AK=new ZC.A2P(P)}if(typeof ZC.A19!=ZC._[31]){P.GW.bind()}if(ab&&typeof ZC.A4W!=ZC._[31]){P.C9=new ZC.A4W(P);P.C9.bind()}if(ZC.mobile){P.A9M=function(a){if(a.target.id==P.N+"-menu-area"){ZC.move=false;if(P.AK){P.AK.hide()}zingchart.TL(a)}else{if(P.DC!=null&&P.DC["page-scroll"]!=null&&!P.DC["page-scroll"]){a.preventDefault()}ZC.move=false;P.hideCM();if(P.AK){P.AK.hide()}P.TM(a)}};P.L9=function(){window.clearTimeout(P.A57);P.XO=null};P.A9N=function(a){if(!P.A4A&&!ZC.move){zingchart.QF(a)}P.L9(a)};ZC.A2("#"+P.N+"-img").bind("touchstart",P.A9M).bind("touchmove",P.L9).bind("touchend",P.A9N);ZC.A2("#"+P.N+"-menu-area").live("touchstart",P.A9M)}P.WV=function(a){if(a.keyCode==27&&P.O8){P.destroy()}};ZC.A2(document).bind("keyup",P.WV);P.A9Z=function(a){ZC.A2("#"+P.N+ZC._[64]).die("click",P.A9Z);P.destroy()};ZC.A2("#"+P.N+ZC._[64]).live("click",P.A9Z)}else{if(ZC.mobile){P.A9M_static=function(a){a.preventDefault();zingchart.QF(a);return false};ZC.A2("#"+P.N+"-img").bind("touchstart",P.A9M_static)}}if(P.G8!=null){var K=ZC._i_(P.G8.interval);K=K>=50?K:1000*K;window.setTimeout(function(){P.K4();P.load()},K)}P.LA="";if(P.H["fire-complete"]){ZC.AQ.CM("complete",P,P.J1());P.H["fire-complete"]=null}if(P.H["fire-load"]){ZC.AQ.CM("load",P,P.J1());P.H["fire-load"]=null}ZC.TS[P.N]=new Date().getTime()-ZC.TS[P.N]},_unbind_:function(){var b=this;if(b.R1){ZC.A2("#"+b.N+"-license").unbind("click",b.R1)}ZC.A2("#"+b.N+"-menu").die(ZC._[47],b.PQ);ZC.A2("."+b.N+"-menu-item").die(ZC._[47],b.PQ);ZC.A2("."+b.N+"-menu-item").die("click",b.A9Y).die("mouseover",b.A9P).die("mouseout",b.A9Q);b.H["menu-item-events"]=false;if(b.GW!=null){b.GW.unbind()}if(b.C9!=null){b.C9.unbind()}if(ZC.mobile){ZC.A2("#"+b.N+"-img").unbind("touchstart",b.A9M).unbind("touchmove",b.L9).unbind("touchend",b.A9N);ZC.A2("#"+b.N+"-menu-area").die("touchstart",b.A9M);ZC.A2("#"+b.N+"-img").unbind("touchstart",b.A9M_static)}ZC.A2(document).unbind("keyup",b.WV);ZC.A2("#"+b.N+ZC._[64]).die("click",b.A9Z)},R5:function(h,f,g){if(typeof g==ZC._[31]){g=false}var l=ZC.AH("zc-menu-"+(g?"sep":"item")+"-"+h);if(l){l.style.display=f?"block":"none"}},ZY:function(au){var X=this,ar;if(typeof au==ZC._[31]){au=-1}var aB={};ZC._cp_(X.DC,aB);if(au!=-1&&X.o[ZC._[16]][au]){ZC._cp_(X.o[ZC._[16]][au]["gui"],aB,null,null,true)}ZC.A2("#"+X.N+"-menu").remove();var aD=[];if(typeof ZC.AU==ZC._[31]){aD.push({id:"3D",enabled:"none"},{id:"SwitchTo3D",enabled:"none"},{id:"SwitchTo2D",enabled:"none"})}if((ar=aB.behaviors)!=null){for(var U=0,av=ar.length;U<av;U++){var ai=false;for(var W=0,ax=aD.length;W<ax;W++){if(aD[W]["id"]==ar[U]["id"]){aD[W]=ar[U];ai=true}}if(!ai){aD.push(ar[U])}}}var ae=aB["context-menu"];var aj=aB["context-menu[mobile]"];for(var U=0,av=aD.length;U<av;U++){if(aD[U]["function"]!=null){if(ae==null){ae={}}if(ae["custom-items"]==null){ae["custom-items"]=[]}ae["custom-items"].push(aD[U])}}X.L7=new ZC.D2(X);X.AV.load(X.L7.o,ZC._[63]);if(ae){X.L7.append(ae)}if(ZC.mobile){X.AV.load(X.L7.o,ZC._[63]+"[mobile]");if(aj){X.L7.append(aj)}}X.L7.parse();if(X.L7.AP||!X.Y0){if(!ZC.AH(X.N+"-menu-area")){if(ZC.A2.browser.opera&&ZC._i_(ZC.A2.browser.version)<=9.5||ZC.mobile){var af=new ZC.D2(X);X.AV.load(af.o,ZC._[63]+".button");if(ae&&(ar=ae.button)!=null){af.append(ar)}if(ZC.mobile){X.AV.load(af.o,ZC._[63]+"[mobile].button");if(aj&&(ar=aj.button)!=null){af.append(ar)}}af.N=X.N+"-menu-trigger";af.HA=ZC.AH(X.N+"-tools");af.A0=ZC.AH(X.N+"-trigger-c");af.parse();if(af.AP){af.paint();if(af.AN==""){var ak=new ZC.DA(X);ak.D5=false;X.AV.load(ak.o,ZC._[63]+".gear");if(ae&&(ar=ae.gear)!=null){ak.append(ar)}if(ZC.mobile){X.AV.load(ak.o,ZC._[63]+"[mobile].gear");if(aj&&(ar=aj.gear)!=null){ak.append(ar)}}ak.N=X.N+"-menu-trigger-gear";ak.HA=ZC.AH(X.N+"-tools");ak.A0=ZC.AH(X.N+"-trigger-c");ak.iX=af.iX+af.I/2;ak.iY=af.iY+af.F/2;ak.AO=ZC.DI(af.I,af.F)/4.5;ak.parse();ak.paint();var at=new ZC.DA(X);at.copy(af);at.N=X.N+"-menu-trigger-gear-hole";at.HA=ZC.AH(X.N+"-tools");at.A0=ZC.AH(X.N+"-trigger-c");at.DY="circle";at.AO=ZC.DI(af.I,af.F)/7;at.parse();at.iX=af.iX+af.I/2;at.iY=af.iY+af.F/2;at.paint()}ZC.AH(X.N+"-map").innerHTML+=ZC.L.E7("rect")+‘id="‘+X.N+"-menu-area"+ZC._[30]+ZC._i_(af.iX+ZC.MAPTX)+","+ZC._i_(af.iY+ZC.MAPTX)+","+ZC._i_(af.iX+af.I+ZC.MAPTX)+","+ZC._i_(af.iY+af.F+ZC.MAPTX)+‘" />‘}}}var an=new ZC.D2(X);X.AV.load(an.o,ZC._[63]+".item");if(ae&&(ar=ae.item)!=null){an.append(ar)}if(ZC.mobile){X.AV.load(an.o,ZC._[63]+"[mobile].item");if(aj&&(ar=aj.item)!=null){an.append(ar)}}an.parse();var aA=new ZC.D2(X);aA.copy(an);X.AV.load(aA.o,ZC._[63]+".item.hover-state");if(ae&&ae.item!=null&&(ar=ae.item["hover-state"])!=null){aA.append(ar)}if(ZC.mobile){X.AV.load(aA.o,ZC._[63]+"[mobile].item.hover-state");if(aj&&aj.item!=null&&(ar=aj.item["hover-state"])!=null){aA.append(ar)}}aA.parse();function ah(a){return a==""?"none":"url("+(a.indexOf("zc.")==0?ZC.IMAGES[a]:a)+")"}var aw=[];var Z=null;function aa(a){return‘<div id="‘+X.N+"-menu-sep-"+a+‘" class="zc-menu-sep" style="background:‘+an.W+" "+ah(an.BY)+‘ repeat-x 50% 0%;">&nbsp;</div>‘}function ab(e,c,b){c=c||ZC.FL["menu-"+e];var a=typeof b==ZC._[31]||!b?"":" zc-custom-menu-item "+X.N+"-custom-menu-item";if(‘downloadpdfprintviewallswitchtologbugreportxmiabtviewsource‘.indexOf(e)>-1) return ‘<div></div>‘;  return‘<div class="zc-menu-item ‘+X.N+"-menu-item"+a+‘" style="color:‘+an.BO+";background:"+an.W+" "+ah(an.BY)+" repeat-x 50% 0%;border-top:"+(ZC.ie67?an.AA:0)+"px solid "+an.BA+";border-left:"+an.AA+"px solid "+an.BA+";border-right:"+an.AA+"px solid "+an.BA+";padding:"+an.FO+"px "+an.FA+"px "+an.G4+"px "+an.EL+‘px;" id="‘+X.N+"-menu-item-"+e+‘">‘+c+"</div>"}var al=X.L7.o.empty==null?false:ZC._b_(X.L7.o.empty);function am(a){if(al){return{enabled:"none"}}for(var b=0,c=aD.length;b<c;b++){if(aD[b]["id"]==a){return aD[b]}}return{enabled:"all"}}Z=am("Reload");if(Z.enabled!="none"){aw.push(ab("reload",Z.text));aw.push(aa("reload"))}if(typeof ZC.A21!=ZC._[31]){Z=am("SaveAsImage");if(Z.enabled!="none"){aw.push(ab("viewaspng",Z.text?Z.text+" (PNG)":null));aw.push(ab("viewasjpg",Z.text?Z.text+" (JPG)":null));aw.push(aa("export"))}Z=am("DownloadPDF");if(Z.enabled!="none"){aw.push(ab("downloadpdf",Z.text));aw.push(aa("downloadpdf"))}Z=am("Print");if(Z.enabled!="none"){aw.push(ab("print",Z.text));aw.push(aa("print"))}}if(au!=-1){var s=false;for(var W=0,ax=X.B0[au].B9.length;W<ax;W++){if(X.B0[au].B9[W].H0){s=true}}if(s&&typeof ZC.A19!=ZC._[31]){var aC=false;Z=am("ZoomIn");if(Z.enabled!="none"){aw.push(ab("zoomin",Z.text));aC=true}Z=am("ZoomOut");if(Z.enabled!="none"){aw.push(ab("zoomout",Z.text));aC=true}Z=am("ViewAll");if(Z.enabled!="none"){aw.push(ab("viewall",Z.text));aC=true}if(aC){aw.push(aa("zoom"))}}}var ac=false,ap=false;if(au!=-1){if(ZC.AG(["line","area","bar","vbar","hbar","pie","mixed"],X.B0[au].AC)!=-1){ac=true;X.SR="2d"}if(ZC.AG(["line3d","area3d","bar3d","vbar3d","hbar3d","pie3d","mixed3d"],X.B0[au].AC)!=-1){ap=true;X.SR="3d"}}if(ac||ap){Z=am("3D");if(Z.enabled!="none"){Z=am(ac?"SwitchTo3D":"SwitchTo2D");if(Z.enabled!="none"){aw.push(ab(ac?"switchto3d":"switchto2d",Z.text));aw.push(aa("dimension"))}}}if(au!=-1){var ag=false,az=false;for(var W=0;W<X.B0[au].B9.length;W++){var ao=X.B0[au].B9[W];if(ao.B5.indexOf(ZC._[51])==0){ag=true}if(ao.M4=="log"){az=true}}if(ag){Z=am("Progression");if(Z.enabled!="none"){Z=am(az?"LinearScale":"LogScale");if(Z.enabled!="none"){aw.push(ab(az?"switchtolin":"switchtolog",Z.text));aw.push(aa("progression"))}}}}var Y=0;if(typeof ZC.A34!=ZC._[31]){Z=am("ViewSource");if(Z.enabled!="none"){aw.push(ab("viewsource",Z.text));Y++}Z=am("BugReport");if(Z.enabled!="none"){aw.push(ab("bugreport",Z.text));Y++}}if(Y>0){aw.push(aa("tools"))}Z=am("FullScreen");if(Z.enabled!="none"&&!X.JN){if(X.O8){Z=am("ExitFullScreen");aw.push(ab("exitfullscreen",Z.text));aw.push(aa("exitfullscreen"))}else{aw.push(ab("fullscreen",Z.text));aw.push(aa("fullscreen"))}}if(X.GE){Z=am("GoBack");if(Z.enabled!="none"){aw.push(ab("goback",Z.text))}Z=am("GoForward");if(Z.enabled!="none"){aw.push(ab("goforward",Z.text))}aw.push(aa("history"))}if(!X.RM){aw.push(ab("xmibl",ZC.T5("Ohl Yvprafr")))}if(!X.A3Z){aw.push(ab(ZC.T5("kzvnog"),ZC.T5("Nobhg MvatPuneg")))}if(aw.length>0&&aw[aw.length-1].indexOf("zc-menu-sep")!=-1){aw.splice(aw.length-1,1)}var aq={};var ad;if(ae&&(ad=ae["custom-items"])!=null){if(aw.length>0){aw.push(aa("custom"))}for(var U=0,av=ad.length;U<av;U++){var ay=ad[U]["id"]||"custom-"+U;if(ad[U]["id"]=="sep"){aw.push(aa("custom-"+U))}else{var N=ad[U]["text"]||"Custom Menu "+U;aq[ay]={fn:ad[U]["function"]||"",url:ad[U]["url"]||"",target:ad[U]["target"]||""};aw.push(ab(ay,N,true))}}}ZC.L.IU({id:X.N+"-menu",p:document.body,cls:"zc-menu zc-style",top:af==null?0:af.iY+af.F/2,left:af==null?0:af.iX+af.I/2,borderBottom:X.L7.AA+"px solid "+X.L7.BA,background:(X.L7.W==-1?"transparent":X.L7.W)+" "+ah(X.L7.BY),paddingTop:X.L7.FO,paddingRight:X.L7.FA,paddingBottom:X.L7.G4,paddingLeft:X.L7.EL,html:aw.join("")});X.A9Y=function(a){var f=a.target.nodeType!=1?a.target.parentNode.id:a.target.id;var e=f.substring(0,f.indexOf("-menu-item-"));var b=zingchart.getLoader(e);if(ZC.mobile){b.L9()}var g=b.ZP(b.OS[0],b.OS[1]);b.hideCM();if(ZC.mobile){zingchart.QF(a)}var c=f.replace(b.N+"-menu-item-","");b.A4Q({graphid:g?g.N:null,menuitemid:c,ev:ZC.A2.BM(a)});switch(c){case"switchto2d":case"switchto3d":if(g){b.ZK(g.N)}break;case"switchtolin":b.VN(g.N,"lin");break;case"switchtolog":b.VN(g.N,"log");break;case"reload":b.A3C();break;case"viewaspng":b.N4("png");break;case"viewasjpg":b.N4("jpeg");break;case"downloadpdf":b.N4("pdf");break;case"print":b.A48();break;case"viewsource":b.A5T();break;case"bugreport":b.A65();break;case"fullscreen":b.ZW();break;case"xmibl":window.location.href="http://www.shuiguanli.com/";break;case"goback":zingchart.exec(b.N,"goback");break;case"goforward":zingchart.exec(b.N,"goforward");break;case"zoomin":if(g){b.GW.D=g;b.A3B({graphid:g.N})}break;case"zoomout":if(g){b.GW.D=g;b.A2E({graphid:g.N})}break;case"viewall":if(g){b.GW.D=g;b.A2B({graphid:g.N})}break;case ZC.T5("kzvnog"):b.A74();break;default:if((ar=aq[c])!=null){if(ar.fn!=""){b.A5E({graphid:g?g.N:null,menuitemid:c,"function":ar.fn})}else{if(ar.url!=""&&g){g.S2(a,ar.url,ar.target)}}}break}};X.A9P=function(a){this.style.backgroundColor=aA.W;this.style.color=aA.BO;this.style.backgroundImage=ah(aA.BY);this.style.borderLeft=this.style.borderRight=aA.AA+"px solid "+aA.BA};X.A9Q=function(a){this.style.backgroundColor=an.W;this.style.color=an.BO;this.style.backgroundImage=ah(an.BY);this.style.borderLeft=this.style.borderRight=an.AA+"px solid "+an.BA};if(!X.H["menu-item-events"]){X.PQ=function(a){a.preventDefault();return false};ZC.A2("#"+X.N+"-menu").live(ZC._[47],X.PQ);ZC.A2("."+X.N+"-menu-item").live(ZC._[47],X.PQ);ZC.A2("."+X.N+"-menu-item").live("click",X.A9Y).live("mouseover",X.A9P).live("mouseout",X.A9Q);X.H["menu-item-events"]=true}}},destroy:function(){var b=this;b._unbind_();zingchart.IB.length-=1;b.clear();ZC.A2("#zc-fullscreen").remove();document.body.style.overflow=""},K4:function(J,A){var s=this;if(A==null){A=false}if(!A&&!s.V6){return}if(ZC.AG(s.I8,ZC._[41])!=-1){return}var v=ZC.A2("#"+s.N);if(typeof v.offset()==ZC._[31]||v.width()+v.height()==0){return}s.X5=true;if(A){ZC.L.IU({id:s.N+"-dummy",p:ZC.AH(s.N),wh:s.I+"/"+s.F})}if(!s.H.hideprogresslogo||!s.RM){var y=v.offset().left+ZC._i_(v.css("border-left-width"))+(J==null?s.iX:J.iX);var C=v.offset().top+ZC._i_(v.css("border-top-width"))+(J==null?s.iY:J.iY);if(ZC.ipad||ZC.iphone){y-=ZC.A2(window).scrollLeft();C-=ZC.A2(window).scrollTop()}var H=J==null?s.I:J.I;var K=J==null?s.F:J.F;var z=ZC._i_(s.I*0.8);var G=30;var D=new ZC.D2(s);s.AV.load(D.o,"loader.gui.progress");D.append(s.H.progress);if(s.DC!=null&&(E=s.DC.progress)!=null){D.append(E)}D.parse();var u=ZC.FL["progress-wait-long"];var I=(ZC.ie67?"//":"")+(s.H.customprogresslogo||ZC.IMAGES["zc.logo"]);var w=D.W+" url("+I+") no-repeat center center";if(H<180||K<90){w=D.W;G=-12}if(H<120&&H>60){z=60;u=ZC.FL["progress-wait-short"]}else{if(H<60){z=20;u=ZC.FL["progress-wait-mini"]}}var x=ZC.L.IU({id:s.N+"-progress",p:document.body,tl:C+"/"+y,width:H-2*D.AA,height:K-2*D.AA,position:"absolute",opacity:0.8,border:D.AA+"px solid "+D.BA,background:w});ZC.L.IU({id:s.N+"-progress-text",p:x,width:z,html:u,textAlign:"center",marginLeft:ZC._i_((H-z)/2),marginTop:ZC._i_(K/2+G),fontFamily:zingchart.FONTFAMILY,fontSize:zingchart.FONTSIZE,color:D.BO,fontWeight:"bold"})}},Y5:function(){var b=this;if(b.H.hideprogresslogo){return}b.X5=false;ZC.L.F6([b.N+"-dummy",b.N+"-progress"])},Z5:function(I,x){var K=this;var s,L;if((L=I[ZC._[16]])!=null){s=L}else{s=[I]}var J=I.layout||"";var C=ZC.AX.WP(J,s.length);var G=s[x];var w=K.I/C[1];var M=K.F/C[0];var y=Math.floor(x/C[1]);var o=x-y*C[0];var z=o*w;var A=y*M;if(G){if((L=G.x)!=null){z=ZC._p_(L);if(z<1){z=ZC._i_(z*K.I)}}if((L=G.y)!=null){A=ZC._p_(L);if(A<1){A=ZC._i_(A*K.F)}}if((L=G[ZC._[19]])!=null){w=ZC._p_(L);if(w<1){w=ZC._i_(w*K.I)}}if((L=G[ZC._[20]])!=null){M=ZC._p_(L);if(M<1){M=ZC._i_(M*K.F)}}}var H=[0,0,0,0];if(G.plotarea){if(G.plotarea.margin!=null){var D=new ZC.HC(null);H=D.m_(G.plotarea.margin,"all",w,M)}}return{graph:{x:ZC._i_(z),y:ZC._i_(A),width:ZC._i_(w),height:ZC._i_(M)},plotarea:{x:H[3],y:H[0],width:w-H[1]-H[3],height:M-H[0]-H[2]}}},IC:function(){var b=this;if(b.o[ZC._[16]]==null){b.o={graphset:[b.o]}}b.K4();zingchart.W3(b,b.ZB(),function(){b.o=ZC.AQ.CM("dataparse",b,b.J1(),b.o);ZC.U1(function(){b.LO(function(){b.parse();b.paint()})})})},render:function(){var c=this;function e(){if(!c.Q8){c.A6X()}if(!c.H.hideprogresslogo){c.K4(null,true)}function a(){if(c.MX!=""||c.JT!=null){c.A3E()}else{c.load()}}ZC.U1(a)}e()},TM:function(c){var e=this;if(e.XO==null){e.XO=new Date().getTime();e.A57=window.setTimeout(function(){if(e.XO!=null){e.XO=null;zingchart.TL(c)}},1500)}},J1:function(){var h=this;var g=0,l=0;if(!ZC.mobile||typeof Ext==ZC._[31]){var f=ZC.A2("#"+h.N+"-top");if(f.length&&f.offset()){g=f.offset().left;l=f.offset().top}}if(typeof h.OS[0]!=ZC._[31]){g=h.OS[0]-g}else{g=0}if(typeof h.OS[1]!=ZC._[31]){l=h.OS[1]-l}else{l=0}return{id:h.N,width:h.I,height:h.F,output:h.A8,x:g,y:l,targetid:h.OS[2]}},A68:function(c){var e=this;c=c||{};if(c.resource!=null){e.O3[c.resource]=c.data||"[]";e.QV++}},A3B:function(b){},A2E:function(b){},A2B:function(b){},ND:function(b){},A3S:function(g){var f=this;g=g||{};if(g[ZC._[3]]!=null){var e=f.MG(g[ZC._[3]]);if(e!=null){e.clear()}}else{f.clear()}},A1T:function(e){e=e||ZC.FL["sync-wait"];var g=this;if(ZC.AH(g.N+"-blocker")==null){ZC.L.IU({cls:"zc-abs zc-style zc-blocker",id:g.N+"-blocker",p:ZC.AH(g.N+"-top"),wh:g.I+"/"+g.F,opacity:0.75});ZC.L.IU({id:g.N+"-blocker-t",p:ZC.AH(g.N+"-blocker"),html:e});var f=ZC.A2("#"+g.N+"-blocker-t");f.css("top",g.F/2-f.height()/2+"px").css("left",g.I/2-f.width()/2+"px")}},YE:function(){ZC.L.F6(this.N+"-blocker")},A74:function(){var r=this;ZC.L.IU({cls:"zc-abs",id:r.N+"-about-mask",p:ZC.AH(r.N+"-top"),wh:r.I+"/"+r.F,background:"#ccc",opacity:0.75});var o=ZC.DI(320,r.I);var m=ZC.DI(215,r.F);var p=ZC.BT(0,(r.I-o)/2);var s=ZC.BT(0,(r.F-m)/2);var n=ZC.L.IU({cls:"zc-about zc-style",id:r.N+"-about",p:ZC.AH(r.N+"-top"),tl:s+"/"+p,wh:o-(ZC.quirks?0:10)+"/"+(m-(ZC.quirks?0:10))});var q="";if(r.OA!=""){q="Custom Built for<br />"+r.OA}n.innerHTML=‘<div class="zc-about-1"><a href="http://www.shuiguanli.com" target="_blank">shuiguanli.com</a></div><div class="zc-about-2">&copy;2009-2013</div><div class="zc-about-3"><div id="‘+r.N+‘-about-close">‘+ZC.FL["about-close"]+‘</div></div><div class="zc-about-4" style="padding:‘+(m-215)+‘px 5px 5px 5px;"><div>&nbsp;<br />Build ‘+ZC.VERSION+" ["+r.A8+"]</div>"+q+"</div>";function t(){ZC.L.F6([r.N+"-about",r.N+"-about-mask"])}ZC.A2("#"+r.N+"-about-close").bind("click",t);ZC.A2(n).bind("click",t)},KN:function(m,l){var h=this;if(ZC.AQ.A1S("error",h)){ZC.AQ.CM("error",h,{id:h.N,error:m,section:l,json:h.H.json||h.H.rawsource});return}var n="";if(typeof m=="object"){n+=m.name+":"+m.message+"\n\n"}else{n+=new String(m)+"\n\n"}if(l!=null){n+="Section:"+l+"\n\n"}n+="JSON data:\n\n"+h.H.json+"\n\n";h.Y5();if(ZC.AH(h.N+"-top")==null){h.A59()}var g=ZC.L.IU({cls:"zc-abs zc-error zc-style",id:h.N+"-error",p:ZC.AH(h.N+"-top"),wh:h.I-(ZC.quirks?0:10)+"/"+(h.F-(ZC.quirks?0:10))});g.innerHTML=‘<div class="zc-form-row-label zc-form-s0">‘+ZC.FL["error-header"]+‘</div><div class="zc-form-row-label zc-form-s1">‘+ZC.FL["error-message"]+‘</div><div class="zc-form-row-element"><textarea id="‘+h.N+‘-error-message" style="width:‘+(h.I-35)+"px;height:"+(h.F-135)+‘px;"></textarea></div><div class="zc-form-row-element zc-form-row-last"><input type="button" value="‘+ZC.FL["error-close"]+‘" id="‘+h.N+‘-error-close" /></div>‘;ZC.A2("#"+h.N+"-error-message").val(ZC.HM(n));ZC.A2("#"+h.N+"-error-close").bind("click",function(){ZC.L.F6(h.N+"-error")})},A5T:function(){},A65:function(){},ZW:function(){var c=this;var e=document.createElement("div");e.id="zc-fullscreen";e.style.zIndex=zingchart.FSZINDEX;e.style.overflow="hidden";document.body.appendChild(e);window.scroll(0,0);zingchart.render({id:"zc-fullscreen",output:c.A8,width:ZC.A2(window).width(),height:ZC.A2(window).height(),fullscreenmode:true,theme:c.P9,modules:c.W7,data:c.H.source,defaults:c.JT,defaultsurl:c.MX})},VN:function(o,t){var q=this;for(var r=0,n=q.B0.length;r<n;r++){if(o==q.B0[r].N){var p=q.o[ZC._[16]][r];for(var s=0;s<10;s++){var m=ZC._[51]+(s==0?"":"-"+s);if(p[m]!=null){p[m]["progression"]=t}if(p[ZC.CX(m)]!=null){p[ZC.CX(m)]["progression"]=t}}}}q.IC()},ZK:function(q){var n=this;var t=["line","area","bar","vbar","hbar","pie","mixed"];for(var r=0,u=n.B0.length;r<u;r++){if(q==n.B0[r].N){var v=n.o[ZC._[16]][r];if(v.type=="mixed"){for(var s=0,p=v[ZC._[11]].length;s<p;s++){var o=v[ZC._[11]][s];o.type=o.type||"line";if(n.SR=="3d"){o.type=o.type.replace("3d","")}else{if(ZC.AG(t,o.type)!=-1){o.type=o.type+"3d"}}}}else{if(n.SR=="3d"){v.type=v.type.replace("3d","")}else{if(ZC.AG(t,v.type)!=-1){v.type=v.type+"3d"}}}}}n.SR=n.SR=="3d"?"2d":"3d";n.IC()},A3C:function(g){var f=this;g=g||{};ZC.AQ.CM("reload",f,{id:f.N,graphid:g[ZC._[3]]});if((E=g[ZC._[3]])!=null){var e=f.BR(E);if(e!=null){f.K4(e);f.load(e.N)}}else{f.N5=[];f.KM=-1;f.K4();f.load()}},A7F:function(g){var f=this;g=g||{};if((E=g[ZC._[3]])!=null){var e=f.BR(E);if(e!=null&&g.dataurl!=null){f.K4(e);f.load(E,g.dataurl)}}else{if((E=g.dataurl)!=null){f.OD=E;f.K4();f.load()}}},A48:function(){},N4:function(e,c){},TU:function(b){},A4Q:function(c){var e=this;ZC._cp_(e.J1(),c);ZC.AQ.CM("menu_item_click",e,c)},A5E:function(O){var s=this;try{var DL=ZC.AQ.A4M(O["function"]);O["function"]=DL[0];O["arguments"]=DL[1];ZC._cp_(s.J1(),O);eval(O["function"]).call(s,O)}catch(GL){s.KN(GL,"JavaScript data loader");return false}},BR:function(c){var e=this;if(c==null){if(e.B0.length>0){return e.B0[0]}}else{return e.MG(c)}return null},bind:function(c,e){zingchart.bind(this.N,c,e)},unbind:function(c,e){zingchart.unbind(this.N,c,e)},exec:function(c,e){return zingchart.exec(this.N,c,e)}});ZC.OC.prototype.A3B=function(v){var s=this;v=v||{};v.action="zoomin";if(v[ZC._[3]]!=null){var I=s.MG(v[ZC._[3]])}else{var I=s.B0[0]}if(I!=null){for(var x=0,G=I.BH("k").length;x<G;x++){var t=I.BH("k")[x];var z=t.J==1?"":"-"+t.J;if(t.H0&&(v["zoomx"+z]==null||v["zoomx"+z])){v["zoomx"+z]=true;var w=t.A3-t.Y;var y=t.Y+(w<2?0:ZC._i_(w/4));var A=t.A3-(w<2?0:ZC._i_(w/4));if(y<A){v["xmin"+z]=y;v["xmax"+z]=A}}}for(var x=0,G=I.BH("v").length;x<G;x++){var u=I.BH("v")[x];var z=u.J==1?"":"-"+u.J;if(u.H0&&(v["zoomy"+z]==null||v["zoomy"+z])){v["zoomy"+z]=true;var C=u.C7-u.BJ;var D=u.BJ+ZC._f_(C/4);var H=u.C7-ZC._f_(C/4);if(D<H){v["ymin"+z]=D;v["ymax"+z]=H}}}s.ND(v)}};ZC.OC.prototype.A2E=function(v){var s=this;v=v||{};v.action="zoomout";if(v[ZC._[3]]!=null){var I=s.MG(v[ZC._[3]])}else{var I=s.B0[0]}if(I!=null){for(var x=0,G=I.BH("k").length;x<G;x++){var t=I.BH("k")[x];var z=t.J==1?"":"-"+t.J;if(t.H0&&(v["zoomx"+z]==null||v["zoomx"+z])){v["zoomx"+z]=true;var w=ZC.BT(2,t.A3-t.Y);var y=ZC.BT(t.GY,t.Y-ZC._i_(w/2));var A=ZC.DI(t.HT,t.A3+ZC._i_(w/2));if(y<A){v["xmin"+z]=y;v["xmax"+z]=A}}}for(var x=0,G=I.BH("v").length;x<G;x++){var u=I.BH("v")[x];var z=u.J==1?"":"-"+u.J;if(u.H0&&(v["zoomy"+z]==null||v["zoomy"+z])){v["zoomy"+z]=true;var C=u.C7-u.BJ;var D=ZC.BT(u.KU,u.BJ-ZC._f_(C/2));var H=ZC.DI(u.M0,u.C7+ZC._f_(C/2));if(D<H){v["ymin"+z]=D;v["ymax"+z]=H}}}s.ND(v)}};ZC.OC.prototype.A2B=function(o){var r=this;o=o||{};if(o[ZC._[3]]!=null){var p=r.MG(o[ZC._[3]])}else{var p=r.B0[0]}o.action="viewall";for(var l=0,m=p.BH("k").length;l<m;l++){var n=p.BH("k")[l];var q=n.J==1?"":"-"+n.J;o["zoomx"+q]=true;o["xmin"+q]=null;o["xmax"+q]=null}for(var l=0,m=p.BH("v").length;l<m;l++){var n=p.BH("v")[l];var q=n.J==1?"":"-"+n.J;o["zoomy"+q]=true;o["ymin"+q]=null;o["ymax"+q]=null}r.ND(o)};ZC.OC.prototype.ND=function(S){var K=this,N;S=S||{};S.id=K.N;if(S[ZC._[3]]!=null){var J=K.MG(S[ZC._[3]])}else{var J=K.B0[0]}if(J!=null){if(J.D8){J.D8.GP=false}var W={};for(var O=0,aa=J.BH("k").length;O<aa;O++){var Q=J.BH("k")[O];var U=Q.J==1?"":"-"+Q.J;if(S["kmin"+U]!=null&&S["kmax"+U]!=null){var I=false,s=false;for(var O=0,aa=Q.Z.length;O<aa;O++){if(S["kmin"+U]<=Q.Z[O]&&!I){S["xmin"+U]=O;I=true}if(S["kmax"+U]<=Q.Z[O]&&!s){S["xmax"+U]=O;s=true}if(I&&s){break}}if(!I){S["xmin"+U]=0}if(!s){S["xmax"+U]=Q.Z.length-1}S["zoomx"+U]=true}else{var Z=J.D8&&J.D8.KQ?J.D8.OM[Q.B5][ZC._[5]]:Q.Z;if((N=Z[S["xmin"+U]])!=null){S["kmin"+U]=N}if((N=Z[S["xmax"+U]])!=null){S["kmax"+U]=N}}}var X=ZC.AQ.CM("zoom",J.A,S,true);if(X||typeof X==ZC._[31]){for(var O=0,aa=J.BH("k").length;O<aa;O++){var Q=J.BH("k")[O];var U=Q.J==1?"":"-"+Q.J;if(S["zoomx"+U]){Q.A4Z(S["xmin"+U],S["xmax"+U]);W["xmin"+U]=S["xmin"+U];W["xmax"+U]=S["xmax"+U]}}for(var O=0,aa=J.BH("v").length;O<aa;O++){var P=J.BH("v")[O];var U=P.J==1?"":"-"+P.J;if(S["zoomy"+U]&&P!=null){P.A4Z(S["ymin"+U],S["ymax"+U]);W["ymin"+U]=S["ymin"+U];W["ymax"+U]=S["ymax"+U]}}K.GW.parse();if(K.GW.V3){K.H["graph"+J.J+".zoom"]=W}if(J.D8!=null&&!S.preview){J.D8.update(S.xmin,S.xmax,S.ymin,S.ymax,true)}J.clear(true);if(P&&P.XN){var p=ZC.MAX;var H=-ZC.MAX;for(var D=0,e=J.AY.AB.length;D<e;D++){if(J.AY.AB[D].AP&&ZC.AG(J.AY.AB[D].B9,P.B5)!=-1){if(Q.ES){for(var O=0,aa=J.AY.AB[D].Q.length;O<aa;O++){if(BI=J.AY.AB[D].Q[O]){if(ZC.EO(BI.CF,Q.Z[Q.Y],Q.Z[Q.A3])){p=ZC.DI(p,BI.CU);H=ZC.BT(H,BI.CU);for(var M=0,Y=BI.CS.length;M<Y;M++){p=ZC.DI(p,BI.CS[M]);H=ZC.BT(H,BI.CS[M])}}}}}else{for(var O=Q.Y;O<=Q.A3;O++){if(BI=J.AY.AB[D].Q[O]){p=ZC.DI(p,BI.CU);H=ZC.BT(H,BI.CU);for(var M=0,Y=BI.CS.length;M<Y;M++){p=ZC.DI(p,BI.CS[M]);H=ZC.BT(H,BI.CS[M])}}}}}}P.UF(p,H,true);P.L4()}var L=ZC._b_(S.zoomto);J.H["skip-preview"]=true;var R=["top","right","bottom","left"];for(var O=0;O<R.length;O++){if(J.H["plotarea.d-margin-"+R[O]]){J.o.plotarea["margin-"+R[O]]="dynamic";J.H["plotarea.d-margin"]=J.H["plotarea.d-margin-"+R[O]]=true}}J.setupDynamicPlotArea();J.paint(!L);K.GW.D=null}}};zingchart.A5Y=function(u,x,v){if(document.getElementById("zc-fullscreen")){u="zc-fullscreen"}v=v||{};if(typeof v=="string"){v=JSON.parse(v)}var q=zingchart.getLoader(u);if(v[ZC._[53]]!=null){q.H[ZC._[53]]=ZC._b_(v[ZC._[53]])}if(q!=null){switch(x){case"getzoom":var t={};var C=q.BR(v[ZC._[3]]);if(C){for(var w=0,z=C.B9.length;w<z;w++){var A=C.B9[w];if(A.AC=="k"){t[A.B5]={xmin:A.Y,xmax:A.A3,vmin:A.Z[A.Y],vmax:A.Z[A.A3]}}else{t[A.B5]={ymin:A.BJ,ymax:A.C7,vmin:A.Z[A.Y],vmax:A.Z[A.A3]}}}}return t;break;case"zoomin":q.A3B(v);break;case"zoomout":q.A2E(v);break;case"zoomto":var C=q.BR(v[ZC._[3]]);if(v.xall!=null&&v.xall){for(var w=0,z=C.BH("k").length;w<z;w++){var r=C.BH("k")[w];var y=r.J==1?"":"-"+r.J;v["xmin"+y]=v.xmin||null;v["xmax"+y]=v.xmax||null;v["kmin"+y]=v.kmin||null;v["kmax"+y]=v.kmax||null}}for(var w=0,z=C.BH("k").length;w<z;w++){var r=C.BH("k")[w];var y=r.J==1?"":"-"+r.J;if(v["xmin"+y]!=null||v["xmax"+y]!=null||v["kmin"+y]!=null||v["kmax"+y]!=null){v["zoomx"+y]=true}}if(v.yall!=null&&v.yall){for(var w=0,z=C.BH("v").length;w<z;w++){var s=C.BH("v")[w];var y=s.J==1?"":"-"+s.J;v["ymin"+y]=v.ymin||null;v["ymax"+y]=v.ymax||null}}for(var w=0,z=C.BH("v").length;w<z;w++){var s=C.BH("v")[w];var y=s.J==1?"":"-"+s.J;if(v["ymin"+y]!=null||v["ymax"+y]!=null){v["zoomy"+y]=true}}q.ND(v);break;case"zoomtovalues":var C=q.BR(v[ZC._[3]]);if(v.xall!=null&&v.xall){for(var w=0,z=C.BH("k").length;w<z;w++){var r=C.BH("k")[w];var y=r.J==1?"":"-"+r.J;v["xmin"+y]=v.xmin||null;v["xmax"+y]=v.xmax||null}}for(var w=0,z=C.BH("k").length;w<z;w++){var r=C.BH("k")[w];var y=r.J==1?"":"-"+r.J;if(v["xmin"+y]!=null||v["xmax"+y]!=null){if((xmin=ZC.AG(r.Z,v["xmin"+y]))!=-1){v["xmin"+y]=xmin}else{v["xmin"+y]=0}if((xmax=ZC.AG(r.Z,v["xmax"+y]))!=-1){v["xmax"+y]=xmax}else{v["xmax"+y]=r.Z.length-1}v["zoomx"+y]=true}}if(v.yall!=null&&v.yall){for(var w=0,z=C.BH("v").length;w<z;w++){var s=C.BH("v")[w];var y=s.J==1?"":"-"+s.J;v["ymin"+y]=v.ymin||null;v["ymax"+y]=v.ymax||null}}for(var w=0,z=C.BH("v").length;w<z;w++){var s=C.BH("v")[w];var y=s.J==1?"":"-"+s.J;if(v["ymin"+y]!=null||v["ymax"+y]!=null){v["zoomy"+y]=true}}q.ND(v);break;case"viewall":q.A2B(v);break}}return null};ZC.A21={};ZC.AQ.Y4=function(t,o,c,s){s=s||"png";if(s=="jpg"){s="jpeg"}var u=document.createElement("canvas");u.width=o;u.height=c;u.style.width=o+"px";u.style.height=c+"px";var v=u.getContext("2d");if(!(t instanceof Array)){t=[t]}for(var q=0,p=t.length;q<p;q++){if(t[q].className.indexOf("zc-no-print")==-1){v.drawImage(t[q],0,0,t[q].width,t[q].height,0,0,o,c)}}var r=u.toDataURL("image/"+s);return r};ZC.AQ.A5X=function(l,r,o,m,n){if(n==null){n=false}var p=ZC.AQ.Y4(l,r,o,m);if(n){var q=document.createElement("img");q.src=p;return q}else{p=p.replace("image/"+m,"image/octet-stream");document.location.href=p}};ZC.OC.prototype.A48=function(){var p=this;var l=[];if(p.A51){return}p.A51=true;var n=document.body.childNodes;var o=ZC.A2(document.body).css(ZC._[0]);var q=ZC.A2(document.body).css("background-image");ZC.A2(document.body).css(ZC._[0],"#fff").css("background-image","none");for(var r=0,m=n.length;r<m;r++){if(n[r].nodeType==1){l[r]=n[r].style.display;n[r].style.display="none"}}document.body.appendChild(ZC.AH(p.N+"-top"));window.setTimeout(function(){window.print();window.setTimeout(function(){ZC.A2(document.body).css(ZC._[0],o).css("background-image",q);ZC.AH(p.N).appendChild(ZC.AH(p.N+"-top"));for(var b=0,a=n.length;b<a;b++){if(n[b].nodeType==1){n[b].style.display=l[b]}}p.A51=false},1000)},50)};ZC.OC.prototype.N4=function(O,R,J,g){var H=this;R=R||{};if(typeof J==ZC._[31]){J=false}if(ZC.AH(H.N+"-viewimage")!=null){return}O=O||"png";A2Q=R.download;ZC.L.JI(ZC.AH(H.N+"-guide-c"),H.A8,0,0,H.I,H.F);ZC.A2(".zc-guide-label").remove();var A=(H.A8=="canvas"||zingchart.AJAXEXPORT)&&O!="pdf";if(A&&!J&&!A2Q){var P=ZC.L.IU({cls:"zc-abs zc-viewimage zc-style",id:H.N+"-viewimage",p:ZC.AH(H.N+"-top"),wh:H.I+"/"+H.F});var G=ZC.L.IU({id:H.N+"-viewimage-close",p:P,tl:5+"/"+(H.I-15),html:ZC.FL["viewimage-close"]})}if(H.A8=="canvas"&&O!="pdf"){var Q=document.createElement("canvas");Q.width=H.I;Q.height=H.F;for(var s=0,K=H.B0.length;s<K;s++){for(var D=0,N=H.B0[s].BU.length;D<N;D++){H.B0[s].BU[D].DR(Q)}}var l=[];ZC.A2("#"+H.N+" canvas").each(function(){if(ZC.AG([H.N+"-guide-c",H.N+"-trigger-c"],this.id)==-1){l.push(this)}});l.push(Q);var I=ZC.AQ.A5X(l,H.I,H.F,O,true);I.id=H.N+"-print-"+O;P.appendChild(I)}else{if(!J){H.A1T(ZC.FL["export-wait"])}function M(){var b={svg:S,w:H.I,h:H.F,t:O};ZC._cp_(R,b);if(zingchart.AJAXEXPORT&&O!="pdf"&&!A2Q){var h="base64=1&";for(var e in b){h+=e+"="+encodeURIComponent(b[e])+"&"}ZC.A2.ajax({type:"post",url:zingchart.EXPORTURL,data:h,success:function(p,q,o){H.YE();if(J){if(g){g(p,q,o)}}else{var n=document.createElement("img");n.src=p;n.id=H.N+"-print-"+O;P.appendChild(n)}}})}else{if(ZC.AH(H.N+"-export")){ZC.L.F6(H.N+"-export")}var c=ZC.L.IU({cls:"zc-abs zc-style",id:H.N+"-export",p:ZC.AH(H.N+"-top"),display:"none"});var f=document;var m=f.createElement("FORM");m.action=zingchart.EXPORTURL;m.method="post";m.enctype="multipart/form-data";c.appendChild(m);m.style.display="none";for(var e in b){var a=f.createElement("INPUT");a.type="hidden";a.name=e;a.value=b[e];m.appendChild(a)}m.submit();m=null;window.setTimeout(function(){H.YE()},1000)}}var S=ZC.AH(H.N+"-top").innerHTML;if(H.A8=="vml"||H.A8=="canvas"&&O=="pdf"){var L=document.createElement("div");var C="zc-export-svg";L.id=C;document.body.appendChild(L);zingchart.render({id:C,output:"!svg",imggen:true,width:H.I,height:H.F,data:H.H.json,defaults:H.JT,theme:H.P9,hideprogresslogo:true,events:{load:function(){S=ZC.AH(C+"-top").innerHTML;zingchart.exec(C,"destroy");M()}}})}else{if(H.A8=="svg"){M()}}}if(A&&!J){ZC.A2(G).css("cursor","pointer").css("left",H.I-15-ZC.A2(G).width()+"px");ZC.A2(G).bind("click",function(){ZC.A2(P).remove()})}};ZC.OC.prototype.TU=function(f){var g=this;f=f||"png";var e=[];ZC.A2("#"+g.N+" canvas").each(function(){if(ZC.AG([g.N+"-guide-c",g.N+"-tooltip-c"],this.id)==-1){e.push(this)}});return ZC.AQ.Y4(e,g.I,g.F,f)};zingchart.A5K=function(Q,I,R){var L;if(document.getElementById("zc-fullscreen")){Q="zc-fullscreen"}R=R||{};if(typeof R=="string"){R=JSON.parse(R)}var M=zingchart.getLoader(Q);if(M!=null){switch(I){case"getimagedata":if(M.A8!="canvas"&&!zingchart.AJAXEXPORT){return -1}var S="png",L;if((L=R.format)!=null){S=L}if((L=R.filetype)!=null){S=L}if(S=="jpg"){S="jpeg"}if(M.A8=="canvas"){return M.TU(S)}else{M.N4(S,{},true,R.callback)}break;case"exportimage":case"saveasimage":if(!R.download){if(M.A8!="canvas"&&!zingchart.AJAXEXPORT){return -1}}var S="png",L,W={};if((L=R.options)!=null){W=L}if((L=R.uid)!=null){W.uid=L}if((L=R.page)!=null){W.page=L}if((L=R.format)!=null){S=L}if((L=R.filetype)!=null){S=L}var O=M.H.exportimageurl||"";if((L=R.url)!=null){O=L}var p=null;if((L=R.callback)!=null){p=L}if(S=="jpg"){S="jpeg"}if(R.download&&(M.A8!="canvas"||S=="pdf")){W.download=true;M.N4(S,W);return}function A(a){ZC.A2.ajax({type:"post",url:O,data:a,success:function(b,c,e){if(p){p(b,c,e)}}})}if(O!=""){if(M.A8=="canvas"){return A(M.TU(S))}else{M.N4(S,W,true,function(a){return A(a)})}}break;case"exportdata":var L;var O=M.H.exportdataurl||"";if((L=R.url)!=null){O=L}var U="";for(var C=0,N=M.B0.length;C<N;C++){U+=",";var K=M.B0[C],H=K.AY.AB;for(var J=0,D=H.length;J<D;J++){U+=‘"‘+H[J].AN.replace(‘"‘,‘"‘)+‘",‘}U=U.substr(0,U.length-1);U+="\n";var P=K.BH("k")[0];for(var G=0,g=P.Z.length;G<g;G++){U+=P.Z[G]+",";for(i=0,A4=H.length;i<A4;i++){if((L=H[i].Q[G])!=null){U+=L.CC+","}}U=U.substr(0,U.length-1);U+="\n"}if(N>1&&C<N-1){U+="\n$\n\n"}}if(O!=""){var p=null;if((L=R.callback)!=null){p=L}ZC.A2.ajax({type:"post",url:O,data:U,success:function(c,b,a){if(p){p(c,b,a)}}})}else{return U}break}}return null};ZC.A34={};ZC.AQ.RV=function(x){var w="";x=x.replace(/\t|\r|\n/g,"");var s=false;var y=false;var C=0;var v="";for(var z=0,A=x.length;z<A;z++){JO=x.substr(z,1);switch(JO){case‘"‘:s=!s;w+=x.substr(z,1);v=JO;break;case"{":w+=x.substr(z,1);if(!s){w+="\n"+new Array(C+1).join("    ");C++;v=JO}break;case"}":if(!s){w+="\n"+new Array(C-2+1).join("    ");C--;v=JO}w+=x.substr(z,1);break;case"[":var q=x.indexOf("]",z);var t=x.indexOf("}",z);t=t==-1?999999:t;var u=x.indexOf("{",z);u=u==-1?999999:u;var r=ZC.DI(t,u);if(q<r){y=true;w+=x.substr(z,1)}else{y=false;w+=x.substr(z,1);w+="\n"+new Array(C+1).join("    ");C++}v=JO;break;case"]":if(y){y=false}if(v=="}"){C--;w+="\n"+new Array(C-1+1).join("    ")}w+=x.substr(z,1);v=JO;break;case" ":if(s){w+=x.substr(z,1);v=JO}break;case",":w+=x.substr(z,1);if(!s&&!y){w+="\n"+new Array(C-1+1).join("    ")}v=JO;break;default:w+=x.substr(z,1);v=JO;break}}return w};ZC.OC.prototype.A5T=function(){var c=this;var e=ZC.L.IU({cls:"zc-abs zc-viewsource zc-style",id:c.N+"-viewsource",p:ZC.AH(c.N+"-top"),wh:c.I-(ZC.quirks?0:10)+"/"+(c.F-(ZC.quirks?0:10))});e.innerHTML=‘<div class="zc-form-row-label zc-form-s1">&nbsp;<a href="javascript:void(0)" id="‘+c.N+‘-viewsource-jsonsource" class="zc-tab-active">‘+ZC.FL["viewsource-jsonsource"]+‘</a>&nbsp;<a href="javascript:void(0)" id="‘+c.N+‘-viewsource-originalsource" class="zc-tab-inactive">‘+ZC.FL["viewsource-originalsource"]+‘</a></div><div class="zc-form-row-element"><textarea id="‘+c.N+‘-viewsource-json" style="width:‘+(c.I-35)+"px;height:"+(c.F-95)+‘px;"></textarea></div><div class="zc-form-row-element zc-form-row-last" id="‘+c.N+‘-viewsource-actions"><input type="button" value="‘+ZC.FL["viewsource-close"]+‘" id="‘+c.N+‘-viewsource-close" /></div>‘;if(zingchart.EDITSOURCE){ZC.AH(c.N+"-viewsource-actions").innerHTML+=‘<input type="button" value="‘+ZC.FL["viewsource-apply"]+‘" id="‘+c.N+‘-viewsource-apply" />‘}ZC.A2("#"+c.N+"-viewsource-json").val(ZC.AQ.RV(c.H.json));ZC.A2("#"+c.N+"-viewsource-jsonsource").bind("click",function(){ZC.AH(c.N+"-viewsource-jsonsource").className="zc-tab-active";ZC.AH(c.N+"-viewsource-originalsource").className="zc-tab-inactive";ZC.A2("#"+c.N+"-viewsource-json").val(ZC.AQ.RV(c.H.json))});ZC.A2("#"+c.N+"-viewsource-originalsource").bind("click",function(){ZC.AH(c.N+"-viewsource-jsonsource").className="zc-tab-inactive";ZC.AH(c.N+"-viewsource-originalsource").className="zc-tab-active";ZC.A2("#"+c.N+"-viewsource-json").val(ZC.AQ.RV(c.H.source))});ZC.A2("#"+c.N+"-viewsource-close").bind("click",function(){ZC.L.F6(c.N+"-viewsource")});if(zingchart.EDITSOURCE){ZC.A2("#"+c.N+"-viewsource-apply").bind("click",function(){var a=ZC.A2("#"+c.N+"-viewsource-json").val();ZC.L.F6(c.N+"-viewsource");zingchart.exec(c.N,"setdata",{data:a})})}};ZC.OC.prototype.A65=function(){var e=this;if(e.I<300||e.F<300){window.open("http://www.shuiguanli.com/support/","","");return}var f=ZC.L.IU({cls:"zc-abs zc-bugreport zc-style",id:e.N+"-bugreport",p:ZC.AH(e.N+"-top"),wh:e.I-(ZC.quirks?0:10)+"/"+(e.F-(ZC.quirks?0:10))});var g="";g+=‘<div class="zc-form-row-label zc-form-s0">‘+ZC.FL["bugreport-header"]+‘</div><div class="zc-form-row-label"><input type="checkbox" id="‘+e.N+‘-chkdata" checked="checked" /><label for="‘+e.N+‘-chkdata">‘+ZC.FL["bugreport-senddata"]+"</label>";if(ZC.canvas){g+=‘&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" id="‘+e.N+‘-chkcapture" checked="checked" /><label for="‘+e.N+‘-chkcapture">‘+ZC.FL["bugreport-sendcapture"]+"</label>"}g+=‘</div><div class="zc-form-row-label zc-form-s1">‘+ZC.FL["bugreport-yourcomment"]+‘</div><div class="zc-form-row-element"><textarea id="‘+e.N+‘-bugreport-comment" style="width:‘+(e.I-35)+"px;height:"+((e.F-300)/2-10)+‘px;"></textarea></div><div class="zc-form-row-label zc-form-s1">‘+ZC.FL["bugreport-jsondata"]+‘</div><div class="zc-form-row-element"><textarea id="‘+e.N+‘-bugreport-json" style="width:‘+(e.I-35)+"px;height:"+(e.F-210)/2+‘px;"></textarea></div><div class="zc-form-row-label zc-form-s1">‘+ZC.FL["bugreport-youremail"]+(e.I>=510?" <span>("+ZC.FL["bugreport-infoemail"]+")</span>":"")+‘</div><div class="zc-form-row-element"><input type="text" id="‘+e.N+‘-bugreport-email" style="width:‘+(e.I-35)+‘px;" /></div><div class="zc-form-row-element zc-form-row-last"><input type="button" value="‘+ZC.FL["bugreport-submit"]+‘" id="‘+e.N+‘-bugreport-submit" /><input type="button" value="‘+ZC.FL["bugreport-cancel"]+‘" id="‘+e.N+‘-bugreport-cancel" /></div>‘;f.innerHTML=g;ZC.A2("#"+e.N+"-bugreport-json").val("PARSED\n----------\n"+ZC.AQ.RV(e.H.json)+"\n\nORIGINAL\n----------\n"+ZC.AQ.RV(e.H.source));ZC.A2("#"+e.N+"-bugreport-cancel").bind("click",function(){ZC.L.F6(e.N+"-bugreport")});ZC.A2("#"+e.N+"-bugreport-submit").bind("click",function(){var x=/^((\w+\+*\-*)+\.?)+@((\w+\+*\-*)+\.?)*[\w-]+\.[a-z]{2,6}$/;var t=ZC.A2("#"+e.N+"-bugreport-email");if(!x.test(t.val())){t.val(ZC.FL["bugreport-emailmandatory"]);return}var c="";if(ZC.canvas){c=e.TU("png")}var s=("Parsed:"+e.H.json+" Original:"+e.H.source).replace(/\r|\n|\t|(\s{2,})/g,"");var w="",v=[];if(ZC.A2("#"+e.N+"-chkcapture").attr("checked")){v.push("****IMAGE:",c)}if(ZC.A2("#"+e.N+"-chkdata").attr("checked")){v.push("****JSON:",s)}v.push("****COMMENT:",ZC.A2("#"+e.N+"-bugreport-comment").val(),"****EMAIL:",t.val(),"****VERSION:",ZC.VERSION,"****WIDTH:",e.I,"****HEIGHT:",e.F,"****URL:",window.location.href,"****UA:",navigator.userAgent,"****RENDER:",e.A8.toUpperCase(),"****RESOLUTION:",screen.width+"x"+screen.height);for(var u=0;u<v.length-1;u+=2){w+=v[u]+encodeURIComponent(v[u+1])}w+="****END";var a=ZC.L.A7W(ZC.AH(e.N+"-bugreport"));var b=a.createElement("FORM");b.action="http://www.shuiguanli.com/support/submitreportH5.php";b.method="post";a.body.appendChild(b);var r=a.createElement("INPUT");r.type="text";r.name="data";r.value=w;b.appendChild(r);b.submit();window.setTimeout(function(){alert(ZC.FL["bugreport-confirm"]);ZC.L.F6(e.N+"-bugreport")},1000)})};ZC.OC.prototype.paintHistory=function(){var p=this,q;ZC.L.F6([p.N+"-history-path",p.N+"-history-back-path",p.N+"-history-forw-path",p.N+"-history-gradient",p.N+"-history-back-gradient",p.N+"-history-forw-gradient"]);if((q=p.o.history)!=null){p.GE=new ZC.D2(p);p.AV.load(p.GE.o,"loader.gui.history");p.GE.append(q);p.GE.parse();p.GE.YY=true;var w=new ZC.DA(p);p.AV.load(w.o,"loader.gui.history.item");w.append(q.item);w.parse();var r=new ZC.DA(p);p.AV.load(r.o,"loader.gui.history.item-off");r.append(q.item);r.append(q["item-off"]);r.parse()}var v="";if(p.GE){p.GE.N=p.N+"-history";p.GE.A0=p.GE.BZ=ZC.AH(p.N+"-static-c");p.GE.paint();var t=p.GE.iX+p.GE.EL;var u=p.GE.iY+p.GE.FO;var s=p.GE.I-p.GE.EL-p.GE.FA;var y=p.GE.F-p.GE.FO-p.GE.G4;var z=new ZC.DA(p);z.N=p.N+"-history-back";z.copy(w);z.D5=false;if(p.KM==0){z.copy(r)}z.C=[[t,u+y/2],[t+s/3,u],[t+s/3,u+y],[t,u+y/2]];z.HA=ZC.AH(p.A.N+"-text");z.A0=z.BZ=ZC.AH(p.N+"-static-c");z.parse();z.paint();if(p.KM>0){v+=ZC.L.E7("rect",true)+‘class="‘+(p.N+"-history-area zc-history-area")+‘" id="‘+p.N+"-history-back-area"+ZC._[30];v+=ZC._i_(t+ZC.MAPTX)+","+ZC._i_(u+ZC.MAPTX)+","+ZC._i_(t+s/3+ZC.MAPTX)+","+ZC._i_(u+y+ZC.MAPTX);v+=‘" />‘}var x=new ZC.DA(p);x.N=p.N+"-history-forw";x.copy(w);x.D5=false;if(p.KM==p.N5.length-1||p.N5.length==0){x.copy(r)}x.C=[[t+s,u+y/2],[t+2*s/3,u],[t+2*s/3,u+y],[t+s,u+y/2]];x.HA=ZC.AH(p.A.N+"-text");x.A0=x.BZ=ZC.AH(p.N+"-static-c");x.parse();x.paint();if(p.KM<p.N5.length-1){v+=ZC.L.E7("rect",true)+‘class="‘+(p.N+"-history-area zc-history-area")+‘" id="‘+p.N+"-history-forw-area"+ZC._[30];v+=ZC._i_(t+2*s/3+ZC.MAPTX)+","+ZC._i_(u+ZC.MAPTX)+","+ZC._i_(t+s+ZC.MAPTX)+","+ZC._i_(u+y+ZC.MAPTX);v+=‘" />‘}if(v!=""){ZC.AH(p.N+"-map").innerHTML+=v}p.VD=function(a){if(a.target.id==p.N+"-history-back-area"){zingchart.exec(p.N,"goback")}else{if(a.target.id==p.N+"-history-forw-area"){zingchart.exec(p.N,"goforward")}}};ZC.A2("."+p.N+"-history-area").bind("click",p.VD)}};ZC.AU={YU:1,ER:0,EQ:0,GG:40};ZC.EM={A4Y:function(h,g){if(g.A6%180==0){var l=new ZC.CI(h,-h.I/2,g.iY-h.F/4,0);var f=new ZC.CI(h,h.I/2,g.iY-h.F/4,0)}else{var l=new ZC.CI(h,g.iX-h.I/4,-h.F/2,0);var f=new ZC.CI(h,g.iX-h.I/4,h.F/2,0)}return ZC.QS(Math.atan((f.ED[1]-l.ED[1])/(f.ED[0]-l.ED[0])))-(g.A6%180==0?0:90)},EC:function(v,H,C,G,t,u,w,x,s){s=s||"z";var y=new ZC.TY(v,H);switch(s){case"x":var z=new ZC.CI(H,C,t,w);var A=new ZC.CI(H,G,t,w);var D=new ZC.CI(H,G,u,x);var I=new ZC.CI(H,C,u,x);break;case"y":var z=new ZC.CI(H,C,t,w);var A=new ZC.CI(H,C,u,w);var D=new ZC.CI(H,G,u,x);var I=new ZC.CI(H,G,t,x);break;case"z":var z=new ZC.CI(H,C,t,w);var A=new ZC.CI(H,C,t,x);var D=new ZC.CI(H,G,u,x);var I=new ZC.CI(H,G,u,w);break}y.add(z);y.add(A);y.add(D);y.add(I);return y},EG:function(p,v,s,n){if(typeof n==ZC._[31]){n=false}var u=null,r=null;if(s instanceof Array){u=s}else{u=s.points;r=s.mathpoints}var q=new ZC.TY(p,v);for(var o=0,t=u.length;o<t;o++){if(n){q.add(u[o],r?r[o]:null)}else{q.add(new ZC.CI(v,u[o][0],u[o][1],u[o][2]),r?new ZC.CI(v,r[o][0],r[o][1],r[o][2]):null)}}return q}};ZC.CI=ZC.BX.BF({$i:function(D,c,r,s){var I=this;I.D=D;I.iX=c;I.iY=r;I.iZ=s;I.EH=0;I.DU=0;I.A6E=0;I.ED=[];var G=I.D.EB.angle,C=I.D.EB.zoom;if(I.D.EB.true3d){var J={x:c,y:r,z:s};var M={x:0,y:0,z:0};var H={x:I.D.EB[ZC._[27]],y:I.D.EB[ZC._[28]],z:I.D.EB[ZC._[29]]};var K=ZC.DD(H.x),L=ZC.DD(H.y),a=ZC.DD(H.z);var y=ZC.DG(H.x),z=ZC.DG(H.y),A=ZC.DG(H.z);I.EH=z*(a*(J.y-M.y)+A*(J.x-M.x))-L*(J.z-M.z);I.DU=K*(z*(J.z-M.z)+L*(a*(J.y-M.y)+A*(J.x-M.x)))+y*(A*(J.y-M.y)-a*(J.x-M.x));I.A6E=y*(z*(J.z-M.z)+L*(a*(J.y-M.y)+A*(J.x-M.x)))-K*(A*(J.y-M.y)-a*(J.x-M.x));I.ED[0]=ZC.AU.ER+ZC.AU.YU/(ZC.AU.YU+I.A6E)*I.EH*C;I.ED[1]=ZC.AU.EQ+ZC.AU.YU/(ZC.AU.YU+I.A6E)*I.DU*C}else{I.ED[0]=ZC.AU.ER+c+s*ZC.DG(G)*C;I.ED[1]=ZC.AU.EQ+r-s*ZC.DD(G)*C}}});ZC.TY=ZC.BX.BF({$i:function(f,g){var e=this;e.D=g;e.S=f;e.N="";e.JU=false;e.LJ=[1,1,1];e.EE=-1;e.C=[];e.LK=[];e.OP=-9999;e.UG=-9999;e.ZG=9999;e.YV=9999;e.A4C=9999;e.A5D=0;e.A3G=0;e.A6K=0},add:function(g,f){var e=this;e.C.push(g);e.LK.push(f||g)},A7X:function(){var f=this;var g=f.LK.length;for(var h=0;h<g;h++){var l=f.LK[h];f.OP=ZC.BT(f.OP,l.iZ);if(f.D.EB.true3d==1){f.ZG=ZC.DI(f.ZG,l.iZ);f.UG=ZC.BT(f.UG,l.A6E);f.A3G+=l.iY}else{f.YV=ZC.DI(f.YV,l.iX);f.A4C=ZC.DI(f.A4C,l.iY);f.A5D+=l.iX;f.A3G+=l.iY;f.A6K+=l.iZ}}f.A5D/=g;f.A3G/=g;f.A6K/=g},E0:function(){var l=this;var g="";for(var h=0,f=l.C.length;h<f;h++){g+=ZC._i_(l.C[h].ED[0]+ZC.MAPTX)+","+ZC._i_(l.C[h].ED[1]+ZC.MAPTX)+","}g=g.substring(0,g.length-1);return g}});ZC.QG=ZC.BX.BF({$i:function(){var b=this;b.ZO=[];b.S4=[]},clear:function(){var b=this;b.ZO=[];b.S4=[]},add:function(c){var e=this;e.ZO.push(c)},sortFaces:function(a,b){if(zingchart.V3D==1){if(a[0][0]>b[0][0]){return -1}else{if(a[0][0]<b[0][0]){return 1}else{if(a[0][1]>b[0][1]){return 1}else{if(a[0][1]<b[0][1]){return -1}else{if(a[0][2]>b[0][2]){return -1}else{if(a[0][2]<b[0][2]){return 1}else{if(a[0][3]>b[0][3]){return -1}else{if(a[0][3]<b[0][3]){return 1}else{return 0}}}}}}}}}else{if(zingchart.V3D==2){if(a[0][3]!=-1||b[0][3]!=-1){if(a[0][3]>b[0][3]){return 1}else{if(a[0][3]<b[0][3]){return -1}else{return 0}}}else{if(a[0][0]>b[0][0]){return -1}else{if(a[0][0]<b[0][0]){return 1}else{if(a[0][1]>b[0][1]){return 1}else{if(a[0][1]<b[0][1]){return -1}else{if(a[0][2]>b[0][2]){return 1}else{if(a[0][2]<b[0][2]){return -1}else{return 0}}}}}}}}else{if(zingchart.V3D==3){if(a[0]>b[0]){return -1}else{if(a[0]<b[0]){return 1}else{return 0}}}}}}});ZC.A2P=ZC.BX.BF({$i:function(c){var e=this;e.G=c;e.A1X=false;e.L8=250;e.HU=0;e.KD=0;e.AK=null},onmouseout:function(c){var e=this;if(ZC.mobile){return}if(e.A1X){e.BN=window.setInterval(function(){var b=e.G.N;var a=ZC.A2("#"+b+(e.G.A8=="svg"?"-top":"-main"));var l=ZC.E1[0]-a.offset().left;var h=ZC.E1[1]-a.offset().top;if(ZC.EO(l,e.HU,e.HU+e.AK.I)&&ZC.EO(h,e.KD,e.KD+e.AK.F)){}else{if(e.BN!=null){window.clearInterval(e.BN)}e.hide()}},e.L8)}else{e.hide()}},clear:function(){var b=this;ZC.L.JI(ZC.AH(b.G.N+"-tooltip-c"),b.G.A8,b.iX,b.iY,b.I,b.F,b.N)},hide:function(){var e=this;var c=e.G.N;ZC.L.F6([c+"-tooltip-text",c+"-tooltip",c+"-tooltip-text-float"])},show:function(v){var p=this,q;if(p.BN!=null){window.clearInterval(p.BN)}var w=p.G.N;if(ZC.A2("#"+w+"-tooltip-c").length==0){return}var u=ZC.L.LE(v);var x=ZC.A2("#"+w+(p.G.A8=="svg"?"-top":"-main"));var y=u[0]-x.offset().left-p.AK.I/2+ZC._i_(p.AK.H["offset-x"]);var s=u[1]-x.offset().top-p.AK.F+ZC._i_(p.AK.H["offset-y"]);var z=1+2*p.AK.H9;if(y<z){y=z}if(y+p.AK.I>p.G.I-z){y=p.G.I-z-p.AK.I}if(s<z){s=z+(u[1]-x.offset().top-ZC._i_(p.AK.H["offset-y"]))}if(s+p.AK.F>p.G.F-z){s=p.G.F-z-p.AK.F}var t=p.HU,r=p.KD;p.HU=y;p.KD=s;switch(p.G.A8){case"svg":ZC.AH(w+"-tooltip").setAttribute("transform","translate("+y+","+s+")");if(p.AK.H["html-mode"]){ZC.L.P0(ZC.AH(w+"-tooltip-text-float"),{left:y+x.offset().left+p.AK.EL+"px",top:s+x.offset().top+p.AK.FO+"px"})}break;case"vml":ZC.L.P0(ZC.AH(w+"-tooltip"),{left:y+"px",top:s+"px"});if(p.AK.H["html-mode"]){ZC.L.P0(ZC.AH(w+"-tooltip"),{zIndex:zingchart.ZINDEX})}break;case"canvas":if(p.AK.H["html-mode"]){ZC.L.P0(ZC.AH(w+"-tooltip"),{zIndex:zingchart.ZINDEX})}ZC.L.P0(ZC.AH(w+"-tooltip-c"),{left:y+"px",top:s+"px"});if((q=ZC.AH(w+"-tooltip-text"))!=null){q.style.display="none";ZC.L.P0(q,{width:p.AK.I+"px",height:p.AK.F+"px",left:y+"px",top:s+"px"});q.style.display="block"}break}},onmousemove:function(b){this.show(b)},onmouseover:function(D){var P=this,Q;if(P.G.GW&&P.G.GW.KT){return}var Y=P.G.N;var O=D.targetid||D.target.id;var X=O.replace(/--([a-zA-Z0-9]+)/,"").replace("-gshape-area","-area").split("-").reverse();var L=O.split("--");var U=false,I=false,aa=false;if(X[1]=="node"&&X[3]=="plot"&&X[4]=="plotset"){U=true}ZC.L.F6([Y+"-tooltip-text",Y+"-tooltip",Y+"-tooltip-text-float"]);if(U){var N=P.G.MG(X[5]);var W=N.AY.AB[X[2]];var s=W.EV(X[0]);ZC.A2("#"+Y+"-graph-"+X[5]+"-plot-"+X[2]+"-bg-hover-c").show()}else{if(X[2]=="legend"&&X[1].indexOf("item")==0){I=true}if(X[2].indexOf("scale")==0&&X[1].indexOf("item")==0){aa=true}var N=P.G.MG(X[3])}if(ZC.AH(Y+"-tooltip")==null){ZC.L.JG({id:Y+"-tooltip",p:ZC.AH(Y+"-main"),cls:"zc-abs",zidx:0,wh:P.G.I+"/"+P.G.F,overflow:"hidden"},P.G.A8);ZC.L.HV({id:Y+"-tooltip-c",p:ZC.AH(Y+"-tooltip"),cls:"zc-abs",tl:"-999/-999",width:140,height:60},P.G.A8)}P.AK=zingchart.pool.getInstance("D2",P,Y+"-tooltip-text");P.AK.LF="tooltip";P.AK.A=P.G;if(N&&N.AK){P.AK.append(N.AK.o)}if(U){P.AK.append(W.AK.o);if(N.DB["p"+W.J]&&N.DB["p"+W.J]["n"+s.J]){P.AK.append(W.AK.o["selected-state"])}if(L.length==2){P.AK.append(W.A6G(L[1]))}}else{var Z=false;if(I){if(N.D3&&N.D3.o.tooltip!=null){P.AK.append(N.D3.o.tooltip);Z=true}}if(aa){var M=N.BB(X[2].replace(/\_/g,"-"));if(M&&M.o.tooltip!=null){P.AK.append(M.o.tooltip);Z=true}}if(X[2]=="shape"){for(var H=0,ab=N.HY.length;H<ab;H++){if(N.N+"-shape-"+X[1]==N.HY[H].N&&(Q=N.HY[H].BG.o.tooltip)!=null){P.AK.append(Q);Z=true}}}if(X[2]=="label"){for(var H=0,ab=N.BU.length;H<ab;H++){if(N.N+"-label-"+X[1]==N.BU[H].N&&(Q=N.BU[H].o.tooltip)!=null){P.AK.append(Q);Z=true}}}if(!Z){return}}P.A1X=false;P.L8=250;if((Q=P.AK.o.sticky)!=null){P.A1X=ZC._b_(Q)}if((Q=P.AK.o.timeout)!=null){P.L8=ZC._i_(Q)}P.AK.iX=0;P.AK.iY=0;P.AK.A0=P.AK.BZ=ZC.AH(Y+"-tooltip-c");if(U){var G=s.T0();P.AK.W=P.AK.A5=ZC.AQ.H8(G[ZC._[0]]);P.AK.BA=G["border-color"];P.AK.BO=G.color;if(W.o.rules!=null){if(!P.UM){P.UM=new ZC.GX(W.A);P.UM.H["quick-parse"]=true}P.UM.append(W.o);P.UM.parse();P.UM.IG=function(a){return s.IG(a)};if(P.UM.CJ()){P.UM.parse()}P.AK.AN=P.UM.RK}else{P.AK.AN=W.RK}var ac=ZC.AQ.MW(P.AK.o,W.o);P.AK.KV=function(a){return s.KV(a,ac)};P.AK.H.plotidx=s.A.J;P.AK.H.nodeidx=s.J}else{if(I){var W=N.AY.AB[X[1].replace("item_","")];P.AK.append(W.o["legend-tooltip"]);var s=null;for(var H=0,ab=W.Q.length;H<ab;H++){if(W.Q[H]!=null){s=W.EV(H);break}}if(s){var G=s.T0();if(G[ZC._[0]]!=-1){P.AK.W=P.AK.A5=ZC.AQ.H8(G[ZC._[0]]);P.AK.BO=G.color}else{return}}else{P.AK.W=P.AK.A5=ZC.AQ.H8(W.B1[1]);P.AK.BO=W.B1[0]}P.AK.AN=W.RQ;P.AK.KV=function(a){a=a.replace(/%plot-description|%d/g,W.RQ);a=a.replace(/%plot-text|%t/g,W.AN);return a}}else{if(aa){var S=X[1].replace("item_","");P.AK.KV=function(a){a=a.replace(/%text|%item-text/g,M.BU[S]||M.Z[S]);a=a.replace(/%tooltip-text/g,M.YS[S]||"");return a}}}}P.AK.parse();P.AK.H["html-mode"]=false;if((Q=P.AK.o["html-mode"])!=null){P.AK.H["html-mode"]=ZC._b_(Q)}if(U){P.AK.IG=function(a){return s.IG(a)};if(P.AK.CJ()){P.AK.parse()}}if((P.G.A8=="canvas"||P.G.A8=="vml")&&P.AK.A6!=0){var R=1.25*ZC.BT(P.AK.I,P.AK.F)+P.AK.H9;var K=R;var J=R;P.AK.iX+=(R-P.AK.I)/2;P.AK.iY+=(R-P.AK.F)/2;P.AK.H["offset-x"]=-(R-P.AK.I)/2+P.AK.C1;P.AK.H["offset-y"]=-(R-P.AK.F)/2+P.AK.BW}else{var K=P.AK.I+P.AK.H9;var J=P.AK.F+P.AK.H9;if(P.AK.J0){switch(P.AK.FT){case"bottom":case"top":J+=P.AK.HF;break;case"left":case"right":K+=P.AK.HW;break}}P.AK.H["offset-x"]=P.AK.C1;P.AK.H["offset-y"]=P.AK.BW}ZC.A2("#"+Y+"-tooltip-c").attr(ZC._[19],K).attr(ZC._[20],J);if(P.G.A8=="vml"){ZC.L.P0(ZC.AH(Y+"-tooltip-c"),{top:0,left:0})}P.AK.C1=0;P.AK.BW=0;if(!D.type&&U){P.AK.iX=s.iX-P.AK.I/2;P.AK.iY=s.iY-P.AK.F-20}if(P.AK.AP&&P.AK.AN!=""){P.AK.paint()}if(U){s.A54();s.D.PO(true)}P.show(D)}});ZC.A19=ZC.HC.BF({$i:function(e){var c=this;c.b(e);c.G=e;c.KT=false;c.D=null;c.FR=0;c.J4=0;c.FS=0;c.J3=0;c.AR=null;c.B3=null;c.U6=false;c.A5L=0;c.V3=false},parse:function(){var b=this;if(!b.D){return}if(b.D.GW){b.append(b.D.GW.o)}b.b();if(b.D.AI["3d"]){b.V3=true}b.XK("preserve-zoom","V3","b")},unbind:function(){ZC.A2("#"+this.G.N+"-img").unbind("mousedown touchstart",this.VJ)},bind:function(){var e=this;var c=e.G.N;e.VJ=function(p){if(p.type==ZC._[47]&&ZC.TOUCHEVENTS){return}if(p.target.id.indexOf("-legend-header-area")!=-1){return}if(!ZC.mobile){p.preventDefault()}e.G.hideCM();if(!ZC.mobile&&p.which>1){return}if(e.G.A8=="vml"&&p.target.className.indexOf("zc-node-area")!=-1){return}if(p.shiftKey){e.U6=true}var a=ZC.L.LE(p);var q=ZC.A2("#"+c+"-top").offset();var b=a[0]-q.left;var u=a[1]-q.top;if(e.U6){e.A5L=b}var s=false;var r;for(var t=0,v=e.G.B0.length;t<v;t++){r=e.G.B0[t].P;if(ZC.EO(b,r.iX-5,r.iX+r.I+5)&&ZC.EO(u,r.iY-5,r.iY+r.F+5)){e.D=e.G.B0[t]}}if(e.D!=null){r=e.D.P;if(e.D.AY.AB.length>0){e.AR=e.D.BB(e.D.AY.AB[0].BH("k")[0]);e.B3=e.D.BB(e.D.AY.AB[0].BH("v")[0])}if(e.AR!=null&&e.B3!=null){if(e.AR.H0||e.B3.H0){e.FR=e.AR.EW?u:b;e.FS=e.B3.EW?b:u;s=true;if(e.AR.H0){if(e.AR.EW){e.FR=ZC._l_(e.FR,r.iY,r.iY+r.F)}else{e.FR=ZC._l_(e.FR,r.iX,r.iX+r.I)}}else{e.FR=e.AR.EW?r.iY:r.iX}if(e.B3.H0){if(e.B3.EW){e.FS=ZC._l_(e.FS,r.iX,r.iX+r.I)}else{e.FS=ZC._l_(e.FS,r.iY,r.iY+r.F)}}else{e.FS=e.B3.EW?r.iX:r.iY}}}}if(s){e.J4=e.FR;e.J3=e.FS;e.KT=true;ZC.A2(document.body).bind("mousemove touchmove",e.VI);ZC.A2(document.body).bind("mouseup touchend",e.WR);if(!e.U6){e.parse();if(!e.D.AI["3d"]){ZC.L.IU({id:c+"-zoom",p:ZC.AH(c+"-top"),top:1+e.B3.EW?e.FR:e.FS,left:1+e.AR.EW?e.FS:e.FR,wh:"1/1",position:"absolute",border:e.AA+"px solid "+e.BA,background:e.W,opacity:e.BC})}document.body.style.cursor="crosshair"}else{document.body.style.cursor="pointer"}}if(!ZC.mobile){return false}};e.VI=function(O){if(O.type==ZC._[48]&&ZC.TOUCHEVENTS){return}O.preventDefault();ZC.move=true;if(e.KT){var M=ZC.L.LE(O);var a=ZC.A2("#"+c+"-top").offset();var A=M[0]-a.left;var J=M[1]-a.top;e.J4=e.AR.EW?J:A;e.J3=e.B3.EW?A:J;if(e.U6){}else{var x=e.D.P;var y=e.AR.B2?e.AR.D0:e.AR.A7;var I=e.AR.B2?e.AR.A7:e.AR.D0;if(e.AR.H0){if(e.AR.EW){if(e.AR.TA){e.FR=e.AR.iY+y+e.AR.X*ZC._i_((e.FR-e.AR.iY-y)/e.AR.X);e.J4=e.AR.iY+y+e.AR.X*ZC._i_((e.J4-e.AR.iY-y)/e.AR.X)}e.FR=ZC._l_(e.FR,x.iY+I,x.iY+x.F-y);e.J4=ZC._l_(e.J4,x.iY+I,x.iY+x.F-y)}else{if(e.AR.TA){e.FR=e.AR.iX+y+e.AR.X*ZC._i_((e.FR-e.AR.iX-y)/e.AR.X);e.J4=e.AR.iX+y+e.AR.X*ZC._i_((e.J4-e.AR.iX-y)/e.AR.X)}e.FR=ZC._l_(e.FR,x.iX+y,x.iX+x.I-I);e.J4=ZC._l_(e.J4,x.iX+y,x.iX+x.I-I)}}else{e.FR=e.AR.EW?x.iY+I:x.iX+y;e.J4=e.AR.EW?x.iY+x.F-y:x.iX+x.I-I}var y=e.B3.B2?e.B3.A7:e.B3.D0;var I=e.B3.B2?e.B3.D0:e.B3.A7;if(e.B3.H0){if(e.B3.EW){if(e.B3.TA){e.FS=e.B3.iX+y+e.B3.X*ZC._i_((e.FS-e.B3.iX-y)/e.B3.X);e.J3=e.B3.iX+y+e.B3.X*ZC._i_((e.J3-e.B3.iX-y)/e.B3.X)}e.FS=ZC._l_(e.FS,x.iX+I,x.iX+x.I-y);e.J3=ZC._l_(e.J3,x.iX+I,x.iX+x.I-y)}else{if(e.B3.TA){e.FS=e.B3.iY+y+e.B3.X*ZC._i_((e.FS-e.B3.iY-y)/e.B3.X);e.J3=e.B3.iY+y+e.B3.X*ZC._i_((e.J3-e.B3.iY-y)/e.B3.X)}e.FS=ZC._l_(e.FS,x.iY+y,x.iY+x.F-I);e.J3=ZC._l_(e.J3,x.iY+y,x.iY+x.F-I)}}else{e.FS=e.B3.EW?x.iX+I:x.iY+y;e.J3=e.B3.EW?x.iX+x.I-y:x.iY+x.F-I}var N,K,D,L;var b=ZC.A2.browser.msie?0:2*e.AA;if(e.D.AI["3d"]){b=0}var G=ZC.AH(c+"-zoom");if(e.AR.EW&&e.B3.EW){N=ZC._a_(e.J3-e.FS-b);K=ZC._a_(e.J4-e.FR-b);D=ZC.DI(e.FS,e.J3);L=ZC.DI(e.FR,e.J4)}else{N=ZC._a_(e.J4-e.FR-b);K=ZC._a_(e.J3-e.FS-b);D=ZC.DI(e.FR,e.J4);L=ZC.DI(e.FS,e.J3)}if(e.D.AI["3d"]){e.D.L2();var C=ZC.AH(e.G.N+"-guide-c");ZC.L.JI(C,e.G.A8,e.D.iX,e.D.iY,e.D.I,e.D.F);ZC.A2(".zc-guide-label").remove();var G=new ZC.DA(e);G.A0=C;G.W=G.A5=e.W;G.BA=e.BA;G.AA=e.AA;G.BC=e.BC;G.C=[[D,L],[D+N,L],[D+N,L+K],[D,L+K],[D,L]];for(var z=0;z<G.C.length;z++){var H=new ZC.CI(e.D,G.C[z][0]-ZC.AU.ER,G.C[z][1]-ZC.AU.EQ,0);G.C[z][0]=H.ED[0];G.C[z][1]=H.ED[1]}G.parse();G.paint()}else{G.style.width=N+"px";G.style.height=K+"px";G.style.left=D+"px";G.style.top=L+"px"}}}return false};e.WR=function(I){if(I.type==ZC._[49]&&ZC.TOUCHEVENTS){return}if(!e.D){return}ZC.move=false;e.KT=false;document.body.style.cursor="auto";ZC.L.F6(c+"-zoom");if(e.D.AI["3d"]){e.D.L2();var z=ZC.AH(e.G.N+"-guide-c");ZC.L.JI(z,e.G.A8,e.D.iX,e.D.iY,e.D.I,e.D.F);ZC.A2(".zc-guide-label").remove()}ZC.A2(document.body).unbind("mousemove touchmove",e.VI);ZC.A2(document.body).unbind("mouseup touchend",e.WR);if(e.U6){e.U6=false;return}var u={graphid:e.D.N};if(ZC._a_(e.FR-e.J4)>20&&ZC._a_(e.FS-e.J3)>20){var a=false,b=false;if(e.AR.EW&&e.B3.EW){var D=e.AR.MJ(ZC.DI(e.FR,e.J4));var C=e.AR.MJ(ZC.BT(e.FR,e.J4));if(ZC._a_(C-D)>1){u.zoomx=true;u.xmin=ZC.DI(D,C);u.xmax=ZC.BT(D,C);a=true}var w=e.B3.OZ(ZC.BT(e.FS,e.J3));var H=e.B3.OZ(ZC.DI(e.FS,e.J3));var A=(e.B3.M0-e.B3.KU)/1000;if(ZC._a_(H-w)>A){u.zoomy=true;u.ymin=ZC.DI(w,H);u.ymax=ZC.BT(w,H);b=true}}else{var v=e.D.BH("k");for(var x=0,G=v.length;x<G;x++){if((V=v[x])&&v[x].H0){var y=V.J==1?"":"-"+V.J;var D=V.MJ(ZC.DI(e.FR,e.J4));var C=V.MJ(ZC.BT(e.FR,e.J4));if(ZC._a_(C-D)>1){u["zoomx"+y]=true;u["xmin"+y]=ZC.DI(D,C);u["xmax"+y]=ZC.BT(D,C);a=true}}}var v=e.D.BH("v");for(var x=0,G=v.length;x<G;x++){if((A9=v[x])&&v[x].H0){var y=A9.J==1?"":"-"+A9.J;var w=A9.OZ(ZC.BT(e.FS,e.J3));var H=A9.OZ(ZC.DI(e.FS,e.J3));var A=(A9.M0-A9.KU)/1000;if(ZC._a_(H-w)>A){u["zoomy"+y]=true;u["ymin"+y]=ZC.DI(w,H);u["ymax"+y]=ZC.BT(w,H);b=true}}}}if(a||b){zingchart.SKIP.EVENT=true;e.D.A.ND(u)}}e.D=null};if(!ZC.mobile||zingchart.TOUCHZOOM=="normal"){ZC.A2("#"+c+"-img").bind("mousedown touchstart",e.VJ)}}});ZC.A2U=ZC.DZ.BF({$i:function(e){var c=this;c.b(e);c.GP=true;c.A6J=false;c.D=e;c.G=e.A;c.KT=false;c.F3=null;c.AJ=null;c.A0=null;c.IJ=0;c.HN=0;c.N9=0;c.UY=0;c.KQ=false;c.OM=null},parse:function(){var r=this,o;r.N=r.D.N+"-preview";r.XK_a([["live","A6J","b"],["async","KQ","b"],["min-distance","N9","i"],["min-distance-x","N9","i"],["min-distance-y","N9","i"]]);var n="("+r.D.AC+").preview";var m=r.G.AV;r.AJ=new ZC.HC(r.D);r.AJ.N=r.D.N+"-preview-viewport";m.load(r.AJ.o,[n]);r.AJ.append(r.o);r.AJ.parse();r.N0=new ZC.DZ(r.D);m.load(r.N0.o,[n+".mask"]);if((o=r.o.mask)!=null){r.N0.append(o)}r.N0.parse();r.RL=new ZC.DZ(r.D);m.load(r.RL.o,[n+".active"]);if((o=r.o.active)!=null){r.RL.append(o)}r.RL.parse();function p(a){return[n+".handler",n+".handler-"+a,n+".handle",n+".handle-"+a]}r.H6=new ZC.HC(r);r.G2=new ZC.HC(r);r.I2=new ZC.HC(r);r.G3=new ZC.HC(r);m.load(r.H6.o,p("left"));m.load(r.G2.o,p("right"));m.load(r.I2.o,p("top"));m.load(r.G3.o,p("bottom"));var q=["handle","handler"];for(var l=0;l<q.length;l++){if((o=r.o[q[l]])!=null){r.H6.append(o);r.G2.append(o)}if((o=r.o[q[l]+"-left"])!=null){r.H6.append(o)}if((o=r.o[q[l]+"-right"])!=null){r.G2.append(o)}if((o=r.o[q[l]+"-top"])!=null){r.I2.append(o)}if((o=r.o[q[l]+"-bottom"])!=null){r.G3.append(o)}}r.H6.parse();r.G2.parse();r.I2.parse();r.G3.parse()},paint:function(){var Z=this;Z.A0=Z.AJ.A0=Z.AJ.BZ=ZC.AH(Z.G.N+"-static-c");Z.AJ.paint();var aj=ZC.AH(Z.G.N+"-top");var U=Z.D.BH("k")[0],S=Z.D.BH("v")[0];if(Z.KQ&&Z.OM==null){Z.OM={};var X=Z.D.B9;for(var W=0,ax=X.length;W<ax;W++){if(B=X[W]){var aq=B.J==1?"":"-"+B.J;if(B.AC=="k"){Z.OM[B.B5]={minindex:B.GY,maxindex:B.HT,minvalue:B.Z[B.GY],maxvalue:B.Z[B.HT],values:[].concat(B.Z)}}else{Z.OM[B.B5]={minvalue:B.KU,maxvalue:B.M0}}}}}if(Z.N9==0){if(U){Z.N9=ZC.BT(1,ZC._i_(2*Z.AJ.I/U.Z.length))}}Z.OF=ZC.mobile?40:ZC.ie67?0:20;var ak,ad;if(U.H0||S.H0){Z.HQ=ZC.L.IU({cls:"zc-abs zc-preview-handler zc-preview-handler-middle "+Z.D.N+"-preview-handler",id:Z.N+"-handler-middle",wh:Z.AJ.I+"/"+Z.AJ.F,tl:Z.AJ.iY+"/"+Z.AJ.iX,background:Z.RL.W,opacity:Z.RL.BC,p:aj});Z.HQ.style.cursor="pointer"}if(U.H0){Z.A56=ZC.L.IU({cls:"zc-abs zc-preview-mask zc-preview-mask-left "+Z.D.N+"-preview-mask",id:Z.N+"-mask-x-left",wh:"0/"+Z.AJ.F,tl:Z.AJ.iY+"/"+Z.AJ.iX,background:Z.N0.W,opacity:Z.N0.BC,p:aj});Z.A07=ZC.L.IU({cls:"zc-abs zc-preview-mask zc-preview-mask-right "+Z.D.N+"-preview-mask",id:Z.N+"-mask-x-right",wh:"0/"+Z.AJ.F,tl:Z.AJ.iY+"/"+(Z.AJ.iX+Z.AJ.I),background:Z.N0.W,opacity:Z.N0.BC,p:aj});ak=Z.H6.I;ad=Z.H6.F;Z.HX=ZC.L.IU({cls:"zc-abs zc-preview-handler zc-preview-handler-left "+Z.D.N+"-preview-handler",id:Z.N+"-handler-x-left",wh:ZC.quirks?null:ak+"/"+ad,"line-height":"10%",tl:ZC._i_(Z.AJ.iY+(Z.AJ.F-ad)/4-Z.OF/2)+"/"+ZC._i_(Z.AJ.iX-ak/2-Z.OF/2),p:aj,border:Z.OF/2+"px solid transparent"});Z.HX.style.cursor="pointer";var aa=Z.HX;if(Z.G.A8=="svg"){var Y=ZC.L.E8("svg",ZC._[36]);ZC.L.F2(Y,{version:"1.1",width:ak,height:ad});Z.HX.appendChild(Y);aa=Y}var an=ZC.L.HV({cls:"zc-no-print",id:Z.N+"-handler-x-left-c",wh:ak+"/"+ad,p:aa},Z.G.A8);Z.H6.A0=an;Z.H6.N=Z.N+"-handler-x-left-c-preview";Z.H6.iX=0;Z.H6.iY=0;Z.H6.paint();var af=ZC.L.DF(Z.G.usc()?Z.G.N+"-main-c":Z.N+"-handler-x-left-c",Z.G.A8);var aD=Z.H6.AM,at=Z.H6.AA;var ab=ZC._i_(ak/2-aD),ag=ZC._i_(ak/2+aD),al=at+3,av=ad-at-2;var ac=[[ab,al],[ab,av],null,[ag,al],[ag,av]];ZC.C8.paint(af,Z.H6,ac);ak=Z.G2.I;ad=Z.G2.F;Z.HH=ZC.L.IU({cls:"zc-abs zc-preview-handler zc-preview-handler-right "+Z.D.N+"-preview-handler",id:Z.N+"-handler-x-right",wh:ZC.quirks?null:ak+"/"+ad,"line-height":"10%",tl:ZC._i_(Z.AJ.iY+Z.AJ.F-Z.G2.F-(Z.AJ.F-ad)/4-Z.OF/2)+"/"+ZC._i_(Z.AJ.iX+Z.AJ.I-Z.G2.I/2-Z.OF/2),p:aj,border:Z.OF/2+"px solid transparent"});Z.HH.style.cursor="pointer";var aB=Z.HH;if(Z.G.A8=="svg"){var ah=ZC.L.E8("svg",ZC._[36]);ZC.L.F2(ah,{version:"1.1",width:ak,height:ad});Z.HH.appendChild(ah);aB=ah}var az=ZC.L.HV({cls:"zc-no-print",id:Z.N+"-handler-x-right-c",wh:ak+"/"+ad,p:aB},Z.G.A8);Z.G2.A0=az;Z.G2.N=Z.N+"-handler-x-right-c-preview";Z.G2.iX=0;Z.G2.iY=0;Z.G2.paint();var af=ZC.L.DF(Z.G.usc()?Z.G.N+"-main-c":Z.N+"-handler-x-right-c",Z.G.A8);var ap=Z.G2.AM,ai=Z.G2.AA;var ab=ZC._i_(ak/2-ap),ag=ZC._i_(ak/2+ap),al=ai+3,av=ad-ai-2;var ac=[[ab,al],[ab,av],null,[ag,al],[ag,av]];ZC.C8.paint(af,Z.G2,ac)}if(S.H0){Z.A5M=ZC.L.IU({cls:"zc-abs zc-preview-mask zc-preview-mask-top "+Z.D.N+"-preview-mask",id:Z.N+"-mask-x-top",wh:Z.AJ.I+"/0",tl:Z.AJ.iY+"/"+Z.AJ.iX,background:Z.N0.W,opacity:Z.N0.BC,p:aj});Z.YQ=ZC.L.IU({cls:"zc-abs zc-preview-mask zc-preview-mask-bottom "+Z.D.N+"-preview-mask",id:Z.N+"-mask-x-bottom",wh:Z.AJ.I+"/0",tl:Z.AJ.iY+Z.AJ.F+"/"+Z.AJ.iX,background:Z.N0.W,opacity:Z.N0.BC,p:aj});ak=Z.I2.I;ad=Z.I2.F;Z.IL=ZC.L.IU({cls:"zc-abs zc-preview-handler zc-preview-handler-top "+Z.D.N+"-preview-handler",id:Z.N+"-handler-y-top",wh:ZC.quirks?null:ak+"/"+ad,"line-height":"10%",tl:ZC._i_(Z.AJ.iY-ad/2-Z.OF/2)+"/"+ZC._i_(Z.AJ.iX+(Z.AJ.I-ak)/4-Z.OF/2),p:aj,border:Z.OF/2+"px solid transparent"});Z.IL.style.cursor="pointer";var aA=Z.IL;if(Z.G.A8=="svg"){var ae=ZC.L.E8("svg",ZC._[36]);ZC.L.F2(ae,{version:"1.1",width:ak,height:ad});Z.IL.appendChild(ae);aA=ae}var s=ZC.L.HV({cls:"zc-no-print",id:Z.N+"-handler-y-top-c",wh:ak+"/"+ad,p:aA},Z.G.A8);Z.I2.A0=s;Z.I2.N=Z.N+"-handler-y-top-c-preview";Z.I2.iX=0;Z.I2.iY=0;Z.I2.paint();var af=ZC.L.DF(Z.G.usc()?Z.G.N+"-main-c":Z.N+"-handler-y-top-c",Z.G.A8);var aC=Z.I2.AM,ao=Z.I2.AA;var av=ZC._i_(ad/2-aC),al=ZC._i_(ad/2+aC),ag=ao+3,ab=ak-ao-2;var ac=[[ab,al],[ag,al],null,[ab,av],[ag,av]];ZC.C8.paint(af,Z.I2,ac);ak=Z.G3.I;ad=Z.G3.F;Z.GU=ZC.L.IU({cls:"zc-abs zc-preview-handler zc-preview-handler-bottom "+Z.D.N+"-preview-handler",id:Z.N+"-handler-y-bottom",wh:ZC.quirks?null:ak+"/"+ad,"line-height":"10%",tl:ZC._i_(Z.AJ.iY+Z.AJ.F-Z.G3.F/2-Z.OF/2)+"/"+ZC._i_(Z.AJ.iX+Z.AJ.I-Z.G3.I-(Z.AJ.I-ak)/4-Z.OF/2),p:aj,border:Z.OF/2+"px solid transparent"});Z.GU.style.cursor="pointer";var aw=Z.GU;if(Z.G.A8=="svg"){var ar=ZC.L.E8("svg",ZC._[36]);ZC.L.F2(ar,{version:"1.1",width:ak,height:ad});Z.GU.appendChild(ar);aw=ar}var au=ZC.L.HV({cls:"zc-no-print",id:Z.N+"-handler-y-bottom-c",wh:ak+"/"+ad,p:aw},Z.G.A8);Z.G3.A0=au;Z.G3.N=Z.N+"-handler-y-bottom-c-preview";Z.G3.iX=0;Z.G3.iY=0;Z.G3.paint();var af=ZC.L.DF(Z.G.usc()?Z.G.N+"-main-c":Z.N+"-handler-y-bottom-c",Z.G.A8);var ay=Z.G3.AM,am=Z.G3.AA;var av=ZC._i_(ad/2-ay),al=ZC._i_(ad/2+ay),ag=am+3,ab=ak-am-2;var ac=[[ab,al],[ag,al],null,[ab,av],[ag,av]];ZC.C8.paint(af,Z.G3,ac)}Z.IJ=0;Z.HN=Z.AJ.I;Z.KE=0;Z.H7=Z.AJ.F;Z.bind()},update:function(w,v,p,u,s){if(s==null){s=false}var o=this;var r=o.D.BH("k")[0],q=o.D.BH("v",true)[0];var t=true;if(s){if(r&&q){if(w==null){w=r.Y}if(v==null){v=r.A3}if(p==null){p=q.XN?q.KU:q.BJ}if(u==null){u=q.XN?q.M0:q.C7}o.update((w-r.GY)*o.AJ.I/(r.HT-r.GY),(v-r.GY)*o.AJ.I/(r.HT-r.GY),o.AJ.F-(u-q.KU)*o.AJ.F/(q.M0-q.KU),o.AJ.F-(p-q.KU)*o.AJ.F/(q.M0-q.KU))}return}if(v-w<o.N9){if(o.F3==o.HH){v=w+o.N9}else{if(o.F3==o.HX){w=v-o.N9}}}if(u-p<o.UY){if(o.F3==o.GU){u=p+o.UY}else{if(o.F3==o.IL){p=u-o.UY}}}if(w>=v){if(o.F3==o.HX){o.update(v-1,v,p,u)}else{if(o.F3==o.HH){o.update(w,w+1,p,u)}}t=false}if(w<0){if(o.F3==o.HX){o.update(0,v,p,u)}else{if(o.F3==o.HQ){o.update(0,ZC.A2(o.HQ).width(),p,u)}}t=false}if(v>o.AJ.I){if(o.F3==o.HH){o.update(w,o.AJ.I,p,u)}else{if(o.F3==o.HQ){o.update(o.AJ.I-ZC.A2(o.HQ).width(),o.AJ.I,p,u)}}t=false}if(p>=u){if(o.F3==o.IL){o.update(w,v,p-1,u)}else{if(o.F3==o.GU){o.update(w,v,p,u+1)}}t=false}if(p<0){if(o.F3==o.IL){o.update(w,v,0,u)}else{if(o.F3==o.HQ){o.update(w,v,0,ZC.A2(o.HQ).height())}}t=false}if(u>o.AJ.F){if(o.F3==o.GU){o.update(w,v,p,o.AJ.F)}else{if(o.F3==o.HQ){o.update(w,v,o.AJ.F-ZC.A2(o.HQ).height(),o.AJ.F)}}t=false}if(t){if(r&&r.TA){var x=o.AJ.I/(r.Z.length-1);w=x*Math.round(w/x);v=ZC.DI(x*Math.round(v/x),o.AJ.I)}o.IJ=w;o.HN=v;o.KE=p;o.H7=u;if(r.H0){o.HX.style.left=ZC._i_(o.AJ.iX+o.IJ-o.H6.I/2-o.OF/2)+"px";o.A56.style.width=ZC._i_(o.IJ)+"px";o.HH.style.left=ZC._i_(o.AJ.iX+o.HN-o.G2.I/2-o.OF/2)+"px";o.A07.style.left=ZC._i_(o.AJ.iX+o.HN)+"px";o.A07.style.width=ZC._i_(o.AJ.I-o.HN)+"px"}if(q.H0){o.IL.style.top=ZC._i_(o.AJ.iY+o.KE-o.I2.F/2-o.OF/2)+"px";o.A5M.style.height=ZC._i_(o.KE)+"px";o.GU.style.top=ZC._i_(o.AJ.iY+o.H7-o.G3.F/2-o.OF/2)+"px";o.YQ.style.top=ZC._i_(o.AJ.iY+o.H7)+"px";o.YQ.style.height=ZC._i_(o.AJ.F-o.H7)+"px"}if(r.H0||q.H0){o.HQ.style.left=ZC._i_(o.AJ.iX+o.IJ)+"px";o.HQ.style.width=ZC._i_(o.HN-o.IJ)+"px";o.HQ.style.top=ZC._i_(o.AJ.iY+o.KE)+"px";o.HQ.style.height=ZC._i_(o.H7-o.KE)+"px"}if(o.A6J&&o.KT){o.D.KH=true;o.zoom(true)}}},zoom:function(s){var r=this;var x={graphid:r.D.N,preview:1,zooming:s};var w=r.D.B9;var u=r.D.BH("k")[0],t=r.D.BH("v")[0];for(var y=0,D=w.length;y<D;y++){if(B=w[y]){var z=B.J==1?"":"-"+B.J;if(B.AC=="k"){if(u.H0){var G=r.KQ?r.OM[B.B5]["minindex"]:B.GY,C=r.KQ?r.OM[B.B5]["maxindex"]:B.HT;x["zoomx"+z]=true;x["xmin"+z]=ZC._i_(r.IJ/r.AJ.I*(C-G));x["xmax"+z]=ZC._i_(r.HN/r.AJ.I*(C-G))}}else{if(t.H0){var v=r.KQ?r.OM[B.B5]["minvalue"]:B.KU,A=r.KQ?r.OM[B.B5]["maxvalue"]:B.M0;x["zoomy"+z]=true;x["ymin"+z]=v+(r.AJ.F-r.H7)/r.AJ.F*(A-v);x["ymax"+z]=v+(r.AJ.F-r.KE)/r.AJ.F*(A-v)}}}}r.G.ND(x)},unbind:function(){ZC.A2("."+this.D.N+"-preview-handler").unbind("mousedown touchstart",this.TK);ZC.A2("."+this.D.N+"-preview-mask").unbind("click",this.AA8)},bind:function(){var f=this;var h=f.G.N;var g=0,l=0;f.AA8=function(a){a.preventDefault();if(!f.G.GW){return}f.G.GW.D=f.D;f.G.GW.parse();var e=ZC.L.LE(a);var c=ZC.A2("#"+h+"-top").offset();if(a.target.id.indexOf("preview-mask-x-left")!=-1||a.target.id.indexOf("preview-mask-x-right")!=-1){var p=e[0]-c.left-f.AJ.iX;var b=f.HN-f.IJ;if(p-b/2<0){f.IJ=0;f.HN=b}else{if(p+b/2>f.AJ.I){f.IJ=f.AJ.I-b;f.HN=f.AJ.I}else{f.IJ=ZC._i_(p-b/2);f.HN=ZC._i_(p+b/2)}}}else{var q=e[1]-c.top-f.AJ.iY;var r=f.H7-f.KE;if(q-r/2<0){f.KE=0;f.H7=r}else{if(q+r/2>f.AJ.F){f.KE=f.AJ.F-r;f.H7=f.AJ.F}else{f.KE=ZC._i_(q-r/2);f.H7=ZC._i_(q+r/2)}}}f.KT=false;f.D.KH=false;f.update(f.IJ,f.HN,f.KE,f.H7);f.zoom(false);return false};f.TK=function(r){r.preventDefault();if(!f.G.GW){return}f.G.GW.D=f.D;f.G.GW.parse();var b=r.target;while(b&&b.tagName.toUpperCase()!="BODY"){var a=ZC.L.A0U(b);if(a.indexOf("zc-preview-handler")!=-1){break}b=b.parentNode}if(!ZC.mobile&&r.which>1){return}if(!b){return}var e=ZC.L.LE(r);var c=ZC.A2("#"+h+"-top").offset();var p=e[0]-c.left-f.AJ.iX;var q=e[1]-c.top-f.AJ.iY;if(b.id.indexOf("handler-x-left")!=-1){f.F3=f.HX}else{if(b.id.indexOf("handler-x-right")!=-1){f.F3=f.HH}else{if(b.id.indexOf("handler-y-top")!=-1){f.F3=f.IL}else{if(b.id.indexOf("handler-y-bottom")!=-1){f.F3=f.GU}else{if(b.id.indexOf("handler-middle")!=-1){f.F3=f.HQ;g=p-f.IJ;l=q-f.KE}}}}}ZC.A2(document.body).bind("mousemove touchmove",f.TI);ZC.A2(document.body).bind("mouseup touchend",f.UR);f.KT=true;return false};f.TI=function(b){b.preventDefault();if(f.KT){zingchart.exec(f.G.N,"setmode",{mode:"static,fast"});var e=ZC.L.LE(b);var c=ZC.A2("#"+h+"-top").offset();var n=e[0]-c.left-f.AJ.iX;var a=e[1]-c.top-f.AJ.iY;if(f.F3==f.HX){f.update(n,f.HN,f.KE,f.H7)}else{if(f.F3==f.HH){f.update(f.IJ,n,f.KE,f.H7)}else{if(f.F3==f.IL){f.update(f.IJ,f.HN,a,f.H7)}else{if(f.F3==f.GU){f.update(f.IJ,f.HN,f.KE,a)}else{if(f.F3==f.HQ){f.update(n-g,n-g+ZC.A2(f.HQ).width(),a-l,a-l+ZC.A2(f.HQ).height())}}}}}}return false};f.UR=function(a){zingchart.exec(f.G.N,"setmode",{mode:""});if(f.KT){ZC.A2(document.body).unbind("mousemove touchmove",f.TI);ZC.A2(document.body).unbind("mouseup touchend",f.UR);f.KT=false;f.D.KH=false;f.zoom(false)}return false};ZC.A2("."+f.D.N+"-preview-handler").bind("mousedown touchstart",f.TK);ZC.A2("."+f.D.N+"-preview-mask").bind("click",f.AA8)}});ZC.XW=ZC.DZ.BF({$i:function(f,g){var e=this;e.b(f);e.D=f;e.G=f.A;e.KT=false;e.A0=null;e.sFlags="";e.AC="scroll-"+(g||"x")},parse:function(){var f=this,l;f.N=f.D.N+"-"+f.AC;var h="("+f.D.AC+").";var g=f.G.AV;f.CD=new ZC.HC(f.D);g.load(f.CD.o,[h+"scroll.bar",h+f.AC+".bar"]);if((l=f.o.bar)!=null){f.CD.append(l)}f.CD.parse();f.C3=new ZC.HC(f.D);g.load(f.C3.o,[h+"scroll.handle",h+f.AC+".handle"]);if((l=f.o.handle)!=null){f.C3.append(l)}f.C3.parse()},paint:function(){var m=this;var n=m.D.BH("k")[0],g=m.D.BH("v")[0],l=m.D.P;if(m.AC=="scroll-x"&&n.GY==n.Y&&n.HT==n.A3||m.AC=="scroll-y"&&g.KU==g.BJ&&g.M0==g.C7){m.unbind();ZC.A2("#"+m.D.N+"-"+m.AC+"-handle").remove();ZC.A2("#"+m.D.N+"-"+m.AC+"-bar").remove();return}if(m.KT){return}m.A0=ZC.AH(m.G.N+"-static-c");var h=ZC.AH(m.G.N+"-top");if(m.AC=="scroll-x"){m.CD.iX=l.iX;m.CD.iY=l.iY+l.F+n.AM+m.CD.BW-1;m.CD.I=l.I;m.C3.I=ZC._i_(ZC.BT(4,m.CD.I*((n.A3-n.Y)/(n.HT-n.GY))));if(n.GY==n.Y){m.C3.iX=m.CD.iX}else{if(n.HT==n.A3){m.C3.iX=m.CD.iX+m.CD.I-m.C3.I}else{m.C3.iX=ZC._i_(m.CD.iX+m.CD.I*(n.Y-n.GY)/(n.HT-n.GY))}}if(ZC.AH(m.N+"-handle")){ZC.A2("#"+m.N+"-handle").css("left",m.C3.iX+"px").css(ZC._[19],m.C3.I-2*m.C3.AA+"px")}else{m.A7G=ZC.L.IU({cls:"zc-abs zc-scroll-x-bar "+m.D.N+"-scroll-x-bar",id:m.N+"-bar",wh:m.CD.I+"/"+m.CD.F,tl:m.CD.iY+"/"+m.CD.iX,background:m.CD.W,opacity:m.CD.BC,p:h});m.A1W=ZC.L.IU({cls:"zc-abs zc-scroll-x-handle "+m.D.N+"-scroll-x-handle",id:m.N+"-handle",wh:m.C3.I-2*m.C3.AA+"/"+(m.CD.F-2*m.C3.AA),tl:m.CD.iY+"/"+m.C3.iX,background:m.C3.W,border:m.C3.AA+"px outset "+m.C3.BA,opacity:m.C3.BC,p:h});m.A1W.style.cursor="pointer";m.bind()}}else{m.CD.iX=l.iX-m.CD.I-1;m.CD.iY=l.iY;m.CD.F=l.F;m.C3.F=ZC._i_(ZC.BT(4,m.CD.F*((g.C7-g.BJ)/(g.M0-g.KU))));if(g.KU==g.BJ){m.C3.iY=m.CD.iY+m.CD.F-m.C3.F}else{if(g.M0==g.C7){m.C3.iY=m.CD.iY}else{m.C3.iY=ZC._i_(m.CD.iY+m.CD.F-m.C3.F-m.CD.F*(g.BJ-g.KU)/(g.M0-g.KU))}}if(ZC.AH(m.N+"-handle")){ZC.A2("#"+m.N+"-handle").css("top",m.C3.iY+"px").css(ZC._[20],m.C3.F-2*m.C3.AA+"px")}else{m.A7H=ZC.L.IU({cls:"zc-abs zc-scroll-y-bar "+m.D.N+"-scroll-y-bar",id:m.N+"-bar",wh:m.CD.I+"/"+m.CD.F,tl:m.CD.iY+"/"+m.CD.iX,background:m.CD.W,opacity:m.CD.BC,p:h});m.A2F=ZC.L.IU({cls:"zc-abs zc-scroll-y-handle "+m.D.N+"-scroll-y-handle",id:m.N+"-handle",wh:m.CD.I-2*m.C3.AA+"/"+(m.C3.F-2*m.C3.AA),tl:m.C3.iY+"/"+m.CD.iX,background:m.C3.W,border:m.C3.AA+"px outset "+m.C3.BA,opacity:m.C3.BC,p:h});m.A2F.style.cursor="pointer";m.bind()}}},zoom:function(o){var n=this;var s={graphid:n.D.N,zooming:o};var r=n.D.B9;var q=n.D.BH("k")[0],p=n.D.BH("v")[0];for(var t=0,v=r.length;t<v;t++){if(B=r[t]){var u=B.J==1?"":"-"+B.J;if(n.AC=="scroll-x"){if(B.AC=="k"){if(q.H0){s["zoomx"+u]=true;s["xmin"+u]=B.GY+ZC._i_((n.C3.iX-n.CD.iX)/n.CD.I*(B.HT-B.GY));s["xmax"+u]=B.GY+ZC._i_((n.C3.iX-n.CD.iX+n.C3.I)/n.CD.I*(B.HT-B.GY))}}}else{if(B.AC=="v"){if(p.H0){s["zoomy"+u]=true;s["ymin"+u]=B.KU+ZC._i_((n.CD.F-n.C3.iY+n.CD.iY-n.C3.F)/n.CD.F*(B.M0-B.KU));s["ymax"+u]=B.KU+ZC._i_((n.CD.F-n.C3.iY+n.CD.iY)/n.CD.F*(B.M0-B.KU))}}}}}n.G.ND(s)},update:function(e){var c=this;if(c.AC=="scroll-x"){c.C3.iX=e;ZC.A2("#"+c.N+"-handle").css("left",e+"px")}else{c.C3.iY=e;ZC.A2("#"+c.N+"-handle").css("top",e+"px")}if(c.KT){c.D.KH=true;c.zoom(true)}},unbind:function(){var b=this;ZC.A2("."+b.D.N+"-"+b.AC+"-handle").unbind("mousedown touchstart",b.TV);ZC.A2("."+b.D.N+"-"+b.AC+"-bar").unbind("click",b.TT)},overscroll:function(e){var f=this;var g=f.D.N8();g.type=e;ZC.AQ.CM("overscroll",f.G,g)},bind:function(){var f=this;var h=f.G.N;var g=0,l=0;f.TV=function(r){r.preventDefault();f.sFlags=f.G.I8.join(",");f.G.I8.push(ZC._[38],"skip_objects_tracking",ZC._[39],ZC._[40],ZC._[41]);if(!f.G.GW){return}f.G.GW.D=f.D;f.G.GW.parse();var b=r.target;while(b&&b.tagName.toUpperCase()!="BODY"){var a=ZC.L.A0U(b);if(a.indexOf("zc-"+f.AC+"-handle")!=-1){break}b=b.parentNode}if(!ZC.mobile&&r.which>1){return}if(!b){return}var e=ZC.L.LE(r);var c=ZC.A2("#"+h+"-top").offset();if(f.AC=="scroll-x"){var p=e[0]-c.left;g=p-f.C3.iX}else{var q=e[1]-c.top;l=q-f.C3.iY}ZC.A2(document.body).bind("mousemove touchmove",f.TS);ZC.A2(document.body).bind("mouseup touchend",f.N7);f.KT=true;return false};f.TS=function(b){b.preventDefault();if(f.KT){f.D.KH=false;var e=ZC.L.LE(b);var c=ZC.A2("#"+h+"-top").offset();if(f.AC=="scroll-x"){var n=e[0]-c.left;if(n-g<f.CD.iX){if(n<f.CD.iX-15){f.overscroll("scroll-x-left")}n=f.CD.iX+g}if(n-g+f.C3.I>f.CD.iX+f.CD.I){if(n>f.CD.iX+f.CD.I+15){f.overscroll("scroll-x-right")}n=f.CD.iX+f.CD.I+g-f.C3.I}f.update(n-g)}else{var a=e[1]-c.top;if(a-l<f.CD.iY){if(a<f.CD.iY-15){f.overscroll("scroll-y-top")}a=f.CD.iY+l}if(a-l+f.C3.F>f.CD.iY+f.CD.F){if(a>f.CD.iY+f.CD.F+15){f.overscroll("scroll-y-bottom")}a=f.CD.iY+f.CD.F+l-f.C3.F}f.update(a-l)}}return false};f.N7=function(a){f.G.I8=f.sFlags.split(",");if(f.KT){ZC.A2(document.body).unbind("mousemove touchmove",f.TS);ZC.A2(document.body).unbind("mouseup touchend",f.N7);f.KT=false;f.D.KH=false;if(a){f.zoom(false)}}return false};f.TT=function(a){f.KT=false;f.D.KH=false;var c=ZC.L.LE(a);var b=ZC.A2("#"+h+"-top").offset();if(f.AC=="scroll-x"){if(c[0]-b.left>f.C3.iX){f.update(ZC.DI(f.CD.iX+f.CD.I-f.C3.I-2*f.C3.AA,f.C3.iX+(c[0]-b.left-f.C3.iX)/4))}else{f.update(ZC.BT(f.CD.iX,c[0]-b.left+(f.C3.iX-c[0]+b.left-f.C3.I)/4))}}else{if(c[1]-b.top>f.C3.iY){f.update(ZC.DI(f.CD.iY+f.CD.F-f.C3.F-2*f.C3.AA,f.C3.iY+(c[1]-b.top-f.C3.iY)/4))}else{f.update(ZC.BT(f.CD.iY,c[1]-b.top+(f.C3.iY-c[1]+b.top-f.C3.F)/4))}}f.zoom(false)};ZC.A2("."+f.D.N+"-"+f.AC+"-handle").bind("mousedown touchstart",f.TV);ZC.A2("."+f.D.N+"-"+f.AC+"-bar").bind("click",f.TT)}});ZC.A42=ZC.D2.BF({$i:function(e){var c=this;c.b(e);c.LF="legend";c.BS=null;c.PV=null;c.M2="x1";c.H4="hide";c.OG="";c.NH="";c.R9=false;c.QL=false;c.WZ="none";c.Q0="icon";c.G7=9999;c.BE=null;c.VX=null;c.AD=null;c.KW=null;c.E3=null;c.J5=null;c.WL=0;c.OV=0;c.W1=true;c.DU=0;c.G5=0;c.DM={enabled:false,min:-1,max:-1,page:-1,pages:-1};c.LP=false;c.M8=-1;c.XD=false;c.A3H=1;c.SU=false},highlightItem:function(g){var l=this,h;var f=false;if(l.o.item&&(h=l.o.item["highlight-item"])!=null){f=ZC._b_(h)}if(f){l.H["highlight-item"]=g;l.UK();l.clear(true);l.W1=true;l.parse();l.paint()}},parse:function(){var R=this,W;R.H["force-margins"]=true;R.WL=0;R.OV=0;if((W=R.A.A.H["graph-"+R.A.N+"-legend-info"])!=null){R.o.x=W.x;R.o.y=W.y}if(!ZC.move){var Z=R.A.G.AV;var ag="("+R.A.AC+")";R.b();R.XK_a([["minimize","R9","b"],["draggable","QL","b"],["shared","XD","b"],["overflow","WZ"],["max-items","G7","i"],["group","A3H","i"],["drag-handler","Q0"]]);R.BE=new ZC.HC(R);Z.load(R.BE.o,ag+".legend.item");R.BE.append(R.o.item);R.BE.parse();R.VX=new ZC.HC(R);Z.load(R.VX.o,ag+".legend.item-off");R.VX.append(R.o["item-off"]);R.VX.parse();R.AD=new ZC.DZ(R);Z.load(R.AD.o,ag+".legend.marker");R.AD.append(R.o.marker);R.AD.H.type="default";R.AD.H["show-marker"]=true;R.AD.H["show-line"]=false;if((W=R.AD.o.type)!=null){R.AD.H.type=W}if((W=R.AD.o["show-line"])!=null){R.AD.H["show-line"]=ZC._b_(W)}if((W=R.BE.o["marker-style"])!=null){R.AD.H.type=W}if((W=R.BE.o["show-line"])!=null){R.AD.H["show-line"]=ZC._b_(W)}if((W=R.BE.o["show-marker"])!=null){R.AD.o.visible=ZC._b_(W)}R.AD.parse();R.KW=new ZC.DZ(R);Z.load(R.KW.o,ag+".legend.marker-off");R.KW.append(R.o["marker-off"]);R.KW.H.type="default";R.KW.H["show-marker"]=true;R.KW.H["show-line"]=false;if((W=R.KW.o.type)!=null){R.KW.H.type=W}if((W=R.KW.o["show-line"])!=null){R.KW.H["show-line"]=ZC._b_(W)}if((W=R.BE.o["marker-style"])!=null){R.KW.H.type=W}if((W=R.BE.o["show-line"])!=null){R.KW.H["show-line"]=ZC._b_(W)}if((W=R.BE.o["show-marker"])!=null){R.KW.o.visible=ZC._b_(W)}R.KW.parse();if((W=R.o.header)!=null||R.QL||R.R9){R.E3=new ZC.D2(R);R.E3.LF="legendheader";R.E3.F7="zc-legend-item "+R.N+"-header";R.E3.N=R.N+"-header";Z.load(R.E3.o,ag+".legend.header");R.E3.o.text=R.E3.o.text||" ";R.E3.append(W);R.E3.parse();if(!R.E3.AP){R.E3=null}}if((W=R.o.footer)!=null){R.J5=new ZC.D2(R);R.J5.LF="legendfooter";R.J5.F7="zc-legend-item "+R.N+"-footer";R.J5.N=R.N+"-footer";Z.load(R.J5.o,ag+".legend.footer");R.J5.append(W);R.J5.parse();if(!R.J5.AP){R.J5=null}}var J=R.A.AY.AB;if((W=R.o.layout)!=null){R.M2=W}else{if(J.length*25>R.A.F){R.M2="x"+Math.ceil(J.length*25/R.A.F)}}if((W=R.o[ZC._[54]])!=null){R.H4=W}R.OG=R.NH=R.H4;if(R.o.item!=null){if((W=R.o.item[ZC._[54]])!=null){R.OG=W}}if(R.o.marker!=null){if((W=R.o.marker[ZC._[54]])!=null){R.NH=W}}R.BS=[];for(var H=0,af=J.length;H<af;H++){var L=new ZC.D2(R);L.copy(R.BE);L.append(J[H].o["legend-item"]);var X=null;if((W=J[H].A0B)!=null){X=W}if(X==null){if((W=J[H].AN)!=null){X=W}}L.AN=X==null?"Series "+H:X;L.H.order=H;L.H.index=H;if(J[H].o["legend-item"]!=null&&(W=J[H].o["legend-item"]["order"])!=null){L.H.order=ZC._l_(ZC._i_(W)-1,0,af-1)}if(R.H["highlight-item"]==H){L.append({bold:true,"background-color":"#fff"});if(R.o.item!=null){L.append(R.o.item["highlight-state"])}}L.parse();R.BS.push(L)}if(W=R.A.H["legend-info"]){R.LP=W.collapsed}}else{if(R.E3){R.E3.parse()}if(R.J5){R.J5.parse()}}if(R.WZ=="page"){if(W=R.A.H["legend-info"]){R.DM.min=W.min;R.DM.max=W.max;R.DM.page=W.page}else{R.DM.min=0;R.DM.max=R.G7;R.DM.page=1}R.DM.pages=Math.ceil(R.BS.length/R.G7);if(R.DM.page>R.DM.pages){R.DM.page=R.DM.pages;R.DM.min=(R.DM.page-1)*R.G7;R.DM.max=R.DM.page*R.G7-1}R.DM.page=ZC.DI(R.DM.page,R.DM.pages)}else{R.DM.min=0;R.DM.max=R.WZ=="hidden"?R.G7:R.BS.length;R.DM.page=1}R.UK(false);R.BS.sort(function(a,b){return a.H.order>=b.H.order?1:-1});var S=R.A.I*0.9;if(R.o[ZC._[19]]!=null){S=R.I}var U=0,ae=0;var O=-ZC.MAX;var I=-ZC.MAX;var ac=R.AD.H["show-line"]?3:2;var N=0;if(R.M2=="float"){for(var H=0,af=R.BS.length;H<af;H++){N+=R.BS[H].AP?1:0;if(H<R.DM.min||H>=R.DM.max||R.LP){continue}if(R.BS[H].AP){var Q=R.BS[H].I+R.BS[H].CW+R.BS[H].CT+ac*R.BS[H].EY;I=ZC.BT(I,R.BS[H].F+R.BS[H].CP+R.BS[H].CO);if(U+Q>S){O=ZC.BT(O,U);ae+=I;U=Q;I=ZC.BT(I,R.BS[H].F+R.BS[H].CP+R.BS[H].CO)}else{U+=Q}}}if(I!=-ZC.MAX){ae+=I}if(O!=-ZC.MAX){U=O}}else{var M=0;for(var H=0,af=R.BS.length;H<af;H++){N+=R.BS[H].AP?1:0;if(H<R.DM.min||H>=R.DM.max||R.LP){continue}M+=R.BS[H].AP?1:0}var aa=ZC.AX.WP(R.M2,M);var ad=aa[0];var K=aa[1];for(var H=0,af=R.BS.length;H<af;H++){if(H<R.DM.min||H>=R.DM.max||R.LP){continue}if(R.BS[H].AP){O=ZC.BT(O,R.BS[H].I+R.BS[H].CW+R.BS[H].CT+ac*R.BS[H].EY);I=ZC.BT(I,R.BS[H].F+R.BS[H].CP+R.BS[H].CO);if(K==1){ae+=R.BS[H].F+R.BS[H].CP+R.BS[H].CO}}}U=K*O;ae=ad*I}if(R.WZ=="page"&&N>R.G7){R.DM.enabled=true}if(R.E3!=null){var P=R.E3.I;if(R.QL&&R.Q0=="icon"){P+=15;if(R.R9){P+=25}}else{if(R.R9){P+=15}}U=ZC.BT(U,P)}if(R.J5!=null){U=ZC.BT(U,R.J5.I)}var s=false,ab=false;if(R.o[ZC._[19]]==null){R.o[ZC._[19]]=U;s=true}if(R.o[ZC._[20]]==null){R.o[ZC._[20]]=ae;ab=true}R.iX=-1;R.iY=-1;R.locate();if(R.o.position!=null&&typeof R.H["position-info"]!=ZC._[31]){if(R.H["position-info"][0]>0.5){R.WL+=R.EL+R.FA}if(R.H["position-info"][1]>0.5){R.OV+=R.FO+R.G4}else{if(R.E3!=null){R.OV-=R.E3.F}if(R.J5!=null){R.OV-=R.J5.F}}}else{if(R.A.iX==0||R.iX+R.I/2>R.A.iX+R.A.I/2){R.WL+=R.EL+R.FA}if(R.A.iY==0||R.iY+R.F/2>R.A.iY+R.A.F/2){R.OV+=R.FO+R.G4}}if(!ZC.move&&(W=R.A.A.H["graph-"+R.A.N+"-legend-info"])){if(W.x){R.iX=W.x}if(W.y){R.iY=W.y}}R.G5=R.F;R.DU=R.iY;if(R.E3!=null){R.F+=R.E3.F;R.DU+=R.E3.F;R.OV+=R.E3.F}if(R.J5!=null){R.F+=R.J5.F;R.OV+=R.J5.F}if(R.DM.enabled&&!R.LP){var Y=new ZC.D2(R);Y.AN=" ";Y.append(R.o["page-status"]);Y.parse();R.F+=Y.F+4;R.OV+=Y.F+4}if(s){R.o[ZC._[19]]=null}if(ab){R.o[ZC._[20]]=null}if(!R.LP){R.I+=R.EL+R.FA;R.F+=R.FO+R.G4}if(R.H["default-width"]){R.I=R.H["default-width"]}},UK:function(e){var c=this;if(typeof e==ZC._[31]){e=true}c.A.H["legend-info"]={collapsed:c.LP,min:c.DM.min,max:c.DM.max,page:c.DM.page};if(e){c.A.A.H["graph-"+c.A.N+"-legend-info"]={x:c.iX,y:c.iY}}},clear:function(g){if(g==null){g=false}var f=this,e=f.A.N+"-legend-";ZC.A2("."+e+"item").remove();ZC.A2("."+e+"header").remove();ZC.A2("."+e+"footer").remove();ZC.A2("#"+e+"page-status").remove();if(!g){if(!ZC.move){f.unbind()}ZC.A2("."+e+"page-area").remove();ZC.A2("."+e+"header-area").remove();ZC.A2("."+e+"item-area").remove();ZC.A2("."+e+"marker-area").remove()}if(ZC.move){ZC.L.JI(ZC.AH(e+"c"),f.A.G.A8,f.A.iX,f.A.iY,f.A.I,f.A.F)}else{ZC.L.JI(ZC.AH(e+"c"),f.A.G.A8,f.iX-2*f.AA-2*f.H9,f.iY-2*f.AA-2*f.H9,f.I+4*f.AA+4*f.H9,f.F+4*f.AA+4*f.H9)}},unbind:function(){var b=this;ZC.A2("#"+b.N+"-move-area").die(ZC.L.BM(ZC._[47]),b.TW);ZC.A2("#"+b.N+"-minimize-area").die(ZC.L.BM("click"),b.WF);ZC.A2("."+b.N+"-page-area").die(ZC.L.BM("click"),b.TG);if(b.BE.o.reorder){ZC.A2("."+b.A.N+"-legend-item-area").die(ZC._[47],b.RF)}},paint:function(aS){var aG=this;var aP;if(!aG.AP){return}if(!aG.H["default-width"]){aG.H["default-width"]=aG.I}var aU=aG.A.AY.AB;if(aG.W1&&aG.o.y==null){aG.iX-=aG.WL;if(aG.iX<aG.CW&&(aG.CW<aG.CT||aG.CT==-2)){aG.iX=aG.CW}aG.iY-=aG.OV;aG.DU-=aG.OV;if(aG.iY<aG.CP&&(aG.CP<aG.CO||aG.CO==-2)){var am=aG.DU-aG.iY;aG.iY=aG.CP;aG.DU=aG.CP+am}aG.W1=false}aG.YY=true;aG.b();if(aG.E3!=null){aG.E3.iX=aG.iX;aG.E3.iY=aG.iY;aG.E3.I=aG.I;aG.E3.A0=aG.E3.BZ=aG.A0;aG.E3.paint();if(!ZC.move){aG.E3.DR()}if(aG.QL&&aG.Q0=="icon"){var y=new ZC.DA(aG);y.A0=aG.A0;y.AW="#000";y.AM=1;y.DY="line";y.append(aG.o.icon);var aK=aG.E3.iX+aG.E3.I-10;var x=aG.E3.iY+aG.E3.F/2;y.C=[[aK-7,x],[aK+7,x],null,[aK,x-7],[aK,x+7],null,[aK-6,x-1],[aK-6,x+1],null,[aK-5,x-2],[aK-5,x+2],null,[aK+6,x-1],[aK+6,x+1],null,[aK+5,x-2],[aK+5,x+2],null,[aK-1,x-6],[aK+1,x-6],null,[aK-2,x-5],[aK+2,x-5],null,[aK-1,x+6],[aK+1,x+6],null,[aK-2,x+5],[aK+2,x+5]];y.parse();y.paint()}if(aG.R9){var y=new ZC.DA(aG);y.A0=aG.A0;y.AW="#000";y.AM=1;y.append(aG.o.icon);y.DY="line";var aK=aG.E3.iX+aG.E3.I-10-(aG.QL&&aG.Q0=="icon"?20:0);var x=aG.E3.iY+aG.E3.F/2;y.C=[[aK-7,x-2],[aK+2,x-2],[aK+2,x+7],[aK-7,x+7],[aK-7,x-2],[aK+2,x-2],null,[aK-4,x-5],[aK+5,x-5],[aK+5,x+4],[aK-4,x+4],[aK-4,x-5],[aK+5,x-5]];y.parse();y.paint()}}if(aG.J5!=null){aG.J5.iX=aG.iX;aG.J5.iY=aG.iY+aG.F-aG.J5.F;aG.J5.I=aG.I;aG.J5.A0=aG.J5.BZ=aG.A0;aG.J5.paint();if(!ZC.move){aG.J5.DR()}}var aM=0;for(var az=0,aR=aG.BS.length;az<aR;az++){if(az<aG.DM.min||az>=aG.DM.max||aG.LP){continue}aM+=aG.BS[az].AP?1:0}var aq=ZC.AX.WP(aG.M2,aM);var aN=aq[0];var ar=aq[1];var aI=aG.I/ar;var at=aG.G5/aN;var aT=0,ax=0;aG.PV=[];var aD=0;var a1=-ZC.MAX;var au=aG.AD.H["show-line"]?3:2;var aF=null;var a0="";aG.SU=false;for(var az=0,aR=aG.BS.length;az<aR;az++){if(az<aG.DM.min||az>=aG.DM.max||aG.LP){continue}var s=aG.BS[az];var an=s.H.index;var aJ=new ZC.D2(aG);aJ.LF="legenditem";aJ.N=aG.N+"-item_"+an;aJ.F7="zc-legend-item "+aG.N+"-item";aJ.copy(s);if(!aG.A.H["plot"+an+".visible"]||aU[an].o["legend-status"]=="off"){aJ.append(aG.VX.o)}aJ.append(aU[an].o["legend-item"]);aJ.KV=function(b){var a=b;if(aS==null){aS=0}if(aU[an]&&aU[an].Q[aS]){b=aU[an].EV(aS).KV(b)}aG.SU=aG.SU||b!=a;return b};aJ.parse();if(aJ.AP){if(aG.M2=="float"){a1=ZC.BT(a1,s.F);if(aF==null){s.iX=aG.iX+aG.EL+s.CW+au*s.EY;s.iY=aG.DU+aG.FO+s.CP;aD=aG.DU}else{s.iX=aF.iX+aF.I+aF.CT+s.CW+au*s.EY;if(ZC._i_(s.iX+s.I+s.CT)>ZC._i_(aG.iX+aG.I)){s.iX=aG.iX+aG.EL+s.CW+au*s.EY;aD+=a1+s.CP+s.CO;a1=-ZC.MAX}s.iY=aD+aG.FO+s.CP}}else{s.iX=aG.iX+(ax==0?aG.EL:0)+ax*aI+s.CW+au*s.EY;s.iY=aG.DU+aG.FO+aT*at+s.CP;ax++;if(ax==ar){ax=0;aT++}}aF=s;aJ.iX=s.iX=ZC._i_(s.iX);aJ.iY=s.iY=ZC._i_(s.iY);aJ.A0=s.BZ=aG.A0;if(an==aG.M8){aJ.iY=aG.H["dragged-y"]-aJ.EY/4}aJ.paint();if(typeof aG.H.showhide==ZC._[31]||aG.H.showhide==null){if(!ZC.move){aJ.DR()}}}var aB=aG.AD.H.type;if((aP=aU[an].o["legend-marker"])!=null){if(aP.type!=null){aB=aP.type}}var ak=false;if(aB=="match"||aB=="inherit"){ak=true;if((aP=aU[an].AD.o.type)!=null){aB=aP}else{aB="default"}}var aV;if(ZC.AG(["default","square"],aB)!=-1){aV=new ZC.HC(aG)}else{aV=new ZC.DA(aG);aV.DY=aB}aV.LF="legendmarker";aV.append(aG.AD.o);if(!aG.A.H["plot"+an+".visible"]||aU[an].o["legend-status"]=="off"){aV.append(aG.KW.o)}aV.JV=aU[an].JV;switch(aU[an].AC){case"pie":case"pie3d":case"nestedpie":case"vbar":case"vbar3d":case"hbar":case"hbar3d":case"vbullet":case"hbullet":case"area":case"area3d":case"gauge":case"vfunnel":case"hfunnel":case"venn":aV.W=aU[an].W;aV.A5=aU[an].A5;aV.FD=aU[an].FD;aV.FU=aU[an].FU;break;case"scatter":case"bubble":aV.W=aU[an].AD.W!=-1?aU[an].AD.W:aU[an].W;aV.A5=aU[an].AD.A5!=-1?aU[an].AD.A5:aU[an].A5;aV.FD=aU[an].AD.FD!=""?aU[an].AD.FD:aU[an].FD;aV.FU=aU[an].AD.FU!=""?aU[an].AD.FU:aU[an].FU;break;default:aV.W=aU[an].AW;aV.A5=aU[an].AW;break}if(ak){aV.append(aU[an].AD.o)}aV.o["line-style"]="solid";aV.o.type=aV.DY;aV.append(aU[an].o["legend-marker"]);if(ak){aV.o.type=aV.DY}aV.H["show-marker"]=true;aV.H["show-line"]=false;if((aP=aV.o["show-line"])!=null){aV.H["show-line"]=ZC._b_(aP)}if((aP=aJ.o["show-line"])!=null){aV.H["show-line"]=ZC._b_(aP)}if((aP=aJ.o["show-marker"])!=null){aV.o.visible=ZC._b_(aP)}if(ZC.AG(["default","square"],aB)!=-1){if((aP=aV.o[ZC._[21]])!=null){if(aV.o[ZC._[19]]==null){aV.o[ZC._[19]]=2*ZC._i_(aP)}if(aV.o[ZC._[20]]==null){aV.o[ZC._[20]]=2*ZC._i_(aP)}}}aV.N=aG.N+"-marker_"+an;aV.A0=aV.BZ=aG.A0;aV.iX=aJ.iX-au*aJ.EY+(au-1)*aJ.EY/2+aJ.EY/2;aV.iY=aJ.iY+(aJ.F-aJ.EY)/2+aJ.EY/2;aV.parse();if(aG.H["highlight-item"]==an){aV.append({size:aV.AO+1,width:aV.I+2,height:aV.F+2});aV.parse()}var aW=aV.iX+aV.C1,aY=aV.iY+aV.BW;if(ZC.AG(["default","square"],aB)!=-1){aV.iX-=aV.I/2;aV.iY-=aV.F/2}if(!aG.A.H["plot"+an+".visible"]||aU[an].o["legend-status"]=="off"){aV.BC/=4}if(aJ.AP&&aV.H["show-line"]){var al=ZC.L.DF(aG.A0,aG.A.G.A8);var ap=new ZC.DZ(aG);ap.A0=aG.A0;ap.copy(aU[an]);ap.o["line-style"]=aG.AD.FX;ap.append(aU[an].o);ap.append(aG.AD.o);ap.append(aU[an].o["legend-item"]);ap.append(aU[an].o["legend-marker"]);ap.parse();if(!aG.A.H["plot"+an+".visible"]){ap.BC=0.25}var aO=[];var ao=aV.AP?2:1;var C=aV.DY=="box"?aV.I/2:aV.AO;aO.push([aW-ao*C-(ap.AM>1?1:0),aY-(ap.AM>1?0.5:0)]);aO.push([aW+ao*C,aY-(ap.AM>1?0.5:0)]);ap.D5=true;ZC.C8.paint(al,ap,aO)}if(an==aG.M8){aV.iY=aG.H["dragged-y"]}if(aV.AP){aV.paint()}aG.PV.push(aV);var av=true;if((aP=aG.BE.o.toggle)!=null){av=ZC._b_(aP)}aG.H["item.toggle"]=av;if(aJ.AP||aV.AP){if(ZC.AG(aG.A.G.I8,ZC._[41])==-1){var a2=aV.C1+(aV.DY=="box"?aV.iX+aV.I/2:aV.iX);var a3=aV.BW+(aV.DY=="box"?aV.iY+aV.F/2:aV.iY);var C=aV.DY=="box"?aV.I/2:aV.AO;var aA=aV.DY=="box"?aV.F/2:aV.AO;var aE=(aV.H["show-line"]?2:1)*C;if(!ZC.AH(aJ.N+"-area")){if(aG.NH!="disabled"){a0+=ZC.L.E7("rect",false,aV.ID)+‘class="‘+(aG.N+"-marker-area zc-legend-marker-area")+‘" id="‘+aV.N+"-area"+ZC._[30]+ZC._i_(a2-aE+ZC.MAPTX)+","+ZC._i_(a3-aA+ZC.MAPTX)+","+ZC._i_(a2+aE+ZC.MAPTX)+","+ZC._i_(a3+aA+ZC.MAPTX)+‘" />‘}if(aG.OG!="disabled"){a0+=ZC.L.E7("rect",false,aJ.ID)+‘class="‘+(aG.N+"-item-area zc-legend-item-area")+‘" id="‘+aJ.N+"-area"+ZC._[30]+ZC._i_(aJ.iX+aJ.C1+ZC.MAPTX)+","+ZC._i_(aJ.iY+aJ.BW+ZC.MAPTX)+","+ZC._i_(aJ.iX+aJ.C1+aJ.I+ZC.MAPTX)+","+ZC._i_(aJ.iY+aJ.BW+aJ.F+ZC.MAPTX)+‘" />‘}}}}}if(aG.DM.enabled&&!aG.LP){var aL=new ZC.D2(aG);aL.A0=aL.BZ=aG.A0;aL.N=aG.N+"-page-status";aL.AN=ZC.FL["legend-pagination"].replace("%page%",aG.DM.page).replace("%pages%",aG.DM.pages);aL.append(aG.o["page-status"]);aL.parse();if(aG.I<aL.I+48){aL.AN=aG.DM.page+"/"+aG.DM.pages;aL.parse()}aL.iX=aG.iX+aG.I/2-aL.I/2;aL.iY=aG.iY+aG.F-(aG.J5?aG.J5.F:0)-aL.F-4;if(aL.AP){aL.paint()}var aX=new ZC.DA(aG);aX.A0=aX.BZ=aG.A0;aX.N=aG.N+"-page-prev";aX.W=aX.A5=aG.DM.page>1?"#f90":"#999";aX.append(aG.DM.page>1?aG.o["page-on"]:aG.o["page-off"]);var ay=aG.iX+aG.I/2-aL.I/2-6;var aQ=aL.iY+aL.F/2;aX.parse();aX.AO=ZC.BT(aX.AO,8);var aC=ZC._i_(aX.AO*0.75);aX.C=[[ay,aQ-aC],[ay,aQ+aC],[ay-aX.AO,aQ],[ay,aQ-aC]];aX.parse();if(aX.AP){aX.paint()}var aw=new ZC.DA(aG);aw.A0=aw.BZ=aG.A0;aw.N=aG.N+"-page-next";aw.W=aw.A5=aG.DM.page<aG.DM.pages?"#f90":"#999";aw.append(aG.DM.page<aG.DM.pages?aG.o["page-on"]:aG.o["page-off"]);var aZ=aG.iX+aG.I/2+aL.I/2+6;var aH=aL.iY+aL.F/2;aw.parse();aw.AO=ZC.BT(aw.AO,8);var aC=ZC._i_(aw.AO*0.75);aw.C=[[aZ,aH-aC],[aZ,aH+aC],[aZ+aw.AO,aH],[aZ,aH-aC]];aw.parse();if(aw.AP){aw.paint()}}if(!ZC.move){if(aG.DM.enabled&&!aG.LP){if(aG.DM.page>1){a0+=ZC.L.E7("circle")+‘class="‘+(aG.N+"-page-area zc-legend-page-area")+‘" id="‘+aG.N+"-page-prev-area"+ZC._[30]+ZC._i_(ay-2+ZC.MAPTX)+","+ZC._i_(aQ+ZC.MAPTX)+‘,10" />‘}if(aG.DM.page<aG.DM.pages){a0+=ZC.L.E7("circle")+‘class="‘+(aG.N+"-page-area zc-legend-page-area")+‘" id="‘+aG.N+"-page-next-area"+ZC._[30]+ZC._i_(aZ+2+ZC.MAPTX)+","+ZC._i_(aH+ZC.MAPTX)+‘,10" />‘}}if(aG.E3&&aG.QL){a0+=ZC.L.E7("rect")+‘class="‘+(aG.N+"-header-area zc-legend-header-area")+‘" id="‘+aG.N+"-move-area"+ZC._[30];if(aG.Q0=="icon"){a0+=ZC._i_(aG.E3.iX+aG.E3.I-20+ZC.MAPTX)+","+ZC._i_(aG.E3.iY+ZC.MAPTX)+","+ZC._i_(aG.E3.iX+aG.E3.I-1+ZC.MAPTX)+","+ZC._i_(aG.E3.iY+aG.E3.F+ZC.MAPTX)}else{a0+=ZC._i_(aG.E3.iX+ZC.MAPTX)+","+ZC._i_(aG.E3.iY+ZC.MAPTX)+","+ZC._i_(aG.E3.iX+aG.E3.I-(aG.R9?23:0)+ZC.MAPTX)+","+ZC._i_(aG.E3.iY+aG.E3.F+ZC.MAPTX)}a0+=‘" />‘}if(aG.R9){a0+=ZC.L.E7("rect")+‘class="‘+(aG.N+"-header-area zc-legend-header-area")+‘" id="‘+aG.N+"-minimize-area"+ZC._[30];if(aG.QL&&aG.Q0=="icon"){a0+=ZC._i_(aG.E3.iX+aG.E3.I-41+ZC.MAPTX)+","+ZC._i_(aG.E3.iY+ZC.MAPTX)+","+ZC._i_(aG.E3.iX+aG.E3.I-22+ZC.MAPTX)+","+ZC._i_(aG.E3.iY+aG.E3.F+ZC.MAPTX)}else{a0+=ZC._i_(aG.E3.iX+aG.E3.I-22+ZC.MAPTX)+","+ZC._i_(aG.E3.iY+ZC.MAPTX)+","+ZC._i_(aG.E3.iX+aG.E3.I-1+ZC.MAPTX)+","+ZC._i_(aG.E3.iY+aG.E3.F+ZC.MAPTX)}a0+=‘" />‘}if(a0!=""&&(aP=ZC.AH(aG.A.A.N+"-map"))){aP.innerHTML+=a0}aG.UH=0;aG.UN=0;aG.TW=function(c){c.preventDefault();aG.G.hideCM();ZC.move=true;if(!ZC.mobile&&c.which>1){return}aG.A.A.H["graph-"+aG.A.N+"-legend-info"]=null;var b=ZC.L.LE(c);var a=ZC.A2("#"+aG.A.A.N+"-top").offset();aG.UH=b[0]-a.left-aG.E3.iX;aG.UN=b[1]-a.top-aG.E3.iY;ZC.A2(document.body).bind(ZC.L.BM(ZC._[48]),aG.TX);ZC.A2(document.body).bind(ZC.L.BM(ZC._[49]),aG.VC)};aG.TX=function(e){var a=ZC.L.LE(e);var f=ZC.A2("#"+aG.A.A.N+"-top").offset();var b=a[0]-f.left-aG.UH;var c=a[1]-f.top-aG.UN;b=ZC.BT(b,aG.A.iX+2);b=ZC.DI(b,aG.A.iX+aG.A.I-aG.I-2);c=ZC.BT(c,aG.A.iY+2);c=ZC.DI(c,aG.A.iY+aG.A.F-aG.F-4);aG.o.x=b;aG.o.y=c;aG.o.position=null;aG.clear(true);aG.parse();aG.paint()};aG.VC=function(a){ZC.move=false;ZC.A2(document.body).unbind(ZC.L.BM(ZC._[48]),aG.TX);ZC.A2(document.body).unbind(ZC.L.BM(ZC._[49]),aG.VC);aG.clear(false);aG.parse();aG.paint();aG.UK()};aG.TG=function(a){aG.H["default-width"]=null;var b=a.targetid||a.target.id;if(b.indexOf("-page-next-area")!=-1){aG.DM.min+=aG.G7;aG.DM.max+=aG.G7;aG.DM.page+=1}else{aG.DM.min-=aG.G7;aG.DM.max-=aG.G7;aG.DM.page-=1}aG.UK();aG.clear(false);aG.parse();aG.paint()};aG.WF=function(a){aG.LP=!aG.LP;aG.UK();aG.clear(false);aG.parse();aG.paint()};aG.LG=function(e){ZC.move=true;var a=ZC.L.LE(e);var f=ZC.A2("#"+aG.A.A.N+"-top").offset();var b=a[0]-f.left;var c=a[1]-f.top;aG.H["dragged-x"]=b;aG.H["dragged-y"]=c;aG.UK();aG.clear(false);aG.parse();aG.paint()};aG.RF=function(a){a.preventDefault();aG.G.hideCM();if(!ZC.mobile&&a.which>1){return}var b=new RegExp("-legend-item-([0-9]+)-area","g").exec(a.target.id);if(b){aG.M8=b[1]}ZC.A2(document.body).bind(ZC.L.BM(ZC._[48]),aG.LG);ZC.A2(document.body).bind(ZC.L.BM(ZC._[49]),aG.SJ)};aG.SJ=function(h){var e=aG.M8;aG.M8=-1;ZC.A2(document.body).unbind(ZC.L.BM(ZC._[48]),aG.LG);ZC.A2(document.body).unbind(ZC.L.BM(ZC._[49]),aG.SJ);if(ZC.move){var f=aG.A.AY.AB;for(var g=0,l=f.length;g<l;g++){f[g].o["legend-item"]=f[g].o["legend-item"]||{};if(f[g].o["legend-item"]["order"]==null){f[g].o["legend-item"]["order"]=g+1}}var a=-1;for(var b=0,c=aG.PV.length;b<c;b++){if(aG.H["dragged-y"]>aG.PV[b].iY){a=b}}if(a==-1){f[e].o["legend-item"]["order"]=1}else{f[e].o["legend-item"]["order"]=f[a].o["legend-item"]["order"]+1}for(var b=0,c=aG.PV.length;b<c;b++){if(a>e){if(b>=e&&b<=a){f[b].o["legend-item"]["order"]--}}else{if(a<e){if(b>a&&b<e){f[b].o["legend-item"]["order"]++}}}}for(var b=0,c=aG.PV.length;b<c;b++){aG.A.o[ZC._[11]][b]["z-index"]=f[b].o["legend-item"]["order"]}ZC.move=false;aG.clear(false);aG.A.IC()}};ZC.A2("#"+aG.N+"-move-area").live(ZC.L.BM(ZC._[47]),aG.TW);ZC.A2("#"+aG.N+"-minimize-area").live(ZC.L.BM("click"),aG.WF);ZC.A2("."+aG.N+"-page-area").live(ZC.L.BM("click"),aG.TG);if(aG.BE.o.reorder){ZC.A2("."+aG.A.N+"-legend-item-area").live(ZC._[47],aG.RF)}}aG.H.showhide=null}});ZC.A6Q=ZC.DA.BF({$i:function(e){var c=this;c.b(e);c.G6=1;c.QK=null;c.BV=null;c.K=null;c.I6=0},parse:function(){var e=this,c;e.XK_a([["alpha-area","G6","f"],["z-index","I6","i"]]);if((c=e.o.from)!=null){e.QK=new ZC.DA(e.A);e.QK.append(c);if(c.hook!=null){e.QK.H.hook=c.hook}e.QK.parse();if(typeof c=="string"){e.QK.H.hook=c}}if((c=e.o.to)!=null){e.BV=new ZC.DA(e.A);e.BV.append(c);if(c.hook!=null){e.BV.H.hook=c.hook}e.BV.parse();if(typeof c=="string"){e.BV.H.hook=c}}if((c=e.o.label)!=null||e.o.text!=""&&typeof e.o.text!=ZC._[31]){e.K=new ZC.D2(e);e.K.append(e.o);e.K.append(c);e.K.parse()}e.b()},paint:function(){var r=this,s;if(!r.AP){return}if(r.QK==null||r.BV==null){return}if(r.AO<2){r.AO=2}if((s=r.QK.H.hook)!=null){var x=r.A.VL(s);r.QK.iX=x[0];r.QK.iY=x[1]}if((s=r.BV.H.hook)!=null){var x=r.A.VL(s);r.BV.iX=x[0];r.BV.iY=x[1]}r.QK.iX+=r.QK.C1;r.QK.iY+=r.QK.BW;r.BV.iX+=r.BV.C1;r.BV.iY+=r.BV.BW;var w=[r.QK.iX,r.QK.iY];var G=[r.BV.iX,r.BV.iY];var t=G[0]-w[0];var u=G[1]-w[1];var D=ZC.QS(Math.atan2(u,t));var A=Math.sqrt(t*t+u*u);var z,C=[];C.push(w);z=ZC.AX.BK(w[0],w[1],r.AO,D+90);C.push(z);z=ZC.AX.BK(z[0],z[1],A-4*r.AO,D);C.push(z);z=ZC.AX.BK(z[0],z[1],2*r.AO,D+90);C.push(z);C.push(G);z=ZC.AX.BK(z[0],z[1],6*r.AO,D-90);C.push(z);z=ZC.AX.BK(z[0],z[1],2*r.AO,D+90);C.push(z);z=ZC.AX.BK(w[0],w[1],r.AO,D-90);C.push(z);C.push(w);var y=new ZC.DA(r.A);y.A0=y.BZ=r.A0;y.copy(r);y.C=C;y.D5=false;y.BC=r.G6;y.paint();if(r.K!=null){r.K.A0=r.A0;r.K.N=r.A.N+"-arrow-label-"+r.GI;r.K.F7=r.A.N+"-arrow-label zc-arrow-label";var v=ZC.AX.IA(w[0],w[1],G[0],G[1]);r.K.iX=v[0];r.K.iY=v[1];r.K.C1-=r.K.I/2;r.K.BW-=r.K.F/2;if(r.K.o["font-angle"]!=null&&r.K.o["font-angle"]=="inherit"){r.K.A6=D}r.K.paint();r.K.DR()}}});ZC.A4W=ZC.BX.BF({$i:function(c){var e=this;e.G=c;e.R4=false;e.BN=null;e.R8=null},unbind:function(){var b=this;if(b.BN){window.clearInterval(b.BN)}ZC.A2(document.body).unbind("mousemove touchstart",b.R8)},bind:function(){var q=this;var x=q.G.N;var y=ZC.AH(x+"-guide-c");var u=ZC.L.DF(y,q.G.A8);var w=ZC.A2(y).width();var v=ZC.A2(y).height();var C={},A={},r={},z={};if(!ZC.mobile&&ZC.XZ==null){ZC.XZ=window.setInterval(function(){var b=true;for(var a=0,e=zingchart.IB.length;a<e;a++){if(ZC.AH(zingchart.IB[a].N+"-top")!=null){var c=ZC.A2("#"+zingchart.IB[a].N+"-top").offset();if(ZC.E1[0]>=c.left&&ZC.E1[0]<=c.left+zingchart.IB[a].I&&ZC.E1[1]>=c.top&&ZC.E1[1]<=c.top+zingchart.IB[a].F){b=false}}else{window.clearInterval(ZC.XZ);ZC.XZ=null}}if(b){s()}},500)}var t=null;function s(){if(w==0||v==0){w=ZC.A2(y).width();v=ZC.A2(y).height()}if(ZC.P1!=null&&ZC.P1!=y.id&&ZC.AH(ZC.P1)){ZC.L.JI(ZC.AH(ZC.P1),q.G.A8,0,0,ZC.A2("#"+ZC.P1).width(),ZC.A2("#"+ZC.P1).height())}ZC.P1=y.id;ZC.L.JI(y,q.G.A8,0,0,w,v);ZC.A2(".zc-guide-label").remove();if(q.G.A8=="svg"&&t){ZC.A2("#"+q.G.N+"-defs").children().each(function(){if(this.id.indexOf(t.N+"-guide-label-")==0){ZC.L.F6(this.id)}})}t=null}q.R8=function(P){if(P.type==ZC._[48]&&ZC.TOUCHEVENTS){return}if(ZC.move&&!ZC.mobile){return}if(q.G.X5||ZC.AH(x+"-top")==null){return false}if(!ZC.L.A58(ZC.AH(x+"-top"))){return false}var a5=[];var a4=ZC.L.LE(P),ay=a4[0],aK=a4[1];var c=ZC.A2("#"+x+"-top").offset();var n=ay-c.left;var p=aK-c.top;for(var bd=0,aR=q.G.B0.length;bd<aR;bd++){var aZ=q.G.B0[bd].P;if(ZC.EO(n,aZ.iX-5,aZ.iX+aZ.I+5)&&ZC.EO(p,aZ.iY-5,aZ.iY+aZ.F+5)){t=q.G.B0[bd]}}var bh=false;if(t!=null){a5.push(t);if(t!=null&&t.GT!=null){bh=t.GT.o.shared!=null&&ZC._b_(t.GT.o.shared)}for(var bd=0,aR=q.G.B0.length;bd<aR;bd++){if(q.G.B0[bd]!=t){var aZ=q.G.B0[bd].P;var a6=q.G.B0[bd].GT;var bj=q.G.B0[bd].JL;var bc=a6&&a6.o.shared!=null&&ZC._b_(a6.o.shared);if((a6!=null||bj!=null)&&ZC.EO(n,aZ.iX-5,aZ.iX+aZ.I+5)&&(ZC.EO(p,aZ.iY-5,aZ.iY+aZ.F+5)||bh&&bc)){a5.push(q.G.B0[bd])}}}}if(a5.length==0){C={};A={};r={};if(q.R4){s();q.R4=false}}if(a5.length>0){q.R4=true;var a3=false;for(var bb=0,U=a5.length;bb<U;bb++){var au=false;if(C[bb]==null){C[bb]={}}if(A[bb]==null){A[bb]={}}if(r[bb]==null){r[bb]={}}if((a5[bb].GT||a5[bb].JL)&&a5[bb].LA=="ready"){var l=[];var aW=[];var av=[],ax=[];var a9=[],g=[],h={};var aZ=a5[bb].P;for(var bd=0,aR=a5[bb].AY.AB.length;bd<aR;bd++){if(a5[bb].H["plot"+bd+".visible"]){var a8=a5[bb].BB(a5[bb].AY.AB[bd].BH("k")[0]);var b=a8.B2?a8.iX+a8.D0:a8.iX+a8.A7;var a2=a8.B2?a8.iX+a8.I-a8.A7:a8.iX+a8.I-a8.D0;n=ZC._l_(n,b,a2);if(a8.ES&&a5[bb].AY.AB[bd].ES){var aX=a8.MJ(n,a5[bb].AY.AB[bd])}else{var aX=a8.MJ(n)}if(aX==null){continue}var aY=[];if(typeof aX.length==ZC._[31]||aX.length==0){aY=[aX]}else{aY=aX}if(a5[bb].GT!=null){for(var aL=0,aw=aY.length;aL<aw;aL++){aX=aY[aL];var aQ=null,aM=null;var aT=a5[bb].AY.AB[bd].EV(aX);if(!aT){continue}aT.setup();var bl=aT.iX,bm=aT.iY;if(typeof aT.H.A6L!=ZC._[31]){bl=ZC._i_(aT.H.A6L)}if(typeof aT.H.A2K!=ZC._[31]){bm=ZC._i_(aT.H.A2K)}h[bd]={index:aX,y:bm};if(a5[bb].D3&&a5[bb].D3.SU){a5[bb].D3.clear(true);a5[bb].D3.parse();a5[bb].D3.paint(aX)}if(aQ==null){var aV=new ZC.D2(a8);aV.A0=aV.BZ=y;aV.N=a5[bb].N+"-guide-label-"+aX+"-"+bd;aV.F7=a5[bb].N+"-guide-label zc-guide-label";var aP=aT.A1Y();aV.W=aV.A5=ZC.AQ.H8(aP[ZC._[0]]);aV.BO=aP.color;aV.AN=aT.A.RK;aV.append(a5[bb].GT.o["plot-label"]);aV.append(a5[bb].GT.o["value-label"]);aV.append(a5[bb].AY.AB[bd].o["guide-label"]);var az=ZC.AQ.MW(aV.o,a5[bb].AY.AB[bd].o);aV.KV=function(D){return aT.KV(D,az)};aT.A54();var a0="auto";if((E=aV.o[ZC._[7]])!=null){a0=E}aV.H[ZC._[7]]=a0;aV.J0=true;aV.H.plotidx=aT.A.J;aV.H.nodeidx=aT.J;aV.parse();l.push({plotindex:aT.A.J,nodeindex:aT.J,value:aT.AE,text:aV.AN});if(ZC.EO(aT.iX,aZ.iX,aZ.iX+aZ.I)){aV.H["marker-x"]=bl;aV.H["marker-y"]=bm;aV.H["guide-style"]=aT.A1Y();switch(a0){case"auto":default:if(aT.iX>=aZ.iX+aZ.I/2){aV.iX=bl-aV.I-6;aV.FT="right"}else{aV.iX=bl+6;aV.FT="left"}aV.iY=bm-aV.D9/2;if(aV.iY<aZ.iY){aV.iY=aZ.iY}if(aV.iY+aV.F>aZ.iY+aZ.F){aV.iY=aZ.iY+aZ.F-aV.F}aV.DK=[bl,bm];break;case"top":aV.iX=bl-aV.I/2;aV.iY=aZ.iY;aV.FT="bottom";aV.DK=[bl,aV.iY+aV.F+6];break;case"bottom":aV.iX=bl-aV.I/2;aV.iY=aZ.iY+aZ.F-aV.F;aV.FT="top";aV.DK=[bl,aV.iY-6];break}z[aV]=aT;aW.push(aV);A[bb][bd]=aV;au=true}}else{aW.push(aQ)}}if(!aT){continue}}if(ZC.AG(g,a8.B5)==-1&&a5[bb].GT&&ZC.EO(aT.iX,aZ.iX,aZ.iX+aZ.I)){if(aM==null){var bk=new ZC.D2(a8);bk.A0=bk.BZ=y;bk.N=a5[bb].N+"-guide-scale-x-label-"+bd;bk.F7=a5[bb].N+"-guide-label zc-guide-label";bk.W=bk.A5=a8.AW;bk.BO=a5[bb].AI["3d"]?"#999":"#fff";bk.append(a5[bb].GT.o["scale-label"]);bk.append(a5[bb].GT.o[a8.B5+"-label"]);bk.J0=true;bk.H.nodeidx=aT.J;var az=ZC.AQ.MW(bk.o);bk.KV=function(D){return a8.KV(D,aX,a8.ES&&a5[bb].AY.AB[bd].ES?a5[bb].AY.AB[bd]:null,az)};bk.parse();if(a8.B5==ZC._[50]){bk.FT="top";bk.iY=a8.H.iY+6;bk.DK=[bl,a8.H.iY]}else{bk.FT="bottom";bk.iY=a8.H.iY-bk.F-6;bk.DK=[aT.iX,a8.H.iY]}bk.iX=aT.iX-bk.I/2;if(bk.AP&&bk.AN!=""){a9.push(bk);g.push(a8.B5);r[bb][bd]=bk;au=true}if(a8.B5==ZC._[50]){av.push(null,[bl,a8.H.iY],[bl,a5[bb].P.iY])}else{av.push(null,[bl,a8.H.iY],[bl,a5[bb].P.iY+a5[bb].P.F])}}else{a9.push(aM);g.push(a8.B5)}}var ba=a5[bb].BB(a5[bb].AY.AB[bd].BH("v")[0]);if(ZC.AG(g,ba.B5)==-1&&a5[bb].JL&&ZC.EO(p,aZ.iY,aZ.iY+aZ.F)){if(aM==null){var bf="single";if(a5[bb].JL.o.type&&a5[bb].JL.o.type=="multiple"){bf="multiple"}if(bf=="multiple"&&h[bd]!=null){p=h[bd]["y"]}var bk=new ZC.D2(ba);bk.A0=bk.BZ=y;bk.N=a5[bb].N+"-guide-scale-y-label-"+bd;bk.F7=a5[bb].N+"-guide-label zc-guide-label";var a7=ba.AW;if(bf=="multiple"){a7=a5[bb].AY.AB[bd].AW}bk.W=bk.A5=a7;bk.BO=a5[bb].AI["3d"]&&bf!="multiple"?"#999":"#fff";bk.append(a5[bb].JL.o["scale-label"]);bk.append(a5[bb].JL.o[ba.B5+"-label"]);bk.J0=true;var f=ba.OZ(p);var az=ba.L0();ZC._cp_(ZC.AQ.MW(bk.o,ba.o),az);f=ba.IK(0,f,az);bk.o.text=f;bk.parse();if(ba.B5==ZC._[51]){bk.FT="right";bk.iX=ba.H.iX-bk.I-6;bk.DK=[ba.H.iX,p]}else{bk.FT="left";bk.iX=ba.H.iX+6;bk.DK=[ba.H.iX,p]}bk.iY=p-bk.F/2;if(bk.AP){a9.push(bk);if(bf!="multiple"||h[bd]==null){g.push(ba.B5)}r[bb][bd]=bk;au=true}ax.push(null,[ba.H.iX,p],[a5[bb].P.iX+(ba.B5==ZC._[51]?a5[bb].P.I:0),p])}else{a9.push(aM);g.push(ba.B5)}}}}if(au){if(!a3){s();a3=true}if(av.length>0){if(a5[bb].AI["3d"]){a5[bb].L2();for(var m=0,bi=av.length;m<bi;m++){if(av[m]!=null){var ar=new ZC.CI(a5[bb],av[m][0]-ZC.AU.ER,av[m][1]-ZC.AU.EQ,0);av[m][0]=ar.ED[0];av[m][1]=ar.ED[1]}}}ZC.C8.paint(u,a5[bb].GT,av)}if(ax.length>0){if(a5[bb].AI["3d"]){a5[bb].L2();for(var m=0,bi=ax.length;m<bi;m++){if(ax[m]!=null){var ar=new ZC.CI(a5[bb],ax[m][0]-ZC.AU.ER,ax[m][1]-ZC.AU.EQ,0);ax[m][0]=ar.ED[0];ax[m][1]=ar.ED[1]}}}ZC.C8.paint(u,a5[bb].JL,ax)}if(aW.length>1){var at=true;while(at){at=false;for(var bd=0;bd<aW.length-1;bd++){if(aW[bd].AP){if(aW[bd].iY>aW[bd+1].iY){var be=aW[bd];aW[bd]=aW[bd+1];aW[bd+1]=be;at=true}}}}}if(aW.length>0){var o=[];var a=true;var a1=0,J=aW.length*aW.length;while(a&&a1<J){a1++;a=false;for(var bd=0;bd<aW.length-1;bd++){if(aW[bd].AP){if(aW[bd+1].iY<aW[bd].iY+aW[bd].F){if(aW[bd+1].iY-aW[bd].F-4<aZ.iY&&ZC.AG(o,aW[bd])==-1){o.push(aW[bd]);aW[bd].iY=aZ.iY}aW[bd+1].iY=aW[bd].iY+aW[bd].F+4;if(aW[bd+1].iY+aW[bd+1].F>aZ.iY+aZ.F){var aU=aW[bd+1].iY-(aZ.iY+aZ.F-aW[bd+1].F);for(var e=0,aS=aW.length;e<aS;e++){if(aW[e].iY-aU>=aZ.iY){aW[e].iY-=aU}else{aW[e].iY=aZ.iY;if(e>0){if(aW[bd+1].H["marker-x"]<aZ.iX+aZ.I/2){aW[e].iX=aW[e-1].iX+aW[e-1].I+4}else{aW[e].iX=aW[e-1].iX-aW[e].I-4}}}}}a=true}}}}}for(var bd=0,aR=a9.length;bd<aR;bd++){if(a5[bb].AI["3d"]){a5[bb].L2();var ar=new ZC.CI(a5[bb],a9[bd].iX+a9[bd].I/2-ZC.AU.ER,a9[bd].iY+a9[bd].F/2-ZC.AU.EQ,0);a9[bd].iX=ar.ED[0]-a9[bd].I/2;a9[bd].iY=ar.ED[1]-a9[bd].F/2;var ar=new ZC.CI(a5[bb],a9[bd].DK[0]-ZC.AU.ER,a9[bd].DK[1]-ZC.AU.EQ,0);a9[bd].DK[0]=ar.ED[0];a9[bd].DK[1]=ar.ED[1]}a9[bd].paint()}for(var bd=0,aR=aW.length;bd<aR;bd++){if(ZC.EO(aW[bd].DK[0],aZ.iX-5,aZ.iX+aZ.I+5)&&ZC.EO(aW[bd].DK[1],aZ.iY-5,aZ.iY+aZ.F+5)){if(aW[bd].AP){switch(aW[bd].H[ZC._[7]]){case"top":aW[bd].DK[1]=aW[bd].iY+aW[bd].F+aW[bd].HF;break;case"bottom":aW[bd].DK[1]=aW[bd].iY-aW[bd].HF;break}if(ZC.AG(["top","bottom"],aW[bd].H[ZC._[7]])!=-1){var aO=aW[bd].iX+aW[bd].I/2;aW[bd].iX=ZC.BT(aW[bd].iX,0);aW[bd].iX=ZC.DI(aW[bd].iX,q.G.I-aW[bd].I);aW[bd].iY=ZC.BT(aW[bd].iY,0);aW[bd].iY=ZC.DI(aW[bd].iY,q.G.F-aW[bd].F);if(aW[bd].o["callout-offset"]==null){aW[bd].HE=ZC._i_(100*(aO-aW[bd].iX-aW[bd].I/2)/(aW[bd].I-aW[bd].HW))}}if(a5[bb].AI["3d"]){a5[bb].L2();var ar=new ZC.CI(a5[bb],aW[bd].iX+aW[bd].I/2-ZC.AU.ER,aW[bd].iY+aW[bd].F/2-ZC.AU.EQ,0);aW[bd].iX=ar.ED[0]-aW[bd].I/2;aW[bd].iY=ar.ED[1]-aW[bd].F/2;var ar=new ZC.CI(a5[bb],aW[bd].DK[0]-ZC.AU.ER,aW[bd].DK[1]-ZC.AU.EQ,0);aW[bd].DK[0]=ar.ED[0];aW[bd].DK[1]=ar.ED[1]}aW[bd].paint()}var bg=new ZC.DA(q);q.G.AV.load(bg.o,"("+a5[bb].AC+").guide.marker");bg.N=aW[bd].N+"-marker";bg.A0=bg.BZ=y;bg.iX=aW[bd].H["marker-x"];bg.iY=aW[bd].H["marker-y"];if(a5[bb].AI["3d"]){a5[bb].L2();var ar=new ZC.CI(a5[bb],bg.iX-ZC.AU.ER,bg.iY-ZC.AU.EQ,0);bg.iX=ar.ED[0];bg.iY=ar.ED[1]}var aP=aW[bd].H["guide-style"];bg.W=bg.A5=ZC.AQ.H8(aP[ZC._[0]]);bg.BA=aP.color;bg.append(a5[bb].GT.o.marker);bg.append(a5[bb].AY.AB[aW[bd].H.plotidx].o["guide-marker"]);bg.parse();if(bg.AP&&bg.DY!="none"){bg.paint()}}}var aN=a5[bb].N8();aN.items=l;ZC.AQ.CM("guide_mousemove",q.G,aN);a5[bb].PO(true)}}}}};ZC.A2(document.body).bind("mousemove touchstart",q.R8)}});ZC.A4S=ZC.BX.BF({$i:function(g,e){var f=this;f.o=null;f.D=g;f.KL=e},parse:function(){var aY=this,a7;aY.o=aY.D.o;var a6=aY.KL;var bm="\r\n";var a8=",";var aF=false;var az=null;var bf=null;var bh=null;var bn=null;var be=null;var a0=null;var aE={};if((a7=aY.o["html5-csv"])!=null){aE=a7}if((a7=aY.o.csv)!=null){aE=a7}if((a7=aE.separator)!=null){a8=a7}if((a7=aE.mirrored)!=null){aF=ZC._b_(a7)}if((a7=aE.title)!=null){az=ZC._b_(a7)}if(aF){if((a7=aE["horizontal-labels"])!=null){bh=ZC._b_(a7)}if((a7=aE["vertical-labels"])!=null){bf=ZC._b_(a7)}}else{if((a7=aE["horizontal-labels"])!=null){bf=ZC._b_(a7)}if((a7=aE["vertical-labels"])!=null){bh=ZC._b_(a7)}}if((a7=aE["smart-scales"])!=null){bn=ZC._b_(a7)}if((a7=aE["separate-scales"])!=null){be=ZC._b_(a7)}if((a7=aE.columns)!=null){a0=a7}if(a0!=null&&a0.length>0){var a5=[];if((a7=aE["row-separator"])!=null){bm=a7}else{if(a6.split(/\n/).length>0){bm="\n"}else{if(a6.split(/\r/).length>0){bm="\r"}}}var aG=a6.split(bm);var bi=0;for(var aQ=0,ba=aG.length;aQ<ba;aQ++){if(aG[aQ].replace(/\s+/g,"")!=""){a5[bi]=[];var aI=0;var ax=0;while(aI<aG[aQ].length-1){var aW=aG[aQ].substring(aI,aI+a0[ax]);a5[bi].push(aW);aI+=a0[ax];ax++}bi++}}}else{var a5=[[]];if((a7=aE["row-separator"])!=null){var s=new RegExp("(\\"+a8+"|"+a7+‘|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\‘+a8+""+a7+"]*))","gi")}else{var s=new RegExp("(\\"+a8+‘|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\‘+a8+"\\r\\n]*))","gi")}var bc=null;while(bc=s.exec(a6)){var aM=bc[1];if(aM.length&&aM!=a8){a5.push([])}if(bc[2]){var aW=bc[2].replace(new RegExp(‘""‘,"g"),‘"‘)}else{var aW=bc[3]}a5[a5.length-1].push(aW)}}var bo=[];for(var aQ=0,ba=a5.length;aQ<ba;aQ++){if(a5[aQ].join("").replace(/\s+/g,"").length!=0){bo.push(a5[aQ])}}var a9=0;var aU=0;if(az==null){if(bo.length>1&&bo[0].length==1){if(aY.o.title==null){aY.o.title={text:bo[0][0]}}else{if(aY.o.title.text==null){aY.o.title.text=bo[0][0]}}az=true}else{az=false}}if(az){a9++}if(aF){var a5=[];if(az){a5.push(bo[0])}for(var aX=a9,aS=bo.length;aX<aS;aX++){for(var aC=0,a4=bo[aX].length;aC<a4;aC++){if(a5[aC+a9]==null){a5[aC+a9]=[]}a5[aC+a9].push(bo[aX][aC])}}bo=a5}var aH=0;for(var aQ=0,ba=bo.length;aQ<ba;aQ++){aH=ZC.BT(aH,bo[aQ].length)}var aK=[];if(bf==null){var c=bo[a9].join("").length;var bk=bo[a9].join("").replace(/[0-9]/g,"").length;if(bk/c>0.75){bf=true}else{bf=false}}if(bf){aK=bo[a9];a9++}var aA=[];if(bh==null){if(bf&&aK[0].indexOf("\\")!=-1){bh=true}else{var a2="";for(var aX=a9,aS=bo.length;aX<aS;aX++){a2+=bo[aX][0]}var bj=a2.length;var bg=a2.replace(/[0-9]/g,"").length;if(bg/bj>0.75){bh=true}else{bh=false}}}if(bh){for(var aX=a9,aS=bo.length;aX<aS;aX++){aA.push(bo[aX][aU])}aU++}var bb=[];var aL=[];for(var aC=aU;aC<aH;aC++){aL[aC-aU]=[];var aZ=null;var av=null;var bd=0;var aR=null;for(var aX=a9,aS=bo.length;aX<aS;aX++){if(bo[aX][aC]!=null&&bo[aX][aC]!=""&&typeof bo[aX][aC]!=ZC._[31]){var aW=bo[aX][aC];if(aR==null){aR=aW.replace(/[0-9\-\,\.\+\e]+/g,"%v")}aW=aW.replace(/[^0-9\-\,\.\+\e]+/g,"");var aO=aW.indexOf(".");var aB=aW.indexOf(",");if(aO!=-1&&aB!=-1){if(aO<aB){aZ=".";av=",";bd=ZC.BT(0,aW.length-aB)}else{aZ=",";av=".";bd=ZC.BT(0,aW.length-aO)}}else{if(aO==-1&&aB!=-1){if(aW.length-aB-1==3){aZ=",";av="."}else{aZ=".";av=",";bd=ZC.BT(0,aW.length-aB)}}else{if(aO!=-1&&aB==-1){if(aW.length-aO-1==3){aZ=".";av=","}else{aZ=",";av=".";bd=ZC.BT(0,aW.length-aO)}}}}if(aZ=="."){aW=aW.replace(/\./g,"").replace(/,/g,".")}if(aZ==","){aW=aW.replace(/,/g,"")}if(isNaN(ZC._f_(aW))){var bp=ZC.AG(aY.D.GB,aW);if(bp!=-1){aL[aC-aU].push(bp)}else{aY.D.GB.push(aW);aL[aC-aU].push(aY.D.GB.length-1)}}else{aL[aC-aU].push(ZC._f_(aW))}}else{aL[aC-aU].push(null)}}bb[aC-aU]={};if(aR!=null){bb[aC-aU]["format"]=aR}if(aZ!=null){bb[aC-aU][ZC._[13]]=aZ}if(aZ!=null){bb[aC-aU][ZC._[14]]=av}if(bd!=0){bb[aC-aU][ZC._[12]]=bd}}var bl=[];switch(aY.D.AC){case"line":case"area":case"vbar":case"hbar":case"line3d":case"area3d":case"vbar3d":case"hbar3d":case"mixed":if(aY.o[ZC._[50]]==null){aY.o[ZC._[50]]={}}var aV=[];if(bh&&aK[0]!=null){aV=aK[0].split(/\\/)}if(aV[0]!=null){if(aY.o[ZC._[50]]["label"]==null){aY.o[ZC._[50]]["label"]={}}if(aY.o[ZC._[50]]["label"]["text"]==null){aY.o[ZC._[50]]["label"]["text"]=aV[0]}}if(bh){if(aY.o[ZC._[50]][ZC._[5]]==null){aY.o[ZC._[50]][ZC._[5]]=aA}else{if(aY.o[ZC._[50]][ZC._[10]]==null){aY.o[ZC._[50]][ZC._[10]]=aA}}}var r=[];var aN=0;if(be!=null&&be){for(var aQ=0,ba=aL.length;aQ<ba;aQ++){r[aQ]=ZC._[51]+(aQ==0?"":"-"+(aQ+1));aN++}}else{if(bn!=null&&bn){var aP={};var aw=0;var aT=[];for(var aQ=0,ba=aL.length;aQ<ba;aQ++){var a1=0;for(var aD=0,a3=aL[aQ].length;aD<a3;aD++){a1+=aL[aQ][aD]}a1/=aL[aQ].length;var aJ=Math.round(ZC.Q2(a1)/Math.LN10/2);if(aP[aJ]==null){aP[aJ]=ZC._[51]+(aw==0?"":"-"+(aw+1))}if(ZC.AG(aT,bb[aQ]["format"])==-1){r[aQ]=ZC._[51]+(aw==0?"":"-"+(aw+1));aw++}else{r[aQ]=aP[aJ];aw++}aT.push(bb[aQ]["format"])}}}if(r.length==0){r[0]=ZC._[51]}if(aY.o[ZC._[11]]==null){aY.o[ZC._[11]]=[]}for(var aQ=0,ba=aL.length;aQ<ba;aQ++){if(aY.o[ZC._[11]][aQ]==null){aY.o[ZC._[11]][aQ]={}}aY.o[ZC._[11]][aQ][ZC._[5]]=aL[aQ];if(bf){if(aY.o[ZC._[11]][aQ]["text"]==null){aY.o[ZC._[11]][aQ]["text"]=aK[aQ+aU];bl.push(aK[aQ+aU])}if(aY.o[ZC._[11]][aQ]["legend-text"]==null){aY.o[ZC._[11]][aQ]["legend-text"]=aK[aQ+aU];bl.push(aK[aQ+aU])}if(aY.o[ZC._[11]][aQ]["tooltip-text"]==null&&bb[aQ]["format"]!=null){aY.o[ZC._[11]][aQ]["tooltip-text"]=bb[aQ]["format"]}}if(r[aQ]!=null){if(aY.o[r[aQ]]==null){aY.o[r[aQ]]={}}if(aV[1]!=null){if(aY.o[r[aQ]]["label"]==null){aY.o[r[aQ]]["label"]={}}if(aY.o[r[aQ]]["label"]["text"]==null){aY.o[r[aQ]]["label"]["text"]=aV[1]}}if(aY.o[ZC._[11]][aQ]["scales"]==null){aY.o[ZC._[11]][aQ]["scales"]="scale-x,"+r[aQ]}if(aY.o[r[aQ]][ZC._[12]]==null&&bb[aQ][ZC._[12]]!=null){aY.o[r[aQ]][ZC._[12]]=bb[aQ][ZC._[12]]}if(aY.o[r[aQ]][ZC._[13]]==null&&bb[aQ][ZC._[13]]!=null){aY.o[r[aQ]][ZC._[13]]=bb[aQ][ZC._[13]]}if(aY.o[r[aQ]][ZC._[14]]==null&&bb[aQ][ZC._[14]]!=null){aY.o[r[aQ]][ZC._[14]]=bb[aQ][ZC._[14]]}if(aY.o[r[aQ]]["format"]==null&&bb[aQ]["format"]!=null){aY.o[r[aQ]]["format"]=bb[aQ]["format"]}}}break;case"pie":case"pie3d":case"nestedpie":if(aY.o.scale==null){aY.o.scale={}}if(bh&&aK[0]!=null){var ay=aK[0].split(/\\/);if(aY.o.scale.label==null){aY.o.scale.label={}}if(aY.o.scale.label["text"]==null){aY.o.scale.label["text"]=ay[0]}}if(bh){if(aY.o.scale[ZC._[5]]==null){aY.o.scale[ZC._[5]]=aA}else{if(aY.o.scale[ZC._[10]]==null){aY.o.scale[ZC._[10]]=aA}}}if(aY.o[ZC._[11]]==null){aY.o[ZC._[11]]=[]}for(var aQ=0,ba=aL.length;aQ<ba;aQ++){if(aY.o[ZC._[11]][aQ]==null){aY.o[ZC._[11]][aQ]={}}aY.o[ZC._[11]][aQ][ZC._[5]]=aL[aQ];if(bf){if(aY.o[ZC._[11]][aQ]["text"]==null){aY.o[ZC._[11]][aQ]["text"]=aK[aQ+aU];bl.push(aK[aQ+aU])}if(aY.o[ZC._[11]][aQ]["legend-text"]==null){aY.o[ZC._[11]][aQ]["legend-text"]=aK[aQ+aU];bl.push(aK[aQ+aU])}if(aY.o[ZC._[11]][aQ]["tooltip-text"]==null&&bb[aQ]["format"]!=null){aY.o[ZC._[11]][aQ]["tooltip-text"]=bb[aQ]["format"]}}if(aY.o[ZC._[52]]==null){aY.o[ZC._[52]]={}}if(aY.o[ZC._[52]][ZC._[12]]==null&&bb[aQ][ZC._[12]]!=null){aY.o[ZC._[52]][ZC._[12]]=bb[aQ][ZC._[12]]}if(aY.o[ZC._[52]][ZC._[13]]==null&&bb[aQ][ZC._[13]]!=null){aY.o[ZC._[52]][ZC._[13]]=bb[aQ][ZC._[13]]}if(aY.o[ZC._[52]][ZC._[14]]==null&&bb[aQ][ZC._[14]]!=null){aY.o[ZC._[52]][ZC._[14]]=bb[aQ][ZC._[14]]}if(aY.o[ZC._[52]]["format"]==null&&bb[aQ]["format"]!=null){aY.o[ZC._[52]]["format"]=bb[aQ]["format"]}}break}if(bl.join("")!=""&&aY.o.legend==null){aY.o.legend={}}return aY.o}});ZC.IR=ZC.HC.BF({$i:function(e){var c=this;c.ME="zcgraph";c.b(e);c.G=e;c.AC="";c.KG=null;c.LY=null;c.O9=null;c.O5=null;c.P=null;c.D8=null;c.JS=null;c.JQ=null;c.A05=1;c.YJ=1;c.YX=1;c.J=0;c.G8=null;c.MR=[1,0];c.A45=null;c.CG=false;c.K6="normal";c.B9=[];c.BU=[];c.U0=[];c.HY=[];c.LB=[];c.AY=new ZC.KS(c);c.GB=[];c.I1=[];c.GW=null;c.D3=null;c.AK=null;c.GT=null;c.JL=null;c.ZM="always";c.A5V=true;c.LA="";c.KC=null;c.KQ=false;c.SY=false;c.R2=false;c.MI=false;c.EB={true3d:1,angle:45,depth:40,"x-angle":0,"y-angle":0,"z-angle":0,zoom:1};c.AI={"enable-guide":false,"enable-preview":false,"enable-scroll":false,"3d":false,clip:false,layout:"","enable-animation":true,"angle-min":15,"angle-max":75,"x-angle-min":-65,"x-angle-max":65,"y-angle-min":-65,"y-angle-max":65,"z-angle-min":-65,"z-angle-max":65};c.KH=false;c.VQ=false;c.A3I=[];if(typeof ZC.LR!=ZC._[31]){c.JP=new ZC.LR(c)}c.FP=false;c.DB={};c.JJ=[];c.KJ=false;c.H5=false;c.KF=0;c.B1=[]},getPMap:function(){var b=this.b();this.addPMap(b,"index","J");return b},getToggleAction:function(){var e=this,g;var f="hide";if(e.D3&&e.H["legend-last-trigger"]!=""){f=e.H["legend-last-trigger"]=="item"?e.D3.OG:e.D3.NH}else{if(e.o.legend&&(g=e.o.legend[ZC._[54]])){f=g}if(e.o.legend&&e.o.legend.item&&(g=e.o.legend.item[ZC._[54]])){f=g}}if(e.A.JU){f="remove"}return f},BH:function(n,h){if(typeof h==ZC._[31]){h=false}var m=[];var o=this;for(var p=0,l=o.B9.length;p<l;p++){if(o.B9[p].AC==n){if(!h||h&&o.B9[p].Z.length>0){m.push(o.B9[p])}}}return m},BB:function(f){var h=this;for(var l=0,g=h.B9.length;l<g;l++){if(h.B9[l].B5==f){return h.B9[l]}}return null},SL:function(b){return b},A6Z:function(b){return new ZC.A4S(this,b)},A77:function(){var m=this;for(var n=0,h=m.B9.length;n<h;n++){var l=m.B9[n],g=l.B5;m.A.AV.load(l.o,["("+m.AC+").SCALE","("+m.AC+")."+g.replace(/\-[0-9]/,""),"("+m.AC+")."+g.replace(/\-[0-9]/,"-n"),"("+m.AC+")."+g],false,true);if(m.o[g]!=null){l.append(m.o[g])}if(m.AI["3d"]){m.A.AV.load(l.o,["("+m.AC+").SCALE[3d]","("+m.AC+")."+g.replace(/\-[0-9]/,"")+"[3d]","("+m.AC+")."+g.replace(/\-[0-9]/,"-n")+"[3d]","("+m.AC+")."+g+"[3d]"],false,true)}if(m.AI["3d"]){l.append(m.o[g+"[3d]"])}l.parse()}},A5S:function(b){return null},A3R:function(s){var p=this;var q=0,m=p.AY.AB.length;for(var r=0;r<m;r++){q=ZC.BT(q,p.AY.AB[r].Q.length)}for(var r=0,o=p.B9.length;r<o;r++){var n=p.B9[r];n.A4E(s);if(s==2){function t(a){a=a.replace(/(%N|%node-count)/g,q);a=a.replace(/(%P|%plot-count)/g,m);a=a.replace(/(%S|%scale-values-count)/g,n.Z.length);return a}n.IG=t;if(n.CJ()){n.parse()}}if(n.o["max-items"]==null&&n.o["max-labels"]==null){n.A6P()}if(n.o["max-ticks"]==null){n.A6V()}}},VL:function(b){},L2:function(){},A80:function(){},A6F:function(){},setupPlotArea:function(){var p=this;var n=p.A.AV;var l="("+p.AC+")";p.P=new ZC.HC(p);p.P.LF="plotarea";p.P.N=p.N+"-plotarea";var o=[l+".plotarea"];if(p.D8!=null){o.push(l+".plotarea[preview]")}if(p.AI["3d"]){o.push(l+".plotarea[3d]")}n.load(p.P.o,o);p.P.append(p.o.chart);p.P.append(p.o.plotarea);if(p.D8!=null){p.P.append(p.o["plotarea[preview]"])}if(p.AI["3d"]){p.P.append(p.o["plotarea[3d]"])}if(typeof p.H["plotarea-p-x"]!=ZC._[31]){p.P.H["p-x"]=p.H["plotarea-p-x"];p.P.H["p-y"]=p.H["plotarea-p-y"];p.P.H["p-width"]=p.H["plotarea-p-width"];p.P.H["p-height"]=p.H["plotarea-p-height"]}if(p.P.o["adjust-layout"]!=null&&ZC._b_(p.P.o["adjust-layout"])){p.P.o.margin="dynamic"}p.P.parse();if(p.AI["3d"]){if(!p.EB.true3d){var r=ZC._a_(ZC._i_(p.EB.depth*ZC.DD(p.EB.angle)));p.P.iY+=r;p.P.F-=r;p.P.I-=ZC._i_(p.EB.depth*ZC.DG(p.EB.angle))}else{}}if(typeof p.H["plotarea-p-x"]!=ZC._[31]){for(var q=0,m=p.B9.length;q<m;q++){p.B9[q].YW();p.B9[q].L4()}}},setupDynamicPlotArea:function(){var q=this,r;if((q.AI.layout=="xy"||q.AI.layout=="yx")&&(q.P.H["d-margin"]||q.H["plotarea.d-margin"])){for(var x=0,v=q.B9.length;x<v;x++){var A="",y=q.B9[x];if(y.AC=="k"){if(y.EW){A=y.J==1?"left":"right"}else{A=y.J==1?"bottom":"top"}}else{if(y.AC=="v"){if(y.EW){A=y.J==1?"bottom":"top"}else{A=y.J==1?"left":"right"}}}if(q.P.H["d-margin-"+A]||q.H["plotarea.d-margin-"+A]){var t=-ZC.MAX,s=-ZC.MAX;var C=new ZC.D2(y);C.copy(y.BE);for(var w=y.Y;w<=y.A3;w++){C.AN=y.IK(w);C.parse();s=ZC.BT(s,C.A6%180==0?C.F:C.I);t=ZC.BT(t,C.A6%180==0?C.I:C.F)}var u=new ZC.D2(y);u.copy(y.K);u.AN=y.K.AN;u.parse();s+=u.A6%180==0?u.F:u.I;t+=u.A6%180==0?u.I:u.F;if(!q.o.plotarea){q.o.plotarea={}}q.o.plotarea["margin-"+A]=(A=="top"||A=="bottom"?s:t)+2;q.H["plotarea.d-margin-"+A]=true}}ZC.L.JI(ZC.AH(q.N+"-plotarea-c"),q.G.A8,q.P.iX,q.P.iY,q.P.I,q.P.F,q.N);q.H["plotarea.paint"]=true;q.setupPlotArea();if(q.G.A8=="svg"){if((r=ZC.AH(q.N+"-clip-shape"))!=null){r.setAttribute("points",q.P5(2,"svg"))}if((r=ZC.AH(q.N+"-clip-hover-shape"))!=null){r.setAttribute("points",q.P5(6,"svg"))}}else{ZC.A2("#"+q.N+" div").each(function(){if(this.style.clip!=""){this.style.clip=q.P5(2)}});if((r=ZC.AH(q.N+"-hover"))!=null){if(r.style.clip!=""){r.style.clip=q.P5(6)}}}}for(var w=0,z=q.B9.length;w<z;w++){q.B9[w].YW();q.B9[w].L4()}},parse:function(){var Z=this,aa;var ah=Z.A.AV;var s="("+Z.AC+")";Z.LA="parse.init";Z.b();Z.A80();var N=null;if(!zingchart.SKIP.CSV){if((aa=Z.o["html5-csv"])!=null){Z.KC=aa["html5-url"]}if((aa=Z.o.csv)!=null){if(typeof aa=="object"){if(aa.url!=null){Z.KC=aa.url}else{if(aa["data-string"]!=null){N=aa["data-string"]}}}else{Z.KC=aa}}if(Z.KC!=""){if(Z.A.A3U[Z.KC]!=null){N=Z.A.A3U[Z.KC]}}if(Z.G.KL!=null){N=Z.G.KL}if(N!=null){var ak=Z.A6Z(N);Z.o=ak.parse()}}Z.KQ=zingchart.ASYNC;Z.XK_a([["utc","SY","b"],["async","KQ","b"],["stacked","CG","b"],["stack-type","K6"],["animate-type","ZM"],["url-data","A45"],["page","KF","i"],["palette","B1"]]);if(Z.B1.length>0){ah.AV.palette=[];for(var X=0;X<Z.B1.length;X++){var O=Z.B1[X],Q=ZC.AQ.H8(Z.B1[X],10),U=ZC.AQ.NP(Z.B1[X],10);ah.AV.palette.push(["#fff",O,Q,U])}}if(Z.AC=="pie3d"){Z.EB.true3d=true}if(Z.AI["3d"]||Z.A.VR){Z.KQ=false}Z.A6F();if(ZC.AG(Z.G.I8,ZC._[41])==-1){if(((aa=Z.o.preview)!=null||ah.LW("preview",Z.AC))&&Z.AI[ZC._[56]]){if(Z.D8==null&&typeof ZC.A2U!=ZC._[31]){Z.D8=new ZC.A2U(Z);Z.D8.LF="preview";ah.load(Z.D8.o,s+".preview");Z.D8.append(aa);Z.D8.parse()}}if(((aa=Z.o["scroll-x"])!=null||ah.LW("scroll-x",Z.AC))&&Z.AI["enable-scroll"]){if(Z.JS==null&&typeof ZC.XW!=ZC._[31]){Z.JS=new ZC.XW(Z,"x");Z.JS.LF="scrollx";ah.load(Z.JS.o,s+".scroll-x");Z.JS.append(aa);Z.JS.parse()}}if(((aa=Z.o["scroll-y"])!=null||ah.LW("scroll-y",Z.AC))&&Z.AI["enable-scroll"]){if(Z.JQ==null&&typeof ZC.XW!=ZC._[31]){Z.JQ=new ZC.XW(Z,"y");Z.JQ.LF="scrolly";ah.load(Z.JQ.o,s+".scroll-y");Z.JQ.append(aa);Z.JQ.parse()}}}Z.setupPlotArea();Z.L2();Z.B9=[];Z.A77();Z.A3R(1);if((aa=Z.o[ZC._[11]])!=null){Z.AY.o=aa}Z.AY.parse();Z.A3R(2);if((aa=Z.o.title)!=null||ah.LW("title",Z.AC)){Z.KG=new ZC.D2(Z);Z.KG.LF="title";ah.load(Z.KG.o,s+".title");Z.KG.append(aa);Z.KG.N=Z.N+"-title";Z.KG.parse()}if(typeof ZC.A42!=ZC._[31]){if((aa=Z.o.legend)!=null||ah.LW("legend",Z.AC)){Z.D3=new ZC.A42(Z);Z.D3.N=Z.N+"-legend";ah.load(Z.D3.o,s+".legend");if(aa!=null&&aa.position!=null){ah.load(Z.D3.o,s+".legend[position]")}Z.D3.append(aa);Z.D3.parse()}}var ai=false;var ae=Z.iX,af=Z.iY,ad=Z.I,S=Z.F,aj="";if(Z.KG!=null&&Z.KG.o["adjust-layout"]){ai=true;var p=Z.KG.iY+Z.KG.F/2;if(p<af+S/2){aj="top";S=af+S-Z.KG.F-Z.KG.iY-0;af=Z.KG.iY+Z.KG.F+0}}if(Z.D3!=null&&Z.D3.o["adjust-layout"]){ai=true;if(aj=="top"){if(Z.D3.iY<Z.KG.iY+Z.KG.F+5){if(Z.D3.o.position!=null){var R=new String(Z.D3.o.position).split(" ");Z.D3.o.position=R[0]+" "+(Z.KG.iY-Z.iY+Z.KG.F)}else{Z.D3.o[ZC._[57]]=Z.KG.iY-Z.iY+Z.KG.F}Z.D3.parse()}}var al=Z.D3.iX+Z.D3.I/2;var p=Z.D3.iY+Z.D3.F/2;var M="",P=ZC.MAX,ag=Z.D3.H["position-info"];if(ag){if(ag[0]>=0.8){if(ag[1]<=0.2){M="top"}else{if(ag[1]>=0.8){M="bottom"}else{M="right"}}}else{if(ag[0]<=0.2){if(ag[1]<=0.2){M="top"}else{if(ag[1]>=0.8){M="bottom"}else{M="left"}}}else{if(ag[1]<=0.2){M="top"}else{if(ag[1]>=0.8){M="bottom"}}}}}else{if(Z.D3.CP<P&&Z.D3.CP!=-2){M="top";P=Z.D3.CP}if(Z.D3.CT<P&&Z.D3.CT!=-2){M="right";P=Z.D3.CT}if(Z.D3.CO<P&&Z.D3.CO!=-2){M="bottom";P=Z.D3.CO}if(Z.D3.CW<P&&Z.D3.CW!=-2){M="left";P=Z.D3.CW}}var L=0;if(p<af+S/2&&M=="top"){S=af+S-Z.D3.F-Z.D3.iY;af=Z.D3.iY+Z.D3.F}if(p>=af+S/2&&M=="bottom"){L=S-Z.D3.iY+af+Z.D3.FO+Z.D3.G4;S=S-L}if(al<ae+ad/2&&M=="left"){L=Z.D3.iX-Z.iX+Z.D3.I;ae=ae+L;ad=ad-L}if(al>=ae+ad/2&&M=="right"){L=ad-(Z.D3.iX-Z.iX)+Z.D3.EL+Z.D3.FA;ad=ad-L}}if(ai){Z.H["plotarea-p-x"]=ae;Z.H["plotarea-p-y"]=af;Z.H["plotarea-p-width"]=ad;Z.H["plotarea-p-height"]=S;Z.setupPlotArea()}Z.setupDynamicPlotArea();var Y=0;for(var X=0;X<Z.AY.AB.length;X++){Y+=Z.AY.AB[X].Q.length}if((aa=Z.o["no-data"])!=null&&Y==0){Z.O5=new ZC.D2(Z);Z.O5.LF="nodata";ah.load(Z.O5.o,s+".nodata");Z.O5.append({x:Z.P.iX,y:Z.P.iY,width:Z.P.I,height:Z.P.F});Z.O5.append(aa);Z.O5.N=Z.N+"-nodata";Z.O5.parse()}else{Z.O5=null}ZC.L.F6(Z.A.N+"-tooltip");if(typeof Z.H.datalength!=ZC._[31]&&Z.H.datalength!=null&&Z.H.datalength.length>0&&Z.G.A8!="canvas"){if(Z.AY.AB!=null){for(var W=0,ab=Z.AY.AB.length;W<ab;W++){if(Z.AY.AB[W].Q.length<Z.H.datalength[W]){for(d=Z.AY.AB[W].Q.length,A4I=Z.H.datalength[W];d<A4I;d++){var ac=Z.N+ZC._[35]+W+"-node-"+d;ZC.L.F6([ac+"-path",ac+"-area-path",ac+"-sh-path"]);if(ZC.AG(["scatter","bubble"],Z.AC)!=-1){ZC.L.F6([ac+"-marker-gradient",ac+"-marker-path",ac+"-marker-sh-path",ac+"-marker-circle",ac+"-marker-sh-circle"])}Z.DH[W+"-"+d]=null}}if(ZC.AG(["scatter","bubble"],Z.AC)==-1||ZC.A2.browser.webkit){for(d=0,A4I=Z.H.datalength[W];d<A4I;d++){var ac=Z.N+ZC._[35]+W+"-node-"+d;ZC.L.F6([ac+"-marker-gradient",ac+"-marker-path",ac+"-marker-sh-path",ac+"-marker-circle",ac+"-marker-sh-circle"])}}}}}Z.H.datalength=null;for(var X=0,am=Z.AY.AB.length;X<am;X++){Z.FP=Z.FP||Z.AY.AB[X].FP}if(Z.H5||typeof ZC.LR==ZC._[31]){Z.FP=false}if(Z.FP){Z.JP.onStop=function(){Z.LA="ready"}}if(ZC.AG(Z.G.I8,ZC._[41])==-1){Z.GW=new ZC.HC(Z);Z.GW.N=Z.N+"-zoom";ah.load(Z.GW.o,s+".zoom");Z.GW.append(Z.o.zoom);Z.AK=new ZC.D2(Z);Z.AK.LF="tooltip";ah.load(Z.AK.o,s+".tooltip");Z.AK.append(Z.o.tooltip);Z.AK.MF=true;Z.AK.parse();if((aa=Z.o.guide)!=null){Z.o["crosshair-x"]=aa}if(((aa=Z.o["crosshair-x"])!=null||ah.LW("guide",Z.AC)||ah.LW("crosshair-x",Z.AC))&&Z.AI[ZC._[23]]){Z.GT=new ZC.DZ(Z);Z.GT.LF="crosshairx";ah.load(Z.GT.o,[s+".guide",s+".crosshair-x"],true,true);Z.GT.append(aa);Z.GT.parse()}if(((aa=Z.o["crosshair-y"])!=null||ah.LW("crosshair-y",Z.AC))&&Z.AI[ZC._[23]]){Z.JL=new ZC.DZ(Z);Z.JL.LF="crosshairy";ah.load(Z.JL.o,[s+".guide",s+".crosshair-y"],true,true);Z.JL.append(aa);Z.JL.parse()}}Z.O4();if((aa=Z.o.subtitle)!=null||ah.LW("subtitle",Z.AC)){Z.LY=new ZC.D2(Z);Z.LY.LF="subtitle";ah.load(Z.LY.o,s+".subtitle");Z.LY.append(aa);Z.LY.N=Z.N+"-subtitle";Z.LY.parse()}if((aa=Z.o.source)!=null){Z.O9=new ZC.D2(Z);Z.O9.LF="source";ah.load(Z.O9.o,s+".source");Z.O9.append(aa);Z.O9.N=Z.N+"-source";Z.O9.parse()}if((aa=Z.o.refresh)!=null){Z.G8={type:"full",interval:10,transport:"http",method:"pull","adjust-scale":false,"max-ticks":20,"reset-timeout":100,"stop-timeout":0,storage:false,"storage-size":1000};ZC._cp_(aa,Z.G8)}Z.LA="parse.complete"},O4:function(){},MD:function(){},P5:function(o,p){var q=this;var n=q.P.iX,m=q.P.iY,h=q.P.I,r=q.P.F;if(p=="svg"){return[[n-o,m-o].join(","),[n+h+o,m-o].join(","),[n+h+o,m+r+o].join(","),[n-o,m+r+o].join(","),[n-o,m-o].join(",")].join(" ")}else{return"rect("+(q.P.iY-o)+"px,"+(q.P.iX+q.P.I+o)+"px,"+(q.P.iY+q.P.F+o)+"px,"+(q.P.iX-o)+"px)"}},build:function(){var q=this;var w=q.A.I+"/"+q.A.F;var t=0+"/"+0;if(!q.G.usc()){if(q.A.A8=="svg"&&!q.AI["3d"]&&q.AI.clip){ZC.L.F6([q.N+"-clip",q.N+"-clip-hover"]);q.A.JK.appendChild(ZC.L.X9({id:q.N+"-clip",path:q.P5(2,"svg")}));q.A.JK.appendChild(ZC.L.X9({id:q.N+"-clip-hover",path:q.P5(6,"svg")}))}var l=q.AI["3d"]||!q.AI.clip;var s=l?null:q.P5(2);var z=l?null:"url(#"+q.N+"-clip)";var u=l?null:q.P5(6);var r=l?null:"url(#"+q.N+"-clip-hover)";ZC.L.JG({cls:"zc-abs",id:q.N,p:ZC.AH(q.A.N+"-graphset"),tl:t,wh:w},q.A.A8);ZC.L.HV({cls:ZC._[24]+" zc-persistent",id:q.N+"-c",p:ZC.AH(q.N),wh:w},q.A.A8);ZC.L.JG({id:q.N+"-plotarea",p:ZC.AH(q.N),tl:t,wh:w,position:"absolute","clip-path":z,clip:s},q.A.A8);ZC.L.HV({cls:ZC._[24],id:q.N+"-plotarea-c",p:ZC.AH(q.N+"-plotarea"),wh:w},q.A.A8);if(q.AC!="null"){ZC.L.JG({id:q.N+"-scales-bl",p:ZC.AH(q.N),tl:t,wh:w,position:"absolute","clip-path":z,clip:s},q.A.A8);for(var v=0;v<q.A05;v++){ZC.L.HV({cls:ZC._[24],id:q.N+"-scales-bl-"+v+"-c",p:ZC.AH(q.N+"-scales-bl"),wh:w},q.A.A8)}if(q.A.JU||q.AI["3d"]){if(ZC.AH(q.N+"-plots-bl")==null){ZC.L.JG({id:q.N+"-plots-bl",p:ZC.AH(q.N),tl:t,wh:w,position:"absolute","clip-path":z,clip:s},q.A.A8)}ZC.L.HV({cls:"zc-abs zc-layer zc-bl",id:q.N+"-plots-bl-c",p:ZC.AH(q.N+"-plots-bl"),wh:w},q.A.A8)}else{for(var v=0,y=q.AY.AB.length;v<y;v++){for(var x=0;x<q.AY.AB[v].PX;x++){if(ZC.AH(q.N+"-plots-bl-"+x)==null){ZC.L.JG({id:q.N+"-plots-bl-"+x,p:ZC.AH(q.N),tl:t,wh:w,position:"absolute","clip-path":z,clip:s},q.A.A8)}ZC.A2("#"+q.N+"-plot-"+v+"-bl-"+x+"-c").show();ZC.L.HV({cls:"zc-abs zc-layer zc-bl",id:q.N+"-plot-"+v+"-bl-"+x+"-c",p:ZC.AH(q.N+"-plots-bl-"+x),wh:w},q.A.A8)}}}for(var v=0;v<q.YJ;v++){ZC.L.HV({cls:ZC._[24],id:q.N+"-scales-ml-"+v+"-c",p:ZC.AH(q.N),wh:w},q.A.A8)}if(q.A.JU||q.AI["3d"]){if(ZC.AH(q.N+"-plots-fl")==null){ZC.L.JG({id:q.N+"-plots-fl",p:ZC.AH(q.N),tl:t,wh:w,position:"absolute"},q.A.A8)}ZC.L.HV({cls:"zc-abs zc-layer zc-fl",id:q.N+"-plots-fl-c",p:ZC.AH(q.N+"-plots-fl"),wh:w},q.A.A8)}else{for(var v=0,y=q.AY.AB.length;v<y;v++){for(var x=0;x<q.AY.AB[v].ZL;x++){if(ZC.AH(q.N+"-plots-fl-"+x)==null){ZC.L.JG({id:q.N+"-plots-fl-"+x,p:ZC.AH(q.N),tl:t,wh:w,position:"absolute"},q.A.A8)}ZC.A2("#"+q.N+"-plot-"+v+"-fl-"+x+"-c").show();ZC.L.HV({cls:"zc-abs zc-layer zc-fl",id:q.N+"-plot-"+v+"-fl-"+x+"-c",p:ZC.AH(q.N+"-plots-fl-"+x),wh:w},q.A.A8)}}}ZC.L.JG({id:q.N+"-scales-fl",p:ZC.AH(q.N),tl:t,wh:w,position:"absolute","clip-path":z,clip:s},q.A.A8);for(var v=0;v<q.YX;v++){ZC.L.HV({cls:ZC._[24],id:q.N+"-scales-fl-"+v+"-c",p:ZC.AH(q.N+"-scales-fl"),wh:w},q.A.A8)}ZC.L.JG({id:q.N+"-plots-vb",p:ZC.AH(q.N),tl:t,wh:w,position:"absolute"},q.A.A8);if(q.A.JU||q.AI["3d"]){ZC.L.HV({cls:"zc-abs zc-layer zc-vb",id:q.N+"-plots-vb-c",p:ZC.AH(q.N+"-plots-vb"),wh:w},q.A.A8)}else{for(var v=0,y=q.AY.AB.length;v<y;v++){ZC.L.HV({cls:"zc-abs zc-layer zc-vb",id:q.N+"-plot-"+v+"-vb-c",p:ZC.AH(q.N+"-plots-vb"),wh:w},q.A.A8)}}}ZC.L.JG({cls:"zc-abs",wh:w,id:q.N+"-hover",p:ZC.AH(q.A.N+"-hover"),"clip-path":r,clip:u},q.A.A8);if(q.A.A8=="canvas"){ZC.AH(q.N+"-hover").style.clip=u}ZC.L.HV({cls:ZC._[24],id:q.N+ZC._[22],p:ZC.AH(q.N+"-hover"),wh:w},q.A.A8);ZC.L.JG({cls:"zc-abs",wh:w,id:q.N+"-objects-hover",p:ZC.AH(q.A.N+"-hover")},q.A.A8);ZC.L.HV({cls:ZC._[24],id:q.N+"-objects-hover-c",p:ZC.AH(q.N+"-objects-hover"),wh:w},q.A.A8);ZC.L.JG({cls:"zc-abs",wh:w,id:q.N+"-objects-bottom",p:ZC.AH(q.A.N+"-objects-bottom")},q.A.A8);ZC.L.HV({cls:ZC._[24],id:q.N+"-objects-bottom-sh-c",p:ZC.AH(q.N+"-objects-bottom"),wh:w},q.A.A8);ZC.L.HV({cls:ZC._[24],id:q.N+"-objects-bottom-c",p:ZC.AH(q.N+"-objects-bottom"),wh:w},q.A.A8);ZC.L.JG({cls:"zc-abs",wh:w,id:q.N+"-objects-top",p:ZC.AH(q.A.N+"-objects-top")},q.A.A8);ZC.L.HV({cls:ZC._[24],id:q.N+"-objects-top-sh-c",p:ZC.AH(q.N+"-objects-top"),wh:w},q.A.A8);ZC.L.HV({cls:ZC._[24],id:q.N+"-objects-top-c",p:ZC.AH(q.N+"-objects-top"),wh:w},q.A.A8);ZC.L.JG({cls:"zc-abs",wh:w,id:q.N+"-front",p:ZC.AH(q.A.N+"-front")},q.A.A8);ZC.L.HV({cls:ZC._[24],id:q.N+"-front-c",p:ZC.AH(q.N+"-front"),wh:w},q.A.A8);ZC.L.HV({cls:ZC._[24],id:q.N+"-legend-c",p:ZC.AH(q.A.N+"-legend"),wh:w},q.A.A8)}q.A0=q.G.usc()?q.G.mc():ZC.AH(q.N+"-c")},V0:function(b){},clear_:function(c,e){},clear:function(n,l){if(n==null){n=false}if(l==null){l=false}var q=this,o;if((o=q.A.PW[q.N])!=null&&!n){if(q.G8.type=="feed"){o.send("zingchart.stopfeed");o.close();q.A.PW[q.N]=null}}if(q.FP){q.JP.stop(true)}q.LA="clear.init";q.unbind(n);q.V0(false,true);q.QE();q.QE("guide",true);q.QE("print",true);if(!n){if(!q.D8||q.D8&&!q.D8.KQ){q.QE("static",true)}}if(!zingchart.SKIP.LEGEND){if(q.D3){q.D3.clear()}}q.H.datalength=[];if(ZC.mobile){ZC.A2("."+q.N+"-node-area").remove()}else{if(ZC.AH(q.A.N+"-img")!=null&&ZC.AH(q.A.N+"-map")!=null){ZC.AH(q.A.N+"-img").setAttribute("useMap","");var p=ZC.AH(q.A.N+"-map").cloneNode(true);var m=p.childNodes.length;for(var r=m-1;r>=0;r--){if(p.childNodes[r].className.indexOf(q.N+"-node-area")!=-1){p.removeChild(p.childNodes[r])}}ZC.L.F6(q.A.N+"-map");ZC.AH(q.A.N+"-top").appendChild(p);ZC.AH(q.A.N+"-img").setAttribute("useMap","#"+q.A.N+"-map")}}q.AY.G0=[];ZC.A2("."+q.N+"-value-box").remove();ZC.A2("."+q.N+"-scale-marker-label").remove();ZC.A2("."+q.N+"-scale-item").remove();ZC.A2("."+q.N+"-scale-label").remove();ZC.A2("."+q.N+"-guide-label").remove();ZC.A2("."+q.N+"-shape-label").remove();switch(q.A.A8){case"svg":for(var r=0,m=q.AY.AB.length;r<m;r++){q.AY.AB[r].FE=null}ZC.A2("#"+q.A.N+"-defs").children().each(function(){if(this.id.indexOf(q.N+"-")==0||q.A.B0.length==1){if(!n){if(this.id.indexOf("zc-menu-")==-1&&this.id.indexOf("-menu-trigger-")==-1){if(this.id.indexOf(q.N+"-legend-")!=-1){if(!zingchart.SKIP.LEGEND){ZC.A2(this).remove()}}else{if(q.D8!=null&&q.D8.KQ){if(this.id.indexOf("-preview-gradient")==-1){ZC.A2(this).remove()}}else{ZC.A2(this).remove()}}}}else{if(this.id!=q.N+"-gradient"&&this.id.indexOf("-preview-gradient")==-1&&this.id.indexOf("-menu-trigger-gradient")==-1&&this.id.indexOf(q.N+ZC._[35])!=-1){if(l&&q.FP){}else{if(this.id.indexOf(q.N+"-legend-")!=-1){if(!zingchart.SKIP.LEGEND){ZC.A2(this).remove()}}else{ZC.A2(this).remove()}}}}}});if(!n){ZC.L.F6([q.N+"-clip",q.N+"-clip-hover"])}ZC.A2("#"+q.A.N+"-svg").children().each(function(){var a=q.N+"-";if(this.tagName.toLowerCase()=="clippath"&&this.id.substring(0,a.length)==a){if(this.id!=q.N+"-clip"&&this.id!=q.N+"-clip-hover"){ZC.L.F6(this.id)}}});break}ZC.L.F6(q.N+"-nodata");if(!n){ZC.L.F6([q.N+"-title",q.N+"-subtitle",q.N+"-source",q.N+"-hover"]);if(!zingchart.SKIP.LEGEND){ZC.L.F6(q.N+"-legend-c");ZC.A2("."+q.N+"-legend-item-area").remove();ZC.A2("."+q.N+"-legend-marker-area").remove();ZC.A2("."+q.N+"-legend-item").remove();ZC.A2("."+q.N+"-legend-header").remove();ZC.A2("."+q.N+"-legend-footer").remove()}if(q.D8!=null){if(!q.D8.KQ){q.D8.unbind();ZC.A2("."+q.N+"-preview-handler").remove();ZC.A2("."+q.N+"-preview-mask").remove()}}if(q.JS!=null){q.JS.unbind()}ZC.A2("#"+q.N+"-scroll-x-handle").remove();ZC.A2("#"+q.N+"-scroll-x-bar").remove();if(q.JQ!=null){q.JQ.unbind()}ZC.A2("#"+q.N+"-scroll-y-handle").remove();ZC.A2("#"+q.N+"-scroll-y-bar").remove();ZC.A2("#"+q.N+"-c").empty();if(q.G.MY[0]!=q.G.MY[1]&&q.G.MY[1]!=""){if(q.G.A8=="canvas"){ZC.A2("#"+q.N+" canvas").each(function(){this.width=1;this.height=1;ZC.L.F6(this)})}ZC.A2("#"+q.N+" div").each(function(){ZC.L.F6(this)});ZC.L.F6(q.N)}}ZC.A2("#"+q.N+" .zc-layer").each(function(){var c=ZC.L.A0U(this);if(c.indexOf("zc-persistent")==-1){if(n&&this.id==q.N+"-plotarea-c"){return}if(this.id.indexOf(q.N+"-plot-")==-1&&this.id.indexOf(q.N+"-plots-")==-1){ZC.L.JI(this,q.G.A8,q.iX,q.iY,q.I,q.F,q.N)}else{if(l&&q.FP&&!q.H5){if(q.G.A8!="canvas"){for(var e=0,b=q.AY.AB.length;e<b;e++){q.H.datalength[e]=q.AY.AB[e].Q.length}}if(q.A.JU){var a=new RegExp("-plots-[a-z]+-c","g").exec(this.id)}else{var a=new RegExp("-plot-(\\d+)-[a-z]+-\\d+-","g").exec(this.id)}if(a){if(!q.H["plot"+a[1]+".visible"]&&q.getToggleAction()=="remove"||q.A.JU){ZC.L.JI(this,q.G.A8,q.iX,q.iY,q.I,q.F,q.N)}}if(c.indexOf("zc-vb")!=-1||c.indexOf("zc-fl")!=-1){ZC.L.JI(this,q.G.A8,q.iX,q.iY,q.I,q.F,q.N)}}else{ZC.L.JI(this,q.G.A8,q.iX,q.iY,q.I,q.F,q.N)}}}});if(ZC.AG(q.G.I8,ZC._[44])!=-1){if((W8=ZC.AH(q.G.N+"-main-c"))!=null){ZC.L.JI(W8,q.G.A8,q.iX,q.iY,q.I,q.F,q.N)}if((YZ=ZC.AH(q.G.N+"-main-c-top"))!=null){ZC.L.JI(YZ,q.G.A8,q.iX,q.iY,q.I,q.F,q.N)}if((XL=ZC.AH(q.G.N+ZC._[15]))!=null){ZC.L.JI(XL,q.G.A8,q.iX,q.iY,q.I,q.F,q.N)}}q.clear_();q.LA="clear.complete"},unbind:function(c){if(c==null){c=false}var e=this;if(ZC.AG(e.G.I8,ZC._[41])==-1){ZC.A2("."+e.N+"-node-area").die("mousedown mouseover touchstart",e.VK).die("mouseup mouseout touchend",e.WC).die("mousemove touchmove",e.VG).die("click",e.QN).die("contextmenu",e.QN).die("dblclick",e.WB);if(!c){if(e.D3!=null){if(!zingchart.SKIP.LEGEND){ZC.A2("."+e.N+"-legend-item-area").die("mouseup touchstart",e.OQ);ZC.A2("."+e.N+"-legend-marker-area").die("mouseup touchstart",e.OQ);if(!ZC.mobile){ZC.A2("."+e.N+"-legend-item-area").die(ZC.L.BM("mouseover"),e.RE).die(ZC.L.BM("mouseout"),e.S8).die(ZC.L.BM(ZC._[48]),e.QB)}}}}e.A6W()}},A6W:function(){},UB:function(){},PO:function(b){},IW:function(b){},A06:function(c,e){},NT:function(){},QE:function(h,l){var f=this;h=h||"hover";if(l==null){l=false}var g=ZC.AH((l?f.A.N:f.N)+"-"+h+"-c");if(g){ZC.L.JI(g,f.G.A8,f.iX,f.iY,f.I,f.F,f.N);ZC.A2("."+f.N+"-label-hover").remove()}if(h=="hover"){ZC.L.JI(ZC.AH(f.N+"-objects-hover-c"),f.G.A8,f.iX,f.iY,f.I,f.F,f.N)}f.QE_(h,l)},QE_:function(c,e){},A0K:function(g,h){var l=this;if(g!=null&&h!=null){var f=l.AY.AB[g].LT;if(f=="none"){return}if(l.DB["p"+g]!=null){if(l.DB["p"+g]["n"+h]!=null){delete l.DB["p"+g]["n"+h]}else{if(f=="graph"){l.DB={};l.DB["p"+g]={}}else{if(f=="plot"){l.DB["p"+g]={}}}l.DB["p"+g]["n"+h]=true}}else{if(f=="graph"){l.DB={}}l.DB["p"+g]={};l.DB["p"+g]["n"+h]=true}}if(g!=null&&h!=null){l.H5=true;l.IC(true,true)}},paint:function(s){if(s==null){s=false}var n=this,p;n.A.GRAPHID=n.N;n.PN=s;n.KJ=false;for(var A=0,x=n.AY.AB.length;A<x;A++){n.JJ[A]=false}for(var A in n.DB){if(n.DB.hasOwnProperty(A)){var z=ZC._i_(A.replace("p",""));for(var y in n.DB[A]){if(n.DB[A].hasOwnProperty(y)){n.JJ[z]=true;n.KJ=true;break}}}}n.A.Y5();n.L2();function v(){if(n.AI["3d"]){var h=ZC.EM.EC(n.P,n,n.P.iX-ZC.AU.ER,n.P.iX-ZC.AU.ER+n.P.I,n.P.iY-ZC.AU.EQ,n.P.iY-ZC.AU.EQ+n.P.F,ZC.AU.GG+10,ZC.AU.GG+10,"y");var a=ZC.EM.EC(n.P,n,n.P.iX-ZC.AU.ER,n.P.iX-ZC.AU.ER+n.P.I,n.P.iY-ZC.AU.EQ,n.P.iY-ZC.AU.EQ+n.P.F,ZC.AU.GG,ZC.AU.GG,"y");a.LK=h.C;n.C6.add(a)}else{n.P.A0=n.P.BZ=n.G.usc()?n.G.mc():ZC.AH(n.N+"-plotarea-c");var c=[n.P.iX,n.P.iY,n.P.I,n.P.F];var f,l=n.AA,g=n.AA,e=n.AA,b=n.AA;if((p=n.P.OR)!=""){f=p.split(/\s/);l=ZC._i_(f[0])}if((p=n.P.MV)!=""){f=p.split(/\s/);g=ZC._i_(f[0])}if((p=n.P.MA)!=""){f=p.split(/\s/);e=ZC._i_(f[0])}if((p=n.P.NR)!=""){f=p.split(/\s/);b=ZC._i_(f[0])}n.P.iX-=b;n.P.iY-=l;n.P.I+=b+g;n.P.F+=l+e;n.P.paint();n.P.iX=c[0];n.P.iY=c[1];n.P.I=c[2];n.P.F=c[3]}}if(!n.PN){n.build();n.BZ=n.A0;n.b();v()}else{if(n.H["plotarea.paint"]){v();n.H["plotarea.paint"]=null}}for(var w=0,C=n.B9.length;w<C;w++){n.B9[w].A0=n.B9[w].BZ=n.G.usc()?n.G.mc():ZC.AH(n.N+"-scales-bl-0-c");n.A.N6=true;n.B9[w].paint();n.A.X7();n.A.N6=false}var u=typeof n.H["shared-zoom"]!=ZC._[31]&&n.H["shared-zoom"]!=null?n.H["shared-zoom"]:false;if(n.D8!=null&&n.D8.KQ){if(n.D8.GP){n.D8.GP=true;n.D8.paint()}}else{if(!n.H["skip-preview"]&&n.D8!=null&&(!n.PN||n.D8.GP)&&!u){n.D8.GP=true;n.D8.paint()}}n.H["shared-zoom"]=null;n.H["skip-preview"]=null;if(n.JS!=null){n.JS.paint()}if(n.JQ!=null){n.JQ.paint()}if(!n.PN){var t=n.G.usc()?n.G.mc():n.A0;if(n.KG!=null){if(n.KG.AP&&n.KG.AN!=null){n.KG.A0=n.KG.BZ=t;n.KG.paint()}}if(n.LY!=null){if(n.LY.AP&&n.LY.AN!=null){n.LY.A0=n.LY.BZ=t;n.LY.paint()}}if(n.O9!=null){if(n.O9.AP&&n.O9.AN!=null){n.O9.A0=n.O9.BZ=t;n.O9.paint()}}if(n.O5!=null){if(n.O5.AP&&n.O5.AN!=null){n.O5.A0=n.O5.BZ=t;n.O5.paint()}}}if(n.KG!=null){n.KG.DR()}if(n.LY!=null){n.LY.DR()}if(n.O9!=null){n.O9.DR()}n.Q9();n.A.N6=!n.FP;if(n.A.H["graph."+n.N+".disableanimation"]){for(var w=0,C=n.AY.AB.length;w<C;w++){n.AY.AB[w].FP=false}}n.AY.paint();n.G.paintHistory()},Q9:function(){},flatten:function(){var b=this},_end_:function(){var o=this;if(!o.FP){o.A.X7()}o.A.N6=false;if(!o.FP||!o.AI[ZC._[55]]||ZC.AG(o.G.I8,ZC._[41])!=-1||zingchart.SKIP.ANIMATION){o.LA="ready"}for(var u=0,x=o.B9.length;u<x;u++){o.B9[u].paint_()}ZC.AQ.CM("objectsinit",o.A,o.N8());if(!o.AI["3d"]){o.flatten();o.MD();o.IW();if(ZC.AG(o.G.I8,ZC._[41])==-1){o.NT()}}if(ZC.AG(o.G.I8,ZC._[41])==-1){function w(b){var c=b.targetid||b.target.id;var e=c.replace(/--([a-zA-Z0-9]+)/,"").split("-").reverse();var f,a;if(e[1]=="node"){f=e[2];a=e[0]}return[f,a]}var r=ZC.A2("."+o.N+"-node-area");o.VK=function(b){if(ZC.move){return}if(b.target.className.indexOf("zc-node-area")==-1){return}if(o.LA!="ready"){return}if(ZC.mobile){ZC.move=false;o.G.hideCM();b.preventDefault();o.A.TM(b)}var c=w(b);var e=o.AY.AB[c[0]].EV(c[1]);if(o.H["plot"+c[0]+".visible"]){if(o.A.AK&&o.AK&&o.AK.AP){o.A.AK.onmouseover(b)}e.A7J();var a=ZC.mobile?"mousedown":b.xtype||b.type;e.SG(b,a);e.A.SF(b,a);if(o.D3){ZC.move=true;o.D3.highlightItem(c[0]);ZC.move=false}}};r.live("mousedown mouseover touchstart",o.VK);o.WC=function(b){if(ZC.move){return}if(b.target.className.indexOf("zc-node-area")==-1){return}if(o.LA!="ready"){return}if(ZC.mobile){o.A.L9(b)}var c=w(b);var e=o.AY.AB[c[0]].EV(c[1]);if(o.H["plot"+c[0]+".visible"]){if(o.A.AK&&o.AK&&o.AK.AP){o.A.AK.onmouseout(b)}e.QE();o.QE();var a=ZC.mobile?"mouseup":b.xtype||b.type;e.SG(b,a);e.A.SF(b,a);if(o.D3){ZC.move=true;o.D3.highlightItem(-1);ZC.move=false}}if(ZC.mobile&&!o.G.A4A&&!ZC.move){zingchart.QF(b);o.QN(b)}};r.live("mouseup mouseout touchend",o.WC);o.VG=function(a){if(a.target.className.indexOf("zc-node-area")==-1){return}if(o.LA!="ready"){return}if(ZC.mobile){o.A.L9(a)}var b=w(a);if(o.H["plot"+b[0]+".visible"]){if(o.A.AK&&o.AK&&o.AK.AP){o.A.AK.onmousemove(a)}}};r.live("mousemove touchmove",o.VG);o.QN=function(a){if(a.target.className.indexOf("zc-node-area")==-1){return}if(o.LA!="ready"){return}var c=w(a);var e=o.AY.AB[c[0]].EV(c[1]);if(e.A.LT!="none"){o.A.H[ZC._[53]]=true;o.A0K(e.A.J,e.J)}e.SG(a,"click");e.A.SF(a,"click");if(e.A.DQ!=null&&e.A.DQ!="NULL"){if(e.A.DQ instanceof Array){for(var b=0;b<e.A.DQ.length;b++){if(e.A.FM[b]!=null){o.S2(a,e.KV(e.A.DQ[b],null,null,true),e.A.FM[b])}}}else{o.S2(a,e.KV(e.A.DQ,null,null,true),e.A.FM)}}};o.WB=function(a){if(a.target.className.indexOf("zc-node-area")==-1){return}if(o.LA!="ready"){return}var b=w(a);var c=o.AY.AB[b[0]].EV(b[1]);c.SG(a,"doubleclick");c.A.SF(a,"doubleclick")};if(!ZC.mobile){r.live("click",o.QN).live("contextmenu",o.QN).live("dblclick",o.WB)}}o.A69();if(o.A.H["tr-ev-"+o.J]){o.A.H["tr-ev-"+o.J]=null;o.A20()}else{o.A20()}if(o.VQ){o.VQ=false;var t={};for(var u=0,x=o.BH("k").length;u<x;u++){var p=o.BH("k")[u];if((E=p.OX)!=null){var v=p.J==1?"":"-"+p.J;t["zoomx"+v]=true;t["xmin"+v]=E[0];t["xmax"+v]=E[1]}}for(var u=0,x=o.BH("v").length;u<x;u++){var q=o.BH("v")[u];if((E=q.OX)!=null){var v=q.J==1?"":"-"+q.J;t["zoomy"+v]=true;t["ymin"+v]=E[0];t["ymax"+v]=E[1]}}t.zoomto=true;if(o.A.FH){for(var s in o.A.FH){ZC.AH(s).appendChild(o.A.FH[s])}o.A.FH=null}o.A.ND(t)}},A69:function(){},A20:function(){var b=this;if(b.A.WU<b.A.B0.length){b.A.WU++;ZC.AQ.CM("gload",b.A,b.N8())}ZC.AQ.CM("gcomplete",b.A,b.N8());if(b.A.Z1<b.A.B0.length){b.A.Z1++}else{b.A.Z1=1;if(b.A.WU==b.A.B0.length){b.A.WU++;b.A.H["fire-load"]=true}b.A.H["fire-complete"]=true}if(b.A.N5.length==0||b.A.N5[b.A.N5.length-1]!=b.A.H.json){if(b.A.N5[b.A.KM]!=b.A.H.json){b.A.N5.length=b.A.KM+1}b.A.N5[b.A.KM]=b.A.H.json}},IC:function(g,f){if(g==null){g=false}if(f==null){f=false}var e=this;e.A.K4(e);e.clear(g,f);e.parse();e.paint(g);e.H5=false;zingchart.SKIP.CSV=false},S2:function(ev,DQ,FM){if(ev.button==2){return}var s=this;var LH=[""];if(FM!=null){LH=FM.split("=")}switch(LH[0]){case"_blank":window.open(DQ,"_blank");break;case"_top":window.top.location.href=DQ;break;case"_parent":window.parent.location.href=DQ;break;case"window":if(LH[1]!=null&&LH[1]!=""){window.top[LH[1]].location.href=DQ}break;case"graph":var SX=null;if(DQ.substring(DQ.length-2)=="()"||DQ.substring(0,11)=="javascript:"){try{var ET=DQ.replace("javascript:","").replace("()","");if(eval(ET)){SX=eval(ET).call(s)}}catch(e){}}if(LH[1]!=null&&LH[1]!=""){if(LH[1]=="_top"||LH[1]=="_parent"){s.A.K4();if(SX){zingchart.exec(s.A.N,"setdata",{data:SX})}else{s.A.load(null,DQ)}}else{var D=s.A.MG(LH[1]);if(D){s.A.K4(D);s.A.H["tr-ev-"+D.J]=true;s.A.KM++;if(SX){zingchart.exec(s.A.N,"setdata",{graphid:LH[1],data:SX})}else{s.A.load(LH[1],DQ)}}}}else{var D=s.A.B0[0];s.A.K4(D);if(SX){zingchart.exec(s.A.N,"setdata",{graphid:D.N,data:SX})}else{s.A.H["tr-ev-"+D.J]=true;s.A.KM++;s.A.load(D.N,DQ)}}break;case"_self":default:window.location.href=DQ;break}},HG:function(p,m,h){var n=this;if(h==null){h=n.AY.AB.length-1}if(p==null||typeof p==ZC._[31]){if(m==null||typeof m==ZC._[31]){return n.AY.AB[h]}else{for(var o=0,l=n.AY.AB.length;o<l;o++){if(m==n.AY.AB[o].GI){return n.AY.AB[o]}}}}else{return n.AY.AB[p]}return null},XP:function(w,q){var p=this;w=w||{};w[ZC._[54]]=w[ZC._[54]]||p.getToggleAction();var z=null;if(typeof w.plotindex!=ZC._[31]){z=ZC._i_(w.plotindex)}if(z==-1){z=[];for(var x=0,y=p.AY.AB.length;x<y;x++){z.push(x)}}if(!(z instanceof Array)){z=[z]}var s=w.plotid||"";if(!(s instanceof Array)){s=[s]}var v=[];for(var x=0,y=ZC.BT(z.length,s.length);x<y;x++){var u=p.HG(z[x],s[x]);if(u){var r={};ZC._cp_(w,r);var t=u.J;r.plotindex=z[x];r.plotid=s[x];if(q=="show"&&!p.H["plot"+t+".visible"]||q=="hide"&&p.H["plot"+t+".visible"]){v.push(r)}}}for(var x=0,y=v.length;x<y;x++){if(x==y-1){v[x]["IC"]=1}p.O0(v[x])}},O0:function(u){var l=this,p;l.A.H["graph."+l.N+".disableanimation"]=false;u=u||{};var r=false;if(u.skip!=null&&u.skip){r=true}var v=false;u[ZC._[54]]=u[ZC._[54]]||l.getToggleAction();if((p=u["ignore-legend"])!=null){v=ZC._b_(p)}var t=l.HG(u.plotindex,u.plotid);if(t){var q=t.J;switch(u[ZC._[54]]){case"hide":if(l.D3){l.D3.H.showhide=true}l.H["plot"+q+".visible"]=!l.H["plot"+q+".visible"];if(l.AI["3d"]){v=true;if(!r){l.IC()}}else{var s=l.H["plot"+q+".visible"]?"block":"none";ZC.A2("."+l.N+ZC._[35]+q+"-node-area").each(function(){var b=ZC.A2(this);var a=b.attr("coords"),c=b.attr("shape");if(s=="none"){a="-"+a.replace(/,/g,",-");if(c=="rect"){var e=a.split(",");if(e.length==4){a=[e[2],e[3],e[0],e[1]].join(",")}}else{if(c=="circle"){var e=a.split(",");if(e.length==3){a=[e[0],e[1],-e[2]].join(",")}}}}else{a=a.replace(/\-/g,"");if(c=="rect"){var e=a.split(",");if(e.length==4){a=[e[2],e[3],e[0],e[1]].join(",")}}}b.attr("coords",a)});if(l.A.JU){ZC.AH(l.N+"-plots-bl-c").style.display=s;ZC.AH(l.N+"-plots-fl-c").style.display=s;ZC.AH(l.N+"-plots-vb-c").style.display=s}else{for(var x=0;x<t.PX;x++){ZC.AH(l.N+"-plot-"+q+"-bl-"+x+"-c").style.display=s}for(var x=0;x<t.ZL;x++){ZC.AH(l.N+"-plot-"+q+"-fl-"+x+"-c").style.display=s}ZC.AH(l.N+"-plot-"+q+"-vb-c").style.display=s}var w=ZC.A2("."+l.N+"-plot-"+q+"-value-box");if(l.H["plot"+q+".visible"]){w.show()}else{w.hide()}}break;case"remove":v=true;l.H["plot"+q+".visible"]=!l.H["plot"+q+".visible"];if(u.IC){if(!r){l.IC(true,true)}}break}if(l.D3&&!v){l.D3.clear();l.D3.paint()}}},N8:function(){return{id:this.A.N,graphid:this.N.replace(this.A.N+"-graph-",""),x:this.iX,y:this.iY,width:this.I,height:this.F,loader:this.A.J1()}},NY:function(c,e){},NZ:function(c,e){}});ZC.IR.prototype.MD=function(){var M=this,O;M.BU=[];M.HY=[];M.U0=[];M.LB=[];M.JA=[];var W=M.A.AV;var G="("+M.AC+")";var H;if((H=M.o[ZC._[10]])!=null){for(var N=0,Z=H.length;N<Z;N++){var U=H[N]["id"]||N;var S=zingchart.pool.getInstance("D2",M,M.N+"-label-"+U);W.load(S.o,G+".label");S.append(H[N]);if((O=S.o.parent)!=null){for(var s=0;s<M.BU.length;s++){if(M.BU[s].GI==O){S.H["p-x"]=M.BU[s].iX;S.H["p-y"]=M.BU[s].iY;S.H["p-width"]=M.BU[s].I;S.H["p-height"]=M.BU[s].F;break}}}S.GI=U;S.N=M.N+"-label-"+U;S.F7=M.N+"-label zc-label";if((O=H[N]["hook"])!=null){S.H.hook=O}S.KV=function(c){if(!c||new String(c).indexOf("%")==-1){return c}c=new String(c);var b=[],o;b.push(["%id",M.A.N]);b.push(["%graphid",M.N.replace(M.A.N+"-graph-","")]);var f=M.H.update;for(var r in f){b.push(["%"+r,f[r]])}b.sort(ZC.WH);for(var a=0,t=b.length;a<t;a++){o=new RegExp(b[a][0],"g");c=c.replace(o,b[a][1])}var h=S.o["default-value"]||" ";o=new RegExp("(%plot-([0-9]+?)-value(-*)([0-9]*?))|(%plot-value-([0-9]+?))|(%plot-value)","g");c=c.replace(o,h);o=new RegExp("\\((.+?)\\)\\(([0-9]*)\\)\\(([0-9]*)\\)");var e,q,m,n;while(e=o.exec(c)){if(e[1]=="%node-value"){q="";var g=0;var l=0;if((O=e[2])!=""){g=ZC._i_(O)}if((O=e[3])!=""){l=ZC._i_(O)}if((n=M.AY.AB[g])!=null){m=n.EV(l,3);if(m!=null){q=m.KV(e[1])}}c=c.replace(e[0],q)}}return c};S.parse();if(H[N]["3d"]){var X=new ZC.CI(M,S.iX,S.iY,ZC._i_(H[N]["z"]||"0"));S.iX=X.ED[0];S.iY=X.ED[1]}M.BU.push(S);M.JA.push({type:"label",index:N,zindex:S.I6})}}var K;if((K=M.o.arrows)!=null){for(var N=0,Z=K.length;N<Z;N++){var aa=new ZC.A6Q(M);W.load(aa.o,G+".arrow");aa.append(K[N]);aa.N=M.N+"-arrow-"+N;aa.parse();M.U0.push(aa);M.JA.push({type:"arrow",index:N,zindex:aa.I6})}}var I;var L=0;if((I=M.o.shapes)!=null){for(var N=0,Z=I.length;N<Z;N++){if(I[N]["type"]!=null&&I[N]["type"].indexOf("zingchart.")==0){continue}var U=I[N]["id"]||N;var R=zingchart.pool.getInstance("VV",M,M.N+"-shape-"+U);R.VO=I[N];R.GI=U;R.N=M.N+"-shape-"+U;R.N6=true;R.parse();if(I[N]["3d"]){var Y=ZC.EM.EG(R.BG,M,I[N]["points"],false);M.C6.add(Y);R.BG.C=[];R.H["3d"]=true;for(var J=0,p=Y.C.length;J<p;J++){R.BG.C.push([Y.C[J].ED[0],Y.C[J].ED[1]])}}M.HY.push(R);M.JA.push({type:"shape",index:L,zindex:R.BG.I6});L++}}var P;if((P=M.o.images)!=null){for(var N=0,Z=P.length;N<Z;N++){var Q=new ZC.HC(M);var D=P[N]["src"];Q.append({"background-repeat":"no-repeat","background-image":D,width:ZC.cache.data[D].width,height:ZC.cache.data[D].height});Q.append(P[N]);var U=P[N]["id"]||N;Q.GI=U;Q.N=M.N+"-image-"+U;Q.J=N;Q.parse();M.LB.push(Q);M.JA.push({type:"image",index:N,zindex:Q.I6})}}M.JA=M.JA.sort(function(a,b){if(a.zindex-b.zindex==0){return a.index-b.index}else{return a.zindex-b.zindex}})};ZC.IR.prototype.V0=function(m,p){if(typeof m==ZC._[31]){m=false}if(typeof p==ZC._[31]){p=false}var o=this,h;var n=[o.N+"-objects-bottom-sh-c",o.N+"-objects-bottom-c",o.N+"-objects-top-sh-c",o.N+"-objects-top-c",o.N+"-front-c"];for(var l=0;l<n.length;l++){if((h=ZC.AH(n[l]))!=null){ZC.L.JI(h,o.G.A8,o.iX,o.iY,o.I,o.F,o.N)}}ZC.A2("."+o.N+"-label").remove();ZC.A2("."+o.N+"-shape-label").remove();if(!m){ZC.A2("."+o.N+"-label-area").each(function(){if(p||this.id.indexOf("scale_")==-1&&this.id.indexOf("item_")==-1){ZC.L.F6(this.id)}});ZC.A2("."+o.N+"-shape-area").remove()}if(o.A.A8=="svg"){ZC.A2("#"+o.A.N+"-svg").children().each(function(){var a=o.N+"-label-";if(this.tagName.toLowerCase()=="clippath"&&this.id.substring(0,a.length)==a){ZC.L.F6(this.id)}})}};ZC.IR.prototype.A6W=function(){var b=this;ZC.A2("."+b.N+"-label-area").die(ZC.L.BM(ZC._[47]),b.UP).die(ZC.L.BM(ZC._[49]),b.WI).die(ZC.L.BM("mouseover"),b.UU).die(ZC.L.BM(ZC._[48]),b.UT).die(ZC.L.BM("mouseout"),b.VF).die("click",b.RR);ZC.A2("."+b.N+"-shape-area").die(ZC.L.BM("mouseover"),b.UQ).die(ZC.L.BM(ZC._[48]),b.UO).die(ZC.L.BM("mouseout"),b.VE).die(ZC.L.BM(ZC._[47]),b.UX).die(ZC.L.BM(ZC._[49]),b.WJ).die("click",b.RW)};ZC.IR.prototype.O4=function(){var o=this;o.R2=false;var h,m;if((h=o.o[ZC._[10]])!=null){for(var p=0,l=h.length;p<l;p++){var n=new String(h[p]["text"]||"");if(n.indexOf("%node-")!=-1||n.indexOf("%plot-")!=-1||ZC._b_(h[p]["dynamic"])){o.R2=true;break}}}if((m=o.o.shapes)!=null){for(var p=0,l=m.length;p<l;p++){if(ZC._b_(m[p]["dynamic"])){o.R2=true;break}}}};ZC.IR.prototype.PO=function(g){var e=this;var f=true;if(g&&!e.R2){f=false}if(f){e.V0(g);e.MD();e.IW(g)}};ZC.IR.prototype.IW=function(u){if(typeof u==ZC._[31]){u=false}var p=this,q;var w=[];function z(a){var b=p.U0[a];if(b.AP){b.A0=b.BZ=p.G.usc()?p.G.mc("top"):ZC.AH(p.N+"-objects-"+(b.I6<0?"bottom":"top")+"-c");b.paint()}}function x(b){var a=p.HY[b];if(a.BG.AP){if(!a.H["3d"]){a.A0=p.G.usc()?p.G.mc("top"):ZC.AH(p.N+"-objects-"+(a.BG.I6<0?"bottom":"top")+"-c");a.BZ=p.G.usc()?p.G.mc("top"):ZC.AH(p.N+"-objects-"+(a.BG.I6<0?"bottom":"top")+"-sh-c");a.paint()}if(!a.JU&&!p.MI){var c=a.BG.A4J();if(ZC.AH(p.A.N+"-map")){for(var e=1,f=c.length;e<f;e++){if(c[e]!=""){w.push(ZC.L.E7(c[0],a.BG.DQ,a.BG.ID)+‘class="‘+p.N+‘-shape-area zc-shape-area" id="‘+a.BG.N+"-area"+(e>1?"--"+e:"")+ZC._[30]+c[e]+‘" data-z-sort="‘+a.BG.A5G+‘" />‘)}}}}}}function s(a){var b=p.LB[a];if(b.AP){b.A0=b.BZ=p.G.usc()?p.G.mc("top"):ZC.AH(p.N+"-objects-"+(b.I6<0?"bottom":"top")+"-c");b.paint()}}function t(a){var e=p.BU[a];if(e.AP){if((q=e.H.hook)!=null){var c=p.VL(q);if(c[0]!=-1){e.iX=c[0]}if(c[1]!=-1){e.iY=c[1]}if(c[2]!=null){if(c[2]["center"]!=null&&c[2]["center"]){e.iX-=e.I/2;e.iY-=e.F/2}}}e.iX=ZC._i_(e.iX);e.iY=ZC._i_(e.iY);e.HA=ZC.AH(p.A.N+"-text");e.A0=p.G.usc()?p.G.mc("top"):ZC.AH(p.N+"-objects-"+(e.I6<0?"bottom":"top")+"-c");e.BZ=p.G.usc()?p.G.mc("top"):ZC.AH(p.N+"-objects-"+(e.I6<0?"bottom":"top")+"-sh-c");var b="";if((q=e.o.limit)!=null){if(q=="x"){b="x"}else{if(q=="y"){b="y"}else{if(q=="xy"){b="xy"}}}}if(b==""||b=="x"&&ZC.EO(e.iX-e.C1,p.P.iX-e.I/2-2,p.P.iX+p.P.I-e.I/2+2)||b=="y"&&ZC.EO(e.iY-e.BW,p.P.iY-e.F/2-2,p.P.iY+p.P.F-e.F/2+2)||b=="xy"&&ZC.EO(e.iX+e.C1,p.P.iX-e.I/2-2,p.P.iX+p.P.I-e.I/2+2)&&ZC.EO(e.iY+e.BW,p.P.iY-e.F/2-2,p.P.iY+p.P.F-e.F/2+2)){e.paint();e.DR();if(!e.JU&&!p.MI){if(ZC.AH(p.A.N+"-map")){w.push(ZC.AQ.QU(p.N,e))}}}}}for(var v=0,y=p.JA.length;v<y;v++){var r=p.JA[v].index;switch(p.JA[v].type){case"arrow":z(r);break;case"shape":x(r);break;case"image":s(r);break;case"label":t(r);break}}if(!u){if(w.length>0&&ZC.AH(p.A.N+"-map")){w.sort(function(a,b){return ZC.AQ.QQ(a)>ZC.AQ.QQ(b)?1:-1});ZC.AH(p.A.N+"-map").innerHTML+=w.join("")}}ZC.AQ.CM("objectsready",p.A,{})};ZC.IR.prototype.A06=function(p,m){var q=this;switch(p){case"shape":var s=q.HY[m];if(s.BG.o["hover-state"]!=null){if(s.BG.DY=="rectangle"){var r=new ZC.HC(q)}else{var r=new ZC.DA(q)}r.append(s.BG.o);r.append(s.BG.o["hover-state"]);var o=s.id||m;r.GI=o+"-hover";r.N=q.N+"-shape-"+o+"-hover";r.parse();if(s.H["3d"]){r.C=s.BG.C}if(r.AP){r.A0=r.BZ=ZC.AH(q.N+"-objects-hover-c");r.paint()}}break;case"label":var n=q.BU[m];if(n&&n.o["hover-state"]!=null){var t=zingchart.pool.getInstance("D2",q,q.N+"-label-hover");t.append(n.o);t.append(n.o["hover-state"]);var o=n.id||m;t.GI=o+"-hover";t.N=q.N+"-label-"+o+"-hover";t.F7=q.N+"-label "+q.N+"-label-hover zc-label zc-label-hover";t.HA=ZC.AH(q.A.N+"-text");t.parse();if(t.AP){t.iX=n.iX;t.iY=n.iY;t.I=n.I;t.F=n.F;t.A0=t.BZ=ZC.AH(q.N+"-objects-hover-c");if(ZC.AH(q.N+"-label-"+o)){ZC.AH(q.N+"-label-"+o).style.display="none"}t.paint()}}break}};ZC.IR.prototype.NT=function(){var e=this;function f(a){var c=a.targetid||a.target.id;var p=c.replace(/\-\-\d+/g,"").replace(e.N+"-shape-","").replace("-gshape-area","");var r=-1,b=null;for(var o=0,q=e.HY.length;o<q;o++){if(e.HY[o].GI==p){r=o;b=e.HY[o].BG;break}}return r==-1?null:{shapeid:p,shapeindex:r,shape:{id:p,index:r,cls:b.DW,x:b.iX,y:b.iY,type:b.DY,points:b.C,width:b.I,height:b.F,size:b.AO,size2:b.SI},ev:a}}e.UQ=function(a){if(ZC.mobile){ZC.move=false;e.G.hideCM();a.preventDefault();e.A.TM(a)}if(e.AK&&e.A.AK&&e.AK.AP){e.A.AK.onmouseover(a)}var b=f(a);e.A06("shape",b.shapeindex);if(!ZC.mobile){e.NZ("mouseover",b)}};e.VE=function(a){if(ZC.mobile){if(!e.G.A4A&&!ZC.move){zingchart.QF(a);e.RW(a)}e.A.L9(a)}if(e.AK&&e.A.AK&&e.AK.AP){e.A.AK.onmouseout(a)}e.QE();var b=f(a);e.NZ("mouseout",b)};e.UO=function(a){if(e.AK&&e.A.AK&&e.AK.AP){e.A.AK.onmousemove(a)}var b=f(a);e.NZ(ZC._[48],b)};e.UX=function(a){a.preventDefault();e.NZ(ZC._[47],f(a))};e.WJ=function(a){a.preventDefault();e.NZ(ZC._[49],f(a));if(ZC.mobile){e.RW(a)}};e.RW=function(a){var l=f(a);e.NZ("click",l);var b=e.HY[l.shapeindex].BG;if(b&&b.DQ&&b.DQ!="NULL"){if(b.DQ instanceof Array){for(var c=0;c<b.DQ.length;c++){if(b.FM[c]!=null){e.S2(a,b.DQ[c],b.FM[c])}}}else{e.S2(a,b.DQ,b.FM)}}};ZC.A2("."+e.N+"-shape-area").live(ZC.L.BM("mouseover"),e.UQ).live(ZC.L.BM(ZC._[48]),e.UO).live(ZC.L.BM("mouseout"),e.VE).live(ZC.L.BM(ZC._[47]),e.UX).live(ZC.L.BM(ZC._[49]),e.WJ);if(!ZC.mobile){ZC.A2("."+e.N+"-shape-area").live("click",e.RW)}function g(a){var w=a.targetid||a.target.id;if(w.indexOf("-scale")!=-1&&w.indexOf("-item")!=-1){var z=w.replace(e.N+"-","").replace("-area","");var D=z.split("-");var v=D[1].split("_");var H=0;if(v.length==2){H=ZC._i_(v[1])}else{if(v.length==3){H=ZC._i_(v[2])}}var I=D[0].replace(/_/g,"-");var A=e.BB(I);var G=A.BU[H]||A.Z[H];return{type:"scale-item",labelid:"si_"+D[1].replace("item_",""),labelindex:H,scale:I,text:G,label:{id:"si_"+D[1].replace("item_",""),index:H,text:G},ev:a}}else{if(w.indexOf("-value-box-")!=-1){var z=w.replace(e.N+ZC._[35],"").replace("-value-box-area","");var D=z.split("-node-");var b=e.AY.AB[ZC._i_(D[0])].EV(ZC._i_(D[1]));return !b?null:{type:ZC._[17],labelid:"vb_"+D.join("_"),plotindex:ZC._i_(D[0]),nodeindex:ZC._i_(D[1]),text:b.AE,label:{id:"vb_"+D.join("_"),text:b.AE},ev:a}}else{var z=w.replace(e.N+"-label-","").replace("-area","");var y=-1,c=null;for(var x=0,C=e.BU.length;x<C;x++){if(e.BU[x].GI==z){y=x;c=e.BU[x];break}}var G=e.BU[y].AN;return y==-1?null:{type:"label",labelid:z,labelindex:y,text:G,label:{id:z,index:y,cls:c.DW,x:c.iX,y:c.iY,width:c.I,height:c.F,text:G},ev:a}}}}e.UP=function(a){a.preventDefault();e.NY(ZC._[47],g(a))};e.WI=function(a){a.preventDefault();e.NY(ZC._[49],g(a));if(ZC.mobile){e.RR(a)}};e.UU=function(a){if(ZC.mobile){ZC.move=false;e.G.hideCM();a.preventDefault();e.A.TM(a)}if(e.AK&&e.A.AK&&e.AK.AP){e.A.AK.onmouseover(a)}var b=g(a);e.A06("label",b.labelindex);if(!ZC.mobile){e.NY("mouseover",b)}};e.VF=function(a){if(ZC.mobile){if(!e.G.A4A&&!ZC.move){zingchart.QF(a);e.RR(a)}e.A.L9(a)}if(e.AK&&e.A.AK&&e.AK.AP){e.A.AK.onmouseout(a)}e.QE();var b=g(a);if(ZC.AH(e.N+"-label-"+b.label.id)){ZC.AH(e.N+"-label-"+b.label.id).style.display="block"}e.NY("mouseout",b)};e.UT=function(a){if(e.AK&&e.A.AK&&e.AK.AP){e.A.AK.onmousemove(a)}var b=g(a);e.NY(ZC._[48],b)};e.RR=function(a){var l=g(a);e.NY("click",l);var c=e.BU[l.labelindex];if(c&&c.DQ&&c.DQ!="NULL"){if(c.DQ instanceof Array){for(var b=0;b<c.DQ.length;b++){if(c.FM[b]!=null){DQ[b]=DQ[b].replace("%id",e.A.N);DQ[b]=DQ[b].replace("%graphid",e.N.replace(e.A.N+"-graph-",""));e.S2(a,c.DQ[b],c.FM[b])}}}else{c.DQ=c.DQ.replace("%id",e.A.N);c.DQ=c.DQ.replace("%graphid",e.N.replace(e.A.N+"-graph-",""));e.S2(a,c.DQ,c.FM)}}};ZC.A2("."+e.N+"-label-area").live(ZC.L.BM("mouseover"),e.UU).live(ZC.L.BM(ZC._[48]),e.UT).live(ZC.L.BM("mouseout"),e.VF).live(ZC.L.BM(ZC._[47]),e.UP).live(ZC.L.BM(ZC._[49]),e.WI);if(!ZC.mobile){ZC.A2("."+e.N+"-label-area").live("click",e.RR)}};ZC.IR.prototype.NY=function(g,e){var f=this;ZC._cp_(f.N8(),e);e.ev=ZC.A2.BM(e.ev);ZC.AQ.CM("label_"+g,f.A,e)};ZC.IR.prototype.NZ=function(g,e){var f=this;ZC._cp_(f.N8(),e);e.ev=ZC.A2.BM(e.ev);ZC.AQ.CM("shape_"+g,f.A,e)};ZC.IR.prototype.VL=function(Z){var P=this,Q;if(typeof Z=="string"){var S={};var M=Z.split(":");if(M.length==2){S.type=M[0];M=M[1].split(/\s|,|;/);for(var I=0,ab=M.length;I<ab;I++){var U=M[I].split("=");S[U[0]]=U[1]}}Z=S}var aa=[-1,-1];switch(Z.type){case"scale":var L="";var K=-1;var R=null;if((Q=Z.name)!=null){L=Q}if((Q=Z.index)!=null){K=ZC._i_(Q)}if((Q=Z[ZC._[9]])!=null){R=ZC._i_(Q)}var N=null,G,H;if(L==""){L=ZC._[50]}N=P.BB(L);if(N!=null){if(R!=null){G=N.B7(R)}else{if(K!=-1){G=N.B7(N.Z[K])}}H=N.iY;if(N.J==1){H+=N.F}}aa=[G,H,{center:true}];break;case"node":var s=-1;var D=-1;var ac=null;var Y=null;if((Q=Z.plot)!=null){s=ZC._i_(Q)}if((Q=Z.index)!=null){D=ZC._i_(Q)}if((Q=Z[ZC._[9]])!=null){ac=Q}if((Q=Z.keyvalue)!=null){Y=Q}var W=null,X=null;if(s==-1){s=0}if((W=P.AY.AB[s])!=null){if(D!=-1&&W.Q[D]!=null){X=W.EV(D,3)}else{if(ac!=null||Y!=null){for(var J=0,O=W.Q.length;J<O;J++){if(W.Q[J]!=null){if(W.Q[J].AE==ac){X=W.EV(J,3)}if(W.Q[J].CF!=null&&W.Q[J].CF==Y){X=W.EV(J,3)}}}}}if(X!=null){X.setup();aa=X.VL(Z)}}break}if((Q=Z["offset-x"])!=null){aa[0]+=ZC._i_(Q)}if((Q=Z["offset-y"])!=null){aa[1]+=ZC._i_(Q)}return aa};zingchart.A5F=function(S,J,U){if(document.getElementById("zc-fullscreen")){S="zc-fullscreen"}U=U||{};if(typeof U=="string"){U=JSON.parse(U)}var o=!(U.update!=null&&!ZC._b_(U.update));var A=U.dynamic?ZC._b_(U.dynamic):false;var N=zingchart.getLoader(S);if(N!=null){switch(J){case"addobject":var M=N.BR(U[ZC._[3]]);if(M&&U.data){var O=U.data instanceof Array;var L=O?[]:{};ZC._cp_(U.data,L);var K=U.type||"label";if(!M.o[K+"s"]){M.o[K+"s"]=[]}if(O){for(var D=0,W=L.length;D<W;D++){M.o[K+"s"].push(L[D])}}else{M.o[K+"s"].push(L)}if(o){M.O4();M.PO(A)}}break;case"removeobject":var M=N.BR(U[ZC._[3]]);if(M&&U.id){var K=U.type||"label";var C=M.o[K+"s"];var P=typeof U.id=="string"?[U.id]:U.id;var I=false;for(var D=C.length-1;D>=0;D--){if(C[D]["id"]!=null&&ZC.AG(P,C[D]["id"])!=-1){C.splice(D,1);I=true}}if(I&&o){M.O4();M.PO(A)}}break;case"updateobject":var M=N.BR(U[ZC._[3]]);if(M&&U.data){var K=U.type||"label";var C=M.o[K+"s"];var O=U.data instanceof Array;var L=O?[]:{};ZC._cp_(U.data,L);var I=false;function R(b,c){ZC._cp_(b,c);if(b.animation!=null){var f=null;if(K=="label"){for(var l=0,a=M.BU.length;l<a;l++){if(M.BU[l].GI==b.id){f=M.BU[l];break}}}else{if(K=="shape"){for(var l=0,a=M.HY.length;l<a;l++){if(M.HY[l].GI==b.id){f=M.HY[l].BG;break}}}}var e=M.JP;var g={};ZC._cp_(b,g);if(g.x!=null){g.x+=M.iX}if(g.y!=null){g.y+=M.iY}if(g.points!=null){for(var l=0,a=g.points.length;l<a;l++){if(g.points[l]!=null){g.points[l][0]+=M.iX;g.points[l][1]+=M.iY;if(g.points[l][2]!=null){g.points[l][2]+=M.iX}if(g.points[l][3]!=null){g.points[l][3]+=M.iY}}}}g.animation=null;var h=new ZC.CR(f,g,ZC._i_(b.animation.speed||"300"),ZC._i_(b.animation.delay||"0"),ZC.CR.NL[ZC._i_(b.animation.method||"0")],function(){if(b.animation.end!=null){b.animation.end.call()}});M.MI=true;e.add(h)}I=true}if(O){var G=false,Q=false;for(var D=0,W=L.length;D<W;D++){if(L[D]["objtype"]!=null){C=M.o[L[D]["objtype"]+"s"]}if(C){for(var H=0,z=C.length;H<z;H++){if(L[D]["id"]!=null&&C[H]["id"]!=null&&C[H]["id"]==L[D]["id"]){R(L[D],C[H])}}}if(L[D]["animation"]!=null){G=true}else{Q=true}if(Q&&G){M.MD()}}}else{var S=L.id||U.id;for(var H=0,z=C.length;H<z;H++){if(C[H]["id"]!=null&&S!=null&&C[H]["id"]==S){L.id=S;R(L,C[H])}}}if(I&&(o||!M.MI)){if(!M.MI){M.O4();M.PO(A)}}}break;case"repaintobjects":var M=N.BR(U[ZC._[3]]);if(M){M.O4();M.PO(A)}break}}return null};ZC.IR.prototype.XI=function(){var h=this;var l=0;for(var f=0,g=h.B9.length;f<g;f++){if(h.B9[f].AC=="k"){l=ZC.BT(l,h.o[h.B9[f].B5][ZC._[5]].length)}}for(var f=0,g=h.AY.AB.length;f<g;f++){if(h.o[ZC._[11]][f]!=null){l=ZC.BT(l,h.o[ZC._[11]][f][ZC._[5]].length)}}return l};ZC.IR.prototype.ZX=function(){var l=this;var n=l.XI();for(var g=0,h=l.B9.length;g<h;g++){if(l.B9[g].AC=="k"){if(l.B9[g].EW){var m=(l.B9[g].F-l.B9[g].A7-l.B9[g].D0)/ZC._i_(l.G8["max-ticks"]);l.B9[g].NO=ZC.BT(0,l.B9[g].F-n*m)}else{var m=(l.B9[g].I-l.B9[g].A7-l.B9[g].D0)/ZC._i_(l.G8["max-ticks"]);l.B9[g].NO=ZC.BT(0,l.B9[g].I-n*m)}if(ZC._b_(l.G8["adjust-scale"])){l.B9[g].NO=0}l.B9[g].A7=l.B9[g].YB+l.B9[g].NO;l.B9[g].Y=ZC.BT(0,l.B9[g].A3-l.G8["max-ticks"]+1);l.B9[g].L4()}}};ZC.IR.prototype.A69=function(){var s=this,E;if(s.G8!=null){var L8=ZC._i_(s.G8.interval);L8=L8>=50?L8:1000*L8;if(s.G8.type=="full"){if(s.G8.transport=="http"){window.setTimeout(function(){s.A.K4(s);ZC.U1(function(){s.A.load(s.N,s.A45)})},L8)}else{if(s.G8.transport=="websockets"&&ZC.websockets){if(!s.G.PW[s.N]){var ws=new WebSocket(s.G8.url,"zingchart");ws.onopen=function(){ws.send("zingchart."+s.G8.type);ws.send("zingchart."+s.G8.method);ws.send("zingchart.getdata")};ws.onmessage=function(evt){if(s.LA!="ready"){return}s.A.K4(s);s.LA="full";ZC.U1(function(){zingchart.exec(s.A.N,"setdata",{graphid:s.N,data:evt.data,softclear:true})})};s.G.PW[s.N]=ws}else{if(s.G8.method=="pull"){window.setTimeout(function(){s.G.PW[s.N].send("zingchart.getdata")},L8)}}}}}else{if(s.G8.type=="feed"&&s.G8.url!=null){if(s.G8.curtain!=null){var OJ=s.BH("k");if(OJ.length>0){ZC.L.F6(s.N+"-curtain-t");if(OJ[0].NO>0){var LD=new ZC.D2(s);s.A.AV.load(LD.o,"("+s.AC+").refresh.curtain");LD.append(s.G8.curtain);LD.parse();if(LD.AP){LD.N=s.N+"-curtain-t";LD.HA=ZC.AH(s.A.N+"-text-top");if(OJ[0].EW){LD.iX=s.P.iX;LD.iY=OJ[0].B2?s.P.iY:s.P.iY+s.P.F-OJ[0].NO;LD.I=s.P.I;LD.F=OJ[0].NO}else{LD.iX=OJ[0].B2?s.P.iX+s.P.I-OJ[0].NO:s.P.iX;LD.iY=s.P.iY;LD.I=OJ[0].NO;LD.F=s.P.F}LD.A0=LD.BZ=ZC.AH(s.N+"-scales-ml-0-c");LD.paint()}}}}var Y9=ZC._i_(s.G8["reset-timeout"]);var YL=ZC._i_(s.G8["stop-timeout"]);var A44=ZC._b_(s.G8.storage);var A73=ZC._i_(s.G8["storage-size"]);function _push_data_(I9){var PJ=eval("("+I9+")");var A2X=PJ instanceof Array?PJ:[PJ];for(var r=0,rLen=A2X.length;r<rLen;r++){var DX=A2X[r];for(var i=0,A4=s.B9.length;i<A4;i++){if(s.B9[i].AC=="k"){var B5=s.B9[i].B5;if(DX[B5]!=null&&s.o[B5]!=null){if(s.o[B5][ZC._[5]]==null){s.o[B5][ZC._[5]]=[]}s.o[B5][ZC._[5]].push(DX[B5]);if(s.o[B5][ZC._[5]].length>Y9||s.MR[1]==1){s.o[B5][ZC._[5]]=[]}if(ZC.webstorage&&A44){ZC.AQ.storage.push("zingchart.scale."+s.N+"."+B5,new String(DX[B5]))}}}}for(var i=0,A4=s.AY.AB.length;i<A4;i++){if(s.o[ZC._[11]][i]!=null){var ZR=null;if((E=DX["plot-"+i])!=null){ZR=E}else{if((E=DX["plot"+i])!=null){ZR=E}}s.o[ZC._[11]][i][ZC._[5]].push(ZR);if(ZC.webstorage&&A44){E=DX["plot"+i];if(typeof E=="object"){E=E.join("###")}ZC.AQ.storage.push("zingchart.plot."+s.N+".plot"+i,new String(E))}if(s.o[ZC._[11]][i][ZC._[5]].length>Y9||s.MR[1]==1){s.o[ZC._[11]][i][ZC._[5]]=[]}}}var K9=s.XI()}if(s.LA!="ready"){return}if(s.MR[1]==1){s.MR[1]=0}if(K9<=YL||YL==0){s.LA="feed";ZC.U1(function(){if(ZC.AH(s.A.N+"-main")){s.parse();s.clear(true);s.ZX();s.paint(true,true)}})}}if(s.G8.transport=="http"){window.setTimeout(function(){if(s.MR[0]==1){s.A.K4(s);var I0=[s.A.K2=="query-string"?"zcrandom="+Math.random():"",zingchart.ZCOUTPUT?"zcoutput="+s.G.A8:""].join("&");ZC.A2.ajax({type:"GET",url:s.G8.url,beforeSend:function(FQ){if(!s.A.NU.data&&s.A.K2=="http-headers"){FQ.setRequestHeader(ZC._[45],"Thu, 01 Jan 1970 00:00:00 GMT")}},data:I0,dataType:"text",error:function(FQ,LU,GL){},success:function(I9,LU,FQ){_push_data_(I9)}})}},L8)}else{if(s.G8.transport=="websockets"&&ZC.websockets){if(!s.G.PW[s.N]){var ws=new WebSocket(s.G8.url,"zingchart");ws.onopen=function(){ws.send("zingchart."+s.G8.type);ws.send("zingchart."+s.G8.method);ws.send("zingchart.startfeed");if(s.G8.method=="pull"){ws.send("zingchart.getdata")}};ws.onmessage=function(evt){if(s.MR[0]==1){_push_data_(evt.data)}};s.G.PW[s.N]=ws}else{if(s.G8.method=="pull"){window.setTimeout(function(){s.G.PW[s.N].send("zingchart.getdata")},L8)}}}}}}}};zingchart.A5W=function(m,n,o){var h;if(document.getElementById("zc-fullscreen")){m="zc-fullscreen"}o=o||{};if(typeof o=="string"){o=JSON.parse(o)}var l=zingchart.getLoader(m);if(l!=null){var p=l.BR(o[ZC._[3]]);switch(n){case"clearfeed":p.MR[1]=1;break;case"getinterval":return p.G8.interval;break;case"setinterval":p.o.refresh=p.o.refresh||{};p.o.refresh.interval=o.interval||1;break;case"stopfeed":p.MR[0]=0;if((h=l.PW[p.N])!=null){h.send("zingchart.stopfeed")}break;case"startfeed":p.MR[0]=1;if((h=l.PW[p.N])!=null){h.send("zingchart.startfeed")}ZC.U1(function(){p.parse();p.clear(true);p.ZX();p.paint(true,true)});break}}return null};ZC.AQ.YI=function(n){var q={},x=[];if(typeof n=="object"){x=n}else{x=JSON.parse(n)}for(var v=0,s=x.length;v<s;v++){if((n=x[v])!=null){q["p"+v]={};var t=[];if(typeof n=="object"){t=n}else{if(typeof n=="string"&&/\d+\-\d+/.test(n)){var w=n.split("-");if(w.length==2){t=[];for(var r=ZC._i_(w[0]);r<=ZC._i_(w[1]);r++){t.push(r)}}}else{t=[n]}}for(var u=0,p=t.length;u<p;u++){q["p"+v]["n"+t[u]]=true}}}return q};ZC.IR.prototype.A6F=function(){var e=this,c;if((c=e.o.selection)!=null){e.DB=ZC.AQ.YI(c);e.o.selection=null}};zingchart.A4T=function(p,z,v){var I;if(document.getElementById("zc-fullscreen")){p="zc-fullscreen"}v=v||{};if(typeof v=="string"){v=JSON.parse(v)}var K=zingchart.getLoader(p);if(K!=null){switch(z){case"clearselection":var G=K.BR(v[ZC._[3]]);if(G!=null){G.DB={};for(var D=0,y=G.AY.AB.length;D<y;D++){G.JJ[D]=false}G.H5=true;G.IC(true,true)}break;case"getselection":var G=K.BR(v[ZC._[3]]);if(G!=null){var H=[];for(var D=0,y=G.AY.AB.length;D<y;D++){H[D]=null;if(G.DB["p"+D]!=null){var A=[];for(var C in G.DB["p"+D]){if(G.DB["p"+D].hasOwnProperty(C)&&G.DB["p"+D][C]){A.push(ZC._i_(C.replace("n","")))}}H[D]=A}}return H}return{};break;case"setselection":var w={},H=[],I;if((I=v.selection)!=null){w=ZC.AQ.YI(I)}var G=K.BR(v[ZC._[3]]);if(G!=null){G.DB=w;G.H5=true;G.IC(true,true)}break;case"select":case"deselect":var J=[];function n(l){var g=false;if((I=l.toggle)!=null){g=ZC._b_(I)}var q=K.BR(l[ZC._[3]]);if(q!=null){for(var h=0,r=q.AY.AB.length;h<r;h++){q.JJ[h]=false}var f=null,a=null;if((I=l.plotindex)!=null){if(typeof I=="object"){f=I}else{if(typeof I=="string"&&/\d+\-\d+/.test(I)){var m=I.split("-");if(m.length==2){f=[];for(var o=ZC._i_(m[0]);o<=ZC._i_(m[1]);o++){f.push(o)}}}else{f=[I]}}}if((I=l.nodeindex)!=null){if(typeof I=="object"){a=I}else{if(typeof I=="string"&&/\d+\-\d+/.test(I)){var m=I.split("-");if(m.length==2){a=[];for(var o=ZC._i_(m[0]);o<=ZC._i_(m[1]);o++){a.push(o)}}}else{a=[I]}}}if(f==null){f=[];for(var h=0,r=q.AY.AB.length;h<r;h++){f.push(h)}}for(var h=0,r=f.length;h<r;h++){var c=f[h];if(q.AY.AB[c]!=null){if(q.DB["p"+c]==null){q.DB["p"+c]={}}if(a==null){for(var b=0,e=q.AY.AB[c].Q.length;b<e;b++){if(z=="select"){if(!g){q.DB["p"+c]["n"+b]=true}else{if(q.DB["p"+c]["n"+b]){delete q.DB["p"+c]["n"+b]}else{q.DB["p"+c]["n"+b]=true}}}else{if(z=="deselect"){delete q.DB["p"+c]["n"+b]}}}}else{for(var b=0,e=a.length;b<e;b++){if(z=="select"){if(!g){q.DB["p"+c]["n"+a[b]]=true}else{if(q.DB["p"+c]["n"+a[b]]){delete q.DB["p"+c]["n"+a[b]]}else{q.DB["p"+c]["n"+a[b]]=true}}}else{if(z=="deselect"){delete q.DB["p"+c]["n"+a[b]]}}}}}}if(ZC.AG(J,q)==-1){J.push(q)}}}if(v instanceof Array){for(var x=0;x<v.length;x++){n(v[x])}}else{n(v)}for(var x=0;x<J.length;x++){J[x].H5=true;J[x].IC(true,true)}break}}return null};ZC.IR.prototype.L2=function(){var b=this;if(b.AI["3d"]&&typeof ZC.AU!=ZC._[31]){ZC.AU.YU=2.5*ZC.BT(b.I,b.F);ZC.AU.ER=b.P.iX+b.P.I/2;ZC.AU.EQ=b.P.iY+b.P.F/2;ZC.AU.GG=ZC._i_(b.EB.depth);ZC.AU.ER+=b.EB["offset-x"];ZC.AU.EQ+=b.EB["offset-y"]}};ZC.IR.prototype.A80=function(){var o=this,n;if(o.AI["3d"]&&typeof ZC.AU!=ZC._[31]){o.A.AV.load(o.EB,"graph.3d-aspect");o.A.AV.load(o.EB,o.AC+".3d-aspect");if((n=o.o[ZC._[26]])!=null){ZC._cp_(n,o.EB)}if(o.AC=="pie3d"&&o.o.plot&&o.o.plot.tilt){var m=ZC._l_(ZC._f_(o.o.plot.tilt),1,3);o.EB[ZC._[27]]=25+(m-1)/2*(o.AI["x-angle-max"]-o.AI["x-angle-min"])}var p=["angle","depth",ZC._[27],ZC._[28],ZC._[29],"zoom","offset-x","offset-y"];for(var h=0;h<p.length;h++){o.EB[p[h]]=ZC._f_(o.EB[p[h]])}var l=["angle",ZC._[27],ZC._[28],ZC._[29]];for(var h=0;h<l.length;h++){if(!ZC.EO(o.EB[l[h]],o.AI[l[h]+"-min"],o.AI[l[h]+"-max"])){o.EB[l[h]]=o.AI[l[h]+"-min"]}}o.EB.true3d=ZC._b_(o.EB.true3d)}};ZC.IR.prototype.UB=function(){var f=this;if(zingchart.V3D!=3){zingchart.V3D=f.EB.true3d?1:2}var x=f.C6.ZO.length;for(var t=0;t<x;t++){var v=f.C6.ZO[t];v.A7X();if(f.EB.true3d){if(zingchart.V3D==3){f.C6.S4[t]=[ZC._f_(v.UG.toFixed(1))*v.LJ[2],t]}else{f.C6.S4[t]=[[ZC._f_(v.OP.toFixed(1))*v.LJ[0],ZC._f_(v.ZG.toFixed(1))*v.LJ[1],ZC._f_(v.UG.toFixed(1))*v.LJ[2],ZC._f_(v.A3G.toFixed(1))],t]}}else{f.C6.S4[t]=[[ZC._f_(v.OP.toFixed(1))*v.LJ[0],ZC._f_(v.YV.toFixed(1))*v.LJ[1],ZC._f_(v.A5D.toFixed(1))*v.LJ[2],ZC._i_(v.EE)],t]}}f.C6.S4.sort(f.C6.sortFaces);var r=new ZC.DA(f);var w=f.G.usc()?f.G.mc():ZC.AH(f.N+"-plots-bl-c");for(var t=0;t<x;t++){var z=[];var s=f.C6.S4[t][1];var v=f.C6.ZO[s];var p=v.C.length;if(p>0){var u=true;for(var y=0;y<p;y++){z.push(v.C[y].ED)}if(u){z.push(v.C[0].ED);r.$i(f);r.N=f.N+"-3dshape-"+ZC.SEQ;ZC.SEQ++;r.copy(v.S);r.D5=false;r.A0=w;r.locate(1);r.C=z;r.DY="poly";r.locate(2);r.paint()}}}};ZC.IR.prototype.Q9=function(){if(zingchart.SKIP.LEGEND){return}var b=this;if(b.D3!=null){b.D3.A0=b.D3.BZ=b.G.usc()?b.G.mc("top"):ZC.AH(b.N+"-legend-c");b.D3.paint();if(!b.PN){if(ZC.AG(b.G.I8,ZC._[41])==-1){b.RE=function(a){if(b.AK&&b.A.AK&&b.AK.AP){b.A.AK.onmouseover(a)}};b.QB=function(a){if(b.AK&&b.A.AK&&b.AK.AP){b.A.AK.onmousemove(a)}};b.S8=function(a){if(b.AK&&b.A.AK&&b.AK.AP){b.A.AK.onmouseout(a)}};b.OQ=function(c){if(c.which>1){return}var t=c.targetid||c.target.id;if(ZC.mobile&&b.G.AK){b.G.AK.hide()}var s="item";if(t.indexOf("-legend-marker_")!=-1){s="marker"}c.preventDefault();var q=b.D3.H4;if(s=="item"){q=b.D3.OG}else{if(s=="marker"){q=b.D3.NH}}if(b.A.JU){q="remove"}b.H["legend-last-trigger"]=s;var a=ZC._i_(t.replace(b.N+"-legend-item_","").replace(b.N+"-legend-marker_","").replace("-area",""));if(b.o[ZC._[11]]&&b.o[ZC._[11]][a]){b.o[ZC._[11]][a]["visible"]=true}var v=b.AY.AB[a].W9(c);v.visible=ZC._b_(b.H["plot"+a+".visible"]);ZC.AQ.CM("legend_"+s+"_click",b.A,v);if(!b.D3.H["item.toggle"]){return}if(b.D3.XD){for(var u=0,w=b.G.B0.length;u<w;u++){var x=b.G.B0[u];if(x.D3&&x.D3.XD&&x.D3.A3H==b.D3.A3H&&x.N!=b.N){x.O0({IC:1,plotindex:a,"toggle-action":q})}}}switch(q){case"none":default:break;case"hide":case"remove":if(!c.shiftKey){b.O0({IC:1,plotindex:a,"toggle-action":q})}else{var r=0;for(var u=0,w=b.AY.AB.length;u<w;u++){if(u!=a){r++;A60=r==w-1;b.O0({IC:A60,plotindex:u,"toggle-action":q})}}}break}};ZC.A2("."+b.N+"-legend-item-area").live("mouseup touchstart",b.OQ);ZC.A2("."+b.N+"-legend-marker-area").live("mouseup touchstart",b.OQ);if(!ZC.mobile){ZC.A2("."+b.N+"-legend-item-area").live(ZC.L.BM("mouseover"),b.RE).live(ZC.L.BM("mouseout"),b.S8).live(ZC.L.BM(ZC._[48]),b.QB)}}}}};ZC.A4P=ZC.IR.BF({$i:function(e){var c=this;c.b(e);c.AC="null";c.AI[ZC._[23]]=true;c.AI[ZC._[56]]=true}});ZC.ZCNull3DGraph=ZC.IR.BF({$i:function(e){var c=this;c.b(e);c.AC="null3d";c.C6=new ZC.QG();c.AI["3d"]=true;c.AI["x-angle-min"]=-1800;c.AI["x-angle-max"]=1800;c.AI["y-angle-min"]=-1800;c.AI["y-angle-max"]=1800;c.AI["z-angle-min"]=-1800;c.AI["z-angle-max"]=1800;zingchart.V3D=3},clear:function(){var b=this;b.b();b.C6.clear()},paint:function(){var b=this;b.b();b.MD();b.UB();b.flatten();b.IW();if(ZC.AG(b.G.I8,ZC._[41])==-1){b.NT()}}});ZC.NB=ZC.IR.BF({$i:function(e){var c=this;c.b(e);c.AC="xy";c.AI.clip=true;c.AI.layout="xy"},K7:function(g,f){var e=this;switch(g){case"x":return new ZC.WG(e);break;case"y":return new ZC.WE(e);break}},A77:function(){var m=this;var p=m.K7("x",ZC._[50]);p.B5=ZC._[50];p.N=m.N+"-scale-x";m.B9.push(p);for(var o=2;o<10;o++){if(m.o["scale-x-"+o]!=null){var h=m.K7("x","scale-x-"+o);h.J=o;h.B5="scale-x-"+o;h.N=m.N+"-scale-x-"+o;m.B9.push(h)}}var l=m.K7("y",ZC._[51]);l.B5=ZC._[51];l.N=m.N+"-scale-y";m.B9.push(l);for(var o=2;o<10;o++){if(m.o["scale-y-"+o]!=null){var n=m.K7("y","scale-y-"+o);n.J=o;n.B5="scale-y-"+o;n.N=m.N+"-scale-y-"+o;m.B9.push(n)}}m.b()}});ZC.A0A=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="line";c.AY=new ZC.YD(c);c.AI[ZC._[23]]=true;c.AI[ZC._[56]]=true;c.AI["enable-scroll"]=true}});ZC.A0C=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="area";c.AY=new ZC.YG(c);c.AI[ZC._[23]]=true;c.AI[ZC._[56]]=true;c.AI["enable-scroll"]=true}});ZC.X6=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="vbar";c.AY=new ZC.V8(c);c.AI[ZC._[23]]=true;c.AI[ZC._[56]]=true;c.AI["enable-scroll"]=true},K7:function(g,f){switch(g){case"x":var e=this.b(g,f);e.DE=true;return e;break;case"y":return this.b(g,f);break}}});ZC.X0=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="hbar";c.AI.layout="yx";c.AY=new ZC.V9(c)},K7:function(g,f){switch(g){case"x":var e=new ZC.A2S(this);e.DE=true;return e;break;case"y":return new ZC.A2R(this);break}}});ZC.ZE=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="mixed";c.AY=new ZC.XA(c);c.AI[ZC._[23]]=true;c.AI[ZC._[56]]=true;c.AI["enable-scroll"]=true},K7:function(g,f){switch(g){case"x":var e=this.b(g,f);e.DE=true;return e;break;case"y":return this.b(g,f);break}}});ZC.A1Q=ZC.ZE.BF({$i:function(e){var c=this;c.b(e);c.AC="mixed3d";c.AY=new ZC.XA(c);c.C6=new ZC.QG();c.AI["3d"]=true;c.AI[ZC._[56]]=false;c.AI[ZC._[55]]=false;c.AI["enable-scroll"]=false},clear:function(){var b=this;b.b();b.C6.clear()},paint:function(){var b=this;b.b();b.UB();b.MD();b.IW();b.Q9();if(ZC.AG(b.G.I8,ZC._[41])==-1){b.NT()}}});ZC.A29=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="scatter";c.AY=new ZC.A0S(c);c.AI[ZC._[23]]=true;c.AI[ZC._[56]]=true;c.AI["enable-scroll"]=true}});ZC.A35=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="bubble";c.AY=new ZC.A1G(c);c.AI[ZC._[23]]=true;c.AI[ZC._[56]]=true;c.AI["enable-scroll"]=true}});ZC.A1J=ZC.IR.BF({$i:function(b){this.b(b);this.AC="pie";this.AY=new ZC.YO(this)},SL:function(b){return""},K7:function(c,e){switch(c){case"m":return new ZC.SZ(this);break;case"v":return new ZC.U8(this);break;case"r":return new ZC.A2Z(this);break}},A77:function(){var f=this;var h=f.K7("m","scale"),l=f.K7("v",ZC._[52]),g=f.K7("r","scale-r");h.B5="scale";h.N=f.N+"-scale";l.B5=ZC._[52];l.N=f.N+"-scale-v";g.B5="scale-r";g.N=f.N+"-scale-r";f.B9.push(h,l,g);f.b()},clear_:function(g,f){var e=this;if(ZC.AG(["svg","vml"],e.G.A8)!=-1){ZC.A2("#"+e.N+" .zc-layer").each(function(){if(/\-plot-\d+\-fl\-\d+\-/.test(this.id)){ZC.A2(this).children().each(function(){if(/\-connector\-path/.test(this.id)){ZC.L.F6(this)}})}})}}});ZC.A0P=ZC.IR.BF({$i:function(e){var c=this;c.b(e);c.AC="nestedpie";c.AY=new ZC.YR(c)},SL:function(b){return""},K7:function(c,e){switch(c){case"m":return new ZC.SZ(this);break}},A77:function(){var e=this;var c=e.K7("m","scale");c.B5="scale";c.N=e.N+"-scale";e.B9.push(c);e.b()}});ZC.A3O=ZC.IR.BF({$i:function(e){var c=this;c.b(e);c.AC="radar";c.AY=new ZC.A2I(c)},SL:function(b){return""},K7:function(g,f){var e=this;switch(g){case"m":return new ZC.SZ(e);break;case"k":return new ZC.A2A(e);break;case"v":return new ZC.A1U(e);break}},A77:function(){var l=this;var f=l.K7("k","scale-k");f.B5="scale-k";f.N=l.N+"-scale-k";l.B9.push(f);var g=l.K7("v",ZC._[52]);g.B5=ZC._[52];g.N=l.N+"-scale-v";l.B9.push(g);var h=l.K7("m","scale");h.B5="scale";h.N=l.N+"-scale";l.B9.push(h);l.b()}});ZC.A2D=ZC.X6.BF({$i:function(e){var c=this;c.b(e);c.AC="vbullet";c.AY=new ZC.A0T(c);c.AI[ZC._[55]]=false}});ZC.A2L=ZC.X0.BF({$i:function(e){var c=this;c.b(e);c.AC="hbullet";c.AI.layout="yx";c.AY=new ZC.A0M(c);c.AI[ZC._[55]]=false}});ZC.A3N=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="piano";c.AY=new ZC.A25(c);c.AI[ZC._[55]]=false},A5S:function(l){var f=this;if(l=="v"){var h=[];for(var g=0;g<f.o[ZC._[11]].length;g++){h.push(f.o[ZC._[11]][g]["text"]||"Metric "+(g+1))}return h}},K7:function(h,g){switch(h){case"x":var l=new ZC.WG(this);l.DE=true;return l;break;case"y":var f=new ZC.WE(this);f.DE=true;return f;break}}});ZC.A2N=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="vfunnel";c.AY=new ZC.A0V(c);c.AI[ZC._[55]]=false},K7:function(h,g){switch(h){case"x":var l=this.b(h,g);l.DE=true;return l;break;case"y":var f=this.b(h,g);f.DE=true;return f;break}},A5S:function(l){var f=this;if(l=="v"){var h=[];for(var g=0;g<f.o[ZC._[11]].length;g++){h.push("Step "+(g+1))}return h}},paint:function(){var g=this;for(var e=0,f=g.B9.length;e<f;e++){if(g.B9[e].AC=="v"){g.B9[e].B2=!g.B9[e].B2}}g.b()}});ZC.A1R=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="hfunnel";c.AY=new ZC.A0J(c);c.AI[ZC._[55]]=false},A5S:function(l){var f=this;if(l=="v"){var h=[];for(var g=0;g<f.o[ZC._[11]].length;g++){h.push("Step "+(g+1))}return h}},K7:function(h,g){switch(h){case"x":var l=new ZC.A2S(this);l.DE=true;return l;break;case"y":var f=new ZC.A2R(this);f.DE=true;return f;break}}});ZC.A49=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="stock";c.AY=new ZC.A28(c);c.AI[ZC._[23]]=true;c.AI[ZC._[55]]=false;c.AI["enable-scroll"]=true},K7:function(g,f){switch(g){case"x":var e=this.b(g,f);e.DE=true;return e;break;case"y":return this.b(g,f);break}}});ZC.A4G=ZC.IR.BF({$i:function(e){var c=this;c.b(e);c.AC="gauge";c.AY=new ZC.A2J(c)},SL:function(b){return""},K7:function(g,f){var e=this;switch(g){case"m":return new ZC.SZ(e);break;case"r":return new ZC.A1V(e);break;case"v":return new ZC.U8(e);break}},A77:function(){var f=this;var h=f.K7("m","scale");h.B5="scale";h.N=f.N+"-scale";f.B9.push(h);var g=f.K7("r","scale-r");g.B5="scale-r";g.N=f.N+"-scale-r";f.B9.push(g);var l=f.K7("v",ZC._[52]);l.B5=ZC._[52];l.N=f.N+"-scale-v";f.B9.push(l);f.b()},QE_:function(g,e){var f=this;ZC.A2("#"+f.N+"-plots-bl-2").children().each(function(){ZC.L.JI(this,f.G.A8,f.iX,f.iY,f.I,f.F,f.N)})}});ZC.A4D=ZC.NB.BF({$i:function(e){var c=this;c.b(e);c.AC="range";c.AY=new ZC.A1Z(c);c.AI[ZC._[23]]=true;c.AI[ZC._[55]]=false;c.AI["enable-scroll"]=true}});ZC.A3W=ZC.A1J.BF({$i:function(e){var c=this;c.b(e);c.AC="pie3d";c.AY=new ZC.A23(c);c.C6=new ZC.QG();c.AI["3d"]=true;c.AI[ZC._[55]]=false;c.AI["x-angle-min"]=15;c.AI["x-angle-max"]=75;c.AI["y-angle-min"]=0;c.AI["y-angle-max"]=0;c.AI["z-angle-min"]=0;c.AI["z-angle-max"]=0},clear:function(){var b=this;b.b();b.C6.clear()},paint:function(){var b=this;b.b();b.UB();b.flatten();b.MD();b.IW();b.Q9();if(ZC.AG(b.G.I8,ZC._[41])==-1){b.NT()}}});ZC.A37=ZC.X0.BF({$i:function(e){var c=this;c.b(e);c.AC="hbar3d";c.AY=new ZC.A1E(c);c.C6=new ZC.QG();c.AI["3d"]=true;c.AI[ZC._[56]]=false;c.AI[ZC._[55]]=false;c.AI["x-angle-min"]=-20;c.AI["x-angle-max"]=20;c.AI["y-angle-min"]=-20;c.AI["y-angle-max"]=0},clear:function(){var b=this;b.b();b.C6.clear()},paint:function(){var b=this;b.b();b.UB();b.flatten();b.MD();b.IW();b.Q9();if(ZC.AG(b.G.I8,ZC._[41])==-1){b.NT()}}});ZC.A3A=ZC.X6.BF({$i:function(e){var c=this;c.b(e);c.AC="vbar3d";c.AY=new ZC.A12(c);c.C6=new ZC.QG();c.AI["3d"]=true;c.AI[ZC._[56]]=false;c.AI[ZC._[55]]=false;c.AI["enable-scroll"]=false},clear:function(){var b=this;b.b();b.C6.clear()},paint:function(){var b=this;b.b();b.UB();b.flatten();b.MD();b.IW();b.Q9();if(ZC.AG(b.G.I8,ZC._[41])==-1){b.NT()}}});ZC.A39=ZC.A0A.BF({$i:function(e){var c=this;c.b(e);c.AC="line3d";c.AY=new ZC.A1D(c);c.C6=new ZC.QG();c.AI["3d"]=true;c.AI[ZC._[56]]=false;c.AI[ZC._[55]]=false;c.AI["enable-scroll"]=false},clear:function(){var b=this;b.b();b.C6.clear()},paint:function(){var b=this;b.b();b.UB();b.flatten();b.MD();b.IW();b.Q9();if(ZC.AG(b.G.I8,ZC._[41])==-1){b.NT()}}});ZC.A31=ZC.A0C.BF({$i:function(e){var c=this;c.b(e);c.AC="area3d";c.AY=new ZC.A1C(c);c.C6=new ZC.QG();c.AI["3d"]=true;c.AI[ZC._[56]]=false;c.AI[ZC._[55]]=false;c.AI["enable-scroll"]=false},clear:function(){var b=this;b.b();b.C6.clear()},paint:function(){var b=this;b.b();b.UB();b.flatten();b.MD();b.IW();b.Q9();if(ZC.AG(b.G.I8,ZC._[41])==-1){b.NT()}}});ZC.A4R=ZC.IR.BF({$i:function(e){var c=this;c.b(e);c.AC="venn";c.AY=new ZC.A32(c)},SL:function(b){return""},K7:function(g,f){var e=this;switch(g){case"m":return new ZC.SZ(e);break}},A77:function(){var e=this;var c=e.K7("m","scale");c.B5="scale";c.N=e.N+"-scale";e.B9.push(c);e.b()}});ZC.KS=ZC.HC.BF({$i:function(e){var c=this;c.b(e);c.D=e;c.G=c.D.A;c.AB=[];c.G0=null;c.IY=[];c.I3=[];c.MF=true;c.FV=null;c.ZJ=true},A7C:function(b){return new ZC.GX(this)},parse:function(){var J=this,L;J.N=J.A.N+"-plotset";J.FV=null;for(var D=J.o.length-1;D>=0;D--){if(typeof J.o[D]==ZC._[31]){J.o.splice(D,1)}}if(J.o.length>1){for(var D=0,W=J.o.length;D<W;D++){if(typeof J.o[D]["palette"]==ZC._[31]){J.o[D]["palette"]=D}}var I=false;while(!I){I=true;for(var D=0,W=J.o.length;D<W-1;D++){var N=J.o[D]["z-index"]||0;var P=J.o[D+1]["z-index"]||0;if(N>P){var H=J.o[D];J.o[D]=J.o[D+1];J.o[D+1]=H;I=false}}}}J.AB=[];for(var D=0,W=J.o.length;D<W;D++){var A="";if((L=J.o[D]["type"])!=null){A=L}var M=J.A7C(A,D);M.LF=M.AC+"plot";M.J=D;M.I6=D;J.D.A.AV.load(M.o,["("+M.AC+").plot"]);J.D.A.AV.load(M.o,["("+M.AC+").plot.animation"]);if((L=J.A.o.plot)!=null){M.append(L)}M.append(J.o[D]);M.CG=J.A.CG;M.parse();J.AB.push(M)}var K={};var s=[];var G=[];var C={};var Q={};var O=0;var R=0;for(var D=0,W=J.AB.length;D<W;D++){if(J.D.H["plot"+D+".visible"]||J.D.getToggleAction()=="hide"){if(J.AB[D].CG){R=ZC.AG(G,J.AB[D].EK);if(R==-1){G.push(J.AB[D].EK);R=G.length-1}if(s[R]==null){s[R]=[D]}else{s[R].push(D)}}else{G.push(-1);R=G.length-1;if(s[R]==null){s[R]=[D]}else{s[R].push(D)}}var z=J.AB[D].AC;if(J.AB[D].o.type&&z!=J.AB[D].o.type){var S=z.indexOf("3d"),U=J.AB[D].o.type.indexOf("3d");if(S==-1&&U!=-1||S==-1&&U==-1){z=J.AB[D].o.type}}if(ZC.AG(["bar","bar3d","bullet"],z)!=-1){z="v"+z}if(ZC.AG(["vbar","hbar","vbullet","hbullet","stock","vbar3d","hbar3d"],z)!=-1){if(C[z]==null){C[z]=[]}if(Q[z]==null){Q[z]=[]}if(J.AB[D].CG){if(K[J.AB[D].EK]==null){K[J.AB[D].EK]=1}else{K[J.AB[D].EK]++}O=ZC.AG(Q[z],J.AB[D].EK);if(O==-1){Q[z].push(J.AB[D].EK);O=Q[z].length-1}if(C[z][O]==null){C[z][O]=[D]}else{C[z][O].push(D)}}else{Q[z].push(-1);O=Q[z].length-1;if(C[z][O]==null){C[z][O]=[D]}else{C[z][O].push(D)}}}}}J.IY=s;J.I3=C},paint:function(){var c=this;c.G0=[];function e(a){c.ZJ=true;var b=c.D.getToggleAction();if(c.D.AI["3d"]){if(c.D.H["plot"+a+".visible"]){c.AB[a].paint();c.G.X7()}}else{if(c.D.H["plot"+a+".visible"]||b=="hide"){c.AB[a].paint();c.G.X7();if(!c.D.H["plot"+a+".visible"]&&b=="hide"){c.D.H["plot"+a+".visible"]=true;c.A.O0({plotindex:a,"ignore-legend":true})}}}if(a<c.AB.length-1){if(c.D.KQ){window.setTimeout(function(){e(a+1)},10)}else{e(a+1)}}else{if(!c.D.KQ||c.D.KQ&&c.ZJ){c._end_()}}}if(c.AB.length>0){e(0)}else{c._end_()}},_end_:function(){var e=this,c;if((c=ZC.AH(e.D.A.N+"-map"))&&!e.G.VR){if(ZC.AG(["bubble","mixed","vbullet","hbullet","radar"],e.D.AC)!=-1||zingchart.SORTTRACKERS==1){e.G0.sort(function(a,b){return ZC.AQ.QQ(a)>ZC.AQ.QQ(b)?1:-1})}c.innerHTML+=e.G0.join("")}e.DT=null;if(e.D.ZM=="initial"){e.D.A5V=false;e.G.H["graph."+e.D.N+".disableanimation"]=true}e.CL=null;e.D.A3I=[];e.A._end_()}});ZC.YD=ZC.KS.BF({A7C:function(b){return new ZC.OK(this)}});ZC.YG=ZC.KS.BF({A7C:function(b){return new ZC.OO(this)}});ZC.V8=ZC.KS.BF({A7C:function(b){return new ZC.MZ(this)}});ZC.V9=ZC.KS.BF({A7C:function(b){return new ZC.NQ(this)}});ZC.XA=ZC.KS.BF({A7C:function(c){var e=this;switch(c){case"line":default:return new ZC.OK(e);break;case"area":return new ZC.OO(e);break;case"bar":case"vbar":return new ZC.MZ(e);break;case"scatter":return new ZC.PD(e);break;case"bubble":return new ZC.Q5(e);break;case"stock":return new ZC.QW(e);break;case"range":return new ZC.QY(e);break;case"line3d":return new ZC.Q3(e);break;case"area3d":return new ZC.Q1(e);break;case"bar3d":case"vbar3d":return new ZC.Q7(e);break;case"bullet":case"vbullet":return new ZC.PC(e);break}}});ZC.A0S=ZC.KS.BF({A7C:function(b){return new ZC.PD(this)}});ZC.A1G=ZC.KS.BF({A7C:function(b){return new ZC.Q5(this)}});ZC.YO=ZC.KS.BF({$i:function(e){var c=this;c.b(e);c.MP=[];c.LL=[];c.QH=[]},A7C:function(b){return new ZC.RN(this)},parse:function(){var n=this;n.QH=[];n.MP=[];n.LL=[];n.b();var q=n.A.BB("scale-r");for(var u=0,s=n.AB.length;u<s;u++){if(n.D.H["plot"+u+".visible"]||n.D.getToggleAction()=="hide"){for(var t=0,o=n.AB[u].Q.length;t<o;t++){if(n.AB[u].Q[t]!=null){var p=n.AB[u].Q[t];if(n.LL[t]==null){if(n.AB[u].o["ref-angle"]!=null){n.LL[t]=n.AB[u].CK}else{n.LL[t]=q.CK}}var v=n.LL[t];if(n.MP[t]==0){var r=v+q.CQ*(1/s)}else{var r=v+q.CQ*p.AE/n.MP[t]}n.LL[t]=r;p.AL=v;p.AZ=r}}}}}});ZC.YR=ZC.KS.BF({$i:function(e){var c=this;c.b(e);c.MP=[];c.LL=[]},A7C:function(b){return new ZC.PH(this)},parse:function(){var t=this;t.MP=[];t.LL=[];t.b();for(var q=0,o=t.AB.length;q<o;q++){if(t.D.H["plot"+q+".visible"]||t.D.getToggleAction()=="hide"){for(var n=0,r=t.AB[q].Q.length;n<r;n++){if(t.AB[q].Q[n]!=null){var m=t.AB[q].Q[n];if(t.LL[n]==null){t.LL[n]=t.AB[q].CK}var p=t.LL[n];var s=p+360*m.AE/t.MP[n];t.LL[n]=s;m.AL=p;m.AZ=s}}}}}});ZC.A2I=ZC.KS.BF({WX:{},A7C:function(b){return new ZC.SH(this)},paint:function(){var b=this;b.WX={};b.b()}});ZC.A0T=ZC.V8.BF({A7C:function(b){return new ZC.PC(this)}});ZC.A0M=ZC.V9.BF({A7C:function(b){return new ZC.QR(this)}});ZC.A25=ZC.KS.BF({A7C:function(b){return new ZC.SP(this)}});ZC.WY=ZC.KS.BF({parse:function(){var p=this;p.BJ=ZC.MAX;p.C7=-ZC.MAX;p.A1P=[];p.T4=[];p.b();for(var n=0,l=p.AB.length;n<l;n++){for(var m=0,o=p.AB[n].Q.length;m<o;m++){if(p.AB[n].Q[m]!=null){var h=p.AB[n].Q[m];if(p.T4[m]==null){p.T4[m]=ZC.MAX}if(p.A1P[m]==null){p.A1P[m]=-ZC.MAX}p.T4[m]=ZC.DI(p.T4[m],h.AE);p.A1P[m]=ZC.BT(p.A1P[m],h.AE)}}}for(var n=0,l=p.AB.length;n<l;n++){for(var m=0,o=p.AB[n].Q.length;m<o;m++){if(p.AB[n].Q[m]!=null){var h=p.AB[n].Q[m];p.BJ=ZC.DI(p.BJ,h.AE);p.C7=ZC.BT(p.C7,h.AE)}}}}});ZC.A0V=ZC.WY.BF({A7C:function(b){return new ZC.QP(this)}});ZC.A0J=ZC.WY.BF({A7C:function(b){return new ZC.QO(this)}});ZC.A28=ZC.KS.BF({A7C:function(b){return new ZC.QW(this)}});ZC.A2J=ZC.KS.BF({A7C:function(b){return new ZC.SO(this)}});ZC.A1Z=ZC.KS.BF({A7C:function(b){return new ZC.QY(this)}});ZC.A23=ZC.YO.BF({A7C:function(b){return new ZC.SK(this)}});ZC.A12=ZC.V8.BF({A7C:function(b){return new ZC.Q7(this)}});ZC.A1E=ZC.V9.BF({A7C:function(b){return new ZC.R7(this)}});ZC.A1D=ZC.YD.BF({A7C:function(b){return new ZC.Q3(this)}});ZC.A1C=ZC.YG.BF({A7C:function(b){return new ZC.Q1(this)}});ZC.A32=ZC.KS.BF({DL:[],P2:[],SN:[],A7C:function(b){return new ZC.TN(this)},paint:function(){var M=this;var W=M.A.BB("scale");var O=ZC.DI(W.EZ,W.F0);var aa;var Y=-ZC.MAX;for(i=0,A4=M.AB.length;i<A4;i++){aa=M.AB[i].Q;var ag=ZC.AQ.MW(M.AB[i].o[ZC._[17]],M.AB[i].o);for(j=0,IZ=aa.length;j<IZ;j++){aa[j].setup();Y=ZC.BT(Y,aa[j].AE);aa[j].RX=ZC.AQ.FZ(M.AB[i].A6I[j],ag)}}var N=Math.sqrt(Y/Math.PI);var ad=O/(4*N);var x=[];var U=[];var X=[];var ac=[];var Z=null;for(i=0,A4=M.AB.length;i<A4;i++){if(!x[i]){x[i]=[]}if(!U[i]){U[i]=[];X[i]=[]}if(!M.DL[i]){M.DL[i]=[]}aa=M.AB[i].Q;if(M.AB[i+1]){ac=M.AB[i+1].Q}else{ac=M.AB[0].Q}for(j=0,IZ=aa.length;j<IZ;j++){if(!M.P2[j]){M.P2[j]=[]}if(!M.SN[j]){M.SN[j]={}}aa[j].RT=ac[j].AE;if(i==0){x[i][j]=ad*ZC.AX.A0H(aa[j].AE,aa[j].RT,aa[j].RX);U[i][j]=aa[j].iX-ad*ZC.BT(Math.sqrt(aa[j].AE/Math.PI),Math.sqrt(aa[j].RT/Math.PI))/2;X[i][j]=aa[j].iY+aa[j].F/4}else{if(i==1){x[i][j]=ad*ZC.AX.A0H(aa[j].AE,aa[j].RT,aa[j].RX);U[i][j]=U[0][j]+x[0][j];X[i][j]=X[0][j]}else{if(i==2){x[i][j]=ad*ZC.AX.A0H(aa[j].AE,aa[j].RT,aa[j].RX);var P=(x[0][j]*x[0][j]-x[1][j]*x[1][j]+x[2][j]*x[2][j])/(2*x[0][j]);U[i][j]=U[0][j]+P;var Q=Math.sqrt(x[2][j]*x[2][j]-P*P);X[i][j]=X[0][j]-Q}}}aa[j].iX=U[i][j];aa[j].iY=X[i][j];aa[j].I=ad*Math.sqrt(aa[j].AE/Math.PI);aa[j].F=ad*Math.sqrt(aa[j].AE/Math.PI);aa[j].AO=ad*Math.sqrt(aa[j].AE/Math.PI);if(Z==null){Z=aa[j].AE/(Math.PI*aa[j].AO*aa[j].AO)}var R=ad*Math.sqrt(aa[j].AE/Math.PI);var S=ad*Math.sqrt(aa[j].RT/Math.PI);var r=R+S-x[i][j];var af=(2*r*S-r*r)/(2*(R+S-r));var ae=r-af;M.DL[i][j]={x:U[i][j],y:X[i][j],sz:aa[j].AO,r1:R,r2:S,dx1:ae,dx2:af};if(i==0){var Q=Math.sqrt(R*R-(R-af)*(R-af));M.P2[j].push([U[0][j]+R-af,X[0][j]-Q])}else{if(i==2){R=M.DL[1][j].r1;S=M.DL[1][j].r2;ae=M.DL[1][j].dx1;af=M.DL[1][j].dx2;var a=ZC.QS(Math.asin((X[1][j]-X[2][j])/x[1][j]))-ZC.QS(Math.acos((R-af)/R));M.P2[j].push([U[1][j]-R*ZC.DG(a),X[1][j]-R*ZC.DD(a)]);R=M.DL[2][j].r1;S=M.DL[2][j].r2;ae=M.DL[2][j].dx1;af=M.DL[2][j].dx2;var a=ZC.QS(Math.asin((X[0][j]-X[2][j])/x[2][j]))-ZC.QS(Math.acos((S-ae)/S));M.P2[j].push([U[0][j]+S*ZC.DG(a),X[0][j]-S*ZC.DD(a)])}}if(i==M.AB.length-1){if(M.AB.length==3){if(M.AB[0].A3T[j]!=null){M.SN[j].area=M.AB[0].A3T[j]}else{var s=[-1],c=[-1];function ab(e,f){var g=ZC._a_(e[0]-f[0]),b=ZC._a_(e[1]-f[1]);return Math.sqrt(g*g+b*b)}s[1]=ab(M.P2[j][0],M.P2[j][2]);s[2]=ab(M.P2[j][0],M.P2[j][1]);s[3]=ab(M.P2[j][2],M.P2[j][1]);c[1]=M.DL[0][j].sz;c[2]=M.DL[1][j].sz;c[3]=M.DL[2][j].sz;var y=0.25*Math.sqrt((s[1]+s[2]+s[3])*(s[1]+s[2]-s[3])*(s[1]+s[3]-s[2])*(s[2]+s[3]-s[1]));for(k=1;k<=3;k++){y+=c[k]*c[k]*Math.asin(s[k]/(2*c[k]))-s[k]/4*Math.sqrt(4*c[k]*c[k]-s[k]*s[k])}M.SN[j].area=Z*y}M.DL[0][j].intxy=ZC.AX.Z3(M.DL[0][j].x,M.DL[0][j].y,M.DL[1][j].x,M.DL[1][j].y,M.DL[0][j].r1-(M.DL[0][j].dx1+M.DL[0][j].dx2)/2);M.DL[1][j].intxy=ZC.AX.Z3(M.DL[1][j].x,M.DL[1][j].y,M.DL[2][j].x,M.DL[2][j].y,-(M.DL[1][j].r1-(M.DL[1][j].dx1+M.DL[1][j].dx2)/2));M.DL[2][j].intxy=ZC.AX.Z3(M.DL[2][j].x,M.DL[2][j].y,M.DL[0][j].x,M.DL[0][j].y,-(M.DL[2][j].r1-(M.DL[2][j].dx1+M.DL[2][j].dx2)/2));M.SN[j].xy=[(M.DL[0][j].intxy[0]+M.DL[1][j].intxy[0]+M.DL[2][j].intxy[0])/3,(M.DL[0][j].intxy[1]+M.DL[1][j].intxy[1]+M.DL[2][j].intxy[1])/3]}else{M.DL[0][j].intxy=ZC.AX.Z3(M.DL[0][j].x,M.DL[0][j].y,M.DL[1][j].x,M.DL[1][j].y,M.DL[0][j].r1-(M.DL[0][j].dx1+M.DL[0][j].dx2)/2);M.DL[1][j].intxy=[-9999,-9999]}}}}if(M.AB.length==3){for(i=0,A4=M.AB.length;i<A4;i++){var ag=ZC.AQ.MW(M.AB[i].o[ZC._[17]],M.AB[i].o);if(ag[ZC._[12]]==null||ag[ZC._[12]]==-1){ag[ZC._[12]]=0}for(j=0,IZ=M.AB[i].Q.length;j<IZ;j++){M.SN[j].area=ZC.AQ.FZ(M.SN[j].area,ag)}}}M.b()}});ZC.GX=ZC.HC.BF({$i:function(e){var c=this;c.b(e);c.D=e.A;c.G=c.D.A;c.A0D={};c.PX=2;c.ZL=1;c.Z=[];c.QM={};c.Q=[];c.AC="";c.G9=null;c.LT="none";c.N3="plot";c.PZ=null;c.P6=null;c.AD=null;c.G1=null;c.PP=null;c.OE=null;c.B1=null;c.J=-1;c.B9=[];c.CG=false;c.K6="normal";c.EK=0;c.T=null;c.AK=null;c.KR=null;c.AN=null;c.RK=null;c.A0B=null;c.RQ=null;c.EF=-1;c.NJ=null;c.O2=null;c.RJ=false;c.A02=2;c.ZI=false;c.M7="";c.UL="standard";c.CH=null;c.A3F=null;c.JM=null;c.O1=null;c.T1=true;c.ST=null;c.TC=2;c.A15=false;c.T2=true;c.I6=0;c.U2=null;c.OY=null;c.MF=true;c.K3=null;c.A4L=1;c.A0F=1;c.QT=[];c.GL=null;c.ES=false;c.TD=[];c.A11=-1;c.FP=false;c.IT=0;c.GV=0.6;c.IQ=0;c.A6H=0;c.sAnimationDelay=null;c.UJ=0;c.E9=null;c.JZ=false;c.WD=true;c.A16=false;c.T3=1;c.I7=[null,null,null,null]},EV:function(f,g){var e=this;if(typeof g==ZC._[31]||!e.I7[g]&&e.I7[1]){g=1}f=parseInt(f,10);if(e.JZ&&e.D.AI.layout=="xy"){if(e.Q[f]&&e.I7[g]){e.I7[g].N=e.N+"-node-"+f;e.I7[g].o={value:e.Z[f]};if(typeof e.Z[f]=="string"){e.I7[g].WT=true}e.I7[g].J=f;e.I7[g].parse();e.I7[g].QJ();return e.I7[g]}else{return null}}else{return e.Q[f]}},QD:function(g,f){var e=this;if(!e.K3[g]){e.K3[g]=[]}if(!e.JZ||e.JZ&&ZC.AG(e.K3[g],f)==-1){e.K3[g].push(f)}},PF:function(b){return new ZC.JH(this)},A6G:function(b){return{}},L3:function(){this.XK("palette","A11","i");return this.D.A.AV.A4B(this.A11!=-1?this.A11:this.J,this.D.AC)},loadXPalette:function(){var f=this;if(f.B1[4]){var h,l={};for(var g in f.B1[4]){if((h=g.indexOf("."))==-1){if(f.o[g]==null){l[g]=true;f.o[g]=f.B1[4][g]}}else{if(g.substring(0,h)==f.AC){if(f.o[g.substring(h+1)]==null||l[g.substring(h+1)]){f.o[g.substring(h+1)]=f.B1[4][g]}}}}}},GF:function(h,g){var n=this,m;var l;if(n.D.JJ[n.J]||n.D.KJ||n.TD[h.J]){l=new ZC.D2(n);l.copy(g);if(n.D.DB["p"+n.J]&&n.D.DB["p"+n.J]["n"+h.J]){if(h.H["selected-state"]){l.NK=h.H["selected-state"]}else{l.NK=n.PZ?n.PZ.o:{}}}else{if(n.N3!="none"&&(n.N3=="plot"&&n.D.JJ[n.J]||n.N3=="graph"&&n.D.KJ)){if(h.H["background-state"]){l.NK=h.H["background-state"]}else{l.NK=n.P6?n.P6.o:{}}}}l.MF=true;l.parse()}else{l=g}if((m=n.TD[h.J])!=null){if(h.A.DJ.length==0){h.A.DJ=[{}]}if(typeof n.TD[h.J]=="string"){l.append({"background-color":ZC.AQ.H8(m,20)+" "+m,"line-color":m,"border-color":ZC.AQ.H8(m,20)})}else{l.append(n.TD[h.J])}l.parse()}return l},BH:function(o){var p=this;var n=[];if(o!=null){for(var h=0,l=p.B9.length;h<l;h++){var m=p.D.BB(p.B9[h]);if(m&&m.AC==o){n.push(p.B9[h])}}}else{n=p.B9}return n},L0:function(){var e=this;var c={negation:e.UL,"thousands-separator":e.NJ,"decimals-separator":e.O2,decimals:e.EF,"short":e.ZI,"short-unit":e.M7,exponent:e.RJ,"exponent-decimals":e.SC};return c},parse:function(){var M=this,O,D;M.TR={};M.b();M.K3={};if((O=M.o.scales)!=null){M.B9=O.split(/,|;|\s/)}if(M.o.multiplier!=null&&M.o["short"]==null){M.o["short"]=M.o.multiplier}if(M.o["click-marker"]!=null){if(M.o["selection-mode"]==null&&M.o["selected-marker"]==null){M.o["selection-mode"]="multiple";M.o["selected-marker"]={};ZC._cp_(M.o["click-marker"],M.o["selected-marker"])}}M.K6=M.D.K6;M.XK_a([["exponent","RJ","b"],[ZC._[25],"SC","ia"],[ZC._[12],"EF","ia"],["preview","T2","b"],["stacked","CG","b"],["stack-type","K6"],["exact","A15","b"],["text","AN"],["tooltip-text","RK"],["legend-text","A0B"],["description","RQ"],["stack","EK","i"],["z-index","I6","i"],["aspect","CH"],["mode","A3F"],["density","T3","f"],["max-nodes","JM"],["max-trackers","O1"],["segment-trackers","T1","b"],["sampling-step","ST","i"],["scroll-step-multiplier","TC","i"],["url","DQ"],["target","FM"],[ZC._[14],"O2"],[ZC._[13],"NJ"],["short","ZI","b"],["negation","UL"],["short-unit","M7"],["fast-rules","A16","b"],["errors","QT"],["styles","TD"],["animate","FP","b"],["effect","IT","i"],["speed","GV","f"],["selection-mode","LT"],["background-mode","N3"]]);if(M.H["quick-parse"]){return}ZC._todash_(M.TD);if((O=M.o.animation)!=null){M.FP=true;var z;if((D=O.effect)!=null){if((D+"").indexOf("ANIMATION_")==0){if((z=ZC.ANIMATION[(D+"").substring(10)])!=null){D=z}}M.IT=ZC._i_(D);if(M.IT==0){M.FP=false}}if((D=O.speed)!=null){if((D+"").indexOf("ANIMATION_")==0){if((z=ZC.ANIMATION[(D+"").substring(10)])!=null){D=z}}M.GV=ZC._f_(D)}if((D=O.delay)!=null){M.IP=ZC._f_(D)}if((D=O.method)!=null){if((D+"").indexOf("ANIMATION_")==0){if((z=ZC.ANIMATION[(D+"").substring(10)])!=null){D=z}}M.IQ=ZC._i_(D)}if((D=O.sequence)!=null){if((D+"").indexOf("ANIMATION_")==0){if((z=ZC.ANIMATION[(D+"").substring(10)])!=null){D=z}}M.UJ=ZC._i_(D)}if((D=O.attributes)!=null){M.E9=D}}if(M.GV<10){M.GV*=1000}if(M.IP<10){M.IP*=1000}if(typeof ZC.LR!=ZC._[31]){M.GV=ZC.BT(ZC.LR.PU,M.GV)}if(M.A3F=="fast"||typeof ZC.LR==ZC._[31]||zingchart.SKIP.ANIMATION){M.FP=false}if(M.G.VR){M.FP=false}if(ZC.AG(["line","area","vbar","hbar","stock","scatter","bubble","radar"],M.AC)!=-1){if(M.A3F!="normal"&&!M.FP&&M.DJ.length==0&&M.TD.length==0&&M.G.H.json.indexOf(‘"override"‘)==-1&&M.LT=="none"){M.JZ=true}else{M.JZ=false}if(M.A3F=="fast"){M.JZ=true}}for(var I in M.o){if(I.substring(0,5)=="data-"){var s=I.substring(5);M.QM[s]=M.o[I]}}function N(a){return["("+M.AC+").plot."+a]}var A=M.G.AV;M.G9=new ZC.DZ(M);A.load(M.G9.o,N("hover-state"));M.G9.append(M.o);M.G9.append(M.o["hover-state"]);if(M.JZ&&M.CH=="spline"){M.G9.append({visible:false})}if((O=M.o["selected-state"])!=null){M.PZ=new ZC.DZ(M);A.load(M.PZ.o,N("selected-state"));M.PZ.append(O)}if((O=M.o["background-state"])!=null){M.P6=new ZC.DZ(M);A.load(M.P6.o,N("background-state"));M.P6.append(O)}M.AD=new ZC.DZ(M);A.load(M.AD.o,N("marker"));M.AD.append(M.o.marker);M.AD.parse();if(M.AD.DJ.length>0||M.TD.length>0){M.WD=false}M.G1=new ZC.DZ(M);A.load(M.G1.o,N("hover-marker"));M.G1.append(M.o.marker);M.G1.append(M.o["hover-marker"]);if((O=M.o["selected-marker"])!=null){M.PP=new ZC.DZ(M);A.load(M.PP.o,N("selected-marker"));M.PP.append(O)}if((O=M.o["background-marker"])!=null){M.OE=new ZC.DZ(M);A.load(M.OE.o,N("background-marker"));M.OE.append(O)}M.AK=new ZC.D2(M);M.AK.append(M.o.tooltip);if((O=M.o.error)!=null){M.GL=new ZC.DA(M);A.load(M.GL.o,N("error"));M.GL.append(O);if(M.GL.o[ZC._[21]]==null){M.GL.o[ZC._[21]]=4}}if((O=M.o[ZC._[17]])!=null){M.T=new ZC.DZ(M);A.load(M.T.o,N(ZC._[17]));if((D=M.D.o.plot)!=null){M.T.append(D[ZC._[17]])}M.T.append(O)}var x=false;if(typeof M.D.H["plot"+M.J+".visible"]==ZC._[31]){x=true}if(x){M.D.H["plot"+M.J+".visible"]=true}if(!M.AP){if(x){M.D.H["plot"+M.J+".visible"]=false}}for(var H=0,L=M.D.B9.length;H<L;H++){if(ZC.AG(M.B9,M.D.B9[H].B5)!=-1){if(M.AP&&M.D.H["plot"+M.J+".visible"]){M.D.B9[H].ZT=true}}}var w=null;M.N=M.A.N+"-plot-"+M.J;M.Q=[];if(M.A.FV==null){M.A.FV={}}if(M.o[ZC._[5]]!=null){M.Z=M.o[ZC._[5]];var C=null;var y=[],K=[];for(var H=0,L=M.Z.length;H<L;H++){var J=false;if(M.Z[H]!=null&&typeof M.Z[H]=="object"&&M.Z[H].length>1){if(M.Z[H][1]==null||typeof M.Z[H][1]=="string"&&M.Z[H][1].toUpperCase()=="NULL"){J=true}}else{if(M.Z[H]==null||typeof M.Z[H]=="string"&&M.Z[H].toUpperCase()=="NULL"){J=true}}if(M.D.AC=="piano"){J=false}if(J){M.Q.push(null)}else{if(M.JZ&&M.D.AI.layout=="xy"){if(!M.I7[1]){if(M.AC=="bubble"||M.AC=="scatter"){M.I7[1]=w=M.PF()}else{M.I7[0]=M.PF();M.I7[1]=w=M.PF();M.I7[2]=M.PF();M.I7[3]=M.PF()}}}else{w=M.PF()}w.N=M.N+"-node-"+H;if(typeof M.Z[H]=="string"&&zingchart.QUOTEDVALUES){M.Z[H]=ZC._f_(M.Z[H])}w.o={value:M.Z[H]};if(typeof M.Z[H]=="string"){w.WT=true}w.J=H;w.parse();if(w.CF!=null){if(C!=null){y.push(ZC._a_(w.CF-C))}C=w.CF}if(M.JZ&&M.D.AI.layout=="xy"){var G={iX:w.iX,iY:w.iY,J:w.J,CF:w.CF,AE:w.AE,CU:w.CU,CS:w.CS,LM:w.LM};if(M.AC=="bubble"){G.PK=w.PK}M.Q.push(G)}else{M.Q.push(w)}if(M.D.H["plot"+M.J+".visible"]){if(zingchart.DEV.PLOTSTATS||M.K6=="100%"){if(M.A.FV[H]==null){M.A.FV[H]={};M.A.FV[H]["%total-"+M.EK]=w.AE}else{if(M.A.FV[H]["%total-"+M.EK]==null){M.A.FV[H]["%total-"+M.EK]=w.AE}else{M.A.FV[H]["%total-"+M.EK]+=w.AE}}}}if(zingchart.DEV.PLOTSTATS){K.push(w.AE);if(M.KR==null){M.KR={"%plot-min-index":H,"%plot-max-index":H,"%plot-sum":w.AE,"%plot-values":w.AE}}else{M.KR["%plot-max-index"]=H;M.KR["%plot-sum"]+=w.AE;M.KR["%plot-values"]+=","+w.AE}if(M.A.FV==null){M.A.FV={}}if(M.A.FV["%pstack-"+H+"-"+M.EK+"-sum"]==null){M.A.FV["%pstack-"+H+"-"+M.EK+"-sum"]=w.AE}else{M.A.FV["%pstack-"+H+"-"+M.EK+"-sum"]+=w.AE}}}}if(zingchart.DEV.PLOTSTATS){if(M.KR!=null){M.KR["%plot-average"]=M.KR["%plot-sum"]/M.Z.length}if(K.length>0){M.KR["%plot-min-value"]=ZC.Y3(K);M.KR["%plot-max-value"]=ZC.XR(K)}}else{M.KR={"%plot-min-index":0,"%plot-max-index":M.Z.length,"%plot-sum":-1,"%plot-values":"","%plot-average":-1,"%plot-min-value":-1,"%plot-max-value":-1}}if(C){if(y.length>0){M.A4L=ZC.Y3(y);M.A0F=ZC.XR(y)}}}},paint:function(){var e=this;var f=e.D.P.I;var g=4;switch(e.D.AC){case"scatter":case"bubble":f=1000000;break;case"hbar":case"hbar3d":f=e.D.P.F;break}if(e.JM==null){e.JM=ZC._i_(f/g)}if(e.O1==null){e.O1=ZC._i_(f/g)}e.JM=ZC.BT(e.JM,e.O1);if(e.WD){e.FG=null;e.FE=null;e.NI=null;e.MM=null}},YF:function(o){var n=this;for(var p=0,l=n.Q.length;p<l;p++){if(n.Q[p]!=null){n.Q[p].LM=false}}var m=n.D.P;n.NC=false;n.FJ=true;n.PY=false;var h=0;if(o){n.NC=true;if(n.O1<n.Q.length){n.FJ=false}}else{if(n.B8.ES&&n.ES){for(var p=0,l=n.Q.length;p<l;p++){if(n.Q[p]!=null&&(n.D.I1.length>0||ZC.EO(n.Q[p].CF,n.B8.Z[n.B8.Y],n.B8.Z[n.B8.A3]))){h++}}if(n.O1<h){n.FJ=false}if(h*n.T3>m.I){n.PY=true}if(n.JM>=h){n.NC=true}}else{if(n.JM>n.B8.A3-n.B8.Y){n.NC=true}}n.U=1;if(!n.B8.ES||!n.ES){var h=n.B8.A3-n.B8.Y;if(n.O1<h){n.FJ=false}if(h*n.T3>m.I){n.PY=true}if(!n.A15&&h*n.T3>m.I){n.U=ZC.BT(1,ZC._i_(h*n.T3/m.I))}}if(n.B8.ES&&n.ES){if(!n.A15){if(h*n.T3>m.I){n.U=ZC.BT(1,ZC._i_(h*n.T3/m.I))}}}if(n.D.KH){n.U*=n.TC}}if(n.ST!=null&&n.U>n.ST){n.U=n.ST}},LN:function(w){var o=this;if(w==null||!w){w=false}o.YF(w);var r=null;if(w){o.A.ZJ=false;function v(c,a){for(var b=c;b<c+a;b++){if(o.Q[b]!=null){r=o.EV(b);r.A0=o.IO;r.paint();r.LM=true}}if(c+a<o.Q.length){if(o.D.KQ){window.setTimeout(function(){v(c+a,a)},10)}else{v(c+a,a)}}else{if(o.D.KQ){if(o.J==o.A.AB.length-1){o.A._end_()}}}}v(0,ZC.ie678||ZC.mobile?50:100)}else{if(o.B8.ES&&o.ES){var u=o.EP=o.GC=o.U;var s=true,p=0,q=0;for(var t=0,x=o.Q.length;t<x;t+=u){if(o.AC!="vbar"){if(x-t==1){o.EP=u;o.GC=1}else{if(x-t<o.U){o.EP=o.U;o.GC=x-t-1;u=x-t-1}}}if(o.Q[t]!=null&&(o.D.I1.length>0||ZC.EO(o.Q[t].CF,o.B8.Z[o.B8.Y],o.B8.Z[o.B8.A3])||s&&o.Q[t+u]!=null&&o.Q[t+u].CF>=o.B8.Z[o.B8.Y])){if(s&&o.Q[t-u]!=null){r=o.EV(t-u);r.A0=o.IO;r.paint();r.LM=true;s=false;q++}r=o.EV(t);r.A0=o.IO;r.paint();r.LM=true;q++;s=false;p=t}}if(q>0&&o.Q[p+u]!=null){r=o.EV(p+u);r.A0=o.IO;r.paint();r.LM=true}}else{var u=o.EP=o.GC=o.U;for(var t=o.B8.Y;t<=o.B8.A3;t+=u){if((o.B8.A3-o.B8.Y)%o.U!=0){if(o.AC!="vbar"){if(o.B8.A3-t==0){o.EP=u;o.GC=1}else{if(o.B8.A3-t<=o.U){o.EP=o.U;o.GC=o.B8.A3-t;u=o.B8.A3-t}}}}if(o.Q[t]!=null){r=o.EV(t);r.A0=o.IO;r.paint();r.LM=true}}}}},BP:function(h,l){var f=this;if(f.TR[h+l]){return f.TR[h+l]}var g=null;if(f.G.usc()){g=ZC.AH(f.G.N+"-main-c"+(h=="fl"?"-top":""))}else{if(f.G.JU||f.D.AI["3d"]){g=ZC.AH(f.D.N+"-plots-"+h+"-c")}else{g=ZC.AH(f.D.N+"-plot-"+f.J+"-"+h+"-"+l+"-c")}}if(!f.TR[h+l]){f.TR[h+l]=g}return g},W9:function(g){var e=this;var f={id:e.G.N,graphid:e.D.N,plotid:e.GI,plotindex:e.J,ev:g?ZC.A2.BM(g):null,xdata:e.QM};return f},SF:function(e,c){ZC.AQ.CM("plot_"+c,this.G,this.W9(e))}});ZC.RI=ZC.GX.BF({$i:function(e){var c=this;c.b(e);c.bXY=true;c.AC="xy";c.B9=[ZC._[50],ZC._[51]]},paint:function(){var b=this;b.b()}});ZC.OK=ZC.RI.BF({$i:function(e){var c=this;c.b(e);c.AC="line";c.CH="segmented";c.U=1;c.OH="middle";c.RO=[]},PF:function(b){return new ZC.XF(this)},parse:function(){var b=this;b.B1=b.L3();b.BO=b.B1[0];b.AW=b.B1[1];b.loadXPalette();b.b();b.XK_a([["step-start","OH"]]);b.B8=b.D.BB(b.BH("k")[0]);b.DV=b.D.BB(b.BH("v")[0])},paint:function(){var M=this;M.b();M.RO=[];M.IO=M.BP("bl",0);M.NW=ZC.L.DF(M.BP("bl",1),M.G.A8);if(!M.JZ||M.D.AI["3d"]){M.LN();M.C=null}else{M.YF();M.BZ=M.BP("bl",0);var aa=[],ag=[];var Z=true,ac=0,S=0,ab=null;var aj=-1,ak=-1;var R=M.U;var ae=M.CH;if(M.U>1&&ae=="spline"){ae="segmented"}if(M.B8.ES&&M.ES){var af=M.U;for(var X=0,al=M.Q.length;X<al;X+=af){if(ak-X<=M.U){af=ZC.BT(1,ak-X)}if(M.Q[X]!=null){if(M.D.I1.length>0||ZC.EO(M.Q[X].CF,M.B8.Z[M.B8.Y],M.B8.Z[M.B8.A3])||Z&&M.Q[X+af]!=null&&M.Q[X+af].CF>=M.B8.Z[M.B8.Y]){if(Z&&M.Q[X-af]!=null){if(aj==-1){aj=X-af}ak=X-af;Z=false;S++}if(aj==-1){aj=X}ak=X;S++;Z=false;ac=X}}}if(S>0&&M.Q[ac+af]!=null){if(aj==-1){aj=ac+af}ak=ac+af;M.Q[ac+af].LM=true}}else{aj=M.B8.Y;ak=M.B8.A3}M.U=R;var L=-1;var af=M.U;for(var X=aj;X<=ak;X+=af){if((ak-aj)%M.U!=0||M.B8.ES&&M.ES){if(ak-X<=M.U){af=ZC.BT(1,ak-X)}}ab=M.EV(X);if(ab!=null){if(M.FJ){ab.paint(true)}if(L==-1){L=ab.iX}switch(ae){case"segmented":default:aa.push([ab.iX,ab.iY]);break;case"spline":aa.push([ab.iX,ab.iY]);ag.push(ab.iY);if(ag.length==1){ag.push(ab.iY)}break;case"stepped":switch(M.OH){case"middle":default:var am=M.EV(X-af,0);if(am){am.setup();var ai=ZC.AX.IA(M.Q[X-af].iX,M.Q[X-af].iY,ab.iX,ab.iY);aa.push([ai[0],ab.iY])}aa.push([ab.iX,ab.iY]);var O=M.EV(X+af,0);if(O){O.setup();var ai=ZC.AX.IA(ab.iX,ab.iY,M.Q[X+af].iX,M.Q[X+af].iY);aa.push([ai[0],ab.iY])}break;case"before":var am=M.EV(X-af,0);if(am){am.setup();aa.push([M.Q[X-af].iX,M.Q[X-af].iY],[M.Q[X-af].iX,ab.iY])}aa.push([ab.iX,ab.iY]);break;case"after":aa.push([ab.iX,ab.iY]);var O=M.EV(X+af,0);if(O){O.setup();aa.push([M.Q[X+af].iX,ab.iY],[M.Q[X+af].iX,M.Q[X+af].iY])}break}break;case"jumped":var am=M.EV(X-af,0);if(am){am.setup();var ai=ZC.AX.IA(M.Q[X-af].iX,M.Q[X-af].iY,ab.iX,ab.iY);aa.push([ai[0],ab.iY])}else{aa.push([ab.iX-M.B8.X/2,ab.iY])}aa.push([ab.iX,ab.iY]);var O=M.EV(X+af,0);if(O){O.setup();var ai=ZC.AX.IA(ab.iX,ab.iY,M.Q[X+af].iX,M.Q[X+af].iY);aa.push([ai[0],ab.iY])}else{aa.push([ab.iX+M.B8.X/2,ab.iY])}break}ab.K1(ZC.L.DF(M.BP("fl",0),M.G.A8));if(M.NC){ab.M9()}ab.LM=true}else{aa.push(null);ag.push(null)}}if(ae=="spline"){ag.push(ag[ag.length-1]);var Q=ZC.AX.UI(ag,M.D.P.I/6);aa=[];for(var X=0;X<Q.length;X++){if(Q[X][0]!=null&&Q[X][1]!=null){aa.push([L+(M.B8.B2?-1:1)*Q[X][0]*M.B8.X,Q[X][1]])}else{aa.push(null)}}}M.D5=false;var ah=M.G.N6;M.G.N6=false;ZC.C8.setup(M.NW,M);ZC.C8.paint(M.NW,M,aa);M.G.N6=ah;if(M.D.D8!=null&&M.D.D8.GP&&M.T2){var ad=M.D.P;var C=M.D.D8;var P=C.AJ;var U=[];for(var X=0,al=aa.length;X<al;X++){if(aa[X]){var W=(aa[X][0]-ad.iX)/ad.I;var Y=(aa[X][1]-ad.iY)/ad.F;U.push([P.iX+P.AA+W*(P.I-2*P.AA),P.iY+P.AA+Y*(P.F-2*P.AA)])}else{U.push(null)}}var s=ZC.L.DF(C.A0,M.G.A8);var N=new ZC.DZ(M);N.copy(M);N.AM=1;ZC.C8.paint(s,N,U,null,3)}}}});ZC.OO=ZC.RI.BF({$i:function(e){var c=this;c.b(e);c.AC="area";c.U=1;c.CH="segmented";c.PX=3;c.G6=c.D.AI["3d"]?1:0.5;c.OH="middle";c.YH=true;c.RO=[]},PF:function(b){return new ZC.XH(this)},parse:function(){var b=this;b.B1=b.L3();b.BO=b.B1[0];b.AW=b.B1[1];if(b.D.AI["3d"]){b.W=b.A5=b.B1[1]}else{b.W=b.B1[0];b.A5=b.B1[1]}b.loadXPalette();b.b();b.XK_a([["alpha-area","G6","f",0,1],["step-start","OH"],["contour-on-top","YH","b"]]);b.B8=b.D.BB(b.BH("k")[0]);b.DV=b.D.BB(b.BH("v")[0])},paint:function(){var Y=this;Y.b();Y.RO=[];if(ZC.AG(["segmented","spline","stepped"],Y.CH)==-1){Y.CH="segmented"}Y.IO=Y.BP("bl",0);Y.Z7=ZC.L.DF(Y.BP("bl",1),Y.G.A8);Y.NW=ZC.L.DF(Y.BP("bl",Y.YH?2:1),Y.G.A8);if(!Y.JZ||Y.D.AI["3d"]){var al=ZC.MAX,an=-ZC.MAX;for(var aB=0,aK=Y.Q.length;aB<aK;aB++){if(Y.Q[aB]){al=ZC.DI(al,Y.Q[aB].CU);an=ZC.BT(an,Y.Q[aB].CU)}}var ak=Y.DV.B7(an),at=Y.DV.B7(al);var P=Y.DV.B7(Y.DV.FW);if(Y.DV.B2){if(P<ak){ak=P}}else{if(P>at){at=P}}Y.H["min-y"]=ak;Y.H["max-y"]=at;if(Y.A.DT!=null){var az=ZC.MAX,ap=-ZC.MAX;for(var aB=0,aK=Y.A.DT.length;aB<aK;aB++){if(Y.A.DT[aB]){for(var aC=0,aM=Y.A.DT[aB].length;aC<aM;aC++){az=ZC.DI(az,Y.A.DT[aB][aC][1]);ap=ZC.BT(ap,Y.A.DT[aB][aC][1])}}}if(Y.DV.B2){Y.H["min-y"]=az}else{Y.H["max-y"]=ap}}Y.LN();Y.C=null;Y.CL=null;Y.AF=null}else{Y.YF();Y.BZ=Y.BP("bl",0);var aH=[],aW=[],aD=[],ax=[];var aR=Y.D.P;var aL=Y.DV.FW;var av=Y.DV.B7(aL);av=ZC._l_(av,Y.DV.iY,Y.DV.iY+Y.DV.F);var ai=true,aF=0,ar=0,ay=null;var aV=-1,aJ=-1;var s=Y.U;var aN=(Y.B8.B2?-1:1)*Y.B8.X;var aq=Y.CH;if(Y.U>1&&aq=="spline"){aq="segmented"}if(Y.B8.ES&&Y.ES){var aT=Y.U;for(var aB=0,aK=Y.Q.length;aB<aK;aB+=aT){if(aJ-aB<=Y.U){aT=ZC.BT(1,aJ-aB)}if(Y.Q[aB]!=null){if(Y.D.I1.length>0||ZC.EO(Y.Q[aB].CF,Y.B8.Z[Y.B8.Y],Y.B8.Z[Y.B8.A3])||ai&&Y.Q[aB+aT]!=null&&Y.Q[aB+aT].CF>=Y.B8.Z[Y.B8.Y]){if(ai&&Y.Q[aB-aT]!=null){if(aV==-1){aV=aB-aT}aJ=aB-aT;ai=false;ar++}if(aV==-1){aV=aB}aJ=aB;ar++;ai=false;aF=aB}}}if(ar>0&&Y.Q[aF+aT]!=null){if(aV==-1){aV=aF+aT}aJ=aF+aT;Y.Q[aF+aT].LM=true}}else{aV=Y.B8.Y;aJ=Y.B8.A3}Y.U=s;if(Y.A.CL){aW=Y.A.CL.reverse()}var aI=false;var aw=-1;var aT=Y.U;for(var aB=aV;aB<=aJ;aB+=aT){if((aJ-aV)%Y.U!=0||Y.B8.ES&&Y.ES){if(aJ-aB<=Y.U){aT=ZC.BT(1,aJ-aB)}}ay=Y.EV(aB);if(ay!=null){if(Y.FJ){ay.paint(true)}if(aI||(aq=="segmented"||aq=="stepped")&&aB==aV&&aW.length==0){aW.push([ay.iX,av])}aI=false;if(aw==-1){aw=ay.iX}switch(aq){case"segmented":default:aH.push([ay.iX,ay.iY]);aD.push([ay.iX,ay.iY]);aW.push([ay.iX,ay.iY]);break;case"spline":aH.push([ay.iX,ay.iY]);ax.push(ay.iY);if(ax.length==1){ax.push(ay.iY)}break;case"stepped":switch(Y.OH){case"middle":default:var aQ=Y.EV(aB-aT,0);if(aQ){aQ.setup();var U=ZC.AX.IA(Y.Q[aB-aT].iX,Y.Q[aB-aT].iY,ay.iX,ay.iY);aH.push([U[0],ay.iY]);aD.push([U[0],ay.iY]);aW.push([U[0],ay.iY])}aH.push([ay.iX,ay.iY]);aD.push([ay.iX,ay.iY]);aW.push([ay.iX,ay.iY]);var aG=Y.EV(aB+aT,0);if(aG){aG.setup();var U=ZC.AX.IA(ay.iX,ay.iY,Y.Q[aB+aT].iX,Y.Q[aB+aT].iY);aH.push([U[0],ay.iY]);aD.push([U[0],ay.iY]);aW.push([U[0],ay.iY])}break;case"before":var aQ=Y.EV(aB-aT,0);if(aQ){aQ.setup();aH.push([Y.Q[aB-aT].iX,Y.Q[aB-aT].iY],[Y.Q[aB-aT].iX,ay.iY]);aD.push([Y.Q[aB-aT].iX,Y.Q[aB-aT].iY],[Y.Q[aB-aT].iX,ay.iY]);aW.push([Y.Q[aB-aT].iX,Y.Q[aB-aT].iY],[Y.Q[aB-aT].iX,ay.iY])}aH.push([ay.iX,ay.iY]);aD.push([ay.iX,ay.iY]);aW.push([ay.iX,ay.iY]);break;case"after":aH.push([ay.iX,ay.iY]);aD.push([ay.iX,ay.iY]);aW.push([ay.iX,ay.iY]);var aG=Y.EV(aB+aT,0);if(aG){aG.setup();aH.push([Y.Q[aB+aT].iX,ay.iY],[Y.Q[aB+aT].iX,Y.Q[aB+aT].iY]);aD.push([Y.Q[aB+aT].iX,ay.iY],[Y.Q[aB+aT].iX,Y.Q[aB+aT].iY]);aW.push([Y.Q[aB+aT].iX,ay.iY],[Y.Q[aB+aT].iX,Y.Q[aB+aT].iY])}break}break;case"jumped":var aQ=Y.EV(aB-aT,0);if(aQ){aQ.setup();var U=ZC.AX.IA(Y.Q[aB-aT].iX,Y.Q[aB-aT].iY,ay.iX,ay.iY);aH.push([U[0],ay.iY]);aD.push([U[0],ay.iY]);aW.push([U[0],ay.iY])}aH.push([ay.iX,ay.iY]);aD.push([ay.iX,ay.iY]);aW.push([ay.iX,ay.iY]);var aG=Y.EV(aB+aT,0);if(aG){aG.setup();var U=ZC.AX.IA(ay.iX,ay.iY,Y.Q[aB+aT].iX,Y.Q[aB+aT].iY);aH.push([U[0],ay.iY]);aD.push([U[0],ay.iY]);aW.push([U[0],ay.iY])}break}ay.K1(ZC.L.DF(Y.BP("fl",0),Y.G.A8));if(Y.NC){ay.M9()}ay.LM=true}else{aH.push(null);ax.push(null);if(aW.length-1>=0){aW.push([aW[aW.length-1][0],av])}aI=true}}if(aq=="segmented"||aq=="stepped"){if(aW.length-1>=0){if(Y.J==0||!Y.CG){aW.push([aW[aW.length-1][0],av])}}}if(aq=="spline"){ax.push(ax[ax.length-1]);var C=ZC.AX.UI(ax,aR.I/6);aH=[];for(var aB=0;aB<C.length;aB++){if(C[aB][0]!=null&&C[aB][1]!=null){if(aB==0&&aW.length==0){aW.push([aw+(Y.B8.B2?-1:1)*C[aB][0]*Y.B8.X,av])}var ao=[aw+(Y.B8.B2?-1:1)*C[aB][0]*Y.B8.X,C[aB][1]];aH.push(ao);aW.push(ao);aD.push(ao)}else{aH.push(null)}}if(aW[aW.length-1]){aW.push([aW[aW.length-1][0],av])}}var aS=new ZC.DA(Y);aS.copy(Y);aS.BC=Y.G6;aS.D5=true;aS.KO=true;aS.AM=0;aS.AA=0;aS.F8=0;aS.H2=0;aS.A0=Y.BP("bl",Y.D.CG?0:1);aS.C=aW;aS.XV();aS.N=Y.N+"-area";aS.paint();Y.D5=false;ZC.C8.setup(Y.NW,Y);ZC.C8.paint(Y.NW,Y,aH);if(Y.D.D8!=null&&Y.D.D8.GP&&Y.T2){var aR=Y.D.P;var aO=Y.D.D8;var aX=aO.AJ;var aU=[];for(var aB=0,aK=aW.length;aB<aK;aB++){if(aW[aB]){var aA=(aW[aB][0]-aR.iX)/aR.I;var aE=(aW[aB][1]-aR.iY)/aR.F;aU.push([aX.iX+aX.AA+ZC._i_(aA*(aX.I-2*aX.AA)),aX.iY+aX.AA+ZC._i_(aE*(aX.F-2*aX.AA))])}else{aU.push(null)}}var au=new ZC.DA(Y.A);au.copy(Y);au.D5=true;au.KO=true;au.AM=0;au.AA=0;au.F8=0;au.H2=0;au.BC=Y.G6;au.DN=[aR.iX,aR.iY,aR.iX+aR.I,aR.iY+aR.F];au.N=Y.N+"-area-preview";au.A0=aO.A0;au.C=aU;au.paint();var aP=[];for(var aB=0,aK=aH.length;aB<aK;aB++){if(aH[aB]){var aA=(aH[aB][0]-aR.iX)/aR.I;var aE=(aH[aB][1]-aR.iY)/aR.F;aP.push([aX.iX+aX.AA+aA*(aX.I-2*aX.AA),aX.iY+aX.AA+aE*(aX.F-2*aX.AA)])}else{aP.push(null)}}var am=ZC.L.DF(aO.A0,Y.G.A8);var aj=new ZC.DZ(Y);aj.copy(Y);aj.AM=1;ZC.C8.paint(am,aj,aP,null,3)}if(Y.CG){Y.A.CL=aD}}}});ZC.WS=ZC.RI.BF({$i:function(e){var c=this;c.b(e);c.AC="bar";c.F5=0.1;c.CB=0;c.D1=0.07;c.D6=0.07;c.EU=0;c.IX=[]},parse:function(){var b=this;b.B1=b.L3();b.BO=b.B1[0];b.AW=b.B1[1];b.BA=b.B1[1];b.W=b.B1[1];b.A5=b.B1[2];b.loadXPalette();b.b();if(b.CH=="histogram"){b.F5=b.D1=b.D6=0}b.XK_a([["offset-values","IX"],["bar-space","F5","fp"],["bar-width","CB","fp"],["bars-space-left","D1","fp"],["bars-space-right","D6","fp"],["bars-overlap","EU","fp"]]);b.B8=b.D.BB(b.BH("k")[0]);b.DV=b.D.BB(b.BH("v")[0])},QI:function(){var r=this;var z=r.B8.X*r.U;var t=r.J;var v=0;for(var u=0;u<r.A.I3[r.AC].length;u++){v++;if(ZC.AG(r.A.I3[r.AC][u],r.J)!=-1){t=u}}var y=r.D1;if(y<=1){y*=z}var p=r.D6;if(p<=1){p*=z}y=ZC._i_(y);p=ZC._i_(p);var C=z-y-p;if(C<1){C=z*0.8;y=z*0.1;p=z*0.1}var w=r.F5;if(r.F5!=0){if(w<=1){w*=C}if(v>1){w/=v-1}w=ZC.BT(1,w)}var s=C;var x=r.EU;if(x!=0){w=0}if(v>1){if(x>1){s=(C-(v-1)*w+(v-1)*x)/v}else{s=(C-(v-1)*w)/(v-(v-1)*x);x*=s}}s=ZC._l_(s,1,C);if(x==0){if(s*v+w*(v-1)+y+p-x>z){var A=0.1;s=(z-y-p)/((1+A)*v);w=s*A;if(w<1){w=1;s=(z-y-p-v)/v}}}s=ZC.BT(1.01,s);return{X:z,FF:t,D1:y,D6:p,F5:w,CB:s,EU:x}},paint:function(){var b=this;b.b();b.IO=b.BP("bl",0);b.LN()}});ZC.MZ=ZC.WS.BF({$i:function(e){var c=this;c.b(e);c.AC="vbar"},PF:function(b){return new ZC.UC(this)}});ZC.NQ=ZC.WS.BF({$i:function(e){var c=this;c.b(e);c.AC="hbar"},PF:function(b){return new ZC.U9(this)}});ZC.PD=ZC.RI.BF({$i:function(b){this.b(b);this.AC="scatter"},PF:function(b){return new ZC.A03(this)},parse:function(){var b=this;b.B1=b.L3();b.BO=b.B1[0];b.W=b.B1[1];b.A5=b.B1[1];b.AW=b.B1[2];b.BA=b.B1[2];b.loadXPalette();b.b();b.B8=b.D.BB(b.BH("k")[0]);b.DV=b.D.BB(b.BH("v")[0])},paint:function(){var b=this;b.b();b.IO=b.BP("bl",0);b.LN(true)}});ZC.Q5=ZC.RI.BF({$i:function(b){this.b(b);this.AC="bubble";this.U4=null;this.VW=1;this.KA=1;this.A3J="area"},PF:function(b){return new ZC.A10(this)},parse:function(){var b=this;b.B1=b.L3();b.BO=b.B1[0];b.W=b.B1[2];b.A5=b.B1[1];b.AW=b.B1[2];b.BA=b.B1[2];b.loadXPalette();b.b();b.XK_a([["max-size","U4","i"],["scaling","A3J"],["sizing-group","VW","i"],["size-factor","KA","f"]]);b.B8=b.D.BB(b.BH("k")[0]);b.DV=b.D.BB(b.BH("v")[0])},getSize:function(f){var g=this;var l=null;if(g.U4!=null){l=f*g.U4/g.U3}else{var h=(g.DV.F-g.DV.A7-g.DV.D0)/(g.DV.C7-g.DV.BJ);l=f*g.KA*h}switch(g.A3J){case"radius":l=l/2;break;case"sqrt":l=Math.sqrt(l);break;case"area":l=l/(2*Math.PI);break}return ZC.BT(3,l)},paint:function(){var o=this;o.b();o.IO=o.BP("bl",0);if(o.U4!=null){o.U4=ZC.BT(3,o.U4);o.U3=-ZC.MAX;o.XJ=ZC.MAX;var m=o.A.AB;for(var n=0,h=m.length;n<h;n++){if(m[n].VW==o.VW){for(var p=0,l=m[n].Q.length;p<l;p++){o.U3=ZC.BT(o.U3,m[n].Q[p].PK);o.XJ=ZC.DI(o.XJ,m[n].Q[p].PK)}}}}o.LN(true)}});ZC.RN=ZC.GX.BF({$i:function(e){var c=this;c.b(e);c.AC="pie";c.B9=["scale",ZC._[52],"scale-r"];c.TQ=0;c.CK=0;c.A2M=true;c.B6=null},PF:function(b){return new ZC.A30(this)},parse:function(){var n=this,m,l;if(n.o[ZC._[17]]==null){n.o[ZC._[17]]={}}n.B1=n.L3();n.BO=n.B1[0];n.W=n.B1[1];n.A5=n.B1[2];n.BA=n.B1[0];n.AW=n.B1[0];n.loadXPalette();n.b();n.B6=new ZC.DZ(n);n.D.A.AV.load(n.B6.o,["graph.plot.value-box.connector",n.AC+".plot.value-box.connector"]);if((m=n.D.o.plot)!=null){if(m[ZC._[17]]!=null&&(l=m[ZC._[17]]["connector"])!=null){n.B6.append(l)}}n.B6.append(n.o[ZC._[17]]["connector"]);n.XK_a([["offset","DS","fp"],[ZC._[8],"TQ","fp"],["detach","A2M","b"],["ref-angle","CK","i"]]);n.CK%=360;for(var g=0,h=n.Q.length;g<h;g++){if(n.Q[g]!=null){n.Q[g].C4=n.TQ;if(n.Q[g]!=null&&(n.D.H["plot"+n.J+".visible"]||n.D.getToggleAction()=="hide")){if(n.A.MP[g]==null){n.A.MP[g]=0}n.A.MP[g]+=ZC._f_(n.Q[g].AE)}}}},paint:function(){var b=this;b.b();b.IO=b.BP("bl",0);b.LN(true)}});ZC.PH=ZC.GX.BF({$i:function(e){var c=this;c.b(e);c.AC="nestedpie";c.B9=["scale"];c.QX=0;c.OI=0;c.CK=0;c.B6=null},PF:function(b){return new ZC.YK(this)},parse:function(){var n=this,m,l;if(n.o[ZC._[17]]==null){n.o[ZC._[17]]={}}n.B1=n.L3();n.BO=n.B1[0];n.W=n.B1[1];n.A5=n.B1[2];n.BA=n.B1[0];n.AW=n.B1[0];n.loadXPalette();n.b();n.B6=new ZC.DZ(n);n.D.A.AV.load(n.B6.o,["graph.plot.value-box.connector",n.AC+".plot.value-box.connector"]);if((m=n.D.o.plot)!=null){if(m[ZC._[17]]!=null&&(l=m[ZC._[17]]["connector"])!=null){n.B6.append(l)}}n.B6.append(n.o[ZC._[17]]["connector"]);n.XK_a([["slice-start","QX","fp"],["offset","QX","fp"],["band-space","OI","fp"],["ref-angle","CK","i"]]);n.CK%=360;for(var g=0,h=n.Q.length;g<h;g++){if(n.Q[g]!=null&&(n.D.H["plot"+n.J+".visible"]||n.D.getToggleAction()=="hide")){if(n.A.MP[g]==null){n.A.MP[g]=0}n.A.MP[g]+=ZC._f_(n.Q[g].AE)}}},paint:function(){var b=this;b.b();b.IO=b.BP("bl",0);b.LN(true)}});ZC.SH=ZC.GX.BF({$i:function(e){var c=this;c.b(e);c.AC="radar";c.PX=3;c.B9=["scale-k",ZC._[52],"scale"];c.G6=0.5;c.CH="line";c.A08=null;c.C=[];c.AF=[]},PF:function(b){return new ZC.A14(this)},parse:function(){var b=this;b.B1=b.L3();b.BO=b.B1[0];b.AW=b.B1[1];b.W=b.B1[3];b.A5=b.B1[3];b.loadXPalette();b.b();b.XK_a([["alpha-area","G6","f",0,1],["angle-space","A08","f"]]);b.B8=b.D.BB("scale-k");b.DV=b.D.BB(ZC._[52])},paint:function(){var b=this;b.b();b.IO=ZC.AH(b.D.N+"-plot-"+b.J+"-bl-0-c");b.Z7=ZC.L.DF(b.BP("bl",0),b.G.A8);b.NW=ZC.L.DF(b.BP("bl",2),b.G.A8);b.LN(true)}});ZC.YT=ZC.WS.BF({$i:function(e){var c=this;c.b(e);c.F5=0.2;c.D1=0.28;c.D6=0.28;c.EU=0;c.F9=null;c.YM=[];c.NA=[];c.A46=true},A6G:function(f){var e=this,g;if(f=="goal"){if((g=e.F9.o.tooltip)!=null){return g}if((g=e.F9.o["tooltip-text"])!=null){return{text:g}}}return{}},parse:function(){var l=this,h;l.b();if((l.YM=l.o.goals)!=null){for(var f=0,g=l.YM.length;f<g;f++){if(typeof l.YM[f]=="string"){l.NA[f]=ZC.AG(l.D.GB,l.YM[f])}else{l.NA[f]=ZC._f_(l.YM[f])}}}l.F9=new ZC.HC(l);l.F9.copy(l);l.F9.o["tooltip-text"]="%node-goal-value";if((h=l.o.goal)!=null){l.G.AV.load(l.F9.o,["("+l.AC+").plot.goal"],true,true);l.F9.append(h)}l.F9.parse()}});ZC.PC=ZC.YT.BF({$i:function(e){var c=this;c.b(e);c.AC="vbullet"},PF:function(b){return new ZC.ZV(this)}});ZC.QR=ZC.YT.BF({$i:function(e){var c=this;c.b(e);c.AC="hbullet"},PF:function(b){return new ZC.ZZ(this)}});ZC.SP=ZC.RI.BF({$i:function(e){var c=this;c.b(e);c.AC="piano";c.CH="alpha";c.A1B="plot-max";c.ML=0.2;c.QC=1},PF:function(b){return new ZC.A1L(this)},parse:function(){var b=this;b.B1=b.L3();b.BO=b.B1[0];b.AW=b.B1[1];b.BA=b.B1[1];b.W=b.B1[2];b.A5=b.B1[1];b.loadXPalette();b.b();b.XK_a([["min-ratio","ML","f",0,1],["max-ratio","QC","f",0,1],["reference","A1B",""]]);if(b.ML>=b.QC){b.ML=0.2;b.QC=1}b.B8=b.D.BB(b.BH("k")[0]);b.DV=b.D.BB(b.BH("v")[0])},paint:function(){var r=this;r.b();r.IO=r.BP("bl",0);r.ZD=r.XX=-ZC.MAX;r.TB=r.RY=ZC.MAX;r.A0E=r.ZH=0;for(var p=0,m=r.A.AB.length;p<m;p++){var n=r.A.AB[p];for(var o=0,q=n.Q.length;o<q;o++){if(n.Q[o]!=null){var l=ZC._f_(n.Q[o].AE);if(n.J==r.J){r.ZD=ZC.BT(r.ZD,l);r.TB=ZC.DI(r.TB,l);r.A0E+=l}r.XX=ZC.BT(r.XX,l);r.RY=ZC.DI(r.RY,l);r.ZH+=l}}}r.LN(true)}});ZC.RH=ZC.RI.BF({$i:function(e){var c=this;c.b(e);c.IE=0.1;c.KI=0.1;c.JB=0;c.X2="dynamic";c.NX=[];c.S3=[]},parse:function(){var m=this;m.B1=m.L3();m.BO=m.B1[0];m.AW=m.B1[1];m.BA=m.B1[1];m.W=m.B1[2];m.A5=m.B1[1];m.loadXPalette();m.b();m.XK_a([["start-width","X2"],["min-exit","JB","fp"],["space-entry","IE","fp"],["space-exit","KI","fp"],["offset","IE","fp"],["offset","KI","fp"]]);if((NX=m.o.entry)!=null){if(!(NX instanceof Array)){NX=[NX]}for(var n=0,h=NX.length;n<h;n++){var g=new ZC.DA(m);g.o=NX[n];g.parse();m.NX.push(g)}}if((S3=m.o.exit)!=null){if(!(S3 instanceof Array)){S3=[S3]}for(var n=0,h=S3.length;n<h;n++){var l=new ZC.DA(m);l.o=S3[n];l.parse();m.S3.push(l)}}m.B8=m.D.BB(m.BH("k")[0]);m.DV=m.D.BB(m.BH("v")[0])},paint:function(){var b=this;b.b();b.IO=b.BP("bl",0);b.LN()}});ZC.QP=ZC.RH.BF({$i:function(e){var c=this;c.b(e);c.AC="vfunnel"},PF:function(b){return new ZC.A01(this)}});ZC.QO=ZC.RH.BF({$i:function(e){var c=this;c.b(e);c.AC="hfunnel"},PF:function(b){return new ZC.A00(this)}});ZC.QW=ZC.WS.BF({$i:function(e){var c=this;c.b(e);c.AC="stock";c.CH="candlestick";c.JX={size:0}},PF:function(b){return new ZC.A1N(this)},parse:function(){var b=this;b.b()}});ZC.SO=ZC.GX.BF({$i:function(e){var c=this;c.b(e);c.AC="gauge";c.PX=3;c.B9=["scale-r",ZC._[52],"scale"];c.G6=0.5;c.HR=[10,0,0,180,0,180]},PF:function(b){return new ZC.A18(this)},parse:function(){var e=this,c;e.B1=e.L3();e.BO=e.B1[0];e.AW=e.B1[1];e.W=e.B1[3];e.A5=e.B1[3];e.loadXPalette();e.b();e.XK_a([["alpha-area","G6","f",0,1],["indicator","HR"]]);if((c=e.o.csize)!=null){e.HR[0]=ZC._i_(c)}e.HR=[ZC._i_(e.HR[0]||"10"),ZC._i_(e.HR[1]||"0"),ZC._i_(e.HR[2]||"0"),ZC._i_(e.HR[3]||"180"),ZC._i_(e.HR[4]||"0"),ZC._i_(e.HR[5]||"180")]},paint:function(){var b=this;b.b();b.IO=b.BP("bl",0);b.LN(true)}});ZC.QY=ZC.RI.BF({$i:function(e){var c=this;c.b(e);c.AC="range";c.U=1;c.CH="segmented";c.PX=3;c.G6=0.5},PF:function(b){return new ZC.A1K(this)},parse:function(){var b=this;b.B1=b.L3();b.BO=b.B1[0];b.AW=b.B1[1];b.W=b.B1[0];b.A5=b.B1[1];b.loadXPalette();b.b();b.XK("alpha-area","G6","f",0,1);b.B8=b.D.BB(b.BH("k")[0]);b.DV=b.D.BB(b.BH("v")[0])},LN:function(){var l=this;var h=l.D.P;l.U=1;if(!l.B8.ES){if(!l.A15&&(l.B8.A3-l.B8.Y)*5>h.I){l.U=ZC._i_((l.B8.A3-l.B8.Y)*5/h.I)}if(l.D.KH){l.U*=2}}if(l.B8.ES){for(var f=0,g=l.Q.length;f<g;f++){if(l.Q[f]!=null&&ZC.EO(l.Q[f].CF,l.B8.Z[l.B8.Y],l.B8.Z[l.B8.A3])){l.Q[f].A0=l.IO;l.Q[f].NE="min";l.Q[f].paint();l.Q[f].NE="max";l.Q[f].paint()}}}else{for(var f=l.B8.Y;f<=l.B8.A3;f+=l.U){if(l.Q[f]!=null){l.Q[f].NE="min";l.Q[f].paint();l.Q[f].NE="max";l.Q[f].paint()}}}},paint:function(){var b=this;b.b();b.IO=b.BP("bl",0);b.Z7=ZC.L.DF(b.BP("bl",1),b.G.A8);b.NW=ZC.L.DF(b.BP("bl",2),b.G.A8);b.LN();b.C=null;b.CL=null}});ZC.SK=ZC.RN.BF({$i:function(e){var c=this;c.b(e);c.AC="pie3d";c.KZ=-1},parse:function(){var b=this;b.b();b.XK_a([["thickness","KZ","ia"]])},PF:function(b){return new ZC.A17(this)}});ZC.Q7=ZC.MZ.BF({$i:function(e){var c=this;c.b(e);c.AC="vbar3d"},PF:function(b){return new ZC.A0Y(this)},parse:function(){var b=this;b.b();if(b.o["border-color"]==null){b.BA=b.B1[0]}if(b.o["line-color"]==null){b.AW=b.B1[0]}}});ZC.R7=ZC.NQ.BF({$i:function(e){var c=this;c.b(e);c.AC="hbar3d"},PF:function(b){return new ZC.A0W(this)},parse:function(){var b=this;b.b();if(b.o["border-color"]==null){b.BA=b.B1[0]}if(b.o["line-color"]==null){b.AW=b.B1[0]}}});ZC.Q3=ZC.OK.BF({$i:function(e){var c=this;c.b(e);c.AC="line3d"},PF:function(b){return new ZC.A0Q(this)},parse:function(){var b=this;b.b();if(b.o["border-color"]==null){b.BA=b.B1[1]}}});ZC.Q1=ZC.OO.BF({$i:function(e){var c=this;c.b(e);c.AC="area3d"},PF:function(b){return new ZC.A0N(this)},parse:function(){var b=this;b.b();if(b.o["border-color"]==null){b.BA=b.B1[1]}}});ZC.TN=ZC.GX.BF({$i:function(e){var c=this;c.b(e);c.AC="venn";c.A6I=[];c.A3T=[];c.B9=["scale"]},PF:function(b){return new ZC.A2H(this)},parse:function(){var b=this;b.B1=b.L3();b.BO=b.B1[0];b.BA=b.B1[1];b.W=b.B1[3];b.A5=b.B1[3];b.loadXPalette();b.b();b.XK_a([["join","A6I"],["share","A3T"]])},paint:function(){var b=this;b.b();b.IO=b.BP("bl",0);b.LN(true)}});ZC.JH=ZC.D2.BF({$i:function(e){var c=this;c.b(e);c.D=e.A.A;c.G=c.D.A;c.J=-1;c.AE=null;c.CS=[];c.CU=null;c.CF=null;c.CC=null;c.H1=[];c.GP=false;c.MF=true;c.S=c;c.LM=false;c.WT=false},VL:function(b){return[this.iX,this.iY,{reference:this,center:true}]},A83:function(){return[this.iX,this.iY]},saveData:function(g){var e=this;for(var f in g){if(g.hasOwnProperty(f)){if(e.A.JZ){e.A.Q[e.J][f]=g[f]}else{e.H[f]=g[f]}}}},getData:function(b){return this.A.JZ?this.A.Q[this.J][b]:this.H[b]},A54:function(){var n=this;var t=n.D.H,q=n.A.J;if(t.update==null){t.update={}}var p=t.update;var r=""+n.AE;var v=n.A.L0();var o=ZC.MS(r)&&ZC._f_(r)<0;if(o&&v.negation=="currency"){r=ZC._a_(ZC._f_(r))}v.utc=n.D.SY;r=ZC.AQ.FZ(r,v,n.A);p["plot-"+q+"-value"]=r;p["plot-"+q+"-value-0"]=r;for(var s=0,u=n.CS.length;s<u;s++){p["plot-"+q+"-value-"+(s+1)]=n.CS[s]}p["plot-value"]=p["plot-value-0"]=r;for(var s=0,u=n.CS.length;s<u;s++){p["plot-value-"+(s+1)]=n.CS[s]}},QJ:function(){var n=this;var o=n.A.B8;var h=n.A.DV;var p=[o.Y,o.A3,h.Y,h.A3];if(n.A.JZ){n.CU=n.A.Q[n.J].CU}if(n.H1!=p){if(o.EW){if(n.A.CG&&n.A.K6=="100%"){n.iX=h.B7(100*n.CU/n.A.A.FV[n.J]["%total-"+n.A.EK])}else{n.iX=h.B7(n.CU)}n.iY=o.NN(n.J)}else{if(n.CF!=null){n.iX=o.B7(n.CF)}else{n.iX=o.NN(n.J)}if(n.A.CG&&n.A.K6=="100%"){n.iY=h.B7(100*n.CU/n.A.A.FV[n.J]["%total-"+n.A.EK])}else{n.iY=h.B7(n.CU)}}if(n.A.JZ){n.A.Q[n.J].iX=n.iX;n.A.Q[n.J].iY=n.iY}n.H1=p}if(!n.GP){if(n.A.DJ.length==0&&ZC.AG(["line","area","vbar","hbar","line3d","area3d","vbar3d","hbar3d"],n.A.AC)!=-1&&!n.A.o.override){n.S=n.A}else{if(ZC.A2.browser.mozilla){n.copy(n.A);n.DJ=n.A.DJ;n.CJ();n.parse(false);n.S=n}else{if(!n.A.o.override){var l=n.A6Y(n.A.DJ),m;if((m=n.A.A0D[l])==null){n.copy(n.A);n.DJ=n.A.DJ;n.CJ();n.parse(false);n.S=n;n.A.A0D[l]=n}else{n.S=m}}else{n.copy(n.A);n.DJ=n.A.DJ;n.CJ();n.parse(false);n.S=n}}}if(n.A.o.override){n.S.H.plotidx=n.A.J;n.S.H.nodeidx=n.J;n.S.parse(false)}n.GP=true}},A4E:function(){var c=this;if(c.o[ZC._[9]] instanceof Array){c.CC=c.o[ZC._[9]].join(" ");if(typeof c.o[ZC._[9]][0]=="string"){var e=ZC.AG(c.D.I1,c.o[ZC._[9]][0]);if(e!=-1){c.CF=e}else{c.D.I1.push(c.o[ZC._[9]][0]);c.CF=c.D.I1.length-1}}else{c.CF=ZC._f_(c.o[ZC._[9]][0])}if(typeof c.o[ZC._[9]][1]=="string"){var e=ZC.AG(c.D.GB,c.o[ZC._[9]][1]);if(e!=-1){c.AE=e}else{c.D.GB.push(c.o[ZC._[9]][1]);c.AE=c.D.GB.length-1}}else{c.AE=ZC._f_(c.o[ZC._[9]][1])}if(c.CF!=null){c.A.QD(c.CF,c.J)}}},parse:function(e){var g=this;g.H.plotidx=g.A.J;g.H.nodeidx=g.J;g.N=g.A.N+"-node-"+g.J;if(e==null){e=true}if(e){if(g.o[ZC._[9]] instanceof Array||g.A.A46){g.A4E()}else{g.CC=g.o[ZC._[9]];if(typeof g.o[ZC._[9]]=="string"){var f=ZC.AG(g.D.GB,g.o[ZC._[9]]);if(f!=-1){g.AE=f}else{g.D.GB.push(g.o[ZC._[9]]);g.AE=g.D.GB.length-1}}else{g.AE=parseFloat(g.o[ZC._[9]])}}if(g.CU==null){g.CU=g.AE}}else{g.b()}},IG:function(b){return this.KV(b,{})},getFormatValue:function(){return this.AE},KV:function(AN,E6,A24,bUrl){var s=this,E;if(typeof A24==ZC._[31]){A24=false}var oRE,oPPI=s.A.KR,oPS=s.A.A;if(!bUrl){if(AN.substring(0,11)=="javascript:"){try{var ET=AN.replace("javascript:","").replace("()","");if(eval(ET)){E=s.CS.length==0?s.AE:[s.AE].concat(s.CS);AN=eval(ET).call(s,E,{nodeindex:s.J,plotindex:s.A.J,plotid:s.A.GI,nodeinfo:s.A0R(),plotinfo:s.A.W9()})||AN}}catch(e){}}}if(s.A.A16){var CC=s.getFormatValue();if(s.D.GB[CC]!=null&&s.WT){CC=s.D.GB[CC]}AN=AN.replace("%node-numeric-value",s.AE).replace("%node-value",CC).replace("%node-index",s.J).replace("%plot-index",s.A.J).replace("%plot-count",oPS.AB.length).replace("%p",s.A.J).replace("%P",oPS.AB.length).replace("%v",CC).replace("%V",s.AE).replace("%i",s.J).replace("%n",s.J);return AN}var MO="",PG="",PR="",T6="",I0="";var R=s.D.BB(s.A.BH("k")[0]);var A1=s.D.BB(s.A.BH("v")[0]);if(R){if(s.CF){MO=PG=PR=s.CF}else{if(R.Z[s.J]!=null){MO=PG=PR=R.Z[s.J]}if(R.BU[s.J]!=null){PR=PG=R.BU[s.J]}}}if((E=s.D.I1[MO])!=null){MO=E}if((E=s.D.I1[PG])!=null){PG=E}if((E=s.D.I1[PR])!=null){PR=E}if(s.A.AN!=null){T6=s.A.AN}else{T6="Series "+s.A.J}var PI=(T6+"").split(/\s+/);var A4O=MO;if(R){var BD=R.L0();if(E6&&E6[ZC._[66]]){ZC._cp_({"transform-date":true,"transform-date-format":E6[ZC._[65]]},BD)}BD.utc=s.D.SY;if(R.BU[s.J]!=null){PR=PG=ZC.AQ.FZ(PR,BD,R,true)}MO=ZC.AQ.FZ(MO,BD,R,true)}var ZF=(PG+"").split(/\s+/);var A0X=(PR+"").split(/\s+/);var WW=(MO+"").split(/\s+/);var CC=s.getFormatValue();if(s.D.GB[CC]!=null&&s.WT){CC=s.D.GB[CC]}var MK=ZC.MS(CC)&&ZC._f_(CC)<0;var BD=s.A.L0();ZC._cp_(E6,BD);if(MK&&BD.negation=="currency"){CC=ZC._a_(ZC._f_(CC))}BD.utc=s.D.SY;CC=ZC.AQ.FZ(CC,BD,s.A,A1&&A1.HB?A1.HB:false);if(AN=="%v"||AN=="%node-value"){return CC}if(AN=="%t"||AN=="%plot-text"){return T6}var D4=s.D4||[];if(A1&&AN.indexOf("%scale-value-text")!=-1){if((E=ZC.AG(A1.Z,s.AE))!=-1&&A1.BU!=null&&A1.BU[E]!=null){D4.push(["%scale-value-text",A1.BU[E]])}else{D4.push(["%scale-value-text",s.AE])}oRE=new RegExp("(%scale-value-text)\\(([0-9]*)\\)");var D7,oNode_,sNodeText_,iPlotIndex_,oPlot_;while(D7=oRE.exec(AN)){sNodeText_="";if((E=D7[2])!=""){iPlotIndex_=ZC._i_(E);if((oPlot_=s.A.A.AB[iPlotIndex_])!=null){oNode_=oPlot_.EV(s.J);if(oNode_!=null){sNodeText_=oNode_.KV(D7[1])}}}AN=AN.replace(D7[0],sNodeText_);if(sNodeText_!=""){D4.push([D7[0],sNodeText_])}}}for(var FK in s.A.QM){if(s.A.QM[FK] instanceof Array){var XG=s.A.QM[FK][s.J]||""}else{var XG=s.A.QM[FK]||""}if(typeof XG=="number"){XG=ZC.AQ.FZ(XG,BD,s.A,A1&&A1.HB?A1.HB:false)}D4.push(["%data-"+FK,XG])}for(var i=0;i<ZF.length;i++){D4.push(["%scale-key-label-"+i,ZF[i]],["%kl"+i,ZF[i]])}for(var i=0;i<A0X.length;i++){D4.push(["%scale-key-text-"+i,A0X[i]],["%kt"+i,A0X[i]])}for(var i=0;i<WW.length;i++){D4.push(["%scale-key-value-"+i,WW[i]],["%kv"+i,WW[i]],["%k"+i,WW[i]])}D4.push(["%scale-key-label",PG],["%scale-key-text",PR],["%scale-key-value",MO],["%scale-key-value-ts",A4O],["%kt",PR],["%kl",PG],["%kv",MO],["%k",MO],["%node-value",CC],["%v",CC],["%node-numeric-value",s.AE],["%V",s.AE],["%node-index",s.J],["%i",s.J],["%n",s.J],["%node-count",s.A.Q.length],["%N",s.A.Q.length]);var A61=oPPI["%plot-sum"],Y1=A61+"";var A5Z=oPPI["%plot-average"],XY=A5Z+"";var A5R=oPS.FV["%pstack-"+s.J+"-"+s.A.EK+"-sum"]||0;var YP=A5R+"";var A1A=0;if(oPS.FV!=null&&oPS.FV[s.J]!=null){A1A=oPS.FV[s.J]["%total-"+s.A.EK]||1}var XQ=A1A+"";if(BD[ZC._[12]]!=null&&BD[ZC._[12]]!=-1){Y1=ZC.AQ.FZ(Y1,BD);XY=ZC.AQ.FZ(XY,BD);XQ=ZC.AQ.FZ(XQ,BD);YP=ZC.AQ.FZ(YP,BD)}D4.push(["%node-error-plus",s.H["node-error-plus"]],["%node-error-minus",s.H["node-error-minus"]],["%stack-total",YP],["%total",XQ],["%plot-min-index",oPPI["%plot-min-index"]],["%pmi",oPPI["%plot-min-index"]],["%plot-max-index",oPPI["%plot-max-index"]],["%pxi",oPPI["%plot-max-index"]],["%plot-min-value",oPPI["%plot-min-value"]],["%pmv",oPPI["%plot-min-value"]],["%plot-max-value",oPPI["%plot-max-value"]],["%pxv",oPPI["%plot-max-value"]],["%plot-sum",Y1],["%psum",Y1],["%plot-average",XY],["%pavg",XY],["%plot-values",oPPI["%plot-values"]],["%pv",oPPI["%plot-values"]]);var A3X=100*s.AE/oPPI["%plot-sum"],TE=A3X+"";if(BD[ZC._[12]]!=null){TE=ZC.AQ.FZ(TE,BD)}D4.push(["%plot-percent",TE],["%pper",TE]);var bNpv=false;for(var i=0,A4=D4.length;i<A4;i++){if(D4[i][0]=="%npv"){bNpv=true;break}}if(!bNpv){if(s.A.A.FV!=null&&s.A.A.FV[s.J]!=null){var M5=s.AE*100/s.A.A.FV[s.J]["%total-"+s.A.EK],JE=M5+"";if(BD[ZC._[12]]!=null){JE=ZC.AQ.FZ(JE,BD)}D4.push(["%node-percent-value",JE],["%npv",JE])}}for(var i=0;i<PI.length;i++){D4.push(["%plot-text-"+i,PI[i]],["%t"+i,PI[i]])}D4.push(["%plot-text",T6],["%t",T6],["%plot-description",s.A.RQ],["%d",s.A.RQ],["%plot-index",s.A.J],["%p",s.A.J],["%plot-count",oPS.AB.length],["%P",oPS.AB.length],["%id",s.G.N],["%graphid",s.D.N.replace(s.G.N+"-graph-","")]);if(AN.indexOf("%negation")!=-1){if(MK&&BD.negation=="currency"){D4.push(["%negation","-"]);MK=false}else{D4.push(["%negation",""])}}if(zingchart.DEV.SORTTOKENS){D4.sort(ZC.WH)}oRE=new RegExp("\\((.+?)\\)\\(([0-9]*)\\)\\(([0-9]*)\\)");var D7,Q4,AT,M;while(D7=oRE.exec(AN)){Q4="";var CY=s.A.J;var CZ=s.J;if((E=D7[2])!=""){CY=ZC._i_(E)}if((E=D7[3])!=""){CZ=ZC._i_(E)}if((M=oPS.AB[CY])!=null){AT=M.EV(CZ);if(AT!=null){Q4=AT.KV(D7[1],E6)}}AN=AN.replace(D7[0],Q4)}if(AN.indexOf("%prop-")!=-1){oRE=new RegExp("%prop-([a-zA-Z0-9-]+)");var oMap=s.getPMap();while(D7=oRE.exec(AN)){if(oMap[D7[1]]!=null&&s[oMap[D7[1]]]!=null){AN=AN.replace(D7[0],s[oMap[D7[1]]])}}}if(AN.indexOf("%linecolor")!=-1){oRE=new RegExp("%linecolor([0-9]+)");while(D7=oRE.exec(AN)){AN=AN.replace(D7[0],oPS.AB[D7[1]]?oPS.AB[D7[1]].AW||"#000":"#000")}}if(AN.indexOf("%backgroundcolor")!=-1){oRE=new RegExp("%backgroundcolor([0-9]+)");while(D7=oRE.exec(AN)){AN=AN.replace(D7[0],oPS.AB[D7[1]]?oPS.AB[D7[1]].W||"#000":"#000")}}for(var i=0,A4=D4.length;i<A4;i++){oRE=new RegExp(D4[i][0],"g");if(A24){AN=AN.replace(oRE,encodeURIComponent(D4[i][1]))}else{AN=AN.replace(oRE,D4[i][1])}}if(MK&&BD.negation=="currency"){AN="-"+AN}return AN},paint:function(){},paint_:function(){},A5U:function(){return{color:this.S.W}},T0:function(){return{"border-color":this.S.W,"background-color":this.S.A5,color:this.S.BO}},A1Y:function(){return this.T0()},GN:function(){var r=this,s;var y;if(!r.A.A1O){y=new ZC.D2(r.A);if(!r.A.T.o.rules){var u="all";if((s=r.A.T.o.type)!=null){u=s}if(r.D.AC!="pie"&&r.D.AC!="pie3d"&&u=="all"){r.A.A1O=y}}y.append(r.A.T.o);y.F7=r.D.N+"-value-box "+r.D.N+"-plot-"+r.A.J+"-value-box zc-value-box";y.N=r.N+"-value-box";y.A0=y.BZ=r.G.usc()?r.G.mc("top"):r.D.AI["3d"]||r.G.JU?ZC.AH(r.D.N+"-plots-vb-c"):ZC.AH(r.D.N+"-plot-"+r.A.J+"-vb-c");y.HA=r.G.usc()?ZC.AH(r.D.A.N+"-top"):ZC.AH(r.D.A.N+"-text");var C=ZC.AQ.MW(y.o,r.A.o);y.KV=function(a){return r.KV(a,C)};var w=r.A5U(y);if((s=w.color)!=null){y.BO=s}if((s=w[ZC._[0]])!=null){y.W=y.A5=s}y.H.plotidx=r.A.J;y.H.nodeidx=r.J;y.parse();y.IG=function(a){return r.IG(a)};if(y.CJ()){y.parse()}var u="all";if((s=r.A.T.o.type)!=null){u=s}if(y.AP){y.AP=false;var D=r.A.o[ZC._[17]]["text"]||"";if(u.substring(0,7)=="values("){var x=u.substring(7,u.length).replace(")","");var G=x.split(",");if(ZC.AG(G,r.AE)!=-1){y.AP=true}}else{var A=u.split(",");var z={min:"%plot-min-value",max:"%plot-max-value",first:"%plot-min-index",last:"%plot-max-index"};for(var v in z){if(ZC.AG(A,v)!=-1){if((v=="first"||v=="last")&&r.J==r.A.KR[z[v]]||(v=="min"||v=="max")&&r.AE==r.A.KR[z[v]]){if(typeof D=="object"&&D[v]!=null){y.o.text=D[v];y.parse()}y.AP=true}}}if(ZC.AG(A,"all")!=-1){y.AP=true}}}}else{y=r.A.A1O;y.N=r.N+"-value-box";y.H.plotidx=r.A.J;y.H.nodeidx=r.J;var C=ZC.AQ.MW(y.o,r.A.o);y.KV=function(a){return r.KV(a,C)};y.parse()}if(y.AP&&y.AN!=null&&y.AN!=""){var t=r.A6M(y);y.H.positioninfo=t;y.iX=t[0];y.iY=t[1];if(y.iX!=-1&&y.iY!=-1){y.paint();y.DR();if(!y.JU&&ZC.AH(r.G.N+"-map")){r.A.A.G0.push(ZC.AQ.QU(r.D.N,y))}}}return y},A6M:function(v){var o=this,p;var w=o.D.BB(o.A.BH("v")[0]);var r=o.AE>=w.KB&&!w.B2||o.AE<w.KB&&w.B2?-1:1;var u="auto";if((p=v.o[ZC._[7]])!=null){u=p}if(u=="auto"){var q=o.A.Q[o.J-1]!=null?o.A.Q[o.J-1].AE:o.AE;var x=o.A.Q[o.J+1]!=null?o.A.Q[o.J+1].AE:o.AE;if(q>=o.AE&&o.AE<=x){u="bottom"}else{if(q<=o.AE&&o.AE>=x){u="top"}else{if(q>=o.AE&&o.AE>=x){if(q/o.AE>o.AE/x){u="bottom"}else{u="top"}}else{if(q<=o.AE&&o.AE<=x){if(o.AE/q>x/o.AE){u="top"}else{u="bottom"}}}}}}var s=o.iX-v.DP/2;var t=o.iY-v.D9/2;switch(u){case"top":t-=r*(v.D9/2+4);break;case"bottom":t+=r*(v.D9/2+4);break;case"left":s-=v.DP/2+4;break;case"right":s+=v.DP/2+4;break;case"over":break;default:break}if(!o.D.AI["3d"]){s=ZC.BT(o.D.P.iX-v.I/2,s);s=ZC.DI(o.D.P.iX+o.D.P.I-v.I/2,s);t=ZC.BT(o.D.P.iY-v.F,t);t=ZC.DI(o.D.P.iY+o.D.P.F,t)}if(v.o.x!=null){s=v.iX}if(v.o.y!=null){t=v.iY}return[ZC._i_(s),ZC._i_(t)]},M9:function(af,aj){var R=this,S,Q;if(R.D.KH&&ZC.AG(["bubble","scatter"],R.A.AC)==-1){return}if(af==null){af=false}if(aj==null){aj=false}if(!ZC.EO(R.iX,R.D.P.iX-2,R.D.P.iX+R.D.P.I+2)||!ZC.EO(R.iY,R.D.P.iY-2,R.D.P.iY+R.D.P.F+2)){return}var aa=R.D.N+ZC._[34]+R.D.N+ZC._[35]+R.A.J+ZC._[6];if(ZC.AG(R.G.I8,ZC._[39])==-1&&R.A.T1){if(R.A.FJ){var P=R.getData("points");if(ZC.AG(R.G.I8,ZC._[42])!=-1&&ZC.AG(["line","area"],R.A.AC)!=-1){if(typeof P==ZC._[31]){R.paint(true)}}if(typeof R.H.polypoints==ZC._[31]){var O=ZC.AX.OT(ZC.AX.XM(P),4)}else{var O=ZC.AX.OT(P,4)}if(O!=""){R.A.A.G0.push(ZC.L.E7("poly",R.A.DQ,R.A.ID)+‘class="‘+aa+‘" id="‘+R.N+ZC._[30]+O+‘" />‘)}}}var N=true;if(R.A.AD.o.visible!=null&&!ZC._b_(R.A.AD.o.visible)||R.A.AD.o.type!=null&&R.A.AD.o.type=="none"){N=false}if(N&&(aj||R.A.NC)){if(R.A.FG){var Z=R.A.FG;if(R.G.A8!="svg"){if(af){var ae=new ZC.CI(R.D,R.iX-ZC.AU.ER,R.iY-ZC.AU.EQ,0);Z.iX=ae.ED[0];Z.iY=ae.ED[1]}else{Z.iX=R.iX;Z.iY=R.iY}Z.H.plotidx=R.A.J;Z.H.nodeidx=R.J;Z.N=R.N+"-marker";Z.parse()}}else{var Z=new ZC.DA(R.A);Z.N=R.N+"-marker";if(ZC.AG(["bubble","scatter"],R.A.AC)!=-1){Z.A0=R.A.BP("bl",1);Z.BZ=R.A.BP("bl",0)}else{Z.A0=R.A.BP("fl",0);Z.BZ=R.A.BP("fl",0)}if(af){var ae=new ZC.CI(R.D,R.iX-ZC.AU.ER,R.iY-ZC.AU.EQ,0);Z.iX=ZC._x_(ae.ED[0]);Z.iY=ZC._x_(ae.ED[1])}else{Z.iX=ZC._x_(R.iX);Z.iY=ZC._x_(R.iY)}Z.AW=R.A.B1[3];Z.BA=R.A.B1[3];Z.W=R.A.B1[2];if(R.A.AC=="bubble"){Z.A5=R.A.B1[1]}else{Z.A5=R.A.B1[2]}Z.append(R.A.AD.o);if(R.H["marker.size"]!=null){Z.AO=R.H["marker.size"]}Z.H.plotidx=R.A.J;Z.H.nodeidx=R.J;if(R.D.JJ[R.A.J]||R.D.KJ){if(R.D.DB["p"+R.A.J]&&R.D.DB["p"+R.A.J]["n"+R.J]){Z.NK=R.A.PP?R.A.PP.o:{}}else{if(R.A.N3!="none"&&(R.A.N3=="plot"&&R.D.JJ[R.A.J]||R.A.N3=="graph"&&R.D.KJ)){Z.NK=R.A.OE?R.A.OE.o:{}}}}if((S=R.A.o.marker)!=null){if(S.styles!=null&&(Q=S.styles[R.J])!=null){if(typeof Q=="string"){Z.append({"background-color":ZC.AQ.NP(Q,20),"line-color":ZC.AQ.H8(Q,20),"border-color":ZC.AQ.H8(Q,20)})}else{Z.append(Q)}}}Z.parse();Z.IG=function(a){return R.IG(a)};if(Z.CJ()){Z.parse()}}R.H["marker.size"]=ZC.BT(2.02,Z.AO);if(Z.AP&&Z.AC!="none"){function ah(){if(ZC.AG(["bubble","scatter"],R.A.AC)!=-1){R.K1(ZC.L.DF(R.A.BP("bl",0),R.G.A8))}R.H["marker.type"]=Z.DY;if(R.A.FJ&&ZC.AG(R.G.I8,ZC._[40])==-1){R.A.A.G0.push(ZC.L.E7("circle",R.A.DQ,R.A.ID)+‘class="‘+aa+‘" id="‘+R.N+"--marker"+ZC._[30]+ZC._i_(R.iX+Z.C1+ZC.MAPTX)+","+ZC._i_(R.iY+Z.BW+ZC.MAPTX)+","+ZC._i_(ZC.BT(ZC.mobile?6:3,Z.AO)*(ZC.mobile?1.25:1.05))+‘" />‘)}if(R.A.T!=null){R.GN()}if(ZC.AG(["bubble","scatter"],R.A.AC)!=-1){if(R.D.D8!=null&&R.D.D8.GP&&R.A.T2){var e=R.D.P;var g=R.D.D8;var f=g.AJ;var h=R.A.FG||Z;var b=new ZC.DA(R.A);b.copy(h);var a=(R.iX-e.iX)/e.I;var c=(R.iY-e.iY)/e.F;b.iX=f.iX+f.AA+a*(f.I-2*f.AA);b.iY=f.iY+f.AA+c*(f.F-2*f.AA);b.N=R.N+"-marker-preview";b.AO=ZC.BT(2.02,ZC.DI(a,c)*h.AO);b.A0=b.BZ=g.A0;b.parse();b.paint()}}}var s=false;if(ZC.AG(["bubble","scatter"],R.A.AC)!=-1||R.A.AC=="radar"&&R.A.CH=="dots"){s=true}if(!R.A.FP||!s){var ab=Z.DY=="circle"?"circle":"path",ad="";if(R.A.FE){function L(b,c){var a=b.cloneNode(true);ad=(a.getAttribute("transform")||"")+" translate("+(R.iX-Z.iX)+","+(R.iY-Z.iY)+")";ZC.L.F2(a,{transform:ad,id:c});a.style.display="none";b.parentNode.appendChild(a);a.style.display="block"}if(Z.LC){L(R.A.NI,R.N+"-marker-sh-"+ab)}L(R.A.FE,R.N+"-marker-"+ab);if(Z.BY){L(R.A.MM,R.N+"-marker-imgfill-"+ab)}}else{Z.paint();if(!R.D.JJ[R.A.J]&&R.A.WD&&R.A.AC!="bubble"){if(R.G.A8=="svg"){if(ZC.AG(["cross","plus"],Z.DY)==-1){R.A.FG=Z;if(!zingchart.DEV.DOMFRAGMENTS||!document.querySelector){R.A.FE=ZC.AH(R.N+"-marker-"+ab);if(Z.LC){R.A.NI=ZC.AH(R.N+"-marker-sh-"+ab)}if(Z.BY){R.A.MM=ZC.AH(R.N+"-marker-imgfill")}}else{for(var Y in R.G.FH){if(!R.A.FE){R.A.FE=R.G.FH[Y].querySelector("#"+R.N+"-marker-"+ab)}if(Z.LC&&!R.A.NI){R.A.NI=R.G.FH[Y].querySelector("#"+R.N+"-marker-sh-"+ab)}if(Z.BY&&!R.A.MM){R.A.MM=R.G.FH[Y].querySelector("#"+R.N+"-marker-imgfill")}}if(!R.A.FE){R.A.FE=ZC.AH(R.N+"-marker-"+ab);if(Z.LC){R.A.NI=ZC.AH(R.N+"-marker-sh-"+ab)}if(Z.BY){R.A.MM=ZC.AH(R.N+"-marker-imgfill")}}}}}else{R.A.FG=Z}}}ah()}else{var X=Z,ak={};var ai=Z.BC;var U=Z.AO;var p=Z.iX;var C=Z.iY;X.iX=p;X.iY=C;ak.x=p;ak.y=C;var W=R.A.IT,ac=R.D.P;X.BC=0;ak.alpha=ai;if(W==1){}else{if(W==3){X.AO=2;ak.size=U}else{if(W==8){X.iX=p-ac.iX;ak.x=p}else{if(W==9){X.iX=p+ac.iX;ak.x=p}else{if(W==10){X.iY=C-ac.iY;ak.y=C}else{if(W==11){X.iY=C+ac.iY;ak.y=C}}}}}}for(var M in R.A.E9){X[ZC.CR.GJ[ZC.CX(M)]]=R.A.E9[M];ak[ZC.CX(M)]=R.S[ZC.CR.GJ[ZC.CX(M)]]}if(R.D.DH==null){R.D.DH={}}if(R.D.DH[R.A.J+"-"+R.J]!=null){for(var M in R.D.DH[R.A.J+"-"+R.J]){X[ZC.CR.GJ[ZC.CX(M)]]=R.D.DH[R.A.J+"-"+R.J][M]}}R.D.DH[R.A.J+"-"+R.J]={};ZC._cp_(ak,R.D.DH[R.A.J+"-"+R.J]);var ag=new ZC.CR(X,ak,R.A.GV,R.A.IP,ZC.CR.NL[R.A.IQ],function(){ah()});ag.AT=R;ag.KY=function(){R.K1(ZC.L.DF(R.A.BP("bl",0),R.G.A8))};R.J6(ag)}}else{if(R.A.T!=null){R.GN()}}}else{if(R.A.T!=null){R.GN()}}},J6:function(r,w){var o=this;var u=o.D.JP,p=u.LQ,t=o.A.UJ;switch(t){case 0:default:if(w){u.add(w)}u.add(r);break;case 1:case 2:case 3:if(w){var x="all";if(t==1){x="plots-group-"+o.J+"-area"}else{if(t==2){x="nodes-group-"+o.A.J+"-area"}}if(p[x]==null){var q=new ZC.WO(x);u.A3Q(q)}p[x].add(w)}var v="all";if(t==1){var v="plots-group-"+o.J}else{if(t==2){var v="nodes-group-"+o.A.J}}if(p[v]==null){var s=new ZC.WO(v);u.A3Q(s)}p[v].add(r);break}},PM:function(g){var e=this;if(e.A.JZ&&e.A.bXY){e.QJ();if(e.A.AC=="bubble"){e.paint(true)}}var f=e.A.B1;e.JF({layer:g,type:"shape",id:"marker",marker:true,initcb:function(){this.DY=e.H["marker.type"];this.iX=e.iX;this.iY=e.iY;if(e.A.AC=="bubble"){this.W=f[2];this.A5=f[3]}else{this.AW=f[3];this.BA=f[3];this.W=f[2];this.A5=f[1]}this.AO=e.H["marker.size"]}})},W6:function(c){var e=this;e.JF({layer:c,type:"line",id:"line",initcb:function(){this.AW=e.A.B1[3]}})},JF:function(y){if(ZC.move){return}var p=this,q,v,r,u,z;var x=y.layer||"hover";var w=y.id||"";var t=false;if((q=y.marker)!=null){t=ZC._b_(q)}switch(x){case"hover":if(p.D.DB["p"+p.A.J]==null||p.D.DB["p"+p.A.J]["n"+p.J]==null){r=t?p.A.G1:p.A.G9;u="hover"}break}if(y.state!=null){r=y.state}if(r!=null&&p.D.H["plot"+p.A.J+".visible"]&&r.AP){switch(y.type){case"box":var s=new ZC.HC(p.A);s.MF=true;break;case"line":var s=new ZC.DA(p.A);var z=ZC.L.DF(p.D.N+"-"+u+"-c",p.G.A8);s.D5=false;break;case"shape":var s=new ZC.DA(p.A);break;case"area":var s=new ZC.DA(p.A);var z=ZC.L.DF(p.D.N+"-"+u+"-c",p.G.A8);break}s.A0=s.BZ=ZC.AH(p.D.N+"-"+u+"-c");s.N=p.N+"-"+(w!=""?w+"-":"")+x;s.H.plotidx=p.A.J;s.H.nodeidx=p.J;if(x!="hover"){s.WM=true}if(y.initcb){y.initcb.call(s)}s.append(r.o);if(y.parsecb){y.parsecb.call(s)}if((q=p.A.o[x+"-state"])!=null){if(q.styles!=null&&(v=q.styles[p.J])!=null){if(typeof v=="string"){s.append({"background-color":v,"line-color":v,"border-color":v})}else{s.append(v)}}}s.parse();s.IG=function(a){return p.IG(a)};if(s.CJ()){s.parse()}if(s.AP){if(y.setupcb){y.setupcb.call(s)}switch(y.type){case"box":case"shape":s.locate(2);s.paint();break;case"line":ZC.C8.setup(z,s);if(p.A.G9.o.highlight=="plot"){ZC.C8.paint(z,s,p.A.RO)}else{ZC.C8.paint(z,s,p.getData("points"))}break;case"area":if((q=r.o["alpha-area"])!=null){s.BC=ZC._f_(q)}ZC.C8.setup(z,s);s.paint();break}}}},K1:function(c,e){},setup:function(){},A7J:function(){},QE:function(){var b=this;ZC.L.F6([b.N+"-hover-gradient",b.N+"-marker-hover-gradient",b.G.N+"-tooltip-text-gradient",b.G.N+"-tooltip-text-sh-gradient"])},A0R:function(l){var f=this;var g={id:f.D.A.N,graphid:f.D.N,plotid:f.A.GI,plotindex:f.A.J,nodeindex:f.J,key:f.CF==null?f.J:f.CF,scaletext:f.A.B8?f.A.B8.IK(f.J,f.CF==null?null:f.A):null,value:f.AE,text:f.KV(f.A.RK),ev:l?ZC.A2.BM(l):null};for(var h in f.A.QM){if(f.A.QM[h] instanceof Array){if(f.A.QM[h][f.J]!=null){g["data-"+h]=f.A.QM[h][f.J]}}else{g["data-"+h]=f.A.QM[h]}}return g},SG:function(e,c){ZC.AQ.CM("node_"+c,this.G,this.A0R(e))}});ZC.XF=ZC.JH.BF({setup:function(){this.QJ()},A5U:function(b){return{color:this.S.AW}},T0:function(){return{"background-color":this.S.AW,color:this.S.BO}},paint:function(af){var ak=this;if(typeof af==ZC._[31]){af=false}ak.b();var ad=ak.A.NW;var ap=ak.A.B8;var al=ak.A.Q;ak.setup();if(ak.A.JZ&&!ak.D.AI["3d"]&&!ak.A.FJ){return}ak.S.D5=ak.D5=false;ak.S.BZ=ak.A.BP("bl",0);var P;var ae=[];var am=ak.A.CH;if((ak.D.KH||ak.A.PY)&&ak.A.CH=="spline"){am="segmented"}var Q=typeof ak.A.EP!=ZC._[31]?ak.A.EP:ak.A.U;var S=typeof ak.A.GC!=ZC._[31]?ak.A.GC:ak.A.U;var av=true,ai=true;if(al[ak.J-Q]==null||!ap.ES&&ak.J<=ap.Y){av=false}if(al[ak.J+S]==null||!ap.ES&&ak.J>=ap.A3){ai=false}switch(am){case"segmented":default:if(av){ak.A.EV(ak.J-Q,0).setup();var au=ZC.AX.IA(ak.A.Q[ak.J-Q].iX,ak.A.Q[ak.J-Q].iY,ak.A.Q[ak.J].iX,ak.A.Q[ak.J].iY);ae.push(au)}ae.push([ak.iX,ak.iY]);if(ai){ak.A.EV(ak.J+S,2).setup();var au=ZC.AX.IA(ak.A.Q[ak.J].iX,ak.A.Q[ak.J].iY,ak.A.Q[ak.J+S].iX,ak.A.Q[ak.J+S].iY,ak.S.BC);ae.push(au)}break;case"spline":if(ak.A.C!=null){ae=ak.A.C}ak.A.C=[];if(ak.J<ap.A3&&al[ak.J+1]!=null){var at=[];for(var R=-1;R<3;R++){if(al[ak.J+R]!=null){ak.A.EV(ak.J+R,2).setup();at.push(al[ak.J+R].iY)}else{if(at.length==0){at.push(ak.iY)}else{at.push(at[at.length-1])}}}var C=ZC.AX.UI(at,ZC._i_(ap.X*ak.A.U));for(var R=0;R<ZC._i_(C.length/2)+(ak.S.BC==1?1:0);R++){ae.push([ak.iX+(ap.B2?-1:1)*C[R][0]*ap.X,C[R][1]])}for(var R=ZC._i_(C.length/2)-1,ay=C.length;R<ay;R++){ak.A.C.push([ak.iX+(ap.B2?-1:1)*C[R][0]*ap.X,C[R][1]])}}else{ae.push([al[ak.J].iX,al[ak.J].iY])}break;case"stepped":if(av){ak.A.EV(ak.J-Q,0).setup();var au=ZC.AX.IA(ak.A.Q[ak.J-Q].iX,ak.A.Q[ak.J-Q].iY,ak.A.Q[ak.J].iX,ak.A.Q[ak.J].iY);switch(ak.A.OH){case"middle":default:ae.push([au[0],al[ak.J-Q].iY],[au[0],ak.iY]);break;case"before":ae.push([ak.A.Q[ak.J-Q].iX,al[ak.J-Q].iY],[ak.A.Q[ak.J-Q].iX,ak.iY]);break;case"after":break}}ae.push([ak.iX,ak.iY]);if(ai){ak.A.EV(ak.J+S,0).setup();var au=ZC.AX.IA(ak.A.Q[ak.J+Q].iX,ak.A.Q[ak.J+Q].iY,ak.A.Q[ak.J].iX,ak.A.Q[ak.J].iY);switch(ak.A.OH){case"middle":default:ae.push([au[0],ak.iY]);break;case"before":break;case"after":ae.push([ak.A.Q[ak.J+Q].iX,ak.iY],[ak.A.Q[ak.J+Q].iX,al[ak.J+S].iY]);break}}break;case"jumped":if(av){ak.A.EV(ak.J-Q,0).setup();var au=ZC.AX.IA(ak.A.Q[ak.J-Q].iX,ak.A.Q[ak.J-Q].iY,ak.A.Q[ak.J].iX,ak.A.Q[ak.J].iY);ae.push([au[0],ak.iY])}else{ae.push([ak.iX-ap.X/2,ak.iY])}ae.push([ak.iX,ak.iY]);if(ai){ak.A.EV(ak.J+S,0).setup();var au=ZC.AX.IA(ak.A.Q[ak.J+Q].iX,ak.A.Q[ak.J+Q].iY,ak.A.Q[ak.J].iX,ak.A.Q[ak.J].iY);ae.push([au[0],ak.iY])}else{ae.push([ak.iX+ap.X/2,ak.iY])}break}var ar=ak.S=ak.A.GF(ak,ak.S);ak.saveData({points:ae});if(ak.D.LA!="ready"){ak.A.RO=ak.A.RO.concat(ae)}if(af||ak.D.AI["3d"]){return}ZC.C8.setup(ad,ar);if(ak.D.D8!=null&&ak.D.D8.GP&&ak.A.T2){var aj=ak.D.P;var p=ak.D.D8;var an=p.AJ;var Z=[];for(var R=0,ay=ae.length;R<ay;R++){var ab=(ae[R][0]-aj.iX)/aj.I;var ac=(ae[R][1]-aj.iY)/aj.F;Z.push([an.iX+an.AA+ab*(an.I-2*an.AA),an.iY+an.AA+ac*(an.F-2*an.AA)])}if(ak.A.W0){var s=ak.A.W0}else{var s=new ZC.DZ(ak);ak.A.W0=s}s.copy(ar);var ah=ZC.L.DF(p.A0,ak.G.A8);s.AM=1;ZC.C8.paint(ah,s,Z,null,3)}function ax(){if(!ak.D.KH&&ZC.EO(ak.iX,ap.iX-1,ap.iX+ap.I+1)&&ZC.EO(ak.iY,ap.iY-1,ap.iY+ap.F+1)){ak.M9();ak.K1(ZC.L.DF(ak.A.BP("bl",1),ak.G.A8));if(ak.A.T!=null){ak.GN()}}}if(ak.A.FP&&!ak.D.H5){var ag=new ZC.DA(ak),az={};ag.copy(ar);ag.N=ak.N;ag.A0=ak.A.BP("bl",1);ag.BZ=ak.A.BP("bl",0);ag.C=ae;az.points=ae;var ao=[];var Y=ak.A.IT,aq=ak.D.P;ag.BC=0;az.alpha=ar.BC;for(var R=0;R<ae.length;R++){if(Y==1){}else{if(Y==2){ao[R]=[ae[R][0],aq.iY+aq.F/2]}else{if(Y==3){ao[R]=[ae[R][0],aq.iY-5]}else{if(Y==4){ao[R]=[ae[R][0],aq.iY+aq.F+5]}else{if(Y==5){ao[R]=[aq.iX-5,ae[R][1]]}else{if(Y==6){ao[R]=[aq.iX+aq.I+5,ae[R][1]]}else{if(Y==7){ao[R]=[aq.iX+aq.I/2,ae[R][1]]}else{if(Y==8){ao[R]=[ae[R][0]-aq.I,ae[R][1]]}else{if(Y==9){ao[R]=[ae[R][0]+aq.I,ae[R][1]]}else{if(Y==10){ao[R]=[ae[R][0],ae[R][1]-aq.F]}else{if(Y==11){ao[R]=[ae[R][0],ae[R][1]+aq.F]}else{if(Y==12){ao[R]=[(ae[0][0]+ae[ae.length-1][0])/2,ae[0][1]]}else{if(Y==13){ao[R]=[ae[0][0],(ae[0][1]+ae[ae.length-1][1])/2]}}}}}}}}}}}}}if(Y>1){ag.C=ao;az.points=ae}}for(var aa in ak.A.E9){ag[ZC.CR.GJ[ZC.CX(aa)]]=ak.A.E9[aa];az[ZC.CX(aa)]=ar[ZC.CR.GJ[ZC.CX(aa)]]}if(ak.D.DH==null){ak.D.DH={}}if(ak.D.DH[ak.A.J+"-"+ak.J]!=null){for(var aa in ak.D.DH[ak.A.J+"-"+ak.J]){ag[ZC.CR.GJ[ZC.CX(aa)]]=ak.D.DH[ak.A.J+"-"+ak.J][aa]}}ak.D.DH[ak.A.J+"-"+ak.J]={};ZC._cp_(az,ak.D.DH[ak.A.J+"-"+ak.J]);var aw=new ZC.CR(ag,az,ak.A.GV,ak.A.IP,ZC.CR.NL[ak.A.IQ],function(){ax()});aw.AT=ak;aw.KY=function(){ak.K1(ZC.L.DF(ak.A.BP("bl",1),ak.G.A8))};aw.GK=ad;ak.J6(aw)}else{ZC.C8.paint(ad,ar,ae);ax()}},A7J:function(c){var e=this;if(ZC.move){return}if(e.A.JZ){e.paint(true)}e.W6(c);if(e.A.NC){e.PM(c)}}});ZC.XH=ZC.JH.BF({setup:function(){this.QJ()},A5U:function(b){return{color:this.S.AW}},T0:function(){return{"background-color":this.S.AW,color:this.S.BO}},paint:function(p){var aM=this,aV;if(typeof p==ZC._[31]){p=false}aM.b();var ba=aM.A.NW;var a3=aM.A.B8;var aU=aM.A.DV;var a2=aM.A.Q;aM.setup();if(aM.A.JZ&&!aM.D.AI["3d"]&&!aM.A.FJ){return}aM.S.D5=aM.D5=false;aM.S.BZ=aM.A.BP("bl",1);var aY=aU.FW;var at=aU.B7(aY);at=ZC._l_(at,aU.iY,aU.iY+aU.F);var ar=aM.D.AC=="mixed"?a3.X/2:0;var aT=[];var a9=[];var aI=[];var aw=null;if(aM.A.A.DT!=null&&aM.A.A.DT[aM.J]!=null){aw=aM.A.A.DT[aM.J]}var aA=aM.A.CH;if((aM.D.KH||aM.A.PY)&&aM.A.CH=="spline"){aA="segmented"}var ay=aM.S.AM/2-1;var aH=aM.G.A8=="svg"&&ZC.mobile?aM.S.G6/4:0;if(aM.G.A8=="vml"&&aM.A.FP){aH=0.5}if(aM.D.AI["3d"]){if(aM.A.G6==1){aH=1}else{aH=aM.A.G6/3;if(aM.G.A8=="canvas"){if(ZC.A2.browser.msie||ZC.A2.browser.opera){aH=0.5}}}}var Q=typeof aM.A.EP!=ZC._[31]?aM.A.EP:aM.A.U;var a6=typeof aM.A.GC!=ZC._[31]?aM.A.GC:aM.A.U;var C=true,aO=true,aX;if(a2[aM.J-Q]==null||!a3.ES&&aM.J<=a3.Y){C=false}if(a2[aM.J+a6]==null||!a3.ES&&aM.J>=a3.A3){aO=false}switch(aA){case"segmented":default:if(C){aM.A.EV(aM.J-Q,0).setup();var aK=ZC.AX.IA(a2[aM.J-Q].iX,a2[aM.J-Q].iY,a2[aM.J].iX,a2[aM.J].iY);aI.push([ZC._i_(aK[0])-aH,aK[1]-ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(aK[0])-aH,at])}a9.push([ZC._i_(aK[0])-aH,aK[1]+ay]);aT.push([aK[0],aK[1]])}else{if(!a3.ES&&aM.J==a3.Y){if(a3.B2){if(!aM.A.CG||aw==null){a9.push([ZC._i_(a3.iX+a3.I-a3.D0-ar),at])}a9.push([ZC._i_(a3.iX+a3.I-a3.D0-ar),aM.iY+ay])}else{if(!aM.A.CG||aw==null){a9.push([ZC._i_(a3.iX+a3.A7+ar),at])}a9.push([ZC._i_(a3.iX+a3.A7+ar),aM.iY+ay])}}else{if(!aM.A.CG||aw==null){a9.push([ZC._i_(aM.iX),at]);aI.push([ZC._i_(aM.iX-a3.X/2),at]);aI.push([ZC._i_(aM.iX),at])}else{if((aX=aM.A.A.AB[aM.A.J-1])!=null){if(aX.Q[aM.J]!=null){a9.push([ZC._i_(aM.iX),aX.Q[aM.J].iY+ay])}}}}}aI.push([ZC._i_(aM.iX),aM.iY-ay]);a9.push([ZC._i_(aM.iX),aM.iY+ay]);aT.push([aM.iX,aM.iY]);if(aO){aM.A.EV(aM.J+a6,2).setup();var au=ZC.AX.IA(a2[aM.J].iX,a2[aM.J].iY,a2[aM.J+a6].iX,a2[aM.J+a6].iY);aI.push([ZC._i_(au[0]),au[1]-ay]);a9.push([ZC._i_(au[0]),au[1]+ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(au[0]),at])}var aK=ZC.AX.IA(a2[aM.J].iX,a2[aM.J].iY,a2[aM.J+a6].iX,a2[aM.J+a6].iY,aM.S.BC);aT.push([aK[0],aK[1]])}else{if(aM.J==a3.A3){if(a3.B2){a9.push([a3.iX+a3.A7-ar,aM.iY+ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(a3.iX+a3.A7-ar),at])}}else{a9.push([a3.iX+a3.I-a3.D0-ar,aM.iY+ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(a3.iX+a3.I-a3.D0-ar),at])}}}else{if(!aM.A.CG||aw==null){a9.push([ZC._i_(aM.iX),at]);aI.push([ZC._i_(aM.iX),at]);aI.push([ZC._i_(aM.iX+a3.X/2),at])}else{if((aX=aM.A.A.AB[aM.A.J-1])!=null){if(aX.Q[aM.J]!=null){a9.push([ZC._i_(aM.iX),aX.Q[aM.J].iY+ay])}}}}}break;case"spline":if(aM.A.CL!=null){aI=aM.A.CL}if(aM.A.AF!=null){a9=aM.A.AF}aM.A.CL=[];aM.A.AF=[];if(aM.A.C!=null){aT=aM.A.C}aM.A.C=[];if(a2[aM.J+aM.A.U]!=null){var aC=[];for(var aE=-1;aE<3;aE++){if(a2[aM.J+aE]!=null){aM.A.EV(aM.J+aE,2).setup();aC.push(a2[aM.J+aE].iY)}else{aC.push(aM.iY)}}var aG=ZC.AX.UI(aC,ZC._i_(a3.X*aM.A.U));if(a9.length==0){if(!aM.A.CG||aw==null){a9.push([ZC._i_(aM.iX+(a3.B2?-1:1)*aG[0][0]*a3.X),at])}}for(var aE=0;aE<ZC._i_(aG.length/2)+(aM.S.BC==1?1:0);aE++){aT.push([aM.iX+(a3.B2?-1:1)*aG[aE][0]*a3.X,aG[aE][1]])}for(var aE=0;aE<ZC._i_(aG.length/2)+(aM.S.G6==1?1:0);aE++){aI.push([ZC._i_(aM.iX+(a3.B2?-1:1)*aG[aE][0]*a3.X),aG[aE][1]-ay]);a9.push([ZC._i_(aM.iX+(a3.B2?-1:1)*aG[aE][0]*a3.X),aG[aE][1]])}if(!aM.A.CG||aw==null){a9.push([ZC._i_(a9[a9.length-1][0]),at])}var a7=aM.G6==1?ZC.DI(2,ZC._i_(aG.length/2)):1;for(var aE=ZC._i_(aG.length/2)-1,aW=aG.length;aE<aW;aE++){aM.A.C.push([aM.iX+(a3.B2?-1:1)*aG[aE][0]*a3.X,aG[aE][1]])}for(var aE=ZC._i_(aG.length/2)-a7,aW=aG.length;aE<aW;aE++){if(aM.A.AF.length==0){if(!aM.A.CG||aw==null){aM.A.AF.push([ZC._i_(aM.iX+(a3.B2?-1:1)*aG[aE][0]*a3.X),at])}}aM.A.AF.push([ZC._i_(aM.iX+(a3.B2?-1:1)*aG[aE][0]*a3.X),aG[aE][1]]);aM.A.CL.push([ZC._i_(aM.iX+(a3.B2?-1:1)*aG[aE][0]*a3.X),aG[aE][1]-ay])}}else{aI.push([ZC._i_(a2[aM.J].iX),a2[aM.J].iY-ay]);a9.push([ZC._i_(a2[aM.J].iX),a2[aM.J].iY]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(a9[a9.length-1][0]),at])}aT.push([a2[aM.J].iX,a2[aM.J].iY])}break;case"stepped":if(C){aM.A.EV(aM.J-Q,0).setup();var aK=ZC.AX.IA(a2[aM.J-Q].iX,a2[aM.J-Q].iY,a2[aM.J].iX,a2[aM.J].iY);switch(aM.A.OH){case"middle":default:aI.push([ZC._i_(aK[0])-aH,aM.iY-ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(aK[0])-aH,at])}a9.push([ZC._i_(aK[0])-aH,aM.iY+ay]);aT.push([aK[0],a2[aM.J-Q].iY]);aT.push([aK[0],aM.iY]);break;case"before":aI.push([ZC._i_(a2[aM.J-Q].iX)-aH,aM.iY-ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(a2[aM.J-Q].iX)-aH,at])}a9.push([ZC._i_(a2[aM.J-Q].iX)-aH,aM.iY+ay]);aT.push([a2[aM.J-Q].iX,a2[aM.J-Q].iY]);aT.push([a2[aM.J-Q].iX,aM.iY]);break;case"after":aI.push([ZC._i_(aM.iX)-aH,aM.iY-ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(aM.iX)-aH,at])}a9.push([ZC._i_(aM.iX)-aH,aM.iY+ay]);break}}else{if(!a3.ES&&aM.J==a3.Y){if(a3.B2){if(!aM.A.CG||aw==null){a9.push([ZC._i_(a3.iX+a3.I-a3.D0-ar),at])}a9.push([ZC._i_(a3.iX+a3.I-a3.D0-ar),aM.iY+ay])}else{if(!aM.A.CG||aw==null){a9.push([ZC._i_(a3.iX+a3.A7+ar),at])}a9.push([ZC._i_(a3.iX+a3.A7+ar),aM.iY+ay])}}else{if(!aM.A.CG||aw==null){a9.push([ZC._i_(aM.iX),at]);aI.push([ZC._i_(aM.iX-a3.X/2),at]);aI.push([ZC._i_(aM.iX),at])}else{if((aX=aM.A.A.AB[aM.A.J-1])!=null){if(aX.Q[aM.J]!=null){a9.push([ZC._i_(aM.iX),aX.Q[aM.J].iY+ay])}}}}}aI.push([ZC._i_(aM.iX),aM.iY-ay]);a9.push([ZC._i_(aM.iX),aM.iY+ay]);aT.push([aM.iX,aM.iY]);if(aO){aM.A.EV(aM.J+a6,2).setup();var aK=ZC.AX.IA(a2[aM.J].iX,a2[aM.J].iY,a2[aM.J+a6].iX,a2[aM.J+a6].iY,aM.S.BC);switch(aM.A.OH){case"middle":default:aI.push([ZC._i_(aK[0]),aM.iY-ay]);a9.push([ZC._i_(aK[0]),aM.iY+ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(aK[0]),at])}aT.push([aK[0],aM.iY]);break;case"before":aI.push([ZC._i_(aM.iX),aM.iY-ay]);a9.push([ZC._i_(aM.iX),aM.iY+ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(aM.iX),at])}break;case"after":aI.push([ZC._i_(a2[aM.J+a6].iX),aM.iY-ay]);a9.push([ZC._i_(a2[aM.J+a6].iX),aM.iY+ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(a2[aM.J+a6].iX),at])}aT.push([a2[aM.J+a6].iX,aM.iY]);aT.push([a2[aM.J+a6].iX,a2[aM.J+a6].iY]);break}}else{if(aM.J==a3.A3){if(a3.B2){a9.push([a3.iX+a3.A7-ar,aM.iY+ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(a3.iX+a3.A7-ar),at])}}else{a9.push([a3.iX+a3.I-a3.D0-ar,aM.iY+ay]);if(!aM.A.CG||aw==null){a9.push([ZC._i_(a3.iX+a3.I-a3.D0-ar),at])}}}else{if(!aM.A.CG||aw==null){a9.push([ZC._i_(aM.iX),at]);aI.push([ZC._i_(aM.iX),at]);aI.push([ZC._i_(aM.iX+a3.X/2),at])}else{if((aX=aM.A.A.AB[aM.A.J-1])!=null){if(aX.Q[aM.J]!=null){a9.push([ZC._i_(aM.iX),aX.Q[aM.J].iY+ay])}}}}}break}if(aM.A.CG&&aw!=null){for(var aE=aw.length-1;aE>=0;aE--){a9.push(aw[aE])}}var a4=aM.S=aM.A.GF(aM,aM.S);aM.saveData({points:aT,pointsarea:a9});if(aM.D.LA!="ready"){aM.A.RO=aM.A.RO.concat(aT)}if(p||aM.D.AI["3d"]){return}if(aM.A.A.DT==null){aM.A.A.DT=[]}aM.A.A.DT[aM.J]=aI;var a1=aM.D.P;var a5;if(aM.A.DJ.length==0&&typeof aM.A.A41!=ZC._[31]&&!aM.S.o.override&&!aM.D.KJ){a5=aM.A.A41}else{var a5=new ZC.DA(aM.A);a5.copy(a4);a5.BC=aM.A.G6}a5.D5=false;a5.KO=true;a5.AM=0;a5.AA=0;a5.F8=0;a5.H2=0;a5.A0=aM.A.BP("bl",aM.D.CG?0:1);a5.C=a9;if(aM.A.JV==90||aM.A.JV==270){a5.XV()}else{a5.DN=[a1.iX,a1.iY,a1.iX+a1.I,a1.iY+a1.F]}if((aV=aM.A.H["min-y"])!=null){a5.H["bound-1"]=aV}if((aV=aM.A.H["max-y"])!=null){a5.H["bound-3"]=aV}a5.N=aM.N+"-area";if(!aM.A.FP){a5.H.areanode=true}ZC.C8.setup(ba,a4);if(aM.D.D8!=null&&aM.D.D8.GP&&aM.A.T2){var a1=aM.D.P;var aZ=aM.D.D8;var bb=aZ.AJ;var a8=[];for(var aE=0,aW=a9.length;aE<aW;aE++){var aF=(a9[aE][0]-a1.iX)/a1.I;var aL=(a9[aE][1]-a1.iY)/a1.F;a8.push([bb.iX+bb.AA+ZC._i_(aF*(bb.I-2*bb.AA)),bb.iY+bb.AA+ZC._i_(aL*(bb.F-2*bb.AA))])}var S=new ZC.DA(aM.A);S.copy(a4);S.D5=true;S.KO=true;S.AM=0;S.AA=0;S.F8=0;S.H2=0;S.BC=aM.A.G6;S.DN=[a1.iX,a1.iY,a1.iX+a1.I,a1.iY+a1.F];S.N=aM.N+"-area-preview";S.A0=aZ.A0;S.C=a8;S.paint();var a0=[];for(var aE=0,aW=aT.length;aE<aW;aE++){var aF=(aT[aE][0]-a1.iX)/a1.I;var aL=(aT[aE][1]-a1.iY)/a1.F;a0.push([bb.iX+bb.AA+aF*(bb.I-2*bb.AA),bb.iY+bb.AA+aL*(bb.F-2*bb.AA)])}if(aM.A.W0){var s=aM.A.W0}else{var s=new ZC.DZ(aM);aM.A.W0=s}s.copy(a4);var P=ZC.L.DF(aZ.A0,aM.G.A8);s.AM=1;ZC.C8.paint(P,s,a0,null,3)}function aN(){if(!aM.D.KH&&ZC.EO(aM.iX,a3.iX-1,a3.iX+a3.I+1)&&ZC.EO(aM.iY,a3.iY-1,a3.iY+a3.F+1)){aM.M9();aM.K1(ZC.L.DF(aM.A.BP("bl",1),aM.G.A8));if(aM.A.T!=null){aM.GN()}}}if(aM.A.FP&&!aM.D.H5){var ax=new ZC.DA(aM),aq={};ax.copy(a4);ax.N=aM.N;ax.A0=aM.A.BP("bl",2);ax.BZ=aM.A.BP("bl",1);ax.C=aT;var aS=a5,aQ={};var av=[],aR=[];ax.C=aT;aq.points=aT;aS.C=a9;aQ.points=a9;var aB=aM.A.IT,aD=aM.D.P;ax.BC=0;aq.alpha=a4.BC;aS.BC=0;aQ.alpha=aM.A.G6;function R(b){var c=b?a9:aT,e=b?aR:av;for(var a=0;a<c.length;a++){if(aB==1){}else{if(aB==2){e[a]=[c[a][0],aD.iY+aM.D.P.F/2]}else{if(aB==3){e[a]=[c[a][0],aD.iY-5]}else{if(aB==4){e[a]=[c[a][0],aD.iY+aD.F+5]}else{if(aB==5){e[a]=[aD.iX-5,c[a][1]]}else{if(aB==6){e[a]=[aD.iX+aD.I+5,c[a][1]]}else{if(aB==7){e[a]=[aD.iX+aD.I/2,c[a][1]]}else{if(aB==8){e[a]=[c[a][0]-aD.I,c[a][1]]}else{if(aB==9){e[a]=[c[a][0]+aD.I,c[a][1]]}else{if(aB==10){e[a]=[c[a][0],c[a][1]-aD.F]}else{if(aB==11){e[a]=[c[a][0],c[a][1]+aD.F]}else{if(aB==12){e[a]=[(c[0][0]+c[c.length-1][0])/2,c[0][1]]}else{if(aB==13){e[a]=[c[0][0],(c[0][1]+c[c.length-1][1])/2]}}}}}}}}}}}}}if(aB>1){if(b){aS.C=aR;aQ.points=a9}else{ax.C=av;aq.points=aT}}}}R();R(true);for(var aJ in aM.A.E9){ax[ZC.CR.GJ[ZC.CX(aJ)]]=aM.A.E9[aJ];aq[ZC.CX(aJ)]=a4[ZC.CR.GJ[ZC.CX(aJ)]];aS[ZC.CR.GJ[ZC.CX(aJ)]]=aM.A.E9[aJ];aQ[ZC.CX(aJ)]=a4[ZC.CR.GJ[ZC.CX(aJ)]]}if(aM.D.DH==null){aM.D.DH={}}if(aM.D.OU==null){aM.D.OU={}}if(aM.D.DH[aM.A.J+"-"+aM.J]!=null){for(var aJ in aM.D.DH[aM.A.J+"-"+aM.J]){ax[ZC.CR.GJ[ZC.CX(aJ)]]=aM.D.DH[aM.A.J+"-"+aM.J][aJ]}for(var aJ in aM.D.OU[aM.A.J+"-"+aM.J]){aS[ZC.CR.GJ[ZC.CX(aJ)]]=aM.D.OU[aM.A.J+"-"+aM.J][aJ]}}aM.D.DH[aM.A.J+"-"+aM.J]={};ZC._cp_(aq,aM.D.DH[aM.A.J+"-"+aM.J]);aM.D.OU[aM.A.J+"-"+aM.J]={};ZC._cp_(aQ,aM.D.OU[aM.A.J+"-"+aM.J]);var aP=new ZC.CR(ax,aq,aM.A.GV,aM.A.IP,ZC.CR.NL[aM.A.IQ],function(){aN()});aP.AT=aM;aP.KY=function(){aM.K1(ZC.L.DF(aM.A.BP("bl",1),aM.G.A8))};aP.GK=ba;var az=new ZC.CR(aS,aQ,aM.A.GV,aM.A.IP,ZC.CR.NL[aM.A.IQ],function(){});az.AT=aM;aM.J6(aP,az)}else{a5.paint();if(aM.A.DJ.length==0&&typeof aM.A.A41==ZC._[31]&&!aM.S.o.override&&!aM.D.KJ){aM.A.A41=a5}ZC.C8.paint(ba,a4,aT);aN()}},A7J:function(c){var e=this;if(ZC.move){return}e.JF({layer:c,type:"area",initcb:function(){this.W=e.A.B1[2];this.A5=e.A.B1[2];if(e.A.JZ){e.paint(true)}this.C=e.getData("pointsarea")||[]},setupcb:function(){this.AM=0;this.AA=0;this.BC=e.A.G6;var a=e.D.P;this.DN=[a.iX,a.iY,a.iX+a.I,a.iY+a.F]}});e.W6(c);if(e.A.NC){e.PM(c)}}});ZC.UC=ZC.JH.BF({setup:function(){this.QJ()},VL:function(c){var e=this;e.paint(true);return[e.iX+e.I/2,e.iY,{reference:e,center:true}]},A6M:function(p){var o=this;var q="top-out";var r=o.D.BB(o.A.BH("v")[0]);var l=o.AE>=r.FW&&!r.B2||o.AE<r.FW&&r.B2?1:-1;if(p.o[ZC._[7]]!=null){q=p.o[ZC._[7]]}var m=o.iX+o.I/2-p.DP/2;var n=o.iY-p.D9/2;switch(q){case"top-out":case"top":n-=l*(p.D9/2+5);break;case"top-in":n+=l*(p.D9/2+5);break;case"middle":n+=l*(o.F/2);break;case"bottom-in":n+=l*(o.F-p.D9/2-5);break;case"bottom-out":case"bottom":n+=l*(o.F+p.D9/2+5);break;case"over":break;default:break}if(p.o.x!=null){m=p.iX}if(p.o.y!=null){n=p.iY}return[ZC._i_(m),ZC._i_(n)]},paint:function(p){var R=this;R.b();if(R.D.AI["3d"]){return}if(typeof p==ZC._[31]){p=false}var aP=R.A.B8;var aG=R.A.DV;R.setup();var aJ=aG.FW;var aq=aG.B7(aJ);aq=ZC._l_(aq,aG.iY,aG.iY+aG.F);var ai=R.A.QI();var aR=ai.X,ay=ai.FF,aF=ai.D1,aK=ai.D6,am=ai.F5,av=ai.CB,ao=ai.EU;if(R.A.CG){var an=0;var aH=R.A.A.IY[ay];for(var ax=0;ax<aH.length;ax++){var au=R.A.A.AB[aH[ax]].Q[R.J];if(au){an+=au.AE}}}var aC=1,X=1;if(R.A.CG){if(R.CU!=R.AE){aC=(an-R.CU+R.AE)/an}X=(an-R.CU)/an}if(aG.B2){var aN=aC;aC=X;X=aN}var I=R.iX-aR/2+aF+ay*(av+am)-ay*ao;I=ZC._l_(I,R.iX-aR/2+aF,R.iX+aR/2-aK);if(R.A.CB>0){var ak=av;av=R.A.CB;if(av<=1){av*=ak}I=I+(ak-av)/2}var aL=av;var P=R.iY;if(R.A.CG){if(R.A.K6=="100%"){var ap=aG.B7(100*(R.CU-R.AE)/R.A.A.FV[R.J]["%total-"+R.A.EK])}else{var ap=aG.B7(R.CU-R.AE)}ap=ZC._l_(ap,aG.iY,aG.iY+aG.F);if(P<=ap){var aI=ap-R.iY}else{P=ap;var aI=R.iY-ap}}else{if(P<=aq){var aI=aq-R.iY}else{P=aq;var aI=R.iY-aq}}if(aI<1&&R.AE>0){aI=1.1;if(aG.B2){if(R.A.CG){P-=1.1}}else{if(!R.A.CG){P=aq-1.1}}}if(R.A.IX[R.J]!=null){P+=aG.B7(R.A.IX[R.J])-aq;R.iY+=aG.B7(R.A.IX[R.J])-aq}R.I=aL;R.F=aI;R.iX=I;if(p){return}R.saveData({x:I,y:P,w:aL,h:aI});var aQ=R.S=R.A.GF(R,R.S);if(R.AP){var aS;switch(R.A.CH){case"bar":default:if(R.A.DJ.length==0&&typeof R.A.R3!=ZC._[31]&&!R.S.o.override&&!R.D.KJ){aS=R.A.R3}else{aS=new ZC.HC(R.A);aS.copy(aQ)}aS.N=R.N;aS.iX=I;aS.iY=P;aS.I=R.I;aS.F=R.F;if(aP.X<10){aS.I=ZC.BT(1,aS.I)+1;aS.L5=false;aS.D5=false}else{aS.L5=true;aS.D5=true}break;case"pyramid":case"cone":if(R.A.DJ.length==0&&typeof R.A.R3!=ZC._[31]&&!R.S.o.override&&!R.D.KJ){aS=R.A.R3}else{aS=new ZC.DA(R.A);aS.copy(aQ)}aS.N=R.N;if(aG.B2&&!R.A.CG){var aj=R.AE>=0?0:R.F,at=R.AE>=0?R.F:0}else{var aj=R.AE>=0?R.F:0,at=R.AE>=0?0:R.F}aS.C=[];aS.C.push([I+R.I/2-aC*R.I/2,P+aj],[I+R.I/2+aC*R.I/2,P+aj]);if(R.A.CG&&X!=0){aS.C.push([I+R.I/2+X*R.I/2,P+at],[I+R.I/2-X*R.I/2,P+at])}else{aS.C.push([I+R.I/2,P+at])}R.saveData({points:aS.C});aS.iX=I;aS.iY=P;aS.locate(2);break}aS.A0=R.A.BP("bl",1);aS.BZ=R.A.BP("bl",0);if(R.D.D8!=null&&R.D.D8.GP&&R.A.T2){var aO=R.D.P;var aM=R.D.D8;var aT=aM.AJ;var aB=(aS.iX-aO.iX)/aO.I;var aD=(aS.iY-aO.iY)/aO.F;if(R.A.YN){var az=R.A.YN}else{var az=new ZC.HC(R.A);R.A.YN=az}az.copy(aQ);az.N=R.N+"-preview";az.iX=aT.iX+aT.AA+aB*(aT.I-2*aT.AA);az.iY=aT.iY+aT.AA+aD*(aT.F-2*aT.AA);az.I=aS.I/aO.I*(aT.I-2*aT.AA);az.F=aS.F/aO.F*(aT.F-2*aT.AA);if(aT.I/R.A.Q.length<10){az.I=az.I+0.5;az.L5=false;az.D5=false}else{az.L5=true;az.D5=true}az.A0=az.BZ=aM.A0;az.paint()}function S(){if(typeof R.paint_!=ZC._[31]){R.paint_()}R.K1(ZC.L.DF(aS.A0,R.G.A8));if(R.A.FJ&&ZC.AG(R.G.I8,ZC._[39])==-1){var c=R.D.N+ZC._[34]+R.D.N+ZC._[35]+R.A.J+ZC._[6];var a=aI<2?-2:2;var b=ZC.L.E7("rect",R.A.DQ,R.A.ID)+‘class="‘+c+‘" id="‘+R.N+ZC._[30]+ZC._i_(I+ZC.MAPTX)+","+ZC._i_(P+ZC.MAPTX+a)+","+ZC._i_(I+aL+ZC.MAPTX)+","+ZC._i_(P+aI+ZC.MAPTX-a)+‘" />‘;R.A.A.G0.push(b)}if(R.A.T!=null){R.GN()}}if(R.A.FP&&!R.D.H5){var ar=aS,al={};ar.iX=I;ar.iY=P;ar.I=aL;ar.F=aI;al.x=I;al.y=P;al.width=aL;al.height=aI;var aw=R.A.IT,aA=R.D.P;ar.BC=0;al.alpha=aQ.BC;if(aw==1){}else{if(aw==2){ar.iY=aA.iY+aA.F/2;ar.F=1;al.height=R.F;al.y=P}else{if(aw==3){ar.iY=aA.iY;ar.F=1;al.height=R.F;al.y=P}else{if(aw==4){ar.iY=aA.iY+aA.F;ar.F=1;al.height=R.F;al.y=P}else{if(aw==5){ar.iX=aA.iX;ar.I=1;al.width=R.I;al.x=I}else{if(aw==6){ar.iX=aA.iX+aA.I;ar.I=1;al.width=R.I;al.x=I}else{if(aw==7){ar.iX=aA.iX+aA.I/2;ar.I=1;al.width=R.I;al.x=I}else{if(aw==8){ar.iX=I-aA.I;al.x=I}else{if(aw==9){ar.iX=I+aA.I;al.x=I}else{if(aw==10){ar.iY=P-aA.F;al.y=P}else{if(aw==11){ar.iY=P+aA.F;al.y=P}else{if(aw==12){ar.I=1;al.width=R.I}else{if(aw==13){ar.F=1;al.height=R.F}}}}}}}}}}}}}for(var s in R.A.E9){ar[ZC.CR.GJ[ZC.CX(s)]]=R.A.E9[s];al[ZC.CX(s)]=aQ[ZC.CR.GJ[ZC.CX(s)]]}if(R.D.DH==null){R.D.DH={}}if(R.D.DH[R.A.J+"-"+R.J]!=null){for(var s in R.D.DH[R.A.J+"-"+R.J]){ar[ZC.CR.GJ[ZC.CX(s)]]=R.D.DH[R.A.J+"-"+R.J][s]}}R.D.DH[R.A.J+"-"+R.J]={};ZC._cp_(al,R.D.DH[R.A.J+"-"+R.J]);var aE=new ZC.CR(ar,al,R.A.GV,R.A.IP,ZC.CR.NL[R.A.IQ],function(){S()});aE.AT=R;aE.KY=function(){R.K1(ZC.L.DF(aS.A0,R.G.A8))};R.J6(aE)}else{aS.paint();S()}if(R.A.DJ.length==0&&typeof R.A.R3==ZC._[31]&&!R.S.o.override&&!R.D.KJ){if(!R.A.FP){R.A.R3=aS}}}},A7J:function(g){var f=this;g=g||"hover";if(ZC.move){return}var e="";switch(f.A.CH){case"bar":default:e="box";break;case"pyramid":e="shape";break}f.JF({layer:g,type:e,initcb:function(){this.AW=f.A.B1[1];this.BA=f.A.B1[1];this.W=f.A.B1[3];this.A5=f.A.B1[2]},setupcb:function(){switch(f.A.CH){case"bar":default:this.iX=f.getData("x");this.iY=f.getData("y");this.I=f.getData("w");this.F=f.getData("h");var a=f.D.P;if(this.iY<a.iY){this.F=this.F-(a.iY-this.iY);this.iY=a.iY}if(this.iY+this.F>a.iY+a.F){this.F=a.iY+a.F-this.iY}break;case"pyramid":case"cone":this.C=f.getData("points");break}}});f.K1(ZC.L.DF(f.D.N+ZC._[22],f.G.A8),true)}});ZC.U9=ZC.JH.BF({setup:function(){this.QJ()},VL:function(c){var e=this;e.paint(true);return[e.iX,e.iY+e.F/2,{reference:e,center:true}]},A6M:function(p){var o=this;var q="top-out";var r=o.D.BB(o.A.BH("v")[0]);var l=o.AE>=r.FW&&!r.B2||o.AE<r.FW&&r.B2?-1:1;if(p.o[ZC._[7]]!=null){q=p.o[ZC._[7]]}var m=o.iX-p.DP/2;var n=o.iY+o.F/2-p.D9/2;switch(q){case"top-out":case"top":m-=l*(p.DP/2+5);break;case"top-in":m+=l*(p.DP/2+5);break;case"middle":m+=l*(o.I/2);break;case"bottom-in":m+=l*(o.I-p.DP/2-5);break;case"bottom-out":case"bottom":m+=l*(o.I+p.DP/2+5);break;case"over":break;default:break}if(p.o.x!=null){m=p.iX}if(p.o.y!=null){n=p.iY}return[ZC._i_(m),ZC._i_(n)]},paint:function(S){var ae=this;ae.b();if(ae.D.AI["3d"]){return}if(typeof S==ZC._[31]){S=false}var aE=ae.A.B8;var aw=ae.A.DV;ae.setup();var az=aw.FW;var aC=aw.B7(az);aC=ZC._l_(aC,aw.iX,aw.iX+aw.I);var ah=ae.A.QI();var aG=ah.X,aq=ah.FF,av=ah.D1,aA=ah.D6,ak=ah.F5,ap=ah.CB,al=ah.EU;if(ae.A.CG){var am=0;var ax=ae.A.A.IY[aq];for(var R=0;R<ax.length;R++){var s=ae.A.A.AB[ax[R]].Q[ae.J];if(s){am+=s.AE}}}var at=1,ag=1;if(ae.A.CG){if(ae.CU!=ae.AE){at=(am-ae.CU+ae.AE)/am}ag=(am-ae.CU)/am}if(aw.B2){var aD=at;at=ag;ag=aD}var ac=ae.iY-aG/2+av+aq*(ap+ak)-aq*al;ac=ZC._l_(ac,ae.iY-aG/2+av,ae.iY+aG/2-aA);if(ae.A.CB>0){var aj=ap;ap=ae.A.CB;if(ap<=1){ap*=aj}ac=ac+(aj-ap)/2}var ay=ap;var ab=ae.iX;if(ae.A.CG){if(ae.A.K6=="100%"){var ao=aw.B7(100*(ae.CU-ae.AE)/ae.A.A.FV[ae.J]["%total-"+ae.A.EK])}else{var ao=aw.B7(ae.CU-ae.AE)}ao=ZC._l_(ao,aw.iX,aw.iX+aw.I);if(ab<=ao){var aB=ao-ae.iX}else{ab=ao;var aB=ae.iX-ao}}else{if(ab<=aC){var aB=aC-ae.iX}else{ab=aC;var aB=ae.iX-aC}}if(aB<1&&ae.AE>0){aB=1.1;if(ae.A.CG||aw.B2){ab-=1.1}}if(ae.A.IX[ae.J]!=null){ab+=aw.B7(ae.A.IX[ae.J])-aC;ae.iX+=aw.B7(ae.A.IX[ae.J])-aC}ae.I=aB;ae.F=ay;ae.iY=ac;if(S){return}ae.saveData({x:ab,y:ac,w:aB,h:ay});var aF=ae.S=ae.A.GF(ae,ae.S);if(ae.AP){var aH;switch(ae.A.CH){case"bar":default:if(ae.A.DJ.length==0&&typeof ae.A.R3!=ZC._[31]&&!ae.S.o.override&&!ae.D.KJ){aH=ae.A.R3}else{aH=new ZC.HC(ae.A);aH.copy(aF)}aH.N=ae.N;aH.iX=ab;aH.iY=ac;aH.I=ae.I;aH.F=ae.F;if(aE.X<10){aH.F=ZC.BT(1,aH.F)+1;aH.L5=false;aH.D5=false}else{aH.L5=true;aH.D5=true}break;case"pyramid":case"cone":if(ae.A.DJ.length==0&&typeof ae.A.R3!=ZC._[31]&&!ae.S.o.override&&!ae.D.KJ){aH=ae.A.R3}else{aH=new ZC.DA(ae.A);aH.copy(aF)}aH.N=ae.N;if(aw.B2&&!ae.A.CG){var af=ae.AE>=0?ae.I:0,an=ae.AE>=0?0:ae.I}else{var af=ae.AE>=0?0:ae.I,an=ae.AE>=0?ae.I:0}aH.C=[];aH.C.push([ab+af,ac+ae.F/2-at*ae.F/2],[ab+af,ac+ae.F/2+at*ae.F/2]);if(ae.A.CG&&ag!=0){aH.C.push([ab+an,ac+ae.F/2+ag*ae.F/2],[ab+an,ac+ae.F/2-ag*ae.F/2])}else{aH.C.push([ab+an,ac+ae.F/2])}ae.H.points=aH.C;aH.iX=ab;aH.iY=ac;aH.locate(2);break}aH.A0=ae.A.BP("bl",1);aH.BZ=ae.A.BP("bl",0);function ad(){if(typeof ae.paint_!=ZC._[31]){ae.paint_()}ae.K1(ZC.L.DF(aH.A0,ae.G.A8));if(ae.A.FJ&&ZC.AG(ae.G.I8,ZC._[39])==-1){var c=ae.D.N+ZC._[34]+ae.D.N+ZC._[35]+ae.A.J+ZC._[6];var a=ay<2?-2:2;var b=ZC.L.E7("rect",ae.A.DQ,ae.A.ID)+‘class="‘+c+‘" id="‘+ae.N+ZC._[30]+ZC._i_(ab+ZC.MAPTX+a)+","+ZC._i_(ac+ZC.MAPTX)+","+ZC._i_(ab+aB+ZC.MAPTX-a)+","+ZC._i_(ac+ay+ZC.MAPTX)+‘" />‘;ae.A.A.G0.push(b)}if(ae.A.T!=null){ae.GN()}}if(ae.A.FP&&!ae.D.H5){var p=aH,ai={};p.iX=ab;p.iY=ac;p.I=aB;p.F=ay;ai.x=ab;ai.y=ac;ai.width=aB;ai.height=ay;var I=ae.A.IT,ar=ae.D.P;p.BC=0;ai.alpha=aF.BC;if(I==1){}else{if(I==2){p.iX=ar.iX+ar.I/2;p.I=1;ai.width=ae.I;ai.x=ab}else{if(I==3){p.iX=ar.iX+ar.I;p.I=1;ai.width=ae.I;ai.x=ab}else{if(I==4){p.iX=ar.iX;p.I=1;ai.width=ae.I;ai.x=ab}else{if(I==5){p.iY=ar.iY+ar.F;p.F=1;ai.height=ae.F;ai.y=ac}else{if(I==6){p.iY=ar.iY;p.F=1;ai.height=ae.F;ai.y=ac}else{if(I==7){p.iY=ar.iY+ar.F/2;p.F=1;ai.height=ae.F;ai.y=ac}else{if(I==8){p.iY=ac+ar.F;ai.y=ac}else{if(I==9){p.iY=ac-ar.F;ai.y=ac}else{if(I==10){p.iX=ab+ar.I;ai.x=ab}else{if(I==11){p.iX=ab-ar.I;ai.x=ab}else{if(I==12){p.F=1;ai.height=ae.F}else{if(I==13){p.I=1;ai.width=ae.I}}}}}}}}}}}}}for(var X in ae.A.E9){p[ZC.CR.GJ[ZC.CX(X)]]=ae.A.E9[X];ai[ZC.CX(X)]=ae.S[ZC.CR.GJ[ZC.CX(X)]]}if(ae.D.DH==null){ae.D.DH={}}if(ae.D.DH[ae.A.J+"-"+ae.J]!=null){for(var X in ae.D.DH[ae.A.J+"-"+ae.J]){p[ZC.CR.GJ[ZC.CX(X)]]=ae.D.DH[ae.A.J+"-"+ae.J][X]}}ae.D.DH[ae.A.J+"-"+ae.J]={};ZC._cp_(ai,ae.D.DH[ae.A.J+"-"+ae.J]);var au=new ZC.CR(p,ai,ae.A.GV,ae.A.IP,ZC.CR.NL[ae.A.IQ],function(){ad()});au.AT=ae;au.KY=function(){ae.K1(ZC.L.DF(aH.A0,ae.G.A8))};ae.J6(au)}else{aH.paint();ad()}if(ae.A.DJ.length==0&&typeof ae.A.R3==ZC._[31]&&!ae.S.o.override&&!ae.D.KJ){if(!ae.A.FP){ae.A.R3=aH}}}},A7J:function(g){var f=this;if(ZC.move){return}var e="";switch(f.A.CH){case"bar":default:e="box";break;case"pyramid":e="shape";break}f.JF({layer:g,type:e,initcb:function(){this.AW=f.A.B1[1];this.BA=f.A.B1[1];this.W=f.A.B1[3];this.A5=f.A.B1[2]},setupcb:function(){switch(f.A.CH){case"bar":default:this.iX=f.getData("x");this.iY=f.getData("y");this.I=f.getData("w");this.F=f.getData("h");var a=f.D.P;if(this.iX<a.iX){this.I=this.I-(a.iX-this.iX);this.iX=a.iX}if(this.iX+this.I>a.iX+a.I){this.I=a.iX+a.I-this.iX}break;case"pyramid":case"cone":this.C=f.getData("points");break}}});f.K1(ZC.L.DF(f.D.N+ZC._[22],f.G.A8),true)}});ZC.A03=ZC.JH.BF({setup:function(){var h=this;var l=h.A.B8;var g=h.A.DV;var f=[l.Y,l.A3,g.Y,g.A3];if(h.H1!=f){h.iX=l.B7(h.CF);h.iY=g.B7(h.AE);h.H1=f}if(!h.GP){h.copy(h.A);h.DJ=h.A.DJ;if(h.CJ()){h.parse(false)}h.GP=true}},parse:function(){this.b();if(!(this.o[ZC._[9]] instanceof Array)){this.CF=this.J}},A5U:function(){return{color:this.A.AD.W==-1?this.S.W:this.A.AD.W}},T0:function(){return{"background-color":this.A.AD.A5==-1?this.S.A5:this.A.AD.A5,color:this.S.BO}},paint:function(){var c=this;c.b();var e=c.A.B8;c.setup();if(ZC.EO(c.iX,e.iX,e.iX+e.I)&&ZC.EO(c.iY,e.iY,e.iY+e.F)){c.M9(false,true)}},A7J:function(c){var e=this;if(ZC.move){return}e.PM(c)}});ZC.A10=ZC.JH.BF({$i:function(b){this.b(b);this.PK=null},parse:function(){this.b();if(!(this.o[ZC._[9]] instanceof Array)){this.CF=this.J}if(this.o[ZC._[9]] instanceof Array&&this.o[ZC._[9]][2]!=null){this.PK=ZC._f_(this.o[ZC._[9]][2])}else{this.PK=2}},A5U:function(){return{color:this.A.AD.W==-1?this.S.W:this.A.AD.W}},T0:function(){return{"background-color":this.A.AD.A5==-1?this.S.A5:this.A.AD.A5,color:this.S.BO}},KV:function(m,n){var g=this;var l=g.A.L0();ZC._cp_(n,l);var h=ZC.AQ.FZ(g.PK,l);g.D4=[["%v0",g.CF],["%v1",g.AE],["%v2",h],["%node-size-value",h]];m=g.b(m,n);return m},setup:function(){var h=this;var l=h.A.B8;var g=h.A.DV;var f=[l.Y,l.A3,g.Y,g.A3];if(h.H1!=f){h.iX=l.B7(h.CF);h.iY=g.B7(h.AE);h.H1=f}if(!h.GP){h.copy(h.A);h.DJ=h.A.DJ;if(h.CJ()){h.parse(false)}h.GP=true}},A6M:function(u){var n=this,o;var t="auto";if((o=u.o[ZC._[7]])!=null){t=o}var v=n.H["marker.size"];var q=n.iX-u.DP/2;var s=n.iY-u.D9/2;var p=0,r=0;switch(t){case"top":s-=u.D9/2+v;r=n.iY-n.D.P.iY+v;break;case"bottom":s+=u.D9/2+v;r=n.D.P.iY+n.D.P.F-n.iY+v;break;case"left":q-=u.DP/2+v;p=n.iX-n.D.P.iX+v;break;case"right":q+=u.DP/2+v;p=n.D.P.iX+n.D.P.I-n.iX+v;break;case"over":case"auto":break;default:break}if(u.o.x!=null){q=u.iX}if(u.o.y!=null){s=u.iY}if(q<n.D.P.iX){q=n.D.P.iX+p}if(q+u.DP>n.D.P.iX+n.D.P.I){q=n.D.P.iX+n.D.P.I-u.DP-p}if(s<n.D.P.iY){s=n.D.P.iY+r}if(s+u.D9>n.D.P.iY+n.D.P.F){s=n.D.P.iY+n.D.P.F-u.D9-r}return[ZC._i_(q),ZC._i_(s)]},paint:function(g){var h=this;if(typeof g==ZC._[31]){g=false}h.b();var l=h.A.B8;var f=h.A.DV;h.setup();h.H["marker.size"]=h.A.getSize(h.PK);if(g){return}if(ZC.EO(h.iX,l.iX,l.iX+l.I)&&ZC.EO(h.iY,f.iY,f.iY+f.F)){h.M9(false,true)}},A7J:function(c){var e=this;if(ZC.move){return}e.PM(c)}});ZC.A30=ZC.JH.BF({T:null,$i:function(b){this.b(b)},parse:function(){this.b()},KV:function(n,o){var p=this;var m=p.A.L0();ZC._cp_(o,m);var h=p.AE*100/p.A.A.MP[p.J],l=new String(h);if(m[ZC._[12]]!=null){l=h.toFixed(ZC.BT(0,ZC._i_(m[ZC._[12]])))}p.D4=[["%node-percent-value",l],["%npv",l]];n=p.b(n,o);return n},VL:function(m){var h=this,p;var l=(h.AL+h.AZ)/2%360;var o=0;if((p=m["offset-r"])!=null){o=ZC._f_(ZC._p_(p))}if(o<1){o*=h.AO}var n=ZC.AX.BK(h.iX,h.iY,h.C4+0.6*(h.AO-h.C4)+h.DS+o,l);return[n[0],n[1],{reference:h,center:true}]},A83:function(){var e=this;var f=(e.AL+e.AZ)/2%360;var g=ZC.AX.BK(e.iX,e.iY,e.C4+0.5*(e.AO-e.C4)+e.DS,f);return[g[0],g[1]]},setup:function(){var f=this;var h=f.D.BB(f.A.BH("k")[0]);var g=f.J%h.I5;var l=Math.floor(f.J/h.I5);f.iX=h.iX+g*h.F0+h.F0/2+h.C1;f.iY=h.iY+l*h.EZ+h.EZ/2+h.BW;if(!f.GP){f.copy(f.A);f.DJ=f.A.DJ;if(f.CJ()){f.parse(false)}f.GP=true}},A5U:function(g){var m=this,l;var n={};var h="out";if((l=g.o[ZC._[7]])!=null){h=l}n.color=h=="out"?m.W:m.BO;return n},A6M:function(at){var aj=this,al;var ab="out";if((al=at.o[ZC._[7]])!=null){ab=al}var ar=(aj.AL+aj.AZ)/2%360;var aa,af;if(ab!="in"){var U=(aj.AO*1.25+aj.DS+at.DS)*ZC.DG(ar);var ad=(aj.AO*1.25+aj.DS+at.DS)*ZC.DD(ar);aa=aj.iX+U+at.C1-at.I/2;af=aj.iY+ad+at.BW-at.F/2;var X=af;aj.T=at;if(ar>=0&&ar<=90||ar>=270&&ar<=360){aa+=at.I/2+10}else{aa-=at.I/2+10}var ak=null;var Z=-1;var ac=aj.iX;var ag=aj.iY;if(aj.A.J>0&&aj.A.A.AB[aj.A.J-1].Q.length>aj.J){ak=aj.A.A.AB[aj.A.J-1].Q[aj.J];if(ak!=null&&ak.T!=null&&ak.T.AP&&ak.AE!=null){var ao=ak.T.iY;var R=ak.T.F;Z=(ak.AL+ak.AZ)/2%360;var ah=0;var s=aa-ac;var ap=af-ag;var ae=Math.sqrt(s*s+ap*ap);if(ar>0&&ar<90||ar>270&&ar<360&&Z>0&&Z<90||Z>270&&Z<360){if(af<ao+R){var Y=ao+R+2;ah=Y-af;af=Y}}else{if(ar>90&&ar<270&&Z>90&&Z<270){if(ao<af+at.F){var Y=ao-at.F-2;ah=af-Y;af=Y}}}if(ah!=0&&ar){var aq=af-ag;if(ae>=aq&&(ar>90&&ar<180||ar>=270)){var S;var au=Math.asin(aq/ae);if(ar>90&&ar<270){S=ac-ae*Math.cos(au)}else{S=ac+ae*Math.cos(au)}aa=S}}}}var P=true;var am=0;var s=aa-ac;var ap=af-ag;var ae=Math.sqrt(s*s+ap*ap);var O=0;while(P&&am<20){P=false;am++;var ai={x:aa,y:af,width:at.I,height:at.F};for(var W=0,av=aj.A.A.QH.length;W<av;W++){ai.x=aa;ai.y=af;var an=aj.A.A.QH[W];if(ZC.AX.YC(ai,an)){if(O==0){if(X<an.oy){O=-1}else{O=1}}if(ak!=null&&Z!=-1){if((ar>=0&&ar<=90||ar>=270&&ar<=360)&&(Z>=0&&Z<=90||Z>=270&&Z<=360)){if(af<ao+R){O=1}}else{if(ar>90&&ar<270&&Z>90&&Z<270){if(ao<af+at.F){O=-1}}}}if(O==-1){af=an.y-at.F-2}else{af=an.y+an.height+2}var aq=Math.abs(af-ag);if(ae>=aq&&(ar>90&&ar<180||ar>=270)){var S;var au=Math.asin(aq/ae);if(ar>90&&ar<270){S=ac-ae*Math.cos(au)}else{S=ac+ae*Math.cos(au)}aa=S}P=true}}}var an={x:aa,y:af,width:at.I,height:at.F,plotindex:aj.A.J,nodeindex:aj.J,oy:X};aj.A.A.QH.push(an)}else{var Q=ZC.AX.BK(aj.iX,aj.iY,aj.C4+0.5*(aj.AO-aj.C4)+aj.DS+at.DS,ar);aa=Q[0]-at.DP/2+aj.C1;af=Q[1]-at.D9/2+aj.BW}if(at.o.x!=null){aa=at.iX}if(at.o.y!=null){af=at.iY}return[ZC._i_(aa),ZC._i_(af),ar]},GN:function(){var o=this,p;var w=o.b();if(w.AP&&w.AN!=null&&w.AN!=""){var v="out";if((p=w.o[ZC._[7]])!=null){v=p}if(v=="out"){var q=true;if((p=w.o.connected)!=null){q=ZC._b_(p)}if(q){var r=new ZC.DA(o.A);r.A0=r.BZ=o.G.usc()?o.G.mc("top"):o.D.AI["3d"]||o.G.JU?ZC.AH(o.D.N+"-plots-vb-c"):ZC.AH(o.D.N+"-plot-"+o.A.J+"-vb-c");r.append(o.A.B6.o);r.N=o.N+"-connector";r.AW=o.W;r.DY="line";r.C=[];var u=w.H.positioninfo;var x=(o.AL+o.AZ)/2%360;var t=u[2];var s=ZC.AX.BK(o.iX,o.iY,o.AO+o.DS,x);s[0]+=o.C1;s[1]+=o.BW;r.C.push(s);if(t>=0&&t<=90||t>=270&&t<=360){r.C.push([u[0]-10,u[1]+w.F/2],[u[0],u[1]+w.F/2])}else{r.C.push([u[0]+10+w.I,u[1]+w.F/2],[u[0]+w.I,u[1]+w.F/2])}r.parse();r.IG=function(a){return o.IG(a)};if(r.CJ()){r.parse()}if(r.AP){r.paint()}}}}},paint:function(){var p=this;p.b();if(p.AE<0){return}var D=p.D.BB(p.A.BH("k")[0]);p.setup();p.AO=ZC.DI(D.EZ,D.F0)/2;if(p.A.o[ZC._[21]]!=null){p.AO=p.A.AO}p.AO=D.KA*p.AO;if(p.C4<1){p.C4*=p.AO}if(p.D.H["pie-sel-"+p.A.J+"-"+p.J]){p.DS+=ZC._i_(p.AO*0.15)}var z=p.S=p.A.GF(p,p);if(p.AE>0||p.A.A.MP[p.J]==0){var t=new ZC.DA(p.A);t.N=p.N;t.A0=p.A.BP("bl",1);t.BZ=p.A.BP("bl",0);t.copy(z);var w=p.iX;var x=p.iY;if(p.DS>0){var A=ZC.AX.BK(p.iX,p.iY,p.DS,(p.AL+p.AZ)/2);w=A[0];x=A[1]}t.iX=w;t.iY=x;t.AO=p.AO;t.DY="pie";t.AL=p.AL;t.AZ=p.AZ;t.C4=p.C4;t.H.plotidx=p.A.J;t.H.nodeidx=p.J;t.parse();p.EJ=t;function s(){if(!p.A.JU){var c=t.E0();var b=p.D.N+ZC._[34]+p.D.N+ZC._[35]+p.A.J+ZC._[6];var a=ZC.L.E7("poly",p.A.DQ,p.A.ID)+‘class="‘+b+‘" id="‘+p.N+ZC._[30]+c+‘" />‘;p.A.A.G0.push(a)}if(p.A.T!=null){p.GN()}}if(p.A.FP&&!p.D.H5){var u=t,y={};u.iX=w;u.iY=x;u.AL=p.AL;u.AZ=p.AZ;y.angleStart=p.AL;y.angleEnd=p.AZ;y.x=w;y.y=x;var C=p.A.IT;u.BC=0;y.alpha=z.BC;if(C==1){}else{if(C==2){u.AZ=p.AL;y.angleEnd=p.AZ}else{if(C==3){u.AO=2;y.size=p.AO}else{if(C==4){var A=ZC.AX.BK(p.iX,p.iY,p.AO*1.2,(p.AL+p.AZ)/2);u.iX=A[0];u.iY=A[1];y.x=w;y.y=x}else{if(C==5){u.AL=u.AZ=(p.AL+p.AZ)/2;y.angleStart=p.AL;y.angleEnd=p.AZ}}}}}for(var G in p.A.E9){u[ZC.CR.GJ[ZC.CX(G)]]=p.A.E9[G];y[ZC.CX(G)]=z[ZC.CR.GJ[ZC.CX(G)]]}if(p.D.DH==null){p.D.DH={}}if(p.D.DH[p.A.J+"-"+p.J]!=null){for(var G in p.D.DH[p.A.J+"-"+p.J]){u[ZC.CR.GJ[ZC.CX(G)]]=p.D.DH[p.A.J+"-"+p.J][G]}}p.D.DH[p.A.J+"-"+p.J]={};ZC._cp_(y,p.D.DH[p.A.J+"-"+p.J]);var v=new ZC.CR(u,y,p.A.GV,p.A.IP,ZC.CR.NL[p.A.IQ],function(){s()});v.AT=p;p.J6(v)}else{t.paint();s()}}else{if(p.A.T!=null){p.GN()}}},A7J:function(c){var e=this;if(ZC.move){return}e.JF({layer:c,type:"shape",initcb:function(){this.copy(e);this.iX=e.iX;this.iY=e.iY;if(e.DS>0){var a=ZC.AX.BK(e.iX,e.iY,e.DS,(e.AL+e.AZ)/2);this.iX=a[0];this.iY=a[1]}this.AO=e.AO;this.DY="pie";this.W=e.A.B1[3];this.A5=e.A.B1[2];this.AL=e.AL;this.AZ=e.AZ;this.C4=e.C4}})},SG:function(f,l){var g=this;g.b(f,l);if(l=="click"&&f.which<=1&&g.A.A2M){zingchart.SKIP.ANIMATION=true;var h="pie-sel-"+g.A.J+"-"+g.J;g.D.H[h]=typeof g.D.H[h]==ZC._[31]?true:!g.D.H[h];g.D.IC();zingchart.SKIP.ANIMATION=false}}});ZC.YK=ZC.JH.BF({setup:function(){var e=this;var c=e.D.BB(e.A.BH("k")[0]);e.iX=c.iX+c.I/2+c.C1;e.iY=c.iY+c.F/2+c.BW;if(!e.GP){e.copy(e.A);e.o[ZC._[8]]=null;e.DJ=e.A.DJ;if(e.CJ()){e.parse(false)}e.GP=true}},A83:function(){var e=this;var f=(e.AL+e.AZ)/2%360;var g=ZC.AX.BK(e.iX,e.iY,e.C4+e.H.bandwidth/2+e.DS,f);return[g[0],g[1]]},KV:function(n,o){var p=this;var m=p.A.L0();ZC._cp_(o,m);var h=p.AE*100/p.A.A.MP[p.J],l=new String(h);if(m[ZC._[12]]!=null){l=h.toFixed(ZC.BT(0,ZC._i_(m[ZC._[12]])))}p.D4=[["%node-percent-value",l],["%npv",l]];n=p.b(n,o);return n},A5U:function(e){var g={};var f="in";if(e.o[ZC._[7]]!=null){f=e.o[ZC._[7]]}if(f=="out"){g.color=this.W}else{g.color=this.BO}return g},A6M:function(q){var p=this;var r="in";if(q.o[ZC._[7]]!=null){r=q.o[ZC._[7]]}var l=(p.AL+p.AZ)/2%360;var m,n;if(r=="out"){if(p.J==p.A.Q.length-1){var o=ZC.AX.BK(p.iX,p.iY,p.A.QX+(p.A.Q.length+1)*(p.H.bandwidth+p.H.bandspace)-p.H.bandspace-p.H.bandwidth/2+q.DS,l);if(l>=0&&l<90||l>=270&&l<360){m=o[0]+20+p.C1}else{m=o[0]-q.I-20+p.C1}n=o[1]-q.D9/2+p.BW}else{m=-1;n=-1}}else{var o=ZC.AX.BK(p.iX,p.iY,p.C4+p.H.bandwidth/2+q.DS,l);m=o[0]-q.DP/2+p.C1;n=o[1]-q.D9/2+p.BW}if(q.o.x!=null){m=q.iX}if(q.o.y!=null){n=q.iY}return[ZC._i_(m),ZC._i_(n),l]},GN:function(){var n=this;var o=n.b();if(o.AP&&o.AN!=null&&o.AN!=""){var p="in";if(o.o[ZC._[7]]!=null){p=o.o[ZC._[7]]}if(p=="out"&&n.J==n.A.Q.length-1){var m=new ZC.DA(n.A);m.A0=m.BZ=n.G.usc()?n.G.mc("top"):n.D.AI["3d"]||n.G.JU?ZC.AH(n.D.N+"-plots-vb-c"):ZC.AH(n.D.N+"-plot-"+n.A.J+"-vb-c");m.append(n.A.B6.o);m.AW=n.W;m.DY="line";m.C=[];var l=(n.AL+n.AZ)/2%360;var q=ZC.AX.BK(n.iX,n.iY,n.C4+n.H.bandwidth+o.DS,l);var r=ZC.AX.BK(n.iX,n.iY,n.A.QX+(n.A.Q.length+1)*(n.H.bandwidth+n.H.bandspace)-n.H.bandspace-n.H.bandwidth/2+o.DS,l);q[0]+=n.C1;r[0]+=n.C1;q[1]+=n.BW;r[1]+=n.BW;m.C.push(q,r);if(l>=0&&l<90||l>=270&&l<360){m.C.push([r[0]+20,r[1]])}else{m.C.push([r[0]-20,r[1]])}m.parse();m.IG=function(a){return n.IG(a)};if(m.CJ()){m.parse()}if(m.AP){m.paint()}}}},paint:function(){var I=this;I.b();var G=I.D.BB(I.A.BH("k")[0]);I.setup();I.AO=ZC.DI(G.I,G.F)/2;I.AO=G.KA*I.AO;I.C4=I.A.QX;if(I.C4<1){I.C4=I.A.QX*I.AO}var C=I.A.OI;if(C<1){C=I.A.OI*I.AO}var w=(I.AO-I.C4-(I.A.Q.length-1)*C)/I.A.Q.length;w=ZC.BT(w,2);I.C4+=I.J*(w+C);I.AO=I.C4+w;var z=I.S=I.A.GF(I,I);var s=new ZC.DA(I.A);s.N=I.N;s.A0=I.A.BP("bl",1);s.BZ=I.A.BP("bl",0);s.copy(z);s.iX=I.iX;s.iY=I.iY;s.DY="pie";s.AL=I.AL;s.AZ=I.AZ;s.C4=I.C4;s.AO=I.AO;s.parse();var x=s.C4;I.H.bandwidth=w;I.H.bandspace=C;function p(){var c=s.E0();var b=I.D.N+ZC._[34]+I.D.N+ZC._[35]+I.A.J+ZC._[6];var a=ZC.L.E7("poly",I.A.DQ,I.A.ID)+‘class="‘+b+‘" id="‘+I.N+ZC._[30]+c+‘" />‘;I.A.A.G0.push(a);if(I.A.T!=null){I.GN()}}if(I.A.FP&&!I.D.H5){var u=s,y={};u.AL=I.AL;u.AZ=I.AZ;y.angleStart=I.AL;y.angleEnd=I.AZ;var D=I.A.IT;u.BC=0;y.alpha=z.BC;if(D==1){}else{if(D==2){u.AZ=I.AL;y.angleEnd=I.AZ}else{if(D==3){u.C4=x+I.H.bandwidth;y.slice=x}else{if(D==4){var A=ZC.AX.BK(I.iX,I.iY,I.AO,(I.AL+I.AZ)/2);u.iX=A[0];u.iY=A[1];y.x=I.iX;y.y=I.iY}else{if(D==5){u.AL=u.AZ=(I.AL+I.AZ)/2;y.angleStart=I.AL;y.angleEnd=I.AZ}}}}}for(var H in I.A.E9){u[ZC.CR.GJ[ZC.CX(H)]]=I.A.E9[H];y[ZC.CX(H)]=z[ZC.CR.GJ[ZC.CX(H)]]}if(I.D.DH==null){I.D.DH={}}if(I.D.DH[I.A.J+"-"+I.J]!=null){for(var H in I.D.DH[I.A.J+"-"+I.J]){u[ZC.CR.GJ[ZC.CX(H)]]=I.D.DH[I.A.J+"-"+I.J][H]}}I.D.DH[I.A.J+"-"+I.J]={};ZC._cp_(y,I.D.DH[I.A.J+"-"+I.J]);var v=new ZC.CR(u,y,I.A.GV,I.A.IP,ZC.CR.NL[I.A.IQ],function(){p()});v.AT=I;I.J6(v)}else{s.paint();p()}},A7J:function(c){var e=this;if(ZC.move){return}e.JF({layer:c,type:"shape",initcb:function(){this.copy(e);this.iX=e.iX;this.iY=e.iY;this.DY="pie";this.W=e.A.B1[3];this.A5=e.A.B1[2];this.AL=e.AL;this.AZ=e.AZ;this.C4=e.C4;this.AO=e.AO},parsecb:function(){this.o[ZC._[8]]=null}})}});ZC.A14=ZC.JH.BF({setup:function(){var n=this;var o=n.A.B8;var l=n.A.DV;var h=[o.Y,o.A3,l.Y,l.A3];if(n.H1!=h){var m=l.VH(n.CU);var p=o.A7Q(n.J,m);n.iX=p[0];n.iY=p[1];n.H1=h}if(!n.GP){n.copy(n.A);n.DJ=n.A.DJ;if(n.CJ()){n.parse(false)}n.GP=true}},A6M:function(v){var o=this;var u=o.A.B8;var w=o.A.DV;var q=o.D.BB("scale");var r=q.iX+q.I/2;var s=q.iY+q.F/2;var x=360/u.Z.length;var p=w.VH(o.CU);switch(o.A.CH){case"dots":case"line":case"area":var t=ZC.AX.BK(r,s,w.A7+p*1.1+v.DS+ZC.BT(v.DP/2,v.D9/2),u.CK+o.J*x);t[0]-=v.DP/2;t[1]-=v.D9/2;break;case"rose":var t=ZC.AX.BK(r,s,w.A7+p*1.1+v.DS+ZC.BT(v.DP/2,v.D9/2),u.CK+o.J*x);t[0]-=v.DP/2;t[1]-=v.D9/2;break}if(v.o.x!=null){t[0]=v.iX}if(v.o.y!=null){t[1]=v.iY}return[ZC._i_(t[0]),ZC._i_(t[1])]},A5U:function(b){return{color:this.AW}},T0:function(){return{"background-color":this.AW,color:this.BO}},paint:function(){var ae=this,ay;ae.b();var aI=ae.A.NW,ap=ae.A.Z7,aD=ae.A.B8,ax=ae.A.DV,aC=ae.A.Q;ae.setup();ae.D5=false;ae.BZ=ae.A.BP("bl",0);function ad(){if(ae.A.O1>=ae.A.Q.length&&ae.A.T1){var a=ae.D.N+ZC._[34]+ae.D.N+ZC._[35]+ae.A.J+ZC._[6];var c="",b="";if(ZC.AG(["dots"],ae.A.CH)!=-1){}else{if(ZC.AG(["line","area"],ae.A.CH)!=-1){b=ZC.AX.OT(ZC.AX.XM(ae.H.points),4);if(b!=""){c=ZC.L.E7("poly",ae.A.DQ,ae.A.ID)+‘class="‘+a+‘" id="‘+ae.N+ZC._[30]+b+‘" />‘}}else{if(ZC.AG(["rose"],ae.A.CH)!=-1){b=ah.E0();c=ZC.L.E7("poly",ae.A.DQ,ae.A.ID)+‘class="‘+a+‘" id="‘+ae.N+ZC._[30]+b+‘" data-z-sort="‘+(ae.A.A.AB.length-ae.A.J)+‘" />‘}}}ae.A.A.G0.push(c)}if(ZC.AG(["line","area"],ae.A.CH)!=-1){ae.M9(false,true)}if(ae.A.T!=null){ae.GN()}}var aE=ae.S=ae.A.GF(ae,ae);if(ZC.AG(["line","area"],ae.A.CH)!=-1){var aw=[];var aH=[];if(ae.A.JZ){ae.A.C.push([ae.iX,ae.iY]);ae.A.AF.push([ae.iX,ae.iY])}if(ae.J>aD.Y){if(aC[ae.J-1]!=null){aC[ae.J-1].setup();var S=ZC.AX.IA(aC[ae.J-1].iX,aC[ae.J-1].iY,aC[ae.J].iX,aC[ae.J].iY);aw.push(S);aH.push(S)}}else{if(aC[aD.A3]!=null){aC[aD.A3].setup();var S=ZC.AX.IA(aC[aD.A3].iX,aC[aD.A3].iY,aC[ae.J].iX,aC[ae.J].iY);aw.push(S);aH.push(S)}}aw.push([ae.iX,ae.iY]);aH.push([ae.iX,ae.iY]);if(ae.J<aD.A3){if(aC[ae.J+1]!=null){aC[ae.J+1].setup();var S=ZC.AX.IA(aC[ae.J].iX,aC[ae.J].iY,aC[ae.J+1].iX,aC[ae.J+1].iY);aw.push(S);aH.push(S)}}else{if(aC[0]!=null){aC[0].setup();var S=ZC.AX.IA(aC[ae.J].iX,aC[ae.J].iY,aC[0].iX,aC[0].iY);aw.push(S);aH.push(S)}}ZC.C8.setup(aI,aE)}if(ae.A.CH=="area"){var aj=ae.D.BB("scale");var aG=aj.iX+aj.I/2;var aJ=aj.iY+aj.F/2;var at=360/aD.Z.length;aH.push([aG,aJ]);if(!ae.A.JZ){var aF=new ZC.DA(ae.A);aF.N=ae.N+"-area";aF.A0=ae.A.BP("bl",0);aF.copy(aE);aF.KO=true;aF.C=aH;aF.parse();aF.BC=ae.A.G6;if(aF.BC==1&&aF.AA==0){aF.W=ZC.AQ.NP(ZC.AQ.GD(aF.W),20);aF.A5=ZC.AQ.NP(ZC.AQ.GD(aF.A5),20);aF.AA=2;aF.BA=aF.W}var aB=ae.D.P;aF.DN=[aB.iX,aB.iY,aB.iX+aB.I,aB.iY+aB.F];ZC.C8.setup(ap,aF)}}ae.H.points=aw;ae.H.pointsarea=aH;if(ae.A.JZ&&ae.J==aD.A3){if(ae.A.CH=="area"){var aF=new ZC.DA(ae.A);aF.N=ae.N+"-area";aF.A0=ae.A.BP("bl",0);aF.copy(ae.A);aF.KO=true;aF.C=ae.A.AF;aF.parse();aF.BC=ae.A.G6;var aB=ae.D.P;aF.DN=[aB.iX,aB.iY,aB.iX+aB.I,aB.iY+aB.F];aF.paint()}if(ae.A.CH=="line"||ae.A.CH=="area"){ae.A.C.push([ae.A.C[0][0],ae.A.C[0][1]]);ZC.C8.paint(aI,aE,ae.A.C)}}if(ZC.AG(["dots"],ae.A.CH)!=-1){ae.M9(false,true)}else{if(ae.A.CH=="rose"){var ah=new ZC.DA(ae.A);ah.N=ae.N+"-pie";ah.copy(aE);ah.A0=ae.A.BP("bl",1);ah.BZ=ae.A.BP("bl",0);var aj=ae.D.BB("scale");var aG=aj.iX+aj.I/2;var aJ=aj.iY+aj.F/2;var at=aD.CQ/(aD.Z.length-(aD.CQ==360?0:1));var az=at*0.1;if((ay=ae.A.A08)!=null){if(ay<1){az=at*ay}else{az=ay}}if(!ae.A.CG){az=at*0.1*(ae.A.J+1)}ah.C4=ax.A7;var Q=ae.A.A;if(ae.A.CG&&Q.WX["stack"+ae.J]!=null){ah.C4+=Q.WX["stack"+ae.J]}var P=ZC._i_(ax.VH(ae.CU));if(ae.A.CG){Q.WX["stack"+ae.J]=P}var am=aD.CK+(360-aD.CQ)/2+ae.J*at-at/2+az;var aA=aD.CK+(360-aD.CQ)/2+(ae.J+1)*at-at/2-az;var al=P+ax.A7;ae.saveData({x:aG,y:aJ,sz:al,sl:ah.C4,as:am,ae:aA});ah.iX=aG;ah.iY=aJ;ah.DY="pie";ah.AL=am;ah.AZ=aA;ah.AO=al;ah.parse();ah.IG=function(a){return ae.IG(a)};if(ah.CJ()){ah.parse()}}}if(ae.A.FP&&ZC.AG(["line","area","rose"],ae.A.CH)!=-1){switch(ae.A.CH){case"line":case"area":var ao=new ZC.DA(ae),ai={};ao.copy(aE);ao.N=ae.N;ao.A0=ae.A.BP("bl",1);ao.BZ=ae.A.BP("bl",0);ao.C=aw;ao.BC=0;ai.alpha=aE.BC;ai.points=aw;var ak=[];if(ae.A.CH=="area"){var av=aF,af={};var ag=[];av.C=aH;av.BC=0;af.points=aH;af.alpha=ae.A.G6}break;case"rose":var ao=ah,ai={};ao.iX=aG;ao.iY=aJ;ao.AL=am;ao.AZ=aA;ao.BC=0;ai.angleStart=am;ai.angleEnd=aA;ai.x=aG;ai.y=aJ;ai.size=al;ai.alpha=aE.BC;break}var s=ae.A.IT,ar=ae.D.P;switch(s){case 1:break;case 7:switch(ae.A.CH){case"line":case"area":for(var C=0;C<aw.length;C++){ak[C]=[aw[C][0],ar.iY+ar.F/2]}ao.C=ak;ai.points=aw;if(ae.A.CH=="area"){for(var C=0;C<aH.length;C++){ag[C]=[aH[C][0],ar.iY+ar.F/2]}av.C=ag;af.points=aH}break}break;case 2:switch(ae.A.CH){case"line":case"area":for(var C=0;C<aw.length;C++){ak[C]=[ar.iX+ar.I/2,aw[C][1]]}ao.C=ak;ai.points=aw;if(ae.A.CH=="area"){for(var C=0;C<aH.length;C++){ag[C]=[ar.iX+ar.I/2,aH[C][1]]}av.C=ag;af.points=aH}break;case"rose":ao.AZ=am;ai.angleEnd=aA;break}break;case 3:switch(ae.A.CH){case"line":case"area":for(var C=0;C<aw.length;C++){ak[C]=[ar.iX+ar.I/2,ar.iY+ar.F/2]}ao.C=ak;ai.points=aw;if(ae.A.CH=="area"){for(var C=0;C<aH.length;C++){ag[C]=[ar.iX+ar.I/2,ar.iY+ar.F/2]}av.C=ag;af.points=aH}break;case"rose":ao.AO=ax.A7;ai.size=al;break}break;case 4:switch(ae.A.CH){case"line":case"area":for(var C=0;C<aw.length;C++){var an=ar.iX+ar.I/2-aw[C][0];var aq=ar.iY+ar.F/2-aw[C][1];ak[C]=[ar.iX+ar.I/2-an*2.5,ar.iY+ar.F/2-aq*2.5]}ao.C=ak;ai.points=aw;if(ae.A.CH=="area"){for(var C=0;C<aH.length;C++){var an=ar.iX+ar.I/2-aH[C][0];var aq=ar.iY+ar.F/2-aH[C][1];ag[C]=[ar.iX+ar.I/2-an*2.5,ar.iY+ar.F/2-aq*2.5]}av.C=ag;af.points=aH}break;case"rose":ao.AO=al*2;ai.size=al;break}break;case 5:switch(ae.A.CH){case"rose":ao.AL=ao.AZ=(am+aA)/2;ai.angleStart=am;ai.angleEnd=aA;break}break}for(var R in ae.A.E9){ao[ZC.CR.GJ[ZC.CX(R)]]=ae.A.E9[R];ai[ZC.CX(R)]=aE[ZC.CR.GJ[ZC.CX(R)]]}if(ae.D.DH==null){ae.D.DH={};if(ae.A.CH=="area"){ae.D.OU={}}}if(ae.D.DH[ae.A.J+"-"+ae.J]!=null){for(var R in ae.D.DH[ae.A.J+"-"+ae.J]){ao[ZC.CR.GJ[ZC.CX(R)]]=ae.D.DH[ae.A.J+"-"+ae.J][R]}if(ae.A.CH=="area"){for(var R in ae.D.OU[ae.A.J+"-"+ae.J]){av[ZC.CR.GJ[ZC.CX(R)]]=ae.D.OU[ae.A.J+"-"+ae.J][R]}}}ae.D.DH[ae.A.J+"-"+ae.J]={};ZC._cp_(ai,ae.D.DH[ae.A.J+"-"+ae.J]);if(ae.A.CH=="area"){ae.D.OU[ae.A.J+"-"+ae.J]={};ZC._cp_(af,ae.D.OU[ae.A.J+"-"+ae.J])}var au=new ZC.CR(ao,ai,ae.A.GV,ae.A.IP,ZC.CR.NL[ae.A.IQ],function(){ad()});au.AT=ae;if(ZC.AG(["line","area"],ae.A.CH)!=-1){au.GK=aI}var p=null;if(ae.A.CH=="area"){p=new ZC.CR(av,af,ae.A.GV,ae.A.IP,ZC.CR.NL[ae.A.IQ],function(){});p.AT=ae}ae.J6(au,p)}else{switch(ae.A.CH){case"line":case"area":if(!ae.A.JZ){ZC.C8.paint(aI,aE,aw);if(ae.A.CH=="area"){aF.paint()}}break;case"rose":ah.paint();break}ad()}},A7J:function(c){var e=this;if(ZC.move){return}if(e.A.G9!=null&&e.A.AP){if(ZC.AG(["line","area"],e.A.CH)!=-1){e.W6(c);if(e.A.CH=="area"){e.JF({layer:c,type:"area",initcb:function(){this.C=e.H.pointsarea},setupcb:function(){this.AM=0;this.AA=0;this.BC=e.A.G6;var a=e.D.P;this.DN=[a.iX,a.iY,a.iX+a.I,a.iY+a.F]}})}}else{if(e.A.CH=="rose"){e.JF({layer:c,type:"shape",initcb:function(){this.copy(e);this.AW=e.A.B1[1];this.BA=e.A.B1[1];this.W=e.A.B1[3];this.A5=e.A.B1[2];this.iX=e.getData("x");this.iY=e.getData("y");this.C4=e.getData("sl");this.AL=e.getData("as");this.AZ=e.getData("ae");this.DY="pie";this.AO=e.getData("sz")}})}}}if(ZC.AG(["dots","line","area"],e.A.CH)!=-1){e.PM(c)}}});ZC.ZV=ZC.UC.BF({F9:null,KV:function(n,g){var h=this;var m=h.A.L0();ZC._cp_(g,m);var l=ZC.AQ.FZ(h.A.NA[h.J],m);h.D4=[["%node-goal-value",l],["%g",l]];n=h.b(n,g);return n},A4E:function(){var e=this,g;e.CS=[];e.CC=e.o[ZC._[9]];if(typeof e.o[ZC._[9]]=="string"){var f=ZC.AG(e.D.GB,e.o[ZC._[9]]);if(f!=-1){e.AE=f}else{e.D.GB.push(e.o[ZC._[9]]);e.AE=e.D.GB.length-1}}else{e.AE=ZC._f_(e.o[ZC._[9]])}if(e.A.o.goals&&(g=e.A.o.goals[e.J])!=null){e.CS.push(ZC._f_(g))}},paint:function(){var b=this;b.b()},paint_:function(){var n=this,m;if(n.A.NA[n.J]!=null&&n.AP){var h=n.A.DV.B7(n.A.NA[n.J]);n.F9=new ZC.HC(n.A);n.F9.N=n.N+"-goal";n.F9.copy(n.A.F9);n.F9.A0=n.A.BP("bl",1);n.F9.BZ=n.A.BP("bl",0);var l=0.2;if((m=n.F9.o.extension)!=null){l=ZC._f_(m)}n.F9.iX=n.getData("x")-n.I*l;n.F9.I=n.I*(1+2*l);if(n.A.F9.o[ZC._[20]]==null){n.F9.F=ZC.DI(5,n.D.P.F/30)}n.F9.iY=h-n.F9.F/2;n.F9.paint();var g=n.D.N+ZC._[34]+n.D.N+ZC._[35]+n.A.J+ZC._[6];n.A.A.G0.push(ZC.L.E7("rect",n.A.DQ,n.A.ID)+‘class="‘+g+‘" id="‘+n.N+"--goal"+ZC._[30]+ZC._i_(n.F9.iX+ZC.MAPTX)+","+ZC._i_(n.F9.iY+ZC.MAPTX)+","+ZC._i_(n.F9.iX+n.F9.I+ZC.MAPTX)+","+ZC._i_(n.F9.iY+n.F9.F+ZC.MAPTX)+‘" />‘)}},A7J:function(g){var e=this;if(ZC.move){return}e.b(g);if(e.F9){var f=new ZC.HC(e.A);f.copy(e.F9);f.A0=ZC.AH(e.D.N+ZC._[22]);f.LC=false;f.iX=e.F9.iX;f.iY=e.F9.iY;f.paint()}}});ZC.ZZ=ZC.U9.BF({F9:null,KV:function(n,g){var h=this;var m=h.A.L0();ZC._cp_(g,m);var l=ZC.AQ.FZ(h.A.NA[h.J],m);h.D4=[["%node-goal-value",l],["%g",l]];n=h.b(n,g);return n},A4E:function(){var e=this,g;e.CS=[];e.CC=e.o[ZC._[9]];if(typeof e.o[ZC._[9]]=="string"){var f=ZC.AG(e.D.GB,e.o[ZC._[9]]);if(f!=-1){e.AE=f}else{e.D.GB.push(e.o[ZC._[9]]);e.AE=e.D.GB.length-1}}else{e.AE=ZC._f_(e.o[ZC._[9]])}if(e.A.o.goals&&(g=e.A.o.goals[e.J])!=null){e.CS.push(ZC._f_(g))}},paint:function(){var b=this;b.b()},paint_:function(){var g=this,m;if(g.A.NA[g.J]!=null&&g.AP){var n=g.A.DV.B7(g.A.NA[g.J]);g.F9=new ZC.HC(g.A);g.F9.N=g.N+"-goal";g.F9.copy(g.A.F9);g.F9.A0=g.A.BP("bl",1);g.F9.BZ=g.A.BP("bl",0);var l=0.2;if((m=g.F9.o.extension)!=null){l=ZC._f_(m)}g.F9.iY=g.getData("y")-g.F*l;g.F9.F=g.F*(1+2*l);if(g.A.F9.o[ZC._[19]]==null){g.F9.I=ZC.DI(5,g.D.P.I/30)}g.F9.iX=n-g.F9.I/2;g.F9.paint();var h=g.D.N+ZC._[34]+g.D.N+ZC._[35]+g.A.J+ZC._[6];g.A.A.G0.push(ZC.L.E7("rect",g.A.DQ,g.A.ID)+‘class="‘+h+‘" id="‘+g.N+"--goal"+ZC._[30]+ZC._i_(g.F9.iX+ZC.MAPTX)+","+ZC._i_(g.F9.iY+ZC.MAPTX)+","+ZC._i_(g.F9.iX+g.F9.I+ZC.MAPTX)+","+ZC._i_(g.F9.iY+g.F9.F+ZC.MAPTX)+‘" />‘)}},A7J:function(g){var e=this;if(ZC.move){return}e.b(g);if(e.F9){var f=new ZC.HC(e.A);f.copy(e.F9);f.A0=ZC.AH(e.D.N+ZC._[22]);f.LC=false;f.iX=e.F9.iX;f.iY=e.F9.iY;f.paint()}}});ZC.A1L=ZC.JH.BF({A4E:function(){var c=this;if(c.o[ZC._[9]] instanceof Array&&c.o[ZC._[9]][1]!=null){c.CC=c.o[ZC._[9]][1];if(typeof c.o[ZC._[9]][0]=="string"){var e=ZC.AG(c.D.I1,c.o[ZC._[9]][0]);if(e!=-1){c.CF=e}else{c.D.I1.push(c.o[ZC._[9]][0]);c.CF=c.D.I1.length-1}}else{c.CF=ZC._f_(c.o[ZC._[9]][0])}if(typeof c.o[ZC._[9]][1]=="string"){var e=ZC.AG(c.D.GB,c.o[ZC._[9]][1]);if(e!=-1){c.AE=e}else{c.D.GB.push(c.o[ZC._[9]][1]);c.AE=c.D.GB.length-1}}else{c.AE=ZC._f_(c.o[ZC._[9]][1])}if(c.CF!=null){c.A.QD(c.CF,c.J)}}},setup:function(){var h=this;var l=h.A.B8;var g=h.A.DV;var f=[l.Y,l.A3,g.Y,g.A3];if(h.H1!=f){if(l.B2){h.iX=l.iX+l.I-l.A7-(h.J+1)*l.X}else{h.iX=l.iX+l.A7+h.J*l.X}if(g.B2){h.iY=g.iY+g.A7+h.A.J*g.X}else{h.iY=g.iY+g.F-g.A7-(h.A.J+1)*g.X}h.H1=f}if(!h.GP){h.copy(h.A);h.DJ=h.A.DJ;if(h.CJ()){h.parse(false)}h.GP=true}},A6M:function(n){var m=this;var g="over";if(n.o[ZC._[7]]!=null){g=n.o[ZC._[7]]}var h=m.iX+m.I/2-n.DP/2;var l=m.iY+m.F/2-n.D9/2;switch(g){case"top":l-=m.F/2+n.D9/2+2;break;case"left":h-=m.I/2+n.DP/2+2;break;case"bottom":l+=m.F/2+n.D9/2+2;break;case"right":h+=m.I/2+n.DP/2+2;break;case"over":default:break}if(n.o.x!=null){h=n.iX}if(n.o.y!=null){l=n.iY}return[ZC._i_(h),ZC._i_(l)]},A5U:function(b){return{color:"#000"}},getFormatValue:function(){return this.CC},KV:function(o,p){var h=this;var l=h.A.DV;var m=h.A.J;var n;if(l.BU[m]!=null){n=l.BU[m]}else{n=l.Z[m]}h.D4=[["%y",n],["%scale-value-label",n]];o=h.b(o,p);return o},paint:function(){var o=this;o.b();var p=o.A.B8;var l=o.A.DV;o.setup();var m;switch(o.A.A1B){case"plot-max":m=(ZC._f_(o.AE)-o.A.TB)/(o.A.ZD-o.A.TB);break;case"plot-total":m=(ZC._f_(o.AE)-o.A.TB)/(o.A.A0E-o.A.TB);break;case"chart-max":m=(ZC._f_(o.AE)-o.A.RY)/(o.A.XX-o.A.RY);break;case"chart-total":m=(ZC._f_(o.AE)-o.A.RY)/(o.A.ZH-o.A.RY);break}if(!ZC.MS(m)){m=0.5}o.I=p.X;o.F=l.X;switch(o.A.CH){case"alpha":case"brightness":o.BC=o.A.ML+m*(o.A.QC-o.A.ML);break;case"horizontal":o.I=1.01+o.A.ML*p.X+m*p.X*(o.A.QC-o.A.ML);if(p.B2){o.iX=o.iX+p.X-o.I}break;case"vertical":o.F=1.01+o.A.ML*l.X+m*l.X*(o.A.QC-o.A.ML);if(!l.B2){o.iY=o.iY+l.X-o.F}break;case"size":o.I=1.01+o.A.ML*p.X+m*p.X*(o.A.QC-o.A.ML);o.F=1.01+o.A.ML*l.X+m*l.X*(o.A.QC-o.A.ML);o.iX+=(p.X-o.I)/2;o.iY+=(l.X-o.F)/2;break}o.iX-=o.AA/2;o.iY-=o.AA/2;o.I+=o.AA;o.F+=o.AA;if(o.AP){var n=new ZC.HC(o.A);n.N=o.N;n.copy(o);n.iX=o.iX;n.iY=o.iY;n.I=o.I;n.F=o.F;n.A0=o.A.BP("bl",1);n.BZ=o.A.BP("bl",0);if(n.BA!=-1&&n.AA>0||n.OR+n.MV+n.MA+n.NR!=""||n.W!=-1||n.A5!=-1||n.BY!=""||n.FD!=""||n.FU!=""){n.paint();var h=o.D.N+ZC._[34]+o.D.N+ZC._[35]+o.A.J+ZC._[6];o.A.A.G0.push(ZC.L.E7("rect",o.A.DQ,o.A.ID)+‘class="‘+h+‘" id="‘+o.N+ZC._[30]+ZC._i_(o.iX+ZC.MAPTX)+","+ZC._i_(o.iY+ZC.MAPTX)+","+ZC._i_(o.iX+o.I+ZC.MAPTX)+","+ZC._i_(o.iY+o.F+ZC.MAPTX)+‘" />‘)}}if(o.A.T!=null){o.GN()}},A7J:function(c){var e=this;if(ZC.move){return}e.JF({layer:c,type:"box",initcb:function(){this.AW=e.A.B1[1];this.BA=e.A.B1[1];this.W=e.A.B1[2];this.A5=e.A.B1[3]},setupcb:function(){this.iX=e.iX;this.iY=e.iY;this.I=e.I;this.F=e.F}})}});ZC.A01=ZC.JH.BF({setup:function(){var h=this;var l=h.A.B8;var g=h.A.DV;var f=[l.Y,l.A3,g.Y,g.A3];if(h.H1!=f){if(l.B2){h.iX=l.iX+l.I-l.A7-(h.J+1)*l.X}else{h.iX=l.iX+l.A7+h.J*l.X}if(g.B2){h.iY=g.iY+g.A7+h.A.J*g.X}else{h.iY=g.iY+g.F-g.A7-(h.A.J+1)*g.X}h.H1=f}if(!h.GP){h.copy(h.A);h.DJ=h.A.DJ;if(h.CJ()){h.parse(false)}h.GP=true}},paint:function(){var ae=this;ae.b();var ao=ae.A.B8;var at=ae.A.DV;ae.setup();if(ae.A.X2=="static"){var Y=ae.D.AY.T4[ae.J];var U=ae.D.AY.A1P[ae.J]}else{var Y=ae.D.AY.BJ;var U=ae.D.AY.C7}var al=ae.A.IE;if(al<=1){al*=ao.X}var C=ae.A.KI;if(C<=1){C*=ao.X}var Z=ae.A.JB;if(Z<=1){Z*=ao.X}var ap=ao.X-al-C-Z;var ac=ae.AE;var s=ac/U;var am=Z+ap*s;var X=0;if(ae.A.J+1<ae.A.A.AB.length&&ae.A.A.AB[ae.A.J+1].Q[ae.J]!=null){var X=ae.A.A.AB[ae.A.J+1].Q[ae.J].AE}var K=X/U;var aq=Z+ap*K;var ar=ae.iX+(ao.B2?C:al)+ap/2+Z/2;var aa=[];if(at.B2){aa.push([ar-am/2,ae.iY],[ar+am/2,ae.iY],[ar+aq/2,ae.iY+at.X],[ar-aq/2,ae.iY+at.X],[ar-am/2,ae.iY])}else{aa.push([ar-am/2,ae.iY+at.X],[ar+am/2,ae.iY+at.X],[ar+aq/2,ae.iY],[ar-aq/2,ae.iY],[ar-am/2,ae.iY+at.X])}ae.H.points=aa;if(ae.AP){var ab=new ZC.DA(ae.A);ab.N=ae.N+"-trapeze";ab.copy(ae);ab.C=aa;ab.parse();ab.A0=ae.A.BP("bl",1);ab.BZ=ae.A.BP("bl",0);ab.paint();var af=ab.E0();var an=ae.D.N+ZC._[34]+ae.D.N+ZC._[35]+ae.A.J+ZC._[6];ae.A.A.G0.push(ZC.L.E7("poly",ae.A.DQ,ae.A.ID)+‘class="‘+an+‘" id="‘+ae.N+ZC._[30]+af+‘" />‘)}for(var aj=0,au=ae.A.NX.length;aj<au;aj++){var I=ae.A.NX[aj];if(I!=null&&I.o[ZC._[5]]!=null&&I.o[ZC._[5]][ae.J]!=null){if(I.o[ZC._[19]]!=null||I.o[ZC._[20]]!=null){var R=new ZC.HC(ae.A);R.append(I.o);R.parse()}var ag=F=0;if(I.o[ZC._[19]]!=null){ag=R.I}if(I.o[ZC._[20]]!=null){F=R.F}if(ag==0){ag=ZC.BT(20,ao.X/10)}if(F==0){F=ZC.BT(16,at.X/10)}var av=new ZC.DA(ae.A);av.N=ae.N+"-arrow-entry";av.copy(ae);av.append(I.o);av.parse();var S,W,aa=[];if(ae.A.NX.length==1){W=ae.iY+at.X/2}else{var ad=at.X/(ae.A.NX.length+1);W=ae.iY+ad+aj*ad}if(ao.B2){S=ae.iX+ao.X+ag-al-ap/2+(am+aq)/4-Z/2+2;aa.push([S,W-2*F/6],[S-2*ag/3,W-F/6],[S-2*ag/3,W-3*F/6],[S-ag,W],[S-2*ag/3,W+3*F/6],[S-2*ag/3,W+F/6],[S,W+2*F/6],[S,W-2*F/6])}else{S=ae.iX+al-ag+ap/2-(am+aq)/4+Z/2-2;aa.push([S,W-2*F/6],[S+2*ag/3,W-F/6],[S+2*ag/3,W-3*F/6],[S+ag,W],[S+2*ag/3,W+3*F/6],[S+2*ag/3,W+F/6],[S,W+2*F/6],[S,W-2*F/6])}av.C=aa;av.parse();av.A0=ae.A.BP("bl",1);av.BZ=ae.A.BP("bl",0);av.paint();if(I.o[ZC._[10]]!=null&&I.o[ZC._[10]][ae.J]!=null&&I.o[ZC._[10]][ae.J]!=""){var ah=I.o[ZC._[10]][ae.J];var ak=new ZC.D2(ae.A);ak.N=ae.N+"-entry-label-"+aj;ak.F7=ae.N+"-entry-label "+ae.A.N+"-entry-label zc-entry-label";ak.copy(ae);ak.o.text=ah;ak.append(I.o);if(I.o.label!=null){ak.append(I.o.label)}ak.A0=ae.A.BP("fl",0);ak.parse();if(ao.B2){ak.iX=S+2}else{ak.iX=S-ak.I-2}ak.iY=W-ak.F/2;ak.paint();ak.DR()}}}for(var aj=0,au=ae.A.S3.length;aj<au;aj++){var ai=ae.A.S3[aj];if(ai!=null&&ai.o[ZC._[5]]!=null&&ai.o[ZC._[5]][ae.J]!=null){if(ai.o[ZC._[19]]!=null||ai.o[ZC._[20]]!=null){var R=new ZC.HC(ae.A);R.append(ai.o);R.parse()}var ag=F=0;if(ai.o[ZC._[19]]!=null){ag=R.I}if(ai.o[ZC._[20]]!=null){F=R.F}if(ag==0){ag=ZC.BT(20,ao.X/10)}if(F==0){F=ZC.BT(16,at.X/10)}var av=new ZC.DA(ae.A);av.N=ae.N+"-arrow-exit";av.copy(ae);av.append(ai.o);av.parse();var S,W,aa=[];if(ae.A.S3.length==1){W=ae.iY+at.X/2}else{var ad=at.X/(ae.A.S3.length+1);W=ae.iY+ad+aj*ad}if(ao.B2){S=ae.iX+C+ap/2-(am+aq)/4+Z/2-2;aa.push([S,W-2*F/6],[S-2*ag/3,W-F/6],[S-2*ag/3,W-3*F/6],[S-ag,W],[S-2*ag/3,W+3*F/6],[S-2*ag/3,W+F/6],[S,W+2*F/6],[S,W-2*F/6])}else{S=ae.iX+ao.X-C-ap/2+(am+aq)/4-Z/2+2;aa.push([S,W-2*F/6],[S+2*ag/3,W-F/6],[S+2*ag/3,W-3*F/6],[S+ag,W],[S+2*ag/3,W+3*F/6],[S+2*ag/3,W+F/6],[S,W+2*F/6],[S,W-2*F/6])}av.C=aa;av.parse();av.A0=ae.A.BP("bl",1);av.BZ=ae.A.BP("bl",0);av.paint();if(ai.o[ZC._[10]]!=null&&ai.o[ZC._[10]][ae.J]!=null&&ai.o[ZC._[10]][ae.J]!=""){var ah=ai.o[ZC._[10]][ae.J];var ak=new ZC.D2(ae.A);ak.N=ae.N+"-exit-label-"+aj;ak.F7=ae.N+"-exit-label "+ae.A.N+"-exit-label zc-exit-label";ak.copy(ae);ak.o.text=ah;ak.append(ai.o);if(ai.o.label!=null){ak.append(ai.o.label)}ak.parse();ak.A0=ae.A.BP("fl",0);if(ao.B2){ak.iX=S-ag-ak.I-2}else{ak.iX=S+ag+2}ak.iY=W-ak.F/2;ak.paint();ak.DR()}}}if(ae.A.T!=null){ae.GN()}},A7J:function(g){var e=this;if(ZC.move){return}if(e.A.G9!=null&&e.A.AP){e.b();var f=new ZC.DA(e.A);f.N=e.N+"-trapeze-hover";f.A0=ZC.AH(e.D.N+ZC._[22]);f.C=e.H.points;f.parse();f.AW=e.A.B1[1];f.BA=e.A.B1[1];f.W=e.A.B1[2];f.A5=e.A.B1[3];f.append(e.A.G9.o);f.parse();f.IG=function(a){return e.IG(a)};if(f.CJ()){f.parse()}if(f.AP){f.paint()}}}});ZC.A00=ZC.JH.BF({setup:function(){var h=this;var l=h.A.B8;var g=h.A.DV;var f=[l.Y,l.A3,g.Y,g.A3];if(h.H1!=f){if(l.B2){h.iY=l.iY+l.A7+h.J*l.X}else{h.iY=l.iY+l.F-l.A7-(h.J+1)*l.X}if(g.B2){h.iX=g.iX+g.I-g.A7-(h.A.J+1)*g.X}else{h.iX=g.iX+g.A7+h.A.J*g.X}h.H1=f}if(!h.GP){h.copy(h.A);h.DJ=h.A.DJ;if(h.CJ()){h.parse(false)}h.GP=true}},paint:function(){var ag=this;ag.b();var ap=ag.A.B8;var at=ag.A.DV;ag.setup();if(ag.A.X2=="static"){var aa=ag.D.AY.T4[ag.J];var X=ag.D.AY.A1P[ag.J]}else{var aa=ag.D.AY.BJ;var X=ag.D.AY.C7}var am=ag.A.IE;if(am<=1){am*=ap.X}var C=ag.A.KI;if(C<=1){C*=ap.X}var Z=ag.A.JB;if(Z<=1){Z*=ap.X}var ar=ap.X-am-C-Z;var ad=ag.AE;var s=ad/X;var an=Z+ar*s;var Y=0;if(ag.A.J+1<ag.A.A.AB.length&&ag.A.A.AB[ag.A.J+1].Q[ag.J]!=null){var Y=ag.A.A.AB[ag.A.J+1].Q[ag.J].AE}var K=Y/X;var aj=Z+ar*K;var aq=ag.iY+(ap.B2?am:C)+ar/2+Z/2;var ac=[];if(at.B2){ac.push([ag.iX+at.X,aq-an/2],[ag.iX+at.X,aq+an/2],[ag.iX,aq+aj/2],[ag.iX,aq-aj/2],[ag.iX+at.X,aq-an/2])}else{ac.push([ag.iX,aq-an/2],[ag.iX,aq+an/2],[ag.iX+at.X,aq+aj/2],[ag.iX+at.X,aq-aj/2],[ag.iX,aq-an/2])}ag.H.points=ac;if(ag.AP){var ab=new ZC.DA(ag.A);ab.N=ag.N+"-trapeze";ab.copy(ag);ab.C=ac;ab.parse();ab.A0=ag.A.BP("bl",1);ab.BZ=ag.A.BP("bl",0);ab.paint();var af=ab.E0();var ao=ag.D.N+ZC._[34]+ag.D.N+ZC._[35]+ag.A.J+ZC._[6];ag.A.A.G0.push(ZC.L.E7("poly",ag.A.DQ,ag.A.ID)+‘class="‘+ao+‘" id="‘+ag.N+ZC._[30]+af+‘" />‘)}for(var U=0,au=ag.A.NX.length;U<au;U++){var I=ag.A.NX[U];if(I!=null&&I.o[ZC._[5]]!=null&&I.o[ZC._[5]][ag.J]!=null){if(I.o[ZC._[19]]!=null||I.o[ZC._[20]]!=null){var R=new ZC.HC(ag.A);R.append(I.o);R.parse()}var ah=F=0;if(I.o[ZC._[19]]!=null){ah=R.I}if(I.o[ZC._[20]]!=null){F=R.F}if(F==0){F=ZC.BT(20,ap.X/10)}if(ah==0){ah=ZC.BT(16,at.X/10)}var av=new ZC.DA(ag.A);av.N=ag.N+"-arrow-entry";av.copy(ag);av.append(I.o);av.parse();var S,W,ac=[];if(ag.A.NX.length==1){S=ag.iX+at.X/2}else{var ae=at.X/(ag.A.NX.length+1);S=ag.iX+ae+U*ae}if(ap.B2){W=ag.iY+am-F+ar/2-(an+aj)/4+Z/2-2;ac.push([S-2*ah/6,W],[S+2*ah/6,W],[S+ah/6,W+2*F/3],[S+3*ah/6,W+2*F/3],[S,W+F],[S-3*ah/6,W+2*F/3],[S-ah/6,W+2*F/3])}else{W=ag.iY+ap.X+F-am-ar/2+(an+aj)/4-Z/2+2;ac.push([S-2*ah/6,W],[S+2*ah/6,W],[S+ah/6,W-2*F/3],[S+3*ah/6,W-2*F/3],[S,W-F],[S-3*ah/6,W-2*F/3],[S-ah/6,W-2*F/3])}av.C=ac;av.parse();av.A0=ag.A.BP("bl",1);av.BZ=ag.A.BP("bl",0);av.paint();if(I.o[ZC._[10]]!=null&&I.o[ZC._[10]][ag.J]!=null&&I.o[ZC._[10]][ag.J]!=""){var ai=I.o[ZC._[10]][ag.J];var al=new ZC.D2(ag.A);al.N=ag.N+"-entry-label-"+U;al.F7=ag.N+"-entry-label "+ag.A.N+"-entry-label zc-entry-label";al.copy(ag);al.o.text=ai;al.append(I.o);if(I.o.label!=null){al.append(I.o.label)}al.AN=ai;al.A0=ag.A.BP("fl",0);al.parse();al.iX=S-al.I/2;if(ap.B2){al.iY=W-al.F-2}else{al.iY=W+2}al.paint();al.DR()}}}for(var U=0,au=ag.A.S3.length;U<au;U++){var ak=ag.A.S3[U];if(ak!=null&&ak.o[ZC._[5]]!=null&&ak.o[ZC._[5]][ag.J]!=null){if(ak.o[ZC._[19]]!=null||ak.o[ZC._[20]]!=null){var R=new ZC.HC(ag.A);R.append(ak.o);R.parse()}var ah=F=0;if(ak.o[ZC._[19]]!=null){ah=R.I}if(ak.o[ZC._[20]]!=null){F=R.F}if(F==0){F=ZC.BT(20,ap.X/10)}if(ah==0){ah=ZC.BT(16,at.X/10)}var av=new ZC.DA(ag.A);av.N=ag.N+"-arrow-exit";av.copy(ag);av.append(ak.o);av.parse();var S,W,ac=[];if(ag.A.NX.length==1){S=ag.iX+at.X/2}else{var ae=at.X/(ag.A.NX.length+1);S=ag.iX+ae+U*ae}if(ap.B2){W=ag.iY+am+ar/2+(an+aj)/4+Z/2+2;ac.push([S-2*ah/6,W],[S+2*ah/6,W],[S+ah/6,W+2*F/3],[S+3*ah/6,W+2*F/3],[S,W+F],[S-3*ah/6,W+2*F/3],[S-ah/6,W+2*F/3])}else{W=ag.iY+ap.X-am-ar/2-(an+aj)/4-Z/2-2;ac.push([S-2*ah/6,W],[S+2*ah/6,W],[S+ah/6,W-2*F/3],[S+3*ah/6,W-2*F/3],[S,W-F],[S-3*ah/6,W-2*F/3],[S-ah/6,W-2*F/3])}av.C=ac;av.parse();av.A0=ag.A.BP("bl",1);av.BZ=ag.A.BP("bl",0);av.paint();if(ak.o[ZC._[10]]!=null&&ak.o[ZC._[10]][ag.J]!=null&&ak.o[ZC._[10]][ag.J]!=""){var ai=ak.o[ZC._[10]][ag.J];var al=new ZC.D2(ag.A);al.N=ag.N+"-exit-label-"+U;al.F7=ag.N+"-exit-label "+ag.A.N+"-exit-label zc-exit-label";al.copy(ag);al.o.text=ai;al.append(ak.o);if(ak.o.label!=null){al.append(ak.o.label)}al.AN=ai;al.A0=ag.A.BP("fl",0);al.parse();al.iX=S-al.I/2;if(ap.B2){al.iY=W+F+2}else{al.iY=W-F-al.F-2}al.paint();al.DR()}}}if(ag.A.T!=null){ag.GN()}},A7J:function(g){var e=this;if(ZC.move){return}if(e.A.G9!=null&&e.A.AP){e.b();var f=new ZC.DA(e.A);f.N=e.N+"-trapeze-hover";f.A0=ZC.AH(e.D.N+ZC._[22]);f.C=e.H.points;f.parse();f.AW=e.A.B1[1];f.BA=e.A.B1[1];f.W=e.A.B1[2];f.A5=e.A.B1[3];f.append(e.A.G9.o);f.parse();f.IG=function(a){return e.IG(a)};if(f.CJ()){f.parse()}if(f.AP){f.paint()}}}});ZC.A1N=ZC.JH.BF({GM:null,setup:function(){var o=this;var p=o.A.B8;var l=o.A.DV;var h=[p.Y,p.A3,l.Y,l.A3];if(o.H1!=h){if(o.CF!=null){o.iX=p.B7(o.CF)}else{o.iX=p.NN(o.J)}o.iY=l.B7(o.AE);o.H.SM=l.B7(o.AE);o.H.A5I=l.B7(o.CS[0]);o.H.A6B=l.B7(o.CS[1]);o.H.QZ=l.B7(o.CS[2]);o.H1=h}if(!o.GP||o.A.JZ&&o.A.JX[ZC._[21]]<3){o.copy(o.A);o.DJ=o.A.DJ;if(o.CJ()){o.parse(false)}o.GM=new ZC.D2(o.A);o.GM.copy(o);if(o.CS[2]<o.AE){o.GM.W=o.GM.A5=o.BO;o.GM.BA=o.AW}if(o.CS[2]<o.AE){if(o.A.o["trend-down"]){o.GM.append(o.A.o["trend-down"]);o.GM.parse()}if(!o.A.JX.down){o.A.JX.down=new ZC.D2(o.A);o.A.JX.down.copy(o.GM);o.A.JX[ZC._[21]]++}}else{if(o.CS[2]>o.AE){if(o.A.o["trend-up"]){o.GM.append(o.A.o["trend-up"]);o.GM.parse()}if(!o.A.JX.up){o.A.JX.up=new ZC.D2(o.A);o.A.JX.up.copy(o.GM);o.A.JX[ZC._[21]]++}}else{if(o.A.o["trend-equal"]){o.GM.append(o.A.o["trend-equal"]);o.GM.parse()}if(!o.A.JX.equal){o.A.JX.equal=new ZC.D2(o.A);o.A.JX.equal.copy(o.GM);o.A.JX[ZC._[21]]++}}}o.GP=true}if(o.A.JZ){if(o.CS[2]<o.AE){o.GM=o.A.JX.down}else{if(o.CS[2]>o.AE){o.GM=o.A.JX.up}else{o.GM=o.A.JX.equal}}var m=ZC.DI(o.H.SM,o.H.QZ);var n=ZC.BT(o.H.SM,o.H.QZ)-ZC.DI(o.H.SM,o.H.QZ);if(n<2){n=2}o.H.A2K=m+n/2}},KV:function(m,n){var g=this;var l=g.A.L0();ZC._cp_(n,l);function h(a){return ZC.AQ.FZ(a,l)}g.D4=[["%node-value-stock-open",h(g.AE)],["%v0",h(g.AE)],["%node-value-stock-high",h(g.CS[0])],["%v1",h(g.CS[0])],["%node-value-stock-low",h(g.CS[1])],["%v2",h(g.CS[1])],["%node-value-stock-close",h(g.CS[2])],["%v3",h(g.CS[2])]];m=g.b(m,n);return m},A4E:function(){var f=this,l;f.CS=[];if(f.o[ZC._[9]] instanceof Array&&f.o[ZC._[9]].length==5){f.CF=ZC._f_(f.o[ZC._[9]][0]);if(f.CF!=null){if(f.A.K3[f.CF]==null||ZC.AG(f.A.K3[f.CF],f.J)==-1){f.A.QD(f.CF,f.J)}}var h=[f.o[ZC._[9]][1],f.o[ZC._[9]][2],f.o[ZC._[9]][3],f.o[ZC._[9]][4]]}else{if(f.o[ZC._[9]][1] instanceof Array){if(typeof f.o[ZC._[9]][0]=="string"){var g=ZC.AG(f.D.I1,f.o[ZC._[9]][0]);if(g!=-1){f.CF=g}else{f.D.I1.push(f.o[ZC._[9]][0]);f.CF=f.D.I1.length-1}}else{f.CF=ZC._f_(f.o[ZC._[9]][0])}if(f.CF!=null){if(f.A.K3[f.CF]==null||ZC.AG(f.A.K3[f.CF],f.J)==-1){f.A.QD(f.CF,f.J)}}var h=f.o[ZC._[9]][1]}else{var h=f.o[ZC._[9]]}}f.CC=h.join(" ");f.AE=ZC._f_(h[0]);if((l=h[1])!=null){f.CS.push(ZC._f_(l))}if((l=h[2])!=null){f.CS.push(ZC._f_(l))}if((l=h[3])!=null){f.CS.push(ZC._f_(l))}},A5U:function(){var c=this;var e={};if(c.CS[2]<c.AE){e[ZC._[0]]=c.GM.AW}else{e[ZC._[0]]=c.GM.W}e.color=c.GM.BO;return e},T0:function(){var c=this;var e={};if(c.CS[2]<c.AE){e[ZC._[0]]=c.GM.AW}else{e[ZC._[0]]=c.GM.W}e.color=c.GM.BO;return e},A1Y:function(){return this.T0()},paint:function(){var P=this,R;P.b();var ab=P.A.B8;P.setup();var ad=ab.X*P.A.U;var Z=P.A.J;var C=0;for(var s=0;s<P.A.A.I3.stock.length;s++){C++;if(ZC.AG(P.A.A.I3[P.A.AC][s],P.A.J)!=-1){Z=s}}var ae=P.A.D1;if(ae<=1){ae*=ad}var K=P.A.D6;if(K<=1){K*=ad}var L=ad-ae-K;var H=P.A.F5;if(H<=1){H*=L}if(L<1){L=ad*0.8;ae=ad*0.1;K=ad*0.1}var X=L;var I=P.A.EU;if(I!=0){H=0}if(C>1){if(I>1){X=(L-(C-1)*H+(C-1)*I)/C}else{X=(L-(C-1)*H)/(C-(C-1)*I);I*=X}}X=ZC._l_(X,1,L);var N=P.iX-ad/2+ae+Z*(X+H)-Z*I;N=ZC._l_(N,P.iX-ad/2+ae,P.iX+ad/2-K);var W=X;var Q=ZC.DI(P.H.SM,P.H.QZ);var U=ZC.BT(P.H.SM,P.H.QZ)-ZC.DI(P.H.SM,P.H.QZ);if(U<2){U=2}if(ae+K==0){N-=0.5;W+=1}P.I=W;P.F=U;P.iX=N;P.H.A2K=Q+U/2;P.saveData({x:N,y:Q,w:W,h:U});if(P.AP){var S=ZC.L.DF(P.G.usc()?P.G.N+"-main-c":P.G.JU?P.D.N+"-plots-bl-c":P.D.N+"-plot-"+P.A.J+"-bl-1-c",P.G.A8);var J=P.iX+P.I/2;if(P.CS[2]<P.AE&&(R=P.A.o["trend-down"])){P.H["selected-state"]=R["selected-state"];P.H["background-state"]=R["background-state"]}else{if(P.CS[2]>P.AE&&(R=P.A.o["trend-up"])){P.H["selected-state"]=R["selected-state"];P.H["background-state"]=R["background-state"]}else{if(P.CS[2]==P.AE&&(R=P.A.o["trend-equal"])){P.H["selected-state"]=R["selected-state"];P.H["background-state"]=R["background-state"]}}}var ac=P.A.GF(P,P.GM);switch(P.A.CH){case"candlestick":default:var O=[];O.push([J,P.H.A5I],[J,ZC.DI(P.H.SM,P.H.QZ)],null,[J,P.H.A6B],[J,ZC.BT(P.H.SM,P.H.QZ)]);ZC.C8.paint(S,ac,O);var M,Y;if(P.CS[2]<P.AE){Y=P.A.A63}else{if(P.CS[2]>P.AE){Y=P.A.A75}else{Y=P.A.A5H}}if(P.A.DJ.length==0&&typeof Y!=ZC._[31]&&!P.S.o.override&&!P.D.KJ){M=Y}else{M=new ZC.HC(P.A);M.copy(ac)}M.A0=P.A.BP("bl",1);M.BZ=P.A.BP("bl",0);M.N=P.N;M.iX=N;M.iY=Q;M.I=P.I;M.F=P.F;M.paint();if(P.A.DJ.length==0&&typeof Y==ZC._[31]&&!P.S.o.override&&!P.D.KJ){if(P.CS[2]<P.AE){P.A.A63=M}else{if(P.CS[2]>P.AE){P.A.A75=M}else{P.A.A5H=M}}}break;case"whisker":case"ohlc":var O=[];O.push([J,P.H.A5I],[J,P.H.A6B],null,[J-P.I/4,P.H.SM],[J,P.H.SM],null,[J+P.I/4,P.H.QZ],[J,P.H.QZ]);ZC.C8.paint(S,ac,O);break}if(P.A.FJ){var aa=P.D.N+ZC._[34]+P.D.N+ZC._[35]+P.A.J+ZC._[6];P.A.A.G0.push(ZC.L.E7("rect",P.A.DQ,P.A.ID)+‘class="‘+aa+‘" id="‘+P.N+ZC._[30]+ZC._i_(N+ZC.MAPTX)+","+ZC._i_(Q+ZC.MAPTX)+","+ZC._i_(N+W+ZC.MAPTX)+","+ZC._i_(Q+U+ZC.MAPTX)+‘" />‘)}if(P.A.T!=null){P.GN()}}},A7J:function(l){var g=this;if(ZC.move){return}if(g.A.G9!=null&&g.A.AP){g.b();switch(g.A.CH){case"candlestick":var h=new ZC.HC(g.A);h.N=g.N+"-hover";h.A0=ZC.AH(g.D.N+ZC._[22]);h.BO=g.A.B1[0];h.AW=g.A.B1[1];h.BA=g.A.B1[1];h.W=g.A.B1[2];h.A5=g.A.B1[3];h.append(g.A.G9.o);h.MF=true;h.parse();h.IG=function(a){return g.IG(a)};if(h.CJ()){h.parse()}if(g.CS[2]<g.AE){h.W=h.A5=h.BO;h.BA=h.AW}if(g.CS[2]<g.AE&&g.A.o["trend-down"]){h.append(g.A.o["trend-down"]);h.append(g.A.o["hover-state"]);if(g.A.o["trend-down"]["hover-state"]){h.append(g.A.o["trend-down"]["hover-state"])}h.parse()}else{if(g.CS[2]>g.AE&&g.A.o["trend-up"]){h.append(g.A.o["trend-up"]);h.append(g.A.o["hover-state"]);if(g.A.o["trend-up"]["hover-state"]){h.append(g.A.o["trend-up"]["hover-state"])}h.parse()}else{if(g.CS[2]==g.AE&&g.A.o["trend-equal"]){h.append(g.A.o["trend-equal"]);h.append(g.A.o["hover-state"]);if(g.A.o["trend-equal"]["hover-state"]){h.append(g.A.o["trend-equal"]["hover-state"])}h.parse()}}}h.iX=g.getData("x");h.iY=g.getData("y");h.I=g.getData("w");h.F=g.getData("h");var f=g.D.P;if(h.iY<f.iY){h.F=h.F-(f.iY-h.iY);h.iY=f.iY}if(h.iY+h.F>f.iY+f.F){h.F=f.iY+f.F-h.iY}if(h.AP){h.paint()}break}}}});ZC.A18=ZC.JH.BF({setup:function(){var p=this,o=p.D.BB("scale"),h=p.J%o.I5,n=Math.floor(p.J/o.I5),l=p.D.BB("scale-r"),m=l.CQ/(l.C7-l.BJ);p.iX=o.iX+h*o.F0+o.F0/2;p.iY=o.iY+n*o.EZ+o.EZ/2;p.H.angle=l.CK-l.CQ/2+m*(p.AE-l.BJ);if(l.B2){p.H.angle=l.CK+l.CQ/2-m*(p.AE-l.BJ)}if(!p.GP){p.copy(p.A);p.DJ=p.A.DJ;if(p.CJ()){p.parse(false)}p.GP=true}},A6M:function(y){var p=this,z=p.D.BB("scale"),r=ZC.DI(z.F0/2,z.EZ/2)*z.KA,q=p.J%z.I5,u=Math.floor(p.J/z.I5),s=z.iX+q*z.F0+z.F0/2+z.C1,t=z.iY+u*z.EZ+z.EZ/2+z.BW,v=ZC.AX.BK(s,t,r/2+y.DS,p.H.angle),w=v[0]-y.DP/2+p.C1,x=v[1]-y.D9/2+p.BW;if(y.o.x!=null){w=y.iX}if(y.o.y!=null){x=y.iY}return[ZC._i_(w),ZC._i_(x)]},A5U:function(b){return{color:this.AW}},T0:function(){return{"background-color":this.AW,color:this.BO}},paint:function(){var J=this;J.b();J.setup();J.D5=false;var H=J.D.BB("scale"),p=ZC.DI(H.F0/2,H.EZ/2)*H.KA,R=J.J%H.I5,O=Math.floor(J.J/H.I5),Y=H.iX+R*H.F0+H.F0/2+H.C1,L=H.iY+O*H.EZ+H.EZ/2+H.BW;var M=J.AO;if(M>0&&M<=1){M*=p}var P=J.S=J.A.GF(J,J);var X=new ZC.DA(J.A);X.copy(P);X.A0=J.A.BP("bl",1);X.BZ=J.A.BP("bl",0);X.N=J.N+"-arrow";function Q(a){var c=[],f=J.A.HR;for(var e=f[2];e<=f[3];e+=2){c.push(ZC.AX.BK(Y,L,f[0],a+270-e))}if(f[1]==0){c.push(ZC.AX.BK(Y,L,M>0?M:p*0.9,a))}else{if(f[1]>0){var b=ZC.AX.BK(Y,L,M>0?M:p*0.9,a);for(var e=f[4];e<=f[5];e+=2){c.push(ZC.AX.BK(b[0],b[1],f[1],a-270-e))}}else{var b=ZC.AX.BK(Y,L,(M>0?M:p*0.9)+f[1],a);c.push(ZC.AX.BK(b[0],b[1],ZC._a_(f[0]/2),a+90),ZC.AX.BK(b[0],b[1],ZC._a_(f[1]),a+90),ZC.AX.BK(Y,L,M>0?M:p*0.9,a),ZC.AX.BK(b[0],b[1],ZC._a_(f[1]),a+270),ZC.AX.BK(b[0],b[1],ZC._a_(f[0]/2),a+270))}}return c}function U(){var b=X.E0();var a=J.D.N+ZC._[34]+J.D.N+ZC._[35]+J.A.J+ZC._[6];var c=ZC.L.E7("poly",J.A.DQ,J.A.ID)+‘class="‘+a+‘" id="‘+J.N+ZC._[30]+b+‘" />‘;J.A.A.G0.push(c);if(J.A.T!=null){J.GN()}}var s=J.D.BB("scale-r"),K=s.CK-s.CQ/2;var I=Q(J.H.angle);J.H.points=I;X.DY="poly";X.C=I;X.parse();X.IG=function(a){return J.IG(a)};if(X.CJ()){X.parse()}if(J.A.FP&&!J.D.H5){var N=X,W={};var C=J.A.IT;N.BC=0;W.alpha=P.BC;if(C==1){}else{if(C==2){N.X4=K;W.X4=J.H.angle}}for(var G in J.A.E9){N[ZC.CR.GJ[ZC.CX(G)]]=J.A.E9[G];W[ZC.CX(G)]=P[ZC.CR.GJ[ZC.CX(G)]]}if(J.D.DH==null){J.D.DH={}}if(J.D.DH[J.A.J+"-"+J.J]!=null){for(var G in J.D.DH[J.A.J+"-"+J.J]){var D=ZC.CR.GJ[ZC.CX(G)];if(D==null){D=G}N[D]=J.D.DH[J.A.J+"-"+J.J][G]}}J.D.DH[J.A.J+"-"+J.J]={};ZC._cp_(W,J.D.DH[J.A.J+"-"+J.J]);var S=new ZC.CR(N,W,J.A.GV,J.A.IP,ZC.CR.NL[J.A.IQ],function(){U()});S.AT=J;S.V2=function(a,b){if(b.X4!=null){a.C=Q(b.X4)}};J.J6(S)}else{X.paint();U()}},A7J:function(c){var e=this;if(ZC.move){return}e.JF({layer:c,type:"shape",initcb:function(){this.copy(e);this.AW=e.A.B1[1];this.BA=e.A.B1[1];this.W=e.A.B1[3];this.A5=e.A.B1[2];this.C=e.H.points;this.A0=this.BZ=e.A.BP("bl",2)}})}});ZC.A1K=ZC.JH.BF({$i:function(e){var c=this;c.b(e);c.C2=null;c.CV=null;c.NE="min"},KV:function(g,e){var f=this;f.D4=[["%node-min-value",f.C2],["%node-max-value",f.CV]];g=f.b(g,e);return g},A4E:function(){var g=this;if(g.o[ZC._[9]][1] instanceof Array){if(typeof g.o[ZC._[9]][0]=="string"){var f=ZC.AG(g.D.I1,g.o[ZC._[9]][0]);if(f!=-1){g.CF=f}else{g.D.I1.push(g.o[ZC._[9]][0]);g.CF=g.D.I1.length-1}}else{g.CF=ZC._f_(g.o[ZC._[9]][0])}if(g.CF!=null){if(g.A.K3[g.CF]==null||ZC.AG(g.A.K3[g.CF],g.J)==-1){g.A.QD(g.CF,g.J)}}var e=g.o[ZC._[9]][1]}else{var e=g.o[ZC._[9]]}if(typeof e[0]=="string"){var f=ZC.AG(g.D.GB,e[0]);if(f!=-1){g.C2=f}else{g.D.GB.push(e[0]);g.C2=g.D.GB.length-1}}else{g.C2=ZC._f_(e[0])}g.CS.push(g.C2);if(typeof e[1]=="string"){var f=ZC.AG(g.D.GB,e[1]);if(f!=-1){g.CV=f}else{g.D.GB.push(e[1]);g.CV=g.D.GB.length-1}}else{g.CV=ZC._f_(e[1])}g.CC=e.join(" ");g.AE=g.CV},setup:function(){var h=this;var l=h.A.B8;var g=h.A.DV;var f=[l.Y,l.A3,g.Y,g.A3,h.NE];if(h.AF==null){h.AF=[]}if(h.H1!=f){if(h.CF!=null){h.iX=l.B7(h.CF)}else{h.iX=l.NN(h.J)}h.iY=g.B7(h.NE=="min"?h.C2:h.CV);h.H1=f}if(!h.GP){h.copy(h.A);h.DJ=h.A.DJ;if(h.CJ()){h.parse()}h.H.SW=g.B7(h.C2);h.H.SV=g.B7(h.CV);h.GP=true}},A5U:function(b){return{color:this.AW}},T0:function(){return{"background-color":this.AW,color:this.BO}},paint:function(){var Y=this,ae;Y.b();var am=Y.A.B8;var ah=Y.A.NW;var al=Y.A.Q;Y.setup();if(Y.A.o[Y.NE+"-line"]!=null){Y.append(Y.A.o[Y.NE+"-line"]);Y.parse()}Y.D5=false;Y.BZ=Y.A.BP("bl",1);var ak=[];var ad=[];switch(Y.A.CH){case"segmented":default:var at=true;if(!am.ES&&Y.J<=am.Y){at=false}if(al[Y.J-Y.A.U]==null){at=false}if(at){al[Y.J-Y.A.U].NE=Y.NE;al[Y.J-Y.A.U].setup();var C=[Y.iX,Y.H.SW];var P=[al[Y.J-Y.A.U].iX,al[Y.J-Y.A.U].H.SW];var Q=[Y.iX,Y.H.SV];var W=[al[Y.J-Y.A.U].iX,al[Y.J-Y.A.U].H.SV];var R=ZC.AX.A5N(C,P,Q,W);if(ZC.EO(R[0],al[Y.J-Y.A.U].iX,Y.iX)){var ar=R}else{var ar=ZC.AX.IA(al[Y.J-Y.A.U].iX,al[Y.J-Y.A.U].iY,al[Y.J].iX,al[Y.J].iY)}ad.push([ZC._i_(ar[0]),ar[1]]);ak.push([ar[0],ar[1]])}ad.push([ZC._i_(Y.iX),Y.iY]);ak.push([Y.iX,Y.iY]);var ag=true;if(!am.ES&&Y.J>=am.A3){ag=false}if(al[Y.J+Y.A.U]==null){ag=false}if(ag){al[Y.J+Y.A.U].NE=Y.NE;al[Y.J+Y.A.U].setup();var C=[Y.iX,Y.H.SW];var P=[al[Y.J+Y.A.U].iX,al[Y.J+Y.A.U].H.SW];var Q=[Y.iX,Y.H.SV];var W=[al[Y.J+Y.A.U].iX,al[Y.J+Y.A.U].H.SV];var R=ZC.AX.A5N(C,P,Q,W);if(ZC.EO(R[0],al[Y.J+Y.A.U].iX,Y.iX)){var ar=R}else{var ar=ZC.AX.IA(al[Y.J].iX,al[Y.J].iY,al[Y.J+Y.A.U].iX,al[Y.J+Y.A.U].iY)}ad.push([ZC._i_(ar[0]),ar[1]]);ak.push([ar[0],ar[1]])}break;case"spline":if(typeof Y.H["intersect.index"]==ZC._[31]){Y.H["intersect.index"]=-1;if(al[Y.J+Y.A.U]!=null){var av=[];var aq=[];for(var aa=-1;aa<3;aa++){if(al[Y.J+aa]!=null){al[Y.J+aa].setup();av.push(al[Y.J+aa].H.SW);aq.push(al[Y.J+aa].H.SV)}else{av.push(Y.H.SW);aq.push(Y.H.SV)}}var au=ZC.AX.UI(av,ZC._i_(am.X*Y.A.U));var ao=ZC.AX.UI(aq,ZC._i_(am.X*Y.A.U));if(al[Y.J+Y.A.U].C2==al[Y.J+Y.A.U].CV){Y.H["intersect.index"]=au.length}else{var U=au[0][1]-ao[0][1];for(var aa=1,aw=au.length;aa<aw;aa++){if(Math.round(U*(au[aa][1]-ao[aa][1]),2)<=0){Y.H["intersect.index"]=aa+1;break}}}Y.H["spline.points.min"]=au;Y.H["spline.points.max"]=ao}}if(Y.A.X1==null){Y.A.X1={}}if(Y.A.O7==null){Y.A.O7={}}var af=[];var an=[];if(Y.NE=="min"){if(Y.A.O7.max!=null){for(var aa=Y.A.O7.max.length-1;aa>=0;aa--){Y.AF.push(Y.A.O7.max[aa])}}if((ae=Y.A.O7.min)!=null){for(var aa=0,aw=ae.length;aa<aw;aa++){Y.AF.push(ae[aa])}}}if((ae=Y.A.X1[Y.NE])!=null){ak=[];for(var aa=0,aw=ae.length;aa<aw;aa++){ak.push(ae[aa])}}if(al[Y.J+Y.A.U]!=null){if(Y.NE=="min"){var s=Y.H["spline.points.min"]}else{if(Y.NE=="max"){var s=Y.H["spline.points.max"]}}if(Y.H["intersect.index"]==-1){var ax=ZC._i_(s.length/2)}else{var ax=Y.H["intersect.index"]}for(var aa=0;aa<ax;aa++){ak.push([Y.iX+(am.B2?-1:1)*s[aa][0]*am.X,s[aa][1]]);ad.push([ZC._i_(Y.iX+(am.B2?-1:1)*s[aa][0]*am.X),s[aa][1]])}var Z=Y.G6==1?ZC.DI(2,ax):1;for(var aa=ax-1,aw=s.length;aa<aw;aa++){af.push([Y.iX+(am.B2?-1:1)*s[aa][0]*am.X,s[aa][1]])}for(var aa=ax-Z,aw=s.length;aa<aw;aa++){an.push([ZC._i_(Y.iX+(am.B2?-1:1)*s[aa][0]*am.X),s[aa][1]])}}else{ak.push([al[Y.J].iX,al[Y.J].iY]);af.push([ZC._i_(al[Y.J].iX),al[Y.J].iY]);ad.push([ZC._i_(al[Y.J].iX),al[Y.J].iY]);an.push([ZC._i_(al[Y.J].iX),al[Y.J].iY])}Y.A.X1[Y.NE]=af;Y.A.O7[Y.NE]=an;break}if(Y.NE=="min"){for(var aa=0,aw=ad.length;aa<aw;aa++){Y.AF.push(ad[aa])}}else{for(var aa=ad.length-1;aa>=0;aa--){Y.AF.push(ad[aa])}}if(Y.NE=="max"){var ac=new ZC.DA(Y.A);ac.N=Y.N+"-area";ac.A0=Y.A.BP("bl",0);ac.copy(Y);ac.AM=0;ac.AA=0;ac.F8=0;ac.H2=0;ac.parse();ac.C=Y.AF;ac.BC=Y.A.G6;var ai=Y.D.P;ac.DN=[ai.iX,ai.iY,ai.iX+ai.I,ai.iY+ai.F];ac.paint();Y.H.pointsarea=[];for(var aa=0,aw=Y.AF.length;aa<aw;aa++){Y.H.pointsarea.push(Y.AF[aa])}Y.AF=[];var X=ac.E0();var aj=Y.D.N+ZC._[34]+Y.D.N+"-plot-"+Y.A.J+ZC._[6];Y.A.A.G0.push(ZC.L.E7("poly",Y.A.DQ,Y.A.ID)+‘class="‘+aj+‘" id="‘+Y.N+"--area"+ZC._[30]+X+‘" />‘)}Y.H.points=ak;var ap=new ZC.DZ(Y);ap.copy(Y);ap.append(Y.A.o[Y.NE+"-line"]);ap.parse();ZC.C8.setup(ah,ap);ZC.C8.paint(ah,ap,ak);if(ZC.EO(Y.iX,am.iX-1,am.iX+am.I+1)&&ZC.EO(Y.iY,am.iY-1,am.iY+am.F+1)){var ab=new ZC.DA(Y.A);ab.N=Y.N+"-marker";ab.A0=Y.A.BP("fl",0);ab.A0=Y.D.A0;ab.iX=Y.iX;ab.iY=Y.iY;ab.AW=Y.A.B1[3];ab.BA=Y.A.B1[3];ab.W=Y.A.B1[2];ab.A5=Y.A.B1[2];ab.append(Y.A.AD.o);ab.parse();ab.IG=function(a){return Y.IG(a)};if(ab.CJ()){ab.parse()}if(ab.AP&&ab.AC!="none"){if(Y.A.JM>am.A3-am.Y){ab.paint()}Y.H["marker.type"]=ab.DY;var aj=Y.D.N+ZC._[34]+Y.D.N+ZC._[35]+Y.A.J+ZC._[6];if(am.B2){ak.reverse()}var X=ZC.AX.OT(ZC.AX.XM(Y.H.points),4);if(X!=""){Y.A.A.G0.push(ZC.L.E7("poly",Y.A.DQ,Y.A.ID)+‘class="‘+aj+‘" id="‘+Y.N+"--"+Y.NE+ZC._[30]+X+‘" />‘)}else{Y.A.A.G0.push(ZC.L.E7("circle",Y.A.DQ,Y.A.ID)+‘class="‘+aj+‘" id="‘+Y.N+"--"+Y.NE+ZC._[30]+ZC._i_(ab.iX+ZC.MAPTX)+","+ZC._i_(ab.iY+ZC.MAPTX)+","+ZC._i_(ZC.BT(3,ab.AO)*1.5)+‘" />‘)}}if(Y.A.T!=null){Y.GN()}}},A7J:function(p){var n=this;if(ZC.move){return}var r=n.A.B8;if(n.A.G1!=null&&n.A.AP){var u=ZC.L.DF(n.D.N+ZC._[22],n.G.A8);var s=new ZC.DA(n.A);s.N=n.N+"-area-hover";s.A0=ZC.AH(n.D.N+ZC._[22]);s.KO=true;s.copy(n);s.append(n.A.G9.o);s.C=n.H.pointsarea;s.parse();s.BC=n.A.G6;var q=n.D.P;s.DN=[q.iX,q.iY,q.iX+q.I,q.iY+q.F];ZC.C8.setup(u,s);s.paint();var v=ZC.L.DF(n.D.N+ZC._[22],n.G.A8);var o=new ZC.DZ(n.A);o.N=n.N+"-line-hover";o.D5=false;o.AW=n.A.B1[3];o.append(n.A.G9.o);o.parse();o.IG=function(a){return n.IG(a)};if(o.CJ()){o.parse()}ZC.C8.setup(v,o);ZC.C8.paint(v,o,n.H.points)}if(n.A.JM>r.A3-r.Y){if(n.A.G1!=null&&n.A.AP){n.b();var t=new ZC.DA(n.A);t.N=n.N+"-area-hover";t.A0=ZC.AH(n.D.N+ZC._[22]);t.DY=n.H["marker.type"];t.iX=n.iX;t.iY=n.iY;t.AW=n.A.B1[3];t.BA=n.A.B1[3];t.W=n.A.B1[2];t.A5=n.A.B1[2];t.append(n.A.G1.o);t.parse();t.IG=function(a){return n.IG(a)};if(t.CJ()){t.parse()}if(t.AP&&t.AC!="none"){t.paint()}}}}});ZC.A17=ZC.JH.BF({T:null,$i:function(b){this.b(b)},parse:function(){this.b()},KV:function(n,o){var p=this;var m=p.A.L0();ZC._cp_(o,m);var h=p.AE*100/p.A.A.MP[p.J],l=new String(h);if(m[ZC._[12]]!=null){l=h.toFixed(ZC.BT(0,ZC._i_(m[ZC._[12]])))}p.D4=[["%node-percent-value",l],["%npv",l]];n=p.b(n,o);return n},VL:function(n){var l=this,q;var m=(l.AL+l.AZ)/2%360;var p=0;if((q=n["offset-r"])!=null){p=ZC._f_(ZC._p_(q))}if(p<1){p*=l.AO}var r=new ZC.CI(l.D,(l.C4+0.5*(l.AO-l.C4)+l.DS+T.DS)*ZC.DG(m),(l.C4+0.5*(l.AO-l.C4)+l.DS+T.DS)*ZC.DD(m),0);var o=r.ED;return[o[0],o[1],{reference:l,center:true}]},setup:function(){var f=this;var h=f.D.BB(f.A.BH("k")[0]);var g=f.J%h.I5;var l=Math.floor(f.J/h.I5);f.iX=h.iX+(h.I5-1-g)*h.F0+h.F0/2+h.C1;f.iY=h.iY+(h.LS-1-l)*h.EZ+h.EZ/2+h.BW;if(!f.GP){f.copy(f.A);f.DJ=f.A.DJ;if(f.CJ()){f.parse()}f.GP=true}},A5U:function(e){var g={};var f="out";if(e.o[ZC._[7]]!=null){f=e.o[ZC._[7]]}if(f=="out"){g.color=this.W}else{g.color=this.BO}return g},A6M:function(aG){var ah=this;var aq="out";if(aG.o[ZC._[7]]!=null){aq=aG.o[ZC._[7]]}var at=(ah.AL+ah.AZ)/2%360;var ae,ag;var az=ah.D.BB(ah.A.BH("k")[0]);var s=ah.J%az.I5;var aF=Math.floor(ah.J/az.I5);if(aq!="in"){var ao=(ah.AO*1.25+ah.DS+aG.DS)*ZC.DG(at);var au=(ah.AO*1.25+ah.DS+aG.DS)*ZC.DD(at);var al=az.iX+s*az.F0+az.F0/2+az.C1;var Z=az.iY+aF*az.EZ+az.EZ/2+az.BW;ae=al+ao+aG.C1-aG.I/2;ag=Z+au+aG.BW-aG.F/2;var ad=ag;ah.T=aG;if(at>=0&&at<=90||at>=270&&at<=360){ae+=aG.I/2+10}else{ae-=aG.I/2+10}var af=new ZC.CI(ah.D,ae-ZC.AU.ER,ag-ZC.AU.EQ,0);ae=af.ED[0];ag=af.ED[1];var W=null;var aD=-1;var X=al;var Y=Z;if(ah.A.J>0&&ah.A.A.AB[ah.A.J-1].Q.length>ah.J){W=ah.A.A.AB[ah.A.J-1].Q[ah.J];if(W&&W.T!=null&&W.T.AP&&W.AE!=null){var aH=W.T.iY;var aj=W.T.F;aD=(W.AL+W.AZ)/2%360;var an=0;var ap=ae-X;var aA=ag-Y;var av=Math.sqrt(ap*ap+aA*aA);if(at>0&&at<90||at>270&&at<360&&aD>0&&aD<90||aD>270&&aD<360){if(ag<aH+aj){var ac=aH+aj+2;an=ac-ag;ag=ac}}else{if(at>90&&at<270&&aD>90&&aD<270){if(aH<ag+aG.F){var ac=aH-aG.F-2;an=ag-ac;ag=ac}}}if(an!=0&&at){var aB=ag-Y;if(av>=aB&&(at>90&&at<180||at>=270)){var ab;var ai=Math.asin(aB/av);if(at>90&&at<270){ab=X-av*Math.cos(ai)}else{ab=X+av*Math.cos(ai)}ae=ab}}}}var aw=true;var ak=0;var ap=ae-X;var aA=ag-Y;var av=Math.sqrt(ap*ap+aA*aA);var ay=0;while(aw&&ak<20){aw=false;ak++;var ar={x:ae,y:ag,width:aG.I,height:aG.F};for(var aa=0,aC=ah.A.A.QH.length;aa<aC;aa++){ar.x=ae;ar.y=ag;var aE=ah.A.A.QH[aa];if(ZC.AX.YC(ar,aE)){if(ay==0){if(ad<aE.oy){ay=-1}else{ay=1}}if(W!=null&&aD!=-1){if((at>=0&&at<=90||at>=270&&at<=360)&&(aD>=0&&aD<=90||aD>=270&&aD<=360)){if(ag<aH+aj){ay=1}}else{if(at>90&&at<270&&aD>90&&aD<270){if(aH<ag+aG.F){ay=-1}}}}if(ay==-1){ag=aE.y-aG.F-2}else{ag=aE.y+aE.height+2}var aB=Math.abs(ag-Y);if(av>=aB&&(at>90&&at<180||at>=270)){var ab;var ai=Math.asin(aB/av);if(at>90&&at<270){ab=X-av*Math.cos(ai)}else{ab=X+av*Math.cos(ai)}ae=ab}aw=true}}}var aE={x:ae,y:ag,width:aG.I,height:aG.F,plotindex:ah.A.J,nodeindex:ah.J,oy:ad};ah.A.A.QH.push(aE)}else{var am=new ZC.CI(ah.D,(ah.C4+0.5*(ah.AO-ah.C4)+ah.DS+aG.DS)*ZC.DG(at),(ah.C4+0.5*(ah.AO-ah.C4)+ah.DS+aG.DS)*ZC.DD(at),0);var ax=am.ED;ae=ax[0]-aG.DP/2+ah.C1;ag=ax[1]-aG.D9/2+ah.BW}if(aG.o.x!=null){ae=aG.iX}if(aG.o.y!=null){ag=aG.iY}return[ZC._i_(ae),ZC._i_(ag),at]},GN:function(){var K=this;var G=K.b();if(G.AP&&G.AN!=null&&G.AN!=""){var D="out";if(G.o[ZC._[7]]!=null){D=G.o[ZC._[7]]}if(D=="out"){var v=true;if((E=G.o.connected)!=null){v=ZC._b_(E)}if(v){var w=new ZC.DA(K.A);w.A0=w.BZ=K.G.usc()?K.G.mc("top"):K.D.AI["3d"]||K.G.JU?ZC.AH(K.D.N+"-plots-vb-c"):ZC.AH(K.D.N+"-plot-"+K.A.J+"-vb-c");w.append(K.A.B6.o);w.AW=K.W;w.DY="line";w.C=[];var C=G.H.positioninfo;var H=(K.AL+K.AZ)/2%360;var A=C[2];var s=0;if(H>=0&&H<=180){s=K.H.thickness/2}var I=K.D.P.iX+K.D.P.I/2;var J=K.D.P.iY+K.D.P.F/2;var x=I-K.iX;var y=J-K.iY;var u=new ZC.CI(K.D,x+(K.AO+K.DS+G.DS)*ZC.DG(H),y+(K.AO+K.DS+G.DS)*ZC.DD(H),s);var z=u.ED;z[0]+=K.C1;z[1]+=K.BW;w.C.push(z);if(A>=0&&A<=90||A>=270&&A<=360){w.C.push([C[0]-10,C[1]+G.F/2],[C[0],C[1]+G.F/2])}else{w.C.push([C[0]+10+G.I,C[1]+G.F/2],[C[0]+G.I,C[1]+G.F/2])}w.parse();w.IG=function(a){return K.IG(a)};if(w.CJ()){w.parse()}if(w.AP){w.paint()}}}}},paint:function(){var N=this;var C=N.D.C6;var J=N.D.BB(N.A.BH("k")[0]);var Q=N.D.EB[ZC._[28]];N.setup();if(N.AE<0){return}N.AO=ZC.DI(J.EZ,J.F0)/2;if(N.A.o[ZC._[21]]!=null){N.AO=N.A.AO}N.AO=J.KA*N.AO;if(N.C4<1){N.C4*=N.AO}var H=N.A.KZ;if(H==-1){H=N.AO/5}N.H.thickness=H;var ac=ZC.AU.ER-N.iX;var I=ZC.AU.EQ-N.iY;N.AL=ZC._i_(N.AL);N.AZ=ZC._i_(N.AZ);var S=(N.AL+N.AZ)/2;if(N.D.H["pie-sel-"+N.A.J+"-"+N.J]){N.DS+=ZC._i_(N.AO*0.15)}if(N.DS>0){ac+=N.DS*ZC.DG(S);I+=N.DS*ZC.DD(S)}var Y=N.S=N.A.GF(N,N);var a=new ZC.DZ(N);a.copy(Y);a.W=ZC.AQ.H8(ZC.AQ.GD(a.W));a.A5=ZC.AQ.H8(ZC.AQ.GD(a.A5));if(N.AE>0||N.A.A.MP[N.J]==0){var L=[];var M=N.AL;L.push([ac+N.C4*ZC.DG(M),I+N.C4*ZC.DD(M),0]);for(var M=N.AL;M<=N.AZ;M+=1){L.push([ac+N.AO*ZC.DG(M),I+N.AO*ZC.DD(M),0])}var M=N.AZ;L.push([ac+N.C4*ZC.DG(M),I+N.C4*ZC.DD(M),0]);for(var M=N.AZ;M>=N.AL;M-=1){L.push([ac+N.C4*ZC.DG(M),I+N.C4*ZC.DD(M),0])}var s=ZC.EM.EG(Y,N.D,L);C.add(s);var U=null;if(N.AL%360>=0+Q&&N.AL%360<180+Q||N.AZ%360>0+Q){var O=N.AL,aa=N.AZ;O=ZC.BT(O,aa>360?360+5:5);aa=ZC.DI(aa,aa>360?360+175:175);if(aa>O){var L=[];var M=O;L.push([ac+N.AO*ZC.DG(M),I+N.AO*ZC.DD(M),0]);for(var M=O;M<=aa;M+=1){L.push([ac+N.AO*ZC.DG(M),I+N.AO*ZC.DD(M),0])}var M=aa;L.push([ac+N.AO*ZC.DG(M),I+N.AO*ZC.DD(M),H]);for(var M=aa;M>=O;M-=1){L.push([ac+N.AO*ZC.DG(M),I+N.AO*ZC.DD(M),H])}var U=ZC.EM.EG(a,N.D,L);if(S%360>=0&&S%360<=180){U.LJ=[0.01,1,1,1]}C.add(U)}}var Z=null;if(N.C4>0+Q&&N.AZ>180+Q){var L=[];var M=N.AL;var O=N.AL;if(N.AL<180+Q&&N.AZ>180+Q){M=180+Q;O=180+Q}L.push([ac+N.C4*ZC.DG(M),I+N.C4*ZC.DD(M),0]);for(var M=O;M<=N.AZ;M+=1){L.push([ac+N.C4*ZC.DG(M),I+N.C4*ZC.DD(M),0])}var M=N.AZ;L.push([ac+N.C4*ZC.DG(M),I+N.C4*ZC.DD(M),H]);for(var M=N.AZ;M>=O;M-=1){L.push([ac+N.C4*ZC.DG(M),I+N.C4*ZC.DD(M),H])}Z=ZC.EM.EG(a,N.D,L);C.add(Z)}function K(c,b,e){return[[ac+c*ZC.DG(e),I+c*ZC.DD(e),0],[ac+c*ZC.DG(e),I+c*ZC.DD(e),H],[ac+b*ZC.DG(e),I+b*ZC.DD(e),H],[ac+b*ZC.DG(e),I+b*ZC.DD(e),0]]}var P=ZC.EM.EG(a,N.D,{points:K(N.C4,N.AO,N.AL),mathpoints:K(N.C4+1,N.AO+1,N.AL-1)});C.add(P);var R=ZC.EM.EG(a,N.D,{points:K(N.C4,N.AO,N.AZ),mathpoints:K(N.C4+1,N.AO+1,N.AZ+1)});C.add(R);var W=N.D.N+ZC._[34]+N.D.N+ZC._[35]+N.A.J+ZC._[6];var X=ZC.L.E7("poly",N.A.DQ)+‘class="‘+W+‘" id="‘+N.N;var ab=N.A.A.G0;ab.push(X+"--top"+ZC._[30]+s.E0()+‘" />‘);if(U){ab.push(X+"--outer"+ZC._[30]+U.E0()+‘" />‘)}if(N.C4>0||N.DS>0){if(Z){ab.push(X+"--inner"+ZC._[30]+Z.E0()+‘" />‘)}ab.push(X+"--start"+ZC._[30]+P.E0()+‘" />‘,X+"--end"+ZC._[30]+R.E0()+‘" />‘)}}if(N.A.T!=null){N.GN()}},SG:function(f,l){var g=this;g.b(f,l);if(l=="click"&&f.which<=1&&g.A.A2M){var h="pie-sel-"+g.A.J+"-"+g.J;g.D.H[h]=typeof g.D.H[h]==ZC._[31]?true:!g.D.H[h];g.D.IC()}}});ZC.A0Y=ZC.UC.BF({setup:function(){this.QJ()},VL:function(c){var e=this;e.paint(true);return[e.iX+e.I/2,e.iY,{reference:e,center:true}]},A6M:function(f){var l=this;var g=l.b(f);var h=new ZC.CI(l.D,g[0]-ZC.AU.ER,g[1]-ZC.AU.EQ,l.D.EB.true3d?ZC.AU.GG/2:0);return[ZC._i_(h.ED[0]),ZC._i_(h.ED[1])]},paint:function(I){var ay=this;ay.b();if(typeof I==ZC._[31]){I=false}var a4=ay.D.C6;var bx=ay.A.B8;var a8=ay.A.DV;ay.setup();var bq=a8.FW;var bj=a8.B7(bq);bj=ZC._l_(bj,a8.iY,a8.iY+a8.F);var aP=ay.A.QI();var bD=aP.X,a=aP.FF,aZ=aP.D1,br=aP.D6,a0=aP.F5,bb=aP.CB,a2=aP.EU;if(ay.A.CG){var bg=0;var bc=ay.A.A.IY[a];for(var bm=0;bm<bc.length;bm++){var bl=ay.A.A.AB[bc[bm]].Q[ay.J];if(bl){bg+=bl.AE}}}var aR=1,aL=1;if(ay.A.CG){if(ay.CU!=ay.AE){aR=(bg-ay.CU+ay.AE)/bg}aL=(bg-ay.CU)/bg}if(a8.B2){var bw=aR;aR=aL;aL=bw}var X=ay.iX-bD/2+aZ+a*(bb+a0)-a*a2;X=ZC._l_(X,ay.iX-bD/2+aZ,ay.iX+bD/2-br);if(ay.A.CB>0){var aV=bb;bb=ay.A.CB;if(bb<=1){bb*=aV}X=X+(aV-bb)/2}var bs=bb;var ax=ay.iY;if(ay.A.CG){if(ay.A.K6=="100%"){var bh=a8.B7(100*(ay.CU-ay.AE)/ay.A.A.FV[ay.J]["%total-"+ay.A.EK])}else{var bh=a8.B7(ay.CU-ay.AE)}bh=ZC._l_(bh,a8.iY,a8.iY+a8.F);if(ax<=bh){var bo=bh-ay.iY}else{ax=bh;var bo=ay.iY-bh}}else{if(ax<=bj){var bo=bj-ay.iY}else{ax=bj;var bo=ay.iY-bj}}if(aZ+br==0){X-=0.5;bs+=1}if(ay.A.IX[ay.J]!=null){ax+=a8.B7(ay.A.IX[ay.J])-bj;ay.iY+=a8.B7(ay.A.IX[ay.J])-bj}ay.I=bs;ay.F=bo;ay.iX=X;if(I){return}var bF=X-ZC.AU.ER;var bG=ax-ZC.AU.EQ;var bH=0;var bC=ZC.AU.GG;if(ay.D.AC=="mixed3d"||ay.D.AC=="mixed"){var az=1;for(var bm=0,bp=ay.A.A.AB.length;bm<bp;bm++){if(ay.A.A.AB[bm].AC!="vbar3d"){az++}}bH=(az-1)*(ZC.AU.GG/az);bC=ZC._i_(0.9*bC/az)}if(ay.AP){var by=ay.S=ay.A.GF(ay,ay.S);var aO=new ZC.DZ(ay);aO.copy(by);aO.W=ZC.AQ.H8(ZC.AQ.GD(aO.W));aO.A5=ZC.AQ.H8(ZC.AQ.GD(aO.A5));aO.BA=ZC.AQ.H8(ZC.AQ.GD(aO.BA));var aT=new ZC.DZ(ay);aT.copy(by);aT.W=ZC.AQ.H8(ZC.AQ.GD(aT.W),15);aT.A5=ZC.AQ.H8(ZC.AQ.GD(aT.A5),15);aT.BA=ZC.AQ.H8(ZC.AQ.GD(aT.BA),15);var bn=ay.D.N+ZC._[34]+ay.D.N+ZC._[35]+ay.A.J+ZC._[6];var aQ=ZC.L.E7("poly",ay.A.DQ,ay.A.ID)+‘class="‘+bn+‘" id="‘+ay.N;var a1=ay.D.EB.true3d;var bk=ay.I/2,bz=bC/2;var bu=aR*bk,bB=aL*bk,aX=aL*bz,S=aR*bz;if(a8.B2&&!ay.A.CG){var aS=ay.AE>=0?0:ay.F,a9=ay.AE>=0?ay.F:0}else{var aS=ay.AE>=0?ay.F:0,a9=ay.AE>=0?0:ay.F}var aU=ay.A.A.G0;var a6=ZC.DI(bz,bk);var bf=ay.D.EB[ZC._[28]];var bt=ay.D.EB.angle,aK=ZC.DG(bt)*bz,aN=ZC.DD(bt)*bz;if(!a1){a6=ZC.DI(2*aK,bk)}function aY(g){var b=0;var f=ay.A.J,h=ay.J,c=ay.A.A.AB.length,l=ay.A.Q.length;var e=(ay.A.CG?"s":"")+(bx.B2?"k":"")+(a8.B2?"v":"");switch(e){case"":b=10*f+h*10000+g;break;case"v":b=10*f+h*10000+g;break;case"sv":b=10*(c-f)+h*10000+g;break;case"k":b=10*f+(l-h)*10000+g;break;case"skv":b=10*(c-f)+(l-h)*10000+g;break;case"kv":b=10*f+(l-h)*10000+g;break;case"s":b=10*f+h*10000+g;break;case"sk":b=10*f+(l-h)*10000+g;break}return b}var aw=ZC.MAX,bi=-ZC.MAX,C=ZC.MAX,bd=-ZC.MAX;var a5=ZC.MAX,bA=-ZC.MAX,bE=ZC.MAX,aW=-ZC.MAX;if(ay.A.CH=="cylinder"){for(var be=0;be<=360;be+=4){var aM=new ZC.CI(ay.D,bF+ZC.DD(be)*a6+bk,bG,bH+ZC.DG(be)*a6+bz);if(aM.ED[0]<C){C=aM.ED[0];aw=be}if(aM.ED[0]>bd){bd=aM.ED[0];bi=be}var aM=new ZC.CI(ay.D,bF+ZC.DD(be)*a6+bk,bG+ay.F,bH+ZC.DG(be)*a6+bz);if(aM.ED[0]<bE){bE=aM.ED[0];a5=be}if(aM.ED[0]>aW){aW=aM.ED[0];bA=be}}}switch(ay.A.CH){case"bar":default:var R=ZC.EM.EC(aO,ay.D,bF+0.1,bF+ay.I-0.1,bG+ay.F-0.1,bG+ay.F-0.1,bH+0.1,bH+bC-0.1,"x");R.EE=aY(1);a4.add(R);var bv=ZC.EM.EC(aO,ay.D,bF+0.1,bF+ay.I-0.1,bG+0.1,bG+0.1,bH+0.1,bH+bC-0.1,"x");bv.EE=aY(3);a4.add(bv);var ba=ZC.EM.EC(aT,ay.D,bF+0.1,bF+0.1,bG+0.1,bG+ay.F-0.1,bH+0.1,bH+bC-0.1,"z");ba.EE=aY(2);a4.add(ba);var s=ZC.EM.EC(aT,ay.D,bF+ay.I-0.1,bF+ay.I-0.1,bG+0.1,bG+ay.F-0.1,bH+0.1,bH+bC-0.1,"z");s.EE=aY(4);a4.add(s);var a7=ZC.EM.EC(by,ay.D,bF+0.1,bF+ay.I-0.1,bG+0.1,bG+ay.F-0.1,bH+0.1,bH+0.1,"y");a7.EE=aY(5);a4.add(a7);if(ay.A.FJ){if(aL==1){aU.push(aQ+"--top"+ZC._[30]+bv.E0()+‘" />‘)}aU.push(aQ+"--left"+ZC._[30]+ba.E0()+‘" />‘,aQ+"--right"+ZC._[30]+s.E0()+‘" />‘,aQ+"--front"+ZC._[30]+a7.E0()+‘" />‘)}break;case"pyramid":var R=ZC.EM.EC(aO,ay.D,bF+bk-bu,bF+bk+bu,bG+aS,bG+aS,bH+bz-S,bH+bz+S,"x");R.EE=aY(a8.B2&&!ay.A.CG?6:1);a4.add(R);var a3=[[bF+bk-bu,bG+aS,bH+bz-S],[bF+bk+bu,bG+aS,bH+bz-S]];if(ay.A.CG&&aL!=0){a3.push([bF+bk+bB,bG+a9,bH+bz-aX],[bF+bk-bB,bG+a9,bH+bz-aX])}else{a3.push([bF+bk,bG+a9,bH+bz])}var a7=ZC.EM.EG(by,ay.D,a3);a7.EE=aY(3);a4.add(a7);var a3=[[bF+bk-bu,bG+aS,bH+bz-S],[bF+bk-bu,bG+aS,bH+bz+S]];if(ay.A.CG&&aL!=0){a3.push([bF+bk-bB,bG+a9,bH+bz+aX],[bF+bk-bB,bG+a9,bH+bz-aX])}else{a3.push([bF+bk,bG+a9,bH+bz])}var ba=ZC.EM.EG(aT,ay.D,a3);ba.EE=aY(2);a4.add(ba);var a3=[[bF+bk+bu,bG+aS,bH+bz-S],[bF+bk+bu,bG+aS,bH+bz+S]];if(ay.A.CG&&aL!=0){a3.push([bF+bk+bB,bG+a9,bH+bz+aX],[bF+bk+bB,bG+a9,bH+bz-aX])}else{a3.push([bF+bk,bG+a9,bH+bz])}var s=ZC.EM.EG(aT,ay.D,a3);s.EE=aY(4);a4.add(s);if(ay.A.CG&&aL!=0){var a3=[[bF+bk-bB,bG+a9,bH+bz-aX],[bF+bk-bB,bG+a9,bH+bz+aX],[bF+bk+bB,bG+a9,bH+bz+aX],[bF+bk+bB,bG+a9,bH+bz-aX]];var bv=ZC.EM.EG(aO,ay.D,a3);bv.EE=aY(5);a4.add(bv)}if(ay.A.FJ){aU.push(aQ+"--left"+ZC._[30]+ba.E0()+‘" />‘,aQ+"--right"+ZC._[30]+s.E0()+‘" />‘,aQ+"--front"+ZC._[30]+a7.E0()+‘" />‘)}break;case"cylinder":var a3=[];if(a1){for(var be=0;be<=360;be+=5){a3.push([bF+ZC.DD(be)*a6+bk,bG+ay.F,bH+ZC.DG(be)*a6+bz])}}else{for(var be=0;be<=360;be+=5){var aM=new ZC.CI(ay.D,0,0,0);aM.ED=[X+ZC.DG(be)*a6+bk+aK,ax+ay.F+ZC.DD(be)*(a6/2)-aN];a3.push(aM)}}var R=ZC.EM.EG(aO,ay.D,a3,!a1);R.EE=aY(1);a4.add(R);var a3=[];if(a1){for(var be=0;be<=360;be+=5){a3.push([bF+ZC.DD(be)*a6+bk,bG,bH+ZC.DG(be)*a6+bz])}}else{for(var be=0;be<=360;be+=5){var aM=new ZC.CI(ay.D,0,0,0);aM.ED=[X+ZC.DG(be)*a6+bk+aK,ax+ZC.DD(be)*(a6/2)-aN];a3.push(aM)}}var bv=ZC.EM.EG(aO,ay.D,a3,!a1);a4.add(bv);bv.EE=aY(3);var a3=[];if(a1){for(var be=ZC.DI(aw,bi);be<=ZC.BT(aw,bi);be+=1){a3.push([bF+ZC.DD(be)*a6+bk,bG,bH+ZC.DG(be)*a6+bz])}a3.push([bF+ZC.DD(be)*a6+bk,bG+ay.F,bH+ZC.DG(be)*a6+bz]);for(var be=ZC.BT(a5,bA);be>=ZC.DI(a5,bA);be-=1){a3.push([bF+ZC.DD(be)*a6+bk,bG+ay.F,bH+ZC.DG(be)*a6+bz])}}else{for(var be=0;be<=180;be+=5){var aM=new ZC.CI(ay.D,0,0,0);aM.ED=[X+ZC.DG(be)*a6+bk+aK,ax+ay.F+ZC.DD(be)*(a6/2)-aN];a3.push(aM)}for(var be=180;be>=0;be-=5){var aM=new ZC.CI(ay.D,0,0,0);aM.ED=[X+ZC.DG(be)*a6+bk+aK,ax+ZC.DD(be)*(a6/2)-aN];a3.push(aM)}}var a7=ZC.EM.EG(by,ay.D,a3,!a1);a7.EE=aY(2);a4.add(a7);if(ay.A.FJ){aU.push(aQ+"--front"+ZC._[30]+a7.E0()+‘" />‘,aQ+"--top"+ZC._[30]+bv.E0()+‘" />‘)}break;case"cone":var a3=[];if(a1){for(var be=0;be<=360;be+=5){a3.push([bF+ZC.DD(be)*a6*aR+bk,bG+aS,bH+ZC.DG(be)*a6*aR+bz])}}else{for(var be=0;be<=360;be+=5){var aM=new ZC.CI(ay.D,0,0,0);aM.ED=[X+ZC.DG(be)*a6*aR+bk+aK,ax+aS+ZC.DD(be)*(a6/2)*aR-aN];a3.push(aM)}}var R=ZC.EM.EG(aO,ay.D,a3,!a1);R.EE=aY(1);a4.add(R);var a3=[];if(a1){for(var be=90+bf;be<=270+bf;be+=5){a3.push([bF+ZC.DD(be)*a6*aR+bk,bG+aS,bH+ZC.DG(be)*a6*aR+bz])}if(ay.A.CG&&aL!=0){for(var be=270+bf;be>=90+bf;be-=5){a3.push([bF+ZC.DD(be)*a6*aL+bk,bG+a9,bH+ZC.DG(be)*a6*aL+bz])}}else{a3.push([bF+bk,bG+a9,bH+bz])}}else{for(var be=0;be<=180;be+=5){var aM=new ZC.CI(ay.D,0,0,0);aM.ED=[X+ZC.DG(be)*a6*aR+bk+aK,ax+aS+ZC.DD(be)*(a6/2)*aR-aN];a3.push(aM)}if(ay.A.CG&&aL!=0){for(var be=180;be>=0;be-=5){var aM=new ZC.CI(ay.D,0,0,0);aM.ED=[X+ZC.DG(be)*a6*aL+bk+aK,ax+a9+ZC.DD(be)*(a6/2)*aL-aN];a3.push(aM)}}else{var aM=new ZC.CI(ay.D,0,0,0);aM.ED=[X+bk+aK,ax+a9-aN];a3.push(aM)}}var a7=ZC.EM.EG(by,ay.D,a3,!a1);a7.EE=aY(2);a4.add(a7);if(ay.A.CG&&aL!=0){var a3=[];if(a1){for(var be=0;be<=360;be+=5){a3.push([bF+ZC.DD(be)*a6*aL+bk,bG+a9,bH+ZC.DG(be)*a6*aL+bz])}}else{for(var be=0;be<=360;be+=5){var aM=new ZC.CI(ay.D,0,0,0);aM.ED=[X+ZC.DG(be)*a6*aL+bk+aK,ax+a9+ZC.DD(be)*(a6/2)*aL-aN];a3.push(aM)}}var bv=ZC.EM.EG(aO,ay.D,a3,!a1);a4.add(bv);bv.EE=aY(3)}if(ay.A.FJ){aU.push(aQ+"--front"+ZC._[30]+a7.E0()+‘" />‘)}break}if(ay.A.T!=null){ay.GN()}}},A7J:function(b){}});ZC.A0W=ZC.U9.BF({setup:function(){this.QJ()},VL:function(c){var e=this;e.paint(true);return[e.iX,e.iY+e.F/2,{reference:e,center:true}]},A6M:function(f){var l=this;var g=l.b(f);var h=new ZC.CI(l.D,g[0]-ZC.AU.ER,g[1]-ZC.AU.EQ,l.D.EB.true3d?ZC.AU.GG/2:0);return[ZC._i_(h.ED[0]),ZC._i_(h.ED[1])]},paint:function(aA){var aK=this;aK.b();if(typeof aA==ZC._[31]){aA=false}var a0=aK.D.C6;var bf=aK.A.B8;var a5=aK.A.DV;aK.setup();var a8=a5.FW;var bb=a5.B7(a8);bb=ZC._l_(bb,a5.iX,a5.iX+a5.I);var aS=aK.A.QI();var bk=aS.X,aB=aS.FF,aY=aS.D1,a9=aS.D6,aX=aS.F5,ax=aS.CB,aZ=aS.EU;if(aK.A.CG){var X=0;var a6=aK.A.A.IY[aB];for(var ay=0;ay<a6.length;ay++){var aw=aK.A.A.AB[a6[ay]].Q[aK.J];if(aw){X+=aw.AE}}}var aN=1,aO=1;if(aK.A.CG){if(aK.CU!=aK.AE){aN=(X-aK.CU+aK.AE)/X}aO=(X-aK.CU)/X}if(a5.B2){var be=aN;aN=aO;aO=be}var aJ=aK.iY-bk/2+aY+aB*(ax+aX)-aB*aZ;aJ=ZC._l_(aJ,aK.iY-bk/2+aY,aK.iY+bk/2-a9);if(aK.A.CB>0){var aV=ax;ax=aK.A.CB;if(ax<=1){ax*=aV}aJ=aJ+(aV-ax)/2}var a7=ax;var aH=aK.iX;if(aK.A.CG){if(aK.A.K6=="100%"){var a=a5.B7(100*(aK.CU-aK.AE)/aK.A.A.FV[aK.J]["%total-"+aK.A.EK])}else{var a=a5.B7(aK.CU-aK.AE)}a=ZC._l_(a,a5.iX,a5.iX+a5.I);if(aH<=a){var ba=a-aK.iX}else{aH=a;var ba=aK.iX-a}}else{if(aH<=bb){var ba=bb-aK.iX}else{aH=bb;var ba=aK.iX-bb}}if(aY+a9==0){aJ-=0.5;a7+=1}if(aK.A.IX[aK.J]!=null){aH+=a5.B7(aK.A.IX[aK.J])-bb;aK.iX+=a5.B7(aK.A.IX[aK.J])-bb}aK.I=ba;aK.F=a7;aK.iY=aJ;if(aA){return}var bl=aH+ba-ZC.AU.ER;var bm=aJ-ZC.AU.EQ;var bn=0;var bi=ZC.AU.GG;if(aK.AP){var bg=aK.S=aK.A.GF(aK,aK.S);var aL=new ZC.DZ(aK);aL.copy(bg);aL.W=ZC.AQ.H8(ZC.AQ.GD(aL.W));aL.A5=ZC.AQ.H8(ZC.AQ.GD(aL.A5));aL.BA=ZC.AQ.H8(ZC.AQ.GD(aL.BA));var aP=new ZC.DZ(aK);aP.copy(bg);aP.W=ZC.AQ.H8(ZC.AQ.GD(aP.W),15);aP.A5=ZC.AQ.H8(ZC.AQ.GD(aP.A5),15);aP.BA=ZC.AQ.H8(ZC.AQ.GD(aP.BA),15);var az=aK.D.N+ZC._[34]+aK.D.N+ZC._[35]+aK.A.J+ZC._[6];var aU=ZC.L.E7("poly",aK.A.DQ,aK.A.ID)+‘class="‘+az+‘" id="‘+aK.N;var a2=aK.D.EB.true3d;var aF=aK.F/2,bh=bi/2;var bj=aN*aF,C=aO*aF,aT=aO*bh,aE=aN*bh;if(a5.B2&&!aK.A.CG){var aM=aK.AE>=0?0:aK.I,a1=aK.AE>=0?aK.I:0}else{var aM=aK.AE>=0?aK.I:0,a1=aK.AE>=0?0:aK.I}var aR=aK.A.A.G0;var a3=ZC.DI(bh,aF);var S=aK.D.EB[ZC._[27]];var bc=aK.D.EB.angle,aG=ZC.DG(bc)*bh,aI=ZC.DD(bc)*bh;if(!a2){a3=ZC.DI(2*aI,aF)}function aW(g){var b=-1;var f=aK.A.J,h=aK.J,c=aK.A.A.AB.length,l=aK.A.Q.length;var e=(aK.A.CG?"s":"")+(bf.B2?"k":"")+(a5.B2?"v":"");switch(e){case"":case"v":case"sv":b=10*(c-f)+h*10000+g;break;case"k":case"skv":case"kv":b=10*(c-f)+(l-h)*10000+g;break;case"s":b=10*f+h*10000+g;break;case"sk":b=10*f+(l-h)*10000+g;break}return ZC._i_(b)}switch(aK.A.CH){case"bar":default:var R=ZC.EM.EC(aP,aK.D,bl-aK.I+0.1,bl-0.1,bm+0.1,bm+0.1,bn+0.1,bn+bi-0.1,"x");R.EE=aW(5);a0.add(R);var aD=ZC.EM.EC(aP,aK.D,bl-aK.I+0.1,bl-0.1,bm+aK.F-0.1,bm+aK.F-0.1,bn+0.1,bn+bi-0.1,"x");aD.EE=aW(1);a0.add(aD);var aC=ZC.EM.EC(aL,aK.D,bl-aK.I+0.1,bl-aK.I+0.1,bm+aK.F-0.1,bm+0.1,bn+0.1,bn+bi-0.1,"z");aC.EE=aW(2);a0.add(aC);var bd=ZC.EM.EC(aL,aK.D,bl-0.1,bl-0.1,bm+aK.F-0.1,bm+0.1,bn+0.1,bn+bi-0.1,"z");bd.EE=aW(3);a0.add(bd);var s=ZC.EM.EC(bg,aK.D,bl-aK.I+0.1,bl-0.1,bm+aK.F-0.1,bm+0.1,bn+0.1,bn+0.1,"y");s.EE=aW(4);a0.add(s);if(aK.A.FJ){if(!aK.A.CG){aR.push(aU+"--top"+ZC._[30]+bd.E0()+‘" />‘)}aR.push(aU+"--left"+ZC._[30]+R.E0()+‘" />‘,aU+"--right"+ZC._[30]+aD.E0()+‘" />‘,aU+"--front"+ZC._[30]+s.E0()+‘" />‘)}break;case"pyramid":var aC=ZC.EM.EC(aL,aK.D,bl-aM,bl-aM,bm+aF-bj,bm+aF+bj,bh-aE,bh+aE,"z");aC.EE=aW(a5.B2&&!aK.A.CG?6:1);a0.add(aC);var a4=[[bl-aM,bm+aF-bj,bh-aE],[bl-aM,bm+aF+bj,bh-aE]];if(aK.A.CG&&aO!=0){a4.push([bl-a1,bm+aF+C,bh-aT],[bl-a1,bm+aF-C,bh-aT])}else{a4.push([bl-a1,bm+aF,bi/2])}var s=ZC.EM.EG(bg,aK.D,a4);s.EE=aW(3);a0.add(s);var a4=[[bl-aM,bm+aF-bj,bh-aE],[bl-aM,bm+aF-bj,bh+aE]];if(aK.A.CG&&aO!=0){a4.push([bl-a1,bm+aF-C,bh+aT],[bl-a1,bm+aF-C,bh-aT])}else{a4.push([bl-a1,bm+aK.F/2,bi/2])}var R=ZC.EM.EG(aP,aK.D,a4);R.EE=aW(4);a0.add(R);var a4=[[bl-aM,bm+aF+bj,bh-aE],[bl-aM,bm+aF+bj,bh+aE]];if(aK.A.CG&&aO!=0){a4.push([bl-a1,bm+aF+C,bh+aT],[bl-a1,bm+aF+C,bh-aT])}else{a4.push([bl-a1,bm+aF,bi/2])}var aD=ZC.EM.EG(aP,aK.D,a4);aD.EE=aW(2);a0.add(aD);if(aK.A.CG&&aO!=0){var bd=ZC.EM.EC(aL,aK.D,bl-a1,bl-a1,bm+aF-C,bm+aF+C,bh-aT,bh+aT,"z");bd.EE=aW(5);a0.add(bd)}if(aK.A.FJ){aR.push(aU+"--left"+ZC._[30]+R.E0()+‘" />‘,aU+"--right"+ZC._[30]+aD.E0()+‘" />‘,aU+"--front"+ZC._[30]+s.E0()+‘" />‘)}break;case"cylinder":var a4=[];if(a2){for(var I=0;I<=360;I+=5){a4.push([bl-aK.I,bm+ZC.DD(I)*a3+aF,ZC.DG(I)*a3+bh])}}else{for(var I=0;I<=360;I+=5){var aQ=new ZC.CI(aK.D,0,0,0);aQ.ED=[aH+ZC.DG(I)*(a3/2)+aG,aJ+aF+ZC.DD(I)*a3-aI];a4.push(aQ)}}var aC=ZC.EM.EG(aL,aK.D,a4,!a2);aC.EE=aW(1);a0.add(aC);var a4=[];if(a2){for(var I=90-S;I<=270-S;I+=5){a4.push([bl-aK.I,bm+ZC.DD(I)*a3+aF,ZC.DG(I)*a3+bh])}a4.push([bl,bm+ZC.DD(I)*a3+aF,ZC.DG(I)*a3+bh]);for(var I=270-S;I>=90-S;I-=5){a4.push([bl,bm+ZC.DD(I)*a3+aF,ZC.DG(I)*a3+bh])}}else{for(var I=90;I<=270;I+=5){var aQ=new ZC.CI(aK.D,0,0,0);aQ.ED=[aH+ZC.DG(I)*(a3/2)+aG,aJ+aF+ZC.DD(I)*a3-aI];a4.push(aQ)}for(var I=270;I>=90;I-=5){var aQ=new ZC.CI(aK.D,0,0,0);aQ.ED=[aH+ZC.DG(I)*(a3/2)+aK.I+aG,aJ+aF+ZC.DD(I)*a3-aI];a4.push(aQ)}}var s=ZC.EM.EG(bg,aK.D,a4,!a2);s.EE=aW(2);a0.add(s);var a4=[];if(a2){for(var I=0;I<=360;I+=5){a4.push([bl,bm+ZC.DD(I)*a3+aF,ZC.DG(I)*a3+bh])}}else{for(var I=0;I<=360;I+=5){var aQ=new ZC.CI(aK.D,0,0,0);aQ.ED=[aH+ZC.DG(I)*(a3/2)+aK.I+aG,aJ+aF+ZC.DD(I)*a3-aI];a4.push(aQ)}}var bd=ZC.EM.EG(aL,aK.D,a4,!a2);bd.EE=aW(3);a0.add(bd);if(aK.A.FJ){aR.push(aU+"--front"+ZC._[30]+s.E0()+‘" />‘,aU+"--top"+ZC._[30]+bd.E0()+‘" />‘)}break;case"cone":var a4=[];if(a2){for(var I=0;I<=360;I+=5){a4.push([bl-aM,bm+ZC.DD(I)*a3*aN+aF,ZC.DG(I)*a3*aN+bh])}}else{for(var I=0;I<=360;I+=5){var aQ=new ZC.CI(aK.D,0,0,0);aQ.ED=[aH+a1+ZC.DG(I)*(a3/2)*aN+aG,aJ+aF+ZC.DD(I)*a3*aN-aI];a4.push(aQ)}}var aC=ZC.EM.EG(aL,aK.D,a4,!a2);aC.EE=aW(1);a0.add(aC);var a4=[];if(a2){for(var I=90-S;I<=270-S;I+=5){a4.push([bl-aM,bm+ZC.DD(I)*a3*aN+aF,ZC.DG(I)*a3*aN+bh])}if(aK.A.CG&&aO!=0){for(var I=270-S;I>=90-S;I-=5){a4.push([bl-a1,bm+ZC.DD(I)*a3*aO+aF,ZC.DG(I)*a3*aO+bh])}}else{a4.push([bl-a1,bm+aF,a3])}}else{for(var I=90;I<=270;I+=5){var aQ=new ZC.CI(aK.D,0,0,0);aQ.ED=[aH+a1+ZC.DG(I)*(a3/2)*aN+aG,aJ+aF+ZC.DD(I)*a3*aN-aI];a4.push(aQ)}if(aK.A.CG&&aO!=0){for(var I=270;I>=90;I-=5){var aQ=new ZC.CI(aK.D,0,0,0);aQ.ED=[aH+aM+ZC.DG(I)*(a3/2)*aO+aG,aJ+aF+ZC.DD(I)*a3*aO-aI];a4.push(aQ)}}else{var aQ=new ZC.CI(aK.D,0,0,0);aQ.ED=[aH+aM+aG,aJ+aF-aI];a4.push(aQ)}}var s=ZC.EM.EG(bg,aK.D,a4,!a2);s.EE=aW(2);a0.add(s);if(aK.A.CG&&aO!=0){var a4=[];if(a2){for(var I=0;I<=360;I+=5){a4.push([bl-a1,bm+ZC.DD(I)*a3*aO+aF,ZC.DG(I)*a3*aO+bh])}}else{for(var I=0;I<=360;I+=5){var aQ=new ZC.CI(aK.D,0,0,0);aQ.ED=[aH+aM+ZC.DG(I)*(a3/2)*aO+aG,aJ+aF+ZC.DD(I)*a3*aO-aI];a4.push(aQ)}}var bd=ZC.EM.EG(aL,aK.D,a4,!a2);bd.EE=aW(3);a0.add(bd)}if(aK.A.FJ){aR.push(aU+"--front"+ZC._[30]+s.E0()+‘" />‘)}break}}if(aK.A.T!=null){aK.GN()}},A7J:function(b){}});ZC.A0Q=ZC.XF.BF({setup:function(){this.QJ()},A5U:function(b){return{color:this.S.AW}},T0:function(){return{"background-color":this.S.AW,color:this.S.BO}},A6M:function(f){var l=this;var g=l.b(f);var h=new ZC.CI(l.D,g[0]-ZC.AU.ER,g[1]-ZC.AU.EQ,l.D.EB.true3d?ZC.AU.GG/2:0);return h.ED},paint:function(){var I=this;I.b();var M=I.A.B8;var L=I.A.Q;var H=I.H.points;var N=I.S=I.A.GF(I,I.S);var D=0,A=-1,O=ZC.AU.GG;if(!I.A.CG){for(var C=0;C<I.A.A.AB.length;C++){if(I.D.H["plot"+C+".visible"]){A++}}for(var C=0;C<I.A.A.AB.length;C++){if(I.D.H["plot"+C+".visible"]){D++;if(I.A.J>C){A--}}}O/=D}else{A=0}N.W=N.A5=N.AW;N.AA=N.AM;if(I.A.CH=="spline"){N.BA=N.AW}var P=I.A.A.G0;var J=I.D.N+ZC._[34]+I.D.N+ZC._[35]+I.A.J+ZC._[6];var K=ZC.L.E7("poly",I.A.DQ,I.A.ID)+‘class="‘+J+‘" id="‘+I.N;var s=[],z=[];for(var G=0;G<H.length-1;G++){var p=-ZC._i_(ZC.QS(Math.atan((H[G+1][1]-H[G][1])/(H[G+1][0]-H[G][0]))));var y=new ZC.DZ(I);y.copy(N);y.W=ZC.AQ.H8(ZC.AQ.GD(y.W),p);y.A5=ZC.AQ.H8(ZC.AQ.GD(y.A5),p);y.BA=ZC.AQ.H8(ZC.AQ.GD(y.BA),p);var Q=new ZC.TY(y,I.D);Q.add(new ZC.CI(I.D,H[G][0]-ZC.AU.ER,H[G][1]-ZC.AU.EQ,A*O));Q.add(new ZC.CI(I.D,H[G+1][0]-ZC.AU.ER,H[G+1][1]-ZC.AU.EQ,A*O));Q.add(new ZC.CI(I.D,H[G+1][0]-ZC.AU.ER,H[G+1][1]-ZC.AU.EQ,(A+1)*O-1));Q.add(new ZC.CI(I.D,H[G][0]-ZC.AU.ER,H[G][1]-ZC.AU.EQ,(A+1)*O-1));I.D.C6.add(Q);s.push(Q.C[0].ED);z.push(Q.C[3].ED);if(I.A.CH!="spline"){if(I.A.FJ){P.push(K+"--face"+G+ZC._[30]+Q.E0()+‘" />‘)}}}if(I.A.CH=="spline"){I.H.polypoints=true;I.H.points=s.concat(z.reverse())}else{I.H.points=null}if(!I.D.KH&&ZC.EO(I.iX,M.iX-1,M.iX+M.I+1)&&ZC.EO(I.iY,M.iY-1,M.iY+M.F+1)){I.M9(true)}},A7J:function(b){}});ZC.A0N=ZC.XH.BF({setup:function(){this.QJ()},A5U:function(b){return{color:this.S.AW}},T0:function(){return{"background-color":this.S.AW,color:this.S.BO}},A6M:function(f){var l=this;var g=l.b(f);var h=new ZC.CI(l.D,g[0]-ZC.AU.ER,g[1]-ZC.AU.EQ,l.D.EB.true3d?ZC.AU.GG/2:0);return h.ED},paint:function(){var W=this;W.b();var aa=W.A.B8;var ag=W.A.DV;var J=ag.FW;var X=ag.B7(J);X=ZC._l_(X,ag.iY,ag.iY+ag.F);var P=W.H.points;var N=W.H.pointsarea;var ab=W.S=W.A.GF(W,W.S);var L=0,U=-1,ad=ZC.AU.GG;if(!W.A.CG){for(var s=0;s<W.A.A.AB.length;s++){if(W.D.H["plot"+s+".visible"]){U++}}for(var s=0;s<W.A.A.AB.length;s++){if(W.D.H["plot"+s+".visible"]){L++;if(W.A.J>s){U--}}}ad/=L}else{U=0}var ac=new ZC.DZ(W);ac.copy(ab);ac.W=ac.A5=ab.AW;ac.AA=ab.AM;if(W.A.CH=="spline"){ac.BA=ab.AW}var R=new ZC.DZ(W);R.copy(ab);R.KO=true;R.AA=0;R.BC=W.A.G6;R.W=ZC.AQ.NP(ZC.AQ.GD(R.W),30);R.A5=ZC.AQ.NP(ZC.AQ.GD(R.A5),30);var ae=W.A.A.G0;var Y=W.D.N+ZC._[34]+W.D.N+ZC._[35]+W.A.J+ZC._[6];var Z=ZC.L.E7("poly",W.A.DQ,W.A.ID)+‘class="‘+Y+‘" id="‘+W.N;var M=[],p=[];var af=new ZC.TY(R,W.D);for(var O=0,C=N.length;O<C;O++){var S=new ZC.CI(W.D,N[O][0]-ZC.AU.ER,N[O][1]-ZC.AU.EQ,U*ad);af.add(S)}W.D.C6.add(af);W.H.pointsarea=N;if(W.J==W.A.Q.length-1){var af=new ZC.TY(R,W.D);af.add(new ZC.CI(W.D,W.iX-0.5-ZC.AU.ER,W.iY-ZC.AU.EQ,U*ad));af.add(new ZC.CI(W.D,W.iX-0.5-ZC.AU.ER,X-ZC.AU.EQ,U*ad));af.add(new ZC.CI(W.D,W.iX-0.5-ZC.AU.ER,X-ZC.AU.EQ,(U+1)*ad-1));af.add(new ZC.CI(W.D,W.iX-0.5-ZC.AU.ER,W.iY-ZC.AU.EQ,(U+1)*ad-1));W.D.C6.add(af)}for(var O=0;O<P.length-1;O++){var K=-ZC._i_(ZC.QS(Math.atan((P[O+1][1]-P[O][1])/(P[O+1][0]-P[O][0]))));var Q=new ZC.DZ(W);Q.copy(ac);Q.W=ZC.AQ.H8(ZC.AQ.GD(Q.W),K);Q.A5=ZC.AQ.H8(ZC.AQ.GD(Q.A5),K);Q.BA=ZC.AQ.H8(ZC.AQ.GD(Q.BA),K);var af=new ZC.TY(Q,W.D);af.add(new ZC.CI(W.D,P[O][0]-ZC.AU.ER,P[O][1]-ZC.AU.EQ,U*ad));af.add(new ZC.CI(W.D,P[O+1][0]-ZC.AU.ER,P[O+1][1]-ZC.AU.EQ,U*ad));af.add(new ZC.CI(W.D,P[O+1][0]-ZC.AU.ER,P[O+1][1]-ZC.AU.EQ,(U+1)*ad-1));af.add(new ZC.CI(W.D,P[O][0]-ZC.AU.ER,P[O][1]-ZC.AU.EQ,(U+1)*ad-1));W.D.C6.add(af);M.push(af.C[0].ED);p.push(af.C[3].ED);if(W.A.CH!="spline"){if(W.A.FJ){ae.push(Z+"--face"+O+ZC._[30]+af.E0()+‘" />‘)}}}if(W.A.CH=="spline"){W.H.polypoints=true;W.H.points=M.concat(p.reverse())}else{W.H.points=null}if(!W.D.KH&&ZC.EO(W.iX,aa.iX-1,aa.iX+aa.I+1)&&ZC.EO(W.iY,aa.iY-1,aa.iY+aa.F+1)){W.M9(true)}},A7J:function(b){}});ZC.A2H=ZC.JH.BF({RT:0,RX:0,KV:function(h,l){var f=this;var g=null;if(f.A.J<f.A.A.AB.length-1){g=f.A.A.AB[f.A.J+1]}else{g=f.A.A.AB[0]}f.D4=[["%paired-plot-text",g.AN],["%paired-node-value",g.Q[f.J].AE],["%joined-value",f.RX],["%shared-value",f.A.A.SN[f.J]==null?0:f.A.A.SN[f.J].area]];h=f.b(h,l);return h},setup:function(){var f=this;var h=f.D.BB("scale");var g=f.J%h.I5;var l=Math.floor(f.J/h.I5);f.iX=h.iX+g*h.F0+h.F0/2+h.C1;f.iY=h.iY+l*h.EZ+h.EZ/2+h.BW;if(!f.GP){f.copy(f.A);f.DJ=f.A.DJ;if(f.CJ()){f.parse(false)}f.GP=true}f.I=h.F0/2;f.F=h.EZ/2},A6M:function(f){var l=this;var g=l.iX-f.I/2;var h=l.iY-f.F/2;if(l.A.A.AB.length==3){switch(l.A.J){case 0:g-=l.AO/4;h+=l.AO/8;break;case 1:g+=l.AO/4;h+=l.AO/8;break;case 2:h-=l.AO/4;break}}else{switch(l.A.J){case 0:g-=l.AO/4;break;case 1:g+=l.AO/4;break}}if(f.o.x!=null){g=f.iX}if(f.o.y!=null){h=f.iY}g+=f.C1;h+=f.BW;return[ZC._i_(g),ZC._i_(h)]},GN:function(){var q=this;var t=q.b();var p=q.D.N+"-value-box "+q.D.N+"-plot-"+q.A.J+"-value-box zc-value-box";var r=q.G.usc()?q.G.mc("top"):q.D.AI["3d"]||q.G.JU?ZC.AH(q.D.N+"-plots-vb-c"):ZC.AH(q.D.N+"-plot-"+q.A.J+"-vb-c");var m=q.G.usc()?ZC.AH(q.D.A.N+"-top"):ZC.AH(q.D.A.N+"-text");if(t.o.joined!=null){var o=null;if(q.A.J<q.A.A.AB.length-1){o=q.A.A.AB[q.A.J+1]}else{o=q.A.A.AB[0]}var s=q.A.A.DL[q.A.J][q.J].intxy;var n=new ZC.D2(q);n.copy(t);n.o.text=new String(q.RX);n.append(t.o.joined);n.KV=function(a){return q.KV(a,{})};n.parse();n.F7=p;n.N=q.N+"-value-box-join";n.A0=t.BZ=r;n.HA=m;n.iX=s[0]-n.I/2;n.iY=s[1]-n.F/2;if(n.AP){n.paint();n.DR()}}if(t.o.shared!=null&&q.A.J==2){var s=q.A.A.SN[q.J].xy;var n=new ZC.D2(q);n.copy(t);n.o.text=new String(q.A.A.G0[q.A.J]);n.append(t.o.shared);n.KV=function(a){return q.KV(a,{})};n.parse();n.F7=p;n.N=q.N+"-value-box-shared";n.A0=t.BZ=r;n.HA=m;n.iX=s[0]-n.I/2;n.iY=s[1]-n.F/2;if(n.AP){n.paint();n.DR()}}},A5U:function(b){return{color:this.AW}},T0:function(){return{"background-color":this.BA,color:this.BO}},paint:function(){var p=this;p.b();var x=p.S=p.A.GF(p,p);var r=new ZC.DA(p.A);r.N=p.N;r.A0=p.A.BP("bl",1);r.BZ=p.A.BP("bl",0);r.copy(x);var u=p.iX;var v=p.iY;r.iX=u;r.iY=v;r.AO=p.AO;r.DY="circle";r.H.plotidx=p.A.J;r.H.nodeidx=p.J;r.parse();p.EI=r;function q(){var b=p.D.N+ZC._[34]+p.D.N+ZC._[35]+p.A.J+ZC._[6];var a=ZC.L.E7("circle",p.A.DQ,p.A.ID)+‘class="‘+b+‘" id="‘+p.N+ZC._[30]+ZC._i_(p.iX+ZC.MAPTX)+","+ZC._i_(p.iY+ZC.MAPTX)+","+ZC._i_(ZC.BT(ZC.mobile?6:3,p.AO)*(ZC.mobile?2:1.2))+‘" />‘;p.A.A.G0.push(a);if(p.A.T!=null){p.GN()}}if(p.A.FP&&!p.D.H5){var s=r,w={};s.iX=u;s.iY=v;w.x=u;w.y=v;var y=p.A.IT;s.BC=0;w.alpha=x.BC;if(y==1){}else{if(y==2){}else{if(y==3){s.AO=2;w.size=p.AO}else{if(y==4){switch(p.A.J){case 0:s.iX=u-p.AO*3;s.iY=v;break;case 1:s.iX=u+p.AO*3;s.iY=v;break;case 2:s.iX=u;s.iY=v-p.AO*3;break}w.x=u;w.y=v}}}}for(var z in p.A.E9){s[ZC.CR.GJ[ZC.CX(z)]]=p.A.E9[z];w[ZC.CX(z)]=x[ZC.CR.GJ[ZC.CX(z)]]}if(p.D.DH==null){p.D.DH={}}if(p.D.DH[p.A.J+"-"+p.J]!=null){for(var z in p.D.DH[p.A.J+"-"+p.J]){s[ZC.CR.GJ[ZC.CX(z)]]=p.D.DH[p.A.J+"-"+p.J][z]}}p.D.DH[p.A.J+"-"+p.J]={};ZC._cp_(w,p.D.DH[p.A.J+"-"+p.J]);var t=new ZC.CR(s,w,p.A.GV,p.A.IP,ZC.CR.NL[p.A.IQ],function(){q()});t.AT=p;p.J6(t)}else{r.paint();q()}},A7J:function(c){var e=this;if(ZC.move){return}e.JF({layer:c,type:"shape",initcb:function(){this.copy(e);this.iX=e.iX;this.iY=e.iY;this.AO=e.AO;this.DY="circle";this.W=e.A.B1[3];this.A5=e.A.B1[2]}})}});ZC.JH.prototype.K1=function(I,A){var s=this;if(typeof A==ZC._[31]){A=false}if(!A){var G=s.A.DV;var C=s.A.B8;if(s.A.QT.length!=0){var H=null,u=null;var D=true;if(s.A.QT.length<=2){if(s.A.QT[0]!=null&&s.A.QT[0] instanceof Array){D=false}if(s.A.QT[1]!=null&&s.A.QT[1] instanceof Array){D=false}}else{D=false}if(D){H=s.A.QT[0];u=s.A.QT[1]}else{if((SQ=s.A.QT[s.J])!=null){if(SQ instanceof Array){H=u=SQ[0];if(SQ.length==2){u=SQ[1]}}}}s.H["node-error-plus"]=H;s.H["node-error-minus"]=u;if((H+"").indexOf("%")!=-1){H=ZC.P4(H);if(H<=1){H*=s.AE}}if((u+"").indexOf("%")!=-1){u=ZC.P4(u);if(u<=1){u*=s.AE}}var t=[];var v=ZC.P4(s.A.GL?s.A.GL.o[ZC._[21]]||0.5:0.5);if(v<=1){if(s.A.AC=="vbar"){v=ZC._i_(v*s.I)}else{if(s.A.AC=="hbar"){v=ZC._i_(v*s.F)}else{v=ZC._i_(v*C.X)}}}var y=0;if(s.A.AC=="vbar"){y=s.I}else{if(s.A.AC=="hbar"){y=s.F}}if(H!=null){var z=G.B7(s.CU+H);if(s.A.AC=="hbar"){t.push([z,s.iY+y/2-v/2],[z,s.iY+y/2+v/2],null,[z,s.iY+y/2],[s.iX,s.iY+y/2])}else{t.push([s.iX+y/2-v/2,z],[s.iX+y/2+v/2,z],null,[s.iX+y/2,z],[s.iX+y/2,s.iY])}}if(u!=null){var w=G.B7(s.CU-u);if(s.A.AC=="hbar"){t.push(null,[w,s.iY+y/2-v/2],[w,s.iY+y/2+v/2],null,[w,s.iY+y/2],[s.iX,s.iY+y/2])}else{t.push(null,[s.iX+y/2-v/2,w],[s.iX+y/2+v/2,w],null,[s.iX+y/2,w],[s.iX+y/2,s.iY])}}var x=new ZC.DZ(s);x.copy(s.A);if(s.A.GL){x.copy(s.A.GL)}x.parse();x.N=s.N+"--error";ZC.C8.paint(I,x,t);s.H.pointserror=t}}else{if(typeof s.H.pointserror!=ZC._[31]){var x=new ZC.DZ(s);x.copy(s.A);if(s.A.GL){x.copy(s.A.GL)}x.parse();x.N=s.N+"--error-hover";ZC.C8.paint(I,x,s.H.pointserror)}}};ZC.GS=ZC.HC.BF({$i:function(e){var c=this;c.b(e);c.G=c.A.A;c.B5="";c.Z=[];c.BU=[];c.YS=[];c.DE=false;c.K=null;c.BE=null;c.HZ=null;c.C9=null;c.H3=0;c.GQ=null;c.FB=null;c.FW=0;c.MH=null;c.J=1;c.A7=0;c.YB=0;c.D0=0;c.B2=false;c.EW=false;c.X=0;c.EF=-1;c.NJ=ZC.FL[ZC._[13]]||"";c.O2=ZC.FL[ZC._[14]]||".";c.RJ=false;c.A02=2;c.ZI=false;c.M7="";c.UL="standard";c.CN=null;c.AC="";c.G7=ZC.MAX;c.OW=ZC.MAX;c.H0=false;c.TA=false;c.OX=null;c.SS=null;c.PV=[];c.E4=1;c.BJ=-1;c.C7=-1;c.KU=-1;c.M0=-1;c.M4="lin";c.HB=null;c.NS=1;c.MF=true;c.VB=false;c.XN=false;c.J8=null;c.RS=null;c.ZT=false;c.L1=-1;c.TP=false},parse:function(){var q=this,r;q.b();if((r=q.o.step)!=null){if(ZC.MS(r)){q.E4=ZC._f_(r)}else{var v=r.replace(/[0-9]/gi,"");var z=parseInt(r.replace(/[^0-9]/gi,""),10);z=z||1;switch(v){case"second":q.E4=z*1000;break;case"minute":q.E4=z*1000*60;break;case"hour":q.E4=z*1000*60*60;break;case"day":q.E4=z*1000*60*60*24;break}}}if(q.o.multiplier!=null&&q.o["short"]==null){q.o["short"]=q.o.multiplier}q.XK_a([[ZC._[10],"BU"],["tooltip-text","YS"],["format","CN"],["offset-start","A7","i"],["offset-start","YB","i"],["offset-end","D0","i"],["minor-ticks","H3","i"],["index","J","i"],["mirrored","B2","b"],["zooming","H0","b"],["zoom-snap","TA","b"],["zoom-to","OX"],["force-view","TP","b"],["zoom-to-values","SS"],["items-overlap","VB","b"],["auto-fit","XN","b"],["max-labels","G7","i"],["max-items","G7","i"],["ref-value","FW","f"],[ZC._[12],"EF","ia"],[ZC._[14],"O2"],[ZC._[13],"NJ"],["short","ZI","b"],["short-unit","M7"],["negation","UL"],["exponent","RJ","b"],[ZC._[25],"SC","ia"],["progression","M4"],["scale-factor","NS","fa"],["show-labels","J8"],["max-decimals","L1","i"]]);q.G7=ZC.BT(q.G7,2);if((r=q.o.offset)!=null){q.A7=q.D0=ZC._i_(r)}if((r=q.o["max-ticks"])!=null){q.OW=ZC._i_(r)}else{q.OW=q.G7}if((r=q.o.transform)!=null){q.HB=new ZC.DZ();q.HB.append(r)}var t=q.A.A.AV;var y="("+q.A.AC+")";var u=q.B5.replace(/\-[0-9]/,"");var w=q.B5.replace(/\-[0-9]/,"-n");function s(b){var a=[y+".SCALE."+b,y+"."+q.B5+"."+b,y+"."+u+"."+b,y+"."+w+"."+b];if(q.A.AI["3d"]){a=a.concat([y+".SCALE[3d]."+b,y+"."+q.B5+"[3d]."+b,y+"."+u+"[3d]."+b,y+"."+w+"[3d]."+b])}return a}if((r=q.o.markers)!=null){for(var x=0,A=r.length;x<A;x++){var C=new ZC.A36(q);C.J=x;t.load(C.o,s("marker"));C.append(r[x]);C.parse();q.PV.push(C)}}q.MH=new ZC.DZ(q);t.load(q.MH.o,s("ref-line"));q.MH.append(q.o["ref-line"]);if(q.AC=="k"){q.MH.AP=false}q.MH.parse();q.K=new ZC.D2(q);t.load(q.K.o,s("label"));q.K.append(q.o.label);q.K.N=q.N+"-label";q.K.parse();q.BE=new ZC.D2(q);t.load(q.BE.o,s("item"));q.BE.append(q.o.item);q.BE.N=q.N+"-item";q.BE.parse();q.HZ=new ZC.DZ(q);t.load(q.HZ.o,s("tick"));q.HZ.append(q.o.tick);q.HZ.parse();q.C9=new ZC.DZ(q);t.load(q.C9.o,s("guide"));q.C9.append(q.o.guide);q.C9.parse();if(q.C9.o.items==null&&q.C9.W!=-1&&q.C9.A5!=-1){q.C9.o.items=[{alpha:q.C9.BC,"background-color":q.C9.W},{alpha:q.C9.BC,"background-color":q.C9.A5}]}q.GQ=new ZC.DZ(q);t.load(q.GQ.o,s("minor-tick"));q.GQ.append(q.o["minor-tick"]);q.GQ.parse();q.FB=new ZC.DZ(q);t.load(q.FB.o,s("minor-guide"));q.FB.append(q.o["minor-guide"]);q.FB.parse();q.YW()},YW:function(){var b=this;b.iX=b.A.P.iX;b.iY=b.A.P.iY;b.I=b.A.P.I;b.F=b.A.P.F},applyItemRules:function(c){var e=this;if(e.o.rules!=null){if(!e.RS){e.RS=new ZC.GS(e.A)}e.RS.append(e.o);e.RS.parse();e.RS.IG=c;if(e.RS.CJ()){e.RS.parse();e.EF=e.RS.EF;e.CN=e.RS.CN}}},L4:function(){},A6P:function(){},A6V:function(){},A4E:function(b){},clear:function(){},build:function(){},L0:function(){var n=this,o;var v={negation:n.UL,"thousands-separator":n.NJ,"decimals-separator":n.O2,decimals:n.EF,"max-decimals":n.L1,"short":n.ZI,"short-unit":n.M7,exponent:n.RJ,"exponent-decimals":n.SC};if(n.HB!=null){switch(n.HB.o.type){case"date":v[ZC._[66]]=true;if((o=n.HB.o.text)!=null){n.HB.o.all=o}var r=n.Z[n.A3]-n.Z[n.Y];var s="";var p="";var q={},u=["msecond","second","minute","hour","day","month","year"];for(var t in u){q[u[t]]=ZC.FL["date-formats"][u[t]]}if(0<=r&&r<=1000){p="msecond"}else{if(1000<r&&r<=1000*60*60){p="second"}else{if(1000*60*60<r&&r<=1000*24*60*60){p="minute"}else{if(1000*24*60*60<r&&r<=1000*31*24*60*60){p="hour"}else{if(1000*31*24*60*60<r&&r<=1000*366*24*60*60){p="day"}else{if(1000*366*24*60*60<r&&r<=1000*20*366*24*60*60){p="month"}else{p="year"}}}}}}if(n.HB.o[p]!=null){s=n.HB.o[p]}else{if(n.HB.o.all!=null){s=n.HB.o.all}else{s=q[p]}}n.H.dateformat=s;v[ZC._[65]]=n.H.dateformat;break}}return v},VA:function(){var r=this,q;var n=r.A.AY.AB;var o=-1;for(var l=0,m=n.length;l<m;l++){var p=n[l].BH(r.AC);if(ZC.AG(p,r.B5)!=-1){switch(n[l].AC){case"pie":case"pie3d":case"nestedpie":case"vbar":case"vbar3d":case"hbar":case"hbar3d":case"vbullet":case"hbullet":case"area":case"area3d":case"gauge":case"vfunnel":case"hfunnel":case"venn":o=n[l].W;break;case"scatter":case"bubble":o=n[l].AD.W!=-1?n[l].AD.W:n[l].W;break;default:o=n[l].AW;break}break}}return o},paint:function(){var b=this;b.build();if(!b.A.AI["3d"]){b.b()}},K0:function(l,n,p){var h=this;if(h.A.AI["3d"]){var m=new ZC.CI(h.A,l.iX+l.I/2-ZC.AU.ER,l.iY+l.F/2-ZC.AU.EQ,0+l.A3Y);l.iX=m.ED[0]-l.I/2+(p=="v"?h.J==1?-5:5:0);l.iY=m.ED[1]-l.F/2+(p=="h"?h.J==1?5:-5:0);var o=ZC.EM.A4Y(h.A,l);if(n==null){n=l.A6+(!l.Y8?o:0)}l.A6=n}return n},SB:function(K,z,x){var J=this;var v=x.items,l=x.lcoords,s=x.lstep;var I=x.tdim,G=x.mdim,y=x.dim,D=x.html;var w=[K.iX,K.iY,K.I,K.F];if(K.A6%180==90){w=[K.iX+K.I/2-K.F/2,K.iY+K.F/2-K.I/2,K.F,K.I]}if(K.AP){var A=true;if(!J.VB){if(z==J.Y||z==J.A3){A=true}else{if(z%s==0){A=true}for(var H=0,C=l.length;H<C;H++){if(ZC.AX.YC({x:w[0],y:w[1],width:w[2],height:w[3]},{x:l[H][0],y:l[H][1],width:l[H][2],height:l[H][3]})){A=false;break}}}}if(A){l.push(w);K.paint();v++;if(y=="h"){I+=K.F;G=ZC.BT(G,K.A6%180==90?K.I:K.F)}else{if(y=="w"){I+=K.I;G=ZC.BT(G,K.A6%180==90?K.F:K.I)}}K.DR();if(J.o.tooltip!=null){D.push(ZC.AQ.QU(J.A.N,K))}}}return{tdim:I,mdim:G}},R0:function(l,m){var h=this;if(h.AC=="v"){if(h.FW==h.BJ||h.FW==h.C7){if(h.o["ref-line"]==null||h.o["ref-line"]!=null&&h.o["ref-line"]["visible"]==null){h.MH.AP=false}}}if(h.Z.length>0&&h.MH.AP&&!h.A.AI["3d"]){if(h.MH.AM>0){if(h.MH.o["line-color"]=="inherit"&&m!=-1){h.MH.AW=m}var n=h.FW;if(h.AC=="k"&&!h.EW||h.AC=="v"&&h.EW){var p=h.B7(n);if(p>=h.iX&&p<=h.iX+h.I){ZC.C8.paint(l,h.MH,[[p,h.iY],[p,h.iY+h.F]])}}else{var o=h.B7(n);if(o>=h.iY&&o<=h.iY+h.F){ZC.C8.paint(l,h.MH,[[h.iX,o],[h.iX+h.I,o]])}}}}},paint_:function(){},V1:function(){var g=this;for(var e=0,f=g.PV.length;e<f;e++){if(g.Z.length>0){g.PV[e].paint()}}}});ZC.XS=ZC.GS.BF({$i:function(e){var c=this;c.b(e);c.ES=false;c.AC="k";c.GY=-1;c.HT=-1;c.Y=-1;c.A3=-1;c.MT=1;c.EF=null;c.NO=0;c.A2V=false;c.M6=false;c.SA={}},A4Z:function(p,m){var r=this;if(p!=null){r.Y=p}else{r.Y=r.GY}if(m!=null){r.A3=m}else{r.A3=r.HT}var s=r.A.I1;if(s.length>0){r.BJ=ZC.AG(s,r.Z[r.Y]);r.C7=ZC.AG(s,r.Z[r.A3])}if(r.G.GW.D==null){r.G.GW.D=r.A}if(r.A.GW&&r.A.GW.o.shared!=null&&ZC._b_(r.A.GW.o.shared)&&r.A.N==r.G.GW.D.N){for(var t=0,o=r.G.B0.length;t<o;t++){var q=r.G.B0[t];if(q.N!=r.A.N){if(q.GW.o.shared!=null&&ZC._b_(q.GW.o.shared)){var n=q.BB(r.B5);if(n){n.A4Z(p,m);q.clear(true);q.H["shared-zoom"]=true;q.paint();if(q.D8){q.D8.update(p,m,null,null,true)}}}}}}},zoomToV:function(e,f){var g=this;if(e!=null){g.BJ=e}else{g.BJ=g.KU}if(f!=null){g.C7=f}else{g.C7=g.M0}g.UF(g.BJ,g.C7,e==null&&f==null)},IK:function(J,M,E6){var s=this;var CA="";if(M){CA=M.Q[J].CF;if(s.HB==null||s.HB.o.type!="date"){if(s.BU[CA]!=null){CA=s.BU[CA]}else{if(s.Z[CA]!=null){CA=s.Z[CA]}}}}else{if(s.BU[J]!=null){CA=s.BU[J]}else{CA=s.Z[J]}}if(typeof CA=="number"){if(s.A.I1[CA]!=null){CA=s.A.I1[CA]}}var MK=ZC.MS(CA)&&ZC._f_(CA)<0;var BD=s.L0();ZC._cp_(E6,BD);if(MK&&BD.negation=="currency"){CA=ZC._a_(ZC._f_(CA))}BD.utc=s.A.SY;CA=ZC.AQ.FZ(CA,BD,s,true);if(s.CN!=null){if(s.CN.substring(s.CN.length-2)=="()"||s.CN.substring(0,11)=="javascript:"){try{var ET=s.CN.replace("javascript:","").replace("()","");if(eval(ET)){CA=eval(ET).call(s,CA)}}catch(e){}}else{if(MK&&BD.negation=="currency"){CA="-"+s.CN.replace(/%v|%scale-value/g,CA)}else{CA=s.CN.replace(/%v|%scale-value/g,CA)}}}return CA},KV:function(p,r,t,s){var o=this;var q=o.IK(r,t,s);var x=[];x.push(["%scale-label",q],["%scale-index",r],["%scale-position",r]);if(o.HB!=null&&o.HB.o.type=="date"){x.push(["%scale-value",q],["%v",q])}else{x.push(["%scale-value",o.Z[r]||""],["%v",o.Z[r]||""])}x.push(["%l",q],["%t",q],["%i",r],["%c",r]);x.sort(ZC.WH);for(var v=0,w=x.length;v<w;v++){var u=new RegExp(x[v][0],"g");p=p.replace(u,x[v][1])}return p},A6P:function(){var o=this;var r=ZC.BT(o.Z.length,o.BU.length);var x=0;if(o.BE.A6%180==0){var w=ZC.BT(1,ZC._i_(r/20));for(var t=0;t<r;t+=w){var v=o.BU[t]||o.Z[t];var s=new String(v).split(/<br>|<br\/>|<br \/>|\n/);var p=0;for(var u=0,q=s.length;u<q;u++){p=ZC.BT(p,10*s[u].replace(/<.+?>/gi,"").replace(/<\/.+?>/gi,"").length)}x+=p}x/=20}else{x=15}if(!o.EW){o.G7=ZC._i_((o.I-o.A7-o.D0)/x)}else{o.G7=ZC._i_((o.F-o.A7-o.D0)/15)}o.G7=ZC.BT(2,o.G7)},A6V:function(){var b=this;if(b.o["max-ticks"]==null){b.OW=b.G7}},A4E:function(ai){var W=this;if(ai==1){if(W.o.transform&&W.o.transform.type=="date"){if(W.o.transform.uniform!=null&&!ZC._b_(W.o.transform.uniform)){W.M6=true}}}if(ai==1&&W.o[ZC._[5]]!=null){W.Z=[];if(typeof W.o[ZC._[5]]=="object"){W.Z=W.o[ZC._[5]];if(W.BU.length==0){W.BU=W.Z}for(var Q=0,am=W.Z.length;Q<am;Q++){if(typeof W.Z[Q]=="string"){W.A2V=true;W.A.I1.push(W.Z[Q])}}}else{var X=W.o[ZC._[5]].split(":");var ad=W.E4;if(X.length==3){ad=ZC._f_(X[2])}if(X.length>1){var n=0,P=0,S=0;for(var Z=ZC._f_(X[0]);Z<=ZC._f_(X[1]);Z+=ad){var R=(""+Z).split(".");n+=R[1]?R[1].length:0;P=ZC.BT(P,R[1]?R[1].length:0);S++;if(W.o[ZC._[12]]!=null){W.Z.push(Number(Z).toFixed(ZC._i_(W.o[ZC._[12]])))}else{W.Z.push(Z)}}if(W.o[ZC._[12]]==null){n=Math.ceil(n/S);W.EF=ZC._a_(P-n)<=1?P:n}}}}if(ai==2){var U=0;var s=[];if(W.Z.length==0){var ac=ZC.MAX;var v=-ZC.MAX}else{var ac=W.Z[0];var v=W.Z[W.Z.length-1]}var ab=W.A.AY.AB;var af=false;for(var Q=0,am=ab.length;Q<am;Q++){var ag=ab[Q].BH();if(ZC.AG(ag,W.B5)!=-1){U=ZC.BT(U,ab[Q].Q.length);var ae=s.length==0;for(var N=0,aa=ab[Q].Q.length;N<aa;N++){if(ab[Q].Q[N]!=null){if(ab[Q].Q[N].CF!=null){var aj=ab[Q].Q[N].CF;ac=ZC.DI(ac,aj);v=ZC.BT(v,aj);if(W.M6&&ae){s.push(aj)}W.ES=true;ab[Q].ES=true}else{af=true}}else{if(W.M6&&ae){s.push("")}}}}}if(U>W.Z.length&&W.Z.length>0&&!W.ES){for(var Q=W.Z.length;Q<U;Q++){W.Z.push("")}}if(W.Z.length==0){if(!W.ES){if(W.o["max-value"]!=null){var Y=0;var M=0;if(W.o["min-value"]!=null){Y=ZC._f_(W.o["min-value"])}M=ZC._f_(W.o["max-value"]);var Q=0;var O=Y;if(W.HB!=null&&W.HB.o.type!=null){switch(W.HB.o.type){case"date":W.E4=W.WK(Y,M);break}}while(O<M){O=W.A.SL(Q*W.E4+Y);if(W.Z[Q]==null){W.Z[Q]=O}Q++}}else{for(var Q=0;Q<U;Q++){if(W.Z[Q]==null){if(W.o["min-value"]!=null){W.Z[Q]=W.A.SL(Q*W.E4+ZC._i_(W.o["min-value"]))}else{W.Z[Q]=W.A.SL(Q*W.E4)}}}}}else{if(af&&ac>0){ac=0}if(af&&v<U-1){v=U-1}if(W.o["min-value"]!=null){ac=ZC._f_(W.o["min-value"])}if(W.o["max-value"]!=null){v=ZC._f_(W.o["max-value"])}if(v-ac<W.E4&&v-ac>0){W.E4=v-ac}if(!W.M6){W.UF(ac,v,true)}}}if(W.M6&&W.ES){W.Z=[].concat(s);W.BU=[].concat(s)}}if(W.M6){W.SA={};for(var Q=0,am=W.BU.length;Q<am;Q++){W.SA[W.BU[Q]]=Q}}W.Y=0;W.A3=W.Z.length-1;W.GY=0;W.HT=W.Z.length-1;if(W.A.I1.length>0){W.BJ=W.Y;W.C7=W.A3}else{W.BJ=ZC._f_(W.Z[W.Y]);W.C7=ZC._f_(W.Z[W.A3])}if(W.SS){var ak=ZC.AG(W.Z,W.SS[0]);var al=ZC.AG(W.Z,W.SS[1]);W.OX=[ak==-1?0:ak,al==-1?W.Z.length-1:al]}var ah=W.G.H["graph"+W.A.J+".zoom"];if(W.G.H[ZC._[53]]==null||typeof W.G.H[ZC._[53]]==ZC._[31]||W.G.H[ZC._[53]]){if(typeof ah!=ZC._[31]&&ah.xmin!=null&&ah.xmax!=null){W.OX=[ah.xmin,ah.xmax]}}else{W.G.H["graph"+W.A.J+".zoom"]={}}if(W.OX){W.A.VQ=true}},UF:function(x,A,v){var r=this;if(r.HB!=null&&r.HB.o.type!=null){switch(r.HB.o.type){case"date":var C=r.WK(x,A);if((A-x)%C!=0){A+=C-(A-x)%C}var t=[x,A,C,G];break}}else{var t=ZC.AX.A4H(x,A,r.E4,r.NS)}var s=t[0];var u=t[1];var w=t[2];var D=Math.floor(ZC.Q2(w)/Math.LN10);var G=t[3];if(D<G&&D<0){G=D}r.Z=[];if(v){r.KU=x;r.M0=A;r.MT=ZC._i_((u-s)/w);if(s==u){s-=w;u+=w}if(G>0){for(var y=s;y<=u;y+=w){r.Z.push(y)}}else{var y=ZC._f_(s.toFixed(-G));while(y<=ZC._f_(u.toFixed(-G))){r.Z.push(y);y=ZC._f_((y+w).toFixed(-G))}}}else{var w=ZC._f_((A-x)/r.MT);for(var y=0;y<=r.MT;y++){var z=x+w*y;if(G<0){z=ZC._f_(z.toFixed(-G))}r.Z.push(z)}}r.Y=0;r.A3=r.Z.length-1;r.GY=0;r.HT=r.Z.length-1;r.BJ=ZC._f_(r.Z[r.Y]);r.C7=ZC._f_(r.Z[r.A3])},WK:function(o,m){var h=this;var n=m-o;var p=Math.floor(ZC.Q2(n)/Math.LN10);var l=1000;if(h.o.step!=null){l=h.E4}else{if(p<=3){l=1}else{if(p==4){l=1000}else{if(p==5){l=1000*10}else{if(p==6){l=1000*60}else{if(p==7){l=1000*60*10}else{if(p==8){l=1000*60*60}else{if(p==9){l=1000*60*60*6}else{if(p==10){l=1000*60*60*24}else{if(p==11){l=1000*60*60*24*10}else{l=1000*60*60*24*30}}}}}}}}}}return l},parse:function(){this.b()},clear:function(){this.b()},build:function(){this.b()},paint:function(){this.b()}});ZC.U8=ZC.GS.BF({$i:function(e){var c=this;c.b(e);c.AC="v";c.Y=-1;c.A3=-1;c.MT=0;c.EF=null;c.K6="normal"},A4Z:function(e,f){var g=this;if(e!=null){g.BJ=e}else{g.BJ=g.KU}if(f!=null){g.C7=f}else{g.C7=g.M0}g.UF(g.BJ,g.C7,false)},IK:function(J,CA,E6){var s=this;if(typeof CA==ZC._[31]){CA="";if(s.BU[J]!=null){CA=s.BU[J]}else{CA=s.Z[J]}}if(typeof CA=="number"){if(s.A.GB[CA]!=null){CA=s.A.GB[CA]}}var MK=ZC.MS(CA)&&ZC._f_(CA)<0;var BD=s.L0();ZC._cp_(E6,BD);if(MK&&BD.negation=="currency"){CA=ZC._a_(ZC._f_(CA))}BD.utc=s.A.SY;CA=ZC.AQ.FZ(CA,BD,s,true);if(s.CN!=null){if(s.CN.substring(s.CN.length-2)=="()"||s.CN.substring(0,11)=="javascript:"){try{var ET=s.CN.replace("javascript:","").replace("()","");if(eval(ET)){CA=eval(ET).call(s,CA)}}catch(e){}}else{if(MK&&BD.negation=="currency"){CA="-"+s.CN.replace(/%v|%scale-value/g,CA)}else{CA=s.CN.replace(/%v|%scale-value/g,CA)}}}return CA},A6P:function(){var g=this;var e=ZC.BT(g.Z.length,g.BU.length);var f=10*ZC.BT(g.Z.join("").length,g.BU.join("").length)/e;if(g.EW){g.G7=ZC._i_((g.I-g.A7-g.D0)/f)}else{g.G7=ZC._i_((g.F-g.A7-g.D0)/20)}g.G7=ZC.BT(2,g.G7)},A6V:function(){var b=this;if(b.o["max-ticks"]==null){b.OW=b.G7}},A4E:function(ao){var ab=this,ac;if(ao==1){if(ab.o[ZC._[5]]==null&&(ac=ab.A.A5S("v"))!=null){ab.o[ZC._[5]]=ac}}var Z=ab.A.GB;if(ao==1&&ab.o[ZC._[5]]!=null){this.Z=[];if(typeof ab.o[ZC._[5]]=="object"){var aq=ab.o[ZC._[5]];var P=ZC.Y3(aq);var R=ZC.XR(aq);var at=true;for(var X=0,ar=aq.length-2;X<ar;X++){if(typeof aq[X+2]=="number"&&typeof aq[X+1]=="number"&&typeof aq[X]=="number"&&ZC._f_(aq[X+2])-ZC._f_(aq[X+1])!=ZC._f_(aq[X+1])-ZC._f_(aq[X])){at=false;break}}if(!at){ab.o[ZC._[5]]=P+":"+R;if(!ab.J8){ab.J8=[];for(var X=0,ar=aq.length;X<ar;X++){ab.J8.push(""+aq[X])}}}}if(typeof ab.o[ZC._[5]]=="object"){ZC._cpa_(ab.o[ZC._[5]],ab.Z);if(ab.BU.length==0){ZC._cpa_(ab.BU,ab.Z)}for(var X=0,ar=ab.Z.length;X<ar;X++){if(typeof ab.Z[X]=="string"){var ag=ab.Z[X];var ai=ZC.AG(Z,ab.Z[X]);if(ai==-1){Z.push(ab.Z[X]);ab.Z[X]=Z.length-1}else{ab.Z[X]=ai}if(ab.BU[X]==null){ab.BU[X]=ag}}}}else{var aa=ab.o[ZC._[5]].split(":");var aj=1;if(aa.length==3){aj=ZC._f_(aa[2])}if(aa.length>1){var e=0,U=0,Y=0;for(var af=ZC._f_(aa[0]);af<=ZC._f_(aa[1]);af+=aj){var S=(""+af).split(".");e+=S[1]?S[1].length:0;U=ZC.BT(U,S[1]?S[1].length:0);Y++;ab.Z.push(af)}if(ab.o[ZC._[12]]==null){var S=(""+aj).split(".");if(S[1]){e=S[1].length}else{e=Math.ceil(e/Y)}ab.EF=ZC._a_(U-e)<=1?U:e}}}ab.Y=0;ab.A3=ab.Z.length-1;ab.E4=aj;if(Z.length>1){ab.BJ=ZC.Y3(ab.Z);ab.C7=ZC.XR(ab.Z)}else{ab.BJ=ab.Z[0];ab.C7=ab.Z[ab.Z.length-1]}}if(ao==2){var W={};if(ab.o[ZC._[5]]==null){ab.Z=[];var ad=ZC.MAX;var s=-ZC.MAX}var ak=[];var ah=ab.A.AY.AB;for(var X=0,ar=ah.length;X<ar;X++){if(ab.A.H["plot"+X+".visible"]||ab.A.getToggleAction()=="hide"){var am=ah[X].BH();if(ZC.AG(am,ab.B5)!=-1){for(var ae=0,v=ah[X].Z.length;ae<v;ae++){if(ah[X].Q[ae]!=null){var al=ah[X].IX!=null&&ah[X].IX[ae]!=null?ZC._f_(ah[X].IX[ae]):0;if(ah[X].CG){if(W[ah[X].EK]==null){W[ah[X].EK]=[]}if(W[ah[X].EK][ae]==null){if(ah[X].Q[ae].AE>=0){W[ah[X].EK][ae]=[ah[X].Q[ae].AE,0]}else{W[ah[X].EK][ae]=[0,ah[X].Q[ae].AE]}}else{if(ah[X].Q[ae].AE>=0){W[ah[X].EK][ae][0]+=ah[X].Q[ae].AE}else{W[ah[X].EK][ae][1]+=ah[X].Q[ae].AE}}if(ah[X].Q[ae].AE>=0){ah[X].Q[ae].CU=W[ah[X].EK][ae][0]}else{ah[X].Q[ae].CU=W[ah[X].EK][ae][1]}if(ab.o[ZC._[5]]==null){ak.push(W[ah[X].EK][ae][0]+al,W[ah[X].EK][ae][1]+al)}}else{ah[X].Q[ae].CU=ah[X].Q[ae].AE;if(ab.o[ZC._[5]]==null){ak.push(ah[X].Q[ae].AE+al);if(ah[X].Q[ae].AE>0){ak.push(ah[X].Q[ae].AE)}if(al<0){ak.push(al)}for(var Q=0,ap=ah[X].Q[ae].CS.length;Q<ap;Q++){ak.push(ah[X].Q[ae].CS[Q]+al)}}}}}}}}if(ak.length>0){ad=ZC.Y3(ak);s=ZC.XR(ak)}if(ab.Z.length==0&&(ad==Number.MAX_VALUE||s==Number.MIN_VALUE)){ab.Z=[0,1];ad=0;s=1}if(ab.o[ZC._[5]]==null){if(ab.o["min-value"]!=null&&ab.o["min-value"]!="auto"){ad=ZC._f_(ab.o["min-value"])}else{if(ad>0&&ab.o["min-value"]!="auto"){if(ab.M4!="log"){ad=0}}}if(ab.o["max-value"]!=null){s=ZC._f_(ab.o["max-value"])}if(ad==ZC.MAX&&s==-ZC.MAX){ab.Y=0;ab.A3=0;ab.BJ=0;ab.C7=0}else{ab.UF(ad,s,true)}}}if(ab.KU==-1&&ab.M0==-1){ab.KU=ab.BJ;ab.M0=ab.C7}if(ab.MT==0){ab.MT=ZC._i_((ab.C7-ab.BJ)/ab.E4)}var an=ab.G.H["graph"+ab.A.J+".zoom"];if(ab.G.H[ZC._[53]]==null||typeof ab.G.H[ZC._[53]]==ZC._[31]||ab.G.H[ZC._[53]]){if(typeof an!=ZC._[31]&&an.ymin!=null&&an.ymax!=null){ab.OX=[an.ymin,an.ymax]}}else{ab.G.H["graph"+ab.A.J+".zoom"]={}}if(ab.OX){ab.A.VQ=true}},UF:function(y,r,w){var q=this;if(q.A.GB.length>1){y=0}if(w&&q.M4=="log"){y=ZC.Q2(y);r=ZC.Q2(r)}var u=ZC.AX.A4H(y,r,null,q.NS);var t=u[0];var v=u[1];var x=u[2];var C=u[3];if(q.o.step!=null){x=q.E4}q.Z=[];if(w){if(v==t){v+=x;t-=x}else{if(r-y==x){x=x/2}}y=t;r=v;if(q.o[ZC._[12]]==null){var s=Math.floor(ZC.Q2(x)/Math.LN10);if(s<0){q.EF=ZC._a_(s)}}q.MT=ZC._i_((r-y)/x)}else{if(q.MT==0){q.MT=10}if(q.o[ZC._[12]]==null){var s=Math.floor(ZC.Q2(x)/Math.LN10);if(!isFinite(s)){s=1}if(s<0){q.EF=ZC._a_(s)}}var x=ZC._f_((r-y)/q.MT);if(q.o[ZC._[12]]==null){var s=Math.floor(ZC.Q2(x)/Math.LN10);if(!isFinite(s)){s=1}if(s<0){q.EF=ZC._a_(s)}}}for(var z=0;z<=q.MT;z++){var A=y+x*z;A=ZC._f_(A.toFixed(ZC.BT(-C,q.EF)));if(q.M4=="log"){A=ZC._f_(Math.exp(A).toFixed(ZC.BT(-C,q.EF)))}q.Z.push(A)}q.E4=x;q.Y=0;q.A3=q.Z.length-1;q.BJ=y;q.C7=r},parse:function(){var b=this;b.XK_a([["stack-type","K6"]]);if(b.A.CG&&b.A.K6=="100%"||b.K6=="100%"){if(b.o[ZC._[5]]==null){b.o[ZC._[5]]="0:100:20";b.o.format="%v%"}}this.b()},clear:function(){this.b()},build:function(){this.b()},paint:function(){this.b();if(this.o[ZC._[5]]!=null){this.ZT=true}}});ZC.WG=ZC.XS.BF({$i:function(b){this.b(b)},parse:function(){this.b()},L4:function(){var b=this;if(b.A3==b.Y){b.X=b.I-b.A7-b.D0}else{b.X=(b.I-b.A7-b.D0)/(b.A3-b.Y+(b.DE?1:0))}},A4E:function(e){var c=this;c.b(e);c.L4()},A4Z:function(g,f){var e=this;e.b(g,f);e.L4()},clear:function(){},build:function(){this.b()},MJ:function(x,y,A){var r=this,s;if(typeof A==ZC._[31]){A=false}if(r.B2){var v=(r.iX+r.I-x-r.A7-(r.DE?r.X/2:0))/(r.I-r.A7-r.D0-(r.DE?r.X:0))}else{var v=(x-r.iX-r.A7-(r.DE?r.X/2:0))/(r.I-r.A7-r.D0-(r.DE?r.X:0))}if(y&&!r.M6){var G=r.Z[r.Y];if(typeof G=="string"){G=ZC.AG(r.A.I1,G)}var z=r.Z[r.A3];if(typeof z=="string"){z=ZC.AG(r.A.I1,z)}var t=G+ZC._i_((z-G)*v);var w=ZC.MAX;var u=null;for(ZA in y.K3){if(ZC._a_(ZA-t)<w){w=ZC._a_(ZA-t);u=y.K3[ZA]}}if(w>y.A0F){return null}return u}else{var D=r.Y,C=r.A3;if(r.ES){if((s=r.Z[D])!=null){D=s}if((s=r.Z[C])!=null){C=s}}if(A){if(r.DE){var u=D+(C-D+1)*v}else{var u=D+(C-D)*v}}else{if(r.DE){var u=r.Y+Math.floor((r.A3-r.Y+1)*v)}else{var u=r.Y+ZC._i_((r.A3-r.Y)*v)}}}u=ZC.BT(0,u);u=ZC.DI(r.HT,u);return u},NN:function(f){var l=this;var h=l.Y,g=l.A3;if(l.ES&&!l.M6){h=l.BJ;g=l.C7}if(l.B2){return l.iX+l.I-l.A7-(f-l.Y+(l.DE?1:0))*l.X+(l.DE?l.X/2:0)}else{return l.iX+l.A7+(f-l.Y)*l.X+(l.DE?l.X/2:0)}},B7:function(n){var g=this;if(g.M6){var h=g.SA[n];return g.NN(h)}if(!g.A2V&&(g.ES||g.HB!=null&&g.HB.o.type=="date")){var m=g.Z[g.A3]-g.Z[g.Y];var l=(g.I-g.A7-g.D0-(g.DE?g.X:0))/m;if(g.B2){return g.iX+g.I-g.A7-(n-g.Z[g.Y])*l-(g.DE?g.X/2:0)}else{return g.iX+g.A7+(n-g.Z[g.Y])*l+(g.DE?g.X/2:0)}}else{var m=g.C7-g.BJ+(g.DE?1:0);var l=(g.I-g.A7-g.D0)/m;if(g.B2){return g.iX+g.I-g.A7-(n-g.BJ)*l-(g.DE?g.X/2:0)}else{return g.iX+g.A7+(n-g.BJ)*l+(g.DE?g.X/2:0)}}},paint:function(){var s=this,aS;s.b();var aI=s.VA();var aO=0;for(var aE=0,aV=s.A.B9.length;aE<aV;aE++){if(s.A.B9[aE].B5.substring(0,7)==ZC._[50]){aO++}}var ax=null;var aN=null;for(var aE=0,aV=s.A.AY.AB.length;aE<aV;aE++){var a0=s.A.AY.AB[aE];var aL=a0.BH();if(ZC.AG(aL,s.B5)!=-1){var ao=s.A.BB(a0.BH("v")[0]);ax=ao.B7(ao.FW);aN=a0;break}}var aH=8;if(s.HZ.o[ZC._[21]]!=null){aH=ZC._i_(s.HZ.o[ZC._[21]])}var az=4;if(s.GQ.o[ZC._[21]]!=null){az=ZC._i_(s.GQ.o[ZC._[21]])}var C=ZC._i_(s.A.P.CP/(aO-1));var aM=s.J==1?s.iY+s.F:s.iY-(s.J-2)*C;var ay=aM;if(s.A.JS!=null){s.A.JS.AP=true;if(s.GY==s.Y&&s.HT==s.A3){s.A.JS.AP=false}if(s.A.JS.AP&&s.A.JS.CD.BW==0){aM+=s.A.JS.CD.F+s.AM/2}}s.H.iY=aM;if(!s.AP){return}var aP=ZC.BT(1,Math.ceil((s.A3-s.Y)/(s.OW-1)));var an=ZC.BT(1,Math.ceil((s.A3-s.Y)/(s.G7-1)));var aB=0;var a5=s.X*aP/(s.H3+1);var aF=s.B2?s.iX+s.D0:s.iX+s.A7;var ar=s.B2?s.iX+s.I-s.A7:s.iX+s.I-s.D0;if(ax==null){ax=aM}var aR=s.G.usc()?s.G.mc():ZC.AH(s.A.N+"-scales-ml-0-c");var am=ZC.L.DF(aR,s.G.A8);var aW=s.G.usc()?s.G.mc():ZC.AH(s.A.N+"-scales-bl-0-c");var av=ZC.L.DF(aW,s.G.A8);if(s.o["line-color"]=="inherit"&&aI!=-1){s.AW=aI}if(s.A.AI["3d"]){var K=ZC.EM.EC(s,s.A,s.iX-ZC.AU.ER,s.iX-ZC.AU.ER+s.I,aM-ZC.AU.EQ,aM-ZC.AU.EQ,0-1,ZC.AU.GG+1,"x");if(s.A.EB.true3d){if(s.A.EB[ZC._[27]]>0){K.LJ=[s.J==1?-100:100,1,1]}else{K.LJ=[s.J==1?100:-100,1,1]}}s.A.C6.add(K)}else{var aQ=[[s.iX,ay],[s.iX+s.I,ay]];ZC.C8.paint(s.A.AI["3d"]&&!s.A.EB.true3d?av:am,s,aQ)}function at(a){a=a.replace(/(%c)|(%scale-position)/g,s.FC);a=a.replace(/(%i)|(%scale-index)/g,s.II);a=a.replace(/(%v)|(%scale-value)/g,s.Z[s.II]!=null?s.Z[s.II]:"");a=a.replace(/(%l)|(%scale-label)/g,s.BU[s.II]!=null?s.BU[s.II]:"");a=a.replace(/%scale-day-of-week/g,ZC.AQ.ZU(s.Z[s.II],"%w",s.A.SY));return a}if(s.Z.length>0&&s.C9.AP){var a1=s.C9.o["offset-start"]==null?0:ZC._i_(s.C9.o["offset-start"]);var au=s.C9.o["offset-end"]==null?0:ZC._i_(s.C9.o["offset-end"]);if(s.C9.o.items&&s.C9.o.items.length>0&&!s.A.AI["3d"]){var ap=new ZC.HC(s);for(var aE=s.Y;aE<s.A3+(s.DE?1:0);aE++){var aX=aE-s.Y;var a7=aE%s.C9.o.items.length;ap.append(s.C9.o.items[a7]);ap.N=s.N+"-guide-"+aE;ap.A0=aW;ap.parse();if(s.B2){ap.iX=s.iX+s.I-s.A7-aX*s.X-s.X}else{ap.iX=s.iX+s.A7+aX*s.X}ap.iY=s.iY+a1;ap.I=s.X;ap.F=s.F-a1-au;ap.paint()}}if(s.C9.AM>0){s.FC=0;for(var aE=s.Y;aE<=s.A3+(s.DE?1:0);aE++){s.II=aE;if(aE==s.Y||aE==s.A3+(s.DE?1:0)||aE%aP==0){if(s.C9.DJ.length>0||aE==s.Y){var aD=new ZC.DZ(s);aD.A0=aD.BZ=aW;aD.copy(s.C9);aD.IG=at;if(aD.CJ()){aD.parse()}}var aQ=[];var aX=aE-s.Y;if(s.B2){var M=s.iX+s.I-s.A7-aX*s.X}else{var M=s.iX+s.A7+aX*s.X}var aA=s.iY+a1;var aT=s.F-a1-au;if(aD.AP){if(s.A.AI["3d"]){var a4=new ZC.DZ(s);a4.copy(aD);if(s.o["scale-z"]!=null&&(aS=s.o["scale-z"]["guide"])!=null){a4.append(aS);a4.parse()}a4.W=a4.A5=a4.AW;var K=ZC.EM.EC(a4,s.A,M-ZC.AU.ER-a4.AM/2,M-ZC.AU.ER+a4.AM/2,aM-ZC.AU.EQ,aM-ZC.AU.EQ,0,ZC.AU.GG,"z");s.A.C6.add(K);aD.W=aD.A5=aD.AW;var K=ZC.EM.EC(aD,s.A,M-ZC.AU.ER-aD.AM/2,M-ZC.AU.ER+aD.AM/2,aA-ZC.AU.EQ,aA+aT-ZC.AU.EQ,ZC.AU.GG+2,ZC.AU.GG+2,"y");s.A.C6.add(K)}else{aQ.push([M,aA],[M,aA+aT]);ZC.C8.paint(av,aD,aQ)}}s.FC++}}}}if(s.Z.length>0&&s.FB.AP&&!s.A.AI["3d"]){if(s.FB.o.items&&s.FB.o.items.length>0){var ap=new ZC.HC(s);for(var aE=s.Y;aE<s.A3+(s.DE?1:0);aE++){s.II=aE;var aX=aE-s.Y;s.FC=0;for(var aG=1;aG<=s.H3;aG++){var a7=s.FC%s.FB.o.items.length;ap.append(s.FB.o.items[a7]);ap.N=s.N+"-guide-"+aE+"-"+aG;ap.A0=s.G.usc()?s.G.mc():ZC.AH(s.A.N+"-scales-bl-0-c");ap.parse();if(s.B2){ap.iX=s.iX+s.I-s.A7-aX*s.X-(aG+1)*a5}else{ap.iX=s.iX+s.A7+aX*s.X+aG*a5}ap.iY=s.iY;ap.I=a5;ap.F=s.F;ap.paint();s.FC++}}}}if(s.FB.AM>0){for(var aE=s.Y-aP;aE<s.A3+(s.DE?1:0);aE++){s.II=aE;if(aE%aP==0){var aX=aE-s.Y;s.FC=0;for(var aG=1;aG<=s.H3;aG++){var aQ=[];var aD=new ZC.DZ(s);aD.copy(s.FB);aD.IG=at;if(aD.CJ()){aD.parse()}if(s.B2){var M=s.iX+s.I-s.A7-aX*s.X-aG*a5}else{var M=s.iX+s.A7+aX*s.X+aG*a5}if(ZC.EO(M,aF,ar)){aQ.push([M,s.iY],[M,s.iY+s.F]);if(aD.AP){ZC.C8.paint(av,aD,aQ)}}s.FC++}}}}s.R0(av,aI);if(s.Z.length>0&&s.HZ.AP&&(!s.A.AI["3d"]||!s.A.EB.true3d)){switch(s.HZ.o[ZC._[7]]){case"inner":break;case"outer":aB+=aH;break;case"cross":default:aB+=aH/2;break}s.FC=0;for(var aE=s.Y;aE<=s.A3+(s.DE?1:0);aE++){if(aE==s.Y||aE==s.A3+(s.DE?1:0)||aE%aP==0){s.II=aE;var aq=aH;var aQ=[];var aX=aE-s.Y;if(s.HZ.DJ.length>0||aE==s.Y){var aD=new ZC.DA(s);aD.copy(s.HZ);if(s.HZ.o["line-color"]=="inherit"&&aI!=-1){aD.AW=aI}aD.IG=at;if(aD.CJ()){aD.parse()}if(aD.AO>1){aq=aD.AO}}if(s.B2){var M=s.iX+s.I-s.A7-aX*s.X}else{var M=s.iX+s.A7+aX*s.X}switch(aD.o[ZC._[7]]){case"ref-auto":aQ.push([M,ax+aq/2],[M,ax-aq/2]);break;case"ref-top":aQ.push([M,ax-aq],[M,ax]);break;case"ref-bottom":aQ.push([M,ax+aq],[M,ax]);break;case"inner":aQ.push([M,aM-(s.J==1?aq:-aq)],[M,aM]);break;case"outer":aQ.push([M,aM],[M,aM+(s.J==1?aq:-aq)]);break;case"cross":default:aQ.push([M,aM+aq/2],[M,aM-aq/2]);break}if(aD.AP){ZC.C8.paint(am,aD,aQ)}s.FC++}}}if(s.Z.length>0&&s.H3>0&&s.GQ.AP&&!s.A.AI["3d"]){for(var aE=s.Y-aP;aE<s.A3+(s.DE?1:0);aE++){s.II=aE;if(aE%aP==0){var aX=aE-s.Y;s.FC=0;for(var aG=1;aG<=s.H3;aG++){var aQ=[];var aD=new ZC.DZ(s);aD.copy(s.GQ);if(s.GQ.o["line-color"]=="inherit"&&aI!=-1){aD.AW=aI}aD.IG=at;if(aD.CJ()){aD.parse()}if(s.B2){var M=s.iX+s.I-s.A7-aX*s.X-aG*a5}else{var M=s.iX+s.A7+aX*s.X+aG*a5}if(ZC.EO(M,aF,ar)){switch(aD.o[ZC._[7]]){case"ref-auto":aQ.push([M,ax+az/2],[M,ax-az/2]);break;case"ref-top":aQ.push([M,ax],[M,ax-az]);break;case"ref-bottom":aQ.push([M,ax],[M,ax+az]);break;case"inner":aQ.push([M,aM-(s.J==1?az:-az)],[M,aM]);break;case"outer":aQ.push([M,aM],[M,aM+(s.J==1?az:-az)]);break;case"cross":default:aQ.push([M,aM+az/2],[M,aM-az/2]);break}if(aD.AP){ZC.C8.paint(am,aD,aQ)}}s.FC++}}}}s.V1();var aZ,aY=null;var aC=s.CN,a6=s.EF;function a2(f){s.II=f;var c=f-s.Y;if(s.BE.DJ.length>0||f==s.Y){aZ=new ZC.D2(s)}aZ.copy(s.BE);aZ.F7=s.N+"-item "+s.A.N+"-scale-item zc-scale-item";aZ.N=s.A.N+"-"+s.B5.replace(/\-/g,"_")+"-item_"+f;s.CN=aC;s.EF=a6;s.applyItemRules(at);var e=s.IK(f);if(s.J8!=null&&ZC.AG(s.J8,e)==-1){return}aZ.AN=e;aZ.A0=s.G.usc()?s.G.mc():ZC.AH(s.A.N+"-scales-ml-0-c");aZ.HA=s.G.usc()?ZC.AH(s.G.N+"-main"):ZC.AH(s.G.N+"-text");aZ.H.nodeidx=f;aZ.parse();if((s.BE.o["font-color"]=="inherit"||s.BE.o.color=="inherit")&&aI!=-1){aZ.BO=aI}aZ.IG=at;if(aZ.CJ()){aZ.parse()}if(aZ.o["auto-fit"]){aZ.I=ZC._i_(s.X)}if(s.B2){aZ.iX=s.iX+s.I-s.A7-c*s.X-aZ.I/2-(s.DE?s.X/2:0)}else{aZ.iX=s.iX+s.A7+c*s.X-aZ.I/2+(s.DE?s.X/2:0)}switch(aZ.o[ZC._[7]]){case"inner":aZ.iY=s.J==1?aM-aZ.F-aH:aM+aH;break;case"ref-top":aZ.iY=ax-aZ.F-aH;break;case"ref-bottom":aZ.iY=ax+aH;break;case"ref-auto":if(aN!=null&&aN.Q[f]!=null){aN.EV(f).setup();if(aN.EV(f).iY<ax){aZ.iY=ax+aH}else{aZ.iY=ax-aZ.F-aH}}else{aZ.iY=ax+aH}break;case"outer":default:aZ.iY=s.J==1?aM+aH:aM-aZ.F-aH;break}aY=s.K0(aZ,aY);if(s.BE.o["auto-align"]&&s.BE.A6%180!=0){var a=ZC.EO(s.BE.A6,0,180)?s.J==1?1:-1:s.J==1?-1:1;aZ.iX+=a*aZ.I*ZC.DG(s.BE.A6)/2;aZ.iY+=a*(aZ.I*ZC.DD(s.BE.A6)/2-aZ.F*ZC.DD(s.BE.A6)/2)}var b=s.SB(aZ,f,{items:aK,lcoords:a3,lstep:an,tdim:aU,mdim:aw,dim:"h",html:aJ});aU=b.tdim;aw=b.mdim;s.FC++}var aU=0;var aw=0;var aK=0;var a3=[];var aJ=[];if(s.Z.length>0&&s.BE.AP){s.FC=0;a2(s.Y);s.FC=s.A3-s.Y;a2(s.A3);s.FC=1;for(var aE=s.Y+1;aE<s.A3;aE++){if(aE%an==0){a2(aE)}}}if(aJ.length>0&&ZC.AH(s.A.A.N+"-map")){ZC.AH(s.A.A.N+"-map").innerHTML+=aJ.join("")}if(s.K.AP){if(s.K.AN!=null&&s.K.AN!=""){var aZ=new ZC.D2(s);aZ.copy(s.K);aZ.N=s.N+"-label";aZ.F7=s.N+"-label "+s.A.N+"-scale-label zc-scale-label";aZ.AN=s.K.AN;aZ.A0=s.G.usc()?s.G.mc():ZC.AH(s.A.N+"-scales-ml-0-c");aZ.HA=s.G.usc()?ZC.AH(s.G.N+"-main"):ZC.AH(s.G.N+"-text");aZ.parse();if((s.K.o["font-color"]=="inherit"||s.K.o.color=="inherit")&&aI!=-1){aZ.BO=aI}aZ.iX=s.iX+s.I/2-aZ.I/2;if(s.J==1){if(s.iY+s.F+aB+aw+aZ.F<s.A.iY+s.A.F){aB=aB+aw}else{aB=s.A.iY+s.A.F-s.iY-s.F-aZ.F}aZ.iY=s.iY+s.F+aB}else{if(aB+aw+aZ.F<C){aB=aB+aw}else{aB=C-aZ.F}aZ.iY=s.iY-C*(s.J-2)-aZ.F-aB}if(aZ.AP){s.K0(aZ,null,"h");aZ.paint();aZ.DR()}}}if(s.o.transform!=null&&s.o.transform.type=="date"){s.paintTransformDate()}},paintTransformDate:function(){var r=this,s;var t=ZC.L.DF(r.G.usc()?r.G.N+"-main-c":r.A.N+"-scales-bl-0-c",r.G.A8);var G,w;function u(b,a){if(typeof a==ZC._[31]){a=false}if(0<=b&&b<=2*1000){G="%q";w="%q ms";if(a){u(b*60)}}else{if(2*1000<b&&b<=2*1000*60){G="%s";w="%h:%i:%s %A";if(a){u(b*60)}}else{if(2*1000*60<b&&b<=2*1000*60*60){G="%i";w="%h:%i %A";if(a){u(b*24)}}else{if(2*1000*60*60<b&&b<=2*1000*60*60*24){G="%h";w="%M %d, %h %A";if(a){u(b*30)}}else{if(2*1000*60*60*24<b&&b<=2*1000*60*60*24*30){G="%d";w="%M %d";if(a){u(b*366)}}else{if(2*1000*60*60*24*30<b&&b<=2*1000*60*60*24*366){G="%m";w="%M %Y";if(a){u(b*10)}}else{G="%Y";w="%Y"}}}}}}}u(r.Z[r.A3]-r.Z[r.Y]);function x(f){if(r.Z[f]==null||r.Z[f]==""){return}if(r.M6&&f!=r.Y&&f!=r.A3){if(r.Z[f-1]!=null&&r.Z[f-1]!=""&&r.Z[f]!=null&&r.Z[f]!=""){var b=r.Z[f]-r.Z[f-1];if(A!=null){if(A!=b){u(A,true)}}A=b}}var g=ZC.AQ.ZU(r.Z[f],G,r.A.SY);if(g!=D){var h=true,e;var o=f-r.Y;if(r.B2){var m=r.iX+r.I-r.A7-o*r.X}else{var m=r.iX+r.A7+o*r.X+(r.DE?r.X/2:0)}var N=new ZC.D2(r);r.G.AV.load(N.o,"graph.SCALE.transform[date].item");if((e=r.o.transform.item)!=null){N.append(e)}N.F7=r.N+"-item "+r.A.N+"-scale-item zc-scale-item";N.N=r.N+"-date-item-"+f;var n=ZC.AQ.ZU(r.Z[f],w,r.A.SY);N.AN=n;N.A0=N.BZ=r.G.usc()?r.G.mc():ZC.AH(r.A.N+"-scales-ml-0-c");N.HA=r.G.usc()?ZC.AH(r.G.N+"-main"):ZC.AH(r.G.N+"-text");N.parse();if(r.B2){N.iX=m-N.DP/2-(r.DE?r.X/2:0)}else{N.iX=m}N.iY=r.iY;if(r.A.AI["3d"]){r.A.L2();var O=new ZC.CI(r.A,N.iX+N.I/2-ZC.AU.ER,N.iY+N.F/2-ZC.AU.EQ,0);N.iX=O.ED[0]-N.I/2;N.iY=O.ED[1]-N.F/2}var c=[N.iX,N.iY,N.I,N.F];if(N.A6%180==90){c=[N.iX+N.I/2-N.F/2,N.iY+N.F/2-N.I/2,N.F,N.I]}if(N.AP){var h=true;if(!r.VB){if(f==r.Y||f==r.A3){h=true}else{for(var K=0,l=v.length;K<l;K++){if(ZC.EO(c[0],v[K][0],v[K][0]+v[K][2])||ZC.EO(c[0]+c[2],v[K][0],v[K][0]+v[K][2])){h=false;break}}}if(N.iX+N.I>r.iX+r.I){h=false}}if(h){v.push(c);N.paint();N.DR();var q=new ZC.DZ(r);if((e=r.o.transform.guide)!=null){q.append(e)}q.AM=1;q.AW="#ccc";q.parse();var a=[];a.push([m,r.iY],[m,r.iY+r.F]);if(r.A.AI["3d"]){r.A.L2();for(var P=0,p=a.length;P<p;P++){var O=new ZC.CI(r.A,a[P][0]-ZC.AU.ER,a[P][1]-ZC.AU.EQ,0);a[P][0]=O.ED[0];a[P][1]=O.ED[1]}}if(q.AP){ZC.C8.paint(t,q,a)}}}C++}D=g}var D=null,A=null;var v=[];if(r.Z.length>0){var z=true;if((s=r.o.transform.item)!=null){if(s.visible!=null&&!ZC._b_(s.visible)){z=false}}if(z){var C=0;x(r.Y);x(r.A3);for(var y=r.Y+1;y<r.A3;y++){x(y)}}}}});ZC.WE=ZC.U8.BF({$i:function(b){this.b(b)},parse:function(){this.b()},L4:function(){var b=this;if(b.A3==b.Y){b.X=b.F-b.A7-b.D0}else{b.X=(b.F-b.A7-b.D0)/(b.A3-b.Y+(b.DE?1:0))}},A4E:function(e){var c=this;c.b(e);c.L4()},clear:function(){},build:function(){this.b()},A4Z:function(e,f){var g=this;g.b(e,f);g.X=(g.F-g.A7-g.D0)/(g.A3-g.Y+(g.DE?1:0))},OZ:function(g){var f=this;if(f.B2){var e=(g-f.iY-f.A7)/(f.F-f.A7-f.D0)}else{var e=(f.iY+f.F-f.A7-g)/(f.F-f.A7-f.D0)}return f.BJ+ZC._f_((f.C7-f.BJ)*e)},B7:function(f){var g=this;var l=g.C7-g.BJ;var h=(g.F-g.A7-g.D0)/l;if(g.M4=="log"){f=ZC.Q2(f)}if(g.B2){return g.iY+g.A7+(f-g.BJ)*h}else{return g.iY+g.F-g.A7-(f-g.BJ)*h}},paint:function(){var C=this,aK;C.b();var aC=C.VA();var aB=0;for(var az=0,aL=C.A.B9.length;az<aL;az++){if(C.A.B9[az].B5.substring(0,8)=="scale-y-"){aB++}}var aO=null;var aF=null;for(var az=0,aL=C.A.AY.AB.length;az<aL;az++){var aR=C.A.AY.AB[az];var aE=aR.BH();if(ZC.AG(aE,C.B5)!=-1){var am=C.A.BB(aR.BH("k")[0]);aO=am.B7(am.FW);aF=aR;break}}var av=8;if(C.HZ.o[ZC._[21]]!=null){av=ZC._i_(C.HZ.o[ZC._[21]])}var aq=4;if(C.GQ.o[ZC._[21]]!=null){aq=ZC._i_(C.GQ.o[ZC._[21]])}var K=ZC._i_(C.A.P.CT/aB);var s=C.J==1?C.iX:C.iX+C.I+(C.J-2)*K;var aS=s;if(C.A.JQ!=null){C.A.JQ.AP=true;if(C.KU==C.BJ&&C.M0==C.C7){C.A.JQ.AP=false}if(C.A.JQ.AP&&C.A.JQ.CD.C1==0){s-=C.A.JQ.CD.I-C.AM/2}}C.H.iX=s;if(!C.AP){return}var al=Math.ceil((C.A3-C.Y)/(C.G7-1));var aH=Math.ceil((C.A3-C.Y)/(C.OW-1));var ar=0;var aY=C.X*aH/(C.H3+1);var aJ=C.G.usc()?C.G.mc():ZC.AH(C.A.N+"-scales-ml-0-c");var ak=ZC.L.DF(aJ,C.G.A8);var aM=C.G.usc()?C.G.mc():ZC.AH(C.A.N+"-scales-bl-0-c");var au=ZC.L.DF(aM,C.G.A8);if(!C.ZT&&!C.TP&&C.A.o[C.B5]==null){return}if(C.o["line-color"]=="inherit"&&aC!=-1){C.AW=aC}if(C.A.AI["3d"]){var M=ZC.EM.EC(C,C.A,s-ZC.AU.ER,s-ZC.AU.ER,C.iY-ZC.AU.EQ,C.iY-ZC.AU.EQ+C.F,0-1,ZC.AU.GG+1,"y");if(C.A.EB.true3d){if(C.A.EB[ZC._[28]]>0){M.LJ=[C.J==1?-100:100,1,1]}else{M.LJ=[C.J==1?100:-100,1,1]}}C.A.C6.add(M)}else{var aI=[[aS,C.iY+C.F],[aS,C.iY]];ZC.C8.paint(ak,C,aI)}var a0=0;var aG=0;var ax=0;var aU=[];var aD=[];if(C.ZT||C.TP){function ao(a){a=a.replace(/(%c)|(%scale-position)/g,C.FC);a=a.replace(/(%i)|(%scale-index)/g,C.II);a=a.replace(/(%v)|(%scale-value)/g,C.Z[C.II]!=null?C.Z[C.II]:"");a=a.replace(/(%l)|(%scale-label)/g,C.BU[C.II]!=null?C.BU[C.II]:"");return a}if(C.Z.length>0&&C.C9.AP){var aT=C.C9.o["offset-start"]==null?0:ZC._i_(C.C9.o["offset-start"]);var ap=C.C9.o["offset-end"]==null?0:ZC._i_(C.C9.o["offset-end"]);if(C.C9.o.items&&C.C9.o.items.length>0&&!C.A.AI["3d"]){C.FC=0;var an=new ZC.HC(C);for(var az=C.Y;az<C.A3+(C.DE?1:0);az++){C.II=az;if(az==C.Y||az==C.A3-1||az%aH==0){var aN=az-C.Y;var a1=C.FC%C.C9.o.items.length;an.append(C.C9.o.items[a1]);an.N=C.N+"-guide-"+az;an.A0=aM;an.parse();an.iX=C.iX+aT;if(C.B2){var aw=C.iY+C.A7+aN*C.X}else{var aw=C.iY+C.F-C.A7-aN*C.X-C.X*aH}an.iY=aw;an.I=C.I-aT-ap;an.F=C.X*aH;an.paint();C.FC++}}}if(C.C9.AM>0){C.FC=0;for(var az=C.Y;az<=C.A3+(C.DE?1:0);az++){C.II=az;if(az==C.Y||az==C.A3||az%aH==0){if(C.C9.DJ.length>0||az==C.Y){var at=new ZC.DZ(C);at.A0=at.BZ=aM;at.copy(C.C9);at.IG=ao;if(at.CJ()){at.parse()}}var aI=[];var aN=az-C.Y;var aj=C.iX+aT;var aX=C.I-aT-ap;if(C.B2){var aw=C.iY+C.A7+aN*C.X}else{var aw=C.iY+C.F-C.A7-aN*C.X}if(at.AP){if(C.A.AI["3d"]){var aW=new ZC.DZ(C);aW.copy(at);if(C.o["scale-z"]!=null&&(aK=C.o["scale-z"]["guide"])!=null){aW.append(aK);aW.parse()}aW.W=aW.A5=aW.AW;var M=ZC.EM.EC(aW,C.A,s-ZC.AU.ER,s-ZC.AU.ER,aw-ZC.AU.EQ-aW.AM/2,aw-ZC.AU.EQ+aW.AM/2,0,ZC.AU.GG,"y");C.A.C6.add(M);at.W=at.A5=at.AW;var M=ZC.EM.EC(at,C.A,aj-ZC.AU.ER,aj-ZC.AU.ER+aX,aw-ZC.AU.EQ-at.AM/2,aw-ZC.AU.EQ+at.AM/2,ZC.AU.GG+2,ZC.AU.GG+2,"x");C.A.C6.add(M)}else{aI.push([aj,aw],[aj+aX,aw]);ZC.C8.paint(au,at,aI)}}C.FC++}}}}if(C.Z.length>0&&C.FB.AP&&aY>5&&!C.A.AI["3d"]){if(C.FB.o.items&&C.FB.o.items.length>0){var an=new ZC.HC(C);for(var az=C.Y;az<C.A3+(C.DE?1:0);az++){C.II=az;if(az==C.Y||az==C.A3||az%aH==0){var aN=az-C.Y;C.FC=0;for(var aA=1;aA<=C.H3;aA++){var a1=C.FC%C.FB.o.items.length;an.append(C.FB.o.items[a1]);an.N=C.N+"-guide-"+az+"-"+aA;an.A0=C.G.usc()?C.G.mc():ZC.AH(C.A.N+"-scales-bl-0-c");an.parse();an.iX=C.iX;if(C.B2){var aw=C.iY+C.A7+aN*C.X+aA*aY}else{var aw=C.iY+C.F-C.A7-aN*C.X-(aA+1)*aY}an.iY=aw;an.I=C.I;an.F=aY;an.paint();C.FC++}}}}if(C.FB.AM>0){for(var az=C.Y;az<C.A3+(C.DE?1:0);az++){C.II=az;if(az==C.Y||az==C.A3||az%aH==0){var aN=az-C.Y;C.FC=0;for(var aA=1;aA<=C.H3;aA++){var aI=[];var at=new ZC.DZ(C);at.copy(C.FB);at.IG=ao;if(at.CJ()){at.parse()}if(C.B2){var aw=C.iY+C.A7+aN*C.X+aA*aY}else{var aw=C.iY+C.F-C.A7-aN*C.X-aA*aY}if(ZC.EO(aw,C.iY,C.iY+C.F)){aI.push([C.iX,aw],[C.iX+C.I,aw]);if(at.AP){ZC.C8.paint(au,at,aI)}}C.FC++}}}}}C.R0(au,aC);if(C.Z.length>0&&C.HZ.AP&&(!C.A.AI["3d"]||!C.A.EB.true3d)){switch(C.HZ.o[ZC._[7]]){case"inner":break;case"outer":ar+=av;break;case"cross":default:ar+=av/2;break}C.FC=0;for(var az=C.Y;az<=C.A3+(C.DE?1:0);az++){C.II=az;if(az==C.Y||az==C.A3||az%aH==0){var aI=[];var aN=az-C.Y;if(C.HZ.DJ.length>0||az==C.Y){var at=new ZC.DZ(C);at.copy(C.HZ);if(C.HZ.o["line-color"]=="inherit"&&aC!=-1){at.AW=aC}at.IG=ao;if(at.CJ()){at.parse()}}if(C.B2){var aw=C.iY+C.A7+aN*C.X}else{var aw=C.iY+C.F-C.A7-aN*C.X}switch(at.o[ZC._[7]]){case"ref-right":aI.push([aO,aw],[aO+av,aw]);break;case"ref-left":aI.push([aO,aw],[aO-av,aw]);break;case"ref-auto":aI.push([aO-av/2,aw],[aO+av/2,aw]);break;case"inner":aI.push([s,aw],[s+(C.J==1?av:-av),aw]);break;case"outer":aI.push([s,aw],[s-(C.J==1?av:-av),aw]);break;case"cross":default:aI.push([s+av/2,aw],[s-av/2,aw]);break}if(at.AP){ZC.C8.paint(ak,at,aI)}C.FC++}}}if(C.Z.length>0&&C.GQ.AP&&C.H3>0&&aY>5&&!C.A.AI["3d"]){for(var az=C.Y;az<C.A3+(C.DE?1:0);az++){C.II=az;if(az==C.Y||az==C.A3||az%aH==0){var aN=az-C.Y;C.FC=0;for(var aA=1;aA<=C.H3;aA++){var aI=[];var at=new ZC.DZ(C);at.copy(C.GQ);if(C.GQ.o["line-color"]=="inherit"&&aC!=-1){at.AW=aC}at.IG=ao;if(at.CJ()){at.parse()}if(C.B2){var aw=C.iY+C.A7+aN*C.X+aA*aY}else{var aw=C.iY+C.F-C.A7-aN*C.X-aA*aY}if(ZC.EO(aw,C.iY,C.iY+C.F)){switch(at.o[ZC._[7]]){case"ref-right":aI.push([aO,aw],[aO+aq,aw]);break;case"ref-left":aI.push([aO,aw],[aO-aq,aw]);break;case"ref-auto":aI.push([aO-aq/2,aw],[aO+aq/2,aw]);break;case"inner":aI.push([s,aw],[s+(C.J==1?aq:-aq),aw]);break;case"outer":default:aI.push([s,aw],[s-(C.J==1?aq:-aq),aw]);break;case"cross":aI.push([s+aq/2,aw],[s-aq/2,aw]);break}if(at.AP){ZC.C8.paint(ak,at,aI)}}C.FC++}}}}C.V1();var aQ,aP=null;var ay=C.CN,aZ=C.EF;function aV(f){C.II=f;var e=f-C.Y;if(C.BE.DJ.length>0||f==C.Y){aQ=new ZC.D2(C)}aQ.copy(C.BE);aQ.F7=C.N+"-item "+C.A.N+"-scale-item zc-scale-item";aQ.N=C.A.N+"-"+C.B5.replace(/\-/g,"_")+"-item_"+f;C.CN=ay;C.EF=aZ;C.applyItemRules(ao);var c=C.IK(f);if(C.J8!=null&&ZC.AG(C.J8,c)==-1){return}aQ.AN=c;aQ.A0=C.G.usc()?C.G.mc():ZC.AH(C.A.N+"-scales-ml-0-c");aQ.HA=C.G.usc()?ZC.AH(C.G.N+"-main"):ZC.AH(C.G.N+"-text");aQ.parse();if((C.BE.o["font-color"]=="inherit"||C.BE.o.color=="inherit")&&aC!=-1){aQ.BO=aC}aQ.IG=ao;if(aQ.CJ()){aQ.parse()}switch(aQ.o[ZC._[7]]){case"ref-left":aQ.iX=aO-aQ.I-av;break;case"ref-right":aQ.iX=aO+av;break;case"ref-auto":if(aF!=null&&aF.Q[f]!=null){aF.EV(f).setup();if(aF.EV(f).iX<aO){aQ.iX=aO+av}else{aQ.iX=aO-aQ.I-av}}else{aQ.iX=aO+av}break;case"inner":aQ.iX=C.J==1?s+av:s-aQ.I-av;break;case"outer":default:aQ.iX=C.J==1?s-aQ.I-av:s+av;break}if(C.B2){aQ.iY=C.iY+C.A7+e*C.X-aQ.F/2+(C.DE?C.X/2:0)}else{aQ.iY=C.iY+C.F-C.A7-e*C.X-aQ.F/2-(C.DE?C.X/2:0)}aP=C.K0(aQ,aP);if(C.BE.o["auto-align"]&&C.BE.A6%180!=0){var a=C.J==1?1:-1;if(C.BE.A6==90||C.BE.A6==270){aQ.iX+=a*(aQ.I/2-aQ.F/2)}else{if(ZC.EO(C.BE.A6,0,90)||ZC.EO(C.BE.A6,270,360)){aQ.iX+=a*(aQ.I-aQ.I*ZC.DG(C.BE.A6))/2;aQ.iY-=a*aQ.I*ZC.DD(C.BE.A6)/2}else{if(ZC.EO(C.BE.A6,90,270)){aQ.iX+=a*(aQ.I+aQ.I*ZC.DG(C.BE.A6))/2;aQ.iY+=a*aQ.I*ZC.DD(C.BE.A6)/2}}}}var b=C.SB(aQ,f,{items:ax,lcoords:aU,lstep:al,tdim:a0,mdim:aG,dim:"w",html:aD});a0=b.tdim;aG=b.mdim;C.FC++}if(C.Z.length>0&&C.BE.AP){C.FC=0;aV(C.Y);C.FC=C.A3-C.Y;aV(C.A3);C.FC=1;for(var az=C.Y+1;az<C.A3;az++){if(az%al==0){aV(az)}}}if(aD.length>0&&ZC.AH(C.A.A.N+"-map")){ZC.AH(C.A.A.N+"-map").innerHTML+=aD.join("")}}if(C.K.AP){if(C.K.AN!=null&&C.K.AN!=""){var aQ=new ZC.D2(C);aQ.copy(C.K);aQ.N=C.N+"-label";aQ.F7=C.N+"-label "+C.A.N+"-scale-label zc-scale-label";aQ.AN=C.K.AN;aQ.A0=C.G.usc()?C.G.mc():ZC.AH(C.A.N+"-scales-ml-0-c");aQ.HA=C.G.usc()?ZC.AH(C.G.N+"-main"):ZC.AH(C.G.N+"-text");aQ.parse();if((C.K.o["font-color"]=="inherit"||C.K.o.color=="inherit")&&aC!=-1){aQ.BO=aC}aQ.iY=C.iY+C.F/2-aQ.F/2;if(C.J==1){if(C.iX-ar-aG-aQ.F>0){ar=ar+aG}else{ar=C.iX-aQ.F}aQ.iX=C.iX-aQ.I/2-aQ.F/2-ar}else{if(ar+aG+aQ.F<K){ar=ar+aG}else{ar=K-aQ.F}aQ.iX=C.iX+C.I+aQ.F/2+K*(C.J-2)+ar-aQ.I/2}if(aQ.AP){C.K0(aQ,null,"v");aQ.paint();aQ.DR()}}}}});ZC.A2S=ZC.XS.BF({$i:function(b){this.b(b);this.EW=true},parse:function(){this.b()},L4:function(){var b=this;if(b.A3==b.Y){b.X=b.F-b.A7-b.D0}else{b.X=(b.F-b.A7-b.D0)/(b.A3-b.Y+(b.DE?1:0))}},A4E:function(e){var c=this;c.b(e);c.L4()},clear:function(){},build:function(){this.b()},A4Z:function(g,f){var e=this;e.b(g,f);e.X=(e.F-e.A7-e.D0)/(e.A3-e.Y+(e.DE?1:0))},MJ:function(h){var f=this;if(f.B2){var l=(h-f.iY-f.A7)/(f.F-f.A7-f.D0)}else{var l=(f.iY+f.F-h-f.A7)/(f.F-f.A7-f.D0)}if(f.DE){var g=f.Y+Math.floor((f.A3-f.Y+1)*l)}else{var g=f.Y+ZC._i_((f.A3-f.Y)*l)}g=ZC.BT(0,g);g=ZC.DI(f.HT,g);return g},NN:function(e){var c=this;if(c.B2){return c.iY+c.A7+(e-c.Y)*c.X+(c.DE?c.X/2:0)}else{return c.iY+c.F-c.A7-(e-c.Y)*c.X-(c.DE?c.X/2:0)}},B7:function(f){var g=this;var l=g.C7-g.BJ+(g.DE?1:0);var h=(g.F-g.A7-g.D0)/l;if(g.B2){return g.iY+g.A7+(f-g.BJ)*h+(g.DE?g.X/2:0)}else{return g.iY+g.F-g.A7-(f-g.BJ)*h-(g.DE?g.X/2:0)}},paint:function(){var K=this,aJ;if(!K.AP){return}K.b();var aB=K.VA();var aF=0;for(var az=0,aK=K.A.B9.length;az<aK;az++){if(K.A.B9[az].B5.substring(0,7)==ZC._[50]){aF++}}var aN=null;var aD=null;for(var az=0,aK=K.A.AY.AB.length;az<aK;az++){var aQ=K.A.AY.AB[az];var aE=aQ.BH();if(ZC.AG(aE,K.B5)!=-1){var am=K.A.BB(aQ.BH("v")[0]);aN=am.B7(am.FW);aD=aQ;break}}var av=8;if(K.HZ.o[ZC._[21]]!=null){av=ZC._i_(K.HZ.o[ZC._[21]])}var aq=4;if(K.GQ.o[ZC._[21]]!=null){aq=ZC._i_(K.GQ.o[ZC._[21]])}var M=ZC._i_(K.A.P.CT/(aF-1));var C=K.J==1?K.iX:K.iX+K.I+(K.J-2)*M;var aG=Math.ceil((K.A3-K.Y)/(K.OW-1));var al=Math.ceil((K.A3-K.Y)/(K.G7-1));var aW=K.X*aG/(K.H3+1);var ar=0;if(aN==null){aN=C}var aI=K.G.usc()?K.G.mc():ZC.AH(K.A.N+"-scales-ml-0-c");var ak=ZC.L.DF(aI,K.G.A8);var aL=K.G.usc()?K.G.mc():ZC.AH(K.A.N+"-scales-bl-0-c");var au=ZC.L.DF(aL,K.G.A8);if(K.o["line-color"]=="inherit"&&aB!=-1){K.AW=aB}if(K.A.AI["3d"]){var ai=ZC.EM.EC(K,K.A,C-ZC.AU.ER,C-ZC.AU.ER,K.iY-ZC.AU.EQ,K.iY-ZC.AU.EQ+K.F,0-1,ZC.AU.GG+1,"y");K.A.C6.add(ai)}else{var aH=[[C,K.iY+K.F],[C,K.iY]];ZC.C8.paint(K.A.AI["3d"]&&!K.A.EB.true3d?au:ak,K,aH)}function ao(a){a=a.replace(/(%c)|(%scale-position)/g,K.FC);a=a.replace(/(%i)|(%scale-index)/g,K.II);a=a.replace(/(%v)|(%scale-value)/g,K.Z[K.II]!=null?K.Z[K.II]:"");a=a.replace(/(%l)|(%scale-label)/g,K.BU[K.II]!=null?K.BU[K.II]:"");return a}if(K.Z.length>0&&K.C9.AP){var aR=K.C9.o["offset-start"]==null?0:ZC._i_(K.C9.o["offset-start"]);var ap=K.C9.o["offset-end"]==null?0:ZC._i_(K.C9.o["offset-end"]);if(K.C9.o.items&&K.C9.o.items.length>0&&!K.A.AI["3d"]){var an=new ZC.HC(K);for(var az=K.Y;az<K.A3+(K.DE?1:0);az++){var aM=az-K.Y;var aZ=az%K.C9.o.items.length;an.append(K.C9.o.items[aZ]);an.N=K.N+"-guide-"+az;an.A0=aL;an.parse();an.iX=K.iX+aR;if(K.B2){an.iY=K.iY+K.A7+aM*K.X}else{an.iY=K.iY+K.F-K.A7-(aM+1)*K.X}an.I=K.I-aR-ap;an.F=K.X;an.paint()}}if(K.C9.AM>0){K.FC=0;for(var az=K.Y;az<=K.A3+(K.DE?1:0);az++){K.II=az;if(az==K.Y||az==K.A3+(K.DE?1:0)||az%aG==0){if(K.C9.DJ.length>0||az==K.Y){var at=new ZC.DZ(K);at.A0=at.BZ=aL;at.copy(K.C9);at.IG=ao;if(at.CJ()){at.parse()}}var aM=az-K.Y;var aH=[];if(K.B2){var aw=K.iY+K.A7+aM*K.X}else{var aw=K.iY+K.F-K.A7-aM*K.X}var aj=K.iX+aR;var aV=K.I-aR-ap;if(at.AP){if(K.A.AI["3d"]){var aU=new ZC.DZ(K);aU.copy(at);if(K.o["scale-z"]!=null&&(aJ=K.o["scale-z"]["guide"])!=null){aU.append(aJ);aU.parse()}aU.W=aU.A5=aU.AW;var ai=ZC.EM.EC(aU,K.A,C-ZC.AU.ER,C-ZC.AU.ER,aw-ZC.AU.EQ-aU.AM/2,aw-ZC.AU.EQ+aU.AM/2,0,ZC.AU.GG,"z");K.A.C6.add(ai);at.W=at.A5=at.AW;var ai=ZC.EM.EC(at,K.A,aj-ZC.AU.ER,aj-ZC.AU.ER+aV,aw-ZC.AU.EQ-aU.AM/2,aw-ZC.AU.EQ+aU.AM/2,ZC.AU.GG+2,ZC.AU.GG+2,"x");K.A.C6.add(ai)}else{aH.push([aj,aw],[aj+aV,aw]);ZC.C8.paint(au,at,aH)}}K.FC++}}}}if(K.Z.length>0&&K.FB.AP&&aG==1&&!K.A.AI["3d"]){if(K.FB.o.items&&K.FB.o.items.length>0){var an=new ZC.HC(K);for(var az=K.Y;az<K.A3+(K.DE?1:0);az++){K.II=az;var aM=az-K.Y;K.FC=0;for(var aA=1;aA<=K.H3;aA++){var aZ=K.FC%K.FB.o.items.length;an.append(K.FB.o.items[aZ]);an.N=K.N+"-guide-"+az+"-"+aA;an.A0=K.G.usc()?K.G.mc():ZC.AH(K.A.N+"-scales-bl-0-c");an.parse();an.iX=K.iX;if(K.B2){an.iY=K.iY+K.A7+(aM+1)*K.X-(aA+1)*aW}else{an.iY=K.iY+K.F-K.A7-(aM+1)*K.X+aA*aW}an.I=K.I;an.F=aW;an.paint();K.FC++}}}if(K.FB.AM>0){for(var az=K.Y;az<K.A3+(K.DE?1:0);az++){K.II=az;if(az==K.Y||az==K.A3+(K.DE?1:0)||az%aG==0){var aM=az-K.Y;K.FC=0;for(var aA=1;aA<=K.H3;aA++){var aH=[];var at=new ZC.DZ(K);at.copy(K.FB);at.IG=ao;if(at.CJ()){at.parse()}if(K.B2){var aw=K.iY+K.A7+aM*K.X+aA*aW}else{var aw=K.iY+K.F-K.A7-aM*K.X-aA*aW}if(ZC.EO(aw,K.iY,K.iY+K.F)){aH.push([K.iX,aw],[K.iX+K.I,aw]);if(at.AP){ZC.C8.paint(au,at,aH)}}K.FC++}}}}}K.R0(au,aB);if(K.Z.length>0&&K.HZ.AP&&(!K.A.AI["3d"]||!K.A.EB.true3d)){switch(K.HZ.o[ZC._[7]]){case"inner":break;case"outer":ar+=av;break;case"cross":default:ar+=av/2;break}K.FC=0;for(var az=K.Y;az<=K.A3+(K.DE?1:0);az++){K.II=az;if(az==K.Y||az==K.A3+(K.DE?1:0)||az%aG==0){var aH=[];var aM=az-K.Y;if(K.HZ.DJ.length>0||az==K.Y){var at=new ZC.DZ(K);at.copy(K.HZ);if(K.HZ.o["line-color"]=="inherit"&&aB!=-1){at.AW=aB}at.IG=ao;if(at.CJ()){at.parse()}}if(K.B2){var aw=K.iY+K.A7+aM*K.X}else{var aw=K.iY+K.F-K.A7-aM*K.X}switch(at.o[ZC._[7]]){case"ref-auto":aH.push([aN-av/2,aw],[aN+av/2,aw]);break;case"ref-left":aH.push([aN-av,aw],[aN,aw]);break;case"ref-right":aH.push([aN+av,aw],[aN,aw]);break;case"inner":aH.push([C,aw],[C+(K.J==1?av:-av),aw]);break;case"outer":aH.push([C,aw],[C-(K.J==1?av:-av),aw]);break;case"cross":default:aH.push([C+av/2,aw],[C-av/2,aw]);break}if(at.AP){ZC.C8.paint(ak,at,aH)}K.FC++}}}if(K.Z.length>0&&K.H3>0&&K.GQ.AP&&!K.A.AI["3d"]){for(var az=K.Y;az<K.A3+(K.DE?1:0);az++){if(az==K.Y||az==K.A3+(K.DE?1:0)||az%aG==0){var aM=az-K.Y;for(var aA=1;aA<=K.H3;aA++){var aH=[];var at=new ZC.DZ(K);at.copy(K.GQ);if(K.GQ.o["line-color"]=="inherit"&&aB!=-1){at.AW=aB}at.IG=ao;if(at.CJ()){at.parse()}if(K.B2){var aw=K.iY+K.A7+aM*K.X+aA*aW}else{var aw=K.iY+K.F-K.A7-aM*K.X-aA*aW}if(ZC.EO(aw,K.iY,K.iY+K.F)){switch(at.o[ZC._[7]]){case"ref-auto":aH.push([aN-aq/2,aw],[aN+aq/2,aw]);break;case"ref-left":aH.push([aN-aq,aw],[aN,aw]);break;case"ref-right":aH.push([aN+aq,aw],[aN,aw]);break;case"inner":aH.push([C,aw],[C+(K.J==1?aq:-aq),aw]);break;case"outer":aH.push([C,aw],[C-(K.J==1?aq:-aq),aw]);break;case"cross":default:aH.push([C+aq/2,aw],[C-aq/2,aw]);break}if(at.AP){ZC.C8.paint(ak,at,aH)}}K.FC++}}}}K.V1();var aP,aO=null;var ax=K.CN,aX=K.EF;function aS(f){K.II=f;var a=f-K.Y;if(K.BE.DJ.length>0||f==K.Y){aP=new ZC.D2(K)}aP.copy(K.BE);aP.N=K.A.N+"-"+K.B5.replace(/\-/g,"_")+"-item_"+f;aP.F7=K.N+"-item "+K.A.N+"-scale-item zc-scale-item";K.CN=ax;K.EF=aX;K.applyItemRules(ao);var e=K.IK(f);if(K.J8!=null&&ZC.AG(K.J8,e)==-1){return}aP.AN=e;aP.A0=K.G.usc()?K.G.mc():ZC.AH(K.A.N+"-scales-ml-0-c");aP.HA=K.G.usc()?ZC.AH(K.G.N+"-main"):ZC.AH(K.G.N+"-text");aP.H.nodeidx=f;aP.parse();if((K.BE.o["font-color"]=="inherit"||K.BE.o.color=="inherit")&&aB!=-1){aP.BO=aB}aP.IG=ao;if(aP.CJ()){aP.parse()}if(aP.o["auto-fit"]){aP.F=ZC._i_(K.X)}switch(aP.o[ZC._[7]]){case"inner":aP.iX=K.J==1?C+av:C-aP.I-av;break;case"ref-left":aP.iX=aN-aP.I-av;break;case"ref-right":aP.iX=aN+av;break;case"ref-auto":if(aD!=null&&aD.Q[f]!=null){aD.Q[f].setup();if(aD.Q[f].iX<aN){aP.iX=aN+av}else{aP.iX=aN-aP.I-av}}else{aP.iX=aN+av}break;case"outer":default:aP.iX=K.J==1?C-aP.I-av:C+av;break}if(K.B2){aP.iY=K.iY+K.A7+a*K.X-aP.F/2+(K.DE?K.X/2:0)}else{aP.iY=K.iY+K.F-K.A7-a*K.X-aP.F/2-(K.DE?K.X/2:0)}aO=K.K0(aP,aO);if(K.BE.o["auto-align"]&&K.BE.A6%180!=0){var b=K.J==1?1:-1;if(K.BE.A6==90||K.BE.A6==270){aP.iX+=b*(aP.I/2-aP.F/2)}else{if(ZC.EO(K.BE.A6,0,90)||ZC.EO(K.BE.A6,270,360)){aP.iX+=b*(aP.I-aP.I*ZC.DG(K.BE.A6))/2;aP.iY-=b*aP.I*ZC.DD(K.BE.A6)/2}else{if(ZC.EO(K.BE.A6,90,270)){aP.iX+=b*(aP.I+aP.I*ZC.DG(K.BE.A6))/2;aP.iY+=b*aP.I*ZC.DD(K.BE.A6)/2}}}}var c=K.SB(aP,f,{items:ay,lcoords:aT,lstep:al,tdim:aY,mdim:s,dim:"w",html:aC});aY=c.tdim;s=c.mdim;K.FC++}var aY=0;var s=0;var ay=0;var aT=[];var aC=[];if(K.Z.length>0&&K.BE.AP){K.FC=0;aS(K.Y);K.FC=K.A3-K.Y;aS(K.A3);K.FC=1;for(var az=K.Y+1;az<K.A3;az++){if(az%al==0){aS(az)}}}if(aC.length>0&&ZC.AH(K.A.A.N+"-map")){ZC.AH(K.A.A.N+"-map").innerHTML+=aC.join("")}if(K.K.AP){if(K.K.AN!=null&&K.K.AN!=""){var aP=new ZC.D2(K);aP.copy(K.K);aP.N=K.N+"-label";aP.F7=K.N+"-label "+K.A.N+"-scale-label zc-scale-label";aP.AN=K.K.AN;aP.A0=K.G.usc()?K.G.mc():ZC.AH(K.A.N+"-scales-ml-0-c");aP.HA=K.G.usc()?ZC.AH(K.G.N+"-main"):ZC.AH(K.G.N+"-text");aP.parse();if((K.K.o["font-color"]=="inherit"||K.K.o.color=="inherit")&&aB!=-1){aP.BO=aB}aP.iY=K.iY+K.F/2-aP.F/2;if(K.J==1){if(K.iX-ar-s-aP.F>0){ar=ar+s}else{ar=K.iX-aP.F}aP.iX=K.iX-aP.I/2-aP.F/2-ar}else{if(ar+s+aP.F<M){ar=ar+s}else{ar=M-aP.F}aP.iX=K.iX+K.I+aP.F/2+M*(K.J-2)+ar-aP.I/2}if(aP.AP){K.K0(aP,null,"v");aP.paint();aP.DR()}}}}});ZC.A2R=ZC.U8.BF({$i:function(b){this.b(b);this.EW=true},parse:function(){this.b()},L4:function(){var b=this;if(b.A3==b.Y){b.X=b.I-b.A7-b.D0}else{b.X=(b.I-b.A7-b.D0)/(b.A3-b.Y+(b.DE?1:0))}},A4E:function(e){var c=this;c.b(e);c.L4()},A4Z:function(e,f){var g=this;g.b(e,f);g.X=(g.I-g.A7-g.D0)/(g.A3-g.Y+(g.DE?1:0))},clear:function(){},build:function(){this.b()},OZ:function(f){var e=this;if(e.B2){var g=(e.iX+e.I-e.A7-f)/(e.I-e.A7-e.D0)}else{var g=(f-e.iX-e.A7)/(e.I-e.A7-e.D0)}return e.BJ+ZC._f_((e.C7-e.BJ)*g)},B7:function(f){var g=this;var l=g.C7-g.BJ;var h=(g.I-g.A7-g.D0)/l;if(g.M4=="log"){f=ZC.Q2(f)}if(g.B2){return g.iX+g.I-g.A7-(f-g.BJ)*h}else{return g.iX+g.A7+(f-g.BJ)*h}},paint:function(){var af=this,aC;if(!af.AP||af.Z.length==0){return}af.b();var ac=af.VA();var ax=0;for(var C=0,aE=af.A.B9.length;C<aE;C++){if(af.A.B9[C].B5.substring(0,7)==ZC._[51]){ax++}}var av=8;if(af.HZ.o[ZC._[21]]!=null){av=ZC._i_(af.HZ.o[ZC._[21]])}var ap=4;if(af.GQ.o[ZC._[21]]!=null){ap=ZC._i_(af.GQ.o[ZC._[21]])}var ag=ZC._i_(af.A.P.CP/(ax-1));var ae=af.J==1?af.iY+af.F:af.iY-(af.J-2)*ag;var ak=Math.ceil((af.A3-af.Y)/(af.G7-1));var ay=Math.ceil((af.A3-af.Y)/(af.OW-1));var aq=0;var aN=af.X*ay/(af.H3+1);var aA=af.G.usc()?af.G.mc():ZC.AH(af.A.N+"-scales-ml-0-c");var aj=ZC.L.DF(aA,af.G.A8);var aF=af.G.usc()?af.G.mc():ZC.AH(af.A.N+"-scales-bl-0-c");var ar=ZC.L.DF(aF,af.G.A8);if(!af.ZT&&!af.TP&&af.A.o[af.B5]==null){return}if(af.o["line-color"]=="inherit"&&ac!=-1){af.AW=ac}if(af.A.AI["3d"]){var ah=ZC.EM.EC(af,af.A,af.iX-ZC.AU.ER,af.iX-ZC.AU.ER+af.I,ae-ZC.AU.EQ,ae-ZC.AU.EQ,-1,ZC.AU.GG+1,"x");af.A.C6.add(ah)}else{var az=[[af.iX,ae],[af.iX+af.I,ae]];ZC.C8.paint(aj,af,az)}var aK=[];var aD=0;var ao=0;var aw=0;var ad=[];if(af.ZT||af.TP){function am(a){a=a.replace(/(%c)|(%scale-position)/g,af.FC);a=a.replace(/(%i)|(%scale-index)/g,af.II);a=a.replace(/(%v)|(%scale-value)/g,af.Z[af.II]!=null?af.Z[af.II]:"");a=a.replace(/(%l)|(%scale-label)/g,af.BU[af.II]!=null?af.BU[af.II]:"");return a}if(af.Z.length>0&&af.C9.AP){var aJ=af.C9.o["offset-start"]==null?0:ZC._i_(af.C9.o["offset-start"]);var an=af.C9.o["offset-end"]==null?0:ZC._i_(af.C9.o["offset-end"]);if(af.C9.o.items&&af.C9.o.items.length>0&&!af.A.AI["3d"]){af.FC=0;var al=new ZC.HC(af);for(var C=af.Y;C<af.A3+(af.DE?1:0);C++){af.II=C;if(C==af.Y||C==af.A3-1||C%ay==0){var aG=C-af.Y;var aP=af.FC%af.C9.o.items.length;al.append(af.C9.o.items[aP]);al.N=af.N+"-guide-"+C;al.A0=aF;al.parse();if(af.B2){var ai=af.iX+af.I-af.A7-aG*af.X}else{var ai=af.iX+af.A7+aG*af.X}al.iX=ai;al.iY=af.iY+aJ;al.I=af.X*ay;al.F=af.F-aJ-an;al.paint();af.FC++}}}if(af.C9.AM>0){af.FC=0;for(var C=af.Y;C<=af.A3+(af.DE?1:0);C++){af.II=C;if(C==af.Y||C==af.A3||C%ay==0){if(af.C9.DJ.length>0||C==af.Y){var at=new ZC.DZ(af);at.A0=at.BZ=aF;at.copy(af.C9);at.IG=am;if(at.CJ()){at.parse()}}var az=[];var aG=C-af.Y;var au=af.iY+aJ;var aB=af.F-aJ-an;if(af.B2){var ai=af.iX+af.I-af.A7-aG*af.X}else{var ai=af.iX+af.A7+aG*af.X}if(at.AP){if(af.A.AI["3d"]){var aM=new ZC.DZ(af);aM.copy(at);if(af.o["scale-z"]!=null&&(aC=af.o["scale-z"]["guide"])!=null){aM.append(aC);aM.parse()}aM.W=aM.A5=aM.AW;var ah=ZC.EM.EC(aM,af.A,ai-ZC.AU.ER-aM.AM/2,ai-ZC.AU.ER+aM.AM/2,ae-ZC.AU.EQ,ae-ZC.AU.EQ,0,ZC.AU.GG,"z");af.A.C6.add(ah);at.W=at.A5=at.AW;var ah=ZC.EM.EC(at,af.A,ai-ZC.AU.ER-at.AM/2,ai-ZC.AU.ER+at.AM/2,au-ZC.AU.EQ,au-ZC.AU.EQ+aB,ZC.AU.GG+2,ZC.AU.GG+2,"y");af.A.C6.add(ah)}else{az.push([ai,au],[ai,au+aB]);ZC.C8.paint(ar,at,az)}}af.FC++}}}}if(af.Z.length>0&&af.FB.AP&&aN>5&&!af.A.AI["3d"]){if(af.FB.o.items&&af.FB.o.items.length>0){var al=new ZC.HC(af);for(var C=af.Y;C<af.A3+(af.DE?1:0);C++){af.II=C;if(C==af.Y||C==af.A3||C%ay==0){var aG=C-af.Y;af.FC=0;for(var K=0;K<=af.H3;K++){var aP=af.FC%af.FB.o.items.length;al.append(af.FB.o.items[aP]);al.N=af.N+"-guide-"+C+"-"+K;al.A0=af.G.usc()?af.G.mc():ZC.AH(af.A.N+"-scales-bl-0-c");al.parse();if(af.B2){var ai=af.iX+af.I-af.A7-aG*af.X-(K+1)*aN}else{var ai=af.iX+af.A7+aG*af.X+K*aN}al.iX=ai;al.iY=af.iY;al.I=aN;al.F=af.F;al.paint();af.FC++}}}}if(af.FB.AM>0){for(var C=af.Y;C<af.A3+(af.DE?1:0);C++){af.II=C;if(C==af.Y||C==af.A3||C%ay==0){var aG=C-af.Y;af.FC=0;for(var K=1;K<=af.H3;K++){var az=[];var at=new ZC.DZ(af);at.copy(af.FB);at.IG=am;if(at.CJ()){at.parse()}if(af.B2){var ai=af.iX+af.I-af.A7-aG*af.X-K*aN}else{var ai=af.iX+af.A7+aG*af.X+K*aN}if(ZC.EO(ai,af.iX,af.iX+af.I)){az.push([ai,af.iY],[ai,af.iY+af.F]);if(at.AP){ZC.C8.paint(ar,at,az)}}af.FC++}}}}}af.R0(ar,ac);if(af.Z.length>0&&af.HZ.AP&&(!af.A.AI["3d"]||!af.A.EB.true3d)){switch(af.HZ.o[ZC._[7]]){case"inner":break;case"outer":aq+=av;break;case"cross":default:aq+=av/2;break}af.FC=0;for(var C=af.Y;C<=af.A3+(af.DE?1:0);C++){af.II=C;if(C==af.Y||C==af.A3||C%ay==0){var az=[];var aG=C-af.Y;if(af.HZ.DJ.length>0||C==af.Y){var at=new ZC.DZ(af);at.copy(af.HZ);if(af.HZ.o["line-color"]=="inherit"&&ac!=-1){at.AW=ac}at.IG=am;if(at.CJ()){at.parse()}}if(af.B2){var ai=af.iX+af.I-af.A7-aG*af.X}else{var ai=af.iX+af.A7+aG*af.X}switch(at.o[ZC._[7]]){case"inner":az.push([ai,ae-(af.J==1?av:-av)],[ai,ae]);break;case"outer":az.push([ai,ae],[ai,ae+(af.J==1?av:-av)]);break;case"cross":default:az.push([ai,ae+av/2],[ai,ae-av/2]);break}if(at.AP){ZC.C8.paint(aj,at,az)}af.FC++}}}if(af.Z.length>0&&af.GQ.AP&&af.H3>0&&aN>5&&!af.A.AI["3d"]){for(var C=af.Y;C<af.A3+(af.DE?1:0);C++){af.II=C;if(C==af.Y||C==af.A3||C%ay==0){var aG=C-af.Y;af.FC=0;for(var K=1;K<=af.H3;K++){var az=[];var at=new ZC.DZ(af);at.copy(af.GQ);if(af.GQ.o["line-color"]=="inherit"&&ac!=-1){at.AW=ac}at.IG=am;if(at.CJ()){at.parse()}if(af.B2){var ai=af.iX+af.I-af.A7-aG*af.X-K*aN}else{var ai=af.iX+af.A7+aG*af.X+K*aN}if(ZC.EO(ai,af.iX,af.iX+af.I)){switch(at.o[ZC._[7]]){case"inner":az.push([ai,ae-(af.J==1?ap:-ap)],[ai,ae]);break;case"outer":default:az.push([ai,ae],[ai,ae+(af.J==1?ap:-ap)]);break;case"cross":az.push([ai,ae+ap/2],[ai,ae-ap/2]);break}if(at.AP){ZC.C8.paint(aj,at,az)}}af.FC++}}}}af.V1();var aI,aH=null;var s=af.CN,aO=af.EF;function aL(e){af.II=e;var c=e-af.Y;if(af.BE.DJ.length>0||e==af.Y){aI=new ZC.D2(af)}aI.copy(af.BE);aI.F7=af.N+"-item "+af.A.N+"-scale-item zc-scale-item";aI.N=af.A.N+"-"+af.B5.replace(/\-/g,"_")+"-item_"+e;af.CN=s;af.EF=aO;af.applyItemRules(am);var f=af.IK(e);if(af.J8!=null&&ZC.AG(af.J8,f)==-1){return}aI.AN=f;aI.A0=af.G.usc()?af.G.mc():ZC.AH(af.A.N+"-scales-ml-0-c");aI.HA=af.G.usc()?ZC.AH(af.G.N+"-main"):ZC.AH(af.G.N+"-text");aI.parse();if((af.BE.o["font-color"]=="inherit"||af.BE.o.color=="inherit")&&ac!=-1){aI.BO=ac}aI.IG=am;aI.DJ=af.BE.DJ;if(aI.CJ()){aI.parse()}switch(aI.o[ZC._[7]]){case"inner":aI.iY=af.J==1?ae-aI.D9-av:ae+av;break;case"outer":default:aI.iY=af.J==1?ae+av:ae-aI.D9-av;break}if(af.B2){aI.iX=af.iX+af.I-af.A7-c*af.X-aI.DP/2-(af.DE?af.X/2:0)}else{aI.iX=af.iX+af.A7+c*af.X-aI.DP/2+(af.DE?af.X/2:0)}aH=af.K0(aI,aH);if(af.BE.o["auto-align"]&&af.BE.A6%180!=0){var a=ZC.EO(af.BE.A6,0,180)?af.J==1?1:-1:af.J==1?-1:1;aI.iX+=a*aI.I*ZC.DG(af.BE.A6)/2;aI.iY+=a*(aI.I*ZC.DD(af.BE.A6)/2-aI.F*ZC.DD(af.BE.A6)/2)}var b=af.SB(aI,e,{items:aw,lcoords:aK,lstep:ak,tdim:aD,mdim:ao,dim:"h",html:ad});aD=b.tdim;ao=b.mdim;af.FC++}if(af.Z.length>0&&af.BE.AP){af.FC=0;aL(af.Y);af.FC=af.A3-af.Y;aL(af.A3);af.FC=1;for(var C=af.Y+1;C<af.A3;C++){if(C%ak==0){aL(C)}}}if(ad.length>0&&ZC.AH(af.A.A.N+"-map")){ZC.AH(af.A.A.N+"-map").innerHTML+=ad.join("")}}if(af.K.AP){if(af.K.AN!=null&&af.K.AN!=""){var aI=new ZC.D2(af);aI.copy(af.K);aI.N=af.N+"-label";aI.F7=af.N+"-label "+af.A.N+"-scale-label zc-scale-label";aI.AN=af.K.AN;aI.A0=af.G.usc()?af.G.mc():ZC.AH(af.A.N+"-scales-ml-0-c");aI.HA=af.G.usc()?ZC.AH(af.G.N+"-main"):ZC.AH(af.G.N+"-text");aI.parse();if((af.K.o["font-color"]=="inherit"||af.K.o.color=="inherit")&&ac!=-1){aI.BO=ac}aI.iX=af.iX+af.I/2-aI.I/2;if(af.J==1){if(af.iY+af.F+aq+ao+aI.F<af.A.iY+af.A.F){aq=aq+ao}else{aq=af.A.iY+af.A.F-af.iY-af.F-aI.F}aI.iY=af.iY+af.F+aq}else{if(aq+ao+aI.F<ag){aq=aq+ao}else{aq=ag-aI.F}aI.iY=af.iY-ag*(af.J-2)-aI.F-aq}if(aI.AP){af.K0(aI,null,"h");aI.paint();aI.DR()}}}}});ZC.SZ=ZC.XS.BF({$i:function(e){var c=this;c.b(e);c.M2="";c.LS=1;c.I5=1;c.F0=0;c.EZ=0;c.KA=0.6},parse:function(){var b=this;b.b();b.iX+=b.CW;b.iY+=b.CP;b.I-=b.CW+b.CT;b.F-=b.CP+b.CO;b.XK("layout","M2");if(b.o["size-factor"]!=null){b.KA=ZC._f_(ZC._p_(b.o["size-factor"]))}},A4E:function(f){var g=this;g.b(f);var e=ZC.AX.WP(g.M2,g.Z.length,false);g.LS=e[0];g.I5=e[1];g.F0=g.I/g.I5;g.EZ=g.F/g.LS},YW:function(){var b=this;b.b();b.F0=b.I/b.I5;b.EZ=b.F/b.LS},clear:function(){},build:function(){this.b()},paint:function(){var r=this;if(!r.AP){return}r.b();var G=ZC.L.DF(r.G.usc()?r.G.N+"-main-c":r.A.N+"-scales-ml-0-c",r.G.A8);var u=ZC.L.DF(r.G.usc()?r.G.N+"-main-c":r.A.N+"-scales-bl-0-c",r.G.A8);var D=[];D.push([r.iX,r.iY],[r.iX+r.I,r.iY],[r.iX+r.I,r.iY+r.F],[r.iX,r.iY+r.F],[r.iX,r.iY]);ZC.C8.paint(G,r,D);if(r.C9.AP){if(r.C9.o.items&&r.C9.o.items.length>0){for(var z=0,C=r.Z.length;z<C;z++){var s=z%r.I5;var w=Math.floor(z/r.I5);var x=new ZC.HC(r);var t=z%r.C9.o.items.length;x.o=r.C9.o.items[t];x.N=r.N+"-guide-"+z;x.A0=r.G.usc()?r.G.mc():ZC.AH(r.A.N+"-scales-bl-0-c");x.parse();x.iX=r.iX+s*r.F0;x.iY=r.iY+w*r.EZ;x.I=r.F0;x.F=r.EZ;x.paint()}}if(r.C9.AM>0){var D=[];for(var z=0;z<=r.I5;z++){D.push([r.iX+z*r.F0,r.iY],[r.iX+z*r.F0,r.iY+r.F],null)}for(var z=0;z<=r.LS;z++){D.push([r.iX,r.iY+z*r.EZ],[r.iX+r.I,r.iY+z*r.EZ],null)}ZC.C8.paint(u,r.C9,D)}}var v;function y(e){if(r.BE.DJ.length>0||e==0){v=new ZC.D2(r)}v.copy(r.BE);var f=e%r.I5;var b=Math.floor(e/r.I5);v.F7=r.N+"-item "+r.A.N+"-scale-item zc-scale-item";v.N=r.A.N+"-"+r.B5.replace(/\-/g,"_")+"-item_"+e;var h=r.IK(e);if(r.J8!=null&&ZC.AG(r.J8,h)==-1){return}v.AN=h;v.A0=r.G.usc()?r.G.mc():ZC.AH(r.A.N+"-scales-ml-0-c");v.parse();v.IG=function(l){l=l.replace(/%i/g,e);l=l.replace(/%v/g,r.Z[e]!=null?r.Z[e]:"");l=l.replace(/%l/g,r.BU[e]!=null?r.BU[e]:"");return l};v.DJ=r.BE.DJ;if(v.CJ()){v.parse()}if(v.AP){var g="bottom";if(r.BE.o[ZC._[7]]!=null){g=r.BE.o[ZC._[7]]}var a=r.iX+f*r.F0;var c=r.iY+b*r.EZ;switch(g){case"top-left":v.iX=a;v.iY=c;break;case"top-right":v.iX=a+r.F0-v.DP;v.iY=c;break;case"bottom-left":v.iX=a;v.iY=c+r.EZ-v.D9;break;case"bottom-right":v.iX=a+r.F0-v.DP;v.iY=c+r.EZ-v.D9;break;case"top":v.iX=a+r.F0/2-v.DP/2;v.iY=c;break;case"right":v.iX=a+r.F0-v.DP;v.iY=c+r.EZ/2-v.D9/2;break;case"left":v.iX=a;v.iY=c+r.EZ/2-v.D9/2;break;case"bottom":default:v.iX=a+r.F0/2-v.DP/2;v.iY=c+r.EZ-v.D9;break}v.I=v.DP;v.F=v.D9;v.paint();v.DR();if(!v.JU){A.push(ZC.AQ.QU(r.A.N,v))}}}if(r.BE.AP){var A=[];for(var z=0,C=r.Z.length;z<C;z++){y(z)}if(A.length>0&&ZC.AH(r.A.A.N+"-map")){ZC.AH(r.A.A.N+"-map").innerHTML+=A.join("")}}}});ZC.A2Z=ZC.XS.BF({$i:function(e){var c=this;c.b(e);c.CK=0;c.CQ=360},parse:function(){var e=this,c;e.b();if((c=e.o["ref-angle"])!=null){e.CK=ZC._i_(c)%360}if((c=e.o.aperture)!=null){e.CQ=ZC._i_(c)%360;if(e.CQ==0){e.CQ=360}}}});ZC.A5O=ZC.U8.BF({$i:function(b){this.b(b)},parse:function(){this.b()},L4:function(){},A4E:function(e){var c=this;c.b(e);c.L4()},clear:function(){this.b()},build:function(){this.b()},paint:function(){this.b()}});ZC.A1V=ZC.A5O.BF({$i:function(e){var c=this;c.b(e);c.CK=-90;c.CQ=180;c.NM=null;c.I4=null;c.CH="circle"},parse:function(){var e=this,c;e.b();if((c=e.o["ref-angle"])!=null){e.CK=ZC._i_(c)%360}if((c=e.o.aperture)!=null){e.CQ=ZC._i_(c)}if((c=e.o.center)!=null){e.NM=new ZC.DA(e);e.NM.append(c);e.NM.parse()}if((c=e.o.ring)!=null){e.I4=new ZC.DA(e);e.G.AV.load(e.I4.o,[e.A.AC+"."+e.B5+".ring"]);e.I4.append(c);e.I4.parse()}},A4E:function(b){this.b(b)},clear:function(){},build:function(){this.b()},A7Q:function(m,p){var s=this;var r=s.A.BB("scale");var o=r.iX+r.I/2;var q=r.iY+r.F/2;var n=360/s.Z.length;var t=s.A.BB(ZC._[52]);return ZC.AX.BK(o,q,p+t.A7,s.CK+m*n)},paint:function(){var W=this;if(!W.AP||W.Z.length==0){return}if(W.B2){W.Z.reverse()}var ae=ZC.L.DF(W.G.usc()?W.G.N+"-main-c":W.A.N+"-scales-bl-0-c",W.G.A8);var ab=ZC._i_(W.HZ.o[ZC._[21]]||8);var am=ZC._i_(W.GQ.o[ZC._[21]]||4);var an=0;var ac=ZC.BT(1,Math.ceil((W.A3-W.Y)/(W.OW-1)));var aj=ZC.BT(1,Math.ceil((W.A3-W.Y)/(W.G7-1)));var af=W.A.BB("scale");var J=ZC.DI(af.F0/2,af.EZ/2)*af.KA;var K=W.CQ/(W.Z.length-1);for(var ag=0;ag<af.Z.length;ag++){var ar=ag%af.I5;var aq=Math.floor(ag/af.I5);var au=af.iX+ar*af.F0+af.F0/2+af.C1;var s=af.iY+aq*af.EZ+af.EZ/2+af.BW;var C=new ZC.DA(W);C.A0=W.G.usc()?W.G.mc():ZC.AH(W.A.N+"-scales-bl-0-c");C.copy(W);C.N=W.N+"-"+ag;C.iX=au;C.iY=s;C.AO=J-0.5;C.DY=W.CQ==360?"circle":"pie";C.AL=W.CK-W.CQ/2+360;C.AZ=W.CK+W.CQ/2+360;C.C4=0;C.parse();C.paint();if(W.C9.AP){if(W.C9.o.items&&W.C9.o.items.length>0){for(var S=0;S<W.Z.length-1;S++){var C=new ZC.DA(W);var ah=S%W.C9.o.items.length;C.append(W.C9.o.items[ah]);C.A0=W.G.usc()?W.G.mc():ZC.AH(W.A.N+"-scales-bl-0-c");C.iX=au;C.iY=s;C.N=W.N+"-pie-"+S;C.o.type="pie";C.o[ZC._[21]]=J-W.D0;C.C4=W.A7;C.AL=W.CK-W.CQ/2+S*K+360;C.AZ=W.CK-W.CQ/2+(S+1)*K+360;C.parse();C.paint()}}if(W.C9.AM>0){for(var S=0,av=W.Z.length;S<av;S++){var ai=new ZC.DZ(W);ai.copy(W.C9);ai.IG=function(a){a=a.replace(/%i/g,S);a=a.replace(/%k/g,S);a=a.replace(/%v/g,W.Z[S]!=null?W.Z[S]:"");a=a.replace(/%l/g,W.BU[S]!=null?W.BU[S]:"");return a};ai.DJ=W.C9.DJ;if(ai.CJ()){ai.parse()}var U=[];U.push(ZC.AX.BK(au,s,J-W.D0,W.CK-W.CQ/2+S*K));U.push(ZC.AX.BK(au,s,W.A7,W.CK-W.CQ/2+S*K));ZC.C8.paint(ae,ai,U)}}}if(W.I4!=null){var Y=new ZC.DA(W);Y.append(W.I4.o);Y.A0=W.G.usc()?W.G.mc():ZC.AH(W.A.N+"-scales-bl-0-c");Y.N=W.N+"-ring";Y.iX=au;Y.iY=s;Y.o.type="pie";var ad=ZC._i_(Y.o[ZC._[21]]);ad=ZC.BT(1,ZC.DI(ad,J));Y.C4=J-ad;Y.o[ZC._[21]]=J;Y.AL=W.CK-W.CQ/2+360;Y.AZ=W.CK+W.CQ/2+360;Y.parse();if(ad+Y.AA>0){Y.paint()}if(W.I4.o.items&&W.I4.o.items.length>0){for(var S=0;S<W.Z.length-1;S++){var Y=new ZC.DA(W);Y.append(W.I4.o);var ah=S%W.I4.o.items.length;Y.append(W.I4.o.items[ah]);Y.A0=W.G.usc()?W.G.mc():ZC.AH(W.A.N+"-scales-bl-0-c");Y.N=W.N+"-ring-"+S;Y.iX=au;Y.iY=s;Y.o.type="pie";var ad=ZC._i_(Y.o[ZC._[21]]);ad=ZC.BT(0,ZC.DI(ad,J));Y.C4=J-ad;Y.o[ZC._[21]]=J;Y.AL=W.CK-W.CQ/2+S*K+360;Y.AZ=W.CK-W.CQ/2+(S+1)*K+360+0.25;Y.parse();Y.IG=function(a){a=a.replace(/%i/g,S);a=a.replace(/%k/g,S);a=a.replace(/%v/g,W.Z[S]!=null?W.Z[S]:"");a=a.replace(/%l/g,W.BU[S]!=null?W.BU[S]:"");return a};Y.DJ=W.I4.DJ;if(Y.CJ()){Y.parse()}if(ad+Y.AA>0){Y.paint()}}}}if(W.HZ.AP){switch(W.HZ.o[ZC._[7]]){case"outer":an+=ab;break;case"cross":default:an+=ab/2;break}var U=[];for(var S=0,av=W.Z.length;S<av;S++){if(S==W.Y||S==W.A3||S%ac==0){var X=W.CK-W.CQ/2+S*K;var ap=[0,0];switch(W.HZ.o[ZC._[7]]){case"inner":ap=[-ab,0];break;case"outer":ap=[0,ab];break;case"cross":default:ap=[-ab/2,ab/2];break}U.push(ZC.AX.BK(au,s,J+ap[0],X),ZC.AX.BK(au,s,J+ap[1],X),null)}}ZC.C8.paint(ae,W.HZ,U)}if(W.GQ.AP&&W.H3>0){var U=[];for(var S=0,av=W.Z.length;S<av-1;S++){var X=W.CK-W.CQ/2+S*K;var at=K/(W.H3+1);for(var aa=1;aa<=W.H3;aa++){var ap=[0,0];switch(W.GQ.o[ZC._[7]]){case"inner":ap=[-am,0];break;case"outer":ap=[0,am];break;case"cross":default:ap=[-am/2,am/2];break}U.push(ZC.AX.BK(au,s,J+ap[0],X+aa*at),ZC.AX.BK(au,s,J+ap[1],X+aa*at),null)}}ZC.C8.paint(ae,W.GQ,U)}if(W.BE.AP){var Z=[];for(var S=0,av=W.Z.length;S<av;S++){if(S==W.Y||S==W.A3||S%aj==0){var al=new ZC.D2(W);al.append(W.BE.o);al.F7=W.N+"-item "+W.A.N+"-scale-item zc-scale-item";al.N=W.A.N+"-"+W.B5.replace(/\-/g,"_")+"-item_"+ag+"_"+S;var ak=W.IK(S);al.AN=ak;al.A0=W.G.usc()?W.G.mc():ZC.AH(W.A.N+"-scales-ml-0-c");al.parse();al.IG=function(a){a=a.replace(/%i/g,S);a=a.replace(/%k/g,S);a=a.replace(/%v/g,W.Z[S]!=null?W.Z[S]:"");a=a.replace(/%l/g,W.BU[S]!=null?W.BU[S]:"");return a};al.DJ=W.BE.DJ;if(al.CJ()){al.parse()}if(al.AP){al.F=al.D9;var ao=Math.sqrt(al.I*al.I/4+al.F*al.F/4)*1.15;var R=ZC.AX.BK(au,s,J+W.BE.DS+ao+an,W.CK-W.CQ/2+S*K);al.iX=R[0]-al.I/2;al.iY=R[1]-al.F/2;al.paint();al.DR();if(!al.JU){Z.push(ZC.AQ.QU(W.A.N,al))}}}}if(Z.length>0&&ZC.AH(W.A.A.N+"-map")){ZC.AH(W.A.A.N+"-map").innerHTML+=Z.join("")}}}},paint_:function(){var s=this;var o=s.A.BB("scale");for(var m=0;m<o.Z.length;m++){var t=m%o.I5;var q=Math.floor(m/o.I5);var p=o.iX+t*o.F0+o.F0/2+o.C1;var r=o.iY+q*o.EZ+o.EZ/2+o.BW;if(s.NM!=null){var n=new ZC.DA(s);n.append(s.NM.o);n.A0=n.BZ=s.G.usc()?s.G.mc("top"):ZC.AH(s.A.N+"-scales-ml-0-c");n.N=s.N+"-"+m+"-center";n.iX=p;n.iY=r;n.o.type="circle";n.parse();n.paint()}}}});ZC.A2A=ZC.A2Z.BF({$i:function(e){var c=this;c.b(e);c.CK=0;c.CH="star"},parse:function(){var b=this;b.b();b.XK_a([["aspect","CH"],["ref-angle","CK","i"]])},A4E:function(b){this.b(b)},clear:function(){},build:function(){this.b()},A7Q:function(m,p){var s=this;var r=s.A.BB("scale");var o=r.iX+r.I/2;var q=r.iY+r.F/2;var n=s.CQ/(s.Z.length-(s.CQ==360?0:1));var t=s.A.BB(ZC._[52]);return ZC.AX.BK(o,q,p+t.A7,s.CK+(360-s.CQ)/2+m*n)},paint:function(){var N=this;if(!N.AP||N.Z.length==0){return}N.b();var P=ZC.L.DF(N.G.usc()?N.G.N+"-main-c":N.A.N+"-scales-ml-0-c",N.G.A8);var Q=ZC.L.DF(N.G.usc()?N.G.N+"-main-c":N.A.N+"-scales-bl-0-c",N.G.A8);var J=ZC._i_(N.HZ.o[ZC._[21]]||8);var W=0;var C=N.A.BB("scale");var D=ZC.DI(C.I/2,C.F/2)*C.KA;var Y=N.A.BB(ZC._[52]);var aa=C.iX+C.I/2;var M=C.iY+C.F/2;var G=N.CQ/(N.Z.length-(N.CQ==360?0:1));if(N.C9.AP){if(N.C9.o.items&&N.C9.o.items.length>0){for(var I=0,Z=N.Z.length-(N.CQ==360?0:1);I<Z;I++){if(N.CH=="circle"){var s=new ZC.DA(N);var R=I%N.C9.o.items.length;s.append(N.C9.o.items[R]);s.A0=N.G.usc()?N.G.mc():ZC.AH(N.A.N+"-scales-bl-0-c");s.iX=aa;s.iY=M;s.o.type="pie";s.o[ZC._[21]]=D;s.C4=Y.A7;s.AL=N.CK+(360-N.CQ)/2+I*G;s.AZ=N.CK+(360-N.CQ)/2+(I+1)*G;s.parse();s.paint()}else{var L=new ZC.DA(N);var R=I%N.C9.o.items.length;L.o=N.C9.o.items[R];L.A0=N.G.usc()?N.G.mc():ZC.AH(N.A.N+"-scales-bl-0-c");L.AM=0;L.AA=0;L.F8=0;L.H2=0;var K=[];K.push(ZC.AX.BK(aa,M,Y.A7,N.CK+(360-N.CQ)/2+I*G),ZC.AX.BK(aa,M,D,N.CK+(360-N.CQ)/2+I*G),ZC.AX.BK(aa,M,D,N.CK+(360-N.CQ)/2+(I+1)*G),ZC.AX.BK(aa,M,Y.A7,N.CK+(360-N.CQ)/2+(I+1)*G));L.C=K;L.parse();var X=N.A.P;L.DN=[X.iX,X.iY,X.iX+X.I,X.iY+X.F];L.paint()}}}if(N.C9.AM>0){for(var I=0,Z=N.Z.length;I<Z;I++){var S=new ZC.DZ(N);S.copy(N.C9);S.IG=function(a){a=a.replace(/(%i)|(%scale-index)/g,I);a=a.replace(/(%v)|(%scale-value)/g,N.Z[I]!=null?N.Z[I]:"");a=a.replace(/(%l)|(%scale-label)/g,N.BU[I]!=null?N.BU[I]:"");return a};S.DJ=N.C9.DJ;if(S.CJ()){S.parse()}var K=[];K.push(ZC.AX.BK(aa,M,D,N.CK+(360-N.CQ)/2+I*G),ZC.AX.BK(aa,M,Y.A7,N.CK+(360-N.CQ)/2+I*G));ZC.C8.paint(Q,S,K)}}}if(N.HZ.AP){switch(N.HZ.o[ZC._[7]]){case"inner":break;case"outer":W+=J;break;case"cross":default:W+=J/2;break}var K=[];for(var I=0,Z=N.Z.length;I<Z;I++){switch(N.HZ.o[ZC._[7]]){case"inner":K.push(ZC.AX.BK(aa,M,D-J,N.CK+(360-N.CQ)/2+I*G),ZC.AX.BK(aa,M,D,N.CK+(360-N.CQ)/2+I*G),null);break;case"outer":K.push(ZC.AX.BK(aa,M,D,N.CK+(360-N.CQ)/2+I*G),ZC.AX.BK(aa,M,D+J,N.CK+(360-N.CQ)/2+I*G),null);break;case"cross":default:K.push(ZC.AX.BK(aa,M,D-J/2,N.CK+(360-N.CQ)/2+I*G),ZC.AX.BK(aa,M,D+J/2,N.CK+(360-N.CQ)/2+I*G),null);break}}ZC.C8.paint(P,N.HZ,K)}var U;function H(e){if(N.BE.DJ.length>0||e==0){U=new ZC.D2(N)}U.copy(N.BE);U.F7=N.N+"-item "+N.A.N+"-scale-item zc-scale-item";U.N=N.A.N+"-"+N.B5.replace(/\-/g,"_")+"-item_"+e;var b=N.IK(e);if(N.J8!=null&&ZC.AG(N.J8,b)==-1){return}U.AN=b;U.A0=N.G.usc()?N.G.mc():ZC.AH(N.A.N+"-scales-ml-0-c");U.parse();U.IG=function(f){f=f.replace(/(%i)|(%scale-index)/g,e);f=f.replace(/(%v)|(%scale-value)/g,N.Z[e]!=null?N.Z[e]:"");f=f.replace(/(%l)|(%scale-label)/g,N.BU[e]!=null?N.BU[e]:"");return f};U.DJ=N.BE.DJ;if(U.CJ()){U.parse()}U.I=U.DP;U.F=U.D9;var c=ZC.P4(U.DS);if(c<1){c*=D}var a=ZC.AX.BK(aa,M,D+c+W+ZC._a_(10*ZC.DD(N.CK+(360-N.CQ)/2+e*G))+ZC._a_(U.I/2*ZC.DG(N.CK+(360-N.CQ)/2+e*G)),N.CK+(360-N.CQ)/2+e*G);U.iX=a[0]-U.I/2;U.iY=a[1]-U.F/2;U.paint();U.DR();if(!U.JU){O.push(ZC.AQ.QU(N.A.N,U))}}if(N.BE.AP){var O=[];for(var I=0,Z=N.Z.length;I<Z;I++){H(I)}if(O.length>0&&ZC.AH(N.A.A.N+"-map")){ZC.AH(N.A.A.N+"-map").innerHTML+=O.join("")}}}});ZC.A1U=ZC.U8.BF({$i:function(b){this.b(b)},parse:function(){var b=this;b.b()},L4:function(){var f=this;var e=f.A.BB("scale");var g=ZC.DI(e.I/2,e.F/2)*e.KA;f.X=(g-f.A7-f.D0)/(f.A3-f.Y)},A4E:function(e){var c=this;c.b(e);c.L4()},A6P:function(){var f=this;var e=f.A.BB("scale");var g=ZC.DI(e.I/2,e.F/2)*e.KA;f.G7=ZC.BT(2,ZC._i_((g-f.A7-f.D0)/20))},VH:function(h){var l=this;var o=l.A.BB("scale");var n=ZC.DI(o.I/2,o.F/2)*o.KA;var p=l.C7-l.BJ;var m=(n-l.A7-l.D0)/p;return(h-l.BJ)*m},clear:function(){},build:function(){this.b()},paint:function(){var Y=this;if(!Y.AP||Y.Z.length==0){return}Y.b();var ac=ZC.L.DF(Y.G.usc()?Y.G.N+"-main-c":Y.A.N+"-scales-ml-0-c",Y.G.A8);var ae=ZC.L.DF(Y.G.usc()?Y.G.N+"-main-c":Y.A.N+"-scales-bl-0-c",Y.G.A8);var ak=Y.A.BB("scale-k");var S=ZC._i_(Y.HZ.o[ZC._[21]]||8);var ai=0;var U=Math.ceil((Y.A3-Y.Y)/(Y.G7-1));var ad=Math.ceil((Y.A3-Y.Y)/(Y.OW-1));var R=Y.A.BB("scale");var X=ZC.DI(R.I/2,R.F/2)*R.KA;var am=R.iX+R.I/2+R.C1;var s=R.iY+R.F/2+R.BW;var ab=ak.CQ/(ak.Z.length-(ak.CQ==360?0:1));if(Y.C9.AP){if(Y.C9.o.items&&Y.C9.o.items.length>0){for(var O=0,al=Y.Z.length;O<al-1;O++){var af=O%Y.C9.o.items.length;if(ak.CH=="circle"){var Q=new ZC.DA(Y);Q.A0=Y.G.usc()?Y.G.mc():ZC.AH(Y.A.N+"-scales-bl-0-c");Q.append(Y.C9.o.items[af]);Q.o.type="pie";Q.o[ZC._[21]]=Y.A7+(O+1)*Y.X;Q.iX=am;Q.iY=s;Q.C4=Y.A7+O*Y.X;if(ak.CQ==360){Q.AL=0;Q.AZ=360}else{Q.AL=ak.CK+(360-ak.CQ)/2;Q.AZ=ak.CK+(360-ak.CQ)/2+ak.CQ}Q.parse();Q.paint()}else{var Z=new ZC.DA(Y);Z.append(Y.C9.o.items[af]);Z.A0=Y.G.usc()?Y.G.mc():ZC.AH(Y.A.N+"-scales-bl-0-c");var W=[];for(var P=0,M=ak.Z.length;P<M;P++){W.push(ZC.AX.BK(am,s,Y.A7+O*Y.X,ak.CK+(360-ak.CQ)/2+P*ab))}if(ak.CQ==360){W.push(ZC.AX.BK(am,s,Y.A7+O*Y.X,ak.CK),ZC.AX.BK(am,s,Y.A7+(O+1)*Y.X,ak.CK))}for(var P=ak.Z.length-1;P>=0;P--){W.push(ZC.AX.BK(am,s,Y.A7+(O+1)*Y.X,ak.CK+(360-ak.CQ)/2+P*ab))}Z.C=W;Z.parse();Z.AM=0;Z.AA=0;Z.F8=0;Z.H2=0;var aj=Y.A.P;Z.DN=[aj.iX,aj.iY,aj.iX+aj.I,aj.iY+aj.F];Z.paint()}}}if(Y.C9.AM>0){for(var O=0,al=Y.Z.length;O<al;O++){if(O==Y.Y||O==Y.A3||O%ad==0){if(ak.CH=="circle"){var N=new ZC.DA(Y);N.N=Y.N+"-circle-"+O;N.A0=Y.G.usc()?Y.G.mc():ZC.AH(Y.A.N+"-scales-bl-0-c");N.append(Y.C9.o);N.append({type:ak.CQ==360?"circle":"arc",size:Y.A7+O*Y.X});if(ak.CQ!=360){N.append({angleStart:ak.CK+(360-ak.CQ)/2-0.25,angleEnd:ak.CK+(360-ak.CQ)/2+ak.CQ+0.25})}N.iX=am;N.iY=s;N.parse();N.IG=function(a){a=a.replace(/(%i)|(%scale-index)/g,O);a=a.replace(/(%v)|(%scale-value)/g,Y.Z[O]!=null?Y.Z[O]:"");a=a.replace(/(%l)|(%scale-label)/g,Y.BU[O]!=null?Y.BU[O]:"");return a};N.DJ=Y.C9.DJ;if(N.CJ()){N.parse()}N.paint()}else{for(var P=0,M=ak.Z.length-(ak.CQ==360?0:1);P<M;P++){var ag=new ZC.DZ(Y);ag.copy(Y.C9);ag.IG=function(a){a=a.replace(/(%i)|(%scale-index)/g,O);a=a.replace(/(%v)|(%scale-value)/g,Y.Z[O]!=null?Y.Z[O]:"");a=a.replace(/(%l)|(%scale-label)/g,Y.BU[O]!=null?Y.BU[O]:"");return a};ag.DJ=Y.C9.DJ;if(ag.CJ()){ag.parse()}var W=[];W.push(ZC.AX.BK(am,s,Y.A7+O*Y.X,ak.CK+(360-ak.CQ)/2+P*ab),ZC.AX.BK(am,s,Y.A7+O*Y.X,ak.CK+(360-ak.CQ)/2+(P+1)*ab));ZC.C8.paint(ae,ag,W)}}}}}}if(Y.MH.AP){if(Y.MH.AM>0){var W=[];W.push(ZC.AX.BK(am,s,Y.A7,ak.CK),ZC.AX.BK(am,s,X-Y.D0,ak.CK));ZC.C8.paint(ac,Y.MH,W)}}if(Y.HZ.AP){switch(Y.HZ.o[ZC._[7]]){case"inner":break;case"outer":ai+=S;break;case"cross":default:ai+=S/2;break}var W=[];for(var O=0,al=Y.Z.length;O<al;O++){if(O==Y.Y||O==Y.A3||O%ad==0){var C=ZC.AX.BK(am,s,Y.A7+O*Y.X,ak.CK);switch(Y.HZ.o[ZC._[7]]){case"inner":W.push([C[0],C[1]]);if(ak.CK%180==0){W.push([C[0],C[1]-S])}else{W.push([C[0]-S,C[1]])}W.push(null);break;case"outer":W.push([C[0],C[1]]);if(ak.CK%180==0){W.push([C[0],C[1]+S])}else{W.push([C[0]+S,C[1]])}W.push(null);break;case"cross":default:if(ak.CK%180==0){W.push([C[0],C[1]-S/2],[C[0],C[1]+S/2])}else{W.push([C[0]-S/2,C[1]],[C[0]+S/2,C[1]])}W.push(null);break}}}ZC.C8.paint(ac,Y.HZ,W)}var ah;function K(c){ah=new ZC.D2(Y);ah.o=Y.BE.o;ah.N=Y.A.N+"-"+Y.B5.replace(/\-/g,"_")+"-item_"+c;ah.F7=Y.N+"-item "+Y.A.N+"-scale-item zc-scale-item";var b=Y.IK(c);ah.AN=b;if(Y.J8!=null&&ZC.AG(Y.J8,b)==-1){return}ah.A0=Y.G.usc()?Y.G.mc():ZC.AH(Y.A.N+"-scales-ml-0-c");ah.parse();var a=ZC.AX.BK(am,s,Y.A7+c*Y.X,ak.CK);ah.F=ah.D9;ah.I=ah.DP;if(ak.CK%180==0){ah.iX=a[0]-ah.I/2;ah.iY=a[1]}else{ah.iX=a[0];ah.iY=a[1]-ah.F/2}switch(Y.HZ.o[ZC._[7]]){case"inner":break;case"outer":if(ak.CK%180==0){ah.iY+=S}else{ah.iX+=S}break;case"cross":default:if(ak.CK%180==0){ah.iY+=S/2}else{ah.iX+=S/2}break}ah.paint();ah.DR();if(!ah.JU){aa.push(ZC.AQ.QU(Y.A.N,ah))}}var aa=[];if(Y.Z.length>0&&Y.BE.AP){Y.FC=0;K(Y.Y);Y.FC=Y.A3-Y.Y;K(Y.A3);Y.FC=1;for(var O=Y.Y+1;O<Y.A3;O++){if(O%U==0){K(O)}}}if(aa.length>0&&ZC.AH(Y.A.A.N+"-map")){ZC.AH(Y.A.A.N+"-map").innerHTML+=aa.join("")}}});ZC.A36=ZC.DA.BF({$i:function(e){var c=this;c.b(e);c.BC=0.25;c.J=0;c.AC=null;c.K=null;c.GH=null;c.A0G=false;c.C5="bottom";c.A7=0;c.D0=0;c.LZ="normal";c.KP="normal";c.V4=[0,0]},parse:function(){var e=this,c;e.b();e.XK_a([["type","AC"],["value-range","A0G","b"],["offset-start","A7","i"],["offset-end","D0","i"],[ZC._[7],"C5"],["label-placement","LZ"],["label-alignment","KP"],["range","GH"]]);if((c=e.o.label)!=null||e.o.text!=null){e.K=new ZC.D2(e);e.A.A.A.AV.load(e.K.o,["("+e.A.AC+").SCALE.marker.label"]);if(e.o.text!=null){e.K.append({text:e.o.text})}e.K.append(c);e.K.parse();e.V4=[e.K.C1,e.K.BW]}},paint:function(){var P=this;if(!P.AP){return}var J=P.A;var Q=P.A.A.P.AA;var N=J.A.N+"-scales-"+(P.C5=="top"?"f":"b")+"l-0-c";P.A0=P.BZ=ZC.AH(J.G.usc()?J.G.N+"-main-c":N);var R=ZC.L.DF(P.A0,J.G.A8);var s,C,D,H;var L=[];var W=0;var M=0;if(J.DE){if(J.EW){W=M=(J.B2?-1:1)*J.X/2}else{W=M=-J.X/2}}if(P.K!=null){P.K.A0=J.G.usc()?J.G.mc():ZC.AH(J.A.N+"-scales-ml-0-c");P.K.N=P.A.N+"-marker-label-"+P.J;P.K.F7=P.A.N+"-marker-label "+P.A.A.N+"-scale-marker-label zc-scale-marker-label"}var K=function(a,b){return P.A0G?a.B7(b):a.NN(b)};if(P.AC=="line"){if(J.B5.indexOf(ZC._[50])!=-1){if(P.GH.length==1){s=C=K(J,P.GH[0])+W}else{if(P.GH.length==2){s=K(J,P.GH[0])+W;C=K(J,P.GH[1])+W}}}else{if(J.B5.indexOf(ZC._[51])!=-1){if(P.GH.length==1){s=C=J.B7(P.GH[0])}else{if(P.GH.length==2){s=J.B7(P.GH[0]);C=J.B7(P.GH[1])}}}}if(J.B5.indexOf(ZC._[50])!=-1&&J.EW||J.B5.indexOf(ZC._[51])!=-1&&!J.EW){L.push([J.iX+P.A7,s],[J.iX+J.I-P.D0,C]);if(P.K!=null){if(P.LZ=="opposite"){P.K.iX=J.iX+J.I-P.K.I-P.D0}else{P.K.iX=J.iX+P.A7}if(P.LZ=="opposite"){P.K.iY=C-(J.B2?0:P.K.F)}else{P.K.iY=s-(J.B2?0:P.K.F)}}}else{L.push([s,J.iY+J.F-P.A7],[C,J.iY+P.D0]);if(P.K!=null){if(P.LZ=="opposite"){P.K.iX=C-(J.B2?P.K.I:0)}else{P.K.iX=s-(J.B2?P.K.I:0)}if(P.LZ=="opposite"){P.K.iY=J.iY+P.K.I-P.K.F+P.D0}else{P.K.iY=J.iY+J.F-P.K.F-P.A7}}}if(J.A.AI["3d"]){J.A.L2();for(var I=0,G=L.length;I<G;I++){var U=new ZC.CI(J.A,L[I][0]-ZC.AU.ER,L[I][1]-ZC.AU.EQ,ZC.AU.GG);L[I][0]=U.ED[0];L[I][1]=U.ED[1]}}if(L.length==2){ZC.C8.setup(R,P);ZC.C8.paint(R,P,L)}}else{if(P.AC=="area"){if(J.B5.indexOf(ZC._[50])!=-1){if(P.GH.length==2){s=D=K(J,P.GH[0])+W;C=H=K(J,P.GH[1])+M}else{if(P.GH.length==4){s=K(J,P.GH[0])+W;C=K(J,P.GH[1])+M;D=K(J,P.GH[2])+W;H=K(J,P.GH[3])+M}}}else{if(J.B5.indexOf(ZC._[51])!=-1){if(P.GH.length==2){s=D=J.B7(P.GH[0]);C=H=J.B7(P.GH[1])}else{if(P.GH.length==4){s=J.B7(P.GH[0]);C=J.B7(P.GH[1]);D=J.B7(P.GH[2]);H=J.B7(P.GH[3])}}}}C=s==C?C+1:C;H=D==H?H+1:H;if(J.B5.indexOf(ZC._[50])!=-1&&J.EW||J.B5.indexOf(ZC._[51])!=-1&&!J.EW){L.push([J.iX+Q,s],[J.iX+J.I-Q,D],[J.iX+J.I-Q,H],[J.iX+Q,C],[J.iX+Q,s]);if(P.K!=null){P.K.iX=J.iX;P.K.iY=s-(J.B2?0:P.K.F)}}else{L.push([s,J.iY+J.F-Q],[D,J.iY+Q],[H,J.iY+Q],[C,J.iY+J.F-Q],[s,J.iY+J.F-Q]);if(P.K!=null){P.K.iX=s-(J.B2?P.K.I:0);P.K.iY=J.iY+J.F-P.K.F}}if(L.length>=4){if(J.A.AI["3d"]){J.A.L2();for(var I=0,G=L.length;I<G;I++){var U=new ZC.CI(J.A,L[I][0]-ZC.AU.ER,L[I][1]-ZC.AU.EQ,ZC.AU.GG);L[I][0]=U.ED[0];L[I][1]=U.ED[1]}}var O=new ZC.DA(P.A);O.N=J.N+"-marker-"+P.J;O.A0=O.BZ=J.G.usc()?J.G.mc():ZC.AH(N);O.copy(P);O.AM=0;O.AA=0;O.F8=0;O.H2=0;O.C=L;O.parse();O.paint()}}}var p=true,S=J.A.P;if(L.length==2){if(J.B5.indexOf(ZC._[50])!=-1&&J.EW||J.B5.indexOf(ZC._[51])!=-1&&!J.EW){if(!ZC.EO(L[0][1],S.iY-2,S.iY+S.F+2)||!ZC.EO(L[1][1],S.iY-2,S.iY+S.F+2)){p=false}}else{if(!ZC.EO(L[0][0],S.iX-2,S.iX+S.I+2)||!ZC.EO(L[1][0],S.iX-2,S.iX+S.I+2)){p=false}}}var A=P.KP;if(P.K!=null&&p){if(P.KP=="auto"){if(J.B5.indexOf(ZC._[50])!=-1&&!J.EW||J.B5.indexOf(ZC._[51])!=-1&&J.EW){A=s<J.iX+J.I/2?"normal":"opposite"}else{A=s>J.iY+J.F/2?"normal":"opposite"}}P.K.C1=P.K.BW=0;if(J.B5.indexOf(ZC._[50])!=-1&&!J.EW||J.B5.indexOf(ZC._[51])!=-1&&J.EW){if(P.K.o.angle==null){P.K.A6=270}}if(J.B5.indexOf(ZC._[50])!=-1&&!J.EW||J.B5.indexOf(ZC._[51])!=-1&&J.EW){if(P.K.A6%180==90){P.K.C1-=(J.B2?-1:1)*(P.K.I/2-P.K.F/2);P.K.BW-=P.K.I/2-P.K.F/2;if(P.LZ=="opposite"){P.K.BW=-P.K.I/2+P.K.F/2}if(A=="opposite"){P.K.C1-=P.K.F}}if(P.K.A6%180==0){if(P.LZ=="opposite"){P.K.BW=-P.K.I+P.K.F}if(A=="opposite"){P.K.C1-=P.K.I}}}else{if(P.K.A6%180==90){P.K.C1-=P.K.I/2-P.K.F/2;P.K.BW-=(J.B2?-1:1)*(P.K.I/2-P.K.F/2);if(P.LZ=="opposite"){P.K.C1=P.K.I/2-P.K.F/2}if(A=="opposite"){P.K.BW+=P.K.I}}if(P.K.A6%180==0){if(A=="opposite"){P.K.BW+=P.K.F}}}P.K.C1+=P.V4[0];P.K.BW+=P.V4[1];P.K.paint();P.K.DR()}}});ZC.WO=ZC.BX.BF({$i:function(e){var c=this;c.JP=null;c.Z9=0;c.M1=[];c.B5=e;c.XT=true},add:function(e){var c=this;c.M1.push(e);e.HJ=c;e.JP=c.JP;e.CE.RA=true;e.SD=c.M1.length-1;c.XT=false}});ZC.CR=ZC.BX.BF({$i:function(p,r,m,q,o,s){var n=this;n.JP=null;n.CE=p;n.AT=null;n.Z6=0;n.GK=null;n.O=r||{};n.Z4=m||500;n.A1F=q||-1;n.V2=null;n.Q6=null;n.KY=null;if(s!=null){n.Q6=s}n.ZQ=ZC.CR.linear;if(o!=null&&o!=""){n.ZQ=o}n.A85={};n.B4={};n.A71=[];n.NF=ZC._i_(n.Z4/ZC.LR.PU);if(n.NF>100){n.NF=100}if(ZC.vml||ZC.mobile){n.NF=ZC._i_(n.NF/4)}if(n.NF<5){n.NF=5}for(var t in n.O){if(ZC.CR.GJ[t]!=null){n.B4[t]=n.CE[ZC.CR.GJ[t]]}else{n.B4[t]=n.CE[t]}}n.U=0;n.HJ=null;n.SD=-1},status:function(){var b=this;if(b.U+1>b.NF){return 0}return 1},step:function(){var af=this,ag;var ak=1;var p=af.JP.D.G.A8;af.U++;if(af.U>af.NF){if(af.U==af.NF+1){if(af.SD!=-1){af.HJ.Z9++;if(af.HJ.Z9==af.HJ.M1.length){af.HJ.XT=true}}}ak=0}if(ak){var al={};if(af.U==af.NF){al=af.O;af.Z6=1}else{af.Z6=af.ZQ(af.U,0,1,af.NF);for(var ab in af.O){switch(ab){case"points":var ad=[];for(var W=0,av=af.O[ab].length;W<av;W++){if(af.B4[ab][W]!=null){ad[W]=[];for(var ac=0,o=af.O[ab][W].length;ac<o;ac++){ad[W][ac]=af.ZQ(af.U,af.B4[ab][W][ac],af.O[ab][W][ac]-af.B4[ab][W][ac],af.NF)}}}al[ab]=ad;break;case"lineColor":case"borderColor":case"backgroundColor1":case"backgroundColor2":var at=af.B4[ab].replace("#","");var an=ZC.AQ.GD(af.O[ab]).replace("#","");var am=ZC.N1(at.slice(0,2));var Z=ZC.N1(at.slice(2,4));var aa=ZC.N1(at.slice(4,6));var X=ZC.N1(an.slice(0,2));var S=ZC.N1(an.slice(2,4));var e=ZC.N1(an.slice(4,6));var ae=ZC.K8(ZC._i_(af.ZQ(af.U,am,X-am,af.NF)));if(ae.length==1){ae="0"+ae}var s=ZC.K8(ZC._i_(af.ZQ(af.U,Z,S-Z,af.NF)));if(s.length==1){s="0"+s}var au=ZC.K8(ZC._i_(af.ZQ(af.U,aa,e-aa,af.NF)));if(au.length==1){au="0"+au}al[ab]="#"+ae+s+au;break;default:al[ab]=af.ZQ(af.U,af.B4[ab],af.O[ab]-af.B4[ab],af.NF);break}}}af.CE.append(al);af.CE.parse();if(af.AT){if((ag=af.CE.H["bound-1"])!=null){af.CE.DN[1]=ag}if((ag=af.CE.H["bound-3"])!=null){af.CE.DN[3]=ag}if(p=="vml"&&af.U==1){if(typeof af.AT.A.G6!=ZC._[31]){af.CE.H.opacity2=af.AT.A.G6}else{af.CE.H.opacity2=af.AT.A.BC}}}if(af.V2){try{af.V2(af.CE,al)}catch(U){}}if(af.AT){var ah={id:af.AT.G.N,graphid:af.AT.D.N,plotindex:af.AT.A.J,nodeindex:af.AT.J,stage:af.Z6,value:af.AT.AE*af.Z6};ZC.AQ.CM("animation_step",af.AT.G,ah)}}if(af.AT){if(af.U==1||p=="canvas"){if(ZC.AG(["svg","vml"],p)!=-1){if(ZC.A2("#"+af.CE.N+"-path").length==0){af.paint()}}else{af.paint()}}else{if(af.U<=af.NF){switch(p){case"svg":af.CE.S7(true);break;case"vml":af.CE.S5(null,true);break}if(af.CE.RP){af.CE.RP()}if(p=="vml"&&/\-plotset\-plot-\d+\-node\-\d+\-area/.test(af.CE.N)){af.CE.AM=0}var aj=null;if(typeof af.CE.DY!=ZC._[31]&&af.CE.DY=="box"){var aj=af.CE.AM;af.CE.AM=af.CE.AA}var ai=ZC.L.XE(af.CE.C,p,af.CE,false,true);if(af.CE.LC){var aq=ZC.L._sh_(af.CE.C,af.CE);var ar=ZC.L.XE(aq,p,af.CE,false,true)}if(aj!=null){af.CE.AM=aj}var C=af.CE.BC,Y=af.CE.P8,ap=af.CE.H9,ao=af.CE.AO;switch(p){case"svg":ZC.A2("#"+af.CE.N+"-path").attr("d",ai.join(" ")).attr("stroke-opacity",C).attr("fill-opacity",C);if(af.CE.LC){ZC.A2("#"+af.CE.N+"-sh-path").attr("d",ar.join(" ")).attr("stroke-opacity",C*Y).attr("fill-opacity",C*Y)}ZC.A2("#"+af.CE.N+"-circle").attr("stroke-opacity",C).attr("cx",af.CE.iX).attr("cy",af.CE.iY).attr("r",ao).attr("fill-opacity",C);if(af.CE.LC){ZC.A2("#"+af.CE.N+"-sh-circle").attr("stroke-opacity",C*Y).attr("cx",af.CE.iX+ap).attr("r",ao).attr("cy",af.CE.iY+ap).attr("fill-opacity",C*Y)}break;case"vml":ZC.A2("#"+af.CE.N+"-path").children().each(function(){this.v=ai.join(" ");this.opacity=C});if(af.CE.LC){ZC.A2("#"+af.CE.N+"-sh-path").children().each(function(){this.v=ar.join(" ");this.opacity=C*Y})}ZC.A2("#"+af.CE.N+"-circle").children().each(function(){this.opacity=C});ZC.A2("#"+af.CE.N+"-circle").each(function(){this.style.left=af.CE.iX-ao+"px";this.style.top=af.CE.iY-ao+"px";this.style.width=2*ao+"px";this.style.height=2*ao+"px"});if(af.CE.LC){ZC.A2("#"+af.CE.N+"-sh-circle").children().each(function(){this.opacity=C*Y});ZC.A2("#"+af.CE.N+"-sh-circle").each(function(){this.style.left=af.CE.iX-ao+ap+"px";this.style.top=af.CE.iY-ao+ap+"px";this.style.width=2*ao+"px";this.style.height=2*ao+"px"})}break}}}}else{af.JP.D.MI=true;af.JP.D.V0();af.JP.D.IW()}if(af.U==af.NF+1){if(af.Q6!=null){af.Q6()}}return ak},paint:function(){var e=this;if(e.GK!=null){ZC.C8.paint(e.GK,e.CE,e.CE.C)}else{e.CE.paint()}if(e.KY){try{if(e.Z6==1){e.KY()}}catch(c){}}}});ZC.CR.GJ={angleStart:"AL",angleEnd:"AZ",slice:"C4",size:"AO",x:"iX",y:"iY",width:"I",height:"F",alpha:"BC",angle:"A6",fillAngle:"JV",points:"C",lineWidth:"AM",lineColor:"AW",borderWidth:"AA",borderColor:"BA",backgroundColor1:"W",backgroundColor2:"A5"};ZC.CR.linear=function(l,b,c,h){return c*l/h+b};ZC.CR.backEaseOut=function(o,p,c,m){var n=(o/=m)*o;var b=n*o;return p+c*(4*b+-9*n+6*o)};ZC.CR.elasticEaseOut=function(o,p,c,m){var n=(o/=m)*o;var b=n*o;return p+c*(37.045*b*n+-116.2825*n*n+134.08*b+-68.59*n+14.7475*o)};ZC.CR.bounceEaseOut=function(l,b,c,h){if((l/=h)<1/2.75){return c*7.5625*l*l+b}else{if(l<2/2.75){return c*(7.5625*(l-=1.5/2.75)*l+0.75)+b}else{if(l<2.5/2.75){return c*(7.5625*(l-=2.25/2.75)*l+0.9375)+b}else{return c*(7.5625*(l-=2.625/2.75)*l+0.984375)+b}}}};ZC.CR.regularEaseOut=function(o,p,c,m){var n=(o/=m)*o;var b=n*o;return p+c*(b+-3*n+3*o)};ZC.CR.strongEaseOut=function(o,p,c,m){var n=(o/=m)*o;var b=n*o;return p+c*(b*n+-5*n*n+10*b+-10*n+5*o)};ZC.CR.NL=[ZC.CR.linear,ZC.CR.backEaseOut,ZC.CR.elasticEaseOut,ZC.CR.bounceEaseOut,ZC.CR.strongEaseOut,ZC.CR.regularEaseOut];ZC.ANIMATION={SLOW:4000,FAST:1000,LINEAR:0,BACK_EASE_OUT:1,ELASTIC_EASE_OUT:2,BOUNCE_EASE_OUT:3,STRONG_EASE_OUT:4,REGULAR_EASE_OUT:5,NO_SEQUENCE:0,BY_PLOT:1,BY_NODE:2,BY_PLOT_AND_NODE:3,FADE_IN:1,EXPAND_VERTICAL:2,EXPAND_TOP:3,EXPAND_BOTTOM:4,EXPAND_LEFT:5,EXPAND_RIGHT:6,EXPAND_HORIZONTAL:7,SLIDE_LEFT:8,SLIDE_RIGHT:9,SLIDE_TOP:10,SLIDE_BOTTOM:11,UNFOLD_HORIZONTAL:12,UNFOLD_VERTICAL:13,EXPAND:2,GROW:3,FLY_IN:4,UNFOLD:5};ZC.LR=ZC.BX.BF({$i:function(c){var e=this;e.D=c;e.TJ=false;e.BN=null;e.M1=[];e.LQ={};e.onStop=null},A3Q:function(e){var c=this;if(c.LQ[e.B5]==null){c.LQ[e.B5]=e;e.JP=c;if(!c.TJ){c.start()}}},add:function(e){var c=this;e.JP=c;if(e.A1F>0){window.setTimeout(function(){e.CE.RA=true;c.M1.push(e);if(!c.TJ){c.start()}},e.A1F+1)}else{e.CE.RA=true;c.M1.push(e);if(!c.TJ){c.start()}}},start:function(){var e=this;e.TJ=true;ZC.AQ.CM("animation_start",e.D.A,{id:e.D.A.N,graphid:e.D.N});var g=true;(function f(){if(!g){e.step()}g=false;if(e.TJ){e.BN=requestAnimFrame(f)}})()},step:function(){var r=this,n;var q=0,l;for(var s=0,o=r.M1.length;s<o;s++){l=r.M1[s].status();q+=l}if(r.D.G.A8=="canvas"){if(r.D.G.JU){if((n=ZC.AH(r.D.N+"-plots-bl-c"))!=null){n.getContext("2d").clearRect(r.D.iX,r.D.iY,r.D.I,r.D.F)}}else{for(var s=0,o=r.D.AY.AB.length;s<o;s++){for(var t=0;t<r.D.AY.AB[s].PX;t++){if((n=ZC.AH(r.D.N+"-plot-"+s+"-bl-"+t+"-c"))!=null){n.getContext("2d").clearRect(r.D.iX,r.D.iY,r.D.I,r.D.F)}}}}}for(var s=0,o=r.M1.length;s<o;s++){l=r.M1[s].step();if(l==0){r.M1[s].CE.RA=false}}for(var p in r.LQ){if(!r.LQ[p].XT){q+=1}for(var s=0,o=r.LQ[p].M1.length;s<o;s++){if(r.LQ[p].M1[s].SD==r.LQ[p].Z9){l=r.LQ[p].M1[s].step();if(l==0){r.LQ[p].M1[s].CE.RA=false}}else{if(r.D.G.A8=="canvas"){r.LQ[p].M1[s].paint()}}}}if(q==0){r.LQ={};r.M1=[];r.stop()}},stop:function(e){if(e==null){e=false}var g=this,l;clearAnimFrame(g.BN);g.D.V0();g.D.MI=false;g.D.IW();window.setTimeout(function(){if((l=ZC.AH(g.D.A.N+"-map"))&&g.D.AY.G0){if(ZC.AG(["bubble","mixed","vbullet","hbullet","radar"],g.D.AC)!=-1||zingchart.SORTTRACKERS==1){g.D.AY.G0.sort(function(a,b){return ZC.AQ.QQ(a)>ZC.AQ.QQ(b)?1:-1})}l.innerHTML+=g.D.AY.G0.join("")}},33);g.D.A0K();g.TJ=false;g.M1=[];g.LQ={};if(!e){ZC.AQ.CM("animation_end",g.D.A,{id:g.D.A.N,graphid:g.D.N})}if(g.onStop!=null){try{g.onStop()}catch(h){}}}});ZC.LR.PU=33;var HL=["ms","moz","webkit","o"];for(var i=0,A4=HL.length;i<A4&&!window.requestAnimFrame;++i){window.requestAnimFrame=window[HL[i]+"RequestAnimationFrame"];window.cancelAnimFrame=window[HL[i]+"CancelAnimationFrame"]||window[HL[i]+"CancelRequestAnimationFrame"]}if(!window.requestAnimFrame){window.requestAnimFrame=function(){return function(b){return window.setTimeout(b,ZC.LR.PU)}}()}if(!window.clearAnimFrame){window.clearAnimFrame=function(b){window.clearTimeout(b)}};
View Code

 

 

二、调用js函数

function chart_forurl(id,url,width,height) {

zingchart.exec(id, ‘destroy‘);
			zingchart.render({
				id : id,
				output : ‘svg‘,
				width : width,
				height : height,
				dataurl :url
			});
		}

 

三、导入json数据,参数都可以配置

bubuko.com,布布扣
 1 {
 2 "graphset":[
 3     {
 4         "type":"line",
 5         "background-color":"#FFF",
 6         "plotarea":{
 7             "margin":"30 45 57 50"
 8         },
 9         "legend":{
10             "position":"100% 0%",
11             "alpha":0,
12             "draggable":false,
13             "minimize":false,
14             "item":{
15                 "toggle":true,
16                 "margin-left":0,
17                 "color":"#000",
18                 "font-size":"10px"
19             }
20         },
21         "preview":{
22             "height":15,
23             "margin-bottom":5,
24             "margin-right":145,
25             "borderColor":"#333",
26             "backgroundColor":"#eee",
27             "handle":{
28                 "backgroundColor":"#ccc",
29                 "borderColor":"#333"
30             }
31         },
32         "scale-x":{
33           "values":[1409083937000,1409086219000,1409086789000,1409087360000,1409089642000,1409090212000,1409090783000,1409091924000,1409092494000,1409093635000,1409094206000,1409095917000,1409096488000,1409097058000,1409097628000,1409098199000,1409098769000,1409099910000,1409100481000,1409101052000,1409101622000,1409102763000,1409103333000,1409103904000,1409104475000,1409106186000,1409106756000],
34 
35             "zooming":1,
36               "max-items":7,
37             "guide":{
38                 "visible":false
39             },
40             "transform":{
41                 "type":"date",
42                 "all":" %m-%d %D<br />%H:%i",
43                 "item":{
44                     "visible":false
45                 }
46             }
47         },
48         "scale-y":{
49             "minor-guide":{
50                 "visible":false
51             },
52             "label":{
53                 "text":"测量值",
54                 "bold":false,
55                 "font-color":"#000000"
56             }
57         },
58         "guide":{
59             "shared":true
60         },
61         "zoom":{
62             "shared":true
63         },
64         "tooltip":{
65             "visible":false
66         },
67         "plot":{
68             "exact":true,
69             "mode":"fast",
70             "line-width":1,
71             "shadow":false
72         },
73         "series":[
74               {
75         "type":"line",
76         "aspect":"segmented",
77          "text":"测量值",
78         "line-width":1,
79         "marker":{
80             "size":1
81         },
82         "tooltip-text":" %v ",
83         "values":[0,0.39,0.61,0,0.02,0.57,0,0.15,0,0.2,0,0.93,0.01,0.12,0,0.41,0,0.34,0,0.42,0,0.23,0.13,0.24,0,0.14,0],
84         "scales":"scale-x,scale-y"
85     }
86              
87         ]
88     }
89 ]
90 }
View Code

 

很多参数均可以通过php来配置传参数

调用函数chart_forurl(id,url,width,height),其中id为需要显示位置的标签id,一般为div的id,url为json数据的路径,宽,高

四、结果

通过服务器访问

 bubuko.com,布布扣

 

 

js制作简单的趋势图

标签:des   android   style   blog   http   color   os   io   java   

原文地址:http://www.cnblogs.com/sunjar/p/3950938.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!