Added jqwidgets 6.0.5

Sun, 05 Aug 2018 11:32:13 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 05 Aug 2018 11:32:13 +0200
changeset 1
37f1a08315f3
parent 0
033898178630
child 2
282e7d2bb28a

Added jqwidgets 6.0.5

www/images/calendarIcon.png file | annotate | diff | comparison | revisions
www/images/close.png file | annotate | diff | comparison | revisions
www/images/contactsIcon.png file | annotate | diff | comparison | revisions
www/images/earth.png file | annotate | diff | comparison | revisions
www/images/favorites.png file | annotate | diff | comparison | revisions
www/images/folder.png file | annotate | diff | comparison | revisions
www/images/folderIcon.png file | annotate | diff | comparison | revisions
www/images/mailIcon.png file | annotate | diff | comparison | revisions
www/images/notesIcon.png file | annotate | diff | comparison | revisions
www/images/recycle.png file | annotate | diff | comparison | revisions
www/images/refresh.png file | annotate | diff | comparison | revisions
www/images/settings.png file | annotate | diff | comparison | revisions
www/images/tasksIcon.png file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.cs-CZ.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.de-DE.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.en-CA.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.en-US.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.fr-FR.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.he-IL.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.hr-HR.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.hu-HU.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.it-IT.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.ja-JP.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.lt.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.ru-RU.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.culture.sa-IN.js file | annotate | diff | comparison | revisions
www/jqwidgets/globalization/globalize.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqx-all.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxangular.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxbargauge.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxbulletchart.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxbuttongroup.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxbuttons.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxcalendar.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxchart.annotations.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxchart.api.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxchart.core.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxchart.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxchart.rangeselector.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxchart.waterfall.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxcheckbox.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxcolorpicker.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxcombobox.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxcomplexinput.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxcore.elements.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxcore.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdata.export.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdata.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdatatable.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdate.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdatetimeinput.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdocking.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdockinglayout.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdockpanel.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdragdrop.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdraw.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdropdownbutton.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxdropdownlist.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxeditor.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxexpander.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxfileupload.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxform.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxformattedinput.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgauge.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.aggregates.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.columnsreorder.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.columnsresize.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.edit.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.export.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.filter.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.grouping.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.pager.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.selection.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.sort.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxgrid.storage.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxinput.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxkanban.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxknob.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxknockout.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxlayout.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxlistbox.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxlistmenu.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxloader.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxmaskedinput.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxmenu.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxnavbar.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxnavigationbar.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxnotification.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxnumberinput.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxpanel.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxpasswordinput.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxpivot.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxpivotdesigner.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxpivotgrid.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxpopover.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxprogressbar.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxradiobutton.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxrangeselector.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxrating.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxresponse.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxresponsivepanel.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxribbon.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxscheduler.api.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxscheduler.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxscrollbar.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxscrollview.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxslider.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxsortable.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxsplitter.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxswitchbutton.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxtabs.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxtagcloud.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxtextarea.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxtoolbar.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxtooltip.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxtouch.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxtree.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxtreegrid.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxtreemap.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxvalidator.js file | annotate | diff | comparison | revisions
www/jqwidgets/jqxwindow.js file | annotate | diff | comparison | revisions
www/jqwidgets/styles/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/backImage.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/backgroundTop.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_black.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_black_horizontal.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_blackhover.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_blackhover_horizontal.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_blackpressed.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_blackpressed_horizontal.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_blueenergy.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_darkblue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_darkbluehover.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/bg_darkbluepressed.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/black_gradient.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/blackbackground.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_black.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_blue_indeterminate.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_disabled.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_indeterminate_black.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_indeterminate_disabled.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_indeterminate_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_lightblue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_lightblue_indeterminate.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/check_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/close.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/close_black.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/close_blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/close_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/colorpicker/ReadMe.txt file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/colorpicker/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/colorpicker/bar-hue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/colorpicker/bar-saturation.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/colorpicker/map-hue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/colorpicker/map-saturation-overlay.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/colorpicker/map-saturation.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/common.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/crosshair-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/crosshair.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ReadMe.txt file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-bg_flat_30_cccccc_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-bg_flat_50_5c5c5c_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-bg_glass_20_555555_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-bg_glass_40_0078a3_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-bg_glass_40_ffc73d_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-bg_gloss-wave_25_333333_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-bg_inset-soft_25_000000_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-bg_inset-soft_30_f58400_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-icons_222222_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-icons_4b8e0b_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-icons_a83300_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-icons_cccccc_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkness/ui-icons_ffffff_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/darkred_gradient.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/drag.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/dragcancel.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/error.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/filter.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/html_editor.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/html_editor_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-calendar-light.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-calendar-metro-light.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-calendar-metro-yellow-light.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-calendar-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-calendar.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-cancel-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-cancel.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-delete-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-delete.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-down-blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-down-transparent.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-down-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-down.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-edit-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-edit.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-first-blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-first-transparent.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-first-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-first.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-info-small.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-last-blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-last-transparent.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-last-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-last.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-left-blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-left-transparent.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-left-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-left.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-menu-minimized-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-menu-minimized.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-menu-small-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-menu-small.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-plus-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-plus.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-recurrence-exception-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-recurrence-exception.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-recurrence-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-recurrence.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-right-blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-right-transparent.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-right-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-right.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-save-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-save.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-showpassword-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-showpassword.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-sort-asc-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-sort-asc.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-sort-desc-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-sort-desc.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-sort-remove-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-sort-remove.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-time-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-time.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-up-blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-up-transparent.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-up-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon-up.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon_collapse.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/icon_expand.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/info.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ReadMe.txt file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-bg_diagonals-small_0_aaaaaa_40x40.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-bg_diagonals-thick_15_444444_40x40.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-bg_diagonals-thick_95_ffdc2e_40x40.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-bg_glass_55_fbf5d0_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-bg_highlight-hard_30_285c00_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-bg_highlight-soft_33_3a8104_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-bg_highlight-soft_50_4eb305_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-bg_highlight-soft_60_4ca20b_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-bg_inset-soft_10_285c00_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-icons_4eb305_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-icons_72b42d_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-icons_cd0a0a_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/le-frog/ui-icons_ffffff_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ReadMe.txt file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/icon-first.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/icon-last.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-bg_diagonals-thick_18_b81900_40x40.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-bg_diagonals-thick_20_666666_40x40.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-bg_flat_10_000000_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-bg_glass_100_f6f6f6_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-bg_glass_100_fdf5ce_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-bg_glass_65_ffffff_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-bg_gloss-wave_35_f6a828_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-bg_highlight-soft_100_eeeeee_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-bg_highlight-soft_75_ffe45c_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-icons_222222_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-icons_228ef1_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-icons_ef8c08_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-icons_ffd27a_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/lightness/ui-icons_ffffff_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/loader-small.gif file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/loader.gif file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/mail.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-down-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-down.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-first-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-first.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-last-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-last.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-left-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-left.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-right-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-right.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-up-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material-icon-up.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material_check_black.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/material_check_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/menubutton.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-down-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-down.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-first-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-first.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-last-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-last.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-left-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-left.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-right - Copy.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-right-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-right.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-up-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/metro-icon-up.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/multi-arrow.gif file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/office-icon-down.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/office-icon-first.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/office-icon-last.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/office-icon-left.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/office-icon-right.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/office-icon-up.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ReadMe.txt file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-bg_flat_0_aaaaaa_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-bg_flat_0_eeeeee_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-bg_flat_55_c0402a_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-bg_flat_55_eeeeee_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-bg_glass_100_f8f8f8_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-bg_glass_35_dddddd_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-bg_glass_60_eeeeee_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-bg_inset-hard_75_999999_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-bg_inset-soft_50_c9c9c9_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-icons_3383bb_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-icons_454545_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-icons_70b2e1_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-icons_999999_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/overcast/ui-icons_fbc856_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pin-black.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pin-blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pin-lightblue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pin-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pin-yellow.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pin.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pinned-black.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pinned-blue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pinned-lightblue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pinned-white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pinned-yellow.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pinned.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/plus.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/plus_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/pointer.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/rangebar_classic.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/rangebar_darkblue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/rangebar_shinyblack.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/rangebar_summer.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/red_arrow_down.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/red_arrow_up.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/red_gradient.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ReadMe.txt file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/icon-first.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/icon-last.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-bg_flat_0_aaaaaa_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-bg_flat_55_fbec88_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-bg_glass_75_d0e5f5_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-bg_glass_85_dfeffc_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-bg_glass_95_fef1ec_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-bg_gloss-wave_55_5c9ccc_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-bg_inset-hard_100_f5f8f9_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-bg_inset-hard_100_fcfdfd_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-icons_217bc0_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-icons_2e83ff_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-icons_469bdd_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-icons_6da8d5_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-icons_cd0a0a_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-icons_d8e7f3_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/redmond/ui-icons_f9bd01_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/roundbg_check_black.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/roundbg_check_disabled.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/roundbg_check_indeterminate.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/roundbg_check_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/roundbg_classic_hover.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/roundbg_classic_normal.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/roundbg_disabled.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/search.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/search_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ReadMe.txt file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-bg_flat_0_aaaaaa_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-bg_flat_75_ffffff_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-bg_glass_55_fbf9ee_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-bg_glass_65_ffffff_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-bg_glass_75_dadada_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-bg_glass_75_e6e6e6_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-bg_glass_95_fef1ec_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-bg_highlight-soft_75_cccccc_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-icons_222222_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-icons_2e83ff_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-icons_454545_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-icons_888888_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/smoothness/ui-icons_cd0a0a_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sortasc.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sortascbutton.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sortdesc.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sortdescbutton.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sortremove.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/star.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/star_disabled.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/star_hover.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ReadMe.txt file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-bg_flat_55_999999_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-bg_flat_75_aaaaaa_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-bg_glass_45_0078ae_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-bg_glass_55_f8da4e_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-bg_glass_75_79c9ec_1x400.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-bg_gloss-wave_45_e14f1c_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-bg_gloss-wave_50_6eac2c_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-bg_gloss-wave_75_2191c0_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-bg_inset-hard_100_fcfdfd_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-icons_0078ae_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-icons_056b93_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-icons_d8e7f3_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-icons_e0fdff_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-icons_f5e175_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-icons_f7a50d_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/start/ui-icons_fcd113_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/stripes.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/success.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ReadMe.txt file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/Thumbs.db file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-bg_diagonals-medium_20_d34d17_40x40.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-bg_flat_30_cccccc_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-bg_flat_50_5c5c5c_40x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-bg_gloss-wave_45_817865_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-bg_gloss-wave_60_fece2f_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-bg_gloss-wave_70_ffdd57_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-bg_gloss-wave_90_fff9e5_500x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-bg_highlight-soft_100_feeebd_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-bg_inset-soft_30_ffffff_1x100.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-icons_3d3d3d_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-icons_bd7b00_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-icons_d19405_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-icons_eb990f_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-icons_ed9f26_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-icons_fadc7a_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/sunny/ui-icons_ffe180_256x240.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/tick.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/time.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/track_classic.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/track_darkblue.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/track_shinyblack.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/track_summer.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/warning.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/wp_check_indeterminate_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/images/wp_check_white.png file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.android.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.arctic.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.base.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.black.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.blackberry.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.bootstrap.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.classic.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.dark.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.darkblue.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.energyblue.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.flat.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.fresh.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.glacier.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.highcontrast.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.light.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.material-green.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.material-purple.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.material.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.metro.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.metrodark.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.mobile.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.office.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.orange.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.shinyblack.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.summer.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.ui-darkness.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.ui-le-frog.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.ui-lightness.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.ui-overcast.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.ui-redmond.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.ui-smoothness.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.ui-start.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.ui-sunny.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.web.css file | annotate | diff | comparison | revisions
www/jqwidgets/styles/jqx.windowsphone.css file | annotate | diff | comparison | revisions
www/js/index.js file | annotate | diff | comparison | revisions
www/js/jquery-2.1.1.min.js file | annotate | diff | comparison | revisions
Binary file www/images/calendarIcon.png has changed
Binary file www/images/close.png has changed
Binary file www/images/contactsIcon.png has changed
Binary file www/images/earth.png has changed
Binary file www/images/favorites.png has changed
Binary file www/images/folder.png has changed
Binary file www/images/folderIcon.png has changed
Binary file www/images/mailIcon.png has changed
Binary file www/images/notesIcon.png has changed
Binary file www/images/recycle.png has changed
Binary file www/images/refresh.png has changed
Binary file www/images/settings.png has changed
Binary file www/images/tasksIcon.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.cs-CZ.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,85 @@
+/*
+ * Globalize Culture cs-CZ
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "cs-CZ", "default", {
+	name: "cs-CZ",
+	englishName: "Czech (Czech Republic)",
+	nativeName: "čeština (Česká republika)",
+	language: "cs",
+	numberFormat: {
+		",": " ",
+		".": ",",
+		"NaN": "Není číslo",
+		negativeInfinity: "-nekonečno",
+		positiveInfinity: "+nekonečno",
+		percent: {
+			pattern: ["-n%","n%"],
+			",": " ",
+			".": ","
+		},
+		currency: {
+			pattern: ["-n $","n $"],
+			",": " ",
+			".": ",",
+			symbol: "Kč"
+		}
+	},
+	calendars: {
+		standard: {
+			"/": ".",
+			firstDay: 1,
+			days: {
+				names: ["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],
+				namesAbbr: ["ne","po","út","st","čt","pá","so"],
+				namesShort: ["ne","po","út","st","čt","pá","so"]
+			},
+			months: {
+				names: ["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec",""],
+				namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
+			},
+			monthsGenitive: {
+				names: ["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince",""],
+				namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
+			},
+			AM: ["dop.","dop.","DOP."],
+			PM: ["odp.","odp.","ODP."],
+			eras: [{"name":"n. l.","start":null,"offset":0}],
+			patterns: {
+				d: "d.M.yyyy",
+				D: "d. MMMM yyyy",
+				t: "H:mm",
+				T: "H:mm:ss",
+				f: "d. MMMM yyyy H:mm",
+				F: "d. MMMM yyyy H:mm:ss",
+				M: "dd MMMM",
+				Y: "MMMM yyyy"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.de-DE.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,81 @@
+/*
+ * Globalize Culture de-DE
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "de-DE", "default", {
+	name: "de-DE",
+	englishName: "German (Germany)",
+	nativeName: "Deutsch (Deutschland)",
+	language: "de",
+	numberFormat: {
+		",": ".",
+		".": ",",
+		"NaN": "n. def.",
+		negativeInfinity: "-unendlich",
+		positiveInfinity: "+unendlich",
+		percent: {
+			pattern: ["-n%","n%"],
+			",": ".",
+			".": ","
+		},
+		currency: {
+			pattern: ["-n $","n $"],
+			",": ".",
+			".": ",",
+			symbol: "€"
+		}
+	},
+	calendars: {
+		standard: {
+			"/": ".",
+			firstDay: 1,
+			days: {
+				names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],
+				namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"],
+				namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"]
+			},
+			months: {
+				names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],
+				namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""]
+			},
+			AM: null,
+			PM: null,
+			eras: [{"name":"n. Chr.","start":null,"offset":0}],
+			patterns: {
+				d: "dd.MM.yyyy",
+				D: "dddd, d. MMMM yyyy",
+				t: "HH:mm",
+				T: "HH:mm:ss",
+				f: "dddd, d. MMMM yyyy HH:mm",
+				F: "dddd, d. MMMM yyyy HH:mm:ss",
+				M: "dd MMMM",
+				Y: "MMMM yyyy"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.en-CA.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,49 @@
+/*
+ * Globalize Culture en-CA
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "en-CA", "default", {
+	name: "en-CA",
+	englishName: "English (Canada)",
+	nativeName: "English (Canada)",
+	numberFormat: {
+		currency: {
+			pattern: ["-$n","$n"]
+		}
+	},
+	calendars: {
+		standard: {
+			patterns: {
+				d: "dd/MM/yyyy",
+				D: "MMMM-dd-yy",
+				f: "MMMM-dd-yy h:mm tt",
+				F: "MMMM-dd-yy h:mm:ss tt"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.en-US.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,33 @@
+/*
+ * Globalize Culture en-US
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "en-US", "default", {
+	name: "en-US",
+	englishName: "English (United States)"
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.fr-FR.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,79 @@
+/*
+ * Globalize Culture fr-FR
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "fr-FR", "default", {
+	name: "fr-FR",
+	englishName: "French (France)",
+	nativeName: "français (France)",
+	language: "fr",
+	numberFormat: {
+		",": " ",
+		".": ",",
+		"NaN": "Non Numérique",
+		negativeInfinity: "-Infini",
+		positiveInfinity: "+Infini",
+		percent: {
+			",": " ",
+			".": ","
+		},
+		currency: {
+			pattern: ["-n $","n $"],
+			",": " ",
+			".": ",",
+			symbol: "€"
+		}
+	},
+	calendars: {
+		standard: {
+			firstDay: 1,
+			days: {
+				names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],
+				namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],
+				namesShort: ["di","lu","ma","me","je","ve","sa"]
+			},
+			months: {
+				names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],
+				namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""]
+			},
+			AM: null,
+			PM: null,
+			eras: [{"name":"ap. J.-C.","start":null,"offset":0}],
+			patterns: {
+				d: "dd/MM/yyyy",
+				D: "dddd d MMMM yyyy",
+				t: "HH:mm",
+				T: "HH:mm:ss",
+				f: "dddd d MMMM yyyy HH:mm",
+				F: "dddd d MMMM yyyy HH:mm:ss",
+				M: "d MMMM",
+				Y: "MMMM yyyy"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.he-IL.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,97 @@
+/*
+ * Globalize Culture he-IL
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "he-IL", "default", {
+	name: "he-IL",
+	englishName: "Hebrew (Israel)",
+	nativeName: "עברית (ישראל)",
+	language: "he",
+	isRTL: true,
+	numberFormat: {
+		"NaN": "לא מספר",
+		negativeInfinity: "אינסוף שלילי",
+		positiveInfinity: "אינסוף חיובי",
+		percent: {
+			pattern: ["-n%","n%"]
+		},
+		currency: {
+			pattern: ["$-n","$ n"],
+			symbol: "₪"
+		}
+	},
+	calendars: {
+		standard: {
+			days: {
+				names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],
+				namesAbbr: ["יום א","יום ב","יום ג","יום ד","יום ה","יום ו","שבת"],
+				namesShort: ["א","ב","ג","ד","ה","ו","ש"]
+			},
+			months: {
+				names: ["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר",""],
+				namesAbbr: ["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ",""]
+			},
+			eras: [{"name":"לספירה","start":null,"offset":0}],
+			patterns: {
+				d: "dd/MM/yyyy",
+				D: "dddd dd MMMM yyyy",
+				t: "HH:mm",
+				T: "HH:mm:ss",
+				f: "dddd dd MMMM yyyy HH:mm",
+				F: "dddd dd MMMM yyyy HH:mm:ss",
+				M: "dd MMMM",
+				Y: "MMMM yyyy"
+			}
+		},
+		Hebrew: {
+			name: "Hebrew",
+			"/": " ",
+			days: {
+				names: ["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","שבת"],
+				namesAbbr: ["א","ב","ג","ד","ה","ו","ש"],
+				namesShort: ["א","ב","ג","ד","ה","ו","ש"]
+			},
+			months: {
+				names: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"],
+				namesAbbr: ["תשרי","חשון","כסלו","טבת","שבט","אדר","אדר ב","ניסן","אייר","סיון","תמוז","אב","אלול"]
+			},
+			eras: [{"name":"C.E.","start":null,"offset":0}],
+			twoDigitYearMax: 5790,
+			patterns: {
+				d: "dd MMMM yyyy",
+				D: "dddd dd MMMM yyyy",
+				t: "HH:mm",
+				T: "HH:mm:ss",
+				f: "dddd dd MMMM yyyy HH:mm",
+				F: "dddd dd MMMM yyyy HH:mm:ss",
+				M: "dd MMMM",
+				Y: "MMMM yyyy"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.hr-HR.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,81 @@
+/*
+ * Globalize Culture hr-HR
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "hr-HR", "default", {
+	name: "hr-HR",
+	englishName: "Croatian (Croatia)",
+	nativeName: "hrvatski (Hrvatska)",
+	language: "hr",
+	numberFormat: {
+		pattern: ["- n"],
+		",": ".",
+		".": ",",
+		percent: {
+			pattern: ["-n%","n%"],
+			",": ".",
+			".": ","
+		},
+		currency: {
+			pattern: ["-n $","n $"],
+			",": ".",
+			".": ",",
+			symbol: "kn"
+		}
+	},
+	calendars: {
+		standard: {
+			"/": ".",
+			firstDay: 1,
+			days: {
+				names: ["nedjelja","ponedjeljak","utorak","srijeda","četvrtak","petak","subota"],
+				namesAbbr: ["ned","pon","uto","sri","čet","pet","sub"],
+				namesShort: ["ne","po","ut","sr","če","pe","su"]
+			},
+			months: {
+				names: ["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac",""],
+				namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""]
+			},
+			monthsGenitive: {
+				names: ["siječnja","veljače","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenog","prosinca",""],
+				namesAbbr: ["sij","vlj","ožu","tra","svi","lip","srp","kol","ruj","lis","stu","pro",""]
+			},
+			AM: null,
+			PM: null,
+			patterns: {
+				d: "d.M.yyyy.",
+				D: "d. MMMM yyyy.",
+				t: "H:mm",
+				T: "H:mm:ss",
+				f: "d. MMMM yyyy. H:mm",
+				F: "d. MMMM yyyy. H:mm:ss",
+				M: "d. MMMM"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.hu-HU.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,80 @@
+/*
+ * Globalize Culture hu-HU
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "hu-HU", "default", {
+	name: "hu-HU",
+	englishName: "Hungarian (Hungary)",
+	nativeName: "magyar (Magyarország)",
+	language: "hu",
+	numberFormat: {
+		",": " ",
+		".": ",",
+		"NaN": "nem szám",
+		negativeInfinity: "negatív végtelen",
+		positiveInfinity: "végtelen",
+		percent: {
+			",": " ",
+			".": ","
+		},
+		currency: {
+			pattern: ["-n $","n $"],
+			",": " ",
+			".": ",",
+			symbol: "Ft"
+		}
+	},
+	calendars: {
+		standard: {
+			"/": ".",
+			firstDay: 1,
+			days: {
+				names: ["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],
+				namesAbbr: ["V","H","K","Sze","Cs","P","Szo"],
+				namesShort: ["V","H","K","Sze","Cs","P","Szo"]
+			},
+			months: {
+				names: ["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december",""],
+				namesAbbr: ["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec.",""]
+			},
+			AM: ["de.","de.","DE."],
+			PM: ["du.","du.","DU."],
+			eras: [{"name":"i.sz.","start":null,"offset":0}],
+			patterns: {
+				d: "yyyy.MM.dd.",
+				D: "yyyy. MMMM d.",
+				t: "H:mm",
+				T: "H:mm:ss",
+				f: "yyyy. MMMM d. H:mm",
+				F: "yyyy. MMMM d. H:mm:ss",
+				M: "MMMM d.",
+				Y: "yyyy. MMMM"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.it-IT.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,80 @@
+/*
+ * Globalize Culture it-IT
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "it-IT", "default", {
+	name: "it-IT",
+	englishName: "Italian (Italy)",
+	nativeName: "italiano (Italia)",
+	language: "it",
+	numberFormat: {
+		",": ".",
+		".": ",",
+		"NaN": "Non un numero reale",
+		negativeInfinity: "-Infinito",
+		positiveInfinity: "+Infinito",
+		percent: {
+			pattern: ["-n%","n%"],
+			",": ".",
+			".": ","
+		},
+		currency: {
+			pattern: ["-$ n","$ n"],
+			",": ".",
+			".": ",",
+			symbol: "€"
+		}
+	},
+	calendars: {
+		standard: {
+			firstDay: 1,
+			days: {
+				names: ["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],
+				namesAbbr: ["dom","lun","mar","mer","gio","ven","sab"],
+				namesShort: ["do","lu","ma","me","gi","ve","sa"]
+			},
+			months: {
+				names: ["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre",""],
+				namesAbbr: ["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic",""]
+			},
+			AM: null,
+			PM: null,
+			eras: [{"name":"d.C.","start":null,"offset":0}],
+			patterns: {
+				d: "dd/MM/yyyy",
+				D: "dddd d MMMM yyyy",
+				t: "HH:mm",
+				T: "HH:mm:ss",
+				f: "dddd d MMMM yyyy HH:mm",
+				F: "dddd d MMMM yyyy HH:mm:ss",
+				M: "dd MMMM",
+				Y: "MMMM yyyy"
+			}
+		}
+	}
+});
+
+}( this ));
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.ja-JP.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,100 @@
+/*
+ * Globalize Culture ja-JP
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "ja-JP", "default", {
+	name: "ja-JP",
+	englishName: "Japanese (Japan)",
+	nativeName: "日本語 (日本)",
+	language: "ja",
+	numberFormat: {
+		"NaN": "NaN (非数値)",
+		negativeInfinity: "-∞",
+		positiveInfinity: "+∞",
+		percent: {
+			pattern: ["-n%","n%"]
+		},
+		currency: {
+			pattern: ["-$n","$n"],
+			decimals: 0,
+			symbol: "¥"
+		}
+	},
+	calendars: {
+		standard: {
+			days: {
+				names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],
+				namesAbbr: ["日","月","火","水","木","金","土"],
+				namesShort: ["日","月","火","水","木","金","土"]
+			},
+			months: {
+				names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],
+				namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
+			},
+			AM: ["午前","午前","午前"],
+			PM: ["午後","午後","午後"],
+			eras: [{"name":"西暦","start":null,"offset":0}],
+			patterns: {
+				d: "yyyy/MM/dd",
+				D: "yyyy'年'M'月'd'日'",
+				t: "H:mm",
+				T: "H:mm:ss",
+				f: "yyyy'年'M'月'd'日' H:mm",
+				F: "yyyy'年'M'月'd'日' H:mm:ss",
+				M: "M'月'd'日'",
+				Y: "yyyy'年'M'月'"
+			}
+		},
+		Japanese: {
+			name: "Japanese",
+			days: {
+				names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],
+				namesAbbr: ["日","月","火","水","木","金","土"],
+				namesShort: ["日","月","火","水","木","金","土"]
+			},
+			months: {
+				names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],
+				namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
+			},
+			AM: ["午前","午前","午前"],
+			PM: ["午後","午後","午後"],
+			eras: [{"name":"平成","start":null,"offset":1867},{"name":"昭和","start":-1812153600000,"offset":1911},{"name":"大正","start":-1357603200000,"offset":1925},{"name":"明治","start":60022080000,"offset":1988}],
+			twoDigitYearMax: 99,
+			patterns: {
+				d: "gg y/M/d",
+				D: "gg y'年'M'月'd'日'",
+				t: "H:mm",
+				T: "H:mm:ss",
+				f: "gg y'年'M'月'd'日' H:mm",
+				F: "gg y'年'M'月'd'日' H:mm:ss",
+				M: "M'月'd'日'",
+				Y: "gg y'年'M'月'"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.lt.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,83 @@
+/*
+ * Globalize Culture lt
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "lt", "default", {
+	name: "lt",
+	englishName: "Lithuanian",
+	nativeName: "lietuvių",
+	language: "lt",
+	numberFormat: {
+		",": ".",
+		".": ",",
+		negativeInfinity: "-begalybė",
+		positiveInfinity: "begalybė",
+		percent: {
+			pattern: ["-n%","n%"],
+			",": ".",
+			".": ","
+		},
+		currency: {
+			pattern: ["-n $","n $"],
+			",": ".",
+			".": ",",
+			symbol: "Lt"
+		}
+	},
+	calendars: {
+		standard: {
+			"/": ".",
+			firstDay: 1,
+			days: {
+				names: ["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],
+				namesAbbr: ["Sk","Pr","An","Tr","Kt","Pn","Št"],
+				namesShort: ["S","P","A","T","K","Pn","Š"]
+			},
+			months: {
+				names: ["sausis","vasaris","kovas","balandis","gegužė","birželis","liepa","rugpjūtis","rugsėjis","spalis","lapkritis","gruodis",""],
+				namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""]
+			},
+			monthsGenitive: {
+				names: ["sausio","vasario","kovo","balandžio","gegužės","birželio","liepos","rugpjūčio","rugsėjo","spalio","lapkričio","gruodžio",""],
+				namesAbbr: ["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rgp","Rgs","Spl","Lap","Grd",""]
+			},
+			AM: null,
+			PM: null,
+			patterns: {
+				d: "yyyy.MM.dd",
+				D: "yyyy 'm.' MMMM d 'd.'",
+				t: "HH:mm",
+				T: "HH:mm:ss",
+				f: "yyyy 'm.' MMMM d 'd.' HH:mm",
+				F: "yyyy 'm.' MMMM d 'd.' HH:mm:ss",
+				M: "MMMM d 'd.'",
+				Y: "yyyy 'm.' MMMM"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.ru-RU.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,82 @@
+/*
+ * Globalize Culture ru-RU
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "ru-RU", "default", {
+	name: "ru-RU",
+	englishName: "Russian (Russia)",
+	nativeName: "русский (Россия)",
+	language: "ru",
+	numberFormat: {
+		",": " ",
+		".": ",",
+		negativeInfinity: "-бесконечность",
+		positiveInfinity: "бесконечность",
+		percent: {
+			pattern: ["-n%","n%"],
+			",": " ",
+			".": ","
+		},
+		currency: {
+			pattern: ["-n$","n$"],
+			",": " ",
+			".": ",",
+			symbol: "р."
+		}
+	},
+	calendars: {
+		standard: {
+			"/": ".",
+			firstDay: 1,
+			days: {
+				names: ["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],
+				namesAbbr: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],
+				namesShort: ["Вс","Пн","Вт","Ср","Чт","Пт","Сб"]
+			},
+			months: {
+				names: ["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь",""],
+				namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""]
+			},
+			monthsGenitive: {
+				names: ["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря",""],
+				namesAbbr: ["янв","фев","мар","апр","май","июн","июл","авг","сен","окт","ноя","дек",""]
+			},
+			AM: null,
+			PM: null,
+			patterns: {
+				d: "dd.MM.yyyy",
+				D: "d MMMM yyyy 'г.'",
+				t: "H:mm",
+				T: "H:mm:ss",
+				f: "d MMMM yyyy 'г.' H:mm",
+				F: "d MMMM yyyy 'г.' H:mm:ss",
+				Y: "MMMM yyyy"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.culture.sa-IN.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,71 @@
+/*
+ * Globalize Culture sa-IN
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+	typeof exports !== "undefined" &&
+	typeof module !== "undefined" ) {
+	// Assume CommonJS
+	Globalize = require( "globalize" );
+} else {
+	// Global variable
+	Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "sa-IN", "default", {
+	name: "sa-IN",
+	englishName: "Sanskrit (India)",
+	nativeName: "संस्कृत (भारतम्)",
+	language: "sa",
+	numberFormat: {
+		groupSizes: [3,2],
+		percent: {
+			groupSizes: [3,2]
+		},
+		currency: {
+			pattern: ["$ -n","$ n"],
+			groupSizes: [3,2],
+			symbol: "रु"
+		}
+	},
+	calendars: {
+		standard: {
+			"/": "-",
+			days: {
+				names: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"],
+				namesAbbr: ["रविवासरः","सोमवासरः","मङ्गलवासरः","बुधवासरः","गुरुवासरः","शुक्रवासरः","शनिवासरः"],
+				namesShort: ["र","स","म","ब","ग","श","श"]
+			},
+			months: {
+				names: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""],
+				namesAbbr: ["जनवरी","फरवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्तूबर","नवम्बर","दिसम्बर",""]
+			},
+			AM: ["पूर्वाह्न","पूर्वाह्न","पूर्वाह्न"],
+			PM: ["अपराह्न","अपराह्न","अपराह्न"],
+			patterns: {
+				d: "dd-MM-yyyy",
+				D: "dd MMMM yyyy dddd",
+				t: "HH:mm",
+				T: "HH:mm:ss",
+				f: "dd MMMM yyyy dddd HH:mm",
+				F: "dd MMMM yyyy dddd HH:mm:ss",
+				M: "dd MMMM"
+			}
+		}
+	}
+});
+
+}( this ));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/globalization/globalize.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,10 @@
+/*!
+ * Globalize
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ */
+(function(j,g){if(document.Globalize){return}var r,w,l,x,p,v,u,t,m,a,k,y,q,c,n,s,z,o,i,h,d,f,e,b;r=function(A){return new r.prototype.init(A)};if(typeof require!=="undefined"&&typeof exports!=="undefined"&&typeof module!=="undefined"){module.exports=r}else{j.Globalize=r}r.cultures={};r.prototype={constructor:r,init:function(A){this.cultures=r.cultures;this.cultureSelector=A;return this}};r.prototype.init.prototype=r.prototype;r.cultures["default"]={name:"en",englishName:"English",nativeName:"English",isRTL:false,language:"en",numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSizes:[3],"+":"+","-":"-","NaN":"NaN",negativeInfinity:"-Infinity",positiveInfinity:"Infinity",percent:{pattern:["-n %","n %"],decimals:2,groupSizes:[3],",":",",".":".",symbol:"%"},currency:{pattern:["($n)","$n"],decimals:2,groupSizes:[3],",":",",".":".",symbol:"$"}},calendars:{standard:{name:"Gregorian_USEnglish","/":"/",":":":",firstDay:0,days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December",""],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]},AM:["AM","am","AM"],PM:["PM","pm","PM"],eras:[{name:"A.D.",start:null,offset:0}],twoDigitYearMax:2029,patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",t:"h:mm tt",T:"h:mm:ss tt",f:"dddd, MMMM dd, yyyy h:mm tt",F:"dddd, MMMM dd, yyyy h:mm:ss tt",M:"MMMM dd",Y:"yyyy MMMM",S:"yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss"}}},messages:{}};r.cultures["default"].calendar=r.cultures["default"].calendars.standard;r.cultures.en=r.cultures["default"];r.cultureSelector="en";w=/^0x[a-f0-9]+$/i;l=/^[+\-]?infinity$/i;x=/^[+\-]?\d*\.?\d*(e[+\-]?\d+)?$/;p=/^\s+|\s+$/g;v=function(D,C){if(D.indexOf){return D.indexOf(C)}for(var A=0,B=D.length;A<B;A++){if(D[A]===C){return A}}return -1};u=function(B,A){return B.substr(B.length-A.length)===A};t=function(){var J,C,A,B,G,H,F=arguments[0]||{},E=1,D=arguments.length,I=false;if(typeof F==="boolean"){I=F;F=arguments[1]||{};E=2}if(typeof F!=="object"&&!a(F)){F={}}for(;E<D;E++){if((J=arguments[E])!=null){for(C in J){A=F[C];B=J[C];if(F===B){continue}if(I&&B&&(k(B)||(G=m(B)))){if(G){G=false;H=A&&m(A)?A:[]}else{H=A&&k(A)?A:{}}F[C]=t(I,H,B)}else{if(B!==g){F[C]=B}}}}}return F};m=Array.isArray||function(A){return Object.prototype.toString.call(A)==="[object Array]"};a=function(A){return Object.prototype.toString.call(A)==="[object Function]"};k=function(A){return Object.prototype.toString.call(A)==="[object Object]"};y=function(B,A){return B.indexOf(A)===0};q=function(A){return(A+"").replace(p,"")};c=function(A){if(isNaN(A)){return NaN}return Math[A<0?"ceil":"floor"](A)};n=function(D,B,C){var A;for(A=D.length;A<B;A+=1){D=(C?("0"+D):(D+"0"))}return D};s=function(D,A){var C=0,F=false;for(var E=0,B=D.length;E<B;E++){var G=D.charAt(E);switch(G){case"'":if(F){A.push("'")}else{C++}F=false;break;case"\\":if(F){A.push("\\")}F=!F;break;default:A.push(G);F=false;break}}return C};z=function(E,D){D=D||"F";var C,B=E.patterns,A=D.length;if(A===1){C=B[D];if(!C){throw"Invalid date format string '"+D+"'."}D=C}else{if(A===2&&D.charAt(0)==="%"){D=D.charAt(1)}}return D};o=function(U,Y,Z){var M=Z.calendar,I=M.convert,ab;if(!Y||!Y.length||Y==="i"){if(Z&&Z.name.length){if(I){ab=o(U,M.patterns.F,Z)}else{var J=new Date(U.getTime()),Q=d(U,M.eras);J.setFullYear(f(U,M,Q));ab=J.toLocaleString()}}else{ab=U.toString()}return ab}var V=M.eras,B=Y==="s";Y=z(M,Y);ab=[];var F,W=["0","00","000"],K,L,A=/([^d]|^)(d|dd)([^d]|$)/g,aa=0,R=h(),C;function H(ac,af){if(ac<0){return"-"+H(-ac,af)}var ae,ad=ac+"";if(af>1&&ad.length<af){ae=(W[af-2]+ad);return ae.substr(ae.length-af,af)}else{ae=ad}return ae}function X(){if(K||L){return K}K=A.test(Y);L=true;return K}function D(ad,ac){if(C){return C[ac]}switch(ac){case 0:return ad.getFullYear();case 1:return ad.getMonth();case 2:return ad.getDate();default:throw"Invalid part value "+ac}}if(!B&&I){C=I.fromGregorian(U)}for(;;){var G=R.lastIndex,P=R.exec(Y);var N=Y.slice(G,P?P.index:Y.length);aa+=s(N,ab);if(!P){break}if(aa%2){ab.push(P[0]);continue}var S=P[0],E=S.length;switch(S){case"ddd":case"dddd":var O=(E===3)?M.days.namesAbbr:M.days.names;ab.push(O[U.getDay()]);break;case"d":case"dd":K=true;ab.push(H(D(U,2),E));break;case"MMM":case"MMMM":var T=D(U,1);ab.push((M.monthsGenitive&&X())?(M.monthsGenitive[E===3?"namesAbbr":"names"][T]):(M.months[E===3?"namesAbbr":"names"][T]));break;case"M":case"MM":ab.push(H(D(U,1)+1,E));break;case"y":case"yy":case"yyyy":T=C?C[0]:f(U,M,d(U,V),B);if(E<4){T=T%100}ab.push(H(T,E));break;case"h":case"hh":F=U.getHours()%12;if(F===0){F=12}ab.push(H(F,E));break;case"H":case"HH":ab.push(H(U.getHours(),E));break;case"m":case"mm":ab.push(H(U.getMinutes(),E));break;case"s":case"ss":ab.push(H(U.getSeconds(),E));break;case"t":case"tt":T=U.getHours()<12?(M.AM?M.AM[0]:" "):(M.PM?M.PM[0]:" ");ab.push(E===1?T.charAt(0):T);break;case"f":case"ff":case"fff":ab.push(H(U.getMilliseconds(),3).substr(0,E));break;case"z":case"zz":F=U.getTimezoneOffset()/60;ab.push((F<=0?"+":"-")+H(Math.floor(Math.abs(F)),E));break;case"zzz":F=U.getTimezoneOffset()/60;ab.push((F<=0?"+":"-")+H(Math.floor(Math.abs(F)),2)+":"+H(Math.abs(U.getTimezoneOffset()%60),2));break;case"g":case"gg":if(M.eras){ab.push(M.eras[d(U,V)].name)}break;case"/":ab.push(M["/"]);break;default:throw"Invalid date format pattern '"+S+"'."}}return ab.join("")};(function(){var A;A=function(H,I,P){var F=P.groupSizes,B=F[0],C=1,M=Math.pow(10,I),D=Math.round(H*M)/M;if(!isFinite(D)){D=H}H=D;var G=H+"",O="",L=G.split(/e/i),N=L.length>1?parseInt(L[1],10):0;G=L[0];L=G.split(".");G=L[0];O=L.length>1?L[1]:"";var E;if(N>0){O=n(O,N,false);G+=O.slice(0,N);O=O.substr(N)}else{if(N<0){N=-N;G=n(G,N+1,true);O=G.slice(-N,G.length)+O;G=G.slice(0,-N)}}if(I>0){O=P["."]+((O.length>I)?O.slice(0,I):n(O,I))}else{O=""}var K=G.length-1,Q=P[","],J="";while(K>=0){if(B===0||B>K){return G.slice(0,K+1)+(J.length?(Q+J+O):O)}J=G.slice(K-B+1,K+1)+(J.length?(Q+J):"");K-=B;if(C<F.length){B=F[C];C++}}return G.slice(0,K+1)+Q+J+O};i=function(M,L,F){if(!isFinite(M)){if(M===Infinity){return F.numberFormat.positiveInfinity}if(M===-Infinity){return F.numberFormat.negativeInfinity}return F.numberFormat.NaN}if(!L||L==="i"){return F.name.length?M.toLocaleString():M.toString()}L=L||"D";var D=F.numberFormat,E=Math.abs(M),G=-1,K;if(L.length>1){G=parseInt(L.slice(1),10)}var J=L.charAt(0).toUpperCase(),N;switch(J){case"D":K="n";E=c(E);if(G!==-1){E=n(""+E,G,true)}if(M<0){E="-"+E}break;case"N":N=D;case"C":N=N||D.currency;case"P":N=N||D.percent;K=M<0?N.pattern[0]:(N.pattern[1]||"n");if(G===-1){G=N.decimals}E=A(E*(J==="P"?100:1),G,N);break;default:throw"Bad number format specifier: "+J}var B=/n|\$|-|%/g,I="";for(;;){var H=B.lastIndex,C=B.exec(K);I+=K.slice(H,C?C.index:K.length);if(!C){break}switch(C[0]){case"n":I+=E;break;case"$":I+=D.currency.symbol;break;case"-":if(/[1-9]/.test(E)){I+=D["-"]}break;case"%":I+=D.percent.symbol;break}}return I}}());h=function(){return(/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g)};d=function(C,B){if(!B){return 0}var F,E=C.getTime();for(var D=0,A=B.length;D<A;D++){F=B[D].start;if(F===null||E>=F){return D}}return 0};f=function(B,D,A,E){var C=B.getFullYear();if(!E&&D.eras){C-=D.eras[A].offset}return C};(function(){var B,A,D,C,G,F,E;B=function(M,K){if(K<100){var I=new Date(),H=d(I),L=f(I,M,H),J=M.twoDigitYearMax;J=typeof J==="string"?new Date().getFullYear()%100+parseInt(J,10):J;K+=L-(L%100);if(K>J){K-=100}}return K};A=function(L,K,I){var H,M=L.days,J=L._upperDays;if(!J){L._upperDays=J=[E(M.names),E(M.namesAbbr),E(M.namesShort)]}K=F(K);if(I){H=v(J[1],K);if(H===-1){H=v(J[2],K)}}else{H=v(J[0],K)}return H};D=function(O,N,J){var H=O.months,I=O.monthsGenitive||O.months,L=O._upperMonths,M=O._upperMonthsGen;if(!L){O._upperMonths=L=[E(H.names),E(H.namesAbbr)];O._upperMonthsGen=M=[E(I.names),E(I.namesAbbr)]}N=F(N);var K=v(J?L[1]:L[0],N);if(K<0){K=v(J?M[1]:M[0],N)}return K};C=function(H,S){var U=H._parseRegExp;if(!U){H._parseRegExp=U={}}else{var L=U[S];if(L){return L}}var R=z(H,S).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1"),P=["^"],I=[],O=0,K=0,X=h(),M;while((M=X.exec(R))!==null){var W=R.slice(O,M.index);O=X.lastIndex;K+=s(W,P);if(K%2){P.push(M[0]);continue}var J=M[0],N=J.length,T;switch(J){case"dddd":case"ddd":case"MMMM":case"MMM":case"gg":case"g":T="(\\D+)";break;case"tt":case"t":T="(\\D*)";break;case"yyyy":case"fff":case"ff":case"f":T="(\\d{"+N+"})";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":T="(\\d\\d?)";break;case"zzz":T="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":T="([+-]?\\d\\d?)";break;case"/":T="(\\/)";break;default:throw"Invalid date format pattern '"+J+"'."}if(T){P.push(T)}I.push(M[0])}s(R.slice(O),P);P.push("$");var V=P.join("").replace(/\s+/g,"\\s+"),Q={regExp:V,groups:I};return U[S]=Q};G=function(J,H,I){return J<H||J>I};F=function(H){return H.split("\u00A0").join(" ").toUpperCase()};E=function(H){var K=[];for(var J=0,I=H.length;J<I;J++){K[J]=F(H[J])}return K};e=function(ab,ai,aj){ab=q(ab);var U=aj.calendar,ao=C(U,ai),O=new RegExp(ao.regExp).exec(ab);if(O===null){return null}var ak=ao.groups,Z=null,S=null,an=null,am=null,T=null,M=0,ae,ad=0,al=0,H=0,J=null,V=false;for(var af=0,ah=ak.length;af<ah;af++){var I=O[af+1];if(I){var aa=ak[af],L=aa.length,N=parseInt(I,10);switch(aa){case"dd":case"d":am=N;if(G(am,1,31)){return null}break;case"MMM":case"MMMM":an=D(U,I,L===3);if(G(an,0,11)){return null}break;case"M":case"MM":an=N-1;if(G(an,0,11)){return null}break;case"y":case"yy":case"yyyy":S=L<4?B(U,N):N;if(G(S,0,9999)){return null}break;case"h":case"hh":M=N;if(M===12){M=0}if(G(M,0,11)){return null}break;case"H":case"HH":M=N;if(G(M,0,23)){return null}break;case"m":case"mm":ad=N;if(G(ad,0,59)){return null}break;case"s":case"ss":al=N;if(G(al,0,59)){return null}break;case"tt":case"t":V=U.PM&&(I===U.PM[0]||I===U.PM[1]||I===U.PM[2]);if(!V&&(!U.AM||(I!==U.AM[0]&&I!==U.AM[1]&&I!==U.AM[2]))){return null}break;case"f":case"ff":case"fff":H=N*Math.pow(10,3-L);if(G(H,0,999)){return null}break;case"ddd":case"dddd":T=A(U,I,L===3);if(G(T,0,6)){return null}break;case"zzz":var K=I.split(/:/);if(K.length!==2){return null}ae=parseInt(K[0],10);if(G(ae,-12,13)){return null}var Q=parseInt(K[1],10);if(G(Q,0,59)){return null}J=(ae*60)+(y(I,"-")?-Q:Q);break;case"z":case"zz":ae=N;if(G(ae,-12,13)){return null}J=ae*60;break;case"g":case"gg":var W=I;if(!W||!U.eras){return null}W=q(W.toLowerCase());for(var ag=0,ac=U.eras.length;ag<ac;ag++){if(W===U.eras[ag].name.toLowerCase()){Z=ag;break}}if(Z===null){return null}break}}}var R=new Date(),Y,P=U.convert;Y=P?P.fromGregorian(R)[0]:R.getFullYear();if(S===null){S=Y}else{if(U.eras){S+=U.eras[(Z||0)].offset}}if(an===null){an=0}if(am===null){am=1}if(P){R=P.toGregorian(S,an,am);if(R===null){return null}}else{R.setFullYear(S,an,am);if(R.getDate()!==am){return null}if(T!==null&&R.getDay()!==T){return null}}if(V&&M<12){M+=12}R.setHours(M,ad,al,H);if(J!==null){var X=R.getMinutes()-(J+R.getTimezoneOffset());R.setHours(R.getHours()+parseInt(X/60,10),X%60)}return R}}());b=function(D,C,B){var F=C["-"],E=C["+"],A;switch(B){case"n -":F=" "+F;E=" "+E;case"n-":if(u(D,F)){A=["-",D.substr(0,D.length-F.length)]}else{if(u(D,E)){A=["+",D.substr(0,D.length-E.length)]}}break;case"- n":F+=" ";E+=" ";case"-n":if(y(D,F)){A=["-",D.substr(F.length)]}else{if(y(D,E)){A=["+",D.substr(E.length)]}}break;case"(n)":if(y(D,"(")&&u(D,")")){A=["-",D.substr(1,D.length-2)]}break}return A||["",D]};r.prototype.findClosestCulture=function(A){return r.findClosestCulture.call(this,A)};r.prototype.format=function(A,B,C){return r.format.call(this,A,B,C)};r.prototype.localize=function(A,B){return r.localize.call(this,A,B)};r.prototype.parseInt=function(B,A,C){return r.parseInt.call(this,B,A,C)};r.prototype.parseFloat=function(B,A,C){return r.parseFloat.call(this,B,A,C)};r.prototype.culture=function(A){return r.culture.call(this,A)};r.addCultureInfo=function(E,B,D){var C={},A=false;if(typeof E!=="string"){D=E;E=this.culture().name;C=this.cultures[E]}else{if(typeof B!=="string"){D=B;A=(this.cultures[E]==null);C=this.cultures[E]||this.cultures["default"]}else{A=true;C=this.cultures[B]}}this.cultures[E]=t(true,{},C,D);if(A){this.cultures[E].calendar=this.cultures[E].calendars.standard}};r.findClosestCulture=function(A){var I;if(!A){return this.findClosestCulture(this.cultureSelector)||this.cultures["default"]}if(typeof A==="string"){A=A.split(",")}if(m(A)){var C,M=this.cultures,K=A,H,D=K.length,L=[];for(H=0;H<D;H++){A=q(K[H]);var B,G=A.split(";");C=q(G[0]);if(G.length===1){B=1}else{A=q(G[1]);if(A.indexOf("q=")===0){A=A.substr(2);B=parseFloat(A);B=isNaN(B)?0:B}else{B=1}}L.push({lang:C,pri:B})}L.sort(function(O,N){if(O.pri<N.pri){return 1}else{if(O.pri>N.pri){return -1}}return 0});for(H=0;H<D;H++){C=L[H].lang;I=M[C];if(I){return I}}for(H=0;H<D;H++){C=L[H].lang;do{var J=C.lastIndexOf("-");if(J===-1){break}C=C.substr(0,J);I=M[C];if(I){return I}}while(1)}for(H=0;H<D;H++){C=L[H].lang;for(var F in M){var E=M[F];if(E.language==C){return E}}}}else{if(typeof A==="object"){return A}}return I||null};r.format=function(B,C,D){var A=this.findClosestCulture(D);if(B instanceof Date){B=o(B,C,A)}else{if(typeof B==="number"){B=i(B,C,A)}}return B};r.localize=function(A,B){return this.findClosestCulture(B).messages[A]||this.cultures["default"].messages[A]};r.parseDate=function(I,G,E){E=this.findClosestCulture(E);var C,A,B;if(G){if(typeof G==="string"){G=[G]}if(G.length){for(var F=0,D=G.length;F<D;F++){var H=G[F];if(H){C=e(I,H,E);if(C){break}}}}}else{B=E.calendar.patterns;for(A in B){C=e(I,B[A],E);if(C){break}}}return C||null};r.parseInt=function(B,A,C){return c(r.parseFloat(B,A,C))};r.parseFloat=function(O,H,J){if(typeof H!=="number"){J=H;H=10}var Q=this.findClosestCulture(J);var T=NaN,F=Q.numberFormat;if(O.indexOf(Q.numberFormat.currency.symbol)>-1){O=O.replace(Q.numberFormat.currency.symbol,"");O=O.replace(Q.numberFormat.currency["."],Q.numberFormat["."])}if(O.indexOf(Q.numberFormat.percent.symbol)>-1){O=O.replace(Q.numberFormat.percent.symbol,"")}O=O.replace(/ /g,"");if(l.test(O)){T=parseFloat(O)}else{if(!H&&w.test(O)){T=parseInt(O,16)}else{var C=b(O,F,F.pattern[0]),S=C[0],I=C[1];if(S===""&&F.pattern[0]!=="(n)"){C=b(O,F,"(n)");S=C[0];I=C[1]}if(S===""&&F.pattern[0]!=="-n"){C=b(O,F,"-n");S=C[0];I=C[1]}S=S||"+";var N,K,R=I.indexOf("e");if(R<0){R=I.indexOf("E")}if(R<0){K=I;N=null}else{K=I.substr(0,R);N=I.substr(R+1)}var P,G,D=F["."],A=K.indexOf(D);if(A<0){P=K;G=null}else{P=K.substr(0,A);G=K.substr(A+D.length)}var L=F[","];P=P.split(L).join("");var E=L.replace(/\u00A0/g," ");if(L!==E){P=P.split(E).join("")}var M=S+P;if(G!==null){M+="."+G}if(N!==null){var B=b(N,F,"-n");M+="e"+(B[0]||"+")+B[1]}if(x.test(M)){T=parseFloat(M)}}}return T};r.culture=function(A){if(typeof A!=="undefined"){this.cultureSelector=A}return this.findClosestCulture(A)||this.cultures["default"]};document.Globalize=r}(this));
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/www/jqwidgets/jqx-all.js	Sun Aug 05 11:32:13 2018 +0200
@@ -0,0 +1,202 @@
+/*
+jQWidgets v6.0.5 (2018-July)
+Copyright (c) 2011-2018 jQWidgets.
+License: https://jqwidgets.com/license/
+*/
+/* eslint-disable */
+
+var oldBrowser=document.all&&!document.addEventListener;if(!oldBrowser){(function(be,H){var r,ao,al=be.document,bp=be.location,bu=be.navigator,ay=be.JQXLite,Y=be.$,aS=Array.prototype.push,aE=Array.prototype.slice,aB=Array.prototype.indexOf,z=Object.prototype.toString,b=Object.prototype.hasOwnProperty,ax=String.prototype.trim,D=function(bv,bw){return new D.fn.init(bv,bw,r)},aF=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,au=/\S/,a9=/\s+/,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,aG=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,e=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,u=/(?:^|:|,)(?:\s*\[)+/g,a6=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,L=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,av=/^-ms-/,aT=/-([\da-z])/gi,n=function(bv,bw){return(bw+"").toUpperCase()},a5=function(){if(al.addEventListener){al.removeEventListener("DOMContentLoaded",a5,false);D.ready()}else{if(al.readyState==="complete"){al.detachEvent("onreadystatechange",a5);D.ready()}}},a1={};D.fn=D.prototype={constructor:D,init:function(bv,by,bz){var bx,bA,bw,bB;if(!bv){return this}if(bv.nodeType){this.context=this[0]=bv;this.length=1;return this}if(typeof bv==="string"){if(bv.charAt(0)==="<"&&bv.charAt(bv.length-1)===">"&&bv.length>=3){bx=[null,bv,null]}else{bx=aG.exec(bv)}if(bx&&(bx[1]||!by)){if(bx[1]){by=by instanceof D?by[0]:by;bB=(by&&by.nodeType?by.ownerDocument||by:al);bv=D.parseHTML(bx[1],bB,true);if(e.test(bx[1])&&D.isPlainObject(by)){this.attr.call(bv,by,true)}return D.merge(this,bv)}else{bA=al.getElementById(bx[2]);if(bA&&bA.parentNode){if(bA.id!==bx[2]){return bz.find(bv)}this.length=1;this[0]=bA}this.context=al;this.selector=bv;return this}}else{if(!by||by.jqx){return(by||bz).find(bv)}else{return this.constructor(by).find(bv)}}}else{if(D.isFunction(bv)){return bz.ready(bv)}}if(bv.selector!==H){this.selector=bv.selector;this.context=bv.context}return D.makeArray(bv,this)},selector:"",jqx:"4.5.0",length:0,size:function(){return this.length},toArray:function(){return aE.call(this)},get:function(bv){return bv==null?this.toArray():(bv<0?this[this.length+bv]:this[bv])},pushStack:function(bw,by,bv){var bx=D.merge(this.constructor(),bw);bx.prevObject=this;bx.context=this.context;if(by==="find"){bx.selector=this.selector+(this.selector?" ":"")+bv}else{if(by){bx.selector=this.selector+"."+by+"("+bv+")"}}return bx},each:function(bw,bv){return D.each(this,bw,bv)},ready:function(bv){D.ready.promise().done(bv);return this},eq:function(bv){bv=+bv;return bv===-1?this.slice(bv):this.slice(bv,bv+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(aE.apply(this,arguments),"slice",aE.call(arguments).join(","))},map:function(bv){return this.pushStack(D.map(this,function(bx,bw){return bv.call(bx,bw,bx)}))},end:function(){return this.prevObject||this.constructor(null)},push:aS,sort:[].sort,splice:[].splice};D.fn.init.prototype=D.fn;D.extend=D.fn.extend=function(){var bE,bx,bv,bw,bB,bC,bA=arguments[0]||{},bz=1,by=arguments.length,bD=false;if(typeof bA==="boolean"){bD=bA;bA=arguments[1]||{};bz=2}if(typeof bA!=="object"&&!D.isFunction(bA)){bA={}}if(by===bz){bA=this;--bz}for(;bz<by;bz++){if((bE=arguments[bz])!=null){for(bx in bE){bv=bA[bx];bw=bE[bx];if(bA===bw){continue}if(bD&&bw&&(D.isPlainObject(bw)||(bB=D.isArray(bw)))){if(bB){bB=false;bC=bv&&D.isArray(bv)?bv:[]}else{bC=bv&&D.isPlainObject(bv)?bv:{}}bA[bx]=D.extend(bD,bC,bw)}else{if(bw!==H){bA[bx]=bw}}}}}return bA};D.extend({noConflict:function(bv){if(be.$===D){be.$=Y}if(bv&&be.JQXLite===D){be.JQXLite=ay}return D},isReady:false,readyWait:1,holdReady:function(bv){if(bv){D.readyWait++}else{D.ready(true)}},ready:function(bv){if(bv===true?--D.readyWait:D.isReady){return}if(!al.body){return setTimeout(D.ready,1)}D.isReady=true;if(bv!==true&&--D.readyWait>0){return}ao.resolveWith(al,[D]);if(D.fn.trigger){D(al).trigger("ready").off("ready")}},isFunction:function(bv){return D.type(bv)==="function"},isArray:Array.isArray||function(bv){return D.type(bv)==="array"},isWindow:function(bv){return bv!=null&&bv==bv.window},isNumeric:function(bv){return !isNaN(parseFloat(bv))&&isFinite(bv)},type:function(bv){return bv==null?String(bv):a1[z.call(bv)]||"object"},isPlainObject:function(bx){if(!bx||D.type(bx)!=="object"||bx.nodeType||D.isWindow(bx)){return false}try{if(bx.constructor&&!b.call(bx,"constructor")&&!b.call(bx.constructor.prototype,"isPrototypeOf")){return false}}catch(bw){return false}var bv;for(bv in bx){}return bv===H||b.call(bx,bv)},isEmptyObject:function(bw){var bv;for(bv in bw){return false}return true},error:function(bv){throw new Error(bv)},parseHTML:function(by,bx,bv){var bw;if(!by||typeof by!=="string"){return null}if(typeof bx==="boolean"){bv=bx;bx=0}bx=bx||al;if((bw=e.exec(by))){return[bx.createElement(bw[1])]}bw=D.buildFragment([by],bx,bv?null:[]);return D.merge([],(bw.cacheable?D.clone(bw.fragment):bw.fragment).childNodes)},parseJSON:function(bv){if(!bv||typeof bv!=="string"){return null}bv=D.trim(bv);if(be.JSON&&be.JSON.parse){return be.JSON.parse(bv)}if(k.test(bv.replace(a6,"@").replace(L,"]").replace(u,""))){return(new Function("return "+bv))()}D.error("Invalid JSON: "+bv)},parseXML:function(bx){var bv,bw;if(!bx||typeof bx!=="string"){return null}try{if(be.DOMParser){bw=new DOMParser();bv=bw.parseFromString(bx,"text/xml")}else{bv=new ActiveXObject("Microsoft.XMLDOM");bv.async="false";bv.loadXML(bx)}}catch(by){bv=H}if(!bv||!bv.documentElement||bv.getElementsByTagName("parsererror").length){D.error("Invalid XML: "+bx)}return bv},noop:function(){},globalEval:function(bv){if(bv&&au.test(bv)){(be.execScript||function(bw){be["eval"].call(be,bw)})(bv)}},camelCase:function(bv){return bv.replace(av,"ms-").replace(aT,n)},nodeName:function(bw,bv){return bw.nodeName&&bw.nodeName.toLowerCase()===bv.toLowerCase()},each:function(bA,bB,bx){var bw,by=0,bz=bA.length,bv=bz===H||D.isFunction(bA);if(bx){if(bv){for(bw in bA){if(bB.apply(bA[bw],bx)===false){break}}}else{for(;by<bz;){if(bB.apply(bA[by++],bx)===false){break}}}}else{if(bv){for(bw in bA){if(bB.call(bA[bw],bw,bA[bw])===false){break}}}else{for(;by<bz;){if(bB.call(bA[by],by,bA[by++])===false){break}}}}return bA},trim:ax&&!ax.call("\uFEFF\xA0")?function(bv){return bv==null?"":ax.call(bv)}:function(bv){return bv==null?"":(bv+"").replace(T,"")},makeArray:function(bv,bx){var by,bw=bx||[];if(bv!=null){by=D.type(bv);if(bv.length==null||by==="string"||by==="function"||by==="regexp"||D.isWindow(bv)){aS.call(bw,bv)}else{D.merge(bw,bv)}}return bw},inArray:function(by,bw,bx){var bv;if(bw){if(aB){return aB.call(bw,by,bx)}bv=bw.length;bx=bx?bx<0?Math.max(0,bv+bx):bx:0;for(;bx<bv;bx++){if(bx in bw&&bw[bx]===by){return bx}}}return -1},merge:function(bz,bx){var bv=bx.length,by=bz.length,bw=0;if(typeof bv==="number"){for(;bw<bv;bw++){bz[by++]=bx[bw]}}else{while(bx[bw]!==H){bz[by++]=bx[bw++]}}bz.length=by;return bz},grep:function(bw,bB,bv){var bA,bx=[],by=0,bz=bw.length;bv=!!bv;for(;by<bz;by++){bA=!!bB(bw[by],by);if(bv!==bA){bx.push(bw[by])}}return bx},map:function(bv,bC,bD){var bA,bB,bz=[],bx=0,bw=bv.length,by=bv instanceof D||bw!==H&&typeof bw==="number"&&((bw>0&&bv[0]&&bv[bw-1])||bw===0||D.isArray(bv));if(by){for(;bx<bw;bx++){bA=bC(bv[bx],bx,bD);if(bA!=null){bz[bz.length]=bA}}}else{for(bB in bv){bA=bC(bv[bB],bB,bD);if(bA!=null){bz[bz.length]=bA}}}return bz.concat.apply([],bz)},guid:1,proxy:function(bz,by){var bx,bv,bw;if(typeof by==="string"){bx=bz[by];by=bz;bz=bx}if(!D.isFunction(bz)){return H}bv=aE.call(arguments,2);bw=function(){return bz.apply(by,bv.concat(aE.call(arguments)))};bw.guid=bz.guid=bz.guid||D.guid++;return bw},access:function(bv,bB,bE,bC,bz,bF,bD){var bx,bA=bE==null,by=0,bw=bv.length;if(bE&&typeof bE==="object"){for(by in bE){D.access(bv,bB,by,bE[by],1,bF,bC)}bz=1}else{if(bC!==H){bx=bD===H&&D.isFunction(bC);if(bA){if(bx){bx=bB;bB=function(bH,bG,bI){return bx.call(D(bH),bI)}}else{bB.call(bv,bC);bB=null}}if(bB){for(;by<bw;by++){bB(bv[by],bE,bx?bC.call(bv[by],by,bB(bv[by],bE)):bC,bD)}}bz=1}}return bz?bv:bA?bB.call(bv):bw?bB(bv[0],bE):bF},now:function(){return(new Date()).getTime()}});D.ready.promise=function(by){if(!ao){ao=D.Deferred();if(al.readyState==="complete"){setTimeout(D.ready,1)}else{if(al.addEventListener){al.addEventListener("DOMContentLoaded",a5,false);be.addEventListener("load",D.ready,false)}else{al.attachEvent("onreadystatechange",a5);be.attachEvent("onload",D.ready);var bx=false;try{bx=be.frameElement==null&&al.documentElement}catch(bw){}if(bx&&bx.doScroll){(function bv(){if(!D.isReady){try{bx.doScroll("left")}catch(bz){return setTimeout(bv,50)}D.ready()}})()}}}}return ao.promise(by)};D.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(bw,bv){a1["[object "+bv+"]"]=bv.toLowerCase()});r=D(al);var aY={};function C(bw){var bv=aY[bw]={};D.each(bw.split(a9),function(by,bx){bv[bx]=true});return bv}D.Callbacks=function(bF){bF=typeof bF==="string"?(aY[bF]||C(bF)):D.extend({},bF);var by,bv,bz,bx,bA,bB,bC=[],bD=!bF.once&&[],bw=function(bG){by=bF.memory&&bG;bv=true;bB=bx||0;bx=0;bA=bC.length;bz=true;for(;bC&&bB<bA;bB++){if(bC[bB].apply(bG[0],bG[1])===false&&bF.stopOnFalse){by=false;break}}bz=false;if(bC){if(bD){if(bD.length){bw(bD.shift())}}else{if(by){bC=[]}else{bE.disable()}}}},bE={add:function(){if(bC){var bH=bC.length;(function bG(bI){D.each(bI,function(bK,bJ){var bL=D.type(bJ);if(bL==="function"){if(!bF.unique||!bE.has(bJ)){bC.push(bJ)}}else{if(bJ&&bJ.length&&bL!=="string"){bG(bJ)}}})})(arguments);if(bz){bA=bC.length}else{if(by){bx=bH;bw(by)}}}return this},remove:function(){if(bC){D.each(arguments,function(bI,bG){var bH;while((bH=D.inArray(bG,bC,bH))>-1){bC.splice(bH,1);if(bz){if(bH<=bA){bA--}if(bH<=bB){bB--}}}})}return this},has:function(bG){return D.inArray(bG,bC)>-1},empty:function(){bC=[];return this},disable:function(){bC=bD=by=H;return this},disabled:function(){return !bC},lock:function(){bD=H;if(!by){bE.disable()}return this},locked:function(){return !bD},fireWith:function(bH,bG){bG=bG||[];bG=[bH,bG.slice?bG.slice():bG];if(bC&&(!bv||bD)){if(bz){bD.push(bG)}else{bw(bG)}}return this},fire:function(){bE.fireWith(this,arguments);return this},fired:function(){return !!bv}};return bE};D.extend({Deferred:function(bx){var bw=[["resolve","done",D.Callbacks("once memory"),"resolved"],["reject","fail",D.Callbacks("once memory"),"rejected"],["notify","progress",D.Callbacks("memory")]],by="pending",bz={state:function(){return by},always:function(){bv.done(arguments).fail(arguments);return this},then:function(){var bA=arguments;return D.Deferred(function(bB){D.each(bw,function(bD,bC){var bF=bC[0],bE=bA[bD];bv[bC[1]](D.isFunction(bE)?function(){var bG=bE.apply(this,arguments);if(bG&&D.isFunction(bG.promise)){bG.promise().done(bB.resolve).fail(bB.reject).progress(bB.notify)}else{bB[bF+"With"](this===bv?bB:this,[bG])}}:bB[bF])});bA=null}).promise()},promise:function(bA){return bA!=null?D.extend(bA,bz):bz}},bv={};bz.pipe=bz.then;D.each(bw,function(bB,bA){var bD=bA[2],bC=bA[3];bz[bA[1]]=bD.add;if(bC){bD.add(function(){by=bC},bw[bB^1][2].disable,bw[2][2].lock)}bv[bA[0]]=bD.fire;bv[bA[0]+"With"]=bD.fireWith});bz.promise(bv);if(bx){bx.call(bv,bv)}return bv},when:function(bz){var bx=0,bB=aE.call(arguments),bv=bB.length,bw=bv!==1||(bz&&D.isFunction(bz.promise))?bv:0,bE=bw===1?bz:D.Deferred(),by=function(bG,bH,bF){return function(bI){bH[bG]=this;bF[bG]=arguments.length>1?aE.call(arguments):bI;if(bF===bD){bE.notifyWith(bH,bF)}else{if(!(--bw)){bE.resolveWith(bH,bF)}}}},bD,bA,bC;if(bv>1){bD=new Array(bv);bA=new Array(bv);bC=new Array(bv);for(;bx<bv;bx++){if(bB[bx]&&D.isFunction(bB[bx].promise)){bB[bx].promise().done(by(bx,bC,bB)).fail(bE.reject).progress(by(bx,bA,bD))}else{--bw}}}if(!bw){bE.resolveWith(bC,bB)}return bE.promise()}});D.support=(function(){var bH,bG,bE,bF,by,bD,bC,bA,bz,bx,bv,bw=al.createElement("div");bw.setAttribute("className","t");bw.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";bG=bw.getElementsByTagName("*");bE=bw.getElementsByTagName("a")[0];if(!bG||!bE||!bG.length){return{}}bF=al.createElement("select");by=bF.appendChild(al.createElement("option"));bD=bw.getElementsByTagName("input")[0];bE.style.cssText="top:1px;float:left;opacity:.5";bH={leadingWhitespace:(bw.firstChild.nodeType===3),tbody:!bw.getElementsByTagName("tbody").length,htmlSerialize:!!bw.getElementsByTagName("link").length,style:/top/.test(bE.getAttribute("style")),hrefNormalized:(bE.getAttribute("href")==="/a"),opacity:/^0.5/.test(bE.style.opacity),cssFloat:!!bE.style.cssFloat,checkOn:(bD.value==="on"),optSelected:by.selected,getSetAttribute:bw.className!=="t",enctype:!!al.createElement("form").enctype,html5Clone:al.createElement("nav").cloneNode(true).outerHTML!=="<:nav></:nav>",boxModel:(al.compatMode==="CSS1Compat"),submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};bD.checked=true;bH.noCloneChecked=bD.cloneNode(true).checked;bF.disabled=true;bH.optDisabled=!by.disabled;try{delete bw.test}catch(bB){bH.deleteExpando=false}if(!bw.addEventListener&&bw.attachEvent&&bw.fireEvent){bw.attachEvent("onclick",bv=function(){bH.noCloneEvent=false});bw.cloneNode(true).fireEvent("onclick");bw.detachEvent("onclick",bv)}bD=al.createElement("input");bD.value="t";bD.setAttribute("type","radio");bH.radioValue=bD.value==="t";bD.setAttribute("checked","checked");bD.setAttribute("name","t");bw.appendChild(bD);bC=al.createDocumentFragment();bC.appendChild(bw.lastChild);bH.checkClone=bC.cloneNode(true).cloneNode(true).lastChild.checked;bH.appendChecked=bD.checked;bC.removeChild(bD);bC.appendChild(bw);if(bw.attachEvent){for(bz in {submit:true,change:true,focusin:true}){bA="on"+bz;bx=(bA in bw);if(!bx){bw.setAttribute(bA,"return;");bx=(typeof bw[bA]==="function")}bH[bz+"Bubbles"]=bx}}D(function(){var bJ,bN,bL,bM,bK="padding:0;margin:0;border:0;display:block;overflow:hidden;",bI=al.getElementsByTagName("body")[0];if(!bI){return}bJ=al.createElement("div");bJ.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";bI.insertBefore(bJ,bI.firstChild);bN=al.createElement("div");bJ.appendChild(bN);bN.innerHTML="<table><tr><td></td><td>t</td></tr></table>";bL=bN.getElementsByTagName("td");bL[0].style.cssText="padding:0;margin:0;border:0;display:none";bx=(bL[0].offsetHeight===0);bL[0].style.display="";bL[1].style.display="none";bH.reliableHiddenOffsets=bx&&(bL[0].offsetHeight===0);bN.innerHTML="";bN.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";bH.boxSizing=(bN.offsetWidth===4);bH.doesNotIncludeMarginInBodyOffset=(bI.offsetTop!==1);if(be.getComputedStyle){bH.pixelPosition=(be.getComputedStyle(bN,null)||{}).top!=="1%";bH.boxSizingReliable=(be.getComputedStyle(bN,null)||{width:"4px"}).width==="4px";bM=al.createElement("div");bM.style.cssText=bN.style.cssText=bK;bM.style.marginRight=bM.style.width="0";bN.style.width="1px";bN.appendChild(bM);bH.reliableMarginRight=!parseFloat((be.getComputedStyle(bM,null)||{}).marginRight)}if(typeof bN.style.zoom!=="undefined"){bN.innerHTML="";bN.style.cssText=bK+"width:1px;padding:1px;display:inline;zoom:1";bH.inlineBlockNeedsLayout=(bN.offsetWidth===3);bN.style.display="block";bN.style.overflow="visible";bN.innerHTML="<div></div>";bN.firstChild.style.width="5px";bH.shrinkWrapBlocks=(bN.offsetWidth!==3);bJ.style.zoom=1}bI.removeChild(bJ);bJ=bN=bL=bM=null});bC.removeChild(bw);bG=bE=bF=by=bD=bC=bw=null;return bH})();var aL=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,ar=/([A-Z])/g;D.extend({cache:{},deletedIds:[],uuid:0,expando:"JQXLite"+(D.fn.jqx+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(bv){bv=bv.nodeType?D.cache[bv[D.expando]]:bv[D.expando];return !!bv&&!N(bv)},data:function(by,bw,bA,bz){if(!D.acceptData(by)){return}var bB,bD,bE=D.expando,bC=typeof bw==="string",bF=by.nodeType,bv=bF?D.cache:by,bx=bF?by[bE]:by[bE]&&bE;if((!bx||!bv[bx]||(!bz&&!bv[bx].data))&&bC&&bA===H){return}if(!bx){if(bF){by[bE]=bx=D.deletedIds.pop()||D.guid++}else{bx=bE}}if(!bv[bx]){bv[bx]={};if(!bF){bv[bx].toJSON=D.noop}}if(typeof bw==="object"||typeof bw==="function"){if(bz){bv[bx]=D.extend(bv[bx],bw)}else{bv[bx].data=D.extend(bv[bx].data,bw)}}bB=bv[bx];if(!bz){if(!bB.data){bB.data={}}bB=bB.data}if(bA!==H){bB[D.camelCase(bw)]=bA}if(bC){bD=bB[bw];if(bD==null){bD=bB[D.camelCase(bw)]}}else{bD=bB}return bD},removeData:function(by,bw,bz){if(!D.acceptData(by)){return}var bC,bB,bA,bD=by.nodeType,bv=bD?D.cache:by,bx=bD?by[D.expando]:D.expando;if(!bv[bx]){return}if(bw){bC=bz?bv[bx]:bv[bx].data;if(bC){if(!D.isArray(bw)){if(bw in bC){bw=[bw]}else{bw=D.camelCase(bw);if(bw in bC){bw=[bw]}else{bw=bw.split(" ")}}}for(bB=0,bA=bw.length;bB<bA;bB++){delete bC[bw[bB]]}if(!(bz?N:D.isEmptyObject)(bC)){return}}}if(!bz){delete bv[bx].data;if(!N(bv[bx])){return}}if(bD){D.cleanData([by],true)}else{if(D.support.deleteExpando||bv!=bv.window){delete bv[bx]}else{bv[bx]=null}}},_data:function(bw,bv,bx){return D.data(bw,bv,bx,true)},acceptData:function(bw){var bv=bw.nodeName&&D.noData[bw.nodeName.toLowerCase()];return !bv||bv!==true&&bw.getAttribute("classid")===bv}});D.fn.extend({data:function(bE,bD){var bz,bw,bC,bv,by,bx=this[0],bB=0,bA=null;if(bE===H){if(this.length){bA=D.data(bx);if(bx.nodeType===1&&!D._data(bx,"parsedAttrs")){bC=bx.attributes;for(by=bC.length;bB<by;bB++){bv=bC[bB].name;if(!bv.indexOf("data-")){bv=D.camelCase(bv.substring(5));ba(bx,bv,bA[bv])}}D._data(bx,"parsedAttrs",true)}}return bA}if(typeof bE==="object"){return this.each(function(){D.data(this,bE)})}bz=bE.split(".",2);bz[1]=bz[1]?"."+bz[1]:"";bw=bz[1]+"!";return D.access(this,function(bF){if(bF===H){bA=this.triggerHandler("getData"+bw,[bz[0]]);if(bA===H&&bx){bA=D.data(bx,bE);bA=ba(bx,bE,bA)}return bA===H&&bz[1]?this.data(bz[0]):bA}bz[1]=bF;this.each(function(){var bG=D(this);bG.triggerHandler("setData"+bw,bz);D.data(this,bE,bF);bG.triggerHandler("changeData"+bw,bz)})},null,bD,arguments.length>1,null,false)},removeData:function(bv){return this.each(function(){D.removeData(this,bv)})}});function ba(bx,bw,by){if(by===H&&bx.nodeType===1){var bv="data-"+bw.replace(ar,"-$1").toLowerCase();by=bx.getAttribute(bv);if(typeof by==="string"){try{by=by==="true"?true:by==="false"?false:by==="null"?null:+by+""===by?+by:aL.test(by)?D.parseJSON(by):by}catch(bz){}D.data(bx,bw,by)}else{by=H}}return by}function N(bw){var bv;for(bv in bw){if(bv==="data"&&D.isEmptyObject(bw[bv])){continue}if(bv!=="toJSON"){return false}}return true}D.extend({queue:function(bx,bw,by){var bv;if(bx){bw=(bw||"fx")+"queue";bv=D._data(bx,bw);if(by){if(!bv||D.isArray(by)){bv=D._data(bx,bw,D.makeArray(by))}else{bv.push(by)}}return bv||[]}},dequeue:function(bA,bz){bz=bz||"fx";var bw=D.queue(bA,bz),bB=bw.length,by=bw.shift(),bv=D._queueHooks(bA,bz),bx=function(){D.dequeue(bA,bz)};if(by==="inprogress"){by=bw.shift();bB--}if(by){if(bz==="fx"){bw.unshift("inprogress")}delete bv.stop;by.call(bA,bx,bv)}if(!bB&&bv){bv.empty.fire()}},_queueHooks:function(bx,bw){var bv=bw+"queueHooks";return D._data(bx,bv)||D._data(bx,bv,{empty:D.Callbacks("once memory").add(function(){D.removeData(bx,bw+"queue",true);D.removeData(bx,bv,true)})})}});D.fn.extend({queue:function(bv,bw){var bx=2;if(typeof bv!=="string"){bw=bv;bv="fx";bx--}if(arguments.length<bx){return D.queue(this[0],bv)}return bw===H?this:this.each(function(){var by=D.queue(this,bv,bw);D._queueHooks(this,bv);if(bv==="fx"&&by[0]!=="inprogress"){D.dequeue(this,bv)}})},dequeue:function(bv){return this.each(function(){D.dequeue(this,bv)})},delay:function(bw,bv){bw=D.fx?D.fx.speeds[bw]||bw:bw;bv=bv||"fx";return this.queue(bv,function(by,bx){var bz=setTimeout(by,bw);bx.stop=function(){clearTimeout(bz)}})},clearQueue:function(bv){return this.queue(bv||"fx",[])},promise:function(bx,bB){var bw,by=1,bC=D.Deferred(),bA=this,bv=this.length,bz=function(){if(!(--by)){bC.resolveWith(bA,[bA])}};if(typeof bx!=="string"){bB=bx;bx=H}bx=bx||"fx";while(bv--){bw=D._data(bA[bv],bx+"queueHooks");if(bw&&bw.empty){by++;bw.empty.add(bz)}}bz();return bC.promise(bB)}});var bi,aU,az,aJ=/[\t\r\n]/g,aQ=/\r/g,d=/^(?:button|input)$/i,A=/^(?:button|input|object|select|textarea)$/i,h=/^a(?:rea|)$/i,af=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,B=D.support.getSetAttribute;D.fn.extend({attr:function(bv,bw){return D.access(this,D.attr,bv,bw,arguments.length>1)},removeAttr:function(bv){return this.each(function(){D.removeAttr(this,bv)})},prop:function(bv,bw){return D.access(this,D.prop,bv,bw,arguments.length>1)},removeProp:function(bv){bv=D.propFix[bv]||bv;return this.each(function(){try{this[bv]=H;delete this[bv]}catch(bw){}})},addClass:function(bz){var bB,bx,bw,by,bA,bC,bv;if(D.isFunction(bz)){return this.each(function(bD){D(this).addClass(bz.call(this,bD,this.className))})}if(bz&&typeof bz==="string"){bB=bz.split(a9);for(bx=0,bw=this.length;bx<bw;bx++){by=this[bx];if(by.nodeType===1){if(!by.className&&bB.length===1){by.className=bz}else{bA=" "+by.className+" ";for(bC=0,bv=bB.length;bC<bv;bC++){if(bA.indexOf(" "+bB[bC]+" ")<0){bA+=bB[bC]+" "}}by.className=D.trim(bA)}}}}return this},removeClass:function(bB){var by,bz,bA,bC,bw,bx,bv;if(D.isFunction(bB)){return this.each(function(bD){D(this).removeClass(bB.call(this,bD,this.className))})}if((bB&&typeof bB==="string")||bB===H){by=(bB||"").split(a9);for(bx=0,bv=this.length;bx<bv;bx++){bA=this[bx];if(bA.nodeType===1&&bA.className){bz=(" "+bA.className+" ").replace(aJ," ");for(bC=0,bw=by.length;bC<bw;bC++){while(bz.indexOf(" "+by[bC]+" ")>=0){bz=bz.replace(" "+by[bC]+" "," ")}}bA.className=bB?D.trim(bz):""}}}return this},toggleClass:function(by,bw){var bx=typeof by,bv=typeof bw==="boolean";if(D.isFunction(by)){return this.each(function(bz){D(this).toggleClass(by.call(this,bz,this.className,bw),bw)})}return this.each(function(){if(bx==="string"){var bB,bA=0,bz=D(this),bC=bw,bD=by.split(a9);while((bB=bD[bA++])){bC=bv?bC:!bz.hasClass(bB);bz[bC?"addClass":"removeClass"](bB)}}else{if(bx==="undefined"||bx==="boolean"){if(this.className){D._data(this,"__className__",this.className)}this.className=this.className||by===false?"":D._data(this,"__className__")||""}}})},hasClass:function(bv){var by=" "+bv+" ",bx=0,bw=this.length;for(;bx<bw;bx++){if(this[bx].nodeType===1&&(" "+this[bx].className+" ").replace(aJ," ").indexOf(by)>=0){return true}}return false},val:function(by){var bv,bw,bz,bx=this[0];if(!arguments.length){if(bx){bv=D.valHooks[bx.type]||D.valHooks[bx.nodeName.toLowerCase()];if(bv&&"get" in bv&&(bw=bv.get(bx,"value"))!==H){return bw}bw=bx.value;return typeof bw==="string"?bw.replace(aQ,""):bw==null?"":bw}return}bz=D.isFunction(by);return this.each(function(bB){var bC,bA=D(this);if(this.nodeType!==1){return}if(bz){bC=by.call(this,bB,bA.val())}else{bC=by}if(bC==null){bC=""}else{if(typeof bC==="number"){bC+=""}else{if(D.isArray(bC)){bC=D.map(bC,function(bD){return bD==null?"":bD+""})}}}bv=D.valHooks[this.type]||D.valHooks[this.nodeName.toLowerCase()];if(!bv||!("set" in bv)||bv.set(this,bC,"value")===H){this.value=bC}})}});D.extend({valHooks:{option:{get:function(bv){var bw=bv.attributes.value;return !bw||bw.specified?bv.value:bv.text}},select:{get:function(bv){var bB,bx,bD=bv.options,bz=bv.selectedIndex,by=bv.type==="select-one"||bz<0,bC=by?null:[],bA=by?bz+1:bD.length,bw=bz<0?bA:by?bz:0;for(;bw<bA;bw++){bx=bD[bw];if((bx.selected||bw===bz)&&(D.support.optDisabled?!bx.disabled:bx.getAttribute("disabled")===null)&&(!bx.parentNode.disabled||!D.nodeName(bx.parentNode,"optgroup"))){bB=D(bx).val();if(by){return bB}bC.push(bB)}}return bC},set:function(bw,bx){var bv=D.makeArray(bx);D(bw).find("option").each(function(){this.selected=D.inArray(D(this).val(),bv)>=0});if(!bv.length){bw.selectedIndex=-1}return bv}}},attrFn:{},attr:function(bB,by,bC,bA){var bx,bv,bz,bw=bB.nodeType;if(!bB||bw===3||bw===8||bw===2){return}if(bA&&D.isFunction(D.fn[by])){return D(bB)[by](bC)}if(typeof bB.getAttribute==="undefined"){return D.prop(bB,by,bC)}bz=bw!==1||!D.isXMLDoc(bB);if(bz){by=by.toLowerCase();bv=D.attrHooks[by]||(af.test(by)?aU:bi)}if(bC!==H){if(bC===null){D.removeAttr(bB,by);return}else{if(bv&&"set" in bv&&bz&&(bx=bv.set(bB,bC,by))!==H){return bx}else{bB.setAttribute(by,bC+"");return bC}}}else{if(bv&&"get" in bv&&bz&&(bx=bv.get(bB,by))!==null){return bx}else{bx=bB.getAttribute(by);return bx===null?H:bx}}},removeAttr:function(by,bA){var bz,bB,bw,bv,bx=0;if(bA&&by.nodeType===1){bB=bA.split(a9);for(;bx<bB.length;bx++){bw=bB[bx];if(bw){bz=D.propFix[bw]||bw;bv=af.test(bw);if(!bv){D.attr(by,bw,"")}by.removeAttribute(B?bw:bz);if(bv&&bz in by){by[bz]=false}}}}},attrHooks:{type:{set:function(bv,bw){if(d.test(bv.nodeName)&&bv.parentNode){D.error("type property can't be changed")}else{if(!D.support.radioValue&&bw==="radio"&&D.nodeName(bv,"input")){var bx=bv.value;bv.setAttribute("type",bw);if(bx){bv.value=bx}return bw}}}},value:{get:function(bw,bv){if(bi&&D.nodeName(bw,"button")){return bi.get(bw,bv)}return bv in bw?bw.value:null},set:function(bw,bx,bv){if(bi&&D.nodeName(bw,"button")){return bi.set(bw,bx,bv)}bw.value=bx}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(bA,by,bB){var bx,bv,bz,bw=bA.nodeType;if(!bA||bw===3||bw===8||bw===2){return}bz=bw!==1||!D.isXMLDoc(bA);if(bz){by=D.propFix[by]||by;bv=D.propHooks[by]}if(bB!==H){if(bv&&"set" in bv&&(bx=bv.set(bA,bB,by))!==H){return bx}else{return(bA[by]=bB)}}else{if(bv&&"get" in bv&&(bx=bv.get(bA,by))!==null){return bx}else{return bA[by]}}},propHooks:{tabIndex:{get:function(bw){var bv=bw.getAttributeNode("tabindex");return bv&&bv.specified?parseInt(bv.value,10):A.test(bw.nodeName)||h.test(bw.nodeName)&&bw.href?0:H}}}});aU={get:function(bw,bv){var by,bx=D.prop(bw,bv);return bx===true||typeof bx!=="boolean"&&(by=bw.getAttributeNode(bv))&&by.nodeValue!==false?bv.toLowerCase():H},set:function(bw,by,bv){var bx;if(by===false){D.removeAttr(bw,bv)}else{bx=D.propFix[bv]||bv;if(bx in bw){bw[bx]=true}bw.setAttribute(bv,bv.toLowerCase())}return bv}};if(!D.support.enctype){D.propFix.enctype="encoding"}var bg=/^(?:textarea|input|select)$/i,o=/^([^\.]*|)(?:\.(.+)|)$/,G=/(?:^|\s)hover(\.\S+|)\b/,aI=/^key/,bj=/^(?:mouse|contextmenu)|click/,O=/^(?:focusinfocus|focusoutblur)$/,bt=function(bv){return D.event.special.hover?bv:bv.replace(G,"mouseenter$1 mouseleave$1")};D.event={add:function(by,bC,bJ,bA,bz){var bD,bB,bK,bI,bH,bF,bv,bG,bw,bx,bE;if(by.nodeType===3||by.nodeType===8||!bC||!bJ||!(bD=D._data(by))){return}if(bJ.handler){bw=bJ;bJ=bw.handler;bz=bw.selector}if(!bJ.guid){bJ.guid=D.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof D!=="undefined"&&(!bL||D.event.triggered!==bL.type)?D.event.dispatch.apply(bB.elem,arguments):H};bB.elem=by}bC=D.trim(bt(bC)).split(" ");for(bI=0;bI<bC.length;bI++){bH=o.exec(bC[bI])||[];bF=bH[1];bv=(bH[2]||"").split(".").sort();bE=D.event.special[bF]||{};bF=(bz?bE.delegateType:bE.bindType)||bF;bE=D.event.special[bF]||{};bG=D.extend({type:bF,origType:bH[1],data:bA,handler:bJ,guid:bJ.guid,selector:bz,needsContext:bz&&D.expr.match.needsContext.test(bz),namespace:bv.join(".")},bw);bx=bK[bF];if(!bx){bx=bK[bF]=[];bx.delegateCount=0;if(!bE.setup||bE.setup.call(by,bA,bv,bB)===false){if(by.addEventListener){by.addEventListener(bF,bB,false)}else{if(by.attachEvent){by.attachEvent("on"+bF,bB)}}}}if(bE.add){bE.add.call(by,bG);if(!bG.handler.guid){bG.handler.guid=bJ.guid}}if(bz){bx.splice(bx.delegateCount++,0,bG)}else{bx.push(bG)}D.event.global[bF]=true}by=null},global:{},remove:function(by,bD,bJ,bz,bC){var bK,bL,bG,bx,bw,bA,bB,bI,bF,bv,bH,bE=D.hasData(by)&&D._data(by);if(!bE||!(bI=bE.events)){return}bD=D.trim(bt(bD||"")).split(" ");for(bK=0;bK<bD.length;bK++){bL=o.exec(bD[bK])||[];bG=bx=bL[1];bw=bL[2];if(!bG){for(bG in bI){D.event.remove(by,bG+bD[bK],bJ,bz,true)}continue}bF=D.event.special[bG]||{};bG=(bz?bF.delegateType:bF.bindType)||bG;bv=bI[bG]||[];bA=bv.length;bw=bw?new RegExp("(^|\\.)"+bw.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(bB=0;bB<bv.length;bB++){bH=bv[bB];if((bC||bx===bH.origType)&&(!bJ||bJ.guid===bH.guid)&&(!bw||bw.test(bH.namespace))&&(!bz||bz===bH.selector||bz==="**"&&bH.selector)){bv.splice(bB--,1);if(bH.selector){bv.delegateCount--}if(bF.remove){bF.remove.call(by,bH)}}}if(bv.length===0&&bA!==bv.length){if(!bF.teardown||bF.teardown.call(by,bw,bE.handle)===false){D.removeEvent(by,bG,bE.handle)}delete bI[bG]}}if(D.isEmptyObject(bI)){delete bE.handle;D.removeData(by,"events",true)}},customEvent:{getData:true,setData:true,changeData:true},trigger:function(bw,bD,bB,bK){if(bB&&(bB.nodeType===3||bB.nodeType===8)){return}var bv,by,bE,bI,bA,bz,bG,bF,bC,bJ,bH=bw.type||bw,bx=[];if(O.test(bH+D.event.triggered)){return}if(bH.indexOf("!")>=0){bH=bH.slice(0,-1);by=true}if(bH.indexOf(".")>=0){bx=bH.split(".");bH=bx.shift();bx.sort()}if((!bB||D.event.customEvent[bH])&&!D.event.global[bH]){return}bw=typeof bw==="object"?bw[D.expando]?bw:new D.Event(bH,bw):new D.Event(bH);bw.type=bH;bw.isTrigger=true;bw.exclusive=by;bw.namespace=bx.join(".");bw.namespace_re=bw.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;bz=bH.indexOf(":")<0?"on"+bH:"";if(!bB){bv=D.cache;for(bE in bv){if(bv[bE].events&&bv[bE].events[bH]){D.event.trigger(bw,bD,bv[bE].handle.elem,true)}}return}bw.result=H;if(!bw.target){bw.target=bB}bD=bD!=null?D.makeArray(bD):[];bD.unshift(bw);bG=D.event.special[bH]||{};if(bG.trigger&&bG.trigger.apply(bB,bD)===false){return}bC=[[bB,bG.bindType||bH]];if(!bK&&!bG.noBubble&&!D.isWindow(bB)){bJ=bG.delegateType||bH;bI=O.test(bJ+bH)?bB:bB.parentNode;for(bA=bB;bI;bI=bI.parentNode){bC.push([bI,bJ]);bA=bI}if(bA===(bB.ownerDocument||al)){bC.push([bA.defaultView||bA.parentWindow||be,bJ])}}for(bE=0;bE<bC.length&&!bw.isPropagationStopped();bE++){bI=bC[bE][0];bw.type=bC[bE][1];bF=(D._data(bI,"events")||{})[bw.type]&&D._data(bI,"handle");if(bF){bF.apply(bI,bD)}bF=bz&&bI[bz];if(bF&&D.acceptData(bI)&&bF.apply&&bF.apply(bI,bD)===false){bw.preventDefault()}}bw.type=bH;if(!bK&&!bw.isDefaultPrevented()){if((!bG._default||bG._default.apply(bB.ownerDocument,bD)===false)&&!(bH==="click"&&D.nodeName(bB,"a"))&&D.acceptData(bB)){if(bz&&bB[bH]&&((bH!=="focus"&&bH!=="blur")||bw.target.offsetWidth!==0)&&!D.isWindow(bB)){bA=bB[bz];if(bA){bB[bz]=null}D.event.triggered=bH;bB[bH]();D.event.triggered=H;if(bA){bB[bz]=bA}}}}return bw.result},dispatch:function(bv){bv=D.event.fix(bv||be.event);var bC,bB,bL,bF,bE,bw,bD,bJ,by,bK,bz=((D._data(this,"events")||{})[bv.type]||[]),bA=bz.delegateCount,bH=aE.call(arguments),bx=!bv.exclusive&&!bv.namespace,bG=D.event.special[bv.type]||{},bI=[];bH[0]=bv;bv.delegateTarget=this;if(bG.preDispatch&&bG.preDispatch.call(this,bv)===false){return}if(bA&&!(bv.button&&bv.type==="click")){for(bL=bv.target;bL!=this;bL=bL.parentNode||this){if(bL.disabled!==true||bv.type!=="click"){bE={};bD=[];for(bC=0;bC<bA;bC++){bJ=bz[bC];by=bJ.selector;if(bE[by]===H){bE[by]=bJ.needsContext?D(by,this).index(bL)>=0:D.find(by,this,null,[bL]).length}if(bE[by]){bD.push(bJ)}}if(bD.length){bI.push({elem:bL,matches:bD})}}}}if(bz.length>bA){bI.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC<bI.length&&!bv.isPropagationStopped();bC++){bw=bI[bC];bv.currentTarget=bw.elem;for(bB=0;bB<bw.matches.length&&!bv.isImmediatePropagationStopped();bB++){bJ=bw.matches[bB];if(bx||(!bv.namespace&&!bJ.namespace)||bv.namespace_re&&bv.namespace_re.test(bJ.namespace)){bv.data=bJ.data;bv.handleObj=bJ;bF=((D.event.special[bJ.origType]||{}).handle||bJ.handler).apply(bw.elem,bH);if(bF!==H){bv.result=bF;if(bF===false){bv.preventDefault();bv.stopPropagation()}}}}}if(bG.postDispatch){bG.postDispatch.call(this,bv)}return bv.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(bw,bv){if(bw.which==null){bw.which=bv.charCode!=null?bv.charCode:bv.keyCode}return bw}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(by,bx){var bz,bA,bv,bw=bx.button,bB=bx.fromElement;if(by.pageX==null&&bx.clientX!=null){bz=by.target.ownerDocument||al;bA=bz.documentElement;bv=bz.body;by.pageX=bx.clientX+(bA&&bA.scrollLeft||bv&&bv.scrollLeft||0)-(bA&&bA.clientLeft||bv&&bv.clientLeft||0);by.pageY=bx.clientY+(bA&&bA.scrollTop||bv&&bv.scrollTop||0)-(bA&&bA.clientTop||bv&&bv.clientTop||0)}if(!by.relatedTarget&&bB){by.relatedTarget=bB===by.target?bx.toElement:bB}if(!by.which&&bw!==H){by.which=(bw&1?1:(bw&2?3:(bw&4?2:0)))}return by}},fix:function(bx){if(bx[D.expando]){return bx}var bw,bA,bv=bx,by=D.event.fixHooks[bx.type]||{},bz=by.props?this.props.concat(by.props):this.props;bx=D.Event(bv);for(bw=bz.length;bw;){bA=bz[--bw];bx[bA]=bv[bA]}if(!bx.target){bx.target=bv.srcElement||al}if(bx.target.nodeType===3){bx.target=bx.target.parentNode}bx.metaKey=!!bx.metaKey;return by.filter?by.filter(bx,bv):bx},special:{load:{noBubble:true},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(bx,bw,bv){if(D.isWindow(this)){this.onbeforeunload=bv}},teardown:function(bw,bv){if(this.onbeforeunload===bv){this.onbeforeunload=null}}}},simulate:function(bw,by,bx,bv){var bz=D.extend(new D.Event(),bx,{type:bw,isSimulated:true,originalEvent:{}});if(bv){D.event.trigger(bz,null,by)}else{D.event.dispatch.call(by,bz)}if(bz.isDefaultPrevented()){bx.preventDefault()}}};D.event.handle=D.event.dispatch;D.removeEvent=al.removeEventListener?function(bw,bv,bx){if(bw.removeEventListener){bw.removeEventListener(bv,bx,false)}}:function(bx,bw,by){var bv="on"+bw;if(bx.detachEvent){if(typeof bx[bv]==="undefined"){bx[bv]=null}bx.detachEvent(bv,by)}};D.Event=function(bw,bv){if(!(this instanceof D.Event)){return new D.Event(bw,bv)}if(bw&&bw.type){this.originalEvent=bw;this.type=bw.type;this.isDefaultPrevented=(bw.defaultPrevented||bw.returnValue===false||bw.getPreventDefault&&bw.getPreventDefault())?f:bo}else{this.type=bw}if(bv){D.extend(this,bv)}this.timeStamp=bw&&bw.timeStamp||D.now();this[D.expando]=true};function bo(){return false}function f(){return true}D.Event.prototype={preventDefault:function(){this.isDefaultPrevented=f;var bv=this.originalEvent;if(!bv){return}if(bv.preventDefault){bv.preventDefault()}else{bv.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=f;var bv=this.originalEvent;if(!bv){return}if(bv.stopPropagation){bv.stopPropagation()}bv.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=f;this.stopPropagation()},isDefaultPrevented:bo,isPropagationStopped:bo,isImmediatePropagationStopped:bo};D.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(bw,bv){D.event.special[bw]={delegateType:bv,bindType:bv,handle:function(bA){var by,bC=this,bB=bA.relatedTarget,bz=bA.handleObj,bx=bz.selector;if(!bB||(bB!==bC&&!D.contains(bC,bB))){bA.type=bz.origType;by=bz.handler.apply(this,arguments);bA.type=bv}return by}}});D.fn.extend({on:function(bx,bv,bA,bz,bw){var bB,by;if(typeof bx==="object"){if(typeof bv!=="string"){bA=bA||bv;bv=H}for(by in bx){this.on(by,bv,bA,bx[by],bw)}return this}if(bA==null&&bz==null){bz=bv;bA=bv=H}else{if(bz==null){if(typeof bv==="string"){bz=bA;bA=H}else{bz=bA;bA=bv;bv=H}}}if(bz===false){bz=bo}else{if(!bz){return this}}if(bw===1){bB=bz;bz=function(bC){D().off(bC);return bB.apply(this,arguments)};bz.guid=bB.guid||(bB.guid=D.guid++)}return this.each(function(){D.event.add(this,bx,bz,bA,bv)})},off:function(bx,bv,bz){var bw,by;if(bx&&bx.preventDefault&&bx.handleObj){bw=bx.handleObj;D(bx.delegateTarget).off(bw.namespace?bw.origType+"."+bw.namespace:bw.origType,bw.selector,bw.handler);return this}if(typeof bx==="object"){for(by in bx){this.off(by,bv,bx[by])}return this}if(bv===false||typeof bv==="function"){bz=bv;bv=H}if(bz===false){bz=bo}return this.each(function(){D.event.remove(this,bx,bz,bv)})},delegate:function(bv,bw,by,bx){return this.on(bw,bv,by,bx)},undelegate:function(bv,bw,bx){return arguments.length===1?this.off(bv,"**"):this.off(bw,bv||"**",bx)},trigger:function(bv,bw){return this.each(function(){D.event.trigger(bv,bw,this)})},triggerHandler:function(bv,bw){if(this[0]){return D.event.trigger(bv,bw,this[0],true)}},toggle:function(by){var bw=arguments,bv=by.guid||D.guid++,bx=0,bz=function(bA){var bB=(D._data(this,"lastToggle"+by.guid)||0)%bx;D._data(this,"lastToggle"+by.guid,bB+1);bA.preventDefault();return bw[bB].apply(this,arguments)||false};bz.guid=bv;while(bx<bw.length){bw[bx++].guid=bv}return this.click(bz)},hover:function(bv,bw){return this.mouseenter(bv).mouseleave(bw||bv)}});D.each(("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu").split(" "),function(bw,bv){D.fn[bv]=function(by,bx){if(bx==null){bx=by;by=null}return arguments.length>0?this.on(bv,null,by,bx):this.trigger(bv)};if(aI.test(bv)){D.event.fixHooks[bv]=D.event.keyHooks}if(bj.test(bv)){D.event.fixHooks[bv]=D.event.mouseHooks}});
+/*!
+         * Sizzle CSS Selector Engine
+         * Copyright 2012 JQXLite Foundation and other contributors
+         * Released under the MIT license
+         * http://sizzlejs.com/
+         */
+(function(co,bN){var ct,bG,ch,bw,bS,b6,bJ,bM,bI,cf,bF=true,b0="undefined",cv=("sizcache"+Math.random()).replace(".",""),bA=String,bE=co.document,bH=bE.documentElement,bX=0,bL=0,ca=[].pop,cs=[].push,bR=[].slice,bU=[].indexOf||function(cF){var cE=0,cD=this.length;for(;cE<cD;cE++){if(this[cE]===cF){return cE}}return -1},cx=function(cD,cE){cD[cv]=cE==null||cE;return cD},cB=function(){var cD={},cE=[];return cx(function(cF,cG){if(cE.push(cF)>ch.cacheLength){delete cD[cE.shift()]}return(cD[cF+" "]=cG)},cD)},cq=cB(),cr=cB(),bT=cB(),b4="[\\x20\\t\\r\\n\\f]",bQ="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",bO=bQ.replace("w","w#"),cA="([*^$|!~]?=)",cl="\\["+b4+"*("+bQ+")"+b4+"*(?:"+cA+b4+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+bO+")|)|)"+b4+"*\\]",cC=":("+bQ+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+cl+")|[^:]|\\\\.)*|.*))\\)|)",b5=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+b4+"*((?:-\\d)?\\d*)"+b4+"*\\)|)(?=[^-]|$)",cp=new RegExp("^"+b4+"+|((?:^|[^\\\\])(?:\\\\.)*)"+b4+"+$","g"),bB=new RegExp("^"+b4+"*,"+b4+"*"),cd=new RegExp("^"+b4+"*([\\x20\\t\\r\\n\\f>+~])"+b4+"*"),ci=new RegExp(cC),ck=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,b9=/^:not/,cn=/[\x20\t\r\n\f]*[+~]/,cw=/:not\($/,bY=/h\d/i,cj=/input|select|textarea|button/i,bZ=/\\(?!\\)/g,cc={ID:new RegExp("^#("+bQ+")"),CLASS:new RegExp("^\\.("+bQ+")"),NAME:new RegExp("^\\[name=['\"]?("+bQ+")['\"]?\\]"),TAG:new RegExp("^("+bQ.replace("w","w*")+")"),ATTR:new RegExp("^"+cl),PSEUDO:new RegExp("^"+cC),POS:new RegExp(b5,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+b4+"*(even|odd|(([+-]|)(\\d*)n|)"+b4+"*(?:([+-]|)"+b4+"*(\\d+)|))"+b4+"*\\)|)","i"),needsContext:new RegExp("^"+b4+"*[>+~]|"+b5,"i")},cg=function(cD){var cF=bE.createElement("div");try{return cD(cF)}catch(cE){return false}finally{cF=null}},bD=cg(function(cD){cD.appendChild(bE.createComment(""));return !cD.getElementsByTagName("*").length}),b8=cg(function(cD){cD.innerHTML="<a href='#'></a>";return cD.firstChild&&typeof cD.firstChild.getAttribute!==b0&&cD.firstChild.getAttribute("href")==="#"}),bW=cg(function(cE){cE.innerHTML="<select></select>";var cD=typeof cE.lastChild.getAttribute("multiple");return cD!=="boolean"&&cD!=="string"}),b7=cg(function(cD){cD.innerHTML="<div class='hidden e'></div><div class='hidden'></div>";if(!cD.getElementsByClassName||!cD.getElementsByClassName("e").length){return false}cD.lastChild.className="e";return cD.getElementsByClassName("e").length===2}),bv=cg(function(cE){cE.id=cv+0;cE.innerHTML="<a name='"+cv+"'></a><div name='"+cv+"'></div>";bH.insertBefore(cE,bH.firstChild);var cD=bE.getElementsByName&&bE.getElementsByName(cv).length===2+bE.getElementsByName(cv+0).length;bG=!bE.getElementById(cv);bH.removeChild(cE);return cD});try{bR.call(bH.childNodes,0)[0].nodeType}catch(cz){bR=function(cE){var cF,cD=[];for(;(cF=this[cE]);cE++){cD.push(cF)}return cD}}function cm(cG,cD,cI,cL){cI=cI||[];cD=cD||bE;var cJ,cE,cK,cF,cH=cD.nodeType;if(!cG||typeof cG!=="string"){return cI}if(cH!==1&&cH!==9){return[]}cK=bS(cD);if(!cK&&!cL){if((cJ=ck.exec(cG))){if((cF=cJ[1])){if(cH===9){cE=cD.getElementById(cF);if(cE&&cE.parentNode){if(cE.id===cF){cI.push(cE);return cI}}else{return cI}}else{if(cD.ownerDocument&&(cE=cD.ownerDocument.getElementById(cF))&&b6(cD,cE)&&cE.id===cF){cI.push(cE);return cI}}}else{if(cJ[2]){cs.apply(cI,bR.call(cD.getElementsByTagName(cG),0));return cI}else{if((cF=cJ[3])&&b7&&cD.getElementsByClassName){cs.apply(cI,bR.call(cD.getElementsByClassName(cF),0));return cI}}}}}return cu(cG.replace(cp,"$1"),cD,cI,cL,cK)}cm.matches=function(cE,cD){return cm(cE,null,null,cD)};cm.matchesSelector=function(cD,cE){return cm(cE,null,null,[cD]).length>0};function ce(cD){return function(cF){var cE=cF.nodeName.toLowerCase();return cE==="input"&&cF.type===cD}}function bz(cD){return function(cF){var cE=cF.nodeName.toLowerCase();return(cE==="input"||cE==="button")&&cF.type===cD}}function cb(cD){return cx(function(cE){cE=+cE;return cx(function(cF,cJ){var cH,cG=cD([],cF.length,cE),cI=cG.length;while(cI--){if(cF[(cH=cG[cI])]){cF[cH]=!(cJ[cH]=cF[cH])}}})})}bw=cm.getText=function(cH){var cG,cE="",cF=0,cD=cH.nodeType;if(cD){if(cD===1||cD===9||cD===11){if(typeof cH.textContent==="string"){return cH.textContent}else{for(cH=cH.firstChild;cH;cH=cH.nextSibling){cE+=bw(cH)}}}else{if(cD===3||cD===4){return cH.nodeValue}}}else{for(;(cG=cH[cF]);cF++){cE+=bw(cG)}}return cE};bS=cm.isXML=function(cD){var cE=cD&&(cD.ownerDocument||cD).documentElement;return cE?cE.nodeName!=="HTML":false};b6=cm.contains=bH.contains?function(cE,cD){var cG=cE.nodeType===9?cE.documentElement:cE,cF=cD&&cD.parentNode;return cE===cF||!!(cF&&cF.nodeType===1&&cG.contains&&cG.contains(cF))}:bH.compareDocumentPosition?function(cE,cD){return cD&&!!(cE.compareDocumentPosition(cD)&16)}:function(cE,cD){while((cD=cD.parentNode)){if(cD===cE){return true}}return false};cm.attr=function(cF,cE){var cG,cD=bS(cF);if(!cD){cE=cE.toLowerCase()}if((cG=ch.attrHandle[cE])){return cG(cF)}if(cD||bW){return cF.getAttribute(cE)}cG=cF.getAttributeNode(cE);return cG?typeof cF[cE]==="boolean"?cF[cE]?cE:null:cG.specified?cG.value:null:null};ch=cm.selectors={cacheLength:50,createPseudo:cx,match:cc,attrHandle:b8?{}:{href:function(cD){return cD.getAttribute("href",2)},type:function(cD){return cD.getAttribute("type")}},find:{ID:bG?function(cG,cF,cE){if(typeof cF.getElementById!==b0&&!cE){var cD=cF.getElementById(cG);return cD&&cD.parentNode?[cD]:[]}}:function(cG,cF,cE){if(typeof cF.getElementById!==b0&&!cE){var cD=cF.getElementById(cG);return cD?cD.id===cG||typeof cD.getAttributeNode!==b0&&cD.getAttributeNode("id").value===cG?[cD]:bN:[]}},TAG:bD?function(cD,cE){if(typeof cE.getElementsByTagName!==b0){return cE.getElementsByTagName(cD)}}:function(cD,cH){var cG=cH.getElementsByTagName(cD);if(cD==="*"){var cI,cF=[],cE=0;for(;(cI=cG[cE]);cE++){if(cI.nodeType===1){cF.push(cI)}}return cF}return cG},NAME:bv&&function(cD,cE){if(typeof cE.getElementsByName!==b0){return cE.getElementsByName(name)}},CLASS:b7&&function(cF,cE,cD){if(typeof cE.getElementsByClassName!==b0&&!cD){return cE.getElementsByClassName(cF)}}},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(cD){cD[1]=cD[1].replace(bZ,"");cD[3]=(cD[4]||cD[5]||"").replace(bZ,"");if(cD[2]==="~="){cD[3]=" "+cD[3]+" "}return cD.slice(0,4)},CHILD:function(cD){cD[1]=cD[1].toLowerCase();if(cD[1]==="nth"){if(!cD[2]){cm.error(cD[0])}cD[3]=+(cD[3]?cD[4]+(cD[5]||1):2*(cD[2]==="even"||cD[2]==="odd"));cD[4]=+((cD[6]+cD[7])||cD[2]==="odd")}else{if(cD[2]){cm.error(cD[0])}}return cD},PSEUDO:function(cE){var cF,cD;if(cc.CHILD.test(cE[0])){return null}if(cE[3]){cE[2]=cE[3]}else{if((cF=cE[4])){if(ci.test(cF)&&(cD=bx(cF,true))&&(cD=cF.indexOf(")",cF.length-cD)-cF.length)){cF=cF.slice(0,cD);cE[0]=cE[0].slice(0,cD)}cE[2]=cF}}return cE.slice(0,3)}},filter:{ID:bG?function(cD){cD=cD.replace(bZ,"");return function(cE){return cE.getAttribute("id")===cD}}:function(cD){cD=cD.replace(bZ,"");return function(cF){var cE=typeof cF.getAttributeNode!==b0&&cF.getAttributeNode("id");return cE&&cE.value===cD}},TAG:function(cD){if(cD==="*"){return function(){return true}}cD=cD.replace(bZ,"").toLowerCase();return function(cE){return cE.nodeName&&cE.nodeName.toLowerCase()===cD}},CLASS:function(cD){var cE=cq[cv][cD+" "];return cE||(cE=new RegExp("(^|"+b4+")"+cD+"("+b4+"|$)"))&&cq(cD,function(cF){return cE.test(cF.className||(typeof cF.getAttribute!==b0&&cF.getAttribute("class"))||"")})},ATTR:function(cF,cE,cD){return function(cI,cH){var cG=cm.attr(cI,cF);if(cG==null){return cE==="!="}if(!cE){return true}cG+="";return cE==="="?cG===cD:cE==="!="?cG!==cD:cE==="^="?cD&&cG.indexOf(cD)===0:cE==="*="?cD&&cG.indexOf(cD)>-1:cE==="$="?cD&&cG.substr(cG.length-cD.length)===cD:cE==="~="?(" "+cG+" ").indexOf(cD)>-1:cE==="|="?cG===cD||cG.substr(0,cD.length+1)===cD+"-":false}},CHILD:function(cD,cF,cG,cE){if(cD==="nth"){return function(cJ){var cI,cK,cH=cJ.parentNode;if(cG===1&&cE===0){return true}if(cH){cK=0;for(cI=cH.firstChild;cI;cI=cI.nextSibling){if(cI.nodeType===1){cK++;if(cJ===cI){break}}}}cK-=cE;return cK===cG||(cK%cG===0&&cK/cG>=0)}}return function(cI){var cH=cI;switch(cD){case"only":case"first":while((cH=cH.previousSibling)){if(cH.nodeType===1){return false}}if(cD==="first"){return true}cH=cI;case"last":while((cH=cH.nextSibling)){if(cH.nodeType===1){return false}}return true}}},PSEUDO:function(cG,cF){var cD,cE=ch.pseudos[cG]||ch.setFilters[cG.toLowerCase()]||cm.error("unsupported pseudo: "+cG);if(cE[cv]){return cE(cF)}if(cE.length>1){cD=[cG,cG,"",cF];return ch.setFilters.hasOwnProperty(cG.toLowerCase())?cx(function(cJ,cL){var cI,cH=cE(cJ,cF),cK=cH.length;while(cK--){cI=bU.call(cJ,cH[cK]);cJ[cI]=!(cL[cI]=cH[cK])}}):function(cH){return cE(cH,0,cD)}}return cE}},pseudos:{not:cx(function(cD){var cE=[],cF=[],cG=bJ(cD.replace(cp,"$1"));return cG[cv]?cx(function(cI,cN,cL,cJ){var cM,cH=cG(cI,null,cJ,[]),cK=cI.length;while(cK--){if((cM=cH[cK])){cI[cK]=!(cN[cK]=cM)}}}):function(cJ,cI,cH){cE[0]=cJ;cG(cE,null,cH,cF);return !cF.pop()}}),has:cx(function(cD){return function(cE){return cm(cD,cE).length>0}}),contains:cx(function(cD){return function(cE){return(cE.textContent||cE.innerText||bw(cE)).indexOf(cD)>-1}}),enabled:function(cD){return cD.disabled===false},disabled:function(cD){return cD.disabled===true},checked:function(cD){var cE=cD.nodeName.toLowerCase();return(cE==="input"&&!!cD.checked)||(cE==="option"&&!!cD.selected)},selected:function(cD){if(cD.parentNode){cD.parentNode.selectedIndex}return cD.selected===true},parent:function(cD){return !ch.pseudos.empty(cD)},empty:function(cE){var cD;cE=cE.firstChild;while(cE){if(cE.nodeName>"@"||(cD=cE.nodeType)===3||cD===4){return false}cE=cE.nextSibling}return true},header:function(cD){return bY.test(cD.nodeName)},text:function(cF){var cE,cD;return cF.nodeName.toLowerCase()==="input"&&(cE=cF.type)==="text"&&((cD=cF.getAttribute("type"))==null||cD.toLowerCase()===cE)},radio:ce("radio"),checkbox:ce("checkbox"),file:ce("file"),password:ce("password"),image:ce("image"),submit:bz("submit"),reset:bz("reset"),button:function(cE){var cD=cE.nodeName.toLowerCase();return cD==="input"&&cE.type==="button"||cD==="button"},input:function(cD){return cj.test(cD.nodeName)},focus:function(cD){var cE=cD.ownerDocument;return cD===cE.activeElement&&(!cE.hasFocus||cE.hasFocus())&&!!(cD.type||cD.href||~cD.tabIndex)},active:function(cD){return cD===cD.ownerDocument.activeElement},first:cb(function(){return[0]}),last:cb(function(cD,cE){return[cE-1]}),eq:cb(function(cD,cF,cE){return[cE<0?cE+cF:cE]}),even:cb(function(cD,cF){for(var cE=0;cE<cF;cE+=2){cD.push(cE)}return cD}),odd:cb(function(cD,cF){for(var cE=1;cE<cF;cE+=2){cD.push(cE)}return cD}),lt:cb(function(cD,cG,cF){for(var cE=cF<0?cF+cG:cF;--cE>=0;){cD.push(cE)}return cD}),gt:cb(function(cD,cG,cF){for(var cE=cF<0?cF+cG:cF;++cE<cG;){cD.push(cE)}return cD})}};function by(cE,cD,cF){if(cE===cD){return cF}var cG=cE.nextSibling;while(cG){if(cG===cD){return -1}cG=cG.nextSibling}return 1}bM=bH.compareDocumentPosition?function(cE,cD){if(cE===cD){bI=true;return 0}return(!cE.compareDocumentPosition||!cD.compareDocumentPosition?cE.compareDocumentPosition:cE.compareDocumentPosition(cD)&4)?-1:1}:function(cL,cK){if(cL===cK){bI=true;return 0}else{if(cL.sourceIndex&&cK.sourceIndex){return cL.sourceIndex-cK.sourceIndex}}var cI,cE,cF=[],cD=[],cH=cL.parentNode,cJ=cK.parentNode,cM=cH;if(cH===cJ){return by(cL,cK)}else{if(!cH){return -1}else{if(!cJ){return 1}}}while(cM){cF.unshift(cM);cM=cM.parentNode}cM=cJ;while(cM){cD.unshift(cM);cM=cM.parentNode}cI=cF.length;cE=cD.length;for(var cG=0;cG<cI&&cG<cE;cG++){if(cF[cG]!==cD[cG]){return by(cF[cG],cD[cG])}}return cG===cI?by(cL,cD[cG],-1):by(cF[cG],cK,1)};[0,0].sort(bM);bF=!bI;cm.uniqueSort=function(cF){var cG,cH=[],cE=1,cD=0;bI=bF;cF.sort(bM);if(bI){for(;(cG=cF[cE]);cE++){if(cG===cF[cE-1]){cD=cH.push(cE)}}while(cD--){cF.splice(cH[cD],1)}}return cF};cm.error=function(cD){throw new Error("Syntax error, unrecognized expression: "+cD)};function bx(cH,cM){var cE,cI,cK,cL,cJ,cF,cD,cG=cr[cv][cH+" "];if(cG){return cM?0:cG.slice(0)}cJ=cH;cF=[];cD=ch.preFilter;while(cJ){if(!cE||(cI=bB.exec(cJ))){if(cI){cJ=cJ.slice(cI[0].length)||cJ}cF.push(cK=[])}cE=false;if((cI=cd.exec(cJ))){cK.push(cE=new bA(cI.shift()));cJ=cJ.slice(cE.length);cE.type=cI[0].replace(cp," ")}for(cL in ch.filter){if((cI=cc[cL].exec(cJ))&&(!cD[cL]||(cI=cD[cL](cI)))){cK.push(cE=new bA(cI.shift()));cJ=cJ.slice(cE.length);cE.type=cL;cE.matches=cI}}if(!cE){break}}return cM?cJ.length:cJ?cm.error(cH):cr(cH,cF).slice(0)}function b2(cH,cF,cG){var cD=cF.dir,cI=cG&&cF.dir==="parentNode",cE=bL++;return cF.first?function(cL,cK,cJ){while((cL=cL[cD])){if(cI||cL.nodeType===1){return cH(cL,cK,cJ)}}}:function(cM,cL,cK){if(!cK){var cJ,cN=bX+" "+cE+" ",cO=cN+ct;while((cM=cM[cD])){if(cI||cM.nodeType===1){if((cJ=cM[cv])===cO){return cM.sizset}else{if(typeof cJ==="string"&&cJ.indexOf(cN)===0){if(cM.sizset){return cM}}else{cM[cv]=cO;if(cH(cM,cL,cK)){cM.sizset=true;return cM}cM.sizset=false}}}}}else{while((cM=cM[cD])){if(cI||cM.nodeType===1){if(cH(cM,cL,cK)){return cM}}}}}}function bK(cD){return cD.length>1?function(cH,cG,cE){var cF=cD.length;while(cF--){if(!cD[cF](cH,cG,cE)){return false}}return true}:cD[0]}function b1(cD,cE,cF,cG,cJ){var cH,cM=[],cI=0,cK=cD.length,cL=cE!=null;for(;cI<cK;cI++){if((cH=cD[cI])){if(!cF||cF(cH,cG,cJ)){cM.push(cH);if(cL){cE.push(cI)}}}}return cM}function cy(cF,cE,cH,cG,cI,cD){if(cG&&!cG[cv]){cG=cy(cG)}if(cI&&!cI[cv]){cI=cy(cI,cD)}return cx(function(cT,cQ,cL,cS){var cV,cR,cN,cM=[],cU=[],cK=cQ.length,cJ=cT||bV(cE||"*",cL.nodeType?[cL]:cL,[]),cO=cF&&(cT||!cE)?b1(cJ,cM,cF,cL,cS):cJ,cP=cH?cI||(cT?cF:cK||cG)?[]:cQ:cO;if(cH){cH(cO,cP,cL,cS)}if(cG){cV=b1(cP,cU);cG(cV,[],cL,cS);cR=cV.length;while(cR--){if((cN=cV[cR])){cP[cU[cR]]=!(cO[cU[cR]]=cN)}}}if(cT){if(cI||cF){if(cI){cV=[];cR=cP.length;while(cR--){if((cN=cP[cR])){cV.push((cO[cR]=cN))}}cI(null,(cP=[]),cV,cS)}cR=cP.length;while(cR--){if((cN=cP[cR])&&(cV=cI?bU.call(cT,cN):cM[cR])>-1){cT[cV]=!(cQ[cV]=cN)}}}}else{cP=b1(cP===cQ?cP.splice(cK,cP.length):cP);if(cI){cI(null,cQ,cP,cS)}else{cs.apply(cQ,cP)}}})}function b3(cJ){var cE,cH,cF,cI=cJ.length,cM=ch.relative[cJ[0].type],cN=cM||ch.relative[" "],cG=cM?1:0,cK=b2(function(cO){return cO===cE},cN,true),cL=b2(function(cO){return bU.call(cE,cO)>-1},cN,true),cD=[function(cQ,cP,cO){return(!cM&&(cO||cP!==cf))||((cE=cP).nodeType?cK(cQ,cP,cO):cL(cQ,cP,cO))}];for(;cG<cI;cG++){if((cH=ch.relative[cJ[cG].type])){cD=[b2(bK(cD),cH)]}else{cH=ch.filter[cJ[cG].type].apply(null,cJ[cG].matches);if(cH[cv]){cF=++cG;for(;cF<cI;cF++){if(ch.relative[cJ[cF].type]){break}}return cy(cG>1&&bK(cD),cG>1&&cJ.slice(0,cG-1).join("").replace(cp,"$1"),cH,cG<cF&&b3(cJ.slice(cG,cF)),cF<cI&&b3((cJ=cJ.slice(cF))),cF<cI&&cJ.join(""))}cD.push(cH)}}return bK(cD)}function bC(cG,cF){var cD=cF.length>0,cH=cG.length>0,cE=function(cR,cL,cQ,cP,cX){var cM,cN,cS,cW=[],cV=0,cO="0",cI=cR&&[],cT=cX!=null,cU=cf,cK=cR||cH&&ch.find.TAG("*",cX&&cL.parentNode||cL),cJ=(bX+=cU==null?1:Math.E);if(cT){cf=cL!==bE&&cL;ct=cE.el}for(;(cM=cK[cO])!=null;cO++){if(cH&&cM){for(cN=0;(cS=cG[cN]);cN++){if(cS(cM,cL,cQ)){cP.push(cM);break}}if(cT){bX=cJ;ct=++cE.el}}if(cD){if((cM=!cS&&cM)){cV--}if(cR){cI.push(cM)}}}cV+=cO;if(cD&&cO!==cV){for(cN=0;(cS=cF[cN]);cN++){cS(cI,cW,cL,cQ)}if(cR){if(cV>0){while(cO--){if(!(cI[cO]||cW[cO])){cW[cO]=ca.call(cP)}}}cW=b1(cW)}cs.apply(cP,cW);if(cT&&!cR&&cW.length>0&&(cV+cF.length)>1){cm.uniqueSort(cP)}}if(cT){bX=cJ;cf=cU}return cI};cE.el=0;return cD?cx(cE):cE}bJ=cm.compile=function(cD,cI){var cF,cE=[],cH=[],cG=bT[cv][cD+" "];if(!cG){if(!cI){cI=bx(cD)}cF=cI.length;while(cF--){cG=b3(cI[cF]);if(cG[cv]){cE.push(cG)}else{cH.push(cG)}}cG=bT(cD,bC(cH,cE))}return cG};function bV(cE,cH,cG){var cF=0,cD=cH.length;for(;cF<cD;cF++){cm(cE,cH[cF],cG)}return cG}function cu(cF,cD,cH,cL,cK){var cI,cO,cE,cN,cM,cJ=bx(cF),cG=cJ.length;if(!cL){if(cJ.length===1){cO=cJ[0]=cJ[0].slice(0);if(cO.length>2&&(cE=cO[0]).type==="ID"&&cD.nodeType===9&&!cK&&ch.relative[cO[1].type]){cD=ch.find.ID(cE.matches[0].replace(bZ,""),cD,cK)[0];if(!cD){return cH}cF=cF.slice(cO.shift().length)}for(cI=cc.POS.test(cF)?-1:cO.length-1;cI>=0;cI--){cE=cO[cI];if(ch.relative[(cN=cE.type)]){break}if((cM=ch.find[cN])){if((cL=cM(cE.matches[0].replace(bZ,""),cn.test(cO[0].type)&&cD.parentNode||cD,cK))){cO.splice(cI,1);cF=cL.length&&cO.join("");if(!cF){cs.apply(cH,bR.call(cL,0));return cH}break}}}}}bJ(cF,cJ)(cL,cD,cK,cH,cn.test(cF));return cH}if(bE.querySelectorAll){(function(){var cI,cJ=cu,cH=/'|\\/g,cF=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,cE=[":focus"],cD=[":active"],cG=bH.matchesSelector||bH.mozMatchesSelector||bH.webkitMatchesSelector||bH.oMatchesSelector||bH.msMatchesSelector;cg(function(cK){cK.innerHTML="<select><option selected=''></option></select>";if(!cK.querySelectorAll("[selected]").length){cE.push("\\["+b4+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!cK.querySelectorAll(":checked").length){cE.push(":checked")}});cg(function(cK){cK.innerHTML="<p test=''></p>";if(cK.querySelectorAll("[test^='']").length){cE.push("[*^$]="+b4+"*(?:\"\"|'')")}cK.innerHTML="<input type='hidden'/>";if(!cK.querySelectorAll(":enabled").length){cE.push(":enabled",":disabled")}});cE=new RegExp(cE.join("|"));cu=function(cQ,cL,cS,cV,cU){if(!cV&&!cU&&!cE.test(cQ)){var cO,cT,cN=true,cK=cv,cM=cL,cR=cL.nodeType===9&&cQ;if(cL.nodeType===1&&cL.nodeName.toLowerCase()!=="object"){cO=bx(cQ);if((cN=cL.getAttribute("id"))){cK=cN.replace(cH,"\\$&")}else{cL.setAttribute("id",cK)}cK="[id='"+cK+"'] ";cT=cO.length;while(cT--){cO[cT]=cK+cO[cT].join("")}cM=cn.test(cQ)&&cL.parentNode||cL;cR=cO.join(",")}if(cR){try{cs.apply(cS,bR.call(cM.querySelectorAll(cR),0));return cS}catch(cP){}finally{if(!cN){cL.removeAttribute("id")}}}}return cJ(cQ,cL,cS,cV,cU)};if(cG){cg(function(cL){cI=cG.call(cL,"div");try{cG.call(cL,"[test!='']:sizzle");cD.push("!=",cC)}catch(cK){}});cD=new RegExp(cD.join("|"));cm.matchesSelector=function(cL,cN){cN=cN.replace(cF,"='$1']");if(!bS(cL)&&!cD.test(cN)&&!cE.test(cN)){try{var cK=cG.call(cL,cN);if(cK||cI||cL.document&&cL.document.nodeType!==11){return cK}}catch(cM){}}return cm(cN,null,null,[cL]).length>0}}})()}ch.pseudos.nth=ch.pseudos.eq;function bP(){}ch.filters=bP.prototype=ch.pseudos;ch.setFilters=new bP();cm.attr=D.attr;D.find=cm;D.expr=cm.selectors;D.expr[":"]=D.expr.pseudos;D.unique=cm.uniqueSort;D.text=cm.getText;D.isXMLDoc=cm.isXML;D.contains=cm.contains})(be);var V=/Until$/,ah=/^(?:parents|prev(?:Until|All))/,br=/^.[^:#\[\.,]*$/,aR=D.expr.match.needsContext,ap={children:true,contents:true,next:true,prev:true};D.fn.extend({find:function(bv){var bz,bw,bB,bC,bA,by,bx=this;if(typeof bv!=="string"){return D(bv).filter(function(){for(bz=0,bw=bx.length;bz<bw;bz++){if(D.contains(bx[bz],this)){return true}}})}by=this.pushStack("","find",bv);for(bz=0,bw=this.length;bz<bw;bz++){bB=by.length;D.find(bv,this[bz],by);if(bz>0){for(bC=bB;bC<by.length;bC++){for(bA=0;bA<bB;bA++){if(by[bA]===by[bC]){by.splice(bC--,1);break}}}}}return by},has:function(by){var bx,bw=D(by,this),bv=bw.length;return this.filter(function(){for(bx=0;bx<bv;bx++){if(D.contains(this,bw[bx])){return true}}})},not:function(bv){return this.pushStack(aA(this,bv,false),"not",bv)},filter:function(bv){return this.pushStack(aA(this,bv,true),"filter",bv)},is:function(bv){return !!bv&&(typeof bv==="string"?aR.test(bv)?D(bv,this.context).index(this[0])>=0:D.filter(bv,this).length>0:this.filter(bv).length>0)},closest:function(bz,by){var bA,bx=0,bv=this.length,bw=[],bB=aR.test(bz)||typeof bz!=="string"?D(bz,by||this.context):0;for(;bx<bv;bx++){bA=this[bx];while(bA&&bA.ownerDocument&&bA!==by&&bA.nodeType!==11){if(bB?bB.index(bA)>-1:D.find.matchesSelector(bA,bz)){bw.push(bA);break}bA=bA.parentNode}}bw=bw.length>1?D.unique(bw):bw;return this.pushStack(bw,"closest",bz)},index:function(bv){if(!bv){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof bv==="string"){return D.inArray(this[0],D(bv))}return D.inArray(bv.jqx?bv[0]:bv,this)},add:function(bv,bw){var by=typeof bv==="string"?D(bv,bw):D.makeArray(bv&&bv.nodeType?[bv]:bv),bx=D.merge(this.get(),by);return this.pushStack(y(by[0])||y(bx[0])?bx:D.unique(bx))},addBack:function(bv){return this.add(bv==null?this.prevObject:this.prevObject.filter(bv))}});D.fn.andSelf=D.fn.addBack;function y(bv){return !bv||!bv.parentNode||bv.parentNode.nodeType===11}function aC(bw,bv){do{bw=bw[bv]}while(bw&&bw.nodeType!==1);return bw}D.each({parent:function(bw){var bv=bw.parentNode;return bv&&bv.nodeType!==11?bv:null},parents:function(bv){return D.dir(bv,"parentNode")},parentsUntil:function(bw,bv,bx){return D.dir(bw,"parentNode",bx)},next:function(bv){return aC(bv,"nextSibling")},prev:function(bv){return aC(bv,"previousSibling")},nextAll:function(bv){return D.dir(bv,"nextSibling")},prevAll:function(bv){return D.dir(bv,"previousSibling")},nextUntil:function(bw,bv,bx){return D.dir(bw,"nextSibling",bx)},prevUntil:function(bw,bv,bx){return D.dir(bw,"previousSibling",bx)},siblings:function(bv){return D.sibling((bv.parentNode||{}).firstChild,bv)},children:function(bv){return D.sibling(bv.firstChild)},contents:function(bv){return D.nodeName(bv,"iframe")?bv.contentDocument||bv.contentWindow.document:D.merge([],bv.childNodes)}},function(bv,bw){D.fn[bv]=function(bz,bx){var by=D.map(this,bw,bz);if(!V.test(bv)){bx=bz}if(bx&&typeof bx==="string"){by=D.filter(bx,by)}by=this.length>1&&!ap[bv]?D.unique(by):by;if(this.length>1&&ah.test(bv)){by=by.reverse()}return this.pushStack(by,bv,aE.call(arguments).join(","))}});D.extend({filter:function(bx,bv,bw){if(bw){bx=":not("+bx+")"}return bv.length===1?D.find.matchesSelector(bv[0],bx)?[bv[0]]:[]:D.find.matches(bx,bv)},dir:function(bx,bw,bz){var bv=[],by=bx[bw];while(by&&by.nodeType!==9&&(bz===H||by.nodeType!==1||!D(by).is(bz))){if(by.nodeType===1){bv.push(by)}by=by[bw]}return bv},sibling:function(bx,bw){var bv=[];for(;bx;bx=bx.nextSibling){if(bx.nodeType===1&&bx!==bw){bv.push(bx)}}return bv}});function aA(by,bx,bv){bx=bx||0;if(D.isFunction(bx)){return D.grep(by,function(bA,bz){var bB=!!bx.call(bA,bz,bA);return bB===bv})}else{if(bx.nodeType){return D.grep(by,function(bA,bz){return(bA===bx)===bv})}else{if(typeof bx==="string"){var bw=D.grep(by,function(bz){return bz.nodeType===1});if(br.test(bx)){return D.filter(bx,bw,!bv)}else{bx=D.filter(bx,bw)}}}}return D.grep(by,function(bA,bz){return(D.inArray(bA,bx)>=0)===bv})}function a(bv){var bx=aK.split("|"),bw=bv.createDocumentFragment();if(bw.createElement){while(bx.length){bw.createElement(bx.pop())}}return bw}var aK="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ab=/ JQXLite\d+="(?:null|\d+)"/g,ai=/^\s+/,M=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,c=/<([\w:]+)/,w=/<tbody/i,Q=/<|&#?\w+;/,X=/<(?:script|style|link)/i,J=/<(?:script|object|embed|option|style)/i,ad=new RegExp("<(?:"+aK+")[\\s/>]","i"),S=/^(?:checkbox|radio)$/,p=/checked\s*(?:[^=]|=\s*.checked.)/i,bq=/\/(java|ecma)script/i,aH=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,an={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},U=a(al),bh=U.appendChild(al.createElement("div"));an.optgroup=an.option;an.tbody=an.tfoot=an.colgroup=an.caption=an.thead;an.th=an.td;if(!D.support.htmlSerialize){an._default=[1,"X<div>","</div>"]}D.fn.extend({text:function(bv){return D.access(this,function(bw){return bw===H?D.text(this):this.empty().append((this[0]&&this[0].ownerDocument||al).createTextNode(bw))},null,bv,arguments.length)},wrapAll:function(bv){if(D.isFunction(bv)){return this.each(function(bx){D(this).wrapAll(bv.call(this,bx))})}if(this[0]){var bw=D(bv,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bw.insertBefore(this[0])}bw.map(function(){var bx=this;while(bx.firstChild&&bx.firstChild.nodeType===1){bx=bx.firstChild}return bx}).append(this)}return this},wrapInner:function(bv){if(D.isFunction(bv)){return this.each(function(bw){D(this).wrapInner(bv.call(this,bw))})}return this.each(function(){var bw=D(this),bx=bw.contents();if(bx.length){bx.wrapAll(bv)}else{bw.append(bv)}})},wrap:function(bv){var bw=D.isFunction(bv);return this.each(function(bx){D(this).wrapAll(bw?bv.call(this,bx):bv)})},unwrap:function(){return this.parent().each(function(){if(!D.nodeName(this,"body")){D(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(bv){if(this.nodeType===1||this.nodeType===11){this.appendChild(bv)}})},prepend:function(){return this.domManip(arguments,true,function(bv){if(this.nodeType===1||this.nodeType===11){this.insertBefore(bv,this.firstChild)}})},before:function(){if(!y(this[0])){return this.domManip(arguments,false,function(bw){this.parentNode.insertBefore(bw,this)})}if(arguments.length){var bv=D.clean(arguments);return this.pushStack(D.merge(bv,this),"before",this.selector)}},after:function(){if(!y(this[0])){return this.domManip(arguments,false,function(bw){this.parentNode.insertBefore(bw,this.nextSibling)})}if(arguments.length){var bv=D.clean(arguments);return this.pushStack(D.merge(this,bv),"after",this.selector)}},remove:function(bv,by){var bx,bw=0;for(;(bx=this[bw])!=null;bw++){if(!bv||D.filter(bv,[bx]).length){if(!by&&bx.nodeType===1){D.cleanData(bx.getElementsByTagName("*"));D.cleanData([bx])}if(bx.parentNode){bx.parentNode.removeChild(bx)}}}return this},empty:function(){var bw,bv=0;for(;(bw=this[bv])!=null;bv++){if(bw.nodeType===1){D.cleanData(bw.getElementsByTagName("*"))}while(bw.firstChild){bw.removeChild(bw.firstChild)}}return this},clone:function(bw,bv){bw=bw==null?false:bw;bv=bv==null?bw:bv;return this.map(function(){return D.clone(this,bw,bv)})},html:function(bv){return D.access(this,function(bz){var by=this[0]||{},bx=0,bw=this.length;if(bz===H){return by.nodeType===1?by.innerHTML.replace(ab,""):H}if(typeof bz==="string"&&!X.test(bz)&&(D.support.htmlSerialize||!ad.test(bz))&&(D.support.leadingWhitespace||!ai.test(bz))&&!an[(c.exec(bz)||["",""])[1].toLowerCase()]){bz=bz.replace(M,"<$1></$2>");try{for(;bx<bw;bx++){by=this[bx]||{};if(by.nodeType===1){D.cleanData(by.getElementsByTagName("*"));by.innerHTML=bz}}by=0}catch(bA){}}if(by){this.empty().append(bz)}},null,bv,arguments.length)},replaceWith:function(bv){if(!y(this[0])){if(D.isFunction(bv)){return this.each(function(by){var bx=D(this),bw=bx.html();bx.replaceWith(bv.call(this,by,bw))})}if(typeof bv!=="string"){bv=D(bv).detach()}return this.each(function(){var bx=this.nextSibling,bw=this.parentNode;D(this).remove();if(bx){D(bx).before(bv)}else{D(bw).append(bv)}})}return this.length?this.pushStack(D(D.isFunction(bv)?bv():bv),"replaceWith",bv):this},detach:function(bv){return this.remove(bv,true)},domManip:function(bB,bF,bE){bB=[].concat.apply([],bB);var bx,bz,bA,bD,by=0,bC=bB[0],bw=[],bv=this.length;if(!D.support.checkClone&&bv>1&&typeof bC==="string"&&p.test(bC)){return this.each(function(){D(this).domManip(bB,bF,bE)})}if(D.isFunction(bC)){return this.each(function(bH){var bG=D(this);bB[0]=bC.call(this,bH,bF?bG.html():H);bG.domManip(bB,bF,bE)})}if(this[0]){bx=D.buildFragment(bB,this,bw);bA=bx.fragment;bz=bA.firstChild;if(bA.childNodes.length===1){bA=bz}if(bz){bF=bF&&D.nodeName(bz,"tr");for(bD=bx.cacheable||bv-1;by<bv;by++){bE.call(bF&&D.nodeName(this[by],"table")?a4(this[by],"tbody"):this[by],by===bD?bA:D.clone(bA,true,true))}}bA=bz=null;if(bw.length){D.each(bw,function(bG,bH){if(bH.src){if(D.ajax){D.ajax({url:bH.src,type:"GET",dataType:"script",async:false,global:false,"throws":true})}else{D.error("no ajax")}}else{D.globalEval((bH.text||bH.textContent||bH.innerHTML||"").replace(aH,""))}if(bH.parentNode){bH.parentNode.removeChild(bH)}})}}return this}});function a4(bw,bv){return bw.getElementsByTagName(bv)[0]||bw.appendChild(bw.ownerDocument.createElement(bv))}function s(bC,bw){if(bw.nodeType!==1||!D.hasData(bC)){return}var bz,by,bv,bB=D._data(bC),bA=D._data(bw,bB),bx=bB.events;if(bx){delete bA.handle;bA.events={};for(bz in bx){for(by=0,bv=bx[bz].length;by<bv;by++){D.event.add(bw,bz,bx[bz][by])}}}if(bA.data){bA.data=D.extend({},bA.data)}}function ac(bw,bv){var bx;if(bv.nodeType!==1){return}if(bv.clearAttributes){bv.clearAttributes()}if(bv.mergeAttributes){bv.mergeAttributes(bw)}bx=bv.nodeName.toLowerCase();if(bx==="object"){if(bv.parentNode){bv.outerHTML=bw.outerHTML}if(D.support.html5Clone&&(bw.innerHTML&&!D.trim(bv.innerHTML))){bv.innerHTML=bw.innerHTML}}else{if(bx==="input"&&S.test(bw.type)){bv.defaultChecked=bv.checked=bw.checked;if(bv.value!==bw.value){bv.value=bw.value}}else{if(bx==="option"){bv.selected=bw.defaultSelected}else{if(bx==="input"||bx==="textarea"){bv.defaultValue=bw.defaultValue}else{if(bx==="script"&&bv.text!==bw.text){bv.text=bw.text}}}}}bv.removeAttribute(D.expando)}D.buildFragment=function(by,bz,bw){var bx,bv,bA,bB=by[0];bz=bz||al;bz=!bz.nodeType&&bz[0]||bz;bz=bz.ownerDocument||bz;if(by.length===1&&typeof bB==="string"&&bB.length<512&&bz===al&&bB.charAt(0)==="<"&&!J.test(bB)&&(D.support.checkClone||!p.test(bB))&&(D.support.html5Clone||!ad.test(bB))){bv=true;bx=D.fragments[bB];bA=bx!==H}if(!bx){bx=bz.createDocumentFragment();D.clean(by,bz,bx,bw);if(bv){D.fragments[bB]=bA&&bx}}return{fragment:bx,cacheable:bv}};D.fragments={};D.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(bv,bw){D.fn[bv]=function(bx){var bz,bB=0,bA=[],bD=D(bx),by=bD.length,bC=this.length===1&&this[0].parentNode;if((bC==null||bC&&bC.nodeType===11&&bC.childNodes.length===1)&&by===1){bD[bw](this[0]);return this}else{for(;bB<by;bB++){bz=(bB>0?this.clone(true):this).get();D(bD[bB])[bw](bz);bA=bA.concat(bz)}return this.pushStack(bA,bv,bD.selector)}}});function bl(bv){if(typeof bv.getElementsByTagName!=="undefined"){return bv.getElementsByTagName("*")}else{if(typeof bv.querySelectorAll!=="undefined"){return bv.querySelectorAll("*")}else{return[]}}}function am(bv){if(S.test(bv.type)){bv.defaultChecked=bv.checked}}D.extend({clone:function(bz,bB,bx){var bv,bw,by,bA;if(D.support.html5Clone||D.isXMLDoc(bz)||!ad.test("<"+bz.nodeName+">")){bA=bz.cloneNode(true)}else{bh.innerHTML=bz.outerHTML;bh.removeChild(bA=bh.firstChild)}if((!D.support.noCloneEvent||!D.support.noCloneChecked)&&(bz.nodeType===1||bz.nodeType===11)&&!D.isXMLDoc(bz)){ac(bz,bA);bv=bl(bz);bw=bl(bA);for(by=0;bv[by];++by){if(bw[by]){ac(bv[by],bw[by])}}}if(bB){s(bz,bA);if(bx){bv=bl(bz);bw=bl(bA);for(by=0;bv[by];++by){s(bv[by],bw[by])}}}bv=bw=null;return bA},clean:function(bI,bx,bv,by){var bF,bE,bH,bM,bB,bL,bC,bz,bw,bG,bK,bD,bA=bx===al&&U,bJ=[];if(!bx||typeof bx.createDocumentFragment==="undefined"){bx=al}for(bF=0;(bH=bI[bF])!=null;bF++){if(typeof bH==="number"){bH+=""}if(!bH){continue}if(typeof bH==="string"){if(!Q.test(bH)){bH=bx.createTextNode(bH)}else{bA=bA||a(bx);bC=bx.createElement("div");bA.appendChild(bC);bH=bH.replace(M,"<$1></$2>");bM=(c.exec(bH)||["",""])[1].toLowerCase();bB=an[bM]||an._default;bL=bB[0];bC.innerHTML=bB[1]+bH+bB[2];while(bL--){bC=bC.lastChild}if(!D.support.tbody){bz=w.test(bH);bw=bM==="table"&&!bz?bC.firstChild&&bC.firstChild.childNodes:bB[1]==="<table>"&&!bz?bC.childNodes:[];for(bE=bw.length-1;bE>=0;--bE){if(D.nodeName(bw[bE],"tbody")&&!bw[bE].childNodes.length){bw[bE].parentNode.removeChild(bw[bE])}}}if(!D.support.leadingWhitespace&&ai.test(bH)){bC.insertBefore(bx.createTextNode(ai.exec(bH)[0]),bC.firstChild)}bH=bC.childNodes;bC.parentNode.removeChild(bC)}}if(bH.nodeType){bJ.push(bH)}else{D.merge(bJ,bH)}}if(bC){bH=bC=bA=null}if(!D.support.appendChecked){for(bF=0;(bH=bJ[bF])!=null;bF++){if(D.nodeName(bH,"input")){am(bH)}else{if(typeof bH.getElementsByTagName!=="undefined"){D.grep(bH.getElementsByTagName("input"),am)}}}}if(bv){bK=function(bN){if(!bN.type||bq.test(bN.type)){return by?by.push(bN.parentNode?bN.parentNode.removeChild(bN):bN):bv.appendChild(bN)}};for(bF=0;(bH=bJ[bF])!=null;bF++){if(!(D.nodeName(bH,"script")&&bK(bH))){bv.appendChild(bH);if(typeof bH.getElementsByTagName!=="undefined"){bD=D.grep(D.merge([],bH.getElementsByTagName("script")),bK);bJ.splice.apply(bJ,[bF+1,0].concat(bD));bF+=bD.length}}}}return bJ},cleanData:function(bw,bE){var bz,bx,by,bD,bA=0,bF=D.expando,bv=D.cache,bB=D.support.deleteExpando,bC=D.event.special;for(;(by=bw[bA])!=null;bA++){if(bE||D.acceptData(by)){bx=by[bF];bz=bx&&bv[bx];if(bz){if(bz.events){for(bD in bz.events){if(bC[bD]){D.event.remove(by,bD)}else{D.removeEvent(by,bD,bz.handle)}}}if(bv[bx]){delete bv[bx];if(bB){delete by[bF]}else{if(by.removeAttribute){by.removeAttribute(bF)}else{by[bF]=null}}D.deletedIds.push(bx)}}}}}});(function(){var bv,bw;D.uaMatch=function(by){by=by.toLowerCase();var bx=/(chrome)[ \/]([\w.]+)/.exec(by)||/(webkit)[ \/]([\w.]+)/.exec(by)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(by)||/(msie) ([\w.]+)/.exec(by)||by.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(by)||[];return{browser:bx[1]||"",version:bx[2]||"0"}};bv=D.uaMatch(bu.userAgent);bw={};if(bv.browser){bw[bv.browser]=true;bw.version=bv.version}if(bw.chrome){bw.webkit=true}else{if(bw.webkit){bw.safari=true}}D.browser=bw;D.sub=function(){function by(bA,bB){return new by.fn.init(bA,bB)}D.extend(true,by,this);by.superclass=this;by.fn=by.prototype=this();by.fn.constructor=by;by.sub=this.sub;by.fn.init=function bz(bA,bB){if(bB&&bB instanceof D&&!(bB instanceof by)){bB=by(bB)}return D.fn.init.call(this,bA,bB,bx)};by.fn.init.prototype=by.fn;var bx=by(al);return by}})();var R,bd,m,ae=/alpha\([^)]*\)/i,ak=/opacity=([^)]*)/,x=/^(top|right|bottom|left)$/,aj=/^(none|table(?!-c[ea]).+)/,aw=/^margin/,j=new RegExp("^("+aF+")(.*)$","i"),aW=new RegExp("^("+aF+")(?!px)[a-z%]+$","i"),F=new RegExp("^([-+])=("+aF+")","i"),K={BODY:"block"},bb={position:"absolute",visibility:"hidden",display:"block"},aM={letterSpacing:0,fontWeight:400},E=["Top","Right","Bottom","Left"],P=["Webkit","O","Moz","ms"],bf=D.fn.toggle;function a3(by,bw){if(bw in by){return bw}var bz=bw.charAt(0).toUpperCase()+bw.slice(1),bv=bw,bx=P.length;while(bx--){bw=P[bx]+bz;if(bw in by){return bw}}return bv}function aq(bw,bv){bw=bv||bw;return D.css(bw,"display")==="none"||!D.contains(bw.ownerDocument,bw)}function bc(bA,bv){var bz,bB,bw=[],bx=0,by=bA.length;for(;bx<by;bx++){bz=bA[bx];if(!bz.style){continue}bw[bx]=D._data(bz,"olddisplay");if(bv){if(!bw[bx]&&bz.style.display==="none"){bz.style.display=""}if(bz.style.display===""&&aq(bz)){bw[bx]=D._data(bz,"olddisplay",aO(bz.nodeName))}}else{bB=R(bz,"display");if(!bw[bx]&&bB!=="none"){D._data(bz,"olddisplay",bB)}}}for(bx=0;bx<by;bx++){bz=bA[bx];if(!bz.style){continue}if(!bv||bz.style.display==="none"||bz.style.display===""){bz.style.display=bv?bw[bx]||"":"none"}}return bA}D.fn.extend({css:function(bv,bw){return D.access(this,function(by,bx,bz){return bz!==H?D.style(by,bx,bz):D.css(by,bx)},bv,bw,arguments.length>1)},show:function(){return bc(this,true)},hide:function(){return bc(this)},toggle:function(bx,bw){var bv=typeof bx==="boolean";if(D.isFunction(bx)&&D.isFunction(bw)){return bf.apply(this,arguments)}return this.each(function(){if(bv?bx:aq(this)){D(this).show()}else{D(this).hide()}})}});D.extend({cssHooks:{opacity:{get:function(bx,bw){if(bw){var bv=R(bx,"opacity");return bv===""?"1":bv}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":D.support.cssFloat?"cssFloat":"styleFloat"},style:function(bx,bw,bD,by){if(!bx||bx.nodeType===3||bx.nodeType===8||!bx.style){return}var bB,bC,bE,bz=D.camelCase(bw),bv=bx.style;bw=D.cssProps[bz]||(D.cssProps[bz]=a3(bv,bz));bE=D.cssHooks[bw]||D.cssHooks[bz];if(bD!==H){bC=typeof bD;if(bC==="string"&&(bB=F.exec(bD))){bD=(bB[1]+1)*bB[2]+parseFloat(D.css(bx,bw));bC="number"}if(bD==null||bC==="number"&&isNaN(bD)){return}if(bC==="number"&&!D.cssNumber[bz]){bD+="px"}if(!bE||!("set" in bE)||(bD=bE.set(bx,bD,by))!==H){try{bv[bw]=bD}catch(bA){}}}else{if(bE&&"get" in bE&&(bB=bE.get(bx,false,by))!==H){return bB}return bv[bw]}},css:function(bB,bz,bA,bw){var bC,by,bv,bx=D.camelCase(bz);bz=D.cssProps[bx]||(D.cssProps[bx]=a3(bB.style,bx));bv=D.cssHooks[bz]||D.cssHooks[bx];if(bv&&"get" in bv){bC=bv.get(bB,true,bw)}if(bC===H){bC=R(bB,bz)}if(bC==="normal"&&bz in aM){bC=aM[bz]}if(bA||bw!==H){by=parseFloat(bC);return bA||D.isNumeric(by)?by||0:bC}return bC},swap:function(bz,by,bA){var bx,bw,bv={};for(bw in by){bv[bw]=bz.style[bw];bz.style[bw]=by[bw]}bx=bA.call(bz);for(bw in by){bz.style[bw]=bv[bw]}return bx}});if(be.getComputedStyle){R=function(bC,bw){var bv,bz,by,bB,bA=be.getComputedStyle(bC,null),bx=bC.style;if(bA){bv=bA.getPropertyValue(bw)||bA[bw];if(bv===""&&!D.contains(bC.ownerDocument,bC)){bv=D.style(bC,bw)}if(aW.test(bv)&&aw.test(bw)){bz=bx.width;by=bx.minWidth;bB=bx.maxWidth;bx.minWidth=bx.maxWidth=bx.width=bv;bv=bA.width;bx.width=bz;bx.minWidth=by;bx.maxWidth=bB}}return bv}}else{if(al.documentElement.currentStyle){R=function(bz,bx){var bA,bv,bw=bz.currentStyle&&bz.currentStyle[bx],by=bz.style;if(bw==null&&by&&by[bx]){bw=by[bx]}if(aW.test(bw)&&!x.test(bx)){bA=by.left;bv=bz.runtimeStyle&&bz.runtimeStyle.left;if(bv){bz.runtimeStyle.left=bz.currentStyle.left}by.left=bx==="fontSize"?"1em":bw;bw=by.pixelLeft+"px";by.left=bA;if(bv){bz.runtimeStyle.left=bv}}return bw===""?"auto":bw}}}function aP(bv,bx,by){var bw=j.exec(bx);return bw?Math.max(0,bw[1]-(by||0))+(bw[2]||"px"):bx}function a0(by,bw,bv,bA){var bx=bv===(bA?"border":"content")?4:bw==="width"?1:0,bz=0;for(;bx<4;bx+=2){if(bv==="margin"){bz+=D.css(by,bv+E[bx],true)}if(bA){if(bv==="content"){bz-=parseFloat(R(by,"padding"+E[bx]))||0}if(bv!=="margin"){bz-=parseFloat(R(by,"border"+E[bx]+"Width"))||0}}else{bz+=parseFloat(R(by,"padding"+E[bx]))||0;if(bv!=="padding"){bz+=parseFloat(R(by,"border"+E[bx]+"Width"))||0}}}return bz}function Z(by,bw,bv){var bz=bw==="width"?by.offsetWidth:by.offsetHeight,bx=true,bA=D.support.boxSizing&&D.css(by,"boxSizing")==="border-box";if(bz<=0||bz==null){bz=R(by,bw);if(bz<0||bz==null){bz=by.style[bw]}if(aW.test(bz)){return bz}bx=bA&&(D.support.boxSizingReliable||bz===by.style[bw]);bz=parseFloat(bz)||0}return(bz+a0(by,bw,bv||(bA?"border":"content"),bx))+"px"}function aO(bx){if(K[bx]){return K[bx]}var bv=D("<"+bx+">").appendTo(al.body),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){bd=al.body.appendChild(bd||D.extend(al.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!m||!bd.createElement){m=(bd.contentWindow||bd.contentDocument).document;m.write("<!doctype html><html><body>");m.close()}bv=m.body.appendChild(m.createElement(bx));bw=R(bv,"display");al.body.removeChild(bd)}K[bx]=bw;return bw}D.each(["height","width"],function(bw,bv){D.cssHooks[bv]={get:function(bz,by,bx){if(by){if(bz.offsetWidth===0&&aj.test(R(bz,"display"))){return D.swap(bz,bb,function(){return Z(bz,bv,bx)})}else{return Z(bz,bv,bx)}}},set:function(by,bz,bx){return aP(by,bz,bx?a0(by,bv,bx,D.support.boxSizing&&D.css(by,"boxSizing")==="border-box"):0)}}});if(!D.support.opacity){D.cssHooks.opacity={get:function(bw,bv){return ak.test((bv&&bw.currentStyle?bw.currentStyle.filter:bw.style.filter)||"")?(0.01*parseFloat(RegExp.$1))+"":bv?"1":""},set:function(bz,bA){var by=bz.style,bw=bz.currentStyle,bv=D.isNumeric(bA)?"alpha(opacity="+bA*100+")":"",bx=bw&&bw.filter||by.filter||"";by.zoom=1;if(bA>=1&&D.trim(bx.replace(ae,""))===""&&by.removeAttribute){by.removeAttribute("filter");if(bw&&!bw.filter){return}}by.filter=ae.test(bx)?bx.replace(ae,bv):bx+" "+bv}}}D(function(){if(!D.support.reliableMarginRight){D.cssHooks.marginRight={get:function(bw,bv){return D.swap(bw,{display:"inline-block"},function(){if(bv){return R(bw,"marginRight")}})}}}if(!D.support.pixelPosition&&D.fn.position){D.each(["top","left"],function(bv,bw){D.cssHooks[bw]={get:function(bz,by){if(by){var bx=R(bz,bw);return aW.test(bx)?D(bz).position()[bw]+"px":bx}}}})}});if(D.expr&&D.expr.filters){D.expr.filters.hidden=function(bv){return(bv.offsetWidth===0&&bv.offsetHeight===0)||(!D.support.reliableHiddenOffsets&&((bv.style&&bv.style.display)||R(bv,"display"))==="none")};D.expr.filters.visible=function(bv){return !D.expr.filters.hidden(bv)}}D.each({margin:"",padding:"",border:"Width"},function(bv,bw){D.cssHooks[bv+bw]={expand:function(bz){var by,bA=typeof bz==="string"?bz.split(" "):[bz],bx={};for(by=0;by<4;by++){bx[bv+E[by]+bw]=bA[by]||bA[by-2]||bA[0]}return bx}};if(!aw.test(bv)){D.cssHooks[bv+bw].set=aP}});var g=/%20/g,ag=/\[\]$/,bs=/\r?\n/g,aV=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,q=/^(?:select|textarea)/i;D.fn.extend({serialize:function(){return D.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?D.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aV.test(this.type))}).map(function(bv,bw){var bx=D(this).val();return bx==null?null:D.isArray(bx)?D.map(bx,function(bz,by){return{name:bw.name,value:bz.replace(bs,"\r\n")}}):{name:bw.name,value:bx.replace(bs,"\r\n")}}).get()}});D.param=function(bv,bx){var by,bw=[],bz=function(bA,bB){bB=D.isFunction(bB)?bB():(bB==null?"":bB);bw[bw.length]=encodeURIComponent(bA)+"="+encodeURIComponent(bB)};if(bx===H){bx=D.ajaxSettings&&D.ajaxSettings.traditional}if(D.isArray(bv)||(bv.jqx&&!D.isPlainObject(bv))){D.each(bv,function(){bz(this.name,this.value)})}else{for(by in bv){t(by,bv[by],bx,bz)}}return bw.join("&").replace(g,"+")};function t(bx,bz,bw,by){var bv;if(D.isArray(bz)){D.each(bz,function(bB,bA){if(bw||ag.test(bx)){by(bx,bA)}else{t(bx+"["+(typeof bA==="object"?bB:"")+"]",bA,bw,by)}})}else{if(!bw&&D.type(bz)==="object"){for(bv in bz){t(bx+"["+bv+"]",bz[bv],bw,by)}}else{by(bx,bz)}}}if(D.support.ajax){D.ajaxTransport(function(bv){if(!bv.crossDomain||D.support.cors){var bw;return{send:function(bC,bx){var bA,bz,bB=bv.xhr();if(bv.username){bB.open(bv.type,bv.url,bv.async,bv.username,bv.password)}else{bB.open(bv.type,bv.url,bv.async)}if(bv.xhrFields){for(bz in bv.xhrFields){bB[bz]=bv.xhrFields[bz]}}if(bv.mimeType&&bB.overrideMimeType){bB.overrideMimeType(bv.mimeType)}if(!bv.crossDomain&&!bC["X-Requested-With"]){bC["X-Requested-With"]="XMLHttpRequest"}try{for(bz in bC){bB.setRequestHeader(bz,bC[bz])}}catch(by){}bB.send((bv.hasContent&&bv.data)||null);bw=function(bL,bF){var bG,bE,bD,bJ,bI;try{if(bw&&(bF||bB.readyState===4)){bw=H;if(bA){bB.onreadystatechange=D.noop;if(xhrOnUnloadAbort){delete xhrCallbacks[bA]}}if(bF){if(bB.readyState!==4){bB.abort()}}else{bG=bB.status;bD=bB.getAllResponseHeaders();bJ={};bI=bB.responseXML;if(bI&&bI.documentElement){bJ.xml=bI}try{bJ.text=bB.responseText}catch(bK){}try{bE=bB.statusText}catch(bK){bE=""}if(!bG&&bv.isLocal&&!bv.crossDomain){bG=bJ.text?200:404}else{if(bG===1223){bG=204}}}}}catch(bH){if(!bF){bx(-1,bH)}}if(bJ){bx(bG,bE,bJ,bD)}};if(!bv.async){bw()}else{if(bB.readyState===4){setTimeout(bw,0)}else{bA=++xhrId;if(xhrOnUnloadAbort){if(!xhrCallbacks){xhrCallbacks={};D(be).unload(xhrOnUnloadAbort)}xhrCallbacks[bA]=bw}bB.onreadystatechange=bw}}},abort:function(){if(bw){bw(0,1)}}}}})}var a7,a2,at=/^(?:toggle|show|hide)$/,aN=new RegExp("^(?:([-+])=|)("+aF+")([a-z%]*)$","i"),a8=/queueHooks$/,l=[bn],I={"*":[function(bv,bC){var by,bD,bE=this.createTween(bv,bC),bz=aN.exec(bC),bA=bE.cur(),bw=+bA||0,bx=1,bB=20;if(bz){by=+bz[2];bD=bz[3]||(D.cssNumber[bv]?"":"px");if(bD!=="px"&&bw){bw=D.css(bE.elem,bv,true)||by||1;do{bx=bx||".5";bw=bw/bx;D.style(bE.elem,bv,bw+bD)}while(bx!==(bx=bE.cur()/bA)&&bx!==1&&--bB)}bE.unit=bD;bE.start=bw;bE.end=bz[1]?bw+(bz[1]+1)*by:by}return bE}]};function bm(){setTimeout(function(){a7=H},0);return(a7=D.now())}function aa(bw,bv){D.each(bv,function(bB,bz){var bA=(I[bB]||[]).concat(I["*"]),bx=0,by=bA.length;for(;bx<by;bx++){if(bA[bx].call(bw,bB,bz)){return}}})}function bk(bx,bB,bE){var bF,bA=0,bv=0,bw=l.length,bD=D.Deferred().always(function(){delete bz.elem}),bz=function(){var bL=a7||bm(),bI=Math.max(0,by.startTime+by.duration-bL),bG=bI/by.duration||0,bK=1-bG,bH=0,bJ=by.tweens.length;for(;bH<bJ;bH++){by.tweens[bH].run(bK)}bD.notifyWith(bx,[by,bK,bI]);if(bK<1&&bJ){return bI}else{bD.resolveWith(bx,[by]);return false}},by=bD.promise({elem:bx,props:D.extend({},bB),opts:D.extend(true,{specialEasing:{}},bE),originalProperties:bB,originalOptions:bE,startTime:a7||bm(),duration:bE.duration,tweens:[],createTween:function(bJ,bG,bI){var bH=D.Tween(bx,by.opts,bJ,bG,by.opts.specialEasing[bJ]||by.opts.easing);by.tweens.push(bH);return bH},stop:function(bH){var bG=0,bI=bH?by.tweens.length:0;for(;bG<bI;bG++){by.tweens[bG].run(1)}if(bH){bD.resolveWith(bx,[by,bH])}else{bD.rejectWith(bx,[by,bH])}return this}}),bC=by.props;aX(bC,by.opts.specialEasing);for(;bA<bw;bA++){bF=l[bA].call(by,bx,bC,by.opts);if(bF){return bF}}aa(by,bC);if(D.isFunction(by.opts.start)){by.opts.start.call(bx,by)}D.fx.timer(D.extend(bz,{anim:by,queue:by.opts.queue,elem:bx}));return by.progress(by.opts.progress).done(by.opts.done,by.opts.complete).fail(by.opts.fail).always(by.opts.always)}function aX(by,bA){var bx,bw,bB,bz,bv;for(bx in by){bw=D.camelCase(bx);bB=bA[bw];bz=by[bx];if(D.isArray(bz)){bB=bz[1];bz=by[bx]=bz[0]}if(bx!==bw){by[bw]=bz;delete by[bx]}bv=D.cssHooks[bw];if(bv&&"expand" in bv){bz=bv.expand(bz);delete by[bw];for(bx in bz){if(!(bx in by)){by[bx]=bz[bx];bA[bx]=bB}}}else{bA[bw]=bB}}}D.Animation=D.extend(bk,{tweener:function(bw,bz){if(D.isFunction(bw)){bz=bw;bw=["*"]}else{bw=bw.split(" ")}var by,bv=0,bx=bw.length;for(;bv<bx;bv++){by=bw[bv];I[by]=I[by]||[];I[by].unshift(bz)}},prefilter:function(bw,bv){if(bv){l.unshift(bw)}else{l.push(bw)}}});function bn(bz,bF,bv){var bE,bx,bH,by,bL,bB,bK,bJ,bI,bA=this,bw=bz.style,bG={},bD=[],bC=bz.nodeType&&aq(bz);if(!bv.queue){bJ=D._queueHooks(bz,"fx");if(bJ.unqueued==null){bJ.unqueued=0;bI=bJ.empty.fire;bJ.empty.fire=function(){if(!bJ.unqueued){bI()}}}bJ.unqueued++;bA.always(function(){bA.always(function(){bJ.unqueued--;if(!D.queue(bz,"fx").length){bJ.empty.fire()}})})}if(bz.nodeType===1&&("height" in bF||"width" in bF)){bv.overflow=[bw.overflow,bw.overflowX,bw.overflowY];if(D.css(bz,"display")==="inline"&&D.css(bz,"float")==="none"){if(!D.support.inlineBlockNeedsLayout||aO(bz.nodeName)==="inline"){bw.display="inline-block"}else{bw.zoom=1}}}if(bv.overflow){bw.overflow="hidden";if(!D.support.shrinkWrapBlocks){bA.done(function(){bw.overflow=bv.overflow[0];bw.overflowX=bv.overflow[1];bw.overflowY=bv.overflow[2]})}}for(bE in bF){bH=bF[bE];if(at.exec(bH)){delete bF[bE];bB=bB||bH==="toggle";if(bH===(bC?"hide":"show")){continue}bD.push(bE)}}by=bD.length;if(by){bL=D._data(bz,"fxshow")||D._data(bz,"fxshow",{});if("hidden" in bL){bC=bL.hidden}if(bB){bL.hidden=!bC}if(bC){D(bz).show()}else{bA.done(function(){D(bz).hide()})}bA.done(function(){var bM;D.removeData(bz,"fxshow",true);for(bM in bG){D.style(bz,bM,bG[bM])}});for(bE=0;bE<by;bE++){bx=bD[bE];bK=bA.createTween(bx,bC?bL[bx]:0);bG[bx]=bL[bx]||D.style(bz,bx);if(!(bx in bL)){bL[bx]=bK.start;if(bC){bK.end=bK.start;bK.start=bx==="width"||bx==="height"?1:0}}}}}function v(bx,bw,bz,bv,by){return new v.prototype.init(bx,bw,bz,bv,by)}D.Tween=v;v.prototype={constructor:v,init:function(by,bw,bA,bv,bz,bx){this.elem=by;this.prop=bA;this.easing=bz||"swing";this.options=bw;this.start=this.now=this.cur();this.end=bv;this.unit=bx||(D.cssNumber[bA]?"":"px")},cur:function(){var bv=v.propHooks[this.prop];return bv&&bv.get?bv.get(this):v.propHooks._default.get(this)},run:function(bx){var bw,bv=v.propHooks[this.prop];if(this.options.duration){this.pos=bw=D.easing[this.easing](bx,this.options.duration*bx,0,1,this.options.duration)}else{this.pos=bw=bx}this.now=(this.end-this.start)*bw+this.start;if(this.options.step){this.options.step.call(this.elem,this.now,this)}if(bv&&bv.set){bv.set(this)}else{v.propHooks._default.set(this)}return this}};v.prototype.init.prototype=v.prototype;v.propHooks={_default:{get:function(bw){var bv;if(bw.elem[bw.prop]!=null&&(!bw.elem.style||bw.elem.style[bw.prop]==null)){return bw.elem[bw.prop]}bv=D.css(bw.elem,bw.prop,false,"");return !bv||bv==="auto"?0:bv},set:function(bv){if(D.fx.step[bv.prop]){D.fx.step[bv.prop](bv)}else{if(bv.elem.style&&(bv.elem.style[D.cssProps[bv.prop]]!=null||D.cssHooks[bv.prop])){D.style(bv.elem,bv.prop,bv.now+bv.unit)}else{bv.elem[bv.prop]=bv.now}}}}};v.propHooks.scrollTop=v.propHooks.scrollLeft={set:function(bv){if(bv.elem.nodeType&&bv.elem.parentNode){bv.elem[bv.prop]=bv.now}}};D.each(["toggle","show","hide"],function(bw,bv){var bx=D.fn[bv];D.fn[bv]=function(by,bA,bz){return by==null||typeof by==="boolean"||(!bw&&D.isFunction(by)&&D.isFunction(bA))?bx.apply(this,arguments):this.animate(aZ(bv,true),by,bA,bz)}});D.fn.extend({fadeTo:function(bv,by,bx,bw){return this.filter(aq).css("opacity",0).show().end().animate({opacity:by},bv,bx,bw)},animate:function(bB,by,bA,bz){var bx=D.isEmptyObject(bB),bv=D.speed(by,bA,bz),bw=function(){var bC=bk(this,D.extend({},bB),bv);if(bx){bC.stop(true)}};return bx||bv.queue===false?this.each(bw):this.queue(bv.queue,bw)},stop:function(bx,bw,bv){var by=function(bz){var bA=bz.stop;delete bz.stop;bA(bv)};if(typeof bx!=="string"){bv=bw;bw=bx;bx=H}if(bw&&bx!==false){this.queue(bx||"fx",[])}return this.each(function(){var bC=true,bz=bx!=null&&bx+"queueHooks",bB=D.timers,bA=D._data(this);if(bz){if(bA[bz]&&bA[bz].stop){by(bA[bz])}}else{for(bz in bA){if(bA[bz]&&bA[bz].stop&&a8.test(bz)){by(bA[bz])}}}for(bz=bB.length;bz--;){if(bB[bz].elem===this&&(bx==null||bB[bz].queue===bx)){bB[bz].anim.stop(bv);bC=false;bB.splice(bz,1)}}if(bC||!bv){D.dequeue(this,bx)}})}});function aZ(bx,bz){var by,bv={height:bx},bw=0;bz=bz?1:0;for(;bw<4;bw+=2-bz){by=E[bw];bv["margin"+by]=bv["padding"+by]=bx}if(bz){bv.opacity=bv.width=bx}return bv}D.each({slideDown:aZ("show"),slideUp:aZ("hide"),slideToggle:aZ("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(bv,bw){D.fn[bv]=function(bx,bz,by){return this.animate(bw,bx,bz,by)}});D.speed=function(bx,by,bw){var bv=bx&&typeof bx==="object"?D.extend({},bx):{complete:bw||!bw&&by||D.isFunction(bx)&&bx,duration:bx,easing:bw&&by||by&&!D.isFunction(by)&&by};bv.duration=D.fx.off?0:typeof bv.duration==="number"?bv.duration:bv.duration in D.fx.speeds?D.fx.speeds[bv.duration]:D.fx.speeds._default;if(bv.queue==null||bv.queue===true){bv.queue="fx"}bv.old=bv.complete;bv.complete=function(){if(D.isFunction(bv.old)){bv.old.call(this)}if(bv.queue){D.dequeue(this,bv.queue)}};return bv};D.easing={linear:function(bv){return bv},swing:function(bv){return 0.5-Math.cos(bv*Math.PI)/2}};D.timers=[];D.fx=v.prototype.init;D.fx.tick=function(){var bx,bw=D.timers,bv=0;a7=D.now();for(;bv<bw.length;bv++){bx=bw[bv];if(!bx()&&bw[bv]===bx){bw.splice(bv--,1)}}if(!bw.length){D.fx.stop()}a7=H};D.fx.timer=function(bv){if(bv()&&D.timers.push(bv)&&!a2){a2=setInterval(D.fx.tick,D.fx.interval)}};D.fx.interval=13;D.fx.stop=function(){clearInterval(a2);a2=null};D.fx.speeds={slow:600,fast:200,_default:400};D.fx.step={};if(D.expr&&D.expr.filters){D.expr.filters.animated=function(bv){return D.grep(D.timers,function(bw){return bv===bw.elem}).length}}var W=/^(?:body|html)$/i;D.fn.offset=function(bF){if(arguments.length){return bF===H?this:this.each(function(bG){D.offset.setOffset(this,bF,bG)})}var bw,bB,bC,bz,bD,bv,by,bA={top:0,left:0},bx=this[0],bE=bx&&bx.ownerDocument;if(!bE){return}if((bB=bE.body)===bx){return D.offset.bodyOffset(bx)}bw=bE.documentElement;if(!D.contains(bw,bx)){return bA}if(typeof bx.getBoundingClientRect!=="undefined"){bA=bx.getBoundingClientRect()}bC=aD(bE);bz=bw.clientTop||bB.clientTop||0;bD=bw.clientLeft||bB.clientLeft||0;bv=bC.pageYOffset||bw.scrollTop;by=bC.pageXOffset||bw.scrollLeft;return{top:bA.top+bv-bz,left:bA.left+by-bD}};D.offset={bodyOffset:function(bv){var bx=bv.offsetTop,bw=bv.offsetLeft;if(D.support.doesNotIncludeMarginInBodyOffset){bx+=parseFloat(D.css(bv,"marginTop"))||0;bw+=parseFloat(D.css(bv,"marginLeft"))||0}return{top:bx,left:bw}},setOffset:function(by,bH,bB){var bC=D.css(by,"position");if(bC==="static"){by.style.position="relative"}var bA=D(by),bw=bA.offset(),bv=D.css(by,"top"),bF=D.css(by,"left"),bG=(bC==="absolute"||bC==="fixed")&&D.inArray("auto",[bv,bF])>-1,bE={},bD={},bx,bz;if(bG){bD=bA.position();bx=bD.top;bz=bD.left}else{bx=parseFloat(bv)||0;bz=parseFloat(bF)||0}if(D.isFunction(bH)){bH=bH.call(by,bB,bw)}if(bH.top!=null){bE.top=(bH.top-bw.top)+bx}if(bH.left!=null){bE.left=(bH.left-bw.left)+bz}if("using" in bH){bH.using.call(by,bE)}else{bA.css(bE)}}};D.fn.extend({isRendered:function(){var bw=this;var bv=this[0];if(bv.parentNode==null||(bv.offsetWidth===0||bv.offsetHeight===0)){return false}return true},getSizeFromStyle:function(){var bz=this;var by=null;var bv=null;var bx=this[0];var bw;if(bx.style.width){by=bx.style.width}if(bx.style.height){bv=bx.style.height}if(be.getComputedStyle){bw=getComputedStyle(bx,null)}else{bw=bx.currentStyle}if(bw){if(bw.width){by=bw.width}if(bw.height){bv=bw.height}}if(by==="0px"){by=0}if(bv==="0px"){bv=0}if(by===null){by=0}if(bv===null){bv=0}return{width:by,height:bv}},initAnimate:function(){},sizeStyleChanged:function(by){var bx=this;var bz;var bv=function(bA){var bB=bz;if(bA&&bA[0]&&bA[0].attributeName==="style"&&bA[0].type==="attributes"){if(bB.element.offsetWidth!==bB.offsetWidth||bB.element.offsetHeight!==bB.offsetHeight){bB.offsetWidth=bB.element.offsetWidth;bB.offsetHeight=bB.element.offsetHeight;if(bx.isRendered()){bB.callback()}}}};bz={element:bx[0],offsetWidth:bx[0].offsetWidth,offsetHeight:bx[0].offsetHeight,callback:by};try{if(!bx.elementStyleObserver){bx.elementStyleObserver=new MutationObserver(bv);bx.elementStyleObserver.observe(bx[0],{attributes:true,childList:false,characterData:false})}}catch(bw){}},position:function(){if(!this[0]){return}var bx=this[0],bw=this.offsetParent(),by=this.offset(),bv=W.test(bw[0].nodeName)?{top:0,left:0}:bw.offset();by.top-=parseFloat(D.css(bx,"marginTop"))||0;by.left-=parseFloat(D.css(bx,"marginLeft"))||0;bv.top+=parseFloat(D.css(bw[0],"borderTopWidth"))||0;bv.left+=parseFloat(D.css(bw[0],"borderLeftWidth"))||0;return{top:by.top-bv.top,left:by.left-bv.left}},offsetParent:function(){return this.map(function(){var bv=this.offsetParent||al.body;while(bv&&(!W.test(bv.nodeName)&&D.css(bv,"position")==="static")){bv=bv.offsetParent}return bv||al.body})}});D.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(bx,bw){var bv=/Y/.test(bw);D.fn[bx]=function(by){return D.access(this,function(bz,bC,bB){var bA=aD(bz);if(bB===H){return bA?(bw in bA)?bA[bw]:bA.document.documentElement[bC]:bz[bC]}if(bA){bA.scrollTo(!bv?bB:D(bA).scrollLeft(),bv?bB:D(bA).scrollTop())}else{bz[bC]=bB}},bx,by,arguments.length,null)}});function aD(bv){return D.isWindow(bv)?bv:bv.nodeType===9?bv.defaultView||bv.parentWindow:false}D.each({Height:"height",Width:"width"},function(bv,bw){D.each({padding:"inner"+bv,content:bw,"":"outer"+bv},function(bx,by){D.fn[by]=function(bC,bB){var bA=arguments.length&&(bx||typeof bC!=="boolean"),bz=bx||(bC===true||bB===true?"margin":"border");return D.access(this,function(bE,bD,bF){var bG;if(D.isWindow(bE)){return bE.document.documentElement["client"+bv]}if(bE.nodeType===9){bG=bE.documentElement;return Math.max(bE.body["scroll"+bv],bG["scroll"+bv],bE.body["offset"+bv],bG["offset"+bv],bG["client"+bv])}return bF===H?D.css(bE,bD,bF,bz):D.style(bE,bD,bF,bz)},bw,bA?bC:H,bA,null)}})});be.JQXLite=be.jqxHelper=D;if(typeof define==="function"&&define.amd&&define.amd.JQXLite){define("jqx",[],function(){return D})}})(window)}(function(a){if(a.jQuery){a.minQuery=a.JQXLite=a.jQuery;return}if(!a.$){a.$=a.minQuery=a.JQXLite}else{a.minQuery=a.JQXLite=a.$}})(window);JQXLite.generateID=function(){var a=function(){return(((1+Math.random())*65536)|0).toString(16).substring(1)};var b="";do{b="jqx"+a()+a()+a()}while($("#"+b).length>0);return b};var jqxBaseFramework=window.jqxBaseFramework=window.minQuery||window.jQuery;(function(a){a.jqx=a.jqx||{};window.jqx=a.jqx;jqwidgets={createInstance:function(b,d,f){if(d=="jqxDataAdapter"){var e=f[0];var c=f[1]||{};return new a.jqx.dataAdapter(e,c)}a(b)[d](f||{});return a(b)[d]("getInstance")}};a.jqx.define=function(b,c,d){b[c]=function(){if(this.baseType){this.base=new b[this.baseType]();this.base.defineInstance()}this.defineInstance();this.metaInfo()};b[c].prototype.defineInstance=function(){};b[c].prototype.metaInfo=function(){};b[c].prototype.base=null;b[c].prototype.baseType=undefined;if(d&&b[d]){b[c].prototype.baseType=d}};a.jqx.invoke=function(e,d){if(d.length==0){return}var f=typeof(d)==Array||d.length>0?d[0]:d;var c=typeof(d)==Array||d.length>1?Array.prototype.slice.call(d,1):a({}).toArray();while(e[f]==undefined&&e.base!=null){if(e[f]!=undefined&&a.isFunction(e[f])){return e[f].apply(e,c)}if(typeof f=="string"){var b=f.toLowerCase();if(e[b]!=undefined&&a.isFunction(e[b])){return e[b].apply(e,c)}}e=e.base}if(e[f]!=undefined&&a.isFunction(e[f])){return e[f].apply(e,c)}if(typeof f=="string"){var b=f.toLowerCase();if(e[b]!=undefined&&a.isFunction(e[b])){return e[b].apply(e,c)}}return};a.jqx.getByPriority=function(b){var d=undefined;for(var c=0;c<b.length&&d==undefined;c++){if(d==undefined&&b[c]!=undefined){d=b[c]}}return d};a.jqx.hasProperty=function(c,b){if(typeof(b)=="object"){for(var e in b){var d=c;while(d){if(d.hasOwnProperty(e)){return true}if(d.hasOwnProperty(e.toLowerCase())){return true}d=d.base}return false}}else{while(c){if(c.hasOwnProperty(b)){return true}if(c.hasOwnProperty(b.toLowerCase())){return true}c=c.base}}return false};a.jqx.hasFunction=function(e,d){if(d.length==0){return false}if(e==undefined){return false}var f=typeof(d)==Array||d.length>0?d[0]:d;var c=typeof(d)==Array||d.length>1?Array.prototype.slice.call(d,1):{};while(e[f]==undefined&&e.base!=null){if(e[f]&&a.isFunction(e[f])){return true}if(typeof f=="string"){var b=f.toLowerCase();if(e[b]&&a.isFunction(e[b])){return true}}e=e.base}if(e[f]&&a.isFunction(e[f])){return true}if(typeof f=="string"){var b=f.toLowerCase();if(e[b]&&a.isFunction(e[b])){return true}}return false};a.jqx.isPropertySetter=function(c,b){if(b.length==1&&typeof(b[0])=="object"){return true}if(b.length==2&&typeof(b[0])=="string"&&!a.jqx.hasFunction(c,b)){return true}return false};a.jqx.validatePropertySetter=function(f,d,b){if(!a.jqx.propertySetterValidation){return true}if(d.length==1&&typeof(d[0])=="object"){for(var e in d[0]){var g=f;while(!g.hasOwnProperty(e)&&g.base){g=g.base}if(!g||!g.hasOwnProperty(e)){if(!b){var c=g.hasOwnProperty(e.toString().toLowerCase());if(!c){throw"Invalid property: "+e}else{return true}}return false}}return true}if(d.length!=2){if(!b){throw"Invalid property: "+d.length>=0?d[0]:""}return false}while(!f.hasOwnProperty(d[0])&&f.base){f=f.base}if(!f||!f.hasOwnProperty(d[0])){if(!b){throw"Invalid property: "+d[0]}return false}return true};if(!Object.keys){Object.keys=(function(){var d=Object.prototype.hasOwnProperty,e=!({toString:null}).propertyIsEnumerable("toString"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],b=c.length;return function(h){if(typeof h!=="object"&&(typeof h!=="function"||h===null)){throw new TypeError("Object.keys called on non-object")}var f=[],j,g;for(j in h){if(d.call(h,j)){f.push(j)}}if(e){for(g=0;g<b;g++){if(d.call(h,c[g])){f.push(c[g])}}}return f}}())}a.jqx.set=function(e,h){var c=0;if(h.length==1&&typeof(h[0])=="object"){if(e.isInitialized&&Object.keys&&Object.keys(h[0]).length>1){var f=!e.base?e.element:e.base.element;var b=a.data(f,e.widgetName).initArgs;if(b&&JSON&&JSON.stringify&&h[0]&&b[0]){try{if(JSON.stringify(h[0])==JSON.stringify(b[0])){var g=true;a.each(h[0],function(l,m){if(e[l]!=m){g=false;return false}});if(g){return}}}catch(d){}}e.batchUpdate=h[0];var j={};var k={};a.each(h[0],function(l,m){var n=e;while(!n.hasOwnProperty(l)&&n.base!=null){n=n.base}if(n.hasOwnProperty(l)){if(e[l]!=m){j[l]=e[l];k[l]=m;c++}}else{if(n.hasOwnProperty(l.toLowerCase())){if(e[l.toLowerCase()]!=m){j[l.toLowerCase()]=e[l.toLowerCase()];k[l.toLowerCase()]=m;c++}}}});if(c<2){e.batchUpdate=null}}a.each(h[0],function(l,m){var n=e;while(!n.hasOwnProperty(l)&&n.base!=null){n=n.base}if(n.hasOwnProperty(l)){a.jqx.setvalueraiseevent(n,l,m)}else{if(n.hasOwnProperty(l.toLowerCase())){a.jqx.setvalueraiseevent(n,l.toLowerCase(),m)}else{if(a.jqx.propertySetterValidation){throw"jqxCore: invalid property '"+l+"'"}}}});if(e.batchUpdate!=null){e.batchUpdate=null;if(e.propertiesChangedHandler&&c>1){e.propertiesChangedHandler(e,j,k)}}}else{if(h.length==2){while(!e.hasOwnProperty(h[0])&&e.base){e=e.base}if(e.hasOwnProperty(h[0])){a.jqx.setvalueraiseevent(e,h[0],h[1])}else{if(e.hasOwnProperty(h[0].toLowerCase())){a.jqx.setvalueraiseevent(e,h[0].toLowerCase(),h[1])}else{if(a.jqx.propertySetterValidation){throw"jqxCore: invalid property '"+h[0]+"'"}}}}}};a.jqx.setvalueraiseevent=function(c,d,e){var b=c[d];c[d]=e;if(!c.isInitialized){return}if(c.propertyChangedHandler!=undefined){c.propertyChangedHandler(c,d,b,e)}if(c.propertyChangeMap!=undefined&&c.propertyChangeMap[d]!=undefined){c.propertyChangeMap[d](c,d,b,e)}};a.jqx.get=function(e,d){if(d==undefined||d==null){return undefined}if(e.propertyMap){var c=e.propertyMap(d);if(c!=null){return c}}if(e.hasOwnProperty(d)){return e[d]}if(e.hasOwnProperty(d.toLowerCase())){return e[d.toLowerCase()]}var b=undefined;if(typeof(d)==Array){if(d.length!=1){return undefined}b=d[0]}else{if(typeof(d)=="string"){b=d}}while(!e.hasOwnProperty(b)&&e.base){e=e.base}if(e){return e[b]}return undefined};a.jqx.serialize=function(e){var b="";if(a.isArray(e)){b="[";for(var d=0;d<e.length;d++){if(d>0){b+=", "}b+=a.jqx.serialize(e[d])}b+="]"}else{if(typeof(e)=="object"){b="{";var c=0;for(var d in e){if(c++>0){b+=", "}b+=d+": "+a.jqx.serialize(e[d])}b+="}"}else{b=e.toString()}}return b};a.jqx.propertySetterValidation=true;a.jqx.jqxWidgetProxy=function(g,c,b){var d=a(c);var f=a.data(c,g);if(f==undefined){return undefined}var e=f.instance;if(a.jqx.hasFunction(e,b)){return a.jqx.invoke(e,b)}if(a.jqx.isPropertySetter(e,b)){if(a.jqx.validatePropertySetter(e,b)){a.jqx.set(e,b);return undefined}}else{if(typeof(b)=="object"&&b.length==0){return}else{if(typeof(b)=="object"&&b.length==1&&a.jqx.hasProperty(e,b[0])){return a.jqx.get(e,b[0])}else{if(typeof(b)=="string"&&a.jqx.hasProperty(e,b[0])){return a.jqx.get(e,b)}}}}throw"jqxCore: Invalid parameter '"+a.jqx.serialize(b)+"' does not exist."};a.jqx.applyWidget=function(c,d,k,l){var g=false;try{g=window.MSApp!=undefined}catch(f){}var m=a(c);if(!l){l=new a.jqx["_"+d]()}else{l.host=m;l.element=c}if(c.id==""){c.id=a.jqx.utilities.createId()}var j={host:m,element:c,instance:l,initArgs:k};l.widgetName=d;a.data(c,d,j);a.data(c,"jqxWidget",j.instance);var h=new Array();var l=j.instance;while(l){l.isInitialized=false;h.push(l);l=l.base}h.reverse();h[0].theme=a.jqx.theme||"";a.jqx.jqxWidgetProxy(d,c,k);for(var b in h){l=h[b];if(b==0){l.host=m;l.element=c;l.WinJS=g}if(l!=undefined){if(l.definedInstance){l.definedInstance()}if(l.createInstance!=null){if(g){MSApp.execUnsafeLocalFunction(function(){l.createInstance(k)})}else{l.createInstance(k)}}}}for(var b in h){if(h[b]!=undefined){h[b].isInitialized=true}}if(g){MSApp.execUnsafeLocalFunction(function(){j.instance.refresh(true)})}else{j.instance.refresh(true)}};a.jqx.jqxWidget=function(b,c,f){var j=false;try{jqxArgs=Array.prototype.slice.call(f,0)}catch(h){jqxArgs=""}try{j=window.MSApp!=undefined}catch(h){}var g=b;var l="";if(c){l="_"+c}a.jqx.define(a.jqx,"_"+g,l);var k=new Array();if(!window[g]){var d=function(m){if(m==null){return""}var e=a.type(m);switch(e){case"string":case"number":case"date":case"boolean":case"bool":if(m===null){return""}return m.toString()}var n="";a.each(m,function(p,q){var s=q;if(p>0){n+=", "}n+="[";var o=0;if(a.type(s)=="object"){for(var r in s){if(o>0){n+=", "}n+="{"+r+":"+s[r]+"}";o++}}else{if(o>0){n+=", "}n+="{"+p+":"+s+"}";o++}n+="]"});return n};jqwidgets[g]=window[g]=function(e,r){var m=[];if(!r){r={}}m.push(r);var n=e;if(a.type(n)==="object"&&e[0]){n=e[0].id;if(n===""){n=e[0].id=a.jqx.utilities.createId()}}else{if(a.type(e)==="object"&&e&&e.nodeName){n=e.id;if(n===""){n=e.id=a.jqx.utilities.createId()}}}if(window.jqxWidgets&&window.jqxWidgets[n]){if(r){a.each(window.jqxWidgets[n],function(s){var t=a(this.element).data();if(t&&t.jqxWidget){a(this.element)[g](r)}})}if(window.jqxWidgets[n].length==1){var p=a(window.jqxWidgets[n][0].widgetInstance.element).data();if(p&&p.jqxWidget){return window.jqxWidgets[n][0]}}var p=a(window.jqxWidgets[n][0].widgetInstance.element).data();if(p&&p.jqxWidget){return window.jqxWidgets[n]}}var o=a(e);if(o.length===0){o=a("<div></div>");if(g==="jqxInput"||g==="jqxPasswordInput"||g==="jqxMaskedInput"){o=a("<input/>")}if(g==="jqxTextArea"){o=a("<textarea></textarea>")}if(g==="jqxButton"||g==="jqxRepeatButton"||g==="jqxToggleButton"){o=a("<button/>")}if(g==="jqxSplitter"){o=a("<div><div>Panel 1</div><div>Panel 2</div></div>")}if(g==="jqxTabs"){o=a("<div><ul><li>Tab 1</li><li>Tab 2</li></ul><div>Content 1</div><div>Content 2</div></div>")}if(g==="jqxRibbon"){o=a("<div><ul><li>Tab 1</li><li>Tab 2</li></ul><div><div>Content 1</div><div>Content 2</div></div></div>")}if(g==="jqxDocking"){o=a("<div><div><div><div>Title 1</div><div>Content 1</div></div></div></div>")}if(g==="jqxWindow"){o=a("<div><div>Title 1</div><div>Content 1</div></div>")}}var q=[];a.each(o,function(v){var x=o[v];a.jqx.applyWidget(x,g,m,undefined);if(!k[g]){var t=a.data(x,"jqxWidget");var w=a.jqx["_"+g].prototype.defineInstance();var u={};if(a.jqx["_"+g].prototype.metaInfo){u=a.jqx["_"+g].prototype.metaInfo()}if(g=="jqxDockingLayout"){w=a.extend(w,a.jqx._jqxLayout.prototype.defineInstance())}if(g=="jqxToggleButton"||g=="jqxRepeatButton"){w=a.extend(w,a.jqx._jqxButton.prototype.defineInstance())}if(g=="jqxTreeGrid"){w=a.extend(w,a.jqx._jqxDataTable.prototype.defineInstance())}var s=function(z){var y=a.data(z,"jqxWidget");this.widgetInstance=y;var A=a.extend(this,y);A.on=A.addEventListener=function(C,D){A.addHandler(!A.base?A.host:A.base.host,C,D)};A.off=A.removeEventListener=function(C){A.removeHandler(!A.base?A.host:A.base.host,C)};for(var B in y){if(a.type(y[B])=="function"){A[B]=a.proxy(y[B],y)}}return A};k[g]=s;a.each(w,function(z,y){Object.defineProperty(s.prototype,z,{get:function(){if(this.widgetInstance){return this.widgetInstance[z]}return y},set:function(G){if(this.widgetInstance&&(this.widgetInstance[z]!=G||z==="width"||z==="height")){var E=this.widgetInstance[z];var D=G;var C=a.type(E);var A=a.type(D);var F=false;if(C!=A||z==="source"||z==="width"||z==="height"){F=true}if(F||(d(E)!=d(D))){var B={};B[z]=G;if(this.widgetInstance.host){this.widgetInstance.host[g](B)}else{this.widgetInstance.base.host[g](B)}this.widgetInstance[z]=G;if(this.widgetInstance.propertyUpdated){this.widgetInstance.propertyUpdated(z,E,G)}}}}})})}var t=new k[g](x);q.push(t);if(!window.jqxWidgets){window.jqxWidgets=new Array()}if(!window.jqxWidgets[n]){window.jqxWidgets[n]=new Array()}window.jqxWidgets[n].push(t)});if(q.length===1){return q[0]}return q}}a.fn[g]=function(){var e=Array.prototype.slice.call(arguments,0);if(e.length==0||(e.length==1&&typeof(e[0])=="object")){if(this.length==0){if(this.selector){throw new Error("Invalid Selector - "+this.selector+"! Please, check whether the used ID or CSS Class name is correct.")}else{throw new Error("Invalid Selector! Please, check whether the used ID or CSS Class name is correct.")}}return this.each(function(){var p=a(this);var o=this;var q=a.data(o,g);if(q==null){a.jqx.applyWidget(o,g,e,undefined)}else{a.jqx.jqxWidgetProxy(g,this,e)}})}else{if(this.length==0){if(this.selector){throw new Error("Invalid Selector - "+this.selector+"! Please, check whether the used ID or CSS Class name is correct.")}else{throw new Error("Invalid Selector! Please, check whether the used ID or CSS Class name is correct.")}}var n=null;var m=0;this.each(function(){var o=a.jqx.jqxWidgetProxy(g,this,e);if(m==0){n=o;m++}else{if(m==1){var p=[];p.push(n);n=p}n.push(o)}})}return n};try{a.extend(a.jqx["_"+g].prototype,Array.prototype.slice.call(f,0)[0])}catch(h){}a.extend(a.jqx["_"+g].prototype,{toThemeProperty:function(e,m){return a.jqx.toThemeProperty(this,e,m)},isMaterialized:function(){if(!this.theme){return false}if(this.theme.indexOf("material")>=0){return true}},isModern:function(){if(!this.theme){return false}if(this.theme.indexOf("light")>=0){return true}if(this.theme==="dark"){return true}},_addBarAndLabel:function(o){var n=this;var e=a("<label></label");e[0].innerHTML=this.placeHolder;e.addClass(n.toThemeProperty("jqx-input-label"));o.after(e);n.label=e;var m=a("<span></span>");o.after(m);m.addClass(n.toThemeProperty("jqx-input-bar"));n.bar=m;n.bar.css("top",this.host.height())}});a.jqx["_"+g].prototype.refresh=function(){if(this.base){this.base.refresh(true)}};a.jqx["_"+g].prototype.createInstance=function(){};a.jqx["_"+g].prototype.addEventHandler=function(m,e){this.host.on(m,e)};a.jqx["_"+g].prototype.removeEventHandler=function(m,e){this.host.off(m)};a.jqx["_"+g].prototype.applyTo=function(n,m){if(!(m instanceof Array)){var e=[];e.push(m);m=e}a.jqx.applyWidget(n,g,m,this)};a.jqx["_"+g].prototype.getInstance=function(){return this};a.jqx["_"+g].prototype.propertyChangeMap={};a.jqx["_"+g].prototype.addHandler=function(o,e,m,n){a.jqx.addHandler(a(o),e,m,n)};a.jqx["_"+g].prototype.removeHandler=function(n,e,m){a.jqx.removeHandler(a(n),e,m)};a.jqx["_"+g].prototype.setOptions=function(){if(!this.host||!this.host.length||this.host.length!=1){return}return a.jqx.jqxWidgetProxy(g,this.host[0],arguments)}};a.jqx.toThemeProperty=function(c,d,h){if(c.theme==""){return d}var g=d.split(" ");var b="";for(var f=0;f<g.length;f++){if(f>0){b+=" "}var e=g[f];if(h!=null&&h){b+=e+"-"+c.theme}else{b+=e+" "+e+"-"+c.theme}}return b};a.jqx.addHandler=function(g,h,e,f){var c=h.split(" ");for(var b=0;b<c.length;b++){var d=c[b];if(window.addEventListener){switch(d){case"mousewheel":if(a.jqx.browser.mozilla){g[0].addEventListener("DOMMouseScroll",e,false)}else{g[0].addEventListener("mousewheel",e,false)}continue;case"mousemove":if(!f){g[0].addEventListener("mousemove",e,false);continue}break}}if(f==undefined||f==null){if(g.on){g.on(d,e)}else{g.bind(d,e)}}else{if(g.on){g.on(d,f,e)}else{g.bind(d,f,e)}}}};a.jqx.removeHandler=function(f,g,e){if(!g){if(f.off){f.off()}else{f.unbind()}return}var c=g.split(" ");for(var b=0;b<c.length;b++){var d=c[b];if(window.removeEventListener){switch(d){case"mousewheel":if(a.jqx.browser.mozilla){f[0].removeEventListener("DOMMouseScroll",e,false)}else{f[0].removeEventListener("mousewheel",e,false)}continue;case"mousemove":if(e){f[0].removeEventListener("mousemove",e,false);continue}break}}if(d==undefined){if(f.off){f.off()}else{f.unbind()}continue}if(e==undefined){if(f.off){f.off(d)}else{f.unbind(d)}}else{if(f.off){f.off(d,e)}else{f.unbind(d,e)}}}};a.jqx.credits=a.jqx.credits||"";a.jqx.theme=a.jqx.theme||"";a.jqx.scrollAnimation=a.jqx.scrollAnimation||false;a.jqx.resizeDelay=a.jqx.resizeDelay||10;a.jqx.ready=function(){a(window).trigger("jqxReady")};a.jqx.init=function(){a.each(arguments[0],function(b,c){if(b=="theme"){a.jqx.theme=c}if(b=="scrollBarSize"){a.jqx.utilities.scrollBarSize=c}if(b=="touchScrollBarSize"){a.jqx.utilities.touchScrollBarSize=c}if(b=="scrollBarButtonsVisibility"){a.jqx.utilities.scrollBarButtonsVisibility=c}})};a.jqx.utilities=a.jqx.utilities||{};a.extend(a.jqx.utilities,{scrollBarSize:13,touchScrollBarSize:8,scrollBarButtonsVisibility:"visible",createId:function(){var b=function(){return(((1+Math.random())*65536)|0).toString(16).substring(1)};return"jqxWidget"+b()+b()+b()},setTheme:function(f,g,e){if(typeof e==="undefined"){return}if(!e[0].className.split){return}var h=e[0].className.split(" "),b=[],j=[],d=e.children();for(var c=0;c<h.length;c+=1){if(h[c].indexOf(f)>=0){if(f.length>0){b.push(h[c]);j.push(h[c].replace(f,g))}else{j.push(h[c].replace("-"+g,"")+"-"+g)}}}this._removeOldClasses(b,e);this._addNewClasses(j,e);for(var c=0;c<d.length;c+=1){this.setTheme(f,g,a(d[c]))}},_removeOldClasses:function(d,c){for(var b=0;b<d.length;b+=1){c.removeClass(d[b])}},_addNewClasses:function(d,c){for(var b=0;b<d.length;b+=1){c.addClass(d[b])}},getOffset:function(b){var d=a.jqx.mobile.getLeftPos(b[0]);var c=a.jqx.mobile.getTopPos(b[0]);return{top:c,left:d}},resize:function(g,s,p,o){if(o===undefined){o=true}var l=-1;var k=this;var d=function(u){if(!k.hiddenWidgets){return -1}var v=-1;for(var t=0;t<k.hiddenWidgets.length;t++){if(u.id){if(k.hiddenWidgets[t].id==u.id){v=t;break}}else{if(k.hiddenWidgets[t].id==u[0].id){v=t;break}}}return v};if(this.resizeHandlers){for(var h=0;h<this.resizeHandlers.length;h++){if(g.id){if(this.resizeHandlers[h].id==g.id){l=h;break}}else{if(this.resizeHandlers[h].id==g[0].id){l=h;break}}}if(p===true){if(l!=-1){this.resizeHandlers.splice(l,1);if(this.watchedElementData&&this.watchedElementData.length>0){this.watchedElementData.splice(l,1)}}if(this.resizeHandlers.length==0){var n=a(window);if(n.off){n.off("resize.jqx");n.off("orientationchange.jqx");n.off("orientationchanged.jqx")}else{n.unbind("resize.jqx");n.unbind("orientationchange.jqx");n.unbind("orientationchanged.jqx")}this.resizeHandlers=null}var b=d(g);if(b!=-1&&this.hiddenWidgets){this.hiddenWidgets.splice(b,1)}return}}else{if(p===true){var b=d(g);if(b!=-1&&this.hiddenWidgets){this.hiddenWidgets.splice(b,1)}return}}var k=this;var m=function(v,E){if(!k.resizeHandlers){return}var F=function(J){var I=-1;var K=J.parentNode;while(K){I++;K=K.parentNode}return I};var u=function(L,J){if(!L.widget||!J.widget){return 0}var K=F(L.widget[0]);var I=F(J.widget[0]);try{if(K<I){return -1}if(K>I){return 1}}catch(M){var N=M}return 0};var w=function(J){if(k.hiddenWidgets.length>0){k.hiddenWidgets.sort(u);var I=function(){var L=false;var N=new Array();for(var M=0;M<k.hiddenWidgets.length;M++){var K=k.hiddenWidgets[M];if(a.jqx.isHidden(K.widget)){L=true;N.push(K)}else{if(K.callback){K.callback(E)}}}k.hiddenWidgets=N;if(!L){clearInterval(k.__resizeInterval)}};if(J==false){I();if(k.__resizeInterval){clearInterval(k.__resizeInterval)}return}if(k.__resizeInterval){clearInterval(k.__resizeInterval)}k.__resizeInterval=setInterval(function(){I()},100)}};if(k.hiddenWidgets&&k.hiddenWidgets.length>0){w(false)}k.hiddenWidgets=new Array();k.resizeHandlers.sort(u);for(var B=0;B<k.resizeHandlers.length;B++){var H=k.resizeHandlers[B];var D=H.widget;var A=H.data;if(!A){continue}if(!A.jqxWidget){continue}var t=A.jqxWidget.width;var G=A.jqxWidget.height;if(A.jqxWidget.base){if(t==undefined){t=A.jqxWidget.base.width}if(G==undefined){G=A.jqxWidget.base.height}}if(t===undefined&&G===undefined){t=A.jqxWidget.element.style.width;G=A.jqxWidget.element.style.height}var C=false;if(t!=null&&t.toString().indexOf("%")!=-1){C=true}if(G!=null&&G.toString().indexOf("%")!=-1){C=true}if(a.jqx.isHidden(D)){if(d(D)===-1){if(C||v===true){if(H.data.nestedWidget!==true){k.hiddenWidgets.push(H)}}}}else{if(v===undefined||v!==true){if(C){H.callback(E);if(k.watchedElementData){for(var y=0;y<k.watchedElementData.length;y++){if(k.watchedElementData[y].element==A.jqxWidget.element){k.watchedElementData[y].offsetWidth=A.jqxWidget.element.offsetWidth;k.watchedElementData[y].offsetHeight=A.jqxWidget.element.offsetHeight;break}}}if(k.hiddenWidgets.indexOf(H)>=0){k.hiddenWidgets.splice(k.hiddenWidgets.indexOf(H),1)}}if(A.jqxWidget.element){var x=A.jqxWidget.element.className;if(x.indexOf("dropdownlist")>=0||x.indexOf("datetimeinput")>=0||x.indexOf("combobox")>=0||x.indexOf("menu")>=0){if(A.jqxWidget.isOpened){var z=A.jqxWidget.isOpened();if(z){if(E&&E=="resize"&&a.jqx.mobile.isTouchDevice()){continue}A.jqxWidget.close()}}}}}}}w()};if(!this.resizeHandlers){this.resizeHandlers=new Array();var n=a(window);if(n.on){this._resizeTimer=null;this._initResize=null;n.on("resize.jqx",function(t){if(k._resizeTimer!=undefined){clearTimeout(k._resizeTimer)}if(!k._initResize){k._initResize=true;m(null,"resize")}else{k._resizeTimer=setTimeout(function(){m(null,"resize")},a.jqx.resizeDelay)}});n.on("orientationchange.jqx",function(t){m(null,"orientationchange")});n.on("orientationchanged.jqx",function(t){m(null,"orientationchange")})}else{n.bind("resize.jqx",function(t){m(null,"orientationchange")});n.bind("orientationchange.jqx",function(t){m(null,"orientationchange")});n.bind("orientationchanged.jqx",function(t){m(null,"orientationchange")})}}var e=g.data();if(o){if(l===-1){this.resizeHandlers.push({id:g[0].id,widget:g,callback:s,data:e})}}try{var c=e.jqxWidget.width;var r=e.jqxWidget.height;if(e.jqxWidget.base){if(c==undefined){c=e.jqxWidget.base.width}if(r==undefined){r=e.jqxWidget.base.height}}if(c===undefined&&r===undefined){c=e.jqxWidget.element.style.width;r=e.jqxWidget.element.style.height}var j=false;if(c!=null&&c.toString().indexOf("%")!=-1){j=true}if(r!=null&&r.toString().indexOf("%")!=-1){j=true}if(j){if(!this.watchedElementData){this.watchedElementData=[]}var k=this;var f=function(t){if(k.watchedElementData.forEach){k.watchedElementData.forEach(function(u){if(u.element.offsetWidth!==u.offsetWidth||u.element.offsetHeight!==u.offsetHeight){u.offsetWidth=u.element.offsetWidth;u.offsetHeight=u.element.offsetHeight;if(u.timer){clearTimeout(u.timer)}u.timer=setTimeout(function(){if(!a.jqx.isHidden(a(u.element))){u.callback()}else{u.timer=setInterval(function(){if(!a.jqx.isHidden(a(u.element))){clearInterval(u.timer);u.callback()}},100)}})}})}};k.watchedElementData.push({element:g[0],offsetWidth:g[0].offsetWidth,offsetHeight:g[0].offsetHeight,callback:s});if(!k.observer){k.observer=new MutationObserver(f);k.observer.observe(document.body,{attributes:true,childList:true,characterData:true})}}}catch(q){}if(a.jqx.isHidden(g)&&o===true){m(true)}a.jqx.resize=function(){m(null,"resize")}},parseJSON:function(d){if(!d||typeof d!=="string"){return null}var b=/^[\],:{}\s]*$/,f=/(?:^|:|,)(?:\s*\[)+/g,c=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,e=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g;d=a.trim(d);if(window.JSON&&window.JSON.parse){return window.JSON.parse(d)}if(b.test(d.replace(c,"@").replace(e,"]").replace(f,""))){return(new Function("return "+d))()}throw new Error("Invalid JSON: "+d)},html:function(c,d){if(!a(c).on){return a(c).html(d)}try{return a.access(c,function(s){var f=c[0]||{},m=0,j=c.length;if(s===undefined){return f.nodeType===1?f.innerHTML.replace(rinlinejQuery,""):undefined}var r=/<(?:script|style|link)/i,n="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",h=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,p=/<([\w:]+)/,g=/<(?:script|object|embed|option|style)/i,k=new RegExp("<(?:"+n+")[\\s/>]","i"),q=/^\s+/,t={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};if(typeof s==="string"&&!r.test(s)&&(a.support.htmlSerialize||!k.test(s))&&(a.support.leadingWhitespace||!q.test(s))&&!t[(p.exec(s)||["",""])[1].toLowerCase()]){s=s.replace(h,"<$1></$2>");try{for(;m<j;m++){f=this[m]||{};if(f.nodeType===1){a.cleanData(f.getElementsByTagName("*"));f.innerHTML=s}}f=0}catch(o){}}if(f){c.empty().append(s)}},null,d,arguments.length)}catch(b){return a(c).html(d)}},hasTransform:function(d){var c="";c=d.css("transform");if(c==""||c=="none"){c=d.parents().css("transform");if(c==""||c=="none"){var b=a.jqx.utilities.getBrowser();if(b.browser=="msie"){c=d.css("-ms-transform");if(c==""||c=="none"){c=d.parents().css("-ms-transform")}}else{if(b.browser=="chrome"){c=d.css("-webkit-transform");if(c==""||c=="none"){c=d.parents().css("-webkit-transform")}}else{if(b.browser=="opera"){c=d.css("-o-transform");if(c==""||c=="none"){c=d.parents().css("-o-transform")}}else{if(b.browser=="mozilla"){c=d.css("-moz-transform");if(c==""||c=="none"){c=d.parents().css("-moz-transform")}}}}}}else{return c!=""&&c!="none"}}if(c==""||c=="none"){c=a(document.body).css("transform")}return c!=""&&c!="none"&&c!=null},getBrowser:function(){var c=navigator.userAgent.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(c)||/(webkit)[ \/]([\w.]+)/.exec(c)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(c)||/(msie) ([\w.]+)/.exec(c)||c.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(c)||[];var d={browser:b[1]||"",version:b[2]||"0"};if(c.indexOf("rv:11.0")>=0&&c.indexOf(".net4.0c")>=0){d.browser="msie";d.version="11";b[1]="msie"}if(c.indexOf("edge")>=0){d.browser="msie";d.version="12";b[1]="msie"}d[b[1]]=b[1];return d}});a.jqx.browser=a.jqx.utilities.getBrowser();a.jqx.isHidden=function(c){if(!c||!c[0]){return false}var b=c[0].offsetWidth,d=c[0].offsetHeight;if(b===0||d===0){return true}else{return false}};a.jqx.ariaEnabled=true;a.jqx.aria=function(c,e,d){if(!a.jqx.ariaEnabled){return}if(e==undefined){a.each(c.aria,function(g,h){var k=!c.base?c.host.attr(g):c.base.host.attr(g);if(k!=undefined&&!a.isFunction(k)){var j=k;switch(h.type){case"number":j=new Number(k);if(isNaN(j)){j=k}break;case"boolean":j=k=="true"?true:false;break;case"date":j=new Date(k);if(j=="Invalid Date"||isNaN(j)){j=k}break}c[h.name]=j}else{var k=c[h.name];if(a.isFunction(k)){k=c[h.name]()}if(k==undefined){k=""}try{!c.base?c.host.attr(g,k.toString()):c.base.host.attr(g,k.toString())}catch(f){}}})}else{try{if(c.host){if(!c.base){if(c.host){if(c.element.setAttribute){c.element.setAttribute(e,d.toString())}else{c.host.attr(e,d.toString())}}else{c.attr(e,d.toString())}}else{if(c.base.host){c.base.host.attr(e,d.toString())}else{c.attr(e,d.toString())}}}else{if(c.setAttribute){c.setAttribute(e,d.toString())}}}catch(b){}}};if(!Array.prototype.indexOf){Array.prototype.indexOf=function(c){var b=this.length;var d=Number(arguments[1])||0;d=(d<0)?Math.ceil(d):Math.floor(d);if(d<0){d+=b}for(;d<b;d++){if(d in this&&this[d]===c){return d}}return -1}}a.jqx.mobile=a.jqx.mobile||{};a.jqx.position=function(b){var e=parseInt(b.pageX);var d=parseInt(b.pageY);if(a.jqx.mobile.isTouchDevice()){var c=a.jqx.mobile.getTouches(b);var f=c[0];e=parseInt(f.pageX);d=parseInt(f.pageY)}return{left:e,top:d}};a.extend(a.jqx.mobile,{_touchListener:function(h,f){var b=function(j,l){var k=document.createEvent("MouseEvents");k.initMouseEvent(j,l.bubbles,l.cancelable,l.view,l.detail,l.screenX,l.screenY,l.clientX,l.clientY,l.ctrlKey,l.altKey,l.shiftKey,l.metaKey,l.button,l.relatedTarget);k._pageX=l.pageX;k._pageY=l.pageY;return k};var g={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove"};var d=b(g[h.type],h);h.target.dispatchEvent(d);var c=h.target["on"+g[h.type]];if(typeof c==="function"){c(h)}},setMobileSimulator:function(c,e){if(this.isTouchDevice()){return}this.simulatetouches=true;if(e==false){this.simulatetouches=false}var d={mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove"};var b=this;if(window.addEventListener){var f=function(){for(var g in d){if(c.addEventListener){c.removeEventListener(g,b._touchListener);c.addEventListener(g,b._touchListener,false)}}};if(a.jqx.browser.msie){f()}else{f()}}},isTouchDevice:function(){if(this.touchDevice!=undefined){return this.touchDevice}var c="Browser CodeName: "+navigator.appCodeName+"";c+="Browser Name: "+navigator.appName+"";c+="Browser Version: "+navigator.appVersion+"";c+="Platform: "+navigator.platform+"";c+="User-agent header: "+navigator.userAgent+"";if(c.indexOf("Android")!=-1){return true}if(c.indexOf("IEMobile")!=-1){return true}if(c.indexOf("Windows Phone")!=-1){return true}if(c.indexOf("WPDesktop")!=-1){return true}if(c.indexOf("ZuneWP7")!=-1){return true}if(c.indexOf("BlackBerry")!=-1&&c.indexOf("Mobile Safari")!=-1){return true}if(c.indexOf("ipod")!=-1){return true}if(c.indexOf("nokia")!=-1||c.indexOf("Nokia")!=-1){return true}if(c.indexOf("Chrome/17")!=-1){return false}if(c.indexOf("CrOS")!=-1){return false}if(c.indexOf("Opera")!=-1&&c.indexOf("Mobi")==-1&&c.indexOf("Mini")==-1&&c.indexOf("Platform: Win")!=-1){return false}if(c.indexOf("HybridDeviceTouch")!=-1){return true}if(c.indexOf("HybridDeviceMouse")!=-1){return false}if(c.indexOf("Opera")!=-1&&c.indexOf("Mobi")!=-1&&c.indexOf("Opera Mobi")!=-1){return true}var d={ios:"i(?:Pad|Phone|Pod)(?:.*)CPU(?: iPhone)? OS ",android:"(Android |HTC_|Silk/)",blackberry:"BlackBerry(?:.*)Version/",rimTablet:"RIM Tablet OS ",webos:"(?:webOS|hpwOS)/",bada:"Bada/"};try{if(this.touchDevice!=undefined){return this.touchDevice}this.touchDevice=false;for(i in d){if(d.hasOwnProperty(i)){prefix=d[i];match=c.match(new RegExp("(?:"+prefix+")([^\\s;]+)"));if(match){if(i.toString()=="blackberry"){this.touchDevice=false;return false}this.touchDevice=true;return true}}}var f=navigator.userAgent;if(navigator.platform.toLowerCase().indexOf("win")!=-1){if(f.indexOf("Windows Phone")>=0||f.indexOf("WPDesktop")>=0||f.indexOf("IEMobile")>=0||f.indexOf("ZuneWP7")>=0){this.touchDevice=true;return true}else{if(f.indexOf("Touch")>=0){var b=("MSPointerDown" in window)||("pointerdown" in window);if(b){this.touchDevice=true;return true}if(f.indexOf("ARM")>=0){this.touchDevice=true;return true}this.touchDevice=false;return false}}}if(navigator.platform.toLowerCase().indexOf("win")!=-1){this.touchDevice=false;return false}if(("ontouchstart" in window)||window.DocumentTouch&&document instanceof DocumentTouch){this.touchDevice=true}return this.touchDevice}catch(g){this.touchDevice=false;return false}},getLeftPos:function(b){var c=b.offsetLeft;while((b=b.offsetParent)!=null){if(b.tagName!="HTML"){c+=b.offsetLeft;if(document.all){c+=b.clientLeft}}}return c},getTopPos:function(c){var e=c.offsetTop;var b=a(c).coord();while((c=c.offsetParent)!=null){if(c.tagName!="HTML"){e+=(c.offsetTop-c.scrollTop);if(document.all){e+=c.clientTop}}}var d=navigator.userAgent.toLowerCase();var f=(d.indexOf("windows phone")!=-1||d.indexOf("WPDesktop")!=-1||d.indexOf("ZuneWP7")!=-1||d.indexOf("msie 9")!=-1||d.indexOf("msie 11")!=-1||d.indexOf("msie 10")!=-1)&&d.indexOf("touch")!=-1;if(f){return b.top}if(this.isSafariMobileBrowser()){if(this.isSafari4MobileBrowser()&&this.isIPadSafariMobileBrowser()){return e}if(d.indexOf("version/7")!=-1){return b.top}if(d.indexOf("version/6")!=-1||d.indexOf("version/5")!=-1){e=e+a(window).scrollTop()}if(/(Android.*Chrome\/[.0-9]* (!?Mobile))/.exec(navigator.userAgent)){return e+a(window).scrollTop()}if(/(Android.*Chrome\/[.0-9]* Mobile)/.exec(navigator.userAgent)){return e+a(window).scrollTop()}return b.top}return e},isChromeMobileBrowser:function(){var c=navigator.userAgent.toLowerCase();var b=c.indexOf("android")!=-1;return b},isOperaMiniMobileBrowser:function(){var c=navigator.userAgent.toLowerCase();var b=c.indexOf("opera mini")!=-1||c.indexOf("opera mobi")!=-1;return b},isOperaMiniBrowser:function(){var c=navigator.userAgent.toLowerCase();var b=c.indexOf("opera mini")!=-1;return b},isNewSafariMobileBrowser:function(){var c=navigator.userAgent.toLowerCase();var b=c.indexOf("ipad")!=-1||c.indexOf("iphone")!=-1||c.indexOf("ipod")!=-1;b=b&&(c.indexOf("version/5")!=-1);return b},isSafari4MobileBrowser:function(){var c=navigator.userAgent.toLowerCase();var b=c.indexOf("ipad")!=-1||c.indexOf("iphone")!=-1||c.indexOf("ipod")!=-1;b=b&&(c.indexOf("version/4")!=-1);return b},isWindowsPhone:function(){var c=navigator.userAgent.toLowerCase();var b=(c.indexOf("windows phone")!=-1||c.indexOf("WPDesktop")!=-1||c.indexOf("ZuneWP7")!=-1||c.indexOf("msie 9")!=-1||c.indexOf("msie 11")!=-1||c.indexOf("msie 10")!=-1&&c.indexOf("touch")!=-1);return b},isSafariMobileBrowser:function(){var c=navigator.userAgent.toLowerCase();if(/(Android.*Chrome\/[.0-9]* (!?Mobile))/.exec(navigator.userAgent)){return true}if(/(Android.*Chrome\/[.0-9]* Mobile)/.exec(navigator.userAgent)){return true}var b=c.indexOf("ipad")!=-1||c.indexOf("iphone")!=-1||c.indexOf("ipod")!=-1||c.indexOf("mobile safari")!=-1;return b},isIPadSafariMobileBrowser:function(){var c=navigator.userAgent.toLowerCase();var b=c.indexOf("ipad")!=-1;return b},isMobileBrowser:function(){var c=navigator.userAgent.toLowerCase();var b=c.indexOf("ipad")!=-1||c.indexOf("iphone")!=-1||c.indexOf("android")!=-1;return b},getTouches:function(b){if(b.originalEvent){if(b.originalEvent.touches&&b.originalEvent.touches.length){return b.originalEvent.touches}else{if(b.originalEvent.changedTouches&&b.originalEvent.changedTouches.length){return b.originalEvent.changedTouches}}}if(!b.touches){b.touches=new Array();b.touches[0]=b.originalEvent!=undefined?b.originalEvent:b;if(b.originalEvent!=undefined&&b.pageX){b.touches[0]=b}if(b.type=="mousemove"){b.touches[0]=b}}return b.touches},getTouchEventName:function(b){if(this.isWindowsPhone()){var c=navigator.userAgent.toLowerCase();if(c.indexOf("windows phone 7")!=-1){if(b.toLowerCase().indexOf("start")!=-1){return"MSPointerDown"}if(b.toLowerCase().indexOf("move")!=-1){return"MSPointerMove"}if(b.toLowerCase().indexOf("end")!=-1){return"MSPointerUp"}}if(b.toLowerCase().indexOf("start")!=-1){return"pointerdown"}if(b.toLowerCase().indexOf("move")!=-1){return"pointermove"}if(b.toLowerCase().indexOf("end")!=-1){return"pointerup"}}else{return b}},dispatchMouseEvent:function(b,f,d){if(this.simulatetouches){return}var c=document.createEvent("MouseEvent");c.initMouseEvent(b,true,true,f.view,1,f.screenX,f.screenY,f.clientX,f.clientY,false,false,false,false,0,null);if(d!=null){d.dispatchEvent(c)}},getRootNode:function(b){while(b.nodeType!==1){b=b.parentNode}return b},setTouchScroll:function(b,c){if(!this.enableScrolling){this.enableScrolling=[]}this.enableScrolling[c]=b},touchScroll:function(A,L,V,G,w,m){if(A==null){return}var F=this;var e=0;var q=0;var f=0;var g=0;var s=0;var h=0;if(!this.scrolling){this.scrolling=[]}this.scrolling[G]=false;var j=false;var o=a(A);var P=["select","input","textarea"];var T=0;var I=0;if(!this.enableScrolling){this.enableScrolling=[]}this.enableScrolling[G]=true;var G=G;var t=this.getTouchEventName("touchstart")+".touchScroll";var C=this.getTouchEventName("touchend")+".touchScroll";var X=this.getTouchEventName("touchmove")+".touchScroll";var k,S,y,U,ad,O,W,c,E,Z,ab,d,v,u,Q,b,D,ac,n;O=L;ad=0;W=0;xoffset=0;initialOffset=0;initialXOffset=0;U=w.jqxScrollBar("max");n=325;function z(ag){if(ag.targetTouches&&(ag.targetTouches.length>=1)){return ag.targetTouches[0].clientY}else{if(ag.originalEvent&&ag.originalEvent.clientY!==undefined){return ag.originalEvent.clientY}else{var af=F.getTouches(ag);return af[0].clientY}}}function aa(ag){if(ag.targetTouches&&(ag.targetTouches.length>=1)){return ag.targetTouches[0].clientX}else{if(ag.originalEvent&&ag.originalEvent.clientX!==undefined){return ag.originalEvent.clientX}else{var af=F.getTouches(ag);return af[0].clientX}}}var H=function(){var ah,af,ai,ag;ah=Date.now();af=ah-v;v=ah;ai=W-d;xdelta=xoffset-xframe;d=W;xframe=xoffset;E=true;ag=1000*ai/(1+af);xv=1000*xdelta/(1+af);ab=0.8*ag+0.2*ab;xjqxAnimations=0.8*xv+0.2*xjqxAnimations};var B=false;var T=function(ag){if(!F.enableScrolling[G]){return true}if(a.inArray(ag.target.tagName.toLowerCase(),P)!==-1){return}W=m.jqxScrollBar("value");xoffset=w.jqxScrollBar("value");var ah=F.getTouches(ag);var ai=ah[0];if(ah.length==1){F.dispatchMouseEvent("mousedown",ai,F.getRootNode(ai.target))}U=w.jqxScrollBar("max");O=m.jqxScrollBar("max");function af(aj){B=false;E=true;c=z(aj);ac=aa(aj);ab=Q=xjqxAnimations=0;d=W;xframe=xoffset;v=Date.now();clearInterval(u);u=setInterval(H,100);initialOffset=W;initialXOffset=xoffset;if(W>0&&W<O&&m[0].style.visibility!="hidden"){}}af(ag);j=false;q=ai.pageY;s=ai.pageX;if(F.simulatetouches){if(ai._pageY!=undefined){q=ai._pageY;s=ai._pageX}}F.scrolling[G]=true;e=0;g=0;return true};if(o.on){o.on(t,T)}else{o.bind(t,T)}var Y=function(ag,af){W=(ag>O)?O:(ag<ad)?ad:ag;V(null,ag,0,0,af);return(ag>O)?"max":(ag<ad)?"min":"value"};var l=function(ag,af){xoffset=(ag>U)?U:(ag<ad)?ad:ag;V(ag,null,0,0,af);return(ag>U)?"max":(ag<ad)?"min":"value"};function R(){var af,ag;if(Q){af=Date.now()-v;ag=-Q*Math.exp(-af/n);if(ag>0.5||ag<-0.5){Y(b+ag);requestAnimationFrame(R)}else{Y(b)}}}function M(){var af,ag;if(Q){af=Date.now()-v;ag=-Q*Math.exp(-af/n);if(ag>0.5||ag<-0.5){l(D+ag);requestAnimationFrame(M)}else{l(D)}}}var x=function(af){if(!F.enableScrolling[G]){return true}if(!F.scrolling[G]){return true}if(B){af.preventDefault();af.stopPropagation()}var ak=F.getTouches(af);if(ak.length>1){return true}var ag=ak[0].pageY;var ai=ak[0].pageX;if(F.simulatetouches){if(ak[0]._pageY!=undefined){ag=ak[0]._pageY;ai=ak[0]._pageX}}var am=ag-q;var an=ai-s;I=ag;touchHorizontalEnd=ai;f=am-e;h=an-g;j=true;e=am;g=an;var ah=w!=null?w[0].style.visibility!="hidden":true;var al=m!=null?m[0].style.visibility!="hidden":true;function aj(aq){var at,ar,ap;if(E){at=z(aq);ap=aa(aq);ar=c-at;xdelta=ac-ap;var ao="value";if(ar>2||ar<-2){c=at;ao=Y(W+ar,aq);H();if(ao=="min"&&initialOffset===0){return true}if(ao=="max"&&initialOffset===O){return true}if(!al){return true}aq.preventDefault();aq.stopPropagation();B=true;return false}else{if(xdelta>2||xdelta<-2){ac=ap;ao=l(xoffset+xdelta,aq);H();if(ao=="min"&&initialXOffset===0){return true}if(ao=="max"&&initialXOffset===U){return true}if(!ah){return true}B=true;aq.preventDefault();aq.stopPropagation();return false}}aq.preventDefault()}}if(ah||al){if((ah)||(al)){aj(af)}}};if(o.on){o.on(X,x)}else{o.bind(X,x)}var r=function(ag){if(!F.enableScrolling[G]){return true}var ah=F.getTouches(ag)[0];if(!F.scrolling[G]){return true}E=false;clearInterval(u);if(ab>10||ab<-10){Q=0.8*ab;b=Math.round(W+Q);v=Date.now();requestAnimationFrame(R)}else{if(xjqxAnimations>10||xjqxAnimations<-10){Q=0.8*xjqxAnimations;D=Math.round(xoffset+Q);v=Date.now();requestAnimationFrame(M)}else{}}F.scrolling[G]=false;if(j){F.dispatchMouseEvent("mouseup",ah,ag.target)}else{var ah=F.getTouches(ag)[0],af=F.getRootNode(ah.target);F.dispatchMouseEvent("mouseup",ah,af);F.dispatchMouseEvent("click",ah,af);return true}};if(this.simulatetouches){var p=a(window).on!=undefined||a(window).bind;var N=function(af){try{r(af)}catch(ag){}F.scrolling[G]=false};a(window).on!=undefined?a(document).on("mouseup.touchScroll",N):a(document).bind("mouseup.touchScroll",N);if(window.frameElement){if(window.top!=null){var K=function(af){try{r(af)}catch(ag){}F.scrolling[G]=false};if(window.top.document){a(window.top.document).on?a(window.top.document).on("mouseup",K):a(window.top.document).bind("mouseup",K)}}}var ae=a(document).on!=undefined||a(document).bind;var J=function(af){if(!F.scrolling[G]){return true}F.scrolling[G]=false;var ah=F.getTouches(af)[0],ag=F.getRootNode(ah.target);F.dispatchMouseEvent("mouseup",ah,ag);F.dispatchMouseEvent("click",ah,ag)};a(document).on!=undefined?a(document).on("touchend",J):a(document).bind("touchend",J)}if(o.on){o.on("dragstart",function(af){af.preventDefault()});o.on("selectstart",function(af){af.preventDefault()})}o.on?o.on(C+" touchcancel.touchScroll",r):o.bind(C+" touchcancel.touchScroll",r)}});a.jqx.cookie=a.jqx.cookie||{};a.extend(a.jqx.cookie,{cookie:function(e,f,c){if(arguments.length>1&&String(f)!=="[object Object]"){c=a.extend({},c);if(f===null||f===undefined){c.expires=-1}if(typeof c.expires==="number"){var h=c.expires,d=c.expires=new Date();d.setDate(d.getDate()+h)}f=String(f);return(document.cookie=[encodeURIComponent(e),"=",c.raw?f:encodeURIComponent(f),c.expires?"; expires="+c.expires.toUTCString():"",c.path?"; path="+c.path:"",c.domain?"; domain="+c.domain:"",c.secure?"; secure":""].join(""))}c=f||{};var b,g=c.raw?function(j){return j}:decodeURIComponent;return(b=new RegExp("(?:^|; )"+encodeURIComponent(e)+"=([^;]*)").exec(document.cookie))?g(b[1]):null}});a.jqx.string=a.jqx.string||{};a.extend(a.jqx.string,{replace:function(f,d,e){if(d===e){return this}var b=f;var c=b.indexOf(d);while(c!=-1){b=b.replace(d,e);c=b.indexOf(d)}return b},contains:function(b,c){if(b==null||c==null){return false}return b.indexOf(c)!=-1},containsIgnoreCase:function(b,c){if(b==null||c==null){return false}return b.toString().toUpperCase().indexOf(c.toString().toUpperCase())!=-1},equals:function(b,c){if(b==null||c==null){return false}b=this.normalize(b);if(c.length==b.length){return b.slice(0,c.length)==c}return false},equalsIgnoreCase:function(b,c){if(b==null||c==null){return false}b=this.normalize(b);if(c.length==b.length){return b.toUpperCase().slice(0,c.length)==c.toUpperCase()}return false},startsWith:function(b,c){if(b==null||c==null){return false}return b.slice(0,c.length)==c},startsWithIgnoreCase:function(b,c){if(b==null||c==null){return false}return b.toUpperCase().slice(0,c.length)==c.toUpperCase()},normalize:function(b){if(b.charCodeAt(b.length-1)==65279){b=b.substring(0,b.length-1)}return b},endsWith:function(b,c){if(b==null||c==null){return false}b=this.normalize(b);return b.slice(-c.length)==c},endsWithIgnoreCase:function(b,c){if(b==null||c==null){return false}b=this.normalize(b);return b.toUpperCase().slice(-c.length)==c.toUpperCase()}});a.extend(a.easing,{easeOutBack:function(f,g,e,k,j,h){if(h==undefined){h=1.70158}return k*((g=g/j-1)*g*((h+1)*g+h)+1)+e},easeInQuad:function(f,g,e,j,h){return j*(g/=h)*g+e},easeInOutCirc:function(f,g,e,j,h){if((g/=h/2)<1){return -j/2*(Math.sqrt(1-g*g)-1)+e}return j/2*(Math.sqrt(1-(g-=2)*g)+1)+e},easeInOutSine:function(f,g,e,j,h){return -j/2*(Math.cos(Math.PI*g/h)-1)+e},easeInCubic:function(f,g,e,j,h){return j*(g/=h)*g*g+e},easeOutCubic:function(f,g,e,j,h){return j*((g=g/h-1)*g*g+1)+e},easeInOutCubic:function(f,g,e,j,h){if((g/=h/2)<1){return j/2*g*g*g+e}return j/2*((g-=2)*g*g+2)+e},easeInSine:function(f,g,e,j,h){return -j*Math.cos(g/h*(Math.PI/2))+j+e},easeOutSine:function(f,g,e,j,h){return j*Math.sin(g/h*(Math.PI/2))+e},easeInOutSine:function(f,g,e,j,h){return -j/2*(Math.cos(Math.PI*g/h)-1)+e}})})(jqxBaseFramework);(function(b){if(b.event&&b.event.special){b.extend(b.event.special,{close:{noBubble:true},open:{noBubble:true},cellclick:{noBubble:true},rowclick:{noBubble:true},tabclick:{noBubble:true},selected:{noBubble:true},expanded:{noBubble:true},collapsed:{noBubble:true},valuechanged:{noBubble:true},expandedItem:{noBubble:true},collapsedItem:{noBubble:true},expandingItem:{noBubble:true},collapsingItem:{noBubble:true}})}if(b.fn.extend){b.fn.extend({ischildof:function(g){if(!b(this).parents){var c=g.element.contains(this.element);return c}var e=b(this).parents().get();for(var d=0;d<e.length;d++){if(typeof g!="string"){var f=e[d];if(g!==undefined){if(f==g[0]){return true}}}else{if(g!==undefined){if(b(e[d]).is(g)){return true}}}}return false}})}b.fn.jqxProxy=function(){var e=b(this).data().jqxWidget;var c=Array.prototype.slice.call(arguments,0);var d=e.element;if(!d){d=e.base.element}return b.jqx.jqxWidgetProxy(e.widgetName,d,c)};var a=this.originalVal=b.fn.val;b.fn.val=function(d){if(typeof d=="undefined"){if(b(this).hasClass("jqx-widget")){var c=b(this).data().jqxWidget;if(c&&c.val){return c.val()}}if(this[0]&&this[0].tagName.toLowerCase().indexOf("angular")>=0){var c=b(this).find(".jqx-widget").data().jqxWidget;if(c&&c.val){return c.val()}}return a.call(this)}else{if(b(this).hasClass("jqx-widget")){var c=b(this).data().jqxWidget;if(c&&c.val){if(arguments.length!=2){return c.val(d)}else{return c.val(d,arguments[1])}}}if(this[0]&&this[0].tagName.toLowerCase().indexOf("angular")>=0){var c=b(this).find(".jqx-widget").data().jqxWidget;if(c&&c.val){if(arguments.length!=2){return c.val(d)}else{return c.val(d,arguments[1])}}}return a.call(this,d)}};if(b.fn.modal&&b.fn.modal.Constructor){b.fn.modal.Constructor.prototype.enforceFocus=function(){b(document).off("focusin.bs.modal").on("focusin.bs.modal",b.proxy(function(c){if(this.$element[0]!==c.target&&!this.$element.has(c.target).length){if(b(c.target).parents().hasClass("jqx-popup")){return true}this.$element.trigger("focus")}},this))}}b.fn.coord=function(o){var e,k,j={top:0,left:0},f=this[0],m=f&&f.ownerDocument;if(!m){return}e=m.documentElement;if(!b.contains(e,f)){return j}if(typeof f.getBoundingClientRect!==undefined){j=f.getBoundingClientRect()}var d=function(p){return b.isWindow(p)?p:p.nodeType===9?p.defaultView||p.parentWindow:false};k=d(m);var h=0;var c=0;var g=navigator.userAgent.toLowerCase();var n=g.indexOf("ipad")!=-1||g.indexOf("iphone")!=-1;if(n){h=2}if(true==o){if(document.body.style.position!="static"&&document.body.style.position!=""){var l=b(document.body).coord();h=-l.left;c=-l.top}}return{top:c+j.top+(k.pageYOffset||e.scrollTop)-(e.clientTop||0),left:h+j.left+(k.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}};b.jqx.ripplers=[];b.jqx.ripple=function(f,e,o){if(!e){e=f}var h=b(f);var j=false;h.append("<span class='ink'></span>");var p=h.find(".ink");var c=false;for(var g=0;g<b.jqx.ripplers.length;g++){var k=b.jqx.ripplers[g];if(k.element[0]===f[0]){c=true;break}}if(!c){b.jqx.ripplers.push({ink:p,element:f,hostElement:e,hostElementType:o})}if(o==="checkbox"||o==="radiobutton"){if(!p.height()&&!p.width()){var l=Math.max(h.outerWidth(),h.outerHeight());p.css({height:l,width:l})}var n=h.width()/2-p.width()/2;var m=h.height()/2-p.height()/2;p.css({top:m+"px",left:n+"px"})}if(b.jqx.ripplers.length===1){b(document).on("mouseup",function(r){b.jqx.ripple.mouseCaptured=false;for(var q=0;q<b.jqx.ripplers.length;q++){var d=b.jqx.ripplers[q];d.ink.removeClass("active");d.element.removeClass("active");if(o!=="checkbox"&&o!=="radiobutton"){if(d.ink.hasClass("animate")){d.ink.removeClass("animate")}}}})}e.off("mousedown.ripple");e.on("mousedown.ripple",function(q){var d=b(f);b.jqx.ripple.mouseCaptured=true;setTimeout(function(){if(d.find(".ink").length==0){d.append("<span class='ink'></span>")}var s=d.find(".ink");s.removeClass("animate");if(!s.height()&&!s.width()){var t=Math.max(d.outerWidth(),d.outerHeight());s.css({height:t,width:t})}if(o==="checkbox"||o==="radiobutton"){if(o==="checkbox"){if(e.jqxCheckBox("disabled")){return}}if(o==="radiobutton"){if(e.jqxRadioButton("disabled")){return}}var r=d.width()/2-s.width()/2;var u=d.height()/2-s.height()/2;s.css({top:u+"px",left:r+"px"}).addClass("animate");s.on("animationend",function(){if(b.jqx.ripple.mouseCaptured){s.removeClass("animate");s.addClass("active");f.addClass("active")}});return}var r=q.pageX-d.offset().left-s.width()/2;var u=q.pageY-d.offset().top-s.height()/2;s.css({top:u+"px",left:r+"px"}).addClass("animate")})})}})(jqxBaseFramework);
+
+(function(){var c=[];var a=function(){var d=c;for(var e=0;e<d.length;e++){var g=d[e];var f=false;if(g.element.offsetWidth!==g.width){f=true}if(g.element.offsetHeight!==g.height){f=true}if(f){g.width=g.element.offsetWidth;g.height=g.element.offsetHeight;g.callback()}}};var b=setInterval(function(){a()},100);window.addResizeHandler=function(d,e){c.push({element:d,width:d.offsetWidth,height:d.offsetHeight,callback:e});return};window.removeResizeHandler=function(g){var d=c;var e=-1;for(var f=0;f<d.length;f++){if(d[f].element===g){e=f}}if(e>=0){c.splice(e,1)}return}})();(function(a){if(!a.jqx.elements){a.jqx.elements=new Array()}a.extend(a.event.special,{close:{noBubble:false},open:{noBubble:false},});window.JQXElements={settings:{}};a.jqx.elements.push({name:"jqxCalendar",template:"<div></div>",attributeSync:true,properties:{disabled:{attributeSync:false},width:{type:"length"},height:{type:"length"},min:{type:"date"},max:{type:"date"},value:{type:"date"}}});a.jqx.elements.push({name:"jqxButton",template:"<div></div>"});a.jqx.elements.push({name:"jqxButtonGroup",template:"<div></div>"});a.jqx.elements.push({name:"jqxBulletChart",template:"<div></div>"});a.jqx.elements.push({name:"jqxRadioButton",template:"<div></div>"});a.jqx.elements.push({name:"jqxCheckBox",template:"<div></div>"});a.jqx.elements.push({name:"jqxRepeatButton",template:"<button></button>"});a.jqx.elements.push({name:"jqxSwitchButton",template:"<div></div>"});a.jqx.elements.push({name:"jqxLinkButton",template:"<a></a>"});a.jqx.elements.push({name:"jqxToggleButton",template:"<button></button>"});a.jqx.elements.push({name:"jqxBarGauge",template:"<div></div>"});a.jqx.elements.push({name:"jqxChart",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxColorPicker",template:"<div></div>"});a.jqx.elements.push({name:"jqxComboBox",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxComplexInput",template:"<div><input/><div></div></div>",});a.jqx.elements.push({name:"jqxDraw",template:"<div></div>"});a.jqx.elements.push({name:"jqxDataTable",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxDateTimeInput",template:"<div></div>"});a.jqx.elements.push({name:"jqxDocking",template:"<div></div>"});a.jqx.elements.push({name:"jqxDockPanel",template:"<div></div>"});a.jqx.elements.push({name:"jqxDragDrop",template:"<div></div>"});a.jqx.elements.push({name:"jqxDropDownList",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxDropDownButton",template:"<div></div>"});a.jqx.elements.push({name:"jqxEditor",template:"<div></div>"});a.jqx.elements.push({name:"jqxExpander",template:"<div></div>"});a.jqx.elements.push({name:"jqxFileUpload",template:"<div></div>"});a.jqx.elements.push({name:"jqxFormattedInput",template:"<div><input/><div></div></div>",});a.jqx.elements.push({name:"jqxGauge",template:"<div></div>",propertyMap:{style:"backgroundStyle"}});a.jqx.elements.push({name:"jqxLinearGauge",template:"<div></div>",propertyMap:{style:"backgroundStyle"}});a.jqx.elements.push({name:"jqxGrid",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxPivotGrid",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxPivotDesigner",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxInput",template:"<input/>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxKanban",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxKnob",template:"<div></div>"});a.jqx.elements.push({name:"jqxLayout",template:"<div></div>"});a.jqx.elements.push({name:"jqxDockingLayout",template:"<div></div>"});a.jqx.elements.push({name:"jqxListBox",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxListMenu",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxLoader",template:"<div></div>"});a.jqx.elements.push({name:"jqxMaskedInput",template:"<input/>",});a.jqx.elements.push({name:"jqxMenu",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxNavBar",template:"<div></div>"});a.jqx.elements.push({name:"jqxNavigationBar",template:"<div></div>"});a.jqx.elements.push({name:"jqxNotification",template:"<div></div>",properties:{appendContainer:{type:"string"}}});a.jqx.elements.push({name:"jqxNumberInput",template:"<div></div>"});a.jqx.elements.push({name:"jqxPanel",template:"<div></div>"});a.jqx.elements.push({name:"jqxPasswordInput",template:"<input type='password'/>"});a.jqx.elements.push({name:"jqxPopover",template:"<div></div>",properties:{title:{type:"string"},arrowOffsetValue:{type:"number"},offset:{type:"json"},selector:{type:"string"},initContent:{type:"object"}}});a.jqx.elements.push({name:"jqxProgressBar",template:"<div></div>"});a.jqx.elements.push({name:"jqxRangeSelector",template:"<div></div>"});a.jqx.elements.push({name:"jqxRating",tagName:"jqx-rating",template:"<div></div>"});a.jqx.elements.push({name:"jqxResponsivePanel",template:"<div></div>"});a.jqx.elements.push({name:"jqxRibbon",template:"<div></div>"});a.jqx.elements.push({name:"jqxScheduler",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxSlider",template:"<div></div>"});a.jqx.elements.push({name:"jqxScrollBar",template:"<div></div>"});a.jqx.elements.push({name:"jqxScrollView",template:"<div></div>"});a.jqx.elements.push({name:"jqxSortable",template:"<div></div>",propertyMap:{appendTo:"addTo"}});a.jqx.elements.push({name:"jqxSplitter",template:"<div></div>",properties:{panels:{type:"array"}}});a.jqx.elements.push({name:"jqxTabs",template:"<div></div>"});a.jqx.elements.push({name:"jqxTagCloud",template:"<div></div>"});a.jqx.elements.push({name:"jqxTextArea",template:"<div></div>"});a.jqx.elements.push({name:"jqxToolBar",template:"<div></div>"});a.jqx.elements.push({name:"jqxTooltip",tagName:"jqx-tool-tip",template:"<div></div>"});a.jqx.elements.push({name:"jqxTree",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxTreeGrid",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxTreeMap",template:"<div></div>",properties:{source:{attributeSync:false}}});a.jqx.elements.push({name:"jqxValidator",template:"<div></div>"});a.jqx.elements.push({name:"jqxWindow",template:"<div></div>"});if(document.registerElement){if(!Object.is){Object.is=function(b,c){if(b===c){return b!==0||1/b===1/c}else{return b!==b&&c!==c}}}a(document).ready(function(){a.each(a.jqx.elements,function(){var c=this.name;var j=this;if(!j.tagName){j.tagName=j.name.split(/(?=[A-Z])/).join("-").toLowerCase()}var g=Object.create(HTMLElement.prototype);g.name=c;g.instances=new Array();var i={};var f=(function(){var m={},n=function(q,p,r){if(m[q]===undefined){m[q]={}}m[q][p]=r},o=function(q,p){if(m[q]===undefined||m[q][p]===undefined){return undefined}else{return m[q][p]}},l=function(p){return m[p]};return{addAttributeConfig:n,getAttributeConfig:o,getAttributeList:l}}());if(!a.jqx["_"+c]){return true}var h=a.jqx["_"+c].prototype.defineInstance();if(c=="jqxDockingLayout"){h=a.extend(h,a.jqx._jqxLayout.prototype.defineInstance())}if(c=="jqxToggleButton"||c=="jqxRepeatButton"||c=="jqxLinkButton"){h=a.extend(h,a.jqx._jqxButton.prototype.defineInstance())}if(c=="jqxTreeGrid"){h=a.extend(h,a.jqx._jqxDataTable.prototype.defineInstance())}g.initElement=function(){var l=this;if(!h){console.log(c+" is undefined");return}a.each(h,function(o,n){var m="_"+o;l[m]=n})};if(!h){console.log(c+" is undefined");return}a.each(h,function(o,r){if(!j.properties){j.properties=[]}if(o.indexOf("_")>=0){return true}var p=j.properties[o];var q=o.split(/(?=[A-Z])/).join("-").toLowerCase();var t=typeof r;var n=(p&&p.attributeSync)||j.attributeSync;if(!p&&j.attributeSync===undefined){n=true}var s="_"+o;if(o==="width"||o==="height"){t="length"}if(p&&p.type){t=p.type}var m={defaultValue:r,type:t,propertyName:o,attributeSync:n};f.addAttributeConfig(j.tagName,q,Object.freeze(m));i[o]=q;var l=function(x){var w=this;this[s]=x;if(this.widget){if(j.propertyMap&&j.propertyMap[o]){o=j.propertyMap[o]}var y={};y[o]=x;this.widget[c](y);var v=i[o];var u=f.getAttributeConfig(j.tagName,v);if(u.attributeSync){w.isUpdatingAttribute=true;w.setAttributeTyped(v,u,x);w.isUpdatingAttribute=false}w.propertyUpdated(o,x)}else{this.initialSettings[o]=x}};if(j.propertyMap&&j.propertyMap[o]){o=j.propertyMap[o]}Object.defineProperty(g,o,{configurable:false,enumerable:true,get:function(){return this[s]},set:function(u){l.call(this,u)}})});g.getAttributeTyped=function(l,m){return this.attributeStringToTypedValue(l,m,this.getAttribute(l))};g.setAttributeTyped=function(l,o,n){var p,m;m=this.getAttributeTyped(l,o);p=this.typedValueToAttributeString(n);if(p===undefined){this.removeAttribute(l)}else{this.setAttribute(l,p)}};g.typedValueToAttributeString=function(m){var l=typeof m;if(l==="boolean"){if(m){return""}else{return undefined}}else{if(l==="number"){if(Object.is(m,-0)){return"-0"}else{return m.toString()}}else{if(l==="string"||l==="length"){return m}else{if(l==="object"){return JSON.stringify(m,function(o,n){if(typeof n==="number"){if(isFinite(n)===false){return n.toString()}else{if(Object.is(n,-0)){return"-0"}}}return n})}}}}};g.attributeStringToTypedValue=function(l,m,n){if(m.type==="boolean"){if(n===""||n===l||n==="true"){return true}else{return false}}else{if(m.type==="number"){if(n===null||n===undefined){return undefined}else{return parseFloat(n)}}else{if(m.type==="string"){if(n===null||n===undefined){return undefined}else{return n}}else{if(m.type==="length"){if(n===null){return null}if(n!==null&&n.indexOf("px")>=0){return parseFloat(n)}if(n!==null&&n.indexOf("%")>=0){return n}if(!isNaN(parseFloat(n))){return parseFloat(n)}return n}else{if(m.type==="json"||m.type==="array"){return JSON.parse(n.replace(/'/g,'"'))}else{if(m.type==="object"){return window.JQXElements.settings[n]||window[n]}}}}}}return undefined};g.createdCallback=function(){var l=this;l.isReady=false;l.initialSettings={};l.initElement()};g.setup=function(){var r=this;if(r.isReady){return}r.isReady=true;var r=this;var z=null;var x=null;var u,l,s;var n=[];var F=true;var y=f.getAttributeList(j.tagName);var E=r.settings||{};var m=r.initialSettings;var G=j.template;for(var o in y){if(y.hasOwnProperty(o)&&r.hasAttribute(o)){var C=y[o];var p=r.getAttributeTyped(o,C);var H;if(p===undefined){H=C.defaultValue}else{H=p}E[C.propertyName]=H}}s=r.attributes;for(var o in s){var B=s[o];if(B&&B.name){if(B.name.indexOf("on-")>=0){var w=B.value;var A="";if(w.indexOf("(")>=0){A=w.substring(0,w.indexOf("("))}n.push({name:B.name.substring(3),handler:A})}else{if(B.name.substring(0,2)==="on"){var w=B.value;var A="";if(w.indexOf("(")>=0){A=w.substring(0,w.indexOf("("))}n.push({name:B.name.substring(2),handler:A})}else{if(B.name.indexOf("(")>=0){var w=B.value;var A="";if(w.indexOf("(")>=0){A=w.substring(0,w.indexOf("("))}var q=B.name.replace("(","").replace(")","");n.push({name:q,handler:A})}}}}}var D=function(M){var J=document.createDocumentFragment();var P=document.createElement("div");J.appendChild(P);var O=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi;var K=/<([\w:]+)/;M=M.replace(O,"<$1></$2>");var I=(K.exec(M)||["",""])[1].toLowerCase();var L=[0,"",""];var N=L[0];P.innerHTML=L[1]+M+L[2];while(N--){P=P.lastChild}M=P.childNodes;P.parentNode.removeChild(P);D=M[0];return D}(G);u=D;var t=function(T){var J=false;if(c==="jqxDragDrop"||c==="jqxPopover"||c==="jqxResponsivePanel"||c==="jqxLoader"||c==="jqxWindow"||c==="jqxSortable"||c==="jqxDraw"||c==="jqxValidator"){J=true;r.style.overflow="visible"}if(c==="jqxExpander"||c==="jqxRibbon"||c==="jqxBulletChart"||c==="jqxComboBox"){r.style.overflow="visible"}if(!J){while(r.childNodes.length){u.appendChild(r.firstChild)}r.appendChild(u)}else{u=r}if(c==="jqxScrollBar"||c==="jqxNotification"){r.style.overflow="visible";r.style.borderLeftWidth="0px";r.style.borderRightWidth="0px";r.style.borderTopWidth="0px";r.style.borderBottomWidth="0px"}a.extend(E,T);var R=c.toLowerCase();if(G.indexOf("button")>=0||G.indexOf("input")==1||G.indexOf("textarea")>=0||R.indexOf("button")>=0||R.indexOf("checkbox")>=0||R.indexOf("radio")>=0){r.style.display="inline-block"}else{r.style.display="block"}var M=function(Z,aa){if(!F||J){return}if(typeof aa==="string"&&aa.indexOf("%")>=0){r.style[Z]=aa}else{if(typeof aa==="string"&&aa.indexOf("px")>=0){r.style[Z]=2+parseFloat(aa)+"px"}else{if(aa==="auto"){r.style[Z]=aa}else{if(aa){r.style[Z]=2+aa+"px"}else{if(r.style[Z]){r.style[Z]=null}}}}}};if(E.width){M("width",E.width)}if(E.height){M("height",E.height)}l=new jqxBaseFramework(r);l.data(r,"jqxWidget",{element:r});z=l.width();x=l.height();var Y=2;if(c==="jqxPivotDesigner"||c==="jqxPivotGrid"||c==="jqxChart"||c==="jqxMenu"||c==="jqxToolBar"){u.style.width=u.style.height="100%"}else{if(!J){if(z&&!E.width&&r.style.width!=="auto"){if(c==="jqxButton"||c==="jqxCheckBox"||c==="jqxToggleButton"||c==="jqxRadioButton"||c==="jqxRepeatButton"||c==="jqxLinkButton"){z+=30}E.width=z-Y}if(x&&!E.height&&r.style.height!=="auto"&&x!==r.firstChild.offsetHeight){E.height=x-Y}}}var I={};var L={};var N=Object.getOwnPropertyNames(a.jqx["_"+c].prototype);if(c=="jqxDockingLayout"){L=a.extend(L,Object.keys(a.jqx._jqxLayout.prototype));I=a.extend(I,a.jqx._jqxLayout.prototype)}if(c=="jqxToggleButton"||c=="jqxRepeatButton"||c=="jqxLinkButton"){L=a.extend(L,Object.keys(a.jqx._jqxButton.prototype));I=a.extend(I,a.jqx._jqxButton.prototype)}if(c=="jqxTreeGrid"){L=a.extend(L,Object.keys(a.jqx._jqxDataTable.prototype));I=a.extend(I,a.jqx._jqxDataTable.prototype)}I=a.extend(I,a.jqx["_"+c].prototype);L=a.extend(L,Object.getOwnPropertyNames(I));for(var Q in L){var W=L[Q];if(W.indexOf("_")>=0){continue}if(W==="base"||W==="baseType"){continue}if(W==="onmousemove"||W==="resize"||W==="scrollWidth"||W==="scrollHeight"||W==="constructor"||W==="createInstance"||W==="defineInstance"){continue}if(typeof I[W]!=="function"){continue}var O=function(ad,aa){var ab=Array.prototype.slice.call(arguments,2);var Z=r;var ac=function(){if(Z._isUpdating){return}if(a.event.triggered){return}if(!Z.widget){Z._isUpdating=true;var af=arguments;var ae=ad.apply(a(u).data().jqxWidget,ab.concat(Array.prototype.slice.call(af)));Z._isUpdating=false;return ae}if(-1===N.indexOf(aa)){var ae=ad.apply(Z.widget.data().jqxWidget.base,ab.concat(Array.prototype.slice.call(arguments)))}else{var ae=ad.apply(Z.widget.data().jqxWidget,ab.concat(Array.prototype.slice.call(arguments)))}Z._isUpdating=false;return ae};return ac};r[W]=O(I[W],W)}var S=r.widget=a(u)[c](E);if(E.ready){r._isUpdating=false;if(!S.data().jqxWidget._loading){if(!S.data().jqxWidget.isInitialized){E.ready()}}else{var K=setInterval(function(){if(!S.data().jqxWidget._loading){if(!S.data().jqxWidget.isInitialized){E.ready()}clearInterval(K)}},100)}}if(c==="jqxMaskedInput"||c==="jqxPasswordInput"||c==="jqxButtonGroup"||c==="jqxButton"||c==="jqxToggleButton"||c==="jqxRepeatButton"){r.firstChild.style.boxSizing="border-box"}r.propertyUpdated=function(Z,aa){if(Z==="width"||Z==="height"){M(Z,aa)}};if(!J){var X=S.data().jqxWidget;!X.base?X.host.addClass("jqx-element-container"):X.base.host.addClass("jqx-element-container");if(E.multiSelect){r.style.height="auto"}l.addClass("jqx-widget jqx-element");l.addClass("jqx-element-no-border");if(c==="jqxRangeSelector"||c=="jqxButtonGroup"){l.css("overflow","visible")}}for(var P=0;P<n.length;P++){var U=n[P];S.on(U.name,function(Z){if(!Z.args){Z.args={}}if(window.JQXElements.settings[U.handler]&&Z.args){window.JQXElements.settings[U.handler].apply(r,[Z])}else{if(window[U.handler]&&Z.args){window[U.handler].apply(r,[Z])}}})}var V=function(){if(J){return}F=false;z=l.width();x=l.height();var ac=0;if(c==="jqxChart"||c==="jqxPivotGrid"||c==="jqxPivotDesigner"||c==="jqxDraw"){S[0].style.width="100%";S[0].style.height="100%"}else{var ae=parseInt(S.css("padding-left"));var ab=parseInt(S.css("padding-right"));var ad=parseInt(S.css("padding-top"));var aa=parseInt(S.css("padding-bottom"));var Z=r.firstChild?window.getComputedStyle(r.firstChild):null;var af=true;if(!Z){return}ac=0;if(Z&&Z.boxSizing!=="border-box"){ac=2}if(r.autoheight||r.height===null||r.height==="auto"||r.multiSelect){af=false}if(c==="jqxBarGauge"){ac=0}S[c]({width:z-ac});if(af){S[c]({height:x-ac})}}F=true};if(!J){addResizeHandler(r,function(){V()})}};if(r.hasAttribute("settings")){var v=r.getAttribute("settings");m=window.JQXElements.settings[v]||window[v];if(m){a.each(m,function(J,I){r["_"+J]=I})}}if(r.hasAttribute("delayed-create")){r.isCreated=false;r.createElement=function(){if(r.isCreated){return}if(r.hasAttribute("settings")){t(m)}else{t(r.settings)}r.isCreated=true}}else{t(m)}};var b=g.addEventListener;var e=g.addEventListener;g.addEventListener=function(l,m){var n=this;if(n.widget&&n.widget.on){if(c==="jqxDragDrop"||c==="jqxPopover"||c==="jqxResponsivePanel"||c==="jqxLoader"||c==="jqxWindow"||c==="jqxSortable"||c==="jqxDraw"||c==="jqxValidator"){JQXLite(n.parentNode).on(l,m)}else{n.widget.on(l,m)}}else{b.apply(this,[l,m])}};g.removeEventListener=function(l,m){var n=this;if(n.widget&&n.widget.off){if(c==="jqxDragDrop"||c==="jqxPopover"||c==="jqxResponsivePanel"||c==="jqxLoader"||c==="jqxWindow"||c==="jqxSortable"||c==="jqxDraw"||c==="jqxValidator"){JQXLite(n.parentNode).off(l,m)}else{n.widget.off(l,m)}}else{e.apply(this,[l,m])}};g.attachedCallback=function(){var l=this;l.setup()};g.attributeChangedCallback=function(q,n,o){var r=this;var p=f.getAttributeConfig(j.tagName,q);if(!r.isUpdatingAttribute&&p){var l=r.getAttributeTyped(q,p);var m;if(l===undefined){if(currAttrConfig){m=currAttrConfig.defaultValue}else{return}}else{m=l}r[currAttrConfig.propertyName]=m}};var k=function(){var m=document.querySelectorAll(j.tagName);for(var l=0;l<m.length;l++){if(m[l].hasAttribute("tagHelper")){return true}}return false};if(k()){return}var d=document.registerElement(j.tagName,{prototype:g});return d})})}})(jqxBaseFramework);
+
+(function(i){i.jqx.observableArray=function(e,J){if(typeof(e)=="string"){e=i.parseJSON(e)}if(!Object.defineProperty||!(function(){try{Object.defineProperty({},"x",{});return true}catch(M){return false}}())){var L=Object.defineProperty;Object.defineProperty=function(O,P,N){if(L){try{return L(O,P,N)}catch(M){}}if(O!==Object(O)){throw TypeError("Object.defineProperty called on non-object")}if(Object.prototype.__defineGetter__&&("get" in N)){Object.prototype.__defineGetter__.call(O,P,N.get)}if(Object.prototype.__defineSetter__&&("set" in N)){Object.prototype.__defineSetter__.call(O,P,N.set)}if("value" in N){O[P]=N.value}else{if(!O[P]){O[P]=N}}return O}}if(!Array.prototype.forEach){Array.prototype.forEach=function(N){if(this===void 0||this===null){throw TypeError()}var Q=Object(this);var M=Q.length>>>0;if(typeof N!=="function"){throw TypeError()}var P=arguments[1],O;for(O=0;O<M;O++){if(O in Q){N.call(P,Q[O],O,Q)}}}}if(typeof Object.getOwnPropertyNames!=="function"){Object.getOwnPropertyNames=function(O){if(O!==Object(O)){throw TypeError("Object.getOwnPropertyNames called on non-object")}var M=[],N;for(N in O){if(Object.prototype.hasOwnProperty.call(O,N)){M.push(N)}}return M}}var I=this,H,K=[];I.notifier=null;I.name="observableArray";I.observing=true;I.changes=new Array();var J=J;I.observe=function(){I.observing=true;if(arguments.length==1){J=arguments[0]}};I.unobserve=function(){I.observing=false};I.toArray=function(){return K.slice(0)};I.toJSON=function(X,O){var U=K;if(O){U=O}var T=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,W={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function M(Z){return'"'+Z.replace(T,function(aa){var ab=W[aa];return typeof ab==="string"?ab:"\\u"+("0000"+aa.charCodeAt(0).toString(16)).slice(-4)})+'"'}function N(Z){return Z<10?"0"+Z:Z}function P(aa){var Z;if(isFinite(aa.valueOf())){Z=aa.getUTCFullYear()+"-"+N(aa.getUTCMonth()+1)+"-"+N(aa.getUTCDate())+"T"+N(aa.getUTCHours())+":"+N(aa.getUTCMinutes())+":"+N(aa.getUTCSeconds())+'Z"'}else{Z="null"}return Z}function Q(ac){var Z=ac.length,aa=[],ab;for(ab=0;ab<Z;ab++){aa.push(R(ab,ac)||"null")}return"["+aa.join(",")+"]"}function Y(ac){var aa=[],ab,Z;for(ab in ac){if(Object.prototype.hasOwnProperty.call(ac,ab)){if(ab!=""&&X&&X.indexOf(ab)===-1){continue}Z=R(ab,ac);if(Z){aa.push(M(ab)+":"+Z)}}}return"{"+aa.join(",")+"}"}function S(Z){switch(Object.prototype.toString.call(Z)){case"[object Date]":return P(Z);case"[object Array]":return Q(Z)}return Y(Z)}function V(aa,Z){switch(Z){case"string":return M(aa);case"number":case"float":case"integer":case"int":return isFinite(aa)?aa:"null";case"boolean":return aa}return"null"}function R(aa,Z){var ac=Z[aa],ab=typeof ac;if(ac&&typeof ac==="object"&&typeof ac.toJSON==="function"){ac=ac.toJSON(aa);ab=typeof ac}if(/(number|float|int|integer|string|boolean)/.test(ab)||(!ac&&ab==="object")){return V(ac,ab)}else{return S(ac)}}if(!X&&window.JSON&&typeof window.JSON.stringify==="function"){return window.JSON.stringify(U)}return R("",{"":U})};I.defineIndexProperty=function(O){if(!(O in I)){var M=function(V,S,U,R){var T=V[S];var Q=T;var P=function(){return Q};var W=function(ab){T=ab;if(Q!==T){var aa=Q;Q=T;if(typeof H==="function"){var Y=K.indexOf(R);var Z="";var X=function(ad,ac){Object.getOwnPropertyNames(ad).forEach(function(ae){var af=i.type(ad[ae]);if(af=="array"||af=="object"){X(ad[ae],ac+"."+ae)}else{if(S===ae){Z=ac+"."+ae}}})};X(R,Y);H({object:I,type:"update",path:Z,index:Y,name:S,newValue:T,oldValue:aa})}}Q=T;return T};if(V[S]!=undefined&&S!="length"){if(Object.defineProperty){Object.defineProperty(V,S,{get:P,set:W})}else{if(Object.prototype.__defineGetter__&&Object.prototype.__defineSetter__){Object.prototype.__defineGetter__.call(V,S,P);Object.prototype.__defineSetter__.call(V,S,W)}}}};var N=function(S,R,P){var Q=i.type(S);if(/(number|float|int|integer|string|boolean)/.test(Q)){return}if(S===undefined){return}Object.getOwnPropertyNames(S).forEach(function(T){var U=i.type(S[T]);if(U=="array"||U=="object"){M(S,T,R+"."+T,P);N(S[T],R+"."+T,P)}else{M(S,T,R+"."+T,P)}})};Object.defineProperty(I,O,{configurable:true,enumerable:true,get:function(){return K[O]},set:function(Q){var P=K[O];if(I.toJSON(null,P)!=I.toJSON(null,Q)){K[O]=Q;if(typeof H==="function"){H({object:I,type:"update",path:O.toString(),index:O,name:"index",newValue:Q,oldValue:P})}N(Q,O,Q)}}});N(I[O],O,I[O])}};I.push=function(){var M;for(var N=0,O=arguments.length;N<O;N++){M=K.length;K.push(arguments[N]);I.defineIndexProperty(M);if(typeof H==="function"){H({object:I,type:"add",name:"length",index:M,newValue:K.length,oldValue:M})}}return K.length};I.pop=function(){if(~K.length){var M=K.length-1,N=K.pop();delete I[M];if(typeof H==="function"){H({object:I,type:"delete",name:"length",index:M,newValue:K.length,oldValue:M})}return N}};I.unshift=function(){var M=K.length;for(var N=0,O=arguments.length;N<O;N++){K.splice(N,0,arguments[N]);I.defineIndexProperty(K.length-1)}if(typeof H==="function"){H({object:I,type:"add",index:0,name:"length",newValue:K.length,oldValue:M})}return K.length};I.shift=function(){var M=K.length;if(~K.length){var N=K.shift();K.length===0&&delete I[M];if(typeof H==="function"){H({object:I,type:"delete",index:M,name:"length",newValue:K.length,oldValue:M})}return N}};I.slice=function(Q,N,P){var M=K.slice(Q,N);var O=new i.jqx.observableArray(M,P);return O};I.splice=function(Q,R,M){var P=[],U,T;Q=!~Q?K.length-Q:Q;R=(R==null?K.length-Q:R)||0;while(R--){U=K.splice(Q,1)[0];P.push(U);delete I[K.length];if(typeof H==="function"){H({object:I,type:"delete",index:Q,name:"length",newValue:-1,oldValue:Q})}}for(var N=2,S=arguments.length;N<S;N++){K.splice(Q,0,arguments[N]);defineIndexProperty(K.length-1);if(typeof H==="function"){H({object:I,type:"add",index:Q,name:"length",newValue:K.length-1,oldValue:Q})}Q++}var O=new i.jqx.observableArray(P,M);return O};Object.defineProperty(I,"length",{configurable:false,enumerable:true,get:function(){return K.length},set:function(M){var N=Number(M);if(N%1===0&&N>=0){if(N<K.length){I.splice(N)}else{if(N>K.length){I.push.apply(I,new Array(N-K.length))}}}else{throw new RangeError("Invalid array length")}return M}});i.jqx.observableArray.prototype.fromArray=function(O,N){var M=new i.jqx.observableArray(O,N);return M};i.jqx.observableArray.prototype.clone=function(){var M=new i.jqx.observableArray(K,J);M.observing=I.observing;M.changes=I.changes;M.notifier=I.notifier;return M};I.remove=function(N){if(N<0||N>=I.length){throw new Error("Invalid index : "+N)}if(I.hasOwnProperty(N)){var M=I[N];I[N]=undefined;K[N]=undefined;if(typeof H==="function"){H({object:I,type:"delete",index:N,name:"index",newValue:undefined,oldValue:M})}return true}return false};I.concat=function(N,P){var M=K.concat(N);var O=new i.jqx.observableArray(M,P);return O};Object.getOwnPropertyNames(Array.prototype).forEach(function(M){if(!(M in I)){var N=function(){var Q=I.observing;I.observing=false;var P=K[M];var O=P.apply(K,arguments);I.observing=Q;return O};Object.defineProperty(I,M,{configurable:false,enumerable:true,writeable:false,value:N})}});I.set=function(N,P){if(i.type(N)=="string"&&N.split(".").length>1){var M=N.split(".");var Q=I;for(var O=0;O<M.length;O++){if(O===0){if(M[O]>=I.length){throw new Error("Invalid Index: "+N)}}if(O<M.length-1){Q=Q[M[O]]}else{Q[M[O]]=P}}return true}if(N>=I.length){I.push(P)}else{I[N]=P}return true};I.get=function(M){return I[M]};if(e instanceof Array){I.push.apply(I,e)}H=function(){if(!I.observing){return}if(arguments&&arguments[0]){I.changes.push(arguments[0])}if(J){J.apply(I,arguments)}if(I.notifier){I.notifier.apply(I,arguments)}};return I};i.jqx.formatDate=function(H,J,I){var e=i.jqx.dataFormat.formatdate(H,J,I);return e};i.jqx.formatNumber=function(H,J,I){var e=i.jqx.dataFormat.formatnumber(H,J,I);return e};i.jqx.dataAdapter=function(J,e){if(J!=undefined){if(J.dataFields!==undefined){J.datafields=J.dataFields}if(J.dataType!==undefined){J.datatype=J.dataType}if(J.localData!==undefined){J.localdata=J.localData}if(J.sortColumn!==undefined){J.sortcolumn=J.sortColumn}if(J.sortDirection!==undefined){J.sortdirection=J.sortDirection}if(J.sortOrder!==undefined){J.sortdirection=J.sortOrder}if(J.formatData!==undefined){J.formatdata=J.formatData}if(J.processData!==undefined){J.processdata=J.processData}if(J.pageSize!==undefined){J.pagesize=J.pageSize}if(J.pageNum!==undefined){J.pagenum=J.pageNum}if(J.updateRow!==undefined){J.updaterow=J.updateRow}if(J.addRow!==undefined){J.addrow=J.addRow}if(J.deleteRow!==undefined){J.deleterow=J.deleteRow}if(J.contentType!==undefined){J.contenttype=J.contentType}if(J.totalRecords!=undefined){J.totalrecords=J.totalRecords}if(J.loadError!=undefined){J.loadError=J.loadError}if(J.sortComparer!=undefined){J.sortcomparer=J.sortComparer}}this._source=J;this._options=e||{};if(J.beforeLoadComplete!=undefined){this._options.beforeLoadComplete=this._source.beforeLoadComplete}if(J.downloadComplete!=undefined){this._options.downloadComplete=this._source.downloadComplete}if(J.loadComplete!=undefined){this._options.loadComplete=this._source.loadComplete}if(J.autoBind!=undefined){this._options.downloadComplete=this._source.autoBind}if(J.formatData!=undefined){this._options.formatData=this._source.formatData}if(J.loadError!=undefined){this._options.loadError=this._source.loadError}if(J.beforeSend!=undefined){this._options.beforeSend=this._source.beforeSend}if(J.contentType!=undefined){this._options.contentType=this._source.contentType}if(J.async!=undefined){this._options.async=this._source.async}if(J.loadServerData!=undefined){this._options.loadServerData=this._source.loadServerData}if(J.uniqueDataFields!=undefined){this._options.uniqueDataFields=this._source.uniqueDataFields}this.records=new Array();this._downloadComplete=new Array();this._bindingUpdate=new Array();if(J!=undefined&&J.localdata!=null&&typeof J.localdata=="function"){var I=J.localdata();if(I!=null){J._localdata=J.localdata;var H=this;if(J._localdata.subscribe){H._oldlocaldata=[];J._localdata.subscribe(function(K){var L=function(M){if(i.isArray(M)){return i.makeArray(L(i(M)))}return i.extend(true,{},M)};if(H.suspendKO==false||H.suspendKO==undefined||H._oldlocaldata.length==0){H._oldlocaldata=L(K)}},J._localdata,"beforeChange");J._localdata.subscribe(function(L){if(H.suspendKO==false||H.suspendKO==undefined){var K="";H._oldrecords=H.records;if(H._oldlocaldata.length==0){J.localdata=J._localdata()}if(H._oldlocaldata.length==0){K="change"}else{if(L){if(H._oldlocaldata.length==L.length){K="update"}if(H._oldlocaldata.length>L.length){K="remove"}if(H._oldlocaldata.length<L.length){K="add"}}}H.dataBind(null,K)}},J._localdata,"change");H._knockoutdatasource=true}J.localdata=I}}if(this._options.autoBind==true){this.dataBind()}};i.jqx.dataAdapter.prototype={getrecords:function(){return this.records},beginUpdate:function(){this.isUpdating=true},endUpdate:function(e){this.isUpdating=false;if(e!=false){if(this._changedrecords&&this._changedrecords.length>0){this.callBindingUpdate("update");this._changedrecords=[]}else{this.dataBind(null,"")}}},formatDate:function(H,J,I){var e=i.jqx.dataFormat.formatdate(H,J,I);return e},formatNumber:function(H,J,I){var e=i.jqx.dataFormat.formatnumber(H,J,I);return e},dataBind:function(R,aa){if(this.isUpdating==true){return}var W=this._source;if(!W){return}if(W.generatedfields){W.datafields=null;W.generatedfields=null}i.jqx.dataFormat.datescache=new Array();if(W.dataFields!=null){W.datafields=W.dataFields}if(W.recordstartindex==undefined){W.recordstartindex=0}if(W.recordendindex==undefined){W.recordendindex=0}if(W.loadallrecords==undefined){W.loadallrecords=true}if(W.root==undefined){W.root=""}if(W.record==undefined){W.record=""}if(W.sort!=undefined){this.sort=W.sort}if(W.filter!=undefined){this.filter=W.filter}else{this.filter=null}if(W.sortcolumn!=undefined){this.sortcolumn=W.sortcolumn}if(W.sortdirection!=undefined){this.sortdirection=W.sortdirection}if(W.sortcomparer!=undefined){this.sortcomparer=W.sortcomparer}this.records=new Array();var K=this._options||{};this.virtualmode=K.virtualmode!=undefined?K.virtualmode:false;this.totalrecords=K.totalrecords!=undefined?K.totalrecords:0;this.pageable=K.pageable!=undefined?K.pageable:false;this.pagesize=K.pagesize!=undefined?K.pagesize:0;this.pagenum=K.pagenum!=undefined?K.pagenum:0;this.cachedrecords=K.cachedrecords!=undefined?K.cachedrecords:new Array();this.originaldata=new Array();this.recordids=new Array();this.updaterow=K.updaterow!=undefined?K.updaterow:null;this.addrow=K.addrow!=undefined?K.addrow:null;this.deleterow=K.deleterow!=undefined?K.deleterow:null;this.cache=K.cache!=undefined?K.cache:false;this.unboundmode=false;if(W.formatdata!=undefined){K.formatData=W.formatdata}if(W.data!=undefined){if(K.data==undefined){K.data={}}i.extend(K.data,W.data)}if(W.mapChar!=undefined){W.mapchar=W.mapChar}if(W.mapchar!=undefined){this.mapChar=W.mapchar?W.mapchar:">"}else{this.mapChar=K.mapChar?K.mapChar:">"}if(K.unboundmode||W.unboundmode){this.unboundmode=K.unboundmode||W.unboundmode}if(W.cache!=undefined){this.cache=W.cache}if(this.koSubscriptions){for(var ac=0;ac<this.koSubscriptions.length;ac++){this.koSubscriptions[ac].dispose()}}this.koSubscriptions=new Array();if(this.pagenum<0){this.pagenum=0}var ah=this;var Q=W.datatype;if(W.datatype==="csv"||W.datatype==="tab"||W.datatype==="tsv"||W.datatype=="text"){Q="text"}var N=K.async!=undefined?K.async:true;if(W.async!=undefined){N=W.async}switch(Q){case"local":case"array":case"observablearray":case"observableArray":default:if(W.localdata==undefined&&W.length){W.localdata=new Array();for(var Z=0;Z<W.length;Z++){W.localdata[W.localdata.length]=W[Z];W[Z].uid=Z}}if(W.beforeprocessing&&i.isFunction(W.beforeprocessing)){W.beforeprocessing(W.localdata)}var M=W.localdata.length;this.totalrecords=this.virtualmode?(W.totalrecords||M):M;if(this.unboundmode){this.totalrecords=this.unboundmode?(W.totalrecords||M):M;var ad=W.datafields?W.datafields.length:0;if(ad>0){for(var Z=0;Z<this.totalrecords;Z++){var I={};for(var Y=0;Y<ad;Y++){I[W.datafields[Y].name]=""}I.uid=Z;W.localdata[W.localdata.length]=I}}}if(this.totalrecords==undefined){this.totalrecords=0}var ad=W.datafields?W.datafields.length:0;var H=function(ao,aq){var ap={};for(var am=0;am<aq;am++){var al=W.datafields?W.datafields[am]:{};var ar="";if(undefined==al||al==null){continue}if(al.map){if(i.isFunction(al.map)){ar=al.map(ao)}else{var aj=al.map.split(ah.mapChar);if(aj.length>0){var an=ao;for(var ak=0;ak<aj.length;ak++){if(!an){continue}an=an[aj[ak]]}ar=an}else{ar=ao[al.map]}}if(ar!=undefined&&ar!=null){ar=ar.toString()}else{if(ar==undefined&&ar!=null){ar=""}}}var at=false;if(ar==""){at=true;ar=ao[al.name];if(ar!=undefined&&ar!=null){if(W._localdata&&ar.subscribe){ar=ar()}else{if(al.type!="array"){if(al.type==="date"){if(ar&&ar instanceof Date){ar=ar}}else{ar=ar.toString()}}}}}if(ar=="[object Object]"&&al.map&&at){ar=""}ar=ah.getvaluebytype(ar,al);if(al.displayname!=undefined){ap[al.displayname]=ar}else{ap[al.name]=ar}}return ap};if(W._localdata){this._changedrecords=[];this.records=new Array();var ag=W._localdata();i.each(ag,function(am,ap){if(typeof ap==="string"){ah.records.push(ap)}else{var ak={};var ao=0;var an=this;i.each(this,function(ay,aD){var at=null;var aE="string";var aC=ay;if(ad>0){var aG=false;var aB=false;for(var ax=0;ax<ad;ax++){var aw=W.datafields[ax];if(aw!=undefined&&(aw.name==ay)){aG=true;at=aw.map;aE=aw.type;aC=aw.name;break}else{if(aw!=undefined&&aw.map&&(aw.map.indexOf(ay)>=0)){aG=true;at=aw.map;aE=aw.type;aC=aw.name;aB=true;var aF=an[ay];if(at!=null){var ar=at.split(ah.mapChar);if(ar.length>0){var az=an;for(var au=0;au<ar.length;au++){az=az[ar[au]]}aF=az}else{aF=an[at]}}if(aE!="string"){aF=ah.getvaluebytype(aF,{type:aE})}ak[aC]=aF;if(ak[aC]!=undefined){ao+=ak[aC].toString().length+ak[aC].toString().substr(0,1)}}}}if(!aG){return true}if(aB){return true}}var av=i.isFunction(an[ay]);if(av){var aF=an[ay]();if(aE!="string"){aF=ah.getvaluebytype(aF,{type:aE})}ak[ay]=aF;if(an[ay].subscribe){var aA=am;ah.koSubscriptions[ah.koSubscriptions.length]=an[ay].subscribe(function(aI){var aH=aA;ak[ay]=aI;var aJ={index:aH,oldrecord:ak,record:ak};ah._changedrecords.push(aJ);if(ah.isUpdating){return}ah.callBindingUpdate("update");ah._changedrecords=[];return false})}}else{var aF=an[ay];if(at!=null){var ar=at.split(ah.mapChar);if(ar.length>0){var az=an;for(var au=0;au<ar.length;au++){az=az[ar[au]]}aF=az}else{aF=an[at]}}if(aE!="string"){aF=ah.getvaluebytype(aF,{type:aE})}ak[aC]=aF;if(ak[aC]!=undefined){ao+=ak[aC].toString().length+ak[aC].toString().substr(0,1)}}});var al=ah.getid(W.id,an,am);ak.uid=al;ah.records.push(ak);ak._koindex=ao;if(ah._oldrecords){var aj=ah.records.length-1;if(aa=="update"){if(ah._oldrecords[aj]._koindex!=ao){var aq={index:aj,oldrecord:ah._oldrecords[aj],record:ak};ah._changedrecords.push(aq)}}}}});if(aa=="add"){var M=ah.records.length;for(var Z=0;Z<M;Z++){var I=ah.records[Z];var L=false;for(var U=0;U<ah._oldrecords.length;U++){if(ah._oldrecords[U]._koindex===I._koindex){L=true;break}}if(!L){ah._changedrecords.push({index:Z,oldrecord:null,record:I,position:(Z!=0?"last":"first")})}}}else{if(aa=="remove"){var M=ah._oldrecords.length;for(var Z=0;Z<M;Z++){var P=ah._oldrecords[Z];if(!ah.records[Z]){ah._changedrecords.push({index:Z,oldrecord:P,record:null})}else{if(ah.records[Z]._koindex!=P._koindex){ah._changedrecords.push({index:Z,oldrecord:P,record:null})}}}}}}else{if(!i.isArray(W.localdata)){this.records=new Array();var V=0;var T=new Array();i.each(W.localdata,function(al){var ak=ah.getid(W.id,this,al);if(ad==0){if(!(typeof this==="string"||this instanceof String)){for(var an in this){V++;var ao=i.type(this[an]);T.push({name:an,type:ao})}ad=V;W.datafields=T;W.generatedfields=T}}if(ad>0){var aj=this;var am=H(aj,ad);am.uid=ak;ah.records[ah.records.length]=am}else{this.uid=ak;ah.records[ah.records.length]=this}})}else{if(ad==0){var V=0;var T=new Array();i.each(W.localdata,function(al,an){var aj=new Object(this);if(typeof an==="string"){ah.records=W.localdata;return false}else{var ak=ah.getid(W.id,aj,al);if(typeof(ak)==="object"){ak=al}aj.uid=ak;if(al==0){for(var ao in this){V++;var ap=i.type(this[ao]);T.push({name:ao,type:ap})}ad=V;W.datafields=T;W.generatedfields=T}if(ad>0){var am=H(aj,ad);am.uid=ak;ah.records[ah.records.length]=am}else{ah.records[ah.records.length]=aj}}})}else{i.each(W.localdata,function(al){var aj=this;var am=H(aj,ad);var ak=ah.getid(W.id,am,al);if(typeof(ak)==="object"){ak=al}var aj=new Object(am);aj.uid=ak;ah.records[ah.records.length]=aj})}}}this.originaldata=W.localdata;this.cachedrecords=this.records;this.addForeignValues(W);if(K.uniqueDataFields){var S=this.getUniqueRecords(this.records,K.uniqueDataFields);this.records=S;this.cachedrecords=S}if(K.beforeLoadComplete){var ae=K.beforeLoadComplete(ah.records,this.originaldata);if(ae!=undefined){ah.records=ae;ah.cachedrecords=ae}}if(K.autoSort&&K.autoSortField){var O=Object.prototype.toString;Object.prototype.toString=(typeof field=="function")?field:function(){return this[K.autoSortField]};ah.records.sort(function(ak,aj){if(ak===undefined){ak=null}if(aj===undefined){aj=null}if(ak===null&&aj===null){return 0}if(ak===null&&aj!==null){return 1}if(ak!==null&&aj===null){return -1}ak=ak.toString();aj=aj.toString();if(ak===null&&aj===null){return 0}if(ak===null&&aj!==null){return 1}if(ak!==null&&aj===null){return -1}if(i.jqx.dataFormat.isNumber(ak)&&i.jqx.dataFormat.isNumber(aj)){if(ak<aj){return -1}if(ak>aj){return 1}return 0}else{if(i.jqx.dataFormat.isDate(ak)&&i.jqx.dataFormat.isDate(aj)){if(ak<aj){return -1}if(ak>aj){return 1}return 0}else{if(!i.jqx.dataFormat.isNumber(ak)&&!i.jqx.dataFormat.isNumber(aj)){ak=String(ak).toLowerCase();aj=String(aj).toLowerCase()}}}try{if(ak<aj){return -1}if(ak>aj){return 1}}catch(al){var am=al}return 0});Object.prototype.toString=O}ah.loadedData=W.localdata;ah.buildHierarchy();if(i.isFunction(K.loadComplete)){K.loadComplete(W.localdata,ah.records)}break;case"json":case"jsonp":case"xml":case"xhtml":case"script":case"text":case"ics":if(W.localdata!=null&&!W.url){if(i.isFunction(W.beforeprocessing)){W.beforeprocessing(W.localdata)}if(W.datatype==="xml"){ah.loadxml(W.localdata,W.localdata,W)}else{if(Q==="text"){ah.loadtext(W.localdata,W)}else{if(Q==="ics"){ah.loadics(W.localdata,W)}else{ah.loadjson(W.localdata,W.localdata,W)}}}ah.addForeignValues(W);if(K.uniqueDataFields){var S=ah.getUniqueRecords(ah.records,K.uniqueDataFields);ah.records=S;ah.cachedrecords=S}if(K.beforeLoadComplete){var ae=K.beforeLoadComplete(ah.records,this.originaldata);if(ae!=undefined){ah.records=ae;ah.cachedrecords=ae}}ah.loadedData=W.localdata;ah.buildHierarchy.call(ah);if(i.isFunction(K.loadComplete)){K.loadComplete(W.localdata,ah.records)}ah.callBindingUpdate(aa);return}var af=K.data!=undefined?K.data:{};if(W.processdata){W.processdata(af)}if(i.isFunction(K.processData)){K.processData(af)}if(i.isFunction(K.formatData)){var e=K.formatData(af);if(e!=undefined){af=e}}var ab="application/x-www-form-urlencoded";if(K.contentType){ab=K.contentType}var J="GET";if(W.type){J=W.type}if(K.type){J=K.type}var X=Q;if(Q=="ics"){X="text"}if(W.url&&W.url.length>0){if(i.isFunction(K.loadServerData)){ah._requestData(af,W,K)}else{this.xhr=i.jqx.data.ajax({dataType:X,cache:this.cache,type:J,url:W.url,async:N,timeout:W.timeout,contentType:ab,data:af,success:function(am,aj,ap){if(i.isFunction(W.beforeprocessing)){var ao=W.beforeprocessing(am,aj,ap);if(ao!=undefined){am=ao}}if(i.isFunction(K.downloadComplete)){var ao=K.downloadComplete(am,aj,ap);if(ao!=undefined){am=ao}}if(am==null){ah.records=new Array();ah.cachedrecords=new Array();ah.originaldata=new Array();ah.callDownloadComplete();if(i.isFunction(K.loadComplete)){K.loadComplete(new Array())}return}var ak=am;if(am.records){ak=am.records}if(am.totalrecords!=undefined){W.totalrecords=am.totalrecords}else{if(am.totalRecords!=undefined){W.totalrecords=am.totalRecords}}if(W.datatype==="xml"){ah.loadxml(null,ak,W)}else{if(Q==="text"){ah.loadtext(ak,W)}else{if(Q==="ics"){ah.loadics(ak,W)}else{ah.loadjson(null,ak,W)}}}ah.addForeignValues(W);if(K.uniqueDataFields){var al=ah.getUniqueRecords(ah.records,K.uniqueDataFields);ah.records=al;ah.cachedrecords=al}if(K.beforeLoadComplete){var an=K.beforeLoadComplete(ah.records,am);if(an!=undefined){ah.records=an;ah.cachedrecords=an}}ah.loadedData=am;ah.buildHierarchy.call(ah);ah.callDownloadComplete();if(i.isFunction(K.loadComplete)){K.loadComplete(am,aj,ap,ah.records)}},error:function(al,aj,ak){if(i.isFunction(W.loaderror)){W.loaderror(al,aj,ak)}if(i.isFunction(K.loadError)){K.loadError(al,aj,ak)}al=null;ah.callDownloadComplete()},beforeSend:function(ak,aj){if(i.isFunction(K.beforeSend)){K.beforeSend(ak,aj)}if(i.isFunction(W.beforesend)){W.beforesend(ak,aj)}}})}}else{ah.buildHierarchy(new Array());ah.callDownloadComplete();if(i.isFunction(K.loadComplete)){if(!ai){var ai={}}K.loadComplete(ai)}}break}this.callBindingUpdate(aa)},buildHierarchy:function(K){var e=this._source;var P=new Array();if(!e.datafields){return}if(e.hierarchy&&!e.hierarchy.reservedNames){e.hierarchy.reservedNames={leaf:"leaf",parent:"parent",expanded:"expanded",checked:"checked",selected:"selected",level:"level",icon:"icon",data:"data"}}else{if(e.hierarchy){var O=e.hierarchy.reservedNames;if(!O.leaf){O.leaf="leaf"}if(!O.parent){O.parent="parent"}if(!O.expanded){O.expanded="expanded"}if(!O.checked){O.checked="checked"}if(!O.selected){O.selected="selected"}if(!O.level){O.level="level"}if(!O.data){O.data="data"}}}if(!e.hierarchy){return}var N=this;var O=e.hierarchy.reservedNames;if(e.hierarchy.root){if(e.dataType=="xml"){var P=this.getRecordsHierarchy("uid","parentuid","records",null,K);this.hierarchy=P;return P}else{this.hierarchy=this.records;var R=e.hierarchy.root;for(var L=0;L<this.records.length;L++){var M=this.records[L];if(!M){continue}var H=function(S){if(e.hierarchy.record){S.records=S[R][e.hierarchy.record]}else{var U=R.split(N.mapChar);var T=null;if(U.length>1){var W=S;for(var V=0;V<U.length;V++){if(W!=undefined){W=W[U[V]]}}T=W}else{T=S[R]}S.records=T}if(S.records==null||(S.records&&S.records.length==0)){S[O.leaf]=true}};H(M);M[O.level]=0;var I=this.getid(e.id,M,L);M.uid=I;M[O.parent]=null;M[O.data]=M;if(M[O.expanded]===undefined){M[O.expanded]=false}var Q=function(W,U){if(!U){W.records=new Array();return}for(var V=0;V<U.length;V++){var S=U[V];if(!S){continue}H(S);S[O.level]=W[O.level]+1;S[O.parent]=W;S[O.data]=S;var T=N.getid(e.id,S,V);if(T==V&&e.id==null){S.uid=W.uid+"_"+T}else{S.uid=T}if(S[O.expanded]===undefined){S[O.expanded]=false}Q(S,S.records)}};Q(M,M.records)}}return this.hierarchy}if(e.hierarchy.keyDataField&&e.hierarchy.parentDataField){var P=this.getRecordsHierarchy(e.hierarchy.keyDataField.name,e.hierarchy.parentDataField.name,"records",null,K);this.hierarchy=P;return P}if(e.hierarchy.groupingDataFields){var J=new Array();for(var L=0;L<e.hierarchy.groupingDataFields.length;L++){J.push(e.hierarchy.groupingDataFields[L].name)}var P=this.getGroupedRecords(J,"records","label",null,"data",null,"parent",K);this.hierarchy=P;return P}},addRecord:function(H,e,M,I){var J=this;var N=function(){return{leaf:"leaf",parent:"parent",expanded:"expanded",checked:"checked",selected:"selected",level:"level",icon:"icon",data:"data"}};if(H!=undefined){if(M!=undefined){if(this.hierarchy.length>0){var K=function(O){if(O){for(var P=0;P<O.length;P++){var Q=O[P];if(Q.uid==M){var R=(J._source&&J._source.hierarchy)?J._source.hierarchy.reservedNames:null;if(R==null){R=N()}H[R.parent]=Q;H[R.level]=Q[R.level]+1;if(!Q.records){Q.records=new Array();Q[R.leaf]=false}else{Q[R.leaf]=false}if(e=="last"){Q.records.push(H)}else{if(typeof e==="number"&&isFinite(e)){Q.records.splice(e,0,H)}else{Q.records.splice(0,0,H)}}return true}if(Q.records){K(Q.records)}}}};K(this.hierarchy)}}else{if(this.hierarchy&&this.hierarchy.length>=0&&(this._source.hierarchy||I)){var L=(J._source&&J._source.hierarchy)?J._source.hierarchy.reservedNames:null;if(L==null){L=N()}H[L.level]=0;if(e=="last"){this.hierarchy.push(H)}else{if(typeof e==="number"&&isFinite(e)){this.hierarchy.splice(e,0,H)}else{this.hierarchy.splice(0,0,H)}}}else{if(e=="last"){this.records.push(H)}else{if(typeof e==="number"&&isFinite(e)){this.records.splice(e,0,H)}else{this.records.splice(0,0,H)}}}return true}}return false},deleteRecord:function(H){var J=this;if(this.hierarchy.length>0){var K=function(L){if(L){for(var O=0;O<L.length;O++){var P=L[O];if(P.uid==H){L.splice(O,1);if(J.recordids[H]){delete J.recordids[H]}var N=function(T){for(var Q=0;Q<T.length;Q++){var S=T[Q].uid;for(var R=0;R<J.records.length;R++){var U=J.records[R];if(U.uid==S){J.records.splice(R,1);break}}if(T[Q].records){N(T[Q].records)}}};if(P.records){N(P.records)}for(var M=0;M<J.records.length;M++){var P=J.records[M];if(P.uid==H){J.records.splice(M,1);break}}return true}if(P.records){K(P.records)}}}};K(this.hierarchy)}else{for(var e=0;e<this.records.length;e++){var I=this.records[e];if(I.uid==H){this.records.splice(e,1);return true}}}return false},addForeignValues:function(H){var Q=this;var V=H.datafields?H.datafields.length:0;for(var N=0;N<V;N++){var L=H.datafields[N];if(L!=undefined){if(L.values!=undefined){if(L.value==undefined){L.value=L.name}if(L.values.value==undefined){L.values.value=L.value}var T=new Array();var K,M;if(Q.pageable&&Q.virtualmode){K=Q.pagenum*Q.pagesize;M=K+Q.pagesize;if(M>Q.totalrecords){M=Q.totalrecords}}else{if(Q.virtualmode){K=H.recordstartindex;M=H.recordendindex;if(M>Q.totalrecords){M=Q.totalrecords}}else{K=0;M=Q.records.length}}for(var O=K;O<M;O++){var P=Q.records[O];var I=L.name;var U=P[L.value];if(T[U]!=undefined){P[I]=T[U]}else{for(var J=0;J<L.values.source.length;J++){var S=L.values.source[J];var e=S[L.values.value];if(e==undefined){e=S.uid}if(e==U){var R=S[L.values.name];P[I]=R;T[U]=R;break}}}}}else{if(L.value!=undefined){for(var O=0;O<Q.records.length;O++){var P=Q.records[O];P[L.name]=P[L.value]}}}}}},abort:function(){if(this.xhr&&this.xhr.readyState!=4){this.xhr.abort();me.callDownloadComplete()}},_requestData:function(H,J,e){var I=this;var K=function(P){if(P.totalrecords){J.totalrecords=P.totalrecords;I.totalrecords=P.totalrecords}if(P.records){I.records=P.records;I.cachedrecords=P.records}I.addForeignValues(J);if(e.uniqueDataFields){var N=I.getUniqueRecords(I.records,e.uniqueDataFields);I.records=N;I.cachedrecords=N}if(e.beforeLoadComplete){var O=e.beforeLoadComplete(I.records,P);if(O!=undefined){I.records=O;I.cachedrecords=O}}for(var M=0;M<I.records.length;M++){var L=I.records[M];if(undefined==L){continue}if(undefined==L.uid){L.uid=I.getid(J.id,L,M)}}I.buildHierarchy.call(I);if(i.isFunction(e.loadComplete)){e.loadComplete(P)}I.callDownloadComplete()};e.loadServerData(H,J,K)},getUniqueRecords:function(I,L){if(I&&L){var e=I.length;var Q=L.length;var N=new Array();var O=new Array();for(var P=0;P<e;P++){var M=I[P];var J="";if(M==undefined){continue}for(var K=0;K<Q;K++){var H=L[K];J+=M[H]+"_"}if(!O[J]){N[N.length]=M}O[J]=true}}return N},getAggregatedData:function(S,P,M,H){var L=M;if(!L){L=this.records}var Q={};var K=new Array();var J=L.length;if(J==0){return}if(J==undefined){return}for(var O=0;O<J;O++){var R=L[O];for(var N=0;N<S.length;N++){var I=S[N];var U=R[I.name];if(I.aggregates){Q[I.name]=Q[I.name]||{};K[I.name]=K[I.name]||0;K[I.name]++;var e=function(W){for(obj in W){var X=Q[I.name][obj];if(X==null){Q[I.name][obj]=0;X=0}if(i.isFunction(W[obj])){X=W[obj](X,U,I.name,R,H)}Q[I.name][obj]=X}};var T=parseFloat(U);if(isNaN(T)){T=false}else{T=true}if(T){U=parseFloat(U)}if(typeof U==="number"&&isFinite(U)){i.each(I.aggregates,function(){var W=Q[I.name][this];if(W==null){W=0;if(this=="min"){W=9999999999999}if(this=="max"){W=-9999999999999}}if(this=="sum"||this=="avg"||this=="stdev"||this=="stdevp"||this=="var"||this=="varp"){W+=parseFloat(U)}else{if(this=="product"){if(O==0){W=parseFloat(U)}else{W*=parseFloat(U)}}else{if(this=="min"){W=Math.min(W,parseFloat(U))}else{if(this=="max"){W=Math.max(W,parseFloat(U))}else{if(this=="count"){W++}else{if(typeof(this)=="object"){e(this);return}}}}}}Q[I.name][this]=W})}else{i.each(I.aggregates,function(){if(this=="min"||this=="max"||this=="count"||this=="product"||this=="sum"||this=="avg"||this=="stdev"||this=="stdevp"||this=="var"||this=="varp"){if(U===null){return true}var W=Q[I.name][this];if(W==null){W=0}Q[I.name][this]=W;return true}if(typeof(this)=="object"){e(this)}})}}}}for(var N=0;N<S.length;N++){var I=S[N];if(!Q[I.name]){Q[I.name]={};i.each(I.aggregates,function(W){Q[I.name][this]=0})}if(Q[I.name]["avg"]!=undefined){var U=Q[I.name]["avg"];var V=K[I.name];if(V===0||V==undefined){Q[I.name]["avg"]=0}else{Q[I.name]["avg"]=U/V}}else{if(Q[I.name]["count"]!=undefined){Q[I.name]["count"]=J}}if(Q[I.name]["stdev"]||Q[I.name]["stdevp"]||Q[I.name]["var"]||Q[I.name]["varp"]){i.each(I.aggregates,function(ac){if(this=="stdev"||this=="var"||this=="varp"||this=="stdevp"){var ad=Q[I.name][this];var ab=J;var W=(ad/J);var Y=0;for(var Z=0;Z<J;Z++){var aa=L[Z];var ae=aa[I.name];Y+=(ae-W)*(ae-W)}var X=(this=="stdevp"||this=="varp")?ab:ab-1;if(X==0){X=1}if(this=="var"||this=="varp"){Q[I.name][this]=Y/X}else{if(this=="stdevp"||this=="stdev"){Q[I.name][this]=Math.sqrt(Y/X)}}}})}if(I.formatStrings){i.each(I.aggregates,function(X){var W=I.formatStrings[X];if(W){if(this=="min"||this=="max"||this=="count"||this=="product"||this=="sum"||this=="avg"||this=="stdev"||this=="stdevp"||this=="var"||this=="varp"){var Y=Q[I.name][this];Q[I.name][this]=i.jqx.dataFormat.formatnumber(Y,W,P)}else{if(typeof this=="object"){for(obj in this){var Y=Q[I.name][obj];Q[I.name][obj]=i.jqx.dataFormat.formatnumber(Y,W,P)}}}}})}}return Q},bindDownloadComplete:function(H,e){this._downloadComplete[this._downloadComplete.length]={id:H,func:e}},unbindDownloadComplete:function(H){for(var e=0;e<this._downloadComplete.length;e++){if(this._downloadComplete[e].id==H){this._downloadComplete[e].func=null;this._downloadComplete.splice(e,1);break}}},callDownloadComplete:function(){for(var e=0;e<this._downloadComplete.length;e++){var H=this._downloadComplete[e];if(H.func!=null){H.func()}}},setSource:function(e){this._source=e},generatekey:function(){var e=function(){return(((1+Math.random())*65536)|0).toString(16).substring(1)};return(e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e())},getGroupedRecords:function(aj,am,W,ae,ak,ab,ad,an,K){var ag=0;var aa=this;if(!K){K=0}var I=new Array();for(var N=0;N<aj.length;N++){I[N]=aa.generatekey()}if(!am){am="items"}if(!W){W="group"}if(!ak){ak="record"}if(!ad){ad="parentItem"}if(undefined===ab){ab="value"}var S=new Array();var L=0;var J=new Array();var R=aj.length;var al=new Array();if(!an){var an=this.records}var P=an.length;var af=function(ao){var ap=ao;if(ae){i.each(ae,function(){if(this.name&&this.map){ap[this.map]=ap[this.name]}})}return ap};for(var V=0;V<P;V++){var ai=af(an[V]);id=ai[aa.uniqueId];var H=new Array();var X=0;for(N=0;N<R;N++){var Q=aj[N];var ac=ai[Q];if(null==ac){continue}H[X++]={value:ac,hash:I[N]}}if(H.length!=R){break}var Y=null;var T="";var e=-1;for(var Z=0;Z<H.length;Z++){e++;var ah=H[Z].value;var M=H[Z].hash;T=T+"_"+M+"_"+ah;if(J[T]!=undefined&&J[T]!=null){Y=J[T];continue}if(Y==null){Y={level:0};Y[ad]=null;Y[W]=ah;Y[ak]=ai;if(ai.expanded!==undefined){Y.expanded=ai.expanded}else{Y.expanded=false}if(ab){Y[ab]=ai[ab]}Y[am]=new Array();var O=S.length+K;if(!this._source.id||typeof ai.uid==="number"||isFinite(ai.uid)){O="Row"+O}Y.uid=O;S[L++]=Y}else{var U={level:Y.level+1};U[ad]=Y;U[W]=ah;U[am]=new Array();U[ak]=ai;if(ai.expanded!==undefined){U.expanded=ai.expanded}else{U.expanded=false}if(ab){U[ab]=ai[ab]}U.uid=Y.uid+"_"+Y[am].length;Y[am][Y[am].length]=U;Y=U}J[T]=Y}if(ai){ai.leaf=true}if(Y!=null){if(this._source.id==null){if(undefined==ai.uid){ai.uid=Y.uid+"_"+Y[am].length}else{if(ai.uid.toString().indexOf(Y.uid)==-1){ai.uid=Y.uid+"_"+ai.uid}}}ai[ad]=Y;ai.level=Y.level+1;Y[am][Y[am].length]=ai}else{if(undefined==ai.uid){ai.uid=this.generatekey()}}}return S},getRecordsHierarchy:function(L,J,aa,U,H){var e=new Array();var I=this.records;if(H){I=H}if(this.records.length==0){return null}var Y=aa!=null?aa:"items";var R=[];var ab=I;var O=ab.length;var P=(this._source&&this._source.hierarchy)?this._source.hierarchy.reservedNames:null;var W=function(ac){var ad=ac;if(U){i.each(U,function(){if(this.name&&this.map){ad[this.map]=ad[this.name]}})}return ad};for(var X=0;X<O;X++){var Z=i.extend({},ab[X]);var T=Z[J];var S=Z[L];R[S]={parentid:T,item:Z}}for(var X=0;X<O;X++){var Z=i.extend({},ab[X]);var T=Z[J];var S=Z[L];if(R[T]!=undefined){var Z={parentid:T,item:R[S].item};var Q=R[T].item;if(!Q[Y]){Q[Y]=[]}var M=Q[Y].length;var K=Z.item;if(!P){if(K.parent==undefined){K.parent=Q}}else{if(K[P.parent]==undefined){K[P.parent]=Q}}var N=W(K);Q[Y][M]=N;R[T].item=Q;R[S]=Z}else{var K=R[S].item;if(!P){if(K.parent==undefined){K.parent=null}}else{if(K[P.parent]==undefined){K[P.parent]=null}}var N=W(K);if(!P){N.level=0}else{N[P.level]=0}e[e.length]=N}}if(e.length!=0){var V=function(af,ac){for(var ad=0;ad<ac.length;ad++){if(!P){ac[ad].level=af}else{ac[ad][P.level]=af}var ae=ac[ad][Y];if(ae){if(ae.length>0){V(af+1,ae)}else{if(!P){ac[ad].leaf=true}else{ac[ad][P.leaf]=true}}}else{if(!P){ac[ad].leaf=true}else{ac[ad][P.leaf]=true}}}};V(0,e)}return e},bindBindingUpdate:function(H,e){this._bindingUpdate[this._bindingUpdate.length]={id:H,func:e}},unbindBindingUpdate:function(H){for(var e=0;e<this._bindingUpdate.length;e++){if(this._bindingUpdate[e].id==H){this._bindingUpdate[e].func=null;this._bindingUpdate.splice(e,1);break}}},callBindingUpdate:function(e){for(var I=0;I<this._bindingUpdate.length;I++){var H=this._bindingUpdate[I];if(H.func!=null){H.func(e)}}},getid:function(N,H,K){if(N!=null&&N.name!=undefined){if(N.name){var e=i(H).attr(N.name);if(e!=null&&e.toString().length>0){return e}else{if(N.map){try{var e=i(H).attr(N.map);if(e!=null&&e.toString().length>0){return e}else{if(i(N.map,H).length>0){return i(N.map,H).text()}else{if(i(N.name,H).length>0){return i(N.name,H).text()}}}}catch(J){return K}}}return}}if(i(N,H).length>0){return i(N,H).text()}if(N){if(N.toString().length>0){var e=i(H).attr(N);if(e!=null&&e.toString().length>0){return i.trim(e).split(" ").join("").replace(/([ #;?%&,.+*~\':"!^$[\]()=>|\/@])/g,"")}else{var I=N.split(this.mapChar);if(I.length>1){var M=H;for(var L=0;L<I.length;L++){if(M!=undefined){M=M[I[L]]}}if(M!=undefined){return M}}else{if(H[N]!=undefined){return H[N]}}}}}return K},loadjson:function(ae,af,R){if(typeof(ae)=="string"){ae=i.parseJSON(ae)}if(R.root==undefined){R.root=""}if(R.record==undefined){R.record=""}var ae=ae||af;if(!ae){ae=[]}var ad=this;if(R.root!=""){var K=R.root.split(ad.mapChar);if(K.length>1){var aa=ae;for(var Q=0;Q<K.length;Q++){if(aa!=undefined){aa=aa[K[Q]]}}ae=aa}else{if(ae[R.root]!==undefined){ae=ae[R.root]}else{if(ae[0]&&ae[0][R.root]!==undefined){ae=ae[0][R.root]}else{i.each(ae,function(ah){var ag=this;if(this==R.root){ae=this;return false}else{if(this[R.root]!=undefined){ae=this[R.root]}}})}}if(!ae){var K=R.root.split(ad.mapChar);if(K.length>0){var aa=ae;for(var Q=0;Q<K.length;Q++){if(aa!=undefined){aa=aa[K[Q]]}}ae=aa}}}}else{if(!ae.length){for(obj in ae){if(i.isArray(ae[obj])){ae=ae[obj];break}}}}if(ae!=null&&ae.length==undefined){ae=i.makeArray(ae)}if(ae==null||ae==undefined||ae=="undefined"||ae.length==undefined){throw new Error("jqxDataAdapter: JSON Parse error! Invalid JSON. Please, check your JSON or your jqxDataAdapter initialization!");return}if(ae.length==0){this.totalrecords=0;return}var J=ae.length;this.totalrecords=this.virtualmode?(R.totalrecords||J):J;this.records=new Array();this.originaldata=new Array();var W=this.records;var T=!this.pageable?R.recordstartindex:this.pagesize*this.pagenum;this.recordids=new Array();if(R.loadallrecords){T=0;J=this.totalrecords}var P=0;if(this.virtualmode){T=!this.pageable?R.recordstartindex:this.pagesize*this.pagenum;P=T;T=0;J=this.totalrecords}var Y=R.datafields?R.datafields.length:0;if(Y==0){var e=ae[0];var ab=new Array();for(obj in e){var H=obj;ab[ab.length]={name:H}}R.datafields=ab;R.generatedfields=R.datafields;Y=ab.length}var M=T;for(var V=T;V<J;V++){var I=ae[V];if(I==undefined){break}if(R.record&&R.record!=""){I=I[R.record];if(I==undefined){continue}}var ac=this.getid(R.id,I,V);if(typeof(ac)==="object"){ac=V}if(!this.recordids[ac]){this.recordids[ac]=I;var L={};for(var U=0;U<Y;U++){var N=R.datafields[U];var S="";if(undefined==N||N==null){continue}if(N.map){if(i.isFunction(N.map)){S=N.map(I)}else{var K=N.map.split(ad.mapChar);if(K.length>0){var Z=I;for(var Q=0;Q<K.length;Q++){if(Z!=undefined){Z=Z[K[Q]]}}S=Z}else{S=I[N.map]}}if(S!=undefined&&S!=null){S=this.getvaluebytype(S,N)}else{if(S==undefined&&S!=null){S=""}}}if(S==""&&!N.map){S=I[N.name];if(S==undefined&&S!=null){S=""}if(N.value!=undefined){if(S!=undefined){var X=S[N.value];if(X!=undefined){S=X}}}}S=this.getvaluebytype(S,N);if(N.displayname!=undefined){L[N.displayname]=S}else{L[N.name]=S}if(N.type==="array"){var O=function(aj){if(!aj){return}for(var ap=0;ap<aj.length;ap++){var am=aj[ap];if(!am){continue}for(var an=0;an<Y;an++){var ai=R.datafields[an];var ao="";if(undefined==ai||ai==null){continue}if(ai.map){if(i.isFunction(ai.map)){ao=ai.map(am)}else{var ag=ai.map.split(ad.mapChar);if(ag.length>0){var al=am;for(var ah=0;ah<ag.length;ah++){if(al!=undefined){al=al[ag[ah]]}}ao=al}else{ao=am[ai.map]}}if(ao!=undefined&&ao!=null){ao=this.getvaluebytype(ao,ai)}else{if(ao==undefined&&ao!=null){ao=""}}}if(ao==""&&!ai.map){ao=am[ai.name];if(ao==undefined&&ao!=null){ao=""}if(ai.value!=undefined){if(ao!=undefined){var ak=ao[ai.value];if(ak!=undefined){ao=ak}}}}ao=this.getvaluebytype(ao,ai);if(ai.displayname!=undefined){am[ai.displayname]=ao}else{am[ai.name]=ao}if(ai.type==="array"){O.call(this,ao)}}}};O.call(this,S)}}if(R.recordendindex<=0||T<R.recordendindex){W[P+M]=new Object(L);W[P+M].uid=ac;this.originaldata[P+M]=new Object(W[V]);M++}}}this.records=W;this.cachedrecords=this.records},loadxml:function(K,ai,U){if(typeof(K)=="string"){K=ai=i(i.parseXML(K));K=null}if(U.root==undefined){U.root=""}if(U.record==undefined){U.record=""}var K;if(i.jqx.browser.msie&&ai){if(ai.xml!=undefined){K=i(U.root+" "+U.record,i.parseXML(ai.xml))}else{K=K||i(U.root+" "+U.record,ai)}}else{K=K||i(U.root+" "+U.record,ai)}if(!K){K=[]}var J=K.length;if(K.length==0){return}this.totalrecords=this.virtualmode?(U.totalrecords||J):J;this.records=new Array();this.originaldata=new Array();var aa=this.records;var X=!this.pageable?U.recordstartindex:this.pagesize*this.pagenum;this.recordids=new Array();if(U.loadallrecords){X=0;J=this.totalrecords}var S=0;if(this.virtualmode){X=!this.pageable?U.recordstartindex:this.pagesize*this.pagenum;S=X;X=0;J=this.totalrecords}var ac=U.datafields?U.datafields.length:0;if(ac==0){var e=K[0];var af=new Array();for(obj in e){var H=obj;af[af.length]={name:H}}U.datafields=af;U.generatedfields=U.datafields;ac=af.length}var T=X;var ae=false;for(var Z=X;Z<J;Z++){var I=K[Z];if(I==undefined){break}var ah=this.getid(U.id,I,Z);if(!this.recordids[ah]){this.recordids[ah]=I;var L={};var P=false;if(U.hierarchy&&U.hierarchy.root){P=true}for(var Y=0;Y<ac;Y++){var Q=U.datafields[Y];var W="";if(undefined==Q||Q==null){continue}if(Q.map){if(i.isFunction(Q.map)){W=Q.map(I)}else{var M=Q.map.indexOf("[");if(M<0){W=i(Q.map,I);if(W.length==1){W=W.text()}else{ae=true;var ag=new Array();for(var ab=0;ab<W.length;ab++){ag.push(i(W[ab]).text())}W=ag;if(P&&ag.length>0){W=ag[0]}}}else{var ad=Q.map.substring(0,M-1);var O=Q.map.indexOf("]");var R=Q.map.substring(M+1,O);W=i(ad,I).attr(R);if(W==undefined){W=i(I).attr(R)}if(W==undefined){W=""}}if(W==""){W=i(I).attr(Q.map);if(W==undefined){W=""}}}}if(W==""){W=i(Q.name,I);if(W.length==1){W=W.text()}else{var ag=new Array();for(var ab=0;ab<W.length;ab++){ag.push(i(W[ab]).text())}W=ag;if(P&&ag.length>0){W=ag[0]}}if(W==""){W=i(I).attr(Q.name);if(W==undefined){W=""}}if(W==""){if(I.nodeName&&I.nodeName==Q.name&&I.firstChild){W=i(I.firstChild).text()}}}var V=W;W=this.getvaluebytype(W,Q);if(Q.displayname!=undefined){L[Q.displayname]=W}else{L[Q.name]=W}}if(U.recordendindex<=0||X<U.recordendindex){aa[S+T]=i.extend({},L);aa[S+T].uid=ah;this.originaldata[S+T]=i.extend({},aa[Z]);T++}}}if(U.hierarchy&&U.hierarchy.root){for(var Z=X;Z<J;Z++){var I=K[Z];var N=aa[Z];if(i(I).parent().length>0){var ah=this.getid(U.id,i(I).parents(U.hierarchy.record+":first"));N.parentuid=ah}else{N.parentuid=null}}}this.records=aa;this.cachedrecords=this.records},loadics:function(N,H){if(N==null){return}var S=H.rowDelimiter||this.rowDelimiter||"\n";var R=N.split(S);var K=R.length;var Q=N.split("\r");if(K==1&&Q.length>1){R=Q;K=R.length}this.records=new Array();this.originaldata=new Array();var L=this.records;this.recordids=new Array();var I=0;var P=function(V){var T=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z)?$/;var U=T.exec(V);if(!U){throw new Error("Invalid UNTIL value: "+V)}return new Date(Date.UTC(U[1],U[2]-1,U[3],U[5]||0,U[6]||0,U[7]||0))};for(var M=0;M<K;M++){var O=R[M];if(O=="BEGIN:VEVENT"){var e={};continue}if(O.indexOf("SUMMARY")>=0){e.SUMMARY=O.substring(O.indexOf("SUMMARY")+8);continue}if(O.indexOf("LOCATION")>=0){e.LOCATION=O.substring(O.indexOf("LOCATION")+9);continue}if(O.indexOf("DESCRIPTION")>=0){e.DESCRIPTION=O.substring(O.indexOf("DESCRIPTION")+12);continue}if(O.indexOf("RRULE")>=0){e.RRULE=O.substring(O.indexOf("RRULE")+6);continue}if(O.indexOf("EXDATE")>=0){var J=O.substring(O.indexOf("EXDATE")+7);e.EXDATE=J;continue}if(O.indexOf("DTEND")>=0){e.DTEND=P(O.substring(O.indexOf("DTEND")+6));continue}if(O.indexOf("DTSTART")>=0){e.DTSTART=P(O.substring(O.indexOf("DTSTART")+8));continue}if(O.indexOf("UID")>=0){e.uid=e.UID=O.substring(O.indexOf("UID")+4);continue}if(O.indexOf("STATUS")>=0){e.STATUS=O.substring(O.indexOf("STATUS")+7);continue}if(O=="END:VEVENT"){L.push(e);continue}}this.records=L;this.cachedrecords=this.records},loadtext:function(Y,P){if(Y==null){return}var e=P.rowDelimiter||this.rowDelimiter||"\n";var L=Y.split(e);var J=L.length;var X=Y.split("\r");if(J==1&&X.length>1){L=X;J=L.length}this.totalrecords=this.virtualmode?(P.totalrecords||J):J;this.records=new Array();this.originaldata=new Array();var U=this.records;var R=!this.pageable?P.recordstartindex:this.pagesize*this.pagenum;this.recordids=new Array();if(P.loadallrecords){R=0;J=this.totalrecords}var N=0;if(this.virtualmode){R=!this.pageable?P.recordstartindex:this.pagesize*this.pagenum;N=R;R=0;J=this.totalrecords}var V=P.datafields.length;var O=P.columnDelimiter||this.columnDelimiter;if(!O){O=(P.datatype==="tab"||P.datatype==="tsv")?"\t":","}for(var T=R;T<J;T++){var I=L[T];var W=null;if(!this.recordids[W]){if(P.id==null){W=T;this.recordids[W]=I}var K={};var H=L[T].split(O);for(var S=0;S<V;S++){if(S>=H.length){continue}var M=P.datafields[S];var Q=H[S];if(M.map&&i.isFunction(M.map)){Q=M.map(I)}if(M.type){Q=this.getvaluebytype(Q,M)}var Z=M.map||M.name||S.toString();K[Z]=Q;if(P.id!=null){if(P.id===M.name){W=Q;this.recordids[W]=I}}}if(W==null){W=T}U[N+T]=i.extend({},K);U[N+T].uid=W;this.originaldata[N+T]=i.extend({},U[T])}}this.records=U;this.cachedrecords=this.records},getvaluebytype:function(L,H){var J=L;if(L==null){return L}if(i.isArray(L)&&H.type!="array"){for(var I=0;I<L.length;I++){L[I]=this.getvaluebytype(L[I],H)}return L}if(H.type=="date"){if(L=="NaN"){L=""}else{if(L&&L instanceof Date){return L}var K=new Date(L);if(typeof L=="string"){if(H.format){var e=i.jqx.dataFormat.parsedate(L,H.format);if(e!=null){K=e}}}if(K.toString()=="NaN"||K.toString()=="Invalid Date"){if(i.jqx.dataFormat){L=i.jqx.dataFormat.tryparsedate(L)}else{L=K}}else{L=K}if(L==null){L=J}}}else{if(H.type=="float"||H.type=="number"||H.type=="decimal"){if(L=="NaN"){L=""}else{var L=parseFloat(L);if(isNaN(L)){L=J}}}else{if(H.type=="int"||H.type=="integer"){var L=parseInt(L);if(isNaN(L)){L=J}}else{if(H.type=="bool"||H.type=="boolean"){if(L!=null){if(L.toLowerCase!=undefined){if(L.toLowerCase()=="false"){L=false}else{if(L.toLowerCase()=="true"){L=true}}}}if(L==1){L=true}else{if(L==0&&L!==""){L=false}else{L=""}}}}}}return L}};i.jqx.dataFormat={};i.extend(i.jqx.dataFormat,{regexTrim:/^\s+|\s+$/g,regexInfinity:/^[+-]?infinity$/i,regexHex:/^0x[a-f0-9]+$/i,regexParseFloat:/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/,toString:Object.prototype.toString,isBoolean:function(e){return typeof e==="boolean"},isObject:function(e){return(e&&(typeof e==="object"||i.isFunction(e)))||false},isDate:function(e){return e instanceof Date},arrayIndexOf:function(J,I){if(J.indexOf){return J.indexOf(I)}for(var e=0,H=J.length;e<H;e++){if(J[e]===I){return e}}return -1},isString:function(e){return typeof e==="string"},isNumber:function(e){return typeof e==="number"&&isFinite(e)},isNull:function(e){return e===null},isUndefined:function(e){return typeof e==="undefined"},isValue:function(e){return(this.isObject(e)||this.isString(e)||this.isNumber(e)||this.isBoolean(e))},isEmpty:function(e){if(!this.isString(e)&&this.isValue(e)){return false}else{if(!this.isValue(e)){return true}}e=i.trim(e).replace(/\&nbsp\;/ig,"").replace(/\&#160\;/ig,"");return e===""},startsWith:function(H,e){return H.indexOf(e)===0},endsWith:function(H,e){return H.substr(H.length-e.length)===e},trim:function(e){return(e+"").replace(this.regexTrim,"")},isArray:function(e){return this.toString.call(e)==="[object Array]"},defaultcalendar:function(){var e={"/":"/",":":":",firstDay:0,days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December",""],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]},AM:["AM","am","AM"],PM:["PM","pm","PM"],eras:[{name:"A.D.",start:null,offset:0}],twoDigitYearMax:2029,patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",t:"h:mm tt",T:"h:mm:ss tt",f:"dddd, MMMM dd, yyyy h:mm tt",F:"dddd, MMMM dd, yyyy h:mm:ss tt",M:"MMMM dd",Y:"yyyy MMMM",S:"yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss",ISO:"yyyy-MM-dd hh:mm:ss",ISO2:"yyyy-MM-dd HH:mm:ss",d1:"dd.MM.yyyy",d2:"dd-MM-yyyy",d3:"MM-dd-yyyy",zone1:"yyyy-MM-ddTHH:mm:ss-HH:mm",zone2:"yyyy-MM-ddTHH:mm:ss+HH:mm",custom:"yyyy-MM-ddTHH:mm:ss.fff",custom2:"yyyy-MM-dd HH:mm:ss.fff"},percentsymbol:"%",currencysymbol:"$",currencysymbolposition:"before",decimalseparator:".",thousandsseparator:","};return e},expandFormat:function(K,J){J=J||"F";var I,H=K.patterns,e=J.length;if(e===1){I=H[J];if(!I){throw"Invalid date format string '"+J+"'."}J=I}else{if(e===2&&J.charAt(0)==="%"){J=J.charAt(1)}}return J},getEra:function(I,H){if(!H){return 0}if(typeof I==="string"){return 0}var L,K=I.getTime();for(var J=0,e=H.length;J<e;J++){L=H[J].start;if(L===null||K>=L){return J}}return 0},toUpper:function(e){return e.split("\u00A0").join(" ").toUpperCase()},toUpperArray:function(e){var J=[];for(var I=0,H=e.length;I<H;I++){J[I]=this.toUpper(e[I])}return J},getEraYear:function(H,J,e,K){var I=H.getFullYear();if(!K&&J.eras){I-=J.eras[e].offset}return I},toUpper:function(e){if(e){return e.toUpperCase()}return""},getDayIndex:function(K,J,H){var e,L=K.days,I=K._upperDays;if(!I){K._upperDays=I=[this.toUpperArray(L.names),this.toUpperArray(L.namesAbbr),this.toUpperArray(L.namesShort)]}J=J.toUpperCase();if(H){e=this.arrayIndexOf(I[1],J);if(e===-1){e=this.arrayIndexOf(I[2],J)}}else{e=this.arrayIndexOf(I[0],J)}return e},getMonthIndex:function(N,M,I){var e=N.months,H=N.monthsGenitive||N.months,K=N._upperMonths,L=N._upperMonthsGen;if(!K){N._upperMonths=K=[this.toUpperArray(e.names),this.toUpperArray(e.namesAbbr)];N._upperMonthsGen=L=[this.toUpperArray(H.names),this.toUpperArray(H.namesAbbr)]}M=this.toUpper(M);var J=this.arrayIndexOf(I?K[1]:K[0],M);if(J<0){J=this.arrayIndexOf(I?L[1]:L[0],M)}return J},appendPreOrPostMatch:function(J,e){var I=0,L=false;for(var K=0,H=J.length;K<H;K++){var M=J.charAt(K);switch(M){case"'":if(L){e.push("'")}else{I++}L=false;break;case"\\":if(L){e.push("\\")}L=!L;break;default:e.push(M);L=false;break}}return I},getTokenRegExp:function(){return/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g},formatlink:function(e,I){var H="";if(I&&I.target){H="target="+I.target}if(H!=""){return"<a "+H+' href="'+e+'">'+e+"</a>"}return'<a href="'+e+'">'+e+"</a>"},formatemail:function(e){return'<a href="mailto:'+e+'">'+e+"</a>"},formatNumber:function(e,I,H){return this.formatnumber(e,I,H)},formatnumber:function(T,S,O){if(O==undefined||O==null||O==""){O=this.defaultcalendar()}if(S===""||S===null){return T}if(!this.isNumber(T)){T*=1}var P;if(S.length>1){P=parseInt(S.slice(1),10)}var V={};var Q=S.charAt(0).toUpperCase();V.thousandsSeparator=O.thousandsseparator;V.decimalSeparator=O.decimalseparator;switch(Q){case"D":case"d":case"F":case"f":V.decimalPlaces=P;break;case"N":case"n":V.decimalPlaces=0;break;case"C":case"c":V.decimalPlaces=P;if(O.currencysymbolposition=="before"){V.prefix=O.currencysymbol}else{V.suffix=O.currencysymbol}break;case"P":case"p":V.suffix=O.percentsymbol;V.decimalPlaces=P;break;default:throw"Bad number format specifier: "+Q}if(this.isNumber(T)){var K=(T<0);var I=T+"";var R=(V.decimalSeparator)?V.decimalSeparator:".";var e;if(this.isNumber(V.decimalPlaces)){var L=V.decimalPlaces;var N=Math.pow(10,L);I=(T*N).toFixed(0)/N+"";e=I.lastIndexOf(".");if(L>0){if(e<0){I+=R;e=I.length-1}else{if(R!=="."){I=I.replace(".",R)}}while((I.length-1-e)<L){I+="0"}}}else{var I=T+"";e=I.lastIndexOf(".");if(e>0&&L==undefined){if(R!=="."){I=I.replace(".",R)}}}if(V.thousandsSeparator){var U=V.thousandsSeparator;e=I.lastIndexOf(R);e=(e>-1)?e:I.length;var J=I.substring(e);var H=-1;for(var M=e;M>0;M--){H++;if((H%3===0)&&(M!==e)&&(!K||(M>1))){J=U+J}J=I.charAt(M-1)+J}I=J}I=(V.prefix)?V.prefix+I:I;I=(V.suffix)?I+V.suffix:I;return I}else{return T}},tryparsedate:function(ai,aj){if(aj==undefined||aj==null){aj=this.defaultcalendar()}var O=this;if(ai==""){return null}if(ai!=null&&!ai.substring){ai=ai.toString()}if(ai!=null&&ai.substring(0,6)=="/Date("){var ar=/^\/Date\((-?\d+)(\+|-)?(\d+)?\)\/$/;var ap=new Date(+ai.replace(/\/Date\((\d+)\)\//,"$1"));if(ap=="Invalid Date"){var al=ai.match(/^\/Date\((\d+)([-+]\d\d)(\d\d)\)\/$/);var ap=null;if(al){ap=new Date(1*al[1]+3600000*al[2]+60000*al[3])}}if(ap==null||ap=="Invalid Date"||isNaN(ap)){var P=ar.exec(ai);if(P){var R=new Date(parseInt(P[1]));if(P[2]){var X=parseInt(P[3]);if(P[2]==="-"){X=-X}var T=R.getUTCMinutes();R.setUTCMinutes(T-X)}if(!isNaN(R.valueOf())){return R}}}return ap}patterns=aj.patterns;for(prop in patterns){ap=O.parsedate(ai,patterns[prop],aj);if(ap){if(prop=="ISO"){var aa=O.parsedate(ai,patterns.ISO2,aj);if(aa){return aa}}return ap}}if(ai!=null){var aa=null;var L=[":","/","-"];var an=true;for(var N=0;N<L.length;N++){if(ai.indexOf(L[N])!=-1){an=false}}if(an){var at=new Number(ai);if(!isNaN(at)){return new Date(at)}}}if(i.type(ai)==="string"){var ae=O;ai=ae.trim(ai);var ak=[":","/","-"," ",","];var M=function(ax,av,aw){return aw.replace(new RegExp(ax,"g"),av)};ai=M(", ",",",ai);var I="";var W=ai;if(ai.indexOf(":")>=0){I=ai.substring(ai.indexOf(":")-2);I=ae.trim(I);W=ai.substring(0,ai.indexOf(":")-2)}else{if(ai.toUpperCase().indexOf("AM")>=0){I=ai.substring(ai.toUpperCase().indexOf("AM")-2);I=ae.trim(I);W=ai.substring(0,ai.toUpperCase().indexOf("AM")-2)}else{if(ai.toUpperCase().indexOf("PM")>=0){I=ai.substring(ai.toUpperCase().indexOf("PM")-2);I=ae.trim(I);W=ai.substring(0,ai.toUpperCase().indexOf("PM")-2)}}}var e=new Date();var ag=false;if(W){for(var ao=0;ao<ak.length;ao++){if(W.indexOf(ak[ao])>=0){L=W.split(ak[ao]);break}}var H=new Array();var U=new Array();var ac=new Array();var Q=null;var au=null;for(var ao=0;ao<L.length;ao++){var N=L[ao];var ab=ae.parsedate(N,"d",aj)||ae.parsedate(N,"dd",aj)||ae.parsedate(N,"ddd",aj)||ae.parsedate(N,"dddd",aj);if(ab){if(N.length<=2){Q=ao;H.push(ab.getDate());break}}}for(var ao=0;ao<L.length;ao++){var N=L[ao];var S=ae.parsedate(N,"M",aj)||ae.parsedate(N,"MM",aj)||ae.parsedate(N,"MMM",aj)||ae.parsedate(N,"MMMM",aj);if(S){if(Q!=undefined&&Q==ao){continue}U.push(S.getMonth());if(N.length>2){au=ao;break}}}for(var ao=0;ao<L.length;ao++){var N=L[ao];var ad=ae.parsedate(N,"yyyy",aj);if(ad){if(Q!=undefined&&Q==ao){continue}if(au!=undefined&&au==ao){continue}ac.push(ad.getFullYear())}}var am=new Array();for(var aq=0;aq<H.length;aq++){for(var al=0;al<U.length;al++){for(var ah=0;ah<ac.length;ah++){var R=new Date(ac[ah],U[al],H[aq]);if(ac[ah]<1970){R.setFullYear(ac[ah])}if(R.getTime()!=NaN){am.push(R)}}}}if(am.length>0){e=am[0];ag=true}}if(I){var af=I.indexOf(":")>=0?I.split(":"):I;var K=ae.parsedate(I,"h:mm tt",aj)||ae.parsedate(I,"h:mm:ss tt",aj)||ae.parsedate(I,"HH:mm:ss.fff",aj)||ae.parsedate(I,"HH:mm:ss.ff",aj)||ae.parsedate(I,"HH:mm:ss.tttt",aj)||ae.parsedate(I,"HH:mm:ss",aj)||ae.parsedate(I,"HH:mm",aj)||ae.parsedate(I,"HH",aj);var V=0,J=0,Y=0,Z=0;if(K&&K.getTime()!=NaN){V=K.getHours();J=K.getMinutes();Y=K.getSeconds();Z=K.getMilliseconds()}else{if(af.length==1){V=parseInt(af[0])}if(af.length==2){V=parseInt(af[0]);J=parseInt(af[1])}if(af.length==3){V=parseInt(af[0]);J=parseInt(af[1]);if(af[2].indexOf(".")>=0){Y=parseInt(af[2].toString().split(".")[0]);Z=parseInt(af[2].toString().split(".")[1])}else{Y=parseInt(af[2])}}if(af.length==4){V=parseInt(af[0]);J=parseInt(af[1]);Y=parseInt(af[2]);Z=parseInt(af[3])}}if(e&&!isNaN(V)&&!isNaN(J)&&!isNaN(Y)&&!isNaN(Z)){e.setHours(V,J,Y,Z);ag=true}}if(ag){return e}}return null},getparseregexp:function(e,R){var T=e._parseRegExp;if(!T){e._parseRegExp=T={}}else{var K=T[R];if(K){return K}}var Q=this.expandFormat(e,R).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1"),O=["^"],H=[],N=0,J=0,W=this.getTokenRegExp(),L;while((L=W.exec(Q))!==null){var V=Q.slice(N,L.index);N=W.lastIndex;J+=this.appendPreOrPostMatch(V,O);if(J%2){O.push(L[0]);continue}var I=L[0],M=I.length,S;switch(I){case"dddd":case"ddd":case"MMMM":case"MMM":case"gg":case"g":S="(\\D+)";break;case"tt":case"t":S="(\\D*)";break;case"yyyy":case"fff":case"ff":case"f":S="(\\d{"+M+"})";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":S="(\\d\\d?)";break;case"zzz":S="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":S="([+-]?\\d\\d?)";break;case"/":S="(\\"+e["/"]+")";break;default:throw"Invalid date format pattern '"+I+"'.";break}if(S){O.push(S)}H.push(L[0])}this.appendPreOrPostMatch(Q.slice(N),O);O.push("$");var U=O.join("").replace(/\s+/g,"\\s+"),P={regExp:U,groups:H};return T[R]=P},outOfRange:function(I,e,H){return I<e||I>H},expandYear:function(L,J){var H=new Date(),e=this.getEra(H);if(J<100){var I=L.twoDigitYearMax;I=typeof I==="string"?new Date().getFullYear()%100+parseInt(I,10):I;var K=this.getEraYear(H,L,e);J+=K-(K%100);if(J>I){J-=100}}return J},parsedate:function(ab,ai,W){if(W==undefined||W==null){W=this.defaultcalendar()}ab=this.trim(ab);var T=W,an=this.getparseregexp(T,ai),N=new RegExp(an.regExp).exec(ab);if(N===null){return null}var aj=an.groups,Z=null,R=null,am=null,al=null,S=null,L=0,ae,ad=0,ak=0,e=0,I=null,U=false;for(var af=0,ah=aj.length;af<ah;af++){var H=N[af+1];if(H){var aa=aj[af],K=aa.length,M=parseInt(H,10);switch(aa){case"dd":case"d":al=M;if(this.outOfRange(al,1,31)){return null}break;case"MMM":case"MMMM":am=this.getMonthIndex(T,H,K===3);if(this.outOfRange(am,0,11)){return null}break;case"M":case"MM":am=M-1;if(this.outOfRange(am,0,11)){return null}break;case"y":case"yy":case"yyyy":R=K<4?this.expandYear(T,M):M;if(this.outOfRange(R,0,9999)){return null}break;case"h":case"hh":L=M;if(L===12){L=0}if(this.outOfRange(L,0,11)){return null}break;case"H":case"HH":L=M;if(this.outOfRange(L,0,23)){return null}break;case"m":case"mm":ad=M;if(this.outOfRange(ad,0,59)){return null}break;case"s":case"ss":ak=M;if(this.outOfRange(ak,0,59)){return null}break;case"tt":case"t":U=T.PM&&(H===T.PM[0]||H===T.PM[1]||H===T.PM[2]);if(!U&&(!T.AM||(H!==T.AM[0]&&H!==T.AM[1]&&H!==T.AM[2]))){return null}break;case"f":case"ff":case"fff":e=M*Math.pow(10,3-K);if(this.outOfRange(e,0,999)){return null}break;case"ddd":case"dddd":S=this.getDayIndex(T,H,K===3);if(this.outOfRange(S,0,6)){return null}break;case"zzz":var J=H.split(/:/);if(J.length!==2){return null}ae=parseInt(J[0],10);if(this.outOfRange(ae,-12,13)){return null}var P=parseInt(J[1],10);if(this.outOfRange(P,0,59)){return null}I=(ae*60)+(this.startsWith(H,"-")?-P:P);break;case"z":case"zz":ae=M;if(this.outOfRange(ae,-12,13)){return null}I=ae*60;break;case"g":case"gg":var V=H;if(!V||!T.eras){return null}V=trim(V.toLowerCase());for(var ag=0,ac=T.eras.length;ag<ac;ag++){if(V===T.eras[ag].name.toLowerCase()){Z=ag;break}}if(Z===null){return null}break}}}var Q=new Date(),Y,O=T.convert;Y=Q.getFullYear();if(R===null){R=Y}else{if(T.eras){R+=T.eras[(Z||0)].offset}}if(am===null){am=0}if(al===null){al=1}if(O){Q=O.toGregorian(R,am,al);if(Q===null){return null}}else{Q.setFullYear(R,am,al);if(Q.getDate()!==al){return null}if(S!==null&&Q.getDay()!==S){return null}}if(U&&L<12){L+=12}Q.setHours(L,ad,ak,e);if(I!==null){var X=Q.getMinutes()-(I+Q.getTimezoneOffset());Q.setHours(Q.getHours()+parseInt(X/60,10),X%60)}return Q},cleardatescache:function(){this.datescache=new Array()},formatDate:function(e,I,H){return this.formatdate(e,I,H)},formatdate:function(Z,ad,U){if(U==undefined||U==null){U=this.defaultcalendar()}if(typeof Z==="string"){return Z}var J=Z.toString()+"_"+ad;if(this.datescache&&this.datescache[J]){if(ad.indexOf("f")==-1){return this.datescache[J]}}if(!ad||!ad.length||ad==="i"){var af;af=this.formatDate(Z,U.patterns.F,U);return af}var aa=U.eras,H=ad==="s";ad=this.expandFormat(U,ad);af=[];var M,ab=["0","00","000"],Q,R,e=/([^d]|^)(d|dd)([^d]|$)/g,ae=0,W=this.getTokenRegExp(),I;function O(ag,aj){var ai,ah=ag+"";if(aj>1&&ah.length<aj){ai=(ab[aj-2]+ah);return ai.substr(ai.length-aj,aj)}else{ai=ah}return ai}function ac(){if(Q||R){return Q}Q=e.test(ad);R=true;return Q}function K(ah,ag){if(I){return I[ag]}if(ah.getMonth!=undefined){switch(ag){case 0:return ah.getFullYear();case 1:return ah.getMonth();case 2:return ah.getDate()}}}for(;;){var N=W.lastIndex,V=W.exec(ad);var S=ad.slice(N,V?V.index:ad.length);ae+=this.appendPreOrPostMatch(S,af);if(!V){break}if(ae%2){af.push(V[0]);continue}var X=V[0],L=X.length;switch(X){case"ddd":case"dddd":var T=(L===3)?U.days.namesAbbr:U.days.names;af.push(T[Z.getDay()]);break;case"d":case"dd":Q=true;af.push(O(K(Z,2),L));break;case"MMM":case"MMMM":var Y=K(Z,1);af.push(U.months[L===3?"namesAbbr":"names"][Y]);break;case"M":case"MM":af.push(O(K(Z,1)+1,L));break;case"y":case"yy":case"yyyy":Y=this.getEraYear(Z,U,this.getEra(Z,aa),H);if(L<4){Y=Y%100}af.push(O(Y,L));break;case"h":case"hh":M=Z.getHours()%12;if(M===0){M=12}af.push(O(M,L));break;case"H":case"HH":af.push(O(Z.getHours(),L));break;case"m":case"mm":af.push(O(Z.getMinutes(),L));break;case"s":case"ss":af.push(O(Z.getSeconds(),L));break;case"t":case"tt":Y=Z.getHours()<12?(U.AM?U.AM[0]:" "):(U.PM?U.PM[0]:" ");af.push(L===1?Y.charAt(0):Y);break;case"f":case"ff":case"fff":af.push(O(Z.getMilliseconds(),3).substr(0,L));break;case"z":case"zz":M=Z.getTimezoneOffset()/60;af.push((M<=0?"+":"-")+O(Math.floor(Math.abs(M)),L));break;case"zzz":M=Z.getTimezoneOffset()/60;af.push((M<=0?"+":"-")+O(Math.floor(Math.abs(M)),2)+":"+O(Math.abs(Z.getTimezoneOffset()%60),2));break;case"g":case"gg":if(U.eras){af.push(U.eras[this.getEra(Z,aa)].name)}break;case"/":af.push(U["/"]);break;default:throw"Invalid date format pattern '"+X+"'.";break}}var P=af.join("");if(!this.datescache){this.datescache=new Array()}this.datescache[J]=P;return P}});i.jqx.data={};var l,E,p=/#.*$/,a=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,f=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,j=/^(?:GET|HEAD)$/,o=/^\/\//,k=/\?/,b=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,d=/([?&])_=[^&]*/,h=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,t=/\s+/,F=i.fn.load,G={},C={},q=["*/"]+["*"];try{E=location.href}catch(A){E=document.createElement("a");E.href="";E=E.href}l=h.exec(E.toLowerCase())||[];function r(e){return function(K,M){if(typeof K!=="string"){M=K;K="*"}var H,N,O,J=K.toLowerCase().split(t),I=0,L=J.length;if(i.isFunction(M)){for(;I<L;I++){H=J[I];O=/^\+/.test(H);if(O){H=H.substr(1)||"*"}N=e[H]=e[H]||[];N[O?"unshift":"push"](M)}}}}function v(H,Q,L,O,N,J){N=N||Q.dataTypes[0];J=J||{};J[N]=true;var P,M=H[N],I=0,e=M?M.length:0,K=(H===G);for(;I<e&&(K||!P);I++){P=M[I](Q,L,O);if(typeof P==="string"){if(!K||J[P]){P=undefined}else{Q.dataTypes.unshift(P);P=v(H,Q,L,O,P,J)}}}if((K||!P)&&!J["*"]){P=v(H,Q,L,O,"*",J)}return P}function u(I,J){var H,e,K=i.jqx.data.ajaxSettings.flatOptions||{};for(H in J){if(J[H]!==undefined){(K[H]?I:(e||(e={})))[H]=J[H]}}if(e){i.extend(true,I,e)}}i.extend(i.jqx.data,{ajaxSetup:function(H,e){if(e){u(H,i.jqx.data.ajaxSettings)}else{e=H;H=i.jqx.data.ajaxSettings}u(H,e);return H},ajaxSettings:{url:E,isLocal:f.test(l[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":q},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":window.String,"text html":true,"text json":i.parseJSON,"text xml":i.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:r(G),ajaxTransport:r(C),ajax:function(M,J){if(typeof M==="object"){J=M;M=undefined}J=J||{};var P,ad,K,Y,R,V,I,X,Q=i.jqx.data.ajaxSetup({},J),af=Q.context||Q,T=af!==Q&&(af.nodeType||af instanceof i)?i(af):i.event,ae=i.Deferred(),aa=i.Callbacks("once memory"),N=Q.statusCode||{},U={},ab={},L=0,O="canceled",W={readyState:0,setRequestHeader:function(ag,ah){if(!L){var e=ag.toLowerCase();ag=ab[e]=ab[e]||ag;U[ag]=ah}return this},getAllResponseHeaders:function(){return L===2?ad:null},getResponseHeader:function(ag){var e;if(L===2){if(!K){K={};while((e=a.exec(ad))){K[e[1].toLowerCase()]=e[2]}}e=K[ag.toLowerCase()]}return e===undefined?null:e},overrideMimeType:function(e){if(!L){Q.mimeType=e}return this},abort:function(e){e=e||O;if(Y){Y.abort(e)}S(0,e);return this}};function S(ak,ag,al,ai){var e,ao,am,aj,an,ah=ag;if(L===2){return}L=2;if(R){clearTimeout(R)}Y=undefined;ad=ai||"";W.readyState=ak>0?4:0;if(al){aj=B(Q,W,al)}if(ak>=200&&ak<300||ak===304){if(Q.ifModified){an=W.getResponseHeader("Last-Modified");if(an){i.lastModified[P]=an}an=W.getResponseHeader("Etag");if(an){i.etag[P]=an}}if(ak===304){ah="notmodified";e=true}else{e=c(Q,aj);ah=e.state;ao=e.data;am=e.error;e=!am}}else{am=ah;if(!ah||ak){ah="error";if(ak<0){ak=0}}}W.status=ak;W.statusText=(ag||ah)+"";if(e){ae.resolveWith(af,[ao,ah,W])}else{ae.rejectWith(af,[W,ah,am])}W.statusCode(N);N=undefined;if(I){T.trigger("ajax"+(e?"Success":"Error"),[W,Q,e?ao:am])}aa.fireWith(af,[W,ah]);if(I){T.trigger("ajaxComplete",[W,Q]);if(!(--i.active)){i.event.trigger("ajaxStop")}}}ae.promise(W);W.success=W.done;W.error=W.fail;W.complete=aa.add;W.statusCode=function(ag){if(ag){var e;if(L<2){for(e in ag){N[e]=[N[e],ag[e]]}}else{e=ag[W.status];W.always(e)}}return this};Q.url=((M||Q.url)+"").replace(p,"").replace(o,l[1]+"//");Q.dataTypes=i.trim(Q.dataType||"*").toLowerCase().split(t);if(Q.crossDomain==null){V=h.exec(Q.url.toLowerCase());Q.crossDomain=!!(V&&(V[1]!==l[1]||V[2]!==l[2]||(V[3]||(V[1]==="http:"?80:443))!=(l[3]||(l[1]==="http:"?80:443))))}if(Q.data&&Q.processData&&typeof Q.data!=="string"){Q.data=i.param(Q.data,Q.traditional)}v(G,Q,J,W);if(L===2){return W}I=Q.global;Q.type=Q.type.toUpperCase();Q.hasContent=!j.test(Q.type);if(I&&i.active++===0){i.event.trigger("ajaxStart")}if(!Q.hasContent){if(Q.data){Q.url+=(k.test(Q.url)?"&":"?")+Q.data;delete Q.data}P=Q.url;if(Q.cache===false){var H=(new Date()).getTime(),ac=Q.url.replace(d,"$1_="+H);Q.url=ac+((ac===Q.url)?(k.test(Q.url)?"&":"?")+"_="+H:"")}}if(Q.data&&Q.hasContent&&Q.contentType!==false||J.contentType){W.setRequestHeader("Content-Type",Q.contentType)}if(Q.ifModified){P=P||Q.url;if(i.lastModified[P]){W.setRequestHeader("If-Modified-Since",i.lastModified[P])}if(i.etag[P]){W.setRequestHeader("If-None-Match",i.etag[P])}}W.setRequestHeader("Accept",Q.dataTypes[0]&&Q.accepts[Q.dataTypes[0]]?Q.accepts[Q.dataTypes[0]]+(Q.dataTypes[0]!=="*"?", "+q+"; q=0.01":""):Q.accepts["*"]);for(X in Q.headers){W.setRequestHeader(X,Q.headers[X])}if(Q.beforeSend&&(Q.beforeSend.call(af,W,Q)===false||L===2)){return W.abort()}O="abort";for(X in {success:1,error:1,complete:1}){W[X](Q[X])}Y=v(C,Q,J,W);if(!Y){S(-1,"No Transport")}else{W.readyState=1;if(I){T.trigger("ajaxSend",[W,Q])}if(Q.async&&Q.timeout>0){R=setTimeout(function(){W.abort("timeout")},Q.timeout)}try{L=1;Y.send(U,S)}catch(Z){if(L<2){S(-1,Z)}else{throw Z}}}return W},active:0,lastModified:{},etag:{}});function B(P,O,L){var K,M,J,e,H=P.contents,N=P.dataTypes,I=P.responseFields;for(M in I){if(M in L){O[I[M]]=L[M]}}while(N[0]==="*"){N.shift();if(K===undefined){K=P.mimeType||O.getResponseHeader("content-type")}}if(K){for(M in H){if(H[M]&&H[M].test(K)){N.unshift(M);break}}}if(N[0] in L){J=N[0]}else{for(M in L){if(!N[0]||P.converters[M+" "+N[0]]){J=M;break}if(!e){e=M}}J=J||e}if(J){if(J!==N[0]){N.unshift(J)}return L[J]}}function c(R,J){var P,H,N,L,O=R.dataTypes.slice(),I=O[0],Q={},K=0;if(R.dataFilter){J=R.dataFilter(J,R.dataType)}if(O[1]){for(P in R.converters){Q[P.toLowerCase()]=R.converters[P]}}for(;(N=O[++K]);){if(N!=="*"){if(I!=="*"&&I!==N){P=Q[I+" "+N]||Q["* "+N];if(!P){for(H in Q){L=H.split(" ");if(L[1]===N){P=Q[I+" "+L[0]]||Q["* "+L[0]];if(P){if(P===true){P=Q[H]}else{if(Q[H]!==true){N=L[0];O.splice(K--,0,N)}}break}}}}if(P!==true){if(P&&R["throws"]){J=P(J)}else{try{J=P(J)}catch(M){return{state:"parsererror",error:P?M:"No conversion from "+I+" to "+N}}}}}I=N}}return{state:"success",data:J}}var y=[],n=/\?/,D=/(=)\?(?=&|$)|\?\?/,z=(new Date()).getTime();i.jqx.data.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=y.pop()||(i.expando+"_"+(z++));this[e]=true;return e}});i.jqx.data.ajaxPrefilter("json jsonp",function(Q,L,P){var O,e,N,J=Q.data,H=Q.url,I=Q.jsonp!==false,M=I&&D.test(H),K=I&&!M&&typeof J==="string"&&!(Q.contentType||"").indexOf("application/x-www-form-urlencoded")&&D.test(J);if(Q.dataTypes[0]==="jsonp"||M||K){O=Q.jsonpCallback=i.isFunction(Q.jsonpCallback)?Q.jsonpCallback():Q.jsonpCallback;e=window[O];if(M){Q.url=H.replace(D,"$1"+O)}else{if(K){Q.data=J.replace(D,"$1"+O)}else{if(I){Q.url+=(n.test(H)?"&":"?")+Q.jsonp+"="+O}}}Q.converters["script json"]=function(){if(!N){i.error(O+" was not called")}return N[0]};Q.dataTypes[0]="json";window[O]=function(){N=arguments};P.always(function(){window[O]=e;if(Q[O]){Q.jsonpCallback=L.jsonpCallback;y.push(O)}if(N&&i.isFunction(e)){e(N[0])}N=e=undefined});return"script"}});i.jqx.data.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){i.globalEval(e);return e}}});i.jqx.data.ajaxPrefilter("script",function(e){if(e.cache===undefined){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});i.jqx.data.ajaxTransport("script",function(I){if(I.crossDomain){var e,H=document.head||document.getElementsByTagName("head")[0]||document.documentElement;return{send:function(J,K){e=document.createElement("script");e.async="async";if(I.scriptCharset){e.charset=I.scriptCharset}e.src=I.url;e.onload=e.onreadystatechange=function(M,L){if(L||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(H&&e.parentNode){H.removeChild(e)}e=undefined;if(!L){K(200,"success")}}};H.insertBefore(e,H.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var w,x=window.ActiveXObject?function(){for(var e in w){w[e](0,1)}}:false,m=0;function g(){try{return new window.XMLHttpRequest()}catch(H){}}function s(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(H){}}i.jqx.data.ajaxSettings.xhr=window.ActiveXObject?function(){return !this.isLocal&&g()||s()}:g;(function(e){i.extend(i.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)})})(i.jqx.data.ajaxSettings.xhr());if(!i.support){i.support={ajax:true}}if(i.support.ajax){i.jqx.data.ajaxTransport(function(e){if(!e.crossDomain||i.support.cors){var H;return{send:function(N,I){var L,K,M=e.xhr();if(e.username){M.open(e.type,e.url,e.async,e.username,e.password)}else{M.open(e.type,e.url,e.async)}if(e.xhrFields){for(K in e.xhrFields){M[K]=e.xhrFields[K]}}if(e.mimeType&&M.overrideMimeType){M.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!N["X-Requested-With"]){N["X-Requested-With"]="XMLHttpRequest"}try{for(K in N){M.setRequestHeader(K,N[K])}}catch(J){}M.send((e.hasContent&&e.data)||null);H=function(W,Q){var R,P,O,U,T;try{if(H&&(Q||M.readyState===4)){H=undefined;if(L){M.onreadystatechange=function(){};if(x){delete w[L]}}if(Q){if(M.readyState!==4){M.abort()}}else{R=M.status;O=M.getAllResponseHeaders();U={};T=M.responseXML;if(T&&T.documentElement){U.xml=T}try{U.text=M.responseText}catch(V){}try{P=M.statusText}catch(V){P=""}if(!R&&e.isLocal&&!e.crossDomain){R=U.text?200:404}else{if(R===1223){R=204}}}}}catch(S){if(!Q){I(-1,S)}}if(U){I(R,P,U,O)}};if(!e.async){H()}else{if(M.readyState===4){setTimeout(H,0)}else{L=++m;if(x){if(!w){w={};i(window).unload(x)}w[L]=H}M.onreadystatechange=H}}},abort:function(){if(H){H(0,1)}}}}})}i.jqx.filter=function(){this.operator="and";var M=0;var J=1;var P=["EMPTY","NOT_EMPTY","CONTAINS","CONTAINS_CASE_SENSITIVE","DOES_NOT_CONTAIN","DOES_NOT_CONTAIN_CASE_SENSITIVE","STARTS_WITH","STARTS_WITH_CASE_SENSITIVE","ENDS_WITH","ENDS_WITH_CASE_SENSITIVE","EQUAL","EQUAL_CASE_SENSITIVE","NULL","NOT_NULL"];var R=["EQUAL","NOT_EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","GREATER_THAN","GREATER_THAN_OR_EQUAL","NULL","NOT_NULL"];var S=["EQUAL","NOT_EQUAL","LESS_THAN","LESS_THAN_OR_EQUAL","GREATER_THAN","GREATER_THAN_OR_EQUAL","NULL","NOT_NULL"];var L=["EQUAL","NOT_EQUAL"];var K=new Array();var Q=new Array();this.evaluate=function(X){var V=true;for(var W=0;W<K.length;W++){var U=K[W].evaluate(X);if(W==0){V=U}else{if(Q[W]==J||Q[W]=="or"){V=V||U}else{V=V&&U}}}return V};this.getfilterscount=function(){return K.length};this.setoperatorsbyfiltertype=function(U,V){switch(U){case"numericfilter":R=V;break;case"stringfilter":P=V;break;case"datefilter":S=V;break;case"booleanfilter":L=V;break}};this.getoperatorsbyfiltertype=function(U){var V=new Array();switch(U){case"numericfilter":V=R.slice(0);break;case"stringfilter":V=P.slice(0);break;case"datefilter":V=S.slice(0);break;case"booleanfilter":V=L.slice(0);break}return V};var O=function(){var U=function(){return(((1+Math.random())*65536)|0).toString(16).substring(1)};return(U()+"-"+U()+"-"+U())};this.createfilter=function(Y,V,X,W,U,Z){if(Y==null||Y==undefined){return null}switch(Y){case"numericfilter":return new N(V,X.toUpperCase());case"stringfilter":return new T(V,X.toUpperCase());case"datefilter":return new H(V,X.toUpperCase(),U,Z);case"booleanfilter":return new I(V,X.toUpperCase());case"custom":return new e(V,X.toUpperCase(),W)}throw new Error("jqxGrid: There is no such filter type. The available filter types are: 'numericfilter', 'stringfilter', 'datefilter' and 'booleanfilter'");return null};this.getfilters=function(){var U=new Array();for(var V=0;V<K.length;V++){var W={value:K[V].filtervalue,condition:K[V].comparisonoperator,operator:Q[V],type:K[V].type};if(K[V].data){W.id=K[V].data}U[V]=W}return U};this.addfilter=function(U,V){K[K.length]=V;V.key=O();Q[Q.length]=U};this.removefilter=function(V){for(var U=0;U<K.length;U++){if(K[U].key==V.key){K.splice(U,1);Q.splice(U,1);break}}};this.getoperatorat=function(U){if(U==undefined||U==null){return null}if(U<0||U>K.length){return null}return Q[U]};this.setoperatorat=function(V,U){if(V==undefined||V==null){return null}if(V<0||V>K.length){return null}Q[U]=U};this.getfilterat=function(U){if(U==undefined||U==null){return null}if(U<0||U>K.length){return null}return K[U]};this.setfilterat=function(U,V){if(U==undefined||U==null){return null}if(U<0||U>K.length){return null}V.key=O();K[U]=V};this.clear=function(){K=new Array();Q=new Array()};var T=function(V,U){this.filtervalue=V;this.comparisonoperator=U;this.type="stringfilter";this.evaluate=function(af){var ae=this.filtervalue;var al=this.comparisonoperator;if(af==null||af==undefined||af==""){if(al=="NULL"){return true}if(al=="EQUAL"&&af==ae){return true}if(al=="NOT_EQUAL"&&af!=ae){return true}if(al!="EMPTY"){return false}else{if(af==""){return true}}}var an="";try{an=af.toString()}catch(ag){return true}var am=function(ap,ao){switch(al){case"EQUAL":return i.jqx.string.equalsIgnoreCase(ap,ao);case"EQUAL_CASE_SENSITIVE":return i.jqx.string.equals(ap,ao);case"NOT_EQUAL":return !i.jqx.string.equalsIgnoreCase(ap,ao);case"NOT_EQUAL_CASE_SENSITIVE":return !i.jqx.string.equals(ap,ao);case"CONTAINS":return i.jqx.string.containsIgnoreCase(ap,ao);case"CONTAINS_CASE_SENSITIVE":return i.jqx.string.contains(ap,ao);case"DOES_NOT_CONTAIN":return !i.jqx.string.containsIgnoreCase(ap,ao);case"DOES_NOT_CONTAIN_CASE_SENSITIVE":return !i.jqx.string.contains(ap,ao);case"EMPTY":return ap=="";case"NOT_EMPTY":return ap!="";case"NOT_NULL":return ap!=null;case"STARTS_WITH":return i.jqx.string.startsWithIgnoreCase(ap,ao);case"ENDS_WITH":return i.jqx.string.endsWithIgnoreCase(ap,ao);case"ENDS_WITH_CASE_SENSITIVE":return i.jqx.string.endsWith(ap,ao);case"STARTS_WITH_CASE_SENSITIVE":return i.jqx.string.startsWith(ap,ao);default:return false}};var Z=new Array();if(ae&&ae.indexOf){if(ae.indexOf("|")>=0||ae.indexOf(" AND ")>=0||ae.indexOf(" OR ")>=0||ae.indexOf(" and ")>=0||ae.indexOf(" or ")>=0){var aa=am(an,ae);if(aa){return aa}var ab=ae.indexOf(" AND ")>=0?ae.split(" AND "):new Array();var Y=ae.indexOf(" OR ")>=0?ae.split(" OR "):new Array();var X=ae.indexOf(" and ")>=0?ae.split(" and "):new Array();var ac=ae.indexOf(" or ")>=0?ae.split(" or "):new Array();var W=ae.indexOf("|")>=0?ae.split("|"):new Array();if(W.length>0){for(var ak=0;ak<W.length;ak++){W[ak]=i.trim(W[ak])}}var aj=ae.indexOf(" ")>=0?ae.split(" "):new Array();if(aj.length>0){for(var ak=0;ak<aj.length;ak++){aj[ak]=i.trim(aj[ak])}}ab=ab.concat(aj);ab=ab.concat(X);Y=Y.concat(W);Y=Y.concat(ac);if(ab.length>0){for(var ak=0;ak<ab.length;ak++){if(!ab[ak].indexOf(" OR ")>=0){Z.push(ab[ak])}}}if(Y.length>0){for(var ak=0;ak<Y.length;ak++){if(!Y[ak].indexOf(" AND ")>=0){Z.push(Y[ak])}}}var ai=undefined;for(var ah=0;ah<Z.length;ah++){var af=Z[ah];var aa=am(an,af);var ad=ah<ab.length?"and":"or";if(ai==undefined){ai=aa}else{if(ad=="or"){ai=ai||aa}else{ai=ai&&aa}}}return ai}}return am(an,ae)}};var I=function(V,U){this.filtervalue=V;this.comparisonoperator=U;this.type="booleanfilter";this.evaluate=function(Y){var X=this.filtervalue;var W=this.comparisonoperator;if(Y==null||Y==undefined){if(W=="NULL"){return true}return false}var Z=Y;switch(W){case"EQUAL":return Z==X||Z.toString()==X.toString();case"NOT_EQUAL":return Z!=X&&Z.toString()!=X.toString();default:return false}}};var N=function(V,U){this.filtervalue=V;this.comparisonoperator=U;this.type="numericfilter";this.evaluate=function(ag){var af=this.filtervalue;var al=this.comparisonoperator;if(ag===null||ag===undefined||ag===""){if(al=="NOT_NULL"){return false}if(al=="NULL"){return true}else{switch(al){case"EQUAL":return ag==af;case"NOT_EQUAL":return ag!=af}return false}}else{if(al=="NULL"){return false}if(al=="NOT_NULL"){return true}}var an=ag;try{an=parseFloat(an)}catch(ah){if(ag.toString()!=""){return false}}var am=function(ap,ao){switch(al){case"EQUAL":return ap==ao;case"NOT_EQUAL":return ap!=ao;case"GREATER_THAN":return ap>ao;case"GREATER_THAN_OR_EQUAL":return ap>=ao;case"LESS_THAN":return ap<ao;case"LESS_THAN_OR_EQUAL":return ap<=ao;case"STARTS_WITH":return i.jqx.string.startsWithIgnoreCase(ap.toString(),ao.toString());case"ENDS_WITH":return i.jqx.string.endsWithIgnoreCase(ap.toString(),ao.toString());case"ENDS_WITH_CASE_SENSITIVE":return i.jqx.string.endsWith(ap.toString(),ao.toString());case"STARTS_WITH_CASE_SENSITIVE":return i.jqx.string.startsWith(ap.toString(),ao.toString());case"CONTAINS":return i.jqx.string.containsIgnoreCase(ap.toString(),ao.toString());case"CONTAINS_CASE_SENSITIVE":return i.jqx.string.contains(ap.toString(),ao.toString());case"DOES_NOT_CONTAIN":return !i.jqx.string.containsIgnoreCase(ap.toString(),ao.toString());case"DOES_NOT_CONTAIN_CASE_SENSITIVE":return !i.jqx.string.contains(ap.toString(),ao.toString());default:return true}};var aa=new Array();if(af&&af.indexOf){if(af.indexOf("|")>=0||af.indexOf(" AND ")>=0||af.indexOf(" OR ")>=0||af.indexOf(" and ")>=0||af.indexOf(" or ")>=0){var ab=am(an,af);if(ab){return ab}af=af.toString();var ac=af.indexOf(" AND ")>=0?af.split(" AND "):new Array();var Z=af.indexOf(" OR ")>=0?af.split(" OR "):new Array();var Y=af.indexOf(" and ")>=0?af.split(" and "):new Array();var ad=af.indexOf(" or ")>=0?af.split(" or "):new Array();ac=ac.concat(Y);Z=Z.concat(ad);var X=af.indexOf("|")>=0?af.split("|"):new Array();if(X.length>0){for(var ak=0;ak<X.length;ak++){X[ak]=i.trim(X[ak])}}Z=Z.concat(X);if(ac.length>0){for(var ak=0;ak<ac.length;ak++){if(!ac[ak].indexOf(" OR ")>=0){aa.push(ac[ak])}}}if(Z.length>0){for(var ak=0;ak<Z.length;ak++){if(!Z[ak].indexOf(" AND ")>=0){aa.push(Z[ak])}}}var aj=undefined;for(var ai=0;ai<aa.length;ai++){var ag=aa[ai];if(ag&&ag.indexOf&&ag.indexOf("..")>=0){var W=ag.toString().split("..");if(W.length==2){ab=an>=W[0]&&an<=W[1]}}else{var ab=am(an,ag)}var ae=ai<ac.length?"and":"or";if(aj==undefined){aj=ab}else{if(ae=="or"){aj=aj||ab}else{aj=aj&&ab}}}return aj}}if(af&&af.indexOf&&af.indexOf("..")>=0){aa=af.toString().split("..");if(aa.length==2){return an>=aa[0]&&an<=aa[1]}}return am(an,af)}};var H=function(X,V,W,ab){this.filtervalue=X;this.type="datefilter";var Z=this;if(W!=undefined&&ab!=undefined){var Y=i.jqx.dataFormat.parsedate(X,W,ab);if(Y!=null){this.filterdate=Y}else{var U=i.jqx.dataFormat.tryparsedate(X,ab);if(U!=null){this.filterdate=U}}}else{var aa=new Date(X);if(aa.toString()=="NaN"||aa.toString()=="Invalid Date"){this.filterdate=i.jqx.dataFormat.tryparsedate(X)}else{this.filterdate=aa}}if(!this.filterdate){var aa=new Date(X);if(aa.toString()=="NaN"||aa.toString()=="Invalid Date"){this.filterdate=i.jqx.dataFormat.tryparsedate(X)}else{this.filterdate=aa}}this.comparisonoperator=V;this.evaluate=function(ao){var an=this.filtervalue;var aw=this.comparisonoperator;if(ao==null||ao==undefined||ao==""){if(aw=="NOT_NULL"){return false}if(aw=="NULL"){return true}else{switch(aw){case"EQUAL":return ao==an;case"NOT_EQUAL":return ao!=an}return false}}else{if(aw=="NULL"){return false}if(aw=="NOT_NULL"){return true}}var ay=new Date();ay.setFullYear(1900,0,1);ay.setHours(12,0,0,0);try{var av=new Date(ao);if(av.toString()=="NaN"||av.toString()=="Invalid Date"){ao=i.jqx.dataFormat.tryparsedate(ao)}else{ao=av}ay=ao;var at=false;if(W!=undefined&&ab!=undefined){if(W.indexOf("t")>=0||W.indexOf("T")>=0||W.indexOf(":")>=0||W.indexOf("f")>=0){at=true;if(an&&an.toString().indexOf(":")==-1){var aj=i.jqx.dataFormat.tryparsedate(an.toString()+":00",ab);if(aj!=null){Z.filterdate=aj}}}}if(!at){ay.setHours(0);ay.setMinutes(0);ay.setSeconds(0)}}catch(ap){if(ao.toString()!=""){return false}}if(Z.filterdate!=null){an=Z.filterdate}else{if(an&&an.indexOf){if(an.indexOf(":")!=-1||!isNaN(parseInt(an))){var ai=new Date(ay);ai.setHours(12,0,0,0);var ah=an.split(":");for(var au=0;au<ah.length;au++){if(au==0){ai.setHours(ah[au])}if(au==1){ai.setMinutes(ah[au])}if(au==2){ai.setSeconds(ah[au])}}an=ai}}}if(at){if(an&&an.setFullYear){if(ay&&ay.getFullYear){if(W.indexOf("d")==-1&&W.indexOf("M")==-1&&W.indexOf("y")==-1){an.setFullYear(ay.getFullYear(),ay.getMonth(),ay.getDate())}}}}var ax=function(aA,az){if(aA==null){aA=""}switch(aw){case"EQUAL":return aA.toString()==az.toString();case"NOT_EQUAL":return aA.toString()!=az.toString();case"GREATER_THAN":return aA>az;case"GREATER_THAN_OR_EQUAL":return aA>=az;case"LESS_THAN":return aA<az;case"LESS_THAN_OR_EQUAL":return aA<=az;case"STARTS_WITH":return i.jqx.string.startsWithIgnoreCase(aA.toString(),az.toString());case"ENDS_WITH":return i.jqx.string.endsWithIgnoreCase(aA.toString(),az.toString());case"ENDS_WITH_CASE_SENSITIVE":return i.jqx.string.endsWith(aA.toString(),az.toString());case"STARTS_WITH_CASE_SENSITIVE":return i.jqx.string.startsWith(aA.toString(),az.toString());case"CONTAINS":return i.jqx.string.containsIgnoreCase(aA.toString(),az.toString());case"CONTAINS_CASE_SENSITIVE":return i.jqx.string.contains(aA.toString(),az.toString());case"DOES_NOT_CONTAIN":return !i.jqx.string.containsIgnoreCase(aA.toString(),az.toString());case"DOES_NOT_CONTAIN_CASE_SENSITIVE":return !i.jqx.string.contains(aA.toString(),az.toString());default:return true}};var ag=new Array();if(an&&an.indexOf){if(an.indexOf("|")>=0||an.indexOf(" AND ")>=0||an.indexOf(" OR ")>=0||an.indexOf(" and ")>=0||an.indexOf(" or ")>=0){var aj=ax(ay,an);if(aj){return aj}var ak=an.indexOf(" AND ")>=0?an.split(" AND "):new Array();var af=an.indexOf(" OR ")>=0?an.split(" OR "):new Array();var ae=an.indexOf(" and ")>=0?an.split(" and "):new Array();var al=an.indexOf(" or ")>=0?an.split(" or "):new Array();ak=ak.concat(ae);af=af.concat(al);var ad=an.indexOf("|")>=0?an.split("|"):new Array();if(ad.length>0){for(var au=0;au<ad.length;au++){ad[au]=i.trim(ad[au])}}af=af.concat(ad);if(ak.length>0){for(var au=0;au<ak.length;au++){if(!ak[au].indexOf(" OR ")>=0){ag.push(ak[au])}}}if(af.length>0){for(var au=0;au<af.length;au++){if(!af[au].indexOf(" AND ")>=0){ag.push(af[au])}}}var ar=undefined;for(var aq=0;aq<ag.length;aq++){var ao=ag[aq];if(ao&&ao.indexOf&&ao.indexOf("..")>=0){var ac=ao.toString().split("..");if(ac.length==2){aj=ay>=ac[0]&&ay<=ac[1]}}else{var aj=ax(ay,ao)}var am=aq<ak.length?"and":"or";if(ar==undefined){ar=aj}else{if(am=="or"){ar=ar||aj}else{ar=ar&&aj}}}return ar}}if(an&&an.indexOf&&an.indexOf("..")>=0){ag=an.toString().split("..");if(ag.length==2){return ay>=ag[0]&&ay<=ag[1]}}return ax(ay,an)}};var e=function(V,U,W){this.filtervalue=V;this.comparisonoperator=U;this.evaluate=function(Y,X){return W(this.filtervalue,Y,this.comparisonoperator)}}}})(jqxBaseFramework);
+
+(function(f){f.jqx.timeSpan=function(){var q={ticksPerMillisecond:10000,millisecondsPerTick:1/10000,ticksPerSecond:1000*10000,secondsPerTick:1/(1000*10000),ticksPerMinute:1000*10000*60,minutesPerTick:1/(1000*10000*60),ticksPerHour:1000*10000*3600,hoursPerTick:1/(1000*10000*3600),ticksPerDay:1000*10000*3600*24,daysPerTick:1/(1000*10000*3600*24),millisPerSecond:1000,millisPerMinute:1000*60,millisPerHour:1000*60*60,millisPerDay:1000*60*60*24,_ticks:0};f.extend(true,this,q);var r=this;r.ticks=function(){return r._ticks};r.days=function(){return parseInt(r._ticks/r.ticksPerDay)};r.timeToMS=function(v,z,x,w){var y=v*3600+z*60+x+w/1000;return parseInt(y*r.ticksPerSecond)};r.hours=function(){return parseInt(r._ticks/r.ticksPerHour)%24};r.milliseconds=function(){return parseInt(r._ticks/r.ticksPerMillisecond)%1000};r.minutes=function(){return parseInt(r._ticks/r.ticksPerMinute)%60};r.seconds=function(){return parseInt(r._ticks/r.ticksPerSecond)%60};r.totalDays=function(){return parseInt(r._ticks*r.daysPerTick)};r.totalHours=function(){return parseInt(r._ticks*r.hoursPerTick)};r.totalMilliseconds=function(){var v=r._ticks*r.millisecondsPerTick;return parseInt(v)};r.totalMinutes=function(){return parseInt(r._ticks*r.minutesPerTick)};r.totalSeconds=function(){return parseInt(r._ticks*r.secondsPerTick)};if(arguments.length===1){r._ticks=arguments[0]}else{if(arguments.length===3){r._ticks=r.timeToMS(arguments[0],arguments[1],arguments[2])}else{if(arguments.length===4){var u=arguments[0];var n=arguments[1];var p=arguments[2];var t=arguments[3];var o=0;var s=(u*3600*24+n*3600+p*60+t)*1000+o;r._ticks=s*r.ticksPerMillisecond}else{if(arguments.length===5){var u=arguments[0];var n=arguments[1];var p=arguments[2];var t=arguments[3];var o=arguments[4];var s=(u*3600*24+n*3600+p*60+t)*1000+o;r._ticks=s*r.ticksPerMillisecond}}}}r.add=function(w){var v=r._ticks+w._ticks;var x=new f.jqx.timeSpan(v);return x};r.substract=function(w){var v=_ticks-w._ticks;return new f.jqx.timeSpan(v)};r.duration=function(){if(r._ticks>=0){return new f.jqx.timeSpan(r._ticks)}else{return new f.jqx.timeSpan(-r._ticks)}};r.equals=function(v){return r._ticks==v._ticks};r.valueOf=function(){return r._ticks};r.compare=function(w,v){if(w._ticks>v._ticks){return 1}if(w._ticks<v._ticks){return -1}return 0};r.interval=function(x,y){var w=x*y;var v=w+(x>=0?0.5:-0.5);return new f.jqx.timeSpan(v*r.ticksPerMillisecond)};r.fromDays=function(v){return r.interval(v,r.millisPerDay)};r.fromHours=function(v){return r.interval(v,r.millisPerHour)};r.fromMilliseconds=function(v){return r.interval(v,1)};r.fromMinutes=function(v){return r.interval(v,r.millisPerMinute)};r.fromSeconds=function(v){return r.interval(v,r.millisPerSecond)};r.fromTicks=function(v){return new f.jqx.timeSpan(v)};return r};var g=[{id:"Local",offset:0,offsetHours:0,displayName:"",supportsDaylightSavingTime:false},{id:"Dateline Standard Time",offset:-720,offsetHours:-12,displayName:"(UTC-12:00) International Date Line West",supportsDaylightSavingTime:false},{id:"UTC-11",offset:-660,offsetHours:-11,displayName:"(UTC-11:00) Coordinated Universal Time-11",supportsDaylightSavingTime:false},{id:"Hawaiteratoran Standard Time",offset:-600,offsetHours:-10,displayName:"(UTC-10:00) Hawaiterator",supportsDaylightSavingTime:false},{id:"Alaskan Standard Time",offset:-540,offsetHours:-9,displayName:"(UTC-09:00) Alaska",supportsDaylightSavingTime:true},{id:"Pacific Standard Time (Mexico)",offset:-480,offsetHours:-8,displayName:"(UTC-08:00) Baja California",supportsDaylightSavingTime:true},{id:"Pacific Standard Time",offset:-480,offsetHours:-8,displayName:"(UTC-08:00) Pacific Time (US & Canada)",supportsDaylightSavingTime:true},{id:"US Mountain Standard Time",offset:-420,offsetHours:-7,displayName:"(UTC-07:00) Arizona",supportsDaylightSavingTime:false},{id:"Mountain Standard Time (Mexico)",offset:-420,offsetHours:-7,displayName:"(UTC-07:00) Chihuahua, La Paz, Mazatlan",supportsDaylightSavingTime:true},{id:"Mountain Standard Time",offset:-420,offsetHours:-7,displayName:"(UTC-07:00) Mountain Time (US & Canada)",supportsDaylightSavingTime:true},{id:"Central Standard Time",offset:-360,offsetHours:-6,displayName:"(UTC-06:00) Central Time (US & Canada)",supportsDaylightSavingTime:true},{id:"Central America Standard Time",offset:-360,offsetHours:-6,displayName:"(UTC-06:00) Central America",supportsDaylightSavingTime:false},{id:"Canada Central Standard Time",offset:-360,offsetHours:-6,displayName:"(UTC-06:00) Saskatchewan",supportsDaylightSavingTime:false},{id:"Central Standard Time (Mexico)",offset:-360,offsetHours:-6,displayName:"(UTC-06:00) Guadalajara, Mexico City, Monterrey",supportsDaylightSavingTime:true},{id:"SA Pacific Standard Time",offset:-300,offsetHours:-5,displayName:"(UTC-05:00) Bogota, Lima, Quito, Rio Branco",supportsDaylightSavingTime:false},{id:"Eastern Standard Time",offset:-300,offsetHours:-5,displayName:"(UTC-05:00) Eastern Time (US & Canada)",supportsDaylightSavingTime:true},{id:"US Eastern Standard Time",offset:-300,offsetHours:-5,displayName:"(UTC-05:00) Indiana (East)",supportsDaylightSavingTime:true},{id:"Venezuela Standard Time",offset:-270,offsetHours:-4.5,displayName:"(UTC-04:30) Caracas",supportsDaylightSavingTime:false},{id:"Atlantic Standard Time",offset:-240,offsetHours:-4,displayName:"(UTC-04:00) Atlantic Time (Canada)",supportsDaylightSavingTime:true},{id:"Paraguay Standard Time",offset:-240,offsetHours:-4,displayName:"(UTC-04:00) Asuncion",supportsDaylightSavingTime:true},{id:"Central Brazilian Standard Time",offset:-240,offsetHours:-4,displayName:"(UTC-04:00) Cuiaba",supportsDaylightSavingTime:true},{id:"Pacific SA Standard Time",offset:-240,offsetHours:-4,displayName:"(UTC-04:00) Santiago",supportsDaylightSavingTime:true},{id:"SA Western Standard Time",offset:-240,offsetHours:-4,displayName:"(UTC-04:00) Georgetown, La Paz, Manaus, San Juan",supportsDaylightSavingTime:false},{id:"Newfoundland Standard Time",offset:-210,offsetHours:-3.5,displayName:"(UTC-03:30) Newfoundland",supportsDaylightSavingTime:true},{id:"SA Eastern Standard Time",offset:-180,offsetHours:-3,displayName:"(UTC-03:00) Cayenne, Fortaleza",supportsDaylightSavingTime:false},{id:"Argentina Standard Time",offset:-180,offsetHours:-3,displayName:"(UTC-03:00) Buenos Aires",supportsDaylightSavingTime:true},{id:"E. South America Standard Time",offset:-180,offsetHours:-3,displayName:"(UTC-03:00) Brasilia",supportsDaylightSavingTime:true},{id:"Bahia Standard Time",offset:-180,offsetHours:-3,displayName:"(UTC-03:00) Salvador",supportsDaylightSavingTime:true},{id:"Montevideo Standard Time",offset:-180,offsetHours:-3,displayName:"(UTC-03:00) Montevideo",supportsDaylightSavingTime:true},{id:"Greenland Standard Time",offset:-180,offsetHours:-3,displayName:"(UTC-03:00) Greenland",supportsDaylightSavingTime:true},{id:"UTC-02",offset:-120,offsetHours:-2,displayName:"(UTC-02:00) Coordinated Universal Time-02",supportsDaylightSavingTime:false},{id:"Mid-Atlantic Standard Time",offset:-120,offsetHours:-2,displayName:"(UTC-02:00) Mid-Atlantic - Old",supportsDaylightSavingTime:true},{id:"Azores Standard Time",offset:-60,offsetHours:-1,displayName:"(UTC-01:00) Azores",supportsDaylightSavingTime:true},{id:"Cape Verde Standard Time",offset:-60,offsetHours:-1,displayName:"(UTC-01:00) Cape Verde Is.",supportsDaylightSavingTime:false},{id:"Morocco Standard Time",offset:0,offsetHours:0,displayName:"(UTC) Casablanca",supportsDaylightSavingTime:true},{id:"UTC",offset:0,offsetHours:0,displayName:"(UTC) Coordinated Universal Time",supportsDaylightSavingTime:false},{id:"GMT Standard Time",offset:0,offsetHours:0,displayName:"(UTC) Dublin, Edinburgh, Lisbon, London",supportsDaylightSavingTime:true},{id:"Greenwich Standard Time",offset:0,offsetHours:0,displayName:"(UTC) Monrovia, Reykjavik",supportsDaylightSavingTime:false},{id:"Central European Standard Time",offset:60,offsetHours:1,displayName:"(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb",supportsDaylightSavingTime:true},{id:"Namibia Standard Time",offset:60,offsetHours:1,displayName:"(UTC+01:00) Windhoek",supportsDaylightSavingTime:true},{id:"W. Central Africa Standard Time",offset:60,offsetHours:1,displayName:"(UTC+01:00) West Central Africa",supportsDaylightSavingTime:false},{id:"W. Europe Standard Time",offset:60,offsetHours:1,displayName:"(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna",supportsDaylightSavingTime:true},{id:"Central Europe Standard Time",offset:60,offsetHours:1,displayName:"(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague",supportsDaylightSavingTime:true},{id:"Romance Standard Time",offset:60,offsetHours:1,displayName:"(UTC+01:00) Brussels, Copenhagen, Madrid, Paris",supportsDaylightSavingTime:true},{id:"FLE Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius",supportsDaylightSavingTime:true},{id:"South Africa Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Harare, Pretoria",supportsDaylightSavingTime:false},{id:"Turkey Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Istanbul",supportsDaylightSavingTime:true},{id:"GTB Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Athens, Bucharest",supportsDaylightSavingTime:true},{id:"Libya Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Tripoli",supportsDaylightSavingTime:true},{id:"E. Europe Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) E. Europe",supportsDaylightSavingTime:true},{id:"Jordan Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Amman",supportsDaylightSavingTime:true},{id:"Middle East Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Beirut",supportsDaylightSavingTime:true},{id:"Egypt Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Cairo",supportsDaylightSavingTime:true},{id:"Syria Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Damascus",supportsDaylightSavingTime:true},{id:"Israel Standard Time",offset:120,offsetHours:2,displayName:"(UTC+02:00) Jerusalem",supportsDaylightSavingTime:true},{id:"Arab Standard Time",offset:180,offsetHours:3,displayName:"(UTC+03:00) Kuwait, Riyadh",supportsDaylightSavingTime:false},{id:"E. Africa Standard Time",offset:180,offsetHours:3,displayName:"(UTC+03:00) Nairobi",supportsDaylightSavingTime:false},{id:"Arabic Standard Time",offset:180,offsetHours:3,displayName:"(UTC+03:00) Baghdad",supportsDaylightSavingTime:true},{id:"Kaliningrad Standard Time",offset:180,offsetHours:3,displayName:"(UTC+03:00) Kaliningrad, Minsk",supportsDaylightSavingTime:true},{id:"Iran Standard Time",offset:210,offsetHours:3.5,displayName:"(UTC+03:30) Tehran",supportsDaylightSavingTime:true},{id:"Mauritius Standard Time",offset:240,offsetHours:4,displayName:"(UTC+04:00) Port Louis",supportsDaylightSavingTime:true},{id:"Georgian Standard Time",offset:240,offsetHours:4,displayName:"(UTC+04:00) Tbilisi",supportsDaylightSavingTime:false},{id:"Caucasus Standard Time",offset:240,offsetHours:4,displayName:"(UTC+04:00) Yerevan",supportsDaylightSavingTime:true},{id:"Arabian Standard Time",offset:240,offsetHours:4,displayName:"(UTC+04:00) Abu Dhabi, Muscat",supportsDaylightSavingTime:false},{id:"Azerbaijan Standard Time",offset:240,offsetHours:4,displayName:"(UTC+04:00) Baku",supportsDaylightSavingTime:true},{id:"Russian Standard Time",offset:240,offsetHours:4,displayName:"(UTC+04:00) Moscow, St. Petersburg, Volgograd",supportsDaylightSavingTime:true},{id:"Afghanistan Standard Time",offset:270,offsetHours:4.5,displayName:"(UTC+04:30) Kabul",supportsDaylightSavingTime:false},{id:"Pakistan Standard Time",offset:300,offsetHours:5,displayName:"(UTC+05:00) Islamabad, Karachi",supportsDaylightSavingTime:true},{id:"West Asia Standard Time",offset:300,offsetHours:5,displayName:"(UTC+05:00) Ashgabat, Tashkent",supportsDaylightSavingTime:false},{id:"India Standard Time",offset:330,offsetHours:5.5,displayName:"(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi",supportsDaylightSavingTime:false},{id:"Sri Lanka Standard Time",offset:330,offsetHours:5.5,displayName:"(UTC+05:30) Sri Jayawardenepura",supportsDaylightSavingTime:false},{id:"Nepal Standard Time",offset:345,offsetHours:5.75,displayName:"(UTC+05:45) Kathmandu",supportsDaylightSavingTime:false},{id:"Central Asia Standard Time",offset:360,offsetHours:6,displayName:"(UTC+06:00) Astana",supportsDaylightSavingTime:false},{id:"Bangladesh Standard Time",offset:360,offsetHours:6,displayName:"(UTC+06:00) Dhaka",supportsDaylightSavingTime:true},{id:"Ekaterinburg Standard Time",offset:360,offsetHours:6,displayName:"(UTC+06:00) Ekaterinburg",supportsDaylightSavingTime:true},{id:"Myanmar Standard Time",offset:390,offsetHours:6.5,displayName:"(UTC+06:30) Yangon (Rangoon)",supportsDaylightSavingTime:false},{id:"SE Asia Standard Time",offset:420,offsetHours:7,displayName:"(UTC+07:00) Bangkok, Hanoi, Jakarta",supportsDaylightSavingTime:false},{id:"N. Central Asia Standard Time",offset:420,offsetHours:7,displayName:"(UTC+07:00) Novosibirsk",supportsDaylightSavingTime:true},{id:"Ulaanbaatar Standard Time",offset:480,offsetHours:8,displayName:"(UTC+08:00) Ulaanbaatar",supportsDaylightSavingTime:false},{id:"China Standard Time",offset:480,offsetHours:8,displayName:"(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi",supportsDaylightSavingTime:false},{id:"Singapore Standard Time",offset:480,offsetHours:8,displayName:"(UTC+08:00) Kuala Lumpur, Singapore",supportsDaylightSavingTime:false},{id:"North Asia Standard Time",offset:480,offsetHours:8,displayName:"(UTC+08:00) Krasnoyarsk",supportsDaylightSavingTime:true},{id:"Taipei Standard Time",offset:480,offsetHours:8,displayName:"(UTC+08:00) Taipei",supportsDaylightSavingTime:false},{id:"W. Australia Standard Time",offset:480,offsetHours:8,displayName:"(UTC+08:00) Perth",supportsDaylightSavingTime:true},{id:"Korea Standard Time",offset:540,offsetHours:9,displayName:"(UTC+09:00) Seoul",supportsDaylightSavingTime:false},{id:"North Asia East Standard Time",offset:540,offsetHours:9,displayName:"(UTC+09:00) Irkutsk",supportsDaylightSavingTime:true},{id:"Tokyo Standard Time",offset:540,offsetHours:9,displayName:"(UTC+09:00) Osaka, Sapporo, Tokyo",supportsDaylightSavingTime:false},{id:"AUS Central Standard Time",offset:570,offsetHours:9.5,displayName:"(UTC+09:30) Darwin",supportsDaylightSavingTime:false},{id:"Cen. Australia Standard Time",offset:570,offsetHours:9.5,displayName:"(UTC+09:30) Adelaide",supportsDaylightSavingTime:true},{id:"West Pacific Standard Time",offset:600,offsetHours:10,displayName:"(UTC+10:00) Guam, Port Moresby",supportsDaylightSavingTime:false},{id:"Tasmania Standard Time",offset:600,offsetHours:10,displayName:"(UTC+10:00) Hobart",supportsDaylightSavingTime:true},{id:"E. Australia Standard Time",offset:600,offsetHours:10,displayName:"(UTC+10:00) Brisbane",supportsDaylightSavingTime:false},{id:"AUS Eastern Standard Time",offset:600,offsetHours:10,displayName:"(UTC+10:00) Canberra, Melbourne, Sydney",supportsDaylightSavingTime:true},{id:"Yakutsk Standard Time",offset:600,offsetHours:10,displayName:"(UTC+10:00) Yakutsk",supportsDaylightSavingTime:true},{id:"Vladivostok Standard Time",offset:660,offsetHours:11,displayName:"(UTC+11:00) Vladivostok",supportsDaylightSavingTime:true},{id:"Central Pacific Standard Time",offset:660,offsetHours:11,displayName:"(UTC+11:00) Solomon Is., New Caledonia",supportsDaylightSavingTime:false},{id:"Magadan Standard Time",offset:720,offsetHours:12,displayName:"(UTC+12:00) Magadan",supportsDaylightSavingTime:true},{id:"Kamchatka Standard Time",offset:720,offsetHours:12,displayName:"(UTC+12:00) Petropavlovsk-Kamchatsky - Old",supportsDaylightSavingTime:true},{id:"Fiji Standard Time",offset:720,offsetHours:12,displayName:"(UTC+12:00) Fiji",supportsDaylightSavingTime:true},{id:"New Zealand Standard Time",offset:720,offsetHours:12,displayName:"(UTC+12:00) Auckland, Wellington",supportsDaylightSavingTime:true},{id:"UTC+12",offset:720,offsetHours:12,displayName:"(UTC+12:00) Coordinated Universal Time+12",supportsDaylightSavingTime:false},{id:"Tonga Standard Time",offset:780,offsetHours:13,displayName:"(UTC+13:00) Nuku'alofa",supportsDaylightSavingTime:false},{id:"Samoa Standard Time",offset:780,offsetHours:13,displayName:"(UTC+13:00) Samoa",supportsDaylightSavingTime:true}];var a=[0,31,59,90,120,151,181,212,243,273,304,334,365];var m=[0,31,60,91,121,152,182,213,244,274,305,335,366];var j=365*4+1;var c=(365*4+1)*25-1;var h=((365*4+1)*25-1)*4+1;var d=(((365*4+1)*25-1)*4+1)*4;var b=(((365*4+1)*25-1)*4+1)*4+((365*4+1)*25-1)*3-367;var l=(((365*4+1)*25-1)*4+1)*25-366;var k=0;var i=((((365*4+1)*25-1)*4+1)*25-366)*(1000*10000*3600*24)-1;var e=((((365*4+1)*25-1)*4+1)*25-366)*(1000*60*60*24);f.jqx.date=function(){var r=this;r.ticksPerMillisecond=10000;r.millisecondsPerTick=1/10000;r.ticksPerSecond=1000*10000;r.secondsPerTick=1/(1000*10000);r.ticksPerMinute=1000*10000*60;r.minutesPerTick=1/(1000*10000*60);r.ticksPerHour=1000*10000*3600;r.hoursPerTick=1/(1000*10000*3600);r.ticksPerDay=1000*10000*3600*24;r.daysPerTick=1/(1000*10000*3600*24);r.millisPerSecond=1000;r.millisPerMinute=1000*60;r.millisPerHour=1000*60*60;r.millisPerDay=1000*60*60*24;r.daysPerYear=365;r.daysPer4Years=j;r.daysPer100Years=c;r.daysPer400Years=h;r.daysTo1601=d;r.daysTo1899=b;r.daysTo10000=l;r.minTicks=0;r.maxTicks=i;r.maxMillis=e;r.datePartYear=0;r.datePartDayOfYear=1;r.datePartMonth=2;r.datePartDay=3;r.daysToMonth365=a;r.daysToMonth366=m;r.minValue=new Date(0);r.maxValue=new Date(((((365*4+1)*25-1)*4+1)*25-366)*(1000*10000*3600*24)-1);r.ticksMask=4611686018427388000;r.flagsMask=13835058055282164000;r.localMask=9223372036854776000;r.ticksCeiling=4611686018427388000;r.kindUnspecified=0;r.kindUtc=4611686018427388000;r.kindLocal=9223372036854776000;r.kindLocalAmbiguousDst=13835058055282164000;r.kindShift=62;r.regexTrim=/^\s+|\s+$/g;r.regexInfinity=/^[+-]?infinity$/i;r.regexHex=/^0x[a-f0-9]+$/i;r.regexParseFloat=/^[+-]?\d*\.?\d*(e[+-]?\d+)?$/;r.calendar={"/":"/",":":":",firstDay:0,days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December",""],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]},AM:["AM","am","AM"],PM:["PM","pm","PM"],eras:[{name:"A.D.",start:null,offset:0}],twoDigitYearMax:2029,patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",t:"h:mm tt",T:"h:mm:ss tt",f:"dddd, MMMM dd, yyyy h:mm tt",F:"dddd, MMMM dd, yyyy h:mm:ss tt",M:"MMMM dd",Y:"yyyy MMMM",S:"yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss",ISO:"yyyy-MM-dd hh:mm:ss",ISO2:"yyyy-MM-dd HH:mm:ss",d1:"dd.MM.yyyy",d2:"dd-MM-yyyy",zone1:"yyyy-MM-ddTHH:mm:ss-HH:mm",zone2:"yyyy-MM-ddTHH:mm:ss+HH:mm",custom:"yyyy-MM-ddTHH:mm:ss.fff",custom2:"yyyy-MM-dd HH:mm:ss.fff"},percentsymbol:"%",currencysymbol:"$",currencysymbolposition:"before",decimalseparator:".",thousandsseparator:","};r.dateData=0;r.timeZone=null;r.timeZones=g;r.internalMS=function(){return r.dateData};r.getDatePart=function(y){var x=r.internalMS();var z=parseInt(x/r.millisPerDay);var G=parseInt(z/r.daysPer400Years);z-=G*r.daysPer400Years;var B=parseInt(z/r.daysPer100Years);if(B==4){B=3}z-=B*r.daysPer100Years;var D=parseInt(z/r.daysPer4Years);z-=D*r.daysPer4Years;var E=parseInt(z/r.daysPerYear);if(E==4){E=3}if(y==r.datePartYear){return parseInt(G*400+B*100+D*4+E+1)}z-=E*r.daysPerYear;if(y==r.datePartDayOfYear){return parseInt(z+1)}var C=E==3&&(D!=24||B==3);var F=C?r.daysToMonth366:r.daysToMonth365;var A=z>>5+1;while(z>=F[A]){A++}if(y==r.datePartMonth){return parseInt(A)}return parseInt(z-F[A-1]+1)};r.dayOfWeek=function(){var y=r.dateData;var x=parseInt(y/r.millisPerDay+1)%7;return x},r.dayOfYear=function(){return r.getDatePart(r.datePartDayOfYear)};r.weekOfYear=function(z){var x=r.toDate();var C=z||r.calendar.firstDay;var B=new Date(x.getFullYear(),0,1);var y=B.getDay()-C;y=(y>=0?y:y+7);var A=Math.floor((x.getTime()-B.getTime()-(x.getTimezoneOffset()-B.getTimezoneOffset())*60000)/86400000)+1;var D;if(y<4){D=Math.floor((A+y-1)/7)+1;if(D>52){nYear=new Date(x.getFullYear()+1,0,1);nday=nYear.getDay()-C;nday=nday>=0?nday:nday+7;D=nday<4?1:53}}else{D=Math.floor((A+y-1)/7)}return D};r.subtract=function(x){return new f.jqx.timeSpan(r.dateData*r.ticksPerMillisecond-x.dateData*r.ticksPerMillisecond)};r.dateToMS=function(z,A,x){if(z>=1&&z<=9999&&A>=1&&A<=12){z=parseInt(z);var D=r.isLeapYear(z)?r.daysToMonth366:r.daysToMonth365;if(x>=1&&x<=D[A]-D[A-1]){var C=z-1;var B=C*365+parseInt(C/4)-parseInt(C/100)+parseInt(C/400)+D[A-1]+x-1;return B*r.millisPerDay}}};r.isLeapYear=function(x){if(x<1||x>9999){throw new Error("Year out of Range")}return x%4==0&&(x%100!=0||x%400==0)};r.timeToMS=function(x,B,z,y){if(x>=0&&x<24&&B>=0&&B<60&&z>=0&&z<60){var A=parseInt(x*3600+B*60+z);if(y>0&&y<1000){return(A*r.millisPerSecond)+y}return A*r.millisPerSecond}};r.daysInMonth=function(x,y){if(y<1||y>12){throw new Error("Month out of Range")}var z=r.isLeapYear(x)?r.daysToMonth366:r.daysToMonth365;return z[y]-z[y-1]};r.arrayIndexOf=function(A,z){if(A.indexOf){return A.indexOf(z)}for(var x=0,y=A.length;x<y;x++){if(A[x]===z){return x}}return -1};r.startsWith=function(y,x){return y.indexOf(x)===0};r.endsWith=function(y,x){return y.substr(y.length-x.length)===x},r.trim=function(x){return(x+"").replace(r.regexTrim,"")};r.expandFormat=function(B,A){A=A||"F";var z,y=B.patterns,x=A.length;if(x===1){z=y[A];if(!z){throw"Invalid date format string '"+A+"'."}A=z}else{if(x===2&&A.charAt(0)==="%"){A=A.charAt(1)}}return A};r.getEra=function(z,y){if(!y){return 0}if(typeof z==="string"){return 0}var C,B=z.getTime();for(var A=0,x=y.length;A<x;A++){C=y[A].start;if(C===null||B>=C){return A}}return 0};r.toUpper=function(x){return x.split("\u00A0").join(" ").toUpperCase()};r.toUpperArray=function(x){var A=[];for(var z=0,y=x.length;z<y;z++){A[z]=r.toUpper(x[z])}return A};r.getEraYear=function(y,A,x,B){var z=y.getFullYear();if(!B&&A.eras){z-=A.eras[x].offset}return z};r.getDayIndex=function(B,A,y){var x,C=B.days,z=B._upperDays;if(!z){B._upperDays=z=[r.toUpperArray(C.names),r.toUpperArray(C.namesAbbr),r.toUpperArray(C.namesShort)]}A=A.toUpperCase();if(y){x=r.arrayIndexOf(z[1],A);if(x===-1){x=r.arrayIndexOf(z[2],A)}}else{x=r.arrayIndexOf(z[0],A)}return x};r.getMonthIndex=function(E,D,z){var x=E.months,y=E.monthsGenitive||E.months,B=E._upperMonths,C=E._upperMonthsGen;if(!B){E._upperMonths=B=[r.toUpperArray(x.names),r.toUpperArray(x.namesAbbr)];E._upperMonthsGen=C=[r.toUpperArray(y.names),r.toUpperArray(y.namesAbbr)]}D=r.toUpper(D);var A=r.arrayIndexOf(z?B[1]:B[0],D);if(A<0){A=r.arrayIndexOf(z?C[1]:C[0],D)}return A};r.appendPreOrPostMatch=function(A,x){var z=0,C=false;for(var B=0,y=A.length;B<y;B++){var D=A.charAt(B);switch(D){case"'":if(C){x.push("'")}else{z++}C=false;break;case"\\":if(C){x.push("\\")}C=!C;break;default:x.push(D);C=false;break}}return z};r.getTokenRegExp=function(){return/\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g};r.tryparseDate=function(ad,ae,U){if(ae==undefined||ae==null){ae=r.calendar}else{if(ae!=null){if(ae&&f.type(ae)==="string"&&Globalize){var aj=Globalize.cultures[ae];if(aj){ae=aj.calendar}}}}if(U!=undefined){if(f.type(U)==="array"){for(var ak=0;ak<U.length;ak++){var am=r.parseDate(ad,U[ak],ae);if(am){return am}}}var am=r.parseDate(ad,U,ae);if(am){return am}}var I=this;if(ad==""){return null}if(ad!=null&&!ad.substring){ad=ad.toString()}if(ad!=null&&ad.substring(0,6)=="/Date("){var ao=/^\/Date\((-?\d+)(\+|-)?(\d+)?\)\/$/;var al=new Date(+ad.replace(/\/Date\((\d+)\)\//,"$1"));if(al=="Invalid Date"){var ag=ad.match(/^\/Date\((\d+)([-+]\d\d)(\d\d)\)\/$/);var al=null;if(ag){al=new Date(1*ag[1]+3600000*ag[2]+60000*ag[3])}}if(al==null||al=="Invalid Date"||isNaN(al)){var J=ao.exec(ad);if(J){var M=new Date(parseInt(J[1]));if(J[2]){var S=parseInt(J[3]);if(J[2]==="-"){S=-S}var O=M.getUTCMinutes();M.setUTCMinutes(O-S)}if(!isNaN(M.valueOf())){return M}}}return al}var G={jqxdate:"yyyy-MM-dd HH:mm:ss",d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",t:"h:mm tt",T:"h:mm:ss tt",f:"dddd, MMMM dd, yyyy h:mm tt",F:"dddd, MMMM dd, yyyy h:mm:ss tt",M:"MMMM dd",Y:"yyyy MMMM",S:"yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss",ISO:"yyyy-MM-dd hh:mm:ss",ISO2:"yyyy-MM-dd HH:mm:ss",ISO8601:"yyyy-MM-ddTHH:mm:ss.sssZ",d1:"dd.MM.yyyy",d2:"dd-MM-yyyy",d3:"MM-dd-yyyy",d4:"MM.dd.yyyy",zone1:"yyyy-MM-ddTHH:mm:ss-HH:mm",zone2:"yyyy-MM-ddTHH:mm:ss+HH:mm",custom:"yyyy-MM-ddTHH:mm:ss.fff",custom2:"yyyy-MM-dd HH:mm:ss.fff",iso:"yyyy-MM-ddTHH:mm:ssZ",iso_date1:"yyyy-MM-dd",iso_date2:"yyyy-MM-dd",iso_date3:"yyyy-ddd",iso_date4:"yyyy-MM-dd HH:mm",iso_date5:"yyyy-MM-dd HH:mm Z",iso_date6:"yyyy-MMM-dd",iso_date7:"yyyy-MM",iso_date8:"yyyy-MMM",iso_date9:"yyyy-MMMM",iso_date10:"yyyy-MMMM-dd",iso_time1:"HH:mm:ss.tttt",iso_time2:"HH:mm:ss",iso_time3:"HH:mm",iso_time4:"HH",iso_time5:"yyyyyy-MM-dd",iso_time6:"yyyyyy-MM-dd"};for(var L in G){al=r.parseDate(ad,G[L],ae);if(al){return al}}var F=ae.patterns;for(L in F){al=r.parseDate(ad,F[L],ae);if(al){if(L=="ISO"){var W=r.parseDate(ad,F.ISO2,ae);if(W){return W}}return al}}if(f.type(ad)==="string"){ad=r.trim(ad);var af=[":","/","-"," ",","];var E=function(at,y,ar){return ar.replace(new RegExp(at,"g"),y)};ad=E(", ",",",ad);var A="";var R=ad;if(ad.indexOf(":")>=0){A=ad.substring(ad.indexOf(":")-2);A=r.trim(A);R=ad.substring(0,ad.indexOf(":")-2)}else{if(ad.toUpperCase().indexOf("AM")>=0){A=ad.substring(ad.toUpperCase().indexOf("AM")-2);A=r.trim(A);R=ad.substring(0,ad.toUpperCase().indexOf("AM")-2)}else{if(ad.toUpperCase().indexOf("PM")>=0){A=ad.substring(ad.toUpperCase().indexOf("PM")-2);A=r.trim(A);R=ad.substring(0,ad.toUpperCase().indexOf("PM")-2)}}}var x=new Date();var ac=false;if(R){for(var ak=0;ak<af.length;ak++){if(R.indexOf(af[ak])>=0){D=R.split(af[ak]);break}}var z=new Array();var P=new Array();var Y=new Array();var K=null;var aq=null;for(var ak=0;ak<D.length;ak++){var H=D[ak];var X=r.parseDate(H,"d",ae)||r.parseDate(H,"dd",ae)||r.parseDate(H,"ddd",ae)||r.parseDate(H,"dddd",ae);if(X){z.push(X.getDate());if(H.length>2){K=ak;break}}}for(var ak=0;ak<D.length;ak++){var H=D[ak];var N=r.parseDate(H,"M",ae)||r.parseDate(H,"MM",ae)||r.parseDate(H,"MMM",ae)||r.parseDate(H,"MMMM",ae);if(N){if(K!=undefined&&K==ak){continue}P.push(N.getMonth());if(H.length>2){aq=ak;break}}}for(var ak=0;ak<D.length;ak++){var H=D[ak];var Z=r.parseDate(H,"yyyy",ae);if(Z){if(K!=undefined&&K==ak){continue}if(aq!=undefined&&aq==ak){continue}Y.push(Z.getFullYear())}}var ah=new Array();for(var an=0;an<z.length;an++){for(var ag=0;ag<P.length;ag++){for(var ab=0;ab<Y.length;ab++){var M=new Date(Y[ab],P[ag],z[an]);if(Y[ab]<1970){M.setFullYear(Y[ab])}if(M.getTime()!=NaN){ah.push(M)}}}}if(ah.length>0){x=ah[0];ac=true}}if(A){var aa=A.indexOf(":")>=0?A.split(":"):A;var C=r.parseDate(A,"h:mm tt",ae)||r.parseDate(A,"HH:mm:ss.fff",ae)||r.parseDate(A,"HH:mm:ss.ff",ae)||r.parseDate(A,"h:mm:ss tt",ae)||r.parseDate(A,"HH:mm:ss.tttt",ae)||r.parseDate(A,"HH:mm:ss",ae)||r.parseDate(A,"HH:mm",ae)||r.parseDate(A,"HH",ae);var Q=0,B=0,T=0,V=0;if(C&&C.getTime()!=NaN){Q=C.getHours();B=C.getMinutes();T=C.getSeconds();V=C.getMilliseconds()}else{if(aa.length==1){Q=parseInt(aa[0])}if(aa.length==2){Q=parseInt(aa[0]);B=parseInt(aa[1])}if(aa.length==3){Q=parseInt(aa[0]);B=parseInt(aa[1]);if(aa[2].indexOf(".")>=0){T=parseInt(aa[2].toString().split(".")[0]);V=parseInt(aa[2].toString().split(".")[1])}else{T=parseInt(aa[2])}}if(aa.length==4){Q=parseInt(aa[0]);B=parseInt(aa[1]);T=parseInt(aa[2]);V=parseInt(aa[3])}}if(x&&!isNaN(Q)&&!isNaN(B)&&!isNaN(T)&&!isNaN(V)){x.setHours(Q,B,T,V);ac=true}}if(ac){return x}}if(ad!=null){var W=null;var D=[":","/","-"];var ai=true;for(var H=0;H<D.length;H++){if(ad.indexOf(D[H])!=-1){ai=false}}if(ai){var ap=new Number(ad);if(!isNaN(ap)){return new Date(ap)}}}return null};r.getParseRegExp=function(x,I){var K=x._parseRegExp;if(!K){x._parseRegExp=K={}}else{var B=K[I];if(B){return B}}var H=r.expandFormat(x,I).replace(/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,"\\\\$1"),F=["^"],y=[],E=0,A=0,N=r.getTokenRegExp(),C;while((C=N.exec(H))!==null){var M=H.slice(E,C.index);E=N.lastIndex;A+=r.appendPreOrPostMatch(M,F);if(A%2){F.push(C[0]);continue}var z=C[0],D=z.length,J;switch(z){case"dddd":case"ddd":case"MMMM":case"MMM":case"gg":case"g":J="(\\D+)";break;case"tt":case"t":J="(\\D*)";break;case"yyyy":case"fff":case"ff":case"f":J="(\\d{"+D+"})";break;case"dd":case"d":case"MM":case"M":case"yy":case"y":case"HH":case"H":case"hh":case"h":case"mm":case"m":case"ss":case"s":J="(\\d\\d?)";break;case"zzz":J="([+-]?\\d\\d?:\\d{2})";break;case"zz":case"z":J="([+-]?\\d\\d?)";break;case"/":J="(\\"+x["/"]+")";break;default:throw"Invalid date format pattern '"+z+"'.";break}if(J){F.push(J)}y.push(C[0])}r.appendPreOrPostMatch(H.slice(E),F);F.push("$");var L=F.join("").replace(/\s+/g,"\\s+"),G={regExp:L,groups:y};return K[I]=G};r.outOfRange=function(z,x,y){return z<x||z>y};r.expandYear=function(C,A){var y=new Date(),x=r.getEra(y);if(A<100){var z=C.twoDigitYearMax;z=typeof z==="string"?new Date().getFullYear()%100+parseInt(z,10):z;var B=r.getEraYear(y,C,x);A+=B-(B%100);if(A>z){A-=100}}return A};r.parseDate=function(S,Z,N){if(N==undefined||N==null){N=r.calendar}S=r.trim(S);var K=N,ae=r.getParseRegExp(K,Z),E=new RegExp(ae.regExp).exec(S);if(E===null){return null}var aa=ae.groups,Q=null,I=null,ad=null,ac=null,J=null,C=0,V,U=0,ab=0,x=0,z=null,L=false;for(var W=0,Y=aa.length;W<Y;W++){var y=E[W+1];if(y){var R=aa[W],B=R.length,D=parseInt(y,10);switch(R){case"dd":case"d":ac=D;if(r.outOfRange(ac,1,31)){return null}break;case"MMM":case"MMMM":case"MMMMM":case"MMMMMM":case"MMMMMMM":case"MMMMMMMM":ad=r.getMonthIndex(K,y,B===3);if(r.outOfRange(ad,0,11)){return null}break;case"M":case"MM":ad=D-1;if(r.outOfRange(ad,0,11)){return null}break;case"y":case"yy":case"yyyy":I=B<4?r.expandYear(K,D):D;if(r.outOfRange(I,0,9999)){return null}break;case"h":case"hh":C=D;if(C===12){C=0}if(r.outOfRange(C,0,11)){return null}break;case"H":case"HH":C=D;if(r.outOfRange(C,0,23)){return null}break;case"m":case"mm":U=D;if(r.outOfRange(U,0,59)){return null}break;case"s":case"ss":ab=D;if(r.outOfRange(ab,0,59)){return null}break;case"tt":case"t":L=K.PM&&(y===K.PM[0]||y===K.PM[1]||y===K.PM[2]);if(!L&&(!K.AM||(y!==K.AM[0]&&y!==K.AM[1]&&y!==K.AM[2]))){return null}break;case"f":case"ff":case"fff":x=D*Math.pow(10,3-B);if(r.outOfRange(x,0,999)){return null}break;case"ddd":case"dddd":J=r.getDayIndex(K,y,B===3);if(r.outOfRange(J,0,6)){return null}break;case"zzz":var A=y.split(/:/);if(A.length!==2){return null}V=parseInt(A[0],10);if(r.outOfRange(V,-12,13)){return null}var G=parseInt(A[1],10);if(r.outOfRange(G,0,59)){return null}z=(V*60)+(r.startsWith(y,"-")?-G:G);break;case"z":case"zz":V=D;if(r.outOfRange(V,-12,13)){return null}z=V*60;break;case"g":case"gg":var M=y;if(!M||!K.eras){return null}M=trim(eraNathat.toLowerCase());for(var X=0,T=K.eras.length;X<T;X++){if(M===K.eras[X].nathat.toLowerCase()){Q=X;break}}if(Q===null){return null}break}}}var H=new Date(),P,F=K.convert;P=H.getFullYear();if(I===null){I=P}else{if(K.eras){I+=K.eras[(Q||0)].offset}}if(ad===null){ad=0}if(ac===null){ac=1}if(F){H=F.toGregorian(I,ad,ac);if(H===null){return null}}else{H.setFullYear(I,ad,ac);if(H.getDate()!==ac){return null}if(J!==null&&H.getDay()!==J){return null}}if(L&&C<12){C+=12}H.setHours(C,U,ab,x);if(z!==null){var O=H.getMinutes()-(z+H.getTimezoneOffset());H.setHours(H.getHours()+parseInt(O/60,10),O%60)}return H},r.toString=function(U,L){if(U===undefined){U="yyyy-MM-dd HH:mm:ss"}if(f.jqx.date.cache&&f.jqx.date.cache[r.dateData+U]){return f.jqx.date.cache[r.dateData+U]}if(L&&f.type(L)==="string"&&Globalize){var V=Globalize.cultures[L];if(V){L=V.calendar}}var Q=r.toDate();if(L==undefined||L==null){L=r.calendar}if(typeof Q==="string"){return Q}var A=Q.toString()+"_"+U;if(!U||!U.length||U==="i"){var X;X=r.formatDate(Q,L.patterns.F,L);return X}var R=L.eras,y=U==="s";U=r.expandFormat(L,U);X=[];var D,S=["0","00","000"],H,I,x=/([^d]|^)(d|dd)([^d]|$)/g,W=0,N=r.getTokenRegExp(),z;function F(Y,ab){var aa,Z=Y+"";if(ab>1&&Z.length<ab){aa=(S[ab-2]+Z);return aa.substr(aa.length-ab,ab)}else{aa=Z}return aa}function T(){if(H||I){return H}H=x.test(U);I=true;return H}function B(Z,Y){if(z){return z[Y]}if(Z.getMonth!=undefined){switch(Y){case 0:return Z.getFullYear();case 1:return Z.getMonth();case 2:return Z.getDate()}}}for(;;){var E=N.lastIndex,M=N.exec(U);var J=U.slice(E,M?M.index:U.length);W+=r.appendPreOrPostMatch(J,X);if(!M){break}if(W%2){X.push(M[0]);continue}var O=M[0],C=O.length;switch(O){case"ddd":case"dddd":var K=(C===3)?L.days.namesAbbr:L.days.names;X.push(K[Q.getDay()]);break;case"d":case"dd":H=true;X.push(F(B(Q,2),C));break;case"MMM":case"MMMM":var P=B(Q,1);X.push(L.months[C===3?"namesAbbr":"names"][P]);break;case"M":case"MM":X.push(F(B(Q,1)+1,C));break;case"y":case"yy":case"yyyy":P=r.getEraYear(Q,L,r.getEra(Q,R),y);if(C<4){P=P%100}X.push(F(P,C));break;case"h":case"hh":D=Q.getHours()%12;if(D===0){D=12}X.push(F(D,C));break;case"H":case"HH":X.push(F(Q.getHours(),C));break;case"m":case"mm":X.push(F(Q.getMinutes(),C));break;case"s":case"ss":X.push(F(Q.getSeconds(),C));break;case"t":case"tt":P=Q.getHours()<12?(L.AM?L.AM[0]:" "):(L.PM?L.PM[0]:" ");X.push(C===1?P.charAt(0):P);break;case"f":case"ff":case"fff":X.push(F(Q.getMilliseconds(),3).substr(0,C));break;case"z":case"zz":D=Q.getTimezoneOffset()/60;X.push((D<=0?"+":"-")+F(Math.floor(Math.abs(D)),C));break;case"zzz":D=Q.getTimezoneOffset()/60;X.push((D<=0?"+":"-")+F(Math.floor(Math.abs(D)),2)+":"+F(Math.abs(Q.getTimezoneOffset()%60),2));break;case"g":case"gg":if(L.eras){X.push(L.eras[r.getEra(Q,R)].name)}break;case"/":X.push(L["/"]);break;default:throw"Invalid date format pattern '"+O+"'.";break}}var G=X.join("");if(!f.jqx.date.cache){f.jqx.date.cache=new Array()}f.jqx.date.cache[r.dateData+U]=G;return G};r.add=function(B,C,y){var z=r.internalMS();if(C===undefined){if(y===false){r.dateData=(z+parseInt(B._ticks/r.ticksPerMillisecond));return r}var x=new f.jqx.date((z+parseInt(B._ticks/r.ticksPerMillisecond)));x.timeZone=r.timeZone;return x}var A=(B*C);if(A<=-r.maxMillis||A>=r.maxMillis){throw new Error("Out of Range")}if(y===false){r.dateData=(z+A);return r}var x=new f.jqx.date(z+A);x.timeZone=r.timeZone;return x};r.addDays=function(y,x){return r.add(y,r.millisPerDay,x)};r.clone=function(){var x=new f.jqx.date(r.dateData);x.timeZone=r.timeZone;return x};r.clearTime=function(){var A=r.month();var z=r.year();var y=r.day();var x=new f.jqx.date(z,A,y,0,0,0,0);x.timeZone=r.timeZone;return x};r.addHours=function(y,x){return r.add(y,r.millisPerHour,x)};r.addMilliseconds=function(y,x){return r.add(y,1,x)};r.addMinutes=function(y,x){return r.add(y,r.millisPerMinute,x)};r.addMonths=function(z,B){if(z<-120000||z>120000){throw new Error("Invalid Months Value")}var F=parseInt(r.getDatePart(r.datePartYear));var x=parseInt(r.getDatePart(r.datePartMonth));var D=parseInt(r.getDatePart(r.datePartDay));var C=x-1+z;if(C>=0){x=C%12+1;F=F+C/12}else{x=12+(C+1)%12;F=F+(C-11)/12}F=parseInt(F);if(F<1||F>9999){throw new Error("Year out of range")}var E=r.daysInMonth(F,x);if(D>E){D=E}if(B===false){r.dateData=(r.dateToMS(F,x,D)+r.internalMS()%r.millisPerDay);return r}var A=new f.jqx.date((r.dateToMS(F,x,D)+r.internalMS()%r.millisPerDay));A.timeZone=r.timeZone;return A};r.addSeconds=function(y,x){return r.add(y,r.millisPerSecond,x)};r.addYears=function(y,x){return r.addMonths(y*12,x)};r.getTimeZoneOffset=function(){var y=new Date();var x=new Date(y.getFullYear(),0,1);var z=new Date(y.getFullYear(),6,1);var A=y.getTimezoneOffset()<Math.max(x.getTimezoneOffset(),z.getTimezoneOffset());return{offset:-(y.getTimezoneOffset()/60),dst:+A}};r.isInDaylightSavingTime=function(){var y=new Date();var z=new Date(y.getFullYear(),0,1);var x=new Date(y.getFullYear(),6,1);return r.date().getTimezoneOffset()<Math.max(z.getTimezoneOffset(),x.getTimezoneOffset())};r.supportsDaylightSavingTime=function(){var y=new Date();var z=new Date(y.getFullYear(),0,1);var x=new Date(y.getFullYear(),6,1);return z.getTimezoneOffset()!=x.getTimezoneOffset()};r.date=function(){var A=r.month();var z=r.year();var y=r.day();var x=new f.jqx.date(z,A,y);x.timeZone=r.timeZone;return x};r.isWeekend=function(){return r.dayOfWeek()==0||r.dayOfWeek()==6};r.toDate=function(J){var E=r.month();var F=r.year();var G=r.day();var A=r.hour();var z=r.minute();var x=r.second();var L=r.millisecond();var K=new Date(F,E-1,G);if(F<1970){K.setFullYear(F)}K.setHours(A,z,x,L);if(J){var D=r.timeZones.filter(function(M){return M.id==J});if(D.length){var B=D[0].offset;if(J=="Local"){B=-K.getTimezoneOffset()}var C=K.getTime();var I=K.getTimezoneOffset()*60*1000;if(r.timeZone){var y=r.timeZones.filter(function(M){return M.id==r.timeZone});if(y.length){var I=-y[0].offset*60*1000}}var H=C+I;K=new Date(H+(60*1000*B))}}return K};r.toTimeZone=function(y){var A=y;if(A==null){A="Local"}var x=r.toDate(A);var z=new f.jqx.date(x);z.timeZone=y;return z};r.day=function(){return r.getDatePart(r.datePartDay)};r.month=function(){return r.getDatePart(r.datePartMonth)};r.year=function(){return r.getDatePart(r.datePartYear)};r.millisecond=function(){return parseInt((r.internalMS())%1000)};r.hour=function(){return parseInt((r.internalMS()/r.millisPerHour)%24)};r.minute=function(){return parseInt((r.internalMS()/r.millisPerMinute)%60)};r.second=function(){return parseInt((r.internalMS()/r.millisPerSecond)%60)};r.valueOf=function(){return r.dateData};r.equals=function(x){return r.dateData===x.dateData};if(arguments.length===0){var o=new Date();r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}else{if(arguments.length===1){if(arguments[0]==undefined){arguments[0]="todayDate"}var v=typeof arguments[0]==="number"&&isFinite(arguments[0]);if(!v&&f.type(arguments[0])==="string"){if(arguments[0]==="today"){var o=new Date();r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}else{if(arguments[0]==="todayDate"){var o=new Date();o.setHours(0,0,0,0);r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}else{var o=r.tryparseDate(arguments[0]);r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}}}else{if(typeof(arguments[0])==="number"){r.dateData=arguments[0]}else{if(f.type(arguments[0])=="date"){var o=arguments[0];r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}else{if(arguments[0].dateData!==undefined){r.dateData=arguments[0].dateData}else{r.dateData=arguments[0]}}}}}else{if(arguments.length===2){if(arguments[0]==undefined){arguments[0]="todayDate"}var v=typeof arguments[0]==="number"&&isFinite(arguments[0]);if(!v&&f.type(arguments[0])==="string"){if(arguments[0]==="today"){var o=new Date();r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}else{if(arguments[0]==="todayDate"){var o=new Date();o.setHours(0,0,0,0);r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}else{var o=r.tryparseDate(arguments[0]);r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}}}else{if(typeof(arguments[0])==="number"){r.dateData=arguments[0]}else{if(f.type(arguments[0])=="date"){var o=arguments[0];r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}else{if(arguments[0].dateData!==undefined){r.dateData=arguments[0].dateData}else{r.dateData=arguments[0]}}}}r.timeZone=arguments[1]}else{if(arguments.length>2){if(f.type(arguments[0])==="string"){var o=r.tryparseDate(arguments[0],arguments[2],arguments[1]);r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}else{var t=arguments[0];var s=arguments[1];var u=arguments[2];var q=arguments[3];var p=arguments[4];var n=arguments[5];var w=arguments[6];if(q===undefined){q=0}if(p===undefined){p=0}if(n===undefined){n=0}if(w===undefined){w=0}s--;var o=new Date(t,s,u,q,p,n,w);if(t<1970){o.setFullYear(t)}r.dateData=r.dateToMS(o.getFullYear(),o.getMonth()+1,o.getDate())+r.timeToMS(o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds())}}}}}return r}})(jqxBaseFramework);if(!Array.prototype.filter){Array.prototype.filter=function(b){if(this===void 0||this===null){throw new TypeError()}var f=Object(this);var a=f.length>>>0;if(typeof b!=="function"){throw new TypeError()}var e=[];var d=arguments[1];for(var c=0;c<a;c++){if(c in f){var g=f[c];if(b.call(d,g,c,f)){e.push(g)}}}return e}};
+
+(function(b){var a=0;b.jqx.jqxWidget("jqxTouch","",{});b.extend(b.jqx._jqxTouch.prototype,{defineInstance:function(){this.swipeMin=50;this.swipeMax=500;this.swipeDelay=1000;this.tapHoldDelay=750;this.swipeMaxVerticalDisance=100;this.swipeMaxHorizontalDisance=100;this.orientationChangeEnabled=true;this._eventsMap={mousedown:b.jqx.mobile.getTouchEventName("touchstart"),mouseup:b.jqx.mobile.getTouchEventName("touchend"),mousemove:b.jqx.mobile.getTouchEventName("touchmove")};this._swipeLocked=false;this._rotationInterval=200;this._events=["tap","taphold","swipe","swipeleft","swiperight","swipetop","swipebottom","orientationchange"];this._instanceId=-1},createInstance:function(){a+=1;this._instanceId=a;this._isTouchDevice=b.jqx.mobile.isTouchDevice();this._defineRotateHandler()},refresh:function(){this._removeEventListeners();this._addEventListeners()},_defineRotateHandler:function(){var c=this;if(!this._rotateHandler){this._rotateHandler=function(){c._checkOrientation()}}},_getEvent:function(c){if(this._isTouchDevice){c=this._eventsMap[c]}return c+this._getEventNamespace()},_getEventNamespace:function(){return".swipe"+this._instanceId},_removeEventListeners:function(){clearInterval(this._rotateInterval);this.removeHandler(b(document),this._getEvent("mouseup"));this.removeHandler(this.host,this._getEvent("mousedown"));this.removeHandler(this.host,this._getEvent("mousemove"));if(window.removeEventListener){window.removeEventListener("resize",this._rotateHandler);window.removeEventListener("orientationchange",this._rotateHandler)}},_addEventListeners:function(){var c=this;this.addHandler(this.host,this._getEvent("mouseup"),function(d){c._resetSwipe();c._resetTap()});this.addHandler(this.host,this._getEvent("mousedown"),function(d){c._initSwipe(d);c._initTap(d)});this.addHandler(this.host,this._getEvent("mousemove"),function(d){c._maxSwipeVerticalDistance=Math.max(c._maxSwipeVerticalDistance,Math.abs(c._startY-c._getCoordinates(d).y));c._maxSwipeHorizontalDistance=Math.max(c._maxSwipeHorizontalDistance,Math.abs(c._startX-c._getCoordinates(d).x));c._mouseMoved=true;return c._handleSwipeEvents(d)});this._rotationListeners()},_handleSwipeEvents:function(d){var c=true;if(this._mouseDown&&!this._tapHoldFired){c=this._handleVerticalSwipeEvents(d);c=this._handleHorizontalSwipeEvents(d)}this._lastPosition=this._getCoordinates(d);return c},_handleVerticalSwipeEvents:function(f){var d,c;d=this._getCoordinates(f).y;c=d-this._startY;if(this._maxSwipeHorizontalDistance<this.swipeMaxHorizontalDisance){return this._swiped(f,c,2)}return true},_handleHorizontalSwipeEvents:function(f){var d,c;d=this._getCoordinates(f).x;c=d-this._startX;if(this._maxSwipeVerticalDistance<this.swipeMaxVerticalDisance){return this._swiped(f,c)}return true},_swiped:function(f,d,c){c=c||0;if(Math.abs(d)>=this.swipeMin&&!this._swipeEvent&&!this._swipeLocked){this._swipeEvent=this._getSwipeEvent(d,c)}if(Math.abs(d)<=this.swipeMax){f.stopImmediatePropagation();return false}return true},_getSwipeEvent:function(e,d){var c;if(e<0){c={eventId:3+d,data:{target:this.host}}}else{c={eventId:4+d,data:{target:this.host}}}return c},_resetSwipe:function(){if(this._swipeEvent&&!this._swipeLocked){this._raiseEvent(2,this._swipeEvent.data);this._raiseEvent(this._swipeEvent.eventId,this._swipeEvent.data)}clearTimeout(this._swipeTimeout);this._mouseDown=false},_resetTap:function(){clearTimeout(this._tapHoldTimeout);if(!this._tapHoldFired&&!this._mouseMoved){this._raiseEvent(0,{target:this.host})}},_initTap:function(d){var c=this;this._mouseMoved=false;this._tapHoldFired=false;this._tapHoldTimeout=setTimeout(function(){if(!c._mouseMoved){c._raiseEvent(1,{target:this.host});c._tapHoldFired=true}},this.tapHoldDelay)},_initSwipe:function(d){var c=this;this._mouseDown=true;this._maxSwipeVerticalDistance=0;this._maxSwipeHorizontalDistance=0;this._startX=this._getCoordinates(d).x;this._startY=this._getCoordinates(d).y;this._swipeLocked=false;this._swipeEvent=null;this._swipeTimeout=setTimeout(function(){c._swipeLocked=true},this.swipeDelay)},_rotationListeners:function(){var c=this;this._previousOrientation=window.orientation;this._previousWidth=screen.width;if(this.orientationChangeEnabled){if(window.addEventListener){window.addEventListener("resize",this._rotateHandler,false);window.addEventListener("orientationchange",this._rotateHandler,false)}this._rotateInterval=setInterval(function(){c._checkOrientation()},this._rotationInterval)}},_checkOrientation:function(){var c="vertical";if(window.orientation!==this._previousOrientation||this._previousWidth!==screen.width){if(window.orientation===90||screen.width>screen.height){c="horizontal"}this._raiseEvent(7,{orientation:c})}this._previousOrientation=window.orientation;this._previousWidth=screen.width},_raiseEvent:function(d,c){var e=b.Event(this._events[d]);e.args=c;return this.host.trigger(e)},_getCoordinates:function(d){var f=b.jqx.position(d);f.x=f.left;f.y=f.top;return f},propertyChangedHandler:function(c,d,f,e){if(d==="orientationChangeEnabled"){this.refresh()}else{return}},isTouchDevice:function(){return this._isTouchDevice}})}(jqxBaseFramework));
+
+(function(b){var a=(function(){var c={},u,q,j,l,g,h,o,p;function d(B,A,x,z,y,v,w){this.hierarchy=y;this.exportFormat=v;this.filename=w;B.beginFile(w);n(B);k(B);B.endFile(w);return B.getFile()}function n(z){var x=true;b.each(q,function(){if(this.hidden){x=false;return false}});z.beginHeader(x);var w=0;for(var v in q){if(q[v].columnsDataFields){v=q[v].columnsDataFields[w].displayfield}var y=m(v,q[v]);z.appendHeaderCell(q[v],v,y,x,w);w++}z.endHeader(x)}function k(x){x.beginBody();if(this.hierarchy){var w=function(z){for(var y=0;y<z.length;y+=1){if(z[y]!==undefined){x.beginRow(z[y].level);e(x,z[y],y,true);if(z[y].records){x.beginRows(z[y].level);w(z[y].records);x.endRows(z[y].level)}x.endRow(z[y].level)}}};w(u);x.endBody();return}for(var v=0;v<u.length;v+=1){if(u[v]!==undefined){e(x,u[v],v)}}x.endBody()}function e(A,z,B,v){var x;if(v!=true){A.beginRow()}var y=0;for(var w in q){if(q[w].columnsDataFields){w=q[w].columnsDataFields[y].displayfield}x=s(B,w);if(x){if(x.level!=undefined){if(x.index-1>z.level&&x.index-1<x.maxLevel){y++;continue}}if(x.maxLevel!=undefined){if(x.index-1==x.maxLevel){x=b.extend({},x);x.merge=x.maxLevel-z.level-1}}}if(z.level!=undefined&&z.label!=undefined){if(this.exportFormat==="xml"||this.exportFormat==="json"){var C={};C.text="group";A.appendBodyCell(z.label,C,x,z,y,"group");break}}if(z.hasOwnProperty(w)){A.appendBodyCell(z[w],q[w],x,z,y)}else{A.appendBodyCell("",q[w],x,z,y)}y++}if(v!=true){A.endRow()}}function m(w,x){if(x.style){return j[x.style]}var v=t();if(v.length>0){return v[0].style}return null}function t(){if(!g){g=new Array();b.each(j,function(v,w){g[g.length]={name:v,style:w}})}return g}function s(A,z){var B=q[z];if(B){if(B.customCellStyles){var x=B.customCellStyles[A];if(x){return j[x]}}if(B.cellStyle){if(B.cellAltStyle){var w=A%2;if(w==0){return j[B.cellStyle]}return j[B.cellAltStyle]}return j[B.cellStyle]}else{var v=t();if(v.length>0){var w=A%(v.length-1);var y=v[w+1].style;return y}}}return null}function r(y,w,x){var v=document.createElement("input");v.name=w;v.value=y;v.type="hidden";x.appendChild(v);return v}function f(x,v,w){var y=document.createElement("textarea");y.name=v;y.value=x;w.appendChild(y);return y}function i(w,z,y,v,A){var x=document.createElement("form");r(w,"filename",x);r(z,"format",x);f(y,"content",x);if(v==undefined||v==""){if(window&&window.location.toString().indexOf("jqwidgets.com")>=0){v="https://jqwidgets.com/export_server/dataexport.php"}else{v="http://jquerygrid.net/export_server/dataexport.php"}}x.action=v;x.method="post";if(A){x.acceptCharset=A}document.body.appendChild(x);return x}l=function(A,y,x,w,z,v){if(!(this instanceof a)){return new a(A,y,x,z,v)}u=A;q=y;j=x;this.exportTo=function(K,H,G,B){K=K.toString().toLowerCase();var D=c[K];if(typeof D==="undefined"){throw"You can't export to "+K+" format."}if(K==="pdf"&&B==undefined){var M=this.exportTo(K,H,K,"pdf");if(!b.jqx.pdfExport){b.jqx.pdfExport={orientation:"portrait",paperSize:"a4"}}var L=new pdfDataExport(b.jqx.pdfExport.orientation,"pt",b.jqx.pdfExport.paperSize);L.cellInitialize();var J=b(M).find("th");var I=b(M).find("tr");var N=0;L.setFontSize(13*72/96);var F=595;switch(b.jqx.pdfExport.paperSize){case"legal":var F=612;if(b.jqx.pdfExport.orientation!=="portrait"){F=1008}break;case"letter":var F=612;if(b.jqx.pdfExport.orientation!=="portrait"){F=792}break;case"a3":var F=841;if(b.jqx.pdfExport.orientation!=="portrait"){F=1190}break;case"a4":var F=595;if(b.jqx.pdfExport.orientation!=="portrait"){F=842}break;case"a5":var F=420;if(b.jqx.pdfExport.orientation!=="portrait"){F=595}break}F-=20;var E=0;var C=[];b.each(J,function(O){var P=parseInt(this.style.width);if(isNaN(P)){P=25}var Q=P*72/96;C[O]=Q;E+=Q});if(E>F){b.each(C,function(O){C[O]=(C[O]/E)*100;C[O]=C[O]*F/100})}b.each(J,function(P){var T=C[P];var S=25*72/96;var R=L.getTextDimensions(b(this).html());var Q=b(this).html();if(R.w+3>T){var O=L.splitTextToSize(Q,T-3);var U=O[0];if(U.length>3){Q=U.substring(0,U.length-3)+"..."}else{Q=U.substring(0,1)+"..."}var O=L.splitTextToSize(Q,T-3);var U=O[0];if(U!=Q){Q=U}}L.cell(10,10,T,S,Q,N)});N++;b.each(I,function(V){if(V===0){return true}var P=b(this).children();var Q=P.length>J.length;if(Q){var Y=P.length-J.length;var Z="";var X=C[0];var U=25*72/96;for(var R=0;R<=Y;R++){var O=P[R].innerHTML;if(O==="+"||O==="-"){O=O+" "}if(O==="&nbsp;"){O="   "}Z+=O}var T=L.getTextDimensions(Z);if(T.w+3>X){var W=L.splitTextToSize(Z,X-3);var S=W[0];if(S.length>3){Z=S.substring(0,S.length-3)+"..."}else{Z=S.substring(0,1)+"..."}var W=L.splitTextToSize(Z,X-3);var S=W[0];if(S!=Z){Z=S}}L.cell(10,10,X,U,Z,N);for(var R=Y+1;R<P.length;R++){var V=R-Y;var X=C[V];var U=25*72/96;var Z=b(P[R]).html();var T=L.getTextDimensions(b(P[R]).html());if(T.w+3>X){var W=L.splitTextToSize(Z,X-3);var S=W[0];if(S.length>3){Z=S.substring(0,S.length-3)+"..."}else{Z=S.substring(0,1)+"..."}var W=L.splitTextToSize(Z,X-3);var S=W[0];if(S!=Z){Z=S}}L.cell(10,10,X,U,Z,N)}N++;return true}b.each(P,function(ab){var af=C[ab];var ae=25*72/96;var ad=b(this).html();var ac=L.getTextDimensions(b(this).html());if(ac.w+3>af){var aa=L.splitTextToSize(ad,af-3);var ag=aa[0];if(ag.length>3){ad=ag.substring(0,ag.length-3)+"..."}else{ad=ag.substring(0,1)+"..."}var aa=L.splitTextToSize(ad,af-3);var ag=aa[0];if(ag!=ad){ad=ag}}L.cell(10,10,af,ae,ad,N)});N++});if(b.jqx.browser.msie&&b.jqx.browser.version<10){throw new Error("PDF export requires a browser with HTML5 support");return}return L}return d(D,u,q,j,H,G,B)};this.exportToFile=function(L,B,O,F,I){if(L==="pdf"){var N=this.exportTo(L,I,L,B);if(!b.jqx.pdfExport){b.jqx.pdfExport={orientation:"portrait",paperSize:"a4"}}var M=new pdfDataExport(b.jqx.pdfExport.orientation,"pt",b.jqx.pdfExport.paperSize);if(F=="utf-8"||F=="UTF-8"){M.setFont("courier","normal")}M.cellInitialize();var K=b(N).find("th");var J=b(N).find("tr");var P=0;M.setFontSize(13*72/96);var G=595;switch(b.jqx.pdfExport.paperSize){case"legal":var G=612;if(b.jqx.pdfExport.orientation!=="portrait"){G=1008}break;case"letter":var G=612;if(b.jqx.pdfExport.orientation!=="portrait"){G=792}break;case"a3":var G=841;if(b.jqx.pdfExport.orientation!=="portrait"){G=1190}break;case"a4":var G=595;if(b.jqx.pdfExport.orientation!=="portrait"){G=842}break;case"a5":var G=420;if(b.jqx.pdfExport.orientation!=="portrait"){G=595}break}G-=20;var E=0;var C=[];b.each(K,function(Q){var R=parseInt(this.style.width);if(isNaN(R)){R=25}var S=R*72/96;C[Q]=S;E+=S});if(E>G){b.each(C,function(Q){C[Q]=(C[Q]/E)*100;C[Q]=C[Q]*G/100})}b.each(K,function(R){var V=C[R];var U=25*72/96;var T=M.getTextDimensions(b(this).html());var S=b(this).html();if(T.w+3>V){var Q=M.splitTextToSize(S,V-3);var W=Q[0];if(W.length>3){S=W.substring(0,W.length-3)+"..."}else{S=W.substring(0,1)+"..."}var Q=M.splitTextToSize(S,V-3);var W=Q[0];if(W!=S){S=W}}M.cell(10,10,V,U,S,P)});P++;b.each(J,function(X){if(X===0){return true}var R=b(this).children();var S=R.length>K.length;if(S){var aa=R.length-K.length;var ab="";var Z=C[0];var W=25*72/96;for(var T=0;T<=aa;T++){var Q=R[T].innerHTML;if(Q==="+"||Q==="-"){Q=Q+" "}if(Q==="&nbsp;"){Q="   "}ab+=Q}var V=M.getTextDimensions(ab);if(V.w+3>Z){var Y=M.splitTextToSize(ab,Z-3);var U=Y[0];if(U.length>3){ab=U.substring(0,U.length-3)+"..."}else{ab=U.substring(0,1)+"..."}var Y=M.splitTextToSize(ab,Z-3);var U=Y[0];if(U!=ab){ab=U}}M.cell(10,10,Z,W,ab,P);for(var T=aa+1;T<R.length;T++){var X=T-aa;var Z=C[X];var W=25*72/96;var ab=b(R[T]).html();if(ab==="&nbsp;"){ab="   "}var V=M.getTextDimensions(b(R[T]).html());if(V.w+3>Z){var Y=M.splitTextToSize(ab,Z-3);var U=Y[0];if(U.length>3){ab=U.substring(0,U.length-3)+"..."}else{ab=U.substring(0,1)+"..."}var Y=M.splitTextToSize(ab,Z-3);var U=Y[0];if(U!=ab){ab=U}}M.cell(10,10,Z,W,ab,P)}P++;return true}b.each(R,function(ad){var ah=C[ad];var ag=25*72/96;var af=b(this).html();if(af==="&nbsp;"){af="   "}var ae=M.getTextDimensions(b(this).html());if(ae.w+3>ah){var ac=M.splitTextToSize(af,ah-3);var ai=ac[0];if(ai.length>3){af=ai.substring(0,ai.length-3)+"..."}else{af=ai.substring(0,1)+"..."}var ac=M.splitTextToSize(af,ah-3);var ai=ac[0];if(ai!=af){af=ai}}M.cell(10,10,ah,ag,af,P)});P++});if(b.jqx.browser.msie&&b.jqx.browser.version<10){throw new Error("PDF export requires a browser with HTML5 support");return}M.save(B+".pdf");return}var H=this.exportTo(L,I,L,B),D=i(B,L,H,O,F);D.submit();document.body.removeChild(D)};this.exportToLocalFile=function(F,C,D,B){var E=this.exportTo(F,D,B);document.location.href="data:application/octet-stream;filename="+C+","+encodeURIComponent(E)}};l.extend=function(v,w){if(w instanceof b.jqx.dataAdapter.DataExportModuleBase){c[v]=w}else{throw"The module "+v+" is not instance of DataExportModuleBase."}};return l}());b.jqx.dataAdapter.ArrayExporter=a})(jqxBaseFramework);(function(b){var a=function(){this.formatData=function(f,e,c,h){if(e==="date"){var d="";if(typeof f==="string"){d=b.jqx.dataFormat.tryparsedate(f);f=d}if(f===""||f===null){return""}d=b.jqx.dataFormat.formatdate(f,c,h);if(d.toString()=="NaN"||d==null){return""}f=d}else{if(e==="number"||e==="float"||e==="int"||e=="integer"){if(f===""||f===null){return""}if(!isNaN(new Number(f))){var g=b.jqx.dataFormat.formatnumber(f,c,h);if(g.toString()=="NaN"){return""}else{f=g}}}else{f=f}}if(f===null){return""}return f};this.getFormat=function(f){var c=f?f.formatString:"";var e=f?f.localization:"";var d="string";d=f?f.type:"string";if(d=="number"||d=="float"){if(!c){c="f2"}}if(d=="int"||d=="integer"){if(!c){c="n0"}}if(d=="date"){if(!c){c="d"}}return{type:d,formatString:c,localization:e}};this.beginFile=function(){throw"Not implemented!"};this.beginHeader=function(){throw"Not implemented!"};this.appendHeaderCell=function(){throw"Not implemented!"};this.endHeader=function(){throw"Not implemented!"};this.beginBody=function(){throw"Not implemented!"};this.beginRow=function(){throw"Not implemented!"};this.beginRows=function(){throw"Not implemented!"};this.endRows=function(){throw"Not implemented!"};this.appendBodyCell=function(){throw"Not implemented!"};this.endRow=function(){throw"Not implemented!"};this.endBody=function(){throw"Not implemented!"};this.endFile=function(){throw"Not implemented!"};this.getFile=function(){throw"Not implemented!"}};b.jqx.dataAdapter.DataExportModuleBase=a})(jqxBaseFramework);(function(d){var c=function(j){var e,h,g;var l=0;var i=this;this.beginFile=function(){e=""};this.beginHeader=function(){};this.appendHeaderCell=function(q,r,p,m,n){if(p){if(p.level!=undefined){if(n<p.maxLevel){return}else{if(n===p.maxLevel){if(m){k(q.text)}for(var o=0;o<p.maxLevel;o++){k("")}return}}}}g=m;if(m){k(q.text)}};this.endHeader=function(){this.endRow()};this.beginBody=function(){l=0};this.beginRow=function(){if((l>0)||(l==0&&g)){e+="\n"}l++};this.appendBodyCell=function(q,m,p,r,n){if(p){if(p.maxLevel!=undefined){if(n===p.maxLevel){k(q,m);for(var o=0;o<p.maxLevel-r.level-1;o++){k("",m)}return}}}k(q,m)};this.endRow=function(){e=e.substring(0,e.length-1)};this.endBody=function(){};this.endFile=function(){};this.getFile=function(){return e};function f(m,o){if(o){var n=i.getFormat(o);m=i.formatData(m,n.type,n.formatString,n.localization)}m='"'+m+'"';return m}function k(m,n){m=f(m,n);e+=m+j}};c.prototype=new d.jqx.dataAdapter.DataExportModuleBase();var a=function(){};a.prototype=new c(",");var b=function(){};b.prototype=new c("\t");d.jqx.dataAdapter.ArrayExporter.extend("csv",new a());d.jqx.dataAdapter.ArrayExporter.extend("tsv",new b())})(jqxBaseFramework);(function(d){var a=function(){var i=false;var g;var h;var j=0;this.setPDF=function(){i=true};this.beginFile=function(k){if(i||k==undefined){g='<table style="empty-cells: show;" cellspacing="0" cellpadding="2">'}else{g='<html>\n\t<head>\n\t\t<title></title>\n\t\t<meta http-equiv=Content-type content="text/html; charset=UTF-8">\n\t</head>\n\t<body>\n\t\t<table style="empty-cells: show;" cellspacing="0" cellpadding="2">'}};this.beginHeader=function(){if(i){g+="\n\t<thead><tr>"}else{g+="\n\t\t\t<thead>"}};this.appendHeaderCell=function(m,n,l,k){h=k;if(!k){return}if(i){g+='\n\t\t\t\t<th style="'+f(l)+'">'+m.text+"</th>"}else{if(l.disabled){return}if(l.merge){if(m.width){g+="\n\t\t\t\t<th colspan="+(1+l.merge)+' style="width: '+m.width+"px; "+f(l)+'">'+m.text+"</th>"}else{g+="\n\t\t\t\t<th colspan="+(1+l.merge)+' style="'+f(l)+'">'+m.text+"</th>"}}else{if(m.width){g+='\n\t\t\t\t<th style="width: '+m.width+"px; "+f(l)+'">'+m.text+"</th>"}else{g+='\n\t\t\t\t<th style="'+f(l)+'">'+m.text+"</th>"}}}};this.endHeader=function(){if(i){g+="\n\t</tr></thead>"}else{g+="\n\t\t\t</thead>"}};this.beginBody=function(){if(i){g+="\n\t<tbody>"}else{g+="\n\t\t\t<tbody>"}j=0};this.beginRow=function(){if(i){g+="\n\t<tr>"}else{g+="\n\t\t\t\t<tr>"}j++};this.appendBodyCell=function(l,n,k){var m=this.getFormat(n);if(l===""){l="&nbsp;"}if(i){if(j==1&&!h){g+='\n\t\t\t\t\t<td style="'+f(k)+' border-top-width: 1px;">'+this.formatData(l,m.type,m.formatString,m.localization)+"</td>"}else{g+='\n\t\t\t\t\t<td style="'+f(k)+'">'+this.formatData(l,m.type,m.formatString,m.localization)+"</td>"}}else{if(k.merge){if(j==1&&!h){g+="\n\t\t\t\t\t<td colspan="+(1+k.merge)+' style="'+f(k)+' border-top-width: 1px;">'+this.formatData(l,m.type,m.formatString,m.localization)+"</td>"}else{g+="\n\t\t\t\t\t<td colspan="+(1+k.merge)+' style="'+f(k)+'">'+this.formatData(l,m.type,m.formatString,m.localization)+"</td>"}}else{if(j==1&&!h){g+='\n\t\t\t\t\t<td style="'+f(k)+' border-top-width: 1px;">'+this.formatData(l,m.type,m.formatString,m.localization)+"</td>"}else{g+='\n\t\t\t\t\t<td style="'+f(k)+'">'+this.formatData(l,m.type,m.formatString,m.localization)+"</td>"}}}};this.endRow=function(){if(i){g+="\n\t</tr>"}else{g+="\n\t\t\t\t</tr>"}};this.endBody=function(){if(i){g+="\n\t</tbody>"}else{g+="\n\t\t\t</tbody>"}};this.endFile=function(k){if(i||k==undefined){g+="\n</table>"}else{g+="\n\t\t</table>\n\t</body>\n</html>\n"}};this.getFile=function(){return g};function f(m){var k="";for(var l in m){if(m.hasOwnProperty(l)){if(i&&l=="font-size"){m[l]="100%"}k+=l+":"+m[l]+";"}}return k}};a.prototype=new d.jqx.dataAdapter.DataExportModuleBase();var e=function(){};e.prototype=new a();var c=function(){};c.prototype=new a();var b=new c();d.jqx.dataAdapter.ArrayExporter.extend("html",new e());d.jqx.dataAdapter.ArrayExporter.extend("pdf",b)})(jqxBaseFramework);(function(b){var a=function(){var h,l,d,i,c,j,m={style:"",stylesMap:{font:{color:"Color","font-family":"FontName","font-style":"Italic","font-weight":"Bold"},interior:{"background-color":"Color",background:"Color"},alignment:{left:"Left",center:"Center",right:"Right"}},startStyle:function(p){this.style+='\n\t\t<Style ss:ID="'+p+'" ss:Name="'+p+'">'},buildAlignment:function(q){if(q["text-align"]){var r=this.stylesMap.alignment[q["text-align"]];if(!r){r="Left"}var p='\n\t\t\t<Alignment ss:Vertical="Bottom" ss:Horizontal="'+r+'"/>';this.style+=p}},buildBorder:function(s){if(s["border-color"]){var r="\n\t\t\t<Borders>";var u='\n\t\t\t\t<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1" ss:Color="'+s["border-color"]+'"/>';var p='\n\t\t\t\t<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1" ss:Color="'+s["border-color"]+'"/>';var q='\n\t\t\t\t<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1" ss:Color="'+s["border-color"]+'"/>';var t='\n\t\t\t\t<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1" ss:Color="'+s["border-color"]+'"/>';r+=u;r+=p;r+=q;r+=t;r+="\n\t\t\t</Borders>";this.style+=r}},buildFont:function(q){var r=this.stylesMap.font,p="\n\t\t\t<Font ";for(var s in r){if(typeof q[s]!=="undefined"){if(s==="font-style"&&q[s].toString().toLowerCase()==="italic"){p+='ss:Italic="1" '}else{if(s==="font-weight"&&q[s].toString().toLowerCase()==="bold"){p+='ss:Bold="1" '}else{if(s==="color"){p+="ss:"+r[s]+'="'+q[s]+'" '}}}}}p+="/>";this.style+=p},buildInterior:function(q){var r=this.stylesMap.interior,t="\n\t\t\t<Interior ";var p=false;for(var s in r){if(typeof q[s]!=="undefined"){t+="ss:"+r[s]+'="'+q[s]+'" ';p=true}}if(p){t+='ss:Pattern="Solid"'}t+="/>";this.style+=t},buildFormat:function(q){if(q.dataType=="number"||q.dataType=="float"||q.dataType=="int"||q.dataType=="integer"){var p=q.formatString;if(p==""||p.indexOf("n")!=-1||p.indexOf("N")!=-1){this.style+='\n\t\t\t<NumberFormat ss:Format="0"/>'}else{if(p=="f"||p=="F"||p=="D"||p.indexOf("d")!=-1){this.style+='\n\t\t\t<NumberFormat ss:Format="#,##0.00_);[Red](#,##0.00)"/>'}else{if(p.indexOf("p")!=-1||p.indexOf("P")!=-1){this.style+='\n\t\t\t<NumberFormat ss:Format="Percent"/>'}else{if(p.indexOf("c")!=-1||p.indexOf("C")!=-1){if(parseInt(q.currencysymbol.charCodeAt(0))==8364){this.style+='\n\t\t\t<NumberFormat ss:Format="Euro Currency"/>'}else{this.style+='\n\t\t\t<NumberFormat ss:Format="Currency"/>'}}}}}}else{if(q.dataType=="date"){this.style+='\n\t\t\t<NumberFormat ss:Format="Short Date"/>'}}},closeStyle:function(){this.style+="\n\t\t</Style>"},toString:function(){var p=this.style;this.style="";return p}};this.beginFile=function(){c={};j=0;h='<?xml version="1.0"?>\n\t<?mso-application progid="Excel.Sheet"?> \n\t<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" \n\txmlns:o="urn:schemas-microsoft-com:office:office" \n\txmlns:x="urn:schemas-microsoft-com:office:excel" \n\txmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" \n\txmlns:html="http://www.w3.org/TR/REC-html40"> \n\t<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office"> \n\t<Version>12.00</Version> \n\t</DocumentProperties> \n\t<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"> \n\t<WindowHeight>8130</WindowHeight> \n\t<WindowWidth>15135</WindowWidth> \n\t<WindowTopX>120</WindowTopX> \n\t<WindowTopY>45</WindowTopY> \n\t<ProtectStructure>False</ProtectStructure> \n\t<ProtectWindows>False</ProtectWindows> \n\t</ExcelWorkbook> \n\t<Styles>'};this.beginHeader=function(){l='\n\t<Worksheet ss:Name="Sheet1">\n\t\t<Table>';d=[];i=[]};this.appendHeaderCell=function(r,s,q){var p=r.width!=undefined?r.width:r.text.length*10;l+='\n\t\t\t<Column ss:Width="'+p+'"/>';d.push(r);i.push(q)};this.endHeader=function(p){if(p){this.beginRow();for(var q=0;q<d.length;q+=1){if(i[q].disabled){continue}g.call(this,d[q]["text"],null,i[q])}this.endRow()}};this.beginBody=function(){};this.beginRow=function(q){if(q!=undefined){l+="\n\t\t\t";for(var p=0;p<q;p++){l+="\t"}l+="<Row>";return}l+="\n\t\t\t<Row>"};this.beginRows=function(p){l+="\n\t\t\t\t<Rows>"};this.appendBodyCell=function(r,p,q,s){g.call(this,r,p,q,s)};this.endRow=function(q){if(q!=undefined){l+="\n\t\t\t";for(var p=0;p<q;p++){l+="\t"}l+="</Row>";return}l+="\n\t\t\t</Row>"};this.endRows=function(q){if(q!=undefined){l+="\n\t\t\t";for(var p=0;p<q;p++){l+="\t"}l+="</Rows>";return}};this.endBody=function(){l+="\n\t\t</Table>"};this.endFile=function(){l+="\n\t</Worksheet>\n</Workbook>";h+="\n\t</Styles>"};this.getFile=function(){return h+l};function g(s,v,r,u){var q="String";var t=this.getFormat(v);if(s!=null&&s.toString().substring(0,3)=="_AG"){s=s.toString().substring(3);q="String"}else{if(t.type=="date"){s=this.formatData(s,t.type,t.formatString,t.localization);if(s===null||s===""){s="";q="String"}}if(t.type=="string"){if(s===null||s===undefined){s=""}else{if(s.toString().indexOf("&")>=0){s=s.toString().replace(/&/g,"&amp;")}if(s.toString().indexOf(">")>=0){s=s.toString().replace(/>/g,"&gt;")}if(s.toString().indexOf("<")>=0){s=s.toString().replace(/</g,"&lt;")}if(s.toString().indexOf('"')>=0){s=s.toString().replace(/"/g,"&quot;")}if(s.toString().indexOf("'")>=0){s=s.toString().replace(/'/g,"&apos;")}}}if(r.dataType=="number"||r.dataType=="float"||r.dataType=="int"||r.dataType=="integer"){q="Number";s=parseFloat(s);if(s===null||isNaN(s)||s===""){s="";q="String"}if(s&&q!="String"&&s!=""){if(v&&v.formatString&&v.formatString.indexOf("p")>=0){s=s/100}}r.currencysymbol=v.localization.currencysymbol}}var p=f(r);if(r.merge){l+='\n\t\t\t\t<Cell ss:MergeAcross="'+r.merge+'" ss:StyleID="'+p+'"><Data ss:Type="'+q+'">'+s+"</Data></Cell>"}else{l+='\n\t\t\t\t<Cell ss:StyleID="'+p+'"><Data ss:Type="'+q+'">'+s+"</Data></Cell>"}}function n(){j+=1;return"xls-style-"+j}function k(q){for(var p in c){if(o(q,c[p])&&o(c[p],q)){return p}}return undefined}function o(t,q){var s=true;for(var r in t){if(t[r]!==q[r]){s=false}}return s}function e(q,p){m.startStyle(q);m.buildAlignment(p);m.buildBorder(p);m.buildFont(p);m.buildInterior(p);m.buildFormat(p);m.closeStyle();h+=m.toString()}function f(p){if(!p){return""}var q=k(p);if(typeof q==="undefined"){q=n();c[q]=p;e(q,p)}return q}};a.prototype=new b.jqx.dataAdapter.DataExportModuleBase();b.jqx.dataAdapter.ArrayExporter.extend("xls",new a())})(jqxBaseFramework);(function(b){var a=function(){var e,c,d;this.beginFile=function(){e='<?xml version="1.0" encoding="UTF-8" ?>';e+="\n<table>"};this.beginHeader=function(){c=[]};this.appendHeaderCell=function(f,g){c.push(g)};this.endHeader=function(){};this.beginBody=function(g,f){};this.beginRow=function(g){if(g!=undefined){if(this.hierarchy){e+="\n\t";for(var f=0;f<g;f++){e+="\t\t"}e+="<row>";d=0;return}}e+="\n\t<row>";d=0};this.beginRows=function(g){if(g!=undefined){e+="\n\t\t";for(var f=0;f<g;f++){e+="\t\t"}e+="<rows>";d=0;return}e+="\n\t\t<rows>"};this.appendBodyCell=function(j,n,g,m,h,l){var k=this.getFormat(n);j=this.formatData(j,k.type,k.formatString,k.localization);if(k.type=="string"){if(j.toString().indexOf("&")>=0){j=j.toString().replace(/&/g,"&amp;")}if(j.toString().indexOf(">")>=0){j=j.toString().replace(/>/g,"&gt;")}if(j.toString().indexOf("<")>=0){j=j.toString().replace(/</g,"&lt;")}if(j.toString().indexOf('"')>=0){j=j.toString().replace(/"/g,"&quot;")}if(j.toString().indexOf("'")>=0){j=j.toString().replace(/'/g,"&apos;")}}if(m.level!=undefined){if(this.hierarchy){e+="\n\t\t";for(var f=0;f<m.level;f++){e+="\t\t"}if(l===undefined){e+="<"+c[d]+">"+j+"</"+c[d]+">"}else{e+="<"+l+">"+j+"</"+l+">"}}else{if(l!=undefined){e+="\n\t\t<"+l+">"+j+"</"+l+">"}else{e+="\n\t\t<"+c[d]+">"+j+"</"+c[d]+">"}}}else{e+="\n\t\t<"+c[d]+">"+j+"</"+c[d]+">"}d++};this.endRow=function(g){if(g!=undefined){if(this.hierarchy){e+="\n\t";for(var f=0;f<g;f++){e+="\t\t"}e+="</row>";d=0;return}}e+="\n\t</row>";d=0};this.endRows=function(g){if(g!=undefined){e+="\n\t\t";for(var f=0;f<g;f++){e+="\t\t"}e+="</rows>";d=0;return}e+="\n\t\t</rows>"};this.endBody=function(){};this.endFile=function(){e+="\n</table>"};this.getFile=function(){return e}};a.prototype=new b.jqx.dataAdapter.DataExportModuleBase();b.jqx.dataAdapter.ArrayExporter.extend("xml",new a())})(jqxBaseFramework);(function(d){var j=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,l={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function a(n){return'"'+n.replace(j,function(o){var p=l[o];return typeof p==="string"?p:"\\u"+("0000"+o.charCodeAt(0).toString(16)).slice(-4)})+'"'}function b(o){return o<10?"0"+o:o}function e(o){var n;if(isFinite(o.valueOf())){n=o.getUTCFullYear()+"-"+b(o.getUTCMonth()+1)+"-"+b(o.getUTCDate())+"T"+b(o.getUTCHours())+":"+b(o.getUTCMinutes())+":"+b(o.getUTCSeconds())+'Z"'}else{n="null"}return n}function g(q){var n=q.length,o=[],p;for(p=0;p<n;p++){o.push(h(p,q)||"null")}return"["+o.join(",")+"]"}function m(q){var o=[],p,n;for(p in q){if(Object.prototype.hasOwnProperty.call(q,p)){n=h(p,q);if(n){o.push(a(p)+":"+n)}}}return"{"+o.join(",")+"}"}function i(n){switch(Object.prototype.toString.call(n)){case"[object Date]":return e(n);case"[object Array]":return g(n)}return m(n)}function k(o,n){switch(n){case"string":return a(o);case"number":case"float":case"integer":case"int":return isFinite(o)?o:"null";case"boolean":return o}return"null"}function h(o,n){var q=n[o],p=typeof q;if(q&&typeof q==="object"&&typeof q.toJSON==="function"){q=q.toJSON(o);p=typeof q}if(/(number|float|int|integer|string|boolean)/.test(p)||(!q&&p==="object")){return k(q,p)}else{return i(q)}}function f(n){if(window.JSON&&typeof window.JSON.stringify==="function"){return window.JSON.stringify(n)}return h("",{"":n})}var c=function(){var q=this;this.prepareData=function(t,v){if(v){var u=q.getFormat(v);t=q.formatData(t,u.type,u.formatString,u.localization)}return t};var n,p,r,o=[],s=0;this.beginFile=function(){p=[]};this.beginHeader=function(){};this.appendHeaderCell=function(t){};this.endHeader=function(){};this.beginBody=function(u,t){};this.beginRow=function(){if(hierarchy){o[s]={}}else{r={}}};this.beginRows=function(){o[s].rows=[];s++;o[s]={}};this.endRows=function(){s--};this.appendBodyCell=function(u,t){var v=this.prepareData(u,t);if(hierarchy){o[s][t.text]=v}else{r[t.text]=v}};this.endRow=function(){if(hierarchy){if(s==0){p.push(o[s])}else{o[s-1].rows.push(o[s])}}else{p.push(r)}};this.endBody=function(){};this.endFile=function(){n=f(p)};this.getFile=function(){return n}};c.prototype=new d.jqx.dataAdapter.DataExportModuleBase();d.jqx.dataAdapter.ArrayExporter.extend("json",new c())})(jqxBaseFramework);var pdfDataExport=window.jqxPdfDataExport=(function(){if(typeof btoa==="undefined"){window.btoa=function(m){var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=h.split(""),g,f,e,q,p,o,n,t,l=0,u=0,k="",j=[],d;do{g=m.charCodeAt(l++);f=m.charCodeAt(l++);e=m.charCodeAt(l++);t=g<<16|f<<8|e;q=t>>18&63;p=t>>12&63;o=t>>6&63;n=t&63;j[u++]=s[q]+s[p]+s[o]+s[n]}while(l<m.length);k=j.join("");d=m.length%3;return(d?k.slice(0,d-3):k)+"===".slice(d||3)}}if(typeof atob==="undefined"){window.atob=function(l){var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",f,e,d,p,o,n,m,q,k=0,r=0,h="",j=[];if(!l){return l}l+="";do{p=g.indexOf(l.charAt(k++));o=g.indexOf(l.charAt(k++));n=g.indexOf(l.charAt(k++));m=g.indexOf(l.charAt(k++));q=p<<18|o<<12|n<<6|m;f=q>>16&255;e=q>>8&255;d=q&255;if(n===64){j[r++]=String.fromCharCode(f)}else{if(m===64){j[r++]=String.fromCharCode(f,e)}else{j[r++]=String.fromCharCode(f,e,d)}}}while(k<l.length);h=j.join("");return h}}var c=typeof Object.keys==="function"?function(d){return Object.keys(d).length}:function(d){var f=0,g;for(g in d){if(d.hasOwnProperty(g)){f++}}return f},a=function(d){this.topics={};this.context=d;this.publish=function(h,m){if(this.topics[h]){var j=this.topics[h],o=[],n,g,e,f,k=function(){};m=Array.prototype.slice.call(arguments,1);for(g=0,e=j.length;g<e;g++){f=j[g];n=f[0];if(f[1]){f[0]=k;o.push(g)}n.apply(this.context,m)}for(g=0,e=o.length;g<e;g++){j.splice(o[g],1)}}};this.subscribe=function(e,g,f){if(!this.topics[e]){this.topics[e]=[[g,f]]}else{this.topics[e].push([g,f])}return{topic:e,callback:g}};this.unsubscribe=function(h){if(this.topics[h.topic]){var f=this.topics[h.topic],g,e;for(g=0,e=f.length;g<e;g++){if(f[g][0]===h.callback){f.splice(g,1)}}}}};function b(E,ae,M,V){if(typeof E==="undefined"){E="p"}else{E=E.toString().toLowerCase()}if(typeof ae==="undefined"){ae="mm"}if(typeof M==="undefined"){M="a4"}if(typeof V==="undefined"&&typeof zpipe==="undefined"){V=false}var at=M.toString().toLowerCase(),ao="0.9.0rc2",t=[],F=0,av=V,U="1.3",N={a3:[841.89,1190.55],a4:[595.28,841.89],a5:[420.94,595.28],letter:[612,792],legal:[612,1008]},ad="0 g",H="0 G",g=0,f=[],n=2,v=false,D=[],ai={},Q={},aj=16,d,z=0.200025,B,C,ak,O={title:"",subject:"",author:"",keywords:"",creator:""},R=0,T=0,P={},G=new a(P),af,aq,p=function(i){return i.toFixed(2)},o=function(i){return i.toFixed(3)},A=function(i){var k=(i).toFixed(0);if(i<10){return"0"+k}else{return k}},r=function(i){var k=(i).toFixed(0);if(k.length<10){return new Array(11-k.length).join("0")+k}else{return k}},ab=function(i){if(v){f[g].push(i)}else{t.push(i);F+=i.length+1}},w=function(){n++;D[n]=F;ab(n+" 0 obj");return n},K=function(i){ab("stream");ab(i);ab("endstream")},am,S,ap,al,aa=function(){am=C*ak;S=B*ak;var aB,aA,k,aw,ax,az,ay;for(aB=1;aB<=g;aB++){w();ab("<</Type /Page");ab("/Parent 1 0 R");ab("/Resources 2 0 R");ab("/Contents "+(n+1)+" 0 R>>");ab("endobj");aA=f[aB].join("\n");w();if(av){k=[];for(ax=0;ax<aA.length;++ax){k[ax]=aA.charCodeAt(ax)}ay=adler32cs.from(aA);az=new Deflater(6);az.append(new Uint8Array(k));aA=az.flush();k=[new Uint8Array([120,156]),new Uint8Array(aA),new Uint8Array([ay&255,(ay>>8)&255,(ay>>16)&255,(ay>>24)&255])];aA="";for(ax in k){if(k.hasOwnProperty(ax)){aA+=String.fromCharCode.apply(null,k[ax])}}ab("<</Length "+aA.length+" /Filter [/FlateDecode]>>")}else{ab("<</Length "+aA.length+">>")}K(aA);ab("endobj")}D[1]=F;ab("1 0 obj");ab("<</Type /Pages");ap="/Kids [";for(ax=0;ax<g;ax++){ap+=(3+2*ax)+" 0 R "}ab(ap+"]");ab("/Count "+g);ab("/MediaBox [0 0 "+p(am)+" "+p(S)+"]");ab(">>");ab("endobj")},X=function(i){i.objectNumber=w();ab("<</BaseFont/"+i.PostScriptName+"/Type/Font");if(typeof i.encoding==="string"){ab("/Encoding/"+i.encoding)}ab("/Subtype/Type1>>");ab("endobj")},J=function(){var i;for(i in ai){if(ai.hasOwnProperty(i)){X(ai[i])}}},L=function(){G.publish("putXobjectDict")},x=function(){ab("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]");ab("/Font <<");var i;for(i in ai){if(ai.hasOwnProperty(i)){ab("/"+i+" "+ai[i].objectNumber+" 0 R")}}ab(">>");ab("/XObject <<");L();ab(">>")},h=function(){J();G.publish("putResources");D[2]=F;ab("2 0 obj");ab("<<");x();ab(">>");ab("endobj");G.publish("postPutResources")},m=function(aw,k,ax){var i;if(Q[k]===i){Q[k]={}}Q[k][ax]=aw},au={},u=function(i,ax,az,aw){var ay="F"+(c(ai)+1).toString(10),k=ai[ay]={id:ay,PostScriptName:i,fontName:ax,fontStyle:az,encoding:aw,metadata:{}};m(ay,ax,az);G.publish("addFont",k);return ay},e=function(){var k="helvetica",aG="times",aI="courier",aF="normal",aE="bold",aD="italic",aH="bolditalic",ax="StandardEncoding",aA=[["Helvetica",k,aF],["Helvetica-Bold",k,aE],["Helvetica-Oblique",k,aD],["Helvetica-BoldOblique",k,aH],["Courier",aI,aF],["Courier-Bold",aI,aE],["Courier-Oblique",aI,aD],["Courier-BoldOblique",aI,aH],["Times-Roman",aG,aF],["Times-Bold",aG,aE],["Times-Italic",aG,aD],["Times-BoldItalic",aG,aH]],aC,ay,aB,az;for(aC=0,ay=aA.length;aC<ay;aC++){var aw=ax;aB=u(aA[aC][0],aA[aC][1],aA[aC][2],aw);az=aA[aC][0].split("-");m(aB,az[0],az[1]||"")}G.publish("addFonts",{fonts:ai,dictionary:Q})},s=function(aG,ax){var aC,aA,az,ay,aE,aD,aw,aF,k,aB;if(ax===az){ax={}}ay=ax.sourceEncoding?ay:"Unicode";aD=ax.outputEncoding;if((ax.autoencode||aD)&&ai[d].metadata&&ai[d].metadata[ay]&&ai[d].metadata[ay].encoding){aE=ai[d].metadata[ay].encoding;if(!aD&&ai[d].encoding){aD=ai[d].encoding}if(!aD&&aE.codePages){aD=aE.codePages[0]}if(typeof aD==="string"){aD=aE[aD]}if(aD){aF=false;aw=[];for(aC=0,aA=aG.length;aC<aA;aC++){k=aD[aG.charCodeAt(aC)];if(k){aw.push(String.fromCharCode(k))}else{aw.push(aG[aC])}if(aw[aC].charCodeAt(0)>>8){aF=true}}aG=aw.join("")}}aC=aG.length;while(aF===az&&aC!==0){if(aG.charCodeAt(aC-1)>>8){aF=true}aC--}if(!aF){return aG}else{aw=ax.noBOM?[]:[254,255];for(aC=0,aA=aG.length;aC<aA;aC++){k=aG.charCodeAt(aC);aB=k>>8;if(aB>>8){throw new Error("Character at position "+aC.toString(10)+" of string '"+aG+"' exceeds 16bits. Cannot be encoded into UCS-2 BE")}aw.push(aB);aw.push(k-(aB<<8))}return String.fromCharCode.apply(az,aw)}},Z=function(k,i){return s(k,i).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Y=function(){ab("/Producer (pdfDataExport "+ao+")");if(O.title){ab("/Title ("+Z(O.title)+")")}if(O.subject){ab("/Subject ("+Z(O.subject)+")")}if(O.author){ab("/Author ("+Z(O.author)+")")}if(O.keywords){ab("/Keywords ("+Z(O.keywords)+")")}if(O.creator){ab("/Creator ("+Z(O.creator)+")")}var i=new Date();ab("/CreationDate (D:"+[i.getFullYear(),A(i.getMonth()+1),A(i.getDate()),A(i.getHours()),A(i.getMinutes()),A(i.getSeconds())].join("")+")")},W=function(){ab("/Type /Catalog");ab("/Pages 1 0 R");ab("/OpenAction [3 0 R /FitH null]");ab("/PageLayout /OneColumn");G.publish("putCatalog")},l=function(){ab("/Size "+(n+1));ab("/Root "+n+" 0 R");ab("/Info "+(n-1)+" 0 R")},ar=function(){g++;v=true;f[g]=[]},ah=function(){ar();ab(p(z*ak)+" w");ab(H);if(R!==0){ab(R.toString(10)+" J")}if(T!==0){ab(T.toString(10)+" j")}G.publish("addPage",{pageNumber:g})},y=function(aw,ay){var i,k;if(aw===k){aw=ai[d].fontName}if(ay===k){ay=ai[d].fontStyle}try{i=Q[aw][ay]}catch(ax){i=k}if(!i){throw new Error("Unable to look up font label for font '"+aw+"', '"+ay+"'. Refer to getFontList() for available fonts.")}return i},q=function(){v=false;t=[];D=[];ab("%PDF-"+U);aa();h();w();ab("<<");Y();ab(">>");ab("endobj");w();ab("<<");W();ab(">>");ab("endobj");var aw=F,k;ab("xref");ab("0 "+(n+1));ab("0000000000 65535 f ");for(k=1;k<=n;k++){ab(r(D[k])+" 00000 n ")}ab("trailer");ab("<<");l();ab(">>");ab("startxref");ab(aw);ab("%%EOF");v=true;return t.join("\n")},ac=function(i){var k="S";if(i==="F"){k="f"}else{if(i==="FD"||i==="DF"){k="B"}}return k},I=function(az,aw){var ay,aB,aA,aC,ax,k;switch(az){case ay:return q();case"save":if(navigator.getUserMedia){if(window.URL===undefined){return P.output("dataurlnewwindow")}else{if(window.URL.createObjectURL===undefined){return P.output("dataurlnewwindow")}}}aB=q();aA=aB.length;aC=new Uint8Array(new ArrayBuffer(aA));for(ax=0;ax<aA;ax++){aC[ax]=aB.charCodeAt(ax)}k=new Blob([aC],{type:"application/pdf"});saveAs(k,aw);break;case"datauristring":case"dataurlstring":return"data:application/pdf;base64,"+btoa(q());case"datauri":case"dataurl":document.location.href="data:application/pdf;base64,"+btoa(q());break;case"dataurlnewwindow":window.open("data:application/pdf;base64,"+btoa(q()));break;default:throw new Error('Output type "'+az+'" is not supported.')}};if(ae==="pt"){ak=1}else{if(ae==="mm"){ak=72/25.4}else{if(ae==="cm"){ak=72/2.54}else{if(ae==="in"){ak=72}else{throw ("Invalid unit: "+ae)}}}}if(N.hasOwnProperty(at)){B=N[at][1]/ak;C=N[at][0]/ak}else{try{B=M[1];C=M[0]}catch(an){throw ("Invalid format: "+M)}}if(E==="p"||E==="portrait"){E="p";if(C>B){af=C;C=B;B=af}}else{if(E==="l"||E==="landscape"){E="l";if(B>C){af=C;C=B;B=af}}else{throw ("Invalid orientation: "+E)}}P.internal={pdfEscape:Z,getStyle:ac,getFont:function(){return ai[y.apply(P,arguments)]},getFontSize:function(){return aj},btoa:btoa,write:function(i,ax,aw,k){ab(arguments.length===1?i:Array.prototype.join.call(arguments," "))},getCoordinateString:function(i){return p(i*ak)},getVerticalCoordinateString:function(i){return p((B-i)*ak)},collections:{},newObject:w,putStream:K,events:G,scaleFactor:ak,pageSize:{width:C,height:B},output:function(k,i){return I(k,i)}};P.addPage=function(){ah();return this};var ag=["","0","00","000","0000"];var j=function(aA,aw){var ax=["FEFF"];for(var az=0,k=aA.length,ay;az<k;++az){ay=aA.charCodeAt(az).toString(16).toUpperCase();ax.push(ag[4-ay.length],ay)}return ax.join("")};P.text16=function(aF,aE,aC,aw){var ax,aA,az,aD,k,aB,ay;if(typeof aF==="number"){aA=aC;az=aF;aD=aE;aF=aA;aE=az;aC=aD}if(typeof aF==="string"&&aF.match(/[\n\r]/)){aF=aF.split(/\r\n|\r|\n/g)}if(typeof aw==="undefined"){aw={noBOM:true,autoencode:true}}else{if(aw.noBOM===ax){aw.noBOM=true}if(aw.autoencode===ax){aw.autoencode=true}}aw.autoencode=false;if(typeof aF==="string"){aB=j(aF,aw)}else{if(aF instanceof Array){k=aF.concat();for(ay=k.length-1;ay!==-1;ay--){k[ay]=j(k[ay],aw)}aB=k.join("> Tj\nT* <")}else{throw new Error('Type of text must be string or Array. "'+aF+'" is not recognized.')}}ab("BT\n/"+d+" "+aj+" Tf\n"+aj+" TL\n"+ad+"\n"+p(aE*ak)+" "+p((B-aC)*ak)+" Td\n<"+aB+"> Tj\nET");return this};P.text=function(aF,aE,aC,aw){var ax,aA,az,aD,k,aB,ay;if(typeof aF==="number"){aA=aC;az=aF;aD=aE;aF=aA;aE=az;aC=aD}if(typeof aF==="string"&&aF.match(/[\n\r]/)){aF=aF.split(/\r\n|\r|\n/g)}if(typeof aw==="undefined"){aw={noBOM:true,autoencode:true}}else{if(aw.noBOM===ax){aw.noBOM=true}if(aw.autoencode===ax){aw.autoencode=true}}if(typeof aF==="string"){aB=Z(aF,aw)}else{if(aF instanceof Array){k=aF.concat();for(ay=k.length-1;ay!==-1;ay--){k[ay]=Z(k[ay],aw)}aB=k.join(") Tj\nT* (")}else{throw new Error('Type of text must be string or Array. "'+aF+'" is not recognized.')}}ab("BT\n/"+d+" "+aj+" Tf\n"+aj+" TL\n"+ad+"\n"+p(aE*ak)+" "+p((B-aC)*ak)+" Td\n("+aB+") Tj\nET");return this};P.line=function(k,ax,i,aw){ab(p(k*ak)+" "+p((B-ax)*ak)+" m "+p(i*ak)+" "+p((B-aw)*ak)+" l S");return this};P.lines=function(k,aF,aE,aO,aK){var ay,aM,aC,aD,aB,aA,aI,aG,aN,aL,az,aJ,ax,aH,aw;if(typeof k==="number"){aM=aE;aC=k;aD=aF;k=aM;aF=aC;aE=aD}aK=ac(aK);aO=aO===ay?[1,1]:aO;ab(o(aF*ak)+" "+o((B-aE)*ak)+" m ");aB=aO[0];aA=aO[1];aG=k.length;aH=aF;aw=aE;for(aI=0;aI<aG;aI++){aN=k[aI];if(aN.length===2){aH=aN[0]*aB+aH;aw=aN[1]*aA+aw;ab(o(aH*ak)+" "+o((B-aw)*ak)+" l")}else{aL=aN[0]*aB+aH;az=aN[1]*aA+aw;aJ=aN[2]*aB+aH;ax=aN[3]*aA+aw;aH=aN[4]*aB+aH;aw=aN[5]*aA+aw;ab(o(aL*ak)+" "+o((B-az)*ak)+" "+o(aJ*ak)+" "+o((B-ax)*ak)+" "+o(aH*ak)+" "+o((B-aw)*ak)+" c")}}ab(aK);return this};P.rect=function(i,az,k,ax,aw){var ay=ac(aw);ab([p(i*ak),p((B-az)*ak),p(k*ak),p(-ax*ak),"re",ay].join(" "));return this};P.triangle=function(ax,aA,k,ay,i,aw,az){this.lines([[k-ax,ay-aA],[i-k,aw-ay],[ax-i,aA-aw]],ax,aA,[1,1],az);return this};P.roundedRect=function(k,aB,aw,ay,aA,az,ax){var i=4/3*(Math.SQRT2-1);this.lines([[(aw-2*aA),0],[(aA*i),0,aA,az-(az*i),aA,az],[0,(ay-2*az)],[0,(az*i),-(aA*i),az,-aA,az],[(-aw+2*aA),0],[-(aA*i),0,-aA,-(az*i),-aA,-az],[0,(-ay+2*az)],[0,-(az*i),(aA*i),-az,aA,-az]],k+aA,aB,[1,1],ax);return this};P.ellipse=function(i,aB,az,ay,k){var aA=ac(k),ax=4/3*(Math.SQRT2-1)*az,aw=4/3*(Math.SQRT2-1)*ay;ab([p((i+az)*ak),p((B-aB)*ak),"m",p((i+az)*ak),p((B-(aB-aw))*ak),p((i+ax)*ak),p((B-(aB-ay))*ak),p(i*ak),p((B-(aB-ay))*ak),"c"].join(" "));ab([p((i-ax)*ak),p((B-(aB-ay))*ak),p((i-az)*ak),p((B-(aB-aw))*ak),p((i-az)*ak),p((B-aB)*ak),"c"].join(" "));ab([p((i-az)*ak),p((B-(aB+aw))*ak),p((i-ax)*ak),p((B-(aB+ay))*ak),p(i*ak),p((B-(aB+ay))*ak),"c"].join(" "));ab([p((i+ax)*ak),p((B-(aB+ay))*ak),p((i+az)*ak),p((B-(aB+aw))*ak),p((i+az)*ak),p((B-aB)*ak),"c",aA].join(" "));return this};P.circle=function(i,ax,aw,k){return this.ellipse(i,ax,aw,aw,k)};P.setProperties=function(i){var k;for(k in O){if(O.hasOwnProperty(k)&&i[k]){O[k]=i[k]}}return this};P.setFontSize=function(i){aj=i;return this};P.setFont=function(i,k){d=y(i,k);return this};P.setFontStyle=P.setFontType=function(k){var i;d=y(i,k);return this};P.getFontList=function(){var aw={},k,ax,i;for(k in Q){if(Q.hasOwnProperty(k)){aw[k]=i=[];for(ax in Q[k]){if(Q[k].hasOwnProperty(ax)){i.push(ax)}}}}return aw};P.setLineWidth=function(i){ab((i*ak).toFixed(2)+" w");return this};P.setDrawColor=function(ay,ax,aw,i){var k;if(ax===undefined||(i===undefined&&ay===ax===aw)){if(typeof ay==="string"){k=ay+" G"}else{k=p(ay/255)+" G"}}else{if(i===undefined){if(typeof ay==="string"){k=[ay,ax,aw,"RG"].join(" ")}else{k=[p(ay/255),p(ax/255),p(aw/255),"RG"].join(" ")}}else{if(typeof ay==="string"){k=[ay,ax,aw,i,"K"].join(" ")}else{k=[p(ay),p(ax),p(aw),p(i),"K"].join(" ")}}}ab(k);return this};P.setFillColor=function(ay,ax,aw,i){var k;if(ax===undefined||(i===undefined&&ay===ax===aw)){if(typeof ay==="string"){k=ay+" g"}else{k=p(ay/255)+" g"}}else{if(i===undefined){if(typeof ay==="string"){k=[ay,ax,aw,"rg"].join(" ")}else{k=[p(ay/255),p(ax/255),p(aw/255),"rg"].join(" ")}}else{if(typeof ay==="string"){k=[ay,ax,aw,i,"k"].join(" ")}else{k=[p(ay),p(ax),p(aw),p(i),"k"].join(" ")}}}ab(k);return this};P.setTextColor=function(aw,k,i){if((aw===0&&k===0&&i===0)||(typeof k==="undefined")){ad=o(aw/255)+" g"}else{ad=[o(aw/255),o(k/255),o(i/255),"rg"].join(" ")}return this};P.CapJoinStyles={0:0,butt:0,but:0,bevel:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,milter:2};P.setLineCap=function(i){var k=this.CapJoinStyles[i];if(k===undefined){throw new Error("Line cap style of '"+i+"' is not recognized. See or extend .CapJoinStyles property for valid styles")}R=k;ab(k.toString(10)+" J");return this};P.setLineJoin=function(i){var k=this.CapJoinStyles[i];if(k===undefined){throw new Error("Line join style of '"+i+"' is not recognized. See or extend .CapJoinStyles property for valid styles")}T=k;ab(k.toString(10)+" j");return this};P.output=I;P.save=function(i){P.output("save",i)};for(aq in b.API){if(b.API.hasOwnProperty(aq)){if(aq==="events"&&b.API.events.length){(function(ax,az){var ay,aw,k;for(k=az.length-1;k!==-1;k--){ay=az[k][0];aw=az[k][1];ax.subscribe.apply(ax,[ay].concat(typeof aw==="function"?[aw]:aw))}}(G,b.API.events))}else{P[aq]=b.API[aq]}}}e();d="F1";ah();G.publish("initialized");return P}b.API={events:[]};return b}());(function(i){var b=0,m=0,a,o,h,c={x:undefined,y:undefined,w:undefined,h:undefined,ln:undefined},f=1,e=false,d=function(p,t,q,r,s){c={x:p,y:t,w:q,h:r,ln:s}},k=function(){return c},j=function(p){b=p},l=function(){return b},n=function(p){m=p},g=function(p){return m};i.getTextDimensions=function(p){a=this.internal.getFont().fontName;o=this.internal.getFontSize();h=this.internal.getFont().fontStyle;var s=0.264583*72/25.4,q,r;r=document.createElement("font");r.id="pdfDataExportCell";r.style.fontStyle=h;r.style.fontName=a;r.style.fontSize=o+"pt";r.innerHTML=p;document.body.appendChild(r);q={w:(r.offsetWidth+1)*s,h:(r.offsetHeight+1)*s};document.body.removeChild(r);return q};i.cellAddPage=function(){this.addPage();d(undefined,undefined,undefined,undefined,undefined);e=true;f+=1;n(1)};i.cellInitialize=function(){b=0;c={x:undefined,y:undefined,w:undefined,h:undefined,ln:undefined};f=1;e=false;n(0)};i.cell=function(z,v,A,s,p,u){this.lnMod=this.lnMod===undefined?0:this.lnMod;if(this.printingHeaderRow!==true&&this.lnMod!==0){u=u+this.lnMod}if((((u*s)+v+(s*2))/f)>=this.internal.pageSize.height&&f===1&&!e){this.cellAddPage();if(this.printHeaders&&this.tableHeaderRow){this.printHeaderRow(u);this.lnMod+=1;u+=1}if(l()===0){j(Math.round((this.internal.pageSize.height-(s*2))/s))}}else{if(e&&k().ln!==u&&g()===l()){this.cellAddPage();if(this.printHeaders&&this.tableHeaderRow){this.printHeaderRow(u);this.lnMod+=1;u+=1}}}var B=k(),r=this.getTextDimensions(p),t=1;if(B.x!==undefined&&B.ln===u){z=B.x+B.w}if(B.y!==undefined&&B.y===v){v=B.y}if(B.h!==undefined&&B.h===s){s=B.h}if(B.ln!==undefined&&B.ln===u){u=B.ln;t=0}if(e){v=s*(g()+t)}else{v=(v+(s*Math.abs(l()*f-u-l())))}this.rect(z,v,A,s);var q=/[а-яА-ЯЁё]/.test(p);if(q){this.text16(p,z+3,v+s-3)}else{this.text(p,z+3,v+s-3)}n(g()+t);d(z,v,A,s,u);return this};i.getKeys=(typeof Object.keys==="function")?function(p){if(!p){return[]}return Object.keys(p)}:function(p){var q=[],r;for(r in p){if(p.hasOwnProperty(r)){q.push(r)}}return q};i.arrayMax=function(u,t){var p=u[0],q,s,r;for(q=0,s=u.length;q<s;q+=1){r=u[q];if(t){if(t(p,r)===-1){p=r}}else{if(r>p){p=r}}}return p};i.table=function(J,r,I){var v=[],p=[],D,z,B,x,E,y,G={},A={},u,s,H=[],C,F=[],t,q,w;this.lnMod=0;if(I){z=I.autoSize||false;B=this.printHeaders=I.printHeaders||true;x=I.autoStretch||true}if(!J){throw"No data for PDF table"}if(r===undefined||(r===null)){v=this.getKeys(J[0])}else{if(r[0]&&(typeof r[0]!=="string")){for(E=0,y=r.length;E<y;E+=1){D=r[E];v.push(D.name);p.push(D.prompt)}}else{v=r}}if(I.autoSize){w=function(K){return K[D]};for(E=0,y=v.length;E<y;E+=1){D=v[E];G[D]=J.map(w);H.push(this.getTextDimensions(p[E]||D).w);s=G[D];for(C=0,y=s.length;C<y;C+=1){u=s[C];H.push(this.getTextDimensions(u).w)}A[D]=i.arrayMax(H)}}if(I.printHeaders){for(E=0,y=v.length;E<y;E+=1){D=v[E];F.push([10,10,A[D],25,String(p.length?p[E]:D)])}this.setTableHeaderRow(F);this.printHeaderRow(1)}for(E=0,y=J.length;E<y;E+=1){t=J[E];for(C=0,q=v.length;C<q;C+=1){D=v[C];this.cell(10,10,A[D],25,String(t[D]),E+2)}}return this};i.setTableHeaderRow=function(p){this.tableHeaderRow=p};i.printHeaderRow=function(p){if(!this.tableHeaderRow){throw"Property tableHeaderRow does not exist."}var q,s,r,t;this.printingHeaderRow=true;for(r=0,t=this.tableHeaderRow.length;r<t;r+=1){q=this.tableHeaderRow[r];s=[].concat(q);this.cell.apply(this,s.concat(p))}this.printingHeaderRow=false}}(pdfDataExport.API));(function(c){var b=c.getCharWidthsArray=function(s,u){if(!u){u={}}var h=u.widths?u.widths:this.internal.getFont().metadata.Unicode.widths,r=h.fof?h.fof:1,n=u.kerning?u.kerning:this.internal.getFont().metadata.Unicode.kerning,p=n.fof?n.fof:1;var m,j,o,k,q=0,t=h[0]||r,g=[];for(m=0,j=s.length;m<j;m++){o=s.charCodeAt(m);g.push((h[o]||t)/r+(n[o]&&n[o][q]||0)/p);q=o}return g};var e=function(j){var h=j.length,g=0;while(h){h--;g+=j[h]}return g};var a=c.getStringUnitWidth=function(h,g){return e(b.call(this,h,g))};var d=function(g,n,h,j){var q=[];var m=0,k=g.length,p=0;while(m!==k&&p+n[m]<h){p+=n[m];m++}q.push(g.slice(0,m));var o=m;p=0;while(m!==k){if(p+n[m]>j){q.push(g.slice(o,m));p=0;o=m}p+=n[m];m++}if(o!==m){q.push(g.slice(o,m))}return q};var f=function(s,k,v){if(!v){v={}}var t=b(" ",v)[0];var r=s.split(" ");var w=[],x=[w],h=v.textIndent||0,u=0,p=0,g,q;var o,m,n;for(o=0,m=r.length;o<m;o++){g=r[o];q=b(g,v);p=e(q);if(h+u+p>k){if(p>k){n=d(g,q,k-(h+u),k);w.push(n.shift());w=[n.pop()];while(n.length){x.push([n.shift()])}p=e(q.slice(g.length-w[0].length))}else{w=[g]}x.push(w);h=p;u=t}else{w.push(g);h+=u+p;u=t}}var j=[];for(o=0,m=x.length;o<m;o++){j.push(x[o].join(" "))}return j};c.splitTextToSize=function(q,m,r){if(!r){r={}}var h=r.fontSize||this.internal.getFontSize(),g=(function(l){var t={0:1},i={};if(!l.widths||!l.kerning){var u=this.internal.getFont(l.fontName,l.fontStyle),s="Unicode";if(u.metadata[s]){return{widths:u.metadata[s].widths||t,kerning:u.metadata[s].kerning||i}}}else{return{widths:l.widths,kerning:l.kerning}}return{widths:t,kerning:i}}).call(this,r);var p;if(q.match(/[\n\r]/)){p=q.split(/\r\n|\r|\n/g)}else{p=[q]}var j=1*this.internal.scaleFactor*m/h;g.textIndent=r.textIndent?r.textIndent*1*this.internal.scaleFactor/h:0;var o,n,k=[];for(o=0,n=p.length;o<n;o++){k=k.concat(f(p[o],j,g))}return k}})(pdfDataExport.API);(function(c){var d="addImage_";var f=function(m){var l,h;if(!m.charCodeAt(0)===255||!m.charCodeAt(1)===216||!m.charCodeAt(2)===255||!m.charCodeAt(3)===224||!m.charCodeAt(6)==="J".charCodeAt(0)||!m.charCodeAt(7)==="F".charCodeAt(0)||!m.charCodeAt(8)==="I".charCodeAt(0)||!m.charCodeAt(9)==="F".charCodeAt(0)||!m.charCodeAt(10)===0){throw new Error("getJpegSize requires a binary jpeg file")}var j=m.charCodeAt(4)*256+m.charCodeAt(5);var k=4,g=m.length;while(k<g){k+=j;if(m.charCodeAt(k)!==255){throw new Error("getJpegSize could not find the size of the image")}if(m.charCodeAt(k+1)===192){h=m.charCodeAt(k+5)*256+m.charCodeAt(k+6);l=m.charCodeAt(k+7)*256+m.charCodeAt(k+8);return[l,h]}else{k+=2;j=m.charCodeAt(k)*256+m.charCodeAt(k+1)}}},b=function(g){var m=this.internal.newObject(),h=this.internal.write,l=this.internal.putStream;g.n=m;h("<</Type /XObject");h("/Subtype /Image");h("/Width "+g.w);h("/Height "+g.h);if(g.cs==="Indexed"){h("/ColorSpace [/Indexed /DeviceRGB "+(g.pal.length/3-1)+" "+(m+1)+" 0 R]")}else{h("/ColorSpace /"+g.cs);if(g.cs==="DeviceCMYK"){h("/Decode [1 0 1 0 1 0 1 0]")}}h("/BitsPerComponent "+g.bpc);if("f" in g){h("/Filter /"+g.f)}if("dp" in g){h("/DecodeParms <<"+g.dp+">>")}if("trns" in g&&g.trns.constructor==Array){var k="";for(var j=0;j<g.trns.length;j++){k+=(g[k][j]+" "+g.trns[j]+" ");h("/Mask ["+k+"]")}}if("smask" in g){h("/SMask "+(m+1)+" 0 R")}h("/Length "+g.data.length+">>");l(g.data);h("endobj")},e=function(){var g=this.internal.collections[d+"images"];for(var h in g){b.call(this,g[h])}},a=function(){var g=this.internal.collections[d+"images"],h=this.internal.write,k;for(var j in g){k=g[j];h("/I"+k.i,k.n,"0","R")}};c.addImage=function(g,s,q,p,t,l){if(typeof g==="object"&&g.nodeType===1){var j=document.createElement("canvas");j.width=g.clientWidth;j.height=g.clientHeight;var u=j.getContext("2d");if(!u){throw ("addImage requires canvas to be supported by browser.")}u.drawImage(g,0,0,j.width,j.height);g=j.toDataURL("image/jpeg");s="JPEG"}if(s.toUpperCase()!=="JPEG"){throw new Error("addImage currently only supports format 'JPEG', not '"+s+"'")}var i,n=this.internal.collections[d+"images"],m=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString;if(g.substring(0,23)==="data:image/jpeg;base64,"){g=atob(g.replace("data:image/jpeg;base64,",""))}if(n){i=Object.keys?Object.keys(n).length:(function(w){var h=0;for(var v in w){if(w.hasOwnProperty(v)){h++}}return h})(n)}else{i=0;this.internal.collections[d+"images"]=n={};this.internal.events.subscribe("putResources",e);this.internal.events.subscribe("putXobjectDict",a)}var r=f(g);var k={w:r[0],h:r[1],cs:"DeviceRGB",bpc:8,f:"DCTDecode",i:i,data:g};n[i]=k;if(!t&&!l){t=-96;l=-96}if(t<0){t=(-1)*k.w*72/t/this.internal.scaleFactor}if(l<0){l=(-1)*k.h*72/l/this.internal.scaleFactor}if(t===0){t=l*k.w/k.h}if(l===0){l=t*k.h/k.w}this.internal.write("q",m(t),"0 0",m(l),m(q),o(p+l),"cm /I"+k.i,"Do Q");return this}})(pdfDataExport.API);(function(a){var e=function(q){var w="0123456789abcdef",o="klmnopqrstuvwxyz",h={};for(var r=0;r<o.length;r++){h[o[r]]=w[r]}var p,m={},n=1,t,k=m,g=[],s,l="",u="",v,j=q.length-1,f;r=1;while(r!=j){f=q[r];r+=1;if(f=="'"){if(t){v=t.join("");t=p}else{t=[]}}else{if(t){t.push(f)}else{if(f=="{"){g.push([k,v]);k={};v=p}else{if(f=="}"){s=g.pop();s[0][s[1]]=k;v=p;k=s[0]}else{if(f=="-"){n=-1}else{if(v===p){if(h.hasOwnProperty(f)){l+=h[f];v=parseInt(l,16)*n;n=+1;l=""}else{l+=f}}else{if(h.hasOwnProperty(f)){u+=h[f];k[v]=parseInt(u,16)*n;n=+1;v=p;u=""}else{u+=f}}}}}}}}return m};var d={codePages:["WinAnsiEncoding"],WinAnsiEncoding:e("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:d,"Courier-Bold":d,"Courier-BoldOblique":d,"Courier-Oblique":d,Helvetica:d,"Helvetica-Bold":d,"Helvetica-BoldOblique":d,"Helvetica-Oblique":d,"Times-Roman":d,"Times-Bold":d,"Times-BoldItalic":d,"Times-Italic":d}},b={Unicode:{"Courier-Oblique":e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":e("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":e("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":e("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Helvetica:e("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":e("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),"Courier-Bold":e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":e("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":e("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":e("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};a.events.push(["addFonts",function(i){var f,g,h,k,j="Unicode",l;for(g in i.fonts){if(i.fonts.hasOwnProperty(g)){f=i.fonts[g];h=b[j][f.PostScriptName];if(h){if(f.metadata[j]){k=f.metadata[j]}else{k=f.metadata[j]={}}k.widths=h.widths;k.kerning=h.kerning}l=c[j][f.PostScriptName];if(l){if(f.metadata[j]){k=f.metadata[j]}else{k=f.metadata[j]={}}k.encoding=l;if(l.codePages&&l.codePages.length){f.encoding=l.codePages[0]}}}}}])})(pdfDataExport.API);var saveAs=window.jqxSaveAs=saveAs||(navigator.msSaveBlob&&navigator.msSaveBlob.bind(navigator))||(function(h){var r=h.document,l=function(){return h.URL||h.webkitURL||h},e=h.URL||h.webkitURL||h,n=$("<a></a>")[0],g="download" in n,j=function(t){var s=r.createEvent("MouseEvents");s.initMouseEvent("click",true,false,h,0,0,0,0,0,false,false,false,false,0,null);return t.dispatchEvent(s)},o=h.webkitRequestFileSystem,p=h.requestFileSystem||o||h.mozRequestFileSystem,m=function(s){(h.setImmediate||h.setTimeout)(function(){throw s},0)},c="application/octet-stream",k=0,b=[],i=function(){var t=b.length;while(t--){var s=b[t];if(typeof s==="string"){e.revokeObjectURL(s)}else{s.remove()}}b.length=0},q=function(t,s,w){s=[].concat(s);var v=s.length;while(v--){var x=t["on"+s[v]];if(typeof x==="function"){try{x.call(t,w||t)}catch(u){m(u)}}}},f=function(t,u){var v=this,B=t.type,E=false,x,w,s=function(){var F=l().createObjectURL(t);b.push(F);return F},A=function(){q(v,"writestart progress write writeend".split(" "))},D=function(){if(E||!x){x=s(t)}if(w){w.location.href=x}v.readyState=v.DONE;A()},z=function(F){return function(){if(v.readyState!==v.DONE){return F.apply(this,arguments)}}},y={create:true,exclusive:false},C;v.readyState=v.INIT;if(!u){u="download"}if(g){x=s(t);n.href=x;n.download=u;if(j(n)){v.readyState=v.DONE;A();return}}if(h.chrome&&B&&B!==c){C=t.slice||t.webkitSlice;t=C.call(t,0,t.size,c);E=true}if(o&&u!=="download"){u+=".download"}if(B===c||o){w=h}else{w=h.open()}if(!p){D();return}k+=t.size;p(h.TEMPORARY,k,z(function(F){F.root.getDirectory("saved",y,z(function(G){var H=function(){G.getFile(u,y,z(function(I){I.createWriter(z(function(J){J.onwriteend=function(K){w.location.href=I.toURL();b.push(I);v.readyState=v.DONE;q(v,"writeend",K)};J.onerror=function(){var K=J.error;if(K.code!==K.ABORT_ERR){D()}};"writestart progress write abort".split(" ").forEach(function(K){J["on"+K]=v["on"+K]});J.write(t);v.abort=function(){J.abort();v.readyState=v.DONE};v.readyState=v.WRITING}),D)}),D)};G.getFile(u,{create:false},z(function(I){I.remove();H()}),z(function(I){if(I.code===I.NOT_FOUND_ERR){H()}else{D()}}))}),D)}),D)},d=f.prototype,a=function(s,t){return new f(s,t)};d.abort=function(){var s=this;s.readyState=s.DONE;q(s,"abort")};d.readyState=d.INIT=0;d.WRITING=1;d.DONE=2;d.error=d.onwritestart=d.onprogress=d.onwrite=d.onabort=d.onerror=d.onwriteend=null;if(h.addEventListener){h.addEventListener("unload",i,false)}return a}(self));(function(a){var b="pdfDataExport IE Below 9 Shim plugin";a.output=function(e,d){return this.internal.output(e,d);var c="Output.pdf";switch(e){case"datauristring":case"dataurlstring":case"datauri":case"dataurl":case"dataurlnewwindow":if(console){console.log(b+": Data URIs are not supported on IE6-9.")}break;case"save":c=d;break}}})(pdfDataExport.API);
+
+(function($){$.jqx.jqxWidget("jqxBarGauge","",{});$.extend($.jqx._jqxBarGauge.prototype,{defineInstance:function(){var settings={animationDuration:300,backgroundColor:"#e0e0e0",barSpacing:4,baseValue:null,colorScheme:"scheme01",customColorScheme:null,endAngle:-45,disabled:false,formatFunction:null,geometry:{startAngle:225,endAngle:-45},height:400,labels:null,min:0,max:100,rendered:null,relativeInnerRadius:0.3,startAngle:225,title:null,tooltip:null,values:[],width:400,useGradient:true,_intervalArray:[],_drawnValues:[],_drawnSlices:[],_titleTemplate:{text:"",font:{color:"#232323",family:"'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana",opacity:1,size:28,weight:100},horizontalAlignment:"center",verticalAlignment:"top",placeholderSize:null,margin:{bottom:0,left:0,right:0,top:0},subtitle:{text:"",font:{color:"#232323",family:"'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana",opacity:1,size:16,weight:100}}},_labelTemplate:{connectorColor:null,connectorWidth:1,formatFunction:function(value){return value},font:{color:null,family:"'Segoe UI', 'Helvetica Neue', 'Trebuchet MS', Verdana",size:16,weight:400},indent:20,precision:2,visible:true},_tooltipTemplate:{classname:"",formatFunction:function(value){return value},visible:false,precision:0},_colorSchemes:[{name:"scheme01",colors:["#307DD7","#AA4643","#89A54E","#71588F","#4198AF"]},{name:"scheme02",colors:["#7FD13B","#EA157A","#FEB80A","#00ADDC","#738AC8"]},{name:"scheme03",colors:["#E8601A","#FF9639","#F5BD6A","#599994","#115D6E"]},{name:"scheme04",colors:["#D02841","#FF7C41","#FFC051","#5B5F4D","#364651"]},{name:"scheme05",colors:["#25A0DA","#309B46","#8EBC00","#FF7515","#FFAE00"]},{name:"scheme06",colors:["#0A3A4A","#196674","#33A6B2","#9AC836","#D0E64B"]},{name:"scheme07",colors:["#CC6B32","#FFAB48","#FFE7AD","#A7C9AE","#888A63"]},{name:"scheme08",colors:["#3F3943","#01A2A6","#29D9C2","#BDF271","#FFFFA6"]},{name:"scheme09",colors:["#1B2B32","#37646F","#A3ABAF","#E1E7E8","#B22E2F"]},{name:"scheme10",colors:["#5A4B53","#9C3C58","#DE2B5B","#D86A41","#D2A825"]},{name:"scheme11",colors:["#993144","#FFA257","#CCA56A","#ADA072","#949681"]},{name:"scheme12",colors:["#105B63","#EEEAC5","#FFD34E","#DB9E36","#BD4932"]},{name:"scheme13",colors:["#BBEBBC","#F0EE94","#F5C465","#FA7642","#FF1E54"]},{name:"scheme14",colors:["#60573E","#F2EEAC","#BFA575","#A63841","#BFB8A3"]},{name:"scheme15",colors:["#444546","#FFBB6E","#F28D00","#D94F00","#7F203B"]},{name:"scheme16",colors:["#583C39","#674E49","#948658","#F0E99A","#564E49"]},{name:"scheme17",colors:["#142D58","#447F6E","#E1B65B","#C8782A","#9E3E17"]},{name:"scheme18",colors:["#4D2B1F","#635D61","#7992A2","#97BFD5","#BFDCF5"]},{name:"scheme19",colors:["#844341","#D5CC92","#BBA146","#897B26","#55591C"]},{name:"scheme20",colors:["#56626B","#6C9380","#C0CA55","#F07C6C","#AD5472"]},{name:"scheme21",colors:["#96003A","#FF7347","#FFBC7B","#FF4154","#642223"]},{name:"scheme22",colors:["#5D7359","#E0D697","#D6AA5C","#8C5430","#661C0E"]},{name:"scheme23",colors:["#16193B","#35478C","#4E7AC7","#7FB2F0","#ADD5F7"]},{name:"scheme24",colors:["#7B1A25","#BF5322","#9DA860","#CEA457","#B67818"]},{name:"scheme25",colors:["#0081DA","#3AAFFF","#99C900","#FFEB3D","#309B46"]},{name:"scheme26",colors:["#0069A5","#0098EE","#7BD2F6","#FFB800","#FF6800"]},{name:"scheme27",colors:["#FF6800","#A0A700","#FF8D00","#678900","#0069A5"]}],_colors:["#307DD7","#AA4643","#89A54E","#71588F","#4198AF"],_colorNames:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",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",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",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",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",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:"#d87093",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",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},_dimensions:{},_ie:$.jqx.browser.msie,_oldIEbrowser:($.jqx.browser.msie&&$.jqx.browser.version<=8),_ie8:($.jqx.browser.msie&&$.jqx.browser.version==8),_ie7:($.jqx.browser.msie&&$.jqx.browser.version<8),_centerX:null,_centerY:null,_coordinatePlane:null,_geometry:{startAngle:-45,baseAngle:-45,fix:0,endAngle:225},_userValues:[],_valuesToDegrees:[],_oldValues:[],_oldValuesToDegrees:[],_temporaryValuesToDegrees:[],_temporaryValues:[],_temporaryOldAngle:[],_valuesLength:0,_oldValuesLength:0,_alignmentIE:null,_title:{},_backgroundColor:"#e0e0e0",_label:{},_tooltip:{},_renderedValues:0,_barWidth:35,_barStartAt:30,_barGaugeSlices:[],_barGaugeBackgroundSlices:[],_barGaugeSlicesStrokeWidth:0,_barGaugeLabelLines:[],_barGaugeLabelText:[],_barGaugeTitle:null,_barGaugeSubTitle:null,_barGaugeTooltip:$("<div></div>"),_measuredText:$("<div class='jqx-bar-gauge-measure-text'></div>"),_measuredTextId:"",renderer:null,_barGaugeRadius:null,_barGaugeFigureRadius:null,_labelPositioningRadius:null,_placeholderSize:50,_rendering:false,_titleLines:0,_subTitleLines:0,_initialized:false,_events:["initialized","valueChanged","tooltipOpen","tooltipClose","drawStart","drawEnd"]};if(this===$.jqx._jqxBarGauge.prototype){return settings}$.extend(true,this,settings);return settings},createInstance:function(){var that=this;that._createBarGauge()},_createBarGauge:function(){var that=this;that._getLiquidDimensions();that._addIEPolyfills();that._barGaugeTooltip.css({display:"none"});$(that.host).empty();that._attachCustomColors();that.geometry.startAngle=that.startAngle;that.geometry.endAngle=that.endAngle;that._validateGeometry();that._validateTitle();that._validateLabel();that._validateValues();that._validateTooltip();that._validateAnimationDuration();that._transformValuesToAngles();that._getColorScheme();if((that.animationDuration===0)||(that._ie8)||(that._ie7)){that._drawStaticBarGauge()}else{that._drawDynamicBarGauge()}that._raiseEvent("4");that._createTooltip();that._addCSS();if(that._ie){that._removeBarGaugeTitle();that._removeBarGaugeSubTitle();that._drawBarGaugeTitle()}that._addEventHandlers()},_initRenderer:function(host){if(!$.jqx.createRenderer){throw"jqxBarGauge: Please include a reference to jqxdraw.js"}return $.jqx.createRenderer(this,host)},_validateValues:function(){var that=this;var valuesLength,maxBarSpacing;if(that._userValues.length===0){that._userValues=that.values.slice()}if(that._oldValues.length===0){that._oldValues=that.values.slice()}that._valuesLength=that.values.length;for(var i=0;i<that._valuesLength;i++){that.values[i]=parseFloat(that.values[i]);if((that.values[i]<that.startValue)||(isNaN(that.values[i]))){that.values[i]=that.startValue}else{if(that.values[i]>that.max){that.values[i]=that.max}}that._drawnValues[i]=false;that._drawnSlices[i]=false}if((that.baseValue<=that.startValue)||(that.baseValue===null)){that.baseValue=that.min}else{if(that.baseValue>that.max){that.baseValue=that.max}}if(that.relativeInnerRadius>=1){that.relativeInnerRadius=0.99}else{if(that.relativeInnerRadius<0){that.relativeInnerRadius=0}}that._calculateBarGaugeRadius();valuesLength=that._valuesLength||1;maxBarSpacing=that._barGaugeRadius*(1-that.relativeInnerRadius)/valuesLength-0.01;if(that.barSpacing>maxBarSpacing){that.barSpacing=maxBarSpacing}that._backgroundColor=that._validateColor(that.backgroundColor,that._backgroundColor)},_attachCustomColors:function(){var that=this;var colorSchemesLength=that._colorSchemes.length;var colorSchemeInSchemes=false;if((that.customColorScheme!==null)&&(that.customColorScheme.colors!==null)&&(that.customColorScheme.name!==null)){for(var i=0;i<colorSchemesLength;i++){if(that.customColorScheme.name===that._colorSchemes[i].name){that._colorSchemes[i].colors=that.customColorScheme.colors.slice();colorSchemeInSchemes=true}}if(!colorSchemeInSchemes){that._colorSchemes.push(that.customColorScheme)}}},_getLiquidDimensions:function(){var that=this;if($.isEmptyObject(that._dimensions)){that._dimensions.width=that.width;that._dimensions.height=that.height}if(typeof that._dimensions.width==="string"&&that._dimensions.width.indexOf("%")!==-1){that.width=(parseInt(that._dimensions.width,10)/100)*$("#"+that.element.id).parent().width()}if(typeof that._dimensions.height==="string"&&that._dimensions.height.indexOf("%")!==-1){that.height=(parseInt(that._dimensions.height,10)/100)*$("#"+that.element.id).parent().height()}},_getLongestValue:function(){var that=this;var valuesCount=that.values.length,longestValue="",longestValueLength=0;for(var i=0;i<valuesCount;i++){if(that.values[i].toString().length>longestValueLength){longestValue=that.values[i];longestValueLength=longestValue.toString().length}}longestValue=that._calculatePrecision(that._label.precision,longestValue);if((that._label.formatFunction!==undefined)&&(that._label.formatFunction!==null)&&(typeof that._label.formatFunction==="function")){longestValue=that._label.formatFunction(longestValue)}longestValue=longestValue.toUpperCase();return longestValue},_validateGeometry:function(){var that=this;var startAngle=parseFloat(that.geometry.startAngle);var endAngle=parseFloat(that.geometry.endAngle);if(Math.abs(startAngle)>=360){startAngle=startAngle%360}if(startAngle<0){startAngle=360+startAngle}if(Math.abs(endAngle)>=360){endAngle=endAngle%360}if(endAngle<0){endAngle=360+endAngle}that.geometry.startAngle=startAngle;that.geometry.endAngle=endAngle},_validateColor:function(color,defaultColor){var that=this;var validatedColor;if((color===undefined)||(color===null)){validatedColor=defaultColor}else{if(/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(color)){validatedColor=color}else{if(/(^[0-9A-F]{6}$)|(^[0-9A-F]{3}$)/i.test(color)){validatedColor="#"+color}else{if(typeof that._colorNames[color.toLowerCase()]!=="undefined"){validatedColor=that._colorNames[color.toLowerCase()]}else{validatedColor="transparent"}}}}return validatedColor},_validateTooltip:function(){var that=this;if((that.tooltip===undefined)||(that.tooltip===null)||(typeof that.tooltip!=="object")){that._tooltip=that._tooltipTemplate}else{that._tooltip.visible=(that.tooltip.visible===false)?false:(that.tooltip.visible||that._tooltipTemplate.visible);that._tooltip.classname=that.tooltip.classname||that._tooltipTemplate.classname;if(typeof that.tooltip.formatFunction==="function"){that._tooltip.formatFunction=that.tooltip.formatFunction}else{that._tooltip.formatFunction=that._tooltipTemplate.formatFunction}if(that.tooltip.precision===null||that.tooltip.precision===undefined){that._tooltip.precision=that._tooltipTemplate.precision}else{if(parseInt(that.tooltip.precision,10)<=0){that._tooltip.precision=0}else{that._tooltip.precision=parseInt(that.tooltip.precision,10)}}}},_validateTitle:function(){var that=this;that._title=that._titleTemplate;that._measuredTextId=that.element.id+"measuredText";if(typeof that.title==="string"){that._title.text=that.title}else{if(typeof that.title==="number"){that._title.text=String(that.title)}else{if((typeof that.title==="object")&&(that.title!==undefined)&&(that.title!==null)){that._title.text=that.title.text||that._titleTemplate.text;that._title.horizontalAlignment=that.title.horizontalAlignment||that._titleTemplate.horizontalAlignment;that._title.verticalAlignment=that.title.verticalAlignment||that._titleTemplate.verticalAlignment}}}if((that.title===undefined)||(that.title===null)||(that.title.font===undefined)||(that.title.font===null)){that._title.font=that._titleTemplate.font}else{that._title.font.family=that.title.font.family||that._titleTemplate.font.family;that._title.font.opacity=that.title.font.opacity||that._titleTemplate.font.opacity;that._title.font.size=that.title.font.size||that._titleTemplate.font.size;that._title.font.weight=that.title.font.weight||that._titleTemplate.font.weight;if((that._ie7||that._ie8)&&(that._title.font.weight>100)){that._title.font.weight="bold"}that._title.font.color=that._validateColor(that.title.font.color,that._titleTemplate.font.color)}if((that.title===undefined)||(that.title===null)||(that.title.margin===undefined)||(that.title.margin===null)){that._title.margin=that._titleTemplate.margin}else{if(typeof that.title.margin!=="object"){var margin=parseInt(that.title.margin,10);that._title.margin.top=margin;that._title.margin.right=margin;that._title.margin.bottom=margin;that._title.margin.left=margin}else{that._title.margin.top=that.title.margin.top===0?0:(that.title.margin.top||that._titleTemplate.margin.top);that._title.margin.right=that.title.margin.right===0?0:(that.title.margin.right||that._titleTemplate.margin.right);that._title.margin.bottom=that.title.margin.bottom===0?0:(that.title.margin.bottom||that._titleTemplate.margin.bottom);that._title.margin.left=that.title.margin.left===0?0:(that.title.margin.left||that._titleTemplate.margin.left)}}if((that.title===undefined)||(that.title===null)||(that.title.subtitle===undefined)||(that.title.subtitle===null)){that._title.subtitle.text=that._titleTemplate.subtitle.text;that._title.subtitle.font=that._titleTemplate.subtitle.font}else{if(typeof that.title.subtitle!=="object"){that._title.subtitle.text=String(that.title.subtitle);that._title.subtitle.font=that._titleTemplate.subtitle.font}else{if((typeof that.title.subtitle.font==="undefined")||(that.title.subtitle.font===null)){that._title.subtitle.text=String(that.title.subtitle.text);that._title.subtitle.font=that._titleTemplate.subtitle.font}else{that._title.subtitle.text=String(that.title.subtitle.text);that._title.subtitle.font.color=that.title.subtitle.font.color||that._titleTemplate.subtitle.font.color;that._title.subtitle.font.family=that.title.subtitle.font.family||that._titleTemplate.subtitle.font.family;that._title.subtitle.font.opacity=that.title.subtitle.font.opacity||that._titleTemplate.subtitle.font.opacity;that._title.subtitle.font.size=that.title.subtitle.font.size||that._titleTemplate.subtitle.font.size;that._title.subtitle.font.weight=that.title.subtitle.font.weight||that._titleTemplate.subtitle.font.weight;if((that._ie7||that._ie8)&&(that._title.subtitle.font.weight>100)){that._title.subtitle.font.weight="bold"}}}}var calculatedPlaceholderSize;if(that._title.text===""){calculatedPlaceholderSize=0}else{if((that._title.subtitle.text==="")||(that._title.subtitle.text===undefined)||(that._title.subtitle.text===null)){that._titleLines=that._title.text.match(/<br>/g)!==null?(that._title.text.match(/<br>/g).length+1):1;calculatedPlaceholderSize=that._title.font.size*that._titleLines+that._title.margin.top+that._title.margin.bottom}else{that._titleLines=that._title.text.match(/<br>/g)!==null?(that._title.text.match(/<br>/g).length+1):1;that._subTitleLines=that._title.subtitle.text.match(/<br>/g)!==null?(that._title.text.match(/<br>/g).length+1):1;calculatedPlaceholderSize=that._title.font.size*that._titleLines+that._title.subtitle.font.size*that._subTitleLines+that._title.margin.top+that._title.margin.bottom}}if((that.title===undefined)||(that.title===null)||(that.title.placeholderSize===null)||(that.title.placeholderSize===undefined)){that._title.placeholderSize=calculatedPlaceholderSize||that.height*0.05}else{that._title.placeholderSize=that.title.placeholderSize}},_validateLabel:function(){var that=this;if((that.labels===null)||(that.labels===undefined)||(typeof that.labels!=="object")){that._label=that._labelTemplate}else{that._label.connectorColor=that._validateColor(that.labels.connectorColor,that._labelTemplate.connectorColor);that._label.connectorWidth=that.labels.connectorWidth||that._labelTemplate.connectorWidth;that._label.formatFunction=that.labels.formatFunction||that._labelTemplate.formatFunction;if((that.labels.precision===undefined)||(that.labels.precision===null)||(typeof that.labels.precision!=="number")){that._label.precision=that._labelTemplate.precision}else{that._label.precision=that.labels.precision}if(that._label.precision>15){that._label.precision=15}else{if(that._label.precision<0){that._label.precision=0}}if((that.labels.visible===undefined)||(that.labels.visible===null)){that._label.visible=that._labelTemplate.visible}else{if(that.labels.visible===false){that._label.visible=false}else{that._label.visible=true}}if(((typeof that.labels.indent!=="number")&&(typeof that.labels.indent!=="string"))||(that.labels.indent<=0)){that._label.indent=0}else{if(((typeof that.labels.indent!=="number")&&(typeof that.labels.indent!=="string"))||(that.labels.indent<=0)){that._label.indent=0}else{that._label.indent=that.labels.indent}}if((that.labels.font===null)||(that.labels.font===undefined)||(typeof that.labels.font!=="object")){that._label.font=that._labelTemplate.font}else{that._label.font={};that._label.font.color=that._validateColor(that.labels.font.color,that._labelTemplate.font.color);that._label.font.family=that.labels.font.family||that._labelTemplate.font.family;that._label.font.size=that.labels.font.size||that._labelTemplate.font.size;that._label.font.weight=that.labels.font.weight||that._labelTemplate.font.weight;if((that._ie7||that._ie8)&&(that._label.font.weight>100)){that._label.font.weight="bold"}}}},_validateAnimationDuration:function(){var that=this;var animationDurationToInt=parseInt(that.animationDuration,10);var animationDuration=animationDurationToInt>0?animationDurationToInt:0;if(that._oldIEbrowser){that.animationDuration=0}else{that.animationDuration=animationDuration}},_transformValuesToAngles:function(){var that=this;var barGaugeAngle,longestValue,textSize,barGaugeFigureRadius;that._placeholderSize=that._title.placeholderSize||that._placeholderSize;if(that.geometry.endAngle<that.geometry.startAngle){that._geometry.startAngle=parseFloat(that.geometry.endAngle)%360;that._geometry.endAngle=parseFloat(that.geometry.startAngle)%360}else{that._geometry.startAngle=parseFloat(that.geometry.endAngle)%360-360;that._geometry.endAngle=parseFloat(that.geometry.startAngle)%360}barGaugeAngle=that._geometry.endAngle-that._geometry.startAngle;if(barGaugeAngle>360){that._geometry.startAngle=that._geometry.startAngle+(barGaugeAngle-360)}if((that.baseValue!==undefined)&&(that.baseValue!==null)&&(that.baseValue>=that.min)&&(that.baseValue<=that.max)){that._geometry.baseAngle=((that.baseValue-that.min)*(that._geometry.endAngle-that._geometry.startAngle)/(that.max-that.min))+that._geometry.startAngle;that._geometry.fix=that.geometry.startAngle+that.geometry.endAngle-180}longestValue=that._getLongestValue();textSize=that._measureText(longestValue,that._label.font.size,that._label.font.family,that._label.font.weight);barGaugeFigureRadius=that._barGaugeRadius-that._label.indent*1.2-textSize.height*1.2;if((barGaugeFigureRadius+textSize.width+that._label.indent*1.2)>that.width/2){barGaugeFigureRadius=that._barGaugeRadius-that._label.indent*1.2-textSize.width}if(that._label.visible===false){barGaugeFigureRadius=that._barGaugeRadius}barGaugeFigureRadius=barGaugeFigureRadius*0.98;if(barGaugeFigureRadius<0){barGaugeFigureRadius=0}that._barGaugeFigureRadius=barGaugeFigureRadius;that._barWidth=barGaugeFigureRadius*(1-that.relativeInnerRadius)/that._valuesLength-that.barSpacing;that._barStartAt=barGaugeFigureRadius*that.relativeInnerRadius;that._labelPositioningRadius=that._barStartAt+that._valuesLength*(that._barWidth+that.barSpacing)-that.barSpacing+that._label.indent;for(var i=0;i<that._valuesLength;i++){that._valuesToDegrees[i]=((that.values[i]-that.min)/(that.max-that.min))*(that._geometry.endAngle-that._geometry.startAngle)+that._geometry.startAngle}$(that.host).width(that.width);$(that.host).height(that.height);if(!that._initialized){that._initRenderer(that.host);that._initialized=true}},_measureRadius:function(){var that=this;var longestValue=that._getLongestValue();var textSize=that._measureText(longestValue,that._label.font.size,that._label.font.family,that._label.font.weight);var barGaugeFigureRadius=that._barGaugeRadius-that._label.indent*1.2-textSize.height*1.2;if((barGaugeFigureRadius+textSize.width+that._label.indent*1.2)>that.width/2){barGaugeFigureRadius=that._barGaugeRadius-that._label.indent*1.2-textSize.width}if(that._label.visible===false){barGaugeFigureRadius=that._barGaugeRadius}barGaugeFigureRadius=barGaugeFigureRadius*0.98;if(barGaugeFigureRadius<0){barGaugeFigureRadius=0}that._barWidth=barGaugeFigureRadius*(1-that.relativeInnerRadius)/that._valuesLength-that.barSpacing;that._barStartAt=barGaugeFigureRadius*that.relativeInnerRadius;that._labelPositioningRadius=that._barStartAt+that._valuesLength*(that._barWidth+that.barSpacing)-that.barSpacing+that._label.indent},_drawEmptyBarGauge:function(){var that=this;var emptyBarGaugeRadius,backgroundSliceId;var gaugeLayerStart=that._barStartAt;var gaugeLayerEnd=gaugeLayerStart+that._barWidth;if(that._title.text===""){emptyBarGaugeRadius=that._barGaugeRadius}else{emptyBarGaugeRadius=that._barGaugeFigureRadius}gaugeLayerStart=that.relativeInnerRadius*emptyBarGaugeRadius;gaugeLayerEnd=emptyBarGaugeRadius;that._barGaugeBackgroundSlices[0]=that.renderer.pieslice(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,that._geometry.startAngle,that._geometry.endAngle,0,{fill:that._backgroundColor,stroke:that._backgroundColor,"stroke-width":that._barGaugeSlicesStrokeWidth});backgroundSliceId=that.element.id+"BackgroundSlice0";that.renderer.attr(that._barGaugeBackgroundSlices[0],{id:backgroundSliceId});that.renderer.attr(that._barGaugeBackgroundSlices[0],{"class":"jqx-bar-gauge-background-slice"});that._rendered();that._oldValuesLength=0;that._oldValues.length=0},_drawBarGaugeLayout:function(){var that=this;var backgroundSliceId;var gaugeLayerStart=that._barStartAt;var gaugeLayerEnd=gaugeLayerStart+that._barWidth;that._barGaugeSlicesStrokeWidth=0;that._centerX=that.width/2;if(that._title.text===""){that._centerY=that.height/2}else{if(that._title.verticalAlignment==="top"){that._centerY=(that.height+that._title.placeholderSize)/2}else{that._centerY=(that.height-that._title.placeholderSize)/2}}if(that._valuesLength>0){for(var i=0;i<that._valuesLength;i++){that._barGaugeBackgroundSlices[i]=that.renderer.pieslice(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,that._geometry.startAngle,that._geometry.endAngle,0,{fill:that._backgroundColor,stroke:that._backgroundColor,"stroke-width":that._barGaugeSlicesStrokeWidth});backgroundSliceId=that.element.id+"BackgroundSlice"+i;that.renderer.attr(that._barGaugeBackgroundSlices[i],{id:backgroundSliceId});that.renderer.attr(that._barGaugeBackgroundSlices[i],{"class":"jqx-bar-gauge-background-slice"});gaugeLayerStart=gaugeLayerEnd+that.barSpacing;gaugeLayerEnd=gaugeLayerStart+that._barWidth}}else{that._drawEmptyBarGauge()}},_drawBarGaugeElementsWithBase:function(){var that=this;var sliceId,gaugeLayerStart,gaugeLayerEnd,changeContition;var change=180-that._geometry.baseAngle+that._geometry.fix;that._renderedValues=0;gaugeLayerStart=that._barStartAt;gaugeLayerEnd=gaugeLayerStart+that._barWidth;var baseValues=[];for(var i=0;i<that._valuesLength;i++){baseValues[i]=that.baseValue;var drawColor=that._colors[i];if(that.formatFunction){drawColor=that.formatFunction(that.values[i],i,drawColor)}if(that._ie7||that._ie8){var updatedAngle=that._valuesToDegrees[i];change=180-updatedAngle+that._geometry.fix;if(that._valuesToDegrees[i]>that._geometry.baseAngle){that._barGaugeSlices[i]=that.renderer.pieslice(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,(180-that._geometry.baseAngle+that._geometry.fix),change,0,{fill:drawColor,stroke:drawColor,"stroke-width":that._barGaugeSlicesStrokeWidth})}else{that._barGaugeSlices[i]=that.renderer.pieslice(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,change,(180-that._geometry.baseAngle+that._geometry.fix),0,{fill:drawColor,stroke:drawColor,"stroke-width":that._barGaugeSlicesStrokeWidth})}sliceId=that.element.id+"Slice"+i;that.renderer.attr(that._barGaugeSlices[i],{id:sliceId});that.renderer.attr(that._barGaugeSlices[i],{"class":"jqx-bar-gauge-slice"});that._drawnSlices[i]=true;if(that._label.visible===true){that._drawLabelsLine(gaugeLayerStart,change,i);that._drawLabelsText(change,i)}that._rendered()}else{if(that.useGradient){var stops=[[0,1.4],[100,1]];drawColor=that.renderer._toLinearGradient(drawColor,true,stops)}that._barGaugeSlices[i]=that.renderer.pieslice(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,change+0.01,change,0,{fill:drawColor,stroke:drawColor,"stroke-width":that._barGaugeSlicesStrokeWidth});sliceId=that.element.id+"Slice"+i;that.renderer.attr(that._barGaugeSlices[i],{id:sliceId});that.renderer.attr(that._barGaugeSlices[i],{"class":"jqx-bar-gauge-slice"});that._drawnSlices[i]=true}that.renderer.attr(that._barGaugeSlices[i],{id:that.element.id+"Slice"+i});that.renderer.attr(that._barGaugeSlices[i],{"class":"jqx-bar-gauge-slice"});gaugeLayerStart=gaugeLayerEnd+that.barSpacing;gaugeLayerEnd=gaugeLayerStart+that._barWidth}that._oldValues=baseValues;that._temporaryValues=baseValues.slice(0);that._oldValuesToDegrees.length=0;for(var i=0;i<that.values.length;i++){that._oldValuesToDegrees[i]=that._geometry.baseAngle;that._temporaryValuesToDegrees[i]=that._geometry.baseAngle}that._rendering=true;that._redrawWithNewValuesArray(that.values,that._oldValues)},_drawBarGaugeElementWithBase:function(gaugeLayerStart,change,amount,changeContition,valueIndex){var that=this;var newPieSlicePath,angleStepPercent,angleDiff,valueStep;var animation=that._calculateAnimationInterval(valueIndex,false);var gaugeLayerEnd=gaugeLayerStart+that._barWidth;var updatedItem=that._barGaugeSlices[valueIndex];var updatedAngle=that._valuesToDegrees[valueIndex];if(that.animationDuration===0){change=180-updatedAngle+that._geometry.fix}angleDiff=Math.abs(that._geometry.baseAngle-updatedAngle);if(angleDiff===0){angleDiff=0.01}angleStepPercent=Math.abs((amount/animation.smoothCoef)/angleDiff);valueStep=angleStepPercent*Math.abs(that.baseValue-that.values[valueIndex]);if(isNaN(that._temporaryValues[valueIndex])){that._temporaryValues[valueIndex]=that.values[valueIndex]}if(isNaN(that._temporaryValuesToDegrees[valueIndex])){that._temporaryValuesToDegrees[valueIndex]=that._valuesToDegrees[valueIndex]}that._intervalArray[valueIndex]=setInterval(function(){calculateNewPieSlicePath();if(eval(changeContition)&&!that.disabled){that.renderer.attr(updatedItem,{d:newPieSlicePath});change+=amount/animation.smoothCoef;that._temporaryValuesToDegrees[valueIndex]=(180-change+that._geometry.fix)%360;that._temporaryValues[valueIndex]=that._temporaryValues[valueIndex]+amount*valueStep}else{change=180-updatedAngle+that._geometry.fix;that._temporaryValuesToDegrees[valueIndex]=updatedAngle%360;that._temporaryValues[valueIndex]=that.values[valueIndex];calculateNewPieSlicePath();that.renderer.attr(updatedItem,{d:newPieSlicePath});clearInterval(that._intervalArray[valueIndex]);that._renderedValues++;if(that._renderedValues===that.values.length){that._rendered()}}},animation.interval/animation.smoothCoef);function calculateNewPieSlicePath(){if(amount===-1){newPieSlicePath=$.jqx.commonRenderer.pieSlicePath(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,change,(180-that._geometry.baseAngle+that._geometry.fix),0)}else{newPieSlicePath=$.jqx.commonRenderer.pieSlicePath(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,(180-that._geometry.baseAngle+that._geometry.fix),change,0)}}},_drawStaticBarGaugeElementsWithBase:function(){var that=this;var gaugeLayerStart,gaugeLayerEnd,change,updatedAngle,sliceId;gaugeLayerStart=that._barStartAt;gaugeLayerEnd=gaugeLayerStart+that._barWidth;for(var i=0;i<that._valuesLength;i++){updatedAngle=that._valuesToDegrees[i]||(that._geometry.baseAngle);that._oldValues[i]=that.values[i]||that.baseValue;change=180-updatedAngle+that._geometry.fix;var drawColor=that._colors[i];if(that.useGradient){var stops=[[0,1.4],[100,1]];drawColor=that.renderer._toLinearGradient(drawColor,true,stops)}if(that._valuesToDegrees[i]<that._geometry.baseAngle){that._barGaugeSlices[i]=that.renderer.pieslice(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,(180-that._geometry.baseAngle+that._geometry.fix),change,0,{fill:drawColor,stroke:drawColor,"stroke-width":that._barGaugeSlicesStrokeWidth})}else{that._barGaugeSlices[i]=that.renderer.pieslice(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,change,(180-that._geometry.baseAngle+that._geometry.fix),0,{fill:drawColor,stroke:drawColor,"stroke-width":that._barGaugeSlicesStrokeWidth})}sliceId=that.element.id+"Slice"+i;that.renderer.attr(that._barGaugeSlices[i],{id:sliceId});that.renderer.attr(that._barGaugeSlices[i],{"class":"jqx-bar-gauge-slice"});that._drawnSlices[i]=true;gaugeLayerStart=gaugeLayerEnd+that.barSpacing;gaugeLayerEnd=gaugeLayerStart+that._barWidth}that._removeLabels();that._addLabels()},_addLabels:function(valuesToDegrees,values,index){var that=this;var change,valueIndex,i;var gaugeLayerStart=that._barStartAt;var gaugeLayerEnd=gaugeLayerStart+that._barWidth;if(!valuesToDegrees){valuesToDegrees=that._valuesToDegrees}for(i=0;i<that._valuesLength;i++){valueIndex=i;if(index!=undefined&&i!==index){gaugeLayerStart=gaugeLayerEnd+that.barSpacing;gaugeLayerEnd=gaugeLayerStart+that._barWidth;continue}change=180-valuesToDegrees[valueIndex]+that._geometry.fix;if(that._label.visible===true&&that.disabled===false){that._drawLabelsLine(gaugeLayerStart,change,valueIndex);if(values&&values[valueIndex]!==undefined){that._drawLabelsText(change,valueIndex,values[valueIndex])}else{that._drawLabelsText(change,valueIndex)}}gaugeLayerStart=gaugeLayerEnd+that.barSpacing;gaugeLayerEnd=gaugeLayerStart+that._barWidth}},_removeLabels:function(index){var that=this;for(var i=0;i<that._barGaugeLabelText.length;i++){if(index!=undefined&&i!=index){continue}$(that._barGaugeLabelLines[i]).remove();$(that._barGaugeLabelText[i]).remove();that._barGaugeLabelLines[i]=null;that._barGaugeLabelText[i]=null}},_removeBarGaugeSlices:function(){var that=this;that._removeBarGaugeBackgroundSlices();that._removeBarGaugeForegroundSlices()},_removeBarGaugeBackgroundSlices:function(){var that=this;var valuesToRemoveCount=Math.max(that._valuesLength,that._oldValuesLength);for(var i=0;i<valuesToRemoveCount;i++){if(that._oldIEbrowser){$(that._barGaugeBackgroundSlices[i]).remove()}that._barGaugeBackgroundSlices[i]=null;that._drawnSlices[i]=false}$("#"+that.element.id+" .jqx-bar-gauge-background-slice").remove()},_removeBarGaugeForegroundSlices:function(){var that=this;var valuesToRemoveCount=Math.max(that._valuesLength,that._oldValuesLength);for(var i=0;i<valuesToRemoveCount;i++){if(that._drawnSlices[i]===true){if(that._oldIEbrowser){$(that._barGaugeSlices[i]).remove()}that._barGaugeSlices[i]=null;that._drawnSlices[i]=false}}$("#"+that.element.id+" .jqx-bar-gauge-slice").remove()},_removeBarGaugeTitle:function(){var that=this;if(that._oldIEbrowser&&!!that._barGaugeTitle){$(that._barGaugeTitle).remove()}$("#"+that.element.id+" .jqx-bar-gauge-title").remove()},_removeBarGaugeSubTitle:function(){var that=this;if(that._oldIEbrowser&&!!that._barGaugeSubTitle){$(that._barGaugeSubTitle).remove()}$("#"+that.element.id+" .jqx-bar-gauge-subtitle").remove()},_renderElements:function(){var that=this;var gaugeLayerStart,gaugeLayerEnd,sliceId,condition,updatedAngle,change,i;var afterZeroBaseAngle=(180-that._geometry.baseAngle+that._geometry.fix);gaugeLayerStart=that._barStartAt;gaugeLayerEnd=gaugeLayerStart+that._barWidth;that._rendering=true;that._renderedValues=0;that._renderingValues=0;var rendering=false;if(!that.disabled){gaugeLayerStart=that._barStartAt;gaugeLayerEnd=gaugeLayerStart+that._barWidth;for(i=0;i<that._valuesLength;i++){if(that.values[i]>=that.baseValue){if(that.values[i]>that._oldValues[i]){condition="(oldAngle < newAngle)";that._renderElement(gaugeLayerStart,gaugeLayerEnd,1,condition,i,true);rendering=true}else{if(that.values[i]<that._oldValues[i]){condition="(oldAngle > newAngle)";that._renderElement(gaugeLayerStart,gaugeLayerEnd,-1,condition,i,false);rendering=true}}}else{if(that.values[i]>that._oldValues[i]){condition="(oldAngle < newAngle)";that._renderElement(gaugeLayerStart,gaugeLayerEnd,1,condition,i,true);rendering=true}else{if(that.values[i]<that._oldValues[i]){condition="(oldAngle > newAngle)";that._renderElement(gaugeLayerStart,gaugeLayerEnd,-1,condition,i,false);rendering=true}}}gaugeLayerStart=gaugeLayerEnd+that.barSpacing;gaugeLayerEnd=gaugeLayerStart+that._barWidth}}if(!rendering){that._rendered()}},clearIntervals:function(){var that=this;var intervalsArrayLength=that._intervalArray.length;for(var i=0;i<intervalsArrayLength;i++){clearInterval(that._intervalArray[i])}that._intervalArray.length=0},_renderElement:function(gaugeLayerStart,gaugeLayerEnd,amount,condition,valueIndex,lessThan){var that=this;that._renderingValues++;var newPieSlicePath,angleTo;var oldValue=that._oldValues[valueIndex];var newValue=that.values[valueIndex];var newAngle=that._valuesToDegrees[valueIndex];var oldAngle=that._oldValuesToDegrees[valueIndex];var updatedItem=that._barGaugeSlices[valueIndex];var animation=that._calculateAnimationInterval(valueIndex,true);var angleDiff=Math.abs(newAngle-oldAngle);var angleStepPercent=Math.abs((amount/animation.smoothCoef)/angleDiff);var valueStep=angleStepPercent*Math.abs(newValue-oldValue);var animationInterval=animation.interval/animation.smoothCoef;if(isNaN(that._temporaryValues[valueIndex])){that._temporaryValues[valueIndex]=oldValue}if(isNaN(that._temporaryValuesToDegrees[valueIndex])){that._temporaryValuesToDegrees[valueIndex]=(180-oldAngle+that._geometry.fix)%360}if(isNaN(that._temporaryOldAngle[valueIndex])){that._temporaryOldAngle[valueIndex]=oldAngle}var update=function(){var newValue=that.values[valueIndex];var newAngle=that._valuesToDegrees[valueIndex];angleTo=(180-oldAngle+that._geometry.fix);calculateNewPieSlicePath();var newCondition=false;if(lessThan&&oldAngle<newAngle){newCondition=true}if(!lessThan&&oldAngle>newAngle){newCondition=true}var updateLabels=function(){that._removeLabels(valueIndex);var degrees=[];for(var m=0;m<that._valuesToDegrees.length;m++){if(that._temporaryOldAngle[m]!=undefined){degrees[m]=that._temporaryOldAngle[m]}else{degrees[m]=that._valuesToDegrees[m]}}that._addLabels(degrees,that._temporaryValues,valueIndex)};if(newCondition&&(that.disabled===false)&&that.animationDuration!=0){updateLabels();that.renderer.attr(updatedItem,{d:newPieSlicePath});if(that.formatFunction){var drawColor=that._colors[valueIndex];drawColor=that.formatFunction(that.values[valueIndex],valueIndex,drawColor);that.renderer.attr(updatedItem,{fill:drawColor,stroke:drawColor})}oldAngle+=amount/animation.smoothCoef;that._temporaryOldAngle[valueIndex]=oldAngle;that._temporaryValuesToDegrees[valueIndex]=(180-oldAngle+that._geometry.fix)%360;that._temporaryValues[valueIndex]=that._temporaryValues[valueIndex]+amount*valueStep;return false}else{oldAngle=newAngle;angleTo=180-newAngle+that._geometry.fix;that._temporaryOldAngle[valueIndex]=newAngle;that._temporaryValuesToDegrees[valueIndex]=newAngle%360;that._temporaryValues[valueIndex]=that.values[valueIndex];updateLabels();createFinalPieSlicePath(angleTo,(180-that._geometry.baseAngle+that._geometry.fix));that.renderer.attr(updatedItem,{d:newPieSlicePath});if(that.formatFunction){var drawColor=that._colors[valueIndex];drawColor=that.formatFunction(that.values[valueIndex],valueIndex,drawColor);that.renderer.attr(updatedItem,{fill:drawColor,stroke:drawColor})}clearInterval(that._intervalArray[valueIndex]);that._renderedValues++;if(that._renderedValues===that._renderingValues){that._rendered()}return true}};if(that.animationDuration==0){update()}else{var intervalFunction=function(){clearInterval(that._intervalArray[valueIndex]);var result=update();if(!that._rendering||result){return}var oldValue=that._oldValues[valueIndex];var newValue=that.values[valueIndex];var newAngle=that._valuesToDegrees[valueIndex];var oldAngle=that._oldValuesToDegrees[valueIndex];var updatedItem=that._barGaugeSlices[valueIndex];var animation=that._calculateAnimationInterval(valueIndex,true);var angleDiff=Math.abs(newAngle-oldAngle);var angleStepPercent=Math.abs((amount/animation.smoothCoef)/angleDiff);var valueStep=angleStepPercent*Math.abs(newValue-oldValue);var animationInterval=animation.interval/animation.smoothCoef;that._intervalArray[valueIndex]=setInterval(intervalFunction,animationInterval)};if(!that._intervalArray[valueIndex]){that._intervalArray[valueIndex]=setInterval(intervalFunction,animationInterval)}}function calculateNewPieSlicePath(){var angleA=angleTo;var angleB=(180-that._geometry.baseAngle+that._geometry.fix);if(amount===1){if(lessThan){if(that._geometry.baseAngle<oldAngle){newPieSlicePath=$.jqx.commonRenderer.pieSlicePath(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,angleA,angleB,0)}else{newPieSlicePath=$.jqx.commonRenderer.pieSlicePath(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,angleB,angleA,0)}}}else{if(!lessThan){if(that._geometry.baseAngle<oldAngle){newPieSlicePath=$.jqx.commonRenderer.pieSlicePath(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,angleA,angleB,0)}else{newPieSlicePath=$.jqx.commonRenderer.pieSlicePath(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,angleB,angleA,0)}}}}function createFinalPieSlicePath(angleA,angleB){if(angleA<=angleB){newPieSlicePath=$.jqx.commonRenderer.pieSlicePath(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,angleA-0.0001,angleB,0)}else{newPieSlicePath=$.jqx.commonRenderer.pieSlicePath(that._centerX,that._centerY,gaugeLayerStart,gaugeLayerEnd,angleB,angleA,0)}}},_calculateAnimationInterval:function(valueIndex,redraw){var that=this;var animation={};var duration=that.animationDuration;var animationISeconds=duration/1000;var intervalPer1000ms=0;var easeInOutSine=function(t,b,c,d){return -c/2*(Math.cos(Math.PI*t/d)-1)+b};if(redraw){if((that._oldValues[valueIndex]-that.values[valueIndex])!==0){intervalPer1000ms=1000/(Math.abs((that._oldValues[valueIndex]-that.values[valueIndex])/(that.max-that.min)*(that._geometry.endAngle-that._geometry.startAngle)))}}else{if((that.baseValue-that.values[valueIndex])!==0){intervalPer1000ms=1000/(Math.abs((that.baseValue-that.values[valueIndex])/(that.max-that.min)*(that._geometry.endAngle-that._geometry.startAngle)))}}animation.smoothCoef=animationISeconds||1;animation.interval=intervalPer1000ms*animationISeconds;return animation},_calculateLabelOffset:function(angle,fontSize,textWidth){var koefX,koefY;var offset={};if(angle>=270){koefY=-(270-angle)/180}else{if(angle<=90){koefY=(90+angle)/180}else{koefY=(270-angle)/180}}if(angle<=180){koefX=angle/180}else{koefX=(360-angle)/180}offset.y=koefY*fontSize;offset.x=koefX*textWidth;return offset},_drawCoordinatePlane:function(){var that=this;var startY,endY;if(that._title.verticalAlignment==="top"){startY=that._title.placeholderSize;endY=that.height}else{startY=0;endY=that.height-that._title.placeholderSize}if(that._coordinatePlane!==null){$("#"+that.element.id+" .jqx-bar-gauge-coordinate-plane").remove()}that._coordinatePlane={};that._coordinatePlane.x=that.renderer.line(0,that._centerY,that.width,that._centerY,{fill:"gray",stroke:"gray","stroke-width":1,"stroke-opacity":0.1});that._coordinatePlane.y=that.renderer.line(that._centerX,startY,that._centerX,endY,{fill:"gray",stroke:"gray","stroke-width":1,"stroke-opacity":0.1});that.renderer.attr(that._coordinatePlane.x,{"class":"jqx-bar-gauge-coordinate-plane"});that.renderer.attr(that._coordinatePlane.y,{"class":"jqx-bar-gauge-coordinate-plane"})},_getColorScheme:function(){var that=this;var newColorSchemeIndex,i;var colorSchemesLength=that._colorSchemes.length;var totalColors=that.values.length||1;var colorSchemesCombinations=Math.floor(totalColors/that._colorSchemes[0].colors.length);var colorSchemeIndex=0;for(i=0;i<colorSchemesLength;i++){if(that.colorScheme===that._colorSchemes[i].name){colorSchemeIndex=i}}that._colors=that._colorSchemes[colorSchemeIndex].colors;if(colorSchemesCombinations>0){for(i=0;i<colorSchemesCombinations;i++){newColorSchemeIndex=(colorSchemeIndex+i+1)%colorSchemesLength;that._colors=that._colors.concat(that._colorSchemes[newColorSchemeIndex].colors)}}},_drawLabelsLine:function(radiusXY1,angle,valueIndex){var that=this;var x1,y1,x2,y2,angleInRad,radiusXY2,color,labelLineId;if(angle<0){angle=360+angle}else{if(angle>360){angle=angle%360}}angleInRad=(360-angle)*Math.PI/180;radiusXY2=radiusXY1+that._barWidth+(that._valuesLength-valueIndex-1)*(that._barWidth+that.barSpacing)+that._label.indent;x1=that._centerX+radiusXY1*Math.cos(angleInRad);y1=that._centerY+radiusXY1*Math.sin(angleInRad);x2=that._centerX+radiusXY2*Math.cos(angleInRad);y2=that._centerY+radiusXY2*Math.sin(angleInRad);color=that._label.connectorColor||that._colors[valueIndex];if(that.formatFunction){color=that.formatFunction(that.values[valueIndex],valueIndex,color)}if(that._ie7||that._ie8){x1=parseInt(x1,10);y1=parseInt(y1,10);x2=parseInt(x2,10);y2=parseInt(y2,10)}if(that._label.visible===true&&that.disabled===false){that._barGaugeLabelLines[valueIndex]=that.renderer.line(x1,y1,x2,y2,{fill:color,stroke:color,"stroke-width":that._label.connectorWidth})}labelLineId=that.element.id+"LabelLine"+valueIndex;that.renderer.attr(that._barGaugeLabelLines[valueIndex],{id:labelLineId});that.renderer.attr(that._barGaugeLabelLines[valueIndex],{"class":"jqx-bar-gauge-label-line"})},_drawLabelsText:function(angle,valueIndex,text){var that=this;var textSize,angleInRadians,xText,yText,offset,labelId;var color=that._label.font.color||that._colors[valueIndex];if(that.formatFunction){color=that.formatFunction(that.values[valueIndex],valueIndex,color)}var value=that._calculatePrecision(that._label.precision,that.values[valueIndex]);if(text!==undefined){value=new Number(text).toFixed(that._label.precision);value=that._calculatePrecision(that._label.precision,value)}if((that._label.formatFunction!==undefined)&&(that._label.formatFunction!==null)&&(typeof that._label.formatFunction==="function")){value=that._label.formatFunction(value,valueIndex)}if(!that._cachedMeasurements){that._cachedMeasurements=[]}if(!that._cachedMeasurements[value.length]){textSize=that._measureText(value,that._label.font.size,that._label.font.family,that._label.font.weight);that._cachedMeasurements[value.length]=textSize}else{textSize=that._cachedMeasurements[value.length]}if(angle<0){angle=360+angle}else{if(angle>360){angle=angle%360}}angleInRadians=(360-angle)*Math.PI/180;xText=that._centerX+(that._labelPositioningRadius+textSize.height*0.3)*Math.cos(angleInRadians);yText=that._centerY+(that._labelPositioningRadius+textSize.height*0.3)*Math.sin(angleInRadians);offset=that._calculateLabelOffset(angle,textSize.height,textSize.width);if(that._label.visible===true&&that.disabled===false){that._barGaugeLabelText[valueIndex]=that.renderer.text(value,xText-offset.x,(yText-offset.y),undefined,undefined,0,{"class":"jqx-bargauge-label",fill:color,"font-size":that._label.font.size+"px","font-family":that._label.font.family,"font-weight":that._label.font.weight},false,"left","top","lefttop")}labelId=that.element.id+"Label"+valueIndex;that.renderer.attr(that._barGaugeLabelText[valueIndex],{id:labelId});that.renderer.attr(that._barGaugeLabelText[valueIndex],{"class":"jqx-bar-gauge-label-text"});if((that._ie7)||(that._ie8)){$("#"+labelId+" .jqx-bargauge-label").css({color:color,"white-space":"nowrap","font-size":that._label.font.size+"px","font-family":that._label.font.family,"font-weight":that._label.font.weight})}},_calculatePrecision:function(precisionBase,value){var precision;precision=precisionBase+Math.abs(value).toString().split(".")[0].length;precision=(precision>15)?15:precision;value=parseFloat(value).toPrecision(precision);return value},_createTooltip:function(){var that=this;var tooltipId=that.element.id+"tooltip";that._barGaugeTooltip.attr("id",tooltipId);$(that._barGaugeTooltip).addClass(that.toThemeProperty("jqx-bar-gauge-tooltip"));if(that._tooltip.classname.length>0){$(that._barGaugeTooltip).addClass(that.toThemeProperty(that._tooltip.classname))}$(document.body).append(that._barGaugeTooltip);if((that._tooltip.visible===true)&&(that.disabled===false)&&(that._valuesLength>0)){that._addTooltipHandlers()}},_refreshTooltipHandlers:function(){var that=this;if(that._tooltip.visible===true&&that.disabled===false){that._removeTooltipHandlers();that._addTooltipHandlers()}},_addTooltipHandlers:function(){var that=this;var id,tooltipText;that.addHandler($("#"+that.element.id+" .jqx-bar-gauge-slice"),"mouseenter",function(){if((that._tooltip.visible===true)&&(that._valuesLength>0)){id=that.renderer.getAttr(this,"id").substr(that.element.id.length+5);tooltipText=that._calculatePrecision(that._tooltip.precision,that.values[id]);that._barGaugeTooltip.css({display:"block",color:that._colors[id],"border-color":that._colors[id]});if((that._tooltip.formatFunction!==undefined)&&(that._tooltip.formatFunction!==null)&&(typeof that._tooltip.formatFunction==="function")){tooltipText=that._tooltip.formatFunction(tooltipText,parseInt(id))}that._barGaugeTooltip.html(tooltipText);that._raiseEvent("2",{layer:id})}});that.addHandler($("#"+that.element.id+" .jqx-bar-gauge-slice"),"mouseleave",function(){that._barGaugeTooltip.css({display:"none"});that._raiseEvent("3",{layer:id})});that.addHandler($("#"+that.element.id+" .jqx-bar-gauge-slice"),"mouseup",function(){that._barGaugeTooltip.css({display:"none"})});if($("#"+that.element.id+" .jqx-bar-gauge-slice").length>0){that.addHandler($("#"+that.element.id+" .jqx-bar-gauge-slice"),"mousemove",function(){if((that._tooltip.visible===true)&&(that._valuesLength>0)){id=that.renderer.getAttr(this,"id").substr(that.element.id.length+5);tooltipText=that._calculatePrecision(that._tooltip.precision,that.values[id]);that._barGaugeTooltip.css({display:"block",color:that._colors[id],"border-color":that._colors[id]});if((that._tooltip.formatFunction!==undefined)&&(that._tooltip.formatFunction!==null)&&(typeof that._tooltip.formatFunction==="function")){tooltipText=that._tooltip.formatFunction(tooltipText,parseInt(id))}that._barGaugeTooltip.html(tooltipText)}})}that.addHandler($(that.host),"mousemove",function(event){that._barGaugeTooltip.css({top:(event.pageY-10)+"px",left:(event.pageX+15)+"px"})})},_removeTooltipHandlers:function(){var that=this;if(that._barGaugeSlices.length>0){that.removeHandler($(that._barGaugeSlices),"mouseenter");that.removeHandler($(that._barGaugeSlices),"mouseleave");that.removeHandler($(that._barGaugeSlices),"mouseup");that.removeHandler($(that._barGaugeSlices),"mousemove");that.removeHandler($("#"+that.element.id+" .jqx-bar-gauge-slice"),"mouseenter mouseleave mouseup mousemove")}that.removeHandler($(that.host),"mousemove")},_drawBarGaugeTitle:function(){var that=this;that._alignmentIE=that._alignmentIE||that._title.horizontalAlignment;var drawn=0;var coefY=0;var titleParts,subTitleParts,titleTextSize,subTitleTextSize,subTitleText,titleText,subTitleId,titleId,i;if(that._ie7||that._ie8){that._title.horizontalAlignment="left"}if(that._titleLines>1){titleParts=that._title.text.split("<br>");for(i=0;i<that._titleLines;i++){titleTextSize=that._measureText(titleParts[i]+"_",that._title.font.size,that._title.font.family,that._title.font.weight);titleText=titleParts[i];while(titleTextSize.width>that.width){titleText=titleText.slice(0,-1);titleParts[i]=titleText+"...";titleTextSize=that._measureText(titleParts[i]+"_",that._title.font.size,that._title.font.family,that._title.font.weight)}}that._title.text=titleParts.join("<br>")}else{titleTextSize=that._measureText(that._title.text+"_",that._title.font.size,that._title.font.family,that._title.font.weight);titleText=that._title.text;while(titleTextSize.width>that.width){titleText=titleText.slice(0,-1);that._title.text=titleText+"...";titleTextSize=that._measureText(that._title.text+"_",that._title.font.size,that._title.font.family,that._title.font.weight)}}if(that._title.verticalAlignment==="bottom"){coefY=that.height-that._title.placeholderSize}if((that.title!==null)&&(that.title!==undefined)&&(that._title.text!=="")){that._barGaugeTitle=that.renderer.text(that._title.text,that._title.margin.left,(coefY+that._title.margin.top),(that.width-that._title.margin.right),0,undefined,{fill:that._title.font.color,"fill-opacity":that._title.font.opacity,"font-size":that._title.font.size,"font-family":that._title.font.family,"font-weight":that._title.font.weight},false,that._title.horizontalAlignment,that._title.verticalAlignment,"centertop");titleId=that.element.id+"Title";that.renderer.attr(that._barGaugeTitle,{id:titleId});that.renderer.attr(that._barGaugeTitle,{"class":"jqx-bar-gauge-title"});if((that._ie7)||(that._ie8)){$("#"+titleId+" textbox").css({width:that.width+"px !important","padding-left":"10px",position:"relative"});var titleLeftMargin=0;if(titleTextSize.width<that.width){if(that._alignmentIE==="center"){titleLeftMargin=(that.width-titleTextSize.width)/2}else{if(that._alignmentIE==="right"){titleLeftMargin=that.width-titleTextSize.width}}}$("#"+titleId+" span").css({color:that._title.font.color,"margin-left":titleLeftMargin+"px","white-space":"nowrap","text-align":"center","font-size":that._title.font.size+"px","font-family":that._title.font.family,"font-weight":that._title.font.weight});drawn++}if((that._title.subtitle.text!=="")&&(that._title.subtitle.text!==undefined)){if(that._subTitleLines>1){subTitleParts=that._title.subtitle.text.split("<br>");for(i=0;i<that._subTitleLines;i++){subTitleTextSize=that._measureText(subTitleParts[i]+"_",that._title.subtitle.font.size,that._title.subtitle.font.family,that._title.subtitle.font.weight);subTitleText=subTitleParts[i];while(subTitleTextSize.width>that.width){subTitleText=subTitleText.slice(0,-1);subTitleParts[i]=subTitleText+"...";subTitleTextSize=that._measureText(subTitleParts[i]+"_",that._title.subtitle.font.size,that._title.subtitle.font.family,that._title.subtitle.font.weight)}}that._title.subtitle.text=subTitleParts.join("<br>")}else{subTitleTextSize=that._measureText(that._title.subtitle.text+"_",that._title.subtitle.font.size,that._title.subtitle.font.family,that._title.subtitle.font.weight);subTitleText=that._title.subtitle.text;while(subTitleTextSize.width>that.width){subTitleText=subTitleText.slice(0,-1);that._title.subtitle.text=subTitleText+"...";subTitleTextSize=that._measureText(that._title.subtitle.text+"_",that._title.subtitle.font.size,that._title.subtitle.font.family,that._title.subtitle.font.weight)}}that._barGaugeSubTitle=that.renderer.text(that._title.subtitle.text,that._title.margin.left,(coefY+that._title.font.size*that._titleLines+that._title.margin.top),that.width-that._title.margin.right,0,undefined,{fill:that._title.subtitle.font.color,"fill-opacity":that._title.subtitle.font.opacity,"font-size":that._title.subtitle.font.size,"font-family":that._title.subtitle.font.family,"font-weight":that._title.subtitle.font.weight,"margin-top":that._title.margin.top},false,that._title.horizontalAlignment,that._title.verticalAlignment,"centertop");subTitleId=that.element.id+"SubTitle";that.renderer.attr(that._barGaugeSubTitle,{id:subTitleId});that.renderer.attr(that._barGaugeSubTitle,{"class":"jqx-bar-gauge-subtitle"});if((that._ie7)||(that._ie8)){var subTitleLeftMargin=0;if(subTitleTextSize.width<that.width){if(that._alignmentIE==="center"){subTitleLeftMargin=(that.width-subTitleTextSize.width)/2}else{if(that._alignmentIE==="right"){subTitleLeftMargin=that.width-subTitleTextSize.width}}}$("#"+subTitleId+" textbox").css({width:that.width+"px !important",left:subTitleLeftMargin+"px !important",position:"relative"});$("#"+subTitleId+" span").css({width:"100%",color:that._title.subtitle.font.color,"margin-left":subTitleLeftMargin+"px","white-space":"nowrap","text-align":"center","font-size":that._title.subtitle.font.size+"px","font-family":that._title.subtitle.font.family,"font-weight":that._title.subtitle.font.weight})}}}},_measureText:function(text,fontSize,fontFamily,fontWeight){var that=this;var measuredTextProperties={};if(!$("#"+that._measuredTextId).length){that._measuredText.attr("id",that._measuredTextId);$(that.host).append(that._measuredText);that._measuredText.css({"z-index":-999999,"white-space":"nowrap","font-size":fontSize+"px","font-family":fontFamily,"font-weight":fontWeight})}if(that._measuredText[0].style.fontSize!=fontSize+"px"){that._measuredText[0].style.fontSize=fontSize+"px"}if(that._measuredText[0].style.fontFamily!=fontFamily+"px"){that._measuredText[0].style.fontFamily=fontFamily}if(that._measuredText[0].style.fontWeight!=fontWeight){that._measuredText[0].style.fontWeight=fontWeight+"px"}that._measuredText.text(text);measuredTextProperties.width=that._measuredText[0].offsetWidth;measuredTextProperties.height=that._measuredText[0].offsetHeight;return measuredTextProperties},_calculateBarGaugeRadius:function(){var that=this;if(that.width>(that.height-that._title.placeholderSize)){that._barGaugeRadius=(that.height-that._title.placeholderSize)/2}else{that._barGaugeRadius=that.width/2}},_addCSS:function(){var that=this;$(that.host).addClass(that.toThemeProperty("jqx-widget"));$(that.host).addClass(that.toThemeProperty("jqx-bar-gauge"));$(that.host).addClass(that.toThemeProperty("jqx-widget-content"));if(that.disabled){$(that.host).addClass(that.toThemeProperty("jqx-fill-state-disabled"))}},_rendered:function(){var that=this;if((that._rendering===true)){if((that.rendered!==null)&&(typeof that.rendered==="function")){that.rendered()}that._rendering=false;that.clearIntervals();that._temporaryOldAngle.length=0;that._temporaryValuesToDegrees.length=0;that._temporaryValues.length=0;that._raiseEvent("0");that._raiseEvent("5")}},_render:function(){var that=this;that._removeAllGraphicElements();if(that.values.length>0){if((that.animationDuration===0)||(that._ie8)||(that._ie7)){that._drawStaticBarGauge()}else{that._drawDynamicBarGauge()}}else{that._getLiquidDimensions();that.host.width(that.width);that.host.height(that.height);that._validateValues();that._transformValuesToAngles();that._drawStaticBarGauge()}},render:function(){var that=this;that.clearIntervals();that._getLiquidDimensions();that.host.width(that.width);that.host.height(that.height);that._validateValues();that._transformValuesToAngles();that._getColorScheme();if(that._rendering!==true){that._render()}else{that._staticRefresh();that._render()}},refresh:function(initialRefresh){var that=this;if(initialRefresh!==true){that.render()}},_removeAllGraphicElements:function(){var that=this;that._removeLabels();that._removeBarGaugeSlices();that._removeBarGaugeTitle();that._removeBarGaugeSubTitle()},_drawStaticBarGauge:function(){var that=this;that._rendering=true;that._drawBarGaugeTitle();that._drawBarGaugeLayout();if(!that.disabled){that._getLiquidDimensions();that.host.width(that.width);that.host.height(that.height);that._validateValues();that._measureRadius();that._drawStaticBarGaugeElementsWithBase();that._rendered()}else{that._rendered()}},_drawDynamicBarGauge:function(){var that=this;that._drawBarGaugeTitle();that._drawBarGaugeLayout();if(!that.disabled){that._drawBarGaugeElementsWithBase()}else{that._rendered()}},val:function(newValues){var that=this;if((newValues!==null)&&(newValues!==undefined)&&(typeof newValues==="object")&&(Object.keys(newValues).length>0)){that._raiseEvent("4","api");if(newValues.length!=that.values.length){that.values=newValues;that.render()}else{that._redrawWithNewValuesArray(newValues,that.values)}}else{if((newValues!==null)&&(newValues!==undefined)&&(typeof newValues==="object")&&(newValues.length===0)){that._raiseEvent("4");that._removeLabels();that._removeBarGaugeSlices();that._transformValuesToAngles();that._drawEmptyBarGauge();that._removeLabels();that.values.length=0;that._refreshTooltipHandlers()}}return that.values},_redrawWithNewValuesArray:function(newValues,oldValues){var that=this;var val,i;if(that._rendering===false){that._userValues=newValues.slice();if(!!oldValues){that._oldValues=oldValues.slice()}else{that._oldValues=that.values.slice()}that._oldValuesToDegrees=that._valuesToDegrees.slice();that._oldValuesLength=that._valuesLength;if(Object.keys(newValues).length>1){that.values=newValues.slice()}else{if((newValues[0]===null)||(newValues[0]===undefined)){that.values=[]}else{that.values=[];that.values[0]=parseFloat(newValues)}}that._lastChange=new Date()}else{if(that._rendering===true){that._userValues=newValues.slice();that._oldValues.length=0;that._oldValuesToDegrees.length=0;for(i=0;i<that.values.length;i++){that._oldValues[i]=that._temporaryValues[i]!=undefined?that._temporaryValues[i]:that.values[i];that._oldValuesToDegrees[i]=that._temporaryValuesToDegrees[i]!=undefined?that._temporaryValuesToDegrees[i]:that._valuesToDegrees[i]}that._oldValuesLength=that.values.length;if(newValues.length>1){that.values=newValues.slice()}else{if((newValues[0]===null)||(newValues[0]===undefined)){that.values=[]}else{that.values=[];that.values[0]=parseFloat(newValues)}}}else{if((newValues===null)||(newValues===undefined)){that.values=[]}else{if((typeof newValues==="string")||(typeof newValues==="number")){that.values=[];that.values[0]=parseFloat(newValues)}else{return that.values}}}}that._valuesLength=that.values.length;that._getColorScheme();if(that._valuesLength>that._oldValuesLength){for(var v=that._oldValuesLength;v<that._valuesLength;v++){that._oldValuesToDegrees[v]=that._geometry.baseAngle;that._oldValues[v]=that.baseValue}}for(i=0;i<that._valuesLength;i++){if(that.values[i]<that.min){that.values[i]=that.min}else{if(that.values[i]>that.max){that.values[i]=that.max}}var res=that.values[i];if(res==0){res=0.03}val=((res-that.min)/(that.max-that.min))*(that._geometry.endAngle-that._geometry.startAngle)+that._geometry.startAngle;that._valuesToDegrees[i]=val%360}that._renderElements();that._refreshTooltipHandlers();that._raiseEvent("1")},_staticRefresh:function(){var that=this;var animationDuration=that.animationDuration;if(typeof that.width==="string"&&that.width.indexOf("%")!==-1){that._dimensions.width=that.width}if(typeof that.height==="string"&&that.height.indexOf("%")!==-1){that._dimensions.height=that.height}that._getLiquidDimensions();that.host.width(that.width);that.host.height(that.height);$("#"+that.element.id+" .chartContainer").width(that.width);$("#"+that.element.id+" .chartContainer").height(that.height);that._removeBarGaugeTitle();that._removeBarGaugeSubTitle();that._validateGeometry();that._validateTitle();that._validateLabel();that._validateValues();that._validateTooltip();that._measureRadius();that.animationDuration=0;that._render();that.animationDuration=animationDuration},propertyChangedHandler:function(object,key,oldvalue,value){var that=object;var animationDuration,i;that._cachedMeasurements=[];if(object.isInitialized===undefined||object.isInitialized===null||object.isInitialized===false){return}if(!that.ie7&&object.batchUpdate&&object.batchUpdate.width&&object.batchUpdate.height&&Object.keys(object.batchUpdate).length===2){return}if((value!==oldvalue)||(key==="colorScheme"||key==="tooltip")){animationDuration=that.animationDuration;that._titleTemplate=that._title;that._labelTemplate=that._label;that._tooltipTemplate=that._tooltip;switch(key){case"width":case"height":that._staticRefresh();break;case"values":that.values=oldvalue;that.val(value);break;case"animationDuration":break;case"disabled":if(that.disabled){$(that.host).addClass(that.toThemeProperty("jqx-fill-state-disabled"))}else{$(that.host).removeClass(that.toThemeProperty("jqx-fill-state-disabled"))}that._render();break;case"geometry":case"min":case"baseValue":case"max":case"barSpacing":case"startAngle":case"endAngle":case"relativeInnerRadius":that.geometry.startAngle=that.startAngle;that.geometry.endAngle=that.endAngle;that.values=that._userValues.slice();that._validateValues();that._transformValuesToAngles();that._render();break;case"tooltip":that._validateTooltip();break;case"rendered":break;case"backgroundColor":that._backgroundColor=that._validateColor(that.backgroundColor,that._backgroundColor);if(that._ie7||that._ie8){for(i=0;i<that._valuesLength;i++){that.renderer.attr(that._barGaugeBackgroundSlices[i],{fillcolor:that._backgroundColor,strokecolor:that._backgroundColor,"stroke-width":that._barGaugeSlicesStrokeWidth})}}else{$("#"+that.element.id+" .jqx-bar-gauge-background-slice").attr({fill:that._backgroundColor,stroke:that._backgroundColor,"stroke-width":that._barGaugeSlicesStrokeWidth})}break;case"customColorScheme":that._attachCustomColors();break;case"colorScheme":var connectorColor,labelColor;that._getColorScheme();for(i=0;i<that._valuesLength;i++){connectorColor=that._label.connectorColor||that._colors[i];labelColor=that._label.font.color||that._colors[i];var drawColor=that._colors[i];if(that.useGradient){var stops=[[0,1.4],[100,1]];drawColor=that.renderer._toLinearGradient(drawColor,true,stops)}that.renderer.attr(that._barGaugeSlices[i],{fill:drawColor});that.renderer.attr(that._barGaugeLabelLines[i],{fill:connectorColor,stroke:connectorColor});that.renderer.attr(that._barGaugeLabelText[i],{fill:labelColor});if(that._ie7||that._ie8){that.renderer.attr(that._barGaugeSlices[i],{fillcolor:that._colors[i],strokecolor:that._colors[i],"stroke-width":that._barGaugeSlicesStrokeWidth});that.renderer.attr(that._barGaugeLabelLines[i],{fillcolor:connectorColor,strokecolor:connectorColor});var labelId=that.element.id+"Label"+i;$("#"+labelId+" .jqx-bargauge-label").css({color:labelColor})}}break;default:that._staticRefresh();break}}},_compareArrays:function(arr1,arr2){var arr1Length=arr1.length,arr2Length=arr2.length;if(arr1Length!==arr2Length){return false}else{for(var i=0;i<arr1Length;i++){if(arr1[i]!==arr2[i]){return false}}}return true},_addIEPolyfills:function(){if(!Object.keys){Object.keys=(function(){var hasOwnPropertyLocal=Object.prototype.hasOwnProperty,hasDontEnumBug=!({toString:null}).propertyIsEnumerable("toString"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;return function(obj){if(typeof obj!=="object"&&(typeof obj!=="function"||obj===null)){throw new TypeError("Object.keys called on non-object")}var result=[],prop,i;for(prop in obj){if(hasOwnPropertyLocal.call(obj,prop)){result.push(prop)}}if(hasDontEnumBug){for(i=0;i<dontEnumsLength;i++){if(hasOwnPropertyLocal.call(obj,dontEnums[i])){result.push(dontEnums[i])}}}return result}}())}},destroy:function(){var that=this;$("#"+that._measuredTextId).remove();that.renderer.clear();that.renderer=null;that._removeEventHandlers();that._removeTooltipHandlers();that.host.children().remove();that.host.removeData();that.host.removeClass();that.host.remove();that.host=null;that.element=null;delete that.element;delete that.host},_addEventHandlers:function(){var that=this;that.addHandler($(that.host),"drawStart",function(){});that.addHandler($(that.host),"drawEnd",function(){that._refreshTooltipHandlers()});that.addHandler($(window),"resize.jqxBarGauge"+that.host[0].id,function(){var isPercentage=false;if(that._dimensions.width&&that._dimensions.width.toString().indexOf("%")>=0){isPercentage=true}if(that._dimensions.height&&that._dimensions.height.toString().indexOf("%")>=0){isPercentage=true}if(isPercentage){that._staticRefresh()}})},_removeEventHandlers:function(){var that=this;that.removeHandler($(that.host),"drawStart");that.removeHandler($(that.host),"drawEnd");that.removeHandler($(window),"resize.jqxBarGauge"+that.host[0].id)},_refreshEventHandlers:function(){var that=this;that._removeEventHandlers();that._addEventHandlers()},_raiseEvent:function(eventId,data){var that=this;var event=$.Event(that._events[eventId]);event.args=data;return that.host.trigger(event)},_getEvent:function(event){var that=this;if(that._isTouchDevice){return that._touchEvents[event]}else{return event}}})})(jqxBaseFramework);
+
+(function($){$.jqx.jqxWidget("jqxPivotDesigner","",{});$.extend($.jqx._jqxPivotDesigner.prototype,{defineInstance:function(){var _defaultSettings={type:"pivotGrid",target:null,dataFields:null};$.extend(true,this,_defaultSettings);return _defaultSettings},_instanceId:0,createInstance:function(args){var element=this.element;var host=this.host;var self=this;if(this.target&&this.target.getInstance){this.target=this.target.getInstance()}var dependencies=[{widget:"jqxWindow",src:"jqxwindow.js"},{widget:"jqxButton",src:"jqxbuttons.js"},{widget:"jqxCheckBox",src:"jqxcheckbox.js"},{widget:"jqxInput",src:"jqxinput.js"},{widget:"jqxScrollBar",src:"jqxscrollbar.js"},{widget:"jqxListBox",src:"jqxlistbox.js"},{widget:"jqxDropDownList",src:"jqxdropdownlist.js"},{widget:"jqxDragDrop",src:"jqxdragdrop.js"}];for(var i in dependencies){if(!window[dependencies[i].widget]){throw new Error("Please include "+dependencies[i].src)}}var touchClass="";if(this._isTouchDevice()){touchClass="class='jqx-grid-menu-item-touch'"}var hostClass="jqx-rc-all jqx-widget jqx-pivotgrid jqx-designer-host"+this.toThemeProperty("jqx-widget-content");host.append("<div class='"+hostClass+"' style='width: 100%; height: 100%; overflow:hidden; onselectstart='return false;' oncontextmenu='return false;''><div class='labelFields jqx-widget' style='position: absolute;'>Pivot Table Fields</div><div class='labelFilters jqx-widget' style='position: absolute;'>Filters</div><div class='labelColumns jqx-widget' style='position: absolute;'>Columns</div><div class='labelRows jqx-widget' style='position: absolute;'>Rows</div><div class='labelValues jqx-widget' style='position: absolute;'>Values</div><div class='divFields' style='position: absolute;'></div><div class='divFilters' style='position: absolute;'></div><div class='divColumns' style='position: absolute;'></div><div class='divRows' style='position: absolute;'></div><div class='divValues' style='position: absolute;'></div></div>");this._listBoxes={fields:self.host.find(".divFields"),rows:self.host.find(".divRows"),columns:self.host.find(".divColumns"),values:self.host.find(".divValues"),filters:self.host.find(".divFilters")};$.jqx.utilities.resize(self.host,function(){self._resize()},false)},destroy:function(){$.jqx.utilities.resize(this.host,null,true);if(self.target){delete self.target._pivotDesigner}},_getLocalizedString:function(str){var localizedStrings=this.target?this.target._localizedStrings:{};switch(str){case"fields":return localizedStrings.fieldslabel||"Pivot Fields";break;case"calculation":return localizedStrings.calculation||"Calculation";break;case"filters":return localizedStrings.filterslabel||"Filters";break;case"rows":return localizedStrings.rowslabel||"Rows";break;case"columns":return localizedStrings.columnslabel||"Columns";break;case"values":return localizedStrings.valueslabel||"Values";break;case"of":return localizedStrings.of||"of";break;case"to":return localizedStrings.to||"to";break;case"move":return localizedStrings.move||"Move";break;case"remove":return localizedStrings.remove||"Remove";break;case"count":return localizedStrings.count||"Count";break;case"sum":return localizedStrings.sum||"Sum";break;case"average":return localizedStrings.avgerage||"Average";break;case"product":return localizedStrings.product||"Product";break;case"min":return localizedStrings.min||"Min";break;case"max":return localizedStrings.max||"Max";break}if(localizedStrings[str]){return localizedStrings[str]}return str},_isTouchDevice:function(){if(this.touchDevice!=undefined){return this.touchDevice}var isTouchDevice=$.jqx.mobile.isTouchDevice();this.touchDevice=isTouchDevice;if(this.touchmode==true){if($.jqx.browser.msie&&$.jqx.browser.version<9){this.enablehover=false;return false}isTouchDevice=true;$.jqx.mobile.setMobileSimulator(this.element);this.touchDevice=isTouchDevice}else{if(this.touchmode==false){isTouchDevice=false}}if(isTouchDevice&&this.touchModeStyle!=false){this.touchDevice=true;this.host.addClass(this.toThemeProperty("jqx-touch"));this.host.find("jqx-widget-content").addClass(this.toThemeProperty("jqx-touch"));this.host.find("jqx-widget-header").addClass(this.toThemeProperty("jqx-touch"));this.scrollbarsize=this.touchscrollbarsize}return isTouchDevice},_resize:function(){var self=this;var lb=self._listBoxes;var padding=5;var host=this.host;var height=host.height()-2*padding;var width=host.width()-2*padding;var measureElement=$("<span style='white-space:nowrap;'></span>");this.host.append(measureElement);var textH=0;var labelStrings=["fields","filters","rows","columns","values"];for(var i=0;i<labelStrings.length;i++){measureElement.text(this._getLocalizedString(labelStrings[i]));var h=measureElement.height();if(h>textH){textH=h}}measureElement.remove();var position=this.host.position();var x=position.left+padding,y=position.top+padding;y+=padding;var labelFields=host.find(".labelFields");labelFields.css({left:x,top:y,width:width-10,height:textH});y+=textH;var boxHeight=(height-3*(textH+2*padding))/3;var boxWidth=(width-padding)/2;lb.fields.css({left:x,top:y,background:"white"});lb.fields.jqxListBox({width:width,height:boxHeight,allowDrop:true,allowDrag:true});y+=boxHeight+2*padding;var labelFilters=host.find(".labelFilters");labelFilters.css({left:x,top:y,width:boxWidth,height:textH});var labelColumns=host.find(".labelColumns");labelColumns.css({left:x+boxWidth+padding,top:y,width:boxWidth,height:textH});y+=textH;lb.filters.css({left:x,top:y});lb.filters.jqxListBox({width:boxWidth,height:boxHeight});lb.columns.css({left:x+boxWidth+padding,top:y});lb.columns.jqxListBox({width:boxWidth,height:boxHeight});y+=boxHeight+2*padding;var labelRows=host.find(".labelRows");labelRows.css({left:x,top:y,width:boxWidth,height:textH});var labelValues=host.find(".labelValues");labelValues.css({left:x+boxWidth+padding,top:y,width:boxWidth,height:textH});y+=textH;host.find(".divRows").css({left:x,top:y});host.find(".divRows").jqxListBox({width:boxWidth,height:boxHeight});host.find(".divValues").css({left:x+boxWidth+padding,top:y});host.find(".divValues").jqxListBox({width:boxWidth,height:boxHeight})},_setupListBoxes:function(){var self=this;var host=self.host;var lb=self._listBoxes;for(var i in lb){var listBox=lb[i];listBox.off();listBox.jqxListBox({allowDrag:true,allowDrop:true,renderer:function(index,label,value){return self._getCustomRendererElement(label,self._listBoxes.fields[0]!=this.host[0])}}).on("dragStart",function(args){lb.rows.jqxListBox({dropAction:"copy"});lb.columns.jqxListBox({dropAction:"copy"});lb.filters.jqxListBox({dropAction:"copy"});lb.values.jqxListBox({dropAction:"copy"});lb.fields.jqxListBox({dropAction:"copy"})}).on("dragEnd",function(event){self._moveElement($(this),event.args.dropTargetElement,event.args.index,event.args.value)})}},_moveElement:function(source,targetElement,elementIndex,elementValue){var self=this;var lb=self._listBoxes;if(targetElement){if(source[0]!=lb.fields[0]){source.jqxListBox("removeAt",elementIndex)}if(targetElement==lb.fields[0]){lb.fields.jqxListBox("clear");self._populateListBox(lb.fields,self._allFields,"all")}else{if(source[0]!=lb.fields[0]||targetElement!=lb.values[0]){if(lb.rows[0]!=targetElement){self._removeItem(lb.rows,elementValue)}if(lb.columns[0]!=targetElement){self._removeItem(lb.columns,elementValue)}}if(targetElement==lb.values[0]){var items=lb.values.jqxListBox("getItems");for(var i=0;i<items.length;i++){lb.values.jqxListBox("updateAt",{label:items[i].label,value:$.extend({},items[i].value)},i)}self._autoAssignAggregationFunctions()}self._removeDuplicates(lb.rows);self._removeDuplicates(lb.columns);self._removeDuplicates(lb.filters)}self._updateCurrentSettings();self._updateListBoxLabels();var w=$(targetElement).jqxListBox("width");$(targetElement).jqxListBox("width",w+1);$(targetElement).jqxListBox("width",w-1);var w=source.jqxListBox("width");source.jqxListBox("width",w+1);source.jqxListBox("width",w-1);self._updateListBoxLabels();self._refreshPivotGrid(self._targetCurrentSettings)}},refresh:function(){var self=this;if(self.target){self.target._pivotDesigner=this}self._readPivotSettings();self._setupListBoxes();self._resize();self._updateListBoxLabels()},_updateCurrentSettings:function(){var self=this;var lb=self._listBoxes;var pivotSourceSettings=$.extend({},self._targetCurrentSettings);var savedFieldSettings={};var types=["rows","columns","values","filters"];for(var i in types){var items=pivotSourceSettings[types[i]];if(!items){continue}for(var j=0;j<items.length;j++){var key=items[j].dataField+"_"+(items[j]["function"]||"");savedFieldSettings[key]=$.extend({},items[j]);delete savedFieldSettings[key].dataField;delete savedFieldSettings[key].text}}pivotSourceSettings=$.extend({},self._targetInitSettings);for(var i in types){var items=pivotSourceSettings[types[i]];if(!items){continue}for(var j=0;j<items.length;j++){var key=items[j].dataField+"_"+(items[j]["function"]||"");savedFieldSettings[key]=$.extend(savedFieldSettings[key]||{},items[j]);delete savedFieldSettings[key].dataField;delete savedFieldSettings[key].text}}for(var i in lb){var listBox=lb[i];var items=listBox.jqxListBox("getItems");pivotSourceSettings[i]=[];for(var j=0;j<items.length;j++){var dataField=items[j].value.dataField;var text=items[j].value.text;var fn=(i=="values")?items[j].value["function"]:undefined;var pivotItem={dataField:dataField,text:text||dataField};if(fn){pivotItem["function"]=fn}pivotItem.text=self._getFieldLabel(fn,dataField);var key=pivotItem.dataField+"_"+(fn||"");var savedItemSetings=savedFieldSettings[key];if(savedItemSetings){$.extend(pivotItem,savedItemSetings)}pivotSourceSettings[i].push(pivotItem)}}self._targetCurrentSettings=pivotSourceSettings},_refreshPivotGrid:function(pivotSourceSettings){var self=this;var pivotDataSource=new $.jqx.pivot(self.target.source.dataAdapter,pivotSourceSettings);$(self.target.element).jqxPivotGrid({source:pivotDataSource});var instance=$(self.target.element).jqxPivotGrid("getInstance");instance._pivotRows.autoResize();instance._pivotColumns.autoResize();instance.refresh();self._targetCurrentSettings=pivotSourceSettings},_autoAssignAggregationFunctions:function(){var self=this;var valuesListBox=self.host.find(".divValues");var items=valuesListBox.jqxListBox("getItems");var fnUsed={};for(var i=0;i<items.length;i++){if(items[i].value["function"]){if(!fnUsed[items[i].value.dataField]){fnUsed[items[i].value.dataField]={}}fnUsed[items[i].value.dataField][items[i].value["function"]]=true}}var availableFunctions=self.target.source.getFunctions();for(var i=0;i<items.length;i++){var matched=false;if(!items[i].value["function"]){if(!fnUsed[items[i].value.dataField]){fnUsed[items[i].value.dataField]={}}for(var j in availableFunctions){if(!fnUsed[items[i].value.dataField][j]){fnUsed[items[i].value.dataField][j]=true;items[i].value["function"]=j;matched=true;break}}if(!matched){for(var j in availableFunctions){items[i].value["function"]=j;break}}}}},_updateListBoxLabels:function(){var self=this;self.host.find(".pivot-designer-item-button").off();var lb=self._listBoxes;for(var i in lb){var listBox=lb[i];var items=listBox.jqxListBox("getItems");if(!items){continue}for(var j=0;j<items.length;j++){var fn=undefined;if(i=="values"){fn=items[j].value["function"];if(!fn){throw"Unspecified pivot aggregation function"}}items[j].label=self._getFieldLabel(fn,items[j].value.dataField);listBox.jqxListBox("updateAt",{label:items[j].label,value:items[j].value},j)}}self.host.find(".pivot-designer-item-button").off();self.host.find(".pivot-designer-item-button").on("click",function(event){for(var i in lb){var listBox=lb[i];var items=listBox.jqxListBox("getItems");for(var j=0;j<items.length;j++){var itemMenuButton=$(items[j].element).find(".pivot-designer-item-button");if(itemMenuButton.length>0&&itemMenuButton[0]==this){self._showDesignerItemContextMenu(i,j);return}}}})},_showDesignerItemContextMenu:function(type,itemIndex){var self=this;if(self._isWindowOpen()){return}var lb=self._listBoxes;var fieldSettings={moveOperations:{}};for(var i in lb){if(i==type){continue}fieldSettings.moveOperations[self._getLocalizedString("move")+" "+self._getLocalizedString("to")+" "+self._getLocalizedString(i)]={dropTarget:i}}if(type=="values"){var availableFunctions=self.target.source.getFunctions();var funcItems={};for(var i in availableFunctions){funcItems[self._getLocalizedString(i)]={"function":i}}fieldSettings.functions=funcItems}self._windowData={type:type,itemIndex:itemIndex,fieldSettings:fieldSettings};if(type=="filters"){if(!this._filtersWindow){this._createFiltersWindow()}this._filtersWindow.jqxWindow("open");this._updateFiltersWindowData()}else{if(!this._settingsWindow){this._createSettingsWindow()}this._settingsWindow.jqxWindow("open");this._updateWindowData()}},_isWindowOpen:function(){return(this._settingsWindow&&this._settingsWindow.jqxWindow("isOpen"))||(this._filtersWindow&&this._filtersWindow.jqxWindow("isOpen"))},_getFieldLabel:function(fn,dataField){if(fn){return this._getValueFieldLabel(fn,dataField)}var initSettings=this._targetInitSettings;for(var i in initSettings){if(i=="values"){continue}var fieldList=initSettings[i];for(var j in fieldList){if(fieldList[j].dataField==dataField&&fieldList[j].text){return fieldList[j].text}}}return dataField},_getValueFieldLabel:function(fn,dataField){var self=this;var fnName=self._getLocalizedString(fn)||fn;var matchedText=undefined;var initSettings=self._targetInitSettings;if(initSettings.values){for(var k in initSettings.values){if(initSettings.values[k].dataField==dataField&&initSettings.values[k]["function"]==fn){matchedText=initSettings.values[k].text;if(matchedText!=undefined){break}}}}return matchedText||fnName+" "+self._getLocalizedString("of")+" "+dataField},_removeItem:function(lb,itemValue){var items=lb.jqxListBox("getItems");var removedCount=0;for(var i=0;i<items.length;i++){var item=lb.jqxListBox("getItem",i);if(item.value.dataField==itemValue.dataField){lb.jqxListBox("removeAt",i-removedCount);removedCount++}}},_getCustomRendererElement:function(label,showButton){if(!showButton){return"<div><div style='height: 16px; float:left; margin-top: 2px;'></div><div>"+label+"</div></div>"}return"<div><div style='width: 16px;height: 16px; float:left; margin-top: 1px;' class='pivot-designer-item-button jqx-pivotgrid-settings-icon'></div><div>"+label+"</div></div>"},_readPivotSettings:function(){var self=this;if(!self.target){return}var pivotSource=self.target.source;if(!pivotSource){return}var dataAdapter=pivotSource.dataAdapter;if(!dataAdapter){return}var adapterSettings=dataAdapter._source;if(!adapterSettings){return}self._targetCurrentSettings=$.extend({},self.target.source._initSettings);self._targetInitSettings=$.extend({},self.target.source._initSettings);var allFields={};var fieldSource={dataFields:this.dataFields,adapterDataFields:adapterSettings.datafields,rows:self.target.source.rows,columns:self.target.source.columns,values:self.target.source.values,filters:self.target.source.filters};function addFields(fields,target,fieldType){if(!Array.isArray(fields)){return}for(var i=0;i<fields.length;i++){var dataField=fields[i].name||fields[i].dataField;if(!dataField||dataField.length==0){continue}if(!target[dataField]){target[dataField]={text:dataField,dataField:dataField}}if(undefined!=fields[i].text&&fieldType!="values"){target[dataField].text=fields[i].text}target[dataField]["function"]=fields[i]["function"]}}if(Array.isArray(fieldSource.dataFields)){addFields(fieldSource.dataFields,allFields)}else{addFields(fieldSource.adapterDataFields,allFields)}addFields(fieldSource.filters,allFields,"filters");addFields(fieldSource.rows,allFields,"rows");addFields(fieldSource.columns,allFields,"columns");addFields(fieldSource.values,allFields,"values");this._allFields=allFields;var host=self.host;var lb=self._listBoxes;self._populateListBox(lb.fields,allFields,"all");self._populateListBox(lb.filters,fieldSource.filters,"filters");self._populateListBox(lb.rows,fieldSource.rows,"rows");self._populateListBox(lb.columns,fieldSource.columns,"columns");self._populateListBox(lb.values,fieldSource.values,"values")},_populateListBox:function(listBox,fields,fieldType){var listBoxData=[];var pos=0;for(var i in fields){var dataField=fields[i].dataField;var text=fields[i].text||this._allFields[dataField].text||dataField;listBoxData[pos]={text:text,value:{text:text,dataField:dataField,"function":fields[i]["function"]||undefined}};if(fieldType!="values"){listBoxData[pos].value["function"]=undefined}pos++}listBox.jqxListBox({source:listBoxData,displayMember:"text",valueMember:"value"})},_removeDuplicates:function(listBox){var items=listBox.jqxListBox("getItems");var labels={};var found=false;for(var i=0;i<items.length;i++){var itemLabel=items[i].label;if(labels[itemLabel]!=undefined){listBox.jqxListBox("removeAt",i);items.splice(i,1);i--}else{labels[itemLabel]=true}}},_createSettingsWindow:function(){var self=this;var windowElement="<div id='pivotFieldSettingsWindow' style='width: 300px; height: 200px'><table style='width: 100%;'><tr><td style='height: 30px;'>"+self._getLocalizedString("move")+" "+self._getLocalizedString("to")+"</td><td><div style='width: 100%;' class='lbPivotFieldMoveTo'></div></td></tr><tr><td style='height: 30px;'>"+self._getLocalizedString("alignment")+"</td><td><div style='width: 100%;' class='lbAlignment'></div></td></tr><tr class='valueField'><td style='height: 30px;'>"+self._getLocalizedString("calculation")+"</td><td><div style='width: 100%;' class='lbCalculation'></div></td></tr><tr class='valueField'><td style='height: 30px;'>"+self._getLocalizedString("numberformat")+"</td><td></td></tr><tr class='valueField'><td style='height: 30px;'>"+self._getLocalizedString("cellalignment")+"</td><td><div style='width: 100%;' class='lbCellsAlignment'></div></td></tr><tr class='valueField'><td style='height: 30px;'>"+self._getLocalizedString("prefix")+"</td><td><input type='text' style='width: 100%;' class='txtPrefix'></input></td></tr><tr class='valueField'><td style='height: 30px;'>"+self._getLocalizedString("decimalplacestext")+"</td><td><input type='text' style='width: 100%;' class='txtDecimalPlaces'></input></td></tr><tr class='valueField'><td style='height: 30px;'>"+self._getLocalizedString("thousandsseparatortext")+"</td><td><input type='text' style='width: 100%;' class='txtThousandsSeparator'></input></td></tr><tr class='valueField'><td style='height: 30px;'>"+self._getLocalizedString("decimalseparatortext")+"</td><td><input type='text' style='width: 100%;' class='txtDecimalSeparator'></input></td></tr><tr class='valueField'><td style='height: 30px;'>"+self._getLocalizedString("nagativebracketstext")+"</td><td><div style='width: 100%;' class='checkBoxNagativeWithBrackets'></input></td></tr><tr><td style='height: 30px;' colspan=2 align=middle><input class='btnOk' type='button' value='"+self._getLocalizedString("ok")+"'></input><input class='btnCancel' style='margin-left: 10px;' type='button' value='"+self._getLocalizedString("cancel")+"'></input></td></tr></table>";self.host.append(windowElement);var width=380;var height=360;self._settingsWindow=self.host.find("#pivotFieldSettingsWindow").jqxWindow({title:self._getLocalizedString("fieldsettings"),position:{x:0,y:0},showCollapseButton:true,autoOpen:false,minWidth:width,maxWidth:width,width:width,height:height,initContent:function(){self._updateWindowData();var btnCancel=self._settingsWindow.find(".btnCancel").jqxButton({width:80});var btnOk=self._settingsWindow.find(".btnOk").jqxButton({width:80});btnCancel.on("click",function(){self._settingsWindow.jqxWindow("close")});btnOk.on("click",function(){self._applySettingsWindowChanges();self._settingsWindow.jqxWindow("close")})}})},_applySettingsWindowChanges:function(){var self=this;var itemIndex=self._windowData.itemIndex;var itemType=self._windowData.type;var source=self._listBoxes[itemType];var item=source.jqxListBox("getItem",itemIndex);var lbMoveTo=self._settingsWindow.find(".lbPivotFieldMoveTo");var selectedIndex=lbMoveTo.jqxDropDownList("selectedIndex");if(selectedIndex!=-1){var targetType=undefined;for(var i in self._windowData.fieldSettings.moveOperations){targetType=self._windowData.fieldSettings.moveOperations[i].dropTarget;if(--selectedIndex==-1){break}}var target=self._listBoxes[targetType];var value=item.value;if(target!=self._listBoxes.fields){target.jqxListBox("addItem",{label:item.label,value:value})}self._moveElement(source,target[0],itemIndex,value);return}var lbAlignment=self._settingsWindow.find(".lbAlignment");var selectedItem=lbAlignment.jqxDropDownList("getSelectedItem");self._targetCurrentSettings[itemType][itemIndex].align=selectedItem.value;delete self._targetCurrentSettings[itemType][itemIndex]["function"];if(itemType=="values"){var lbCalculation=self._settingsWindow.find(".lbCalculation");var selectedItem=lbCalculation.jqxDropDownList("getSelectedItem");self._targetCurrentSettings[itemType][itemIndex].text=item.value.text=item.label=self._getFieldLabel(selectedItem.value,item.value.dataField);self._targetCurrentSettings[itemType][itemIndex]["function"]=item.value["function"]=selectedItem.value;source.jqxListBox("updateAt",{label:item.value.text,value:item.value},itemIndex);self._updateListBoxLabels()}if(itemType=="values"){var lbCellsAlignment=self._settingsWindow.find(".lbCellsAlignment");var selectedItem=lbCellsAlignment.jqxDropDownList("getSelectedItem");var formatSettings=self._targetCurrentSettings[itemType][itemIndex].formatSettings||{};formatSettings.align=selectedItem.value;self._targetCurrentSettings[itemType][itemIndex].formatSettings=formatSettings}if(itemType=="values"){var txtPrefix=self._settingsWindow.find(".txtPrefix");var formatSettings=self._targetCurrentSettings[itemType][itemIndex].formatSettings||{};formatSettings.prefix=txtPrefix.val();self._targetCurrentSettings[itemType][itemIndex].formatSettings=formatSettings}if(itemType=="values"){var txtDecimalPlaces=self._settingsWindow.find(".txtDecimalPlaces");var formatSettings=self._targetCurrentSettings[itemType][itemIndex].formatSettings||{};formatSettings.decimalPlaces=txtDecimalPlaces.val();self._targetCurrentSettings[itemType][itemIndex].formatSettings=formatSettings}if(itemType=="values"){var txtThousandsSeparator=self._settingsWindow.find(".txtThousandsSeparator");var formatSettings=self._targetCurrentSettings[itemType][itemIndex].formatSettings||{};formatSettings.thousandsSeparator=txtThousandsSeparator.val();self._targetCurrentSettings[itemType][itemIndex].formatSettings=formatSettings}if(itemType=="values"){var txtDecimalSeparator=self._settingsWindow.find(".txtDecimalSeparator");var formatSettings=self._targetCurrentSettings[itemType][itemIndex].formatSettings||{};formatSettings.decimalSeparator=txtDecimalSeparator.val();self._targetCurrentSettings[itemType][itemIndex].formatSettings=formatSettings}if(itemType=="values"){var checkBoxNagativeWithBrackets=self._settingsWindow.find(".checkBoxNagativeWithBrackets");var formatSettings=self._targetCurrentSettings[itemType][itemIndex].formatSettings||{};formatSettings.negativeWithBrackets=checkBoxNagativeWithBrackets.val();self._targetCurrentSettings[itemType][itemIndex].formatSettings=formatSettings}self._refreshPivotGrid(self._targetCurrentSettings)},_updateWindowData:function(){var self=this;var fieldSettings=self._windowData.fieldSettings;var itemValue=self._listBoxes[self._windowData.type].jqxListBox("getItem",self._windowData.itemIndex).value;var sourceBoundItems=self.target.source[self._windowData.type];var sourceBoundItem=undefined;for(var i=0;i<sourceBoundItems.length;i++){if(sourceBoundItems[i]["dataField"]==itemValue.dataField&&sourceBoundItems[i]["function"]==itemValue["function"]){sourceBoundItem=sourceBoundItems[i];break}}var listBoxData=[];for(var i in fieldSettings.moveOperations){listBoxData.push({text:i,value:fieldSettings.moveOperations[i]})}var lbMoveTo=self._settingsWindow.find(".lbPivotFieldMoveTo");lbMoveTo.jqxDropDownList({source:listBoxData,displayMember:"text",selectedIndex:-1,valueMember:"value",autoDropDownHeight:true});var listBoxAlignmentData=listBoxData=[{text:self._getLocalizedString("left"),value:"left"},{text:self._getLocalizedString("center"),value:"center"},{text:self._getLocalizedString("right"),value:"right"}];var selectedIndex=0;if(sourceBoundItem){for(var j=0;j<listBoxData.length;j++){if(listBoxData[j].value==sourceBoundItem.align){selectedIndex=j;break}}}var lbAlignment=self._settingsWindow.find(".lbAlignment");lbAlignment.jqxDropDownList({source:listBoxData,selectedIndex:selectedIndex,displayMember:"text",valueMember:"value",autoDropDownHeight:true});var windowHeight=390;if(fieldSettings.functions){var currentFunction=itemValue["function"];self._settingsWindow.find(".valueField").show();listBoxData=[];selectedIndex=-1;var k=0;for(var i in fieldSettings.functions){var func=fieldSettings.functions[i]["function"];listBoxData.push({text:i,value:func});if(currentFunction==func){selectedIndex=k}k++}var lbCalculation=self._settingsWindow.find(".lbCalculation");lbCalculation.jqxDropDownList({source:listBoxData,displayMember:"text",valueMember:"value",autoDropDownHeight:true,selectedIndex:selectedIndex});listBoxData=listBoxAlignmentData;var selectedIndex=2;var sourceBoundItemAlign="right";if(sourceBoundItem){if(sourceBoundItem.formatSettings&&sourceBoundItem.formatSettings.align){sourceBoundItemAlign=sourceBoundItem.formatSettings.align}for(var j=0;j<listBoxData.length;j++){if(listBoxData[j].value==sourceBoundItemAlign){selectedIndex=j;break}}}var lbCellsAlignment=self._settingsWindow.find(".lbCellsAlignment");lbCellsAlignment.jqxDropDownList({source:listBoxData,selectedIndex:selectedIndex,displayMember:"text",valueMember:"value",autoDropDownHeight:true});var prefix="";if(sourceBoundItem&&sourceBoundItem.formatSettings&&sourceBoundItem.formatSettings.prefix!=undefined){prefix=sourceBoundItem.formatSettings.prefix}var inputPrefix=self._settingsWindow.find(".txtPrefix");inputPrefix.jqxInput({value:prefix,height:23,width:195});var decimalPlaces=2;try{if(sourceBoundItem&&sourceBoundItem.formatSettings&&sourceBoundItem.formatSettings.decimalPlaces!=undefined){decimalPlaces=parseInt(sourceBoundItem.formatSettings.decimalPlaces)}}catch(e){decimalPlaces=2}var inputDecimalPlaces=self._settingsWindow.find(".txtDecimalPlaces");inputDecimalPlaces.jqxInput({value:decimalPlaces,height:23,width:195});var thousandsSeparator=self._getLocalizedString("thousandsseparator");if(sourceBoundItem&&sourceBoundItem.formatSettings&&sourceBoundItem.formatSettings.thousandsSeparator!=undefined){thousandsSeparator=sourceBoundItem.formatSettings.thousandsSeparator}var inputThousandsSeparator=self._settingsWindow.find(".txtThousandsSeparator");inputThousandsSeparator.jqxInput({value:thousandsSeparator,height:23,width:195});var decimalSeparator=self._getLocalizedString("decimalseparator");if(sourceBoundItem&&sourceBoundItem.formatSettings&&sourceBoundItem.formatSettings.decimalSeparator!=undefined){decimalSeparator=sourceBoundItem.formatSettings.decimalSeparator}var inputDecimalSeparator=self._settingsWindow.find(".txtDecimalSeparator");inputDecimalSeparator.jqxInput({value:decimalSeparator,height:23,width:195});var negativeWithBrackets=false;if(sourceBoundItem&&sourceBoundItem.formatSettings&&sourceBoundItem.formatSettings.negativeWithBrackets!=undefined){negativeWithBrackets=sourceBoundItem.formatSettings.negativeWithBrackets==true}var checkBoxNagativeWithBrackets=self._settingsWindow.find(".checkBoxNagativeWithBrackets");checkBoxNagativeWithBrackets.jqxCheckBox({checked:negativeWithBrackets})}else{windowHeight=160;self._settingsWindow.find(".valueField").hide()}self._settingsWindow.jqxWindow({height:windowHeight})},_createFiltersWindow:function(){var self=this;var windowElement="<div id='pivotFieldFiltersWindow' style='width: 300px; height: 340px;'><div style='padding: 5; margin: 5; width: 100%; height: 100%;'><table style='width: 100%; height: 100%; margin:0; padding:0;' cellspacing=0; cellpadding=0><tr style='height: auto;'><td style='height: 100%;'><div style='padding: 0px; margin: 0px; display:inline-block;position:relative;' class='listBoxFilters'></div></td></tr><tr style='height: 5px;'><td></td></tr><tr style='height: 30px;'><td colspan=2 align=middle><input class='btnOk' type='button' value='"+self._getLocalizedString("ok")+"'></input><input class='btnCancel' style='margin-left: 10px;' type='button' value='"+self._getLocalizedString("cancel")+"'></input></td></tr></div></table>";self.host.append(windowElement);var width=300;var height=360;self._filtersWindow=self.host.find("#pivotFieldFiltersWindow").jqxWindow({title:self._getLocalizedString("fieldsettings"),position:{x:0,y:0},showCollapseButton:true,autoOpen:false,minWidth:width,maxWidth:width,width:width,height:height,initContent:function(){self._updateFiltersWindowData();var btnCancel=self._filtersWindow.find(".btnCancel").jqxButton({width:80});var btnOk=self._filtersWindow.find(".btnOk").jqxButton({width:80});btnCancel.on("click",function(){self._filtersWindow.jqxWindow("close")});btnOk.on("click",function(){self._applyFiltersWindowChanges();self._filtersWindow.jqxWindow("close")})}})},_updateFiltersWindowData:function(){var self=this;var fieldSettings=self._windowData.fieldSettings;var itemValue=self._listBoxes[self._windowData.type].jqxListBox("getItem",self._windowData.itemIndex).value;var sourceBoundItems=self.target.source[self._windowData.type];var sourceBoundItem=undefined;for(var i=0;i<sourceBoundItems.length;i++){if(sourceBoundItems[i]["dataField"]==itemValue.dataField&&sourceBoundItems[i]["function"]==itemValue["function"]){sourceBoundItem=sourceBoundItems[i];break}}var listBoxData=[];for(var i in fieldSettings.moveOperations){listBoxData.push({text:i,value:fieldSettings.moveOperations[i]})}listBoxData=[];var itemsFilterStatus=self.target.source.getItemsFilterStatus(sourceBoundItem.dataField);for(var i in itemsFilterStatus){listBoxData.push({label:i,value:itemsFilterStatus[i]})}var lbFilters=self._filtersWindow.find(".listBoxFilters");lbFilters.jqxListBox({source:listBoxData,checkBoxes:true,displayMember:"label",selectedIndex:-1,valueMember:"value",width:"100%",height:"100%"});lbFilters.jqxListBox("beginUpdate");lbFilters.jqxListBox("checkAll");for(var i=0;i<listBoxData.length;i++){if(listBoxData[i].value){lbFilters.jqxListBox("uncheckIndex",i)}}lbFilters.jqxListBox("endUpdate")},_applyFiltersWindowChanges:function(){var self=this;var lbFilters=self._filtersWindow.find(".listBoxFilters");var items=lbFilters.jqxListBox("getItems");var uncheckedItems=[];for(var i=0;i<items.length;i++){if(!items[i].checked){uncheckedItems.push(items[i].label)}}var fn="filterFunction = function(value) {";for(var i=0;i<uncheckedItems.length;i++){fn+="if (value == '"+uncheckedItems[i]+"') return true;"}fn+="return false;";fn+="}";var itemIndex=self._windowData.itemIndex;var itemType=self._windowData.type;var source=self._listBoxes[itemType];var item=source.jqxListBox("getItem",itemIndex);var targetCurrentSettings=self._targetCurrentSettings;for(var i=0;i<targetCurrentSettings.filters.length;i++){if(targetCurrentSettings.filters[i].dataField==item.value.dataField){targetCurrentSettings.filters[i].filterFunction=eval(fn)}}self._refreshPivotGrid(self._targetCurrentSettings)}})})(jqxBaseFramework);
+
+(function(a){a.jqx.pivot=function(d,c){var b=this;b.dataAdapter=d;b.rows=[];b.columns=[];b.values=[];b.filters=[];b.pivotValuesOnRows=false;b.totals={rows:{subtotals:false,grandtotals:false},columns:{subtotals:false,grandtotals:false}};b.localization=null;b.aggregationFunctions={};b._initSettings={};a.extend(b.aggregationFunctions,b._defaultFunctions);if(c){b._initSettings=c;b.columns=c.columns||[];b.rows=c.rows||[];b.values=c.values||[];b.filters=c.filters||[];b.pivotValuesOnRows=c.pivotValuesOnRows||false;b.totals=c.totals;b.localization=c.localization;a.extend(b.aggregationFunctions,c.customAggregationFunctions||{})}if(b.rows.length===0&&b.columns.length>0&&b.pivotValuesOnRows===false){b.pivotValuesOnRows=true}if(b.columns.length===0&&b.rows.length>0&&b.pivotValuesOnRows!==false){b.pivotValuesOnRows=false}},a.jqx.pivot.prototype={_clear:function(){this._pivot={rows:[],columns:[],values:[],groups:[],filters:[]};this._rowsHierarchy={items:{},valueItems:{}};this._columnsHierarchy={items:{},valueItems:{}};this._hashPivotItemsToTableRows={};this._hashRefItems={};this._hierarchyItemKeyIndex=0},_contains:function(b,e,c){if(!b){return false}for(var d=0;d<b.length;d++){if(c?b[d]===e:b[d].dataField===e){return true}}return false},_getFieldIndex:function(b,d){if(!b){return -1}var c=0;for(;c<b.length;c++){if(b[c].name===d){break}}if(c===b.length){return -1}return c},dataBind:function(){this._clear();if(!this.dataAdapter){return}this.dataAdapter.dataBind();var h=["columns","rows","values","filters"];for(var c in h){var f=h[c];for(var e=0;e<this[f].length;e++){var g=this[f][e];if(!g){continue}var b=false;if(f!=="values"&&f!=="filters"){for(var j in h){var d=h[j];if(f!==d){continue}b=this._contains(this._pivot[d],g.dataField);if(b){break}}if(b){continue}}this._pivot[f].push(g)}}this._createPivot()},_isRowSkipped:function(d){for(var b in this.filters){var c=this.filters[b];if(!a.isFunction(c.filterFunction)){continue}if(c.dataField&&d[c.dataField]!==undefined){if(c.filterFunction(d[c.dataField])){return true}}}return false},getItemsFilterStatus:function(k){var g={};var d=this.dataAdapter.records;for(var b=0;b<d.length;b++){var h=d[b];var j=h[k];if(g[j]){continue}for(var f in this.filters){var c=this.filters[f];if(c.dataField!==k){continue}var e=a.isFunction(c.filterFunction)&&c.filterFunction(j);g[j]=e}}return g},_createPivot:function(){var h=this._pivot.values.length>0&&(this._pivot.rows.length>0||this._pivot.columns.length>0);if(h){var e={};var f={};this.hashSummaryPrefixes={};var b=this.dataAdapter.records;for(var d=0;d<b.length;d++){var g=b[d];if(this._isRowSkipped(g)){continue}var c=this.dataAdapter._source.datafields;this._appendPivotHierarchy(d,e,this._rowsHierarchy,c,this._pivot.rows,this.pivotValuesOnRows?this._pivot.values:null);this._appendPivotHierarchy(d,f,this._columnsHierarchy,c,this._pivot.columns,!this.pivotValuesOnRows?this._pivot.values:null)}this._setupTotals(this._columnsHierarchy);this._setupTotals(this._rowsHierarchy)}return},_setupTotals:function(c){if(!this.totals){return}var b=(c===this._columnsHierarchy)?this.totals.columns:this.totals.rows;if(!b||(b.subtotals!==true&&b.grandtotals!==true)){return}this._addTotals(c.items,false,b);if((c===this._columnsHierarchy)===(!this.pivotValuesOnRows)){this._addvalueItemsToTotals(c.items)}},_addvalueItemsToTotals:function(e){for(var d in e){var l=e[d];if(l.isTotal){if(!this._hashRefItems[l.key]){continue}refItems=this._hashRefItems[l.key].refItems;var g=[];for(var d=0;d<refItems.length;d++){var f=this._hashPivotItemsToTableRows[refItems[d].key];for(var b=0;b<f.length;b++){g.push(f[b])}if(d===0){l.valueItems={};for(var c in refItems[d].valueItems){var m=refItems[d].valueItems[c];var h={text:m.text,boundField:m.boundField,isTotal:true,key:this._hierarchyItemKeyIndex++};l.valueItems[c]=h}}}g.sort(function(j,i){return j-i});for(var c in l.valueItems){this._hashPivotItemsToTableRows[l.valueItems[c].key]=g}delete this._hashRefItems[l.key]}else{this._addvalueItemsToTotals(l.items)}}},_clearTotals:function(d){for(var b in d){var c=d[b];if(c.isTotal){delete d[c]}else{this._clearTotals(d[b].items)}}},_addTotals:function(k,r,h){if(undefined===k){return}this._clearTotals(k);var q=[];var d=0;for(var g in k){var p=k[g];if(h.subtotals===true){this._addTotals(p.items,true,h)}q.push(p);d++}if(d===0){return}if(!r&&h.grandtotals!=true){return}var l=r?"SubTotal":"Total";var b="_"+l+"_";var o=r?"SubTotal":"Total";var n=this.localization;if(n){if(r){o=a.jqx.getByPriority([n.subtotalstring,n.SubTotalString,o])}else{o=a.jqx.getByPriority([n.grandtotalstring,n.GrandTotalString,o])}}var m=this._hierarchyItemKeyIndex++;var c=k[b]={text:o,key:m};var e=[];for(var g=0;g<q.length;g++){for(var f=0;f<this._hashPivotItemsToTableRows[q[g].key].length;f++){e.push(this._hashPivotItemsToTableRows[q[g].key][f])}}this._hashRefItems[m]={item:c,refItems:q};this._hashPivotItemsToTableRows[m]=e.sort(function(j,i){return j-i});c.isTotal=true},_appendPivotHierarchy:function(l,b,k,n,j,e){var c=[];var g="";var m=this.dataAdapter.records[l];if(!this._getBoundFieldsValues(m,j,c)){return false}g.substring(0,g.length);var d=null;if(c.length==0&&e!=null){this._attachValueFieldAsSummaryItem(l,b,d,g,e);return true}for(var f=0;f<c.length;f++){g+="!_$%^&_";var h=c[f];g+=h;if(!b[g]){if(null==d){d=k.items[h]={text:h}}else{this._addSourceRecordToPivotItem(d.key,l);if(!d.items){d.items={}}d=d.items[h]={text:h}}this._applyBoundFieldProperties(j[f],d);b[g]=d;d.key=this._hierarchyItemKeyIndex++}else{d=b[g]}if(e==null||e.length==0){this._addSourceRecordToPivotItem(d.key,l)}else{this._addSourceRecordToPivotItem(d.key,l);if(e!=null){this._attachValueFieldAsSummaryItem(l,b,d,g,e)}}}return true},_attachValueFieldAsSummaryItem:function(h,b,j,d,c){for(var e=0;e<c.length;e++){var k=c[e];var l=null;var f=d+k.dataField+e;if(b[f]){l=b[f]}else{if(null!=j){if(!j.valueItems){j.valueItems={}}l=j.valueItems[k.dataField+e]={text:k.text||k.dataField}}else{var g=this.pivotValuesOnRows?this._rowsHierarchy:this._columnsHierarchy;l=g.valueItems[k.dataField+e]={text:k.text||k.dataField}}b[f]=l;l.key=this._hierarchyItemKeyIndex++}this._applyBoundFieldProperties(k,l);this._addSourceRecordToPivotItem(l.key,h)}},_applyBoundFieldProperties:function(b,c){c.boundField=b;if(b.text){c.boundFieldText=b.text}},_addSourceRecordToPivotItem:function(b,d){var c=null;if(this._hashPivotItemsToTableRows[b]){c=this._hashPivotItemsToTableRows[b]}else{c=this._hashPivotItemsToTableRows[b]=[]}if(c.length>0){if(c[c.length-1]==d){return}}c.push(d)},_sortedArrayIntersectAndDedup:function(d,b){var f=[];var e=0;var c=0;while(e<d.length&&c<b.length){if(d[e]<b[c]){e++}else{if(d[e]>b[c]){c++}else{if(f.length==0||f[f.length-1]!=d[e]){f.push(d[e])}e++;c++}}}return f},_getBoundFieldValue:function(c,b){if(null==b){return null}return c[b]},_getBoundFieldsValues:function(e,b,f){for(var c=0;c<b.length;c++){var d=e[b[c].dataField];if(undefined===d){continue}f.push(d)}return true},_internalDrillThroughPivotCell:function(e,d,f){var c=this._hashPivotItemsToTableRows[e]||[];var b=this._hashPivotItemsToTableRows[d]||[];if(c.length==0||b.length==0){return[]}return this._sortedArrayIntersectAndDedup(c,b)},drillThroughPivotCell:function(c,b){if(!c||undefined===c.key||!b||undefined===b.key){return[]}var d=c.isTotal||b.isTotal;return this._internalDrillThroughPivotCell(c.key,b.key,d)},getFunctions:function(){return this.aggregationFunctions},_defaultFunctions:{count:function(b){return b.length},sum:function(b){var d=0;for(var c=0;c<b.length;c++){d+=b[c]}return d},min:function(b){var d=Infinity;for(var c=0;c<b.length;c++){if(b[c]<d){d=b[c]}}return d},max:function(c){var b=-Infinity;for(var d=0;d<c.length;d++){if(c[d]>b){b=c[d]}}return b},average:function(b){var c=a.jqx.pivot.prototype._defaultFunctions.count(b);if(c==0){return 0}var d=a.jqx.pivot.prototype._defaultFunctions.sum(b);return d/c},product:function(b){var d=0;for(var c=0;c<b.length;c++){if(c==0){d=b[c]}else{d*=b[c]}}return d}},getCellValue:function(e,d){var f=this._getCellValueFromDataSource(e,d);if(isNaN(f)){return""}var b=this.pivotValuesOnRows?e.boundField:d.boundField;var c=this._formatValue(f,b.formatSettings,b.formatFunction);return{value:f,formattedValue:c}},getCellFormatSettings:function(d,c){var b=this.pivotValuesOnRows?d.boundField:c.boundField;if(b){return b.formatSettings}return undefined},_getCellValueFromDataSource:function(p,c){if(p==undefined){throw"Invalid rowItem"}if(c==undefined){throw"Invalid columnItem"}var b=p.isTotal||c.isTotal;var g=this._internalDrillThroughPivotCell(p.key,c.key,b);if(g.length==0){return""}var h=this.pivotValuesOnRows?p.boundField:c.boundField;if(null==h){return undefined}var j=h["function"];var n=j||"count";if(typeof(n)=="String"){n=n.toLowerCase()}try{var d=[];for(var k=0;k<g.length;k++){var f=g[k];var l=this.dataAdapter.records[f];var o=this._getBoundFieldValue(l,h.dataField);d.push(parseFloat(o))}if(typeof(n)=="string"){n=this.aggregationFunctions[n]}if(typeof(n)=="function"){return n(d)}}catch(m){return NaN}return NaN},_formatValue:function(c,f,b){if(c==undefined){return""}if(this._isObject(c)&&!this._isDate(c)&&!b){return""}if(b){if(!a.isFunction(b)){return c.toString()}try{return b(c)}catch(d){return d.message}}if(this._isNumber(c)){return this._formatNumber(c,f)}if(this._isDate(c)){return this._formatDate(c,f)}if(f){return(f.prefix||"")+c.toString()+(f.sufix||"")}return c.toString()},_isNumberAsString:function(d){if(typeof(d)!="string"){return false}d=a.trim(d);for(var b=0;b<d.length;b++){var c=d.charAt(b);if((c>="0"&&c<="9")||c==","||c=="."){continue}if(c=="-"&&b==0){continue}if((c=="("&&b==0)||(c==")"&&b==d.length-1)){continue}return false}return true},_castAsDate:function(f,c){if(f instanceof Date&&!isNaN(f)){return f}if(typeof(f)=="string"){var b;if(c){b=a.jqx.dataFormat.parsedate(f,c);if(this._isDate(b)){return b}}if(this._autoDateFormats){for(var e=0;e<this._autoDateFormats.length;e++){b=a.jqx.dataFormat.parsedate(f,this._autoDateFormats[e]);if(this._isDate(b)){return b}}}else{this._autoDateFormats=[]}var d=this._detectDateFormat(f);if(d){b=a.jqx.dataFormat.parsedate(f,d);if(this._isDate(b)){this._autoDateFormats.push(d);return b}}b=new Date(f);if(this._isDate(b)){if(f.indexOf(":")==-1){b.setHours(0,0,0,0)}}return b}return undefined},_castAsNumber:function(c){if(c instanceof Date&&!isNaN(c)){return c.valueOf()}if(typeof(c)=="string"){if(this._isNumber(c)){c=parseFloat(c)}else{if(!/[a-zA-Z]/.test(c)){var b=new Date(c);if(b!=undefined){c=b.valueOf()}}}}return c},_isNumber:function(b){if(typeof(b)=="string"){if(this._isNumberAsString(b)){b=parseFloat(b)}}return typeof b==="number"&&isFinite(b)},_isDate:function(b){return b instanceof Date&&!isNaN(b.getDate())},_isBoolean:function(b){return typeof b==="boolean"},_isObject:function(b){return(b&&(typeof b==="object"||a.isFunction(b)))||false},_formatDate:function(d,c){var b=d.toString();if(c){if(c.dateFormat){b=a.jqx.dataFormat.formatDate(d,c.dateFormat)}b=(c.prefix||"")+b+(c.sufix||"")}return b},_formatNumber:function(n,e){if(!this._isNumber(n)){return n}e=e||{};var q=".";var o="";var r=this;if(r.localization){q=r.localization.decimalSeparator||r.localization.decimalseparator||q;o=r.localization.thousandsSeparator||r.localization.thousandsseparator||o}if(e.decimalSeparator){q=e.decimalSeparator}if(e.thousandsSeparator){o=e.thousandsSeparator}var m=e.prefix||"";var p=e.sufix||"";var h=e.decimalPlaces;if(isNaN(h)){h=this._getDecimalPlaces([n],undefined,3)}var l=e.negativeWithBrackets||false;var g=(n<0);if(g&&l){n*=-1}var d=n.toString();var b;var k=Math.pow(10,h);d=(Math.round(n*k)/k).toString();if(isNaN(d)){d=""}b=d.lastIndexOf(".");if(h>0){if(b<0){d+=q;b=d.length-1}else{if(q!=="."){d=d.replace(".",q)}}while((d.length-1-b)<h){d+="0"}}b=d.lastIndexOf(q);b=(b>-1)?b:d.length;var f=d.substring(b);var c=0;for(var j=b;j>0;j--,c++){if((c%3===0)&&(j!==b)&&(!g||(j>1)||(g&&l))){f=o+f}f=d.charAt(j-1)+f}d=f;if(g&&l){d="("+d+")"}return m+d+p},_getDecimalPlaces:function(b,g,c){var h=0;if(isNaN(c)){c=10}for(var f=0;f<b.length;f++){var k=g===undefined?b[f]:b[f][g];if(isNaN(k)){continue}var d=k.toString();for(var e=0;e<d.length;e++){if(d[e]<"0"||d[e]>"9"){h=d.length-(e+1);if(h>=0){return Math.min(h,c)}}}if(h>0){k*=Math.pow(10,h)}while(Math.round(k)!=k&&h<c){h++;k*=10}}return h},_defaultNumberFormat:{prefix:"",sufix:"",decimalSeparator:".",thousandsSeparator:",",decimalPlaces:2,negativeWithBrackets:false},_detectDateFormat:function(g,e){var d={en_US_d:"M/d/yyyy",en_US_D:"dddd, MMMM dd, yyyy",en_US_t:"h:mm tt",en_US_T:"h:mm:ss tt",en_US_f:"dddd, MMMM dd, yyyy h:mm tt",en_US_F:"dddd, MMMM dd, yyyy h:mm:ss tt",en_US_M:"MMMM dd",en_US_Y:"yyyy MMMM",en_US_S:"yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss",en_CA_d:"dd/MM/yyyy",en_CA_D:"MMMM-dd-yy",en_CA_f:"MMMM-dd-yy h:mm tt",en_CA_F:"MMMM-dd-yy h:mm:ss tt",ISO:"yyyy-MM-dd hh:mm:ss",ISO2:"yyyy-MM-dd HH:mm:ss",d1:"dd.MM.yyyy",d2:"dd-MM-yyyy",zone1:"yyyy-MM-ddTHH:mm:ss-HH:mm",zone2:"yyyy-MM-ddTHH:mm:ss+HH:mm",custom:"yyyy-MM-ddTHH:mm:ss.fff",custom2:"yyyy-MM-dd HH:mm:ss.fff",de_DE_d:"dd.MM.yyyy",de_DE_D:"dddd, d. MMMM yyyy",de_DE_t:"HH:mm",de_DE_T:"HH:mm:ss",de_DE_f:"dddd, d. MMMM yyyy HH:mm",de_DE_F:"dddd, d. MMMM yyyy HH:mm:ss",de_DE_M:"dd MMMM",de_DE_Y:"MMMM yyyy",fr_FR_d:"dd/MM/yyyy",fr_FR_D:"dddd d MMMM yyyy",fr_FR_t:"HH:mm",fr_FR_T:"HH:mm:ss",fr_FR_f:"dddd d MMMM yyyy HH:mm",fr_FR_F:"dddd d MMMM yyyy HH:mm:ss",fr_FR_M:"d MMMM",fr_FR_Y:"MMMM yyyy",it_IT_d:"dd/MM/yyyy",it_IT_D:"dddd d MMMM yyyy",it_IT_t:"HH:mm",it_IT_T:"HH:mm:ss",it_IT_f:"dddd d MMMM yyyy HH:mm",it_IT_F:"dddd d MMMM yyyy HH:mm:ss",it_IT_M:"dd MMMM",it_IT_Y:"MMMM yyyy",ru_RU_d:"dd.MM.yyyy",ru_RU_D:"d MMMM yyyy '?.'",ru_RU_t:"H:mm",ru_RU_T:"H:mm:ss",ru_RU_f:"d MMMM yyyy '?.' H:mm",ru_RU_F:"d MMMM yyyy '?.' H:mm:ss",ru_RU_Y:"MMMM yyyy",cs_CZ_d:"d.M.yyyy",cs_CZ_D:"d. MMMM yyyy",cs_CZ_t:"H:mm",cs_CZ_T:"H:mm:ss",cs_CZ_f:"d. MMMM yyyy H:mm",cs_CZ_F:"d. MMMM yyyy H:mm:ss",cs_CZ_M:"dd MMMM",cs_CZ_Y:"MMMM yyyy",he_IL_d:"dd MMMM yyyy",he_IL_D:"dddd dd MMMM yyyy",he_IL_t:"HH:mm",he_IL_T:"HH:mm:ss",he_IL_f:"dddd dd MMMM yyyy HH:mm",he_IL_F:"dddd dd MMMM yyyy HH:mm:ss",he_IL_M:"dd MMMM",he_IL_Y:"MMMM yyyy",hr_HR_d:"d.M.yyyy.",hr_HR_D:"d. MMMM yyyy.",hr_HR_t:"H:mm",hr_HR_T:"H:mm:ss",hr_HR_f:"d. MMMM yyyy. H:mm",hr_HR_F:"d. MMMM yyyy. H:mm:ss",hr_HR_M:"d. MMMM",hu_HU_d:"yyyy.MM.dd.",hu_HU_D:"yyyy. MMMM d.",hu_HU_t:"H:mm",hu_HU_T:"H:mm:ss",hu_HU_f:"yyyy. MMMM d. H:mm",hu_HU_F:"yyyy. MMMM d. H:mm:ss",hu_HU_M:"MMMM d.",hu_HU_Y:"yyyy. MMMM",jp_JP_d:"gg y/M/d",jp_JP_D:"gg y'?'M'?'d'?'",jp_JP_t:"H:mm",jp_JP_T:"H:mm:ss",jp_JP_f:"gg y'?'M'?'d'?' H:mm",jp_JP_F:"gg y'?'M'?'d'?' H:mm:ss",jp_JP_M:"M'?'d'?'",jp_JP_Y:"gg y'?'M'?'",lt_LT_d:"yyyy.MM.dd",lt_LT_D:"yyyy 'm.' MMMM d 'd.'",lt_LT_t:"HH:mm",lt_LT_T:"HH:mm:ss",lt_LT_f:"yyyy 'm.' MMMM d 'd.' HH:mm",lt_LT_F:"yyyy 'm.' MMMM d 'd.' HH:mm:ss",lt_LT_M:"MMMM d 'd.'",lt_LT_Y:"yyyy 'm.' MMMM",sa_IN_d:"dd-MM-yyyy",sa_IN_D:"dd MMMM yyyy dddd",sa_IN_t:"HH:mm",sa_IN_T:"HH:mm:ss",sa_IN_f:"dd MMMM yyyy dddd HH:mm",sa_IN_F:"dd MMMM yyyy dddd HH:mm:ss",sa_IN_M:"dd MMMM",basic_y:"yyyy",basic_ym:"yyyy-MM",basic_d:"yyyy-MM-dd",basic_dhm:"yyyy-MM-dd hh:mm",basic_bhms:"yyyy-MM-dd hh:mm:ss",basic2_ym:"MM-yyyy",basic2_d:"MM-dd-yyyy",basic2_dhm:"MM-dd-yyyy hh:mm",basic2_dhms:"MM-dd-yyyy hh:mm:ss",basic3_ym:"yyyy/MM",basic3_d:"yyyy/MM/dd",basic3_dhm:"yyyy/MM/dd hh:mm",basic3_bhms:"yyyy/MM/dd hh:mm:ss",basic4_ym:"MM/yyyy",basic4_d:"MM/dd/yyyy",basic4_dhm:"MM/dd/yyyy hh:mm",basic4_dhms:"MM/dd/yyyy hh:mm:ss"};if(e){d=a.extend({},d,e)}var c=[];if(!a.isArray(g)){c.push(g)}else{c=g}for(var f in d){d[f]={format:d[f],count:0}}for(var h=0;h<c.length;h++){value=c[h];if(value==null||value==undefined){continue}for(var f in d){var b=a.jqx.dataFormat.parsedate(value,d[f].format);if(b!=null){d[f].count++}}}var k={key:undefined,count:0};for(var f in d){if(d[f].count>k.count){k.key=f;k.count=d[f].count}}return k.key?d[k.key].format:""}}})(jqxBaseFramework);
+
+(function(a){a.jqx.jqxWidget("jqxPivotGrid","",{});a.extend(a.jqx._jqxPivotGrid.prototype,{defineInstance:function(){var b={scrollBarsEnabled:true,source:null,groupingColumns:[],isGroupingEnabled:false,_offsetX:0,_offsetY:0,_currentPosition:{},_selectStartPosition:{},_isMouseLeftButtonDown:false,_timeLastUp:new Date(),_timeLastDown:new Date(),resizeTooltipEnabled:false,isHorizontalResize:true,_colResizeState:"NO_RESIZE",activeEditor:{Editor:null},_id:0,_colItemRangeSelectionBeg:null,_colItemRangeSelectionEnd:null,_rowItemRangeSelectionBeg:null,_rowItemRangeSelectionEnd:null,_isCTRLPressed:false,_internalSelectMode:"CELLS_SELECT",_mostRightItemBounds:{x:0,y:0,width:0,height:0},_mostLeftItemBounds:{x:0,y:0,width:0,height:0},_adjSelectedItemsSave:{},multipleSelectionEnabled:true,selectionEnabled:true,selectionMode:"CELLS_SELECT",treeStyleRows:true,autoResize:false,cellsRenderer:null,itemsRenderer:null,localization:null};a.extend(true,this,b);this._createPivotAreas();return b},_createPivotAreas:function(){if(this._pivotRows){this._pivotRows.clear();delete this._pivotRows}if(this._pivotColumns){this._pivotColumns.clear();delete this._pivotColumns}if(this._pivotCells){this._pivotCells._resetCanvas();this._pivotCells.clear();delete this._pivotCells}this._pivotRows=new a.jqx.jqxPivotGrid.pivotRows(this);this._pivotColumns=new a.jqx.jqxPivotGrid.pivotColumns(this);this._pivotCells=new a.jqx.jqxPivotGrid.pivotCells();this._pivotCells.parentPivotGrid=this},_instanceId:0,createInstance:function(k){var f=this.element;var l=this.host;var m=this;m.localizeStrings(m.localization);var b="jqx-pivotgrid jqx-rc-all jqx-widget "+this.toThemeProperty("jqx-widget-content");var g="";if(this._isTouchDevice()){g="class='jqx-grid-menu-item-touch'"}l.append("<div class='"+b+"' style='width:100%; height: 100%; overflow:hidden; position:relative; onselectstart='return false;' oncontextmenu='return false;''><div id='divContent' style='width:100px; height:100%;'></div><div id='divHScroll' style='width:100%; height:17px;'></div><div id='divVScroll' style='width:17px; height:100%;'></div><div id='divContextMenu'><ul><li "+g+"><div id='sortasc' class='jqx-pivotgrid-sortasc-icon'></div><span>"+m._localizedStrings.sortascendingstring+"</span></li><li "+g+"><div id='sortdesc' class='jqx-pivotgrid-sortdesc-icon'></div><span>"+m._localizedStrings.sortdescendingstring+"</span></li><li "+g+"><div id='sortremove' class='jqx-pivotgrid-sortremove-icon'></div><span>"+m._localizedStrings.sortremovestring+"</span></li></ul></div></div>");var c=l.find("#divContent");var d=c[0];var j=document.createElement("div");j.style.position="relative";j.style.left="0px";j.style.top="0px";j.style.width="100%";j.style.height="100%";j.style.overflow="hidden";c.append(j);this.contentCanvas=this.Canvas=j;this.hostVScroll=l.find("#divVScroll");this.hostHScroll=l.find("#divHScroll");this.hScroll=l.find("#divHScroll").jqxScrollBar({vertical:false,theme:this.theme});this.vScroll=l.find("#divVScroll").jqxScrollBar({vertical:true,theme:this.theme});m._createContextMenu();m.id=m._instanceId++;m._resizeLineId="divResizeLine"+m.id;a(document.body).append("<div id='"+m._resizeLineId+"' style='position: absolute; display: none;'></div>");try{m.dataBind()}catch(i){throw"Databinding exception: "+i.toString();return}m._installEventHandlers();a.jqx.utilities.resize(m.host,function(){m.refresh()},false);if(!m._isInitialized){m._isInitialized=true}},destroy:function(){this._isInitialized=false;this.host.find("#divHScroll").off();this.host.find("#divVScroll").off();this._contextMenu.off();this.removeHandler(this.host);a.jqx.utilities.resize(this.host,null,true)},_installEventHandlers:function(){var b=this;b.hostVScroll.on("valueChanged",function(c){if(c.currentTarget==b.hostVScroll[0]){b.onVScroll(c.currentValue)}});b.hostHScroll.on("valueChanged",function(c){if(c.currentTarget==b.hostHScroll[0]){b.onHScroll(c.currentValue)}});b.addHandler(b.host,"mousewheel DOMMouseScroll",function(c){if(b._isContextMenuOpen){return}if(b._pivotDesigner&&b._pivotDesigner._isWindowOpen()){return}var d=a.jqx.position(c);if(!b.isPtInRect({x:d.left,y:d.top},b._rect)){return}c.preventDefault();if(!b._scrollBarPositions.vertical.visible){return}b.onMouseWheel(c)});b.addHandler(b.host,"mouseenter",function(c){if(c.currentTarget==b.element){b._onMouseEnter(c)}});b.addHandler(b.host,"mouseleave",function(c){if(c.currentTarget==b.element){b._onMouseLeave(c)}});b.addHandler(b.host,"mousedown",function(c){if(b._isContextMenuOpen){return}if(b._pivotDesigner&&b._pivotDesigner._isWindowOpen()){return}c.preventDefault();b._onMouseDown(c);this.focus()});b.addHandler(a(document),"mouseup",function(c){if(b._isContextMenuOpen){return}if(b._pivotDesigner&&b._pivotDesigner._isWindowOpen()){return}c.preventDefault();b._onMouseUp(c);if(c.cancel){return}var d=a.jqx.position(c);if(!b.isPtInRect({x:d.left,y:d.top},b._rect)){if(b._colResizeState!="RESIZING"){return}}b._onMouseClick(c)});b.addHandler(a(document),"mousemove",function(c){if(b._isContextMenuOpen){return}if(b._pivotDesigner&&b._pivotDesigner._isWindowOpen()){return}b._onMouseMove(c)});b.addHandler(a(document),"keydown",function(c){if(b._isContextMenuOpen){return}if(b._pivotDesigner&&b._pivotDesigner._isWindowOpen()){return}if(b._isContextMenuOpen){return}if(c.keyCode==17){b._isCTRLPressed=true}else{if(c.keyCode==16){b._isSHIFTPressed=true}else{if(b._handleKeyboardNavigation){b._handleKeyboardNavigation(c)}}}});b.addHandler(a(document),"keyup",function(c){if(b._isContextMenuOpen){return}if(b._pivotDesigner&&b._pivotDesigner._isWindowOpen()){return}if(b._isContextMenuOpen){return}if(c.keyCode==17){b._isCTRLPressed=false}else{if(c.keyCode==16){b._isSHIFTPressed=false}}})},_createContextMenu:function(){var l=this;var k=this.host;var j=k.find("#divContextMenu");l._contextMenu=j.jqxMenu({width:"120px",autoCloseOnClick:true,autoOpenPopup:false,animationShowDuration:0,animationHideDuration:0,animationShowDelay:0,theme:this.theme,keyboardNavigation:false,mode:"popup"});var f=j.find("li");var b="";for(var d=0;d<f.length;d++){var g=a(f[d]).text();if(g.length>b.length){b=g}}var c=a('<span style="white-space:nowrap;">'+b+"</span>");c.addClass(this.toThemeProperty("jqx-menu-item"));this.host.append(c);var e=c.outerWidth()+30;c.remove();l._contextMenu=j.jqxMenu({width:e});l._contextMenu.on("shown",function(){l._isContextMenuOpen=true});l._contextMenu.on("closed",function(){l._isContextMenuOpen=false;l._hideItemMenuElement()});l._contextMenu.on("itemclick",function(o){o.stopImmediatePropagation();o.stopPropagation();var n=l._menuElement._itemMouseOver;if(!n){return}var m=n.hierarchy==l._pivotColumns?l._pivotRows:l._pivotColumns;var i=o.args.innerHTML;if(i.indexOf("sortasc")!=-1){m.sortBy(n,"asc")}else{if(i.indexOf("sortdesc")!=-1){m.sortBy(n,"desc")}else{if(i.indexOf("sortremove")!=-1){m.removeSort()}}}})},_isTouchDevice:function(){if(this.touchDevice!=undefined){return this.touchDevice}var b=a.jqx.mobile.isTouchDevice();this.touchDevice=b;if(this.touchmode==true){if(a.jqx.browser.msie&&a.jqx.browser.version<9){this.enablehover=false;return false}b=true;a.jqx.mobile.setMobileSimulator(this.element);this.touchDevice=b}else{if(this.touchmode==false){b=false}}if(b&&this.touchModeStyle!=false){this.touchDevice=true;this.host.addClass(this.toThemeProperty("jqx-touch"));this.host.find("jqx-widget-content").addClass(this.toThemeProperty("jqx-touch"));this.host.find("jqx-widget-header").addClass(this.toThemeProperty("jqx-touch"));this.scrollbarsize=this.touchscrollbarsize}return b},propertyChangedHandler:function(b,c,e,d){if(this._isInitialized==undefined||this._isInitialized==false){return}if(c=="source"){this.dataBind()}else{if(c=="theme"){this.hostVScrollBar.jqxScrollBar("theme",this.theme);this.hostHScrollBar.jqxScrollBar("theme",this.theme)}}this._internalRefresh()},genId:function(){return this._id++},getCellId:function(b,c){return b.id+"_"+c.id},_scrollTimer:undefined,_renderOnTimeout:function(c){clearTimeout(this._scrollTimer);var b=this;if(c==0){this._pivotColumns._refreshRequired=this._pivotRows._refreshRequired=true;b._internalRefresh()}else{this._scrollTimer=setTimeout(function(){b._render()},c)}},onVScroll:function(b){b=Math.round(b);if(b==this._offsetY){return}var d=50;var c=0;this._offsetY=b;this._renderOnTimeout(c)},onHScroll:function(b){b=Math.round(b);if(b==this._offsetX){return}var d=50;var c=0;this._offsetX=b;this._renderOnTimeout(c)},onMouseWheel:function(d){var f=0;if(!d){d=window.event}if(d.wheelDelta){f=d.wheelDelta/120}else{if(d.detail){f=-d.detail/3}}if(!f){return}if(d.preventDefault){d.preventDefault()}d.returnValue=false;var c=this.vScroll.jqxScrollBar("min");var b=this.vScroll.jqxScrollBar("max");var e=this.vScroll.jqxScrollBar("value");f*=10;e=e-f;if(e>b){e=b}if(e<c){e=c}this.vScroll.jqxScrollBar("value",e)},_onMouseMove:function(c){var d=a.jqx.position(c);var b=d.left;var g=d.top;if(!this.isPtInRect({x:b,y:g},this._rect)){if(this._colResizeState!="RESIZING"){return}}var f=this.host.offset();b-=Math.round(f.left);g-=Math.round(f.top);b=Math.max(b,0);g=Math.max(g,0);if(this._currentPosition.x==b&&this._currentPosition.y==g){return}else{this._currentPosition.x=b;this._currentPosition.y=g}for(var e in this._scrollBarPositions){if(this._scrollBarPositions[e].visible&&this.isPtInRect({x:b,y:g},this._scrollBarPositions[e].rect)){return}}this._handleMouseMove(c);if(this.activeEditor&&this.activeEditor.Editor){}else{}},_onMouseEnter:function(b){},_onMouseLeave:function(b){this._hideItemMenuElement()},_onMouseDown:function(e){var b={isOnItemButton:false};var d=this._itemHitTest(this._currentPosition,b);if(null!=d){var c=this._raisePivotItemMouseEvent(d,"pivotitemmousedown",e.button==0?"left":"right");if(c){e.cancel=true;return}}if(e.button==0){this.onMouseLeftButtonDown(e)}else{if(e.button==2){this.onMouseRightButtonDown(e)}}},_onMouseUp:function(e){var b={isOnItemButton:false};var d=this._itemHitTest(this._currentPosition,b);if(d!=null){var c=this._raisePivotItemMouseEvent(d,"pivotitemmouseup",e.button==0?"left":"right");if(c){e.cancel=true;return}}if(e.button==0){this.onMouseLeftButtonUp(e)}else{if(e.button==2){this.onMouseRightButtonUp(e)}}},_onMouseClick:function(d){var b=this;var c=d;b._handleMouseClick(d);if(d.cancel){return}if(b._dtLastMouseClick){var e=new Date()-b._dtLastMouseClick;if(e<500){this._handleMouseDoubleClick(d);b._dtLastMouseClick=undefined;return}}b._dtLastMouseClick=new Date()},setDivContent:function(f,c,d,g,e){var b=this.getChild(f,"innerDiv");b.style.padding=d.top+"px "+d.right+"px "+d.bottom+"px "+d.left+"px";if(g){b.style["text-align"]=g}this.setElementSize(f,parseFloat(f.style.width),parseFloat(f.style.height));if(e){b.style.width=parseFloat(f.style.width)-d.left+"px"}b.innerHTML=c},setElementPosition:function(c,b,d){c.style.position="absolute";c.style.left=b+"px";c.style.top=d+"px"},_getFloat:function(b){var d;for(var c=0;c<b.length;c++){d=parseFloat(b[c]);if(!isNaN(d)){return d}}return NaN},setElementSize:function(j,b,f){j.style.width=b+"px";j.style.height=f+"px";var e=this.getChild(j,"innerDiv");if(e){var i=this._getFloat([e.style.padding.left,e.style.padding,0]);var d=this._getFloat([e.style.padding.right,e.style.padding,0]);var g=this._getFloat([e.style.padding.top,e.style.padding,0]);var c=this._getFloat([e.style.padding.bottom,e.style.padding,0]);e.style.width=(b-i-d)+"px";e.style.height=(f-g-c)+"px"}},createCanvas:function(b){var c=document.createElement("div");c.style["background-color"]="transparent";c.style.overflow="hidden";b.appendChild(c);return c},createDiv:function(c,d,f,b){var g=document.createElement("div");g.id=d;g.style.height=b+"px";g.style.width=f+"px";var e=document.createElement("div");e.id="innerDiv";e.style.height=b+"px";e.style.width=f+"px";g.appendChild(e);c.appendChild(g);return g},getPivotRows:function(){return this._pivotRows},getPivotColumns:function(){return this._pivotColumns},getPivotCells:function(){return this._pivotCells},_layout:function(){var d=this.host.find("#divContent");var f=this.host.find("#divVScroll");var c=this.host.find("#divHScroll");var e=this.host.width();var b=this.host.height();if(!this._pivotCells.Canvas){this._pivotCells.Canvas=this.createCanvas(this.Canvas,"divCells",100,100)}if(!this._pivotRows.Canvas){this._pivotRows.Canvas=this.createCanvas(this.Canvas,"divRowsHierarchy",100,100)}if(!this._pivotColumns.Canvas){this._pivotColumns.Canvas=this.createCanvas(this.Canvas,"divColumnsHierarchy",100,100)}if(this._pivotRows.isHidden){this._pivotRows.Canvas.style.display="none"}else{this._pivotRows.Canvas.style.display="block";this.setElementPosition(this._pivotRows.Canvas,this._pivotRows.x,this._pivotRows.y);this.setElementSize(this._pivotRows.Canvas,this._pivotRows.getWidth()+1,this._pivotRows.getHeight());if(this._pivotRows.renderCanvas==undefined){this._pivotRows.renderCanvas=this.createCanvas(this._pivotRows.Canvas,"divRowsRender",100,100)}this.setElementSize(this._pivotRows.renderCanvas,this._pivotRows.getWidth()+1,this._pivotRows.getHeight())}if(this._pivotColumns.isHidden){this._pivotColumns.Canvas.style.display="none"}else{this._pivotColumns.Canvas.style.display="block";this.setElementPosition(this._pivotColumns.Canvas,this._pivotColumns.x,this._pivotColumns.y);this.setElementSize(this._pivotColumns.Canvas,this._pivotColumns.getWidth(),this._pivotColumns.getHeight()+1);if(this._pivotColumns.renderCanvas==undefined){this._pivotColumns.renderCanvas=this.createCanvas(this._pivotColumns.Canvas,"divColumnsRender",100,100)}this.setElementSize(this._pivotColumns.renderCanvas,this._pivotColumns.getWidth(),this._pivotColumns.getHeight()+1)}this.setElementPosition(this._pivotCells.Canvas,this._pivotColumns.x,this._pivotRows.y);this.setElementSize(this._pivotCells.Canvas,this._pivotCells.viewPort.width,this._pivotCells.viewPort.height);if(this._pivotCells.renderCanvas==undefined){this._pivotCells.renderCanvas=this.createCanvas(this._pivotCells.Canvas,"divCellsRender",100,100)}this.setElementSize(this._pivotCells.renderCanvas,this._pivotColumns.getWidth()+1,this._pivotRows.getHeight()+1)},refresh:function(){this._pivotColumns._renderRequired=true;this._pivotRows._renderRequired=true;this._pivotCells.clear();this._internalRefresh()},_internalRefresh:function(){var i=this.host.offset();if(this.autoResize){var d=this._pivotColumns.isHidden?0:this._pivotColumns.getHeight();var f=this._pivotColumns.isHidden?0:this._pivotColumns.getWidth();var e=this._pivotRows.isHidden?0:this._pivotRows.getHeight();var c=this._pivotRows.isHidden?0:this._pivotRows.getWidth();var g={};g.width=f+c+1;g.height=d+e+1;if(g.width!=this.host.width()||g.height!=this.host.height()){this._pivotColumns._renderRequired=this._pivotRows._renderRequired=true;this.host.css({width:g.width+"px",height:g.height+"px"})}}this._rect={x:i.left,y:i.top,width:this.host.width(),height:this.host.height()};this._render();var b=this.host.find("#divHScroll");b.jqxScrollBar("refresh")},_render:function(){var b=this._pivotColumns._renderRequired||this._pivotRows._renderRequired;if(this._pivotRows.compactStyleRenderingEnabled!=this.treeStyleRows){this._pivotRows.compactStyleRenderingEnabled=this.treeStyleRows;b=true}if(b){this._pivotRows._renderRequired=this._pivotColumns._renderRequired=true;this.RenderGridContent();this._layout()}this._pivotRows.viewPort.y=this._offsetY+(this._pivotColumns.isVisible()?this._pivotColumns.viewPort.height:0);this._pivotColumns.viewPort.x=this._offsetX+(this._pivotRows.isVisible()?this._pivotRows.viewPort.width:0);this._pivotColumns.refresh();this._pivotRows.refresh();this._pivotCells.render();this._updateMenuElement()},_updateMenuElement:function(){var b=this.host.find("#divContent");var d=b[0];if(this._menuElement){a(this._menuElement).off();d.removeChild(this._menuElement)}var e=document.createElement("div");e.style.height="16px";e.style.width="16px";e.style.id="menu_element";e.style.align="left";e.style.valign="top";e.style.display="none";d.appendChild(e);this._menuElement=e;var c=this;a(c._menuElement).on("click",function(){c._showItemContextMenu()})},dataBind:function(){var c=this.source;if(this.localization&&!c.localization){c.localization=this.localization}c.dataBind();function b(m,l,d,f,k){for(var g in m.items){var j=m.items[g];var e=new a.jqx.jqxPivotGrid.pivotItem(d,f);e.text=j.text;e.adapterItem=j;e.isColumn=k;l.items.push(e);b(j,e,e,f,k)}for(var g in m.valueItems){var j=m.valueItems[g];var e=new a.jqx.jqxPivotGrid.pivotItem(d,f);e.adapterItem=j;e.text=j.text;e.isColumn=k;e._isValueItem=true;l.valueItems.push(e);b(j,e,e,f,k)}}this._createPivotAreas();b(c._rowsHierarchy,this._pivotRows,null,this._pivotRows,false);b(c._columnsHierarchy,this._pivotColumns,null,this._pivotColumns,true);this.bindingState="DataBoundPivot";this._pivotRows.autoResize("default");this._pivotColumns.autoResize("default");this._internalRefresh()},getChild:function(d,e){var c=d.childNodes;for(var b=0;b<c.length;b++){if(c[b].id==e){return c[b]}}return null},scrollToOffset:function(c,e){var b=this.gridcells;for(var d=0;d<b.length;d++){b[d].style.top=e+parseInt(b[d].originalY)+"px";this.setDivContent(b[d],"cell "+d)}},getWidth:function(){return this.host.width()},getHeight:function(){return this.host.height()},RenderGridContent:function(){if(!this._pivotColumns._renderRequired&&!this._pivotRows._renderRequired){this._pivotRows.viewPort.y=this._offsetY;this._pivotColumns.viewPort.x=this._offsetX;return}if(this.PaintSuspended){return}if(this._colResizeState=="RESIZING"){return}var l={};l.x=this._offsetX;l.y=this._offsetY;l.width=this.getWidth();l.height=this.getHeight();if(l.width==0||l.height==0){return}this.PaintSuspended=true;if(this._pivotColumns._isColumnsCountRequresUpdate){this._pivotColumns._updateVisibleLeaves();this._pivotColumns._updateColumnsCount();this._pivotColumns._updateColumnsIndexes()}if(this._pivotRows._isColumnsCountRequresUpdate){this._pivotRows._updateColumnsCount();this._pivotRows._updateColumnsIndexes()}if(this.getWidth()==0||this.getHeight()==0){this.PaintSuspended=false;return}if(this.GroupingEnabled&&this.groupingColumns.length>0){this._pivotRows.isHidden=true}if(this._pivotColumns._renderRequired){this._pivotColumns.render()}if(this._pivotRows._renderRequired){this._pivotRows.render()}var c=(this._pivotColumns.isVisible()?this._pivotColumns.getHeight():0);var i=(this._pivotRows.isVisible()?this._pivotRows.getWidth():0);var j={width:this._pivotColumns.getWidth()+i,height:this._pivotRows.getHeight()+c};if(this.scrollableAreaSize!=j||this.isSyncScrollRequired){this.scrollableAreaSize=j;this.SynchronizeScrollBars()}var b=this.host.find("#divContent");var m=this.host.find("#divVScroll");var e=this.host.find("#divHScroll");var d=e.css("display")!="none";var g=m.css("display")!="none";b.css({height:(l.height-(d?e.height()+4:0))+"px"});b.css({width:(l.width-(g?m.width()+4:0))+"px"});var k=l.height;if(l.height==this.getHeight()){k=l.height-c-((d)?e.height()+4:0);if(k<0){k=l.height}}this._pivotRows.x=0;this._pivotRows.y=c;this._pivotRows.viewPort={x:this._pivotRows.x,y:l.y,width:this._pivotRows.getWidth(),height:k};var f=l.width;if(l.width==this.getWidth()){f=l.width-i-((g)?m.width()+4:0);if(f<0){f=l.width}}this._pivotColumns.x=i;this._pivotColumns.y=0;this._pivotColumns.viewPort={x:l.x,y:this._pivotColumns.y,width:f,height:this._pivotColumns.getHeight()};this._pivotCells.Bounds={x:this._pivotColumns.x,y:this._pivotRows.y,width:this._pivotColumns.getWidth(),height:k};this._pivotCells.viewPort={x:l.x,y:l.y,width:f,height:k};if(this.draggingItem!=null&&dragElement.visibility==visibility.visible){dragElement.setValue(Canvas.ZIndexProperty,10000)}this._pivotRows._renderRequired=false;this._pivotColumns._renderRequired=false;this.PaintSuspended=false},SynchronizeScrollBars:function(){var q=false;var e=false;var o=this.host.find("#divVScroll");var i=this.host.find("#divHScroll");var g=i.css("display")!="none";var k=o.css("display")!="none";var d=i.height();var l=false;var n=false;if(this.scrollableAreaSize.height>this.getHeight()){q=true}if(this.scrollableAreaSize.width>this.getWidth()){e=true}if(this.scrollableAreaSize.height<=this.getHeight()&&this.scrollableAreaSize.width<=this.getWidth()){q=false;e=false}if(q){e=e||(this.scrollableAreaSize.width>this.getWidth()-d)}if(e){q=q||(this.scrollableAreaSize.height>this.getHeight()-d)}if(q){if(!k){l=true}o[0].style.display="block";var c=this.getHeight()-(e?d+5:0);if(c<0){c=0}this.setElementPosition(o[0],this.getWidth()-d-4,0);this.setElementSize(o[0],d,c);o.jqxScrollBar("min",0);var j=this.scrollableAreaSize.height-(this.getHeight()-(e?d:0))+4;if(j!=o.jqxScrollBar("max")){o.jqxScrollBar("max",j)}if(this.VerticalScrollBarSmallChange!=undefined){o.jqxScrollBar("step",this.VerticalScrollBarSmallChange)}else{o.jqxScrollBar("step",10)}var m=this.scrollableAreaSize.height/10;if(m<10){m=10}if(this.VerticalScrollBarLargeChange!=undefined){m=verticalScrollBarLargeChange}if(o.jqxScrollBar("largestep")!=m){o.jqxScrollBar("largestep",m)}if(o.jqxScrollBar("largestep")<o.jqxScrollBar("step")){o.jqxScrollBar("largestep",o.jqxScrollBar("step"))}if(this.rtl){}else{}}else{if(k){l=true}o.jqxScrollBar("value",0);o[0].style.display="none"}if(e){if(g){n=true}i[0].style.display="block";var p=this.getWidth()-(q?d+5:0);if(p<0||p==undefined){p=0}this.setElementPosition(i[0],0,this.getHeight()-d-4);this.setElementSize(i[0],p,d);if(i.jqxScrollBar("min")!=0){i.jqxScrollBar("min",0)}var f=this.scrollableAreaSize.width-(this.getWidth()-(q?d:0))+4;if(i.jqxScrollBar("max")!=f){i.jqxScrollBar("max",f)}if(this.HorizontalScrollBarSmallChange!=undefined){i.jqxScrollBar("step",this.HorizontalScrollBarSmallChange)}else{i.jqxScrollBar("step",10)}var b=(this.getWidth()/2);if(b<25){b=25}if(this.HorizontalScrollBarLargeChange!=undefined){b=this.HorizontalScrollBarSmallChange}i.jqxScrollBar("largestep",b);if(i.jqxScrollBar("largestep")<i.jqxScrollBar("largestep")){i.jqxScrollBar("largestep",i.jqxScrollBar("step"))}}else{if(g){n=true}i.jqxScrollBar("value",0);i[0].style.display="none"}e=e&&this.scrollBarsEnabled;q=q&&this.scrollBarsEnabled;if(e!=(i[0].display=="block")){i[0].display=e?"block":"none";n=true}if(q!=(o[0].display=="block")){o[0].display=q?"block":"none";l=true}this._scrollBarPositions={vertical:{visible:q,rect:{x:o.position().left,y:o.position().top,width:o.width(),height:o.height()}},horizontal:{visible:e,rect:{x:i.position().left,y:i.position().top,width:i.width(),height:i.height()}}};i.jqxScrollBar("refresh");o.jqxScrollBar("refresh")},isPtInRect:function(b,c){return(b.x>=c.x&&b.x<=c.x+c.width&&b.y>=c.y&&b.y<=c.y+c.height)},onMouseLeftButtonUp:function(c){var k=this;for(var l in k._scrollBarPositions){if(this._scrollBarPositions[l].visible&&this.isPtInRect(k._currentPosition,k._scrollBarPositions[l].rect)){if(k._isMouseCaptured()){k._releaseMouseCapture()}k._isMouseLeftButtonDown=false;return}}if(k._isMouseCaptured()){k._releaseMouseCapture();return}if(k._itemMenuButtonMouseOver||k._isContextMenuOpen){return}k.canDrag=false;var g=a.jqx.position(c);var e=k.isPtInRect({x:g.left,y:g.top},k._rect);var d=k._pivotCells._hitTest(k._currentPosition);if(d&&e){var i=k._raisePivotCellMouseEvent(d.pivotRow,d.pivotColumn,"pivotcellmouseup","left");if(i){return}}if(k._colResizeState=="RESIZING"){k._colResizeState="NO_RESIZE";k._updateCursor("ARROW");k._pivotColumns._renderRequired=true;k._pivotRows._renderRequired=true;var m={x:k.resizingItem.x+k.resizingItem.hierarchy.x-k._offsetX,y:k.resizingItem.y+k.resizingItem.hierarchy.y-k._offsetY};if(this.isHorizontalResize){k.resizingItem.setWidth(Math.max(k.resizingItem.minimumWidth,Math.abs(k._currentPosition.x-m.x)))}else{k.resizingItem.setHeight(Math.max(k.resizingItem.minimumHeight,Math.abs(k._currentPosition.y-m.y)))}a("body").find("#"+k._resizeLineId).hide();k.resizingItem=null;if(k.resizeTooltipEnabled){}k._isMouseLeftButtonDown=false;k._internalRefresh();return}var f={isOnItemButton:false};var j=k._itemHitTest(k._currentPosition,f);if(j!=null){if(f.isOnItemButton||f.isOnMenuButton){return}}var b=false;if(k._canDrop(j)){k._endDrag(j);b=true}else{if(k.dragElement&&k.dragElement.style.display=="block"){k._endDrag(draggingItem);b=true}}if(b){k._isMouseLeftButtonDown=false;k._internalRefresh();return}k._isMouseLeftButtonDown=false;if(e&&k.activeEditor.Editor==null){k._updateSelection()}},onMouseLeftButtonDown:function(g){for(var i in this._scrollBarPositions){if(this._scrollBarPositions[i].visible&&this.isPtInRect(this._currentPosition,this._scrollBarPositions[i].rect)){this._captureMouse();return}}var d={isOnItemButton:false};var f=this._itemHitTest(this._currentPosition,d);this._timeLastDown=new Date();var c=false;if(!this.isShiftPressed){this._selectStartPosition={x:this._currentPosition.x,y:this._currentPosition.y}}if(this._itemMenuButtonMouseOver||this._isContextMenuOpen){return}this._isMouseLeftButtonDown=true;if(this._colResizeState=="READY_RESIZE"){this._colResizeState="RESIZING";this._updateCursor(this.isHorizontalResize?"COLUMN_RESIZE":"ROW_RESIZE");this._refreshMouseCursor();return}else{if(this._colResizeState=="RESIZING"){return}}if(null!=f){if(d.isOnItemButton){if(this._lastToggle&&this._lastToggle.item==f&&(new Date()-this._lastToggle.time)<500){return}this._isMouseLeftButtonDown=false;if(f.isExpanded){f.collapse()}else{f.expand()}this._lastToggle={time:new Date(),item:f};this._internalRefresh();return}this.canDrag=true;if(d.isOnItemButton){this._updateCursor("ARROW")}else{this._updateCursor("CROSS")}if(f.isColumn){this._internalSelectMode="COL_SELECT"}else{this._internalSelectMode="ROW_SELECT"}}else{this._internalSelectMode="CELLS_SELECT"}var b=this._pivotCells._hitTest(this._currentPosition);if(b){var e=this._raisePivotCellMouseEvent(b.pivotRow,b.pivotColumn,"pivotcellmousedown","left");if(e){return}}if(this.activeEditor.Editor==null){this._updateSelection()}this._refreshMouseCursor()},onMouseRightButtonDown:function(e){this._timeLastDown=new Date();var c={isOnItemButton:false};var d=this._itemHitTest(this._currentPosition,c);if(d!=null){this._raisePivotItemMouseEvent(d,"pivotitemmousedown","right");return}var b=this._pivotCells._hitTest(this._currentPosition);if(b){this._raisePivotCellMouseEvent(b.pivotRow,b.pivotColumn,"pivotcellmousedown","right")}},onMouseRightButtonUp:function(d){var c=this;var f=a.jqx.position(d);var e=c.isPtInRect({x:f.left,y:f.top},c._rect);var b=this._pivotCells._hitTest(this._currentPosition);if(b&&e){this._raisePivotCellMouseEvent(b.pivotRow,b.pivotColumn,"pivotcellmouseup","right")}this._timeLastUp=new Date()},_itemMouseMove:function(b,g){if(this.resizingItem){if(this.isHorizontalResize){this._updateCursor("COLUMN_RESIZE")}else{this._updateCursor("ROW_RESIZE")}return}if(this._menuElement._itemMouseOver!=g){this._hideItemMenuElement()}this._updateCursor("CROSS");var j={x:g.x,y:g.y,width:g.getDisplayWidth(),height:g.getDisplayHeight()};if(g.isColumn){j.x+=g.hierarchy.x-this._offsetX}else{j.y+=g.hierarchy.y-this._offsetY}if(g.IsRowsHierarchyItem&&_pivotRows.compactStyleRenderingEnabled){j.height=g.height}j.right=j.x+j.width;j.bottom=j.y+j.height;if(Math.abs(j.right-b.x)<=4&&b.y>=j.y&&b.y<=j.bottom){this.isHorizontalResize=true;if(g.hierarchy.resizable&&!this._pivotColumns.isGroupingColumn(g)){this._updateCursor("COLUMN_RESIZE");this.resizingItem=(g.isColumn)?g._getLastVisibleLeaf(g):g;if(!this.resizingItem.isColumn&&!this.resizingItem.isExpanded){var d=this._pivotRows._getVisibleLeafLevelItems();for(var c in d){var e=d[c];if(e.ItemLevel>this.resizingItem.ItemLevel){this.resizingItem=e}}}this._colResizeState="READY_RESIZE"}return}if(!g.isColumn&&Math.abs(j.bottom-b.y)<=3){this.isHorizontalResize=false;if(!(g.IsRowsHierarchyItem&&this._pivotRows.compactStyleRenderingEnabled)){g=g._getLastVisibleLeaf(g)}if(g.hierarchy.resizable){this._updateCursor("ROW_RESIZE");this.resizingItem=g;this._colResizeState="READY_RESIZE"}return}var f=g.hierarchy.getOtherHierarchy();if(g.hierarchy.sortable&&f.items.length>0){this._hitTestShowItemMenuElement(b,g,j)}},isInHierarchyViewPort:function(b,c){if(c.isColumnsHierarchy){return(this.isPtInRect({x:b.x+this._offsetX,y:b.y},c.viewPort))}else{return(this.isPtInRect({x:b.x,y:b.y+this._offsetY},c.viewPort))}},_hitTestShowItemMenuElement:function(b,f,g){if(this._menuElement&&this._menuElement._itemMouseOver&&this._menuElement._itemMouseOver._element){a(this._menuElement._itemMouseOver._element).find("#sortElement").show()}this._menuElement.style.display="none";if(this._isContextMenuOpen||f.valueItems.length>0||!(b.x<g.right&&b.x>g.x&&b.y>=g.y&&b.y<=g.bottom)){return}var d=a.extend({},this._rect);d.x=d.y=0;if(this.vScroll[0].display=="block"){d.width-=this.vScroll.width()}if(this.hScroll[0].display=="block"){d.height-=this.hScroll.height()}var e={x:this._currentPosition.x,y:this._currentPosition.y};e.x-=f.hierarchy.x-(f.hierarchy.viewPort.x-f.hierarchy.x);e.y-=f.hierarchy.y-(f.hierarchy.viewPort.y-f.hierarchy.y);menuRect={x:f.x+g.width-18,y:f.y+(g.height-16)/2+1,width:16,height:16};this._menuElement.style.height=menuRect.height+"px";this._menuElement.className=this.toThemeProperty("jqx-pivotgrid-menu-button");if(f.isColumn){menuRect.x+=f.hierarchy.x-this._offsetX}else{menuRect.y+=f.hierarchy.y-this._offsetY}this.setElementPosition(this._menuElement,menuRect.x,menuRect.y);if(this.isPtInRect({x:menuRect.x,y:menuRect.y},d)&&this.isPtInRect({x:menuRect.x,y:menuRect.y+menuRect.height},d)&&this.isPtInRect({x:menuRect.x+menuRect.width,y:menuRect.y},d)&&this.isPtInRect({x:menuRect.x+menuRect.width,y:menuRect.y+menuRect.height},d)){this._menuElement.style.display="block";this._menuElement._itemMouseOver=f;a(this._menuElement._itemMouseOver._element).find("#sortElement").hide();if(!f._currentCustomContent){var c=a(f._element).css("background-color");this._menuElement.style["background-color"]=c}if(f.isColumn){menuRect.x+=this._offsetX-f.hierarchy.x}else{menuRect.y+=this._offsetY-f.hierarchy.y}if(this.isPtInRect({x:e.x,y:e.y},menuRect)){this._itemMenuButtonMouseOver=true}}},_hideItemMenuElement:function(){if(this._menuElement&&!this._isContextMenuOpen&&this._menuElement.style.display=="block"){this._menuElement.style.display="none";a(this._menuElement._itemMouseOver._element).find("#sortElement").show()}},_hideItemContextMenu:function(){this._contextMenu.jqxMenu("close");this._hideItemMenuElement()},_showItemContextMenu:function(){var f=this._menuElement._itemMouseOver;if(!f){return}var e=this._contextMenu.width();var c=this._contextMenu.height();this._contextMenu.find("#sortasc")[0]["className"]="jqx-pivotgrid-sortasc-icon "+this.toThemeProperty("jqx-pivotgrid-sortasc-icon");this._contextMenu.find("#sortdesc")[0]["className"]="jqx-pivotgrid-sortdesc-icon "+this.toThemeProperty("jqx-pivotgrid-sortdesc-icon");this._contextMenu.find("#sortremove")[0]["className"]="jqx-pivotgrid-sortremove-icon "+this.toThemeProperty("jqx-pivotgrid-sortremove-icon");var d=-e+f.displayWidth+f.x+(f.hierarchy.viewPort.x-this._offsetX)-this._offsetX;if(!f.isColumn){d=f.x+f.displayWidth}var b=f.y+f.getDisplayHeight();if(!f.isColumn){b=f.y-this._offsetY+f.hierarchy.y}if(d<=1){d=1}if(b<this._pivotColumns.y+this._pivotColumns.getHeight()){b=this._pivotColumns.y+this._pivotColumns.getHeight()}if(b+c>this._rect.height){b=this._rect.height-c}this._contextMenu.jqxMenu("open",d+this._rect.x,b+this._rect.y);this._contextMenu.focus()},_handleMouseMove:function(d){if(this._colResizeState=="RESIZING"){this._doResize({x:this._currentPosition.x,y:this._currentPosition.y});this._refreshMouseCursor();return}else{this._colResizeState="NO_RESIZE";this.resizingItem=null}var k=this._currentPosition;var j=null;if(this.isInHierarchyViewPort({x:k.x,y:k.y},this._pivotColumns)){j=this._pivotColumns.hitTest(k)}var c=null;if(this.isInHierarchyViewPort({x:k.x,y:k.y},this._pivotRows)){c=this._pivotRows.hitTest(k)}this._itemMenuButtonMouseOver=false;if(j!=null||c!=null){var i=j==null?c:j;this.gridCellMouseOver=null;this._itemMouseMove(k,i);if(this._focusedItem!=i){this._focusedItem=i;if(this._isMouseLeftButtonDown){this._updateSelection()}}var f={};if(this.CellsHighlightOnHierarchyItemMoveEnabled&&((i.IsRowsHierarchyItem&&(this.CellsHighlightMode=="CELLS_HIGHLIGHT_ROW"))||(i.isColumn&&(this.CellsHighlightMode=="CELLS_HIGHLIGHT_COLUMN")))){if(i.isColumn){f={x:i.x,y:0,width:i.DisplayWidth,height:this._pivotRows.getHeight()}}else{f={x:0,y:i.y,width:this._pivotColumns.getWidth(),height:i.getDisplayHeight()}}if((i.isColumn&&this.isGroupingEnabled&&this.groupingColumns.length>0)||(i.IsRowsHierarchyItem&&this._pivotRows.isOnRowDetails(this._currentPosition,i))){f={x:0,y:0,width:0,height:0}}}this._refreshMouseCursor();return}else{this._hideItemMenuElement()}var b=this.gridCellMouseOver!=null;this.resizingItem=null;this._focusedItem=null;this._colResizeState="NO_RESIZE";this._updateCursor("ARROW");var g=null;if(this.gridCellMouseOver){g={};g.pivotColumn=this.gridCellMouseOver.pivotColumn;g.pivotRow=this.gridCellMouseOver.pivotRow}var e=this._pivotCells._hitTest(k);if(this._isMouseLeftButtonDown&&e){if(this.gridCellMouseOver==null||this.gridCellMouseOver.pivotRow!=c||this.gridCellMouseOver.pivotColumn!=j){this.gridCellMouseOver={pivotRow:e.pivotRow,pivotColumn:e.pivotColumn,pivotCells:this._pivotCells}}var f={x:0,y:0,width:0,height:0};if(this.cellsHighlightMode=="CELLS_HIGHLIGHT_COLUMN"){f={x:this.gridCellMouseOver.pivotColumn.x,y:0,width:this.gridCellMouseOver.pivotColumn.getDisplayWidth(),height:this._pivotRows.getHeight()}}else{if(this.cellsHighlightMode=="CELLS_HIGHLIGHT_ROW"){f={x:0,y:this.gridCellMouseOver.pivotRow.y,width:this._pivotColumns.getWidth(),height:this.gridCellMouseOver.pivotRow.getDisplayHeight()}}else{if(this.cellsHighlightMode=="CELLS_HIGHLIGHT_SINGLE_CELL"){f={x:this.gridCellMouseOver.pivotColumn.x,y:this.gridCellMouseOver.pivotRow.y,width:this._pivotColumns.getWidth(),height:this.gridCellMouseOver.pivotRow.getDisplayHeight()};if(this.isGroupingEnabled&&this.groupingColumns.length>0){if(this.gridCellMouseOver.pivotRow.items.length>0){f={x:0,y:0,width:0,height:0}}}if(this.gridCellMouseOver.pivotRow.RowDetailsVisible){f.height-=this.gridCellMouseOver.pivotRow.GetRowDetailsHeight()}}}}if(this._pivotColumns.isGroupingColumn(this.gridCellMouseOver.pivotColumn)||this._pivotRows.isOnRowDetails(this._currentPosition,this.gridCellMouseOver.pivotRow)){f={x:0,y:0,width:0,height:0}}}else{this.gridCellMouseOver=null}if(this.gridCellMouseOver!=null&&(this.gridCellMouseOver!=g||g.pivotRow!=this.gridCellMouseOver.pivotRow||g.pivotColumn!=this.gridCellMouseOver.pivotColumn)){if(this._isMouseLeftButtonDown&&!this._itemMenuButtonMouseOver){this._updateSelection();this._internalRefresh()}}},_handleMouseClick:function(f){var c={isOnItemButton:false};var g=this._itemHitTest(this._currentPosition,c);if(g!=null){var d=this._raisePivotItemMouseEvent(g,"pivotitemclick",(f.button==0)?"left":"right");if(d){f.cancel=true;return}if(this._itemMenuButtonMouseOver||this._isContextMenuOpen){return}if(this._isMouseLeftButtonDown&&!c.isOnItemButton&&g.sortMode=="Automatic"&&g.valueItems.length==0){var e=this.cursor;this.cursor="Wait";this.cursor=e}}else{var b=this._pivotCells._hitTest(this._currentPosition);if(b){var d=this._raisePivotCellMouseEvent(b.pivotRow,b.pivotColumn,"pivotcellclick",(f.button==0)?"left":"right");if(d){f.cancel=true;return}}}},_handleMouseDoubleClick:function(g){if(this.activeEditor.Editor!=null){var d=null;if(false==this.hideEditor("MOUSE_DBLCLICK",d,true)){return}}if(this._itemMenuButtonMouseOver||this._isContextMenuOpen){return}var c={isOnItemButton:false};var f=this._itemHitTest(this._currentPosition,c);if(f!=null){if(c.isOnMenuButton){return}var e=this._raisePivotItemMouseEvent(f,"pivotitemdblclick",(g.button==0)?"left":"right");if(e){return}if(this._lastToggle&&this._lastToggle.item==f&&(new Date()-this._lastToggle.time)<500){return}if(g.button==0){if(f.isExpanded){f.collapse()}else{f.expand()}f.hierarchy.selectItem(f);this._internalRefresh()}this._lastToggle={time:new Date(),item:f}}else{var b=this._pivotCells._hitTest(this._currentPosition);if(b){var e=this._raisePivotCellMouseEvent(b.pivotRow,b.pivotColumn,"pivotcelldblclick",(g.button==0)?"left":"right");if(e){return}}}this._refreshMouseCursor()},_isMouseCaptured:function(){return this._captured===true},_releaseMouseCapture:function(){this._captured=false},_captureMouse:function(){this._captured=true},_updateCursor:function(b){if(b=="ARROW"){this.element.style.cursor="default"}else{if(b=="CROSS"){this.element.style.cursor="pointer"}else{if(b=="COLUMN_RESIZE"){this.element.style.cursor="col-resize"}else{if(b=="ROW_RESIZE"){this.element.style.cursor="row-resize"}}}}},_refreshMouseCursor:function(){},_ensureEditorFocus:function(){},focus:function(){},_itemHitTest:function(b,c){c.isOnItemButton=false;var g=null;if(!this._pivotRows.isHidden&&this.isInHierarchyViewPort(b,this._pivotRows)){g=this._pivotRows.hitTest(b)}if(g==null&&!this._pivotColumns.isHidden&&this.isInHierarchyViewPort(b,this._pivotColumns)){g=this._pivotColumns.hitTest(b)}if(g!=null){var f={x:this._currentPosition.x,y:this._currentPosition.y};f.x-=g.hierarchy.x-(g.hierarchy.viewPort.x-g.hierarchy.x);f.y-=g.hierarchy.y-(g.hierarchy.viewPort.y-g.hierarchy.y);if(g.items.length!=0&&g.expandCollapseEnabled!=false&&g.hierarchy.showExpandCollapseButtons){var e=0;if(!g.hierarchy.isColumnsHierarchy&&g.hierarchy.compactSt