diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4522ba0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,339 @@ +GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {{description}} + Copyright (C) {{year}} {{fullname}} + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + {signature of Ty Coon}, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/_config/config.yml b/_config/config.yml index 853dbda..5f45ce1 100644 --- a/_config/config.yml +++ b/_config/config.yml @@ -2,9 +2,12 @@ Name: dashboard --- Member: - extensions: + extensions: [DashboardMember] SiteConfig: - extensions: - [DashboardSiteConfig] \ No newline at end of file + extensions: + [DashboardSiteConfig] +GridFieldDetailForm_ItemRequest: + extensions: + [DashboardItemEditForm] \ No newline at end of file diff --git a/code/Dashboard.php b/code/Dashboard.php index c008f01..b47b331 100755 --- a/code/Dashboard.php +++ b/code/Dashboard.php @@ -28,6 +28,10 @@ class Dashboard extends LeftAndMain implements PermissionProvider { private static $menu_icon = "dashboard/images/dashboard.png"; + + + + private static $tree_class = 'DashboardPanel'; diff --git a/code/DashboardChart.php b/code/DashboardChart.php index abdf9ac..cebf317 100644 --- a/code/DashboardChart.php +++ b/code/DashboardChart.php @@ -51,7 +51,7 @@ class DashboardChart extends ViewableData { public $FontSize = 10; - + /** * @var string The position of the text on the chart @@ -84,7 +84,7 @@ public static function create($title = null, $x_label = null, $y_label = null, $ * @param string The title of the chart * @param string The label of the X axis * @param string The label for the Y axis - * @param array The chart data, in x/y pairs + * @param array The chart data, in x/y pairs */ public function __construct($title = null, $x_label = null, $y_label = null, $chartData = array ()) { if(!is_array($chartData)) { @@ -162,11 +162,10 @@ public function setData($data) { * @return SSViewer */ public function forTemplate() { - Requirements::javascript("https://www.google.com/jsapi"); - Requirements::javascript("https://www.google.com/uds/api/visualization/1.0/31f9974bf1146091ae320c1219fdf695/format+en,default,corechart.I.js"); + Requirements::javascript("dashboard/javascript/thirdparty/google_jsapi_visualization.js"); Requirements::javascript("dashboard/javascript/dashboard-chart.js"); return $this->renderWith('DashboardChart'); } - + } \ No newline at end of file diff --git a/code/extensions/DashboardItemEditForm.php b/code/extensions/DashboardItemEditForm.php new file mode 100644 index 0000000..6b4afbd --- /dev/null +++ b/code/extensions/DashboardItemEditForm.php @@ -0,0 +1,14 @@ +owner->request->getVar('ID')) { + Injector::inst()->get("CMSMain")->setCurrentPageID($id); + $form->Fields()->push(new HiddenField('ID','', $id)); + } + } +} \ No newline at end of file diff --git a/code/panels/DashboardGridFieldPanel.php b/code/panels/DashboardGridFieldPanel.php index b9492fd..20697a4 100644 --- a/code/panels/DashboardGridFieldPanel.php +++ b/code/panels/DashboardGridFieldPanel.php @@ -10,11 +10,11 @@ * @package Dashboard */ class DashboardGridFieldPanel extends DashboardPanel { - + private static $db = array ( - 'Count' => 'Int', + 'Count' => 'Int', 'GridFieldName' => 'Varchar' ); @@ -33,7 +33,7 @@ class DashboardGridFieldPanel extends DashboardPanel { private static $configure_on_create = true; - + @@ -66,9 +66,9 @@ public function getDescription() { */ public function getPrimaryActions() { if(!$this->SubjectPageID || !$this->GridFieldName) return false; - $actions = parent::getPrimaryActions(); + $actions = parent::getPrimaryActions(); $actions->push(DashboardPanelAction::create( - $this->CreateModelLink(), + $this->CreateModelLink(), _t('Dashboard.CREATENEWGRIDFIELD','Create new'), "good" )); @@ -85,9 +85,9 @@ public function getPrimaryActions() { */ public function getSecondaryActions() { if(!$this->SubjectPageID || !$this->GridFieldName) return false; - $actions = parent::getPrimaryActions(); + $actions = parent::getPrimaryActions(); $actions->push(DashboardPanelAction::create( - $this->ViewAllLink(), + $this->ViewAllLink(), _t('Dashboard.VIEWALLGRIDFIELD','View all') )); return $actions; @@ -114,6 +114,7 @@ public function getConfiguration() { ->addExtraClass('no-chzn') ->setAttribute('data-lookupurl', $this->Link("gridsforpage")) ->setEmptyString("--- "._t('Dashboard.PLEASESELECT','Please select')." ---") + ->setTemplate("DashboardDropdownField") ); $fields->push(DropdownField::create("GridFieldName", _t('Dashboard.GRIDFIELDNAME','GridField name'), $grids) ->addExtraClass('no-chzn') @@ -141,7 +142,7 @@ protected function getHierarchy($parentID, $level = 0) { if($children->exists()) { foreach($children as $child) { $indent=""; - for($i=0;$i<$level;$i++) $indent .= "  "; + for($i=0;$i<$level;$i++) $indent .= "  "; $text = $child->Title; $options[$child->ID] = empty($text) ? "$indent Untitled" : $indent.$text; $options += $this->getHierarchy($child->ID, $level+1); @@ -227,7 +228,7 @@ public function getGridFieldsFor(SiteTree $page) { */ protected function getGrid() { if($this->SubjectPage()->exists() && $this->GridFieldName) { - if($grid = $this->SubjectPage()->getCMSFields()->dataFieldByName($this->GridFieldName)) { + if($grid = $this->SubjectPage()->getCMSFields()->dataFieldByName($this->GridFieldName)) { $grid->setForm($this->Form()); return $grid; } @@ -268,10 +269,10 @@ protected function getTabForGrid() { * @return ArrayList */ public function GridFieldItems() { - if($grid = $this->getGrid()) { + if($grid = $this->getGrid()) { $list = $grid->getList() ->limit($this->Count) - ->sort("LastEdited DESC"); + ->sort("LastEdited DESC"); $ret = ArrayList::create(array()); foreach($list as $record) { $ret->push(ArrayData::create(array( @@ -288,7 +289,7 @@ public function GridFieldItems() { 'Title' => $record->getTitle() ))); } - return $ret; + return $ret; } } @@ -319,7 +320,7 @@ public function PanelHolder() { * @package Dashbaord */ class DashboardGridField_PanelRequest extends Dashboard_PanelRequest { - + private static $allowed_actions = array( "gridsforpage" ); @@ -336,6 +337,6 @@ public function gridsforpage(SS_HTTPRequest $r) { return Convert::array2json($this->panel->getGridFieldsFor(SiteTree::get()->byID($pageid))); } - + } \ No newline at end of file diff --git a/code/panels/DashboardModelAdminPanel.php b/code/panels/DashboardModelAdminPanel.php index 64ba968..4502f6a 100644 --- a/code/panels/DashboardModelAdminPanel.php +++ b/code/panels/DashboardModelAdminPanel.php @@ -216,6 +216,10 @@ public function PluralModelName() { */ public function ModelAdminItems() { if($this->ModelAdminModel) { + $SNG= Injector::inst()->get($this->ModelAdminModel); + if($SNG->hasExtension("Versioned")) { + Versioned::reading_stage("Stage"); + } $records = DataList::create($this->ModelAdminModel) ->limit($this->Count) ->sort("LastEdited DESC"); diff --git a/code/panels/DashboardSectionEditorPanel.php b/code/panels/DashboardSectionEditorPanel.php index 3f34d19..350c768 100644 --- a/code/panels/DashboardSectionEditorPanel.php +++ b/code/panels/DashboardSectionEditorPanel.php @@ -7,7 +7,7 @@ * @author Uncle Cheese */ class DashboardSectionEditorPanel extends DashboardPanel { - + private static $db = array ( 'ParentID' => 'Int', @@ -24,8 +24,8 @@ class DashboardSectionEditorPanel extends DashboardPanel { private static $configure_on_create = true; - - + + public function getLabel() { @@ -78,7 +78,7 @@ protected function getHierarchy($parentID, $level = 0) { if($children->exists()) { foreach($children as $child) { $indent=""; - for($i=0;$i<$level;$i++) $indent .= "  "; + for($i=0;$i<$level;$i++) $indent .= "  "; if($child->AllChildren()->exists()) { $text = $child->Title; $options[$child->ID] = empty($text) ? "$indent Untitled" : $indent.$text; @@ -110,13 +110,15 @@ protected function getPageTypes() { public function getConfiguration() { $fields = parent::getConfiguration(); - $fields->push(DropdownField::create("ParentID","Section", $this->getHierarchy(0)) - ->addExtraClass("no-chzn") + $fields->push(TreeDropdownField::create("ParentID","Section","SiteTree") + ->setFilterFunction(function($node){ + return SiteTree::get()->filter("ParentID", $node->ID)->exists(); + }) ); $fields->push(DropdownField::create("Subject", "Page type", $this->getPageTypes()) ->addExtraClass("no-chzn") ); - $fields->push(TextField::create("Count",_t('DashboardRecentEdits.COUNT','Number of pages to display'))); + $fields->push(TextField::create("Count",_t('DashboardRecentEdits.COUNT','Number of pages to display'))); return $fields; } @@ -124,10 +126,10 @@ public function getConfiguration() { public function getPrimaryActions() { if(!$this->Subject || !$this->ParentID) return false; - $actions = parent::getPrimaryActions(); + $actions = parent::getPrimaryActions(); $actions->push(DashboardPanelAction::create( - $this->CreatePageLink(), - sprintf(_t('Dashboard.CREATENEW','Create new %s'),$this->SubjectSingularName()), + $this->CreatePageLink(), + sprintf(_t('Dashboard.CREATENEW','Create new %s'),$this->SubjectSingularName()), "good" )); return $actions; @@ -140,10 +142,10 @@ public function getSecondaryActions() { $actions = parent::getSecondaryActions(); $actions->push(DashboardPanelAction::create( $this->ViewAllLink(), - sprintf(_t('Dashboard.VIEWALL','View all %s'),$this->SubjectPluralName()) + sprintf(_t('Dashboard.VIEWALL','View all %s'),$this->SubjectPluralName()) )); return $actions; - + } @@ -155,7 +157,7 @@ public function SectionItems() { 'ClassName' => $this->Subject )) ->limit($this->Count) - ->sort("LastEdited DESC"); + ->sort("LastEdited DESC"); $ret = ArrayList::create(array()); foreach($set as $r) { $ret->push(ArrayData::create(array( @@ -163,7 +165,7 @@ public function SectionItems() { 'EditLink' => Injector::inst()->get("CMSPagesController")->Link("edit/show/{$r->ID}") ))); } - return $ret; + return $ret; } @@ -174,7 +176,7 @@ public function SubjectSingularName() { public function SubjectPluralName() { - return Injector::inst()->get($this->Subject)->i18n_plural_name(); + return Injector::inst()->get($this->Subject)->i18n_plural_name(); } diff --git a/composer.json b/composer.json index ee60c3f..9bdb674 100644 --- a/composer.json +++ b/composer.json @@ -12,8 +12,8 @@ ], "require": { - "silverstripe/framework": ">=3.1.x-dev,<4.0", - "silverstripe/cms": ">=3.1.x-dev,<4.0" + "silverstripe/framework": "~3.1", + "silverstripe/cms": "~3.1" }, "replace": {"silverstripe/dashboard": "*"}, diff --git a/css/dashboard.css b/css/dashboard.css index 5438b13..ee77ede 100644 --- a/css/dashboard.css +++ b/css/dashboard.css @@ -20,14 +20,10 @@ background: #f9f9f9; } -.dashboard-panel { +.dashboard-panel-inner { background: #f9f9f9; - width: 45%; - max-width: 500px; - float: left; border: 1px solid #c7c7c7; height: 312px; - margin: 20px 20px 0 0; position: relative; } @@ -35,28 +31,44 @@ padding-top: 0; } +.dashboard-panel-list { + margin-left: -20px; + list-style: none; + margin-bottom: 0; +} + +.dashboard-panel { + display: inline-block; + width: 50%; + max-width: 500px; + padding-top: 20px; + padding-left: 20px; + vertical-align: top; + box-sizing: border-box; +} + .dashboard-panel.large { width: 100%; max-width: 1000px; } .dashboard-panel.small { - width: 23%; - max-width: 300px; + width: 25%; + max-width: 250px; } -.dashboard-panel.loading { +.dashboard-panel-inner.loading { opacity: 0.5; } -.dashboard-panel .dashboard-panel-icon { +.dashboard-panel-inner .dashboard-panel-icon { position: absolute; top: 10px; left: 10px; z-index: 999; } -.dashboard-panel .dashboard-panel-header { +.dashboard-panel-inner .dashboard-panel-header { padding: 13px 0 13px 40px; background-image: -webkit-gradient(linear,0% 0,0% 100%,from(#f8f8f8),to(#f1eaea)); background-image: -moz-linear-gradient(0% 100% 90deg,#f8f8f8,#f1eaea); @@ -113,17 +125,17 @@ text-align: center; } -.dashboard-panel .dashboard-panel-configure { +.dashboard-panel-inner .dashboard-panel-configure { display: none; } -.dashboard-panel .dashboard-panel-configure-fields { +.dashboard-panel-inner .dashboard-panel-configure-fields { height: 237px; overflow: auto; padding: 10px; } -.dashboard-panel .dashboard-panel-configure-actions { +.dashboard-panel-inner .dashboard-panel-configure-actions { height: 40px; position: relative; text-align: center; @@ -137,11 +149,11 @@ padding: 8px 0; } -.dashboard-panel .middleColumn { +.dashboard-panel-inner .middleColumn { margin: 0; } -.dashboard-panel form .field input[type=text] { +.dashboard-panel-inner form .field input[type=text] { width: 100%; display: block; background-color: #fafafa; @@ -156,17 +168,17 @@ padding: 4px; } -.dashboard-panel form .field label.left { +.dashboard-panel-inner form .field label.left { float: none; text-transform: uppercase; width: 100%; } -.dashboard-panel form .field.checkbox { +.dashboard-panel-inner form .field.checkbox { padding-left: 0; } -.dashboard-panel form .field.dashboardbuttonoptions { +.dashboard-panel-inner form .field.dashboardbuttonoptions { float: right; box-shadow: none; -webkit-box-shadow: none; @@ -174,16 +186,16 @@ border-bottom: 0; } -.dashboard-panel form .field.dashboardbuttonoptions label.left { +.dashboard-panel-inner form .field.dashboardbuttonoptions label.left { float: left; width: auto; } -.dashboard-panel form .field.dashboardbuttonoptions .middleColumn { +.dashboard-panel-inner form .field.dashboardbuttonoptions .middleColumn { min-width: 80px; } -.dashboard-panel ul.optionset li { +.dashboard-panel-inner ul.optionset li { float: none; width: auto; } @@ -194,20 +206,20 @@ text-align: center; } -.dashboard-panel ul li { +.dashboard-panel-inner ul li { border-bottom: 1px solid #ddd; } -.dashboard-panel ul li:last-child { +.dashboard-panel-inner ul li:last-child { border: 0; } -.dashboard-panel ul li a { +.dashboard-panel-inner ul li a { padding: 4px; display: block; } -.dashboard-panel ul li a:hover { +.dashboard-panel-inner ul li a:hover { background: #ddd; text-decoration: none; } @@ -295,7 +307,7 @@ height: 0; } -.dashboard-panel .dashboard-has-many-list li a:hover { +.dashboard-panel-inner .dashboard-has-many-list li a:hover { background: transparent; } @@ -348,7 +360,7 @@ padding: 0.1em 0.5em; } -.dashboard-panel .dashboard-panel-quick-links-list li { +.dashboard-panel-inner .dashboard-panel-quick-links-list li { border: 0; } diff --git a/javascript/dashboard.js b/javascript/dashboard.js index b5e3a5d..d978975 100644 --- a/javascript/dashboard.js +++ b/javascript/dashboard.js @@ -14,12 +14,11 @@ }) }, - showConfigure: function() { - console.log("show"); + showConfigure: function() { var $t = this; - this.flip({ + this.find('.dashboard-panel-inner').flip({ direction: "rl", - content: $(this).find('.dashboard-panel-configure').html(), + content: $($t).find('.dashboard-panel-configure').html(), color: "#dfdfdf", onEnd: function() { if($t.hasClass("refreshable")) { @@ -31,14 +30,18 @@ $(this).html(""+text+""); } }); + $t.find(".TreeDropdownField").each(function() { + while($(this).find(".treedropdownfield-title").length > 1) { + $(this).find(".treedropdownfield-title:last, .treedropdownfield-toggle-panel-link:last, .treedropdownfield-panel:last").remove() + } + }) } }); - console.log("done"); }, hideConfigure: function() { - this.revertFlip(); + this.find('.dashboard-panel-inner').revertFlip(); }, @@ -67,6 +70,9 @@ }, getConfigurationActions: function() { return this.getPanel().find('.dashboard-panel-configure-actions:first'); + }, + getPanelInner: function() { + return this.getPanel().find('.dashboard-panel-inner:first'); } }) @@ -189,7 +195,7 @@ type: "POST", success: function(data) { $form.getPanel().addClass("refreshable"); - $form.getPanel().revertFlip(); + $form.getPanelInner().revertFlip(); } }) } @@ -420,7 +426,6 @@ $('.configure-form .dashboard-button-options-btn-group > a').entwine({ onclick: function(e) { - console.log(this.getButtonGroup().getValue()); this.closest(".dashboard-panel") .removeClass(this.getButtonGroup().getValue()) .addClass(this.data('value')); diff --git a/javascript/thirdparty/google_jsapi_visualization.js b/javascript/thirdparty/google_jsapi_visualization.js new file mode 100644 index 0000000..f4013d7 --- /dev/null +++ b/javascript/thirdparty/google_jsapi_visualization.js @@ -0,0 +1,1294 @@ +if(!window['googleLT_']){window['googleLT_']=(new Date()).getTime();}if (!window['google']) { +window['google'] = {}; +} +if (!window['google']['loader']) { +window['google']['loader'] = {}; +google.loader.ServiceBase = 'https://www.google.com/uds'; +google.loader.GoogleApisBase = 'https://ajax.googleapis.com/ajax'; +google.loader.ApiKey = 'notsupplied'; +google.loader.KeyVerified = true; +google.loader.LoadFailure = false; +google.loader.Secure = true; +google.loader.GoogleLocale = 'www.google.com'; +google.loader.ClientLocation = null; +google.loader.AdditionalParams = ''; +(function() {var d=encodeURIComponent,g=window,h=document;function l(a,b){return a.load=b}var m="push",n="replace",q="charAt",r="indexOf",t="ServiceBase",u="name",v="getTime",w="length",x="prototype",y="setTimeout",z="loader",A="substring",B="join",C="toLowerCase";function D(a){return a in E?E[a]:E[a]=-1!=navigator.userAgent[C]()[r](a)}var E={};function F(a,b){var c=function(){};c.prototype=b[x];a.U=b[x];a.prototype=new c} +function G(a,b,c){var e=Array[x].slice.call(arguments,2)||[];return function(){var c=e.concat(Array[x].slice.call(arguments));return a.apply(b,c)}}function H(a){a=Error(a);a.toString=function(){return this.message};return a}function I(a,b){for(var c=a.split(/\./),e=g,f=0;f\x3c/script>"):(D("safari")||D("konqueror"))&&g[y](S,10)),O[m](a)):P(g,"load",a)};K("google.setOnLoadCallback",google.T); +function P(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var e=a["on"+b];a["on"+b]=null!=e?aa([c,e]):c}}function aa(a){return function(){for(var b=0;b\x3c/script>'):"css"==a&&h.write('')}; +K("google.loader.writeLoadTag",google[z].d);google[z].Q=function(a){N=a};K("google.loader.rfm",google[z].Q);google[z].S=function(a){for(var b in a)"string"==typeof b&&b&&":"==b[q](0)&&!M[b]&&(M[b]=new T(b[A](1),a[b]))};K("google.loader.rpl",google[z].S);google[z].R=function(a){if((a=a.specs)&&a[w])for(var b=0;b>>0),kca=0; +function lca(a,b,c){return a[J][Oc](a[cc],arguments)}function mca(a,b,c){if(!a)throw l();if(2/g,Vi=/\"/g,oca=/[&<>\"]/;function Wi(a){return Xi(a,ye)?uba in li?pca(a):qca(a):a} +function pca(a){var b={"&":ye,"<":df,">":gf,""":oe},c=ga[Ub](O);return a[yb](rca,function(a,e){var g=b[a];if(g)return g;if(e[Eb](0)==qe){var h=ja(Qe+e[ic](1));ha(h)||(g=String[pd](h))}g||(Wa(c,a+ke),g=c[Wb][Yc][ed](0,-1));return b[a]=g})}function qca(a){return a[yb](/&([^;]+);/g,function(a,c){switch(c){case hba:return ye;case Jba:return df;case Fba:return gf;case Uba:return oe;default:if(c[Eb](0)==qe){var d=ja(Qe+c[ic](1));if(!ha(d))return String[pd](d)}return a}})}var rca=/&([^;\s<&]+);?/g; +function Yi(a,b,c){c&&(a=Wi(a));a[G]>b&&(a=a[Yd](0,b-3)+Pe);c&&(a=Ri(a));return a}function Xi(a,b){return-1!=a[kd](b)}function Zi(a,b){return ia(b+1)[fe](a)}function $i(a,b,c){a=ri(c)?a[zb](c):String(a);c=a[kd](Oe);-1==c&&(c=a[G]);return Zi(Qe,f.max(0,b-c))+a}function Ni(a){return null==a?N:String(a)}function aj(a){return ia[I][fe][J](arguments,N)} +function bj(a,b){for(var c=0,d=Qi(String(a))[sc](Oe),e=Qi(String(b))[sc](Oe),g=f.max(d[G],e[G]),h=0;0==c&&h(0==v[1][G]?0:ma(v[1],10))?1:0)||((0==t[2][G])<(0==v[2][G])?-1:(0==t[2][G])>(0==v[2][G])?1:0)||(t[2]v[2]?1:0)}while(0==c)}return c} +function cj(a){for(var b=0,c=0;cc?f.max(0,a[G]+c):c;if(yi(a))return yi(b)&&1==b[G]?a[kd](b,c):-1;for(;cb?null:yi(a)?a[Eb](b):a[b]}function pj(a,b,c){for(var d=a[G],e=yi(a)?a[sc](N):a,g=0;gb?null:yi(a)?a[Eb](b):a[b]}function rj(a,b){return 0<=ij(a,b)}function sj(a){return 0==a[G]}function tj(a){if(!ui(a))for(var b=a[G]-1;0<=b;b--)delete a[b];jb(a,0)}function uj(a,b,c){wj(a,c,0,b)}function xj(a,b){var c=ij(a,b),d;(d=0<=c)&&yj(a,c);return d}function yj(a,b){return 1==hj[ee][J](a,b,1)[G]}function zj(a){return hj[Db][Oc](hj,arguments)} +function Aj(a){var b=a[G];if(0=arguments[G]?hj[ed][J](a,b):hj[ed][J](a,b,c)} +function Dj(a,b){for(var c=b||a,d={},e=0,g=0;g>1,q;q=c?b[J](e,a[m],m,a):b(d,a[m]);0b?1:ac*(g-e))return[];if(0g;a+=c)d[z](a);return d}function Lj(a,b){for(var c=[],d=0;d=g[G])return b;d[z](g[c])}b[z](d)}};var Nj="StopIteration"in li?li.StopIteration:l("StopIteration");function Oj(){}Ha(Oj[I],function(){throw Nj;});Oj[I].Uu=function(){return this};function Pj(a){if(a instanceof Oj)return a;if(typeof a.Uu==Ng)return a.Uu(!1);if(vi(a)){var b=0,c=new Oj;Ha(c,function(){for(;;){if(b>=a[G])throw Nj;if(b in a)return a[b++];b++}});return c}throw l("Not implemented");} +function Qj(a,b,c){if(vi(a))try{X(a,b,c)}catch(d){if(d!==Nj)throw d;}else{a=Pj(a);try{for(;;)b[J](c,a[rc](),void 0,a)}catch(e){if(e!==Nj)throw e;}}}function Rj(a,b,c){var d=0,e=a,g=c||1;1=e||0>g&&d<=e)throw Nj;var a=d;d+=g;return a});return h}function yca(a,b,c){var d=Pj(a);a=new Oj;Ha(a,function(){for(;;){var a=d[rc]();return b[J](c,a,void 0,d)}});return a} +function zca(a){if(vi(a))return Aj(a);a=Pj(a);var b=[];Qj(a,function(a){b[z](a)});return b}function Aca(a,b){try{return Pj(a)[rc]()}catch(c){if(c!=Nj)throw c;return b}};function Sj(a,b,c){for(var d in a)b[J](c,a[d],d,a)}function Tj(a,b,c){var d={},e;for(e in a)d[e]=b[J](c,a[e],e,a);return d}function Uj(a,b,c){for(var d in a)if(b[J](c,a[d],d,a))return!0;return!1}function Vj(a,b,c){for(var d in a)if(!b[J](c,a[d],d,a))return!1;return!0}function Wj(a){var b=0,c;for(c in a)b++;return b}function Xj(a){for(var b in a)return a[b]}function Yj(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Zj(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b} +function ak(a,b){for(var c in a)if(a[c]==b)return!0;return!1}function bk(a){for(var b in a)return!1;return!0}function ck(a,b){var c;(c=b in a)&&delete a[b];return c}function dk(a,b,c){if(b in a)throw l('The object already contains the key "'+b+oe);a[b]=c}function ek(a){var b={},c;for(c in a)b[c]=a[c];return b}function fk(a){var b=qi(a);if(b==lh||b==ng){if(a.t)return a.t();var b=b==ng?[]:{},c;for(c in a)b[c]=fk(a[c]);return b}return a}function gk(a){var b={},c;for(c in a)b[a[c]]=c;return b} +var hk="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function ik(a,b){for(var c,d,e=1;e2*this.Hb&&this.SJ(),!0):!1}); +S.SJ=function(){if(this.Hb!=this.Wd[G]){for(var a=0,b=0;a=c[G])throw Nj;var h=c[b++];return a?h:d[h]}});return h}; +function mk(a,b){return ca[I][yc][J](a,b)};function nk(a){return typeof a.rd==Ng?a.rd():vi(a)||yi(a)?a[G]:Wj(a)}function ok(a){if(typeof a.Pa==Ng)return a.Pa();if(yi(a))return a[sc](N);if(vi(a)){for(var b=[],c=a[G],d=0;db)return!1;!(a instanceof sk)&&5na(Rk)){Qk=String(Vk);break t}}Qk=Rk}var Wk=Qk,Xk={};function Yk(a){return Xk[a]||(Xk[a]=0<=bj(Wk,a))}function Zk(a){return Ik&&Fca>=a} +var $k=li[Ed],Fca=$k&&Ik?Pk()||($k[Vd]==pf?ma(Wk,10):5):void 0;function al(a){return function(){return a}}var Gca=al(!0);function bl(a){return a}function Hca(a){return function(){throw a;}}function Ica(a,b){b=b||0;return function(){return a[Oc](this,ia[I][ed][J](arguments,0,b))}};function cl(a,b,c){return f.min(f.max(a,b),c)}function dl(a,b){var c=a%b;return 0>c*b?c+b:c}function el(a){return a*f.PI/180}function fl(a){return 180*a/f.PI}function gl(a,b){return b*f.cos(el(a))}function hl(a,b){return b*f.sin(el(a))}function il(a){return lj(arguments,function(a,c){return a+c},0)}function jl(a){return il[Oc](null,arguments)/arguments[G]}function kl(a){return oa(a)&&0==a%1}function ll(a){return oa(a)&&!ha(a)};function ml(a,b){this.x=ri(a)?a:0;this.y=ri(b)?b:0}S=ml[I];S.t=function(){return new ml(this.x,this.y)};function nl(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function ol(a,b){var c=a.x-b.x,d=a.y-b.y;return f[sd](c*c+d*d)}function pl(a,b){return new ml(a.x-b.x,a.y-b.y)}function ql(a,b){return new ml(a.x+b.x,a.y+b.y)}ua(S,function(){this.x=f[Ab](this.x);this.y=f[Ab](this.y);return this});va(S,function(){this.x=f[s](this.x);this.y=f[s](this.y);return this}); +Va(S,function(){this.x=f[B](this.x);this.y=f[B](this.y);return this});db(S,function(a,b){a instanceof ml?(this.x+=a.x,this.y+=a.y):(this.x+=a,Ai(b)&&(this.y+=b));return this});Na(S,function(a,b){var c=Ai(b)?b:a;this.x*=a;this.y*=c;return this});function rl(a,b){sa(this,a);Ra(this,b)}function sl(a,b){return a==b?!0:a&&b?a[p]==b[p]&&a[x]==b[x]:!1}S=rl[I];S.t=function(){return new rl(this[p],this[x])};S.O5=function(){return f.min(this[p],this[x])};S.area=function(){return this[p]*this[x]};Ta(S,function(){return!this.area()});ua(S,function(){sa(this,f[Ab](this[p]));Ra(this,f[Ab](this[x]));return this});S.jxa=function(a){return this[p]<=a[p]&&this[x]<=a[x]};va(S,function(){sa(this,f[s](this[p]));Ra(this,f[s](this[x]));return this}); +Va(S,function(){sa(this,f[B](this[p]));Ra(this,f[B](this[x]));return this});Na(S,function(a,b){var c=Ai(b)?b:a;sa(this,this[p]*a);Ra(this,this[x]*c);return this});var tl,Jca=!Ik||Zk(9),Kca=!Jk&&!Ik||Ik&&Zk(9)||Jk&&Yk("1.9.1"),ul=Ik&&!Yk(af),Lca=Ik||Hk||Kk;function Mca(a,b){mb(a,b)}function vl(a){a=a[Cd];return yi(a)&&a[Mb](/\S+/g)||[]}function wl(a,b){for(var c=vl(a),d=Cj(arguments,1),e=c[G]+d[G],g=c,h=0;ha} +function mm(a){if(ul&&Hba in a)a=a.innerText[yb](/(\r\n|\r|\n)/g,je);else{var b=[];nm(a,b,!0);a=b[fe](N)}a=a[yb](/ \xAD /g,ke)[yb](/\xAD/g,N);a=a[yb](/\u200B/g,N);ul||(a=a[yb](/ +/g,ke));a!=ke&&(a=a[yb](/^\s*/,N));return a}function om(a){var b=[];nm(a,b,!1);return b[fe](N)}function nm(a,b,c){if(!(a[md]in Sca))if(3==a[fd])c?b[z](String(a[Yc])[yb](/(\r\n|\r|\n)/g,N)):b[z](a[Yc]);else if(a[md]in im)b[z](im[a[md]]);else for(a=a[Wb];a;)nm(a,b,c),a=a[ec]} +function Oca(a){if(a&&typeof a[G]==jh){if(xi(a))return typeof a[jd]==Ng||typeof a[jd]==Lh;if(Bi(a))return typeof a[jd]==Ng}return!1}function pm(a,b,c){if(!b&&!c)return null;var d=b?b[de]():null;return qm(a,function(a){return(!d||a[md]==d)&&(!c||yl(a,c))},!0)}function qm(a,b,c,d){c||(a=a[ce]);c=null==d;for(var e=0;a&&(c||e<=d);){if(b(a))return a;a=a[ce];e++}return null}function rm(a){try{return a&&a[qb]}catch(b){}return null}function Bl(a){this.Nf=a||li[Ed]||ga}S=Bl[I];S.aa=Al;S.Rb=function(){return this.Nf}; +S.a=function(a){return yi(a)?this.Nf[gd](a):a};S.tM=function(a,b,c){return Fl(this.Nf,a,b,c)};S.rv=function(a,b){return Hl(a,b||this.Nf)};S.Bv=Il;S.XSa=function(a){a=a||this.tB();return Kl(a||ba)};S.h=function(a,b,c){return Nl(this.Nf,arguments)};S.createElement=function(a){return this.Nf[Ub](a)};S.createTextNode=function(a){return this.Nf[Fb](String(a))}; +S.nra=function(a,b,c){var d=this.Nf,e=!!c;c=[xaa];for(var g=0;g=this[D]&&a[Zc]<=this[Zc]&&a.top>=this.top&&a[Jc]<=this[Jc]:a.x>=this[D]&&a.x<=this[Zc]&&a.y>=this.top&&a.y<=this[Jc]:!1}); +S.expand=function(a,b,c,d){xi(a)?(this.top-=a.top,Sa(this,this[Zc]+a[Zc]),La(this,this[Jc]+a[Jc]),Ya(this,this[D]-a[D])):(this.top-=a,Sa(this,this[Zc]+b),La(this,this[Jc]+c),Ya(this,this[D]-d));return this};S.Nka=function(a){Ya(this,f.min(this[D],a[D]));this.top=f.min(this.top,a.top);Sa(this,f.max(this[Zc],a[Zc]));La(this,f.max(this[Jc],a[Jc]))};function tm(a,b){return a[D]<=b[Zc]&&b[D]<=a[Zc]&&a.top<=b[Jc]&&b.top<=a[Jc]} +ua(S,function(){this.top=f[Ab](this.top);Sa(this,f[Ab](this[Zc]));La(this,f[Ab](this[Jc]));Ya(this,f[Ab](this[D]));return this});va(S,function(){this.top=f[s](this.top);Sa(this,f[s](this[Zc]));La(this,f[s](this[Jc]));Ya(this,f[s](this[D]));return this});Va(S,function(){this.top=f[B](this.top);Sa(this,f[B](this[Zc]));La(this,f[B](this[Jc]));Ya(this,f[B](this[D]));return this}); +db(S,function(a,b){a instanceof ml?(Ya(this,this[D]+a.x),Sa(this,this[Zc]+a.x),this.top+=a.y,La(this,this[Jc]+a.y)):(Ya(this,this[D]+a),Sa(this,this[Zc]+a),Ai(b)&&(this.top+=b,La(this,this[Jc]+b)));return this});Na(S,function(a,b){var c=Ai(b)?b:a;Ya(this,this[D]*a);Sa(this,this[Zc]*a);this.top*=c;La(this,this[Jc]*c);return this});function um(a,b,c,d){Ya(this,a);this.top=b;sa(this,c);Ra(this,d)}S=um[I];S.t=function(){return new um(this[D],this.top,this[p],this[x])};S.bja=function(){return new sm(this.top,this[D]+this[p],this.top+this[x],this[D])};function vm(a){return new um(a[D],a.top,a[Zc]-a[D],a[Jc]-a.top)}function wm(a,b){return a==b?!0:a&&b?a[D]==b[D]&&a[p]==b[p]&&a.top==b.top&&a[x]==b[x]:!1} +S.kA=function(a){var b=f.max(this[D],a[D]),c=f.min(this[D]+this[p],a[D]+a[p]);if(b<=c){var d=f.max(this.top,a.top);a=f.min(this.top+this[x],a.top+a[x]);if(d<=a)return Ya(this,b),this.top=d,sa(this,c-b),Ra(this,a-d),!0}return!1};function xm(a,b){var c=f.max(a[D],b[D]),d=f.min(a[D]+a[p],b[D]+b[p]);if(c<=d){var e=f.max(a.top,b.top),g=f.min(a.top+a[x],b.top+b[x]);if(e<=g)return new um(c,e,d-c,g-e)}return null} +S.Ru=function(a){var b=xm(this,a);if(b&&b[x]&&b[p]){var b=[],c=this.top,d=this[x],e=this[D]+this[p],g=this.top+this[x],h=a[D]+a[p],k=a.top+a[x];a.top>this.top&&(b[z](new um(this[D],this.top,this[p],a.top-this.top)),c=a.top,d-=a.top-this.top);kthis[D]&&b[z](new um(this[D],c,a[D]-this[D],d));h=a[D]+a[p]&&this.top<=a.top&&this.top+this[x]>=a.top+a[x]:a.x>=this[D]&&a.x<=this[D]+this[p]&&a.y>=this.top&&a.y<=this.top+this[x]});S.oc=function(){return new rl(this[p],this[x])}; +S.getCenter=function(){return new ml(this[D]+this[p]/2,this.top+this[x]/2)};ua(S,function(){Ya(this,f[Ab](this[D]));this.top=f[Ab](this.top);sa(this,f[Ab](this[p]));Ra(this,f[Ab](this[x]));return this});va(S,function(){Ya(this,f[s](this[D]));this.top=f[s](this.top);sa(this,f[s](this[p]));Ra(this,f[s](this[x]));return this});Va(S,function(){Ya(this,f[B](this[D]));this.top=f[B](this.top);sa(this,f[B](this[p]));Ra(this,f[B](this[x]));return this}); +db(S,function(a,b){a instanceof ml?(Ya(this,this[D]+a.x),this.top+=a.y):(Ya(this,this[D]+a),Ai(b)&&(this.top+=b));return this});Na(S,function(a,b){var c=Ai(b)?b:a;Ya(this,this[D]*a);sa(this,this[p]*a);this.top*=c;Ra(this,this[x]*c);return this});function Y(a,b,c){yi(b)?ym(a,c,b):Sj(b,Ei(ym,a))}function ym(a,b,c){(c=zm(a,c))&&(a[w][c]=b)}function zm(a,b){var c=ej(b);if(void 0===a[w][c]){var d=(Kk?Yaa:Jk?Oaa:Ik?Lba:Hk?Jf:null)+tca(b);if(void 0!==a[w][d])return d}return c}function Am(a,b){var c=a[w][ej(b)];return"undefined"!==typeof c?c:a[w][zm(a,b)]||N}function Bm(a,b){var c=Cl(a);return c[ud]&&c[ud].getComputedStyle&&(c=c[ud].getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||N:N} +function Cm(a,b){return Bm(a,b)||(a[Xd]?a[Xd][b]:null)||a[w]&&a[w][b]}function Dm(a){return Cm(a,wh)}function Em(a,b,c){var d,e=Jk&&(Ak||Dk)&&Yk(Ye);b instanceof ml?(d=b.x,b=b.y):(d=b,b=c);Ya(a[w],Fm(d,e));a[w].top=Fm(b,e)}function Gm(a){return new ml(a[Md],a[Uc])}function Hm(a){a=a?Cl(a):ga;return!Ik||Zk(9)||Al(a).fT()?a[hc]:a[Nd]} +function Im(a){var b;try{b=a[sb]()}catch(c){return{left:0,top:0,right:0,bottom:0}}Ik&&a[zc][Nd]&&(a=a[zc],Ya(b,b[D]-(a[hc][Yb]+a[Nd][Yb])),b.top-=a[hc][Zb]+a[Nd][Zb]);return b}function Jm(a){if(Ik&&!Zk(8))return a[tc];var b=Cl(a),c=Cm(a,wh),d=c==Kg||c==lg;for(a=a[ce];a&&a!=b;a=a[ce])if(c=Cm(a,wh),d=d&&c==Kh&&a!=b[hc]&&a!=b[Nd],!d&&(a[Dc]>a[Dd]||a[Vb]>a[Td]||c==Kg||c==lg||c==zh))return a;return null} +function Km(a){for(var b=new sm(0,da,da,0),c=Al(a),d=c.Rb()[Nd],e=c.Rb()[hc],g=c.WSa();a=Jm(a);)if(!(Ik&&0==a[Dd]||Kk&&0==a[Td]&&a==d||a==d||a==e||Cm(a,ph)==Zh)){var h=Lm(a),k;k=a;if(Jk&&!Yk(Ye)){var m=na(Bm(k,tg));if(Mm(k))var q=k[Cb]-k[Dd]-m-na(Bm(k,ug)),m=m+q;k=new ml(m,na(Bm(k,vg)))}else k=new ml(k[Yb],k[Zb]);h.x+=k.x;h.y+=k.y;b.top=f.max(b.top,h.y);Sa(b,f.min(b[Zc],h.x+a[Dd]));La(b,f.min(b[Jc],h.y+a[Td]));Ya(b,f.max(b[D],h.x))}d=g[Ic];g=g[zd];Ya(b,f.max(b[D],d));b.top=f.max(b.top,g);c=c.XSa(); +Sa(b,f.min(b[Zc],d+c[p]));La(b,f.min(b[Jc],g+c[x]));return 0<=b.top&&0<=b[D]&&b[Jc]>b.top&&b[Zc]>b[D]?b:null} +function Lm(a){var b,c=Cl(a),d=Cm(a,wh),e=Jk&&c[Qb]&&!a[sb]&&d==lg&&(b=c[Qb](a))&&(0>b[Kb]||0>b[Lb]),g=new ml(0,0),h=Hm(c);if(a==h)return g;if(a[sb])b=Im(a),a=Al(c).nw(),g.x=b[D]+a.x,g.y=b.top+a.y;else if(c[Qb]&&!e)b=c[Qb](a),a=c[Qb](h),g.x=b[Kb]-a[Kb],g.y=b[Lb]-a[Lb];else{b=a;do{g.x+=b[Md];g.y+=b[Uc];b!=a&&(g.x+=b[Yb]||0,g.y+=b[Zb]||0);if(Kk&&Dm(b)==Kg){g.x+=c[Nd][Ic];g.y+=c[Nd][zd];break}b=b[tc]}while(b&&b!=a);if(Hk||Kk&&d==lg)g.y-=c[Nd][Uc];for(b=a;(b=Jm(b))&&b!=c[Nd]&&b!=h;)g.x-=b[Ic],Hk&&b[Pc]== +Uf||(g.y-=b[zd])}return g}function Nm(a,b){var c=Om(a),d=Om(b);return new ml(c.x-d.x,c.y-d.y)}function Pm(a){var b;if(a[sb])b=Im(a),b=new ml(b[D],b.top);else{b=Al(a).nw();var c=Lm(a);b=new ml(c.x-b.x,c.y-b.y)}if(Jk&&!Yk(12)){var d;Ik?d=gaa:Kk?d=iaa:Hk?d=haa:Jk&&(d=faa);var e;d&&(e=Cm(a,d));e||(e=Cm(a,Sh));a=e?(a=e[Mb](Tca))?new ml(na(a[1]),na(a[2])):new ml(0,0):new ml(0,0);a=ql(b,a)}else a=b;return a} +function Om(a){if(1==a[fd])return Pm(a);var b=Bi(a.ySa),c=a;a[Ib]?c=a[Ib][0]:b&&a.mb[Ib]&&(c=a.mb[Ib][0]);return new ml(c[wd],c[xd])}function Qm(a,b,c){if(b instanceof rl)c=b[x],b=b[p];else if(void 0==c)throw l("missing height argument");sa(a[w],Fm(b,!0));Ra(a[w],Fm(c,!0))}function Fm(a,b){typeof a==jh&&(a=(b?f[B](a):a)+Q);return a} +function Rm(a){var b;var c=Uca;if(Cm(a,Hg)!=P)b=c(a);else{b=a[w];var d=b[Tc],e=b.visibility,g=b[nc];hb(b,Xg);Ea(b,lg);Qa(b,ah);a=c(a);Qa(b,d);Ea(b,g);hb(b,e);b=a}return b}function Uca(a){var b=a[Cb],c=a[Vc],d=Kk&&!b&&!c;return ri(b)&&!d||!a[sb]?new rl(b,c):(a=Im(a),new rl(a[Zc]-a[D],a[Jc]-a.top))}function Sm(a){var b=Lm(a);a=Rm(a);return new um(b.x,b.y,a[p],a[x])}function Tm(a,b){var c=a[w];nh in c?nb(c,b):Paa in c?c.MozOpacity=b:vba in c&&(c.filter=b===N?N:gba+100*b+He)} +function Um(a,b){Qa(a[w],b?N:P)}function Vm(a,b){var c=Al(b),d=null,d=c.Rb();if(Ik&&d.createStyleSheet)c=d=d.createStyleSheet(),Ik?$a(c,a):Wa(c,a);else{var e=c.tM(Vg)[0];e||(d=c.tM(rg)[0],e=c.h(Vg),d[ce][Hb](e,d));var g=d=c.h(Mh);Ik?$a(g,a):Wa(g,a);c[n](e,d)}return d}function Mm(a){return Ch==Cm(a,Gg)}var Wm=Jk?"MozUserSelect":Kk?"WebkitUserSelect":null; +function Xm(a,b,c){c=c?null:a[gc](Je);if(Wm){if(b=b?P:N,a[w][Wm]=b,c){a=0;for(var d;d=c[a];a++)d[w][Wm]=b}}else if(Ik||Hk)if(b=b?mh:N,a[u](Wh,b),c)for(a=0;d=c[a];a++)d[u](Wh,b)}function Ym(a){var b=Cl(a),c=Ik&&a[Xd];if(c&&Al(b).fT()&&c[p]!=og&&c[x]!=og&&!c.boxSizing)return b=Zm(a,c[p],bi,Tba),a=Zm(a,c[x],Wg,Sba),new rl(b,a);c=new rl(a[Cb],a[Vc]);b=$m(a);a=an(a);return new rl(c[p]-a[D]-b[D]-b[Zc]-a[Zc],c[x]-a.top-b.top-b[Jc]-a[Jc])} +function Zm(a,b,c,d){if(/^\d+px?$/[bd](b))return ma(b,10);var e=a[w][c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a[Xd][c];a[w][c]=b;b=a[w][d];a[w][c]=e;a.runtimeStyle[c]=g;return b}function bn(a,b){var c=a[Xd]?a[Xd][b]:null;return c?Zm(a,c,ch,vh):0}function $m(a){var b;if(Ik){b=bn(a,rh);var c=bn(a,sh),d=bn(a,th);a=bn(a,qh);b=new sm(d,c,a,b)}else b=Bm(a,rh),c=Bm(a,sh),d=Bm(a,th),a=Bm(a,qh),b=new sm(na(d),na(c),na(a),na(b));return b}var cn={thin:2,medium:4,thick:6}; +function dn(a,b){if((a[Xd]?a[Xd][b+Vaa]:null)==P)return 0;var c=a[Xd]?a[Xd][b+Zaa]:null;return c in cn?cn[c]:Zm(a,c,ch,vh)}function an(a){if(Ik){var b=dn(a,kba),c=dn(a,lba),d=dn(a,mba);a=dn(a,iba);return new sm(d,c,a,b)}b=Bm(a,tg);c=Bm(a,ug);d=Bm(a,vg);a=Bm(a,jba);return new sm(na(d),na(c),na(a),na(b))}function en(a){var b={};X(a[sc](/\s*;\s*/),function(a){a=a[sc](/\s*:\s*/);2==a[G]&&(b[ej(a[0][he]())]=a[1])});return b}var Tca=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;var Vca=ra("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function fn(a){if(gn){gn=!1;var b=li[wc];if(b){var c=b[Kc];if(c&&(c=hn(jn(3,c)))&&c!=b.hostname)throw gn=!0,l();}}return a[Mb](Vca)}var gn=Kk;function hn(a){return a&&qa(a)}function jn(a,b){return fn(b)[a]||null} +function kn(a,b,c){a=[a,ye,b];null!=c&&a[z](ff,aa(String(c)));a[1]&&(c=a[0],b=c[kd](qe),0<=b&&(a[z](c[ic](b)),a[0]=c=c[ic](0,b)),b=c[kd](hf),0>b?a[1]=hf:b==c[G]-1&&(a[1]=void 0));return a[fe](N)}function ln(a,b,c,d){for(var e=c[G];0<=(b=a[kd](c,b))&&bd)return null;var e=a[kd](ye,d);if(0>e||e>c)e=c;d+=b[G]+1;return qa(a[ic](d,e-d)[yb](/\+/g,ke))}var Wca=/[?&]($|#)/;function on(a,b){for(var c=a.search(mn),d=0,e,g=[];0<=(e=ln(a,d,b,c));)g[z](a[Yd](d,e)),d=f.min(a[kd](ye,e)+1||c,c);g[z](a[ic](d));return g[fe](N)[yb](Wca,we)};var pn={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:re,blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9", +darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff", +gold:"#ffd700",goldenrod:"#daa520",gray:se,green:"#008000",greenyellow:"#adff2f",grey:se,honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa", +lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead", +navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d", +silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:ue,whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function qn(a){var b={};a=String(a);var c=a[Eb](0)==qe?a:qe+a;if(rn[bd](c))return b.Je=sn(c),bb(b,Gba),b;c=tn(a);if(c[G])return b.Je=un(c),bb(b,Ah),b;if(pn&&(c=pn[a[he]()]))return b.Je=c,bb(b,Mba),b;throw l(a+" is not a valid color string");}function vn(a){return!!(rn[bd](a[Eb](0)==qe?a:qe+a)||tn(a)[G]||pn&&pn[a[he]()])}var Xca=/#(.)(.)(.)/;function sn(a){if(!rn[bd](a))throw l(De+a+"' is not a valid hex color");4==a[G]&&(a=a[yb](Xca,baa));return a[he]()} +function wn(a){a=sn(a);return[ma(a[ic](1,2),16),ma(a[ic](3,2),16),ma(a[ic](5,2),16)]}function xn(a,b,c){a=ja(a);b=ja(b);c=ja(c);if(ha(a)||0>a||255b||255c||255c?c+=1:16*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+6*(b-a)*(2/3-c):a}var rn=/^#(?:[0-9a-f]{3}){1,2}$/i,Yca=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i; +function tn(a){var b=a[Mb](Yca);if(b){a=ja(b[1]);var c=ja(b[2]),b=ja(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]}function yn(a){return 1==a[G]?Qe+a:a}function An(a,b,c){c=cl(c,0,1);return[f[B](c*a[0]+(1-c)*b[0]),f[B](c*a[1]+(1-c)*b[1]),f[B](c*a[2]+(1-c)*b[2])]}function Bn(a,b){return An([0,0,0],a,b)}function Cn(a,b){return An([255,255,255],a,b)} +function Dn(a,b){for(var c=[],d=0;d=b};function Gn(a,b){a&&(a.logicalname=b)}function Hn(a){return(a=qm(a,function(a){return null!=a.logicalname},!0))?a.logicalname:ig};function In(a){return a==P||a==N||a==Th?P:qn(a).Je}function Jn(a){if(a==P)return P;a=wn(a);a=f[B]((a[0]+a[1]+a[2])/3);return xn(a,a,a)}function Kn(a,b){a=ek(a);null==a[Bd]&&ib(a,b);return a}function Ln(a,b){var c=a.h(b[vd],b.ne);a.Bv(c,{style:b[w]});if(null!=b[Bb]){var d=ui(b[Bb])?b[Bb]:[b[Bb]];X(d,function(b){if(yi(b))a[n](c,a[Fb](b));else b=yi(b[Bb])&&b.xDa?a.zM(b[Bb]):Ln(a,b),a[n](c,b)})}null!=b.id&&Gn(c,b.id);return c};function Mn(a,b,c){return a==b||f.abs(a-b)<=(null!=c?c:1E-5)}function Nn(a,b,c){return a&&a!=P?b&&b!=P?un(An(wn(a),wn(b),c)):a:b}function On(a,b){if(null==b)return a;var c=new En(b,b);return a?new En(f.min(a[Ec],c[Ec]),f.max(a.end,c.end)):c}function Pn(a,b,c){var d=null!=b?b:a&&null!=c&&ca.end?b:a?a.end:null;return null!=d&&null!=a?new En(d,a):null}function Qn(a){if(0==a[G])return null;for(var b=a[0].t(),c=1;cb&&(b+=12);var d=f.min(ao(c,b),this[Gb]());this[yd](1);this[qd](c);this.setMonth(b);this[yd](d)}a.days&&(a=new Date((new Date(this[Cc](),this[Ad](),this[Gb](),12))[fc]()+864E5*a.days),this[yd](1),this[qd](a[Hc]()),this.setMonth(a[Ad]()),this[yd](a[Gb]()),this.e7(a[Gb]()))}; +S.H_a=function(a,b){return[this[Hc](),$i(this[Ad]()+1,2),$i(this[Gb](),2)][fe](a?Ne:N)+(b?this.KZa():N)};Za(S,function(a){return!(!a||this[Cc]()!=a[Cc]()||this[Ad]()!=a[Ad]()||this[Gb]()!=a[Gb]())});Da(S,function(){return this.H_a()});S.e7=function(a){this[Gb]()!=a&&this.xb.setUTCHours(this.xb[be]()+(this[Gb]()=(e||30)&&(!d||b<=d))||a&&(b=a[Dd],b>=(e||30)&&(!d||b<=d))?b:c||400}function vo(a,b,c,d,e){return b&&(b=b[x],yi(b)&&Oi(b)&&(b=ma(b,10)),typeof b==jh&&b>=(e||30)&&(!d||b<=d))||a&&(b=a[Td],b>=(e||30)&&(!d||b<=d))?b:c||200}function wo(a,b){var c=a&&a.colors;c&&0!=c[G]||(c=(c=a&&a[C])?[c]:b);return c} +function xo(){var a=ni(Cba);null!=a||(a=kaa);var b=ni(Rg);null!=b||(b=Xe);return a+laa+b}function yo(){if(0==ga[gc](Vg)[G]){var a=ga[gc](Zg)[0],b=ga[gc](rg)[0],c=ga[Ub](Vg);a[Hb](c,b)}return ga[gc](Vg)[0]}function zo(a){a=xo()+a;for(var b=ga[gc](Cf),c=0;cc?Bba:Aba;a[Gc](d,b,zg,g)}});function Io(a){a=String(a);if(/^\s*$/[bd](a)?0:/^[\],:{}\s\u2028\u2029]*$/[bd](a[yb](/\\["\\\/bfnrtu]/g,jf)[yb](/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,gg)[yb](/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,N)))try{return eval(Fe+a+He)}catch(b){}throw l("Invalid JSON string: "+a);}function Jo(a){return eval(Fe+a+He)}function Un(a,b){return(new Ko(b)).cp(a)}function Ko(a){this.iV=a}Ko[I].cp=function(a){var b=[];this.i8(a,b);return b[fe](N)}; +Ko[I].i8=function(a,b){switch(typeof a){case Lh:this.Nqa(a,b);break;case jh:this.OWa(a,b);break;case sg:b[z](a);break;case "undefined":b[z](ih);break;case lh:if(null==a){b[z](ih);break}if(ui(a)){this.NWa(a,b);break}this.PWa(a,b);break;case Ng:break;default:throw l("Unknown type: "+typeof a);}};var Lo={'"':'\\"',"\\":eg,"/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},cda=/\uffff/[bd]("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g; +Ko[I].Nqa=function(a,b){b[z](oe,a[yb](cda,function(a){if(a in Lo)return Lo[a];var b=a[Ud](0),e=dba;16>b?e+=Ue:256>b?e+=Te:4096>b&&(e+=Qe);return Lo[a]=e+b[lc](16)}),oe)};Ko[I].OWa=function(a,b){b[z](oa(a)&&!ha(a)?a:ih)};Ko[I].NWa=function(a,b){var c=a[G];b[z](cg);for(var d=N,e=0;ec?Ne:Ke];c=f.abs(c);d[z](f[s](c/60)%100);c%=60;0!=c&&d[z](bf,$i(c,2));c=d[fe](N)}b.Rqa=c;0==a?a=Yf:(c=[Yf,0>a?Ke:Ne],a=f.abs(a),c[z](f[s](a/60)%100),a%=60,0!=a&&c[z](bf,a),a=c[fe](N));b.M7=[a,a];b.KC=[];return b}b=new So;b.Rqa=a.id;b.Jqa=-a.std_offset;b.M7=a.names;b.KC=a.transitions;return b}S=So[I]; +S.Cra=function(a){a=Date.UTC(a[Nb](),a[Bc](),a[Gd](),a[be](),a[ae]())/36E5;for(var b=0;b=this.KC[b];)b+=2;return 0==b?0:this.KC[b-1]};S.FVa=function(a){a=this.k8(a);var b=[Gaa];b[z](0>=a?Ke:Ne);a=f.abs(a);b[z]($i(f[s](a/60)%100,2),bf,$i(a%60,2));return b[fe](N)};S.VXa=function(a){return this.M7[this.ura(a)?3:1]};S.k8=function(a){return this.Jqa-this.Cra(a)};S.GVa=function(a){a=-this.k8(a);var b=[0>a?Ne:Ke];a=f.abs(a);b[z]($i(f[s](a/60)%100,2),$i(a%60,2));return b[fe](N)}; +S.WXa=function(a){return this.M7[this.ura(a)?2:0]};S.ura=function(a){return 0a)b=Zn.zqa[a];else if(8>a)b=Zn.Aqa[a-4];else if(12>a)b=Zn.CUa[a-8],b=b[yb](ica,Zn.zqa[a-8]),b=b[yb](hca,Zn.Aqa[a-8]);else{this.rT(10);return}this.Sr(b)}; +S.Gl=function(a){if(void 0===Zn.TYa)return a;for(var b=[],c=0;c=d?String[pd](Zn.TYa+d-48):a[Eb](c))}return b[fe](N)};S.YRa=function(a,b){var c=0c&&(c=-c);return this.Gl(2==a?$i(c%100,2):String(c))};S.aSa=function(a,b){var c=b[Ad]();switch(a){case 5:return Zn.WUa[c];case 4:return Zn.VUa[c];case 3:return Zn.XUa[c];default:return this.Gl($i(c+1,a))}}; +S.URa=function(a,b){return this.Gl($i(b[dc]()||24,a))};S.ZRa=function(a,b){var c=b[fc]()%1E3/1E3;return this.Gl(c[zb](f.min(3,a))[ic](2)+(3c?1:0]};S.TRa=function(a,b){return this.Gl($i(b[dc]()%12||12,a))};S.RRa=function(a,b){return this.Gl($i(b[dc]()%12,a))};S.SRa=function(a,b){return this.Gl($i(b[dc](),a))}; +S.dSa=function(a,b){var c=b[oc]();switch(a){case 5:return Zn.$Ua[c];case 4:return Zn.cVa[c];case 3:return Zn.bVa[c];default:return this.Gl($i(c,1))}};S.eSa=function(a,b){var c=b[Ad]();switch(a){case 5:return Zn.ZUa[c];case 4:return Zn.YUa[c];case 3:return Zn.aVa[c];default:return this.Gl($i(c+1,a))}};S.bSa=function(a,b){var c=f[s](b[Ad]()/3);return 4>a?Zn.NXa[c]:Zn.MXa[c]};S.WRa=function(a,b){return this.Gl($i(b[Gb](),a))};S.$Ra=function(a,b){return this.Gl($i(b[Rc](),a))}; +S.cSa=function(a,b){return this.Gl($i(b[Fd](),a))};S.gSa=function(a,b,c){c=c||To(b[ie]());return 4>a?c.GVa(b):this.Gl(c.FVa(b))};S.hSa=function(a,b,c){c=c||To(b[ie]());return 4>a?c.WXa(b):c.VXa(b)};S.fSa=function(a,b){b=b||To(a[ie]());return b.Rqa}; +S.IWa=function(a,b,c,d,e){var g=a[G];switch(a[Eb](0)){case Faa:return this.YRa(g,c);case ci:return this.iSa(g,c);case Df:return this.aSa(g,c);case bh:return this.URa(g,d);case Mf:return this.ZRa(g,d);case uf:return this.XRa(g,c);case kg:return this.VRa(g,d);case Sg:return this.TRa(g,d);case Laa:return this.RRa(g,d);case Haa:return this.SRa(g,d);case xg:return this.dSa(g,c);case Bf:return this.eSa(g,c);case Lf:return this.bSa(g,c);case Dg:return this.WRa(g,c);case eh:return this.$Ra(g,d);case Dh:return this.cSa(g, +d);case Xh:return this.fSa(b,e);case ei:return this.hSa(g,b,e);case bg:return this.gSa(g,b,e);default:return N}};var Wo={kUa:di,B7:"MMM y",f3a:"MMMM yyyy",V1a:Ef,W1a:"MMMM dd",Y1a:"M/d",X1a:"MMMM d",$2a:"EEE, MMM d",a1a:Dg},Xo=Wo,Xo=Wo;function Yo(a){a=new go([a||{},{formatType:Gh,valueType:Fg}]);this.Ed=a.ka(uh);this.Lf=null;this.AIa=a.qs(xba,dda);this.WHa=a.qs(eca,Zo);this.zIa=a.fa(pba,!1);this.aka=null;a=a.Bd(dca);null!=a&&(this.aka=To(60*-a))}var $o=Xo,dda={j1a:Mg,F1a:dh,L1a:gh,SHORT:Gh},Zo={DYa:Eg,EYa:Fg,O2a:Qh}; +function eda(a,b){switch(a){case Eg:switch(b){case Mg:return 0;case dh:return 1;case gh:return 2;case Gh:return 3}case Fg:switch(b){case Mg:return 8;case dh:return 9;case gh:return 10;case Gh:return 11}case Qh:switch(b){case Mg:return 4;case dh:return 5;case gh:return 6;case Gh:return 7}default:return 8}}wa(Yo[I],function(a,b){var c=oo(Zo,a.I(b));if(c==Eg||c==Fg)for(var c=this.Cz(c),d=a.O(),e=0;ethis.Wx)throw l(Gf);if(0a)throw l(Gf);this.Wx=a};S.qUa=function(a){if(0this.tu[G]?g=!1:this.Ox[G]=t)q+=t,e=!0;else if(r==h[Eb](0)){if(c||d)break;q+=Oe;c=!0}else if(r==k[Eb](0)&&(hi!=k[Eb](0)||b[0]+1a||0==a&&0>1/a;b[z](d?this.tu:this.Ox);if(oa(a))a=a*(d?-1:1)*this.Ki,this.ZS?this.GOa(a,b):this.N5(a,this.oo,b);else b[z](ep.K5);b[z](d?this.wC:this.rJ);b[z](c.xg);return b[fe](N)}); +S.p6=function(a){var b=f.pow(10,this.Wx),c=0>=this.Zx?f[B](a*b):f[s](this.FUa(a*b,this.Zx,this.Wx));oa(c)?(a=f[s](c/b),b=f[s](c-a*b)):b=0;return{Fna:a,BQa:b}}; +S.N5=function(a,b,c){a=this.p6(a);var d=f.pow(10,this.Wx),e=a.Fna,g=a.BQa,h=0==e?0:this.qU(e)+1,k=0a+1;)d--;for(e=1;ea?(a=-a,b[z](ep.NUa)):this.wla&&b[z](ep.OUa);for(var c=N+a,d=gp?Qe:ep.n6,e=c[G];ethis.oo){for(;0!=c%this.tT;)a*=10,c--;d=1}else 1>this.oo?(c++,a/=10):(c-=this.oo-1,a*=f.pow(10,this.oo-1));this.N5(a,d,b);this.Bqa(c,b)}};S.kqa=function(a){a=a[Ud](0);if(48<=a&&58>a)return a-48;var b=ep.n6[Ud](0);return b<=a&&ac&&h++;break;case Qe:if(0c&&h++;break;case Le:h=0;break;case Oe:if(0<=c)throw l('Multiple decimal separators in pattern "'+a+oe);c=d+e+g;break;case uf:if(this.ZS)throw l('Multiple exponential symbols in pattern "'+a+oe);this.ZS=!0;this.pT=0;b[0]+1d+e||1>this.pT)throw l('Malformed exponential pattern "'+a+oe);m=!1;break;default:b[0]--,m=!1}0==e&&0c&&0d+e)||0==h)throw l('Malformed pattern "'+a+oe);g=d+e+g;this.Wx=0<=c?g-c:0;0<=c&&(this.Tr=d+e-c,0>this.Tr&&(this.Tr=0));this.oo=(0<=c?c:g)-d;this.ZS&&(this.tT=d+this.oo,0==this.Wx&&0==this.oo&&(this.oo=1));this.M4=f.max(0,h);this.Xka=0==c||c==g};var hp={prefix:N,xg:N,x5:0}; +fp[I].rqa=function(a,b){var c=1==this.pJ?bp.xTa:bp.wTa;if(3>a)return hp;a=f.min(14,a);c=c[f.pow(10,a)];if(!c)return hp;c=c[b];return c&&c!=Qe?(c=/([^0]*)(0+)(.*)/[ub](c))?{prefix:c[1],xg:c[3],x5:a-(c[2][G]-1)}:hp:hp};fp[I].FOa=function(a,b){if(0==this.pJ)return hp;a=f.abs(a);b=f.abs(b);var c=this.rqa(1>=a?0:this.qU(a),oh).x5,d=b/f.pow(10,c);this.p6(d);d=a/f.pow(10,c);d=this.p6(d);return this.rqa(c+this.qU(d.Fna),oh)};fp[I].qU=function(a){for(var b=0;1<=(a/=10);)b++;return b}; +fp[I].FUa=function(a,b,c){if(!a)return a;b=b-this.qU(a)-1;if(b<-c)return c=f.pow(10,c),f[B](a/c)*c;c=f.pow(10,b);return f[B](a*c)/c};function ip(a){var b=new go([a||{},{decimalSymbol:jp,groupingSymbol:kp,fractionDigits:2,negativeParens:!1,prefix:N,suffix:N,scaleFactor:1}]);this.Hx=b.ub(yba);a&&Ai(a.fractionDigits)&&ha(a.fractionDigits)&&(this.Hx=ka);this.RHa=b.wc(sba);this.Q3=b.wc(Eba);this.wHa=b.wc(xh);this.xHa=b.wc(Nh);this.yfa=b.R9(Oba);this.yja=b.fa(Pba);this.Ed=b.Xp(uh);this.FA=b.nd(Vba);if(0>=this.FA)throw l("Scale factor must be a positive number.");}var jp=ep.h6,kp=ep.i6,lp=ep.X6; +wa(ip[I],function(a,b){if(a.I(b)==jh)for(var c=0;cd&&a[Gc](c,b,Mh,Ag+this.yfa+cf)}}});ip[I].uf=function(a){var b=null,b=a/this.FA;if(null===this.Ed){if(ha(this.Hx))return String(a);this.yja&&(b=f.abs(b));b=this.YR(b);b=this.wHa+b+this.xHa;this.yja&&0>a&&(b=Fe+b+He)}else b=(new fp(this.Ed))[Ob](b);return b}; +ip[I].YR=function(a){0==this.Hx&&(a=f[B](a));var b=[];0>a&&(a=-a,b[z](Ne));var c=f.pow(10,this.Hx),d=f[B](a*c);a=String(f[s](d/c));c=String(d%c);if(3c[G])throw l("sortColumns is an empty array. Must have at least one element.");for(var e={},g=[],h=0;hb||b>=c)throw l("Invalid row index "+b+". Should be in the range [0-"+(c-1)+"].");}else throw l("Table has no rows.");} +function op(a,b){var c=a.G();if(0b||b>=c)throw l("Invalid column index "+b+". Should be an integer in the range [0-"+(c-1)+"].");}else throw l("Table has no columns.");}function sp(a,b,c){a=a.I(b);if(!tp(c,a))throw l(Xf+c+me+a+" in column index "+b);} +function tp(a,b){if(null==a)return!0;var c=typeof a;switch(b){case jh:if(c==jh)return!0;break;case Lh:if(c==Lh)return!0;break;case sg:if(c==sg)return!0;break;case Eg:case Fg:if(wi(a))return!0;break;case Rh:if(vi(a)&&2a[G]){for(var c=!0,d=0;da[0]||0>a[1]||59a[2]||59a[3]||999a;a++){if(b[a]b[G]?0:b[3];c=4>c[G]?0:c[3];return bqp(c,h,d)?d=h:0>qp(c,e,h)&&(e=h));return{min:d,max:e}} +function vp(a,b){for(var c=pp(a,function(b,c){return a[F](b,c)},b),d=[],e=a.O(),g=0;gqp(k,h,e.minValue)||null!=e.maxValue&&0a[1]?Qe:N)+a[1]),c[z]((10>a[2]?Qe:N)+a[2]),c=c[fe](bf),3a[3]?Te:100>a[3]?Qe:N)+a[3])):b==Eg?(c=new Yo({formatType:gh,valueType:Eg}),c=c.uf(a)):b==Fg?(c=new Yo({formatType:gh,valueType:Fg}),c=c.uf(a)):b==jh?(c=new ip({fractionDigits:ka}),c=c.uf(a)):c=null!=a?String(a):N;return c} +function hda(a,b){var c={};if(!ui(a))throw l("Not an array");if(0b)throw l("Invalid value for numOrArray: "+b+". If numOrArray is a number it should be a nonnegative integer.");c=Lj(null,b)}else throw l("Invalid value for numOrArray. Should be a number or an array of arrays of cells.");for(var d=[],e=0;e=b||(this.wd=[],rp(this,a),a+b>this.xf[G]&&(b=this.xf[G]-a),this.xf[ee](a,b))};S.iC=function(a){this.tsa(a,1)};S.ssa=function(a,b){if(!(0>=b)){this.wd=[];op(this,a);a+b>this.yf[G]&&(b=this.yf[G]-a);this.yf[ee](a,b);for(var c=0;c=e&&(g=g||a.gp(b),e=g.max,d=g.min);d==e&&(0==d?e=1:0=b)&&(null==c||a=this.m7&&(this.m7=1);this.hTa=wn(qn(d).Je);this.jTa=wn(qn(e).Je)}W(Ip,Gp); +Ip[I].xw=function(a){if(!Ai(a))return N;a=An(this.hTa,this.jTa,1-(a-this.Fpa)/this.m7);return xn(a[0],a[1],a[2])};function Jp(){this.HS=[]}Jp[I].addRange=function(a,b,c,d){this.HS[z](new Gp(a,b,c,d))};Jp[I].aZa=function(a,b,c,d,e){this.HS[z](new Ip(a,b,c,d,e))}; +wa(Jp[I],function(a,b){var c=a.I(b);if(c==jh||c==Lh||c==Eg||c==Fg||c==Rh)for(c=0;c/g,Ae)[yb](/\"/g,Ce):N)}}var Jea=/^[^<]*([^<]*<\/a>[^<]*)*$/,Kea=/javascript((s)?( )?)*:/;function rt(a){a=a.version||Se;return ak(ida,a)?a:Se}S=qt[I];S.o4=null;S.n=null;S.Ei=function(){return this.V4==ss};S.c6=function(){return this.V4==mt}; +S.mpa=function(a){for(var b=0;b=a[uq])&&Sp(a,-1)}catch(b){}};S.ySa=function(){return this.mb};S.o=function(){};var Ft="closure_listenable_"+(1E6*f[Fc]()|0);function Gt(a){try{return!(!a||!a[Ft])}catch(b){return!1}}var Pea=0;function Ht(a,b,c,d,e,g){this.so=a;this.cU=b;this.src=c;bb(this,d);this.capture=!!e;this.Ia=g;this.key=++Pea;this.UC=this.RT=!1}Ht[I].EU=function(){this.UC=!0;this.Ia=this.src=this.cU=this.so=null};function It(a){this.src=a;this.Sg={};this.tK=0}S=It[I];S.add=function(a,b,c,d,e){var g=this.Sg[a];g||(g=this.Sg[a]=[],this.tK++);var h=Jt(g,b,d,e);-1c[uq]||void 0!=c.returnValue)){t:{var g=!1;if(0==c[uq])try{Sp(c,-1);break t}catch(h){g=!0}if(g||void 0==c.returnValue)c.returnValue=!0}c=[];for(g=d[Zq];g;g=g[ce])c[z](g);for(var g=a[E],k=c[G]-1;!d.Pu&&0<=k;k--)dq(d,c[k]),e&=Vt(c[k],g,!0,d);for(k=0;!d.Pu&&k>>0);function Ot(a){return Bi(a)?a:a[Yt]||(a[Yt]=function(b){return a[wq](b)})};function Zt(){this.Ip=new It(this);this.BTa=this}W(Zt,wt);Zt[I][Ft]=!0;S=Zt[I];S.PB=null;S.tz=function(a){this.PB=a};S.addEventListener=function(a,b,c,d){Nt(this,a,b,c,d)};S.removeEventListener=function(a,b,c,d){St(this,a,b,c,d)}; +Mp(S,function(a){var b,c=this.PB;if(c){b=[];for(var d=1;c;c=c.PB)b[z](c),++d}c=this.BTa;d=a[E]||a;if(yi(a))a=new zt(a,c);else if(a instanceof zt)kq(a,a[gr]||c);else{var e=a;a=new zt(d,c);ik(a,e)}var e=!0,g;if(b)for(var h=b[G]-1;!a.Pu&&0<=h;h--)g=dq(a,b[h]),e=g.aV(d,!0,a)&&e;a.Pu||(g=dq(a,c),e=g.aV(d,!0,a)&&e,a.Pu||(e=g.aV(d,!1,a)&&e));if(b)for(h=0;!a.Pu&&ha)throw l("Bad port number "+a);this.ju=a}else this.ju=null;return this};S.UIa=function(){return null!=this.ju};S.getPath=function(){return this.Rm};Np(S,function(a,b){this.uo();this.Rm=b?a?qa(a):N:a;return this});S.eka=function(){return!!this.Rm};S.VIa=function(){return this.zj[lc]()!==N};S.lI=function(a,b){this.uo();a instanceof iu?(this.zj=a,this.zj.f7(this.Im)):(b||(a=ju(a,Zea)),this.zj=new iu(a,null,this.Im));return this}; +S.ik=function(a,b){return this.lI(a,b)};S.kpa=function(){return this.zj[lc]()};S.RIa=function(){return this.zj.YVa()};S.Yn=function(){return this.kpa()};S.Mc=function(a,b){this.uo();this.zj.set(a,b);return this};S.jka=function(a,b){this.uo();ui(b)||(b=[String(b)]);this.zj.setValues(a,b);return this};S.wp=function(a){return this.zj.get(a)};S.B3=function(a,b){this.uo();this.fJ=b?a?qa(a):N:a;return this};S.TIa=function(){return!!this.fJ}; +S.KRa=function(){this.uo();this.Mc(Hea,f[s](2147483648*f[Fc]())[lc](36)+f.abs(f[s](2147483648*f[Fc]())^Fi())[lc](36));return this};S.z6=function(a){this.uo();this.zj[Sb](a);return this};S.uo=function(){if(this.XZa)throw l("Tried to modify a read-only Uri");};S.f7=function(a){this.Im=a;this.zj&&this.zj.f7(a);return this};function ju(a,b){return yi(a)?encodeURI(a)[yb](b,$ea):null}function $ea(a){a=a[Ud](0);return xe+(a>>4&15)[lc](16)+(a&15)[lc](16)} +var ku=/[#\/\?@]/g,Xea=/[\#\?:]/g,Wea=/[\#\?]/g,Zea=/[\#\?@]/g,Yea=/#/g;function iu(a,b,c){this.mu=a||null;this.Im=!!c}S=iu[I];S.Rr=function(){if(!this.Rf&&(this.Rf=new lk,this.Hb=0,this.mu))for(var a=this.mu[sc](ye),b=0;be||90=b||0>c?null:new ml(c,b)};var jfa={firstLineIsHeader:!1};function vu(a,b,c,d){b=b[sc](/\r?\n/)[c];Ja(this,a+pda+(c+1)+Eda+b);Ja(this,this[Iq]+(je+Zi(ke,-1==d?b[G]:d)+cs))}W(vu,l);eb(vu[I],"ParseError");function wu(a){this.b=a||{};Sj(jfa,function(a,c){c in this.b||(this.b[c]=a)},this)} +gb(wu[I],function(a){function b(a){a==rr&&(m--,q=r);t=a}function c(){r=q;if(null!=t){var b=t;b==rr&&(m++,q=0);t=null;return b}if(k>=h)return tr;b=a[Eb](k++);q++;var c=!1;b==je?c=!0:b==oda&&(k=h)return tr;for(var a=[],b=d();b!=ur;b=d())a[z](b);return a}var g=this.b.firstLineIsHeader,h=a[G],k=0,m=0,q=0,r=0,t=null,v=!1,y=[],A=[],H=null;g&&(y=e(),H=y[G]);for(var K=e();K!=tr;K= +e()){null==H&&(H=K[G]);if(K[G]!=H)throw new vu("Record has "+K[G]+" field"+(1==K[G]?N:Dh)+", but expected "+H,a,m-1,-1);if(g){for(var M={},L=0;La)throw l("Refresh interval must be a non-negative number");this.Uk=a;this.Pqa()};S.y6=function(){this.gV&&(ba[nq](this.gV),this.gV=null)};S.jWa=function(){this.A7(gt,Qda)};S.A7=function(a,b,c){this.iD({version:Se,status:ss,errors:[{reason:a,message:b,detailed_message:c}]})}; +S.wJa=function(a){var b={};this.mj&&(b.tq=String(this.mj));var c=tea+String(this.m3),d=this.ZI;d&&(c+=Fda+d);this.P6&&(c+=Gda+this.P6);b.tqx=c;if(this.pD){var c=[],e;for(e in this.pD)c[z](e+bf+this.pD[e]);b.tqh=c[fe](cf)}a=Fu(a,b);this.Uk&&(a=new hu(a),Kk&&a.KRa(),a=a[lc]());return a}; +S.Kt=function(){var a=this.wJa(this.fIa),b={};Cu[String(this.m3)]=this;var c=this.V3,d=Fr;c==pt&&(c=ot,d=Ur);if(c==og){c={};if(/[?&]alt=gviz(&[^&]*)*$/[bd](a))b=Ls;else{var e=nn(a,Cea)||og,e=e[sc](bf),b=e[0];b!==ot&&b!==pt||!rj(e,nt)||(c.xhrWithCredentials=!0);ak(Au,b)||(b=og)}b={sendMethod:b,options:c};c=b.sendMethod;b=b[Lq]}if(c==Ls)if(ni(bea))this.BJa(a,this.lja);else throw l("gadgets.io.makeRequest is not defined.");else{if(!(e=c==ot)){if(c=c==og)e=(new hu(li[wc][Kc])).AJa(new hu(a))[lc](),c= +fn(li[wc][Kc]),e=fn(e),c=c[3]==e[3]&&c[1]==e[1]&&c[4]==e[4];e=c}if(e){c=void 0;e=a;d==Ur&&(a=a[sc](hf),1<=a[G]&&(e=a[0]),2<=a[G]&&(c=a[1]));var a=e,e=T(Ei(this.DJa,this.m3),this),b=this.iIa||!!b.xhrWithCredentials,g=new fu;gu[z](g);e&&g.l(js,e);g.Hw(Vs,g.xJa);b&&g.CJa(b);g[rq](a,d,c,lfa)}else{if(this.tja)throw l("CSV files on other domains are not supported. Please use sendMethod: 'xhr' or 'auto' and serve your .csv file from the same domain as this page.");d=ga[gc](rg)[0];b=null===this.ZI;this.gIa&& +b?(b=ga[Ub](Hs),this.zJa(b,a),d[n](b)):this.l4(a)}}};S.zJa=function(a,b){var c=this;a.onerror=function(){c.l4(b)};Lp(a,function(){c.l4(b)});Qa(a[w],P);var d=b+xda+(new Date)[fc]();a.src=d}; +S.BJa=function(a,b){null==b[Du.io[Vq].CONTENT_TYPE]&&(b[Du.io[Vq].CONTENT_TYPE]=Du.io.ContentType.TEXT);null==b[Du.io[Vq].AUTHORIZATION]&&(b[Du.io[Vq].AUTHORIZATION]=Du.io.AuthorizationType.SIGNED);null==b.OAUTH_ENABLE_PRIVATE_NETWORK&&(b.OAUTH_ENABLE_PRIVATE_NETWORK=!0);null==b.OAUTH_ADD_EMAIL&&(b.OAUTH_ADD_EMAIL=!0);Du.io.makeRequest(a,T(this.EXa,this),b);this.rra()};S.EXa=function(a){if(null!=a&&a[Z])Gi(Ro(a[Z]));else{var b=N;a&&a.errors&&(b=a.errors[fe](ke));this.A7(iea,cea,b)}}; +S.l4=function(a){this.rra();ut(a);this.Pqa()};S.rra=function(){var a=this;this.y6();this.gV=ba[Fq](function(){a.jWa()},1E3*this.cra)};S.Roa=function(){this.JU&&(ba[nq](this.JU),this.JU=null)};S.Pqa=function(){this.Roa();if(0!=this.Uk&&this.W6&&this.lk){var a=this;this.JU=ba[Fq](function(){a.Kt()},1E3*this.Uk)}};Qp(S,function(a){this.lk=!0;this.lu=a;this.Kt()});S.makeRequest=function(a,b){this.lk=!0;this.lu=a;this.m0a=Ls;this.lja=b||{};this.Kt()};iq(S,function(){this.lk=!1;this.y6();this.Roa()}); +S.iD=function(a){this.y6();a=new qt(a);if(!a.mpa(Rs)){this.ZI=a.Ei()?null:a.o4;var b=this.lu;b[J](b,a)}};S.setTimeout=function(a){if(typeof a!=jh||ha(a)||0>=a)throw l("Timeout must be a positive number");this.cra=a};S.x_a=function(a){if(typeof a!=sg)throw l("Refreshable must be a boolean");return this.W6=a};S.ik=function(a){if(typeof a!=Lh)throw l("queryString must be a string");this.mj=a};S.q_a=function(a){this.P6=a;null!=a&&this.yra(Vh,a)}; +S.yra=function(a,b){a=a[yb](/\\/g,eg);b=b[yb](/\\/g,eg);a=a[yb](/:/g,bs);b=b[yb](/:/g,bs);a=a[yb](/;/g,fg);b=b[yb](/;/g,fg);this.pD||(this.pD={});this.pD[a]=b};function Hu(){Iu||(Iu=!0,li.QWa&&li.QWa.p0a(Eu,{pollingInterval:100}),li[Sq]&&(Ju(lr),this.jra()));var a=El(rg)[0];this.bXa=vt(a)}var Iu=!1;Hu[I].Era=200;function Ku(){return!!li[Sq]&&!!li[Sq].rpc}Hu[I].jra=function(){if(Ku()){var a=li[Sq];Bi(a.rpc.register)&&a.rpc.register(sea,Eu)}else 0b)throw l("The first parameter (min) must be smaller than or equal to the second parameter (max).");rp(this.n,a);rp(this.n,b);for(var d=[],c=a;c<=b;c++)d[z](c);return d}throw l("First parameter must be a number or an array."); +};S.Ro=function(a,b){this.xr=this.rpa(a,b);this.yr=!1;this.pI()};S.Uga=function(){return fk(this.nc)};S.hna=function(){if(this.yr){for(var a=[],b=this.n.O(),c=0;ca||a>=this.n.O()?-1:a:ij(this.xr,a)};S.rL=function(a){op(this,a);a=this.nc[a];return Ai(a)?a:xi(a)&&Ai(a.sourceColumn)?a.sourceColumn:-1};S.ZB=function(a){a=this.rL(a);return-1==a?a:a=this.n.ZB(a)};S.yo=function(a){rp(this,a);return this.yr?a:this.xr[a]};S.YB=function(a){a=this.yo(a);return a=this.n.YB(a)}; +S.O=function(){return this.yr?this.n.O():this.xr[G]};S.G=function(){return this.nc[G]};S.lf=function(a){op(this,a);a=this.nc[a];return Ai(a)?this.n.lf(a):a.id||N};za(S,function(a){for(var b=0;ba)return!1;a==this.Bc?this.X3():(yj(this.wb,a),this.Ku--);return!0});S.Pa=function(){return this.wb[ed](this.Bc,this.Ku)};function av(){if(!ni(dea))throw l("your page is missing the google maps API");this.fD=new google[Jq].Geocoder;this.wd={};this.wd[Un({address:N})]={response:[],status:google[Jq].GeocoderStatus.ZERO_RESULTS};this.fy=new sk;this.wu=new lk;this.CC=new $u}pi(av);function bv(a,b,c){this.Yr=a||[];this.pK=0;this.Gr=b;this.SS=!1;this.vU=new lk;this.OQa=c||this.Yr[G]}bq(bv[I],function(){this.SS=!0}); +bv[I].finish=function(a,b){var c=Un(a);this.vU.bf(c)||this.vU.set(c,b);c=[];if(!this.SS){for(var d=f.min(this.pK+this.OQa,this.Yr[G]),e=this.pK;e=this.Yr[G]&&this[Uq]()}};function cv(){this.Yr=[];this.fD=null}cv[I].add=function(a){this.Yr[z](a)}; +cv[I].create=function(a,b,c){if(null!=this.fD){var d=new bv(a,b,c);this.add(d);this.fD.geocode(d)}else Bo(T(function(){null==this.fD&&(this.fD=av.$b());this[Bq](a,b,c)},this))};bq(cv[I],function(){X(this.Yr,function(a){a[Uq]()});this.Yr=[]});S=av[I];S.geocode=function(a){X(a.Yr,T(function(b){var c=Un(b);c in this.wd?a.finish(b,this.wd[c]):(this.wu.bf(c)||(this.CC.XPa(b),this.wu.set(c,[])),this.wu.get(c)[z](a))},this));this.vna()}; +S.vna=function(){if(0!==this.CC.rd()||0!==this.fy.rd()){var a=0d};S.Ma=function(a,b,c){return a.G()>b&&c==a.I(b)};S.psa=function(a,b,c){for(var d=0;d=a.G()||a.I(e)!=c[d])return!1}return!0};S.rB=function(a,b){return this.Ma(a,b,jh)?this.zx(a,b,function(a){return 0<=a}):!1};S.zx=function(a,b,c){for(var d=f.min(a.O(),20),e=0;eb)throw l("Invalid data table format: must have at least 2 columns.");for(var c=!0,d=[],e=0;eb)return!1;var c=a.I(0);if(c!=Eg&&c!=Fg||a.I(1)!=jh)return!1;for(var c=0,d=1;dg?k:g;b=0!=e&&50c)return!1;if(!this.Ma(a,0,jh)&&(b++,this.nia))for(;bb||5b||6c?1:2:0};function nv(){}W(nv,dv);nv[I].Mb=function(a){this.He(a);return this.dUa(a)||this.eUa(a)};nv[I].Jj=function(a){return this.Mb(a)?1b||2b||2c?1:2>d&&0==e?3:2:0};function rv(){}W(rv,dv);rv[I].Mb=function(a){return this.wra(a)||this.vra(a)};rv[I].Jj=function(a){var b=this.wra(a);a=this.vra(a);return b||a?a?1:3:0};rv[I].wra=function(a){this.He(a);var b=a.G();if(2>b||3b||2b||a.I(0)!=Lh)return!1;var c=a.I(1);if(c!=jh&&c!=Eg&&c!=Lh||c==Lh&&!this.BHa(a,1)&&!this.AHa(a,1)||c==jh&&!this.zx(a,1,function(a){return kl(a)}))return!1;for(c=2;ca})}; +S.BHa=function(a,b){return this.zx(a,b,function(a){return 7!=a[G]||ha(a[Yd](0,3))||a[Eb](4)!=$f||ha(a[Yd](6,7))?!1:!0})};S.AHa=function(a,b){return this.zx(a,b,function(a){return 6!=a[G]||ha(a[Yd](0,3))||a[Eb](4)!=Lf||ha(a[Eb](5))?!1:!0})};function tv(){}W(tv,dv);tv[I].Mb=function(a){this.He(a);var b=a.G();if(2>b||3b||2b||0.97b?!0:!1};uv[I].Jj=function(a){return this.Mb(a)?1==a.O()?1:!this.Ma(a,0,Lh)||25c;cb||this.Ma(a,0,sg)||this.Ma(a,0,Lh))return!1;for(var c=1,d=0,e=0;ca.G()?1:2:0};function zv(){}W(zv,dv);zv[I].Mb=function(a){try{this.Rd(a)}catch(b){return!1}return!0};zv[I].Rd=function(a){this.He(a);var b=a.G();if(1>b)throw l("Invalid data table format: must have at least 1 column.");this.ld(a,0,Eg);for(var c=[],d=1;da.G())throw l(Nr);this.ld(a,0,Eg);this.ld(a,1,jh);return{g0a:0,h0a:1}};Fv[I].ld=function(a,b,c){ui(c)||(c=[c]);if(!this.psa(a,b,c))throw l(Mr+b+kr+c+"'.");};function Gv(){}W(Gv,dv);Gv[I].Mb=function(a){this.He(a);var b=a.G();if(2>b||4c.G()||(b=c.Lt(1),d=a.hAxis||{},Jv(d,[b]),a.hAxis=d,c=c.Lt(2),b=a.vAxes||{},d=b[0]||{},Jv(d,[c]),b[0]=d,a.vAxes=b);else{d=a.vAxes||[{},{}];for(var e=a.hAxis||{},g=d[0]||{},h=d[1]||{},k=[],m=[],q=c&&c.G()||0,r=0;r/g,Ae);return b=b+a+nda},void 0);mi("google.visualization.createWrapper",bw,void 0);mi("google.visualization.ChartWrapper",Ov,void 0);ya(Ov[I],Ov[I][$b]);lq(Ov[I],Ov[I][hr]);Ov[I].clone=Ov[I].t;Ga(Ov[I],Ov[I][Dq]);Ov[I].getSnapshot=Ov[I].lT;Ov[I].getDataSourceUrl=Ov[I].oV;Ov[I].getDataTable=Ov[I].qb;Ov[I].getChartName=Ov[I].c2;Ov[I].getChartType=Ov[I].Qa; +Ov[I].getChart=Ov[I].cg;Ov[I].getContainerId=Ov[I].nV;Ov[I].getPackages=Ov[I].x8;Ov[I].getQuery=Ov[I].Yn;Ov[I].getRefreshInterval=Ov[I].pV;Ov[I].getView=Ov[I].qV;Ov[I].getOption=Ov[I].N;Ov[I].getOptions=Ov[I].Sc;$p(Ov[I],Ov[I][Oq]);Ov[I].getCustomRequestHandler=Ov[I].BZa;Ov[I].isDefaultVisualization=Ov[I].Dla;Ov[I].pushView=Ov[I].c_a;Ov[I].sendQuery=Ov[I].$S;Ov[I].setDataSourceUrl=Ov[I].Di;Ov[I].setDataTable=Ov[I].$g;Ov[I].setChart=Ov[I].dQ;Ov[I].setChartName=Ov[I].d2;Ov[I].setChartType=Ov[I].Cd; +Ov[I].setContainerId=Ov[I].sV;Ov[I].setIsDefaultVisualization=Ov[I].Qma;Ov[I].setPackages=Ov[I].WH;Ov[I].setQuery=Ov[I].ik;Ov[I].setRefreshInterval=Ov[I].Mm;Ov[I].setView=Ov[I].AB;Ov[I].setOption=Ov[I].F;Wp(Ov[I],Ov[I][Hq]);Ov[I].setState=Ov[I].Wc;Ov[I].setCustomRequestHandler=Ov[I].m_a;mi("google.visualization.ControlWrapper",Pv,void 0);ya(Pv[I],Pv[I][$b]);lq(Pv[I],Pv[I][hr]);Ga(Pv[I],Pv[I][Dq]);Pv[I].getSnapshot=Pv[I].lT;Pv[I].getDataSourceUrl=Pv[I].oV;Pv[I].getDataTable=Pv[I].qb; +Pv[I].getControlName=Pv[I].zZa;Pv[I].getControlType=Pv[I].AZa;Pv[I].getControl=Pv[I].bU;Pv[I].getContainerId=Pv[I].nV;Pv[I].getPackages=Pv[I].x8;Pv[I].getQuery=Pv[I].Yn;Pv[I].getRefreshInterval=Pv[I].pV;Pv[I].getView=Pv[I].qV;Pv[I].getOption=Pv[I].N;Pv[I].getOptions=Pv[I].Sc;$p(Pv[I],Pv[I][Oq]);Pv[I].sendQuery=Pv[I].$S;Pv[I].setDataSourceUrl=Pv[I].Di;Pv[I].setDataTable=Pv[I].$g;Pv[I].setControlName=Pv[I].j_a;Pv[I].setControlType=Pv[I].k_a;Pv[I].setContainerId=Pv[I].sV;Pv[I].setPackages=Pv[I].WH; +Pv[I].setQuery=Pv[I].ik;Pv[I].setRefreshInterval=Pv[I].Mm;Pv[I].setView=Pv[I].AB;Pv[I].setOption=Pv[I].F;Wp(Pv[I],Pv[I][Hq]);Pv[I].setState=Pv[I].Wc;mi("google.visualization.DashboardWrapper",aw,void 0);ya(aw[I],aw[I][$b]);lq(aw[I],aw[I][hr]);Ga(aw[I],aw[I][Dq]);aw[I].getBindings=aw[I].vZa;aw[I].getDataSourceUrl=aw[I].oV;aw[I].getDataTable=aw[I].qb;aw[I].getDashboard=aw[I].CZa;aw[I].getDashboardName=aw[I].DZa;aw[I].getContainerId=aw[I].nV;aw[I].getPackages=aw[I].x8;aw[I].getQuery=aw[I].Yn; +aw[I].getRefreshInterval=aw[I].pV;aw[I].getView=aw[I].qV;aw[I].getWrappers=aw[I].OZa;aw[I].setBindings=aw[I].h_a;aw[I].setDataSourceUrl=aw[I].Di;aw[I].setDataTable=aw[I].$g;aw[I].setDashboardName=aw[I].o_a;aw[I].setContainerId=aw[I].sV;aw[I].setPackages=aw[I].WH;aw[I].setQuery=aw[I].ik;aw[I].setRefreshInterval=aw[I].Mm;aw[I].setView=aw[I].AB;aw[I].getSnapshot=aw[I].lT;aw[I].setWrappers=aw[I].D_a;mi("google.visualization.data.avg",function(a){return ew(a)/a[G]},void 0);mi("google.visualization.data.count",fw,void 0);mi("google.visualization.data.group",gw,void 0); +mi("google.visualization.data.join",function(a,b,c,d,e,g){var h=c==ch||c==Mg,k=c==Ys||c==Mg,m=new Ap,q=[];X(d,function(c){var d=a.I(c[0]),e=b.I(c[1]);if(d!=e)throw l("Key types do not match:"+d+Me+e);dw(m,a,c[0]);q[z](d)});var r=[],t=[];X(d,function(a){r[z]({column:a[0]});t[z]({column:a[1]})});var v=a.zq(r),y=b.zq(t);X(e,function(b){dw(m,a,b)});X(g,function(a){dw(m,b,a)});for(var A=!1,H=0,K=0,M=0;H=y[G])if(h)R[0]=v[H],L=-1;else break;else if(H>=v[G])if(k)R[1]=y[K], +L=1;else break;else{R[0]=v[H];R[1]=y[K];for(var V=0;Vb&&(b=d)}return b},void 0);mi("google.visualization.data.min",function(a){if(0==a[G])return null;for(var b=a[0],c=1;c\n \n \n
\n \n',cga=") translate(",uA=",0,",dga="--",ega="-10000px",fga="-active",vA="-bg",wA="-buttons",xA="-caption",gga="-checkbox",yA="-checked",hga="-collapse-left",iga="-collapse-right",zA="-content",AA="-default",BA= +"-disabled",CA="-dropdown",jga="-focused",kga="-highlight",DA="-horizontal",lga="-hover",EA="-inner-box",mga="-mag",nga="-open",FA="-outer-box",oga="-rtl",pga="-selected",GA="-title",HA="-title-close",IA="-title-draggable",JA="-title-text",KA="-vertical",qga=".annotations.",rga=".color",LA=".enableInteractivity",sga=".gif",tga=".hole",uga=".js",vga=".offset",wga=".style",xga=".textStyle",yga=".type",zga=".visibleInLegend",Aga="//chart.googleapis.com/chart",Bga="/>",Cga="/core/patterns/",MA="/core/tooltip.css", +Dga="/util/toolbar.css",NA="0 0",Ega="0 0 4 4",OA="0%",PA="1.8",QA="100%",RA="15px",SA="1px",TA="1px solid infotext",UA="2",VA="2d",WA="4",XA="420+",Fga="49.99%",YA="5.5",Gga="50%",ZA="525",Hga="531",Iga="532.0",Jga="533.17.9",$A="636363",aB="7",Kga="808080",bB="9.0",Lga="90%",Mga="9e9e9e",cB=": ",dB=":mm",eB=":ss",Nga=":|",Oga=";color: #333333;margin:0;font-style:",Pga=";font-weight:",Qga=";height:",fB=";overflow-y:",gB=";stop-opacity:",Rga=";text-decoration:",hB=";width:",Sga="< ",iB="", +jB="",kB="",lB="",mB="",nB="\x3c/script>",oB="",pB='',qB='=e[Zc])&&(g&=-2),132==(g&132)&&(k.y=e[Jc])&&(g&=-5),k.xe[Zc]&&g&16&&(sa(h,f.max(h[p]-(k.x+h[p]-e[Zc]),0)),d|=4),k.x+h[p]>e[Zc]&&g&1&&(k.x=f.max(e[Zc]-h[p],e[D]),d|=1),g&2&&(d=d|(k.xe[Zc]?32: +0)),k.y=e.top&&k.y+h[x]>e[Jc]&&g&32&&(Ra(h,f.max(h[x]-(k.y+h[x]-e[Jc]),0)),d|=8),k.y+h[x]>e[Jc]&&g&4&&(k.y=f.max(e[Jc]-h[x],e.top),d|=2),g&8&&(d=d|(k.ye[Jc]?128:0)),k=d):k=256,k&496))return k;Em(b,a);sl(c,h)||(a=Cl(b),e=Al(a).fT(),!Ik||e&&Yk(qr)?(b=b[w],Jk?b.MozBoxSizing=mE:Kk?b.WebkitBoxSizing=mE:b.boxSizing=mE,sa(b,f.max(h[p],0)+Q),Ra(b,f.max(h[x],0)+Q)):(a= +b[w],e?(e=$m(b),b=an(b),a.pixelWidth=h[p]-b[D]-e[D]-e[Zc]-b[Zc],a.pixelHeight=h[x]-b.top-e.top-e[Jc]-b[Jc]):(a.pixelWidth=h[p],a.pixelHeight=h[x])));return k};function AM(){}AM[I].Fe=function(){};function BM(a,b,c){jx(this,a);this.lH=b;this.gXa=c}W(BM,AM);BM[I].Fe=function(a,b,c){xM(this[jz],this.lH,a,b,void 0,c,this.gXa)};function CM(a,b){this.ga=a instanceof ml?a:new ml(a,b)}W(CM,AM);CM[I].Fe=function(a,b,c,d){xM(Hm(a),0,a,b,this.ga,c,null,d)};function DM(a,b,c,d){BM[J](this,a,b);this.WU=c?5:0;this.Q7=d||void 0}W(DM,BM);DM[I].DWa=function(){return this.WU};DM[I].r_a=function(a){this.WU=a};DM[I].Fe=function(a,b,c,d){var e=xM(this[jz],this.lH,a,b,null,c,10,d,this.Q7);if(e&496){var g=this.cV(e,this.lH);b=this.cV(e,b);e=xM(this[jz],g,a,b,null,c,10,d,this.Q7);e&496&&(g=this.cV(e,g),b=this.cV(e,b),xM(this[jz],g,a,b,null,c,this.WU,d,this.Q7))}};DM[I].cV=function(a,b){a&48&&(b^=2);a&192&&(b^=1);return b};function EM(a,b){this.ga=a instanceof ml?a:new ml(a,b)}W(EM,AM);EM[I].Fe=function(a,b,c,d){var e;e=Cl(a);var g=e[Nd];e=e[hc];e=new ml(g[Ic]||e[Ic],g[zd]||e[zd]);g=this.ga.x+e.x;e=this.ga.y+e.y;var h=yM(a),g=g-h.x;e-=h.y;zM(new ml(g,e),a,b,c,null,null,d)};function Nna(a){if(a[Aq]&&!a[dr]||a[Xq]||112<=a[uq]&&123>=a[uq])return!1;switch(a[uq]){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 224:case 92:return!1;case 0:return!Jk;default:return 166>a[uq]||183=a||96<=a&&106>=a||65<=a&&90>=a||Kk&&0==a)return!0;switch(a){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function GM(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function HM(a,b){Zt[J](this);this.Nd=new Qv(this);this.bF(a||null);b&&this.su(b)}W(HM,Zt);S=HM[I];S.w=null;S.Aga=!0;S.gma=null;S.TB=!1;S.ZTa=!1;S.Hga=-1;S.yDa=!1;S.HMa=!0;S.Oh=mL;S.Sb=function(){return this.Oh};S.su=function(a){this.Oh=a};S.a=function(){return this.w};S.bF=function(a){this.pma();this.w=a};S.mO=function(a){this.pma();this.Aga=a};S.XN=function(a,b){this.pA=a;this.gB=b};S.ic=function(){return this.Nd}; +S.pma=function(){if(this.TB)throw l("Can not change this state of the popup while showing.");};S.Q=function(){return this.TB};vw(S,function(a){this.pA&&this.pA[br]();this.gB&&this.gB[br]();a?this.I5():this.rC()});S.Fe=oi; +S.I5=function(){if(!this.TB&&this.ZY()){if(!this.w)throw l("Caller must call setElement before trying to show the popup");this.Fe();var a=Cl(this.w);this.yDa&&this.Nd.l(a,MH,this.zDa,!0);if(this.Aga)if(this.Nd.l(a,MI,this.Jga,!0),Ik){var b;try{b=a[qb]}catch(c){}for(;b&&b[md]==zf;){try{var d=b[kz]||b[Kx][Ed]}catch(e){break}a=d;b=a[qb]}this.Nd.l(a,MI,this.Jga,!0);this.Nd.l(a,QF,this.Iga)}else this.Nd.l(a,jE,this.Iga);this.Oh==mL?this.ADa():this.Oh==RI&&this.Fe();this.TB=!0;this.Hga=Fi();this.pA?(Rt(this.pA, +jG,this.Kga,!1,this),this.pA[Iy]()):this.Kga()}};S.rC=function(a){if(!this.TB||!this.oQa(a))return!1;this.Nd&&this.Nd.Tc();this.TB=!1;Fi();this.gB?(Rt(this.gB,jG,Ei(this.eoa,a),!1,this),this.gB[Iy]()):this.eoa(a);return!0};S.eoa=function(a){this.Oh==mL?this.ZTa?au(this.lqa,0,this):this.lqa():this.Oh==RI&&this.YTa();this.j1(a)};S.ADa=function(){hb(this.w[w],Zh);Um(this.w,!0)};S.lqa=function(){hb(this.w[w],Xg);Um(this.w,!1)};S.YTa=function(){this.w[w].top=ega};S.ZY=function(){return this[$](cE)}; +S.Kga=function(){this[$](xK)};S.oQa=function(a){return this[$]({type:bE,target:a})};S.j1=function(a){this[$]({type:iH,target:a})};S.Jga=function(a){a=a[gr];cm(this.w,a)||this.gma&&!cm(this.gma,a)||this.fma()||this.rC(a)};S.zDa=function(a){27==a[uq]&&this.rC(a[gr])&&(a[oq](),a[Gq]())};S.Iga=function(a){if(this.HMa){var b=Cl(this.w);if("undefined"!=typeof ga[qb]){if(a=b[qb],!a||cm(this.w,a)||a[Pc]==JB)return}else if(a[gr]!=b)return;this.fma()||this.rC()}};S.fma=function(){return 150>Fi()-this.Hga}; +S.o=function(){HM.e.o[J](this);this.Nd.U();xt(this.pA);xt(this.gB);delete this.w;delete this.Nd};function IM(a,b){this.Ada=4;this.wa=b||void 0;HM[J](this,a)}W(IM,HM);IM[I].hLa=function(a){this.Ada=a;this.Q()&&this.Fe()};Cw(IM[I],function(){return this.wa||null});ix(IM[I],function(a){this.wa=a||void 0;this.Q()&&this.Fe()});IM[I].Fe=function(){if(this.wa){var a=!this.Q()&&this.Sb()!=RI,b=this.a();a&&(hb(b[w],Xg),Um(b,!0));this.wa.Fe(b,this.Ada,this.P_a);a&&Um(b,!1)}};function JM(a,b,c){this.P=c||(a?Al(Dl(a)):Al());IM[J](this,this.P.h(O,{style:gma}));this.Cb=new ml(1,1);this.wb=new sk;a&&this.dz(a);null!=b&&this.iw(b)}W(JM,IM);var KM=[];S=JM[I];S.Ie=null;mb(S,"charts-tooltip");S.mra=500;S.ora=0;S.aa=function(){return this.P};S.dz=function(a){a=Dl(a);this.wb.add(a);Nt(a,Qs,this.En,!1,this);Nt(a,Ps,this.tU,!1,this);Nt(a,NI,this.koa,!1,this);Nt(a,Lg,this.jt,!1,this);Nt(a,jE,this.tU,!1,this)}; +S.detach=function(a){if(a)a=Dl(a),this.rna(a),this.wb[Sb](a);else{for(var b=this.wb.Pa(),c=0;a=b[c];c++)this.rna(a);this.wb[$b]()}};S.rna=function(a){St(a,Qs,this.En,!1,this);St(a,Ps,this.tU,!1,this);St(a,NI,this.koa,!1,this);St(a,Lg,this.jt,!1,this);St(a,jE,this.tU,!1,this)};S.aba=function(a){this.mra=a};S.oza=function(a){this.ora=a};S.iw=function(a){fm(this.a(),a)};S.G7=function(a){Wa(this.a(),a)};S.bF=function(a){var b=this.a();b&&Xl(b);JM.e.bF[J](this,a);a&&(b=this.P.Rb()[Nd],b[Hb](a,b[Ac]))}; +S.Cu=function(){return mm(this.a())};S.zba=function(){return this.a()[hd]};$p(S,function(){return this.OC?this.Q()?4:1:this.JH?3:this.Q()?2:0});S.ZY=function(){if(!HM[I].ZY[J](this))return!1;if(this[dz])for(var a,b=0;a=KM[b];b++)cm(a.a(),this[dz])||a[Nx](!1);rj(KM,this)||KM[z](this);a=this.a();mb(a,this[Cd]);this.HQ();Nt(a,Qs,this.iga,!1,this);Nt(a,Ps,this.hga,!1,this);this.JX();return!0}; +S.j1=function(){xj(KM,this);for(var a=this.a(),b,c=0;b=KM[c];c++)b[dz]&&cm(a,b[dz])&&b[Nx](!1);this.rga&&this.rga.a0();St(a,Qs,this.iga,!1,this);St(a,Ps,this.hga,!1,this);fx(this,void 0);0==this[Oq]()&&(this.tP=!1);HM[I].j1[J](this)};S.FWa=function(a,b){this[dz]==a&&this.wb[Nc](this[dz])&&(this.tP||!this.i0a?(this[Nx](!1),this.Q()||this.fla(a,b)):fx(this,void 0));this.OC=void 0};S.Zqa=function(){return this.Ie};S.YAa=function(a,b){this.dz(a);this.Ie=a;this.fla(a,b)}; +S.fla=function(a,b){fx(this,a);this[iz](b||this.T6(0));this[Nx](!0)};S.KWa=function(a){this.JH=void 0;a==this[dz]&&(null!=this.Ie&&(this.Ie==this.a()||this.wb[Nc](this.Ie))||this.RBa()||this[Nx](!1))};S.RBa=function(){return!(!this.pga||!this.pga.Ie)};S.dpa=function(a){var b=this.P.nw();this.Cb.x=a[wd]+b.x;this.Cb.y=a[xd]+b.y};S.En=function(a){var b=this.XP(a[gr]);this.Ie=b;this.HQ();b!=this[dz]&&(fx(this,b),this.Goa(b),this.Foa(),this.dpa(a))}; +S.XP=function(a){try{for(;a&&!this.wb[Nc](a);)a=a[ce];return a}catch(b){return null}};S.koa=function(a){this.dpa(a);this.tP=!0};S.jt=function(a){this.Ie=a=this.XP(a[gr]);this.tP=!0;if(this[dz]!=a){fx(this,a);var b=this.T6(1);this.HQ();this.Goa(a,b);this.Foa()}};S.T6=function(a){return 0==a?(a=this.Cb.t(),new LM(a)):new MM(this.Ie)};S.Foa=function(){if(this[dz])for(var a,b=0;a=KM[b];b++)cm(a.a(),this[dz])&&(a.pga=this,this.rga=a)}; +S.tU=function(a){var b=this.XP(a[gr]),c=this.XP(a[mq]);b!=c&&(b==this.Ie&&(this.Ie=null),this.JX(),this.tP=!1,!this.Q()||a[mq]&&cm(this.a(),a[mq])?fx(this,void 0):this.a0())};S.iga=function(){var a=this.a();this.Ie!=a&&(this.HQ(),this.Ie=a)};S.hga=function(a){var b=this.a();this.Ie!=b||a[mq]&&cm(b,a[mq])||(this.Ie=null,this.a0())};S.Goa=function(a,b){this.OC||(this.OC=au(T(this.FWa,this,a,b),this.mra))};S.JX=function(){this.OC&&(bu(this.OC),this.OC=void 0)}; +S.a0=function(){2==this[Oq]()&&(this.JH=au(T(this.KWa,this,this[dz]),this.ora))};S.HQ=function(){this.JH&&(bu(this.JH),this.JH=void 0)};S.o=function(){this[Nx](!1);this.JX();this[Ky]();this.a()&&Xl(this.a());this.Ie=null;delete this.P;JM.e.o[J](this)};function LM(a,b){CM[J](this,a,b)}W(LM,CM);LM[I].Fe=function(a,b,c){b=Hm(a);b=Km(b);c=c?new sm(c.top+10,c[Zc],c[Jc],c[D]+10):new sm(10,0,0,10);zM(this.ga,a,4,c,b,9)&496&&zM(this.ga,a,4,c,b,5)};function MM(a){BM[J](this,a,3)}W(MM,BM); +MM[I].Fe=function(a,b,c){var d=new ml(10,0);xM(this[jz],this.lH,a,b,d,c,9)&496&&xM(this[jz],2,a,1,d,c,5)};function NM(a){var b=null,c=null;Bi(a)?b=a:c=a;this.QMa=b;this.w=c;this.CT=null}NM[I].yn=function(a){this.CT=a;this.Qz()&&Gn(this.w,a)};NM[I].In=function(){return this.Qz()?Hn(this.w):this.CT};NM[I].a=function(){this.w||(this.w=this.QMa(),null===this.CT||Gn(this.w,this.CT));return this.w};NM[I].Qz=function(){return!!this.w};function OM(){this.Ad=[]}S=OM[I];S.ul=function(a){this.Ad[z](a)};S.move=function(a,b){this.ul({type:QI,data:{x:a,y:b}})};S.$=function(a,b){this.ul({type:bI,data:{x:a,y:b}})};S.$j=function(a,b,c,d,e,g){this.ul({type:IF,data:{x1:a,y1:b,Qe:c,gf:d,x:e,y:g}})};S.Uf=function(a,b,c,d,e,g,h){this.ul({type:JD,data:{iH:a,jH:b,ys:c,zs:d,Dv:e,yq:g,Kja:h}})}; +S.pZ=function(a,b){if(0!=a[G])if(0==this.Ad[G]?this[Ay](a[0].x,a[0].y):this.$(a[0].x,a[0].y),b)for(var c=1;cg&&(g+=360);a[z](kf+d+Le+e+uA+(180dl(h-g,360)||!k&&180>dl(g-h,360))||a[z]((k?WC:CB)+(b-d)+Le+(c-e)+Le+(b+d)+Le+(c+e)+Le+(b+m)+Le+(c+q)+Le+(b+r)+Le+(c+t))};S.nn=function(a,b,c){a[w].top=this.Lb(c);Ya(a[w],this.Lb(b))};S.Ar=function(a,b){sa(a[w],this.Lb(b))};S.OR=function(a,b){Ra(a[w],this.Lb(b))};S.M2=function(a,b){Ya(a[w],this.Lb(b))}; +S.N2=function(a,b){a[w].top=this.Lb(b)};S.Kd=function(a,b,c){0==c?pw(a,!1):(pw(a,!0),b&&Qw(a,b),tw(a,c))};S.Qna=function(a,b){var c=this.Au;ta(c[Wb],a);var d=c[w];Nw(d,b.fb);Ia(d,this.Lb(b[xc]||0));Yw(d,b[Bd]?kE:N);dx(d,b.Yc?JH:N);Qa(d,gs);var e=c[Dd],c=c[Td];Qa(d,P);b[Bd]&&(e*=1.1);b.Yc&&(e*=0.9);return new rl(e,c)};S.uja=function(){if(null!=this.Ou)return this.Ou;var a=Ml(O,{style:gM});this.Au[n](a);Qa(this.Au[w],gs);this.Ou=a[Cb]-a[Dd];Qa(this.Au[w],P);Xl(a);return this.Ou}; +S.Lb=function(a){return f[B](a)+Q};S.Pd=function(a){return this.W2[Ub](a)}; +S.tj=function(a,b,c){for(var d=a[rd],e=0;ega[Zd]:!Yk(af):!1)?cN:aN;(this.nS=b||d)&&this.HHa(b);this.vja(c)}W(eN,wt);S=eN[I]; +S.vja=function(a){var b=T(this.aYa,this),c=T(this.fYa,this);fN(b,c,a)};S.fYa=function(){if(this.nS){var a=this.XJa(),b=this.ko=a[gd](vma);b&&(b.referencepoint=!0);this.Aka(a[Nd])}else this.ko=this.Jo[Ub](O),Y(this.ko,wh,zh),Qm(this.ko,this.Mr),this.ko.dir=mI,this.m[n](this.ko),this.Aka(this.m);this.Tt=!0};S.Aka=function(a){var b=Al(a);this.XI=b[Ub](O);var c=this.XI[w];Qa(c,P);Ea(c,lg);c.top=this.Mr[x]+10+Q;Ya(c,this.Mr[p]+10+Q);c.whiteSpace=XI;c=b.Rb();b[n](this.XI,c[Fb](ke));b[n](a,this.XI)}; +S.cWa=function(){var a=Al(this.ko)[Ub](O);Y(a,wh,lg);Em(a,0,0);Qm(a,QA,QA);this.ko[n](a);a=new this.cHa(a,this.XI);this.Fg(a);this.fP[z](a)};S.cUa=function(){var a;a=this.Jo[Ub](O);this.Vg=new $M(a);this.Jo[n](this.m,this.Vg.Pb())};S.aYa=function(){if(!this.nS)return!0;var a=this.sXa();return a&&a._loaded};S.Wa=function(a){if(!this.Tt)return null;for(a=null!=a?a:0;this.fP[G]<=a;)this.cWa();return this.fP[a]};S.cz=function(){if(!this.Tt)return null;this.Vg||this.cUa();return this.Vg}; +S.Ss=function(a,b){fN(T(function(){return null!=this.ko},this),a,b)};kx(S,function(a,b){this.Mr=a;if(this.nS){var c=this.h7();c&&(sa(c,this.Mr[p][lc]()),Ra(c,this.Mr[x][lc]()))}else this.Tt&&Qm(this.ko,this.Mr);this.Tt||this.vja(b)});S.XJa=function(){var a=this.h7();return a?a[kz]||a[Kx][Ed]:null};S.sXa=function(){var a=this.h7();return a?a[Kx]||Ll(a[kz]||a[Kx][Ed]):null};S.h7=function(){return this.Jo.a(this.Pn)}; +S.HHa=function(a){var b=this.Jo[Ub](uH);eb(b,this.Pn);b.id=this.Pn;sa(b,this.Mr[p][lc]());Ra(b,this.Mr[x][lc]());Kw(b,0);Tw(b,UI);Ew(b,0);ww(b,0);b.allowTransparency=Uh;a||bb(b,wH);this.Jo[n](this.m,b);b=b[kz]||b[Kx][Ed];b[Tq]();var c=[];a?(c[z](uB),c[z](tB),c[z](AB)):(c[z](pB),c[z](vB),c[z](wz),c[z](xz),c[z](tB));c[z](zB);c[z](YL);c[z](dka);c[z](Jfa);c[z](gi);c[z](nB);c[z](kB);c[z](qB);c[z](Mfa);c[z](gf);c[z](Tga);c[z](iB);c[z](lB);b[Ax](c[fe](je));b[by]()}; +function fN(a,b,c,d){a[J]()?b[J]():Pna(a,b,c,d)}function Pna(a,b,c,d){var e=null!=d?d:10;ba[Fq](c(function(){fN(a,b,c,e)}),e)}S.o=function(){this.Jo.od(this.m);xt(this.Vg);X(this.fP,function(a){xt(a)});eN.e.o[J](this)};function gN(){this.Ad=[]}S=gN[I];S.ul=function(a,b){this.Ad[z]({brush:a,v5:b})};S.move=function(a,b){this.ul(null,{type:QI,data:{x:a,y:b}})};S.$=function(a,b,c){this.ul(a,{type:bI,data:{x:b,y:c}})};S.$j=function(a,b,c,d,e,g,h){this.ul(a,{type:IF,data:{x1:b,y1:c,Qe:d,gf:e,x:g,y:h}})};S.Uf=function(a,b,c,d,e,g,h,k){this.ul(a,{type:JD,data:{iH:b,jH:c,ys:d,zs:e,Dv:g,yq:h,Kja:k}})};Aw(S,function(a){var b=this.Ad[0].v5[Z];this.$(a,b.x,b.y)}); +function hN(a){switch(a[E]){case QI:case bI:case IF:return a=a[Z],new ml(a.x,a.y);case JD:a=a[Z];var b=dl(a.yq,360);return new ml(a.iH+gl(b-90,a.ys),a.jH+hl(b-90,a.zs));default:return new ml(0,0)}}S.MAa=function(){for(var a=[],b=null,c=0;cb,r=jN(e[0],e[1],b),m=e[G]-2,g=1;g<=m;g++){var q=jN(e[g],e[g+1],b),t=kN(r,q),v;if(xi(t)){v=kN(lN(e[g-1],e[g]),r);var y=kN(lN(e[g], +e[g-1]),r);v=Fn(new En(v.x,y.x),t.x)&&Fn(new En(v.y,y.y),t.y)}else v=t==da;r=v&&t!=da?t:kN(lN(e[g],e[g-1]),r);c.ul(Qna(d[g-1],r));v||(r=180-fl(f[Gy](r.x-e[g].x,r.y-e[g].y)),t=kN(lN(e[g],e[g+1]),q),c.Uf(e[g].x,e[g].y,f.abs(b),f.abs(b),r,180-fl(f[Gy](t.x-e[g].x,t.y-e[g].y)),k));r=q}h&&c[by]();return c} +function Qna(a,b){var c=fk(a);switch(a[E]){case QI:case bI:c[Z].x=b.x;c[Z].y=b.y;break;case IF:c[Z].x=b.x;c[Z].y=b.y;var d=b.x-a[Z].x,e=b.y-a[Z].y;c[Z].x1+=d;c[Z].y1+=e;c[Z].Qe+=d;c[Z].gf+=e}return c}function jN(a,b,c){var d,e=(b.y-a.y)/(b.x-a.x);d=oa(e)?{ll:e,vo:a.y-e*a.x}:{ll:da,vo:a.x};e=d.ll;d=d.vo;if(e==da)return{ll:da,vo:0>b.y-a.y?d+c:d-c};c*=f[sd](1+e*e);return{ll:e,vo:0=this.Em(d,1,0):0<=this.Em(d,0,0)&&0>=this.Em(d,1,1)}catch(e){if(!Ik)throw e;return!1}};rN[I].containsNode=function(a,b){return this.uC(oN(a),b)};rN[I].Uu=function(){return new qN(this.Hi(),this.Am(),this.ml(),this.$n())};function sN(a){this.La=a}W(sN,rN);function tN(a){var b=Cl(a)[nd]();if(3==a[fd])b[Ty](a,0),b[zx](a,a[G]);else if(uN(a)){for(var c,d=a;(c=d[Wb])&&uN(c);)d=c;b[Ty](d,0);for(d=a;(c=d[Ac])&&uN(c);)d=c;b[zx](d,1==d[fd]?d[ac][G]:d[G])}else c=a[ce],a=ij(c[ac],a),b[Ty](c,a),b[zx](c,a+1);return b}function vN(a,b,c,d){var e=Cl(a)[nd]();e[Ty](a,b);e[zx](c,d);return e}S=sN[I];S.t=function(){return new this[uc](this.La.cloneRange())};S.Pb=function(){return this.La.commonAncestorContainer};S.Hi=function(){return this.La.startContainer}; +S.Am=function(){return this.La.startOffset};S.ml=function(){return this.La.endContainer};S.$n=function(){return this.La.endOffset};S.Em=function(a,b,c){return this.La.compareBoundaryPoints(1==c?1==b?li[Wc].START_TO_START:li[Wc].START_TO_END:1==b?li[Wc].END_TO_START:li[Wc].END_TO_END,a)};S.isCollapsed=function(){return this.La[wx]};S.Cu=function(){return this.La[lc]()};rw(S,function(a){var b=Ll(Cl(this.Hi()));this.eJ(b[Wy](),a)});S.eJ=function(a){a.removeAllRanges();a.addRange(this.La)};nw(S,function(a){this.La[vb](a)});function wN(a){this.La=a}W(wN,sN);wN[I].eJ=function(a,b){if(!b||this[ty]())wN.e.eJ[J](this,a,b);else a[vb](this.ml(),this.$n()),a[tx](this.Hi(),this.Am())};function xN(a,b){this.La=a;this.uj=b}W(xN,rN);function yN(a){var b=Cl(a)[Nd].createTextRange();if(1==a[fd])b[$x](a),uN(a)&&!a[ac][G]&&b[vb](!1);else{for(var c=0,d=a;d=d[kc];){var e=d[fd];if(3==e)c+=d[G];else if(1==e){b[$x](d);break}}d||b[$x](a[ce]);b[vb](!d);c&&b[Ay](NE,c);b[ez](NE,a[G])}return b}S=xN[I];S.Ur=null;S.Hd=null;S.kd=null;S.Gd=-1;S.Fd=-1;S.t=function(){var a=new xN(this.La[Lx](),this.uj);a.Ur=this.Ur;a.Hd=this.Hd;a.kd=this.kd;return a}; +S.Pb=function(){if(!this.Ur){var a=this.La[dd],b=this.La[Lx](),c=a[yb](/ +$/,N);(c=a[G]-c[G])&&b[ez](NE,-c);c=b[td]();b=b.htmlText[yb](/(\r\n|\r|\n)+/g,ke)[G];if(this[ty]()&&0c.outerHTML[yb](/(\r\n|\r|\n)+/g,ke)[G];)c=c[ce];for(;1==c[ac][G]&&c.innerText==(3==c[Wb][fd]?c[Wb][Yc]:c[Wb].innerText)&&uN(c[Wb]);)c=c[Wb];0==a[G]&&(c=this.$na(c));this.Ur=c}return this.Ur}; +S.$na=function(a){for(var b=a[ac],c=0,d=b[G];c=this.Em(g,1,0):this.La[rx](g))return this.$na(e)}}return a};S.Hi=function(){this.Hd||(this.Hd=this.qJ(1),this[ty]()&&(this.kd=this.Hd));return this.Hd};S.Am=function(){0>this.Gd&&(this.Gd=this.bD(1),this[ty]()&&(this.Fd=this.Gd));return this.Gd};S.ml=function(){if(this[ty]())return this.Hi();this.kd||(this.kd=this.qJ(0));return this.kd}; +S.$n=function(){if(this[ty]())return this.Am();0>this.Fd&&(this.Fd=this.bD(0),this[ty]()&&(this.Gd=this.Fd));return this.Fd};S.Em=function(a,b,c){return this.La[hz]((1==b?GC:$B)+MC+(1==c?GC:$B),a)}; +S.qJ=function(a,b){var c=b||this.Pb();if(!c||!c[Wb])return c;for(var d=1==a,e=0,g=c[ac][G];ethis.Em(r,1,0)&&0b||b>this.Xf())throw l("Child component index out of bounds");this.Xl&&this.ce||(this.Xl={},this.ce=[]);if(a[ox]()==this){var d=a[cz]();this.Xl[d]=a;xj(this.ce,a)}else dk(this.Xl,a[cz](),a);a.XE(this);uj(this.ce,a,b);a.pb&&this.pb&&a[ox]()==this?(c=this.Ya(),c[Hb](a.a(),c[ac][b]||null)):c?(this.w||this.h(),b=this.Zf(b+1),a.rN(this.Ya(),b?b.w:null)):this.pb&&!a.pb&&a.w&&a.w[ce]&&1==a.w[ce][fd]&&a.vb()};S.Ya=function(){return this.w}; +S.Hg=function(){null==this.ho&&(this.ho=Mm(this.pb?this.w:this.P.Rb()[Nd]));return this.ho};S.Kv=function(a){if(this.pb)throw l(UB);this.ho=a};S.$Xa=function(){return!!this.ce&&0!=this.ce[G]};S.Xf=function(){return this.ce?this.ce[G]:0};S.Qs=function(a){return this.Xl&&a?(a in this.Xl?this.Xl[a]:void 0)||null:null};S.Zf=function(a){return this.ce?this.ce[a]||null:null};S.Wj=function(a,b){this.ce&&X(this.ce,a,b)};S.qA=function(a){return this.ce&&a?ij(this.ce,a):-1}; +S.removeChild=function(a,b){if(a){var c=yi(a)?a:a[cz]();a=this.Qs(c);c&&a&&(ck(this.Xl,c),xj(this.ce,a),b&&(a.re(),a.w&&Xl(a.w)),a.XE(null))}if(!a)throw l("Child is not in parent component");return a};S.hYa=function(a,b){return this[Od](this.Zf(a),b)};S.od=function(a){for(var b=[];this.$Xa();)b[z](this.hYa(0,a));return b};var FN;function GN(a,b){b?a[u](Bh,b):a[Qc](Bh)}function HN(a,b,c){vi(c)&&(c=c[fe](ke));var d=mg+b;if(c===N||void 0==c)FN||(FN={atomic:!1,autocomplete:P,dropeffect:P,haspopup:!1,live:YI,multiline:!1,multiselectable:!1,orientation:$L,readonly:!1,relevant:iia,required:!1,sort:P,busy:!1,disabled:!1,hidden:!1,invalid:Jg}),c=FN,b in c?a[u](d,c[b]):a[Qc](d);else a[u](d,c)}function IN(a,b){var c=a[Qd](mg+b);return null==c||void 0==c?N:String(c)};function JN(a,b,c){Zt[J](this);kq(this,a);this.handle=b||a;this.f5=c||new um(ka,ka,ka,ka);this.Nf=Cl(a);this.H=new Qv(this);this.Fg(this.H);Nt(this[Wx],[zL,MI],this.Sea,!1,this)}W(JN,Zt);var KN=Ik||Jk&&Yk("1.9.3");S=JN[I];eq(S,0);fq(S,0);Op(S,0);Pp(S,0);S.Vt=0;S.gm=0;S.Gt=0;S.rp=0;S.tf=!0;S.Ap=!1;S.vla=0;S.GFa=!1;S.Qx=!1;S.Us=function(a){this.Qx=a};S.ic=function(){return this.H};S.Mo=function(a){this.f5=a||new um(ka,ka,ka,ka)};S.Da=function(a){this.tf=a}; +S.o=function(){JN.e.o[J](this);St(this[Wx],[zL,MI],this.Sea,!1,this);this.sga();kq(this,null);this.handle=null};S.kG=function(){ri(this.ho)||(this.ho=Mm(this[gr]));return this.ho}; +S.Sea=function(a){var b=a[E]==MI;if(!this.tf||this.Ap||b&&!a.XA())this[$](eG);else{this.Q4(a);if(0==this.vla)if(this.ula(a))this.Ap=!0,a[oq]();else return;else a[oq]();this.OMa();eq(this,this.Vt=a[wd]);fq(this,this.gm=a[xd]);Op(this,a[Kb]);Pp(this,a[Lb]);this.Gt=this.Qx?wM(this[gr]):this[gr][Md];this.rp=this[gr][Uc];this.q5=Al(this.Nf).nw();Fi()}}; +S.OMa=function(){var a=this.Nf,b=a[hc],c=!KN;this.H.l(a,[yL,NI],this.BL,c);this.H.l(a,[xL,OI],this.WQ,c);KN?(b.setCapture(!1),this.H.l(b,tla,this.WQ)):this.H.l(Ll(a),jE,this.WQ);Ik&&this.GFa&&this.H.l(a,cG,At);this.IFa&&this.H.l(this.IFa,mK,this.HFa,c)};S.ula=function(a){return this[$](new LN(IK,this,a[wd],a[xd],a))};S.sga=function(){this.H.Tc();KN&&this.Nf.releaseCapture()}; +S.WQ=function(a,b){this.sga();if(this.Ap){this.Q4(a);this.Ap=!1;var c=this.Rna(this.Gt),d=this.Sna(this.rp);this[$](new LN(jG,this,a[wd],a[xd],a,c,d,b||a[E]==wL))}else this[$](eG)};S.Q4=function(a){var b=a[E];b==zL||b==yL?a[Mq](a.mb[Ib][0],a[Zq]):b!=xL&&b!=wL||a[Mq](a.mb.changedTouches[0],a[Zq])}; +S.BL=function(a){if(this.tf){this.Q4(a);var b=(this.Qx&&this.kG()?-1:1)*(a[wd]-this[wd]),c=a[xd]-this[xd];eq(this,a[wd]);fq(this,a[xd]);Op(this,a[Kb]);Pp(this,a[Lb]);if(!this.Ap){var d=this.Vt-this[wd],e=this.gm-this[xd];if(d*d+e*e>this.vla)if(this.ula(a))this.Ap=!0;else{this.Rj||this.WQ(a);return}}c=this.$ma(b,c);b=c.x;c=c.y;this.Ap&&this[$](new LN(aE,this,a[wd],a[xd],a,b,c))&&(this.bna(a,b,c,!1),a[oq]())}}; +S.$ma=function(a,b){var c=Al(this.Nf).nw();a+=c.x-this.q5.x;b+=c.y-this.q5.y;this.q5=c;this.Gt+=a;this.rp+=b;var c=this.Rna(this.Gt),d=this.Sna(this.rp);return new ml(c,d)};S.HFa=function(a){var b=this.$ma(0,0);eq(a,this[wd]);fq(a,this[xd]);this.bna(a,b.x,b.y,!0)};S.bna=function(a,b,c){this.mw(b,c);this[$](new LN(bG,this,a[wd],a[xd],a,b,c))};S.Rna=function(a){var b=this.f5,c=ha(b[D])?null:b[D],b=ha(b[p])?0:b[p];return f.min(null!=c?c+b:da,f.max(null!=c?c:-da,a))}; +S.Sna=function(a){var b=this.f5,c=ha(b.top)?null:b.top,b=ha(b[x])?0:b[x];return f.min(null!=c?c+b:da,f.max(null!=c?c:-da,a))};S.mw=function(a,b){this.Qx&&this.kG()?Sa(this[gr][w],a+Q):Ya(this[gr][w],a+Q);this[gr][w].top=b+Q};function LN(a,b,c,d,e,g,h){zt[J](this,a);eq(this,c);fq(this,d);this.lCa=e;Ya(this,ri(g)?g:b.Gt);this.top=ri(h)?h:b.rp;this.G_=b}W(LN,zt);function MN(a){Zt[J](this);this.w=a;a=Ik?us:jE;this.PAa=Nt(this.w,Ik?ts:Lg,this,!Ik);this.QAa=Nt(this.w,a,this,!Ik)}W(MN,Zt);Tp(MN[I],function(a){var b=new Et(a.mb);bb(b,a[E]==ts||a[E]==Lg?ts:us);this[$](b)});MN[I].o=function(){MN.e.o[J](this);Tt(this.PAa);Tt(this.QAa);delete this.w};function NN(a,b){DN[J](this,b);this.aEa=!!a;this.jI=null}W(NN,DN);S=NN[I];S.cX=null;S.Md=!1;S.Rk=null;S.Ci=null;S.Dn=null;S.I7=!1;S.ca=function(){return Xha};S.uA=function(){return this.Rk};S.h=function(){NN.e.h[J](this);var a=this.a();wl(a,this.ca());jm(a,!0);Um(a,!1);this.Saa();this.Raa()}; +S.Saa=function(){this.aEa&&!this.Ci&&(this.Ci=this.aa().h(uH,{frameborder:0,style:Fia,src:Tka}),mb(this.Ci,this.ca()+vA),Um(this.Ci,!1),Tm(this.Ci,0));this.Rk||(this.Rk=this.aa().h(O,this.ca()+vA),Um(this.Rk,!1))};S.Raa=function(){this.Dn||(this.Dn=this.aa()[Ub]($s),Um(this.Dn,!1),jm(this.Dn,!0),Ea(this.Dn[w],lg))};S.ICa=function(){this.I7=!0;try{this.Dn[Bx]()}catch(a){}au(this.Cqa,0,this)};S.Cqa=function(){this.I7=!1};S.Pua=function(){this.Ci&&Vl(this.Ci,this.a());Vl(this.Rk,this.a())}; +S.rh=function(a){return!!a&&a[Pc]==sf};S.sf=function(a){NN.e.sf[J](this,a);wl(this.a(),this.ca());this.Saa();this.Raa();Um(this.a(),!1)};S.vb=function(){this.Pua();NN.e.vb[J](this);Wl(this.Dn,this.a());this.cX=new MN(this.aa().Rb());this.ic().l(this.cX,ts,this.Oua);this.L$(!1)};S.re=function(){this.Q()&&this[Nx](!1);xt(this.cX);NN.e.re[J](this);Xl(this.Ci);Xl(this.Rk);Xl(this.Dn)}; +vw(S,function(a){a!=this.Md&&(this.lw&&this.lw[br](),this.tA&&this.tA[br](),this.zw&&this.zw[br](),this.dB&&this.dB[br](),this.pb&&this.L$(a),a?this.I5():this.rC())});S.L$=function(a){for(var b=this.aa().Rb()[Nd][Wb];b;b=b[ec])if(1==b[fd]){var c=b;a?HN(c,Xg,a):c[Qc](MD)}b=this.w;(a=!a)?HN(b,Xg,a):b[Qc](MD)};S.XN=function(a,b,c,d){this.lw=a;this.zw=b;this.tA=c;this.dB=d}; +S.I5=function(){if(this[$](cE)){try{this.jI=this.aa().Rb()[qb]}catch(a){}this.b1();this.Fe();this.ic().l(this.aa().tB(),VJ,this.b1);this.Gga(!0);this[Bx]();this.Md=!0;this.lw&&this.tA?(Rt(this.lw,jG,this.oP,!1,this),this.tA[Iy](),this.lw[Iy]()):this.oP()}}; +S.rC=function(){if(this[$](bE)){this.ic().ed(this.aa().tB(),VJ,this.b1);this.Md=!1;this.zw&&this.dB?(Rt(this.zw,jG,this.TP,!1,this),this.dB[Iy](),this.zw[Iy]()):this.TP();try{var a=this.aa().Rb()[Nd],b=this.aa().Rb()[qb]||a;this.jI&&b==a&&this.jI!=a&&this.jI[Bx]()}catch(c){}this.jI=null}};S.Gga=function(a){this.Ci&&Um(this.Ci,a);this.Rk&&Um(this.Rk,a);Um(this.a(),a);Um(this.Dn,a)};S.oP=function(){this[$](xK)};S.TP=function(){this.Gga(!1);this[$](iH)};S.Q=function(){return this.Md};S.focus=function(){this.Fqa()}; +S.b1=function(){this.Ci&&Um(this.Ci,!1);this.Rk&&Um(this.Rk,!1);var a=this.aa().Rb(),b=Kl(Ll(a)||ba||ba),c=f.max(b[p],f.max(a[Nd][Dc],a[hc][Dc])),a=f.max(b[x],f.max(a[Nd][Vb],a[hc][Vb]));this.Ci&&(Um(this.Ci,!0),Qm(this.Ci,c,a));this.Rk&&(Um(this.Rk,!0),Qm(this.Rk,c,a))};S.Fe=function(){var a=this.aa().Rb(),b=Ll(a)||ba;if(Dm(this.a())==Kg)var c=a=0;else c=this.aa().nw(),a=c.x,c=c.y;var d=Rm(this.a()),b=Kl(b||ba),a=f.max(a+b[p]/2-d[p]/2,0),c=f.max(c+b[x]/2-d[x]/2,0);Em(this.a(),a,c);Em(this.Dn,a,c)}; +S.Oua=function(a){this.I7?this.Cqa():a[gr]==this.Dn&&au(this.Fqa,0,this)};S.Fqa=function(){try{Ik&&this.aa().Rb()[Nd][Bx](),this.a()[Bx]()}catch(a){}};S.o=function(){xt(this.lw);this.lw=null;xt(this.zw);this.zw=null;xt(this.tA);this.tA=null;xt(this.dB);this.dB=null;NN.e.o[J](this)};function ON(a,b,c){NN[J](this,b,c);this.xi=a||KI;this.Ng=(new PN).Ii(QN,!0).Ii(RN,!1,!0)}W(ON,NN);S=ON[I];S.jga=!0;S.jF=!0;S.qX=!0;S.Kaa=!0;S.lM=0.5;S.jf=N;S.bh=N;S.lj=null;S.mH=!1;S.Th=null;S.un=null;S.nM=null;S.qn=null;S.jj=null;S.Jg=null;S.kv="dialog";S.ca=function(){return this.xi};S.setTitle=function(a){this.jf=a;this.un&&fm(this.un,a)};S.getTitle=function(){return this.jf};Vw(S,function(a){this.bh=a;this.jj&&Wa(this.jj,a)});Ww(S,function(){return this.bh});S.wsa=function(a){this.kv=a}; +S.fH=function(){this.a()||this.A()};S.Ya=function(){this.fH();return this.jj};S.sFa=function(){this.fH();return this.un};S.rFa=function(){this.fH();return this.Jg};S.Pda=function(){this.fH();return this.a()};S.uA=function(){this.fH();return ON.e.uA[J](this)};S.WW=function(a){this.lM=a;this.a()&&(a=this.uA())&&Tm(a,this.lM)};S.k2=function(a){a!=this.qX&&this.Jaa(a)};S.Jaa=function(a){this.qX=a;if(this.pb){var b=this.aa(),c=this.uA(),d=this.Ci;a?(d&&b.$_(d,this.a()),b.$_(c,this.a())):(b[Pq](d),b[Pq](c))}}; +S.WCa=function(){return this.ca()};S.wAa=function(){return new JN(this.a(),this.Th)};S.getDraggable=function(){return this.Kaa};S.U$=function(a){this.a()&&zl(this.Th,this.xi+IA,a);a&&!this.lj?(this.lj=this.wAa(),wl(this.Th,this.xi+IA),Nt(this.lj,IK,this.S_,!1,this)):!a&&this.lj&&(this.lj.U(),this.lj=null)}; +S.h=function(){ON.e.h[J](this);var a=this.a(),b=this.aa();this.Th=b.h(O,{className:this.xi+GA,id:this[cz]()},this.un=b.h($s,this.xi+JA,this.jf),this.qn=b.h($s,this.xi+HA));Tl(a,this.Th,this.jj=b.h(O,this.xi+zA),this.Jg=b.h(O,this.xi+wA));this.nM=this.Th.id;GN(a,this.kv);HN(a,SH,this.nM||N);this.bh&&Wa(this.jj,this.bh);Um(this.qn,this.jF);this.Ng&&this.Ng.aX(this.Jg);Um(this.Jg,!!this.Ng);this.WW(this.lM)}; +S.sf=function(a){ON.e.sf[J](this,a);a=this.a();var b=this.xi+zA;(this.jj=El(null,b,a)[0])?this.bh=this.jj[hd]:(this.jj=this.aa().h(O,b),this.bh&&Wa(this.jj,this.bh),a[n](this.jj));var b=this.xi+GA,c=this.xi+JA,d=this.xi+HA;(this.Th=El(null,b,a)[0])?(this.un=El(null,c,this.Th)[0],this.qn=El(null,d,this.Th)[0],this.Th.id||(this.Th.id=this[cz]())):(this.Th=this.aa().h(O,{className:b,id:this[cz]()}),a[Hb](this.Th,this.jj));this.nM=this.Th.id;this.un?this.jf=mm(this.un):(this.un=this.aa().h($s,c,this.jf), +this.Th[n](this.un));HN(a,SH,this.nM||N);this.qn||(this.qn=this.aa().h($s,d),this.Th[n](this.qn));Um(this.qn,this.jF);b=this.xi+wA;(this.Jg=El(null,b,a)[0])?(this.Ng=new PN(this.aa()),this.Ng.Ga(this.Jg)):(this.Jg=this.aa().h(O,b),a[n](this.Jg),this.Ng&&this.Ng.aX(this.Jg),Um(this.Jg,!!this.Ng));this.WW(this.lM)}; +S.vb=function(){ON.e.vb[J](this);this.ic().l(this.a(),MH,this.Laa).l(this.a(),Js,this.Laa);this.ic().l(this.Jg,is,this.qva);this.U$(this.Kaa);this.ic().l(this.qn,is,this.rva);var a=this.a();GN(a,this.kv);this.un.id!==N&&HN(a,SH,this.un.id);this.qX||this.Jaa(!1)};S.re=function(){this.Q()&&this[Nx](!1);this.U$(!1);ON.e.re[J](this)};vw(S,function(a){a!=this.Q()&&(this.pb||this.A(),ON.e[Nx][J](this,a))});S.oP=function(){ON.e.oP[J](this);this[$](wD)}; +S.TP=function(){ON.e.TP[J](this);this[$](vD);this.mH&&this.U()};S.focus=function(){ON.e[Bx][J](this);if(this.Ng){var a=this.Ng.rM;if(a)for(var b=this.aa().Rb(),c=this.Jg[gc](yE),d=0,e;e=c[d];d++)if(e[vd]==a&&!e[Ld]){try{if(Kk||Hk){var g=b[Ub](AH);$a(g[w],hma);this.a()[n](g);g[Bx]();this.a()[Od](g)}e[Bx]()}catch(h){}break}}}; +S.S_=function(){var a=this.aa().Rb(),b=Kl(Ll(a)||ba||ba),c=f.max(a[Nd][Dc],b[p]),a=f.max(a[Nd][Vb],b[x]),d=Rm(this.a());Dm(this.a())==Kg?this.lj.Mo(new um(0,0,f.max(0,b[p]-d[p]),f.max(0,b[x]-d[x]))):this.lj.Mo(new um(0,0,c-d[p],a-d[x]))};S.rva=function(){if(this.jF){var a=this.Ng,b=a&&a.m1;if(b)a=a.get(b),this[$](new SN(b,a))&&this[Nx](!1);else this[Nx](!1)}};S.bHa=function(a){this.jF=a;this.qn&&Um(this.qn,this.jF)};S.aHa=function(a){this.jga=a};S.eZ=function(a){this.mH=a}; +S.o=function(){this.Jg=this.qn=null;ON.e.o[J](this)};S.$Ga=function(a){this.Ng=a;this.Jg&&(this.Ng?this.Ng.aX(this.Jg):Wa(this.Jg,N),Um(this.Jg,!!this.Ng))};S.qva=function(a){if((a=this.eVa(a[gr]))&&!a[Ld]){a=a[vd];var b=this.Ng.get(a);this[$](new SN(a,b))&&this[Nx](!1)}};S.eVa=function(a){for(;null!=a&&a!=this.Jg;){if(a[Pc]==nf)return a;a=a[ce]}return null}; +S.Laa=function(a){var b=!1,c=!1,d=this.Ng,e=a[gr];if(a[E]==MH)if(this.jga&&27==a[uq]){var g=d&&d.m1,e=e[Pc]==Of&&!e[Ld];g&&!e?(c=!0,b=d.get(g),b=this[$](new SN(g,b))):e||(b=!0)}else 9==a[uq]&&a[ir]&&e==this.a()&&this.ICa();else if(13==a[uq]){if(e[Pc]==nf&&!e[Ld])g=e[vd];else if(d){var h=d.rM,k=h&&d.T0(h),e=(e[Pc]==Sf||e[Pc]==Of||e[Pc]==kf)&&!e[Ld];!k||k[Ld]||e||(g=h)}g&&d&&(c=!0,b=this[$](new SN(g,String(d.get(g)))))}if(b||c)a[Gq](),a[oq]();b&&this[Nx](!1)}; +function SN(a,b){bb(this,TF);this.key=a;this.caption=b}W(SN,zt);function PN(a){this.P=a||Al();lk[J](this)}W(PN,lk);S=PN[I];S.xi="charts-buttonset";S.rM=null;S.w=null;S.m1=null;S.set=function(a,b,c,d){lk[I].set[J](this,a,b);c&&(this.rM=a);d&&(this.m1=a);return this};S.Ii=function(a,b,c){return this.set(a.key,a.caption,b,c)};S.aX=function(a){this.w=a;this.A()}; +S.A=function(){if(this.w){Wa(this.w,N);var a=Al(this.w);qk(this,function(b,c){var d=a.h(yE,{name:c},b);c==this.rM&&mb(d,this.xi+AA);this.w[n](d)},this)}};S.Ga=function(a){if(a&&1==a[fd]){this.w=a;a=this.w[gc](yE);for(var b=0,c,d,e;c=a[b];b++)if(d=c[vd]||c.id,e=mm(c)||c[id],d){var g=0==b;this.set(d,e,g,c[vd]==CE);g&&wl(c,this.xi+AA)}}};S.a=function(){return this.w};S.aa=function(){return this.P};S.T0=function(a){for(var b=this.tZa(),c=0,d;d=b[c];c++)if(d[vd]==a||d.id==a)return d;return null}; +S.tZa=function(){return this.w[gc](nf)};var QN={key:$I,caption:rC},RN={key:CE,caption:RB},TN={key:"yes",caption:"Yes"},UN={key:UI,caption:"No"},Una={key:"save",caption:"Save"},Vna={key:"continue",caption:"Continue"};"undefined"!=typeof ga&&((new PN).Ii(QN,!0,!0),(new PN).Ii(QN,!0).Ii(RN,!1,!0),(new PN).Ii(TN,!0).Ii(UN,!1,!0),(new PN).Ii(TN).Ii(UN,!0).Ii(RN,!1,!0),(new PN).Ii(Vna).Ii(Una).Ii(RN,!0,!0));function VN(a,b){Zt[J](this);a&&this.dz(a,b)}W(VN,Zt);S=VN[I];S.w=null;S.iT=null;S.S4=null;S.jT=null;S.Al=-1;S.vu=-1;S.w6=!1; +var WN={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},XN={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Wna=Ik||Kk&&Yk(ZA),YN=Ak&&Jk;S=VN[I]; +S.hm=function(a){Kk&&(17==this.Al&&!a[dr]||18==this.Al&&!a[Aq]||Ak&&91==this.Al&&!a[Xq])&&(this.vu=this.Al=-1);-1==this.Al&&(a[dr]&&17!=a[uq]?this.Al=17:a[Aq]&&18!=a[uq]?this.Al=18:a[Xq]&&91!=a[uq]&&(this.Al=91));if(Wna&&!Ona(a[uq],this.Al,a[ir],a[dr],a[Aq]))this[wq](a);else this.vu=Jk?GM(a[uq]):a[uq],YN&&(this.w6=a[Aq])};S.yXa=function(){this.vu=this.Al=-1};S.hMa=function(a){this.yXa();this.w6=a[Aq]}; +Tp(S,function(a){var b=a.mb,c,d,e=b[Aq];Ik&&a[E]==Js?(c=this.vu,d=13!=c&&27!=c?b[uq]:0):Kk&&a[E]==Js?(c=this.vu,d=0<=b[tq]&&63232>b[tq]&&FM(c)?b[tq]:0):Hk?(c=this.vu,d=FM(c)?b[uq]:0):(c=b[uq]||this.vu,d=b[tq]||0,YN&&(e=this.w6),Ak&&63==d&&224==c&&(c=191));var g=c,h=b.keyIdentifier;c?63232<=c&&c in WN?g=WN[c]:25==c&&a[ir]&&(g=9):h&&h in XN&&(g=XN[h]);a=g==this.Al;this.Al=g;b=new ZN(g,d,a,b);Vp(b,e);this[$](b)});S.a=function(){return this.w}; +S.dz=function(a,b){this.jT&&this[Ky]();this.w=a;this.iT=Nt(this.w,Js,this,b);this.S4=Nt(this.w,MH,this.hm,b,this);this.jT=Nt(this.w,NH,this.hMa,b,this)};S.detach=function(){this.iT&&(Tt(this.iT),Tt(this.S4),Tt(this.jT),this.jT=this.S4=this.iT=null);this.w=null;this.vu=this.Al=-1};S.o=function(){VN.e.o[J](this);this[Ky]()};function ZN(a,b,c,d){d&&this[Mq](d,void 0);bb(this,LH);Sp(this,a);this.charCode=b;this.repeat=c}W(ZN,Et);function $N(){}var aO;pi($N);function bO(a,b){var c=new a;c.ca=function(){return b};return c}S=$N[I];S.ai=function(){};S.h=function(a){var b=a.aa().h(O,this.el(a)[fe](ke),a[Py]());this.VH(a,b);return b};S.Ya=function(a){return a};S.xt=function(a,b,c){if(a=a.a?a.a():a)if(Ik&&!Yk(aB)){var d=this.M_(vl(a),b);d[z](b);Ei(c?wl:xl,a)[Oc](null,d)}else zl(a,b,c)};S.vka=function(a,b,c){this.xt(a,b,c)};S.rh=function(){return!0}; +S.Ga=function(a,b){b.id&&a.Gw(b.id);var c=this.Ya(b);c&&c[Wb]?a.vz(c[Wb][ec]?Aj(c[ac]):c[Wb]):a.vz(null);var d=0,e=this.ca(),g=this.Gp(),h=!1,k=!1,c=!1,m=vl(b);X(m,function(a){h||a!=e?k||a!=g?d|=this.z1(a):k=!0:(h=!0,g==e&&(k=!0))},this);a.g4(d);h||(m[z](e),g==e&&(k=!0));k||m[z](g);var q=a.Nn;q&&m[z][Oc](m,q);if(Ik&&!Yk(aB)){var r=this.M_(m);0a?b-1:a},0)};S.g5=function(){this.NU(function(a,b){return(a+1)%b},this.rg)};S.h5=function(){this.NU(function(a,b){a--;return 0>a?b-1:a},this.rg)};S.NU=function(a,b){for(var c=0>b?this.qA(this.Mg):b,d=this.Xf(),c=a[J](this,c,d),e=0;e<=d;){var g=this.Zf(c);if(g&&this.joa(g))return this.P2(c),!0;e++;c=a[J](this,c,d)}return!1};S.joa=function(a){return a.Q()&&a[gy]()&&a.Yg(2)};S.P2=function(a){this.pg(a)}; +S.kq=function(a){this.aZ=a};function uO(){}W(uO,$N);pi(uO);uO[I].ca=function(){return nD};function vO(a,b,c){hO[J](this,a,c||uO.$b(),b);this.mg(1,!1);this.mg(2,!1);this.mg(4,!1);this.mg(32,!1);this.g4(1)}W(vO,hO);cO(nD,function(){return new vO(null)});function wO(){}W(wO,$N);pi(wO);wO[I].h=function(a){return a.aa().h(O,this.ca())};wO[I].Ga=function(a,b){b.id&&a.Gw(b.id);if(b[Pc]==yf){var c=b;b=this.h(a);Vl(b,c);Xl(c)}else wl(b,this.ca());return b};Vw(wO[I],function(){});wO[I].ca=function(){return pD};function xO(a,b){hO[J](this,null,a||wO.$b(),b);this.mg(1,!1);this.mg(2,!1);this.mg(4,!1);this.mg(32,!1);this.g4(1)}W(xO,hO);xO[I].vb=function(){xO.e.vb[J](this);var a=this.a();GN(a,oK)};cO(pD,function(){return new xO});function yO(){}W(yO,sO);pi(yO);S=yO[I];S.ai=function(){return zI};S.rh=function(a){return a[Pc]==QC||yO.e.rh[J](this,a)};S.u1=function(a){return a[Pc]==yf?new xO:yO.e.u1[J](this,a)};S.er=function(a,b){return cm(a.a(),b)};S.ca=function(){return lD};S.Yl=function(a){yO.e.Yl[J](this,a);a=a.a();HN(a,eH,Uh)};cO(pD,function(){return new xO});function zO(a,b){tO[J](this,$L,b||yO.$b(),a);this.gn(!1)}W(zO,tO);S=zO[I];S.L2=!0;S.Lma=!1;S.ca=function(){return this.Wa().ca()};S.er=function(a){if(this.Wa().er(this,a))return!0;for(var b=0,c=this.Xf();b=jj(a[bz],function(a){return a[E]==oK})[G]);var b=pj(a[bz],function(a){return a[E]==oK}),c;-1==b?c=NO(a[bz]):(c=NO(Cj(a[bz],0,b)),a=boa(Cj(a[bz],b+1)),c=zj(c,{name:O,ne:{className:qka}},a));return{name:O,content:c,ne:{className:NG}}} +function NO(a){return{name:EL,ne:{className:pka},content:kj(a,function(a){return{name:aI,content:OO(a[Z]),ne:{className:oka}}})}}function boa(a){return{name:EL,ne:{className:nka},content:kj(a,function(a){return{name:aI,id:KO([tD,a[Z].id]),content:OO(a[Z]),ne:{className:mka}}})}} +function OO(a){return kj(a.ge,function(a,c){switch(a[E]){case et:return{name:$s,style:Yja+a[Z][w].fb+Oga+(a[Z][w].Yc?JH:P)+Rga+(a[Z][w].hf?HL:P)+Pga+(a[Z][w][Bd]?kE:P)+cf,xDa:!!a[Z][Qx],content:(0==c?N:ke)+a[Z][dd]};case GK:return{name:O,style:qg+(a[Z].brush&&a[Z].brush.nb())+cf,ne:{className:rka}}}})};function PO(a,b,c,d,e,g,h,k,m){var q={ge:[]};null!=e&&(e=Wn(e,g),q.ge[z]({type:GK,data:{size:b[xc]/2,brush:e}}));null!=h&&(h=QO(h,b),q.ge[z](h));if(null!=c){if(null==d)throw l("Line title is specified without a text style.");c=QO(c+bf,d);q.ge[z](c)}c=QO(a,b,k);q.ge[z](c);null!=m&&(q.id=m,cx(q,{brush:Vn}));return{type:bI,data:q}}function RO(){return{type:oK,data:{brush:Xn(mA,1)}}}function QO(a,b,c){a={type:et,data:{text:a,style:b}};c&&(a[Z].html=!0);return a} +function SO(a,b,c,d,e,g,h,k){if(k)return MO(a,b,c,e,g);for(var m=k=0;m=g.x?1:-1,q=d.y>g.y?1:-1,y=null,y=c?new ml(d.x+m*k,d.y+ +q*(k+v[x]/2)):new ml(d.x+m*v[p]/2,d.y+q*v[x]/2),r=y.x-v[p]/2,t=r+v[p],A=y.y-v[x]/2,H=A+v[x];h={};c&&(c=new ml(y.x,d.y+k/(k+v[x]/2)*(y.y-d.y)),y=new ml(y.x+-1*(d.x-y.x),c.y),c.x=f[B](c.x),c.y=f[B](c.y),y.x=f[B](y.x),y.y=f[B](y.y),h.xj=1==m*q?[c,d,y]:[y,d,c]);h.ma=new sm(f[B](A),f[B](t),f[B](H),f[B](r));d=e[D]+5;c=e[Zc]-5;if(!(h.ma[D]>=d&&h.ma[Zc]<=c)){m=fk(h);q=m.ma[D];Ya(m.ma,g.x+-1*(m.ma[Zc]-g.x));Sa(m.ma,g.x+-1*(q-g.x));if(q=m.xj)r=q[0],q[0]=q[2],q[2]=r,q[0].x=g.x+-1*(q[0].x-g.x),q[1].x=g.x+-1* +(q[1].x-g.x),q[2].x=g.x+-1*(q[2].x-g.x);m.ma[D]>=d&&m.ma[Zc]<=c?(h.ma=m.ma,h.xj=m.xj):(h.xj&&(q=new En(d+4,c-4),r=new En(m.xj[0].x,m.xj[2].x),t=new En(h.xj[0].x,h.xj[2].x),!(q[Ec]<=t[Ec]&&q.end>=t.end)&&q[Ec]<=r[Ec]&&q.end>=r.end&&(h.ma=m.ma,h.xj=m.xj)),h.ma[Zc]>c&&(Ya(h.ma,h.ma[D]-(h.ma[Zc]-c)),Sa(h.ma,c)),h.ma[D]=d&&h.ma[Jc]<=e)){c=fk(h);m=c.ma.top;c.ma.top=g.y+-1*(c.ma[Jc]-g.y);La(c.ma,g.y+-1*(m-g.y));if(m=c.xj)q= +m[0],m[0]=m[2],m[2]=q,m[0].y=g.y+-1*(m[0].y-g.y),m[1].y=g.y+-1*(m[1].y-g.y),m[2].y=g.y+-1*(m[2].y-g.y);c.ma.top>=d&&c.ma[Jc]<=e?(h.ma=c.ma,h.xj=c.xj):(h.ma[Jc]>e&&(h.ma.top-=h.ma[Jc]-e,La(h.ma,e)),h.ma.topL[G]-1?L[z](V[p]):L[H]=f.max(L[H],V[p]))}}r=[];t=[];A=0;if(M)for(c=0;c=a.ea[p]);c++){for(var d=c;0==a.md[d][b];)if(d++,d==a.ea[x]&&(d=c,b++,b==a.ea[p]))return a;this.HOa(d,c);for(var d=a.md[c][b],e=b;e=this.yy&&(this.Gr(),this.yy=da)};function cP(a,b){this.Oh=a;this.Mu=null!=b&&ek(b)||{}}function dP(a,b){var c=(new cP(zC)).Yh(AC,a);null!=b&&c.Yh(EC,b);return c}function eP(a,b,c){a=(new cP(NB)).Yh(AC,b).Yh(OB,a);null!=c&&a.Yh(EC,c);return a}function fP(a){a=Io(a);return new cP(a.Oh,a.Mu)}S=cP[I];S.t=function(){return fP(this.cp())};Za(S,function(a){if(!a||this.Oh!=a.Oh)return!1;var b=Zj(this.Mu);return b[G]!==Zj(a.Mu)[G]?!1:nj(kj(b,T(function(b){return this.Mu[b]===a.Mu[b]},this)),bl)});S.Yh=function(a,b){this.Mu[a]=b;return this}; +S.wj=function(a){return this.Mu[a]};bb(S,function(){return this.Oh});S.cp=function(){return Un(this)};function eoa(a,b){bb(this,a);ta(this,b)}function gP(a,b){yi(a)&&(a=new eoa(a,null));this.uu=a;this.nu=[];b&&this.nu[z](b)}function foa(){this.$t=[];this.au=[];this.VS=!1};function hP(){ow(this,new VO);this.Pm=this.af=null}hP[I].t=function(){var a=new hP;ow(a,this[vx].t());a.af=this.af?this.af.t():null;a.Pm=this.Pm?this.Pm.t():null;return a};Za(hP[I],function(a){return this[vx][Ey](a[vx])&&(this.af?this.af[Ey](a.af):!a.af)&&(this.Pm?this.Pm[Ey](a.Pm):!a.Pm)});function iP(a){this.B=null;this.Mt=[];this.HI=a}S=iP[I];S.zI=function(a){if(this.B[Ey](a))return{VS:!1,$t:[],au:[]};var b=this.Mt;a=this.wm(a);return this.CJ(a,b)};S.wm=function(a){if(null==this.HI)return[];var b=lj(this.HI,function(b,d){Bj(b,d.wm(a));return b},[],this);this.Mt=b;this.B=a.t();return b};S.CJ=function(a,b){var c=this.Qu(a),d=this.Qu(b),e=c.Ru(d),c=d.Ru(c),d=new foa;d.$t=this.Su(e);d.au=this.Su(c);return d};S.Qu=function(a){a=kj(a,function(a){return Un(a)});return new sk(a)}; +S.Su=function(a){a=a.Pa();return kj(a,function(a){a=Io(a);a.nu=kj(a.nu,function(a){return new cP(a.Oh,a.Mu)});return a})};function jP(a,b){this.CXa=new sk(a);this.JXa=new sk(b)}jP[I].NMa=function(a,b){return this.CXa[Nc](a[E]())&&this.JXa[Nc](b)};function kP(a){jP[J](this,a,[nH,oH])}W(kP,jP);kP[I].z5=function(a,b,c){if(b==nH){if(!a[Ey](c.af))return c.af=a,!0}else if(null!=c.af)return c.af=null,!0;return!1};kP[I].wm=function(a){return null!=a.af?[new gP(Lg,a.af)]:[]};function lP(a,b,c,d,e){this.factory=a;this.D=b;this.Bq=c;this.GO=null;this.x3=goa;this.qw=d;this.J4=e;this.KI=null}S=lP[I];lq(S,function(a){this.GO={};var b=this.D;b[$b]();this.KI=this[Jx].Lx(a,this.Bq);a=this.KI.oc();a=b.wk(a[p],a[x]);for(var c=0;ca.G())throw l("Data table should have at least 2 columns");if(a.I(0)!=Lh)throw l("Column 0 must be of type string");if(a.I(1)!=Lh)throw l("Column 1 must be of type string");for(var c=this.bv(b),d=c.caa,e=c.daa,c=c.eaa,g={},h=[],k=0;kthis[id]};fb(TP[I],function(){return this[id]});TP[I].ija=function(){return!0};function VP(a,b){this.di=a;this.Jia=null!=b?b:!1}W(VP,GP);VP[I].tl=function(){VP.e.tl[J](this);var a=0,b=[],c=1;X(this.di,function(d){d.Ax()&&(d=(new IP(d)).tl(),a++);d.ija()&&(c*=d[F](),d=null);d&&b[z](d)});1!==c&&wj(b,0,0,new TP(c));var d=new VP(b,this.Jia);a%2&&(d=new IP(d));return d};VP[I].Bk=function(){return this.Jia?zj[Oc](null,kj(this.di,function(a){return a.Bk()})):this[fe](new QP)};VP[I].Ax=function(){var a=0;X(this.di,function(b){b.Ax()&&a++});return!!(a%2)};function WP(a,b){this.Ac=[];this.wpa=a;this.cTa=b}WP[I].Cpa=function(a){this.Ac[z]([a,this.cTa(a)])};WP[I].WC=function(a){if(0this.wpa&&(c=f[B](c/this.wpa),1-da&&t.WC(e.min);for(H= +q=h=0;Hr[r[G]-1]&&e.maxb?a/f.pow(10,-b):a*f.pow(10,b)}function $P(a){a=f.abs(0.4342944819032518*f.log(a));return 1E-7>f.abs(a-f[B](a))}function aQ(a){return f[s](0.4342944819032518*f.log(a))}function bQ(a){return f[Ab](0.4342944819032518*f.log(a))};function cQ(){return{transform:function(a){return a},inverse:function(a){return a}}}function koa(a){var b=loa(a);return{transform:function(a){var d=dQ(b,a,function(a){return a[yq]});return null===d?a:d[gr]+(a-d[yq])*d.KK},inverse:function(a){var d=dQ(b,a,function(a){return a[gr]});return null===d?a:0==d.KK?d[yq]:d[yq]+(a-d[gr])/d.KK}}} +function loa(a){for(var b=[],c=0,d=null,e=0;eh?1:0});0>b&&(b=-b-2);return 0>b?null:a[b]}function moa(){return{transform:function(a){return f.log(a)/f[My]},inverse:function(a){return f.pow(10,a)}}} +function noa(a){return{transform:function(b){return b>a?f.log(b/a)/f[My]:b<-a?-f.log(-b/a)/f[My]:0},inverse:function(b){return 0b?-f.pow(10,-b)*a:0}}}var ooa={k2a:xJ,E1a:hI,T1a:JI};function eQ(a,b,c){return(c=a.qs(c,ooa))?c:a.fa(b)?hI:xJ}function fQ(a,b,c){switch(a){case xJ:return sj(c)?cQ():koa(c);case hI:return moa();case JI:return noa(b);default:return cQ()}};function poa(a,b){return f.abs(a-b)}function gQ(a,b,c,d){if(!a||!b)return!0;var e=d||poa;return Vj(a,function(a,d){var k=b[d];return!ri(b[d])||e(a,k)<=c})}function qoa(a,b,c){if(0==a.x||0==b.x)return{x:0,y:(0==a.x&&0==b.x?0:0==a.x?a.y:b.y)*c/6};c=c/3*f.min(f.abs(a.x),f.abs(b.x));b=(a.y/a.x+b.y/b.x)/2;return 0a});return-1==d?b[G]-1:0==d?0:b[d][c]-ab)return e>=d?{vo:e,last:m,yK:b-(h-r)}:null===g?null:{vo:g,last:q,yK:c-k};v=f.min(b-h,t);h+=v;m=r+v;e++}return{vo:e,last:m,yK:b-h}}function uoa(a,b,c){a=kj(a,c||bl);Hj(a);for(var d=c=0;db;++b){if(f.abs(a-f[B](a))<1E-7*a)return b;a*=10}return 16}function pQ(a){var b=lp;if(0>=a)return b[ic](0,b[Pd](Oe));for(var b=b[ic](0,b[Pd](Oe)+1),c=0;cd-1||0>e?null:c[d-1][e];k&&h[z]({zU:k,Dl:k.Dl+1,vK:d-1,BU:null,wK:null,DU:null});(k=0>d||0>e-1?null:c[d][e-1])&&h[z]({zU:k,Dl:k.Dl+1,vK:null,BU:null,wK:e-1,DU:null});(c=0>d-1||0>e-1?null:c[d-1][e-1])&&g(a[d-1],b[e-1])&&h[z]({zU:c,Dl:c.Dl,vK:d-1,BU:e-1,wK:e-1,DU:d-1});Hj(h,function(a,b){return a.Dl-b.Dl});return 0b?1:0};S.lV=function(a){return a[lc]()};function yQ(a){eb(this,a)}W(yQ,oi);yQ[I].Bk=function(){return[new KP(this[vd])]};Rp(yQ[I],function(){return this[vd]});function zQ(){}W(zQ,CP);zQ[I].wo=function(){return cs};function AQ(a){this.di=a}W(AQ,GP);AQ[I].Bk=function(){return this[fe](new zQ)};function BQ(a){this.VT=a.PD+1;this.La=a[hy];this.MNa=a.rMa;this.o5=this.L5=0;this.Ac=[]}S=BQ[I];S.add=function(a,b){if(0c[c[G]-1].x&&a.WC(e.max);return{data:a.hp(),ss:b}};S.LZa=function(){var a=this.iTa(),b=this.dTa(a),a=this.eTa(a);return{data:a[Z],ss:a.ss,vs:b.tl()}};var yoa={LINEAR:eI,g1a:"exponential",m2a:"polynomial"},zoa={linear:function(a,b,c,d){a=YP(a,b,c,d);if(null===a)return null;b=new PP([new yQ(ci),new HP([new VP([new TP(a.vs.LJ),new yQ(kM)]),new TP(a.vs[Ix])])]);return{data:a[Z],ss:a.ss,vs:b.tl()}},exponential:function(a,b,c,d){for(var e=da,g=0;gd?(e=e||this.Rq(QK),nb(e,d),e.dg=SA,Xa(e,b.be()),c[n](e)):(e&&c[Od](e),Qw(c,b.be()),tw(c,d+Q))}else pw(c,!1);this.iO()};S.kCa=function(a){qw(a,N);for(var b=0;bthis.gb&&(this.gb=d);if(ri(c)){if(this.dP[G]c)return e?Qha:aD;if(d==YK)return String(a);d=0.5;c>b&&(d=(a-b)/(c-b));if(e)return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-."[Eb](f[s](d*MR/64))+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-."[Eb](f[s](d*MR%64));a=f[B](61*d);return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"[Eb](a)}; +S.XKa=function(a,b,c,d){for(var e=[],g=0,h=a[G];gb&&(b=e)}return b}; +S.o=function(){KR.e.o[J](this);delete this.bt;delete this.uya;delete this.xya;delete this.kza;delete this.lza;delete this.mz;delete this.dP;delete this.sd;this.Le=null;delete this.Ja;delete this.gb;this.jf=null;delete this.hH;delete this.YZ;delete this.vya;delete this.eP;delete this.wya};function LR(a){zt[J](this,zna);this.uri=a}W(LR,zt);function NR(a,b){var c=a[Qx],c=Ln(Al(b),c);b[n](c);a.Noa&&Wa(c,a[Qx][Bb]);var d,e=a.Ooa;d=a.Moa;var g=a.Poa,h=a[uy],k=new rl(c[Dd],c[Td]),m=d[Zc]-e.x>=k[p]+h,q=d[Jc]-e.y>=k[x]+h,r=e.y-d.top>=k[x]+h,t=e.y+(g+k[x]/2)*(r||m?-1:1),e=cl(e.x+(g+k[p]/2)*(e.x-d[D]>=k[p]+h&&!m&&!q&&!r?-1:1)-k[p]/2,d[D]+h,d[Zc]-h-k[p]);d=cl(t-k[x]/2,d.top+h,d[Jc]-h-k[x]);d=new ml(e,d);sa(c[w],c[Dd]+1+Q);Ra(c[w],c[Td]+Q);Ya(c[w],d.x+Q);c[w].top=d.y+Q;return c};function OR(a,b){var c=ia[I][ed][J](arguments),d=c[tb]();if("undefined"==typeof d)throw l("[goog.string.format] Template required");return d[yb](/%([0\-\ \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,d,k,m,q,r,t){if(q==xe)return xe;var v=c[tb]();if("undefined"==typeof v)throw l("[goog.string.format] Not enough arguments");arguments[0]=v;return PR[q][Oc](null,arguments)})} +var PR={s:function(a,b,c){return ha(c)||c==N||a[G]>=c?a:a=-1a?Ne:0<=b[kd](Ke)?Ke:0<=b[kd](ke)?ke:N;0<=a&&(d=g+d);if(ha(c)||d[G]>=c)return d;d=ha(e)?f.abs(a)[lc]():f.abs(a)[zb](e);a=c-d[G]-g[G];0<=b[kd](Ne,0)?d=g+d+Zi(ke,a):(b=0<=b[kd](Qe,0)?Qe:ke,d=g+Zi(b,a)+d);return d},d:function(a,b,c,d,e,g,h,k){return PR.f(ma(a,10),b,c,d,0,g,h,k)}};PR.i=PR.d;PR.u=PR.d;function QR(a,b){var c;c=li[wc][Kc];c=Mi(c)||jn(1,c)!=Es?$g:Es;return OR(Yfa,c,a,b)};function RR(a,b){if(a){if(b[G]!=a[G])throw l("colorsScale and valuesScale must be of the same length");}else if(1!=b[G])throw l("colorsScale must contain exactly one element when no valueScale is provided");this.pk=a;this.bu=kj(b,function(a){return qn(a).Je})}var SR=[Vz,Fz],Roa=[Uz,Vz,Fz]; +RR[I].$Z=function(a){if(!this.pk)return this.bu[0];if(a>=this.pk[this.pk[G]-1])return this.bu[this.bu[G]-1];if(a<=this.pk[0])return this.bu[0];var b=Ej(this.pk,a);if(0<=b)return this.bu[b];var c=-b-2,b=-b-1;return Nn(this.bu[b],this.bu[c],(a-this.pk[c])/(this.pk[b]-this.pk[c]))}; +function Soa(a,b){b&&0!=b[G]?1==b[G]&&(b=[SR[0],b[0]]):b=a&&3==a[G]?Roa:SR;if(!a||2>a[G])return{values:null,a6:[gj(b)]};var c=a[0],d=a[a[G]-1],e=d-c;if(0==e)return{values:[d],a6:[gj(b)]};if(2==a[G])for(a=[],d=e/(b[G]-1),e=0;ee)throw l("colorAxis.minValue ("+d+") must be at most colorAxis.maxValue ("+e+He);(d=Pn(b,d,e))&&(c=[d[Ec],d.end])}d=a.ka(CF);d=a.ka(yF,d); +c=Soa(c,d);return new RR(c.values,c.a6)};function UR(a,b,c){var d=b.xa(),e=a.outline,g=new OM,h=new sm(e.ma.top+0.5,e.ma[Zc]+0.5,e.ma[Jc]+0.5,e.ma[D]+0.5),k=e.xj;g[Ay](h[D]+1,h[Jc]);g.Uf(h[D]+1,h[Jc]-1,1,1,180,270,!0);g.$(h[D],h.top+1);g.Uf(h[D]+1,h.top+1,1,1,270,0,!0);if(null!=k&&k[0].y==e.ma.top)for(var m=0;3>m;++m)g.$(k[m].x+0.5,k[m].y+0.5);g.$(h[Zc]-1,h.top);g.Uf(h[Zc]-1,h.top+1,1,1,0,90,!0);g.$(h[Zc],h[Jc]-1);g.Uf(h[Zc]-1,h[Jc]-1,1,1,90,180,!0);if(null!=k&&k[0].y==e.ma[Jc])for(m=0;3>m;++m)g.$(k[m].x+0.5,k[m].y+0.5);g[by]();e=[new Tn({fill:ai, +stroke:dA,ra:1}),new Tn({fill:dA,ra:0,df:0.6}),new Tn({fill:dA,ra:0,df:0.4})];for(h=e[G]-1;0<=h;--h)k=b.na(g,e[h],d),b.nn(k,h,h);a=a.sH;for(g=0;g=this.E5&&this[Uq]()};S.Hma=function(a,b){this.w5=!1;this.Y7(a,b)}; +S.Y7=function(a,b){this.PC=!0;this.QC=b;this.ZJ=!a;this.gpa()};S.lt=function(){if(this.PC){if(!this.P5)throw new ZR(this);this.P5=!1}};S.epa=function(a){this.lt();this.Y7(!0,a)};S.gD=function(a){this.lt();this.Y7(!1,a)};S.$Va=function(a,b){return this.aD(a,null,b)};S.$ja=function(a,b){return this.aD(null,a,b)};S.aD=function(a,b,c){this.Me[z]([a,b,c]);this.PC&&this.gpa();return this};S.Ei=function(a){return a instanceof l};S.Ima=function(){return mj(this.Me,function(a){return Bi(a[1])})}; +S.gpa=function(){this.NT&&this.PC&&this.Ima()&&(li[nq](this.NT),delete this.NT);this.$e&&(this.$e.E5--,delete this.$e);for(var a=this.QC,b=!1,c=!1;this.Me[G]&&!this.w5;){var d=this.Me[tb](),e=d[0],g=d[1],d=d[2];if(e=this.ZJ?g:e)try{var h=e[J](d||this.$la,a);ri(h)&&(this.ZJ=this.ZJ&&(h==a||this.Ei(h)),this.QC=a=h);a instanceof XR&&(this.w5=c=!0)}catch(k){a=k,this.ZJ=!0,this.Ima()||(b=!0)}}this.QC=a;c&&(a.aD(T(this.Hma,this,!0),T(this.Hma,this,!1)),a.TMa=!0);b&&(this.NT=li[Fq](Hca(a),0))}; +function Toa(a){var b=new XR;b.gD(a);return b}function ZR(){Ii[J](this)}W(ZR,Ii);Ja(ZR[I],"Deferred has already fired");eb(ZR[I],"AlreadyCalledError");function YR(){Ii[J](this)}W(YR,Ii);Ja(YR[I],"Deferred was canceled");eb(YR[I],"CanceledError");function $R(a,b){var c=b||{},d=c[Ed]||ga,e=Ql(Nf),g={xpa:e,Ye:void 0},h=new XR(Uoa,g),k=null,m=null!=c.timeout?c.timeout:5E3;0a.lD?!0:this.jVa.jV?!0:this.revh[0].Qg[p]||0>h[0].Qg[x]))return null;m=e;q=b.uca;e=[];for(t=0;tv[v[G]-1]?r=y:(A=v[v[G]-1]-v[0],r=0==A?0.5*y:y*((r-v[0])/A))),r=m[D]+r+k/2,r=[r-k/2,m.top,r+k/2,m.top,r,m.top+d],v=new Tn({fill:q,stroke:q}),e[t]={path:r,brush:v};a=[];b[Ny]==mH&&(a=g,c= +[],c[0]={x:0,y:b[x]-a.Tf[x],text:a.Tf[dd],style:b.Z},c[1]={x:b[p]-a.kg[p],y:b[x]-a.kg[x],text:a.kg[dd],style:b.Z},a=c);a={lZ:h,mZ:e,nZ:a};g=a.lZ;for(c=0;cd;++d)b[Ny]==$L&&(k=g[c][Jy][2*d],g[c][Jy][2*d]=g[c][Jy][2*d+1],g[c][Jy][2*d+1]=k),g[c][Jy][2*d]+=b[D],g[c][Jy][2*d+1]+=b.top;g=a.nZ;for(c=0;cb.xl[G]&&(b.xl[1]=f.abs(b.xl[0]-d[0])>f.abs(b.xl[0]-d[1])?d[0]:d[1]):b.xl=d;this.b=a||{};this.X2=b[lx].lat/(180/f.PI);this.WR=b[lx].lng/(180/f.PI);this.jo=kj(b.parallels,function(a){return a/(180/f.PI)})}W(nS,mS); +nS[I].hu=function(a){return kj(arguments,T(function(a){var c=a[0]/(180/f.PI),d=0.5*(f.sin(this.jo[0])+f.sin(this.jo[1]));a=d*(a[1]/(180/f.PI)-this.WR);var e=f.cos(this.jo[0]),e=e*e+2*d*f.sin(this.jo[0]),c=f[sd](e-2*d*f.sin(c))/d,d=f[sd](e-2*d*f.sin(this.X2))/d;return{x:c*f.sin(a)*(180/f.PI),y:(d-c*f.cos(a))*(180/f.PI)}},this))};function oS(a){this.b=a||{}}W(oS,mS);oS[I].u5=function(){return 2.2};oS[I].hu=function(a){return kj(arguments,function(a){var c=a[0]/(180/f.PI);a=3*(a[1]/(180/f.PI))/(2*f.PI)*(180/f.PI);return{x:f[sd](f.PI*f.PI/3-c*c)*a,y:c}})};function pS(a){var b=0,c=0;if(a.boundingBox)var d=a.boundingBox.lo,c=a.boundingBox.hi,b=(c[0]-d[0])/2+d[0],c=(c[1]-d[1])/2+d[1];d=[20,50];b={parallels:d,origin:{lat:b,lng:c}};c=b[lx];a[lx]&&ik(c,a[lx]);ik(b,a);b.origin=c;b.xl&&0!==b.xl[G]?2>b.xl[G]&&(b.xl[1]=f.abs(b.xl[0]-d[0])>f.abs(b.xl[0]-d[1])?d[0]:d[1]):b.xl=d;this.b=a||{};this.X2=b[lx].lat/(180/f.PI);this.WR=b[lx].lng/(180/f.PI);this.jo=kj(b.parallels,function(a){return a/(180/f.PI)})}W(pS,mS); +pS[I].hu=function(a){return kj(arguments,T(function(a){var c=a[0]/(180/f.PI);a=a[1]/(180/f.PI);var d=f.log(f.cos(this.jo[0])*(1/f.cos(this.jo[1])))/f.log(f.tan(0.25*f.PI+0.5*this.jo[1])*(1/f.tan(0.25*f.PI+0.5*this.jo[0]))),e=f.cos(this.jo[0])*f.pow(f.tan(0.25*f.PI+0.5*this.jo[0]),d)/d,c=e*f.pow(1/f.tan(0.25*f.PI+0.5*c),d),e=e*f.pow(1/f.tan(0.25*f.PI+0.5*this.X2),d);return{x:c*f.sin(d*(a-this.WR))*(180/f.PI),y:e-c*f.cos(d*(a-this.WR))*(180/f.PI)}},this))};function qS(a){return 2*(180/f.PI)*(f.atan(f.exp(a/(180/f.PI)))-f.PI/4)}function rS(){this.Qp={}}rS[I].JSa=function(a){X(arguments,T(function(a){for(var c in a)if(a[yc](c)){c in this.Qp||(this.Qp[c]={min:da,max:-da});if(!this.Qp[c].min||a[c]this.Qp[c].max)this.Qp[c].max=a[c]}},this))};rS[I].getBounds=function(a){return{min:this.Qp[a].min,max:this.Qp[a].max}};function sS(a){this.b=a||{}}W(sS,mS);sS[I].hu=function(a){return kj(arguments,function(a){return{x:a[1],y:180/f.PI*f.log(f.tan(0.5*(a[0]/180)*f.PI+f.PI/4))}})};var apa={u0a:"albers",y1a:KH,B1a:"lambert",O1a:AI},tS={};tS.mercator=sS;tS[KH]=oS;tS.albers=nS;tS.lambert=pS;var bpa={NONE:P,TOP_LEFT:uL,TOP_RIGHT:vL,BOTTOM_LEFT:pE,BOTTOM_RIGHT:"bottom_right"},cpa={NONE:P,q2a:RJ,H0a:rE,HJ:wg};function dpa(a,b,c){return a.em(b,c?{name:c}:null,function(a){xi(a)||(a={name:a});var b=a[vd];if(null!=b&&!ak(apa,mo(b)))throw l("The projection you specified is not valid.");return a})} +var uS={region:jM,resolution:GF,domain:PB,displayMode:og,showGeocodeWarnings:!1,backgroundColor:{fill:ai,stroke:Kz,strokeWidth:0},datalessRegionColor:"F5F5F5",defaultColor:"267114",markerOpacity:1,selectionMode:Hh,fontName:GB,geocodingContext:RJ,tooltip:{isHtml:!1,textStyle:{fontName:GB,fontSize:13,color:hE},trigger:Lg,showDisputedText:!1,showTitle:!0},colorAxis:{minValue:null,maxValue:null,values:null},sizeAxis:{minValue:null,maxValue:null,minSize:3,maxSize:12},legend:{position:pE,orientation:mH, +textStyle:{color:hE,auraColor:ai}},marker:{style:{stroke:{color:dA,width:1}}},projection:AI,keepAspectRatio:!0,magnifyingGlass:{enable:!0,zoomFactor:5}};function vS(a){this.vc=a;this.aK=this.Fi=null;this.Kka=!0;this.mK=null;this.Ho=new cv;this.bQa=/^([a-zA-Z][a-zA-Z]|[a-zA-Z][a-zA-Z]\-[a-zA-Z0-9](|[a-zA-Z0-9](|[a-zA-Z0-9]))|\d\d\d)$/;this.VOa=/^\d\d\d$/}W(vS,wt);S=vS[I];S.Kla=function(){this.aK=null};S.c5=function(a){this.aK=a;null!=this.jXa&&this.jXa(a)};S.ZLa=function(a){this.mK=a}; +S.YLa=function(a,b,c,d,e,g){this.Kka=d;if(0==a.O())au(function(){e([],[],!0)});else switch(this.Fi=g,b.oZ){case Ks:this.E1(a,b,e);break;case Ws:this.WMa(a,b,c,e);break;case es:this.D1(a,b,c,e)}};S.E1=function(a,b,c){for(var d=[],e=0;eq?k:-k));t.$(m+(e>m?h:-h),q);t[by]();m=c.na(t,r,a);this.NH(m,pI,!0);m=new Tn({fill:ai});m=c.Ql(e,g,h,k,m,a);this.NH(m,oI,!0);m=new Tn({stroke:Dia,ra:1.5});m=c.Ql(e,g,h,k,m,a);this.NH(m,oI,!0);m=c.xa();d=c.mL(m,new um(d[D]+3.5,d.top+3.5,d[p]-7,d[x]-7),!0);c[n](a,d);d=new Tn({stroke:Mia,ra:1.5});c=c.Ql(e,g,h-3.5,k-3.5,d,a);this.NH(c, +oI,!0);return m};S.MVa=function(a){this.g.od(this.cN);this.Yga(a)};S.Yga=function(a){null!=this.ZE&&this.g.Xj(this.ZE);this.ZE=null!=a.Sa?a.Sa[Qx]?NR(a.Sa,this.Vg.Pb()):UR(a.Sa,this.g,this.cN).a():null};S.kXa=function(a){Sj(a.Hz,function(a,c){var d=a.$d;this.a7(c,pG,d[jc]);this.a7(c,YF,d.Wn);this.a7(c,lE,d.border)},this)};S.a7=function(a,b,c){a=[b,a][fe](Oe);a=this.$c[a];if(null!=a)for(b=0;b=d)){var e=c==TI?0:d-1,d=c==TI?d:-1;c=c==TI?1:-1;for(var g=e;g!=d;g+=c){var h=b[g][0],k=b[g][1];g==e?a[Ay](h,k):a.$(h,k)}a[by]()}}; +S.jZ=function(a,b,c,d){var e=this.g;b=Aj(b);Hj(b,function(a,b){return b[Tx]-a[Tx]});for(var g=0;gb[Zc]&&(d=a.x-c[p]);var e=a.y-c[x];ed.ui[1]&&(a-=360);c=this.ina.O5()/2/c/(e[x]/(d.ui[0]-d.ih[0]));return{ui:[b+c,a+c],ih:[b-c,a-c]}};function fpa(a,b){var c=oj(a.Zy,function(a){return a.vi==b});if(!c)return!1;var d=a[fr].nz,c=ol(new ml(c.x,c.y),new ml(d[D]+d[p]/2,d.top+d[x]/2)),d=d.oc().O5()/2;return c<0.9*d};function DS(a,b,c,d){this.tf=!a.EB()&&b.fa(ula);this.B=c;this.cb=d;this.hC=this.uI=null}S=DS[I];S.rKa=function(a){this.B=a};Tp(S,function(a,b){if(!this.tf)return!1;if(this.RSa(a)||this.SSa(a,b))return!0;var c=a.St==pG;return a[Z].II&&c?!0:!1});S.SSa=function(a,b){if(a[E]!=sI)return!1;if(a[Z].fn){if(!a[Z].oz)return!1;if(b&&fpa(b,a[Z].vi))return!0;this.Wia();this.uI=ba[Fq](this.qf(function(){this.uI=null;this.B.Ys={Zm:a[Z].Zm,vi:a[Z].vi};this.cb.mc(0)}),300);return!0}this.Wia();return!1}; +S.RSa=function(a){if(!this.B.Ys)return!1;switch(a[E]){case rI:case qG:return this.nMa(a);case sI:case rG:return a[Z].fn?this.oMa(a):this.pMa(a),!1;case sG:return this.qMa(a);default:return!1}};S.nMa=function(a){if(a[Z].II)return!1;this.K6();return!0};S.oMa=function(a){var b=a.St==qI,c=a.St==pI;a[Z].II&&!c?this.M6():b&&(a[Z].oz?this.M6():this.K6())};S.pMa=function(a){if(null===this.hC){var b=a.St==qI;(a[Z].II||b)&&this.wqa()}};S.qMa=function(a){return a.St==pI?(this.wqa(),!0):!1}; +S.wqa=function(){this.M6();this.hC=ba[Fq](this.qf(function(){this.hC=null;this.K6()}),500)};S.K6=function(){this.B.Ys=null;this.cb.mc(0)};S.Wia=function(){null!==this.uI&&(li[nq](this.uI),this.uI=null)};S.M6=function(){null!==this.hC&&(li[nq](this.hC),this.hC=null)};S.qf=function(a){return T(a,this)};function ES(a,b,c,d){this.TU=f.pow(a,2);this.o7=f.pow(b,2);this.zTa=b;this.p7=(this.Np=c?new En(d[pz](c[Ec]),d[pz](c.end)):null)?this.Np.end-this.Np[Ec]:null;this.Xpa=d} +ES[I].Hha=function(a){var b=null;null!=a&&null!=this.Xpa&&(a=this.Xpa[pz](a));if(null!=a&&null!=this.Np)0===this.p7&&a===this.Np[Ec]?b=(this.o7+this.TU)/2:a<=this.Np[Ec]?b=this.TU:a>=this.Np.end&&(b=this.o7);else if(!this.p7||null==a)return this.zTa;null==b&&(a=cl(a,this.Np[Ec],this.Np.end),b=this.TU+(a-this.Np[Ec])/this.p7*(this.o7-this.TU));return f[B](f[sd](b))}; +function FS(a,b){var c=a.ub(Tma),d=a.ub(Rma);if(c>d)throw l("sizeAxis.minSize ("+c+") must be at most sizeAxis.maxSize ("+d+He);var e=a.Bd(Uma),g=a.Bd(Sma);if(null!=e&&null!=g&&e>g)throw l("sizeAxis.minValue ("+e+") must be at most sizeAxis.maxValue ("+g+He);e=Pn(b,e,g);g=eQ(a,Qma,Vma);g=fQ(g,ka,[]);return new ES(c,d,e,g)};function GS(a){this.b=a||{}}W(GS,mS);GS[I].u5=function(){return 1};GS[I].hu=function(a){return kj(arguments,function(a){return{x:a[1],y:a[0]}})};function HS(a,b,c,d,e,g){this.b=a;var h=dpa(a,lma,AI);this.KV=new tS[h[vd]](h);this.V=b;this.Oa=c;var k=a.Pi(SD).QV(),h=b-k,k=c-k,m=f[B]((b-h)/2),q=f[B]((c-k)/2);this.hq=new um(m,q,h,k);this.As=this.nta(a,this.hq);this.jb=d;this.n=e;this.Ta=g;this.U8=a.ub(EG,f[B](f.pow(2*(this.hq[p]+this.hq[x]),1/3)));this.Nsa=a.Pc([zla,yla],dA);this.Osa=a.ub(Ala,1);this.OV=a.wc(DG);this.Vp=this.g$();this.HD=this.h$();d=a.ka(UH);this.dta=qi(d)==lh;this.LL=a.ib(VH,bpa,pE);this.K9=a.Lj(Yka,1/3);this.KL=a.ib(cla,$oa, +mH);this.L9=a.ie(WH,{fb:this.OV,fontSize:this.U8});this.RV=a.Xp(bla);this.bta=a.Pc(NF,N);this.pL=a.Pc(nja,N);this.p9=this.ota();this.Psa=this.pta();d=a.ie(pL);e=Kn(d,!0);this.Yu=a.ib(qL,ro,N)!=P;this.Fs={normal:d,bold:e};d=a.fa(ona);this.Wsa=a.fa(qna);this.Vsa=d?Xfa:Wfa;this.Tsa=a.fa(nL);this.gta=10;this.fq=this.hL=null;this.Uy=dA;this.VD=null;this.Msa=a.Lj(Bla);this.Ssa=new CS(this.As.oc(),new sm(0,b,c,0))}S=HS[I];S.qKa=function(a){this.n=a;this.Vp=this.g$();this.HD=this.h$()}; +S.OTa=function(a){var b=this.b;this.hL=[];this.VD=[];for(var c=[],d=0,e=a[Rx][G];dd;d++){var e=(a.ui[1]-a.ih[1])/10*d+a.ih[1],g=(a.ui[0]-a.ih[0])/10*d+a.ih[0],e=b.hu([g,a.ih[1]],[g,a.ui[1]],[a.ih[0],e],[a.ui[0],e]);c.JSa[Oc](c,e)}d=c[Gx](kM);c=c[Gx](ci);return{ui:[c.max,d.max],ih:[c.min,d.min]}}; +S.Qta=function(a,b){var c=new um(a.GLa*this.As[p]+this.As[D],a.HLa*this.As[x]+this.As.top,a[ky]*this.As[p],a[ky]*this.As[x]),d=this.VD[b],e=this.dfa(a.Ds,d);return{id:String(b),Ds:e,NX:a.Ds,nz:c,L:kj(a.L,T(this.cfa,this,e,c,d))}};S.cfa=function(a,b,c,d){return{id:d.id,iI:kj(d.iI,T(this.vqa,this,a,b,c)),Wn:kj(d.Wn,T(this.vqa,this,a,b,c)),XQ:d.id!=Rha}};S.vqa=function(a,b,c,d){return{eV:this.fra(a,b,c,d.eV),IK:kj(d.IK,T(this.fra,this,a,b,c))}}; +S.fra=function(a,b,c,d){return{j:kj(d,T(this.Uca,this,a,b,c))}};S.Uca=function(a,b,c,d){var e=a.ih;a=a.ui;var g=b[p],h=b[x],k=b[D];b=b.top;c=c.hu(d)[0];return[k+g*(c.x-e[1])/(a[1]-e[1]),b+h*(1-(c.y-e[0])/(a[0]-e[0]))]};S.pKa=function(a,b){return{Hz:this.fTa(a),Zy:this.gTa(b),ii:this.Hda([])}};S.fTa=function(a){for(var b={},c=0;cc[Tx]}}; +S.mfa=function(a,b,c){var d=this.Psa(a),e=this.p9(a);if(null==e)return[];var e=new Tn({stroke:this.Nsa,ra:this.Osa,fill:e,df:this.Msa}),g=na(b.lat),h=[];b=na(b.lng);b=[b,b+360,b-360];for(var k=0;kr.ui[0])){for(var t=0;tr.ui[1])){var v=this.Uca(m.Ds,m.nz,q,[g,v]),y=String(a+Ne+m.id+Ne+t),A=qI;null!=this.Ta.QG&&0<=this.Ta.QG?A=this.n.Aa(a,this.Ta.QG):null!=this.Ta.qG&&0<=this.Ta.qG?A=this.n.Aa(a,this.Ta.qG): +null!=this.Ta.pG&&0<=this.Ta.pG?A=this.n.Aa(a,this.Ta.pG):null!=this.Ta.lA&&null!=this.Ta.mA&&0<=this.Ta.lA&&0<=this.Ta.mA&&(A=this.Qda(this.n[F](a,this.Ta.lA),this.n[F](a,this.Ta.mA)));h[z]({Zm:y,label:A,vi:a,x:v[0],y:v[1],size:d,brush:e,oz:!1})}}if(0H[K].ih[0]&&y.latH[K].ih[1]&&y.lng=wpa[e-1]?g=0.7:0c&&d>=a)throw"Error subtracting duration from date";return d}function mT(a,b,c,d){this.pqa=a[fc]();this.xP=b;this.nUa=d;this.D7=a[JG+gT[c]][Oc](a,[]);this.rUa=a[vK+gT[c]];this.FK=new Date(this.pqa)}mT[I].o1=function(){return this.FKd&&(d=-3),ri(a[lz])&&a[lz]===a.HORIZONTAL_AXIS?b=d:c=d;Ai(this.Toa)&&(b=cl(b,-this.Toa,this.Toa));Ai(this.Uoa)&&(c=cl(c,-this.Uoa,this.Uoa));this.lLa&&(b=-b);b=new xT(d,a,b,c);this[$](b)});function wT(a,b){return Kk&&(Ak||Ck)&&0!=a%b?a:a/b} +vT[I].o=function(){vT.e.o[J](this);Tt(this.ifa);this.ifa=null};function xT(a,b,c,d){b&&this[Mq](b,void 0);bb(this,PI);this.detail=a;this.Gt=c;this.rp=d}W(xT,Et);function yT(){bT[J](this);this.qr=[]}W(yT,bT);yT[I].add=function(a){rj(this.qr,a)||(this.qr[z](a),Nt(a,wG,this.hra,!1,this))};xa(yT[I],function(a){xj(this.qr,a)&&St(a,wG,this.hra,!1,this)});yT[I].o=function(){X(this.qr,function(a){a.U()});jb(this.qr,0);yT.e.o[J](this)};function zT(){yT[J](this);this.o6=0}W(zT,yT); +zT[I].play=function(a){if(0==this.qr[G])return!1;if(a||this.wQ())this.o6=0,this.aI();else if(this.Bt())return!1;this.M3();this.eK()&&this.jna();var b=this.eK()&&!a;Hw(this,Fi());this.ts=null;this.N3();X(this.qr,function(c){b&&!c.eK()||c[Iy](a)});return!0};gq(zT[I],function(a){X(this.qr,function(b){b.wQ()||b[br](a)});this.vJ();this.ts=Fi();this.w4();this.Tw()});zT[I].hra=function(){this.o6++;this.o6==this.qr[G]&&(this.ts=Fi(),this.vJ(),this.k4(),this.Tw())};function AT(a,b,c,d,e){cT[J](this,b,c,d,e);jx(this,a)}W(AT,cT);S=AT[I];S.Fx=oi;S.Hg=function(){ri(this.ho)||(this.ho=Mm(this[jz]));return this.ho};S.i3=function(){this.Fx();AT.e.i3[J](this)};S.Tw=function(){this.Fx();AT.e.Tw[J](this)};S.aI=function(){this.Fx();AT.e.aI[J](this)};function BT(a,b,c,d,e){if(2!=b[G]||2!=c[G])throw l(HC);AT[Oc](this,arguments)}W(BT,AT);BT[I].Fx=function(){var a=this.Qx&&this.Hg()?Ys:ch;this[jz][w][a]=f[B](this[gz][0])+Q;this[jz][w].top=f[B](this[gz][1])+Q}; +function CT(a,b,c,d,e){if(2!=b[G]||2!=c[G])throw l(HC);AT[Oc](this,arguments)}W(CT,AT);CT[I].Fx=function(){sa(this[jz][w],f[B](this[gz][0])+Q);Ra(this[jz][w],f[B](this[gz][1])+Q)};function DT(a,b,c,d,e){AT[J](this,a,[b],[c],d,e)}W(DT,AT);DT[I].Fx=function(){sa(this[jz][w],f[B](this[gz][0])+Q)};function ET(a,b,c,d,e){AT[J](this,a,[b],[c],d,e)}W(ET,AT);ET[I].Fx=function(){Ra(this[jz][w],f[B](this[gz][0])+Q)};function FT(){Zt[J](this)}W(FT,Zt);S=FT[I];S.cd=0;S.po=0;S.Om=100;S.Bl=0;S.Ji=1;S.qk=!1;S.vC=!1;S.Fla=function(a){this.vC=a};S.pa=function(a){a=this.xx(a);this.cd!=a&&(this.cd=a+this.Bl>this.Om?this.Om-this.Bl:aa?0:this.cd+a>this.Om?this.Om-this.cd:a,this.qk||this.vC||this[$](ME))};S.Sk=function(){return this.iWa(this.Bl)}; +S.ls=function(a){if(this.po!=a){var b=this.qk;this.qk=!0;this.po=a;a+this.Bl>this.Om&&(this.Bl=this.Om-this.po);a>this.cd&&this.pa(a);a>this.Om&&(this.Bl=0,this.Zp(a),this.pa(a));(this.qk=b)||this.vC||this[$](ME)}};S.We=function(){return this.xx(this.po)};S.Zp=function(a){a=this.xx(a);if(this.Om!=a){var b=this.qk;this.qk=!0;this.Om=a;athis.eA(this.rm)+this.rm[Cb];a=Cl(this.a());this.ic().l(a,OI,this.kZ,!0).l(this.a(),NI,this.tZ);this.Ms||(this.Ms=new $t(200),this.ic().l(this.Ms,ft,this.Hca));this.Hca();this.Ms[Ec]()}; +S.Hca=function(){var a;if(this.Xa==$L){var b=this.Yv,c=this.rm[Uc];this.tca?bc+this.rm[Vc]&&(a=this.vp(this.rm)-this.qo)}else b=this.Yv,c=this.eA(this.rm),this.tca?b>c+this.rm[Cb]&&(a=this.vp(this.rm)+this.qo):b=this.We()&&c>=d+this.JS&&this.Ve()>=c&&this.aY(d,c-d)};S.aY=function(a,b){this.We()<=a&&a<=this.Ve()-b&&this.JS<=b&&b<=this.Ve()-a&&(a!=this[F]()||b!=this.Sk())&&(this.ue.Fla(!0),this.ue.TS(0),this.ue.pa(a),this.ue.TS(b),this.ue.Fla(!1),this.yla(null))}; +S.We=function(){return this.ue.We()};S.ls=function(a){this.ue.ls(a)};S.Ve=function(){return this.ue.Ve()};S.Zp=function(a){this.ue.Zp(a)};S.qba=function(a){return a<=this.ue[F]()+this.ue.Sk()/2?this.hd:this.yi};S.yla=function(){this.mN();this.Dga();this[$](ME)}; +S.mN=function(){if(this.hd&&!this.CQ){var a=this.KB(this.vp(this.hd)),b=this.KB(this.vp(this.yi));if(this.Xa==$L)this.hd[w].top=a.y+Q,this.yi[w].top=b.y+Q,this.bg&&(a=this.GC(b.y,a.y,this.hd[Vc]),this.bg[w].top=a[Ix]+Q,Ra(this.bg[w],a[Tx]+Q));else{var c=this.Mk&&this.Hg()?Ys:ch;this.hd[w][c]=a.x+Q;this.yi[w][c]=b.x+Q;this.bg&&(a=this.GC(a.x,b.x,this.hd[Cb]),this.bg[w][c]=a[Ix]+Q,sa(this.bg[w],a[Tx]+Q))}}};S.GC=function(a,b,c){var d=f[Ab](c/2);return{offset:a+d,size:f.max(b-a+c-2*d,0)}}; +S.KB=function(a){var b=new ml;if(this.hd){var c=this.We(),d=this.Ve();a=a==c&&c==d?0:(a-c)/(d-c);this.Xa==$L?(c=this.hd[Vc],c=this.a()[Td]-c,a=f[B](a*c),b.x=this.eA(this.hd),b.y=c-a):(c=this.a()[Dd]-this.hd[Cb],a=f[B](a*c),b.x=a,b.y=this.hd[Uc])}return b}; +S.Y_=function(a){a=cl(a,this.We(),this.Ve());this.CQ&&this.bN[br](!0);var b=new zT,c,d=this.qba(a),e=this[F](),g=this.Sk(),h=this.vp(d),k=this.KB(h);c=this.t1();f.abs(a-h)h?c:-c),this.We(),this.Ve()));this.aG(d,a);h=this.KB(this.vp(d));c=this.Xa==$L?[this.eA(d),h.y]:[h.x,d[Uc]];k=new BT(d,[k.x,k.y],c,100);k.Us(this.Mk);b.add(k);this.bg&&this.rDa(d,e,g,h,b);this.gga&&(a=this.gga.W_a(e,a,100),X(a,function(a){b.add(a)}));this.bN=b;this.ic().l(b,jG,this.sDa);this.CQ=!0;b[Iy](!1)}; +S.rDa=function(a,b,c,d,e){var g=this.KB(b),h=this.KB(b+c);b=g;c=h;a==this.hd?b=d:c=d;this.Xa==$L?(a=this.GC(h.y,g.y,this.hd[Vc]),g=this.GC(c.y,b.y,this.hd[Vc]),d=new BT(this.bg,[this.eA(this.bg),a[Ix]],[this.eA(this.bg),g[Ix]],100),a=new ET(this.bg,a[Tx],g[Tx],100)):(a=this.GC(g.x,h.x,this.hd[Cb]),g=this.GC(b.x,c.x,this.hd[Cb]),d=new BT(this.bg,[a[Ix],this.bg[Uc]],[g[Ix],this.bg[Uc]],100),a=new DT(this.bg,a[Tx],g[Tx],100));d.Us(this.Mk);a.Us(this.Mk);e.add(d);e.add(a)};S.sDa=function(){this.CQ=!1}; +S.bG=function(a){if(this.Xa!=a){var b=this.ca(this.Xa),c=this.ca(a);this.Xa=a;if(this.a()){a=this.a();for(var d=vl(a),e=!1,g=0;g=b||1==h?c={ng:a,Wl:b}:(c=f.max(1,f.min(h-1,f[B](h*(b/(b-a))))),h-=c,a=f.max(b/c,-a/h),c={ng:-h*a,Wl:c*a}));return c} +function Hpa(a,b,c,d,e,g,h,k){var m=b-a;if(0>=m)return null;for(var q=f[s](f.log(m)/f.log(10)),m=kQ(5,function(a){return{fe:f.pow(10,q-a),lU:5}}),r=[],t=!1,v=0;va.Dl&&(a={Dl:q,Cna:{ng:f[B](e)*c.fe,Wl:f[B](m)*c.fe}})}return a}, +{Dl:-da,Cna:null}).Cna}function Ipa(a,b,c,d,e,g,h){for(var k=[],m=b-a,q=d+g,r=f[Ab](m/(1-(c+e))/h),m=f[s](m/(1-q)/h);ra?1a&&(a=-a);if(0.5>a)return 0;for(;0==f[B](a%10);)a=f[B](a/10);return 1==a||5==a?0.5:f[s](f.log(a)/f.log(10))+1};function MT(){}W(MT,xQ);S=MT[I];S.tfa=function(){return 4};Zp(S,function(a,b,c){MT.e[Mq][J](this,a,b,c);this.Lf=null;this.FA=a.Bd(this.Ua(HG));this.rr=a.ka(this.Ua(fL),[10,2,5,1])}); +S.d6=function(a,b,c){var d,e,g,h;c?(c=T(NT,null,this.rr,this.Gi,a,b),d=-1E-4,e=1/f.max(this.Gi,3),g=d,h=e):(d=-1/f.max(this.Gi,3),e=0,g=d,h=e,this.rr[0]*=-1,c=T(NT,null,this.rr,this.Gi,this.Yb,this.qc));c=KT(a,b,d,e,g,h,this.Gi,c);d=(c.Wl-c.ng)/this.Gi;Bw(this,[]);for(e=0;e<=this.Gi;++e)this[cy][z](c.ng+d*e);this.Yb=f.min(c.ng,a);this.qc=f.max(c.Wl,b);this.aMa=oQ(this.FA?d/this.FA:d);this.Lf=new ip({pattern:this[Ob],fractionDigits:this[Ob]?null:this.aMa,scaleFactor:this.FA})}; +function NT(a,b,c,d,e,g,h){c=a[0]*(d-c)/(h*(g-e));d=(g-e)/b;for(h=1;hd?1:0};S.EK=function(a){return sT(a)};S.kV=function(a){return pT(a)};S.c7=function(a){return a};S.l1=function(){return pT(0)}; +S.d6=function(a,b,c){if(-1==this.Gi){var d=(b-a)/6,e=jT(d,this.YI,0),g=kT(e),d=f.max(1,f[B](d/g))*g;c?(a=f[s](a/d)*d,b=f[Ab](b/d)*d):(a=f[Ab](a/d)*d,b=f[s](b/d)*d);Bw(this,[]);for(g=a;g=this.Ila?kha:fC})).uf(new Date(1970,0,1,a[0],a[1],a[2],0))};var Jpa=[[0,1,0,0],[0,2,0,0],[0,5,0,0],[0,10,0,0],[0,20,0,0],[0,30,0,0],[0,0,1,0],[0,0,5,0],[0,0,10,0],[0,0,15,0],[0,0,30,0],[0,0,0,1],[0,0,0,2],[0,0,0,3],[0,0,0,4],[0,0,0,6],[0,0,0,12]];QT().rV(Rh,function(){return new RT(Jpa)});QT().rV(Eg,function(){return new JT(Dpa,3,Epa)});QT().rV(Fg,function(){return new JT(Fpa,3,Gpa)});QT().rV(jh,function(){return new MT});function TT(a){ow(this,new VO);this.Ra={Zb:null,datum:null,pc:null};this.kf={Ra:null,$K:null};this.Ca={Ra:{Ug:null},cB:null};this.kh={Ra:{Lv:null}};xw(this,{position:null,j$:null});this.Nh=this.hn=null;a&&(this[vx].ba(a[vx]),a.Ra&&(this.Ra=UT(this.Ra,a.Ra)),a.kf&&(this.kf=UT(this.kf,a.kf)),a.Ca&&(this.Ca=UT(this.Ca,a.Ca)),a.kh&&(this.kh=UT(this.kh,a.kh)),a.hn&&(this.hn=UT(this.hn,a.hn)),a.Nh&&UT(this.Nh,a.Nh))} +TT[I].t=function(){var a=new TT;ow(a,this[vx].t());a.Ra=fo(this.Ra);a.kf=fo(this.kf);a.Ca=fo(this.Ca);a.kh=fo(this.kh);xw(a,fo(this[Px]));a.hn=fo(this.hn);a.Nh=fo(this.Nh);return a};Za(TT[I],function(a,b){var c=ri(b)?b:!1;return this[vx][Ey](a[vx])&&eo(this.Ra,a.Ra)&&eo(this.kf,a.kf)&&eo(this.Ca,a.Ca)&&eo(this.kh,a.kh)&&(c||eo(this[Px],a[Px]))&&eo(this.hn,a.hn)&&eo(this.Nh,a.Nh)});function UT(a,b){var c=new wP(2);c.gg(0,a);c.gg(1,b);return c[qy]()};function VT(a,b){return cl(a.x,b[D],b[D]+b[p])===a.x&&cl(a.y,b.top,b.top+b[x])===a.y?!0:!1};function Kpa(a,b){this.fR=a;this.gR=b};function Lpa(a,b,c,d){this.aR=a;this.bR=b;this.Pia=c;this.Sia=d;this.Qia=f.max[Oc](null,a);this.Ria=f.min[Oc](null,a);this.Tia=f.max[Oc](null,b);this.Uia=f.min[Oc](null,b)};function Mpa(a,b,c,d,e,g,h,k){this.Mq=a;this.Nq=c;this.Kq=b;this.Lq=d;this.UR=a;this.VR=c;this.mR=b-a;this.lR=d-c;Na(this,1);this.BMa=e;this.r4=g;this.cma=h;this.ZR=k};function WT(a,b,c){this.fw=c;this.Ka=a;this.Xz=b;this.Qh=this.Og=null}S=WT[I];S.mx=function(){return this.Xz()};$p(S,function(){return this.Ka});S.cv=function(a,b){this.Og=a;this.Qh=b};S.Vx=function(){};S.Tx=function(){};S.Ux=function(){};S.FC=function(){};S.DC=function(){};S.Ee=function(){};S.bx=function(){this.Ka.hn={hAxis:{ticks:this.Qh.aR,viewWindowMode:mG,viewWindow:{min:this.Og.Mq,max:this.Og.Kq}},vAxis:{ticks:this.Qh.bR,viewWindowMode:mG,viewWindow:{min:this.Og.Nq,max:this.Og.Lq}}}};function XT(a,b,c){WT[J](this,a,b,c);this.mb=null}W(XT,WT);S=XT[I];S.Vx=function(a){var b=this.mx().Jq();VT(a,b)&&(this.mb={x:a.x,y:a.y,gd:0,Od:0})};S.Tx=function(a){if(this.mb){var b=a.x;a=a.y;this.mb={gd:b-this.mb.x,Od:a-this.mb.y,x:b,y:a};this.U5()}};S.Ux=function(){this.mb=null};S.Ee=function(a,b){var c=this.mx().Jq();VT(a,c)&&b()}; +S.U5=function(){var a=this.Og,b=this.Qh,c=this.fw,d=this.mx();if(c.fR){var e=this.mb.x-this.mb.gd,g=d.Rv(this.mb.x)-d.Rv(e),h=a.Mq-g,k=a.Kq-g,e=f.max(h,a.UR),m=f.min(k,a.UR+a.mR);if(a.ZR&&(e===h||0>g)&&(m===k||0h;)m-=b.Pia,b.aR[z](m),b.Ria=m}}if(c.gR&&(c=this.mb.y-this.mb.Od,d=d.Sv(this.mb.y)-d.Sv(c),c=a.Nq-d,g=a.Lq-d,e=f.max(c,a.VR),m=f.min(g,a.VR+a.lR),a.ZR&&(e===c||0>d)&&(m===g||0a;)c-=b.Sia,b.bR[z](c),b.Uia=c}this.bx()};function YT(a,b,c){WT[J](this,a,b,c);this.mb=null}W(YT,WT);S=YT[I];S.Vx=function(a){var b=this.mx().Jq();VT(a,b)&&(this.mb={Vt:a.x,gm:a.y,A5:0,B5:0})};S.Tx=function(a){if(this.mb){var b=this.mx().Jq(),c=this.fw;this.eNa(a,b);this.mb.A5=a.x;this.mb.B5=a.y;if(c.fR){a=f.min(this.mb.Vt,this.mb.A5);var d=f.abs(this.mb.Vt-this.mb.A5)}else a=b[D],d=b[p];c.gR?(c=f.min(this.mb.gm,this.mb.B5),b=f.abs(this.mb.gm-this.mb.B5)):(c=b.top,b=b[x]);this[Oq]().Nh={left:a,top:c,width:d,height:b,color:iE,opacity:0.2}}}; +S.Ux=function(){this.mb&&(this.U5(),this.mb=null)};S.U5=function(){var a=this.fw,b=this.Og,c=this.mx(),d=this[Oq]().Nh,e=c.Rv(d[D]),g=c.Rv(d[D]+d[p]),h=c.Sv(d.top),c=c.Sv(d.top+d[x]);if(e!==g&&h!==c){d=b.mR*b.r4;if(a.fR){var k=f.min(e,g),e=f.max(e,g);e-ka.wheelDelta){if(d[ky]>=d.BMa)return;Na(d,d[ky]*d.cma)}else{if(d[ky]<=d.r4)return;Na(d,d[ky]/d.cma)}if(c.fR){var e=(d.Kq+d.Mq)/2,g=d.mR*d[ky]/2;d.Mq=e-g;d.Kq=e+g}c.gR&&(c=(d.Lq+d.Nq)/2,e=d.lR*d[ky]/2,d.Nq=c-e,d.Lq=c+e);this.bx()}};var aU=[{isEnabled:function(a){a=a.ka(oG);return null==a||ui(a)&&rj(a,Aja)?!0:!1},constructor:XT},{isEnabled:function(a){a=a.ka(oG);return ui(a)&&rj(a,Bja)?!0:!1},constructor:YT},{isEnabled:function(a){a=a.ka(oG);return null==a||ui(a)&&rj(a,zma)?!0:!1},constructor:ZT},{isEnabled:function(a){a=a.ka(oG);return null==a||ui(a)&&rj(a,Cma)?!0:!1},constructor:$T}];function bU(a,b,c,d){this.bBa(c,d);this.b=c;this.Ka=a;this.fw=null;this.Xz=b;this.R=d;this.Qh=this.Og=null;this.qj=[];this.cBa()}S=bU[I];S.bBa=function(a,b){if(a.ka(Vh)===tJ)throw l("Cannot make an explorer with a pie chart");if(a.fa(dH)||a.fa(Ena))throw l("Cannot make an explorer with log scale");if(1c&&(d=f.max(1,f[s](b[xc]*c/a)));return d};S.jB=function(a){var b=this.$c[a];b&&(this.D.Xj(b),delete this.$c[a])};S.xo=function(a,b){var c=a[Qx]?NR(a,this.Bq.Pb()):UR(a,this.D,this.jY).a();this.pi(c,b)};S.xs=function(a,b,c){(a=this.Vaa(a,c))&&this.D[n](b,a);return a}; +S.Vaa=function(a,b){var c=a.J;if(!c||0==c[G])return null;for(var d=this.D,e=a.Z,g=null!=a.sb?a.sb:0,h=a[dz]?a[dz]:{x:0,y:0},k=a.Sa,m=!!k||b||!1,q=d.xa(),r=0;r=d;k--)m=b.j[k].W,a.$(m.IZ,m.JZ),m.GZ==m.IZ&&m.HZ==m.JZ||a.$(m.GZ,m.HZ);else m=b.j[h].W,a.$(m.IZ,m.JZ),a[by]()}; +S.y$=function(a,b,c){var d=KO([bI,b]);if(0>=a[ry])this.oX(d),this.GX(a,b);else if(c=kU(a,c),!sj(c.Ad)){if(c=c.Dc(this.D)){var e=null,g=a.Ym,h=a.li;if(g||h){e=this.D.xa();if(g)for(var k=0;k=c[Zc]||a.x+b<=c[D]||a.y-b>=c[Jc]||a.y+b<=c.top)return!1;if((a.x>=c[Zc]||a.x<=c[D])&&(a.y>=c[Jc]||a.y<=c.top)){var d=b*b,e=a.x-c[Zc],g=a.x-c[D],h=a.y-c[Jc],c=a.y-c.top,e=e*e,g=g*g,h=h*h,c=c*c;if(e+h>=d&&e+c>=d&&g+c>=d&&g+h>=d)return!1}return!0};S.nka=function(a,b,c,d){this.Xoa(a,b,c,d,this.mf.point.De,this.mf.pointsensitivityarea.De)};S.HG=function(a,b,c,d){this.Xoa(a,b,c,d,this.mf.bubble.De,null)}; +S.Xoa=function(a,b,c,d,e){if(c&&c.W&&!c.Si&&this.Hva(c.W,iU(c,a))){var g=KO([a[E]==xE?uE:zJ,b,d]);if(gU(c,a)){var h=this.D.lz(c.W.x,c.W.y,hU(c,a),eU(c,a)),k=null,m=c.li,q=c.Ym;if(m||q)if(k=this.D.xa(),m&&this.D.ke(m.x,m.y,m[Dy],m.brush,k),this.D[n](k,h),q)for(m=0;mb[Zc])&&(b=a[Vy])&&!sj(b)){var g=[BD,d];null!=c&&uj(g,c,1);g=KO(g);e=this.xva(e[Ny],e.x,e.y,e[G],e[C]);this.Be(this.mf.annotation.De,g,e);e=this.D.xa();g=[ID,d];null!=c&&uj(g,c,1);var h=null;a.bundle&&!a.bundle.vV&&(b=[a.bundle[Sc]],h=-1);for(a=0;ac)break;c={nQ:c};this[$](ila+a,c);break;case ZH:c={IGa:ja(c[1])};this[$](nla+a,c);break;case UJ:c=ja(c[1]);c={nQ:c};this[$](rma+a,c);break;default:this.Ana(a,b)}}; +Mp(S,function(a,b){this.Jl[$]({type:a,data:b})});function pU(a,b,c,d){oU[J](this,a,b,c,d.Na);this.R=d;this.n4=this.Qla()}W(pU,oU);S=pU[I];S.A9=function(a){this.R=a;this.n4=this.Qla()};S.Qla=function(){var a=this.R;if(a.Na!=Ng&&a.Na!=kK)return{};for(var b={},a=a.k,c=0;cd?b:c}return this.tMa(b)?b:hs};S.mMa=function(a){if(!(new um(this.R.q[D]+1,this.R.q.top+1,this.R.q[p]-2,this.R.q[x]-2))[Nc](a))return null;switch(this.R.ki){case OF:return this.YHa(a);case IE:return this.XHa(a)}return null};S.XHa=function(a){for(var b=this.R.Ea,c=0;c=-m&&k-a<=m&&k-a>=-m&&(h=(h-b)*(h-b)+(k-a)*(k-a),h<=m*m&&h<=d&&(c=KO([EJ,g.kc,g.Bi]),d=h))}return c};S.tMa=function(a){return this.R.ki==IE?(a=a[sc](qe)[0],a!=TD&&a!=uE&&a!=DE&&a!=zJ&&a!=EJ&&a!=MK):!0};S.Ula=function(a){a=a[sc](qe);return ij(LO,a[0])}; +S.Ana=function(a,b){var c=b[sc](qe);switch(c[0]){case TD:case uE:case DE:case zJ:case EJ:case MK:var d=ja(c[1]),c={kc:d,Bi:ja(c[2])};this[$](OF+a,c);break;case KE:c=ja(c[1]);c={kc:null,Bi:c};this[$](IE+a,c);break;case ID:this.HRa(a,c);break;case bI:case KD:d=ja(c[1]),c={kc:d,Bi:null},this[$](pK+a,c)}};S.HRa=function(a,b){var c=ja(gj(b));this[$](BD+a,3==b[G]?{kc:null,Bi:ja(b[1]),Kw:c}:{kc:ja(b[1]),Bi:ja(b[2]),Kw:c})};function qU(a,b){this.Du={};this.Vu={};this.qD=[];this.bx(a,b)}S=qU[I];S.TPa=function(){X(this.qD,function(a){this.vpa(this.Vu[a])},this)};S.bx=function(a,b){this.Fa=a.ie(cia,b);this.QPa=a.ie(bia,b);this.TPa()};S.jqa=function(a,b){return PO(a[dd]||N,b?this.QPa:this.Fa,null,null,null,null,null,!1,b?null:a.id)};S.getEntries=function(){for(var a=[],b=0,c=this.qD[G];bd)throw l("Data table should have at least 3 columns");a(this.zV,!0,[Lh]);var e=a(this.ED,!1,[Lh]),g=a(this.FD,!1,[Lh]);this.L8=c.ob(this.ED);this.M8=c.ob(this.FD);Ai(this.$p)&&this.$p]*>|&[^;]+;/g,Vpa=ra("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),Wpa=ra("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),Xpa=/^http:\/\/.*/,Ypa=ra("^(ar|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Arab|Hebr|Thaa|Nkoo|Tfng))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)",sH),Zpa=/\s+/,$pa=/\d/; +function yU(a,b){for(var c=0,d=0,e=!1,g=(b?a[yb](Upa,N):a)[sc](Zpa),h=0;hf.abs(a)?this.rRa:this.pRa))});function BU(){this.Eoa=new Date;this.Tl(kC)}BU[I].Tl=function(a){switch(a){case ZC:a=Xo.kUa;break;case xC:a=yha;break;case oC:a=Xo.B7;break;case WB:a=3;break;default:a=11}this.Lf=new Yo({pattern:a,timeZone:0})};wa(BU[I],function(a){this.Eoa[Lc](a);return this.Lf.uf(this.Eoa)});function CU(){this.s7=null;this.uy=[];this.r7=this.Ay=this.oK=null}S=CU[I];S.zHa=function(a){this.r7=a;return this};S.e3=function(a){this.s7=a;return this};S.f3=function(a){this.oK=a;return this}; +S.aJ=function(a){this.Ay=a;return this};S.yoa=function(a){a=pQ(Ai(a)?a:3);this.uy=[zU(a,f.pow(10,15),yC,yC),zU(a,f.pow(10,12),OC,OC),zU(a,f.pow(10,9),LB,LB),zU(a,f.pow(10,6),pC,pC)];return this};S.A3=function(a){a=pQ(Ai(a)?a:3);this.uy=[zU(a,f.pow(10,15),Lf,Lf),zU(a,f.pow(10,12),Rf,Rf),zU(a,f.pow(10,9),HB,HB),zU(a,f.pow(10,6),Df,Df)];return this};S.hp=function(){var a;a=this.r7?new ip({pattern:this.r7}):new ip({pattern:pQ(Ai(this.s7)?this.s7:16)});return new DU(a,this.uy,this.oK,this.Ay)}; +function DU(a,b,c,d){this.kRa=a;this.uy=b||[];this.oK=c||null;this.Ay=d||null;t:for(a=this.uy,b=da,c=0;ca;a=f.abs(a);if(this.oK){var c=this.oK;if(0!=a){var d=f[s](f.log(f.abs(a))/$na)+1;d>c?(c=f.pow(10,d-c),a=f[B](a/c)*c):(c=f.pow(10,c-d),a=f[B](a*c)/c)}}c=null;for(d=0;d=e.jD){c=e[Ob](a);break}}null==c&&(c=this.kRa.uf(a));c=this.mSa(c);return b?Ne+c:c}); +DU[I].mSa=function(a){if(!this.Ay)return a;var b=this.Ay.symbol,c=this.Ay.usePadding?ke:N;return this.Ay[nc]==Ys?a+c+b:b+c+a};function EU(a,b,c,d,e,g){this.cd=a;this.wa=b;this.Vw=c;this.ut=d;this.ac=g}function FU(a,b,c){return new EU(a,b,!0,!0,!0,c)}function GU(a,b,c){return new EU(a,b,!1,!1,!1,c)}Cw(EU[I],function(){return f[B](this.wa)});fb(EU[I],function(){return this.cd});EU[I].pd=function(){return this.ac};EU[I].im=function(a){this.ac=a};function HU(a,b){this.lK=a;this.kK=b||0;this.Pna=this.kQa(this.lK+this.kK);this.wa=0}S=HU[I];Ha(S,function(){this.wa++;return this[F]()});S.tg=function(){this.wa--;return this[F]()};fb(S,function(){return f[B]((this.wa*this.lK+this.kK)*this.Pna)/this.Pna});va(S,function(a){this.wa=f[s]((a-this.kK)/this.lK);return this[F]()});ua(S,function(a){this.wa=f[Ab]((a-this.kK)/this.lK);return this[F]()});Va(S,function(a){this.wa=f[B]((a-this.kK)/this.lK);return this[F]()}); +S.kQa=function(a){if(1<=a)return 1;var b=a[lc]();a=0;var c=b[kd](dG);-1!=c?a=ma(b[ic](c+1),10):c=b[G];b=b[kd](Oe);-1!=b&&(a-=c-1-b);return f.pow(10,-a)};function IU(a,b,c,d){this.da=a;this.If=b;this.Xa=c;this.Lf=d}S=IU[I];S.Eja=function(a){var b=a[G];if(0=a[G]||0!=a[0])return a;b[z](a[0]);for(var c=1,d=a[G];c=this.Cl?(this.Qf=this.Eu(a,b,c,d),this.ei=f[B](this.Qf.Va(this.Cl))):b<=-this.Cl?(this.Qf=this.Eu(-b,-a,d,c),this.ei=f[B](this.Qf.Va(this.Cl)),g=2*this.ei-d,e=2*this.ei-c,this.Qf=this.Eu(-b,-a,g,e)):a>=-this.Cl?(this.ei=f[B](c),this.Qf=this.Eu(this.Cl,b,this.ei,d)):b<=this.Cl?(this.ei=f[B](d),e=2*this.ei-c,this.Qf=this.Eu(this.Cl,-a,this.ei,e)):(this.Qf=this.Eu(this.Cl,b,0,1),e=this.Qf.Va(-a), +this.ei=f[B](c+(d-c)*(e/(e+1))),b>=-a?this.Qf=this.Eu(this.Cl,b,this.ei,d):(e=2*this.ei-c,this.Qf=this.Eu(this.Cl,-a,this.ei,e)));this.Hf=dthis.ei*b?this.Qf.xe(a):a*bthis.Cl?this.Qf.Va(a):a<-this.Cl?2*this.ei-this.Qf.Va(-a):this.ei};function LU(a){this.AQa(a);this.wQa=a[Db]();this.iK=a[G];this.wa=0}S=LU[I];Ha(S,function(){this.wa++;return this[F]()});S.tg=function(){this.wa--;return this[F]()};S.AQa=function(a){a=a[G];for(var b=0;ba;);return this[F]()});ua(S,function(a){this.wa=this.iK*aQ(a);if(this[F]()!=a)for(;this[rc]()a;);if(a-this[F]()=a&&d<=b&&(a=this.Qf.xe(this.Qf.Va(0)+this.l5),c=f.max(c,a));return this.Cr[Ab](c)};function NU(a,b,c,d){this.OJ=a;this.qT=b;this.u7=c;this.dqa=d;this.vy=(this.dqa-this.u7)/(this.qT-this.OJ);this.rK=this.vy*this.OJ-this.u7}S=NU[I];S.xe=function(a){return(a+this.rK)/this.vy};S.Va=function(a){return a*this.vy-this.rK};S.bo=function(){return this.u7};S.Cm=function(){return this.dqa};S.Kb=function(){return this.OJ};S.Qb=function(){return this.qT};function OU(a,b){this.sT=a;this.QJ=f[s](a/10);this.Wr=a-this.QJ;this.Vb=0;this.uT=aQ(f.abs(b));this.by=this.Wr*this.uT;this.wa=0}S=OU[I];S.Yma=function(){var a=f[s](this.wa/this.Wr),b;b=10*(this.wa+this.QJ-a*this.Wr)/this.sT;0==b&&(b=1);return ZP(b,a)};fb(S,function(){this.wa=f.abs(this.Vb)+this.by;return 0this.Vb?-this.Yma():0});Ha(S,function(){this.Vb++;return this[F]()});S.tg=function(){this.Vb--;return this[F]()}; +va(S,function(a){var b=this.QJ,c=aQ(f.abs(a));if(f.abs(a)<=f.pow(10,this.uT))return this.Vb=0>a?-1:0,this[F]();0a&&(this.Vb=this.by-this.Wr*c,b=-b);this[F]()!=a&&(c=this.sT*a/ZP(1,bQ(f.abs(a))),this.Vb+=f[s](c)-b);return this[F]()}); +ua(S,function(a){var b=this.QJ,c=aQ(f.abs(a));if(f.abs(a)<=f.pow(10,this.uT))return this.Vb=0a&&(this.Vb=this.by-this.Wr*c,b=-b);this[F]()!=a&&(c=this.sT*a/ZP(1,bQ(f.abs(a))),this.Vb+=f[Ab](c)-b);return this[F]()}); +Va(S,function(a){var b=aQ(f.abs(a));if(f.abs(a)<=f.pow(10,this.uT))return this.Vb=0;if(0a)return a-this[F]()>=this.tg()-a?this[rc]():this[F]();this.tg()}else if(0>a){this.Vb=this.by-this.Wr*b;if(this.tg()d[G])return this.nl.yS(d);b=d[0];c=d[1];if(0==b){if(3>d[G])return this.nl.yS(d);b=c;c=d[2]}d=ZP(1,bQ(f.abs(b)));d==b&&(d*=10);this.Cr[Ab](d/f.abs(c-b));do b=this.Cr.tg(),c=new OU(b,a),d=this.nl.O3(c,this.da.Kb(),this.da.Qb(),b),d=this.nl.dJa(d);while(!this.nl.Eja(d));return this.nl.yS(d)}; +PU[I].P3=function(){var a=this.da.Va(10*this.vj),b;this.Cr[s](1);do b=this.Cr[rc](),b=this.da.Va(10*this.vj*(b-1)/b);while(f.abs(a-b)>=this.hHa);return this.Cr.tg()};function QU(a,b){null!=a?(f[B](a),this.Wu=a):this.Wu=1;12=this.nla)return this.rk(4),this.Ki*this.Me[s](a/this.Ki);for(this.rk(2);a>=this.Bj[this.wa];)this.wa++;return this.Bj[--this.wa]}); +ua(S,function(a){if(a<=this.U4)return this.rk(1),this.Me[Ab](a);if(a>this.IC)return this.rk(4),this.Ki*this.Me[Ab](a/this.Ki);for(this.rk(3);a<=this.Bj[this.wa];)this.wa--;return this.Bj[++this.wa]});Va(S,function(a){if(a=this.rLa)return this.rk(4),this.Ki*this.Me[B](a/this.Ki);for(this.rk(3);0a?6048E5==a?new HU(a,864E5*(3+c)):new HU(a):new QU(f[B](a/2629746E3))} +function UU(a){if(!oa(a))return WI;var b=new Date;b[Lc](a);a=N+VU(b[Nb]()[lc](),4);var c=b[Bc](),d=b[Gd](),e=1!=d,g=b[be](),h=b[ae](),k=b.getUTCSeconds(),b=b.getUTCMilliseconds(),m=0!=g||0!=h||0!=k||0!=b;if(0!=c||e||m)a=a+Ne+VU((c+1)[lc](),2);if(e||m)a+=Ne,a+=VU(d[lc](),2);m&&(a+=Rf,a+=VU(g[lc](),2),a+=bf,a+=VU(h[lc](),2),a+=bf,a+=VU(k[lc](),2),a+=Oe,a+=VU(b[lc](),3));return a} +function WU(a,b){var c=N,d=new Date;d[Lc](a);var e=d[Bc](),g=d[Gd](),h=d[be](),k=d[ae](),m=d.getUTCSeconds(),q=d.getUTCMilliseconds(),c=c+VU(d[Nb]()[lc](),4);if(b==ZC)return c;c=c+Ne+VU((e+1)[lc](),2);if(b==oC)return c;c+=Ne;c+=VU(g[lc](),2);if(b==WB)return c;c+=Rf;c+=VU(h[lc](),2);c+=bf;c+=VU(k[lc](),2);c+=bf;c+=VU(m[lc](),2);c+=Oe;return c+=VU(q[lc](),3)}function VU(a,b){for(var c=a[G];ca[Ec]?-ZU(-a[Ec],c):$U(a[Ec],c),0>a.end?-$U(-a.end,c):ZU(a.end,c))} +function $U(a,b){if(0==a)return 0;for(var c=a,d=0,e=ka;;){var g=aQ(c),h=ZP(1,g),k=aV(c);if(5a-b))break;e=k*h+d;e=bV(e,g);if(e<=a&&e>a-b)break;g=k*h;d+=g;c-=g}return e}function ZU(a,b){if(0==a)return 0;for(var c=a,d=0,e=ka;;){var g=aQ(c),h=ZP(1,g),k=aV(c);if(5>k&&(e=5*h+d,e=bV(e,g),e<=a+b&&e>=a))break;e=k*h+d;e=bV(e,g);if(e<=a+b&&e>=a)break;e=(k+1)*h+d;e=bV(e,g);if(e<=a+b&&e>=a)break;g=k*h;d+=g;c-=g}return e}function bV(a,b){var c=ZP(1,f.abs(b));return f[B](a*c)/c} +function aV(a){var b=aQ(a),b=ZP(1,b);a/=b;b=f.abs(f[B](a)-a);0!=b&&1E-10>b&&(a=f[B](a));return f[s](a)};function cV(a,b,c,d,e,g,h,k,m){this.oEa=a;this.cha=b;this.eha=c;this.If=d;this.Jf=e;this.da=g;this.wR=h;this.Xa=k;this.K1=m;this.nEa=xU(a);this.dR=xU(b);this.Jf.Tl(this.cha)}S=cV[I];S.QFa=function(a){return[GU(a,f.abs(this.da.bo()-this.da.Cm())/2,this.Jf[Ob](a))]}; +S.AUa=function(){var a=this.da.Kb(),b=this.da.Qb();this.Jf.Tl(this.oEa);if(a==b)return this.QFa(a);var c;c=this.Jf[Ob](b);c=new EU(b,this.da.Cm(),!0,!0,!1,c,1);this.Jf.Tl(this.cha);for(var d=1==this.eha&&this.dR>this.nEa,e=TU(this.dR*this.eha),g=TU(this.dR),h=[],k=ka,m=e[Ab](a),a=g[Ab](a);a<=b;a=g[rc]()){var q=this.da.Va(a);if(a==m){m=e[rc]();if(this.SFa(k,a))return null;d?(ha(k)||h[z](this.OFa(k,a)),h[z](new EU(a,q,!0,!0,!0,null))):(k=FU(a,q,this.Jf[Ob](a)),h[z](k));k=a}else h[z](new EU(a,q,!1,!0, +!1,null))}d&&bthis.PFa(h)?this.MFa():this.RFa(h)?this.TFa(h):h};S.LFa=function(a,b,c){var d=this.Jf[Ob](c),e=this.If.ku(d,this.Xa),g=b[F]();b=b.tg();b=this.da.Va(b);var h=this.da.Va(g),g=this.da.Va(c);b=(b+h)/2;g-b>e/2&&a[z](GU(c,b,d))};S.NFa=function(a,b){var c=this.jNa(b);if(null!=c){var d=this.If.ku(c.pd(),this.Xa),e=this.If.ku(a.pd(),this.Xa);f.abs(c[fy]()-a[fy]())-(d+e)/2b+40};S.PFa=function(a){for(var b=0,c=0;ca[G])return!1;for(var b=a[0],c=1;cf.abs(d[fy]()-b[fy]())&&b[F]()!=d[F]())return!0;b=d}return!1};S.OFa=function(a,b){var c=this.da.Va(a),d=this.da.Va(b),c=(c+d)/2;return GU(this.da.xe(c),c,this.Jf[Ob](a))};function dV(a,b,c,d,e,g,h){this.da=a;this.Qj=b;this.If=c;this.Jf=d;this.wR=e;this.Xa=g;this.K1=h;this.Lka=this.PKa()}dV[I].PKa=function(){return[this.gi(WB,1),this.gi(WB,7),this.gi(oC,1),this.gi(oC,2),this.gi(oC,3),this.gi(xC,1),this.gi(oC,6),this.gi(ZC,1),this.gi(ZC,2),this.gi(ZC,5),this.gi(ZC,10),this.gi(ZC,20),this.gi(ZC,50),this.gi(ZC,100),this.gi(ZC,1E3),this.gi(ZC,1E4),this.gi(ZC,1E7)]};dV[I].gi=function(a,b){return new cV(this.Qj,a,b,this.If,this.Jf,this.da,this.wR,this.Xa,this.K1)}; +dV[I].YF=function(){for(var a=xU(this.Qj),b=0;bv||v>d)t=f.min(g,e);c=a.Va(t);b=a.Va(b);b=fV(c,a)/fV(b,a)}return(0.65=r&&(t=k[G]);var A=m.SP();if(null!=A){A=b(A);if(Ay){h=f.max(0,h-1);break}h++}A||k[z]({ua:v,ga:y,Q:!0,brush:a.ps,length:null})}if(q){1< +t&&(k=Cj(k,t-1));h=q=null;for(r=0;ry.end){h=f.max(0,h-1);break}h++}A&&k[z]({ua:r.ua,Q:!0,ya:{text:d[q][dd],Z:a,J:[{x:t,y:0,text:d[q][dd],length:v}],yc:e,xc:jG,U_a:d[q][dd], +anchor:null,sb:0}})}}return k};function bqa(a){return kj(a,function(a){return 0this.Fh[G]&&(this.Fh=null);this.Fh&&(this.Fh=kj(this.Fh,function(a){var b= +{};b.v=ri(a.v)?a.v:a;yi(a.f)&&(b.f=a.f);return b}));this.VK=0;this.Ll=b.nd(this.Ua(Gg),1);lw(this,this.Ll);this.Ch=this.Vj=null;this.WD=this.OD=0;this.Bb={min:-da,max:da};this.en=null;this.Esa=g;g=eQ(this.b,this.Ua(iI),this.Ua(jK));this.Hsa=g===JI;this.WK=g===hI||this.Hsa;this[E]==Yh?(this.O8=this.Ld=this.ja=null,this.Qj=b.ib(this.Ua(lna),Tpa,kC),this.bL=da):this.Fh=null}S=kV[I];S.Ua=function(a){return qQ(this.fE,a)};S.wA=function(a){0==a||ha(a)||(this.bL=f.min(f.abs(a),this.bL))}; +S.Rz=function(a){this.ja.Rz(this.bL,a||[])};S.$P=function(a,b){var c=QT().Pg(a),d=b.Bd(this.Ua(aH));if(!this.Fh&&null===d&&this.WK||0>d)this.O8=!0,d=-1;c[Mq](b,this.fE,d);this.ja=c;this.Tf=c.ka(b,this.Ua(hh));this.kg=c.ka(b,this.Ua(fh));this.ms=b.ka(this.Ua(WD),OQ.vAxis.gridlines.baseline,function(a){return a===og?a:jo(a)})}; +S.NM=function(a){this.en=a.qs(this.Ua(dM),Coa);if(null===this.en||this.en==mG){if(this[E]==Yh){var b=this.ja,c=b.Zc(b.ka(a,this.Ua(cM)));a=b.Zc(b.ka(a,this.Ua(bM)));null!=c&&(this.Bb.min=c);null!=a&&(this.Bb.max=a)}else this.Bb.min=a.nd(this.Ua(cM),this.Bb.min),this.Bb.max=a.nd(this.Ua(bM),this.Bb.max);if(this.Bb.min!=-da||this.Bb.max!=da){if(this.en=mG,this.Bb.min>this.Bb.max)throw l("viewWindow.max must be greater than viewWindow.min");}else{if(this.en==mG)throw l('Option "viewWindowMode" was set to "explicit" but "viewWindow" was not specified.'); +this.en=this.Esa}this[E]==Yh&&this.en==mG&&(this.Bb.min!=-da&&(this.ja.Yb=this.Bb.min),this.Bb.max!=da&&(this.ja.qc=this.Bb.max))}};S.Zfa=function(){return this.en==mG&&(this.Bb.min==-da||this.Bb.max==da)};S.wea=function(){if(this[E]==Yh&&!this.ja)throw l("Axis type/data type mismatch for "+this.fE);}; +S.ima=function(a,b,c,d,e){this.Vj=c+(1==this[nx]?0.5:-0.5);this.VK=b-1;this.Ch=c+b*this[nx];var g=this.dda(a),h=this.hM(a),k=!1;this.b.fa(this.Ua(Eka))&&this.v$()&&this.yk===jJ&&h[Ny]===mH&&!h.Hf&&(k=!0);a=k?this.oya(a,d,e):this.pya(a,b,c,d,e);return{title:this[Uy],name:this.eda(),type:this[E],Ll:this.Ll,Vj:this.Vj,Ch:this.Ch,de:{Bf:T(this.Pca,this),Ak:T(this.qq,this)},position:{Bf:T(this.Uz,this),Ak:T(this.u$,this)},WM:g,Ld:a.Ld,Eb:a.Eb,text:this.Xm}}; +S.pya=function(a,b,c,d,e){this[E]==Yh?(null!=this.ms&&this.ms!==og&&this.gc(this.ja.Zc(this.ms)),null!=this.Tf&&this.gc(this.ja.Zc(this.Tf)),null!=this.kg&&this.gc(this.ja.Zc(this.kg)),this.Fh?this.gAa():this.O8?this.v$()?this.dAa(a):this.eAa(a):this.cAa()):this.fAa(a,b);b=null;this[E]==Yh&&this.Ld&&(b={ua:this.Ld.ua,ga:this.Ld.ga,Q:!0,length:null,brush:this.ysa});c=null;if(this[E]==Yh){c=kj(this[cy],function(a){return{pea:a,ua:a.ua,ga:a.ga,Q:!0,length:null,brush:this.ps}},this);var g;if(g=this.WK? +this.hAa(c):this.iAa(c))g=kj(g,function(a){return{ua:this.u$(a),ga:a,Q:!0,length:null,brush:this.ZK}},this),Bj(c,g);X(c,function(a){if(this.Xba(a.ga)||this.$Y(a.ga))a.Q=!1,xj(this[cy],a.pea);delete a.pea},this)}this.AX(a,d,e,null);this.zX(a);return{Eb:c,Ld:b}}; +S.oya=function(a,b,c){this.RE();Hj(this.dE);for(var d=da,e=1;e=this.Bb.min&&a<=this.Bb.max},this));this.RE();Bw(this,kj(this.ja[cy],function(a){var b=this.ja.qq(a),c=this.ja.vea(b);a=this.Te(a);return{ua:b,ga:a,text:c,Q:!0}},this))}; +S.oCa=function(){var a=da,b=null,c;Bw(this.ja,kj(this.ja[cy],function(d){c=0a&&(c=0=a[G]||0==this.Fo)return null;var b=(a[1].ga-a[0].ga)/(this.Fo+1),c=[],d,e,g=a[0].ga;for(d=e=f[s]((g-this.Vj)/b);0=a[G]||0==this.Fo)return null;for(var b=a[0],c=b.ua,d=c,e=[b],g=1;g=a[G])return null;var h=a[1].ga-a[0].ga,b=[],c=[],k;this.Fo=f.min(MQ[G],this.Fo);d=MQ[this.Fo-1];this.Fo=d[G];for(g=0;gh)&&$P(h))for(1>h&&(e=-1,d=a[g+1].ga),h=a[g+1].ga-a[g].ga,k=0;ka.qc&&this.Bb.max==da&&(a.qc=f.min(a.qc+b,0))}};S.Te=function(a){return null==a?null:this.Vj+(a-this.WD)*this[nx]*this.OD};S.GWa=function(a){return null==a?null:(a-this.Vj)*this[nx]/this.OD+this.WD};S.Pca=function(a){return this[E]==Yh?this.ja.Zc(a):a};S.qq=function(a){return null!=a?this[E]==Yh?this.ja.qq(a):a:null};S.u$=function(a){a=this.GWa(a);return null!=a?this.qq(a):null}; +S.Uz=function(a){return this.Te(this.Pca(a))};S.iaa=function(){switch(this[E]){case IE:return this.Bb.min-0.5}return this.Bb.min};S.Jya=function(){switch(this[E]){case JE:return this.Bb.max-1;case IE:return this.Bb.max-0.5}return this.Bb.max};S.an=function(a){return this[E]==Yh?a>=this.Bb.min&&a<=this.Bb.max:a>=f[s](this.Bb.min)&&athis.Ch*this[nx]};S.Xba=function(a){return a*this[nx]=this.Qh[G]?this.Rha:f.abs(this.Qh[1].ga-this.Qh[0].ga)*a-this.JNa};S.pU=function(a,b,c){a=f[Ab]((this.Qh[G]-a)/(b*c));return 2>this.Qh[G]||2>a}; +S.qQa=function(a,b,c,d){a=mV(a,this.Qh[G],c,this.jFa);for(var e=this.aGa(c),g=[];aa||90t||0==v.Xs)y=this.LM(e),v=null}else y=this.LM(e);var A=WO(e,m,this[Uy].Z,a.q[p],da),H=this.Ao,K=f.max(H,f[B](g/1.618)), +M=f.max(H,f[B](g/3.236)),L=function(){return{key:gL,min:y.minHeight+H,max:y.maxHeight+H,Oc:[K-H]}},R=[];R[z]({key:oE,min:H,Oc:[da]});0t&&(pa=v=null,y=this.LM(e),R[V]=L(),R=voa(R,0,ea,g,void 0),h=nQ(R,a[x]-a.q[Jc])));var Jb=a.q[Jc],fa=h[cy]||[];if(0this[cy][G]?1:f[Ab]((d+this.Ao)/e/f.abs(this[cy][1].ga-this[cy][0].ga)));for(var k=0,m=0;m=K&&(K=6);K/=2;0r;++r){var t=a.I(r);c=a.nj(r,Bh);m(c);tV(g,t);t={Ba:{},dataType:t};t.Ba.domain=[r];e[z](t);q[c]=r;h[z]({Se:r,mv:os,Yy:0,kc:null})}for(r=0;rh)throw l("Invalid gap value ("+h+") in data row #"+e+". Gap value must be non-negative.");b[z]({mh:c,om:g,NDa:h})}c=g}return b};S.S$=function(){return null!=this.Sf[0]};S.xX=function(){return null!=this.Sf[1]};S.RZ=function(){return this.sq&&this.sq.Iqa()?null:this.S$()&&this.xX()?sL:this.xX()?ch:Ys}; +S.Rxa=function(){return this.sq&&this.sq.Iqa()?sL:null};S.Gz=function(a){var b=a.Ba[Z];return b?b[0]:a.Ba[aJ][0]};S.gua=function(){for(var a=this.K,b=this.za,c=this.Rc,d=0;d=g[D]&&this.pe.zo(g);this.mua();this.sq||(this.jua(this.za),this.iua(),this.dua())}; +S.cua=function(){var a=this.K,b=this.jb,c=Xj(this.ig)[Uy].Z,d=f.max(a[Uy].Z[xc],c[xc]),e=this.pe.Fa[xc],g=this.pe[fy](),h=this.Yj.Fa[xc],k=this.Yj[fy](),m=a.Hy==xH?a[Uy][dd]:N,q=N,r=N;if(a.wD==xH){var t=function(a){var b=Zj(a);Hj(b);b=kj(b,function(b){return a[b][Uy][dd]});return jj(b,function(a){return a!=N})[fe](Me)};switch(a.Na){case kK:case uE:q=t(this.ig);r=t(this.Sf);break;case Ng:q=t({0:this.Rc}),r=t(this.Re)}}var q=q&&r?q+Ffa+r:q?q:r?r:N,r=f.max(2,f[B](d/1.618)),v=f.max(2,f[B](e/1.618)),y= +f.max(2,f[B](h/1.618)),A=a.q[p]-2*r,h=WO(b,m,a[Uy].Z,A,1),t=0r.tv||1>m.tv)t=this.SW(t,!1),q.vn=t;1!=r.Mv&&1!=m.Mv&&(m=f.min(m.Mv,r.Mv),t=this.Eya(t,m),q.vn=t);0==r.Fya&&h&&!h.Si&&(q.vn=null);m=r}h=q}}}; +function vV(a){var b={fill:{},stroke:{}};null!=a&&(null!=a[C]&&Xa(b[jc],Xa(b[bc],a[C])),null!=a[Id]&&nb(b[jc],nb(b[bc],a[Id])),null!=a.fillColor&&Xa(b[jc],a.fillColor),null!=a.fillOpacity&&nb(b[jc],a.fillOpacity),null!=a.strokeColor&&Xa(b[bc],a.strokeColor),null!=a.strokeOpacity&&nb(b[bc],a.strokeOpacity),null!=a.strokeWidth&&sa(b[bc],a.strokeWidth));return b} +S.Nya=function(a,b){var c=void 0,d=null!=a.Ba[w]?a.Ba[w][0]:void 0;if(null!=d&&this.za.I(d)===Lh&&(d=this.za[F](b,d),null!=d)){var e,c=Qi(d);if(vn(c))e={fill:{color:c},stroke:{color:c}};else if(c[Eb](0)===fi){try{var g=Io(c)}catch(h){}null!=g&&(e=g)}null==e&&(Xi(c,fi)?(e=Tj(Spa(c),vV),N in e&&(ik(e,e[N]),ck(e,N)),Je in e&&(ik(e,e[Je]),ck(e,Je))):e=vV(en(c)));c=e}if(null!=c)return new go([c])}; +S.pz=function(a,b,c,d){this.Yu&&(a.yd=this.Oya(b,c,d));var e=this.Nya(b,d);c=this.Kya(b,d);var g=this.Lya(b,d);d=this.Mya(b,d);var h=b.ji;if(null!=e){var h=h.t(),k=function(a,b){var c=b||N;a.Tg(e.Pc([c+Qja,c+uG],a.nb()));a.vk(e.Lj(c+Rja,a.ff));a.Kd(e.Pc([c+dna,c+QK],a.Ce));a.Rp(e.Lj(c+ena,a.Qk));a.Yp(e.nd(c+fna,a.Ob))};k(h);switch(b[E]){case bI:case kK:case KD:k(h,fma);ti(e.ka(bI,null))&&(a.vn=b.Ae.t(),k(a.vn,cI));break;case LK:ti(e.ka(bI,null))&&k(h,cI);case VD:k(h,UD);break;case GE:a.My=a.My.t(), +k(a.My),k(a.Ae),k(a.My,UD),k(a.Ae,cI)}a.brush=h}k=iU(a,b);d||(a.scope=d,b.uda=b.uda||h.JE(),h=b.uda,a.brush=h);1!=g&&(a.Mv=g,b[E]==bI||b[E]==KD||b[E]==kK)&&(k=f[B](10*k*f[sd](g))/10,Rw(a,k));if(1>c)switch(a.tv=c,b[E]){case bI:case KD:case kK:a.brush=this.SW(h,!0);Rw(a,f.max(k-a.brush.QV()/2,0));break;case VD:case LK:a.brush=this.SW(h,!1)}};S.Oya=function(a,b,c){b=this.vX(a,b,c);var d=a.Ba.tooltip;d&&!a.mi&&(a=this.fL(d[0],c))&&ik(b,a);b.jn=!!b.jn;return b}; +S.fL=function(a,b){var c=this.za,d=this.K.ks&&(c.Bs(b,a,Zg)||c.nj(a,Zg)),c=c.Aa(b,a);return{jn:!!d,Yi:c?!0:!1,content:c}};S.vX=function(a,b,c){return this.K.Na===kK||a.mi?this.BLa(a,b,c):this.ALa(a,c)}; +S.BLa=function(a,b,c){var d=this.za,e=this.K,g,h,k;if(a.mi)g=a[Z][c][0][lc](),h=a[Z][c][1][lc](),k=g+Me+h;else if(this.K.Qc){var m=this.ig[0][Uy][dd]||YC,q=this.Sf[0][Uy][dd]||Oha;k=b%2?b-1:b;b=e.k[k];k=e.k[k+1];g=e.Oj[k.Se].Ba[Cy][0];h=this.Gz(k);g=d.Aa(c,g);h=d.Aa(c,h);k=m+cB+g+Me+q+cB+h;g=e.Oj[b.Se].Ba[Cy][0];h=this.Gz(b);g=d.Aa(c,g);h=d.Aa(c,h);k+=je+m+cB+g+Me+q+cB+h}else g=e.Oj[a.Se].Ba[Cy][0],h=this.Gz(a),g=d.Aa(c,g),h=d.Aa(c,h),k=g+Me+h;return{Yi:!1,content:k,zn:a[Uy]}}; +S.ALa=function(a,b){var c=this.za,d=this.K.Ea[b],d=a.mi?a[Z][b][0][lc]():d.ws[a.Se],e;if(a[E]==GE)e=a.Ba[Z],e=c.Aa(b,e[0])+sz+c.Aa(b,e[3])+Me+c.Aa(b,e[1])+sz+c.Aa(b,e[2]);else if(this.K.Qc){var g=a.Ba[aJ],h=a.Ba[Z];e=this.za[F](b,g[0]);var k=this.za[F](b,h[0]),g=c.Aa(b,g[0]),h=c.Aa(b,h[0]);if(null===e&&Li(g)&&null===k&&Li(h))return{Yi:!1,content:null};e=h+je+g}else{e=a.Ba[Z];k=a.mi?a[Z][b][1]:this.za[F](b,e[0]);e=a.mi?a[Z][b][1][lc]():this.za.Aa(b,e[0]);if(null===k&&Li(e))return{Yi:!1,content:null}; +k=a.Ba[xx]||[];k[G]&&(k=kj(k,function(a){return c.Aa(b,a)}),e+=jr+k[fe](Me)+gg)}return{Yi:!1,content:e,gM:d,zn:a[Uy],jn:!1}}; +S.X$=function(){function a(a){return{kn:a.x,vv:a.y}}function b(a){return new XM(a.kn,a.vv)}function c(a){return{x:a.x,y:a.y}}function d(a){return new XM(a.x,a.y)}var e=this.K,g=this.Rc,h=T(function(a,b,c){b.Mta&&(this.ig[0].gc(c.x),this.Sf[0].gc(c.y))},this),k=T(function(a,b,c){g.gc(c.kn);b.V9&&this.Re[a.Zd].gc(c.vv)},this),m,q,r;switch(e.Na){case kK:m=d;q=c;r=h;break;case Ng:m=b,q=a,r=k}for(h=0;h(c.je[k][dd]?c.je[k][dd][G]:0))){var m=WR(c.je[k][dd][0].ya),q=WR(gj(c.je[k][dd]).ya);if(m||q){if(m&&tm(g,m)||q&&tm(g,q))return!1;m?q?(k=f.min(m[D],q[D]),m=f.max(m[Zc],q[Zc])):(k=m[D],m=m[Zc]):(k=q[D],m=q[Zc]);if(f.abs(e[D]-k)a[p]?(a=a[D],b=IK):(a=e,b=LE);h={vV:!1,label:{text:c,Z:d,J:[{x:0,y:0,length:h[p],text:c}],yc:b,xc:jG,anchor:new VR(a,g),sb:0}};this.Yu&&(h[Sc].Sa=bha);return h}; +S.D9=function(a,b,c,d,e,g,h,k,m){var q=[[64,64,64],[128,128,128],[255,255,255]],r=b===VD,t,v;if(r)var y=new um(a[D],a.top,a[p],a[x]),A=v=a.top,H=t=f[s](a[D]+a[p]/2);else var H=t=a.x,A=v=a.y;var K=A-k,M=K,L=-k,R=g[G],V=k+h[xc]*R;A-Vfa[p]-lb)if(pa[x]Fa[xc]/3)jg=ab,Hd=[Pe],rb=f[s](fa[wy]().y), +wb.xc=LE,wb.xA=!0;else{fa=null;break t}wb.J=[];if(Hd[G])for(Fa=ab=0,Ua=Hd[G];Faea[p]?(U.x=t,V.yc=LE):(U.x=y[D],V.yc=IK);break;case $L:U.x=y[D]+y[p]+2,V.yc=IK,V.xc=LE,U.y=y[wy]().y}}else U.x=H,V.yc=LE,V.xc=jG;if(fa&&(d||!d&&!fa.xA)){b[z](fa); +var Ie=!0}else Lw(V,M[dd]),V.Z=h,fx(V,U),V.xA=!1,V.J=[{x:0,y:0,length:ea[p],text:M[dd]}],V.sb=0,ea=M.i$,this.Yu&&null!=ea&&(V.yd=this.fL(ea,M.rowIndex)),b[z](V),K-=h[xc]}k=Ie?0:L;c=$L;r&&e===$L&&(k=0,c=mH,t=a[D]+a[p],v=f[s](a.top+a[x]/2));return{r9:{x:t,y:v,length:k,orientation:c,color:m},labels:b,bundle:A?A:null}}; +S.E9=function(a,b,c,d){var e=a.x,g=a.y,h=c[xc];a=[];for(var k=0;kthis.K.q[Jc]&&(h=this.K.q[Jc],g=h-k)}else g=this.K.q.top,h=this.K.q[Jc];for(var r=f[B]((g+h)/2),t=e+2,v=[],k=0;k=a.B$||b.eq>=e[cy][G]&&e[E]!=Yh)return null;e=this.gza(g,c,d);c=this.fza(g,c,d);d=f.min(1,0.2*(c-e));f[s](e+d)f[s](e)?(e=f[s](e+d),c=f[s](c)):e+=d;d=this.b.nd(tja,0.3);d=b.ata?d:1;b=this.pca(b);d=d*a.qM/2;a=f[s](b+d);e=this.Yq(f[s](b-d),e);b=this.Yq(a,c);return new um(f.min(e.x,b.x),f.min(e.y,b.y),f.abs(b.x-e.x),f.abs(b.y-e.y))}; +S.NVa=function(a,b){var c=this.Re[a.Zd],d=c.ja.Zc(c.Ld.ua),c=this.fC(a.Zd,b.kn,b.vv),e=this.fC(a.Zd,b.X9,null!=b.xW?b.xW:d),g=this.fC(a.Zd,b.Y9,null!=b.yW?b.yW:d),h=this.fC(a.Zd,b.Z9,null!=b.zW?b.zW:d),d=this.fC(a.Zd,b.a$,null!=b.DW?b.DW:d),k=this.NN(a,b);return{x:c.x,y:c.y,GZ:e.x,HZ:e.y,IZ:g.x,JZ:g.y,vO:h.x,wO:h.y,xO:d.x,yO:d.y,bq:k}}; +S.NN=function(a,b){if(!b.yE)return[];var c=this.Rc,d=this.Re[a.Zd],e=this.sL;if(b.gv>=e.B$||b.eq>=c[cy][G]&&c[E]!=Yh)return[];for(var g=this.pca(b),h=[],k=0,m;m=b.yE[k];k++){var q=d.Te(m.Jwa),r=d.Te(m.Kwa),t=(c[E]==Yh?c[cy]&&1b&&(d=f[s](d));this.sL={B$:c,qM:d,Dwa:((d+1)*c-1)/2}}}; +function jqa(a,b){if(sj(b))return 0;if(a[E]==Yh){for(var c=a.VK,d=null,e=0;eg?[c,h]:[h,c],h=[Hfa,wC]);c={entries:[]};e.zn?this.$o(c,e.zn,e[Bb],!0,this.Hq,d,!0,g,h,k):this.$o(c,null,e[Bb],!1,this.Hq,d);this.Xv(c,a.Sj);return c}; +S.tFa=function(a,b){var c=a.Ib,d={entries:[]};X(b,T(function(a){a=c.k[a];var b=a.yd;b.zn?this.$o(d,b.zn,b[Bb],!0,this.Hq,a,!0):this.$o(d,null,b[Bb],!1,this.Hq,a)},this));this.Xv(d,a.Sj);return d}; +S.xka=function(a,b){var c=a.Ib,d=c.Ea[b].yd,e=!1,g={entries:[]};if(d&&d[Bb])this.$o(g,null,d[Bb],!1,!1);else{var h=0,k=1,m=c.k[G];jU(c)&&(h=c.k[G]-1,m=k=-1);for(var q=null;h!=m;h+=k){var r=c.k[h];q!=r.Se&&(q=r.Se,d=c.Ea[b].ws[q],Mi(d)||this.wN(g,d));r.j[b]&&r.j[b].yd&&r.j[b].yd[Bb]&&(d=r.j[b].yd,this.$o(g,d.zn,d[Bb],!0,this.Hq,r),e=!0)}}null!=a.Sj&&0=a.x?b:-b),d.y+(d.y<=a.y?-b:b))}; +S.jDa=function(a,b,c){var d=b.W;b=this.r_(a,b,c);if(b.xa.q[Zc])b.x+=2*(d.x-b.x);if(b.ya.q[Jc])b.y+=2*(d.y-b.y);return b};S.iDa=function(a,b){var c=b.W.yD||b.W,d=this.fU(a),c=new ml(c[D]+(c[D]d.x?c[D]+c[p]:c[D],c.topm.y?new ml(c+d/2,k-0.1):new ml(c+d/2,g+0.1):c=c[Zy][p]||0>=c[Zy][x])&&delete b.li;break;case bI:case KD:case kK:case xE:Xw(b, +!0),c.x=g.W.x,c.y=g.W.y,c.brush=new Tn({fill:a,df:d,stroke:h.nb(),ra:1}),Rw(c,iU(g,e)+1.5+c.brush.Ob/2)}}};S.M9=function(a,b,c){var d=a.k[b];if((d[E]==bI||d[E]==KD||d[E]==kK)&&0h});this.Mp=this.oSa(h,k,c[G],g);this.bs=this.Mp*(1==this.Tu?f[B](h/this.Mp):f[s](h/this.Mp));1==this.Tu&& +this.bs=this.Q6?this.yU:f[s]((a-this.bs)/this.Mp)+this.Tu};S.Gva=function(){var a=[];1==this.Tu&&a[z](Sga+(this.bs.toPrecision(10)-0));for(var b=this.yU-this.Tu,c=0;cc||a=c)){var g=1,h=a;do{var h=a,k=g,m=e;0==h||!ll(h)||0>=k||(k=(0==h?1:f.pow(10,f[Ab](-f.log(f.abs(h))/f[My])-1))*f.pow(10,f.max(0,k)),k*=0=b&&h<=c)&&5>g);a=5>g?h:a}return d?0.5this.GQ)throw l("Not enough space for labels. Need: "+a+" got: "+this.GQ);this.By[Wd](function(a,b){var c=a.g6,d=b.g6;return c==d?a[qc]>b[qc]?1:0:c>d?1:-1});b=0;for(c=this.By[G];bb[0].Tz};S.cYa=function(a,b){for(var c=0;cb[c][G]}; +S.Lxa=function(a){for(var b=this.vF,c=this.$J(b,a),d=1;(0==this.Vba||this.Vba>d)&&c[G]c)return{};var d={};d[c]={G9:4,Ae:new Tn({stroke:$A,ra:2,Ti:0.7})};return d};function NV(a,b,c,d){for(var e=0;ea[F](e,1))throw l("Negative values are invalid for a pie chart.");this.za=a;this.b=b;this.jb=c;this.$a=b.ka(CF,KQ);this.t9=b.nd(dma,0);this.Ksa=0>b.nd(Gg,1);this.K=d;this.K.ki=qK;this.K.Qc=this.b.fa(HH);this.K.Cc&=!this.K.Qc;d.Qc&&(d.Bh=d.Bh||{},d.Bh.pie=d.Bh.pie||{},d.Bh.pie.N8=this.b.ka(vja,!0),d.Bh.pie.EV=this.b.ka(sja,0.6));this.pe=null}S=NV[I];S.RZ=function(){return Ys}; +S.PZ=function(a){var b=this.K;this.pe=a;if(this.za.I(0)!=Lh)throw l("Pie chart should have a first column of type string");a=this.$W();this.uxa(a);var c=this.pe[fy]();a.Ca?this.pe.zo(a.Ca):c==nE?this.pe.zo(this.sxa()):c==RH&&this.txa(b.q,a,this.pe.Fa,b.k)};S.i9=function(a,b){var c=this.K,d={},e=this.b.Pc(vJ,N),g=a[C],h=a.hb,k=a.wi,m;c.Cc?(c=g,m=h,e=k):m=c=e;d.normal=new Tn({stroke:c,ra:1,fill:g,df:b||1});d.hb=new Tn({stroke:m,ra:1,fill:h,df:b||1});d.wi=new Tn({stroke:e,ra:1,fill:k,df:b||1});return d}; +S.sxa=function(){var a=this.K,b=a[x]-a.q[Jc],c=this.pe.Fa[xc],d=[];d[z]({min:2,Oc:[da]});var e=d[G];d[z]({min:c+2,Oc:[da]});b=mQ(d,b);return b[G]>e?(e=a.q[Jc]+b[e],new sm(e-c,a.q[Zc],e,a.q[D])):null}; +S.$W=function(){var a=this.K,b=a.q,c=this.pe[fy](),d=null,e=null,d=f[B](1.618*a.Il),g=f[B](b[p]*(1-1/1.618)-d);c==ch?(e=new sm(b.top,b[D]+g,b[Jc],b[D]),d=new sm(b.top,b[Zc],b[Jc],e[Zc]+d)):c==Ys?(e=new sm(b.top,b[Zc],b[Jc],b[Zc]-g),d=new sm(b.top,e[D]-d,b[Jc],b[D])):d=new sm(b.top,b[Zc],b[Jc],b[D]);var b=0,c=f.min(d[Zc]-d[D],d[Jc]-d.top),h=g=f[s](c/2),c=f[B]((d[Zc]+d[D])/2),d=f[B]((d[Jc]+d.top)/2);a.Cc&&(h*=0.8,b=g/5,d-=b/2);if(a.Qc){var k={Jc:g*a.Bh.pie.EV,Kc:h*a.Bh.pie.EV},g={Jc:g,Kc:h};return{pie:{Qi:new XM(c, +d),Jc:g.Jc,Kc:g.Kc,Iy:b,Ah:a.Bh.pie.N8?[k,g]:[g,k]},Ca:e}}return{pie:{Qi:new XM(c,d),Jc:g,Kc:h,Iy:b,Ah:[{Jc:g,Kc:h}]},Ca:e}}; +S.uxa=function(a){var b=this.K,c=this.za,d=a.pie.Qi,e=a.pie.Iy,g=c.O(),h=vU(this.b.Pc(ama,N)),k=this.i9(h,1),m=this.b.ie(cma,{fb:b.Kj,fontSize:b.Il}),q=this.b.ib(wJ,Ioa,b.Qc?P:rJ),r=this.b.ib(rna,HQ,wg),t=this.b.Lj(Yma,1/720),v=this.b.fa(zja),y=this.b.wc(bma,tC),A=this.b.Lj(uJ,0);this.b[Zka]=2;b.k=[];b.$m=[];var H,K,M;b.Qc?(fj(c.Sy(1)==aJ),H=this.b.ka(rja,0.01),H=b.Bh.pie.EV*(1+H),H=b.Bh.pie.N8?[0,H]:[H,0],K=[!1,!0],M=[this.b.ka(VF,0.5),this.b.ka(UF,1)]):(H=[0],K=[!0],M=[1]);b.pie={Qi:d,Iy:e,Jc:a.pie.Jc, +Kc:a.pie.Kc,Ah:[]};var L=T(function(a,c){var d=b.k[a];if(1==c)this.Cs(d,r,d,null);else{var e=b.k[a-g];this.Cs(d,r,d,e);this.Cs(e,r,d,e)}},this),R=T(function(a){var c=b.pie.Ah[a-1].aL,d=b.pie.Ah[0].aL;1==a&&c?this.Cs(c,r,c,null):1=t;YD?Pb+=jg:rb+=jg;var ZD=DK+fa,$D=this.b.ka(ZD+rga,this.$a[Hd%this.$a[G]]),$D=vU($D),Oxa=this.i9($D,M[pa]),Pxa=this.b.nd(ZD+vga,0),Qxa= +this.b.Lj(ZD+tga,A)+Ua,Rxa=this.b.ie(ZD+xga,m),jg=this.h9(fa,Hd,wk,Bv,jg,Ie,vj,YD,d,Ma,ab,Qxa,e,Pxa,q,Rxa,$D,Oxa,Jb);b.k[z](jg);YD=this.b.fa(ZD+zga,lb&&(YD||v));V(of,vj,$D[C],fa,YD);pa==U-1&&L(fa,U);fa+=1}0U?ea=null:(U=f[sd](U),ea=[ea-U,ea+U]);if(null===ea||0>ea[1]){h=null;break i}K=M(K,ea[1])}h=K}if(0.4>h)g=null;else{A=A.t();A[ky](-h);g=fqa(g,k,k);i:{g=qV(A,g);k=dl(e-b,2*f.PI);h=0;K=k;for(M=0;M=k||0==V){g=!1;break i}K=f.min(V,K);h=f.max(V,h)}g=h-K=L.zd&&90<=L.Uc&&(r={},90>L.zd?(r.zd=90,r.Df=new XM(m.x+q,m.y)):(r.zd=L.zd,r.Df=L.Df),270d;if(L.os||L.av)L.UK=L.$d.hb;return L};S.Cs=function(a,b,c,d){c=OV(c,b);d&&(c+=je+OV(d,b));a.yd={zn:a[Uy],content:c}}; +S.txa=function(a,b,c){var d=this.K,e=d.pie.Jc,g=d.pie.Kc,h=b.pie.Qi,k=this.b.ib($ka,HQ,rJ),m=f.PI*(3*(e+g)-f[sd]((3*e+g)*(e+3*g))),q=[];b=[];for(var r=0;ry?R=f.min(R,180):L=f.max(L,180)):R=L=K;var V=function(a){return YM(h,pV(a,A,H))},M=function(a){return V(f.asin(cl((a- +h.y)/H,-1,1)))},ea=function(a){return V(f.PI-f.asin(cl((a-h.y)/H,-1,1)))},t={N$:V(el(K-90)).y,wL:new En(V(el(L-90)).y,V(el(R-90)).y),Qy:t[dd],Ry:OV(v,k),M$:v[id],index:v[qc]};180>y?(t.x9=M,q[z](t)):(t.x9=ea,b[z](t))}}e=a[p]/2-e-c[xc];d=LV(new sm(a.top,a[Zc],a[Jc],a[Zc]-e),this.jb,2,c,q);a=LV(new sm(a.top,a[D]+e,a[Jc],a[D]),this.jb,1,c,b);c=[];Bj(c,d,a);this.K.Eo=c};function PV(a,b,c,d,e){this.n=a;this.za=null;this.b=b;this.jb=c;a=this.K={};a.Ne=c;sa(a,d);Ra(a,e);a.Na=b.ib(Vh,Aoa,P);a.Kj=b.wc(DG);a.Il=b.ub(EG,f[B](f.pow(2*(a[p]+a[x]),1/3)));a.D8=b.ib(Hma,CQ,bI);a.ks=b.fa(nL);a.Ky=b.ib(nK,qo,Hh);a.Jy=b.Pi(SD);a.Ly=b.Pi(Pia);a.RK=a.Ly.Vy()?a.Ly.nb():a.Jy.Vy()?a.Ly.JD()?Nn(a.Ly.nb(),a.Jy.nb(),a.Ly.ff):a.Jy.nb():null;a.xsa=b.Pc(XD,N);a.B8=b.Pc(ZG,N);a.Xu=a.RK||N;c=b.wc(hL);a.Hy=b.ib(mna,GQ,jJ);d=b.ie(kL,{fb:a.Kj,fontSize:a.Il,dc:a.Hy==xH?a.Xu:P});hq(a,{text:c,Z:d, +J:[],yc:IK,xc:jG,Sa:N,anchor:null,sb:0});a.wD=b.ib(Aia,GQ,jJ);a.Cc=b.fa(GH);a.Wm=b.fa(CH);a.Gy=b.ib(Ska,Joa,RF);this.zh();if(a.Gy==ZF&&(!a.zf||a.zf.line!=a.k[G]))throw l("DIVE interactivity model is only supported when all series are of type line.");}S=PV[I];S.js=function(){return this.K}; +S.zh=function(){var a=this.K;this.Oxa();this.$W();var b=null,c=null,d=null,e=null;a.Na==tJ?(c=new NV(this.za,this.b,this.jb,a),d=c.RZ()):(b=new sV(this.za,this.b,this.jb,a),d=b.RZ(),e=b.Rxa());var g=null,h=a.Na;!a.Qc||h!==tJ&&h!==kK||(g=2);this.pe=new KV(a,this.b,d,g);this.Yj=new HV(a,this.b,e);b&&b.PZ(this.pe,this.Yj);c&&c.PZ(this.pe);this.pe.Pxa();this.Qxa();a.Ca=this.pe.QZ();a.ii=this.Yj.QZ()}; +S.Oxa=function(){var a=this.K,b=this.n,c=new Su(b);if(a.Na==lH)this.vva();else{if(2>c.G())throw l("Not enough columns given to draw the requested chart.");if(this.b.fa(YJ)){a=[];for(b=b.O()-1;0<=b;b--)a[z](b);c.Ro(a)}this.za=c}}; +S.vva=function(){for(var a=this.n,b=a.I(0)===Lh,c=b?1:0,d=[],e=a.O(),g=a.G(),h=0;hc?b:(b+2*c)/3)},this),e=this.gfa(e,b,a[p],g),b=f.min(e[Ec],e.end),e=e.end,g=e-b,h=T(function(){var b=a[x]/1.618,c=a[x]-a[p]*(1.618-1);return f[B](b>c?b:(b+2*c)/3)},this),d=this.gfa(d,c,a[x],h),c=f.min(d[Ec],d.end),d=d.end;a.q={left:b,right:e,width:g,top:c,bottom:d,height:d-c}}; +S.Qxa=function(){var a=this.K,b=a[Uy].Z[xc],c=this.pe.Fa[xc],d=this.pe[fy](),e=this.Yj.Fa[xc],g=this.Yj[fy](),h=a.Hy==jJ?a[Uy][dd]:N,k=WO(this.jb,h,a[Uy].Z,a.q[p],da),m=f.max(2,f[B](b/3.236)),q=f.max(2,f[B](c/1.618)),e=f.max(2,f[B](e/1.618)),r=f.max(2,f[B](1.618*a.Il)),t=[];t[z]({key:oE,min:2,Oc:[r-2]});t[z]({key:tL,min:0,Oc:[da]});0=a[G]?gj(a):TV(a[b-1],a[b],0.5)};this.aA.Qc?this.rla(h,function(a, +b,c,d){return b.ey?a[b.Vr*c+d]:k(a,b.Vr*c+d)}):this.WO(h,function(a,b){return b.ey?a[b.Vr]:k(a,b.Vr)})}}; +S.cEa=function(a,b){var c=this.aA.Ea,d=this.XM.Ea;if(c&&d)if(0==c[G]||0==d[G])this.gj.Ea=[],this.WO([],function(){return null});else{var e=function(b){return a(b[Z])},g=[],h=[];if(c[G]===d[G])for(var k=0;kq)?(h[z]({hr:q,ir:k[q]}),g[z]({data:c[q][Z]}),q++):(rr||m[r]=c.top&&b<=c[Jc]:!1);return(!d||(c?a>=c[D]&&a<=c[Zc]:!1))&&b} +function XV(a,b,c,d,e){a[nc]&&a[nc].Bf&&b[nc]&&b[nc].Bf&&(c[nc].Bf=function(c){var d=a[nc].Bf(c);c=b[nc].Bf(c);return VV(d,c,e)});a.Ld&&b.Ld&&(c.Ld.ga=VV(a.Ld.ga,b.Ld.ga,e));a.Eb&&b.Eb&&X(c.Eb,function(c,h){c.ga=VV(a.Eb[h].ga,b.Eb[h].ga,e);c.Q=d(c.ga,c.ga)});a[dd]&&b[dd]&&X(c[dd],function(c,h){if(c){var k=a[dd][h].ya,m=b[dd][h].ya,q=c.ya;q&&q[dz]&&(q[dz].x=VV(k[dz].x,m[dz].x,e),q[dz].y=VV(k[dz].y,m[dz].y,e));c.ya&&(c.Q=d(c.ya[dz].x,c.ya[dz].y))}})} +function TV(a,b,c){if(!a||!b)return null;var d=ek(a);if(ri(a.W)||ri(b.W))d.W=VV(a.W||{},b.W||{},c);ri(a.Vq)&&ri(b.Vq)&&(d.Vq=VV(a.Vq,b.Vq,c));ri(a.Wq)&&ri(b.Wq)&&(d.Wq=VV(a.Wq,b.Wq,c));ri(a.Z)&&ri(b.Z)&&a.Z!==b.Z&&(d.Z=ek(a.Z),Xa(d.Z,Nn(a.Z[C],b.Z[C],1-c)),nb(d.Z,VV(ri(a.Z[Id])?a.Z[Id]:1,ri(b.Z[Id])?b.Z[Id]:1,c)));return d} +S.interpolate=function(a){var b=this.gj;if(b.Pe){var c=function(a,c){return WV(a,c,b.q,!0,!1)};Sj(b.Pe,function(b,d){XV(this.Faa[d][0],this.Faa[d][1],b,c,a)},this)}if(b.je){var d=function(a,c){return WV(a,c,b.q,!1,!0)};Sj(b.je,function(b,c){XV(this.Gaa[c][0],this.Gaa[c][1],b,d,a)},this)}if(this.ak&&this.wn){b.k=[];for(var e=0;ea.k[G])return!1;this.Af=b;for(var d=a.pie.Ah,e=a.k[G]/d[G],g=0;ga.k[q].Uc;)this.IH(a.k[q],h,k),q+=1;m&&this.IH(m,h,k);for(m=r-1;m>=q;--m)this.IH(a.k[m],h,k)}a.Eo&&(this.cM=c.xa(),this.nea(a.Eo),c[n](this.Af,this.cM));return!0}; +S.IH=function(a,b,c){if(a.Q){var d=this.D.xa(),e=this.Ib,g=e.pie.Qi,h=a[Ix];if(a.Jb){var k=e.pie.Iy,m=a.Jb,q=new OM;q[Ay](h.x+m.Df.x,h.y+m.Df.y);q.$(h.x+m.Df.x,h.y+m.Df.y+k);q.Uf(h.x+g.x,h.y+g.y+k,b,c,m.zd,m.Uc,!0);q.$(h.x+m.Tj.x,h.y+m.Tj.y);q.Uf(h.x+g.x,h.y+g.y,b,c,m.Uc,m.zd,!1);this.D.na(q,m.brush,d)}if(a.os||a.av)k=e.pie.Iy,e=new OM,e[Ay](h.x+g.x,h.y+g.y),e.$(h.x+g.x,h.y+g.y+k),a.av&&(e.$(h.x+a.Tj.x,h.y+a.Tj.y+k),e.$(h.x+a.Tj.x,h.y+a.Tj.y)),a.os&&(e.$(h.x+a.Df.x,h.y+a.Df.y+k),e.$(h.x+a.Df.x,h.y+ +a.Df.y)),this.D.na(e,a.UK,d);e=a.ev?a.ev.brush:a.brush;a.cq?0==a.DD&&0==a.Ny?this.D.Ql(g.x,g.y,b,c,e,d):(m=new OM,m[Ay](g.x,g.y-c),m.Uf(g.x,g.y,b,c,0,180,!0),m.Uf(g.x,g.y,b,c,180,360,!0),m[Ay](g.x,g.y-a.Ny),m.Uf(g.x,g.y,a.DD,a.Ny,360,180,!1),m.Uf(g.x,g.y,a.DD,a.Ny,180,0,!1),m[by](),this.D.na(m,e,d)):(m=new OM,m[Ay](h.x+a.R8.x,h.y+a.R8.y),m.$(h.x+a.Df.x,h.y+a.Df.y),m.Uf(h.x+g.x,h.y+g.y,b,c,a.zd,a.Uc,!0),m.$(h.x+a.S8.x,h.y+a.S8.y),m.Uf(h.x+g.x,h.y+g.y,a.DD,a.Ny,a.Uc,a.zd,!1),this.D.na(m,e,d));a.li&& +this.y9(a.li,d);if(b=a.Ym){b.Jb&&(c=new OM,c[Ay](b.Jb.Df.x,b.Jb.Df.y),c.$(b.Jb.Df.x,b.Jb.Df.y+k),c.Uf(b.Jb.ah.x,b.Jb.ah.y+k,b.Jb.Jc,b.Jb.Kc,b.Jb.zd,b.Jb.Uc,!0),c.$(b.Jb.Tj.x,b.Jb.Tj.y),c.Uf(b.Jb.ah.x,b.Jb.ah.y,b.Jb.Jc,b.Jb.Kc,b.Jb.Uc,b.Jb.zd,!1),this.D.na(c,b.Jb.brush,d));if(b.os||b.av)c=new OM,c[Ay](b.az.x,b.az.y),c.$(b.eL.x,b.eL.y),c.$(b.eL.x,b.eL.y+k),c.$(b.az.x,b.az.y+k),c.$(b.az.x,b.az.y),this.D.na(c,b.UK,d);this.y9(b,d)}a.IV&&this.D.Yd(a[dd],a.JV.x+h.x,a.JV.y+h.y,a.dL[p],IK,IK,a.Z,d);h=KO([CK, +a[qc]]);d=d.a();this.Be(this.Af,h,d);a.Sa&&(d=KO([ht,a[qc]]),this.xo(a.Sa,d))}};S.y9=function(a,b){if(a.cq)this.D.Ql(a.ah.x,a.ah.y,a.Jc,a.Kc,a.brush,b);else{var c=new OM;c[Ay](a.Df.x,a.Df.y);c.Uf(a.ah.x,a.ah.y,a.Jc,a.Kc,a.zd,a.Uc,!0);this.D.na(c,a.brush,b)}}; +S.nea=function(a){for(var b=T(this.xs,this),c=T(this.pi,this),d=this.D,e=this.cM,g=0;gc)break;this[$](pK+a,{kc:c,Bi:null})}};function bW(a,b,c,d,e,g,h){DV[J](this,a,b,c,d,e,h);var k=a.fa(iG,!0);this.zQa=kQ(g,function(b){return a.fa(DK+b+LA,k)})}W(bW,DV);S=bW[I];S.cu=function(a,b,c){this.U7(a,b,c)};S.z9=function(a,b){return a[Ey](b,!0)};S.Zda=function(a){return this.zQa[a]};S.SF=function(a,b){a.k=a.k||{};var c=a.k;c[b]=c[b]||{};return c[b]}; +S.U7=function(a,b,c){var d={Ib:a,Sj:this.oe.getEntries(),fv:c,Rl:b.kh},e=b.kh.Ra.Lv;null!=e&&Gw(b.kh.Ra,this.oe.fg(e)[my]);for(var g=this.Co.NV,e=g==Fh||g==wg,h=g==Lg||g==wg,k=this.oe&&0c){if(b-a.o9<1E3/30)return}else c=1,a.j9=!0;c=a.Gsa.interpolate(a.Fsa(c));a.n9=c;a.o9=b;this.Hc.Oq(c,{});this.Eh[$](qia)}this.R=a.m9}; +S.Tp=function(){this.Gg&&(xt(this.Gg.timer),this.Gg=null)};S.Jq=function(){var a=this.R.q;return{left:a[D],top:a.top,width:a[p],height:a[x]}};S.Rt=function(a){return null==this.Hc?null:(a=this.Hc.Rt(a))?{left:a[D],top:a.top,width:a[Zc]-a[D],height:a[Jc]-a.top}:null};S.Nl=function(){var a=this.R;return{Jq:T(this.Jq,this),Rt:T(this.Rt,this),mHa:T(Opa,null,a),nHa:T(Ppa,null,a),Rv:T(Qpa,null,a),Sv:T(Rpa,null,a)}};function dW(a){Xu[J](this,a);this.Nc=rqa++;this.dka=this.Ek=P;this.Xa=mH;this.$ca=null;this.Uv=!1;this.C=null}W(dW,Xu);dW[I].o=function(){this.kl();dW.e.o[J](this)};var rqa=0;S=dW[I];S.dh=null;S.hG=function(){this.C||(this.C=new cW(this.Nb,this))};S.Cd=function(a,b,c,d){this.Ek=a;null!=b&&(this.dka=b);null!=c&&(this.Xa=c);null!=d&&(this.$ca=d)}; +S.es=function(a,b,c,d){c=c||{};c=Po(Mo(c));this.hG();this.bza(c);this.cza(c);Uw(c,c[Ny]||this.Xa);c.theme=c.theme||this.$ca;this.Ek!=P&&sqa(c);tqa(c);tt.Tc(this.Nb);if(!b)throw l(YB);if(mj(Kj(b.G()),function(a){return b.Sy(a)==aJ})){if(c.aggregate)throw l("Aggregate must be done when creating diff data");c.isDiff=!0}this.wv=b.I(0)!=jh?1:0;this.Gh=b.O();var e=b;this.Ek==tJ&&(e=this.zZ(b,c.aggregate));this.C[hr](a,e,c,d)}; +S.zZ=function(a,b){var c=a;a.I(0)!=jh&&(1==a.G()?(c=gw(a,[0],[{column:0,aggregation:fw,type:jh}]),this.Uv=!0):b&&(c=gw(a,[0],[{column:1,aggregation:ew,type:jh}]),this.Uv=!0));return c}; +S.mV=function(a,b,c){a.I(0);b.I(0);var d=a,e=b;this.Ek==tJ&&(d=this.zZ(a,c),e=this.zZ(b,c));a=new Ap;b=e.O();c=e.G();var g=d.I(0)!=jh;g&&a.jh(d.I(0),d.ob(0));for(var h=g?1:0,k=h;k=a)this.ZL=1;else{var b=0,b=this.ej.bk.min,c=this.og[nc].Ak(b),d=null;wi(c)?(d=new Date,d[Lc](c[fc]()+a)):d=c+a;b=f[Ab](f.abs(this.og[nc].Bf(d)-b));a=f.max(b,1);this.ZL=ac)return{direction:-1*b,mea:c/0.1};a=(this.ej.bk.max-this.B[hy].Wg)/a;return 0.1>a?{direction:1*b,mea:a/0.1}:null};S.o_=function(){if(this.gL){var a=!1;this.B.Cg==wg&&this.aca()&&(a=!0);a&&!this.Js?(this.Js=new $t(this.cE),this.H.l(this.Js,ft,T(this.GCa,this)),this.Js[Ec]()):!a&&this.Js&&(xt(this.Js),this.Js=null)}}; +S.GCa=function(){if(this.Js){var a=this.aca(),b=this.cE/(1E3+59E3*a.mea),c=this.fj.sl(this.JL),d=this.fj.sl(this.HL),e=(d-c)*b,b=this.oq.domainAxis.viewWindow,g=b.max,h=this.fj.sl(b.min),g=this.fj.sl(g);0>a[nx]?(c=f.max(h-e,c),a=g-(h-c)):(a=f.min(g+e,d),c=h+(a-g));h=this.fj.px(c);a=this.fj.px(a);b.min=h;b.max=a;Nu(this.C,Vs,T(this.Dda,this,null));this.C[hr](this.n,this.oq);this.t_(!0)}};S.Dsa=function(a,b){a.Is&&null!=this.B.Cg&&(this.BV||this.Ola(b),xw(b[gr][w],QI))}; +S.Csa=function(a,b){a.Is&&null!=this.B.Cg&&this.Ola(b)};S.Ola=function(a){var b=this.B;b[hy]&&null!=b[hy].Xg&&null!=b[hy].Wg||(b.range={Xg:this.ej.bk.min,Wg:this.ej.bk.max});a=Om(a);a=this.HGa((this.lg?a.y:a.x)-b.XL);b.XL+=a;b.Cg!=uI&&(b[hy].Xg+=a);b.Cg!=EI&&(b[hy].Wg+=a);this.o_();this.ME.mc(this.cE);this.LE.mc(this.cE)}; +S.HGa=function(a){var b=this.B[hy],c=this.ej.bk,d,e;switch(this.B.Cg){case wg:d=c.min-b.Xg;e=c.max-b.Wg;break;case EI:d=c.min-b.Xg;e=b.Wg-this.ZL-b.Xg;break;case uI:d=b.Xg+this.ZL-b.Wg,e=c.max-b.Wg}return cl(a,d,e)};S.iv=function(a,b,c){if(a.Is&&c.XA()){a=Om(c);var d=this.B;d.XL=this.lg?a.y:a.x;d.Cg=b.Cg;this.o_();c[oq]()}}; +S.f9=function(a){if(a.Is&&(a=this.B,null!==a.Cg)){if(this.XV){var b=this.rW,c=a[hy].Wg,d=Rn(b,a[hy].Xg),b=Rn(b,c);this.W_(d,b,a.Cg)}else if(this.WV){var e=new En(a[hy].Xg,a[hy].Wg),d=e.end-e[Ec],c=this.ej.bk,b=c.max-c.min;b>d||Mn(b,d,1E-5);b=this.rW;b=this.sAa(e,b);Ka(b,f.max(b[Ec],c.min));b.end=b[Ec]+d;b.end=f.min(b.end,c.max);Ka(b,b.end-d);this.W_(b[Ec],b.end,a.Cg)}else this.gL&&a.Cg!=wg&&(b=this.oq.domainAxis.viewWindow,d=this.AP(),this.lda(b,d),Nu(this.C,Vs,T(this.Dda,this,{range:d})),this.C[hr](this.n, +this.oq));this.t_(!1);a.Cg=null;this.o_()}};S.sAa=function(a,b){var c=T(Fn,null,a),d=oj(b,c),e=qj(b,c);if(null===d||null===e)d=Rn(b,a[Ec]),c=Rn(b,a.end),e=d=c=f.abs(a[Ec]-d)<=f.abs(a.end-c)?d:c;c=a.end-a[Ec];d=jl(d,e)-c/2;e=d+c;Mn(e-d,c,1E-5);return new En(d,e)}; +S.lda=function(a,b){var c=a.max,d=this.fj.sl(a.min),c=this.fj.sl(c),e=c-d,g=b[Ec],h=b.end;if(null!=g&&null!=h){var k=this.fj.sl(g),m=this.fj.sl(h),h=m-k,g=0.1*e,q=0.6*e;h>=g&&h<=q||(k=(k+m)/2,e/=(hb.end&&(Ka(a,a[Ec]-(a.end-b.end)),a.end=b.end);a[Ec] -
- <% if PrimaryActions %> -
- <% loop PrimaryActions %> - $Action - <% end_loop %> -
- <% end_if %> - -
- +
+
+
+ <% if PrimaryActions %> +
+ <% loop PrimaryActions %> + $Action + <% end_loop %>
+ <% end_if %> -

$Title

-
- -
- $Content +
+
- + +
+ $Content +
+ + -
-
-
- <% loop Form.Fields %> - $FieldHolder +
+ +
+ <% loop Form.Fields %> + $FieldHolder + <% end_loop %> +
+
+ <% loop Form.Actions %> + $Field <% end_loop %> -
-
- <% loop Form.Actions %> - $Field - <% end_loop %> -
- -
+
+
+
+
\ No newline at end of file diff --git a/templates/Includes/Dashboard_Content.ss b/templates/Includes/Dashboard_Content.ss index 3d468c2..78ee20f 100644 --- a/templates/Includes/Dashboard_Content.ss +++ b/templates/Includes/Dashboard_Content.ss @@ -23,39 +23,41 @@
-
+
$PanelHolder
-
-
-
- -
+
+
+
+
+ +
-

<% _t('Dashboard.CHOOSEPANELTYPE','Choose a panel type') %>

-
-
- <% loop AllPanels %> -
data-configure="true"<% end_if %>> -
- -
-
-

$Label

-

$Description

+

<% _t('Dashboard.CHOOSEPANELTYPE','Choose a panel type') %>

+
+
+ <% loop AllPanels %> +
data-configure="true"<% end_if %>> +
+ +
+
+

$Label

+

$Description

+
+ <% end_loop %> +
+ -
-
+
diff --git a/templates/forms/DashboardDropdownField.ss b/templates/forms/DashboardDropdownField.ss new file mode 100644 index 0000000..fa0b54d --- /dev/null +++ b/templates/forms/DashboardDropdownField.ss @@ -0,0 +1,5 @@ +