From 02afd8a32edb13ea7fc2266ac80092ea15c0930c Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Wed, 9 Oct 2013 15:52:53 +0800 Subject: * treat 'apps/utils' as regular django app; which used to store general tools for used in other apps * moved 'templatetags' from 'apps/indicator' to 'apps/utils' * '.gitignore' to ignore 'fixtures_bak' * moved js plugins from 'apps/indicator/static/plugins' to 'staticfiles/plugins' apps/recommend: * updated 'recommend.models'; o commented 'recommend.models.ResearchCombination' (not used) * implemented views 'add_edit_blog_info' and 'ajax_add_edit_configs'; * added pages 'templates/recommend/add_edit_blog_info.html', 'add_edit_blog_info_error.html'; o related css and javascripts files * added 'tools.py'; * added 'utils/tools.py' for placing generic functions; * deleted 'initial_data.json' (mv 'fixtures' to 'fixtures_bak'); * small fixes to 'indicator.models', 'sciblog.models' and 'sfaccount.views' * fixed automatically show 'proper_nouns' annotation in blog: recovered the line 'import signals' in 'sciblog.models' * added 'is_ok()' method for 'recommend.models.ResearchConfig'; --- 97suifangqa/.gitignore | 2 + 97suifangqa/apps/indicator/models.py | 50 +- .../static/plugins/datepicker/datepicker.css | 383 - .../static/plugins/datepicker/datepicker.js | 5257 ------- .../static/plugins/datepicker/images/calendar.gif | Bin 269 -> 0 bytes .../static/plugins/datepicker/images/calendar.png | Bin 261 -> 0 bytes .../images/ui-bg_glass_100_f6f6f6_1x400.png | Bin 104 -> 0 bytes .../images/ui-bg_glass_100_fdf5ce_1x400.png | Bin 125 -> 0 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 105 -> 0 bytes .../images/ui-bg_gloss-wave_35_f6a828_500x100.png | Bin 3762 -> 0 bytes .../ui-bg_highlight-soft_100_eeeeee_1x100.png | Bin 90 -> 0 bytes .../ui-bg_highlight-soft_75_ffe45c_1x100.png | Bin 129 -> 0 bytes .../datepicker/images/ui-icons_ef8c08_256x240.png | Bin 4369 -> 0 bytes .../datepicker/images/ui-icons_ffffff_256x240.png | Bin 4369 -> 0 bytes .../static/plugins/datepicker/language-zh-CN.js | 23 - .../static/plugins/highcharts/highcharts-more.js | 50 - .../static/plugins/highcharts/highcharts.js | 277 - .../indicator/static/plugins/jquery-ui/AUTHORS.txt | 245 - .../static/plugins/jquery-ui/Gruntfile.js | 378 - .../indicator/static/plugins/jquery-ui/MANIFEST | 732 - .../static/plugins/jquery-ui/MIT-LICENSE.txt | 26 - .../indicator/static/plugins/jquery-ui/README.md | 99 - .../jquery-ui/demos/accordion/collapsible.html | 50 - .../jquery-ui/demos/accordion/custom-icons.html | 64 - .../plugins/jquery-ui/demos/accordion/default.html | 80 - .../jquery-ui/demos/accordion/fillspace.html | 72 - .../jquery-ui/demos/accordion/hoverintent.html | 148 - .../plugins/jquery-ui/demos/accordion/index.html | 20 - .../jquery-ui/demos/accordion/no-auto-height.html | 50 - .../jquery-ui/demos/accordion/sortable.html | 74 - .../plugins/jquery-ui/demos/addClass/default.html | 45 - .../plugins/jquery-ui/demos/addClass/index.html | 14 - .../plugins/jquery-ui/demos/animate/default.html | 55 - .../plugins/jquery-ui/demos/animate/index.html | 14 - .../jquery-ui/demos/autocomplete/categories.html | 67 - .../jquery-ui/demos/autocomplete/combobox.html | 213 - .../jquery-ui/demos/autocomplete/custom-data.html | 90 - .../jquery-ui/demos/autocomplete/default.html | 58 - .../jquery-ui/demos/autocomplete/folding.html | 56 - .../demos/autocomplete/images/jquery_32x32.png | Bin 1417 -> 0 bytes .../demos/autocomplete/images/jqueryui_32x32.png | Bin 1193 -> 0 bytes .../demos/autocomplete/images/sizzlejs_32x32.png | Bin 999 -> 0 bytes .../demos/autocomplete/images/transparent_1x1.png | Bin 95 -> 0 bytes .../autocomplete/images/ui-anim_basic_16x16.gif | Bin 1459 -> 0 bytes .../jquery-ui/demos/autocomplete/index.html | 25 - .../jquery-ui/demos/autocomplete/london.xml | 114 - .../jquery-ui/demos/autocomplete/maxheight.html | 71 - .../demos/autocomplete/multiple-remote.html | 80 - .../jquery-ui/demos/autocomplete/multiple.html | 93 - .../jquery-ui/demos/autocomplete/remote-jsonp.html | 82 - .../demos/autocomplete/remote-with-cache.html | 52 - .../jquery-ui/demos/autocomplete/remote.html | 55 - .../jquery-ui/demos/autocomplete/search.php | 590 - .../plugins/jquery-ui/demos/autocomplete/xml.html | 66 - .../plugins/jquery-ui/demos/button/checkbox.html | 37 - .../plugins/jquery-ui/demos/button/default.html | 34 - .../plugins/jquery-ui/demos/button/icons.html | 49 - .../plugins/jquery-ui/demos/button/index.html | 19 - .../plugins/jquery-ui/demos/button/radio.html | 32 - .../jquery-ui/demos/button/splitbutton.html | 69 - .../plugins/jquery-ui/demos/button/toolbar.html | 118 - .../jquery-ui/demos/datepicker/alt-field.html | 29 - .../jquery-ui/demos/datepicker/animation.html | 51 - .../jquery-ui/demos/datepicker/buttonbar.html | 28 - .../jquery-ui/demos/datepicker/date-formats.html | 40 - .../jquery-ui/demos/datepicker/date-range.html | 44 - .../jquery-ui/demos/datepicker/default.html | 26 - .../demos/datepicker/dropdown-month-year.html | 29 - .../jquery-ui/demos/datepicker/icon-trigger.html | 30 - .../jquery-ui/demos/datepicker/images/calendar.gif | Bin 269 -> 0 bytes .../plugins/jquery-ui/demos/datepicker/index.html | 27 - .../plugins/jquery-ui/demos/datepicker/inline.html | 26 - .../demos/datepicker/jquery.ui.datepicker-ar.js | 23 - .../demos/datepicker/jquery.ui.datepicker-fr.js | 25 - .../demos/datepicker/jquery.ui.datepicker-he.js | 23 - .../demos/datepicker/jquery.ui.datepicker-zh-TW.js | 23 - .../jquery-ui/demos/datepicker/localization.html | 41 - .../jquery-ui/demos/datepicker/min-max.html | 26 - .../demos/datepicker/multiple-calendars.html | 29 - .../jquery-ui/demos/datepicker/other-months.html | 30 - .../jquery-ui/demos/datepicker/show-week.html | 32 - .../static/plugins/jquery-ui/demos/demos.css | 19 - .../plugins/jquery-ui/demos/dialog/animated.html | 52 - .../plugins/jquery-ui/demos/dialog/default.html | 33 - .../plugins/jquery-ui/demos/dialog/index.html | 19 - .../jquery-ui/demos/dialog/modal-confirmation.html | 47 - .../plugins/jquery-ui/demos/dialog/modal-form.html | 157 - .../jquery-ui/demos/dialog/modal-message.html | 49 - .../plugins/jquery-ui/demos/dialog/modal.html | 38 - .../demos/draggable/constrain-movement.html | 58 - .../jquery-ui/demos/draggable/cursor-style.html | 42 - .../plugins/jquery-ui/demos/draggable/default.html | 32 - .../jquery-ui/demos/draggable/delay-start.html | 38 - .../plugins/jquery-ui/demos/draggable/events.html | 70 - .../plugins/jquery-ui/demos/draggable/handle.html | 41 - .../plugins/jquery-ui/demos/draggable/index.html | 24 - .../plugins/jquery-ui/demos/draggable/revert.html | 37 - .../plugins/jquery-ui/demos/draggable/scroll.html | 44 - .../plugins/jquery-ui/demos/draggable/snap-to.html | 61 - .../jquery-ui/demos/draggable/sortable.html | 50 - .../jquery-ui/demos/draggable/visual-feedback.html | 70 - .../demos/droppable/accepted-elements.html | 53 - .../plugins/jquery-ui/demos/droppable/default.html | 46 - .../demos/droppable/images/high_tatras.jpg | Bin 22994 -> 0 bytes .../demos/droppable/images/high_tatras2.jpg | Bin 25619 -> 0 bytes .../demos/droppable/images/high_tatras2_min.jpg | Bin 2164 -> 0 bytes .../demos/droppable/images/high_tatras3.jpg | Bin 24583 -> 0 bytes .../demos/droppable/images/high_tatras3_min.jpg | Bin 1901 -> 0 bytes .../demos/droppable/images/high_tatras4.jpg | Bin 24870 -> 0 bytes .../demos/droppable/images/high_tatras4_min.jpg | Bin 2541 -> 0 bytes .../demos/droppable/images/high_tatras_min.jpg | Bin 2147 -> 0 bytes .../plugins/jquery-ui/demos/droppable/index.html | 20 - .../jquery-ui/demos/droppable/photo-manager.html | 182 - .../jquery-ui/demos/droppable/propagation.html | 73 - .../plugins/jquery-ui/demos/droppable/revert.html | 54 - .../jquery-ui/demos/droppable/shopping-cart.html | 94 - .../jquery-ui/demos/droppable/visual-feedback.html | 72 - .../plugins/jquery-ui/demos/effect/default.html | 102 - .../plugins/jquery-ui/demos/effect/easing.html | 102 - .../plugins/jquery-ui/demos/effect/index.html | 15 - .../plugins/jquery-ui/demos/hide/default.html | 95 - .../static/plugins/jquery-ui/demos/hide/index.html | 14 - .../plugins/jquery-ui/demos/images/calendar.gif | Bin 269 -> 0 bytes .../jquery-ui/demos/images/demo-config-on-tile.gif | Bin 172 -> 0 bytes .../jquery-ui/demos/images/demo-config-on.gif | Bin 335 -> 0 bytes .../demos/images/demo-spindown-closed.gif | Bin 103 -> 0 bytes .../jquery-ui/demos/images/demo-spindown-open.gif | Bin 105 -> 0 bytes .../jquery-ui/demos/images/icon-docs-info.gif | Bin 206 -> 0 bytes .../plugins/jquery-ui/demos/images/pbar-ani.gif | Bin 7970 -> 0 bytes .../static/plugins/jquery-ui/demos/index.html | 40 - .../plugins/jquery-ui/demos/menu/default.html | 67 - .../static/plugins/jquery-ui/demos/menu/icons.html | 44 - .../static/plugins/jquery-ui/demos/menu/index.html | 15 - .../plugins/jquery-ui/demos/position/cycler.html | 107 - .../plugins/jquery-ui/demos/position/default.html | 137 - .../jquery-ui/demos/position/images/earth.jpg | Bin 29850 -> 0 bytes .../jquery-ui/demos/position/images/flight.jpg | Bin 33637 -> 0 bytes .../jquery-ui/demos/position/images/rocket.jpg | Bin 32986 -> 0 bytes .../plugins/jquery-ui/demos/position/index.html | 15 - .../jquery-ui/demos/progressbar/default.html | 28 - .../demos/progressbar/images/pbar-ani.gif | Bin 7970 -> 0 bytes .../jquery-ui/demos/progressbar/indeterminate.html | 53 - .../plugins/jquery-ui/demos/progressbar/index.html | 16 - .../plugins/jquery-ui/demos/progressbar/label.html | 61 - .../jquery-ui/demos/removeClass/default.html | 45 - .../plugins/jquery-ui/demos/removeClass/index.html | 14 - .../plugins/jquery-ui/demos/resizable/animate.html | 36 - .../jquery-ui/demos/resizable/aspect-ratio.html | 35 - .../jquery-ui/demos/resizable/constrain-area.html | 40 - .../plugins/jquery-ui/demos/resizable/default.html | 33 - .../jquery-ui/demos/resizable/delay-start.html | 45 - .../plugins/jquery-ui/demos/resizable/helper.html | 36 - .../plugins/jquery-ui/demos/resizable/index.html | 24 - .../plugins/jquery-ui/demos/resizable/max-min.html | 38 - .../jquery-ui/demos/resizable/snap-to-grid.html | 35 - .../demos/resizable/synchronous-resize.html | 42 - .../jquery-ui/demos/resizable/textarea.html | 34 - .../jquery-ui/demos/resizable/visual-feedback.html | 36 - .../jquery-ui/demos/selectable/default.html | 43 - .../jquery-ui/demos/selectable/display-grid.html | 48 - .../plugins/jquery-ui/demos/selectable/index.html | 16 - .../jquery-ui/demos/selectable/serialize.html | 54 - .../plugins/jquery-ui/demos/show/default.html | 97 - .../static/plugins/jquery-ui/demos/show/index.html | 14 - .../jquery-ui/demos/slider/colorpicker.html | 87 - .../plugins/jquery-ui/demos/slider/default.html | 27 - .../plugins/jquery-ui/demos/slider/hotelrooms.html | 49 - .../plugins/jquery-ui/demos/slider/index.html | 24 - .../jquery-ui/demos/slider/multiple-vertical.html | 69 - .../jquery-ui/demos/slider/range-vertical.html | 41 - .../plugins/jquery-ui/demos/slider/range.html | 42 - .../plugins/jquery-ui/demos/slider/rangemax.html | 40 - .../plugins/jquery-ui/demos/slider/rangemin.html | 41 - .../jquery-ui/demos/slider/side-scroll.html | 131 - .../jquery-ui/demos/slider/slider-vertical.html | 42 - .../plugins/jquery-ui/demos/slider/steps.html | 41 - .../demos/sortable/connect-lists-through-tabs.html | 72 - .../jquery-ui/demos/sortable/connect-lists.html | 52 - .../plugins/jquery-ui/demos/sortable/default.html | 45 - .../jquery-ui/demos/sortable/delay-start.html | 61 - .../jquery-ui/demos/sortable/display-grid.html | 48 - .../jquery-ui/demos/sortable/empty-lists.html | 63 - .../plugins/jquery-ui/demos/sortable/index.html | 22 - .../plugins/jquery-ui/demos/sortable/items.html | 64 - .../jquery-ui/demos/sortable/placeholder.html | 50 - .../plugins/jquery-ui/demos/sortable/portlets.html | 91 - .../plugins/jquery-ui/demos/spinner/currency.html | 52 - .../plugins/jquery-ui/demos/spinner/decimal.html | 56 - .../plugins/jquery-ui/demos/spinner/default.html | 64 - .../plugins/jquery-ui/demos/spinner/index.html | 19 - .../plugins/jquery-ui/demos/spinner/latlong.html | 57 - .../plugins/jquery-ui/demos/spinner/overflow.html | 44 - .../plugins/jquery-ui/demos/spinner/time.html | 74 - .../jquery-ui/demos/switchClass/default.html | 40 - .../plugins/jquery-ui/demos/switchClass/index.html | 14 - .../static/plugins/jquery-ui/demos/tabs/ajax.html | 46 - .../jquery-ui/demos/tabs/ajax/content1.html | 4 - .../jquery-ui/demos/tabs/ajax/content2.html | 4 - .../jquery-ui/demos/tabs/ajax/content3-slow.php | 7 - .../jquery-ui/demos/tabs/ajax/content4-broken.php | 3 - .../plugins/jquery-ui/demos/tabs/bottom.html | 58 - .../plugins/jquery-ui/demos/tabs/collapsible.html | 48 - .../plugins/jquery-ui/demos/tabs/default.html | 42 - .../static/plugins/jquery-ui/demos/tabs/index.html | 20 - .../plugins/jquery-ui/demos/tabs/manipulation.html | 122 - .../plugins/jquery-ui/demos/tabs/mouseover.html | 44 - .../plugins/jquery-ui/demos/tabs/sortable.html | 51 - .../plugins/jquery-ui/demos/tabs/vertical.html | 54 - .../plugins/jquery-ui/demos/toggle/default.html | 103 - .../plugins/jquery-ui/demos/toggle/index.html | 14 - .../jquery-ui/demos/toggleClass/default.html | 39 - .../plugins/jquery-ui/demos/toggleClass/index.html | 14 - .../jquery-ui/demos/tooltip/ajax/content1.html | 1 - .../jquery-ui/demos/tooltip/ajax/content2.html | 1 - .../jquery-ui/demos/tooltip/custom-animation.html | 54 - .../jquery-ui/demos/tooltip/custom-content.html | 83 - .../jquery-ui/demos/tooltip/custom-style.html | 95 - .../plugins/jquery-ui/demos/tooltip/default.html | 40 - .../plugins/jquery-ui/demos/tooltip/forms.html | 65 - .../jquery-ui/demos/tooltip/images/st-stephens.jpg | Bin 17724 -> 0 bytes .../demos/tooltip/images/tower-bridge.jpg | Bin 15764 -> 0 bytes .../plugins/jquery-ui/demos/tooltip/index.html | 20 - .../plugins/jquery-ui/demos/tooltip/tracking.html | 42 - .../jquery-ui/demos/tooltip/video-player.html | 117 - .../plugins/jquery-ui/demos/widget/default.html | 178 - .../plugins/jquery-ui/demos/widget/index.html | 14 - .../jquery-ui/external/globalize.culture.de-DE.js | 81 - .../jquery-ui/external/globalize.culture.ja-JP.js | 100 - .../static/plugins/jquery-ui/external/globalize.js | 1573 -- .../jquery-ui/external/jquery.mousewheel.js | 101 - .../static/plugins/jquery-ui/external/jshint.js | 4835 ------ .../static/plugins/jquery-ui/external/qunit.css | 244 - .../static/plugins/jquery-ui/external/qunit.js | 2152 --- .../static/plugins/jquery-ui/jquery-1.9.1.js | 9597 ------------ .../static/plugins/jquery-ui/package.json | 70 - .../static/plugins/jquery-ui/tests/index.css | 21 - .../static/plugins/jquery-ui/tests/index.html | 33 - .../static/plugins/jquery-ui/tests/index.js | 10 - .../static/plugins/jquery-ui/tests/jquery-1.6.1.js | 8936 ----------- .../static/plugins/jquery-ui/tests/jquery-1.6.2.js | 8981 ----------- .../static/plugins/jquery-ui/tests/jquery-1.6.3.js | 9044 ----------- .../static/plugins/jquery-ui/tests/jquery-1.6.4.js | 9046 ----------- .../static/plugins/jquery-ui/tests/jquery-1.6.js | 8865 ----------- .../static/plugins/jquery-ui/tests/jquery-1.7.1.js | 9266 ------------ .../static/plugins/jquery-ui/tests/jquery-1.7.2.js | 9404 ------------ .../static/plugins/jquery-ui/tests/jquery-1.7.js | 9300 ------------ .../static/plugins/jquery-ui/tests/jquery-1.8.0.js | 9227 ------------ .../static/plugins/jquery-ui/tests/jquery-1.8.1.js | 9301 ------------ .../static/plugins/jquery-ui/tests/jquery-1.8.2.js | 9440 ------------ .../static/plugins/jquery-ui/tests/jquery-1.8.3.js | 9472 ------------ .../static/plugins/jquery-ui/tests/jquery-1.9.0.js | 9555 ------------ .../static/plugins/jquery-ui/tests/jquery-1.9.1.js | 9597 ------------ .../static/plugins/jquery-ui/tests/jquery.js | 26 - .../plugins/jquery-ui/tests/jquery.simulate.js | 324 - .../jquery-ui/tests/unit/accordion/accordion.html | 143 - .../tests/unit/accordion/accordion_common.js | 20 - .../tests/unit/accordion/accordion_core.js | 117 - .../tests/unit/accordion/accordion_events.js | 169 - .../tests/unit/accordion/accordion_methods.js | 126 - .../tests/unit/accordion/accordion_options.js | 463 - .../tests/unit/accordion/accordion_test_helpers.js | 27 - .../jquery-ui/tests/unit/accordion/all.html | 30 - .../static/plugins/jquery-ui/tests/unit/all.html | 70 - .../jquery-ui/tests/unit/autocomplete/all.html | 30 - .../tests/unit/autocomplete/autocomplete.html | 49 - .../tests/unit/autocomplete/autocomplete_common.js | 29 - .../tests/unit/autocomplete/autocomplete_core.js | 242 - .../tests/unit/autocomplete/autocomplete_events.js | 182 - .../unit/autocomplete/autocomplete_methods.js | 45 - .../unit/autocomplete/autocomplete_options.js | 264 - .../autocomplete/remote_object_array_labels.txt | 1 - .../autocomplete/remote_object_array_values.txt | 1 - .../unit/autocomplete/remote_string_array.txt | 1 - .../plugins/jquery-ui/tests/unit/button/all.html | 30 - .../jquery-ui/tests/unit/button/button.html | 76 - .../jquery-ui/tests/unit/button/button_common.js | 14 - .../jquery-ui/tests/unit/button/button_core.js | 199 - .../jquery-ui/tests/unit/button/button_events.js | 36 - .../jquery-ui/tests/unit/button/button_methods.js | 52 - .../jquery-ui/tests/unit/button/button_options.js | 117 - .../plugins/jquery-ui/tests/unit/core/all.html | 30 - .../plugins/jquery-ui/tests/unit/core/core.html | 135 - .../plugins/jquery-ui/tests/unit/core/core.js | 185 - .../plugins/jquery-ui/tests/unit/core/selector.js | 251 - .../jquery-ui/tests/unit/datepicker/all.html | 30 - .../tests/unit/datepicker/datepicker.html | 48 - .../tests/unit/datepicker/datepicker_common.js | 7 - .../tests/unit/datepicker/datepicker_core.js | 463 - .../tests/unit/datepicker/datepicker_events.js | 153 - .../tests/unit/datepicker/datepicker_methods.js | 125 - .../tests/unit/datepicker/datepicker_options.js | 1111 -- .../unit/datepicker/datepicker_test_helpers.js | 33 - .../tests/unit/datepicker/images/calendar.gif | Bin 269 -> 0 bytes .../plugins/jquery-ui/tests/unit/dialog/all.html | 30 - .../jquery-ui/tests/unit/dialog/dialog.html | 69 - .../jquery-ui/tests/unit/dialog/dialog_common.js | 43 - .../jquery-ui/tests/unit/dialog/dialog_core.js | 163 - .../tests/unit/dialog/dialog_deprecated.html | 67 - .../tests/unit/dialog/dialog_deprecated.js | 63 - .../jquery-ui/tests/unit/dialog/dialog_events.js | 370 - .../jquery-ui/tests/unit/dialog/dialog_methods.js | 247 - .../jquery-ui/tests/unit/dialog/dialog_options.js | 584 - .../tests/unit/dialog/dialog_test_helpers.js | 44 - .../jquery-ui/tests/unit/draggable/all.html | 30 - .../jquery-ui/tests/unit/draggable/draggable.html | 58 - .../tests/unit/draggable/draggable_common.js | 40 - .../tests/unit/draggable/draggable_core.js | 167 - .../tests/unit/draggable/draggable_events.js | 125 - .../tests/unit/draggable/draggable_methods.js | 99 - .../tests/unit/draggable/draggable_options.js | 1404 -- .../tests/unit/draggable/draggable_test_helpers.js | 79 - .../jquery-ui/tests/unit/droppable/all.html | 30 - .../jquery-ui/tests/unit/droppable/droppable.html | 50 - .../tests/unit/droppable/droppable_common.js | 20 - .../tests/unit/droppable/droppable_core.js | 29 - .../tests/unit/droppable/droppable_events.js | 63 - .../tests/unit/droppable/droppable_methods.js | 88 - .../tests/unit/droppable/droppable_options.js | 67 - .../tests/unit/droppable/droppable_test_helpers.js | 10 - .../plugins/jquery-ui/tests/unit/effects/all.html | 30 - .../jquery-ui/tests/unit/effects/effects.html | 117 - .../jquery-ui/tests/unit/effects/effects_core.js | 274 - .../jquery-ui/tests/unit/effects/effects_scale.js | 68 - .../jquery-ui/tests/unit/images/jqueryui_32x32.png | Bin 1193 -> 0 bytes .../static/plugins/jquery-ui/tests/unit/index.html | 66 - .../plugins/jquery-ui/tests/unit/menu/all.html | 30 - .../plugins/jquery-ui/tests/unit/menu/menu.html | 269 - .../jquery-ui/tests/unit/menu/menu_common.js | 20 - .../plugins/jquery-ui/tests/unit/menu/menu_core.js | 30 - .../jquery-ui/tests/unit/menu/menu_events.js | 601 - .../jquery-ui/tests/unit/menu/menu_methods.js | 104 - .../jquery-ui/tests/unit/menu/menu_options.js | 115 - .../jquery-ui/tests/unit/menu/menu_test_helpers.js | 31 - .../plugins/jquery-ui/tests/unit/position/all.html | 30 - .../jquery-ui/tests/unit/position/position.html | 53 - .../jquery-ui/tests/unit/position/position_core.js | 722 - .../jquery-ui/tests/unit/progressbar/all.html | 30 - .../tests/unit/progressbar/progressbar.html | 44 - .../tests/unit/progressbar/progressbar_common.js | 12 - .../tests/unit/progressbar/progressbar_core.js | 53 - .../tests/unit/progressbar/progressbar_events.js | 51 - .../tests/unit/progressbar/progressbar_methods.js | 25 - .../tests/unit/progressbar/progressbar_options.js | 72 - .../jquery-ui/tests/unit/qunit-composite.css | 13 - .../jquery-ui/tests/unit/qunit-composite.js | 112 - .../jquery-ui/tests/unit/resizable/all.html | 30 - .../jquery-ui/tests/unit/resizable/images/test.jpg | Bin 391 -> 0 bytes .../jquery-ui/tests/unit/resizable/resizable.html | 65 - .../tests/unit/resizable/resizable_common.js | 30 - .../tests/unit/resizable/resizable_core.js | 194 - .../tests/unit/resizable/resizable_events.js | 173 - .../tests/unit/resizable/resizable_methods.js | 12 - .../tests/unit/resizable/resizable_options.js | 268 - .../tests/unit/resizable/resizable_test_helpers.js | 11 - .../jquery-ui/tests/unit/selectable/all.html | 30 - .../tests/unit/selectable/selectable.html | 51 - .../tests/unit/selectable/selectable_common.js | 21 - .../tests/unit/selectable/selectable_core.js | 3 - .../tests/unit/selectable/selectable_events.js | 69 - .../tests/unit/selectable/selectable_methods.js | 104 - .../tests/unit/selectable/selectable_options.js | 65 - .../plugins/jquery-ui/tests/unit/slider/all.html | 30 - .../jquery-ui/tests/unit/slider/slider.html | 48 - .../jquery-ui/tests/unit/slider/slider_common.js | 23 - .../jquery-ui/tests/unit/slider/slider_core.js | 300 - .../jquery-ui/tests/unit/slider/slider_events.js | 155 - .../jquery-ui/tests/unit/slider/slider_methods.js | 99 - .../jquery-ui/tests/unit/slider/slider_options.js | 305 - .../plugins/jquery-ui/tests/unit/sortable/all.html | 30 - .../jquery-ui/tests/unit/sortable/sortable.html | 99 - .../tests/unit/sortable/sortable_common.js | 45 - .../jquery-ui/tests/unit/sortable/sortable_core.js | 3 - .../tests/unit/sortable/sortable_events.js | 275 - .../tests/unit/sortable/sortable_methods.js | 92 - .../tests/unit/sortable/sortable_options.js | 460 - .../tests/unit/sortable/sortable_test_helpers.js | 9 - .../plugins/jquery-ui/tests/unit/spinner/all.html | 30 - .../jquery-ui/tests/unit/spinner/spinner.html | 50 - .../jquery-ui/tests/unit/spinner/spinner_common.js | 23 - .../jquery-ui/tests/unit/spinner/spinner_core.js | 238 - .../jquery-ui/tests/unit/spinner/spinner_events.js | 259 - .../tests/unit/spinner/spinner_methods.js | 174 - .../tests/unit/spinner/spinner_options.js | 262 - .../tests/unit/spinner/spinner_test_helpers.js | 8 - .../plugins/jquery-ui/tests/unit/subsuite.js | 24 - .../plugins/jquery-ui/tests/unit/swarminject.js | 10 - .../plugins/jquery-ui/tests/unit/tabs/all.html | 30 - .../jquery-ui/tests/unit/tabs/data/test.html | 1 - .../plugins/jquery-ui/tests/unit/tabs/tabs.html | 155 - .../jquery-ui/tests/unit/tabs/tabs_common.js | 18 - .../plugins/jquery-ui/tests/unit/tabs/tabs_core.js | 615 - .../jquery-ui/tests/unit/tabs/tabs_events.js | 318 - .../jquery-ui/tests/unit/tabs/tabs_methods.js | 270 - .../jquery-ui/tests/unit/tabs/tabs_options.js | 345 - .../jquery-ui/tests/unit/tabs/tabs_test_helpers.js | 67 - .../plugins/jquery-ui/tests/unit/testsuite.js | 298 - .../plugins/jquery-ui/tests/unit/tooltip/all.html | 30 - .../jquery-ui/tests/unit/tooltip/tooltip.html | 55 - .../jquery-ui/tests/unit/tooltip/tooltip_common.js | 21 - .../jquery-ui/tests/unit/tooltip/tooltip_core.js | 137 - .../jquery-ui/tests/unit/tooltip/tooltip_events.js | 57 - .../tests/unit/tooltip/tooltip_methods.js | 94 - .../tests/unit/tooltip/tooltip_options.js | 171 - .../plugins/jquery-ui/tests/unit/widget/all.html | 30 - .../jquery-ui/tests/unit/widget/widget.html | 44 - .../tests/unit/widget/widget_animation.js | 257 - .../jquery-ui/tests/unit/widget/widget_core.js | 1438 -- .../jquery-ui/tests/unit/widget/widget_extend.js | 105 - .../jquery-ui/tests/visual/accordion/icons.html | 95 - .../jquery-ui/tests/visual/addClass/queue.html | 52 - .../jquery-ui/tests/visual/button/button.html | 94 - .../jquery-ui/tests/visual/button/performance.html | 26 - .../tests/visual/compound/accordion_tabs.html | 86 - .../tests/visual/compound/datepicker_dialog.html | 31 - .../tests/visual/compound/dialog_widgets.html | 101 - .../tests/visual/compound/draggable_accordion.html | 65 - ...aggable_accordion_accordion_tabs_draggable.html | 107 - .../compound/sortable_accordion_sortable_tabs.html | 116 - .../jquery-ui/tests/visual/compound/tabs_tabs.html | 73 - .../tests/visual/compound/tabs_tooltips.html | 37 - .../jquery-ui/tests/visual/dialog/animated.html | 53 - .../tests/visual/dialog/complex-dialogs.html | 125 - .../jquery-ui/tests/visual/dialog/form.html | 70 - .../jquery-ui/tests/visual/dialog/performance.html | 73 - .../jquery-ui/tests/visual/effects/all.html | 217 - .../jquery-ui/tests/visual/effects/effects.css | 49 - .../jquery-ui/tests/visual/effects/effects.js | 107 - .../jquery-ui/tests/visual/effects/scale.html | 157 - .../plugins/jquery-ui/tests/visual/index.html | 82 - .../plugins/jquery-ui/tests/visual/menu/menu.html | 314 - .../jquery-ui/tests/visual/position/position.html | 143 - .../tests/visual/position/position_feedback.html | 145 - .../plugins/jquery-ui/tests/visual/theme.html | 532 - .../jquery-ui/tests/visual/tooltip/animations.html | 73 - .../jquery-ui/tests/visual/tooltip/tooltip.html | 206 - .../plugins/jquery-ui/tests/visual/visual.css | 3 - .../jquery-ui/themes/97suifang/images/calendar.gif | Bin 269 -> 0 bytes .../jquery-ui/themes/97suifang/images/calendar.png | Bin 261 -> 0 bytes .../images/ui-bg_glass_100_f6f6f6_1x400.png | Bin 104 -> 0 bytes .../images/ui-bg_glass_100_fdf5ce_1x400.png | Bin 125 -> 0 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 105 -> 0 bytes .../images/ui-bg_gloss-wave_35_f6a828_500x100.png | Bin 3762 -> 0 bytes .../ui-bg_highlight-soft_100_eeeeee_1x100.png | Bin 90 -> 0 bytes .../ui-bg_highlight-soft_75_ffe45c_1x100.png | Bin 129 -> 0 bytes .../97suifang/images/ui-icons_ef8c08_256x240.png | Bin 4369 -> 0 bytes .../97suifang/images/ui-icons_ffffff_256x240.png | Bin 4369 -> 0 bytes .../jquery-ui/themes/97suifang/jquery-ui.css | 383 - .../themes/base/images/animated-overlay.gif | Bin 1738 -> 0 bytes .../base/images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 180 -> 0 bytes .../base/images/ui-bg_flat_75_ffffff_40x100.png | Bin 178 -> 0 bytes .../base/images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 120 -> 0 bytes .../base/images/ui-bg_glass_65_ffffff_1x400.png | Bin 105 -> 0 bytes .../base/images/ui-bg_glass_75_dadada_1x400.png | Bin 111 -> 0 bytes .../base/images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 110 -> 0 bytes .../base/images/ui-bg_glass_95_fef1ec_1x400.png | Bin 119 -> 0 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 101 -> 0 bytes .../themes/base/images/ui-icons_222222_256x240.png | Bin 4369 -> 0 bytes .../themes/base/images/ui-icons_2e83ff_256x240.png | Bin 4369 -> 0 bytes .../themes/base/images/ui-icons_454545_256x240.png | Bin 4369 -> 0 bytes .../themes/base/images/ui-icons_888888_256x240.png | Bin 4369 -> 0 bytes .../themes/base/images/ui-icons_cd0a0a_256x240.png | Bin 4369 -> 0 bytes .../plugins/jquery-ui/themes/base/jquery-ui.css | 1188 -- .../jquery-ui/themes/base/jquery.ui.accordion.css | 38 - .../jquery-ui/themes/base/jquery.ui.all.css | 12 - .../themes/base/jquery.ui.autocomplete.css | 16 - .../jquery-ui/themes/base/jquery.ui.base.css | 25 - .../jquery-ui/themes/base/jquery.ui.button.css | 114 - .../jquery-ui/themes/base/jquery.ui.core.css | 93 - .../jquery-ui/themes/base/jquery.ui.datepicker.css | 178 - .../jquery-ui/themes/base/jquery.ui.dialog.css | 69 - .../jquery-ui/themes/base/jquery.ui.menu.css | 79 - .../themes/base/jquery.ui.progressbar.css | 28 - .../jquery-ui/themes/base/jquery.ui.resizable.css | 78 - .../jquery-ui/themes/base/jquery.ui.selectable.css | 15 - .../jquery-ui/themes/base/jquery.ui.slider.css | 73 - .../jquery-ui/themes/base/jquery.ui.spinner.css | 65 - .../jquery-ui/themes/base/jquery.ui.tabs.css | 52 - .../jquery-ui/themes/base/jquery.ui.theme.css | 406 - .../jquery-ui/themes/base/jquery.ui.tooltip.css | 19 - .../base/minified/images/animated-overlay.gif | Bin 1738 -> 0 bytes .../minified/images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 180 -> 0 bytes .../images/ui-bg_flat_75_ffffff_40x100.png | Bin 178 -> 0 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 120 -> 0 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 105 -> 0 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 111 -> 0 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 110 -> 0 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 119 -> 0 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 101 -> 0 bytes .../minified/images/ui-icons_222222_256x240.png | Bin 4369 -> 0 bytes .../minified/images/ui-icons_2e83ff_256x240.png | Bin 4369 -> 0 bytes .../minified/images/ui-icons_454545_256x240.png | Bin 4369 -> 0 bytes .../minified/images/ui-icons_888888_256x240.png | Bin 4369 -> 0 bytes .../minified/images/ui-icons_cd0a0a_256x240.png | Bin 4369 -> 0 bytes .../themes/base/minified/jquery-ui.min.css | 4 - .../base/minified/jquery.ui.accordion.min.css | 5 - .../base/minified/jquery.ui.autocomplete.min.css | 5 - .../themes/base/minified/jquery.ui.button.min.css | 5 - .../themes/base/minified/jquery.ui.core.min.css | 5 - .../base/minified/jquery.ui.datepicker.min.css | 5 - .../themes/base/minified/jquery.ui.dialog.min.css | 5 - .../themes/base/minified/jquery.ui.menu.min.css | 5 - .../base/minified/jquery.ui.progressbar.min.css | 5 - .../base/minified/jquery.ui.resizable.min.css | 5 - .../base/minified/jquery.ui.selectable.min.css | 5 - .../themes/base/minified/jquery.ui.slider.min.css | 5 - .../themes/base/minified/jquery.ui.spinner.min.css | 5 - .../themes/base/minified/jquery.ui.tabs.min.css | 5 - .../themes/base/minified/jquery.ui.theme.min.css | 5 - .../themes/base/minified/jquery.ui.tooltip.min.css | 5 - .../themes/smoothness/images/animated-overlay.gif | Bin 1738 -> 0 bytes .../images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 212 -> 0 bytes .../images/ui-bg_flat_75_ffffff_40x100.png | Bin 208 -> 0 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 335 -> 0 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 207 -> 0 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 262 -> 0 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 262 -> 0 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 332 -> 0 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 280 -> 0 bytes .../smoothness/images/ui-icons_222222_256x240.png | Bin 6922 -> 0 bytes .../smoothness/images/ui-icons_2e83ff_256x240.png | Bin 4549 -> 0 bytes .../smoothness/images/ui-icons_454545_256x240.png | Bin 6992 -> 0 bytes .../smoothness/images/ui-icons_888888_256x240.png | Bin 6999 -> 0 bytes .../smoothness/images/ui-icons_cd0a0a_256x240.png | Bin 4549 -> 0 bytes .../jquery-ui/themes/smoothness/jquery-ui.css | 1177 -- .../jquery-ui/themes/smoothness/jquery-ui.min.css | 5 - .../themes/smoothness/jquery.ui.theme.css | 406 - .../ui-lightness/images/animated-overlay.gif | Bin 1738 -> 0 bytes .../ui-bg_diagonals-thick_18_b81900_40x40.png | Bin 418 -> 0 bytes .../ui-bg_diagonals-thick_20_666666_40x40.png | Bin 312 -> 0 bytes .../images/ui-bg_flat_10_000000_40x100.png | Bin 205 -> 0 bytes .../images/ui-bg_glass_100_f6f6f6_1x400.png | Bin 262 -> 0 bytes .../images/ui-bg_glass_100_fdf5ce_1x400.png | Bin 348 -> 0 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 207 -> 0 bytes .../images/ui-bg_gloss-wave_35_f6a828_500x100.png | Bin 5815 -> 0 bytes .../ui-bg_highlight-soft_100_eeeeee_1x100.png | Bin 278 -> 0 bytes .../ui-bg_highlight-soft_75_ffe45c_1x100.png | Bin 328 -> 0 bytes .../images/ui-icons_222222_256x240.png | Bin 6922 -> 0 bytes .../images/ui-icons_228ef1_256x240.png | Bin 4549 -> 0 bytes .../images/ui-icons_ef8c08_256x240.png | Bin 4549 -> 0 bytes .../images/ui-icons_ffd27a_256x240.png | Bin 4549 -> 0 bytes .../images/ui-icons_ffffff_256x240.png | Bin 6299 -> 0 bytes .../jquery-ui/themes/ui-lightness/jquery-ui.css | 1177 -- .../themes/ui-lightness/jquery-ui.min.css | 5 - .../themes/ui-lightness/jquery.ui.theme.css | 406 - .../plugins/jquery-ui/ui.accordion.jquery.json | 67 - .../plugins/jquery-ui/ui.autocomplete.jquery.json | 69 - .../static/plugins/jquery-ui/ui.button.jquery.json | 66 - .../static/plugins/jquery-ui/ui.core.jquery.json | 61 - .../plugins/jquery-ui/ui.datepicker.jquery.json | 66 - .../static/plugins/jquery-ui/ui.dialog.jquery.json | 70 - .../plugins/jquery-ui/ui.draggable.jquery.json | 66 - .../plugins/jquery-ui/ui.droppable.jquery.json | 67 - .../plugins/jquery-ui/ui.effect-blind.jquery.json | 65 - .../plugins/jquery-ui/ui.effect-bounce.jquery.json | 65 - .../plugins/jquery-ui/ui.effect-clip.jquery.json | 65 - .../plugins/jquery-ui/ui.effect-drop.jquery.json | 65 - .../jquery-ui/ui.effect-explode.jquery.json | 65 - .../plugins/jquery-ui/ui.effect-fade.jquery.json | 65 - .../plugins/jquery-ui/ui.effect-fold.jquery.json | 65 - .../jquery-ui/ui.effect-highlight.jquery.json | 65 - .../jquery-ui/ui.effect-pulsate.jquery.json | 65 - .../plugins/jquery-ui/ui.effect-scale.jquery.json | 65 - .../plugins/jquery-ui/ui.effect-shake.jquery.json | 65 - .../plugins/jquery-ui/ui.effect-slide.jquery.json | 65 - .../jquery-ui/ui.effect-transfer.jquery.json | 63 - .../static/plugins/jquery-ui/ui.effect.jquery.json | 68 - .../static/plugins/jquery-ui/ui.menu.jquery.json | 66 - .../static/plugins/jquery-ui/ui.mouse.jquery.json | 64 - .../plugins/jquery-ui/ui.position.jquery.json | 66 - .../plugins/jquery-ui/ui.progressbar.jquery.json | 65 - .../plugins/jquery-ui/ui.resizable.jquery.json | 65 - .../plugins/jquery-ui/ui.selectable.jquery.json | 65 - .../static/plugins/jquery-ui/ui.slider.jquery.json | 67 - .../plugins/jquery-ui/ui.sortable.jquery.json | 66 - .../plugins/jquery-ui/ui.spinner.jquery.json | 68 - .../static/plugins/jquery-ui/ui.tabs.jquery.json | 67 - .../plugins/jquery-ui/ui.tooltip.jquery.json | 64 - .../static/plugins/jquery-ui/ui.widget.jquery.json | 64 - .../static/plugins/jquery-ui/ui/.jshintrc | 22 - .../plugins/jquery-ui/ui/i18n/jquery-ui-i18n.js | 1793 --- .../jquery-ui/ui/i18n/jquery.ui.datepicker-af.js | 23 - .../ui/i18n/jquery.ui.datepicker-ar-DZ.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-az.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-be.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js | 24 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js | 23 - .../ui/i18n/jquery.ui.datepicker-cy-GB.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-da.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-de.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-el.js | 23 - .../ui/i18n/jquery.ui.datepicker-en-AU.js | 23 - .../ui/i18n/jquery.ui.datepicker-en-GB.js | 23 - .../ui/i18n/jquery.ui.datepicker-en-NZ.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-es.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-et.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js | 59 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js | 23 - .../ui/i18n/jquery.ui.datepicker-fr-CA.js | 23 - .../ui/i18n/jquery.ui.datepicker-fr-CH.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js | 25 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-he.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-hi.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-id.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-is.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-it.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ka.js | 21 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-kk.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-km.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ky.js | 24 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-lb.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-mk.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-nb.js | 22 - .../ui/i18n/jquery.ui.datepicker-nl-BE.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-nn.js | 22 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-no.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js | 23 - .../ui/i18n/jquery.ui.datepicker-pt-BR.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js | 22 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js | 21 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js | 26 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js | 24 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js | 23 - .../ui/i18n/jquery.ui.datepicker-sr-SR.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-th.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js | 23 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js | 24 - .../jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js | 23 - .../ui/i18n/jquery.ui.datepicker-zh-CN.js | 23 - .../ui/i18n/jquery.ui.datepicker-zh-HK.js | 23 - .../ui/i18n/jquery.ui.datepicker-zh-TW.js | 23 - .../static/plugins/jquery-ui/ui/jquery-ui.js | 15003 ------------------- .../plugins/jquery-ui/ui/jquery.ui.accordion.js | 572 - .../plugins/jquery-ui/ui/jquery.ui.autocomplete.js | 610 - .../plugins/jquery-ui/ui/jquery.ui.button.js | 419 - .../static/plugins/jquery-ui/ui/jquery.ui.core.js | 320 - .../plugins/jquery-ui/ui/jquery.ui.datepicker.js | 2038 --- .../plugins/jquery-ui/ui/jquery.ui.dialog.js | 808 - .../plugins/jquery-ui/ui/jquery.ui.draggable.js | 958 -- .../plugins/jquery-ui/ui/jquery.ui.droppable.js | 372 - .../plugins/jquery-ui/ui/jquery.ui.effect-blind.js | 82 - .../jquery-ui/ui/jquery.ui.effect-bounce.js | 113 - .../plugins/jquery-ui/ui/jquery.ui.effect-clip.js | 67 - .../plugins/jquery-ui/ui/jquery.ui.effect-drop.js | 65 - .../jquery-ui/ui/jquery.ui.effect-explode.js | 97 - .../plugins/jquery-ui/ui/jquery.ui.effect-fade.js | 30 - .../plugins/jquery-ui/ui/jquery.ui.effect-fold.js | 76 - .../jquery-ui/ui/jquery.ui.effect-highlight.js | 50 - .../jquery-ui/ui/jquery.ui.effect-pulsate.js | 63 - .../plugins/jquery-ui/ui/jquery.ui.effect-scale.js | 318 - .../plugins/jquery-ui/ui/jquery.ui.effect-shake.js | 74 - .../plugins/jquery-ui/ui/jquery.ui.effect-slide.js | 64 - .../jquery-ui/ui/jquery.ui.effect-transfer.js | 47 - .../plugins/jquery-ui/ui/jquery.ui.effect.js | 1289 -- .../static/plugins/jquery-ui/ui/jquery.ui.menu.js | 621 - .../static/plugins/jquery-ui/ui/jquery.ui.mouse.js | 169 - .../plugins/jquery-ui/ui/jquery.ui.position.js | 497 - .../plugins/jquery-ui/ui/jquery.ui.progressbar.js | 145 - .../plugins/jquery-ui/ui/jquery.ui.resizable.js | 968 -- .../plugins/jquery-ui/ui/jquery.ui.selectable.js | 277 - .../plugins/jquery-ui/ui/jquery.ui.slider.js | 672 - .../plugins/jquery-ui/ui/jquery.ui.sortable.js | 1285 -- .../plugins/jquery-ui/ui/jquery.ui.spinner.js | 493 - .../static/plugins/jquery-ui/ui/jquery.ui.tabs.js | 846 -- .../plugins/jquery-ui/ui/jquery.ui.tooltip.js | 402 - .../plugins/jquery-ui/ui/jquery.ui.widget.js | 521 - .../ui/minified/i18n/jquery-ui-i18n.min.js | 6 - .../minified/i18n/jquery.ui.datepicker-af.min.js | 4 - .../i18n/jquery.ui.datepicker-ar-DZ.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ar.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-az.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-be.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-bg.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-bs.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ca.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-cs.min.js | 4 - .../i18n/jquery.ui.datepicker-cy-GB.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-da.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-de.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-el.min.js | 4 - .../i18n/jquery.ui.datepicker-en-AU.min.js | 4 - .../i18n/jquery.ui.datepicker-en-GB.min.js | 4 - .../i18n/jquery.ui.datepicker-en-NZ.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-eo.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-es.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-et.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-eu.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-fa.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-fi.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-fo.min.js | 4 - .../i18n/jquery.ui.datepicker-fr-CA.min.js | 4 - .../i18n/jquery.ui.datepicker-fr-CH.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-fr.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-gl.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-he.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-hi.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-hr.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-hu.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-hy.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-id.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-is.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-it.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ja.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ka.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-kk.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-km.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ko.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ky.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-lb.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-lt.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-lv.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-mk.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ml.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ms.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-nb.min.js | 4 - .../i18n/jquery.ui.datepicker-nl-BE.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-nl.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-nn.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-no.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-pl.min.js | 4 - .../i18n/jquery.ui.datepicker-pt-BR.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-pt.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-rm.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ro.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ru.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-sk.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-sl.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-sq.min.js | 4 - .../i18n/jquery.ui.datepicker-sr-SR.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-sr.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-sv.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-ta.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-th.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-tj.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-tr.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-uk.min.js | 4 - .../minified/i18n/jquery.ui.datepicker-vi.min.js | 4 - .../i18n/jquery.ui.datepicker-zh-CN.min.js | 4 - .../i18n/jquery.ui.datepicker-zh-HK.min.js | 4 - .../i18n/jquery.ui.datepicker-zh-TW.min.js | 4 - .../plugins/jquery-ui/ui/minified/jquery-ui.min.js | 12 - .../ui/minified/jquery.ui.accordion.min.js | 4 - .../ui/minified/jquery.ui.autocomplete.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.button.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.core.min.js | 4 - .../ui/minified/jquery.ui.datepicker.min.js | 5 - .../jquery-ui/ui/minified/jquery.ui.dialog.min.js | 4 - .../ui/minified/jquery.ui.draggable.min.js | 4 - .../ui/minified/jquery.ui.droppable.min.js | 4 - .../ui/minified/jquery.ui.effect-blind.min.js | 4 - .../ui/minified/jquery.ui.effect-bounce.min.js | 4 - .../ui/minified/jquery.ui.effect-clip.min.js | 4 - .../ui/minified/jquery.ui.effect-drop.min.js | 4 - .../ui/minified/jquery.ui.effect-explode.min.js | 4 - .../ui/minified/jquery.ui.effect-fade.min.js | 4 - .../ui/minified/jquery.ui.effect-fold.min.js | 4 - .../ui/minified/jquery.ui.effect-highlight.min.js | 4 - .../ui/minified/jquery.ui.effect-pulsate.min.js | 4 - .../ui/minified/jquery.ui.effect-scale.min.js | 4 - .../ui/minified/jquery.ui.effect-shake.min.js | 4 - .../ui/minified/jquery.ui.effect-slide.min.js | 4 - .../ui/minified/jquery.ui.effect-transfer.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.effect.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.menu.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.mouse.min.js | 4 - .../ui/minified/jquery.ui.position.min.js | 4 - .../ui/minified/jquery.ui.progressbar.min.js | 4 - .../ui/minified/jquery.ui.resizable.min.js | 4 - .../ui/minified/jquery.ui.selectable.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.slider.min.js | 4 - .../ui/minified/jquery.ui.sortable.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.spinner.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.tabs.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.tooltip.min.js | 4 - .../jquery-ui/ui/minified/jquery.ui.widget.min.js | 4 - .../indicator/static/plugins/moment/lang/ar-ma.js | 5 - .../indicator/static/plugins/moment/lang/ar.js | 5 - .../indicator/static/plugins/moment/lang/bg.js | 4 - .../indicator/static/plugins/moment/lang/br.js | 4 - .../indicator/static/plugins/moment/lang/ca.js | 4 - .../indicator/static/plugins/moment/lang/cs.js | 4 - .../indicator/static/plugins/moment/lang/cv.js | 4 - .../indicator/static/plugins/moment/lang/da.js | 4 - .../indicator/static/plugins/moment/lang/de.js | 5 - .../indicator/static/plugins/moment/lang/el.js | 4 - .../indicator/static/plugins/moment/lang/en-ca.js | 4 - .../indicator/static/plugins/moment/lang/en-gb.js | 4 - .../indicator/static/plugins/moment/lang/eo.js | 6 - .../indicator/static/plugins/moment/lang/es.js | 4 - .../indicator/static/plugins/moment/lang/et.js | 4 - .../indicator/static/plugins/moment/lang/eu.js | 4 - .../indicator/static/plugins/moment/lang/fa.js | 4 - .../indicator/static/plugins/moment/lang/fi.js | 4 - .../indicator/static/plugins/moment/lang/fr-ca.js | 4 - .../indicator/static/plugins/moment/lang/fr.js | 4 - .../indicator/static/plugins/moment/lang/gl.js | 4 - .../indicator/static/plugins/moment/lang/he.js | 5 - .../indicator/static/plugins/moment/lang/hi.js | 4 - .../indicator/static/plugins/moment/lang/hu.js | 4 - .../indicator/static/plugins/moment/lang/id.js | 5 - .../indicator/static/plugins/moment/lang/is.js | 4 - .../indicator/static/plugins/moment/lang/it.js | 5 - .../indicator/static/plugins/moment/lang/ja.js | 4 - .../indicator/static/plugins/moment/lang/ka.js | 4 - .../indicator/static/plugins/moment/lang/ko.js | 4 - .../indicator/static/plugins/moment/lang/lv.js | 4 - .../indicator/static/plugins/moment/lang/ms-my.js | 4 - .../indicator/static/plugins/moment/lang/nb.js | 4 - .../indicator/static/plugins/moment/lang/ne.js | 4 - .../indicator/static/plugins/moment/lang/nl.js | 4 - .../indicator/static/plugins/moment/lang/nn.js | 4 - .../indicator/static/plugins/moment/lang/pl.js | 4 - .../indicator/static/plugins/moment/lang/pt-br.js | 4 - .../indicator/static/plugins/moment/lang/pt.js | 4 - .../indicator/static/plugins/moment/lang/ro.js | 5 - .../indicator/static/plugins/moment/lang/ru.js | 5 - .../indicator/static/plugins/moment/lang/sk.js | 5 - .../indicator/static/plugins/moment/lang/sl.js | 4 - .../indicator/static/plugins/moment/lang/sq.js | 5 - .../indicator/static/plugins/moment/lang/sv.js | 4 - .../indicator/static/plugins/moment/lang/th.js | 4 - .../indicator/static/plugins/moment/lang/tr.js | 5 - .../indicator/static/plugins/moment/lang/tzm-la.js | 4 - .../indicator/static/plugins/moment/lang/tzm.js | 4 - .../indicator/static/plugins/moment/lang/uk.js | 5 - .../indicator/static/plugins/moment/lang/zh-cn.js | 4 - .../indicator/static/plugins/moment/lang/zh-tw.js | 4 - .../apps/indicator/static/plugins/moment/langs.js | 3693 ----- .../indicator/static/plugins/moment/langs.min.js | 3 - .../apps/indicator/static/plugins/moment/moment.js | 1662 -- .../indicator/static/plugins/moment/moment.min.js | 6 - .../apps/indicator/static/plugins/moment/readme.md | 269 - .../indicator/static/plugins/qtip2/VERSION_2.1.1 | 0 .../indicator/static/plugins/qtip2/jquery.qtip.css | 623 - .../indicator/static/plugins/qtip2/jquery.qtip.js | 3400 ----- .../static/plugins/qtip2/jquery.qtip.min.css | 2 - .../static/plugins/qtip2/jquery.qtip.min.js | 3 - .../static/plugins/qtip2/qtip.97suifang.css | 12 - .../apps/indicator/static/plugins/thickbox/README | 20 - .../indicator/static/plugins/thickbox/VERSION_2.0 | 0 .../plugins/thickbox/images/loadingAnimation.gif | Bin 7347 -> 0 bytes .../plugins/thickbox/images/loadingAnimation2.gif | Bin 5886 -> 0 bytes .../static/plugins/thickbox/images/macFFBgHack.png | Bin 207 -> 0 bytes .../indicator/static/plugins/thickbox/thickbox.css | 135 - .../indicator/static/plugins/thickbox/thickbox.js | 321 - .../apps/indicator/templatetags/__init__.py | 0 .../apps/indicator/templatetags/dict_get.py | 14 - .../apps/indicator/templatetags/divisible_by.py | 30 - 97suifangqa/apps/recommend/models.py | 431 +- .../recommend/static/css/add_edit_blog_info.css | 107 + .../apps/recommend/static/css/recommend_index.css | 21 + .../static/javascripts/add_edit_blog_info.js | 330 + .../templates/recommend/add_edit_blog_info.html | 87 + .../recommend/add_edit_blog_info_error.html | 66 + .../templates/recommend/recommend_index.html | 27 + 97suifangqa/apps/recommend/tools.py | 81 + 97suifangqa/apps/recommend/urls.py | 9 + 97suifangqa/apps/recommend/views.py | 229 +- 97suifangqa/apps/sciblog/managers.py | 4 +- 97suifangqa/apps/sciblog/models.py | 7 +- 97suifangqa/apps/sciblog/signals.py | 6 +- .../apps/sfaccount/templates/sfaccount/login.html | 2 +- 97suifangqa/apps/sfaccount/views.py | 4 +- 97suifangqa/apps/utils/templatetags/__init__.py | 0 97suifangqa/apps/utils/templatetags/dict_get.py | 14 + .../apps/utils/templatetags/divisible_by.py | 30 + 97suifangqa/apps/utils/tools.py | 30 + 97suifangqa/fixtures/initial_data.json | 1944 +++ 97suifangqa/isuifangqa.db | Bin 379904 -> 457728 bytes 97suifangqa/settings.py | 3 +- .../staticfiles/images/down_arrow_select.jpg | Bin 0 -> 682 bytes .../staticfiles/plugins/datepicker/datepicker.css | 383 + .../staticfiles/plugins/datepicker/datepicker.js | 5257 +++++++ .../plugins/datepicker/images/calendar.gif | Bin 0 -> 269 bytes .../plugins/datepicker/images/calendar.png | Bin 0 -> 261 bytes .../images/ui-bg_glass_100_f6f6f6_1x400.png | Bin 0 -> 104 bytes .../images/ui-bg_glass_100_fdf5ce_1x400.png | Bin 0 -> 125 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../images/ui-bg_gloss-wave_35_f6a828_500x100.png | Bin 0 -> 3762 bytes .../ui-bg_highlight-soft_100_eeeeee_1x100.png | Bin 0 -> 90 bytes .../ui-bg_highlight-soft_75_ffe45c_1x100.png | Bin 0 -> 129 bytes .../datepicker/images/ui-icons_ef8c08_256x240.png | Bin 0 -> 4369 bytes .../datepicker/images/ui-icons_ffffff_256x240.png | Bin 0 -> 4369 bytes .../plugins/datepicker/language-zh-CN.js | 23 + .../plugins/highcharts/highcharts-more.js | 50 + .../staticfiles/plugins/highcharts/highcharts.js | 277 + .../staticfiles/plugins/jquery-ui/AUTHORS.txt | 245 + .../staticfiles/plugins/jquery-ui/Gruntfile.js | 378 + 97suifangqa/staticfiles/plugins/jquery-ui/MANIFEST | 732 + .../staticfiles/plugins/jquery-ui/MIT-LICENSE.txt | 26 + .../staticfiles/plugins/jquery-ui/README.md | 99 + .../jquery-ui/demos/accordion/collapsible.html | 50 + .../jquery-ui/demos/accordion/custom-icons.html | 64 + .../plugins/jquery-ui/demos/accordion/default.html | 80 + .../jquery-ui/demos/accordion/fillspace.html | 72 + .../jquery-ui/demos/accordion/hoverintent.html | 148 + .../plugins/jquery-ui/demos/accordion/index.html | 20 + .../jquery-ui/demos/accordion/no-auto-height.html | 50 + .../jquery-ui/demos/accordion/sortable.html | 74 + .../plugins/jquery-ui/demos/addClass/default.html | 45 + .../plugins/jquery-ui/demos/addClass/index.html | 14 + .../plugins/jquery-ui/demos/animate/default.html | 55 + .../plugins/jquery-ui/demos/animate/index.html | 14 + .../jquery-ui/demos/autocomplete/categories.html | 67 + .../jquery-ui/demos/autocomplete/combobox.html | 213 + .../jquery-ui/demos/autocomplete/custom-data.html | 90 + .../jquery-ui/demos/autocomplete/default.html | 58 + .../jquery-ui/demos/autocomplete/folding.html | 56 + .../demos/autocomplete/images/jquery_32x32.png | Bin 0 -> 1417 bytes .../demos/autocomplete/images/jqueryui_32x32.png | Bin 0 -> 1193 bytes .../demos/autocomplete/images/sizzlejs_32x32.png | Bin 0 -> 999 bytes .../demos/autocomplete/images/transparent_1x1.png | Bin 0 -> 95 bytes .../autocomplete/images/ui-anim_basic_16x16.gif | Bin 0 -> 1459 bytes .../jquery-ui/demos/autocomplete/index.html | 25 + .../jquery-ui/demos/autocomplete/london.xml | 114 + .../jquery-ui/demos/autocomplete/maxheight.html | 71 + .../demos/autocomplete/multiple-remote.html | 80 + .../jquery-ui/demos/autocomplete/multiple.html | 93 + .../jquery-ui/demos/autocomplete/remote-jsonp.html | 82 + .../demos/autocomplete/remote-with-cache.html | 52 + .../jquery-ui/demos/autocomplete/remote.html | 55 + .../jquery-ui/demos/autocomplete/search.php | 590 + .../plugins/jquery-ui/demos/autocomplete/xml.html | 66 + .../plugins/jquery-ui/demos/button/checkbox.html | 37 + .../plugins/jquery-ui/demos/button/default.html | 34 + .../plugins/jquery-ui/demos/button/icons.html | 49 + .../plugins/jquery-ui/demos/button/index.html | 19 + .../plugins/jquery-ui/demos/button/radio.html | 32 + .../jquery-ui/demos/button/splitbutton.html | 69 + .../plugins/jquery-ui/demos/button/toolbar.html | 118 + .../jquery-ui/demos/datepicker/alt-field.html | 29 + .../jquery-ui/demos/datepicker/animation.html | 51 + .../jquery-ui/demos/datepicker/buttonbar.html | 28 + .../jquery-ui/demos/datepicker/date-formats.html | 40 + .../jquery-ui/demos/datepicker/date-range.html | 44 + .../jquery-ui/demos/datepicker/default.html | 26 + .../demos/datepicker/dropdown-month-year.html | 29 + .../jquery-ui/demos/datepicker/icon-trigger.html | 30 + .../jquery-ui/demos/datepicker/images/calendar.gif | Bin 0 -> 269 bytes .../plugins/jquery-ui/demos/datepicker/index.html | 27 + .../plugins/jquery-ui/demos/datepicker/inline.html | 26 + .../demos/datepicker/jquery.ui.datepicker-ar.js | 23 + .../demos/datepicker/jquery.ui.datepicker-fr.js | 25 + .../demos/datepicker/jquery.ui.datepicker-he.js | 23 + .../demos/datepicker/jquery.ui.datepicker-zh-TW.js | 23 + .../jquery-ui/demos/datepicker/localization.html | 41 + .../jquery-ui/demos/datepicker/min-max.html | 26 + .../demos/datepicker/multiple-calendars.html | 29 + .../jquery-ui/demos/datepicker/other-months.html | 30 + .../jquery-ui/demos/datepicker/show-week.html | 32 + .../staticfiles/plugins/jquery-ui/demos/demos.css | 19 + .../plugins/jquery-ui/demos/dialog/animated.html | 52 + .../plugins/jquery-ui/demos/dialog/default.html | 33 + .../plugins/jquery-ui/demos/dialog/index.html | 19 + .../jquery-ui/demos/dialog/modal-confirmation.html | 47 + .../plugins/jquery-ui/demos/dialog/modal-form.html | 157 + .../jquery-ui/demos/dialog/modal-message.html | 49 + .../plugins/jquery-ui/demos/dialog/modal.html | 38 + .../demos/draggable/constrain-movement.html | 58 + .../jquery-ui/demos/draggable/cursor-style.html | 42 + .../plugins/jquery-ui/demos/draggable/default.html | 32 + .../jquery-ui/demos/draggable/delay-start.html | 38 + .../plugins/jquery-ui/demos/draggable/events.html | 70 + .../plugins/jquery-ui/demos/draggable/handle.html | 41 + .../plugins/jquery-ui/demos/draggable/index.html | 24 + .../plugins/jquery-ui/demos/draggable/revert.html | 37 + .../plugins/jquery-ui/demos/draggable/scroll.html | 44 + .../plugins/jquery-ui/demos/draggable/snap-to.html | 61 + .../jquery-ui/demos/draggable/sortable.html | 50 + .../jquery-ui/demos/draggable/visual-feedback.html | 70 + .../demos/droppable/accepted-elements.html | 53 + .../plugins/jquery-ui/demos/droppable/default.html | 46 + .../demos/droppable/images/high_tatras.jpg | Bin 0 -> 22994 bytes .../demos/droppable/images/high_tatras2.jpg | Bin 0 -> 25619 bytes .../demos/droppable/images/high_tatras2_min.jpg | Bin 0 -> 2164 bytes .../demos/droppable/images/high_tatras3.jpg | Bin 0 -> 24583 bytes .../demos/droppable/images/high_tatras3_min.jpg | Bin 0 -> 1901 bytes .../demos/droppable/images/high_tatras4.jpg | Bin 0 -> 24870 bytes .../demos/droppable/images/high_tatras4_min.jpg | Bin 0 -> 2541 bytes .../demos/droppable/images/high_tatras_min.jpg | Bin 0 -> 2147 bytes .../plugins/jquery-ui/demos/droppable/index.html | 20 + .../jquery-ui/demos/droppable/photo-manager.html | 182 + .../jquery-ui/demos/droppable/propagation.html | 73 + .../plugins/jquery-ui/demos/droppable/revert.html | 54 + .../jquery-ui/demos/droppable/shopping-cart.html | 94 + .../jquery-ui/demos/droppable/visual-feedback.html | 72 + .../plugins/jquery-ui/demos/effect/default.html | 102 + .../plugins/jquery-ui/demos/effect/easing.html | 102 + .../plugins/jquery-ui/demos/effect/index.html | 15 + .../plugins/jquery-ui/demos/hide/default.html | 95 + .../plugins/jquery-ui/demos/hide/index.html | 14 + .../plugins/jquery-ui/demos/images/calendar.gif | Bin 0 -> 269 bytes .../jquery-ui/demos/images/demo-config-on-tile.gif | Bin 0 -> 172 bytes .../jquery-ui/demos/images/demo-config-on.gif | Bin 0 -> 335 bytes .../demos/images/demo-spindown-closed.gif | Bin 0 -> 103 bytes .../jquery-ui/demos/images/demo-spindown-open.gif | Bin 0 -> 105 bytes .../jquery-ui/demos/images/icon-docs-info.gif | Bin 0 -> 206 bytes .../plugins/jquery-ui/demos/images/pbar-ani.gif | Bin 0 -> 7970 bytes .../staticfiles/plugins/jquery-ui/demos/index.html | 40 + .../plugins/jquery-ui/demos/menu/default.html | 67 + .../plugins/jquery-ui/demos/menu/icons.html | 44 + .../plugins/jquery-ui/demos/menu/index.html | 15 + .../plugins/jquery-ui/demos/position/cycler.html | 107 + .../plugins/jquery-ui/demos/position/default.html | 137 + .../jquery-ui/demos/position/images/earth.jpg | Bin 0 -> 29850 bytes .../jquery-ui/demos/position/images/flight.jpg | Bin 0 -> 33637 bytes .../jquery-ui/demos/position/images/rocket.jpg | Bin 0 -> 32986 bytes .../plugins/jquery-ui/demos/position/index.html | 15 + .../jquery-ui/demos/progressbar/default.html | 28 + .../demos/progressbar/images/pbar-ani.gif | Bin 0 -> 7970 bytes .../jquery-ui/demos/progressbar/indeterminate.html | 53 + .../plugins/jquery-ui/demos/progressbar/index.html | 16 + .../plugins/jquery-ui/demos/progressbar/label.html | 61 + .../jquery-ui/demos/removeClass/default.html | 45 + .../plugins/jquery-ui/demos/removeClass/index.html | 14 + .../plugins/jquery-ui/demos/resizable/animate.html | 36 + .../jquery-ui/demos/resizable/aspect-ratio.html | 35 + .../jquery-ui/demos/resizable/constrain-area.html | 40 + .../plugins/jquery-ui/demos/resizable/default.html | 33 + .../jquery-ui/demos/resizable/delay-start.html | 45 + .../plugins/jquery-ui/demos/resizable/helper.html | 36 + .../plugins/jquery-ui/demos/resizable/index.html | 24 + .../plugins/jquery-ui/demos/resizable/max-min.html | 38 + .../jquery-ui/demos/resizable/snap-to-grid.html | 35 + .../demos/resizable/synchronous-resize.html | 42 + .../jquery-ui/demos/resizable/textarea.html | 34 + .../jquery-ui/demos/resizable/visual-feedback.html | 36 + .../jquery-ui/demos/selectable/default.html | 43 + .../jquery-ui/demos/selectable/display-grid.html | 48 + .../plugins/jquery-ui/demos/selectable/index.html | 16 + .../jquery-ui/demos/selectable/serialize.html | 54 + .../plugins/jquery-ui/demos/show/default.html | 97 + .../plugins/jquery-ui/demos/show/index.html | 14 + .../jquery-ui/demos/slider/colorpicker.html | 87 + .../plugins/jquery-ui/demos/slider/default.html | 27 + .../plugins/jquery-ui/demos/slider/hotelrooms.html | 49 + .../plugins/jquery-ui/demos/slider/index.html | 24 + .../jquery-ui/demos/slider/multiple-vertical.html | 69 + .../jquery-ui/demos/slider/range-vertical.html | 41 + .../plugins/jquery-ui/demos/slider/range.html | 42 + .../plugins/jquery-ui/demos/slider/rangemax.html | 40 + .../plugins/jquery-ui/demos/slider/rangemin.html | 41 + .../jquery-ui/demos/slider/side-scroll.html | 131 + .../jquery-ui/demos/slider/slider-vertical.html | 42 + .../plugins/jquery-ui/demos/slider/steps.html | 41 + .../demos/sortable/connect-lists-through-tabs.html | 72 + .../jquery-ui/demos/sortable/connect-lists.html | 52 + .../plugins/jquery-ui/demos/sortable/default.html | 45 + .../jquery-ui/demos/sortable/delay-start.html | 61 + .../jquery-ui/demos/sortable/display-grid.html | 48 + .../jquery-ui/demos/sortable/empty-lists.html | 63 + .../plugins/jquery-ui/demos/sortable/index.html | 22 + .../plugins/jquery-ui/demos/sortable/items.html | 64 + .../jquery-ui/demos/sortable/placeholder.html | 50 + .../plugins/jquery-ui/demos/sortable/portlets.html | 91 + .../plugins/jquery-ui/demos/spinner/currency.html | 52 + .../plugins/jquery-ui/demos/spinner/decimal.html | 56 + .../plugins/jquery-ui/demos/spinner/default.html | 64 + .../plugins/jquery-ui/demos/spinner/index.html | 19 + .../plugins/jquery-ui/demos/spinner/latlong.html | 57 + .../plugins/jquery-ui/demos/spinner/overflow.html | 44 + .../plugins/jquery-ui/demos/spinner/time.html | 74 + .../jquery-ui/demos/switchClass/default.html | 40 + .../plugins/jquery-ui/demos/switchClass/index.html | 14 + .../plugins/jquery-ui/demos/tabs/ajax.html | 46 + .../jquery-ui/demos/tabs/ajax/content1.html | 4 + .../jquery-ui/demos/tabs/ajax/content2.html | 4 + .../jquery-ui/demos/tabs/ajax/content3-slow.php | 7 + .../jquery-ui/demos/tabs/ajax/content4-broken.php | 3 + .../plugins/jquery-ui/demos/tabs/bottom.html | 58 + .../plugins/jquery-ui/demos/tabs/collapsible.html | 48 + .../plugins/jquery-ui/demos/tabs/default.html | 42 + .../plugins/jquery-ui/demos/tabs/index.html | 20 + .../plugins/jquery-ui/demos/tabs/manipulation.html | 122 + .../plugins/jquery-ui/demos/tabs/mouseover.html | 44 + .../plugins/jquery-ui/demos/tabs/sortable.html | 51 + .../plugins/jquery-ui/demos/tabs/vertical.html | 54 + .../plugins/jquery-ui/demos/toggle/default.html | 103 + .../plugins/jquery-ui/demos/toggle/index.html | 14 + .../jquery-ui/demos/toggleClass/default.html | 39 + .../plugins/jquery-ui/demos/toggleClass/index.html | 14 + .../jquery-ui/demos/tooltip/ajax/content1.html | 1 + .../jquery-ui/demos/tooltip/ajax/content2.html | 1 + .../jquery-ui/demos/tooltip/custom-animation.html | 54 + .../jquery-ui/demos/tooltip/custom-content.html | 83 + .../jquery-ui/demos/tooltip/custom-style.html | 95 + .../plugins/jquery-ui/demos/tooltip/default.html | 40 + .../plugins/jquery-ui/demos/tooltip/forms.html | 65 + .../jquery-ui/demos/tooltip/images/st-stephens.jpg | Bin 0 -> 17724 bytes .../demos/tooltip/images/tower-bridge.jpg | Bin 0 -> 15764 bytes .../plugins/jquery-ui/demos/tooltip/index.html | 20 + .../plugins/jquery-ui/demos/tooltip/tracking.html | 42 + .../jquery-ui/demos/tooltip/video-player.html | 117 + .../plugins/jquery-ui/demos/widget/default.html | 178 + .../plugins/jquery-ui/demos/widget/index.html | 14 + .../jquery-ui/external/globalize.culture.de-DE.js | 81 + .../jquery-ui/external/globalize.culture.ja-JP.js | 100 + .../plugins/jquery-ui/external/globalize.js | 1573 ++ .../jquery-ui/external/jquery.mousewheel.js | 101 + .../plugins/jquery-ui/external/jshint.js | 4835 ++++++ .../plugins/jquery-ui/external/qunit.css | 244 + .../plugins/jquery-ui/external/qunit.js | 2152 +++ .../staticfiles/plugins/jquery-ui/jquery-1.9.1.js | 9597 ++++++++++++ .../staticfiles/plugins/jquery-ui/package.json | 70 + .../staticfiles/plugins/jquery-ui/tests/index.css | 21 + .../staticfiles/plugins/jquery-ui/tests/index.html | 33 + .../staticfiles/plugins/jquery-ui/tests/index.js | 10 + .../plugins/jquery-ui/tests/jquery-1.6.1.js | 8936 +++++++++++ .../plugins/jquery-ui/tests/jquery-1.6.2.js | 8981 +++++++++++ .../plugins/jquery-ui/tests/jquery-1.6.3.js | 9044 +++++++++++ .../plugins/jquery-ui/tests/jquery-1.6.4.js | 9046 +++++++++++ .../plugins/jquery-ui/tests/jquery-1.6.js | 8865 +++++++++++ .../plugins/jquery-ui/tests/jquery-1.7.1.js | 9266 ++++++++++++ .../plugins/jquery-ui/tests/jquery-1.7.2.js | 9404 ++++++++++++ .../plugins/jquery-ui/tests/jquery-1.7.js | 9300 ++++++++++++ .../plugins/jquery-ui/tests/jquery-1.8.0.js | 9227 ++++++++++++ .../plugins/jquery-ui/tests/jquery-1.8.1.js | 9301 ++++++++++++ .../plugins/jquery-ui/tests/jquery-1.8.2.js | 9440 ++++++++++++ .../plugins/jquery-ui/tests/jquery-1.8.3.js | 9472 ++++++++++++ .../plugins/jquery-ui/tests/jquery-1.9.0.js | 9555 ++++++++++++ .../plugins/jquery-ui/tests/jquery-1.9.1.js | 9597 ++++++++++++ .../staticfiles/plugins/jquery-ui/tests/jquery.js | 26 + .../plugins/jquery-ui/tests/jquery.simulate.js | 324 + .../jquery-ui/tests/unit/accordion/accordion.html | 143 + .../tests/unit/accordion/accordion_common.js | 20 + .../tests/unit/accordion/accordion_core.js | 117 + .../tests/unit/accordion/accordion_events.js | 169 + .../tests/unit/accordion/accordion_methods.js | 126 + .../tests/unit/accordion/accordion_options.js | 463 + .../tests/unit/accordion/accordion_test_helpers.js | 27 + .../jquery-ui/tests/unit/accordion/all.html | 30 + .../plugins/jquery-ui/tests/unit/all.html | 70 + .../jquery-ui/tests/unit/autocomplete/all.html | 30 + .../tests/unit/autocomplete/autocomplete.html | 49 + .../tests/unit/autocomplete/autocomplete_common.js | 29 + .../tests/unit/autocomplete/autocomplete_core.js | 242 + .../tests/unit/autocomplete/autocomplete_events.js | 182 + .../unit/autocomplete/autocomplete_methods.js | 45 + .../unit/autocomplete/autocomplete_options.js | 264 + .../autocomplete/remote_object_array_labels.txt | 1 + .../autocomplete/remote_object_array_values.txt | 1 + .../unit/autocomplete/remote_string_array.txt | 1 + .../plugins/jquery-ui/tests/unit/button/all.html | 30 + .../jquery-ui/tests/unit/button/button.html | 76 + .../jquery-ui/tests/unit/button/button_common.js | 14 + .../jquery-ui/tests/unit/button/button_core.js | 199 + .../jquery-ui/tests/unit/button/button_events.js | 36 + .../jquery-ui/tests/unit/button/button_methods.js | 52 + .../jquery-ui/tests/unit/button/button_options.js | 117 + .../plugins/jquery-ui/tests/unit/core/all.html | 30 + .../plugins/jquery-ui/tests/unit/core/core.html | 135 + .../plugins/jquery-ui/tests/unit/core/core.js | 185 + .../plugins/jquery-ui/tests/unit/core/selector.js | 251 + .../jquery-ui/tests/unit/datepicker/all.html | 30 + .../tests/unit/datepicker/datepicker.html | 48 + .../tests/unit/datepicker/datepicker_common.js | 7 + .../tests/unit/datepicker/datepicker_core.js | 463 + .../tests/unit/datepicker/datepicker_events.js | 153 + .../tests/unit/datepicker/datepicker_methods.js | 125 + .../tests/unit/datepicker/datepicker_options.js | 1111 ++ .../unit/datepicker/datepicker_test_helpers.js | 33 + .../tests/unit/datepicker/images/calendar.gif | Bin 0 -> 269 bytes .../plugins/jquery-ui/tests/unit/dialog/all.html | 30 + .../jquery-ui/tests/unit/dialog/dialog.html | 69 + .../jquery-ui/tests/unit/dialog/dialog_common.js | 43 + .../jquery-ui/tests/unit/dialog/dialog_core.js | 163 + .../tests/unit/dialog/dialog_deprecated.html | 67 + .../tests/unit/dialog/dialog_deprecated.js | 63 + .../jquery-ui/tests/unit/dialog/dialog_events.js | 370 + .../jquery-ui/tests/unit/dialog/dialog_methods.js | 247 + .../jquery-ui/tests/unit/dialog/dialog_options.js | 584 + .../tests/unit/dialog/dialog_test_helpers.js | 44 + .../jquery-ui/tests/unit/draggable/all.html | 30 + .../jquery-ui/tests/unit/draggable/draggable.html | 58 + .../tests/unit/draggable/draggable_common.js | 40 + .../tests/unit/draggable/draggable_core.js | 167 + .../tests/unit/draggable/draggable_events.js | 125 + .../tests/unit/draggable/draggable_methods.js | 99 + .../tests/unit/draggable/draggable_options.js | 1404 ++ .../tests/unit/draggable/draggable_test_helpers.js | 79 + .../jquery-ui/tests/unit/droppable/all.html | 30 + .../jquery-ui/tests/unit/droppable/droppable.html | 50 + .../tests/unit/droppable/droppable_common.js | 20 + .../tests/unit/droppable/droppable_core.js | 29 + .../tests/unit/droppable/droppable_events.js | 63 + .../tests/unit/droppable/droppable_methods.js | 88 + .../tests/unit/droppable/droppable_options.js | 67 + .../tests/unit/droppable/droppable_test_helpers.js | 10 + .../plugins/jquery-ui/tests/unit/effects/all.html | 30 + .../jquery-ui/tests/unit/effects/effects.html | 117 + .../jquery-ui/tests/unit/effects/effects_core.js | 274 + .../jquery-ui/tests/unit/effects/effects_scale.js | 68 + .../jquery-ui/tests/unit/images/jqueryui_32x32.png | Bin 0 -> 1193 bytes .../plugins/jquery-ui/tests/unit/index.html | 66 + .../plugins/jquery-ui/tests/unit/menu/all.html | 30 + .../plugins/jquery-ui/tests/unit/menu/menu.html | 269 + .../jquery-ui/tests/unit/menu/menu_common.js | 20 + .../plugins/jquery-ui/tests/unit/menu/menu_core.js | 30 + .../jquery-ui/tests/unit/menu/menu_events.js | 601 + .../jquery-ui/tests/unit/menu/menu_methods.js | 104 + .../jquery-ui/tests/unit/menu/menu_options.js | 115 + .../jquery-ui/tests/unit/menu/menu_test_helpers.js | 31 + .../plugins/jquery-ui/tests/unit/position/all.html | 30 + .../jquery-ui/tests/unit/position/position.html | 53 + .../jquery-ui/tests/unit/position/position_core.js | 722 + .../jquery-ui/tests/unit/progressbar/all.html | 30 + .../tests/unit/progressbar/progressbar.html | 44 + .../tests/unit/progressbar/progressbar_common.js | 12 + .../tests/unit/progressbar/progressbar_core.js | 53 + .../tests/unit/progressbar/progressbar_events.js | 51 + .../tests/unit/progressbar/progressbar_methods.js | 25 + .../tests/unit/progressbar/progressbar_options.js | 72 + .../jquery-ui/tests/unit/qunit-composite.css | 13 + .../jquery-ui/tests/unit/qunit-composite.js | 112 + .../jquery-ui/tests/unit/resizable/all.html | 30 + .../jquery-ui/tests/unit/resizable/images/test.jpg | Bin 0 -> 391 bytes .../jquery-ui/tests/unit/resizable/resizable.html | 65 + .../tests/unit/resizable/resizable_common.js | 30 + .../tests/unit/resizable/resizable_core.js | 194 + .../tests/unit/resizable/resizable_events.js | 173 + .../tests/unit/resizable/resizable_methods.js | 12 + .../tests/unit/resizable/resizable_options.js | 268 + .../tests/unit/resizable/resizable_test_helpers.js | 11 + .../jquery-ui/tests/unit/selectable/all.html | 30 + .../tests/unit/selectable/selectable.html | 51 + .../tests/unit/selectable/selectable_common.js | 21 + .../tests/unit/selectable/selectable_core.js | 3 + .../tests/unit/selectable/selectable_events.js | 69 + .../tests/unit/selectable/selectable_methods.js | 104 + .../tests/unit/selectable/selectable_options.js | 65 + .../plugins/jquery-ui/tests/unit/slider/all.html | 30 + .../jquery-ui/tests/unit/slider/slider.html | 48 + .../jquery-ui/tests/unit/slider/slider_common.js | 23 + .../jquery-ui/tests/unit/slider/slider_core.js | 300 + .../jquery-ui/tests/unit/slider/slider_events.js | 155 + .../jquery-ui/tests/unit/slider/slider_methods.js | 99 + .../jquery-ui/tests/unit/slider/slider_options.js | 305 + .../plugins/jquery-ui/tests/unit/sortable/all.html | 30 + .../jquery-ui/tests/unit/sortable/sortable.html | 99 + .../tests/unit/sortable/sortable_common.js | 45 + .../jquery-ui/tests/unit/sortable/sortable_core.js | 3 + .../tests/unit/sortable/sortable_events.js | 275 + .../tests/unit/sortable/sortable_methods.js | 92 + .../tests/unit/sortable/sortable_options.js | 460 + .../tests/unit/sortable/sortable_test_helpers.js | 9 + .../plugins/jquery-ui/tests/unit/spinner/all.html | 30 + .../jquery-ui/tests/unit/spinner/spinner.html | 50 + .../jquery-ui/tests/unit/spinner/spinner_common.js | 23 + .../jquery-ui/tests/unit/spinner/spinner_core.js | 238 + .../jquery-ui/tests/unit/spinner/spinner_events.js | 259 + .../tests/unit/spinner/spinner_methods.js | 174 + .../tests/unit/spinner/spinner_options.js | 262 + .../tests/unit/spinner/spinner_test_helpers.js | 8 + .../plugins/jquery-ui/tests/unit/subsuite.js | 24 + .../plugins/jquery-ui/tests/unit/swarminject.js | 10 + .../plugins/jquery-ui/tests/unit/tabs/all.html | 30 + .../jquery-ui/tests/unit/tabs/data/test.html | 1 + .../plugins/jquery-ui/tests/unit/tabs/tabs.html | 155 + .../jquery-ui/tests/unit/tabs/tabs_common.js | 18 + .../plugins/jquery-ui/tests/unit/tabs/tabs_core.js | 615 + .../jquery-ui/tests/unit/tabs/tabs_events.js | 318 + .../jquery-ui/tests/unit/tabs/tabs_methods.js | 270 + .../jquery-ui/tests/unit/tabs/tabs_options.js | 345 + .../jquery-ui/tests/unit/tabs/tabs_test_helpers.js | 67 + .../plugins/jquery-ui/tests/unit/testsuite.js | 298 + .../plugins/jquery-ui/tests/unit/tooltip/all.html | 30 + .../jquery-ui/tests/unit/tooltip/tooltip.html | 55 + .../jquery-ui/tests/unit/tooltip/tooltip_common.js | 21 + .../jquery-ui/tests/unit/tooltip/tooltip_core.js | 137 + .../jquery-ui/tests/unit/tooltip/tooltip_events.js | 57 + .../tests/unit/tooltip/tooltip_methods.js | 94 + .../tests/unit/tooltip/tooltip_options.js | 171 + .../plugins/jquery-ui/tests/unit/widget/all.html | 30 + .../jquery-ui/tests/unit/widget/widget.html | 44 + .../tests/unit/widget/widget_animation.js | 257 + .../jquery-ui/tests/unit/widget/widget_core.js | 1438 ++ .../jquery-ui/tests/unit/widget/widget_extend.js | 105 + .../jquery-ui/tests/visual/accordion/icons.html | 95 + .../jquery-ui/tests/visual/addClass/queue.html | 52 + .../jquery-ui/tests/visual/button/button.html | 94 + .../jquery-ui/tests/visual/button/performance.html | 26 + .../tests/visual/compound/accordion_tabs.html | 86 + .../tests/visual/compound/datepicker_dialog.html | 31 + .../tests/visual/compound/dialog_widgets.html | 101 + .../tests/visual/compound/draggable_accordion.html | 65 + ...aggable_accordion_accordion_tabs_draggable.html | 107 + .../compound/sortable_accordion_sortable_tabs.html | 116 + .../jquery-ui/tests/visual/compound/tabs_tabs.html | 73 + .../tests/visual/compound/tabs_tooltips.html | 37 + .../jquery-ui/tests/visual/dialog/animated.html | 53 + .../tests/visual/dialog/complex-dialogs.html | 125 + .../jquery-ui/tests/visual/dialog/form.html | 70 + .../jquery-ui/tests/visual/dialog/performance.html | 73 + .../jquery-ui/tests/visual/effects/all.html | 217 + .../jquery-ui/tests/visual/effects/effects.css | 49 + .../jquery-ui/tests/visual/effects/effects.js | 107 + .../jquery-ui/tests/visual/effects/scale.html | 157 + .../plugins/jquery-ui/tests/visual/index.html | 82 + .../plugins/jquery-ui/tests/visual/menu/menu.html | 314 + .../jquery-ui/tests/visual/position/position.html | 143 + .../tests/visual/position/position_feedback.html | 145 + .../plugins/jquery-ui/tests/visual/theme.html | 532 + .../jquery-ui/tests/visual/tooltip/animations.html | 73 + .../jquery-ui/tests/visual/tooltip/tooltip.html | 206 + .../plugins/jquery-ui/tests/visual/visual.css | 3 + .../jquery-ui/themes/97suifang/images/calendar.gif | Bin 0 -> 269 bytes .../jquery-ui/themes/97suifang/images/calendar.png | Bin 0 -> 261 bytes .../images/ui-bg_glass_100_f6f6f6_1x400.png | Bin 0 -> 104 bytes .../images/ui-bg_glass_100_fdf5ce_1x400.png | Bin 0 -> 125 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../images/ui-bg_gloss-wave_35_f6a828_500x100.png | Bin 0 -> 3762 bytes .../ui-bg_highlight-soft_100_eeeeee_1x100.png | Bin 0 -> 90 bytes .../ui-bg_highlight-soft_75_ffe45c_1x100.png | Bin 0 -> 129 bytes .../97suifang/images/ui-icons_ef8c08_256x240.png | Bin 0 -> 4369 bytes .../97suifang/images/ui-icons_ffffff_256x240.png | Bin 0 -> 4369 bytes .../jquery-ui/themes/97suifang/jquery-ui.css | 383 + .../themes/base/images/animated-overlay.gif | Bin 0 -> 1738 bytes .../base/images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 180 bytes .../base/images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 178 bytes .../base/images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 120 bytes .../base/images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../base/images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 111 bytes .../base/images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 110 bytes .../base/images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 101 bytes .../themes/base/images/ui-icons_222222_256x240.png | Bin 0 -> 4369 bytes .../themes/base/images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4369 bytes .../themes/base/images/ui-icons_454545_256x240.png | Bin 0 -> 4369 bytes .../themes/base/images/ui-icons_888888_256x240.png | Bin 0 -> 4369 bytes .../themes/base/images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4369 bytes .../plugins/jquery-ui/themes/base/jquery-ui.css | 1188 ++ .../jquery-ui/themes/base/jquery.ui.accordion.css | 38 + .../jquery-ui/themes/base/jquery.ui.all.css | 12 + .../themes/base/jquery.ui.autocomplete.css | 16 + .../jquery-ui/themes/base/jquery.ui.base.css | 25 + .../jquery-ui/themes/base/jquery.ui.button.css | 114 + .../jquery-ui/themes/base/jquery.ui.core.css | 93 + .../jquery-ui/themes/base/jquery.ui.datepicker.css | 178 + .../jquery-ui/themes/base/jquery.ui.dialog.css | 69 + .../jquery-ui/themes/base/jquery.ui.menu.css | 79 + .../themes/base/jquery.ui.progressbar.css | 28 + .../jquery-ui/themes/base/jquery.ui.resizable.css | 78 + .../jquery-ui/themes/base/jquery.ui.selectable.css | 15 + .../jquery-ui/themes/base/jquery.ui.slider.css | 73 + .../jquery-ui/themes/base/jquery.ui.spinner.css | 65 + .../jquery-ui/themes/base/jquery.ui.tabs.css | 52 + .../jquery-ui/themes/base/jquery.ui.theme.css | 406 + .../jquery-ui/themes/base/jquery.ui.tooltip.css | 19 + .../base/minified/images/animated-overlay.gif | Bin 0 -> 1738 bytes .../minified/images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 180 bytes .../images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 178 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 120 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 111 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 110 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 119 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 101 bytes .../minified/images/ui-icons_222222_256x240.png | Bin 0 -> 4369 bytes .../minified/images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4369 bytes .../minified/images/ui-icons_454545_256x240.png | Bin 0 -> 4369 bytes .../minified/images/ui-icons_888888_256x240.png | Bin 0 -> 4369 bytes .../minified/images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4369 bytes .../themes/base/minified/jquery-ui.min.css | 4 + .../base/minified/jquery.ui.accordion.min.css | 5 + .../base/minified/jquery.ui.autocomplete.min.css | 5 + .../themes/base/minified/jquery.ui.button.min.css | 5 + .../themes/base/minified/jquery.ui.core.min.css | 5 + .../base/minified/jquery.ui.datepicker.min.css | 5 + .../themes/base/minified/jquery.ui.dialog.min.css | 5 + .../themes/base/minified/jquery.ui.menu.min.css | 5 + .../base/minified/jquery.ui.progressbar.min.css | 5 + .../base/minified/jquery.ui.resizable.min.css | 5 + .../base/minified/jquery.ui.selectable.min.css | 5 + .../themes/base/minified/jquery.ui.slider.min.css | 5 + .../themes/base/minified/jquery.ui.spinner.min.css | 5 + .../themes/base/minified/jquery.ui.tabs.min.css | 5 + .../themes/base/minified/jquery.ui.theme.min.css | 5 + .../themes/base/minified/jquery.ui.tooltip.min.css | 5 + .../themes/smoothness/images/animated-overlay.gif | Bin 0 -> 1738 bytes .../images/ui-bg_flat_0_aaaaaa_40x100.png | Bin 0 -> 212 bytes .../images/ui-bg_flat_75_ffffff_40x100.png | Bin 0 -> 208 bytes .../images/ui-bg_glass_55_fbf9ee_1x400.png | Bin 0 -> 335 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 207 bytes .../images/ui-bg_glass_75_dadada_1x400.png | Bin 0 -> 262 bytes .../images/ui-bg_glass_75_e6e6e6_1x400.png | Bin 0 -> 262 bytes .../images/ui-bg_glass_95_fef1ec_1x400.png | Bin 0 -> 332 bytes .../ui-bg_highlight-soft_75_cccccc_1x100.png | Bin 0 -> 280 bytes .../smoothness/images/ui-icons_222222_256x240.png | Bin 0 -> 6922 bytes .../smoothness/images/ui-icons_2e83ff_256x240.png | Bin 0 -> 4549 bytes .../smoothness/images/ui-icons_454545_256x240.png | Bin 0 -> 6992 bytes .../smoothness/images/ui-icons_888888_256x240.png | Bin 0 -> 6999 bytes .../smoothness/images/ui-icons_cd0a0a_256x240.png | Bin 0 -> 4549 bytes .../jquery-ui/themes/smoothness/jquery-ui.css | 1177 ++ .../jquery-ui/themes/smoothness/jquery-ui.min.css | 5 + .../themes/smoothness/jquery.ui.theme.css | 406 + .../ui-lightness/images/animated-overlay.gif | Bin 0 -> 1738 bytes .../ui-bg_diagonals-thick_18_b81900_40x40.png | Bin 0 -> 418 bytes .../ui-bg_diagonals-thick_20_666666_40x40.png | Bin 0 -> 312 bytes .../images/ui-bg_flat_10_000000_40x100.png | Bin 0 -> 205 bytes .../images/ui-bg_glass_100_f6f6f6_1x400.png | Bin 0 -> 262 bytes .../images/ui-bg_glass_100_fdf5ce_1x400.png | Bin 0 -> 348 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 207 bytes .../images/ui-bg_gloss-wave_35_f6a828_500x100.png | Bin 0 -> 5815 bytes .../ui-bg_highlight-soft_100_eeeeee_1x100.png | Bin 0 -> 278 bytes .../ui-bg_highlight-soft_75_ffe45c_1x100.png | Bin 0 -> 328 bytes .../images/ui-icons_222222_256x240.png | Bin 0 -> 6922 bytes .../images/ui-icons_228ef1_256x240.png | Bin 0 -> 4549 bytes .../images/ui-icons_ef8c08_256x240.png | Bin 0 -> 4549 bytes .../images/ui-icons_ffd27a_256x240.png | Bin 0 -> 4549 bytes .../images/ui-icons_ffffff_256x240.png | Bin 0 -> 6299 bytes .../jquery-ui/themes/ui-lightness/jquery-ui.css | 1177 ++ .../themes/ui-lightness/jquery-ui.min.css | 5 + .../themes/ui-lightness/jquery.ui.theme.css | 406 + .../plugins/jquery-ui/ui.accordion.jquery.json | 67 + .../plugins/jquery-ui/ui.autocomplete.jquery.json | 69 + .../plugins/jquery-ui/ui.button.jquery.json | 66 + .../plugins/jquery-ui/ui.core.jquery.json | 61 + .../plugins/jquery-ui/ui.datepicker.jquery.json | 66 + .../plugins/jquery-ui/ui.dialog.jquery.json | 70 + .../plugins/jquery-ui/ui.draggable.jquery.json | 66 + .../plugins/jquery-ui/ui.droppable.jquery.json | 67 + .../plugins/jquery-ui/ui.effect-blind.jquery.json | 65 + .../plugins/jquery-ui/ui.effect-bounce.jquery.json | 65 + .../plugins/jquery-ui/ui.effect-clip.jquery.json | 65 + .../plugins/jquery-ui/ui.effect-drop.jquery.json | 65 + .../jquery-ui/ui.effect-explode.jquery.json | 65 + .../plugins/jquery-ui/ui.effect-fade.jquery.json | 65 + .../plugins/jquery-ui/ui.effect-fold.jquery.json | 65 + .../jquery-ui/ui.effect-highlight.jquery.json | 65 + .../jquery-ui/ui.effect-pulsate.jquery.json | 65 + .../plugins/jquery-ui/ui.effect-scale.jquery.json | 65 + .../plugins/jquery-ui/ui.effect-shake.jquery.json | 65 + .../plugins/jquery-ui/ui.effect-slide.jquery.json | 65 + .../jquery-ui/ui.effect-transfer.jquery.json | 63 + .../plugins/jquery-ui/ui.effect.jquery.json | 68 + .../plugins/jquery-ui/ui.menu.jquery.json | 66 + .../plugins/jquery-ui/ui.mouse.jquery.json | 64 + .../plugins/jquery-ui/ui.position.jquery.json | 66 + .../plugins/jquery-ui/ui.progressbar.jquery.json | 65 + .../plugins/jquery-ui/ui.resizable.jquery.json | 65 + .../plugins/jquery-ui/ui.selectable.jquery.json | 65 + .../plugins/jquery-ui/ui.slider.jquery.json | 67 + .../plugins/jquery-ui/ui.sortable.jquery.json | 66 + .../plugins/jquery-ui/ui.spinner.jquery.json | 68 + .../plugins/jquery-ui/ui.tabs.jquery.json | 67 + .../plugins/jquery-ui/ui.tooltip.jquery.json | 64 + .../plugins/jquery-ui/ui.widget.jquery.json | 64 + .../staticfiles/plugins/jquery-ui/ui/.jshintrc | 22 + .../plugins/jquery-ui/ui/i18n/jquery-ui-i18n.js | 1793 +++ .../jquery-ui/ui/i18n/jquery.ui.datepicker-af.js | 23 + .../ui/i18n/jquery.ui.datepicker-ar-DZ.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-az.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-be.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js | 24 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js | 23 + .../ui/i18n/jquery.ui.datepicker-cy-GB.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-da.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-de.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-el.js | 23 + .../ui/i18n/jquery.ui.datepicker-en-AU.js | 23 + .../ui/i18n/jquery.ui.datepicker-en-GB.js | 23 + .../ui/i18n/jquery.ui.datepicker-en-NZ.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-es.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-et.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js | 59 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js | 23 + .../ui/i18n/jquery.ui.datepicker-fr-CA.js | 23 + .../ui/i18n/jquery.ui.datepicker-fr-CH.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js | 25 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-he.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-hi.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-id.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-is.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-it.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ka.js | 21 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-kk.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-km.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ky.js | 24 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-lb.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-mk.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-nb.js | 22 + .../ui/i18n/jquery.ui.datepicker-nl-BE.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-nn.js | 22 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-no.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js | 23 + .../ui/i18n/jquery.ui.datepicker-pt-BR.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js | 22 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js | 21 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js | 26 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js | 24 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js | 23 + .../ui/i18n/jquery.ui.datepicker-sr-SR.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-th.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js | 23 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js | 24 + .../jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js | 23 + .../ui/i18n/jquery.ui.datepicker-zh-CN.js | 23 + .../ui/i18n/jquery.ui.datepicker-zh-HK.js | 23 + .../ui/i18n/jquery.ui.datepicker-zh-TW.js | 23 + .../staticfiles/plugins/jquery-ui/ui/jquery-ui.js | 15003 +++++++++++++++++++ .../plugins/jquery-ui/ui/jquery.ui.accordion.js | 572 + .../plugins/jquery-ui/ui/jquery.ui.autocomplete.js | 610 + .../plugins/jquery-ui/ui/jquery.ui.button.js | 419 + .../plugins/jquery-ui/ui/jquery.ui.core.js | 320 + .../plugins/jquery-ui/ui/jquery.ui.datepicker.js | 2038 +++ .../plugins/jquery-ui/ui/jquery.ui.dialog.js | 808 + .../plugins/jquery-ui/ui/jquery.ui.draggable.js | 958 ++ .../plugins/jquery-ui/ui/jquery.ui.droppable.js | 372 + .../plugins/jquery-ui/ui/jquery.ui.effect-blind.js | 82 + .../jquery-ui/ui/jquery.ui.effect-bounce.js | 113 + .../plugins/jquery-ui/ui/jquery.ui.effect-clip.js | 67 + .../plugins/jquery-ui/ui/jquery.ui.effect-drop.js | 65 + .../jquery-ui/ui/jquery.ui.effect-explode.js | 97 + .../plugins/jquery-ui/ui/jquery.ui.effect-fade.js | 30 + .../plugins/jquery-ui/ui/jquery.ui.effect-fold.js | 76 + .../jquery-ui/ui/jquery.ui.effect-highlight.js | 50 + .../jquery-ui/ui/jquery.ui.effect-pulsate.js | 63 + .../plugins/jquery-ui/ui/jquery.ui.effect-scale.js | 318 + .../plugins/jquery-ui/ui/jquery.ui.effect-shake.js | 74 + .../plugins/jquery-ui/ui/jquery.ui.effect-slide.js | 64 + .../jquery-ui/ui/jquery.ui.effect-transfer.js | 47 + .../plugins/jquery-ui/ui/jquery.ui.effect.js | 1289 ++ .../plugins/jquery-ui/ui/jquery.ui.menu.js | 621 + .../plugins/jquery-ui/ui/jquery.ui.mouse.js | 169 + .../plugins/jquery-ui/ui/jquery.ui.position.js | 497 + .../plugins/jquery-ui/ui/jquery.ui.progressbar.js | 145 + .../plugins/jquery-ui/ui/jquery.ui.resizable.js | 968 ++ .../plugins/jquery-ui/ui/jquery.ui.selectable.js | 277 + .../plugins/jquery-ui/ui/jquery.ui.slider.js | 672 + .../plugins/jquery-ui/ui/jquery.ui.sortable.js | 1285 ++ .../plugins/jquery-ui/ui/jquery.ui.spinner.js | 493 + .../plugins/jquery-ui/ui/jquery.ui.tabs.js | 846 ++ .../plugins/jquery-ui/ui/jquery.ui.tooltip.js | 402 + .../plugins/jquery-ui/ui/jquery.ui.widget.js | 521 + .../ui/minified/i18n/jquery-ui-i18n.min.js | 6 + .../minified/i18n/jquery.ui.datepicker-af.min.js | 4 + .../i18n/jquery.ui.datepicker-ar-DZ.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ar.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-az.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-be.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-bg.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-bs.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ca.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-cs.min.js | 4 + .../i18n/jquery.ui.datepicker-cy-GB.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-da.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-de.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-el.min.js | 4 + .../i18n/jquery.ui.datepicker-en-AU.min.js | 4 + .../i18n/jquery.ui.datepicker-en-GB.min.js | 4 + .../i18n/jquery.ui.datepicker-en-NZ.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-eo.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-es.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-et.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-eu.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-fa.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-fi.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-fo.min.js | 4 + .../i18n/jquery.ui.datepicker-fr-CA.min.js | 4 + .../i18n/jquery.ui.datepicker-fr-CH.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-fr.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-gl.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-he.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-hi.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-hr.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-hu.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-hy.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-id.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-is.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-it.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ja.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ka.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-kk.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-km.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ko.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ky.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-lb.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-lt.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-lv.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-mk.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ml.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ms.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-nb.min.js | 4 + .../i18n/jquery.ui.datepicker-nl-BE.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-nl.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-nn.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-no.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-pl.min.js | 4 + .../i18n/jquery.ui.datepicker-pt-BR.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-pt.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-rm.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ro.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ru.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-sk.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-sl.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-sq.min.js | 4 + .../i18n/jquery.ui.datepicker-sr-SR.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-sr.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-sv.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-ta.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-th.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-tj.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-tr.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-uk.min.js | 4 + .../minified/i18n/jquery.ui.datepicker-vi.min.js | 4 + .../i18n/jquery.ui.datepicker-zh-CN.min.js | 4 + .../i18n/jquery.ui.datepicker-zh-HK.min.js | 4 + .../i18n/jquery.ui.datepicker-zh-TW.min.js | 4 + .../plugins/jquery-ui/ui/minified/jquery-ui.min.js | 12 + .../ui/minified/jquery.ui.accordion.min.js | 4 + .../ui/minified/jquery.ui.autocomplete.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.button.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.core.min.js | 4 + .../ui/minified/jquery.ui.datepicker.min.js | 5 + .../jquery-ui/ui/minified/jquery.ui.dialog.min.js | 4 + .../ui/minified/jquery.ui.draggable.min.js | 4 + .../ui/minified/jquery.ui.droppable.min.js | 4 + .../ui/minified/jquery.ui.effect-blind.min.js | 4 + .../ui/minified/jquery.ui.effect-bounce.min.js | 4 + .../ui/minified/jquery.ui.effect-clip.min.js | 4 + .../ui/minified/jquery.ui.effect-drop.min.js | 4 + .../ui/minified/jquery.ui.effect-explode.min.js | 4 + .../ui/minified/jquery.ui.effect-fade.min.js | 4 + .../ui/minified/jquery.ui.effect-fold.min.js | 4 + .../ui/minified/jquery.ui.effect-highlight.min.js | 4 + .../ui/minified/jquery.ui.effect-pulsate.min.js | 4 + .../ui/minified/jquery.ui.effect-scale.min.js | 4 + .../ui/minified/jquery.ui.effect-shake.min.js | 4 + .../ui/minified/jquery.ui.effect-slide.min.js | 4 + .../ui/minified/jquery.ui.effect-transfer.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.effect.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.menu.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.mouse.min.js | 4 + .../ui/minified/jquery.ui.position.min.js | 4 + .../ui/minified/jquery.ui.progressbar.min.js | 4 + .../ui/minified/jquery.ui.resizable.min.js | 4 + .../ui/minified/jquery.ui.selectable.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.slider.min.js | 4 + .../ui/minified/jquery.ui.sortable.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.spinner.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.tabs.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.tooltip.min.js | 4 + .../jquery-ui/ui/minified/jquery.ui.widget.min.js | 4 + .../staticfiles/plugins/moment/lang/ar-ma.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/ar.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/bg.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/br.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/ca.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/cs.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/cv.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/da.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/de.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/el.js | 4 + .../staticfiles/plugins/moment/lang/en-ca.js | 4 + .../staticfiles/plugins/moment/lang/en-gb.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/eo.js | 6 + 97suifangqa/staticfiles/plugins/moment/lang/es.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/et.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/eu.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/fa.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/fi.js | 4 + .../staticfiles/plugins/moment/lang/fr-ca.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/fr.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/gl.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/he.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/hi.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/hu.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/id.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/is.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/it.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/ja.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/ka.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/ko.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/lv.js | 4 + .../staticfiles/plugins/moment/lang/ms-my.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/nb.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/ne.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/nl.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/nn.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/pl.js | 4 + .../staticfiles/plugins/moment/lang/pt-br.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/pt.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/ro.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/ru.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/sk.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/sl.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/sq.js | 5 + 97suifangqa/staticfiles/plugins/moment/lang/sv.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/th.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/tr.js | 5 + .../staticfiles/plugins/moment/lang/tzm-la.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/tzm.js | 4 + 97suifangqa/staticfiles/plugins/moment/lang/uk.js | 5 + .../staticfiles/plugins/moment/lang/zh-cn.js | 4 + .../staticfiles/plugins/moment/lang/zh-tw.js | 4 + 97suifangqa/staticfiles/plugins/moment/langs.js | 3693 +++++ .../staticfiles/plugins/moment/langs.min.js | 3 + 97suifangqa/staticfiles/plugins/moment/moment.js | 1662 ++ .../staticfiles/plugins/moment/moment.min.js | 6 + 97suifangqa/staticfiles/plugins/moment/readme.md | 269 + .../staticfiles/plugins/qtip2/VERSION_2.1.1 | 0 .../staticfiles/plugins/qtip2/jquery.qtip.css | 623 + .../staticfiles/plugins/qtip2/jquery.qtip.js | 3400 +++++ .../staticfiles/plugins/qtip2/jquery.qtip.min.css | 2 + .../staticfiles/plugins/qtip2/jquery.qtip.min.js | 3 + .../staticfiles/plugins/qtip2/qtip.97suifang.css | 12 + 97suifangqa/staticfiles/plugins/thickbox/README | 20 + .../staticfiles/plugins/thickbox/VERSION_2.0 | 0 .../plugins/thickbox/images/loadingAnimation.gif | Bin 0 -> 7347 bytes .../plugins/thickbox/images/loadingAnimation2.gif | Bin 0 -> 5886 bytes .../plugins/thickbox/images/macFFBgHack.png | Bin 0 -> 207 bytes .../staticfiles/plugins/thickbox/thickbox.css | 135 + .../staticfiles/plugins/thickbox/thickbox.js | 321 + 1758 files changed, 246361 insertions(+), 243051 deletions(-) delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/datepicker.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/datepicker.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/calendar.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/calendar.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_100_f6f6f6_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_100_fdf5ce_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_65_ffffff_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_gloss-wave_35_f6a828_500x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_highlight-soft_100_eeeeee_1x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_highlight-soft_75_ffe45c_1x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-icons_ef8c08_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-icons_ffffff_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/datepicker/language-zh-CN.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/highcharts/highcharts-more.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/highcharts/highcharts.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/AUTHORS.txt delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/Gruntfile.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/MANIFEST delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/MIT-LICENSE.txt delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/README.md delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/collapsible.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/custom-icons.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/fillspace.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/hoverintent.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/no-auto-height.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/sortable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/categories.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/combobox.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/custom-data.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/folding.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/london.xml delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/maxheight.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple-remote.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-with-cache.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/search.php delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/xml.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/checkbox.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/icons.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/radio.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/splitbutton.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/toolbar.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/inline.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/demos.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/animated.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-confirmation.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-form.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-message.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/constrain-movement.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/cursor-style.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/delay-start.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/events.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/handle.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/revert.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/scroll.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/snap-to.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/sortable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/visual-feedback.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/photo-manager.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/easing.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/calendar.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on-tile.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-closed.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-open.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/icon-docs-info.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/pbar-ani.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/icons.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/cycler.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/earth.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/flight.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/rocket.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/indeterminate.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/label.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/animate.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/max-min.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/snap-to-grid.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/display-grid.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/serialize.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/colorpicker.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/hotelrooms.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/multiple-vertical.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range-vertical.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemax.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemin.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/side-scroll.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/slider-vertical.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/steps.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists-through-tabs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/delay-start.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/display-grid.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/empty-lists.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/items.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/placeholder.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/portlets.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/currency.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/decimal.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/latlong.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/overflow.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/time.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content1.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content2.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content3-slow.php delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/bottom.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/collapsible.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/manipulation.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/mouseover.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/sortable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/vertical.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content1.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content2.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-animation.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-content.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-style.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/forms.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/tracking.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/video-player.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/default.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.de-DE.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.ja-JP.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jquery.mousewheel.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jshint.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/jquery-1.9.1.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/package.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/index.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/index.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.1.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.2.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.3.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.4.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.7.1.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.7.2.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.7.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.8.0.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.8.1.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.8.2.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.8.3.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.9.0.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.9.1.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery.simulate.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/remote_object_array_labels.txt delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/remote_object_array_values.txt delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/remote_string_array.txt delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/core/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/core/core.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/core/core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/core/selector.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/images/calendar.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_deprecated.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_deprecated.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/effects/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/effects/effects.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/effects/effects_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/effects/effects_scale.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/images/jqueryui_32x32.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/position/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/position/position.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/position/position_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/qunit-composite.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/qunit-composite.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/images/test.jpg delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/subsuite.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/swarminject.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/data/test.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_test_helpers.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/testsuite.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_common.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_events.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_methods.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_options.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/widget.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/widget_animation.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/widget_core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/widget_extend.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/accordion/icons.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/addClass/queue.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/button.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/performance.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/accordion_tabs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/datepicker_dialog.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/dialog_widgets.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tabs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tooltips.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/animated.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/complex-dialogs.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/form.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/performance.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/all.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/scale.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/index.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/menu/menu.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position_feedback.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/theme.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/animations.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/tooltip.html delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/visual.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/calendar.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/calendar.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/ui-bg_glass_100_f6f6f6_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/ui-bg_glass_100_fdf5ce_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/ui-bg_glass_65_ffffff_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/ui-bg_gloss-wave_35_f6a828_500x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/ui-bg_highlight-soft_100_eeeeee_1x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/ui-bg_highlight-soft_75_ffe45c_1x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/ui-icons_ef8c08_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/images/ui-icons_ffffff_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/97suifang/jquery-ui.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/animated-overlay.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_222222_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_454545_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_888888_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery-ui.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.accordion.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.all.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.autocomplete.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.base.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.button.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.core.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.datepicker.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.dialog.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.menu.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.progressbar.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.resizable.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.selectable.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.slider.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.spinner.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.tabs.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.theme.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.tooltip.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/animated-overlay.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_222222_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_2e83ff_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_454545_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_888888_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_cd0a0a_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery-ui.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.accordion.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.autocomplete.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.button.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.core.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.datepicker.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.dialog.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.menu.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.progressbar.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.resizable.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.selectable.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.slider.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.spinner.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.tabs.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.theme.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.tooltip.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/animated-overlay.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/jquery-ui.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/jquery-ui.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/jquery.ui.theme.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/animated-overlay.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/jquery-ui.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/jquery-ui.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/jquery.ui.theme.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.accordion.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.autocomplete.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.button.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.core.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.datepicker.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.dialog.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.draggable.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.droppable.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-blind.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-bounce.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-clip.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-drop.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-explode.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-fade.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-fold.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-highlight.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-pulsate.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-scale.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-shake.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-slide.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-transfer.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.menu.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.mouse.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.position.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.progressbar.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.resizable.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.selectable.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.slider.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.sortable.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.spinner.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.tabs.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.tooltip.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.widget.jquery.json delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/.jshintrc delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery-ui-i18n.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-af.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ar-DZ.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-az.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-be.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-cy-GB.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-da.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-de.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-el.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-en-AU.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-en-NZ.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-es.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-et.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CA.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CH.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-he.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hi.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-id.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-is.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-it.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ka.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-kk.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-km.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ky.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-lb.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-mk.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nb.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nl-BE.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nn.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-no.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-pt-BR.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sr-SR.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-th.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-HK.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-TW.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery-ui.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.accordion.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.autocomplete.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.button.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.core.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.datepicker.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.dialog.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.draggable.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.droppable.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-blind.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-bounce.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-clip.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-drop.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-explode.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-fade.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-fold.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-highlight.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-pulsate.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-scale.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-shake.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-slide.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-transfer.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.menu.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.mouse.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.position.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.progressbar.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.resizable.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.selectable.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.slider.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.sortable.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.spinner.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.tabs.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.tooltip.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.widget.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery-ui-i18n.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-af.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ar-DZ.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ar.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-az.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-be.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-bg.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-bs.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ca.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-cs.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-cy-GB.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-da.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-de.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-el.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-en-GB.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-en-NZ.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-eo.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-es.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-et.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-eu.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fa.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fi.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fo.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fr-CA.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fr-CH.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fr.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-gl.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-he.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hi.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hr.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hu.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hy.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-id.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-is.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-it.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ja.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ka.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-kk.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-km.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ko.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ky.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-lb.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-lt.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-lv.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-mk.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ml.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ms.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nb.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nl-BE.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nl.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nn.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-no.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-pl.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-pt.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-rm.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ro.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ru.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sk.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sl.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sq.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sr-SR.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sr.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sv.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ta.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-th.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-tj.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-tr.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-uk.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-vi.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery-ui.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.accordion.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.autocomplete.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.button.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.core.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.datepicker.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.dialog.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.draggable.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.droppable.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-blind.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-bounce.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-clip.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-drop.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-explode.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-fade.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-fold.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-highlight.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-pulsate.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-scale.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-shake.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-slide.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-transfer.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.menu.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.mouse.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.position.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.progressbar.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.resizable.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.selectable.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.slider.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.sortable.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.spinner.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.tabs.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.tooltip.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.widget.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ar-ma.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ar.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/bg.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/br.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ca.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/cs.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/cv.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/da.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/de.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/el.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/en-ca.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/en-gb.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/eo.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/es.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/et.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/eu.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/fa.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/fi.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/fr-ca.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/fr.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/gl.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/he.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/hi.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/hu.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/id.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/is.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/it.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ja.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ka.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ko.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/lv.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ms-my.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/nb.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ne.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/nl.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/nn.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/pl.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/pt-br.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/pt.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ro.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/ru.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/sk.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/sl.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/sq.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/sv.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/th.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/tr.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/tzm-la.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/tzm.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/uk.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/zh-cn.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/lang/zh-tw.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/langs.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/langs.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/moment.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/moment.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/moment/readme.md delete mode 100644 97suifangqa/apps/indicator/static/plugins/qtip2/VERSION_2.1.1 delete mode 100644 97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.min.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.min.js delete mode 100644 97suifangqa/apps/indicator/static/plugins/qtip2/qtip.97suifang.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/README delete mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/VERSION_2.0 delete mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/images/loadingAnimation.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/images/loadingAnimation2.gif delete mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/images/macFFBgHack.png delete mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/thickbox.css delete mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/thickbox.js delete mode 100644 97suifangqa/apps/indicator/templatetags/__init__.py delete mode 100644 97suifangqa/apps/indicator/templatetags/dict_get.py delete mode 100644 97suifangqa/apps/indicator/templatetags/divisible_by.py create mode 100644 97suifangqa/apps/recommend/static/css/add_edit_blog_info.css create mode 100644 97suifangqa/apps/recommend/static/css/recommend_index.css create mode 100644 97suifangqa/apps/recommend/static/javascripts/add_edit_blog_info.js create mode 100644 97suifangqa/apps/recommend/templates/recommend/add_edit_blog_info.html create mode 100644 97suifangqa/apps/recommend/templates/recommend/add_edit_blog_info_error.html create mode 100644 97suifangqa/apps/recommend/templates/recommend/recommend_index.html create mode 100644 97suifangqa/apps/recommend/tools.py create mode 100644 97suifangqa/apps/utils/templatetags/__init__.py create mode 100644 97suifangqa/apps/utils/templatetags/dict_get.py create mode 100644 97suifangqa/apps/utils/templatetags/divisible_by.py create mode 100644 97suifangqa/apps/utils/tools.py create mode 100644 97suifangqa/staticfiles/images/down_arrow_select.jpg create mode 100644 97suifangqa/staticfiles/plugins/datepicker/datepicker.css create mode 100644 97suifangqa/staticfiles/plugins/datepicker/datepicker.js create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/calendar.gif create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/calendar.png create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_100_f6f6f6_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_100_fdf5ce_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_gloss-wave_35_f6a828_500x100.png create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_highlight-soft_100_eeeeee_1x100.png create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_highlight-soft_75_ffe45c_1x100.png create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/ui-icons_ef8c08_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/datepicker/images/ui-icons_ffffff_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/datepicker/language-zh-CN.js create mode 100644 97suifangqa/staticfiles/plugins/highcharts/highcharts-more.js create mode 100644 97suifangqa/staticfiles/plugins/highcharts/highcharts.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/AUTHORS.txt create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/Gruntfile.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/MANIFEST create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/MIT-LICENSE.txt create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/README.md create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/collapsible.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/custom-icons.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/fillspace.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/hoverintent.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/no-auto-height.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/sortable.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/addClass/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/addClass/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/animate/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/animate/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/categories.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/combobox.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/custom-data.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/folding.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/london.xml create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/maxheight.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/multiple-remote.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/multiple.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote-with-cache.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/search.php create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/xml.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/button/checkbox.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/button/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/button/icons.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/button/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/button/radio.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/button/splitbutton.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/button/toolbar.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/alt-field.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/animation.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/buttonbar.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/date-formats.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/date-range.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/icon-trigger.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/images/calendar.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/inline.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/localization.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/min-max.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/multiple-calendars.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/other-months.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/show-week.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/demos.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/animated.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-confirmation.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-form.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-message.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/constrain-movement.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/cursor-style.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/delay-start.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/events.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/handle.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/revert.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/scroll.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/snap-to.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/sortable.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/visual-feedback.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/accepted-elements.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/photo-manager.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/propagation.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/revert.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/shopping-cart.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/visual-feedback.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/easing.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/hide/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/hide/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/images/calendar.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-config-on-tile.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-config-on.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-spindown-closed.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-spindown-open.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/images/icon-docs-info.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/images/pbar-ani.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/icons.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/cycler.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/earth.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/flight.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/rocket.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/position/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/indeterminate.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/label.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/removeClass/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/removeClass/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/animate.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/aspect-ratio.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/constrain-area.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/delay-start.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/helper.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/max-min.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/snap-to-grid.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/synchronous-resize.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/textarea.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/visual-feedback.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/display-grid.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/serialize.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/show/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/show/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/colorpicker.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/hotelrooms.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/multiple-vertical.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range-vertical.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemax.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemin.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/side-scroll.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/slider-vertical.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/steps.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/connect-lists-through-tabs.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/connect-lists.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/delay-start.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/display-grid.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/empty-lists.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/items.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/placeholder.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/portlets.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/currency.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/decimal.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/latlong.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/overflow.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/time.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/switchClass/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/switchClass/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content1.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content2.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content3-slow.php create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/bottom.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/collapsible.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/manipulation.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/mouseover.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/sortable.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/vertical.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/toggle/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/toggle/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/toggleClass/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/toggleClass/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/ajax/content1.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/ajax/content2.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-animation.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-content.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-style.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/forms.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/tracking.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/video-player.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/widget/default.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/demos/widget/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.culture.de-DE.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.culture.ja-JP.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/external/jquery.mousewheel.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/external/jshint.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/external/qunit.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/external/qunit.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/jquery-1.9.1.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/package.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/index.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/index.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.6.1.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.6.2.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.6.3.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.6.4.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.6.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.7.1.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.7.2.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.7.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.8.0.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.8.1.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.8.2.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.8.3.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.9.0.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery-1.9.1.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/jquery.simulate.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/accordion/accordion.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/accordion/accordion_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/accordion/accordion_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/accordion/accordion_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/accordion/accordion_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/accordion/accordion_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/accordion/accordion_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/accordion/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/autocomplete.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/remote_object_array_labels.txt create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/remote_object_array_values.txt create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/autocomplete/remote_string_array.txt create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/button/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/button/button.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/button/button_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/button/button_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/button/button_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/button/button_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/button/button_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/core/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/core/core.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/core/core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/core/selector.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/datepicker/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/datepicker/datepicker.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/datepicker/datepicker_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/datepicker/datepicker_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/datepicker/datepicker_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/datepicker/datepicker_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/datepicker/datepicker_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/datepicker/datepicker_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/datepicker/images/calendar.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/dialog.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/dialog_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/dialog_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/dialog_deprecated.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/dialog_deprecated.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/dialog_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/dialog_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/dialog_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/dialog/dialog_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/draggable/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/draggable/draggable.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/draggable/draggable_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/draggable/draggable_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/draggable/draggable_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/draggable/draggable_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/draggable/draggable_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/draggable/draggable_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/droppable/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/droppable/droppable.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/droppable/droppable_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/droppable/droppable_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/droppable/droppable_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/droppable/droppable_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/droppable/droppable_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/droppable/droppable_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/effects/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/effects/effects.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/effects/effects_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/effects/effects_scale.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/images/jqueryui_32x32.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/menu/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/menu/menu.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/menu/menu_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/menu/menu_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/menu/menu_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/menu/menu_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/menu/menu_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/menu/menu_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/position/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/position/position.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/position/position_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/progressbar/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/progressbar/progressbar.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/progressbar/progressbar_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/progressbar/progressbar_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/progressbar/progressbar_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/progressbar/progressbar_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/progressbar/progressbar_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/qunit-composite.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/qunit-composite.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/resizable/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/resizable/images/test.jpg create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/resizable/resizable.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/resizable/resizable_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/resizable/resizable_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/resizable/resizable_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/resizable/resizable_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/resizable/resizable_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/resizable/resizable_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/selectable/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/selectable/selectable.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/selectable/selectable_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/selectable/selectable_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/selectable/selectable_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/selectable/selectable_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/selectable/selectable_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/slider/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/slider/slider.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/slider/slider_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/slider/slider_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/slider/slider_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/slider/slider_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/slider/slider_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/sortable/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/sortable/sortable.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/sortable/sortable_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/sortable/sortable_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/sortable/sortable_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/sortable/sortable_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/sortable/sortable_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/sortable/sortable_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/spinner/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/spinner/spinner.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/spinner/spinner_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/spinner/spinner_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/spinner/spinner_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/spinner/spinner_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/spinner/spinner_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/spinner/spinner_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/subsuite.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/swarminject.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tabs/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tabs/data/test.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tabs/tabs.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tabs/tabs_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tabs/tabs_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tabs/tabs_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tabs/tabs_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tabs/tabs_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tabs/tabs_test_helpers.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/testsuite.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tooltip/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tooltip/tooltip.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tooltip/tooltip_common.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tooltip/tooltip_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tooltip/tooltip_events.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tooltip/tooltip_methods.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/tooltip/tooltip_options.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/widget/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/widget/widget.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/widget/widget_animation.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/widget/widget_core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/unit/widget/widget_extend.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/accordion/icons.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/addClass/queue.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/button/button.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/button/performance.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/compound/accordion_tabs.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/compound/datepicker_dialog.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/compound/dialog_widgets.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/compound/draggable_accordion.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/compound/tabs_tabs.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/compound/tabs_tooltips.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/dialog/animated.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/dialog/complex-dialogs.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/dialog/form.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/dialog/performance.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/effects/all.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/effects/effects.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/effects/effects.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/effects/scale.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/index.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/menu/menu.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/position/position.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/position/position_feedback.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/theme.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/tooltip/animations.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/tooltip/tooltip.html create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/tests/visual/visual.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/calendar.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/calendar.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/ui-bg_glass_100_f6f6f6_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/ui-bg_glass_100_fdf5ce_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/ui-bg_gloss-wave_35_f6a828_500x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/ui-bg_highlight-soft_100_eeeeee_1x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/ui-bg_highlight-soft_75_ffe45c_1x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/ui-icons_ef8c08_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/images/ui-icons_ffffff_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/97suifang/jquery-ui.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/animated-overlay.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-icons_222222_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-icons_454545_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-icons_888888_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery-ui.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.accordion.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.all.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.autocomplete.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.base.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.button.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.core.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.datepicker.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.dialog.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.menu.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.progressbar.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.resizable.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.selectable.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.slider.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.spinner.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.tabs.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.theme.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/jquery.ui.tooltip.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/animated-overlay.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-icons_222222_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-icons_2e83ff_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-icons_454545_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-icons_888888_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/images/ui-icons_cd0a0a_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery-ui.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.accordion.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.autocomplete.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.button.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.core.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.datepicker.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.dialog.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.menu.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.progressbar.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.resizable.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.selectable.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.slider.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.spinner.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.tabs.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.theme.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/base/minified/jquery.ui.tooltip.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/animated-overlay.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/jquery-ui.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/jquery-ui.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/smoothness/jquery.ui.theme.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/animated-overlay.gif create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/jquery-ui.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/jquery-ui.min.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/themes/ui-lightness/jquery.ui.theme.css create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.accordion.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.autocomplete.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.button.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.core.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.datepicker.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.dialog.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.draggable.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.droppable.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-blind.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-bounce.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-clip.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-drop.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-explode.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-fade.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-fold.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-highlight.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-pulsate.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-scale.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-shake.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-slide.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect-transfer.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.effect.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.menu.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.mouse.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.position.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.progressbar.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.resizable.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.selectable.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.slider.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.sortable.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.spinner.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.tabs.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.tooltip.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui.widget.jquery.json create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/.jshintrc create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery-ui-i18n.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-af.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ar-DZ.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-az.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-be.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-cy-GB.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-da.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-de.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-el.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-en-AU.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-en-NZ.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-es.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-et.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CA.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CH.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-he.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hi.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-id.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-is.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-it.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ka.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-kk.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-km.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ky.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-lb.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-mk.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nb.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nl-BE.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nn.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-no.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-pt-BR.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sr-SR.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-th.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-HK.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-TW.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery-ui.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.accordion.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.autocomplete.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.button.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.core.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.datepicker.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.dialog.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.draggable.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.droppable.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-blind.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-bounce.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-clip.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-drop.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-explode.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-fade.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-fold.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-highlight.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-pulsate.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-scale.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-shake.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-slide.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect-transfer.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.effect.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.menu.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.mouse.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.position.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.progressbar.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.resizable.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.selectable.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.slider.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.sortable.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.spinner.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.tabs.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.tooltip.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/jquery.ui.widget.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery-ui-i18n.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-af.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ar-DZ.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ar.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-az.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-be.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-bg.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-bs.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ca.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-cs.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-cy-GB.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-da.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-de.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-el.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-en-GB.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-en-NZ.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-eo.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-es.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-et.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-eu.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fa.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fi.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fo.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fr-CA.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fr-CH.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fr.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-gl.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-he.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hi.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hr.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hu.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hy.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-id.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-is.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-it.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ja.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ka.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-kk.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-km.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ko.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ky.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-lb.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-lt.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-lv.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-mk.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ml.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ms.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nb.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nl-BE.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nl.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nn.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-no.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-pl.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-pt.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-rm.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ro.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ru.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sk.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sl.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sq.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sr-SR.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sr.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sv.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ta.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-th.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-tj.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-tr.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-uk.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-vi.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery-ui.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.accordion.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.autocomplete.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.button.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.core.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.datepicker.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.dialog.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.draggable.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.droppable.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-blind.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-bounce.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-clip.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-drop.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-explode.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-fade.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-fold.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-highlight.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-pulsate.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-scale.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-shake.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-slide.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect-transfer.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.effect.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.menu.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.mouse.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.position.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.progressbar.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.resizable.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.selectable.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.slider.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.sortable.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.spinner.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.tabs.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.tooltip.min.js create mode 100644 97suifangqa/staticfiles/plugins/jquery-ui/ui/minified/jquery.ui.widget.min.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ar-ma.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ar.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/bg.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/br.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ca.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/cs.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/cv.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/da.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/de.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/el.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/en-ca.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/en-gb.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/eo.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/es.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/et.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/eu.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/fa.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/fi.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/fr-ca.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/fr.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/gl.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/he.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/hi.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/hu.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/id.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/is.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/it.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ja.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ka.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ko.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/lv.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ms-my.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/nb.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ne.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/nl.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/nn.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/pl.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/pt-br.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/pt.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ro.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/ru.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/sk.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/sl.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/sq.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/sv.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/th.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/tr.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/tzm-la.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/tzm.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/uk.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/zh-cn.js create mode 100644 97suifangqa/staticfiles/plugins/moment/lang/zh-tw.js create mode 100644 97suifangqa/staticfiles/plugins/moment/langs.js create mode 100644 97suifangqa/staticfiles/plugins/moment/langs.min.js create mode 100644 97suifangqa/staticfiles/plugins/moment/moment.js create mode 100644 97suifangqa/staticfiles/plugins/moment/moment.min.js create mode 100644 97suifangqa/staticfiles/plugins/moment/readme.md create mode 100644 97suifangqa/staticfiles/plugins/qtip2/VERSION_2.1.1 create mode 100644 97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.css create mode 100644 97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.js create mode 100644 97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.min.css create mode 100644 97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.min.js create mode 100644 97suifangqa/staticfiles/plugins/qtip2/qtip.97suifang.css create mode 100644 97suifangqa/staticfiles/plugins/thickbox/README create mode 100644 97suifangqa/staticfiles/plugins/thickbox/VERSION_2.0 create mode 100644 97suifangqa/staticfiles/plugins/thickbox/images/loadingAnimation.gif create mode 100644 97suifangqa/staticfiles/plugins/thickbox/images/loadingAnimation2.gif create mode 100644 97suifangqa/staticfiles/plugins/thickbox/images/macFFBgHack.png create mode 100644 97suifangqa/staticfiles/plugins/thickbox/thickbox.css create mode 100644 97suifangqa/staticfiles/plugins/thickbox/thickbox.js diff --git a/97suifangqa/.gitignore b/97suifangqa/.gitignore index 7ce08cc..2d2fae0 100644 --- a/97suifangqa/.gitignore +++ b/97suifangqa/.gitignore @@ -9,3 +9,5 @@ syntax: glob env/env backup/ +apps/*/fixtures_bak/ + diff --git a/97suifangqa/apps/indicator/models.py b/97suifangqa/apps/indicator/models.py index 4d95db0..87cd80f 100644 --- a/97suifangqa/apps/indicator/models.py +++ b/97suifangqa/apps/indicator/models.py @@ -1014,50 +1014,6 @@ class StatisticalConfine(models.Model): # {{{ # }}} -#class UnitLabSheet(models.Model): # {{{ -# -# equipment = models.CharField(u"化验设备", max_length=100, null=True, blank= True) -# #figure = models.OneToOneField("figure.Figure", verbose_name=u"图片", related_name="unitlabsheet") -# unit_standard = models.ForeignKey("UnitStandard", verbose_name = u"单位标准", related_name="unit_lab_sheets", null=True, blank=True) -# -# class Meta: -# verbose_name_plural = u"标准化验单" -# -# def __unicode__(self): -# return "< UnitLabSheet: %s >" % self.id -## }}} - - -#class ReviseReason(models.Model): # {{{ -# """ -# 记录 IndicatorRecord 数据修改原因 -# 医学数据重要且要求准确,不可随意修改 -# ReviseReason 添加后不允许再修改? -# """ -# # TODO: 中文支持 -# content = models.TextField(u"内容") -# created_at = models.DateTimeField(u"创建时间", -# editable=False, auto_now_add=True) -# user = models.ForeignKey(User, verbose_name=u"用户") -# -# class Meta: -# verbose_name_plural=u"指标记录修改原因" -# -# def __unicode__(self): -# return u"< ReviseReason: %s, %s >" % (self.id, -# self.user.username) -# -# def dump(self, **kwargs): -# dump_data = { -# 'id': self.id, -# 'content': self.content, -# 'created_at': self.created_at.isoformat(), -# 'user_id': self.user.id, -# } -# return dump_data -## }}} - - class RelatedIndicator(models.Model): # {{{ """ 记录 blog/annotation 与哪些 indicator 关联, @@ -1073,8 +1029,8 @@ class RelatedIndicator(models.Model): # {{{ ANNOTATION_TYPE = 'AN' BLOG_TYPE = 'BL' OBJECT_TYPES = ( - (ANNOTATION_TYPE, '文章注释'), - (BLOG_TYPE, '文章'), + (ANNOTATION_TYPE, u'文章注释'), + (BLOG_TYPE, u'文章'), ) objectType = models.CharField(u"待关联目标类型", max_length=2, choices=OBJECT_TYPES) @@ -1177,8 +1133,6 @@ admin.site.register([ Unit, InnateConfine, StatisticalConfine, - #UnitLabSheet, - #ReviseReason, RelatedIndicator, ]) diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/datepicker.css b/97suifangqa/apps/indicator/static/plugins/datepicker/datepicker.css deleted file mode 100644 index 45b7bfc..0000000 --- a/97suifangqa/apps/indicator/static/plugins/datepicker/datepicker.css +++ /dev/null @@ -1,383 +0,0 @@ -/* - * jQuery UI CSS Framework 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - */ - -/* Layout helpers -----------------------------------*/ -.ui-helper-hidden { display: none; } -.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } -.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } -.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } -.ui-helper-clearfix:after { clear: both; } -.ui-helper-clearfix { zoom: 1; } -.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } - - -/* Interaction Cues -----------------------------------*/ -.ui-state-disabled { cursor: default !important; } - - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } - - -/* Misc visuals -----------------------------------*/ - -/* Overlays */ -.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } - - -/* - * jQuery UI CSS Framework 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Theming/API - * - * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px - */ - - -/* Component containers -----------------------------------*/ -.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; } -.ui-widget .ui-widget { font-size: 1em; } -.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; } -.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; } -.ui-widget-content a { color: #333333; } -.ui-widget-header { border: 1px solid #b8db71; background: #99CC33; color: #ffffff; font-weight: bold; } -.ui-widget-header a { color: #ffffff; } - -/* Interaction states -----------------------------------*/ -.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #4c4948; } -.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; } -.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #006699; background: #cce0eb; font-weight: bold; color: #006699; } -.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; } -.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; } -.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; } -.ui-widget :active { outline: none; } - -/* Interaction Cues -----------------------------------*/ -.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; } -.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } -.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; } -.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; } -.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; } -.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } -.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } -.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } - -/* Icons -----------------------------------*/ - -/* states and images */ -.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } -.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } -.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } -.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); } -.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } -.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } -.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); } -.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); } - -/* positioning */ -.ui-icon-carat-1-n { background-position: 0 0; } -.ui-icon-carat-1-ne { background-position: -16px 0; } -.ui-icon-carat-1-e { background-position: -32px 0; } -.ui-icon-carat-1-se { background-position: -48px 0; } -.ui-icon-carat-1-s { background-position: -64px 0; } -.ui-icon-carat-1-sw { background-position: -80px 0; } -.ui-icon-carat-1-w { background-position: -96px 0; } -.ui-icon-carat-1-nw { background-position: -112px 0; } -.ui-icon-carat-2-n-s { background-position: -128px 0; } -.ui-icon-carat-2-e-w { background-position: -144px 0; } -.ui-icon-triangle-1-n { background-position: 0 -16px; } -.ui-icon-triangle-1-ne { background-position: -16px -16px; } -.ui-icon-triangle-1-e { background-position: -32px -16px; } -.ui-icon-triangle-1-se { background-position: -48px -16px; } -.ui-icon-triangle-1-s { background-position: -64px -16px; } -.ui-icon-triangle-1-sw { background-position: -80px -16px; } -.ui-icon-triangle-1-w { background-position: -96px -16px; } -.ui-icon-triangle-1-nw { background-position: -112px -16px; } -.ui-icon-triangle-2-n-s { background-position: -128px -16px; } -.ui-icon-triangle-2-e-w { background-position: -144px -16px; } -.ui-icon-arrow-1-n { background-position: 0 -32px; } -.ui-icon-arrow-1-ne { background-position: -16px -32px; } -.ui-icon-arrow-1-e { background-position: -32px -32px; } -.ui-icon-arrow-1-se { background-position: -48px -32px; } -.ui-icon-arrow-1-s { background-position: -64px -32px; } -.ui-icon-arrow-1-sw { background-position: -80px -32px; } -.ui-icon-arrow-1-w { background-position: -96px -32px; } -.ui-icon-arrow-1-nw { background-position: -112px -32px; } -.ui-icon-arrow-2-n-s { background-position: -128px -32px; } -.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } -.ui-icon-arrow-2-e-w { background-position: -160px -32px; } -.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } -.ui-icon-arrowstop-1-n { background-position: -192px -32px; } -.ui-icon-arrowstop-1-e { background-position: -208px -32px; } -.ui-icon-arrowstop-1-s { background-position: -224px -32px; } -.ui-icon-arrowstop-1-w { background-position: -240px -32px; } -.ui-icon-arrowthick-1-n { background-position: 0 -48px; } -.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } -.ui-icon-arrowthick-1-e { background-position: -32px -48px; } -.ui-icon-arrowthick-1-se { background-position: -48px -48px; } -.ui-icon-arrowthick-1-s { background-position: -64px -48px; } -.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } -.ui-icon-arrowthick-1-w { background-position: -96px -48px; } -.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } -.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } -.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } -.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } -.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } -.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } -.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } -.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } -.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } -.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } -.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } -.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } -.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } -.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } -.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } -.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } -.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } -.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } -.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } -.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } -.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } -.ui-icon-arrow-4 { background-position: 0 -80px; } -.ui-icon-arrow-4-diag { background-position: -16px -80px; } -.ui-icon-extlink { background-position: -32px -80px; } -.ui-icon-newwin { background-position: -48px -80px; } -.ui-icon-refresh { background-position: -64px -80px; } -.ui-icon-shuffle { background-position: -80px -80px; } -.ui-icon-transfer-e-w { background-position: -96px -80px; } -.ui-icon-transferthick-e-w { background-position: -112px -80px; } -.ui-icon-folder-collapsed { background-position: 0 -96px; } -.ui-icon-folder-open { background-position: -16px -96px; } -.ui-icon-document { background-position: -32px -96px; } -.ui-icon-document-b { background-position: -48px -96px; } -.ui-icon-note { background-position: -64px -96px; } -.ui-icon-mail-closed { background-position: -80px -96px; } -.ui-icon-mail-open { background-position: -96px -96px; } -.ui-icon-suitcase { background-position: -112px -96px; } -.ui-icon-comment { background-position: -128px -96px; } -.ui-icon-person { background-position: -144px -96px; } -.ui-icon-print { background-position: -160px -96px; } -.ui-icon-trash { background-position: -176px -96px; } -.ui-icon-locked { background-position: -192px -96px; } -.ui-icon-unlocked { background-position: -208px -96px; } -.ui-icon-bookmark { background-position: -224px -96px; } -.ui-icon-tag { background-position: -240px -96px; } -.ui-icon-home { background-position: 0 -112px; } -.ui-icon-flag { background-position: -16px -112px; } -.ui-icon-calendar { background-position: -32px -112px; } -.ui-icon-cart { background-position: -48px -112px; } -.ui-icon-pencil { background-position: -64px -112px; } -.ui-icon-clock { background-position: -80px -112px; } -.ui-icon-disk { background-position: -96px -112px; } -.ui-icon-calculator { background-position: -112px -112px; } -.ui-icon-zoomin { background-position: -128px -112px; } -.ui-icon-zoomout { background-position: -144px -112px; } -.ui-icon-search { background-position: -160px -112px; } -.ui-icon-wrench { background-position: -176px -112px; } -.ui-icon-gear { background-position: -192px -112px; } -.ui-icon-heart { background-position: -208px -112px; } -.ui-icon-star { background-position: -224px -112px; } -.ui-icon-link { background-position: -240px -112px; } -.ui-icon-cancel { background-position: 0 -128px; } -.ui-icon-plus { background-position: -16px -128px; } -.ui-icon-plusthick { background-position: -32px -128px; } -.ui-icon-minus { background-position: -48px -128px; } -.ui-icon-minusthick { background-position: -64px -128px; } -.ui-icon-close { background-position: -80px -128px; } -.ui-icon-closethick { background-position: -96px -128px; } -.ui-icon-key { background-position: -112px -128px; } -.ui-icon-lightbulb { background-position: -128px -128px; } -.ui-icon-scissors { background-position: -144px -128px; } -.ui-icon-clipboard { background-position: -160px -128px; } -.ui-icon-copy { background-position: -176px -128px; } -.ui-icon-contact { background-position: -192px -128px; } -.ui-icon-image { background-position: -208px -128px; } -.ui-icon-video { background-position: -224px -128px; } -.ui-icon-script { background-position: -240px -128px; } -.ui-icon-alert { background-position: 0 -144px; } -.ui-icon-info { background-position: -16px -144px; } -.ui-icon-notice { background-position: -32px -144px; } -.ui-icon-help { background-position: -48px -144px; } -.ui-icon-check { background-position: -64px -144px; } -.ui-icon-bullet { background-position: -80px -144px; } -.ui-icon-radio-off { background-position: -96px -144px; } -.ui-icon-radio-on { background-position: -112px -144px; } -.ui-icon-pin-w { background-position: -128px -144px; } -.ui-icon-pin-s { background-position: -144px -144px; } -.ui-icon-play { background-position: 0 -160px; } -.ui-icon-pause { background-position: -16px -160px; } -.ui-icon-seek-next { background-position: -32px -160px; } -.ui-icon-seek-prev { background-position: -48px -160px; } -.ui-icon-seek-end { background-position: -64px -160px; } -.ui-icon-seek-start { background-position: -80px -160px; } -/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ -.ui-icon-seek-first { background-position: -80px -160px; } -.ui-icon-stop { background-position: -96px -160px; } -.ui-icon-eject { background-position: -112px -160px; } -.ui-icon-volume-off { background-position: -128px -160px; } -.ui-icon-volume-on { background-position: -144px -160px; } -.ui-icon-power { background-position: 0 -176px; } -.ui-icon-signal-diag { background-position: -16px -176px; } -.ui-icon-signal { background-position: -32px -176px; } -.ui-icon-battery-0 { background-position: -48px -176px; } -.ui-icon-battery-1 { background-position: -64px -176px; } -.ui-icon-battery-2 { background-position: -80px -176px; } -.ui-icon-battery-3 { background-position: -96px -176px; } -.ui-icon-circle-plus { background-position: 0 -192px; } -.ui-icon-circle-minus { background-position: -16px -192px; } -.ui-icon-circle-close { background-position: -32px -192px; } -.ui-icon-circle-triangle-e { background-position: -48px -192px; } -.ui-icon-circle-triangle-s { background-position: -64px -192px; } -.ui-icon-circle-triangle-w { background-position: -80px -192px; } -.ui-icon-circle-triangle-n { background-position: -96px -192px; } -.ui-icon-circle-arrow-e { background-position: -112px -192px; } -.ui-icon-circle-arrow-s { background-position: -128px -192px; } -.ui-icon-circle-arrow-w { background-position: -144px -192px; } -.ui-icon-circle-arrow-n { background-position: -160px -192px; } -.ui-icon-circle-zoomin { background-position: -176px -192px; } -.ui-icon-circle-zoomout { background-position: -192px -192px; } -.ui-icon-circle-check { background-position: -208px -192px; } -.ui-icon-circlesmall-plus { background-position: 0 -208px; } -.ui-icon-circlesmall-minus { background-position: -16px -208px; } -.ui-icon-circlesmall-close { background-position: -32px -208px; } -.ui-icon-squaresmall-plus { background-position: -48px -208px; } -.ui-icon-squaresmall-minus { background-position: -64px -208px; } -.ui-icon-squaresmall-close { background-position: -80px -208px; } -.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } -.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } -.ui-icon-grip-solid-vertical { background-position: -32px -224px; } -.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } -.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } -.ui-icon-grip-diagonal-se { background-position: -80px -224px; } - - -/* Misc visuals -----------------------------------*/ - -/* Corner radius */ -.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; } -.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } -.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } - -/* Overlays */ -.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); } -.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/* - * jQuery UI Resizable 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizable#theming - */ -.ui-resizable { position: relative;} -.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; } -.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } -.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } -.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } -.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } -.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } -.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } -.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } -.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } -.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* - * jQuery UI Selectable 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Selectable#theming - */ -.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } -/* - * jQuery UI Datepicker 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Datepicker#theming - */ -.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } -.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } -.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; cursor: pointer;} -.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } -.ui-datepicker .ui-datepicker-prev { left:2px; } -.ui-datepicker .ui-datepicker-next { right:2px; } -.ui-datepicker .ui-datepicker-prev-hover { left:1px; } -.ui-datepicker .ui-datepicker-next-hover { right:1px; } -.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } -.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } -.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } -.ui-datepicker select.ui-datepicker-month-year {width: 100%;} -.ui-datepicker select.ui-datepicker-month, -.ui-datepicker select.ui-datepicker-year { width: 49%;} -.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } -.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } -.ui-datepicker td { border: 0; padding: 1px; } -.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } -.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } -.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } -.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } - -/* with multiple calendars */ -.ui-datepicker.ui-datepicker-multi { width:auto; } -.ui-datepicker-multi .ui-datepicker-group { float:left; } -.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } -.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } -.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } -.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } -.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } -.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } -.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } - -/* RTL support */ -.ui-datepicker-rtl { direction: rtl; } -.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } -.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } -.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } -.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } -.ui-datepicker-rtl .ui-datepicker-group { float:right; } -.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } -.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } - -/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ -.ui-datepicker-cover { - display: none; /*sorry for IE5*/ - display/**/: block; /*sorry for IE5*/ - position: absolute; /*must have*/ - z-index: -1; /*must have*/ - filter: mask(); /*must have*/ - top: -4px; /*must have*/ - left: -4px; /*must have*/ - width: 200px; /*must have*/ - height: 200px; /*must have*/ -} \ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/datepicker.js b/97suifangqa/apps/indicator/static/plugins/datepicker/datepicker.js deleted file mode 100644 index 8370ab4..0000000 --- a/97suifangqa/apps/indicator/static/plugins/datepicker/datepicker.js +++ /dev/null @@ -1,5257 +0,0 @@ -/*! - * jQuery UI 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI - */ -(function(a, b) { - function d(b) { - return ! a(b).parents().andSelf().filter(function() { - return a.curCSS(this, "visibility") === "hidden" || a.expr.filters.hidden(this) - }).length - } - function c(b, c) { - var e = b.nodeName.toLowerCase(); - if ("area" === e) { - var f = b.parentNode, - g = f.name, - h; - if (!b.href || !g || f.nodeName.toLowerCase() !== "map") return ! 1; - h = a("img[usemap=#" + g + "]")[0]; - return !! h && d(h) - } - return (/input|select|textarea|button|object/.test(e) ? !b.disabled: "a" == e ? b.href || c: c) && d(b) - } - a.ui = a.ui || {}; - a.ui.version || (a.extend(a.ui, { - version: "1.8.18", - keyCode: { - ALT: 18, - BACKSPACE: 8, - CAPS_LOCK: 20, - COMMA: 188, - COMMAND: 91, - COMMAND_LEFT: 91, - COMMAND_RIGHT: 93, - CONTROL: 17, - DELETE: 46, - DOWN: 40, - END: 35, - ENTER: 13, - ESCAPE: 27, - HOME: 36, - INSERT: 45, - LEFT: 37, - MENU: 93, - NUMPAD_ADD: 107, - NUMPAD_DECIMAL: 110, - NUMPAD_DIVIDE: 111, - NUMPAD_ENTER: 108, - NUMPAD_MULTIPLY: 106, - NUMPAD_SUBTRACT: 109, - PAGE_DOWN: 34, - PAGE_UP: 33, - PERIOD: 190, - RIGHT: 39, - SHIFT: 16, - SPACE: 32, - TAB: 9, - UP: 38, - WINDOWS: 91 - } - }), a.fn.extend({ - propAttr: a.fn.prop || a.fn.attr, - _focus: a.fn.focus, - focus: function(b, c) { - return typeof b == "number" ? this.each(function() { - var d = this; - setTimeout(function() { - a(d).focus(), - c && c.call(d) - }, - b) - }) : this._focus.apply(this, arguments) - }, - scrollParent: function() { - var b; - a.browser.msie && /(static|relative)/.test(this.css("position")) || /absolute/.test(this.css("position")) ? b = this.parents().filter(function() { - return /(relative|absolute|fixed)/.test(a.curCSS(this, "position", 1)) && /(auto|scroll)/.test(a.curCSS(this, "overflow", 1) + a.curCSS(this, "overflow-y", 1) + a.curCSS(this, "overflow-x", 1)) - }).eq(0) : b = this.parents().filter(function() { - return /(auto|scroll)/.test(a.curCSS(this, "overflow", 1) + a.curCSS(this, "overflow-y", 1) + a.curCSS(this, "overflow-x", 1)) - }).eq(0); - return /fixed/.test(this.css("position")) || !b.length ? a(document) : b - }, - zIndex: function(c) { - if (c !== b) return this.css("zIndex", c); - if (this.length) { - var d = a(this[0]), - e, - f; - while (d.length && d[0] !== document) { - e = d.css("position"); - if (e === "absolute" || e === "relative" || e === "fixed") { - f = parseInt(d.css("zIndex"), 10); - if (!isNaN(f) && f !== 0) return f - } - d = d.parent() - } - } - return 0 - }, - disableSelection: function() { - return this.bind((a.support.selectstart ? "selectstart": "mousedown") + ".ui-disableSelection", - function(a) { - a.preventDefault() - }) - }, - enableSelection: function() { - return this.unbind(".ui-disableSelection") - } - }), a.each(["Width", "Height"], - function(c, d) { - function h(b, c, d, f) { - a.each(e, - function() { - c -= parseFloat(a.curCSS(b, "padding" + this, !0)) || 0, - d && (c -= parseFloat(a.curCSS(b, "border" + this + "Width", !0)) || 0), - f && (c -= parseFloat(a.curCSS(b, "margin" + this, !0)) || 0) - }); - return c - } - var e = d === "Width" ? ["Left", "Right"] : ["Top", "Bottom"], - f = d.toLowerCase(), - g = { - innerWidth: a.fn.innerWidth, - innerHeight: a.fn.innerHeight, - outerWidth: a.fn.outerWidth, - outerHeight: a.fn.outerHeight - }; - a.fn["inner" + d] = function(c) { - if (c === b) return g["inner" + d].call(this); - return this.each(function() { - a(this).css(f, h(this, c) + "px") - }) - }, - a.fn["outer" + d] = function(b, c) { - if (typeof b != "number") return g["outer" + d].call(this, b); - return this.each(function() { - a(this).css(f, h(this, b, !0, c) + "px") - }) - } - }), a.extend(a.expr[":"], { - data: function(b, c, d) { - return !! a.data(b, d[3]) - }, - focusable: function(b) { - return c(b, !isNaN(a.attr(b, "tabindex"))) - }, - tabbable: function(b) { - var d = a.attr(b, "tabindex"), - e = isNaN(d); - return (e || d >= 0) && c(b, !e) - } - }), a(function() { - var b = document.body, - c = b.appendChild(c = document.createElement("div")); - c.offsetHeight, - a.extend(c.style, { - minHeight: "100px", - height: "auto", - padding: 0, - borderWidth: 0 - }), - a.support.minHeight = c.offsetHeight === 100, - a.support.selectstart = "onselectstart" in c, - b.removeChild(c).style.display = "none" - }), a.extend(a.ui, { - plugin: { - add: function(b, c, d) { - var e = a.ui[b].prototype; - for (var f in d) e.plugins[f] = e.plugins[f] || [], - e.plugins[f].push([c, d[f]]) - }, - call: function(a, b, c) { - var d = a.plugins[b]; - if ( !! d && !!a.element[0].parentNode) for (var e = 0; e < d.length; e++) a.options[d[e][0]] && d[e][1].apply(a.element, c) - } - }, - contains: function(a, b) { - return document.compareDocumentPosition ? a.compareDocumentPosition(b) & 16 : a !== b && a.contains(b) - }, - hasScroll: function(b, c) { - if (a(b).css("overflow") === "hidden") return ! 1; - var d = c && c === "left" ? "scrollLeft": "scrollTop", - e = !1; - if (b[d] > 0) return ! 0; - b[d] = 1, - e = b[d] > 0, - b[d] = 0; - return e - }, - isOverAxis: function(a, b, c) { - return a > b && a < b + c - }, - isOver: function(b, c, d, e, f, g) { - return a.ui.isOverAxis(b, d, f) && a.ui.isOverAxis(c, e, g) - } - })) -})(jQuery); -/*! - * jQuery UI Widget 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Widget - */ -(function(a, b) { - if (a.cleanData) { - var c = a.cleanData; - a.cleanData = function(b) { - for (var d = 0, - e; (e = b[d]) != null; d++) try { - a(e).triggerHandler("remove") - } catch(f) {} - c(b) - } - } else { - var d = a.fn.remove; - a.fn.remove = function(b, c) { - return this.each(function() { - c || (!b || a.filter(b, [this]).length) && a("*", this).add([this]).each(function() { - try { - a(this).triggerHandler("remove") - } catch(b) {} - }); - return d.call(a(this), b, c) - }) - } - } - a.widget = function(b, c, d) { - var e = b.split(".")[0], - f; - b = b.split(".")[1], - f = e + "-" + b, - d || (d = c, c = a.Widget), - a.expr[":"][f] = function(c) { - return !! a.data(c, b) - }, - a[e] = a[e] || {}, - a[e][b] = function(a, b) { - arguments.length && this._createWidget(a, b) - }; - var g = new c; - g.options = a.extend(!0, {}, - g.options), - a[e][b].prototype = a.extend(!0, g, { - namespace: e, - widgetName: b, - widgetEventPrefix: a[e][b].prototype.widgetEventPrefix || b, - widgetBaseClass: f - }, - d), - a.widget.bridge(b, a[e][b]) - }, - a.widget.bridge = function(c, d) { - a.fn[c] = function(e) { - var f = typeof e == "string", - g = Array.prototype.slice.call(arguments, 1), - h = this; - e = !f && g.length ? a.extend.apply(null, [!0, e].concat(g)) : e; - if (f && e.charAt(0) === "_") return h; - f ? this.each(function() { - var d = a.data(this, c), - f = d && a.isFunction(d[e]) ? d[e].apply(d, g) : d; - if (f !== d && f !== b) { - h = f; - return ! 1 - } - }) : this.each(function() { - var b = a.data(this, c); - b ? b.option(e || {})._init() : a.data(this, c, new d(e, this)) - }); - return h - } - }, - a.Widget = function(a, b) { - arguments.length && this._createWidget(a, b) - }, - a.Widget.prototype = { - widgetName: "widget", - widgetEventPrefix: "", - options: { - disabled: !1 - }, - _createWidget: function(b, c) { - a.data(c, this.widgetName, this), - this.element = a(c), - this.options = a.extend(!0, {}, - this.options, this._getCreateOptions(), b); - var d = this; - this.element.bind("remove." + this.widgetName, - function() { - d.destroy() - }), - this._create(), - this._trigger("create"), - this._init() - }, - _getCreateOptions: function() { - return a.metadata && a.metadata.get(this.element[0])[this.widgetName] - }, - _create: function() {}, - _init: function() {}, - destroy: function() { - this.element.unbind("." + this.widgetName).removeData(this.widgetName), - this.widget().unbind("." + this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass + "-disabled " + "ui-state-disabled") - }, - widget: function() { - return this.element - }, - option: function(c, d) { - var e = c; - if (arguments.length === 0) return a.extend({}, - this.options); - if (typeof c == "string") { - if (d === b) return this.options[c]; - e = {}, - e[c] = d - } - this._setOptions(e); - return this - }, - _setOptions: function(b) { - var c = this; - a.each(b, - function(a, b) { - c._setOption(a, b) - }); - return this - }, - _setOption: function(a, b) { - this.options[a] = b, - a === "disabled" && this.widget()[b ? "addClass": "removeClass"](this.widgetBaseClass + "-disabled" + " " + "ui-state-disabled").attr("aria-disabled", b); - return this - }, - enable: function() { - return this._setOption("disabled", !1) - }, - disable: function() { - return this._setOption("disabled", !0) - }, - _trigger: function(b, c, d) { - var e, f, g = this.options[b]; - d = d || {}, - c = a.Event(c), - c.type = (b === this.widgetEventPrefix ? b: this.widgetEventPrefix + b).toLowerCase(), - c.target = this.element[0], - f = c.originalEvent; - if (f) for (e in f) e in c || (c[e] = f[e]); - this.element.trigger(c, d); - return ! (a.isFunction(g) && g.call(this.element[0], c, d) === !1 || c.isDefaultPrevented()) - } - } -})(jQuery); -/*! - * jQuery UI Mouse 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Mouse - * - * Depends: - * jquery.ui.widget.js - */ -(function(a, b) { - var c = !1; - a(document).mouseup(function(a) { - c = !1 - }), - a.widget("ui.mouse", { - options: { - cancel: ":input,option", - distance: 1, - delay: 0 - }, - _mouseInit: function() { - var b = this; - this.element.bind("mousedown." + this.widgetName, - function(a) { - return b._mouseDown(a) - }).bind("click." + this.widgetName, - function(c) { - if (!0 === a.data(c.target, b.widgetName + ".preventClickEvent")) { - a.removeData(c.target, b.widgetName + ".preventClickEvent"), - c.stopImmediatePropagation(); - return ! 1 - } - }), - this.started = !1 - }, - _mouseDestroy: function() { - this.element.unbind("." + this.widgetName) - }, - _mouseDown: function(b) { - if (!c) { - this._mouseStarted && this._mouseUp(b), - this._mouseDownEvent = b; - var d = this, - e = b.which == 1, - f = typeof this.options.cancel == "string" && b.target.nodeName ? a(b.target).closest(this.options.cancel).length: !1; - if (!e || f || !this._mouseCapture(b)) return ! 0; - this.mouseDelayMet = !this.options.delay, - this.mouseDelayMet || (this._mouseDelayTimer = setTimeout(function() { - d.mouseDelayMet = !0 - }, - this.options.delay)); - if (this._mouseDistanceMet(b) && this._mouseDelayMet(b)) { - this._mouseStarted = this._mouseStart(b) !== !1; - if (!this._mouseStarted) { - b.preventDefault(); - return ! 0 - } - } ! 0 === a.data(b.target, this.widgetName + ".preventClickEvent") && a.removeData(b.target, this.widgetName + ".preventClickEvent"), - this._mouseMoveDelegate = function(a) { - return d._mouseMove(a) - }, - this._mouseUpDelegate = function(a) { - return d._mouseUp(a) - }, - a(document).bind("mousemove." + this.widgetName, this._mouseMoveDelegate).bind("mouseup." + this.widgetName, this._mouseUpDelegate), - b.preventDefault(), - c = !0; - return ! 0 - } - }, - _mouseMove: function(b) { - if (a.browser.msie && !(document.documentMode >= 9) && !b.button) return this._mouseUp(b); - if (this._mouseStarted) { - this._mouseDrag(b); - return b.preventDefault() - } - this._mouseDistanceMet(b) && this._mouseDelayMet(b) && (this._mouseStarted = this._mouseStart(this._mouseDownEvent, b) !== !1, this._mouseStarted ? this._mouseDrag(b) : this._mouseUp(b)); - return ! this._mouseStarted - }, - _mouseUp: function(b) { - a(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate), - this._mouseStarted && (this._mouseStarted = !1, b.target == this._mouseDownEvent.target && a.data(b.target, this.widgetName + ".preventClickEvent", !0), this._mouseStop(b)); - return ! 1 - }, - _mouseDistanceMet: function(a) { - return Math.max(Math.abs(this._mouseDownEvent.pageX - a.pageX), Math.abs(this._mouseDownEvent.pageY - a.pageY)) >= this.options.distance - }, - _mouseDelayMet: function(a) { - return this.mouseDelayMet - }, - _mouseStart: function(a) {}, - _mouseDrag: function(a) {}, - _mouseStop: function(a) {}, - _mouseCapture: function(a) { - return ! 0 - } - }) -})(jQuery); -/* - * jQuery UI Position 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Position - */ -(function(a, b) { - a.ui = a.ui || {}; - var c = /left|center|right/, - d = /top|center|bottom/, - e = "center", - f = {}, - g = a.fn.position, - h = a.fn.offset; - a.fn.position = function(b) { - if (!b || !b.of) return g.apply(this, arguments); - b = a.extend({}, - b); - var h = a(b.of), - i = h[0], - j = (b.collision || "flip").split(" "), - k = b.offset ? b.offset.split(" ") : [0, 0], - l, - m, - n; - i.nodeType === 9 ? (l = h.width(), m = h.height(), n = { - top: 0, - left: 0 - }) : i.setTimeout ? (l = h.width(), m = h.height(), n = { - top: h.scrollTop(), - left: h.scrollLeft() - }) : i.preventDefault ? (b.at = "left top", l = m = 0, n = { - top: b.of.pageY, - left: b.of.pageX - }) : (l = h.outerWidth(), m = h.outerHeight(), n = h.offset()), - a.each(["my", "at"], - function() { - var a = (b[this] || "").split(" "); - a.length === 1 && (a = c.test(a[0]) ? a.concat([e]) : d.test(a[0]) ? [e].concat(a) : [e, e]), - a[0] = c.test(a[0]) ? a[0] : e, - a[1] = d.test(a[1]) ? a[1] : e, - b[this] = a - }), - j.length === 1 && (j[1] = j[0]), - k[0] = parseInt(k[0], 10) || 0, - k.length === 1 && (k[1] = k[0]), - k[1] = parseInt(k[1], 10) || 0, - b.at[0] === "right" ? n.left += l: b.at[0] === e && (n.left += l / 2), - b.at[1] === "bottom" ? n.top += m: b.at[1] === e && (n.top += m / 2), - n.left += k[0], - n.top += k[1]; - return this.each(function() { - var c = a(this), - d = c.outerWidth(), - g = c.outerHeight(), - h = parseInt(a.curCSS(this, "marginLeft", !0)) || 0, - i = parseInt(a.curCSS(this, "marginTop", !0)) || 0, - o = d + h + (parseInt(a.curCSS(this, "marginRight", !0)) || 0), - p = g + i + (parseInt(a.curCSS(this, "marginBottom", !0)) || 0), - q = a.extend({}, - n), - r; - b.my[0] === "right" ? q.left -= d: b.my[0] === e && (q.left -= d / 2), - b.my[1] === "bottom" ? q.top -= g: b.my[1] === e && (q.top -= g / 2), - f.fractions || (q.left = Math.round(q.left), q.top = Math.round(q.top)), - r = { - left: q.left - h, - top: q.top - i - }, - a.each(["left", "top"], - function(c, e) { - a.ui.position[j[c]] && a.ui.position[j[c]][e](q, { - targetWidth: l, - targetHeight: m, - elemWidth: d, - elemHeight: g, - collisionPosition: r, - collisionWidth: o, - collisionHeight: p, - offset: k, - my: b.my, - at: b.at - }) - }), - a.fn.bgiframe && c.bgiframe(), - c.offset(a.extend(q, { - using: b.using - })) - }) - }, - a.ui.position = { - fit: { - left: function(b, c) { - var d = a(window), - e = c.collisionPosition.left + c.collisionWidth - d.width() - d.scrollLeft(); - b.left = e > 0 ? b.left - e: Math.max(b.left - c.collisionPosition.left, b.left) - }, - top: function(b, c) { - var d = a(window), - e = c.collisionPosition.top + c.collisionHeight - d.height() - d.scrollTop(); - b.top = e > 0 ? b.top - e: Math.max(b.top - c.collisionPosition.top, b.top) - } - }, - flip: { - left: function(b, c) { - if (c.at[0] !== e) { - var d = a(window), - f = c.collisionPosition.left + c.collisionWidth - d.width() - d.scrollLeft(), - g = c.my[0] === "left" ? -c.elemWidth: c.my[0] === "right" ? c.elemWidth: 0, - h = c.at[0] === "left" ? c.targetWidth: -c.targetWidth, - i = -2 * c.offset[0]; - b.left += c.collisionPosition.left < 0 ? g + h + i: f > 0 ? g + h + i: 0 - } - }, - top: function(b, c) { - if (c.at[1] !== e) { - var d = a(window), - f = c.collisionPosition.top + c.collisionHeight - d.height() - d.scrollTop(), - g = c.my[1] === "top" ? -c.elemHeight: c.my[1] === "bottom" ? c.elemHeight: 0, - h = c.at[1] === "top" ? c.targetHeight: -c.targetHeight, - i = -2 * c.offset[1]; - b.top += c.collisionPosition.top < 0 ? g + h + i: f > 0 ? g + h + i: 0 - } - } - } - }, - a.offset.setOffset || (a.offset.setOffset = function(b, c) { / static / .test(a.curCSS(b, "position")) && (b.style.position = "relative"); - var d = a(b), - e = d.offset(), - f = parseInt(a.curCSS(b, "top", !0), 10) || 0, - g = parseInt(a.curCSS(b, "left", !0), 10) || 0, - h = { - top: c.top - e.top + f, - left: c.left - e.left + g - }; - "using" in c ? c.using.call(b, h) : d.css(h) - }, - a.fn.offset = function(b) { - var c = this[0]; - if (!c || !c.ownerDocument) return null; - if (b) return this.each(function() { - a.offset.setOffset(this, b) - }); - return h.call(this) - }), - function() { - var b = document.getElementsByTagName("body")[0], - c = document.createElement("div"), - d, - e, - g, - h, - i; - d = document.createElement(b ? "div": "body"), - g = { - visibility: "hidden", - width: 0, - height: 0, - border: 0, - margin: 0, - background: "none" - }, - b && a.extend(g, { - position: "absolute", - left: "-1000px", - top: "-1000px" - }); - for (var j in g) d.style[j] = g[j]; - d.appendChild(c), - e = b || document.documentElement, - e.insertBefore(d, e.firstChild), - c.style.cssText = "position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;", - h = a(c).offset(function(a, b) { - return b - }).offset(), - d.innerHTML = "", - e.removeChild(d), - i = h.top + h.left + (b ? 2e3: 0), - f.fractions = i > 21 && i < 22 - } () -})(jQuery); -/* - * jQuery UI Draggable 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Draggables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */ -(function(a, b) { - a.widget("ui.draggable", a.ui.mouse, { - widgetEventPrefix: "drag", - options: { - addClasses: !0, - appendTo: "parent", - axis: !1, - - connectToSortable: !1, - containment: !1, - cursor: "auto", - cursorAt: !1, - grid: !1, - handle: !1, - helper: "original", - iframeFix: !1, - opacity: !1, - refreshPositions: !1, - revert: !1, - revertDuration: 500, - scope: "default", - scroll: !0, - scrollSensitivity: 20, - scrollSpeed: 20, - snap: !1, - snapMode: "both", - snapTolerance: 20, - stack: !1, - zIndex: !1 - }, - _create: function() { - this.options.helper == "original" && !/^(?:r|a|f)/.test(this.element.css("position")) && (this.element[0].style.position = "relative"), - this.options.addClasses && this.element.addClass("ui-draggable"), - this.options.disabled && this.element.addClass("ui-draggable-disabled"), - this._mouseInit() - }, - destroy: function() { - if ( !! this.element.data("draggable")) { - this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"), - this._mouseDestroy(); - return this - } - }, - _mouseCapture: function(b) { - var c = this.options; - if (this.helper || c.disabled || a(b.target).is(".ui-resizable-handle")) return ! 1; - this.handle = this._getHandle(b); - if (!this.handle) return ! 1; - c.iframeFix && a(c.iframeFix === !0 ? "iframe": c.iframeFix).each(function() { - a('
').css({ - width: this.offsetWidth + "px", - height: this.offsetHeight + "px", - position: "absolute", - opacity: "0.001", - zIndex: 1e3 - }).css(a(this).offset()).appendTo("body") - }); - return ! 0 - }, - _mouseStart: function(b) { - var c = this.options; - this.helper = this._createHelper(b), - this._cacheHelperProportions(), - a.ui.ddmanager && (a.ui.ddmanager.current = this), - this._cacheMargins(), - this.cssPosition = this.helper.css("position"), - this.scrollParent = this.helper.scrollParent(), - this.offset = this.positionAbs = this.element.offset(), - this.offset = { - top: this.offset.top - this.margins.top, - left: this.offset.left - this.margins.left - }, - a.extend(this.offset, { - click: { - left: b.pageX - this.offset.left, - top: b.pageY - this.offset.top - }, - parent: this._getParentOffset(), - relative: this._getRelativeOffset() - }), - this.originalPosition = this.position = this._generatePosition(b), - this.originalPageX = b.pageX, - this.originalPageY = b.pageY, - c.cursorAt && this._adjustOffsetFromHelper(c.cursorAt), - c.containment && this._setContainment(); - if (this._trigger("start", b) === !1) { - this._clear(); - return ! 1 - } - this._cacheHelperProportions(), - a.ui.ddmanager && !c.dropBehaviour && a.ui.ddmanager.prepareOffsets(this, b), - this.helper.addClass("ui-draggable-dragging"), - this._mouseDrag(b, !0), - a.ui.ddmanager && a.ui.ddmanager.dragStart(this, b); - return ! 0 - }, - _mouseDrag: function(b, c) { - this.position = this._generatePosition(b), - this.positionAbs = this._convertPositionTo("absolute"); - if (!c) { - var d = this._uiHash(); - if (this._trigger("drag", b, d) === !1) { - this._mouseUp({}); - return ! 1 - } - this.position = d.position - } - if (!this.options.axis || this.options.axis != "y") this.helper[0].style.left = this.position.left + "px"; - if (!this.options.axis || this.options.axis != "x") this.helper[0].style.top = this.position.top + "px"; - a.ui.ddmanager && a.ui.ddmanager.drag(this, b); - return ! 1 - }, - _mouseStop: function(b) { - var c = !1; - a.ui.ddmanager && !this.options.dropBehaviour && (c = a.ui.ddmanager.drop(this, b)), - this.dropped && (c = this.dropped, this.dropped = !1); - if ((!this.element[0] || !this.element[0].parentNode) && this.options.helper == "original") return ! 1; - if (this.options.revert == "invalid" && !c || this.options.revert == "valid" && c || this.options.revert === !0 || a.isFunction(this.options.revert) && this.options.revert.call(this.element, c)) { - var d = this; - a(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), - function() { - d._trigger("stop", b) !== !1 && d._clear() - }) - } else this._trigger("stop", b) !== !1 && this._clear(); - return ! 1 - }, - _mouseUp: function(b) { - this.options.iframeFix === !0 && a("div.ui-draggable-iframeFix").each(function() { - this.parentNode.removeChild(this) - }), - a.ui.ddmanager && a.ui.ddmanager.dragStop(this, b); - return a.ui.mouse.prototype._mouseUp.call(this, b) - }, - cancel: function() { - this.helper.is(".ui-draggable-dragging") ? this._mouseUp({}) : this._clear(); - return this - }, - _getHandle: function(b) { - var c = !this.options.handle || !a(this.options.handle, this.element).length ? !0 : !1; - a(this.options.handle, this.element).find("*").andSelf().each(function() { - this == b.target && (c = !0) - }); - return c - }, - _createHelper: function(b) { - var c = this.options, - d = a.isFunction(c.helper) ? a(c.helper.apply(this.element[0], [b])) : c.helper == "clone" ? this.element.clone().removeAttr("id") : this.element; - d.parents("body").length || d.appendTo(c.appendTo == "parent" ? this.element[0].parentNode: c.appendTo), - d[0] != this.element[0] && !/(fixed|absolute)/.test(d.css("position")) && d.css("position", "absolute"); - return d - }, - _adjustOffsetFromHelper: function(b) { - typeof b == "string" && (b = b.split(" ")), - a.isArray(b) && (b = { - left: +b[0], - top: +b[1] || 0 - }), - "left" in b && (this.offset.click.left = b.left + this.margins.left), - "right" in b && (this.offset.click.left = this.helperProportions.width - b.right + this.margins.left), - "top" in b && (this.offset.click.top = b.top + this.margins.top), - "bottom" in b && (this.offset.click.top = this.helperProportions.height - b.bottom + this.margins.top) - }, - _getParentOffset: function() { - this.offsetParent = this.helper.offsetParent(); - var b = this.offsetParent.offset(); - this.cssPosition == "absolute" && this.scrollParent[0] != document && a.ui.contains(this.scrollParent[0], this.offsetParent[0]) && (b.left += this.scrollParent.scrollLeft(), b.top += this.scrollParent.scrollTop()); - if (this.offsetParent[0] == document.body || this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == "html" && a.browser.msie) b = { - top: 0, - left: 0 - }; - return { - top: b.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0), - left: b.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0) - } - }, - _getRelativeOffset: function() { - if (this.cssPosition == "relative") { - var a = this.element.position(); - return { - top: a.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(), - left: a.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft() - } - } - return { - top: 0, - left: 0 - } - }, - _cacheMargins: function() { - this.margins = { - left: parseInt(this.element.css("marginLeft"), 10) || 0, - top: parseInt(this.element.css("marginTop"), 10) || 0, - right: parseInt(this.element.css("marginRight"), 10) || 0, - bottom: parseInt(this.element.css("marginBottom"), 10) || 0 - } - }, - _cacheHelperProportions: function() { - this.helperProportions = { - width: this.helper.outerWidth(), - height: this.helper.outerHeight() - } - }, - _setContainment: function() { - var b = this.options; - b.containment == "parent" && (b.containment = this.helper[0].parentNode); - if (b.containment == "document" || b.containment == "window") this.containment = [b.containment == "document" ? 0 : a(window).scrollLeft() - this.offset.relative.left - this.offset.parent.left, b.containment == "document" ? 0 : a(window).scrollTop() - this.offset.relative.top - this.offset.parent.top, (b.containment == "document" ? 0 : a(window).scrollLeft()) + a(b.containment == "document" ? document: window).width() - this.helperProportions.width - this.margins.left, (b.containment == "document" ? 0 : a(window).scrollTop()) + (a(b.containment == "document" ? document: window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top]; - if (!/^(document|window|parent)$/.test(b.containment) && b.containment.constructor != Array) { - var c = a(b.containment), - d = c[0]; - if (!d) return; - var e = c.offset(), - f = a(d).css("overflow") != "hidden"; - this.containment = [(parseInt(a(d).css("borderLeftWidth"), 10) || 0) + (parseInt(a(d).css("paddingLeft"), 10) || 0), (parseInt(a(d).css("borderTopWidth"), 10) || 0) + (parseInt(a(d).css("paddingTop"), 10) || 0), (f ? Math.max(d.scrollWidth, d.offsetWidth) : d.offsetWidth) - (parseInt(a(d).css("borderLeftWidth"), 10) || 0) - (parseInt(a(d).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, (f ? Math.max(d.scrollHeight, d.offsetHeight) : d.offsetHeight) - (parseInt(a(d).css("borderTopWidth"), 10) || 0) - (parseInt(a(d).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top - this.margins.bottom], - this.relative_container = c - } else b.containment.constructor == Array && (this.containment = b.containment) - }, - _convertPositionTo: function(b, c) { - c || (c = this.position); - var d = b == "absolute" ? 1 : -1, - e = this.options, - f = this.cssPosition == "absolute" && (this.scrollParent[0] == document || !a.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent: this.scrollParent, - g = /(html|body)/i.test(f[0].tagName); - return { - top: c.top + this.offset.relative.top * d + this.offset.parent.top * d - (a.browser.safari && a.browser.version < 526 && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : g ? 0 : f.scrollTop()) * d), - left: c.left + this.offset.relative.left * d + this.offset.parent.left * d - (a.browser.safari && a.browser.version < 526 && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : g ? 0 : f.scrollLeft()) * d) - } - }, - _generatePosition: function(b) { - var c = this.options, - d = this.cssPosition == "absolute" && (this.scrollParent[0] == document || !a.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent: this.scrollParent, - e = /(html|body)/i.test(d[0].tagName), - f = b.pageX, - g = b.pageY; - if (this.originalPosition) { - var h; - if (this.containment) { - if (this.relative_container) { - var i = this.relative_container.offset(); - h = [this.containment[0] + i.left, this.containment[1] + i.top, this.containment[2] + i.left, this.containment[3] + i.top] - } else h = this.containment; - b.pageX - this.offset.click.left < h[0] && (f = h[0] + this.offset.click.left), - b.pageY - this.offset.click.top < h[1] && (g = h[1] + this.offset.click.top), - b.pageX - this.offset.click.left > h[2] && (f = h[2] + this.offset.click.left), - b.pageY - this.offset.click.top > h[3] && (g = h[3] + this.offset.click.top) - } - if (c.grid) { - var j = c.grid[1] ? this.originalPageY + Math.round((g - this.originalPageY) / c.grid[1]) * c.grid[1] : this.originalPageY; - g = h ? j - this.offset.click.top < h[1] || j - this.offset.click.top > h[3] ? j - this.offset.click.top < h[1] ? j + c.grid[1] : j - c.grid[1] : j: j; - var k = c.grid[0] ? this.originalPageX + Math.round((f - this.originalPageX) / c.grid[0]) * c.grid[0] : this.originalPageX; - f = h ? k - this.offset.click.left < h[0] || k - this.offset.click.left > h[2] ? k - this.offset.click.left < h[0] ? k + c.grid[0] : k - c.grid[0] : k: k - } - } - return { - top: g - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + (a.browser.safari && a.browser.version < 526 && this.cssPosition == "fixed" ? 0 : this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : e ? 0 : d.scrollTop()), - left: f - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + (a.browser.safari && a.browser.version < 526 && this.cssPosition == "fixed" ? 0 : this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : e ? 0 : d.scrollLeft()) - } - }, - _clear: function() { - this.helper.removeClass("ui-draggable-dragging"), - this.helper[0] != this.element[0] && !this.cancelHelperRemoval && this.helper.remove(), - this.helper = null, - this.cancelHelperRemoval = !1 - }, - _trigger: function(b, c, d) { - d = d || this._uiHash(), - a.ui.plugin.call(this, b, [c, d]), - b == "drag" && (this.positionAbs = this._convertPositionTo("absolute")); - return a.Widget.prototype._trigger.call(this, b, c, d) - }, - plugins: {}, - _uiHash: function(a) { - return { - helper: this.helper, - position: this.position, - originalPosition: this.originalPosition, - offset: this.positionAbs - } - } - }), - a.extend(a.ui.draggable, { - version: "1.8.18" - }), - a.ui.plugin.add("draggable", "connectToSortable", { - start: function(b, c) { - var d = a(this).data("draggable"), - e = d.options, - f = a.extend({}, - c, { - item: d.element - }); - d.sortables = [], - a(e.connectToSortable).each(function() { - var c = a.data(this, "sortable"); - c && !c.options.disabled && (d.sortables.push({ - instance: c, - shouldRevert: c.options.revert - }), c.refreshPositions(), c._trigger("activate", b, f)) - }) - }, - stop: function(b, c) { - var d = a(this).data("draggable"), - e = a.extend({}, - c, { - item: d.element - }); - a.each(d.sortables, - function() { - this.instance.isOver ? (this.instance.isOver = 0, d.cancelHelperRemoval = !0, this.instance.cancelHelperRemoval = !1, this.shouldRevert && (this.instance.options.revert = !0), this.instance._mouseStop(b), this.instance.options.helper = this.instance.options._helper, d.options.helper == "original" && this.instance.currentItem.css({ - top: "auto", - left: "auto" - })) : (this.instance.cancelHelperRemoval = !1, this.instance._trigger("deactivate", b, e)) - }) - }, - drag: function(b, c) { - var d = a(this).data("draggable"), - e = this, - f = function(b) { - var c = this.offset.click.top, - d = this.offset.click.left, - e = this.positionAbs.top, - f = this.positionAbs.left, - g = b.height, - h = b.width, - i = b.top, - j = b.left; - return a.ui.isOver(e + c, f + d, i, j, g, h) - }; - a.each(d.sortables, - function(f) { - this.instance.positionAbs = d.positionAbs, - this.instance.helperProportions = d.helperProportions, - this.instance.offset.click = d.offset.click, - this.instance._intersectsWith(this.instance.containerCache) ? (this.instance.isOver || (this.instance.isOver = 1, this.instance.currentItem = a(e).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item", !0), this.instance.options._helper = this.instance.options.helper, this.instance.options.helper = function() { - return c.helper[0] - }, - b.target = this.instance.currentItem[0], this.instance._mouseCapture(b, !0), this.instance._mouseStart(b, !0, !0), this.instance.offset.click.top = d.offset.click.top, this.instance.offset.click.left = d.offset.click.left, this.instance.offset.parent.left -= d.offset.parent.left - this.instance.offset.parent.left, this.instance.offset.parent.top -= d.offset.parent.top - this.instance.offset.parent.top, d._trigger("toSortable", b), d.dropped = this.instance.element, d.currentItem = d.element, this.instance.fromOutside = d), this.instance.currentItem && this.instance._mouseDrag(b)) : this.instance.isOver && (this.instance.isOver = 0, this.instance.cancelHelperRemoval = !0, this.instance.options.revert = !1, this.instance._trigger("out", b, this.instance._uiHash(this.instance)), this.instance._mouseStop(b, !0), this.instance.options.helper = this.instance.options._helper, this.instance.currentItem.remove(), this.instance.placeholder && this.instance.placeholder.remove(), d._trigger("fromSortable", b), d.dropped = !1) - }) - } - }), - a.ui.plugin.add("draggable", "cursor", { - start: function(b, c) { - var d = a("body"), - e = a(this).data("draggable").options; - d.css("cursor") && (e._cursor = d.css("cursor")), - d.css("cursor", e.cursor) - }, - stop: function(b, c) { - var d = a(this).data("draggable").options; - d._cursor && a("body").css("cursor", d._cursor) - } - }), - a.ui.plugin.add("draggable", "opacity", { - start: function(b, c) { - var d = a(c.helper), - e = a(this).data("draggable").options; - d.css("opacity") && (e._opacity = d.css("opacity")), - d.css("opacity", e.opacity) - }, - stop: function(b, c) { - var d = a(this).data("draggable").options; - d._opacity && a(c.helper).css("opacity", d._opacity) - } - }), - a.ui.plugin.add("draggable", "scroll", { - start: function(b, c) { - var d = a(this).data("draggable"); - d.scrollParent[0] != document && d.scrollParent[0].tagName != "HTML" && (d.overflowOffset = d.scrollParent.offset()) - }, - drag: function(b, c) { - var d = a(this).data("draggable"), - e = d.options, - f = !1; - if (d.scrollParent[0] != document && d.scrollParent[0].tagName != "HTML") { - if (!e.axis || e.axis != "x") d.overflowOffset.top + d.scrollParent[0].offsetHeight - b.pageY < e.scrollSensitivity ? d.scrollParent[0].scrollTop = f = d.scrollParent[0].scrollTop + e.scrollSpeed: b.pageY - d.overflowOffset.top < e.scrollSensitivity && (d.scrollParent[0].scrollTop = f = d.scrollParent[0].scrollTop - e.scrollSpeed); - if (!e.axis || e.axis != "y") d.overflowOffset.left + d.scrollParent[0].offsetWidth - b.pageX < e.scrollSensitivity ? d.scrollParent[0].scrollLeft = f = d.scrollParent[0].scrollLeft + e.scrollSpeed: b.pageX - d.overflowOffset.left < e.scrollSensitivity && (d.scrollParent[0].scrollLeft = f = d.scrollParent[0].scrollLeft - e.scrollSpeed) - } else { - if (!e.axis || e.axis != "x") b.pageY - a(document).scrollTop() < e.scrollSensitivity ? f = a(document).scrollTop(a(document).scrollTop() - e.scrollSpeed) : a(window).height() - (b.pageY - a(document).scrollTop()) < e.scrollSensitivity && (f = a(document).scrollTop(a(document).scrollTop() + e.scrollSpeed)); - if (!e.axis || e.axis != "y") b.pageX - a(document).scrollLeft() < e.scrollSensitivity ? f = a(document).scrollLeft(a(document).scrollLeft() - e.scrollSpeed) : a(window).width() - (b.pageX - a(document).scrollLeft()) < e.scrollSensitivity && (f = a(document).scrollLeft(a(document).scrollLeft() + e.scrollSpeed)) - } - f !== !1 && a.ui.ddmanager && !e.dropBehaviour && a.ui.ddmanager.prepareOffsets(d, b) - } - }), - a.ui.plugin.add("draggable", "snap", { - start: function(b, c) { - var d = a(this).data("draggable"), - e = d.options; - d.snapElements = [], - a(e.snap.constructor != String ? e.snap.items || ":data(draggable)": e.snap).each(function() { - var b = a(this), - c = b.offset(); - this != d.element[0] && d.snapElements.push({ - item: this, - width: b.outerWidth(), - height: b.outerHeight(), - top: c.top, - left: c.left - }) - }) - }, - drag: function(b, c) { - var d = a(this).data("draggable"), - e = d.options, - f = e.snapTolerance, - g = c.offset.left, - h = g + d.helperProportions.width, - i = c.offset.top, - j = i + d.helperProportions.height; - for (var k = d.snapElements.length - 1; k >= 0; k--) { - var l = d.snapElements[k].left, - m = l + d.snapElements[k].width, - n = d.snapElements[k].top, - o = n + d.snapElements[k].height; - if (! (l - f < g && g < m + f && n - f < i && i < o + f || l - f < g && g < m + f && n - f < j && j < o + f || l - f < h && h < m + f && n - f < i && i < o + f || l - f < h && h < m + f && n - f < j && j < o + f)) { - d.snapElements[k].snapping && d.options.snap.release && d.options.snap.release.call(d.element, b, a.extend(d._uiHash(), { - snapItem: d.snapElements[k].item - })), - d.snapElements[k].snapping = !1; - continue - } - if (e.snapMode != "inner") { - var p = Math.abs(n - j) <= f, - q = Math.abs(o - i) <= f, - r = Math.abs(l - h) <= f, - s = Math.abs(m - g) <= f; - p && (c.position.top = d._convertPositionTo("relative", { - top: n - d.helperProportions.height, - left: 0 - }).top - d.margins.top), - q && (c.position.top = d._convertPositionTo("relative", { - top: o, - left: 0 - }).top - d.margins.top), - r && (c.position.left = d._convertPositionTo("relative", { - top: 0, - left: l - d.helperProportions.width - }).left - d.margins.left), - s && (c.position.left = d._convertPositionTo("relative", { - top: 0, - left: m - }).left - d.margins.left) - } - var t = p || q || r || s; - if (e.snapMode != "outer") { - var p = Math.abs(n - i) <= f, - q = Math.abs(o - j) <= f, - r = Math.abs(l - g) <= f, - s = Math.abs(m - h) <= f; - p && (c.position.top = d._convertPositionTo("relative", { - top: n, - left: 0 - }).top - d.margins.top), - q && (c.position.top = d._convertPositionTo("relative", { - top: o - d.helperProportions.height, - left: 0 - }).top - d.margins.top), - r && (c.position.left = d._convertPositionTo("relative", { - top: 0, - left: l - }).left - d.margins.left), - s && (c.position.left = d._convertPositionTo("relative", { - top: 0, - left: m - d.helperProportions.width - }).left - d.margins.left) - } ! d.snapElements[k].snapping && (p || q || r || s || t) && d.options.snap.snap && d.options.snap.snap.call(d.element, b, a.extend(d._uiHash(), { - snapItem: d.snapElements[k].item - })), - d.snapElements[k].snapping = p || q || r || s || t - } - } - }), - a.ui.plugin.add("draggable", "stack", { - start: function(b, c) { - var d = a(this).data("draggable").options, - e = a.makeArray(a(d.stack)).sort(function(b, c) { - return (parseInt(a(b).css("zIndex"), 10) || 0) - (parseInt(a(c).css("zIndex"), 10) || 0) - }); - if ( !! e.length) { - var f = parseInt(e[0].style.zIndex) || 0; - a(e).each(function(a) { - this.style.zIndex = f + a - }), - this[0].style.zIndex = f + e.length - } - } - }), - a.ui.plugin.add("draggable", "zIndex", { - start: function(b, c) { - var d = a(c.helper), - e = a(this).data("draggable").options; - d.css("zIndex") && (e._zIndex = d.css("zIndex")), - d.css("zIndex", e.zIndex) - }, - stop: function(b, c) { - var d = a(this).data("draggable").options; - d._zIndex && a(c.helper).css("zIndex", d._zIndex) - } - }) -})(jQuery); -/* - * jQuery UI Droppable 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Droppables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.widget.js - * jquery.ui.mouse.js - * jquery.ui.draggable.js - */ -(function(a, b) { - a.widget("ui.droppable", { - widgetEventPrefix: "drop", - options: { - accept: "*", - activeClass: !1, - addClasses: !0, - greedy: !1, - hoverClass: !1, - scope: "default", - tolerance: "intersect" - }, - _create: function() { - var b = this.options, - c = b.accept; - this.isover = 0, - this.isout = 1, - this.accept = a.isFunction(c) ? c: function(a) { - return a.is(c) - }, - this.proportions = { - width: this.element[0].offsetWidth, - height: this.element[0].offsetHeight - }, - a.ui.ddmanager.droppables[b.scope] = a.ui.ddmanager.droppables[b.scope] || [], - a.ui.ddmanager.droppables[b.scope].push(this), - b.addClasses && this.element.addClass("ui-droppable") - }, - destroy: function() { - var b = a.ui.ddmanager.droppables[this.options.scope]; - for (var c = 0; c < b.length; c++) b[c] == this && b.splice(c, 1); - this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable"); - return this - }, - _setOption: function(b, c) { - b == "accept" && (this.accept = a.isFunction(c) ? c: function(a) { - return a.is(c) - }), - a.Widget.prototype._setOption.apply(this, arguments) - }, - _activate: function(b) { - var c = a.ui.ddmanager.current; - this.options.activeClass && this.element.addClass(this.options.activeClass), - c && this._trigger("activate", b, this.ui(c)) - }, - _deactivate: function(b) { - var c = a.ui.ddmanager.current; - this.options.activeClass && this.element.removeClass(this.options.activeClass), - c && this._trigger("deactivate", b, this.ui(c)) - }, - _over: function(b) { - var c = a.ui.ddmanager.current; !! c && (c.currentItem || c.element)[0] != this.element[0] && this.accept.call(this.element[0], c.currentItem || c.element) && (this.options.hoverClass && this.element.addClass(this.options.hoverClass), this._trigger("over", b, this.ui(c))) - }, - _out: function(b) { - var c = a.ui.ddmanager.current; !! c && (c.currentItem || c.element)[0] != this.element[0] && this.accept.call(this.element[0], c.currentItem || c.element) && (this.options.hoverClass && this.element.removeClass(this.options.hoverClass), this._trigger("out", b, this.ui(c))) - }, - _drop: function(b, c) { - var d = c || a.ui.ddmanager.current; - if (!d || (d.currentItem || d.element)[0] == this.element[0]) return ! 1; - var e = !1; - this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function() { - var b = a.data(this, "droppable"); - if (b.options.greedy && !b.options.disabled && b.options.scope == d.options.scope && b.accept.call(b.element[0], d.currentItem || d.element) && a.ui.intersect(d, a.extend(b, { - offset: b.element.offset() - }), b.options.tolerance)) { - e = !0; - return ! 1 - } - }); - if (e) return ! 1; - if (this.accept.call(this.element[0], d.currentItem || d.element)) { - this.options.activeClass && this.element.removeClass(this.options.activeClass), - this.options.hoverClass && this.element.removeClass(this.options.hoverClass), - this._trigger("drop", b, this.ui(d)); - return this.element - } - return ! 1 - }, - ui: function(a) { - return { - draggable: a.currentItem || a.element, - helper: a.helper, - position: a.position, - offset: a.positionAbs - } - } - }), - a.extend(a.ui.droppable, { - version: "1.8.18" - }), - a.ui.intersect = function(b, c, d) { - if (!c.offset) return ! 1; - var e = (b.positionAbs || b.position.absolute).left, - f = e + b.helperProportions.width, - g = (b.positionAbs || b.position.absolute).top, - h = g + b.helperProportions.height, - i = c.offset.left, - j = i + c.proportions.width, - k = c.offset.top, - l = k + c.proportions.height; - switch (d) { - case "fit": - return i <= e && f <= j && k <= g && h <= l; - case "intersect": - return i < e + b.helperProportions.width / 2 && f - b.helperProportions.width / 2 < j && k < g + b.helperProportions.height / 2 && h - b.helperProportions.height / 2 < l; - case "pointer": - var m = (b.positionAbs || b.position.absolute).left + (b.clickOffset || b.offset.click).left, - n = (b.positionAbs || b.position.absolute).top + (b.clickOffset || b.offset.click).top, - o = a.ui.isOver(n, m, k, i, c.proportions.height, c.proportions.width); - return o; - case "touch": - return (g >= k && g <= l || h >= k && h <= l || g < k && h > l) && (e >= i && e <= j || f >= i && f <= j || e < i && f > j); - default: - return ! 1 - } - }, - a.ui.ddmanager = { - current: null, - droppables: { - "default": [] - }, - prepareOffsets: function(b, c) { - var d = a.ui.ddmanager.droppables[b.options.scope] || [], - e = c ? c.type: null, - f = (b.currentItem || b.element).find(":data(droppable)").andSelf(); - droppablesLoop: for (var g = 0; g < d.length; g++) { - if (d[g].options.disabled || b && !d[g].accept.call(d[g].element[0], b.currentItem || b.element)) continue; - for (var h = 0; h < f.length; h++) if (f[h] == d[g].element[0]) { - d[g].proportions.height = 0; - continue droppablesLoop - } - d[g].visible = d[g].element.css("display") != "none"; - if (!d[g].visible) continue; - e == "mousedown" && d[g]._activate.call(d[g], c), - d[g].offset = d[g].element.offset(), - d[g].proportions = { - width: d[g].element[0].offsetWidth, - height: d[g].element[0].offsetHeight - } - } - }, - drop: function(b, c) { - var d = !1; - a.each(a.ui.ddmanager.droppables[b.options.scope] || [], - function() { ! this.options || (!this.options.disabled && this.visible && a.ui.intersect(b, this, this.options.tolerance) && (d = this._drop.call(this, c) || d), !this.options.disabled && this.visible && this.accept.call(this.element[0], b.currentItem || b.element) && (this.isout = 1, this.isover = 0, this._deactivate.call(this, c))) - }); - return d - }, - dragStart: function(b, c) { - b.element.parents(":not(body,html)").bind("scroll.droppable", - function() { - b.options.refreshPositions || a.ui.ddmanager.prepareOffsets(b, c) - }) - }, - drag: function(b, c) { - b.options.refreshPositions && a.ui.ddmanager.prepareOffsets(b, c), - a.each(a.ui.ddmanager.droppables[b.options.scope] || [], - function() { - if (! (this.options.disabled || this.greedyChild || !this.visible)) { - var d = a.ui.intersect(b, this, this.options.tolerance), - e = !d && this.isover == 1 ? "isout": d && this.isover == 0 ? "isover": null; - if (!e) return; - var f; - if (this.options.greedy) { - var g = this.element.parents(":data(droppable):eq(0)"); - g.length && (f = a.data(g[0], "droppable"), f.greedyChild = e == "isover" ? 1 : 0) - } - f && e == "isover" && (f.isover = 0, f.isout = 1, f._out.call(f, c)), - this[e] = 1, - this[e == "isout" ? "isover": "isout"] = 0, - this[e == "isover" ? "_over": "_out"].call(this, c), - f && e == "isout" && (f.isout = 0, f.isover = 1, f._over.call(f, c)) - } - }) - }, - dragStop: function(b, c) { - b.element.parents(":not(body,html)").unbind("scroll.droppable"), - b.options.refreshPositions || a.ui.ddmanager.prepareOffsets(b, c) - } - } -})(jQuery); -/* - * jQuery UI Resizable 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Resizables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */ -(function(a, b) { - a.widget("ui.resizable", a.ui.mouse, { - widgetEventPrefix: "resize", - options: { - alsoResize: !1, - animate: !1, - animateDuration: "slow", - animateEasing: "swing", - aspectRatio: !1, - autoHide: !1, - containment: !1, - ghost: !1, - grid: !1, - handles: "e,s,se", - helper: !1, - maxHeight: null, - maxWidth: null, - minHeight: 10, - minWidth: 10, - zIndex: 1e3 - }, - _create: function() { - var b = this, - c = this.options; - this.element.addClass("ui-resizable"), - a.extend(this, { - _aspectRatio: !!c.aspectRatio, - aspectRatio: c.aspectRatio, - originalElement: this.element, - _proportionallyResizeElements: [], - _helper: c.helper || c.ghost || c.animate ? c.helper || "ui-resizable-helper": null - }), - this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i) && (this.element.wrap(a('
').css({ - position: this.element.css("position"), - width: this.element.outerWidth(), - height: this.element.outerHeight(), - top: this.element.css("top"), - left: this.element.css("left") - })), this.element = this.element.parent().data("resizable", this.element.data("resizable")), this.elementIsWrapper = !0, this.element.css({ - marginLeft: this.originalElement.css("marginLeft"), - marginTop: this.originalElement.css("marginTop"), - marginRight: this.originalElement.css("marginRight"), - marginBottom: this.originalElement.css("marginBottom") - }), this.originalElement.css({ - marginLeft: 0, - marginTop: 0, - marginRight: 0, - marginBottom: 0 - }), this.originalResizeStyle = this.originalElement.css("resize"), this.originalElement.css("resize", "none"), this._proportionallyResizeElements.push(this.originalElement.css({ - position: "static", - zoom: 1, - display: "block" - })), this.originalElement.css({ - margin: this.originalElement.css("margin") - }), this._proportionallyResize()), - this.handles = c.handles || (a(".ui-resizable-handle", this.element).length ? { - n: ".ui-resizable-n", - e: ".ui-resizable-e", - s: ".ui-resizable-s", - w: ".ui-resizable-w", - se: ".ui-resizable-se", - sw: ".ui-resizable-sw", - ne: ".ui-resizable-ne", - nw: ".ui-resizable-nw" - }: "e,s,se"); - if (this.handles.constructor == String) { - this.handles == "all" && (this.handles = "n,e,s,w,se,sw,ne,nw"); - var d = this.handles.split(","); - this.handles = {}; - for (var e = 0; e < d.length; e++) { - var f = a.trim(d[e]), - g = "ui-resizable-" + f, - h = a('
'); - /sw|se|ne|nw/.test(f) && h.css({ - zIndex: ++c.zIndex - }), - "se" == f && h.addClass("ui-icon ui-icon-gripsmall-diagonal-se"), - this.handles[f] = ".ui-resizable-" + f, - this.element.append(h) - } - } - this._renderAxis = function(b) { - b = b || this.element; - for (var c in this.handles) { - this.handles[c].constructor == String && (this.handles[c] = a(this.handles[c], this.element).show()); - if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) { - var d = a(this.handles[c], this.element), - e = 0; - e = /sw|ne|nw|se|n|s/.test(c) ? d.outerHeight() : d.outerWidth(); - var f = ["padding", /ne|nw|n/.test(c) ? "Top": /se|sw|s/.test(c) ? "Bottom": /^e$/.test(c) ? "Right": "Left"].join(""); - b.css(f, e), - this._proportionallyResize() - } - if (!a(this.handles[c]).length) continue - } - }, - this._renderAxis(this.element), - this._handles = a(".ui-resizable-handle", this.element).disableSelection(), - this._handles.mouseover(function() { - if (!b.resizing) { - if (this.className) var a = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i); - b.axis = a && a[1] ? a[1] : "se" - } - }), - c.autoHide && (this._handles.hide(), a(this.element).addClass("ui-resizable-autohide").hover(function() { - c.disabled || (a(this).removeClass("ui-resizable-autohide"), b._handles.show()) - }, - function() { - c.disabled || b.resizing || (a(this).addClass("ui-resizable-autohide"), b._handles.hide()) - })), - this._mouseInit() - }, - destroy: function() { - this._mouseDestroy(); - var b = function(b) { - a(b).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove() - }; - if (this.elementIsWrapper) { - b(this.element); - var c = this.element; - c.after(this.originalElement.css({ - position: c.css("position"), - width: c.outerWidth(), - height: c.outerHeight(), - top: c.css("top"), - left: c.css("left") - })).remove() - } - this.originalElement.css("resize", this.originalResizeStyle), - b(this.originalElement); - return this - }, - _mouseCapture: function(b) { - var c = !1; - for (var d in this.handles) a(this.handles[d])[0] == b.target && (c = !0); - return ! this.options.disabled && c - }, - _mouseStart: function(b) { - var d = this.options, - e = this.element.position(), - f = this.element; - this.resizing = !0, - this.documentScroll = { - top: a(document).scrollTop(), - left: a(document).scrollLeft() - }, - (f.is(".ui-draggable") || /absolute/.test(f.css("position"))) && f.css({ - position: "absolute", - top: e.top, - left: e.left - }), - this._renderProxy(); - var g = c(this.helper.css("left")), - h = c(this.helper.css("top")); - d.containment && (g += a(d.containment).scrollLeft() || 0, h += a(d.containment).scrollTop() || 0), - this.offset = this.helper.offset(), - this.position = { - left: g, - top: h - }, - this.size = this._helper ? { - width: f.outerWidth(), - height: f.outerHeight() - }: { - width: f.width(), - height: f.height() - }, - this.originalSize = this._helper ? { - width: f.outerWidth(), - height: f.outerHeight() - }: { - width: f.width(), - height: f.height() - }, - this.originalPosition = { - left: g, - top: h - }, - this.sizeDiff = { - width: f.outerWidth() - f.width(), - height: f.outerHeight() - f.height() - }, - this.originalMousePosition = { - left: b.pageX, - top: b.pageY - }, - this.aspectRatio = typeof d.aspectRatio == "number" ? d.aspectRatio: this.originalSize.width / this.originalSize.height || 1; - var i = a(".ui-resizable-" + this.axis).css("cursor"); - a("body").css("cursor", i == "auto" ? this.axis + "-resize": i), - f.addClass("ui-resizable-resizing"), - this._propagate("start", b); - return ! 0 - }, - _mouseDrag: function(b) { - var c = this.helper, - d = this.options, - e = {}, - f = this, - g = this.originalMousePosition, - h = this.axis, - i = b.pageX - g.left || 0, - j = b.pageY - g.top || 0, - k = this._change[h]; - if (!k) return ! 1; - var l = k.apply(this, [b, i, j]), - m = a.browser.msie && a.browser.version < 7, - n = this.sizeDiff; - this._updateVirtualBoundaries(b.shiftKey); - if (this._aspectRatio || b.shiftKey) l = this._updateRatio(l, b); - l = this._respectSize(l, b), - this._propagate("resize", b), - c.css({ - top: this.position.top + "px", - left: this.position.left + "px", - width: this.size.width + "px", - height: this.size.height + "px" - }), - !this._helper && this._proportionallyResizeElements.length && this._proportionallyResize(), - this._updateCache(l), - this._trigger("resize", b, this.ui()); - return ! 1 - }, - _mouseStop: function(b) { - this.resizing = !1; - var c = this.options, - d = this; - if (this._helper) { - var e = this._proportionallyResizeElements, - f = e.length && /textarea/i.test(e[0].nodeName), - g = f && a.ui.hasScroll(e[0], "left") ? 0 : d.sizeDiff.height, - h = f ? 0 : d.sizeDiff.width, - i = { - width: d.helper.width() - h, - height: d.helper.height() - g - }, - j = parseInt(d.element.css("left"), 10) + (d.position.left - d.originalPosition.left) || null, - k = parseInt(d.element.css("top"), 10) + (d.position.top - d.originalPosition.top) || null; - c.animate || this.element.css(a.extend(i, { - top: k, - left: j - })), - d.helper.height(d.size.height), - d.helper.width(d.size.width), - this._helper && !c.animate && this._proportionallyResize() - } - a("body").css("cursor", "auto"), - this.element.removeClass("ui-resizable-resizing"), - this._propagate("stop", b), - this._helper && this.helper.remove(); - return ! 1 - }, - _updateVirtualBoundaries: function(a) { - var b = this.options, - c, e, f, g, h; - h = { - minWidth: d(b.minWidth) ? b.minWidth: 0, - maxWidth: d(b.maxWidth) ? b.maxWidth: Infinity, - minHeight: d(b.minHeight) ? b.minHeight: 0, - maxHeight: d(b.maxHeight) ? b.maxHeight: Infinity - }; - if (this._aspectRatio || a) c = h.minHeight * this.aspectRatio, - f = h.minWidth / this.aspectRatio, - e = h.maxHeight * this.aspectRatio, - g = h.maxWidth / this.aspectRatio, - c > h.minWidth && (h.minWidth = c), - f > h.minHeight && (h.minHeight = f), - e < h.maxWidth && (h.maxWidth = e), - g < h.maxHeight && (h.maxHeight = g); - this._vBoundaries = h - }, - _updateCache: function(a) { - var b = this.options; - this.offset = this.helper.offset(), - d(a.left) && (this.position.left = a.left), - d(a.top) && (this.position.top = a.top), - d(a.height) && (this.size.height = a.height), - d(a.width) && (this.size.width = a.width) - }, - _updateRatio: function(a, b) { - var c = this.options, - e = this.position, - f = this.size, - g = this.axis; - d(a.height) ? a.width = a.height * this.aspectRatio: d(a.width) && (a.height = a.width / this.aspectRatio), - g == "sw" && (a.left = e.left + (f.width - a.width), a.top = null), - g == "nw" && (a.top = e.top + (f.height - a.height), a.left = e.left + (f.width - a.width)); - return a - }, - _respectSize: function(a, b) { - var c = this.helper, - e = this._vBoundaries, - f = this._aspectRatio || b.shiftKey, - g = this.axis, - h = d(a.width) && e.maxWidth && e.maxWidth < a.width, - i = d(a.height) && e.maxHeight && e.maxHeight < a.height, - j = d(a.width) && e.minWidth && e.minWidth > a.width, - k = d(a.height) && e.minHeight && e.minHeight > a.height; - j && (a.width = e.minWidth), - k && (a.height = e.minHeight), - h && (a.width = e.maxWidth), - i && (a.height = e.maxHeight); - var l = this.originalPosition.left + this.originalSize.width, - m = this.position.top + this.size.height, - n = /sw|nw|w/.test(g), - o = /nw|ne|n/.test(g); - j && n && (a.left = l - e.minWidth), - h && n && (a.left = l - e.maxWidth), - k && o && (a.top = m - e.minHeight), - i && o && (a.top = m - e.maxHeight); - var p = !a.width && !a.height; - p && !a.left && a.top ? a.top = null: p && !a.top && a.left && (a.left = null); - return a - }, - _proportionallyResize: function() { - var b = this.options; - if ( !! this._proportionallyResizeElements.length) { - var c = this.helper || this.element; - for (var d = 0; d < this._proportionallyResizeElements.length; d++) { - var e = this._proportionallyResizeElements[d]; - if (!this.borderDif) { - var f = [e.css("borderTopWidth"), e.css("borderRightWidth"), e.css("borderBottomWidth"), e.css("borderLeftWidth")], - g = [e.css("paddingTop"), e.css("paddingRight"), e.css("paddingBottom"), e.css("paddingLeft")]; - this.borderDif = a.map(f, - function(a, b) { - var c = parseInt(a, 10) || 0, - d = parseInt(g[b], 10) || 0; - return c + d - }) - } - if (a.browser.msie && ( !! a(c).is(":hidden") || !!a(c).parents(":hidden").length)) continue; - e.css({ - height: c.height() - this.borderDif[0] - this.borderDif[2] || 0, - width: c.width() - this.borderDif[1] - this.borderDif[3] || 0 - }) - } - } - }, - _renderProxy: function() { - var b = this.element, - c = this.options; - this.elementOffset = b.offset(); - if (this._helper) { - this.helper = this.helper || a('
'); - var d = a.browser.msie && a.browser.version < 7, - e = d ? 1 : 0, - f = d ? 2 : -1; - this.helper.addClass(this._helper).css({ - width: this.element.outerWidth() + f, - height: this.element.outerHeight() + f, - position: "absolute", - left: this.elementOffset.left - e + "px", - top: this.elementOffset.top - e + "px", - zIndex: ++c.zIndex - }), - this.helper.appendTo("body").disableSelection() - } else this.helper = this.element - }, - _change: { - e: function(a, b, c) { - return { - width: this.originalSize.width + b - } - }, - w: function(a, b, c) { - var d = this.options, - e = this.originalSize, - f = this.originalPosition; - return { - left: f.left + b, - width: e.width - b - } - }, - n: function(a, b, c) { - var d = this.options, - e = this.originalSize, - f = this.originalPosition; - return { - top: f.top + c, - height: e.height - c - } - }, - s: function(a, b, c) { - return { - height: this.originalSize.height + c - } - }, - se: function(b, c, d) { - return a.extend(this._change.s.apply(this, arguments), this._change.e.apply(this, [b, c, d])) - }, - sw: function(b, c, d) { - return a.extend(this._change.s.apply(this, arguments), this._change.w.apply(this, [b, c, d])) - }, - ne: function(b, c, d) { - return a.extend(this._change.n.apply(this, arguments), this._change.e.apply(this, [b, c, d])) - }, - nw: function(b, c, d) { - return a.extend(this._change.n.apply(this, arguments), this._change.w.apply(this, [b, c, d])) - } - }, - _propagate: function(b, c) { - a.ui.plugin.call(this, b, [c, this.ui()]), - b != "resize" && this._trigger(b, c, this.ui()) - }, - plugins: {}, - ui: function() { - return { - originalElement: this.originalElement, - element: this.element, - helper: this.helper, - position: this.position, - size: this.size, - originalSize: this.originalSize, - originalPosition: this.originalPosition - } - } - }), - a.extend(a.ui.resizable, { - version: "1.8.18" - }), - a.ui.plugin.add("resizable", "alsoResize", { - start: function(b, c) { - var d = a(this).data("resizable"), - e = d.options, - f = function(b) { - a(b).each(function() { - var b = a(this); - b.data("resizable-alsoresize", { - width: parseInt(b.width(), 10), - height: parseInt(b.height(), 10), - left: parseInt(b.css("left"), 10), - top: parseInt(b.css("top"), 10) - }) - }) - }; - typeof e.alsoResize == "object" && !e.alsoResize.parentNode ? e.alsoResize.length ? (e.alsoResize = e.alsoResize[0], f(e.alsoResize)) : a.each(e.alsoResize, - function(a) { - f(a) - }) : f(e.alsoResize) - }, - resize: function(b, c) { - var d = a(this).data("resizable"), - e = d.options, - f = d.originalSize, - g = d.originalPosition, - h = { - height: d.size.height - f.height || 0, - width: d.size.width - f.width || 0, - top: d.position.top - g.top || 0, - left: d.position.left - g.left || 0 - }, - i = function(b, d) { - a(b).each(function() { - var b = a(this), - e = a(this).data("resizable-alsoresize"), - f = {}, - g = d && d.length ? d: b.parents(c.originalElement[0]).length ? ["width", "height"] : ["width", "height", "top", "left"]; - a.each(g, - function(a, b) { - var c = (e[b] || 0) + (h[b] || 0); - c && c >= 0 && (f[b] = c || null) - }), - b.css(f) - }) - }; - typeof e.alsoResize == "object" && !e.alsoResize.nodeType ? a.each(e.alsoResize, - function(a, b) { - i(a, b) - }) : i(e.alsoResize) - }, - stop: function(b, c) { - a(this).removeData("resizable-alsoresize") - } - }), - a.ui.plugin.add("resizable", "animate", { - stop: function(b, c) { - var d = a(this).data("resizable"), - e = d.options, - f = d._proportionallyResizeElements, - g = f.length && /textarea/i.test(f[0].nodeName), - h = g && a.ui.hasScroll(f[0], "left") ? 0 : d.sizeDiff.height, - i = g ? 0 : d.sizeDiff.width, - j = { - width: d.size.width - i, - height: d.size.height - h - }, - k = parseInt(d.element.css("left"), 10) + (d.position.left - d.originalPosition.left) || null, - l = parseInt(d.element.css("top"), 10) + (d.position.top - d.originalPosition.top) || null; - d.element.animate(a.extend(j, l && k ? { - top: l, - left: k - }: {}), { - duration: e.animateDuration, - easing: e.animateEasing, - step: function() { - var c = { - width: parseInt(d.element.css("width"), 10), - height: parseInt(d.element.css("height"), 10), - top: parseInt(d.element.css("top"), 10), - left: parseInt(d.element.css("left"), 10) - }; - f && f.length && a(f[0]).css({ - width: c.width, - height: c.height - }), - d._updateCache(c), - d._propagate("resize", b) - } - }) - } - }), - a.ui.plugin.add("resizable", "containment", { - start: function(b, d) { - var e = a(this).data("resizable"), - f = e.options, - g = e.element, - h = f.containment, - i = h instanceof a ? h.get(0) : /parent/.test(h) ? g.parent().get(0) : h; - if ( !! i) { - e.containerElement = a(i); - if (/document/.test(h) || h == document) e.containerOffset = { - left: 0, - top: 0 - }, - e.containerPosition = { - left: 0, - top: 0 - }, - e.parentData = { - element: a(document), - left: 0, - top: 0, - width: a(document).width(), - height: a(document).height() || document.body.parentNode.scrollHeight - }; - else { - var j = a(i), - k = []; - a(["Top", "Right", "Left", "Bottom"]).each(function(a, b) { - k[a] = c(j.css("padding" + b)) - }), - e.containerOffset = j.offset(), - e.containerPosition = j.position(), - e.containerSize = { - height: j.innerHeight() - k[3], - width: j.innerWidth() - k[1] - }; - var l = e.containerOffset, - m = e.containerSize.height, - n = e.containerSize.width, - o = a.ui.hasScroll(i, "left") ? i.scrollWidth: n, - p = a.ui.hasScroll(i) ? i.scrollHeight: m; - e.parentData = { - element: i, - left: l.left, - top: l.top, - width: o, - height: p - } - } - } - }, - resize: function(b, c) { - var d = a(this).data("resizable"), - e = d.options, - f = d.containerSize, - g = d.containerOffset, - h = d.size, - i = d.position, - j = d._aspectRatio || b.shiftKey, - k = { - top: 0, - left: 0 - }, - l = d.containerElement; - l[0] != document && /static/.test(l.css("position")) && (k = g), - i.left < (d._helper ? g.left: 0) && (d.size.width = d.size.width + (d._helper ? d.position.left - g.left: d.position.left - k.left), j && (d.size.height = d.size.width / e.aspectRatio), d.position.left = e.helper ? g.left: 0), - i.top < (d._helper ? g.top: 0) && (d.size.height = d.size.height + (d._helper ? d.position.top - g.top: d.position.top), j && (d.size.width = d.size.height * e.aspectRatio), d.position.top = d._helper ? g.top: 0), - d.offset.left = d.parentData.left + d.position.left, - d.offset.top = d.parentData.top + d.position.top; - var m = Math.abs((d._helper ? d.offset.left - k.left: d.offset.left - k.left) + d.sizeDiff.width), - n = Math.abs((d._helper ? d.offset.top - k.top: d.offset.top - g.top) + d.sizeDiff.height), - o = d.containerElement.get(0) == d.element.parent().get(0), - p = /relative|absolute/.test(d.containerElement.css("position")); - o && p && (m -= d.parentData.left), - m + d.size.width >= d.parentData.width && (d.size.width = d.parentData.width - m, j && (d.size.height = d.size.width / d.aspectRatio)), - n + d.size.height >= d.parentData.height && (d.size.height = d.parentData.height - n, j && (d.size.width = d.size.height * d.aspectRatio)) - }, - stop: function(b, c) { - var d = a(this).data("resizable"), - e = d.options, - f = d.position, - g = d.containerOffset, - h = d.containerPosition, - i = d.containerElement, - j = a(d.helper), - k = j.offset(), - l = j.outerWidth() - d.sizeDiff.width, - m = j.outerHeight() - d.sizeDiff.height; - d._helper && !e.animate && /relative/.test(i.css("position")) && a(this).css({ - left: k.left - h.left - g.left, - width: l, - height: m - }), - d._helper && !e.animate && /static/.test(i.css("position")) && a(this).css({ - left: k.left - h.left - g.left, - width: l, - height: m - }) - } - }), - a.ui.plugin.add("resizable", "ghost", { - start: function(b, c) { - var d = a(this).data("resizable"), - e = d.options, - f = d.size; - d.ghost = d.originalElement.clone(), - d.ghost.css({ - opacity: .25, - display: "block", - position: "relative", - height: f.height, - width: f.width, - margin: 0, - left: 0, - top: 0 - }).addClass("ui-resizable-ghost").addClass(typeof e.ghost == "string" ? e.ghost: ""), - d.ghost.appendTo(d.helper) - }, - resize: function(b, c) { - var d = a(this).data("resizable"), - e = d.options; - d.ghost && d.ghost.css({ - position: "relative", - height: d.size.height, - width: d.size.width - }) - }, - stop: function(b, c) { - var d = a(this).data("resizable"), - e = d.options; - d.ghost && d.helper && d.helper.get(0).removeChild(d.ghost.get(0)) - } - }), - a.ui.plugin.add("resizable", "grid", { - resize: function(b, c) { - var d = a(this).data("resizable"), - e = d.options, - f = d.size, - g = d.originalSize, - h = d.originalPosition, - i = d.axis, - j = e._aspectRatio || b.shiftKey; - e.grid = typeof e.grid == "number" ? [e.grid, e.grid] : e.grid; - var k = Math.round((f.width - g.width) / (e.grid[0] || 1)) * (e.grid[0] || 1), - l = Math.round((f.height - g.height) / (e.grid[1] || 1)) * (e.grid[1] || 1); - /^(se|s|e)$/.test(i) ? (d.size.width = g.width + k, d.size.height = g.height + l) : /^(ne)$/.test(i) ? (d.size.width = g.width + k, d.size.height = g.height + l, d.position.top = h.top - l) : /^(sw)$/.test(i) ? (d.size.width = g.width + k, d.size.height = g.height + l, d.position.left = h.left - k) : (d.size.width = g.width + k, d.size.height = g.height + l, d.position.top = h.top - l, d.position.left = h.left - k) - } - }); - var c = function(a) { - return parseInt(a, 10) || 0 - }, - d = function(a) { - return ! isNaN(parseInt(a, 10)) - } -})(jQuery); -/* - * jQuery UI Selectable 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Selectables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */ -(function(a, b) { - a.widget("ui.selectable", a.ui.mouse, { - options: { - appendTo: "body", - autoRefresh: !0, - distance: 0, - filter: "*", - tolerance: "touch" - }, - _create: function() { - var b = this; - this.element.addClass("ui-selectable"), - this.dragged = !1; - var c; - this.refresh = function() { - c = a(b.options.filter, b.element[0]), - c.addClass("ui-selectee"), - c.each(function() { - var b = a(this), - c = b.offset(); - a.data(this, "selectable-item", { - element: this, - $element: b, - left: c.left, - top: c.top, - right: c.left + b.outerWidth(), - bottom: c.top + b.outerHeight(), - startselected: !1, - selected: b.hasClass("ui-selected"), - selecting: b.hasClass("ui-selecting"), - unselecting: b.hasClass("ui-unselecting") - }) - }) - }, - this.refresh(), - this.selectees = c.addClass("ui-selectee"), - this._mouseInit(), - this.helper = a("
") - }, - destroy: function() { - this.selectees.removeClass("ui-selectee").removeData("selectable-item"), - this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable"), - this._mouseDestroy(); - return this - }, - _mouseStart: function(b) { - var c = this; - this.opos = [b.pageX, b.pageY]; - if (!this.options.disabled) { - var d = this.options; - this.selectees = a(d.filter, this.element[0]), - this._trigger("start", b), - a(d.appendTo).append(this.helper), - this.helper.css({ - left: b.clientX, - top: b.clientY, - width: 0, - height: 0 - }), - d.autoRefresh && this.refresh(), - this.selectees.filter(".ui-selected").each(function() { - var d = a.data(this, "selectable-item"); - d.startselected = !0, - !b.metaKey && !b.ctrlKey && (d.$element.removeClass("ui-selected"), d.selected = !1, d.$element.addClass("ui-unselecting"), d.unselecting = !0, c._trigger("unselecting", b, { - unselecting: d.element - })) - }), - a(b.target).parents().andSelf().each(function() { - var d = a.data(this, "selectable-item"); - if (d) { - var e = !b.metaKey && !b.ctrlKey || !d.$element.hasClass("ui-selected"); - d.$element.removeClass(e ? "ui-unselecting": "ui-selected").addClass(e ? "ui-selecting": "ui-unselecting"), - d.unselecting = !e, - d.selecting = e, - d.selected = e, - e ? c._trigger("selecting", b, { - selecting: d.element - }) : c._trigger("unselecting", b, { - unselecting: d.element - }); - return ! 1 - } - }) - } - }, - _mouseDrag: function(b) { - var c = this; - this.dragged = !0; - if (!this.options.disabled) { - var d = this.options, - e = this.opos[0], - f = this.opos[1], - g = b.pageX, - h = b.pageY; - if (e > g) { - var i = g; - g = e, - e = i - } - if (f > h) { - var i = h; - h = f, - f = i - } - this.helper.css({ - left: e, - top: f, - width: g - e, - height: h - f - }), - this.selectees.each(function() { - var i = a.data(this, "selectable-item"); - if ( !! i && i.element != c.element[0]) { - var j = !1; - d.tolerance == "touch" ? j = !(i.left > g || i.right < e || i.top > h || i.bottom < f) : d.tolerance == "fit" && (j = i.left > e && i.right < g && i.top > f && i.bottom < h), - j ? (i.selected && (i.$element.removeClass("ui-selected"), i.selected = !1), i.unselecting && (i.$element.removeClass("ui-unselecting"), i.unselecting = !1), i.selecting || (i.$element.addClass("ui-selecting"), i.selecting = !0, c._trigger("selecting", b, { - selecting: i.element - }))) : (i.selecting && ((b.metaKey || b.ctrlKey) && i.startselected ? (i.$element.removeClass("ui-selecting"), i.selecting = !1, i.$element.addClass("ui-selected"), i.selected = !0) : (i.$element.removeClass("ui-selecting"), i.selecting = !1, i.startselected && (i.$element.addClass("ui-unselecting"), i.unselecting = !0), c._trigger("unselecting", b, { - unselecting: i.element - }))), i.selected && !b.metaKey && !b.ctrlKey && !i.startselected && (i.$element.removeClass("ui-selected"), i.selected = !1, i.$element.addClass("ui-unselecting"), i.unselecting = !0, c._trigger("unselecting", b, { - unselecting: i.element - }))) - } - }); - return ! 1 - } - }, - _mouseStop: function(b) { - var c = this; - this.dragged = !1; - var d = this.options; - a(".ui-unselecting", this.element[0]).each(function() { - var d = a.data(this, "selectable-item"); - d.$element.removeClass("ui-unselecting"), - d.unselecting = !1, - d.startselected = !1, - c._trigger("unselected", b, { - unselected: d.element - }) - }), - a(".ui-selecting", this.element[0]).each(function() { - var d = a.data(this, "selectable-item"); - d.$element.removeClass("ui-selecting").addClass("ui-selected"), - d.selecting = !1, - d.selected = !0, - d.startselected = !0, - c._trigger("selected", b, { - selected: d.element - }) - }), - this._trigger("stop", b), - this.helper.remove(); - return ! 1 - } - }), - a.extend(a.ui.selectable, { - version: "1.8.18" - }) -})(jQuery); -/* - * jQuery UI Sortable 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Sortables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */ -(function(a, b) { - a.widget("ui.sortable", a.ui.mouse, { - widgetEventPrefix: "sort", - ready: !1, - options: { - appendTo: "parent", - axis: !1, - connectWith: !1, - containment: !1, - cursor: "auto", - cursorAt: !1, - dropOnEmpty: !0, - forcePlaceholderSize: !1, - forceHelperSize: !1, - grid: !1, - handle: !1, - helper: "original", - items: "> *", - opacity: !1, - placeholder: !1, - revert: !1, - scroll: !0, - scrollSensitivity: 20, - scrollSpeed: 20, - scope: "default", - tolerance: "intersect", - zIndex: 1e3 - }, - _create: function() { - var a = this.options; - this.containerCache = {}, - this.element.addClass("ui-sortable"), - this.refresh(), - this.floating = this.items.length ? a.axis === "x" || /left|right/.test(this.items[0].item.css("float")) || /inline|table-cell/.test(this.items[0].item.css("display")) : !1, - this.offset = this.element.offset(), - this._mouseInit(), - this.ready = !0 - }, - destroy: function() { - a.Widget.prototype.destroy.call(this), - this.element.removeClass("ui-sortable ui-sortable-disabled"), - this._mouseDestroy(); - for (var b = this.items.length - 1; b >= 0; b--) this.items[b].item.removeData(this.widgetName + "-item"); - return this - }, - _setOption: function(b, c) { - b === "disabled" ? (this.options[b] = c, this.widget()[c ? "addClass": "removeClass"]("ui-sortable-disabled")) : a.Widget.prototype._setOption.apply(this, arguments) - }, - _mouseCapture: function(b, c) { - var d = this; - if (this.reverting) return ! 1; - if (this.options.disabled || this.options.type == "static") return ! 1; - this._refreshItems(b); - var e = null, - f = this, - g = a(b.target).parents().each(function() { - if (a.data(this, d.widgetName + "-item") == f) { - e = a(this); - return ! 1 - } - }); - a.data(b.target, d.widgetName + "-item") == f && (e = a(b.target)); - if (!e) return ! 1; - if (this.options.handle && !c) { - var h = !1; - a(this.options.handle, e).find("*").andSelf().each(function() { - this == b.target && (h = !0) - }); - if (!h) return ! 1 - } - this.currentItem = e, - - this._removeCurrentsFromItems(); - return ! 0 - }, - _mouseStart: function(b, c, d) { - var e = this.options, - f = this; - this.currentContainer = this, - this.refreshPositions(), - this.helper = this._createHelper(b), - this._cacheHelperProportions(), - this._cacheMargins(), - this.scrollParent = this.helper.scrollParent(), - this.offset = this.currentItem.offset(), - this.offset = { - top: this.offset.top - this.margins.top, - left: this.offset.left - this.margins.left - }, - this.helper.css("position", "absolute"), - this.cssPosition = this.helper.css("position"), - a.extend(this.offset, { - click: { - left: b.pageX - this.offset.left, - top: b.pageY - this.offset.top - }, - parent: this._getParentOffset(), - relative: this._getRelativeOffset() - }), - this.originalPosition = this._generatePosition(b), - this.originalPageX = b.pageX, - this.originalPageY = b.pageY, - e.cursorAt && this._adjustOffsetFromHelper(e.cursorAt), - this.domPosition = { - prev: this.currentItem.prev()[0], - parent: this.currentItem.parent()[0] - }, - this.helper[0] != this.currentItem[0] && this.currentItem.hide(), - this._createPlaceholder(), - e.containment && this._setContainment(), - e.cursor && (a("body").css("cursor") && (this._storedCursor = a("body").css("cursor")), a("body").css("cursor", e.cursor)), - e.opacity && (this.helper.css("opacity") && (this._storedOpacity = this.helper.css("opacity")), this.helper.css("opacity", e.opacity)), - e.zIndex && (this.helper.css("zIndex") && (this._storedZIndex = this.helper.css("zIndex")), this.helper.css("zIndex", e.zIndex)), - this.scrollParent[0] != document && this.scrollParent[0].tagName != "HTML" && (this.overflowOffset = this.scrollParent.offset()), - this._trigger("start", b, this._uiHash()), - this._preserveHelperProportions || this._cacheHelperProportions(); - if (!d) for (var g = this.containers.length - 1; g >= 0; g--) this.containers[g]._trigger("activate", b, f._uiHash(this)); - a.ui.ddmanager && (a.ui.ddmanager.current = this), - a.ui.ddmanager && !e.dropBehaviour && a.ui.ddmanager.prepareOffsets(this, b), - this.dragging = !0, - this.helper.addClass("ui-sortable-helper"), - this._mouseDrag(b); - return ! 0 - }, - _mouseDrag: function(b) { - this.position = this._generatePosition(b), - this.positionAbs = this._convertPositionTo("absolute"), - this.lastPositionAbs || (this.lastPositionAbs = this.positionAbs); - if (this.options.scroll) { - var c = this.options, - d = !1; - this.scrollParent[0] != document && this.scrollParent[0].tagName != "HTML" ? (this.overflowOffset.top + this.scrollParent[0].offsetHeight - b.pageY < c.scrollSensitivity ? this.scrollParent[0].scrollTop = d = this.scrollParent[0].scrollTop + c.scrollSpeed: b.pageY - this.overflowOffset.top < c.scrollSensitivity && (this.scrollParent[0].scrollTop = d = this.scrollParent[0].scrollTop - c.scrollSpeed), this.overflowOffset.left + this.scrollParent[0].offsetWidth - b.pageX < c.scrollSensitivity ? this.scrollParent[0].scrollLeft = d = this.scrollParent[0].scrollLeft + c.scrollSpeed: b.pageX - this.overflowOffset.left < c.scrollSensitivity && (this.scrollParent[0].scrollLeft = d = this.scrollParent[0].scrollLeft - c.scrollSpeed)) : (b.pageY - a(document).scrollTop() < c.scrollSensitivity ? d = a(document).scrollTop(a(document).scrollTop() - c.scrollSpeed) : a(window).height() - (b.pageY - a(document).scrollTop()) < c.scrollSensitivity && (d = a(document).scrollTop(a(document).scrollTop() + c.scrollSpeed)), b.pageX - a(document).scrollLeft() < c.scrollSensitivity ? d = a(document).scrollLeft(a(document).scrollLeft() - c.scrollSpeed) : a(window).width() - (b.pageX - a(document).scrollLeft()) < c.scrollSensitivity && (d = a(document).scrollLeft(a(document).scrollLeft() + c.scrollSpeed))), - d !== !1 && a.ui.ddmanager && !c.dropBehaviour && a.ui.ddmanager.prepareOffsets(this, b) - } - this.positionAbs = this._convertPositionTo("absolute"); - if (!this.options.axis || this.options.axis != "y") this.helper[0].style.left = this.position.left + "px"; - if (!this.options.axis || this.options.axis != "x") this.helper[0].style.top = this.position.top + "px"; - for (var e = this.items.length - 1; e >= 0; e--) { - var f = this.items[e], - g = f.item[0], - h = this._intersectsWithPointer(f); - if (!h) continue; - if (g != this.currentItem[0] && this.placeholder[h == 1 ? "next": "prev"]()[0] != g && !a.ui.contains(this.placeholder[0], g) && (this.options.type == "semi-dynamic" ? !a.ui.contains(this.element[0], g) : !0)) { - this.direction = h == 1 ? "down": "up"; - if (this.options.tolerance == "pointer" || this._intersectsWithSides(f)) this._rearrange(b, f); - else break; - this._trigger("change", b, this._uiHash()); - break - } - } - this._contactContainers(b), - a.ui.ddmanager && a.ui.ddmanager.drag(this, b), - this._trigger("sort", b, this._uiHash()), - this.lastPositionAbs = this.positionAbs; - return ! 1 - }, - _mouseStop: function(b, c) { - if ( !! b) { - a.ui.ddmanager && !this.options.dropBehaviour && a.ui.ddmanager.drop(this, b); - if (this.options.revert) { - var d = this, - e = d.placeholder.offset(); - d.reverting = !0, - a(this.helper).animate({ - left: e.left - this.offset.parent.left - d.margins.left + (this.offsetParent[0] == document.body ? 0 : this.offsetParent[0].scrollLeft), - top: e.top - this.offset.parent.top - d.margins.top + (this.offsetParent[0] == document.body ? 0 : this.offsetParent[0].scrollTop) - }, - parseInt(this.options.revert, 10) || 500, - function() { - d._clear(b) - }) - } else this._clear(b, c); - return ! 1 - } - }, - cancel: function() { - var b = this; - if (this.dragging) { - this._mouseUp({ - target: null - }), - this.options.helper == "original" ? this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper") : this.currentItem.show(); - for (var c = this.containers.length - 1; c >= 0; c--) this.containers[c]._trigger("deactivate", null, b._uiHash(this)), - this.containers[c].containerCache.over && (this.containers[c]._trigger("out", null, b._uiHash(this)), this.containers[c].containerCache.over = 0) - } - this.placeholder && (this.placeholder[0].parentNode && this.placeholder[0].parentNode.removeChild(this.placeholder[0]), this.options.helper != "original" && this.helper && this.helper[0].parentNode && this.helper.remove(), a.extend(this, { - helper: null, - dragging: !1, - reverting: !1, - _noFinalSort: null - }), this.domPosition.prev ? a(this.domPosition.prev).after(this.currentItem) : a(this.domPosition.parent).prepend(this.currentItem)); - return this - }, - serialize: function(b) { - var c = this._getItemsAsjQuery(b && b.connected), - d = []; - b = b || {}, - a(c).each(function() { - var c = (a(b.item || this).attr(b.attribute || "id") || "").match(b.expression || /(.+)[-=_](.+)/); - c && d.push((b.key || c[1] + "[]") + "=" + (b.key && b.expression ? c[1] : c[2])) - }), - !d.length && b.key && d.push(b.key + "="); - return d.join("&") - }, - toArray: function(b) { - var c = this._getItemsAsjQuery(b && b.connected), - d = []; - b = b || {}, - c.each(function() { - d.push(a(b.item || this).attr(b.attribute || "id") || "") - }); - return d - }, - _intersectsWith: function(a) { - var b = this.positionAbs.left, - c = b + this.helperProportions.width, - d = this.positionAbs.top, - e = d + this.helperProportions.height, - f = a.left, - g = f + a.width, - h = a.top, - i = h + a.height, - j = this.offset.click.top, - k = this.offset.click.left, - l = d + j > h && d + j < i && b + k > f && b + k < g; - return this.options.tolerance == "pointer" || this.options.forcePointerForContainers || this.options.tolerance != "pointer" && this.helperProportions[this.floating ? "width": "height"] > a[this.floating ? "width": "height"] ? l: f < b + this.helperProportions.width / 2 && c - this.helperProportions.width / 2 < g && h < d + this.helperProportions.height / 2 && e - this.helperProportions.height / 2 < i - }, - _intersectsWithPointer: function(b) { - var c = a.ui.isOverAxis(this.positionAbs.top + this.offset.click.top, b.top, b.height), - d = a.ui.isOverAxis(this.positionAbs.left + this.offset.click.left, b.left, b.width), - e = c && d, - f = this._getDragVerticalDirection(), - g = this._getDragHorizontalDirection(); - if (!e) return ! 1; - return this.floating ? g && g == "right" || f == "down" ? 2 : 1 : f && (f == "down" ? 2 : 1) - }, - _intersectsWithSides: function(b) { - var c = a.ui.isOverAxis(this.positionAbs.top + this.offset.click.top, b.top + b.height / 2, b.height), - d = a.ui.isOverAxis(this.positionAbs.left + this.offset.click.left, b.left + b.width / 2, b.width), - e = this._getDragVerticalDirection(), - f = this._getDragHorizontalDirection(); - return this.floating && f ? f == "right" && d || f == "left" && !d: e && (e == "down" && c || e == "up" && !c) - }, - _getDragVerticalDirection: function() { - var a = this.positionAbs.top - this.lastPositionAbs.top; - return a != 0 && (a > 0 ? "down": "up") - }, - _getDragHorizontalDirection: function() { - var a = this.positionAbs.left - this.lastPositionAbs.left; - return a != 0 && (a > 0 ? "right": "left") - }, - refresh: function(a) { - this._refreshItems(a), - this.refreshPositions(); - return this - }, - _connectWith: function() { - var a = this.options; - return a.connectWith.constructor == String ? [a.connectWith] : a.connectWith - }, - _getItemsAsjQuery: function(b) { - var c = this, - d = [], - e = [], - f = this._connectWith(); - if (f && b) for (var g = f.length - 1; g >= 0; g--) { - var h = a(f[g]); - for (var i = h.length - 1; i >= 0; i--) { - var j = a.data(h[i], this.widgetName); - j && j != this && !j.options.disabled && e.push([a.isFunction(j.options.items) ? j.options.items.call(j.element) : a(j.options.items, j.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), j]) - } - } - e.push([a.isFunction(this.options.items) ? this.options.items.call(this.element, null, { - options: this.options, - item: this.currentItem - }) : a(this.options.items, this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), this]); - for (var g = e.length - 1; g >= 0; g--) e[g][0].each(function() { - d.push(this) - }); - return a(d) - }, - _removeCurrentsFromItems: function() { - var a = this.currentItem.find(":data(" + this.widgetName + "-item)"); - for (var b = 0; b < this.items.length; b++) for (var c = 0; c < a.length; c++) a[c] == this.items[b].item[0] && this.items.splice(b, 1) - }, - _refreshItems: function(b) { - this.items = [], - this.containers = [this]; - var c = this.items, - d = this, - e = [[a.isFunction(this.options.items) ? this.options.items.call(this.element[0], b, { - item: this.currentItem - }) : a(this.options.items, this.element), this]], - f = this._connectWith(); - if (f && this.ready) for (var g = f.length - 1; g >= 0; g--) { - var h = a(f[g]); - for (var i = h.length - 1; i >= 0; i--) { - var j = a.data(h[i], this.widgetName); - j && j != this && !j.options.disabled && (e.push([a.isFunction(j.options.items) ? j.options.items.call(j.element[0], b, { - item: this.currentItem - }) : a(j.options.items, j.element), j]), this.containers.push(j)) - } - } - for (var g = e.length - 1; g >= 0; g--) { - var k = e[g][1], - l = e[g][0]; - for (var i = 0, - m = l.length; i < m; i++) { - var n = a(l[i]); - n.data(this.widgetName + "-item", k), - c.push({ - item: n, - instance: k, - width: 0, - height: 0, - left: 0, - top: 0 - }) - } - } - }, - refreshPositions: function(b) { - this.offsetParent && this.helper && (this.offset.parent = this._getParentOffset()); - for (var c = this.items.length - 1; c >= 0; c--) { - var d = this.items[c]; - if (d.instance != this.currentContainer && this.currentContainer && d.item[0] != this.currentItem[0]) continue; - var e = this.options.toleranceElement ? a(this.options.toleranceElement, d.item) : d.item; - b || (d.width = e.outerWidth(), d.height = e.outerHeight()); - var f = e.offset(); - d.left = f.left, - d.top = f.top - } - if (this.options.custom && this.options.custom.refreshContainers) this.options.custom.refreshContainers.call(this); - else for (var c = this.containers.length - 1; c >= 0; c--) { - var f = this.containers[c].element.offset(); - this.containers[c].containerCache.left = f.left, - this.containers[c].containerCache.top = f.top, - this.containers[c].containerCache.width = this.containers[c].element.outerWidth(), - this.containers[c].containerCache.height = this.containers[c].element.outerHeight() - } - return this - }, - _createPlaceholder: function(b) { - var c = b || this, - d = c.options; - if (!d.placeholder || d.placeholder.constructor == String) { - var e = d.placeholder; - d.placeholder = { - element: function() { - var b = a(document.createElement(c.currentItem[0].nodeName)).addClass(e || c.currentItem[0].className + " ui-sortable-placeholder").removeClass("ui-sortable-helper")[0]; - e || (b.style.visibility = "hidden"); - return b - }, - update: function(a, b) { - if (!e || !!d.forcePlaceholderSize) b.height() || b.height(c.currentItem.innerHeight() - parseInt(c.currentItem.css("paddingTop") || 0, 10) - parseInt(c.currentItem.css("paddingBottom") || 0, 10)), - b.width() || b.width(c.currentItem.innerWidth() - parseInt(c.currentItem.css("paddingLeft") || 0, 10) - parseInt(c.currentItem.css("paddingRight") || 0, 10)) - } - } - } - c.placeholder = a(d.placeholder.element.call(c.element, c.currentItem)), - c.currentItem.after(c.placeholder), - d.placeholder.update(c, c.placeholder) - }, - _contactContainers: function(b) { - var c = null, - d = null; - for (var e = this.containers.length - 1; e >= 0; e--) { - if (a.ui.contains(this.currentItem[0], this.containers[e].element[0])) continue; - if (this._intersectsWith(this.containers[e].containerCache)) { - if (c && a.ui.contains(this.containers[e].element[0], c.element[0])) continue; - c = this.containers[e], - d = e - } else this.containers[e].containerCache.over && (this.containers[e]._trigger("out", b, this._uiHash(this)), this.containers[e].containerCache.over = 0) - } - if ( !! c) if (this.containers.length === 1) this.containers[d]._trigger("over", b, this._uiHash(this)), - this.containers[d].containerCache.over = 1; - else if (this.currentContainer != this.containers[d]) { - var f = 1e4, - g = null, - h = this.positionAbs[this.containers[d].floating ? "left": "top"]; - for (var i = this.items.length - 1; i >= 0; i--) { - if (!a.ui.contains(this.containers[d].element[0], this.items[i].item[0])) continue; - var j = this.items[i][this.containers[d].floating ? "left": "top"]; - Math.abs(j - h) < f && (f = Math.abs(j - h), g = this.items[i]) - } - if (!g && !this.options.dropOnEmpty) return; - this.currentContainer = this.containers[d], - g ? this._rearrange(b, g, null, !0) : this._rearrange(b, null, this.containers[d].element, !0), - this._trigger("change", b, this._uiHash()), - this.containers[d]._trigger("change", b, this._uiHash(this)), - this.options.placeholder.update(this.currentContainer, this.placeholder), - this.containers[d]._trigger("over", b, this._uiHash(this)), - this.containers[d].containerCache.over = 1 - } - }, - _createHelper: function(b) { - var c = this.options, - d = a.isFunction(c.helper) ? a(c.helper.apply(this.element[0], [b, this.currentItem])) : c.helper == "clone" ? this.currentItem.clone() : this.currentItem; - d.parents("body").length || a(c.appendTo != "parent" ? c.appendTo: this.currentItem[0].parentNode)[0].appendChild(d[0]), - d[0] == this.currentItem[0] && (this._storedCSS = { - width: this.currentItem[0].style.width, - height: this.currentItem[0].style.height, - position: this.currentItem.css("position"), - top: this.currentItem.css("top"), - left: this.currentItem.css("left") - }), - (d[0].style.width == "" || c.forceHelperSize) && d.width(this.currentItem.width()), - (d[0].style.height == "" || c.forceHelperSize) && d.height(this.currentItem.height()); - return d - }, - _adjustOffsetFromHelper: function(b) { - typeof b == "string" && (b = b.split(" ")), - a.isArray(b) && (b = { - left: +b[0], - top: +b[1] || 0 - }), - "left" in b && (this.offset.click.left = b.left + this.margins.left), - "right" in b && (this.offset.click.left = this.helperProportions.width - b.right + this.margins.left), - "top" in b && (this.offset.click.top = b.top + this.margins.top), - "bottom" in b && (this.offset.click.top = this.helperProportions.height - b.bottom + this.margins.top) - }, - _getParentOffset: function() { - this.offsetParent = this.helper.offsetParent(); - var b = this.offsetParent.offset(); - this.cssPosition == "absolute" && this.scrollParent[0] != document && a.ui.contains(this.scrollParent[0], this.offsetParent[0]) && (b.left += this.scrollParent.scrollLeft(), b.top += this.scrollParent.scrollTop()); - if (this.offsetParent[0] == document.body || this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == "html" && a.browser.msie) b = { - top: 0, - left: 0 - }; - return { - top: b.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0), - left: b.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0) - } - }, - _getRelativeOffset: function() { - if (this.cssPosition == "relative") { - var a = this.currentItem.position(); - return { - top: a.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(), - left: a.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft() - } - } - return { - top: 0, - left: 0 - } - }, - _cacheMargins: function() { - this.margins = { - left: parseInt(this.currentItem.css("marginLeft"), 10) || 0, - top: parseInt(this.currentItem.css("marginTop"), 10) || 0 - } - }, - _cacheHelperProportions: function() { - this.helperProportions = { - width: this.helper.outerWidth(), - height: this.helper.outerHeight() - } - }, - _setContainment: function() { - var b = this.options; - b.containment == "parent" && (b.containment = this.helper[0].parentNode); - if (b.containment == "document" || b.containment == "window") this.containment = [0 - this.offset.relative.left - this.offset.parent.left, 0 - this.offset.relative.top - this.offset.parent.top, a(b.containment == "document" ? document: window).width() - this.helperProportions.width - this.margins.left, (a(b.containment == "document" ? document: window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top]; - if (!/^(document|window|parent)$/.test(b.containment)) { - var c = a(b.containment)[0], - d = a(b.containment).offset(), - e = a(c).css("overflow") != "hidden"; - this.containment = [d.left + (parseInt(a(c).css("borderLeftWidth"), 10) || 0) + (parseInt(a(c).css("paddingLeft"), 10) || 0) - this.margins.left, d.top + (parseInt(a(c).css("borderTopWidth"), 10) || 0) + (parseInt(a(c).css("paddingTop"), 10) || 0) - this.margins.top, d.left + (e ? Math.max(c.scrollWidth, c.offsetWidth) : c.offsetWidth) - (parseInt(a(c).css("borderLeftWidth"), 10) || 0) - (parseInt(a(c).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left, d.top + (e ? Math.max(c.scrollHeight, c.offsetHeight) : c.offsetHeight) - (parseInt(a(c).css("borderTopWidth"), 10) || 0) - (parseInt(a(c).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top] - } - }, - _convertPositionTo: function(b, c) { - c || (c = this.position); - var d = b == "absolute" ? 1 : -1, - e = this.options, - f = this.cssPosition == "absolute" && (this.scrollParent[0] == document || !a.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent: this.scrollParent, - g = /(html|body)/i.test(f[0].tagName); - return { - top: c.top + this.offset.relative.top * d + this.offset.parent.top * d - (a.browser.safari && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : g ? 0 : f.scrollTop()) * d), - left: c.left + this.offset.relative.left * d + this.offset.parent.left * d - (a.browser.safari && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : g ? 0 : f.scrollLeft()) * d) - } - }, - _generatePosition: function(b) { - var c = this.options, - d = this.cssPosition == "absolute" && (this.scrollParent[0] == document || !a.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent: this.scrollParent, - e = /(html|body)/i.test(d[0].tagName); - this.cssPosition == "relative" && (this.scrollParent[0] == document || this.scrollParent[0] == this.offsetParent[0]) && (this.offset.relative = this._getRelativeOffset()); - var f = b.pageX, - g = b.pageY; - if (this.originalPosition) { - this.containment && (b.pageX - this.offset.click.left < this.containment[0] && (f = this.containment[0] + this.offset.click.left), b.pageY - this.offset.click.top < this.containment[1] && (g = this.containment[1] + this.offset.click.top), b.pageX - this.offset.click.left > this.containment[2] && (f = this.containment[2] + this.offset.click.left), b.pageY - this.offset.click.top > this.containment[3] && (g = this.containment[3] + this.offset.click.top)); - if (c.grid) { - var h = this.originalPageY + Math.round((g - this.originalPageY) / c.grid[1]) * c.grid[1]; - g = this.containment ? h - this.offset.click.top < this.containment[1] || h - this.offset.click.top > this.containment[3] ? h - this.offset.click.top < this.containment[1] ? h + c.grid[1] : h - c.grid[1] : h: h; - var i = this.originalPageX + Math.round((f - this.originalPageX) / c.grid[0]) * c.grid[0]; - f = this.containment ? i - this.offset.click.left < this.containment[0] || i - this.offset.click.left > this.containment[2] ? i - this.offset.click.left < this.containment[0] ? i + c.grid[0] : i - c.grid[0] : i: i - } - } - return { - top: g - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + (a.browser.safari && this.cssPosition == "fixed" ? 0 : this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : e ? 0 : d.scrollTop()), - left: f - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + (a.browser.safari && this.cssPosition == "fixed" ? 0 : this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : e ? 0 : d.scrollLeft()) - } - }, - _rearrange: function(a, b, c, d) { - c ? c[0].appendChild(this.placeholder[0]) : b.item[0].parentNode.insertBefore(this.placeholder[0], this.direction == "down" ? b.item[0] : b.item[0].nextSibling), - this.counter = this.counter ? ++this.counter: 1; - var e = this, - f = this.counter; - window.setTimeout(function() { - f == e.counter && e.refreshPositions(!d) - }, - 0) - }, - _clear: function(b, c) { - this.reverting = !1; - var d = [], - e = this; ! this._noFinalSort && this.currentItem.parent().length && this.placeholder.before(this.currentItem), - this._noFinalSort = null; - if (this.helper[0] == this.currentItem[0]) { - for (var f in this._storedCSS) if (this._storedCSS[f] == "auto" || this._storedCSS[f] == "static") this._storedCSS[f] = ""; - this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper") - } else this.currentItem.show(); - this.fromOutside && !c && d.push(function(a) { - this._trigger("receive", a, this._uiHash(this.fromOutside)) - }), - (this.fromOutside || this.domPosition.prev != this.currentItem.prev().not(".ui-sortable-helper")[0] || this.domPosition.parent != this.currentItem.parent()[0]) && !c && d.push(function(a) { - this._trigger("update", a, this._uiHash()) - }); - if (!a.ui.contains(this.element[0], this.currentItem[0])) { - c || d.push(function(a) { - this._trigger("remove", a, this._uiHash()) - }); - for (var f = this.containers.length - 1; f >= 0; f--) a.ui.contains(this.containers[f].element[0], this.currentItem[0]) && !c && (d.push(function(a) { - return function(b) { - a._trigger("receive", b, this._uiHash(this)) - } - }.call(this, this.containers[f])), d.push(function(a) { - return function(b) { - a._trigger("update", b, this._uiHash(this)) - } - }.call(this, this.containers[f]))) - } - for (var f = this.containers.length - 1; f >= 0; f--) c || d.push(function(a) { - return function(b) { - a._trigger("deactivate", b, this._uiHash(this)) - } - }.call(this, this.containers[f])), - this.containers[f].containerCache.over && (d.push(function(a) { - return function(b) { - a._trigger("out", b, this._uiHash(this)) - } - }.call(this, this.containers[f])), this.containers[f].containerCache.over = 0); - this._storedCursor && a("body").css("cursor", this._storedCursor), - this._storedOpacity && this.helper.css("opacity", this._storedOpacity), - this._storedZIndex && this.helper.css("zIndex", this._storedZIndex == "auto" ? "": this._storedZIndex), - this.dragging = !1; - if (this.cancelHelperRemoval) { - if (!c) { - this._trigger("beforeStop", b, this._uiHash()); - for (var f = 0; f < d.length; f++) d[f].call(this, b); - this._trigger("stop", b, this._uiHash()) - } - return ! 1 - } - c || this._trigger("beforeStop", b, this._uiHash()), - this.placeholder[0].parentNode.removeChild(this.placeholder[0]), - this.helper[0] != this.currentItem[0] && this.helper.remove(), - this.helper = null; - if (!c) { - for (var f = 0; f < d.length; f++) d[f].call(this, b); - this._trigger("stop", b, this._uiHash()) - } - this.fromOutside = !1; - return ! 0 - }, - _trigger: function() { - a.Widget.prototype._trigger.apply(this, arguments) === !1 && this.cancel() - }, - _uiHash: function(b) { - var c = b || this; - return { - helper: c.helper, - placeholder: c.placeholder || a([]), - position: c.position, - originalPosition: c.originalPosition, - offset: c.positionAbs, - item: c.currentItem, - sender: b ? b.element: null - } - } - }), - a.extend(a.ui.sortable, { - version: "1.8.18" - }) -})(jQuery); -/* - * jQuery UI Datepicker 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Datepicker - * - * Depends: - * jquery.ui.core.js - */ -(function($, undefined) { - function isArray(a) { - return a && ($.browser.safari && typeof a == "object" && a.length || a.constructor && a.constructor.toString().match(/\Array\(\)/)) - } - function extendRemove(a, b) { - $.extend(a, b); - for (var c in b) if (b[c] == null || b[c] == undefined) a[c] = b[c]; - return a - } - function bindHover(a) { - var b = "button, .ui-datepicker-calendar td a"; - return a.bind("mouseout", - function(a) { - var c = $(a.target).closest(b); ! c.length || c.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover") - }).bind("mouseover", - function(c) { - var d = $(c.target).closest(b); ! $.datepicker._isDisabledDatepicker(instActive.inline ? a.parent()[0] : instActive.input[0]) && !!d.length && (d.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"), d.addClass("ui-state-hover"), d.hasClass("ui-datepicker-prev") && d.addClass("ui-datepicker-prev-hover"), d.hasClass("ui-datepicker-next") && d.addClass("ui-datepicker-next-hover")) - }) - } - function Datepicker() { - this.debug = !1, - this._curInst = null, - this._keyEvent = !1, - this._disabledInputs = [], - this._datepickerShowing = !1, - this._inDialog = !1, - this._mainDivId = "ui-datepicker-div", - this._inlineClass = "ui-datepicker-inline", - this._appendClass = "ui-datepicker-append", - this._triggerClass = "ui-datepicker-trigger", - this._dialogClass = "ui-datepicker-dialog", - this._disableClass = "ui-datepicker-disabled", - this._unselectableClass = "ui-datepicker-unselectable", - this._currentClass = "ui-datepicker-current-day", - this._dayOverClass = "ui-datepicker-days-cell-over", - this.regional = [], - this.regional[""] = { - closeText: "Done", - prevText: "Prev", - nextText: "Next", - currentText: "Today", - monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], - monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], - dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], - dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], - dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], - weekHeader: "Wk", - dateFormat: "mm/dd/yy", - firstDay: 0, - isRTL: !1, - showMonthAfterYear: !1, - yearSuffix: "" - }, - this._defaults = { - showOn: "focus", - showAnim: "fadeIn", - showOptions: {}, - defaultDate: null, - appendText: "", - buttonText: "...", - buttonImage: "", - buttonImageOnly: !1, - hideIfNoPrevNext: !1, - navigationAsDateFormat: !1, - gotoCurrent: !1, - changeMonth: !1, - changeYear: !1, - yearRange: "c-10:c+10", - showOtherMonths: !1, - selectOtherMonths: !1, - showWeek: !1, - calculateWeek: this.iso8601Week, - shortYearCutoff: "+10", - minDate: null, - maxDate: null, - duration: "fast", - beforeShowDay: null, - beforeShow: null, - onSelect: null, - onChangeMonthYear: null, - onClose: null, - numberOfMonths: 1, - showCurrentAtPos: 0, - stepMonths: 1, - stepBigMonths: 12, - altField: "", - altFormat: "", - constrainInput: !0, - showButtonPanel: !1, - autoSize: !1, - disabled: !1 - }, - $.extend(this._defaults, this.regional[""]), - this.dpDiv = bindHover($('
')) - } - $.extend($.ui, { - datepicker: { - version: "1.8.18" - } - }); - var PROP_NAME = "datepicker", - dpuuid = (new Date).getTime(), - instActive; - $.extend(Datepicker.prototype, { - markerClassName: "hasDatepicker", - maxRows: 4, - log: function() { - this.debug && console.log.apply("", arguments) - }, - _widgetDatepicker: function() { - return this.dpDiv - }, - setDefaults: function(a) { - extendRemove(this._defaults, a || {}); - return this - }, - _attachDatepicker: function(target, settings) { - var inlineSettings = null; - for (var attrName in this._defaults) { - var attrValue = target.getAttribute("date:" + attrName); - if (attrValue) { - inlineSettings = inlineSettings || {}; - try { - inlineSettings[attrName] = eval(attrValue) - } catch(err) { - inlineSettings[attrName] = attrValue - } - } - } - var nodeName = target.nodeName.toLowerCase(), - inline = nodeName == "div" || nodeName == "span"; - target.id || (this.uuid += 1, target.id = "dp" + this.uuid); - var inst = this._newInst($(target), inline); - inst.settings = $.extend({}, - settings || {}, - inlineSettings || {}), - nodeName == "input" ? this._connectDatepicker(target, inst) : inline && this._inlineDatepicker(target, inst) - }, - _newInst: function(a, b) { - var c = a[0].id.replace(/([^A-Za-z0-9_-])/g, "\\\\$1"); - return { - id: c, - input: a, - selectedDay: 0, - selectedMonth: 0, - selectedYear: 0, - drawMonth: 0, - drawYear: 0, - inline: b, - dpDiv: b ? bindHover($('
')) : this.dpDiv - } - }, - _connectDatepicker: function(a, b) { - var c = $(a); - b.append = $([]), - b.trigger = $([]); - c.hasClass(this.markerClassName) || (this._attachments(c, b), c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker", - function(a, c, d) { - b.settings[c] = d - }).bind("getData.datepicker", - function(a, c) { - return this._get(b, c) - }), this._autoSize(b), $.data(a, PROP_NAME, b), b.settings.disabled && this._disableDatepicker(a)) - }, - _attachments: function(a, b) { - var c = this._get(b, "appendText"), - d = this._get(b, "isRTL"); - b.append && b.append.remove(), - c && (b.append = $('' + c + ""), a[d ? "before": "after"](b.append)), - a.unbind("focus", this._showDatepicker), - b.trigger && b.trigger.remove(); - var e = this._get(b, "showOn"); (e == "focus" || e == "both") && a.focus(this._showDatepicker); - if (e == "button" || e == "both") { - var f = this._get(b, "buttonText"), - g = this._get(b, "buttonImage"); - b.trigger = $(this._get(b, "buttonImageOnly") ? $("").addClass(this._triggerClass).attr({ - src: g, - alt: f, - title: f - }) : $('').addClass(this._triggerClass).html(g == "" ? f: $("").attr({ - src: g, - alt: f, - title: f - }))), - a[d ? "before": "after"](b.trigger), - b.trigger.click(function() { - $.datepicker._datepickerShowing && $.datepicker._lastInput == a[0] ? $.datepicker._hideDatepicker() : $.datepicker._datepickerShowing && $.datepicker._lastInput != a[0] ? ($.datepicker._hideDatepicker(), $.datepicker._showDatepicker(a[0])) : $.datepicker._showDatepicker(a[0]); - return ! 1 - }) - } - }, - _autoSize: function(a) { - if (this._get(a, "autoSize") && !a.inline) { - var b = new Date(2009, 11, 20), - c = this._get(a, "dateFormat"); - if (c.match(/[DM]/)) { - var d = function(a) { - var b = 0, - c = 0; - for (var d = 0; d < a.length; d++) a[d].length > b && (b = a[d].length, c = d); - return c - }; - b.setMonth(d(this._get(a, c.match(/MM/) ? "monthNames": "monthNamesShort"))), - b.setDate(d(this._get(a, c.match(/DD/) ? "dayNames": "dayNamesShort")) + 20 - b.getDay()) - } - a.input.attr("size", this._formatDate(a, b).length) - } - }, - _inlineDatepicker: function(a, b) { - var c = $(a); - c.hasClass(this.markerClassName) || (c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker", - function(a, c, d) { - b.settings[c] = d - }).bind("getData.datepicker", - function(a, c) { - return this._get(b, c) - }), $.data(a, PROP_NAME, b), this._setDate(b, this._getDefaultDate(b), !0), this._updateDatepicker(b), this._updateAlternate(b), b.settings.disabled && this._disableDatepicker(a), b.dpDiv.css("display", "block")) - }, - _dialogDatepicker: function(a, b, c, d, e) { - var f = this._dialogInst; - if (!f) { - this.uuid += 1; - var g = "dp" + this.uuid; - this._dialogInput = $(''), - this._dialogInput.keydown(this._doKeyDown), - $("body").append(this._dialogInput), - f = this._dialogInst = this._newInst(this._dialogInput, !1), - f.settings = {}, - $.data(this._dialogInput[0], PROP_NAME, f) - } - extendRemove(f.settings, d || {}), - b = b && b.constructor == Date ? this._formatDate(f, b) : b, - this._dialogInput.val(b), - this._pos = e ? e.length ? e: [e.pageX, e.pageY] : null; - if (!this._pos) { - var h = document.documentElement.clientWidth, - i = document.documentElement.clientHeight, - j = document.documentElement.scrollLeft || document.body.scrollLeft, - k = document.documentElement.scrollTop || document.body.scrollTop; - this._pos = [h / 2 - 100 + j, i / 2 - 150 + k] - } - this._dialogInput.css("left", this._pos[0] + 20 + "px").css("top", this._pos[1] + "px"), - f.settings.onSelect = c, - this._inDialog = !0, - this.dpDiv.addClass(this._dialogClass), - this._showDatepicker(this._dialogInput[0]), - $.blockUI && $.blockUI(this.dpDiv), - $.data(this._dialogInput[0], PROP_NAME, f); - return this - }, - _destroyDatepicker: function(a) { - var b = $(a), - c = $.data(a, PROP_NAME); - if ( !! b.hasClass(this.markerClassName)) { - var d = a.nodeName.toLowerCase(); - $.removeData(a, PROP_NAME), - d == "input" ? (c.append.remove(), c.trigger.remove(), b.removeClass(this.markerClassName).unbind("focus", this._showDatepicker).unbind("keydown", this._doKeyDown).unbind("keypress", this._doKeyPress).unbind("keyup", this._doKeyUp)) : (d == "div" || d == "span") && b.removeClass(this.markerClassName).empty() - } - }, - _enableDatepicker: function(a) { - var b = $(a), - c = $.data(a, PROP_NAME); - if ( !! b.hasClass(this.markerClassName)) { - var d = a.nodeName.toLowerCase(); - if (d == "input") a.disabled = !1, - c.trigger.filter("button").each(function() { - this.disabled = !1 - }).end().filter("img").css({ - opacity: "1.0", - cursor: "" - }); - else if (d == "div" || d == "span") { - var e = b.children("." + this._inlineClass); - e.children().removeClass("ui-state-disabled"), - e.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled") - } - this._disabledInputs = $.map(this._disabledInputs, - function(b) { - return b == a ? null: b - }) - } - }, - _disableDatepicker: function(a) { - var b = $(a), - c = $.data(a, PROP_NAME); - if ( !! b.hasClass(this.markerClassName)) { - var d = a.nodeName.toLowerCase(); - if (d == "input") a.disabled = !0, - c.trigger.filter("button").each(function() { - this.disabled = !0 - }).end().filter("img").css({ - opacity: "0.5", - cursor: "default" - }); - else if (d == "div" || d == "span") { - var e = b.children("." + this._inlineClass); - e.children().addClass("ui-state-disabled"), - e.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled", "disabled") - } - this._disabledInputs = $.map(this._disabledInputs, - function(b) { - return b == a ? null: b - }), - this._disabledInputs[this._disabledInputs.length] = a - } - }, - _isDisabledDatepicker: function(a) { - if (!a) return ! 1; - for (var b = 0; b < this._disabledInputs.length; b++) if (this._disabledInputs[b] == a) return ! 0; - return ! 1 - }, - _getInst: function(a) { - try { - return $.data(a, PROP_NAME) - } catch(b) { - throw "Missing instance data for this datepicker" - } - }, - _optionDatepicker: function(a, b, c) { - var d = this._getInst(a); - if (arguments.length == 2 && typeof b == "string") return b == "defaults" ? $.extend({}, - $.datepicker._defaults) : d ? b == "all" ? $.extend({}, - d.settings) : this._get(d, b) : null; - var e = b || {}; - typeof b == "string" && (e = {}, - e[b] = c); - if (d) { - this._curInst == d && this._hideDatepicker(); - var f = this._getDateDatepicker(a, !0), - g = this._getMinMaxDate(d, "min"), - h = this._getMinMaxDate(d, "max"); - extendRemove(d.settings, e), - g !== null && e.dateFormat !== undefined && e.minDate === undefined && (d.settings.minDate = this._formatDate(d, g)), - h !== null && e.dateFormat !== undefined && e.maxDate === undefined && (d.settings.maxDate = this._formatDate(d, h)), - this._attachments($(a), d), - this._autoSize(d), - this._setDate(d, f), - this._updateAlternate(d), - this._updateDatepicker(d) - } - }, - _changeDatepicker: function(a, b, c) { - this._optionDatepicker(a, b, c) - }, - _refreshDatepicker: function(a) { - var b = this._getInst(a); - b && this._updateDatepicker(b) - }, - _setDateDatepicker: function(a, b) { - var c = this._getInst(a); - c && (this._setDate(c, b), this._updateDatepicker(c), this._updateAlternate(c)) - }, - _getDateDatepicker: function(a, b) { - var c = this._getInst(a); - c && !c.inline && this._setDateFromField(c, b); - return c ? this._getDate(c) : null - }, - _doKeyDown: function(a) { - var b = $.datepicker._getInst(a.target), - c = !0, - d = b.dpDiv.is(".ui-datepicker-rtl"); - b._keyEvent = !0; - if ($.datepicker._datepickerShowing) switch (a.keyCode) { - case 9: - $.datepicker._hideDatepicker(), - c = !1; - break; - case 13: - var e = $("td." + $.datepicker._dayOverClass + ":not(." + $.datepicker._currentClass + ")", b.dpDiv); - e[0] && $.datepicker._selectDay(a.target, b.selectedMonth, b.selectedYear, e[0]); - var f = $.datepicker._get(b, "onSelect"); - if (f) { - var g = $.datepicker._formatDate(b); - f.apply(b.input ? b.input[0] : null, [g, b]) - } else $.datepicker._hideDatepicker(); - return ! 1; - case 27: - $.datepicker._hideDatepicker(); - break; - case 33: - $.datepicker._adjustDate(a.target, a.ctrlKey ? -$.datepicker._get(b, "stepBigMonths") : -$.datepicker._get(b, "stepMonths"), "M"); - break; - case 34: - $.datepicker._adjustDate(a.target, a.ctrlKey ? +$.datepicker._get(b, "stepBigMonths") : +$.datepicker._get(b, "stepMonths"), "M"); - break; - case 35: - (a.ctrlKey || a.metaKey) && $.datepicker._clearDate(a.target), - c = a.ctrlKey || a.metaKey; - break; - case 36: - (a.ctrlKey || a.metaKey) && $.datepicker._gotoToday(a.target), - c = a.ctrlKey || a.metaKey; - break; - case 37: - (a.ctrlKey || a.metaKey) && $.datepicker._adjustDate(a.target, d ? 1 : -1, "D"), - c = a.ctrlKey || a.metaKey, - a.originalEvent.altKey && $.datepicker._adjustDate(a.target, a.ctrlKey ? -$.datepicker._get(b, "stepBigMonths") : -$.datepicker._get(b, "stepMonths"), "M"); - break; - case 38: - (a.ctrlKey || a.metaKey) && $.datepicker._adjustDate(a.target, -7, "D"), - c = a.ctrlKey || a.metaKey; - break; - case 39: - (a.ctrlKey || a.metaKey) && $.datepicker._adjustDate(a.target, d ? -1 : 1, "D"), - c = a.ctrlKey || a.metaKey, - a.originalEvent.altKey && $.datepicker._adjustDate(a.target, a.ctrlKey ? +$.datepicker._get(b, "stepBigMonths") : +$.datepicker._get(b, "stepMonths"), "M"); - break; - case 40: - (a.ctrlKey || a.metaKey) && $.datepicker._adjustDate(a.target, 7, "D"), - c = a.ctrlKey || a.metaKey; - break; - default: - c = !1 - } else a.keyCode == 36 && a.ctrlKey ? $.datepicker._showDatepicker(this) : c = !1; - c && (a.preventDefault(), a.stopPropagation()) - }, - _doKeyPress: function(a) { - var b = $.datepicker._getInst(a.target); - if ($.datepicker._get(b, "constrainInput")) { - var c = $.datepicker._possibleChars($.datepicker._get(b, "dateFormat")), - d = String.fromCharCode(a.charCode == undefined ? a.keyCode: a.charCode); - return a.ctrlKey || a.metaKey || d < " " || !c || c.indexOf(d) > -1 - } - }, - _doKeyUp: function(a) { - var b = $.datepicker._getInst(a.target); - if (b.input.val() != b.lastVal) try { - var c = $.datepicker.parseDate($.datepicker._get(b, "dateFormat"), b.input ? b.input.val() : null, $.datepicker._getFormatConfig(b)); - c && ($.datepicker._setDateFromField(b), $.datepicker._updateAlternate(b), $.datepicker._updateDatepicker(b)) - } catch(a) { - $.datepicker.log(a) - } - return ! 0 - }, - _showDatepicker: function(a) { - a = a.target || a, - a.nodeName.toLowerCase() != "input" && (a = $("input", a.parentNode)[0]); - if (!$.datepicker._isDisabledDatepicker(a) && $.datepicker._lastInput != a) { - var b = $.datepicker._getInst(a); - $.datepicker._curInst && $.datepicker._curInst != b && ($.datepicker._curInst.dpDiv.stop(!0, !0), b && $.datepicker._datepickerShowing && $.datepicker._hideDatepicker($.datepicker._curInst.input[0])); - var c = $.datepicker._get(b, "beforeShow"), - d = c ? c.apply(a, [a, b]) : {}; - if (d === !1) return; - extendRemove(b.settings, d), - b.lastVal = null, - $.datepicker._lastInput = a, - $.datepicker._setDateFromField(b), - $.datepicker._inDialog && (a.value = ""), - $.datepicker._pos || ($.datepicker._pos = $.datepicker._findPos(a), $.datepicker._pos[1] += a.offsetHeight); - var e = !1; - $(a).parents().each(function() { - e |= $(this).css("position") == "fixed"; - return ! e - }), - e && $.browser.opera && ($.datepicker._pos[0] -= document.documentElement.scrollLeft, $.datepicker._pos[1] -= document.documentElement.scrollTop); - var f = { - left: $.datepicker._pos[0], - top: $.datepicker._pos[1] - }; - $.datepicker._pos = null, - b.dpDiv.empty(), - b.dpDiv.css({ - position: "absolute", - display: "block", - top: "-1000px" - }), - $.datepicker._updateDatepicker(b), - f = $.datepicker._checkOffset(b, f, e), - b.dpDiv.css({ - position: $.datepicker._inDialog && $.blockUI ? "static": e ? "fixed": "absolute", - display: "none", - left: f.left + "px", - top: f.top + "px" - }); - if (!b.inline) { - var g = $.datepicker._get(b, "showAnim"), - h = $.datepicker._get(b, "duration"), - i = function() { - var a = b.dpDiv.find("iframe.ui-datepicker-cover"); - if ( !! a.length) { - var c = $.datepicker._getBorders(b.dpDiv); - a.css({ - left: -c[0], - top: -c[1], - width: b.dpDiv.outerWidth(), - height: b.dpDiv.outerHeight() - }) - } - }; - b.dpDiv.zIndex($(a).zIndex() + 1), - $.datepicker._datepickerShowing = !0, - $.effects && $.effects[g] ? b.dpDiv.show(g, $.datepicker._get(b, "showOptions"), h, i) : b.dpDiv[g || "show"](g ? h: null, i), - (!g || !h) && i(), - b.input.is(":visible") && !b.input.is(":disabled") && b.input.focus(), - $.datepicker._curInst = b - } - } - }, - _updateDatepicker: function(a) { - var b = this; - b.maxRows = 4; - var c = $.datepicker._getBorders(a.dpDiv); - instActive = a, - a.dpDiv.empty().append(this._generateHTML(a)); - var d = a.dpDiv.find("iframe.ui-datepicker-cover"); ! d.length || d.css({ - left: -c[0], - top: -c[1], - width: a.dpDiv.outerWidth(), - height: a.dpDiv.outerHeight() - }), - a.dpDiv.find("." + this._dayOverClass + " a").mouseover(); - var e = this._getNumberOfMonths(a), - f = e[1], - g = 17; - a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""), - f > 1 && a.dpDiv.addClass("ui-datepicker-multi-" + f).css("width", g * f + "em"), - a.dpDiv[(e[0] != 1 || e[1] != 1 ? "add": "remove") + "Class"]("ui-datepicker-multi"), - a.dpDiv[(this._get(a, "isRTL") ? "add": "remove") + "Class"]("ui-datepicker-rtl"), - a == $.datepicker._curInst && $.datepicker._datepickerShowing && a.input && a.input.is(":visible") && !a.input.is(":disabled") && a.input[0] != document.activeElement && a.input.focus(); - if (a.yearshtml) { - var h = a.yearshtml; - setTimeout(function() { - h === a.yearshtml && a.yearshtml && a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml), - h = a.yearshtml = null - }, - 0) - } - }, - _getBorders: function(a) { - var b = function(a) { - return { - thin: 1, - medium: 2, - thick: 3 - } [a] || a - }; - return [parseFloat(b(a.css("border-left-width"))), parseFloat(b(a.css("border-top-width")))] - }, - _checkOffset: function(a, b, c) { - var d = a.dpDiv.outerWidth(), - e = a.dpDiv.outerHeight(), - f = a.input ? a.input.outerWidth() : 0, - g = a.input ? a.input.outerHeight() : 0, - h = document.documentElement.clientWidth + $(document).scrollLeft(), - i = document.documentElement.clientHeight + $(document).scrollTop(); - b.left -= this._get(a, "isRTL") ? d - f: 0, - b.left -= c && b.left == a.input.offset().left ? $(document).scrollLeft() : 0, - b.top -= c && b.top == a.input.offset().top + g ? $(document).scrollTop() : 0, - b.left -= Math.min(b.left, b.left + d > h && h > d ? Math.abs(b.left + d - h) : 0), - b.top -= Math.min(b.top, b.top + e > i && i > e ? Math.abs(e + g) : 0); - return b - }, - _findPos: function(a) { - var b = this._getInst(a), - c = this._get(b, "isRTL"); - while (a && (a.type == "hidden" || a.nodeType != 1 || $.expr.filters.hidden(a))) a = a[c ? "previousSibling": "nextSibling"]; - var d = $(a).offset(); - return [d.left, d.top] - }, - _hideDatepicker: function(a) { - var b = this._curInst; - if (! (!b || a && b != $.data(a, PROP_NAME)) && this._datepickerShowing) { - var c = this._get(b, "showAnim"), - d = this._get(b, "duration"), - e = this, - f = function() { - $.datepicker._tidyDialog(b), - e._curInst = null - }; - $.effects && $.effects[c] ? b.dpDiv.hide(c, $.datepicker._get(b, "showOptions"), d, f) : b.dpDiv[c == "slideDown" ? "slideUp": c == "fadeIn" ? "fadeOut": "hide"](c ? d: null, f), - c || f(), - this._datepickerShowing = !1; - var g = this._get(b, "onClose"); - g && g.apply(b.input ? b.input[0] : null, [b.input ? b.input.val() : "", b]), - this._lastInput = null, - this._inDialog && (this._dialogInput.css({ - position: "absolute", - left: "0", - top: "-100px" - }), $.blockUI && ($.unblockUI(), $("body").append(this.dpDiv))), - this._inDialog = !1 - } - }, - _tidyDialog: function(a) { - a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar") - }, - _checkExternalClick: function(a) { - if ( !! $.datepicker._curInst) { - var b = $(a.target), - c = $.datepicker._getInst(b[0]); (b[0].id != $.datepicker._mainDivId && b.parents("#" + $.datepicker._mainDivId).length == 0 && !b.hasClass($.datepicker.markerClassName) && !b.closest("." + $.datepicker._triggerClass).length && $.datepicker._datepickerShowing && (!$.datepicker._inDialog || !$.blockUI) || b.hasClass($.datepicker.markerClassName) && $.datepicker._curInst != c) && $.datepicker._hideDatepicker() - } - }, - _adjustDate: function(a, b, c) { - var d = $(a), - e = this._getInst(d[0]); - this._isDisabledDatepicker(d[0]) || (this._adjustInstDate(e, b + (c == "M" ? this._get(e, "showCurrentAtPos") : 0), c), this._updateDatepicker(e)) - }, - _gotoToday: function(a) { - var b = $(a), - c = this._getInst(b[0]); - if (this._get(c, "gotoCurrent") && c.currentDay) c.selectedDay = c.currentDay, - c.drawMonth = c.selectedMonth = c.currentMonth, - c.drawYear = c.selectedYear = c.currentYear; - else { - var d = new Date; - c.selectedDay = d.getDate(), - c.drawMonth = c.selectedMonth = d.getMonth(), - c.drawYear = c.selectedYear = d.getFullYear() - } - this._notifyChange(c), - this._adjustDate(b) - }, - _selectMonthYear: function(a, b, c) { - var d = $(a), - e = this._getInst(d[0]); - e["selected" + (c == "M" ? "Month": "Year")] = e["draw" + (c == "M" ? "Month": "Year")] = parseInt(b.options[b.selectedIndex].value, 10), - this._notifyChange(e), - this._adjustDate(d) - }, - _selectDay: function(a, b, c, d) { - var e = $(a); - if (!$(d).hasClass(this._unselectableClass) && !this._isDisabledDatepicker(e[0])) { - var f = this._getInst(e[0]); - f.selectedDay = f.currentDay = $("a", d).html(), - f.selectedMonth = f.currentMonth = b, - f.selectedYear = f.currentYear = c, - this._selectDate(a, this._formatDate(f, f.currentDay, f.currentMonth, f.currentYear)) - } - }, - _clearDate: function(a) { - var b = $(a), - c = this._getInst(b[0]); - this._selectDate(b, "") - }, - _selectDate: function(a, b) { - var c = $(a), - d = this._getInst(c[0]); - b = b != null ? b: this._formatDate(d), - d.input && d.input.val(b), - this._updateAlternate(d); - var e = this._get(d, "onSelect"); - e ? e.apply(d.input ? d.input[0] : null, [b, d]) : d.input && d.input.trigger("change"), - d.inline ? this._updateDatepicker(d) : (this._hideDatepicker(), this._lastInput = d.input[0], typeof d.input[0] != "object" && d.input.focus(), this._lastInput = null) - }, - _updateAlternate: function(a) { - var b = this._get(a, "altField"); - if (b) { - var c = this._get(a, "altFormat") || this._get(a, "dateFormat"), - d = this._getDate(a), - e = this.formatDate(c, d, this._getFormatConfig(a)); - $(b).each(function() { - $(this).val(e) - }) - } - }, - noWeekends: function(a) { - var b = a.getDay(); - return [b > 0 && b < 6, ""] - }, - iso8601Week: function(a) { - var b = new Date(a.getTime()); - b.setDate(b.getDate() + 4 - (b.getDay() || 7)); - var c = b.getTime(); - b.setMonth(0), - b.setDate(1); - return Math.floor(Math.round((c - b) / 864e5) / 7) + 1 - }, - parseDate: function(a, b, c) { - if (a == null || b == null) throw "Invalid arguments"; - b = typeof b == "object" ? b.toString() : b + ""; - if (b == "") return null; - var d = (c ? c.shortYearCutoff: null) || this._defaults.shortYearCutoff; - d = typeof d != "string" ? d: (new Date).getFullYear() % 100 + parseInt(d, 10); - var e = (c ? c.dayNamesShort: null) || this._defaults.dayNamesShort, - f = (c ? c.dayNames: null) || this._defaults.dayNames, - g = (c ? c.monthNamesShort: null) || this._defaults.monthNamesShort, - h = (c ? c.monthNames: null) || this._defaults.monthNames, - i = -1, - j = -1, - k = -1, - l = -1, - m = !1, - n = function(b) { - var c = s + 1 < a.length && a.charAt(s + 1) == b; - c && s++; - return c - }, - o = function(a) { - var c = n(a), - d = a == "@" ? 14 : a == "!" ? 20 : a == "y" && c ? 4 : a == "o" ? 3 : 2, - e = new RegExp("^\\d{1," + d + "}"), - f = b.substring(r).match(e); - if (!f) throw "Missing number at position " + r; - r += f[0].length; - return parseInt(f[0], 10) - }, - p = function(a, c, d) { - var e = $.map(n(a) ? d: c, - function(a, b) { - return [[b, a]] - }).sort(function(a, b) { - return - (a[1].length - b[1].length) - }), - f = -1; - $.each(e, - function(a, c) { - var d = c[1]; - if (b.substr(r, d.length).toLowerCase() == d.toLowerCase()) { - f = c[0], - r += d.length; - return ! 1 - } - }); - if (f != -1) return f + 1; - throw "Unknown name at position " + r - }, - q = function() { - if (b.charAt(r) != a.charAt(s)) throw "Unexpected literal at position " + r; - r++ - }, - r = 0; - for (var s = 0; s < a.length; s++) if (m) a.charAt(s) == "'" && !n("'") ? m = !1 : q(); - else switch (a.charAt(s)) { - case "d": - k = o("d"); - break; - case "D": - p("D", e, f); - break; - case "o": - l = o("o"); - break; - case "m": - j = o("m"); - break; - case "M": - j = p("M", g, h); - break; - case "y": - i = o("y"); - break; - case "@": - var t = new Date(o("@")); - i = t.getFullYear(), - j = t.getMonth() + 1, - k = t.getDate(); - break; - case "!": - var t = new Date((o("!") - this._ticksTo1970) / 1e4); - i = t.getFullYear(), - j = t.getMonth() + 1, - k = t.getDate(); - break; - case "'": - n("'") ? q() : m = !0; - break; - default: - q() - } - if (r < b.length) throw "Extra/unparsed characters found in date: " + b.substring(r); - i == -1 ? i = (new Date).getFullYear() : i < 100 && (i += (new Date).getFullYear() - (new Date).getFullYear() % 100 + (i <= d ? 0 : -100)); - if (l > -1) { - j = 1, - k = l; - for (;;) { - var u = this._getDaysInMonth(i, j - 1); - if (k <= u) break; - j++, - k -= u - } - } - var t = this._daylightSavingAdjust(new Date(i, j - 1, k)); - if (t.getFullYear() != i || t.getMonth() + 1 != j || t.getDate() != k) throw "Invalid date"; - return t - }, - ATOM: "yy-mm-dd", - COOKIE: "D, dd M yy", - ISO_8601: "yy-mm-dd", - RFC_822: "D, d M y", - RFC_850: "DD, dd-M-y", - RFC_1036: "D, d M y", - RFC_1123: "D, d M yy", - RFC_2822: "D, d M yy", - RSS: "D, d M y", - TICKS: "!", - TIMESTAMP: "@", - W3C: "yy-mm-dd", - _ticksTo1970: (718685 + Math.floor(492.5) - Math.floor(19.7) + Math.floor(4.925)) * 24 * 60 * 60 * 1e7, - formatDate: function(a, b, c) { - if (!b) return ""; - var d = (c ? c.dayNamesShort: null) || this._defaults.dayNamesShort, - e = (c ? c.dayNames: null) || this._defaults.dayNames, - f = (c ? c.monthNamesShort: null) || this._defaults.monthNamesShort, - g = (c ? c.monthNames: null) || this._defaults.monthNames, - h = function(b) { - var c = m + 1 < a.length && a.charAt(m + 1) == b; - c && m++; - return c - }, - i = function(a, b, c) { - var d = "" + b; - if (h(a)) while (d.length < c) d = "0" + d; - return d - }, - j = function(a, b, c, d) { - return h(a) ? d[b] : c[b] - }, - k = "", - l = !1; - if (b) for (var m = 0; m < a.length; m++) if (l) a.charAt(m) == "'" && !h("'") ? l = !1 : k += a.charAt(m); - else switch (a.charAt(m)) { - case "d": - k += i("d", b.getDate(), 2); - break; - case "D": - k += j("D", b.getDay(), d, e); - break; - case "o": - k += i("o", Math.round(((new Date(b.getFullYear(), b.getMonth(), b.getDate())).getTime() - (new Date(b.getFullYear(), 0, 0)).getTime()) / 864e5), 3); - break; - case "m": - k += i("m", b.getMonth() + 1, 2); - break; - case "M": - k += j("M", b.getMonth(), f, g); - break; - case "y": - k += h("y") ? b.getFullYear() : (b.getYear() % 100 < 10 ? "0": "") + b.getYear() % 100; - break; - case "@": - k += b.getTime(); - break; - case "!": - k += b.getTime() * 1e4 + this._ticksTo1970; - break; - case "'": - h("'") ? k += "'": l = !0; - break; - default: - k += a.charAt(m) - } - return k - }, - _possibleChars: function(a) { - var b = "", - c = !1, - d = function(b) { - var c = e + 1 < a.length && a.charAt(e + 1) == b; - c && e++; - return c - }; - for (var e = 0; e < a.length; e++) if (c) a.charAt(e) == "'" && !d("'") ? c = !1 : b += a.charAt(e); - else switch (a.charAt(e)) { - case "d": - case "m": - case "y": - case "@": - b += "0123456789"; - break; - case "D": - case "M": - return null; - case "'": - d("'") ? b += "'": c = !0; - break; - default: - b += a.charAt(e) - } - return b - }, - _get: function(a, b) { - return a.settings[b] !== undefined ? a.settings[b] : this._defaults[b] - }, - _setDateFromField: function(a, b) { - if (a.input.val() != a.lastVal) { - var c = this._get(a, "dateFormat"), - d = a.lastVal = a.input ? a.input.val() : null, - e, - f; - e = f = this._getDefaultDate(a); - var g = this._getFormatConfig(a); - try { - e = this.parseDate(c, d, g) || f - } catch(h) { - this.log(h), - d = b ? "": d - } - a.selectedDay = e.getDate(), - a.drawMonth = a.selectedMonth = e.getMonth(), - a.drawYear = a.selectedYear = e.getFullYear(), - a.currentDay = d ? e.getDate() : 0, - a.currentMonth = d ? e.getMonth() : 0, - a.currentYear = d ? e.getFullYear() : 0, - this._adjustInstDate(a) - } - }, - _getDefaultDate: function(a) { - return this._restrictMinMax(a, this._determineDate(a, this._get(a, "defaultDate"), new Date)) - }, - _determineDate: function(a, b, c) { - var d = function(a) { - var b = new Date; - b.setDate(b.getDate() + a); - return b - }, - e = function(b) { - try { - return $.datepicker.parseDate($.datepicker._get(a, "dateFormat"), b, $.datepicker._getFormatConfig(a)) - } catch(c) {} - var d = (b.toLowerCase().match(/^c/) ? $.datepicker._getDate(a) : null) || new Date, - e = d.getFullYear(), - f = d.getMonth(), - g = d.getDate(), - h = /([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g, - i = h.exec(b); - while (i) { - switch (i[2] || "d") { - case "d": - case "D": - g += parseInt(i[1], 10); - break; - case "w": - case "W": - g += parseInt(i[1], 10) * 7; - break; - case "m": - case "M": - f += parseInt(i[1], 10), - g = Math.min(g, $.datepicker._getDaysInMonth(e, f)); - break; - case "y": - case "Y": - e += parseInt(i[1], 10), - g = Math.min(g, $.datepicker._getDaysInMonth(e, f)) - } - i = h.exec(b) - } - return new Date(e, f, g) - }, - f = b == null || b === "" ? c: typeof b == "string" ? e(b) : typeof b == "number" ? isNaN(b) ? c: d(b) : new Date(b.getTime()); - f = f && f.toString() == "Invalid Date" ? c: f, - f && (f.setHours(0), f.setMinutes(0), f.setSeconds(0), f.setMilliseconds(0)); - return this._daylightSavingAdjust(f) - }, - _daylightSavingAdjust: function(a) { - if (!a) return null; - a.setHours(a.getHours() > 12 ? a.getHours() + 2 : 0); - return a - }, - _setDate: function(a, b, c) { - var d = !b, - e = a.selectedMonth, - f = a.selectedYear, - g = this._restrictMinMax(a, this._determineDate(a, b, new Date)); - a.selectedDay = a.currentDay = g.getDate(), - a.drawMonth = a.selectedMonth = a.currentMonth = g.getMonth(), - a.drawYear = a.selectedYear = a.currentYear = g.getFullYear(), - (e != a.selectedMonth || f != a.selectedYear) && !c && this._notifyChange(a), - this._adjustInstDate(a), - a.input && a.input.val(d ? "": this._formatDate(a)) - }, - _getDate: function(a) { - var b = !a.currentYear || a.input && a.input.val() == "" ? null: this._daylightSavingAdjust(new Date(a.currentYear, a.currentMonth, a.currentDay)); - return b - }, - _generateHTML: function(a) { - var b = new Date; - b = this._daylightSavingAdjust(new Date(b.getFullYear(), b.getMonth(), b.getDate())); - var c = this._get(a, "isRTL"), - d = this._get(a, "showButtonPanel"), - e = this._get(a, "hideIfNoPrevNext"), - f = this._get(a, "navigationAsDateFormat"), - g = this._getNumberOfMonths(a), - h = this._get(a, "showCurrentAtPos"), - i = this._get(a, "stepMonths"), - j = g[0] != 1 || g[1] != 1, - k = this._daylightSavingAdjust(a.currentDay ? new Date(a.currentYear, a.currentMonth, a.currentDay) : new Date(9999, 9, 9)), - l = this._getMinMaxDate(a, "min"), - m = this._getMinMaxDate(a, "max"), - n = a.drawMonth - h, - o = a.drawYear; - n < 0 && (n += 12, o--); - if (m) { - var p = this._daylightSavingAdjust(new Date(m.getFullYear(), m.getMonth() - g[0] * g[1] + 1, m.getDate())); - p = l && p < l ? l: p; - while (this._daylightSavingAdjust(new Date(o, n, 1)) > p) n--, - n < 0 && (n = 11, o--) - } - a.drawMonth = n, - a.drawYear = o; - var q = this._get(a, "prevText"); - q = f ? this.formatDate(q, this._daylightSavingAdjust(new Date(o, n - i, 1)), this._getFormatConfig(a)) : q; - var r = this._canAdjustMonth(a, -1, o, n) ? '' + q + "": e ? "": '' + q + "", - s = this._get(a, "nextText"); - s = f ? this.formatDate(s, this._daylightSavingAdjust(new Date(o, n + i, 1)), this._getFormatConfig(a)) : s; - var t = this._canAdjustMonth(a, 1, o, n) ? '' + s + "": e ? "": '' + s + "", - u = this._get(a, "currentText"), - v = this._get(a, "gotoCurrent") && a.currentDay ? k: b; - u = f ? this.formatDate(u, v, this._getFormatConfig(a)) : u; - var w = a.inline ? "": '", - x = d ? '
' + (c ? w: "") + (this._isInRange(a, v) ? '": "") + (c ? "": w) + "
": "", - y = parseInt(this._get(a, "firstDay"), 10); - y = isNaN(y) ? 0 : y; - var z = this._get(a, "showWeek"), - A = this._get(a, "dayNames"), - B = this._get(a, "dayNamesShort"), - C = this._get(a, "dayNamesMin"), - D = this._get(a, "monthNames"), - E = this._get(a, "monthNamesShort"), - F = this._get(a, "beforeShowDay"), - G = this._get(a, "showOtherMonths"), - H = this._get(a, "selectOtherMonths"), - I = this._get(a, "calculateWeek") || this.iso8601Week, - J = this._getDefaultDate(a), - K = ""; - for (var L = 0; L < g[0]; L++) { - var M = ""; - this.maxRows = 4; - for (var N = 0; N < g[1]; N++) { - var O = this._daylightSavingAdjust(new Date(o, n, a.selectedDay)), - P = " ui-corner-all", - Q = ""; - if (j) { - Q += '
' + (/all|left/.test(P) && L == 0 ? c ? t: r: "") + (/all|right/.test(P) && L == 0 ? c ? r: t: "") + this._generateMonthYearHeader(a, n, o, l, m, L > 0 || N > 0, D, E) + '
' + ""; - var R = z ? '": ""; - for (var S = 0; S < 7; S++) { - var T = (S + y) % 7; - R += "= 5 ? ' class="ui-datepicker-week-end"': "") + ">" + '' + C[T] + "" - } - Q += R + ""; - var U = this._getDaysInMonth(o, n); - o == a.selectedYear && n == a.selectedMonth && (a.selectedDay = Math.min(a.selectedDay, U)); - var V = (this._getFirstDayOfMonth(o, n) - y + 7) % 7, - W = Math.ceil((V + U) / 7), - X = j ? this.maxRows > W ? this.maxRows: W: W; - this.maxRows = X; - var Y = this._daylightSavingAdjust(new Date(o, n, 1 - V)); - for (var Z = 0; Z < X; Z++) { - Q += ""; - var _ = z ? '": ""; - for (var S = 0; S < 7; S++) { - var ba = F ? F.apply(a.input ? a.input[0] : null, [Y]) : [!0, ""], - bb = Y.getMonth() != n, - bc = bb && !H || !ba[0] || l && Y < l || m && Y > m; - _ += '", - Y.setDate(Y.getDate() + 1), - Y = this._daylightSavingAdjust(Y) - } - Q += _ + "" - } - n++, - n > 11 && (n = 0, o++), - Q += "
' + this._get(a, "weekHeader") + "
' + this._get(a, "calculateWeek")(Y) + "" + (bb && !G ? " ": bc ? '' + Y.getDate() + "": '' + Y.getDate() + "") + "
" + (j ? "" + (g[0] > 0 && N == g[1] - 1 ? '
': "") : ""), - M += Q - } - K += M - } - K += x + ($.browser.msie && parseInt($.browser.version, 10) < 7 && !a.inline ? '': ""), - a._keyEvent = !1; - return K - }, - _generateMonthYearHeader: function(a, b, c, d, e, f, g, h) { - var i = this._get(a, "changeMonth"), - j = this._get(a, "changeYear"), - k = this._get(a, "showMonthAfterYear"), - l = '
', - m = ""; - if (f || !i) m += '' + g[b] + ""; - else { - var n = d && d.getFullYear() == c, - o = e && e.getFullYear() == c; - m += '" - } - k || (l += m + (f || !i || !j ? " ": "")); - if (!a.yearshtml) { - a.yearshtml = ""; - if (f || !j) l += '' + c + ""; - else { - var q = this._get(a, "yearRange").split(":"), - r = (new Date).getFullYear(), - s = function(a) { - var b = a.match(/c[+-].*/) ? c + parseInt(a.substring(1), 10) : a.match(/[+-].*/) ? r + parseInt(a, 10) : parseInt(a, 10); - return isNaN(b) ? r: b - }, - t = s(q[0]), - u = Math.max(t, s(q[1] || "")); - t = d ? Math.max(t, d.getFullYear()) : t, - u = e ? Math.min(u, e.getFullYear()) : u, - a.yearshtml += '", - l += a.yearshtml, - a.yearshtml = null - } - } - l += this._get(a, "yearSuffix"), - k && (l += (f || !i || !j ? " ": "") + m), - l += "
"; - return l - }, - _adjustInstDate: function(a, b, c) { - var d = a.drawYear + (c == "Y" ? b: 0), - e = a.drawMonth + (c == "M" ? b: 0), - f = Math.min(a.selectedDay, this._getDaysInMonth(d, e)) + (c == "D" ? b: 0), - g = this._restrictMinMax(a, this._daylightSavingAdjust(new Date(d, e, f))); - a.selectedDay = g.getDate(), - a.drawMonth = a.selectedMonth = g.getMonth(), - a.drawYear = a.selectedYear = g.getFullYear(), - (c == "M" || c == "Y") && this._notifyChange(a) - }, - _restrictMinMax: function(a, b) { - var c = this._getMinMaxDate(a, "min"), - d = this._getMinMaxDate(a, "max"), - e = c && b < c ? c: b; - e = d && e > d ? d: e; - return e - }, - _notifyChange: function(a) { - var b = this._get(a, "onChangeMonthYear"); - b && b.apply(a.input ? a.input[0] : null, [a.selectedYear, a.selectedMonth + 1, a]) - }, - _getNumberOfMonths: function(a) { - var b = this._get(a, "numberOfMonths"); - return b == null ? [1, 1] : typeof b == "number" ? [1, b] : b - }, - _getMinMaxDate: function(a, b) { - return this._determineDate(a, this._get(a, b + "Date"), null) - }, - _getDaysInMonth: function(a, b) { - return 32 - this._daylightSavingAdjust(new Date(a, b, 32)).getDate() - }, - _getFirstDayOfMonth: function(a, b) { - return (new Date(a, b, 1)).getDay() - }, - _canAdjustMonth: function(a, b, c, d) { - var e = this._getNumberOfMonths(a), - f = this._daylightSavingAdjust(new Date(c, d + (b < 0 ? b: e[0] * e[1]), 1)); - b < 0 && f.setDate(this._getDaysInMonth(f.getFullYear(), f.getMonth())); - return this._isInRange(a, f) - }, - _isInRange: function(a, b) { - var c = this._getMinMaxDate(a, "min"), - d = this._getMinMaxDate(a, "max"); - return (!c || b.getTime() >= c.getTime()) && (!d || b.getTime() <= d.getTime()) - }, - _getFormatConfig: function(a) { - var b = this._get(a, "shortYearCutoff"); - b = typeof b != "string" ? b: (new Date).getFullYear() % 100 + parseInt(b, 10); - return { - shortYearCutoff: b, - dayNamesShort: this._get(a, "dayNamesShort"), - dayNames: this._get(a, "dayNames"), - monthNamesShort: this._get(a, "monthNamesShort"), - monthNames: this._get(a, "monthNames") - } - }, - _formatDate: function(a, b, c, d) { - b || (a.currentDay = a.selectedDay, a.currentMonth = a.selectedMonth, a.currentYear = a.selectedYear); - var e = b ? typeof b == "object" ? b: this._daylightSavingAdjust(new Date(d, c, b)) : this._daylightSavingAdjust(new Date(a.currentYear, a.currentMonth, a.currentDay)); - return this.formatDate(this._get(a, "dateFormat"), e, this._getFormatConfig(a)) - } - }), - $.fn.datepicker = function(a) { - if (!this.length) return this; - $.datepicker.initialized || ($(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv), $.datepicker.initialized = !0); - var b = Array.prototype.slice.call(arguments, 1); - if (typeof a == "string" && (a == "isDisabled" || a == "getDate" || a == "widget")) return $.datepicker["_" + a + "Datepicker"].apply($.datepicker, [this[0]].concat(b)); - if (a == "option" && arguments.length == 2 && typeof arguments[1] == "string") return $.datepicker["_" + a + "Datepicker"].apply($.datepicker, [this[0]].concat(b)); - return this.each(function() { - typeof a == "string" ? $.datepicker["_" + a + "Datepicker"].apply($.datepicker, [this].concat(b)) : $.datepicker._attachDatepicker(this, a) - }) - }, - $.datepicker = new Datepicker, - $.datepicker.initialized = !1, - $.datepicker.uuid = (new Date).getTime(), - $.datepicker.version = "1.8.18", - window["DP_jQuery_" + dpuuid] = $ -})(jQuery); -/* - * jQuery UI Effects 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/ - */ -jQuery.effects || -function(a, b) { - function l(b) { - if (!b || typeof b == "number" || a.fx.speeds[b]) return ! 0; - if (typeof b == "string" && !a.effects[b]) return ! 0; - return ! 1 - } - function k(b, c, d, e) { - typeof b == "object" && (e = c, d = null, c = b, b = c.effect), - a.isFunction(c) && (e = c, d = null, c = {}); - if (typeof c == "number" || a.fx.speeds[c]) e = d, - d = c, - c = {}; - a.isFunction(d) && (e = d, d = null), - c = c || {}, - d = d || c.duration, - d = a.fx.off ? 0 : typeof d == "number" ? d: d in a.fx.speeds ? a.fx.speeds[d] : a.fx.speeds._default, - e = e || c.complete; - return [b, c, d, e] - } - function j(a, b) { - var c = { - _: 0 - }, - d; - for (d in b) a[d] != b[d] && (c[d] = b[d]); - return c - } - function i(b) { - var c, d; - for (c in b) d = b[c], - (d == null || a.isFunction(d) || c in g || /scrollbar/.test(c) || !/color/i.test(c) && isNaN(parseFloat(d))) && delete b[c]; - return b - } - function h() { - var a = document.defaultView ? document.defaultView.getComputedStyle(this, null) : this.currentStyle, - b = {}, - c, - d; - if (a && a.length && a[0] && a[a[0]]) { - var e = a.length; - while (e--) c = a[e], - typeof a[c] == "string" && (d = c.replace(/\-(\w)/g, - function(a, b) { - return b.toUpperCase() - }), b[d] = a[c]) - } else for (c in a) typeof a[c] == "string" && (b[c] = a[c]); - return b - } - function d(b, d) { - var e; - do { - e = a.curCSS(b, d); - if (e != "" && e != "transparent" || a.nodeName(b, "body")) break; - d = "backgroundColor" - } while ( b = b . parentNode ); - return c(e) - } - function c(b) { - var c; - if (b && b.constructor == Array && b.length == 3) return b; - if (c = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(b)) return [parseInt(c[1], 10), parseInt(c[2], 10), parseInt(c[3], 10)]; - if (c = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(b)) return [parseFloat(c[1]) * 2.55, parseFloat(c[2]) * 2.55, parseFloat(c[3]) * 2.55]; - if (c = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b)) return [parseInt(c[1], 16), parseInt(c[2], 16), parseInt(c[3], 16)]; - if (c = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b)) return [parseInt(c[1] + c[1], 16), parseInt(c[2] + c[2], 16), parseInt(c[3] + c[3], 16)]; - if (c = /rgba\(0, 0, 0, 0\)/.exec(b)) return e.transparent; - return e[a.trim(b).toLowerCase()] - } - a.effects = {}, - a.each(["backgroundColor", "borderBottomColor", "borderLeftColor", "borderRightColor", "borderTopColor", "borderColor", "color", "outlineColor"], - function(b, e) { - a.fx.step[e] = function(a) { - a.colorInit || (a.start = d(a.elem, e), a.end = c(a.end), a.colorInit = !0), - a.elem.style[e] = "rgb(" + Math.max(Math.min(parseInt(a.pos * (a.end[0] - a.start[0]) + a.start[0], 10), 255), 0) + "," + Math.max(Math.min(parseInt(a.pos * (a.end[1] - a.start[1]) + a.start[1], 10), 255), 0) + "," + Math.max(Math.min(parseInt(a.pos * (a.end[2] - a.start[2]) + a.start[2], 10), 255), 0) + ")" - } - }); - var e = { - aqua: [0, 255, 255], - azure: [240, 255, 255], - beige: [245, 245, 220], - black: [0, 0, 0], - blue: [0, 0, 255], - brown: [165, 42, 42], - cyan: [0, 255, 255], - darkblue: [0, 0, 139], - darkcyan: [0, 139, 139], - darkgrey: [169, 169, 169], - darkgreen: [0, 100, 0], - darkkhaki: [189, 183, 107], - darkmagenta: [139, 0, 139], - darkolivegreen: [85, 107, 47], - darkorange: [255, 140, 0], - darkorchid: [153, 50, 204], - darkred: [139, 0, 0], - darksalmon: [233, 150, 122], - darkviolet: [148, 0, 211], - fuchsia: [255, 0, 255], - gold: [255, 215, 0], - green: [0, 128, 0], - indigo: [75, 0, 130], - khaki: [240, 230, 140], - lightblue: [173, 216, 230], - lightcyan: [224, 255, 255], - lightgreen: [144, 238, 144], - lightgrey: [211, 211, 211], - lightpink: [255, 182, 193], - lightyellow: [255, 255, 224], - lime: [0, 255, 0], - magenta: [255, 0, 255], - maroon: [128, 0, 0], - navy: [0, 0, 128], - olive: [128, 128, 0], - orange: [255, 165, 0], - pink: [255, 192, 203], - purple: [128, 0, 128], - violet: [128, 0, 128], - red: [255, 0, 0], - silver: [192, 192, 192], - white: [255, 255, 255], - yellow: [255, 255, 0], - transparent: [255, 255, 255] - }, - f = ["add", "remove", "toggle"], - g = { - border: 1, - borderBottom: 1, - borderColor: 1, - borderLeft: 1, - borderRight: 1, - borderTop: 1, - borderWidth: 1, - margin: 1, - padding: 1 - }; - a.effects.animateClass = function(b, c, d, e) { - a.isFunction(d) && (e = d, d = null); - return this.queue(function() { - var g = a(this), - k = g.attr("style") || " ", - l = i(h.call(this)), - m, - n = g.attr("class"); - a.each(f, - function(a, c) { - b[c] && g[c + "Class"](b[c]) - }), - m = i(h.call(this)), - g.attr("class", n), - g.animate(j(l, m), { - queue: !1, - duration: c, - easing: d, - complete: function() { - a.each(f, - function(a, c) { - b[c] && g[c + "Class"](b[c]) - }), - typeof g.attr("style") == "object" ? (g.attr("style").cssText = "", g.attr("style").cssText = k) : g.attr("style", k), - e && e.apply(this, arguments), - a.dequeue(this) - } - }) - }) - }, - a.fn.extend({ - _addClass: a.fn.addClass, - addClass: function(b, c, d, e) { - return c ? a.effects.animateClass.apply(this, [{ - add: b - }, - c, d, e]) : this._addClass(b) - }, - _removeClass: a.fn.removeClass, - removeClass: function(b, c, d, e) { - return c ? a.effects.animateClass.apply(this, [{ - remove: b - }, - c, d, e]) : this._removeClass(b) - }, - _toggleClass: a.fn.toggleClass, - toggleClass: function(c, d, e, f, g) { - return typeof d == "boolean" || d === b ? e ? a.effects.animateClass.apply(this, [d ? { - add: c - }: { - remove: c - }, - e, f, g]) : this._toggleClass(c, d) : a.effects.animateClass.apply(this, [{ - toggle: c - }, - d, e, f]) - }, - switchClass: function(b, c, d, e, f) { - return a.effects.animateClass.apply(this, [{ - add: c, - remove: b - }, - d, e, f]) - } - }), - a.extend(a.effects, { - version: "1.8.18", - save: function(a, b) { - for (var c = 0; c < b.length; c++) b[c] !== null && a.data("ec.storage." + b[c], a[0].style[b[c]]) - }, - restore: function(a, b) { - for (var c = 0; c < b.length; c++) b[c] !== null && a.css(b[c], a.data("ec.storage." + b[c])) - }, - setMode: function(a, b) { - b == "toggle" && (b = a.is(":hidden") ? "show": "hide"); - return b - }, - getBaseline: function(a, b) { - var c, d; - switch (a[0]) { - case "top": - c = 0; - break; - case "middle": - c = .5; - break; - case "bottom": - c = 1; - break; - default: - c = a[0] / b.height - } - switch (a[1]) { - case "left": - d = 0; - break; - case "center": - d = .5; - break; - case "right": - d = 1; - break; - default: - d = a[1] / b.width - } - return { - x: d, - y: c - } - }, - createWrapper: function(b) { - if (b.parent().is(".ui-effects-wrapper")) return b.parent(); - var c = { - width: b.outerWidth(!0), - height: b.outerHeight(!0), - "float": b.css("float") - }, - d = a("
").addClass("ui-effects-wrapper").css({ - fontSize: "100%", - background: "transparent", - border: "none", - margin: 0, - padding: 0 - }), - e = document.activeElement; - b.wrap(d), - (b[0] === e || a.contains(b[0], e)) && a(e).focus(), - d = b.parent(), - b.css("position") == "static" ? (d.css({ - position: "relative" - }), b.css({ - position: "relative" - })) : (a.extend(c, { - position: b.css("position"), - zIndex: b.css("z-index") - }), a.each(["top", "left", "bottom", "right"], - function(a, d) { - c[d] = b.css(d), - isNaN(parseInt(c[d], 10)) && (c[d] = "auto") - }), b.css({ - position: "relative", - top: 0, - left: 0, - right: "auto", - bottom: "auto" - })); - return d.css(c).show() - }, - removeWrapper: function(b) { - var c, d = document.activeElement; - if (b.parent().is(".ui-effects-wrapper")) { - c = b.parent().replaceWith(b), - (b[0] === d || a.contains(b[0], d)) && a(d).focus(); - return c - } - return b - }, - setTransition: function(b, c, d, e) { - e = e || {}, - a.each(c, - function(a, c) { - unit = b.cssUnit(c), - unit[0] > 0 && (e[c] = unit[0] * d + unit[1]) - }); - return e - } - }), - a.fn.extend({ - effect: function(b, c, d, e) { - var f = k.apply(this, arguments), - g = { - options: f[1], - duration: f[2], - callback: f[3] - }, - h = g.options.mode, - i = a.effects[b]; - if (a.fx.off || !i) return h ? this[h](g.duration, g.callback) : this.each(function() { - g.callback && g.callback.call(this) - }); - return i.call(this, g) - }, - _show: a.fn.show, - show: function(a) { - if (l(a)) return this._show.apply(this, arguments); - var b = k.apply(this, arguments); - b[1].mode = "show"; - return this.effect.apply(this, b) - }, - _hide: a.fn.hide, - hide: function(a) { - if (l(a)) return this._hide.apply(this, arguments); - var b = k.apply(this, arguments); - b[1].mode = "hide"; - return this.effect.apply(this, b) - }, - __toggle: a.fn.toggle, - toggle: function(b) { - if (l(b) || typeof b == "boolean" || a.isFunction(b)) return this.__toggle.apply(this, arguments); - var c = k.apply(this, arguments); - c[1].mode = "toggle"; - return this.effect.apply(this, c) - }, - cssUnit: function(b) { - var c = this.css(b), - d = []; - a.each(["em", "px", "%", "pt"], - function(a, b) { - c.indexOf(b) > 0 && (d = [parseFloat(c), b]) - }); - return d - } - }), - a.easing.jswing = a.easing.swing, - a.extend(a.easing, { - def: "easeOutQuad", - swing: function(b, c, d, e, f) { - return a.easing[a.easing.def](b, c, d, e, f) - }, - easeInQuad: function(a, b, c, d, e) { - return d * (b /= e) * b + c - }, - easeOutQuad: function(a, b, c, d, e) { - return - d * (b /= e) * (b - 2) + c - }, - easeInOutQuad: function(a, b, c, d, e) { - if ((b /= e / 2) < 1) return d / 2 * b * b + c; - return - d / 2 * (--b * (b - 2) - 1) + c - }, - easeInCubic: function(a, b, c, d, e) { - return d * (b /= e) * b * b + c - }, - easeOutCubic: function(a, b, c, d, e) { - return d * ((b = b / e - 1) * b * b + 1) + c - }, - easeInOutCubic: function(a, b, c, d, e) { - if ((b /= e / 2) < 1) return d / 2 * b * b * b + c; - return d / 2 * ((b -= 2) * b * b + 2) + c - }, - easeInQuart: function(a, b, c, d, e) { - return d * (b /= e) * b * b * b + c - }, - easeOutQuart: function(a, b, c, d, e) { - return - d * ((b = b / e - 1) * b * b * b - 1) + c - }, - easeInOutQuart: function(a, b, c, d, e) { - if ((b /= e / 2) < 1) return d / 2 * b * b * b * b + c; - return - d / 2 * ((b -= 2) * b * b * b - 2) + c - }, - easeInQuint: function(a, b, c, d, e) { - return d * (b /= e) * b * b * b * b + c - }, - easeOutQuint: function(a, b, c, d, e) { - return d * ((b = b / e - 1) * b * b * b * b + 1) + c - }, - easeInOutQuint: function(a, b, c, d, e) { - if ((b /= e / 2) < 1) return d / 2 * b * b * b * b * b + c; - return d / 2 * ((b -= 2) * b * b * b * b + 2) + c - }, - easeInSine: function(a, b, c, d, e) { - return - d * Math.cos(b / e * (Math.PI / 2)) + d + c - }, - easeOutSine: function(a, b, c, d, e) { - return d * Math.sin(b / e * (Math.PI / 2)) + c - }, - easeInOutSine: function(a, b, c, d, e) { - return - d / 2 * (Math.cos(Math.PI * b / e) - 1) + c - }, - easeInExpo: function(a, b, c, d, e) { - return b == 0 ? c: d * Math.pow(2, 10 * (b / e - 1)) + c - }, - easeOutExpo: function(a, b, c, d, e) { - return b == e ? c + d: d * ( - Math.pow(2, -10 * b / e) + 1) + c - }, - easeInOutExpo: function(a, b, c, d, e) { - if (b == 0) return c; - if (b == e) return c + d; - if ((b /= e / 2) < 1) return d / 2 * Math.pow(2, 10 * (b - 1)) + c; - return d / 2 * ( - Math.pow(2, -10 * --b) + 2) + c - }, - easeInCirc: function(a, b, c, d, e) { - return - d * (Math.sqrt(1 - (b /= e) * b) - 1) + c - }, - easeOutCirc: function(a, b, c, d, e) { - return d * Math.sqrt(1 - (b = b / e - 1) * b) + c - }, - easeInOutCirc: function(a, b, c, d, e) { - if ((b /= e / 2) < 1) return - d / 2 * (Math.sqrt(1 - b * b) - 1) + c; - return d / 2 * (Math.sqrt(1 - (b -= 2) * b) + 1) + c - }, - easeInElastic: function(a, b, c, d, e) { - var f = 1.70158, - g = 0, - h = d; - if (b == 0) return c; - if ((b /= e) == 1) return c + d; - g || (g = e * .3); - if (h < Math.abs(d)) { - h = d; - var f = g / 4 - } else var f = g / (2 * Math.PI) * Math.asin(d / h); - return - (h * Math.pow(2, 10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g)) + c - }, - easeOutElastic: function(a, b, c, d, e) { - var f = 1.70158, - g = 0, - h = d; - if (b == 0) return c; - if ((b /= e) == 1) return c + d; - g || (g = e * .3); - if (h < Math.abs(d)) { - h = d; - var f = g / 4 - } else var f = g / (2 * Math.PI) * Math.asin(d / h); - return h * Math.pow(2, -10 * b) * Math.sin((b * e - f) * 2 * Math.PI / g) + d + c - }, - easeInOutElastic: function(a, b, c, d, e) { - var f = 1.70158, - g = 0, - h = d; - if (b == 0) return c; - if ((b /= e / 2) == 2) return c + d; - g || (g = e * .3 * 1.5); - if (h < Math.abs(d)) { - h = d; - var f = g / 4 - } else var f = g / (2 * Math.PI) * Math.asin(d / h); - if (b < 1) return - 0.5 * h * Math.pow(2, 10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g) + c; - return h * Math.pow(2, -10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g) * .5 + d + c - }, - easeInBack: function(a, c, d, e, f, g) { - g == b && (g = 1.70158); - return e * (c /= f) * c * ((g + 1) * c - g) + d - }, - easeOutBack: function(a, c, d, e, f, g) { - g == b && (g = 1.70158); - return e * ((c = c / f - 1) * c * ((g + 1) * c + g) + 1) + d - }, - easeInOutBack: function(a, c, d, e, f, g) { - g == b && (g = 1.70158); - if ((c /= f / 2) < 1) return e / 2 * c * c * (((g *= 1.525) + 1) * c - g) + d; - return e / 2 * ((c -= 2) * c * (((g *= 1.525) + 1) * c + g) + 2) + d - }, - easeInBounce: function(b, c, d, e, f) { - return e - a.easing.easeOutBounce(b, f - c, 0, e, f) + d - }, - easeOutBounce: function(a, b, c, d, e) { - return (b /= e) < 1 / 2.75 ? d * 7.5625 * b * b + c: b < 2 / 2.75 ? d * (7.5625 * (b -= 1.5 / 2.75) * b + .75) + c: b < 2.5 / 2.75 ? d * (7.5625 * (b -= 2.25 / 2.75) * b + .9375) + c: d * (7.5625 * (b -= 2.625 / 2.75) * b + .984375) + c - }, - easeInOutBounce: function(b, c, d, e, f) { - if (c < f / 2) return a.easing.easeInBounce(b, c * 2, 0, e, f) * .5 + d; - return a.easing.easeOutBounce(b, c * 2 - f, 0, e, f) * .5 + e * .5 + d - } - }) -} (jQuery); -/* - * jQuery UI Effects Blind 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Blind - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.blind = function(b) { - return this.queue(function() { - var c = a(this), - d = ["position", "top", "bottom", "left", "right"], - e = a.effects.setMode(c, b.options.mode || "hide"), - f = b.options.direction || "vertical"; - a.effects.save(c, d), - c.show(); - var g = a.effects.createWrapper(c).css({ - overflow: "hidden" - }), - h = f == "vertical" ? "height": "width", - i = f == "vertical" ? g.height() : g.width(); - e == "show" && g.css(h, 0); - var j = {}; - j[h] = e == "show" ? i: 0, - g.animate(j, b.duration, b.options.easing, - function() { - e == "hide" && c.hide(), - a.effects.restore(c, d), - a.effects.removeWrapper(c), - b.callback && b.callback.apply(c[0], arguments), - c.dequeue() - }) - }) - } -})(jQuery); -/* - * jQuery UI Effects Bounce 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Bounce - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.bounce = function(b) { - return this.queue(function() { - var c = a(this), - d = ["position", "top", "bottom", "left", "right"], - e = a.effects.setMode(c, b.options.mode || "effect"), - f = b.options.direction || "up", - g = b.options.distance || 20, - h = b.options.times || 5, - i = b.duration || 250; - /show|hide/.test(e) && d.push("opacity"), - a.effects.save(c, d), - c.show(), - a.effects.createWrapper(c); - var j = f == "up" || f == "down" ? "top": "left", - k = f == "up" || f == "left" ? "pos": "neg", - g = b.options.distance || (j == "top" ? c.outerHeight({ - margin: !0 - }) / 3 : c.outerWidth({ - margin: !0 - }) / 3); - e == "show" && c.css("opacity", 0).css(j, k == "pos" ? -g: g), - e == "hide" && (g = g / (h * 2)), - e != "hide" && h--; - if (e == "show") { - var l = { - opacity: 1 - }; - l[j] = (k == "pos" ? "+=": "-=") + g, - c.animate(l, i / 2, b.options.easing), - g = g / 2, - h-- - } - for (var m = 0; m < h; m++) { - var n = {}, - p = {}; - n[j] = (k == "pos" ? "-=": "+=") + g, - p[j] = (k == "pos" ? "+=": "-=") + g, - c.animate(n, i / 2, b.options.easing).animate(p, i / 2, b.options.easing), - g = e == "hide" ? g * 2 : g / 2 - } - if (e == "hide") { - var l = { - opacity: 0 - }; - l[j] = (k == "pos" ? "-=": "+=") + g, - c.animate(l, i / 2, b.options.easing, - function() { - c.hide(), - a.effects.restore(c, d), - a.effects.removeWrapper(c), - b.callback && b.callback.apply(this, arguments) - }) - } else { - var n = {}, - p = {}; - n[j] = (k == "pos" ? "-=": "+=") + g, - p[j] = (k == "pos" ? "+=": "-=") + g, - c.animate(n, i / 2, b.options.easing).animate(p, i / 2, b.options.easing, - function() { - a.effects.restore(c, d), - a.effects.removeWrapper(c), - b.callback && b.callback.apply(this, arguments) - }) - } - c.queue("fx", - function() { - c.dequeue() - }), - c.dequeue() - }) - } -})(jQuery); -/* - * jQuery UI Effects Clip 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Clip - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.clip = function(b) { - return this.queue(function() { - var c = a(this), - d = ["position", "top", "bottom", "left", "right", "height", "width"], - e = a.effects.setMode(c, b.options.mode || "hide"), - f = b.options.direction || "vertical"; - a.effects.save(c, d), - c.show(); - var g = a.effects.createWrapper(c).css({ - overflow: "hidden" - }), - h = c[0].tagName == "IMG" ? g: c, - i = { - size: f == "vertical" ? "height": "width", - position: f == "vertical" ? "top": "left" - }, - j = f == "vertical" ? h.height() : h.width(); - e == "show" && (h.css(i.size, 0), h.css(i.position, j / 2)); - var k = {}; - k[i.size] = e == "show" ? j: 0, - k[i.position] = e == "show" ? 0 : j / 2, - h.animate(k, { - queue: !1, - duration: b.duration, - easing: b.options.easing, - complete: function() { - e == "hide" && c.hide(), - a.effects.restore(c, d), - a.effects.removeWrapper(c), - b.callback && b.callback.apply(c[0], arguments), - c.dequeue() - } - }) - }) - } -})(jQuery); -/* - * jQuery UI Effects Drop 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Drop - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.drop = function(b) { - return this.queue(function() { - var c = a(this), - d = ["position", "top", "bottom", "left", "right", "opacity"], - e = a.effects.setMode(c, b.options.mode || "hide"), - f = b.options.direction || "left"; - a.effects.save(c, d), - c.show(), - a.effects.createWrapper(c); - var g = f == "up" || f == "down" ? "top": "left", - h = f == "up" || f == "left" ? "pos": "neg", - i = b.options.distance || (g == "top" ? c.outerHeight({ - margin: !0 - }) / 2 : c.outerWidth({ - margin: !0 - }) / 2); - e == "show" && c.css("opacity", 0).css(g, h == "pos" ? -i: i); - var j = { - opacity: e == "show" ? 1 : 0 - }; - j[g] = (e == "show" ? h == "pos" ? "+=": "-=": h == "pos" ? "-=": "+=") + i, - c.animate(j, { - queue: !1, - duration: b.duration, - easing: b.options.easing, - complete: function() { - e == "hide" && c.hide(), - a.effects.restore(c, d), - a.effects.removeWrapper(c), - b.callback && b.callback.apply(this, arguments), - c.dequeue() - } - }) - }) - } -})(jQuery); -/* - * jQuery UI Effects Explode 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Explode - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.explode = function(b) { - return this.queue(function() { - var c = b.options.pieces ? Math.round(Math.sqrt(b.options.pieces)) : 3, - d = b.options.pieces ? Math.round(Math.sqrt(b.options.pieces)) : 3; - b.options.mode = b.options.mode == "toggle" ? a(this).is(":visible") ? "hide": "show": b.options.mode; - var e = a(this).show().css("visibility", "hidden"), - f = e.offset(); - f.top -= parseInt(e.css("marginTop"), 10) || 0, - f.left -= parseInt(e.css("marginLeft"), 10) || 0; - var g = e.outerWidth(!0), - h = e.outerHeight(!0); - for (var i = 0; i < c; i++) for (var j = 0; j < d; j++) e.clone().appendTo("body").wrap("
").css({ - position: "absolute", - visibility: "visible", - left: -j * (g / d), - top: -i * (h / c) - }).parent().addClass("ui-effects-explode").css({ - position: "absolute", - overflow: "hidden", - width: g / d, - height: h / c, - left: f.left + j * (g / d) + (b.options.mode == "show" ? (j - Math.floor(d / 2)) * (g / d) : 0), - top: f.top + i * (h / c) + (b.options.mode == "show" ? (i - Math.floor(c / 2)) * (h / c) : 0), - opacity: b.options.mode == "show" ? 0 : 1 - }).animate({ - left: f.left + j * (g / d) + (b.options.mode == "show" ? 0 : (j - Math.floor(d / 2)) * (g / d)), - top: f.top + i * (h / c) + (b.options.mode == "show" ? 0 : (i - Math.floor(c / 2)) * (h / c)), - opacity: b.options.mode == "show" ? 1 : 0 - }, - b.duration || 500); - setTimeout(function() { - b.options.mode == "show" ? e.css({ - visibility: "visible" - }) : e.css({ - visibility: "visible" - }).hide(), - b.callback && b.callback.apply(e[0]), - e.dequeue(), - a("div.ui-effects-explode").remove() - }, - b.duration || 500) - }) - } -})(jQuery); -/* - * jQuery UI Effects Fade 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Fade - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.fade = function(b) { - return this.queue(function() { - var c = a(this), - d = a.effects.setMode(c, b.options.mode || "hide"); - c.animate({ - opacity: d - }, - { - queue: !1, - duration: b.duration, - easing: b.options.easing, - complete: function() { - b.callback && b.callback.apply(this, arguments), - c.dequeue() - } - }) - }) - } -})(jQuery); -/* - * jQuery UI Effects Fold 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Fold - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.fold = function(b) { - return this.queue(function() { - var c = a(this), - d = ["position", "top", "bottom", "left", "right"], - e = a.effects.setMode(c, b.options.mode || "hide"), - f = b.options.size || 15, - g = !!b.options.horizFirst, - h = b.duration ? b.duration / 2 : a.fx.speeds._default / 2; - a.effects.save(c, d), - c.show(); - var i = a.effects.createWrapper(c).css({ - overflow: "hidden" - }), - j = e == "show" != g, - k = j ? ["width", "height"] : ["height", "width"], - l = j ? [i.width(), i.height()] : [i.height(), i.width()], - m = /([0-9]+)%/.exec(f); - m && (f = parseInt(m[1], 10) / 100 * l[e == "hide" ? 0 : 1]), - e == "show" && i.css(g ? { - height: 0, - width: f - }: { - height: f, - width: 0 - }); - var n = {}, - p = {}; - n[k[0]] = e == "show" ? l[0] : f, - p[k[1]] = e == "show" ? l[1] : 0, - i.animate(n, h, b.options.easing).animate(p, h, b.options.easing, - function() { - e == "hide" && c.hide(), - a.effects.restore(c, d), - a.effects.removeWrapper(c), - b.callback && b.callback.apply(c[0], arguments), - c.dequeue() - }) - }) - } -})(jQuery); -/* - * jQuery UI Effects Highlight 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Highlight - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.highlight = function(b) { - return this.queue(function() { - var c = a(this), - d = ["backgroundImage", "backgroundColor", "opacity"], - e = a.effects.setMode(c, b.options.mode || "show"), - f = { - backgroundColor: c.css("backgroundColor") - }; - e == "hide" && (f.opacity = 0), - a.effects.save(c, d), - c.show().css({ - backgroundImage: "none", - backgroundColor: b.options.color || "#ffff99" - }).animate(f, { - queue: !1, - duration: b.duration, - easing: b.options.easing, - complete: function() { - e == "hide" && c.hide(), - a.effects.restore(c, d), - e == "show" && !a.support.opacity && this.style.removeAttribute("filter"), - b.callback && b.callback.apply(this, arguments), - c.dequeue() - } - }) - }) - } -})(jQuery); -/* - * jQuery UI Effects Pulsate 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Pulsate - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.pulsate = function(b) { - return this.queue(function() { - var c = a(this), - d = a.effects.setMode(c, b.options.mode || "show"); - times = (b.options.times || 5) * 2 - 1, - duration = b.duration ? b.duration / 2 : a.fx.speeds._default / 2, - isVisible = c.is(":visible"), - animateTo = 0, - isVisible || (c.css("opacity", 0).show(), animateTo = 1), - (d == "hide" && isVisible || d == "show" && !isVisible) && times--; - for (var e = 0; e < times; e++) c.animate({ - opacity: animateTo - }, - duration, b.options.easing), - animateTo = (animateTo + 1) % 2; - c.animate({ - opacity: animateTo - }, - duration, b.options.easing, - function() { - animateTo == 0 && c.hide(), - b.callback && b.callback.apply(this, arguments) - }), - c.queue("fx", - function() { - c.dequeue() - }).dequeue() - }) - } -})(jQuery); -/* - * jQuery UI Effects Scale 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Scale - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.puff = function(b) { - return this.queue(function() { - var c = a(this), - d = a.effects.setMode(c, b.options.mode || "hide"), - e = parseInt(b.options.percent, 10) || 150, - f = e / 100, - g = { - height: c.height(), - width: c.width() - }; - a.extend(b.options, { - fade: !0, - mode: d, - percent: d == "hide" ? e: 100, - from: d == "hide" ? g: { - height: g.height * f, - width: g.width * f - } - }), - c.effect("scale", b.options, b.duration, b.callback), - c.dequeue() - }) - }, - a.effects.scale = function(b) { - return this.queue(function() { - var c = a(this), - d = a.extend(!0, {}, - b.options), - e = a.effects.setMode(c, b.options.mode || "effect"), - f = parseInt(b.options.percent, 10) || (parseInt(b.options.percent, 10) == 0 ? 0 : e == "hide" ? 0 : 100), - g = b.options.direction || "both", - h = b.options.origin; - e != "effect" && (d.origin = h || ["middle", "center"], d.restore = !0); - var i = { - height: c.height(), - width: c.width() - }; - c.from = b.options.from || (e == "show" ? { - height: 0, - width: 0 - }: i); - var j = { - y: g != "horizontal" ? f / 100 : 1, - x: g != "vertical" ? f / 100 : 1 - }; - c.to = { - height: i.height * j.y, - width: i.width * j.x - }, - b.options.fade && (e == "show" && (c.from.opacity = 0, c.to.opacity = 1), e == "hide" && (c.from.opacity = 1, c.to.opacity = 0)), - d.from = c.from, - d.to = c.to, - d.mode = e, - c.effect("size", d, b.duration, b.callback), - c.dequeue() - }) - }, - a.effects.size = function(b) { - return this.queue(function() { - var c = a(this), - d = ["position", "top", "bottom", "left", "right", "width", "height", "overflow", "opacity"], - e = ["position", "top", "bottom", "left", "right", "overflow", "opacity"], - f = ["width", "height", "overflow"], - g = ["fontSize"], - h = ["borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom"], - i = ["borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight"], - j = a.effects.setMode(c, b.options.mode || "effect"), - k = b.options.restore || !1, - l = b.options.scale || "both", - m = b.options.origin, - n = { - height: c.height(), - width: c.width() - }; - c.from = b.options.from || n, - c.to = b.options.to || n; - if (m) { - var p = a.effects.getBaseline(m, n); - c.from.top = (n.height - c.from.height) * p.y, - c.from.left = (n.width - c.from.width) * p.x, - c.to.top = (n.height - c.to.height) * p.y, - c.to.left = (n.width - c.to.width) * p.x - } - var q = { - from: { - y: c.from.height / n.height, - x: c.from.width / n.width - }, - to: { - y: c.to.height / n.height, - x: c.to.width / n.width - } - }; - if (l == "box" || l == "both") q.from.y != q.to.y && (d = d.concat(h), c.from = a.effects.setTransition(c, h, q.from.y, c.from), c.to = a.effects.setTransition(c, h, q.to.y, c.to)), - q.from.x != q.to.x && (d = d.concat(i), c.from = a.effects.setTransition(c, i, q.from.x, c.from), c.to = a.effects.setTransition(c, i, q.to.x, c.to)); (l == "content" || l == "both") && q.from.y != q.to.y && (d = d.concat(g), c.from = a.effects.setTransition(c, g, q.from.y, c.from), c.to = a.effects.setTransition(c, g, q.to.y, c.to)), - a.effects.save(c, k ? d: e), - c.show(), - a.effects.createWrapper(c), - c.css("overflow", "hidden").css(c.from); - if (l == "content" || l == "both") h = h.concat(["marginTop", "marginBottom"]).concat(g), - i = i.concat(["marginLeft", "marginRight"]), - f = d.concat(h).concat(i), - c.find("*[width]").each(function() { - child = a(this), - k && a.effects.save(child, f); - var c = { - height: child.height(), - width: child.width() - }; - child.from = { - height: c.height * q.from.y, - width: c.width * q.from.x - }, - child.to = { - height: c.height * q.to.y, - width: c.width * q.to.x - }, - q.from.y != q.to.y && (child.from = a.effects.setTransition(child, h, q.from.y, child.from), child.to = a.effects.setTransition(child, h, q.to.y, child.to)), - q.from.x != q.to.x && (child.from = a.effects.setTransition(child, i, q.from.x, child.from), child.to = a.effects.setTransition(child, i, q.to.x, child.to)), - child.css(child.from), - child.animate(child.to, b.duration, b.options.easing, - function() { - k && a.effects.restore(child, f) - }) - }); - c.animate(c.to, { - queue: !1, - duration: b.duration, - easing: b.options.easing, - complete: function() { - c.to.opacity === 0 && c.css("opacity", c.from.opacity), - j == "hide" && c.hide(), - a.effects.restore(c, k ? d: e), - a.effects.removeWrapper(c), - b.callback && b.callback.apply(this, arguments), - c.dequeue() - } - }) - }) - } -})(jQuery); -/* - * jQuery UI Effects Shake 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Shake - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.shake = function(b) { - return this.queue(function() { - var c = a(this), - d = ["position", "top", "bottom", "left", "right"], - e = a.effects.setMode(c, b.options.mode || "effect"), - f = b.options.direction || "left", - g = b.options.distance || 20, - h = b.options.times || 3, - i = b.duration || b.options.duration || 140; - a.effects.save(c, d), - c.show(), - a.effects.createWrapper(c); - var j = f == "up" || f == "down" ? "top": "left", - k = f == "up" || f == "left" ? "pos": "neg", - l = {}, - m = {}, - n = {}; - l[j] = (k == "pos" ? "-=": "+=") + g, - m[j] = (k == "pos" ? "+=": "-=") + g * 2, - n[j] = (k == "pos" ? "-=": "+=") + g * 2, - c.animate(l, i, b.options.easing); - for (var p = 1; p < h; p++) c.animate(m, i, b.options.easing).animate(n, i, b.options.easing); - c.animate(m, i, b.options.easing).animate(l, i / 2, b.options.easing, - function() { - a.effects.restore(c, d), - a.effects.removeWrapper(c), - b.callback && b.callback.apply(this, arguments) - }), - c.queue("fx", - function() { - c.dequeue() - }), - c.dequeue() - }) - } -})(jQuery); -/* - * jQuery UI Effects Slide 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Slide - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.slide = function(b) { - return this.queue(function() { - var c = a(this), - d = ["position", "top", "bottom", "left", "right"], - e = a.effects.setMode(c, b.options.mode || "show"), - f = b.options.direction || "left"; - a.effects.save(c, d), - c.show(), - a.effects.createWrapper(c).css({ - overflow: "hidden" - }); - var g = f == "up" || f == "down" ? "top": "left", - h = f == "up" || f == "left" ? "pos": "neg", - i = b.options.distance || (g == "top" ? c.outerHeight({ - margin: !0 - }) : c.outerWidth({ - margin: !0 - })); - e == "show" && c.css(g, h == "pos" ? isNaN(i) ? "-" + i: -i: i); - var j = {}; - j[g] = (e == "show" ? h == "pos" ? "+=": "-=": h == "pos" ? "-=": "+=") + i, - c.animate(j, { - queue: !1, - duration: b.duration, - easing: b.options.easing, - complete: function() { - e == "hide" && c.hide(), - a.effects.restore(c, d), - a.effects.removeWrapper(c), - b.callback && b.callback.apply(this, arguments), - c.dequeue() - } - }) - }) - } -})(jQuery); -/* - * jQuery UI Effects Transfer 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Transfer - * - * Depends: - * jquery.effects.core.js - */ -(function(a, b) { - a.effects.transfer = function(b) { - return this.queue(function() { - var c = a(this), - d = a(b.options.to), - e = d.offset(), - f = { - top: e.top, - left: e.left, - height: d.innerHeight(), - width: d.innerWidth() - }, - g = c.offset(), - h = a('
').appendTo(document.body).addClass(b.options.className).css({ - top: g.top, - left: g.left, - height: c.innerHeight(), - width: c.innerWidth(), - position: "absolute" - }).animate(f, b.duration, b.options.easing, - function() { - h.remove(), - b.callback && b.callback.apply(c[0], arguments), - c.dequeue() - }) - }) - } -})(jQuery); \ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/calendar.gif b/97suifangqa/apps/indicator/static/plugins/datepicker/images/calendar.gif deleted file mode 100644 index d0abaa7..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/calendar.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/calendar.png b/97suifangqa/apps/indicator/static/plugins/datepicker/images/calendar.png deleted file mode 100644 index 0245536..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/calendar.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_100_f6f6f6_1x400.png b/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_100_f6f6f6_1x400.png deleted file mode 100644 index 9b383f4..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_100_f6f6f6_1x400.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_100_fdf5ce_1x400.png b/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_100_fdf5ce_1x400.png deleted file mode 100644 index a23baad..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_100_fdf5ce_1x400.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_65_ffffff_1x400.png b/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_65_ffffff_1x400.png deleted file mode 100644 index 42ccba2..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_glass_65_ffffff_1x400.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_gloss-wave_35_f6a828_500x100.png deleted file mode 100644 index 39d5824..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_gloss-wave_35_f6a828_500x100.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_highlight-soft_100_eeeeee_1x100.png deleted file mode 100644 index f127367..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_highlight-soft_100_eeeeee_1x100.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_highlight-soft_75_ffe45c_1x100.png deleted file mode 100644 index 359397a..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-bg_highlight-soft_75_ffe45c_1x100.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-icons_ef8c08_256x240.png b/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-icons_ef8c08_256x240.png deleted file mode 100644 index 85e63e9..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-icons_ef8c08_256x240.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-icons_ffffff_256x240.png b/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-icons_ffffff_256x240.png deleted file mode 100644 index 42f8f99..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/datepicker/images/ui-icons_ffffff_256x240.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/datepicker/language-zh-CN.js b/97suifangqa/apps/indicator/static/plugins/datepicker/language-zh-CN.js deleted file mode 100644 index 96194fa..0000000 --- a/97suifangqa/apps/indicator/static/plugins/datepicker/language-zh-CN.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Chinese initialisation for the jQuery UI date picker plugin. */ -/* Written by Cloudream (cloudream@gmail.com). */ -jQuery(function($){ - $.datepicker.regional['zh-CN'] = { - closeText: '关闭', - prevText: '<上月', - nextText: '下月>', - currentText: '今天', - monthNames: ['一月','二月','三月','四月','五月','六月', - '七月','八月','九月','十月','十一月','十二月'], - monthNamesShort: ['一','二','三','四','五','六', - '七','八','九','十','十一','十二'], - dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], - dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], - dayNamesMin: ['日','一','二','三','四','五','六'], - weekHeader: '周', - dateFormat: 'yy-mm-dd', - firstDay: 1, - isRTL: false, - showMonthAfterYear: true, - yearSuffix: '年'}; - $.datepicker.setDefaults($.datepicker.regional['zh-CN']); -}); \ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/highcharts/highcharts-more.js b/97suifangqa/apps/indicator/static/plugins/highcharts/highcharts-more.js deleted file mode 100644 index 1ccdd52..0000000 --- a/97suifangqa/apps/indicator/static/plugins/highcharts/highcharts-more.js +++ /dev/null @@ -1,50 +0,0 @@ -/* - Highcharts JS v3.0.4 (2013-08-02) - - (c) 2009-2013 Torstein Hønsi - - License: www.highcharts.com/license -*/ -(function(l,C){function J(a,b,c){this.init.call(this,a,b,c)}function K(a,b,c){a.call(this,b,c);if(this.chart.polar)this.closeSegment=function(a){var c=this.xAxis.center;a.push("L",c[0],c[1])},this.closedStacks=!0}function L(a,b){var c=this.chart,d=this.options.animation,g=this.group,f=this.markerGroup,e=this.xAxis.center,i=c.plotLeft,o=c.plotTop;if(c.polar){if(c.renderer.isSVG)if(d===!0&&(d={}),b){if(c={translateX:e[0]+i,translateY:e[1]+o,scaleX:0.001,scaleY:0.001},g.attr(c),f)f.attrSetters=g.attrSetters, -f.attr(c)}else c={translateX:i,translateY:o,scaleX:1,scaleY:1},g.animate(c,d),f&&f.animate(c,d),this.animate=null}else a.call(this,b)}var P=l.arrayMin,Q=l.arrayMax,r=l.each,F=l.extend,p=l.merge,R=l.map,q=l.pick,v=l.pInt,m=l.getOptions().plotOptions,h=l.seriesTypes,x=l.extendClass,M=l.splat,n=l.wrap,N=l.Axis,u=l.Tick,z=l.Series,t=h.column.prototype,s=Math,D=s.round,A=s.floor,S=s.max,w=function(){};F(J.prototype,{init:function(a,b,c){var d=this,g=d.defaultOptions;d.chart=b;if(b.angular)g.background= -{};d.options=a=p(g,a);(a=a.background)&&r([].concat(M(a)).reverse(),function(a){var b=a.backgroundColor,a=p(d.defaultBackgroundOptions,a);if(b)a.backgroundColor=b;a.color=a.backgroundColor;c.options.plotBands.unshift(a)})},defaultOptions:{center:["50%","50%"],size:"85%",startAngle:0},defaultBackgroundOptions:{shape:"circle",borderWidth:1,borderColor:"silver",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#FFF"],[1,"#DDD"]]},from:Number.MIN_VALUE,innerRadius:0,to:Number.MAX_VALUE, -outerRadius:"105%"}});var G=N.prototype,u=u.prototype,T={getOffset:w,redraw:function(){this.isDirty=!1},render:function(){this.isDirty=!1},setScale:w,setCategories:w,setTitle:w},O={isRadial:!0,defaultRadialGaugeOptions:{labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,plotBands:[],tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},defaultRadialXOptions:{gridLineWidth:1,labels:{align:null, -distance:15,x:0,y:null},maxPadding:0,minPadding:0,plotBands:[],showLastLabel:!1,tickLength:0},defaultRadialYOptions:{gridLineInterpolation:"circle",labels:{align:"right",x:-3,y:-2},plotBands:[],showLastLabel:!1,title:{x:4,text:null,rotation:90}},setOptions:function(a){this.options=p(this.defaultOptions,this.defaultRadialOptions,a)},getOffset:function(){G.getOffset.call(this);this.chart.axisOffset[this.side]=0;this.center=this.pane.center=h.pie.prototype.getCenter.call(this.pane)},getLinePath:function(a, -b){var c=this.center,b=q(b,c[2]/2-this.offset);return this.chart.renderer.symbols.arc(this.left+c[0],this.top+c[1],b,b,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})},setAxisTranslation:function(){G.setAxisTranslation.call(this);if(this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.center[2]/2/(this.max-this.min||1),this.isXAxis))this.minPixelPadding=this.transA*this.minPointOffset+(this.reversed?(this.endAngleRad-this.startAngleRad)/ -4:0)},beforeSetTickPositions:function(){this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange)},setAxisSize:function(){G.setAxisSize.call(this);if(this.center)this.len=this.width=this.height=this.isCircular?this.center[2]*(this.endAngleRad-this.startAngleRad)/2:this.center[2]/2},getPosition:function(a,b){if(!this.isCircular)b=this.translate(a),a=this.min;return this.postTranslate(this.translate(a),q(b,this.center[2]/2)-this.offset)},postTranslate:function(a,b){var c= -this.chart,d=this.center,a=this.startAngleRad+a;return{x:c.plotLeft+d[0]+Math.cos(a)*b,y:c.plotTop+d[1]+Math.sin(a)*b}},getPlotBandPath:function(a,b,c){var d=this.center,g=this.startAngleRad,f=d[2]/2,e=[q(c.outerRadius,"100%"),c.innerRadius,q(c.thickness,10)],i=/%$/,o,k=this.isCircular;this.options.gridLineInterpolation==="polygon"?d=this.getPlotLinePath(a).concat(this.getPlotLinePath(b,!0)):(k||(e[0]=this.translate(a),e[1]=this.translate(b)),e=R(e,function(a){i.test(a)&&(a=v(a,10)*f/100);return a}), -c.shape==="circle"||!k?(a=-Math.PI/2,b=Math.PI*1.5,o=!0):(a=g+this.translate(a),b=g+this.translate(b)),d=this.chart.renderer.symbols.arc(this.left+d[0],this.top+d[1],e[0],e[0],{start:a,end:b,innerR:q(e[1],e[0]-e[2]),open:o}));return d},getPlotLinePath:function(a,b){var c=this.center,d=this.chart,g=this.getPosition(a),f,e,i;this.isCircular?i=["M",c[0]+d.plotLeft,c[1]+d.plotTop,"L",g.x,g.y]:this.options.gridLineInterpolation==="circle"?(a=this.translate(a))&&(i=this.getLinePath(0,a)):(f=d.xAxis[0], -i=[],a=this.translate(a),c=f.tickPositions,f.autoConnect&&(c=c.concat([c[0]])),b&&(c=[].concat(c).reverse()),r(c,function(c,b){e=f.getPosition(c,a);i.push(b?"L":"M",e.x,e.y)}));return i},getTitlePosition:function(){var a=this.center,b=this.chart,c=this.options.title;return{x:b.plotLeft+a[0]+(c.x||0),y:b.plotTop+a[1]-{high:0.5,middle:0.25,low:0}[c.align]*a[2]+(c.y||0)}}};n(G,"init",function(a,b,c){var j;var d=b.angular,g=b.polar,f=c.isX,e=d&&f,i,o;o=b.options;var k=c.pane||0;if(d){if(F(this,e?T:O), -i=!f)this.defaultRadialOptions=this.defaultRadialGaugeOptions}else if(g)F(this,O),this.defaultRadialOptions=(i=f)?this.defaultRadialXOptions:p(this.defaultYAxisOptions,this.defaultRadialYOptions);a.call(this,b,c);if(!e&&(d||g)){a=this.options;if(!b.panes)b.panes=[];this.pane=(j=b.panes[k]=b.panes[k]||new J(M(o.pane)[k],b,this),k=j);k=k.options;b.inverted=!1;o.chart.zoomType=null;this.startAngleRad=b=(k.startAngle-90)*Math.PI/180;this.endAngleRad=o=(q(k.endAngle,k.startAngle+360)-90)*Math.PI/180;this.offset= -a.offset||0;if((this.isCircular=i)&&c.max===C&&o-b===2*Math.PI)this.autoConnect=!0}});n(u,"getPosition",function(a,b,c,d,g){var f=this.axis;return f.getPosition?f.getPosition(c):a.call(this,b,c,d,g)});n(u,"getLabelPosition",function(a,b,c,d,g,f,e,i,o){var k=this.axis,j=f.y,h=f.align,l=(k.translate(this.pos)+k.startAngleRad+Math.PI/2)/Math.PI*180%360;k.isRadial?(a=k.getPosition(this.pos,k.center[2]/2+q(f.distance,-25)),f.rotation==="auto"?d.attr({rotation:l}):j===null&&(j=v(d.styles.lineHeight)*0.9- -d.getBBox().height/2),h===null&&(h=k.isCircular?l>20&&l<160?"left":l>200&&l<340?"right":"center":"center",d.attr({align:h})),a.x+=f.x,a.y+=j):a=a.call(this,b,c,d,g,f,e,i,o);return a});n(u,"getMarkPath",function(a,b,c,d,g,f,e){var i=this.axis;i.isRadial?(a=i.getPosition(this.pos,i.center[2]/2+d),b=["M",b,c,"L",a.x,a.y]):b=a.call(this,b,c,d,g,f,e);return b});m.arearange=p(m.area,{lineWidth:1,marker:null,threshold:null,tooltip:{pointFormat:'{series.name}: {point.low} - {point.high}
'}, -trackByArea:!0,dataLabels:{verticalAlign:null,xLow:0,xHigh:0,yLow:0,yHigh:0}});h.arearange=l.extendClass(h.area,{type:"arearange",pointArrayMap:["low","high"],toYData:function(a){return[a.low,a.high]},pointValKey:"low",getSegments:function(){var a=this;r(a.points,function(b){if(!a.options.connectNulls&&(b.low===null||b.high===null))b.y=null;else if(b.low===null&&b.high!==null)b.y=b.high});z.prototype.getSegments.call(this)},translate:function(){var a=this.yAxis;h.area.prototype.translate.apply(this); -r(this.points,function(b){var c=b.low,d=b.high,g=b.plotY;d===null&&c===null?b.y=null:c===null?(b.plotLow=b.plotY=null,b.plotHigh=a.translate(d,0,1,0,1)):d===null?(b.plotLow=g,b.plotHigh=null):(b.plotLow=g,b.plotHigh=a.translate(d,0,1,0,1))})},getSegmentPath:function(a){var b,c=[],d=a.length,g=z.prototype.getSegmentPath,f,e;e=this.options;var i=e.step;for(b=HighchartsAdapter.grep(a,function(a){return a.plotLow!==null});d--;)f=a[d],f.plotHigh!==null&&c.push({plotX:f.plotX,plotY:f.plotHigh});a=g.call(this, -b);if(i)i===!0&&(i="left"),e.step={left:"right",center:"center",right:"left"}[i];c=g.call(this,c);e.step=i;e=[].concat(a,c);c[0]="L";this.areaPath=this.areaPath.concat(a,c);return e},drawDataLabels:function(){var a=this.data,b=a.length,c,d=[],g=z.prototype,f=this.options.dataLabels,e,i=this.chart.inverted;if(f.enabled||this._hasPointLabels){for(c=b;c--;)e=a[c],e.y=e.high,e.plotY=e.plotHigh,d[c]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=!1,i?(f.align="left",f.x=f.xHigh):f.y=f.yHigh;g.drawDataLabels.apply(this, -arguments);for(c=b;c--;)e=a[c],e.dataLabelUpper=e.dataLabel,e.dataLabel=d[c],e.y=e.low,e.plotY=e.plotLow,e.below=!0,i?(f.align="right",f.x=f.xLow):f.y=f.yLow;g.drawDataLabels.apply(this,arguments)}},alignDataLabel:h.column.prototype.alignDataLabel,getSymbol:h.column.prototype.getSymbol,drawPoints:w});m.areasplinerange=p(m.arearange);h.areasplinerange=x(h.arearange,{type:"areasplinerange",getPointSpline:h.spline.prototype.getPointSpline});m.columnrange=p(m.column,m.arearange,{lineWidth:1,pointRange:null}); -h.columnrange=x(h.arearange,{type:"columnrange",translate:function(){var a=this,b=a.yAxis,c;t.translate.apply(a);r(a.points,function(d){var g=d.shapeArgs,f=a.options.minPointLength,e;d.plotHigh=c=b.translate(d.high,0,1,0,1);d.plotLow=d.plotY;e=c;d=d.plotY-c;d{series.name}
Maximum: {point.high}
Upper quartile: {point.q3}
Median: {point.median}
Lower quartile: {point.q1}
Minimum: {point.low}
'},whiskerLength:"50%",whiskerWidth:2});h.boxplot=x(h.column,{type:"boxplot",pointArrayMap:["low","q1","median","q3","high"],toYData:function(a){return[a.low, -a.q1,a.median,a.q3,a.high]},pointValKey:"high",pointAttrToOptions:{fill:"fillColor",stroke:"color","stroke-width":"lineWidth"},drawDataLabels:w,translate:function(){var a=this.yAxis,b=this.pointArrayMap;h.column.prototype.translate.apply(this);r(this.points,function(c){r(b,function(b){c[b]!==null&&(c[b+"Plot"]=a.translate(c[b],0,1,0,1))})})},drawPoints:function(){var a=this,b=a.points,c=a.options,d=a.chart.renderer,g,f,e,i,o,k,j,h,l,m,n,H,p,E,I,t,w,s,v,u,z,y,x=a.doQuartiles!==!1,B=parseInt(a.options.whiskerLength, -10)/100;r(b,function(b){l=b.graphic;z=b.shapeArgs;n={};E={};t={};y=b.color||a.color;if(b.plotY!==C)if(g=b.pointAttr[b.selected?"selected":""],w=z.width,s=A(z.x),v=s+w,u=D(w/2),f=A(x?b.q1Plot:b.lowPlot),e=A(x?b.q3Plot:b.lowPlot),i=A(b.highPlot),o=A(b.lowPlot),n.stroke=b.stemColor||c.stemColor||y,n["stroke-width"]=q(b.stemWidth,c.stemWidth,c.lineWidth),n.dashstyle=b.stemDashStyle||c.stemDashStyle,E.stroke=b.whiskerColor||c.whiskerColor||y,E["stroke-width"]=q(b.whiskerWidth,c.whiskerWidth,c.lineWidth), -t.stroke=b.medianColor||c.medianColor||y,t["stroke-width"]=q(b.medianWidth,c.medianWidth,c.lineWidth),j=n["stroke-width"]%2/2,h=s+u+j,m=["M",h,e,"L",h,i,"M",h,f,"L",h,o,"z"],x&&(j=g["stroke-width"]%2/2,h=A(h)+j,f=A(f)+j,e=A(e)+j,s+=j,v+=j,H=["M",s,e,"L",s,f,"L",v,f,"L",v,e,"L",s,e,"z"]),B&&(j=E["stroke-width"]%2/2,i+=j,o+=j,p=["M",h-u*B,i,"L",h+u*B,i,"M",h-u*B,o,"L",h+u*B,o]),j=t["stroke-width"]%2/2,k=D(b.medianPlot)+j,I=["M",s,k,"L",v,k,"z"],l)b.stem.animate({d:m}),B&&b.whiskers.animate({d:p}),x&& -b.box.animate({d:H}),b.medianShape.animate({d:I});else{b.graphic=l=d.g().add(a.group);b.stem=d.path(m).attr(n).add(l);if(B)b.whiskers=d.path(p).attr(E).add(l);if(x)b.box=d.path(H).attr(g).add(l);b.medianShape=d.path(I).attr(t).add(l)}})}});m.errorbar=p(m.boxplot,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:m.arearange.tooltip.pointFormat},whiskerWidth:null});h.errorbar=x(h.boxplot,{type:"errorbar",pointArrayMap:["low","high"],toYData:function(a){return[a.low,a.high]},pointValKey:"high", -doQuartiles:!1,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||h.column.prototype.getColumnMetrics.call(this)}});m.waterfall=p(m.column,{lineWidth:1,lineColor:"#333",dashStyle:"dot",borderColor:"#333"});h.waterfall=x(h.column,{type:"waterfall",upColorProp:"fill",pointArrayMap:["low","y"],pointValKey:"y",init:function(a,b){b.stacking=!0;h.column.prototype.init.call(this,a,b)},translate:function(){var a=this.options,b=this.yAxis,c,d,g,f,e,i,o,k,j;c=a.threshold; -a=a.borderWidth%2/2;h.column.prototype.translate.apply(this);k=c;g=this.points;for(d=0,c=g.length;d0&&!a.color)a.pointAttr=d,a.color=c})},getGraphPath:function(){var a=this.data,b=a.length,c=D(this.options.lineWidth+this.options.borderWidth)%2/2,d=[],g,f,e;for(e=1;e0?(i[f]-a)/(b-a):0.5,h.push(s.ceil(c+e*(d-c))/2);this.radii=h},animate:function(a){var b=this.options.animation;if(!a)r(this.points,function(a){var d=a.graphic,a=a.shapeArgs;d&&a&&(d.attr("r",1),d.animate({r:a.r},b))}),this.animate=null},translate:function(){var a,b=this.data,c,d,g=this.radii;h.scatter.prototype.translate.call(this);for(a=b.length;a--;)c=b[a],d=g?g[a]:0,c.negative=c.z<(this.options.zThreshold||0),d>=this.minPxSize/2?(c.shapeType="circle",c.shapeArgs={x:c.plotX,y:c.plotY, -r:d},c.dlBox={x:c.plotX-d,y:c.plotY-d,width:2*d,height:2*d}):c.shapeArgs=c.plotY=c.dlBox=C},drawLegendSymbol:function(a,b){var c=v(a.itemStyle.fontSize)/2;b.legendSymbol=this.chart.renderer.circle(c,a.baseline-c,c).attr({zIndex:3}).add(b.legendGroup);b.legendSymbol.isMarker=!0},drawPoints:h.column.prototype.drawPoints,alignDataLabel:h.column.prototype.alignDataLabel});N.prototype.beforePadding=function(){var a=this,b=this.len,c=this.chart,d=0,g=b,f=this.isXAxis,e=f?"xData":"yData",i=this.min,h={}, -k=s.min(c.plotWidth,c.plotHeight),j=Number.MAX_VALUE,l=-Number.MAX_VALUE,m=this.max-i,n=b/m,p=[];this.tickPositions&&(r(this.series,function(b){var c=b.options;if(b.type==="bubble"&&b.visible&&(a.allowZoomOutside=!0,p.push(b),f))r(["minSize","maxSize"],function(a){var b=c[a],d=/%$/.test(b),b=v(b);h[a]=d?k*b/100:b}),b.minPxSize=h.minSize,b=b.zData,b.length&&(j=s.min(j,s.max(P(b),c.displayNegative===!1?c.zThreshold:-Number.MAX_VALUE)),l=s.max(l,Q(b)))}),r(p,function(a){var b=a[e],c=b.length,k;f&&a.getRadii(j, -l,h.minSize,h.maxSize);if(m>0)for(;c--;)k=a.radii[c],d=Math.min((b[c]-i)*n-k,d),g=Math.max((b[c]-i)*n+k,g)}),m>0&&q(this.options.min,this.userMin)===C&&q(this.options.max,this.userMax)===C&&(g-=b,n*=(b+d-g)/b,this.min+=d/n,this.max+=g/n))};var y=z.prototype,m=l.Pointer.prototype;y.toXY=function(a){var b,c=this.chart;b=a.plotX;var d=a.plotY;a.rectPlotX=b;a.rectPlotY=d;a.clientX=(b/Math.PI*180+this.xAxis.pane.options.startAngle)%360;b=this.xAxis.postTranslate(a.plotX,this.yAxis.len-d);a.plotX=a.polarPlotX= -b.x-c.plotLeft;a.plotY=a.polarPlotY=b.y-c.plotTop};y.orderTooltipPoints=function(a){if(this.chart.polar&&(a.sort(function(a,c){return a.clientX-c.clientX}),a[0]))a[0].wrappedClientX=a[0].clientX+360,a.push(a[0])};n(h.area.prototype,"init",K);n(h.areaspline.prototype,"init",K);n(h.spline.prototype,"getPointSpline",function(a,b,c,d){var g,f,e,i,h,k,j;if(this.chart.polar){g=c.plotX;f=c.plotY;a=b[d-1];e=b[d+1];this.connectEnds&&(a||(a=b[b.length-2]),e||(e=b[1]));if(a&&e)i=a.plotX,h=a.plotY,b=e.plotX, -k=e.plotY,i=(1.5*g+i)/2.5,h=(1.5*f+h)/2.5,e=(1.5*g+b)/2.5,j=(1.5*f+k)/2.5,b=Math.sqrt(Math.pow(i-g,2)+Math.pow(h-f,2)),k=Math.sqrt(Math.pow(e-g,2)+Math.pow(j-f,2)),i=Math.atan2(h-f,i-g),h=Math.atan2(j-f,e-g),j=Math.PI/2+(i+h)/2,Math.abs(i-j)>Math.PI/2&&(j-=Math.PI),i=g+Math.cos(j)*b,h=f+Math.sin(j)*b,e=g+Math.cos(Math.PI+j)*k,j=f+Math.sin(Math.PI+j)*k,c.rightContX=e,c.rightContY=j;d?(c=["C",a.rightContX||a.plotX,a.rightContY||a.plotY,i||g,h||f,g,f],a.rightContX=a.rightContY=null):c=["M",g,f]}else c= -a.call(this,b,c,d);return c});n(y,"translate",function(a){a.call(this);if(this.chart.polar&&!this.preventPostTranslate)for(var a=this.points,b=a.length;b--;)this.toXY(a[b])});n(y,"getSegmentPath",function(a,b){var c=this.points;if(this.chart.polar&&this.options.connectEnds!==!1&&b[b.length-1]===c[c.length-1]&&c[0].y!==null)this.connectEnds=!0,b=[].concat(b,[c[0]]);return a.call(this,b)});n(y,"animate",L);n(t,"animate",L);n(y,"setTooltipPoints",function(a,b){this.chart.polar&&F(this.xAxis,{tooltipLen:360}); -return a.call(this,b)});n(t,"translate",function(a){var b=this.xAxis,c=this.yAxis.len,d=b.center,g=b.startAngleRad,f=this.chart.renderer,e,h;this.preventPostTranslate=!0;a.call(this);if(b.isRadial){b=this.points;for(h=b.length;h--;)e=b[h],a=e.barX+g,e.shapeType="path",e.shapeArgs={d:f.symbols.arc(d[0],d[1],c-e.plotY,null,{start:a,end:a+e.pointWidth,innerR:c-q(e.yBottom,c)})},this.toXY(e)}});n(t,"alignDataLabel",function(a,b,c,d,g,f){if(this.chart.polar){a=b.rectPlotX/Math.PI*180;if(d.align===null)d.align= -a>20&&a<160?"left":a>200&&a<340?"right":"center";if(d.verticalAlign===null)d.verticalAlign=a<45||a>315?"bottom":a>135&&a<225?"top":"middle";y.alignDataLabel.call(this,b,c,d,g,f)}else a.call(this,b,c,d,g,f)});n(m,"getIndex",function(a,b){var c,d=this.chart,g;d.polar?(g=d.xAxis[0].center,c=b.chartX-g[0]-d.plotLeft,d=b.chartY-g[1]-d.plotTop,c=180-Math.round(Math.atan2(c,d)/Math.PI*180)):c=a.call(this,b);return c});n(m,"getCoordinates",function(a,b){var c=this.chart,d={xAxis:[],yAxis:[]};c.polar?r(c.axes, -function(a){var f=a.isXAxis,e=a.center,h=b.chartX-e[0]-c.plotLeft,e=b.chartY-e[1]-c.plotTop;d[f?"xAxis":"yAxis"].push({axis:a,value:a.translate(f?Math.PI-Math.atan2(h,e):Math.sqrt(Math.pow(h,2)+Math.pow(e,2)),!0)})}):d=a.call(this,b);return d})})(Highcharts); diff --git a/97suifangqa/apps/indicator/static/plugins/highcharts/highcharts.js b/97suifangqa/apps/indicator/static/plugins/highcharts/highcharts.js deleted file mode 100644 index 9f2c8cb..0000000 --- a/97suifangqa/apps/indicator/static/plugins/highcharts/highcharts.js +++ /dev/null @@ -1,277 +0,0 @@ -/* - Highcharts JS v3.0.4 (2013-08-02) - - (c) 2009-2013 Torstein Hønsi - - License: www.highcharts.com/license -*/ -(function(){function r(a,b){var c;a||(a={});for(c in b)a[c]=b[c];return a}function x(){var a,b=arguments.length,c={},d=function(a,b){var c,h;typeof a!=="object"&&(a={});for(h in b)b.hasOwnProperty(h)&&(c=b[h],a[h]=c&&typeof c==="object"&&Object.prototype.toString.call(c)!=="[object Array]"&&typeof c.nodeType!=="number"?d(a[h]||{},c):b[h]);return a};for(a=0;a3?c.length%3:0;return e+(g?c.substr(0,g)+d:"")+c.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+d)+(f?b+P(a-c).toFixed(f).slice(2):"")}function za(a,b){return Array((b||2)+1-String(a).length).join(0)+a}function Bb(a,b,c){var d=a[b];a[b]=function(){var a=Array.prototype.slice.call(arguments);a.unshift(d);return c.apply(this,a)}}function Aa(a,b){for(var c="{",d=!1, -e,f,g,h,i,j=[];(c=a.indexOf(c))!==-1;){e=a.slice(0,c);if(d){f=e.split(":");g=f.shift().split(".");i=g.length;e=b;for(h=0;h-1?h.thousandsSep:"")):e=Xa(f,e)}j.push(e);a=a.slice(c+1);c=(d=!d)?"}":"{"}j.push(a);return j.join("")}function lb(a){return N.pow(10,S(N.log(a)/N.LN10))}function mb(a,b,c,d){var e,c=p(c,1);e=a/c;b||(b=[1,2,2.5,5,10],d&&d.allowDecimals=== -!1&&(c===1?b=[1,2,5,10]:c<=0.1&&(b=[1/c])));for(d=0;d=y[nb]&&(i.setMilliseconds(0),i.setSeconds(j>=y[Ya]?0:k*S(i.getSeconds()/k)));if(j>=y[Ya])i[Fb](j>=y[Qa]?0:k*S(i[ob]()/k));if(j>=y[Qa])i[Gb](j>=y[ra]?0:k*S(i[pb]()/k));if(j>=y[ra])i[qb](j>=y[Ra]?1:k*S(i[Sa]()/k));j>=y[Ra]&&(i[Hb](j>=y[sa]?0:k*S(i[$a]()/k)),h=i[ab]());j>=y[sa]&&(h-=h%k,i[Ib](h));if(j===y[Za])i[qb](i[Sa]()-i[rb]()+ -p(d,1));b=1;h=i[ab]();for(var d=i.getTime(),l=i[$a](),m=i[Sa](),o=g?0:(864E5+i.getTimezoneOffset()*6E4)%864E5;dc&&(c=a[b]);return c}function Ja(a,b){for(var c in a)a[c]&&a[c]!==b&&a[c].destroy&&a[c].destroy(),delete a[c]}function Ta(a){cb||(cb=T(Ba));a&&cb.appendChild(a);cb.innerHTML=""}function ua(a,b){var c="Highcharts error #"+a+": www.highcharts.com/errors/"+a;if(b)throw c;else E.console&&console.log(c)}function ia(a){return parseFloat(a.toPrecision(14))} -function Ka(a,b){Ca=p(a,b.animation)}function Lb(){var a=O.global.useUTC,b=a?"getUTC":"get",c=a?"setUTC":"set";bb=a?Date.UTC:function(a,b,c,g,h,i){return(new Date(a,b,p(c,1),p(g,0),p(h,0),p(i,0))).getTime()};ob=b+"Minutes";pb=b+"Hours";rb=b+"Day";Sa=b+"Date";$a=b+"Month";ab=b+"FullYear";Fb=c+"Minutes";Gb=c+"Hours";qb=c+"Date";Hb=c+"Month";Ib=c+"FullYear"}function va(){}function La(a,b,c,d){this.axis=a;this.pos=b;this.type=c||"";this.isNew=!0;!c&&!d&&this.addLabel()}function tb(a,b){this.axis=a;if(b)this.options= -b,this.id=b.id}function Mb(a,b,c,d,e,f){var g=a.chart.inverted;this.axis=a;this.isNegative=c;this.options=b;this.x=d;this.total=0;this.points={};this.stack=e;this.percent=f==="percent";this.alignOptions={align:b.align||(g?c?"left":"right":"center"),verticalAlign:b.verticalAlign||(g?"middle":c?"bottom":"top"),y:p(b.y,g?4:c?14:-6),x:p(b.x,g?c?-6:6:0)};this.textAlign=b.textAlign||(g?c?"right":"left":"center")}function db(){this.init.apply(this,arguments)}function ub(){this.init.apply(this,arguments)} -function vb(a,b){this.init(a,b)}function wb(a,b){this.init(a,b)}function xb(){this.init.apply(this,arguments)}var v,z=document,E=window,N=Math,s=N.round,S=N.floor,ja=N.ceil,u=N.max,I=N.min,P=N.abs,V=N.cos,ba=N.sin,Ma=N.PI,Ua=Ma*2/360,Da=navigator.userAgent,Nb=E.opera,qa=/msie/i.test(Da)&&!Nb,eb=z.documentMode===8,fb=/AppleWebKit/.test(Da),gb=/Firefox/.test(Da),Ob=/(Mobile|Android|Windows Phone)/.test(Da),wa="http://www.w3.org/2000/svg",Y=!!z.createElementNS&&!!z.createElementNS(wa,"svg").createSVGRect, -Vb=gb&&parseInt(Da.split("Firefox/")[1],10)<4,Z=!Y&&!qa&&!!z.createElement("canvas").getContext,Va,hb=z.documentElement.ontouchstart!==v,Pb={},yb=0,cb,O,Xa,Ca,zb,y,xa=function(){},Ea=[],Ba="div",R="none",Qb="rgba(192,192,192,"+(Y?1.0E-4:0.002)+")",Db="millisecond",nb="second",Ya="minute",Qa="hour",ra="day",Za="week",Ra="month",sa="year",Rb="stroke-width",bb,ob,pb,rb,Sa,$a,ab,Fb,Gb,qb,Hb,Ib,$={};E.Highcharts=E.Highcharts?ua(16,!0):{};Xa=function(a,b,c){if(!t(b)||isNaN(b))return"Invalid date";var a= -p(a,"%Y-%m-%d %H:%M:%S"),d=new Date(b),e,f=d[pb](),g=d[rb](),h=d[Sa](),i=d[$a](),j=d[ab](),k=O.lang,l=k.weekdays,d=r({a:l[g].substr(0,3),A:l[g],d:za(h),e:h,b:k.shortMonths[i],B:k.months[i],m:za(i+1),y:j.toString().substr(2,2),Y:j,H:za(f),I:za(f%12||12),l:f%12||12,M:za(d[ob]()),p:f<12?"AM":"PM",P:f<12?"am":"pm",S:za(d.getSeconds()),L:za(s(b%1E3),3)},Highcharts.dateFormats);for(e in d)for(;a.indexOf("%"+e)!==-1;)a=a.replace("%"+e,typeof d[e]==="function"?d[e](b):d[e]);return c?a.substr(0,1).toUpperCase()+ -a.substr(1):a};Jb.prototype={wrapColor:function(a){if(this.color>=a)this.color=0},wrapSymbol:function(a){if(this.symbol>=a)this.symbol=0}};y=function(){for(var a=0,b=arguments,c=b.length,d={};a-1,f=e?7:3,g,b=b.split(" "),c=[].concat(c),h,i,j=function(a){for(g=a.length;g--;)a[g]==="M"&&a.splice(g+1,0,a[g+1],a[g+2],a[g+1],a[g+2])};e&& -(j(b),j(c));a.isArea&&(h=b.splice(b.length-6,6),i=c.splice(c.length-6,6));if(d<=c.length/f)for(;d--;)c=[].concat(c).splice(0,f).concat(c);a.shift=0;if(b.length)for(a=c.length;b.length{point.key}
',pointFormat:'{series.name}: {point.y}
',shadow:!0,snap:Ob?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",whiteSpace:"nowrap"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com", -position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}};var X=O.plotOptions,W=X.line;Lb();var oa=function(a){var b=[],c,d;(function(a){a&&a.stops?d=Na(a.stops,function(a){return oa(a[1])}):(c=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/.exec(a))?b=[A(c[1]),A(c[2]),A(c[3]),parseFloat(c[4],10)]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a))?b=[A(c[1],16),A(c[2],16),A(c[3], -16),1]:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(a))&&(b=[A(c[1]),A(c[2]),A(c[3]),1])})(a);return{get:function(c){var f;d?(f=x(a),f.stops=[].concat(f.stops),n(d,function(a,b){f.stops[b]=[f.stops[b][0],a.get(c)]})):f=b&&!isNaN(b[0])?c==="rgb"?"rgb("+b[0]+","+b[1]+","+b[2]+")":c==="a"?b[3]:"rgba("+b.join(",")+")":a;return f},brighten:function(a){if(d)n(d,function(b){b.brighten(a)});else if(pa(a)&&a!==0){var c;for(c=0;c<3;c++)b[c]+=A(a*255),b[c]<0&&(b[c]=0),b[c]>255&& -(b[c]=255)}return this},rgba:b,setOpacity:function(a){b[3]=a;return this}}};va.prototype={init:function(a,b){this.element=b==="span"?T(b):z.createElementNS(wa,b);this.renderer=a;this.attrSetters={}},opacity:1,animate:function(a,b,c){b=p(b,Ca,!0);Wa(this);if(b){b=x(b);if(c)b.complete=c;Ab(this,a,b)}else this.attr(a),c&&c()},attr:function(a,b){var c,d,e,f,g=this.element,h=g.nodeName.toLowerCase(),i=this.renderer,j,k=this.attrSetters,l=this.shadows,m,o,q=this;da(a)&&t(b)&&(c=a,a={},a[c]=b);if(da(a))c= -a,h==="circle"?c={x:"cx",y:"cy"}[c]||c:c==="strokeWidth"&&(c="stroke-width"),q=w(g,c)||this[c]||0,c!=="d"&&c!=="visibility"&&(q=parseFloat(q));else{for(c in a)if(j=!1,d=a[c],e=k[c]&&k[c].call(this,d,c),e!==!1){e!==v&&(d=e);if(c==="d")d&&d.join&&(d=d.join(" ")),/(NaN| {2}|^$)/.test(d)&&(d="M 0 0");else if(c==="x"&&h==="text")for(e=0;em&&/[ \-]/.test(b.textContent||b.innerText))M(b,{width:m+"px",display:"block",whiteSpace:"normal"}),k=m;m=a.fontMetrics(b.style.fontSize).b;D=o<0&&-k;F=q<0&&-l;ka=o*q<0;D+=q*m*(ka?1-h:h);F-=o*m*(j?ka?h:1-h:1);i&&(D-=k*h*(o<0?-1:1),j&&(F-=l*h*(q<0?-1:1)),M(b,{textAlign:g}));this.xCorr=D;this.yCorr=F}M(b,{left:e+D+"px",top:f+F+"px"});if(fb)l=b.offsetHeight; -this.cTT=Tb}}else this.alignOnAdd=!0},setSpanRotation:function(a){var b={};b[qa?"-ms-transform":fb?"-webkit-transform":gb?"MozTransform":Nb?"-o-transform":""]=b.transform="rotate("+a+"deg)";M(this.element,b)},updateTransform:function(){var a=this.translateX||0,b=this.translateY||0,c=this.scaleX,d=this.scaleY,e=this.inverted,f=this.rotation;e&&(a+=this.attr("width"),b+=this.attr("height"));a=["translate("+a+","+b+")"];e?a.push("rotate(90) scale(-1,1)"):f&&a.push("rotate("+f+" "+(this.x||0)+" "+(this.y|| -0)+")");(t(c)||t(d))&&a.push("scale("+p(c,1)+" "+p(d,1)+")");a.length&&w(this.element,"transform",a.join(" "))},toFront:function(){var a=this.element;a.parentNode.appendChild(a);return this},align:function(a,b,c){var d,e,f,g,h={};e=this.renderer;f=e.alignedObjects;if(a){if(this.alignOptions=a,this.alignByTranslate=b,!c||da(c))this.alignTo=d=c||"renderer",fa(f,this),f.push(this),c=null}else a=this.alignOptions,b=this.alignByTranslate,d=this.alignTo;c=p(c,e[d],e);d=a.align;e=a.verticalAlign;f=(c.x|| -0)+(a.x||0);g=(c.y||0)+(a.y||0);if(d==="right"||d==="center")f+=(c.width-(a.width||0))/{right:1,center:2}[d];h[b?"translateX":"x"]=s(f);if(e==="bottom"||e==="middle")g+=(c.height-(a.height||0))/({bottom:1,middle:2}[e]||1);h[b?"translateY":"y"]=s(g);this[this.placed?"animate":"attr"](h);this.placed=!0;this.alignAttr=h;return this},getBBox:function(){var a=this.bBox,b=this.renderer,c,d=this.rotation;c=this.element;var e=this.styles,f=d*Ua;if(!a){if(c.namespaceURI===wa||b.forExport){try{a=c.getBBox? -r({},c.getBBox()):{width:c.offsetWidth,height:c.offsetHeight}}catch(g){}if(!a||a.width<0)a={width:0,height:0}}else a=this.htmlGetBBox();if(b.isSVG){b=a.width;c=a.height;if(qa&&e&&e.fontSize==="11px"&&c.toPrecision(3)==="22.7")a.height=c=14;if(d)a.width=P(c*ba(f))+P(b*V(f)),a.height=P(c*V(f))+P(b*ba(f))}this.bBox=a}return a},show:function(){return this.attr({visibility:"visible"})},hide:function(){return this.attr({visibility:"hidden"})},fadeOut:function(a){var b=this;b.animate({opacity:0},{duration:a|| -150,complete:function(){b.hide()}})},add:function(a){var b=this.renderer,c=a||b,d=c.element||b.box,e=d.childNodes,f=this.element,g=w(f,"zIndex"),h;if(a)this.parentGroup=a;this.parentInverted=a&&a.inverted;this.textStr!==void 0&&b.buildText(this);if(g)c.handleZ=!0,g=A(g);if(c.handleZ)for(c=0;cg||!t(g)&&t(b))){d.insertBefore(f,a);h=!0;break}h||d.appendChild(f);this.added=!0;C(this,"add");return this},safeRemoveChild:function(a){var b=a.parentNode; -b&&b.removeChild(a)},destroy:function(){var a=this,b=a.element||{},c=a.shadows,d=a.renderer.isSVG&&b.nodeName==="SPAN"&&b.parentNode,e,f;b.onclick=b.onmouseout=b.onmouseover=b.onmousemove=b.point=null;Wa(a);if(a.clipPath)a.clipPath=a.clipPath.destroy();if(a.stops){for(f=0;f/g,'').replace(/<(i|em)>/g,'').replace(//g,"").split(//g),f=b.childNodes,g=/style="([^"]+)"/, -h=/href="(http[^"]+)"/,i=w(b,"x"),j=a.styles,k=j&&j.width&&A(j.width),l=j&&j.lineHeight,m=f.length;m--;)b.removeChild(f[m]);k&&!a.added&&this.box.appendChild(b);e[e.length-1]===""&&e.pop();n(e,function(e,f){var m,p=0,e=e.replace(//g,"|||");m=e.split("|||");n(m,function(e){if(e!==""||m.length===1){var o={},n=z.createElementNS(wa,"tspan"),t;g.test(e)&&(t=e.match(g)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),w(n,"style",t));h.test(e)&&!d&&(w(n,"onclick",'location.href="'+ -e.match(h)[1]+'"'),M(n,{cursor:"pointer"}));e=(e.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"<").replace(/>/g,">");if(e!==" "&&(n.appendChild(z.createTextNode(e)),p?o.dx=0:o.x=i,w(n,o),!p&&f&&(!Y&&d&&M(n,{display:"block"}),w(n,"dy",l||c.fontMetrics(/px$/.test(n.style.fontSize)?n.style.fontSize:j.fontSize).h,fb&&n.offsetHeight)),b.appendChild(n),p++,k))for(var e=e.replace(/([^\^])-/g,"$1- ").split(" "),u,s=[];e.length||s.length;)delete a.bBox,u=a.getBBox().width,o=u>k,!o||e.length===1?(e=s, -s=[],e.length&&(n=z.createElementNS(wa,"tspan"),w(n,{dy:l||16,x:i}),t&&w(n,"style",t),b.appendChild(n),u>k&&(k=u))):(n.removeChild(n.firstChild),s.unshift(e.pop())),e.length&&n.appendChild(z.createTextNode(e.join(" ").replace(/- /g,"-")))}})})},button:function(a,b,c,d,e,f,g){var h=this.label(a,b,c,null,null,null,null,null,"button"),i=0,j,k,l,m,o,a={x1:0,y1:0,x2:0,y2:1},e=x({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:a,stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}}, -e);l=e.style;delete e.style;f=x(e,{stroke:"#68A",fill:{linearGradient:a,stops:[[0,"#FFF"],[1,"#ACF"]]}},f);m=f.style;delete f.style;g=x(e,{stroke:"#68A",fill:{linearGradient:a,stops:[[0,"#9BD"],[1,"#CDF"]]}},g);o=g.style;delete g.style;J(h.element,qa?"mouseover":"mouseenter",function(){h.attr(f).css(m)});J(h.element,qa?"mouseout":"mouseleave",function(){j=[e,f,g][i];k=[l,m,o][i];h.attr(j).css(k)});h.setState=function(a){(i=a)?a===2&&h.attr(g).css(o):h.attr(e).css(l)};return h.on("click",function(){d.call(h)}).attr(e).css(r({cursor:"default"}, -l))},crispLine:function(a,b){a[1]===a[4]&&(a[1]=a[4]=s(a[1])-b%2/2);a[2]===a[5]&&(a[2]=a[5]=s(a[2])+b%2/2);return a},path:function(a){var b={fill:R};Ha(a)?b.d=a:U(a)&&r(b,a);return this.createElement("path").attr(b)},circle:function(a,b,c){a=U(a)?a:{x:a,y:b,r:c};return this.createElement("circle").attr(a)},arc:function(a,b,c,d,e,f){if(U(a))b=a.y,c=a.r,d=a.innerR,e=a.start,f=a.end,a=a.x;a=this.symbol("arc",a||0,b||0,c||0,c||0,{innerR:d||0,start:e||0,end:f||0});a.r=c;return a},rect:function(a,b,c,d, -e,f){e=U(a)?a.r:e;e=this.createElement("rect").attr({rx:e,ry:e,fill:R});return e.attr(U(a)?a:e.crisp(f,a,b,u(c,0),u(d,0)))},setSize:function(a,b,c){var d=this.alignedObjects,e=d.length;this.width=a;this.height=b;for(this.boxWrapper[p(c,!0)?"animate":"attr"]({width:a,height:b});e--;)d[e].align()},g:function(a){var b=this.createElement("g");return t(a)?b.attr({"class":"highcharts-"+a}):b},image:function(a,b,c,d,e){var f={preserveAspectRatio:R};arguments.length>1&&r(f,{x:b,y:c,width:d,height:e});f=this.createElement("image").attr(f); -f.element.setAttributeNS?f.element.setAttributeNS("http://www.w3.org/1999/xlink","href",a):f.element.setAttribute("hc-svg-href",a);return f},symbol:function(a,b,c,d,e,f){var g,h=this.symbols[a],h=h&&h(s(b),s(c),d,e,f),i=/^url\((.*?)\)$/,j,k;if(h)g=this.path(h),r(g,{symbolName:a,x:b,y:c,width:d,height:e}),f&&r(g,f);else if(i.test(a))k=function(a,b){a.element&&(a.attr({width:b[0],height:b[1]}),a.alignByTranslate||a.translate(s((d-b[0])/2),s((e-b[1])/2)))},j=a.match(i)[1],a=Pb[j],g=this.image(j).attr({x:b, -y:c}),g.isImg=!0,a?k(g,a):(g.attr({width:0,height:0}),T("img",{onload:function(){k(g,Pb[j]=[this.width,this.height])},src:j}));return g},symbols:{circle:function(a,b,c,d){var e=0.166*c;return["M",a+c/2,b,"C",a+c+e,b,a+c+e,b+d,a+c/2,b+d,"C",a-e,b+d,a-e,b,a+c/2,b,"Z"]},square:function(a,b,c,d){return["M",a,b,"L",a+c,b,a+c,b+d,a,b+d,"Z"]},triangle:function(a,b,c,d){return["M",a+c/2,b,"L",a+c,b+d,a,b+d,"Z"]},"triangle-down":function(a,b,c,d){return["M",a,b,"L",a+c,b,a+c/2,b+d,"Z"]},diamond:function(a, -b,c,d){return["M",a+c/2,b,"L",a+c,b+d/2,a+c/2,b+d,a,b+d/2,"Z"]},arc:function(a,b,c,d,e){var f=e.start,c=e.r||c||d,g=e.end-0.001,d=e.innerR,h=e.open,i=V(f),j=ba(f),k=V(g),g=ba(g),e=e.end-f');if(b)c=e||b==="span"||b==="img"?c.join(""):a.prepVML(c),this.element=T(c);this.renderer=a;this.attrSetters={}},add:function(a){var b=this.renderer,c=this.element,d=b.box,d=a?a.element||a:d;a&&a.inverted&&b.invertChild(c,d);d.appendChild(c);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();C(this,"add");return this},updateTransform:va.prototype.htmlUpdateTransform,setSpanRotation:function(a,b,c){M(this.element,{filter:a?["progid:DXImageTransform.Microsoft.Matrix(M11=", -c,", M12=",-b,", M21=",b,", M22=",c,", sizingMethod='auto expand')"].join(""):R})},attr:function(a,b){var c,d,e,f=this.element||{},g=f.style,h=f.nodeName,i=this.renderer,j=this.symbolName,k,l=this.shadows,m,o=this.attrSetters,q=this;da(a)&&t(b)&&(c=a,a={},a[c]=b);if(da(a))c=a,q=c==="strokeWidth"||c==="stroke-width"?this.strokeweight:this[c];else for(c in a)if(d=a[c],m=!1,e=o[c]&&o[c].call(this,d,c),e!==!1&&d!==null){e!==v&&(d=e);if(j&&/^(x|y|r|start|end|width|height|innerR|anchorX|anchorY)/.test(c))k|| -(this.symbolAttr(a),k=!0),m=!0;else if(c==="d"){d=d||[];this.d=d.join(" ");e=d.length;m=[];for(var p;e--;)if(pa(d[e]))m[e]=s(d[e]*10)-5;else if(d[e]==="Z")m[e]="x";else if(m[e]=d[e],d.isArc&&(d[e]==="wa"||d[e]==="at"))p=d[e]==="wa"?1:-1,m[e+5]===m[e+7]&&(m[e+7]-=p),m[e+6]===m[e+8]&&(m[e+8]-=p);d=m.join(" ")||"x";f.path=d;if(l)for(e=l.length;e--;)l[e].path=l[e].cutOff?this.cutOffPath(d,l[e].cutOff):d;m=!0}else if(c==="visibility"){if(l)for(e=l.length;e--;)l[e].style[c]=d;h==="DIV"&&(d=d==="hidden"? -"-999em":0,eb||(g[c]=d?"visible":"hidden"),c="top");g[c]=d;m=!0}else if(c==="zIndex")d&&(g[c]=d),m=!0;else if(na(c,["x","y","width","height"])!==-1)this[c]=d,c==="x"||c==="y"?c={x:"left",y:"top"}[c]:d=u(0,d),this.updateClipping?(this[c]=d,this.updateClipping()):g[c]=d,m=!0;else if(c==="class"&&h==="DIV")f.className=d;else if(c==="stroke")d=i.color(d,f,c),c="strokecolor";else if(c==="stroke-width"||c==="strokeWidth")f.stroked=d?!0:!1,c="strokeweight",this[c]=d,pa(d)&&(d+="px");else if(c==="dashstyle")(f.getElementsByTagName("stroke")[0]|| -T(i.prepVML([""]),null,null,f))[c]=d||"solid",this.dashstyle=d,m=!0;else if(c==="fill")if(h==="SPAN")g.color=d;else{if(h!=="IMG")f.filled=d!==R?!0:!1,d=i.color(d,f,c,this),c="fillcolor"}else if(c==="opacity")m=!0;else if(h==="shape"&&c==="rotation")this[c]=f.style[c]=d,f.style.left=-s(ba(d*Ua)+1)+"px",f.style.top=s(V(d*Ua))+"px";else if(c==="translateX"||c==="translateY"||c==="rotation")this[c]=d,this.updateTransform(),m=!0;else if(c==="text")this.bBox=null,f.innerHTML=d,m=!0;m||(eb?f[c]= -d:w(f,c,d))}return q},clip:function(a){var b=this,c;a?(c=a.members,fa(c,b),c.push(b),b.destroyClip=function(){fa(c,b)},a=a.getCSS(b)):(b.destroyClip&&b.destroyClip(),a={clip:eb?"inherit":"rect(auto)"});return b.css(a)},css:va.prototype.htmlCss,safeRemoveChild:function(a){a.parentNode&&Ta(a)},destroy:function(){this.destroyClip&&this.destroyClip();return va.prototype.destroy.apply(this)},on:function(a,b){this.element["on"+a]=function(){var a=E.event;a.target=a.srcElement;b(a)};return this},cutOffPath:function(a, -b){var c,a=a.split(/[ ,]/);c=a.length;if(c===9||c===11)a[c-4]=a[c-2]=A(a[c-2])-10*b;return a.join(" ")},shadow:function(a,b,c){var d=[],e,f=this.element,g=this.renderer,h,i=f.style,j,k=f.path,l,m,o,q;k&&typeof k.value!=="string"&&(k="x");m=k;if(a){o=p(a.width,3);q=(a.opacity||0.15)/o;for(e=1;e<=3;e++){l=o*2+1-2*e;c&&(m=this.cutOffPath(k.value,l+0.5));j=[''];h=T(g.prepVML(j),null, -{left:A(i.left)+p(a.offsetX,1),top:A(i.top)+p(a.offsetY,1)});if(c)h.cutOff=l+1;j=[''];T(g.prepVML(j),null,null,h);b?b.element.appendChild(h):f.parentNode.insertBefore(h,f);d.push(h)}this.shadows=d}return this}};K=ga(va,K);var la={Element:K,isIE8:Da.indexOf("MSIE 8.0")>-1,init:function(a,b,c){var d,e;this.alignedObjects=[];d=this.createElement(Ba);e=d.element;e.style.position="relative";a.appendChild(d.element);this.isVML=!0;this.box=e;this.boxWrapper= -d;this.setSize(b,c,!1);if(!z.namespaces.hcv)z.namespaces.add("hcv","urn:schemas-microsoft-com:vml"),z.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "},isHidden:function(){return!this.box.offsetWidth},clipRect:function(a,b,c,d){var e=this.createElement(),f=U(a);return r(e,{members:[],left:f?a.x:a,top:f?a.y:b,width:f?a.width:c,height:f?a.height:d,getCSS:function(a){var b=a.element,c=b.nodeName,a=a.inverted,d=this.top- -(c==="shape"?b.offsetTop:0),e=this.left,b=e+this.width,f=d+this.height,d={clip:"rect("+s(a?e:d)+"px,"+s(a?f:b)+"px,"+s(a?b:f)+"px,"+s(a?d:e)+"px)"};!a&&eb&&c==="DIV"&&r(d,{width:b+"px",height:f+"px"});return d},updateClipping:function(){n(e.members,function(a){a.css(e.getCSS(a))})}})},color:function(a,b,c,d){var e=this,f,g=/^rgba/,h,i,j=R;a&&a.linearGradient?i="gradient":a&&a.radialGradient&&(i="pattern");if(i){var k,l,m=a.linearGradient||a.radialGradient,o,q,p,D,F,u="",a=a.stops,t,s=[],v=function(){h= -[''];T(e.prepVML(h),null,null,b)};o=a[0];t=a[a.length-1];o[0]>0&&a.unshift([0,o[1]]);t[0]<1&&a.push([1,t[1]]);n(a,function(a,b){g.test(a[1])?(f=oa(a[1]),k=f.get("rgb"),l=f.get("a")):(k=a[1],l=1);s.push(a[0]*100+"% "+k);b?(p=l,D=k):(q=l,F=k)});if(c==="fill")if(i==="gradient")c=m.x1||m[0]||0,a=m.y1||m[1]||0,o=m.x2||m[2]||0,m=m.y2||m[3]||0,u='angle="'+(90-N.atan((m-a)/(o-c))*180/Ma)+'"',v(); -else{var j=m.r,r=j*2,G=j*2,H=m.cx,B=m.cy,x=b.radialReference,w,j=function(){x&&(w=d.getBBox(),H+=(x[0]-w.x)/w.width-0.5,B+=(x[1]-w.y)/w.height-0.5,r*=x[2]/w.width,G*=x[2]/w.height);u='src="'+O.global.VMLRadialGradientURL+'" size="'+r+","+G+'" origin="0.5,0.5" position="'+H+","+B+'" color2="'+F+'" ';v()};d.added?j():J(d,"add",j);j=D}else j=k}else if(g.test(a)&&b.tagName!=="IMG")f=oa(a),h=["<",c,' opacity="',f.get("a"),'"/>'],T(this.prepVML(h),null,null,b),j=f.get("rgb");else{j=b.getElementsByTagName(c); -if(j.length)j[0].opacity=1,j[0].type="solid";j=a}return j},prepVML:function(a){var b=this.isIE8,a=a.join("");b?(a=a.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),a=a.indexOf('style="')===-1?a.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):a.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):a=a.replace("<","1&&f.attr({x:b,y:c,width:d,height:e});return f},rect:function(a,b,c,d,e,f){if(U(a))b=a.y,c=a.width,d=a.height,f=a.strokeWidth,a=a.x;var g=this.symbol("rect"); -g.r=e;return g.attr(g.crisp(f,a,b,u(c,0),u(d,0)))},invertChild:function(a,b){var c=b.style;M(a,{flip:"x",left:A(c.width)-1,top:A(c.height)-1,rotation:-90})},symbols:{arc:function(a,b,c,d,e){var f=e.start,g=e.end,h=e.r||c||d,c=e.innerR,d=V(f),i=ba(f),j=V(g),k=ba(g);if(g-f===0)return["x"];f=["wa",a-h,b-h,a+h,b+h,a+h*d,b+h*i,a+h*j,b+h*k];e.open&&!c&&f.push("e","M",a,b);f.push("at",a-c,b-c,a+c,b+c,a+c*j,b+c*k,a+c*d,b+c*i,"x","e");f.isArc=!0;return f},circle:function(a,b,c,d,e){e&&e.isCircle&&(a-=c/2, -b-=d/2);return["wa",a,b,a+c,b+d,a+c,b+d/2,a+c,b+d/2,"e"]},rect:function(a,b,c,d,e){var f=a+c,g=b+d,h;!t(e)||!e.r?f=Fa.prototype.symbols.square.apply(0,arguments):(h=I(e.r,c,d),f=["M",a+h,b,"L",f-h,b,"wa",f-2*h,b,f,b+2*h,f-h,b,f,b+h,"L",f,g-h,"wa",f-2*h,g-2*h,f,g,f,g-h,f-h,g,"L",a+h,g,"wa",a,g-2*h,a+2*h,g,a+h,g,a,g-h,"L",a,b+h,"wa",a,b,a+2*h,b+2*h,a,b+h,a+h,b,"x","e"]);return f}}};Highcharts.VMLRenderer=K=function(){this.init.apply(this,arguments)};K.prototype=x(Fa.prototype,la);Va=K}var Ub;if(Z)Highcharts.CanVGRenderer= -K=function(){wa="http://www.w3.org/1999/xhtml"},K.prototype.symbols={},Ub=function(){function a(){var a=b.length,d;for(d=0;dj&&(c=!1)):h+k>m&&(h=m-k,d&&h+l0&&b.height>0){f=x({align:c&&k&&"center",x:c?!k&& -4:10,verticalAlign:!c&&k&&"middle",y:c?k?16:10:k?6:-4,rotation:c&&!k&&90},f);if(!g)a.label=g=r.text(f.text,0,0,f.useHTML).attr({align:f.textAlign||f.align,rotation:f.rotation,zIndex:F}).css(f.style).add();b=[q[1],q[4],p(q[6],q[1])];q=[q[2],q[5],p(q[7],q[2])];c=Ia(b);k=Ia(q);g.align(f,!1,{x:c,y:k,width:ta(b)-c,height:ta(q)-k});g.show()}else g&&g.hide();return a},destroy:function(){fa(this.axis.plotLinesAndBands,this);delete this.axis;Ja(this)}};Mb.prototype={destroy:function(){Ja(this,this.axis)}, -setTotal:function(a){this.cum=this.total=a},addValue:function(a){this.setTotal(ia(this.total+a))},render:function(a){var b=this.options,c=b.format,c=c?Aa(c,this):b.formatter.call(this);this.label?this.label.attr({text:c,visibility:"hidden"}):this.label=this.axis.chart.renderer.text(c,0,0,b.useHTML).css(b.style).attr({align:this.textAlign,rotation:b.rotation,visibility:"hidden"}).add(a)},cacheExtremes:function(a,b){this.points[a.index]=b},setOffset:function(a,b){var c=this.axis,d=c.chart,e=d.inverted, -f=this.isNegative,g=c.translate(this.percent?100:this.total,0,0,0,1),c=c.translate(0),c=P(g-c),h=d.xAxis[0].translate(this.x)+a,i=d.plotHeight,f={x:e?f?g:g-c:h,y:e?i-h-b:f?i-g-c:i-g,width:e?c:b,height:e?b:c};if(e=this.label)e.align(this.alignOptions,null,f),f=e.alignAttr,e.attr({visibility:this.options.crop===!1||d.isInsidePlot(f.x,f.y)?Y?"inherit":"visible":"hidden"})}};db.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b", -week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0",labels:L,lineColor:"#C0D0E0",lineWidth:1,minPadding:0.01,maxPadding:0.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:5,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#4d759e",fontWeight:"bold"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0, -gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8,y:3},lineWidth:0,maxPadding:0.05,minPadding:0.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return ya(this.total,-1)},style:L.style}},defaultLeftAxisOptions:{labels:{x:-8,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:8,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{x:0,y:14},title:{rotation:0}},defaultTopAxisOptions:{labels:{x:0,y:-5}, -title:{rotation:0}},init:function(a,b){var c=b.isX;this.horiz=a.inverted?!c:c;this.xOrY=(this.isXAxis=c)?"x":"y";this.opposite=b.opposite;this.side=this.horiz?this.opposite?0:2:this.opposite?1:3;this.setOptions(b);var d=this.options,e=d.type;this.labelFormatter=d.labels.formatter||this.defaultLabelFormatter;this.userOptions=b;this.minPixelPadding=0;this.chart=a;this.reversed=d.reversed;this.zoomEnabled=d.zoomEnabled!==!1;this.categories=d.categories||e==="category";this.isLog=e==="logarithmic";this.isDatetimeAxis= -e==="datetime";this.isLinked=t(d.linkedTo);this.tickmarkOffset=this.categories&&d.tickmarkPlacement==="between"?0.5:0;this.ticks={};this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=d.minRange||d.maxZoom;this.range=d.range;this.offset=d.offset||0;this.stacks={};this.oldStacks={};this.stacksMax={};this._stacksTouched=0;this.min=this.max=null;var f,d=this.options.events;na(this,a.axes)===-1&&(a.axes.push(this),a[c?"xAxis":"yAxis"].push(this)); -this.series=this.series||[];if(a.inverted&&c&&this.reversed===v)this.reversed=!0;this.removePlotLine=this.removePlotBand=this.removePlotBandOrLine;for(f in d)J(this,f,d[f]);if(this.isLog)this.val2lin=ma,this.lin2val=ea},setOptions:function(a){this.options=x(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],x(O[this.isXAxis?"xAxis":"yAxis"],a))},update:function(a, -b){var c=this.chart,a=c.options[this.xOrY+"Axis"][this.options.index]=x(this.userOptions,a);this.destroy(!0);this._addedPlotLB=!1;this.init(c,r(a,{events:v}));c.isDirtyBox=!0;p(b,!0)&&c.redraw()},remove:function(a){var b=this.chart,c=this.xOrY+"Axis";n(this.series,function(a){a.remove(!1)});fa(b.axes,this);fa(b[c],this);b.options[c].splice(this.options.index,1);n(b[c],function(a,b){a.options.index=b});this.destroy();b.isDirtyBox=!0;p(a,!0)&&b.redraw()},defaultLabelFormatter:function(){var a=this.axis, -b=this.value,c=a.categories,d=this.dateTimeLabelFormat,e=O.lang.numericSymbols,f=e&&e.length,g,h=a.options.labels.format,a=a.isLog?b:a.tickInterval;if(h)g=Aa(h,this);else if(c)g=b;else if(d)g=Xa(d,b);else if(f&&a>=1E3)for(;f--&&g===v;)c=Math.pow(1E3,f+1),a>=c&&e[f]!==null&&(g=ya(b/c,-1)+e[f]);g===v&&(g=b>=1E3?ya(b,0):ya(b,-1));return g},getSeriesExtremes:function(){var a=this,b=a.chart;a.hasVisibleSeries=!1;a.dataMin=a.dataMax=null;a.stacksMax={};a.buildStacks();n(a.series,function(c){if(c.visible|| -!b.options.chart.ignoreHiddenSeries){var d=c.options,e;e=d.threshold;a.hasVisibleSeries=!0;a.isLog&&e<=0&&(e=null);if(a.isXAxis){if(e=c.xData,e.length)a.dataMin=I(p(a.dataMin,e[0]),Ia(e)),a.dataMax=u(p(a.dataMax,e[0]),ta(e))}else{d=d.stacking;a.usePercentage=d==="percent";if(a.usePercentage)a.dataMin=0,a.dataMax=99;c.getExtremes();d=c.dataMax;c=c.dataMin;if(!a.usePercentage&&t(c)&&t(d))a.dataMin=I(p(a.dataMin,c),c),a.dataMax=u(p(a.dataMax,d),d);if(t(e))if(a.dataMin>=e)a.dataMin=e,a.ignoreMinPadding= -!0;else if(a.dataMaxf+this.width)m=!0}else if(c=f,i=l-this.right,hg+this.height)m=!0;return m&&!d? -null:e.renderer.crispLine(["M",c,h,"L",i,j],b||0)},getPlotBandPath:function(a,b){var c=this.getPlotLinePath(b),d=this.getPlotLinePath(a);d&&c?d.push(c[4],c[5],c[1],c[2]):d=null;return d},getLinearTickPositions:function(a,b,c){for(var d,b=ia(S(b/a)*a),c=ia(ja(c/a)*a),e=[];b<=c;){e.push(b);b=ia(b+a);if(b===d)break;d=b}return e},getLogTickPositions:function(a,b,c,d){var e=this.options,f=this.len,g=[];if(!d)this._minorAutoInterval=null;if(a>=0.5)a=s(a),g=this.getLinearTickPositions(a,b,c);else if(a>= -0.08)for(var f=S(b),h,i,j,k,l,e=a>0.3?[1,2,4]:a>0.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];fb&&(!d||k<=c)&&g.push(k),k>c&&(l=!0),k=j}else if(b=ea(b),c=ea(c),a=e[d?"minorTickInterval":"tickInterval"],a=p(a==="auto"?null:a,this._minorAutoInterval,(c-b)*(e.tickPixelInterval/(d?5:1))/((d?f/this.tickPositions.length:f)||1)),a=mb(a,null,lb(a)),g=Na(this.getLinearTickPositions(a,b,c),ma),!d)this._minorAutoInterval=a/5;if(!d)this.tickInterval=a;return g}, -getMinorTickPositions:function(){var a=this.options,b=this.tickPositions,c=this.minorTickInterval,d=[],e;if(this.isLog){e=b.length;for(a=1;a=this.minRange,f,g,h,i,j;if(this.isXAxis&&this.minRange===v&&!this.isLog)t(a.min)||t(a.max)?this.minRange=null:(n(this.series,function(a){i=a.xData;for(g=j=a.xIncrement?1:i.length-1;g>0;g--)if(h=i[g]-i[g-1],f===v||hb&&(g=0);c=u(c,g);e=u(e,da(h)?0:g/2);f=u(f,h==="on"?0:g);!a.noSharedTooltip&&t(l)&&(d=t(d)?I(d,l):l)}),g=this.ordinalSlope&&d?this.ordinalSlope/d:1,this.minPointOffset=e*=g,this.pointRangePadding=f*=g,this.pointRange=I(c,b),this.closestPointRange= -d;if(a)this.oldTransA=h;this.translationSlope=this.transA=h=this.len/(b+f||1);this.transB=this.horiz?this.left:this.bottom;this.minPixelPadding=h*e},setTickPositions:function(a){var b=this,c=b.chart,d=b.options,e=b.isLog,f=b.isDatetimeAxis,g=b.isXAxis,h=b.isLinked,i=b.options.tickPositioner,j=d.maxPadding,k=d.minPadding,l=d.tickInterval,m=d.minTickInterval,o=d.tickPixelInterval,q=b.categories;h?(b.linkedParent=c[g?"xAxis":"yAxis"][d.linkedTo],c=b.linkedParent.getExtremes(),b.min=p(c.min,c.dataMin), -b.max=p(c.max,c.dataMax),d.type!==b.linkedParent.options.type&&ua(11,1)):(b.min=p(b.userMin,d.min,b.dataMin),b.max=p(b.userMax,d.max,b.dataMax));if(e)!a&&I(b.min,p(b.dataMin,b.min))<=0&&ua(10,1),b.min=ia(ma(b.min)),b.max=ia(ma(b.max));if(b.range&&(b.userMin=b.min=u(b.min,b.max-b.range),b.userMax=b.max,a))b.range=null;b.beforePadding&&b.beforePadding();b.adjustForMinRange();if(!q&&!b.usePercentage&&!h&&t(b.min)&&t(b.max)&&(c=b.max-b.min)){if(!t(d.min)&&!t(b.userMin)&&k&&(b.dataMin<0||!b.ignoreMinPadding))b.min-= -c*k;if(!t(d.max)&&!t(b.userMax)&&j&&(b.dataMax>0||!b.ignoreMaxPadding))b.max+=c*j}b.tickInterval=b.min===b.max||b.min===void 0||b.max===void 0?1:h&&!l&&o===b.linkedParent.options.tickPixelInterval?b.linkedParent.tickInterval:p(l,q?1:(b.max-b.min)*o/(b.len||1));g&&!a&&n(b.series,function(a){a.processData(b.min!==b.oldMin||b.max!==b.oldMax)});b.setAxisTranslation(!0);b.beforeSetTickPositions&&b.beforeSetTickPositions();if(b.postProcessTickInterval)b.tickInterval=b.postProcessTickInterval(b.tickInterval); -if(b.pointRange)b.tickInterval=u(b.pointRange,b.tickInterval);if(!l&&b.tickIntervale&&a.shift(),d.endOnTick?b.max=f:b.max+h(b[d]||0)&& -this.options.alignTicks!==!1)b[d]=c.length;a.maxTicks=b},adjustTickAmount:function(){var a=this._maxTicksKey,b=this.tickPositions,c=this.chart.maxTicks;if(c&&c[a]&&!this.isDatetimeAxis&&!this.categories&&!this.isLinked&&this.options.alignTicks!==!1){var d=this.tickAmount,e=b.length;this.tickAmount=a=c[a];if(e=this.dataMax&&(b=v));this.displayBtn= -a!==v||b!==v;this.setExtremes(a,b,!1,v,{trigger:"zoom"});return!0},setAxisSize:function(){var a=this.chart,b=this.options,c=b.offsetLeft||0,d=b.offsetRight||0,e=this.horiz,f,g;this.left=g=p(b.left,a.plotLeft+c);this.top=f=p(b.top,a.plotTop);this.width=c=p(b.width,a.plotWidth-c+d);this.height=b=p(b.height,a.plotHeight);this.bottom=a.chartHeight-b-f;this.right=a.chartWidth-c-g;this.len=u(e?c:b,0);this.pos=e?g:f},getExtremes:function(){var a=this.isLog;return{min:a?ia(ea(this.min)):this.min,max:a?ia(ea(this.max)): -this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(a){var b=this.isLog,c=b?ea(this.min):this.min,b=b?ea(this.max):this.max;c>a||a===null?a=c:b15&&a<165?"right":a>195&&a<345?"left":"center"},getOffset:function(){var a=this,b=a.chart,c=b.renderer,d=a.options,e=a.tickPositions,f=a.ticks,g=a.horiz,h=a.side,i=b.inverted?[1,0,3,2][h]:h,j,k=0,l,m=0,o=d.title,q=d.labels,ka=0,D=b.axisOffset,F=b.clipOffset,s=[-1,1,1,-1][h],r,w=1,x=p(q.maxStaggerLines,5),Ga,G,H,B;a.hasData=j=a.hasVisibleSeries||t(a.min)&&t(a.max)&&!!e;a.showAxis=b=j||p(d.showEmpty,!0);a.staggerLines=a.horiz&& -q.staggerLines;if(!a.axisGroup)a.gridGroup=c.g("grid").attr({zIndex:d.gridZIndex||1}).add(),a.axisGroup=c.g("axis").attr({zIndex:d.zIndex||2}).add(),a.labelGroup=c.g("axis-labels").attr({zIndex:q.zIndex||7}).add();if(j||a.isLinked){a.labelAlign=p(q.align||a.autoLabelAlign(q.rotation));n(e,function(b){f[b]?f[b].addLabel():f[b]=new La(a,b)});if(a.horiz&&!a.staggerLines&&x&&!q.rotation){for(r=a.reversed?[].concat(e).reverse():e;w1)a.staggerLines=w}n(e,function(b){if(h===0||h===2||{1:"left",3:"right"}[h]===a.labelAlign)ka=u(f[b].getLabelSize(),ka)});if(a.staggerLines)ka*=a.staggerLines,a.labelOffset=ka}else for(r in f)f[r].destroy(),delete f[r];if(o&&o.text&&o.enabled!==!1){if(!a.axisTitle)a.axisTitle=c.text(o.text,0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:o.textAlign||{low:"left",middle:"center",high:"right"}[o.align]}).css(o.style).add(a.axisGroup), -a.axisTitle.isNew=!0;if(b)k=a.axisTitle.getBBox()[g?"height":"width"],m=p(o.margin,g?5:10),l=o.offset;a.axisTitle[b?"show":"hide"]()}a.offset=s*p(d.offset,D[h]);a.axisTitleMargin=p(l,ka+m+(h!==2&&ka&&s*d.labels[g?"y":"x"]));D[h]=u(D[h],a.axisTitleMargin+k+s*a.offset);F[i]=u(F[i],d.lineWidth)},getLinePath:function(a){var b=this.chart,c=this.opposite,d=this.offset,e=this.horiz,f=this.left+(c?this.width:0)+d;this.lineTop=d=b.chartHeight-this.bottom-(c?this.height:0)+d;c||(a*=-1);return b.renderer.crispLine(["M", -e?this.left:f,e?d:this.top,"L",e?b.chartWidth-this.right:f,e?d:b.chartHeight-this.bottom],a)},getTitlePosition:function(){var a=this.horiz,b=this.left,c=this.top,d=this.len,e=this.options.title,f=a?b:c,g=this.opposite,h=this.offset,i=A(e.style.fontSize||12),d={low:f+(a?0:d),middle:f+d/2,high:f+(a?d:0)}[e.align],b=(a?c+this.height:b)+(a?1:-1)*(g?-1:1)*this.axisTitleMargin+(this.side===2?i:0);return{x:a?d:b+(g?this.width:0)+h+(e.x||0),y:a?b-(g?this.height:0)+h:d+(e.y||0)}},render:function(){var a=this, -b=a.chart,c=b.renderer,d=a.options,e=a.isLog,f=a.isLinked,g=a.tickPositions,h=a.axisTitle,i=a.stacks,j=a.ticks,k=a.minorTicks,l=a.alternateBands,m=d.stackLabels,o=d.alternateGridColor,q=a.tickmarkOffset,p=d.lineWidth,D,F=b.hasRendered&&t(a.oldMin)&&!isNaN(a.oldMin);D=a.hasData;var u=a.showAxis,s,r;n([j,k,l],function(a){for(var b in a)a[b].isActive=!1});if(D||f)if(a.minorTickInterval&&!a.categories&&n(a.getMinorTickPositions(),function(b){k[b]||(k[b]=new La(a,b,"minor"));F&&k[b].isNew&&k[b].render(null, -!0);k[b].render(null,!1,1)}),g.length&&(n(g.slice(1).concat([g[0]]),function(b,c){c=c===g.length-1?0:c+1;if(!f||b>=a.min&&b<=a.max)j[b]||(j[b]=new La(a,b)),F&&j[b].isNew&&j[b].render(c,!0),j[b].render(c,!1,1)}),q&&a.min===0&&(j[-1]||(j[-1]=new La(a,-1,null,!0)),j[-1].render(-1))),o&&n(g,function(b,c){if(c%2===0&&b1||P(b-f.y)>1))clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){e&&e.move(a,b,c,d)},32)},hide:function(){var a=this,b;clearTimeout(this.hideTimer);if(!this.isHidden)b=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){a.label.fadeOut();a.isHidden=!0},p(this.options.hideDelay,500)),b&&n(b,function(a){a.setState()}),this.chart.hoverPoints=null},hideCrosshairs:function(){n(this.crosshairs,function(a){a&&a.hide()})},getAnchor:function(a, -b){var c,d=this.chart,e=d.inverted,f=d.plotTop,g=0,h=0,i,a=ha(a);c=a[0].tooltipPos;this.followPointer&&b&&(b.chartX===v&&(b=d.pointer.normalize(b)),c=[b.chartX-d.plotLeft,b.chartY-f]);c||(n(a,function(a){i=a.series.yAxis;g+=a.plotX;h+=(a.plotLow?(a.plotLow+a.plotHigh)/2:a.plotY)+(!e&&i?i.top-f:0)}),g/=a.length,h/=a.length,c=[e?d.plotWidth-h:g,this.shared&&!e&&a.length>1&&b?b.chartY-f:e?d.plotHeight-g:h]);return Na(c,s)},getPosition:function(a,b,c){var d=this.chart,e=d.plotLeft,f=d.plotTop,g=d.plotWidth, -h=d.plotHeight,i=p(this.options.distance,12),j=c.plotX,c=c.plotY,d=j+e+(d.inverted?i:-a-i),k=c-b+f+15,l;d<7&&(d=e+u(j,0)+i);d+a>e+g&&(d-=d+a-(e+g),k=c-b+f-i,l=!0);k=k&&c<=k+b&&(k=c+f+i));k+b>f+h&&(k=u(f,f+h-b-i));return{x:d,y:k}},defaultFormatter:function(a){var b=this.points||ha(this),c=b[0].series,d;d=[c.tooltipHeaderFormatter(b[0])];n(b,function(a){c=a.series;d.push(c.tooltipFormatter&&c.tooltipFormatter(a)||a.point.tooltipFormatter(c.tooltipOptions.pointFormat))});d.push(a.options.footerFormat|| -"");return d.join("")},refresh:function(a,b){var c=this.chart,d=this.label,e=this.options,f,g,h,i={},j,k=[];j=e.formatter||this.defaultFormatter;var i=c.hoverPoints,l,m=e.crosshairs;h=this.shared;clearTimeout(this.hideTimer);this.followPointer=ha(a)[0].series.tooltipOptions.followPointer;g=this.getAnchor(a,b);f=g[0];g=g[1];h&&(!a.series||!a.series.noSharedTooltip)?(c.hoverPoints=a,i&&n(i,function(a){a.setState()}),n(a,function(a){a.setState("hover");k.push(a.getLabelConfig())}),i={x:a[0].category, -y:a[0].y},i.points=k,a=a[0]):i=a.getLabelConfig();j=j.call(i,this);i=a.series;h=h||!i.isCartesian||i.tooltipOutsidePlot||c.isInsidePlot(f,g);j===!1||!h?this.hide():(this.isHidden&&(Wa(d),d.attr("opacity",1).show()),d.attr({text:j}),l=e.borderColor||a.color||i.color||"#606060",d.attr({stroke:l}),this.updatePosition({plotX:f,plotY:g}),this.isHidden=!1);if(m){m=ha(m);for(d=m.length;d--;)if(i=a.series,e=i[d?"yAxis":"xAxis"],m[d]&&e)if(h=d?p(a.stackY,a.y):a.x,e.isLog&&(h=ma(h)),i.modifyValue&&(h=i.modifyValue(h)), -e=e.getPlotLinePath(h,1),this.crosshairs[d])this.crosshairs[d].attr({d:e,visibility:"visible"});else{h={"stroke-width":m[d].width||1,stroke:m[d].color||"#C0C0C0",zIndex:m[d].zIndex||2};if(m[d].dashStyle)h.dashstyle=m[d].dashStyle;this.crosshairs[d]=c.renderer.path(e).attr(h).add()}}C(c,"tooltipRefresh",{text:j,x:f+c.plotLeft,y:g+c.plotTop,borderColor:l})},updatePosition:function(a){var b=this.chart,c=this.label,c=(this.options.positioner||this.getPosition).call(this,c.width,c.height,a);this.move(s(c.x), -s(c.y),a.plotX+b.plotLeft,a.plotY+b.plotTop)}};vb.prototype={init:function(a,b){var c=Z?"":b.chart.zoomType,d=a.inverted,e;this.options=b;this.chart=a;this.zoomX=e=/x/.test(c);this.zoomY=c=/y/.test(c);this.zoomHor=e&&!d||c&&d;this.zoomVert=c&&!d||e&&d;this.pinchDown=[];this.lastValidTouch={};if(b.tooltip.enabled)a.tooltip=new ub(a,b.tooltip);this.setDOMEvents()},normalize:function(a){var b,c,a=a||E.event;if(!a.target)a.target=a.srcElement;a=Sb(a);c=a.touches?a.touches.item(0):a;this.chartPosition= -b=Xb(this.chart.container);return r(a,{chartX:s(p(c.pageX,c.clientX)-b.left),chartY:s(p(c.pageY,c.clientY)-b.top)})},getCoordinates:function(a){var b={xAxis:[],yAxis:[]};n(this.chart.axes,function(c){b[c.isXAxis?"xAxis":"yAxis"].push({axis:c,value:c.toValue(a[c.horiz?"chartX":"chartY"])})});return b},getIndex:function(a){var b=this.chart;return b.inverted?b.plotHeight+b.plotTop-a.chartY:a.chartX-b.plotLeft},runPointActions:function(a){var b=this.chart,c=b.series,d=b.tooltip,e,f=b.hoverPoint,g=b.hoverSeries, -h,i,j=b.chartWidth,k=this.getIndex(a);if(d&&this.options.tooltip.shared&&(!g||!g.noSharedTooltip)){e=[];h=c.length;for(i=0;ij&&e.splice(h,1);if(e.length&&e[0].clientX!==this.hoverX)d.refresh(e,a),this.hoverX=e[0].clientX}if(g&&g.tracker){if((b=g.tooltipPoints[k])&&b!==f)b.onMouseOver(a)}else d&& -d.followPointer&&!d.isHidden&&(a=d.getAnchor([{}],a),d.updatePosition({plotX:a[0],plotY:a[1]}))},reset:function(a){var b=this.chart,c=b.hoverSeries,d=b.hoverPoint,e=b.tooltip,b=e&&e.shared?b.hoverPoints:d;(a=a&&e&&b)&&ha(b)[0].plotX===v&&(a=!1);if(a)e.refresh(b);else{if(d)d.onMouseOut();if(c)c.onMouseOut();e&&(e.hide(),e.hideCrosshairs());this.hoverX=null}},scaleGroups:function(a,b){var c=this.chart,d;n(c.series,function(e){d=a||e.getPlotBox();e.xAxis&&e.xAxis.zoomEnabled&&(e.group.attr(d),e.markerGroup&& -(e.markerGroup.attr(d),e.markerGroup.clip(b?c.clipRect:null)),e.dataLabelsGroup&&e.dataLabelsGroup.attr(d))});c.clipRect.attr(b||c.clipBox)},pinchTranslateDirection:function(a,b,c,d,e,f,g){var h=this.chart,i=a?"x":"y",j=a?"X":"Y",k="chart"+j,l=a?"width":"height",m=h["plot"+(a?"Left":"Top")],o,q,p=1,n=h.inverted,u=h.bounds[a?"h":"v"],s=b.length===1,t=b[0][k],r=c[0][k],w=!s&&b[1][k],v=!s&&c[1][k],x,c=function(){!s&&P(t-w)>20&&(p=P(r-v)/P(t-w));q=(m-r)/p+t;o=h["plot"+(a?"Width":"Height")]/p};c();b=q; -bu.max&&(b=u.max-o,x=!0);x?(r-=0.8*(r-g[i][0]),s||(v-=0.8*(v-g[i][1])),c()):g[i]=[r,v];n||(f[i]=q-m,f[l]=o);f=n?1/p:p;e[l]=o;e[i]=b;d[n?a?"scaleY":"scaleX":"scale"+j]=p;d["translate"+j]=f*m+(r-f*t)},pinch:function(a){var b=this,c=b.chart,d=b.pinchDown,e=c.tooltip&&c.tooltip.options.followTouchMove,f=a.touches,g=f.length,h=b.lastValidTouch,i=b.zoomHor||b.pinchHor,j=b.zoomVert||b.pinchVert,k=i||j,l=b.selectionMarker,m={},o={};a.type==="touchstart"&&(e||k)&&a.preventDefault(); -Na(f,function(a){return b.normalize(a)});if(a.type==="touchstart")n(f,function(a,b){d[b]={chartX:a.chartX,chartY:a.chartY}}),h.x=[d[0].chartX,d[1]&&d[1].chartX],h.y=[d[0].chartY,d[1]&&d[1].chartY],n(c.axes,function(a){if(a.zoomEnabled){var b=c.bounds[a.horiz?"h":"v"],d=a.minPixelPadding,e=a.toPixels(a.dataMin),f=a.toPixels(a.dataMax),g=I(e,f),e=u(e,f);b.min=I(a.pos,g-d);b.max=u(a.pos+a.len,e+d)}});else if(d.length){if(!l)b.selectionMarker=l=r({destroy:xa},c.plotBox);i&&b.pinchTranslateDirection(!0, -d,f,m,l,o,h);j&&b.pinchTranslateDirection(!1,d,f,m,l,o,h);b.hasPinched=k;b.scaleGroups(m,o);!k&&e&&g===1&&this.runPointActions(b.normalize(a))}},dragStart:function(a){var b=this.chart;b.mouseIsDown=a.type;b.cancelClick=!1;b.mouseDownX=this.mouseDownX=a.chartX;this.mouseDownY=a.chartY},drag:function(a){var b=this.chart,c=b.options.chart,d=a.chartX,a=a.chartY,e=this.zoomHor,f=this.zoomVert,g=b.plotLeft,h=b.plotTop,i=b.plotWidth,j=b.plotHeight,k,l=this.mouseDownX,m=this.mouseDownY;dg+i&&(d= -g+i);ah+j&&(a=h+j);this.hasDragged=Math.sqrt(Math.pow(l-d,2)+Math.pow(m-a,2));if(this.hasDragged>10){k=b.isInsidePlot(l-g,m-h);if(b.hasCartesianSeries&&(this.zoomX||this.zoomY)&&k&&!this.selectionMarker)this.selectionMarker=b.renderer.rect(g,h,e?1:i,f?1:j,0).attr({fill:c.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add();this.selectionMarker&&e&&(e=d-l,this.selectionMarker.attr({width:P(e),x:(e>0?0:e)+l}));this.selectionMarker&&f&&(e=a-m,this.selectionMarker.attr({height:P(e), -y:(e>0?0:e)+m}));k&&!this.selectionMarker&&c.panning&&b.pan(d)}},drop:function(a){var b=this.chart,c=this.hasPinched;if(this.selectionMarker){var d={xAxis:[],yAxis:[],originalEvent:a.originalEvent||a},e=this.selectionMarker,f=e.x,g=e.y,h;if(this.hasDragged||c)n(b.axes,function(a){if(a.zoomEnabled){var b=a.horiz,c=a.toValue(b?f:g),b=a.toValue(b?f+e.width:g+e.height);!isNaN(c)&&!isNaN(b)&&(d[a.xOrY+"Axis"].push({axis:a,min:I(c,b),max:u(c,b)}),h=!0)}}),h&&C(b,"selection",d,function(a){b.zoom(r(a,c?{animation:!1}: -null))});this.selectionMarker=this.selectionMarker.destroy();c&&this.scaleGroups()}if(b)M(b.container,{cursor:b._cursor}),b.cancelClick=this.hasDragged>10,b.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[]},onContainerMouseDown:function(a){a=this.normalize(a);a.preventDefault&&a.preventDefault();this.dragStart(a)},onDocumentMouseUp:function(a){this.drop(a)},onDocumentMouseMove:function(a){var b=this.chart,c=this.chartPosition,d=b.hoverSeries,a=Sb(a);c&&d&&d.isCartesian&&!b.isInsidePlot(a.pageX- -c.left-b.plotLeft,a.pageY-c.top-b.plotTop)&&this.reset()},onContainerMouseLeave:function(){this.reset();this.chartPosition=null},onContainerMouseMove:function(a){var b=this.chart,a=this.normalize(a);a.returnValue=!1;b.mouseIsDown==="mousedown"&&this.drag(a);b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)&&!b.openMenu&&this.runPointActions(a)},inClass:function(a,b){for(var c;a;){if(c=w(a,"class"))if(c.indexOf(b)!==-1)return!0;else if(c.indexOf("highcharts-container")!==-1)return!1;a=a.parentNode}}, -onTrackerMouseOut:function(a){var b=this.chart.hoverSeries;if(b&&!b.options.stickyTracking&&!this.inClass(a.toElement||a.relatedTarget,"highcharts-tooltip"))b.onMouseOut()},onContainerClick:function(a){var b=this.chart,c=b.hoverPoint,d=b.plotLeft,e=b.plotTop,f=b.inverted,g,h,i,a=this.normalize(a);a.cancelBubble=!0;if(!b.cancelClick)c&&this.inClass(a.target,"highcharts-tracker")?(g=this.chartPosition,h=c.plotX,i=c.plotY,r(c,{pageX:g.left+d+(f?b.plotWidth-i:h),pageY:g.top+e+(f?b.plotHeight-h:i)}),C(c.series, -"click",r(a,{point:c})),b.hoverPoint&&c.firePointEvent("click",a)):(r(a,this.getCoordinates(a)),b.isInsidePlot(a.chartX-d,a.chartY-e)&&C(b,"click",a))},onContainerTouchStart:function(a){var b=this.chart;a.touches.length===1?(a=this.normalize(a),b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)?(this.runPointActions(a),this.pinch(a)):this.reset()):a.touches.length===2&&this.pinch(a)},onContainerTouchMove:function(a){(a.touches.length===1||a.touches.length===2)&&this.pinch(a)},onDocumentTouchEnd:function(a){this.drop(a)}, -setDOMEvents:function(){var a=this,b=a.chart.container,c;this._events=c=[[b,"onmousedown","onContainerMouseDown"],[b,"onmousemove","onContainerMouseMove"],[b,"onclick","onContainerClick"],[b,"mouseleave","onContainerMouseLeave"],[z,"mousemove","onDocumentMouseMove"],[z,"mouseup","onDocumentMouseUp"]];hb&&c.push([b,"ontouchstart","onContainerTouchStart"],[b,"ontouchmove","onContainerTouchMove"],[z,"touchend","onDocumentTouchEnd"]);n(c,function(b){a["_"+b[2]]=function(c){a[b[2]](c)};b[1].indexOf("on")=== -0?b[0][b[1]]=a["_"+b[2]]:J(b[0],b[1],a["_"+b[2]])})},destroy:function(){var a=this;n(a._events,function(b){b[1].indexOf("on")===0?b[0][b[1]]=null:aa(b[0],b[1],a["_"+b[2]])});delete a._events;clearInterval(a.tooltipTimeout)}};wb.prototype={init:function(a,b){var c=this,d=b.itemStyle,e=p(b.padding,8),f=b.itemMarginTop||0;this.options=b;if(b.enabled)c.baseline=A(d.fontSize)+3+f,c.itemStyle=d,c.itemHiddenStyle=x(d,b.itemHiddenStyle),c.itemMarginTop=f,c.padding=e,c.initialItemX=e,c.initialItemY=e-5,c.maxItemWidth= -0,c.chart=a,c.itemHeight=0,c.lastLineHeight=0,c.render(),J(c.chart,"endResize",function(){c.positionCheckboxes()})},colorizeItem:function(a,b){var c=this.options,d=a.legendItem,e=a.legendLine,f=a.legendSymbol,g=this.itemHiddenStyle.color,c=b?c.itemStyle.color:g,h=b?a.color:g,g=a.options&&a.options.marker,i={stroke:h,fill:h},j;d&&d.css({fill:c,color:c});e&&e.attr({stroke:h});if(f){if(g&&f.isMarker)for(j in g=a.convertAttribs(g),g)d=g[j],d!==v&&(i[j]=d);f.attr(i)}},positionItem:function(a){var b=this.options, -c=b.symbolPadding,b=!b.rtl,d=a._legendItemPos,e=d[0],d=d[1],f=a.checkbox;a.legendGroup&&a.legendGroup.translate(b?e:this.legendWidth-e-2*c-4,d);if(f)f.x=e,f.y=d},destroyItem:function(a){var b=a.checkbox;n(["legendItem","legendLine","legendSymbol","legendGroup"],function(b){a[b]&&(a[b]=a[b].destroy())});b&&Ta(a.checkbox)},destroy:function(){var a=this.group,b=this.box;if(b)this.box=b.destroy();if(a)this.group=a.destroy()},positionCheckboxes:function(a){var b=this.group.alignAttr,c,d=this.clipHeight|| -this.legendHeight;if(b)c=b.translateY,n(this.allItems,function(e){var f=e.checkbox,g;f&&(g=c+f.y+(a||0)+3,M(f,{left:b.translateX+e.legendItemWidth+f.x-20+"px",top:g+"px",display:g>c-6&&g(o||c.chartWidth-2*k-s))b.itemX=s,b.itemY+=n+b.lastLineHeight+q,b.lastLineHeight=0;b.maxItemWidth=u(b.maxItemWidth,e);b.lastItemY=n+b.itemY+q;b.lastLineHeight=u(g,b.lastLineHeight);a._legendItemPos= -[b.itemX,b.itemY];f?b.itemX+=e:(b.itemY+=n+g+q,b.lastLineHeight=g);b.offsetWidth=o||u((f?b.itemX-s-l:e)+k,b.offsetWidth)},render:function(){var a=this,b=a.chart,c=b.renderer,d=a.group,e,f,g,h,i=a.box,j=a.options,k=a.padding,l=j.borderWidth,m=j.backgroundColor;a.itemX=a.initialItemX;a.itemY=a.initialItemY;a.offsetWidth=0;a.lastItemY=0;if(!d)a.group=d=c.g("legend").attr({zIndex:7}).add(),a.contentGroup=c.g().attr({zIndex:1}).add(d),a.scrollGroup=c.g().add(a.contentGroup);a.renderTitle();e=[];n(b.series, -function(a){var b=a.options;b.showInLegend&&!t(b.linkedTo)&&(e=e.concat(a.legendItems||(b.legendType==="point"?a.data:a)))});Kb(e,function(a,b){return(a.options&&a.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)});j.reversed&&e.reverse();a.allItems=e;a.display=f=!!e.length;n(e,function(b){a.renderItem(b)});g=j.width||a.offsetWidth;h=a.lastItemY+a.lastLineHeight+a.titleHeight;h=a.handleOverflow(h);if(l||m){g+=k;h+=k;if(i){if(g>0&&h>0)i[i.isNew?"attr":"animate"](i.crisp(null,null,null, -g,h)),i.isNew=!1}else a.box=i=c.rect(0,0,g,h,j.borderRadius,l||0).attr({stroke:j.borderColor,"stroke-width":l||0,fill:m||R}).add(d).shadow(j.shadow),i.isNew=!0;i[f?"show":"hide"]()}a.legendWidth=g;a.legendHeight=h;n(e,function(b){a.positionItem(b)});f&&d.align(r({width:g,height:h},j),!0,"spacingBox");b.isResizing||this.positionCheckboxes()},handleOverflow:function(a){var b=this,c=this.chart,d=c.renderer,e=this.options,f=e.y,f=c.spacingBox.height+(e.verticalAlign==="top"?-f:f)-this.padding,g=e.maxHeight, -h=this.clipRect,i=e.navigation,j=p(i.animation,!0),k=i.arrowSize||12,l=this.nav;e.layout==="horizontal"&&(f/=2);g&&(f=I(f,g));if(a>f&&!e.useHTML){this.clipHeight=c=f-20-this.titleHeight;this.pageCount=ja(a/c);this.currentPage=p(this.currentPage,1);this.fullHeight=a;if(!h)h=b.clipRect=d.clipRect(0,0,9999,0),b.contentGroup.clip(h);h.attr({height:c});if(!l)this.nav=l=d.g().attr({zIndex:1}).add(this.group),this.up=d.symbol("triangle",0,0,k,k).on("click",function(){b.scroll(-1,j)}).add(l),this.pager=d.text("", -15,10).css(i.style).add(l),this.down=d.symbol("triangle-down",0,0,k,k).on("click",function(){b.scroll(1,j)}).add(l);b.scroll(0);a=f}else if(l)h.attr({height:c.chartHeight}),l.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0;return a},scroll:function(a,b){var c=this.pageCount,d=this.currentPage+a,e=this.clipHeight,f=this.options.navigation,g=f.activeColor,h=f.inactiveColor,f=this.pager,i=this.padding;d>c&&(d=c);if(d>0)b!==v&&Ka(b,this.chart),this.nav.attr({translateX:i,translateY:e+7+ -this.titleHeight,visibility:"visible"}),this.up.attr({fill:d===1?h:g}).css({cursor:d===1?"default":"pointer"}),f.attr({text:d+"/"+this.pageCount}),this.down.attr({x:18+this.pager.getBBox().width,fill:d===c?h:g}).css({cursor:d===c?"default":"pointer"}),e=-I(e*(d-1),this.fullHeight-e+i)+1,this.scrollGroup.animate({translateY:e}),f.attr({text:d+"/"+c}),this.currentPage=d,this.positionCheckboxes(e)}};xb.prototype={init:function(a,b){var c,d=a.series;a.series=null;c=x(O,a);c.series=a.series=d;var d=c.chart, -e=d.margin,e=U(e)?e:[e,e,e,e];this.optionsMarginTop=p(d.marginTop,e[0]);this.optionsMarginRight=p(d.marginRight,e[1]);this.optionsMarginBottom=p(d.marginBottom,e[2]);this.optionsMarginLeft=p(d.marginLeft,e[3]);e=d.events;this.bounds={h:{},v:{}};this.callback=b;this.isResizing=0;this.options=c;this.axes=[];this.series=[];this.hasCartesianSeries=d.showAxes;var f=this,g;f.index=Ea.length;Ea.push(f);d.reflow!==!1&&J(f,"load",function(){f.initReflow()});if(e)for(g in e)J(f,g,e[g]);f.xAxis=[];f.yAxis=[]; -f.animation=Z?!1:p(d.animation,!0);f.pointCount=0;f.counters=new Jb;f.firstRender()},initSeries:function(a){var b=this.options.chart;(b=$[a.type||b.type||b.defaultSeriesType])||ua(17,!0);b=new b;b.init(this,a);return b},addSeries:function(a,b,c){var d,e=this;a&&(b=p(b,!0),C(e,"addSeries",{options:a},function(){d=e.initSeries(a);e.isDirtyLegend=!0;b&&e.redraw(c)}));return d},addAxis:function(a,b,c,d){var e=b?"xAxis":"yAxis",f=this.options;new db(this,x(a,{index:this[e].length,isX:b}));f[e]=ha(f[e]|| -{});f[e].push(a);p(c,!0)&&this.redraw(d)},isInsidePlot:function(a,b,c){var d=c?b:a,a=c?a:b;return d>=0&&d<=this.plotWidth&&a>=0&&a<=this.plotHeight},adjustTickAmounts:function(){this.options.chart.alignTicks!==!1&&n(this.axes,function(a){a.adjustTickAmount()});this.maxTicks=null},redraw:function(a){var b=this.axes,c=this.series,d=this.pointer,e=this.legend,f=this.isDirtyLegend,g,h,i=this.isDirtyBox,j=c.length,k=j,l=this.renderer,m=l.isHidden(),o=[];Ka(a,this);m&&this.cloneRenderTo();for(this.layOutTitles();k--;)if(a= -c[k],a.options.stacking&&(g=!0,a.isDirty)){h=!0;break}if(h)for(k=j;k--;)if(a=c[k],a.options.stacking)a.isDirty=!0;n(c,function(a){a.isDirty&&a.options.legendType==="point"&&(f=!0)});if(f&&e.options.enabled)e.render(),this.isDirtyLegend=!1;g&&this.getStacks();if(this.hasCartesianSeries){if(!this.isResizing)this.maxTicks=null,n(b,function(a){a.setScale()});this.adjustTickAmounts();this.getMargins();n(b,function(a){if(a.isDirtyExtremes)a.isDirtyExtremes=!1,o.push(function(){C(a,"afterSetExtremes",a.getExtremes())}); -if(a.isDirty||i||g)a.redraw(),i=!0})}i&&this.drawChartBox();n(c,function(a){a.isDirty&&a.visible&&(!a.isCartesian||a.xAxis)&&a.redraw()});d&&d.reset&&d.reset(!0);l.draw();C(this,"redraw");m&&this.cloneRenderTo(!0);n(o,function(a){a.call()})},showLoading:function(a){var b=this.options,c=this.loadingDiv,d=b.loading;if(!c)this.loadingDiv=c=T(Ba,{className:"highcharts-loading"},r(d.style,{zIndex:10,display:R}),this.container),this.loadingSpan=T("span",null,d.labelStyle,c);this.loadingSpan.innerHTML=a|| -b.lang.loading;if(!this.loadingShown)M(c,{opacity:0,display:"",left:this.plotLeft+"px",top:this.plotTop+"px",width:this.plotWidth+"px",height:this.plotHeight+"px"}),Ab(c,{opacity:d.style.opacity},{duration:d.showDuration||0}),this.loadingShown=!0},hideLoading:function(){var a=this.options,b=this.loadingDiv;b&&Ab(b,{opacity:0},{duration:a.loading.hideDuration||100,complete:function(){M(b,{display:R})}});this.loadingShown=!1},get:function(a){var b=this.axes,c=this.series,d,e;for(d=0;dI(e.dataMin,e.min)&&c=18&&a<=25&&(a=15);c&&(c.css({width:(d.width||f)+"px"}).align(r({y:a+e.margin},d),!1,"spacingBox"),!d.floating&&!d.verticalAlign&&(a=ja(a+c.getBBox().height)));this.titleOffset=a},getChartSize:function(){var a=this.options.chart,b=this.renderToClone||this.renderTo;this.containerWidth=ib(b,"width"); -this.containerHeight=ib(b,"height");this.chartWidth=u(0,a.width||this.containerWidth||600);this.chartHeight=u(0,p(a.height,this.containerHeight>19?this.containerHeight:400))},cloneRenderTo:function(a){var b=this.renderToClone,c=this.container;a?b&&(this.renderTo.appendChild(c),Ta(b),delete this.renderToClone):(c&&c.parentNode===this.renderTo&&this.renderTo.removeChild(c),this.renderToClone=b=this.renderTo.cloneNode(0),M(b,{position:"absolute",top:"-9999px",display:"block"}),z.body.appendChild(b), -c&&b.appendChild(c))},getContainer:function(){var a,b=this.options.chart,c,d,e;this.renderTo=a=b.renderTo;e="highcharts-"+yb++;if(da(a))this.renderTo=a=z.getElementById(a);a||ua(13,!0);c=A(w(a,"data-highcharts-chart"));!isNaN(c)&&Ea[c]&&Ea[c].destroy();w(a,"data-highcharts-chart",this.index);a.innerHTML="";a.offsetWidth||this.cloneRenderTo();this.getChartSize();c=this.chartWidth;d=this.chartHeight;this.container=a=T(Ba,{className:"highcharts-container"+(b.className?" "+b.className:""),id:e},r({position:"relative", -overflow:"hidden",width:c+"px",height:d+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},b.style),this.renderToClone||a);this._cursor=a.style.cursor;this.renderer=b.forExport?new Fa(a,c,d,!0):new Va(a,c,d);Z&&this.renderer.create(this,a,c,d)},getMargins:function(){var a=this.options.chart,b=a.spacingTop,c=a.spacingRight,d=a.spacingBottom,a=a.spacingLeft,e,f=this.legend,g=this.optionsMarginTop,h=this.optionsMarginLeft,i=this.optionsMarginRight,j=this.optionsMarginBottom, -k=this.options.legend,l=p(k.margin,10),m=k.x,o=k.y,q=k.align,s=k.verticalAlign,r=this.titleOffset;this.resetMargins();e=this.axisOffset;if(r&&!t(g))this.plotTop=u(this.plotTop,r+this.options.title.margin+b);if(f.display&&!k.floating)if(q==="right"){if(!t(i))this.marginRight=u(this.marginRight,f.legendWidth-m+l+c)}else if(q==="left"){if(!t(h))this.plotLeft=u(this.plotLeft,f.legendWidth+m+l+a)}else if(s==="top"){if(!t(g))this.plotTop=u(this.plotTop,f.legendHeight+o+l+b)}else if(s==="bottom"&&!t(j))this.marginBottom= -u(this.marginBottom,f.legendHeight-o+l+d);this.extraBottomMargin&&(this.marginBottom+=this.extraBottomMargin);this.extraTopMargin&&(this.plotTop+=this.extraTopMargin);this.hasCartesianSeries&&n(this.axes,function(a){a.getOffset()});t(h)||(this.plotLeft+=e[3]);t(g)||(this.plotTop+=e[0]);t(j)||(this.marginBottom+=e[2]);t(i)||(this.marginRight+=e[1]);this.setChartSize()},initReflow:function(){function a(a){var g=c.width||ib(d,"width"),h=c.height||ib(d,"height"),a=a?a.target:E;if(!b.hasUserSize&&g&&h&& -(a===E||a===z)){if(g!==b.containerWidth||h!==b.containerHeight)clearTimeout(e),b.reflowTimeout=e=setTimeout(function(){if(b.container)b.setSize(g,h,!1),b.hasUserSize=null},100);b.containerWidth=g;b.containerHeight=h}}var b=this,c=b.options.chart,d=b.renderTo,e;J(E,"resize",a);J(b,"destroy",function(){aa(E,"resize",a)})},setSize:function(a,b,c){var d=this,e,f,g;d.isResizing+=1;g=function(){d&&C(d,"endResize",null,function(){d.isResizing-=1})};Ka(c,d);d.oldChartHeight=d.chartHeight;d.oldChartWidth= -d.chartWidth;if(t(a))d.chartWidth=e=u(0,s(a)),d.hasUserSize=!!e;if(t(b))d.chartHeight=f=u(0,s(b));M(d.container,{width:e+"px",height:f+"px"});d.setChartSize(!0);d.renderer.setSize(e,f,c);d.maxTicks=null;n(d.axes,function(a){a.isDirty=!0;a.setScale()});n(d.series,function(a){a.isDirty=!0});d.isDirtyLegend=!0;d.isDirtyBox=!0;d.getMargins();d.redraw(c);d.oldChartHeight=null;C(d,"resize");Ca===!1?g():setTimeout(g,Ca&&Ca.duration||500)},setChartSize:function(a){var b=this.inverted,c=this.renderer,d=this.chartWidth, -e=this.chartHeight,f=this.options.chart,g=f.spacingTop,h=f.spacingRight,i=f.spacingBottom,j=f.spacingLeft,k=this.clipOffset,l,m,o,q;this.plotLeft=l=s(this.plotLeft);this.plotTop=m=s(this.plotTop);this.plotWidth=o=u(0,s(d-l-this.marginRight));this.plotHeight=q=u(0,s(e-m-this.marginBottom));this.plotSizeX=b?q:o;this.plotSizeY=b?o:q;this.plotBorderWidth=b=f.plotBorderWidth||0;this.spacingBox=c.spacingBox={x:j,y:g,width:d-j-h,height:e-g-i};this.plotBox=c.plotBox={x:l,y:m,width:o,height:q};c=ja(u(b,k[3])/ -2);d=ja(u(b,k[0])/2);this.clipBox={x:c,y:d,width:S(this.plotSizeX-u(b,k[1])/2-c),height:S(this.plotSizeY-u(b,k[2])/2-d)};a||n(this.axes,function(a){a.setAxisSize();a.setAxisTranslation()})},resetMargins:function(){var a=this.options.chart,b=a.spacingRight,c=a.spacingBottom,d=a.spacingLeft;this.plotTop=p(this.optionsMarginTop,a.spacingTop);this.marginRight=p(this.optionsMarginRight,b);this.marginBottom=p(this.optionsMarginBottom,c);this.plotLeft=p(this.optionsMarginLeft,d);this.axisOffset=[0,0,0,0]; -this.clipOffset=[0,0,0,0]},drawChartBox:function(){var a=this.options.chart,b=this.renderer,c=this.chartWidth,d=this.chartHeight,e=this.chartBackground,f=this.plotBackground,g=this.plotBorder,h=this.plotBGImage,i=a.borderWidth||0,j=a.backgroundColor,k=a.plotBackgroundColor,l=a.plotBackgroundImage,m=a.plotBorderWidth||0,o,q=this.plotLeft,p=this.plotTop,n=this.plotWidth,s=this.plotHeight,t=this.plotBox,u=this.clipRect,r=this.clipBox;o=i+(a.shadow?8:0);if(i||j)if(e)e.animate(e.crisp(null,null,null,c- -o,d-o));else{e={fill:j||R};if(i)e.stroke=a.borderColor,e["stroke-width"]=i;this.chartBackground=b.rect(o/2,o/2,c-o,d-o,a.borderRadius,i).attr(e).add().shadow(a.shadow)}if(k)f?f.animate(t):this.plotBackground=b.rect(q,p,n,s,0).attr({fill:k}).add().shadow(a.plotShadow);if(l)h?h.animate(t):this.plotBGImage=b.image(l,q,p,n,s).add();u?u.animate({width:r.width,height:r.height}):this.clipRect=b.clipRect(r);if(m)g?g.animate(g.crisp(null,q,p,n,s)):this.plotBorder=b.rect(q,p,n,s,0,m).attr({stroke:a.plotBorderColor, -"stroke-width":m,zIndex:1}).add();this.isDirtyBox=!1},propFromSeries:function(){var a=this,b=a.options.chart,c,d=a.options.series,e,f;n(["inverted","angular","polar"],function(g){c=$[b.type||b.defaultSeriesType];f=a[g]||b[g]||c&&c.prototype[g];for(e=d&&d.length;!f&&e--;)(c=$[d[e].type])&&c.prototype[g]&&(f=!0);a[g]=f})},render:function(){var a=this,b=a.axes,c=a.renderer,d=a.options,e=d.labels,f=d.credits,g;a.setTitle();a.legend=new wb(a,d.legend);a.getStacks();n(b,function(a){a.setScale()});a.getMargins(); -a.maxTicks=null;n(b,function(a){a.setTickPositions(!0);a.setMaxTicks()});a.adjustTickAmounts();a.getMargins();a.drawChartBox();a.hasCartesianSeries&&n(b,function(a){a.render()});if(!a.seriesGroup)a.seriesGroup=c.g("series-group").attr({zIndex:3}).add();n(a.series,function(a){a.translate();a.setTooltipPoints();a.render()});e.items&&n(e.items,function(b){var d=r(e.style,b.style),f=A(d.left)+a.plotLeft,g=A(d.top)+a.plotTop+12;delete d.left;delete d.top;c.text(b.html,f,g).attr({zIndex:2}).css(d).add()}); -if(f.enabled&&!a.credits)g=f.href,a.credits=c.text(f.text,0,0).on("click",function(){if(g)location.href=g}).attr({align:f.position.align,zIndex:8}).css(f.style).add().align(f.position);a.hasRendered=!0},destroy:function(){var a=this,b=a.axes,c=a.series,d=a.container,e,f=d&&d.parentNode;C(a,"destroy");Ea[a.index]=v;a.renderTo.removeAttribute("data-highcharts-chart");aa(a);for(e=b.length;e--;)b[e]=b[e].destroy();for(e=c.length;e--;)c[e]=c[e].destroy();n("title,subtitle,chartBackground,plotBackground,plotBGImage,plotBorder,seriesGroup,clipRect,credits,pointer,scroller,rangeSelector,legend,resetZoomButton,tooltip,renderer".split(","), -function(b){var c=a[b];c&&c.destroy&&(a[b]=c.destroy())});if(d)d.innerHTML="",aa(d),f&&Ta(d);for(e in a)delete a[e]},isReadyToRender:function(){var a=this;return!Y&&E==E.top&&z.readyState!=="complete"||Z&&!E.canvg?(Z?Ub.push(function(){a.firstRender()},a.options.global.canvasToolsURL):z.attachEvent("onreadystatechange",function(){z.detachEvent("onreadystatechange",a.firstRender);z.readyState==="complete"&&a.firstRender()}),!1):!0},firstRender:function(){var a=this,b=a.options,c=a.callback;if(a.isReadyToRender())a.getContainer(), -C(a,"init"),a.resetMargins(),a.setChartSize(),a.propFromSeries(),a.getAxes(),n(b.series||[],function(b){a.initSeries(b)}),C(a,"beforeRender"),a.pointer=new vb(a,b),a.render(),a.renderer.draw(),c&&c.apply(a,[a]),n(a.callbacks,function(b){b.apply(a,[a])}),a.cloneRenderTo(!0),C(a,"load")}};xb.prototype.callbacks=[];var Pa=function(){};Pa.prototype={init:function(a,b,c){this.series=a;this.applyOptions(b,c);this.pointAttr={};if(a.options.colorByPoint&&(b=a.options.colors||a.chart.options.colors,this.color= -this.color||b[a.colorCounter++],a.colorCounter===b.length))a.colorCounter=0;a.chart.pointCount++;return this},applyOptions:function(a,b){var c=this.series,d=c.pointValKey,a=Pa.prototype.optionsToObject.call(this,a);r(this,a);this.options=this.options?r(this.options,a):a;if(d)this.y=this[d];if(this.x===v&&c)this.x=b===v?c.autoIncrement():b;return this},optionsToObject:function(a){var b,c=this.series,d=c.pointArrayMap||["y"],e=d.length,f=0,g=0;if(typeof a==="number"||a===null)b={y:a};else if(Ha(a)){b= -{};if(a.length>e){c=typeof a[0];if(c==="string")b.name=a[0];else if(c==="number")b.x=a[0];f++}for(;ga+1&&b.push(d.slice(a+1,g)),a=g):g===e-1&&b.push(d.slice(a+1,g+1))});this.segments= -b},setOptions:function(a){var b=this.chart.options,c=b.plotOptions,d=c[this.type];this.userOptions=a;a=x(d,c.series,a);this.tooltipOptions=x(b.tooltip,a.tooltip);d.marker===null&&delete a.marker;return a},getColor:function(){var a=this.options,b=this.userOptions,c=this.chart.options.colors,d=this.chart.counters,e;e=a.color||X[this.type].color;if(!e&&!a.colorByPoint)t(b._colorIndex)?a=b._colorIndex:(b._colorIndex=d.color,a=d.color++),e=c[a];this.color=e;d.wrapColor(c.length)},getSymbol:function(){var a= -this.userOptions,b=this.options.marker,c=this.chart,d=c.options.symbols,c=c.counters;this.symbol=b.symbol;if(!this.symbol)t(a._symbolIndex)?a=a._symbolIndex:(a._symbolIndex=c.symbol,a=c.symbol++),this.symbol=d[a];if(/^url/.test(this.symbol))b.radius=0;c.wrapSymbol(d.length)},drawLegendSymbol:function(a){var b=this.options,c=b.marker,d=a.options,e;e=d.symbolWidth;var f=this.chart.renderer,g=this.legendGroup,a=a.baseline-s(f.fontMetrics(d.itemStyle.fontSize).b*0.3);if(b.lineWidth){d={"stroke-width":b.lineWidth}; -if(b.dashStyle)d.dashstyle=b.dashStyle;this.legendLine=f.path(["M",0,a,"L",e,a]).attr(d).add(g)}if(c&&c.enabled)b=c.radius,this.legendSymbol=e=f.symbol(this.symbol,e/2-b,a-b,2*b,2*b).add(g),e.isMarker=!0},addPoint:function(a,b,c,d){var e=this.options,f=this.data,g=this.graph,h=this.area,i=this.chart,j=this.xData,k=this.yData,l=this.zData,m=this.names,o=g&&g.shift||0,q=e.data;Ka(d,i);c&&n([g,h,this.graphNeg,this.areaNeg],function(a){if(a)a.shift=o+1});if(h)h.isArea=!0;b=p(b,!0);d={series:this};this.pointClass.prototype.applyOptions.apply(d, -[a]);j.push(d.x);k.push(this.toYData?this.toYData(d):d.y);l.push(d.z);if(m)m[d.x]=d.name;q.push(a);e.legendType==="point"&&this.generatePoints();c&&(f[0]&&f[0].remove?f[0].remove(!1):(f.shift(),j.shift(),k.shift(),l.shift(),q.shift()));this.isDirtyData=this.isDirty=!0;b&&(this.getAttribs(),i.redraw())},setData:function(a,b){var c=this.points,d=this.options,e=this.chart,f=null,g=this.xAxis,h=g&&g.categories&&!g.categories.length?[]:null,i;this.xIncrement=null;this.pointRange=g&&g.categories?1:d.pointRange; -this.colorCounter=0;var j=[],k=[],l=[],m=a?a.length:[];i=p(d.turboThreshold,1E3);var o=this.pointArrayMap,o=o&&o.length,q=!!this.toYData;if(i&&m>i){for(i=0;f===null&&ij||this.forceCrop))if(a=h.min,h=h.max,b[d-1]h)b=[],c=[];else if(b[0]h)e=this.cropData(this.xData,this.yData,a,h),b=e.xData,c=e.yData,e=e.start,f=!0;for(h=b.length-1;h>=0;h--)d=b[h]-b[h-1],d>0&&(g===v||d=c){f=u(0,h-1);break}for(;hd){g=h+1;break}return{xData:a.slice(f,g),yData:b.slice(f,g),start:f,end:g}},generatePoints:function(){var a=this.options.data,b=this.data,c,d=this.processedXData,e=this.processedYData,f=this.pointClass,g=d.length, -h=this.cropStart||0,i,j=this.hasGroupedData,k,l=[],m;if(!b&&!j)b=[],b.length=a.length,b=this.data=b;for(m=0;ml[n]&&!m)l[n]=p.total;else if(p.total0),l=this.getExtremesFromAll||this.cropped||(f[d+1]||l)>=k&&(f[d-1]||l)<=a,e&&l)if(e=c.length)for(;e--;)c[e]!==null&&(i[j++]=c[e]);else i[j++]= -c;m=p(m,Ia(i));o=p(o,ta(i))}this.dataMin=m;this.dataMax=o},translate:function(){this.processedXData||this.processData();this.generatePoints();for(var a=this.options,b=a.stacking,c=this.xAxis,d=c.categories,e=this.yAxis,f=this.points,g=f.length,h=!!this.modifyValue,i=a.pointPlacement,j=i==="between"||pa(i),k=a.threshold,a=0;a=0&&c<=d;)i[c++]=f}this.tooltipPoints=i}}, -tooltipHeaderFormatter:function(a){var b=this.tooltipOptions,c=b.xDateFormat,d=b.dateTimeLabelFormats,e=this.xAxis,f=e&&e.options.type==="datetime",b=b.headerFormat,e=e&&e.closestPointRange,g;if(f&&!c)if(e)for(g in y){if(y[g]>=e){c=d[g];break}}else c=d.day;f&&c&&pa(a.key)&&(b=b.replace("{point.key}","{point.key:"+c+"}"));return Aa(b,{point:a,series:this})},onMouseOver:function(){var a=this.chart,b=a.hoverSeries;if(b&&b!==this)b.onMouseOut();this.options.events.mouseOver&&C(this,"mouseOver");this.setState("hover"); -a.hoverSeries=this},onMouseOut:function(){var a=this.options,b=this.chart,c=b.tooltip,d=b.hoverPoint;if(d)d.onMouseOut();this&&a.events.mouseOut&&C(this,"mouseOut");c&&!a.stickyTracking&&(!c.shared||this.noSharedTooltip)&&c.hide();this.setState();b.hoverSeries=null},animate:function(a){var b=this,c=b.chart,d=c.renderer,e;e=b.options.animation;var f=c.clipBox,g=c.inverted,h;if(e&&!U(e))e=X[b.type].animation;h="_sharedClip"+e.duration+e.easing;if(a)a=c[h],e=c[h+"m"],a||(c[h]=a=d.clipRect(r(f,{width:0})), -c[h+"m"]=e=d.clipRect(-99,g?-c.plotLeft:-c.plotTop,99,g?c.chartWidth:c.chartHeight)),b.group.clip(a),b.markerGroup.clip(e),b.sharedClipKey=h;else{if(a=c[h])a.animate({width:c.plotSizeX},e),c[h+"m"].animate({width:c.plotSizeX+99},e);b.animate=null;b.animationTimeout=setTimeout(function(){b.afterAnimate()},e.duration)}},afterAnimate:function(){var a=this.chart,b=this.sharedClipKey,c=this.group;c&&this.options.clip!==!1&&(c.clip(a.clipRect),this.markerGroup.clip());setTimeout(function(){b&&a[b]&&(a[b]= -a[b].destroy(),a[b+"m"]=a[b+"m"].destroy())},100)},drawPoints:function(){var a,b=this.points,c=this.chart,d,e,f,g,h,i,j,k,l=this.options.marker,m,o=this.markerGroup;if(l.enabled||this._hasPointMarkers)for(f=b.length;f--;)if(g=b[f],d=S(g.plotX),e=g.plotY,k=g.graphic,i=g.marker||{},a=l.enabled&&i.enabled===v||i.enabled,m=c.isInsidePlot(s(d),e,c.inverted),a&&e!==v&&!isNaN(e)&&g.y!==null)if(a=g.pointAttr[g.selected?"select":""],h=a.r,i=p(i.symbol,this.symbol),j=i.indexOf("url")===0,k)k.attr({visibility:m? -Y?"inherit":"visible":"hidden"}).animate(r({x:d-h,y:e-h},k.symbolName?{width:2*h,height:2*h}:{}));else{if(m&&(h>0||j))g.graphic=c.renderer.symbol(i,d-h,e-h,2*h,2*h).attr(a).add(o)}else if(k)g.graphic=k.destroy()},convertAttribs:function(a,b,c,d){var e=this.pointAttrToOptions,f,g,h={},a=a||{},b=b||{},c=c||{},d=d||{};for(f in e)g=e[f],h[f]=p(a[g],b[f],c[f],d[f]);return h},getAttribs:function(){var a=this,b=a.options,c=X[a.type].marker?b.marker:b,d=c.states,e=d.hover,f,g=a.color,h={stroke:g,fill:g}, -i=a.points||[],j=[],k,l=a.pointAttrToOptions,m=b.negativeColor,o;b.marker?(e.radius=e.radius||c.radius+2,e.lineWidth=e.lineWidth||c.lineWidth+1):e.color=e.color||oa(e.color||g).brighten(e.brightness).get();j[""]=a.convertAttribs(c,h);n(["hover","select"],function(b){j[b]=a.convertAttribs(d[b],j[""])});a.pointAttr=j;for(g=i.length;g--;){h=i[g];if((c=h.options&&h.options.marker||h.options)&&c.enabled===!1)c.radius=0;if(h.negative&&m)h.color=h.fillColor=m;f=b.colorByPoint||h.color;if(h.options)for(o in l)t(c[l[o]])&& -(f=!0);if(f){c=c||{};k=[];d=c.states||{};f=d.hover=d.hover||{};if(!b.marker)f.color=oa(f.color||h.color).brighten(f.brightness||e.brightness).get();k[""]=a.convertAttribs(r({color:h.color},c),j[""]);k.hover=a.convertAttribs(d.hover,j.hover,k[""]);k.select=a.convertAttribs(d.select,j.select,k[""]);if(h.negative&&b.marker&&m)k[""].fill=k.hover.fill=k.select.fill=a.convertAttribs({fillColor:m}).fill}else k=j;h.pointAttr=k}},update:function(a,b){var c=this.chart,d=this.type,a=x(this.userOptions,{animation:!1, -index:this.index,pointStart:this.xData[0]},{data:this.options.data},a);this.remove(!1);r(this,$[a.type||d].prototype);this.init(c,a);p(b,!0)&&c.redraw(!1)},destroy:function(){var a=this,b=a.chart,c=/AppleWebKit\/533/.test(Da),d,e,f=a.data||[],g,h,i;C(a,"destroy");aa(a);n(["xAxis","yAxis"],function(b){if(i=a[b])fa(i.series,a),i.isDirty=i.forceRedraw=!0});a.legendItem&&a.chart.legend.destroyItem(a);for(e=f.length;e--;)(g=f[e])&&g.destroy&&g.destroy();a.points=null;clearTimeout(a.animationTimeout);n("area,graph,dataLabelsGroup,group,markerGroup,tracker,graphNeg,areaNeg,posClip,negClip".split(","), -function(b){a[b]&&(d=c&&b==="group"?"hide":"destroy",a[b][d]())});if(b.hoverSeries===a)b.hoverSeries=null;fa(b.series,a);for(h in a)delete a[h]},drawDataLabels:function(){var a=this,b=a.options.dataLabels,c=a.points,d,e,f,g;if(b.enabled||a._hasPointLabels)a.dlProcessOptions&&a.dlProcessOptions(b),g=a.plotGroup("dataLabelsGroup","data-labels",a.visible?"visible":"hidden",b.zIndex||6),e=b,n(c,function(c){var i,j=c.dataLabel,k,l,m=c.connector,o=!0;d=c.options&&c.options.dataLabels;i=e.enabled||d&&d.enabled; -if(j&&!i)c.dataLabel=j.destroy();else if(i){b=x(e,d);i=b.rotation;k=c.getLabelConfig();f=b.format?Aa(b.format,k):b.formatter.call(k,b);b.style.color=p(b.color,b.style.color,a.color,"black");if(j)if(t(f))j.attr({text:f}),o=!1;else{if(c.dataLabel=j=j.destroy(),m)c.connector=m.destroy()}else if(t(f)){j={fill:b.backgroundColor,stroke:b.borderColor,"stroke-width":b.borderWidth,r:b.borderRadius||0,rotation:i,padding:b.padding,zIndex:1};for(l in j)j[l]===v&&delete j[l];j=c.dataLabel=a.chart.renderer[i?"text": -"label"](f,0,-999,null,null,null,b.useHTML).attr(j).css(b.style).add(g).shadow(b.shadow)}j&&a.alignDataLabel(c,j,b,null,o)}})},alignDataLabel:function(a,b,c,d,e){var f=this.chart,g=f.inverted,h=p(a.plotX,-999),i=p(a.plotY,-999),a=b.getBBox(),d=r({x:g?f.plotWidth-i:h,y:s(g?f.plotHeight-h:i),width:0,height:0},d);r(c,{width:a.width,height:a.height});c.rotation?(d={align:c.align,x:d.x+c.x+d.width/2,y:d.y+c.y+d.height/2},b[e?"attr":"animate"](d)):(b.align(c,null,d),d=b.alignAttr);b.attr({visibility:c.crop=== -!1||f.isInsidePlot(d.x,d.y)&&f.isInsidePlot(d.x+a.width,d.y+a.height)?f.renderer.isSVG?"inherit":"visible":"hidden"})},getSegmentPath:function(a){var b=this,c=[],d=b.options.step;n(a,function(e,f){var g=e.plotX,h=e.plotY,i;b.getPointSpline?c.push.apply(c,b.getPointSpline(a,e,f)):(c.push(f?"L":"M"),d&&f&&(i=a[f-1],d==="right"?c.push(i.plotX,h):d==="center"?c.push((i.plotX+g)/2,i.plotY,(i.plotX+g)/2,h):c.push(g,i.plotY)),c.push(e.plotX,e.plotY))});return c},getGraphPath:function(){var a=this,b=[],c, -d=[];n(a.segments,function(e){c=a.getSegmentPath(e);e.length>1?b=b.concat(c):d.push(e[0])});a.singlePoints=d;return a.graphPath=b},drawGraph:function(){var a=this,b=this.options,c=[["graph",b.lineColor||this.color]],d=b.lineWidth,e=b.dashStyle,f=this.getGraphPath(),g=b.negativeColor;g&&c.push(["graphNeg",g]);n(c,function(c,g){var j=c[0],k=a[j];if(k)Wa(k),k.animate({d:f});else if(d&&f.length){k={stroke:c[1],"stroke-width":d,zIndex:1};if(e)k.dashstyle=e;a[j]=a.chart.renderer.path(f).attr(k).add(a.group).shadow(!g&& -b.shadow)}})},clipNeg:function(){var a=this.options,b=this.chart,c=b.renderer,d=a.negativeColor||a.negativeFillColor,e,f=this.graph,g=this.area,h=this.posClip,i=this.negClip;e=b.chartWidth;var j=b.chartHeight,k=u(e,j),l=this.yAxis;if(d&&(f||g)){d=s(l.toPixels(a.threshold||0,!0));a={x:0,y:0,width:k,height:d};k={x:0,y:d,width:k,height:k};if(b.inverted)a.height=k.y=b.plotWidth-d,c.isVML&&(a={x:b.plotWidth-d-b.plotLeft,y:0,width:e,height:j},k={x:d+b.plotLeft-e,y:0,width:b.plotLeft+d,height:e});l.reversed? -(b=k,e=a):(b=a,e=k);h?(h.animate(b),i.animate(e)):(this.posClip=h=c.clipRect(b),this.negClip=i=c.clipRect(e),f&&this.graphNeg&&(f.clip(h),this.graphNeg.clip(i)),g&&(g.clip(h),this.areaNeg.clip(i)))}},invertGroups:function(){function a(){var a={width:b.yAxis.len,height:b.xAxis.len};n(["group","markerGroup"],function(c){b[c]&&b[c].attr(a).invert()})}var b=this,c=b.chart;if(b.xAxis)J(c,"resize",a),J(b,"destroy",function(){aa(c,"resize",a)}),a(),b.invertGroups=a},plotGroup:function(a,b,c,d,e){var f=this[a], -g=!f;g&&(this[a]=f=this.chart.renderer.g(b).attr({visibility:c,zIndex:d||0.1}).add(e));f[g?"attr":"animate"](this.getPlotBox());return f},getPlotBox:function(){return{translateX:this.xAxis?this.xAxis.left:this.chart.plotLeft,translateY:this.yAxis?this.yAxis.top:this.chart.plotTop,scaleX:1,scaleY:1}},render:function(){var a=this.chart,b,c=this.options,d=c.animation&&!!this.animate&&a.renderer.isSVG,e=this.visible?"visible":"hidden",f=c.zIndex,g=this.hasRendered,h=a.seriesGroup;b=this.plotGroup("group", -"series",e,f,h);this.markerGroup=this.plotGroup("markerGroup","markers",e,f,h);d&&this.animate(!0);this.getAttribs();b.inverted=this.isCartesian?a.inverted:!1;this.drawGraph&&(this.drawGraph(),this.clipNeg());this.drawDataLabels();this.drawPoints();this.options.enableMouseTracking!==!1&&this.drawTracker();a.inverted&&this.invertGroups();c.clip!==!1&&!this.sharedClipKey&&!g&&b.clip(a.clipRect);d?this.animate():g||this.afterAnimate();this.isDirty=this.isDirtyData=!1;this.hasRendered=!0},redraw:function(){var a= -this.chart,b=this.isDirtyData,c=this.group,d=this.xAxis,e=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:p(d&&d.left,a.plotLeft),translateY:p(e&&e.top,a.plotTop)}));this.translate();this.setTooltipPoints(!0);this.render();b&&C(this,"updatedData")},setState:function(a){var b=this.options,c=this.graph,d=this.graphNeg,e=b.states,b=b.lineWidth,a=a||"";if(this.state!==a)this.state=a,e[a]&&e[a].enabled===!1||(a&&(b=e[a].lineWidth||b+1),c&&!c.dashstyle&& -(a={"stroke-width":b},c.attr(a),d&&d.attr(a)))},setVisible:function(a,b){var c=this,d=c.chart,e=c.legendItem,f,g=d.options.chart.ignoreHiddenSeries,h=c.visible;f=(c.visible=a=c.userOptions.visible=a===v?!h:a)?"show":"hide";n(["group","dataLabelsGroup","markerGroup","tracker"],function(a){if(c[a])c[a][f]()});if(d.hoverSeries===c)c.onMouseOut();e&&d.legend.colorizeItem(c,a);c.isDirty=!0;c.options.stacking&&n(d.series,function(a){if(a.options.stacking&&a.visible)a.isDirty=!0});n(c.linkedSeries,function(b){b.setVisible(a, -!1)});if(g)d.isDirtyBox=!0;b!==!1&&d.redraw();C(c,f)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(a){this.selected=a=a===v?!this.selected:a;if(this.checkbox)this.checkbox.checked=a;C(this,a?"select":"unselect")},drawTracker:function(){var a=this,b=a.options,c=b.trackByArea,d=[].concat(c?a.areaPath:a.graphPath),e=d.length,f=a.chart,g=f.pointer,h=f.renderer,i=f.options.tooltip.snap,j=a.tracker,k=b.cursor,k=k&&{cursor:k},l=a.singlePoints,m,o=function(){if(f.hoverSeries!== -a)a.onMouseOver()};if(e&&!c)for(m=e+1;m--;)d[m]==="M"&&d.splice(m+1,0,d[m+1]-i,d[m+2],"L"),(m&&d[m]==="M"||m===e)&&d.splice(m,0,"L",d[m-2]+i,d[m-1]);for(m=0;m=0;d--)da&&i>e?(i=u(a,e),k=2*e-i):ig&&k>e?(k=u(g,e),i=2*e-k):kf?l-f:e-(d.translate(b.y,0,1,0,1)<=e?f:0)));b.barX=m;b.pointWidth=g;b.shapeType="rect";b.shapeArgs=b=a.renderer.Element.prototype.crisp.call(0,c,m,o,h,k);c%2&&(b.y-=1,b.height+=1)})},getSymbol:xa,drawLegendSymbol:L.prototype.drawLegendSymbol,drawGraph:xa,drawPoints:function(){var a=this,b=a.options,c=a.chart.renderer, -d;n(a.points,function(e){var f=e.plotY,g=e.graphic;if(f!==v&&!isNaN(f)&&e.y!==null)d=e.shapeArgs,g?(Wa(g),g.animate(x(d))):e.graphic=c[e.shapeType](d).attr(e.pointAttr[e.selected?"select":""]).add(a.group).shadow(b.shadow,null,b.stacking&&!b.borderRadius);else if(g)e.graphic=g.destroy()})},drawTracker:function(){var a=this,b=a.chart,c=b.pointer,d=a.options.cursor,e=d&&{cursor:d},f=function(c){var d=c.target,e;if(b.hoverSeries!==a)a.onMouseOver();for(;d&&!e;)e=d.point,d=d.parentNode;if(e!==v&&e!== -b.hoverPoint)e.onMouseOver(c)};n(a.points,function(a){if(a.graphic)a.graphic.element.point=a;if(a.dataLabel)a.dataLabel.element.point=a});a._hasTracking?a._hasTracking=!0:n(a.trackerGroups,function(b){if(a[b]&&(a[b].addClass("highcharts-tracker").on("mouseover",f).on("mouseout",function(a){c.onTrackerMouseOut(a)}).css(e),hb))a[b].on("touchstart",f)})},alignDataLabel:function(a,b,c,d,e){var f=this.chart,g=f.inverted,h=a.dlBox||a.shapeArgs,i=a.below||a.plotY>p(this.translatedThreshold,f.plotSizeY), -j=p(c.inside,!!this.options.stacking);if(h&&(d=x(h),g&&(d={x:f.plotWidth-d.y-d.height,y:f.plotHeight-d.x-d.width,width:d.height,height:d.width}),!j))g?(d.x+=i?0:d.width,d.width=0):(d.y+=i?d.height:0,d.height=0);c.align=p(c.align,!g||j?"center":i?"right":"left");c.verticalAlign=p(c.verticalAlign,g||j?"middle":i?"top":"bottom");Q.prototype.alignDataLabel.call(this,a,b,c,d,e)},animate:function(a){var b=this.yAxis,c=this.options,d=this.chart.inverted,e={};if(Y)a?(e.scaleY=0.001,a=I(b.pos+b.len,u(b.pos, -b.toPixels(c.threshold))),d?e.translateX=a-b.len:e.translateY=a,this.group.attr(e)):(e.scaleY=1,e[d?"translateX":"translateY"]=b.pos,this.group.animate(e,this.options.animation),this.animate=null)},remove:function(){var a=this,b=a.chart;b.hasRendered&&n(b.series,function(b){if(b.type===a.type)b.isDirty=!0});Q.prototype.remove.apply(a,arguments)}});$.column=K;X.bar=x(X.column);la=ga(K,{type:"bar",inverted:!0});$.bar=la;X.scatter=x(W,{lineWidth:0,tooltip:{headerFormat:'{series.name}
', -pointFormat:"x: {point.x}
y: {point.y}
",followPointer:!0},stickyTracking:!1});la=ga(Q,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["markerGroup"],drawTracker:K.prototype.drawTracker,setTooltipPoints:xa});$.scatter=la;X.pie=x(W,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name}},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null, -showInLegend:!1,slicedOffset:10,states:{hover:{brightness:0.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}});W={type:"pie",isCartesian:!1,pointClass:ga(Pa,{init:function(){Pa.prototype.init.apply(this,arguments);var a=this,b;if(a.y<0)a.y=null;r(a,{visible:a.visible!==!1,name:p(a.name,"Slice")});b=function(b){a.slice(b.type==="select")};J(a,"select",b);J(a,"unselect",b);return a},setVisible:function(a){var b=this,c=b.series,d=c.chart,e;b.visible=b.options.visible=a=a===v?!b.visible:a;c.options.data[na(b, -c.data)]=b.options;e=a?"show":"hide";n(["graphic","dataLabel","connector","shadowGroup"],function(a){if(b[a])b[a][e]()});b.legendItem&&d.legend.colorizeItem(b,a);if(!c.isDirty&&c.options.ignoreHiddenPoint)c.isDirty=!0,d.redraw()},slice:function(a,b,c){var d=this.series;Ka(c,d.chart);p(b,!0);this.sliced=this.options.sliced=a=t(a)?a:!this.sliced;d.options.data[na(this,d.data)]=this.options;a=a?this.slicedTranslation:{translateX:0,translateY:0};this.graphic.animate(a);this.shadowGroup&&this.shadowGroup.animate(a)}}), -requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:xa,animate:function(a){var b=this,c=b.points,d=b.startAngleRad;if(!a)n(c,function(a){var c=a.graphic,a=a.shapeArgs;c&&(c.attr({r:b.center[3]/2,start:d,end:d}),c.animate({r:a.r,start:a.start,end:a.end},b.options.animation))}),b.animate=null},setData:function(a,b){Q.prototype.setData.call(this,a,!1);this.processData();this.generatePoints(); -p(b,!0)&&this.chart.redraw()},generatePoints:function(){var a,b=0,c,d,e,f=this.options.ignoreHiddenPoint;Q.prototype.generatePoints.call(this);c=this.points;d=c.length;for(a=0;a0.75*k&&(h-=2*Ma);n.slicedTranslation={translateX:s(V(h)*d),translateY:s(ba(h)*d)};f=V(h)*a[2]/2;g=ba(h)*a[2]/2;n.tooltipPos=[a[0]+f*0.7,a[1]+g*0.7];n.half=h0,r,w,v,x,A=[[],[]],z,y,G,H,B,C=[0,0,0,0],I=function(a,b){return b.y-a.y},M=function(a,b){a.sort(function(a,c){return a.angle!==void 0&&(c.angle-a.angle)*b})};if(a.visible&&(e.enabled||a._hasPointLabels)){Q.prototype.drawDataLabels.apply(a);n(b,function(a){a.dataLabel&& -A[a.half].push(a)});for(H=0;!x&&b[H];)x=b[H]&&b[H].dataLabel&&(b[H].dataLabel.getBBox().height||21),H++;for(H=2;H--;){var b=[],L=[],J=A[H],K=J.length,E;M(J,H-0.5);if(l>0){for(B=q-o-l;B<=q+o+l;B+=x)b.push(B);w=b.length;if(K>w){c=[].concat(J);c.sort(I);for(B=K;B--;)c[B].rank=B;for(B=K;B--;)J[B].rank>=w&&J.splice(B,1);K=J.length}for(B=0;B0){if(w=L.pop(),E=w.i,y=w.y,c>y&&b[E+1]!==null||ch-f&&(C[1]=u(s(z+w-h+f),C[1])),y- -x/2<0?C[0]=u(s(-y+x/2),C[0]):y+x/2>d&&(C[2]=u(s(y+x/2-d),C[2]))}}if(ta(C)===0||this.verifyDataLabelOverflow(C))this.placeDataLabels(),t&&g&&n(this.points,function(b){i=b.connector;v=b.labelPos;if((r=b.dataLabel)&&r._pos)G=r._attr.visibility,z=r.connX,y=r.connY,j=k?["M",z+(v[6]==="left"?5:-5),y,"C",z,y,2*v[2]-v[4],2*v[3]-v[5],v[2],v[3],"L",v[4],v[5]]:["M",z+(v[6]==="left"?5:-5),y,"L",v[2],v[3],"L",v[4],v[5]],i?(i.animate({d:j}),i.attr("visibility",G)):b.connector=i=a.chart.renderer.path(j).attr({"stroke-width":g, -stroke:e.connectorColor||b.color||"#606060",visibility:G}).add(a.group);else if(i)b.connector=i.destroy()})}},verifyDataLabelOverflow:function(a){var b=this.center,c=this.options,d=c.center,e=c=c.minSize||80,f;d[0]!==null?e=u(b[2]-u(a[1],a[3]),c):(e=u(b[2]-a[1]-a[3],c),b[0]+=(a[3]-a[1])/2);d[1]!==null?e=u(I(e,b[2]-u(a[0],a[2])),c):(e=u(I(e,b[2]-a[0]-a[2]),c),b[1]+=(a[0]-a[2])/2);e -Richard Worth -Yehuda Katz -Sean Catchpole -John Resig -Tane Piper -Dmitri Gaskin -Klaus Hartl -Stefan Petre -Gilles van den Hoven -Micheil Bryan Smith -Jörn Zaefferer -Marc Grabanski -Keith Wood -Brandon Aaron -Scott González -Eduardo Lundgren -Aaron Eisenberger -Joan Piedra -Bruno Basto -Remy Sharp -Bohdan Ganicky -David Bolter -Chi Cheng -Ca-Phun Ung -Ariel Flesler -Maggie Costello Wachs -Scott Jehl -Todd Parker -Andrew Powell -Brant Burnett -Douglas Neiner -Paul Irish -Ralph Whitbeck -Thibault Duplessis -Dominique Vincent -Jack Hsu -Adam Sontag -Carl Fürstenberg -Kevin Dalman -Alberto Fernández Capel -Jacek Jędrzejewski (http://jacek.jedrzejewski.name) -Ting Kuei -Samuel Cormier-Iijima -Jon Palmer -Ben Hollis -Justin MacCarthy -Eyal Kobrigo -Tiago Freire -Diego Tres -Holger Rüprich -Ziling Zhao -Mike Alsup -Robson Braga Araujo -Pierre-Henri Ausseil -Christopher McCulloh -Andrew Newcomb -Lim Chee Aun -Jorge Barreiro -Daniel Steigerwald -John Firebaugh -John Enters -Andrey Kapitcyn -Dmitry Petrov -Eric Hynds -Chairat Sunthornwiphat -Josh Varner -Stéphane Raimbault -Jay Merrifield -J. Ryan Stinnett -Peter Heiberg -Alex Dovenmuehle -Jamie Gegerson -Raymond Schwartz -Phillip Barnes -Kyle Wilkinson -Khaled AlHourani -Marian Rudzynski -Jean-Francois Remy -Doug Blood -Filippo Cavallarin -Heiko Henning -Aliaksandr Rahalevich -Mario Visic -Xavi Ramirez -Max Schnur -Saji Nediyanchath -Corey Frang -Aaron Peterson -Ivan Peters -Mohamed Cherif Bouchelaghem -Marcos Sousa -Michael DellaNoce -George Marshall -Tobias Brunner -Martin Solli -David Petersen -Dan Heberden -William Kevin Manire -Gilmore Davidson -Michael Wu -Adam Parod -Guillaume Gautreau -Marcel Toele -Dan Streetman -Matt Hoskins -Giovanni Giacobbi -Kyle Florence -Pavol Hluchý -Hans Hillen -Mark Johnson -Trey Hunner -Shane Whittet -Edward A Faulkner -Adam Baratz -Kato Kazuyoshi -Eike Send -Kris Borchers -Eddie Monge -Israel Tsadok -Carson McDonald -Jason Davies -Garrison Locke -David Murdoch -Benjamin Scott Boyle -Jesse Baird -Jonathan Vingiano -Dylan Just -Hiroshi Tomita -Glenn Goodrich -Tarafder Ashek-E-Elahi -Ryan Neufeld -Marc Neuwirth -Philip Graham -Benjamin Sterling -Wesley Walser -Kouhei Sutou -Karl Kirch -Chris Kelly -Jay Oster -Alexander Polomoshnov -David Leal -Igor Milla -Dave Methvin -Florian Gutmann -Marwan Al Jubeh -Milan Broum -Sebastian Sauer -Gaëtan Muller -Michel Weimerskirch -William Griffiths -Stojce Slavkovski -David Soms -David De Sloovere -Michael P. Jung -Shannon Pekary -Matthew Edward Hutton -James Khoury -Rob Loach -Alberto Monteiro -Alex Rhea -Krzysztof Rosiński -Ryan Olton -Genie <386@mail.com> -Rick Waldron -Ian Simpson -Lev Kitsis -TJ VanToll -Justin Domnitz -Douglas Cerna -Bert ter Heide -Jasvir Nagra -Petr Hromadko -Harri Kilpiö -Lado Lomidze -Amir E. Aharoni -Simon Sattes -Jo Liss -Guntupalli Karunakar -Shahyar Ghobadpour -Lukasz Lipinski -Timo Tijhof -Jason Moon -Martin Frost -Eneko Illarramendi -EungJun Yi -Courtland Allen -Viktar Varvanovich -Danny Trunk -Pavel Stetina -Michael Stay -Steven Roussey -Michael Hollis -Lee Rowlands -Timmy Willison -Karl Swedberg -Baoju Yuan -Maciej Mroziński -Luis Dalmolin -Mark Aaron Shirley -Martin Hoch -Jiayi Yang -Philipp Benjamin Köppchen -Sindre Sorhus -Bernhard Sirlinger -Jared A. Scheel -Rafael Xavier de Souza -John Chen -Dale Kocian -Mike Sherov -Andrew Couch -Marc-Andre Lafortune -Nate Eagle -David Souther -Mathias Stenbom -Sergey Kartashov -Avinash R -Ethan Romba -Cory Gackenheimer -Juan Pablo Kaniefsky -Roman Salnikov -Anika Henke -Samuel Bovée -Fabrício Matté -Viktor Kojouharov -Pawel Maruszczyk -Pavel Selitskas -Bjørn Johansen -Matthieu Penant -Dominic Barnes -David Sullivan -Thomas Jaggi -Vahid Sohrabloo -Travis Carden -Bruno M. Custódio -Nathanael Silverman -Christian Wenz -Steve Urmston -Zaven Muradyan -Woody Gilk -Zbigniew Motyka -Suhail Alkowaileet diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/Gruntfile.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/Gruntfile.js deleted file mode 100644 index 8e46848..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/Gruntfile.js +++ /dev/null @@ -1,378 +0,0 @@ -module.exports = function( grunt ) { - -"use strict"; - -var - // files - coreFiles = [ - "jquery.ui.core.js", - "jquery.ui.widget.js", - "jquery.ui.mouse.js", - "jquery.ui.draggable.js", - "jquery.ui.droppable.js", - "jquery.ui.resizable.js", - "jquery.ui.selectable.js", - "jquery.ui.sortable.js", - "jquery.ui.effect.js" - ], - - uiFiles = coreFiles.map(function( file ) { - return "ui/" + file; - }).concat( expandFiles( "ui/*.js" ).filter(function( file ) { - return coreFiles.indexOf( file.substring(3) ) === -1; - })), - - allI18nFiles = expandFiles( "ui/i18n/*.js" ), - - cssFiles = [ - "core", - "accordion", - "autocomplete", - "button", - "datepicker", - "dialog", - "menu", - "progressbar", - "resizable", - "selectable", - "slider", - "spinner", - "tabs", - "tooltip", - "theme" - ].map(function( component ) { - return "themes/base/jquery.ui." + component + ".css"; - }), - - // minified files - minify = { - options: { - preserveComments: false - }, - main: { - options: { - banner: createBanner( uiFiles ) - }, - files: { - "dist/jquery-ui.min.js": "dist/jquery-ui.js" - } - }, - i18n: { - options: { - banner: createBanner( allI18nFiles ) - }, - files: { - "dist/i18n/jquery-ui-i18n.min.js": "dist/i18n/jquery-ui-i18n.js" - } - } - }, - - minifyCSS = { - options: { - keepSpecialComments: 0 - }, - main: { - options: { - keepSpecialComments: "*" - }, - src: "dist/jquery-ui.css", - dest: "dist/jquery-ui.min.css" - } - }, - - compareFiles = { - all: [ - "dist/jquery-ui.js", - "dist/jquery-ui.min.js" - ] - }; - -function mapMinFile( file ) { - return "dist/" + file.replace( /\.js$/, ".min.js" ).replace( /ui\//, "minified/" ); -} - -function expandFiles( files ) { - return grunt.util._.pluck( grunt.file.expandMapping( files ), "src" ).map(function( values ) { - return values[ 0 ]; - }); -} - -uiFiles.concat( allI18nFiles ).forEach(function( file ) { - minify[ file ] = { - options: { - banner: createBanner() - }, - files: {} - }; - minify[ file ].files[ mapMinFile( file ) ] = file; -}); - -cssFiles.forEach(function( file ) { - minifyCSS[ file ] = { - options: { - banner: createBanner() - }, - src: file, - dest: "dist/" + file.replace( /\.css$/, ".min.css" ).replace( /themes\/base\//, "themes/base/minified/" ) - }; -}); - -uiFiles.forEach(function( file ) { - // TODO this doesn't do anything until https://github.com/rwldrn/grunt-compare-size/issues/13 - compareFiles[ file ] = [ file, mapMinFile( file ) ]; -}); - -// grunt plugins -grunt.loadNpmTasks( "grunt-contrib-jshint" ); -grunt.loadNpmTasks( "grunt-contrib-uglify" ); -grunt.loadNpmTasks( "grunt-contrib-concat" ); -grunt.loadNpmTasks( "grunt-contrib-qunit" ); -grunt.loadNpmTasks( "grunt-contrib-csslint" ); -grunt.loadNpmTasks( "grunt-contrib-cssmin" ); -grunt.loadNpmTasks( "grunt-html" ); -grunt.loadNpmTasks( "grunt-compare-size" ); -grunt.loadNpmTasks( "grunt-git-authors" ); -// local testswarm and build tasks -grunt.loadTasks( "build/tasks" ); - -function stripDirectory( file ) { - return file.replace( /.+\/(.+?)>?$/, "$1" ); -} - -function createBanner( files ) { - // strip folders - var fileNames = files && files.map( stripDirectory ); - return "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " + - "<%= grunt.template.today('isoDate') %>\n" + - "<%= pkg.homepage ? '* ' + pkg.homepage + '\\n' : '' %>" + - (files ? "* Includes: " + fileNames.join(", ") + "\n" : "")+ - "* Copyright <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>;" + - " Licensed <%= _.pluck(pkg.licenses, 'type').join(', ') %> */\n"; -} - -grunt.initConfig({ - pkg: grunt.file.readJSON("package.json"), - files: { - dist: "<%= pkg.name %>-<%= pkg.version %>", - cdn: "<%= pkg.name %>-<%= pkg.version %>-cdn", - themes: "<%= pkg.name %>-themes-<%= pkg.version %>" - }, - compare_size: compareFiles, - concat: { - ui: { - options: { - banner: createBanner( uiFiles ), - stripBanners: { - block: true - } - }, - src: uiFiles, - dest: "dist/jquery-ui.js" - }, - i18n: { - options: { - banner: createBanner( allI18nFiles ) - }, - src: allI18nFiles, - dest: "dist/i18n/jquery-ui-i18n.js" - }, - css: { - options: { - banner: createBanner( cssFiles ), - stripBanners: { - block: true - } - }, - src: cssFiles, - dest: "dist/jquery-ui.css" - } - }, - uglify: minify, - cssmin: minifyCSS, - htmllint: { - // ignore files that contain invalid html, used only for ajax content testing - all: grunt.file.expand( [ "demos/**/*.html", "tests/**/*.html" ] ).filter(function( file ) { - return !/(?:ajax\/content\d\.html|tabs\/data\/test\.html|tests\/unit\/core\/core\.html)/.test( file ); - }) - }, - copy: { - dist: { - src: [ - "AUTHORS.txt", - "jquery-*.js", - "MIT-LICENSE.txt", - "README.md", - "Gruntfile.js", - "package.json", - "*.jquery.json", - "ui/**/*", - "ui/.jshintrc", - "demos/**/*", - "themes/**/*", - "external/**/*", - "tests/**/*" - ], - renames: { - "dist/jquery-ui.js": "ui/jquery-ui.js", - "dist/jquery-ui.min.js": "ui/minified/jquery-ui.min.js", - "dist/i18n/jquery-ui-i18n.js": "ui/i18n/jquery-ui-i18n.js", - "dist/i18n/jquery-ui-i18n.min.js": "ui/minified/i18n/jquery-ui-i18n.min.js", - "dist/jquery-ui.css": "themes/base/jquery-ui.css", - "dist/jquery-ui.min.css": "themes/base/minified/jquery-ui.min.css" - }, - dest: "dist/<%= files.dist %>" - }, - dist_min: { - src: "dist/minified/**/*", - strip: /^dist/, - dest: "dist/<%= files.dist %>/ui" - }, - dist_css_min: { - src: "dist/themes/base/minified/*.css", - strip: /^dist/, - dest: "dist/<%= files.dist %>" - }, - dist_units_images: { - src: "themes/base/images/*", - strip: /^themes\/base\//, - dest: "dist/" - }, - dist_min_images: { - src: "themes/base/images/*", - strip: /^themes\/base\//, - dest: "dist/<%= files.dist %>/themes/base/minified" - }, - cdn: { - src: [ - "AUTHORS.txt", - "MIT-LICENSE.txt", - "ui/*.js", - "package.json" - ], - renames: { - "dist/jquery-ui.js": "jquery-ui.js", - "dist/jquery-ui.min.js": "jquery-ui.min.js", - "dist/i18n/jquery-ui-i18n.js": "i18n/jquery-ui-i18n.js", - "dist/i18n/jquery-ui-i18n.min.js": "i18n/jquery-ui-i18n.min.js" - }, - dest: "dist/<%= files.cdn %>" - }, - cdn_i18n: { - src: "ui/i18n/jquery.ui.datepicker-*.js", - strip: "ui/", - dest: "dist/<%= files.cdn %>" - }, - cdn_i18n_min: { - src: "dist/minified/i18n/jquery.ui.datepicker-*.js", - strip: "dist/minified", - dest: "dist/<%= files.cdn %>" - }, - cdn_min: { - src: "dist/minified/*.js", - strip: /^dist\/minified/, - dest: "dist/<%= files.cdn %>/ui" - }, - cdn_themes: { - src: "dist/<%= files.themes %>/themes/**/*", - strip: "dist/<%= files.themes %>", - dest: "dist/<%= files.cdn %>" - }, - themes: { - src: [ - "AUTHORS.txt", - "MIT-LICENSE.txt", - "package.json" - ], - dest: "dist/<%= files.themes %>" - } - }, - zip: { - dist: { - src: "<%= files.dist %>", - dest: "<%= files.dist %>.zip" - }, - cdn: { - src: "<%= files.cdn %>", - dest: "<%= files.cdn %>.zip" - }, - themes: { - src: "<%= files.themes %>", - dest: "<%= files.themes %>.zip" - } - }, - md5: { - dist: { - src: "dist/<%= files.dist %>", - dest: "dist/<%= files.dist %>/MANIFEST" - }, - cdn: { - src: "dist/<%= files.cdn %>", - dest: "dist/<%= files.cdn %>/MANIFEST" - }, - themes: { - src: "dist/<%= files.themes %>", - dest: "dist/<%= files.themes %>/MANIFEST" - } - }, - qunit: { - files: expandFiles( "tests/unit/**/*.html" ).filter(function( file ) { - // disabling everything that doesn't (quite) work with PhantomJS for now - // TODO except for all|index|test, try to include more as we go - return !( /(all|index|test|dialog|dialog_deprecated|tabs|tooltip)\.html$/ ).test( file ); - }) - }, - jshint: { - ui: { - options: { - jshintrc: "ui/.jshintrc" - }, - files: { - src: "ui/*.js" - } - }, - grunt: { - options: { - jshintrc: ".jshintrc" - }, - files: { - src: [ "Gruntfile.js", "build/**/*.js" ] - } - }, - tests: { - options: { - jshintrc: "tests/.jshintrc" - }, - files: { - src: "tests/unit/**/*.js" - } - } - }, - csslint: { - base_theme: { - src: "themes/base/*.css", - options: { - "adjoining-classes": false, - "box-model": false, - "compatible-vendor-prefixes": false, - "duplicate-background-images": false, - "import": false, - "important": false, - "outline-none": false, - "overqualified-elements": false, - "text-indent": false - } - } - } -}); - -grunt.registerTask( "default", [ "lint", "test" ] ); -grunt.registerTask( "lint", [ "jshint", "csslint", "htmllint" ] ); -grunt.registerTask( "test", [ "qunit" ] ); -grunt.registerTask( "sizer", [ "concat:ui", "uglify:main", "compare_size:all" ] ); -grunt.registerTask( "sizer_all", [ "concat:ui", "uglify", "compare_size" ] ); -grunt.registerTask( "build", [ "concat", "uglify", "cssmin", "copy:dist_units_images" ] ); -grunt.registerTask( "release", "clean build copy:dist copy:dist_min copy:dist_min_images copy:dist_css_min md5:dist zip:dist".split( " " ) ); -grunt.registerTask( "release_themes", "release generate_themes copy:themes md5:themes zip:themes".split( " " ) ); -grunt.registerTask( "release_cdn", "release_themes copy:cdn copy:cdn_min copy:cdn_i18n copy:cdn_i18n_min copy:cdn_themes md5:cdn zip:cdn".split( " " ) ); - -}; diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/MANIFEST b/97suifangqa/apps/indicator/static/plugins/jquery-ui/MANIFEST deleted file mode 100644 index 405ab45..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/MANIFEST +++ /dev/null @@ -1,732 +0,0 @@ -AUTHORS.txt f47bccae9c4d26019bfad575b1838093 -Gruntfile.js e850129b7c4af9015c2c4250bc5c7fba -MIT-LICENSE.txt 54ab1578b1fe12a7dcae71b4c14ee4a8 -README.md badcd66248097732420a1f805ccc4691 -demos/accordion/collapsible.html 89befdac36f9f19f5469b0ce944008c1 -demos/accordion/custom-icons.html 3c98f1da58e313963e4d5ce996b7b31d -demos/accordion/default.html c7c68a65ee1355e073aef5bc3561e943 -demos/accordion/fillspace.html dd71fbefb0e4c685613afb5c3d4c9100 -demos/accordion/hoverintent.html 2be7277bb6462d326d21993191b010e0 -demos/accordion/index.html 7ba8142840cf4ac7d848309cd3853ad1 -demos/accordion/no-auto-height.html a530470787c8d1d0dafaa38723d76631 -demos/accordion/sortable.html 90bdb3e59d2e334b832d1e0bfc797df1 -demos/addClass/default.html 31b90cd812146e4ad1181661d13cc592 -demos/addClass/index.html 1ecebffae58a5a73527c4376635669f2 -demos/animate/default.html 1e2d9652ef6bdb3cb0f6d40f93229012 -demos/animate/index.html 1ecebffae58a5a73527c4376635669f2 -demos/autocomplete/categories.html ccb8e4cd35d5366b8c6ab65f6ed68d6c -demos/autocomplete/combobox.html 92a2ba497f1e4664e9b77604c2ff5b8d -demos/autocomplete/custom-data.html 1feafe2307837291862d72a3a67b5818 -demos/autocomplete/default.html 69ce86f2d629848ead673d483d39bea0 -demos/autocomplete/folding.html e9addc7edfee65aef384e5d3bc1ebd65 -demos/autocomplete/images/jquery_32x32.png 63b85354622b940ba1252cb946a1dfe1 -demos/autocomplete/images/jqueryui_32x32.png b5907552b610ac23f514760d3e30db78 -demos/autocomplete/images/sizzlejs_32x32.png 290e264d5641f5e22cf7eb4477e9d5c8 -demos/autocomplete/images/transparent_1x1.png 5612a775b711def5af3b0ace26436983 -demos/autocomplete/images/ui-anim_basic_16x16.gif 0ea023ac2a49a96c925c7751119aa343 -demos/autocomplete/index.html 5a4790606b9ee69afc05abed0efd87aa -demos/autocomplete/london.xml 71b873703620337cee79d7bd7d637b23 -demos/autocomplete/maxheight.html 59afdf20927ac2003de75d5208adaa41 -demos/autocomplete/multiple-remote.html e3be5b379837cd38b6488948d237e69b -demos/autocomplete/multiple.html 7bb5fed44fad021d440d57e7a232147b -demos/autocomplete/remote-jsonp.html c2a52dd0d6359ff26990872b47741da0 -demos/autocomplete/remote-with-cache.html 7547830179ccef0fda8b5944401d380e -demos/autocomplete/remote.html ba89ee9857c3f547fc4be27ecaacbaf1 -demos/autocomplete/search.php e50d30ac4ff4d87fa0b76863ab2cd131 -demos/autocomplete/xml.html 4d17a155ba3b9e420681619be6f35e84 -demos/button/checkbox.html bccc88c3c83fe2477141a0f30472fcd0 -demos/button/default.html b3535860453eb7f703403479132197a9 -demos/button/icons.html 467323ddf30e59aa72ed197ea11d55f7 -demos/button/index.html e1d150eeb2b171caed125974510bfe74 -demos/button/radio.html 472470a0a8a5ef17f9a4b75a5987ab8c -demos/button/splitbutton.html 266b1263689345a4a6bc6a035608347f -demos/button/toolbar.html 501b414b21f627b9ae8f521e9081af54 -demos/datepicker/alt-field.html 1c22e68ae68ed999456aeb8f6cce73b9 -demos/datepicker/animation.html 2894d995e15db143a544e52c194234aa -demos/datepicker/buttonbar.html 85c9d98139d449c2e461b0bbfb0758ba -demos/datepicker/date-formats.html 91565f57e041dd2ac34d38a4763d74b4 -demos/datepicker/date-range.html 068519f224f8e23832523c555619e35b -demos/datepicker/default.html a7194d0acdc6d19091ee30e2886daa3e -demos/datepicker/dropdown-month-year.html 6736ab64b39f8cf4c22fe4e7e477c97a -demos/datepicker/icon-trigger.html c2731335be819c5d3382e5da0dac236c -demos/datepicker/images/calendar.gif ecae0392680875218dde6eec7ba713ae -demos/datepicker/index.html 31141303fd50342ce57a275f51f1799b -demos/datepicker/inline.html 9b0ebc3ad329015fd82dd3e5b1a166f9 -demos/datepicker/jquery.ui.datepicker-ar.js 942eaa8e2a371c9858a75e3f58ac27c0 -demos/datepicker/jquery.ui.datepicker-fr.js 74ff0c1602ce756629885acbd13680b8 -demos/datepicker/jquery.ui.datepicker-he.js a791d8f0ac08b0d2876bcd21e029d39a -demos/datepicker/jquery.ui.datepicker-zh-TW.js 443e52a6fae355caecbd60e63b5c72d3 -demos/datepicker/localization.html 7181b769d214884d71ae99fb361aa5cd -demos/datepicker/min-max.html f2220313321789e0c08902383f2ddcbc -demos/datepicker/multiple-calendars.html f05978aef245ea2375d0325c7f921579 -demos/datepicker/other-months.html 8cdb9f0b290bc78e0149a2c978f35289 -demos/datepicker/show-week.html 8727aebd5140067e4908a957939280a8 -demos/demos.css c7fc917de57fba6b610ad6191fc1a28a -demos/dialog/animated.html eab0821066fa39b8124c6bfcd436ca2d -demos/dialog/default.html 6425b0222244c3ca125046582884ff4c -demos/dialog/index.html 204169799ab0d5b7ec5fd0bb7515c3b0 -demos/dialog/modal-confirmation.html 72aca56bbb744f6169627f9f8a0ab5ab -demos/dialog/modal-form.html d2e20ace33771496253f8d995c3ad730 -demos/dialog/modal-message.html 20735ccf826f5ef0372637c27f68e083 -demos/dialog/modal.html ab42ad37046389236485db0606a8d61a -demos/draggable/constrain-movement.html ce7170e440c4588112f2ba29c3ebc664 -demos/draggable/cursor-style.html f89f677fe5cda695fcabdd2d9ba7b920 -demos/draggable/default.html 08ca2bf3e75e267a07615af4e1550687 -demos/draggable/delay-start.html 7fe3dd7aaa618b2f2c470ee83ccadfd7 -demos/draggable/events.html 6b0f92486cfc0f24cc0fc9c921f709d5 -demos/draggable/handle.html 3ca2502a72bc697b945814631eeb2c1e -demos/draggable/index.html 76f8ebe28a28f6fe060ea5ca437fc6cb -demos/draggable/revert.html 4c6ebed5ef4eb98f5f4abccc82a39349 -demos/draggable/scroll.html 462ed4bf66de7bfd862a61ff53b60f82 -demos/draggable/snap-to.html 5d339165af453845093a1228cb0bff6a -demos/draggable/sortable.html 3c7db46e7618ddd436bb40c08f0ae13d -demos/draggable/visual-feedback.html a88512371b46d67ff25330c81a6545b4 -demos/droppable/accepted-elements.html a3f00eaf2639c91f675805839f2fd096 -demos/droppable/default.html 463a745ce50e2268e79c38bd1a4ab6af -demos/droppable/images/high_tatras.jpg 969449984d601e92df0e0521fe0adcda -demos/droppable/images/high_tatras2.jpg 05ab2eefd3ce77a097fe968ecfa79db6 -demos/droppable/images/high_tatras2_min.jpg c81066bcfa835d52a4d9c0daa5a2448e -demos/droppable/images/high_tatras3.jpg 75829fca8936aeb8ac8934cfc6d96d47 -demos/droppable/images/high_tatras3_min.jpg 2211533e3e3e7a0e5b9cd4a1b000da25 -demos/droppable/images/high_tatras4.jpg 2f9736c9afa012359026ba5c4b382e30 -demos/droppable/images/high_tatras4_min.jpg c2e09f1983e9ffb318c773892735a81f -demos/droppable/images/high_tatras_min.jpg 5ce7c7cf7fb648d44350ff612d07caa2 -demos/droppable/index.html f236a2f25273c8e86d85eea26d2c2641 -demos/droppable/photo-manager.html 1fa98003982c128f550aecbf35cd5f40 -demos/droppable/propagation.html 52ed26c40b7f2eea49dc34ebdfde0ba2 -demos/droppable/revert.html 162215ee5d0d237a42463935fe602598 -demos/droppable/shopping-cart.html f35b89e3414590aaf2242c1016884d21 -demos/droppable/visual-feedback.html 28854d434d67ffd10e9daf9b522a92a0 -demos/effect/default.html 5bda8dd72829602136ad9411c01e7234 -demos/effect/easing.html 095a64cb8aef470d13cf1a5f1910f71b -demos/effect/index.html 7670272a705926230cfcb3d53c37f69e -demos/hide/default.html b017919650d707818a4b198496505390 -demos/hide/index.html 1ecebffae58a5a73527c4376635669f2 -demos/images/calendar.gif ecae0392680875218dde6eec7ba713ae -demos/images/demo-config-on-tile.gif 53a1e40835829322d93d32d3772e7e37 -demos/images/demo-config-on.gif bbbfaec5d74cbf00d14d7e37c6a729d8 -demos/images/demo-spindown-closed.gif 3df09cf39f5ac14679a6b1e76e104059 -demos/images/demo-spindown-open.gif 205c7b92a32e9a07dee036d4b07fb7ff -demos/images/icon-docs-info.gif bef5580a53a2ba7465a2a385022f670a -demos/images/pbar-ani.gif 6958801266c8f025fe28a928ba6cd992 -demos/index.html ea28419d5769b2115f79bfd4243bc83e -demos/menu/default.html 266465186a79faa78b740ce89df724dc -demos/menu/icons.html 83e914c105c58ef7f8e498bdfd293143 -demos/menu/index.html aba072191ea6e4f6a64da313995a6e94 -demos/position/cycler.html 51da38ded2b4f547aa859319a9281d55 -demos/position/default.html 99e29131d68b02a47cc80791922b7817 -demos/position/images/earth.jpg 3b925e0b109f9d4d383c76eccf495b53 -demos/position/images/flight.jpg fdcad09a5015ecdfe0355a8cfb345dd5 -demos/position/images/rocket.jpg 775634773fa6564afd8257e8180c43e0 -demos/position/index.html e76ea712f8894fd122cbd53c7a97fa8f -demos/progressbar/default.html bfd217f6a2142f13294768bf72a8a9e1 -demos/progressbar/images/pbar-ani.gif 6958801266c8f025fe28a928ba6cd992 -demos/progressbar/indeterminate.html 55bb8a985d5bbf1678cb6c27475b8c9a -demos/progressbar/index.html 4b63914f473c93a3e11ae8235eeb6ba1 -demos/progressbar/label.html 3c4067756fbb1b2fe6f72788e8833658 -demos/removeClass/default.html a3edf2cfd74306f32805065ba240ffd3 -demos/removeClass/index.html 1ecebffae58a5a73527c4376635669f2 -demos/resizable/animate.html c1275b8ae000bf0c06c08681518efd0f -demos/resizable/aspect-ratio.html 432acb92248e050ab2b1104317ae0a4c -demos/resizable/constrain-area.html 65515b619b4fb052af5af36ffca9d9d5 -demos/resizable/default.html 267c4ebbae35aff76761f12d5edadddd -demos/resizable/delay-start.html 039cc6f5996e4d208a18d4b16e6e0098 -demos/resizable/helper.html cbb2603c5e2f648af505628539348a62 -demos/resizable/index.html 4e91089b11d4dc09aa0e70ceb5320a4b -demos/resizable/max-min.html 8895df64a3ab0ad39aeeb1709433b300 -demos/resizable/snap-to-grid.html 04d03732aee9623092a949559a5c973c -demos/resizable/synchronous-resize.html dbf018c7723a41f2f68e98236cfc41f6 -demos/resizable/textarea.html 3e80aec847ddfa6cd3df1eed3ee10414 -demos/resizable/visual-feedback.html 00386bfa01c129f5ced8494fa899d62d -demos/selectable/default.html 3563fd88dc357028d9b52d9afc6f13e9 -demos/selectable/display-grid.html 3c2125fa2422703944b03630477f5f79 -demos/selectable/index.html daf7df35e4ed02fb093e92a1a95e63af -demos/selectable/serialize.html a612ec855c6aa78971350cd3f1d54332 -demos/show/default.html 36f7b7cbf8eacdbb48d87e743973ab67 -demos/show/index.html 1ecebffae58a5a73527c4376635669f2 -demos/slider/colorpicker.html 6f773ae54a78c66a6bcafbdf55c38a4b -demos/slider/default.html 4c84f13083903df5f46d971ebedd15d2 -demos/slider/hotelrooms.html ff1de2c2fc3a35cddc1a574364e70066 -demos/slider/index.html 91c70e693a9748b67102ae54e3251773 -demos/slider/multiple-vertical.html 6420876e84d50835d49989f72722333a -demos/slider/range-vertical.html 02bab970c613a24d3a5b4cb515a201cc -demos/slider/range.html fa6d770b6da18ebfa6ddbb502c0a28d7 -demos/slider/rangemax.html 4cf4ad940665e7f39ebce972c2ec9857 -demos/slider/rangemin.html eebd6337af71bcf3f2b01b8504bf2c31 -demos/slider/side-scroll.html 21020e573185b5290711e22d40c2919e -demos/slider/slider-vertical.html 8fd7dc3eb8203379c85d544250dba8c7 -demos/slider/steps.html 0af949dcc37a79dbf7af5f5be6fe1e61 -demos/sortable/connect-lists-through-tabs.html d0613fe3b0b0f4787b09aa2b7114a93f -demos/sortable/connect-lists.html 44f1cca02907df5a60a2120e46f3726d -demos/sortable/default.html a86a60a93af2f7398934db050f56803a -demos/sortable/delay-start.html 2a21b71003cf8141ecf3e0bbf6903048 -demos/sortable/display-grid.html 6762d264b8328285795cb191650a5e44 -demos/sortable/empty-lists.html 2e82590e8069fd779fc34793bb3757b6 -demos/sortable/index.html a68a64aecfd8ade1134982578d8a4855 -demos/sortable/items.html 275aaac61433b254f39731b5042e172e -demos/sortable/placeholder.html e5d1cd62ff3ebb5bbea4faf415c51027 -demos/sortable/portlets.html c3383c81ee00229485fa3dc044ea23c6 -demos/spinner/currency.html e19fd3519f8aea2d7fbaf5b0078c3406 -demos/spinner/decimal.html 7f9b0d39b8cabe77ca7ae6f84bbd4ab2 -demos/spinner/default.html 9be0d72544e96907850010aad8cd9750 -demos/spinner/index.html 44a4e022747a656aa42e615847452235 -demos/spinner/latlong.html bf9739604cd7781e85a9e2a2be2f26ce -demos/spinner/overflow.html 38feadd133ac7d8f82c04fe572e1533c -demos/spinner/time.html 491b0a111bece7a834e0bce9f42ccac6 -demos/switchClass/default.html 01282041834807f81440b5970c3ec37a -demos/switchClass/index.html 1ecebffae58a5a73527c4376635669f2 -demos/tabs/ajax.html bcbded18824ecccf40563a02df2f7a95 -demos/tabs/ajax/content1.html a057a52c505c537a9db040a84d25e640 -demos/tabs/ajax/content2.html 1289bb96e74c38ed0f6c68507a41aec6 -demos/tabs/ajax/content3-slow.php 1184ec5ad3b1bf81eb5f19cb6a233daa -demos/tabs/ajax/content4-broken.php feb9562749e8ae1d0408c257ca44b6e5 -demos/tabs/bottom.html 237ca7c0700e402792352edc86703c27 -demos/tabs/collapsible.html b5374183ecef2dbe0c90a68dfb133312 -demos/tabs/default.html bd533ed7c9bd72c5282f6829fd3df218 -demos/tabs/index.html 0c5de49104cbcaa52b4541c4e3ec1069 -demos/tabs/manipulation.html a0abdde9bca185505cad2bd1607c1141 -demos/tabs/mouseover.html cb7b7756603f43fa943b428c48b50ec9 -demos/tabs/sortable.html 31a3b947d0d9f0c5003d41c12220be1e -demos/tabs/vertical.html a31b69f6cc78661c9c15f4a19a515385 -demos/toggle/default.html 86b2e440bfebb230448a1eb0ec2fdc97 -demos/toggle/index.html 1ecebffae58a5a73527c4376635669f2 -demos/toggleClass/default.html df414a009c479ce2f12f9c0dfb668ac7 -demos/toggleClass/index.html 1ecebffae58a5a73527c4376635669f2 -demos/tooltip/ajax/content1.html 12a3151f0923a1b6289e8ab1a348eee2 -demos/tooltip/ajax/content2.html afd4c4907b88dfa728d7d0773f348d31 -demos/tooltip/custom-animation.html 015f241a590da9f9330d7dab194cd720 -demos/tooltip/custom-content.html 640a20172a870a7e0daf7bdf0de6291e -demos/tooltip/custom-style.html 6746ba919b5f2bbfb64a19b1ee3172a8 -demos/tooltip/default.html b36baf45c65ba84b1026c3423465b765 -demos/tooltip/forms.html 275e70a5a647d393cd05c0eea1e3fd67 -demos/tooltip/images/st-stephens.jpg 753aec4fa1c8c80bec3732ebf454a632 -demos/tooltip/images/tower-bridge.jpg 66d36bf9a4ea5baf6a717e5b0ca06c40 -demos/tooltip/index.html cdf3b5b7616d24ef087adcc7f05700da -demos/tooltip/tracking.html e4bf9836c8a695bf9cf89f628020cb33 -demos/tooltip/video-player.html 2f2e3c9370e389202f477f768db2e5a7 -demos/widget/default.html aa8edb8878d8ce1fa408c585d8d8b4f2 -demos/widget/index.html dbd594416083998b2ba3462b64b96aae -external/globalize.culture.de-DE.js 7ca47099bde44c5c647b9ee859d38418 -external/globalize.culture.ja-JP.js 0f4692b553b5ae2d9d5c6698e91664cc -external/globalize.js 8aa0b2b9858380f3f8f1d5c648fc02c2 -external/jquery.mousewheel.js 99457f3dc7082452b9fdc702b3dfcbaf -external/jshint.js e25340f0196f65135f50877c0fe6efe2 -external/qunit.css 37687050b4af752017145c24bfd9c2f4 -external/qunit.js c88d05352e715c460e26f5db688c1d13 -jquery-1.9.1.js 08c235d357750c657ac1db7d1cf656a9 -package.json 8ee347cd5bd8331c710b6dccb45fc7a6 -tests/index.css 1975db2466c0425aa5bde34b58490513 -tests/index.html d117582e9393b1bdf056d78c536d2d96 -tests/index.js 5cb5a4eb5eefc483727fa6383b83e3b6 -tests/jquery-1.6.1.js 4b65ea7175ec8007f79bf245cf909e05 -tests/jquery-1.6.2.js fc1ebe9026579ec6d37993f1eaceb54a -tests/jquery-1.6.3.js 5761f94379fe831aba5129cbb4b8a257 -tests/jquery-1.6.4.js e3cfaf7a2c029866cb5fc35c883907fb -tests/jquery-1.6.js 4d9bd9c1be819924dfec925a678077d2 -tests/jquery-1.7.1.js 6f477fa74c5027c9ec6945f9235bdf35 -tests/jquery-1.7.2.js 85d6bc8bb1725066ad866e17086dcdd3 -tests/jquery-1.7.js ba1e8d241eb0be1a07a031377aebdcef -tests/jquery-1.8.0.js 15ea967efbc17ae4f37d9db743e712b5 -tests/jquery-1.8.1.js 3fb547ed8dc2b18ab3ea88e4b8868f19 -tests/jquery-1.8.2.js ef68beaa375acd83206bbc0cf92970e9 -tests/jquery-1.8.3.js 2073df88a429ccbe5dca5e2c40e742b4 -tests/jquery-1.9.0.js f3346149a7173e70d39e6f36bfb178a4 -tests/jquery-1.9.1.js 08c235d357750c657ac1db7d1cf656a9 -tests/jquery.js fb6f96f1c5db020866e96f1350c6fd64 -tests/jquery.simulate.js 77a796da2b4544b1afc97a196e4ebcd4 -tests/unit/accordion/accordion.html 56973698b4d67cd4f87976b99a995360 -tests/unit/accordion/accordion_common.js 432f694f4c2ad29d0079753f42cbdb9b -tests/unit/accordion/accordion_core.js 72a2ec9b52cbc7143e61122ef2d9fcd0 -tests/unit/accordion/accordion_events.js 51a5304f2fc4a2a246622bc4a0f51629 -tests/unit/accordion/accordion_methods.js 2bfaf4aa95d70747be78b4f278985695 -tests/unit/accordion/accordion_options.js 021f0d27d1f9df9c857588cad812af15 -tests/unit/accordion/accordion_test_helpers.js 54546f504f3af43033fd824135e28e90 -tests/unit/accordion/all.html 8775074561676645f96f794cd4de4495 -tests/unit/all.html 1f789501d47da74b6eb71c77b9be5fad -tests/unit/autocomplete/all.html 2d6302968bb965488fc9fedd83de0a3a -tests/unit/autocomplete/autocomplete.html 6b5a374713489139d283a1adc687ca76 -tests/unit/autocomplete/autocomplete_common.js 41eb983cb553bac7f9304a516dda2344 -tests/unit/autocomplete/autocomplete_core.js 6ab4bc6755e266768ac7a070aab8c307 -tests/unit/autocomplete/autocomplete_events.js 95eb26e267489afe3ab75a295cb392e2 -tests/unit/autocomplete/autocomplete_methods.js ebae0a966b238bd89e4673307a2f77e3 -tests/unit/autocomplete/autocomplete_options.js c61a3751033bf7245f31ebc067b1bb34 -tests/unit/autocomplete/remote_object_array_labels.txt 47e4bc9f1926d7b98eb7e11991ab0961 -tests/unit/autocomplete/remote_object_array_values.txt 5db4d5ca44a403a6d15c38076208c019 -tests/unit/autocomplete/remote_string_array.txt 5a68e737a3ded6571ad5c79cad5c853f -tests/unit/button/all.html d765f4d9df831c4e9554fd8d52ec252f -tests/unit/button/button.html 32541d1ef4779bd336c6c23900e37370 -tests/unit/button/button_common.js 57e70e1e0a4f6e9c62ba01622745d652 -tests/unit/button/button_core.js 7a54341f46bd77716c60cb0dda701be5 -tests/unit/button/button_events.js 34072c28effa6e5627222d5760b05526 -tests/unit/button/button_methods.js 7d5c50a43f98408b4d3b0b6620f8b6b9 -tests/unit/button/button_options.js 66991dd555d3f2c7989b718affed8cad -tests/unit/core/all.html 651c73f54a9fc5e7c6c1bfb26d6dc6c8 -tests/unit/core/core.html 5773ad09c485b2a85aace0d3841710df -tests/unit/core/core.js 0eb343f0a17182d0d018d9cc110708b2 -tests/unit/core/selector.js b039256d06c4209f1ba2a1d0b92e6795 -tests/unit/datepicker/all.html 8c61e085b9a34fa119a4d1fe84b23947 -tests/unit/datepicker/datepicker.html fc505c5cbebfb540b7460f70226368ba -tests/unit/datepicker/datepicker_common.js da2e216e7486a17640c152ccae9bce4e -tests/unit/datepicker/datepicker_core.js 7d9c456bf8194593c72863ba7d0af1b7 -tests/unit/datepicker/datepicker_events.js 15fcde79f8dd3070476e6b0c703b0de2 -tests/unit/datepicker/datepicker_methods.js 9339ed34c35a517c42b0422b35173098 -tests/unit/datepicker/datepicker_options.js 64ae882d5688daaab562b05ee2751f07 -tests/unit/datepicker/datepicker_test_helpers.js c5dc63f04ad252adf76abf1a7d1bc7fe -tests/unit/datepicker/images/calendar.gif ecae0392680875218dde6eec7ba713ae -tests/unit/dialog/all.html 644f225f593be502d894b33367356c64 -tests/unit/dialog/dialog.html e30868d13c202212308b6dbb3a83d7da -tests/unit/dialog/dialog_common.js 8095d571d9ce39c1ba9b9ca3196565b7 -tests/unit/dialog/dialog_core.js d83106c08d90eb74e73479f20b08a5be -tests/unit/dialog/dialog_deprecated.html a5132ea51e4d36c53248dba5135440fa -tests/unit/dialog/dialog_deprecated.js 92024860fdbf8f559aaec50f33679f8a -tests/unit/dialog/dialog_events.js a6ea96edb013d921cfc017dd3b466984 -tests/unit/dialog/dialog_methods.js 34d85b6c909e6159eb72558617be575f -tests/unit/dialog/dialog_options.js 48537004ea6e461e6a2a4f698d983411 -tests/unit/dialog/dialog_test_helpers.js 6bde838d6ed5e88e1c27e8de15b9fa4a -tests/unit/draggable/all.html 8a4736c7aecbe3981d1198f83f3ff7ed -tests/unit/draggable/draggable.html bc70338c67f0a7ebd53650ab419e112a -tests/unit/draggable/draggable_common.js def6c57bad222afec2d1168e1d9c04d7 -tests/unit/draggable/draggable_core.js 79a6a849ef2f2b966b3ca206ce1759fc -tests/unit/draggable/draggable_events.js eb0d6dabeff78e72f20d32b14c23d996 -tests/unit/draggable/draggable_methods.js 3821ed8f83fcc13f08b66dee2bd245ef -tests/unit/draggable/draggable_options.js 52dfda6b6d27be0e4c15996dbb26d85c -tests/unit/draggable/draggable_test_helpers.js ab8bfd37e82f479b7220320ae2464432 -tests/unit/droppable/all.html de845ad3e7505d387b3173c4365c6da6 -tests/unit/droppable/droppable.html d3bbc631b02e58516663272a366a191a -tests/unit/droppable/droppable_common.js 91882be881a84fea7b1e0ec45a8b2ca2 -tests/unit/droppable/droppable_core.js de2a35afb3e459985b0d0dedb9b093ad -tests/unit/droppable/droppable_events.js eb29bb8950a648460586765019ca84c4 -tests/unit/droppable/droppable_methods.js 0a6ee3b24d729eeb20964a83724af439 -tests/unit/droppable/droppable_options.js e1271ee5a56bba24fa98cf52babc7dee -tests/unit/droppable/droppable_test_helpers.js b1ba5248d747e336434f3876da111981 -tests/unit/effects/all.html 24212028e29ab86a63d5393a315d7c95 -tests/unit/effects/effects.html e71d6f046ecfd20dc0342522656df4c7 -tests/unit/effects/effects_core.js e3cda7655c9aa7eb3d5a514b8de6654c -tests/unit/effects/effects_scale.js 81271ea4c56fb82f9336fe87058404f2 -tests/unit/images/jqueryui_32x32.png b5907552b610ac23f514760d3e30db78 -tests/unit/index.html f3af22ddb0a418ce7c89a9d724cfca62 -tests/unit/menu/all.html b612e6c9eba8abc1d6a77fb16e968c60 -tests/unit/menu/menu.html 46fdf57c4b8ccceea2351a696e53585c -tests/unit/menu/menu_common.js 14ff1786dc6fd7b4bb36165748996fad -tests/unit/menu/menu_core.js a9bab987cbef99d52781d1189cfbc742 -tests/unit/menu/menu_events.js d8b04f2daac5d88165807ff3cdde4906 -tests/unit/menu/menu_methods.js fc26fe8740ff519d9695ef6992b26992 -tests/unit/menu/menu_options.js 6239868707dd5e3aa3fbb5082581e07a -tests/unit/menu/menu_test_helpers.js 137f4cf6c1b2879f3e94066800de2669 -tests/unit/position/all.html f173a685f94bce9a0f2afd004f8ace79 -tests/unit/position/position.html df8fe227ff37d50f1f965b32f4b870fb -tests/unit/position/position_core.js 97b5cddbb0870fa8b54c7e3cd7f9cbde -tests/unit/progressbar/all.html 83627198459812ca449a9ee430ed3778 -tests/unit/progressbar/progressbar.html fee63970c42b3ad1f5cb032ae2255020 -tests/unit/progressbar/progressbar_common.js a23adf8bd501eb49aeeffbd24160e036 -tests/unit/progressbar/progressbar_core.js 56e676fb918d441003f81702a5469c94 -tests/unit/progressbar/progressbar_events.js 1fc602b409157c3cc5786c3c19843702 -tests/unit/progressbar/progressbar_methods.js 41605c770a137a33535095110edc1d46 -tests/unit/progressbar/progressbar_options.js f8edf4492fadef665d99b5b4f220ce6a -tests/unit/qunit-composite.css bf9a7cb34b4e8c0379e565e6d3ec487f -tests/unit/qunit-composite.js 2bafe0b898f476e0b51b119ea54939b2 -tests/unit/resizable/all.html bf8539e10a1a4bcd62a2b408568fe9ae -tests/unit/resizable/images/test.jpg b8c459677bc8915cda93bf9efe86d72c -tests/unit/resizable/resizable.html a684be8dfcb79bf2230c44f27e96a355 -tests/unit/resizable/resizable_common.js a5f05d5392c3ba34a4e8d5bc2b8c927e -tests/unit/resizable/resizable_core.js 4562c4a5cf4d0eb01734c56e365e34a4 -tests/unit/resizable/resizable_events.js 243f20a2a751210cbb7f393df109d9eb -tests/unit/resizable/resizable_methods.js f71dbbbb8c72ea6ac6a3a41df2e64c30 -tests/unit/resizable/resizable_options.js 4f82090dac67560e1f3de5d21b070d97 -tests/unit/resizable/resizable_test_helpers.js a200da89ae7a74e1aca3e89b2975e529 -tests/unit/selectable/all.html ead180397c3603a080121de587e6485c -tests/unit/selectable/selectable.html 30cda03229830e5fcd12a6092eadf916 -tests/unit/selectable/selectable_common.js bcf3baf9883e6a9f9d70b4af19cbcfaa -tests/unit/selectable/selectable_core.js ae8129f4b08d9fc637223e6c1fe43125 -tests/unit/selectable/selectable_events.js a86acfa0c3397e313b24bda2859ca44b -tests/unit/selectable/selectable_methods.js 96d128be3a52d04e60f6e1e82a319a75 -tests/unit/selectable/selectable_options.js 60452417be0ea4bf73e9a350b440cb43 -tests/unit/slider/all.html 26e883e27367e89ba8eec8945260b0e1 -tests/unit/slider/slider.html 8aa77586769cea5bf0c9fa3c9ad140b4 -tests/unit/slider/slider_common.js 8643772a233ae367e11dd9af0da6bb9e -tests/unit/slider/slider_core.js c9adabb41ef386717dd171fc3ae99c97 -tests/unit/slider/slider_events.js 8357ab4f77be8e93335d56dd54cfbc69 -tests/unit/slider/slider_methods.js 779bf0dc22701185e287d675e046ac30 -tests/unit/slider/slider_options.js e721c187411b15b8dec429f8c2df86f5 -tests/unit/sortable/all.html 2db13ed2fba3e1978c4eae2c2c8d830d -tests/unit/sortable/sortable.html 0946e8fff2d57824fd0e51569441e822 -tests/unit/sortable/sortable_common.js 07629ea5d09768cd576c8a6bc3052ee5 -tests/unit/sortable/sortable_core.js 13094091aa0e6e1cb69fed5aae89ed73 -tests/unit/sortable/sortable_events.js 23fb859505697fbcbaa6256517980b3b -tests/unit/sortable/sortable_methods.js fb44be61d747a5de33b7d722d4635625 -tests/unit/sortable/sortable_options.js 3aac89e279e4f2b2c34a2a8389b9b0e5 -tests/unit/sortable/sortable_test_helpers.js b0dda6cfb320d1f37fd5b0e46ea306c0 -tests/unit/spinner/all.html 9a5e18b7f80a598fc93c2bab7cd602a6 -tests/unit/spinner/spinner.html 0c281720fc0bc501527a8f2bb060e5e3 -tests/unit/spinner/spinner_common.js e0084a518f2e54c222d14247cbe6436b -tests/unit/spinner/spinner_core.js ec97922ca3bd5c4e4a81489b6e2f451f -tests/unit/spinner/spinner_events.js 975dde87c8ecf8548630ce3f2d6d2300 -tests/unit/spinner/spinner_methods.js 3753c26a2f6bf1dfcdec1774e1ce00d6 -tests/unit/spinner/spinner_options.js 03f527bba5cfa16ca49bc102eaae3e23 -tests/unit/spinner/spinner_test_helpers.js 2f9d7a1a54bbebaed1b3982fcbc77878 -tests/unit/subsuite.js 557df000a529ea3e8f921cb2da10a0b3 -tests/unit/swarminject.js edd2bc76548cce6675263e6cd43145e8 -tests/unit/tabs/all.html e2127e6673f9f17d3da585bc7aaa60a4 -tests/unit/tabs/data/test.html 94382cbd6df9df6b2d8dbebb59740dd3 -tests/unit/tabs/tabs.html 54ef396a25ff7695bb6904f83674e19a -tests/unit/tabs/tabs_common.js 907cb2cd2b9a4acad75dbbf7f7a3d865 -tests/unit/tabs/tabs_core.js 19f32b66c465dabd264869287d4935da -tests/unit/tabs/tabs_events.js 67802c3855ad9dced2ac32bf7d663d29 -tests/unit/tabs/tabs_methods.js 4c0e4a27edad8ae65b5d6f302e9cdf0a -tests/unit/tabs/tabs_options.js c47cb447d292a312c886f17e77a5cc07 -tests/unit/tabs/tabs_test_helpers.js 3fa3b964947f3bfb767a0d5809b52100 -tests/unit/testsuite.js feedafb6a85901dda22389d795291a0b -tests/unit/tooltip/all.html 9b17b49a2c09c30247ad6de8e783beeb -tests/unit/tooltip/tooltip.html b8c2f7eaf5a19bde14bf0ff5c032c6ad -tests/unit/tooltip/tooltip_common.js 905ecb3445955642ff8ff8bd6f9b84c9 -tests/unit/tooltip/tooltip_core.js 8999ce3f66047c39a436e8d2c7776ea8 -tests/unit/tooltip/tooltip_events.js 7f6992ca8273f9145b9d94b60461c592 -tests/unit/tooltip/tooltip_methods.js aed9d6fc6acbe0aeb9ecf10c0729a6de -tests/unit/tooltip/tooltip_options.js caaba4e2825877ce574038ed20d710c5 -tests/unit/widget/all.html e9f5b985bcc01e70291b9ad630067737 -tests/unit/widget/widget.html b56a5deb1de2d1cdced819870149a7d4 -tests/unit/widget/widget_animation.js 38a8438ccb896155f00739bb0a5cc24d -tests/unit/widget/widget_core.js ae981cb65d7970509cdc1735d68cda0e -tests/unit/widget/widget_extend.js b0ca0e5aa6c74b6d0332808f8fb390c2 -tests/visual/accordion/icons.html 8cd10ced65e5bdfa521398e4cc70f8a8 -tests/visual/addClass/queue.html 2869e0d2a88c2bfd53aac525fa3b0e3c -tests/visual/button/button.html 7ccd19161de9bbd08559ffea5ead7b34 -tests/visual/button/performance.html f4985d5ca903a84ffdcc09824c0452cc -tests/visual/compound/accordion_tabs.html 3374f17d716322f00fc022d42746fb6d -tests/visual/compound/datepicker_dialog.html 2690053ee95929462eb359724fe10fc9 -tests/visual/compound/dialog_widgets.html 60afb8d0513473f76838330e1b7bf95f -tests/visual/compound/draggable_accordion.html 98b522b10bd19b051d939a426b0fd30f -tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html 7df45cb369c47b18953c00fa1ef8ec64 -tests/visual/compound/sortable_accordion_sortable_tabs.html 22dcb429dad7efa991978f9889ca2a7b -tests/visual/compound/tabs_tabs.html 5067e5e7f13b2fa4f1b6d8438a13cf47 -tests/visual/compound/tabs_tooltips.html a3df03e16cd1fbbf6b8fbc2dfec8482a -tests/visual/dialog/animated.html a16fb382675223032d89dbdf83fccca8 -tests/visual/dialog/complex-dialogs.html c1891232cf635796413aadbbe8b05acd -tests/visual/dialog/form.html ca53bfb938d252aea432f4317a07c42b -tests/visual/dialog/performance.html e1843ef032881e7cd7354e02b6deea3a -tests/visual/effects/all.html e9f958801563b33aca311dca99393b7f -tests/visual/effects/effects.css e9f39ec2b841172f489d672ce57e6c3f -tests/visual/effects/effects.js cf826d29cefa363e5974fad875637927 -tests/visual/effects/scale.html 687244e30f4ede62a520017043506f8e -tests/visual/index.html 702256273945179cc9ad8d196382e940 -tests/visual/menu/menu.html 3292872484b7a6fb53dd7b2717c12d65 -tests/visual/position/position.html ee3486b9f13517c448a0c12082301432 -tests/visual/position/position_feedback.html 90a740c34db3579b98b9ec9dda1de7bc -tests/visual/theme.html 58badf1abfa77505303d98fe1b6ec1c1 -tests/visual/tooltip/animations.html 0714bf60494d825d65f8f9e1056eb330 -tests/visual/tooltip/tooltip.html a7fc5b1bf9df9dafb50478f4533f6cf2 -tests/visual/visual.css da740540ef7976839bc9611338de0181 -themes/base/images/animated-overlay.gif 7b1d52ef7bdaa05f5948dc3a1f75d1e3 -themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png 4b5c132cf83d2d3e48e5a559739709ee -themes/base/images/ui-bg_flat_75_ffffff_40x100.png 1bbf3e17a3d20b23c665b78994c93f0a -themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png 472c9a50dc526afcfeaf739ff67816cd -themes/base/images/ui-bg_glass_65_ffffff_1x400.png 6fed187efb9afef2679ff9a46dd6bef7 -themes/base/images/ui-bg_glass_75_dadada_1x400.png 49c75ede4c8c0a97752cc2bd34c36e3f -themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png a4b7af89c12cc2b0c24a6b06c6ee4c46 -themes/base/images/ui-bg_glass_95_fef1ec_1x400.png 0fdd53e72a8bded481b24b70797b8373 -themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png e2a1926fe6fcb1f025c300fb36b76a6f -themes/base/images/ui-icons_222222_256x240.png cac9343b455ba1077614c1bb583cbe18 -themes/base/images/ui-icons_2e83ff_256x240.png 559b15504e19e757f34ac93c35893408 -themes/base/images/ui-icons_454545_256x240.png 619efe8651a5e9c49aed92368fa9dff3 -themes/base/images/ui-icons_888888_256x240.png 993a8340d509467ebd9dfcb49ed5daa0 -themes/base/images/ui-icons_cd0a0a_256x240.png e76f396c14ecad218b72a59abe670a9c -themes/base/jquery-ui.css dfcf2d9b984ec33bc6bb11e755ca0931 -themes/base/jquery.ui.accordion.css c677733deff67c23fa7cfe19c0577838 -themes/base/jquery.ui.all.css 133e9d6344d8f45faecabf460fb90ddd -themes/base/jquery.ui.autocomplete.css 4e38d58f6f4d9833aae52cb876957579 -themes/base/jquery.ui.base.css 156e8bb01c0072e473ffb100e7deb311 -themes/base/jquery.ui.button.css ee438e5986244c14397da2b3bf826dfb -themes/base/jquery.ui.core.css 75db4e0758fc6c2a1c55d519a46f95e8 -themes/base/jquery.ui.datepicker.css e52f90a4d1492b9148ac71687cb1e9bf -themes/base/jquery.ui.dialog.css 6636c36dde8c111dbe27a382e1acccb8 -themes/base/jquery.ui.menu.css 7794040d4d03ac4a1e09c3983ffc36db -themes/base/jquery.ui.progressbar.css 4f12f77935d98dfb627788c14d2d040e -themes/base/jquery.ui.resizable.css 55b81132ab74d10d2c1d6dcbde7e6b5f -themes/base/jquery.ui.selectable.css 8e26a3ae1825b7b74fe3587e5bb11f49 -themes/base/jquery.ui.slider.css be3ff74589a1fede91194c0f8bbf34ed -themes/base/jquery.ui.spinner.css 2a82468eb92c93a142096d6171d7b983 -themes/base/jquery.ui.tabs.css 4f56abc501c5ede112b6f05c9bf2531e -themes/base/jquery.ui.theme.css 187fc9fe3177cd2d9093ab759581943f -themes/base/jquery.ui.tooltip.css 74dc316b0056155feeb3090bf2253792 -themes/base/minified/images/animated-overlay.gif 7b1d52ef7bdaa05f5948dc3a1f75d1e3 -themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png 4b5c132cf83d2d3e48e5a559739709ee -themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png 1bbf3e17a3d20b23c665b78994c93f0a -themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png 472c9a50dc526afcfeaf739ff67816cd -themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png 6fed187efb9afef2679ff9a46dd6bef7 -themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png 49c75ede4c8c0a97752cc2bd34c36e3f -themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png a4b7af89c12cc2b0c24a6b06c6ee4c46 -themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png 0fdd53e72a8bded481b24b70797b8373 -themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png e2a1926fe6fcb1f025c300fb36b76a6f -themes/base/minified/images/ui-icons_222222_256x240.png cac9343b455ba1077614c1bb583cbe18 -themes/base/minified/images/ui-icons_2e83ff_256x240.png 559b15504e19e757f34ac93c35893408 -themes/base/minified/images/ui-icons_454545_256x240.png 619efe8651a5e9c49aed92368fa9dff3 -themes/base/minified/images/ui-icons_888888_256x240.png 993a8340d509467ebd9dfcb49ed5daa0 -themes/base/minified/images/ui-icons_cd0a0a_256x240.png e76f396c14ecad218b72a59abe670a9c -themes/base/minified/jquery-ui.min.css 0c923991a9be5b4270d12d91dda7ce05 -themes/base/minified/jquery.ui.accordion.min.css 23adad0c1f50661eea96e3f45abe4e75 -themes/base/minified/jquery.ui.autocomplete.min.css 78c2c2cfc94c25e730545b0fb02fb277 -themes/base/minified/jquery.ui.button.min.css 7b168e272387e55cd50672777cb76bb9 -themes/base/minified/jquery.ui.core.min.css f20fcb108ff3384a216e26b0dab70d6d -themes/base/minified/jquery.ui.datepicker.min.css 3666f7e2da035cb203969a3600383514 -themes/base/minified/jquery.ui.dialog.min.css 26cc953b1ecb1b6e10ad8a39315e1fbb -themes/base/minified/jquery.ui.menu.min.css 55704c761e0d832032ab4f3b957e4906 -themes/base/minified/jquery.ui.progressbar.min.css 0f75c9a363cbd4e67792cfaecd6f4547 -themes/base/minified/jquery.ui.resizable.min.css 1d79910da7f7ac2be6fdc2b46b6e24bb -themes/base/minified/jquery.ui.selectable.min.css be1e69317fb14e993be57fc21f819d63 -themes/base/minified/jquery.ui.slider.min.css 724ae13e47f6e456b4161b1da495657c -themes/base/minified/jquery.ui.spinner.min.css 93b914c9ef11faff87084cc1d81baead -themes/base/minified/jquery.ui.tabs.min.css acc01779259df0fc5161937d2294070d -themes/base/minified/jquery.ui.theme.min.css 363f6f425370cfd688c8fc175b33d4b5 -themes/base/minified/jquery.ui.tooltip.min.css 34430822a8c38df7c71c9944f42ea386 -ui.accordion.jquery.json 9bebdacb543d1922611eba1accfb7c31 -ui.autocomplete.jquery.json 9332beff6188e4f59f48d24deb8a5e6c -ui.button.jquery.json 0da78022eb4ce7eba30ff64abb4b7fb9 -ui.core.jquery.json da751a6f606499a72e557cf00b745839 -ui.datepicker.jquery.json 4e2444b15983bad078cb586d2a6498f7 -ui.dialog.jquery.json 0bb6baa610de2b77c0d9450ca74556fe -ui.draggable.jquery.json 7d275aa3e7646fb823eeb2690e2e4f37 -ui.droppable.jquery.json 9c4a92838ed20cf0b0c03f2af8c74d34 -ui.effect-blind.jquery.json 530efea8ab68fbb4fb4c5cb570041f55 -ui.effect-bounce.jquery.json 0b85d86bb5c677ac50073fba0703958f -ui.effect-clip.jquery.json b79f33bc02186798d1473d38cb11b0e1 -ui.effect-drop.jquery.json 99efba7ee2e2da0be9ead9235b656c87 -ui.effect-explode.jquery.json d1f51e082cff321b2ab1e2af78bec103 -ui.effect-fade.jquery.json 34d82751a4f106825c741f6de470806d -ui.effect-fold.jquery.json 5dd7a1a28f139a1c57cb5e64c986c9cd -ui.effect-highlight.jquery.json dc3b13fc8a19a9db7280d31a54490be9 -ui.effect-pulsate.jquery.json 43e3955f352cf52e13e85dede51fbdb5 -ui.effect-scale.jquery.json 69d335d0f84aa1e48cc06f1d1b81ce88 -ui.effect-shake.jquery.json 1b87b80ca9d385e88fc142111dc1e5b2 -ui.effect-slide.jquery.json c865de9289e92ac502d991fb2de20ab1 -ui.effect-transfer.jquery.json 1fc3656b8ff6a1d079203cd4a4ecb888 -ui.effect.jquery.json a42168aa556b300ef6d4a55bf155d4a1 -ui.menu.jquery.json ce46b960118589d9b869def404b09410 -ui.mouse.jquery.json 78efeff7f19de092eb7d597cc45575f0 -ui.position.jquery.json 3ebe1842308b2f021f4b856fc9ca5902 -ui.progressbar.jquery.json ddd1ac9b57323942c3262cd1995ca651 -ui.resizable.jquery.json 5d6effc77f319c6c36d859ae28e1cf4e -ui.selectable.jquery.json 7f59a8a0d47bc320a6e260e348581944 -ui.slider.jquery.json 74a4d0e84000f0385d0c7acb4b86bca4 -ui.sortable.jquery.json bdb87f83a65b51ad781554ad15c6bb8f -ui.spinner.jquery.json 4e0a78fae51d58db8f62c7d07b474c02 -ui.tabs.jquery.json 82f0d05bda85c22bfacbf13f3844758c -ui.tooltip.jquery.json f5661275a7447ba749522e513fe4a566 -ui.widget.jquery.json ac7685b98ec24cc59395bd4a8e15c24b -ui/i18n/jquery-ui-i18n.js 859461a8f65ccb18b75304e0948f4095 -ui/i18n/jquery.ui.datepicker-af.js 3f6dc7167ebfdab2e4c06ca1f7ecbf55 -ui/i18n/jquery.ui.datepicker-ar-DZ.js 56090ba6fc5c479ae4cda7c576836820 -ui/i18n/jquery.ui.datepicker-ar.js 942eaa8e2a371c9858a75e3f58ac27c0 -ui/i18n/jquery.ui.datepicker-az.js 1aea4f0f8c0e6a30328f192aff2a1c0f -ui/i18n/jquery.ui.datepicker-be.js 47798259b2d017908e77584020a46d8c -ui/i18n/jquery.ui.datepicker-bg.js 24c64c898073fdf4e176c7a57eed2108 -ui/i18n/jquery.ui.datepicker-bs.js 02b7d071b1bd94ea1bf6b80434bf25bd -ui/i18n/jquery.ui.datepicker-ca.js 94457329c5dfa19ec34ca758ef9af96f -ui/i18n/jquery.ui.datepicker-cs.js 8b24b1eb5c72e00db3eaf1893712535d -ui/i18n/jquery.ui.datepicker-cy-GB.js fb40b70ba78ef9f4251a86355c5f65f7 -ui/i18n/jquery.ui.datepicker-da.js 4ca3479af4b128605a4b1ba0a460864b -ui/i18n/jquery.ui.datepicker-de.js 9e724b55121fe31b366ec12cdf7dd04f -ui/i18n/jquery.ui.datepicker-el.js 9e5f4ce80bfa2188a0c39bc0ef3f67bc -ui/i18n/jquery.ui.datepicker-en-AU.js 4a38655904f6c55da227cea464b55a2b -ui/i18n/jquery.ui.datepicker-en-GB.js 24a226a281a11799c495abc21f696c23 -ui/i18n/jquery.ui.datepicker-en-NZ.js af985e8d034123f14696aa116027760d -ui/i18n/jquery.ui.datepicker-eo.js 284e3234ab912cab90b7df798d2229d6 -ui/i18n/jquery.ui.datepicker-es.js 063c7ec2c48ba362e5a5d80dbb3add9d -ui/i18n/jquery.ui.datepicker-et.js 7340534709a670fdc0e6c778f81e69d0 -ui/i18n/jquery.ui.datepicker-eu.js 24751dd4dcabb58b82ee0817fea84fd3 -ui/i18n/jquery.ui.datepicker-fa.js 5e6dab546d1aeaba3ea1b08cb8a78905 -ui/i18n/jquery.ui.datepicker-fi.js a2316212db1e436c816e97bbaf408fa0 -ui/i18n/jquery.ui.datepicker-fo.js afd8c9bc15c5885362c656e5d7c84890 -ui/i18n/jquery.ui.datepicker-fr-CA.js caa86bb3277b220d6412236a27a3fc2d -ui/i18n/jquery.ui.datepicker-fr-CH.js 7e82004b7c69db43aa72d4cbb1713b6f -ui/i18n/jquery.ui.datepicker-fr.js 74ff0c1602ce756629885acbd13680b8 -ui/i18n/jquery.ui.datepicker-gl.js 4675f94f450180e380a1601a6b371508 -ui/i18n/jquery.ui.datepicker-he.js a791d8f0ac08b0d2876bcd21e029d39a -ui/i18n/jquery.ui.datepicker-hi.js 0a77f05797ea2541aefa54587f72d274 -ui/i18n/jquery.ui.datepicker-hr.js 09c6d590bc6341774a7b6fe81949bcc1 -ui/i18n/jquery.ui.datepicker-hu.js df7114c7beb23fac576e3ad4dd58f826 -ui/i18n/jquery.ui.datepicker-hy.js bf602b00d963e8060915f407aa06117c -ui/i18n/jquery.ui.datepicker-id.js fb0ad98a3ad212b1986fcac5015b0435 -ui/i18n/jquery.ui.datepicker-is.js 24fe69d4dfc3f807c0409c1825bf06c1 -ui/i18n/jquery.ui.datepicker-it.js eee4c720914c640bcd852ba846549823 -ui/i18n/jquery.ui.datepicker-ja.js 8f22d47039a716ab9dc558ef5cb606c5 -ui/i18n/jquery.ui.datepicker-ka.js 59ced607df538bff4b30bde208558e78 -ui/i18n/jquery.ui.datepicker-kk.js 17cd8c09bfc4fb4d1009d0d7251d45bc -ui/i18n/jquery.ui.datepicker-km.js 1adb43c3aaa02820ddc47bd6291c35d5 -ui/i18n/jquery.ui.datepicker-ko.js c07463fd9be92f2a74a8693e11a3a6ed -ui/i18n/jquery.ui.datepicker-ky.js 78c4fbe7edc801a3d7ac96479f38c471 -ui/i18n/jquery.ui.datepicker-lb.js 070ff75dff2e4c5ecaeefcf69362a824 -ui/i18n/jquery.ui.datepicker-lt.js 241a4dbd5a6a6eebf0bff07d898d70ef -ui/i18n/jquery.ui.datepicker-lv.js c0f98f27e580e081955e201b181fb061 -ui/i18n/jquery.ui.datepicker-mk.js a5f91ba250568d5923bc0d7cb5cbc949 -ui/i18n/jquery.ui.datepicker-ml.js 183a9c567fe5c2d5024fb82cee66ff32 -ui/i18n/jquery.ui.datepicker-ms.js 51efc50e21ae012a17f4f3cd0f2ac93d -ui/i18n/jquery.ui.datepicker-nb.js 1f791342b878511cb7f589cd27b04521 -ui/i18n/jquery.ui.datepicker-nl-BE.js 1e12ff741b12964e1fd73673d4aaf44d -ui/i18n/jquery.ui.datepicker-nl.js e2e6f9efa2cd758e29c5a5d9463f3a4f -ui/i18n/jquery.ui.datepicker-nn.js 81637fae116f19daaaeec66ece964b4b -ui/i18n/jquery.ui.datepicker-no.js 2fa4f2894f94ecf35729c51e8183addf -ui/i18n/jquery.ui.datepicker-pl.js be287cf01c812b8df9e69fd84b075cef -ui/i18n/jquery.ui.datepicker-pt-BR.js dff6b4f131f72032ff0a69a555c7c6a4 -ui/i18n/jquery.ui.datepicker-pt.js 195beac164d3b2cfc5b8d02e98353834 -ui/i18n/jquery.ui.datepicker-rm.js 0601228208954434efea2ccf265f5b94 -ui/i18n/jquery.ui.datepicker-ro.js 6ca441ce332624416e84ad38034e7795 -ui/i18n/jquery.ui.datepicker-ru.js 0d41df9a86abe85b7b63028957c73106 -ui/i18n/jquery.ui.datepicker-sk.js 87b2273b7f29f1e0d848891337beb5c4 -ui/i18n/jquery.ui.datepicker-sl.js 486c5cd6945b02f0749df41fdc3f352e -ui/i18n/jquery.ui.datepicker-sq.js 77e864f9841f5152d5920daf9e3e2f32 -ui/i18n/jquery.ui.datepicker-sr-SR.js 19cbf770b97c3ee2c334dcc5d057ddbf -ui/i18n/jquery.ui.datepicker-sr.js c7cbb822cfc23aec41c95de8330f2feb -ui/i18n/jquery.ui.datepicker-sv.js 018ff01252e3a0ac5bb15dbe39b429cd -ui/i18n/jquery.ui.datepicker-ta.js 3bf8496fd386e4694af8823300a532e3 -ui/i18n/jquery.ui.datepicker-th.js abd6001b82c780af58bfe9a64d0a0d9a -ui/i18n/jquery.ui.datepicker-tj.js bab95a8bfd829041af4be1c5a782c935 -ui/i18n/jquery.ui.datepicker-tr.js adc631c4ab7b682d16a2153c27ce288c -ui/i18n/jquery.ui.datepicker-uk.js aae92337f25274e12be54766da9ad8d0 -ui/i18n/jquery.ui.datepicker-vi.js eb28234f86f04fc28490f893fa4238fe -ui/i18n/jquery.ui.datepicker-zh-CN.js 26131e8a11678170b28c0a469d43aaee -ui/i18n/jquery.ui.datepicker-zh-HK.js d283c9c7266ad9f6fa2dbc46db3026f5 -ui/i18n/jquery.ui.datepicker-zh-TW.js 443e52a6fae355caecbd60e63b5c72d3 -ui/jquery-ui.js ec9758d9508e2fd22ddbdc6d5a28f214 -ui/jquery.ui.accordion.js 59eb033ec33e7c4df0e13486c79c93ee -ui/jquery.ui.autocomplete.js 9979e47b6a92a4d03977d12eef25e29b -ui/jquery.ui.button.js 3df9998201ab013e5d2efdf47767705c -ui/jquery.ui.core.js 67e9965f7485144ddd09c285e6459416 -ui/jquery.ui.datepicker.js 059b3cd66b443a46d7a65a6a9e40681a -ui/jquery.ui.dialog.js eac53ba1f9959dc8b25b18e17875da48 -ui/jquery.ui.draggable.js 6d3e3acb1956fb1a9b662259077febd4 -ui/jquery.ui.droppable.js 1f40bea85e18e83f65e1fd8edd2249ff -ui/jquery.ui.effect-blind.js 607efd93d68b65f503e5950539653357 -ui/jquery.ui.effect-bounce.js 531715198b9746136a524810b1181873 -ui/jquery.ui.effect-clip.js 6b85b3ac4625027dd4617e16ae9b95bf -ui/jquery.ui.effect-drop.js e647f273d097c45cf9edab01fd0d8a9e -ui/jquery.ui.effect-explode.js a00c4ae2fe2a829bd49528e60eb9d921 -ui/jquery.ui.effect-fade.js d9616bed46deb0f61c33b11d937ca592 -ui/jquery.ui.effect-fold.js 17cd7ef5bb0180552f689eaa0808a43a -ui/jquery.ui.effect-highlight.js 0da42fff4e930d8fe5168002acb2186c -ui/jquery.ui.effect-pulsate.js dad82d636ba5d13d6f624dd565ad1715 -ui/jquery.ui.effect-scale.js 5405491e2e92ac3d6f7567a68a017627 -ui/jquery.ui.effect-shake.js 075e62cf997e38bf21168831014d8dd5 -ui/jquery.ui.effect-slide.js a725bd11046c846511cdc284d4dca654 -ui/jquery.ui.effect-transfer.js b53cb1d6dcec8067454e0da205ef67ad -ui/jquery.ui.effect.js 77ee3f3aadbd70175d5f8779d206322d -ui/jquery.ui.menu.js d5c1cd9f036cff2b8f3abd471adbf4f2 -ui/jquery.ui.mouse.js d7139cdb96ee896bc8fadbcd4daf8f64 -ui/jquery.ui.position.js fe73e7c3e4df26fb60769ec9e648ea20 -ui/jquery.ui.progressbar.js c9a9d7784102c2dc6beb13d3e9ecfa0d -ui/jquery.ui.resizable.js bf149cde457e4def45f03293e69a5b4a -ui/jquery.ui.selectable.js 29bb728dfbfe32f034dae29f0ea8e9ed -ui/jquery.ui.slider.js b7e2bb921f7081e70c20393627253800 -ui/jquery.ui.sortable.js 82e26fd27d53d40961800e008010ba4f -ui/jquery.ui.spinner.js 2d48e8d40ba862274accd863c0fec4ad -ui/jquery.ui.tabs.js 52104b9f938d99e7dc42dbc66e26ff65 -ui/jquery.ui.tooltip.js 3d8d30007c6fbd88df21bc7e99cd7922 -ui/jquery.ui.widget.js bddbabe47387bcd9fbf0a764c8d715ed -ui/minified/i18n/jquery-ui-i18n.min.js 0a6751ba5cc36f09c574bf75493f1931 -ui/minified/i18n/jquery.ui.datepicker-af.min.js b6e9f2d0fcb5c5e4f08ecee7a420e3a7 -ui/minified/i18n/jquery.ui.datepicker-ar-DZ.min.js ebc1ab6f4871869646788514a3250140 -ui/minified/i18n/jquery.ui.datepicker-ar.min.js aba2f75725c7d578ea417d730044acb1 -ui/minified/i18n/jquery.ui.datepicker-az.min.js f09dcd48a89ac27c571690a3b5e30816 -ui/minified/i18n/jquery.ui.datepicker-be.min.js 538b2b17ff9c6f70b76562a76ed8f2ac -ui/minified/i18n/jquery.ui.datepicker-bg.min.js 171a07a8e2df5523b331d95b92be77f0 -ui/minified/i18n/jquery.ui.datepicker-bs.min.js 0194361a0c4f9c1d32d8b00bc3eecfe3 -ui/minified/i18n/jquery.ui.datepicker-ca.min.js 41a3f4ab7fab3624724790b8d67b296d -ui/minified/i18n/jquery.ui.datepicker-cs.min.js d656c048f7bfa31a131abe0a6f475881 -ui/minified/i18n/jquery.ui.datepicker-cy-GB.min.js c37a26009b79a3b7b91a03b57b823b11 -ui/minified/i18n/jquery.ui.datepicker-da.min.js 9c6b9613749ebc4517aa94470e0a204e -ui/minified/i18n/jquery.ui.datepicker-de.min.js a5e5866cc2d69f7edb33705ee963c79b -ui/minified/i18n/jquery.ui.datepicker-el.min.js 9508d8536687db0657e05b050ecd1f23 -ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js 372400cb5f990b80db4ebf650bb6fe83 -ui/minified/i18n/jquery.ui.datepicker-en-GB.min.js 5cb0eb1e93f0548edc92b79ca02ba8e6 -ui/minified/i18n/jquery.ui.datepicker-en-NZ.min.js 84b2a26f6b57776346f9ecf5996ef496 -ui/minified/i18n/jquery.ui.datepicker-eo.min.js 0e92525a80f2412e997b6adad12c9865 -ui/minified/i18n/jquery.ui.datepicker-es.min.js ce79a3ecbf302c7039765148bef992cc -ui/minified/i18n/jquery.ui.datepicker-et.min.js 8dc9e0ee756c307c6b8dddc511c4b2f4 -ui/minified/i18n/jquery.ui.datepicker-eu.min.js 2909f1243cbf5f41b07bbbd40b10f0cd -ui/minified/i18n/jquery.ui.datepicker-fa.min.js 23b653bcfe8d3536221dbab2f4059675 -ui/minified/i18n/jquery.ui.datepicker-fi.min.js f731720ed71280f73cacced90416508e -ui/minified/i18n/jquery.ui.datepicker-fo.min.js a18ec81642cc8e4d589e8e00231db861 -ui/minified/i18n/jquery.ui.datepicker-fr-CA.min.js d754bca919332cb985f54759cbe77f70 -ui/minified/i18n/jquery.ui.datepicker-fr-CH.min.js 49dfe53eebf0c0b9a8da6f73be50a3cb -ui/minified/i18n/jquery.ui.datepicker-fr.min.js 108defc4ebc2c0fbbde2437cb965ebb9 -ui/minified/i18n/jquery.ui.datepicker-gl.min.js 8f79095dc425cdf9a04c529f91af65a0 -ui/minified/i18n/jquery.ui.datepicker-he.min.js 25d01d01067a2f8254a680bd648aeb6d -ui/minified/i18n/jquery.ui.datepicker-hi.min.js 70192d9d7d71379b8bf8434be2014bac -ui/minified/i18n/jquery.ui.datepicker-hr.min.js e7e7fb3534726246bbac83d5093566a8 -ui/minified/i18n/jquery.ui.datepicker-hu.min.js a2830348186cde2e4cc8dfea4712b37a -ui/minified/i18n/jquery.ui.datepicker-hy.min.js 780dda5457e2cbc28f9008e659c1b397 -ui/minified/i18n/jquery.ui.datepicker-id.min.js de11dd221d97e9f565fa2d90f30978e6 -ui/minified/i18n/jquery.ui.datepicker-is.min.js e6f648800b7294bb4816971f90ecc92e -ui/minified/i18n/jquery.ui.datepicker-it.min.js 4bdb038405348eb24eca566d4e7c9196 -ui/minified/i18n/jquery.ui.datepicker-ja.min.js bc3411ec66a8f225f96410fcaeb505a3 -ui/minified/i18n/jquery.ui.datepicker-ka.min.js a0f094d9e5c0e2937d3d398b8b0ac60a -ui/minified/i18n/jquery.ui.datepicker-kk.min.js 92895e175a63bc81e8c6d431d6eff75d -ui/minified/i18n/jquery.ui.datepicker-km.min.js 41f6b2ee5a2e3587c44a6b15462b2f72 -ui/minified/i18n/jquery.ui.datepicker-ko.min.js aea1dc1cccd1539d132d66fdb5c8ca1e -ui/minified/i18n/jquery.ui.datepicker-ky.min.js 4ec5dbaa5492b5731dd130e07414981f -ui/minified/i18n/jquery.ui.datepicker-lb.min.js 098d13f550fe9ac7d43fb3af562462c9 -ui/minified/i18n/jquery.ui.datepicker-lt.min.js d4f56b470c2c4954156b1f08c42dcc1b -ui/minified/i18n/jquery.ui.datepicker-lv.min.js cb8fb305355233b7a4668a15c9e64317 -ui/minified/i18n/jquery.ui.datepicker-mk.min.js ed18a1f2e735805fa43a59115ef0654d -ui/minified/i18n/jquery.ui.datepicker-ml.min.js 21a175e2760ce280afe9c05280869573 -ui/minified/i18n/jquery.ui.datepicker-ms.min.js 657a1e9175f8e49f443e8da12489ecd1 -ui/minified/i18n/jquery.ui.datepicker-nb.min.js d8509ccb781cdb0de94a7ad7ab44e04f -ui/minified/i18n/jquery.ui.datepicker-nl-BE.min.js 78176ad81724d30c11e0d29c0127501a -ui/minified/i18n/jquery.ui.datepicker-nl.min.js 216bc3a4f30162c638f0d0c2c9d3e985 -ui/minified/i18n/jquery.ui.datepicker-nn.min.js e63a16f5496cdd4d1465d9bce3317c18 -ui/minified/i18n/jquery.ui.datepicker-no.min.js 8ed571f7b6ec5c090d248bed85de0eaa -ui/minified/i18n/jquery.ui.datepicker-pl.min.js 4ec34c255ca2a759c9049d31cca6f0f7 -ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js d3dacb089424d7aabed8f0a7b2042c85 -ui/minified/i18n/jquery.ui.datepicker-pt.min.js 2a1494738fe7dd7c39a648c6e131c000 -ui/minified/i18n/jquery.ui.datepicker-rm.min.js 1511f63cafb94b6790492ae75fd52694 -ui/minified/i18n/jquery.ui.datepicker-ro.min.js aa8d2edb8aae20ef367dbc6e93f27ac9 -ui/minified/i18n/jquery.ui.datepicker-ru.min.js 1f2f3dd13bcff3c7c57a709512ad67ad -ui/minified/i18n/jquery.ui.datepicker-sk.min.js 1ddd8ce39bce48541cf7bc672cb9cfe3 -ui/minified/i18n/jquery.ui.datepicker-sl.min.js 5ea5aaa33137b7aec29037ab963c8864 -ui/minified/i18n/jquery.ui.datepicker-sq.min.js 48acd44cc8d6e81cfc22b59b0e15a38c -ui/minified/i18n/jquery.ui.datepicker-sr-SR.min.js 5718422e9b1348a077402e20424f9f66 -ui/minified/i18n/jquery.ui.datepicker-sr.min.js 8d5e638856c4c4a640efbbfa67a06f9e -ui/minified/i18n/jquery.ui.datepicker-sv.min.js 33e2fccb3bf1964dd942649daa4b14d2 -ui/minified/i18n/jquery.ui.datepicker-ta.min.js 4d75af34454f18e71c7f6b829286beb3 -ui/minified/i18n/jquery.ui.datepicker-th.min.js 20beacec2dfa6c78ee543762ee03ad1c -ui/minified/i18n/jquery.ui.datepicker-tj.min.js df19d155d63799e5039321afc218dc46 -ui/minified/i18n/jquery.ui.datepicker-tr.min.js 6f78d8d957ba57e671fee6029464400b -ui/minified/i18n/jquery.ui.datepicker-uk.min.js 9853061334dfa7a7d7713170d8703625 -ui/minified/i18n/jquery.ui.datepicker-vi.min.js 109ef6d0b866e12b5c0697fb3152f156 -ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js a37157759d3cd0fbd89fdeab1576a4a0 -ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js 11caab8d3e8f632a5c59d2ca8197eb51 -ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js 7cff0a89b3227c0a0233afbc2e31c311 -ui/minified/jquery-ui.min.js fd255415839568e52a48da5de5af244c -ui/minified/jquery.ui.accordion.min.js 1da489eb8b596be7a49f1be959249988 -ui/minified/jquery.ui.autocomplete.min.js c6c4d43ac586574589a0ec4542a890a8 -ui/minified/jquery.ui.button.min.js 1cc433c88d349c513c801378c4493f19 -ui/minified/jquery.ui.core.min.js 739cf68f21c10e04cde3ad13fcff9063 -ui/minified/jquery.ui.datepicker.min.js 4eac58ed8deb3189c8d05bab9187f1ce -ui/minified/jquery.ui.dialog.min.js 3248497acc4c9a3eae7d094860937708 -ui/minified/jquery.ui.draggable.min.js 67b603ea0e4abe708f871111fcf45738 -ui/minified/jquery.ui.droppable.min.js 79ea08a1eb866ba2039cc617ada702de -ui/minified/jquery.ui.effect-blind.min.js 625c5e7376d305ce4a11fd1277de5734 -ui/minified/jquery.ui.effect-bounce.min.js 81ee7ab27ed9b0f3556a406ff6aad80b -ui/minified/jquery.ui.effect-clip.min.js 71a13d33f3fc7de23f13adcc4593a5a2 -ui/minified/jquery.ui.effect-drop.min.js 1d045fd3777c8376972022e868891b86 -ui/minified/jquery.ui.effect-explode.min.js 3ae92de7419e58815544147641a87930 -ui/minified/jquery.ui.effect-fade.min.js 79debe8459f8ceca8443086bf29e16a0 -ui/minified/jquery.ui.effect-fold.min.js f8cda9cadd854d552cc429d799274962 -ui/minified/jquery.ui.effect-highlight.min.js 15b8d390675cf17bc3a73c3619557fb4 -ui/minified/jquery.ui.effect-pulsate.min.js 3d639b4c14c1f6b080f746b7250554c3 -ui/minified/jquery.ui.effect-scale.min.js 783b0ad56b1a8a97b76079a1d41c6f88 -ui/minified/jquery.ui.effect-shake.min.js 782fbb6948781cffd80ddf4030196952 -ui/minified/jquery.ui.effect-slide.min.js 945300af618d04041dc49a0a5d36a917 -ui/minified/jquery.ui.effect-transfer.min.js e91b94a47085eac01afbf48c8cd515f0 -ui/minified/jquery.ui.effect.min.js ea7d13d6d2212ba59159c40b2a57bd3b -ui/minified/jquery.ui.menu.min.js e0b94d0041ca790b68af39edf821d238 -ui/minified/jquery.ui.mouse.min.js 513bb6d79ab29c58ab1b32646216a3a0 -ui/minified/jquery.ui.position.min.js eb63c3d2dace62e102af74004ccd0ff1 -ui/minified/jquery.ui.progressbar.min.js 35086553121b0423a8f2eaaedca79152 -ui/minified/jquery.ui.resizable.min.js 1cca9d1d61a8a9bef77cfea0f39e793d -ui/minified/jquery.ui.selectable.min.js 6908d69d10dae3d04c23ca83a884ba6f -ui/minified/jquery.ui.slider.min.js f1b234712eabc4fea71eaadcf2e73ffa -ui/minified/jquery.ui.sortable.min.js cccbd3de04d2ff8cd30164925353c394 -ui/minified/jquery.ui.spinner.min.js ab6ea5b371afc02315dfaa7dfd4a1063 -ui/minified/jquery.ui.tabs.min.js 3d531a65189ab04b164e9ac6ff708c06 -ui/minified/jquery.ui.tooltip.min.js 4fbdb31340b01c249a0fe5112e0eeec9 -ui/minified/jquery.ui.widget.min.js 2425a542e6dde093dd85ac0b5adc0141 diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/MIT-LICENSE.txt b/97suifangqa/apps/indicator/static/plugins/jquery-ui/MIT-LICENSE.txt deleted file mode 100644 index 1c693e3..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/MIT-LICENSE.txt +++ /dev/null @@ -1,26 +0,0 @@ -Copyright 2013 jQuery Foundation and other contributors, -http://jqueryui.com/ - -This software consists of voluntary contributions made by many -individuals (AUTHORS.txt, http://jqueryui.com/about) For exact -contribution history, see the revision history and logs, available -at http://jquery-ui.googlecode.com/svn/ - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/README.md b/97suifangqa/apps/indicator/static/plugins/jquery-ui/README.md deleted file mode 100644 index e7ae90e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/README.md +++ /dev/null @@ -1,99 +0,0 @@ -[jQuery UI](http://jqueryui.com/) - Interactions and Widgets for the web -================================ - -jQuery UI provides interactions like Drag and Drop and widgets like Autocomplete, Tabs and Slider and makes these as easy to use as jQuery itself. - -If you want to use jQuery UI, go to [jqueryui.com](http://jqueryui.com) to get started. Or visit the [Using jQuery UI Forum](http://forum.jquery.com/using-jquery-ui) for discussions and questions. - -If you are interested in helping develop jQuery UI, you are in the right place. -To discuss development with team members and the community, visit the [Developing jQuery UI Forum](http://forum.jquery.com/developing-jquery-ui) or in #jquery on irc.freednode.net. - - -For contributors ---- - -If you want to help and provide a patch for a bugfix or new feature, please take -a few minutes and look at [our Getting Involved guide](http://wiki.jqueryui.com/w/page/35263114/Getting-Involved). -In particular check out the [Coding standards](http://wiki.jqueryui.com/w/page/12137737/Coding-standards) -and [Commit Message Style Guide](http://wiki.jqueryui.com/w/page/25941597/Commit-Message-Style-Guide). - -In general, fork the project, create a branch for a specific change and send a -pull request for that branch. Don't mix unrelated changes. You can use the commit -message as the description for the pull request. - - -Running the Unit Tests ---- - -Run the unit tests with a local server that supports PHP. No database is required. Pre-configured php local servers are available for Windows and Mac. Here are some options: - -- Windows: [WAMP download](http://www.wampserver.com/en/) -- Mac: [MAMP download](http://www.mamp.info/en/index.html) -- Linux: [Setting up LAMP](https://www.linux.com/learn/tutorials/288158-easy-lamp-server-installation) -- [Mongoose (most platforms)](http://code.google.com/p/mongoose/) - - -Building jQuery UI ---- - -jQuery UI uses the [grunt](http://github.com/cowboy/grunt) build system. Building jQuery UI requires node.js and a command line zip program. - -Install grunt. - -`npm install grunt -g` - -Clone the jQuery UI git repo. - -`git clone git://github.com/jquery/jquery-ui.git` - -`cd jquery-ui` - -Install node modules. - -`npm install` - -Run grunt. - -`grunt build` - -There are many other tasks that can be run through grunt. For a list of all tasks: - -`grunt --help` - - -For committers ---- - -When looking at pull requests, first check for [proper commit messages](http://wiki.jqueryui.com/w/page/12137724/Bug-Fixing-Guide). - -Do not merge pull requests directly through GitHub's interface. -Most pull requests are a single commit; cherry-picking will avoid creating a merge commit. -It's also common for contributors to make minor fixes in an additional one or two commits. -These should be squashed before landing in master. - -**Make sure the author has a valid name and email address associated with the commit.** - -Fetch the remote first: - - git fetch [their-fork.git] [their-branch] - -Then cherry-pick the commit(s): - - git cherry-pick [sha-of-commit] - -If you need to edit the commit message: - - git cherry-pick -e [sha-of-commit] - -If you need to edit the changes: - - git cherry-pick -n [sha-of-commit] - # make changes - git commit --author="[author-name-and-email]" - -If it should go to the stable brach, cherry-pick it to stable: - - git checkout 1-8-stable - git cherry-pick -x [sha-of-commit-from-master] - -*NOTE: Do not cherry-pick into 1-8-stable until you have pushed the commit from master upstream.* diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/collapsible.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/collapsible.html deleted file mode 100644 index 659dfa7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/collapsible.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - jQuery UI Accordion - Collapse content - - - - - - - - - - -
-

Section 1

-
-

Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

-
-

Section 2

-
-

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

-
-

Section 3

-
-

Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

-
    -
  • List item one
  • -
  • List item two
  • -
  • List item three
  • -
-
-

Section 4

-
-

Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

-
-
- -
-

By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the collapsible option to true. Click on the currently open section to collapse its content pane.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/custom-icons.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/custom-icons.html deleted file mode 100644 index dd5a91f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/custom-icons.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - jQuery UI Accordion - Customize icons - - - - - - - - - - - -
-

Section 1

-
-

Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

-
-

Section 2

-
-

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

-
-

Section 3

-
-

Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

-
    -
  • List item one
  • -
  • List item two
  • -
  • List item three
  • -
-
-

Section 4

-
-

Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

-
-
- - - -
-

Customize the header icons with the icons option, which accepts classes for the header's default and active (open) state. Use any class from the UI CSS framework, or create custom classes with background images.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/default.html deleted file mode 100644 index c3bcfdd..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/default.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - jQuery UI Accordion - Default functionality - - - - - - - - - - -
-

Section 1

-
-

- Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer - ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit - amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut - odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate. -

-
-

Section 2

-
-

- Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet - purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor - velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In - suscipit faucibus urna. -

-
-

Section 3

-
-

- Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. - Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero - ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis - lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. -

-
    -
  • List item one
  • -
  • List item two
  • -
  • List item three
  • -
-
-

Section 4

-
-

- Cras dictum. Pellentesque habitant morbi tristique senectus et netus - et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in - faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia - mauris vel est. -

-

- Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. - Class aptent taciti sociosqu ad litora torquent per conubia nostra, per - inceptos himenaeos. -

-
-
- -
-

-Click headers to expand/collapse content that is broken into logical sections, much like tabs. -Optionally, toggle sections open/closed on mouseover. -

-

-The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is -usable without JavaScript. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/fillspace.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/fillspace.html deleted file mode 100644 index 49f92fb..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/fillspace.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - jQuery UI Accordion - Fill space - - - - - - - - - - - - - -

Resize the outer container:

- -
-
-

Section 1

-
-

Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

-
-

Section 2

-
-

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

-
-

Section 3

-
-

Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

-
    -
  • List item one
  • -
  • List item two
  • -
  • List item three
  • -
-
-

Section 4

-
-

Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

-
-
-
- -
-

Because the accordion is comprised of block-level elements, by default its width fills the available horizontal space. To fill the vertical space allocated by its container, set the heightStyle option to "fill", and the script will automatically set the dimensions of the accordion to the height of its parent container.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/hoverintent.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/hoverintent.html deleted file mode 100644 index 0ff63a3..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/hoverintent.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - jQuery UI Accordion - Open on hoverintent - - - - - - - - - - -
-

Section 1

-
-

- Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer - ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit - amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut - odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate. -

-
-

Section 2

-
-

- Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet - purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor - velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In - suscipit faucibus urna. -

-
-

Section 3

-
-

- Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. - Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero - ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis - lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. -

-
    -
  • List item one
  • -
  • List item two
  • -
  • List item three
  • -
-
-

Section 4

-
-

- Cras dictum. Pellentesque habitant morbi tristique senectus et netus - et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in - faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia - mauris vel est. -

-

- Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. - Class aptent taciti sociosqu ad litora torquent per conubia nostra, per - inceptos himenaeos. -

-
-
- -
-

-Click headers to expand/collapse content that is broken into logical sections, much like tabs. -Optionally, toggle sections open/closed on mouseover. -

-

-The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is -usable without JavaScript. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/index.html deleted file mode 100644 index 92bd33d..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - jQuery UI Accordion Demos - - - -
- - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/no-auto-height.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/no-auto-height.html deleted file mode 100644 index 8df94cb..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/no-auto-height.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - jQuery UI Accordion - No auto height - - - - - - - - - - -
-

Section 1

-
-

Mauris mauris ante, blandit et, ultrices a, susceros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

-
-

Section 2

-
-

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

-
-

Section 3

-
-

Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

-
    -
  • List item
  • -
  • List item
  • -
  • List item
  • -
  • List item
  • -
  • List item
  • -
  • List item
  • -
  • List item
  • -
-
-
- -
-

Setting heightStyle: "content" allows the accordion panels to keep their native height.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/sortable.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/sortable.html deleted file mode 100644 index 4a25f24..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/sortable.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - jQuery UI Accordion - Sortable - - - - - - - - - - - - - -
-
-

Section 1

-
-

Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

-
-
-
-

Section 2

-
-

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

-
-
-
-

Section 3

-
-

Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

-
    -
  • List item one
  • -
  • List item two
  • -
  • List item three
  • -
-
-
-
-

Section 4

-
-

Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

-
-
-
- -
-

Drag the header to re-order panels.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/default.html deleted file mode 100644 index 97a06a2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/default.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - jQuery UI Effects - addClass demo - - - - - - - - - -
-
- Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. -
-
- -Run Effect - -
-

This demo adds a class which animates: text-indent, letter-spacing, width, height, padding, margin, and font-size.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/index.html deleted file mode 100644 index 3620fd7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - jQuery UI Effects Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/default.html deleted file mode 100644 index 4095cee..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/default.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - jQuery UI Effects - Animate demo - - - - - - - - - -
-
-

Animate

-

- Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. -

-
-
- -Toggle Effect - -
-

Click the button above to preview the effect.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/index.html deleted file mode 100644 index 3620fd7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - jQuery UI Effects Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/categories.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/categories.html deleted file mode 100644 index 8fe7e0b..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/categories.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - jQuery UI Autocomplete - Categories - - - - - - - - - - - - - - - - - -
-

A categorized search result. Try typing "a" or "n".

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/combobox.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/combobox.html deleted file mode 100644 index 6b1c445..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/combobox.html +++ /dev/null @@ -1,213 +0,0 @@ - - - - - jQuery UI Autocomplete - Combobox - - - - - - - - - - - - - - - -
- - -
- - -
-

A custom widget built by composition of Autocomplete and Button. You can either type something into the field to get filtered suggestions based on your input, or use the button to get the full list of selections.

-

The input is read from an existing select-element for progressive enhancement, passed to Autocomplete with a customized source-option.

-

This is not a supported or even complete widget. Its purely for demoing what autocomplete can do with a bit of customization. For a detailed explanation of how the widget works, check out this Learning jQuery article.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/custom-data.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/custom-data.html deleted file mode 100644 index 4e518db..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/custom-data.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - jQuery UI Autocomplete - Custom data and display - - - - - - - - - - - - - -
Select a project (type "j" for a start):
- - - -

- -
-

You can use your own custom data formats and displays by simply overriding the default focus and select actions.

-

Try typing "j" to get a list of projects or just press the down arrow.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/default.html deleted file mode 100644 index f904eac..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/default.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - jQuery UI Autocomplete - Default functionality - - - - - - - - - - - - -
- - -
- -
-

The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are tags for programming languages, give "ja" (for Java or JavaScript) a try.

-

The datasource is a simple JavaScript array, provided to the widget using the source-option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/folding.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/folding.html deleted file mode 100644 index 51a893b..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/folding.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - jQuery UI Autocomplete - Accent folding - - - - - - - - - - - - -
-
- - -
-
- -
-

The autocomplete field uses a custom source option which will match results that have accented characters even when the text field doesn't contain accented characters. However if the you type in accented characters in the text field it is smart enough not to show results that aren't accented.

-

Try typing "Jo" to see "John" and "Jörn", then type "Jö" to see only "Jörn".

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png deleted file mode 100644 index 9312f02..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png deleted file mode 100644 index e003d16..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png deleted file mode 100644 index 4ce0704..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png deleted file mode 100644 index c2da5b8..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif deleted file mode 100644 index 084ecb8..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/index.html deleted file mode 100644 index faa18d4..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - jQuery UI Autocomplete Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/london.xml b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/london.xml deleted file mode 100644 index 2628549..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/london.xml +++ /dev/null @@ -1,114 +0,0 @@ - - -6987 - -London -51.5084152563931 --0.125532746315002 -2643743 -GB -United Kingdom - -P -PPLC - - -London -42.983389283 --81.233042387 -6058560 -CA -Canada - -P -PPL - - -East London --33.0152850934643 -27.9116249084473 -1006984 -ZA -South Africa - -P -PPL - - -City -51.5133363996235 --0.0890064239501953 -2643744 -GB -United Kingdom - -A -ADM2 - - -London -37.1289771 --84.0832646 -4298960 -US -United States - -P -PPL - - -The Tower of London -51.5082349601834 --0.0763034820556641 -6286786 -GB -United Kingdom - -S -CSTL - - -London Reefs -8.85 -112.5333333 -1879967 - - - -U -RFSU - - -Greater London -51.5 --0.1666667 -2648110 -GB -United Kingdom - -A -ADM2 - - -London -46.1666667 -6.0166667 -2661811 -CH -Switzerland - -H -STM - - -London Borough of Islington -51.5333333 --0.1333333 -3333156 -GB -United Kingdom - -A -ADM2 - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/maxheight.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/maxheight.html deleted file mode 100644 index b576429..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/maxheight.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - jQuery UI Autocomplete - Scrollable results - - - - - - - - - - - - - -
- - -
- -
-

When displaying a long list of options, you can simply set the max-height for the autocomplete menu to prevent the menu from growing too large. Try typing "a" or "s" above to get a long list of results that you can scroll through.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple-remote.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple-remote.html deleted file mode 100644 index ed27562..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple-remote.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - jQuery UI Autocomplete - Multiple, remote - - - - - - - - - - - - - -
- - -
- -
-

Usage: Enter at least two characters to get bird name suggestions. Select a value to continue adding more names.

-

This is an example showing how to use the source-option along with some events to enable autocompleting multiple values into a single field.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple.html deleted file mode 100644 index 68ae3d6..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - jQuery UI Autocomplete - Multiple values - - - - - - - - - - - - -
- - -
- -
-

Usage: Type something, eg. "j" to see suggestions for tagging with programming languages. Select a value, then continue typing to add more.

-

This is an example showing how to use the source-option along with some events to enable autocompleting multiple values into a single field.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html deleted file mode 100644 index 49083bd..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - jQuery UI Autocomplete - Remote JSONP datasource - - - - - - - - - - - - - -
- - - Powered by geonames.org -
- -
- Result: -
-
- -
-

The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are cities, displayed when at least two characters are entered into the field.

-

In this case, the datasource is the geonames.org webservice. While only the city name itself ends up in the input after selecting an element, more info is displayed in the suggestions to help find the right entry. That data is also available in callbacks, as illustrated by the Result area below the input.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-with-cache.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-with-cache.html deleted file mode 100644 index b47608d..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-with-cache.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - jQuery UI Autocomplete - Remote with caching - - - - - - - - - - - - - -
- - -
- -
-

The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are bird names, displayed when at least two characters are entered into the field.

-

Similar to the remote datasource demo, though this adds some local caching to improve performance. The cache here saves just one query, and could be extended to cache multiple values, one for each term.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote.html deleted file mode 100644 index fefe035..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - jQuery UI Autocomplete - Remote datasource - - - - - - - - - - - - - -
- - -
- -
- Result: -
-
- -
-

The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are bird names, displayed when at least two characters are entered into the field.

-

The datasource is a server-side script which returns JSON data, specified via a simple URL for the source-option. In addition, the minLength-option is set to 2 to avoid queries that would return too many results and the select-event is used to display some feedback.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/search.php b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/search.php deleted file mode 100644 index 835772d..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/search.php +++ /dev/null @@ -1,590 +0,0 @@ -"Botaurus stellaris", -"Little Grebe"=>"Tachybaptus ruficollis", -"Black-necked Grebe"=>"Podiceps nigricollis", -"Little Bittern"=>"Ixobrychus minutus", -"Black-crowned Night Heron"=>"Nycticorax nycticorax", -"Purple Heron"=>"Ardea purpurea", -"White Stork"=>"Ciconia ciconia", -"Spoonbill"=>"Platalea leucorodia", -"Red-crested Pochard"=>"Netta rufina", -"Common Eider"=>"Somateria mollissima", -"Red Kite"=>"Milvus milvus", -"Hen Harrier"=>"Circus cyaneus", -"Montagu`s Harrier"=>"Circus pygargus", -"Black Grouse"=>"Tetrao tetrix", -"Grey Partridge"=>"Perdix perdix", -"Spotted Crake"=>"Porzana porzana", -"Corncrake"=>"Crex crex", -"Common Crane"=>"Grus grus", -"Avocet"=>"Recurvirostra avosetta", -"Stone Curlew"=>"Burhinus oedicnemus", -"Common Ringed Plover"=>"Charadrius hiaticula", -"Kentish Plover"=>"Charadrius alexandrinus", -"Ruff"=>"Philomachus pugnax", -"Common Snipe"=>"Gallinago gallinago", -"Black-tailed Godwit"=>"Limosa limosa", -"Common Redshank"=>"Tringa totanus", -"Sandwich Tern"=>"Sterna sandvicensis", -"Common Tern"=>"Sterna hirundo", -"Arctic Tern"=>"Sterna paradisaea", -"Little Tern"=>"Sternula albifrons", -"Black Tern"=>"Chlidonias niger", -"Barn Owl"=>"Tyto alba", -"Little Owl"=>"Athene noctua", -"Short-eared Owl"=>"Asio flammeus", -"European Nightjar"=>"Caprimulgus europaeus", -"Common Kingfisher"=>"Alcedo atthis", -"Eurasian Hoopoe"=>"Upupa epops", -"Eurasian Wryneck"=>"Jynx torquilla", -"European Green Woodpecker"=>"Picus viridis", -"Crested Lark"=>"Galerida cristata", -"White-headed Duck"=>"Oxyura leucocephala", -"Pale-bellied Brent Goose"=>"Branta hrota", -"Tawny Pipit"=>"Anthus campestris", -"Whinchat"=>"Saxicola rubetra", -"European Stonechat"=>"Saxicola rubicola", -"Northern Wheatear"=>"Oenanthe oenanthe", -"Savi`s Warbler"=>"Locustella luscinioides", -"Sedge Warbler"=>"Acrocephalus schoenobaenus", -"Great Reed Warbler"=>"Acrocephalus arundinaceus", -"Bearded Reedling"=>"Panurus biarmicus", -"Red-backed Shrike"=>"Lanius collurio", -"Great Grey Shrike"=>"Lanius excubitor", -"Woodchat Shrike"=>"Lanius senator", -"Common Raven"=>"Corvus corax", -"Yellowhammer"=>"Emberiza citrinella", -"Ortolan Bunting"=>"Emberiza hortulana", -"Corn Bunting"=>"Emberiza calandra", -"Great Cormorant"=>"Phalacrocorax carbo", -"Hawfinch"=>"Coccothraustes coccothraustes", -"Common Shelduck"=>"Tadorna tadorna", -"Bluethroat"=>"Luscinia svecica", -"Grey Heron"=>"Ardea cinerea", -"Barn Swallow"=>"Hirundo rustica", -"Hooded Crow"=>"Corvus cornix", -"Dunlin"=>"Calidris alpina", -"Eurasian Pied Flycatcher"=>"Ficedula hypoleuca", -"Eurasian Nuthatch"=>"Sitta europaea", -"Short-toed Tree Creeper"=>"Certhia brachydactyla", -"Wood Lark"=>"Lullula arborea", -"Tree Pipit"=>"Anthus trivialis", -"Eurasian Hobby"=>"Falco subbuteo", -"Marsh Warbler"=>"Acrocephalus palustris", -"Wood Sandpiper"=>"Tringa glareola", -"Tawny Owl"=>"Strix aluco", -"Lesser Whitethroat"=>"Sylvia curruca", -"Barnacle Goose"=>"Branta leucopsis", -"Common Goldeneye"=>"Bucephala clangula", -"Western Marsh Harrier"=>"Circus aeruginosus", -"Common Buzzard"=>"Buteo buteo", -"Sanderling"=>"Calidris alba", -"Little Gull"=>"Larus minutus", -"Eurasian Magpie"=>"Pica pica", -"Willow Warbler"=>"Phylloscopus trochilus", -"Wood Warbler"=>"Phylloscopus sibilatrix", -"Great Crested Grebe"=>"Podiceps cristatus", -"Eurasian Jay"=>"Garrulus glandarius", -"Common Redstart"=>"Phoenicurus phoenicurus", -"Blue-headed Wagtail"=>"Motacilla flava", -"Common Swift"=>"Apus apus", -"Marsh Tit"=>"Poecile palustris", -"Goldcrest"=>"Regulus regulus", -"European Golden Plover"=>"Pluvialis apricaria", -"Eurasian Bullfinch"=>"Pyrrhula pyrrhula", -"Common Whitethroat"=>"Sylvia communis", -"Meadow Pipit"=>"Anthus pratensis", -"Greylag Goose"=>"Anser anser", -"Spotted Flycatcher"=>"Muscicapa striata", -"European Greenfinch"=>"Carduelis chloris", -"Common Greenshank"=>"Tringa nebularia", -"Great Spotted Woodpecker"=>"Dendrocopos major", -"Greater Canada Goose"=>"Branta canadensis", -"Mistle Thrush"=>"Turdus viscivorus", -"Great Black-backed Gull"=>"Larus marinus", -"Goosander"=>"Mergus merganser", -"Great Egret"=>"Casmerodius albus", -"Northern Goshawk"=>"Accipiter gentilis", -"Dunnock"=>"Prunella modularis", -"Stock Dove"=>"Columba oenas", -"Common Wood Pigeon"=>"Columba palumbus", -"Eurasian Woodcock"=>"Scolopax rusticola", -"House Sparrow"=>"Passer domesticus", -"Common House Martin"=>"Delichon urbicum", -"Red Knot"=>"Calidris canutus", -"Western Jackdaw"=>"Corvus monedula", -"Brambling"=>"Fringilla montifringilla", -"Northern Lapwing"=>"Vanellus vanellus", -"European Reed Warbler"=>"Acrocephalus scirpaceus", -"Lesser Black-backed Gull"=>"Larus fuscus", -"Little Egret"=>"Egretta garzetta", -"Little Stint"=>"Calidris minuta", -"Common Linnet"=>"Carduelis cannabina", -"Mute Swan"=>"Cygnus olor", -"Common Cuckoo"=>"Cuculus canorus", -"Black-headed Gull"=>"Larus ridibundus", -"Greater White-fronted Goose"=>"Anser albifrons", -"Great Tit"=>"Parus major", -"Redwing"=>"Turdus iliacus", -"Gadwall"=>"Anas strepera", -"Fieldfare"=>"Turdus pilaris", -"Tufted Duck"=>"Aythya fuligula", -"Crested Tit"=>"Lophophanes cristatus", -"Willow Tit"=>"Poecile montanus", -"Eurasian Coot"=>"Fulica atra", -"Common Blackbird"=>"Turdus merula", -"Smew"=>"Mergus albellus", -"Common Sandpiper"=>"Actitis hypoleucos", -"Sand Martin"=>"Riparia riparia", -"Purple Sandpiper"=>"Calidris maritima", -"Northern Pintail"=>"Anas acuta", -"Blue Tit"=>"Cyanistes caeruleus", -"European Goldfinch"=>"Carduelis carduelis", -"Eurasian Whimbrel"=>"Numenius phaeopus", -"Common Reed Bunting"=>"Emberiza schoeniclus", -"Eurasian Tree Sparrow"=>"Passer montanus", -"Rook"=>"Corvus frugilegus", -"European Robin"=>"Erithacus rubecula", -"Bar-tailed Godwit"=>"Limosa lapponica", -"Dark-bellied Brent Goose"=>"Branta bernicla", -"Eurasian Oystercatcher"=>"Haematopus ostralegus", -"Eurasian Siskin"=>"Carduelis spinus", -"Northern Shoveler"=>"Anas clypeata", -"Eurasian Wigeon"=>"Anas penelope", -"Eurasian Sparrow Hawk"=>"Accipiter nisus", -"Icterine Warbler"=>"Hippolais icterina", -"Common Starling"=>"Sturnus vulgaris", -"Long-tailed Tit"=>"Aegithalos caudatus", -"Ruddy Turnstone"=>"Arenaria interpres", -"Mew Gull"=>"Larus canus", -"Common Pochard"=>"Aythya ferina", -"Common Chiffchaff"=>"Phylloscopus collybita", -"Greater Scaup"=>"Aythya marila", -"Common Kestrel"=>"Falco tinnunculus", -"Garden Warbler"=>"Sylvia borin", -"Eurasian Collared Dove"=>"Streptopelia decaocto", -"Eurasian Skylark"=>"Alauda arvensis", -"Common Chaffinch"=>"Fringilla coelebs", -"Common Moorhen"=>"Gallinula chloropus", -"Water Pipit"=>"Anthus spinoletta", -"Mallard"=>"Anas platyrhynchos", -"Winter Wren"=>"Troglodytes troglodytes", -"Common Teal"=>"Anas crecca", -"Green Sandpiper"=>"Tringa ochropus", -"White Wagtail"=>"Motacilla alba", -"Eurasian Curlew"=>"Numenius arquata", -"Song Thrush"=>"Turdus philomelos", -"European Herring Gull"=>"Larus argentatus", -"Grey Plover"=>"Pluvialis squatarola", -"Carrion Crow"=>"Corvus corone", -"Coal Tit"=>"Periparus ater", -"Spotted Redshank"=>"Tringa erythropus", -"Blackcap"=>"Sylvia atricapilla", -"Egyptian Vulture"=>"Neophron percnopterus", -"Razorbill"=>"Alca torda", -"Alpine Swift"=>"Apus melba", -"Long-legged Buzzard"=>"Buteo rufinus", -"Audouin`s Gull"=>"Larus audouinii", -"Balearic Shearwater"=>"Puffinus mauretanicus", -"Upland Sandpiper"=>"Bartramia longicauda", -"Greater Spotted Eagle"=>"Aquila clanga", -"Ring Ouzel"=>"Turdus torquatus", -"Yellow-browed Warbler"=>"Phylloscopus inornatus", -"Blue Rock Thrush"=>"Monticola solitarius", -"Buff-breasted Sandpiper"=>"Tryngites subruficollis", -"Jack Snipe"=>"Lymnocryptes minimus", -"White-rumped Sandpiper"=>"Calidris fuscicollis", -"Ruddy Shelduck"=>"Tadorna ferruginea", -"Cetti's Warbler"=>"Cettia cetti", -"Citrine Wagtail"=>"Motacilla citreola", -"Roseate Tern"=>"Sterna dougallii", -"Black-legged Kittiwake"=>"Rissa tridactyla", -"Pygmy Cormorant"=>"Phalacrocorax pygmeus", -"Booted Eagle"=>"Aquila pennata", -"Lesser White-fronted Goose"=>"Anser erythropus", -"Little Bunting"=>"Emberiza pusilla", -"Eleonora's Falcon"=>"Falco eleonorae", -"European Serin"=>"Serinus serinus", -"Twite"=>"Carduelis flavirostris", -"Yellow-legged Gull"=>"Larus michahellis", -"Gyr Falcon"=>"Falco rusticolus", -"Greenish Warbler"=>"Phylloscopus trochiloides", -"Red-necked Phalarope"=>"Phalaropus lobatus", -"Mealy Redpoll"=>"Carduelis flammea", -"Glaucous Gull"=>"Larus hyperboreus", -"Great Skua"=>"Stercorarius skua", -"Great Bustard"=>"Otis tarda", -"Velvet Scoter"=>"Melanitta fusca", -"Pine Grosbeak"=>"Pinicola enucleator", -"House Crow"=>"Corvus splendens", -"Hume`s Leaf Warbler"=>"Phylloscopus humei", -"Great Northern Loon"=>"Gavia immer", -"Long-tailed Duck"=>"Clangula hyemalis", -"Lapland Longspur"=>"Calcarius lapponicus", -"Northern Gannet"=>"Morus bassanus", -"Eastern Imperial Eagle"=>"Aquila heliaca", -"Little Auk"=>"Alle alle", -"Lesser Spotted Woodpecker"=>"Dendrocopos minor", -"Iceland Gull"=>"Larus glaucoides", -"Parasitic Jaeger"=>"Stercorarius parasiticus", -"Bewick`s Swan"=>"Cygnus bewickii", -"Little Bustard"=>"Tetrax tetrax", -"Little Crake"=>"Porzana parva", -"Baillon`s Crake"=>"Porzana pusilla", -"Long-tailed Jaeger"=>"Stercorarius longicaudus", -"King Eider"=>"Somateria spectabilis", -"Greater Short-toed Lark"=>"Calandrella brachydactyla", -"Houbara Bustard"=>"Chlamydotis undulata", -"Curlew Sandpiper"=>"Calidris ferruginea", -"Common Crossbill"=>"Loxia curvirostra", -"European Shag"=>"Phalacrocorax aristotelis", -"Horned Grebe"=>"Podiceps auritus", -"Common Quail"=>"Coturnix coturnix", -"Bearded Vulture"=>"Gypaetus barbatus", -"Lanner Falcon"=>"Falco biarmicus", -"Middle Spotted Woodpecker"=>"Dendrocopos medius", -"Pomarine Jaeger"=>"Stercorarius pomarinus", -"Red-breasted Merganser"=>"Mergus serrator", -"Eurasian Black Vulture"=>"Aegypius monachus", -"Eurasian Dotterel"=>"Charadrius morinellus", -"Common Nightingale"=>"Luscinia megarhynchos", -"Northern willow warbler"=>"Phylloscopus trochilus acredula", -"Manx Shearwater"=>"Puffinus puffinus", -"Northern Fulmar"=>"Fulmarus glacialis", -"Eurasian Eagle Owl"=>"Bubo bubo", -"Orphean Warbler"=>"Sylvia hortensis", -"Melodious Warbler"=>"Hippolais polyglotta", -"Pallas's Leaf Warbler"=>"Phylloscopus proregulus", -"Atlantic Puffin"=>"Fratercula arctica", -"Black-throated Loon"=>"Gavia arctica", -"Bohemian Waxwing"=>"Bombycilla garrulus", -"Marsh Sandpiper"=>"Tringa stagnatilis", -"Great Snipe"=>"Gallinago media", -"Squacco Heron"=>"Ardeola ralloides", -"Long-eared Owl"=>"Asio otus", -"Caspian Tern"=>"Hydroprogne caspia", -"Red-breasted Goose"=>"Branta ruficollis", -"Red-throated Loon"=>"Gavia stellata", -"Common Rosefinch"=>"Carpodacus erythrinus", -"Red-footed Falcon"=>"Falco vespertinus", -"Ross's Goose"=>"Anser rossii", -"Red Phalarope"=>"Phalaropus fulicarius", -"Pied Wagtail"=>"Motacilla yarrellii", -"Rose-coloured Starling"=>"Sturnus roseus", -"Rough-legged Buzzard"=>"Buteo lagopus", -"Saker Falcon"=>"Falco cherrug", -"European Roller"=>"Coracias garrulus", -"Short-toed Eagle"=>"Circaetus gallicus", -"Peregrine Falcon"=>"Falco peregrinus", -"Merlin"=>"Falco columbarius", -"Snow Goose"=>"Anser caerulescens", -"Snowy Owl"=>"Bubo scandiacus", -"Snow Bunting"=>"Plectrophenax nivalis", -"Common Grasshopper Warbler"=>"Locustella naevia", -"Golden Eagle"=>"Aquila chrysaetos", -"Black-winged Stilt"=>"Himantopus himantopus", -"Steppe Eagle"=>"Aquila nipalensis", -"Pallid Harrier"=>"Circus macrourus", -"European Storm-petrel"=>"Hydrobates pelagicus", -"Horned Lark"=>"Eremophila alpestris", -"Eurasian Treecreeper"=>"Certhia familiaris", -"Taiga Bean Goose"=>"Anser fabalis", -"Temminck`s Stint"=>"Calidris temminckii", -"Terek Sandpiper"=>"Xenus cinereus", -"Tundra Bean Goose"=>"Anser serrirostris", -"European Turtle Dove"=>"Streptopelia turtur", -"Leach`s Storm-petrel"=>"Oceanodroma leucorhoa", -"Eurasian Griffon Vulture"=>"Gyps fulvus", -"Paddyfield Warbler"=>"Acrocephalus agricola", -"Osprey"=>"Pandion haliaetus", -"Firecrest"=>"Regulus ignicapilla", -"Water Rail"=>"Rallus aquaticus", -"European Honey Buzzard"=>"Pernis apivorus", -"Eurasian Golden Oriole"=>"Oriolus oriolus", -"Whooper Swan"=>"Cygnus cygnus", -"Two-barred Crossbill"=>"Loxia leucoptera", -"White-tailed Eagle"=>"Haliaeetus albicilla", -"Atlantic Murre"=>"Uria aalge", -"Garganey"=>"Anas querquedula", -"Black Redstart"=>"Phoenicurus ochruros", -"Common Scoter"=>"Melanitta nigra", -"Rock Pipit"=>"Anthus petrosus", -"Lesser Spotted Eagle"=>"Aquila pomarina", -"Cattle Egret"=>"Bubulcus ibis", -"White-winged Black Tern"=>"Chlidonias leucopterus", -"Black Stork"=>"Ciconia nigra", -"Mediterranean Gull"=>"Larus melanocephalus", -"Black Kite"=>"Milvus migrans", -"Yellow Wagtail"=>"Motacilla flavissima", -"Red-necked Grebe"=>"Podiceps grisegena", -"Gull-billed Tern"=>"Gelochelidon nilotica", -"Pectoral Sandpiper"=>"Calidris melanotos", -"Barred Warbler"=>"Sylvia nisoria", -"Red-throated Pipit"=>"Anthus cervinus", -"Grey Wagtail"=>"Motacilla cinerea", -"Richard`s Pipit"=>"Anthus richardi", -"Black Woodpecker"=>"Dryocopus martius", -"Little Ringed Plover"=>"Charadrius dubius", -"Whiskered Tern"=>"Chlidonias hybrida", -"Lesser Redpoll"=>"Carduelis cabaret", -"Pallas' Bunting"=>"Emberiza pallasi", -"Ferruginous Duck"=>"Aythya nyroca", -"Whistling Swan"=>"Cygnus columbianus", -"Black Brant"=>"Branta nigricans", -"Marbled Teal"=>"Marmaronetta angustirostris", -"Canvasback"=>"Aythya valisineria", -"Redhead"=>"Aythya americana", -"Lesser Scaup"=>"Aythya affinis", -"Steller`s Eider"=>"Polysticta stelleri", -"Spectacled Eider"=>"Somateria fischeri", -"Harlequin Duck"=>"Histronicus histrionicus", -"Black Scoter"=>"Melanitta americana", -"Surf Scoter"=>"Melanitta perspicillata", -"Barrow`s Goldeneye"=>"Bucephala islandica", -"Falcated Duck"=>"Anas falcata", -"American Wigeon"=>"Anas americana", -"Blue-winged Teal"=>"Anas discors", -"American Black Duck"=>"Anas rubripes", -"Baikal Teal"=>"Anas formosa", -"Green-Winged Teal"=>"Anas carolinensis", -"Hazel Grouse"=>"Bonasa bonasia", -"Rock Partridge"=>"Alectoris graeca", -"Red-legged Partridge"=>"Alectoris rufa", -"Yellow-billed Loon"=>"Gavia adamsii", -"Cory`s Shearwater"=>"Calonectris borealis", -"Madeiran Storm-Petrel"=>"Oceanodroma castro", -"Great White Pelican"=>"Pelecanus onocrotalus", -"Dalmatian Pelican"=>"Pelecanus crispus", -"American Bittern"=>"Botaurus lentiginosus", -"Glossy Ibis"=>"Plegadis falcinellus", -"Spanish Imperial Eagle"=>"Aquila adalberti", -"Lesser Kestrel"=>"Falco naumanni", -"Houbara Bustard"=>"Chlamydotis undulata", -"Crab-Plover"=>"Dromas ardeola", -"Cream-coloured Courser"=>"Cursorius cursor", -"Collared Pratincole"=>"Glareola pratincola", -"Black-winged Pratincole"=>"Glareola nordmanni", -"Killdeer"=>"Charadrius vociferus", -"Lesser Sand Plover"=>"Charadrius mongolus", -"Greater Sand Plover"=>"Charadrius leschenaultii", -"Caspian Plover"=>"Charadrius asiaticus", -"American Golden Plover"=>"Pluvialis dominica", -"Pacific Golden Plover"=>"Pluvialis fulva", -"Sharp-tailed Sandpiper"=>"Calidris acuminata", -"Broad-billed Sandpiper"=>"Limicola falcinellus", -"Spoon-Billed Sandpiper"=>"Eurynorhynchus pygmaeus", -"Short-Billed Dowitcher"=>"Limnodromus griseus", -"Long-billed Dowitcher"=>"Limnodromus scolopaceus", -"Hudsonian Godwit"=>"Limosa haemastica", -"Little Curlew"=>"Numenius minutus", -"Lesser Yellowlegs"=>"Tringa flavipes", -"Wilson`s Phalarope"=>"Phalaropus tricolor", -"Pallas`s Gull"=>"Larus ichthyaetus", -"Laughing Gull"=>"Larus atricilla", -"Franklin`s Gull"=>"Larus pipixcan", -"Bonaparte`s Gull"=>"Larus philadelphia", -"Ring-billed Gull"=>"Larus delawarensis", -"American Herring Gull"=>"Larus smithsonianus", -"Caspian Gull"=>"Larus cachinnans", -"Ivory Gull"=>"Pagophila eburnea", -"Royal Tern"=>"Sterna maxima", -"Brünnich`s Murre"=>"Uria lomvia", -"Crested Auklet"=>"Aethia cristatella", -"Parakeet Auklet"=>"Cyclorrhynchus psittacula", -"Tufted Puffin"=>"Lunda cirrhata", -"Laughing Dove"=>"Streptopelia senegalensis", -"Great Spotted Cuckoo"=>"Clamator glandarius", -"Great Grey Owl"=>"Strix nebulosa", -"Tengmalm`s Owl"=>"Aegolius funereus", -"Red-Necked Nightjar"=>"Caprimulgus ruficollis", -"Chimney Swift"=>"Chaetura pelagica", -"Green Bea-Eater"=>"Merops orientalis", -"Grey-headed Woodpecker"=>"Picus canus", -"Lesser Short-Toed Lark"=>"Calandrella rufescens", -"Eurasian Crag Martin"=>"Hirundo rupestris", -"Red-rumped Swallow"=>"Cecropis daurica", -"Blyth`s Pipit"=>"Anthus godlewskii", -"Pechora Pipit"=>"Anthus gustavi", -"Grey-headed Wagtail"=>"Motacilla thunbergi", -"Yellow-Headed Wagtail"=>"Motacilla lutea", -"White-throated Dipper"=>"Cinclus cinclus", -"Rufous-Tailed Scrub Robin"=>"Cercotrichas galactotes", -"Thrush Nightingale"=>"Luscinia luscinia", -"White-throated Robin"=>"Irania gutturalis", -"Caspian Stonechat"=>"Saxicola maura variegata", -"Western Black-eared Wheatear"=>"Oenanthe hispanica", -"Rufous-tailed Rock Thrush"=>"Monticola saxatilis", -"Red-throated Thrush/Black-throated"=>"Turdus ruficollis", -"American Robin"=>"Turdus migratorius", -"Zitting Cisticola"=>"Cisticola juncidis", -"Lanceolated Warbler"=>"Locustella lanceolata", -"River Warbler"=>"Locustella fluviatilis", -"Blyth`s Reed Warbler"=>"Acrocephalus dumetorum", -"Caspian Reed Warbler"=>"Acrocephalus fuscus", -"Aquatic Warbler"=>"Acrocephalus paludicola", -"Booted Warbler"=>"Acrocephalus caligatus", -"Marmora's Warbler"=>"Sylvia sarda", -"Dartford Warbler"=>"Sylvia undata", -"Subalpine Warbler"=>"Sylvia cantillans", -"Ménétries's Warbler"=>"Sylvia mystacea", -"Rüppel's Warbler"=>"Sylvia rueppelli", -"Asian Desert Warbler"=>"Sylvia nana", -"Western Orphean Warbler"=>"Sylvia hortensis hortensis", -"Arctic Warbler"=>"Phylloscopus borealis", -"Radde`s Warbler"=>"Phylloscopus schwarzi", -"Western Bonelli`s Warbler"=>"Phylloscopus bonelli", -"Red-breasted Flycatcher"=>"Ficedula parva", -"Eurasian Penduline Tit"=>"Remiz pendulinus", -"Daurian Shrike"=>"Lanius isabellinus", -"Long-Tailed Shrike"=>"Lanius schach", -"Lesser Grey Shrike"=>"Lanius minor", -"Southern Grey Shrike"=>"Lanius meridionalis", -"Masked Shrike"=>"Lanius nubicus", -"Spotted Nutcracker"=>"Nucifraga caryocatactes", -"Daurian Jackdaw"=>"Corvus dauuricus", -"Purple-Backed Starling"=>"Sturnus sturninus", -"Red-Fronted Serin"=>"Serinus pusillus", -"Arctic Redpoll"=>"Carduelis hornemanni", -"Scottish Crossbill"=>"Loxia scotica", -"Parrot Crossbill"=>"Loxia pytyopsittacus", -"Black-faced Bunting"=>"Emberiza spodocephala", -"Pink-footed Goose"=>"Anser brachyrhynchus", -"Black-winged Kite"=>"Elanus caeruleus", -"European Bee-eater"=>"Merops apiaster", -"Sabine`s Gull"=>"Larus sabini", -"Sooty Shearwater"=>"Puffinus griseus", -"Lesser Canada Goose"=>"Branta hutchinsii", -"Ring-necked Duck"=>"Aythya collaris", -"Greater Flamingo"=>"Phoenicopterus roseus", -"Iberian Chiffchaff"=>"Phylloscopus ibericus", -"Ashy-headed Wagtail"=>"Motacilla cinereocapilla", -"Stilt Sandpiper"=>"Calidris himantopus", -"Siberian Stonechat"=>"Saxicola maurus", -"Greater Yellowlegs"=>"Tringa melanoleuca", -"Forster`s Tern"=>"Sterna forsteri", -"Dusky Warbler"=>"Phylloscopus fuscatus", -"Cirl Bunting"=>"Emberiza cirlus", -"Olive-backed Pipit"=>"Anthus hodgsoni", -"Sociable Lapwing"=>"Vanellus gregarius", -"Spotted Sandpiper"=>"Actitis macularius", -"Baird`s Sandpiper"=>"Calidris bairdii", -"Rustic Bunting"=>"Emberiza rustica", -"Yellow-browed Bunting"=>"Emberiza chrysophrys", -"Great Shearwater"=>"Puffinus gravis", -"Bonelli`s Eagle"=>"Aquila fasciata", -"Calandra Lark"=>"Melanocorypha calandra", -"Sardinian Warbler"=>"Sylvia melanocephala", -"Ross's Gull"=>"Larus roseus", -"Yellow-Breasted Bunting"=>"Emberiza aureola", -"Pine Bunting"=>"Emberiza leucocephalos", -"Black Guillemot"=>"Cepphus grylle", -"Pied-billed Grebe"=>"Podilymbus podiceps", -"Soft-plumaged Petrel"=>"Pterodroma mollis", -"Bulwer's Petrel"=>"Bulweria bulwerii", -"White-Faced Storm-Petrel"=>"Pelagodroma marina", -"Pallas’s Fish Eagle"=>"Haliaeetus leucoryphus", -"Sandhill Crane"=>"Grus canadensis", -"Macqueen’s Bustard"=>"Chlamydotis macqueenii", -"White-tailed Lapwing"=>"Vanellus leucurus", -"Great Knot"=>"Calidris tenuirostris", -"Semipalmated Sandpiper"=>"Calidris pusilla", -"Red-necked Stint"=>"Calidris ruficollis", -"Slender-billed Curlew"=>"Numenius tenuirostris", -"Bridled Tern"=>"Onychoprion anaethetus", -"Pallas’s Sandgrouse"=>"Syrrhaptes paradoxus", -"European Scops Owl"=>"Otus scops", -"Northern Hawk Owl"=>"Surnia ulula", -"White-Throated Needletail"=>"Hirundapus caudacutus", -"Belted Kingfisher"=>"Ceryle alcyon", -"Blue-cheeked Bee-eater"=>"Merops persicus", -"Black-headed Wagtail"=>"Motacilla feldegg", -"Northern Mockingbird"=>"Mimus polyglottos", -"Alpine Accentor"=>"Prunella collaris", -"Red-flanked Bluetail"=>"Tarsiger cyanurus", -"Isabelline Wheatear"=>"Oenanthe isabellina", -"Pied Wheatear"=>"Oenanthe pleschanka", -"Eastern Black-eared Wheatear"=>"Oenanthe melanoleuca", -"Desert Wheatear"=>"Oenanthe deserti", -"White`s Thrush"=>"Zoothera aurea", -"Siberian Thrush"=>"Zoothera sibirica", -"Eyebrowed Thrush"=>"Turdus obscurus", -"Dusky Thrush"=>"Turdus eunomus", -"Black-throated Thrush"=>"Turdus atrogularis", -"Pallas`s Grasshopper Warbler"=>"Locustella certhiola", -"Spectacled Warbler"=>"Sylvia conspicillata", -"Two-barred Warbler"=>"Phylloscopus plumbeitarsus", -"Eastern Bonelli’s Warbler"=>"Phylloscopus orientalis", -"Collared Flycatcher"=>"Ficedula albicollis", -"Wallcreeper"=>"Tichodroma muraria", -"Turkestan Shrike"=>"Lanius phoenicuroides", -"Steppe Grey Shrike"=>"Lanius pallidirostris", -"Spanish Sparrow"=>"Passer hispaniolensis", -"Red-eyed Vireo"=>"Vireo olivaceus", -"Myrtle Warbler"=>"Dendroica coronata", -"White-crowned Sparrow"=>"Zonotrichia leucophrys", -"White-throated Sparrow"=>"Zonotrichia albicollis", -"Cretzschmar`s Bunting"=>"Emberiza caesia", -"Chestnut Bunting"=>"Emberiza rutila", -"Red-headed Bunting"=>"Emberiza bruniceps", -"Black-headed Bunting"=>"Emberiza melanocephala", -"Indigo Bunting"=>"Passerina cyanea", -"Balearic Woodchat Shrike"=>"Lanius senator badius", -"Demoiselle Crane"=>"Grus virgo", -"Chough"=>"Pyrrhocorax pyrrhocorax", -"Red-Billed Chough"=>"Pyrrhocorax graculus", -"Elegant Tern"=>"Sterna elegans", -"Chukar"=>"Alectoris chukar", -"Yellow-Billed Cuckoo"=>"Coccyzus americanus", -"American Sandwich Tern"=>"Sterna sandvicensis acuflavida", -"Olive-Tree Warbler"=>"Hippolais olivetorum", -"Eastern Olivaceous Warbler"=>"Acrocephalus pallidus", -"Indian Cormorant"=>"Phalacrocorax fuscicollis", -"Spur-Winged Lapwing"=>"Vanellus spinosus", -"Yelkouan Shearwater"=>"Puffinus yelkouan", -"Trumpeter Finch"=>"Bucanetes githagineus", -"Red Grouse"=>"Lagopus scoticus", -"Rock Ptarmigan"=>"Lagopus mutus", -"Long-Tailed Cormorant"=>"Phalacrocorax africanus", -"Double-crested Cormorant"=>"Phalacrocorax auritus", -"Magnificent Frigatebird"=>"Fregata magnificens", -"Naumann's Thrush"=>"Turdus naumanni", -"Oriental Pratincole"=>"Glareola maldivarum", -"Bufflehead"=>"Bucephala albeola", -"Snowfinch"=>"Montifrigilla nivalis", -"Ural owl"=>"Strix uralensis", -"Spanish Wagtail"=>"Motacilla iberiae", -"Song Sparrow"=>"Melospiza melodia", -"Rock Bunting"=>"Emberiza cia", -"Siberian Rubythroat"=>"Luscinia calliope", -"Pallid Swift"=>"Apus pallidus", -"Eurasian Pygmy Owl"=>"Glaucidium passerinum", -"Madeira Little Shearwater"=>"Puffinus baroli", -"House Finch"=>"Carpodacus mexicanus", -"Green Heron"=>"Butorides virescens", -"Solitary Sandpiper"=>"Tringa solitaria", -"Heuglin's Gull"=>"Larus heuglini" -); - - -$result = array(); -foreach ($items as $key=>$value) { - if (strpos(strtolower($key), $q) !== false) { - array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key))); - } - if (count($result) > 11) - break; -} - -// json_encode is available in PHP 5.2 and above, or you can install a PECL module in earlier versions -echo json_encode($result); - -?> \ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/xml.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/xml.html deleted file mode 100644 index e16b9e1..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/xml.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - - jQuery UI Autocomplete - XML data parsed once - - - - - - - - - - - - - -
- - -
- -
- Result: -
-
- -
-

This demo shows how to retrieve some XML data, parse it using jQuery's methods, then provide it to the autocomplete as the datasource.

-

This should also serve as a reference on how to parse a remote XML datasource - the parsing would just happen for each request within the source-callback.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/checkbox.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/checkbox.html deleted file mode 100644 index 11db0de..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/checkbox.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - jQuery UI Button - Checkboxes - - - - - - - - - - - - - -
- - - -
- -
-

A checkbox is styled as a toggle button with the button widget. The label element associated with the checkbox is used for the button text.

-

This demo also demonstrates three checkboxes styled as a button set by calling .buttonset() on a common container.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/default.html deleted file mode 100644 index 502c2a5..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/default.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - jQuery UI Button - Default functionality - - - - - - - - - - - - - - -An anchor - -
-

Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/icons.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/icons.html deleted file mode 100644 index 2a63c29..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/icons.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - jQuery UI Button - Icons - - - - - - - - - - - - - - - -
-

Some buttons with various combinations of text and icons.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/index.html deleted file mode 100644 index 7956059..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - jQuery UI Button Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/radio.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/radio.html deleted file mode 100644 index b175d75..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/radio.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - jQuery UI Button - Radios - - - - - - - - - - -
-
- - - -
-
- -
-

A set of three radio buttons transformed into a button set.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/splitbutton.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/splitbutton.html deleted file mode 100644 index b58f66a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/splitbutton.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - jQuery UI Button - Split button - - - - - - - - - - - - - -
-
- - -
- -
- -
-

An example of a split button built with two buttons: A plain button with just text, one with only a primary icon -and no text. Both are grouped together in a set.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/toolbar.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/toolbar.html deleted file mode 100644 index 306daae..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/toolbar.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - jQuery UI Button - Toolbar - - - - - - - - - - - -
- - - - - - - - - - - - - - -
- -
-

- A mediaplayer toolbar. Take a look at the underlying markup: A few button elements, - an input of type checkbox for the Shuffle button, and three inputs of type radio for the Repeat options. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html deleted file mode 100644 index 98bf0ae..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - jQuery UI Datepicker - Populate alternate field - - - - - - - - - - -

Date:  

- -
-

Populate an alternate field with its own date format whenever a date is selected using the altField and altFormat options. This feature could be used to present a human-friendly date for user selection, while passing a more computer-friendly date through for further processing.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html deleted file mode 100644 index a9872e5..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - jQuery UI Datepicker - Animations - - - - - - - - - - - - - - - - - -

Date:

- -

Animations:
- -

- -
-

Use different animations when opening or closing the datepicker. Choose an animation from the dropdown, then click on the input to see its effect. You can use one of the three standard animations or any of the UI Effects.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html deleted file mode 100644 index c430872..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - jQuery UI Datepicker - Display button bar - - - - - - - - - - -

Date:

- -
-

Display a button for selecting Today's date and a Done button for closing the calendar with the boolean showButtonPanel option. Each button is enabled by default when the bar is displayed, but can be turned off with additional options. Button text is customizable.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html deleted file mode 100644 index 44cfba8..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - jQuery UI Datepicker - Format date - - - - - - - - - - -

Date:

- -

Format options:
- -

- -
-

Display date feedback in a variety of ways. Choose a date format from the dropdown, then click on the input and select a date to see it in that format.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html deleted file mode 100644 index 7a4dbfc..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - jQuery UI Datepicker - Select a Date Range - - - - - - - - - - - - - - - -
-

Select the date range to search for.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/default.html deleted file mode 100644 index 1d01133..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/default.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - jQuery UI Datepicker - Default functionality - - - - - - - - - - -

Date:

- -
-

The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html deleted file mode 100644 index 1a04ef7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - jQuery UI Datepicker - Display month & year menus - - - - - - - - - - -

Date:

- -
-

Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes. Add the boolean changeMonth and changeYear options.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html deleted file mode 100644 index d956168..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - jQuery UI Datepicker - Icon trigger - - - - - - - - - - -

Date:

- -
-

Click the icon next to the input field to show the datepicker. Set the datepicker to open on focus (default behavior), on icon click, or both.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif deleted file mode 100644 index d0abaa7..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html deleted file mode 100644 index eb903a2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - jQuery UI Datepicker Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/inline.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/inline.html deleted file mode 100644 index 5c52b3d..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/inline.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - jQuery UI Datepicker - Display inline - - - - - - - - - - -Date:
- -
-

Display the datepicker embedded in the page instead of in an overlay. Simply call .datepicker() on a div instead of an input.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js deleted file mode 100644 index cef0f08..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Arabic Translation for jQuery UI date picker plugin. */ -/* Khaled Alhourani -- me@khaledalhourani.com */ -/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ -jQuery(function($){ - $.datepicker.regional['ar'] = { - closeText: 'إغلاق', - prevText: '<السابق', - nextText: 'التالي>', - currentText: 'اليوم', - monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران', - 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], - monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], - dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], - dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], - dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], - weekHeader: 'أسبوع', - dateFormat: 'dd/mm/yy', - firstDay: 6, - isRTL: true, - showMonthAfterYear: false, - yearSuffix: ''}; - $.datepicker.setDefaults($.datepicker.regional['ar']); -}); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js deleted file mode 100644 index 934afd1..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js +++ /dev/null @@ -1,25 +0,0 @@ -/* French initialisation for the jQuery UI date picker plugin. */ -/* Written by Keith Wood (kbwood{at}iinet.com.au), - Stéphane Nahmani (sholby@sholby.net), - Stéphane Raimbault */ -jQuery(function($){ - $.datepicker.regional['fr'] = { - closeText: 'Fermer', - prevText: 'Précédent', - nextText: 'Suivant', - currentText: 'Aujourd\'hui', - monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', - 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], - monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin', - 'Juil.','Août','Sept.','Oct.','Nov.','Déc.'], - dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], - dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'], - dayNamesMin: ['D','L','M','M','J','V','S'], - weekHeader: 'Sem.', - dateFormat: 'dd/mm/yy', - firstDay: 1, - isRTL: false, - showMonthAfterYear: false, - yearSuffix: ''}; - $.datepicker.setDefaults($.datepicker.regional['fr']); -}); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js deleted file mode 100644 index b9e8dee..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Hebrew initialisation for the UI Datepicker extension. */ -/* Written by Amir Hardon (ahardon at gmail dot com). */ -jQuery(function($){ - $.datepicker.regional['he'] = { - closeText: 'סגור', - prevText: '<הקודם', - nextText: 'הבא>', - currentText: 'היום', - monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', - 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], - monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני', - 'יולי','אוג','ספט','אוק','נוב','דצמ'], - dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], - dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], - dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], - weekHeader: 'Wk', - dateFormat: 'dd/mm/yy', - firstDay: 0, - isRTL: true, - showMonthAfterYear: false, - yearSuffix: ''}; - $.datepicker.setDefaults($.datepicker.regional['he']); -}); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js deleted file mode 100644 index b9105ea..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Chinese initialisation for the jQuery UI date picker plugin. */ -/* Written by Ressol (ressol@gmail.com). */ -jQuery(function($){ - $.datepicker.regional['zh-TW'] = { - closeText: '關閉', - prevText: '<上月', - nextText: '下月>', - currentText: '今天', - monthNames: ['一月','二月','三月','四月','五月','六月', - '七月','八月','九月','十月','十一月','十二月'], - monthNamesShort: ['一月','二月','三月','四月','五月','六月', - '七月','八月','九月','十月','十一月','十二月'], - dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], - dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], - dayNamesMin: ['日','一','二','三','四','五','六'], - weekHeader: '周', - dateFormat: 'yy/mm/dd', - firstDay: 1, - isRTL: false, - showMonthAfterYear: true, - yearSuffix: '年'}; - $.datepicker.setDefaults($.datepicker.regional['zh-TW']); -}); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html deleted file mode 100644 index 67d55fd..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - jQuery UI Datepicker - Localize calendar - - - - - - - - - - - - - - -

Date:   -

- -
-

Localize the datepicker calendar language and format (English / Western formatting is the default). The datepicker includes built-in support for languages that read right-to-left, such as Arabic and Hebrew.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html deleted file mode 100644 index 480282e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - jQuery UI Datepicker - Restrict date range - - - - - - - - - - -

Date:

- -
-

Restrict the range of selectable dates with the minDate and maxDate options. Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days, 'W' for weeks, 'M' for months, or 'Y' for years.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html deleted file mode 100644 index 6d06a47..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - jQuery UI Datepicker - Display multiple months - - - - - - - - - - -

Date:

- -
-

Set the numberOfMonths option to an integer of 2 or more to show multiple months in a single datepicker.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html deleted file mode 100644 index 5242869..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - jQuery UI Datepicker - Dates in other months - - - - - - - - - - -

Date:

- -
-

The datepicker can show dates that come from other than the main month - being displayed. These other dates can also be made selectable.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html deleted file mode 100644 index 0c1264e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - jQuery UI Datepicker - Show week of the year - - - - - - - - - - -

Date:

- -
-

The datepicker can show the week of the year. The default calculation follows - the ISO 8601 definition: the week starts on Monday, the first week of the year - contains the first Thursday of the year. This means that some days from one - year may be placed into weeks 'belonging' to another year.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/demos.css b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/demos.css deleted file mode 100644 index da9ad83..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/demos.css +++ /dev/null @@ -1,19 +0,0 @@ -body { - font-size: 62.5%; - font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif"; -} - -table { - font-size: 1em; -} - -.demo-description { - clear: both; - padding: 12px; - font-size: 1.3em; - line-height: 1.4em; -} - -.ui-draggable, .ui-droppable { - background-position: top; -} diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/animated.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/animated.html deleted file mode 100644 index f9dc697..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/animated.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - jQuery UI Dialog - Animation - - - - - - - - - - - - - - - - - - -
-

This is an animated dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.

-
- - - -
-

Dialogs may be animated by specifying an effect for the show and/or hide properties. You must include the individual effects file for any effects you would like to use.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/default.html deleted file mode 100644 index dc9741a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/default.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - jQuery UI Dialog - Default functionality - - - - - - - - - - - - - - - -
-

This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.

-
- -
-

The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, resized and closed with the 'x' icon by default.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/index.html deleted file mode 100644 index 6aaa3ec..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - jQuery UI Dialog Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-confirmation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-confirmation.html deleted file mode 100644 index 7538cd1..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-confirmation.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - jQuery UI Dialog - Modal confirmation - - - - - - - - - - - - - - - -
-

These items will be permanently deleted and cannot be recovered. Are you sure?

-
- -

Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

- -
-

Confirm an action that may be destructive or important. Set the modal option to true, and specify primary and secondary user actions with the buttons option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-form.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-form.html deleted file mode 100644 index a9f1c63..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-form.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - jQuery UI Dialog - Modal form - - - - - - - - - - - - - - - - - - -
-

All form fields are required.

- -
-
- - - - - - -
-
-
- - -
-

Existing Users:

- - - - - - - - - - - - - - - -
NameEmailPassword
John Doejohn.doe@example.comjohndoe1
-
- - -
-

Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the modal option to true, and specify primary and secondary user actions with the buttons option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-message.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-message.html deleted file mode 100644 index 0a6f813..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-message.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - jQuery UI Dialog - Modal message - - - - - - - - - - - - - - - - -
-

- - Your files have downloaded successfully into the My Downloads folder. -

-

- Currently using 36% of your storage space. -

-
- -

Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

- -
-

Use a modal dialog to explicitly acknowledge information or an action before continuing their work. Set the modal option to true, and specify a primary action (Ok) with the buttons option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal.html deleted file mode 100644 index 4579df2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - jQuery UI Dialog - Basic modal - - - - - - - - - - - - - - - -
-

Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.

-
- -

Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

- -
-

A modal dialog prevents the user from interacting with the rest of the page until it is closed.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/constrain-movement.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/constrain-movement.html deleted file mode 100644 index b22e4c2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/constrain-movement.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - jQuery UI Draggable - Constrain movement - - - - - - - - - - - - -

Constrain movement along an axis:

- -
-

I can be dragged only vertically

-
- -
-

I can be dragged only horizontally

-
- -

Or to within another DOM element:

-
-
-

I'm contained within the box

-
- -
-

I'm contained within my parent

-
-
- -
-

Constrain the movement of each draggable by defining the boundaries of the draggable area. Set the axis option to limit the draggable's path to the x- or y-axis, or use the containment option to specify a parent DOM element or a jQuery selector, like 'document.'

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/cursor-style.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/cursor-style.html deleted file mode 100644 index 05db5ea..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/cursor-style.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - jQuery UI Draggable - Cursor style - - - - - - - - - - - - -
-

I will always stick to the center (relative to the mouse)

-
- -
-

My cursor is at left -5 and top -5

-
- -
-

My cursor position is only controlled for the 'bottom' value

-
- -
-

Position the cursor while dragging the object. By default the cursor appears in the center of the dragged object; use the cursorAt option to specify another location relative to the draggable (specify a pixel value from the top, right, bottom, and/or left). Customize the cursor's appearance by supplying the cursor option with a valid CSS cursor value: default, move, pointer, crosshair, etc.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/default.html deleted file mode 100644 index 3ea1640..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/default.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - jQuery UI Draggable - Default functionality - - - - - - - - - - - - -
-

Drag me around

-
- -
-

Enable draggable functionality on any DOM element. Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/delay-start.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/delay-start.html deleted file mode 100644 index 413814b..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/delay-start.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - jQuery UI Draggable - Delay start - - - - - - - - - - - - -
-

Only if you drag me by 20 pixels, the dragging will start

-
- -
-

Regardless of the distance, you have to drag and wait for 1000ms before dragging starts

-
- -
-

Delay the start of dragging for a number of milliseconds with the delay option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the distance option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/events.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/events.html deleted file mode 100644 index d662e88..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/events.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - jQuery UI Draggable - Events - - - - - - - - - - - - -
- -

Drag me to trigger the chain of events.

- -
    -
  • "start" invoked 0x
  • -
  • "drag" invoked 0x
  • -
  • "stop" invoked 0x
  • -
-
- -
-

Layer functionality onto the draggable using the start, drag, and stop events. Start is fired at the start of the drag; drag during the drag; and stop when dragging stops.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/handle.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/handle.html deleted file mode 100644 index 983b653..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/handle.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - jQuery UI Draggable - Handles - - - - - - - - - - - - -
-

I can be dragged only by this handle

-
- -
-

You can drag me around…

-

…but you can't drag me by this handle.

-
- -
-

Allow dragging only when the cursor is over a specific part of the draggable. Use the handle option to specify the jQuery selector of an element (or group of elements) used to drag the object.

-

Or prevent dragging when the cursor is over a specific element (or group of elements) within the draggable. Use the cancel option to specify a jQuery selector over which to "cancel" draggable functionality.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/index.html deleted file mode 100644 index 9385068..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - jQuery UI Draggable Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/revert.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/revert.html deleted file mode 100644 index 8bedc06..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/revert.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - jQuery UI Draggable - Revert position - - - - - - - - - - - - -
-

Revert the original

-
- -
-

Revert the helper

-
- -
-

Return the draggable (or it's helper) to its original location when dragging stops with the boolean revert option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/scroll.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/scroll.html deleted file mode 100644 index 60737d3..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/scroll.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - jQuery UI Draggable - Auto-scroll - - - - - - - - - - - - -
-

Scroll set to true, default settings

-
- -
-

scrollSensitivity set to 100

-
- -
-

scrollSpeed set to 100

-
- -
- -
-

Automatically scroll the document when the draggable is moved beyond the viewport. Set the scroll option to true to enable auto-scrolling, and fine-tune when scrolling is triggered and its speed with the scrollSensitivity and scrollSpeed options.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/snap-to.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/snap-to.html deleted file mode 100644 index efa6665..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/snap-to.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - jQuery UI Draggable - Snap to element or grid - - - - - - - - - - - - -
-

I'm a snap target

-
- -
- -
-

Default (snap: true), snaps to all other draggable elements

-
- -
-

I only snap to the big box

-
- -
-

I only snap to the outer edges of the big box

-
- -
-

I snap to a 20 x 20 grid

-
- -
-

I snap to a 80 x 80 grid

-
- -
-

Snap the draggable to the inner or outer boundaries of a DOM element. Use the snap, snapMode (inner, outer, both), and snapTolerance (distance in pixels the draggable must be from the element when snapping is invoked) options.

-

Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/sortable.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/sortable.html deleted file mode 100644 index 5604efd..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/sortable.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - jQuery UI Draggable + Sortable - - - - - - - - - - - - - -
    -
  • Drag me down
  • -
- -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
  • Item 4
  • -
  • Item 5
  • -
- -
-

Draggables are built to interact seamlessly with sortables.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/visual-feedback.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/visual-feedback.html deleted file mode 100644 index f5827c2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/visual-feedback.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - jQuery UI Draggable - Visual feedback - - - - - - - - - - - - -

With helpers:

- -
-

Original

-
- -
-

Semi-transparent clone

-
- -
-

Custom helper (in combination with cursorAt)

-
- -

Stacked:

-
-
-

We are draggables..

-
- -
-

..whose z-indexes are controlled automatically..

-
- -
-

..with the stack option.

-
-
- -
-

Provide feedback to users as they drag an object in the form of a helper. The helper option accepts the values 'original' (the draggable object moves with the cursor), 'clone' (a duplicate of the draggable moves with the cursor), or a function that returns a DOM element (that element is shown near the cursor during drag). Control the helper's transparency with the opacity option.

-

To clarify which draggable is in play, bring the draggable in motion to front. Use the zIndex option to set a higher z-index for the helper, if in play, or use the stack option to ensure that the last item dragged will appear on top of others in the same group on drag stop.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html deleted file mode 100644 index c291b5b..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - jQuery UI Droppable - Accept - - - - - - - - - - - - - -
-

I'm draggable but can't be dropped

-
- -
-

Drag me to my target

-
- -
-

accept: '#draggable'

-
- -
-

Specify using the accept option which element (or group of elements) is accepted by the target droppable.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html deleted file mode 100644 index d9b7d61..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - jQuery UI Droppable - Default functionality - - - - - - - - - - - - - -
-

Drag me to my target

-
- -
-

Drop here

-
- -
-

Enable any DOM element to be droppable, a target for draggable elements.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg deleted file mode 100644 index 5723680..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg deleted file mode 100644 index 1acad3a..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg deleted file mode 100644 index 493e082..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg deleted file mode 100644 index e158b1a..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg deleted file mode 100644 index 4aa96b0..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg deleted file mode 100644 index da4124d..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg deleted file mode 100644 index 794dbdf..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg deleted file mode 100644 index 51e0cde..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html deleted file mode 100644 index deca6e4..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - jQuery UI Droppable Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/photo-manager.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/photo-manager.html deleted file mode 100644 index 54a805d..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/photo-manager.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - jQuery UI Droppable - Simple photo manager - - - - - - - - - - - - - - - - -
- - - -
-

Trash Trash

-
- -
- -
-

You can delete an image either by dragging it to the Trash or by clicking the trash icon.

-

You can "recycle" an image by dragging it back to the gallery or by clicking the recycle icon.

-

You can view larger image by clicking the zoom icon. jQuery UI dialog widget is used for the modal window.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html deleted file mode 100644 index a116755..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - jQuery UI Droppable - Prevent propagation - - - - - - - - - - - - - -
-

Drag me to my target

-
- -
-

Outer droppable

-
-

Inner droppable (not greedy)

-
-
- -
-

Outer droppable

-
-

Inner droppable (greedy)

-
-
- -
-

When working with nested droppables — for example, you may have an editable directory structure displayed as a tree, with folder and document nodes — the greedy option set to true prevents event propagation when a draggable is dropped on a child node (droppable).

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html deleted file mode 100644 index 2c2fb2c..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - jQuery UI Droppable - Revert draggable position - - - - - - - - - - - - - -
-

I revert when I'm dropped

-
- -
-

I revert when I'm not dropped

-
- -
-

Drop me here

-
- -
-

Return the draggable (or it's helper) to its original location when dragging stops with the boolean revert option set on the draggable.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html deleted file mode 100644 index fe7d636..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - jQuery UI Droppable - Shopping Cart Demo - - - - - - - - - - - - - - - -
-

Products

-
-

T-Shirts

-
-
    -
  • Lolcat Shirt
  • -
  • Cheezeburger Shirt
  • -
  • Buckit Shirt
  • -
-
-

Bags

-
-
    -
  • Zebra Striped
  • -
  • Black Leather
  • -
  • Alligator Leather
  • -
-
-

Gadgets

-
-
    -
  • iPhone
  • -
  • iPod
  • -
  • iPad
  • -
-
-
-
- -
-

Shopping Cart

-
-
    -
  1. Add your items here
  2. -
-
-
- -
-

Demonstrate how to use an accordion to structure products into a catalog and make use of drag and drop for adding them to a shopping cart, where they are sortable.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html deleted file mode 100644 index 06b8325..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - jQuery UI Droppable - Visual feedback - - - - - - - - - - - - - -

Feedback on hover:

- -
-

Drag me to my target

-
- -
-

Drop here

-
- -

Feedback on activating draggable:

- -
-

Drag me to my target

-
- -
-

Drop here

-
- -
-

Change the droppable's appearance on hover, or when the droppable is active (an acceptable draggable is dropped on it). Use the hoverClass or activeClass options to specify respective classes.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/default.html deleted file mode 100644 index 7c3d05f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/default.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - jQuery UI Effects - Effect demo - - - - - - - - - - - - - - - - - - - - - - -
-
-

Effect

-

- Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. -

-
-
- - - -Run Effect - -
-

Click the button above to show the effect.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/easing.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/easing.html deleted file mode 100644 index 819351e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/easing.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - jQuery UI Effects - Easing demo - - - - - - - - - -
- -
-

All easings provided by jQuery UI are drawn above, using a HTML canvas element. Click a diagram to see the easing in action.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/index.html deleted file mode 100644 index 5da6bc6..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - jQuery UI Effects Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/default.html deleted file mode 100644 index fc8182e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/default.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - jQuery UI Effects - Hide Demo - - - - - - - - - - - - - - - - - - - - -
-
-

Hide

-

- Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. -

-
-
- - - -Run Effect - -
-

Click the button above to preview the effect.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/index.html deleted file mode 100644 index 3620fd7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - jQuery UI Effects Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/calendar.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/calendar.gif deleted file mode 100644 index d0abaa7..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/calendar.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on-tile.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on-tile.gif deleted file mode 100644 index a96b5bf..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on-tile.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on.gif deleted file mode 100644 index e3b6d7c..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-closed.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-closed.gif deleted file mode 100644 index ad4bd37..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-closed.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-open.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-open.gif deleted file mode 100644 index e1c60aa..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-open.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/icon-docs-info.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/icon-docs-info.gif deleted file mode 100644 index ea6d2be..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/icon-docs-info.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/pbar-ani.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/pbar-ani.gif deleted file mode 100644 index cb59a04..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/pbar-ani.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/index.html deleted file mode 100644 index 4739d76..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/index.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - jQuery UI Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/default.html deleted file mode 100644 index fcb93b8..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/default.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - jQuery UI Menu - Default functionality - - - - - - - - - - - - - - -
-

A menu with the default configuration, disabled items and nested menus. A list is transformed, adding theming, mouse and keyboard navigation support. Try to tab to the menu then use the cursor keys to navigate.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/icons.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/icons.html deleted file mode 100644 index e928f42..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/icons.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - jQuery UI Menu - Icons - - - - - - - - - - - - - - -
-

A menu with the default configuration, showing how to use a menu with icons.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/index.html deleted file mode 100644 index 40e9e0b..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - jQuery UI Menu Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/cycler.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/cycler.html deleted file mode 100644 index 7eef091..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/cycler.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - jQuery UI Position - Image Cycler - - - - - - - - - - - -
- earth - flight - rocket - - - -
- -
-

A photoviewer prototype using Position to place images at the center, left and right and cycle them. -
Use the links at the top to cycle, or click on the images on the left and right. -
Note how the images are repositioned when resizing the window. -

- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/default.html deleted file mode 100644 index 8d6cca0..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/default.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - jQuery UI Position - Default functionality - - - - - - - - - - - - - -
-

- This is the position parent element. -

-
- -
-

- to position -

-
- -
-

- to position 2 -

-
- -
- position... -
- my: - - -
-
- at: - - -
-
- collision: - - -
-
- -
-

Use the form controls to configure the positioning, or drag the positioned element to modify its offset. -
Drag around the parent element to see collision detection in action.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/earth.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/earth.jpg deleted file mode 100644 index e5477f7..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/earth.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/flight.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/flight.jpg deleted file mode 100644 index 362bd1a..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/flight.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/rocket.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/rocket.jpg deleted file mode 100644 index 9c0495c..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/rocket.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/index.html deleted file mode 100644 index a7b7548..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - jQuery UI Position Demo - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/default.html deleted file mode 100644 index 8f4dd53..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/default.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - jQuery UI Progressbar - Default functionality - - - - - - - - - - -
- -
-

Default determinate progress bar.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif deleted file mode 100644 index cb59a04..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/indeterminate.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/indeterminate.html deleted file mode 100644 index 54e7c43..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/indeterminate.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - jQuery UI Progressbar - Indeterminate Value - - - - - - - - - - - -
- - - - -
-

Indeterminate progress bar and switching between determinate and indeterminate styles.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/index.html deleted file mode 100644 index cfc054a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/index.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - jQuery UI Progressbar Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/label.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/label.html deleted file mode 100644 index a1e16cb..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/label.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - jQuery UI Progressbar - Custom Label - - - - - - - - - - - -
Loading...
- -
-

Custom updated label demo.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/default.html deleted file mode 100644 index 74348c7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/default.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - jQuery UI Effects - removeClass Demo - - - - - - - - - -
-
- Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. -
-
- -Run Effect - -
-

Click the button above to preview the effect.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/index.html deleted file mode 100644 index 3620fd7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - jQuery UI Effects Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/animate.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/animate.html deleted file mode 100644 index c066be7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/animate.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - jQuery UI Resizable - Animate - - - - - - - - - - - - -
-

Animate

-
- -
-

Animate the resize action using the animate option (boolean). When this option is set to true, drag the outline to the desired location; the element animates to that size on drag stop.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html deleted file mode 100644 index f3f3501..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - jQuery UI Resizable - Preserve aspect ratio - - - - - - - - - - - - -
-

Preserve aspect ratio

-
- -
-

Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the aspectRatio option to true, and optionally pass in a new ratio (i.e., 4/3)

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html deleted file mode 100644 index a91c89b..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - jQuery UI Resizable - Constrain resize area - - - - - - - - - - - - -
-

Containment

-
-

Resizable

-
-
- -
-

Define the boundaries of the resizable area. Use the containment option to specify a parent DOM element or a jQuery selector, like 'document.'

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html deleted file mode 100644 index c6875ee..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - jQuery UI Resizable - Default functionality - - - - - - - - - - - - -
-

Resizable

-
- -
-

Enable any DOM element to be resizable. With the cursor grab the right or bottom border and drag to the desired width or height.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html deleted file mode 100644 index a04cdd0..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - jQuery UI Resizable - Delay start - - - - - - - - - - - - -

Time delay (ms):

-
-

Time

-
- -

Distance delay (px):

-
-

Distance

-
- -
-

Delay the start of resizng for a number of milliseconds with the delay option; prevent resizing until the cursor is held down and dragged a specifed number of pixels with the distance option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html deleted file mode 100644 index 24f4ad3..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - jQuery UI Resizable - Helper - - - - - - - - - - - - -
-

Helper

-
- -
-

Display only an outline of the element while resizing by setting the helper option to a CSS class.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html deleted file mode 100644 index 7c626e2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - jQuery UI Resizable Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/max-min.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/max-min.html deleted file mode 100644 index 1f30421..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/max-min.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - jQuery UI Resizable - Maximum / minimum size - - - - - - - - - - - - -
-

Resize larger / smaller

-
- -
-

Limit the resizable element to a maximum or minimum height or width using the maxHeight, maxWidth, minHeight, and minWidth options.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/snap-to-grid.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/snap-to-grid.html deleted file mode 100644 index 5d11ae7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/snap-to-grid.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - jQuery UI Resizable - Snap to grid - - - - - - - - - - - - -
-

Grid

-
- -
-

Snap the resizable element to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html deleted file mode 100644 index 4f7f418..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - jQuery UI Resizable - Synchronous resize - - - - - - - - - - - - -
-

Resize

-
- -
-

will also resize

-
- -
-

Resize multiple elements simultaneously by clicking and dragging the sides of one. Pass a shared selector into the alsoResize option.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html deleted file mode 100644 index 8924450..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - jQuery UI Resizable - Textarea - - - - - - - - - - - - - - -
-

Display only an outline of the element while resizing by setting the helper option to a CSS class.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html deleted file mode 100644 index ee182b2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - jQuery UI Resizable - Visual feedback - - - - - - - - - - - - -
-

Ghost

-
- -
-

Instead of showing the actual element during resize, set the ghost option to true to show a semi-transparent part of the element.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/default.html deleted file mode 100644 index e110423..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/default.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - jQuery UI Selectable - Default functionality - - - - - - - - - - - - - -
    -
  1. Item 1
  2. -
  3. Item 2
  4. -
  5. Item 3
  6. -
  7. Item 4
  8. -
  9. Item 5
  10. -
  11. Item 6
  12. -
  13. Item 7
  14. -
- -
-

Enable a DOM element (or group of elements) to be selectable. Draw a box with your cursor to select items. Hold down the Ctrl key to make multiple non-adjacent selections.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/display-grid.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/display-grid.html deleted file mode 100644 index fc4fec6..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/display-grid.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - jQuery UI Selectable - Display as grid - - - - - - - - - - - - - -
    -
  1. 1
  2. -
  3. 2
  4. -
  5. 3
  6. -
  7. 4
  8. -
  9. 5
  10. -
  11. 6
  12. -
  13. 7
  14. -
  15. 8
  16. -
  17. 9
  18. -
  19. 10
  20. -
  21. 11
  22. -
  23. 12
  24. -
- -
-

To arrange selectable items as a grid, give them identical dimensions and float them using CSS.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/index.html deleted file mode 100644 index a82830c..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/index.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - jQuery UI Selectable Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/serialize.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/serialize.html deleted file mode 100644 index d70e314..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/serialize.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - jQuery UI Selectable - Serialize - - - - - - - - - - - - - -

-You've selected: none. -

- -
    -
  1. Item 1
  2. -
  3. Item 2
  4. -
  5. Item 3
  6. -
  7. Item 4
  8. -
  9. Item 5
  10. -
  11. Item 6
  12. -
- -
-

Write a function that fires on the stop event to collect the index values of selected items. Present values as feedback, or pass as a data string.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/default.html deleted file mode 100644 index 599a625..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/default.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - jQuery UI Effects - Show Demo - - - - - - - - - - - - - - - - - - - - -
-
-

Show

-

- Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. -

-
-
- - - -Run Effect - -
-

Click the button above to preview the effect.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/index.html deleted file mode 100644 index 3620fd7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - jQuery UI Effects Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/colorpicker.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/colorpicker.html deleted file mode 100644 index e579b0e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/colorpicker.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - jQuery UI Slider - Colorpicker - - - - - - - - - - - - -

- - Simple Colorpicker -

- -
-
-
- -
- -
-

Combine three sliders to create a simple RGB colorpicker.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/default.html deleted file mode 100644 index 17ee430..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/default.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - jQuery UI Slider - Default functionality - - - - - - - - - - - -
- -
-

The basic slider is horizontal and has a single handle that can be moved with the mouse or by using the arrow keys.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/hotelrooms.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/hotelrooms.html deleted file mode 100644 index 0968dc4..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/hotelrooms.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - jQuery UI Slider - Slider bound to select - - - - - - - - - - - -
- - -
- -
-

How to bind a slider to an existing select element. The select stays visible to display the change. When the select is changed, the slider is updated, too.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/index.html deleted file mode 100644 index 2d05bb5..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/index.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - jQuery UI Slider Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/multiple-vertical.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/multiple-vertical.html deleted file mode 100644 index 6a0cf38..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/multiple-vertical.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - jQuery UI Slider - Multiple sliders - - - - - - - - - - - - -

- - Master volume -

- -
- -

- - Graphic EQ -

- -
- 88 - 77 - 55 - 33 - 40 - 45 - 70 -
- -
-

Combine horizontal and vertical sliders, each with their own options, to create the UI for a music player.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range-vertical.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range-vertical.html deleted file mode 100644 index a6f7f5a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range-vertical.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - jQuery UI Slider - Vertical range slider - - - - - - - - - - - -

- - -

- -
- -
-

Change the orientation of the range slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range.html deleted file mode 100644 index 6a11338..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - jQuery UI Slider - Range slider - - - - - - - - - - - -

- - -

- -
- -
-

Set the range option to true to capture a range of values with two drag handles. The space between the handles is filled with a different background color to indicate those values are selected.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemax.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemax.html deleted file mode 100644 index ca1c260..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemax.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - jQuery UI Slider - Range with fixed maximum - - - - - - - - - - - -

- - -

-
- -
-

Fix the maximum value of the range slider so that the user can only select a minimum. Set the range option to "max."

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemin.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemin.html deleted file mode 100644 index 661fb24..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemin.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - jQuery UI Slider - Range with fixed minimum - - - - - - - - - - - -

- - -

- -
- -
-

Fix the minimum value of the range slider so that the user can only select a maximum. Set the range option to "min."

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/side-scroll.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/side-scroll.html deleted file mode 100644 index 346acb3..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/side-scroll.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - jQuery UI Slider - Slider scrollbar - - - - - - - - - - - - -
-
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
-
-
-
-
- -
-

Use a slider to manipulate the positioning of content on the page. In this case, it acts as a scrollbar with the potential to capture values if needed.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/slider-vertical.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/slider-vertical.html deleted file mode 100644 index 2bea733..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/slider-vertical.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - jQuery UI Slider - Vertical slider - - - - - - - - - - - -

- - -

- -
- -
-

Change the orientation of the slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/steps.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/steps.html deleted file mode 100644 index 821fdc7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/steps.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - jQuery UI Slider - Snap to increments - - - - - - - - - - - -

- - -

- -
- -
-

Increment slider values with the step option set to an integer, commonly a dividend of the slider's maximum value. The default increment is 1.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists-through-tabs.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists-through-tabs.html deleted file mode 100644 index 48f7a67..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists-through-tabs.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - - jQuery UI Sortable - Connect lists with Tabs - - - - - - - - - - - - - - -
- -
-
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
  • Item 4
  • -
  • Item 5
  • -
-
-
-
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
  • Item 4
  • -
  • Item 5
  • -
-
-
- -
-

Sort items from one list into another and vice versa, by dropping the list item on the appropriate tab above.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists.html deleted file mode 100644 index 87569ca..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - jQuery UI Sortable - Connect lists - - - - - - - - - - - - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
  • Item 4
  • -
  • Item 5
  • -
- -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
  • Item 4
  • -
  • Item 5
  • -
- -
-

- Sort items from one list into another and vice versa, by passing a selector into - the connectWith option. The simplest way to do this is to - group all related lists with a CSS class, and then pass that class into the - sortable function (i.e., connectWith: '.myclass'). -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/default.html deleted file mode 100644 index 9058a3f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/default.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - jQuery UI Sortable - Default functionality - - - - - - - - - - - - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
  • Item 4
  • -
  • Item 5
  • -
  • Item 6
  • -
  • Item 7
  • -
- -
-

- Enable a group of DOM elements to be sortable. Click on and drag an - element to a new spot within the list, and the other items will adjust to - fit. By default, sortable items share draggable properties. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/delay-start.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/delay-start.html deleted file mode 100644 index e48d8cf..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/delay-start.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - jQuery UI Sortable - Delay start - - - - - - - - - - - - -

Time delay of 300ms:

- -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
  • Item 4
  • -
- -

Distance delay of 15px:

- -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
  • Item 4
  • -
- -
-

- Prevent accidental sorting either by delay (time) or distance. Set a number of - milliseconds the element needs to be dragged before sorting starts - with the delay option. Set a distance in pixels the element - needs to be dragged before sorting starts with the distance - option. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/display-grid.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/display-grid.html deleted file mode 100644 index e644eae..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/display-grid.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - jQuery UI Sortable - Display as grid - - - - - - - - - - - - -
    -
  • 1
  • -
  • 2
  • -
  • 3
  • -
  • 4
  • -
  • 5
  • -
  • 6
  • -
  • 7
  • -
  • 8
  • -
  • 9
  • -
  • 10
  • -
  • 11
  • -
  • 12
  • -
- -
-

- To arrange sortable items as a grid, give them identical dimensions and - float them using CSS. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/empty-lists.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/empty-lists.html deleted file mode 100644 index 2311254..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/empty-lists.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - jQuery UI Sortable - Handle empty lists - - - - - - - - - - - - -
    -
  • Can be dropped..
  • -
  • ..on an empty list
  • -
  • Item 3
  • -
  • Item 4
  • -
  • Item 5
  • -
- -
    -
  • Cannot be dropped..
  • -
  • ..on an empty list
  • -
  • Item 3
  • -
  • Item 4
  • -
  • Item 5
  • -
- -
    -
- -
- -
-

- Prevent all items in a list from being dropped into a separate, empty list - using the dropOnEmpty option set to false. By default, - sortable items can be dropped on empty lists. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/index.html deleted file mode 100644 index 66b0b5c..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/index.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - jQuery UI Sortable Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/items.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/items.html deleted file mode 100644 index bdb0e02..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/items.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - jQuery UI Sortable - Include / exclude items - - - - - - - - - - - - -

Specify which items are sortable:

- -
    -
  • Item 1
  • -
  • (I'm not sortable or a drop target)
  • -
  • (I'm not sortable or a drop target)
  • -
  • Item 4
  • -
- -

Cancel sorting (but keep as drop targets):

- -
    -
  • Item 1
  • -
  • (I'm not sortable)
  • -
  • (I'm not sortable)
  • -
  • Item 4
  • -
- -
-

- Specify which items are eligible to sort by passing a jQuery selector into - the items option. Items excluded from this option are not - sortable, nor are they valid targets for sortable items. -

-

- To only prevent sorting on certain items, pass a jQuery selector into the - cancel option. Cancelled items remain valid sort targets for - others. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/placeholder.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/placeholder.html deleted file mode 100644 index 95a843f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/placeholder.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - jQuery UI Sortable - Drop placeholder - - - - - - - - - - - - -
    -
  • Item 1
  • -
  • Item 2
  • -
  • Item 3
  • -
  • Item 4
  • -
  • Item 5
  • -
  • Item 6
  • -
  • Item 7
  • -
- -
-

- When dragging a sortable item to a new location, other items will make room - for the that item by shifting to allow white space between them. Pass a - class into the placeholder option to style that space to - be visible. Use the boolean forcePlaceholderSize option - to set dimensions on the placeholder. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/portlets.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/portlets.html deleted file mode 100644 index 5a3f2b6..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/portlets.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - jQuery UI Sortable - Portlets - - - - - - - - - - - - -
- -
-
Feeds
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
-
- -
-
News
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
-
- -
- -
- -
-
Shopping
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
-
- -
- -
- -
-
Links
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
-
- -
-
Images
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit
-
- -
- -
-

- Enable portlets (styled divs) as sortables and use the connectWith - option to allow sorting between columns. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/currency.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/currency.html deleted file mode 100644 index 0686d37..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/currency.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - jQuery UI Spinner - Currency - - - - - - - - - - - - - - - -

- - -

-

- - -

- -
-

Example of a donation form, with currency selection and amount spinner.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/decimal.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/decimal.html deleted file mode 100644 index b48442a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/decimal.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - jQuery UI Spinner - Decimal - - - - - - - - - - - - - - - -

- - -

-

- - -

- -
-

- Example of a decimal spinner. Step is set to 0.01. -
The code handling the culture change reads the current spinner value, - then changes the culture, then sets the value again, resulting in an updated - formatting, based on the new culture. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/default.html deleted file mode 100644 index 5093e86..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/default.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - jQuery UI Spinner - Default functionality - - - - - - - - - - - - -

- - -

- -

- - -

- -

- - -

- -
-

Default spinner.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/index.html deleted file mode 100644 index f3c74d0..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - jQuery UI Spinner Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/latlong.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/latlong.html deleted file mode 100644 index 14c8601..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/latlong.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - jQuery UI Spinner - Map - - - - - - - - - - - - - - - - -
- - - -
- -
-

Google Maps integration, using spinners to change latidude and longitude.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/overflow.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/overflow.html deleted file mode 100644 index d46e660..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/overflow.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - jQuery UI Spinner - Overflow - - - - - - - - - - - - -

- - -

- -
-

-Overflowing spinner restricted to a range of -10 to 10. -For anything above 10, it'll overflow to -10, and the other way round. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/time.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/time.html deleted file mode 100644 index d31dbf2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/time.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - jQuery UI Spinner - Time - - - - - - - - - - - - - - -

- - -

-

- - -

- -
-

- A custom widget extending spinner. Use the Globalization plugin to parse and output - a timestamp, with custom step and page options. Cursor up/down spins minutes, page up/down - spins hours. -

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/default.html deleted file mode 100644 index e4bd3b4..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/default.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - jQuery UI Effects - switchClass Demo - - - - - - - - - -
-
- Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. -
-
-Run Effect - -
-

Click the button above to preview the effect.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/index.html deleted file mode 100644 index 3620fd7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - jQuery UI Effects Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax.html deleted file mode 100644 index dd25fc0..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - jQuery UI Tabs - Content via Ajax - - - - - - - - - - -
- -
-

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

-
-
- -
-

Fetch external content via Ajax for the tabs by setting an href value in the tab links. While the Ajax request is waiting for a response, the tab label changes to say "Loading...", then returns to the normal label once loaded.

-

Tabs 3 and 4 demonstrate slow-loading and broken AJAX tabs, and how to handle serverside errors in those cases. Note: These two require a webserver to interpret PHP. They won't work from the filesystem.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content1.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content1.html deleted file mode 100644 index 472bdfb..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content1.html +++ /dev/null @@ -1,4 +0,0 @@ -

This content was loaded via ajax.

-

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

-

Mauris vitae ante. Curabitur augue. Nulla purus nibh, lobortis ut, feugiat at, aliquam id, purus. Sed venenatis, lorem venenatis volutpat commodo, purus quam lacinia justo, mattis interdum pede pede a odio. Fusce nibh. Morbi nisl mauris, dapibus in, tristique eget, accumsan et, pede. Donec mauris risus, pulvinar ut, faucibus eu, mollis in, nunc. In augue massa, commodo a, cursus vehicula, varius eu, dui. Suspendisse sodales suscipit lorem. Morbi malesuada, eros quis condimentum dignissim, lectus nibh tristique urna, non bibendum diam massa vel risus. Morbi suscipit. Proin egestas, eros at scelerisque scelerisque, dolor lacus fringilla lacus, ut ullamcorper mi magna at quam. Aliquam sed elit. Aliquam turpis purus, congue quis, iaculis id, ullamcorper sit amet, justo. Maecenas sed mauris. Proin magna justo, interdum in, tincidunt eu, viverra eu, turpis. Suspendisse mollis. In magna. Phasellus pellentesque, urna pellentesque convallis pellentesque, augue sem blandit pede, at rhoncus libero nisl a odio.

-

Sed vitae nibh non magna semper tempor. Duis dolor. Nam congue laoreet arcu. Fusce lobortis enim quis ligula. Maecenas commodo odio id mi. Maecenas scelerisque tellus eu odio. Etiam dolor purus, lacinia a, imperdiet in, aliquam et, eros. In pellentesque. Nullam ac massa. Integer et turpis. Ut quam augue, congue non, imperdiet id, eleifend ac, nisi. Etiam ac arcu. Cras iaculis accumsan erat. Nullam vulputate sapien nec nisi pretium rhoncus. Aliquam a nibh. Vivamus est ante, fermentum a, tincidunt ut, imperdiet nec, velit. Aenean non tortor. Sed nec mauris eget tellus condimentum rutrum.

\ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content2.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content2.html deleted file mode 100644 index 18b03e4..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content2.html +++ /dev/null @@ -1,4 +0,0 @@ -

This other content was loaded via ajax.

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec turpis justo, et facilisis ligula. In congue interdum odio, a scelerisque eros posuere ac. Aenean massa tellus, dictum sit amet laoreet ut, aliquam in orci. Duis eu aliquam ligula. Nullam vel placerat ligula. Fusce venenatis viverra dictum. Phasellus dui dolor, imperdiet in sodales at, mattis sed libero. Morbi ac ipsum ligula. Quisque suscipit dui vel diam pretium nec cursus lacus malesuada. Donec sollicitudin, eros eget dignissim mollis, risus leo feugiat tellus, vel posuere nisl ipsum eu erat. Quisque posuere lacinia imperdiet. Quisque nunc leo, elementum quis ultricies et, vehicula sit amet turpis. Nullam sed nunc nec nibh condimentum mattis. Quisque sed ligula sit amet nisi ultricies bibendum eget id nisi.

-

Proin ut erat vel nunc tincidunt commodo. Curabitur feugiat, nisi et vehicula viverra, nisl orci eleifend arcu, sed blandit lectus nisl quis nisi. In hac habitasse platea dictumst. In hac habitasse platea dictumst. Aenean rutrum gravida velit ac imperdiet. Integer vitae arcu risus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin tincidunt orci at leo egestas porta. Vivamus ac augue et enim bibendum hendrerit ut id urna. Donec sollicitudin pulvinar turpis vitae scelerisque. Etiam tempor porttitor est sed blandit. Phasellus varius consequat leo eget tincidunt. Aliquam ac dui lectus. In et consectetur orci. Duis posuere nulla ac turpis faucibus vestibulum. Sed ut velit et dolor rhoncus dapibus. Sed sit amet pellentesque est.

-

Nam in volutpat orci. Morbi sit amet orci in erat egestas dignissim. Etiam mi sapien, tempus sed iaculis a, adipiscing quis tellus. Suspendisse potenti. Nam malesuada tristique vestibulum. In tempor tellus dignissim neque consectetur eu vestibulum nisl pellentesque. Phasellus ultrices cursus velit, id aliquam nisl fringilla quis. Cras varius elit sed urna ultrices congue. Sed ornare odio sed velit pellentesque id varius nisl sodales. Sed auctor ligula egestas mi pharetra ut consectetur erat pharetra.

\ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content3-slow.php b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content3-slow.php deleted file mode 100644 index 7ad43ec..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content3-slow.php +++ /dev/null @@ -1,7 +0,0 @@ - -

This content was loaded via ajax, though it took a second.

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec turpis justo, et facilisis ligula. In congue interdum odio, a scelerisque eros posuere ac. Aenean massa tellus, dictum sit amet laoreet ut, aliquam in orci. Duis eu aliquam ligula. Nullam vel placerat ligula. Fusce venenatis viverra dictum. Phasellus dui dolor, imperdiet in sodales at, mattis sed libero. Morbi ac ipsum ligula. Quisque suscipit dui vel diam pretium nec cursus lacus malesuada. Donec sollicitudin, eros eget dignissim mollis, risus leo feugiat tellus, vel posuere nisl ipsum eu erat. Quisque posuere lacinia imperdiet. Quisque nunc leo, elementum quis ultricies et, vehicula sit amet turpis. Nullam sed nunc nec nibh condimentum mattis. Quisque sed ligula sit amet nisi ultricies bibendum eget id nisi.

-

Proin ut erat vel nunc tincidunt commodo. Curabitur feugiat, nisi et vehicula viverra, nisl orci eleifend arcu, sed blandit lectus nisl quis nisi. In hac habitasse platea dictumst. In hac habitasse platea dictumst. Aenean rutrum gravida velit ac imperdiet. Integer vitae arcu risus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin tincidunt orci at leo egestas porta. Vivamus ac augue et enim bibendum hendrerit ut id urna. Donec sollicitudin pulvinar turpis vitae scelerisque. Etiam tempor porttitor est sed blandit. Phasellus varius consequat leo eget tincidunt. Aliquam ac dui lectus. In et consectetur orci. Duis posuere nulla ac turpis faucibus vestibulum. Sed ut velit et dolor rhoncus dapibus. Sed sit amet pellentesque est.

-

Nam in volutpat orci. Morbi sit amet orci in erat egestas dignissim. Etiam mi sapien, tempus sed iaculis a, adipiscing quis tellus. Suspendisse potenti. Nam malesuada tristique vestibulum. In tempor tellus dignissim neque consectetur eu vestibulum nisl pellentesque. Phasellus ultrices cursus velit, id aliquam nisl fringilla quis. Cras varius elit sed urna ultrices congue. Sed ornare odio sed velit pellentesque id varius nisl sodales. Sed auctor ligula egestas mi pharetra ut consectetur erat pharetra.

\ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php deleted file mode 100644 index 55ea2fe..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/bottom.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/bottom.html deleted file mode 100644 index 0a4caea..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/bottom.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - jQuery UI Tabs - Tabs at bottom - - - - - - - - - - - -
- -
-
-

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

-
-
-

Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

-
-
-

Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

-

Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

-
-
- -
-

With some additional CSS (for positioning) and JS (to put the right classes on elements) the tabs can be placed below their content.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/collapsible.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/collapsible.html deleted file mode 100644 index 3cb9b7c..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/collapsible.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - jQuery UI Tabs - Collapse content - - - - - - - - - - -
- -
-

Click this tab again to close the content pane.

-

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

-
-
-

Click this tab again to close the content pane.

-

Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

-
-
-

Click this tab again to close the content pane.

-

Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

-
-
- -
-

Click the selected tab to toggle its content closed/open. To enable this functionality, set the collapsible option to true.

-
collapsible: true
-
-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/default.html deleted file mode 100644 index 0b31e45..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/default.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - jQuery UI Tabs - Default functionality - - - - - - - - - - -
- -
-

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

-
-
-

Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

-
-
-

Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

-

Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

-
-
- -
-

Click tabs to swap between content that is broken into logical sections.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/index.html deleted file mode 100644 index 779dfd2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - jQuery UI Tabs Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/manipulation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/manipulation.html deleted file mode 100644 index efcf011..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/manipulation.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - jQuery UI Tabs - Simple manipulation - - - - - - - - - - - - - - -
-
-
- - - - -
-
-
- - - -
- -
-

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

-
-
- -
-

Simple tabs adding and removing.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/mouseover.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/mouseover.html deleted file mode 100644 index 9b67781..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/mouseover.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - jQuery UI Tabs - Open on mouseover - - - - - - - - - - -
- -
-

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

-
-
-

Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

-
-
-

Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

-

Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

-
-
- -
-

Toggle sections open/closed on mouseover with the event option. The default value for event is "click."

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/sortable.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/sortable.html deleted file mode 100644 index 0091e58..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/sortable.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - jQuery UI Tabs - Sortable - - - - - - - - - - - - -
- -
-

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

-
-
-

Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

-
-
-

Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

-

Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

-
-
- -
-

Drag the tabs above to re-order them.

-

Making tabs sortable is as simple as calling .sortable() on the .ui-tabs-nav element.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/vertical.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/vertical.html deleted file mode 100644 index b121557..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/vertical.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - jQuery UI Tabs - Vertical Tabs functionality - - - - - - - - - - - -
- -
-

Content heading 1

-

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

-
-
-

Content heading 2

-

Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

-
-
-

Content heading 3

-

Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

-

Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

-
-
- -
-

Click tabs to swap between content that is broken into logical sections.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/default.html deleted file mode 100644 index 3543939..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/default.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - jQuery UI Effects - Toggle Demo - - - - - - - - - - - - - - - - - - - - -
-
-

Toggle

-

- Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. -

-
-
- - - -Run Effect - -
-

Click the button above to preview the effect.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/index.html deleted file mode 100644 index 3620fd7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - jQuery UI Effects Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/default.html deleted file mode 100644 index 93ab10a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/default.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - jQuery UI Effects - toggleClass Demo - - - - - - - - - -
-
- Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. -
-
- -Run Effect - -
-

Click the button above to preview the effect.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/index.html deleted file mode 100644 index 3620fd7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - jQuery UI Effects Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content1.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content1.html deleted file mode 100644 index a1401b2..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content1.html +++ /dev/null @@ -1 +0,0 @@ -

This content was loaded via ajax.

\ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content2.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content2.html deleted file mode 100644 index f4132d7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content2.html +++ /dev/null @@ -1 +0,0 @@ -

This other content was loaded via ajax.

\ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-animation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-animation.html deleted file mode 100644 index 46126d5..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-animation.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - jQuery UI Tooltip - Custom animation demo - - - - - - - - - - - - - -

There are various ways to customize the animation of a tooltip.

-

You can use the show and -hide options.

-

You can also use the open event.

- -
-

This demo shows how to customize animations using the show and hide options, -as well as the open event.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-content.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-content.html deleted file mode 100644 index c24a939..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-content.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - jQuery UI Tooltip - Custom content - - - - - - - - - - - - -
-
-

St. Stephen's Cathedral

-

Vienna, Austria

-
- - St. Stephen's Cathedral - -
- -
-
-

Tower Bridge

-

London, England

-
- - Tower Bridge - -
- -

All images are part of Wikimedia Commons -and are licensed under CC BY-SA 3.0 by the copyright holder.

- -
-

Shows how to combine different event delegated tooltips into a single instance, by customizing the items and content options.

-

We realize you may want to interact with the map tooltips. This is a planned feature for a future version.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-style.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-style.html deleted file mode 100644 index 3e2a56a..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-style.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - jQuery UI Tooltip - Custom Styling - - - - - - - - - - - - -

Tooltips can be attached to any element. When you hover -the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.

-

But as it's not a native tooltip, it can be styled. Any themes built with -ThemeRoller -will also style tooltips accordingly.

-

Tooltips are also useful for form elements, to show some additional information in the context of each field.

-

-

Hover the field to see the tooltip.

- -
-

Hover the links above or use the tab key to cycle the focus on each element.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/default.html deleted file mode 100644 index a07533b..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/default.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - jQuery UI Tooltip - Default functionality - - - - - - - - - - - - -

Tooltips can be attached to any element. When you hover -the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.

-

But as it's not a native tooltip, it can be styled. Any themes built with -ThemeRoller -will also style tooltips accordingly.

-

Tooltips are also useful for form elements, to show some additional information in the context of each field.

-

-

Hover the field to see the tooltip.

- -
-

Hover the links above or use the tab key to cycle the focus on each element.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/forms.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/forms.html deleted file mode 100644 index a5ce77f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/forms.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - jQuery UI Tooltip - Forms - - - - - - - - - - - - - -
-
-
- - -
-
- - -
-
- - -
-
-
- -
-

Use the button below to display the help texts, or just focus or mouseover the indivdual inputs.

-

A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg deleted file mode 100644 index 30fc36d..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg deleted file mode 100644 index d1e14d6..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/index.html deleted file mode 100644 index cebedd0..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - jQuery UI Tooltip Demos - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/tracking.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/tracking.html deleted file mode 100644 index 48e683e..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/tracking.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - jQuery UI Tooltip - Track the mouse - - - - - - - - - - - - -

Tooltips can be attached to any element. When you hover -the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.

-

But as it's not a native tooltip, it can be styled. Any themes built with -ThemeRoller -will also style tooltips accordingly.

-

Tooltips are also useful for form elements, to show some additional information in the context of each field.

-

-

Hover the field to see the tooltip.

- -
-

Here the tooltips are positioned relative to the mouse, and follow the mouse while it moves above the element.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/video-player.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/video-player.html deleted file mode 100644 index 15db946..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/video-player.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - jQuery UI Tooltip - Video Player demo - - - - - - - - - - - - - - - - -
Here Be Video (HTML5?)
-
- - - - -
- - -
- - -
- -
-

A fake video player with like/share/stats button, each with a custom-styled tooltip.

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/default.html deleted file mode 100644 index 8931be4..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/default.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - jQuery UI Widget - Default functionality - - - - - - - - - - - - -
-
color me
-
color me
-
color me
- - -
- -
-

This demo shows a simple custom widget built using the widget factory (jquery.ui.widget.js).

-

The three boxes are initialized in different ways. Clicking them changes their background color. View source to see how it works, its heavily commented

-
- - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/index.html deleted file mode 100644 index d518b07..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - jQuery UI Widget Demo - - - - - - - diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.de-DE.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.de-DE.js deleted file mode 100644 index 5466bd7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.de-DE.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - * 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 )); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.ja-JP.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.ja-JP.js deleted file mode 100644 index a9469d7..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.ja-JP.js +++ /dev/null @@ -1,100 +0,0 @@ -/* - * 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 )); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.js deleted file mode 100644 index ebaca17..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.js +++ /dev/null @@ -1,1573 +0,0 @@ -/*! - * 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( window, undefined ) { - -var Globalize, - // private variables - regexHex, - regexInfinity, - regexParseFloat, - regexTrim, - // private JavaScript utility functions - arrayIndexOf, - endsWith, - extend, - isArray, - isFunction, - isObject, - startsWith, - trim, - truncate, - zeroPad, - // private Globalization utility functions - appendPreOrPostMatch, - expandFormat, - formatDate, - formatNumber, - getTokenRegExp, - getEra, - getEraYear, - parseExact, - parseNegativePattern; - -// Global variable (Globalize) or CommonJS module (globalize) -Globalize = function( cultureSelector ) { - return new Globalize.prototype.init( cultureSelector ); -}; - -if ( typeof require !== "undefined" - && typeof exports !== "undefined" - && typeof module !== "undefined" ) { - // Assume CommonJS - module.exports = Globalize; -} else { - // Export as global variable - window.Globalize = Globalize; -} - -Globalize.cultures = {}; - -Globalize.prototype = { - constructor: Globalize, - init: function( cultureSelector ) { - this.cultures = Globalize.cultures; - this.cultureSelector = cultureSelector; - - return this; - } -}; -Globalize.prototype.init.prototype = Globalize.prototype; - -// 1. When defining a culture, all fields are required except the ones stated as optional. -// 2. Each culture should have a ".calendars" object with at least one calendar named "standard" -// which serves as the default calendar in use by that culture. -// 3. Each culture should have a ".calendar" object which is the current calendar being used, -// it may be dynamically changed at any time to one of the calendars in ".calendars". -Globalize.cultures[ "default" ] = { - // A unique name for the culture in the form - - name: "en", - // the name of the culture in the english language - englishName: "English", - // the name of the culture in its own language - nativeName: "English", - // whether the culture uses right-to-left text - isRTL: false, - // "language" is used for so-called "specific" cultures. - // For example, the culture "es-CL" means "Spanish, in Chili". - // It represents the Spanish-speaking culture as it is in Chili, - // which might have different formatting rules or even translations - // than Spanish in Spain. A "neutral" culture is one that is not - // specific to a region. For example, the culture "es" is the generic - // Spanish culture, which may be a more generalized version of the language - // that may or may not be what a specific culture expects. - // For a specific culture like "es-CL", the "language" field refers to the - // neutral, generic culture information for the language it is using. - // This is not always a simple matter of the string before the dash. - // For example, the "zh-Hans" culture is netural (Simplified Chinese). - // And the "zh-SG" culture is Simplified Chinese in Singapore, whose lanugage - // field is "zh-CHS", not "zh". - // This field should be used to navigate from a specific culture to it's - // more general, neutral culture. If a culture is already as general as it - // can get, the language may refer to itself. - language: "en", - // numberFormat defines general number formatting rules, like the digits in - // each grouping, the group separator, and how negative numbers are displayed. - numberFormat: { - // [negativePattern] - // Note, numberFormat.pattern has no "positivePattern" unlike percent and currency, - // but is still defined as an array for consistency with them. - // negativePattern: one of "(n)|-n|- n|n-|n -" - pattern: [ "-n" ], - // number of decimal places normally shown - decimals: 2, - // string that separates number groups, as in 1,000,000 - ",": ",", - // string that separates a number from the fractional portion, as in 1.99 - ".": ".", - // array of numbers indicating the size of each number group. - // TODO: more detailed description and example - groupSizes: [ 3 ], - // symbol used for positive numbers - "+": "+", - // symbol used for negative numbers - "-": "-", - // symbol used for NaN (Not-A-Number) - NaN: "NaN", - // symbol used for Negative Infinity - negativeInfinity: "-Infinity", - // symbol used for Positive Infinity - positiveInfinity: "Infinity", - percent: { - // [negativePattern, positivePattern] - // negativePattern: one of "-n %|-n%|-%n|%-n|%n-|n-%|n%-|-% n|n %-|% n-|% -n|n- %" - // positivePattern: one of "n %|n%|%n|% n" - pattern: [ "-n %", "n %" ], - // number of decimal places normally shown - decimals: 2, - // array of numbers indicating the size of each number group. - // TODO: more detailed description and example - groupSizes: [ 3 ], - // string that separates number groups, as in 1,000,000 - ",": ",", - // string that separates a number from the fractional portion, as in 1.99 - ".": ".", - // symbol used to represent a percentage - symbol: "%" - }, - currency: { - // [negativePattern, positivePattern] - // negativePattern: one of "($n)|-$n|$-n|$n-|(n$)|-n$|n-$|n$-|-n $|-$ n|n $-|$ n-|$ -n|n- $|($ n)|(n $)" - // positivePattern: one of "$n|n$|$ n|n $" - pattern: [ "($n)", "$n" ], - // number of decimal places normally shown - decimals: 2, - // array of numbers indicating the size of each number group. - // TODO: more detailed description and example - groupSizes: [ 3 ], - // string that separates number groups, as in 1,000,000 - ",": ",", - // string that separates a number from the fractional portion, as in 1.99 - ".": ".", - // symbol used to represent currency - symbol: "$" - } - }, - // calendars defines all the possible calendars used by this culture. - // There should be at least one defined with name "standard", and is the default - // calendar used by the culture. - // A calendar contains information about how dates are formatted, information about - // the calendar's eras, a standard set of the date formats, - // translations for day and month names, and if the calendar is not based on the Gregorian - // calendar, conversion functions to and from the Gregorian calendar. - calendars: { - standard: { - // name that identifies the type of calendar this is - name: "Gregorian_USEnglish", - // separator of parts of a date (e.g. "/" in 11/05/1955) - "/": "/", - // separator of parts of a time (e.g. ":" in 05:44 PM) - ":": ":", - // the first day of the week (0 = Sunday, 1 = Monday, etc) - firstDay: 0, - days: { - // full day names - names: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], - // abbreviated day names - namesAbbr: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], - // shortest day names - namesShort: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ] - }, - months: { - // full month names (13 months for lunar calendards -- 13th month should be "" if not lunar) - names: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "" ], - // abbreviated month names - namesAbbr: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "" ] - }, - // AM and PM designators in one of these forms: - // The usual view, and the upper and lower case versions - // [ standard, lowercase, uppercase ] - // The culture does not use AM or PM (likely all standard date formats use 24 hour time) - // null - AM: [ "AM", "am", "AM" ], - PM: [ "PM", "pm", "PM" ], - eras: [ - // eras in reverse chronological order. - // name: the name of the era in this culture (e.g. A.D., C.E.) - // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era. - // offset: offset in years from gregorian calendar - { - "name": "A.D.", - "start": null, - "offset": 0 - } - ], - // when a two digit year is given, it will never be parsed as a four digit - // year greater than this year (in the appropriate era for the culture) - // Set it as a full year (e.g. 2029) or use an offset format starting from - // the current year: "+19" would correspond to 2029 if the current year 2010. - twoDigitYearMax: 2029, - // set of predefined date and time patterns used by the culture - // these represent the format someone in this culture would expect - // to see given the portions of the date that are shown. - patterns: { - // short date pattern - d: "M/d/yyyy", - // long date pattern - D: "dddd, MMMM dd, yyyy", - // short time pattern - t: "h:mm tt", - // long time pattern - T: "h:mm:ss tt", - // long date, short time pattern - f: "dddd, MMMM dd, yyyy h:mm tt", - // long date, long time pattern - F: "dddd, MMMM dd, yyyy h:mm:ss tt", - // month/day pattern - M: "MMMM dd", - // month/year pattern - Y: "yyyy MMMM", - // S is a sortable format that does not vary by culture - S: "yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss" - } - // optional fields for each calendar: - /* - monthsGenitive: - Same as months but used when the day preceeds the month. - Omit if the culture has no genitive distinction in month names. - For an explaination of genitive months, see http://blogs.msdn.com/michkap/archive/2004/12/25/332259.aspx - convert: - Allows for the support of non-gregorian based calendars. This convert object is used to - to convert a date to and from a gregorian calendar date to handle parsing and formatting. - The two functions: - fromGregorian( date ) - Given the date as a parameter, return an array with parts [ year, month, day ] - corresponding to the non-gregorian based year, month, and day for the calendar. - toGregorian( year, month, day ) - Given the non-gregorian year, month, and day, return a new Date() object - set to the corresponding date in the gregorian calendar. - */ - } - }, - // For localized strings - messages: {} -}; - -Globalize.cultures[ "default" ].calendar = Globalize.cultures[ "default" ].calendars.standard; - -Globalize.cultures[ "en" ] = Globalize.cultures[ "default" ]; - -Globalize.cultureSelector = "en"; - -// -// private variables -// - -regexHex = /^0x[a-f0-9]+$/i; -regexInfinity = /^[+-]?infinity$/i; -regexParseFloat = /^[+-]?\d*\.?\d*(e[+-]?\d+)?$/; -regexTrim = /^\s+|\s+$/g; - -// -// private JavaScript utility functions -// - -arrayIndexOf = function( array, item ) { - if ( array.indexOf ) { - return array.indexOf( item ); - } - for ( var i = 0, length = array.length; i < length; i++ ) { - if ( array[i] === item ) { - return i; - } - } - return -1; -}; - -endsWith = function( value, pattern ) { - return value.substr( value.length - pattern.length ) === pattern; -}; - -extend = function( deep ) { - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !isFunction(target) ) { - target = {}; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( isObject(copy) || (copyIsArray = isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && isArray(src) ? src : []; - - } else { - clone = src && isObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -isArray = Array.isArray || function( obj ) { - return Object.prototype.toString.call( obj ) === "[object Array]"; -}; - -isFunction = function( obj ) { - return Object.prototype.toString.call( obj ) === "[object Function]" -} - -isObject = function( obj ) { - return Object.prototype.toString.call( obj ) === "[object Object]"; -}; - -startsWith = function( value, pattern ) { - return value.indexOf( pattern ) === 0; -}; - -trim = function( value ) { - return ( value + "" ).replace( regexTrim, "" ); -}; - -truncate = function( value ) { - return value | 0; -}; - -zeroPad = function( str, count, left ) { - var l; - for ( l = str.length; l < count; l += 1 ) { - str = ( left ? ("0" + str) : (str + "0") ); - } - return str; -}; - -// -// private Globalization utility functions -// - -appendPreOrPostMatch = function( preMatch, strings ) { - // appends pre- and post- token match strings while removing escaped characters. - // Returns a single quote count which is used to determine if the token occurs - // in a string literal. - var quoteCount = 0, - escaped = false; - for ( var i = 0, il = preMatch.length; i < il; i++ ) { - var c = preMatch.charAt( i ); - switch ( c ) { - case "\'": - if ( escaped ) { - strings.push( "\'" ); - } - else { - quoteCount++; - } - escaped = false; - break; - case "\\": - if ( escaped ) { - strings.push( "\\" ); - } - escaped = !escaped; - break; - default: - strings.push( c ); - escaped = false; - break; - } - } - return quoteCount; -}; - -expandFormat = function( cal, format ) { - // expands unspecified or single character date formats into the full pattern. - format = format || "F"; - var pattern, - patterns = cal.patterns, - len = format.length; - if ( len === 1 ) { - pattern = patterns[ format ]; - if ( !pattern ) { - throw "Invalid date format string \'" + format + "\'."; - } - format = pattern; - } - else if ( len === 2 && format.charAt(0) === "%" ) { - // %X escape format -- intended as a custom format string that is only one character, not a built-in format. - format = format.charAt( 1 ); - } - return format; -}; - -formatDate = function( value, format, culture ) { - var cal = culture.calendar, - convert = cal.convert; - - if ( !format || !format.length || format === "i" ) { - var ret; - if ( culture && culture.name.length ) { - if ( convert ) { - // non-gregorian calendar, so we cannot use built-in toLocaleString() - ret = formatDate( value, cal.patterns.F, culture ); - } - else { - var eraDate = new Date( value.getTime() ), - era = getEra( value, cal.eras ); - eraDate.setFullYear( getEraYear(value, cal, era) ); - ret = eraDate.toLocaleString(); - } - } - else { - ret = value.toString(); - } - return ret; - } - - var eras = cal.eras, - sortable = format === "s"; - format = expandFormat( cal, format ); - - // Start with an empty string - ret = []; - var hour, - zeros = [ "0", "00", "000" ], - foundDay, - checkedDay, - dayPartRegExp = /([^d]|^)(d|dd)([^d]|$)/g, - quoteCount = 0, - tokenRegExp = getTokenRegExp(), - converted; - - function padZeros( num, c ) { - var r, s = num + ""; - if ( c > 1 && s.length < c ) { - r = ( zeros[c - 2] + s); - return r.substr( r.length - c, c ); - } - else { - r = s; - } - return r; - } - - function hasDay() { - if ( foundDay || checkedDay ) { - return foundDay; - } - foundDay = dayPartRegExp.test( format ); - checkedDay = true; - return foundDay; - } - - function getPart( date, part ) { - if ( converted ) { - return converted[ part ]; - } - switch ( part ) { - case 0: return date.getFullYear(); - case 1: return date.getMonth(); - case 2: return date.getDate(); - } - } - - if ( !sortable && convert ) { - converted = convert.fromGregorian( value ); - } - - for ( ; ; ) { - // Save the current index - var index = tokenRegExp.lastIndex, - // Look for the next pattern - ar = tokenRegExp.exec( format ); - - // Append the text before the pattern (or the end of the string if not found) - var preMatch = format.slice( index, ar ? ar.index : format.length ); - quoteCount += appendPreOrPostMatch( preMatch, ret ); - - if ( !ar ) { - break; - } - - // do not replace any matches that occur inside a string literal. - if ( quoteCount % 2 ) { - ret.push( ar[0] ); - continue; - } - - var current = ar[ 0 ], - clength = current.length; - - switch ( current ) { - case "ddd": - //Day of the week, as a three-letter abbreviation - case "dddd": - // Day of the week, using the full name - var names = ( clength === 3 ) ? cal.days.namesAbbr : cal.days.names; - ret.push( names[value.getDay()] ); - break; - case "d": - // Day of month, without leading zero for single-digit days - case "dd": - // Day of month, with leading zero for single-digit days - foundDay = true; - ret.push( - padZeros( getPart(value, 2), clength ) - ); - break; - case "MMM": - // Month, as a three-letter abbreviation - case "MMMM": - // Month, using the full name - var part = getPart( value, 1 ); - ret.push( - ( cal.monthsGenitive && hasDay() ) - ? - cal.monthsGenitive[ clength === 3 ? "namesAbbr" : "names" ][ part ] - : - cal.months[ clength === 3 ? "namesAbbr" : "names" ][ part ] - ); - break; - case "M": - // Month, as digits, with no leading zero for single-digit months - case "MM": - // Month, as digits, with leading zero for single-digit months - ret.push( - padZeros( getPart(value, 1) + 1, clength ) - ); - break; - case "y": - // Year, as two digits, but with no leading zero for years less than 10 - case "yy": - // Year, as two digits, with leading zero for years less than 10 - case "yyyy": - // Year represented by four full digits - part = converted ? converted[ 0 ] : getEraYear( value, cal, getEra(value, eras), sortable ); - if ( clength < 4 ) { - part = part % 100; - } - ret.push( - padZeros( part, clength ) - ); - break; - case "h": - // Hours with no leading zero for single-digit hours, using 12-hour clock - case "hh": - // Hours with leading zero for single-digit hours, using 12-hour clock - hour = value.getHours() % 12; - if ( hour === 0 ) hour = 12; - ret.push( - padZeros( hour, clength ) - ); - break; - case "H": - // Hours with no leading zero for single-digit hours, using 24-hour clock - case "HH": - // Hours with leading zero for single-digit hours, using 24-hour clock - ret.push( - padZeros( value.getHours(), clength ) - ); - break; - case "m": - // Minutes with no leading zero for single-digit minutes - case "mm": - // Minutes with leading zero for single-digit minutes - ret.push( - padZeros( value.getMinutes(), clength ) - ); - break; - case "s": - // Seconds with no leading zero for single-digit seconds - case "ss": - // Seconds with leading zero for single-digit seconds - ret.push( - padZeros( value.getSeconds(), clength ) - ); - break; - case "t": - // One character am/pm indicator ("a" or "p") - case "tt": - // Multicharacter am/pm indicator - part = value.getHours() < 12 ? ( cal.AM ? cal.AM[0] : " " ) : ( cal.PM ? cal.PM[0] : " " ); - ret.push( clength === 1 ? part.charAt(0) : part ); - break; - case "f": - // Deciseconds - case "ff": - // Centiseconds - case "fff": - // Milliseconds - ret.push( - padZeros( value.getMilliseconds(), 3 ).substr( 0, clength ) - ); - break; - case "z": - // Time zone offset, no leading zero - case "zz": - // Time zone offset with leading zero - hour = value.getTimezoneOffset() / 60; - ret.push( - ( hour <= 0 ? "+" : "-" ) + padZeros( Math.floor(Math.abs(hour)), clength ) - ); - break; - case "zzz": - // Time zone offset with leading zero - hour = value.getTimezoneOffset() / 60; - ret.push( - ( hour <= 0 ? "+" : "-" ) + padZeros( Math.floor(Math.abs(hour)), 2 ) - // Hard coded ":" separator, rather than using cal.TimeSeparator - // Repeated here for consistency, plus ":" was already assumed in date parsing. - + ":" + padZeros( Math.abs(value.getTimezoneOffset() % 60), 2 ) - ); - break; - case "g": - case "gg": - if ( cal.eras ) { - ret.push( - cal.eras[ getEra(value, eras) ].name - ); - } - break; - case "/": - ret.push( cal["/"] ); - break; - default: - throw "Invalid date format pattern \'" + current + "\'."; - break; - } - } - return ret.join( "" ); -}; - -// formatNumber -(function() { - var expandNumber; - - expandNumber = function( number, precision, formatInfo ) { - var groupSizes = formatInfo.groupSizes, - curSize = groupSizes[ 0 ], - curGroupIndex = 1, - factor = Math.pow( 10, precision ), - rounded = Math.round( number * factor ) / factor; - - if ( !isFinite(rounded) ) { - rounded = number; - } - number = rounded; - - var numberString = number+"", - right = "", - split = numberString.split( /e/i ), - exponent = split.length > 1 ? parseInt( split[1], 10 ) : 0; - numberString = split[ 0 ]; - split = numberString.split( "." ); - numberString = split[ 0 ]; - right = split.length > 1 ? split[ 1 ] : ""; - - var l; - if ( exponent > 0 ) { - right = zeroPad( right, exponent, false ); - numberString += right.slice( 0, exponent ); - right = right.substr( exponent ); - } - else if ( exponent < 0 ) { - exponent = -exponent; - numberString = zeroPad( numberString, exponent + 1 ); - right = numberString.slice( -exponent, numberString.length ) + right; - numberString = numberString.slice( 0, -exponent ); - } - - if ( precision > 0 ) { - right = formatInfo[ "." ] + - ( (right.length > precision) ? right.slice(0, precision) : zeroPad(right, precision) ); - } - else { - right = ""; - } - - var stringIndex = numberString.length - 1, - sep = formatInfo[ "," ], - ret = ""; - - while ( stringIndex >= 0 ) { - if ( curSize === 0 || curSize > stringIndex ) { - return numberString.slice( 0, stringIndex + 1 ) + ( ret.length ? (sep + ret + right) : right ); - } - ret = numberString.slice( stringIndex - curSize + 1, stringIndex + 1 ) + ( ret.length ? (sep + ret) : "" ); - - stringIndex -= curSize; - - if ( curGroupIndex < groupSizes.length ) { - curSize = groupSizes[ curGroupIndex ]; - curGroupIndex++; - } - } - - return numberString.slice( 0, stringIndex + 1 ) + sep + ret + right; - }; - - formatNumber = function( value, format, culture ) { - if ( !isFinite(value) ) { - if ( value === Infinity ) { - return culture.numberFormat.positiveInfinity; - } - if ( value === -Infinity ) { - return culture.numberFormat.negativeInfinity; - } - return culture.numberFormat.NaN; - } - if ( !format || format === "i" ) { - return culture.name.length ? value.toLocaleString() : value.toString(); - } - format = format || "D"; - - var nf = culture.numberFormat, - number = Math.abs( value ), - precision = -1, - pattern; - if ( format.length > 1 ) precision = parseInt( format.slice(1), 10 ); - - var current = format.charAt( 0 ).toUpperCase(), - formatInfo; - - switch ( current ) { - case "D": - pattern = "n"; - number = truncate( number ); - if ( precision !== -1 ) { - number = zeroPad( "" + number, precision, true ); - } - if ( value < 0 ) number = "-" + number; - break; - case "N": - formatInfo = nf; - // fall through - case "C": - formatInfo = formatInfo || nf.currency; - // fall through - case "P": - formatInfo = formatInfo || nf.percent; - pattern = value < 0 ? formatInfo.pattern[ 0 ] : ( formatInfo.pattern[1] || "n" ); - if ( precision === -1 ) precision = formatInfo.decimals; - number = expandNumber( number * (current === "P" ? 100 : 1), precision, formatInfo ); - break; - default: - throw "Bad number format specifier: " + current; - } - - var patternParts = /n|\$|-|%/g, - ret = ""; - for ( ; ; ) { - var index = patternParts.lastIndex, - ar = patternParts.exec( pattern ); - - ret += pattern.slice( index, ar ? ar.index : pattern.length ); - - if ( !ar ) { - break; - } - - switch ( ar[0] ) { - case "n": - ret += number; - break; - case "$": - ret += nf.currency.symbol; - break; - case "-": - // don't make 0 negative - if ( /[1-9]/.test(number) ) { - ret += nf[ "-" ]; - } - break; - case "%": - ret += nf.percent.symbol; - break; - } - } - - return ret; - }; - -}()); - -getTokenRegExp = function() { - // regular expression for matching date and time tokens in format strings. - 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; -}; - -getEra = function( date, eras ) { - if ( !eras ) return 0; - var start, ticks = date.getTime(); - for ( var i = 0, l = eras.length; i < l; i++ ) { - start = eras[ i ].start; - if ( start === null || ticks >= start ) { - return i; - } - } - return 0; -}; - -getEraYear = function( date, cal, era, sortable ) { - var year = date.getFullYear(); - if ( !sortable && cal.eras ) { - // convert normal gregorian year to era-shifted gregorian - // year by subtracting the era offset - year -= cal.eras[ era ].offset; - } - return year; -}; - -// parseExact -(function() { - var expandYear, - getDayIndex, - getMonthIndex, - getParseRegExp, - outOfRange, - toUpper, - toUpperArray; - - expandYear = function( cal, year ) { - // expands 2-digit year into 4 digits. - var now = new Date(), - era = getEra( now ); - if ( year < 100 ) { - var twoDigitYearMax = cal.twoDigitYearMax; - twoDigitYearMax = typeof twoDigitYearMax === "string" ? new Date().getFullYear() % 100 + parseInt( twoDigitYearMax, 10 ) : twoDigitYearMax; - var curr = getEraYear( now, cal, era ); - year += curr - ( curr % 100 ); - if ( year > twoDigitYearMax ) { - year -= 100; - } - } - return year; - }; - - getDayIndex = function ( cal, value, abbr ) { - var ret, - days = cal.days, - upperDays = cal._upperDays; - if ( !upperDays ) { - cal._upperDays = upperDays = [ - toUpperArray( days.names ), - toUpperArray( days.namesAbbr ), - toUpperArray( days.namesShort ) - ]; - } - value = toUpper( value ); - if ( abbr ) { - ret = arrayIndexOf( upperDays[1], value ); - if ( ret === -1 ) { - ret = arrayIndexOf( upperDays[2], value ); - } - } - else { - ret = arrayIndexOf( upperDays[0], value ); - } - return ret; - }; - - getMonthIndex = function( cal, value, abbr ) { - var months = cal.months, - monthsGen = cal.monthsGenitive || cal.months, - upperMonths = cal._upperMonths, - upperMonthsGen = cal._upperMonthsGen; - if ( !upperMonths ) { - cal._upperMonths = upperMonths = [ - toUpperArray( months.names ), - toUpperArray( months.namesAbbr ) - ]; - cal._upperMonthsGen = upperMonthsGen = [ - toUpperArray( monthsGen.names ), - toUpperArray( monthsGen.namesAbbr ) - ]; - } - value = toUpper( value ); - var i = arrayIndexOf( abbr ? upperMonths[1] : upperMonths[0], value ); - if ( i < 0 ) { - i = arrayIndexOf( abbr ? upperMonthsGen[1] : upperMonthsGen[0], value ); - } - return i; - }; - - getParseRegExp = function( cal, format ) { - // converts a format string into a regular expression with groups that - // can be used to extract date fields from a date string. - // check for a cached parse regex. - var re = cal._parseRegExp; - if ( !re ) { - cal._parseRegExp = re = {}; - } - else { - var reFormat = re[ format ]; - if ( reFormat ) { - return reFormat; - } - } - - // expand single digit formats, then escape regular expression characters. - var expFormat = expandFormat( cal, format ).replace( /([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g, "\\\\$1" ), - regexp = [ "^" ], - groups = [], - index = 0, - quoteCount = 0, - tokenRegExp = getTokenRegExp(), - match; - - // iterate through each date token found. - while ( (match = tokenRegExp.exec(expFormat)) !== null ) { - var preMatch = expFormat.slice( index, match.index ); - index = tokenRegExp.lastIndex; - - // don't replace any matches that occur inside a string literal. - quoteCount += appendPreOrPostMatch( preMatch, regexp ); - if ( quoteCount % 2 ) { - regexp.push( match[0] ); - continue; - } - - // add a regex group for the token. - var m = match[ 0 ], - len = m.length, - add; - switch ( m ) { - case "dddd": case "ddd": - case "MMMM": case "MMM": - case "gg": case "g": - add = "(\\D+)"; - break; - case "tt": case "t": - add = "(\\D*)"; - break; - case "yyyy": - case "fff": - case "ff": - case "f": - add = "(\\d{" + len + "})"; - 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": - add = "(\\d\\d?)"; - break; - case "zzz": - add = "([+-]?\\d\\d?:\\d{2})"; - break; - case "zz": case "z": - add = "([+-]?\\d\\d?)"; - break; - case "/": - add = "(\\" + cal[ "/" ] + ")"; - break; - default: - throw "Invalid date format pattern \'" + m + "\'."; - break; - } - if ( add ) { - regexp.push( add ); - } - groups.push( match[0] ); - } - appendPreOrPostMatch( expFormat.slice(index), regexp ); - regexp.push( "$" ); - - // allow whitespace to differ when matching formats. - var regexpStr = regexp.join( "" ).replace( /\s+/g, "\\s+" ), - parseRegExp = { "regExp": regexpStr, "groups": groups }; - - // cache the regex for this format. - return re[ format ] = parseRegExp; - }; - - outOfRange = function( value, low, high ) { - return value < low || value > high; - }; - - toUpper = function( value ) { - // "he-IL" has non-breaking space in weekday names. - return value.split( "\u00A0" ).join( " " ).toUpperCase(); - }; - - toUpperArray = function( arr ) { - var results = []; - for ( var i = 0, l = arr.length; i < l; i++ ) { - results[ i ] = toUpper( arr[i] ); - } - return results; - }; - - parseExact = function( value, format, culture ) { - // try to parse the date string by matching against the format string - // while using the specified culture for date field names. - value = trim( value ); - var cal = culture.calendar, - // convert date formats into regular expressions with groupings. - // use the regexp to determine the input format and extract the date fields. - parseInfo = getParseRegExp( cal, format ), - match = new RegExp( parseInfo.regExp ).exec( value ); - if ( match === null ) { - return null; - } - // found a date format that matches the input. - var groups = parseInfo.groups, - era = null, year = null, month = null, date = null, weekDay = null, - hour = 0, hourOffset, min = 0, sec = 0, msec = 0, tzMinOffset = null, - pmHour = false; - // iterate the format groups to extract and set the date fields. - for ( var j = 0, jl = groups.length; j < jl; j++ ) { - var matchGroup = match[ j + 1 ]; - if ( matchGroup ) { - var current = groups[ j ], - clength = current.length, - matchInt = parseInt( matchGroup, 10 ); - switch ( current ) { - case "dd": case "d": - // Day of month. - date = matchInt; - // check that date is generally in valid range, also checking overflow below. - if ( outOfRange(date, 1, 31) ) return null; - break; - case "MMM": case "MMMM": - month = getMonthIndex( cal, matchGroup, clength === 3 ); - if ( outOfRange(month, 0, 11) ) return null; - break; - case "M": case "MM": - // Month. - month = matchInt - 1; - if ( outOfRange(month, 0, 11) ) return null; - break; - case "y": case "yy": - case "yyyy": - year = clength < 4 ? expandYear( cal, matchInt ) : matchInt; - if ( outOfRange(year, 0, 9999) ) return null; - break; - case "h": case "hh": - // Hours (12-hour clock). - hour = matchInt; - if ( hour === 12 ) hour = 0; - if ( outOfRange(hour, 0, 11) ) return null; - break; - case "H": case "HH": - // Hours (24-hour clock). - hour = matchInt; - if ( outOfRange(hour, 0, 23) ) return null; - break; - case "m": case "mm": - // Minutes. - min = matchInt; - if ( outOfRange(min, 0, 59) ) return null; - break; - case "s": case "ss": - // Seconds. - sec = matchInt; - if ( outOfRange(sec, 0, 59) ) return null; - break; - case "tt": case "t": - // AM/PM designator. - // see if it is standard, upper, or lower case PM. If not, ensure it is at least one of - // the AM tokens. If not, fail the parse for this format. - pmHour = cal.PM && ( matchGroup === cal.PM[0] || matchGroup === cal.PM[1] || matchGroup === cal.PM[2] ); - if ( - !pmHour && ( - !cal.AM || ( matchGroup !== cal.AM[0] && matchGroup !== cal.AM[1] && matchGroup !== cal.AM[2] ) - ) - ) return null; - break; - case "f": - // Deciseconds. - case "ff": - // Centiseconds. - case "fff": - // Milliseconds. - msec = matchInt * Math.pow( 10, 3 - clength ); - if ( outOfRange(msec, 0, 999) ) return null; - break; - case "ddd": - // Day of week. - case "dddd": - // Day of week. - weekDay = getDayIndex( cal, matchGroup, clength === 3 ); - if ( outOfRange(weekDay, 0, 6) ) return null; - break; - case "zzz": - // Time zone offset in +/- hours:min. - var offsets = matchGroup.split( /:/ ); - if ( offsets.length !== 2 ) return null; - hourOffset = parseInt( offsets[0], 10 ); - if ( outOfRange(hourOffset, -12, 13) ) return null; - var minOffset = parseInt( offsets[1], 10 ); - if ( outOfRange(minOffset, 0, 59) ) return null; - tzMinOffset = ( hourOffset * 60 ) + ( startsWith(matchGroup, "-") ? -minOffset : minOffset ); - break; - case "z": case "zz": - // Time zone offset in +/- hours. - hourOffset = matchInt; - if ( outOfRange(hourOffset, -12, 13) ) return null; - tzMinOffset = hourOffset * 60; - break; - case "g": case "gg": - var eraName = matchGroup; - if ( !eraName || !cal.eras ) return null; - eraName = trim( eraName.toLowerCase() ); - for ( var i = 0, l = cal.eras.length; i < l; i++ ) { - if ( eraName === cal.eras[i].name.toLowerCase() ) { - era = i; - break; - } - } - // could not find an era with that name - if ( era === null ) return null; - break; - } - } - } - var result = new Date(), defaultYear, convert = cal.convert; - defaultYear = convert ? convert.fromGregorian( result )[ 0 ] : result.getFullYear(); - if ( year === null ) { - year = defaultYear; - } - else if ( cal.eras ) { - // year must be shifted to normal gregorian year - // but not if year was not specified, its already normal gregorian - // per the main if clause above. - year += cal.eras[( era || 0 )].offset; - } - // set default day and month to 1 and January, so if unspecified, these are the defaults - // instead of the current day/month. - if ( month === null ) { - month = 0; - } - if ( date === null ) { - date = 1; - } - // now have year, month, and date, but in the culture's calendar. - // convert to gregorian if necessary - if ( convert ) { - result = convert.toGregorian( year, month, date ); - // conversion failed, must be an invalid match - if ( result === null ) return null; - } - else { - // have to set year, month and date together to avoid overflow based on current date. - result.setFullYear( year, month, date ); - // check to see if date overflowed for specified month (only checked 1-31 above). - if ( result.getDate() !== date ) return null; - // invalid day of week. - if ( weekDay !== null && result.getDay() !== weekDay ) { - return null; - } - } - // if pm designator token was found make sure the hours fit the 24-hour clock. - if ( pmHour && hour < 12 ) { - hour += 12; - } - result.setHours( hour, min, sec, msec ); - if ( tzMinOffset !== null ) { - // adjust timezone to utc before applying local offset. - var adjustedMin = result.getMinutes() - ( tzMinOffset + result.getTimezoneOffset() ); - // Safari limits hours and minutes to the range of -127 to 127. We need to use setHours - // to ensure both these fields will not exceed this range. adjustedMin will range - // somewhere between -1440 and 1500, so we only need to split this into hours. - result.setHours( result.getHours() + parseInt(adjustedMin / 60, 10), adjustedMin % 60 ); - } - return result; - }; -}()); - -parseNegativePattern = function( value, nf, negativePattern ) { - var neg = nf[ "-" ], - pos = nf[ "+" ], - ret; - switch ( negativePattern ) { - case "n -": - neg = " " + neg; - pos = " " + pos; - // fall through - case "n-": - if ( endsWith(value, neg) ) { - ret = [ "-", value.substr(0, value.length - neg.length) ]; - } - else if ( endsWith(value, pos) ) { - ret = [ "+", value.substr(0, value.length - pos.length) ]; - } - break; - case "- n": - neg += " "; - pos += " "; - // fall through - case "-n": - if ( startsWith(value, neg) ) { - ret = [ "-", value.substr(neg.length) ]; - } - else if ( startsWith(value, pos) ) { - ret = [ "+", value.substr(pos.length) ]; - } - break; - case "(n)": - if ( startsWith(value, "(") && endsWith(value, ")") ) { - ret = [ "-", value.substr(1, value.length - 2) ]; - } - break; - } - return ret || [ "", value ]; -}; - -// -// public instance functions -// - -Globalize.prototype.findClosestCulture = function( cultureSelector ) { - return Globalize.findClosestCulture.call( this, cultureSelector ); -}; - -Globalize.prototype.format = function( value, format, cultureSelector ) { - return Globalize.format.call( this, value, format, cultureSelector ); -}; - -Globalize.prototype.localize = function( key, cultureSelector ) { - return Globalize.localize.call( this, key, cultureSelector ); -}; - -Globalize.prototype.parseInt = function( value, radix, cultureSelector ) { - return Globalize.parseInt.call( this, value, radix, cultureSelector ); -}; - -Globalize.prototype.parseFloat = function( value, radix, cultureSelector ) { - return Globalize.parseFloat.call( this, value, radix, cultureSelector ); -}; - -Globalize.prototype.culture = function( cultureSelector ) { - return Globalize.culture.call( this, cultureSelector ); -}; - -// -// public singleton functions -// - -Globalize.addCultureInfo = function( cultureName, baseCultureName, info ) { - - var base = {}, - isNew = false; - - if ( typeof cultureName !== "string" ) { - // cultureName argument is optional string. If not specified, assume info is first - // and only argument. Specified info deep-extends current culture. - info = cultureName; - cultureName = this.culture().name; - base = this.cultures[ cultureName ]; - } else if ( typeof baseCultureName !== "string" ) { - // baseCultureName argument is optional string. If not specified, assume info is second - // argument. Specified info deep-extends specified culture. - // If specified culture does not exist, create by deep-extending default - info = baseCultureName; - isNew = ( this.cultures[ cultureName ] == null ); - base = this.cultures[ cultureName ] || this.cultures[ "default" ]; - } else { - // cultureName and baseCultureName specified. Assume a new culture is being created - // by deep-extending an specified base culture - isNew = true; - base = this.cultures[ baseCultureName ]; - } - - this.cultures[ cultureName ] = extend(true, {}, - base, - info - ); - // Make the standard calendar the current culture if it's a new culture - if ( isNew ) { - this.cultures[ cultureName ].calendar = this.cultures[ cultureName ].calendars.standard; - } -}; - -Globalize.findClosestCulture = function( name ) { - var match; - if ( !name ) { - return this.cultures[ this.cultureSelector ] || this.cultures[ "default" ]; - } - if ( typeof name === "string" ) { - name = name.split( "," ); - } - if ( isArray(name) ) { - var lang, - cultures = this.cultures, - list = name, - i, l = list.length, - prioritized = []; - for ( i = 0; i < l; i++ ) { - name = trim( list[i] ); - var pri, parts = name.split( ";" ); - lang = trim( parts[0] ); - if ( parts.length === 1 ) { - pri = 1; - } - else { - name = trim( parts[1] ); - if ( name.indexOf("q=") === 0 ) { - name = name.substr( 2 ); - pri = parseFloat( name ); - pri = isNaN( pri ) ? 0 : pri; - } - else { - pri = 1; - } - } - prioritized.push({ lang: lang, pri: pri }); - } - prioritized.sort(function( a, b ) { - return a.pri < b.pri ? 1 : -1; - }); - - // exact match - for ( i = 0; i < l; i++ ) { - lang = prioritized[ i ].lang; - match = cultures[ lang ]; - if ( match ) { - return match; - } - } - - // neutral language match - for ( i = 0; i < l; i++ ) { - lang = prioritized[ i ].lang; - do { - var index = lang.lastIndexOf( "-" ); - if ( index === -1 ) { - break; - } - // strip off the last part. e.g. en-US => en - lang = lang.substr( 0, index ); - match = cultures[ lang ]; - if ( match ) { - return match; - } - } - while ( 1 ); - } - - // last resort: match first culture using that language - for ( i = 0; i < l; i++ ) { - lang = prioritized[ i ].lang; - for ( var cultureKey in cultures ) { - var culture = cultures[ cultureKey ]; - if ( culture.language == lang ) { - return culture; - } - } - } - } - else if ( typeof name === "object" ) { - return name; - } - return match || null; -}; - -Globalize.format = function( value, format, cultureSelector ) { - culture = this.findClosestCulture( cultureSelector ); - if ( value instanceof Date ) { - value = formatDate( value, format, culture ); - } - else if ( typeof value === "number" ) { - value = formatNumber( value, format, culture ); - } - return value; -}; - -Globalize.localize = function( key, cultureSelector ) { - return this.findClosestCulture( cultureSelector ).messages[ key ] || - this.cultures[ "default" ].messages[ key ]; -}; - -Globalize.parseDate = function( value, formats, culture ) { - culture = this.findClosestCulture( culture ); - - var date, prop, patterns; - if ( formats ) { - if ( typeof formats === "string" ) { - formats = [ formats ]; - } - if ( formats.length ) { - for ( var i = 0, l = formats.length; i < l; i++ ) { - var format = formats[ i ]; - if ( format ) { - date = parseExact( value, format, culture ); - if ( date ) { - break; - } - } - } - } - } else { - patterns = culture.calendar.patterns; - for ( prop in patterns ) { - date = parseExact( value, patterns[prop], culture ); - if ( date ) { - break; - } - } - } - - return date || null; -}; - -Globalize.parseInt = function( value, radix, cultureSelector ) { - return truncate( Globalize.parseFloat(value, radix, cultureSelector) ); -}; - -Globalize.parseFloat = function( value, radix, cultureSelector ) { - // radix argument is optional - if ( typeof radix !== "number" ) { - cultureSelector = radix; - radix = 10; - } - - var culture = this.findClosestCulture( cultureSelector ); - var ret = NaN, - nf = culture.numberFormat; - - if ( value.indexOf(culture.numberFormat.currency.symbol) > -1 ) { - // remove currency symbol - value = value.replace( culture.numberFormat.currency.symbol, "" ); - // replace decimal seperator - value = value.replace( culture.numberFormat.currency["."], culture.numberFormat["."] ); - } - - // trim leading and trailing whitespace - value = trim( value ); - - // allow infinity or hexidecimal - if ( regexInfinity.test(value) ) { - ret = parseFloat( value ); - } - else if ( !radix && regexHex.test(value) ) { - ret = parseInt( value, 16 ); - } - else { - - // determine sign and number - var signInfo = parseNegativePattern( value, nf, nf.pattern[0] ), - sign = signInfo[ 0 ], - num = signInfo[ 1 ]; - - // #44 - try parsing as "(n)" - if ( sign === "" && nf.pattern[0] !== "(n)" ) { - signInfo = parseNegativePattern( value, nf, "(n)" ); - sign = signInfo[ 0 ]; - num = signInfo[ 1 ]; - } - - // try parsing as "-n" - if ( sign === "" && nf.pattern[0] !== "-n" ) { - signInfo = parseNegativePattern( value, nf, "-n" ); - sign = signInfo[ 0 ]; - num = signInfo[ 1 ]; - } - - sign = sign || "+"; - - // determine exponent and number - var exponent, - intAndFraction, - exponentPos = num.indexOf( "e" ); - if ( exponentPos < 0 ) exponentPos = num.indexOf( "E" ); - if ( exponentPos < 0 ) { - intAndFraction = num; - exponent = null; - } - else { - intAndFraction = num.substr( 0, exponentPos ); - exponent = num.substr( exponentPos + 1 ); - } - // determine decimal position - var integer, - fraction, - decSep = nf[ "." ], - decimalPos = intAndFraction.indexOf( decSep ); - if ( decimalPos < 0 ) { - integer = intAndFraction; - fraction = null; - } - else { - integer = intAndFraction.substr( 0, decimalPos ); - fraction = intAndFraction.substr( decimalPos + decSep.length ); - } - // handle groups (e.g. 1,000,000) - var groupSep = nf[ "," ]; - integer = integer.split( groupSep ).join( "" ); - var altGroupSep = groupSep.replace( /\u00A0/g, " " ); - if ( groupSep !== altGroupSep ) { - integer = integer.split( altGroupSep ).join( "" ); - } - // build a natively parsable number string - var p = sign + integer; - if ( fraction !== null ) { - p += "." + fraction; - } - if ( exponent !== null ) { - // exponent itself may have a number patternd - var expSignInfo = parseNegativePattern( exponent, nf, "-n" ); - p += "e" + ( expSignInfo[0] || "+" ) + expSignInfo[ 1 ]; - } - if ( regexParseFloat.test(p) ) { - ret = parseFloat( p ); - } - } - return ret; -}; - -Globalize.culture = function( cultureSelector ) { - // setter - if ( typeof cultureSelector !== "undefined" ) { - this.cultureSelector = cultureSelector; - } - // getter - return this.findClosestCulture( cultureSelector ) || this.culture[ "default" ]; -}; - -}( this )); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jquery.mousewheel.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jquery.mousewheel.js deleted file mode 100644 index 8c60304..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jquery.mousewheel.js +++ /dev/null @@ -1,101 +0,0 @@ -/*! Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net) - * Licensed under the MIT License (LICENSE.txt). - * - * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. - * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. - * Thanks to: Seamus Leahy for adding deltaX and deltaY - * - * Version: 3.1.0 - * - * Requires: 1.2.2+ - */ - -(function (factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['jquery'], factory); - } else { - // Browser globals - factory(jQuery); - } -}(function ($) { - - var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll']; - var toBind = 'onwheel' in document || document.documentMode >= 9 ? ['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll']; - var lowestDelta, lowestDeltaXY; - - if ($.event.fixHooks) { - for ( var i=toFix.length; i; ) { - $.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks; - } - } - - $.event.special.mousewheel = { - setup: function() { - if ( this.addEventListener ) { - for ( var i=toBind.length; i; ) { - this.addEventListener( toBind[--i], handler, false ); - } - } else { - this.onmousewheel = handler; - } - }, - - teardown: function() { - if ( this.removeEventListener ) { - for ( var i=toBind.length; i; ) { - this.removeEventListener( toBind[--i], handler, false ); - } - } else { - this.onmousewheel = null; - } - } - }; - - $.fn.extend({ - mousewheel: function(fn) { - return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel"); - }, - - unmousewheel: function(fn) { - return this.unbind("mousewheel", fn); - } - }); - - - function handler(event) { - var orgEvent = event || window.event, args = [].slice.call( arguments, 1 ), delta = 0, deltaX = 0, deltaY = 0, absDelta = 0, absDeltaXY = 0; - event = $.event.fix(orgEvent); - event.type = "mousewheel"; - - // Old school scrollwheel delta - if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta; } - if ( orgEvent.detail ) { delta = orgEvent.detail * -1; } - - // New school wheel delta (wheel event) - if ( orgEvent.deltaY ) { - deltaY = orgEvent.deltaY * -1; - delta = deltaY; - } - if ( orgEvent.deltaX ) { - deltaX = orgEvent.deltaX; - delta = deltaX * -1; - } - - // Webkit - if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY; } - if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = orgEvent.wheelDeltaX * -1; } - - absDelta = Math.abs(delta); - if ( !lowestDelta || absDelta < lowestDelta ) { lowestDelta = absDelta; } - - absDeltaXY = Math.max( Math.abs(deltaY), Math.abs(deltaX) ); - if ( !lowestDeltaXY || absDeltaXY < lowestDeltaXY ) { lowestDeltaXY = absDeltaXY; } - - // Add event and delta to the front of the arguments - args.unshift(event, Math.floor(delta/lowestDelta), Math.floor(deltaX/lowestDeltaXY), Math.floor(deltaY/lowestDeltaXY)); - - return ($.event.dispatch || $.event.handle).apply(this, args); - } - -})); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jshint.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jshint.js deleted file mode 100644 index 8f06d9b..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jshint.js +++ /dev/null @@ -1,4835 +0,0 @@ -/*! - * JSHint, by JSHint Community. - * - * This file (and this file only) is licensed under the same slightly modified - * MIT license that JSLint is. It stops evil-doers everywhere. - * - * JSHint is a derivative work of JSLint: - * - * Copyright (c) 2002 Douglas Crockford (www.JSLint.com) - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom - * the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included - * in all copies or substantial portions of the Software. - * - * The Software shall be used for Good, not Evil. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - * - */ - -/* - JSHINT is a global function. It takes two parameters. - - var myResult = JSHINT(source, option); - - The first parameter is either a string or an array of strings. If it is a - string, it will be split on '\n' or '\r'. If it is an array of strings, it - is assumed that each string represents one line. The source can be a - JavaScript text or a JSON text. - - The second parameter is an optional object of options which control the - operation of JSHINT. Most of the options are booleans: They are all - optional and have a default value of false. One of the options, predef, - can be an array of names, which will be used to declare global variables, - or an object whose keys are used as global names, with a boolean value - that determines if they are assignable. - - If it checks out, JSHINT returns true. Otherwise, it returns false. - - If false, you can inspect JSHINT.errors to find out the problems. - JSHINT.errors is an array of objects containing these members: - - { - line : The line (relative to 1) at which the lint was found - character : The character (relative to 1) at which the lint was found - reason : The problem - evidence : The text line in which the problem occurred - raw : The raw message before the details were inserted - a : The first detail - b : The second detail - c : The third detail - d : The fourth detail - } - - If a fatal error was found, a null will be the last element of the - JSHINT.errors array. - - You can request a data structure which contains JSHint's results. - - var myData = JSHINT.data(); - - It returns a structure with this form: - - { - errors: [ - { - line: NUMBER, - character: NUMBER, - reason: STRING, - evidence: STRING - } - ], - functions: [ - name: STRING, - line: NUMBER, - character: NUMBER, - last: NUMBER, - lastcharacter: NUMBER, - param: [ - STRING - ], - closure: [ - STRING - ], - var: [ - STRING - ], - exception: [ - STRING - ], - outer: [ - STRING - ], - unused: [ - STRING - ], - global: [ - STRING - ], - label: [ - STRING - ] - ], - globals: [ - STRING - ], - member: { - STRING: NUMBER - }, - unused: [ - { - name: STRING, - line: NUMBER - } - ], - implieds: [ - { - name: STRING, - line: NUMBER - } - ], - urls: [ - STRING - ], - json: BOOLEAN - } - - Empty arrays will not be included. - -*/ - -/*jshint - evil: true, nomen: false, onevar: false, regexp: false, strict: true, boss: true, - undef: true, maxlen: 100, indent: 4, quotmark: double, unused: true -*/ - -/*members "\b", "\t", "\n", "\f", "\r", "!=", "!==", "\"", "%", "(begin)", - "(breakage)", "(character)", "(context)", "(error)", "(explicitNewcap)", "(global)", - "(identifier)", "(last)", "(lastcharacter)", "(line)", "(loopage)", "(metrics)", - "(name)", "(onevar)", "(params)", "(scope)", "(statement)", "(verb)", "(tokens)", "(catch)", - "*", "+", "++", "-", "--", "\/", "<", "<=", "==", - "===", ">", ">=", $, $$, $A, $F, $H, $R, $break, $continue, $w, Abstract, Ajax, - __filename, __dirname, ActiveXObject, Array, ArrayBuffer, ArrayBufferView, Audio, - Autocompleter, Asset, Boolean, Builder, Buffer, Browser, Blob, COM, CScript, Canvas, - CustomAnimation, Class, Control, ComplexityCount, Chain, Color, Cookie, Core, DataView, Date, - Debug, Draggable, Draggables, Droppables, Document, DomReady, DOMEvent, DOMReady, DOMParser, - Drag, E, Enumerator, Enumerable, Element, Elements, Error, Effect, EvalError, Event, - Events, FadeAnimation, Field, Flash, Float32Array, Float64Array, Form, - FormField, Frame, FormData, Function, Fx, GetObject, Group, Hash, HotKey, - HTMLElement, HTMLAnchorElement, HTMLBaseElement, HTMLBlockquoteElement, - HTMLBodyElement, HTMLBRElement, HTMLButtonElement, HTMLCanvasElement, HTMLDirectoryElement, - HTMLDivElement, HTMLDListElement, HTMLFieldSetElement, - HTMLFontElement, HTMLFormElement, HTMLFrameElement, HTMLFrameSetElement, - HTMLHeadElement, HTMLHeadingElement, HTMLHRElement, HTMLHtmlElement, - HTMLIFrameElement, HTMLImageElement, HTMLInputElement, HTMLIsIndexElement, - HTMLLabelElement, HTMLLayerElement, HTMLLegendElement, HTMLLIElement, - HTMLLinkElement, HTMLMapElement, HTMLMenuElement, HTMLMetaElement, - HTMLModElement, HTMLObjectElement, HTMLOListElement, HTMLOptGroupElement, - HTMLOptionElement, HTMLParagraphElement, HTMLParamElement, HTMLPreElement, - HTMLQuoteElement, HTMLScriptElement, HTMLSelectElement, HTMLStyleElement, - HtmlTable, HTMLTableCaptionElement, HTMLTableCellElement, HTMLTableColElement, - HTMLTableElement, HTMLTableRowElement, HTMLTableSectionElement, - HTMLTextAreaElement, HTMLTitleElement, HTMLUListElement, HTMLVideoElement, - Iframe, IframeShim, Image, importScripts, Int16Array, Int32Array, Int8Array, - Insertion, InputValidator, JSON, Keyboard, Locale, LN10, LN2, LOG10E, LOG2E, - MAX_VALUE, MIN_VALUE, Map, Mask, Math, MenuItem, MessageChannel, MessageEvent, MessagePort, - MoveAnimation, MooTools, MutationObserver, NaN, Native, NEGATIVE_INFINITY, Node, NodeFilter, - Number, Object, ObjectRange, - Option, Options, OverText, PI, POSITIVE_INFINITY, PeriodicalExecuter, Point, Position, Prototype, - RangeError, Rectangle, ReferenceError, RegExp, ResizeAnimation, Request, RotateAnimation, Set, - SQRT1_2, SQRT2, ScrollBar, ScriptEngine, ScriptEngineBuildVersion, - ScriptEngineMajorVersion, ScriptEngineMinorVersion, Scriptaculous, Scroller, - Slick, Slider, Selector, SharedWorker, String, Style, SyntaxError, Sortable, Sortables, - SortableObserver, Sound, Spinner, System, Swiff, Text, TextArea, Template, - Timer, Tips, Type, TypeError, Toggle, Try, "use strict", unescape, URI, URIError, URL, - VBArray, WeakMap, WSH, WScript, XDomainRequest, Web, Window, XMLDOM, XMLHttpRequest, XMLSerializer, - XPathEvaluator, XPathException, XPathExpression, XPathNamespace, XPathNSResolver, XPathResult, - "\\", a, abs, addEventListener, address, alert, apply, applicationCache, arguments, arity, - asi, atob, b, basic, basicToken, bitwise, blacklist, block, blur, boolOptions, boss, - browser, btoa, c, call, callee, caller, camelcase, cases, charAt, charCodeAt, character, - clearInterval, clearTimeout, close, closed, closure, comment, complexityCount, condition, - confirm, console, constructor, content, couch, create, css, curly, d, data, datalist, dd, debug, - decodeURI, decodeURIComponent, defaultStatus, defineClass, deserialize, devel, document, - dojo, dijit, dojox, define, else, emit, encodeURI, encodeURIComponent, elem, - eqeq, eqeqeq, eqnull, errors, es5, escape, esnext, eval, event, evidence, evil, - ex, exception, exec, exps, expr, exports, FileReader, first, floor, focus, forEach, - forin, fragment, frames, from, fromCharCode, fud, funcscope, funct, function, functions, - g, gc, getComputedStyle, getRow, getter, getterToken, GLOBAL, global, globals, globalstrict, - hasOwnProperty, help, history, i, id, identifier, immed, implieds, importPackage, include, - indent, indexOf, init, ins, internals, instanceOf, isAlpha, isApplicationRunning, isArray, - isDigit, isFinite, isNaN, iterator, java, join, jshint, - JSHINT, json, jquery, jQuery, keys, label, labelled, last, lastcharacter, lastsemic, laxbreak, - laxcomma, latedef, lbp, led, left, length, line, load, loadClass, localStorage, location, - log, loopfunc, m, match, max, maxcomplexity, maxdepth, maxerr, maxlen, maxstatements, maxparams, - member, message, meta, module, moveBy, moveTo, mootools, multistr, name, navigator, new, newcap, - nestedBlockDepth, noarg, node, noempty, nomen, nonew, nonstandard, nud, onbeforeunload, onblur, - onerror, onevar, onecase, onfocus, onload, onresize, onunload, open, openDatabase, openURL, - opener, opera, options, outer, param, parent, parseFloat, parseInt, passfail, plusplus, - postMessage, pop, predef, print, process, prompt, proto, prototype, prototypejs, provides, push, - quit, quotmark, range, raw, reach, reason, regexp, readFile, readUrl, regexdash, - removeEventListener, replace, report, require, reserved, resizeBy, resizeTo, resolvePath, - resumeUpdates, respond, rhino, right, runCommand, scroll, scope, screen, scripturl, scrollBy, - scrollTo, scrollbar, search, seal, self, send, serialize, sessionStorage, setInterval, setTimeout, - setter, setterToken, shift, slice, smarttabs, sort, spawn, split, statement, statementCount, stack, - status, start, strict, sub, substr, supernew, shadow, supplant, sum, sync, test, toLowerCase, - toString, toUpperCase, toint32, token, tokens, top, trailing, type, typeOf, Uint16Array, - Uint32Array, Uint8Array, undef, undefs, unused, urls, validthis, value, valueOf, var, vars, - version, verifyMaxParametersPerFunction, verifyMaxStatementsPerFunction, - verifyMaxComplexityPerFunction, verifyMaxNestedBlockDepthPerFunction, WebSocket, withstmt, white, - window, windows, Worker, worker, wsh, yui, YUI, Y, YUI_config*/ - -/*global exports: false */ - -// We build the application inside a function so that we produce only a single -// global variable. That function will be invoked immediately, and its return -// value is the JSHINT function itself. - -var JSHINT = (function () { - "use strict"; - - var anonname, // The guessed name for anonymous functions. - -// These are operators that should not be used with the ! operator. - - bang = { - "<" : true, - "<=" : true, - "==" : true, - "===": true, - "!==": true, - "!=" : true, - ">" : true, - ">=" : true, - "+" : true, - "-" : true, - "*" : true, - "/" : true, - "%" : true - }, - - // These are the JSHint boolean options. - boolOptions = { - asi : true, // if automatic semicolon insertion should be tolerated - bitwise : true, // if bitwise operators should not be allowed - boss : true, // if advanced usage of assignments should be allowed - browser : true, // if the standard browser globals should be predefined - camelcase : true, // if identifiers should be required in camel case - couch : true, // if CouchDB globals should be predefined - curly : true, // if curly braces around all blocks should be required - debug : true, // if debugger statements should be allowed - devel : true, // if logging globals should be predefined (console, - // alert, etc.) - dojo : true, // if Dojo Toolkit globals should be predefined - eqeqeq : true, // if === should be required - eqnull : true, // if == null comparisons should be tolerated - es5 : true, // if ES5 syntax should be allowed - esnext : true, // if es.next specific syntax should be allowed - evil : true, // if eval should be allowed - expr : true, // if ExpressionStatement should be allowed as Programs - forin : true, // if for in statements must filter - funcscope : true, // if only function scope should be used for scope tests - globalstrict: true, // if global "use strict"; should be allowed (also - // enables 'strict') - immed : true, // if immediate invocations must be wrapped in parens - iterator : true, // if the `__iterator__` property should be allowed - jquery : true, // if jQuery globals should be predefined - lastsemic : true, // if semicolons may be ommitted for the trailing - // statements inside of a one-line blocks. - latedef : true, // if the use before definition should not be tolerated - laxbreak : true, // if line breaks should not be checked - laxcomma : true, // if line breaks should not be checked around commas - loopfunc : true, // if functions should be allowed to be defined within - // loops - mootools : true, // if MooTools globals should be predefined - multistr : true, // allow multiline strings - newcap : true, // if constructor names must be capitalized - noarg : true, // if arguments.caller and arguments.callee should be - // disallowed - node : true, // if the Node.js environment globals should be - // predefined - noempty : true, // if empty blocks should be disallowed - nonew : true, // if using `new` for side-effects should be disallowed - nonstandard : true, // if non-standard (but widely adopted) globals should - // be predefined - nomen : true, // if names should be checked - onevar : true, // if only one var statement per function should be - // allowed - onecase : true, // if one case switch statements should be allowed - passfail : true, // if the scan should stop on first error - plusplus : true, // if increment/decrement should not be allowed - proto : true, // if the `__proto__` property should be allowed - prototypejs : true, // if Prototype and Scriptaculous globals should be - // predefined - regexdash : true, // if unescaped first/last dash (-) inside brackets - // should be tolerated - regexp : true, // if the . should not be allowed in regexp literals - rhino : true, // if the Rhino environment globals should be predefined - undef : true, // if variables should be declared before used - unused : true, // if variables should be always used - scripturl : true, // if script-targeted URLs should be tolerated - shadow : true, // if variable shadowing should be tolerated - smarttabs : true, // if smarttabs should be tolerated - // (http://www.emacswiki.org/emacs/SmartTabs) - strict : true, // require the "use strict"; pragma - sub : true, // if all forms of subscript notation are tolerated - supernew : true, // if `new function () { ... };` and `new Object;` - // should be tolerated - trailing : true, // if trailing whitespace rules apply - validthis : true, // if 'this' inside a non-constructor function is valid. - // This is a function scoped option only. - withstmt : true, // if with statements should be allowed - white : true, // if strict whitespace rules apply - worker : true, // if Web Worker script symbols should be allowed - wsh : true, // if the Windows Scripting Host environment globals - // should be predefined - yui : true // YUI variables should be predefined - }, - - // These are the JSHint options that can take any value - // (we use this object to detect invalid options) - valOptions = { - maxlen : false, - indent : false, - maxerr : false, - predef : false, - quotmark : false, //'single'|'double'|true - scope : false, - maxstatements: false, // {int} max statements per function - maxdepth : false, // {int} max nested block depth per function - maxparams : false, // {int} max params per function - maxcomplexity: false // {int} max cyclomatic complexity per function - }, - - // These are JSHint boolean options which are shared with JSLint - // where the definition in JSHint is opposite JSLint - invertedOptions = { - bitwise : true, - forin : true, - newcap : true, - nomen : true, - plusplus : true, - regexp : true, - undef : true, - white : true, - - // Inverted and renamed, use JSHint name here - eqeqeq : true, - onevar : true - }, - - // These are JSHint boolean options which are shared with JSLint - // where the name has been changed but the effect is unchanged - renamedOptions = { - eqeq : "eqeqeq", - vars : "onevar", - windows : "wsh" - }, - - - // browser contains a set of global names which are commonly provided by a - // web browser environment. - browser = { - ArrayBuffer : false, - ArrayBufferView : false, - Audio : false, - Blob : false, - addEventListener : false, - applicationCache : false, - atob : false, - blur : false, - btoa : false, - clearInterval : false, - clearTimeout : false, - close : false, - closed : false, - DataView : false, - DOMParser : false, - defaultStatus : false, - document : false, - event : false, - FileReader : false, - Float32Array : false, - Float64Array : false, - FormData : false, - focus : false, - frames : false, - getComputedStyle : false, - HTMLElement : false, - HTMLAnchorElement : false, - HTMLBaseElement : false, - HTMLBlockquoteElement : false, - HTMLBodyElement : false, - HTMLBRElement : false, - HTMLButtonElement : false, - HTMLCanvasElement : false, - HTMLDirectoryElement : false, - HTMLDivElement : false, - HTMLDListElement : false, - HTMLFieldSetElement : false, - HTMLFontElement : false, - HTMLFormElement : false, - HTMLFrameElement : false, - HTMLFrameSetElement : false, - HTMLHeadElement : false, - HTMLHeadingElement : false, - HTMLHRElement : false, - HTMLHtmlElement : false, - HTMLIFrameElement : false, - HTMLImageElement : false, - HTMLInputElement : false, - HTMLIsIndexElement : false, - HTMLLabelElement : false, - HTMLLayerElement : false, - HTMLLegendElement : false, - HTMLLIElement : false, - HTMLLinkElement : false, - HTMLMapElement : false, - HTMLMenuElement : false, - HTMLMetaElement : false, - HTMLModElement : false, - HTMLObjectElement : false, - HTMLOListElement : false, - HTMLOptGroupElement : false, - HTMLOptionElement : false, - HTMLParagraphElement : false, - HTMLParamElement : false, - HTMLPreElement : false, - HTMLQuoteElement : false, - HTMLScriptElement : false, - HTMLSelectElement : false, - HTMLStyleElement : false, - HTMLTableCaptionElement : false, - HTMLTableCellElement : false, - HTMLTableColElement : false, - HTMLTableElement : false, - HTMLTableRowElement : false, - HTMLTableSectionElement : false, - HTMLTextAreaElement : false, - HTMLTitleElement : false, - HTMLUListElement : false, - HTMLVideoElement : false, - history : false, - Int16Array : false, - Int32Array : false, - Int8Array : false, - Image : false, - length : false, - localStorage : false, - location : false, - MessageChannel : false, - MessageEvent : false, - MessagePort : false, - moveBy : false, - moveTo : false, - MutationObserver : false, - name : false, - Node : false, - NodeFilter : false, - navigator : false, - onbeforeunload : true, - onblur : true, - onerror : true, - onfocus : true, - onload : true, - onresize : true, - onunload : true, - open : false, - openDatabase : false, - opener : false, - Option : false, - parent : false, - print : false, - removeEventListener : false, - resizeBy : false, - resizeTo : false, - screen : false, - scroll : false, - scrollBy : false, - scrollTo : false, - sessionStorage : false, - setInterval : false, - setTimeout : false, - SharedWorker : false, - status : false, - top : false, - Uint16Array : false, - Uint32Array : false, - Uint8Array : false, - WebSocket : false, - window : false, - Worker : false, - XMLHttpRequest : false, - XMLSerializer : false, - XPathEvaluator : false, - XPathException : false, - XPathExpression : false, - XPathNamespace : false, - XPathNSResolver : false, - XPathResult : false - }, - - couch = { - "require" : false, - respond : false, - getRow : false, - emit : false, - send : false, - start : false, - sum : false, - log : false, - exports : false, - module : false, - provides : false - }, - - declared, // Globals that were declared using /*global ... */ syntax. - - devel = { - alert : false, - confirm : false, - console : false, - Debug : false, - opera : false, - prompt : false - }, - - dojo = { - dojo : false, - dijit : false, - dojox : false, - define : false, - "require" : false - }, - - funct, // The current function - - functionicity = [ - "closure", "exception", "global", "label", - "outer", "unused", "var" - ], - - functions, // All of the functions - - global, // The global scope - implied, // Implied globals - inblock, - indent, - jsonmode, - - jquery = { - "$" : false, - jQuery : false - }, - - lines, - lookahead, - member, - membersOnly, - - mootools = { - "$" : false, - "$$" : false, - Asset : false, - Browser : false, - Chain : false, - Class : false, - Color : false, - Cookie : false, - Core : false, - Document : false, - DomReady : false, - DOMEvent : false, - DOMReady : false, - Drag : false, - Element : false, - Elements : false, - Event : false, - Events : false, - Fx : false, - Group : false, - Hash : false, - HtmlTable : false, - Iframe : false, - IframeShim : false, - InputValidator : false, - instanceOf : false, - Keyboard : false, - Locale : false, - Mask : false, - MooTools : false, - Native : false, - Options : false, - OverText : false, - Request : false, - Scroller : false, - Slick : false, - Slider : false, - Sortables : false, - Spinner : false, - Swiff : false, - Tips : false, - Type : false, - typeOf : false, - URI : false, - Window : false - }, - - nexttoken, - - node = { - __filename : false, - __dirname : false, - Buffer : false, - console : false, - exports : true, // In Node it is ok to exports = module.exports = foo(); - GLOBAL : false, - global : false, - module : false, - process : false, - require : false, - setTimeout : false, - clearTimeout : false, - setInterval : false, - clearInterval : false - }, - - noreach, - option, - predefined, // Global variables defined by option - prereg, - prevtoken, - - prototypejs = { - "$" : false, - "$$" : false, - "$A" : false, - "$F" : false, - "$H" : false, - "$R" : false, - "$break" : false, - "$continue" : false, - "$w" : false, - Abstract : false, - Ajax : false, - Class : false, - Enumerable : false, - Element : false, - Event : false, - Field : false, - Form : false, - Hash : false, - Insertion : false, - ObjectRange : false, - PeriodicalExecuter: false, - Position : false, - Prototype : false, - Selector : false, - Template : false, - Toggle : false, - Try : false, - Autocompleter : false, - Builder : false, - Control : false, - Draggable : false, - Draggables : false, - Droppables : false, - Effect : false, - Sortable : false, - SortableObserver : false, - Sound : false, - Scriptaculous : false - }, - - quotmark, - - rhino = { - defineClass : false, - deserialize : false, - gc : false, - help : false, - importPackage: false, - "java" : false, - load : false, - loadClass : false, - print : false, - quit : false, - readFile : false, - readUrl : false, - runCommand : false, - seal : false, - serialize : false, - spawn : false, - sync : false, - toint32 : false, - version : false - }, - - scope, // The current scope - stack, - - // standard contains the global names that are provided by the - // ECMAScript standard. - standard = { - Array : false, - Boolean : false, - Date : false, - decodeURI : false, - decodeURIComponent : false, - encodeURI : false, - encodeURIComponent : false, - Error : false, - "eval" : false, - EvalError : false, - Function : false, - hasOwnProperty : false, - isFinite : false, - isNaN : false, - JSON : false, - Map : false, - Math : false, - NaN : false, - Number : false, - Object : false, - parseInt : false, - parseFloat : false, - RangeError : false, - ReferenceError : false, - RegExp : false, - Set : false, - String : false, - SyntaxError : false, - TypeError : false, - URIError : false, - WeakMap : false - }, - - // widely adopted global names that are not part of ECMAScript standard - nonstandard = { - escape : false, - unescape : false - }, - - directive, - syntax = {}, - tab, - token, - unuseds, - urls, - useESNextSyntax, - warnings, - - worker = { - importScripts : true, - postMessage : true, - self : true - }, - - wsh = { - ActiveXObject : true, - Enumerator : true, - GetObject : true, - ScriptEngine : true, - ScriptEngineBuildVersion : true, - ScriptEngineMajorVersion : true, - ScriptEngineMinorVersion : true, - VBArray : true, - WSH : true, - WScript : true, - XDomainRequest : true - }, - - yui = { - YUI : false, - Y : false, - YUI_config : false - }; - // Regular expressions. Some of these are stupidly long. - var ax, cx, tx, nx, nxg, lx, ix, jx, ft; - (function () { - /*jshint maxlen:300 */ - - // unsafe comment or string - ax = /@cc|<\/?|script|\]\s*\]|<\s*!|</i; - - // unsafe characters that are silently deleted by one or more browsers - cx = /[\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/; - - // token - tx = /^\s*([(){}\[.,:;'"~\?\]#@]|==?=?|\/=(?!(\S*\/[gim]?))|\/(\*(jshint|jslint|members?|global)?|\/)?|\*[\/=]?|\+(?:=|\++)?|-(?:=|-+)?|%=?|&[&=]?|\|[|=]?|>>?>?=?|<([\/=!]|\!(\[|--)?|<=?)?|\^=?|\!=?=?|[a-zA-Z_$][a-zA-Z0-9_$]*|[0-9]+([xX][0-9a-fA-F]+|\.[0-9]*)?([eE][+\-]?[0-9]+)?)/; - - // characters in strings that need escapement - nx = /[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/; - nxg = /[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; - - // star slash - lx = /\*\//; - - // identifier - ix = /^([a-zA-Z_$][a-zA-Z0-9_$]*)$/; - - // javascript url - jx = /^(?:javascript|jscript|ecmascript|vbscript|mocha|livescript)\s*:/i; - - // catches /* falls through */ comments - ft = /^\s*\/\*\s*falls\sthrough\s*\*\/\s*$/; - }()); - - function F() {} // Used by Object.create - - function is_own(object, name) { - // The object.hasOwnProperty method fails when the property under consideration - // is named 'hasOwnProperty'. So we have to use this more convoluted form. - return Object.prototype.hasOwnProperty.call(object, name); - } - - function checkOption(name, t) { - if (valOptions[name] === undefined && boolOptions[name] === undefined) { - warning("Bad option: '" + name + "'.", t); - } - } - - function isString(obj) { - return Object.prototype.toString.call(obj) === "[object String]"; - } - - // Provide critical ES5 functions to ES3. - - if (typeof Array.isArray !== "function") { - Array.isArray = function (o) { - return Object.prototype.toString.apply(o) === "[object Array]"; - }; - } - - if (!Array.prototype.forEach) { - Array.prototype.forEach = function (fn, scope) { - var len = this.length; - - for (var i = 0; i < len; i++) { - fn.call(scope || this, this[i], i, this); - } - }; - } - - if (!Array.prototype.indexOf) { - Array.prototype.indexOf = function (searchElement /*, fromIndex */ ) { - if (this === null || this === undefined) { - throw new TypeError(); - } - - var t = new Object(this); - var len = t.length >>> 0; - - if (len === 0) { - return -1; - } - - var n = 0; - if (arguments.length > 0) { - n = Number(arguments[1]); - if (n != n) { // shortcut for verifying if it's NaN - n = 0; - } else if (n !== 0 && n != Infinity && n != -Infinity) { - n = (n > 0 || -1) * Math.floor(Math.abs(n)); - } - } - - if (n >= len) { - return -1; - } - - var k = n >= 0 ? n : Math.max(len - Math.abs(n), 0); - for (; k < len; k++) { - if (k in t && t[k] === searchElement) { - return k; - } - } - - return -1; - }; - } - - if (typeof Object.create !== "function") { - Object.create = function (o) { - F.prototype = o; - return new F(); - }; - } - - if (typeof Object.keys !== "function") { - Object.keys = function (o) { - var a = [], k; - for (k in o) { - if (is_own(o, k)) { - a.push(k); - } - } - return a; - }; - } - - // Non standard methods - - function isAlpha(str) { - return (str >= "a" && str <= "z\uffff") || - (str >= "A" && str <= "Z\uffff"); - } - - function isDigit(str) { - return (str >= "0" && str <= "9"); - } - - function isIdentifier(token, value) { - if (!token) - return false; - - if (!token.identifier || token.value !== value) - return false; - - return true; - } - - function supplant(str, data) { - return str.replace(/\{([^{}]*)\}/g, function (a, b) { - var r = data[b]; - return typeof r === "string" || typeof r === "number" ? r : a; - }); - } - - function combine(t, o) { - var n; - for (n in o) { - if (is_own(o, n) && !is_own(JSHINT.blacklist, n)) { - t[n] = o[n]; - } - } - } - - function updatePredefined() { - Object.keys(JSHINT.blacklist).forEach(function (key) { - delete predefined[key]; - }); - } - - function assume() { - if (option.couch) { - combine(predefined, couch); - } - - if (option.rhino) { - combine(predefined, rhino); - } - - if (option.prototypejs) { - combine(predefined, prototypejs); - } - - if (option.node) { - combine(predefined, node); - option.globalstrict = true; - } - - if (option.devel) { - combine(predefined, devel); - } - - if (option.dojo) { - combine(predefined, dojo); - } - - if (option.browser) { - combine(predefined, browser); - } - - if (option.nonstandard) { - combine(predefined, nonstandard); - } - - if (option.jquery) { - combine(predefined, jquery); - } - - if (option.mootools) { - combine(predefined, mootools); - } - - if (option.worker) { - combine(predefined, worker); - } - - if (option.wsh) { - combine(predefined, wsh); - } - - if (option.esnext) { - useESNextSyntax(); - } - - if (option.globalstrict && option.strict !== false) { - option.strict = true; - } - - if (option.yui) { - combine(predefined, yui); - } - } - - - // Produce an error warning. - function quit(message, line, chr) { - var percentage = Math.floor((line / lines.length) * 100); - - throw { - name: "JSHintError", - line: line, - character: chr, - message: message + " (" + percentage + "% scanned).", - raw: message - }; - } - - function isundef(scope, m, t, a) { - return JSHINT.undefs.push([scope, m, t, a]); - } - - function warning(m, t, a, b, c, d) { - var ch, l, w; - t = t || nexttoken; - if (t.id === "(end)") { // `~ - t = token; - } - l = t.line || 0; - ch = t.from || 0; - w = { - id: "(error)", - raw: m, - evidence: lines[l - 1] || "", - line: l, - character: ch, - scope: JSHINT.scope, - a: a, - b: b, - c: c, - d: d - }; - w.reason = supplant(m, w); - JSHINT.errors.push(w); - if (option.passfail) { - quit("Stopping. ", l, ch); - } - warnings += 1; - if (warnings >= option.maxerr) { - quit("Too many errors.", l, ch); - } - return w; - } - - function warningAt(m, l, ch, a, b, c, d) { - return warning(m, { - line: l, - from: ch - }, a, b, c, d); - } - - function error(m, t, a, b, c, d) { - warning(m, t, a, b, c, d); - } - - function errorAt(m, l, ch, a, b, c, d) { - return error(m, { - line: l, - from: ch - }, a, b, c, d); - } - - // Tracking of "internal" scripts, like eval containing a static string - function addInternalSrc(elem, src) { - var i; - i = { - id: "(internal)", - elem: elem, - value: src - }; - JSHINT.internals.push(i); - return i; - } - - -// lexical analysis and token construction - - var lex = (function lex() { - var character, from, line, s; - -// Private lex methods - - function nextLine() { - var at, - match, - tw; // trailing whitespace check - - if (line >= lines.length) - return false; - - character = 1; - s = lines[line]; - line += 1; - - // If smarttabs option is used check for spaces followed by tabs only. - // Otherwise check for any occurence of mixed tabs and spaces. - // Tabs and one space followed by block comment is allowed. - if (option.smarttabs) { - // negative look-behind for "//" - match = s.match(/(\/\/)? \t/); - at = match && !match[1] ? 0 : -1; - } else { - at = s.search(/ \t|\t [^\*]/); - } - - if (at >= 0) - warningAt("Mixed spaces and tabs.", line, at + 1); - - s = s.replace(/\t/g, tab); - at = s.search(cx); - - if (at >= 0) - warningAt("Unsafe character.", line, at); - - if (option.maxlen && option.maxlen < s.length) - warningAt("Line too long.", line, s.length); - - // Check for trailing whitespaces - tw = option.trailing && s.match(/^(.*?)\s+$/); - if (tw && !/^\s+$/.test(s)) { - warningAt("Trailing whitespace.", line, tw[1].length + 1); - } - return true; - } - -// Produce a token object. The token inherits from a syntax symbol. - - function it(type, value) { - var i, t; - - function checkName(name) { - if (!option.proto && name === "__proto__") { - warningAt("The '{a}' property is deprecated.", line, from, name); - return; - } - - if (!option.iterator && name === "__iterator__") { - warningAt("'{a}' is only available in JavaScript 1.7.", line, from, name); - return; - } - - // Check for dangling underscores unless we're in Node - // environment and this identifier represents built-in - // Node globals with underscores. - - var hasDangling = /^(_+.*|.*_+)$/.test(name); - - if (option.nomen && hasDangling && name !== "_") { - if (option.node && token.id !== "." && /^(__dirname|__filename)$/.test(name)) - return; - - warningAt("Unexpected {a} in '{b}'.", line, from, "dangling '_'", name); - return; - } - - // Check for non-camelcase names. Names like MY_VAR and - // _myVar are okay though. - - if (option.camelcase) { - if (name.replace(/^_+/, "").indexOf("_") > -1 && !name.match(/^[A-Z0-9_]*$/)) { - warningAt("Identifier '{a}' is not in camel case.", line, from, value); - } - } - } - - if (type === "(color)" || type === "(range)") { - t = {type: type}; - } else if (type === "(punctuator)" || - (type === "(identifier)" && is_own(syntax, value))) { - t = syntax[value] || syntax["(error)"]; - } else { - t = syntax[type]; - } - - t = Object.create(t); - - if (type === "(string)" || type === "(range)") { - if (!option.scripturl && jx.test(value)) { - warningAt("Script URL.", line, from); - } - } - - if (type === "(identifier)") { - t.identifier = true; - checkName(value); - } - - t.value = value; - t.line = line; - t.character = character; - t.from = from; - i = t.id; - if (i !== "(endline)") { - prereg = i && - (("(,=:[!&|?{};".indexOf(i.charAt(i.length - 1)) >= 0) || - i === "return" || - i === "case"); - } - return t; - } - - // Public lex methods - return { - init: function (source) { - if (typeof source === "string") { - lines = source - .replace(/\r\n/g, "\n") - .replace(/\r/g, "\n") - .split("\n"); - } else { - lines = source; - } - - // If the first line is a shebang (#!), make it a blank and move on. - // Shebangs are used by Node scripts. - if (lines[0] && lines[0].substr(0, 2) === "#!") - lines[0] = ""; - - line = 0; - nextLine(); - from = 1; - }, - - range: function (begin, end) { - var c, value = ""; - from = character; - if (s.charAt(0) !== begin) { - errorAt("Expected '{a}' and instead saw '{b}'.", - line, character, begin, s.charAt(0)); - } - for (;;) { - s = s.slice(1); - character += 1; - c = s.charAt(0); - switch (c) { - case "": - errorAt("Missing '{a}'.", line, character, c); - break; - case end: - s = s.slice(1); - character += 1; - return it("(range)", value); - case "\\": - warningAt("Unexpected '{a}'.", line, character, c); - } - value += c; - } - - }, - - - // token -- this is called by advance to get the next token - token: function () { - var b, c, captures, d, depth, high, i, l, low, q, t, isLiteral, isInRange, n; - - function match(x) { - var r = x.exec(s), r1; - - if (r) { - l = r[0].length; - r1 = r[1]; - c = r1.charAt(0); - s = s.substr(l); - from = character + l - r1.length; - character += l; - return r1; - } - } - - function string(x) { - var c, j, r = "", allowNewLine = false; - - if (jsonmode && x !== "\"") { - warningAt("Strings must use doublequote.", - line, character); - } - - if (option.quotmark) { - if (option.quotmark === "single" && x !== "'") { - warningAt("Strings must use singlequote.", - line, character); - } else if (option.quotmark === "double" && x !== "\"") { - warningAt("Strings must use doublequote.", - line, character); - } else if (option.quotmark === true) { - quotmark = quotmark || x; - if (quotmark !== x) { - warningAt("Mixed double and single quotes.", - line, character); - } - } - } - - function esc(n) { - var i = parseInt(s.substr(j + 1, n), 16); - j += n; - if (i >= 32 && i <= 126 && - i !== 34 && i !== 92 && i !== 39) { - warningAt("Unnecessary escapement.", line, character); - } - character += n; - c = String.fromCharCode(i); - } - - j = 0; - -unclosedString: - for (;;) { - while (j >= s.length) { - j = 0; - - var cl = line, cf = from; - if (!nextLine()) { - errorAt("Unclosed string.", cl, cf); - break unclosedString; - } - - if (allowNewLine) { - allowNewLine = false; - } else { - warningAt("Unclosed string.", cl, cf); - } - } - - c = s.charAt(j); - if (c === x) { - character += 1; - s = s.substr(j + 1); - return it("(string)", r, x); - } - - if (c < " ") { - if (c === "\n" || c === "\r") { - break; - } - warningAt("Control character in string: {a}.", - line, character + j, s.slice(0, j)); - } else if (c === "\\") { - j += 1; - character += 1; - c = s.charAt(j); - n = s.charAt(j + 1); - switch (c) { - case "\\": - case "\"": - case "/": - break; - case "\'": - if (jsonmode) { - warningAt("Avoid \\'.", line, character); - } - break; - case "b": - c = "\b"; - break; - case "f": - c = "\f"; - break; - case "n": - c = "\n"; - break; - case "r": - c = "\r"; - break; - case "t": - c = "\t"; - break; - case "0": - c = "\0"; - // Octal literals fail in strict mode - // check if the number is between 00 and 07 - // where 'n' is the token next to 'c' - if (n >= 0 && n <= 7 && directive["use strict"]) { - warningAt( - "Octal literals are not allowed in strict mode.", - line, character); - } - break; - case "u": - esc(4); - break; - case "v": - if (jsonmode) { - warningAt("Avoid \\v.", line, character); - } - c = "\v"; - break; - case "x": - if (jsonmode) { - warningAt("Avoid \\x-.", line, character); - } - esc(2); - break; - case "": - // last character is escape character - // always allow new line if escaped, but show - // warning if option is not set - allowNewLine = true; - if (option.multistr) { - if (jsonmode) { - warningAt("Avoid EOL escapement.", line, character); - } - c = ""; - character -= 1; - break; - } - warningAt("Bad escapement of EOL. Use option multistr if needed.", - line, character); - break; - case "!": - if (s.charAt(j - 2) === "<") - break; - /*falls through*/ - default: - warningAt("Bad escapement.", line, character); - } - } - r += c; - character += 1; - j += 1; - } - } - - for (;;) { - if (!s) { - return it(nextLine() ? "(endline)" : "(end)", ""); - } - - t = match(tx); - - if (!t) { - t = ""; - c = ""; - while (s && s < "!") { - s = s.substr(1); - } - if (s) { - errorAt("Unexpected '{a}'.", line, character, s.substr(0, 1)); - s = ""; - } - } else { - - // identifier - - if (isAlpha(c) || c === "_" || c === "$") { - return it("(identifier)", t); - } - - // number - - if (isDigit(c)) { - if (!isFinite(Number(t))) { - warningAt("Bad number '{a}'.", - line, character, t); - } - if (isAlpha(s.substr(0, 1))) { - warningAt("Missing space after '{a}'.", - line, character, t); - } - if (c === "0") { - d = t.substr(1, 1); - if (isDigit(d)) { - if (token.id !== ".") { - warningAt("Don't use extra leading zeros '{a}'.", - line, character, t); - } - } else if (jsonmode && (d === "x" || d === "X")) { - warningAt("Avoid 0x-. '{a}'.", - line, character, t); - } - } - if (t.substr(t.length - 1) === ".") { - warningAt( -"A trailing decimal point can be confused with a dot '{a}'.", line, character, t); - } - return it("(number)", t); - } - switch (t) { - - // string - - case "\"": - case "'": - return string(t); - - // // comment - - case "//": - s = ""; - token.comment = true; - break; - - // /* comment - - case "/*": - for (;;) { - i = s.search(lx); - if (i >= 0) { - break; - } - if (!nextLine()) { - errorAt("Unclosed comment.", line, character); - } - } - s = s.substr(i + 2); - token.comment = true; - break; - - // /*members /*jshint /*global - - case "/*members": - case "/*member": - case "/*jshint": - case "/*jslint": - case "/*global": - case "*/": - return { - value: t, - type: "special", - line: line, - character: character, - from: from - }; - - case "": - break; - // / - case "/": - if (s.charAt(0) === "=") { - errorAt("A regular expression literal can be confused with '/='.", - line, from); - } - - if (prereg) { - depth = 0; - captures = 0; - l = 0; - for (;;) { - b = true; - c = s.charAt(l); - l += 1; - switch (c) { - case "": - errorAt("Unclosed regular expression.", line, from); - return quit("Stopping.", line, from); - case "/": - if (depth > 0) { - warningAt("{a} unterminated regular expression " + - "group(s).", line, from + l, depth); - } - c = s.substr(0, l - 1); - q = { - g: true, - i: true, - m: true - }; - while (q[s.charAt(l)] === true) { - q[s.charAt(l)] = false; - l += 1; - } - character += l; - s = s.substr(l); - q = s.charAt(0); - if (q === "/" || q === "*") { - errorAt("Confusing regular expression.", - line, from); - } - return it("(regexp)", c); - case "\\": - c = s.charAt(l); - if (c < " ") { - warningAt( -"Unexpected control character in regular expression.", line, from + l); - } else if (c === "<") { - warningAt( -"Unexpected escaped character '{a}' in regular expression.", line, from + l, c); - } - l += 1; - break; - case "(": - depth += 1; - b = false; - if (s.charAt(l) === "?") { - l += 1; - switch (s.charAt(l)) { - case ":": - case "=": - case "!": - l += 1; - break; - default: - warningAt( -"Expected '{a}' and instead saw '{b}'.", line, from + l, ":", s.charAt(l)); - } - } else { - captures += 1; - } - break; - case "|": - b = false; - break; - case ")": - if (depth === 0) { - warningAt("Unescaped '{a}'.", - line, from + l, ")"); - } else { - depth -= 1; - } - break; - case " ": - q = 1; - while (s.charAt(l) === " ") { - l += 1; - q += 1; - } - if (q > 1) { - warningAt( -"Spaces are hard to count. Use {{a}}.", line, from + l, q); - } - break; - case "[": - c = s.charAt(l); - if (c === "^") { - l += 1; - if (s.charAt(l) === "]") { - errorAt("Unescaped '{a}'.", - line, from + l, "^"); - } - } - if (c === "]") { - warningAt("Empty class.", line, - from + l - 1); - } - isLiteral = false; - isInRange = false; -klass: - do { - c = s.charAt(l); - l += 1; - switch (c) { - case "[": - case "^": - warningAt("Unescaped '{a}'.", - line, from + l, c); - if (isInRange) { - isInRange = false; - } else { - isLiteral = true; - } - break; - case "-": - if (isLiteral && !isInRange) { - isLiteral = false; - isInRange = true; - } else if (isInRange) { - isInRange = false; - } else if (s.charAt(l) === "]") { - isInRange = true; - } else { - if (option.regexdash !== (l === 2 || (l === 3 && - s.charAt(1) === "^"))) { - warningAt("Unescaped '{a}'.", - line, from + l - 1, "-"); - } - isLiteral = true; - } - break; - case "]": - if (isInRange && !option.regexdash) { - warningAt("Unescaped '{a}'.", - line, from + l - 1, "-"); - } - break klass; - case "\\": - c = s.charAt(l); - if (c < " ") { - warningAt( -"Unexpected control character in regular expression.", line, from + l); - } else if (c === "<") { - warningAt( -"Unexpected escaped character '{a}' in regular expression.", line, from + l, c); - } - l += 1; - - // \w, \s and \d are never part of a character range - if (/[wsd]/i.test(c)) { - if (isInRange) { - warningAt("Unescaped '{a}'.", - line, from + l, "-"); - isInRange = false; - } - isLiteral = false; - } else if (isInRange) { - isInRange = false; - } else { - isLiteral = true; - } - break; - case "/": - warningAt("Unescaped '{a}'.", - line, from + l - 1, "/"); - - if (isInRange) { - isInRange = false; - } else { - isLiteral = true; - } - break; - case "<": - if (isInRange) { - isInRange = false; - } else { - isLiteral = true; - } - break; - default: - if (isInRange) { - isInRange = false; - } else { - isLiteral = true; - } - } - } while (c); - break; - case ".": - if (option.regexp) { - warningAt("Insecure '{a}'.", line, - from + l, c); - } - break; - case "]": - case "?": - case "{": - case "}": - case "+": - case "*": - warningAt("Unescaped '{a}'.", line, - from + l, c); - } - if (b) { - switch (s.charAt(l)) { - case "?": - case "+": - case "*": - l += 1; - if (s.charAt(l) === "?") { - l += 1; - } - break; - case "{": - l += 1; - c = s.charAt(l); - if (c < "0" || c > "9") { - warningAt( -"Expected a number and instead saw '{a}'.", line, from + l, c); - break; // No reason to continue checking numbers. - } - l += 1; - low = +c; - for (;;) { - c = s.charAt(l); - if (c < "0" || c > "9") { - break; - } - l += 1; - low = +c + (low * 10); - } - high = low; - if (c === ",") { - l += 1; - high = Infinity; - c = s.charAt(l); - if (c >= "0" && c <= "9") { - l += 1; - high = +c; - for (;;) { - c = s.charAt(l); - if (c < "0" || c > "9") { - break; - } - l += 1; - high = +c + (high * 10); - } - } - } - if (s.charAt(l) !== "}") { - warningAt( -"Expected '{a}' and instead saw '{b}'.", line, from + l, "}", c); - } else { - l += 1; - } - if (s.charAt(l) === "?") { - l += 1; - } - if (low > high) { - warningAt( -"'{a}' should not be greater than '{b}'.", line, from + l, low, high); - } - } - } - } - c = s.substr(0, l - 1); - character += l; - s = s.substr(l); - return it("(regexp)", c); - } - return it("(punctuator)", t); - - // punctuator - - case "#": - return it("(punctuator)", t); - default: - return it("(punctuator)", t); - } - } - } - } - }; - }()); - - - function addlabel(t, type, token) { - if (t === "hasOwnProperty") { - warning("'hasOwnProperty' is a really bad name."); - } - - // Define t in the current function in the current scope. - if (type === "exception") { - if (is_own(funct["(context)"], t)) { - if (funct[t] !== true && !option.node) { - warning("Value of '{a}' may be overwritten in IE.", nexttoken, t); - } - } - } - - if (is_own(funct, t) && !funct["(global)"]) { - if (funct[t] === true) { - if (option.latedef) - warning("'{a}' was used before it was defined.", nexttoken, t); - } else { - if (!option.shadow && type !== "exception") { - warning("'{a}' is already defined.", nexttoken, t); - } - } - } - - funct[t] = type; - - if (token) { - funct["(tokens)"][t] = token; - } - - if (funct["(global)"]) { - global[t] = funct; - if (is_own(implied, t)) { - if (option.latedef) - warning("'{a}' was used before it was defined.", nexttoken, t); - delete implied[t]; - } - } else { - scope[t] = funct; - } - } - - - function doOption() { - var nt = nexttoken; - var o = nt.value; - var quotmarkValue = option.quotmark; - var predef = {}; - var b, obj, filter, t, tn, v, minus; - - switch (o) { - case "*/": - error("Unbegun comment."); - break; - case "/*members": - case "/*member": - o = "/*members"; - if (!membersOnly) { - membersOnly = {}; - } - obj = membersOnly; - option.quotmark = false; - break; - case "/*jshint": - case "/*jslint": - obj = option; - filter = boolOptions; - break; - case "/*global": - obj = predef; - break; - default: - error("What?"); - } - - t = lex.token(); - -loop: - for (;;) { - minus = false; - for (;;) { - if (t.type === "special" && t.value === "*/") { - break loop; - } - if (t.id !== "(endline)" && t.id !== ",") { - break; - } - t = lex.token(); - } - - if (o === "/*global" && t.value === "-") { - minus = true; - t = lex.token(); - } - - if (t.type !== "(string)" && t.type !== "(identifier)" && o !== "/*members") { - error("Bad option.", t); - } - - v = lex.token(); - if (v.id === ":") { - v = lex.token(); - - if (obj === membersOnly) { - error("Expected '{a}' and instead saw '{b}'.", t, "*/", ":"); - } - - if (o === "/*jshint") { - checkOption(t.value, t); - } - - var numericVals = [ - "maxstatements", - "maxparams", - "maxdepth", - "maxcomplexity", - "maxerr", - "maxlen", - "indent" - ]; - - if (numericVals.indexOf(t.value) > -1 && (o === "/*jshint" || o === "/*jslint")) { - b = +v.value; - - if (typeof b !== "number" || !isFinite(b) || b <= 0 || Math.floor(b) !== b) { - error("Expected a small integer and instead saw '{a}'.", v, v.value); - } - - if (t.value === "indent") - obj.white = true; - - obj[t.value] = b; - } else if (t.value === "validthis") { - if (funct["(global)"]) { - error("Option 'validthis' can't be used in a global scope."); - } else { - if (v.value === "true" || v.value === "false") - obj[t.value] = v.value === "true"; - else - error("Bad option value.", v); - } - } else if (t.value === "quotmark" && (o === "/*jshint")) { - switch (v.value) { - case "true": - obj.quotmark = true; - break; - case "false": - obj.quotmark = false; - break; - case "double": - case "single": - obj.quotmark = v.value; - break; - default: - error("Bad option value.", v); - } - } else if (v.value === "true" || v.value === "false") { - if (o === "/*jslint") { - tn = renamedOptions[t.value] || t.value; - obj[tn] = v.value === "true"; - if (invertedOptions[tn] !== undefined) { - obj[tn] = !obj[tn]; - } - } else { - obj[t.value] = v.value === "true"; - } - - if (t.value === "newcap") - obj["(explicitNewcap)"] = true; - } else { - error("Bad option value.", v); - } - t = lex.token(); - } else { - if (o === "/*jshint" || o === "/*jslint") { - error("Missing option value.", t); - } - - obj[t.value] = false; - - if (o === "/*global" && minus === true) { - JSHINT.blacklist[t.value] = t.value; - updatePredefined(); - } - - t = v; - } - } - - if (o === "/*members") { - option.quotmark = quotmarkValue; - } - - combine(predefined, predef); - - for (var key in predef) { - if (is_own(predef, key)) { - declared[key] = nt; - } - } - - if (filter) { - assume(); - } - } - - -// We need a peek function. If it has an argument, it peeks that much farther -// ahead. It is used to distinguish -// for ( var i in ... -// from -// for ( var i = ... - - function peek(p) { - var i = p || 0, j = 0, t; - - while (j <= i) { - t = lookahead[j]; - if (!t) { - t = lookahead[j] = lex.token(); - } - j += 1; - } - return t; - } - - - -// Produce the next token. It looks for programming errors. - - function advance(id, t) { - switch (token.id) { - case "(number)": - if (nexttoken.id === ".") { - warning("A dot following a number can be confused with a decimal point.", token); - } - break; - case "-": - if (nexttoken.id === "-" || nexttoken.id === "--") { - warning("Confusing minusses."); - } - break; - case "+": - if (nexttoken.id === "+" || nexttoken.id === "++") { - warning("Confusing plusses."); - } - break; - } - - if (token.type === "(string)" || token.identifier) { - anonname = token.value; - } - - if (id && nexttoken.id !== id) { - if (t) { - if (nexttoken.id === "(end)") { - warning("Unmatched '{a}'.", t, t.id); - } else { - warning("Expected '{a}' to match '{b}' from line {c} and instead saw '{d}'.", - nexttoken, id, t.id, t.line, nexttoken.value); - } - } else if (nexttoken.type !== "(identifier)" || - nexttoken.value !== id) { - warning("Expected '{a}' and instead saw '{b}'.", - nexttoken, id, nexttoken.value); - } - } - - prevtoken = token; - token = nexttoken; - for (;;) { - nexttoken = lookahead.shift() || lex.token(); - if (nexttoken.id === "(end)" || nexttoken.id === "(error)") { - return; - } - if (nexttoken.type === "special") { - doOption(); - } else { - if (nexttoken.id !== "(endline)") { - break; - } - } - } - } - - -// This is the heart of JSHINT, the Pratt parser. In addition to parsing, it -// is looking for ad hoc lint patterns. We add .fud to Pratt's model, which is -// like .nud except that it is only used on the first token of a statement. -// Having .fud makes it much easier to define statement-oriented languages like -// JavaScript. I retained Pratt's nomenclature. - -// .nud Null denotation -// .fud First null denotation -// .led Left denotation -// lbp Left binding power -// rbp Right binding power - -// They are elements of the parsing method called Top Down Operator Precedence. - - function expression(rbp, initial) { - var left, isArray = false, isObject = false; - - if (nexttoken.id === "(end)") - error("Unexpected early end of program.", token); - - advance(); - if (initial) { - anonname = "anonymous"; - funct["(verb)"] = token.value; - } - if (initial === true && token.fud) { - left = token.fud(); - } else { - if (token.nud) { - left = token.nud(); - } else { - if (nexttoken.type === "(number)" && token.id === ".") { - warning("A leading decimal point can be confused with a dot: '.{a}'.", - token, nexttoken.value); - advance(); - return token; - } else { - error("Expected an identifier and instead saw '{a}'.", - token, token.id); - } - } - while (rbp < nexttoken.lbp) { - isArray = token.value === "Array"; - isObject = token.value === "Object"; - - // #527, new Foo.Array(), Foo.Array(), new Foo.Object(), Foo.Object() - // Line breaks in IfStatement heads exist to satisfy the checkJSHint - // "Line too long." error. - if (left && (left.value || (left.first && left.first.value))) { - // If the left.value is not "new", or the left.first.value is a "." - // then safely assume that this is not "new Array()" and possibly - // not "new Object()"... - if (left.value !== "new" || - (left.first && left.first.value && left.first.value === ".")) { - isArray = false; - // ...In the case of Object, if the left.value and token.value - // are not equal, then safely assume that this not "new Object()" - if (left.value !== token.value) { - isObject = false; - } - } - } - - advance(); - if (isArray && token.id === "(" && nexttoken.id === ")") - warning("Use the array literal notation [].", token); - if (isObject && token.id === "(" && nexttoken.id === ")") - warning("Use the object literal notation {}.", token); - if (token.led) { - left = token.led(left); - } else { - error("Expected an operator and instead saw '{a}'.", - token, token.id); - } - } - } - return left; - } - - -// Functions for conformance of style. - - function adjacent(left, right) { - left = left || token; - right = right || nexttoken; - if (option.white) { - if (left.character !== right.from && left.line === right.line) { - left.from += (left.character - left.from); - warning("Unexpected space after '{a}'.", left, left.value); - } - } - } - - function nobreak(left, right) { - left = left || token; - right = right || nexttoken; - if (option.white && (left.character !== right.from || left.line !== right.line)) { - warning("Unexpected space before '{a}'.", right, right.value); - } - } - - function nospace(left, right) { - left = left || token; - right = right || nexttoken; - if (option.white && !left.comment) { - if (left.line === right.line) { - adjacent(left, right); - } - } - } - - function nonadjacent(left, right) { - if (option.white) { - left = left || token; - right = right || nexttoken; - if (left.value === ";" && right.value === ";") { - return; - } - if (left.line === right.line && left.character === right.from) { - left.from += (left.character - left.from); - warning("Missing space after '{a}'.", - left, left.value); - } - } - } - - function nobreaknonadjacent(left, right) { - left = left || token; - right = right || nexttoken; - if (!option.laxbreak && left.line !== right.line) { - warning("Bad line breaking before '{a}'.", right, right.id); - } else if (option.white) { - left = left || token; - right = right || nexttoken; - if (left.character === right.from) { - left.from += (left.character - left.from); - warning("Missing space after '{a}'.", - left, left.value); - } - } - } - - function indentation(bias) { - var i; - if (option.white && nexttoken.id !== "(end)") { - i = indent + (bias || 0); - if (nexttoken.from !== i) { - warning( -"Expected '{a}' to have an indentation at {b} instead at {c}.", - nexttoken, nexttoken.value, i, nexttoken.from); - } - } - } - - function nolinebreak(t) { - t = t || token; - if (t.line !== nexttoken.line) { - warning("Line breaking error '{a}'.", t, t.value); - } - } - - - function comma() { - if (token.line !== nexttoken.line) { - if (!option.laxcomma) { - if (comma.first) { - warning("Comma warnings can be turned off with 'laxcomma'"); - comma.first = false; - } - warning("Bad line breaking before '{a}'.", token, nexttoken.id); - } - } else if (!token.comment && token.character !== nexttoken.from && option.white) { - token.from += (token.character - token.from); - warning("Unexpected space after '{a}'.", token, token.value); - } - advance(","); - nonadjacent(token, nexttoken); - } - - -// Functional constructors for making the symbols that will be inherited by -// tokens. - - function symbol(s, p) { - var x = syntax[s]; - if (!x || typeof x !== "object") { - syntax[s] = x = { - id: s, - lbp: p, - value: s - }; - } - return x; - } - - - function delim(s) { - return symbol(s, 0); - } - - - function stmt(s, f) { - var x = delim(s); - x.identifier = x.reserved = true; - x.fud = f; - return x; - } - - - function blockstmt(s, f) { - var x = stmt(s, f); - x.block = true; - return x; - } - - - function reserveName(x) { - var c = x.id.charAt(0); - if ((c >= "a" && c <= "z") || (c >= "A" && c <= "Z")) { - x.identifier = x.reserved = true; - } - return x; - } - - - function prefix(s, f) { - var x = symbol(s, 150); - reserveName(x); - x.nud = (typeof f === "function") ? f : function () { - this.right = expression(150); - this.arity = "unary"; - if (this.id === "++" || this.id === "--") { - if (option.plusplus) { - warning("Unexpected use of '{a}'.", this, this.id); - } else if ((!this.right.identifier || this.right.reserved) && - this.right.id !== "." && this.right.id !== "[") { - warning("Bad operand.", this); - } - } - return this; - }; - return x; - } - - - function type(s, f) { - var x = delim(s); - x.type = s; - x.nud = f; - return x; - } - - - function reserve(s, f) { - var x = type(s, f); - x.identifier = x.reserved = true; - return x; - } - - - function reservevar(s, v) { - return reserve(s, function () { - if (typeof v === "function") { - v(this); - } - return this; - }); - } - - - function infix(s, f, p, w) { - var x = symbol(s, p); - reserveName(x); - x.led = function (left) { - if (!w) { - nobreaknonadjacent(prevtoken, token); - nonadjacent(token, nexttoken); - } - if (s === "in" && left.id === "!") { - warning("Confusing use of '{a}'.", left, "!"); - } - if (typeof f === "function") { - return f(left, this); - } else { - this.left = left; - this.right = expression(p); - return this; - } - }; - return x; - } - - - function relation(s, f) { - var x = symbol(s, 100); - x.led = function (left) { - nobreaknonadjacent(prevtoken, token); - nonadjacent(token, nexttoken); - var right = expression(100); - - if (isIdentifier(left, "NaN") || isIdentifier(right, "NaN")) { - warning("Use the isNaN function to compare with NaN.", this); - } else if (f) { - f.apply(this, [left, right]); - } - if (left.id === "!") { - warning("Confusing use of '{a}'.", left, "!"); - } - if (right.id === "!") { - warning("Confusing use of '{a}'.", right, "!"); - } - this.left = left; - this.right = right; - return this; - }; - return x; - } - - - function isPoorRelation(node) { - return node && - ((node.type === "(number)" && +node.value === 0) || - (node.type === "(string)" && node.value === "") || - (node.type === "null" && !option.eqnull) || - node.type === "true" || - node.type === "false" || - node.type === "undefined"); - } - - - function assignop(s) { - symbol(s, 20).exps = true; - - return infix(s, function (left, that) { - that.left = left; - - if (predefined[left.value] === false && - scope[left.value]["(global)"] === true) { - warning("Read only.", left); - } else if (left["function"]) { - warning("'{a}' is a function.", left, left.value); - } - - if (left) { - if (option.esnext && funct[left.value] === "const") { - warning("Attempting to override '{a}' which is a constant", left, left.value); - } - - if (left.id === "." || left.id === "[") { - if (!left.left || left.left.value === "arguments") { - warning("Bad assignment.", that); - } - that.right = expression(19); - return that; - } else if (left.identifier && !left.reserved) { - if (funct[left.value] === "exception") { - warning("Do not assign to the exception parameter.", left); - } - that.right = expression(19); - return that; - } - - if (left === syntax["function"]) { - warning( -"Expected an identifier in an assignment and instead saw a function invocation.", - token); - } - } - - error("Bad assignment.", that); - }, 20); - } - - - function bitwise(s, f, p) { - var x = symbol(s, p); - reserveName(x); - x.led = (typeof f === "function") ? f : function (left) { - if (option.bitwise) { - warning("Unexpected use of '{a}'.", this, this.id); - } - this.left = left; - this.right = expression(p); - return this; - }; - return x; - } - - - function bitwiseassignop(s) { - symbol(s, 20).exps = true; - return infix(s, function (left, that) { - if (option.bitwise) { - warning("Unexpected use of '{a}'.", that, that.id); - } - nonadjacent(prevtoken, token); - nonadjacent(token, nexttoken); - if (left) { - if (left.id === "." || left.id === "[" || - (left.identifier && !left.reserved)) { - expression(19); - return that; - } - if (left === syntax["function"]) { - warning( -"Expected an identifier in an assignment, and instead saw a function invocation.", - token); - } - return that; - } - error("Bad assignment.", that); - }, 20); - } - - - function suffix(s) { - var x = symbol(s, 150); - x.led = function (left) { - if (option.plusplus) { - warning("Unexpected use of '{a}'.", this, this.id); - } else if ((!left.identifier || left.reserved) && - left.id !== "." && left.id !== "[") { - warning("Bad operand.", this); - } - this.left = left; - return this; - }; - return x; - } - - - // fnparam means that this identifier is being defined as a function - // argument (see identifier()) - function optionalidentifier(fnparam) { - if (nexttoken.identifier) { - advance(); - if (token.reserved && !option.es5) { - // `undefined` as a function param is a common pattern to protect - // against the case when somebody does `undefined = true` and - // help with minification. More info: https://gist.github.com/315916 - if (!fnparam || token.value !== "undefined") { - warning("Expected an identifier and instead saw '{a}' (a reserved word).", - token, token.id); - } - } - return token.value; - } - } - - // fnparam means that this identifier is being defined as a function - // argument - function identifier(fnparam) { - var i = optionalidentifier(fnparam); - if (i) { - return i; - } - if (token.id === "function" && nexttoken.id === "(") { - warning("Missing name in function declaration."); - } else { - error("Expected an identifier and instead saw '{a}'.", - nexttoken, nexttoken.value); - } - } - - - function reachable(s) { - var i = 0, t; - if (nexttoken.id !== ";" || noreach) { - return; - } - for (;;) { - t = peek(i); - if (t.reach) { - return; - } - if (t.id !== "(endline)") { - if (t.id === "function") { - if (!option.latedef) { - break; - } - warning( -"Inner functions should be listed at the top of the outer function.", t); - break; - } - warning("Unreachable '{a}' after '{b}'.", t, t.value, s); - break; - } - i += 1; - } - } - - - function statement(noindent) { - var i = indent, r, s = scope, t = nexttoken; - - if (t.id === ";") { - advance(";"); - return; - } - - // Is this a labelled statement? - - if (t.identifier && !t.reserved && peek().id === ":") { - advance(); - advance(":"); - scope = Object.create(s); - addlabel(t.value, "label"); - - if (!nexttoken.labelled && nexttoken.value !== "{") { - warning("Label '{a}' on {b} statement.", nexttoken, t.value, nexttoken.value); - } - - if (jx.test(t.value + ":")) { - warning("Label '{a}' looks like a javascript url.", t, t.value); - } - - nexttoken.label = t.value; - t = nexttoken; - } - - // Is it a lonely block? - - if (t.id === "{") { - block(true, true); - return; - } - - // Parse the statement. - - if (!noindent) { - indentation(); - } - r = expression(0, true); - - // Look for the final semicolon. - - if (!t.block) { - if (!option.expr && (!r || !r.exps)) { - warning("Expected an assignment or function call and instead saw an expression.", - token); - } else if (option.nonew && r.id === "(" && r.left.id === "new") { - warning("Do not use 'new' for side effects.", t); - } - - if (nexttoken.id === ",") { - return comma(); - } - - if (nexttoken.id !== ";") { - if (!option.asi) { - // If this is the last statement in a block that ends on - // the same line *and* option lastsemic is on, ignore the warning. - // Otherwise, complain about missing semicolon. - if (!option.lastsemic || nexttoken.id !== "}" || - nexttoken.line !== token.line) { - warningAt("Missing semicolon.", token.line, token.character); - } - } - } else { - adjacent(token, nexttoken); - advance(";"); - nonadjacent(token, nexttoken); - } - } - -// Restore the indentation. - - indent = i; - scope = s; - return r; - } - - - function statements(startLine) { - var a = [], p; - - while (!nexttoken.reach && nexttoken.id !== "(end)") { - if (nexttoken.id === ";") { - p = peek(); - if (!p || p.id !== "(") { - warning("Unnecessary semicolon."); - } - advance(";"); - } else { - a.push(statement(startLine === nexttoken.line)); - } - } - return a; - } - - - /* - * read all directives - * recognizes a simple form of asi, but always - * warns, if it is used - */ - function directives() { - var i, p, pn; - - for (;;) { - if (nexttoken.id === "(string)") { - p = peek(0); - if (p.id === "(endline)") { - i = 1; - do { - pn = peek(i); - i = i + 1; - } while (pn.id === "(endline)"); - - if (pn.id !== ";") { - if (pn.id !== "(string)" && pn.id !== "(number)" && - pn.id !== "(regexp)" && pn.identifier !== true && - pn.id !== "}") { - break; - } - warning("Missing semicolon.", nexttoken); - } else { - p = pn; - } - } else if (p.id === "}") { - // directive with no other statements, warn about missing semicolon - warning("Missing semicolon.", p); - } else if (p.id !== ";") { - break; - } - - indentation(); - advance(); - if (directive[token.value]) { - warning("Unnecessary directive \"{a}\".", token, token.value); - } - - if (token.value === "use strict") { - if (!option["(explicitNewcap)"]) - option.newcap = true; - option.undef = true; - } - - // there's no directive negation, so always set to true - directive[token.value] = true; - - if (p.id === ";") { - advance(";"); - } - continue; - } - break; - } - } - - - /* - * Parses a single block. A block is a sequence of statements wrapped in - * braces. - * - * ordinary - true for everything but function bodies and try blocks. - * stmt - true if block can be a single statement (e.g. in if/for/while). - * isfunc - true if block is a function body - */ - function block(ordinary, stmt, isfunc) { - var a, - b = inblock, - old_indent = indent, - m, - s = scope, - t, - line, - d; - - inblock = ordinary; - - if (!ordinary || !option.funcscope) - scope = Object.create(scope); - - nonadjacent(token, nexttoken); - t = nexttoken; - - var metrics = funct["(metrics)"]; - metrics.nestedBlockDepth += 1; - metrics.verifyMaxNestedBlockDepthPerFunction(); - - if (nexttoken.id === "{") { - advance("{"); - line = token.line; - if (nexttoken.id !== "}") { - indent += option.indent; - while (!ordinary && nexttoken.from > indent) { - indent += option.indent; - } - - if (isfunc) { - m = {}; - for (d in directive) { - if (is_own(directive, d)) { - m[d] = directive[d]; - } - } - directives(); - - if (option.strict && funct["(context)"]["(global)"]) { - if (!m["use strict"] && !directive["use strict"]) { - warning("Missing \"use strict\" statement."); - } - } - } - - a = statements(line); - - metrics.statementCount += a.length; - - if (isfunc) { - directive = m; - } - - indent -= option.indent; - if (line !== nexttoken.line) { - indentation(); - } - } else if (line !== nexttoken.line) { - indentation(); - } - advance("}", t); - indent = old_indent; - } else if (!ordinary) { - error("Expected '{a}' and instead saw '{b}'.", - nexttoken, "{", nexttoken.value); - } else { - if (!stmt || option.curly) - warning("Expected '{a}' and instead saw '{b}'.", - nexttoken, "{", nexttoken.value); - - noreach = true; - indent += option.indent; - // test indentation only if statement is in new line - a = [statement(nexttoken.line === token.line)]; - indent -= option.indent; - noreach = false; - } - funct["(verb)"] = null; - if (!ordinary || !option.funcscope) scope = s; - inblock = b; - if (ordinary && option.noempty && (!a || a.length === 0)) { - warning("Empty block."); - } - metrics.nestedBlockDepth -= 1; - return a; - } - - - function countMember(m) { - if (membersOnly && typeof membersOnly[m] !== "boolean") { - warning("Unexpected /*member '{a}'.", token, m); - } - if (typeof member[m] === "number") { - member[m] += 1; - } else { - member[m] = 1; - } - } - - - function note_implied(token) { - var name = token.value, line = token.line, a = implied[name]; - if (typeof a === "function") { - a = false; - } - - if (!a) { - a = [line]; - implied[name] = a; - } else if (a[a.length - 1] !== line) { - a.push(line); - } - } - - - // Build the syntax table by declaring the syntactic elements of the language. - - type("(number)", function () { - return this; - }); - - type("(string)", function () { - return this; - }); - - syntax["(identifier)"] = { - type: "(identifier)", - lbp: 0, - identifier: true, - nud: function () { - var v = this.value, - s = scope[v], - f; - - if (typeof s === "function") { - // Protection against accidental inheritance. - s = undefined; - } else if (typeof s === "boolean") { - f = funct; - funct = functions[0]; - addlabel(v, "var"); - s = funct; - funct = f; - } - - // The name is in scope and defined in the current function. - if (funct === s) { - // Change 'unused' to 'var', and reject labels. - switch (funct[v]) { - case "unused": - funct[v] = "var"; - break; - case "unction": - funct[v] = "function"; - this["function"] = true; - break; - case "function": - this["function"] = true; - break; - case "label": - warning("'{a}' is a statement label.", token, v); - break; - } - } else if (funct["(global)"]) { - // The name is not defined in the function. If we are in the global - // scope, then we have an undefined variable. - // - // Operators typeof and delete do not raise runtime errors even if - // the base object of a reference is null so no need to display warning - // if we're inside of typeof or delete. - - if (option.undef && typeof predefined[v] !== "boolean") { - // Attempting to subscript a null reference will throw an - // error, even within the typeof and delete operators - if (!(anonname === "typeof" || anonname === "delete") || - (nexttoken && (nexttoken.value === "." || nexttoken.value === "["))) { - - isundef(funct, "'{a}' is not defined.", token, v); - } - } - - note_implied(token); - } else { - // If the name is already defined in the current - // function, but not as outer, then there is a scope error. - - switch (funct[v]) { - case "closure": - case "function": - case "var": - case "unused": - warning("'{a}' used out of scope.", token, v); - break; - case "label": - warning("'{a}' is a statement label.", token, v); - break; - case "outer": - case "global": - break; - default: - // If the name is defined in an outer function, make an outer entry, - // and if it was unused, make it var. - if (s === true) { - funct[v] = true; - } else if (s === null) { - warning("'{a}' is not allowed.", token, v); - note_implied(token); - } else if (typeof s !== "object") { - // Operators typeof and delete do not raise runtime errors even - // if the base object of a reference is null so no need to - // display warning if we're inside of typeof or delete. - if (option.undef) { - // Attempting to subscript a null reference will throw an - // error, even within the typeof and delete operators - if (!(anonname === "typeof" || anonname === "delete") || - (nexttoken && - (nexttoken.value === "." || nexttoken.value === "["))) { - - isundef(funct, "'{a}' is not defined.", token, v); - } - } - funct[v] = true; - note_implied(token); - } else { - switch (s[v]) { - case "function": - case "unction": - this["function"] = true; - s[v] = "closure"; - funct[v] = s["(global)"] ? "global" : "outer"; - break; - case "var": - case "unused": - s[v] = "closure"; - funct[v] = s["(global)"] ? "global" : "outer"; - break; - case "closure": - funct[v] = s["(global)"] ? "global" : "outer"; - break; - case "label": - warning("'{a}' is a statement label.", token, v); - } - } - } - } - return this; - }, - led: function () { - error("Expected an operator and instead saw '{a}'.", - nexttoken, nexttoken.value); - } - }; - - type("(regexp)", function () { - return this; - }); - - -// ECMAScript parser - - delim("(endline)"); - delim("(begin)"); - delim("(end)").reach = true; - delim(""); - delim("(error)").reach = true; - delim("}").reach = true; - delim(")"); - delim("]"); - delim("\"").reach = true; - delim("'").reach = true; - delim(";"); - delim(":").reach = true; - delim(","); - delim("#"); - delim("@"); - reserve("else"); - reserve("case").reach = true; - reserve("catch"); - reserve("default").reach = true; - reserve("finally"); - reservevar("arguments", function (x) { - if (directive["use strict"] && funct["(global)"]) { - warning("Strict violation.", x); - } - }); - reservevar("eval"); - reservevar("false"); - reservevar("Infinity"); - reservevar("null"); - reservevar("this", function (x) { - if (directive["use strict"] && !option.validthis && ((funct["(statement)"] && - funct["(name)"].charAt(0) > "Z") || funct["(global)"])) { - warning("Possible strict violation.", x); - } - }); - reservevar("true"); - reservevar("undefined"); - assignop("=", "assign", 20); - assignop("+=", "assignadd", 20); - assignop("-=", "assignsub", 20); - assignop("*=", "assignmult", 20); - assignop("/=", "assigndiv", 20).nud = function () { - error("A regular expression literal can be confused with '/='."); - }; - assignop("%=", "assignmod", 20); - bitwiseassignop("&=", "assignbitand", 20); - bitwiseassignop("|=", "assignbitor", 20); - bitwiseassignop("^=", "assignbitxor", 20); - bitwiseassignop("<<=", "assignshiftleft", 20); - bitwiseassignop(">>=", "assignshiftright", 20); - bitwiseassignop(">>>=", "assignshiftrightunsigned", 20); - infix("?", function (left, that) { - that.left = left; - that.right = expression(10); - advance(":"); - that["else"] = expression(10); - return that; - }, 30); - - infix("||", "or", 40); - infix("&&", "and", 50); - bitwise("|", "bitor", 70); - bitwise("^", "bitxor", 80); - bitwise("&", "bitand", 90); - relation("==", function (left, right) { - var eqnull = option.eqnull && (left.value === "null" || right.value === "null"); - - if (!eqnull && option.eqeqeq) - warning("Expected '{a}' and instead saw '{b}'.", this, "===", "=="); - else if (isPoorRelation(left)) - warning("Use '{a}' to compare with '{b}'.", this, "===", left.value); - else if (isPoorRelation(right)) - warning("Use '{a}' to compare with '{b}'.", this, "===", right.value); - - return this; - }); - relation("==="); - relation("!=", function (left, right) { - var eqnull = option.eqnull && - (left.value === "null" || right.value === "null"); - - if (!eqnull && option.eqeqeq) { - warning("Expected '{a}' and instead saw '{b}'.", - this, "!==", "!="); - } else if (isPoorRelation(left)) { - warning("Use '{a}' to compare with '{b}'.", - this, "!==", left.value); - } else if (isPoorRelation(right)) { - warning("Use '{a}' to compare with '{b}'.", - this, "!==", right.value); - } - return this; - }); - relation("!=="); - relation("<"); - relation(">"); - relation("<="); - relation(">="); - bitwise("<<", "shiftleft", 120); - bitwise(">>", "shiftright", 120); - bitwise(">>>", "shiftrightunsigned", 120); - infix("in", "in", 120); - infix("instanceof", "instanceof", 120); - infix("+", function (left, that) { - var right = expression(130); - if (left && right && left.id === "(string)" && right.id === "(string)") { - left.value += right.value; - left.character = right.character; - if (!option.scripturl && jx.test(left.value)) { - warning("JavaScript URL.", left); - } - return left; - } - that.left = left; - that.right = right; - return that; - }, 130); - prefix("+", "num"); - prefix("+++", function () { - warning("Confusing pluses."); - this.right = expression(150); - this.arity = "unary"; - return this; - }); - infix("+++", function (left) { - warning("Confusing pluses."); - this.left = left; - this.right = expression(130); - return this; - }, 130); - infix("-", "sub", 130); - prefix("-", "neg"); - prefix("---", function () { - warning("Confusing minuses."); - this.right = expression(150); - this.arity = "unary"; - return this; - }); - infix("---", function (left) { - warning("Confusing minuses."); - this.left = left; - this.right = expression(130); - return this; - }, 130); - infix("*", "mult", 140); - infix("/", "div", 140); - infix("%", "mod", 140); - - suffix("++", "postinc"); - prefix("++", "preinc"); - syntax["++"].exps = true; - - suffix("--", "postdec"); - prefix("--", "predec"); - syntax["--"].exps = true; - prefix("delete", function () { - var p = expression(0); - if (!p || (p.id !== "." && p.id !== "[")) { - warning("Variables should not be deleted."); - } - this.first = p; - return this; - }).exps = true; - - prefix("~", function () { - if (option.bitwise) { - warning("Unexpected '{a}'.", this, "~"); - } - expression(150); - return this; - }); - - prefix("!", function () { - this.right = expression(150); - this.arity = "unary"; - if (bang[this.right.id] === true) { - warning("Confusing use of '{a}'.", this, "!"); - } - return this; - }); - prefix("typeof", "typeof"); - prefix("new", function () { - var c = expression(155), i; - if (c && c.id !== "function") { - if (c.identifier) { - c["new"] = true; - switch (c.value) { - case "Number": - case "String": - case "Boolean": - case "Math": - case "JSON": - warning("Do not use {a} as a constructor.", prevtoken, c.value); - break; - case "Function": - if (!option.evil) { - warning("The Function constructor is eval."); - } - break; - case "Date": - case "RegExp": - break; - default: - if (c.id !== "function") { - i = c.value.substr(0, 1); - if (option.newcap && (i < "A" || i > "Z") && !is_own(global, c.value)) { - warning("A constructor name should start with an uppercase letter.", - token); - } - } - } - } else { - if (c.id !== "." && c.id !== "[" && c.id !== "(") { - warning("Bad constructor.", token); - } - } - } else { - if (!option.supernew) - warning("Weird construction. Delete 'new'.", this); - } - adjacent(token, nexttoken); - if (nexttoken.id !== "(" && !option.supernew) { - warning("Missing '()' invoking a constructor.", - token, token.value); - } - this.first = c; - return this; - }); - syntax["new"].exps = true; - - prefix("void").exps = true; - - infix(".", function (left, that) { - adjacent(prevtoken, token); - nobreak(); - var m = identifier(); - if (typeof m === "string") { - countMember(m); - } - that.left = left; - that.right = m; - if (left && left.value === "arguments" && (m === "callee" || m === "caller")) { - if (option.noarg) - warning("Avoid arguments.{a}.", left, m); - else if (directive["use strict"]) - error("Strict violation."); - } else if (!option.evil && left && left.value === "document" && - (m === "write" || m === "writeln")) { - warning("document.write can be a form of eval.", left); - } - if (!option.evil && (m === "eval" || m === "execScript")) { - warning("eval is evil."); - } - return that; - }, 160, true); - - infix("(", function (left, that) { - if (prevtoken.id !== "}" && prevtoken.id !== ")") { - nobreak(prevtoken, token); - } - nospace(); - if (option.immed && !left.immed && left.id === "function") { - warning("Wrap an immediate function invocation in parentheses " + - "to assist the reader in understanding that the expression " + - "is the result of a function, and not the function itself."); - } - var n = 0, - p = []; - if (left) { - if (left.type === "(identifier)") { - if (left.value.match(/^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/)) { - if ("Number String Boolean Date Object".indexOf(left.value) === -1) { - if (left.value === "Math") { - warning("Math is not a function.", left); - } else if (option.newcap) { - warning("Missing 'new' prefix when invoking a constructor.", left); - } - } - } - } - } - if (nexttoken.id !== ")") { - for (;;) { - p[p.length] = expression(10); - n += 1; - if (nexttoken.id !== ",") { - break; - } - comma(); - } - } - advance(")"); - nospace(prevtoken, token); - if (typeof left === "object") { - if (left.value === "parseInt" && n === 1) { - warning("Missing radix parameter.", token); - } - if (!option.evil) { - if (left.value === "eval" || left.value === "Function" || - left.value === "execScript") { - warning("eval is evil.", left); - - if (p[0] && [0].id === "(string)") { - addInternalSrc(left, p[0].value); - } - } else if (p[0] && p[0].id === "(string)" && - (left.value === "setTimeout" || - left.value === "setInterval")) { - warning( - "Implied eval is evil. Pass a function instead of a string.", left); - addInternalSrc(left, p[0].value); - - // window.setTimeout/setInterval - } else if (p[0] && p[0].id === "(string)" && - left.value === "." && - left.left.value === "window" && - (left.right === "setTimeout" || - left.right === "setInterval")) { - warning( - "Implied eval is evil. Pass a function instead of a string.", left); - addInternalSrc(left, p[0].value); - } - } - if (!left.identifier && left.id !== "." && left.id !== "[" && - left.id !== "(" && left.id !== "&&" && left.id !== "||" && - left.id !== "?") { - warning("Bad invocation.", left); - } - } - that.left = left; - return that; - }, 155, true).exps = true; - - prefix("(", function () { - nospace(); - if (nexttoken.id === "function") { - nexttoken.immed = true; - } - var v = expression(0); - advance(")", this); - nospace(prevtoken, token); - if (option.immed && v.id === "function") { - if (nexttoken.id !== "(" && - (nexttoken.id !== "." || (peek().value !== "call" && peek().value !== "apply"))) { - warning( -"Do not wrap function literals in parens unless they are to be immediately invoked.", - this); - } - } - - return v; - }); - - infix("[", function (left, that) { - nobreak(prevtoken, token); - nospace(); - var e = expression(0), s; - if (e && e.type === "(string)") { - if (!option.evil && (e.value === "eval" || e.value === "execScript")) { - warning("eval is evil.", that); - } - countMember(e.value); - if (!option.sub && ix.test(e.value)) { - s = syntax[e.value]; - if (!s || !s.reserved) { - warning("['{a}'] is better written in dot notation.", - prevtoken, e.value); - } - } - } - advance("]", that); - nospace(prevtoken, token); - that.left = left; - that.right = e; - return that; - }, 160, true); - - prefix("[", function () { - var b = token.line !== nexttoken.line; - this.first = []; - if (b) { - indent += option.indent; - if (nexttoken.from === indent + option.indent) { - indent += option.indent; - } - } - while (nexttoken.id !== "(end)") { - while (nexttoken.id === ",") { - if (!option.es5) - warning("Extra comma."); - advance(","); - } - if (nexttoken.id === "]") { - break; - } - if (b && token.line !== nexttoken.line) { - indentation(); - } - this.first.push(expression(10)); - if (nexttoken.id === ",") { - comma(); - if (nexttoken.id === "]" && !option.es5) { - warning("Extra comma.", token); - break; - } - } else { - break; - } - } - if (b) { - indent -= option.indent; - indentation(); - } - advance("]", this); - return this; - }, 160); - - - function property_name() { - var id = optionalidentifier(true); - if (!id) { - if (nexttoken.id === "(string)") { - id = nexttoken.value; - advance(); - } else if (nexttoken.id === "(number)") { - id = nexttoken.value.toString(); - advance(); - } - } - return id; - } - - - function functionparams() { - var next = nexttoken; - var params = []; - var ident; - - advance("("); - nospace(); - - if (nexttoken.id === ")") { - advance(")"); - return; - } - - for (;;) { - ident = identifier(true); - params.push(ident); - addlabel(ident, "unused", token); - if (nexttoken.id === ",") { - comma(); - } else { - advance(")", next); - nospace(prevtoken, token); - return params; - } - } - } - - - function doFunction(name, statement) { - var f; - var oldOption = option; - var oldScope = scope; - - option = Object.create(option); - scope = Object.create(scope); - - funct = { - "(name)" : name || "\"" + anonname + "\"", - "(line)" : nexttoken.line, - "(character)": nexttoken.character, - "(context)" : funct, - "(breakage)" : 0, - "(loopage)" : 0, - "(metrics)" : createMetrics(nexttoken), - "(scope)" : scope, - "(statement)": statement, - "(tokens)" : {} - }; - - f = funct; - token.funct = funct; - - functions.push(funct); - - if (name) { - addlabel(name, "function"); - } - - funct["(params)"] = functionparams(); - funct["(metrics)"].verifyMaxParametersPerFunction(funct["(params)"]); - - block(false, false, true); - - funct["(metrics)"].verifyMaxStatementsPerFunction(); - funct["(metrics)"].verifyMaxComplexityPerFunction(); - - scope = oldScope; - option = oldOption; - funct["(last)"] = token.line; - funct["(lastcharacter)"] = token.character; - funct = funct["(context)"]; - - return f; - } - - function createMetrics(functionStartToken) { - return { - statementCount: 0, - nestedBlockDepth: -1, - ComplexityCount: 1, - verifyMaxStatementsPerFunction: function () { - if (option.maxstatements && - this.statementCount > option.maxstatements) { - var message = "Too many statements per function (" + this.statementCount + ")."; - warning(message, functionStartToken); - } - }, - - verifyMaxParametersPerFunction: function (params) { - params = params || []; - - if (option.maxparams && params.length > option.maxparams) { - var message = "Too many parameters per function (" + params.length + ")."; - warning(message, functionStartToken); - } - }, - - verifyMaxNestedBlockDepthPerFunction: function () { - if (option.maxdepth && - this.nestedBlockDepth > 0 && - this.nestedBlockDepth === option.maxdepth + 1) { - var message = "Blocks are nested too deeply (" + this.nestedBlockDepth + ")."; - warning(message); - } - }, - - verifyMaxComplexityPerFunction: function () { - var max = option.maxcomplexity; - var cc = this.ComplexityCount; - if (max && cc > max) { - var message = "Cyclomatic complexity is too high per function (" + cc + ")."; - warning(message, functionStartToken); - } - } - }; - } - - function increaseComplexityCount() { - funct["(metrics)"].ComplexityCount += 1; - } - - - (function (x) { - x.nud = function () { - var b, f, i, p, t; - var props = {}; // All properties, including accessors - - function saveProperty(name, token) { - if (props[name] && is_own(props, name)) - warning("Duplicate member '{a}'.", nexttoken, i); - else - props[name] = {}; - - props[name].basic = true; - props[name].basicToken = token; - } - - function saveSetter(name, token) { - if (props[name] && is_own(props, name)) { - if (props[name].basic || props[name].setter) - warning("Duplicate member '{a}'.", nexttoken, i); - } else { - props[name] = {}; - } - - props[name].setter = true; - props[name].setterToken = token; - } - - function saveGetter(name) { - if (props[name] && is_own(props, name)) { - if (props[name].basic || props[name].getter) - warning("Duplicate member '{a}'.", nexttoken, i); - } else { - props[name] = {}; - } - - props[name].getter = true; - props[name].getterToken = token; - } - - b = token.line !== nexttoken.line; - if (b) { - indent += option.indent; - if (nexttoken.from === indent + option.indent) { - indent += option.indent; - } - } - for (;;) { - if (nexttoken.id === "}") { - break; - } - if (b) { - indentation(); - } - if (nexttoken.value === "get" && peek().id !== ":") { - advance("get"); - if (!option.es5) { - error("get/set are ES5 features."); - } - i = property_name(); - if (!i) { - error("Missing property name."); - } - saveGetter(i); - t = nexttoken; - adjacent(token, nexttoken); - f = doFunction(); - p = f["(params)"]; - if (p) { - warning("Unexpected parameter '{a}' in get {b} function.", t, p[0], i); - } - adjacent(token, nexttoken); - } else if (nexttoken.value === "set" && peek().id !== ":") { - advance("set"); - if (!option.es5) { - error("get/set are ES5 features."); - } - i = property_name(); - if (!i) { - error("Missing property name."); - } - saveSetter(i, nexttoken); - t = nexttoken; - adjacent(token, nexttoken); - f = doFunction(); - p = f["(params)"]; - if (!p || p.length !== 1) { - warning("Expected a single parameter in set {a} function.", t, i); - } - } else { - i = property_name(); - saveProperty(i, nexttoken); - if (typeof i !== "string") { - break; - } - advance(":"); - nonadjacent(token, nexttoken); - expression(10); - } - - countMember(i); - if (nexttoken.id === ",") { - comma(); - if (nexttoken.id === ",") { - warning("Extra comma.", token); - } else if (nexttoken.id === "}" && !option.es5) { - warning("Extra comma.", token); - } - } else { - break; - } - } - if (b) { - indent -= option.indent; - indentation(); - } - advance("}", this); - - // Check for lonely setters if in the ES5 mode. - if (option.es5) { - for (var name in props) { - if (is_own(props, name) && props[name].setter && !props[name].getter) { - warning("Setter is defined without getter.", props[name].setterToken); - } - } - } - return this; - }; - x.fud = function () { - error("Expected to see a statement and instead saw a block.", token); - }; - }(delim("{"))); - -// This Function is called when esnext option is set to true -// it adds the `const` statement to JSHINT - - useESNextSyntax = function () { - var conststatement = stmt("const", function (prefix) { - var id, name, value; - - this.first = []; - for (;;) { - nonadjacent(token, nexttoken); - id = identifier(); - if (funct[id] === "const") { - warning("const '" + id + "' has already been declared"); - } - if (funct["(global)"] && predefined[id] === false) { - warning("Redefinition of '{a}'.", token, id); - } - addlabel(id, "const"); - if (prefix) { - break; - } - name = token; - this.first.push(token); - - if (nexttoken.id !== "=") { - warning("const " + - "'{a}' is initialized to 'undefined'.", token, id); - } - - if (nexttoken.id === "=") { - nonadjacent(token, nexttoken); - advance("="); - nonadjacent(token, nexttoken); - if (nexttoken.id === "undefined") { - warning("It is not necessary to initialize " + - "'{a}' to 'undefined'.", token, id); - } - if (peek(0).id === "=" && nexttoken.identifier) { - error("Constant {a} was not declared correctly.", - nexttoken, nexttoken.value); - } - value = expression(0); - name.first = value; - } - - if (nexttoken.id !== ",") { - break; - } - comma(); - } - return this; - }); - conststatement.exps = true; - }; - - var varstatement = stmt("var", function (prefix) { - // JavaScript does not have block scope. It only has function scope. So, - // declaring a variable in a block can have unexpected consequences. - var id, name, value; - - if (funct["(onevar)"] && option.onevar) { - warning("Too many var statements."); - } else if (!funct["(global)"]) { - funct["(onevar)"] = true; - } - - this.first = []; - - for (;;) { - nonadjacent(token, nexttoken); - id = identifier(); - - if (option.esnext && funct[id] === "const") { - warning("const '" + id + "' has already been declared"); - } - - if (funct["(global)"] && predefined[id] === false) { - warning("Redefinition of '{a}'.", token, id); - } - - addlabel(id, "unused", token); - - if (prefix) { - break; - } - - name = token; - this.first.push(token); - - if (nexttoken.id === "=") { - nonadjacent(token, nexttoken); - advance("="); - nonadjacent(token, nexttoken); - if (nexttoken.id === "undefined") { - warning("It is not necessary to initialize '{a}' to 'undefined'.", token, id); - } - if (peek(0).id === "=" && nexttoken.identifier) { - error("Variable {a} was not declared correctly.", - nexttoken, nexttoken.value); - } - value = expression(0); - name.first = value; - } - if (nexttoken.id !== ",") { - break; - } - comma(); - } - return this; - }); - varstatement.exps = true; - - blockstmt("function", function () { - if (inblock) { - warning("Function declarations should not be placed in blocks. " + - "Use a function expression or move the statement to the top of " + - "the outer function.", token); - - } - var i = identifier(); - if (option.esnext && funct[i] === "const") { - warning("const '" + i + "' has already been declared"); - } - adjacent(token, nexttoken); - addlabel(i, "unction", token); - - doFunction(i, { statement: true }); - if (nexttoken.id === "(" && nexttoken.line === token.line) { - error( -"Function declarations are not invocable. Wrap the whole function invocation in parens."); - } - return this; - }); - - prefix("function", function () { - var i = optionalidentifier(); - if (i) { - adjacent(token, nexttoken); - } else { - nonadjacent(token, nexttoken); - } - doFunction(i); - if (!option.loopfunc && funct["(loopage)"]) { - warning("Don't make functions within a loop."); - } - return this; - }); - - blockstmt("if", function () { - var t = nexttoken; - increaseComplexityCount(); - advance("("); - nonadjacent(this, t); - nospace(); - expression(20); - if (nexttoken.id === "=") { - if (!option.boss) - warning("Expected a conditional expression and instead saw an assignment."); - advance("="); - expression(20); - } - advance(")", t); - nospace(prevtoken, token); - block(true, true); - if (nexttoken.id === "else") { - nonadjacent(token, nexttoken); - advance("else"); - if (nexttoken.id === "if" || nexttoken.id === "switch") { - statement(true); - } else { - block(true, true); - } - } - return this; - }); - - blockstmt("try", function () { - var b; - - function doCatch() { - var oldScope = scope; - var e; - - advance("catch"); - nonadjacent(token, nexttoken); - advance("("); - - scope = Object.create(oldScope); - - e = nexttoken.value; - if (nexttoken.type !== "(identifier)") { - e = null; - warning("Expected an identifier and instead saw '{a}'.", nexttoken, e); - } - - advance(); - advance(")"); - - funct = { - "(name)" : "(catch)", - "(line)" : nexttoken.line, - "(character)": nexttoken.character, - "(context)" : funct, - "(breakage)" : funct["(breakage)"], - "(loopage)" : funct["(loopage)"], - "(scope)" : scope, - "(statement)": false, - "(metrics)" : createMetrics(nexttoken), - "(catch)" : true, - "(tokens)" : {} - }; - - if (e) { - addlabel(e, "exception"); - } - - token.funct = funct; - functions.push(funct); - - block(false); - - scope = oldScope; - - funct["(last)"] = token.line; - funct["(lastcharacter)"] = token.character; - funct = funct["(context)"]; - } - - block(false); - - if (nexttoken.id === "catch") { - increaseComplexityCount(); - doCatch(); - b = true; - } - - if (nexttoken.id === "finally") { - advance("finally"); - block(false); - return; - } else if (!b) { - error("Expected '{a}' and instead saw '{b}'.", - nexttoken, "catch", nexttoken.value); - } - - return this; - }); - - blockstmt("while", function () { - var t = nexttoken; - funct["(breakage)"] += 1; - funct["(loopage)"] += 1; - increaseComplexityCount(); - advance("("); - nonadjacent(this, t); - nospace(); - expression(20); - if (nexttoken.id === "=") { - if (!option.boss) - warning("Expected a conditional expression and instead saw an assignment."); - advance("="); - expression(20); - } - advance(")", t); - nospace(prevtoken, token); - block(true, true); - funct["(breakage)"] -= 1; - funct["(loopage)"] -= 1; - return this; - }).labelled = true; - - blockstmt("with", function () { - var t = nexttoken; - if (directive["use strict"]) { - error("'with' is not allowed in strict mode.", token); - } else if (!option.withstmt) { - warning("Don't use 'with'.", token); - } - - advance("("); - nonadjacent(this, t); - nospace(); - expression(0); - advance(")", t); - nospace(prevtoken, token); - block(true, true); - - return this; - }); - - blockstmt("switch", function () { - var t = nexttoken, - g = false; - funct["(breakage)"] += 1; - advance("("); - nonadjacent(this, t); - nospace(); - this.condition = expression(20); - advance(")", t); - nospace(prevtoken, token); - nonadjacent(token, nexttoken); - t = nexttoken; - advance("{"); - nonadjacent(token, nexttoken); - indent += option.indent; - this.cases = []; - for (;;) { - switch (nexttoken.id) { - case "case": - switch (funct["(verb)"]) { - case "break": - case "case": - case "continue": - case "return": - case "switch": - case "throw": - break; - default: - // You can tell JSHint that you don't use break intentionally by - // adding a comment /* falls through */ on a line just before - // the next `case`. - if (!ft.test(lines[nexttoken.line - 2])) { - warning( - "Expected a 'break' statement before 'case'.", - token); - } - } - indentation(-option.indent); - advance("case"); - this.cases.push(expression(20)); - increaseComplexityCount(); - g = true; - advance(":"); - funct["(verb)"] = "case"; - break; - case "default": - switch (funct["(verb)"]) { - case "break": - case "continue": - case "return": - case "throw": - break; - default: - if (!ft.test(lines[nexttoken.line - 2])) { - warning( - "Expected a 'break' statement before 'default'.", - token); - } - } - indentation(-option.indent); - advance("default"); - g = true; - advance(":"); - break; - case "}": - indent -= option.indent; - indentation(); - advance("}", t); - if (this.cases.length === 1 || this.condition.id === "true" || - this.condition.id === "false") { - if (!option.onecase) - warning("This 'switch' should be an 'if'.", this); - } - funct["(breakage)"] -= 1; - funct["(verb)"] = undefined; - return; - case "(end)": - error("Missing '{a}'.", nexttoken, "}"); - return; - default: - if (g) { - switch (token.id) { - case ",": - error("Each value should have its own case label."); - return; - case ":": - g = false; - statements(); - break; - default: - error("Missing ':' on a case clause.", token); - return; - } - } else { - if (token.id === ":") { - advance(":"); - error("Unexpected '{a}'.", token, ":"); - statements(); - } else { - error("Expected '{a}' and instead saw '{b}'.", - nexttoken, "case", nexttoken.value); - return; - } - } - } - } - }).labelled = true; - - stmt("debugger", function () { - if (!option.debug) { - warning("All 'debugger' statements should be removed."); - } - return this; - }).exps = true; - - (function () { - var x = stmt("do", function () { - funct["(breakage)"] += 1; - funct["(loopage)"] += 1; - increaseComplexityCount(); - - this.first = block(true); - advance("while"); - var t = nexttoken; - nonadjacent(token, t); - advance("("); - nospace(); - expression(20); - if (nexttoken.id === "=") { - if (!option.boss) - warning("Expected a conditional expression and instead saw an assignment."); - advance("="); - expression(20); - } - advance(")", t); - nospace(prevtoken, token); - funct["(breakage)"] -= 1; - funct["(loopage)"] -= 1; - return this; - }); - x.labelled = true; - x.exps = true; - }()); - - blockstmt("for", function () { - var s, t = nexttoken; - funct["(breakage)"] += 1; - funct["(loopage)"] += 1; - increaseComplexityCount(); - advance("("); - nonadjacent(this, t); - nospace(); - if (peek(nexttoken.id === "var" ? 1 : 0).id === "in") { - if (nexttoken.id === "var") { - advance("var"); - varstatement.fud.call(varstatement, true); - } else { - switch (funct[nexttoken.value]) { - case "unused": - funct[nexttoken.value] = "var"; - break; - case "var": - break; - default: - warning("Bad for in variable '{a}'.", - nexttoken, nexttoken.value); - } - advance(); - } - advance("in"); - expression(20); - advance(")", t); - s = block(true, true); - if (option.forin && s && (s.length > 1 || typeof s[0] !== "object" || - s[0].value !== "if")) { - warning("The body of a for in should be wrapped in an if statement to filter " + - "unwanted properties from the prototype.", this); - } - funct["(breakage)"] -= 1; - funct["(loopage)"] -= 1; - return this; - } else { - if (nexttoken.id !== ";") { - if (nexttoken.id === "var") { - advance("var"); - varstatement.fud.call(varstatement); - } else { - for (;;) { - expression(0, "for"); - if (nexttoken.id !== ",") { - break; - } - comma(); - } - } - } - nolinebreak(token); - advance(";"); - if (nexttoken.id !== ";") { - expression(20); - if (nexttoken.id === "=") { - if (!option.boss) - warning("Expected a conditional expression and instead saw an assignment."); - advance("="); - expression(20); - } - } - nolinebreak(token); - advance(";"); - if (nexttoken.id === ";") { - error("Expected '{a}' and instead saw '{b}'.", - nexttoken, ")", ";"); - } - if (nexttoken.id !== ")") { - for (;;) { - expression(0, "for"); - if (nexttoken.id !== ",") { - break; - } - comma(); - } - } - advance(")", t); - nospace(prevtoken, token); - block(true, true); - funct["(breakage)"] -= 1; - funct["(loopage)"] -= 1; - return this; - } - }).labelled = true; - - - stmt("break", function () { - var v = nexttoken.value; - - if (funct["(breakage)"] === 0) - warning("Unexpected '{a}'.", nexttoken, this.value); - - if (!option.asi) - nolinebreak(this); - - if (nexttoken.id !== ";") { - if (token.line === nexttoken.line) { - if (funct[v] !== "label") { - warning("'{a}' is not a statement label.", nexttoken, v); - } else if (scope[v] !== funct) { - warning("'{a}' is out of scope.", nexttoken, v); - } - this.first = nexttoken; - advance(); - } - } - reachable("break"); - return this; - }).exps = true; - - - stmt("continue", function () { - var v = nexttoken.value; - - if (funct["(breakage)"] === 0) - warning("Unexpected '{a}'.", nexttoken, this.value); - - if (!option.asi) - nolinebreak(this); - - if (nexttoken.id !== ";") { - if (token.line === nexttoken.line) { - if (funct[v] !== "label") { - warning("'{a}' is not a statement label.", nexttoken, v); - } else if (scope[v] !== funct) { - warning("'{a}' is out of scope.", nexttoken, v); - } - this.first = nexttoken; - advance(); - } - } else if (!funct["(loopage)"]) { - warning("Unexpected '{a}'.", nexttoken, this.value); - } - reachable("continue"); - return this; - }).exps = true; - - - stmt("return", function () { - if (this.line === nexttoken.line) { - if (nexttoken.id === "(regexp)") - warning("Wrap the /regexp/ literal in parens to disambiguate the slash operator."); - - if (nexttoken.id !== ";" && !nexttoken.reach) { - nonadjacent(token, nexttoken); - if (peek().value === "=" && !option.boss) { - warningAt("Did you mean to return a conditional instead of an assignment?", - token.line, token.character + 1); - } - this.first = expression(0); - } - } else if (!option.asi) { - nolinebreak(this); // always warn (Line breaking error) - } - reachable("return"); - return this; - }).exps = true; - - - stmt("throw", function () { - nolinebreak(this); - nonadjacent(token, nexttoken); - this.first = expression(20); - reachable("throw"); - return this; - }).exps = true; - -// Superfluous reserved words - - reserve("class"); - reserve("const"); - reserve("enum"); - reserve("export"); - reserve("extends"); - reserve("import"); - reserve("super"); - - reserve("let"); - reserve("yield"); - reserve("implements"); - reserve("interface"); - reserve("package"); - reserve("private"); - reserve("protected"); - reserve("public"); - reserve("static"); - - -// Parse JSON - - function jsonValue() { - - function jsonObject() { - var o = {}, t = nexttoken; - advance("{"); - if (nexttoken.id !== "}") { - for (;;) { - if (nexttoken.id === "(end)") { - error("Missing '}' to match '{' from line {a}.", - nexttoken, t.line); - } else if (nexttoken.id === "}") { - warning("Unexpected comma.", token); - break; - } else if (nexttoken.id === ",") { - error("Unexpected comma.", nexttoken); - } else if (nexttoken.id !== "(string)") { - warning("Expected a string and instead saw {a}.", - nexttoken, nexttoken.value); - } - if (o[nexttoken.value] === true) { - warning("Duplicate key '{a}'.", - nexttoken, nexttoken.value); - } else if ((nexttoken.value === "__proto__" && - !option.proto) || (nexttoken.value === "__iterator__" && - !option.iterator)) { - warning("The '{a}' key may produce unexpected results.", - nexttoken, nexttoken.value); - } else { - o[nexttoken.value] = true; - } - advance(); - advance(":"); - jsonValue(); - if (nexttoken.id !== ",") { - break; - } - advance(","); - } - } - advance("}"); - } - - function jsonArray() { - var t = nexttoken; - advance("["); - if (nexttoken.id !== "]") { - for (;;) { - if (nexttoken.id === "(end)") { - error("Missing ']' to match '[' from line {a}.", - nexttoken, t.line); - } else if (nexttoken.id === "]") { - warning("Unexpected comma.", token); - break; - } else if (nexttoken.id === ",") { - error("Unexpected comma.", nexttoken); - } - jsonValue(); - if (nexttoken.id !== ",") { - break; - } - advance(","); - } - } - advance("]"); - } - - switch (nexttoken.id) { - case "{": - jsonObject(); - break; - case "[": - jsonArray(); - break; - case "true": - case "false": - case "null": - case "(number)": - case "(string)": - advance(); - break; - case "-": - advance("-"); - if (token.character !== nexttoken.from) { - warning("Unexpected space after '-'.", token); - } - adjacent(token, nexttoken); - advance("(number)"); - break; - default: - error("Expected a JSON value.", nexttoken); - } - } - - - // The actual JSHINT function itself. - var itself = function (s, o, g) { - var a, i, k, x; - var optionKeys; - var newOptionObj = {}; - - if (o && o.scope) { - JSHINT.scope = o.scope; - } else { - JSHINT.errors = []; - JSHINT.undefs = []; - JSHINT.internals = []; - JSHINT.blacklist = {}; - JSHINT.scope = "(main)"; - } - - predefined = Object.create(standard); - declared = Object.create(null); - combine(predefined, g || {}); - - if (o) { - a = o.predef; - if (a) { - if (!Array.isArray(a) && typeof a === "object") { - a = Object.keys(a); - } - a.forEach(function (item) { - var slice; - if (item[0] === "-") { - slice = item.slice(1); - JSHINT.blacklist[slice] = slice; - } else { - predefined[item] = true; - } - }); - } - - optionKeys = Object.keys(o); - for (x = 0; x < optionKeys.length; x++) { - newOptionObj[optionKeys[x]] = o[optionKeys[x]]; - - if (optionKeys[x] === "newcap" && o[optionKeys[x]] === false) - newOptionObj["(explicitNewcap)"] = true; - - if (optionKeys[x] === "indent") - newOptionObj.white = true; - } - } - - option = newOptionObj; - - option.indent = option.indent || 4; - option.maxerr = option.maxerr || 50; - - tab = ""; - for (i = 0; i < option.indent; i += 1) { - tab += " "; - } - indent = 1; - global = Object.create(predefined); - scope = global; - funct = { - "(global)": true, - "(name)": "(global)", - "(scope)": scope, - "(breakage)": 0, - "(loopage)": 0, - "(tokens)": {}, - "(metrics)": createMetrics(nexttoken) - }; - functions = [funct]; - urls = []; - stack = null; - member = {}; - membersOnly = null; - implied = {}; - inblock = false; - lookahead = []; - jsonmode = false; - warnings = 0; - lines = []; - unuseds = []; - - if (!isString(s) && !Array.isArray(s)) { - errorAt("Input is neither a string nor an array of strings.", 0); - return false; - } - - if (isString(s) && /^\s*$/g.test(s)) { - errorAt("Input is an empty string.", 0); - return false; - } - - if (s.length === 0) { - errorAt("Input is an empty array.", 0); - return false; - } - - lex.init(s); - - prereg = true; - directive = {}; - - prevtoken = token = nexttoken = syntax["(begin)"]; - - // Check options - for (var name in o) { - if (is_own(o, name)) { - checkOption(name, token); - } - } - - assume(); - - // combine the passed globals after we've assumed all our options - combine(predefined, g || {}); - - //reset values - comma.first = true; - quotmark = undefined; - - try { - advance(); - switch (nexttoken.id) { - case "{": - case "[": - option.laxbreak = true; - jsonmode = true; - jsonValue(); - break; - default: - directives(); - if (directive["use strict"] && !option.globalstrict) { - warning("Use the function form of \"use strict\".", prevtoken); - } - - statements(); - } - advance((nexttoken && nexttoken.value !== ".") ? "(end)" : undefined); - - var markDefined = function (name, context) { - do { - if (typeof context[name] === "string") { - // JSHINT marks unused variables as 'unused' and - // unused function declaration as 'unction'. This - // code changes such instances back 'var' and - // 'closure' so that the code in JSHINT.data() - // doesn't think they're unused. - - if (context[name] === "unused") - context[name] = "var"; - else if (context[name] === "unction") - context[name] = "closure"; - - return true; - } - - context = context["(context)"]; - } while (context); - - return false; - }; - - var clearImplied = function (name, line) { - if (!implied[name]) - return; - - var newImplied = []; - for (var i = 0; i < implied[name].length; i += 1) { - if (implied[name][i] !== line) - newImplied.push(implied[name][i]); - } - - if (newImplied.length === 0) - delete implied[name]; - else - implied[name] = newImplied; - }; - - var warnUnused = function (name, token) { - var line = token.line; - var chr = token.character; - - if (option.unused) - warningAt("'{a}' is defined but never used.", line, chr, name); - - unuseds.push({ - name: name, - line: line, - character: chr - }); - }; - - var checkUnused = function (func, key) { - var type = func[key]; - var token = func["(tokens)"][key]; - - if (key.charAt(0) === "(") - return; - - if (type !== "unused" && type !== "unction") - return; - - // Params are checked separately from other variables. - if (func["(params)"] && func["(params)"].indexOf(key) !== -1) - return; - - warnUnused(key, token); - }; - - // Check queued 'x is not defined' instances to see if they're still undefined. - for (i = 0; i < JSHINT.undefs.length; i += 1) { - k = JSHINT.undefs[i].slice(0); - - if (markDefined(k[2].value, k[0])) { - clearImplied(k[2].value, k[2].line); - } else { - warning.apply(warning, k.slice(1)); - } - } - - functions.forEach(function (func) { - for (var key in func) { - if (is_own(func, key)) { - checkUnused(func, key); - } - } - - if (!func["(params)"]) - return; - - var params = func["(params)"].slice(); - var param = params.pop(); - var type; - - while (param) { - type = func[param]; - - // 'undefined' is a special case for (function (window, undefined) { ... })(); - // patterns. - - if (param === "undefined") - return; - - if (type !== "unused" && type !== "unction") - return; - - warnUnused(param, func["(tokens)"][param]); - param = params.pop(); - } - }); - - for (var key in declared) { - if (is_own(declared, key) && !is_own(global, key)) { - warnUnused(key, declared[key]); - } - } - } catch (e) { - if (e) { - var nt = nexttoken || {}; - JSHINT.errors.push({ - raw : e.raw, - reason : e.message, - line : e.line || nt.line, - character : e.character || nt.from - }, null); - } - } - - // Loop over the listed "internals", and check them as well. - - if (JSHINT.scope === "(main)") { - o = o || {}; - - for (i = 0; i < JSHINT.internals.length; i += 1) { - k = JSHINT.internals[i]; - o.scope = k.elem; - itself(k.value, o, g); - } - } - - return JSHINT.errors.length === 0; - }; - - // Data summary. - itself.data = function () { - var data = { - functions: [], - options: option - }; - var implieds = []; - var members = []; - var fu, f, i, j, n, globals; - - if (itself.errors.length) { - data.errors = itself.errors; - } - - if (jsonmode) { - data.json = true; - } - - for (n in implied) { - if (is_own(implied, n)) { - implieds.push({ - name: n, - line: implied[n] - }); - } - } - - if (implieds.length > 0) { - data.implieds = implieds; - } - - if (urls.length > 0) { - data.urls = urls; - } - - globals = Object.keys(scope); - if (globals.length > 0) { - data.globals = globals; - } - - for (i = 1; i < functions.length; i += 1) { - f = functions[i]; - fu = {}; - - for (j = 0; j < functionicity.length; j += 1) { - fu[functionicity[j]] = []; - } - - for (j = 0; j < functionicity.length; j += 1) { - if (fu[functionicity[j]].length === 0) { - delete fu[functionicity[j]]; - } - } - - fu.name = f["(name)"]; - fu.param = f["(params)"]; - fu.line = f["(line)"]; - fu.character = f["(character)"]; - fu.last = f["(last)"]; - fu.lastcharacter = f["(lastcharacter)"]; - data.functions.push(fu); - } - - if (unuseds.length > 0) { - data.unused = unuseds; - } - - members = []; - for (n in member) { - if (typeof member[n] === "number") { - data.member = member; - break; - } - } - - return data; - }; - - itself.jshint = itself; - - return itself; -}()); - -// Make JSHINT a Node module, if possible. -if (typeof exports === "object" && exports) { - exports.JSHINT = JSHINT; -} \ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.css b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.css deleted file mode 100644 index d7fc0c8..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.css +++ /dev/null @@ -1,244 +0,0 @@ -/** - * QUnit v1.11.0 - A JavaScript Unit Testing Framework - * - * http://qunitjs.com - * - * Copyright 2012 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ - -/** Font Family and Sizes */ - -#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult { - font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif; -} - -#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } -#qunit-tests { font-size: smaller; } - - -/** Resets */ - -#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { - margin: 0; - padding: 0; -} - - -/** Header */ - -#qunit-header { - padding: 0.5em 0 0.5em 1em; - - color: #8699a4; - background-color: #0d3349; - - font-size: 1.5em; - line-height: 1em; - font-weight: normal; - - border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-top-right-radius: 5px; - -webkit-border-top-left-radius: 5px; -} - -#qunit-header a { - text-decoration: none; - color: #c2ccd1; -} - -#qunit-header a:hover, -#qunit-header a:focus { - color: #fff; -} - -#qunit-testrunner-toolbar label { - display: inline-block; - padding: 0 .5em 0 .1em; -} - -#qunit-banner { - height: 5px; -} - -#qunit-testrunner-toolbar { - padding: 0.5em 0 0.5em 2em; - color: #5E740B; - background-color: #eee; - overflow: hidden; -} - -#qunit-userAgent { - padding: 0.5em 0 0.5em 2.5em; - background-color: #2b81af; - color: #fff; - text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; -} - -#qunit-modulefilter-container { - float: right; -} - -/** Tests: Pass/Fail */ - -#qunit-tests { - list-style-position: inside; -} - -#qunit-tests li { - padding: 0.4em 0.5em 0.4em 2.5em; - border-bottom: 1px solid #fff; - list-style-position: inside; -} - -#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running { - display: none; -} - -#qunit-tests li strong { - cursor: pointer; -} - -#qunit-tests li a { - padding: 0.5em; - color: #c2ccd1; - text-decoration: none; -} -#qunit-tests li a:hover, -#qunit-tests li a:focus { - color: #000; -} - -#qunit-tests li .runtime { - float: right; - font-size: smaller; -} - -.qunit-assert-list { - margin-top: 0.5em; - padding: 0.5em; - - background-color: #fff; - - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; -} - -.qunit-collapsed { - display: none; -} - -#qunit-tests table { - border-collapse: collapse; - margin-top: .2em; -} - -#qunit-tests th { - text-align: right; - vertical-align: top; - padding: 0 .5em 0 0; -} - -#qunit-tests td { - vertical-align: top; -} - -#qunit-tests pre { - margin: 0; - white-space: pre-wrap; - word-wrap: break-word; -} - -#qunit-tests del { - background-color: #e0f2be; - color: #374e0c; - text-decoration: none; -} - -#qunit-tests ins { - background-color: #ffcaca; - color: #500; - text-decoration: none; -} - -/*** Test Counts */ - -#qunit-tests b.counts { color: black; } -#qunit-tests b.passed { color: #5E740B; } -#qunit-tests b.failed { color: #710909; } - -#qunit-tests li li { - padding: 5px; - background-color: #fff; - border-bottom: none; - list-style-position: inside; -} - -/*** Passing Styles */ - -#qunit-tests li li.pass { - color: #3c510c; - background-color: #fff; - border-left: 10px solid #C6E746; -} - -#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; } -#qunit-tests .pass .test-name { color: #366097; } - -#qunit-tests .pass .test-actual, -#qunit-tests .pass .test-expected { color: #999999; } - -#qunit-banner.qunit-pass { background-color: #C6E746; } - -/*** Failing Styles */ - -#qunit-tests li li.fail { - color: #710909; - background-color: #fff; - border-left: 10px solid #EE5757; - white-space: pre; -} - -#qunit-tests > li:last-child { - border-radius: 0 0 5px 5px; - -moz-border-radius: 0 0 5px 5px; - -webkit-border-bottom-right-radius: 5px; - -webkit-border-bottom-left-radius: 5px; -} - -#qunit-tests .fail { color: #000000; background-color: #EE5757; } -#qunit-tests .fail .test-name, -#qunit-tests .fail .module-name { color: #000000; } - -#qunit-tests .fail .test-actual { color: #EE5757; } -#qunit-tests .fail .test-expected { color: green; } - -#qunit-banner.qunit-fail { background-color: #EE5757; } - - -/** Result */ - -#qunit-testresult { - padding: 0.5em 0.5em 0.5em 2.5em; - - color: #2b81af; - background-color: #D2E0E6; - - border-bottom: 1px solid white; -} -#qunit-testresult .module-name { - font-weight: bold; -} - -/** Fixture */ - -#qunit-fixture { - position: absolute; - top: -10000px; - left: -10000px; - width: 1000px; - height: 1000px; -} diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.js deleted file mode 100644 index 302545f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.js +++ /dev/null @@ -1,2152 +0,0 @@ -/** - * QUnit v1.11.0 - A JavaScript Unit Testing Framework - * - * http://qunitjs.com - * - * Copyright 2012 jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ - -(function( window ) { - -var QUnit, - assert, - config, - onErrorFnPrev, - testId = 0, - fileName = (sourceFromStacktrace( 0 ) || "" ).replace(/(:\d+)+\)?/, "").replace(/.+\//, ""), - toString = Object.prototype.toString, - hasOwn = Object.prototype.hasOwnProperty, - // Keep a local reference to Date (GH-283) - Date = window.Date, - defined = { - setTimeout: typeof window.setTimeout !== "undefined", - sessionStorage: (function() { - var x = "qunit-test-string"; - try { - sessionStorage.setItem( x, x ); - sessionStorage.removeItem( x ); - return true; - } catch( e ) { - return false; - } - }()) - }, - /** - * Provides a normalized error string, correcting an issue - * with IE 7 (and prior) where Error.prototype.toString is - * not properly implemented - * - * Based on http://es5.github.com/#x15.11.4.4 - * - * @param {String|Error} error - * @return {String} error message - */ - errorString = function( error ) { - var name, message, - errorString = error.toString(); - if ( errorString.substring( 0, 7 ) === "[object" ) { - name = error.name ? error.name.toString() : "Error"; - message = error.message ? error.message.toString() : ""; - if ( name && message ) { - return name + ": " + message; - } else if ( name ) { - return name; - } else if ( message ) { - return message; - } else { - return "Error"; - } - } else { - return errorString; - } - }, - /** - * Makes a clone of an object using only Array or Object as base, - * and copies over the own enumerable properties. - * - * @param {Object} obj - * @return {Object} New object with only the own properties (recursively). - */ - objectValues = function( obj ) { - // Grunt 0.3.x uses an older version of jshint that still has jshint/jshint#392. - /*jshint newcap: false */ - var key, val, - vals = QUnit.is( "array", obj ) ? [] : {}; - for ( key in obj ) { - if ( hasOwn.call( obj, key ) ) { - val = obj[key]; - vals[key] = val === Object(val) ? objectValues(val) : val; - } - } - return vals; - }; - -function Test( settings ) { - extend( this, settings ); - this.assertions = []; - this.testNumber = ++Test.count; -} - -Test.count = 0; - -Test.prototype = { - init: function() { - var a, b, li, - tests = id( "qunit-tests" ); - - if ( tests ) { - b = document.createElement( "strong" ); - b.innerHTML = this.nameHtml; - - // `a` initialized at top of scope - a = document.createElement( "a" ); - a.innerHTML = "Rerun"; - a.href = QUnit.url({ testNumber: this.testNumber }); - - li = document.createElement( "li" ); - li.appendChild( b ); - li.appendChild( a ); - li.className = "running"; - li.id = this.id = "qunit-test-output" + testId++; - - tests.appendChild( li ); - } - }, - setup: function() { - if ( this.module !== config.previousModule ) { - if ( config.previousModule ) { - runLoggingCallbacks( "moduleDone", QUnit, { - name: config.previousModule, - failed: config.moduleStats.bad, - passed: config.moduleStats.all - config.moduleStats.bad, - total: config.moduleStats.all - }); - } - config.previousModule = this.module; - config.moduleStats = { all: 0, bad: 0 }; - runLoggingCallbacks( "moduleStart", QUnit, { - name: this.module - }); - } else if ( config.autorun ) { - runLoggingCallbacks( "moduleStart", QUnit, { - name: this.module - }); - } - - config.current = this; - - this.testEnvironment = extend({ - setup: function() {}, - teardown: function() {} - }, this.moduleTestEnvironment ); - - this.started = +new Date(); - runLoggingCallbacks( "testStart", QUnit, { - name: this.testName, - module: this.module - }); - - // allow utility functions to access the current test environment - // TODO why?? - QUnit.current_testEnvironment = this.testEnvironment; - - if ( !config.pollution ) { - saveGlobal(); - } - if ( config.notrycatch ) { - this.testEnvironment.setup.call( this.testEnvironment ); - return; - } - try { - this.testEnvironment.setup.call( this.testEnvironment ); - } catch( e ) { - QUnit.pushFailure( "Setup failed on " + this.testName + ": " + ( e.message || e ), extractStacktrace( e, 1 ) ); - } - }, - run: function() { - config.current = this; - - var running = id( "qunit-testresult" ); - - if ( running ) { - running.innerHTML = "Running:
" + this.nameHtml; - } - - if ( this.async ) { - QUnit.stop(); - } - - this.callbackStarted = +new Date(); - - if ( config.notrycatch ) { - this.callback.call( this.testEnvironment, QUnit.assert ); - this.callbackRuntime = +new Date() - this.callbackStarted; - return; - } - - try { - this.callback.call( this.testEnvironment, QUnit.assert ); - this.callbackRuntime = +new Date() - this.callbackStarted; - } catch( e ) { - this.callbackRuntime = +new Date() - this.callbackStarted; - - QUnit.pushFailure( "Died on test #" + (this.assertions.length + 1) + " " + this.stack + ": " + ( e.message || e ), extractStacktrace( e, 0 ) ); - // else next test will carry the responsibility - saveGlobal(); - - // Restart the tests if they're blocking - if ( config.blocking ) { - QUnit.start(); - } - } - }, - teardown: function() { - config.current = this; - if ( config.notrycatch ) { - if ( typeof this.callbackRuntime === "undefined" ) { - this.callbackRuntime = +new Date() - this.callbackStarted; - } - this.testEnvironment.teardown.call( this.testEnvironment ); - return; - } else { - try { - this.testEnvironment.teardown.call( this.testEnvironment ); - } catch( e ) { - QUnit.pushFailure( "Teardown failed on " + this.testName + ": " + ( e.message || e ), extractStacktrace( e, 1 ) ); - } - } - checkPollution(); - }, - finish: function() { - config.current = this; - if ( config.requireExpects && this.expected === null ) { - QUnit.pushFailure( "Expected number of assertions to be defined, but expect() was not called.", this.stack ); - } else if ( this.expected !== null && this.expected !== this.assertions.length ) { - QUnit.pushFailure( "Expected " + this.expected + " assertions, but " + this.assertions.length + " were run", this.stack ); - } else if ( this.expected === null && !this.assertions.length ) { - QUnit.pushFailure( "Expected at least one assertion, but none were run - call expect(0) to accept zero assertions.", this.stack ); - } - - var i, assertion, a, b, time, li, ol, - test = this, - good = 0, - bad = 0, - tests = id( "qunit-tests" ); - - this.runtime = +new Date() - this.started; - config.stats.all += this.assertions.length; - config.moduleStats.all += this.assertions.length; - - if ( tests ) { - ol = document.createElement( "ol" ); - ol.className = "qunit-assert-list"; - - for ( i = 0; i < this.assertions.length; i++ ) { - assertion = this.assertions[i]; - - li = document.createElement( "li" ); - li.className = assertion.result ? "pass" : "fail"; - li.innerHTML = assertion.message || ( assertion.result ? "okay" : "failed" ); - ol.appendChild( li ); - - if ( assertion.result ) { - good++; - } else { - bad++; - config.stats.bad++; - config.moduleStats.bad++; - } - } - - // store result when possible - if ( QUnit.config.reorder && defined.sessionStorage ) { - if ( bad ) { - sessionStorage.setItem( "qunit-test-" + this.module + "-" + this.testName, bad ); - } else { - sessionStorage.removeItem( "qunit-test-" + this.module + "-" + this.testName ); - } - } - - if ( bad === 0 ) { - addClass( ol, "qunit-collapsed" ); - } - - // `b` initialized at top of scope - b = document.createElement( "strong" ); - b.innerHTML = this.nameHtml + " (" + bad + ", " + good + ", " + this.assertions.length + ")"; - - addEvent(b, "click", function() { - var next = b.parentNode.lastChild, - collapsed = hasClass( next, "qunit-collapsed" ); - ( collapsed ? removeClass : addClass )( next, "qunit-collapsed" ); - }); - - addEvent(b, "dblclick", function( e ) { - var target = e && e.target ? e.target : window.event.srcElement; - if ( target.nodeName.toLowerCase() === "span" || target.nodeName.toLowerCase() === "b" ) { - target = target.parentNode; - } - if ( window.location && target.nodeName.toLowerCase() === "strong" ) { - window.location = QUnit.url({ testNumber: test.testNumber }); - } - }); - - // `time` initialized at top of scope - time = document.createElement( "span" ); - time.className = "runtime"; - time.innerHTML = this.runtime + " ms"; - - // `li` initialized at top of scope - li = id( this.id ); - li.className = bad ? "fail" : "pass"; - li.removeChild( li.firstChild ); - a = li.firstChild; - li.appendChild( b ); - li.appendChild( a ); - li.appendChild( time ); - li.appendChild( ol ); - - } else { - for ( i = 0; i < this.assertions.length; i++ ) { - if ( !this.assertions[i].result ) { - bad++; - config.stats.bad++; - config.moduleStats.bad++; - } - } - } - - runLoggingCallbacks( "testDone", QUnit, { - name: this.testName, - module: this.module, - failed: bad, - passed: this.assertions.length - bad, - total: this.assertions.length, - duration: this.runtime - }); - - QUnit.reset(); - - config.current = undefined; - }, - - queue: function() { - var bad, - test = this; - - synchronize(function() { - test.init(); - }); - function run() { - // each of these can by async - synchronize(function() { - test.setup(); - }); - synchronize(function() { - test.run(); - }); - synchronize(function() { - test.teardown(); - }); - synchronize(function() { - test.finish(); - }); - } - - // `bad` initialized at top of scope - // defer when previous test run passed, if storage is available - bad = QUnit.config.reorder && defined.sessionStorage && - +sessionStorage.getItem( "qunit-test-" + this.module + "-" + this.testName ); - - if ( bad ) { - run(); - } else { - synchronize( run, true ); - } - } -}; - -// Root QUnit object. -// `QUnit` initialized at top of scope -QUnit = { - - // call on start of module test to prepend name to all tests - module: function( name, testEnvironment ) { - config.currentModule = name; - config.currentModuleTestEnvironment = testEnvironment; - config.modules[name] = true; - }, - - asyncTest: function( testName, expected, callback ) { - if ( arguments.length === 2 ) { - callback = expected; - expected = null; - } - - QUnit.test( testName, expected, callback, true ); - }, - - test: function( testName, expected, callback, async ) { - var test, - nameHtml = "" + escapeText( testName ) + ""; - - if ( arguments.length === 2 ) { - callback = expected; - expected = null; - } - - if ( config.currentModule ) { - nameHtml = "" + escapeText( config.currentModule ) + ": " + nameHtml; - } - - test = new Test({ - nameHtml: nameHtml, - testName: testName, - expected: expected, - async: async, - callback: callback, - module: config.currentModule, - moduleTestEnvironment: config.currentModuleTestEnvironment, - stack: sourceFromStacktrace( 2 ) - }); - - if ( !validTest( test ) ) { - return; - } - - test.queue(); - }, - - // Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through. - expect: function( asserts ) { - if (arguments.length === 1) { - config.current.expected = asserts; - } else { - return config.current.expected; - } - }, - - start: function( count ) { - // QUnit hasn't been initialized yet. - // Note: RequireJS (et al) may delay onLoad - if ( config.semaphore === undefined ) { - QUnit.begin(function() { - // This is triggered at the top of QUnit.load, push start() to the event loop, to allow QUnit.load to finish first - setTimeout(function() { - QUnit.start( count ); - }); - }); - return; - } - - config.semaphore -= count || 1; - // don't start until equal number of stop-calls - if ( config.semaphore > 0 ) { - return; - } - // ignore if start is called more often then stop - if ( config.semaphore < 0 ) { - config.semaphore = 0; - QUnit.pushFailure( "Called start() while already started (QUnit.config.semaphore was 0 already)", null, sourceFromStacktrace(2) ); - return; - } - // A slight delay, to avoid any current callbacks - if ( defined.setTimeout ) { - window.setTimeout(function() { - if ( config.semaphore > 0 ) { - return; - } - if ( config.timeout ) { - clearTimeout( config.timeout ); - } - - config.blocking = false; - process( true ); - }, 13); - } else { - config.blocking = false; - process( true ); - } - }, - - stop: function( count ) { - config.semaphore += count || 1; - config.blocking = true; - - if ( config.testTimeout && defined.setTimeout ) { - clearTimeout( config.timeout ); - config.timeout = window.setTimeout(function() { - QUnit.ok( false, "Test timed out" ); - config.semaphore = 1; - QUnit.start(); - }, config.testTimeout ); - } - } -}; - -// `assert` initialized at top of scope -// Asssert helpers -// All of these must either call QUnit.push() or manually do: -// - runLoggingCallbacks( "log", .. ); -// - config.current.assertions.push({ .. }); -// We attach it to the QUnit object *after* we expose the public API, -// otherwise `assert` will become a global variable in browsers (#341). -assert = { - /** - * Asserts rough true-ish result. - * @name ok - * @function - * @example ok( "asdfasdf".length > 5, "There must be at least 5 chars" ); - */ - ok: function( result, msg ) { - if ( !config.current ) { - throw new Error( "ok() assertion outside test context, was " + sourceFromStacktrace(2) ); - } - result = !!result; - - var source, - details = { - module: config.current.module, - name: config.current.testName, - result: result, - message: msg - }; - - msg = escapeText( msg || (result ? "okay" : "failed" ) ); - msg = "" + msg + ""; - - if ( !result ) { - source = sourceFromStacktrace( 2 ); - if ( source ) { - details.source = source; - msg += "
Source:
" + escapeText( source ) + "
"; - } - } - runLoggingCallbacks( "log", QUnit, details ); - config.current.assertions.push({ - result: result, - message: msg - }); - }, - - /** - * Assert that the first two arguments are equal, with an optional message. - * Prints out both actual and expected values. - * @name equal - * @function - * @example equal( format( "Received {0} bytes.", 2), "Received 2 bytes.", "format() replaces {0} with next argument" ); - */ - equal: function( actual, expected, message ) { - /*jshint eqeqeq:false */ - QUnit.push( expected == actual, actual, expected, message ); - }, - - /** - * @name notEqual - * @function - */ - notEqual: function( actual, expected, message ) { - /*jshint eqeqeq:false */ - QUnit.push( expected != actual, actual, expected, message ); - }, - - /** - * @name propEqual - * @function - */ - propEqual: function( actual, expected, message ) { - actual = objectValues(actual); - expected = objectValues(expected); - QUnit.push( QUnit.equiv(actual, expected), actual, expected, message ); - }, - - /** - * @name notPropEqual - * @function - */ - notPropEqual: function( actual, expected, message ) { - actual = objectValues(actual); - expected = objectValues(expected); - QUnit.push( !QUnit.equiv(actual, expected), actual, expected, message ); - }, - - /** - * @name deepEqual - * @function - */ - deepEqual: function( actual, expected, message ) { - QUnit.push( QUnit.equiv(actual, expected), actual, expected, message ); - }, - - /** - * @name notDeepEqual - * @function - */ - notDeepEqual: function( actual, expected, message ) { - QUnit.push( !QUnit.equiv(actual, expected), actual, expected, message ); - }, - - /** - * @name strictEqual - * @function - */ - strictEqual: function( actual, expected, message ) { - QUnit.push( expected === actual, actual, expected, message ); - }, - - /** - * @name notStrictEqual - * @function - */ - notStrictEqual: function( actual, expected, message ) { - QUnit.push( expected !== actual, actual, expected, message ); - }, - - "throws": function( block, expected, message ) { - var actual, - expectedOutput = expected, - ok = false; - - // 'expected' is optional - if ( typeof expected === "string" ) { - message = expected; - expected = null; - } - - config.current.ignoreGlobalErrors = true; - try { - block.call( config.current.testEnvironment ); - } catch (e) { - actual = e; - } - config.current.ignoreGlobalErrors = false; - - if ( actual ) { - // we don't want to validate thrown error - if ( !expected ) { - ok = true; - expectedOutput = null; - // expected is a regexp - } else if ( QUnit.objectType( expected ) === "regexp" ) { - ok = expected.test( errorString( actual ) ); - // expected is a constructor - } else if ( actual instanceof expected ) { - ok = true; - // expected is a validation function which returns true is validation passed - } else if ( expected.call( {}, actual ) === true ) { - expectedOutput = null; - ok = true; - } - - QUnit.push( ok, actual, expectedOutput, message ); - } else { - QUnit.pushFailure( message, null, 'No exception was thrown.' ); - } - } -}; - -/** - * @deprecate since 1.8.0 - * Kept assertion helpers in root for backwards compatibility. - */ -extend( QUnit, assert ); - -/** - * @deprecated since 1.9.0 - * Kept root "raises()" for backwards compatibility. - * (Note that we don't introduce assert.raises). - */ -QUnit.raises = assert[ "throws" ]; - -/** - * @deprecated since 1.0.0, replaced with error pushes since 1.3.0 - * Kept to avoid TypeErrors for undefined methods. - */ -QUnit.equals = function() { - QUnit.push( false, false, false, "QUnit.equals has been deprecated since 2009 (e88049a0), use QUnit.equal instead" ); -}; -QUnit.same = function() { - QUnit.push( false, false, false, "QUnit.same has been deprecated since 2009 (e88049a0), use QUnit.deepEqual instead" ); -}; - -// We want access to the constructor's prototype -(function() { - function F() {} - F.prototype = QUnit; - QUnit = new F(); - // Make F QUnit's constructor so that we can add to the prototype later - QUnit.constructor = F; -}()); - -/** - * Config object: Maintain internal state - * Later exposed as QUnit.config - * `config` initialized at top of scope - */ -config = { - // The queue of tests to run - queue: [], - - // block until document ready - blocking: true, - - // when enabled, show only failing tests - // gets persisted through sessionStorage and can be changed in UI via checkbox - hidepassed: false, - - // by default, run previously failed tests first - // very useful in combination with "Hide passed tests" checked - reorder: true, - - // by default, modify document.title when suite is done - altertitle: true, - - // when enabled, all tests must call expect() - requireExpects: false, - - // add checkboxes that are persisted in the query-string - // when enabled, the id is set to `true` as a `QUnit.config` property - urlConfig: [ - { - id: "noglobals", - label: "Check for Globals", - tooltip: "Enabling this will test if any test introduces new properties on the `window` object. Stored as query-strings." - }, - { - id: "notrycatch", - label: "No try-catch", - tooltip: "Enabling this will run tests outside of a try-catch block. Makes debugging exceptions in IE reasonable. Stored as query-strings." - } - ], - - // Set of all modules. - modules: {}, - - // logging callback queues - begin: [], - done: [], - log: [], - testStart: [], - testDone: [], - moduleStart: [], - moduleDone: [] -}; - -// Export global variables, unless an 'exports' object exists, -// in that case we assume we're in CommonJS (dealt with on the bottom of the script) -if ( typeof exports === "undefined" ) { - extend( window, QUnit ); - - // Expose QUnit object - window.QUnit = QUnit; -} - -// Initialize more QUnit.config and QUnit.urlParams -(function() { - var i, - location = window.location || { search: "", protocol: "file:" }, - params = location.search.slice( 1 ).split( "&" ), - length = params.length, - urlParams = {}, - current; - - if ( params[ 0 ] ) { - for ( i = 0; i < length; i++ ) { - current = params[ i ].split( "=" ); - current[ 0 ] = decodeURIComponent( current[ 0 ] ); - // allow just a key to turn on a flag, e.g., test.html?noglobals - current[ 1 ] = current[ 1 ] ? decodeURIComponent( current[ 1 ] ) : true; - urlParams[ current[ 0 ] ] = current[ 1 ]; - } - } - - QUnit.urlParams = urlParams; - - // String search anywhere in moduleName+testName - config.filter = urlParams.filter; - - // Exact match of the module name - config.module = urlParams.module; - - config.testNumber = parseInt( urlParams.testNumber, 10 ) || null; - - // Figure out if we're running the tests from a server or not - QUnit.isLocal = location.protocol === "file:"; -}()); - -// Extend QUnit object, -// these after set here because they should not be exposed as global functions -extend( QUnit, { - assert: assert, - - config: config, - - // Initialize the configuration options - init: function() { - extend( config, { - stats: { all: 0, bad: 0 }, - moduleStats: { all: 0, bad: 0 }, - started: +new Date(), - updateRate: 1000, - blocking: false, - autostart: true, - autorun: false, - filter: "", - queue: [], - semaphore: 1 - }); - - var tests, banner, result, - qunit = id( "qunit" ); - - if ( qunit ) { - qunit.innerHTML = - "

" + escapeText( document.title ) + "

" + - "

" + - "
" + - "

" + - "
    "; - } - - tests = id( "qunit-tests" ); - banner = id( "qunit-banner" ); - result = id( "qunit-testresult" ); - - if ( tests ) { - tests.innerHTML = ""; - } - - if ( banner ) { - banner.className = ""; - } - - if ( result ) { - result.parentNode.removeChild( result ); - } - - if ( tests ) { - result = document.createElement( "p" ); - result.id = "qunit-testresult"; - result.className = "result"; - tests.parentNode.insertBefore( result, tests ); - result.innerHTML = "Running...
     "; - } - }, - - // Resets the test setup. Useful for tests that modify the DOM. - reset: function() { - var fixture = id( "qunit-fixture" ); - if ( fixture ) { - fixture.innerHTML = config.fixture; - } - }, - - // Trigger an event on an element. - // @example triggerEvent( document.body, "click" ); - triggerEvent: function( elem, type, event ) { - if ( document.createEvent ) { - event = document.createEvent( "MouseEvents" ); - event.initMouseEvent(type, true, true, elem.ownerDocument.defaultView, - 0, 0, 0, 0, 0, false, false, false, false, 0, null); - - elem.dispatchEvent( event ); - } else if ( elem.fireEvent ) { - elem.fireEvent( "on" + type ); - } - }, - - // Safe object type checking - is: function( type, obj ) { - return QUnit.objectType( obj ) === type; - }, - - objectType: function( obj ) { - if ( typeof obj === "undefined" ) { - return "undefined"; - // consider: typeof null === object - } - if ( obj === null ) { - return "null"; - } - - var match = toString.call( obj ).match(/^\[object\s(.*)\]$/), - type = match && match[1] || ""; - - switch ( type ) { - case "Number": - if ( isNaN(obj) ) { - return "nan"; - } - return "number"; - case "String": - case "Boolean": - case "Array": - case "Date": - case "RegExp": - case "Function": - return type.toLowerCase(); - } - if ( typeof obj === "object" ) { - return "object"; - } - return undefined; - }, - - push: function( result, actual, expected, message ) { - if ( !config.current ) { - throw new Error( "assertion outside test context, was " + sourceFromStacktrace() ); - } - - var output, source, - details = { - module: config.current.module, - name: config.current.testName, - result: result, - message: message, - actual: actual, - expected: expected - }; - - message = escapeText( message ) || ( result ? "okay" : "failed" ); - message = "" + message + ""; - output = message; - - if ( !result ) { - expected = escapeText( QUnit.jsDump.parse(expected) ); - actual = escapeText( QUnit.jsDump.parse(actual) ); - output += ""; - - if ( actual !== expected ) { - output += ""; - output += ""; - } - - source = sourceFromStacktrace(); - - if ( source ) { - details.source = source; - output += ""; - } - - output += "
    Expected:
    " + expected + "
    Result:
    " + actual + "
    Diff:
    " + QUnit.diff( expected, actual ) + "
    Source:
    " + escapeText( source ) + "
    "; - } - - runLoggingCallbacks( "log", QUnit, details ); - - config.current.assertions.push({ - result: !!result, - message: output - }); - }, - - pushFailure: function( message, source, actual ) { - if ( !config.current ) { - throw new Error( "pushFailure() assertion outside test context, was " + sourceFromStacktrace(2) ); - } - - var output, - details = { - module: config.current.module, - name: config.current.testName, - result: false, - message: message - }; - - message = escapeText( message ) || "error"; - message = "" + message + ""; - output = message; - - output += ""; - - if ( actual ) { - output += ""; - } - - if ( source ) { - details.source = source; - output += ""; - } - - output += "
    Result:
    " + escapeText( actual ) + "
    Source:
    " + escapeText( source ) + "
    "; - - runLoggingCallbacks( "log", QUnit, details ); - - config.current.assertions.push({ - result: false, - message: output - }); - }, - - url: function( params ) { - params = extend( extend( {}, QUnit.urlParams ), params ); - var key, - querystring = "?"; - - for ( key in params ) { - if ( !hasOwn.call( params, key ) ) { - continue; - } - querystring += encodeURIComponent( key ) + "=" + - encodeURIComponent( params[ key ] ) + "&"; - } - return window.location.protocol + "//" + window.location.host + - window.location.pathname + querystring.slice( 0, -1 ); - }, - - extend: extend, - id: id, - addEvent: addEvent - // load, equiv, jsDump, diff: Attached later -}); - -/** - * @deprecated: Created for backwards compatibility with test runner that set the hook function - * into QUnit.{hook}, instead of invoking it and passing the hook function. - * QUnit.constructor is set to the empty F() above so that we can add to it's prototype here. - * Doing this allows us to tell if the following methods have been overwritten on the actual - * QUnit object. - */ -extend( QUnit.constructor.prototype, { - - // Logging callbacks; all receive a single argument with the listed properties - // run test/logs.html for any related changes - begin: registerLoggingCallback( "begin" ), - - // done: { failed, passed, total, runtime } - done: registerLoggingCallback( "done" ), - - // log: { result, actual, expected, message } - log: registerLoggingCallback( "log" ), - - // testStart: { name } - testStart: registerLoggingCallback( "testStart" ), - - // testDone: { name, failed, passed, total, duration } - testDone: registerLoggingCallback( "testDone" ), - - // moduleStart: { name } - moduleStart: registerLoggingCallback( "moduleStart" ), - - // moduleDone: { name, failed, passed, total } - moduleDone: registerLoggingCallback( "moduleDone" ) -}); - -if ( typeof document === "undefined" || document.readyState === "complete" ) { - config.autorun = true; -} - -QUnit.load = function() { - runLoggingCallbacks( "begin", QUnit, {} ); - - // Initialize the config, saving the execution queue - var banner, filter, i, label, len, main, ol, toolbar, userAgent, val, - urlConfigCheckboxesContainer, urlConfigCheckboxes, moduleFilter, - numModules = 0, - moduleFilterHtml = "", - urlConfigHtml = "", - oldconfig = extend( {}, config ); - - QUnit.init(); - extend(config, oldconfig); - - config.blocking = false; - - len = config.urlConfig.length; - - for ( i = 0; i < len; i++ ) { - val = config.urlConfig[i]; - if ( typeof val === "string" ) { - val = { - id: val, - label: val, - tooltip: "[no tooltip available]" - }; - } - config[ val.id ] = QUnit.urlParams[ val.id ]; - urlConfigHtml += ""; - } - - moduleFilterHtml += ""; - - // `userAgent` initialized at top of scope - userAgent = id( "qunit-userAgent" ); - if ( userAgent ) { - userAgent.innerHTML = navigator.userAgent; - } - - // `banner` initialized at top of scope - banner = id( "qunit-header" ); - if ( banner ) { - banner.innerHTML = "" + banner.innerHTML + " "; - } - - // `toolbar` initialized at top of scope - toolbar = id( "qunit-testrunner-toolbar" ); - if ( toolbar ) { - // `filter` initialized at top of scope - filter = document.createElement( "input" ); - filter.type = "checkbox"; - filter.id = "qunit-filter-pass"; - - addEvent( filter, "click", function() { - var tmp, - ol = document.getElementById( "qunit-tests" ); - - if ( filter.checked ) { - ol.className = ol.className + " hidepass"; - } else { - tmp = " " + ol.className.replace( /[\n\t\r]/g, " " ) + " "; - ol.className = tmp.replace( / hidepass /, " " ); - } - if ( defined.sessionStorage ) { - if (filter.checked) { - sessionStorage.setItem( "qunit-filter-passed-tests", "true" ); - } else { - sessionStorage.removeItem( "qunit-filter-passed-tests" ); - } - } - }); - - if ( config.hidepassed || defined.sessionStorage && sessionStorage.getItem( "qunit-filter-passed-tests" ) ) { - filter.checked = true; - // `ol` initialized at top of scope - ol = document.getElementById( "qunit-tests" ); - ol.className = ol.className + " hidepass"; - } - toolbar.appendChild( filter ); - - // `label` initialized at top of scope - label = document.createElement( "label" ); - label.setAttribute( "for", "qunit-filter-pass" ); - label.setAttribute( "title", "Only show tests and assertons that fail. Stored in sessionStorage." ); - label.innerHTML = "Hide passed tests"; - toolbar.appendChild( label ); - - urlConfigCheckboxesContainer = document.createElement("span"); - urlConfigCheckboxesContainer.innerHTML = urlConfigHtml; - urlConfigCheckboxes = urlConfigCheckboxesContainer.getElementsByTagName("input"); - // For oldIE support: - // * Add handlers to the individual elements instead of the container - // * Use "click" instead of "change" - // * Fallback from event.target to event.srcElement - addEvents( urlConfigCheckboxes, "click", function( event ) { - var params = {}, - target = event.target || event.srcElement; - params[ target.name ] = target.checked ? true : undefined; - window.location = QUnit.url( params ); - }); - toolbar.appendChild( urlConfigCheckboxesContainer ); - - if (numModules > 1) { - moduleFilter = document.createElement( 'span' ); - moduleFilter.setAttribute( 'id', 'qunit-modulefilter-container' ); - moduleFilter.innerHTML = moduleFilterHtml; - addEvent( moduleFilter.lastChild, "change", function() { - var selectBox = moduleFilter.getElementsByTagName("select")[0], - selectedModule = decodeURIComponent(selectBox.options[selectBox.selectedIndex].value); - - window.location = QUnit.url( { module: ( selectedModule === "" ) ? undefined : selectedModule } ); - }); - toolbar.appendChild(moduleFilter); - } - } - - // `main` initialized at top of scope - main = id( "qunit-fixture" ); - if ( main ) { - config.fixture = main.innerHTML; - } - - if ( config.autostart ) { - QUnit.start(); - } -}; - -addEvent( window, "load", QUnit.load ); - -// `onErrorFnPrev` initialized at top of scope -// Preserve other handlers -onErrorFnPrev = window.onerror; - -// Cover uncaught exceptions -// Returning true will surpress the default browser handler, -// returning false will let it run. -window.onerror = function ( error, filePath, linerNr ) { - var ret = false; - if ( onErrorFnPrev ) { - ret = onErrorFnPrev( error, filePath, linerNr ); - } - - // Treat return value as window.onerror itself does, - // Only do our handling if not surpressed. - if ( ret !== true ) { - if ( QUnit.config.current ) { - if ( QUnit.config.current.ignoreGlobalErrors ) { - return true; - } - QUnit.pushFailure( error, filePath + ":" + linerNr ); - } else { - QUnit.test( "global failure", extend( function() { - QUnit.pushFailure( error, filePath + ":" + linerNr ); - }, { validTest: validTest } ) ); - } - return false; - } - - return ret; -}; - -function done() { - config.autorun = true; - - // Log the last module results - if ( config.currentModule ) { - runLoggingCallbacks( "moduleDone", QUnit, { - name: config.currentModule, - failed: config.moduleStats.bad, - passed: config.moduleStats.all - config.moduleStats.bad, - total: config.moduleStats.all - }); - } - - var i, key, - banner = id( "qunit-banner" ), - tests = id( "qunit-tests" ), - runtime = +new Date() - config.started, - passed = config.stats.all - config.stats.bad, - html = [ - "Tests completed in ", - runtime, - " milliseconds.
    ", - "", - passed, - " assertions of ", - config.stats.all, - " passed, ", - config.stats.bad, - " failed." - ].join( "" ); - - if ( banner ) { - banner.className = ( config.stats.bad ? "qunit-fail" : "qunit-pass" ); - } - - if ( tests ) { - id( "qunit-testresult" ).innerHTML = html; - } - - if ( config.altertitle && typeof document !== "undefined" && document.title ) { - // show ✖ for good, ✔ for bad suite result in title - // use escape sequences in case file gets loaded with non-utf-8-charset - document.title = [ - ( config.stats.bad ? "\u2716" : "\u2714" ), - document.title.replace( /^[\u2714\u2716] /i, "" ) - ].join( " " ); - } - - // clear own sessionStorage items if all tests passed - if ( config.reorder && defined.sessionStorage && config.stats.bad === 0 ) { - // `key` & `i` initialized at top of scope - for ( i = 0; i < sessionStorage.length; i++ ) { - key = sessionStorage.key( i++ ); - if ( key.indexOf( "qunit-test-" ) === 0 ) { - sessionStorage.removeItem( key ); - } - } - } - - // scroll back to top to show results - if ( window.scrollTo ) { - window.scrollTo(0, 0); - } - - runLoggingCallbacks( "done", QUnit, { - failed: config.stats.bad, - passed: passed, - total: config.stats.all, - runtime: runtime - }); -} - -/** @return Boolean: true if this test should be ran */ -function validTest( test ) { - var include, - filter = config.filter && config.filter.toLowerCase(), - module = config.module && config.module.toLowerCase(), - fullName = (test.module + ": " + test.testName).toLowerCase(); - - // Internally-generated tests are always valid - if ( test.callback && test.callback.validTest === validTest ) { - delete test.callback.validTest; - return true; - } - - if ( config.testNumber ) { - return test.testNumber === config.testNumber; - } - - if ( module && ( !test.module || test.module.toLowerCase() !== module ) ) { - return false; - } - - if ( !filter ) { - return true; - } - - include = filter.charAt( 0 ) !== "!"; - if ( !include ) { - filter = filter.slice( 1 ); - } - - // If the filter matches, we need to honour include - if ( fullName.indexOf( filter ) !== -1 ) { - return include; - } - - // Otherwise, do the opposite - return !include; -} - -// so far supports only Firefox, Chrome and Opera (buggy), Safari (for real exceptions) -// Later Safari and IE10 are supposed to support error.stack as well -// See also https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error/Stack -function extractStacktrace( e, offset ) { - offset = offset === undefined ? 3 : offset; - - var stack, include, i; - - if ( e.stacktrace ) { - // Opera - return e.stacktrace.split( "\n" )[ offset + 3 ]; - } else if ( e.stack ) { - // Firefox, Chrome - stack = e.stack.split( "\n" ); - if (/^error$/i.test( stack[0] ) ) { - stack.shift(); - } - if ( fileName ) { - include = []; - for ( i = offset; i < stack.length; i++ ) { - if ( stack[ i ].indexOf( fileName ) !== -1 ) { - break; - } - include.push( stack[ i ] ); - } - if ( include.length ) { - return include.join( "\n" ); - } - } - return stack[ offset ]; - } else if ( e.sourceURL ) { - // Safari, PhantomJS - // hopefully one day Safari provides actual stacktraces - // exclude useless self-reference for generated Error objects - if ( /qunit.js$/.test( e.sourceURL ) ) { - return; - } - // for actual exceptions, this is useful - return e.sourceURL + ":" + e.line; - } -} -function sourceFromStacktrace( offset ) { - try { - throw new Error(); - } catch ( e ) { - return extractStacktrace( e, offset ); - } -} - -/** - * Escape text for attribute or text content. - */ -function escapeText( s ) { - if ( !s ) { - return ""; - } - s = s + ""; - // Both single quotes and double quotes (for attributes) - return s.replace( /['"<>&]/g, function( s ) { - switch( s ) { - case '\'': - return '''; - case '"': - return '"'; - case '<': - return '<'; - case '>': - return '>'; - case '&': - return '&'; - } - }); -} - -function synchronize( callback, last ) { - config.queue.push( callback ); - - if ( config.autorun && !config.blocking ) { - process( last ); - } -} - -function process( last ) { - function next() { - process( last ); - } - var start = new Date().getTime(); - config.depth = config.depth ? config.depth + 1 : 1; - - while ( config.queue.length && !config.blocking ) { - if ( !defined.setTimeout || config.updateRate <= 0 || ( ( new Date().getTime() - start ) < config.updateRate ) ) { - config.queue.shift()(); - } else { - window.setTimeout( next, 13 ); - break; - } - } - config.depth--; - if ( last && !config.blocking && !config.queue.length && config.depth === 0 ) { - done(); - } -} - -function saveGlobal() { - config.pollution = []; - - if ( config.noglobals ) { - for ( var key in window ) { - // in Opera sometimes DOM element ids show up here, ignore them - if ( !hasOwn.call( window, key ) || /^qunit-test-output/.test( key ) ) { - continue; - } - config.pollution.push( key ); - } - } -} - -function checkPollution() { - var newGlobals, - deletedGlobals, - old = config.pollution; - - saveGlobal(); - - newGlobals = diff( config.pollution, old ); - if ( newGlobals.length > 0 ) { - QUnit.pushFailure( "Introduced global variable(s): " + newGlobals.join(", ") ); - } - - deletedGlobals = diff( old, config.pollution ); - if ( deletedGlobals.length > 0 ) { - QUnit.pushFailure( "Deleted global variable(s): " + deletedGlobals.join(", ") ); - } -} - -// returns a new Array with the elements that are in a but not in b -function diff( a, b ) { - var i, j, - result = a.slice(); - - for ( i = 0; i < result.length; i++ ) { - for ( j = 0; j < b.length; j++ ) { - if ( result[i] === b[j] ) { - result.splice( i, 1 ); - i--; - break; - } - } - } - return result; -} - -function extend( a, b ) { - for ( var prop in b ) { - if ( b[ prop ] === undefined ) { - delete a[ prop ]; - - // Avoid "Member not found" error in IE8 caused by setting window.constructor - } else if ( prop !== "constructor" || a !== window ) { - a[ prop ] = b[ prop ]; - } - } - - return a; -} - -/** - * @param {HTMLElement} elem - * @param {string} type - * @param {Function} fn - */ -function addEvent( elem, type, fn ) { - // Standards-based browsers - if ( elem.addEventListener ) { - elem.addEventListener( type, fn, false ); - // IE - } else { - elem.attachEvent( "on" + type, fn ); - } -} - -/** - * @param {Array|NodeList} elems - * @param {string} type - * @param {Function} fn - */ -function addEvents( elems, type, fn ) { - var i = elems.length; - while ( i-- ) { - addEvent( elems[i], type, fn ); - } -} - -function hasClass( elem, name ) { - return (" " + elem.className + " ").indexOf(" " + name + " ") > -1; -} - -function addClass( elem, name ) { - if ( !hasClass( elem, name ) ) { - elem.className += (elem.className ? " " : "") + name; - } -} - -function removeClass( elem, name ) { - var set = " " + elem.className + " "; - // Class name may appear multiple times - while ( set.indexOf(" " + name + " ") > -1 ) { - set = set.replace(" " + name + " " , " "); - } - // If possible, trim it for prettiness, but not neccecarily - elem.className = window.jQuery ? jQuery.trim( set ) : ( set.trim ? set.trim() : set ); -} - -function id( name ) { - return !!( typeof document !== "undefined" && document && document.getElementById ) && - document.getElementById( name ); -} - -function registerLoggingCallback( key ) { - return function( callback ) { - config[key].push( callback ); - }; -} - -// Supports deprecated method of completely overwriting logging callbacks -function runLoggingCallbacks( key, scope, args ) { - var i, callbacks; - if ( QUnit.hasOwnProperty( key ) ) { - QUnit[ key ].call(scope, args ); - } else { - callbacks = config[ key ]; - for ( i = 0; i < callbacks.length; i++ ) { - callbacks[ i ].call( scope, args ); - } - } -} - -// Test for equality any JavaScript type. -// Author: Philippe Rathé -QUnit.equiv = (function() { - - // Call the o related callback with the given arguments. - function bindCallbacks( o, callbacks, args ) { - var prop = QUnit.objectType( o ); - if ( prop ) { - if ( QUnit.objectType( callbacks[ prop ] ) === "function" ) { - return callbacks[ prop ].apply( callbacks, args ); - } else { - return callbacks[ prop ]; // or undefined - } - } - } - - // the real equiv function - var innerEquiv, - // stack to decide between skip/abort functions - callers = [], - // stack to avoiding loops from circular referencing - parents = [], - - getProto = Object.getPrototypeOf || function ( obj ) { - return obj.__proto__; - }, - callbacks = (function () { - - // for string, boolean, number and null - function useStrictEquality( b, a ) { - /*jshint eqeqeq:false */ - if ( b instanceof a.constructor || a instanceof b.constructor ) { - // to catch short annotaion VS 'new' annotation of a - // declaration - // e.g. var i = 1; - // var j = new Number(1); - return a == b; - } else { - return a === b; - } - } - - return { - "string": useStrictEquality, - "boolean": useStrictEquality, - "number": useStrictEquality, - "null": useStrictEquality, - "undefined": useStrictEquality, - - "nan": function( b ) { - return isNaN( b ); - }, - - "date": function( b, a ) { - return QUnit.objectType( b ) === "date" && a.valueOf() === b.valueOf(); - }, - - "regexp": function( b, a ) { - return QUnit.objectType( b ) === "regexp" && - // the regex itself - a.source === b.source && - // and its modifers - a.global === b.global && - // (gmi) ... - a.ignoreCase === b.ignoreCase && - a.multiline === b.multiline && - a.sticky === b.sticky; - }, - - // - skip when the property is a method of an instance (OOP) - // - abort otherwise, - // initial === would have catch identical references anyway - "function": function() { - var caller = callers[callers.length - 1]; - return caller !== Object && typeof caller !== "undefined"; - }, - - "array": function( b, a ) { - var i, j, len, loop; - - // b could be an object literal here - if ( QUnit.objectType( b ) !== "array" ) { - return false; - } - - len = a.length; - if ( len !== b.length ) { - // safe and faster - return false; - } - - // track reference to avoid circular references - parents.push( a ); - for ( i = 0; i < len; i++ ) { - loop = false; - for ( j = 0; j < parents.length; j++ ) { - if ( parents[j] === a[i] ) { - loop = true;// dont rewalk array - } - } - if ( !loop && !innerEquiv(a[i], b[i]) ) { - parents.pop(); - return false; - } - } - parents.pop(); - return true; - }, - - "object": function( b, a ) { - var i, j, loop, - // Default to true - eq = true, - aProperties = [], - bProperties = []; - - // comparing constructors is more strict than using - // instanceof - if ( a.constructor !== b.constructor ) { - // Allow objects with no prototype to be equivalent to - // objects with Object as their constructor. - if ( !(( getProto(a) === null && getProto(b) === Object.prototype ) || - ( getProto(b) === null && getProto(a) === Object.prototype ) ) ) { - return false; - } - } - - // stack constructor before traversing properties - callers.push( a.constructor ); - // track reference to avoid circular references - parents.push( a ); - - for ( i in a ) { // be strict: don't ensures hasOwnProperty - // and go deep - loop = false; - for ( j = 0; j < parents.length; j++ ) { - if ( parents[j] === a[i] ) { - // don't go down the same path twice - loop = true; - } - } - aProperties.push(i); // collect a's properties - - if (!loop && !innerEquiv( a[i], b[i] ) ) { - eq = false; - break; - } - } - - callers.pop(); // unstack, we are done - parents.pop(); - - for ( i in b ) { - bProperties.push( i ); // collect b's properties - } - - // Ensures identical properties name - return eq && innerEquiv( aProperties.sort(), bProperties.sort() ); - } - }; - }()); - - innerEquiv = function() { // can take multiple arguments - var args = [].slice.apply( arguments ); - if ( args.length < 2 ) { - return true; // end transition - } - - return (function( a, b ) { - if ( a === b ) { - return true; // catch the most you can - } else if ( a === null || b === null || typeof a === "undefined" || - typeof b === "undefined" || - QUnit.objectType(a) !== QUnit.objectType(b) ) { - return false; // don't lose time with error prone cases - } else { - return bindCallbacks(a, callbacks, [ b, a ]); - } - - // apply transition with (1..n) arguments - }( args[0], args[1] ) && arguments.callee.apply( this, args.splice(1, args.length - 1 )) ); - }; - - return innerEquiv; -}()); - -/** - * jsDump Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com | - * http://flesler.blogspot.com Licensed under BSD - * (http://www.opensource.org/licenses/bsd-license.php) Date: 5/15/2008 - * - * @projectDescription Advanced and extensible data dumping for Javascript. - * @version 1.0.0 - * @author Ariel Flesler - * @link {http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html} - */ -QUnit.jsDump = (function() { - function quote( str ) { - return '"' + str.toString().replace( /"/g, '\\"' ) + '"'; - } - function literal( o ) { - return o + ""; - } - function join( pre, arr, post ) { - var s = jsDump.separator(), - base = jsDump.indent(), - inner = jsDump.indent(1); - if ( arr.join ) { - arr = arr.join( "," + s + inner ); - } - if ( !arr ) { - return pre + post; - } - return [ pre, inner + arr, base + post ].join(s); - } - function array( arr, stack ) { - var i = arr.length, ret = new Array(i); - this.up(); - while ( i-- ) { - ret[i] = this.parse( arr[i] , undefined , stack); - } - this.down(); - return join( "[", ret, "]" ); - } - - var reName = /^function (\w+)/, - jsDump = { - // type is used mostly internally, you can fix a (custom)type in advance - parse: function( obj, type, stack ) { - stack = stack || [ ]; - var inStack, res, - parser = this.parsers[ type || this.typeOf(obj) ]; - - type = typeof parser; - inStack = inArray( obj, stack ); - - if ( inStack !== -1 ) { - return "recursion(" + (inStack - stack.length) + ")"; - } - if ( type === "function" ) { - stack.push( obj ); - res = parser.call( this, obj, stack ); - stack.pop(); - return res; - } - return ( type === "string" ) ? parser : this.parsers.error; - }, - typeOf: function( obj ) { - var type; - if ( obj === null ) { - type = "null"; - } else if ( typeof obj === "undefined" ) { - type = "undefined"; - } else if ( QUnit.is( "regexp", obj) ) { - type = "regexp"; - } else if ( QUnit.is( "date", obj) ) { - type = "date"; - } else if ( QUnit.is( "function", obj) ) { - type = "function"; - } else if ( typeof obj.setInterval !== undefined && typeof obj.document !== "undefined" && typeof obj.nodeType === "undefined" ) { - type = "window"; - } else if ( obj.nodeType === 9 ) { - type = "document"; - } else if ( obj.nodeType ) { - type = "node"; - } else if ( - // native arrays - toString.call( obj ) === "[object Array]" || - // NodeList objects - ( typeof obj.length === "number" && typeof obj.item !== "undefined" && ( obj.length ? obj.item(0) === obj[0] : ( obj.item( 0 ) === null && typeof obj[0] === "undefined" ) ) ) - ) { - type = "array"; - } else if ( obj.constructor === Error.prototype.constructor ) { - type = "error"; - } else { - type = typeof obj; - } - return type; - }, - separator: function() { - return this.multiline ? this.HTML ? "
    " : "\n" : this.HTML ? " " : " "; - }, - // extra can be a number, shortcut for increasing-calling-decreasing - indent: function( extra ) { - if ( !this.multiline ) { - return ""; - } - var chr = this.indentChar; - if ( this.HTML ) { - chr = chr.replace( /\t/g, " " ).replace( / /g, " " ); - } - return new Array( this._depth_ + (extra||0) ).join(chr); - }, - up: function( a ) { - this._depth_ += a || 1; - }, - down: function( a ) { - this._depth_ -= a || 1; - }, - setParser: function( name, parser ) { - this.parsers[name] = parser; - }, - // The next 3 are exposed so you can use them - quote: quote, - literal: literal, - join: join, - // - _depth_: 1, - // This is the list of parsers, to modify them, use jsDump.setParser - parsers: { - window: "[Window]", - document: "[Document]", - error: function(error) { - return "Error(\"" + error.message + "\")"; - }, - unknown: "[Unknown]", - "null": "null", - "undefined": "undefined", - "function": function( fn ) { - var ret = "function", - // functions never have name in IE - name = "name" in fn ? fn.name : (reName.exec(fn) || [])[1]; - - if ( name ) { - ret += " " + name; - } - ret += "( "; - - ret = [ ret, QUnit.jsDump.parse( fn, "functionArgs" ), "){" ].join( "" ); - return join( ret, QUnit.jsDump.parse(fn,"functionCode" ), "}" ); - }, - array: array, - nodelist: array, - "arguments": array, - object: function( map, stack ) { - var ret = [ ], keys, key, val, i; - QUnit.jsDump.up(); - keys = []; - for ( key in map ) { - keys.push( key ); - } - keys.sort(); - for ( i = 0; i < keys.length; i++ ) { - key = keys[ i ]; - val = map[ key ]; - ret.push( QUnit.jsDump.parse( key, "key" ) + ": " + QUnit.jsDump.parse( val, undefined, stack ) ); - } - QUnit.jsDump.down(); - return join( "{", ret, "}" ); - }, - node: function( node ) { - var len, i, val, - open = QUnit.jsDump.HTML ? "<" : "<", - close = QUnit.jsDump.HTML ? ">" : ">", - tag = node.nodeName.toLowerCase(), - ret = open + tag, - attrs = node.attributes; - - if ( attrs ) { - for ( i = 0, len = attrs.length; i < len; i++ ) { - val = attrs[i].nodeValue; - // IE6 includes all attributes in .attributes, even ones not explicitly set. - // Those have values like undefined, null, 0, false, "" or "inherit". - if ( val && val !== "inherit" ) { - ret += " " + attrs[i].nodeName + "=" + QUnit.jsDump.parse( val, "attribute" ); - } - } - } - ret += close; - - // Show content of TextNode or CDATASection - if ( node.nodeType === 3 || node.nodeType === 4 ) { - ret += node.nodeValue; - } - - return ret + open + "/" + tag + close; - }, - // function calls it internally, it's the arguments part of the function - functionArgs: function( fn ) { - var args, - l = fn.length; - - if ( !l ) { - return ""; - } - - args = new Array(l); - while ( l-- ) { - // 97 is 'a' - args[l] = String.fromCharCode(97+l); - } - return " " + args.join( ", " ) + " "; - }, - // object calls it internally, the key part of an item in a map - key: quote, - // function calls it internally, it's the content of the function - functionCode: "[code]", - // node calls it internally, it's an html attribute value - attribute: quote, - string: quote, - date: quote, - regexp: literal, - number: literal, - "boolean": literal - }, - // if true, entities are escaped ( <, >, \t, space and \n ) - HTML: false, - // indentation unit - indentChar: " ", - // if true, items in a collection, are separated by a \n, else just a space. - multiline: true - }; - - return jsDump; -}()); - -// from jquery.js -function inArray( elem, array ) { - if ( array.indexOf ) { - return array.indexOf( elem ); - } - - for ( var i = 0, length = array.length; i < length; i++ ) { - if ( array[ i ] === elem ) { - return i; - } - } - - return -1; -} - -/* - * Javascript Diff Algorithm - * By John Resig (http://ejohn.org/) - * Modified by Chu Alan "sprite" - * - * Released under the MIT license. - * - * More Info: - * http://ejohn.org/projects/javascript-diff-algorithm/ - * - * Usage: QUnit.diff(expected, actual) - * - * QUnit.diff( "the quick brown fox jumped over", "the quick fox jumps over" ) == "the quick brown fox jumped jumps over" - */ -QUnit.diff = (function() { - /*jshint eqeqeq:false, eqnull:true */ - function diff( o, n ) { - var i, - ns = {}, - os = {}; - - for ( i = 0; i < n.length; i++ ) { - if ( !hasOwn.call( ns, n[i] ) ) { - ns[ n[i] ] = { - rows: [], - o: null - }; - } - ns[ n[i] ].rows.push( i ); - } - - for ( i = 0; i < o.length; i++ ) { - if ( !hasOwn.call( os, o[i] ) ) { - os[ o[i] ] = { - rows: [], - n: null - }; - } - os[ o[i] ].rows.push( i ); - } - - for ( i in ns ) { - if ( !hasOwn.call( ns, i ) ) { - continue; - } - if ( ns[i].rows.length === 1 && hasOwn.call( os, i ) && os[i].rows.length === 1 ) { - n[ ns[i].rows[0] ] = { - text: n[ ns[i].rows[0] ], - row: os[i].rows[0] - }; - o[ os[i].rows[0] ] = { - text: o[ os[i].rows[0] ], - row: ns[i].rows[0] - }; - } - } - - for ( i = 0; i < n.length - 1; i++ ) { - if ( n[i].text != null && n[ i + 1 ].text == null && n[i].row + 1 < o.length && o[ n[i].row + 1 ].text == null && - n[ i + 1 ] == o[ n[i].row + 1 ] ) { - - n[ i + 1 ] = { - text: n[ i + 1 ], - row: n[i].row + 1 - }; - o[ n[i].row + 1 ] = { - text: o[ n[i].row + 1 ], - row: i + 1 - }; - } - } - - for ( i = n.length - 1; i > 0; i-- ) { - if ( n[i].text != null && n[ i - 1 ].text == null && n[i].row > 0 && o[ n[i].row - 1 ].text == null && - n[ i - 1 ] == o[ n[i].row - 1 ]) { - - n[ i - 1 ] = { - text: n[ i - 1 ], - row: n[i].row - 1 - }; - o[ n[i].row - 1 ] = { - text: o[ n[i].row - 1 ], - row: i - 1 - }; - } - } - - return { - o: o, - n: n - }; - } - - return function( o, n ) { - o = o.replace( /\s+$/, "" ); - n = n.replace( /\s+$/, "" ); - - var i, pre, - str = "", - out = diff( o === "" ? [] : o.split(/\s+/), n === "" ? [] : n.split(/\s+/) ), - oSpace = o.match(/\s+/g), - nSpace = n.match(/\s+/g); - - if ( oSpace == null ) { - oSpace = [ " " ]; - } - else { - oSpace.push( " " ); - } - - if ( nSpace == null ) { - nSpace = [ " " ]; - } - else { - nSpace.push( " " ); - } - - if ( out.n.length === 0 ) { - for ( i = 0; i < out.o.length; i++ ) { - str += "" + out.o[i] + oSpace[i] + ""; - } - } - else { - if ( out.n[0].text == null ) { - for ( n = 0; n < out.o.length && out.o[n].text == null; n++ ) { - str += "" + out.o[n] + oSpace[n] + ""; - } - } - - for ( i = 0; i < out.n.length; i++ ) { - if (out.n[i].text == null) { - str += "" + out.n[i] + nSpace[i] + ""; - } - else { - // `pre` initialized at top of scope - pre = ""; - - for ( n = out.n[i].row + 1; n < out.o.length && out.o[n].text == null; n++ ) { - pre += "" + out.o[n] + oSpace[n] + ""; - } - str += " " + out.n[i].text + nSpace[i] + pre; - } - } - } - - return str; - }; -}()); - -// for CommonJS enviroments, export everything -if ( typeof exports !== "undefined" ) { - extend( exports, QUnit ); -} - -// get at whatever the global object is, like window in browsers -}( (function() {return this;}.call()) )); diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/jquery-1.9.1.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/jquery-1.9.1.js deleted file mode 100644 index e2c203f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/jquery-ui/jquery-1.9.1.js +++ /dev/null @@ -1,9597 +0,0 @@ -/*! - * jQuery JavaScript Library v1.9.1 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-2-4 - */ -(function( window, undefined ) { - -// Can't do this because several apps including ASP.NET trace -// the stack via arguments.caller.callee and Firefox dies if -// you try to trace through "use strict" call chains. (#13335) -// Support: Firefox 18+ -//"use strict"; -var - // The deferred used on DOM ready - readyList, - - // A central reference to the root jQuery(document) - rootjQuery, - - // Support: IE<9 - // For `typeof node.method` instead of `node.method !== undefined` - core_strundefined = typeof undefined, - - // Use the correct document accordingly with window argument (sandbox) - document = window.document, - location = window.location, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // [[Class]] -> type pairs - class2type = {}, - - // List of deleted data cache ids, so we can reuse them - core_deletedIds = [], - - core_version = "1.9.1", - - // Save a reference to some core methods - core_concat = core_deletedIds.concat, - core_push = core_deletedIds.push, - core_slice = core_deletedIds.slice, - core_indexOf = core_deletedIds.indexOf, - core_toString = class2type.toString, - core_hasOwn = class2type.hasOwnProperty, - core_trim = core_version.trim, - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context, rootjQuery ); - }, - - // Used for matching numbers - core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, - - // Used for splitting on whitespace - core_rnotwhite = /\S+/g, - - // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, - - // JSON RegExp - rvalidchars = /^[\],:{}\s]*$/, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, - rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }, - - // The ready event handler - completed = function( event ) { - - // readyState === "complete" is good enough for us to call the dom ready in oldIE - if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { - detach(); - jQuery.ready(); - } - }, - // Clean-up method for dom ready events - detach = function() { - if ( document.addEventListener ) { - document.removeEventListener( "DOMContentLoaded", completed, false ); - window.removeEventListener( "load", completed, false ); - - } else { - document.detachEvent( "onreadystatechange", completed ); - window.detachEvent( "onload", completed ); - } - }; - -jQuery.fn = jQuery.prototype = { - // The current version of jQuery being used - jquery: core_version, - - constructor: jQuery, - init: function( selector, context, rootjQuery ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - - // scripts is true for back-compat - jQuery.merge( this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || rootjQuery ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - // The number of elements contained in the matched element set - size: function() { - return this.length; - }, - - toArray: function() { - return core_slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this[ this.length + num ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - // Add the callback - jQuery.ready.promise().done( fn ); - - return this; - }, - - slice: function() { - return this.pushStack( core_slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: core_push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - var src, copyIsArray, copy, name, options, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - noConflict: function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.trigger ) { - jQuery( document ).trigger("ready").off("ready"); - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - isWindow: function( obj ) { - return obj != null && obj == obj.window; - }, - - isNumeric: function( obj ) { - return !isNaN( parseFloat(obj) ) && isFinite( obj ); - }, - - type: function( obj ) { - if ( obj == null ) { - return String( obj ); - } - return typeof obj === "object" || typeof obj === "function" ? - class2type[ core_toString.call(obj) ] || "object" : - typeof obj; - }, - - isPlainObject: function( obj ) { - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - try { - // Not own constructor property must be Object - if ( obj.constructor && - !core_hasOwn.call(obj, "constructor") && - !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - } catch ( e ) { - // IE8,9 Will throw exceptions on certain host objects #9897 - return false; - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - - var key; - for ( key in obj ) {} - - return key === undefined || core_hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - var name; - for ( name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw new Error( msg ); - }, - - // data: string of html - // context (optional): If specified, the fragment will be created in this context, defaults to document - // keepScripts (optional): If true, will include scripts passed in the html string - parseHTML: function( data, context, keepScripts ) { - if ( !data || typeof data !== "string" ) { - return null; - } - if ( typeof context === "boolean" ) { - keepScripts = context; - context = false; - } - context = context || document; - - var parsed = rsingleTag.exec( data ), - scripts = !keepScripts && []; - - // Single tag - if ( parsed ) { - return [ context.createElement( parsed[1] ) ]; - } - - parsed = jQuery.buildFragment( [ data ], context, scripts ); - if ( scripts ) { - jQuery( scripts ).remove(); - } - return jQuery.merge( [], parsed.childNodes ); - }, - - parseJSON: function( data ) { - // Attempt to parse using the native JSON parser first - if ( window.JSON && window.JSON.parse ) { - return window.JSON.parse( data ); - } - - if ( data === null ) { - return data; - } - - if ( typeof data === "string" ) { - - // Make sure leading/trailing whitespace is removed (IE can't handle it) - data = jQuery.trim( data ); - - if ( data ) { - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( rvalidchars.test( data.replace( rvalidescape, "@" ) - .replace( rvalidtokens, "]" ) - .replace( rvalidbraces, "")) ) { - - return ( new Function( "return " + data ) )(); - } - } - } - - jQuery.error( "Invalid JSON: " + data ); - }, - - // Cross-browser xml parsing - parseXML: function( data ) { - var xml, tmp; - if ( !data || typeof data !== "string" ) { - return null; - } - try { - if ( window.DOMParser ) { // Standard - tmp = new DOMParser(); - xml = tmp.parseFromString( data , "text/xml" ); - } else { // IE - xml = new ActiveXObject( "Microsoft.XMLDOM" ); - xml.async = "false"; - xml.loadXML( data ); - } - } catch( e ) { - xml = undefined; - } - if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; - }, - - noop: function() {}, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && jQuery.trim( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - // args is for internal usage only - each: function( obj, callback, args ) { - var value, - i = 0, - length = obj.length, - isArray = isArraylike( obj ); - - if ( args ) { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } - } - - return obj; - }, - - // Use native String.trim function wherever possible - trim: core_trim && !core_trim.call("\uFEFF\xA0") ? - function( text ) { - return text == null ? - "" : - core_trim.call( text ); - } : - - // Otherwise use our own trimming functionality - function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArraylike( Object(arr) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - core_push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - var len; - - if ( arr ) { - if ( core_indexOf ) { - return core_indexOf.call( arr, elem, i ); - } - - len = arr.length; - i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; - - for ( ; i < len; i++ ) { - // Skip accessing in sparse arrays - if ( i in arr && arr[ i ] === elem ) { - return i; - } - } - } - - return -1; - }, - - merge: function( first, second ) { - var l = second.length, - i = first.length, - j = 0; - - if ( typeof l === "number" ) { - for ( ; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - var retVal, - ret = [], - i = 0, - length = elems.length; - inv = !!inv; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - retVal = !!callback( elems[ i ], i ); - if ( inv !== retVal ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, - i = 0, - length = elems.length, - isArray = isArraylike( elems ), - ret = []; - - // Go through the array, translating each of the items to their - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - } - - // Flatten any nested arrays - return core_concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var args, proxy, tmp; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = core_slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - // Multifunctional method to get and set values of a collection - // The value/s can optionally be executed if it's a function - access: function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - length = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < length; i++ ) { - fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call( elems ) : - length ? fn( elems[0], key ) : emptyGet; - }, - - now: function() { - return ( new Date() ).getTime(); - } -}); - -jQuery.ready.promise = function( obj ) { - if ( !readyList ) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called after the browser event has already occurred. - // we once tried to use readyState "interactive" here, but it caused issues like the one - // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - setTimeout( jQuery.ready ); - - // Standards-based browsers support DOMContentLoaded - } else if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed, false ); - - // If IE event model is used - } else { - // Ensure firing before onload, maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", completed ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", completed ); - - // If IE and not a frame - // continually check to see if the document is ready - var top = false; - - try { - top = window.frameElement == null && document.documentElement; - } catch(e) {} - - if ( top && top.doScroll ) { - (function doScrollCheck() { - if ( !jQuery.isReady ) { - - try { - // Use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - top.doScroll("left"); - } catch(e) { - return setTimeout( doScrollCheck, 50 ); - } - - // detach all dom ready events - detach(); - - // and execute any waiting functions - jQuery.ready(); - } - })(); - } - } - } - return readyList.promise( obj ); -}; - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -function isArraylike( obj ) { - var length = obj.length, - type = jQuery.type( obj ); - - if ( jQuery.isWindow( obj ) ) { - return false; - } - - if ( obj.nodeType === 1 && length ) { - return true; - } - - return type === "array" || type !== "function" && - ( length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj ); -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); -// String to Object options format cache -var optionsCache = {}; - -// Convert String-formatted options into Object-formatted ones and store in cache -function createOptions( options ) { - var object = optionsCache[ options ] = {}; - jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { - object[ flag ] = true; - }); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - ( optionsCache[ options ] || createOptions( options ) ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - // Last fire value (for non-forgettable lists) - memory, - // Flag to know if list was already fired - fired, - // End of the loop when firing - firingLength, - // Index of currently firing callback (modified by remove if needed) - firingIndex, - // First callback to fire (used internally by add and fireWith) - firingStart, - // Actual callback list - list = [], - // Stack of fire calls for repeatable lists - stack = !options.once && [], - // Fire callbacks - fire = function( data ) { - memory = options.memory && data; - fired = true; - firingIndex = firingStart || 0; - firingStart = 0; - firingLength = list.length; - firing = true; - for ( ; list && firingIndex < firingLength; firingIndex++ ) { - if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { - memory = false; // To prevent further calls using add - break; - } - } - firing = false; - if ( list ) { - if ( stack ) { - if ( stack.length ) { - fire( stack.shift() ); - } - } else if ( memory ) { - list = []; - } else { - self.disable(); - } - } - }, - // Actual Callbacks object - self = { - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - // First, we save the current length - var start = list.length; - (function add( args ) { - jQuery.each( args, function( _, arg ) { - var type = jQuery.type( arg ); - if ( type === "function" ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && type !== "string" ) { - // Inspect recursively - add( arg ); - } - }); - })( arguments ); - // Do we need to add the callbacks to the - // current firing batch? - if ( firing ) { - firingLength = list.length; - // With memory, if we're not firing then - // we should call right away - } else if ( memory ) { - firingStart = start; - fire( memory ); - } - } - return this; - }, - // Remove a callback from the list - remove: function() { - if ( list ) { - jQuery.each( arguments, function( _, arg ) { - var index; - while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - // Handle firing indexes - if ( firing ) { - if ( index <= firingLength ) { - firingLength--; - } - if ( index <= firingIndex ) { - firingIndex--; - } - } - } - }); - } - return this; - }, - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); - }, - // Remove all callbacks from the list - empty: function() { - list = []; - return this; - }, - // Have the list do nothing anymore - disable: function() { - list = stack = memory = undefined; - return this; - }, - // Is it disabled? - disabled: function() { - return !list; - }, - // Lock the list in its current state - lock: function() { - stack = undefined; - if ( !memory ) { - self.disable(); - } - return this; - }, - // Is it locked? - locked: function() { - return !stack; - }, - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - if ( list && ( !fired || stack ) ) { - if ( firing ) { - stack.push( args ); - } else { - fire( args ); - } - } - return this; - }, - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; -jQuery.extend({ - - Deferred: function( func ) { - var tuples = [ - // action, add listener, listener list, final state - [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], - [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], - [ "notify", "progress", jQuery.Callbacks("memory") ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - then: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - return jQuery.Deferred(function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - var action = tuple[ 0 ], - fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[ tuple[1] ](function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .done( newDefer.resolve ) - .fail( newDefer.reject ) - .progress( newDefer.notify ); - } else { - newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); - } - }); - }); - fns = null; - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 3 ]; - - // promise[ done | fail | progress ] = list.add - promise[ tuple[1] ] = list.add; - - // Handle state - if ( stateString ) { - list.add(function() { - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); - } - - // deferred[ resolve | reject | notify ] - deferred[ tuple[0] ] = function() { - deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); - return this; - }; - deferred[ tuple[0] + "With" ] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( subordinate /* , ..., subordinateN */ ) { - var i = 0, - resolveValues = core_slice.call( arguments ), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, - - // the master Deferred. If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function( i, contexts, values ) { - return function( value ) { - contexts[ i ] = this; - values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; - if( values === progressValues ) { - deferred.notifyWith( contexts, values ); - } else if ( !( --remaining ) ) { - deferred.resolveWith( contexts, values ); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // add listeners to Deferred subordinates; treat others as resolved - if ( length > 1 ) { - progressValues = new Array( length ); - progressContexts = new Array( length ); - resolveContexts = new Array( length ); - for ( ; i < length; i++ ) { - if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { - resolveValues[ i ].promise() - .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ) - .progress( updateFunc( i, progressContexts, progressValues ) ); - } else { - --remaining; - } - } - } - - // if we're not waiting on anything, resolve the master - if ( !remaining ) { - deferred.resolveWith( resolveContexts, resolveValues ); - } - - return deferred.promise(); - } -}); -jQuery.support = (function() { - - var support, all, a, - input, select, fragment, - opt, eventName, isSupported, i, - div = document.createElement("div"); - - // Setup - div.setAttribute( "className", "t" ); - div.innerHTML = "
    a"; - - // Support tests won't run in some limited or non-browser environments - all = div.getElementsByTagName("*"); - a = div.getElementsByTagName("a")[ 0 ]; - if ( !all || !a || !all.length ) { - return {}; - } - - // First batch of tests - select = document.createElement("select"); - opt = select.appendChild( document.createElement("option") ); - input = div.getElementsByTagName("input")[ 0 ]; - - a.style.cssText = "top:1px;float:left;opacity:.5"; - support = { - // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) - getSetAttribute: div.className !== "t", - - // IE strips leading whitespace when .innerHTML is used - leadingWhitespace: div.firstChild.nodeType === 3, - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - tbody: !div.getElementsByTagName("tbody").length, - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - htmlSerialize: !!div.getElementsByTagName("link").length, - - // Get the style information from getAttribute - // (IE uses .cssText instead) - style: /top/.test( a.getAttribute("style") ), - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - hrefNormalized: a.getAttribute("href") === "/a", - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - opacity: /^0.5/.test( a.style.opacity ), - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - cssFloat: !!a.style.cssFloat, - - // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) - checkOn: !!input.value, - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - optSelected: opt.selected, - - // Tests for enctype support on a form (#6743) - enctype: !!document.createElement("form").enctype, - - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>", - - // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode - boxModel: document.compatMode === "CSS1Compat", - - // Will be defined later - deleteExpando: true, - noCloneEvent: true, - inlineBlockNeedsLayout: false, - shrinkWrapBlocks: false, - reliableMarginRight: true, - boxSizingReliable: true, - pixelPosition: false - }; - - // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; - - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Support: IE<9 - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - - // Check if we can trust getAttribute("value") - input = document.createElement("input"); - input.setAttribute( "value", "" ); - support.input = input.getAttribute( "value" ) === ""; - - // Check if an input maintains its value after becoming a radio - input.value = "t"; - input.setAttribute( "type", "radio" ); - support.radioValue = input.value === "t"; - - // #11217 - WebKit loses check when the name is after the checked attribute - input.setAttribute( "checked", "t" ); - input.setAttribute( "name", "t" ); - - fragment = document.createDocumentFragment(); - fragment.appendChild( input ); - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - support.appendChecked = input.checked; - - // WebKit doesn't clone checked state correctly in fragments - support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE<9 - // Opera does not clone events (and typeof div.attachEvent === undefined). - // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() - if ( div.attachEvent ) { - div.attachEvent( "onclick", function() { - support.noCloneEvent = false; - }); - - div.cloneNode( true ).click(); - } - - // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) - // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php - for ( i in { submit: true, change: true, focusin: true }) { - div.setAttribute( eventName = "on" + i, "t" ); - - support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; - } - - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - // Run tests that need a body at doc ready - jQuery(function() { - var container, marginDiv, tds, - divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", - body = document.getElementsByTagName("body")[0]; - - if ( !body ) { - // Return for frameset docs that don't have a body - return; - } - - container = document.createElement("div"); - container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; - - body.appendChild( container ).appendChild( div ); - - // Support: IE8 - // Check if table cells still have offsetWidth/Height when they are set - // to display:none and there are still other visible table cells in a - // table row; if so, offsetWidth/Height are not reliable for use when - // determining if an element has been hidden directly using - // display:none (it is still safe to use offsets if a parent element is - // hidden; don safety goggles and see bug #4512 for more information). - div.innerHTML = "
    t
    "; - tds = div.getElementsByTagName("td"); - tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; - isSupported = ( tds[ 0 ].offsetHeight === 0 ); - - tds[ 0 ].style.display = ""; - tds[ 1 ].style.display = "none"; - - // Support: IE8 - // Check if empty table cells still have offsetWidth/Height - support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); - - // Check box-sizing and margin behavior - div.innerHTML = ""; - div.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%;"; - support.boxSizing = ( div.offsetWidth === 4 ); - support.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== 1 ); - - // Use window.getComputedStyle because jsdom on node.js will break without it. - if ( window.getComputedStyle ) { - support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; - support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; - - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. (#3333) - // Fails in WebKit before Feb 2011 nightlies - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - marginDiv = div.appendChild( document.createElement("div") ); - marginDiv.style.cssText = div.style.cssText = divReset; - marginDiv.style.marginRight = marginDiv.style.width = "0"; - div.style.width = "1px"; - - support.reliableMarginRight = - !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); - } - - if ( typeof div.style.zoom !== core_strundefined ) { - // Support: IE<8 - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - div.innerHTML = ""; - div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; - support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); - - // Support: IE6 - // Check if elements with layout shrink-wrap their children - div.style.display = "block"; - div.innerHTML = "
    "; - div.firstChild.style.width = "5px"; - support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); - - if ( support.inlineBlockNeedsLayout ) { - // Prevent IE 6 from affecting layout for positioned elements #11048 - // Prevent IE from shrinking the body in IE 7 mode #12869 - // Support: IE<8 - body.style.zoom = 1; - } - } - - body.removeChild( container ); - - // Null elements to avoid leaks in IE - container = div = tds = marginDiv = null; - }); - - // Null elements to avoid leaks in IE - all = select = fragment = opt = a = input = null; - - return support; -})(); - -var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, - rmultiDash = /([A-Z])/g; - -function internalData( elem, name, data, pvt /* Internal Use Only */ ){ - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, ret, - internalKey = jQuery.expando, - getByName = typeof name === "string", - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - elem[ internalKey ] = id = core_deletedIds.pop() || jQuery.guid++; - } else { - id = internalKey; - } - } - - if ( !cache[ id ] ) { - cache[ id ] = {}; - - // Avoids exposing jQuery metadata on plain JS objects when the object - // is serialized using JSON.stringify - if ( !isNode ) { - cache[ id ].toJSON = jQuery.noop; - } - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ] = jQuery.extend( cache[ id ], name ); - } else { - cache[ id ].data = jQuery.extend( cache[ id ].data, name ); - } - } - - thisCache = cache[ id ]; - - // jQuery data() is stored in a separate object inside the object's internal data - // cache in order to avoid key collisions between internal data and user-defined - // data. - if ( !pvt ) { - if ( !thisCache.data ) { - thisCache.data = {}; - } - - thisCache = thisCache.data; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // Check for both converted-to-camel and non-converted data property names - // If a data property was specified - if ( getByName ) { - - // First Try to find as-is property data - ret = thisCache[ name ]; - - // Test for null|undefined property data - if ( ret == null ) { - - // Try to find the camelCased property - ret = thisCache[ jQuery.camelCase( name ) ]; - } - } else { - ret = thisCache; - } - - return ret; -} - -function internalRemoveData( elem, name, pvt ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var i, l, thisCache, - isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - id = isNode ? elem[ jQuery.expando ] : jQuery.expando; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - - thisCache = pvt ? cache[ id ] : cache[ id ].data; - - if ( thisCache ) { - - // Support array or space separated string names for data keys - if ( !jQuery.isArray( name ) ) { - - // try the string as a key before any manipulation - if ( name in thisCache ) { - name = [ name ]; - } else { - - // split the camel cased version by spaces unless a key with the spaces exists - name = jQuery.camelCase( name ); - if ( name in thisCache ) { - name = [ name ]; - } else { - name = name.split(" "); - } - } - } else { - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = name.concat( jQuery.map( name, jQuery.camelCase ) ); - } - - for ( i = 0, l = name.length; i < l; i++ ) { - delete thisCache[ name[i] ]; - } - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( !pvt ) { - delete cache[ id ].data; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject( cache[ id ] ) ) { - return; - } - } - - // Destroy the cache - if ( isNode ) { - jQuery.cleanData( [ elem ], true ); - - // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) - } else if ( jQuery.support.deleteExpando || cache != cache.window ) { - delete cache[ id ]; - - // When all else fails, null - } else { - cache[ id ] = null; - } -} - -jQuery.extend({ - cache: {}, - - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "embed": true, - // Ban all objects except for Flash (which handle expandos) - "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", - "applet": true - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data ) { - return internalData( elem, name, data ); - }, - - removeData: function( elem, name ) { - return internalRemoveData( elem, name ); - }, - - // For internal use only. - _data: function( elem, name, data ) { - return internalData( elem, name, data, true ); - }, - - _removeData: function( elem, name ) { - return internalRemoveData( elem, name, true ); - }, - - // A method for determining if a DOM node can handle the data expando - acceptData: function( elem ) { - // Do not set data on non-element because it will not be cleared (#8335). - if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) { - return false; - } - - var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; - - // nodes accept data unless otherwise specified; rejection can be conditional - return !noData || noData !== true && elem.getAttribute("classid") === noData; - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var attrs, name, - elem = this[0], - i = 0, - data = null; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = jQuery.data( elem ); - - if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { - attrs = elem.attributes; - for ( ; i < attrs.length; i++ ) { - name = attrs[i].name; - - if ( !name.indexOf( "data-" ) ) { - name = jQuery.camelCase( name.slice(5) ); - - dataAttr( elem, name, data[ name ] ); - } - } - jQuery._data( elem, "parsedAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - return jQuery.access( this, function( value ) { - - if ( value === undefined ) { - // Try to fetch any internally stored data first - return elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; - } - - this.each(function() { - jQuery.data( this, key, value ); - }); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - - var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// checks a cache object for emptiness -function isEmptyDataObject( obj ) { - var name; - for ( name in obj ) { - - // if the public data object is empty, the private is still empty - if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { - continue; - } - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} -jQuery.extend({ - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = jQuery._data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || jQuery.isArray(data) ) { - queue = jQuery._data( elem, type, jQuery.makeArray(data) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - hooks.cur = fn; - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // not intended for public consumption - generates a queueHooks object, or returns the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return jQuery._data( elem, key ) || jQuery._data( elem, key, { - empty: jQuery.Callbacks("once memory").add(function() { - jQuery._removeData( elem, type + "queue" ); - jQuery._removeData( elem, key ); - }) - }); - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[0], type ); - } - - return data === undefined ? - this : - this.each(function() { - var queue = jQuery.queue( this, type, data ); - - // ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = setTimeout( next, time ); - hooks.stop = function() { - clearTimeout( timeout ); - }; - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while( i-- ) { - tmp = jQuery._data( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -}); -var nodeHook, boolHook, - rclass = /[\t\r\n]/g, - rreturn = /\r/g, - rfocusable = /^(?:input|select|textarea|button|object)$/i, - rclickable = /^(?:a|area)$/i, - rboolean = /^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i, - ruseDefault = /^(?:checked|selected)$/i, - getSetAttribute = jQuery.support.getSetAttribute, - getSetInput = jQuery.support.input; - -jQuery.fn.extend({ - attr: function( name, value ) { - return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each(function() { - jQuery.removeAttr( this, name ); - }); - }, - - prop: function( name, value ) { - return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - name = jQuery.propFix[ name ] || name; - return this.each(function() { - // try/catch handles cases where IE balks (such as removing a property on window) - try { - this[ name ] = undefined; - delete this[ name ]; - } catch( e ) {} - }); - }, - - addClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).addClass( value.call( this, j, this.className ) ); - }); - } - - if ( proceed ) { - // The disjunction here is for better compressibility (see removeClass) - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - " " - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - elem.className = jQuery.trim( cur ); - - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = arguments.length === 0 || typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).removeClass( value.call( this, j, this.className ) ); - }); - } - if ( proceed ) { - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - "" - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - elem.className = value ? jQuery.trim( cur ) : ""; - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isBool = typeof stateVal === "boolean"; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( i ) { - jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, - i = 0, - self = jQuery( this ), - state = stateVal, - classNames = value.match( core_rnotwhite ) || []; - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space separated list - state = isBool ? state : !self.hasClass( className ); - self[ state ? "addClass" : "removeClass" ]( className ); - } - - // Toggle whole class name - } else if ( type === core_strundefined || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery._data( this, "__className__", this.className ); - } - - // If the element has a class name or if we're passed "false", - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - var className = " " + selector + " ", - i = 0, - l = this.length; - for ( ; i < l; i++ ) { - if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - var ret, hooks, isFunction, - elem = this[0]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - // handle most common string cases - ret.replace(rreturn, "") : - // handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each(function( i ) { - var val, - self = jQuery(this); - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, self.val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - } else if ( typeof val === "number" ) { - val += ""; - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map(val, function ( value ) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - valHooks: { - option: { - get: function( elem ) { - // attributes.value is undefined in Blackberry 4.7 but - // uses .value. See #6932 - var val = elem.attributes.value; - return !val || val.specified ? elem.value : elem.text; - } - }, - select: { - get: function( elem ) { - var value, option, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? - max : - one ? index : 0; - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // oldIE doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - // Don't return options that are disabled or in a disabled optgroup - ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && - ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var values = jQuery.makeArray( value ); - - jQuery(elem).find("option").each(function() { - this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; - }); - - if ( !values.length ) { - elem.selectedIndex = -1; - } - return values; - } - } - }, - - attr: function( elem, name, value ) { - var hooks, notxml, ret, - nType = elem.nodeType; - - // don't get/set attributes on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === core_strundefined ) { - return jQuery.prop( elem, name, value ); - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - // All attributes are lowercase - // Grab necessary hook if one is defined - if ( notxml ) { - name = name.toLowerCase(); - hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); - } - - if ( value !== undefined ) { - - if ( value === null ) { - jQuery.removeAttr( elem, name ); - - } else if ( hooks && notxml && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - elem.setAttribute( name, value + "" ); - return value; - } - - } else if ( hooks && notxml && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - - // In IE9+, Flash objects don't have .getAttribute (#12945) - // Support: IE9+ - if ( typeof elem.getAttribute !== core_strundefined ) { - ret = elem.getAttribute( name ); - } - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? - undefined : - ret; - } - }, - - removeAttr: function( elem, value ) { - var name, propName, - i = 0, - attrNames = value && value.match( core_rnotwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( (name = attrNames[i++]) ) { - propName = jQuery.propFix[ name ] || name; - - // Boolean attributes get special treatment (#10870) - if ( rboolean.test( name ) ) { - // Set corresponding property to false for boolean attributes - // Also clear defaultChecked/defaultSelected (if appropriate) for IE<8 - if ( !getSetAttribute && ruseDefault.test( name ) ) { - elem[ jQuery.camelCase( "default-" + name ) ] = - elem[ propName ] = false; - } else { - elem[ propName ] = false; - } - - // See #9699 for explanation of this approach (setting first, then removal) - } else { - jQuery.attr( elem, name, "" ); - } - - elem.removeAttribute( getSetAttribute ? name : propName ); - } - } - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { - // Setting the type on a radio button after the value resets the value in IE6-9 - // Reset value to default in case type is set after value during creation - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - 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( elem, name, value ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set properties on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - if ( notxml ) { - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - return ( elem[ name ] = value ); - } - - } else { - if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - return elem[ name ]; - } - } - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - var attributeNode = elem.getAttributeNode("tabindex"); - - return attributeNode && attributeNode.specified ? - parseInt( attributeNode.value, 10 ) : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - undefined; - } - } - } -}); - -// Hook for boolean attributes -boolHook = { - get: function( elem, name ) { - var - // Use .prop to determine if this attribute is understood as boolean - prop = jQuery.prop( elem, name ), - - // Fetch it accordingly - attr = typeof prop === "boolean" && elem.getAttribute( name ), - detail = typeof prop === "boolean" ? - - getSetInput && getSetAttribute ? - attr != null : - // oldIE fabricates an empty string for missing boolean attributes - // and conflates checked/selected into attroperties - ruseDefault.test( name ) ? - elem[ jQuery.camelCase( "default-" + name ) ] : - !!attr : - - // fetch an attribute node for properties not recognized as boolean - elem.getAttributeNode( name ); - - return detail && detail.value !== false ? - name.toLowerCase() : - undefined; - }, - set: function( elem, value, name ) { - if ( value === false ) { - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { - // IE<8 needs the *property* name - elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); - - // Use defaultChecked and defaultSelected for oldIE - } else { - elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; - } - - return name; - } -}; - -// fix oldIE value attroperty -if ( !getSetInput || !getSetAttribute ) { - jQuery.attrHooks.value = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return jQuery.nodeName( elem, "input" ) ? - - // Ignore the value *property* by using defaultValue - elem.defaultValue : - - ret && ret.specified ? ret.value : undefined; - }, - set: function( elem, value, name ) { - if ( jQuery.nodeName( elem, "input" ) ) { - // Does not return so that setAttribute is also used - elem.defaultValue = value; - } else { - // Use nodeHook if defined (#1954); otherwise setAttribute is fine - return nodeHook && nodeHook.set( elem, value, name ); - } - } - }; -} - -// IE6/7 do not support getting/setting some attributes with get/setAttribute -if ( !getSetAttribute ) { - - // Use this for any attribute in IE6/7 - // This fixes almost every IE6/7 issue - nodeHook = jQuery.valHooks.button = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return ret && ( name === "id" || name === "name" || name === "coords" ? ret.value !== "" : ret.specified ) ? - ret.value : - undefined; - }, - set: function( elem, value, name ) { - // Set the existing or create a new attribute node - var ret = elem.getAttributeNode( name ); - if ( !ret ) { - elem.setAttributeNode( - (ret = elem.ownerDocument.createAttribute( name )) - ); - } - - ret.value = value += ""; - - // Break association with cloned elements by also using setAttribute (#9646) - return name === "value" || value === elem.getAttribute( name ) ? - value : - undefined; - } - }; - - // Set contenteditable to false on removals(#10429) - // Setting to empty string throws an error as an invalid value - jQuery.attrHooks.contenteditable = { - get: nodeHook.get, - set: function( elem, value, name ) { - nodeHook.set( elem, value === "" ? false : value, name ); - } - }; - - // Set width and height to auto instead of 0 on empty string( Bug #8150 ) - // This is for removals - jQuery.each([ "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - set: function( elem, value ) { - if ( value === "" ) { - elem.setAttribute( name, "auto" ); - return value; - } - } - }); - }); -} - - -// Some attributes require a special call on IE -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !jQuery.support.hrefNormalized ) { - jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - get: function( elem ) { - var ret = elem.getAttribute( name, 2 ); - return ret == null ? undefined : ret; - } - }); - }); - - // href/src property should get the full normalized URL (#10299/#12915) - jQuery.each([ "href", "src" ], function( i, name ) { - jQuery.propHooks[ name ] = { - get: function( elem ) { - return elem.getAttribute( name, 4 ); - } - }; - }); -} - -if ( !jQuery.support.style ) { - jQuery.attrHooks.style = { - get: function( elem ) { - // Return undefined in the case of empty string - // Note: IE uppercases css property names, but if we were to .toLowerCase() - // .cssText, that would destroy case senstitivity in URL's, like in "background" - return elem.style.cssText || undefined; - }, - set: function( elem, value ) { - return ( elem.style.cssText = value + "" ); - } - }; -} - -// Safari mis-reports the default selected property of an option -// Accessing the parent's selectedIndex property fixes it -if ( !jQuery.support.optSelected ) { - jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { - get: function( elem ) { - var parent = elem.parentNode; - - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - return null; - } - }); -} - -// IE6/7 call enctype encoding -if ( !jQuery.support.enctype ) { - jQuery.propFix.enctype = "encoding"; -} - -// Radios and checkboxes getter/setter -if ( !jQuery.support.checkOn ) { - jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - get: function( elem ) { - // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified - return elem.getAttribute("value") === null ? "on" : elem.value; - } - }; - }); -} -jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); - } - } - }); -}); -var rformElems = /^(?:input|select|textarea)$/i, - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|contextmenu)|click/, - rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - var tmp, events, t, handleObjIn, - special, eventHandle, handleObj, - handlers, type, namespaces, origType, - elemData = jQuery._data( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !(events = elemData.events) ) { - events = elemData.events = {}; - } - if ( !(eventHandle = elemData.handle) ) { - eventHandle = elemData.handle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : - undefined; - }; - // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events - eventHandle.elem = elem; - } - - // Handle multiple events separated by a space - // jQuery(...).bind("mouseover mouseout", fn); - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join(".") - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !(handlers = events[ type ]) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener/attachEvent if the special events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - var j, handleObj, tmp, - origCount, t, events, - special, handlers, type, - namespaces, origType, - elemData = jQuery.hasData( elem ) && jQuery._data( elem ); - - if ( !elemData || !(events = elemData.events) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - delete elemData.handle; - - // removeData also checks for emptiness and clears the expando if empty - // so use it instead of delete - jQuery._removeData( elem, "events" ); - } - }, - - trigger: function( event, data, elem, onlyHandlers ) { - var handle, ontype, cur, - bubbleType, special, tmp, i, - eventPath = [ elem || document ], - type = core_hasOwn.call( event, "type" ) ? event.type : event, - namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf(".") >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf(":") < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - event.isTrigger = true; - event.namespace = namespaces.join("."); - event.namespace_re = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === (elem.ownerDocument || document) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { - event.preventDefault(); - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && - !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction() check here because IE6/7 fails that test. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - try { - elem[ type ](); - } catch ( e ) { - // IE<9 dies on focus/blur to hidden element (#1486,#12518) - // only reproducible on winXP IE8 native, not IE9 in IE8 mode - } - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event ); - - var i, ret, handleObj, matched, j, - handlerQueue = [], - args = core_slice.call( arguments ), - handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). - if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) - .apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( (event.result = ret) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var sel, handleObj, matches, i, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - // Black-hole SVG instance trees (#13180) - // Avoid non-left-click bubbling in Firefox (#3861) - if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { - - for ( ; cur != this; cur = cur.parentNode || this ) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { - matches = []; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matches[ sel ] === undefined ) { - matches[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) >= 0 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matches[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push({ elem: cur, handlers: matches }); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if ( delegateCount < handlers.length ) { - handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); - } - - return handlerQueue; - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, copy, - type = event.type, - originalEvent = event, - fixHook = this.fixHooks[ type ]; - - if ( !fixHook ) { - this.fixHooks[ type ] = fixHook = - rmouseEvent.test( type ) ? this.mouseHooks : - rkeyEvent.test( type ) ? this.keyHooks : - {}; - } - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = new jQuery.Event( originalEvent ); - - i = copy.length; - while ( i-- ) { - prop = copy[ i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Support: IE<9 - // Fix target property (#1925) - if ( !event.target ) { - event.target = originalEvent.srcElement || document; - } - - // Support: Chrome 23+, Safari? - // Target should not be a text node (#504, #13143) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Support: IE<9 - // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) - event.metaKey = !!event.metaKey; - - return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), - filter: function( event, original ) { - var body, eventDoc, doc, - button = original.button, - fromElement = original.fromElement; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && fromElement ) { - event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - special: { - load: { - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - click: { - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { - this.click(); - return false; - } - } - }, - focus: { - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== document.activeElement && this.focus ) { - try { - this.focus(); - return false; - } catch ( e ) { - // Support: IE<9 - // If we error on focus to hidden element (#1486, #12518), - // let .trigger() run the handlers - } - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === document.activeElement && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - - beforeunload: { - postDispatch: function( event ) { - - // Even when returnValue equals to undefined Firefox will still show alert - if ( event.result !== undefined ) { - event.originalEvent.returnValue = event.result; - } - } - } - }, - - simulate: function( type, elem, event, bubble ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - var e = jQuery.extend( - new jQuery.Event(), - event, - { type: type, - isSimulated: true, - originalEvent: {} - } - ); - if ( bubble ) { - jQuery.event.trigger( e, null, elem ); - } else { - jQuery.event.dispatch.call( elem, e ); - } - if ( e.isDefaultPrevented() ) { - event.preventDefault(); - } - } -}; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - var name = "on" + type; - - if ( elem.detachEvent ) { - - // #8545, #7054, preventing memory leaks for custom events in IE6-8 - // detachEvent needed property on element, by name of that event, to properly expose it to GC - if ( typeof elem[ name ] === core_strundefined ) { - elem[ name ] = null; - } - - elem.detachEvent( name, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !(this instanceof jQuery.Event) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || - src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - if ( !e ) { - return; - } - - // If preventDefault exists, run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // Support: IE - // Otherwise set the returnValue property of the original event to false - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - if ( !e ) { - return; - } - // If stopPropagation exists, run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - - // Support: IE - // Set the cancelBubble property of the original event to true - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - } -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mousenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || (related !== target && !jQuery.contains( target, related )) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -}); - -// IE submit delegation -if ( !jQuery.support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Lazy-add a submit handler when a descendant form may potentially be submitted - jQuery.event.add( this, "click._submit keypress._submit", function( e ) { - // Node name check avoids a VML-related crash in IE (#9807) - var elem = e.target, - form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; - if ( form && !jQuery._data( form, "submitBubbles" ) ) { - jQuery.event.add( form, "submit._submit", function( event ) { - event._submit_bubble = true; - }); - jQuery._data( form, "submitBubbles", true ); - } - }); - // return undefined since we don't need an event listener - }, - - postDispatch: function( event ) { - // If form was submitted by the user, bubble the event up the tree - if ( event._submit_bubble ) { - delete event._submit_bubble; - if ( this.parentNode && !event.isTrigger ) { - jQuery.event.simulate( "submit", this.parentNode, event, true ); - } - } - }, - - teardown: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Remove delegated handlers; cleanData eventually reaps submit handlers attached above - jQuery.event.remove( this, "._submit" ); - } - }; -} - -// IE change delegation and checkbox/radio fix -if ( !jQuery.support.changeBubbles ) { - - jQuery.event.special.change = { - - setup: function() { - - if ( rformElems.test( this.nodeName ) ) { - // IE doesn't fire change on a check/radio until blur; trigger it on click - // after a propertychange. Eat the blur-change in special.change.handle. - // This still fires onchange a second time for check/radio after blur. - if ( this.type === "checkbox" || this.type === "radio" ) { - jQuery.event.add( this, "propertychange._change", function( event ) { - if ( event.originalEvent.propertyName === "checked" ) { - this._just_changed = true; - } - }); - jQuery.event.add( this, "click._change", function( event ) { - if ( this._just_changed && !event.isTrigger ) { - this._just_changed = false; - } - // Allow triggered, simulated change events (#11500) - jQuery.event.simulate( "change", this, event, true ); - }); - } - return false; - } - // Delegated event; lazy-add a change handler on descendant inputs - jQuery.event.add( this, "beforeactivate._change", function( e ) { - var elem = e.target; - - if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { - jQuery.event.add( elem, "change._change", function( event ) { - if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { - jQuery.event.simulate( "change", this.parentNode, event, true ); - } - }); - jQuery._data( elem, "changeBubbles", true ); - } - }); - }, - - handle: function( event ) { - var elem = event.target; - - // Swallow native change events from checkbox/radio, we already triggered them above - if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { - return event.handleObj.handler.apply( this, arguments ); - } - }, - - teardown: function() { - jQuery.event.remove( this, "._change" ); - - return !rformElems.test( this.nodeName ); - } - }; -} - -// Create "bubbling" focus and blur events -if ( !jQuery.support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler while someone wants focusin/focusout - var attaches = 0, - handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - if ( attaches++ === 0 ) { - document.addEventListener( orig, handler, true ); - } - }, - teardown: function() { - if ( --attaches === 0 ) { - document.removeEventListener( orig, handler, true ); - } - } - }; - }); -} - -jQuery.fn.extend({ - - on: function( types, selector, data, fn, /*INTERNAL*/ one ) { - var type, origFn; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - this.on( type, selector, data, types[ type ], one ); - } - return this; - } - - if ( data == null && fn == null ) { - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return this; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return this.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - }); - }, - one: function( types, selector, data, fn ) { - return this.on( types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each(function() { - jQuery.event.remove( this, types, fn, selector ); - }); - }, - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - triggerHandler: function( type, data ) { - var elem = this[0]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -}); -/*! - * Sizzle CSS Selector Engine - * Copyright 2012 jQuery Foundation and other contributors - * Released under the MIT license - * http://sizzlejs.com/ - */ -(function( window, undefined ) { - -var i, - cachedruns, - Expr, - getText, - isXML, - compile, - hasDuplicate, - outermostContext, - - // Local document vars - setDocument, - document, - docElem, - documentIsXML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - sortOrder, - - // Instance-specific data - expando = "sizzle" + -(new Date()), - preferredDoc = window.document, - support = {}, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - - // General-purpose constants - strundefined = typeof undefined, - MAX_NEGATIVE = 1 << 31, - - // Array methods - arr = [], - pop = arr.pop, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf if we can't use a native one - indexOf = arr.indexOf || function( elem ) { - var i = 0, - len = this.length; - for ( ; i < len; i++ ) { - if ( this[i] === elem ) { - return i; - } - } - return -1; - }, - - - // Regular expressions - - // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - // http://www.w3.org/TR/css3-syntax/#characters - characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", - - // Loosely modeled on CSS identifier characters - // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors - // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = characterEncoding.replace( "w", "w#" ), - - // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors - operators = "([*^$|!~]?=)", - attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + - "*(?:" + operators + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", - - // Prefer arguments quoted, - // then not containing pseudos/brackets, - // then attribute selectors/non-parenthetical expressions, - // then anything else - // These preferences are here to reduce the number of selectors - // needing tokenize in the PSEUDO preFilter - pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([\\x20\\t\\r\\n\\f>+~])" + whitespace + "*" ), - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + characterEncoding + ")" ), - "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), - "NAME": new RegExp( "^\\[name=['\"]?(" + characterEncoding + ")['\"]?\\]" ), - "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rsibling = /[\x20\t\r\n\f]*[+~]/, - - rnative = /^[^{]+\{\s*\[native code/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rescape = /'|\\/g, - rattributeQuotes = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g, - - // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = /\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g, - funescape = function( _, escaped ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - return high !== high ? - escaped : - // BMP codepoint - high < 0 ? - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }; - -// Use a stripped-down slice if we can't use a native one -try { - slice.call( preferredDoc.documentElement.childNodes, 0 )[0].nodeType; -} catch ( e ) { - slice = function( i ) { - var elem, - results = []; - while ( (elem = this[i++]) ) { - results.push( elem ); - } - return results; - }; -} - -/** - * For feature detection - * @param {Function} fn The function to test for native support - */ -function isNative( fn ) { - return rnative.test( fn + "" ); -} - -/** - * Create key-value caches of limited size - * @returns {Function(string, Object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var cache, - keys = []; - - return (cache = function( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key += " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key ] = value); - }); -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created div and expects a boolean result - */ -function assert( fn ) { - var div = document.createElement("div"); - - try { - return fn( div ); - } catch (e) { - return false; - } finally { - // release memory in IE - div = null; - } -} - -function Sizzle( selector, context, results, seed ) { - var match, elem, m, nodeType, - // QSA vars - i, groups, old, nid, newContext, newSelector; - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - - context = context || document; - results = results || []; - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { - return []; - } - - if ( !documentIsXML && !seed ) { - - // Shortcuts - if ( (match = rquickExpr.exec( selector )) ) { - // Speed-up: Sizzle("#ID") - if ( (m = match[1]) ) { - if ( nodeType === 9 ) { - elem = context.getElementById( m ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE, Opera, and Webkit return items - // by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - } else { - // Context is not a document - if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && - contains( context, elem ) && elem.id === m ) { - results.push( elem ); - return results; - } - } - - // Speed-up: Sizzle("TAG") - } else if ( match[2] ) { - push.apply( results, slice.call(context.getElementsByTagName( selector ), 0) ); - return results; - - // Speed-up: Sizzle(".CLASS") - } else if ( (m = match[3]) && support.getByClassName && context.getElementsByClassName ) { - push.apply( results, slice.call(context.getElementsByClassName( m ), 0) ); - return results; - } - } - - // QSA path - if ( support.qsa && !rbuggyQSA.test(selector) ) { - old = true; - nid = expando; - newContext = context; - newSelector = nodeType === 9 && selector; - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - groups = tokenize( selector ); - - if ( (old = context.getAttribute("id")) ) { - nid = old.replace( rescape, "\\$&" ); - } else { - context.setAttribute( "id", nid ); - } - nid = "[id='" + nid + "'] "; - - i = groups.length; - while ( i-- ) { - groups[i] = nid + toSelector( groups[i] ); - } - newContext = rsibling.test( selector ) && context.parentNode || context; - newSelector = groups.join(","); - } - - if ( newSelector ) { - try { - push.apply( results, slice.call( newContext.querySelectorAll( - newSelector - ), 0 ) ); - return results; - } catch(qsaError) { - } finally { - if ( !old ) { - context.removeAttribute("id"); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Detect xml - * @param {Element|Object} elem An element or a document - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var doc = node ? node.ownerDocument || node : preferredDoc; - - // If no document and documentElement is available, return - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Set our document - document = doc; - docElem = doc.documentElement; - - // Support tests - documentIsXML = isXML( doc ); - - // Check if getElementsByTagName("*") returns only elements - support.tagNameNoComments = assert(function( div ) { - div.appendChild( doc.createComment("") ); - return !div.getElementsByTagName("*").length; - }); - - // Check if attributes should be retrieved by attribute nodes - support.attributes = assert(function( div ) { - div.innerHTML = ""; - var type = typeof div.lastChild.getAttribute("multiple"); - // IE8 returns a string for some attributes even when not present - return type !== "boolean" && type !== "string"; - }); - - // Check if getElementsByClassName can be trusted - support.getByClassName = assert(function( div ) { - // Opera can't find a second classname (in 9.6) - div.innerHTML = ""; - if ( !div.getElementsByClassName || !div.getElementsByClassName("e").length ) { - return false; - } - - // Safari 3.2 caches class attributes and doesn't catch changes - div.lastChild.className = "e"; - return div.getElementsByClassName("e").length === 2; - }); - - // Check if getElementById returns elements by name - // Check if getElementsByName privileges form controls or returns elements by ID - support.getByName = assert(function( div ) { - // Inject content - div.id = expando + 0; - div.innerHTML = "
    "; - docElem.insertBefore( div, docElem.firstChild ); - - // Test - var pass = doc.getElementsByName && - // buggy browsers will return fewer than the correct 2 - doc.getElementsByName( expando ).length === 2 + - // buggy browsers will return more than the correct 0 - doc.getElementsByName( expando + 0 ).length; - support.getIdNotName = !doc.getElementById( expando ); - - // Cleanup - docElem.removeChild( div ); - - return pass; - }); - - // IE6/7 return modified attributes - Expr.attrHandle = assert(function( div ) { - div.innerHTML = ""; - return div.firstChild && typeof div.firstChild.getAttribute !== strundefined && - div.firstChild.getAttribute("href") === "#"; - }) ? - {} : - { - "href": function( elem ) { - return elem.getAttribute( "href", 2 ); - }, - "type": function( elem ) { - return elem.getAttribute("type"); - } - }; - - // ID find and filter - if ( support.getIdNotName ) { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [m] : []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - } else { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - - return m ? - m.id === id || typeof m.getAttributeNode !== strundefined && m.getAttributeNode("id").value === id ? - [m] : - undefined : - []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - } - - // Tag - Expr.find["TAG"] = support.tagNameNoComments ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== strundefined ) { - return context.getElementsByTagName( tag ); - } - } : - function( tag, context ) { - var elem, - tmp = [], - i = 0, - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( (elem = results[i++]) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Name - Expr.find["NAME"] = support.getByName && function( tag, context ) { - if ( typeof context.getElementsByName !== strundefined ) { - return context.getElementsByName( name ); - } - }; - - // Class - Expr.find["CLASS"] = support.getByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== strundefined && !documentIsXML ) { - return context.getElementsByClassName( className ); - } - }; - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21), - // no need to also add to buggyMatches since matches checks buggyQSA - // A support test would require too much code (would include document ready) - rbuggyQSA = [ ":focus" ]; - - if ( (support.qsa = isNative(doc.querySelectorAll)) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( div ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explictly - // setting a boolean content attribute, - // since its presence should be enough - // http://bugs.jquery.com/ticket/12359 - div.innerHTML = ""; - - // IE8 - Some boolean attributes are not treated correctly - if ( !div.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)" ); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - }); - - assert(function( div ) { - - // Opera 10-12/IE8 - ^= $= *= and empty values - // Should not select anything - div.innerHTML = ""; - if ( div.querySelectorAll("[i^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:\"\"|'')" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":enabled").length ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - div.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = isNative( (matches = docElem.matchesSelector || - docElem.mozMatchesSelector || - docElem.webkitMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( div ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( div, "div" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( div, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = new RegExp( rbuggyMatches.join("|") ); - - // Element contains another - // Purposefully does not implement inclusive descendent - // As in, an element does not contain itself - contains = isNative(docElem.contains) || docElem.compareDocumentPosition ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - // Document order sorting - sortOrder = docElem.compareDocumentPosition ? - function( a, b ) { - var compare; - - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - if ( (compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b )) ) { - if ( compare & 1 || a.parentNode && a.parentNode.nodeType === 11 ) { - if ( a === doc || contains( preferredDoc, a ) ) { - return -1; - } - if ( b === doc || contains( preferredDoc, b ) ) { - return 1; - } - return 0; - } - return compare & 4 ? -1 : 1; - } - - return a.compareDocumentPosition ? -1 : 1; - } : - function( a, b ) { - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - - // Parentless nodes are either documents or disconnected - } else if ( !aup || !bup ) { - return a === doc ? -1 : - b === doc ? 1 : - aup ? -1 : - bup ? 1 : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - // Always assume the presence of duplicates if sort doesn't - // pass them to our comparison function (as in Google Chrome). - hasDuplicate = false; - [0, 0].sort( sortOrder ); - support.detectDuplicates = hasDuplicate; - - return document; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - // rbuggyQSA always contains :focus, so no need for an existence check - if ( support.matchesSelector && !documentIsXML && (!rbuggyMatches || !rbuggyMatches.test(expr)) && !rbuggyQSA.test(expr) ) { - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch(e) {} - } - - return Sizzle( expr, document, null, [elem] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - var val; - - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - if ( !documentIsXML ) { - name = name.toLowerCase(); - } - if ( (val = Expr.attrHandle[ name ]) ) { - return val( elem ); - } - if ( documentIsXML || support.attributes ) { - return elem.getAttribute( name ); - } - return ( (val = elem.getAttributeNode( name )) || elem.getAttribute( name ) ) && elem[ name ] === true ? - name : - val && val.specified ? val.value : null; -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -// Document sorting and removing duplicates -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - i = 1, - j = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - results.sort( sortOrder ); - - if ( hasDuplicate ) { - for ( ; (elem = results[i]); i++ ) { - if ( elem === results[ i - 1 ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - return results; -}; - -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && ( ~b.sourceIndex || MAX_NEGATIVE ) - ( ~a.sourceIndex || MAX_NEGATIVE ); - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( (cur = cur.nextSibling) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -// Returns a function to use in pseudos for input types -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -// Returns a function to use in pseudos for buttons -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -// Returns a function to use in pseudos for positionals -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - for ( ; (node = elem[i]); i++ ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (see #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[5] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[4] ) { - match[2] = match[4]; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeName ) { - if ( nodeName === "*" ) { - return function() { return true; }; - } - - nodeName = nodeName.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( elem.className || (typeof elem.getAttribute !== strundefined && elem.getAttribute("class")) || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, outerCache, node, diff, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - // Seek `elem` from a previously-cached index - outerCache = parent[ expando ] || (parent[ expando ] = {}); - cache = outerCache[ type ] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = cache[0] === dirruns && cache[2]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - outerCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - // Use previously-cached element index if available - } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { - diff = cache[1]; - - // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) - } else { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { - // Cache the index of each encountered element - if ( useCache ) { - (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf.call( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifider - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsXML ? - elem.getAttribute("xml:lang") || elem.getAttribute("lang") : - elem.lang) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": function( elem ) { - return elem.disabled === false; - }, - - "disabled": function( elem ) { - return elem.disabled === true; - }, - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), - // not comment, processing instructions, or others - // Thanks to Diego Perini for the nodeName shortcut - // Greater than "@" means alpha characters (specifically not starting with "#" or "?") - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) - // use getAttribute instead to test this case - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -function tokenize( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( tokens = [] ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push( { - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - } ); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push( { - value: matched, - type: type, - matches: match - } ); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -} - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - checkNonElements = base && dir === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var data, cache, outerCache, - dirkey = dirruns + " " + doneName; - - // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { - if ( (data = cache[1]) === true || data === cachedruns ) { - return data === true; - } - } else { - cache = outerCache[ dir ] = [ dirkey ]; - cache[1] = matcher( elem, context, xml ) || cachedruns; - if ( cache[1] === true ) { - return true; - } - } - } - } - } - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf.call( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( tokens.slice( 0, i - 1 ) ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - // A counter to specify which element is currently being matched - var matcherCachedRuns = 0, - bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, expandContext ) { - var elem, j, matcher, - setMatched = [], - matchedCount = 0, - i = "0", - unmatched = seed && [], - outermost = expandContext != null, - contextBackup = outermostContext, - // We must always have either seed elements or context - elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1); - - if ( outermost ) { - outermostContext = context !== document && context; - cachedruns = matcherCachedRuns; - } - - // Add elements passing elementMatchers directly to results - // Keep `i` a string if there are no elements so `matchedCount` will be "00" below - for ( ; (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - while ( (matcher = elementMatchers[j++]) ) { - if ( matcher( elem, context, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - cachedruns = ++matcherCachedRuns; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // Apply set filters to unmatched elements - matchedCount += i; - if ( bySet && i !== matchedCount ) { - j = 0; - while ( (matcher = setMatchers[j++]) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !group ) { - group = tokenize( selector ); - } - i = group.length; - while ( i-- ) { - cached = matcherFromTokens( group[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - } - return cached; -}; - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function select( selector, context, results, seed ) { - var i, tokens, token, type, find, - match = tokenize( selector ); - - if ( !seed ) { - // Try to minimize operations if there is only one group - if ( match.length === 1 ) { - - // Take a shortcut and set the context if the root selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - context.nodeType === 9 && !documentIsXML && - Expr.relative[ tokens[1].type ] ) { - - context = Expr.find["ID"]( token.matches[0].replace( runescape, funescape ), context )[0]; - if ( !context ) { - return results; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && context.parentNode || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, slice.call( seed, 0 ) ); - return results; - } - - break; - } - } - } - } - } - - // Compile and execute a filtering function - // Provide `match` to avoid retokenization if we modified the selector above - compile( selector, match )( - seed, - context, - documentIsXML, - results, - rsibling.test( selector ) - ); - return results; -} - -// Deprecated -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Easy API for creating new setFilters -function setFilters() {} -Expr.filters = setFilters.prototype = Expr.pseudos; -Expr.setFilters = new setFilters(); - -// Initialize with the default document -setDocument(); - -// Override sizzle attribute retrieval -Sizzle.attr = jQuery.attr; -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.pseudos; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - -})( window ); -var runtil = /Until$/, - rparentsprev = /^(?:parents|prev(?:Until|All))/, - isSimple = /^.[^:#\[\.,]*$/, - rneedsContext = jQuery.expr.match.needsContext, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend({ - find: function( selector ) { - var i, ret, self, - len = this.length; - - if ( typeof selector !== "string" ) { - self = this; - return this.pushStack( jQuery( selector ).filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }) ); - } - - ret = []; - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, this[ i ], ret ); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); - ret.selector = ( this.selector ? this.selector + " " : "" ) + selector; - return ret; - }, - - has: function( target ) { - var i, - targets = jQuery( target, this ), - len = targets.length; - - return this.filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - return this.pushStack( winnow(this, selector, false) ); - }, - - filter: function( selector ) { - return this.pushStack( winnow(this, selector, true) ); - }, - - is: function( selector ) { - return !!selector && ( - typeof selector === "string" ? - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - rneedsContext.test( selector ) ? - jQuery( selector, this.context ).index( this[0] ) >= 0 : - jQuery.filter( selector, this ).length > 0 : - this.filter( selector ).length > 0 ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - ret = [], - pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( ; i < l; i++ ) { - cur = this[i]; - - while ( cur && cur.ownerDocument && cur !== context && cur.nodeType !== 11 ) { - if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { - ret.push( cur ); - break; - } - cur = cur.parentNode; - } - } - - return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; - } - - // index in selector - if ( typeof elem === "string" ) { - return jQuery.inArray( this[0], jQuery( elem ) ); - } - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - var set = typeof selector === "string" ? - jQuery( selector, context ) : - jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( jQuery.unique(all) ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } -}); - -jQuery.fn.andSelf = jQuery.fn.addBack; - -function sibling( cur, dir ) { - do { - cur = cur[ dir ]; - } while ( cur && cur.nodeType !== 1 ); - - return cur; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( name ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; - - if ( this.length > 1 && rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret ); - }; -}); - -jQuery.extend({ - filter: function( expr, elems, not ) { - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 ? - jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : - jQuery.find.matches(expr, elems); - }, - - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, keep ) { - - // Can't pass null or undefined to indexOf in Firefox 4 - // Set to 0 to skip string check - qualifier = qualifier || 0; - - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep(elements, function( elem, i ) { - var retVal = !!qualifier.call( elem, i, elem ); - return retVal === keep; - }); - - } else if ( qualifier.nodeType ) { - return jQuery.grep(elements, function( elem ) { - return ( elem === qualifier ) === keep; - }); - - } else if ( typeof qualifier === "string" ) { - var filtered = jQuery.grep(elements, function( elem ) { - return elem.nodeType === 1; - }); - - if ( isSimple.test( qualifier ) ) { - return jQuery.filter(qualifier, filtered, !keep); - } else { - qualifier = jQuery.filter( qualifier, filtered ); - } - } - - return jQuery.grep(elements, function( elem ) { - return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; - }); -} -function createSafeFragment( document ) { - var list = nodeNames.split( "|" ), - safeFrag = document.createDocumentFragment(); - - if ( safeFrag.createElement ) { - while ( list.length ) { - safeFrag.createElement( - list.pop() - ); - } - } - return safeFrag; -} - -var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + - "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", - rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, - rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, - rtagName = /<([\w:]+)/, - rtbody = /\s*$/g, - - // We have to close these tags to support XHTML (#13200) - wrapMap = { - option: [ 1, "" ], - legend: [ 1, "
    ", "
    " ], - area: [ 1, "", "" ], - param: [ 1, "", "" ], - thead: [ 1, "", "
    " ], - tr: [ 2, "", "
    " ], - col: [ 2, "", "
    " ], - td: [ 3, "", "
    " ], - - // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, - // unless wrapped in a div with non-breaking characters in front of it. - _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
    ", "
    " ] - }, - safeFragment = createSafeFragment( document ), - fragmentDiv = safeFragment.appendChild( document.createElement("div") ); - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -jQuery.fn.extend({ - text: function( value ) { - return jQuery.access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); - }, null, value, arguments.length ); - }, - - wrapAll: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapAll( html.call(this, i) ); - }); - } - - if ( this[0] ) { - // The elements to wrap the target around - var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); - - if ( this[0].parentNode ) { - wrap.insertBefore( this[0] ); - } - - wrap.map(function() { - var elem = this; - - while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { - elem = elem.firstChild; - } - - return elem; - }).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapInner( html.call(this, i) ); - }); - } - - return this.each(function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - }); - }, - - wrap: function( html ) { - var isFunction = jQuery.isFunction( html ); - - return this.each(function(i) { - jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); - }); - }, - - unwrap: function() { - return this.parent().each(function() { - if ( !jQuery.nodeName( this, "body" ) ) { - jQuery( this ).replaceWith( this.childNodes ); - } - }).end(); - }, - - append: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.appendChild( elem ); - } - }); - }, - - prepend: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.insertBefore( elem, this.firstChild ); - } - }); - }, - - before: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - }); - }, - - after: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - }); - }, - - // keepData is for internal use only--do not document - remove: function( selector, keepData ) { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - if ( !selector || jQuery.filter( selector, [ elem ] ).length > 0 ) { - if ( !keepData && elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem ) ); - } - - if ( elem.parentNode ) { - if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { - setGlobalEval( getAll( elem, "script" ) ); - } - elem.parentNode.removeChild( elem ); - } - } - } - - return this; - }, - - empty: function() { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - } - - // Remove any remaining nodes - while ( elem.firstChild ) { - elem.removeChild( elem.firstChild ); - } - - // If this is a select, ensure that it displays empty (#12336) - // Support: IE<9 - if ( elem.options && jQuery.nodeName( elem, "select" ) ) { - elem.options.length = 0; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function () { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - }); - }, - - html: function( value ) { - return jQuery.access( this, function( value ) { - var elem = this[0] || {}, - i = 0, - l = this.length; - - if ( value === undefined ) { - return elem.nodeType === 1 ? - elem.innerHTML.replace( rinlinejQuery, "" ) : - undefined; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && - ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && - !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { - - value = value.replace( rxhtmlTag, "<$1>" ); - - try { - for (; i < l; i++ ) { - // Remove element nodes and prevent memory leaks - elem = this[i] || {}; - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch(e) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function( value ) { - var isFunc = jQuery.isFunction( value ); - - // Make sure that the elements are removed from the DOM before they are inserted - // this can help fix replacing a parent with child elements - if ( !isFunc && typeof value !== "string" ) { - value = jQuery( value ).not( this ).detach(); - } - - return this.domManip( [ value ], true, function( elem ) { - var next = this.nextSibling, - parent = this.parentNode; - - if ( parent ) { - jQuery( this ).remove(); - parent.insertBefore( elem, next ); - } - }); - }, - - detach: function( selector ) { - return this.remove( selector, true ); - }, - - domManip: function( args, table, callback ) { - - // Flatten any nested arrays - args = core_concat.apply( [], args ); - - var first, node, hasScripts, - scripts, doc, fragment, - i = 0, - l = this.length, - set = this, - iNoClone = l - 1, - value = args[0], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { - return this.each(function( index ) { - var self = set.eq( index ); - if ( isFunction ) { - args[0] = value.call( this, index, table ? self.html() : undefined ); - } - self.domManip( args, table, callback ); - }); - } - - if ( l ) { - fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - if ( first ) { - table = table && jQuery.nodeName( first, "tr" ); - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( - table && jQuery.nodeName( this[i], "table" ) ? - findOrAppend( this[i], "tbody" ) : - this[i], - node, - i - ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { - - if ( node.src ) { - // Hope ajax is available... - jQuery.ajax({ - url: node.src, - type: "GET", - dataType: "script", - async: false, - global: false, - "throws": true - }); - } else { - jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); - } - } - } - } - - // Fix #11809: Avoid leaking memory - fragment = first = null; - } - } - - return this; - } -}); - -function findOrAppend( elem, tag ) { - return elem.getElementsByTagName( tag )[0] || elem.appendChild( elem.ownerDocument.createElement( tag ) ); -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - var attr = elem.getAttributeNode("type"); - elem.type = ( attr && attr.specified ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - if ( match ) { - elem.type = match[1]; - } else { - elem.removeAttribute("type"); - } - return elem; -} - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var elem, - i = 0; - for ( ; (elem = elems[i]) != null; i++ ) { - jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); - } -} - -function cloneCopyEvent( src, dest ) { - - if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { - return; - } - - var type, i, l, - oldData = jQuery._data( src ), - curData = jQuery._data( dest, oldData ), - events = oldData.events; - - if ( events ) { - delete curData.handle; - curData.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - - // make the cloned public data object a copy from the original - if ( curData.data ) { - curData.data = jQuery.extend( {}, curData.data ); - } -} - -function fixCloneNodeIssues( src, dest ) { - var nodeName, e, data; - - // We do not need to do anything for non-Elements - if ( dest.nodeType !== 1 ) { - return; - } - - nodeName = dest.nodeName.toLowerCase(); - - // IE6-8 copies events bound via attachEvent when using cloneNode. - if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { - data = jQuery._data( dest ); - - for ( e in data.events ) { - jQuery.removeEvent( dest, e, data.handle ); - } - - // Event data gets referenced instead of copied if the expando gets copied too - dest.removeAttribute( jQuery.expando ); - } - - // IE blanks contents when cloning scripts, and tries to evaluate newly-set text - if ( nodeName === "script" && dest.text !== src.text ) { - disableScript( dest ).text = src.text; - restoreScript( dest ); - - // IE6-10 improperly clones children of object elements using classid. - // IE10 throws NoModificationAllowedError if parent is null, #12132. - } else if ( nodeName === "object" ) { - if ( dest.parentNode ) { - dest.outerHTML = src.outerHTML; - } - - // This path appears unavoidable for IE9. When cloning an object - // element in IE9, the outerHTML strategy above is not sufficient. - // If the src has innerHTML and the destination does not, - // copy the src.innerHTML into the dest.innerHTML. #10324 - if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { - dest.innerHTML = src.innerHTML; - } - - } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { - // IE6-8 fails to persist the checked state of a cloned checkbox - // or radio button. Worse, IE6-7 fail to give the cloned element - // a checked appearance if the defaultChecked value isn't also set - - dest.defaultChecked = dest.checked = src.checked; - - // IE6-7 get confused and end up setting the value of a cloned - // checkbox/radio button to an empty string instead of "on" - if ( dest.value !== src.value ) { - dest.value = src.value; - } - - // IE6-8 fails to return the selected option to the default selected - // state when cloning options - } else if ( nodeName === "option" ) { - dest.defaultSelected = dest.selected = src.defaultSelected; - - // IE6-8 fails to set the defaultValue to the correct value when - // cloning other types of input fields - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - i = 0, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone(true); - jQuery( insert[i] )[ original ]( elems ); - - // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() - core_push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -}); - -function getAll( context, tag ) { - var elems, elem, - i = 0, - found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) : - typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) : - undefined; - - if ( !found ) { - for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { - if ( !tag || jQuery.nodeName( elem, tag ) ) { - found.push( elem ); - } else { - jQuery.merge( found, getAll( elem, tag ) ); - } - } - } - - return tag === undefined || tag && jQuery.nodeName( context, tag ) ? - jQuery.merge( [ context ], found ) : - found; -} - -// Used in buildFragment, fixes the defaultChecked property -function fixDefaultChecked( elem ) { - if ( manipulation_rcheckableType.test( elem.type ) ) { - elem.defaultChecked = elem.checked; - } -} - -jQuery.extend({ - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var destElements, node, clone, i, srcElements, - inPage = jQuery.contains( elem.ownerDocument, elem ); - - if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { - clone = elem.cloneNode( true ); - - // IE<=8 does not properly clone detached, unknown element nodes - } else { - fragmentDiv.innerHTML = elem.outerHTML; - fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); - } - - if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && - (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - // Fix all IE cloning issues - for ( i = 0; (node = srcElements[i]) != null; ++i ) { - // Ensure that the destination node is not null; Fixes #9587 - if ( destElements[i] ) { - fixCloneNodeIssues( node, destElements[i] ); - } - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0; (node = srcElements[i]) != null; i++ ) { - cloneCopyEvent( node, destElements[i] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - destElements = srcElements = node = null; - - // Return the cloned set - return clone; - }, - - buildFragment: function( elems, context, scripts, selection ) { - var j, elem, contains, - tmp, tag, tbody, wrap, - l = elems.length, - - // Ensure a safe fragment - safe = createSafeFragment( context ), - - nodes = [], - i = 0; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || safe.appendChild( context.createElement("div") ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - - tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Manually add leading whitespace removed by IE - if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { - nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); - } - - // Remove IE's autoinserted from table fragments - if ( !jQuery.support.tbody ) { - - // String was a , *may* have spurious - elem = tag === "table" && !rtbody.test( elem ) ? - tmp.firstChild : - - // String was a bare or - wrap[1] === "
    " && !rtbody.test( elem ) ? - tmp : - 0; - - j = elem && elem.childNodes.length; - while ( j-- ) { - if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { - elem.removeChild( tbody ); - } - } - } - - jQuery.merge( nodes, tmp.childNodes ); - - // Fix #12392 for WebKit and IE > 9 - tmp.textContent = ""; - - // Fix #12392 for oldIE - while ( tmp.firstChild ) { - tmp.removeChild( tmp.firstChild ); - } - - // Remember the top-level container for proper cleanup - tmp = safe.lastChild; - } - } - } - - // Fix #11356: Clear elements from fragment - if ( tmp ) { - safe.removeChild( tmp ); - } - - // Reset defaultChecked for any radios and checkboxes - // about to be appended to the DOM in IE 6/7 (#8060) - if ( !jQuery.support.appendChecked ) { - jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); - } - - i = 0; - while ( (elem = nodes[ i++ ]) ) { - - // #4087 - If origin and destination elements are the same, and this is - // that element, do not do anything - if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( safe.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( (elem = tmp[ j++ ]) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - tmp = null; - - return safe; - }, - - cleanData: function( elems, /* internal */ acceptData ) { - var elem, type, id, data, - i = 0, - internalKey = jQuery.expando, - cache = jQuery.cache, - deleteExpando = jQuery.support.deleteExpando, - special = jQuery.event.special; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( acceptData || jQuery.acceptData( elem ) ) { - - id = elem[ internalKey ]; - data = id && cache[ id ]; - - if ( data ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Remove cache only if it was not already removed by jQuery.event.remove - if ( cache[ id ] ) { - - delete cache[ id ]; - - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( deleteExpando ) { - delete elem[ internalKey ]; - - } else if ( typeof elem.removeAttribute !== core_strundefined ) { - elem.removeAttribute( internalKey ); - - } else { - elem[ internalKey ] = null; - } - - core_deletedIds.push( id ); - } - } - } - } - } -}); -var iframe, getStyles, curCSS, - ralpha = /alpha\([^)]*\)/i, - ropacity = /opacity\s*=\s*([^)]*)/, - rposition = /^(top|right|bottom|left)$/, - // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" - // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rmargin = /^margin/, - rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), - rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), - rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), - elemdisplay = { BODY: "block" }, - - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: 0, - fontWeight: 400 - }, - - cssExpand = [ "Top", "Right", "Bottom", "Left" ], - cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; - -// return a css property mapped to a potentially vendor prefixed property -function vendorPropName( style, name ) { - - // shortcut for names that are not vendor prefixed - if ( name in style ) { - return name; - } - - // check for vendor prefixed names - var capName = name.charAt(0).toUpperCase() + name.slice(1), - origName = name, - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in style ) { - return name; - } - } - - return origName; -} - -function isHidden( elem, el ) { - // isHidden might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); -} - -function showHide( elements, show ) { - var display, elem, hidden, - values = [], - index = 0, - length = elements.length; - - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - values[ index ] = jQuery._data( elem, "olddisplay" ); - display = elem.style.display; - if ( show ) { - // Reset the inline display of this element to learn if it is - // being hidden by cascaded rules or not - if ( !values[ index ] && display === "none" ) { - elem.style.display = ""; - } - - // Set elements which have been overridden with display: none - // in a stylesheet to whatever the default browser style is - // for such an element - if ( elem.style.display === "" && isHidden( elem ) ) { - values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); - } - } else { - - if ( !values[ index ] ) { - hidden = isHidden( elem ); - - if ( display && display !== "none" || !hidden ) { - jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); - } - } - } - } - - // Set the display of most of the elements in a second loop - // to avoid the constant reflow - for ( index = 0; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - if ( !show || elem.style.display === "none" || elem.style.display === "" ) { - elem.style.display = show ? values[ index ] || "" : "none"; - } - } - - return elements; -} - -jQuery.fn.extend({ - css: function( name, value ) { - return jQuery.access( this, function( elem, name, value ) { - var len, styles, - map = {}, - i = 0; - - if ( jQuery.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - }, - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - var bool = typeof state === "boolean"; - - return this.each(function() { - if ( bool ? state : isHidden( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - }); - } -}); - -jQuery.extend({ - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Exclude the following css properties to add px - cssNumber: { - "columnCount": true, - "fillOpacity": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: { - // normalize float css property - "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" - }, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = jQuery.camelCase( name ), - style = elem.style; - - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // convert relative number strings (+= or -=) to relative numbers. #7345 - if ( type === "string" && (ret = rrelNum.exec( value )) ) { - value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); - // Fixes bug #9237 - type = "number"; - } - - // Make sure that NaN and null values aren't set. See: #7116 - if ( value == null || type === "number" && isNaN( value ) ) { - return; - } - - // If a number was passed in, add 'px' to the (except for certain CSS properties) - if ( type === "number" && !jQuery.cssNumber[ origName ] ) { - value += "px"; - } - - // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, - // but it would mean to define eight (for every problematic property) identical functions - if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { - - // Wrapped to prevent IE from throwing errors when 'invalid' values are provided - // Fixes bug #5509 - try { - style[ name ] = value; - } catch(e) {} - } - - } else { - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var num, val, hooks, - origName = jQuery.camelCase( name ); - - // Make sure that we're working with the right name - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - //convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Return, converting to number if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; - } - return val; - }, - - // A method for quickly swapping in/out CSS properties to get correct calculations - swap: function( elem, options, callback, args ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.apply( elem, args || [] ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; - } -}); - -// NOTE: we've included the "window" in window.getComputedStyle -// because jsdom on node.js will break without it. -if ( window.getComputedStyle ) { - getStyles = function( elem ) { - return window.getComputedStyle( elem, null ); - }; - - curCSS = function( elem, name, _computed ) { - var width, minWidth, maxWidth, - computed = _computed || getStyles( elem ), - - // getPropertyValue is only needed for .css('filter') in IE9, see #12537 - ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, - style = elem.style; - - if ( computed ) { - - if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right - // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels - // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values - if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret; - }; -} else if ( document.documentElement.currentStyle ) { - getStyles = function( elem ) { - return elem.currentStyle; - }; - - curCSS = function( elem, name, _computed ) { - var left, rs, rsLeft, - computed = _computed || getStyles( elem ), - ret = computed ? computed[ name ] : undefined, - style = elem.style; - - // Avoid setting ret to empty string here - // so we don't default to auto - if ( ret == null && style && style[ name ] ) { - ret = style[ name ]; - } - - // From the awesome hack by Dean Edwards - // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 - - // If we're not dealing with a regular pixel number - // but a number that has a weird ending, we need to convert it to pixels - // but not position css attributes, as those are proportional to the parent element instead - // and we can't measure the parent instead because it might trigger a "stacking dolls" problem - if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { - - // Remember the original values - left = style.left; - rs = elem.runtimeStyle; - rsLeft = rs && rs.left; - - // Put in the new values to get a computed value out - if ( rsLeft ) { - rs.left = elem.currentStyle.left; - } - style.left = name === "fontSize" ? "1em" : ret; - ret = style.pixelLeft + "px"; - - // Revert the changed values - style.left = left; - if ( rsLeft ) { - rs.left = rsLeft; - } - } - - return ret === "" ? "auto" : ret; - }; -} - -function setPositiveNumber( elem, value, subtract ) { - var matches = rnumsplit.exec( value ); - return matches ? - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : - value; -} - -function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { - var i = extra === ( isBorderBox ? "border" : "content" ) ? - // If we already have the right measurement, avoid augmentation - 4 : - // Otherwise initialize for horizontal or vertical properties - name === "width" ? 1 : 0, - - val = 0; - - for ( ; i < 4; i += 2 ) { - // both box models exclude margin, so add it if we want it - if ( extra === "margin" ) { - val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); - } - - if ( isBorderBox ) { - // border-box includes padding, so remove it if we want content - if ( extra === "content" ) { - val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // at this point, extra isn't border nor margin, so remove border - if ( extra !== "margin" ) { - val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } else { - // at this point, extra isn't content, so add padding - val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // at this point, extra isn't content nor padding, so add border - if ( extra !== "padding" ) { - val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - return val; -} - -function getWidthOrHeight( elem, name, extra ) { - - // Start with offset property, which is equivalent to the border-box value - var valueIsBorderBox = true, - val = name === "width" ? elem.offsetWidth : elem.offsetHeight, - styles = getStyles( elem ), - isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // some non-html elements return undefined for offsetWidth, so check for null/undefined - // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 - // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 - if ( val <= 0 || val == null ) { - // Fall back to computed then uncomputed css if necessary - val = curCSS( elem, name, styles ); - if ( val < 0 || val == null ) { - val = elem.style[ name ]; - } - - // Computed unit is not pixels. Stop here and return. - if ( rnumnonpx.test(val) ) { - return val; - } - - // we need the check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); - - // Normalize "", auto, and prepare for extra - val = parseFloat( val ) || 0; - } - - // use the active box-sizing model to add/subtract irrelevant styles - return ( val + - augmentWidthOrHeight( - elem, - name, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles - ) - ) + "px"; -} - -// Try to determine the default display value of an element -function css_defaultDisplay( nodeName ) { - var doc = document, - display = elemdisplay[ nodeName ]; - - if ( !display ) { - display = actualDisplay( nodeName, doc ); - - // If the simple way fails, read from inside an iframe - if ( display === "none" || !display ) { - // Use the already-created iframe if possible - iframe = ( iframe || - jQuery("'; - -function Ie6(api, qtip) { - this._ns = 'ie6'; - this.init( (this.qtip = api) ); -} - -$.extend(Ie6.prototype, { - _scroll : function() { - var overlay = this.qtip.elements.overlay; - overlay && (overlay[0].style.top = $(window).scrollTop() + 'px'); - }, - - init: function(qtip) { - var tooltip = qtip.tooltip, - scroll; - - // Create the BGIFrame element if needed - if($('select, object').length < 1) { - this.bgiframe = qtip.elements.bgiframe = $(BGIFRAME).appendTo(tooltip); - - // Update BGIFrame on tooltip move - qtip._bind(tooltip, 'tooltipmove', this.adjustBGIFrame, this._ns, this); - } - - // redraw() container for width/height calculations - this.redrawContainer = $('
    ', { id: NAMESPACE+'-rcontainer' }) - .appendTo(document.body); - - // Fixup modal plugin if present too - if( qtip.elements.overlay && qtip.elements.overlay.addClass('qtipmodal-ie6fix') ) { - qtip._bind(window, ['scroll', 'resize'], this._scroll, this._ns, this); - qtip._bind(tooltip, ['tooltipshow'], this._scroll, this._ns, this); - } - - // Set dimensions - this.redraw(); - }, - - adjustBGIFrame: function() { - var tooltip = this.qtip.tooltip, - dimensions = { - height: tooltip.outerHeight(FALSE), - width: tooltip.outerWidth(FALSE) - }, - plugin = this.qtip.plugins.tip, - tip = this.qtip.elements.tip, - tipAdjust, offset; - - // Adjust border offset - offset = parseInt(tooltip.css('borderLeftWidth'), 10) || 0; - offset = { left: -offset, top: -offset }; - - // Adjust for tips plugin - if(plugin && tip) { - tipAdjust = (plugin.corner.precedance === 'x') ? [WIDTH, LEFT] : [HEIGHT, TOP]; - offset[ tipAdjust[1] ] -= tip[ tipAdjust[0] ](); - } - - // Update bgiframe - this.bgiframe.css(offset).css(dimensions); - }, - - // Max/min width simulator function - redraw: function() { - if(this.qtip.rendered < 1 || this.drawing) { return self; } - - var tooltip = this.qtip.tooltip, - style = this.qtip.options.style, - container = this.qtip.options.position.container, - perc, width, max, min; - - // Set drawing flag - this.qtip.drawing = 1; - - // If tooltip has a set height/width, just set it... like a boss! - if(style.height) { tooltip.css(HEIGHT, style.height); } - if(style.width) { tooltip.css(WIDTH, style.width); } - - // Simulate max/min width if not set width present... - else { - // Reset width and add fluid class - tooltip.css(WIDTH, '').appendTo(this.redrawContainer); - - // Grab our tooltip width (add 1 if odd so we don't get wrapping problems.. huzzah!) - width = tooltip.width(); - if(width % 2 < 1) { width += 1; } - - // Grab our max/min properties - max = tooltip.css('maxWidth') || ''; - min = tooltip.css('minWidth') || ''; - - // Parse into proper pixel values - perc = (max + min).indexOf('%') > -1 ? container.width() / 100 : 0; - max = ((max.indexOf('%') > -1 ? perc : 1) * parseInt(max, 10)) || width; - min = ((min.indexOf('%') > -1 ? perc : 1) * parseInt(min, 10)) || 0; - - // Determine new dimension size based on max/min/current values - width = max + min ? Math.min(Math.max(width, min), max) : width; - - // Set the newly calculated width and remvoe fluid class - tooltip.css(WIDTH, Math.round(width)).appendTo(container); - } - - // Set drawing flag - this.drawing = 0; - - return self; - }, - - destroy: function() { - // Remove iframe - this.bgiframe && this.bgiframe.remove(); - - // Remove bound events - this.qtip._unbind([window, this.qtip.tooltip], this._ns); - } -}); - -IE6 = PLUGINS.ie6 = function(api) { - // Proceed only if the browser is IE6 - return BROWSER.ie === 6 ? new Ie6(api) : FALSE; -}; - -IE6.initialize = 'render'; - -CHECKS.ie6 = { - '^content|style$': function() { - this.redraw(); - } -};;})); -}( window, document )); - - diff --git a/97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.min.css b/97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.min.css deleted file mode 100644 index 6965d6d..0000000 --- a/97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/* qTip2 v2.1.1 basic css3 | qtip2.com | Licensed MIT, GPL | Thu Jul 11 2013 14:03:02 */ -.qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.qtip-titlebar+.qtip-content{border-top-width:0!important}.qtip-close{position:absolute;right:-9px;top:-9px;cursor:pointer;outline:medium none;border-width:1px;border-style:solid;border-color:transparent}.qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}* html .qtip-titlebar .qtip-close{top:16px}.qtip-titlebar .ui-icon,.qtip-icon .ui-icon{display:block;text-indent:-1000em;direction:ltr}.qtip-icon,.qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma,sans-serif;color:inherit;background:transparent none no-repeat -100em -100em}.qtip-focus{}.qtip-hover{}.qtip-default{border-width:1px;border-style:solid;border-color:#F1D031;background-color:#FFFFA3;color:#555}.qtip-default .qtip-titlebar{background-color:#FFEF93}.qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111} .qtip-light{background-color:#fff;border-color:#E2E2E2;color:#454545}.qtip-light .qtip-titlebar{background-color:#f1f1f1} .qtip-dark{background-color:#505050;border-color:#303030;color:#f3f3f3}.qtip-dark .qtip-titlebar{background-color:#404040}.qtip-dark .qtip-icon{border-color:#444}.qtip-dark .qtip-titlebar .ui-state-hover{border-color:#303030} .qtip-cream{background-color:#FBF7AA;border-color:#F9E98E;color:#A27D35}.qtip-cream .qtip-titlebar{background-color:#F0DE7D}.qtip-cream .qtip-close .qtip-icon{background-position:-82px 0} .qtip-red{background-color:#F78B83;border-color:#D95252;color:#912323}.qtip-red .qtip-titlebar{background-color:#F06D65}.qtip-red .qtip-close .qtip-icon{background-position:-102px 0}.qtip-red .qtip-icon{border-color:#D95252}.qtip-red .qtip-titlebar .ui-state-hover{border-color:#D95252} .qtip-green{background-color:#CAED9E;border-color:#90D93F;color:#3F6219}.qtip-green .qtip-titlebar{background-color:#B0DE78}.qtip-green .qtip-close .qtip-icon{background-position:-42px 0} .qtip-blue{background-color:#E5F6FE;border-color:#ADD9ED;color:#5E99BD}.qtip-blue .qtip-titlebar{background-color:#D0E9F5}.qtip-blue .qtip-close .qtip-icon{background-position:-2px 0}.qtip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,.15)}.qtip-rounded,.qtip-tipsy,.qtip-bootstrap{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.qtip-rounded .qtip-titlebar{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.qtip-youtube{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;color:#fff;border-width:0;background:#4A4A4A;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#4A4A4A),color-stop(100%,#000));background-image:-webkit-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-moz-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-ms-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-o-linear-gradient(top,#4A4A4A 0,#000 100%)}.qtip-youtube .qtip-titlebar{background-color:#4A4A4A;background-color:rgba(0,0,0,0)}.qtip-youtube .qtip-content{padding:.75em;font:12px arial,sans-serif;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);"}.qtip-youtube .qtip-icon{border-color:#222}.qtip-youtube .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-jtools{background:#232323;background:rgba(0,0,0,.7);background-image:-webkit-gradient(linear,left top,left bottom,from(#717171),to(#232323));background-image:-moz-linear-gradient(top,#717171,#232323);background-image:-webkit-linear-gradient(top,#717171,#232323);background-image:-ms-linear-gradient(top,#717171,#232323);background-image:-o-linear-gradient(top,#717171,#232323);border:2px solid #ddd;border:2px solid rgba(241,241,241,1);-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.qtip-jtools .qtip-titlebar{background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A)"}.qtip-jtools .qtip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323)"}.qtip-jtools .qtip-titlebar,.qtip-jtools .qtip-content{background:transparent;color:#fff;border:0 dashed transparent}.qtip-jtools .qtip-icon{border-color:#555}.qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,.4);box-shadow:4px 4px 5px rgba(0,0,0,.4);background-color:#D9D9C2;color:#111;border:0 dashed transparent}.qtip-cluetip .qtip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.qtip-cluetip .qtip-icon{border-color:#808064}.qtip-cluetip .qtip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.qtip-tipsy{background:#000;background:rgba(0,0,0,.87);color:#fff;border:0 solid transparent;font-size:11px;font-family:'Lucida Grande',sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px #000}.qtip-tipsy .qtip-titlebar{padding:6px 35px 0 10px;background-color:transparent}.qtip-tipsy .qtip-content{padding:6px 10px}.qtip-tipsy .qtip-icon{border-color:#222;text-shadow:none}.qtip-tipsy .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-tipped{border:3px solid #959FA9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#F9F9F9;color:#454545;font-weight:400;font-family:serif}.qtip-tipped .qtip-titlebar{border-bottom-width:0;color:#fff;background:#3A79B8;background-image:-webkit-gradient(linear,left top,left bottom,from(#3A79B8),to(#2E629D));background-image:-webkit-linear-gradient(top,#3A79B8,#2E629D);background-image:-moz-linear-gradient(top,#3A79B8,#2E629D);background-image:-ms-linear-gradient(top,#3A79B8,#2E629D);background-image:-o-linear-gradient(top,#3A79B8,#2E629D);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D)"}.qtip-tipped .qtip-icon{border:2px solid #285589;background:#285589}.qtip-tipped .qtip-icon .ui-icon{background-color:#FBFBFB;color:#555}.qtip-bootstrap{font-size:14px;line-height:20px;color:#333;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.qtip-bootstrap .qtip-titlebar{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.qtip-bootstrap .qtip-titlebar .qtip-close{right:11px;top:45%;border-style:none}.qtip-bootstrap .qtip-content{padding:9px 14px}.qtip-bootstrap .qtip-icon{background:transparent}.qtip-bootstrap .qtip-icon .ui-icon{width:auto;height:auto;float:right;font-size:20px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.qtip-bootstrap .qtip-icon .ui-icon:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.qtip:not(.ie9haxors) div.qtip-content,.qtip:not(.ie9haxors) div.qtip-titlebar{filter:none;-ms-filter:none}.qtip .qtip-tip{margin:0 auto;overflow:hidden;z-index:10}x:-o-prefocus,.qtip .qtip-tip{visibility:hidden}.qtip .qtip-tip,.qtip .qtip-tip .qtip-vml,.qtip .qtip-tip canvas{position:absolute;color:#123456;background:transparent;border:0 dashed transparent}.qtip .qtip-tip canvas{top:0;left:0}.qtip .qtip-tip .qtip-vml{behavior:url(#default#VML);display:inline-block;visibility:visible}#qtip-overlay{position:fixed;left:-10000em;top:-10000em}#qtip-overlay.blurs{cursor:pointer}#qtip-overlay div{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;opacity:.7;filter:alpha(opacity=70);-ms-filter:"alpha(Opacity=70)"}.qtipmodal-ie6fix{position:absolute!important} \ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.min.js b/97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.min.js deleted file mode 100644 index 036399f..0000000 --- a/97suifangqa/apps/indicator/static/plugins/qtip2/jquery.qtip.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/* qTip2 v2.1.1 tips modal viewport svg imagemap ie6 | qtip2.com | Licensed MIT, GPL | Thu Jul 11 2013 14:03:02 */ -(function(t,e,s){(function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","imagesloaded"],t):jQuery&&!jQuery.fn.qtip&&t(jQuery)})(function(o){function n(t,e,i,s){this.id=i,this.target=t,this.tooltip=E,this.elements=elements={target:t},this._id=$+"-"+i,this.timers={img:{}},this.options=e,this.plugins={},this.cache=cache={event:{},target:o(),disabled:S,attr:s,onTooltip:S,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=S}function r(t){return t===E||"object"!==o.type(t)}function a(t){return!(o.isFunction(t)||t&&t.attr||t.length||"object"===o.type(t)&&(t.jquery||t.then))}function h(t){var e,i,s,n;return r(t)?S:(r(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(e=t.content,r(e)||e.jquery||e.done?e=t.content={text:i=a(e)?S:e}:i=e.text,"ajax"in e&&(s=e.ajax,n=s&&s.once!==S,delete e.ajax,e.text=function(t,e){var r=i||o(this).attr(e.options.content.attr)||"Loading...",a=o.ajax(o.extend({},s,{context:e})).then(s.success,E,s.error).then(function(t){return t&&n&&e.set("content.text",t),t},function(t,i,s){e.destroyed||0===t.status||e.set("content.text",i+": "+s)});return n?r:(e.set("content.text",r),a)}),"title"in e&&(r(e.title)||(e.button=e.title.button,e.title=e.title.text),a(e.title||S)&&(e.title=S))),"position"in t&&r(t.position)&&(t.position={my:t.position,at:t.position}),"show"in t&&r(t.show)&&(t.show=t.show.jquery?{target:t.show}:t.show===M?{ready:M}:{event:t.show}),"hide"in t&&r(t.hide)&&(t.hide=t.hide.jquery?{target:t.hide}:{event:t.hide}),"style"in t&&r(t.style)&&(t.style={classes:t.style}),o.each(N,function(){this.sanitize&&this.sanitize(t)}),t)}function l(t,e){for(var i,s=0,o=t,n=e.split(".");o=o[n[s++]];)n.length>s&&(i=o);return[i||t,n.pop()]}function c(t,e){var i,s,o;for(i in this.checks)for(s in this.checks[i])(o=RegExp(s,"i").exec(t))&&(e.push(o),("builtin"===i||this.plugins[i])&&this.checks[i][s].apply(this.plugins[i]||this,e))}function p(t){return H.concat("").join(t?"-"+t+" ":" ")}function d(t){if(this.tooltip.hasClass(te))return S;clearTimeout(this.timers.show),clearTimeout(this.timers.hide);var e=o.proxy(function(){this.toggle(M,t)},this);this.options.show.delay>0?this.timers.show=setTimeout(e,this.options.show.delay):e()}function u(t){if(this.tooltip.hasClass(te))return S;var e=o(t.relatedTarget),i=e.closest(G)[0]===this.tooltip[0],s=e[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==e[0]&&"mouse"===this.options.position.target&&i||this.options.hide.fixed&&/mouse(out|leave|move)/.test(t.type)&&(i||s))try{t.preventDefault(),t.stopImmediatePropagation()}catch(n){}else{var r=o.proxy(function(){this.toggle(S,t)},this);this.options.hide.delay>0?this.timers.hide=setTimeout(r,this.options.hide.delay):r()}}function f(t){return this.tooltip.hasClass(te)||!this.options.hide.inactive?S:(clearTimeout(this.timers.inactive),this.timers.inactive=setTimeout(o.proxy(function(){this.hide(t)},this),this.options.hide.inactive),s)}function g(t){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(t)}function m(t,i,s){o(e.body).delegate(t,(i.split?i:i.join(re+" "))+re,function(){var t=T.api[o.attr(this,Y)];t&&!t.disabled&&s.apply(t,arguments)})}function v(t,i,s){var r,a,l,c,p,d=o(e.body),u=t[0]===e?d:t,f=t.metadata?t.metadata(s.metadata):E,g="html5"===s.metadata.type&&f?f[s.metadata.name]:E,m=t.data(s.metadata.name||"qtipopts");try{m="string"==typeof m?o.parseJSON(m):m}catch(v){}if(c=o.extend(M,{},T.defaults,s,"object"==typeof m?h(m):E,h(g||f)),a=c.position,c.id=i,"boolean"==typeof c.content.text){if(l=t.attr(c.content.attr),c.content.attr===S||!l)return S;c.content.text=l}if(a.container.length||(a.container=d),a.target===S&&(a.target=u),c.show.target===S&&(c.show.target=u),c.show.solo===M&&(c.show.solo=a.container.closest("body")),c.hide.target===S&&(c.hide.target=u),c.position.viewport===M&&(c.position.viewport=a.container),a.container=a.container.eq(0),a.at=new j(a.at,M),a.my=new j(a.my),t.data($))if(c.overwrite)t.qtip("destroy");else if(c.overwrite===S)return S;return t.attr(X,i),c.suppress&&(p=t.attr("title"))&&t.removeAttr("title").attr(ie,p).attr("title",""),r=new n(t,c,i,!!l),t.data($,r),t.one("remove.qtip-"+i+" removeqtip.qtip-"+i,function(){var t;(t=o(this).data($))&&t.destroy()}),r}function y(t){return t.charAt(0).toUpperCase()+t.slice(1)}function b(t,e){var i,o,n=e.charAt(0).toUpperCase()+e.slice(1),r=(e+" "+ve.join(n+" ")+n).split(" "),a=0;if(me[e])return t.css(me[e]);for(;i=r[a++];)if((o=t.css(i))!==s)return me[e]=i,o}function w(t,e){return parseInt(b(t,e),10)}function x(t,e){this._ns="tip",this.options=e,this.offset=e.offset,this.size=[e.width,e.height],this.init(this.qtip=t)}function _(t,e){this.options=e,this._ns="-modal",this.init(this.qtip=t)}function q(t){this._ns="ie6",this.init(this.qtip=t)}var T,C,j,z,W,M=!0,S=!1,E=null,O="x",R="y",I="width",k="height",B="top",L="left",P="bottom",V="right",D="center",A="flipinvert",F="shift",N={},$="qtip",X="data-hasqtip",Y="data-qtip-id",H=["ui-widget","ui-tooltip"],G="."+$,U="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),Q=$+"-fixed",J=$+"-default",K=$+"-focus",Z=$+"-hover",te=$+"-disabled",ee="_replacedByqTip",ie="oldtitle";BROWSER={ie:function(){for(var t=3,i=e.createElement("div");(i.innerHTML="")&&i.getElementsByTagName("i")[0];);return t>4?t:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||S},C=n.prototype,C.render=function(t){if(this.rendered||this.destroyed)return this;var e=this,i=this.options,s=this.cache,n=this.elements,r=i.content.text,a=i.content.title,h=i.content.button,l=i.position,c="."+this._id+" ",p=[];return o.attr(this.target[0],"aria-describedby",this._id),this.tooltip=n.tooltip=tooltip=o("
    ",{id:this._id,"class":[$,J,i.style.classes,$+"-pos-"+i.position.my.abbrev()].join(" "),width:i.style.width||"",height:i.style.height||"",tracking:"mouse"===l.target&&l.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":S,"aria-describedby":this._id+"-content","aria-hidden":M}).toggleClass(te,this.disabled).attr(Y,this.id).data($,this).appendTo(l.container).append(n.content=o("
    ",{"class":$+"-content",id:this._id+"-content","aria-atomic":M})),this.rendered=-1,this.positioning=M,a&&(this._createTitle(),o.isFunction(a)||p.push(this._updateTitle(a,S))),h&&this._createButton(),o.isFunction(r)||p.push(this._updateContent(r,S)),this.rendered=M,this._setWidget(),o.each(i.events,function(t,e){o.isFunction(e)&&tooltip.bind(("toggle"===t?["tooltipshow","tooltiphide"]:["tooltip"+t]).join(c)+c,e)}),o.each(N,function(t){var i;"render"===this.initialize&&(i=this(e))&&(e.plugins[t]=i)}),this._assignEvents(),o.when.apply(o,p).then(function(){e._trigger("render"),e.positioning=S,e.hiddenDuringWait||!i.show.ready&&!t||e.toggle(M,s.event,S),e.hiddenDuringWait=S}),T.api[this.id]=this,this},C.destroy=function(t){function e(){if(!this.destroyed){this.destroyed=M;var t=this.target,e=t.attr(ie);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),o.each(this.plugins,function(){this.destroy&&this.destroy()}),clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this._unassignEvents(),t.removeData($).removeAttr(Y).removeAttr("aria-describedby"),this.options.suppress&&e&&t.attr("title",e).removeAttr(ie),this._unbind(t),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=E,delete T.api[this.id]}}return this.destroyed?this.target:(t!==M&&this.rendered?(tooltip.one("tooltiphidden",o.proxy(e,this)),!this.triggering&&this.hide()):e.call(this),this.target)},z=C.checks={builtin:{"^id$":function(t,e,i,s){var n=i===M?T.nextid:i,r=$+"-"+n;n!==S&&n.length>0&&!o("#"+r).length?(this._id=r,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):t[e]=s},"^prerender":function(t,e,i){i&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(t,e,i){this._updateContent(i)},"^content.attr$":function(t,e,i,s){this.options.content.text===this.target.attr(s)&&this._updateContent(this.target.attr(i))},"^content.title$":function(t,e,i){return i?(i&&!this.elements.title&&this._createTitle(),this._updateTitle(i),s):this._removeTitle()},"^content.button$":function(t,e,i){this._updateButton(i)},"^content.title.(text|button)$":function(t,e,i){this.set("content."+e,i)},"^position.(my|at)$":function(t,e,i){"string"==typeof i&&(t[e]=new j(i,"at"===e))},"^position.container$":function(t,e,i){this.tooltip.appendTo(i)},"^show.ready$":function(t,e,i){i&&(!this.rendered&&this.render(M)||this.toggle(M))},"^style.classes$":function(t,e,i,s){this.tooltip.removeClass(s).addClass(i)},"^style.width|height":function(t,e,i){this.tooltip.css(e,i)},"^style.widget|content.title":function(){this._setWidget()},"^style.def":function(t,e,i){this.tooltip.toggleClass(J,!!i)},"^events.(render|show|move|hide|focus|blur)$":function(t,e,i){tooltip[(o.isFunction(i)?"":"un")+"bind"]("tooltip"+e,i)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var t=this.options.position;tooltip.attr("tracking","mouse"===t.target&&t.adjust.mouse),this._unassignEvents(),this._assignEvents()}}},C.get=function(t){if(this.destroyed)return this;var e=l(this.options,t.toLowerCase()),i=e[0][e[1]];return i.precedance?i.string():i};var se=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,oe=/^prerender|show\.ready/i;C.set=function(t,e){if(this.destroyed)return this;var i,n=this.rendered,r=S,a=this.options;return this.checks,"string"==typeof t?(i=t,t={},t[i]=e):t=o.extend({},t),o.each(t,function(e,i){if(!n&&!oe.test(e))return delete t[e],s;var h,c=l(a,e.toLowerCase());h=c[0][c[1]],c[0][c[1]]=i&&i.nodeType?o(i):i,r=se.test(e)||r,t[e]=[c[0],c[1],i,h]}),h(a),this.positioning=M,o.each(t,o.proxy(c,this)),this.positioning=S,this.rendered&&this.tooltip[0].offsetWidth>0&&r&&this.reposition("mouse"===a.position.target?E:this.cache.event),this},C._update=function(t,e){var i=this,s=this.cache;return this.rendered&&t?(o.isFunction(t)&&(t=t.call(this.elements.target,s.event,this)||""),o.isFunction(t.then)?(s.waiting=M,t.then(function(t){return s.waiting=S,i._update(t,e)},E,function(t){return i._update(t,e)})):t===S||!t&&""!==t?S:(t.jquery&&t.length>0?e.children().detach().end().append(t.css({display:"block"})):e.html(t),s.waiting=M,(o.fn.imagesLoaded?e.imagesLoaded():o.Deferred().resolve(o([]))).done(function(t){s.waiting=S,t.length&&i.rendered&&i.tooltip[0].offsetWidth>0&&i.reposition(s.event,!t.length)}).promise())):S},C._updateContent=function(t,e){this._update(t,this.elements.content,e)},C._updateTitle=function(t,e){this._update(t,this.elements.title,e)===S&&this._removeTitle(S)},C._createTitle=function(){var t=this.elements,e=this._id+"-title";t.titlebar&&this._removeTitle(),t.titlebar=o("
    ",{"class":$+"-titlebar "+(this.options.style.widget?p("header"):"")}).append(t.title=o("
    ",{id:e,"class":$+"-title","aria-atomic":M})).insertBefore(t.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(t){o(this).toggleClass("ui-state-active ui-state-focus","down"===t.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(t){o(this).toggleClass("ui-state-hover","mouseover"===t.type)}),this.options.content.button&&this._createButton()},C._removeTitle=function(t){var e=this.elements;e.title&&(e.titlebar.remove(),e.titlebar=e.title=e.button=E,t!==S&&this.reposition())},C.reposition=function(i,s){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=M;var n,r,a=this.cache,h=this.tooltip,l=this.options.position,c=l.target,p=l.my,d=l.at,u=l.viewport,f=l.container,g=l.adjust,m=g.method.split(" "),v=h.outerWidth(S),y=h.outerHeight(S),b=0,w=0,x=h.css("position"),_={left:0,top:0},q=h[0].offsetWidth>0,T=i&&"scroll"===i.type,C=o(t),j=f[0].ownerDocument,z=this.mouse;if(o.isArray(c)&&2===c.length)d={x:L,y:B},_={left:c[0],top:c[1]};else if("mouse"===c&&(i&&i.pageX||a.event.pageX))d={x:L,y:B},i=!z||!z.pageX||!g.mouse&&i&&i.pageX?(!i||"resize"!==i.type&&"scroll"!==i.type?i&&i.pageX&&"mousemove"===i.type?i:(!g.mouse||this.options.show.distance)&&a.origin&&a.origin.pageX?a.origin:i:a.event)||i||a.event||z||{}:z,"static"!==x&&(_=f.offset()),j.body.offsetWidth!==(t.innerWidth||j.documentElement.clientWidth)&&(r=o(j.body).offset()),_={left:i.pageX-_.left+(r&&r.left||0),top:i.pageY-_.top+(r&&r.top||0)},g.mouse&&T&&(_.left-=z.scrollX-C.scrollLeft(),_.top-=z.scrollY-C.scrollTop());else{if("event"===c&&i&&i.target&&"scroll"!==i.type&&"resize"!==i.type?a.target=o(i.target):"event"!==c&&(a.target=o(c.jquery?c:elements.target)),c=a.target,c=o(c).eq(0),0===c.length)return this;c[0]===e||c[0]===t?(b=BROWSER.iOS?t.innerWidth:c.width(),w=BROWSER.iOS?t.innerHeight:c.height(),c[0]===t&&(_={top:(u||c).scrollTop(),left:(u||c).scrollLeft()})):N.imagemap&&c.is("area")?n=N.imagemap(this,c,d,N.viewport?m:S):N.svg&&c[0].ownerSVGElement?n=N.svg(this,c,d,N.viewport?m:S):(b=c.outerWidth(S),w=c.outerHeight(S),_=c.offset()),n&&(b=n.width,w=n.height,r=n.offset,_=n.position),_=this.reposition.offset(c,_,f),(BROWSER.iOS>3.1&&4.1>BROWSER.iOS||BROWSER.iOS>=4.3&&4.33>BROWSER.iOS||!BROWSER.iOS&&"fixed"===x)&&(_.left-=C.scrollLeft(),_.top-=C.scrollTop()),(!n||n&&n.adjustable!==S)&&(_.left+=d.x===V?b:d.x===D?b/2:0,_.top+=d.y===P?w:d.y===D?w/2:0)}return _.left+=g.x+(p.x===V?-v:p.x===D?-v/2:0),_.top+=g.y+(p.y===P?-y:p.y===D?-y/2:0),N.viewport?(_.adjusted=N.viewport(this,_,l,b,w,v,y),r&&_.adjusted.left&&(_.left+=r.left),r&&_.adjusted.top&&(_.top+=r.top)):_.adjusted={left:0,top:0},this._trigger("move",[_,u.elem||u],i)?(delete _.adjusted,s===S||!q||isNaN(_.left)||isNaN(_.top)||"mouse"===c||!o.isFunction(l.effect)?h.css(_):o.isFunction(l.effect)&&(l.effect.call(h,this,o.extend({},_)),h.queue(function(t){o(this).css({opacity:"",height:""}),BROWSER.ie&&this.style.removeAttribute("filter"),t()})),this.positioning=S,this):this},C.reposition.offset=function(t,i,s){function n(t,e){i.left+=e*t.scrollLeft(),i.top+=e*t.scrollTop()}if(!s[0])return i;var r,a,h,l,c=o(t[0].ownerDocument),p=!!BROWSER.ie&&"CSS1Compat"!==e.compatMode,d=s[0];do"static"!==(a=o.css(d,"position"))&&("fixed"===a?(h=d.getBoundingClientRect(),n(c,-1)):(h=o(d).position(),h.left+=parseFloat(o.css(d,"borderLeftWidth"))||0,h.top+=parseFloat(o.css(d,"borderTopWidth"))||0),i.left-=h.left+(parseFloat(o.css(d,"marginLeft"))||0),i.top-=h.top+(parseFloat(o.css(d,"marginTop"))||0),r||"hidden"===(l=o.css(d,"overflow"))||"visible"===l||(r=o(d)));while(d=d.offsetParent);return r&&(r[0]!==c[0]||p)&&n(r,1),i};var ne=(j=C.reposition.Corner=function(t,e){t=(""+t).replace(/([A-Z])/," $1").replace(/middle/gi,D).toLowerCase(),this.x=(t.match(/left|right/i)||t.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(t.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!e;var i=t.charAt(0);this.precedance="t"===i||"b"===i?R:O}).prototype;ne.invert=function(t,e){this[t]=this[t]===L?V:this[t]===V?L:e||this[t]},ne.string=function(){var t=this.x,e=this.y;return t===e?t:this.precedance===R||this.forceY&&"center"!==e?e+" "+t:t+" "+e},ne.abbrev=function(){var t=this.string().split(" ");return t[0].charAt(0)+(t[1]&&t[1].charAt(0)||"")},ne.clone=function(){return new j(this.string(),this.forceY)},C.toggle=function(t,i){var s=this.cache,n=this.options,r=this.tooltip;if(i){if(/over|enter/.test(i.type)&&/out|leave/.test(s.event.type)&&n.show.target.add(i.target).length===n.show.target.length&&r.has(i.relatedTarget).length)return this;s.event=o.extend({},i)}if(this.waiting&&!t&&(this.hiddenDuringWait=M),!this.rendered)return t?this.render(1):this;if(this.destroyed||this.disabled)return this;var a,h,l=t?"show":"hide",c=this.options[l],p=(this.options[t?"hide":"show"],this.options.position),d=this.options.content,u=this.tooltip.css("width"),f=this.tooltip[0].offsetWidth>0,g=t||1===c.target.length,m=!i||2>c.target.length||s.target[0]===i.target;return(typeof t).search("boolean|number")&&(t=!f),a=!r.is(":animated")&&f===t&&m,h=a?E:!!this._trigger(l,[90]),h!==S&&t&&this.focus(i),!h||a?this:(o.attr(r[0],"aria-hidden",!t),t?(s.origin=o.extend({},this.mouse),o.isFunction(d.text)&&this._updateContent(d.text,S),o.isFunction(d.title)&&this._updateTitle(d.title,S),!W&&"mouse"===p.target&&p.adjust.mouse&&(o(e).bind("mousemove."+$,this._storeMouse),W=M),u||r.css("width",r.outerWidth(S)),this.reposition(i,arguments[2]),u||r.css("width",""),c.solo&&("string"==typeof c.solo?o(c.solo):o(G,c.solo)).not(r).not(c.target).qtip("hide",o.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete s.origin,W&&!o(G+'[tracking="true"]:visible',c.solo).not(r).length&&(o(e).unbind("mousemove."+$),W=S),this.blur(i)),after=o.proxy(function(){t?(BROWSER.ie&&r[0].style.removeAttribute("filter"),r.css("overflow",""),"string"==typeof c.autofocus&&o(this.options.show.autofocus,r).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):r.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(t?"visible":"hidden")},this),c.effect===S||g===S?(r[l](),after()):o.isFunction(c.effect)?(r.stop(1,1),c.effect.call(r,this),r.queue("fx",function(t){after(),t()})):r.fadeTo(90,t?1:0,after),t&&c.target.trigger("qtip-"+this.id+"-inactive"),this)},C.show=function(t){return this.toggle(M,t)},C.hide=function(t){return this.toggle(S,t)},C.focus=function(t){if(!this.rendered||this.destroyed)return this;var e=o(G),i=this.tooltip,s=parseInt(i[0].style.zIndex,10),n=T.zindex+e.length;return i.hasClass(K)||this._trigger("focus",[n],t)&&(s!==n&&(e.each(function(){this.style.zIndex>s&&(this.style.zIndex=this.style.zIndex-1)}),e.filter("."+K).qtip("blur",t)),i.addClass(K)[0].style.zIndex=n),this},C.blur=function(t){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(K),this._trigger("blur",[this.tooltip.css("zIndex")],t),this)},C.disable=function(t){return this.destroyed?this:("boolean"!=typeof t&&(t=!(this.tooltip.hasClass(te)||this.disabled)),this.rendered&&this.tooltip.toggleClass(te,t).attr("aria-disabled",t),this.disabled=!!t,this)},C.enable=function(){return this.disable(S)},C._createButton=function(){var t=this,e=this.elements,i=e.tooltip,s=this.options.content.button,n="string"==typeof s,r=n?s:"Close tooltip";e.button&&e.button.remove(),e.button=s.jquery?s:o("",{"class":"qtip-close "+(this.options.style.widget?"":$+"-icon"),title:r,"aria-label":r}).prepend(o("",{"class":"ui-icon ui-icon-close",html:"×"})),e.button.appendTo(e.titlebar||i).attr("role","button").click(function(e){return i.hasClass(te)||t.hide(e),S})},C._updateButton=function(t){if(!this.rendered)return S;var e=this.elements.button;t?this._createButton():e.remove()},C._setWidget=function(){var t=this.options.style.widget,e=this.elements,i=e.tooltip,s=i.hasClass(te);i.removeClass(te),te=t?"ui-state-disabled":"qtip-disabled",i.toggleClass(te,s),i.toggleClass("ui-helper-reset "+p(),t).toggleClass(J,this.options.style.def&&!t),e.content&&e.content.toggleClass(p("content"),t),e.titlebar&&e.titlebar.toggleClass(p("header"),t),e.button&&e.button.toggleClass($+"-icon",!t)},C._storeMouse=function(i){this.mouse={pageX:i.pageX,pageY:i.pageY,type:"mousemove",scrollX:t.pageXOffset||e.body.scrollLeft||e.documentElement.scrollLeft,scrollY:t.pageYOffset||e.body.scrollTop||e.documentElement.scrollTop}},C._bind=function(t,e,i,s,n){var r="."+this._id+(s?"-"+s:"");e.length&&o(t).bind((e.split?e:e.join(r+" "))+r,o.proxy(i,n||this))},C._unbind=function(t,e){o(t).unbind("."+this._id+(e?"-"+e:""))};var re="."+$;o(function(){m(G,["mouseenter","mouseleave"],function(t){var e="mouseenter"===t.type,i=o(t.currentTarget),s=o(t.relatedTarget||t.target),n=this.options;e?(this.focus(t),i.hasClass(Q)&&!i.hasClass(te)&&clearTimeout(this.timers.hide)):"mouse"===n.position.target&&n.hide.event&&n.show.target&&!s.closest(n.show.target[0]).length&&this.hide(t),i.toggleClass(Z,e)}),m("["+Y+"]",U,f)}),C._trigger=function(t,e,i){var s=o.Event("tooltip"+t);return s.originalEvent=i&&o.extend({},i)||this.cache.event||E,this.triggering=M,this.tooltip.trigger(s,[this].concat(e||[])),this.triggering=S,!s.isDefaultPrevented()},C._assignEvents=function(){var i=this.options,n=i.position,r=this.tooltip,a=i.show.target,h=i.hide.target,l=n.container,c=n.viewport,p=o(e),m=(o(e.body),o(t)),v=i.show.event?o.trim(""+i.show.event).split(" "):[],y=i.hide.event?o.trim(""+i.hide.event).split(" "):[],b=[];/mouse(out|leave)/i.test(i.hide.event)&&"window"===i.hide.leave&&this._bind(p,["mouseout","blur"],function(t){/select|option/.test(t.target.nodeName)||t.relatedTarget||this.hide(t)}),i.hide.fixed?h=h.add(r.addClass(Q)):/mouse(over|enter)/i.test(i.show.event)&&this._bind(h,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+i.hide.event).indexOf("unfocus")>-1&&this._bind(l.closest("html"),["mousedown","touchstart"],function(t){var e=o(t.target),i=this.rendered&&!this.tooltip.hasClass(te)&&this.tooltip[0].offsetWidth>0,s=e.parents(G).filter(this.tooltip[0]).length>0;e[0]===this.target[0]||e[0]===this.tooltip[0]||s||this.target.has(e[0]).length||!i||this.hide(t)}),"number"==typeof i.hide.inactive&&(this._bind(a,"qtip-"+this.id+"-inactive",f),this._bind(h.add(r),T.inactiveEvents,f,"-inactive")),y=o.map(y,function(t){var e=o.inArray(t,v);return e>-1&&h.add(a).length===h.length?(b.push(v.splice(e,1)[0]),s):t}),this._bind(a,v,d),this._bind(h,y,u),this._bind(a,b,function(t){(this.tooltip[0].offsetWidth>0?u:d).call(this,t)}),this._bind(a.add(r),"mousemove",function(t){if("number"==typeof i.hide.distance){var e=this.cache.origin||{},s=this.options.hide.distance,o=Math.abs;(o(t.pageX-e.pageX)>=s||o(t.pageY-e.pageY)>=s)&&this.hide(t)}this._storeMouse(t)}),"mouse"===n.target&&n.adjust.mouse&&(i.hide.event&&this._bind(a,["mouseenter","mouseleave"],function(t){this.cache.onTarget="mouseenter"===t.type}),this._bind(p,"mousemove",function(t){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(te)&&this.tooltip[0].offsetWidth>0&&this.reposition(t)})),(n.adjust.resize||c.length)&&this._bind(o.event.special.resize?c:m,"resize",g),n.adjust.scroll&&this._bind(m.add(n.container),"scroll",g)},C._unassignEvents=function(){var i=[this.options.show.target[0],this.options.hide.target[0],this.rendered&&this.tooltip[0],this.options.position.container[0],this.options.position.viewport[0],this.options.position.container.closest("html")[0],t,e];this.rendered?this._unbind(o([]).pushStack(o.grep(i,function(t){return"object"==typeof t}))):o(i[0]).unbind("."+this._id+"-create")},T=o.fn.qtip=function(t,e,i){var n=(""+t).toLowerCase(),r=E,a=o.makeArray(arguments).slice(1),l=a[a.length-1],c=this[0]?o.data(this[0],$):E;return!arguments.length&&c||"api"===n?c:"string"==typeof t?(this.each(function(){var t=o.data(this,$);if(!t)return M;if(l&&l.timeStamp&&(t.cache.event=l),!e||"option"!==n&&"options"!==n)t[n]&&t[n].apply(t,a);else{if(i===s&&!o.isPlainObject(e))return r=t.get(e),S;t.set(e,i)}}),r!==E?r:this):"object"!=typeof t&&arguments.length?s:(c=h(o.extend(M,{},t)),T.bind.call(this,c,l))},T.bind=function(t,e){return this.each(function(i){function n(t){function e(){c.render("object"==typeof t||r.show.ready),a.show.add(a.hide).unbind(l)}return c.disabled?S:(c.cache.event=o.extend({},t),c.cache.target=t?o(t.target):[s],r.show.delay>0?(clearTimeout(c.timers.show),c.timers.show=setTimeout(e,r.show.delay),h.show!==h.hide&&a.hide.bind(h.hide,function(){clearTimeout(c.timers.show)})):e(),s)}var r,a,h,l,c,p;return p=o.isArray(t.id)?t.id[i]:t.id,p=!p||p===S||1>p.length||T.api[p]?T.nextid++:p,l=".qtip-"+p+"-create",c=v(o(this),p,t),c===S?M:(T.api[p]=c,r=c.options,o.each(N,function(){"initialize"===this.initialize&&this(c)}),a={show:r.show.target,hide:r.hide.target},h={show:o.trim(""+r.show.event).replace(/ /g,l+" ")+l,hide:o.trim(""+r.hide.event).replace(/ /g,l+" ")+l},/mouse(over|enter)/i.test(h.show)&&!/mouse(out|leave)/i.test(h.hide)&&(h.hide+=" mouseleave"+l),a.show.bind("mousemove"+l,function(t){c._storeMouse(t),c.cache.onTarget=M}),a.show.bind(h.show,n),(r.show.ready||r.prerender)&&n(e),s)})},T.api={},o.each({attr:function(t,e){if(this.length){var i=this[0],s="title",n=o.data(i,"qtip");if(t===s&&n&&"object"==typeof n&&n.options.suppress)return 2>arguments.length?o.attr(i,ie):(n&&n.options.content.attr===s&&n.cache.attr&&n.set("content.text",e),this.attr(ie,e))}return o.fn["attr"+ee].apply(this,arguments)},clone:function(t){var e=(o([]),o.fn["clone"+ee].apply(this,arguments));return t||e.filter("["+ie+"]").attr("title",function(){return o.attr(this,ie)}).removeAttr(ie),e}},function(t,e){if(!e||o.fn[t+ee])return M;var i=o.fn[t+ee]=o.fn[t];o.fn[t]=function(){return e.apply(this,arguments)||i.apply(this,arguments)}}),o.ui||(o["cleanData"+ee]=o.cleanData,o.cleanData=function(t){for(var e,i=0;(e=o(t[i])).length;i++)if(e.attr(X))try{e.triggerHandler("removeqtip")}catch(s){}o["cleanData"+ee].apply(this,arguments)}),T.version="2.1.1",T.nextid=0,T.inactiveEvents=U,T.zindex=15e3,T.defaults={prerender:S,id:S,overwrite:M,suppress:M,content:{text:M,attr:"title",title:S,button:S},position:{my:"top left",at:"bottom right",target:S,container:S,viewport:S,adjust:{x:0,y:0,mouse:M,scroll:M,resize:M,method:"flipinvert flipinvert"},effect:function(t,e){o(this).animate(e,{duration:200,queue:S})}},show:{target:S,event:"mouseenter",effect:M,delay:90,solo:S,ready:S,autofocus:S},hide:{target:S,event:"mouseleave",effect:M,delay:0,fixed:S,inactive:S,leave:"window",distance:S},style:{classes:"",widget:S,width:S,height:S,def:M},events:{render:E,move:E,show:E,hide:E,toggle:E,visible:E,hidden:E,focus:E,blur:E}};var ae,he="margin",le="border",ce="color",pe="background-color",de="transparent",ue=" !important",fe=!!e.createElement("canvas").getContext,ge=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,me={},ve=["Webkit","O","Moz","ms"];fe||(createVML=function(t,e,i){return"'}),o.extend(x.prototype,{init:function(t){var e,i;i=this.element=t.elements.tip=o("
    ",{"class":$+"-tip"}).prependTo(t.tooltip),fe?(e=o("").appendTo(this.element)[0].getContext("2d"),e.lineJoin="miter",e.miterLimit=100,e.save()):(e=createVML("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(e+e),t._bind(o("*",i).add(i),["click","mousedown"],function(t){t.stopPropagation()},this._ns)),t._bind(t.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(t){var e=this.qtip.elements.titlebar;return e&&(t.y===B||t.y===D&&this.element.position().top+this.size[1]/2+this.options.offsetBROWSER.ie?0:w(this._useTitle(t)&&e.titlebar||e.content,i)||w(e.tooltip,i)||0},_invalidColour:function(t,e,i){var s=t.css(e);return!s||i&&s===t.css(i)||ge.test(s)?S:s},_parseColours:function(t){var e=this.qtip.elements,i=this.element.css("cssText",""),s=le+y(t[t.precedance])+y(ce),n=this._useTitle(t)&&e.titlebar||e.content,r=this._invalidColour,a=[];return a[0]=r(i,pe)||r(n,pe)||r(e.content,pe)||r(tooltip,pe)||i.css(pe),a[1]=r(i,s,ce)||r(n,s,ce)||r(e.content,s,ce)||r(tooltip,s,ce)||tooltip.css(s),o("*",i).add(i).css("cssText",pe+":"+de+ue+";"+le+":0"+ue+";"),a},_calculateSize:function(t){var e,i,s,o=t.precedance===R,n=this.options[o?"height":"width"],r=this.options[o?"width":"height"],a="c"===t.abbrev(),h=n*(a?.5:1),l=Math.pow,c=Math.round,p=Math.sqrt(l(h,2)+l(r,2)),d=[this.border/h*p,this.border/r*p];return d[2]=Math.sqrt(l(d[0],2)-l(this.border,2)),d[3]=Math.sqrt(l(d[1],2)-l(this.border,2)),e=p+d[2]+d[3]+(a?0:d[0]),i=e/p,s=[c(i*n),c(i*r)],o?s:s.reverse()},_calculateTip:function(t){var e=this.size[0],i=this.size[1],s=Math.ceil(e/2),o=Math.ceil(i/2),n={br:[0,0,e,i,e,0],bl:[0,0,e,0,0,i],tr:[0,i,e,0,e,i],tl:[0,0,0,i,e,i],tc:[0,i,s,0,e,i],bc:[0,0,e,0,s,i],rc:[0,0,e,o,0,i],lc:[e,0,e,i,0,o]};return n.lt=n.br,n.rt=n.bl,n.lb=n.tr,n.rb=n.tl,n[t.abbrev()]},create:function(){var t=this.corner=(fe||BROWSER.ie)&&this._parseCorner(this.options.corner);return(this.enabled=!!this.corner&&"c"!==this.corner.abbrev())&&(this.qtip.cache.corner=t.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(t,e){if(!this.enabled)return this;var i,s,n,r,a,h,l,c=(this.qtip.elements,this.element),p=c.children(),d=this.options,u=this.size,f=d.mimic,g=Math.round;t||(t=this.qtip.cache.corner||this.corner),f===S?f=t:(f=new j(f),f.precedance=t.precedance,"inherit"===f.x?f.x=t.x:"inherit"===f.y?f.y=t.y:f.x===f.y&&(f[t.precedance]=t[t.precedance])),s=f.precedance,t.precedance===O?this._swapDimensions():this._resetDimensions(),i=this.color=this._parseColours(t),i[1]!==de?(l=this.border=this._parseWidth(t,t[t.precedance]),d.border&&1>l&&(i[0]=i[1]),this.border=l=d.border!==M?d.border:l):this.border=l=0,r=this._calculateTip(f),h=this.size=this._calculateSize(t),c.css({width:h[0],height:h[1],lineHeight:h[1]+"px"}),a=t.precedance===R?[g(f.x===L?l:f.x===V?h[0]-u[0]-l:(h[0]-u[0])/2),g(f.y===B?h[1]-u[1]:0)]:[g(f.x===L?h[0]-u[0]:0),g(f.y===B?l:f.y===P?h[1]-u[1]-l:(h[1]-u[1])/2)],fe?(p.attr(I,h[0]).attr(k,h[1]),n=p[0].getContext("2d"),n.restore(),n.save(),n.clearRect(0,0,3e3,3e3),n.fillStyle=i[0],n.strokeStyle=i[1],n.lineWidth=2*l,n.translate(a[0],a[1]),n.beginPath(),n.moveTo(r[0],r[1]),n.lineTo(r[2],r[3]),n.lineTo(r[4],r[5]),n.closePath(),l&&("border-box"===tooltip.css("background-clip")&&(n.strokeStyle=i[0],n.stroke()),n.strokeStyle=i[1],n.stroke()),n.fill()):(r="m"+r[0]+","+r[1]+" l"+r[2]+","+r[3]+" "+r[4]+","+r[5]+" xe",a[2]=l&&/^(r|b)/i.test(t.string())?8===BROWSER.ie?2:1:0,p.css({coordsize:u[0]+l+" "+(u[1]+l),antialias:""+(f.string().indexOf(D)>-1),left:a[0]-a[2]*Number(s===O),top:a[1]-a[2]*Number(s===R),width:u[0]+l,height:u[1]+l}).each(function(t){var e=o(this);e[e.prop?"prop":"attr"]({coordsize:u[0]+l+" "+(u[1]+l),path:r,fillcolor:i[0],filled:!!t,stroked:!t}).toggle(!(!l&&!t)),!t&&e.html(createVML("stroke",'weight="'+2*l+'px" color="'+i[1]+'" miterlimit="1000" joinstyle="miter"'))})),e!==S&&this.calculate(t)},calculate:function(t){if(!this.enabled)return S;var e,i,s,n=this,r=this.qtip.elements,a=this.element,h=this.options.offset,l=(this.qtip.tooltip.hasClass("ui-widget"),{});return t=t||this.corner,e=t.precedance,i=this._calculateSize(t),s=[t.x,t.y],e===O&&s.reverse(),o.each(s,function(s,o){var a,c,p;o===D?(a=e===R?L:B,l[a]="50%",l[he+"-"+a]=-Math.round(i[e===R?0:1]/2)+h):(a=n._parseWidth(t,o,r.tooltip),c=n._parseWidth(t,o,r.content),p=n._parseRadius(t),l[o]=Math.max(-n.border,s?c:h+(p>a?p:-a)))}),l[t[e]]-=i[e===O?0:1],a.css({margin:"",top:"",bottom:"",left:"",right:""}).css(l),l},reposition:function(t,e,i){if(this.enabled){var o,n,r=e.cache,a=this.corner.clone(),h=i.adjusted,l=e.options.position.adjust.method.split(" "),c=l[0],p=l[1]||l[0],d={left:S,top:S,x:0,y:0},u={};this.corner.fixed!==M&&(c===F&&a.precedance===O&&h.left&&a.y!==D?a.precedance=a.precedance===O?R:O:c!==F&&h.left&&(a.x=a.x===D?h.left>0?L:V:a.x===L?V:L),p===F&&a.precedance===R&&h.top&&a.x!==D?a.precedance=a.precedance===R?O:R:p!==F&&h.top&&(a.y=a.y===D?h.top>0?B:P:a.y===B?P:B),a.string()===r.corner.string()||r.cornerTop===h.top&&r.cornerLeft===h.left||this.update(a,S)),o=this.calculate(a,h),o.right!==s&&(o.left=-o.right),o.bottom!==s&&(o.top=-o.bottom),o.user=this.offset,(d.left=c===F&&!!h.left)&&(a.x===D?u[he+"-left"]=d.x=o[he+"-left"]-h.left:(n=o.right!==s?[h.left,-o.left]:[-h.left,o.left],(d.x=Math.max(n[0],n[1]))>n[0]&&(i.left-=h.left,d.left=S),u[o.right!==s?V:L]=d.x)),(d.top=p===F&&!!h.top)&&(a.y===D?u[he+"-top"]=d.y=o[he+"-top"]-h.top:(n=o.bottom!==s?[h.top,-o.top]:[-h.top,o.top],(d.y=Math.max(n[0],n[1]))>n[0]&&(i.top-=h.top,d.top=S),u[o.bottom!==s?P:B]=d.y)),this.element.css(u).toggle(!(d.x&&d.y||a.x===D&&d.y||a.y===D&&d.x)),i.left-=o.left.charAt?o.user:c!==F||d.top||!d.left&&!d.top?o.left:0,i.top-=o.top.charAt?o.user:p!==F||d.left||!d.left&&!d.top?o.top:0,r.cornerLeft=h.left,r.cornerTop=h.top,r.corner=a.clone() -}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),ae=N.tip=function(t){return new x(t,t.options.style.tip)},ae.initialize="render",ae.sanitize=function(t){t.style&&"tip"in t.style&&(opts=t.style.tip,"object"!=typeof opts&&(opts=t.style.tip={corner:opts}),/string|boolean/i.test(typeof opts.corner)||(opts.corner=M))},z.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(t){this.size=size=[t.width,t.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},o.extend(M,T.defaults,{style:{tip:{corner:M,mimic:S,width:6,height:6,border:M,offset:0}}});var ye,be,we="qtip-modal",xe="."+we;be=function(){function i(t){if(o.expr[":"].focusable)return o.expr[":"].focusable;var e,i,s,n=!isNaN(o.attr(t,"tabindex")),r=t.nodeName&&t.nodeName.toLowerCase();return"area"===r?(e=t.parentNode,i=e.name,t.href&&i&&"map"===e.nodeName.toLowerCase()?(s=o("img[usemap=#"+i+"]")[0],!!s&&s.is(":visible")):!1):/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r?t.href||n:n}function s(t){1>p.length&&t.length?t.not("body").blur():p.first().focus()}function n(t){if(l.is(":visible")){var e,i=o(t.target),n=r.tooltip,h=i.closest(G);e=1>h.length?S:parseInt(h[0].style.zIndex,10)>parseInt(n[0].style.zIndex,10),e||i.closest(G)[0]===n[0]||s(i),a=t.target===p[p.length-1]}}var r,a,h,l,c=this,p={};o.extend(c,{init:function(){function i(){var t=o(this);l.css({height:t.height(),width:t.width()})}return l=c.elem=o("
    ",{id:"qtip-overlay",html:"
    ",mousedown:function(){return S}}).hide(),o(t).bind("resize"+xe,i),i(),o(e.body).bind("focusin"+xe,n),o(e).bind("keydown"+xe,function(t){r&&r.options.show.modal.escape&&27===t.keyCode&&r.hide(t)}),l.bind("click"+xe,function(t){r&&r.options.show.modal.blur&&r.hide(t)}),c},update:function(t){r=t,p=t.options.show.modal.stealfocus!==S?t.tooltip.find("*").filter(function(){return i(this)}):[]},toggle:function(t,i,n){var a=(o(e.body),t.tooltip),p=t.options.show.modal,d=p.effect,u=i?"show":"hide",f=l.is(":visible"),g=o(xe).filter(":visible:not(:animated)").not(a);return c.update(t),i&&p.stealfocus!==S&&s(o(":focus")),l.toggleClass("blurs",p.blur),i&&l.css({left:0,top:0}).appendTo(e.body),l.is(":animated")&&f===i&&h!==S||!i&&g.length?c:(l.stop(M,S),o.isFunction(d)?d.call(l,i):d===S?l[u]():l.fadeTo(parseInt(n,10)||90,i?1:0,function(){i||l.hide()}),i||l.queue(function(t){l.css({left:"",top:""}),o(xe).length||l.detach(),t()}),h=i,r.destroyed&&(r=E),c)}}),c.init()},be=new be,o.extend(_.prototype,{init:function(t){var e=t.tooltip;return this.options.on?(t.elements.overlay=be.elem,e.addClass(we).css("z-index",N.modal.zindex+o(xe).length),t._bind(e,["tooltipshow","tooltiphide"],function(t,i,s){var n=t.originalEvent;if(t.target===e[0])if(n&&"tooltiphide"===t.type&&/mouse(leave|enter)/.test(n.type)&&o(n.relatedTarget).closest(overlay[0]).length)try{t.preventDefault()}catch(r){}else(!n||n&&!n.solo)&&this.toggle(t,"tooltipshow"===t.type,s)},this._ns,this),t._bind(e,"tooltipfocus",function(t,i){if(!t.isDefaultPrevented()&&t.target===e[0]){var s=o(xe),n=N.modal.zindex+s.length,r=parseInt(e[0].style.zIndex,10);be.elem[0].style.zIndex=n-1,s.each(function(){this.style.zIndex>r&&(this.style.zIndex-=1)}),s.filter("."+K).qtip("blur",t.originalEvent),e.addClass(K)[0].style.zIndex=n,be.update(i);try{t.preventDefault()}catch(a){}}},this._ns,this),t._bind(e,"tooltiphide",function(t){t.target===e[0]&&o(xe).filter(":visible").not(e).last().qtip("focus",t)},this._ns,this),s):this},toggle:function(t,e,i){return t&&t.isDefaultPrevented()?this:(be.toggle(this.qtip,!!e,i),s)},destroy:function(){this.qtip.tooltip.removeClass(we),this.qtip._unbind(this.qtip.tooltip,this._ns),be.toggle(this.qtip,S),delete this.qtip.elements.overlay}}),ye=N.modal=function(t){return new _(t,t.options.show.modal)},ye.sanitize=function(t){t.show&&("object"!=typeof t.show.modal?t.show.modal={on:!!t.show.modal}:t.show.modal.on===s&&(t.show.modal.on=M))},ye.zindex=T.zindex-200,ye.initialize="render",z.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},o.extend(M,T.defaults,{show:{modal:{on:S,effect:M,blur:M,stealfocus:M,escape:M}}}),N.viewport=function(i,s,o,n,r,a,h){function l(t,e,i,o,n,r,a,h,l){var c=s[n],d=g[t],u=m[t],f=i===F,v=-_.offset[n]+x.offset[n]+x["scroll"+n],y=d===n?l:d===r?-l:-l/2,b=u===n?h:u===r?-h:-h/2,w=T&&T.size?T.size[a]||0:0,q=T&&T.corner&&T.corner.precedance===t&&!f?w:0,C=v-c+q,j=c+l-x[a]-v+q,z=y-(g.precedance===t||d===g[e]?b:0)-(u===D?h/2:0);return f?(q=T&&T.corner&&T.corner.precedance===e?w:0,z=(d===n?1:-1)*y-q,s[n]+=C>0?C:j>0?-j:0,s[n]=Math.max(-_.offset[n]+x.offset[n]+(q&&T.corner[t]===D?T.offset:0),c-z,Math.min(Math.max(-_.offset[n]+x.offset[n]+x[a],c+z),s[n]))):(o*=i===A?2:0,C>0&&(d!==n||j>0)?(s[n]-=z+o,p.invert(t,n)):j>0&&(d!==r||C>0)&&(s[n]-=(d===D?-z:z)+o,p.invert(t,r)),v>s[n]&&-s[n]>j&&(s[n]=c,p=g.clone())),s[n]-c}var c,p,d,u=o.target,f=i.elements.tooltip,g=o.my,m=o.at,v=o.adjust,y=v.method.split(" "),b=y[0],w=y[1]||y[0],x=o.viewport,_=o.container,q=i.cache,T=i.plugins.tip,C={left:0,top:0};return x.jquery&&u[0]!==t&&u[0]!==e.body&&"none"!==v.method?(c="fixed"===f.css("position"),x={elem:x,width:x[0]===t?x.width():x.outerWidth(S),height:x[0]===t?x.height():x.outerHeight(S),scrollleft:c?0:x.scrollLeft(),scrolltop:c?0:x.scrollTop(),offset:x.offset()||{left:0,top:0}},_={elem:_,scrollLeft:_.scrollLeft(),scrollTop:_.scrollTop(),offset:_.offset()||{left:0,top:0}},("shift"!==b||"shift"!==w)&&(p=g.clone()),C={left:"none"!==b?l(O,R,b,v.x,L,V,I,n,a):0,top:"none"!==w?l(R,O,w,v.y,B,P,k,r,h):0},p&&q.lastClass!==(d=$+"-pos-"+p.abbrev())&&f.removeClass(i.cache.lastClass).addClass(i.cache.lastClass=d),C):C},N.polys={polygon:function(t,e){var i,s,o,n={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:S},r=0,a=[],h=1,l=1,c=0,p=0;for(r=t.length;r--;)i=[parseInt(t[--r],10),parseInt(t[r+1],10)],i[0]>n.position.right&&(n.position.right=i[0]),i[0]n.position.bottom&&(n.position.bottom=i[1]),i[1]0&&o>0&&h>0&&l>0;)for(s=Math.floor(s/2),o=Math.floor(o/2),e.x===L?h=s:e.x===V?h=n.width-s:h+=Math.floor(s/2),e.y===B?l=o:e.y===P?l=n.height-o:l+=Math.floor(o/2),r=a.length;r--&&!(2>a.length);)c=a[r][0]-n.position.left,p=a[r][1]-n.position.top,(e.x===L&&c>=h||e.x===V&&h>=c||e.x===D&&(h>c||c>n.width-h)||e.y===B&&p>=l||e.y===P&&l>=p||e.y===D&&(l>p||p>n.height-l))&&a.splice(r,1);n.position={left:a[0][0],top:a[0][1]}}return n},rect:function(t,e,i,s){return{width:Math.abs(i-t),height:Math.abs(s-e),position:{left:Math.min(t,i),top:Math.min(e,s)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:.25,bl:.75,rc:2,lc:1,c:0},ellipse:function(t,e,i,s,o){var n=N.polys._angles[o.abbrev()],r=i*Math.cos(n*Math.PI),a=s*Math.sin(n*Math.PI);return{width:2*i-Math.abs(r),height:2*s-Math.abs(a),position:{left:t+r,top:e+a},adjustable:S}},circle:function(t,e,i,s){return N.polys.ellipse(t,e,i,i,s)}},N.svg=function(t,s,n){for(var r,a,h,l=o(e),c=s[0],p={};!c.getBBox;)c=c.parentNode;if(!c.getBBox||!c.parentNode)return S;switch(c.nodeName){case"rect":a=N.svg.toPixel(c,c.x.baseVal.value,c.y.baseVal.value),h=N.svg.toPixel(c,c.x.baseVal.value+c.width.baseVal.value,c.y.baseVal.value+c.height.baseVal.value),p=N.polys.rect(a[0],a[1],h[0],h[1],n);break;case"ellipse":case"circle":a=N.svg.toPixel(c,c.cx.baseVal.value,c.cy.baseVal.value),p=N.polys.ellipse(a[0],a[1],(c.rx||c.r).baseVal.value,(c.ry||c.r).baseVal.value,n);break;case"line":case"polygon":case"polyline":for(points=c.points||[{x:c.x1.baseVal.value,y:c.y1.baseVal.value},{x:c.x2.baseVal.value,y:c.y2.baseVal.value}],p=[],i=-1,len=points.numberOfItems||points.length;len>++i;)next=points.getItem?points.getItem(i):points[i],p.push.apply(p,N.svg.toPixel(c,next.x,next.y));p=N.polys.polygon(p,n);break;default:if(r=c.getBBox(),mtx=c.getScreenCTM(),root=c.farthestViewportElement||c,!root.createSVGPoint)return S;point=root.createSVGPoint(),point.x=r.x,point.y=r.y,tPoint=point.matrixTransform(mtx),p.position={left:tPoint.x,top:tPoint.y},point.x+=r.width,point.y+=r.height,tPoint=point.matrixTransform(mtx),p.width=tPoint.x-p.position.left,p.height=tPoint.y-p.position.top}return p.position.left+=l.scrollLeft(),p.position.top+=l.scrollTop(),p},N.svg.toPixel=function(t,e,i){var s,o,n=t.getScreenCTM(),r=t.farthestViewportElement||t;return r.createSVGPoint?(o=r.createSVGPoint(),o.x=e,o.y=i,s=o.matrixTransform(n),[s.x,s.y]):S},N.imagemap=function(t,e,i){e.jquery||(e=o(e));var s,n,r,a=e.attr("shape").toLowerCase().replace("poly","polygon"),h=o('img[usemap="#'+e.parent("map").attr("name")+'"]'),l=e.attr("coords"),c=l.split(",");if(!h.length)return S;if("polygon"===a)result=N.polys.polygon(c,i);else{if(!N.polys[a])return S;for(r=-1,len=c.length,n=[];len>++r;)n.push(parseInt(c[r],10));result=N.polys[a].apply(this,n.concat(i))}return s=h.offset(),s.left+=Math.ceil((h.outerWidth(S)-h.width())/2),s.top+=Math.ceil((h.outerHeight(S)-h.height())/2),result.position.left+=s.left,result.position.top+=s.top,result};var _e,qe='';o.extend(q.prototype,{_scroll:function(){var e=this.qtip.elements.overlay;e&&(e[0].style.top=o(t).scrollTop()+"px")},init:function(i){var s=i.tooltip;1>o("select, object").length&&(this.bgiframe=i.elements.bgiframe=o(qe).appendTo(s),i._bind(s,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=o("
    ",{id:$+"-rcontainer"}).appendTo(e.body),i.elements.overlay&&i.elements.overlay.addClass("qtipmodal-ie6fix")&&(i._bind(t,["scroll","resize"],this._scroll,this._ns,this),i._bind(s,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var t,e,i=this.qtip.tooltip,s={height:i.outerHeight(S),width:i.outerWidth(S)},o=this.qtip.plugins.tip,n=this.qtip.elements.tip;e=parseInt(i.css("borderLeftWidth"),10)||0,e={left:-e,top:-e},o&&n&&(t="x"===o.corner.precedance?[I,L]:[k,B],e[t[1]]-=n[t[0]]()),this.bgiframe.css(e).css(s)},redraw:function(){if(1>this.qtip.rendered||this.drawing)return self;var t,e,i,s,o=this.qtip.tooltip,n=this.qtip.options.style,r=this.qtip.options.position.container;return this.qtip.drawing=1,n.height&&o.css(k,n.height),n.width?o.css(I,n.width):(o.css(I,"").appendTo(this.redrawContainer),e=o.width(),1>e%2&&(e+=1),i=o.css("maxWidth")||"",s=o.css("minWidth")||"",t=(i+s).indexOf("%")>-1?r.width()/100:0,i=(i.indexOf("%")>-1?t:1)*parseInt(i,10)||e,s=(s.indexOf("%")>-1?t:1)*parseInt(s,10)||0,e=i+s?Math.min(Math.max(e,s),i):e,o.css(I,Math.round(e)).appendTo(r)),this.drawing=0,self},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([t,this.qtip.tooltip],this._ns)}}),_e=N.ie6=function(t){return 6===BROWSER.ie?new q(t):S},_e.initialize="render",z.ie6={"^content|style$":function(){this.redraw()}}})})(window,document); \ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/qtip2/qtip.97suifang.css b/97suifangqa/apps/indicator/static/plugins/qtip2/qtip.97suifang.css deleted file mode 100644 index 91f6e27..0000000 --- a/97suifangqa/apps/indicator/static/plugins/qtip2/qtip.97suifang.css +++ /dev/null @@ -1,12 +0,0 @@ -/* - * 97suifang style customizations - * for qtip2 plugin - */ - -.qtip-sf .qtip-close { - border-radius: 0; - border-width: 0; - border-style: none; - border-color: transparent; -} - diff --git a/97suifangqa/apps/indicator/static/plugins/thickbox/README b/97suifangqa/apps/indicator/static/plugins/thickbox/README deleted file mode 100644 index b829acb..0000000 --- a/97suifangqa/apps/indicator/static/plugins/thickbox/README +++ /dev/null @@ -1,20 +0,0 @@ -Before you can implement ThickBox make sure the page that invokes ThickBox has a valid DTD. This is required for ThickBox to look and function correctly. - -1. ThickBox requires the jQuery JavaScript library; because of this, you will need to include the jquery.js file in the head element of your web page, followed by the thickbox.js file (NOTE: jquery.js must come first in the source order). Example below: - - - - -Once you have included the .js files, open thickbox.js or thickbox-compressed.js and locate the tb_pathToImage variable at the top of the page. Once you have found it, make sure to change the value of tb_pathToImage to the path where the loadingAnimation.gif file is located on your own server. - -2. Include the ThickBox CSS file in your web page. As of version 3.1 you will also need to update the path to the macFFBgHack.png in the thickbox.css file. Example options below: - - - -Or - - - -Or, open the thickbox.css file and copy and paste the styles into an existing style sheet. Be aware that the ThickBox CSS file will remove the browsers default padding and margin for all elements. - -3. View the examples to learn the many different ways to use and invoke ThickBox functionality. \ No newline at end of file diff --git a/97suifangqa/apps/indicator/static/plugins/thickbox/VERSION_2.0 b/97suifangqa/apps/indicator/static/plugins/thickbox/VERSION_2.0 deleted file mode 100644 index e69de29..0000000 diff --git a/97suifangqa/apps/indicator/static/plugins/thickbox/images/loadingAnimation.gif b/97suifangqa/apps/indicator/static/plugins/thickbox/images/loadingAnimation.gif deleted file mode 100644 index 92c5c30..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/thickbox/images/loadingAnimation.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/thickbox/images/loadingAnimation2.gif b/97suifangqa/apps/indicator/static/plugins/thickbox/images/loadingAnimation2.gif deleted file mode 100644 index 82290f4..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/thickbox/images/loadingAnimation2.gif and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/thickbox/images/macFFBgHack.png b/97suifangqa/apps/indicator/static/plugins/thickbox/images/macFFBgHack.png deleted file mode 100644 index c6473b3..0000000 Binary files a/97suifangqa/apps/indicator/static/plugins/thickbox/images/macFFBgHack.png and /dev/null differ diff --git a/97suifangqa/apps/indicator/static/plugins/thickbox/thickbox.css b/97suifangqa/apps/indicator/static/plugins/thickbox/thickbox.css deleted file mode 100644 index 9cf9577..0000000 --- a/97suifangqa/apps/indicator/static/plugins/thickbox/thickbox.css +++ /dev/null @@ -1,135 +0,0 @@ -/* ----------------------------------------------------------------------------------------------------------------*/ -/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/ -/* ----------------------------------------------------------------------------------------------------------------*/ -*{padding: 0; margin: 0;} - -html, body { -min-height: 100%; -height: auto !important; -height: 100%; -} - -/* ----------------------------------------------------------------------------------------------------------------*/ -/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ -/* ----------------------------------------------------------------------------------------------------------------*/ -#TB_window { - font: 12px Arial, Helvetica, sans-serif; - color: #333333; -} - -#TB_secondLine { - font: 10px Arial, Helvetica, sans-serif; - color:#666666; -} - -#TB_window a:link {color: #666666;} -#TB_window a:visited {color: #666666;} -#TB_window a:hover {color: #000;} -#TB_window a:active {color: #666666;} -#TB_window a:focus{color: #666666;} - -/* ----------------------------------------------------------------------------------------------------------------*/ -/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/ -/* ----------------------------------------------------------------------------------------------------------------*/ -#TB_overlay { - position: absolute; - z-index:100; - width: 100%; - height: 100%; - top: 0; - left: 0; - min-height:100%; - background-color:#000; - filter:alpha(opacity=60); - -moz-opacity: 0.6; - opacity: 0.6; -} - -#TB_window { - position: absolute; - /*background: #ffffff;*/ - z-index: 102; - color:#000000; - display:none; - /*border: 4px solid #525252;*/ - text-align:left; -} - -#TB_window img { - display:block; - margin: 15px 0 0 15px; - border-right: 1px solid #ccc; - border-bottom: 1px solid #ccc; - border-top: 1px solid #666; - border-left: 1px solid #666; -} - -#TB_caption{ - height:25px; - padding:7px 30px 10px 25px; - float:left; -} - -#TB_closeWindow{ - height:25px; - padding:11px 25px 10px 0; - float:right; -} - -#TB_closeAjaxWindow{ - padding:5px 10px 7px 0; - margin-bottom:1px; - text-align:right; - float:right; -} - -#TB_ajaxWindowTitle{ - float:left; - padding:7px 0 5px 10px; - margin-bottom:1px; -} - -#TB_title{ - background-color:#e8e8e8; - height:27px; -} - -#TB_ajaxContent{ - clear:both; - padding:2px 15px 15px 15px; - overflow:auto; - text-align:left; - line-height:1.4em; -} - -#TB_ajaxContent p{ - padding:5px 0px 5px 0px; -} - -#TB_load{ - position: absolute; - display:none; - height:100px; - width:100px; - z-index:101; -} - -#TB_HideSelect{ - z-index:99; - position:absolute; - top: 0; - left: 0; - width:100%; - height:100%; - background-color:#fff; - border:none; - filter:alpha(opacity=0); - -moz-opacity: 0; - opacity: 0; -} - -#TB_iframeContent{ - border:none; - clear:both; -} - diff --git a/97suifangqa/apps/indicator/static/plugins/thickbox/thickbox.js b/97suifangqa/apps/indicator/static/plugins/thickbox/thickbox.js deleted file mode 100644 index 9b6fb06..0000000 --- a/97suifangqa/apps/indicator/static/plugins/thickbox/thickbox.js +++ /dev/null @@ -1,321 +0,0 @@ -/* - * Thickbox 2.0 - One Box To Rule Them All. - * By Cody Lindley (http://www.codylindley.com) - * Copyright (c) 2006 cody lindley - * Licensed under the MIT License: - * http://www.opensource.org/licenses/mit-license.php - * Thickbox is built on top of the very light weight jQuery library. - */ - -//on page load call TB_init -$(document).ready(function() { - // set loadingAnimation image - if (typeof parent.thickbox_loading_image !== 'undefined') { - tb_pathToImage = parent.thickbox_loading_image; - } - else if (typeof parent.static_url !== 'undefined') { - tb_pathToImage = parent.static_url + "images/loadingAnimation.gif"; - } - else { - tb_pathToImage = "images/loadingAnimation.gif"; - } - //console.log("tb_pathToImage: ", tb_pathToImage); - imgLoader = new Image();// preload image - imgLoader.src = tb_pathToImage; - // init - TB_init(); -}); - -//add thickbox to href elements that have a class of .thickbox -function TB_init(){ - //$("a.thickbox").live("click", function(){ - // '.live()' removed in jQuery 1.9 - $(document).on("click", "a.thickbox", function(){ - if(this.href == 'javascript:void(0)'){ - return false; - } - var t = this.title || this.name || null; - var g = this.rel || false; - TB_show(t, this.href, g); - this.blur(); - return false; - }); -} - -function TB_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link - try { - if (document.getElementById("TB_HideSelect") == null) { - $("body").append("
    "); - $("#TB_overlay").click(TB_remove); - } - - if(caption==null){caption=""}; - - $(window).scroll(TB_position); - - TB_overlaySize(); - - $("body").append("
    "); - TB_load_position(); - - var urlString = /\.jpg|\.jpeg|\.png|\.gif|\.html|\.htm|\.php|\.cfm|\.asp|\.aspx|\.jsp|\.jst|\.rb|\.txt|\.bmp/g; - var urlType = url.toLowerCase().match(urlString); - - // check 'url_type' query param - // django url does not have '.xxx' extensions - var queryString = url.replace(/^[^\?]+\??/,''); - var params = TB_parseQuery( queryString ); - //console.log("params['url_type']: ", params['url_type']); - var _undefined_; // local undefined - if (params['url_type'] !== _undefined_ && params['url_type'] !== '') { - urlType = params['url_type']; - } - //console.log('urlType: ', urlType); - - if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images - - TB_PrevCaption = ""; - TB_PrevURL = ""; - TB_PrevHTML = ""; - TB_NextCaption = ""; - TB_NextURL = ""; - TB_NextHTML = ""; - TB_imageCount = ""; - TB_FoundURL = false; - if(imageGroup){ - TB_TempArray = $("a[@rel="+imageGroup+"]").get(); - for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML == "")); TB_Counter++) { - var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); - if (!(TB_TempArray[TB_Counter].href == url)) { - if (TB_FoundURL) { - TB_NextCaption = TB_TempArray[TB_Counter].title; - TB_NextURL = TB_TempArray[TB_Counter].href; - TB_NextHTML = "  
    Next >"; - } else { - TB_PrevCaption = TB_TempArray[TB_Counter].title; - TB_PrevURL = TB_TempArray[TB_Counter].href; - TB_PrevHTML = "  < Prev"; - } - } else { - TB_FoundURL = true; - TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); - } - } - } - - imgPreloader = new Image(); - imgPreloader.onload = function(){ - - imgPreloader.onload = null; - - // Resizing large images - orginal by Christian Montoya edited by me. - var pagesize = TB_getPageSize(); - var x = pagesize[0] - 150; - var y = pagesize[1] - 150; - var imageWidth = imgPreloader.width; - var imageHeight = imgPreloader.height; - if (imageWidth > x) { - imageHeight = imageHeight * (x / imageWidth); - imageWidth = x; - if (imageHeight > y) { - imageWidth = imageWidth * (y / imageHeight); - imageHeight = y; - } - } else if (imageHeight > y) { - imageWidth = imageWidth * (y / imageHeight); - imageHeight = y; - if (imageWidth > x) { - imageHeight = imageHeight * (x / imageWidth); - imageWidth = x; - } - } - // End Resizing - - TB_WIDTH = imageWidth + 30; - TB_HEIGHT = imageHeight + 60; - $("#TB_window").append(""+caption+"" + "
    "+caption+"
    " + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
    "); - - $("#TB_closeWindowButton").click(TB_remove); - - if (!(TB_PrevHTML == "")) { - function goPrev(){ - if($(document).unclick(goPrev)){$(document).unclick(goPrev)}; - $("#TB_window").remove(); - $("body").append("
    "); - $(document).unkeyup(); - TB_show(TB_PrevCaption, TB_PrevURL, imageGroup); - return false; - } - - $("#TB_prev").click(goPrev); - - $(document).keyup( function(e){ var key = e.keyCode; if(key == 37){goPrev()} }); - } - - - - if (!(TB_NextHTML == "")) { - function goNext(){ - $("#TB_window").remove(); - $("body").append("
    "); - $(document).unkeyup(); - TB_show(TB_NextCaption, TB_NextURL, imageGroup); - return false; - } - - $("#TB_next").click(goNext); - - $(document).keyup( function(e){ var key = e.keyCode; if(key == 39){goNext()} }); - } - - TB_position(); - $("#TB_load").remove(); - $("#TB_ImageOff").click(TB_remove); - $("#TB_window").css({display:"block"}); //for safari using css instead of show - } - - imgPreloader.src = url; - } - - if(urlType=='.htm'||urlType=='.html'||urlType=='.php'||urlType=='.asp'||urlType=='.aspx'||urlType=='.jsp'||urlType=='.jst'||urlType=='.rb'||urlType=='.txt'||urlType=='.cfm' || (url.indexOf('TB_inline') != -1) || (url.indexOf('TB_iframe') != -1) ){//code to show html pages - - var queryString = url.replace(/^[^\?]+\??/,''); - var params = TB_parseQuery( queryString ); - - //console.log(queryString); - //console.log(params); - //TB_WIDTH = (params['width']*1) + 30 || 630; - //TB_HEIGHT = (params['height']*1) + 40 || 440; - //ajaxContentW = TB_WIDTH - 30; - //ajaxContentH = TB_HEIGHT - 45; - TB_WIDTH = (params['width']*1); - TB_HEIGHT = (params['height']*1); - ajaxContentW = TB_WIDTH; - ajaxContentH = TB_HEIGHT; - - //console.log(url); - if(params['no_title'] != "true"){ - $("#TB_window").append("
    "+caption+"
    "); - TB_HEIGHT += 27; //title height - } - if(url.indexOf('TB_iframe') != -1){ - if(url.indexOf('transfer_params') == -1){ - urlNoQuery = url.substr(0,TB_strpos(url, "?")); - urlNoTBQuery = url.split('TB_'); - }else{ - urlNoQuery = url; - } - $("#TB_window").append(""); - }else{ - $("#TB_window").append("
    "); - } - - $("#TB_closeWindowButton").click(TB_remove); - - if(url.indexOf('TB_inline') != -1){ - $("#TB_ajaxContent").html($('#' + params['inlineId']).html()); - TB_position(); - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); - }else if(url.indexOf('TB_iframe') != -1){ - TB_position(); - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); - }else{ - $("#TB_ajaxContent").load(url, function(){ - TB_position(); - $("#TB_load").remove(); - $("#TB_window").css({display:"block"}); - }); - } - - } - - $(window).resize(TB_position); - - } catch(e) { - alert( e ); - } -} - -//helper functions below - -function TB_remove() { - $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').remove();}); - $("#TB_load").remove(); - //$(document).unkeyup(); - return false; -} - -function TB_position() { - var pagesize = TB_getPageSize(); - var arrayPageScroll = TB_getPageScrollTop(); - $("#TB_window").css({height:TB_HEIGHT+"px",width:TB_WIDTH+"px",left: ((pagesize[0] - TB_WIDTH)/2)+"px", top: (arrayPageScroll[1] + ((pagesize[1]-TB_HEIGHT)/2))+"px" }); - TB_overlaySize(); -} - -function TB_overlaySize(){ - if (window.innerHeight && window.scrollMaxY) { - yScroll = window.innerHeight + window.scrollMaxY; - } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac - yScroll = document.body.scrollHeight; - } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari - yScroll = document.body.offsetHeight; - } - $("#TB_overlay").css("height",yScroll +"px"); -} - -function TB_load_position() { - var pagesize = TB_getPageSize(); - var arrayPageScroll = TB_getPageScrollTop(); - - $("#TB_load") - .css({left: ((pagesize[0] - 100)/2)+"px", top: (arrayPageScroll[1] + ((pagesize[1]-100)/2))+"px" }) - .css({display:"block"}); -} - -function TB_parseQuery ( query ) { - var Params = new Object (); - if ( ! query ) return Params; // return empty object - var Pairs = query.split(/[;&]/); - for ( var i = 0; i < Pairs.length; i++ ) { - var KeyVal = Pairs[i].split('='); - if ( ! KeyVal || KeyVal.length != 2 ) continue; - var key = unescape( KeyVal[0] ); - var val = unescape( KeyVal[1] ); - val = val.replace(/\+/g, ' '); - Params[key] = val; - } - return Params; -} - -function TB_getPageScrollTop(){ - var yScrolltop; - if (self.pageYOffset) { - yScrolltop = self.pageYOffset; - } else if (document.documentElement && document.documentElement.scrollTop){ // Explorer 6 Strict - yScrolltop = document.documentElement.scrollTop; - } else if (document.body) {// all other Explorers - yScrolltop = document.body.scrollTop; - } - arrayPageScroll = new Array('',yScrolltop) - return arrayPageScroll; -} - -function TB_getPageSize(){ - var de = document.documentElement; - var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; - var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; - - arrayPageSize = new Array(w,h) - return arrayPageSize; -} - -function TB_strpos(str, ch) { - for (var i = 0; i < str.length; i++) { - if (str.substring(i, i+1) == ch) return i; - } - return -1; -} - -// vim: set ts=4 sw=4 tw=0 fenc=utf-8 ft=javascript: // diff --git a/97suifangqa/apps/indicator/templatetags/__init__.py b/97suifangqa/apps/indicator/templatetags/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/97suifangqa/apps/indicator/templatetags/dict_get.py b/97suifangqa/apps/indicator/templatetags/dict_get.py deleted file mode 100644 index 49de3cd..0000000 --- a/97suifangqa/apps/indicator/templatetags/dict_get.py +++ /dev/null @@ -1,14 +0,0 @@ -# -*- coding: utf-8 -*- - -from django import template - -register = template.Library() - -@register.filter -def dict_get(dict, key): - """ - filter to get the value of key in the dict: - return dict[key] - """ - return dict.get(key) - diff --git a/97suifangqa/apps/indicator/templatetags/divisible_by.py b/97suifangqa/apps/indicator/templatetags/divisible_by.py deleted file mode 100644 index 96638e7..0000000 --- a/97suifangqa/apps/indicator/templatetags/divisible_by.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- - -from django import template - -register = template.Library() - -@register.filter -def divisible_by(dividend, divisor): - """ - if 'dividend' can be *exactly* divided by 'divisor', - return True; - else, return False. - - input parameters: - dividend: - divisor: - """ - if not isinstance(dividend, int): - raise ValueError(u'Error: dividend="%s" not int type' % dividend) - try: - divisor = int(divisor) - except ValueError, TypeError: - raise ValueError(u'Error: divisor="%s" cannot convert to int' - % divisor) - # - if dividend % divisor == 0: - return True - else: - return False - diff --git a/97suifangqa/apps/recommend/models.py b/97suifangqa/apps/recommend/models.py index 98ae64d..0c24c67 100644 --- a/97suifangqa/apps/recommend/models.py +++ b/97suifangqa/apps/recommend/models.py @@ -8,8 +8,12 @@ models for apps/recommend from django.db import models from django.contrib import admin +from utils.tools import format_float -class TreatRespnse(models.Model): # {{{ +import re + + +class TreatResponse(models.Model): # {{{ """ 治疗反应/结果的描述,以及结果的价值/权重 """ @@ -25,11 +29,11 @@ class TreatRespnse(models.Model): # {{{ verbose_name_plural = u"治疗反应" def __unicode__(self): - return u"< TreatRespnse: %s >" % self.name + return u"< TreatResponse: %s >" % self.name def save(self, **kwargs): if self.is_valid(): - super(TreatRespnse, self).save(**kwargs) + super(TreatResponse, self).save(**kwargs) else: return self @@ -37,14 +41,433 @@ class TreatRespnse(models.Model): # {{{ # check weight range if (self.weight < 0.0) or (self.weight > 10.0): print u"Error: weight < 0.0 / weight > 10.0" + raise ValueError(u"Error: weight<0.0 / weight>10.0") return False # return True + + def dump(self, **kwargs): + dump_data = { + 'id': self.id, + 'name': self.name, + 'description': self.description, + 'weight': self.weight, + } + return dump_data +# }}} + + +class ResearchIndicator(models.Model): # {{{ + """ + model to record the indicators which researched in the paper + """ + MEAN_TYPE = 'MEAN' + SCOPE_TYPE = 'SCOP' + KIND_TYPE = 'KIND' + DATA_TYPES = ( + (MEAN_TYPE, u'平均值'), + (SCOPE_TYPE, u'范围'), + (KIND_TYPE, u'种类'), + ) + blog = models.ForeignKey("sciblog.SciBlog", + related_name="research_indicators", + verbose_name=u"待关联文章") + indicator = models.ForeignKey("indicator.Indicator", + related_name="research_indicators", + verbose_name=u"待关联指标") + dataType = models.CharField(u"指标值类型", max_length=4, + choices=DATA_TYPES) + # datetime + created_at = models.DateTimeField(u"创建时间", auto_now_add=True) + updated_at = models.DateTimeField(u"更新时间", + auto_now_add=True, auto_now=True) + + class Meta: + verbose_name_plural = u"研究指标信息" + ordering = ['blog__id', 'indicator__id'] + + def __unicode__(self): + # cut down the length of title + blog_title = self.blog.title[:10] + return u"< ResearchIndicator: %s -> %s (type %s) >" % ( + blog_title, self.indicator.name, self.dataType) + + def save(self, **kwargs): + if self.is_valid(): + super(ResearchIndicator, self).save(**kwargs) + else: + return self + + def is_valid(self, **kwargs): # {{{ + # check dataType, which should be consistent with the + # dataType of the related indicator + ind_obj = self.indicator + ind_dataType = ind_obj.dataType + if self.dataType == self.MEAN_TYPE: + if ind_dataType not in [ind_obj.FLOAT_TYPE, ind_obj.FLOAT_RANGE_TYPE]: + raise ValueError(u"Error: dataType与Indicator不符") + return False + elif self.dataType == self.SCOPE_TYPE: + if ind_dataType not in [ind_obj.RANGE_TYPE, ind_obj.FLOAT_RANGE_TYPE]: + raise ValueError(u"Error: dataType与Indicator不符") + return False + elif self.dataType == self.KIND_TYPE: + if ind_dataType in [ind_obj.FLOAT_TYPE, + ind_obj.RANGE_TYPE, ind_obj.FLOAT_RANGE_TYPE]: + raise ValueError(u"Error: dataType与Indicator不符") + return False + else: + raise ValueError(u"Error: unknown dataType") + return False + # + return True + # }}} + + def dump(self, **kwargs): + dump_data = { + 'id': self.id, + 'blog_id': self.blog.id, + 'indicator_id': self.indicator.id, + 'indicator_name': self.indicator.name, + 'dataType': self.dataType, + } + return dump_data +# }}} + + +# class ResearchCombination(models.Model): # {{{ +# """ +# 记录文章研究的有效的指标组合 +# """ +# blog = models.ForeignKey("sciblog.SciBlog", +# related_name="research_combinations", +# verbose_name=u"待关联文章") +# combination = models.ManyToManyField("indicator.Indicator", +# related_name="research_combinations", +# verbose_name=u"研究指标组合") +# # datetime +# created_at = models.DateTimeField(u"创建时间", auto_now_add=True) +# updated_at = models.DateTimeField(u"更新时间", +# auto_now_add=True, auto_now=True) +# +# class Meta: +# verbose_name_plural = u"研究指标有效组合" +# ordering = ['blog__id'] +# +# def __unicode__(self): +# # cut down the length of title +# blog_title = self.blog.title[:10] +# combination = u'' +# for ind in self.combination: +# combination = combination + ind.name + ", " +# combination = re.sub(r',\ $', '', combination) +# return u"< ResearchCombination: %s -> (%s) >" % ( +# blog_title, combination) +# +# def save(self, **kwargs): +# if self.is_valid(): +# super(ResearchCombination, self).save(**kwargs) +# else: +# return self +# +# def is_valid(self): +# """ +# These M2M indicators must have related to the blog +# """ +# related_indicators = [ri.indicator +# for ri in self.blog.research_indicators.all()] +# for ind in self.combination: +# if ind not in related_indicators: +# raise ValueError(u"Error: 选择了未关联到该文章的指标") +# return False +# return True +# # }}} + + +# ResearchAtom {{{ +class ResearchAtom(models.Model): + """ + ???any good name??? + 用于记录某篇文章中对某个指标所分的每一个小类的具体信息 + """ + blog = models.ForeignKey("sciblog.SciBlog", + related_name="research_atoms", + verbose_name=u"待关联文章") + researchIndicator = models.ForeignKey("ResearchIndicator", + related_name="research_atoms", + verbose_name=u"文章研究指标") + ## value + # unit (XXX: only standard unit supported at the moment) + unit = models.ForeignKey("indicator.Unit", + null=True, blank=True, + related_name="research_atoms", verbose_name=u"单位") + # dataType: MEAN + mean = models.FloatField(u"平均值", null=True, blank=True) + sd = models.FloatField(u"标准值", null=True, blank=True) + # dataType: SCOP + scope_min = models.FloatField(u"范围下限", null=True, blank=True) + scope_max = models.FloatField(u"范围上限", null=True, blank=True) + # dataType: KIND + kind = models.ForeignKey("ValueKind", + null=True, blank=True, + related_name="research_atoms", verbose_name=u"种类") + ## datetime + created_at = models.DateTimeField(u"创建时间", auto_now_add=True) + updated_at = models.DateTimeField(u"更新时间", + auto_now_add=True, auto_now=True) + + class Meta: + verbose_name_plural = u"研究指标原子类" + ordering = ['blog__id', 'researchIndicator__id'] + + def __unicode__(self): + return u'< ResearchAtom: #%s %s >' % (self.id, self.display()) + + def save(self, **kwargs): + if self.is_valid(): + super(ResearchAtom, self).save(**kwargs) + else: + return self + + def is_valid(self, **kwargs): # {{{ + """ + The blog here must be consistent with the blog related to + the researchIndicator + """ + ri_obj = self.researchIndicator + dataType = ri_obj.dataType + # confine + ind_obj = ri_obj.indicator + if ind_obj.check_confine(): + confine = ind_obj.get_confine() + else: + raise ValueError(u"Error: 该指标未指定InnateConfine") + return False + # check blog id first + if self.blog.id != ri_obj.blog.id: + raise ValueError(u"Error: 关联blog错误") + return False + # check dataType and confine + if dataType == ri_obj.MEAN_TYPE: + if not (self.unit and self.unit.standard): + raise ValueError(u"Error: 单位未填写/不是标准单位") + return False + if ((self.mean is None) or (self.sd is None)): + raise ValueError(u"Error: 平均值/标准差未填写") + return False + # check with confine + # XXX: only check 'mean' at the moment; 'sd' may also needed + if (self.mean < confine['math_min']) or ( + self.mean > confine['math_max']): + raise ValueError(u"Error: 平均值超出允许范围") + return False + elif dataType == ri_obj.SCOPE_TYPE: + if not (self.unit and self.unit.standard): + raise ValueError(u"Error: 单位未填写/不是标准单位") + return False + if ((self.scope_min is None) or (self.scope_max is None)): + raise ValueError(u"Error: 范围下限/上限未填写") + return False + if (self.scope_min >= self.scope_max): + raise ValueError(u"Error: scope_min>=scope_max") + return False + # check confine + if (self.scope_min < confine['math_min']) or ( + self.scope_max > confine['math_max']): + raise ValueError(u"Error: scope_min/scope_max 超出允许范围") + return False + elif dataType == ri_obj.KIND_TYPE: + if not self.kind: + raise ValueError(u"Error: 未选择种类") + return False + else: + raise ValueError(u"Error: unknown dataType") + return False + # + return True + # }}} + + def get_value(self, **kwargs): # {{{ + ri_obj = self.researchIndicator + dataType = ri_obj.dataType + value = { + 'id': self.id, + 'dataType': dataType, + 'blog_id': self.blog.id, + } + if dataType == ri_obj.MEAN_TYPE: + value['mean'] = self.mean + value['sd'] = self.sd + value['unit'] = self.unit.dump() + elif dataType == ri_obj.SCOPE_TYPE: + value['scope_min'] = self.scope_min + value['scope_max'] = self.scope_max + value['unit'] = self.unit.dump() + elif dataType == ri_obj.KIND_TYPE: + value['kind'] = self.kind.dump() + else: + value['error'] = True + return value + # }}} + + def display(self, **kwargs): + """ + generate the display string for front page + """ + ri_obj = self.researchIndicator + ind_name = ri_obj.indicator.name + dataType = ri_obj.dataType + if dataType == ri_obj.MEAN_TYPE: + value = '%sSD%s' % (format_float(self.mean), self.sd) + elif dataType == ri_obj.SCOPE_TYPE: + value = '%s~%s' % (format_float(self.scope_min), + format_float(self.scope_max)) + elif dataType == ri_obj.KIND_TYPE: + value = '%s' % (self.kind.name) + else: + value = 'UNKNOWN' + disp_str = u'%s(%s|%s)' % (ind_name, dataType, value) + return disp_str +# }}} + + +# ResearchConfig {{{ +class ResearchConfig(models.Model): + """ + 记录某篇文章所研究的某一个具体的组合(哪几个指标的具体值) + 的治疗结果等信息 + """ + blog = models.ForeignKey("sciblog.SciBlog", + related_name="research_configs", + verbose_name=u"待关联文章") + researchAtoms = models.ManyToManyField("ResearchAtom", + related_name="research_configs", + verbose_name=u"研究指标值组合") + treatResponse = models.ForeignKey("TreatResponse", + related_name="research_configs", + verbose_name=u"治疗反应") + weight = models.FloatField(u"权重", help_text=u"范围:0-10") + # datetime + created_at = models.DateTimeField(u"创建时间", auto_now_add=True) + updated_at = models.DateTimeField(u"更新时间", + auto_now_add=True, auto_now=True) + + class Meta: + verbose_name_plural = u"研究指标值组合信息" + ordering = ['blog__id'] + + def __unicode__(self): + # XXX + info = '' + for atom in self.researchAtoms.all(): + info = '%s%s,' % (info, atom.id) + info = re.sub(r',\s*$', '', info) + return u'< ResearchConfig: #%s (Atoms: %s) -> %s >' % ( + self.id, info, self.blog.title[:10]) + + def save(self, **kwargs): + if self.is_valid(): + super(ResearchConfig, self).save(**kwargs) + else: + return self + + def is_valid(self): + """ + The blog here must be consistent with the blog related to + the researchAtoms + """ + # check weight range + if (self.weight < 0.0) or (self.weight > 10.0): + raise ValueError(u"Error: weight<0.0 / weight>10.0") + return False + #### check blog #### + ## Error: needs to have a value for field "researchconfig" before this many-to-many relationship can be used. + #for atom in self.researchAtoms.all(): + # if atom.blog.id != self.blog.id: + # raise ValueError(u"Error: 关联blog错误") + # return False + #### end #### + return True + + def is_ok(self, **kwargs): + """ + check this config whether ok or not? + i.e.: whether the data fields are valid? + """ + # check atoms + if not self.researchAtoms.all(): + return False + # check blog id + for atom in self.researchAtoms.all(): + if atom.blog.id != self.blog.id: + raise ValueError(u"Error: 关联blog错误") + return False + # + return True + + def dump(self, **kwargs): + dump_data = { + 'id': self.id, + 'blog_id': self.blog.id, + 'researchAtoms_id': [atom.id + for atom in self.researchAtoms.all()], + 'treatResponse_id': self.treatResponse.id, + 'weight': self.weight, + } + return dump_data +# }}} + + +class ValueKind(models.Model): # {{{ + """ + 记录系统所有可能使用到的"种类"值 + 并为需要使用"种类"值的地方提供可选范围(e.g.: recommend.ResearchAtom) + 使用统一的符号(symbol)来寻找及匹配 + """ + name = models.CharField(u"名称", max_length=30) + symbol = models.CharField(u"符号", max_length=30, + help_text=u"仅能使用字母、数字和下划线,最长30字符") + description = models.TextField(u"描述", blank=True) + + class Meta: + verbose_name_plural = u"可选种类" + + def __unicode__(self): + return u'< ValueKind: %s (%s) >' % (self.name, self.symbol) + + def save(self, **kwargs): + if self.is_valid(): + super(ValueKind, self).save(**kwargs) + else: + return self + + def is_valid(self): + # check symbol + sym_regex = re.compile(r'^[_0-9a-zA-Z]+$') + if sym_regex.search(self.symbol): + return True + else: + raise ValueError(u"仅能使用字母、数字和下划线,最长30字符") + return False + + def dump(self, **kwargs): + dump_data = { + 'id': self.id, + 'name': self.name, + 'symbol': self.symbol, + 'description': self.description, + } + return dump_data # }}} # admin admin.site.register([ - TreatRespnse, + TreatResponse, + ResearchIndicator, + #ResearchCombination, + ResearchAtom, + ResearchConfig, + ValueKind, ]) diff --git a/97suifangqa/apps/recommend/static/css/add_edit_blog_info.css b/97suifangqa/apps/recommend/static/css/add_edit_blog_info.css new file mode 100644 index 0000000..6d2137e --- /dev/null +++ b/97suifangqa/apps/recommend/static/css/add_edit_blog_info.css @@ -0,0 +1,107 @@ +/* + * css for 'add_edit_blog_info' page + * + * 2013/10/07 + */ + +section { + margin: 0.8em; +} + +h4 { + margin: 0.5em; +} + +p { + margin: 0.3em; +} + +section.categories { + border: 1px solid #4A4A4A; + border-radius: 2px; + padding: 0.8em; +} + +section.combinations { + border: 1px solid #4A4A4A; + border-radius: 2px; + padding: 0.8em; +} + +section.configs { + border: 1px solid #99CC33; + border-radius: 2px; + padding: 0.8em; +} + +input[type="button"], input[type="submit"] { + background-color: #99CC33; + border: 1px solid #F3F2F0; + border-radius: 3px; + box-shadow: 0 0 2px #FFFFFF; + color: #FFFFFF; + cursor: pointer; + height: 2.1em; + padding-left: 0.8em; + padding-right: 0.8em; + vertical-align: middle; +} + +input.selected[type="button"] { + background-color: #99CC33; + color: #FFFFFF; + border-color: #F3F2F0; +} + +input.unselected[type="button"] { + background-color: #FFFFFF; + color: #7E7E7E; + border-color: #4A4A4A; +} + +input[type="text"] { + width: 50px; + border-radius: 1px; + border: 1px solid #9C9C9C; +} +input.weight.valid { + border: 2px solid green; +} +input.weight.invalid { + border: 2px solid red; +} + +table { + width: 100%; +} +table th.name { + width: 70%; +} +table th.response { + width: 20%; +} +table th.weight { + width: 10%; +} +th, td { + /* border: 1px solid black; */ + padding: 0.2em; +} +table tr.odd { + background-color: #E0F0C2; +} +table tr.invalid { + background-color: #FFCCCC; +} + +select.treat_response { + border: 1px solid #9C9C9C; + background-color: #FFFFFF; + color: #000000; +} + +span.error { + background-color: #FFB3B3; + padding: 2px; +} + diff --git a/97suifangqa/apps/recommend/static/css/recommend_index.css b/97suifangqa/apps/recommend/static/css/recommend_index.css new file mode 100644 index 0000000..0039a2c --- /dev/null +++ b/97suifangqa/apps/recommend/static/css/recommend_index.css @@ -0,0 +1,21 @@ +/* + * css for 'recommend_index' page + * + * 2013/10/07 + */ + + +ul li { + padding: 4px +} + +span.has_info, .has_info a { + background-color: #B8DB70; + padding: 2px; +} + +span.error { + background-color: #FFB3B3; + padding: 2px; +} + diff --git a/97suifangqa/apps/recommend/static/javascripts/add_edit_blog_info.js b/97suifangqa/apps/recommend/static/javascripts/add_edit_blog_info.js new file mode 100644 index 0000000..1d994e5 --- /dev/null +++ b/97suifangqa/apps/recommend/static/javascripts/add_edit_blog_info.js @@ -0,0 +1,330 @@ +// +// js for 'add_edit_blog_info' page +// +// 2013/10/08 +// + +// a list contains all the configs data objects +var research_configs_list = new Array(); + +$(document).ready(function() { + // make a configs list from 'research_configs {{{ + var obj_keys = Object.keys(research_configs); + for (var i=0; i   '; + }; + $("#cate_btns").html(cate_btns_html); + // button actions + $('#cate_btns input[type="button"]').on("click", document, function() { + // unselect all buttons + //console.log(this); + $('#cate_btns input[type="button"]').removeClass("selected"); + $('#cate_btns input[type="button"]').addClass("unselected"); + $(this).removeClass("unselected"); + $(this).addClass("selected"); + // unselect buttons of combinations + $('#comb_divs input[type="button"]').removeClass("selected"); + $('#comb_divs input[type="button"]').addClass("unselected"); + // hide configs div's + $('#conf_divs .conf_comb').hide(); + // display category of combinations + var cate_id = $(this).attr('id').replace('btn_cate_', ''); + $('#comb_divs .comb').hide(); + $('#div_comb_'+cate_id).show(); + }); + // }}} + + // indicator combinations div's and buttons {{{ + var comb_divs_html = ''; + for (var i=1; i<=rind_num; i++) { + var id = 'div_comb_'+i; + comb_divs_html += '\n'; + }; + $("#comb_divs").html(comb_divs_html); + // button actions + $('#comb_divs input[type="button"]').on("click", document, function() { + // unselect all buttons + $('#comb_divs input[type="button"]').removeClass("selected"); + $('#comb_divs input[type="button"]').addClass("unselected"); + $(this).removeClass("unselected"); + $(this).addClass("selected"); + // display configs of the combination + var comb_id = $(this).attr('id'); + $('#conf_divs .conf_comb').hide(); + $('#div_conf_'+comb_id).show(); + }); + // }}} + + // config div's & info input {{{ + var conf_divs_html = ''; + for (var i=0; i
    \n'; + // table head + conf_input_html += '\n'; + conf_input_html += ''; + conf_input_html += '\n'; + // table body + conf_input_html += '\n'; + var configs = research_configs[comb.tag].configs; + //console.log(configs); + for (var j=0; j'; + // display name column + conf_tr_html += ''; + // treat response column (prompt & select input) + conf_tr_html += ''; + // weight column + conf_tr_html += ''; + // + conf_tr_html += '\n'; + conf_input_html += conf_tr_html; + }; + conf_input_html += '\n
    ' + conf.display + '' + treat_responses_objs.name + ': 权重:
    '; + //console.log(conf_input_html); + conf_divs_html += conf_input_html + '\n\n'; + }; + $("#conf_divs").html(conf_divs_html); + // }}} + + // treat response select {{{ + $("select.treat_response").each(function() { + // add options for 'select' + var select_html = ''; + // add empty value + select_html += '\n'; + for (var i=0; i' + tr.name + '\n'; + } + $(this).html(select_html); + }); + // }}} + + // validate weight {{{ + $("input.weight").on("validate", null, function(e) { + e.stopPropagation(); + var value = $(this).val(); + var number = parseFloat(value); + if (value == "") { + $(this).removeClass("valid invalid"); + } + else if (isNaN(number)) { + $(this).removeClass("valid"); + $(this).addClass("invalid"); + } + else if (number<0.0 || number>10.0) { + $(this).removeClass("valid"); + $(this).addClass("invalid"); + } + else { + $(this).removeClass("invalid"); + $(this).addClass("valid"); + } + }); + $("input.weight").on("change", null, function() { + $(this).trigger("validate"); + }); + // }}} + + // validate tr conf {{{ + // if only one of the 'treat_response' or 'weight' has data + // then 'invalid' + $("tr.conf").on("validate", null, function(e) { + e.stopPropagation(); + var weight_jq = $(this).find("input.weight"); + var response_jq = $(this).find("select.treat_response"); + //console.log(weight_jq); + // NOTES: + // only trigger 'validate' of '.weight' element, when + // the event originated on any element apart from '.weight' + // REF: http://stackoverflow.com/questions/5967923/jquery-trigger-click-gives-too-much-recursion + if (! $(e.target).is(".weight")) { + weight_jq.trigger("validate"); + } + if (weight_jq.hasClass("invalid")) { + $(this).addClass("invalid"); + } + // only one of the 'treat_response' or 'weight' has data + if (weight_jq.val() !== '' && response_jq.val() === '') { + $(this).addClass("invalid"); + } + else if (weight_jq.val() === '' && response_jq.val() !== '') { + $(this).addClass("invalid"); + } + }); + // }}} + + // fill provided configs data {{{ + $("tr.conf").each(function() { + var conf_id = $(this).attr('id'); + var conf_obj = get_config_obj(conf_id); + if (conf_obj.hasOwnProperty('id')) { + // this config already in database + var tr_id = conf_obj.treatResponse_id; + $(this).find('select>option.tr'+tr_id).prop('selected', true); + $(this).find('.weight').val(conf_obj.weight); + // validate tr config + $(this).trigger('validate'); + } + }); + // }}} + + + // back_to_list button {{{ + $("#back_to_list").bind("click", function() { + var msg = '注意:当前页面未保存的信息将会丢失。是否继续?'; + var ans = confirm(msg); + if (ans) { + window.location.href = recommend_index_url; + } + else { + return false; + } + }); + // }}} + + // submit info button {{{ + $("#submit_info").on("click", null, function() { + // validate tr conf data + $("tr.conf").trigger("validate"); + if ($("tr.conf.invalid").length) { + alert('存在有错误数据的行,请更正后再提交'); + return false; + } + // collect conf data + var configs_list = new Array(); + $("tr.conf").each(function() { + var conf_id = $(this).attr('id'); + var conf_obj = get_config_obj(conf_id); + // get config data + var weight_jq = $(this).find("input.weight"); + var response_jq = $(this).find("select.treat_response"); + var weight = weight_jq.val(); + var tr_id = response_jq.val().replace('id', ''); + // + if (conf_obj.hasOwnProperty('id')) { + if (weight === '' && tr_id === '') { + // delete config + conf_obj['action'] = 'delete'; + conf_obj['weight'] = null; + conf_obj['treatResponse_id'] = null; + } + else { + // edit config + conf_obj['action'] = 'edit'; + conf_obj['weight'] = parseFloat(weight); + conf_obj['treatResponse_id'] = parseInt(tr_id); + } + } + else { + if (weight !== '' && tr_id !== '') { + // add config + conf_obj['action'] = 'add'; + conf_obj['weight'] = parseFloat(weight); + conf_obj['treatResponse_id'] = parseInt(tr_id); + } + else { + // null config + conf_obj['action'] = null; + conf_obj['weight'] = null; + conf_obj['treatResponse_id'] = null; + } + } + // push config data + configs_list.push(conf_obj); + }); + //console.log(configs_list); + + // ajax post configs data {{{ + var time = moment().valueOf(); + $.ajax({ + type: 'post', + url: recommend_url + 'ajax/add_edit_configs/', + data: { + csrfmiddlewaretoken: document.getElementsByName('csrfmiddlewaretoken')[0].value, + configs_list: JSON.stringify(configs_list), + blog_id: blog_id, + time: time + }, + dataType: 'json', + success: function(dataJson) { + if (dataJson.failed == true) { + // submit failed + alert('Error: submit failed'); + return false; + } + else { + alert('submit successful'); + // reload page (do not use cache) + location.reload(true); + } + } + }); + // }}} + }); + // }}} +}); + + +// generate value for combination button +// sort id list by magnitude +function get_comb_btn_value(rid_list) { + // sort id list numerically (smallest first) + rid_list.sort(function(a, b) { return a-b }); + var value = ''; + for (var i=0; i +{% endblock %} + +{% block scripts %} + + + + + +{% endblock %} + +{% block page %} + {% csrf_token %} + +

    添加文章信息

    + +
    + id: {{ blog.id }} +
    + title: {{ blog.title }} +
    + +
    + +   |   + +
    + +
    + +
    +
    + +
    + +
    +
    + +
    + +
    +
    + +
    +

    说明

    +

    权重: 浮点数,范围 0-10

    +
    +{% endblock page %} + +{# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/recommend/templates/recommend/add_edit_blog_info_error.html b/97suifangqa/apps/recommend/templates/recommend/add_edit_blog_info_error.html new file mode 100644 index 0000000..e1a6434 --- /dev/null +++ b/97suifangqa/apps/recommend/templates/recommend/add_edit_blog_info_error.html @@ -0,0 +1,66 @@ +{% extends "base.html" %} +{% load static from staticfiles %} +{% load dict_get %} + +{% block title %} +添加文章信息 | admin | 97 随访 +{% endblock %} + +{% block css %} + +{% endblock %} + +{% block scripts %} + +{% endblock %} + +{% block page %} +

    错误 | 添加文章信息

    + +
    + id: {{ blog.id }} +
    + title: {{ blog.title }} +
    + +
    + + 该文章未添加关联的研究指标"ResearchIndicator" + ({{ ResearchIndicatorName }}) + +
    + +
    + + 该文章关联的以下研究指标"ResearchIndicator" + 没有添加原子分类"ResearchAtom"({{ ResearchAtomName }}) + + {% if no_indicator_atom %} +
      + {% for ri in no_atom_ri %} +
    • {{ ri|dict_get:"display" }} (id={{ ri|dict_get:"id" }})
    • + {% endfor %} +
    + {% endif %} +
    + +
    + + 未添加全局的治疗反应"TreatResponse"({{ TreatResponseName }}) + +
    + +
    + +
    + +{% endblock page %} + +{# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/recommend/templates/recommend/recommend_index.html b/97suifangqa/apps/recommend/templates/recommend/recommend_index.html new file mode 100644 index 0000000..fd05bf3 --- /dev/null +++ b/97suifangqa/apps/recommend/templates/recommend/recommend_index.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} +{% load static from staticfiles %} +{% load dict_get %} + +{% block title %} +文章列表 | admin | 97 随访 +{% endblock %} + +{% block css %} + +{% endblock %} + +{% block page %} +

    文章列表 | 添加文章信息

    + +

    图例:已添加信息

    + + +{% endblock page %} + +{# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/recommend/tools.py b/97suifangqa/apps/recommend/tools.py new file mode 100644 index 0000000..3b98c1f --- /dev/null +++ b/97suifangqa/apps/recommend/tools.py @@ -0,0 +1,81 @@ +# -*- coding: utf-8 -*- +# +# tools for apps/recommend +# + +from django.db.models import Count + +from recommend import models as rm + +import re + + +def make_tag(ids=[], tag='tag', sep='_'): # {{{ + """ + make tag by using given list of ids + + if 'ids' is a list of integers, then sort them by magnitude + """ + if isinstance(ids, tuple): + ids = list(ids) + # check list element type + all_ints = all(isinstance(item, int) for item in ids) + if all_ints: + # sort ints by magnitude + ids.sort() + # + tag_name = tag + for id in ids: + tag_name = '%s%s%s' % (tag_name, sep, id) + return tag_name +# }}} + + +def get_research_config(atoms=[]): # {{{ + """ + return the found ResearchConfig object + by filtering on the given atoms list + """ + if not atoms: + return False + # convert id list to obj list + if isinstance(atoms[0], int): + atoms = [rm.ResearchAtom.objects.get(id=id) for id in atoms] + qs = rm.ResearchConfig.objects.annotate(c=Count('researchAtoms'))\ + .filter(c=len(atoms)) + for atom in atoms: + qs = qs.filter(researchAtoms=atom) + if not qs: + return None + elif len(qs) == 1: + return qs[0] + else: + return False +# }}} + + +def make_config_display(atoms=[]): # {{{ + """ + make a display string for the given config + """ + disp_str = u'' + if not atoms: + return disp_str + # convert to list + if isinstance(atoms, tuple): + atoms = list(atoms) + # check list element type + all_ints = all(isinstance(item, int) for item in atoms) + if all_ints: + # sort ints by magnitude and convert to objects list + atoms.sort() + atoms = [rm.ResearchAtom.objects.get(id=id) for id in atoms] + # + for atom in atoms: + disp_str = '%s%s | ' % (disp_str, atom.display()) + disp_str = re.sub(r'(^\s*\|\s*)|(\s*\|\s*$)', '', disp_str) + # + return disp_str +# }}} + + diff --git a/97suifangqa/apps/recommend/urls.py b/97suifangqa/apps/recommend/urls.py index 09dfed4..ad540d8 100644 --- a/97suifangqa/apps/recommend/urls.py +++ b/97suifangqa/apps/recommend/urls.py @@ -14,5 +14,14 @@ urlpatterns = patterns('recommend.views', url(r'^$', 'recommend_index', name='recommend_index'), + # add/edit blog info + url(r'add_edit/blog/(?P[1-9][0-9]*)/$', + 'add_edit_blog_info', + name='add_edit_blog_info'), + ## ajax + # add/edit configs + url(r'ajax/add_edit_configs/', + 'ajax_add_edit_configs', + name='ajax_add_edit_configs'), ) diff --git a/97suifangqa/apps/recommend/views.py b/97suifangqa/apps/recommend/views.py index 02d5616..d3294a2 100644 --- a/97suifangqa/apps/recommend/views.py +++ b/97suifangqa/apps/recommend/views.py @@ -4,14 +4,237 @@ views for apps/recommend """ -from django.http import HttpResponse, HttpResponseRedirect, HttpResponseForbidden, Http404 +import itertools +try: + import json +except ImportError: + from django.utils import simplejson as json + +from django.http import ( + HttpResponse, HttpResponseRedirect, + HttpResponseForbidden, Http404 +) +from django.views.defaults import permission_denied from django.shortcuts import render, get_object_or_404 +from django.contrib.auth.decorators import login_required + +from recommend import models as rm +from sciblog.models import SciBlog +from tools import make_tag, get_research_config, make_config_display -# index +# index {{{ def recommend_index(request): """ index view for apps/recommend """ - return HttpResponse("recommend index") + template_name = 'recommend/recommend_index.html' + blogs = SciBlog.objects.all().order_by('id') + blog_list = [] + for blog in blogs: + if blog.research_configs.all(): + has_info = True + else: + has_info = False + b = { + 'id': blog.id, + 'title': blog.title, + 'has_info': has_info, + } + blog_list.append(b) + # + context = { + 'blog_list': blog_list, + } + return render(request, template_name, context) +# }}} + + +# add_edit_blog_info {{{ +@login_required +def add_edit_blog_info(request, blog_id=None): + """ + add/edit the infomation (used to recommend blog for user) + of the given blog + + ONLY *STAFF* ALLOWED + """ + template_name = 'recommend/add_edit_blog_info.html' + template_name_error = 'recommend/add_edit_blog_info_error.html' + context_error = { + 'no_indicator': False, + 'no_indicator_atom': False, + 'no_treat_response': False, + 'ResearchIndicatorName': rm.ResearchIndicator._meta.verbose_name_plural, + 'ResearchAtomName': rm.ResearchAtom._meta.verbose_name_plural, + 'TreatResponseName': rm.TreatResponse._meta.verbose_name_plural, + } + # check user type + if not request.user.is_staff: + #return permission_denied(request) + html = """ +

    403 Forbidden

    +

    ONLY *STAFF* ALLOWED

    + """ + return HttpResponseForbidden(html) + ## blog object + try: + blog_id = int(blog_id) + blog_obj = get_object_or_404(SciBlog, id=blog_id) + except ValueError: + raise ValueError(u"Error: blog_id='%s'错误" % blog_id) + except SciBlog.DoesNotExist: + raise ValueError(u"Error: SciBlog id='%s'不存在" % blog_id) + context_error['blog'] = blog_obj + ## research indicators & check + r_indicators = blog_obj.research_indicators.all() + r_indicators_id = [ri.id for ri in r_indicators] + rind_num = len(r_indicators) + # check indicator + if rind_num == 0: + context_error['no_indicator'] = True + return render(request, template_name_error, context_error) + # check indicator research atoms + no_atom_ri = [] + for ri in r_indicators: + if not ri.research_atoms.all(): + context_error['no_indicator_atom'] = True + no_atom_ri.append({ + 'id': ri.id, + 'display': ri.__unicode__(), + }) + # + if context_error['no_indicator_atom']: + context_error['no_atom_ri'] = no_atom_ri + return render(request, template_name_error, context_error) + # treat response & check + treat_responses = rm.TreatResponse.objects.all() + if not treat_responses: + context_error['no_treat_response'] = True + return render(request, template_name_error, context_error) + else: + treat_responses_list = [tr.dump() for tr in treat_responses] + treat_responses_objs = {'name': rm.TreatResponse._meta.verbose_name_plural} + for tr in treat_responses: + id = tr.id + treat_responses_objs['id%s'%id] = tr.dump() + ## research indicator numbers (categories by number) + rind_categories = {} + for i in range(1, rind_num+1): + comb = list(itertools.combinations(r_indicators_id, i)) + # tag all combinations + comb_tagged = [] + for c in comb: + tag = make_tag(ids=c, tag='comb') + comb_tagged.append({'tag': tag, 'data': c}) + rind_categories['N%s'%i] = comb_tagged + # dump used research indicators + rind_objs = {} + for id in r_indicators_id: + ri_obj = get_object_or_404(rm.ResearchIndicator, id=id) + ri_data = ri_obj.dump() + # atoms + ri_data['atoms_id'] = [atom.id + for atom in ri_obj.research_atoms.all()] + rind_objs['id%s'%id] = ri_data + ## research configs + rind_combs = [] + for ric in rind_categories.values(): + rind_combs = rind_combs + ric + # + research_configs = {} + for ric in rind_combs: + key = ric['tag'] + atoms_id_list = [] + for id in ric['data']: + atoms_id_list.append(rind_objs['id%s'%id]['atoms_id']) + # itertools to generate combinations + configs = list(itertools.product(*atoms_id_list)) + configs_tagged = [] + # generate config data for front page + for conf in configs: + config_obj = get_research_config(atoms=conf) + if config_obj: + config_data = config_obj.dump() + else: + config_data = {} + tag = make_tag(ids=conf, tag='conf') + display = make_config_display(atoms=conf) + config_data.update({ + 'tag': tag, + 'data': conf, + 'display': display, + }) + configs_tagged.append(config_data) + # TODO + data = { + 'rind_ids': list(ric['data']), + 'configs': configs_tagged, + } + research_configs[key] = data + ## context + context = { + 'blog': blog_obj, + 'rind_num': rind_num, + 'rind_objs_json': json.dumps(rind_objs), + 'rind_combs_json': json.dumps(rind_combs), + 'rind_categories_json': json.dumps(rind_categories), + 'research_configs_json': json.dumps(research_configs), + 'treat_responses_list_json': json.dumps(treat_responses_list), + 'treat_responses_objs_json': json.dumps(treat_responses_objs), + } + return render(request, template_name, context) +# }}} + + +# ajax add_edit_configs {{{ +@login_required +def ajax_add_edit_configs(request): + """ + response to the ajax post configs data + """ + data = {'failed': True} + if request.is_ajax() and request.method == 'POST': + #print request.POST.dict() + configs_list = json.loads(request.POST.get('configs_list')) + blog_id = int(request.POST.get('blog_id')) + blog_obj = get_object_or_404(SciBlog, id=blog_id) + #print configs_list + for conf in configs_list: + if conf['action'] == 'add': + # add config + tr_obj = get_object_or_404(rm.TreatResponse, + id=conf['treatResponse_id']) + new_conf_obj = rm.ResearchConfig.objects.create( + blog=blog_obj, treatResponse=tr_obj, + weight=conf['weight']) + new_conf_obj.save() + # add m2m researchAtoms + for atom_id in conf['data']: + atom_obj = get_object_or_404(rm.ResearchAtom, + id=atom_id) + new_conf_obj.researchAtoms.add(atom_obj) + new_conf_obj.save() + elif conf['action'] == 'delete': + # delete config + conf_obj = get_object_or_404(rm.ResearchConfig, + id=conf['id']) + conf_obj.delete() + elif conf['action'] == 'edit': + # edit config + conf_obj = get_object_or_404(rm.ResearchConfig, + id=conf['id']) + conf_obj.weight = conf['weight'] + tr_obj = get_object_or_404(rm.TreatResponse, + id=conf['treatResponse_id']) + conf_obj.treatResponse = tr_obj + conf_obj.save() + else: + # action==None / unknown action + pass + data = {'failed': False} + # + return HttpResponse(json.dumps(data), mimetype='application/json') +# }}} + diff --git a/97suifangqa/apps/sciblog/managers.py b/97suifangqa/apps/sciblog/managers.py index ae6beb3..8ec0773 100644 --- a/97suifangqa/apps/sciblog/managers.py +++ b/97suifangqa/apps/sciblog/managers.py @@ -10,13 +10,13 @@ class AnnotationManager(models.Manager): u''' 获取段落注释 ''' - return self.filter(type = 0) + return self.filter(type = self.PARAGRAPH) def propernouns(self): u''' 获取专有名词 ''' - return self.filter(type = 1) + return self.filter(type = self.PROPER_NOUN) def all_json(self, user = AnonymousUser()): u''' diff --git a/97suifangqa/apps/sciblog/models.py b/97suifangqa/apps/sciblog/models.py index 8c8d0cf..48f8a09 100644 --- a/97suifangqa/apps/sciblog/models.py +++ b/97suifangqa/apps/sciblog/models.py @@ -4,10 +4,8 @@ from django.db import models from django.contrib import admin from django.contrib.auth.models import User from utils import get_abstract -from .managers import * - -# Create your models here. +from sciblog.managers import * # SciBlog {{{ @@ -368,6 +366,9 @@ class UserCollection(models.Model): # UserCollection }}} +## NOTES: should place at the end models +from sciblog import signals + admin.site.register([ Source, Reference, diff --git a/97suifangqa/apps/sciblog/signals.py b/97suifangqa/apps/sciblog/signals.py index 03e1968..b2b2ce9 100644 --- a/97suifangqa/apps/sciblog/signals.py +++ b/97suifangqa/apps/sciblog/signals.py @@ -2,8 +2,10 @@ from django.db.models.signals import pre_save, m2m_changed from django.dispatch import receiver -from models import SciBlog, BlogAnnotation, ResultContent, Reference, BaseLine,\ - ClinicCondition, KnowledgePiece, Guideline, EndPoint +from sciblog.models import ( + SciBlog, BlogAnnotation, ResultContent, Reference, BaseLine, + ClinicCondition, KnowledgePiece, Guideline, EndPoint +) import re diff --git a/97suifangqa/apps/sfaccount/templates/sfaccount/login.html b/97suifangqa/apps/sfaccount/templates/sfaccount/login.html index 6e3be80..46e4bb6 100644 --- a/97suifangqa/apps/sfaccount/templates/sfaccount/login.html +++ b/97suifangqa/apps/sfaccount/templates/sfaccount/login.html @@ -55,6 +55,6 @@   |   忘记密码?

    -{% endblock body%} +{% endblock body %} {# vim: set ts=2 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/97suifangqa/apps/sfaccount/views.py b/97suifangqa/apps/sfaccount/views.py index 014dc32..0d26cc2 100644 --- a/97suifangqa/apps/sfaccount/views.py +++ b/97suifangqa/apps/sfaccount/views.py @@ -17,6 +17,8 @@ from sfaccount.forms import ( SFEmailForm, ) +import re + # email address shown in the sent mail FROM_EMAIL = getattr(settings, 'SF_EMAIL').get('display_from') @@ -89,7 +91,7 @@ def activate_view(request, activation_key=None): # ask user for the 'activation_key' activate_key_url = reverse('activate_key', kwargs={'activation_key': 'XXX'}) - activate_key_url = activate_key_url.replace('XXX/', '') + activate_key_url = re.sub(r'XXX/$', '', activate_key_url) data = {'activate_key_url': activate_key_url} return render(request, 'sfaccount/activate.html', data) # }}} diff --git a/97suifangqa/apps/utils/templatetags/__init__.py b/97suifangqa/apps/utils/templatetags/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/97suifangqa/apps/utils/templatetags/dict_get.py b/97suifangqa/apps/utils/templatetags/dict_get.py new file mode 100644 index 0000000..49de3cd --- /dev/null +++ b/97suifangqa/apps/utils/templatetags/dict_get.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- + +from django import template + +register = template.Library() + +@register.filter +def dict_get(dict, key): + """ + filter to get the value of key in the dict: + return dict[key] + """ + return dict.get(key) + diff --git a/97suifangqa/apps/utils/templatetags/divisible_by.py b/97suifangqa/apps/utils/templatetags/divisible_by.py new file mode 100644 index 0000000..96638e7 --- /dev/null +++ b/97suifangqa/apps/utils/templatetags/divisible_by.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- + +from django import template + +register = template.Library() + +@register.filter +def divisible_by(dividend, divisor): + """ + if 'dividend' can be *exactly* divided by 'divisor', + return True; + else, return False. + + input parameters: + dividend: + divisor: + """ + if not isinstance(dividend, int): + raise ValueError(u'Error: dividend="%s" not int type' % dividend) + try: + divisor = int(divisor) + except ValueError, TypeError: + raise ValueError(u'Error: divisor="%s" cannot convert to int' + % divisor) + # + if dividend % divisor == 0: + return True + else: + return False + diff --git a/97suifangqa/apps/utils/tools.py b/97suifangqa/apps/utils/tools.py new file mode 100644 index 0000000..33cf012 --- /dev/null +++ b/97suifangqa/apps/utils/tools.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +# +# generic tools for apps +# + + +def format_float(number): # {{{ + """ + format the display style of a float number + """ + threshold_min = 0.001 + threshold_max = 9999.9 + fix_fmt = '{:,.1f}' # comma as a thousands separator + exp_fmt = '{:.1e}' + # + if isinstance(number, int) or isinstance(number, float): + #return type(number) + pass + else: + return False + # + if (number > threshold_max) or (number < threshold_min): + str = exp_fmt.format(number) + else: + str = fix_fmt.format(number) + # + return str +# }}} + + diff --git a/97suifangqa/fixtures/initial_data.json b/97suifangqa/fixtures/initial_data.json index 642a166..6961b2f 100644 --- a/97suifangqa/fixtures/initial_data.json +++ b/97suifangqa/fixtures/initial_data.json @@ -1,4 +1,1948 @@ [ + { + "pk": 19, + "model": "auth.permission", + "fields": { + "codename": "add_logentry", + "name": "Can add log entry", + "content_type": 7 + } + }, + { + "pk": 20, + "model": "auth.permission", + "fields": { + "codename": "change_logentry", + "name": "Can change log entry", + "content_type": 7 + } + }, + { + "pk": 21, + "model": "auth.permission", + "fields": { + "codename": "delete_logentry", + "name": "Can delete log entry", + "content_type": 7 + } + }, + { + "pk": 4, + "model": "auth.permission", + "fields": { + "codename": "add_group", + "name": "Can add group", + "content_type": 2 + } + }, + { + "pk": 5, + "model": "auth.permission", + "fields": { + "codename": "change_group", + "name": "Can change group", + "content_type": 2 + } + }, + { + "pk": 6, + "model": "auth.permission", + "fields": { + "codename": "delete_group", + "name": "Can delete group", + "content_type": 2 + } + }, + { + "pk": 1, + "model": "auth.permission", + "fields": { + "codename": "add_permission", + "name": "Can add permission", + "content_type": 1 + } + }, + { + "pk": 2, + "model": "auth.permission", + "fields": { + "codename": "change_permission", + "name": "Can change permission", + "content_type": 1 + } + }, + { + "pk": 3, + "model": "auth.permission", + "fields": { + "codename": "delete_permission", + "name": "Can delete permission", + "content_type": 1 + } + }, + { + "pk": 7, + "model": "auth.permission", + "fields": { + "codename": "add_user", + "name": "Can add user", + "content_type": 3 + } + }, + { + "pk": 8, + "model": "auth.permission", + "fields": { + "codename": "change_user", + "name": "Can change user", + "content_type": 3 + } + }, + { + "pk": 9, + "model": "auth.permission", + "fields": { + "codename": "delete_user", + "name": "Can delete user", + "content_type": 3 + } + }, + { + "pk": 10, + "model": "auth.permission", + "fields": { + "codename": "add_contenttype", + "name": "Can add content type", + "content_type": 4 + } + }, + { + "pk": 11, + "model": "auth.permission", + "fields": { + "codename": "change_contenttype", + "name": "Can change content type", + "content_type": 4 + } + }, + { + "pk": 12, + "model": "auth.permission", + "fields": { + "codename": "delete_contenttype", + "name": "Can delete content type", + "content_type": 4 + } + }, + { + "pk": 31, + "model": "auth.permission", + "fields": { + "codename": "add_crontabschedule", + "name": "Can add crontab", + "content_type": 11 + } + }, + { + "pk": 32, + "model": "auth.permission", + "fields": { + "codename": "change_crontabschedule", + "name": "Can change crontab", + "content_type": 11 + } + }, + { + "pk": 33, + "model": "auth.permission", + "fields": { + "codename": "delete_crontabschedule", + "name": "Can delete crontab", + "content_type": 11 + } + }, + { + "pk": 28, + "model": "auth.permission", + "fields": { + "codename": "add_intervalschedule", + "name": "Can add interval", + "content_type": 10 + } + }, + { + "pk": 29, + "model": "auth.permission", + "fields": { + "codename": "change_intervalschedule", + "name": "Can change interval", + "content_type": 10 + } + }, + { + "pk": 30, + "model": "auth.permission", + "fields": { + "codename": "delete_intervalschedule", + "name": "Can delete interval", + "content_type": 10 + } + }, + { + "pk": 37, + "model": "auth.permission", + "fields": { + "codename": "add_periodictask", + "name": "Can add periodic task", + "content_type": 13 + } + }, + { + "pk": 38, + "model": "auth.permission", + "fields": { + "codename": "change_periodictask", + "name": "Can change periodic task", + "content_type": 13 + } + }, + { + "pk": 39, + "model": "auth.permission", + "fields": { + "codename": "delete_periodictask", + "name": "Can delete periodic task", + "content_type": 13 + } + }, + { + "pk": 34, + "model": "auth.permission", + "fields": { + "codename": "add_periodictasks", + "name": "Can add periodic tasks", + "content_type": 12 + } + }, + { + "pk": 35, + "model": "auth.permission", + "fields": { + "codename": "change_periodictasks", + "name": "Can change periodic tasks", + "content_type": 12 + } + }, + { + "pk": 36, + "model": "auth.permission", + "fields": { + "codename": "delete_periodictasks", + "name": "Can delete periodic tasks", + "content_type": 12 + } + }, + { + "pk": 22, + "model": "auth.permission", + "fields": { + "codename": "add_taskmeta", + "name": "Can add task state", + "content_type": 8 + } + }, + { + "pk": 23, + "model": "auth.permission", + "fields": { + "codename": "change_taskmeta", + "name": "Can change task state", + "content_type": 8 + } + }, + { + "pk": 24, + "model": "auth.permission", + "fields": { + "codename": "delete_taskmeta", + "name": "Can delete task state", + "content_type": 8 + } + }, + { + "pk": 25, + "model": "auth.permission", + "fields": { + "codename": "add_tasksetmeta", + "name": "Can add saved group result", + "content_type": 9 + } + }, + { + "pk": 26, + "model": "auth.permission", + "fields": { + "codename": "change_tasksetmeta", + "name": "Can change saved group result", + "content_type": 9 + } + }, + { + "pk": 27, + "model": "auth.permission", + "fields": { + "codename": "delete_tasksetmeta", + "name": "Can delete saved group result", + "content_type": 9 + } + }, + { + "pk": 43, + "model": "auth.permission", + "fields": { + "codename": "add_taskstate", + "name": "Can add task", + "content_type": 15 + } + }, + { + "pk": 44, + "model": "auth.permission", + "fields": { + "codename": "change_taskstate", + "name": "Can change task", + "content_type": 15 + } + }, + { + "pk": 45, + "model": "auth.permission", + "fields": { + "codename": "delete_taskstate", + "name": "Can delete task", + "content_type": 15 + } + }, + { + "pk": 40, + "model": "auth.permission", + "fields": { + "codename": "add_workerstate", + "name": "Can add worker", + "content_type": 14 + } + }, + { + "pk": 41, + "model": "auth.permission", + "fields": { + "codename": "change_workerstate", + "name": "Can change worker", + "content_type": 14 + } + }, + { + "pk": 42, + "model": "auth.permission", + "fields": { + "codename": "delete_workerstate", + "name": "Can delete worker", + "content_type": 14 + } + }, + { + "pk": 139, + "model": "auth.permission", + "fields": { + "codename": "add_chart", + "name": "Can add chart", + "content_type": 47 + } + }, + { + "pk": 140, + "model": "auth.permission", + "fields": { + "codename": "change_chart", + "name": "Can change chart", + "content_type": 47 + } + }, + { + "pk": 141, + "model": "auth.permission", + "fields": { + "codename": "delete_chart", + "name": "Can delete chart", + "content_type": 47 + } + }, + { + "pk": 136, + "model": "auth.permission", + "fields": { + "codename": "add_figure", + "name": "Can add figure", + "content_type": 46 + } + }, + { + "pk": 137, + "model": "auth.permission", + "fields": { + "codename": "change_figure", + "name": "Can change figure", + "content_type": 46 + } + }, + { + "pk": 138, + "model": "auth.permission", + "fields": { + "codename": "delete_figure", + "name": "Can delete figure", + "content_type": 46 + } + }, + { + "pk": 142, + "model": "auth.permission", + "fields": { + "codename": "add_followupcurve", + "name": "Can add followup curve", + "content_type": 48 + } + }, + { + "pk": 143, + "model": "auth.permission", + "fields": { + "codename": "change_followupcurve", + "name": "Can change followup curve", + "content_type": 48 + } + }, + { + "pk": 144, + "model": "auth.permission", + "fields": { + "codename": "delete_followupcurve", + "name": "Can delete followup curve", + "content_type": 48 + } + }, + { + "pk": 145, + "model": "auth.permission", + "fields": { + "codename": "add_valuesofxyz", + "name": "Can add values of xyz", + "content_type": 49 + } + }, + { + "pk": 146, + "model": "auth.permission", + "fields": { + "codename": "change_valuesofxyz", + "name": "Can change values of xyz", + "content_type": 49 + } + }, + { + "pk": 147, + "model": "auth.permission", + "fields": { + "codename": "delete_valuesofxyz", + "name": "Can delete values of xyz", + "content_type": 49 + } + }, + { + "pk": 160, + "model": "auth.permission", + "fields": { + "codename": "add_indicator", + "name": "Can add indicator", + "content_type": 54 + } + }, + { + "pk": 161, + "model": "auth.permission", + "fields": { + "codename": "change_indicator", + "name": "Can change indicator", + "content_type": 54 + } + }, + { + "pk": 162, + "model": "auth.permission", + "fields": { + "codename": "delete_indicator", + "name": "Can delete indicator", + "content_type": 54 + } + }, + { + "pk": 157, + "model": "auth.permission", + "fields": { + "codename": "add_indicatorcategory", + "name": "Can add indicator category", + "content_type": 53 + } + }, + { + "pk": 158, + "model": "auth.permission", + "fields": { + "codename": "change_indicatorcategory", + "name": "Can change indicator category", + "content_type": 53 + } + }, + { + "pk": 159, + "model": "auth.permission", + "fields": { + "codename": "delete_indicatorcategory", + "name": "Can delete indicator category", + "content_type": 53 + } + }, + { + "pk": 166, + "model": "auth.permission", + "fields": { + "codename": "add_indicatorrecord", + "name": "Can add indicator record", + "content_type": 56 + } + }, + { + "pk": 167, + "model": "auth.permission", + "fields": { + "codename": "change_indicatorrecord", + "name": "Can change indicator record", + "content_type": 56 + } + }, + { + "pk": 168, + "model": "auth.permission", + "fields": { + "codename": "delete_indicatorrecord", + "name": "Can delete indicator record", + "content_type": 56 + } + }, + { + "pk": 175, + "model": "auth.permission", + "fields": { + "codename": "add_innateconfine", + "name": "Can add innate confine", + "content_type": 59 + } + }, + { + "pk": 176, + "model": "auth.permission", + "fields": { + "codename": "change_innateconfine", + "name": "Can change innate confine", + "content_type": 59 + } + }, + { + "pk": 177, + "model": "auth.permission", + "fields": { + "codename": "delete_innateconfine", + "name": "Can delete innate confine", + "content_type": 59 + } + }, + { + "pk": 169, + "model": "auth.permission", + "fields": { + "codename": "add_recordhistory", + "name": "Can add record history", + "content_type": 57 + } + }, + { + "pk": 170, + "model": "auth.permission", + "fields": { + "codename": "change_recordhistory", + "name": "Can change record history", + "content_type": 57 + } + }, + { + "pk": 171, + "model": "auth.permission", + "fields": { + "codename": "delete_recordhistory", + "name": "Can delete record history", + "content_type": 57 + } + }, + { + "pk": 181, + "model": "auth.permission", + "fields": { + "codename": "add_relatedindicator", + "name": "Can add related indicator", + "content_type": 61 + } + }, + { + "pk": 182, + "model": "auth.permission", + "fields": { + "codename": "change_relatedindicator", + "name": "Can change related indicator", + "content_type": 61 + } + }, + { + "pk": 183, + "model": "auth.permission", + "fields": { + "codename": "delete_relatedindicator", + "name": "Can delete related indicator", + "content_type": 61 + } + }, + { + "pk": 178, + "model": "auth.permission", + "fields": { + "codename": "add_statisticalconfine", + "name": "Can add statistical confine", + "content_type": 60 + } + }, + { + "pk": 179, + "model": "auth.permission", + "fields": { + "codename": "change_statisticalconfine", + "name": "Can change statistical confine", + "content_type": 60 + } + }, + { + "pk": 180, + "model": "auth.permission", + "fields": { + "codename": "delete_statisticalconfine", + "name": "Can delete statistical confine", + "content_type": 60 + } + }, + { + "pk": 172, + "model": "auth.permission", + "fields": { + "codename": "add_unit", + "name": "Can add unit", + "content_type": 58 + } + }, + { + "pk": 173, + "model": "auth.permission", + "fields": { + "codename": "change_unit", + "name": "Can change unit", + "content_type": 58 + } + }, + { + "pk": 174, + "model": "auth.permission", + "fields": { + "codename": "delete_unit", + "name": "Can delete unit", + "content_type": 58 + } + }, + { + "pk": 163, + "model": "auth.permission", + "fields": { + "codename": "add_userindicator", + "name": "Can add user indicator", + "content_type": 55 + } + }, + { + "pk": 164, + "model": "auth.permission", + "fields": { + "codename": "change_userindicator", + "name": "Can change user indicator", + "content_type": 55 + } + }, + { + "pk": 165, + "model": "auth.permission", + "fields": { + "codename": "delete_userindicator", + "name": "Can delete user indicator", + "content_type": 55 + } + }, + { + "pk": 79, + "model": "auth.permission", + "fields": { + "codename": "add_blogqueryrelation", + "name": "Can add blog query relation", + "content_type": 27 + } + }, + { + "pk": 80, + "model": "auth.permission", + "fields": { + "codename": "change_blogqueryrelation", + "name": "Can change blog query relation", + "content_type": 27 + } + }, + { + "pk": 81, + "model": "auth.permission", + "fields": { + "codename": "delete_blogqueryrelation", + "name": "Can delete blog query relation", + "content_type": 27 + } + }, + { + "pk": 64, + "model": "auth.permission", + "fields": { + "codename": "add_keyword", + "name": "Can add key word", + "content_type": 22 + } + }, + { + "pk": 65, + "model": "auth.permission", + "fields": { + "codename": "change_keyword", + "name": "Can change key word", + "content_type": 22 + } + }, + { + "pk": 66, + "model": "auth.permission", + "fields": { + "codename": "delete_keyword", + "name": "Can delete key word", + "content_type": 22 + } + }, + { + "pk": 67, + "model": "auth.permission", + "fields": { + "codename": "add_query", + "name": "Can add query", + "content_type": 23 + } + }, + { + "pk": 68, + "model": "auth.permission", + "fields": { + "codename": "change_query", + "name": "Can change query", + "content_type": 23 + } + }, + { + "pk": 69, + "model": "auth.permission", + "fields": { + "codename": "delete_query", + "name": "Can delete query", + "content_type": 23 + } + }, + { + "pk": 73, + "model": "auth.permission", + "fields": { + "codename": "add_queryqueryrelation", + "name": "Can add query query relation", + "content_type": 25 + } + }, + { + "pk": 74, + "model": "auth.permission", + "fields": { + "codename": "change_queryqueryrelation", + "name": "Can change query query relation", + "content_type": 25 + } + }, + { + "pk": 75, + "model": "auth.permission", + "fields": { + "codename": "delete_queryqueryrelation", + "name": "Can delete query query relation", + "content_type": 25 + } + }, + { + "pk": 76, + "model": "auth.permission", + "fields": { + "codename": "add_wordqueryrelation", + "name": "Can add word query relation", + "content_type": 26 + } + }, + { + "pk": 77, + "model": "auth.permission", + "fields": { + "codename": "change_wordqueryrelation", + "name": "Can change word query relation", + "content_type": 26 + } + }, + { + "pk": 78, + "model": "auth.permission", + "fields": { + "codename": "delete_wordqueryrelation", + "name": "Can delete word query relation", + "content_type": 26 + } + }, + { + "pk": 70, + "model": "auth.permission", + "fields": { + "codename": "add_wordwordrelation", + "name": "Can add word word relation", + "content_type": 24 + } + }, + { + "pk": 71, + "model": "auth.permission", + "fields": { + "codename": "change_wordwordrelation", + "name": "Can change word word relation", + "content_type": 24 + } + }, + { + "pk": 72, + "model": "auth.permission", + "fields": { + "codename": "delete_wordwordrelation", + "name": "Can delete word word relation", + "content_type": 24 + } + }, + { + "pk": 190, + "model": "auth.permission", + "fields": { + "codename": "add_city", + "name": "Can add city", + "content_type": 64 + } + }, + { + "pk": 191, + "model": "auth.permission", + "fields": { + "codename": "change_city", + "name": "Can change city", + "content_type": 64 + } + }, + { + "pk": 192, + "model": "auth.permission", + "fields": { + "codename": "delete_city", + "name": "Can delete city", + "content_type": 64 + } + }, + { + "pk": 187, + "model": "auth.permission", + "fields": { + "codename": "add_hospital", + "name": "Can add hospital", + "content_type": 63 + } + }, + { + "pk": 188, + "model": "auth.permission", + "fields": { + "codename": "change_hospital", + "name": "Can change hospital", + "content_type": 63 + } + }, + { + "pk": 189, + "model": "auth.permission", + "fields": { + "codename": "delete_hospital", + "name": "Can delete hospital", + "content_type": 63 + } + }, + { + "pk": 184, + "model": "auth.permission", + "fields": { + "codename": "add_location", + "name": "Can add location", + "content_type": 62 + } + }, + { + "pk": 185, + "model": "auth.permission", + "fields": { + "codename": "change_location", + "name": "Can change location", + "content_type": 62 + } + }, + { + "pk": 186, + "model": "auth.permission", + "fields": { + "codename": "delete_location", + "name": "Can delete location", + "content_type": 62 + } + }, + { + "pk": 193, + "model": "auth.permission", + "fields": { + "codename": "add_nation", + "name": "Can add nation", + "content_type": 65 + } + }, + { + "pk": 194, + "model": "auth.permission", + "fields": { + "codename": "change_nation", + "name": "Can change nation", + "content_type": 65 + } + }, + { + "pk": 195, + "model": "auth.permission", + "fields": { + "codename": "delete_nation", + "name": "Can delete nation", + "content_type": 65 + } + }, + { + "pk": 154, + "model": "auth.permission", + "fields": { + "codename": "add_company", + "name": "Can add company", + "content_type": 52 + } + }, + { + "pk": 155, + "model": "auth.permission", + "fields": { + "codename": "change_company", + "name": "Can change company", + "content_type": 52 + } + }, + { + "pk": 156, + "model": "auth.permission", + "fields": { + "codename": "delete_company", + "name": "Can delete company", + "content_type": 52 + } + }, + { + "pk": 148, + "model": "auth.permission", + "fields": { + "codename": "add_medicine", + "name": "Can add medicine", + "content_type": 50 + } + }, + { + "pk": 149, + "model": "auth.permission", + "fields": { + "codename": "change_medicine", + "name": "Can change medicine", + "content_type": 50 + } + }, + { + "pk": 150, + "model": "auth.permission", + "fields": { + "codename": "delete_medicine", + "name": "Can delete medicine", + "content_type": 50 + } + }, + { + "pk": 151, + "model": "auth.permission", + "fields": { + "codename": "add_specification", + "name": "Can add specification", + "content_type": 51 + } + }, + { + "pk": 152, + "model": "auth.permission", + "fields": { + "codename": "change_specification", + "name": "Can change specification", + "content_type": 51 + } + }, + { + "pk": 153, + "model": "auth.permission", + "fields": { + "codename": "delete_specification", + "name": "Can delete specification", + "content_type": 51 + } + }, + { + "pk": 211, + "model": "auth.permission", + "fields": { + "codename": "add_noting", + "name": "Can add noting", + "content_type": 71 + } + }, + { + "pk": 212, + "model": "auth.permission", + "fields": { + "codename": "change_noting", + "name": "Can change noting", + "content_type": 71 + } + }, + { + "pk": 213, + "model": "auth.permission", + "fields": { + "codename": "delete_noting", + "name": "Can delete noting", + "content_type": 71 + } + }, + { + "pk": 199, + "model": "auth.permission", + "fields": { + "codename": "add_profile", + "name": "Can add profile", + "content_type": 67 + } + }, + { + "pk": 200, + "model": "auth.permission", + "fields": { + "codename": "change_profile", + "name": "Can change profile", + "content_type": 67 + } + }, + { + "pk": 201, + "model": "auth.permission", + "fields": { + "codename": "delete_profile", + "name": "Can delete profile", + "content_type": 67 + } + }, + { + "pk": 208, + "model": "auth.permission", + "fields": { + "codename": "add_readevent", + "name": "Can add read event", + "content_type": 70 + } + }, + { + "pk": 209, + "model": "auth.permission", + "fields": { + "codename": "change_readevent", + "name": "Can change read event", + "content_type": 70 + } + }, + { + "pk": 210, + "model": "auth.permission", + "fields": { + "codename": "delete_readevent", + "name": "Can delete read event", + "content_type": 70 + } + }, + { + "pk": 202, + "model": "auth.permission", + "fields": { + "codename": "add_userhospitalitem", + "name": "Can add user hospital item", + "content_type": 68 + } + }, + { + "pk": 203, + "model": "auth.permission", + "fields": { + "codename": "change_userhospitalitem", + "name": "Can change user hospital item", + "content_type": 68 + } + }, + { + "pk": 204, + "model": "auth.permission", + "fields": { + "codename": "delete_userhospitalitem", + "name": "Can delete user hospital item", + "content_type": 68 + } + }, + { + "pk": 214, + "model": "auth.permission", + "fields": { + "codename": "add_userlevellog", + "name": "Can add user level log", + "content_type": 72 + } + }, + { + "pk": 215, + "model": "auth.permission", + "fields": { + "codename": "change_userlevellog", + "name": "Can change user level log", + "content_type": 72 + } + }, + { + "pk": 216, + "model": "auth.permission", + "fields": { + "codename": "delete_userlevellog", + "name": "Can delete user level log", + "content_type": 72 + } + }, + { + "pk": 205, + "model": "auth.permission", + "fields": { + "codename": "add_userreadinglog", + "name": "Can add user reading log", + "content_type": 69 + } + }, + { + "pk": 206, + "model": "auth.permission", + "fields": { + "codename": "change_userreadinglog", + "name": "Can change user reading log", + "content_type": 69 + } + }, + { + "pk": 207, + "model": "auth.permission", + "fields": { + "codename": "delete_userreadinglog", + "name": "Can delete user reading log", + "content_type": 69 + } + }, + { + "pk": 55, + "model": "auth.permission", + "fields": { + "codename": "add_researchatom", + "name": "Can add research atom", + "content_type": 19 + } + }, + { + "pk": 56, + "model": "auth.permission", + "fields": { + "codename": "change_researchatom", + "name": "Can change research atom", + "content_type": 19 + } + }, + { + "pk": 57, + "model": "auth.permission", + "fields": { + "codename": "delete_researchatom", + "name": "Can delete research atom", + "content_type": 19 + } + }, + { + "pk": 52, + "model": "auth.permission", + "fields": { + "codename": "add_researchcombination", + "name": "Can add research combination", + "content_type": 18 + } + }, + { + "pk": 53, + "model": "auth.permission", + "fields": { + "codename": "change_researchcombination", + "name": "Can change research combination", + "content_type": 18 + } + }, + { + "pk": 54, + "model": "auth.permission", + "fields": { + "codename": "delete_researchcombination", + "name": "Can delete research combination", + "content_type": 18 + } + }, + { + "pk": 58, + "model": "auth.permission", + "fields": { + "codename": "add_researchconfig", + "name": "Can add research config", + "content_type": 20 + } + }, + { + "pk": 59, + "model": "auth.permission", + "fields": { + "codename": "change_researchconfig", + "name": "Can change research config", + "content_type": 20 + } + }, + { + "pk": 60, + "model": "auth.permission", + "fields": { + "codename": "delete_researchconfig", + "name": "Can delete research config", + "content_type": 20 + } + }, + { + "pk": 49, + "model": "auth.permission", + "fields": { + "codename": "add_researchindicator", + "name": "Can add research indicator", + "content_type": 17 + } + }, + { + "pk": 50, + "model": "auth.permission", + "fields": { + "codename": "change_researchindicator", + "name": "Can change research indicator", + "content_type": 17 + } + }, + { + "pk": 51, + "model": "auth.permission", + "fields": { + "codename": "delete_researchindicator", + "name": "Can delete research indicator", + "content_type": 17 + } + }, + { + "pk": 46, + "model": "auth.permission", + "fields": { + "codename": "add_treatresponse", + "name": "Can add treat response", + "content_type": 16 + } + }, + { + "pk": 47, + "model": "auth.permission", + "fields": { + "codename": "change_treatresponse", + "name": "Can change treat response", + "content_type": 16 + } + }, + { + "pk": 48, + "model": "auth.permission", + "fields": { + "codename": "delete_treatresponse", + "name": "Can delete treat response", + "content_type": 16 + } + }, + { + "pk": 61, + "model": "auth.permission", + "fields": { + "codename": "add_valuekind", + "name": "Can add value kind", + "content_type": 21 + } + }, + { + "pk": 62, + "model": "auth.permission", + "fields": { + "codename": "change_valuekind", + "name": "Can change value kind", + "content_type": 21 + } + }, + { + "pk": 63, + "model": "auth.permission", + "fields": { + "codename": "delete_valuekind", + "name": "Can delete value kind", + "content_type": 21 + } + }, + { + "pk": 109, + "model": "auth.permission", + "fields": { + "codename": "add_baseline", + "name": "Can add base line", + "content_type": 37 + } + }, + { + "pk": 110, + "model": "auth.permission", + "fields": { + "codename": "change_baseline", + "name": "Can change base line", + "content_type": 37 + } + }, + { + "pk": 111, + "model": "auth.permission", + "fields": { + "codename": "delete_baseline", + "name": "Can delete base line", + "content_type": 37 + } + }, + { + "pk": 97, + "model": "auth.permission", + "fields": { + "codename": "add_blogannotation", + "name": "Can add blog annotation", + "content_type": 33 + } + }, + { + "pk": 98, + "model": "auth.permission", + "fields": { + "codename": "change_blogannotation", + "name": "Can change blog annotation", + "content_type": 33 + } + }, + { + "pk": 99, + "model": "auth.permission", + "fields": { + "codename": "delete_blogannotation", + "name": "Can delete blog annotation", + "content_type": 33 + } + }, + { + "pk": 106, + "model": "auth.permission", + "fields": { + "codename": "add_cliniccondition", + "name": "Can add clinic condition", + "content_type": 36 + } + }, + { + "pk": 107, + "model": "auth.permission", + "fields": { + "codename": "change_cliniccondition", + "name": "Can change clinic condition", + "content_type": 36 + } + }, + { + "pk": 108, + "model": "auth.permission", + "fields": { + "codename": "delete_cliniccondition", + "name": "Can delete clinic condition", + "content_type": 36 + } + }, + { + "pk": 103, + "model": "auth.permission", + "fields": { + "codename": "add_endpoint", + "name": "Can add end point", + "content_type": 35 + } + }, + { + "pk": 104, + "model": "auth.permission", + "fields": { + "codename": "change_endpoint", + "name": "Can change end point", + "content_type": 35 + } + }, + { + "pk": 105, + "model": "auth.permission", + "fields": { + "codename": "delete_endpoint", + "name": "Can delete end point", + "content_type": 35 + } + }, + { + "pk": 100, + "model": "auth.permission", + "fields": { + "codename": "add_guideline", + "name": "Can add guideline", + "content_type": 34 + } + }, + { + "pk": 101, + "model": "auth.permission", + "fields": { + "codename": "change_guideline", + "name": "Can change guideline", + "content_type": 34 + } + }, + { + "pk": 102, + "model": "auth.permission", + "fields": { + "codename": "delete_guideline", + "name": "Can delete guideline", + "content_type": 34 + } + }, + { + "pk": 94, + "model": "auth.permission", + "fields": { + "codename": "add_knowledgepiece", + "name": "Can add knowledge piece", + "content_type": 32 + } + }, + { + "pk": 95, + "model": "auth.permission", + "fields": { + "codename": "change_knowledgepiece", + "name": "Can change knowledge piece", + "content_type": 32 + } + }, + { + "pk": 96, + "model": "auth.permission", + "fields": { + "codename": "delete_knowledgepiece", + "name": "Can delete knowledge piece", + "content_type": 32 + } + }, + { + "pk": 91, + "model": "auth.permission", + "fields": { + "codename": "add_reference", + "name": "Can add reference", + "content_type": 31 + } + }, + { + "pk": 92, + "model": "auth.permission", + "fields": { + "codename": "change_reference", + "name": "Can change reference", + "content_type": 31 + } + }, + { + "pk": 93, + "model": "auth.permission", + "fields": { + "codename": "delete_reference", + "name": "Can delete reference", + "content_type": 31 + } + }, + { + "pk": 85, + "model": "auth.permission", + "fields": { + "codename": "add_resultcontent", + "name": "Can add result content", + "content_type": 29 + } + }, + { + "pk": 86, + "model": "auth.permission", + "fields": { + "codename": "change_resultcontent", + "name": "Can change result content", + "content_type": 29 + } + }, + { + "pk": 87, + "model": "auth.permission", + "fields": { + "codename": "delete_resultcontent", + "name": "Can delete result content", + "content_type": 29 + } + }, + { + "pk": 82, + "model": "auth.permission", + "fields": { + "codename": "add_sciblog", + "name": "Can add sci blog", + "content_type": 28 + } + }, + { + "pk": 83, + "model": "auth.permission", + "fields": { + "codename": "change_sciblog", + "name": "Can change sci blog", + "content_type": 28 + } + }, + { + "pk": 84, + "model": "auth.permission", + "fields": { + "codename": "delete_sciblog", + "name": "Can delete sci blog", + "content_type": 28 + } + }, + { + "pk": 88, + "model": "auth.permission", + "fields": { + "codename": "add_source", + "name": "Can add source", + "content_type": 30 + } + }, + { + "pk": 89, + "model": "auth.permission", + "fields": { + "codename": "change_source", + "name": "Can change source", + "content_type": 30 + } + }, + { + "pk": 90, + "model": "auth.permission", + "fields": { + "codename": "delete_source", + "name": "Can delete source", + "content_type": 30 + } + }, + { + "pk": 112, + "model": "auth.permission", + "fields": { + "codename": "add_usercollection", + "name": "Can add user collection", + "content_type": 38 + } + }, + { + "pk": 113, + "model": "auth.permission", + "fields": { + "codename": "change_usercollection", + "name": "Can change user collection", + "content_type": 38 + } + }, + { + "pk": 114, + "model": "auth.permission", + "fields": { + "codename": "delete_usercollection", + "name": "Can delete user collection", + "content_type": 38 + } + }, + { + "pk": 13, + "model": "auth.permission", + "fields": { + "codename": "add_session", + "name": "Can add session", + "content_type": 5 + } + }, + { + "pk": 14, + "model": "auth.permission", + "fields": { + "codename": "change_session", + "name": "Can change session", + "content_type": 5 + } + }, + { + "pk": 15, + "model": "auth.permission", + "fields": { + "codename": "delete_session", + "name": "Can delete session", + "content_type": 5 + } + }, + { + "pk": 196, + "model": "auth.permission", + "fields": { + "codename": "add_account", + "name": "Can add account", + "content_type": 66 + } + }, + { + "pk": 197, + "model": "auth.permission", + "fields": { + "codename": "change_account", + "name": "Can change account", + "content_type": 66 + } + }, + { + "pk": 198, + "model": "auth.permission", + "fields": { + "codename": "delete_account", + "name": "Can delete account", + "content_type": 66 + } + }, + { + "pk": 16, + "model": "auth.permission", + "fields": { + "codename": "add_site", + "name": "Can add site", + "content_type": 6 + } + }, + { + "pk": 17, + "model": "auth.permission", + "fields": { + "codename": "change_site", + "name": "Can change site", + "content_type": 6 + } + }, + { + "pk": 18, + "model": "auth.permission", + "fields": { + "codename": "delete_site", + "name": "Can delete site", + "content_type": 6 + } + }, + { + "pk": 118, + "model": "auth.permission", + "fields": { + "codename": "add_age", + "name": "Can add age", + "content_type": 40 + } + }, + { + "pk": 119, + "model": "auth.permission", + "fields": { + "codename": "change_age", + "name": "Can change age", + "content_type": 40 + } + }, + { + "pk": 120, + "model": "auth.permission", + "fields": { + "codename": "delete_age", + "name": "Can delete age", + "content_type": 40 + } + }, + { + "pk": 130, + "model": "auth.permission", + "fields": { + "codename": "add_baselineitem", + "name": "Can add base line item", + "content_type": 44 + } + }, + { + "pk": 131, + "model": "auth.permission", + "fields": { + "codename": "change_baselineitem", + "name": "Can change base line item", + "content_type": 44 + } + }, + { + "pk": 132, + "model": "auth.permission", + "fields": { + "codename": "delete_baselineitem", + "name": "Can delete base line item", + "content_type": 44 + } + }, + { + "pk": 121, + "model": "auth.permission", + "fields": { + "codename": "add_genderstatistic", + "name": "Can add gender statistic", + "content_type": 41 + } + }, + { + "pk": 122, + "model": "auth.permission", + "fields": { + "codename": "change_genderstatistic", + "name": "Can change gender statistic", + "content_type": 41 + } + }, + { + "pk": 123, + "model": "auth.permission", + "fields": { + "codename": "delete_genderstatistic", + "name": "Can delete gender statistic", + "content_type": 41 + } + }, + { + "pk": 127, + "model": "auth.permission", + "fields": { + "codename": "add_resistancehistory", + "name": "Can add resistance history", + "content_type": 43 + } + }, + { + "pk": 128, + "model": "auth.permission", + "fields": { + "codename": "change_resistancehistory", + "name": "Can change resistance history", + "content_type": 43 + } + }, + { + "pk": 129, + "model": "auth.permission", + "fields": { + "codename": "delete_resistancehistory", + "name": "Can delete resistance history", + "content_type": 43 + } + }, + { + "pk": 133, + "model": "auth.permission", + "fields": { + "codename": "add_result", + "name": "Can add result", + "content_type": 45 + } + }, + { + "pk": 134, + "model": "auth.permission", + "fields": { + "codename": "change_result", + "name": "Can change result", + "content_type": 45 + } + }, + { + "pk": 135, + "model": "auth.permission", + "fields": { + "codename": "delete_result", + "name": "Can delete result", + "content_type": 45 + } + }, + { + "pk": 115, + "model": "auth.permission", + "fields": { + "codename": "add_sample", + "name": "Can add sample", + "content_type": 39 + } + }, + { + "pk": 116, + "model": "auth.permission", + "fields": { + "codename": "change_sample", + "name": "Can change sample", + "content_type": 39 + } + }, + { + "pk": 117, + "model": "auth.permission", + "fields": { + "codename": "delete_sample", + "name": "Can delete sample", + "content_type": 39 + } + }, + { + "pk": 124, + "model": "auth.permission", + "fields": { + "codename": "add_treatmenthistory", + "name": "Can add treatment history", + "content_type": 42 + } + }, + { + "pk": 125, + "model": "auth.permission", + "fields": { + "codename": "change_treatmenthistory", + "name": "Can change treatment history", + "content_type": 42 + } + }, + { + "pk": 126, + "model": "auth.permission", + "fields": { + "codename": "delete_treatmenthistory", + "name": "Can delete treatment history", + "content_type": 42 + } + }, { "pk": 1, "model": "auth.user", diff --git a/97suifangqa/isuifangqa.db b/97suifangqa/isuifangqa.db index 1f13435..3b35a22 100644 Binary files a/97suifangqa/isuifangqa.db and b/97suifangqa/isuifangqa.db differ diff --git a/97suifangqa/settings.py b/97suifangqa/settings.py index 9dda171..0ddda3d 100644 --- a/97suifangqa/settings.py +++ b/97suifangqa/settings.py @@ -157,7 +157,8 @@ INSTALLED_APPS = ( 'sciblog', 'info', 'recommend', - #'97suifangqa', + # 'utils' app, which places tools may be used for other apps + 'utils', ) LOGIN_REDIRECT_URL = '/blog/index' diff --git a/97suifangqa/staticfiles/images/down_arrow_select.jpg b/97suifangqa/staticfiles/images/down_arrow_select.jpg new file mode 100644 index 0000000..a3a7535 Binary files /dev/null and b/97suifangqa/staticfiles/images/down_arrow_select.jpg differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/datepicker.css b/97suifangqa/staticfiles/plugins/datepicker/datepicker.css new file mode 100644 index 0000000..45b7bfc --- /dev/null +++ b/97suifangqa/staticfiles/plugins/datepicker/datepicker.css @@ -0,0 +1,383 @@ +/* + * jQuery UI CSS Framework 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + +/* + * jQuery UI CSS Framework 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + * + * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px + */ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; } +.ui-widget .ui-widget { font-size: 1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; } +.ui-widget-content a { color: #333333; } +.ui-widget-header { border: 1px solid #b8db71; background: #99CC33; color: #ffffff; font-weight: bold; } +.ui-widget-header a { color: #ffffff; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #4c4948; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #006699; background: #cce0eb; font-weight: bold; color: #006699; } +.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; } +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; } +.ui-widget :active { outline: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; } +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); } +.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; } +.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } + +/* Overlays */ +.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); } +.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/* + * jQuery UI Resizable 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Resizable#theming + */ +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; } +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* + * jQuery UI Selectable 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Selectable#theming + */ +.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } +/* + * jQuery UI Datepicker 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Datepicker#theming + */ +.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } +.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; cursor: pointer;} +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } +.ui-datepicker .ui-datepicker-prev { left:2px; } +.ui-datepicker .ui-datepicker-next { right:2px; } +.ui-datepicker .ui-datepicker-prev-hover { left:1px; } +.ui-datepicker .ui-datepicker-next-hover { right:1px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } +.ui-datepicker select.ui-datepicker-month-year {width: 100%;} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { width: 49%;} +.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker td { border: 0; padding: 1px; } +.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } +.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } +.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { width:auto; } +.ui-datepicker-multi .ui-datepicker-group { float:left; } +.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } +.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } +.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } +.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } +.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } + +/* RTL support */ +.ui-datepicker-rtl { direction: rtl; } +.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } + +/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker-cover { + display: none; /*sorry for IE5*/ + display/**/: block; /*sorry for IE5*/ + position: absolute; /*must have*/ + z-index: -1; /*must have*/ + filter: mask(); /*must have*/ + top: -4px; /*must have*/ + left: -4px; /*must have*/ + width: 200px; /*must have*/ + height: 200px; /*must have*/ +} \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/datepicker/datepicker.js b/97suifangqa/staticfiles/plugins/datepicker/datepicker.js new file mode 100644 index 0000000..8370ab4 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/datepicker/datepicker.js @@ -0,0 +1,5257 @@ +/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a, b) { + function d(b) { + return ! a(b).parents().andSelf().filter(function() { + return a.curCSS(this, "visibility") === "hidden" || a.expr.filters.hidden(this) + }).length + } + function c(b, c) { + var e = b.nodeName.toLowerCase(); + if ("area" === e) { + var f = b.parentNode, + g = f.name, + h; + if (!b.href || !g || f.nodeName.toLowerCase() !== "map") return ! 1; + h = a("img[usemap=#" + g + "]")[0]; + return !! h && d(h) + } + return (/input|select|textarea|button|object/.test(e) ? !b.disabled: "a" == e ? b.href || c: c) && d(b) + } + a.ui = a.ui || {}; + a.ui.version || (a.extend(a.ui, { + version: "1.8.18", + keyCode: { + ALT: 18, + BACKSPACE: 8, + CAPS_LOCK: 20, + COMMA: 188, + COMMAND: 91, + COMMAND_LEFT: 91, + COMMAND_RIGHT: 93, + CONTROL: 17, + DELETE: 46, + DOWN: 40, + END: 35, + ENTER: 13, + ESCAPE: 27, + HOME: 36, + INSERT: 45, + LEFT: 37, + MENU: 93, + NUMPAD_ADD: 107, + NUMPAD_DECIMAL: 110, + NUMPAD_DIVIDE: 111, + NUMPAD_ENTER: 108, + NUMPAD_MULTIPLY: 106, + NUMPAD_SUBTRACT: 109, + PAGE_DOWN: 34, + PAGE_UP: 33, + PERIOD: 190, + RIGHT: 39, + SHIFT: 16, + SPACE: 32, + TAB: 9, + UP: 38, + WINDOWS: 91 + } + }), a.fn.extend({ + propAttr: a.fn.prop || a.fn.attr, + _focus: a.fn.focus, + focus: function(b, c) { + return typeof b == "number" ? this.each(function() { + var d = this; + setTimeout(function() { + a(d).focus(), + c && c.call(d) + }, + b) + }) : this._focus.apply(this, arguments) + }, + scrollParent: function() { + var b; + a.browser.msie && /(static|relative)/.test(this.css("position")) || /absolute/.test(this.css("position")) ? b = this.parents().filter(function() { + return /(relative|absolute|fixed)/.test(a.curCSS(this, "position", 1)) && /(auto|scroll)/.test(a.curCSS(this, "overflow", 1) + a.curCSS(this, "overflow-y", 1) + a.curCSS(this, "overflow-x", 1)) + }).eq(0) : b = this.parents().filter(function() { + return /(auto|scroll)/.test(a.curCSS(this, "overflow", 1) + a.curCSS(this, "overflow-y", 1) + a.curCSS(this, "overflow-x", 1)) + }).eq(0); + return /fixed/.test(this.css("position")) || !b.length ? a(document) : b + }, + zIndex: function(c) { + if (c !== b) return this.css("zIndex", c); + if (this.length) { + var d = a(this[0]), + e, + f; + while (d.length && d[0] !== document) { + e = d.css("position"); + if (e === "absolute" || e === "relative" || e === "fixed") { + f = parseInt(d.css("zIndex"), 10); + if (!isNaN(f) && f !== 0) return f + } + d = d.parent() + } + } + return 0 + }, + disableSelection: function() { + return this.bind((a.support.selectstart ? "selectstart": "mousedown") + ".ui-disableSelection", + function(a) { + a.preventDefault() + }) + }, + enableSelection: function() { + return this.unbind(".ui-disableSelection") + } + }), a.each(["Width", "Height"], + function(c, d) { + function h(b, c, d, f) { + a.each(e, + function() { + c -= parseFloat(a.curCSS(b, "padding" + this, !0)) || 0, + d && (c -= parseFloat(a.curCSS(b, "border" + this + "Width", !0)) || 0), + f && (c -= parseFloat(a.curCSS(b, "margin" + this, !0)) || 0) + }); + return c + } + var e = d === "Width" ? ["Left", "Right"] : ["Top", "Bottom"], + f = d.toLowerCase(), + g = { + innerWidth: a.fn.innerWidth, + innerHeight: a.fn.innerHeight, + outerWidth: a.fn.outerWidth, + outerHeight: a.fn.outerHeight + }; + a.fn["inner" + d] = function(c) { + if (c === b) return g["inner" + d].call(this); + return this.each(function() { + a(this).css(f, h(this, c) + "px") + }) + }, + a.fn["outer" + d] = function(b, c) { + if (typeof b != "number") return g["outer" + d].call(this, b); + return this.each(function() { + a(this).css(f, h(this, b, !0, c) + "px") + }) + } + }), a.extend(a.expr[":"], { + data: function(b, c, d) { + return !! a.data(b, d[3]) + }, + focusable: function(b) { + return c(b, !isNaN(a.attr(b, "tabindex"))) + }, + tabbable: function(b) { + var d = a.attr(b, "tabindex"), + e = isNaN(d); + return (e || d >= 0) && c(b, !e) + } + }), a(function() { + var b = document.body, + c = b.appendChild(c = document.createElement("div")); + c.offsetHeight, + a.extend(c.style, { + minHeight: "100px", + height: "auto", + padding: 0, + borderWidth: 0 + }), + a.support.minHeight = c.offsetHeight === 100, + a.support.selectstart = "onselectstart" in c, + b.removeChild(c).style.display = "none" + }), a.extend(a.ui, { + plugin: { + add: function(b, c, d) { + var e = a.ui[b].prototype; + for (var f in d) e.plugins[f] = e.plugins[f] || [], + e.plugins[f].push([c, d[f]]) + }, + call: function(a, b, c) { + var d = a.plugins[b]; + if ( !! d && !!a.element[0].parentNode) for (var e = 0; e < d.length; e++) a.options[d[e][0]] && d[e][1].apply(a.element, c) + } + }, + contains: function(a, b) { + return document.compareDocumentPosition ? a.compareDocumentPosition(b) & 16 : a !== b && a.contains(b) + }, + hasScroll: function(b, c) { + if (a(b).css("overflow") === "hidden") return ! 1; + var d = c && c === "left" ? "scrollLeft": "scrollTop", + e = !1; + if (b[d] > 0) return ! 0; + b[d] = 1, + e = b[d] > 0, + b[d] = 0; + return e + }, + isOverAxis: function(a, b, c) { + return a > b && a < b + c + }, + isOver: function(b, c, d, e, f, g) { + return a.ui.isOverAxis(b, d, f) && a.ui.isOverAxis(c, e, g) + } + })) +})(jQuery); +/*! + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(a, b) { + if (a.cleanData) { + var c = a.cleanData; + a.cleanData = function(b) { + for (var d = 0, + e; (e = b[d]) != null; d++) try { + a(e).triggerHandler("remove") + } catch(f) {} + c(b) + } + } else { + var d = a.fn.remove; + a.fn.remove = function(b, c) { + return this.each(function() { + c || (!b || a.filter(b, [this]).length) && a("*", this).add([this]).each(function() { + try { + a(this).triggerHandler("remove") + } catch(b) {} + }); + return d.call(a(this), b, c) + }) + } + } + a.widget = function(b, c, d) { + var e = b.split(".")[0], + f; + b = b.split(".")[1], + f = e + "-" + b, + d || (d = c, c = a.Widget), + a.expr[":"][f] = function(c) { + return !! a.data(c, b) + }, + a[e] = a[e] || {}, + a[e][b] = function(a, b) { + arguments.length && this._createWidget(a, b) + }; + var g = new c; + g.options = a.extend(!0, {}, + g.options), + a[e][b].prototype = a.extend(!0, g, { + namespace: e, + widgetName: b, + widgetEventPrefix: a[e][b].prototype.widgetEventPrefix || b, + widgetBaseClass: f + }, + d), + a.widget.bridge(b, a[e][b]) + }, + a.widget.bridge = function(c, d) { + a.fn[c] = function(e) { + var f = typeof e == "string", + g = Array.prototype.slice.call(arguments, 1), + h = this; + e = !f && g.length ? a.extend.apply(null, [!0, e].concat(g)) : e; + if (f && e.charAt(0) === "_") return h; + f ? this.each(function() { + var d = a.data(this, c), + f = d && a.isFunction(d[e]) ? d[e].apply(d, g) : d; + if (f !== d && f !== b) { + h = f; + return ! 1 + } + }) : this.each(function() { + var b = a.data(this, c); + b ? b.option(e || {})._init() : a.data(this, c, new d(e, this)) + }); + return h + } + }, + a.Widget = function(a, b) { + arguments.length && this._createWidget(a, b) + }, + a.Widget.prototype = { + widgetName: "widget", + widgetEventPrefix: "", + options: { + disabled: !1 + }, + _createWidget: function(b, c) { + a.data(c, this.widgetName, this), + this.element = a(c), + this.options = a.extend(!0, {}, + this.options, this._getCreateOptions(), b); + var d = this; + this.element.bind("remove." + this.widgetName, + function() { + d.destroy() + }), + this._create(), + this._trigger("create"), + this._init() + }, + _getCreateOptions: function() { + return a.metadata && a.metadata.get(this.element[0])[this.widgetName] + }, + _create: function() {}, + _init: function() {}, + destroy: function() { + this.element.unbind("." + this.widgetName).removeData(this.widgetName), + this.widget().unbind("." + this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass + "-disabled " + "ui-state-disabled") + }, + widget: function() { + return this.element + }, + option: function(c, d) { + var e = c; + if (arguments.length === 0) return a.extend({}, + this.options); + if (typeof c == "string") { + if (d === b) return this.options[c]; + e = {}, + e[c] = d + } + this._setOptions(e); + return this + }, + _setOptions: function(b) { + var c = this; + a.each(b, + function(a, b) { + c._setOption(a, b) + }); + return this + }, + _setOption: function(a, b) { + this.options[a] = b, + a === "disabled" && this.widget()[b ? "addClass": "removeClass"](this.widgetBaseClass + "-disabled" + " " + "ui-state-disabled").attr("aria-disabled", b); + return this + }, + enable: function() { + return this._setOption("disabled", !1) + }, + disable: function() { + return this._setOption("disabled", !0) + }, + _trigger: function(b, c, d) { + var e, f, g = this.options[b]; + d = d || {}, + c = a.Event(c), + c.type = (b === this.widgetEventPrefix ? b: this.widgetEventPrefix + b).toLowerCase(), + c.target = this.element[0], + f = c.originalEvent; + if (f) for (e in f) e in c || (c[e] = f[e]); + this.element.trigger(c, d); + return ! (a.isFunction(g) && g.call(this.element[0], c, d) === !1 || c.isDefaultPrevented()) + } + } +})(jQuery); +/*! + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(a, b) { + var c = !1; + a(document).mouseup(function(a) { + c = !1 + }), + a.widget("ui.mouse", { + options: { + cancel: ":input,option", + distance: 1, + delay: 0 + }, + _mouseInit: function() { + var b = this; + this.element.bind("mousedown." + this.widgetName, + function(a) { + return b._mouseDown(a) + }).bind("click." + this.widgetName, + function(c) { + if (!0 === a.data(c.target, b.widgetName + ".preventClickEvent")) { + a.removeData(c.target, b.widgetName + ".preventClickEvent"), + c.stopImmediatePropagation(); + return ! 1 + } + }), + this.started = !1 + }, + _mouseDestroy: function() { + this.element.unbind("." + this.widgetName) + }, + _mouseDown: function(b) { + if (!c) { + this._mouseStarted && this._mouseUp(b), + this._mouseDownEvent = b; + var d = this, + e = b.which == 1, + f = typeof this.options.cancel == "string" && b.target.nodeName ? a(b.target).closest(this.options.cancel).length: !1; + if (!e || f || !this._mouseCapture(b)) return ! 0; + this.mouseDelayMet = !this.options.delay, + this.mouseDelayMet || (this._mouseDelayTimer = setTimeout(function() { + d.mouseDelayMet = !0 + }, + this.options.delay)); + if (this._mouseDistanceMet(b) && this._mouseDelayMet(b)) { + this._mouseStarted = this._mouseStart(b) !== !1; + if (!this._mouseStarted) { + b.preventDefault(); + return ! 0 + } + } ! 0 === a.data(b.target, this.widgetName + ".preventClickEvent") && a.removeData(b.target, this.widgetName + ".preventClickEvent"), + this._mouseMoveDelegate = function(a) { + return d._mouseMove(a) + }, + this._mouseUpDelegate = function(a) { + return d._mouseUp(a) + }, + a(document).bind("mousemove." + this.widgetName, this._mouseMoveDelegate).bind("mouseup." + this.widgetName, this._mouseUpDelegate), + b.preventDefault(), + c = !0; + return ! 0 + } + }, + _mouseMove: function(b) { + if (a.browser.msie && !(document.documentMode >= 9) && !b.button) return this._mouseUp(b); + if (this._mouseStarted) { + this._mouseDrag(b); + return b.preventDefault() + } + this._mouseDistanceMet(b) && this._mouseDelayMet(b) && (this._mouseStarted = this._mouseStart(this._mouseDownEvent, b) !== !1, this._mouseStarted ? this._mouseDrag(b) : this._mouseUp(b)); + return ! this._mouseStarted + }, + _mouseUp: function(b) { + a(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate), + this._mouseStarted && (this._mouseStarted = !1, b.target == this._mouseDownEvent.target && a.data(b.target, this.widgetName + ".preventClickEvent", !0), this._mouseStop(b)); + return ! 1 + }, + _mouseDistanceMet: function(a) { + return Math.max(Math.abs(this._mouseDownEvent.pageX - a.pageX), Math.abs(this._mouseDownEvent.pageY - a.pageY)) >= this.options.distance + }, + _mouseDelayMet: function(a) { + return this.mouseDelayMet + }, + _mouseStart: function(a) {}, + _mouseDrag: function(a) {}, + _mouseStop: function(a) {}, + _mouseCapture: function(a) { + return ! 0 + } + }) +})(jQuery); +/* + * jQuery UI Position 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Position + */ +(function(a, b) { + a.ui = a.ui || {}; + var c = /left|center|right/, + d = /top|center|bottom/, + e = "center", + f = {}, + g = a.fn.position, + h = a.fn.offset; + a.fn.position = function(b) { + if (!b || !b.of) return g.apply(this, arguments); + b = a.extend({}, + b); + var h = a(b.of), + i = h[0], + j = (b.collision || "flip").split(" "), + k = b.offset ? b.offset.split(" ") : [0, 0], + l, + m, + n; + i.nodeType === 9 ? (l = h.width(), m = h.height(), n = { + top: 0, + left: 0 + }) : i.setTimeout ? (l = h.width(), m = h.height(), n = { + top: h.scrollTop(), + left: h.scrollLeft() + }) : i.preventDefault ? (b.at = "left top", l = m = 0, n = { + top: b.of.pageY, + left: b.of.pageX + }) : (l = h.outerWidth(), m = h.outerHeight(), n = h.offset()), + a.each(["my", "at"], + function() { + var a = (b[this] || "").split(" "); + a.length === 1 && (a = c.test(a[0]) ? a.concat([e]) : d.test(a[0]) ? [e].concat(a) : [e, e]), + a[0] = c.test(a[0]) ? a[0] : e, + a[1] = d.test(a[1]) ? a[1] : e, + b[this] = a + }), + j.length === 1 && (j[1] = j[0]), + k[0] = parseInt(k[0], 10) || 0, + k.length === 1 && (k[1] = k[0]), + k[1] = parseInt(k[1], 10) || 0, + b.at[0] === "right" ? n.left += l: b.at[0] === e && (n.left += l / 2), + b.at[1] === "bottom" ? n.top += m: b.at[1] === e && (n.top += m / 2), + n.left += k[0], + n.top += k[1]; + return this.each(function() { + var c = a(this), + d = c.outerWidth(), + g = c.outerHeight(), + h = parseInt(a.curCSS(this, "marginLeft", !0)) || 0, + i = parseInt(a.curCSS(this, "marginTop", !0)) || 0, + o = d + h + (parseInt(a.curCSS(this, "marginRight", !0)) || 0), + p = g + i + (parseInt(a.curCSS(this, "marginBottom", !0)) || 0), + q = a.extend({}, + n), + r; + b.my[0] === "right" ? q.left -= d: b.my[0] === e && (q.left -= d / 2), + b.my[1] === "bottom" ? q.top -= g: b.my[1] === e && (q.top -= g / 2), + f.fractions || (q.left = Math.round(q.left), q.top = Math.round(q.top)), + r = { + left: q.left - h, + top: q.top - i + }, + a.each(["left", "top"], + function(c, e) { + a.ui.position[j[c]] && a.ui.position[j[c]][e](q, { + targetWidth: l, + targetHeight: m, + elemWidth: d, + elemHeight: g, + collisionPosition: r, + collisionWidth: o, + collisionHeight: p, + offset: k, + my: b.my, + at: b.at + }) + }), + a.fn.bgiframe && c.bgiframe(), + c.offset(a.extend(q, { + using: b.using + })) + }) + }, + a.ui.position = { + fit: { + left: function(b, c) { + var d = a(window), + e = c.collisionPosition.left + c.collisionWidth - d.width() - d.scrollLeft(); + b.left = e > 0 ? b.left - e: Math.max(b.left - c.collisionPosition.left, b.left) + }, + top: function(b, c) { + var d = a(window), + e = c.collisionPosition.top + c.collisionHeight - d.height() - d.scrollTop(); + b.top = e > 0 ? b.top - e: Math.max(b.top - c.collisionPosition.top, b.top) + } + }, + flip: { + left: function(b, c) { + if (c.at[0] !== e) { + var d = a(window), + f = c.collisionPosition.left + c.collisionWidth - d.width() - d.scrollLeft(), + g = c.my[0] === "left" ? -c.elemWidth: c.my[0] === "right" ? c.elemWidth: 0, + h = c.at[0] === "left" ? c.targetWidth: -c.targetWidth, + i = -2 * c.offset[0]; + b.left += c.collisionPosition.left < 0 ? g + h + i: f > 0 ? g + h + i: 0 + } + }, + top: function(b, c) { + if (c.at[1] !== e) { + var d = a(window), + f = c.collisionPosition.top + c.collisionHeight - d.height() - d.scrollTop(), + g = c.my[1] === "top" ? -c.elemHeight: c.my[1] === "bottom" ? c.elemHeight: 0, + h = c.at[1] === "top" ? c.targetHeight: -c.targetHeight, + i = -2 * c.offset[1]; + b.top += c.collisionPosition.top < 0 ? g + h + i: f > 0 ? g + h + i: 0 + } + } + } + }, + a.offset.setOffset || (a.offset.setOffset = function(b, c) { / static / .test(a.curCSS(b, "position")) && (b.style.position = "relative"); + var d = a(b), + e = d.offset(), + f = parseInt(a.curCSS(b, "top", !0), 10) || 0, + g = parseInt(a.curCSS(b, "left", !0), 10) || 0, + h = { + top: c.top - e.top + f, + left: c.left - e.left + g + }; + "using" in c ? c.using.call(b, h) : d.css(h) + }, + a.fn.offset = function(b) { + var c = this[0]; + if (!c || !c.ownerDocument) return null; + if (b) return this.each(function() { + a.offset.setOffset(this, b) + }); + return h.call(this) + }), + function() { + var b = document.getElementsByTagName("body")[0], + c = document.createElement("div"), + d, + e, + g, + h, + i; + d = document.createElement(b ? "div": "body"), + g = { + visibility: "hidden", + width: 0, + height: 0, + border: 0, + margin: 0, + background: "none" + }, + b && a.extend(g, { + position: "absolute", + left: "-1000px", + top: "-1000px" + }); + for (var j in g) d.style[j] = g[j]; + d.appendChild(c), + e = b || document.documentElement, + e.insertBefore(d, e.firstChild), + c.style.cssText = "position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;", + h = a(c).offset(function(a, b) { + return b + }).offset(), + d.innerHTML = "", + e.removeChild(d), + i = h.top + h.left + (b ? 2e3: 0), + f.fractions = i > 21 && i < 22 + } () +})(jQuery); +/* + * jQuery UI Draggable 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Draggables + * + * Depends: + * jquery.ui.core.js + * jquery.ui.mouse.js + * jquery.ui.widget.js + */ +(function(a, b) { + a.widget("ui.draggable", a.ui.mouse, { + widgetEventPrefix: "drag", + options: { + addClasses: !0, + appendTo: "parent", + axis: !1, + + connectToSortable: !1, + containment: !1, + cursor: "auto", + cursorAt: !1, + grid: !1, + handle: !1, + helper: "original", + iframeFix: !1, + opacity: !1, + refreshPositions: !1, + revert: !1, + revertDuration: 500, + scope: "default", + scroll: !0, + scrollSensitivity: 20, + scrollSpeed: 20, + snap: !1, + snapMode: "both", + snapTolerance: 20, + stack: !1, + zIndex: !1 + }, + _create: function() { + this.options.helper == "original" && !/^(?:r|a|f)/.test(this.element.css("position")) && (this.element[0].style.position = "relative"), + this.options.addClasses && this.element.addClass("ui-draggable"), + this.options.disabled && this.element.addClass("ui-draggable-disabled"), + this._mouseInit() + }, + destroy: function() { + if ( !! this.element.data("draggable")) { + this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"), + this._mouseDestroy(); + return this + } + }, + _mouseCapture: function(b) { + var c = this.options; + if (this.helper || c.disabled || a(b.target).is(".ui-resizable-handle")) return ! 1; + this.handle = this._getHandle(b); + if (!this.handle) return ! 1; + c.iframeFix && a(c.iframeFix === !0 ? "iframe": c.iframeFix).each(function() { + a('
    ').css({ + width: this.offsetWidth + "px", + height: this.offsetHeight + "px", + position: "absolute", + opacity: "0.001", + zIndex: 1e3 + }).css(a(this).offset()).appendTo("body") + }); + return ! 0 + }, + _mouseStart: function(b) { + var c = this.options; + this.helper = this._createHelper(b), + this._cacheHelperProportions(), + a.ui.ddmanager && (a.ui.ddmanager.current = this), + this._cacheMargins(), + this.cssPosition = this.helper.css("position"), + this.scrollParent = this.helper.scrollParent(), + this.offset = this.positionAbs = this.element.offset(), + this.offset = { + top: this.offset.top - this.margins.top, + left: this.offset.left - this.margins.left + }, + a.extend(this.offset, { + click: { + left: b.pageX - this.offset.left, + top: b.pageY - this.offset.top + }, + parent: this._getParentOffset(), + relative: this._getRelativeOffset() + }), + this.originalPosition = this.position = this._generatePosition(b), + this.originalPageX = b.pageX, + this.originalPageY = b.pageY, + c.cursorAt && this._adjustOffsetFromHelper(c.cursorAt), + c.containment && this._setContainment(); + if (this._trigger("start", b) === !1) { + this._clear(); + return ! 1 + } + this._cacheHelperProportions(), + a.ui.ddmanager && !c.dropBehaviour && a.ui.ddmanager.prepareOffsets(this, b), + this.helper.addClass("ui-draggable-dragging"), + this._mouseDrag(b, !0), + a.ui.ddmanager && a.ui.ddmanager.dragStart(this, b); + return ! 0 + }, + _mouseDrag: function(b, c) { + this.position = this._generatePosition(b), + this.positionAbs = this._convertPositionTo("absolute"); + if (!c) { + var d = this._uiHash(); + if (this._trigger("drag", b, d) === !1) { + this._mouseUp({}); + return ! 1 + } + this.position = d.position + } + if (!this.options.axis || this.options.axis != "y") this.helper[0].style.left = this.position.left + "px"; + if (!this.options.axis || this.options.axis != "x") this.helper[0].style.top = this.position.top + "px"; + a.ui.ddmanager && a.ui.ddmanager.drag(this, b); + return ! 1 + }, + _mouseStop: function(b) { + var c = !1; + a.ui.ddmanager && !this.options.dropBehaviour && (c = a.ui.ddmanager.drop(this, b)), + this.dropped && (c = this.dropped, this.dropped = !1); + if ((!this.element[0] || !this.element[0].parentNode) && this.options.helper == "original") return ! 1; + if (this.options.revert == "invalid" && !c || this.options.revert == "valid" && c || this.options.revert === !0 || a.isFunction(this.options.revert) && this.options.revert.call(this.element, c)) { + var d = this; + a(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), + function() { + d._trigger("stop", b) !== !1 && d._clear() + }) + } else this._trigger("stop", b) !== !1 && this._clear(); + return ! 1 + }, + _mouseUp: function(b) { + this.options.iframeFix === !0 && a("div.ui-draggable-iframeFix").each(function() { + this.parentNode.removeChild(this) + }), + a.ui.ddmanager && a.ui.ddmanager.dragStop(this, b); + return a.ui.mouse.prototype._mouseUp.call(this, b) + }, + cancel: function() { + this.helper.is(".ui-draggable-dragging") ? this._mouseUp({}) : this._clear(); + return this + }, + _getHandle: function(b) { + var c = !this.options.handle || !a(this.options.handle, this.element).length ? !0 : !1; + a(this.options.handle, this.element).find("*").andSelf().each(function() { + this == b.target && (c = !0) + }); + return c + }, + _createHelper: function(b) { + var c = this.options, + d = a.isFunction(c.helper) ? a(c.helper.apply(this.element[0], [b])) : c.helper == "clone" ? this.element.clone().removeAttr("id") : this.element; + d.parents("body").length || d.appendTo(c.appendTo == "parent" ? this.element[0].parentNode: c.appendTo), + d[0] != this.element[0] && !/(fixed|absolute)/.test(d.css("position")) && d.css("position", "absolute"); + return d + }, + _adjustOffsetFromHelper: function(b) { + typeof b == "string" && (b = b.split(" ")), + a.isArray(b) && (b = { + left: +b[0], + top: +b[1] || 0 + }), + "left" in b && (this.offset.click.left = b.left + this.margins.left), + "right" in b && (this.offset.click.left = this.helperProportions.width - b.right + this.margins.left), + "top" in b && (this.offset.click.top = b.top + this.margins.top), + "bottom" in b && (this.offset.click.top = this.helperProportions.height - b.bottom + this.margins.top) + }, + _getParentOffset: function() { + this.offsetParent = this.helper.offsetParent(); + var b = this.offsetParent.offset(); + this.cssPosition == "absolute" && this.scrollParent[0] != document && a.ui.contains(this.scrollParent[0], this.offsetParent[0]) && (b.left += this.scrollParent.scrollLeft(), b.top += this.scrollParent.scrollTop()); + if (this.offsetParent[0] == document.body || this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == "html" && a.browser.msie) b = { + top: 0, + left: 0 + }; + return { + top: b.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0), + left: b.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0) + } + }, + _getRelativeOffset: function() { + if (this.cssPosition == "relative") { + var a = this.element.position(); + return { + top: a.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(), + left: a.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft() + } + } + return { + top: 0, + left: 0 + } + }, + _cacheMargins: function() { + this.margins = { + left: parseInt(this.element.css("marginLeft"), 10) || 0, + top: parseInt(this.element.css("marginTop"), 10) || 0, + right: parseInt(this.element.css("marginRight"), 10) || 0, + bottom: parseInt(this.element.css("marginBottom"), 10) || 0 + } + }, + _cacheHelperProportions: function() { + this.helperProportions = { + width: this.helper.outerWidth(), + height: this.helper.outerHeight() + } + }, + _setContainment: function() { + var b = this.options; + b.containment == "parent" && (b.containment = this.helper[0].parentNode); + if (b.containment == "document" || b.containment == "window") this.containment = [b.containment == "document" ? 0 : a(window).scrollLeft() - this.offset.relative.left - this.offset.parent.left, b.containment == "document" ? 0 : a(window).scrollTop() - this.offset.relative.top - this.offset.parent.top, (b.containment == "document" ? 0 : a(window).scrollLeft()) + a(b.containment == "document" ? document: window).width() - this.helperProportions.width - this.margins.left, (b.containment == "document" ? 0 : a(window).scrollTop()) + (a(b.containment == "document" ? document: window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top]; + if (!/^(document|window|parent)$/.test(b.containment) && b.containment.constructor != Array) { + var c = a(b.containment), + d = c[0]; + if (!d) return; + var e = c.offset(), + f = a(d).css("overflow") != "hidden"; + this.containment = [(parseInt(a(d).css("borderLeftWidth"), 10) || 0) + (parseInt(a(d).css("paddingLeft"), 10) || 0), (parseInt(a(d).css("borderTopWidth"), 10) || 0) + (parseInt(a(d).css("paddingTop"), 10) || 0), (f ? Math.max(d.scrollWidth, d.offsetWidth) : d.offsetWidth) - (parseInt(a(d).css("borderLeftWidth"), 10) || 0) - (parseInt(a(d).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, (f ? Math.max(d.scrollHeight, d.offsetHeight) : d.offsetHeight) - (parseInt(a(d).css("borderTopWidth"), 10) || 0) - (parseInt(a(d).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top - this.margins.bottom], + this.relative_container = c + } else b.containment.constructor == Array && (this.containment = b.containment) + }, + _convertPositionTo: function(b, c) { + c || (c = this.position); + var d = b == "absolute" ? 1 : -1, + e = this.options, + f = this.cssPosition == "absolute" && (this.scrollParent[0] == document || !a.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent: this.scrollParent, + g = /(html|body)/i.test(f[0].tagName); + return { + top: c.top + this.offset.relative.top * d + this.offset.parent.top * d - (a.browser.safari && a.browser.version < 526 && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : g ? 0 : f.scrollTop()) * d), + left: c.left + this.offset.relative.left * d + this.offset.parent.left * d - (a.browser.safari && a.browser.version < 526 && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : g ? 0 : f.scrollLeft()) * d) + } + }, + _generatePosition: function(b) { + var c = this.options, + d = this.cssPosition == "absolute" && (this.scrollParent[0] == document || !a.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent: this.scrollParent, + e = /(html|body)/i.test(d[0].tagName), + f = b.pageX, + g = b.pageY; + if (this.originalPosition) { + var h; + if (this.containment) { + if (this.relative_container) { + var i = this.relative_container.offset(); + h = [this.containment[0] + i.left, this.containment[1] + i.top, this.containment[2] + i.left, this.containment[3] + i.top] + } else h = this.containment; + b.pageX - this.offset.click.left < h[0] && (f = h[0] + this.offset.click.left), + b.pageY - this.offset.click.top < h[1] && (g = h[1] + this.offset.click.top), + b.pageX - this.offset.click.left > h[2] && (f = h[2] + this.offset.click.left), + b.pageY - this.offset.click.top > h[3] && (g = h[3] + this.offset.click.top) + } + if (c.grid) { + var j = c.grid[1] ? this.originalPageY + Math.round((g - this.originalPageY) / c.grid[1]) * c.grid[1] : this.originalPageY; + g = h ? j - this.offset.click.top < h[1] || j - this.offset.click.top > h[3] ? j - this.offset.click.top < h[1] ? j + c.grid[1] : j - c.grid[1] : j: j; + var k = c.grid[0] ? this.originalPageX + Math.round((f - this.originalPageX) / c.grid[0]) * c.grid[0] : this.originalPageX; + f = h ? k - this.offset.click.left < h[0] || k - this.offset.click.left > h[2] ? k - this.offset.click.left < h[0] ? k + c.grid[0] : k - c.grid[0] : k: k + } + } + return { + top: g - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + (a.browser.safari && a.browser.version < 526 && this.cssPosition == "fixed" ? 0 : this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : e ? 0 : d.scrollTop()), + left: f - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + (a.browser.safari && a.browser.version < 526 && this.cssPosition == "fixed" ? 0 : this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : e ? 0 : d.scrollLeft()) + } + }, + _clear: function() { + this.helper.removeClass("ui-draggable-dragging"), + this.helper[0] != this.element[0] && !this.cancelHelperRemoval && this.helper.remove(), + this.helper = null, + this.cancelHelperRemoval = !1 + }, + _trigger: function(b, c, d) { + d = d || this._uiHash(), + a.ui.plugin.call(this, b, [c, d]), + b == "drag" && (this.positionAbs = this._convertPositionTo("absolute")); + return a.Widget.prototype._trigger.call(this, b, c, d) + }, + plugins: {}, + _uiHash: function(a) { + return { + helper: this.helper, + position: this.position, + originalPosition: this.originalPosition, + offset: this.positionAbs + } + } + }), + a.extend(a.ui.draggable, { + version: "1.8.18" + }), + a.ui.plugin.add("draggable", "connectToSortable", { + start: function(b, c) { + var d = a(this).data("draggable"), + e = d.options, + f = a.extend({}, + c, { + item: d.element + }); + d.sortables = [], + a(e.connectToSortable).each(function() { + var c = a.data(this, "sortable"); + c && !c.options.disabled && (d.sortables.push({ + instance: c, + shouldRevert: c.options.revert + }), c.refreshPositions(), c._trigger("activate", b, f)) + }) + }, + stop: function(b, c) { + var d = a(this).data("draggable"), + e = a.extend({}, + c, { + item: d.element + }); + a.each(d.sortables, + function() { + this.instance.isOver ? (this.instance.isOver = 0, d.cancelHelperRemoval = !0, this.instance.cancelHelperRemoval = !1, this.shouldRevert && (this.instance.options.revert = !0), this.instance._mouseStop(b), this.instance.options.helper = this.instance.options._helper, d.options.helper == "original" && this.instance.currentItem.css({ + top: "auto", + left: "auto" + })) : (this.instance.cancelHelperRemoval = !1, this.instance._trigger("deactivate", b, e)) + }) + }, + drag: function(b, c) { + var d = a(this).data("draggable"), + e = this, + f = function(b) { + var c = this.offset.click.top, + d = this.offset.click.left, + e = this.positionAbs.top, + f = this.positionAbs.left, + g = b.height, + h = b.width, + i = b.top, + j = b.left; + return a.ui.isOver(e + c, f + d, i, j, g, h) + }; + a.each(d.sortables, + function(f) { + this.instance.positionAbs = d.positionAbs, + this.instance.helperProportions = d.helperProportions, + this.instance.offset.click = d.offset.click, + this.instance._intersectsWith(this.instance.containerCache) ? (this.instance.isOver || (this.instance.isOver = 1, this.instance.currentItem = a(e).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item", !0), this.instance.options._helper = this.instance.options.helper, this.instance.options.helper = function() { + return c.helper[0] + }, + b.target = this.instance.currentItem[0], this.instance._mouseCapture(b, !0), this.instance._mouseStart(b, !0, !0), this.instance.offset.click.top = d.offset.click.top, this.instance.offset.click.left = d.offset.click.left, this.instance.offset.parent.left -= d.offset.parent.left - this.instance.offset.parent.left, this.instance.offset.parent.top -= d.offset.parent.top - this.instance.offset.parent.top, d._trigger("toSortable", b), d.dropped = this.instance.element, d.currentItem = d.element, this.instance.fromOutside = d), this.instance.currentItem && this.instance._mouseDrag(b)) : this.instance.isOver && (this.instance.isOver = 0, this.instance.cancelHelperRemoval = !0, this.instance.options.revert = !1, this.instance._trigger("out", b, this.instance._uiHash(this.instance)), this.instance._mouseStop(b, !0), this.instance.options.helper = this.instance.options._helper, this.instance.currentItem.remove(), this.instance.placeholder && this.instance.placeholder.remove(), d._trigger("fromSortable", b), d.dropped = !1) + }) + } + }), + a.ui.plugin.add("draggable", "cursor", { + start: function(b, c) { + var d = a("body"), + e = a(this).data("draggable").options; + d.css("cursor") && (e._cursor = d.css("cursor")), + d.css("cursor", e.cursor) + }, + stop: function(b, c) { + var d = a(this).data("draggable").options; + d._cursor && a("body").css("cursor", d._cursor) + } + }), + a.ui.plugin.add("draggable", "opacity", { + start: function(b, c) { + var d = a(c.helper), + e = a(this).data("draggable").options; + d.css("opacity") && (e._opacity = d.css("opacity")), + d.css("opacity", e.opacity) + }, + stop: function(b, c) { + var d = a(this).data("draggable").options; + d._opacity && a(c.helper).css("opacity", d._opacity) + } + }), + a.ui.plugin.add("draggable", "scroll", { + start: function(b, c) { + var d = a(this).data("draggable"); + d.scrollParent[0] != document && d.scrollParent[0].tagName != "HTML" && (d.overflowOffset = d.scrollParent.offset()) + }, + drag: function(b, c) { + var d = a(this).data("draggable"), + e = d.options, + f = !1; + if (d.scrollParent[0] != document && d.scrollParent[0].tagName != "HTML") { + if (!e.axis || e.axis != "x") d.overflowOffset.top + d.scrollParent[0].offsetHeight - b.pageY < e.scrollSensitivity ? d.scrollParent[0].scrollTop = f = d.scrollParent[0].scrollTop + e.scrollSpeed: b.pageY - d.overflowOffset.top < e.scrollSensitivity && (d.scrollParent[0].scrollTop = f = d.scrollParent[0].scrollTop - e.scrollSpeed); + if (!e.axis || e.axis != "y") d.overflowOffset.left + d.scrollParent[0].offsetWidth - b.pageX < e.scrollSensitivity ? d.scrollParent[0].scrollLeft = f = d.scrollParent[0].scrollLeft + e.scrollSpeed: b.pageX - d.overflowOffset.left < e.scrollSensitivity && (d.scrollParent[0].scrollLeft = f = d.scrollParent[0].scrollLeft - e.scrollSpeed) + } else { + if (!e.axis || e.axis != "x") b.pageY - a(document).scrollTop() < e.scrollSensitivity ? f = a(document).scrollTop(a(document).scrollTop() - e.scrollSpeed) : a(window).height() - (b.pageY - a(document).scrollTop()) < e.scrollSensitivity && (f = a(document).scrollTop(a(document).scrollTop() + e.scrollSpeed)); + if (!e.axis || e.axis != "y") b.pageX - a(document).scrollLeft() < e.scrollSensitivity ? f = a(document).scrollLeft(a(document).scrollLeft() - e.scrollSpeed) : a(window).width() - (b.pageX - a(document).scrollLeft()) < e.scrollSensitivity && (f = a(document).scrollLeft(a(document).scrollLeft() + e.scrollSpeed)) + } + f !== !1 && a.ui.ddmanager && !e.dropBehaviour && a.ui.ddmanager.prepareOffsets(d, b) + } + }), + a.ui.plugin.add("draggable", "snap", { + start: function(b, c) { + var d = a(this).data("draggable"), + e = d.options; + d.snapElements = [], + a(e.snap.constructor != String ? e.snap.items || ":data(draggable)": e.snap).each(function() { + var b = a(this), + c = b.offset(); + this != d.element[0] && d.snapElements.push({ + item: this, + width: b.outerWidth(), + height: b.outerHeight(), + top: c.top, + left: c.left + }) + }) + }, + drag: function(b, c) { + var d = a(this).data("draggable"), + e = d.options, + f = e.snapTolerance, + g = c.offset.left, + h = g + d.helperProportions.width, + i = c.offset.top, + j = i + d.helperProportions.height; + for (var k = d.snapElements.length - 1; k >= 0; k--) { + var l = d.snapElements[k].left, + m = l + d.snapElements[k].width, + n = d.snapElements[k].top, + o = n + d.snapElements[k].height; + if (! (l - f < g && g < m + f && n - f < i && i < o + f || l - f < g && g < m + f && n - f < j && j < o + f || l - f < h && h < m + f && n - f < i && i < o + f || l - f < h && h < m + f && n - f < j && j < o + f)) { + d.snapElements[k].snapping && d.options.snap.release && d.options.snap.release.call(d.element, b, a.extend(d._uiHash(), { + snapItem: d.snapElements[k].item + })), + d.snapElements[k].snapping = !1; + continue + } + if (e.snapMode != "inner") { + var p = Math.abs(n - j) <= f, + q = Math.abs(o - i) <= f, + r = Math.abs(l - h) <= f, + s = Math.abs(m - g) <= f; + p && (c.position.top = d._convertPositionTo("relative", { + top: n - d.helperProportions.height, + left: 0 + }).top - d.margins.top), + q && (c.position.top = d._convertPositionTo("relative", { + top: o, + left: 0 + }).top - d.margins.top), + r && (c.position.left = d._convertPositionTo("relative", { + top: 0, + left: l - d.helperProportions.width + }).left - d.margins.left), + s && (c.position.left = d._convertPositionTo("relative", { + top: 0, + left: m + }).left - d.margins.left) + } + var t = p || q || r || s; + if (e.snapMode != "outer") { + var p = Math.abs(n - i) <= f, + q = Math.abs(o - j) <= f, + r = Math.abs(l - g) <= f, + s = Math.abs(m - h) <= f; + p && (c.position.top = d._convertPositionTo("relative", { + top: n, + left: 0 + }).top - d.margins.top), + q && (c.position.top = d._convertPositionTo("relative", { + top: o - d.helperProportions.height, + left: 0 + }).top - d.margins.top), + r && (c.position.left = d._convertPositionTo("relative", { + top: 0, + left: l + }).left - d.margins.left), + s && (c.position.left = d._convertPositionTo("relative", { + top: 0, + left: m - d.helperProportions.width + }).left - d.margins.left) + } ! d.snapElements[k].snapping && (p || q || r || s || t) && d.options.snap.snap && d.options.snap.snap.call(d.element, b, a.extend(d._uiHash(), { + snapItem: d.snapElements[k].item + })), + d.snapElements[k].snapping = p || q || r || s || t + } + } + }), + a.ui.plugin.add("draggable", "stack", { + start: function(b, c) { + var d = a(this).data("draggable").options, + e = a.makeArray(a(d.stack)).sort(function(b, c) { + return (parseInt(a(b).css("zIndex"), 10) || 0) - (parseInt(a(c).css("zIndex"), 10) || 0) + }); + if ( !! e.length) { + var f = parseInt(e[0].style.zIndex) || 0; + a(e).each(function(a) { + this.style.zIndex = f + a + }), + this[0].style.zIndex = f + e.length + } + } + }), + a.ui.plugin.add("draggable", "zIndex", { + start: function(b, c) { + var d = a(c.helper), + e = a(this).data("draggable").options; + d.css("zIndex") && (e._zIndex = d.css("zIndex")), + d.css("zIndex", e.zIndex) + }, + stop: function(b, c) { + var d = a(this).data("draggable").options; + d._zIndex && a(c.helper).css("zIndex", d._zIndex) + } + }) +})(jQuery); +/* + * jQuery UI Droppable 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Droppables + * + * Depends: + * jquery.ui.core.js + * jquery.ui.widget.js + * jquery.ui.mouse.js + * jquery.ui.draggable.js + */ +(function(a, b) { + a.widget("ui.droppable", { + widgetEventPrefix: "drop", + options: { + accept: "*", + activeClass: !1, + addClasses: !0, + greedy: !1, + hoverClass: !1, + scope: "default", + tolerance: "intersect" + }, + _create: function() { + var b = this.options, + c = b.accept; + this.isover = 0, + this.isout = 1, + this.accept = a.isFunction(c) ? c: function(a) { + return a.is(c) + }, + this.proportions = { + width: this.element[0].offsetWidth, + height: this.element[0].offsetHeight + }, + a.ui.ddmanager.droppables[b.scope] = a.ui.ddmanager.droppables[b.scope] || [], + a.ui.ddmanager.droppables[b.scope].push(this), + b.addClasses && this.element.addClass("ui-droppable") + }, + destroy: function() { + var b = a.ui.ddmanager.droppables[this.options.scope]; + for (var c = 0; c < b.length; c++) b[c] == this && b.splice(c, 1); + this.element.removeClass("ui-droppable ui-droppable-disabled").removeData("droppable").unbind(".droppable"); + return this + }, + _setOption: function(b, c) { + b == "accept" && (this.accept = a.isFunction(c) ? c: function(a) { + return a.is(c) + }), + a.Widget.prototype._setOption.apply(this, arguments) + }, + _activate: function(b) { + var c = a.ui.ddmanager.current; + this.options.activeClass && this.element.addClass(this.options.activeClass), + c && this._trigger("activate", b, this.ui(c)) + }, + _deactivate: function(b) { + var c = a.ui.ddmanager.current; + this.options.activeClass && this.element.removeClass(this.options.activeClass), + c && this._trigger("deactivate", b, this.ui(c)) + }, + _over: function(b) { + var c = a.ui.ddmanager.current; !! c && (c.currentItem || c.element)[0] != this.element[0] && this.accept.call(this.element[0], c.currentItem || c.element) && (this.options.hoverClass && this.element.addClass(this.options.hoverClass), this._trigger("over", b, this.ui(c))) + }, + _out: function(b) { + var c = a.ui.ddmanager.current; !! c && (c.currentItem || c.element)[0] != this.element[0] && this.accept.call(this.element[0], c.currentItem || c.element) && (this.options.hoverClass && this.element.removeClass(this.options.hoverClass), this._trigger("out", b, this.ui(c))) + }, + _drop: function(b, c) { + var d = c || a.ui.ddmanager.current; + if (!d || (d.currentItem || d.element)[0] == this.element[0]) return ! 1; + var e = !1; + this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function() { + var b = a.data(this, "droppable"); + if (b.options.greedy && !b.options.disabled && b.options.scope == d.options.scope && b.accept.call(b.element[0], d.currentItem || d.element) && a.ui.intersect(d, a.extend(b, { + offset: b.element.offset() + }), b.options.tolerance)) { + e = !0; + return ! 1 + } + }); + if (e) return ! 1; + if (this.accept.call(this.element[0], d.currentItem || d.element)) { + this.options.activeClass && this.element.removeClass(this.options.activeClass), + this.options.hoverClass && this.element.removeClass(this.options.hoverClass), + this._trigger("drop", b, this.ui(d)); + return this.element + } + return ! 1 + }, + ui: function(a) { + return { + draggable: a.currentItem || a.element, + helper: a.helper, + position: a.position, + offset: a.positionAbs + } + } + }), + a.extend(a.ui.droppable, { + version: "1.8.18" + }), + a.ui.intersect = function(b, c, d) { + if (!c.offset) return ! 1; + var e = (b.positionAbs || b.position.absolute).left, + f = e + b.helperProportions.width, + g = (b.positionAbs || b.position.absolute).top, + h = g + b.helperProportions.height, + i = c.offset.left, + j = i + c.proportions.width, + k = c.offset.top, + l = k + c.proportions.height; + switch (d) { + case "fit": + return i <= e && f <= j && k <= g && h <= l; + case "intersect": + return i < e + b.helperProportions.width / 2 && f - b.helperProportions.width / 2 < j && k < g + b.helperProportions.height / 2 && h - b.helperProportions.height / 2 < l; + case "pointer": + var m = (b.positionAbs || b.position.absolute).left + (b.clickOffset || b.offset.click).left, + n = (b.positionAbs || b.position.absolute).top + (b.clickOffset || b.offset.click).top, + o = a.ui.isOver(n, m, k, i, c.proportions.height, c.proportions.width); + return o; + case "touch": + return (g >= k && g <= l || h >= k && h <= l || g < k && h > l) && (e >= i && e <= j || f >= i && f <= j || e < i && f > j); + default: + return ! 1 + } + }, + a.ui.ddmanager = { + current: null, + droppables: { + "default": [] + }, + prepareOffsets: function(b, c) { + var d = a.ui.ddmanager.droppables[b.options.scope] || [], + e = c ? c.type: null, + f = (b.currentItem || b.element).find(":data(droppable)").andSelf(); + droppablesLoop: for (var g = 0; g < d.length; g++) { + if (d[g].options.disabled || b && !d[g].accept.call(d[g].element[0], b.currentItem || b.element)) continue; + for (var h = 0; h < f.length; h++) if (f[h] == d[g].element[0]) { + d[g].proportions.height = 0; + continue droppablesLoop + } + d[g].visible = d[g].element.css("display") != "none"; + if (!d[g].visible) continue; + e == "mousedown" && d[g]._activate.call(d[g], c), + d[g].offset = d[g].element.offset(), + d[g].proportions = { + width: d[g].element[0].offsetWidth, + height: d[g].element[0].offsetHeight + } + } + }, + drop: function(b, c) { + var d = !1; + a.each(a.ui.ddmanager.droppables[b.options.scope] || [], + function() { ! this.options || (!this.options.disabled && this.visible && a.ui.intersect(b, this, this.options.tolerance) && (d = this._drop.call(this, c) || d), !this.options.disabled && this.visible && this.accept.call(this.element[0], b.currentItem || b.element) && (this.isout = 1, this.isover = 0, this._deactivate.call(this, c))) + }); + return d + }, + dragStart: function(b, c) { + b.element.parents(":not(body,html)").bind("scroll.droppable", + function() { + b.options.refreshPositions || a.ui.ddmanager.prepareOffsets(b, c) + }) + }, + drag: function(b, c) { + b.options.refreshPositions && a.ui.ddmanager.prepareOffsets(b, c), + a.each(a.ui.ddmanager.droppables[b.options.scope] || [], + function() { + if (! (this.options.disabled || this.greedyChild || !this.visible)) { + var d = a.ui.intersect(b, this, this.options.tolerance), + e = !d && this.isover == 1 ? "isout": d && this.isover == 0 ? "isover": null; + if (!e) return; + var f; + if (this.options.greedy) { + var g = this.element.parents(":data(droppable):eq(0)"); + g.length && (f = a.data(g[0], "droppable"), f.greedyChild = e == "isover" ? 1 : 0) + } + f && e == "isover" && (f.isover = 0, f.isout = 1, f._out.call(f, c)), + this[e] = 1, + this[e == "isout" ? "isover": "isout"] = 0, + this[e == "isover" ? "_over": "_out"].call(this, c), + f && e == "isout" && (f.isout = 0, f.isover = 1, f._over.call(f, c)) + } + }) + }, + dragStop: function(b, c) { + b.element.parents(":not(body,html)").unbind("scroll.droppable"), + b.options.refreshPositions || a.ui.ddmanager.prepareOffsets(b, c) + } + } +})(jQuery); +/* + * jQuery UI Resizable 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Resizables + * + * Depends: + * jquery.ui.core.js + * jquery.ui.mouse.js + * jquery.ui.widget.js + */ +(function(a, b) { + a.widget("ui.resizable", a.ui.mouse, { + widgetEventPrefix: "resize", + options: { + alsoResize: !1, + animate: !1, + animateDuration: "slow", + animateEasing: "swing", + aspectRatio: !1, + autoHide: !1, + containment: !1, + ghost: !1, + grid: !1, + handles: "e,s,se", + helper: !1, + maxHeight: null, + maxWidth: null, + minHeight: 10, + minWidth: 10, + zIndex: 1e3 + }, + _create: function() { + var b = this, + c = this.options; + this.element.addClass("ui-resizable"), + a.extend(this, { + _aspectRatio: !!c.aspectRatio, + aspectRatio: c.aspectRatio, + originalElement: this.element, + _proportionallyResizeElements: [], + _helper: c.helper || c.ghost || c.animate ? c.helper || "ui-resizable-helper": null + }), + this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i) && (this.element.wrap(a('
    ').css({ + position: this.element.css("position"), + width: this.element.outerWidth(), + height: this.element.outerHeight(), + top: this.element.css("top"), + left: this.element.css("left") + })), this.element = this.element.parent().data("resizable", this.element.data("resizable")), this.elementIsWrapper = !0, this.element.css({ + marginLeft: this.originalElement.css("marginLeft"), + marginTop: this.originalElement.css("marginTop"), + marginRight: this.originalElement.css("marginRight"), + marginBottom: this.originalElement.css("marginBottom") + }), this.originalElement.css({ + marginLeft: 0, + marginTop: 0, + marginRight: 0, + marginBottom: 0 + }), this.originalResizeStyle = this.originalElement.css("resize"), this.originalElement.css("resize", "none"), this._proportionallyResizeElements.push(this.originalElement.css({ + position: "static", + zoom: 1, + display: "block" + })), this.originalElement.css({ + margin: this.originalElement.css("margin") + }), this._proportionallyResize()), + this.handles = c.handles || (a(".ui-resizable-handle", this.element).length ? { + n: ".ui-resizable-n", + e: ".ui-resizable-e", + s: ".ui-resizable-s", + w: ".ui-resizable-w", + se: ".ui-resizable-se", + sw: ".ui-resizable-sw", + ne: ".ui-resizable-ne", + nw: ".ui-resizable-nw" + }: "e,s,se"); + if (this.handles.constructor == String) { + this.handles == "all" && (this.handles = "n,e,s,w,se,sw,ne,nw"); + var d = this.handles.split(","); + this.handles = {}; + for (var e = 0; e < d.length; e++) { + var f = a.trim(d[e]), + g = "ui-resizable-" + f, + h = a('
    '); + /sw|se|ne|nw/.test(f) && h.css({ + zIndex: ++c.zIndex + }), + "se" == f && h.addClass("ui-icon ui-icon-gripsmall-diagonal-se"), + this.handles[f] = ".ui-resizable-" + f, + this.element.append(h) + } + } + this._renderAxis = function(b) { + b = b || this.element; + for (var c in this.handles) { + this.handles[c].constructor == String && (this.handles[c] = a(this.handles[c], this.element).show()); + if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) { + var d = a(this.handles[c], this.element), + e = 0; + e = /sw|ne|nw|se|n|s/.test(c) ? d.outerHeight() : d.outerWidth(); + var f = ["padding", /ne|nw|n/.test(c) ? "Top": /se|sw|s/.test(c) ? "Bottom": /^e$/.test(c) ? "Right": "Left"].join(""); + b.css(f, e), + this._proportionallyResize() + } + if (!a(this.handles[c]).length) continue + } + }, + this._renderAxis(this.element), + this._handles = a(".ui-resizable-handle", this.element).disableSelection(), + this._handles.mouseover(function() { + if (!b.resizing) { + if (this.className) var a = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i); + b.axis = a && a[1] ? a[1] : "se" + } + }), + c.autoHide && (this._handles.hide(), a(this.element).addClass("ui-resizable-autohide").hover(function() { + c.disabled || (a(this).removeClass("ui-resizable-autohide"), b._handles.show()) + }, + function() { + c.disabled || b.resizing || (a(this).addClass("ui-resizable-autohide"), b._handles.hide()) + })), + this._mouseInit() + }, + destroy: function() { + this._mouseDestroy(); + var b = function(b) { + a(b).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove() + }; + if (this.elementIsWrapper) { + b(this.element); + var c = this.element; + c.after(this.originalElement.css({ + position: c.css("position"), + width: c.outerWidth(), + height: c.outerHeight(), + top: c.css("top"), + left: c.css("left") + })).remove() + } + this.originalElement.css("resize", this.originalResizeStyle), + b(this.originalElement); + return this + }, + _mouseCapture: function(b) { + var c = !1; + for (var d in this.handles) a(this.handles[d])[0] == b.target && (c = !0); + return ! this.options.disabled && c + }, + _mouseStart: function(b) { + var d = this.options, + e = this.element.position(), + f = this.element; + this.resizing = !0, + this.documentScroll = { + top: a(document).scrollTop(), + left: a(document).scrollLeft() + }, + (f.is(".ui-draggable") || /absolute/.test(f.css("position"))) && f.css({ + position: "absolute", + top: e.top, + left: e.left + }), + this._renderProxy(); + var g = c(this.helper.css("left")), + h = c(this.helper.css("top")); + d.containment && (g += a(d.containment).scrollLeft() || 0, h += a(d.containment).scrollTop() || 0), + this.offset = this.helper.offset(), + this.position = { + left: g, + top: h + }, + this.size = this._helper ? { + width: f.outerWidth(), + height: f.outerHeight() + }: { + width: f.width(), + height: f.height() + }, + this.originalSize = this._helper ? { + width: f.outerWidth(), + height: f.outerHeight() + }: { + width: f.width(), + height: f.height() + }, + this.originalPosition = { + left: g, + top: h + }, + this.sizeDiff = { + width: f.outerWidth() - f.width(), + height: f.outerHeight() - f.height() + }, + this.originalMousePosition = { + left: b.pageX, + top: b.pageY + }, + this.aspectRatio = typeof d.aspectRatio == "number" ? d.aspectRatio: this.originalSize.width / this.originalSize.height || 1; + var i = a(".ui-resizable-" + this.axis).css("cursor"); + a("body").css("cursor", i == "auto" ? this.axis + "-resize": i), + f.addClass("ui-resizable-resizing"), + this._propagate("start", b); + return ! 0 + }, + _mouseDrag: function(b) { + var c = this.helper, + d = this.options, + e = {}, + f = this, + g = this.originalMousePosition, + h = this.axis, + i = b.pageX - g.left || 0, + j = b.pageY - g.top || 0, + k = this._change[h]; + if (!k) return ! 1; + var l = k.apply(this, [b, i, j]), + m = a.browser.msie && a.browser.version < 7, + n = this.sizeDiff; + this._updateVirtualBoundaries(b.shiftKey); + if (this._aspectRatio || b.shiftKey) l = this._updateRatio(l, b); + l = this._respectSize(l, b), + this._propagate("resize", b), + c.css({ + top: this.position.top + "px", + left: this.position.left + "px", + width: this.size.width + "px", + height: this.size.height + "px" + }), + !this._helper && this._proportionallyResizeElements.length && this._proportionallyResize(), + this._updateCache(l), + this._trigger("resize", b, this.ui()); + return ! 1 + }, + _mouseStop: function(b) { + this.resizing = !1; + var c = this.options, + d = this; + if (this._helper) { + var e = this._proportionallyResizeElements, + f = e.length && /textarea/i.test(e[0].nodeName), + g = f && a.ui.hasScroll(e[0], "left") ? 0 : d.sizeDiff.height, + h = f ? 0 : d.sizeDiff.width, + i = { + width: d.helper.width() - h, + height: d.helper.height() - g + }, + j = parseInt(d.element.css("left"), 10) + (d.position.left - d.originalPosition.left) || null, + k = parseInt(d.element.css("top"), 10) + (d.position.top - d.originalPosition.top) || null; + c.animate || this.element.css(a.extend(i, { + top: k, + left: j + })), + d.helper.height(d.size.height), + d.helper.width(d.size.width), + this._helper && !c.animate && this._proportionallyResize() + } + a("body").css("cursor", "auto"), + this.element.removeClass("ui-resizable-resizing"), + this._propagate("stop", b), + this._helper && this.helper.remove(); + return ! 1 + }, + _updateVirtualBoundaries: function(a) { + var b = this.options, + c, e, f, g, h; + h = { + minWidth: d(b.minWidth) ? b.minWidth: 0, + maxWidth: d(b.maxWidth) ? b.maxWidth: Infinity, + minHeight: d(b.minHeight) ? b.minHeight: 0, + maxHeight: d(b.maxHeight) ? b.maxHeight: Infinity + }; + if (this._aspectRatio || a) c = h.minHeight * this.aspectRatio, + f = h.minWidth / this.aspectRatio, + e = h.maxHeight * this.aspectRatio, + g = h.maxWidth / this.aspectRatio, + c > h.minWidth && (h.minWidth = c), + f > h.minHeight && (h.minHeight = f), + e < h.maxWidth && (h.maxWidth = e), + g < h.maxHeight && (h.maxHeight = g); + this._vBoundaries = h + }, + _updateCache: function(a) { + var b = this.options; + this.offset = this.helper.offset(), + d(a.left) && (this.position.left = a.left), + d(a.top) && (this.position.top = a.top), + d(a.height) && (this.size.height = a.height), + d(a.width) && (this.size.width = a.width) + }, + _updateRatio: function(a, b) { + var c = this.options, + e = this.position, + f = this.size, + g = this.axis; + d(a.height) ? a.width = a.height * this.aspectRatio: d(a.width) && (a.height = a.width / this.aspectRatio), + g == "sw" && (a.left = e.left + (f.width - a.width), a.top = null), + g == "nw" && (a.top = e.top + (f.height - a.height), a.left = e.left + (f.width - a.width)); + return a + }, + _respectSize: function(a, b) { + var c = this.helper, + e = this._vBoundaries, + f = this._aspectRatio || b.shiftKey, + g = this.axis, + h = d(a.width) && e.maxWidth && e.maxWidth < a.width, + i = d(a.height) && e.maxHeight && e.maxHeight < a.height, + j = d(a.width) && e.minWidth && e.minWidth > a.width, + k = d(a.height) && e.minHeight && e.minHeight > a.height; + j && (a.width = e.minWidth), + k && (a.height = e.minHeight), + h && (a.width = e.maxWidth), + i && (a.height = e.maxHeight); + var l = this.originalPosition.left + this.originalSize.width, + m = this.position.top + this.size.height, + n = /sw|nw|w/.test(g), + o = /nw|ne|n/.test(g); + j && n && (a.left = l - e.minWidth), + h && n && (a.left = l - e.maxWidth), + k && o && (a.top = m - e.minHeight), + i && o && (a.top = m - e.maxHeight); + var p = !a.width && !a.height; + p && !a.left && a.top ? a.top = null: p && !a.top && a.left && (a.left = null); + return a + }, + _proportionallyResize: function() { + var b = this.options; + if ( !! this._proportionallyResizeElements.length) { + var c = this.helper || this.element; + for (var d = 0; d < this._proportionallyResizeElements.length; d++) { + var e = this._proportionallyResizeElements[d]; + if (!this.borderDif) { + var f = [e.css("borderTopWidth"), e.css("borderRightWidth"), e.css("borderBottomWidth"), e.css("borderLeftWidth")], + g = [e.css("paddingTop"), e.css("paddingRight"), e.css("paddingBottom"), e.css("paddingLeft")]; + this.borderDif = a.map(f, + function(a, b) { + var c = parseInt(a, 10) || 0, + d = parseInt(g[b], 10) || 0; + return c + d + }) + } + if (a.browser.msie && ( !! a(c).is(":hidden") || !!a(c).parents(":hidden").length)) continue; + e.css({ + height: c.height() - this.borderDif[0] - this.borderDif[2] || 0, + width: c.width() - this.borderDif[1] - this.borderDif[3] || 0 + }) + } + } + }, + _renderProxy: function() { + var b = this.element, + c = this.options; + this.elementOffset = b.offset(); + if (this._helper) { + this.helper = this.helper || a('
    '); + var d = a.browser.msie && a.browser.version < 7, + e = d ? 1 : 0, + f = d ? 2 : -1; + this.helper.addClass(this._helper).css({ + width: this.element.outerWidth() + f, + height: this.element.outerHeight() + f, + position: "absolute", + left: this.elementOffset.left - e + "px", + top: this.elementOffset.top - e + "px", + zIndex: ++c.zIndex + }), + this.helper.appendTo("body").disableSelection() + } else this.helper = this.element + }, + _change: { + e: function(a, b, c) { + return { + width: this.originalSize.width + b + } + }, + w: function(a, b, c) { + var d = this.options, + e = this.originalSize, + f = this.originalPosition; + return { + left: f.left + b, + width: e.width - b + } + }, + n: function(a, b, c) { + var d = this.options, + e = this.originalSize, + f = this.originalPosition; + return { + top: f.top + c, + height: e.height - c + } + }, + s: function(a, b, c) { + return { + height: this.originalSize.height + c + } + }, + se: function(b, c, d) { + return a.extend(this._change.s.apply(this, arguments), this._change.e.apply(this, [b, c, d])) + }, + sw: function(b, c, d) { + return a.extend(this._change.s.apply(this, arguments), this._change.w.apply(this, [b, c, d])) + }, + ne: function(b, c, d) { + return a.extend(this._change.n.apply(this, arguments), this._change.e.apply(this, [b, c, d])) + }, + nw: function(b, c, d) { + return a.extend(this._change.n.apply(this, arguments), this._change.w.apply(this, [b, c, d])) + } + }, + _propagate: function(b, c) { + a.ui.plugin.call(this, b, [c, this.ui()]), + b != "resize" && this._trigger(b, c, this.ui()) + }, + plugins: {}, + ui: function() { + return { + originalElement: this.originalElement, + element: this.element, + helper: this.helper, + position: this.position, + size: this.size, + originalSize: this.originalSize, + originalPosition: this.originalPosition + } + } + }), + a.extend(a.ui.resizable, { + version: "1.8.18" + }), + a.ui.plugin.add("resizable", "alsoResize", { + start: function(b, c) { + var d = a(this).data("resizable"), + e = d.options, + f = function(b) { + a(b).each(function() { + var b = a(this); + b.data("resizable-alsoresize", { + width: parseInt(b.width(), 10), + height: parseInt(b.height(), 10), + left: parseInt(b.css("left"), 10), + top: parseInt(b.css("top"), 10) + }) + }) + }; + typeof e.alsoResize == "object" && !e.alsoResize.parentNode ? e.alsoResize.length ? (e.alsoResize = e.alsoResize[0], f(e.alsoResize)) : a.each(e.alsoResize, + function(a) { + f(a) + }) : f(e.alsoResize) + }, + resize: function(b, c) { + var d = a(this).data("resizable"), + e = d.options, + f = d.originalSize, + g = d.originalPosition, + h = { + height: d.size.height - f.height || 0, + width: d.size.width - f.width || 0, + top: d.position.top - g.top || 0, + left: d.position.left - g.left || 0 + }, + i = function(b, d) { + a(b).each(function() { + var b = a(this), + e = a(this).data("resizable-alsoresize"), + f = {}, + g = d && d.length ? d: b.parents(c.originalElement[0]).length ? ["width", "height"] : ["width", "height", "top", "left"]; + a.each(g, + function(a, b) { + var c = (e[b] || 0) + (h[b] || 0); + c && c >= 0 && (f[b] = c || null) + }), + b.css(f) + }) + }; + typeof e.alsoResize == "object" && !e.alsoResize.nodeType ? a.each(e.alsoResize, + function(a, b) { + i(a, b) + }) : i(e.alsoResize) + }, + stop: function(b, c) { + a(this).removeData("resizable-alsoresize") + } + }), + a.ui.plugin.add("resizable", "animate", { + stop: function(b, c) { + var d = a(this).data("resizable"), + e = d.options, + f = d._proportionallyResizeElements, + g = f.length && /textarea/i.test(f[0].nodeName), + h = g && a.ui.hasScroll(f[0], "left") ? 0 : d.sizeDiff.height, + i = g ? 0 : d.sizeDiff.width, + j = { + width: d.size.width - i, + height: d.size.height - h + }, + k = parseInt(d.element.css("left"), 10) + (d.position.left - d.originalPosition.left) || null, + l = parseInt(d.element.css("top"), 10) + (d.position.top - d.originalPosition.top) || null; + d.element.animate(a.extend(j, l && k ? { + top: l, + left: k + }: {}), { + duration: e.animateDuration, + easing: e.animateEasing, + step: function() { + var c = { + width: parseInt(d.element.css("width"), 10), + height: parseInt(d.element.css("height"), 10), + top: parseInt(d.element.css("top"), 10), + left: parseInt(d.element.css("left"), 10) + }; + f && f.length && a(f[0]).css({ + width: c.width, + height: c.height + }), + d._updateCache(c), + d._propagate("resize", b) + } + }) + } + }), + a.ui.plugin.add("resizable", "containment", { + start: function(b, d) { + var e = a(this).data("resizable"), + f = e.options, + g = e.element, + h = f.containment, + i = h instanceof a ? h.get(0) : /parent/.test(h) ? g.parent().get(0) : h; + if ( !! i) { + e.containerElement = a(i); + if (/document/.test(h) || h == document) e.containerOffset = { + left: 0, + top: 0 + }, + e.containerPosition = { + left: 0, + top: 0 + }, + e.parentData = { + element: a(document), + left: 0, + top: 0, + width: a(document).width(), + height: a(document).height() || document.body.parentNode.scrollHeight + }; + else { + var j = a(i), + k = []; + a(["Top", "Right", "Left", "Bottom"]).each(function(a, b) { + k[a] = c(j.css("padding" + b)) + }), + e.containerOffset = j.offset(), + e.containerPosition = j.position(), + e.containerSize = { + height: j.innerHeight() - k[3], + width: j.innerWidth() - k[1] + }; + var l = e.containerOffset, + m = e.containerSize.height, + n = e.containerSize.width, + o = a.ui.hasScroll(i, "left") ? i.scrollWidth: n, + p = a.ui.hasScroll(i) ? i.scrollHeight: m; + e.parentData = { + element: i, + left: l.left, + top: l.top, + width: o, + height: p + } + } + } + }, + resize: function(b, c) { + var d = a(this).data("resizable"), + e = d.options, + f = d.containerSize, + g = d.containerOffset, + h = d.size, + i = d.position, + j = d._aspectRatio || b.shiftKey, + k = { + top: 0, + left: 0 + }, + l = d.containerElement; + l[0] != document && /static/.test(l.css("position")) && (k = g), + i.left < (d._helper ? g.left: 0) && (d.size.width = d.size.width + (d._helper ? d.position.left - g.left: d.position.left - k.left), j && (d.size.height = d.size.width / e.aspectRatio), d.position.left = e.helper ? g.left: 0), + i.top < (d._helper ? g.top: 0) && (d.size.height = d.size.height + (d._helper ? d.position.top - g.top: d.position.top), j && (d.size.width = d.size.height * e.aspectRatio), d.position.top = d._helper ? g.top: 0), + d.offset.left = d.parentData.left + d.position.left, + d.offset.top = d.parentData.top + d.position.top; + var m = Math.abs((d._helper ? d.offset.left - k.left: d.offset.left - k.left) + d.sizeDiff.width), + n = Math.abs((d._helper ? d.offset.top - k.top: d.offset.top - g.top) + d.sizeDiff.height), + o = d.containerElement.get(0) == d.element.parent().get(0), + p = /relative|absolute/.test(d.containerElement.css("position")); + o && p && (m -= d.parentData.left), + m + d.size.width >= d.parentData.width && (d.size.width = d.parentData.width - m, j && (d.size.height = d.size.width / d.aspectRatio)), + n + d.size.height >= d.parentData.height && (d.size.height = d.parentData.height - n, j && (d.size.width = d.size.height * d.aspectRatio)) + }, + stop: function(b, c) { + var d = a(this).data("resizable"), + e = d.options, + f = d.position, + g = d.containerOffset, + h = d.containerPosition, + i = d.containerElement, + j = a(d.helper), + k = j.offset(), + l = j.outerWidth() - d.sizeDiff.width, + m = j.outerHeight() - d.sizeDiff.height; + d._helper && !e.animate && /relative/.test(i.css("position")) && a(this).css({ + left: k.left - h.left - g.left, + width: l, + height: m + }), + d._helper && !e.animate && /static/.test(i.css("position")) && a(this).css({ + left: k.left - h.left - g.left, + width: l, + height: m + }) + } + }), + a.ui.plugin.add("resizable", "ghost", { + start: function(b, c) { + var d = a(this).data("resizable"), + e = d.options, + f = d.size; + d.ghost = d.originalElement.clone(), + d.ghost.css({ + opacity: .25, + display: "block", + position: "relative", + height: f.height, + width: f.width, + margin: 0, + left: 0, + top: 0 + }).addClass("ui-resizable-ghost").addClass(typeof e.ghost == "string" ? e.ghost: ""), + d.ghost.appendTo(d.helper) + }, + resize: function(b, c) { + var d = a(this).data("resizable"), + e = d.options; + d.ghost && d.ghost.css({ + position: "relative", + height: d.size.height, + width: d.size.width + }) + }, + stop: function(b, c) { + var d = a(this).data("resizable"), + e = d.options; + d.ghost && d.helper && d.helper.get(0).removeChild(d.ghost.get(0)) + } + }), + a.ui.plugin.add("resizable", "grid", { + resize: function(b, c) { + var d = a(this).data("resizable"), + e = d.options, + f = d.size, + g = d.originalSize, + h = d.originalPosition, + i = d.axis, + j = e._aspectRatio || b.shiftKey; + e.grid = typeof e.grid == "number" ? [e.grid, e.grid] : e.grid; + var k = Math.round((f.width - g.width) / (e.grid[0] || 1)) * (e.grid[0] || 1), + l = Math.round((f.height - g.height) / (e.grid[1] || 1)) * (e.grid[1] || 1); + /^(se|s|e)$/.test(i) ? (d.size.width = g.width + k, d.size.height = g.height + l) : /^(ne)$/.test(i) ? (d.size.width = g.width + k, d.size.height = g.height + l, d.position.top = h.top - l) : /^(sw)$/.test(i) ? (d.size.width = g.width + k, d.size.height = g.height + l, d.position.left = h.left - k) : (d.size.width = g.width + k, d.size.height = g.height + l, d.position.top = h.top - l, d.position.left = h.left - k) + } + }); + var c = function(a) { + return parseInt(a, 10) || 0 + }, + d = function(a) { + return ! isNaN(parseInt(a, 10)) + } +})(jQuery); +/* + * jQuery UI Selectable 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Selectables + * + * Depends: + * jquery.ui.core.js + * jquery.ui.mouse.js + * jquery.ui.widget.js + */ +(function(a, b) { + a.widget("ui.selectable", a.ui.mouse, { + options: { + appendTo: "body", + autoRefresh: !0, + distance: 0, + filter: "*", + tolerance: "touch" + }, + _create: function() { + var b = this; + this.element.addClass("ui-selectable"), + this.dragged = !1; + var c; + this.refresh = function() { + c = a(b.options.filter, b.element[0]), + c.addClass("ui-selectee"), + c.each(function() { + var b = a(this), + c = b.offset(); + a.data(this, "selectable-item", { + element: this, + $element: b, + left: c.left, + top: c.top, + right: c.left + b.outerWidth(), + bottom: c.top + b.outerHeight(), + startselected: !1, + selected: b.hasClass("ui-selected"), + selecting: b.hasClass("ui-selecting"), + unselecting: b.hasClass("ui-unselecting") + }) + }) + }, + this.refresh(), + this.selectees = c.addClass("ui-selectee"), + this._mouseInit(), + this.helper = a("
    ") + }, + destroy: function() { + this.selectees.removeClass("ui-selectee").removeData("selectable-item"), + this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable"), + this._mouseDestroy(); + return this + }, + _mouseStart: function(b) { + var c = this; + this.opos = [b.pageX, b.pageY]; + if (!this.options.disabled) { + var d = this.options; + this.selectees = a(d.filter, this.element[0]), + this._trigger("start", b), + a(d.appendTo).append(this.helper), + this.helper.css({ + left: b.clientX, + top: b.clientY, + width: 0, + height: 0 + }), + d.autoRefresh && this.refresh(), + this.selectees.filter(".ui-selected").each(function() { + var d = a.data(this, "selectable-item"); + d.startselected = !0, + !b.metaKey && !b.ctrlKey && (d.$element.removeClass("ui-selected"), d.selected = !1, d.$element.addClass("ui-unselecting"), d.unselecting = !0, c._trigger("unselecting", b, { + unselecting: d.element + })) + }), + a(b.target).parents().andSelf().each(function() { + var d = a.data(this, "selectable-item"); + if (d) { + var e = !b.metaKey && !b.ctrlKey || !d.$element.hasClass("ui-selected"); + d.$element.removeClass(e ? "ui-unselecting": "ui-selected").addClass(e ? "ui-selecting": "ui-unselecting"), + d.unselecting = !e, + d.selecting = e, + d.selected = e, + e ? c._trigger("selecting", b, { + selecting: d.element + }) : c._trigger("unselecting", b, { + unselecting: d.element + }); + return ! 1 + } + }) + } + }, + _mouseDrag: function(b) { + var c = this; + this.dragged = !0; + if (!this.options.disabled) { + var d = this.options, + e = this.opos[0], + f = this.opos[1], + g = b.pageX, + h = b.pageY; + if (e > g) { + var i = g; + g = e, + e = i + } + if (f > h) { + var i = h; + h = f, + f = i + } + this.helper.css({ + left: e, + top: f, + width: g - e, + height: h - f + }), + this.selectees.each(function() { + var i = a.data(this, "selectable-item"); + if ( !! i && i.element != c.element[0]) { + var j = !1; + d.tolerance == "touch" ? j = !(i.left > g || i.right < e || i.top > h || i.bottom < f) : d.tolerance == "fit" && (j = i.left > e && i.right < g && i.top > f && i.bottom < h), + j ? (i.selected && (i.$element.removeClass("ui-selected"), i.selected = !1), i.unselecting && (i.$element.removeClass("ui-unselecting"), i.unselecting = !1), i.selecting || (i.$element.addClass("ui-selecting"), i.selecting = !0, c._trigger("selecting", b, { + selecting: i.element + }))) : (i.selecting && ((b.metaKey || b.ctrlKey) && i.startselected ? (i.$element.removeClass("ui-selecting"), i.selecting = !1, i.$element.addClass("ui-selected"), i.selected = !0) : (i.$element.removeClass("ui-selecting"), i.selecting = !1, i.startselected && (i.$element.addClass("ui-unselecting"), i.unselecting = !0), c._trigger("unselecting", b, { + unselecting: i.element + }))), i.selected && !b.metaKey && !b.ctrlKey && !i.startselected && (i.$element.removeClass("ui-selected"), i.selected = !1, i.$element.addClass("ui-unselecting"), i.unselecting = !0, c._trigger("unselecting", b, { + unselecting: i.element + }))) + } + }); + return ! 1 + } + }, + _mouseStop: function(b) { + var c = this; + this.dragged = !1; + var d = this.options; + a(".ui-unselecting", this.element[0]).each(function() { + var d = a.data(this, "selectable-item"); + d.$element.removeClass("ui-unselecting"), + d.unselecting = !1, + d.startselected = !1, + c._trigger("unselected", b, { + unselected: d.element + }) + }), + a(".ui-selecting", this.element[0]).each(function() { + var d = a.data(this, "selectable-item"); + d.$element.removeClass("ui-selecting").addClass("ui-selected"), + d.selecting = !1, + d.selected = !0, + d.startselected = !0, + c._trigger("selected", b, { + selected: d.element + }) + }), + this._trigger("stop", b), + this.helper.remove(); + return ! 1 + } + }), + a.extend(a.ui.selectable, { + version: "1.8.18" + }) +})(jQuery); +/* + * jQuery UI Sortable 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Sortables + * + * Depends: + * jquery.ui.core.js + * jquery.ui.mouse.js + * jquery.ui.widget.js + */ +(function(a, b) { + a.widget("ui.sortable", a.ui.mouse, { + widgetEventPrefix: "sort", + ready: !1, + options: { + appendTo: "parent", + axis: !1, + connectWith: !1, + containment: !1, + cursor: "auto", + cursorAt: !1, + dropOnEmpty: !0, + forcePlaceholderSize: !1, + forceHelperSize: !1, + grid: !1, + handle: !1, + helper: "original", + items: "> *", + opacity: !1, + placeholder: !1, + revert: !1, + scroll: !0, + scrollSensitivity: 20, + scrollSpeed: 20, + scope: "default", + tolerance: "intersect", + zIndex: 1e3 + }, + _create: function() { + var a = this.options; + this.containerCache = {}, + this.element.addClass("ui-sortable"), + this.refresh(), + this.floating = this.items.length ? a.axis === "x" || /left|right/.test(this.items[0].item.css("float")) || /inline|table-cell/.test(this.items[0].item.css("display")) : !1, + this.offset = this.element.offset(), + this._mouseInit(), + this.ready = !0 + }, + destroy: function() { + a.Widget.prototype.destroy.call(this), + this.element.removeClass("ui-sortable ui-sortable-disabled"), + this._mouseDestroy(); + for (var b = this.items.length - 1; b >= 0; b--) this.items[b].item.removeData(this.widgetName + "-item"); + return this + }, + _setOption: function(b, c) { + b === "disabled" ? (this.options[b] = c, this.widget()[c ? "addClass": "removeClass"]("ui-sortable-disabled")) : a.Widget.prototype._setOption.apply(this, arguments) + }, + _mouseCapture: function(b, c) { + var d = this; + if (this.reverting) return ! 1; + if (this.options.disabled || this.options.type == "static") return ! 1; + this._refreshItems(b); + var e = null, + f = this, + g = a(b.target).parents().each(function() { + if (a.data(this, d.widgetName + "-item") == f) { + e = a(this); + return ! 1 + } + }); + a.data(b.target, d.widgetName + "-item") == f && (e = a(b.target)); + if (!e) return ! 1; + if (this.options.handle && !c) { + var h = !1; + a(this.options.handle, e).find("*").andSelf().each(function() { + this == b.target && (h = !0) + }); + if (!h) return ! 1 + } + this.currentItem = e, + + this._removeCurrentsFromItems(); + return ! 0 + }, + _mouseStart: function(b, c, d) { + var e = this.options, + f = this; + this.currentContainer = this, + this.refreshPositions(), + this.helper = this._createHelper(b), + this._cacheHelperProportions(), + this._cacheMargins(), + this.scrollParent = this.helper.scrollParent(), + this.offset = this.currentItem.offset(), + this.offset = { + top: this.offset.top - this.margins.top, + left: this.offset.left - this.margins.left + }, + this.helper.css("position", "absolute"), + this.cssPosition = this.helper.css("position"), + a.extend(this.offset, { + click: { + left: b.pageX - this.offset.left, + top: b.pageY - this.offset.top + }, + parent: this._getParentOffset(), + relative: this._getRelativeOffset() + }), + this.originalPosition = this._generatePosition(b), + this.originalPageX = b.pageX, + this.originalPageY = b.pageY, + e.cursorAt && this._adjustOffsetFromHelper(e.cursorAt), + this.domPosition = { + prev: this.currentItem.prev()[0], + parent: this.currentItem.parent()[0] + }, + this.helper[0] != this.currentItem[0] && this.currentItem.hide(), + this._createPlaceholder(), + e.containment && this._setContainment(), + e.cursor && (a("body").css("cursor") && (this._storedCursor = a("body").css("cursor")), a("body").css("cursor", e.cursor)), + e.opacity && (this.helper.css("opacity") && (this._storedOpacity = this.helper.css("opacity")), this.helper.css("opacity", e.opacity)), + e.zIndex && (this.helper.css("zIndex") && (this._storedZIndex = this.helper.css("zIndex")), this.helper.css("zIndex", e.zIndex)), + this.scrollParent[0] != document && this.scrollParent[0].tagName != "HTML" && (this.overflowOffset = this.scrollParent.offset()), + this._trigger("start", b, this._uiHash()), + this._preserveHelperProportions || this._cacheHelperProportions(); + if (!d) for (var g = this.containers.length - 1; g >= 0; g--) this.containers[g]._trigger("activate", b, f._uiHash(this)); + a.ui.ddmanager && (a.ui.ddmanager.current = this), + a.ui.ddmanager && !e.dropBehaviour && a.ui.ddmanager.prepareOffsets(this, b), + this.dragging = !0, + this.helper.addClass("ui-sortable-helper"), + this._mouseDrag(b); + return ! 0 + }, + _mouseDrag: function(b) { + this.position = this._generatePosition(b), + this.positionAbs = this._convertPositionTo("absolute"), + this.lastPositionAbs || (this.lastPositionAbs = this.positionAbs); + if (this.options.scroll) { + var c = this.options, + d = !1; + this.scrollParent[0] != document && this.scrollParent[0].tagName != "HTML" ? (this.overflowOffset.top + this.scrollParent[0].offsetHeight - b.pageY < c.scrollSensitivity ? this.scrollParent[0].scrollTop = d = this.scrollParent[0].scrollTop + c.scrollSpeed: b.pageY - this.overflowOffset.top < c.scrollSensitivity && (this.scrollParent[0].scrollTop = d = this.scrollParent[0].scrollTop - c.scrollSpeed), this.overflowOffset.left + this.scrollParent[0].offsetWidth - b.pageX < c.scrollSensitivity ? this.scrollParent[0].scrollLeft = d = this.scrollParent[0].scrollLeft + c.scrollSpeed: b.pageX - this.overflowOffset.left < c.scrollSensitivity && (this.scrollParent[0].scrollLeft = d = this.scrollParent[0].scrollLeft - c.scrollSpeed)) : (b.pageY - a(document).scrollTop() < c.scrollSensitivity ? d = a(document).scrollTop(a(document).scrollTop() - c.scrollSpeed) : a(window).height() - (b.pageY - a(document).scrollTop()) < c.scrollSensitivity && (d = a(document).scrollTop(a(document).scrollTop() + c.scrollSpeed)), b.pageX - a(document).scrollLeft() < c.scrollSensitivity ? d = a(document).scrollLeft(a(document).scrollLeft() - c.scrollSpeed) : a(window).width() - (b.pageX - a(document).scrollLeft()) < c.scrollSensitivity && (d = a(document).scrollLeft(a(document).scrollLeft() + c.scrollSpeed))), + d !== !1 && a.ui.ddmanager && !c.dropBehaviour && a.ui.ddmanager.prepareOffsets(this, b) + } + this.positionAbs = this._convertPositionTo("absolute"); + if (!this.options.axis || this.options.axis != "y") this.helper[0].style.left = this.position.left + "px"; + if (!this.options.axis || this.options.axis != "x") this.helper[0].style.top = this.position.top + "px"; + for (var e = this.items.length - 1; e >= 0; e--) { + var f = this.items[e], + g = f.item[0], + h = this._intersectsWithPointer(f); + if (!h) continue; + if (g != this.currentItem[0] && this.placeholder[h == 1 ? "next": "prev"]()[0] != g && !a.ui.contains(this.placeholder[0], g) && (this.options.type == "semi-dynamic" ? !a.ui.contains(this.element[0], g) : !0)) { + this.direction = h == 1 ? "down": "up"; + if (this.options.tolerance == "pointer" || this._intersectsWithSides(f)) this._rearrange(b, f); + else break; + this._trigger("change", b, this._uiHash()); + break + } + } + this._contactContainers(b), + a.ui.ddmanager && a.ui.ddmanager.drag(this, b), + this._trigger("sort", b, this._uiHash()), + this.lastPositionAbs = this.positionAbs; + return ! 1 + }, + _mouseStop: function(b, c) { + if ( !! b) { + a.ui.ddmanager && !this.options.dropBehaviour && a.ui.ddmanager.drop(this, b); + if (this.options.revert) { + var d = this, + e = d.placeholder.offset(); + d.reverting = !0, + a(this.helper).animate({ + left: e.left - this.offset.parent.left - d.margins.left + (this.offsetParent[0] == document.body ? 0 : this.offsetParent[0].scrollLeft), + top: e.top - this.offset.parent.top - d.margins.top + (this.offsetParent[0] == document.body ? 0 : this.offsetParent[0].scrollTop) + }, + parseInt(this.options.revert, 10) || 500, + function() { + d._clear(b) + }) + } else this._clear(b, c); + return ! 1 + } + }, + cancel: function() { + var b = this; + if (this.dragging) { + this._mouseUp({ + target: null + }), + this.options.helper == "original" ? this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper") : this.currentItem.show(); + for (var c = this.containers.length - 1; c >= 0; c--) this.containers[c]._trigger("deactivate", null, b._uiHash(this)), + this.containers[c].containerCache.over && (this.containers[c]._trigger("out", null, b._uiHash(this)), this.containers[c].containerCache.over = 0) + } + this.placeholder && (this.placeholder[0].parentNode && this.placeholder[0].parentNode.removeChild(this.placeholder[0]), this.options.helper != "original" && this.helper && this.helper[0].parentNode && this.helper.remove(), a.extend(this, { + helper: null, + dragging: !1, + reverting: !1, + _noFinalSort: null + }), this.domPosition.prev ? a(this.domPosition.prev).after(this.currentItem) : a(this.domPosition.parent).prepend(this.currentItem)); + return this + }, + serialize: function(b) { + var c = this._getItemsAsjQuery(b && b.connected), + d = []; + b = b || {}, + a(c).each(function() { + var c = (a(b.item || this).attr(b.attribute || "id") || "").match(b.expression || /(.+)[-=_](.+)/); + c && d.push((b.key || c[1] + "[]") + "=" + (b.key && b.expression ? c[1] : c[2])) + }), + !d.length && b.key && d.push(b.key + "="); + return d.join("&") + }, + toArray: function(b) { + var c = this._getItemsAsjQuery(b && b.connected), + d = []; + b = b || {}, + c.each(function() { + d.push(a(b.item || this).attr(b.attribute || "id") || "") + }); + return d + }, + _intersectsWith: function(a) { + var b = this.positionAbs.left, + c = b + this.helperProportions.width, + d = this.positionAbs.top, + e = d + this.helperProportions.height, + f = a.left, + g = f + a.width, + h = a.top, + i = h + a.height, + j = this.offset.click.top, + k = this.offset.click.left, + l = d + j > h && d + j < i && b + k > f && b + k < g; + return this.options.tolerance == "pointer" || this.options.forcePointerForContainers || this.options.tolerance != "pointer" && this.helperProportions[this.floating ? "width": "height"] > a[this.floating ? "width": "height"] ? l: f < b + this.helperProportions.width / 2 && c - this.helperProportions.width / 2 < g && h < d + this.helperProportions.height / 2 && e - this.helperProportions.height / 2 < i + }, + _intersectsWithPointer: function(b) { + var c = a.ui.isOverAxis(this.positionAbs.top + this.offset.click.top, b.top, b.height), + d = a.ui.isOverAxis(this.positionAbs.left + this.offset.click.left, b.left, b.width), + e = c && d, + f = this._getDragVerticalDirection(), + g = this._getDragHorizontalDirection(); + if (!e) return ! 1; + return this.floating ? g && g == "right" || f == "down" ? 2 : 1 : f && (f == "down" ? 2 : 1) + }, + _intersectsWithSides: function(b) { + var c = a.ui.isOverAxis(this.positionAbs.top + this.offset.click.top, b.top + b.height / 2, b.height), + d = a.ui.isOverAxis(this.positionAbs.left + this.offset.click.left, b.left + b.width / 2, b.width), + e = this._getDragVerticalDirection(), + f = this._getDragHorizontalDirection(); + return this.floating && f ? f == "right" && d || f == "left" && !d: e && (e == "down" && c || e == "up" && !c) + }, + _getDragVerticalDirection: function() { + var a = this.positionAbs.top - this.lastPositionAbs.top; + return a != 0 && (a > 0 ? "down": "up") + }, + _getDragHorizontalDirection: function() { + var a = this.positionAbs.left - this.lastPositionAbs.left; + return a != 0 && (a > 0 ? "right": "left") + }, + refresh: function(a) { + this._refreshItems(a), + this.refreshPositions(); + return this + }, + _connectWith: function() { + var a = this.options; + return a.connectWith.constructor == String ? [a.connectWith] : a.connectWith + }, + _getItemsAsjQuery: function(b) { + var c = this, + d = [], + e = [], + f = this._connectWith(); + if (f && b) for (var g = f.length - 1; g >= 0; g--) { + var h = a(f[g]); + for (var i = h.length - 1; i >= 0; i--) { + var j = a.data(h[i], this.widgetName); + j && j != this && !j.options.disabled && e.push([a.isFunction(j.options.items) ? j.options.items.call(j.element) : a(j.options.items, j.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), j]) + } + } + e.push([a.isFunction(this.options.items) ? this.options.items.call(this.element, null, { + options: this.options, + item: this.currentItem + }) : a(this.options.items, this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), this]); + for (var g = e.length - 1; g >= 0; g--) e[g][0].each(function() { + d.push(this) + }); + return a(d) + }, + _removeCurrentsFromItems: function() { + var a = this.currentItem.find(":data(" + this.widgetName + "-item)"); + for (var b = 0; b < this.items.length; b++) for (var c = 0; c < a.length; c++) a[c] == this.items[b].item[0] && this.items.splice(b, 1) + }, + _refreshItems: function(b) { + this.items = [], + this.containers = [this]; + var c = this.items, + d = this, + e = [[a.isFunction(this.options.items) ? this.options.items.call(this.element[0], b, { + item: this.currentItem + }) : a(this.options.items, this.element), this]], + f = this._connectWith(); + if (f && this.ready) for (var g = f.length - 1; g >= 0; g--) { + var h = a(f[g]); + for (var i = h.length - 1; i >= 0; i--) { + var j = a.data(h[i], this.widgetName); + j && j != this && !j.options.disabled && (e.push([a.isFunction(j.options.items) ? j.options.items.call(j.element[0], b, { + item: this.currentItem + }) : a(j.options.items, j.element), j]), this.containers.push(j)) + } + } + for (var g = e.length - 1; g >= 0; g--) { + var k = e[g][1], + l = e[g][0]; + for (var i = 0, + m = l.length; i < m; i++) { + var n = a(l[i]); + n.data(this.widgetName + "-item", k), + c.push({ + item: n, + instance: k, + width: 0, + height: 0, + left: 0, + top: 0 + }) + } + } + }, + refreshPositions: function(b) { + this.offsetParent && this.helper && (this.offset.parent = this._getParentOffset()); + for (var c = this.items.length - 1; c >= 0; c--) { + var d = this.items[c]; + if (d.instance != this.currentContainer && this.currentContainer && d.item[0] != this.currentItem[0]) continue; + var e = this.options.toleranceElement ? a(this.options.toleranceElement, d.item) : d.item; + b || (d.width = e.outerWidth(), d.height = e.outerHeight()); + var f = e.offset(); + d.left = f.left, + d.top = f.top + } + if (this.options.custom && this.options.custom.refreshContainers) this.options.custom.refreshContainers.call(this); + else for (var c = this.containers.length - 1; c >= 0; c--) { + var f = this.containers[c].element.offset(); + this.containers[c].containerCache.left = f.left, + this.containers[c].containerCache.top = f.top, + this.containers[c].containerCache.width = this.containers[c].element.outerWidth(), + this.containers[c].containerCache.height = this.containers[c].element.outerHeight() + } + return this + }, + _createPlaceholder: function(b) { + var c = b || this, + d = c.options; + if (!d.placeholder || d.placeholder.constructor == String) { + var e = d.placeholder; + d.placeholder = { + element: function() { + var b = a(document.createElement(c.currentItem[0].nodeName)).addClass(e || c.currentItem[0].className + " ui-sortable-placeholder").removeClass("ui-sortable-helper")[0]; + e || (b.style.visibility = "hidden"); + return b + }, + update: function(a, b) { + if (!e || !!d.forcePlaceholderSize) b.height() || b.height(c.currentItem.innerHeight() - parseInt(c.currentItem.css("paddingTop") || 0, 10) - parseInt(c.currentItem.css("paddingBottom") || 0, 10)), + b.width() || b.width(c.currentItem.innerWidth() - parseInt(c.currentItem.css("paddingLeft") || 0, 10) - parseInt(c.currentItem.css("paddingRight") || 0, 10)) + } + } + } + c.placeholder = a(d.placeholder.element.call(c.element, c.currentItem)), + c.currentItem.after(c.placeholder), + d.placeholder.update(c, c.placeholder) + }, + _contactContainers: function(b) { + var c = null, + d = null; + for (var e = this.containers.length - 1; e >= 0; e--) { + if (a.ui.contains(this.currentItem[0], this.containers[e].element[0])) continue; + if (this._intersectsWith(this.containers[e].containerCache)) { + if (c && a.ui.contains(this.containers[e].element[0], c.element[0])) continue; + c = this.containers[e], + d = e + } else this.containers[e].containerCache.over && (this.containers[e]._trigger("out", b, this._uiHash(this)), this.containers[e].containerCache.over = 0) + } + if ( !! c) if (this.containers.length === 1) this.containers[d]._trigger("over", b, this._uiHash(this)), + this.containers[d].containerCache.over = 1; + else if (this.currentContainer != this.containers[d]) { + var f = 1e4, + g = null, + h = this.positionAbs[this.containers[d].floating ? "left": "top"]; + for (var i = this.items.length - 1; i >= 0; i--) { + if (!a.ui.contains(this.containers[d].element[0], this.items[i].item[0])) continue; + var j = this.items[i][this.containers[d].floating ? "left": "top"]; + Math.abs(j - h) < f && (f = Math.abs(j - h), g = this.items[i]) + } + if (!g && !this.options.dropOnEmpty) return; + this.currentContainer = this.containers[d], + g ? this._rearrange(b, g, null, !0) : this._rearrange(b, null, this.containers[d].element, !0), + this._trigger("change", b, this._uiHash()), + this.containers[d]._trigger("change", b, this._uiHash(this)), + this.options.placeholder.update(this.currentContainer, this.placeholder), + this.containers[d]._trigger("over", b, this._uiHash(this)), + this.containers[d].containerCache.over = 1 + } + }, + _createHelper: function(b) { + var c = this.options, + d = a.isFunction(c.helper) ? a(c.helper.apply(this.element[0], [b, this.currentItem])) : c.helper == "clone" ? this.currentItem.clone() : this.currentItem; + d.parents("body").length || a(c.appendTo != "parent" ? c.appendTo: this.currentItem[0].parentNode)[0].appendChild(d[0]), + d[0] == this.currentItem[0] && (this._storedCSS = { + width: this.currentItem[0].style.width, + height: this.currentItem[0].style.height, + position: this.currentItem.css("position"), + top: this.currentItem.css("top"), + left: this.currentItem.css("left") + }), + (d[0].style.width == "" || c.forceHelperSize) && d.width(this.currentItem.width()), + (d[0].style.height == "" || c.forceHelperSize) && d.height(this.currentItem.height()); + return d + }, + _adjustOffsetFromHelper: function(b) { + typeof b == "string" && (b = b.split(" ")), + a.isArray(b) && (b = { + left: +b[0], + top: +b[1] || 0 + }), + "left" in b && (this.offset.click.left = b.left + this.margins.left), + "right" in b && (this.offset.click.left = this.helperProportions.width - b.right + this.margins.left), + "top" in b && (this.offset.click.top = b.top + this.margins.top), + "bottom" in b && (this.offset.click.top = this.helperProportions.height - b.bottom + this.margins.top) + }, + _getParentOffset: function() { + this.offsetParent = this.helper.offsetParent(); + var b = this.offsetParent.offset(); + this.cssPosition == "absolute" && this.scrollParent[0] != document && a.ui.contains(this.scrollParent[0], this.offsetParent[0]) && (b.left += this.scrollParent.scrollLeft(), b.top += this.scrollParent.scrollTop()); + if (this.offsetParent[0] == document.body || this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == "html" && a.browser.msie) b = { + top: 0, + left: 0 + }; + return { + top: b.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0), + left: b.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0) + } + }, + _getRelativeOffset: function() { + if (this.cssPosition == "relative") { + var a = this.currentItem.position(); + return { + top: a.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(), + left: a.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft() + } + } + return { + top: 0, + left: 0 + } + }, + _cacheMargins: function() { + this.margins = { + left: parseInt(this.currentItem.css("marginLeft"), 10) || 0, + top: parseInt(this.currentItem.css("marginTop"), 10) || 0 + } + }, + _cacheHelperProportions: function() { + this.helperProportions = { + width: this.helper.outerWidth(), + height: this.helper.outerHeight() + } + }, + _setContainment: function() { + var b = this.options; + b.containment == "parent" && (b.containment = this.helper[0].parentNode); + if (b.containment == "document" || b.containment == "window") this.containment = [0 - this.offset.relative.left - this.offset.parent.left, 0 - this.offset.relative.top - this.offset.parent.top, a(b.containment == "document" ? document: window).width() - this.helperProportions.width - this.margins.left, (a(b.containment == "document" ? document: window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top]; + if (!/^(document|window|parent)$/.test(b.containment)) { + var c = a(b.containment)[0], + d = a(b.containment).offset(), + e = a(c).css("overflow") != "hidden"; + this.containment = [d.left + (parseInt(a(c).css("borderLeftWidth"), 10) || 0) + (parseInt(a(c).css("paddingLeft"), 10) || 0) - this.margins.left, d.top + (parseInt(a(c).css("borderTopWidth"), 10) || 0) + (parseInt(a(c).css("paddingTop"), 10) || 0) - this.margins.top, d.left + (e ? Math.max(c.scrollWidth, c.offsetWidth) : c.offsetWidth) - (parseInt(a(c).css("borderLeftWidth"), 10) || 0) - (parseInt(a(c).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left, d.top + (e ? Math.max(c.scrollHeight, c.offsetHeight) : c.offsetHeight) - (parseInt(a(c).css("borderTopWidth"), 10) || 0) - (parseInt(a(c).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top] + } + }, + _convertPositionTo: function(b, c) { + c || (c = this.position); + var d = b == "absolute" ? 1 : -1, + e = this.options, + f = this.cssPosition == "absolute" && (this.scrollParent[0] == document || !a.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent: this.scrollParent, + g = /(html|body)/i.test(f[0].tagName); + return { + top: c.top + this.offset.relative.top * d + this.offset.parent.top * d - (a.browser.safari && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : g ? 0 : f.scrollTop()) * d), + left: c.left + this.offset.relative.left * d + this.offset.parent.left * d - (a.browser.safari && this.cssPosition == "fixed" ? 0 : (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : g ? 0 : f.scrollLeft()) * d) + } + }, + _generatePosition: function(b) { + var c = this.options, + d = this.cssPosition == "absolute" && (this.scrollParent[0] == document || !a.ui.contains(this.scrollParent[0], this.offsetParent[0])) ? this.offsetParent: this.scrollParent, + e = /(html|body)/i.test(d[0].tagName); + this.cssPosition == "relative" && (this.scrollParent[0] == document || this.scrollParent[0] == this.offsetParent[0]) && (this.offset.relative = this._getRelativeOffset()); + var f = b.pageX, + g = b.pageY; + if (this.originalPosition) { + this.containment && (b.pageX - this.offset.click.left < this.containment[0] && (f = this.containment[0] + this.offset.click.left), b.pageY - this.offset.click.top < this.containment[1] && (g = this.containment[1] + this.offset.click.top), b.pageX - this.offset.click.left > this.containment[2] && (f = this.containment[2] + this.offset.click.left), b.pageY - this.offset.click.top > this.containment[3] && (g = this.containment[3] + this.offset.click.top)); + if (c.grid) { + var h = this.originalPageY + Math.round((g - this.originalPageY) / c.grid[1]) * c.grid[1]; + g = this.containment ? h - this.offset.click.top < this.containment[1] || h - this.offset.click.top > this.containment[3] ? h - this.offset.click.top < this.containment[1] ? h + c.grid[1] : h - c.grid[1] : h: h; + var i = this.originalPageX + Math.round((f - this.originalPageX) / c.grid[0]) * c.grid[0]; + f = this.containment ? i - this.offset.click.left < this.containment[0] || i - this.offset.click.left > this.containment[2] ? i - this.offset.click.left < this.containment[0] ? i + c.grid[0] : i - c.grid[0] : i: i + } + } + return { + top: g - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + (a.browser.safari && this.cssPosition == "fixed" ? 0 : this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : e ? 0 : d.scrollTop()), + left: f - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + (a.browser.safari && this.cssPosition == "fixed" ? 0 : this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : e ? 0 : d.scrollLeft()) + } + }, + _rearrange: function(a, b, c, d) { + c ? c[0].appendChild(this.placeholder[0]) : b.item[0].parentNode.insertBefore(this.placeholder[0], this.direction == "down" ? b.item[0] : b.item[0].nextSibling), + this.counter = this.counter ? ++this.counter: 1; + var e = this, + f = this.counter; + window.setTimeout(function() { + f == e.counter && e.refreshPositions(!d) + }, + 0) + }, + _clear: function(b, c) { + this.reverting = !1; + var d = [], + e = this; ! this._noFinalSort && this.currentItem.parent().length && this.placeholder.before(this.currentItem), + this._noFinalSort = null; + if (this.helper[0] == this.currentItem[0]) { + for (var f in this._storedCSS) if (this._storedCSS[f] == "auto" || this._storedCSS[f] == "static") this._storedCSS[f] = ""; + this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper") + } else this.currentItem.show(); + this.fromOutside && !c && d.push(function(a) { + this._trigger("receive", a, this._uiHash(this.fromOutside)) + }), + (this.fromOutside || this.domPosition.prev != this.currentItem.prev().not(".ui-sortable-helper")[0] || this.domPosition.parent != this.currentItem.parent()[0]) && !c && d.push(function(a) { + this._trigger("update", a, this._uiHash()) + }); + if (!a.ui.contains(this.element[0], this.currentItem[0])) { + c || d.push(function(a) { + this._trigger("remove", a, this._uiHash()) + }); + for (var f = this.containers.length - 1; f >= 0; f--) a.ui.contains(this.containers[f].element[0], this.currentItem[0]) && !c && (d.push(function(a) { + return function(b) { + a._trigger("receive", b, this._uiHash(this)) + } + }.call(this, this.containers[f])), d.push(function(a) { + return function(b) { + a._trigger("update", b, this._uiHash(this)) + } + }.call(this, this.containers[f]))) + } + for (var f = this.containers.length - 1; f >= 0; f--) c || d.push(function(a) { + return function(b) { + a._trigger("deactivate", b, this._uiHash(this)) + } + }.call(this, this.containers[f])), + this.containers[f].containerCache.over && (d.push(function(a) { + return function(b) { + a._trigger("out", b, this._uiHash(this)) + } + }.call(this, this.containers[f])), this.containers[f].containerCache.over = 0); + this._storedCursor && a("body").css("cursor", this._storedCursor), + this._storedOpacity && this.helper.css("opacity", this._storedOpacity), + this._storedZIndex && this.helper.css("zIndex", this._storedZIndex == "auto" ? "": this._storedZIndex), + this.dragging = !1; + if (this.cancelHelperRemoval) { + if (!c) { + this._trigger("beforeStop", b, this._uiHash()); + for (var f = 0; f < d.length; f++) d[f].call(this, b); + this._trigger("stop", b, this._uiHash()) + } + return ! 1 + } + c || this._trigger("beforeStop", b, this._uiHash()), + this.placeholder[0].parentNode.removeChild(this.placeholder[0]), + this.helper[0] != this.currentItem[0] && this.helper.remove(), + this.helper = null; + if (!c) { + for (var f = 0; f < d.length; f++) d[f].call(this, b); + this._trigger("stop", b, this._uiHash()) + } + this.fromOutside = !1; + return ! 0 + }, + _trigger: function() { + a.Widget.prototype._trigger.apply(this, arguments) === !1 && this.cancel() + }, + _uiHash: function(b) { + var c = b || this; + return { + helper: c.helper, + placeholder: c.placeholder || a([]), + position: c.position, + originalPosition: c.originalPosition, + offset: c.positionAbs, + item: c.currentItem, + sender: b ? b.element: null + } + } + }), + a.extend(a.ui.sortable, { + version: "1.8.18" + }) +})(jQuery); +/* + * jQuery UI Datepicker 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Datepicker + * + * Depends: + * jquery.ui.core.js + */ +(function($, undefined) { + function isArray(a) { + return a && ($.browser.safari && typeof a == "object" && a.length || a.constructor && a.constructor.toString().match(/\Array\(\)/)) + } + function extendRemove(a, b) { + $.extend(a, b); + for (var c in b) if (b[c] == null || b[c] == undefined) a[c] = b[c]; + return a + } + function bindHover(a) { + var b = "button, .ui-datepicker-calendar td a"; + return a.bind("mouseout", + function(a) { + var c = $(a.target).closest(b); ! c.length || c.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover") + }).bind("mouseover", + function(c) { + var d = $(c.target).closest(b); ! $.datepicker._isDisabledDatepicker(instActive.inline ? a.parent()[0] : instActive.input[0]) && !!d.length && (d.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"), d.addClass("ui-state-hover"), d.hasClass("ui-datepicker-prev") && d.addClass("ui-datepicker-prev-hover"), d.hasClass("ui-datepicker-next") && d.addClass("ui-datepicker-next-hover")) + }) + } + function Datepicker() { + this.debug = !1, + this._curInst = null, + this._keyEvent = !1, + this._disabledInputs = [], + this._datepickerShowing = !1, + this._inDialog = !1, + this._mainDivId = "ui-datepicker-div", + this._inlineClass = "ui-datepicker-inline", + this._appendClass = "ui-datepicker-append", + this._triggerClass = "ui-datepicker-trigger", + this._dialogClass = "ui-datepicker-dialog", + this._disableClass = "ui-datepicker-disabled", + this._unselectableClass = "ui-datepicker-unselectable", + this._currentClass = "ui-datepicker-current-day", + this._dayOverClass = "ui-datepicker-days-cell-over", + this.regional = [], + this.regional[""] = { + closeText: "Done", + prevText: "Prev", + nextText: "Next", + currentText: "Today", + monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], + monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], + dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], + dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], + dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], + weekHeader: "Wk", + dateFormat: "mm/dd/yy", + firstDay: 0, + isRTL: !1, + showMonthAfterYear: !1, + yearSuffix: "" + }, + this._defaults = { + showOn: "focus", + showAnim: "fadeIn", + showOptions: {}, + defaultDate: null, + appendText: "", + buttonText: "...", + buttonImage: "", + buttonImageOnly: !1, + hideIfNoPrevNext: !1, + navigationAsDateFormat: !1, + gotoCurrent: !1, + changeMonth: !1, + changeYear: !1, + yearRange: "c-10:c+10", + showOtherMonths: !1, + selectOtherMonths: !1, + showWeek: !1, + calculateWeek: this.iso8601Week, + shortYearCutoff: "+10", + minDate: null, + maxDate: null, + duration: "fast", + beforeShowDay: null, + beforeShow: null, + onSelect: null, + onChangeMonthYear: null, + onClose: null, + numberOfMonths: 1, + showCurrentAtPos: 0, + stepMonths: 1, + stepBigMonths: 12, + altField: "", + altFormat: "", + constrainInput: !0, + showButtonPanel: !1, + autoSize: !1, + disabled: !1 + }, + $.extend(this._defaults, this.regional[""]), + this.dpDiv = bindHover($('
    ')) + } + $.extend($.ui, { + datepicker: { + version: "1.8.18" + } + }); + var PROP_NAME = "datepicker", + dpuuid = (new Date).getTime(), + instActive; + $.extend(Datepicker.prototype, { + markerClassName: "hasDatepicker", + maxRows: 4, + log: function() { + this.debug && console.log.apply("", arguments) + }, + _widgetDatepicker: function() { + return this.dpDiv + }, + setDefaults: function(a) { + extendRemove(this._defaults, a || {}); + return this + }, + _attachDatepicker: function(target, settings) { + var inlineSettings = null; + for (var attrName in this._defaults) { + var attrValue = target.getAttribute("date:" + attrName); + if (attrValue) { + inlineSettings = inlineSettings || {}; + try { + inlineSettings[attrName] = eval(attrValue) + } catch(err) { + inlineSettings[attrName] = attrValue + } + } + } + var nodeName = target.nodeName.toLowerCase(), + inline = nodeName == "div" || nodeName == "span"; + target.id || (this.uuid += 1, target.id = "dp" + this.uuid); + var inst = this._newInst($(target), inline); + inst.settings = $.extend({}, + settings || {}, + inlineSettings || {}), + nodeName == "input" ? this._connectDatepicker(target, inst) : inline && this._inlineDatepicker(target, inst) + }, + _newInst: function(a, b) { + var c = a[0].id.replace(/([^A-Za-z0-9_-])/g, "\\\\$1"); + return { + id: c, + input: a, + selectedDay: 0, + selectedMonth: 0, + selectedYear: 0, + drawMonth: 0, + drawYear: 0, + inline: b, + dpDiv: b ? bindHover($('
    ')) : this.dpDiv + } + }, + _connectDatepicker: function(a, b) { + var c = $(a); + b.append = $([]), + b.trigger = $([]); + c.hasClass(this.markerClassName) || (this._attachments(c, b), c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker", + function(a, c, d) { + b.settings[c] = d + }).bind("getData.datepicker", + function(a, c) { + return this._get(b, c) + }), this._autoSize(b), $.data(a, PROP_NAME, b), b.settings.disabled && this._disableDatepicker(a)) + }, + _attachments: function(a, b) { + var c = this._get(b, "appendText"), + d = this._get(b, "isRTL"); + b.append && b.append.remove(), + c && (b.append = $('' + c + ""), a[d ? "before": "after"](b.append)), + a.unbind("focus", this._showDatepicker), + b.trigger && b.trigger.remove(); + var e = this._get(b, "showOn"); (e == "focus" || e == "both") && a.focus(this._showDatepicker); + if (e == "button" || e == "both") { + var f = this._get(b, "buttonText"), + g = this._get(b, "buttonImage"); + b.trigger = $(this._get(b, "buttonImageOnly") ? $("").addClass(this._triggerClass).attr({ + src: g, + alt: f, + title: f + }) : $('').addClass(this._triggerClass).html(g == "" ? f: $("").attr({ + src: g, + alt: f, + title: f + }))), + a[d ? "before": "after"](b.trigger), + b.trigger.click(function() { + $.datepicker._datepickerShowing && $.datepicker._lastInput == a[0] ? $.datepicker._hideDatepicker() : $.datepicker._datepickerShowing && $.datepicker._lastInput != a[0] ? ($.datepicker._hideDatepicker(), $.datepicker._showDatepicker(a[0])) : $.datepicker._showDatepicker(a[0]); + return ! 1 + }) + } + }, + _autoSize: function(a) { + if (this._get(a, "autoSize") && !a.inline) { + var b = new Date(2009, 11, 20), + c = this._get(a, "dateFormat"); + if (c.match(/[DM]/)) { + var d = function(a) { + var b = 0, + c = 0; + for (var d = 0; d < a.length; d++) a[d].length > b && (b = a[d].length, c = d); + return c + }; + b.setMonth(d(this._get(a, c.match(/MM/) ? "monthNames": "monthNamesShort"))), + b.setDate(d(this._get(a, c.match(/DD/) ? "dayNames": "dayNamesShort")) + 20 - b.getDay()) + } + a.input.attr("size", this._formatDate(a, b).length) + } + }, + _inlineDatepicker: function(a, b) { + var c = $(a); + c.hasClass(this.markerClassName) || (c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker", + function(a, c, d) { + b.settings[c] = d + }).bind("getData.datepicker", + function(a, c) { + return this._get(b, c) + }), $.data(a, PROP_NAME, b), this._setDate(b, this._getDefaultDate(b), !0), this._updateDatepicker(b), this._updateAlternate(b), b.settings.disabled && this._disableDatepicker(a), b.dpDiv.css("display", "block")) + }, + _dialogDatepicker: function(a, b, c, d, e) { + var f = this._dialogInst; + if (!f) { + this.uuid += 1; + var g = "dp" + this.uuid; + this._dialogInput = $(''), + this._dialogInput.keydown(this._doKeyDown), + $("body").append(this._dialogInput), + f = this._dialogInst = this._newInst(this._dialogInput, !1), + f.settings = {}, + $.data(this._dialogInput[0], PROP_NAME, f) + } + extendRemove(f.settings, d || {}), + b = b && b.constructor == Date ? this._formatDate(f, b) : b, + this._dialogInput.val(b), + this._pos = e ? e.length ? e: [e.pageX, e.pageY] : null; + if (!this._pos) { + var h = document.documentElement.clientWidth, + i = document.documentElement.clientHeight, + j = document.documentElement.scrollLeft || document.body.scrollLeft, + k = document.documentElement.scrollTop || document.body.scrollTop; + this._pos = [h / 2 - 100 + j, i / 2 - 150 + k] + } + this._dialogInput.css("left", this._pos[0] + 20 + "px").css("top", this._pos[1] + "px"), + f.settings.onSelect = c, + this._inDialog = !0, + this.dpDiv.addClass(this._dialogClass), + this._showDatepicker(this._dialogInput[0]), + $.blockUI && $.blockUI(this.dpDiv), + $.data(this._dialogInput[0], PROP_NAME, f); + return this + }, + _destroyDatepicker: function(a) { + var b = $(a), + c = $.data(a, PROP_NAME); + if ( !! b.hasClass(this.markerClassName)) { + var d = a.nodeName.toLowerCase(); + $.removeData(a, PROP_NAME), + d == "input" ? (c.append.remove(), c.trigger.remove(), b.removeClass(this.markerClassName).unbind("focus", this._showDatepicker).unbind("keydown", this._doKeyDown).unbind("keypress", this._doKeyPress).unbind("keyup", this._doKeyUp)) : (d == "div" || d == "span") && b.removeClass(this.markerClassName).empty() + } + }, + _enableDatepicker: function(a) { + var b = $(a), + c = $.data(a, PROP_NAME); + if ( !! b.hasClass(this.markerClassName)) { + var d = a.nodeName.toLowerCase(); + if (d == "input") a.disabled = !1, + c.trigger.filter("button").each(function() { + this.disabled = !1 + }).end().filter("img").css({ + opacity: "1.0", + cursor: "" + }); + else if (d == "div" || d == "span") { + var e = b.children("." + this._inlineClass); + e.children().removeClass("ui-state-disabled"), + e.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled") + } + this._disabledInputs = $.map(this._disabledInputs, + function(b) { + return b == a ? null: b + }) + } + }, + _disableDatepicker: function(a) { + var b = $(a), + c = $.data(a, PROP_NAME); + if ( !! b.hasClass(this.markerClassName)) { + var d = a.nodeName.toLowerCase(); + if (d == "input") a.disabled = !0, + c.trigger.filter("button").each(function() { + this.disabled = !0 + }).end().filter("img").css({ + opacity: "0.5", + cursor: "default" + }); + else if (d == "div" || d == "span") { + var e = b.children("." + this._inlineClass); + e.children().addClass("ui-state-disabled"), + e.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled", "disabled") + } + this._disabledInputs = $.map(this._disabledInputs, + function(b) { + return b == a ? null: b + }), + this._disabledInputs[this._disabledInputs.length] = a + } + }, + _isDisabledDatepicker: function(a) { + if (!a) return ! 1; + for (var b = 0; b < this._disabledInputs.length; b++) if (this._disabledInputs[b] == a) return ! 0; + return ! 1 + }, + _getInst: function(a) { + try { + return $.data(a, PROP_NAME) + } catch(b) { + throw "Missing instance data for this datepicker" + } + }, + _optionDatepicker: function(a, b, c) { + var d = this._getInst(a); + if (arguments.length == 2 && typeof b == "string") return b == "defaults" ? $.extend({}, + $.datepicker._defaults) : d ? b == "all" ? $.extend({}, + d.settings) : this._get(d, b) : null; + var e = b || {}; + typeof b == "string" && (e = {}, + e[b] = c); + if (d) { + this._curInst == d && this._hideDatepicker(); + var f = this._getDateDatepicker(a, !0), + g = this._getMinMaxDate(d, "min"), + h = this._getMinMaxDate(d, "max"); + extendRemove(d.settings, e), + g !== null && e.dateFormat !== undefined && e.minDate === undefined && (d.settings.minDate = this._formatDate(d, g)), + h !== null && e.dateFormat !== undefined && e.maxDate === undefined && (d.settings.maxDate = this._formatDate(d, h)), + this._attachments($(a), d), + this._autoSize(d), + this._setDate(d, f), + this._updateAlternate(d), + this._updateDatepicker(d) + } + }, + _changeDatepicker: function(a, b, c) { + this._optionDatepicker(a, b, c) + }, + _refreshDatepicker: function(a) { + var b = this._getInst(a); + b && this._updateDatepicker(b) + }, + _setDateDatepicker: function(a, b) { + var c = this._getInst(a); + c && (this._setDate(c, b), this._updateDatepicker(c), this._updateAlternate(c)) + }, + _getDateDatepicker: function(a, b) { + var c = this._getInst(a); + c && !c.inline && this._setDateFromField(c, b); + return c ? this._getDate(c) : null + }, + _doKeyDown: function(a) { + var b = $.datepicker._getInst(a.target), + c = !0, + d = b.dpDiv.is(".ui-datepicker-rtl"); + b._keyEvent = !0; + if ($.datepicker._datepickerShowing) switch (a.keyCode) { + case 9: + $.datepicker._hideDatepicker(), + c = !1; + break; + case 13: + var e = $("td." + $.datepicker._dayOverClass + ":not(." + $.datepicker._currentClass + ")", b.dpDiv); + e[0] && $.datepicker._selectDay(a.target, b.selectedMonth, b.selectedYear, e[0]); + var f = $.datepicker._get(b, "onSelect"); + if (f) { + var g = $.datepicker._formatDate(b); + f.apply(b.input ? b.input[0] : null, [g, b]) + } else $.datepicker._hideDatepicker(); + return ! 1; + case 27: + $.datepicker._hideDatepicker(); + break; + case 33: + $.datepicker._adjustDate(a.target, a.ctrlKey ? -$.datepicker._get(b, "stepBigMonths") : -$.datepicker._get(b, "stepMonths"), "M"); + break; + case 34: + $.datepicker._adjustDate(a.target, a.ctrlKey ? +$.datepicker._get(b, "stepBigMonths") : +$.datepicker._get(b, "stepMonths"), "M"); + break; + case 35: + (a.ctrlKey || a.metaKey) && $.datepicker._clearDate(a.target), + c = a.ctrlKey || a.metaKey; + break; + case 36: + (a.ctrlKey || a.metaKey) && $.datepicker._gotoToday(a.target), + c = a.ctrlKey || a.metaKey; + break; + case 37: + (a.ctrlKey || a.metaKey) && $.datepicker._adjustDate(a.target, d ? 1 : -1, "D"), + c = a.ctrlKey || a.metaKey, + a.originalEvent.altKey && $.datepicker._adjustDate(a.target, a.ctrlKey ? -$.datepicker._get(b, "stepBigMonths") : -$.datepicker._get(b, "stepMonths"), "M"); + break; + case 38: + (a.ctrlKey || a.metaKey) && $.datepicker._adjustDate(a.target, -7, "D"), + c = a.ctrlKey || a.metaKey; + break; + case 39: + (a.ctrlKey || a.metaKey) && $.datepicker._adjustDate(a.target, d ? -1 : 1, "D"), + c = a.ctrlKey || a.metaKey, + a.originalEvent.altKey && $.datepicker._adjustDate(a.target, a.ctrlKey ? +$.datepicker._get(b, "stepBigMonths") : +$.datepicker._get(b, "stepMonths"), "M"); + break; + case 40: + (a.ctrlKey || a.metaKey) && $.datepicker._adjustDate(a.target, 7, "D"), + c = a.ctrlKey || a.metaKey; + break; + default: + c = !1 + } else a.keyCode == 36 && a.ctrlKey ? $.datepicker._showDatepicker(this) : c = !1; + c && (a.preventDefault(), a.stopPropagation()) + }, + _doKeyPress: function(a) { + var b = $.datepicker._getInst(a.target); + if ($.datepicker._get(b, "constrainInput")) { + var c = $.datepicker._possibleChars($.datepicker._get(b, "dateFormat")), + d = String.fromCharCode(a.charCode == undefined ? a.keyCode: a.charCode); + return a.ctrlKey || a.metaKey || d < " " || !c || c.indexOf(d) > -1 + } + }, + _doKeyUp: function(a) { + var b = $.datepicker._getInst(a.target); + if (b.input.val() != b.lastVal) try { + var c = $.datepicker.parseDate($.datepicker._get(b, "dateFormat"), b.input ? b.input.val() : null, $.datepicker._getFormatConfig(b)); + c && ($.datepicker._setDateFromField(b), $.datepicker._updateAlternate(b), $.datepicker._updateDatepicker(b)) + } catch(a) { + $.datepicker.log(a) + } + return ! 0 + }, + _showDatepicker: function(a) { + a = a.target || a, + a.nodeName.toLowerCase() != "input" && (a = $("input", a.parentNode)[0]); + if (!$.datepicker._isDisabledDatepicker(a) && $.datepicker._lastInput != a) { + var b = $.datepicker._getInst(a); + $.datepicker._curInst && $.datepicker._curInst != b && ($.datepicker._curInst.dpDiv.stop(!0, !0), b && $.datepicker._datepickerShowing && $.datepicker._hideDatepicker($.datepicker._curInst.input[0])); + var c = $.datepicker._get(b, "beforeShow"), + d = c ? c.apply(a, [a, b]) : {}; + if (d === !1) return; + extendRemove(b.settings, d), + b.lastVal = null, + $.datepicker._lastInput = a, + $.datepicker._setDateFromField(b), + $.datepicker._inDialog && (a.value = ""), + $.datepicker._pos || ($.datepicker._pos = $.datepicker._findPos(a), $.datepicker._pos[1] += a.offsetHeight); + var e = !1; + $(a).parents().each(function() { + e |= $(this).css("position") == "fixed"; + return ! e + }), + e && $.browser.opera && ($.datepicker._pos[0] -= document.documentElement.scrollLeft, $.datepicker._pos[1] -= document.documentElement.scrollTop); + var f = { + left: $.datepicker._pos[0], + top: $.datepicker._pos[1] + }; + $.datepicker._pos = null, + b.dpDiv.empty(), + b.dpDiv.css({ + position: "absolute", + display: "block", + top: "-1000px" + }), + $.datepicker._updateDatepicker(b), + f = $.datepicker._checkOffset(b, f, e), + b.dpDiv.css({ + position: $.datepicker._inDialog && $.blockUI ? "static": e ? "fixed": "absolute", + display: "none", + left: f.left + "px", + top: f.top + "px" + }); + if (!b.inline) { + var g = $.datepicker._get(b, "showAnim"), + h = $.datepicker._get(b, "duration"), + i = function() { + var a = b.dpDiv.find("iframe.ui-datepicker-cover"); + if ( !! a.length) { + var c = $.datepicker._getBorders(b.dpDiv); + a.css({ + left: -c[0], + top: -c[1], + width: b.dpDiv.outerWidth(), + height: b.dpDiv.outerHeight() + }) + } + }; + b.dpDiv.zIndex($(a).zIndex() + 1), + $.datepicker._datepickerShowing = !0, + $.effects && $.effects[g] ? b.dpDiv.show(g, $.datepicker._get(b, "showOptions"), h, i) : b.dpDiv[g || "show"](g ? h: null, i), + (!g || !h) && i(), + b.input.is(":visible") && !b.input.is(":disabled") && b.input.focus(), + $.datepicker._curInst = b + } + } + }, + _updateDatepicker: function(a) { + var b = this; + b.maxRows = 4; + var c = $.datepicker._getBorders(a.dpDiv); + instActive = a, + a.dpDiv.empty().append(this._generateHTML(a)); + var d = a.dpDiv.find("iframe.ui-datepicker-cover"); ! d.length || d.css({ + left: -c[0], + top: -c[1], + width: a.dpDiv.outerWidth(), + height: a.dpDiv.outerHeight() + }), + a.dpDiv.find("." + this._dayOverClass + " a").mouseover(); + var e = this._getNumberOfMonths(a), + f = e[1], + g = 17; + a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""), + f > 1 && a.dpDiv.addClass("ui-datepicker-multi-" + f).css("width", g * f + "em"), + a.dpDiv[(e[0] != 1 || e[1] != 1 ? "add": "remove") + "Class"]("ui-datepicker-multi"), + a.dpDiv[(this._get(a, "isRTL") ? "add": "remove") + "Class"]("ui-datepicker-rtl"), + a == $.datepicker._curInst && $.datepicker._datepickerShowing && a.input && a.input.is(":visible") && !a.input.is(":disabled") && a.input[0] != document.activeElement && a.input.focus(); + if (a.yearshtml) { + var h = a.yearshtml; + setTimeout(function() { + h === a.yearshtml && a.yearshtml && a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml), + h = a.yearshtml = null + }, + 0) + } + }, + _getBorders: function(a) { + var b = function(a) { + return { + thin: 1, + medium: 2, + thick: 3 + } [a] || a + }; + return [parseFloat(b(a.css("border-left-width"))), parseFloat(b(a.css("border-top-width")))] + }, + _checkOffset: function(a, b, c) { + var d = a.dpDiv.outerWidth(), + e = a.dpDiv.outerHeight(), + f = a.input ? a.input.outerWidth() : 0, + g = a.input ? a.input.outerHeight() : 0, + h = document.documentElement.clientWidth + $(document).scrollLeft(), + i = document.documentElement.clientHeight + $(document).scrollTop(); + b.left -= this._get(a, "isRTL") ? d - f: 0, + b.left -= c && b.left == a.input.offset().left ? $(document).scrollLeft() : 0, + b.top -= c && b.top == a.input.offset().top + g ? $(document).scrollTop() : 0, + b.left -= Math.min(b.left, b.left + d > h && h > d ? Math.abs(b.left + d - h) : 0), + b.top -= Math.min(b.top, b.top + e > i && i > e ? Math.abs(e + g) : 0); + return b + }, + _findPos: function(a) { + var b = this._getInst(a), + c = this._get(b, "isRTL"); + while (a && (a.type == "hidden" || a.nodeType != 1 || $.expr.filters.hidden(a))) a = a[c ? "previousSibling": "nextSibling"]; + var d = $(a).offset(); + return [d.left, d.top] + }, + _hideDatepicker: function(a) { + var b = this._curInst; + if (! (!b || a && b != $.data(a, PROP_NAME)) && this._datepickerShowing) { + var c = this._get(b, "showAnim"), + d = this._get(b, "duration"), + e = this, + f = function() { + $.datepicker._tidyDialog(b), + e._curInst = null + }; + $.effects && $.effects[c] ? b.dpDiv.hide(c, $.datepicker._get(b, "showOptions"), d, f) : b.dpDiv[c == "slideDown" ? "slideUp": c == "fadeIn" ? "fadeOut": "hide"](c ? d: null, f), + c || f(), + this._datepickerShowing = !1; + var g = this._get(b, "onClose"); + g && g.apply(b.input ? b.input[0] : null, [b.input ? b.input.val() : "", b]), + this._lastInput = null, + this._inDialog && (this._dialogInput.css({ + position: "absolute", + left: "0", + top: "-100px" + }), $.blockUI && ($.unblockUI(), $("body").append(this.dpDiv))), + this._inDialog = !1 + } + }, + _tidyDialog: function(a) { + a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar") + }, + _checkExternalClick: function(a) { + if ( !! $.datepicker._curInst) { + var b = $(a.target), + c = $.datepicker._getInst(b[0]); (b[0].id != $.datepicker._mainDivId && b.parents("#" + $.datepicker._mainDivId).length == 0 && !b.hasClass($.datepicker.markerClassName) && !b.closest("." + $.datepicker._triggerClass).length && $.datepicker._datepickerShowing && (!$.datepicker._inDialog || !$.blockUI) || b.hasClass($.datepicker.markerClassName) && $.datepicker._curInst != c) && $.datepicker._hideDatepicker() + } + }, + _adjustDate: function(a, b, c) { + var d = $(a), + e = this._getInst(d[0]); + this._isDisabledDatepicker(d[0]) || (this._adjustInstDate(e, b + (c == "M" ? this._get(e, "showCurrentAtPos") : 0), c), this._updateDatepicker(e)) + }, + _gotoToday: function(a) { + var b = $(a), + c = this._getInst(b[0]); + if (this._get(c, "gotoCurrent") && c.currentDay) c.selectedDay = c.currentDay, + c.drawMonth = c.selectedMonth = c.currentMonth, + c.drawYear = c.selectedYear = c.currentYear; + else { + var d = new Date; + c.selectedDay = d.getDate(), + c.drawMonth = c.selectedMonth = d.getMonth(), + c.drawYear = c.selectedYear = d.getFullYear() + } + this._notifyChange(c), + this._adjustDate(b) + }, + _selectMonthYear: function(a, b, c) { + var d = $(a), + e = this._getInst(d[0]); + e["selected" + (c == "M" ? "Month": "Year")] = e["draw" + (c == "M" ? "Month": "Year")] = parseInt(b.options[b.selectedIndex].value, 10), + this._notifyChange(e), + this._adjustDate(d) + }, + _selectDay: function(a, b, c, d) { + var e = $(a); + if (!$(d).hasClass(this._unselectableClass) && !this._isDisabledDatepicker(e[0])) { + var f = this._getInst(e[0]); + f.selectedDay = f.currentDay = $("a", d).html(), + f.selectedMonth = f.currentMonth = b, + f.selectedYear = f.currentYear = c, + this._selectDate(a, this._formatDate(f, f.currentDay, f.currentMonth, f.currentYear)) + } + }, + _clearDate: function(a) { + var b = $(a), + c = this._getInst(b[0]); + this._selectDate(b, "") + }, + _selectDate: function(a, b) { + var c = $(a), + d = this._getInst(c[0]); + b = b != null ? b: this._formatDate(d), + d.input && d.input.val(b), + this._updateAlternate(d); + var e = this._get(d, "onSelect"); + e ? e.apply(d.input ? d.input[0] : null, [b, d]) : d.input && d.input.trigger("change"), + d.inline ? this._updateDatepicker(d) : (this._hideDatepicker(), this._lastInput = d.input[0], typeof d.input[0] != "object" && d.input.focus(), this._lastInput = null) + }, + _updateAlternate: function(a) { + var b = this._get(a, "altField"); + if (b) { + var c = this._get(a, "altFormat") || this._get(a, "dateFormat"), + d = this._getDate(a), + e = this.formatDate(c, d, this._getFormatConfig(a)); + $(b).each(function() { + $(this).val(e) + }) + } + }, + noWeekends: function(a) { + var b = a.getDay(); + return [b > 0 && b < 6, ""] + }, + iso8601Week: function(a) { + var b = new Date(a.getTime()); + b.setDate(b.getDate() + 4 - (b.getDay() || 7)); + var c = b.getTime(); + b.setMonth(0), + b.setDate(1); + return Math.floor(Math.round((c - b) / 864e5) / 7) + 1 + }, + parseDate: function(a, b, c) { + if (a == null || b == null) throw "Invalid arguments"; + b = typeof b == "object" ? b.toString() : b + ""; + if (b == "") return null; + var d = (c ? c.shortYearCutoff: null) || this._defaults.shortYearCutoff; + d = typeof d != "string" ? d: (new Date).getFullYear() % 100 + parseInt(d, 10); + var e = (c ? c.dayNamesShort: null) || this._defaults.dayNamesShort, + f = (c ? c.dayNames: null) || this._defaults.dayNames, + g = (c ? c.monthNamesShort: null) || this._defaults.monthNamesShort, + h = (c ? c.monthNames: null) || this._defaults.monthNames, + i = -1, + j = -1, + k = -1, + l = -1, + m = !1, + n = function(b) { + var c = s + 1 < a.length && a.charAt(s + 1) == b; + c && s++; + return c + }, + o = function(a) { + var c = n(a), + d = a == "@" ? 14 : a == "!" ? 20 : a == "y" && c ? 4 : a == "o" ? 3 : 2, + e = new RegExp("^\\d{1," + d + "}"), + f = b.substring(r).match(e); + if (!f) throw "Missing number at position " + r; + r += f[0].length; + return parseInt(f[0], 10) + }, + p = function(a, c, d) { + var e = $.map(n(a) ? d: c, + function(a, b) { + return [[b, a]] + }).sort(function(a, b) { + return - (a[1].length - b[1].length) + }), + f = -1; + $.each(e, + function(a, c) { + var d = c[1]; + if (b.substr(r, d.length).toLowerCase() == d.toLowerCase()) { + f = c[0], + r += d.length; + return ! 1 + } + }); + if (f != -1) return f + 1; + throw "Unknown name at position " + r + }, + q = function() { + if (b.charAt(r) != a.charAt(s)) throw "Unexpected literal at position " + r; + r++ + }, + r = 0; + for (var s = 0; s < a.length; s++) if (m) a.charAt(s) == "'" && !n("'") ? m = !1 : q(); + else switch (a.charAt(s)) { + case "d": + k = o("d"); + break; + case "D": + p("D", e, f); + break; + case "o": + l = o("o"); + break; + case "m": + j = o("m"); + break; + case "M": + j = p("M", g, h); + break; + case "y": + i = o("y"); + break; + case "@": + var t = new Date(o("@")); + i = t.getFullYear(), + j = t.getMonth() + 1, + k = t.getDate(); + break; + case "!": + var t = new Date((o("!") - this._ticksTo1970) / 1e4); + i = t.getFullYear(), + j = t.getMonth() + 1, + k = t.getDate(); + break; + case "'": + n("'") ? q() : m = !0; + break; + default: + q() + } + if (r < b.length) throw "Extra/unparsed characters found in date: " + b.substring(r); + i == -1 ? i = (new Date).getFullYear() : i < 100 && (i += (new Date).getFullYear() - (new Date).getFullYear() % 100 + (i <= d ? 0 : -100)); + if (l > -1) { + j = 1, + k = l; + for (;;) { + var u = this._getDaysInMonth(i, j - 1); + if (k <= u) break; + j++, + k -= u + } + } + var t = this._daylightSavingAdjust(new Date(i, j - 1, k)); + if (t.getFullYear() != i || t.getMonth() + 1 != j || t.getDate() != k) throw "Invalid date"; + return t + }, + ATOM: "yy-mm-dd", + COOKIE: "D, dd M yy", + ISO_8601: "yy-mm-dd", + RFC_822: "D, d M y", + RFC_850: "DD, dd-M-y", + RFC_1036: "D, d M y", + RFC_1123: "D, d M yy", + RFC_2822: "D, d M yy", + RSS: "D, d M y", + TICKS: "!", + TIMESTAMP: "@", + W3C: "yy-mm-dd", + _ticksTo1970: (718685 + Math.floor(492.5) - Math.floor(19.7) + Math.floor(4.925)) * 24 * 60 * 60 * 1e7, + formatDate: function(a, b, c) { + if (!b) return ""; + var d = (c ? c.dayNamesShort: null) || this._defaults.dayNamesShort, + e = (c ? c.dayNames: null) || this._defaults.dayNames, + f = (c ? c.monthNamesShort: null) || this._defaults.monthNamesShort, + g = (c ? c.monthNames: null) || this._defaults.monthNames, + h = function(b) { + var c = m + 1 < a.length && a.charAt(m + 1) == b; + c && m++; + return c + }, + i = function(a, b, c) { + var d = "" + b; + if (h(a)) while (d.length < c) d = "0" + d; + return d + }, + j = function(a, b, c, d) { + return h(a) ? d[b] : c[b] + }, + k = "", + l = !1; + if (b) for (var m = 0; m < a.length; m++) if (l) a.charAt(m) == "'" && !h("'") ? l = !1 : k += a.charAt(m); + else switch (a.charAt(m)) { + case "d": + k += i("d", b.getDate(), 2); + break; + case "D": + k += j("D", b.getDay(), d, e); + break; + case "o": + k += i("o", Math.round(((new Date(b.getFullYear(), b.getMonth(), b.getDate())).getTime() - (new Date(b.getFullYear(), 0, 0)).getTime()) / 864e5), 3); + break; + case "m": + k += i("m", b.getMonth() + 1, 2); + break; + case "M": + k += j("M", b.getMonth(), f, g); + break; + case "y": + k += h("y") ? b.getFullYear() : (b.getYear() % 100 < 10 ? "0": "") + b.getYear() % 100; + break; + case "@": + k += b.getTime(); + break; + case "!": + k += b.getTime() * 1e4 + this._ticksTo1970; + break; + case "'": + h("'") ? k += "'": l = !0; + break; + default: + k += a.charAt(m) + } + return k + }, + _possibleChars: function(a) { + var b = "", + c = !1, + d = function(b) { + var c = e + 1 < a.length && a.charAt(e + 1) == b; + c && e++; + return c + }; + for (var e = 0; e < a.length; e++) if (c) a.charAt(e) == "'" && !d("'") ? c = !1 : b += a.charAt(e); + else switch (a.charAt(e)) { + case "d": + case "m": + case "y": + case "@": + b += "0123456789"; + break; + case "D": + case "M": + return null; + case "'": + d("'") ? b += "'": c = !0; + break; + default: + b += a.charAt(e) + } + return b + }, + _get: function(a, b) { + return a.settings[b] !== undefined ? a.settings[b] : this._defaults[b] + }, + _setDateFromField: function(a, b) { + if (a.input.val() != a.lastVal) { + var c = this._get(a, "dateFormat"), + d = a.lastVal = a.input ? a.input.val() : null, + e, + f; + e = f = this._getDefaultDate(a); + var g = this._getFormatConfig(a); + try { + e = this.parseDate(c, d, g) || f + } catch(h) { + this.log(h), + d = b ? "": d + } + a.selectedDay = e.getDate(), + a.drawMonth = a.selectedMonth = e.getMonth(), + a.drawYear = a.selectedYear = e.getFullYear(), + a.currentDay = d ? e.getDate() : 0, + a.currentMonth = d ? e.getMonth() : 0, + a.currentYear = d ? e.getFullYear() : 0, + this._adjustInstDate(a) + } + }, + _getDefaultDate: function(a) { + return this._restrictMinMax(a, this._determineDate(a, this._get(a, "defaultDate"), new Date)) + }, + _determineDate: function(a, b, c) { + var d = function(a) { + var b = new Date; + b.setDate(b.getDate() + a); + return b + }, + e = function(b) { + try { + return $.datepicker.parseDate($.datepicker._get(a, "dateFormat"), b, $.datepicker._getFormatConfig(a)) + } catch(c) {} + var d = (b.toLowerCase().match(/^c/) ? $.datepicker._getDate(a) : null) || new Date, + e = d.getFullYear(), + f = d.getMonth(), + g = d.getDate(), + h = /([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g, + i = h.exec(b); + while (i) { + switch (i[2] || "d") { + case "d": + case "D": + g += parseInt(i[1], 10); + break; + case "w": + case "W": + g += parseInt(i[1], 10) * 7; + break; + case "m": + case "M": + f += parseInt(i[1], 10), + g = Math.min(g, $.datepicker._getDaysInMonth(e, f)); + break; + case "y": + case "Y": + e += parseInt(i[1], 10), + g = Math.min(g, $.datepicker._getDaysInMonth(e, f)) + } + i = h.exec(b) + } + return new Date(e, f, g) + }, + f = b == null || b === "" ? c: typeof b == "string" ? e(b) : typeof b == "number" ? isNaN(b) ? c: d(b) : new Date(b.getTime()); + f = f && f.toString() == "Invalid Date" ? c: f, + f && (f.setHours(0), f.setMinutes(0), f.setSeconds(0), f.setMilliseconds(0)); + return this._daylightSavingAdjust(f) + }, + _daylightSavingAdjust: function(a) { + if (!a) return null; + a.setHours(a.getHours() > 12 ? a.getHours() + 2 : 0); + return a + }, + _setDate: function(a, b, c) { + var d = !b, + e = a.selectedMonth, + f = a.selectedYear, + g = this._restrictMinMax(a, this._determineDate(a, b, new Date)); + a.selectedDay = a.currentDay = g.getDate(), + a.drawMonth = a.selectedMonth = a.currentMonth = g.getMonth(), + a.drawYear = a.selectedYear = a.currentYear = g.getFullYear(), + (e != a.selectedMonth || f != a.selectedYear) && !c && this._notifyChange(a), + this._adjustInstDate(a), + a.input && a.input.val(d ? "": this._formatDate(a)) + }, + _getDate: function(a) { + var b = !a.currentYear || a.input && a.input.val() == "" ? null: this._daylightSavingAdjust(new Date(a.currentYear, a.currentMonth, a.currentDay)); + return b + }, + _generateHTML: function(a) { + var b = new Date; + b = this._daylightSavingAdjust(new Date(b.getFullYear(), b.getMonth(), b.getDate())); + var c = this._get(a, "isRTL"), + d = this._get(a, "showButtonPanel"), + e = this._get(a, "hideIfNoPrevNext"), + f = this._get(a, "navigationAsDateFormat"), + g = this._getNumberOfMonths(a), + h = this._get(a, "showCurrentAtPos"), + i = this._get(a, "stepMonths"), + j = g[0] != 1 || g[1] != 1, + k = this._daylightSavingAdjust(a.currentDay ? new Date(a.currentYear, a.currentMonth, a.currentDay) : new Date(9999, 9, 9)), + l = this._getMinMaxDate(a, "min"), + m = this._getMinMaxDate(a, "max"), + n = a.drawMonth - h, + o = a.drawYear; + n < 0 && (n += 12, o--); + if (m) { + var p = this._daylightSavingAdjust(new Date(m.getFullYear(), m.getMonth() - g[0] * g[1] + 1, m.getDate())); + p = l && p < l ? l: p; + while (this._daylightSavingAdjust(new Date(o, n, 1)) > p) n--, + n < 0 && (n = 11, o--) + } + a.drawMonth = n, + a.drawYear = o; + var q = this._get(a, "prevText"); + q = f ? this.formatDate(q, this._daylightSavingAdjust(new Date(o, n - i, 1)), this._getFormatConfig(a)) : q; + var r = this._canAdjustMonth(a, -1, o, n) ? '' + q + "": e ? "": '' + q + "", + s = this._get(a, "nextText"); + s = f ? this.formatDate(s, this._daylightSavingAdjust(new Date(o, n + i, 1)), this._getFormatConfig(a)) : s; + var t = this._canAdjustMonth(a, 1, o, n) ? '' + s + "": e ? "": '' + s + "", + u = this._get(a, "currentText"), + v = this._get(a, "gotoCurrent") && a.currentDay ? k: b; + u = f ? this.formatDate(u, v, this._getFormatConfig(a)) : u; + var w = a.inline ? "": '", + x = d ? '
    ' + (c ? w: "") + (this._isInRange(a, v) ? '": "") + (c ? "": w) + "
    ": "", + y = parseInt(this._get(a, "firstDay"), 10); + y = isNaN(y) ? 0 : y; + var z = this._get(a, "showWeek"), + A = this._get(a, "dayNames"), + B = this._get(a, "dayNamesShort"), + C = this._get(a, "dayNamesMin"), + D = this._get(a, "monthNames"), + E = this._get(a, "monthNamesShort"), + F = this._get(a, "beforeShowDay"), + G = this._get(a, "showOtherMonths"), + H = this._get(a, "selectOtherMonths"), + I = this._get(a, "calculateWeek") || this.iso8601Week, + J = this._getDefaultDate(a), + K = ""; + for (var L = 0; L < g[0]; L++) { + var M = ""; + this.maxRows = 4; + for (var N = 0; N < g[1]; N++) { + var O = this._daylightSavingAdjust(new Date(o, n, a.selectedDay)), + P = " ui-corner-all", + Q = ""; + if (j) { + Q += '
    ' + (/all|left/.test(P) && L == 0 ? c ? t: r: "") + (/all|right/.test(P) && L == 0 ? c ? r: t: "") + this._generateMonthYearHeader(a, n, o, l, m, L > 0 || N > 0, D, E) + '
    ' + ""; + var R = z ? '": ""; + for (var S = 0; S < 7; S++) { + var T = (S + y) % 7; + R += "= 5 ? ' class="ui-datepicker-week-end"': "") + ">" + '' + C[T] + "" + } + Q += R + ""; + var U = this._getDaysInMonth(o, n); + o == a.selectedYear && n == a.selectedMonth && (a.selectedDay = Math.min(a.selectedDay, U)); + var V = (this._getFirstDayOfMonth(o, n) - y + 7) % 7, + W = Math.ceil((V + U) / 7), + X = j ? this.maxRows > W ? this.maxRows: W: W; + this.maxRows = X; + var Y = this._daylightSavingAdjust(new Date(o, n, 1 - V)); + for (var Z = 0; Z < X; Z++) { + Q += ""; + var _ = z ? '": ""; + for (var S = 0; S < 7; S++) { + var ba = F ? F.apply(a.input ? a.input[0] : null, [Y]) : [!0, ""], + bb = Y.getMonth() != n, + bc = bb && !H || !ba[0] || l && Y < l || m && Y > m; + _ += '", + Y.setDate(Y.getDate() + 1), + Y = this._daylightSavingAdjust(Y) + } + Q += _ + "" + } + n++, + n > 11 && (n = 0, o++), + Q += "
    ' + this._get(a, "weekHeader") + "
    ' + this._get(a, "calculateWeek")(Y) + "" + (bb && !G ? " ": bc ? '' + Y.getDate() + "": '' + Y.getDate() + "") + "
    " + (j ? "" + (g[0] > 0 && N == g[1] - 1 ? '
    ': "") : ""), + M += Q + } + K += M + } + K += x + ($.browser.msie && parseInt($.browser.version, 10) < 7 && !a.inline ? '': ""), + a._keyEvent = !1; + return K + }, + _generateMonthYearHeader: function(a, b, c, d, e, f, g, h) { + var i = this._get(a, "changeMonth"), + j = this._get(a, "changeYear"), + k = this._get(a, "showMonthAfterYear"), + l = '
    ', + m = ""; + if (f || !i) m += '' + g[b] + ""; + else { + var n = d && d.getFullYear() == c, + o = e && e.getFullYear() == c; + m += '" + } + k || (l += m + (f || !i || !j ? " ": "")); + if (!a.yearshtml) { + a.yearshtml = ""; + if (f || !j) l += '' + c + ""; + else { + var q = this._get(a, "yearRange").split(":"), + r = (new Date).getFullYear(), + s = function(a) { + var b = a.match(/c[+-].*/) ? c + parseInt(a.substring(1), 10) : a.match(/[+-].*/) ? r + parseInt(a, 10) : parseInt(a, 10); + return isNaN(b) ? r: b + }, + t = s(q[0]), + u = Math.max(t, s(q[1] || "")); + t = d ? Math.max(t, d.getFullYear()) : t, + u = e ? Math.min(u, e.getFullYear()) : u, + a.yearshtml += '", + l += a.yearshtml, + a.yearshtml = null + } + } + l += this._get(a, "yearSuffix"), + k && (l += (f || !i || !j ? " ": "") + m), + l += "
    "; + return l + }, + _adjustInstDate: function(a, b, c) { + var d = a.drawYear + (c == "Y" ? b: 0), + e = a.drawMonth + (c == "M" ? b: 0), + f = Math.min(a.selectedDay, this._getDaysInMonth(d, e)) + (c == "D" ? b: 0), + g = this._restrictMinMax(a, this._daylightSavingAdjust(new Date(d, e, f))); + a.selectedDay = g.getDate(), + a.drawMonth = a.selectedMonth = g.getMonth(), + a.drawYear = a.selectedYear = g.getFullYear(), + (c == "M" || c == "Y") && this._notifyChange(a) + }, + _restrictMinMax: function(a, b) { + var c = this._getMinMaxDate(a, "min"), + d = this._getMinMaxDate(a, "max"), + e = c && b < c ? c: b; + e = d && e > d ? d: e; + return e + }, + _notifyChange: function(a) { + var b = this._get(a, "onChangeMonthYear"); + b && b.apply(a.input ? a.input[0] : null, [a.selectedYear, a.selectedMonth + 1, a]) + }, + _getNumberOfMonths: function(a) { + var b = this._get(a, "numberOfMonths"); + return b == null ? [1, 1] : typeof b == "number" ? [1, b] : b + }, + _getMinMaxDate: function(a, b) { + return this._determineDate(a, this._get(a, b + "Date"), null) + }, + _getDaysInMonth: function(a, b) { + return 32 - this._daylightSavingAdjust(new Date(a, b, 32)).getDate() + }, + _getFirstDayOfMonth: function(a, b) { + return (new Date(a, b, 1)).getDay() + }, + _canAdjustMonth: function(a, b, c, d) { + var e = this._getNumberOfMonths(a), + f = this._daylightSavingAdjust(new Date(c, d + (b < 0 ? b: e[0] * e[1]), 1)); + b < 0 && f.setDate(this._getDaysInMonth(f.getFullYear(), f.getMonth())); + return this._isInRange(a, f) + }, + _isInRange: function(a, b) { + var c = this._getMinMaxDate(a, "min"), + d = this._getMinMaxDate(a, "max"); + return (!c || b.getTime() >= c.getTime()) && (!d || b.getTime() <= d.getTime()) + }, + _getFormatConfig: function(a) { + var b = this._get(a, "shortYearCutoff"); + b = typeof b != "string" ? b: (new Date).getFullYear() % 100 + parseInt(b, 10); + return { + shortYearCutoff: b, + dayNamesShort: this._get(a, "dayNamesShort"), + dayNames: this._get(a, "dayNames"), + monthNamesShort: this._get(a, "monthNamesShort"), + monthNames: this._get(a, "monthNames") + } + }, + _formatDate: function(a, b, c, d) { + b || (a.currentDay = a.selectedDay, a.currentMonth = a.selectedMonth, a.currentYear = a.selectedYear); + var e = b ? typeof b == "object" ? b: this._daylightSavingAdjust(new Date(d, c, b)) : this._daylightSavingAdjust(new Date(a.currentYear, a.currentMonth, a.currentDay)); + return this.formatDate(this._get(a, "dateFormat"), e, this._getFormatConfig(a)) + } + }), + $.fn.datepicker = function(a) { + if (!this.length) return this; + $.datepicker.initialized || ($(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv), $.datepicker.initialized = !0); + var b = Array.prototype.slice.call(arguments, 1); + if (typeof a == "string" && (a == "isDisabled" || a == "getDate" || a == "widget")) return $.datepicker["_" + a + "Datepicker"].apply($.datepicker, [this[0]].concat(b)); + if (a == "option" && arguments.length == 2 && typeof arguments[1] == "string") return $.datepicker["_" + a + "Datepicker"].apply($.datepicker, [this[0]].concat(b)); + return this.each(function() { + typeof a == "string" ? $.datepicker["_" + a + "Datepicker"].apply($.datepicker, [this].concat(b)) : $.datepicker._attachDatepicker(this, a) + }) + }, + $.datepicker = new Datepicker, + $.datepicker.initialized = !1, + $.datepicker.uuid = (new Date).getTime(), + $.datepicker.version = "1.8.18", + window["DP_jQuery_" + dpuuid] = $ +})(jQuery); +/* + * jQuery UI Effects 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/ + */ +jQuery.effects || +function(a, b) { + function l(b) { + if (!b || typeof b == "number" || a.fx.speeds[b]) return ! 0; + if (typeof b == "string" && !a.effects[b]) return ! 0; + return ! 1 + } + function k(b, c, d, e) { + typeof b == "object" && (e = c, d = null, c = b, b = c.effect), + a.isFunction(c) && (e = c, d = null, c = {}); + if (typeof c == "number" || a.fx.speeds[c]) e = d, + d = c, + c = {}; + a.isFunction(d) && (e = d, d = null), + c = c || {}, + d = d || c.duration, + d = a.fx.off ? 0 : typeof d == "number" ? d: d in a.fx.speeds ? a.fx.speeds[d] : a.fx.speeds._default, + e = e || c.complete; + return [b, c, d, e] + } + function j(a, b) { + var c = { + _: 0 + }, + d; + for (d in b) a[d] != b[d] && (c[d] = b[d]); + return c + } + function i(b) { + var c, d; + for (c in b) d = b[c], + (d == null || a.isFunction(d) || c in g || /scrollbar/.test(c) || !/color/i.test(c) && isNaN(parseFloat(d))) && delete b[c]; + return b + } + function h() { + var a = document.defaultView ? document.defaultView.getComputedStyle(this, null) : this.currentStyle, + b = {}, + c, + d; + if (a && a.length && a[0] && a[a[0]]) { + var e = a.length; + while (e--) c = a[e], + typeof a[c] == "string" && (d = c.replace(/\-(\w)/g, + function(a, b) { + return b.toUpperCase() + }), b[d] = a[c]) + } else for (c in a) typeof a[c] == "string" && (b[c] = a[c]); + return b + } + function d(b, d) { + var e; + do { + e = a.curCSS(b, d); + if (e != "" && e != "transparent" || a.nodeName(b, "body")) break; + d = "backgroundColor" + } while ( b = b . parentNode ); + return c(e) + } + function c(b) { + var c; + if (b && b.constructor == Array && b.length == 3) return b; + if (c = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(b)) return [parseInt(c[1], 10), parseInt(c[2], 10), parseInt(c[3], 10)]; + if (c = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(b)) return [parseFloat(c[1]) * 2.55, parseFloat(c[2]) * 2.55, parseFloat(c[3]) * 2.55]; + if (c = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b)) return [parseInt(c[1], 16), parseInt(c[2], 16), parseInt(c[3], 16)]; + if (c = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b)) return [parseInt(c[1] + c[1], 16), parseInt(c[2] + c[2], 16), parseInt(c[3] + c[3], 16)]; + if (c = /rgba\(0, 0, 0, 0\)/.exec(b)) return e.transparent; + return e[a.trim(b).toLowerCase()] + } + a.effects = {}, + a.each(["backgroundColor", "borderBottomColor", "borderLeftColor", "borderRightColor", "borderTopColor", "borderColor", "color", "outlineColor"], + function(b, e) { + a.fx.step[e] = function(a) { + a.colorInit || (a.start = d(a.elem, e), a.end = c(a.end), a.colorInit = !0), + a.elem.style[e] = "rgb(" + Math.max(Math.min(parseInt(a.pos * (a.end[0] - a.start[0]) + a.start[0], 10), 255), 0) + "," + Math.max(Math.min(parseInt(a.pos * (a.end[1] - a.start[1]) + a.start[1], 10), 255), 0) + "," + Math.max(Math.min(parseInt(a.pos * (a.end[2] - a.start[2]) + a.start[2], 10), 255), 0) + ")" + } + }); + var e = { + aqua: [0, 255, 255], + azure: [240, 255, 255], + beige: [245, 245, 220], + black: [0, 0, 0], + blue: [0, 0, 255], + brown: [165, 42, 42], + cyan: [0, 255, 255], + darkblue: [0, 0, 139], + darkcyan: [0, 139, 139], + darkgrey: [169, 169, 169], + darkgreen: [0, 100, 0], + darkkhaki: [189, 183, 107], + darkmagenta: [139, 0, 139], + darkolivegreen: [85, 107, 47], + darkorange: [255, 140, 0], + darkorchid: [153, 50, 204], + darkred: [139, 0, 0], + darksalmon: [233, 150, 122], + darkviolet: [148, 0, 211], + fuchsia: [255, 0, 255], + gold: [255, 215, 0], + green: [0, 128, 0], + indigo: [75, 0, 130], + khaki: [240, 230, 140], + lightblue: [173, 216, 230], + lightcyan: [224, 255, 255], + lightgreen: [144, 238, 144], + lightgrey: [211, 211, 211], + lightpink: [255, 182, 193], + lightyellow: [255, 255, 224], + lime: [0, 255, 0], + magenta: [255, 0, 255], + maroon: [128, 0, 0], + navy: [0, 0, 128], + olive: [128, 128, 0], + orange: [255, 165, 0], + pink: [255, 192, 203], + purple: [128, 0, 128], + violet: [128, 0, 128], + red: [255, 0, 0], + silver: [192, 192, 192], + white: [255, 255, 255], + yellow: [255, 255, 0], + transparent: [255, 255, 255] + }, + f = ["add", "remove", "toggle"], + g = { + border: 1, + borderBottom: 1, + borderColor: 1, + borderLeft: 1, + borderRight: 1, + borderTop: 1, + borderWidth: 1, + margin: 1, + padding: 1 + }; + a.effects.animateClass = function(b, c, d, e) { + a.isFunction(d) && (e = d, d = null); + return this.queue(function() { + var g = a(this), + k = g.attr("style") || " ", + l = i(h.call(this)), + m, + n = g.attr("class"); + a.each(f, + function(a, c) { + b[c] && g[c + "Class"](b[c]) + }), + m = i(h.call(this)), + g.attr("class", n), + g.animate(j(l, m), { + queue: !1, + duration: c, + easing: d, + complete: function() { + a.each(f, + function(a, c) { + b[c] && g[c + "Class"](b[c]) + }), + typeof g.attr("style") == "object" ? (g.attr("style").cssText = "", g.attr("style").cssText = k) : g.attr("style", k), + e && e.apply(this, arguments), + a.dequeue(this) + } + }) + }) + }, + a.fn.extend({ + _addClass: a.fn.addClass, + addClass: function(b, c, d, e) { + return c ? a.effects.animateClass.apply(this, [{ + add: b + }, + c, d, e]) : this._addClass(b) + }, + _removeClass: a.fn.removeClass, + removeClass: function(b, c, d, e) { + return c ? a.effects.animateClass.apply(this, [{ + remove: b + }, + c, d, e]) : this._removeClass(b) + }, + _toggleClass: a.fn.toggleClass, + toggleClass: function(c, d, e, f, g) { + return typeof d == "boolean" || d === b ? e ? a.effects.animateClass.apply(this, [d ? { + add: c + }: { + remove: c + }, + e, f, g]) : this._toggleClass(c, d) : a.effects.animateClass.apply(this, [{ + toggle: c + }, + d, e, f]) + }, + switchClass: function(b, c, d, e, f) { + return a.effects.animateClass.apply(this, [{ + add: c, + remove: b + }, + d, e, f]) + } + }), + a.extend(a.effects, { + version: "1.8.18", + save: function(a, b) { + for (var c = 0; c < b.length; c++) b[c] !== null && a.data("ec.storage." + b[c], a[0].style[b[c]]) + }, + restore: function(a, b) { + for (var c = 0; c < b.length; c++) b[c] !== null && a.css(b[c], a.data("ec.storage." + b[c])) + }, + setMode: function(a, b) { + b == "toggle" && (b = a.is(":hidden") ? "show": "hide"); + return b + }, + getBaseline: function(a, b) { + var c, d; + switch (a[0]) { + case "top": + c = 0; + break; + case "middle": + c = .5; + break; + case "bottom": + c = 1; + break; + default: + c = a[0] / b.height + } + switch (a[1]) { + case "left": + d = 0; + break; + case "center": + d = .5; + break; + case "right": + d = 1; + break; + default: + d = a[1] / b.width + } + return { + x: d, + y: c + } + }, + createWrapper: function(b) { + if (b.parent().is(".ui-effects-wrapper")) return b.parent(); + var c = { + width: b.outerWidth(!0), + height: b.outerHeight(!0), + "float": b.css("float") + }, + d = a("
    ").addClass("ui-effects-wrapper").css({ + fontSize: "100%", + background: "transparent", + border: "none", + margin: 0, + padding: 0 + }), + e = document.activeElement; + b.wrap(d), + (b[0] === e || a.contains(b[0], e)) && a(e).focus(), + d = b.parent(), + b.css("position") == "static" ? (d.css({ + position: "relative" + }), b.css({ + position: "relative" + })) : (a.extend(c, { + position: b.css("position"), + zIndex: b.css("z-index") + }), a.each(["top", "left", "bottom", "right"], + function(a, d) { + c[d] = b.css(d), + isNaN(parseInt(c[d], 10)) && (c[d] = "auto") + }), b.css({ + position: "relative", + top: 0, + left: 0, + right: "auto", + bottom: "auto" + })); + return d.css(c).show() + }, + removeWrapper: function(b) { + var c, d = document.activeElement; + if (b.parent().is(".ui-effects-wrapper")) { + c = b.parent().replaceWith(b), + (b[0] === d || a.contains(b[0], d)) && a(d).focus(); + return c + } + return b + }, + setTransition: function(b, c, d, e) { + e = e || {}, + a.each(c, + function(a, c) { + unit = b.cssUnit(c), + unit[0] > 0 && (e[c] = unit[0] * d + unit[1]) + }); + return e + } + }), + a.fn.extend({ + effect: function(b, c, d, e) { + var f = k.apply(this, arguments), + g = { + options: f[1], + duration: f[2], + callback: f[3] + }, + h = g.options.mode, + i = a.effects[b]; + if (a.fx.off || !i) return h ? this[h](g.duration, g.callback) : this.each(function() { + g.callback && g.callback.call(this) + }); + return i.call(this, g) + }, + _show: a.fn.show, + show: function(a) { + if (l(a)) return this._show.apply(this, arguments); + var b = k.apply(this, arguments); + b[1].mode = "show"; + return this.effect.apply(this, b) + }, + _hide: a.fn.hide, + hide: function(a) { + if (l(a)) return this._hide.apply(this, arguments); + var b = k.apply(this, arguments); + b[1].mode = "hide"; + return this.effect.apply(this, b) + }, + __toggle: a.fn.toggle, + toggle: function(b) { + if (l(b) || typeof b == "boolean" || a.isFunction(b)) return this.__toggle.apply(this, arguments); + var c = k.apply(this, arguments); + c[1].mode = "toggle"; + return this.effect.apply(this, c) + }, + cssUnit: function(b) { + var c = this.css(b), + d = []; + a.each(["em", "px", "%", "pt"], + function(a, b) { + c.indexOf(b) > 0 && (d = [parseFloat(c), b]) + }); + return d + } + }), + a.easing.jswing = a.easing.swing, + a.extend(a.easing, { + def: "easeOutQuad", + swing: function(b, c, d, e, f) { + return a.easing[a.easing.def](b, c, d, e, f) + }, + easeInQuad: function(a, b, c, d, e) { + return d * (b /= e) * b + c + }, + easeOutQuad: function(a, b, c, d, e) { + return - d * (b /= e) * (b - 2) + c + }, + easeInOutQuad: function(a, b, c, d, e) { + if ((b /= e / 2) < 1) return d / 2 * b * b + c; + return - d / 2 * (--b * (b - 2) - 1) + c + }, + easeInCubic: function(a, b, c, d, e) { + return d * (b /= e) * b * b + c + }, + easeOutCubic: function(a, b, c, d, e) { + return d * ((b = b / e - 1) * b * b + 1) + c + }, + easeInOutCubic: function(a, b, c, d, e) { + if ((b /= e / 2) < 1) return d / 2 * b * b * b + c; + return d / 2 * ((b -= 2) * b * b + 2) + c + }, + easeInQuart: function(a, b, c, d, e) { + return d * (b /= e) * b * b * b + c + }, + easeOutQuart: function(a, b, c, d, e) { + return - d * ((b = b / e - 1) * b * b * b - 1) + c + }, + easeInOutQuart: function(a, b, c, d, e) { + if ((b /= e / 2) < 1) return d / 2 * b * b * b * b + c; + return - d / 2 * ((b -= 2) * b * b * b - 2) + c + }, + easeInQuint: function(a, b, c, d, e) { + return d * (b /= e) * b * b * b * b + c + }, + easeOutQuint: function(a, b, c, d, e) { + return d * ((b = b / e - 1) * b * b * b * b + 1) + c + }, + easeInOutQuint: function(a, b, c, d, e) { + if ((b /= e / 2) < 1) return d / 2 * b * b * b * b * b + c; + return d / 2 * ((b -= 2) * b * b * b * b + 2) + c + }, + easeInSine: function(a, b, c, d, e) { + return - d * Math.cos(b / e * (Math.PI / 2)) + d + c + }, + easeOutSine: function(a, b, c, d, e) { + return d * Math.sin(b / e * (Math.PI / 2)) + c + }, + easeInOutSine: function(a, b, c, d, e) { + return - d / 2 * (Math.cos(Math.PI * b / e) - 1) + c + }, + easeInExpo: function(a, b, c, d, e) { + return b == 0 ? c: d * Math.pow(2, 10 * (b / e - 1)) + c + }, + easeOutExpo: function(a, b, c, d, e) { + return b == e ? c + d: d * ( - Math.pow(2, -10 * b / e) + 1) + c + }, + easeInOutExpo: function(a, b, c, d, e) { + if (b == 0) return c; + if (b == e) return c + d; + if ((b /= e / 2) < 1) return d / 2 * Math.pow(2, 10 * (b - 1)) + c; + return d / 2 * ( - Math.pow(2, -10 * --b) + 2) + c + }, + easeInCirc: function(a, b, c, d, e) { + return - d * (Math.sqrt(1 - (b /= e) * b) - 1) + c + }, + easeOutCirc: function(a, b, c, d, e) { + return d * Math.sqrt(1 - (b = b / e - 1) * b) + c + }, + easeInOutCirc: function(a, b, c, d, e) { + if ((b /= e / 2) < 1) return - d / 2 * (Math.sqrt(1 - b * b) - 1) + c; + return d / 2 * (Math.sqrt(1 - (b -= 2) * b) + 1) + c + }, + easeInElastic: function(a, b, c, d, e) { + var f = 1.70158, + g = 0, + h = d; + if (b == 0) return c; + if ((b /= e) == 1) return c + d; + g || (g = e * .3); + if (h < Math.abs(d)) { + h = d; + var f = g / 4 + } else var f = g / (2 * Math.PI) * Math.asin(d / h); + return - (h * Math.pow(2, 10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g)) + c + }, + easeOutElastic: function(a, b, c, d, e) { + var f = 1.70158, + g = 0, + h = d; + if (b == 0) return c; + if ((b /= e) == 1) return c + d; + g || (g = e * .3); + if (h < Math.abs(d)) { + h = d; + var f = g / 4 + } else var f = g / (2 * Math.PI) * Math.asin(d / h); + return h * Math.pow(2, -10 * b) * Math.sin((b * e - f) * 2 * Math.PI / g) + d + c + }, + easeInOutElastic: function(a, b, c, d, e) { + var f = 1.70158, + g = 0, + h = d; + if (b == 0) return c; + if ((b /= e / 2) == 2) return c + d; + g || (g = e * .3 * 1.5); + if (h < Math.abs(d)) { + h = d; + var f = g / 4 + } else var f = g / (2 * Math.PI) * Math.asin(d / h); + if (b < 1) return - 0.5 * h * Math.pow(2, 10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g) + c; + return h * Math.pow(2, -10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g) * .5 + d + c + }, + easeInBack: function(a, c, d, e, f, g) { + g == b && (g = 1.70158); + return e * (c /= f) * c * ((g + 1) * c - g) + d + }, + easeOutBack: function(a, c, d, e, f, g) { + g == b && (g = 1.70158); + return e * ((c = c / f - 1) * c * ((g + 1) * c + g) + 1) + d + }, + easeInOutBack: function(a, c, d, e, f, g) { + g == b && (g = 1.70158); + if ((c /= f / 2) < 1) return e / 2 * c * c * (((g *= 1.525) + 1) * c - g) + d; + return e / 2 * ((c -= 2) * c * (((g *= 1.525) + 1) * c + g) + 2) + d + }, + easeInBounce: function(b, c, d, e, f) { + return e - a.easing.easeOutBounce(b, f - c, 0, e, f) + d + }, + easeOutBounce: function(a, b, c, d, e) { + return (b /= e) < 1 / 2.75 ? d * 7.5625 * b * b + c: b < 2 / 2.75 ? d * (7.5625 * (b -= 1.5 / 2.75) * b + .75) + c: b < 2.5 / 2.75 ? d * (7.5625 * (b -= 2.25 / 2.75) * b + .9375) + c: d * (7.5625 * (b -= 2.625 / 2.75) * b + .984375) + c + }, + easeInOutBounce: function(b, c, d, e, f) { + if (c < f / 2) return a.easing.easeInBounce(b, c * 2, 0, e, f) * .5 + d; + return a.easing.easeOutBounce(b, c * 2 - f, 0, e, f) * .5 + e * .5 + d + } + }) +} (jQuery); +/* + * jQuery UI Effects Blind 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Blind + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.blind = function(b) { + return this.queue(function() { + var c = a(this), + d = ["position", "top", "bottom", "left", "right"], + e = a.effects.setMode(c, b.options.mode || "hide"), + f = b.options.direction || "vertical"; + a.effects.save(c, d), + c.show(); + var g = a.effects.createWrapper(c).css({ + overflow: "hidden" + }), + h = f == "vertical" ? "height": "width", + i = f == "vertical" ? g.height() : g.width(); + e == "show" && g.css(h, 0); + var j = {}; + j[h] = e == "show" ? i: 0, + g.animate(j, b.duration, b.options.easing, + function() { + e == "hide" && c.hide(), + a.effects.restore(c, d), + a.effects.removeWrapper(c), + b.callback && b.callback.apply(c[0], arguments), + c.dequeue() + }) + }) + } +})(jQuery); +/* + * jQuery UI Effects Bounce 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Bounce + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.bounce = function(b) { + return this.queue(function() { + var c = a(this), + d = ["position", "top", "bottom", "left", "right"], + e = a.effects.setMode(c, b.options.mode || "effect"), + f = b.options.direction || "up", + g = b.options.distance || 20, + h = b.options.times || 5, + i = b.duration || 250; + /show|hide/.test(e) && d.push("opacity"), + a.effects.save(c, d), + c.show(), + a.effects.createWrapper(c); + var j = f == "up" || f == "down" ? "top": "left", + k = f == "up" || f == "left" ? "pos": "neg", + g = b.options.distance || (j == "top" ? c.outerHeight({ + margin: !0 + }) / 3 : c.outerWidth({ + margin: !0 + }) / 3); + e == "show" && c.css("opacity", 0).css(j, k == "pos" ? -g: g), + e == "hide" && (g = g / (h * 2)), + e != "hide" && h--; + if (e == "show") { + var l = { + opacity: 1 + }; + l[j] = (k == "pos" ? "+=": "-=") + g, + c.animate(l, i / 2, b.options.easing), + g = g / 2, + h-- + } + for (var m = 0; m < h; m++) { + var n = {}, + p = {}; + n[j] = (k == "pos" ? "-=": "+=") + g, + p[j] = (k == "pos" ? "+=": "-=") + g, + c.animate(n, i / 2, b.options.easing).animate(p, i / 2, b.options.easing), + g = e == "hide" ? g * 2 : g / 2 + } + if (e == "hide") { + var l = { + opacity: 0 + }; + l[j] = (k == "pos" ? "-=": "+=") + g, + c.animate(l, i / 2, b.options.easing, + function() { + c.hide(), + a.effects.restore(c, d), + a.effects.removeWrapper(c), + b.callback && b.callback.apply(this, arguments) + }) + } else { + var n = {}, + p = {}; + n[j] = (k == "pos" ? "-=": "+=") + g, + p[j] = (k == "pos" ? "+=": "-=") + g, + c.animate(n, i / 2, b.options.easing).animate(p, i / 2, b.options.easing, + function() { + a.effects.restore(c, d), + a.effects.removeWrapper(c), + b.callback && b.callback.apply(this, arguments) + }) + } + c.queue("fx", + function() { + c.dequeue() + }), + c.dequeue() + }) + } +})(jQuery); +/* + * jQuery UI Effects Clip 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Clip + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.clip = function(b) { + return this.queue(function() { + var c = a(this), + d = ["position", "top", "bottom", "left", "right", "height", "width"], + e = a.effects.setMode(c, b.options.mode || "hide"), + f = b.options.direction || "vertical"; + a.effects.save(c, d), + c.show(); + var g = a.effects.createWrapper(c).css({ + overflow: "hidden" + }), + h = c[0].tagName == "IMG" ? g: c, + i = { + size: f == "vertical" ? "height": "width", + position: f == "vertical" ? "top": "left" + }, + j = f == "vertical" ? h.height() : h.width(); + e == "show" && (h.css(i.size, 0), h.css(i.position, j / 2)); + var k = {}; + k[i.size] = e == "show" ? j: 0, + k[i.position] = e == "show" ? 0 : j / 2, + h.animate(k, { + queue: !1, + duration: b.duration, + easing: b.options.easing, + complete: function() { + e == "hide" && c.hide(), + a.effects.restore(c, d), + a.effects.removeWrapper(c), + b.callback && b.callback.apply(c[0], arguments), + c.dequeue() + } + }) + }) + } +})(jQuery); +/* + * jQuery UI Effects Drop 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Drop + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.drop = function(b) { + return this.queue(function() { + var c = a(this), + d = ["position", "top", "bottom", "left", "right", "opacity"], + e = a.effects.setMode(c, b.options.mode || "hide"), + f = b.options.direction || "left"; + a.effects.save(c, d), + c.show(), + a.effects.createWrapper(c); + var g = f == "up" || f == "down" ? "top": "left", + h = f == "up" || f == "left" ? "pos": "neg", + i = b.options.distance || (g == "top" ? c.outerHeight({ + margin: !0 + }) / 2 : c.outerWidth({ + margin: !0 + }) / 2); + e == "show" && c.css("opacity", 0).css(g, h == "pos" ? -i: i); + var j = { + opacity: e == "show" ? 1 : 0 + }; + j[g] = (e == "show" ? h == "pos" ? "+=": "-=": h == "pos" ? "-=": "+=") + i, + c.animate(j, { + queue: !1, + duration: b.duration, + easing: b.options.easing, + complete: function() { + e == "hide" && c.hide(), + a.effects.restore(c, d), + a.effects.removeWrapper(c), + b.callback && b.callback.apply(this, arguments), + c.dequeue() + } + }) + }) + } +})(jQuery); +/* + * jQuery UI Effects Explode 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Explode + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.explode = function(b) { + return this.queue(function() { + var c = b.options.pieces ? Math.round(Math.sqrt(b.options.pieces)) : 3, + d = b.options.pieces ? Math.round(Math.sqrt(b.options.pieces)) : 3; + b.options.mode = b.options.mode == "toggle" ? a(this).is(":visible") ? "hide": "show": b.options.mode; + var e = a(this).show().css("visibility", "hidden"), + f = e.offset(); + f.top -= parseInt(e.css("marginTop"), 10) || 0, + f.left -= parseInt(e.css("marginLeft"), 10) || 0; + var g = e.outerWidth(!0), + h = e.outerHeight(!0); + for (var i = 0; i < c; i++) for (var j = 0; j < d; j++) e.clone().appendTo("body").wrap("
    ").css({ + position: "absolute", + visibility: "visible", + left: -j * (g / d), + top: -i * (h / c) + }).parent().addClass("ui-effects-explode").css({ + position: "absolute", + overflow: "hidden", + width: g / d, + height: h / c, + left: f.left + j * (g / d) + (b.options.mode == "show" ? (j - Math.floor(d / 2)) * (g / d) : 0), + top: f.top + i * (h / c) + (b.options.mode == "show" ? (i - Math.floor(c / 2)) * (h / c) : 0), + opacity: b.options.mode == "show" ? 0 : 1 + }).animate({ + left: f.left + j * (g / d) + (b.options.mode == "show" ? 0 : (j - Math.floor(d / 2)) * (g / d)), + top: f.top + i * (h / c) + (b.options.mode == "show" ? 0 : (i - Math.floor(c / 2)) * (h / c)), + opacity: b.options.mode == "show" ? 1 : 0 + }, + b.duration || 500); + setTimeout(function() { + b.options.mode == "show" ? e.css({ + visibility: "visible" + }) : e.css({ + visibility: "visible" + }).hide(), + b.callback && b.callback.apply(e[0]), + e.dequeue(), + a("div.ui-effects-explode").remove() + }, + b.duration || 500) + }) + } +})(jQuery); +/* + * jQuery UI Effects Fade 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Fade + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.fade = function(b) { + return this.queue(function() { + var c = a(this), + d = a.effects.setMode(c, b.options.mode || "hide"); + c.animate({ + opacity: d + }, + { + queue: !1, + duration: b.duration, + easing: b.options.easing, + complete: function() { + b.callback && b.callback.apply(this, arguments), + c.dequeue() + } + }) + }) + } +})(jQuery); +/* + * jQuery UI Effects Fold 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Fold + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.fold = function(b) { + return this.queue(function() { + var c = a(this), + d = ["position", "top", "bottom", "left", "right"], + e = a.effects.setMode(c, b.options.mode || "hide"), + f = b.options.size || 15, + g = !!b.options.horizFirst, + h = b.duration ? b.duration / 2 : a.fx.speeds._default / 2; + a.effects.save(c, d), + c.show(); + var i = a.effects.createWrapper(c).css({ + overflow: "hidden" + }), + j = e == "show" != g, + k = j ? ["width", "height"] : ["height", "width"], + l = j ? [i.width(), i.height()] : [i.height(), i.width()], + m = /([0-9]+)%/.exec(f); + m && (f = parseInt(m[1], 10) / 100 * l[e == "hide" ? 0 : 1]), + e == "show" && i.css(g ? { + height: 0, + width: f + }: { + height: f, + width: 0 + }); + var n = {}, + p = {}; + n[k[0]] = e == "show" ? l[0] : f, + p[k[1]] = e == "show" ? l[1] : 0, + i.animate(n, h, b.options.easing).animate(p, h, b.options.easing, + function() { + e == "hide" && c.hide(), + a.effects.restore(c, d), + a.effects.removeWrapper(c), + b.callback && b.callback.apply(c[0], arguments), + c.dequeue() + }) + }) + } +})(jQuery); +/* + * jQuery UI Effects Highlight 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Highlight + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.highlight = function(b) { + return this.queue(function() { + var c = a(this), + d = ["backgroundImage", "backgroundColor", "opacity"], + e = a.effects.setMode(c, b.options.mode || "show"), + f = { + backgroundColor: c.css("backgroundColor") + }; + e == "hide" && (f.opacity = 0), + a.effects.save(c, d), + c.show().css({ + backgroundImage: "none", + backgroundColor: b.options.color || "#ffff99" + }).animate(f, { + queue: !1, + duration: b.duration, + easing: b.options.easing, + complete: function() { + e == "hide" && c.hide(), + a.effects.restore(c, d), + e == "show" && !a.support.opacity && this.style.removeAttribute("filter"), + b.callback && b.callback.apply(this, arguments), + c.dequeue() + } + }) + }) + } +})(jQuery); +/* + * jQuery UI Effects Pulsate 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Pulsate + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.pulsate = function(b) { + return this.queue(function() { + var c = a(this), + d = a.effects.setMode(c, b.options.mode || "show"); + times = (b.options.times || 5) * 2 - 1, + duration = b.duration ? b.duration / 2 : a.fx.speeds._default / 2, + isVisible = c.is(":visible"), + animateTo = 0, + isVisible || (c.css("opacity", 0).show(), animateTo = 1), + (d == "hide" && isVisible || d == "show" && !isVisible) && times--; + for (var e = 0; e < times; e++) c.animate({ + opacity: animateTo + }, + duration, b.options.easing), + animateTo = (animateTo + 1) % 2; + c.animate({ + opacity: animateTo + }, + duration, b.options.easing, + function() { + animateTo == 0 && c.hide(), + b.callback && b.callback.apply(this, arguments) + }), + c.queue("fx", + function() { + c.dequeue() + }).dequeue() + }) + } +})(jQuery); +/* + * jQuery UI Effects Scale 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Scale + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.puff = function(b) { + return this.queue(function() { + var c = a(this), + d = a.effects.setMode(c, b.options.mode || "hide"), + e = parseInt(b.options.percent, 10) || 150, + f = e / 100, + g = { + height: c.height(), + width: c.width() + }; + a.extend(b.options, { + fade: !0, + mode: d, + percent: d == "hide" ? e: 100, + from: d == "hide" ? g: { + height: g.height * f, + width: g.width * f + } + }), + c.effect("scale", b.options, b.duration, b.callback), + c.dequeue() + }) + }, + a.effects.scale = function(b) { + return this.queue(function() { + var c = a(this), + d = a.extend(!0, {}, + b.options), + e = a.effects.setMode(c, b.options.mode || "effect"), + f = parseInt(b.options.percent, 10) || (parseInt(b.options.percent, 10) == 0 ? 0 : e == "hide" ? 0 : 100), + g = b.options.direction || "both", + h = b.options.origin; + e != "effect" && (d.origin = h || ["middle", "center"], d.restore = !0); + var i = { + height: c.height(), + width: c.width() + }; + c.from = b.options.from || (e == "show" ? { + height: 0, + width: 0 + }: i); + var j = { + y: g != "horizontal" ? f / 100 : 1, + x: g != "vertical" ? f / 100 : 1 + }; + c.to = { + height: i.height * j.y, + width: i.width * j.x + }, + b.options.fade && (e == "show" && (c.from.opacity = 0, c.to.opacity = 1), e == "hide" && (c.from.opacity = 1, c.to.opacity = 0)), + d.from = c.from, + d.to = c.to, + d.mode = e, + c.effect("size", d, b.duration, b.callback), + c.dequeue() + }) + }, + a.effects.size = function(b) { + return this.queue(function() { + var c = a(this), + d = ["position", "top", "bottom", "left", "right", "width", "height", "overflow", "opacity"], + e = ["position", "top", "bottom", "left", "right", "overflow", "opacity"], + f = ["width", "height", "overflow"], + g = ["fontSize"], + h = ["borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom"], + i = ["borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight"], + j = a.effects.setMode(c, b.options.mode || "effect"), + k = b.options.restore || !1, + l = b.options.scale || "both", + m = b.options.origin, + n = { + height: c.height(), + width: c.width() + }; + c.from = b.options.from || n, + c.to = b.options.to || n; + if (m) { + var p = a.effects.getBaseline(m, n); + c.from.top = (n.height - c.from.height) * p.y, + c.from.left = (n.width - c.from.width) * p.x, + c.to.top = (n.height - c.to.height) * p.y, + c.to.left = (n.width - c.to.width) * p.x + } + var q = { + from: { + y: c.from.height / n.height, + x: c.from.width / n.width + }, + to: { + y: c.to.height / n.height, + x: c.to.width / n.width + } + }; + if (l == "box" || l == "both") q.from.y != q.to.y && (d = d.concat(h), c.from = a.effects.setTransition(c, h, q.from.y, c.from), c.to = a.effects.setTransition(c, h, q.to.y, c.to)), + q.from.x != q.to.x && (d = d.concat(i), c.from = a.effects.setTransition(c, i, q.from.x, c.from), c.to = a.effects.setTransition(c, i, q.to.x, c.to)); (l == "content" || l == "both") && q.from.y != q.to.y && (d = d.concat(g), c.from = a.effects.setTransition(c, g, q.from.y, c.from), c.to = a.effects.setTransition(c, g, q.to.y, c.to)), + a.effects.save(c, k ? d: e), + c.show(), + a.effects.createWrapper(c), + c.css("overflow", "hidden").css(c.from); + if (l == "content" || l == "both") h = h.concat(["marginTop", "marginBottom"]).concat(g), + i = i.concat(["marginLeft", "marginRight"]), + f = d.concat(h).concat(i), + c.find("*[width]").each(function() { + child = a(this), + k && a.effects.save(child, f); + var c = { + height: child.height(), + width: child.width() + }; + child.from = { + height: c.height * q.from.y, + width: c.width * q.from.x + }, + child.to = { + height: c.height * q.to.y, + width: c.width * q.to.x + }, + q.from.y != q.to.y && (child.from = a.effects.setTransition(child, h, q.from.y, child.from), child.to = a.effects.setTransition(child, h, q.to.y, child.to)), + q.from.x != q.to.x && (child.from = a.effects.setTransition(child, i, q.from.x, child.from), child.to = a.effects.setTransition(child, i, q.to.x, child.to)), + child.css(child.from), + child.animate(child.to, b.duration, b.options.easing, + function() { + k && a.effects.restore(child, f) + }) + }); + c.animate(c.to, { + queue: !1, + duration: b.duration, + easing: b.options.easing, + complete: function() { + c.to.opacity === 0 && c.css("opacity", c.from.opacity), + j == "hide" && c.hide(), + a.effects.restore(c, k ? d: e), + a.effects.removeWrapper(c), + b.callback && b.callback.apply(this, arguments), + c.dequeue() + } + }) + }) + } +})(jQuery); +/* + * jQuery UI Effects Shake 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Shake + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.shake = function(b) { + return this.queue(function() { + var c = a(this), + d = ["position", "top", "bottom", "left", "right"], + e = a.effects.setMode(c, b.options.mode || "effect"), + f = b.options.direction || "left", + g = b.options.distance || 20, + h = b.options.times || 3, + i = b.duration || b.options.duration || 140; + a.effects.save(c, d), + c.show(), + a.effects.createWrapper(c); + var j = f == "up" || f == "down" ? "top": "left", + k = f == "up" || f == "left" ? "pos": "neg", + l = {}, + m = {}, + n = {}; + l[j] = (k == "pos" ? "-=": "+=") + g, + m[j] = (k == "pos" ? "+=": "-=") + g * 2, + n[j] = (k == "pos" ? "-=": "+=") + g * 2, + c.animate(l, i, b.options.easing); + for (var p = 1; p < h; p++) c.animate(m, i, b.options.easing).animate(n, i, b.options.easing); + c.animate(m, i, b.options.easing).animate(l, i / 2, b.options.easing, + function() { + a.effects.restore(c, d), + a.effects.removeWrapper(c), + b.callback && b.callback.apply(this, arguments) + }), + c.queue("fx", + function() { + c.dequeue() + }), + c.dequeue() + }) + } +})(jQuery); +/* + * jQuery UI Effects Slide 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Slide + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.slide = function(b) { + return this.queue(function() { + var c = a(this), + d = ["position", "top", "bottom", "left", "right"], + e = a.effects.setMode(c, b.options.mode || "show"), + f = b.options.direction || "left"; + a.effects.save(c, d), + c.show(), + a.effects.createWrapper(c).css({ + overflow: "hidden" + }); + var g = f == "up" || f == "down" ? "top": "left", + h = f == "up" || f == "left" ? "pos": "neg", + i = b.options.distance || (g == "top" ? c.outerHeight({ + margin: !0 + }) : c.outerWidth({ + margin: !0 + })); + e == "show" && c.css(g, h == "pos" ? isNaN(i) ? "-" + i: -i: i); + var j = {}; + j[g] = (e == "show" ? h == "pos" ? "+=": "-=": h == "pos" ? "-=": "+=") + i, + c.animate(j, { + queue: !1, + duration: b.duration, + easing: b.options.easing, + complete: function() { + e == "hide" && c.hide(), + a.effects.restore(c, d), + a.effects.removeWrapper(c), + b.callback && b.callback.apply(this, arguments), + c.dequeue() + } + }) + }) + } +})(jQuery); +/* + * jQuery UI Effects Transfer 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Effects/Transfer + * + * Depends: + * jquery.effects.core.js + */ +(function(a, b) { + a.effects.transfer = function(b) { + return this.queue(function() { + var c = a(this), + d = a(b.options.to), + e = d.offset(), + f = { + top: e.top, + left: e.left, + height: d.innerHeight(), + width: d.innerWidth() + }, + g = c.offset(), + h = a('
    ').appendTo(document.body).addClass(b.options.className).css({ + top: g.top, + left: g.left, + height: c.innerHeight(), + width: c.innerWidth(), + position: "absolute" + }).animate(f, b.duration, b.options.easing, + function() { + h.remove(), + b.callback && b.callback.apply(c[0], arguments), + c.dequeue() + }) + }) + } +})(jQuery); \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/calendar.gif b/97suifangqa/staticfiles/plugins/datepicker/images/calendar.gif new file mode 100644 index 0000000..d0abaa7 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/calendar.gif differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/calendar.png b/97suifangqa/staticfiles/plugins/datepicker/images/calendar.png new file mode 100644 index 0000000..0245536 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/calendar.png differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_100_f6f6f6_1x400.png b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_100_f6f6f6_1x400.png new file mode 100644 index 0000000..9b383f4 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_100_f6f6f6_1x400.png differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_100_fdf5ce_1x400.png b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_100_fdf5ce_1x400.png new file mode 100644 index 0000000..a23baad Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_100_fdf5ce_1x400.png differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_65_ffffff_1x400.png b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_65_ffffff_1x400.png new file mode 100644 index 0000000..42ccba2 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_glass_65_ffffff_1x400.png differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_gloss-wave_35_f6a828_500x100.png b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_gloss-wave_35_f6a828_500x100.png new file mode 100644 index 0000000..39d5824 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_gloss-wave_35_f6a828_500x100.png differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_highlight-soft_100_eeeeee_1x100.png b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_highlight-soft_100_eeeeee_1x100.png new file mode 100644 index 0000000..f127367 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_highlight-soft_100_eeeeee_1x100.png differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_highlight-soft_75_ffe45c_1x100.png b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_highlight-soft_75_ffe45c_1x100.png new file mode 100644 index 0000000..359397a Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/ui-bg_highlight-soft_75_ffe45c_1x100.png differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/ui-icons_ef8c08_256x240.png b/97suifangqa/staticfiles/plugins/datepicker/images/ui-icons_ef8c08_256x240.png new file mode 100644 index 0000000..85e63e9 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/ui-icons_ef8c08_256x240.png differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/images/ui-icons_ffffff_256x240.png b/97suifangqa/staticfiles/plugins/datepicker/images/ui-icons_ffffff_256x240.png new file mode 100644 index 0000000..42f8f99 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/datepicker/images/ui-icons_ffffff_256x240.png differ diff --git a/97suifangqa/staticfiles/plugins/datepicker/language-zh-CN.js b/97suifangqa/staticfiles/plugins/datepicker/language-zh-CN.js new file mode 100644 index 0000000..96194fa --- /dev/null +++ b/97suifangqa/staticfiles/plugins/datepicker/language-zh-CN.js @@ -0,0 +1,23 @@ +/* Chinese initialisation for the jQuery UI date picker plugin. */ +/* Written by Cloudream (cloudream@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['zh-CN'] = { + closeText: '关闭', + prevText: '<上月', + nextText: '下月>', + currentText: '今天', + monthNames: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + monthNamesShort: ['一','二','三','四','五','六', + '七','八','九','十','十一','十二'], + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], + dayNamesMin: ['日','一','二','三','四','五','六'], + weekHeader: '周', + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['zh-CN']); +}); \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/highcharts/highcharts-more.js b/97suifangqa/staticfiles/plugins/highcharts/highcharts-more.js new file mode 100644 index 0000000..1ccdd52 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/highcharts/highcharts-more.js @@ -0,0 +1,50 @@ +/* + Highcharts JS v3.0.4 (2013-08-02) + + (c) 2009-2013 Torstein Hønsi + + License: www.highcharts.com/license +*/ +(function(l,C){function J(a,b,c){this.init.call(this,a,b,c)}function K(a,b,c){a.call(this,b,c);if(this.chart.polar)this.closeSegment=function(a){var c=this.xAxis.center;a.push("L",c[0],c[1])},this.closedStacks=!0}function L(a,b){var c=this.chart,d=this.options.animation,g=this.group,f=this.markerGroup,e=this.xAxis.center,i=c.plotLeft,o=c.plotTop;if(c.polar){if(c.renderer.isSVG)if(d===!0&&(d={}),b){if(c={translateX:e[0]+i,translateY:e[1]+o,scaleX:0.001,scaleY:0.001},g.attr(c),f)f.attrSetters=g.attrSetters, +f.attr(c)}else c={translateX:i,translateY:o,scaleX:1,scaleY:1},g.animate(c,d),f&&f.animate(c,d),this.animate=null}else a.call(this,b)}var P=l.arrayMin,Q=l.arrayMax,r=l.each,F=l.extend,p=l.merge,R=l.map,q=l.pick,v=l.pInt,m=l.getOptions().plotOptions,h=l.seriesTypes,x=l.extendClass,M=l.splat,n=l.wrap,N=l.Axis,u=l.Tick,z=l.Series,t=h.column.prototype,s=Math,D=s.round,A=s.floor,S=s.max,w=function(){};F(J.prototype,{init:function(a,b,c){var d=this,g=d.defaultOptions;d.chart=b;if(b.angular)g.background= +{};d.options=a=p(g,a);(a=a.background)&&r([].concat(M(a)).reverse(),function(a){var b=a.backgroundColor,a=p(d.defaultBackgroundOptions,a);if(b)a.backgroundColor=b;a.color=a.backgroundColor;c.options.plotBands.unshift(a)})},defaultOptions:{center:["50%","50%"],size:"85%",startAngle:0},defaultBackgroundOptions:{shape:"circle",borderWidth:1,borderColor:"silver",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#FFF"],[1,"#DDD"]]},from:Number.MIN_VALUE,innerRadius:0,to:Number.MAX_VALUE, +outerRadius:"105%"}});var G=N.prototype,u=u.prototype,T={getOffset:w,redraw:function(){this.isDirty=!1},render:function(){this.isDirty=!1},setScale:w,setCategories:w,setTitle:w},O={isRadial:!0,defaultRadialGaugeOptions:{labels:{align:"center",x:0,y:null},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,plotBands:[],tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},defaultRadialXOptions:{gridLineWidth:1,labels:{align:null, +distance:15,x:0,y:null},maxPadding:0,minPadding:0,plotBands:[],showLastLabel:!1,tickLength:0},defaultRadialYOptions:{gridLineInterpolation:"circle",labels:{align:"right",x:-3,y:-2},plotBands:[],showLastLabel:!1,title:{x:4,text:null,rotation:90}},setOptions:function(a){this.options=p(this.defaultOptions,this.defaultRadialOptions,a)},getOffset:function(){G.getOffset.call(this);this.chart.axisOffset[this.side]=0;this.center=this.pane.center=h.pie.prototype.getCenter.call(this.pane)},getLinePath:function(a, +b){var c=this.center,b=q(b,c[2]/2-this.offset);return this.chart.renderer.symbols.arc(this.left+c[0],this.top+c[1],b,b,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})},setAxisTranslation:function(){G.setAxisTranslation.call(this);if(this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):this.center[2]/2/(this.max-this.min||1),this.isXAxis))this.minPixelPadding=this.transA*this.minPointOffset+(this.reversed?(this.endAngleRad-this.startAngleRad)/ +4:0)},beforeSetTickPositions:function(){this.autoConnect&&(this.max+=this.categories&&1||this.pointRange||this.closestPointRange)},setAxisSize:function(){G.setAxisSize.call(this);if(this.center)this.len=this.width=this.height=this.isCircular?this.center[2]*(this.endAngleRad-this.startAngleRad)/2:this.center[2]/2},getPosition:function(a,b){if(!this.isCircular)b=this.translate(a),a=this.min;return this.postTranslate(this.translate(a),q(b,this.center[2]/2)-this.offset)},postTranslate:function(a,b){var c= +this.chart,d=this.center,a=this.startAngleRad+a;return{x:c.plotLeft+d[0]+Math.cos(a)*b,y:c.plotTop+d[1]+Math.sin(a)*b}},getPlotBandPath:function(a,b,c){var d=this.center,g=this.startAngleRad,f=d[2]/2,e=[q(c.outerRadius,"100%"),c.innerRadius,q(c.thickness,10)],i=/%$/,o,k=this.isCircular;this.options.gridLineInterpolation==="polygon"?d=this.getPlotLinePath(a).concat(this.getPlotLinePath(b,!0)):(k||(e[0]=this.translate(a),e[1]=this.translate(b)),e=R(e,function(a){i.test(a)&&(a=v(a,10)*f/100);return a}), +c.shape==="circle"||!k?(a=-Math.PI/2,b=Math.PI*1.5,o=!0):(a=g+this.translate(a),b=g+this.translate(b)),d=this.chart.renderer.symbols.arc(this.left+d[0],this.top+d[1],e[0],e[0],{start:a,end:b,innerR:q(e[1],e[0]-e[2]),open:o}));return d},getPlotLinePath:function(a,b){var c=this.center,d=this.chart,g=this.getPosition(a),f,e,i;this.isCircular?i=["M",c[0]+d.plotLeft,c[1]+d.plotTop,"L",g.x,g.y]:this.options.gridLineInterpolation==="circle"?(a=this.translate(a))&&(i=this.getLinePath(0,a)):(f=d.xAxis[0], +i=[],a=this.translate(a),c=f.tickPositions,f.autoConnect&&(c=c.concat([c[0]])),b&&(c=[].concat(c).reverse()),r(c,function(c,b){e=f.getPosition(c,a);i.push(b?"L":"M",e.x,e.y)}));return i},getTitlePosition:function(){var a=this.center,b=this.chart,c=this.options.title;return{x:b.plotLeft+a[0]+(c.x||0),y:b.plotTop+a[1]-{high:0.5,middle:0.25,low:0}[c.align]*a[2]+(c.y||0)}}};n(G,"init",function(a,b,c){var j;var d=b.angular,g=b.polar,f=c.isX,e=d&&f,i,o;o=b.options;var k=c.pane||0;if(d){if(F(this,e?T:O), +i=!f)this.defaultRadialOptions=this.defaultRadialGaugeOptions}else if(g)F(this,O),this.defaultRadialOptions=(i=f)?this.defaultRadialXOptions:p(this.defaultYAxisOptions,this.defaultRadialYOptions);a.call(this,b,c);if(!e&&(d||g)){a=this.options;if(!b.panes)b.panes=[];this.pane=(j=b.panes[k]=b.panes[k]||new J(M(o.pane)[k],b,this),k=j);k=k.options;b.inverted=!1;o.chart.zoomType=null;this.startAngleRad=b=(k.startAngle-90)*Math.PI/180;this.endAngleRad=o=(q(k.endAngle,k.startAngle+360)-90)*Math.PI/180;this.offset= +a.offset||0;if((this.isCircular=i)&&c.max===C&&o-b===2*Math.PI)this.autoConnect=!0}});n(u,"getPosition",function(a,b,c,d,g){var f=this.axis;return f.getPosition?f.getPosition(c):a.call(this,b,c,d,g)});n(u,"getLabelPosition",function(a,b,c,d,g,f,e,i,o){var k=this.axis,j=f.y,h=f.align,l=(k.translate(this.pos)+k.startAngleRad+Math.PI/2)/Math.PI*180%360;k.isRadial?(a=k.getPosition(this.pos,k.center[2]/2+q(f.distance,-25)),f.rotation==="auto"?d.attr({rotation:l}):j===null&&(j=v(d.styles.lineHeight)*0.9- +d.getBBox().height/2),h===null&&(h=k.isCircular?l>20&&l<160?"left":l>200&&l<340?"right":"center":"center",d.attr({align:h})),a.x+=f.x,a.y+=j):a=a.call(this,b,c,d,g,f,e,i,o);return a});n(u,"getMarkPath",function(a,b,c,d,g,f,e){var i=this.axis;i.isRadial?(a=i.getPosition(this.pos,i.center[2]/2+d),b=["M",b,c,"L",a.x,a.y]):b=a.call(this,b,c,d,g,f,e);return b});m.arearange=p(m.area,{lineWidth:1,marker:null,threshold:null,tooltip:{pointFormat:'{series.name}: {point.low} - {point.high}
    '}, +trackByArea:!0,dataLabels:{verticalAlign:null,xLow:0,xHigh:0,yLow:0,yHigh:0}});h.arearange=l.extendClass(h.area,{type:"arearange",pointArrayMap:["low","high"],toYData:function(a){return[a.low,a.high]},pointValKey:"low",getSegments:function(){var a=this;r(a.points,function(b){if(!a.options.connectNulls&&(b.low===null||b.high===null))b.y=null;else if(b.low===null&&b.high!==null)b.y=b.high});z.prototype.getSegments.call(this)},translate:function(){var a=this.yAxis;h.area.prototype.translate.apply(this); +r(this.points,function(b){var c=b.low,d=b.high,g=b.plotY;d===null&&c===null?b.y=null:c===null?(b.plotLow=b.plotY=null,b.plotHigh=a.translate(d,0,1,0,1)):d===null?(b.plotLow=g,b.plotHigh=null):(b.plotLow=g,b.plotHigh=a.translate(d,0,1,0,1))})},getSegmentPath:function(a){var b,c=[],d=a.length,g=z.prototype.getSegmentPath,f,e;e=this.options;var i=e.step;for(b=HighchartsAdapter.grep(a,function(a){return a.plotLow!==null});d--;)f=a[d],f.plotHigh!==null&&c.push({plotX:f.plotX,plotY:f.plotHigh});a=g.call(this, +b);if(i)i===!0&&(i="left"),e.step={left:"right",center:"center",right:"left"}[i];c=g.call(this,c);e.step=i;e=[].concat(a,c);c[0]="L";this.areaPath=this.areaPath.concat(a,c);return e},drawDataLabels:function(){var a=this.data,b=a.length,c,d=[],g=z.prototype,f=this.options.dataLabels,e,i=this.chart.inverted;if(f.enabled||this._hasPointLabels){for(c=b;c--;)e=a[c],e.y=e.high,e.plotY=e.plotHigh,d[c]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=!1,i?(f.align="left",f.x=f.xHigh):f.y=f.yHigh;g.drawDataLabels.apply(this, +arguments);for(c=b;c--;)e=a[c],e.dataLabelUpper=e.dataLabel,e.dataLabel=d[c],e.y=e.low,e.plotY=e.plotLow,e.below=!0,i?(f.align="right",f.x=f.xLow):f.y=f.yLow;g.drawDataLabels.apply(this,arguments)}},alignDataLabel:h.column.prototype.alignDataLabel,getSymbol:h.column.prototype.getSymbol,drawPoints:w});m.areasplinerange=p(m.arearange);h.areasplinerange=x(h.arearange,{type:"areasplinerange",getPointSpline:h.spline.prototype.getPointSpline});m.columnrange=p(m.column,m.arearange,{lineWidth:1,pointRange:null}); +h.columnrange=x(h.arearange,{type:"columnrange",translate:function(){var a=this,b=a.yAxis,c;t.translate.apply(a);r(a.points,function(d){var g=d.shapeArgs,f=a.options.minPointLength,e;d.plotHigh=c=b.translate(d.high,0,1,0,1);d.plotLow=d.plotY;e=c;d=d.plotY-c;d{series.name}

    Maximum: {point.high}
    Upper quartile: {point.q3}
    Median: {point.median}
    Lower quartile: {point.q1}
    Minimum: {point.low}
    '},whiskerLength:"50%",whiskerWidth:2});h.boxplot=x(h.column,{type:"boxplot",pointArrayMap:["low","q1","median","q3","high"],toYData:function(a){return[a.low, +a.q1,a.median,a.q3,a.high]},pointValKey:"high",pointAttrToOptions:{fill:"fillColor",stroke:"color","stroke-width":"lineWidth"},drawDataLabels:w,translate:function(){var a=this.yAxis,b=this.pointArrayMap;h.column.prototype.translate.apply(this);r(this.points,function(c){r(b,function(b){c[b]!==null&&(c[b+"Plot"]=a.translate(c[b],0,1,0,1))})})},drawPoints:function(){var a=this,b=a.points,c=a.options,d=a.chart.renderer,g,f,e,i,o,k,j,h,l,m,n,H,p,E,I,t,w,s,v,u,z,y,x=a.doQuartiles!==!1,B=parseInt(a.options.whiskerLength, +10)/100;r(b,function(b){l=b.graphic;z=b.shapeArgs;n={};E={};t={};y=b.color||a.color;if(b.plotY!==C)if(g=b.pointAttr[b.selected?"selected":""],w=z.width,s=A(z.x),v=s+w,u=D(w/2),f=A(x?b.q1Plot:b.lowPlot),e=A(x?b.q3Plot:b.lowPlot),i=A(b.highPlot),o=A(b.lowPlot),n.stroke=b.stemColor||c.stemColor||y,n["stroke-width"]=q(b.stemWidth,c.stemWidth,c.lineWidth),n.dashstyle=b.stemDashStyle||c.stemDashStyle,E.stroke=b.whiskerColor||c.whiskerColor||y,E["stroke-width"]=q(b.whiskerWidth,c.whiskerWidth,c.lineWidth), +t.stroke=b.medianColor||c.medianColor||y,t["stroke-width"]=q(b.medianWidth,c.medianWidth,c.lineWidth),j=n["stroke-width"]%2/2,h=s+u+j,m=["M",h,e,"L",h,i,"M",h,f,"L",h,o,"z"],x&&(j=g["stroke-width"]%2/2,h=A(h)+j,f=A(f)+j,e=A(e)+j,s+=j,v+=j,H=["M",s,e,"L",s,f,"L",v,f,"L",v,e,"L",s,e,"z"]),B&&(j=E["stroke-width"]%2/2,i+=j,o+=j,p=["M",h-u*B,i,"L",h+u*B,i,"M",h-u*B,o,"L",h+u*B,o]),j=t["stroke-width"]%2/2,k=D(b.medianPlot)+j,I=["M",s,k,"L",v,k,"z"],l)b.stem.animate({d:m}),B&&b.whiskers.animate({d:p}),x&& +b.box.animate({d:H}),b.medianShape.animate({d:I});else{b.graphic=l=d.g().add(a.group);b.stem=d.path(m).attr(n).add(l);if(B)b.whiskers=d.path(p).attr(E).add(l);if(x)b.box=d.path(H).attr(g).add(l);b.medianShape=d.path(I).attr(t).add(l)}})}});m.errorbar=p(m.boxplot,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:m.arearange.tooltip.pointFormat},whiskerWidth:null});h.errorbar=x(h.boxplot,{type:"errorbar",pointArrayMap:["low","high"],toYData:function(a){return[a.low,a.high]},pointValKey:"high", +doQuartiles:!1,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||h.column.prototype.getColumnMetrics.call(this)}});m.waterfall=p(m.column,{lineWidth:1,lineColor:"#333",dashStyle:"dot",borderColor:"#333"});h.waterfall=x(h.column,{type:"waterfall",upColorProp:"fill",pointArrayMap:["low","y"],pointValKey:"y",init:function(a,b){b.stacking=!0;h.column.prototype.init.call(this,a,b)},translate:function(){var a=this.options,b=this.yAxis,c,d,g,f,e,i,o,k,j;c=a.threshold; +a=a.borderWidth%2/2;h.column.prototype.translate.apply(this);k=c;g=this.points;for(d=0,c=g.length;d0&&!a.color)a.pointAttr=d,a.color=c})},getGraphPath:function(){var a=this.data,b=a.length,c=D(this.options.lineWidth+this.options.borderWidth)%2/2,d=[],g,f,e;for(e=1;e0?(i[f]-a)/(b-a):0.5,h.push(s.ceil(c+e*(d-c))/2);this.radii=h},animate:function(a){var b=this.options.animation;if(!a)r(this.points,function(a){var d=a.graphic,a=a.shapeArgs;d&&a&&(d.attr("r",1),d.animate({r:a.r},b))}),this.animate=null},translate:function(){var a,b=this.data,c,d,g=this.radii;h.scatter.prototype.translate.call(this);for(a=b.length;a--;)c=b[a],d=g?g[a]:0,c.negative=c.z<(this.options.zThreshold||0),d>=this.minPxSize/2?(c.shapeType="circle",c.shapeArgs={x:c.plotX,y:c.plotY, +r:d},c.dlBox={x:c.plotX-d,y:c.plotY-d,width:2*d,height:2*d}):c.shapeArgs=c.plotY=c.dlBox=C},drawLegendSymbol:function(a,b){var c=v(a.itemStyle.fontSize)/2;b.legendSymbol=this.chart.renderer.circle(c,a.baseline-c,c).attr({zIndex:3}).add(b.legendGroup);b.legendSymbol.isMarker=!0},drawPoints:h.column.prototype.drawPoints,alignDataLabel:h.column.prototype.alignDataLabel});N.prototype.beforePadding=function(){var a=this,b=this.len,c=this.chart,d=0,g=b,f=this.isXAxis,e=f?"xData":"yData",i=this.min,h={}, +k=s.min(c.plotWidth,c.plotHeight),j=Number.MAX_VALUE,l=-Number.MAX_VALUE,m=this.max-i,n=b/m,p=[];this.tickPositions&&(r(this.series,function(b){var c=b.options;if(b.type==="bubble"&&b.visible&&(a.allowZoomOutside=!0,p.push(b),f))r(["minSize","maxSize"],function(a){var b=c[a],d=/%$/.test(b),b=v(b);h[a]=d?k*b/100:b}),b.minPxSize=h.minSize,b=b.zData,b.length&&(j=s.min(j,s.max(P(b),c.displayNegative===!1?c.zThreshold:-Number.MAX_VALUE)),l=s.max(l,Q(b)))}),r(p,function(a){var b=a[e],c=b.length,k;f&&a.getRadii(j, +l,h.minSize,h.maxSize);if(m>0)for(;c--;)k=a.radii[c],d=Math.min((b[c]-i)*n-k,d),g=Math.max((b[c]-i)*n+k,g)}),m>0&&q(this.options.min,this.userMin)===C&&q(this.options.max,this.userMax)===C&&(g-=b,n*=(b+d-g)/b,this.min+=d/n,this.max+=g/n))};var y=z.prototype,m=l.Pointer.prototype;y.toXY=function(a){var b,c=this.chart;b=a.plotX;var d=a.plotY;a.rectPlotX=b;a.rectPlotY=d;a.clientX=(b/Math.PI*180+this.xAxis.pane.options.startAngle)%360;b=this.xAxis.postTranslate(a.plotX,this.yAxis.len-d);a.plotX=a.polarPlotX= +b.x-c.plotLeft;a.plotY=a.polarPlotY=b.y-c.plotTop};y.orderTooltipPoints=function(a){if(this.chart.polar&&(a.sort(function(a,c){return a.clientX-c.clientX}),a[0]))a[0].wrappedClientX=a[0].clientX+360,a.push(a[0])};n(h.area.prototype,"init",K);n(h.areaspline.prototype,"init",K);n(h.spline.prototype,"getPointSpline",function(a,b,c,d){var g,f,e,i,h,k,j;if(this.chart.polar){g=c.plotX;f=c.plotY;a=b[d-1];e=b[d+1];this.connectEnds&&(a||(a=b[b.length-2]),e||(e=b[1]));if(a&&e)i=a.plotX,h=a.plotY,b=e.plotX, +k=e.plotY,i=(1.5*g+i)/2.5,h=(1.5*f+h)/2.5,e=(1.5*g+b)/2.5,j=(1.5*f+k)/2.5,b=Math.sqrt(Math.pow(i-g,2)+Math.pow(h-f,2)),k=Math.sqrt(Math.pow(e-g,2)+Math.pow(j-f,2)),i=Math.atan2(h-f,i-g),h=Math.atan2(j-f,e-g),j=Math.PI/2+(i+h)/2,Math.abs(i-j)>Math.PI/2&&(j-=Math.PI),i=g+Math.cos(j)*b,h=f+Math.sin(j)*b,e=g+Math.cos(Math.PI+j)*k,j=f+Math.sin(Math.PI+j)*k,c.rightContX=e,c.rightContY=j;d?(c=["C",a.rightContX||a.plotX,a.rightContY||a.plotY,i||g,h||f,g,f],a.rightContX=a.rightContY=null):c=["M",g,f]}else c= +a.call(this,b,c,d);return c});n(y,"translate",function(a){a.call(this);if(this.chart.polar&&!this.preventPostTranslate)for(var a=this.points,b=a.length;b--;)this.toXY(a[b])});n(y,"getSegmentPath",function(a,b){var c=this.points;if(this.chart.polar&&this.options.connectEnds!==!1&&b[b.length-1]===c[c.length-1]&&c[0].y!==null)this.connectEnds=!0,b=[].concat(b,[c[0]]);return a.call(this,b)});n(y,"animate",L);n(t,"animate",L);n(y,"setTooltipPoints",function(a,b){this.chart.polar&&F(this.xAxis,{tooltipLen:360}); +return a.call(this,b)});n(t,"translate",function(a){var b=this.xAxis,c=this.yAxis.len,d=b.center,g=b.startAngleRad,f=this.chart.renderer,e,h;this.preventPostTranslate=!0;a.call(this);if(b.isRadial){b=this.points;for(h=b.length;h--;)e=b[h],a=e.barX+g,e.shapeType="path",e.shapeArgs={d:f.symbols.arc(d[0],d[1],c-e.plotY,null,{start:a,end:a+e.pointWidth,innerR:c-q(e.yBottom,c)})},this.toXY(e)}});n(t,"alignDataLabel",function(a,b,c,d,g,f){if(this.chart.polar){a=b.rectPlotX/Math.PI*180;if(d.align===null)d.align= +a>20&&a<160?"left":a>200&&a<340?"right":"center";if(d.verticalAlign===null)d.verticalAlign=a<45||a>315?"bottom":a>135&&a<225?"top":"middle";y.alignDataLabel.call(this,b,c,d,g,f)}else a.call(this,b,c,d,g,f)});n(m,"getIndex",function(a,b){var c,d=this.chart,g;d.polar?(g=d.xAxis[0].center,c=b.chartX-g[0]-d.plotLeft,d=b.chartY-g[1]-d.plotTop,c=180-Math.round(Math.atan2(c,d)/Math.PI*180)):c=a.call(this,b);return c});n(m,"getCoordinates",function(a,b){var c=this.chart,d={xAxis:[],yAxis:[]};c.polar?r(c.axes, +function(a){var f=a.isXAxis,e=a.center,h=b.chartX-e[0]-c.plotLeft,e=b.chartY-e[1]-c.plotTop;d[f?"xAxis":"yAxis"].push({axis:a,value:a.translate(f?Math.PI-Math.atan2(h,e):Math.sqrt(Math.pow(h,2)+Math.pow(e,2)),!0)})}):d=a.call(this,b);return d})})(Highcharts); diff --git a/97suifangqa/staticfiles/plugins/highcharts/highcharts.js b/97suifangqa/staticfiles/plugins/highcharts/highcharts.js new file mode 100644 index 0000000..9f2c8cb --- /dev/null +++ b/97suifangqa/staticfiles/plugins/highcharts/highcharts.js @@ -0,0 +1,277 @@ +/* + Highcharts JS v3.0.4 (2013-08-02) + + (c) 2009-2013 Torstein Hønsi + + License: www.highcharts.com/license +*/ +(function(){function r(a,b){var c;a||(a={});for(c in b)a[c]=b[c];return a}function x(){var a,b=arguments.length,c={},d=function(a,b){var c,h;typeof a!=="object"&&(a={});for(h in b)b.hasOwnProperty(h)&&(c=b[h],a[h]=c&&typeof c==="object"&&Object.prototype.toString.call(c)!=="[object Array]"&&typeof c.nodeType!=="number"?d(a[h]||{},c):b[h]);return a};for(a=0;a3?c.length%3:0;return e+(g?c.substr(0,g)+d:"")+c.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+d)+(f?b+P(a-c).toFixed(f).slice(2):"")}function za(a,b){return Array((b||2)+1-String(a).length).join(0)+a}function Bb(a,b,c){var d=a[b];a[b]=function(){var a=Array.prototype.slice.call(arguments);a.unshift(d);return c.apply(this,a)}}function Aa(a,b){for(var c="{",d=!1, +e,f,g,h,i,j=[];(c=a.indexOf(c))!==-1;){e=a.slice(0,c);if(d){f=e.split(":");g=f.shift().split(".");i=g.length;e=b;for(h=0;h-1?h.thousandsSep:"")):e=Xa(f,e)}j.push(e);a=a.slice(c+1);c=(d=!d)?"}":"{"}j.push(a);return j.join("")}function lb(a){return N.pow(10,S(N.log(a)/N.LN10))}function mb(a,b,c,d){var e,c=p(c,1);e=a/c;b||(b=[1,2,2.5,5,10],d&&d.allowDecimals=== +!1&&(c===1?b=[1,2,5,10]:c<=0.1&&(b=[1/c])));for(d=0;d=y[nb]&&(i.setMilliseconds(0),i.setSeconds(j>=y[Ya]?0:k*S(i.getSeconds()/k)));if(j>=y[Ya])i[Fb](j>=y[Qa]?0:k*S(i[ob]()/k));if(j>=y[Qa])i[Gb](j>=y[ra]?0:k*S(i[pb]()/k));if(j>=y[ra])i[qb](j>=y[Ra]?1:k*S(i[Sa]()/k));j>=y[Ra]&&(i[Hb](j>=y[sa]?0:k*S(i[$a]()/k)),h=i[ab]());j>=y[sa]&&(h-=h%k,i[Ib](h));if(j===y[Za])i[qb](i[Sa]()-i[rb]()+ +p(d,1));b=1;h=i[ab]();for(var d=i.getTime(),l=i[$a](),m=i[Sa](),o=g?0:(864E5+i.getTimezoneOffset()*6E4)%864E5;dc&&(c=a[b]);return c}function Ja(a,b){for(var c in a)a[c]&&a[c]!==b&&a[c].destroy&&a[c].destroy(),delete a[c]}function Ta(a){cb||(cb=T(Ba));a&&cb.appendChild(a);cb.innerHTML=""}function ua(a,b){var c="Highcharts error #"+a+": www.highcharts.com/errors/"+a;if(b)throw c;else E.console&&console.log(c)}function ia(a){return parseFloat(a.toPrecision(14))} +function Ka(a,b){Ca=p(a,b.animation)}function Lb(){var a=O.global.useUTC,b=a?"getUTC":"get",c=a?"setUTC":"set";bb=a?Date.UTC:function(a,b,c,g,h,i){return(new Date(a,b,p(c,1),p(g,0),p(h,0),p(i,0))).getTime()};ob=b+"Minutes";pb=b+"Hours";rb=b+"Day";Sa=b+"Date";$a=b+"Month";ab=b+"FullYear";Fb=c+"Minutes";Gb=c+"Hours";qb=c+"Date";Hb=c+"Month";Ib=c+"FullYear"}function va(){}function La(a,b,c,d){this.axis=a;this.pos=b;this.type=c||"";this.isNew=!0;!c&&!d&&this.addLabel()}function tb(a,b){this.axis=a;if(b)this.options= +b,this.id=b.id}function Mb(a,b,c,d,e,f){var g=a.chart.inverted;this.axis=a;this.isNegative=c;this.options=b;this.x=d;this.total=0;this.points={};this.stack=e;this.percent=f==="percent";this.alignOptions={align:b.align||(g?c?"left":"right":"center"),verticalAlign:b.verticalAlign||(g?"middle":c?"bottom":"top"),y:p(b.y,g?4:c?14:-6),x:p(b.x,g?c?-6:6:0)};this.textAlign=b.textAlign||(g?c?"right":"left":"center")}function db(){this.init.apply(this,arguments)}function ub(){this.init.apply(this,arguments)} +function vb(a,b){this.init(a,b)}function wb(a,b){this.init(a,b)}function xb(){this.init.apply(this,arguments)}var v,z=document,E=window,N=Math,s=N.round,S=N.floor,ja=N.ceil,u=N.max,I=N.min,P=N.abs,V=N.cos,ba=N.sin,Ma=N.PI,Ua=Ma*2/360,Da=navigator.userAgent,Nb=E.opera,qa=/msie/i.test(Da)&&!Nb,eb=z.documentMode===8,fb=/AppleWebKit/.test(Da),gb=/Firefox/.test(Da),Ob=/(Mobile|Android|Windows Phone)/.test(Da),wa="http://www.w3.org/2000/svg",Y=!!z.createElementNS&&!!z.createElementNS(wa,"svg").createSVGRect, +Vb=gb&&parseInt(Da.split("Firefox/")[1],10)<4,Z=!Y&&!qa&&!!z.createElement("canvas").getContext,Va,hb=z.documentElement.ontouchstart!==v,Pb={},yb=0,cb,O,Xa,Ca,zb,y,xa=function(){},Ea=[],Ba="div",R="none",Qb="rgba(192,192,192,"+(Y?1.0E-4:0.002)+")",Db="millisecond",nb="second",Ya="minute",Qa="hour",ra="day",Za="week",Ra="month",sa="year",Rb="stroke-width",bb,ob,pb,rb,Sa,$a,ab,Fb,Gb,qb,Hb,Ib,$={};E.Highcharts=E.Highcharts?ua(16,!0):{};Xa=function(a,b,c){if(!t(b)||isNaN(b))return"Invalid date";var a= +p(a,"%Y-%m-%d %H:%M:%S"),d=new Date(b),e,f=d[pb](),g=d[rb](),h=d[Sa](),i=d[$a](),j=d[ab](),k=O.lang,l=k.weekdays,d=r({a:l[g].substr(0,3),A:l[g],d:za(h),e:h,b:k.shortMonths[i],B:k.months[i],m:za(i+1),y:j.toString().substr(2,2),Y:j,H:za(f),I:za(f%12||12),l:f%12||12,M:za(d[ob]()),p:f<12?"AM":"PM",P:f<12?"am":"pm",S:za(d.getSeconds()),L:za(s(b%1E3),3)},Highcharts.dateFormats);for(e in d)for(;a.indexOf("%"+e)!==-1;)a=a.replace("%"+e,typeof d[e]==="function"?d[e](b):d[e]);return c?a.substr(0,1).toUpperCase()+ +a.substr(1):a};Jb.prototype={wrapColor:function(a){if(this.color>=a)this.color=0},wrapSymbol:function(a){if(this.symbol>=a)this.symbol=0}};y=function(){for(var a=0,b=arguments,c=b.length,d={};a-1,f=e?7:3,g,b=b.split(" "),c=[].concat(c),h,i,j=function(a){for(g=a.length;g--;)a[g]==="M"&&a.splice(g+1,0,a[g+1],a[g+2],a[g+1],a[g+2])};e&& +(j(b),j(c));a.isArea&&(h=b.splice(b.length-6,6),i=c.splice(c.length-6,6));if(d<=c.length/f)for(;d--;)c=[].concat(c).splice(0,f).concat(c);a.shift=0;if(b.length)for(a=c.length;b.length{point.key}
    ',pointFormat:'{series.name}: {point.y}
    ',shadow:!0,snap:Ob?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",whiteSpace:"nowrap"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com", +position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}};var X=O.plotOptions,W=X.line;Lb();var oa=function(a){var b=[],c,d;(function(a){a&&a.stops?d=Na(a.stops,function(a){return oa(a[1])}):(c=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/.exec(a))?b=[A(c[1]),A(c[2]),A(c[3]),parseFloat(c[4],10)]:(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(a))?b=[A(c[1],16),A(c[2],16),A(c[3], +16),1]:(c=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(a))&&(b=[A(c[1]),A(c[2]),A(c[3]),1])})(a);return{get:function(c){var f;d?(f=x(a),f.stops=[].concat(f.stops),n(d,function(a,b){f.stops[b]=[f.stops[b][0],a.get(c)]})):f=b&&!isNaN(b[0])?c==="rgb"?"rgb("+b[0]+","+b[1]+","+b[2]+")":c==="a"?b[3]:"rgba("+b.join(",")+")":a;return f},brighten:function(a){if(d)n(d,function(b){b.brighten(a)});else if(pa(a)&&a!==0){var c;for(c=0;c<3;c++)b[c]+=A(a*255),b[c]<0&&(b[c]=0),b[c]>255&& +(b[c]=255)}return this},rgba:b,setOpacity:function(a){b[3]=a;return this}}};va.prototype={init:function(a,b){this.element=b==="span"?T(b):z.createElementNS(wa,b);this.renderer=a;this.attrSetters={}},opacity:1,animate:function(a,b,c){b=p(b,Ca,!0);Wa(this);if(b){b=x(b);if(c)b.complete=c;Ab(this,a,b)}else this.attr(a),c&&c()},attr:function(a,b){var c,d,e,f,g=this.element,h=g.nodeName.toLowerCase(),i=this.renderer,j,k=this.attrSetters,l=this.shadows,m,o,q=this;da(a)&&t(b)&&(c=a,a={},a[c]=b);if(da(a))c= +a,h==="circle"?c={x:"cx",y:"cy"}[c]||c:c==="strokeWidth"&&(c="stroke-width"),q=w(g,c)||this[c]||0,c!=="d"&&c!=="visibility"&&(q=parseFloat(q));else{for(c in a)if(j=!1,d=a[c],e=k[c]&&k[c].call(this,d,c),e!==!1){e!==v&&(d=e);if(c==="d")d&&d.join&&(d=d.join(" ")),/(NaN| {2}|^$)/.test(d)&&(d="M 0 0");else if(c==="x"&&h==="text")for(e=0;em&&/[ \-]/.test(b.textContent||b.innerText))M(b,{width:m+"px",display:"block",whiteSpace:"normal"}),k=m;m=a.fontMetrics(b.style.fontSize).b;D=o<0&&-k;F=q<0&&-l;ka=o*q<0;D+=q*m*(ka?1-h:h);F-=o*m*(j?ka?h:1-h:1);i&&(D-=k*h*(o<0?-1:1),j&&(F-=l*h*(q<0?-1:1)),M(b,{textAlign:g}));this.xCorr=D;this.yCorr=F}M(b,{left:e+D+"px",top:f+F+"px"});if(fb)l=b.offsetHeight; +this.cTT=Tb}}else this.alignOnAdd=!0},setSpanRotation:function(a){var b={};b[qa?"-ms-transform":fb?"-webkit-transform":gb?"MozTransform":Nb?"-o-transform":""]=b.transform="rotate("+a+"deg)";M(this.element,b)},updateTransform:function(){var a=this.translateX||0,b=this.translateY||0,c=this.scaleX,d=this.scaleY,e=this.inverted,f=this.rotation;e&&(a+=this.attr("width"),b+=this.attr("height"));a=["translate("+a+","+b+")"];e?a.push("rotate(90) scale(-1,1)"):f&&a.push("rotate("+f+" "+(this.x||0)+" "+(this.y|| +0)+")");(t(c)||t(d))&&a.push("scale("+p(c,1)+" "+p(d,1)+")");a.length&&w(this.element,"transform",a.join(" "))},toFront:function(){var a=this.element;a.parentNode.appendChild(a);return this},align:function(a,b,c){var d,e,f,g,h={};e=this.renderer;f=e.alignedObjects;if(a){if(this.alignOptions=a,this.alignByTranslate=b,!c||da(c))this.alignTo=d=c||"renderer",fa(f,this),f.push(this),c=null}else a=this.alignOptions,b=this.alignByTranslate,d=this.alignTo;c=p(c,e[d],e);d=a.align;e=a.verticalAlign;f=(c.x|| +0)+(a.x||0);g=(c.y||0)+(a.y||0);if(d==="right"||d==="center")f+=(c.width-(a.width||0))/{right:1,center:2}[d];h[b?"translateX":"x"]=s(f);if(e==="bottom"||e==="middle")g+=(c.height-(a.height||0))/({bottom:1,middle:2}[e]||1);h[b?"translateY":"y"]=s(g);this[this.placed?"animate":"attr"](h);this.placed=!0;this.alignAttr=h;return this},getBBox:function(){var a=this.bBox,b=this.renderer,c,d=this.rotation;c=this.element;var e=this.styles,f=d*Ua;if(!a){if(c.namespaceURI===wa||b.forExport){try{a=c.getBBox? +r({},c.getBBox()):{width:c.offsetWidth,height:c.offsetHeight}}catch(g){}if(!a||a.width<0)a={width:0,height:0}}else a=this.htmlGetBBox();if(b.isSVG){b=a.width;c=a.height;if(qa&&e&&e.fontSize==="11px"&&c.toPrecision(3)==="22.7")a.height=c=14;if(d)a.width=P(c*ba(f))+P(b*V(f)),a.height=P(c*V(f))+P(b*ba(f))}this.bBox=a}return a},show:function(){return this.attr({visibility:"visible"})},hide:function(){return this.attr({visibility:"hidden"})},fadeOut:function(a){var b=this;b.animate({opacity:0},{duration:a|| +150,complete:function(){b.hide()}})},add:function(a){var b=this.renderer,c=a||b,d=c.element||b.box,e=d.childNodes,f=this.element,g=w(f,"zIndex"),h;if(a)this.parentGroup=a;this.parentInverted=a&&a.inverted;this.textStr!==void 0&&b.buildText(this);if(g)c.handleZ=!0,g=A(g);if(c.handleZ)for(c=0;cg||!t(g)&&t(b))){d.insertBefore(f,a);h=!0;break}h||d.appendChild(f);this.added=!0;C(this,"add");return this},safeRemoveChild:function(a){var b=a.parentNode; +b&&b.removeChild(a)},destroy:function(){var a=this,b=a.element||{},c=a.shadows,d=a.renderer.isSVG&&b.nodeName==="SPAN"&&b.parentNode,e,f;b.onclick=b.onmouseout=b.onmouseover=b.onmousemove=b.point=null;Wa(a);if(a.clipPath)a.clipPath=a.clipPath.destroy();if(a.stops){for(f=0;f/g,'').replace(/<(i|em)>/g,'').replace(//g,"").split(//g),f=b.childNodes,g=/style="([^"]+)"/, +h=/href="(http[^"]+)"/,i=w(b,"x"),j=a.styles,k=j&&j.width&&A(j.width),l=j&&j.lineHeight,m=f.length;m--;)b.removeChild(f[m]);k&&!a.added&&this.box.appendChild(b);e[e.length-1]===""&&e.pop();n(e,function(e,f){var m,p=0,e=e.replace(//g,"|||");m=e.split("|||");n(m,function(e){if(e!==""||m.length===1){var o={},n=z.createElementNS(wa,"tspan"),t;g.test(e)&&(t=e.match(g)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),w(n,"style",t));h.test(e)&&!d&&(w(n,"onclick",'location.href="'+ +e.match(h)[1]+'"'),M(n,{cursor:"pointer"}));e=(e.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"<").replace(/>/g,">");if(e!==" "&&(n.appendChild(z.createTextNode(e)),p?o.dx=0:o.x=i,w(n,o),!p&&f&&(!Y&&d&&M(n,{display:"block"}),w(n,"dy",l||c.fontMetrics(/px$/.test(n.style.fontSize)?n.style.fontSize:j.fontSize).h,fb&&n.offsetHeight)),b.appendChild(n),p++,k))for(var e=e.replace(/([^\^])-/g,"$1- ").split(" "),u,s=[];e.length||s.length;)delete a.bBox,u=a.getBBox().width,o=u>k,!o||e.length===1?(e=s, +s=[],e.length&&(n=z.createElementNS(wa,"tspan"),w(n,{dy:l||16,x:i}),t&&w(n,"style",t),b.appendChild(n),u>k&&(k=u))):(n.removeChild(n.firstChild),s.unshift(e.pop())),e.length&&n.appendChild(z.createTextNode(e.join(" ").replace(/- /g,"-")))}})})},button:function(a,b,c,d,e,f,g){var h=this.label(a,b,c,null,null,null,null,null,"button"),i=0,j,k,l,m,o,a={x1:0,y1:0,x2:0,y2:1},e=x({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:a,stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}}, +e);l=e.style;delete e.style;f=x(e,{stroke:"#68A",fill:{linearGradient:a,stops:[[0,"#FFF"],[1,"#ACF"]]}},f);m=f.style;delete f.style;g=x(e,{stroke:"#68A",fill:{linearGradient:a,stops:[[0,"#9BD"],[1,"#CDF"]]}},g);o=g.style;delete g.style;J(h.element,qa?"mouseover":"mouseenter",function(){h.attr(f).css(m)});J(h.element,qa?"mouseout":"mouseleave",function(){j=[e,f,g][i];k=[l,m,o][i];h.attr(j).css(k)});h.setState=function(a){(i=a)?a===2&&h.attr(g).css(o):h.attr(e).css(l)};return h.on("click",function(){d.call(h)}).attr(e).css(r({cursor:"default"}, +l))},crispLine:function(a,b){a[1]===a[4]&&(a[1]=a[4]=s(a[1])-b%2/2);a[2]===a[5]&&(a[2]=a[5]=s(a[2])+b%2/2);return a},path:function(a){var b={fill:R};Ha(a)?b.d=a:U(a)&&r(b,a);return this.createElement("path").attr(b)},circle:function(a,b,c){a=U(a)?a:{x:a,y:b,r:c};return this.createElement("circle").attr(a)},arc:function(a,b,c,d,e,f){if(U(a))b=a.y,c=a.r,d=a.innerR,e=a.start,f=a.end,a=a.x;a=this.symbol("arc",a||0,b||0,c||0,c||0,{innerR:d||0,start:e||0,end:f||0});a.r=c;return a},rect:function(a,b,c,d, +e,f){e=U(a)?a.r:e;e=this.createElement("rect").attr({rx:e,ry:e,fill:R});return e.attr(U(a)?a:e.crisp(f,a,b,u(c,0),u(d,0)))},setSize:function(a,b,c){var d=this.alignedObjects,e=d.length;this.width=a;this.height=b;for(this.boxWrapper[p(c,!0)?"animate":"attr"]({width:a,height:b});e--;)d[e].align()},g:function(a){var b=this.createElement("g");return t(a)?b.attr({"class":"highcharts-"+a}):b},image:function(a,b,c,d,e){var f={preserveAspectRatio:R};arguments.length>1&&r(f,{x:b,y:c,width:d,height:e});f=this.createElement("image").attr(f); +f.element.setAttributeNS?f.element.setAttributeNS("http://www.w3.org/1999/xlink","href",a):f.element.setAttribute("hc-svg-href",a);return f},symbol:function(a,b,c,d,e,f){var g,h=this.symbols[a],h=h&&h(s(b),s(c),d,e,f),i=/^url\((.*?)\)$/,j,k;if(h)g=this.path(h),r(g,{symbolName:a,x:b,y:c,width:d,height:e}),f&&r(g,f);else if(i.test(a))k=function(a,b){a.element&&(a.attr({width:b[0],height:b[1]}),a.alignByTranslate||a.translate(s((d-b[0])/2),s((e-b[1])/2)))},j=a.match(i)[1],a=Pb[j],g=this.image(j).attr({x:b, +y:c}),g.isImg=!0,a?k(g,a):(g.attr({width:0,height:0}),T("img",{onload:function(){k(g,Pb[j]=[this.width,this.height])},src:j}));return g},symbols:{circle:function(a,b,c,d){var e=0.166*c;return["M",a+c/2,b,"C",a+c+e,b,a+c+e,b+d,a+c/2,b+d,"C",a-e,b+d,a-e,b,a+c/2,b,"Z"]},square:function(a,b,c,d){return["M",a,b,"L",a+c,b,a+c,b+d,a,b+d,"Z"]},triangle:function(a,b,c,d){return["M",a+c/2,b,"L",a+c,b+d,a,b+d,"Z"]},"triangle-down":function(a,b,c,d){return["M",a,b,"L",a+c,b,a+c/2,b+d,"Z"]},diamond:function(a, +b,c,d){return["M",a+c/2,b,"L",a+c,b+d/2,a+c/2,b+d,a,b+d/2,"Z"]},arc:function(a,b,c,d,e){var f=e.start,c=e.r||c||d,g=e.end-0.001,d=e.innerR,h=e.open,i=V(f),j=ba(f),k=V(g),g=ba(g),e=e.end-f');if(b)c=e||b==="span"||b==="img"?c.join(""):a.prepVML(c),this.element=T(c);this.renderer=a;this.attrSetters={}},add:function(a){var b=this.renderer,c=this.element,d=b.box,d=a?a.element||a:d;a&&a.inverted&&b.invertChild(c,d);d.appendChild(c);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();C(this,"add");return this},updateTransform:va.prototype.htmlUpdateTransform,setSpanRotation:function(a,b,c){M(this.element,{filter:a?["progid:DXImageTransform.Microsoft.Matrix(M11=", +c,", M12=",-b,", M21=",b,", M22=",c,", sizingMethod='auto expand')"].join(""):R})},attr:function(a,b){var c,d,e,f=this.element||{},g=f.style,h=f.nodeName,i=this.renderer,j=this.symbolName,k,l=this.shadows,m,o=this.attrSetters,q=this;da(a)&&t(b)&&(c=a,a={},a[c]=b);if(da(a))c=a,q=c==="strokeWidth"||c==="stroke-width"?this.strokeweight:this[c];else for(c in a)if(d=a[c],m=!1,e=o[c]&&o[c].call(this,d,c),e!==!1&&d!==null){e!==v&&(d=e);if(j&&/^(x|y|r|start|end|width|height|innerR|anchorX|anchorY)/.test(c))k|| +(this.symbolAttr(a),k=!0),m=!0;else if(c==="d"){d=d||[];this.d=d.join(" ");e=d.length;m=[];for(var p;e--;)if(pa(d[e]))m[e]=s(d[e]*10)-5;else if(d[e]==="Z")m[e]="x";else if(m[e]=d[e],d.isArc&&(d[e]==="wa"||d[e]==="at"))p=d[e]==="wa"?1:-1,m[e+5]===m[e+7]&&(m[e+7]-=p),m[e+6]===m[e+8]&&(m[e+8]-=p);d=m.join(" ")||"x";f.path=d;if(l)for(e=l.length;e--;)l[e].path=l[e].cutOff?this.cutOffPath(d,l[e].cutOff):d;m=!0}else if(c==="visibility"){if(l)for(e=l.length;e--;)l[e].style[c]=d;h==="DIV"&&(d=d==="hidden"? +"-999em":0,eb||(g[c]=d?"visible":"hidden"),c="top");g[c]=d;m=!0}else if(c==="zIndex")d&&(g[c]=d),m=!0;else if(na(c,["x","y","width","height"])!==-1)this[c]=d,c==="x"||c==="y"?c={x:"left",y:"top"}[c]:d=u(0,d),this.updateClipping?(this[c]=d,this.updateClipping()):g[c]=d,m=!0;else if(c==="class"&&h==="DIV")f.className=d;else if(c==="stroke")d=i.color(d,f,c),c="strokecolor";else if(c==="stroke-width"||c==="strokeWidth")f.stroked=d?!0:!1,c="strokeweight",this[c]=d,pa(d)&&(d+="px");else if(c==="dashstyle")(f.getElementsByTagName("stroke")[0]|| +T(i.prepVML([""]),null,null,f))[c]=d||"solid",this.dashstyle=d,m=!0;else if(c==="fill")if(h==="SPAN")g.color=d;else{if(h!=="IMG")f.filled=d!==R?!0:!1,d=i.color(d,f,c,this),c="fillcolor"}else if(c==="opacity")m=!0;else if(h==="shape"&&c==="rotation")this[c]=f.style[c]=d,f.style.left=-s(ba(d*Ua)+1)+"px",f.style.top=s(V(d*Ua))+"px";else if(c==="translateX"||c==="translateY"||c==="rotation")this[c]=d,this.updateTransform(),m=!0;else if(c==="text")this.bBox=null,f.innerHTML=d,m=!0;m||(eb?f[c]= +d:w(f,c,d))}return q},clip:function(a){var b=this,c;a?(c=a.members,fa(c,b),c.push(b),b.destroyClip=function(){fa(c,b)},a=a.getCSS(b)):(b.destroyClip&&b.destroyClip(),a={clip:eb?"inherit":"rect(auto)"});return b.css(a)},css:va.prototype.htmlCss,safeRemoveChild:function(a){a.parentNode&&Ta(a)},destroy:function(){this.destroyClip&&this.destroyClip();return va.prototype.destroy.apply(this)},on:function(a,b){this.element["on"+a]=function(){var a=E.event;a.target=a.srcElement;b(a)};return this},cutOffPath:function(a, +b){var c,a=a.split(/[ ,]/);c=a.length;if(c===9||c===11)a[c-4]=a[c-2]=A(a[c-2])-10*b;return a.join(" ")},shadow:function(a,b,c){var d=[],e,f=this.element,g=this.renderer,h,i=f.style,j,k=f.path,l,m,o,q;k&&typeof k.value!=="string"&&(k="x");m=k;if(a){o=p(a.width,3);q=(a.opacity||0.15)/o;for(e=1;e<=3;e++){l=o*2+1-2*e;c&&(m=this.cutOffPath(k.value,l+0.5));j=[''];h=T(g.prepVML(j),null, +{left:A(i.left)+p(a.offsetX,1),top:A(i.top)+p(a.offsetY,1)});if(c)h.cutOff=l+1;j=[''];T(g.prepVML(j),null,null,h);b?b.element.appendChild(h):f.parentNode.insertBefore(h,f);d.push(h)}this.shadows=d}return this}};K=ga(va,K);var la={Element:K,isIE8:Da.indexOf("MSIE 8.0")>-1,init:function(a,b,c){var d,e;this.alignedObjects=[];d=this.createElement(Ba);e=d.element;e.style.position="relative";a.appendChild(d.element);this.isVML=!0;this.box=e;this.boxWrapper= +d;this.setSize(b,c,!1);if(!z.namespaces.hcv)z.namespaces.add("hcv","urn:schemas-microsoft-com:vml"),z.createStyleSheet().cssText="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } "},isHidden:function(){return!this.box.offsetWidth},clipRect:function(a,b,c,d){var e=this.createElement(),f=U(a);return r(e,{members:[],left:f?a.x:a,top:f?a.y:b,width:f?a.width:c,height:f?a.height:d,getCSS:function(a){var b=a.element,c=b.nodeName,a=a.inverted,d=this.top- +(c==="shape"?b.offsetTop:0),e=this.left,b=e+this.width,f=d+this.height,d={clip:"rect("+s(a?e:d)+"px,"+s(a?f:b)+"px,"+s(a?b:f)+"px,"+s(a?d:e)+"px)"};!a&&eb&&c==="DIV"&&r(d,{width:b+"px",height:f+"px"});return d},updateClipping:function(){n(e.members,function(a){a.css(e.getCSS(a))})}})},color:function(a,b,c,d){var e=this,f,g=/^rgba/,h,i,j=R;a&&a.linearGradient?i="gradient":a&&a.radialGradient&&(i="pattern");if(i){var k,l,m=a.linearGradient||a.radialGradient,o,q,p,D,F,u="",a=a.stops,t,s=[],v=function(){h= +[''];T(e.prepVML(h),null,null,b)};o=a[0];t=a[a.length-1];o[0]>0&&a.unshift([0,o[1]]);t[0]<1&&a.push([1,t[1]]);n(a,function(a,b){g.test(a[1])?(f=oa(a[1]),k=f.get("rgb"),l=f.get("a")):(k=a[1],l=1);s.push(a[0]*100+"% "+k);b?(p=l,D=k):(q=l,F=k)});if(c==="fill")if(i==="gradient")c=m.x1||m[0]||0,a=m.y1||m[1]||0,o=m.x2||m[2]||0,m=m.y2||m[3]||0,u='angle="'+(90-N.atan((m-a)/(o-c))*180/Ma)+'"',v(); +else{var j=m.r,r=j*2,G=j*2,H=m.cx,B=m.cy,x=b.radialReference,w,j=function(){x&&(w=d.getBBox(),H+=(x[0]-w.x)/w.width-0.5,B+=(x[1]-w.y)/w.height-0.5,r*=x[2]/w.width,G*=x[2]/w.height);u='src="'+O.global.VMLRadialGradientURL+'" size="'+r+","+G+'" origin="0.5,0.5" position="'+H+","+B+'" color2="'+F+'" ';v()};d.added?j():J(d,"add",j);j=D}else j=k}else if(g.test(a)&&b.tagName!=="IMG")f=oa(a),h=["<",c,' opacity="',f.get("a"),'"/>'],T(this.prepVML(h),null,null,b),j=f.get("rgb");else{j=b.getElementsByTagName(c); +if(j.length)j[0].opacity=1,j[0].type="solid";j=a}return j},prepVML:function(a){var b=this.isIE8,a=a.join("");b?(a=a.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),a=a.indexOf('style="')===-1?a.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):a.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):a=a.replace("<","1&&f.attr({x:b,y:c,width:d,height:e});return f},rect:function(a,b,c,d,e,f){if(U(a))b=a.y,c=a.width,d=a.height,f=a.strokeWidth,a=a.x;var g=this.symbol("rect"); +g.r=e;return g.attr(g.crisp(f,a,b,u(c,0),u(d,0)))},invertChild:function(a,b){var c=b.style;M(a,{flip:"x",left:A(c.width)-1,top:A(c.height)-1,rotation:-90})},symbols:{arc:function(a,b,c,d,e){var f=e.start,g=e.end,h=e.r||c||d,c=e.innerR,d=V(f),i=ba(f),j=V(g),k=ba(g);if(g-f===0)return["x"];f=["wa",a-h,b-h,a+h,b+h,a+h*d,b+h*i,a+h*j,b+h*k];e.open&&!c&&f.push("e","M",a,b);f.push("at",a-c,b-c,a+c,b+c,a+c*j,b+c*k,a+c*d,b+c*i,"x","e");f.isArc=!0;return f},circle:function(a,b,c,d,e){e&&e.isCircle&&(a-=c/2, +b-=d/2);return["wa",a,b,a+c,b+d,a+c,b+d/2,a+c,b+d/2,"e"]},rect:function(a,b,c,d,e){var f=a+c,g=b+d,h;!t(e)||!e.r?f=Fa.prototype.symbols.square.apply(0,arguments):(h=I(e.r,c,d),f=["M",a+h,b,"L",f-h,b,"wa",f-2*h,b,f,b+2*h,f-h,b,f,b+h,"L",f,g-h,"wa",f-2*h,g-2*h,f,g,f,g-h,f-h,g,"L",a+h,g,"wa",a,g-2*h,a+2*h,g,a+h,g,a,g-h,"L",a,b+h,"wa",a,b,a+2*h,b+2*h,a,b+h,a+h,b,"x","e"]);return f}}};Highcharts.VMLRenderer=K=function(){this.init.apply(this,arguments)};K.prototype=x(Fa.prototype,la);Va=K}var Ub;if(Z)Highcharts.CanVGRenderer= +K=function(){wa="http://www.w3.org/1999/xhtml"},K.prototype.symbols={},Ub=function(){function a(){var a=b.length,d;for(d=0;dj&&(c=!1)):h+k>m&&(h=m-k,d&&h+l0&&b.height>0){f=x({align:c&&k&&"center",x:c?!k&& +4:10,verticalAlign:!c&&k&&"middle",y:c?k?16:10:k?6:-4,rotation:c&&!k&&90},f);if(!g)a.label=g=r.text(f.text,0,0,f.useHTML).attr({align:f.textAlign||f.align,rotation:f.rotation,zIndex:F}).css(f.style).add();b=[q[1],q[4],p(q[6],q[1])];q=[q[2],q[5],p(q[7],q[2])];c=Ia(b);k=Ia(q);g.align(f,!1,{x:c,y:k,width:ta(b)-c,height:ta(q)-k});g.show()}else g&&g.hide();return a},destroy:function(){fa(this.axis.plotLinesAndBands,this);delete this.axis;Ja(this)}};Mb.prototype={destroy:function(){Ja(this,this.axis)}, +setTotal:function(a){this.cum=this.total=a},addValue:function(a){this.setTotal(ia(this.total+a))},render:function(a){var b=this.options,c=b.format,c=c?Aa(c,this):b.formatter.call(this);this.label?this.label.attr({text:c,visibility:"hidden"}):this.label=this.axis.chart.renderer.text(c,0,0,b.useHTML).css(b.style).attr({align:this.textAlign,rotation:b.rotation,visibility:"hidden"}).add(a)},cacheExtremes:function(a,b){this.points[a.index]=b},setOffset:function(a,b){var c=this.axis,d=c.chart,e=d.inverted, +f=this.isNegative,g=c.translate(this.percent?100:this.total,0,0,0,1),c=c.translate(0),c=P(g-c),h=d.xAxis[0].translate(this.x)+a,i=d.plotHeight,f={x:e?f?g:g-c:h,y:e?i-h-b:f?i-g-c:i-g,width:e?c:b,height:e?b:c};if(e=this.label)e.align(this.alignOptions,null,f),f=e.alignAttr,e.attr({visibility:this.options.crop===!1||d.isInsidePlot(f.x,f.y)?Y?"inherit":"visible":"hidden"})}};db.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b", +week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0",labels:L,lineColor:"#C0D0E0",lineWidth:1,minPadding:0.01,maxPadding:0.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:5,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#4d759e",fontWeight:"bold"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0, +gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8,y:3},lineWidth:0,maxPadding:0.05,minPadding:0.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return ya(this.total,-1)},style:L.style}},defaultLeftAxisOptions:{labels:{x:-8,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:8,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{x:0,y:14},title:{rotation:0}},defaultTopAxisOptions:{labels:{x:0,y:-5}, +title:{rotation:0}},init:function(a,b){var c=b.isX;this.horiz=a.inverted?!c:c;this.xOrY=(this.isXAxis=c)?"x":"y";this.opposite=b.opposite;this.side=this.horiz?this.opposite?0:2:this.opposite?1:3;this.setOptions(b);var d=this.options,e=d.type;this.labelFormatter=d.labels.formatter||this.defaultLabelFormatter;this.userOptions=b;this.minPixelPadding=0;this.chart=a;this.reversed=d.reversed;this.zoomEnabled=d.zoomEnabled!==!1;this.categories=d.categories||e==="category";this.isLog=e==="logarithmic";this.isDatetimeAxis= +e==="datetime";this.isLinked=t(d.linkedTo);this.tickmarkOffset=this.categories&&d.tickmarkPlacement==="between"?0.5:0;this.ticks={};this.minorTicks={};this.plotLinesAndBands=[];this.alternateBands={};this.len=0;this.minRange=this.userMinRange=d.minRange||d.maxZoom;this.range=d.range;this.offset=d.offset||0;this.stacks={};this.oldStacks={};this.stacksMax={};this._stacksTouched=0;this.min=this.max=null;var f,d=this.options.events;na(this,a.axes)===-1&&(a.axes.push(this),a[c?"xAxis":"yAxis"].push(this)); +this.series=this.series||[];if(a.inverted&&c&&this.reversed===v)this.reversed=!0;this.removePlotLine=this.removePlotBand=this.removePlotBandOrLine;for(f in d)J(this,f,d[f]);if(this.isLog)this.val2lin=ma,this.lin2val=ea},setOptions:function(a){this.options=x(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],x(O[this.isXAxis?"xAxis":"yAxis"],a))},update:function(a, +b){var c=this.chart,a=c.options[this.xOrY+"Axis"][this.options.index]=x(this.userOptions,a);this.destroy(!0);this._addedPlotLB=!1;this.init(c,r(a,{events:v}));c.isDirtyBox=!0;p(b,!0)&&c.redraw()},remove:function(a){var b=this.chart,c=this.xOrY+"Axis";n(this.series,function(a){a.remove(!1)});fa(b.axes,this);fa(b[c],this);b.options[c].splice(this.options.index,1);n(b[c],function(a,b){a.options.index=b});this.destroy();b.isDirtyBox=!0;p(a,!0)&&b.redraw()},defaultLabelFormatter:function(){var a=this.axis, +b=this.value,c=a.categories,d=this.dateTimeLabelFormat,e=O.lang.numericSymbols,f=e&&e.length,g,h=a.options.labels.format,a=a.isLog?b:a.tickInterval;if(h)g=Aa(h,this);else if(c)g=b;else if(d)g=Xa(d,b);else if(f&&a>=1E3)for(;f--&&g===v;)c=Math.pow(1E3,f+1),a>=c&&e[f]!==null&&(g=ya(b/c,-1)+e[f]);g===v&&(g=b>=1E3?ya(b,0):ya(b,-1));return g},getSeriesExtremes:function(){var a=this,b=a.chart;a.hasVisibleSeries=!1;a.dataMin=a.dataMax=null;a.stacksMax={};a.buildStacks();n(a.series,function(c){if(c.visible|| +!b.options.chart.ignoreHiddenSeries){var d=c.options,e;e=d.threshold;a.hasVisibleSeries=!0;a.isLog&&e<=0&&(e=null);if(a.isXAxis){if(e=c.xData,e.length)a.dataMin=I(p(a.dataMin,e[0]),Ia(e)),a.dataMax=u(p(a.dataMax,e[0]),ta(e))}else{d=d.stacking;a.usePercentage=d==="percent";if(a.usePercentage)a.dataMin=0,a.dataMax=99;c.getExtremes();d=c.dataMax;c=c.dataMin;if(!a.usePercentage&&t(c)&&t(d))a.dataMin=I(p(a.dataMin,c),c),a.dataMax=u(p(a.dataMax,d),d);if(t(e))if(a.dataMin>=e)a.dataMin=e,a.ignoreMinPadding= +!0;else if(a.dataMaxf+this.width)m=!0}else if(c=f,i=l-this.right,hg+this.height)m=!0;return m&&!d? +null:e.renderer.crispLine(["M",c,h,"L",i,j],b||0)},getPlotBandPath:function(a,b){var c=this.getPlotLinePath(b),d=this.getPlotLinePath(a);d&&c?d.push(c[4],c[5],c[1],c[2]):d=null;return d},getLinearTickPositions:function(a,b,c){for(var d,b=ia(S(b/a)*a),c=ia(ja(c/a)*a),e=[];b<=c;){e.push(b);b=ia(b+a);if(b===d)break;d=b}return e},getLogTickPositions:function(a,b,c,d){var e=this.options,f=this.len,g=[];if(!d)this._minorAutoInterval=null;if(a>=0.5)a=s(a),g=this.getLinearTickPositions(a,b,c);else if(a>= +0.08)for(var f=S(b),h,i,j,k,l,e=a>0.3?[1,2,4]:a>0.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];fb&&(!d||k<=c)&&g.push(k),k>c&&(l=!0),k=j}else if(b=ea(b),c=ea(c),a=e[d?"minorTickInterval":"tickInterval"],a=p(a==="auto"?null:a,this._minorAutoInterval,(c-b)*(e.tickPixelInterval/(d?5:1))/((d?f/this.tickPositions.length:f)||1)),a=mb(a,null,lb(a)),g=Na(this.getLinearTickPositions(a,b,c),ma),!d)this._minorAutoInterval=a/5;if(!d)this.tickInterval=a;return g}, +getMinorTickPositions:function(){var a=this.options,b=this.tickPositions,c=this.minorTickInterval,d=[],e;if(this.isLog){e=b.length;for(a=1;a=this.minRange,f,g,h,i,j;if(this.isXAxis&&this.minRange===v&&!this.isLog)t(a.min)||t(a.max)?this.minRange=null:(n(this.series,function(a){i=a.xData;for(g=j=a.xIncrement?1:i.length-1;g>0;g--)if(h=i[g]-i[g-1],f===v||hb&&(g=0);c=u(c,g);e=u(e,da(h)?0:g/2);f=u(f,h==="on"?0:g);!a.noSharedTooltip&&t(l)&&(d=t(d)?I(d,l):l)}),g=this.ordinalSlope&&d?this.ordinalSlope/d:1,this.minPointOffset=e*=g,this.pointRangePadding=f*=g,this.pointRange=I(c,b),this.closestPointRange= +d;if(a)this.oldTransA=h;this.translationSlope=this.transA=h=this.len/(b+f||1);this.transB=this.horiz?this.left:this.bottom;this.minPixelPadding=h*e},setTickPositions:function(a){var b=this,c=b.chart,d=b.options,e=b.isLog,f=b.isDatetimeAxis,g=b.isXAxis,h=b.isLinked,i=b.options.tickPositioner,j=d.maxPadding,k=d.minPadding,l=d.tickInterval,m=d.minTickInterval,o=d.tickPixelInterval,q=b.categories;h?(b.linkedParent=c[g?"xAxis":"yAxis"][d.linkedTo],c=b.linkedParent.getExtremes(),b.min=p(c.min,c.dataMin), +b.max=p(c.max,c.dataMax),d.type!==b.linkedParent.options.type&&ua(11,1)):(b.min=p(b.userMin,d.min,b.dataMin),b.max=p(b.userMax,d.max,b.dataMax));if(e)!a&&I(b.min,p(b.dataMin,b.min))<=0&&ua(10,1),b.min=ia(ma(b.min)),b.max=ia(ma(b.max));if(b.range&&(b.userMin=b.min=u(b.min,b.max-b.range),b.userMax=b.max,a))b.range=null;b.beforePadding&&b.beforePadding();b.adjustForMinRange();if(!q&&!b.usePercentage&&!h&&t(b.min)&&t(b.max)&&(c=b.max-b.min)){if(!t(d.min)&&!t(b.userMin)&&k&&(b.dataMin<0||!b.ignoreMinPadding))b.min-= +c*k;if(!t(d.max)&&!t(b.userMax)&&j&&(b.dataMax>0||!b.ignoreMaxPadding))b.max+=c*j}b.tickInterval=b.min===b.max||b.min===void 0||b.max===void 0?1:h&&!l&&o===b.linkedParent.options.tickPixelInterval?b.linkedParent.tickInterval:p(l,q?1:(b.max-b.min)*o/(b.len||1));g&&!a&&n(b.series,function(a){a.processData(b.min!==b.oldMin||b.max!==b.oldMax)});b.setAxisTranslation(!0);b.beforeSetTickPositions&&b.beforeSetTickPositions();if(b.postProcessTickInterval)b.tickInterval=b.postProcessTickInterval(b.tickInterval); +if(b.pointRange)b.tickInterval=u(b.pointRange,b.tickInterval);if(!l&&b.tickIntervale&&a.shift(),d.endOnTick?b.max=f:b.max+h(b[d]||0)&& +this.options.alignTicks!==!1)b[d]=c.length;a.maxTicks=b},adjustTickAmount:function(){var a=this._maxTicksKey,b=this.tickPositions,c=this.chart.maxTicks;if(c&&c[a]&&!this.isDatetimeAxis&&!this.categories&&!this.isLinked&&this.options.alignTicks!==!1){var d=this.tickAmount,e=b.length;this.tickAmount=a=c[a];if(e=this.dataMax&&(b=v));this.displayBtn= +a!==v||b!==v;this.setExtremes(a,b,!1,v,{trigger:"zoom"});return!0},setAxisSize:function(){var a=this.chart,b=this.options,c=b.offsetLeft||0,d=b.offsetRight||0,e=this.horiz,f,g;this.left=g=p(b.left,a.plotLeft+c);this.top=f=p(b.top,a.plotTop);this.width=c=p(b.width,a.plotWidth-c+d);this.height=b=p(b.height,a.plotHeight);this.bottom=a.chartHeight-b-f;this.right=a.chartWidth-c-g;this.len=u(e?c:b,0);this.pos=e?g:f},getExtremes:function(){var a=this.isLog;return{min:a?ia(ea(this.min)):this.min,max:a?ia(ea(this.max)): +this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(a){var b=this.isLog,c=b?ea(this.min):this.min,b=b?ea(this.max):this.max;c>a||a===null?a=c:b15&&a<165?"right":a>195&&a<345?"left":"center"},getOffset:function(){var a=this,b=a.chart,c=b.renderer,d=a.options,e=a.tickPositions,f=a.ticks,g=a.horiz,h=a.side,i=b.inverted?[1,0,3,2][h]:h,j,k=0,l,m=0,o=d.title,q=d.labels,ka=0,D=b.axisOffset,F=b.clipOffset,s=[-1,1,1,-1][h],r,w=1,x=p(q.maxStaggerLines,5),Ga,G,H,B;a.hasData=j=a.hasVisibleSeries||t(a.min)&&t(a.max)&&!!e;a.showAxis=b=j||p(d.showEmpty,!0);a.staggerLines=a.horiz&& +q.staggerLines;if(!a.axisGroup)a.gridGroup=c.g("grid").attr({zIndex:d.gridZIndex||1}).add(),a.axisGroup=c.g("axis").attr({zIndex:d.zIndex||2}).add(),a.labelGroup=c.g("axis-labels").attr({zIndex:q.zIndex||7}).add();if(j||a.isLinked){a.labelAlign=p(q.align||a.autoLabelAlign(q.rotation));n(e,function(b){f[b]?f[b].addLabel():f[b]=new La(a,b)});if(a.horiz&&!a.staggerLines&&x&&!q.rotation){for(r=a.reversed?[].concat(e).reverse():e;w1)a.staggerLines=w}n(e,function(b){if(h===0||h===2||{1:"left",3:"right"}[h]===a.labelAlign)ka=u(f[b].getLabelSize(),ka)});if(a.staggerLines)ka*=a.staggerLines,a.labelOffset=ka}else for(r in f)f[r].destroy(),delete f[r];if(o&&o.text&&o.enabled!==!1){if(!a.axisTitle)a.axisTitle=c.text(o.text,0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:o.textAlign||{low:"left",middle:"center",high:"right"}[o.align]}).css(o.style).add(a.axisGroup), +a.axisTitle.isNew=!0;if(b)k=a.axisTitle.getBBox()[g?"height":"width"],m=p(o.margin,g?5:10),l=o.offset;a.axisTitle[b?"show":"hide"]()}a.offset=s*p(d.offset,D[h]);a.axisTitleMargin=p(l,ka+m+(h!==2&&ka&&s*d.labels[g?"y":"x"]));D[h]=u(D[h],a.axisTitleMargin+k+s*a.offset);F[i]=u(F[i],d.lineWidth)},getLinePath:function(a){var b=this.chart,c=this.opposite,d=this.offset,e=this.horiz,f=this.left+(c?this.width:0)+d;this.lineTop=d=b.chartHeight-this.bottom-(c?this.height:0)+d;c||(a*=-1);return b.renderer.crispLine(["M", +e?this.left:f,e?d:this.top,"L",e?b.chartWidth-this.right:f,e?d:b.chartHeight-this.bottom],a)},getTitlePosition:function(){var a=this.horiz,b=this.left,c=this.top,d=this.len,e=this.options.title,f=a?b:c,g=this.opposite,h=this.offset,i=A(e.style.fontSize||12),d={low:f+(a?0:d),middle:f+d/2,high:f+(a?d:0)}[e.align],b=(a?c+this.height:b)+(a?1:-1)*(g?-1:1)*this.axisTitleMargin+(this.side===2?i:0);return{x:a?d:b+(g?this.width:0)+h+(e.x||0),y:a?b-(g?this.height:0)+h:d+(e.y||0)}},render:function(){var a=this, +b=a.chart,c=b.renderer,d=a.options,e=a.isLog,f=a.isLinked,g=a.tickPositions,h=a.axisTitle,i=a.stacks,j=a.ticks,k=a.minorTicks,l=a.alternateBands,m=d.stackLabels,o=d.alternateGridColor,q=a.tickmarkOffset,p=d.lineWidth,D,F=b.hasRendered&&t(a.oldMin)&&!isNaN(a.oldMin);D=a.hasData;var u=a.showAxis,s,r;n([j,k,l],function(a){for(var b in a)a[b].isActive=!1});if(D||f)if(a.minorTickInterval&&!a.categories&&n(a.getMinorTickPositions(),function(b){k[b]||(k[b]=new La(a,b,"minor"));F&&k[b].isNew&&k[b].render(null, +!0);k[b].render(null,!1,1)}),g.length&&(n(g.slice(1).concat([g[0]]),function(b,c){c=c===g.length-1?0:c+1;if(!f||b>=a.min&&b<=a.max)j[b]||(j[b]=new La(a,b)),F&&j[b].isNew&&j[b].render(c,!0),j[b].render(c,!1,1)}),q&&a.min===0&&(j[-1]||(j[-1]=new La(a,-1,null,!0)),j[-1].render(-1))),o&&n(g,function(b,c){if(c%2===0&&b1||P(b-f.y)>1))clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){e&&e.move(a,b,c,d)},32)},hide:function(){var a=this,b;clearTimeout(this.hideTimer);if(!this.isHidden)b=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){a.label.fadeOut();a.isHidden=!0},p(this.options.hideDelay,500)),b&&n(b,function(a){a.setState()}),this.chart.hoverPoints=null},hideCrosshairs:function(){n(this.crosshairs,function(a){a&&a.hide()})},getAnchor:function(a, +b){var c,d=this.chart,e=d.inverted,f=d.plotTop,g=0,h=0,i,a=ha(a);c=a[0].tooltipPos;this.followPointer&&b&&(b.chartX===v&&(b=d.pointer.normalize(b)),c=[b.chartX-d.plotLeft,b.chartY-f]);c||(n(a,function(a){i=a.series.yAxis;g+=a.plotX;h+=(a.plotLow?(a.plotLow+a.plotHigh)/2:a.plotY)+(!e&&i?i.top-f:0)}),g/=a.length,h/=a.length,c=[e?d.plotWidth-h:g,this.shared&&!e&&a.length>1&&b?b.chartY-f:e?d.plotHeight-g:h]);return Na(c,s)},getPosition:function(a,b,c){var d=this.chart,e=d.plotLeft,f=d.plotTop,g=d.plotWidth, +h=d.plotHeight,i=p(this.options.distance,12),j=c.plotX,c=c.plotY,d=j+e+(d.inverted?i:-a-i),k=c-b+f+15,l;d<7&&(d=e+u(j,0)+i);d+a>e+g&&(d-=d+a-(e+g),k=c-b+f-i,l=!0);k=k&&c<=k+b&&(k=c+f+i));k+b>f+h&&(k=u(f,f+h-b-i));return{x:d,y:k}},defaultFormatter:function(a){var b=this.points||ha(this),c=b[0].series,d;d=[c.tooltipHeaderFormatter(b[0])];n(b,function(a){c=a.series;d.push(c.tooltipFormatter&&c.tooltipFormatter(a)||a.point.tooltipFormatter(c.tooltipOptions.pointFormat))});d.push(a.options.footerFormat|| +"");return d.join("")},refresh:function(a,b){var c=this.chart,d=this.label,e=this.options,f,g,h,i={},j,k=[];j=e.formatter||this.defaultFormatter;var i=c.hoverPoints,l,m=e.crosshairs;h=this.shared;clearTimeout(this.hideTimer);this.followPointer=ha(a)[0].series.tooltipOptions.followPointer;g=this.getAnchor(a,b);f=g[0];g=g[1];h&&(!a.series||!a.series.noSharedTooltip)?(c.hoverPoints=a,i&&n(i,function(a){a.setState()}),n(a,function(a){a.setState("hover");k.push(a.getLabelConfig())}),i={x:a[0].category, +y:a[0].y},i.points=k,a=a[0]):i=a.getLabelConfig();j=j.call(i,this);i=a.series;h=h||!i.isCartesian||i.tooltipOutsidePlot||c.isInsidePlot(f,g);j===!1||!h?this.hide():(this.isHidden&&(Wa(d),d.attr("opacity",1).show()),d.attr({text:j}),l=e.borderColor||a.color||i.color||"#606060",d.attr({stroke:l}),this.updatePosition({plotX:f,plotY:g}),this.isHidden=!1);if(m){m=ha(m);for(d=m.length;d--;)if(i=a.series,e=i[d?"yAxis":"xAxis"],m[d]&&e)if(h=d?p(a.stackY,a.y):a.x,e.isLog&&(h=ma(h)),i.modifyValue&&(h=i.modifyValue(h)), +e=e.getPlotLinePath(h,1),this.crosshairs[d])this.crosshairs[d].attr({d:e,visibility:"visible"});else{h={"stroke-width":m[d].width||1,stroke:m[d].color||"#C0C0C0",zIndex:m[d].zIndex||2};if(m[d].dashStyle)h.dashstyle=m[d].dashStyle;this.crosshairs[d]=c.renderer.path(e).attr(h).add()}}C(c,"tooltipRefresh",{text:j,x:f+c.plotLeft,y:g+c.plotTop,borderColor:l})},updatePosition:function(a){var b=this.chart,c=this.label,c=(this.options.positioner||this.getPosition).call(this,c.width,c.height,a);this.move(s(c.x), +s(c.y),a.plotX+b.plotLeft,a.plotY+b.plotTop)}};vb.prototype={init:function(a,b){var c=Z?"":b.chart.zoomType,d=a.inverted,e;this.options=b;this.chart=a;this.zoomX=e=/x/.test(c);this.zoomY=c=/y/.test(c);this.zoomHor=e&&!d||c&&d;this.zoomVert=c&&!d||e&&d;this.pinchDown=[];this.lastValidTouch={};if(b.tooltip.enabled)a.tooltip=new ub(a,b.tooltip);this.setDOMEvents()},normalize:function(a){var b,c,a=a||E.event;if(!a.target)a.target=a.srcElement;a=Sb(a);c=a.touches?a.touches.item(0):a;this.chartPosition= +b=Xb(this.chart.container);return r(a,{chartX:s(p(c.pageX,c.clientX)-b.left),chartY:s(p(c.pageY,c.clientY)-b.top)})},getCoordinates:function(a){var b={xAxis:[],yAxis:[]};n(this.chart.axes,function(c){b[c.isXAxis?"xAxis":"yAxis"].push({axis:c,value:c.toValue(a[c.horiz?"chartX":"chartY"])})});return b},getIndex:function(a){var b=this.chart;return b.inverted?b.plotHeight+b.plotTop-a.chartY:a.chartX-b.plotLeft},runPointActions:function(a){var b=this.chart,c=b.series,d=b.tooltip,e,f=b.hoverPoint,g=b.hoverSeries, +h,i,j=b.chartWidth,k=this.getIndex(a);if(d&&this.options.tooltip.shared&&(!g||!g.noSharedTooltip)){e=[];h=c.length;for(i=0;ij&&e.splice(h,1);if(e.length&&e[0].clientX!==this.hoverX)d.refresh(e,a),this.hoverX=e[0].clientX}if(g&&g.tracker){if((b=g.tooltipPoints[k])&&b!==f)b.onMouseOver(a)}else d&& +d.followPointer&&!d.isHidden&&(a=d.getAnchor([{}],a),d.updatePosition({plotX:a[0],plotY:a[1]}))},reset:function(a){var b=this.chart,c=b.hoverSeries,d=b.hoverPoint,e=b.tooltip,b=e&&e.shared?b.hoverPoints:d;(a=a&&e&&b)&&ha(b)[0].plotX===v&&(a=!1);if(a)e.refresh(b);else{if(d)d.onMouseOut();if(c)c.onMouseOut();e&&(e.hide(),e.hideCrosshairs());this.hoverX=null}},scaleGroups:function(a,b){var c=this.chart,d;n(c.series,function(e){d=a||e.getPlotBox();e.xAxis&&e.xAxis.zoomEnabled&&(e.group.attr(d),e.markerGroup&& +(e.markerGroup.attr(d),e.markerGroup.clip(b?c.clipRect:null)),e.dataLabelsGroup&&e.dataLabelsGroup.attr(d))});c.clipRect.attr(b||c.clipBox)},pinchTranslateDirection:function(a,b,c,d,e,f,g){var h=this.chart,i=a?"x":"y",j=a?"X":"Y",k="chart"+j,l=a?"width":"height",m=h["plot"+(a?"Left":"Top")],o,q,p=1,n=h.inverted,u=h.bounds[a?"h":"v"],s=b.length===1,t=b[0][k],r=c[0][k],w=!s&&b[1][k],v=!s&&c[1][k],x,c=function(){!s&&P(t-w)>20&&(p=P(r-v)/P(t-w));q=(m-r)/p+t;o=h["plot"+(a?"Width":"Height")]/p};c();b=q; +bu.max&&(b=u.max-o,x=!0);x?(r-=0.8*(r-g[i][0]),s||(v-=0.8*(v-g[i][1])),c()):g[i]=[r,v];n||(f[i]=q-m,f[l]=o);f=n?1/p:p;e[l]=o;e[i]=b;d[n?a?"scaleY":"scaleX":"scale"+j]=p;d["translate"+j]=f*m+(r-f*t)},pinch:function(a){var b=this,c=b.chart,d=b.pinchDown,e=c.tooltip&&c.tooltip.options.followTouchMove,f=a.touches,g=f.length,h=b.lastValidTouch,i=b.zoomHor||b.pinchHor,j=b.zoomVert||b.pinchVert,k=i||j,l=b.selectionMarker,m={},o={};a.type==="touchstart"&&(e||k)&&a.preventDefault(); +Na(f,function(a){return b.normalize(a)});if(a.type==="touchstart")n(f,function(a,b){d[b]={chartX:a.chartX,chartY:a.chartY}}),h.x=[d[0].chartX,d[1]&&d[1].chartX],h.y=[d[0].chartY,d[1]&&d[1].chartY],n(c.axes,function(a){if(a.zoomEnabled){var b=c.bounds[a.horiz?"h":"v"],d=a.minPixelPadding,e=a.toPixels(a.dataMin),f=a.toPixels(a.dataMax),g=I(e,f),e=u(e,f);b.min=I(a.pos,g-d);b.max=u(a.pos+a.len,e+d)}});else if(d.length){if(!l)b.selectionMarker=l=r({destroy:xa},c.plotBox);i&&b.pinchTranslateDirection(!0, +d,f,m,l,o,h);j&&b.pinchTranslateDirection(!1,d,f,m,l,o,h);b.hasPinched=k;b.scaleGroups(m,o);!k&&e&&g===1&&this.runPointActions(b.normalize(a))}},dragStart:function(a){var b=this.chart;b.mouseIsDown=a.type;b.cancelClick=!1;b.mouseDownX=this.mouseDownX=a.chartX;this.mouseDownY=a.chartY},drag:function(a){var b=this.chart,c=b.options.chart,d=a.chartX,a=a.chartY,e=this.zoomHor,f=this.zoomVert,g=b.plotLeft,h=b.plotTop,i=b.plotWidth,j=b.plotHeight,k,l=this.mouseDownX,m=this.mouseDownY;dg+i&&(d= +g+i);ah+j&&(a=h+j);this.hasDragged=Math.sqrt(Math.pow(l-d,2)+Math.pow(m-a,2));if(this.hasDragged>10){k=b.isInsidePlot(l-g,m-h);if(b.hasCartesianSeries&&(this.zoomX||this.zoomY)&&k&&!this.selectionMarker)this.selectionMarker=b.renderer.rect(g,h,e?1:i,f?1:j,0).attr({fill:c.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add();this.selectionMarker&&e&&(e=d-l,this.selectionMarker.attr({width:P(e),x:(e>0?0:e)+l}));this.selectionMarker&&f&&(e=a-m,this.selectionMarker.attr({height:P(e), +y:(e>0?0:e)+m}));k&&!this.selectionMarker&&c.panning&&b.pan(d)}},drop:function(a){var b=this.chart,c=this.hasPinched;if(this.selectionMarker){var d={xAxis:[],yAxis:[],originalEvent:a.originalEvent||a},e=this.selectionMarker,f=e.x,g=e.y,h;if(this.hasDragged||c)n(b.axes,function(a){if(a.zoomEnabled){var b=a.horiz,c=a.toValue(b?f:g),b=a.toValue(b?f+e.width:g+e.height);!isNaN(c)&&!isNaN(b)&&(d[a.xOrY+"Axis"].push({axis:a,min:I(c,b),max:u(c,b)}),h=!0)}}),h&&C(b,"selection",d,function(a){b.zoom(r(a,c?{animation:!1}: +null))});this.selectionMarker=this.selectionMarker.destroy();c&&this.scaleGroups()}if(b)M(b.container,{cursor:b._cursor}),b.cancelClick=this.hasDragged>10,b.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[]},onContainerMouseDown:function(a){a=this.normalize(a);a.preventDefault&&a.preventDefault();this.dragStart(a)},onDocumentMouseUp:function(a){this.drop(a)},onDocumentMouseMove:function(a){var b=this.chart,c=this.chartPosition,d=b.hoverSeries,a=Sb(a);c&&d&&d.isCartesian&&!b.isInsidePlot(a.pageX- +c.left-b.plotLeft,a.pageY-c.top-b.plotTop)&&this.reset()},onContainerMouseLeave:function(){this.reset();this.chartPosition=null},onContainerMouseMove:function(a){var b=this.chart,a=this.normalize(a);a.returnValue=!1;b.mouseIsDown==="mousedown"&&this.drag(a);b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)&&!b.openMenu&&this.runPointActions(a)},inClass:function(a,b){for(var c;a;){if(c=w(a,"class"))if(c.indexOf(b)!==-1)return!0;else if(c.indexOf("highcharts-container")!==-1)return!1;a=a.parentNode}}, +onTrackerMouseOut:function(a){var b=this.chart.hoverSeries;if(b&&!b.options.stickyTracking&&!this.inClass(a.toElement||a.relatedTarget,"highcharts-tooltip"))b.onMouseOut()},onContainerClick:function(a){var b=this.chart,c=b.hoverPoint,d=b.plotLeft,e=b.plotTop,f=b.inverted,g,h,i,a=this.normalize(a);a.cancelBubble=!0;if(!b.cancelClick)c&&this.inClass(a.target,"highcharts-tracker")?(g=this.chartPosition,h=c.plotX,i=c.plotY,r(c,{pageX:g.left+d+(f?b.plotWidth-i:h),pageY:g.top+e+(f?b.plotHeight-h:i)}),C(c.series, +"click",r(a,{point:c})),b.hoverPoint&&c.firePointEvent("click",a)):(r(a,this.getCoordinates(a)),b.isInsidePlot(a.chartX-d,a.chartY-e)&&C(b,"click",a))},onContainerTouchStart:function(a){var b=this.chart;a.touches.length===1?(a=this.normalize(a),b.isInsidePlot(a.chartX-b.plotLeft,a.chartY-b.plotTop)?(this.runPointActions(a),this.pinch(a)):this.reset()):a.touches.length===2&&this.pinch(a)},onContainerTouchMove:function(a){(a.touches.length===1||a.touches.length===2)&&this.pinch(a)},onDocumentTouchEnd:function(a){this.drop(a)}, +setDOMEvents:function(){var a=this,b=a.chart.container,c;this._events=c=[[b,"onmousedown","onContainerMouseDown"],[b,"onmousemove","onContainerMouseMove"],[b,"onclick","onContainerClick"],[b,"mouseleave","onContainerMouseLeave"],[z,"mousemove","onDocumentMouseMove"],[z,"mouseup","onDocumentMouseUp"]];hb&&c.push([b,"ontouchstart","onContainerTouchStart"],[b,"ontouchmove","onContainerTouchMove"],[z,"touchend","onDocumentTouchEnd"]);n(c,function(b){a["_"+b[2]]=function(c){a[b[2]](c)};b[1].indexOf("on")=== +0?b[0][b[1]]=a["_"+b[2]]:J(b[0],b[1],a["_"+b[2]])})},destroy:function(){var a=this;n(a._events,function(b){b[1].indexOf("on")===0?b[0][b[1]]=null:aa(b[0],b[1],a["_"+b[2]])});delete a._events;clearInterval(a.tooltipTimeout)}};wb.prototype={init:function(a,b){var c=this,d=b.itemStyle,e=p(b.padding,8),f=b.itemMarginTop||0;this.options=b;if(b.enabled)c.baseline=A(d.fontSize)+3+f,c.itemStyle=d,c.itemHiddenStyle=x(d,b.itemHiddenStyle),c.itemMarginTop=f,c.padding=e,c.initialItemX=e,c.initialItemY=e-5,c.maxItemWidth= +0,c.chart=a,c.itemHeight=0,c.lastLineHeight=0,c.render(),J(c.chart,"endResize",function(){c.positionCheckboxes()})},colorizeItem:function(a,b){var c=this.options,d=a.legendItem,e=a.legendLine,f=a.legendSymbol,g=this.itemHiddenStyle.color,c=b?c.itemStyle.color:g,h=b?a.color:g,g=a.options&&a.options.marker,i={stroke:h,fill:h},j;d&&d.css({fill:c,color:c});e&&e.attr({stroke:h});if(f){if(g&&f.isMarker)for(j in g=a.convertAttribs(g),g)d=g[j],d!==v&&(i[j]=d);f.attr(i)}},positionItem:function(a){var b=this.options, +c=b.symbolPadding,b=!b.rtl,d=a._legendItemPos,e=d[0],d=d[1],f=a.checkbox;a.legendGroup&&a.legendGroup.translate(b?e:this.legendWidth-e-2*c-4,d);if(f)f.x=e,f.y=d},destroyItem:function(a){var b=a.checkbox;n(["legendItem","legendLine","legendSymbol","legendGroup"],function(b){a[b]&&(a[b]=a[b].destroy())});b&&Ta(a.checkbox)},destroy:function(){var a=this.group,b=this.box;if(b)this.box=b.destroy();if(a)this.group=a.destroy()},positionCheckboxes:function(a){var b=this.group.alignAttr,c,d=this.clipHeight|| +this.legendHeight;if(b)c=b.translateY,n(this.allItems,function(e){var f=e.checkbox,g;f&&(g=c+f.y+(a||0)+3,M(f,{left:b.translateX+e.legendItemWidth+f.x-20+"px",top:g+"px",display:g>c-6&&g(o||c.chartWidth-2*k-s))b.itemX=s,b.itemY+=n+b.lastLineHeight+q,b.lastLineHeight=0;b.maxItemWidth=u(b.maxItemWidth,e);b.lastItemY=n+b.itemY+q;b.lastLineHeight=u(g,b.lastLineHeight);a._legendItemPos= +[b.itemX,b.itemY];f?b.itemX+=e:(b.itemY+=n+g+q,b.lastLineHeight=g);b.offsetWidth=o||u((f?b.itemX-s-l:e)+k,b.offsetWidth)},render:function(){var a=this,b=a.chart,c=b.renderer,d=a.group,e,f,g,h,i=a.box,j=a.options,k=a.padding,l=j.borderWidth,m=j.backgroundColor;a.itemX=a.initialItemX;a.itemY=a.initialItemY;a.offsetWidth=0;a.lastItemY=0;if(!d)a.group=d=c.g("legend").attr({zIndex:7}).add(),a.contentGroup=c.g().attr({zIndex:1}).add(d),a.scrollGroup=c.g().add(a.contentGroup);a.renderTitle();e=[];n(b.series, +function(a){var b=a.options;b.showInLegend&&!t(b.linkedTo)&&(e=e.concat(a.legendItems||(b.legendType==="point"?a.data:a)))});Kb(e,function(a,b){return(a.options&&a.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)});j.reversed&&e.reverse();a.allItems=e;a.display=f=!!e.length;n(e,function(b){a.renderItem(b)});g=j.width||a.offsetWidth;h=a.lastItemY+a.lastLineHeight+a.titleHeight;h=a.handleOverflow(h);if(l||m){g+=k;h+=k;if(i){if(g>0&&h>0)i[i.isNew?"attr":"animate"](i.crisp(null,null,null, +g,h)),i.isNew=!1}else a.box=i=c.rect(0,0,g,h,j.borderRadius,l||0).attr({stroke:j.borderColor,"stroke-width":l||0,fill:m||R}).add(d).shadow(j.shadow),i.isNew=!0;i[f?"show":"hide"]()}a.legendWidth=g;a.legendHeight=h;n(e,function(b){a.positionItem(b)});f&&d.align(r({width:g,height:h},j),!0,"spacingBox");b.isResizing||this.positionCheckboxes()},handleOverflow:function(a){var b=this,c=this.chart,d=c.renderer,e=this.options,f=e.y,f=c.spacingBox.height+(e.verticalAlign==="top"?-f:f)-this.padding,g=e.maxHeight, +h=this.clipRect,i=e.navigation,j=p(i.animation,!0),k=i.arrowSize||12,l=this.nav;e.layout==="horizontal"&&(f/=2);g&&(f=I(f,g));if(a>f&&!e.useHTML){this.clipHeight=c=f-20-this.titleHeight;this.pageCount=ja(a/c);this.currentPage=p(this.currentPage,1);this.fullHeight=a;if(!h)h=b.clipRect=d.clipRect(0,0,9999,0),b.contentGroup.clip(h);h.attr({height:c});if(!l)this.nav=l=d.g().attr({zIndex:1}).add(this.group),this.up=d.symbol("triangle",0,0,k,k).on("click",function(){b.scroll(-1,j)}).add(l),this.pager=d.text("", +15,10).css(i.style).add(l),this.down=d.symbol("triangle-down",0,0,k,k).on("click",function(){b.scroll(1,j)}).add(l);b.scroll(0);a=f}else if(l)h.attr({height:c.chartHeight}),l.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0;return a},scroll:function(a,b){var c=this.pageCount,d=this.currentPage+a,e=this.clipHeight,f=this.options.navigation,g=f.activeColor,h=f.inactiveColor,f=this.pager,i=this.padding;d>c&&(d=c);if(d>0)b!==v&&Ka(b,this.chart),this.nav.attr({translateX:i,translateY:e+7+ +this.titleHeight,visibility:"visible"}),this.up.attr({fill:d===1?h:g}).css({cursor:d===1?"default":"pointer"}),f.attr({text:d+"/"+this.pageCount}),this.down.attr({x:18+this.pager.getBBox().width,fill:d===c?h:g}).css({cursor:d===c?"default":"pointer"}),e=-I(e*(d-1),this.fullHeight-e+i)+1,this.scrollGroup.animate({translateY:e}),f.attr({text:d+"/"+c}),this.currentPage=d,this.positionCheckboxes(e)}};xb.prototype={init:function(a,b){var c,d=a.series;a.series=null;c=x(O,a);c.series=a.series=d;var d=c.chart, +e=d.margin,e=U(e)?e:[e,e,e,e];this.optionsMarginTop=p(d.marginTop,e[0]);this.optionsMarginRight=p(d.marginRight,e[1]);this.optionsMarginBottom=p(d.marginBottom,e[2]);this.optionsMarginLeft=p(d.marginLeft,e[3]);e=d.events;this.bounds={h:{},v:{}};this.callback=b;this.isResizing=0;this.options=c;this.axes=[];this.series=[];this.hasCartesianSeries=d.showAxes;var f=this,g;f.index=Ea.length;Ea.push(f);d.reflow!==!1&&J(f,"load",function(){f.initReflow()});if(e)for(g in e)J(f,g,e[g]);f.xAxis=[];f.yAxis=[]; +f.animation=Z?!1:p(d.animation,!0);f.pointCount=0;f.counters=new Jb;f.firstRender()},initSeries:function(a){var b=this.options.chart;(b=$[a.type||b.type||b.defaultSeriesType])||ua(17,!0);b=new b;b.init(this,a);return b},addSeries:function(a,b,c){var d,e=this;a&&(b=p(b,!0),C(e,"addSeries",{options:a},function(){d=e.initSeries(a);e.isDirtyLegend=!0;b&&e.redraw(c)}));return d},addAxis:function(a,b,c,d){var e=b?"xAxis":"yAxis",f=this.options;new db(this,x(a,{index:this[e].length,isX:b}));f[e]=ha(f[e]|| +{});f[e].push(a);p(c,!0)&&this.redraw(d)},isInsidePlot:function(a,b,c){var d=c?b:a,a=c?a:b;return d>=0&&d<=this.plotWidth&&a>=0&&a<=this.plotHeight},adjustTickAmounts:function(){this.options.chart.alignTicks!==!1&&n(this.axes,function(a){a.adjustTickAmount()});this.maxTicks=null},redraw:function(a){var b=this.axes,c=this.series,d=this.pointer,e=this.legend,f=this.isDirtyLegend,g,h,i=this.isDirtyBox,j=c.length,k=j,l=this.renderer,m=l.isHidden(),o=[];Ka(a,this);m&&this.cloneRenderTo();for(this.layOutTitles();k--;)if(a= +c[k],a.options.stacking&&(g=!0,a.isDirty)){h=!0;break}if(h)for(k=j;k--;)if(a=c[k],a.options.stacking)a.isDirty=!0;n(c,function(a){a.isDirty&&a.options.legendType==="point"&&(f=!0)});if(f&&e.options.enabled)e.render(),this.isDirtyLegend=!1;g&&this.getStacks();if(this.hasCartesianSeries){if(!this.isResizing)this.maxTicks=null,n(b,function(a){a.setScale()});this.adjustTickAmounts();this.getMargins();n(b,function(a){if(a.isDirtyExtremes)a.isDirtyExtremes=!1,o.push(function(){C(a,"afterSetExtremes",a.getExtremes())}); +if(a.isDirty||i||g)a.redraw(),i=!0})}i&&this.drawChartBox();n(c,function(a){a.isDirty&&a.visible&&(!a.isCartesian||a.xAxis)&&a.redraw()});d&&d.reset&&d.reset(!0);l.draw();C(this,"redraw");m&&this.cloneRenderTo(!0);n(o,function(a){a.call()})},showLoading:function(a){var b=this.options,c=this.loadingDiv,d=b.loading;if(!c)this.loadingDiv=c=T(Ba,{className:"highcharts-loading"},r(d.style,{zIndex:10,display:R}),this.container),this.loadingSpan=T("span",null,d.labelStyle,c);this.loadingSpan.innerHTML=a|| +b.lang.loading;if(!this.loadingShown)M(c,{opacity:0,display:"",left:this.plotLeft+"px",top:this.plotTop+"px",width:this.plotWidth+"px",height:this.plotHeight+"px"}),Ab(c,{opacity:d.style.opacity},{duration:d.showDuration||0}),this.loadingShown=!0},hideLoading:function(){var a=this.options,b=this.loadingDiv;b&&Ab(b,{opacity:0},{duration:a.loading.hideDuration||100,complete:function(){M(b,{display:R})}});this.loadingShown=!1},get:function(a){var b=this.axes,c=this.series,d,e;for(d=0;dI(e.dataMin,e.min)&&c=18&&a<=25&&(a=15);c&&(c.css({width:(d.width||f)+"px"}).align(r({y:a+e.margin},d),!1,"spacingBox"),!d.floating&&!d.verticalAlign&&(a=ja(a+c.getBBox().height)));this.titleOffset=a},getChartSize:function(){var a=this.options.chart,b=this.renderToClone||this.renderTo;this.containerWidth=ib(b,"width"); +this.containerHeight=ib(b,"height");this.chartWidth=u(0,a.width||this.containerWidth||600);this.chartHeight=u(0,p(a.height,this.containerHeight>19?this.containerHeight:400))},cloneRenderTo:function(a){var b=this.renderToClone,c=this.container;a?b&&(this.renderTo.appendChild(c),Ta(b),delete this.renderToClone):(c&&c.parentNode===this.renderTo&&this.renderTo.removeChild(c),this.renderToClone=b=this.renderTo.cloneNode(0),M(b,{position:"absolute",top:"-9999px",display:"block"}),z.body.appendChild(b), +c&&b.appendChild(c))},getContainer:function(){var a,b=this.options.chart,c,d,e;this.renderTo=a=b.renderTo;e="highcharts-"+yb++;if(da(a))this.renderTo=a=z.getElementById(a);a||ua(13,!0);c=A(w(a,"data-highcharts-chart"));!isNaN(c)&&Ea[c]&&Ea[c].destroy();w(a,"data-highcharts-chart",this.index);a.innerHTML="";a.offsetWidth||this.cloneRenderTo();this.getChartSize();c=this.chartWidth;d=this.chartHeight;this.container=a=T(Ba,{className:"highcharts-container"+(b.className?" "+b.className:""),id:e},r({position:"relative", +overflow:"hidden",width:c+"px",height:d+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},b.style),this.renderToClone||a);this._cursor=a.style.cursor;this.renderer=b.forExport?new Fa(a,c,d,!0):new Va(a,c,d);Z&&this.renderer.create(this,a,c,d)},getMargins:function(){var a=this.options.chart,b=a.spacingTop,c=a.spacingRight,d=a.spacingBottom,a=a.spacingLeft,e,f=this.legend,g=this.optionsMarginTop,h=this.optionsMarginLeft,i=this.optionsMarginRight,j=this.optionsMarginBottom, +k=this.options.legend,l=p(k.margin,10),m=k.x,o=k.y,q=k.align,s=k.verticalAlign,r=this.titleOffset;this.resetMargins();e=this.axisOffset;if(r&&!t(g))this.plotTop=u(this.plotTop,r+this.options.title.margin+b);if(f.display&&!k.floating)if(q==="right"){if(!t(i))this.marginRight=u(this.marginRight,f.legendWidth-m+l+c)}else if(q==="left"){if(!t(h))this.plotLeft=u(this.plotLeft,f.legendWidth+m+l+a)}else if(s==="top"){if(!t(g))this.plotTop=u(this.plotTop,f.legendHeight+o+l+b)}else if(s==="bottom"&&!t(j))this.marginBottom= +u(this.marginBottom,f.legendHeight-o+l+d);this.extraBottomMargin&&(this.marginBottom+=this.extraBottomMargin);this.extraTopMargin&&(this.plotTop+=this.extraTopMargin);this.hasCartesianSeries&&n(this.axes,function(a){a.getOffset()});t(h)||(this.plotLeft+=e[3]);t(g)||(this.plotTop+=e[0]);t(j)||(this.marginBottom+=e[2]);t(i)||(this.marginRight+=e[1]);this.setChartSize()},initReflow:function(){function a(a){var g=c.width||ib(d,"width"),h=c.height||ib(d,"height"),a=a?a.target:E;if(!b.hasUserSize&&g&&h&& +(a===E||a===z)){if(g!==b.containerWidth||h!==b.containerHeight)clearTimeout(e),b.reflowTimeout=e=setTimeout(function(){if(b.container)b.setSize(g,h,!1),b.hasUserSize=null},100);b.containerWidth=g;b.containerHeight=h}}var b=this,c=b.options.chart,d=b.renderTo,e;J(E,"resize",a);J(b,"destroy",function(){aa(E,"resize",a)})},setSize:function(a,b,c){var d=this,e,f,g;d.isResizing+=1;g=function(){d&&C(d,"endResize",null,function(){d.isResizing-=1})};Ka(c,d);d.oldChartHeight=d.chartHeight;d.oldChartWidth= +d.chartWidth;if(t(a))d.chartWidth=e=u(0,s(a)),d.hasUserSize=!!e;if(t(b))d.chartHeight=f=u(0,s(b));M(d.container,{width:e+"px",height:f+"px"});d.setChartSize(!0);d.renderer.setSize(e,f,c);d.maxTicks=null;n(d.axes,function(a){a.isDirty=!0;a.setScale()});n(d.series,function(a){a.isDirty=!0});d.isDirtyLegend=!0;d.isDirtyBox=!0;d.getMargins();d.redraw(c);d.oldChartHeight=null;C(d,"resize");Ca===!1?g():setTimeout(g,Ca&&Ca.duration||500)},setChartSize:function(a){var b=this.inverted,c=this.renderer,d=this.chartWidth, +e=this.chartHeight,f=this.options.chart,g=f.spacingTop,h=f.spacingRight,i=f.spacingBottom,j=f.spacingLeft,k=this.clipOffset,l,m,o,q;this.plotLeft=l=s(this.plotLeft);this.plotTop=m=s(this.plotTop);this.plotWidth=o=u(0,s(d-l-this.marginRight));this.plotHeight=q=u(0,s(e-m-this.marginBottom));this.plotSizeX=b?q:o;this.plotSizeY=b?o:q;this.plotBorderWidth=b=f.plotBorderWidth||0;this.spacingBox=c.spacingBox={x:j,y:g,width:d-j-h,height:e-g-i};this.plotBox=c.plotBox={x:l,y:m,width:o,height:q};c=ja(u(b,k[3])/ +2);d=ja(u(b,k[0])/2);this.clipBox={x:c,y:d,width:S(this.plotSizeX-u(b,k[1])/2-c),height:S(this.plotSizeY-u(b,k[2])/2-d)};a||n(this.axes,function(a){a.setAxisSize();a.setAxisTranslation()})},resetMargins:function(){var a=this.options.chart,b=a.spacingRight,c=a.spacingBottom,d=a.spacingLeft;this.plotTop=p(this.optionsMarginTop,a.spacingTop);this.marginRight=p(this.optionsMarginRight,b);this.marginBottom=p(this.optionsMarginBottom,c);this.plotLeft=p(this.optionsMarginLeft,d);this.axisOffset=[0,0,0,0]; +this.clipOffset=[0,0,0,0]},drawChartBox:function(){var a=this.options.chart,b=this.renderer,c=this.chartWidth,d=this.chartHeight,e=this.chartBackground,f=this.plotBackground,g=this.plotBorder,h=this.plotBGImage,i=a.borderWidth||0,j=a.backgroundColor,k=a.plotBackgroundColor,l=a.plotBackgroundImage,m=a.plotBorderWidth||0,o,q=this.plotLeft,p=this.plotTop,n=this.plotWidth,s=this.plotHeight,t=this.plotBox,u=this.clipRect,r=this.clipBox;o=i+(a.shadow?8:0);if(i||j)if(e)e.animate(e.crisp(null,null,null,c- +o,d-o));else{e={fill:j||R};if(i)e.stroke=a.borderColor,e["stroke-width"]=i;this.chartBackground=b.rect(o/2,o/2,c-o,d-o,a.borderRadius,i).attr(e).add().shadow(a.shadow)}if(k)f?f.animate(t):this.plotBackground=b.rect(q,p,n,s,0).attr({fill:k}).add().shadow(a.plotShadow);if(l)h?h.animate(t):this.plotBGImage=b.image(l,q,p,n,s).add();u?u.animate({width:r.width,height:r.height}):this.clipRect=b.clipRect(r);if(m)g?g.animate(g.crisp(null,q,p,n,s)):this.plotBorder=b.rect(q,p,n,s,0,m).attr({stroke:a.plotBorderColor, +"stroke-width":m,zIndex:1}).add();this.isDirtyBox=!1},propFromSeries:function(){var a=this,b=a.options.chart,c,d=a.options.series,e,f;n(["inverted","angular","polar"],function(g){c=$[b.type||b.defaultSeriesType];f=a[g]||b[g]||c&&c.prototype[g];for(e=d&&d.length;!f&&e--;)(c=$[d[e].type])&&c.prototype[g]&&(f=!0);a[g]=f})},render:function(){var a=this,b=a.axes,c=a.renderer,d=a.options,e=d.labels,f=d.credits,g;a.setTitle();a.legend=new wb(a,d.legend);a.getStacks();n(b,function(a){a.setScale()});a.getMargins(); +a.maxTicks=null;n(b,function(a){a.setTickPositions(!0);a.setMaxTicks()});a.adjustTickAmounts();a.getMargins();a.drawChartBox();a.hasCartesianSeries&&n(b,function(a){a.render()});if(!a.seriesGroup)a.seriesGroup=c.g("series-group").attr({zIndex:3}).add();n(a.series,function(a){a.translate();a.setTooltipPoints();a.render()});e.items&&n(e.items,function(b){var d=r(e.style,b.style),f=A(d.left)+a.plotLeft,g=A(d.top)+a.plotTop+12;delete d.left;delete d.top;c.text(b.html,f,g).attr({zIndex:2}).css(d).add()}); +if(f.enabled&&!a.credits)g=f.href,a.credits=c.text(f.text,0,0).on("click",function(){if(g)location.href=g}).attr({align:f.position.align,zIndex:8}).css(f.style).add().align(f.position);a.hasRendered=!0},destroy:function(){var a=this,b=a.axes,c=a.series,d=a.container,e,f=d&&d.parentNode;C(a,"destroy");Ea[a.index]=v;a.renderTo.removeAttribute("data-highcharts-chart");aa(a);for(e=b.length;e--;)b[e]=b[e].destroy();for(e=c.length;e--;)c[e]=c[e].destroy();n("title,subtitle,chartBackground,plotBackground,plotBGImage,plotBorder,seriesGroup,clipRect,credits,pointer,scroller,rangeSelector,legend,resetZoomButton,tooltip,renderer".split(","), +function(b){var c=a[b];c&&c.destroy&&(a[b]=c.destroy())});if(d)d.innerHTML="",aa(d),f&&Ta(d);for(e in a)delete a[e]},isReadyToRender:function(){var a=this;return!Y&&E==E.top&&z.readyState!=="complete"||Z&&!E.canvg?(Z?Ub.push(function(){a.firstRender()},a.options.global.canvasToolsURL):z.attachEvent("onreadystatechange",function(){z.detachEvent("onreadystatechange",a.firstRender);z.readyState==="complete"&&a.firstRender()}),!1):!0},firstRender:function(){var a=this,b=a.options,c=a.callback;if(a.isReadyToRender())a.getContainer(), +C(a,"init"),a.resetMargins(),a.setChartSize(),a.propFromSeries(),a.getAxes(),n(b.series||[],function(b){a.initSeries(b)}),C(a,"beforeRender"),a.pointer=new vb(a,b),a.render(),a.renderer.draw(),c&&c.apply(a,[a]),n(a.callbacks,function(b){b.apply(a,[a])}),a.cloneRenderTo(!0),C(a,"load")}};xb.prototype.callbacks=[];var Pa=function(){};Pa.prototype={init:function(a,b,c){this.series=a;this.applyOptions(b,c);this.pointAttr={};if(a.options.colorByPoint&&(b=a.options.colors||a.chart.options.colors,this.color= +this.color||b[a.colorCounter++],a.colorCounter===b.length))a.colorCounter=0;a.chart.pointCount++;return this},applyOptions:function(a,b){var c=this.series,d=c.pointValKey,a=Pa.prototype.optionsToObject.call(this,a);r(this,a);this.options=this.options?r(this.options,a):a;if(d)this.y=this[d];if(this.x===v&&c)this.x=b===v?c.autoIncrement():b;return this},optionsToObject:function(a){var b,c=this.series,d=c.pointArrayMap||["y"],e=d.length,f=0,g=0;if(typeof a==="number"||a===null)b={y:a};else if(Ha(a)){b= +{};if(a.length>e){c=typeof a[0];if(c==="string")b.name=a[0];else if(c==="number")b.x=a[0];f++}for(;ga+1&&b.push(d.slice(a+1,g)),a=g):g===e-1&&b.push(d.slice(a+1,g+1))});this.segments= +b},setOptions:function(a){var b=this.chart.options,c=b.plotOptions,d=c[this.type];this.userOptions=a;a=x(d,c.series,a);this.tooltipOptions=x(b.tooltip,a.tooltip);d.marker===null&&delete a.marker;return a},getColor:function(){var a=this.options,b=this.userOptions,c=this.chart.options.colors,d=this.chart.counters,e;e=a.color||X[this.type].color;if(!e&&!a.colorByPoint)t(b._colorIndex)?a=b._colorIndex:(b._colorIndex=d.color,a=d.color++),e=c[a];this.color=e;d.wrapColor(c.length)},getSymbol:function(){var a= +this.userOptions,b=this.options.marker,c=this.chart,d=c.options.symbols,c=c.counters;this.symbol=b.symbol;if(!this.symbol)t(a._symbolIndex)?a=a._symbolIndex:(a._symbolIndex=c.symbol,a=c.symbol++),this.symbol=d[a];if(/^url/.test(this.symbol))b.radius=0;c.wrapSymbol(d.length)},drawLegendSymbol:function(a){var b=this.options,c=b.marker,d=a.options,e;e=d.symbolWidth;var f=this.chart.renderer,g=this.legendGroup,a=a.baseline-s(f.fontMetrics(d.itemStyle.fontSize).b*0.3);if(b.lineWidth){d={"stroke-width":b.lineWidth}; +if(b.dashStyle)d.dashstyle=b.dashStyle;this.legendLine=f.path(["M",0,a,"L",e,a]).attr(d).add(g)}if(c&&c.enabled)b=c.radius,this.legendSymbol=e=f.symbol(this.symbol,e/2-b,a-b,2*b,2*b).add(g),e.isMarker=!0},addPoint:function(a,b,c,d){var e=this.options,f=this.data,g=this.graph,h=this.area,i=this.chart,j=this.xData,k=this.yData,l=this.zData,m=this.names,o=g&&g.shift||0,q=e.data;Ka(d,i);c&&n([g,h,this.graphNeg,this.areaNeg],function(a){if(a)a.shift=o+1});if(h)h.isArea=!0;b=p(b,!0);d={series:this};this.pointClass.prototype.applyOptions.apply(d, +[a]);j.push(d.x);k.push(this.toYData?this.toYData(d):d.y);l.push(d.z);if(m)m[d.x]=d.name;q.push(a);e.legendType==="point"&&this.generatePoints();c&&(f[0]&&f[0].remove?f[0].remove(!1):(f.shift(),j.shift(),k.shift(),l.shift(),q.shift()));this.isDirtyData=this.isDirty=!0;b&&(this.getAttribs(),i.redraw())},setData:function(a,b){var c=this.points,d=this.options,e=this.chart,f=null,g=this.xAxis,h=g&&g.categories&&!g.categories.length?[]:null,i;this.xIncrement=null;this.pointRange=g&&g.categories?1:d.pointRange; +this.colorCounter=0;var j=[],k=[],l=[],m=a?a.length:[];i=p(d.turboThreshold,1E3);var o=this.pointArrayMap,o=o&&o.length,q=!!this.toYData;if(i&&m>i){for(i=0;f===null&&ij||this.forceCrop))if(a=h.min,h=h.max,b[d-1]h)b=[],c=[];else if(b[0]h)e=this.cropData(this.xData,this.yData,a,h),b=e.xData,c=e.yData,e=e.start,f=!0;for(h=b.length-1;h>=0;h--)d=b[h]-b[h-1],d>0&&(g===v||d=c){f=u(0,h-1);break}for(;hd){g=h+1;break}return{xData:a.slice(f,g),yData:b.slice(f,g),start:f,end:g}},generatePoints:function(){var a=this.options.data,b=this.data,c,d=this.processedXData,e=this.processedYData,f=this.pointClass,g=d.length, +h=this.cropStart||0,i,j=this.hasGroupedData,k,l=[],m;if(!b&&!j)b=[],b.length=a.length,b=this.data=b;for(m=0;ml[n]&&!m)l[n]=p.total;else if(p.total0),l=this.getExtremesFromAll||this.cropped||(f[d+1]||l)>=k&&(f[d-1]||l)<=a,e&&l)if(e=c.length)for(;e--;)c[e]!==null&&(i[j++]=c[e]);else i[j++]= +c;m=p(m,Ia(i));o=p(o,ta(i))}this.dataMin=m;this.dataMax=o},translate:function(){this.processedXData||this.processData();this.generatePoints();for(var a=this.options,b=a.stacking,c=this.xAxis,d=c.categories,e=this.yAxis,f=this.points,g=f.length,h=!!this.modifyValue,i=a.pointPlacement,j=i==="between"||pa(i),k=a.threshold,a=0;a=0&&c<=d;)i[c++]=f}this.tooltipPoints=i}}, +tooltipHeaderFormatter:function(a){var b=this.tooltipOptions,c=b.xDateFormat,d=b.dateTimeLabelFormats,e=this.xAxis,f=e&&e.options.type==="datetime",b=b.headerFormat,e=e&&e.closestPointRange,g;if(f&&!c)if(e)for(g in y){if(y[g]>=e){c=d[g];break}}else c=d.day;f&&c&&pa(a.key)&&(b=b.replace("{point.key}","{point.key:"+c+"}"));return Aa(b,{point:a,series:this})},onMouseOver:function(){var a=this.chart,b=a.hoverSeries;if(b&&b!==this)b.onMouseOut();this.options.events.mouseOver&&C(this,"mouseOver");this.setState("hover"); +a.hoverSeries=this},onMouseOut:function(){var a=this.options,b=this.chart,c=b.tooltip,d=b.hoverPoint;if(d)d.onMouseOut();this&&a.events.mouseOut&&C(this,"mouseOut");c&&!a.stickyTracking&&(!c.shared||this.noSharedTooltip)&&c.hide();this.setState();b.hoverSeries=null},animate:function(a){var b=this,c=b.chart,d=c.renderer,e;e=b.options.animation;var f=c.clipBox,g=c.inverted,h;if(e&&!U(e))e=X[b.type].animation;h="_sharedClip"+e.duration+e.easing;if(a)a=c[h],e=c[h+"m"],a||(c[h]=a=d.clipRect(r(f,{width:0})), +c[h+"m"]=e=d.clipRect(-99,g?-c.plotLeft:-c.plotTop,99,g?c.chartWidth:c.chartHeight)),b.group.clip(a),b.markerGroup.clip(e),b.sharedClipKey=h;else{if(a=c[h])a.animate({width:c.plotSizeX},e),c[h+"m"].animate({width:c.plotSizeX+99},e);b.animate=null;b.animationTimeout=setTimeout(function(){b.afterAnimate()},e.duration)}},afterAnimate:function(){var a=this.chart,b=this.sharedClipKey,c=this.group;c&&this.options.clip!==!1&&(c.clip(a.clipRect),this.markerGroup.clip());setTimeout(function(){b&&a[b]&&(a[b]= +a[b].destroy(),a[b+"m"]=a[b+"m"].destroy())},100)},drawPoints:function(){var a,b=this.points,c=this.chart,d,e,f,g,h,i,j,k,l=this.options.marker,m,o=this.markerGroup;if(l.enabled||this._hasPointMarkers)for(f=b.length;f--;)if(g=b[f],d=S(g.plotX),e=g.plotY,k=g.graphic,i=g.marker||{},a=l.enabled&&i.enabled===v||i.enabled,m=c.isInsidePlot(s(d),e,c.inverted),a&&e!==v&&!isNaN(e)&&g.y!==null)if(a=g.pointAttr[g.selected?"select":""],h=a.r,i=p(i.symbol,this.symbol),j=i.indexOf("url")===0,k)k.attr({visibility:m? +Y?"inherit":"visible":"hidden"}).animate(r({x:d-h,y:e-h},k.symbolName?{width:2*h,height:2*h}:{}));else{if(m&&(h>0||j))g.graphic=c.renderer.symbol(i,d-h,e-h,2*h,2*h).attr(a).add(o)}else if(k)g.graphic=k.destroy()},convertAttribs:function(a,b,c,d){var e=this.pointAttrToOptions,f,g,h={},a=a||{},b=b||{},c=c||{},d=d||{};for(f in e)g=e[f],h[f]=p(a[g],b[f],c[f],d[f]);return h},getAttribs:function(){var a=this,b=a.options,c=X[a.type].marker?b.marker:b,d=c.states,e=d.hover,f,g=a.color,h={stroke:g,fill:g}, +i=a.points||[],j=[],k,l=a.pointAttrToOptions,m=b.negativeColor,o;b.marker?(e.radius=e.radius||c.radius+2,e.lineWidth=e.lineWidth||c.lineWidth+1):e.color=e.color||oa(e.color||g).brighten(e.brightness).get();j[""]=a.convertAttribs(c,h);n(["hover","select"],function(b){j[b]=a.convertAttribs(d[b],j[""])});a.pointAttr=j;for(g=i.length;g--;){h=i[g];if((c=h.options&&h.options.marker||h.options)&&c.enabled===!1)c.radius=0;if(h.negative&&m)h.color=h.fillColor=m;f=b.colorByPoint||h.color;if(h.options)for(o in l)t(c[l[o]])&& +(f=!0);if(f){c=c||{};k=[];d=c.states||{};f=d.hover=d.hover||{};if(!b.marker)f.color=oa(f.color||h.color).brighten(f.brightness||e.brightness).get();k[""]=a.convertAttribs(r({color:h.color},c),j[""]);k.hover=a.convertAttribs(d.hover,j.hover,k[""]);k.select=a.convertAttribs(d.select,j.select,k[""]);if(h.negative&&b.marker&&m)k[""].fill=k.hover.fill=k.select.fill=a.convertAttribs({fillColor:m}).fill}else k=j;h.pointAttr=k}},update:function(a,b){var c=this.chart,d=this.type,a=x(this.userOptions,{animation:!1, +index:this.index,pointStart:this.xData[0]},{data:this.options.data},a);this.remove(!1);r(this,$[a.type||d].prototype);this.init(c,a);p(b,!0)&&c.redraw(!1)},destroy:function(){var a=this,b=a.chart,c=/AppleWebKit\/533/.test(Da),d,e,f=a.data||[],g,h,i;C(a,"destroy");aa(a);n(["xAxis","yAxis"],function(b){if(i=a[b])fa(i.series,a),i.isDirty=i.forceRedraw=!0});a.legendItem&&a.chart.legend.destroyItem(a);for(e=f.length;e--;)(g=f[e])&&g.destroy&&g.destroy();a.points=null;clearTimeout(a.animationTimeout);n("area,graph,dataLabelsGroup,group,markerGroup,tracker,graphNeg,areaNeg,posClip,negClip".split(","), +function(b){a[b]&&(d=c&&b==="group"?"hide":"destroy",a[b][d]())});if(b.hoverSeries===a)b.hoverSeries=null;fa(b.series,a);for(h in a)delete a[h]},drawDataLabels:function(){var a=this,b=a.options.dataLabels,c=a.points,d,e,f,g;if(b.enabled||a._hasPointLabels)a.dlProcessOptions&&a.dlProcessOptions(b),g=a.plotGroup("dataLabelsGroup","data-labels",a.visible?"visible":"hidden",b.zIndex||6),e=b,n(c,function(c){var i,j=c.dataLabel,k,l,m=c.connector,o=!0;d=c.options&&c.options.dataLabels;i=e.enabled||d&&d.enabled; +if(j&&!i)c.dataLabel=j.destroy();else if(i){b=x(e,d);i=b.rotation;k=c.getLabelConfig();f=b.format?Aa(b.format,k):b.formatter.call(k,b);b.style.color=p(b.color,b.style.color,a.color,"black");if(j)if(t(f))j.attr({text:f}),o=!1;else{if(c.dataLabel=j=j.destroy(),m)c.connector=m.destroy()}else if(t(f)){j={fill:b.backgroundColor,stroke:b.borderColor,"stroke-width":b.borderWidth,r:b.borderRadius||0,rotation:i,padding:b.padding,zIndex:1};for(l in j)j[l]===v&&delete j[l];j=c.dataLabel=a.chart.renderer[i?"text": +"label"](f,0,-999,null,null,null,b.useHTML).attr(j).css(b.style).add(g).shadow(b.shadow)}j&&a.alignDataLabel(c,j,b,null,o)}})},alignDataLabel:function(a,b,c,d,e){var f=this.chart,g=f.inverted,h=p(a.plotX,-999),i=p(a.plotY,-999),a=b.getBBox(),d=r({x:g?f.plotWidth-i:h,y:s(g?f.plotHeight-h:i),width:0,height:0},d);r(c,{width:a.width,height:a.height});c.rotation?(d={align:c.align,x:d.x+c.x+d.width/2,y:d.y+c.y+d.height/2},b[e?"attr":"animate"](d)):(b.align(c,null,d),d=b.alignAttr);b.attr({visibility:c.crop=== +!1||f.isInsidePlot(d.x,d.y)&&f.isInsidePlot(d.x+a.width,d.y+a.height)?f.renderer.isSVG?"inherit":"visible":"hidden"})},getSegmentPath:function(a){var b=this,c=[],d=b.options.step;n(a,function(e,f){var g=e.plotX,h=e.plotY,i;b.getPointSpline?c.push.apply(c,b.getPointSpline(a,e,f)):(c.push(f?"L":"M"),d&&f&&(i=a[f-1],d==="right"?c.push(i.plotX,h):d==="center"?c.push((i.plotX+g)/2,i.plotY,(i.plotX+g)/2,h):c.push(g,i.plotY)),c.push(e.plotX,e.plotY))});return c},getGraphPath:function(){var a=this,b=[],c, +d=[];n(a.segments,function(e){c=a.getSegmentPath(e);e.length>1?b=b.concat(c):d.push(e[0])});a.singlePoints=d;return a.graphPath=b},drawGraph:function(){var a=this,b=this.options,c=[["graph",b.lineColor||this.color]],d=b.lineWidth,e=b.dashStyle,f=this.getGraphPath(),g=b.negativeColor;g&&c.push(["graphNeg",g]);n(c,function(c,g){var j=c[0],k=a[j];if(k)Wa(k),k.animate({d:f});else if(d&&f.length){k={stroke:c[1],"stroke-width":d,zIndex:1};if(e)k.dashstyle=e;a[j]=a.chart.renderer.path(f).attr(k).add(a.group).shadow(!g&& +b.shadow)}})},clipNeg:function(){var a=this.options,b=this.chart,c=b.renderer,d=a.negativeColor||a.negativeFillColor,e,f=this.graph,g=this.area,h=this.posClip,i=this.negClip;e=b.chartWidth;var j=b.chartHeight,k=u(e,j),l=this.yAxis;if(d&&(f||g)){d=s(l.toPixels(a.threshold||0,!0));a={x:0,y:0,width:k,height:d};k={x:0,y:d,width:k,height:k};if(b.inverted)a.height=k.y=b.plotWidth-d,c.isVML&&(a={x:b.plotWidth-d-b.plotLeft,y:0,width:e,height:j},k={x:d+b.plotLeft-e,y:0,width:b.plotLeft+d,height:e});l.reversed? +(b=k,e=a):(b=a,e=k);h?(h.animate(b),i.animate(e)):(this.posClip=h=c.clipRect(b),this.negClip=i=c.clipRect(e),f&&this.graphNeg&&(f.clip(h),this.graphNeg.clip(i)),g&&(g.clip(h),this.areaNeg.clip(i)))}},invertGroups:function(){function a(){var a={width:b.yAxis.len,height:b.xAxis.len};n(["group","markerGroup"],function(c){b[c]&&b[c].attr(a).invert()})}var b=this,c=b.chart;if(b.xAxis)J(c,"resize",a),J(b,"destroy",function(){aa(c,"resize",a)}),a(),b.invertGroups=a},plotGroup:function(a,b,c,d,e){var f=this[a], +g=!f;g&&(this[a]=f=this.chart.renderer.g(b).attr({visibility:c,zIndex:d||0.1}).add(e));f[g?"attr":"animate"](this.getPlotBox());return f},getPlotBox:function(){return{translateX:this.xAxis?this.xAxis.left:this.chart.plotLeft,translateY:this.yAxis?this.yAxis.top:this.chart.plotTop,scaleX:1,scaleY:1}},render:function(){var a=this.chart,b,c=this.options,d=c.animation&&!!this.animate&&a.renderer.isSVG,e=this.visible?"visible":"hidden",f=c.zIndex,g=this.hasRendered,h=a.seriesGroup;b=this.plotGroup("group", +"series",e,f,h);this.markerGroup=this.plotGroup("markerGroup","markers",e,f,h);d&&this.animate(!0);this.getAttribs();b.inverted=this.isCartesian?a.inverted:!1;this.drawGraph&&(this.drawGraph(),this.clipNeg());this.drawDataLabels();this.drawPoints();this.options.enableMouseTracking!==!1&&this.drawTracker();a.inverted&&this.invertGroups();c.clip!==!1&&!this.sharedClipKey&&!g&&b.clip(a.clipRect);d?this.animate():g||this.afterAnimate();this.isDirty=this.isDirtyData=!1;this.hasRendered=!0},redraw:function(){var a= +this.chart,b=this.isDirtyData,c=this.group,d=this.xAxis,e=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:p(d&&d.left,a.plotLeft),translateY:p(e&&e.top,a.plotTop)}));this.translate();this.setTooltipPoints(!0);this.render();b&&C(this,"updatedData")},setState:function(a){var b=this.options,c=this.graph,d=this.graphNeg,e=b.states,b=b.lineWidth,a=a||"";if(this.state!==a)this.state=a,e[a]&&e[a].enabled===!1||(a&&(b=e[a].lineWidth||b+1),c&&!c.dashstyle&& +(a={"stroke-width":b},c.attr(a),d&&d.attr(a)))},setVisible:function(a,b){var c=this,d=c.chart,e=c.legendItem,f,g=d.options.chart.ignoreHiddenSeries,h=c.visible;f=(c.visible=a=c.userOptions.visible=a===v?!h:a)?"show":"hide";n(["group","dataLabelsGroup","markerGroup","tracker"],function(a){if(c[a])c[a][f]()});if(d.hoverSeries===c)c.onMouseOut();e&&d.legend.colorizeItem(c,a);c.isDirty=!0;c.options.stacking&&n(d.series,function(a){if(a.options.stacking&&a.visible)a.isDirty=!0});n(c.linkedSeries,function(b){b.setVisible(a, +!1)});if(g)d.isDirtyBox=!0;b!==!1&&d.redraw();C(c,f)},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(a){this.selected=a=a===v?!this.selected:a;if(this.checkbox)this.checkbox.checked=a;C(this,a?"select":"unselect")},drawTracker:function(){var a=this,b=a.options,c=b.trackByArea,d=[].concat(c?a.areaPath:a.graphPath),e=d.length,f=a.chart,g=f.pointer,h=f.renderer,i=f.options.tooltip.snap,j=a.tracker,k=b.cursor,k=k&&{cursor:k},l=a.singlePoints,m,o=function(){if(f.hoverSeries!== +a)a.onMouseOver()};if(e&&!c)for(m=e+1;m--;)d[m]==="M"&&d.splice(m+1,0,d[m+1]-i,d[m+2],"L"),(m&&d[m]==="M"||m===e)&&d.splice(m,0,"L",d[m-2]+i,d[m-1]);for(m=0;m=0;d--)da&&i>e?(i=u(a,e),k=2*e-i):ig&&k>e?(k=u(g,e),i=2*e-k):kf?l-f:e-(d.translate(b.y,0,1,0,1)<=e?f:0)));b.barX=m;b.pointWidth=g;b.shapeType="rect";b.shapeArgs=b=a.renderer.Element.prototype.crisp.call(0,c,m,o,h,k);c%2&&(b.y-=1,b.height+=1)})},getSymbol:xa,drawLegendSymbol:L.prototype.drawLegendSymbol,drawGraph:xa,drawPoints:function(){var a=this,b=a.options,c=a.chart.renderer, +d;n(a.points,function(e){var f=e.plotY,g=e.graphic;if(f!==v&&!isNaN(f)&&e.y!==null)d=e.shapeArgs,g?(Wa(g),g.animate(x(d))):e.graphic=c[e.shapeType](d).attr(e.pointAttr[e.selected?"select":""]).add(a.group).shadow(b.shadow,null,b.stacking&&!b.borderRadius);else if(g)e.graphic=g.destroy()})},drawTracker:function(){var a=this,b=a.chart,c=b.pointer,d=a.options.cursor,e=d&&{cursor:d},f=function(c){var d=c.target,e;if(b.hoverSeries!==a)a.onMouseOver();for(;d&&!e;)e=d.point,d=d.parentNode;if(e!==v&&e!== +b.hoverPoint)e.onMouseOver(c)};n(a.points,function(a){if(a.graphic)a.graphic.element.point=a;if(a.dataLabel)a.dataLabel.element.point=a});a._hasTracking?a._hasTracking=!0:n(a.trackerGroups,function(b){if(a[b]&&(a[b].addClass("highcharts-tracker").on("mouseover",f).on("mouseout",function(a){c.onTrackerMouseOut(a)}).css(e),hb))a[b].on("touchstart",f)})},alignDataLabel:function(a,b,c,d,e){var f=this.chart,g=f.inverted,h=a.dlBox||a.shapeArgs,i=a.below||a.plotY>p(this.translatedThreshold,f.plotSizeY), +j=p(c.inside,!!this.options.stacking);if(h&&(d=x(h),g&&(d={x:f.plotWidth-d.y-d.height,y:f.plotHeight-d.x-d.width,width:d.height,height:d.width}),!j))g?(d.x+=i?0:d.width,d.width=0):(d.y+=i?d.height:0,d.height=0);c.align=p(c.align,!g||j?"center":i?"right":"left");c.verticalAlign=p(c.verticalAlign,g||j?"middle":i?"top":"bottom");Q.prototype.alignDataLabel.call(this,a,b,c,d,e)},animate:function(a){var b=this.yAxis,c=this.options,d=this.chart.inverted,e={};if(Y)a?(e.scaleY=0.001,a=I(b.pos+b.len,u(b.pos, +b.toPixels(c.threshold))),d?e.translateX=a-b.len:e.translateY=a,this.group.attr(e)):(e.scaleY=1,e[d?"translateX":"translateY"]=b.pos,this.group.animate(e,this.options.animation),this.animate=null)},remove:function(){var a=this,b=a.chart;b.hasRendered&&n(b.series,function(b){if(b.type===a.type)b.isDirty=!0});Q.prototype.remove.apply(a,arguments)}});$.column=K;X.bar=x(X.column);la=ga(K,{type:"bar",inverted:!0});$.bar=la;X.scatter=x(W,{lineWidth:0,tooltip:{headerFormat:'{series.name}
    ', +pointFormat:"x: {point.x}
    y: {point.y}
    ",followPointer:!0},stickyTracking:!1});la=ga(Q,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["markerGroup"],drawTracker:K.prototype.drawTracker,setTooltipPoints:xa});$.scatter=la;X.pie=x(W,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name}},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null, +showInLegend:!1,slicedOffset:10,states:{hover:{brightness:0.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}});W={type:"pie",isCartesian:!1,pointClass:ga(Pa,{init:function(){Pa.prototype.init.apply(this,arguments);var a=this,b;if(a.y<0)a.y=null;r(a,{visible:a.visible!==!1,name:p(a.name,"Slice")});b=function(b){a.slice(b.type==="select")};J(a,"select",b);J(a,"unselect",b);return a},setVisible:function(a){var b=this,c=b.series,d=c.chart,e;b.visible=b.options.visible=a=a===v?!b.visible:a;c.options.data[na(b, +c.data)]=b.options;e=a?"show":"hide";n(["graphic","dataLabel","connector","shadowGroup"],function(a){if(b[a])b[a][e]()});b.legendItem&&d.legend.colorizeItem(b,a);if(!c.isDirty&&c.options.ignoreHiddenPoint)c.isDirty=!0,d.redraw()},slice:function(a,b,c){var d=this.series;Ka(c,d.chart);p(b,!0);this.sliced=this.options.sliced=a=t(a)?a:!this.sliced;d.options.data[na(this,d.data)]=this.options;a=a?this.slicedTranslation:{translateX:0,translateY:0};this.graphic.animate(a);this.shadowGroup&&this.shadowGroup.animate(a)}}), +requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},getColor:xa,animate:function(a){var b=this,c=b.points,d=b.startAngleRad;if(!a)n(c,function(a){var c=a.graphic,a=a.shapeArgs;c&&(c.attr({r:b.center[3]/2,start:d,end:d}),c.animate({r:a.r,start:a.start,end:a.end},b.options.animation))}),b.animate=null},setData:function(a,b){Q.prototype.setData.call(this,a,!1);this.processData();this.generatePoints(); +p(b,!0)&&this.chart.redraw()},generatePoints:function(){var a,b=0,c,d,e,f=this.options.ignoreHiddenPoint;Q.prototype.generatePoints.call(this);c=this.points;d=c.length;for(a=0;a0.75*k&&(h-=2*Ma);n.slicedTranslation={translateX:s(V(h)*d),translateY:s(ba(h)*d)};f=V(h)*a[2]/2;g=ba(h)*a[2]/2;n.tooltipPos=[a[0]+f*0.7,a[1]+g*0.7];n.half=h0,r,w,v,x,A=[[],[]],z,y,G,H,B,C=[0,0,0,0],I=function(a,b){return b.y-a.y},M=function(a,b){a.sort(function(a,c){return a.angle!==void 0&&(c.angle-a.angle)*b})};if(a.visible&&(e.enabled||a._hasPointLabels)){Q.prototype.drawDataLabels.apply(a);n(b,function(a){a.dataLabel&& +A[a.half].push(a)});for(H=0;!x&&b[H];)x=b[H]&&b[H].dataLabel&&(b[H].dataLabel.getBBox().height||21),H++;for(H=2;H--;){var b=[],L=[],J=A[H],K=J.length,E;M(J,H-0.5);if(l>0){for(B=q-o-l;B<=q+o+l;B+=x)b.push(B);w=b.length;if(K>w){c=[].concat(J);c.sort(I);for(B=K;B--;)c[B].rank=B;for(B=K;B--;)J[B].rank>=w&&J.splice(B,1);K=J.length}for(B=0;B0){if(w=L.pop(),E=w.i,y=w.y,c>y&&b[E+1]!==null||ch-f&&(C[1]=u(s(z+w-h+f),C[1])),y- +x/2<0?C[0]=u(s(-y+x/2),C[0]):y+x/2>d&&(C[2]=u(s(y+x/2-d),C[2]))}}if(ta(C)===0||this.verifyDataLabelOverflow(C))this.placeDataLabels(),t&&g&&n(this.points,function(b){i=b.connector;v=b.labelPos;if((r=b.dataLabel)&&r._pos)G=r._attr.visibility,z=r.connX,y=r.connY,j=k?["M",z+(v[6]==="left"?5:-5),y,"C",z,y,2*v[2]-v[4],2*v[3]-v[5],v[2],v[3],"L",v[4],v[5]]:["M",z+(v[6]==="left"?5:-5),y,"L",v[2],v[3],"L",v[4],v[5]],i?(i.animate({d:j}),i.attr("visibility",G)):b.connector=i=a.chart.renderer.path(j).attr({"stroke-width":g, +stroke:e.connectorColor||b.color||"#606060",visibility:G}).add(a.group);else if(i)b.connector=i.destroy()})}},verifyDataLabelOverflow:function(a){var b=this.center,c=this.options,d=c.center,e=c=c.minSize||80,f;d[0]!==null?e=u(b[2]-u(a[1],a[3]),c):(e=u(b[2]-a[1]-a[3],c),b[0]+=(a[3]-a[1])/2);d[1]!==null?e=u(I(e,b[2]-u(a[0],a[2])),c):(e=u(I(e,b[2]-a[0]-a[2]),c),b[1]+=(a[0]-a[2])/2);e +Richard Worth +Yehuda Katz +Sean Catchpole +John Resig +Tane Piper +Dmitri Gaskin +Klaus Hartl +Stefan Petre +Gilles van den Hoven +Micheil Bryan Smith +Jörn Zaefferer +Marc Grabanski +Keith Wood +Brandon Aaron +Scott González +Eduardo Lundgren +Aaron Eisenberger +Joan Piedra +Bruno Basto +Remy Sharp +Bohdan Ganicky +David Bolter +Chi Cheng +Ca-Phun Ung +Ariel Flesler +Maggie Costello Wachs +Scott Jehl +Todd Parker +Andrew Powell +Brant Burnett +Douglas Neiner +Paul Irish +Ralph Whitbeck +Thibault Duplessis +Dominique Vincent +Jack Hsu +Adam Sontag +Carl Fürstenberg +Kevin Dalman +Alberto Fernández Capel +Jacek Jędrzejewski (http://jacek.jedrzejewski.name) +Ting Kuei +Samuel Cormier-Iijima +Jon Palmer +Ben Hollis +Justin MacCarthy +Eyal Kobrigo +Tiago Freire +Diego Tres +Holger Rüprich +Ziling Zhao +Mike Alsup +Robson Braga Araujo +Pierre-Henri Ausseil +Christopher McCulloh +Andrew Newcomb +Lim Chee Aun +Jorge Barreiro +Daniel Steigerwald +John Firebaugh +John Enters +Andrey Kapitcyn +Dmitry Petrov +Eric Hynds +Chairat Sunthornwiphat +Josh Varner +Stéphane Raimbault +Jay Merrifield +J. Ryan Stinnett +Peter Heiberg +Alex Dovenmuehle +Jamie Gegerson +Raymond Schwartz +Phillip Barnes +Kyle Wilkinson +Khaled AlHourani +Marian Rudzynski +Jean-Francois Remy +Doug Blood +Filippo Cavallarin +Heiko Henning +Aliaksandr Rahalevich +Mario Visic +Xavi Ramirez +Max Schnur +Saji Nediyanchath +Corey Frang +Aaron Peterson +Ivan Peters +Mohamed Cherif Bouchelaghem +Marcos Sousa +Michael DellaNoce +George Marshall +Tobias Brunner +Martin Solli +David Petersen +Dan Heberden +William Kevin Manire +Gilmore Davidson +Michael Wu +Adam Parod +Guillaume Gautreau +Marcel Toele +Dan Streetman +Matt Hoskins +Giovanni Giacobbi +Kyle Florence +Pavol Hluchý +Hans Hillen +Mark Johnson +Trey Hunner +Shane Whittet +Edward A Faulkner +Adam Baratz +Kato Kazuyoshi +Eike Send +Kris Borchers +Eddie Monge +Israel Tsadok +Carson McDonald +Jason Davies +Garrison Locke +David Murdoch +Benjamin Scott Boyle +Jesse Baird +Jonathan Vingiano +Dylan Just +Hiroshi Tomita +Glenn Goodrich +Tarafder Ashek-E-Elahi +Ryan Neufeld +Marc Neuwirth +Philip Graham +Benjamin Sterling +Wesley Walser +Kouhei Sutou +Karl Kirch +Chris Kelly +Jay Oster +Alexander Polomoshnov +David Leal +Igor Milla +Dave Methvin +Florian Gutmann +Marwan Al Jubeh +Milan Broum +Sebastian Sauer +Gaëtan Muller +Michel Weimerskirch +William Griffiths +Stojce Slavkovski +David Soms +David De Sloovere +Michael P. Jung +Shannon Pekary +Matthew Edward Hutton +James Khoury +Rob Loach +Alberto Monteiro +Alex Rhea +Krzysztof Rosiński +Ryan Olton +Genie <386@mail.com> +Rick Waldron +Ian Simpson +Lev Kitsis +TJ VanToll +Justin Domnitz +Douglas Cerna +Bert ter Heide +Jasvir Nagra +Petr Hromadko +Harri Kilpiö +Lado Lomidze +Amir E. Aharoni +Simon Sattes +Jo Liss +Guntupalli Karunakar +Shahyar Ghobadpour +Lukasz Lipinski +Timo Tijhof +Jason Moon +Martin Frost +Eneko Illarramendi +EungJun Yi +Courtland Allen +Viktar Varvanovich +Danny Trunk +Pavel Stetina +Michael Stay +Steven Roussey +Michael Hollis +Lee Rowlands +Timmy Willison +Karl Swedberg +Baoju Yuan +Maciej Mroziński +Luis Dalmolin +Mark Aaron Shirley +Martin Hoch +Jiayi Yang +Philipp Benjamin Köppchen +Sindre Sorhus +Bernhard Sirlinger +Jared A. Scheel +Rafael Xavier de Souza +John Chen +Dale Kocian +Mike Sherov +Andrew Couch +Marc-Andre Lafortune +Nate Eagle +David Souther +Mathias Stenbom +Sergey Kartashov +Avinash R +Ethan Romba +Cory Gackenheimer +Juan Pablo Kaniefsky +Roman Salnikov +Anika Henke +Samuel Bovée +Fabrício Matté +Viktor Kojouharov +Pawel Maruszczyk +Pavel Selitskas +Bjørn Johansen +Matthieu Penant +Dominic Barnes +David Sullivan +Thomas Jaggi +Vahid Sohrabloo +Travis Carden +Bruno M. Custódio +Nathanael Silverman +Christian Wenz +Steve Urmston +Zaven Muradyan +Woody Gilk +Zbigniew Motyka +Suhail Alkowaileet diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/Gruntfile.js b/97suifangqa/staticfiles/plugins/jquery-ui/Gruntfile.js new file mode 100644 index 0000000..8e46848 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/Gruntfile.js @@ -0,0 +1,378 @@ +module.exports = function( grunt ) { + +"use strict"; + +var + // files + coreFiles = [ + "jquery.ui.core.js", + "jquery.ui.widget.js", + "jquery.ui.mouse.js", + "jquery.ui.draggable.js", + "jquery.ui.droppable.js", + "jquery.ui.resizable.js", + "jquery.ui.selectable.js", + "jquery.ui.sortable.js", + "jquery.ui.effect.js" + ], + + uiFiles = coreFiles.map(function( file ) { + return "ui/" + file; + }).concat( expandFiles( "ui/*.js" ).filter(function( file ) { + return coreFiles.indexOf( file.substring(3) ) === -1; + })), + + allI18nFiles = expandFiles( "ui/i18n/*.js" ), + + cssFiles = [ + "core", + "accordion", + "autocomplete", + "button", + "datepicker", + "dialog", + "menu", + "progressbar", + "resizable", + "selectable", + "slider", + "spinner", + "tabs", + "tooltip", + "theme" + ].map(function( component ) { + return "themes/base/jquery.ui." + component + ".css"; + }), + + // minified files + minify = { + options: { + preserveComments: false + }, + main: { + options: { + banner: createBanner( uiFiles ) + }, + files: { + "dist/jquery-ui.min.js": "dist/jquery-ui.js" + } + }, + i18n: { + options: { + banner: createBanner( allI18nFiles ) + }, + files: { + "dist/i18n/jquery-ui-i18n.min.js": "dist/i18n/jquery-ui-i18n.js" + } + } + }, + + minifyCSS = { + options: { + keepSpecialComments: 0 + }, + main: { + options: { + keepSpecialComments: "*" + }, + src: "dist/jquery-ui.css", + dest: "dist/jquery-ui.min.css" + } + }, + + compareFiles = { + all: [ + "dist/jquery-ui.js", + "dist/jquery-ui.min.js" + ] + }; + +function mapMinFile( file ) { + return "dist/" + file.replace( /\.js$/, ".min.js" ).replace( /ui\//, "minified/" ); +} + +function expandFiles( files ) { + return grunt.util._.pluck( grunt.file.expandMapping( files ), "src" ).map(function( values ) { + return values[ 0 ]; + }); +} + +uiFiles.concat( allI18nFiles ).forEach(function( file ) { + minify[ file ] = { + options: { + banner: createBanner() + }, + files: {} + }; + minify[ file ].files[ mapMinFile( file ) ] = file; +}); + +cssFiles.forEach(function( file ) { + minifyCSS[ file ] = { + options: { + banner: createBanner() + }, + src: file, + dest: "dist/" + file.replace( /\.css$/, ".min.css" ).replace( /themes\/base\//, "themes/base/minified/" ) + }; +}); + +uiFiles.forEach(function( file ) { + // TODO this doesn't do anything until https://github.com/rwldrn/grunt-compare-size/issues/13 + compareFiles[ file ] = [ file, mapMinFile( file ) ]; +}); + +// grunt plugins +grunt.loadNpmTasks( "grunt-contrib-jshint" ); +grunt.loadNpmTasks( "grunt-contrib-uglify" ); +grunt.loadNpmTasks( "grunt-contrib-concat" ); +grunt.loadNpmTasks( "grunt-contrib-qunit" ); +grunt.loadNpmTasks( "grunt-contrib-csslint" ); +grunt.loadNpmTasks( "grunt-contrib-cssmin" ); +grunt.loadNpmTasks( "grunt-html" ); +grunt.loadNpmTasks( "grunt-compare-size" ); +grunt.loadNpmTasks( "grunt-git-authors" ); +// local testswarm and build tasks +grunt.loadTasks( "build/tasks" ); + +function stripDirectory( file ) { + return file.replace( /.+\/(.+?)>?$/, "$1" ); +} + +function createBanner( files ) { + // strip folders + var fileNames = files && files.map( stripDirectory ); + return "/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - " + + "<%= grunt.template.today('isoDate') %>\n" + + "<%= pkg.homepage ? '* ' + pkg.homepage + '\\n' : '' %>" + + (files ? "* Includes: " + fileNames.join(", ") + "\n" : "")+ + "* Copyright <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>;" + + " Licensed <%= _.pluck(pkg.licenses, 'type').join(', ') %> */\n"; +} + +grunt.initConfig({ + pkg: grunt.file.readJSON("package.json"), + files: { + dist: "<%= pkg.name %>-<%= pkg.version %>", + cdn: "<%= pkg.name %>-<%= pkg.version %>-cdn", + themes: "<%= pkg.name %>-themes-<%= pkg.version %>" + }, + compare_size: compareFiles, + concat: { + ui: { + options: { + banner: createBanner( uiFiles ), + stripBanners: { + block: true + } + }, + src: uiFiles, + dest: "dist/jquery-ui.js" + }, + i18n: { + options: { + banner: createBanner( allI18nFiles ) + }, + src: allI18nFiles, + dest: "dist/i18n/jquery-ui-i18n.js" + }, + css: { + options: { + banner: createBanner( cssFiles ), + stripBanners: { + block: true + } + }, + src: cssFiles, + dest: "dist/jquery-ui.css" + } + }, + uglify: minify, + cssmin: minifyCSS, + htmllint: { + // ignore files that contain invalid html, used only for ajax content testing + all: grunt.file.expand( [ "demos/**/*.html", "tests/**/*.html" ] ).filter(function( file ) { + return !/(?:ajax\/content\d\.html|tabs\/data\/test\.html|tests\/unit\/core\/core\.html)/.test( file ); + }) + }, + copy: { + dist: { + src: [ + "AUTHORS.txt", + "jquery-*.js", + "MIT-LICENSE.txt", + "README.md", + "Gruntfile.js", + "package.json", + "*.jquery.json", + "ui/**/*", + "ui/.jshintrc", + "demos/**/*", + "themes/**/*", + "external/**/*", + "tests/**/*" + ], + renames: { + "dist/jquery-ui.js": "ui/jquery-ui.js", + "dist/jquery-ui.min.js": "ui/minified/jquery-ui.min.js", + "dist/i18n/jquery-ui-i18n.js": "ui/i18n/jquery-ui-i18n.js", + "dist/i18n/jquery-ui-i18n.min.js": "ui/minified/i18n/jquery-ui-i18n.min.js", + "dist/jquery-ui.css": "themes/base/jquery-ui.css", + "dist/jquery-ui.min.css": "themes/base/minified/jquery-ui.min.css" + }, + dest: "dist/<%= files.dist %>" + }, + dist_min: { + src: "dist/minified/**/*", + strip: /^dist/, + dest: "dist/<%= files.dist %>/ui" + }, + dist_css_min: { + src: "dist/themes/base/minified/*.css", + strip: /^dist/, + dest: "dist/<%= files.dist %>" + }, + dist_units_images: { + src: "themes/base/images/*", + strip: /^themes\/base\//, + dest: "dist/" + }, + dist_min_images: { + src: "themes/base/images/*", + strip: /^themes\/base\//, + dest: "dist/<%= files.dist %>/themes/base/minified" + }, + cdn: { + src: [ + "AUTHORS.txt", + "MIT-LICENSE.txt", + "ui/*.js", + "package.json" + ], + renames: { + "dist/jquery-ui.js": "jquery-ui.js", + "dist/jquery-ui.min.js": "jquery-ui.min.js", + "dist/i18n/jquery-ui-i18n.js": "i18n/jquery-ui-i18n.js", + "dist/i18n/jquery-ui-i18n.min.js": "i18n/jquery-ui-i18n.min.js" + }, + dest: "dist/<%= files.cdn %>" + }, + cdn_i18n: { + src: "ui/i18n/jquery.ui.datepicker-*.js", + strip: "ui/", + dest: "dist/<%= files.cdn %>" + }, + cdn_i18n_min: { + src: "dist/minified/i18n/jquery.ui.datepicker-*.js", + strip: "dist/minified", + dest: "dist/<%= files.cdn %>" + }, + cdn_min: { + src: "dist/minified/*.js", + strip: /^dist\/minified/, + dest: "dist/<%= files.cdn %>/ui" + }, + cdn_themes: { + src: "dist/<%= files.themes %>/themes/**/*", + strip: "dist/<%= files.themes %>", + dest: "dist/<%= files.cdn %>" + }, + themes: { + src: [ + "AUTHORS.txt", + "MIT-LICENSE.txt", + "package.json" + ], + dest: "dist/<%= files.themes %>" + } + }, + zip: { + dist: { + src: "<%= files.dist %>", + dest: "<%= files.dist %>.zip" + }, + cdn: { + src: "<%= files.cdn %>", + dest: "<%= files.cdn %>.zip" + }, + themes: { + src: "<%= files.themes %>", + dest: "<%= files.themes %>.zip" + } + }, + md5: { + dist: { + src: "dist/<%= files.dist %>", + dest: "dist/<%= files.dist %>/MANIFEST" + }, + cdn: { + src: "dist/<%= files.cdn %>", + dest: "dist/<%= files.cdn %>/MANIFEST" + }, + themes: { + src: "dist/<%= files.themes %>", + dest: "dist/<%= files.themes %>/MANIFEST" + } + }, + qunit: { + files: expandFiles( "tests/unit/**/*.html" ).filter(function( file ) { + // disabling everything that doesn't (quite) work with PhantomJS for now + // TODO except for all|index|test, try to include more as we go + return !( /(all|index|test|dialog|dialog_deprecated|tabs|tooltip)\.html$/ ).test( file ); + }) + }, + jshint: { + ui: { + options: { + jshintrc: "ui/.jshintrc" + }, + files: { + src: "ui/*.js" + } + }, + grunt: { + options: { + jshintrc: ".jshintrc" + }, + files: { + src: [ "Gruntfile.js", "build/**/*.js" ] + } + }, + tests: { + options: { + jshintrc: "tests/.jshintrc" + }, + files: { + src: "tests/unit/**/*.js" + } + } + }, + csslint: { + base_theme: { + src: "themes/base/*.css", + options: { + "adjoining-classes": false, + "box-model": false, + "compatible-vendor-prefixes": false, + "duplicate-background-images": false, + "import": false, + "important": false, + "outline-none": false, + "overqualified-elements": false, + "text-indent": false + } + } + } +}); + +grunt.registerTask( "default", [ "lint", "test" ] ); +grunt.registerTask( "lint", [ "jshint", "csslint", "htmllint" ] ); +grunt.registerTask( "test", [ "qunit" ] ); +grunt.registerTask( "sizer", [ "concat:ui", "uglify:main", "compare_size:all" ] ); +grunt.registerTask( "sizer_all", [ "concat:ui", "uglify", "compare_size" ] ); +grunt.registerTask( "build", [ "concat", "uglify", "cssmin", "copy:dist_units_images" ] ); +grunt.registerTask( "release", "clean build copy:dist copy:dist_min copy:dist_min_images copy:dist_css_min md5:dist zip:dist".split( " " ) ); +grunt.registerTask( "release_themes", "release generate_themes copy:themes md5:themes zip:themes".split( " " ) ); +grunt.registerTask( "release_cdn", "release_themes copy:cdn copy:cdn_min copy:cdn_i18n copy:cdn_i18n_min copy:cdn_themes md5:cdn zip:cdn".split( " " ) ); + +}; diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/MANIFEST b/97suifangqa/staticfiles/plugins/jquery-ui/MANIFEST new file mode 100644 index 0000000..405ab45 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/MANIFEST @@ -0,0 +1,732 @@ +AUTHORS.txt f47bccae9c4d26019bfad575b1838093 +Gruntfile.js e850129b7c4af9015c2c4250bc5c7fba +MIT-LICENSE.txt 54ab1578b1fe12a7dcae71b4c14ee4a8 +README.md badcd66248097732420a1f805ccc4691 +demos/accordion/collapsible.html 89befdac36f9f19f5469b0ce944008c1 +demos/accordion/custom-icons.html 3c98f1da58e313963e4d5ce996b7b31d +demos/accordion/default.html c7c68a65ee1355e073aef5bc3561e943 +demos/accordion/fillspace.html dd71fbefb0e4c685613afb5c3d4c9100 +demos/accordion/hoverintent.html 2be7277bb6462d326d21993191b010e0 +demos/accordion/index.html 7ba8142840cf4ac7d848309cd3853ad1 +demos/accordion/no-auto-height.html a530470787c8d1d0dafaa38723d76631 +demos/accordion/sortable.html 90bdb3e59d2e334b832d1e0bfc797df1 +demos/addClass/default.html 31b90cd812146e4ad1181661d13cc592 +demos/addClass/index.html 1ecebffae58a5a73527c4376635669f2 +demos/animate/default.html 1e2d9652ef6bdb3cb0f6d40f93229012 +demos/animate/index.html 1ecebffae58a5a73527c4376635669f2 +demos/autocomplete/categories.html ccb8e4cd35d5366b8c6ab65f6ed68d6c +demos/autocomplete/combobox.html 92a2ba497f1e4664e9b77604c2ff5b8d +demos/autocomplete/custom-data.html 1feafe2307837291862d72a3a67b5818 +demos/autocomplete/default.html 69ce86f2d629848ead673d483d39bea0 +demos/autocomplete/folding.html e9addc7edfee65aef384e5d3bc1ebd65 +demos/autocomplete/images/jquery_32x32.png 63b85354622b940ba1252cb946a1dfe1 +demos/autocomplete/images/jqueryui_32x32.png b5907552b610ac23f514760d3e30db78 +demos/autocomplete/images/sizzlejs_32x32.png 290e264d5641f5e22cf7eb4477e9d5c8 +demos/autocomplete/images/transparent_1x1.png 5612a775b711def5af3b0ace26436983 +demos/autocomplete/images/ui-anim_basic_16x16.gif 0ea023ac2a49a96c925c7751119aa343 +demos/autocomplete/index.html 5a4790606b9ee69afc05abed0efd87aa +demos/autocomplete/london.xml 71b873703620337cee79d7bd7d637b23 +demos/autocomplete/maxheight.html 59afdf20927ac2003de75d5208adaa41 +demos/autocomplete/multiple-remote.html e3be5b379837cd38b6488948d237e69b +demos/autocomplete/multiple.html 7bb5fed44fad021d440d57e7a232147b +demos/autocomplete/remote-jsonp.html c2a52dd0d6359ff26990872b47741da0 +demos/autocomplete/remote-with-cache.html 7547830179ccef0fda8b5944401d380e +demos/autocomplete/remote.html ba89ee9857c3f547fc4be27ecaacbaf1 +demos/autocomplete/search.php e50d30ac4ff4d87fa0b76863ab2cd131 +demos/autocomplete/xml.html 4d17a155ba3b9e420681619be6f35e84 +demos/button/checkbox.html bccc88c3c83fe2477141a0f30472fcd0 +demos/button/default.html b3535860453eb7f703403479132197a9 +demos/button/icons.html 467323ddf30e59aa72ed197ea11d55f7 +demos/button/index.html e1d150eeb2b171caed125974510bfe74 +demos/button/radio.html 472470a0a8a5ef17f9a4b75a5987ab8c +demos/button/splitbutton.html 266b1263689345a4a6bc6a035608347f +demos/button/toolbar.html 501b414b21f627b9ae8f521e9081af54 +demos/datepicker/alt-field.html 1c22e68ae68ed999456aeb8f6cce73b9 +demos/datepicker/animation.html 2894d995e15db143a544e52c194234aa +demos/datepicker/buttonbar.html 85c9d98139d449c2e461b0bbfb0758ba +demos/datepicker/date-formats.html 91565f57e041dd2ac34d38a4763d74b4 +demos/datepicker/date-range.html 068519f224f8e23832523c555619e35b +demos/datepicker/default.html a7194d0acdc6d19091ee30e2886daa3e +demos/datepicker/dropdown-month-year.html 6736ab64b39f8cf4c22fe4e7e477c97a +demos/datepicker/icon-trigger.html c2731335be819c5d3382e5da0dac236c +demos/datepicker/images/calendar.gif ecae0392680875218dde6eec7ba713ae +demos/datepicker/index.html 31141303fd50342ce57a275f51f1799b +demos/datepicker/inline.html 9b0ebc3ad329015fd82dd3e5b1a166f9 +demos/datepicker/jquery.ui.datepicker-ar.js 942eaa8e2a371c9858a75e3f58ac27c0 +demos/datepicker/jquery.ui.datepicker-fr.js 74ff0c1602ce756629885acbd13680b8 +demos/datepicker/jquery.ui.datepicker-he.js a791d8f0ac08b0d2876bcd21e029d39a +demos/datepicker/jquery.ui.datepicker-zh-TW.js 443e52a6fae355caecbd60e63b5c72d3 +demos/datepicker/localization.html 7181b769d214884d71ae99fb361aa5cd +demos/datepicker/min-max.html f2220313321789e0c08902383f2ddcbc +demos/datepicker/multiple-calendars.html f05978aef245ea2375d0325c7f921579 +demos/datepicker/other-months.html 8cdb9f0b290bc78e0149a2c978f35289 +demos/datepicker/show-week.html 8727aebd5140067e4908a957939280a8 +demos/demos.css c7fc917de57fba6b610ad6191fc1a28a +demos/dialog/animated.html eab0821066fa39b8124c6bfcd436ca2d +demos/dialog/default.html 6425b0222244c3ca125046582884ff4c +demos/dialog/index.html 204169799ab0d5b7ec5fd0bb7515c3b0 +demos/dialog/modal-confirmation.html 72aca56bbb744f6169627f9f8a0ab5ab +demos/dialog/modal-form.html d2e20ace33771496253f8d995c3ad730 +demos/dialog/modal-message.html 20735ccf826f5ef0372637c27f68e083 +demos/dialog/modal.html ab42ad37046389236485db0606a8d61a +demos/draggable/constrain-movement.html ce7170e440c4588112f2ba29c3ebc664 +demos/draggable/cursor-style.html f89f677fe5cda695fcabdd2d9ba7b920 +demos/draggable/default.html 08ca2bf3e75e267a07615af4e1550687 +demos/draggable/delay-start.html 7fe3dd7aaa618b2f2c470ee83ccadfd7 +demos/draggable/events.html 6b0f92486cfc0f24cc0fc9c921f709d5 +demos/draggable/handle.html 3ca2502a72bc697b945814631eeb2c1e +demos/draggable/index.html 76f8ebe28a28f6fe060ea5ca437fc6cb +demos/draggable/revert.html 4c6ebed5ef4eb98f5f4abccc82a39349 +demos/draggable/scroll.html 462ed4bf66de7bfd862a61ff53b60f82 +demos/draggable/snap-to.html 5d339165af453845093a1228cb0bff6a +demos/draggable/sortable.html 3c7db46e7618ddd436bb40c08f0ae13d +demos/draggable/visual-feedback.html a88512371b46d67ff25330c81a6545b4 +demos/droppable/accepted-elements.html a3f00eaf2639c91f675805839f2fd096 +demos/droppable/default.html 463a745ce50e2268e79c38bd1a4ab6af +demos/droppable/images/high_tatras.jpg 969449984d601e92df0e0521fe0adcda +demos/droppable/images/high_tatras2.jpg 05ab2eefd3ce77a097fe968ecfa79db6 +demos/droppable/images/high_tatras2_min.jpg c81066bcfa835d52a4d9c0daa5a2448e +demos/droppable/images/high_tatras3.jpg 75829fca8936aeb8ac8934cfc6d96d47 +demos/droppable/images/high_tatras3_min.jpg 2211533e3e3e7a0e5b9cd4a1b000da25 +demos/droppable/images/high_tatras4.jpg 2f9736c9afa012359026ba5c4b382e30 +demos/droppable/images/high_tatras4_min.jpg c2e09f1983e9ffb318c773892735a81f +demos/droppable/images/high_tatras_min.jpg 5ce7c7cf7fb648d44350ff612d07caa2 +demos/droppable/index.html f236a2f25273c8e86d85eea26d2c2641 +demos/droppable/photo-manager.html 1fa98003982c128f550aecbf35cd5f40 +demos/droppable/propagation.html 52ed26c40b7f2eea49dc34ebdfde0ba2 +demos/droppable/revert.html 162215ee5d0d237a42463935fe602598 +demos/droppable/shopping-cart.html f35b89e3414590aaf2242c1016884d21 +demos/droppable/visual-feedback.html 28854d434d67ffd10e9daf9b522a92a0 +demos/effect/default.html 5bda8dd72829602136ad9411c01e7234 +demos/effect/easing.html 095a64cb8aef470d13cf1a5f1910f71b +demos/effect/index.html 7670272a705926230cfcb3d53c37f69e +demos/hide/default.html b017919650d707818a4b198496505390 +demos/hide/index.html 1ecebffae58a5a73527c4376635669f2 +demos/images/calendar.gif ecae0392680875218dde6eec7ba713ae +demos/images/demo-config-on-tile.gif 53a1e40835829322d93d32d3772e7e37 +demos/images/demo-config-on.gif bbbfaec5d74cbf00d14d7e37c6a729d8 +demos/images/demo-spindown-closed.gif 3df09cf39f5ac14679a6b1e76e104059 +demos/images/demo-spindown-open.gif 205c7b92a32e9a07dee036d4b07fb7ff +demos/images/icon-docs-info.gif bef5580a53a2ba7465a2a385022f670a +demos/images/pbar-ani.gif 6958801266c8f025fe28a928ba6cd992 +demos/index.html ea28419d5769b2115f79bfd4243bc83e +demos/menu/default.html 266465186a79faa78b740ce89df724dc +demos/menu/icons.html 83e914c105c58ef7f8e498bdfd293143 +demos/menu/index.html aba072191ea6e4f6a64da313995a6e94 +demos/position/cycler.html 51da38ded2b4f547aa859319a9281d55 +demos/position/default.html 99e29131d68b02a47cc80791922b7817 +demos/position/images/earth.jpg 3b925e0b109f9d4d383c76eccf495b53 +demos/position/images/flight.jpg fdcad09a5015ecdfe0355a8cfb345dd5 +demos/position/images/rocket.jpg 775634773fa6564afd8257e8180c43e0 +demos/position/index.html e76ea712f8894fd122cbd53c7a97fa8f +demos/progressbar/default.html bfd217f6a2142f13294768bf72a8a9e1 +demos/progressbar/images/pbar-ani.gif 6958801266c8f025fe28a928ba6cd992 +demos/progressbar/indeterminate.html 55bb8a985d5bbf1678cb6c27475b8c9a +demos/progressbar/index.html 4b63914f473c93a3e11ae8235eeb6ba1 +demos/progressbar/label.html 3c4067756fbb1b2fe6f72788e8833658 +demos/removeClass/default.html a3edf2cfd74306f32805065ba240ffd3 +demos/removeClass/index.html 1ecebffae58a5a73527c4376635669f2 +demos/resizable/animate.html c1275b8ae000bf0c06c08681518efd0f +demos/resizable/aspect-ratio.html 432acb92248e050ab2b1104317ae0a4c +demos/resizable/constrain-area.html 65515b619b4fb052af5af36ffca9d9d5 +demos/resizable/default.html 267c4ebbae35aff76761f12d5edadddd +demos/resizable/delay-start.html 039cc6f5996e4d208a18d4b16e6e0098 +demos/resizable/helper.html cbb2603c5e2f648af505628539348a62 +demos/resizable/index.html 4e91089b11d4dc09aa0e70ceb5320a4b +demos/resizable/max-min.html 8895df64a3ab0ad39aeeb1709433b300 +demos/resizable/snap-to-grid.html 04d03732aee9623092a949559a5c973c +demos/resizable/synchronous-resize.html dbf018c7723a41f2f68e98236cfc41f6 +demos/resizable/textarea.html 3e80aec847ddfa6cd3df1eed3ee10414 +demos/resizable/visual-feedback.html 00386bfa01c129f5ced8494fa899d62d +demos/selectable/default.html 3563fd88dc357028d9b52d9afc6f13e9 +demos/selectable/display-grid.html 3c2125fa2422703944b03630477f5f79 +demos/selectable/index.html daf7df35e4ed02fb093e92a1a95e63af +demos/selectable/serialize.html a612ec855c6aa78971350cd3f1d54332 +demos/show/default.html 36f7b7cbf8eacdbb48d87e743973ab67 +demos/show/index.html 1ecebffae58a5a73527c4376635669f2 +demos/slider/colorpicker.html 6f773ae54a78c66a6bcafbdf55c38a4b +demos/slider/default.html 4c84f13083903df5f46d971ebedd15d2 +demos/slider/hotelrooms.html ff1de2c2fc3a35cddc1a574364e70066 +demos/slider/index.html 91c70e693a9748b67102ae54e3251773 +demos/slider/multiple-vertical.html 6420876e84d50835d49989f72722333a +demos/slider/range-vertical.html 02bab970c613a24d3a5b4cb515a201cc +demos/slider/range.html fa6d770b6da18ebfa6ddbb502c0a28d7 +demos/slider/rangemax.html 4cf4ad940665e7f39ebce972c2ec9857 +demos/slider/rangemin.html eebd6337af71bcf3f2b01b8504bf2c31 +demos/slider/side-scroll.html 21020e573185b5290711e22d40c2919e +demos/slider/slider-vertical.html 8fd7dc3eb8203379c85d544250dba8c7 +demos/slider/steps.html 0af949dcc37a79dbf7af5f5be6fe1e61 +demos/sortable/connect-lists-through-tabs.html d0613fe3b0b0f4787b09aa2b7114a93f +demos/sortable/connect-lists.html 44f1cca02907df5a60a2120e46f3726d +demos/sortable/default.html a86a60a93af2f7398934db050f56803a +demos/sortable/delay-start.html 2a21b71003cf8141ecf3e0bbf6903048 +demos/sortable/display-grid.html 6762d264b8328285795cb191650a5e44 +demos/sortable/empty-lists.html 2e82590e8069fd779fc34793bb3757b6 +demos/sortable/index.html a68a64aecfd8ade1134982578d8a4855 +demos/sortable/items.html 275aaac61433b254f39731b5042e172e +demos/sortable/placeholder.html e5d1cd62ff3ebb5bbea4faf415c51027 +demos/sortable/portlets.html c3383c81ee00229485fa3dc044ea23c6 +demos/spinner/currency.html e19fd3519f8aea2d7fbaf5b0078c3406 +demos/spinner/decimal.html 7f9b0d39b8cabe77ca7ae6f84bbd4ab2 +demos/spinner/default.html 9be0d72544e96907850010aad8cd9750 +demos/spinner/index.html 44a4e022747a656aa42e615847452235 +demos/spinner/latlong.html bf9739604cd7781e85a9e2a2be2f26ce +demos/spinner/overflow.html 38feadd133ac7d8f82c04fe572e1533c +demos/spinner/time.html 491b0a111bece7a834e0bce9f42ccac6 +demos/switchClass/default.html 01282041834807f81440b5970c3ec37a +demos/switchClass/index.html 1ecebffae58a5a73527c4376635669f2 +demos/tabs/ajax.html bcbded18824ecccf40563a02df2f7a95 +demos/tabs/ajax/content1.html a057a52c505c537a9db040a84d25e640 +demos/tabs/ajax/content2.html 1289bb96e74c38ed0f6c68507a41aec6 +demos/tabs/ajax/content3-slow.php 1184ec5ad3b1bf81eb5f19cb6a233daa +demos/tabs/ajax/content4-broken.php feb9562749e8ae1d0408c257ca44b6e5 +demos/tabs/bottom.html 237ca7c0700e402792352edc86703c27 +demos/tabs/collapsible.html b5374183ecef2dbe0c90a68dfb133312 +demos/tabs/default.html bd533ed7c9bd72c5282f6829fd3df218 +demos/tabs/index.html 0c5de49104cbcaa52b4541c4e3ec1069 +demos/tabs/manipulation.html a0abdde9bca185505cad2bd1607c1141 +demos/tabs/mouseover.html cb7b7756603f43fa943b428c48b50ec9 +demos/tabs/sortable.html 31a3b947d0d9f0c5003d41c12220be1e +demos/tabs/vertical.html a31b69f6cc78661c9c15f4a19a515385 +demos/toggle/default.html 86b2e440bfebb230448a1eb0ec2fdc97 +demos/toggle/index.html 1ecebffae58a5a73527c4376635669f2 +demos/toggleClass/default.html df414a009c479ce2f12f9c0dfb668ac7 +demos/toggleClass/index.html 1ecebffae58a5a73527c4376635669f2 +demos/tooltip/ajax/content1.html 12a3151f0923a1b6289e8ab1a348eee2 +demos/tooltip/ajax/content2.html afd4c4907b88dfa728d7d0773f348d31 +demos/tooltip/custom-animation.html 015f241a590da9f9330d7dab194cd720 +demos/tooltip/custom-content.html 640a20172a870a7e0daf7bdf0de6291e +demos/tooltip/custom-style.html 6746ba919b5f2bbfb64a19b1ee3172a8 +demos/tooltip/default.html b36baf45c65ba84b1026c3423465b765 +demos/tooltip/forms.html 275e70a5a647d393cd05c0eea1e3fd67 +demos/tooltip/images/st-stephens.jpg 753aec4fa1c8c80bec3732ebf454a632 +demos/tooltip/images/tower-bridge.jpg 66d36bf9a4ea5baf6a717e5b0ca06c40 +demos/tooltip/index.html cdf3b5b7616d24ef087adcc7f05700da +demos/tooltip/tracking.html e4bf9836c8a695bf9cf89f628020cb33 +demos/tooltip/video-player.html 2f2e3c9370e389202f477f768db2e5a7 +demos/widget/default.html aa8edb8878d8ce1fa408c585d8d8b4f2 +demos/widget/index.html dbd594416083998b2ba3462b64b96aae +external/globalize.culture.de-DE.js 7ca47099bde44c5c647b9ee859d38418 +external/globalize.culture.ja-JP.js 0f4692b553b5ae2d9d5c6698e91664cc +external/globalize.js 8aa0b2b9858380f3f8f1d5c648fc02c2 +external/jquery.mousewheel.js 99457f3dc7082452b9fdc702b3dfcbaf +external/jshint.js e25340f0196f65135f50877c0fe6efe2 +external/qunit.css 37687050b4af752017145c24bfd9c2f4 +external/qunit.js c88d05352e715c460e26f5db688c1d13 +jquery-1.9.1.js 08c235d357750c657ac1db7d1cf656a9 +package.json 8ee347cd5bd8331c710b6dccb45fc7a6 +tests/index.css 1975db2466c0425aa5bde34b58490513 +tests/index.html d117582e9393b1bdf056d78c536d2d96 +tests/index.js 5cb5a4eb5eefc483727fa6383b83e3b6 +tests/jquery-1.6.1.js 4b65ea7175ec8007f79bf245cf909e05 +tests/jquery-1.6.2.js fc1ebe9026579ec6d37993f1eaceb54a +tests/jquery-1.6.3.js 5761f94379fe831aba5129cbb4b8a257 +tests/jquery-1.6.4.js e3cfaf7a2c029866cb5fc35c883907fb +tests/jquery-1.6.js 4d9bd9c1be819924dfec925a678077d2 +tests/jquery-1.7.1.js 6f477fa74c5027c9ec6945f9235bdf35 +tests/jquery-1.7.2.js 85d6bc8bb1725066ad866e17086dcdd3 +tests/jquery-1.7.js ba1e8d241eb0be1a07a031377aebdcef +tests/jquery-1.8.0.js 15ea967efbc17ae4f37d9db743e712b5 +tests/jquery-1.8.1.js 3fb547ed8dc2b18ab3ea88e4b8868f19 +tests/jquery-1.8.2.js ef68beaa375acd83206bbc0cf92970e9 +tests/jquery-1.8.3.js 2073df88a429ccbe5dca5e2c40e742b4 +tests/jquery-1.9.0.js f3346149a7173e70d39e6f36bfb178a4 +tests/jquery-1.9.1.js 08c235d357750c657ac1db7d1cf656a9 +tests/jquery.js fb6f96f1c5db020866e96f1350c6fd64 +tests/jquery.simulate.js 77a796da2b4544b1afc97a196e4ebcd4 +tests/unit/accordion/accordion.html 56973698b4d67cd4f87976b99a995360 +tests/unit/accordion/accordion_common.js 432f694f4c2ad29d0079753f42cbdb9b +tests/unit/accordion/accordion_core.js 72a2ec9b52cbc7143e61122ef2d9fcd0 +tests/unit/accordion/accordion_events.js 51a5304f2fc4a2a246622bc4a0f51629 +tests/unit/accordion/accordion_methods.js 2bfaf4aa95d70747be78b4f278985695 +tests/unit/accordion/accordion_options.js 021f0d27d1f9df9c857588cad812af15 +tests/unit/accordion/accordion_test_helpers.js 54546f504f3af43033fd824135e28e90 +tests/unit/accordion/all.html 8775074561676645f96f794cd4de4495 +tests/unit/all.html 1f789501d47da74b6eb71c77b9be5fad +tests/unit/autocomplete/all.html 2d6302968bb965488fc9fedd83de0a3a +tests/unit/autocomplete/autocomplete.html 6b5a374713489139d283a1adc687ca76 +tests/unit/autocomplete/autocomplete_common.js 41eb983cb553bac7f9304a516dda2344 +tests/unit/autocomplete/autocomplete_core.js 6ab4bc6755e266768ac7a070aab8c307 +tests/unit/autocomplete/autocomplete_events.js 95eb26e267489afe3ab75a295cb392e2 +tests/unit/autocomplete/autocomplete_methods.js ebae0a966b238bd89e4673307a2f77e3 +tests/unit/autocomplete/autocomplete_options.js c61a3751033bf7245f31ebc067b1bb34 +tests/unit/autocomplete/remote_object_array_labels.txt 47e4bc9f1926d7b98eb7e11991ab0961 +tests/unit/autocomplete/remote_object_array_values.txt 5db4d5ca44a403a6d15c38076208c019 +tests/unit/autocomplete/remote_string_array.txt 5a68e737a3ded6571ad5c79cad5c853f +tests/unit/button/all.html d765f4d9df831c4e9554fd8d52ec252f +tests/unit/button/button.html 32541d1ef4779bd336c6c23900e37370 +tests/unit/button/button_common.js 57e70e1e0a4f6e9c62ba01622745d652 +tests/unit/button/button_core.js 7a54341f46bd77716c60cb0dda701be5 +tests/unit/button/button_events.js 34072c28effa6e5627222d5760b05526 +tests/unit/button/button_methods.js 7d5c50a43f98408b4d3b0b6620f8b6b9 +tests/unit/button/button_options.js 66991dd555d3f2c7989b718affed8cad +tests/unit/core/all.html 651c73f54a9fc5e7c6c1bfb26d6dc6c8 +tests/unit/core/core.html 5773ad09c485b2a85aace0d3841710df +tests/unit/core/core.js 0eb343f0a17182d0d018d9cc110708b2 +tests/unit/core/selector.js b039256d06c4209f1ba2a1d0b92e6795 +tests/unit/datepicker/all.html 8c61e085b9a34fa119a4d1fe84b23947 +tests/unit/datepicker/datepicker.html fc505c5cbebfb540b7460f70226368ba +tests/unit/datepicker/datepicker_common.js da2e216e7486a17640c152ccae9bce4e +tests/unit/datepicker/datepicker_core.js 7d9c456bf8194593c72863ba7d0af1b7 +tests/unit/datepicker/datepicker_events.js 15fcde79f8dd3070476e6b0c703b0de2 +tests/unit/datepicker/datepicker_methods.js 9339ed34c35a517c42b0422b35173098 +tests/unit/datepicker/datepicker_options.js 64ae882d5688daaab562b05ee2751f07 +tests/unit/datepicker/datepicker_test_helpers.js c5dc63f04ad252adf76abf1a7d1bc7fe +tests/unit/datepicker/images/calendar.gif ecae0392680875218dde6eec7ba713ae +tests/unit/dialog/all.html 644f225f593be502d894b33367356c64 +tests/unit/dialog/dialog.html e30868d13c202212308b6dbb3a83d7da +tests/unit/dialog/dialog_common.js 8095d571d9ce39c1ba9b9ca3196565b7 +tests/unit/dialog/dialog_core.js d83106c08d90eb74e73479f20b08a5be +tests/unit/dialog/dialog_deprecated.html a5132ea51e4d36c53248dba5135440fa +tests/unit/dialog/dialog_deprecated.js 92024860fdbf8f559aaec50f33679f8a +tests/unit/dialog/dialog_events.js a6ea96edb013d921cfc017dd3b466984 +tests/unit/dialog/dialog_methods.js 34d85b6c909e6159eb72558617be575f +tests/unit/dialog/dialog_options.js 48537004ea6e461e6a2a4f698d983411 +tests/unit/dialog/dialog_test_helpers.js 6bde838d6ed5e88e1c27e8de15b9fa4a +tests/unit/draggable/all.html 8a4736c7aecbe3981d1198f83f3ff7ed +tests/unit/draggable/draggable.html bc70338c67f0a7ebd53650ab419e112a +tests/unit/draggable/draggable_common.js def6c57bad222afec2d1168e1d9c04d7 +tests/unit/draggable/draggable_core.js 79a6a849ef2f2b966b3ca206ce1759fc +tests/unit/draggable/draggable_events.js eb0d6dabeff78e72f20d32b14c23d996 +tests/unit/draggable/draggable_methods.js 3821ed8f83fcc13f08b66dee2bd245ef +tests/unit/draggable/draggable_options.js 52dfda6b6d27be0e4c15996dbb26d85c +tests/unit/draggable/draggable_test_helpers.js ab8bfd37e82f479b7220320ae2464432 +tests/unit/droppable/all.html de845ad3e7505d387b3173c4365c6da6 +tests/unit/droppable/droppable.html d3bbc631b02e58516663272a366a191a +tests/unit/droppable/droppable_common.js 91882be881a84fea7b1e0ec45a8b2ca2 +tests/unit/droppable/droppable_core.js de2a35afb3e459985b0d0dedb9b093ad +tests/unit/droppable/droppable_events.js eb29bb8950a648460586765019ca84c4 +tests/unit/droppable/droppable_methods.js 0a6ee3b24d729eeb20964a83724af439 +tests/unit/droppable/droppable_options.js e1271ee5a56bba24fa98cf52babc7dee +tests/unit/droppable/droppable_test_helpers.js b1ba5248d747e336434f3876da111981 +tests/unit/effects/all.html 24212028e29ab86a63d5393a315d7c95 +tests/unit/effects/effects.html e71d6f046ecfd20dc0342522656df4c7 +tests/unit/effects/effects_core.js e3cda7655c9aa7eb3d5a514b8de6654c +tests/unit/effects/effects_scale.js 81271ea4c56fb82f9336fe87058404f2 +tests/unit/images/jqueryui_32x32.png b5907552b610ac23f514760d3e30db78 +tests/unit/index.html f3af22ddb0a418ce7c89a9d724cfca62 +tests/unit/menu/all.html b612e6c9eba8abc1d6a77fb16e968c60 +tests/unit/menu/menu.html 46fdf57c4b8ccceea2351a696e53585c +tests/unit/menu/menu_common.js 14ff1786dc6fd7b4bb36165748996fad +tests/unit/menu/menu_core.js a9bab987cbef99d52781d1189cfbc742 +tests/unit/menu/menu_events.js d8b04f2daac5d88165807ff3cdde4906 +tests/unit/menu/menu_methods.js fc26fe8740ff519d9695ef6992b26992 +tests/unit/menu/menu_options.js 6239868707dd5e3aa3fbb5082581e07a +tests/unit/menu/menu_test_helpers.js 137f4cf6c1b2879f3e94066800de2669 +tests/unit/position/all.html f173a685f94bce9a0f2afd004f8ace79 +tests/unit/position/position.html df8fe227ff37d50f1f965b32f4b870fb +tests/unit/position/position_core.js 97b5cddbb0870fa8b54c7e3cd7f9cbde +tests/unit/progressbar/all.html 83627198459812ca449a9ee430ed3778 +tests/unit/progressbar/progressbar.html fee63970c42b3ad1f5cb032ae2255020 +tests/unit/progressbar/progressbar_common.js a23adf8bd501eb49aeeffbd24160e036 +tests/unit/progressbar/progressbar_core.js 56e676fb918d441003f81702a5469c94 +tests/unit/progressbar/progressbar_events.js 1fc602b409157c3cc5786c3c19843702 +tests/unit/progressbar/progressbar_methods.js 41605c770a137a33535095110edc1d46 +tests/unit/progressbar/progressbar_options.js f8edf4492fadef665d99b5b4f220ce6a +tests/unit/qunit-composite.css bf9a7cb34b4e8c0379e565e6d3ec487f +tests/unit/qunit-composite.js 2bafe0b898f476e0b51b119ea54939b2 +tests/unit/resizable/all.html bf8539e10a1a4bcd62a2b408568fe9ae +tests/unit/resizable/images/test.jpg b8c459677bc8915cda93bf9efe86d72c +tests/unit/resizable/resizable.html a684be8dfcb79bf2230c44f27e96a355 +tests/unit/resizable/resizable_common.js a5f05d5392c3ba34a4e8d5bc2b8c927e +tests/unit/resizable/resizable_core.js 4562c4a5cf4d0eb01734c56e365e34a4 +tests/unit/resizable/resizable_events.js 243f20a2a751210cbb7f393df109d9eb +tests/unit/resizable/resizable_methods.js f71dbbbb8c72ea6ac6a3a41df2e64c30 +tests/unit/resizable/resizable_options.js 4f82090dac67560e1f3de5d21b070d97 +tests/unit/resizable/resizable_test_helpers.js a200da89ae7a74e1aca3e89b2975e529 +tests/unit/selectable/all.html ead180397c3603a080121de587e6485c +tests/unit/selectable/selectable.html 30cda03229830e5fcd12a6092eadf916 +tests/unit/selectable/selectable_common.js bcf3baf9883e6a9f9d70b4af19cbcfaa +tests/unit/selectable/selectable_core.js ae8129f4b08d9fc637223e6c1fe43125 +tests/unit/selectable/selectable_events.js a86acfa0c3397e313b24bda2859ca44b +tests/unit/selectable/selectable_methods.js 96d128be3a52d04e60f6e1e82a319a75 +tests/unit/selectable/selectable_options.js 60452417be0ea4bf73e9a350b440cb43 +tests/unit/slider/all.html 26e883e27367e89ba8eec8945260b0e1 +tests/unit/slider/slider.html 8aa77586769cea5bf0c9fa3c9ad140b4 +tests/unit/slider/slider_common.js 8643772a233ae367e11dd9af0da6bb9e +tests/unit/slider/slider_core.js c9adabb41ef386717dd171fc3ae99c97 +tests/unit/slider/slider_events.js 8357ab4f77be8e93335d56dd54cfbc69 +tests/unit/slider/slider_methods.js 779bf0dc22701185e287d675e046ac30 +tests/unit/slider/slider_options.js e721c187411b15b8dec429f8c2df86f5 +tests/unit/sortable/all.html 2db13ed2fba3e1978c4eae2c2c8d830d +tests/unit/sortable/sortable.html 0946e8fff2d57824fd0e51569441e822 +tests/unit/sortable/sortable_common.js 07629ea5d09768cd576c8a6bc3052ee5 +tests/unit/sortable/sortable_core.js 13094091aa0e6e1cb69fed5aae89ed73 +tests/unit/sortable/sortable_events.js 23fb859505697fbcbaa6256517980b3b +tests/unit/sortable/sortable_methods.js fb44be61d747a5de33b7d722d4635625 +tests/unit/sortable/sortable_options.js 3aac89e279e4f2b2c34a2a8389b9b0e5 +tests/unit/sortable/sortable_test_helpers.js b0dda6cfb320d1f37fd5b0e46ea306c0 +tests/unit/spinner/all.html 9a5e18b7f80a598fc93c2bab7cd602a6 +tests/unit/spinner/spinner.html 0c281720fc0bc501527a8f2bb060e5e3 +tests/unit/spinner/spinner_common.js e0084a518f2e54c222d14247cbe6436b +tests/unit/spinner/spinner_core.js ec97922ca3bd5c4e4a81489b6e2f451f +tests/unit/spinner/spinner_events.js 975dde87c8ecf8548630ce3f2d6d2300 +tests/unit/spinner/spinner_methods.js 3753c26a2f6bf1dfcdec1774e1ce00d6 +tests/unit/spinner/spinner_options.js 03f527bba5cfa16ca49bc102eaae3e23 +tests/unit/spinner/spinner_test_helpers.js 2f9d7a1a54bbebaed1b3982fcbc77878 +tests/unit/subsuite.js 557df000a529ea3e8f921cb2da10a0b3 +tests/unit/swarminject.js edd2bc76548cce6675263e6cd43145e8 +tests/unit/tabs/all.html e2127e6673f9f17d3da585bc7aaa60a4 +tests/unit/tabs/data/test.html 94382cbd6df9df6b2d8dbebb59740dd3 +tests/unit/tabs/tabs.html 54ef396a25ff7695bb6904f83674e19a +tests/unit/tabs/tabs_common.js 907cb2cd2b9a4acad75dbbf7f7a3d865 +tests/unit/tabs/tabs_core.js 19f32b66c465dabd264869287d4935da +tests/unit/tabs/tabs_events.js 67802c3855ad9dced2ac32bf7d663d29 +tests/unit/tabs/tabs_methods.js 4c0e4a27edad8ae65b5d6f302e9cdf0a +tests/unit/tabs/tabs_options.js c47cb447d292a312c886f17e77a5cc07 +tests/unit/tabs/tabs_test_helpers.js 3fa3b964947f3bfb767a0d5809b52100 +tests/unit/testsuite.js feedafb6a85901dda22389d795291a0b +tests/unit/tooltip/all.html 9b17b49a2c09c30247ad6de8e783beeb +tests/unit/tooltip/tooltip.html b8c2f7eaf5a19bde14bf0ff5c032c6ad +tests/unit/tooltip/tooltip_common.js 905ecb3445955642ff8ff8bd6f9b84c9 +tests/unit/tooltip/tooltip_core.js 8999ce3f66047c39a436e8d2c7776ea8 +tests/unit/tooltip/tooltip_events.js 7f6992ca8273f9145b9d94b60461c592 +tests/unit/tooltip/tooltip_methods.js aed9d6fc6acbe0aeb9ecf10c0729a6de +tests/unit/tooltip/tooltip_options.js caaba4e2825877ce574038ed20d710c5 +tests/unit/widget/all.html e9f5b985bcc01e70291b9ad630067737 +tests/unit/widget/widget.html b56a5deb1de2d1cdced819870149a7d4 +tests/unit/widget/widget_animation.js 38a8438ccb896155f00739bb0a5cc24d +tests/unit/widget/widget_core.js ae981cb65d7970509cdc1735d68cda0e +tests/unit/widget/widget_extend.js b0ca0e5aa6c74b6d0332808f8fb390c2 +tests/visual/accordion/icons.html 8cd10ced65e5bdfa521398e4cc70f8a8 +tests/visual/addClass/queue.html 2869e0d2a88c2bfd53aac525fa3b0e3c +tests/visual/button/button.html 7ccd19161de9bbd08559ffea5ead7b34 +tests/visual/button/performance.html f4985d5ca903a84ffdcc09824c0452cc +tests/visual/compound/accordion_tabs.html 3374f17d716322f00fc022d42746fb6d +tests/visual/compound/datepicker_dialog.html 2690053ee95929462eb359724fe10fc9 +tests/visual/compound/dialog_widgets.html 60afb8d0513473f76838330e1b7bf95f +tests/visual/compound/draggable_accordion.html 98b522b10bd19b051d939a426b0fd30f +tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html 7df45cb369c47b18953c00fa1ef8ec64 +tests/visual/compound/sortable_accordion_sortable_tabs.html 22dcb429dad7efa991978f9889ca2a7b +tests/visual/compound/tabs_tabs.html 5067e5e7f13b2fa4f1b6d8438a13cf47 +tests/visual/compound/tabs_tooltips.html a3df03e16cd1fbbf6b8fbc2dfec8482a +tests/visual/dialog/animated.html a16fb382675223032d89dbdf83fccca8 +tests/visual/dialog/complex-dialogs.html c1891232cf635796413aadbbe8b05acd +tests/visual/dialog/form.html ca53bfb938d252aea432f4317a07c42b +tests/visual/dialog/performance.html e1843ef032881e7cd7354e02b6deea3a +tests/visual/effects/all.html e9f958801563b33aca311dca99393b7f +tests/visual/effects/effects.css e9f39ec2b841172f489d672ce57e6c3f +tests/visual/effects/effects.js cf826d29cefa363e5974fad875637927 +tests/visual/effects/scale.html 687244e30f4ede62a520017043506f8e +tests/visual/index.html 702256273945179cc9ad8d196382e940 +tests/visual/menu/menu.html 3292872484b7a6fb53dd7b2717c12d65 +tests/visual/position/position.html ee3486b9f13517c448a0c12082301432 +tests/visual/position/position_feedback.html 90a740c34db3579b98b9ec9dda1de7bc +tests/visual/theme.html 58badf1abfa77505303d98fe1b6ec1c1 +tests/visual/tooltip/animations.html 0714bf60494d825d65f8f9e1056eb330 +tests/visual/tooltip/tooltip.html a7fc5b1bf9df9dafb50478f4533f6cf2 +tests/visual/visual.css da740540ef7976839bc9611338de0181 +themes/base/images/animated-overlay.gif 7b1d52ef7bdaa05f5948dc3a1f75d1e3 +themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png 4b5c132cf83d2d3e48e5a559739709ee +themes/base/images/ui-bg_flat_75_ffffff_40x100.png 1bbf3e17a3d20b23c665b78994c93f0a +themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png 472c9a50dc526afcfeaf739ff67816cd +themes/base/images/ui-bg_glass_65_ffffff_1x400.png 6fed187efb9afef2679ff9a46dd6bef7 +themes/base/images/ui-bg_glass_75_dadada_1x400.png 49c75ede4c8c0a97752cc2bd34c36e3f +themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png a4b7af89c12cc2b0c24a6b06c6ee4c46 +themes/base/images/ui-bg_glass_95_fef1ec_1x400.png 0fdd53e72a8bded481b24b70797b8373 +themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png e2a1926fe6fcb1f025c300fb36b76a6f +themes/base/images/ui-icons_222222_256x240.png cac9343b455ba1077614c1bb583cbe18 +themes/base/images/ui-icons_2e83ff_256x240.png 559b15504e19e757f34ac93c35893408 +themes/base/images/ui-icons_454545_256x240.png 619efe8651a5e9c49aed92368fa9dff3 +themes/base/images/ui-icons_888888_256x240.png 993a8340d509467ebd9dfcb49ed5daa0 +themes/base/images/ui-icons_cd0a0a_256x240.png e76f396c14ecad218b72a59abe670a9c +themes/base/jquery-ui.css dfcf2d9b984ec33bc6bb11e755ca0931 +themes/base/jquery.ui.accordion.css c677733deff67c23fa7cfe19c0577838 +themes/base/jquery.ui.all.css 133e9d6344d8f45faecabf460fb90ddd +themes/base/jquery.ui.autocomplete.css 4e38d58f6f4d9833aae52cb876957579 +themes/base/jquery.ui.base.css 156e8bb01c0072e473ffb100e7deb311 +themes/base/jquery.ui.button.css ee438e5986244c14397da2b3bf826dfb +themes/base/jquery.ui.core.css 75db4e0758fc6c2a1c55d519a46f95e8 +themes/base/jquery.ui.datepicker.css e52f90a4d1492b9148ac71687cb1e9bf +themes/base/jquery.ui.dialog.css 6636c36dde8c111dbe27a382e1acccb8 +themes/base/jquery.ui.menu.css 7794040d4d03ac4a1e09c3983ffc36db +themes/base/jquery.ui.progressbar.css 4f12f77935d98dfb627788c14d2d040e +themes/base/jquery.ui.resizable.css 55b81132ab74d10d2c1d6dcbde7e6b5f +themes/base/jquery.ui.selectable.css 8e26a3ae1825b7b74fe3587e5bb11f49 +themes/base/jquery.ui.slider.css be3ff74589a1fede91194c0f8bbf34ed +themes/base/jquery.ui.spinner.css 2a82468eb92c93a142096d6171d7b983 +themes/base/jquery.ui.tabs.css 4f56abc501c5ede112b6f05c9bf2531e +themes/base/jquery.ui.theme.css 187fc9fe3177cd2d9093ab759581943f +themes/base/jquery.ui.tooltip.css 74dc316b0056155feeb3090bf2253792 +themes/base/minified/images/animated-overlay.gif 7b1d52ef7bdaa05f5948dc3a1f75d1e3 +themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png 4b5c132cf83d2d3e48e5a559739709ee +themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png 1bbf3e17a3d20b23c665b78994c93f0a +themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png 472c9a50dc526afcfeaf739ff67816cd +themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png 6fed187efb9afef2679ff9a46dd6bef7 +themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png 49c75ede4c8c0a97752cc2bd34c36e3f +themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png a4b7af89c12cc2b0c24a6b06c6ee4c46 +themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png 0fdd53e72a8bded481b24b70797b8373 +themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png e2a1926fe6fcb1f025c300fb36b76a6f +themes/base/minified/images/ui-icons_222222_256x240.png cac9343b455ba1077614c1bb583cbe18 +themes/base/minified/images/ui-icons_2e83ff_256x240.png 559b15504e19e757f34ac93c35893408 +themes/base/minified/images/ui-icons_454545_256x240.png 619efe8651a5e9c49aed92368fa9dff3 +themes/base/minified/images/ui-icons_888888_256x240.png 993a8340d509467ebd9dfcb49ed5daa0 +themes/base/minified/images/ui-icons_cd0a0a_256x240.png e76f396c14ecad218b72a59abe670a9c +themes/base/minified/jquery-ui.min.css 0c923991a9be5b4270d12d91dda7ce05 +themes/base/minified/jquery.ui.accordion.min.css 23adad0c1f50661eea96e3f45abe4e75 +themes/base/minified/jquery.ui.autocomplete.min.css 78c2c2cfc94c25e730545b0fb02fb277 +themes/base/minified/jquery.ui.button.min.css 7b168e272387e55cd50672777cb76bb9 +themes/base/minified/jquery.ui.core.min.css f20fcb108ff3384a216e26b0dab70d6d +themes/base/minified/jquery.ui.datepicker.min.css 3666f7e2da035cb203969a3600383514 +themes/base/minified/jquery.ui.dialog.min.css 26cc953b1ecb1b6e10ad8a39315e1fbb +themes/base/minified/jquery.ui.menu.min.css 55704c761e0d832032ab4f3b957e4906 +themes/base/minified/jquery.ui.progressbar.min.css 0f75c9a363cbd4e67792cfaecd6f4547 +themes/base/minified/jquery.ui.resizable.min.css 1d79910da7f7ac2be6fdc2b46b6e24bb +themes/base/minified/jquery.ui.selectable.min.css be1e69317fb14e993be57fc21f819d63 +themes/base/minified/jquery.ui.slider.min.css 724ae13e47f6e456b4161b1da495657c +themes/base/minified/jquery.ui.spinner.min.css 93b914c9ef11faff87084cc1d81baead +themes/base/minified/jquery.ui.tabs.min.css acc01779259df0fc5161937d2294070d +themes/base/minified/jquery.ui.theme.min.css 363f6f425370cfd688c8fc175b33d4b5 +themes/base/minified/jquery.ui.tooltip.min.css 34430822a8c38df7c71c9944f42ea386 +ui.accordion.jquery.json 9bebdacb543d1922611eba1accfb7c31 +ui.autocomplete.jquery.json 9332beff6188e4f59f48d24deb8a5e6c +ui.button.jquery.json 0da78022eb4ce7eba30ff64abb4b7fb9 +ui.core.jquery.json da751a6f606499a72e557cf00b745839 +ui.datepicker.jquery.json 4e2444b15983bad078cb586d2a6498f7 +ui.dialog.jquery.json 0bb6baa610de2b77c0d9450ca74556fe +ui.draggable.jquery.json 7d275aa3e7646fb823eeb2690e2e4f37 +ui.droppable.jquery.json 9c4a92838ed20cf0b0c03f2af8c74d34 +ui.effect-blind.jquery.json 530efea8ab68fbb4fb4c5cb570041f55 +ui.effect-bounce.jquery.json 0b85d86bb5c677ac50073fba0703958f +ui.effect-clip.jquery.json b79f33bc02186798d1473d38cb11b0e1 +ui.effect-drop.jquery.json 99efba7ee2e2da0be9ead9235b656c87 +ui.effect-explode.jquery.json d1f51e082cff321b2ab1e2af78bec103 +ui.effect-fade.jquery.json 34d82751a4f106825c741f6de470806d +ui.effect-fold.jquery.json 5dd7a1a28f139a1c57cb5e64c986c9cd +ui.effect-highlight.jquery.json dc3b13fc8a19a9db7280d31a54490be9 +ui.effect-pulsate.jquery.json 43e3955f352cf52e13e85dede51fbdb5 +ui.effect-scale.jquery.json 69d335d0f84aa1e48cc06f1d1b81ce88 +ui.effect-shake.jquery.json 1b87b80ca9d385e88fc142111dc1e5b2 +ui.effect-slide.jquery.json c865de9289e92ac502d991fb2de20ab1 +ui.effect-transfer.jquery.json 1fc3656b8ff6a1d079203cd4a4ecb888 +ui.effect.jquery.json a42168aa556b300ef6d4a55bf155d4a1 +ui.menu.jquery.json ce46b960118589d9b869def404b09410 +ui.mouse.jquery.json 78efeff7f19de092eb7d597cc45575f0 +ui.position.jquery.json 3ebe1842308b2f021f4b856fc9ca5902 +ui.progressbar.jquery.json ddd1ac9b57323942c3262cd1995ca651 +ui.resizable.jquery.json 5d6effc77f319c6c36d859ae28e1cf4e +ui.selectable.jquery.json 7f59a8a0d47bc320a6e260e348581944 +ui.slider.jquery.json 74a4d0e84000f0385d0c7acb4b86bca4 +ui.sortable.jquery.json bdb87f83a65b51ad781554ad15c6bb8f +ui.spinner.jquery.json 4e0a78fae51d58db8f62c7d07b474c02 +ui.tabs.jquery.json 82f0d05bda85c22bfacbf13f3844758c +ui.tooltip.jquery.json f5661275a7447ba749522e513fe4a566 +ui.widget.jquery.json ac7685b98ec24cc59395bd4a8e15c24b +ui/i18n/jquery-ui-i18n.js 859461a8f65ccb18b75304e0948f4095 +ui/i18n/jquery.ui.datepicker-af.js 3f6dc7167ebfdab2e4c06ca1f7ecbf55 +ui/i18n/jquery.ui.datepicker-ar-DZ.js 56090ba6fc5c479ae4cda7c576836820 +ui/i18n/jquery.ui.datepicker-ar.js 942eaa8e2a371c9858a75e3f58ac27c0 +ui/i18n/jquery.ui.datepicker-az.js 1aea4f0f8c0e6a30328f192aff2a1c0f +ui/i18n/jquery.ui.datepicker-be.js 47798259b2d017908e77584020a46d8c +ui/i18n/jquery.ui.datepicker-bg.js 24c64c898073fdf4e176c7a57eed2108 +ui/i18n/jquery.ui.datepicker-bs.js 02b7d071b1bd94ea1bf6b80434bf25bd +ui/i18n/jquery.ui.datepicker-ca.js 94457329c5dfa19ec34ca758ef9af96f +ui/i18n/jquery.ui.datepicker-cs.js 8b24b1eb5c72e00db3eaf1893712535d +ui/i18n/jquery.ui.datepicker-cy-GB.js fb40b70ba78ef9f4251a86355c5f65f7 +ui/i18n/jquery.ui.datepicker-da.js 4ca3479af4b128605a4b1ba0a460864b +ui/i18n/jquery.ui.datepicker-de.js 9e724b55121fe31b366ec12cdf7dd04f +ui/i18n/jquery.ui.datepicker-el.js 9e5f4ce80bfa2188a0c39bc0ef3f67bc +ui/i18n/jquery.ui.datepicker-en-AU.js 4a38655904f6c55da227cea464b55a2b +ui/i18n/jquery.ui.datepicker-en-GB.js 24a226a281a11799c495abc21f696c23 +ui/i18n/jquery.ui.datepicker-en-NZ.js af985e8d034123f14696aa116027760d +ui/i18n/jquery.ui.datepicker-eo.js 284e3234ab912cab90b7df798d2229d6 +ui/i18n/jquery.ui.datepicker-es.js 063c7ec2c48ba362e5a5d80dbb3add9d +ui/i18n/jquery.ui.datepicker-et.js 7340534709a670fdc0e6c778f81e69d0 +ui/i18n/jquery.ui.datepicker-eu.js 24751dd4dcabb58b82ee0817fea84fd3 +ui/i18n/jquery.ui.datepicker-fa.js 5e6dab546d1aeaba3ea1b08cb8a78905 +ui/i18n/jquery.ui.datepicker-fi.js a2316212db1e436c816e97bbaf408fa0 +ui/i18n/jquery.ui.datepicker-fo.js afd8c9bc15c5885362c656e5d7c84890 +ui/i18n/jquery.ui.datepicker-fr-CA.js caa86bb3277b220d6412236a27a3fc2d +ui/i18n/jquery.ui.datepicker-fr-CH.js 7e82004b7c69db43aa72d4cbb1713b6f +ui/i18n/jquery.ui.datepicker-fr.js 74ff0c1602ce756629885acbd13680b8 +ui/i18n/jquery.ui.datepicker-gl.js 4675f94f450180e380a1601a6b371508 +ui/i18n/jquery.ui.datepicker-he.js a791d8f0ac08b0d2876bcd21e029d39a +ui/i18n/jquery.ui.datepicker-hi.js 0a77f05797ea2541aefa54587f72d274 +ui/i18n/jquery.ui.datepicker-hr.js 09c6d590bc6341774a7b6fe81949bcc1 +ui/i18n/jquery.ui.datepicker-hu.js df7114c7beb23fac576e3ad4dd58f826 +ui/i18n/jquery.ui.datepicker-hy.js bf602b00d963e8060915f407aa06117c +ui/i18n/jquery.ui.datepicker-id.js fb0ad98a3ad212b1986fcac5015b0435 +ui/i18n/jquery.ui.datepicker-is.js 24fe69d4dfc3f807c0409c1825bf06c1 +ui/i18n/jquery.ui.datepicker-it.js eee4c720914c640bcd852ba846549823 +ui/i18n/jquery.ui.datepicker-ja.js 8f22d47039a716ab9dc558ef5cb606c5 +ui/i18n/jquery.ui.datepicker-ka.js 59ced607df538bff4b30bde208558e78 +ui/i18n/jquery.ui.datepicker-kk.js 17cd8c09bfc4fb4d1009d0d7251d45bc +ui/i18n/jquery.ui.datepicker-km.js 1adb43c3aaa02820ddc47bd6291c35d5 +ui/i18n/jquery.ui.datepicker-ko.js c07463fd9be92f2a74a8693e11a3a6ed +ui/i18n/jquery.ui.datepicker-ky.js 78c4fbe7edc801a3d7ac96479f38c471 +ui/i18n/jquery.ui.datepicker-lb.js 070ff75dff2e4c5ecaeefcf69362a824 +ui/i18n/jquery.ui.datepicker-lt.js 241a4dbd5a6a6eebf0bff07d898d70ef +ui/i18n/jquery.ui.datepicker-lv.js c0f98f27e580e081955e201b181fb061 +ui/i18n/jquery.ui.datepicker-mk.js a5f91ba250568d5923bc0d7cb5cbc949 +ui/i18n/jquery.ui.datepicker-ml.js 183a9c567fe5c2d5024fb82cee66ff32 +ui/i18n/jquery.ui.datepicker-ms.js 51efc50e21ae012a17f4f3cd0f2ac93d +ui/i18n/jquery.ui.datepicker-nb.js 1f791342b878511cb7f589cd27b04521 +ui/i18n/jquery.ui.datepicker-nl-BE.js 1e12ff741b12964e1fd73673d4aaf44d +ui/i18n/jquery.ui.datepicker-nl.js e2e6f9efa2cd758e29c5a5d9463f3a4f +ui/i18n/jquery.ui.datepicker-nn.js 81637fae116f19daaaeec66ece964b4b +ui/i18n/jquery.ui.datepicker-no.js 2fa4f2894f94ecf35729c51e8183addf +ui/i18n/jquery.ui.datepicker-pl.js be287cf01c812b8df9e69fd84b075cef +ui/i18n/jquery.ui.datepicker-pt-BR.js dff6b4f131f72032ff0a69a555c7c6a4 +ui/i18n/jquery.ui.datepicker-pt.js 195beac164d3b2cfc5b8d02e98353834 +ui/i18n/jquery.ui.datepicker-rm.js 0601228208954434efea2ccf265f5b94 +ui/i18n/jquery.ui.datepicker-ro.js 6ca441ce332624416e84ad38034e7795 +ui/i18n/jquery.ui.datepicker-ru.js 0d41df9a86abe85b7b63028957c73106 +ui/i18n/jquery.ui.datepicker-sk.js 87b2273b7f29f1e0d848891337beb5c4 +ui/i18n/jquery.ui.datepicker-sl.js 486c5cd6945b02f0749df41fdc3f352e +ui/i18n/jquery.ui.datepicker-sq.js 77e864f9841f5152d5920daf9e3e2f32 +ui/i18n/jquery.ui.datepicker-sr-SR.js 19cbf770b97c3ee2c334dcc5d057ddbf +ui/i18n/jquery.ui.datepicker-sr.js c7cbb822cfc23aec41c95de8330f2feb +ui/i18n/jquery.ui.datepicker-sv.js 018ff01252e3a0ac5bb15dbe39b429cd +ui/i18n/jquery.ui.datepicker-ta.js 3bf8496fd386e4694af8823300a532e3 +ui/i18n/jquery.ui.datepicker-th.js abd6001b82c780af58bfe9a64d0a0d9a +ui/i18n/jquery.ui.datepicker-tj.js bab95a8bfd829041af4be1c5a782c935 +ui/i18n/jquery.ui.datepicker-tr.js adc631c4ab7b682d16a2153c27ce288c +ui/i18n/jquery.ui.datepicker-uk.js aae92337f25274e12be54766da9ad8d0 +ui/i18n/jquery.ui.datepicker-vi.js eb28234f86f04fc28490f893fa4238fe +ui/i18n/jquery.ui.datepicker-zh-CN.js 26131e8a11678170b28c0a469d43aaee +ui/i18n/jquery.ui.datepicker-zh-HK.js d283c9c7266ad9f6fa2dbc46db3026f5 +ui/i18n/jquery.ui.datepicker-zh-TW.js 443e52a6fae355caecbd60e63b5c72d3 +ui/jquery-ui.js ec9758d9508e2fd22ddbdc6d5a28f214 +ui/jquery.ui.accordion.js 59eb033ec33e7c4df0e13486c79c93ee +ui/jquery.ui.autocomplete.js 9979e47b6a92a4d03977d12eef25e29b +ui/jquery.ui.button.js 3df9998201ab013e5d2efdf47767705c +ui/jquery.ui.core.js 67e9965f7485144ddd09c285e6459416 +ui/jquery.ui.datepicker.js 059b3cd66b443a46d7a65a6a9e40681a +ui/jquery.ui.dialog.js eac53ba1f9959dc8b25b18e17875da48 +ui/jquery.ui.draggable.js 6d3e3acb1956fb1a9b662259077febd4 +ui/jquery.ui.droppable.js 1f40bea85e18e83f65e1fd8edd2249ff +ui/jquery.ui.effect-blind.js 607efd93d68b65f503e5950539653357 +ui/jquery.ui.effect-bounce.js 531715198b9746136a524810b1181873 +ui/jquery.ui.effect-clip.js 6b85b3ac4625027dd4617e16ae9b95bf +ui/jquery.ui.effect-drop.js e647f273d097c45cf9edab01fd0d8a9e +ui/jquery.ui.effect-explode.js a00c4ae2fe2a829bd49528e60eb9d921 +ui/jquery.ui.effect-fade.js d9616bed46deb0f61c33b11d937ca592 +ui/jquery.ui.effect-fold.js 17cd7ef5bb0180552f689eaa0808a43a +ui/jquery.ui.effect-highlight.js 0da42fff4e930d8fe5168002acb2186c +ui/jquery.ui.effect-pulsate.js dad82d636ba5d13d6f624dd565ad1715 +ui/jquery.ui.effect-scale.js 5405491e2e92ac3d6f7567a68a017627 +ui/jquery.ui.effect-shake.js 075e62cf997e38bf21168831014d8dd5 +ui/jquery.ui.effect-slide.js a725bd11046c846511cdc284d4dca654 +ui/jquery.ui.effect-transfer.js b53cb1d6dcec8067454e0da205ef67ad +ui/jquery.ui.effect.js 77ee3f3aadbd70175d5f8779d206322d +ui/jquery.ui.menu.js d5c1cd9f036cff2b8f3abd471adbf4f2 +ui/jquery.ui.mouse.js d7139cdb96ee896bc8fadbcd4daf8f64 +ui/jquery.ui.position.js fe73e7c3e4df26fb60769ec9e648ea20 +ui/jquery.ui.progressbar.js c9a9d7784102c2dc6beb13d3e9ecfa0d +ui/jquery.ui.resizable.js bf149cde457e4def45f03293e69a5b4a +ui/jquery.ui.selectable.js 29bb728dfbfe32f034dae29f0ea8e9ed +ui/jquery.ui.slider.js b7e2bb921f7081e70c20393627253800 +ui/jquery.ui.sortable.js 82e26fd27d53d40961800e008010ba4f +ui/jquery.ui.spinner.js 2d48e8d40ba862274accd863c0fec4ad +ui/jquery.ui.tabs.js 52104b9f938d99e7dc42dbc66e26ff65 +ui/jquery.ui.tooltip.js 3d8d30007c6fbd88df21bc7e99cd7922 +ui/jquery.ui.widget.js bddbabe47387bcd9fbf0a764c8d715ed +ui/minified/i18n/jquery-ui-i18n.min.js 0a6751ba5cc36f09c574bf75493f1931 +ui/minified/i18n/jquery.ui.datepicker-af.min.js b6e9f2d0fcb5c5e4f08ecee7a420e3a7 +ui/minified/i18n/jquery.ui.datepicker-ar-DZ.min.js ebc1ab6f4871869646788514a3250140 +ui/minified/i18n/jquery.ui.datepicker-ar.min.js aba2f75725c7d578ea417d730044acb1 +ui/minified/i18n/jquery.ui.datepicker-az.min.js f09dcd48a89ac27c571690a3b5e30816 +ui/minified/i18n/jquery.ui.datepicker-be.min.js 538b2b17ff9c6f70b76562a76ed8f2ac +ui/minified/i18n/jquery.ui.datepicker-bg.min.js 171a07a8e2df5523b331d95b92be77f0 +ui/minified/i18n/jquery.ui.datepicker-bs.min.js 0194361a0c4f9c1d32d8b00bc3eecfe3 +ui/minified/i18n/jquery.ui.datepicker-ca.min.js 41a3f4ab7fab3624724790b8d67b296d +ui/minified/i18n/jquery.ui.datepicker-cs.min.js d656c048f7bfa31a131abe0a6f475881 +ui/minified/i18n/jquery.ui.datepicker-cy-GB.min.js c37a26009b79a3b7b91a03b57b823b11 +ui/minified/i18n/jquery.ui.datepicker-da.min.js 9c6b9613749ebc4517aa94470e0a204e +ui/minified/i18n/jquery.ui.datepicker-de.min.js a5e5866cc2d69f7edb33705ee963c79b +ui/minified/i18n/jquery.ui.datepicker-el.min.js 9508d8536687db0657e05b050ecd1f23 +ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js 372400cb5f990b80db4ebf650bb6fe83 +ui/minified/i18n/jquery.ui.datepicker-en-GB.min.js 5cb0eb1e93f0548edc92b79ca02ba8e6 +ui/minified/i18n/jquery.ui.datepicker-en-NZ.min.js 84b2a26f6b57776346f9ecf5996ef496 +ui/minified/i18n/jquery.ui.datepicker-eo.min.js 0e92525a80f2412e997b6adad12c9865 +ui/minified/i18n/jquery.ui.datepicker-es.min.js ce79a3ecbf302c7039765148bef992cc +ui/minified/i18n/jquery.ui.datepicker-et.min.js 8dc9e0ee756c307c6b8dddc511c4b2f4 +ui/minified/i18n/jquery.ui.datepicker-eu.min.js 2909f1243cbf5f41b07bbbd40b10f0cd +ui/minified/i18n/jquery.ui.datepicker-fa.min.js 23b653bcfe8d3536221dbab2f4059675 +ui/minified/i18n/jquery.ui.datepicker-fi.min.js f731720ed71280f73cacced90416508e +ui/minified/i18n/jquery.ui.datepicker-fo.min.js a18ec81642cc8e4d589e8e00231db861 +ui/minified/i18n/jquery.ui.datepicker-fr-CA.min.js d754bca919332cb985f54759cbe77f70 +ui/minified/i18n/jquery.ui.datepicker-fr-CH.min.js 49dfe53eebf0c0b9a8da6f73be50a3cb +ui/minified/i18n/jquery.ui.datepicker-fr.min.js 108defc4ebc2c0fbbde2437cb965ebb9 +ui/minified/i18n/jquery.ui.datepicker-gl.min.js 8f79095dc425cdf9a04c529f91af65a0 +ui/minified/i18n/jquery.ui.datepicker-he.min.js 25d01d01067a2f8254a680bd648aeb6d +ui/minified/i18n/jquery.ui.datepicker-hi.min.js 70192d9d7d71379b8bf8434be2014bac +ui/minified/i18n/jquery.ui.datepicker-hr.min.js e7e7fb3534726246bbac83d5093566a8 +ui/minified/i18n/jquery.ui.datepicker-hu.min.js a2830348186cde2e4cc8dfea4712b37a +ui/minified/i18n/jquery.ui.datepicker-hy.min.js 780dda5457e2cbc28f9008e659c1b397 +ui/minified/i18n/jquery.ui.datepicker-id.min.js de11dd221d97e9f565fa2d90f30978e6 +ui/minified/i18n/jquery.ui.datepicker-is.min.js e6f648800b7294bb4816971f90ecc92e +ui/minified/i18n/jquery.ui.datepicker-it.min.js 4bdb038405348eb24eca566d4e7c9196 +ui/minified/i18n/jquery.ui.datepicker-ja.min.js bc3411ec66a8f225f96410fcaeb505a3 +ui/minified/i18n/jquery.ui.datepicker-ka.min.js a0f094d9e5c0e2937d3d398b8b0ac60a +ui/minified/i18n/jquery.ui.datepicker-kk.min.js 92895e175a63bc81e8c6d431d6eff75d +ui/minified/i18n/jquery.ui.datepicker-km.min.js 41f6b2ee5a2e3587c44a6b15462b2f72 +ui/minified/i18n/jquery.ui.datepicker-ko.min.js aea1dc1cccd1539d132d66fdb5c8ca1e +ui/minified/i18n/jquery.ui.datepicker-ky.min.js 4ec5dbaa5492b5731dd130e07414981f +ui/minified/i18n/jquery.ui.datepicker-lb.min.js 098d13f550fe9ac7d43fb3af562462c9 +ui/minified/i18n/jquery.ui.datepicker-lt.min.js d4f56b470c2c4954156b1f08c42dcc1b +ui/minified/i18n/jquery.ui.datepicker-lv.min.js cb8fb305355233b7a4668a15c9e64317 +ui/minified/i18n/jquery.ui.datepicker-mk.min.js ed18a1f2e735805fa43a59115ef0654d +ui/minified/i18n/jquery.ui.datepicker-ml.min.js 21a175e2760ce280afe9c05280869573 +ui/minified/i18n/jquery.ui.datepicker-ms.min.js 657a1e9175f8e49f443e8da12489ecd1 +ui/minified/i18n/jquery.ui.datepicker-nb.min.js d8509ccb781cdb0de94a7ad7ab44e04f +ui/minified/i18n/jquery.ui.datepicker-nl-BE.min.js 78176ad81724d30c11e0d29c0127501a +ui/minified/i18n/jquery.ui.datepicker-nl.min.js 216bc3a4f30162c638f0d0c2c9d3e985 +ui/minified/i18n/jquery.ui.datepicker-nn.min.js e63a16f5496cdd4d1465d9bce3317c18 +ui/minified/i18n/jquery.ui.datepicker-no.min.js 8ed571f7b6ec5c090d248bed85de0eaa +ui/minified/i18n/jquery.ui.datepicker-pl.min.js 4ec34c255ca2a759c9049d31cca6f0f7 +ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js d3dacb089424d7aabed8f0a7b2042c85 +ui/minified/i18n/jquery.ui.datepicker-pt.min.js 2a1494738fe7dd7c39a648c6e131c000 +ui/minified/i18n/jquery.ui.datepicker-rm.min.js 1511f63cafb94b6790492ae75fd52694 +ui/minified/i18n/jquery.ui.datepicker-ro.min.js aa8d2edb8aae20ef367dbc6e93f27ac9 +ui/minified/i18n/jquery.ui.datepicker-ru.min.js 1f2f3dd13bcff3c7c57a709512ad67ad +ui/minified/i18n/jquery.ui.datepicker-sk.min.js 1ddd8ce39bce48541cf7bc672cb9cfe3 +ui/minified/i18n/jquery.ui.datepicker-sl.min.js 5ea5aaa33137b7aec29037ab963c8864 +ui/minified/i18n/jquery.ui.datepicker-sq.min.js 48acd44cc8d6e81cfc22b59b0e15a38c +ui/minified/i18n/jquery.ui.datepicker-sr-SR.min.js 5718422e9b1348a077402e20424f9f66 +ui/minified/i18n/jquery.ui.datepicker-sr.min.js 8d5e638856c4c4a640efbbfa67a06f9e +ui/minified/i18n/jquery.ui.datepicker-sv.min.js 33e2fccb3bf1964dd942649daa4b14d2 +ui/minified/i18n/jquery.ui.datepicker-ta.min.js 4d75af34454f18e71c7f6b829286beb3 +ui/minified/i18n/jquery.ui.datepicker-th.min.js 20beacec2dfa6c78ee543762ee03ad1c +ui/minified/i18n/jquery.ui.datepicker-tj.min.js df19d155d63799e5039321afc218dc46 +ui/minified/i18n/jquery.ui.datepicker-tr.min.js 6f78d8d957ba57e671fee6029464400b +ui/minified/i18n/jquery.ui.datepicker-uk.min.js 9853061334dfa7a7d7713170d8703625 +ui/minified/i18n/jquery.ui.datepicker-vi.min.js 109ef6d0b866e12b5c0697fb3152f156 +ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js a37157759d3cd0fbd89fdeab1576a4a0 +ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js 11caab8d3e8f632a5c59d2ca8197eb51 +ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js 7cff0a89b3227c0a0233afbc2e31c311 +ui/minified/jquery-ui.min.js fd255415839568e52a48da5de5af244c +ui/minified/jquery.ui.accordion.min.js 1da489eb8b596be7a49f1be959249988 +ui/minified/jquery.ui.autocomplete.min.js c6c4d43ac586574589a0ec4542a890a8 +ui/minified/jquery.ui.button.min.js 1cc433c88d349c513c801378c4493f19 +ui/minified/jquery.ui.core.min.js 739cf68f21c10e04cde3ad13fcff9063 +ui/minified/jquery.ui.datepicker.min.js 4eac58ed8deb3189c8d05bab9187f1ce +ui/minified/jquery.ui.dialog.min.js 3248497acc4c9a3eae7d094860937708 +ui/minified/jquery.ui.draggable.min.js 67b603ea0e4abe708f871111fcf45738 +ui/minified/jquery.ui.droppable.min.js 79ea08a1eb866ba2039cc617ada702de +ui/minified/jquery.ui.effect-blind.min.js 625c5e7376d305ce4a11fd1277de5734 +ui/minified/jquery.ui.effect-bounce.min.js 81ee7ab27ed9b0f3556a406ff6aad80b +ui/minified/jquery.ui.effect-clip.min.js 71a13d33f3fc7de23f13adcc4593a5a2 +ui/minified/jquery.ui.effect-drop.min.js 1d045fd3777c8376972022e868891b86 +ui/minified/jquery.ui.effect-explode.min.js 3ae92de7419e58815544147641a87930 +ui/minified/jquery.ui.effect-fade.min.js 79debe8459f8ceca8443086bf29e16a0 +ui/minified/jquery.ui.effect-fold.min.js f8cda9cadd854d552cc429d799274962 +ui/minified/jquery.ui.effect-highlight.min.js 15b8d390675cf17bc3a73c3619557fb4 +ui/minified/jquery.ui.effect-pulsate.min.js 3d639b4c14c1f6b080f746b7250554c3 +ui/minified/jquery.ui.effect-scale.min.js 783b0ad56b1a8a97b76079a1d41c6f88 +ui/minified/jquery.ui.effect-shake.min.js 782fbb6948781cffd80ddf4030196952 +ui/minified/jquery.ui.effect-slide.min.js 945300af618d04041dc49a0a5d36a917 +ui/minified/jquery.ui.effect-transfer.min.js e91b94a47085eac01afbf48c8cd515f0 +ui/minified/jquery.ui.effect.min.js ea7d13d6d2212ba59159c40b2a57bd3b +ui/minified/jquery.ui.menu.min.js e0b94d0041ca790b68af39edf821d238 +ui/minified/jquery.ui.mouse.min.js 513bb6d79ab29c58ab1b32646216a3a0 +ui/minified/jquery.ui.position.min.js eb63c3d2dace62e102af74004ccd0ff1 +ui/minified/jquery.ui.progressbar.min.js 35086553121b0423a8f2eaaedca79152 +ui/minified/jquery.ui.resizable.min.js 1cca9d1d61a8a9bef77cfea0f39e793d +ui/minified/jquery.ui.selectable.min.js 6908d69d10dae3d04c23ca83a884ba6f +ui/minified/jquery.ui.slider.min.js f1b234712eabc4fea71eaadcf2e73ffa +ui/minified/jquery.ui.sortable.min.js cccbd3de04d2ff8cd30164925353c394 +ui/minified/jquery.ui.spinner.min.js ab6ea5b371afc02315dfaa7dfd4a1063 +ui/minified/jquery.ui.tabs.min.js 3d531a65189ab04b164e9ac6ff708c06 +ui/minified/jquery.ui.tooltip.min.js 4fbdb31340b01c249a0fe5112e0eeec9 +ui/minified/jquery.ui.widget.min.js 2425a542e6dde093dd85ac0b5adc0141 diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/MIT-LICENSE.txt b/97suifangqa/staticfiles/plugins/jquery-ui/MIT-LICENSE.txt new file mode 100644 index 0000000..1c693e3 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/MIT-LICENSE.txt @@ -0,0 +1,26 @@ +Copyright 2013 jQuery Foundation and other contributors, +http://jqueryui.com/ + +This software consists of voluntary contributions made by many +individuals (AUTHORS.txt, http://jqueryui.com/about) For exact +contribution history, see the revision history and logs, available +at http://jquery-ui.googlecode.com/svn/ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/README.md b/97suifangqa/staticfiles/plugins/jquery-ui/README.md new file mode 100644 index 0000000..e7ae90e --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/README.md @@ -0,0 +1,99 @@ +[jQuery UI](http://jqueryui.com/) - Interactions and Widgets for the web +================================ + +jQuery UI provides interactions like Drag and Drop and widgets like Autocomplete, Tabs and Slider and makes these as easy to use as jQuery itself. + +If you want to use jQuery UI, go to [jqueryui.com](http://jqueryui.com) to get started. Or visit the [Using jQuery UI Forum](http://forum.jquery.com/using-jquery-ui) for discussions and questions. + +If you are interested in helping develop jQuery UI, you are in the right place. +To discuss development with team members and the community, visit the [Developing jQuery UI Forum](http://forum.jquery.com/developing-jquery-ui) or in #jquery on irc.freednode.net. + + +For contributors +--- + +If you want to help and provide a patch for a bugfix or new feature, please take +a few minutes and look at [our Getting Involved guide](http://wiki.jqueryui.com/w/page/35263114/Getting-Involved). +In particular check out the [Coding standards](http://wiki.jqueryui.com/w/page/12137737/Coding-standards) +and [Commit Message Style Guide](http://wiki.jqueryui.com/w/page/25941597/Commit-Message-Style-Guide). + +In general, fork the project, create a branch for a specific change and send a +pull request for that branch. Don't mix unrelated changes. You can use the commit +message as the description for the pull request. + + +Running the Unit Tests +--- + +Run the unit tests with a local server that supports PHP. No database is required. Pre-configured php local servers are available for Windows and Mac. Here are some options: + +- Windows: [WAMP download](http://www.wampserver.com/en/) +- Mac: [MAMP download](http://www.mamp.info/en/index.html) +- Linux: [Setting up LAMP](https://www.linux.com/learn/tutorials/288158-easy-lamp-server-installation) +- [Mongoose (most platforms)](http://code.google.com/p/mongoose/) + + +Building jQuery UI +--- + +jQuery UI uses the [grunt](http://github.com/cowboy/grunt) build system. Building jQuery UI requires node.js and a command line zip program. + +Install grunt. + +`npm install grunt -g` + +Clone the jQuery UI git repo. + +`git clone git://github.com/jquery/jquery-ui.git` + +`cd jquery-ui` + +Install node modules. + +`npm install` + +Run grunt. + +`grunt build` + +There are many other tasks that can be run through grunt. For a list of all tasks: + +`grunt --help` + + +For committers +--- + +When looking at pull requests, first check for [proper commit messages](http://wiki.jqueryui.com/w/page/12137724/Bug-Fixing-Guide). + +Do not merge pull requests directly through GitHub's interface. +Most pull requests are a single commit; cherry-picking will avoid creating a merge commit. +It's also common for contributors to make minor fixes in an additional one or two commits. +These should be squashed before landing in master. + +**Make sure the author has a valid name and email address associated with the commit.** + +Fetch the remote first: + + git fetch [their-fork.git] [their-branch] + +Then cherry-pick the commit(s): + + git cherry-pick [sha-of-commit] + +If you need to edit the commit message: + + git cherry-pick -e [sha-of-commit] + +If you need to edit the changes: + + git cherry-pick -n [sha-of-commit] + # make changes + git commit --author="[author-name-and-email]" + +If it should go to the stable brach, cherry-pick it to stable: + + git checkout 1-8-stable + git cherry-pick -x [sha-of-commit-from-master] + +*NOTE: Do not cherry-pick into 1-8-stable until you have pushed the commit from master upstream.* diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/collapsible.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/collapsible.html new file mode 100644 index 0000000..659dfa7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/collapsible.html @@ -0,0 +1,50 @@ + + + + + jQuery UI Accordion - Collapse content + + + + + + + + + + +
    +

    Section 1

    +
    +

    Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

    +
    +

    Section 2

    +
    +

    Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

    +
    +

    Section 3

    +
    +

    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

    +
      +
    • List item one
    • +
    • List item two
    • +
    • List item three
    • +
    +
    +

    Section 4

    +
    +

    Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

    Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

    +
    +
    + +
    +

    By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the collapsible option to true. Click on the currently open section to collapse its content pane.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/custom-icons.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/custom-icons.html new file mode 100644 index 0000000..dd5a91f --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/custom-icons.html @@ -0,0 +1,64 @@ + + + + + jQuery UI Accordion - Customize icons + + + + + + + + + + + +
    +

    Section 1

    +
    +

    Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

    +
    +

    Section 2

    +
    +

    Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

    +
    +

    Section 3

    +
    +

    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

    +
      +
    • List item one
    • +
    • List item two
    • +
    • List item three
    • +
    +
    +

    Section 4

    +
    +

    Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

    Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

    +
    +
    + + + +
    +

    Customize the header icons with the icons option, which accepts classes for the header's default and active (open) state. Use any class from the UI CSS framework, or create custom classes with background images.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/default.html new file mode 100644 index 0000000..c3bcfdd --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/default.html @@ -0,0 +1,80 @@ + + + + + jQuery UI Accordion - Default functionality + + + + + + + + + + +
    +

    Section 1

    +
    +

    + Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer + ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit + amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut + odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate. +

    +
    +

    Section 2

    +
    +

    + Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet + purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor + velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In + suscipit faucibus urna. +

    +
    +

    Section 3

    +
    +

    + Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. + Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero + ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis + lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. +

    +
      +
    • List item one
    • +
    • List item two
    • +
    • List item three
    • +
    +
    +

    Section 4

    +
    +

    + Cras dictum. Pellentesque habitant morbi tristique senectus et netus + et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in + faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia + mauris vel est. +

    +

    + Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. + Class aptent taciti sociosqu ad litora torquent per conubia nostra, per + inceptos himenaeos. +

    +
    +
    + +
    +

    +Click headers to expand/collapse content that is broken into logical sections, much like tabs. +Optionally, toggle sections open/closed on mouseover. +

    +

    +The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is +usable without JavaScript. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/fillspace.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/fillspace.html new file mode 100644 index 0000000..49f92fb --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/fillspace.html @@ -0,0 +1,72 @@ + + + + + jQuery UI Accordion - Fill space + + + + + + + + + + + + + +

    Resize the outer container:

    + +
    +
    +

    Section 1

    +
    +

    Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

    +
    +

    Section 2

    +
    +

    Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

    +
    +

    Section 3

    +
    +

    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

    +
      +
    • List item one
    • +
    • List item two
    • +
    • List item three
    • +
    +
    +

    Section 4

    +
    +

    Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

    Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

    +
    +
    +
    + +
    +

    Because the accordion is comprised of block-level elements, by default its width fills the available horizontal space. To fill the vertical space allocated by its container, set the heightStyle option to "fill", and the script will automatically set the dimensions of the accordion to the height of its parent container.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/hoverintent.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/hoverintent.html new file mode 100644 index 0000000..0ff63a3 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/hoverintent.html @@ -0,0 +1,148 @@ + + + + + jQuery UI Accordion - Open on hoverintent + + + + + + + + + + +
    +

    Section 1

    +
    +

    + Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer + ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit + amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut + odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate. +

    +
    +

    Section 2

    +
    +

    + Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet + purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor + velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In + suscipit faucibus urna. +

    +
    +

    Section 3

    +
    +

    + Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. + Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero + ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis + lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. +

    +
      +
    • List item one
    • +
    • List item two
    • +
    • List item three
    • +
    +
    +

    Section 4

    +
    +

    + Cras dictum. Pellentesque habitant morbi tristique senectus et netus + et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in + faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia + mauris vel est. +

    +

    + Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. + Class aptent taciti sociosqu ad litora torquent per conubia nostra, per + inceptos himenaeos. +

    +
    +
    + +
    +

    +Click headers to expand/collapse content that is broken into logical sections, much like tabs. +Optionally, toggle sections open/closed on mouseover. +

    +

    +The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is +usable without JavaScript. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/index.html new file mode 100644 index 0000000..92bd33d --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/index.html @@ -0,0 +1,20 @@ + + + + + jQuery UI Accordion Demos + + + +
    + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/no-auto-height.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/no-auto-height.html new file mode 100644 index 0000000..8df94cb --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/no-auto-height.html @@ -0,0 +1,50 @@ + + + + + jQuery UI Accordion - No auto height + + + + + + + + + + +
    +

    Section 1

    +
    +

    Mauris mauris ante, blandit et, ultrices a, susceros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

    +
    +

    Section 2

    +
    +

    Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

    +
    +

    Section 3

    +
    +

    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

    +
      +
    • List item
    • +
    • List item
    • +
    • List item
    • +
    • List item
    • +
    • List item
    • +
    • List item
    • +
    • List item
    • +
    +
    +
    + +
    +

    Setting heightStyle: "content" allows the accordion panels to keep their native height.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/sortable.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/sortable.html new file mode 100644 index 0000000..4a25f24 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/accordion/sortable.html @@ -0,0 +1,74 @@ + + + + + jQuery UI Accordion - Sortable + + + + + + + + + + + + + +
    +
    +

    Section 1

    +
    +

    Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

    +
    +
    +
    +

    Section 2

    +
    +

    Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

    +
    +
    +
    +

    Section 3

    +
    +

    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

    +
      +
    • List item one
    • +
    • List item two
    • +
    • List item three
    • +
    +
    +
    +
    +

    Section 4

    +
    +

    Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

    Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

    +
    +
    +
    + +
    +

    Drag the header to re-order panels.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/addClass/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/addClass/default.html new file mode 100644 index 0000000..97a06a2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/addClass/default.html @@ -0,0 +1,45 @@ + + + + + jQuery UI Effects - addClass demo + + + + + + + + + +
    +
    + Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. +
    +
    + +Run Effect + +
    +

    This demo adds a class which animates: text-indent, letter-spacing, width, height, padding, margin, and font-size.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/addClass/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/addClass/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/addClass/index.html @@ -0,0 +1,14 @@ + + + + + jQuery UI Effects Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/animate/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/animate/default.html new file mode 100644 index 0000000..4095cee --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/animate/default.html @@ -0,0 +1,55 @@ + + + + + jQuery UI Effects - Animate demo + + + + + + + + + +
    +
    +

    Animate

    +

    + Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. +

    +
    +
    + +Toggle Effect + +
    +

    Click the button above to preview the effect.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/animate/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/animate/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/animate/index.html @@ -0,0 +1,14 @@ + + + + + jQuery UI Effects Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/categories.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/categories.html new file mode 100644 index 0000000..8fe7e0b --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/categories.html @@ -0,0 +1,67 @@ + + + + + jQuery UI Autocomplete - Categories + + + + + + + + + + + + + + + + + +
    +

    A categorized search result. Try typing "a" or "n".

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/combobox.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/combobox.html new file mode 100644 index 0000000..6b1c445 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/combobox.html @@ -0,0 +1,213 @@ + + + + + jQuery UI Autocomplete - Combobox + + + + + + + + + + + + + + + +
    + + +
    + + +
    +

    A custom widget built by composition of Autocomplete and Button. You can either type something into the field to get filtered suggestions based on your input, or use the button to get the full list of selections.

    +

    The input is read from an existing select-element for progressive enhancement, passed to Autocomplete with a customized source-option.

    +

    This is not a supported or even complete widget. Its purely for demoing what autocomplete can do with a bit of customization. For a detailed explanation of how the widget works, check out this Learning jQuery article.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/custom-data.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/custom-data.html new file mode 100644 index 0000000..4e518db --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/custom-data.html @@ -0,0 +1,90 @@ + + + + + jQuery UI Autocomplete - Custom data and display + + + + + + + + + + + + + +
    Select a project (type "j" for a start):
    + + + +

    + +
    +

    You can use your own custom data formats and displays by simply overriding the default focus and select actions.

    +

    Try typing "j" to get a list of projects or just press the down arrow.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/default.html new file mode 100644 index 0000000..f904eac --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/default.html @@ -0,0 +1,58 @@ + + + + + jQuery UI Autocomplete - Default functionality + + + + + + + + + + + + +
    + + +
    + +
    +

    The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are tags for programming languages, give "ja" (for Java or JavaScript) a try.

    +

    The datasource is a simple JavaScript array, provided to the widget using the source-option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/folding.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/folding.html new file mode 100644 index 0000000..51a893b --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/folding.html @@ -0,0 +1,56 @@ + + + + + jQuery UI Autocomplete - Accent folding + + + + + + + + + + + + +
    +
    + + +
    +
    + +
    +

    The autocomplete field uses a custom source option which will match results that have accented characters even when the text field doesn't contain accented characters. However if the you type in accented characters in the text field it is smart enough not to show results that aren't accented.

    +

    Try typing "Jo" to see "John" and "Jörn", then type "Jö" to see only "Jörn".

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png new file mode 100644 index 0000000..9312f02 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png new file mode 100644 index 0000000..e003d16 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png new file mode 100644 index 0000000..4ce0704 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png new file mode 100644 index 0000000..c2da5b8 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif new file mode 100644 index 0000000..084ecb8 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/index.html new file mode 100644 index 0000000..faa18d4 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/index.html @@ -0,0 +1,25 @@ + + + + + jQuery UI Autocomplete Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/london.xml b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/london.xml new file mode 100644 index 0000000..2628549 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/london.xml @@ -0,0 +1,114 @@ + + +6987 + +London +51.5084152563931 +-0.125532746315002 +2643743 +GB +United Kingdom + +P +PPLC + + +London +42.983389283 +-81.233042387 +6058560 +CA +Canada + +P +PPL + + +East London +-33.0152850934643 +27.9116249084473 +1006984 +ZA +South Africa + +P +PPL + + +City +51.5133363996235 +-0.0890064239501953 +2643744 +GB +United Kingdom + +A +ADM2 + + +London +37.1289771 +-84.0832646 +4298960 +US +United States + +P +PPL + + +The Tower of London +51.5082349601834 +-0.0763034820556641 +6286786 +GB +United Kingdom + +S +CSTL + + +London Reefs +8.85 +112.5333333 +1879967 + + + +U +RFSU + + +Greater London +51.5 +-0.1666667 +2648110 +GB +United Kingdom + +A +ADM2 + + +London +46.1666667 +6.0166667 +2661811 +CH +Switzerland + +H +STM + + +London Borough of Islington +51.5333333 +-0.1333333 +3333156 +GB +United Kingdom + +A +ADM2 + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/maxheight.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/maxheight.html new file mode 100644 index 0000000..b576429 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/maxheight.html @@ -0,0 +1,71 @@ + + + + + jQuery UI Autocomplete - Scrollable results + + + + + + + + + + + + + +
    + + +
    + +
    +

    When displaying a long list of options, you can simply set the max-height for the autocomplete menu to prevent the menu from growing too large. Try typing "a" or "s" above to get a long list of results that you can scroll through.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/multiple-remote.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/multiple-remote.html new file mode 100644 index 0000000..ed27562 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/multiple-remote.html @@ -0,0 +1,80 @@ + + + + + jQuery UI Autocomplete - Multiple, remote + + + + + + + + + + + + + +
    + + +
    + +
    +

    Usage: Enter at least two characters to get bird name suggestions. Select a value to continue adding more names.

    +

    This is an example showing how to use the source-option along with some events to enable autocompleting multiple values into a single field.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/multiple.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/multiple.html new file mode 100644 index 0000000..68ae3d6 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/multiple.html @@ -0,0 +1,93 @@ + + + + + jQuery UI Autocomplete - Multiple values + + + + + + + + + + + + +
    + + +
    + +
    +

    Usage: Type something, eg. "j" to see suggestions for tagging with programming languages. Select a value, then continue typing to add more.

    +

    This is an example showing how to use the source-option along with some events to enable autocompleting multiple values into a single field.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html new file mode 100644 index 0000000..49083bd --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html @@ -0,0 +1,82 @@ + + + + + jQuery UI Autocomplete - Remote JSONP datasource + + + + + + + + + + + + + +
    + + + Powered by geonames.org +
    + +
    + Result: +
    +
    + +
    +

    The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are cities, displayed when at least two characters are entered into the field.

    +

    In this case, the datasource is the geonames.org webservice. While only the city name itself ends up in the input after selecting an element, more info is displayed in the suggestions to help find the right entry. That data is also available in callbacks, as illustrated by the Result area below the input.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote-with-cache.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote-with-cache.html new file mode 100644 index 0000000..b47608d --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote-with-cache.html @@ -0,0 +1,52 @@ + + + + + jQuery UI Autocomplete - Remote with caching + + + + + + + + + + + + + +
    + + +
    + +
    +

    The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are bird names, displayed when at least two characters are entered into the field.

    +

    Similar to the remote datasource demo, though this adds some local caching to improve performance. The cache here saves just one query, and could be extended to cache multiple values, one for each term.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote.html new file mode 100644 index 0000000..fefe035 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/remote.html @@ -0,0 +1,55 @@ + + + + + jQuery UI Autocomplete - Remote datasource + + + + + + + + + + + + + +
    + + +
    + +
    + Result: +
    +
    + +
    +

    The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are bird names, displayed when at least two characters are entered into the field.

    +

    The datasource is a server-side script which returns JSON data, specified via a simple URL for the source-option. In addition, the minLength-option is set to 2 to avoid queries that would return too many results and the select-event is used to display some feedback.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/search.php b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/search.php new file mode 100644 index 0000000..835772d --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/search.php @@ -0,0 +1,590 @@ +"Botaurus stellaris", +"Little Grebe"=>"Tachybaptus ruficollis", +"Black-necked Grebe"=>"Podiceps nigricollis", +"Little Bittern"=>"Ixobrychus minutus", +"Black-crowned Night Heron"=>"Nycticorax nycticorax", +"Purple Heron"=>"Ardea purpurea", +"White Stork"=>"Ciconia ciconia", +"Spoonbill"=>"Platalea leucorodia", +"Red-crested Pochard"=>"Netta rufina", +"Common Eider"=>"Somateria mollissima", +"Red Kite"=>"Milvus milvus", +"Hen Harrier"=>"Circus cyaneus", +"Montagu`s Harrier"=>"Circus pygargus", +"Black Grouse"=>"Tetrao tetrix", +"Grey Partridge"=>"Perdix perdix", +"Spotted Crake"=>"Porzana porzana", +"Corncrake"=>"Crex crex", +"Common Crane"=>"Grus grus", +"Avocet"=>"Recurvirostra avosetta", +"Stone Curlew"=>"Burhinus oedicnemus", +"Common Ringed Plover"=>"Charadrius hiaticula", +"Kentish Plover"=>"Charadrius alexandrinus", +"Ruff"=>"Philomachus pugnax", +"Common Snipe"=>"Gallinago gallinago", +"Black-tailed Godwit"=>"Limosa limosa", +"Common Redshank"=>"Tringa totanus", +"Sandwich Tern"=>"Sterna sandvicensis", +"Common Tern"=>"Sterna hirundo", +"Arctic Tern"=>"Sterna paradisaea", +"Little Tern"=>"Sternula albifrons", +"Black Tern"=>"Chlidonias niger", +"Barn Owl"=>"Tyto alba", +"Little Owl"=>"Athene noctua", +"Short-eared Owl"=>"Asio flammeus", +"European Nightjar"=>"Caprimulgus europaeus", +"Common Kingfisher"=>"Alcedo atthis", +"Eurasian Hoopoe"=>"Upupa epops", +"Eurasian Wryneck"=>"Jynx torquilla", +"European Green Woodpecker"=>"Picus viridis", +"Crested Lark"=>"Galerida cristata", +"White-headed Duck"=>"Oxyura leucocephala", +"Pale-bellied Brent Goose"=>"Branta hrota", +"Tawny Pipit"=>"Anthus campestris", +"Whinchat"=>"Saxicola rubetra", +"European Stonechat"=>"Saxicola rubicola", +"Northern Wheatear"=>"Oenanthe oenanthe", +"Savi`s Warbler"=>"Locustella luscinioides", +"Sedge Warbler"=>"Acrocephalus schoenobaenus", +"Great Reed Warbler"=>"Acrocephalus arundinaceus", +"Bearded Reedling"=>"Panurus biarmicus", +"Red-backed Shrike"=>"Lanius collurio", +"Great Grey Shrike"=>"Lanius excubitor", +"Woodchat Shrike"=>"Lanius senator", +"Common Raven"=>"Corvus corax", +"Yellowhammer"=>"Emberiza citrinella", +"Ortolan Bunting"=>"Emberiza hortulana", +"Corn Bunting"=>"Emberiza calandra", +"Great Cormorant"=>"Phalacrocorax carbo", +"Hawfinch"=>"Coccothraustes coccothraustes", +"Common Shelduck"=>"Tadorna tadorna", +"Bluethroat"=>"Luscinia svecica", +"Grey Heron"=>"Ardea cinerea", +"Barn Swallow"=>"Hirundo rustica", +"Hooded Crow"=>"Corvus cornix", +"Dunlin"=>"Calidris alpina", +"Eurasian Pied Flycatcher"=>"Ficedula hypoleuca", +"Eurasian Nuthatch"=>"Sitta europaea", +"Short-toed Tree Creeper"=>"Certhia brachydactyla", +"Wood Lark"=>"Lullula arborea", +"Tree Pipit"=>"Anthus trivialis", +"Eurasian Hobby"=>"Falco subbuteo", +"Marsh Warbler"=>"Acrocephalus palustris", +"Wood Sandpiper"=>"Tringa glareola", +"Tawny Owl"=>"Strix aluco", +"Lesser Whitethroat"=>"Sylvia curruca", +"Barnacle Goose"=>"Branta leucopsis", +"Common Goldeneye"=>"Bucephala clangula", +"Western Marsh Harrier"=>"Circus aeruginosus", +"Common Buzzard"=>"Buteo buteo", +"Sanderling"=>"Calidris alba", +"Little Gull"=>"Larus minutus", +"Eurasian Magpie"=>"Pica pica", +"Willow Warbler"=>"Phylloscopus trochilus", +"Wood Warbler"=>"Phylloscopus sibilatrix", +"Great Crested Grebe"=>"Podiceps cristatus", +"Eurasian Jay"=>"Garrulus glandarius", +"Common Redstart"=>"Phoenicurus phoenicurus", +"Blue-headed Wagtail"=>"Motacilla flava", +"Common Swift"=>"Apus apus", +"Marsh Tit"=>"Poecile palustris", +"Goldcrest"=>"Regulus regulus", +"European Golden Plover"=>"Pluvialis apricaria", +"Eurasian Bullfinch"=>"Pyrrhula pyrrhula", +"Common Whitethroat"=>"Sylvia communis", +"Meadow Pipit"=>"Anthus pratensis", +"Greylag Goose"=>"Anser anser", +"Spotted Flycatcher"=>"Muscicapa striata", +"European Greenfinch"=>"Carduelis chloris", +"Common Greenshank"=>"Tringa nebularia", +"Great Spotted Woodpecker"=>"Dendrocopos major", +"Greater Canada Goose"=>"Branta canadensis", +"Mistle Thrush"=>"Turdus viscivorus", +"Great Black-backed Gull"=>"Larus marinus", +"Goosander"=>"Mergus merganser", +"Great Egret"=>"Casmerodius albus", +"Northern Goshawk"=>"Accipiter gentilis", +"Dunnock"=>"Prunella modularis", +"Stock Dove"=>"Columba oenas", +"Common Wood Pigeon"=>"Columba palumbus", +"Eurasian Woodcock"=>"Scolopax rusticola", +"House Sparrow"=>"Passer domesticus", +"Common House Martin"=>"Delichon urbicum", +"Red Knot"=>"Calidris canutus", +"Western Jackdaw"=>"Corvus monedula", +"Brambling"=>"Fringilla montifringilla", +"Northern Lapwing"=>"Vanellus vanellus", +"European Reed Warbler"=>"Acrocephalus scirpaceus", +"Lesser Black-backed Gull"=>"Larus fuscus", +"Little Egret"=>"Egretta garzetta", +"Little Stint"=>"Calidris minuta", +"Common Linnet"=>"Carduelis cannabina", +"Mute Swan"=>"Cygnus olor", +"Common Cuckoo"=>"Cuculus canorus", +"Black-headed Gull"=>"Larus ridibundus", +"Greater White-fronted Goose"=>"Anser albifrons", +"Great Tit"=>"Parus major", +"Redwing"=>"Turdus iliacus", +"Gadwall"=>"Anas strepera", +"Fieldfare"=>"Turdus pilaris", +"Tufted Duck"=>"Aythya fuligula", +"Crested Tit"=>"Lophophanes cristatus", +"Willow Tit"=>"Poecile montanus", +"Eurasian Coot"=>"Fulica atra", +"Common Blackbird"=>"Turdus merula", +"Smew"=>"Mergus albellus", +"Common Sandpiper"=>"Actitis hypoleucos", +"Sand Martin"=>"Riparia riparia", +"Purple Sandpiper"=>"Calidris maritima", +"Northern Pintail"=>"Anas acuta", +"Blue Tit"=>"Cyanistes caeruleus", +"European Goldfinch"=>"Carduelis carduelis", +"Eurasian Whimbrel"=>"Numenius phaeopus", +"Common Reed Bunting"=>"Emberiza schoeniclus", +"Eurasian Tree Sparrow"=>"Passer montanus", +"Rook"=>"Corvus frugilegus", +"European Robin"=>"Erithacus rubecula", +"Bar-tailed Godwit"=>"Limosa lapponica", +"Dark-bellied Brent Goose"=>"Branta bernicla", +"Eurasian Oystercatcher"=>"Haematopus ostralegus", +"Eurasian Siskin"=>"Carduelis spinus", +"Northern Shoveler"=>"Anas clypeata", +"Eurasian Wigeon"=>"Anas penelope", +"Eurasian Sparrow Hawk"=>"Accipiter nisus", +"Icterine Warbler"=>"Hippolais icterina", +"Common Starling"=>"Sturnus vulgaris", +"Long-tailed Tit"=>"Aegithalos caudatus", +"Ruddy Turnstone"=>"Arenaria interpres", +"Mew Gull"=>"Larus canus", +"Common Pochard"=>"Aythya ferina", +"Common Chiffchaff"=>"Phylloscopus collybita", +"Greater Scaup"=>"Aythya marila", +"Common Kestrel"=>"Falco tinnunculus", +"Garden Warbler"=>"Sylvia borin", +"Eurasian Collared Dove"=>"Streptopelia decaocto", +"Eurasian Skylark"=>"Alauda arvensis", +"Common Chaffinch"=>"Fringilla coelebs", +"Common Moorhen"=>"Gallinula chloropus", +"Water Pipit"=>"Anthus spinoletta", +"Mallard"=>"Anas platyrhynchos", +"Winter Wren"=>"Troglodytes troglodytes", +"Common Teal"=>"Anas crecca", +"Green Sandpiper"=>"Tringa ochropus", +"White Wagtail"=>"Motacilla alba", +"Eurasian Curlew"=>"Numenius arquata", +"Song Thrush"=>"Turdus philomelos", +"European Herring Gull"=>"Larus argentatus", +"Grey Plover"=>"Pluvialis squatarola", +"Carrion Crow"=>"Corvus corone", +"Coal Tit"=>"Periparus ater", +"Spotted Redshank"=>"Tringa erythropus", +"Blackcap"=>"Sylvia atricapilla", +"Egyptian Vulture"=>"Neophron percnopterus", +"Razorbill"=>"Alca torda", +"Alpine Swift"=>"Apus melba", +"Long-legged Buzzard"=>"Buteo rufinus", +"Audouin`s Gull"=>"Larus audouinii", +"Balearic Shearwater"=>"Puffinus mauretanicus", +"Upland Sandpiper"=>"Bartramia longicauda", +"Greater Spotted Eagle"=>"Aquila clanga", +"Ring Ouzel"=>"Turdus torquatus", +"Yellow-browed Warbler"=>"Phylloscopus inornatus", +"Blue Rock Thrush"=>"Monticola solitarius", +"Buff-breasted Sandpiper"=>"Tryngites subruficollis", +"Jack Snipe"=>"Lymnocryptes minimus", +"White-rumped Sandpiper"=>"Calidris fuscicollis", +"Ruddy Shelduck"=>"Tadorna ferruginea", +"Cetti's Warbler"=>"Cettia cetti", +"Citrine Wagtail"=>"Motacilla citreola", +"Roseate Tern"=>"Sterna dougallii", +"Black-legged Kittiwake"=>"Rissa tridactyla", +"Pygmy Cormorant"=>"Phalacrocorax pygmeus", +"Booted Eagle"=>"Aquila pennata", +"Lesser White-fronted Goose"=>"Anser erythropus", +"Little Bunting"=>"Emberiza pusilla", +"Eleonora's Falcon"=>"Falco eleonorae", +"European Serin"=>"Serinus serinus", +"Twite"=>"Carduelis flavirostris", +"Yellow-legged Gull"=>"Larus michahellis", +"Gyr Falcon"=>"Falco rusticolus", +"Greenish Warbler"=>"Phylloscopus trochiloides", +"Red-necked Phalarope"=>"Phalaropus lobatus", +"Mealy Redpoll"=>"Carduelis flammea", +"Glaucous Gull"=>"Larus hyperboreus", +"Great Skua"=>"Stercorarius skua", +"Great Bustard"=>"Otis tarda", +"Velvet Scoter"=>"Melanitta fusca", +"Pine Grosbeak"=>"Pinicola enucleator", +"House Crow"=>"Corvus splendens", +"Hume`s Leaf Warbler"=>"Phylloscopus humei", +"Great Northern Loon"=>"Gavia immer", +"Long-tailed Duck"=>"Clangula hyemalis", +"Lapland Longspur"=>"Calcarius lapponicus", +"Northern Gannet"=>"Morus bassanus", +"Eastern Imperial Eagle"=>"Aquila heliaca", +"Little Auk"=>"Alle alle", +"Lesser Spotted Woodpecker"=>"Dendrocopos minor", +"Iceland Gull"=>"Larus glaucoides", +"Parasitic Jaeger"=>"Stercorarius parasiticus", +"Bewick`s Swan"=>"Cygnus bewickii", +"Little Bustard"=>"Tetrax tetrax", +"Little Crake"=>"Porzana parva", +"Baillon`s Crake"=>"Porzana pusilla", +"Long-tailed Jaeger"=>"Stercorarius longicaudus", +"King Eider"=>"Somateria spectabilis", +"Greater Short-toed Lark"=>"Calandrella brachydactyla", +"Houbara Bustard"=>"Chlamydotis undulata", +"Curlew Sandpiper"=>"Calidris ferruginea", +"Common Crossbill"=>"Loxia curvirostra", +"European Shag"=>"Phalacrocorax aristotelis", +"Horned Grebe"=>"Podiceps auritus", +"Common Quail"=>"Coturnix coturnix", +"Bearded Vulture"=>"Gypaetus barbatus", +"Lanner Falcon"=>"Falco biarmicus", +"Middle Spotted Woodpecker"=>"Dendrocopos medius", +"Pomarine Jaeger"=>"Stercorarius pomarinus", +"Red-breasted Merganser"=>"Mergus serrator", +"Eurasian Black Vulture"=>"Aegypius monachus", +"Eurasian Dotterel"=>"Charadrius morinellus", +"Common Nightingale"=>"Luscinia megarhynchos", +"Northern willow warbler"=>"Phylloscopus trochilus acredula", +"Manx Shearwater"=>"Puffinus puffinus", +"Northern Fulmar"=>"Fulmarus glacialis", +"Eurasian Eagle Owl"=>"Bubo bubo", +"Orphean Warbler"=>"Sylvia hortensis", +"Melodious Warbler"=>"Hippolais polyglotta", +"Pallas's Leaf Warbler"=>"Phylloscopus proregulus", +"Atlantic Puffin"=>"Fratercula arctica", +"Black-throated Loon"=>"Gavia arctica", +"Bohemian Waxwing"=>"Bombycilla garrulus", +"Marsh Sandpiper"=>"Tringa stagnatilis", +"Great Snipe"=>"Gallinago media", +"Squacco Heron"=>"Ardeola ralloides", +"Long-eared Owl"=>"Asio otus", +"Caspian Tern"=>"Hydroprogne caspia", +"Red-breasted Goose"=>"Branta ruficollis", +"Red-throated Loon"=>"Gavia stellata", +"Common Rosefinch"=>"Carpodacus erythrinus", +"Red-footed Falcon"=>"Falco vespertinus", +"Ross's Goose"=>"Anser rossii", +"Red Phalarope"=>"Phalaropus fulicarius", +"Pied Wagtail"=>"Motacilla yarrellii", +"Rose-coloured Starling"=>"Sturnus roseus", +"Rough-legged Buzzard"=>"Buteo lagopus", +"Saker Falcon"=>"Falco cherrug", +"European Roller"=>"Coracias garrulus", +"Short-toed Eagle"=>"Circaetus gallicus", +"Peregrine Falcon"=>"Falco peregrinus", +"Merlin"=>"Falco columbarius", +"Snow Goose"=>"Anser caerulescens", +"Snowy Owl"=>"Bubo scandiacus", +"Snow Bunting"=>"Plectrophenax nivalis", +"Common Grasshopper Warbler"=>"Locustella naevia", +"Golden Eagle"=>"Aquila chrysaetos", +"Black-winged Stilt"=>"Himantopus himantopus", +"Steppe Eagle"=>"Aquila nipalensis", +"Pallid Harrier"=>"Circus macrourus", +"European Storm-petrel"=>"Hydrobates pelagicus", +"Horned Lark"=>"Eremophila alpestris", +"Eurasian Treecreeper"=>"Certhia familiaris", +"Taiga Bean Goose"=>"Anser fabalis", +"Temminck`s Stint"=>"Calidris temminckii", +"Terek Sandpiper"=>"Xenus cinereus", +"Tundra Bean Goose"=>"Anser serrirostris", +"European Turtle Dove"=>"Streptopelia turtur", +"Leach`s Storm-petrel"=>"Oceanodroma leucorhoa", +"Eurasian Griffon Vulture"=>"Gyps fulvus", +"Paddyfield Warbler"=>"Acrocephalus agricola", +"Osprey"=>"Pandion haliaetus", +"Firecrest"=>"Regulus ignicapilla", +"Water Rail"=>"Rallus aquaticus", +"European Honey Buzzard"=>"Pernis apivorus", +"Eurasian Golden Oriole"=>"Oriolus oriolus", +"Whooper Swan"=>"Cygnus cygnus", +"Two-barred Crossbill"=>"Loxia leucoptera", +"White-tailed Eagle"=>"Haliaeetus albicilla", +"Atlantic Murre"=>"Uria aalge", +"Garganey"=>"Anas querquedula", +"Black Redstart"=>"Phoenicurus ochruros", +"Common Scoter"=>"Melanitta nigra", +"Rock Pipit"=>"Anthus petrosus", +"Lesser Spotted Eagle"=>"Aquila pomarina", +"Cattle Egret"=>"Bubulcus ibis", +"White-winged Black Tern"=>"Chlidonias leucopterus", +"Black Stork"=>"Ciconia nigra", +"Mediterranean Gull"=>"Larus melanocephalus", +"Black Kite"=>"Milvus migrans", +"Yellow Wagtail"=>"Motacilla flavissima", +"Red-necked Grebe"=>"Podiceps grisegena", +"Gull-billed Tern"=>"Gelochelidon nilotica", +"Pectoral Sandpiper"=>"Calidris melanotos", +"Barred Warbler"=>"Sylvia nisoria", +"Red-throated Pipit"=>"Anthus cervinus", +"Grey Wagtail"=>"Motacilla cinerea", +"Richard`s Pipit"=>"Anthus richardi", +"Black Woodpecker"=>"Dryocopus martius", +"Little Ringed Plover"=>"Charadrius dubius", +"Whiskered Tern"=>"Chlidonias hybrida", +"Lesser Redpoll"=>"Carduelis cabaret", +"Pallas' Bunting"=>"Emberiza pallasi", +"Ferruginous Duck"=>"Aythya nyroca", +"Whistling Swan"=>"Cygnus columbianus", +"Black Brant"=>"Branta nigricans", +"Marbled Teal"=>"Marmaronetta angustirostris", +"Canvasback"=>"Aythya valisineria", +"Redhead"=>"Aythya americana", +"Lesser Scaup"=>"Aythya affinis", +"Steller`s Eider"=>"Polysticta stelleri", +"Spectacled Eider"=>"Somateria fischeri", +"Harlequin Duck"=>"Histronicus histrionicus", +"Black Scoter"=>"Melanitta americana", +"Surf Scoter"=>"Melanitta perspicillata", +"Barrow`s Goldeneye"=>"Bucephala islandica", +"Falcated Duck"=>"Anas falcata", +"American Wigeon"=>"Anas americana", +"Blue-winged Teal"=>"Anas discors", +"American Black Duck"=>"Anas rubripes", +"Baikal Teal"=>"Anas formosa", +"Green-Winged Teal"=>"Anas carolinensis", +"Hazel Grouse"=>"Bonasa bonasia", +"Rock Partridge"=>"Alectoris graeca", +"Red-legged Partridge"=>"Alectoris rufa", +"Yellow-billed Loon"=>"Gavia adamsii", +"Cory`s Shearwater"=>"Calonectris borealis", +"Madeiran Storm-Petrel"=>"Oceanodroma castro", +"Great White Pelican"=>"Pelecanus onocrotalus", +"Dalmatian Pelican"=>"Pelecanus crispus", +"American Bittern"=>"Botaurus lentiginosus", +"Glossy Ibis"=>"Plegadis falcinellus", +"Spanish Imperial Eagle"=>"Aquila adalberti", +"Lesser Kestrel"=>"Falco naumanni", +"Houbara Bustard"=>"Chlamydotis undulata", +"Crab-Plover"=>"Dromas ardeola", +"Cream-coloured Courser"=>"Cursorius cursor", +"Collared Pratincole"=>"Glareola pratincola", +"Black-winged Pratincole"=>"Glareola nordmanni", +"Killdeer"=>"Charadrius vociferus", +"Lesser Sand Plover"=>"Charadrius mongolus", +"Greater Sand Plover"=>"Charadrius leschenaultii", +"Caspian Plover"=>"Charadrius asiaticus", +"American Golden Plover"=>"Pluvialis dominica", +"Pacific Golden Plover"=>"Pluvialis fulva", +"Sharp-tailed Sandpiper"=>"Calidris acuminata", +"Broad-billed Sandpiper"=>"Limicola falcinellus", +"Spoon-Billed Sandpiper"=>"Eurynorhynchus pygmaeus", +"Short-Billed Dowitcher"=>"Limnodromus griseus", +"Long-billed Dowitcher"=>"Limnodromus scolopaceus", +"Hudsonian Godwit"=>"Limosa haemastica", +"Little Curlew"=>"Numenius minutus", +"Lesser Yellowlegs"=>"Tringa flavipes", +"Wilson`s Phalarope"=>"Phalaropus tricolor", +"Pallas`s Gull"=>"Larus ichthyaetus", +"Laughing Gull"=>"Larus atricilla", +"Franklin`s Gull"=>"Larus pipixcan", +"Bonaparte`s Gull"=>"Larus philadelphia", +"Ring-billed Gull"=>"Larus delawarensis", +"American Herring Gull"=>"Larus smithsonianus", +"Caspian Gull"=>"Larus cachinnans", +"Ivory Gull"=>"Pagophila eburnea", +"Royal Tern"=>"Sterna maxima", +"Brünnich`s Murre"=>"Uria lomvia", +"Crested Auklet"=>"Aethia cristatella", +"Parakeet Auklet"=>"Cyclorrhynchus psittacula", +"Tufted Puffin"=>"Lunda cirrhata", +"Laughing Dove"=>"Streptopelia senegalensis", +"Great Spotted Cuckoo"=>"Clamator glandarius", +"Great Grey Owl"=>"Strix nebulosa", +"Tengmalm`s Owl"=>"Aegolius funereus", +"Red-Necked Nightjar"=>"Caprimulgus ruficollis", +"Chimney Swift"=>"Chaetura pelagica", +"Green Bea-Eater"=>"Merops orientalis", +"Grey-headed Woodpecker"=>"Picus canus", +"Lesser Short-Toed Lark"=>"Calandrella rufescens", +"Eurasian Crag Martin"=>"Hirundo rupestris", +"Red-rumped Swallow"=>"Cecropis daurica", +"Blyth`s Pipit"=>"Anthus godlewskii", +"Pechora Pipit"=>"Anthus gustavi", +"Grey-headed Wagtail"=>"Motacilla thunbergi", +"Yellow-Headed Wagtail"=>"Motacilla lutea", +"White-throated Dipper"=>"Cinclus cinclus", +"Rufous-Tailed Scrub Robin"=>"Cercotrichas galactotes", +"Thrush Nightingale"=>"Luscinia luscinia", +"White-throated Robin"=>"Irania gutturalis", +"Caspian Stonechat"=>"Saxicola maura variegata", +"Western Black-eared Wheatear"=>"Oenanthe hispanica", +"Rufous-tailed Rock Thrush"=>"Monticola saxatilis", +"Red-throated Thrush/Black-throated"=>"Turdus ruficollis", +"American Robin"=>"Turdus migratorius", +"Zitting Cisticola"=>"Cisticola juncidis", +"Lanceolated Warbler"=>"Locustella lanceolata", +"River Warbler"=>"Locustella fluviatilis", +"Blyth`s Reed Warbler"=>"Acrocephalus dumetorum", +"Caspian Reed Warbler"=>"Acrocephalus fuscus", +"Aquatic Warbler"=>"Acrocephalus paludicola", +"Booted Warbler"=>"Acrocephalus caligatus", +"Marmora's Warbler"=>"Sylvia sarda", +"Dartford Warbler"=>"Sylvia undata", +"Subalpine Warbler"=>"Sylvia cantillans", +"Ménétries's Warbler"=>"Sylvia mystacea", +"Rüppel's Warbler"=>"Sylvia rueppelli", +"Asian Desert Warbler"=>"Sylvia nana", +"Western Orphean Warbler"=>"Sylvia hortensis hortensis", +"Arctic Warbler"=>"Phylloscopus borealis", +"Radde`s Warbler"=>"Phylloscopus schwarzi", +"Western Bonelli`s Warbler"=>"Phylloscopus bonelli", +"Red-breasted Flycatcher"=>"Ficedula parva", +"Eurasian Penduline Tit"=>"Remiz pendulinus", +"Daurian Shrike"=>"Lanius isabellinus", +"Long-Tailed Shrike"=>"Lanius schach", +"Lesser Grey Shrike"=>"Lanius minor", +"Southern Grey Shrike"=>"Lanius meridionalis", +"Masked Shrike"=>"Lanius nubicus", +"Spotted Nutcracker"=>"Nucifraga caryocatactes", +"Daurian Jackdaw"=>"Corvus dauuricus", +"Purple-Backed Starling"=>"Sturnus sturninus", +"Red-Fronted Serin"=>"Serinus pusillus", +"Arctic Redpoll"=>"Carduelis hornemanni", +"Scottish Crossbill"=>"Loxia scotica", +"Parrot Crossbill"=>"Loxia pytyopsittacus", +"Black-faced Bunting"=>"Emberiza spodocephala", +"Pink-footed Goose"=>"Anser brachyrhynchus", +"Black-winged Kite"=>"Elanus caeruleus", +"European Bee-eater"=>"Merops apiaster", +"Sabine`s Gull"=>"Larus sabini", +"Sooty Shearwater"=>"Puffinus griseus", +"Lesser Canada Goose"=>"Branta hutchinsii", +"Ring-necked Duck"=>"Aythya collaris", +"Greater Flamingo"=>"Phoenicopterus roseus", +"Iberian Chiffchaff"=>"Phylloscopus ibericus", +"Ashy-headed Wagtail"=>"Motacilla cinereocapilla", +"Stilt Sandpiper"=>"Calidris himantopus", +"Siberian Stonechat"=>"Saxicola maurus", +"Greater Yellowlegs"=>"Tringa melanoleuca", +"Forster`s Tern"=>"Sterna forsteri", +"Dusky Warbler"=>"Phylloscopus fuscatus", +"Cirl Bunting"=>"Emberiza cirlus", +"Olive-backed Pipit"=>"Anthus hodgsoni", +"Sociable Lapwing"=>"Vanellus gregarius", +"Spotted Sandpiper"=>"Actitis macularius", +"Baird`s Sandpiper"=>"Calidris bairdii", +"Rustic Bunting"=>"Emberiza rustica", +"Yellow-browed Bunting"=>"Emberiza chrysophrys", +"Great Shearwater"=>"Puffinus gravis", +"Bonelli`s Eagle"=>"Aquila fasciata", +"Calandra Lark"=>"Melanocorypha calandra", +"Sardinian Warbler"=>"Sylvia melanocephala", +"Ross's Gull"=>"Larus roseus", +"Yellow-Breasted Bunting"=>"Emberiza aureola", +"Pine Bunting"=>"Emberiza leucocephalos", +"Black Guillemot"=>"Cepphus grylle", +"Pied-billed Grebe"=>"Podilymbus podiceps", +"Soft-plumaged Petrel"=>"Pterodroma mollis", +"Bulwer's Petrel"=>"Bulweria bulwerii", +"White-Faced Storm-Petrel"=>"Pelagodroma marina", +"Pallas’s Fish Eagle"=>"Haliaeetus leucoryphus", +"Sandhill Crane"=>"Grus canadensis", +"Macqueen’s Bustard"=>"Chlamydotis macqueenii", +"White-tailed Lapwing"=>"Vanellus leucurus", +"Great Knot"=>"Calidris tenuirostris", +"Semipalmated Sandpiper"=>"Calidris pusilla", +"Red-necked Stint"=>"Calidris ruficollis", +"Slender-billed Curlew"=>"Numenius tenuirostris", +"Bridled Tern"=>"Onychoprion anaethetus", +"Pallas’s Sandgrouse"=>"Syrrhaptes paradoxus", +"European Scops Owl"=>"Otus scops", +"Northern Hawk Owl"=>"Surnia ulula", +"White-Throated Needletail"=>"Hirundapus caudacutus", +"Belted Kingfisher"=>"Ceryle alcyon", +"Blue-cheeked Bee-eater"=>"Merops persicus", +"Black-headed Wagtail"=>"Motacilla feldegg", +"Northern Mockingbird"=>"Mimus polyglottos", +"Alpine Accentor"=>"Prunella collaris", +"Red-flanked Bluetail"=>"Tarsiger cyanurus", +"Isabelline Wheatear"=>"Oenanthe isabellina", +"Pied Wheatear"=>"Oenanthe pleschanka", +"Eastern Black-eared Wheatear"=>"Oenanthe melanoleuca", +"Desert Wheatear"=>"Oenanthe deserti", +"White`s Thrush"=>"Zoothera aurea", +"Siberian Thrush"=>"Zoothera sibirica", +"Eyebrowed Thrush"=>"Turdus obscurus", +"Dusky Thrush"=>"Turdus eunomus", +"Black-throated Thrush"=>"Turdus atrogularis", +"Pallas`s Grasshopper Warbler"=>"Locustella certhiola", +"Spectacled Warbler"=>"Sylvia conspicillata", +"Two-barred Warbler"=>"Phylloscopus plumbeitarsus", +"Eastern Bonelli’s Warbler"=>"Phylloscopus orientalis", +"Collared Flycatcher"=>"Ficedula albicollis", +"Wallcreeper"=>"Tichodroma muraria", +"Turkestan Shrike"=>"Lanius phoenicuroides", +"Steppe Grey Shrike"=>"Lanius pallidirostris", +"Spanish Sparrow"=>"Passer hispaniolensis", +"Red-eyed Vireo"=>"Vireo olivaceus", +"Myrtle Warbler"=>"Dendroica coronata", +"White-crowned Sparrow"=>"Zonotrichia leucophrys", +"White-throated Sparrow"=>"Zonotrichia albicollis", +"Cretzschmar`s Bunting"=>"Emberiza caesia", +"Chestnut Bunting"=>"Emberiza rutila", +"Red-headed Bunting"=>"Emberiza bruniceps", +"Black-headed Bunting"=>"Emberiza melanocephala", +"Indigo Bunting"=>"Passerina cyanea", +"Balearic Woodchat Shrike"=>"Lanius senator badius", +"Demoiselle Crane"=>"Grus virgo", +"Chough"=>"Pyrrhocorax pyrrhocorax", +"Red-Billed Chough"=>"Pyrrhocorax graculus", +"Elegant Tern"=>"Sterna elegans", +"Chukar"=>"Alectoris chukar", +"Yellow-Billed Cuckoo"=>"Coccyzus americanus", +"American Sandwich Tern"=>"Sterna sandvicensis acuflavida", +"Olive-Tree Warbler"=>"Hippolais olivetorum", +"Eastern Olivaceous Warbler"=>"Acrocephalus pallidus", +"Indian Cormorant"=>"Phalacrocorax fuscicollis", +"Spur-Winged Lapwing"=>"Vanellus spinosus", +"Yelkouan Shearwater"=>"Puffinus yelkouan", +"Trumpeter Finch"=>"Bucanetes githagineus", +"Red Grouse"=>"Lagopus scoticus", +"Rock Ptarmigan"=>"Lagopus mutus", +"Long-Tailed Cormorant"=>"Phalacrocorax africanus", +"Double-crested Cormorant"=>"Phalacrocorax auritus", +"Magnificent Frigatebird"=>"Fregata magnificens", +"Naumann's Thrush"=>"Turdus naumanni", +"Oriental Pratincole"=>"Glareola maldivarum", +"Bufflehead"=>"Bucephala albeola", +"Snowfinch"=>"Montifrigilla nivalis", +"Ural owl"=>"Strix uralensis", +"Spanish Wagtail"=>"Motacilla iberiae", +"Song Sparrow"=>"Melospiza melodia", +"Rock Bunting"=>"Emberiza cia", +"Siberian Rubythroat"=>"Luscinia calliope", +"Pallid Swift"=>"Apus pallidus", +"Eurasian Pygmy Owl"=>"Glaucidium passerinum", +"Madeira Little Shearwater"=>"Puffinus baroli", +"House Finch"=>"Carpodacus mexicanus", +"Green Heron"=>"Butorides virescens", +"Solitary Sandpiper"=>"Tringa solitaria", +"Heuglin's Gull"=>"Larus heuglini" +); + + +$result = array(); +foreach ($items as $key=>$value) { + if (strpos(strtolower($key), $q) !== false) { + array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key))); + } + if (count($result) > 11) + break; +} + +// json_encode is available in PHP 5.2 and above, or you can install a PECL module in earlier versions +echo json_encode($result); + +?> \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/xml.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/xml.html new file mode 100644 index 0000000..e16b9e1 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/autocomplete/xml.html @@ -0,0 +1,66 @@ + + + + + jQuery UI Autocomplete - XML data parsed once + + + + + + + + + + + + + +
    + + +
    + +
    + Result: +
    +
    + +
    +

    This demo shows how to retrieve some XML data, parse it using jQuery's methods, then provide it to the autocomplete as the datasource.

    +

    This should also serve as a reference on how to parse a remote XML datasource - the parsing would just happen for each request within the source-callback.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/checkbox.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/checkbox.html new file mode 100644 index 0000000..11db0de --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/checkbox.html @@ -0,0 +1,37 @@ + + + + + jQuery UI Button - Checkboxes + + + + + + + + + + + + + +
    + + + +
    + +
    +

    A checkbox is styled as a toggle button with the button widget. The label element associated with the checkbox is used for the button text.

    +

    This demo also demonstrates three checkboxes styled as a button set by calling .buttonset() on a common container.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/default.html new file mode 100644 index 0000000..502c2a5 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/default.html @@ -0,0 +1,34 @@ + + + + + jQuery UI Button - Default functionality + + + + + + + + + + + + + + +An anchor + +
    +

    Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/icons.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/icons.html new file mode 100644 index 0000000..2a63c29 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/icons.html @@ -0,0 +1,49 @@ + + + + + jQuery UI Button - Icons + + + + + + + + + + + + + + + +
    +

    Some buttons with various combinations of text and icons.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/index.html new file mode 100644 index 0000000..7956059 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/index.html @@ -0,0 +1,19 @@ + + + + + jQuery UI Button Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/radio.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/radio.html new file mode 100644 index 0000000..b175d75 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/radio.html @@ -0,0 +1,32 @@ + + + + + jQuery UI Button - Radios + + + + + + + + + + +
    +
    + + + +
    +
    + +
    +

    A set of three radio buttons transformed into a button set.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/splitbutton.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/splitbutton.html new file mode 100644 index 0000000..b58f66a --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/splitbutton.html @@ -0,0 +1,69 @@ + + + + + jQuery UI Button - Split button + + + + + + + + + + + + + +
    +
    + + +
    + +
    + +
    +

    An example of a split button built with two buttons: A plain button with just text, one with only a primary icon +and no text. Both are grouped together in a set.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/toolbar.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/toolbar.html new file mode 100644 index 0000000..306daae --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/button/toolbar.html @@ -0,0 +1,118 @@ + + + + + jQuery UI Button - Toolbar + + + + + + + + + + + +
    + + + + + + + + + + + + + + +
    + +
    +

    + A mediaplayer toolbar. Take a look at the underlying markup: A few button elements, + an input of type checkbox for the Shuffle button, and three inputs of type radio for the Repeat options. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/alt-field.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/alt-field.html new file mode 100644 index 0000000..98bf0ae --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/alt-field.html @@ -0,0 +1,29 @@ + + + + + jQuery UI Datepicker - Populate alternate field + + + + + + + + + + +

    Date:  

    + +
    +

    Populate an alternate field with its own date format whenever a date is selected using the altField and altFormat options. This feature could be used to present a human-friendly date for user selection, while passing a more computer-friendly date through for further processing.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/animation.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/animation.html new file mode 100644 index 0000000..a9872e5 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/animation.html @@ -0,0 +1,51 @@ + + + + + jQuery UI Datepicker - Animations + + + + + + + + + + + + + + + + + +

    Date:

    + +

    Animations:
    + +

    + +
    +

    Use different animations when opening or closing the datepicker. Choose an animation from the dropdown, then click on the input to see its effect. You can use one of the three standard animations or any of the UI Effects.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/buttonbar.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/buttonbar.html new file mode 100644 index 0000000..c430872 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/buttonbar.html @@ -0,0 +1,28 @@ + + + + + jQuery UI Datepicker - Display button bar + + + + + + + + + + +

    Date:

    + +
    +

    Display a button for selecting Today's date and a Done button for closing the calendar with the boolean showButtonPanel option. Each button is enabled by default when the bar is displayed, but can be turned off with additional options. Button text is customizable.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/date-formats.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/date-formats.html new file mode 100644 index 0000000..44cfba8 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/date-formats.html @@ -0,0 +1,40 @@ + + + + + jQuery UI Datepicker - Format date + + + + + + + + + + +

    Date:

    + +

    Format options:
    + +

    + +
    +

    Display date feedback in a variety of ways. Choose a date format from the dropdown, then click on the input and select a date to see it in that format.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/date-range.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/date-range.html new file mode 100644 index 0000000..7a4dbfc --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/date-range.html @@ -0,0 +1,44 @@ + + + + + jQuery UI Datepicker - Select a Date Range + + + + + + + + + + + + + + + +
    +

    Select the date range to search for.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/default.html new file mode 100644 index 0000000..1d01133 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/default.html @@ -0,0 +1,26 @@ + + + + + jQuery UI Datepicker - Default functionality + + + + + + + + + + +

    Date:

    + +
    +

    The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html new file mode 100644 index 0000000..1a04ef7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html @@ -0,0 +1,29 @@ + + + + + jQuery UI Datepicker - Display month & year menus + + + + + + + + + + +

    Date:

    + +
    +

    Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes. Add the boolean changeMonth and changeYear options.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/icon-trigger.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/icon-trigger.html new file mode 100644 index 0000000..d956168 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/icon-trigger.html @@ -0,0 +1,30 @@ + + + + + jQuery UI Datepicker - Icon trigger + + + + + + + + + + +

    Date:

    + +
    +

    Click the icon next to the input field to show the datepicker. Set the datepicker to open on focus (default behavior), on icon click, or both.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/images/calendar.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/images/calendar.gif new file mode 100644 index 0000000..d0abaa7 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/images/calendar.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/index.html new file mode 100644 index 0000000..eb903a2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/index.html @@ -0,0 +1,27 @@ + + + + + jQuery UI Datepicker Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/inline.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/inline.html new file mode 100644 index 0000000..5c52b3d --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/inline.html @@ -0,0 +1,26 @@ + + + + + jQuery UI Datepicker - Display inline + + + + + + + + + + +Date:
    + +
    +

    Display the datepicker embedded in the page instead of in an overlay. Simply call .datepicker() on a div instead of an input.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js new file mode 100644 index 0000000..cef0f08 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js @@ -0,0 +1,23 @@ +/* Arabic Translation for jQuery UI date picker plugin. */ +/* Khaled Alhourani -- me@khaledalhourani.com */ +/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ +jQuery(function($){ + $.datepicker.regional['ar'] = { + closeText: 'إغلاق', + prevText: '<السابق', + nextText: 'التالي>', + currentText: 'اليوم', + monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران', + 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'], + monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'], + dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'], + dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'], + weekHeader: 'أسبوع', + dateFormat: 'dd/mm/yy', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['ar']); +}); diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js new file mode 100644 index 0000000..934afd1 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js @@ -0,0 +1,25 @@ +/* French initialisation for the jQuery UI date picker plugin. */ +/* Written by Keith Wood (kbwood{at}iinet.com.au), + Stéphane Nahmani (sholby@sholby.net), + Stéphane Raimbault */ +jQuery(function($){ + $.datepicker.regional['fr'] = { + closeText: 'Fermer', + prevText: 'Précédent', + nextText: 'Suivant', + currentText: 'Aujourd\'hui', + monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', + 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], + monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin', + 'Juil.','Août','Sept.','Oct.','Nov.','Déc.'], + dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], + dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'], + dayNamesMin: ['D','L','M','M','J','V','S'], + weekHeader: 'Sem.', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['fr']); +}); diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js new file mode 100644 index 0000000..b9e8dee --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js @@ -0,0 +1,23 @@ +/* Hebrew initialisation for the UI Datepicker extension. */ +/* Written by Amir Hardon (ahardon at gmail dot com). */ +jQuery(function($){ + $.datepicker.regional['he'] = { + closeText: 'סגור', + prevText: '<הקודם', + nextText: 'הבא>', + currentText: 'היום', + monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני', + 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'], + monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני', + 'יולי','אוג','ספט','אוק','נוב','דצמ'], + dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], + dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], + dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], + weekHeader: 'Wk', + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['he']); +}); diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js new file mode 100644 index 0000000..b9105ea --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js @@ -0,0 +1,23 @@ +/* Chinese initialisation for the jQuery UI date picker plugin. */ +/* Written by Ressol (ressol@gmail.com). */ +jQuery(function($){ + $.datepicker.regional['zh-TW'] = { + closeText: '關閉', + prevText: '<上月', + nextText: '下月>', + currentText: '今天', + monthNames: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + monthNamesShort: ['一月','二月','三月','四月','五月','六月', + '七月','八月','九月','十月','十一月','十二月'], + dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], + dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], + dayNamesMin: ['日','一','二','三','四','五','六'], + weekHeader: '周', + dateFormat: 'yy/mm/dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: true, + yearSuffix: '年'}; + $.datepicker.setDefaults($.datepicker.regional['zh-TW']); +}); diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/localization.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/localization.html new file mode 100644 index 0000000..67d55fd --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/localization.html @@ -0,0 +1,41 @@ + + + + + jQuery UI Datepicker - Localize calendar + + + + + + + + + + + + + + +

    Date:   +

    + +
    +

    Localize the datepicker calendar language and format (English / Western formatting is the default). The datepicker includes built-in support for languages that read right-to-left, such as Arabic and Hebrew.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/min-max.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/min-max.html new file mode 100644 index 0000000..480282e --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/min-max.html @@ -0,0 +1,26 @@ + + + + + jQuery UI Datepicker - Restrict date range + + + + + + + + + + +

    Date:

    + +
    +

    Restrict the range of selectable dates with the minDate and maxDate options. Set the beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a numeric offset from today (-20), or as a string of periods and units ('+1M +10D'). For the last, use 'D' for days, 'W' for weeks, 'M' for months, or 'Y' for years.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/multiple-calendars.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/multiple-calendars.html new file mode 100644 index 0000000..6d06a47 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/multiple-calendars.html @@ -0,0 +1,29 @@ + + + + + jQuery UI Datepicker - Display multiple months + + + + + + + + + + +

    Date:

    + +
    +

    Set the numberOfMonths option to an integer of 2 or more to show multiple months in a single datepicker.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/other-months.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/other-months.html new file mode 100644 index 0000000..5242869 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/other-months.html @@ -0,0 +1,30 @@ + + + + + jQuery UI Datepicker - Dates in other months + + + + + + + + + + +

    Date:

    + +
    +

    The datepicker can show dates that come from other than the main month + being displayed. These other dates can also be made selectable.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/show-week.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/show-week.html new file mode 100644 index 0000000..0c1264e --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/datepicker/show-week.html @@ -0,0 +1,32 @@ + + + + + jQuery UI Datepicker - Show week of the year + + + + + + + + + + +

    Date:

    + +
    +

    The datepicker can show the week of the year. The default calculation follows + the ISO 8601 definition: the week starts on Monday, the first week of the year + contains the first Thursday of the year. This means that some days from one + year may be placed into weeks 'belonging' to another year.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/demos.css b/97suifangqa/staticfiles/plugins/jquery-ui/demos/demos.css new file mode 100644 index 0000000..da9ad83 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/demos.css @@ -0,0 +1,19 @@ +body { + font-size: 62.5%; + font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif"; +} + +table { + font-size: 1em; +} + +.demo-description { + clear: both; + padding: 12px; + font-size: 1.3em; + line-height: 1.4em; +} + +.ui-draggable, .ui-droppable { + background-position: top; +} diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/animated.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/animated.html new file mode 100644 index 0000000..f9dc697 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/animated.html @@ -0,0 +1,52 @@ + + + + + jQuery UI Dialog - Animation + + + + + + + + + + + + + + + + + + +
    +

    This is an animated dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.

    +
    + + + +
    +

    Dialogs may be animated by specifying an effect for the show and/or hide properties. You must include the individual effects file for any effects you would like to use.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/default.html new file mode 100644 index 0000000..dc9741a --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/default.html @@ -0,0 +1,33 @@ + + + + + jQuery UI Dialog - Default functionality + + + + + + + + + + + + + + + +
    +

    This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.

    +
    + +
    +

    The basic dialog window is an overlay positioned within the viewport and is protected from page content (like select elements) shining through with an iframe. It has a title bar and a content area, and can be moved, resized and closed with the 'x' icon by default.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/index.html new file mode 100644 index 0000000..6aaa3ec --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/index.html @@ -0,0 +1,19 @@ + + + + + jQuery UI Dialog Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-confirmation.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-confirmation.html new file mode 100644 index 0000000..7538cd1 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-confirmation.html @@ -0,0 +1,47 @@ + + + + + jQuery UI Dialog - Modal confirmation + + + + + + + + + + + + + + + +
    +

    These items will be permanently deleted and cannot be recovered. Are you sure?

    +
    + +

    Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

    + +
    +

    Confirm an action that may be destructive or important. Set the modal option to true, and specify primary and secondary user actions with the buttons option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-form.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-form.html new file mode 100644 index 0000000..a9f1c63 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-form.html @@ -0,0 +1,157 @@ + + + + + jQuery UI Dialog - Modal form + + + + + + + + + + + + + + + + + + +
    +

    All form fields are required.

    + +
    +
    + + + + + + +
    +
    +
    + + +
    +

    Existing Users:

    + + + + + + + + + + + + + + + +
    NameEmailPassword
    John Doejohn.doe@example.comjohndoe1
    +
    + + +
    +

    Use a modal dialog to require that the user enter data during a multi-step process. Embed form markup in the content area, set the modal option to true, and specify primary and secondary user actions with the buttons option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-message.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-message.html new file mode 100644 index 0000000..0a6f813 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal-message.html @@ -0,0 +1,49 @@ + + + + + jQuery UI Dialog - Modal message + + + + + + + + + + + + + + + + +
    +

    + + Your files have downloaded successfully into the My Downloads folder. +

    +

    + Currently using 36% of your storage space. +

    +
    + +

    Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

    + +
    +

    Use a modal dialog to explicitly acknowledge information or an action before continuing their work. Set the modal option to true, and specify a primary action (Ok) with the buttons option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal.html new file mode 100644 index 0000000..4579df2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/dialog/modal.html @@ -0,0 +1,38 @@ + + + + + jQuery UI Dialog - Basic modal + + + + + + + + + + + + + + + +
    +

    Adding the modal overlay screen makes the dialog look more prominent because it dims out the page content.

    +
    + +

    Sed vel diam id libero rutrum convallis. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.

    + +
    +

    A modal dialog prevents the user from interacting with the rest of the page until it is closed.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/constrain-movement.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/constrain-movement.html new file mode 100644 index 0000000..b22e4c2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/constrain-movement.html @@ -0,0 +1,58 @@ + + + + + jQuery UI Draggable - Constrain movement + + + + + + + + + + + + +

    Constrain movement along an axis:

    + +
    +

    I can be dragged only vertically

    +
    + +
    +

    I can be dragged only horizontally

    +
    + +

    Or to within another DOM element:

    +
    +
    +

    I'm contained within the box

    +
    + +
    +

    I'm contained within my parent

    +
    +
    + +
    +

    Constrain the movement of each draggable by defining the boundaries of the draggable area. Set the axis option to limit the draggable's path to the x- or y-axis, or use the containment option to specify a parent DOM element or a jQuery selector, like 'document.'

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/cursor-style.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/cursor-style.html new file mode 100644 index 0000000..05db5ea --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/cursor-style.html @@ -0,0 +1,42 @@ + + + + + jQuery UI Draggable - Cursor style + + + + + + + + + + + + +
    +

    I will always stick to the center (relative to the mouse)

    +
    + +
    +

    My cursor is at left -5 and top -5

    +
    + +
    +

    My cursor position is only controlled for the 'bottom' value

    +
    + +
    +

    Position the cursor while dragging the object. By default the cursor appears in the center of the dragged object; use the cursorAt option to specify another location relative to the draggable (specify a pixel value from the top, right, bottom, and/or left). Customize the cursor's appearance by supplying the cursor option with a valid CSS cursor value: default, move, pointer, crosshair, etc.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/default.html new file mode 100644 index 0000000..3ea1640 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/default.html @@ -0,0 +1,32 @@ + + + + + jQuery UI Draggable - Default functionality + + + + + + + + + + + + +
    +

    Drag me around

    +
    + +
    +

    Enable draggable functionality on any DOM element. Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/delay-start.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/delay-start.html new file mode 100644 index 0000000..413814b --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/delay-start.html @@ -0,0 +1,38 @@ + + + + + jQuery UI Draggable - Delay start + + + + + + + + + + + + +
    +

    Only if you drag me by 20 pixels, the dragging will start

    +
    + +
    +

    Regardless of the distance, you have to drag and wait for 1000ms before dragging starts

    +
    + +
    +

    Delay the start of dragging for a number of milliseconds with the delay option; prevent dragging until the cursor is held down and dragged a specifed number of pixels with the distance option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/events.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/events.html new file mode 100644 index 0000000..d662e88 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/events.html @@ -0,0 +1,70 @@ + + + + + jQuery UI Draggable - Events + + + + + + + + + + + + +
    + +

    Drag me to trigger the chain of events.

    + +
      +
    • "start" invoked 0x
    • +
    • "drag" invoked 0x
    • +
    • "stop" invoked 0x
    • +
    +
    + +
    +

    Layer functionality onto the draggable using the start, drag, and stop events. Start is fired at the start of the drag; drag during the drag; and stop when dragging stops.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/handle.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/handle.html new file mode 100644 index 0000000..983b653 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/handle.html @@ -0,0 +1,41 @@ + + + + + jQuery UI Draggable - Handles + + + + + + + + + + + + +
    +

    I can be dragged only by this handle

    +
    + +
    +

    You can drag me around…

    +

    …but you can't drag me by this handle.

    +
    + +
    +

    Allow dragging only when the cursor is over a specific part of the draggable. Use the handle option to specify the jQuery selector of an element (or group of elements) used to drag the object.

    +

    Or prevent dragging when the cursor is over a specific element (or group of elements) within the draggable. Use the cancel option to specify a jQuery selector over which to "cancel" draggable functionality.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/index.html new file mode 100644 index 0000000..9385068 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/index.html @@ -0,0 +1,24 @@ + + + + + jQuery UI Draggable Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/revert.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/revert.html new file mode 100644 index 0000000..8bedc06 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/revert.html @@ -0,0 +1,37 @@ + + + + + jQuery UI Draggable - Revert position + + + + + + + + + + + + +
    +

    Revert the original

    +
    + +
    +

    Revert the helper

    +
    + +
    +

    Return the draggable (or it's helper) to its original location when dragging stops with the boolean revert option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/scroll.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/scroll.html new file mode 100644 index 0000000..60737d3 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/scroll.html @@ -0,0 +1,44 @@ + + + + + jQuery UI Draggable - Auto-scroll + + + + + + + + + + + + +
    +

    Scroll set to true, default settings

    +
    + +
    +

    scrollSensitivity set to 100

    +
    + +
    +

    scrollSpeed set to 100

    +
    + +
    + +
    +

    Automatically scroll the document when the draggable is moved beyond the viewport. Set the scroll option to true to enable auto-scrolling, and fine-tune when scrolling is triggered and its speed with the scrollSensitivity and scrollSpeed options.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/snap-to.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/snap-to.html new file mode 100644 index 0000000..efa6665 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/snap-to.html @@ -0,0 +1,61 @@ + + + + + jQuery UI Draggable - Snap to element or grid + + + + + + + + + + + + +
    +

    I'm a snap target

    +
    + +
    + +
    +

    Default (snap: true), snaps to all other draggable elements

    +
    + +
    +

    I only snap to the big box

    +
    + +
    +

    I only snap to the outer edges of the big box

    +
    + +
    +

    I snap to a 20 x 20 grid

    +
    + +
    +

    I snap to a 80 x 80 grid

    +
    + +
    +

    Snap the draggable to the inner or outer boundaries of a DOM element. Use the snap, snapMode (inner, outer, both), and snapTolerance (distance in pixels the draggable must be from the element when snapping is invoked) options.

    +

    Or snap the draggable to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/sortable.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/sortable.html new file mode 100644 index 0000000..5604efd --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/sortable.html @@ -0,0 +1,50 @@ + + + + + jQuery UI Draggable + Sortable + + + + + + + + + + + + + +
      +
    • Drag me down
    • +
    + +
      +
    • Item 1
    • +
    • Item 2
    • +
    • Item 3
    • +
    • Item 4
    • +
    • Item 5
    • +
    + +
    +

    Draggables are built to interact seamlessly with sortables.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/visual-feedback.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/visual-feedback.html new file mode 100644 index 0000000..f5827c2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/draggable/visual-feedback.html @@ -0,0 +1,70 @@ + + + + + jQuery UI Draggable - Visual feedback + + + + + + + + + + + + +

    With helpers:

    + +
    +

    Original

    +
    + +
    +

    Semi-transparent clone

    +
    + +
    +

    Custom helper (in combination with cursorAt)

    +
    + +

    Stacked:

    +
    +
    +

    We are draggables..

    +
    + +
    +

    ..whose z-indexes are controlled automatically..

    +
    + +
    +

    ..with the stack option.

    +
    +
    + +
    +

    Provide feedback to users as they drag an object in the form of a helper. The helper option accepts the values 'original' (the draggable object moves with the cursor), 'clone' (a duplicate of the draggable moves with the cursor), or a function that returns a DOM element (that element is shown near the cursor during drag). Control the helper's transparency with the opacity option.

    +

    To clarify which draggable is in play, bring the draggable in motion to front. Use the zIndex option to set a higher z-index for the helper, if in play, or use the stack option to ensure that the last item dragged will appear on top of others in the same group on drag stop.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/accepted-elements.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/accepted-elements.html new file mode 100644 index 0000000..c291b5b --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/accepted-elements.html @@ -0,0 +1,53 @@ + + + + + jQuery UI Droppable - Accept + + + + + + + + + + + + + +
    +

    I'm draggable but can't be dropped

    +
    + +
    +

    Drag me to my target

    +
    + +
    +

    accept: '#draggable'

    +
    + +
    +

    Specify using the accept option which element (or group of elements) is accepted by the target droppable.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/default.html new file mode 100644 index 0000000..d9b7d61 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/default.html @@ -0,0 +1,46 @@ + + + + + jQuery UI Droppable - Default functionality + + + + + + + + + + + + + +
    +

    Drag me to my target

    +
    + +
    +

    Drop here

    +
    + +
    +

    Enable any DOM element to be droppable, a target for draggable elements.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg new file mode 100644 index 0000000..5723680 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg new file mode 100644 index 0000000..1acad3a Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg new file mode 100644 index 0000000..493e082 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg new file mode 100644 index 0000000..e158b1a Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg new file mode 100644 index 0000000..4aa96b0 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg new file mode 100644 index 0000000..da4124d Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg new file mode 100644 index 0000000..794dbdf Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg new file mode 100644 index 0000000..51e0cde Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/index.html new file mode 100644 index 0000000..deca6e4 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/index.html @@ -0,0 +1,20 @@ + + + + + jQuery UI Droppable Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/photo-manager.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/photo-manager.html new file mode 100644 index 0000000..54a805d --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/photo-manager.html @@ -0,0 +1,182 @@ + + + + + jQuery UI Droppable - Simple photo manager + + + + + + + + + + + + + + + + +
    + + + +
    +

    Trash Trash

    +
    + +
    + +
    +

    You can delete an image either by dragging it to the Trash or by clicking the trash icon.

    +

    You can "recycle" an image by dragging it back to the gallery or by clicking the recycle icon.

    +

    You can view larger image by clicking the zoom icon. jQuery UI dialog widget is used for the modal window.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/propagation.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/propagation.html new file mode 100644 index 0000000..a116755 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/propagation.html @@ -0,0 +1,73 @@ + + + + + jQuery UI Droppable - Prevent propagation + + + + + + + + + + + + + +
    +

    Drag me to my target

    +
    + +
    +

    Outer droppable

    +
    +

    Inner droppable (not greedy)

    +
    +
    + +
    +

    Outer droppable

    +
    +

    Inner droppable (greedy)

    +
    +
    + +
    +

    When working with nested droppables — for example, you may have an editable directory structure displayed as a tree, with folder and document nodes — the greedy option set to true prevents event propagation when a draggable is dropped on a child node (droppable).

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/revert.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/revert.html new file mode 100644 index 0000000..2c2fb2c --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/revert.html @@ -0,0 +1,54 @@ + + + + + jQuery UI Droppable - Revert draggable position + + + + + + + + + + + + + +
    +

    I revert when I'm dropped

    +
    + +
    +

    I revert when I'm not dropped

    +
    + +
    +

    Drop me here

    +
    + +
    +

    Return the draggable (or it's helper) to its original location when dragging stops with the boolean revert option set on the draggable.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/shopping-cart.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/shopping-cart.html new file mode 100644 index 0000000..fe7d636 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/shopping-cart.html @@ -0,0 +1,94 @@ + + + + + jQuery UI Droppable - Shopping Cart Demo + + + + + + + + + + + + + + + +
    +

    Products

    +
    +

    T-Shirts

    +
    +
      +
    • Lolcat Shirt
    • +
    • Cheezeburger Shirt
    • +
    • Buckit Shirt
    • +
    +
    +

    Bags

    +
    +
      +
    • Zebra Striped
    • +
    • Black Leather
    • +
    • Alligator Leather
    • +
    +
    +

    Gadgets

    +
    +
      +
    • iPhone
    • +
    • iPod
    • +
    • iPad
    • +
    +
    +
    +
    + +
    +

    Shopping Cart

    +
    +
      +
    1. Add your items here
    2. +
    +
    +
    + +
    +

    Demonstrate how to use an accordion to structure products into a catalog and make use of drag and drop for adding them to a shopping cart, where they are sortable.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/visual-feedback.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/visual-feedback.html new file mode 100644 index 0000000..06b8325 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/droppable/visual-feedback.html @@ -0,0 +1,72 @@ + + + + + jQuery UI Droppable - Visual feedback + + + + + + + + + + + + + +

    Feedback on hover:

    + +
    +

    Drag me to my target

    +
    + +
    +

    Drop here

    +
    + +

    Feedback on activating draggable:

    + +
    +

    Drag me to my target

    +
    + +
    +

    Drop here

    +
    + +
    +

    Change the droppable's appearance on hover, or when the droppable is active (an acceptable draggable is dropped on it). Use the hoverClass or activeClass options to specify respective classes.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/default.html new file mode 100644 index 0000000..7c3d05f --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/default.html @@ -0,0 +1,102 @@ + + + + + jQuery UI Effects - Effect demo + + + + + + + + + + + + + + + + + + + + + + +
    +
    +

    Effect

    +

    + Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. +

    +
    +
    + + + +Run Effect + +
    +

    Click the button above to show the effect.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/easing.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/easing.html new file mode 100644 index 0000000..819351e --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/easing.html @@ -0,0 +1,102 @@ + + + + + jQuery UI Effects - Easing demo + + + + + + + + + +
    + +
    +

    All easings provided by jQuery UI are drawn above, using a HTML canvas element. Click a diagram to see the easing in action.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/index.html new file mode 100644 index 0000000..5da6bc6 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/effect/index.html @@ -0,0 +1,15 @@ + + + + + jQuery UI Effects Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/hide/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/hide/default.html new file mode 100644 index 0000000..fc8182e --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/hide/default.html @@ -0,0 +1,95 @@ + + + + + jQuery UI Effects - Hide Demo + + + + + + + + + + + + + + + + + + + + +
    +
    +

    Hide

    +

    + Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. +

    +
    +
    + + + +Run Effect + +
    +

    Click the button above to preview the effect.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/hide/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/hide/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/hide/index.html @@ -0,0 +1,14 @@ + + + + + jQuery UI Effects Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/calendar.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/calendar.gif new file mode 100644 index 0000000..d0abaa7 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/calendar.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-config-on-tile.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-config-on-tile.gif new file mode 100644 index 0000000..a96b5bf Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-config-on-tile.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-config-on.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-config-on.gif new file mode 100644 index 0000000..e3b6d7c Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-config-on.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-spindown-closed.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-spindown-closed.gif new file mode 100644 index 0000000..ad4bd37 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-spindown-closed.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-spindown-open.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-spindown-open.gif new file mode 100644 index 0000000..e1c60aa Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/demo-spindown-open.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/icon-docs-info.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/icon-docs-info.gif new file mode 100644 index 0000000..ea6d2be Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/icon-docs-info.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/pbar-ani.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/pbar-ani.gif new file mode 100644 index 0000000..cb59a04 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/images/pbar-ani.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/index.html new file mode 100644 index 0000000..4739d76 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/index.html @@ -0,0 +1,40 @@ + + + + + jQuery UI Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/default.html new file mode 100644 index 0000000..fcb93b8 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/default.html @@ -0,0 +1,67 @@ + + + + + jQuery UI Menu - Default functionality + + + + + + + + + + + + + + +
    +

    A menu with the default configuration, disabled items and nested menus. A list is transformed, adding theming, mouse and keyboard navigation support. Try to tab to the menu then use the cursor keys to navigate.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/icons.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/icons.html new file mode 100644 index 0000000..e928f42 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/icons.html @@ -0,0 +1,44 @@ + + + + + jQuery UI Menu - Icons + + + + + + + + + + + + + + +
    +

    A menu with the default configuration, showing how to use a menu with icons.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/index.html new file mode 100644 index 0000000..40e9e0b --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/menu/index.html @@ -0,0 +1,15 @@ + + + + + jQuery UI Menu Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/cycler.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/cycler.html new file mode 100644 index 0000000..7eef091 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/cycler.html @@ -0,0 +1,107 @@ + + + + + jQuery UI Position - Image Cycler + + + + + + + + + + + +
    + earth + flight + rocket + + + +
    + +
    +

    A photoviewer prototype using Position to place images at the center, left and right and cycle them. +
    Use the links at the top to cycle, or click on the images on the left and right. +
    Note how the images are repositioned when resizing the window. +

    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/default.html new file mode 100644 index 0000000..8d6cca0 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/default.html @@ -0,0 +1,137 @@ + + + + + jQuery UI Position - Default functionality + + + + + + + + + + + + + +
    +

    + This is the position parent element. +

    +
    + +
    +

    + to position +

    +
    + +
    +

    + to position 2 +

    +
    + +
    + position... +
    + my: + + +
    +
    + at: + + +
    +
    + collision: + + +
    +
    + +
    +

    Use the form controls to configure the positioning, or drag the positioned element to modify its offset. +
    Drag around the parent element to see collision detection in action.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/earth.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/earth.jpg new file mode 100644 index 0000000..e5477f7 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/earth.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/flight.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/flight.jpg new file mode 100644 index 0000000..362bd1a Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/flight.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/rocket.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/rocket.jpg new file mode 100644 index 0000000..9c0495c Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/images/rocket.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/index.html new file mode 100644 index 0000000..a7b7548 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/position/index.html @@ -0,0 +1,15 @@ + + + + + jQuery UI Position Demo + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/default.html new file mode 100644 index 0000000..8f4dd53 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/default.html @@ -0,0 +1,28 @@ + + + + + jQuery UI Progressbar - Default functionality + + + + + + + + + + +
    + +
    +

    Default determinate progress bar.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif new file mode 100644 index 0000000..cb59a04 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/indeterminate.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/indeterminate.html new file mode 100644 index 0000000..54e7c43 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/indeterminate.html @@ -0,0 +1,53 @@ + + + + + jQuery UI Progressbar - Indeterminate Value + + + + + + + + + + + +
    + + + + +
    +

    Indeterminate progress bar and switching between determinate and indeterminate styles.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/index.html new file mode 100644 index 0000000..cfc054a --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/index.html @@ -0,0 +1,16 @@ + + + + + jQuery UI Progressbar Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/label.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/label.html new file mode 100644 index 0000000..a1e16cb --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/progressbar/label.html @@ -0,0 +1,61 @@ + + + + + jQuery UI Progressbar - Custom Label + + + + + + + + + + + +
    Loading...
    + +
    +

    Custom updated label demo.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/removeClass/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/removeClass/default.html new file mode 100644 index 0000000..74348c7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/removeClass/default.html @@ -0,0 +1,45 @@ + + + + + jQuery UI Effects - removeClass Demo + + + + + + + + + +
    +
    + Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. +
    +
    + +Run Effect + +
    +

    Click the button above to preview the effect.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/removeClass/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/removeClass/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/removeClass/index.html @@ -0,0 +1,14 @@ + + + + + jQuery UI Effects Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/animate.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/animate.html new file mode 100644 index 0000000..c066be7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/animate.html @@ -0,0 +1,36 @@ + + + + + jQuery UI Resizable - Animate + + + + + + + + + + + + +
    +

    Animate

    +
    + +
    +

    Animate the resize action using the animate option (boolean). When this option is set to true, drag the outline to the desired location; the element animates to that size on drag stop.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/aspect-ratio.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/aspect-ratio.html new file mode 100644 index 0000000..f3f3501 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/aspect-ratio.html @@ -0,0 +1,35 @@ + + + + + jQuery UI Resizable - Preserve aspect ratio + + + + + + + + + + + + +
    +

    Preserve aspect ratio

    +
    + +
    +

    Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the aspectRatio option to true, and optionally pass in a new ratio (i.e., 4/3)

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/constrain-area.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/constrain-area.html new file mode 100644 index 0000000..a91c89b --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/constrain-area.html @@ -0,0 +1,40 @@ + + + + + jQuery UI Resizable - Constrain resize area + + + + + + + + + + + + +
    +

    Containment

    +
    +

    Resizable

    +
    +
    + +
    +

    Define the boundaries of the resizable area. Use the containment option to specify a parent DOM element or a jQuery selector, like 'document.'

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/default.html new file mode 100644 index 0000000..c6875ee --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/default.html @@ -0,0 +1,33 @@ + + + + + jQuery UI Resizable - Default functionality + + + + + + + + + + + + +
    +

    Resizable

    +
    + +
    +

    Enable any DOM element to be resizable. With the cursor grab the right or bottom border and drag to the desired width or height.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/delay-start.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/delay-start.html new file mode 100644 index 0000000..a04cdd0 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/delay-start.html @@ -0,0 +1,45 @@ + + + + + jQuery UI Resizable - Delay start + + + + + + + + + + + + +

    Time delay (ms):

    +
    +

    Time

    +
    + +

    Distance delay (px):

    +
    +

    Distance

    +
    + +
    +

    Delay the start of resizng for a number of milliseconds with the delay option; prevent resizing until the cursor is held down and dragged a specifed number of pixels with the distance option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/helper.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/helper.html new file mode 100644 index 0000000..24f4ad3 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/helper.html @@ -0,0 +1,36 @@ + + + + + jQuery UI Resizable - Helper + + + + + + + + + + + + +
    +

    Helper

    +
    + +
    +

    Display only an outline of the element while resizing by setting the helper option to a CSS class.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/index.html new file mode 100644 index 0000000..7c626e2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/index.html @@ -0,0 +1,24 @@ + + + + + jQuery UI Resizable Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/max-min.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/max-min.html new file mode 100644 index 0000000..1f30421 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/max-min.html @@ -0,0 +1,38 @@ + + + + + jQuery UI Resizable - Maximum / minimum size + + + + + + + + + + + + +
    +

    Resize larger / smaller

    +
    + +
    +

    Limit the resizable element to a maximum or minimum height or width using the maxHeight, maxWidth, minHeight, and minWidth options.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/snap-to-grid.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/snap-to-grid.html new file mode 100644 index 0000000..5d11ae7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/snap-to-grid.html @@ -0,0 +1,35 @@ + + + + + jQuery UI Resizable - Snap to grid + + + + + + + + + + + + +
    +

    Grid

    +
    + +
    +

    Snap the resizable element to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/synchronous-resize.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/synchronous-resize.html new file mode 100644 index 0000000..4f7f418 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/synchronous-resize.html @@ -0,0 +1,42 @@ + + + + + jQuery UI Resizable - Synchronous resize + + + + + + + + + + + + +
    +

    Resize

    +
    + +
    +

    will also resize

    +
    + +
    +

    Resize multiple elements simultaneously by clicking and dragging the sides of one. Pass a shared selector into the alsoResize option.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/textarea.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/textarea.html new file mode 100644 index 0000000..8924450 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/textarea.html @@ -0,0 +1,34 @@ + + + + + jQuery UI Resizable - Textarea + + + + + + + + + + + + + + +
    +

    Display only an outline of the element while resizing by setting the helper option to a CSS class.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/visual-feedback.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/visual-feedback.html new file mode 100644 index 0000000..ee182b2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/resizable/visual-feedback.html @@ -0,0 +1,36 @@ + + + + + jQuery UI Resizable - Visual feedback + + + + + + + + + + + + +
    +

    Ghost

    +
    + +
    +

    Instead of showing the actual element during resize, set the ghost option to true to show a semi-transparent part of the element.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/default.html new file mode 100644 index 0000000..e110423 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/default.html @@ -0,0 +1,43 @@ + + + + + jQuery UI Selectable - Default functionality + + + + + + + + + + + + + +
      +
    1. Item 1
    2. +
    3. Item 2
    4. +
    5. Item 3
    6. +
    7. Item 4
    8. +
    9. Item 5
    10. +
    11. Item 6
    12. +
    13. Item 7
    14. +
    + +
    +

    Enable a DOM element (or group of elements) to be selectable. Draw a box with your cursor to select items. Hold down the Ctrl key to make multiple non-adjacent selections.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/display-grid.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/display-grid.html new file mode 100644 index 0000000..fc4fec6 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/display-grid.html @@ -0,0 +1,48 @@ + + + + + jQuery UI Selectable - Display as grid + + + + + + + + + + + + + +
      +
    1. 1
    2. +
    3. 2
    4. +
    5. 3
    6. +
    7. 4
    8. +
    9. 5
    10. +
    11. 6
    12. +
    13. 7
    14. +
    15. 8
    16. +
    17. 9
    18. +
    19. 10
    20. +
    21. 11
    22. +
    23. 12
    24. +
    + +
    +

    To arrange selectable items as a grid, give them identical dimensions and float them using CSS.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/index.html new file mode 100644 index 0000000..a82830c --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/index.html @@ -0,0 +1,16 @@ + + + + + jQuery UI Selectable Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/serialize.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/serialize.html new file mode 100644 index 0000000..d70e314 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/selectable/serialize.html @@ -0,0 +1,54 @@ + + + + + jQuery UI Selectable - Serialize + + + + + + + + + + + + + +

    +You've selected: none. +

    + +
      +
    1. Item 1
    2. +
    3. Item 2
    4. +
    5. Item 3
    6. +
    7. Item 4
    8. +
    9. Item 5
    10. +
    11. Item 6
    12. +
    + +
    +

    Write a function that fires on the stop event to collect the index values of selected items. Present values as feedback, or pass as a data string.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/show/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/show/default.html new file mode 100644 index 0000000..599a625 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/show/default.html @@ -0,0 +1,97 @@ + + + + + jQuery UI Effects - Show Demo + + + + + + + + + + + + + + + + + + + + +
    +
    +

    Show

    +

    + Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. +

    +
    +
    + + + +Run Effect + +
    +

    Click the button above to preview the effect.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/show/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/show/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/show/index.html @@ -0,0 +1,14 @@ + + + + + jQuery UI Effects Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/colorpicker.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/colorpicker.html new file mode 100644 index 0000000..e579b0e --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/colorpicker.html @@ -0,0 +1,87 @@ + + + + + jQuery UI Slider - Colorpicker + + + + + + + + + + + + +

    + + Simple Colorpicker +

    + +
    +
    +
    + +
    + +
    +

    Combine three sliders to create a simple RGB colorpicker.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/default.html new file mode 100644 index 0000000..17ee430 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/default.html @@ -0,0 +1,27 @@ + + + + + jQuery UI Slider - Default functionality + + + + + + + + + + + +
    + +
    +

    The basic slider is horizontal and has a single handle that can be moved with the mouse or by using the arrow keys.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/hotelrooms.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/hotelrooms.html new file mode 100644 index 0000000..0968dc4 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/hotelrooms.html @@ -0,0 +1,49 @@ + + + + + jQuery UI Slider - Slider bound to select + + + + + + + + + + + +
    + + +
    + +
    +

    How to bind a slider to an existing select element. The select stays visible to display the change. When the select is changed, the slider is updated, too.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/index.html new file mode 100644 index 0000000..2d05bb5 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/index.html @@ -0,0 +1,24 @@ + + + + + jQuery UI Slider Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/multiple-vertical.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/multiple-vertical.html new file mode 100644 index 0000000..6a0cf38 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/multiple-vertical.html @@ -0,0 +1,69 @@ + + + + + jQuery UI Slider - Multiple sliders + + + + + + + + + + + + +

    + + Master volume +

    + +
    + +

    + + Graphic EQ +

    + +
    + 88 + 77 + 55 + 33 + 40 + 45 + 70 +
    + +
    +

    Combine horizontal and vertical sliders, each with their own options, to create the UI for a music player.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range-vertical.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range-vertical.html new file mode 100644 index 0000000..a6f7f5a --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range-vertical.html @@ -0,0 +1,41 @@ + + + + + jQuery UI Slider - Vertical range slider + + + + + + + + + + + +

    + + +

    + +
    + +
    +

    Change the orientation of the range slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range.html new file mode 100644 index 0000000..6a11338 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/range.html @@ -0,0 +1,42 @@ + + + + + jQuery UI Slider - Range slider + + + + + + + + + + + +

    + + +

    + +
    + +
    +

    Set the range option to true to capture a range of values with two drag handles. The space between the handles is filled with a different background color to indicate those values are selected.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemax.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemax.html new file mode 100644 index 0000000..ca1c260 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemax.html @@ -0,0 +1,40 @@ + + + + + jQuery UI Slider - Range with fixed maximum + + + + + + + + + + + +

    + + +

    +
    + +
    +

    Fix the maximum value of the range slider so that the user can only select a minimum. Set the range option to "max."

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemin.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemin.html new file mode 100644 index 0000000..661fb24 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/rangemin.html @@ -0,0 +1,41 @@ + + + + + jQuery UI Slider - Range with fixed minimum + + + + + + + + + + + +

    + + +

    + +
    + +
    +

    Fix the minimum value of the range slider so that the user can only select a maximum. Set the range option to "min."

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/side-scroll.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/side-scroll.html new file mode 100644 index 0000000..346acb3 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/side-scroll.html @@ -0,0 +1,131 @@ + + + + + jQuery UI Slider - Slider scrollbar + + + + + + + + + + + + +
    +
    +
    1
    +
    2
    +
    3
    +
    4
    +
    5
    +
    6
    +
    7
    +
    8
    +
    9
    +
    10
    +
    11
    +
    12
    +
    13
    +
    14
    +
    15
    +
    16
    +
    17
    +
    18
    +
    19
    +
    20
    +
    +
    +
    +
    +
    + +
    +

    Use a slider to manipulate the positioning of content on the page. In this case, it acts as a scrollbar with the potential to capture values if needed.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/slider-vertical.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/slider-vertical.html new file mode 100644 index 0000000..2bea733 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/slider-vertical.html @@ -0,0 +1,42 @@ + + + + + jQuery UI Slider - Vertical slider + + + + + + + + + + + +

    + + +

    + +
    + +
    +

    Change the orientation of the slider to vertical. Assign a height value via .height() or by setting the height through CSS, and set the orientation option to "vertical."

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/steps.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/steps.html new file mode 100644 index 0000000..821fdc7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/slider/steps.html @@ -0,0 +1,41 @@ + + + + + jQuery UI Slider - Snap to increments + + + + + + + + + + + +

    + + +

    + +
    + +
    +

    Increment slider values with the step option set to an integer, commonly a dividend of the slider's maximum value. The default increment is 1.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/connect-lists-through-tabs.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/connect-lists-through-tabs.html new file mode 100644 index 0000000..48f7a67 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/connect-lists-through-tabs.html @@ -0,0 +1,72 @@ + + + + + jQuery UI Sortable - Connect lists with Tabs + + + + + + + + + + + + + + +
    + +
    +
      +
    • Item 1
    • +
    • Item 2
    • +
    • Item 3
    • +
    • Item 4
    • +
    • Item 5
    • +
    +
    +
    +
      +
    • Item 1
    • +
    • Item 2
    • +
    • Item 3
    • +
    • Item 4
    • +
    • Item 5
    • +
    +
    +
    + +
    +

    Sort items from one list into another and vice versa, by dropping the list item on the appropriate tab above.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/connect-lists.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/connect-lists.html new file mode 100644 index 0000000..87569ca --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/connect-lists.html @@ -0,0 +1,52 @@ + + + + + jQuery UI Sortable - Connect lists + + + + + + + + + + + + +
      +
    • Item 1
    • +
    • Item 2
    • +
    • Item 3
    • +
    • Item 4
    • +
    • Item 5
    • +
    + +
      +
    • Item 1
    • +
    • Item 2
    • +
    • Item 3
    • +
    • Item 4
    • +
    • Item 5
    • +
    + +
    +

    + Sort items from one list into another and vice versa, by passing a selector into + the connectWith option. The simplest way to do this is to + group all related lists with a CSS class, and then pass that class into the + sortable function (i.e., connectWith: '.myclass'). +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/default.html new file mode 100644 index 0000000..9058a3f --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/default.html @@ -0,0 +1,45 @@ + + + + + jQuery UI Sortable - Default functionality + + + + + + + + + + + + +
      +
    • Item 1
    • +
    • Item 2
    • +
    • Item 3
    • +
    • Item 4
    • +
    • Item 5
    • +
    • Item 6
    • +
    • Item 7
    • +
    + +
    +

    + Enable a group of DOM elements to be sortable. Click on and drag an + element to a new spot within the list, and the other items will adjust to + fit. By default, sortable items share draggable properties. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/delay-start.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/delay-start.html new file mode 100644 index 0000000..e48d8cf --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/delay-start.html @@ -0,0 +1,61 @@ + + + + + jQuery UI Sortable - Delay start + + + + + + + + + + + + +

    Time delay of 300ms:

    + +
      +
    • Item 1
    • +
    • Item 2
    • +
    • Item 3
    • +
    • Item 4
    • +
    + +

    Distance delay of 15px:

    + +
      +
    • Item 1
    • +
    • Item 2
    • +
    • Item 3
    • +
    • Item 4
    • +
    + +
    +

    + Prevent accidental sorting either by delay (time) or distance. Set a number of + milliseconds the element needs to be dragged before sorting starts + with the delay option. Set a distance in pixels the element + needs to be dragged before sorting starts with the distance + option. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/display-grid.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/display-grid.html new file mode 100644 index 0000000..e644eae --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/display-grid.html @@ -0,0 +1,48 @@ + + + + + jQuery UI Sortable - Display as grid + + + + + + + + + + + + +
      +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    • 4
    • +
    • 5
    • +
    • 6
    • +
    • 7
    • +
    • 8
    • +
    • 9
    • +
    • 10
    • +
    • 11
    • +
    • 12
    • +
    + +
    +

    + To arrange sortable items as a grid, give them identical dimensions and + float them using CSS. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/empty-lists.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/empty-lists.html new file mode 100644 index 0000000..2311254 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/empty-lists.html @@ -0,0 +1,63 @@ + + + + + jQuery UI Sortable - Handle empty lists + + + + + + + + + + + + +
      +
    • Can be dropped..
    • +
    • ..on an empty list
    • +
    • Item 3
    • +
    • Item 4
    • +
    • Item 5
    • +
    + +
      +
    • Cannot be dropped..
    • +
    • ..on an empty list
    • +
    • Item 3
    • +
    • Item 4
    • +
    • Item 5
    • +
    + +
      +
    + +
    + +
    +

    + Prevent all items in a list from being dropped into a separate, empty list + using the dropOnEmpty option set to false. By default, + sortable items can be dropped on empty lists. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/index.html new file mode 100644 index 0000000..66b0b5c --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/index.html @@ -0,0 +1,22 @@ + + + + + jQuery UI Sortable Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/items.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/items.html new file mode 100644 index 0000000..bdb0e02 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/items.html @@ -0,0 +1,64 @@ + + + + + jQuery UI Sortable - Include / exclude items + + + + + + + + + + + + +

    Specify which items are sortable:

    + +
      +
    • Item 1
    • +
    • (I'm not sortable or a drop target)
    • +
    • (I'm not sortable or a drop target)
    • +
    • Item 4
    • +
    + +

    Cancel sorting (but keep as drop targets):

    + +
      +
    • Item 1
    • +
    • (I'm not sortable)
    • +
    • (I'm not sortable)
    • +
    • Item 4
    • +
    + +
    +

    + Specify which items are eligible to sort by passing a jQuery selector into + the items option. Items excluded from this option are not + sortable, nor are they valid targets for sortable items. +

    +

    + To only prevent sorting on certain items, pass a jQuery selector into the + cancel option. Cancelled items remain valid sort targets for + others. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/placeholder.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/placeholder.html new file mode 100644 index 0000000..95a843f --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/placeholder.html @@ -0,0 +1,50 @@ + + + + + jQuery UI Sortable - Drop placeholder + + + + + + + + + + + + +
      +
    • Item 1
    • +
    • Item 2
    • +
    • Item 3
    • +
    • Item 4
    • +
    • Item 5
    • +
    • Item 6
    • +
    • Item 7
    • +
    + +
    +

    + When dragging a sortable item to a new location, other items will make room + for the that item by shifting to allow white space between them. Pass a + class into the placeholder option to style that space to + be visible. Use the boolean forcePlaceholderSize option + to set dimensions on the placeholder. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/portlets.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/portlets.html new file mode 100644 index 0000000..5a3f2b6 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/sortable/portlets.html @@ -0,0 +1,91 @@ + + + + + jQuery UI Sortable - Portlets + + + + + + + + + + + + +
    + +
    +
    Feeds
    +
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit
    +
    + +
    +
    News
    +
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit
    +
    + +
    + +
    + +
    +
    Shopping
    +
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit
    +
    + +
    + +
    + +
    +
    Links
    +
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit
    +
    + +
    +
    Images
    +
    Lorem ipsum dolor sit amet, consectetuer adipiscing elit
    +
    + +
    + +
    +

    + Enable portlets (styled divs) as sortables and use the connectWith + option to allow sorting between columns. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/currency.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/currency.html new file mode 100644 index 0000000..0686d37 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/currency.html @@ -0,0 +1,52 @@ + + + + + jQuery UI Spinner - Currency + + + + + + + + + + + + + + + +

    + + +

    +

    + + +

    + +
    +

    Example of a donation form, with currency selection and amount spinner.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/decimal.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/decimal.html new file mode 100644 index 0000000..b48442a --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/decimal.html @@ -0,0 +1,56 @@ + + + + + jQuery UI Spinner - Decimal + + + + + + + + + + + + + + + +

    + + +

    +

    + + +

    + +
    +

    + Example of a decimal spinner. Step is set to 0.01. +
    The code handling the culture change reads the current spinner value, + then changes the culture, then sets the value again, resulting in an updated + formatting, based on the new culture. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/default.html new file mode 100644 index 0000000..5093e86 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/default.html @@ -0,0 +1,64 @@ + + + + + jQuery UI Spinner - Default functionality + + + + + + + + + + + + +

    + + +

    + +

    + + +

    + +

    + + +

    + +
    +

    Default spinner.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/index.html new file mode 100644 index 0000000..f3c74d0 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/index.html @@ -0,0 +1,19 @@ + + + + + jQuery UI Spinner Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/latlong.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/latlong.html new file mode 100644 index 0000000..14c8601 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/latlong.html @@ -0,0 +1,57 @@ + + + + + jQuery UI Spinner - Map + + + + + + + + + + + + + + + + +
    + + + +
    + +
    +

    Google Maps integration, using spinners to change latidude and longitude.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/overflow.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/overflow.html new file mode 100644 index 0000000..d46e660 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/overflow.html @@ -0,0 +1,44 @@ + + + + + jQuery UI Spinner - Overflow + + + + + + + + + + + + +

    + + +

    + +
    +

    +Overflowing spinner restricted to a range of -10 to 10. +For anything above 10, it'll overflow to -10, and the other way round. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/time.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/time.html new file mode 100644 index 0000000..d31dbf2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/spinner/time.html @@ -0,0 +1,74 @@ + + + + + jQuery UI Spinner - Time + + + + + + + + + + + + + + +

    + + +

    +

    + + +

    + +
    +

    + A custom widget extending spinner. Use the Globalization plugin to parse and output + a timestamp, with custom step and page options. Cursor up/down spins minutes, page up/down + spins hours. +

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/switchClass/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/switchClass/default.html new file mode 100644 index 0000000..e4bd3b4 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/switchClass/default.html @@ -0,0 +1,40 @@ + + + + + jQuery UI Effects - switchClass Demo + + + + + + + + + +
    +
    + Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. +
    +
    +Run Effect + +
    +

    Click the button above to preview the effect.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/switchClass/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/switchClass/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/switchClass/index.html @@ -0,0 +1,14 @@ + + + + + jQuery UI Effects Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax.html new file mode 100644 index 0000000..dd25fc0 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax.html @@ -0,0 +1,46 @@ + + + + + jQuery UI Tabs - Content via Ajax + + + + + + + + + + +
    + +
    +

    Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

    +
    +
    + +
    +

    Fetch external content via Ajax for the tabs by setting an href value in the tab links. While the Ajax request is waiting for a response, the tab label changes to say "Loading...", then returns to the normal label once loaded.

    +

    Tabs 3 and 4 demonstrate slow-loading and broken AJAX tabs, and how to handle serverside errors in those cases. Note: These two require a webserver to interpret PHP. They won't work from the filesystem.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content1.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content1.html new file mode 100644 index 0000000..472bdfb --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content1.html @@ -0,0 +1,4 @@ +

    This content was loaded via ajax.

    +

    Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

    +

    Mauris vitae ante. Curabitur augue. Nulla purus nibh, lobortis ut, feugiat at, aliquam id, purus. Sed venenatis, lorem venenatis volutpat commodo, purus quam lacinia justo, mattis interdum pede pede a odio. Fusce nibh. Morbi nisl mauris, dapibus in, tristique eget, accumsan et, pede. Donec mauris risus, pulvinar ut, faucibus eu, mollis in, nunc. In augue massa, commodo a, cursus vehicula, varius eu, dui. Suspendisse sodales suscipit lorem. Morbi malesuada, eros quis condimentum dignissim, lectus nibh tristique urna, non bibendum diam massa vel risus. Morbi suscipit. Proin egestas, eros at scelerisque scelerisque, dolor lacus fringilla lacus, ut ullamcorper mi magna at quam. Aliquam sed elit. Aliquam turpis purus, congue quis, iaculis id, ullamcorper sit amet, justo. Maecenas sed mauris. Proin magna justo, interdum in, tincidunt eu, viverra eu, turpis. Suspendisse mollis. In magna. Phasellus pellentesque, urna pellentesque convallis pellentesque, augue sem blandit pede, at rhoncus libero nisl a odio.

    +

    Sed vitae nibh non magna semper tempor. Duis dolor. Nam congue laoreet arcu. Fusce lobortis enim quis ligula. Maecenas commodo odio id mi. Maecenas scelerisque tellus eu odio. Etiam dolor purus, lacinia a, imperdiet in, aliquam et, eros. In pellentesque. Nullam ac massa. Integer et turpis. Ut quam augue, congue non, imperdiet id, eleifend ac, nisi. Etiam ac arcu. Cras iaculis accumsan erat. Nullam vulputate sapien nec nisi pretium rhoncus. Aliquam a nibh. Vivamus est ante, fermentum a, tincidunt ut, imperdiet nec, velit. Aenean non tortor. Sed nec mauris eget tellus condimentum rutrum.

    \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content2.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content2.html new file mode 100644 index 0000000..18b03e4 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content2.html @@ -0,0 +1,4 @@ +

    This other content was loaded via ajax.

    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec turpis justo, et facilisis ligula. In congue interdum odio, a scelerisque eros posuere ac. Aenean massa tellus, dictum sit amet laoreet ut, aliquam in orci. Duis eu aliquam ligula. Nullam vel placerat ligula. Fusce venenatis viverra dictum. Phasellus dui dolor, imperdiet in sodales at, mattis sed libero. Morbi ac ipsum ligula. Quisque suscipit dui vel diam pretium nec cursus lacus malesuada. Donec sollicitudin, eros eget dignissim mollis, risus leo feugiat tellus, vel posuere nisl ipsum eu erat. Quisque posuere lacinia imperdiet. Quisque nunc leo, elementum quis ultricies et, vehicula sit amet turpis. Nullam sed nunc nec nibh condimentum mattis. Quisque sed ligula sit amet nisi ultricies bibendum eget id nisi.

    +

    Proin ut erat vel nunc tincidunt commodo. Curabitur feugiat, nisi et vehicula viverra, nisl orci eleifend arcu, sed blandit lectus nisl quis nisi. In hac habitasse platea dictumst. In hac habitasse platea dictumst. Aenean rutrum gravida velit ac imperdiet. Integer vitae arcu risus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin tincidunt orci at leo egestas porta. Vivamus ac augue et enim bibendum hendrerit ut id urna. Donec sollicitudin pulvinar turpis vitae scelerisque. Etiam tempor porttitor est sed blandit. Phasellus varius consequat leo eget tincidunt. Aliquam ac dui lectus. In et consectetur orci. Duis posuere nulla ac turpis faucibus vestibulum. Sed ut velit et dolor rhoncus dapibus. Sed sit amet pellentesque est.

    +

    Nam in volutpat orci. Morbi sit amet orci in erat egestas dignissim. Etiam mi sapien, tempus sed iaculis a, adipiscing quis tellus. Suspendisse potenti. Nam malesuada tristique vestibulum. In tempor tellus dignissim neque consectetur eu vestibulum nisl pellentesque. Phasellus ultrices cursus velit, id aliquam nisl fringilla quis. Cras varius elit sed urna ultrices congue. Sed ornare odio sed velit pellentesque id varius nisl sodales. Sed auctor ligula egestas mi pharetra ut consectetur erat pharetra.

    \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content3-slow.php b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content3-slow.php new file mode 100644 index 0000000..7ad43ec --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content3-slow.php @@ -0,0 +1,7 @@ + +

    This content was loaded via ajax, though it took a second.

    +

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean nec turpis justo, et facilisis ligula. In congue interdum odio, a scelerisque eros posuere ac. Aenean massa tellus, dictum sit amet laoreet ut, aliquam in orci. Duis eu aliquam ligula. Nullam vel placerat ligula. Fusce venenatis viverra dictum. Phasellus dui dolor, imperdiet in sodales at, mattis sed libero. Morbi ac ipsum ligula. Quisque suscipit dui vel diam pretium nec cursus lacus malesuada. Donec sollicitudin, eros eget dignissim mollis, risus leo feugiat tellus, vel posuere nisl ipsum eu erat. Quisque posuere lacinia imperdiet. Quisque nunc leo, elementum quis ultricies et, vehicula sit amet turpis. Nullam sed nunc nec nibh condimentum mattis. Quisque sed ligula sit amet nisi ultricies bibendum eget id nisi.

    +

    Proin ut erat vel nunc tincidunt commodo. Curabitur feugiat, nisi et vehicula viverra, nisl orci eleifend arcu, sed blandit lectus nisl quis nisi. In hac habitasse platea dictumst. In hac habitasse platea dictumst. Aenean rutrum gravida velit ac imperdiet. Integer vitae arcu risus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Proin tincidunt orci at leo egestas porta. Vivamus ac augue et enim bibendum hendrerit ut id urna. Donec sollicitudin pulvinar turpis vitae scelerisque. Etiam tempor porttitor est sed blandit. Phasellus varius consequat leo eget tincidunt. Aliquam ac dui lectus. In et consectetur orci. Duis posuere nulla ac turpis faucibus vestibulum. Sed ut velit et dolor rhoncus dapibus. Sed sit amet pellentesque est.

    +

    Nam in volutpat orci. Morbi sit amet orci in erat egestas dignissim. Etiam mi sapien, tempus sed iaculis a, adipiscing quis tellus. Suspendisse potenti. Nam malesuada tristique vestibulum. In tempor tellus dignissim neque consectetur eu vestibulum nisl pellentesque. Phasellus ultrices cursus velit, id aliquam nisl fringilla quis. Cras varius elit sed urna ultrices congue. Sed ornare odio sed velit pellentesque id varius nisl sodales. Sed auctor ligula egestas mi pharetra ut consectetur erat pharetra.

    \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php new file mode 100644 index 0000000..55ea2fe --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/bottom.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/bottom.html new file mode 100644 index 0000000..0a4caea --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/bottom.html @@ -0,0 +1,58 @@ + + + + + jQuery UI Tabs - Tabs at bottom + + + + + + + + + + + +
    + +
    +
    +

    Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

    +
    +
    +

    Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

    +
    +
    +

    Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

    +

    Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

    +
    +
    + +
    +

    With some additional CSS (for positioning) and JS (to put the right classes on elements) the tabs can be placed below their content.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/collapsible.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/collapsible.html new file mode 100644 index 0000000..3cb9b7c --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/collapsible.html @@ -0,0 +1,48 @@ + + + + + jQuery UI Tabs - Collapse content + + + + + + + + + + +
    + +
    +

    Click this tab again to close the content pane.

    +

    Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

    +
    +
    +

    Click this tab again to close the content pane.

    +

    Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

    +
    +
    +

    Click this tab again to close the content pane.

    +

    Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

    +
    +
    + +
    +

    Click the selected tab to toggle its content closed/open. To enable this functionality, set the collapsible option to true.

    +
    collapsible: true
    +
    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/default.html new file mode 100644 index 0000000..0b31e45 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/default.html @@ -0,0 +1,42 @@ + + + + + jQuery UI Tabs - Default functionality + + + + + + + + + + +
    + +
    +

    Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

    +
    +
    +

    Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

    +
    +
    +

    Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

    +

    Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

    +
    +
    + +
    +

    Click tabs to swap between content that is broken into logical sections.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/index.html new file mode 100644 index 0000000..779dfd2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/index.html @@ -0,0 +1,20 @@ + + + + + jQuery UI Tabs Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/manipulation.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/manipulation.html new file mode 100644 index 0000000..efcf011 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/manipulation.html @@ -0,0 +1,122 @@ + + + + + jQuery UI Tabs - Simple manipulation + + + + + + + + + + + + + + +
    +
    +
    + + + + +
    +
    +
    + + + +
    + +
    +

    Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

    +
    +
    + +
    +

    Simple tabs adding and removing.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/mouseover.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/mouseover.html new file mode 100644 index 0000000..9b67781 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/mouseover.html @@ -0,0 +1,44 @@ + + + + + jQuery UI Tabs - Open on mouseover + + + + + + + + + + +
    + +
    +

    Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

    +
    +
    +

    Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

    +
    +
    +

    Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

    +

    Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

    +
    +
    + +
    +

    Toggle sections open/closed on mouseover with the event option. The default value for event is "click."

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/sortable.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/sortable.html new file mode 100644 index 0000000..0091e58 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/sortable.html @@ -0,0 +1,51 @@ + + + + + jQuery UI Tabs - Sortable + + + + + + + + + + + + +
    + +
    +

    Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

    +
    +
    +

    Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

    +
    +
    +

    Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

    +

    Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

    +
    +
    + +
    +

    Drag the tabs above to re-order them.

    +

    Making tabs sortable is as simple as calling .sortable() on the .ui-tabs-nav element.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/vertical.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/vertical.html new file mode 100644 index 0000000..b121557 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tabs/vertical.html @@ -0,0 +1,54 @@ + + + + + jQuery UI Tabs - Vertical Tabs functionality + + + + + + + + + + + +
    + +
    +

    Content heading 1

    +

    Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

    +
    +
    +

    Content heading 2

    +

    Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

    +
    +
    +

    Content heading 3

    +

    Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

    +

    Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

    +
    +
    + +
    +

    Click tabs to swap between content that is broken into logical sections.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggle/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggle/default.html new file mode 100644 index 0000000..3543939 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggle/default.html @@ -0,0 +1,103 @@ + + + + + jQuery UI Effects - Toggle Demo + + + + + + + + + + + + + + + + + + + + +
    +
    +

    Toggle

    +

    + Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi. +

    +
    +
    + + + +Run Effect + +
    +

    Click the button above to preview the effect.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggle/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggle/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggle/index.html @@ -0,0 +1,14 @@ + + + + + jQuery UI Effects Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggleClass/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggleClass/default.html new file mode 100644 index 0000000..93ab10a --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggleClass/default.html @@ -0,0 +1,39 @@ + + + + + jQuery UI Effects - toggleClass Demo + + + + + + + + + +
    +
    + Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. +
    +
    + +Run Effect + +
    +

    Click the button above to preview the effect.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggleClass/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggleClass/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/toggleClass/index.html @@ -0,0 +1,14 @@ + + + + + jQuery UI Effects Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/ajax/content1.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/ajax/content1.html new file mode 100644 index 0000000..a1401b2 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/ajax/content1.html @@ -0,0 +1 @@ +

    This content was loaded via ajax.

    \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/ajax/content2.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/ajax/content2.html new file mode 100644 index 0000000..f4132d7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/ajax/content2.html @@ -0,0 +1 @@ +

    This other content was loaded via ajax.

    \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-animation.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-animation.html new file mode 100644 index 0000000..46126d5 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-animation.html @@ -0,0 +1,54 @@ + + + + + jQuery UI Tooltip - Custom animation demo + + + + + + + + + + + + + +

    There are various ways to customize the animation of a tooltip.

    +

    You can use the show and +hide options.

    +

    You can also use the open event.

    + +
    +

    This demo shows how to customize animations using the show and hide options, +as well as the open event.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-content.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-content.html new file mode 100644 index 0000000..c24a939 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-content.html @@ -0,0 +1,83 @@ + + + + + jQuery UI Tooltip - Custom content + + + + + + + + + + + + +
    +
    +

    St. Stephen's Cathedral

    +

    Vienna, Austria

    +
    + + St. Stephen's Cathedral + +
    + +
    +
    +

    Tower Bridge

    +

    London, England

    +
    + + Tower Bridge + +
    + +

    All images are part of Wikimedia Commons +and are licensed under CC BY-SA 3.0 by the copyright holder.

    + +
    +

    Shows how to combine different event delegated tooltips into a single instance, by customizing the items and content options.

    +

    We realize you may want to interact with the map tooltips. This is a planned feature for a future version.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-style.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-style.html new file mode 100644 index 0000000..3e2a56a --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/custom-style.html @@ -0,0 +1,95 @@ + + + + + jQuery UI Tooltip - Custom Styling + + + + + + + + + + + + +

    Tooltips can be attached to any element. When you hover +the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.

    +

    But as it's not a native tooltip, it can be styled. Any themes built with +ThemeRoller +will also style tooltips accordingly.

    +

    Tooltips are also useful for form elements, to show some additional information in the context of each field.

    +

    +

    Hover the field to see the tooltip.

    + +
    +

    Hover the links above or use the tab key to cycle the focus on each element.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/default.html new file mode 100644 index 0000000..a07533b --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/default.html @@ -0,0 +1,40 @@ + + + + + jQuery UI Tooltip - Default functionality + + + + + + + + + + + + +

    Tooltips can be attached to any element. When you hover +the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.

    +

    But as it's not a native tooltip, it can be styled. Any themes built with +ThemeRoller +will also style tooltips accordingly.

    +

    Tooltips are also useful for form elements, to show some additional information in the context of each field.

    +

    +

    Hover the field to see the tooltip.

    + +
    +

    Hover the links above or use the tab key to cycle the focus on each element.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/forms.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/forms.html new file mode 100644 index 0000000..a5ce77f --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/forms.html @@ -0,0 +1,65 @@ + + + + + jQuery UI Tooltip - Forms + + + + + + + + + + + + + +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + +
    +

    Use the button below to display the help texts, or just focus or mouseover the indivdual inputs.

    +

    A fixed width is defined in CSS to make the tooltips look consistent when displayed all at once.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg new file mode 100644 index 0000000..30fc36d Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg new file mode 100644 index 0000000..d1e14d6 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg differ diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/index.html new file mode 100644 index 0000000..cebedd0 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/index.html @@ -0,0 +1,20 @@ + + + + + jQuery UI Tooltip Demos + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/tracking.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/tracking.html new file mode 100644 index 0000000..48e683e --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/tracking.html @@ -0,0 +1,42 @@ + + + + + jQuery UI Tooltip - Track the mouse + + + + + + + + + + + + +

    Tooltips can be attached to any element. When you hover +the element with your mouse, the title attribute is displayed in a little box next to the element, just like a native tooltip.

    +

    But as it's not a native tooltip, it can be styled. Any themes built with +ThemeRoller +will also style tooltips accordingly.

    +

    Tooltips are also useful for form elements, to show some additional information in the context of each field.

    +

    +

    Hover the field to see the tooltip.

    + +
    +

    Here the tooltips are positioned relative to the mouse, and follow the mouse while it moves above the element.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/video-player.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/video-player.html new file mode 100644 index 0000000..15db946 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/tooltip/video-player.html @@ -0,0 +1,117 @@ + + + + + jQuery UI Tooltip - Video Player demo + + + + + + + + + + + + + + + + +
    Here Be Video (HTML5?)
    +
    + + + + +
    + + +
    + + +
    + +
    +

    A fake video player with like/share/stats button, each with a custom-styled tooltip.

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/widget/default.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/widget/default.html new file mode 100644 index 0000000..8931be4 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/widget/default.html @@ -0,0 +1,178 @@ + + + + + jQuery UI Widget - Default functionality + + + + + + + + + + + + +
    +
    color me
    +
    color me
    +
    color me
    + + +
    + +
    +

    This demo shows a simple custom widget built using the widget factory (jquery.ui.widget.js).

    +

    The three boxes are initialized in different ways. Clicking them changes their background color. View source to see how it works, its heavily commented

    +
    + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/demos/widget/index.html b/97suifangqa/staticfiles/plugins/jquery-ui/demos/widget/index.html new file mode 100644 index 0000000..d518b07 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/demos/widget/index.html @@ -0,0 +1,14 @@ + + + + + jQuery UI Widget Demo + + + + + + + diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.culture.de-DE.js b/97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.culture.de-DE.js new file mode 100644 index 0000000..5466bd7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.culture.de-DE.js @@ -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 )); diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.culture.ja-JP.js b/97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.culture.ja-JP.js new file mode 100644 index 0000000..a9469d7 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.culture.ja-JP.js @@ -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 )); diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.js b/97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.js new file mode 100644 index 0000000..ebaca17 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/external/globalize.js @@ -0,0 +1,1573 @@ +/*! + * 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( window, undefined ) { + +var Globalize, + // private variables + regexHex, + regexInfinity, + regexParseFloat, + regexTrim, + // private JavaScript utility functions + arrayIndexOf, + endsWith, + extend, + isArray, + isFunction, + isObject, + startsWith, + trim, + truncate, + zeroPad, + // private Globalization utility functions + appendPreOrPostMatch, + expandFormat, + formatDate, + formatNumber, + getTokenRegExp, + getEra, + getEraYear, + parseExact, + parseNegativePattern; + +// Global variable (Globalize) or CommonJS module (globalize) +Globalize = function( cultureSelector ) { + return new Globalize.prototype.init( cultureSelector ); +}; + +if ( typeof require !== "undefined" + && typeof exports !== "undefined" + && typeof module !== "undefined" ) { + // Assume CommonJS + module.exports = Globalize; +} else { + // Export as global variable + window.Globalize = Globalize; +} + +Globalize.cultures = {}; + +Globalize.prototype = { + constructor: Globalize, + init: function( cultureSelector ) { + this.cultures = Globalize.cultures; + this.cultureSelector = cultureSelector; + + return this; + } +}; +Globalize.prototype.init.prototype = Globalize.prototype; + +// 1. When defining a culture, all fields are required except the ones stated as optional. +// 2. Each culture should have a ".calendars" object with at least one calendar named "standard" +// which serves as the default calendar in use by that culture. +// 3. Each culture should have a ".calendar" object which is the current calendar being used, +// it may be dynamically changed at any time to one of the calendars in ".calendars". +Globalize.cultures[ "default" ] = { + // A unique name for the culture in the form - + name: "en", + // the name of the culture in the english language + englishName: "English", + // the name of the culture in its own language + nativeName: "English", + // whether the culture uses right-to-left text + isRTL: false, + // "language" is used for so-called "specific" cultures. + // For example, the culture "es-CL" means "Spanish, in Chili". + // It represents the Spanish-speaking culture as it is in Chili, + // which might have different formatting rules or even translations + // than Spanish in Spain. A "neutral" culture is one that is not + // specific to a region. For example, the culture "es" is the generic + // Spanish culture, which may be a more generalized version of the language + // that may or may not be what a specific culture expects. + // For a specific culture like "es-CL", the "language" field refers to the + // neutral, generic culture information for the language it is using. + // This is not always a simple matter of the string before the dash. + // For example, the "zh-Hans" culture is netural (Simplified Chinese). + // And the "zh-SG" culture is Simplified Chinese in Singapore, whose lanugage + // field is "zh-CHS", not "zh". + // This field should be used to navigate from a specific culture to it's + // more general, neutral culture. If a culture is already as general as it + // can get, the language may refer to itself. + language: "en", + // numberFormat defines general number formatting rules, like the digits in + // each grouping, the group separator, and how negative numbers are displayed. + numberFormat: { + // [negativePattern] + // Note, numberFormat.pattern has no "positivePattern" unlike percent and currency, + // but is still defined as an array for consistency with them. + // negativePattern: one of "(n)|-n|- n|n-|n -" + pattern: [ "-n" ], + // number of decimal places normally shown + decimals: 2, + // string that separates number groups, as in 1,000,000 + ",": ",", + // string that separates a number from the fractional portion, as in 1.99 + ".": ".", + // array of numbers indicating the size of each number group. + // TODO: more detailed description and example + groupSizes: [ 3 ], + // symbol used for positive numbers + "+": "+", + // symbol used for negative numbers + "-": "-", + // symbol used for NaN (Not-A-Number) + NaN: "NaN", + // symbol used for Negative Infinity + negativeInfinity: "-Infinity", + // symbol used for Positive Infinity + positiveInfinity: "Infinity", + percent: { + // [negativePattern, positivePattern] + // negativePattern: one of "-n %|-n%|-%n|%-n|%n-|n-%|n%-|-% n|n %-|% n-|% -n|n- %" + // positivePattern: one of "n %|n%|%n|% n" + pattern: [ "-n %", "n %" ], + // number of decimal places normally shown + decimals: 2, + // array of numbers indicating the size of each number group. + // TODO: more detailed description and example + groupSizes: [ 3 ], + // string that separates number groups, as in 1,000,000 + ",": ",", + // string that separates a number from the fractional portion, as in 1.99 + ".": ".", + // symbol used to represent a percentage + symbol: "%" + }, + currency: { + // [negativePattern, positivePattern] + // negativePattern: one of "($n)|-$n|$-n|$n-|(n$)|-n$|n-$|n$-|-n $|-$ n|n $-|$ n-|$ -n|n- $|($ n)|(n $)" + // positivePattern: one of "$n|n$|$ n|n $" + pattern: [ "($n)", "$n" ], + // number of decimal places normally shown + decimals: 2, + // array of numbers indicating the size of each number group. + // TODO: more detailed description and example + groupSizes: [ 3 ], + // string that separates number groups, as in 1,000,000 + ",": ",", + // string that separates a number from the fractional portion, as in 1.99 + ".": ".", + // symbol used to represent currency + symbol: "$" + } + }, + // calendars defines all the possible calendars used by this culture. + // There should be at least one defined with name "standard", and is the default + // calendar used by the culture. + // A calendar contains information about how dates are formatted, information about + // the calendar's eras, a standard set of the date formats, + // translations for day and month names, and if the calendar is not based on the Gregorian + // calendar, conversion functions to and from the Gregorian calendar. + calendars: { + standard: { + // name that identifies the type of calendar this is + name: "Gregorian_USEnglish", + // separator of parts of a date (e.g. "/" in 11/05/1955) + "/": "/", + // separator of parts of a time (e.g. ":" in 05:44 PM) + ":": ":", + // the first day of the week (0 = Sunday, 1 = Monday, etc) + firstDay: 0, + days: { + // full day names + names: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], + // abbreviated day names + namesAbbr: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], + // shortest day names + namesShort: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ] + }, + months: { + // full month names (13 months for lunar calendards -- 13th month should be "" if not lunar) + names: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "" ], + // abbreviated month names + namesAbbr: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "" ] + }, + // AM and PM designators in one of these forms: + // The usual view, and the upper and lower case versions + // [ standard, lowercase, uppercase ] + // The culture does not use AM or PM (likely all standard date formats use 24 hour time) + // null + AM: [ "AM", "am", "AM" ], + PM: [ "PM", "pm", "PM" ], + eras: [ + // eras in reverse chronological order. + // name: the name of the era in this culture (e.g. A.D., C.E.) + // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era. + // offset: offset in years from gregorian calendar + { + "name": "A.D.", + "start": null, + "offset": 0 + } + ], + // when a two digit year is given, it will never be parsed as a four digit + // year greater than this year (in the appropriate era for the culture) + // Set it as a full year (e.g. 2029) or use an offset format starting from + // the current year: "+19" would correspond to 2029 if the current year 2010. + twoDigitYearMax: 2029, + // set of predefined date and time patterns used by the culture + // these represent the format someone in this culture would expect + // to see given the portions of the date that are shown. + patterns: { + // short date pattern + d: "M/d/yyyy", + // long date pattern + D: "dddd, MMMM dd, yyyy", + // short time pattern + t: "h:mm tt", + // long time pattern + T: "h:mm:ss tt", + // long date, short time pattern + f: "dddd, MMMM dd, yyyy h:mm tt", + // long date, long time pattern + F: "dddd, MMMM dd, yyyy h:mm:ss tt", + // month/day pattern + M: "MMMM dd", + // month/year pattern + Y: "yyyy MMMM", + // S is a sortable format that does not vary by culture + S: "yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss" + } + // optional fields for each calendar: + /* + monthsGenitive: + Same as months but used when the day preceeds the month. + Omit if the culture has no genitive distinction in month names. + For an explaination of genitive months, see http://blogs.msdn.com/michkap/archive/2004/12/25/332259.aspx + convert: + Allows for the support of non-gregorian based calendars. This convert object is used to + to convert a date to and from a gregorian calendar date to handle parsing and formatting. + The two functions: + fromGregorian( date ) + Given the date as a parameter, return an array with parts [ year, month, day ] + corresponding to the non-gregorian based year, month, and day for the calendar. + toGregorian( year, month, day ) + Given the non-gregorian year, month, and day, return a new Date() object + set to the corresponding date in the gregorian calendar. + */ + } + }, + // For localized strings + messages: {} +}; + +Globalize.cultures[ "default" ].calendar = Globalize.cultures[ "default" ].calendars.standard; + +Globalize.cultures[ "en" ] = Globalize.cultures[ "default" ]; + +Globalize.cultureSelector = "en"; + +// +// private variables +// + +regexHex = /^0x[a-f0-9]+$/i; +regexInfinity = /^[+-]?infinity$/i; +regexParseFloat = /^[+-]?\d*\.?\d*(e[+-]?\d+)?$/; +regexTrim = /^\s+|\s+$/g; + +// +// private JavaScript utility functions +// + +arrayIndexOf = function( array, item ) { + if ( array.indexOf ) { + return array.indexOf( item ); + } + for ( var i = 0, length = array.length; i < length; i++ ) { + if ( array[i] === item ) { + return i; + } + } + return -1; +}; + +endsWith = function( value, pattern ) { + return value.substr( value.length - pattern.length ) === pattern; +}; + +extend = function( deep ) { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction(target) ) { + target = {}; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( isObject(copy) || (copyIsArray = isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && isArray(src) ? src : []; + + } else { + clone = src && isObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +isArray = Array.isArray || function( obj ) { + return Object.prototype.toString.call( obj ) === "[object Array]"; +}; + +isFunction = function( obj ) { + return Object.prototype.toString.call( obj ) === "[object Function]" +} + +isObject = function( obj ) { + return Object.prototype.toString.call( obj ) === "[object Object]"; +}; + +startsWith = function( value, pattern ) { + return value.indexOf( pattern ) === 0; +}; + +trim = function( value ) { + return ( value + "" ).replace( regexTrim, "" ); +}; + +truncate = function( value ) { + return value | 0; +}; + +zeroPad = function( str, count, left ) { + var l; + for ( l = str.length; l < count; l += 1 ) { + str = ( left ? ("0" + str) : (str + "0") ); + } + return str; +}; + +// +// private Globalization utility functions +// + +appendPreOrPostMatch = function( preMatch, strings ) { + // appends pre- and post- token match strings while removing escaped characters. + // Returns a single quote count which is used to determine if the token occurs + // in a string literal. + var quoteCount = 0, + escaped = false; + for ( var i = 0, il = preMatch.length; i < il; i++ ) { + var c = preMatch.charAt( i ); + switch ( c ) { + case "\'": + if ( escaped ) { + strings.push( "\'" ); + } + else { + quoteCount++; + } + escaped = false; + break; + case "\\": + if ( escaped ) { + strings.push( "\\" ); + } + escaped = !escaped; + break; + default: + strings.push( c ); + escaped = false; + break; + } + } + return quoteCount; +}; + +expandFormat = function( cal, format ) { + // expands unspecified or single character date formats into the full pattern. + format = format || "F"; + var pattern, + patterns = cal.patterns, + len = format.length; + if ( len === 1 ) { + pattern = patterns[ format ]; + if ( !pattern ) { + throw "Invalid date format string \'" + format + "\'."; + } + format = pattern; + } + else if ( len === 2 && format.charAt(0) === "%" ) { + // %X escape format -- intended as a custom format string that is only one character, not a built-in format. + format = format.charAt( 1 ); + } + return format; +}; + +formatDate = function( value, format, culture ) { + var cal = culture.calendar, + convert = cal.convert; + + if ( !format || !format.length || format === "i" ) { + var ret; + if ( culture && culture.name.length ) { + if ( convert ) { + // non-gregorian calendar, so we cannot use built-in toLocaleString() + ret = formatDate( value, cal.patterns.F, culture ); + } + else { + var eraDate = new Date( value.getTime() ), + era = getEra( value, cal.eras ); + eraDate.setFullYear( getEraYear(value, cal, era) ); + ret = eraDate.toLocaleString(); + } + } + else { + ret = value.toString(); + } + return ret; + } + + var eras = cal.eras, + sortable = format === "s"; + format = expandFormat( cal, format ); + + // Start with an empty string + ret = []; + var hour, + zeros = [ "0", "00", "000" ], + foundDay, + checkedDay, + dayPartRegExp = /([^d]|^)(d|dd)([^d]|$)/g, + quoteCount = 0, + tokenRegExp = getTokenRegExp(), + converted; + + function padZeros( num, c ) { + var r, s = num + ""; + if ( c > 1 && s.length < c ) { + r = ( zeros[c - 2] + s); + return r.substr( r.length - c, c ); + } + else { + r = s; + } + return r; + } + + function hasDay() { + if ( foundDay || checkedDay ) { + return foundDay; + } + foundDay = dayPartRegExp.test( format ); + checkedDay = true; + return foundDay; + } + + function getPart( date, part ) { + if ( converted ) { + return converted[ part ]; + } + switch ( part ) { + case 0: return date.getFullYear(); + case 1: return date.getMonth(); + case 2: return date.getDate(); + } + } + + if ( !sortable && convert ) { + converted = convert.fromGregorian( value ); + } + + for ( ; ; ) { + // Save the current index + var index = tokenRegExp.lastIndex, + // Look for the next pattern + ar = tokenRegExp.exec( format ); + + // Append the text before the pattern (or the end of the string if not found) + var preMatch = format.slice( index, ar ? ar.index : format.length ); + quoteCount += appendPreOrPostMatch( preMatch, ret ); + + if ( !ar ) { + break; + } + + // do not replace any matches that occur inside a string literal. + if ( quoteCount % 2 ) { + ret.push( ar[0] ); + continue; + } + + var current = ar[ 0 ], + clength = current.length; + + switch ( current ) { + case "ddd": + //Day of the week, as a three-letter abbreviation + case "dddd": + // Day of the week, using the full name + var names = ( clength === 3 ) ? cal.days.namesAbbr : cal.days.names; + ret.push( names[value.getDay()] ); + break; + case "d": + // Day of month, without leading zero for single-digit days + case "dd": + // Day of month, with leading zero for single-digit days + foundDay = true; + ret.push( + padZeros( getPart(value, 2), clength ) + ); + break; + case "MMM": + // Month, as a three-letter abbreviation + case "MMMM": + // Month, using the full name + var part = getPart( value, 1 ); + ret.push( + ( cal.monthsGenitive && hasDay() ) + ? + cal.monthsGenitive[ clength === 3 ? "namesAbbr" : "names" ][ part ] + : + cal.months[ clength === 3 ? "namesAbbr" : "names" ][ part ] + ); + break; + case "M": + // Month, as digits, with no leading zero for single-digit months + case "MM": + // Month, as digits, with leading zero for single-digit months + ret.push( + padZeros( getPart(value, 1) + 1, clength ) + ); + break; + case "y": + // Year, as two digits, but with no leading zero for years less than 10 + case "yy": + // Year, as two digits, with leading zero for years less than 10 + case "yyyy": + // Year represented by four full digits + part = converted ? converted[ 0 ] : getEraYear( value, cal, getEra(value, eras), sortable ); + if ( clength < 4 ) { + part = part % 100; + } + ret.push( + padZeros( part, clength ) + ); + break; + case "h": + // Hours with no leading zero for single-digit hours, using 12-hour clock + case "hh": + // Hours with leading zero for single-digit hours, using 12-hour clock + hour = value.getHours() % 12; + if ( hour === 0 ) hour = 12; + ret.push( + padZeros( hour, clength ) + ); + break; + case "H": + // Hours with no leading zero for single-digit hours, using 24-hour clock + case "HH": + // Hours with leading zero for single-digit hours, using 24-hour clock + ret.push( + padZeros( value.getHours(), clength ) + ); + break; + case "m": + // Minutes with no leading zero for single-digit minutes + case "mm": + // Minutes with leading zero for single-digit minutes + ret.push( + padZeros( value.getMinutes(), clength ) + ); + break; + case "s": + // Seconds with no leading zero for single-digit seconds + case "ss": + // Seconds with leading zero for single-digit seconds + ret.push( + padZeros( value.getSeconds(), clength ) + ); + break; + case "t": + // One character am/pm indicator ("a" or "p") + case "tt": + // Multicharacter am/pm indicator + part = value.getHours() < 12 ? ( cal.AM ? cal.AM[0] : " " ) : ( cal.PM ? cal.PM[0] : " " ); + ret.push( clength === 1 ? part.charAt(0) : part ); + break; + case "f": + // Deciseconds + case "ff": + // Centiseconds + case "fff": + // Milliseconds + ret.push( + padZeros( value.getMilliseconds(), 3 ).substr( 0, clength ) + ); + break; + case "z": + // Time zone offset, no leading zero + case "zz": + // Time zone offset with leading zero + hour = value.getTimezoneOffset() / 60; + ret.push( + ( hour <= 0 ? "+" : "-" ) + padZeros( Math.floor(Math.abs(hour)), clength ) + ); + break; + case "zzz": + // Time zone offset with leading zero + hour = value.getTimezoneOffset() / 60; + ret.push( + ( hour <= 0 ? "+" : "-" ) + padZeros( Math.floor(Math.abs(hour)), 2 ) + // Hard coded ":" separator, rather than using cal.TimeSeparator + // Repeated here for consistency, plus ":" was already assumed in date parsing. + + ":" + padZeros( Math.abs(value.getTimezoneOffset() % 60), 2 ) + ); + break; + case "g": + case "gg": + if ( cal.eras ) { + ret.push( + cal.eras[ getEra(value, eras) ].name + ); + } + break; + case "/": + ret.push( cal["/"] ); + break; + default: + throw "Invalid date format pattern \'" + current + "\'."; + break; + } + } + return ret.join( "" ); +}; + +// formatNumber +(function() { + var expandNumber; + + expandNumber = function( number, precision, formatInfo ) { + var groupSizes = formatInfo.groupSizes, + curSize = groupSizes[ 0 ], + curGroupIndex = 1, + factor = Math.pow( 10, precision ), + rounded = Math.round( number * factor ) / factor; + + if ( !isFinite(rounded) ) { + rounded = number; + } + number = rounded; + + var numberString = number+"", + right = "", + split = numberString.split( /e/i ), + exponent = split.length > 1 ? parseInt( split[1], 10 ) : 0; + numberString = split[ 0 ]; + split = numberString.split( "." ); + numberString = split[ 0 ]; + right = split.length > 1 ? split[ 1 ] : ""; + + var l; + if ( exponent > 0 ) { + right = zeroPad( right, exponent, false ); + numberString += right.slice( 0, exponent ); + right = right.substr( exponent ); + } + else if ( exponent < 0 ) { + exponent = -exponent; + numberString = zeroPad( numberString, exponent + 1 ); + right = numberString.slice( -exponent, numberString.length ) + right; + numberString = numberString.slice( 0, -exponent ); + } + + if ( precision > 0 ) { + right = formatInfo[ "." ] + + ( (right.length > precision) ? right.slice(0, precision) : zeroPad(right, precision) ); + } + else { + right = ""; + } + + var stringIndex = numberString.length - 1, + sep = formatInfo[ "," ], + ret = ""; + + while ( stringIndex >= 0 ) { + if ( curSize === 0 || curSize > stringIndex ) { + return numberString.slice( 0, stringIndex + 1 ) + ( ret.length ? (sep + ret + right) : right ); + } + ret = numberString.slice( stringIndex - curSize + 1, stringIndex + 1 ) + ( ret.length ? (sep + ret) : "" ); + + stringIndex -= curSize; + + if ( curGroupIndex < groupSizes.length ) { + curSize = groupSizes[ curGroupIndex ]; + curGroupIndex++; + } + } + + return numberString.slice( 0, stringIndex + 1 ) + sep + ret + right; + }; + + formatNumber = function( value, format, culture ) { + if ( !isFinite(value) ) { + if ( value === Infinity ) { + return culture.numberFormat.positiveInfinity; + } + if ( value === -Infinity ) { + return culture.numberFormat.negativeInfinity; + } + return culture.numberFormat.NaN; + } + if ( !format || format === "i" ) { + return culture.name.length ? value.toLocaleString() : value.toString(); + } + format = format || "D"; + + var nf = culture.numberFormat, + number = Math.abs( value ), + precision = -1, + pattern; + if ( format.length > 1 ) precision = parseInt( format.slice(1), 10 ); + + var current = format.charAt( 0 ).toUpperCase(), + formatInfo; + + switch ( current ) { + case "D": + pattern = "n"; + number = truncate( number ); + if ( precision !== -1 ) { + number = zeroPad( "" + number, precision, true ); + } + if ( value < 0 ) number = "-" + number; + break; + case "N": + formatInfo = nf; + // fall through + case "C": + formatInfo = formatInfo || nf.currency; + // fall through + case "P": + formatInfo = formatInfo || nf.percent; + pattern = value < 0 ? formatInfo.pattern[ 0 ] : ( formatInfo.pattern[1] || "n" ); + if ( precision === -1 ) precision = formatInfo.decimals; + number = expandNumber( number * (current === "P" ? 100 : 1), precision, formatInfo ); + break; + default: + throw "Bad number format specifier: " + current; + } + + var patternParts = /n|\$|-|%/g, + ret = ""; + for ( ; ; ) { + var index = patternParts.lastIndex, + ar = patternParts.exec( pattern ); + + ret += pattern.slice( index, ar ? ar.index : pattern.length ); + + if ( !ar ) { + break; + } + + switch ( ar[0] ) { + case "n": + ret += number; + break; + case "$": + ret += nf.currency.symbol; + break; + case "-": + // don't make 0 negative + if ( /[1-9]/.test(number) ) { + ret += nf[ "-" ]; + } + break; + case "%": + ret += nf.percent.symbol; + break; + } + } + + return ret; + }; + +}()); + +getTokenRegExp = function() { + // regular expression for matching date and time tokens in format strings. + 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; +}; + +getEra = function( date, eras ) { + if ( !eras ) return 0; + var start, ticks = date.getTime(); + for ( var i = 0, l = eras.length; i < l; i++ ) { + start = eras[ i ].start; + if ( start === null || ticks >= start ) { + return i; + } + } + return 0; +}; + +getEraYear = function( date, cal, era, sortable ) { + var year = date.getFullYear(); + if ( !sortable && cal.eras ) { + // convert normal gregorian year to era-shifted gregorian + // year by subtracting the era offset + year -= cal.eras[ era ].offset; + } + return year; +}; + +// parseExact +(function() { + var expandYear, + getDayIndex, + getMonthIndex, + getParseRegExp, + outOfRange, + toUpper, + toUpperArray; + + expandYear = function( cal, year ) { + // expands 2-digit year into 4 digits. + var now = new Date(), + era = getEra( now ); + if ( year < 100 ) { + var twoDigitYearMax = cal.twoDigitYearMax; + twoDigitYearMax = typeof twoDigitYearMax === "string" ? new Date().getFullYear() % 100 + parseInt( twoDigitYearMax, 10 ) : twoDigitYearMax; + var curr = getEraYear( now, cal, era ); + year += curr - ( curr % 100 ); + if ( year > twoDigitYearMax ) { + year -= 100; + } + } + return year; + }; + + getDayIndex = function ( cal, value, abbr ) { + var ret, + days = cal.days, + upperDays = cal._upperDays; + if ( !upperDays ) { + cal._upperDays = upperDays = [ + toUpperArray( days.names ), + toUpperArray( days.namesAbbr ), + toUpperArray( days.namesShort ) + ]; + } + value = toUpper( value ); + if ( abbr ) { + ret = arrayIndexOf( upperDays[1], value ); + if ( ret === -1 ) { + ret = arrayIndexOf( upperDays[2], value ); + } + } + else { + ret = arrayIndexOf( upperDays[0], value ); + } + return ret; + }; + + getMonthIndex = function( cal, value, abbr ) { + var months = cal.months, + monthsGen = cal.monthsGenitive || cal.months, + upperMonths = cal._upperMonths, + upperMonthsGen = cal._upperMonthsGen; + if ( !upperMonths ) { + cal._upperMonths = upperMonths = [ + toUpperArray( months.names ), + toUpperArray( months.namesAbbr ) + ]; + cal._upperMonthsGen = upperMonthsGen = [ + toUpperArray( monthsGen.names ), + toUpperArray( monthsGen.namesAbbr ) + ]; + } + value = toUpper( value ); + var i = arrayIndexOf( abbr ? upperMonths[1] : upperMonths[0], value ); + if ( i < 0 ) { + i = arrayIndexOf( abbr ? upperMonthsGen[1] : upperMonthsGen[0], value ); + } + return i; + }; + + getParseRegExp = function( cal, format ) { + // converts a format string into a regular expression with groups that + // can be used to extract date fields from a date string. + // check for a cached parse regex. + var re = cal._parseRegExp; + if ( !re ) { + cal._parseRegExp = re = {}; + } + else { + var reFormat = re[ format ]; + if ( reFormat ) { + return reFormat; + } + } + + // expand single digit formats, then escape regular expression characters. + var expFormat = expandFormat( cal, format ).replace( /([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g, "\\\\$1" ), + regexp = [ "^" ], + groups = [], + index = 0, + quoteCount = 0, + tokenRegExp = getTokenRegExp(), + match; + + // iterate through each date token found. + while ( (match = tokenRegExp.exec(expFormat)) !== null ) { + var preMatch = expFormat.slice( index, match.index ); + index = tokenRegExp.lastIndex; + + // don't replace any matches that occur inside a string literal. + quoteCount += appendPreOrPostMatch( preMatch, regexp ); + if ( quoteCount % 2 ) { + regexp.push( match[0] ); + continue; + } + + // add a regex group for the token. + var m = match[ 0 ], + len = m.length, + add; + switch ( m ) { + case "dddd": case "ddd": + case "MMMM": case "MMM": + case "gg": case "g": + add = "(\\D+)"; + break; + case "tt": case "t": + add = "(\\D*)"; + break; + case "yyyy": + case "fff": + case "ff": + case "f": + add = "(\\d{" + len + "})"; + 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": + add = "(\\d\\d?)"; + break; + case "zzz": + add = "([+-]?\\d\\d?:\\d{2})"; + break; + case "zz": case "z": + add = "([+-]?\\d\\d?)"; + break; + case "/": + add = "(\\" + cal[ "/" ] + ")"; + break; + default: + throw "Invalid date format pattern \'" + m + "\'."; + break; + } + if ( add ) { + regexp.push( add ); + } + groups.push( match[0] ); + } + appendPreOrPostMatch( expFormat.slice(index), regexp ); + regexp.push( "$" ); + + // allow whitespace to differ when matching formats. + var regexpStr = regexp.join( "" ).replace( /\s+/g, "\\s+" ), + parseRegExp = { "regExp": regexpStr, "groups": groups }; + + // cache the regex for this format. + return re[ format ] = parseRegExp; + }; + + outOfRange = function( value, low, high ) { + return value < low || value > high; + }; + + toUpper = function( value ) { + // "he-IL" has non-breaking space in weekday names. + return value.split( "\u00A0" ).join( " " ).toUpperCase(); + }; + + toUpperArray = function( arr ) { + var results = []; + for ( var i = 0, l = arr.length; i < l; i++ ) { + results[ i ] = toUpper( arr[i] ); + } + return results; + }; + + parseExact = function( value, format, culture ) { + // try to parse the date string by matching against the format string + // while using the specified culture for date field names. + value = trim( value ); + var cal = culture.calendar, + // convert date formats into regular expressions with groupings. + // use the regexp to determine the input format and extract the date fields. + parseInfo = getParseRegExp( cal, format ), + match = new RegExp( parseInfo.regExp ).exec( value ); + if ( match === null ) { + return null; + } + // found a date format that matches the input. + var groups = parseInfo.groups, + era = null, year = null, month = null, date = null, weekDay = null, + hour = 0, hourOffset, min = 0, sec = 0, msec = 0, tzMinOffset = null, + pmHour = false; + // iterate the format groups to extract and set the date fields. + for ( var j = 0, jl = groups.length; j < jl; j++ ) { + var matchGroup = match[ j + 1 ]; + if ( matchGroup ) { + var current = groups[ j ], + clength = current.length, + matchInt = parseInt( matchGroup, 10 ); + switch ( current ) { + case "dd": case "d": + // Day of month. + date = matchInt; + // check that date is generally in valid range, also checking overflow below. + if ( outOfRange(date, 1, 31) ) return null; + break; + case "MMM": case "MMMM": + month = getMonthIndex( cal, matchGroup, clength === 3 ); + if ( outOfRange(month, 0, 11) ) return null; + break; + case "M": case "MM": + // Month. + month = matchInt - 1; + if ( outOfRange(month, 0, 11) ) return null; + break; + case "y": case "yy": + case "yyyy": + year = clength < 4 ? expandYear( cal, matchInt ) : matchInt; + if ( outOfRange(year, 0, 9999) ) return null; + break; + case "h": case "hh": + // Hours (12-hour clock). + hour = matchInt; + if ( hour === 12 ) hour = 0; + if ( outOfRange(hour, 0, 11) ) return null; + break; + case "H": case "HH": + // Hours (24-hour clock). + hour = matchInt; + if ( outOfRange(hour, 0, 23) ) return null; + break; + case "m": case "mm": + // Minutes. + min = matchInt; + if ( outOfRange(min, 0, 59) ) return null; + break; + case "s": case "ss": + // Seconds. + sec = matchInt; + if ( outOfRange(sec, 0, 59) ) return null; + break; + case "tt": case "t": + // AM/PM designator. + // see if it is standard, upper, or lower case PM. If not, ensure it is at least one of + // the AM tokens. If not, fail the parse for this format. + pmHour = cal.PM && ( matchGroup === cal.PM[0] || matchGroup === cal.PM[1] || matchGroup === cal.PM[2] ); + if ( + !pmHour && ( + !cal.AM || ( matchGroup !== cal.AM[0] && matchGroup !== cal.AM[1] && matchGroup !== cal.AM[2] ) + ) + ) return null; + break; + case "f": + // Deciseconds. + case "ff": + // Centiseconds. + case "fff": + // Milliseconds. + msec = matchInt * Math.pow( 10, 3 - clength ); + if ( outOfRange(msec, 0, 999) ) return null; + break; + case "ddd": + // Day of week. + case "dddd": + // Day of week. + weekDay = getDayIndex( cal, matchGroup, clength === 3 ); + if ( outOfRange(weekDay, 0, 6) ) return null; + break; + case "zzz": + // Time zone offset in +/- hours:min. + var offsets = matchGroup.split( /:/ ); + if ( offsets.length !== 2 ) return null; + hourOffset = parseInt( offsets[0], 10 ); + if ( outOfRange(hourOffset, -12, 13) ) return null; + var minOffset = parseInt( offsets[1], 10 ); + if ( outOfRange(minOffset, 0, 59) ) return null; + tzMinOffset = ( hourOffset * 60 ) + ( startsWith(matchGroup, "-") ? -minOffset : minOffset ); + break; + case "z": case "zz": + // Time zone offset in +/- hours. + hourOffset = matchInt; + if ( outOfRange(hourOffset, -12, 13) ) return null; + tzMinOffset = hourOffset * 60; + break; + case "g": case "gg": + var eraName = matchGroup; + if ( !eraName || !cal.eras ) return null; + eraName = trim( eraName.toLowerCase() ); + for ( var i = 0, l = cal.eras.length; i < l; i++ ) { + if ( eraName === cal.eras[i].name.toLowerCase() ) { + era = i; + break; + } + } + // could not find an era with that name + if ( era === null ) return null; + break; + } + } + } + var result = new Date(), defaultYear, convert = cal.convert; + defaultYear = convert ? convert.fromGregorian( result )[ 0 ] : result.getFullYear(); + if ( year === null ) { + year = defaultYear; + } + else if ( cal.eras ) { + // year must be shifted to normal gregorian year + // but not if year was not specified, its already normal gregorian + // per the main if clause above. + year += cal.eras[( era || 0 )].offset; + } + // set default day and month to 1 and January, so if unspecified, these are the defaults + // instead of the current day/month. + if ( month === null ) { + month = 0; + } + if ( date === null ) { + date = 1; + } + // now have year, month, and date, but in the culture's calendar. + // convert to gregorian if necessary + if ( convert ) { + result = convert.toGregorian( year, month, date ); + // conversion failed, must be an invalid match + if ( result === null ) return null; + } + else { + // have to set year, month and date together to avoid overflow based on current date. + result.setFullYear( year, month, date ); + // check to see if date overflowed for specified month (only checked 1-31 above). + if ( result.getDate() !== date ) return null; + // invalid day of week. + if ( weekDay !== null && result.getDay() !== weekDay ) { + return null; + } + } + // if pm designator token was found make sure the hours fit the 24-hour clock. + if ( pmHour && hour < 12 ) { + hour += 12; + } + result.setHours( hour, min, sec, msec ); + if ( tzMinOffset !== null ) { + // adjust timezone to utc before applying local offset. + var adjustedMin = result.getMinutes() - ( tzMinOffset + result.getTimezoneOffset() ); + // Safari limits hours and minutes to the range of -127 to 127. We need to use setHours + // to ensure both these fields will not exceed this range. adjustedMin will range + // somewhere between -1440 and 1500, so we only need to split this into hours. + result.setHours( result.getHours() + parseInt(adjustedMin / 60, 10), adjustedMin % 60 ); + } + return result; + }; +}()); + +parseNegativePattern = function( value, nf, negativePattern ) { + var neg = nf[ "-" ], + pos = nf[ "+" ], + ret; + switch ( negativePattern ) { + case "n -": + neg = " " + neg; + pos = " " + pos; + // fall through + case "n-": + if ( endsWith(value, neg) ) { + ret = [ "-", value.substr(0, value.length - neg.length) ]; + } + else if ( endsWith(value, pos) ) { + ret = [ "+", value.substr(0, value.length - pos.length) ]; + } + break; + case "- n": + neg += " "; + pos += " "; + // fall through + case "-n": + if ( startsWith(value, neg) ) { + ret = [ "-", value.substr(neg.length) ]; + } + else if ( startsWith(value, pos) ) { + ret = [ "+", value.substr(pos.length) ]; + } + break; + case "(n)": + if ( startsWith(value, "(") && endsWith(value, ")") ) { + ret = [ "-", value.substr(1, value.length - 2) ]; + } + break; + } + return ret || [ "", value ]; +}; + +// +// public instance functions +// + +Globalize.prototype.findClosestCulture = function( cultureSelector ) { + return Globalize.findClosestCulture.call( this, cultureSelector ); +}; + +Globalize.prototype.format = function( value, format, cultureSelector ) { + return Globalize.format.call( this, value, format, cultureSelector ); +}; + +Globalize.prototype.localize = function( key, cultureSelector ) { + return Globalize.localize.call( this, key, cultureSelector ); +}; + +Globalize.prototype.parseInt = function( value, radix, cultureSelector ) { + return Globalize.parseInt.call( this, value, radix, cultureSelector ); +}; + +Globalize.prototype.parseFloat = function( value, radix, cultureSelector ) { + return Globalize.parseFloat.call( this, value, radix, cultureSelector ); +}; + +Globalize.prototype.culture = function( cultureSelector ) { + return Globalize.culture.call( this, cultureSelector ); +}; + +// +// public singleton functions +// + +Globalize.addCultureInfo = function( cultureName, baseCultureName, info ) { + + var base = {}, + isNew = false; + + if ( typeof cultureName !== "string" ) { + // cultureName argument is optional string. If not specified, assume info is first + // and only argument. Specified info deep-extends current culture. + info = cultureName; + cultureName = this.culture().name; + base = this.cultures[ cultureName ]; + } else if ( typeof baseCultureName !== "string" ) { + // baseCultureName argument is optional string. If not specified, assume info is second + // argument. Specified info deep-extends specified culture. + // If specified culture does not exist, create by deep-extending default + info = baseCultureName; + isNew = ( this.cultures[ cultureName ] == null ); + base = this.cultures[ cultureName ] || this.cultures[ "default" ]; + } else { + // cultureName and baseCultureName specified. Assume a new culture is being created + // by deep-extending an specified base culture + isNew = true; + base = this.cultures[ baseCultureName ]; + } + + this.cultures[ cultureName ] = extend(true, {}, + base, + info + ); + // Make the standard calendar the current culture if it's a new culture + if ( isNew ) { + this.cultures[ cultureName ].calendar = this.cultures[ cultureName ].calendars.standard; + } +}; + +Globalize.findClosestCulture = function( name ) { + var match; + if ( !name ) { + return this.cultures[ this.cultureSelector ] || this.cultures[ "default" ]; + } + if ( typeof name === "string" ) { + name = name.split( "," ); + } + if ( isArray(name) ) { + var lang, + cultures = this.cultures, + list = name, + i, l = list.length, + prioritized = []; + for ( i = 0; i < l; i++ ) { + name = trim( list[i] ); + var pri, parts = name.split( ";" ); + lang = trim( parts[0] ); + if ( parts.length === 1 ) { + pri = 1; + } + else { + name = trim( parts[1] ); + if ( name.indexOf("q=") === 0 ) { + name = name.substr( 2 ); + pri = parseFloat( name ); + pri = isNaN( pri ) ? 0 : pri; + } + else { + pri = 1; + } + } + prioritized.push({ lang: lang, pri: pri }); + } + prioritized.sort(function( a, b ) { + return a.pri < b.pri ? 1 : -1; + }); + + // exact match + for ( i = 0; i < l; i++ ) { + lang = prioritized[ i ].lang; + match = cultures[ lang ]; + if ( match ) { + return match; + } + } + + // neutral language match + for ( i = 0; i < l; i++ ) { + lang = prioritized[ i ].lang; + do { + var index = lang.lastIndexOf( "-" ); + if ( index === -1 ) { + break; + } + // strip off the last part. e.g. en-US => en + lang = lang.substr( 0, index ); + match = cultures[ lang ]; + if ( match ) { + return match; + } + } + while ( 1 ); + } + + // last resort: match first culture using that language + for ( i = 0; i < l; i++ ) { + lang = prioritized[ i ].lang; + for ( var cultureKey in cultures ) { + var culture = cultures[ cultureKey ]; + if ( culture.language == lang ) { + return culture; + } + } + } + } + else if ( typeof name === "object" ) { + return name; + } + return match || null; +}; + +Globalize.format = function( value, format, cultureSelector ) { + culture = this.findClosestCulture( cultureSelector ); + if ( value instanceof Date ) { + value = formatDate( value, format, culture ); + } + else if ( typeof value === "number" ) { + value = formatNumber( value, format, culture ); + } + return value; +}; + +Globalize.localize = function( key, cultureSelector ) { + return this.findClosestCulture( cultureSelector ).messages[ key ] || + this.cultures[ "default" ].messages[ key ]; +}; + +Globalize.parseDate = function( value, formats, culture ) { + culture = this.findClosestCulture( culture ); + + var date, prop, patterns; + if ( formats ) { + if ( typeof formats === "string" ) { + formats = [ formats ]; + } + if ( formats.length ) { + for ( var i = 0, l = formats.length; i < l; i++ ) { + var format = formats[ i ]; + if ( format ) { + date = parseExact( value, format, culture ); + if ( date ) { + break; + } + } + } + } + } else { + patterns = culture.calendar.patterns; + for ( prop in patterns ) { + date = parseExact( value, patterns[prop], culture ); + if ( date ) { + break; + } + } + } + + return date || null; +}; + +Globalize.parseInt = function( value, radix, cultureSelector ) { + return truncate( Globalize.parseFloat(value, radix, cultureSelector) ); +}; + +Globalize.parseFloat = function( value, radix, cultureSelector ) { + // radix argument is optional + if ( typeof radix !== "number" ) { + cultureSelector = radix; + radix = 10; + } + + var culture = this.findClosestCulture( cultureSelector ); + var ret = NaN, + nf = culture.numberFormat; + + if ( value.indexOf(culture.numberFormat.currency.symbol) > -1 ) { + // remove currency symbol + value = value.replace( culture.numberFormat.currency.symbol, "" ); + // replace decimal seperator + value = value.replace( culture.numberFormat.currency["."], culture.numberFormat["."] ); + } + + // trim leading and trailing whitespace + value = trim( value ); + + // allow infinity or hexidecimal + if ( regexInfinity.test(value) ) { + ret = parseFloat( value ); + } + else if ( !radix && regexHex.test(value) ) { + ret = parseInt( value, 16 ); + } + else { + + // determine sign and number + var signInfo = parseNegativePattern( value, nf, nf.pattern[0] ), + sign = signInfo[ 0 ], + num = signInfo[ 1 ]; + + // #44 - try parsing as "(n)" + if ( sign === "" && nf.pattern[0] !== "(n)" ) { + signInfo = parseNegativePattern( value, nf, "(n)" ); + sign = signInfo[ 0 ]; + num = signInfo[ 1 ]; + } + + // try parsing as "-n" + if ( sign === "" && nf.pattern[0] !== "-n" ) { + signInfo = parseNegativePattern( value, nf, "-n" ); + sign = signInfo[ 0 ]; + num = signInfo[ 1 ]; + } + + sign = sign || "+"; + + // determine exponent and number + var exponent, + intAndFraction, + exponentPos = num.indexOf( "e" ); + if ( exponentPos < 0 ) exponentPos = num.indexOf( "E" ); + if ( exponentPos < 0 ) { + intAndFraction = num; + exponent = null; + } + else { + intAndFraction = num.substr( 0, exponentPos ); + exponent = num.substr( exponentPos + 1 ); + } + // determine decimal position + var integer, + fraction, + decSep = nf[ "." ], + decimalPos = intAndFraction.indexOf( decSep ); + if ( decimalPos < 0 ) { + integer = intAndFraction; + fraction = null; + } + else { + integer = intAndFraction.substr( 0, decimalPos ); + fraction = intAndFraction.substr( decimalPos + decSep.length ); + } + // handle groups (e.g. 1,000,000) + var groupSep = nf[ "," ]; + integer = integer.split( groupSep ).join( "" ); + var altGroupSep = groupSep.replace( /\u00A0/g, " " ); + if ( groupSep !== altGroupSep ) { + integer = integer.split( altGroupSep ).join( "" ); + } + // build a natively parsable number string + var p = sign + integer; + if ( fraction !== null ) { + p += "." + fraction; + } + if ( exponent !== null ) { + // exponent itself may have a number patternd + var expSignInfo = parseNegativePattern( exponent, nf, "-n" ); + p += "e" + ( expSignInfo[0] || "+" ) + expSignInfo[ 1 ]; + } + if ( regexParseFloat.test(p) ) { + ret = parseFloat( p ); + } + } + return ret; +}; + +Globalize.culture = function( cultureSelector ) { + // setter + if ( typeof cultureSelector !== "undefined" ) { + this.cultureSelector = cultureSelector; + } + // getter + return this.findClosestCulture( cultureSelector ) || this.culture[ "default" ]; +}; + +}( this )); diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/external/jquery.mousewheel.js b/97suifangqa/staticfiles/plugins/jquery-ui/external/jquery.mousewheel.js new file mode 100644 index 0000000..8c60304 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/external/jquery.mousewheel.js @@ -0,0 +1,101 @@ +/*! Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net) + * Licensed under the MIT License (LICENSE.txt). + * + * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. + * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. + * Thanks to: Seamus Leahy for adding deltaX and deltaY + * + * Version: 3.1.0 + * + * Requires: 1.2.2+ + */ + +(function (factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(['jquery'], factory); + } else { + // Browser globals + factory(jQuery); + } +}(function ($) { + + var toFix = ['wheel', 'mousewheel', 'DOMMouseScroll']; + var toBind = 'onwheel' in document || document.documentMode >= 9 ? ['wheel'] : ['mousewheel', 'DomMouseScroll', 'MozMousePixelScroll']; + var lowestDelta, lowestDeltaXY; + + if ($.event.fixHooks) { + for ( var i=toFix.length; i; ) { + $.event.fixHooks[ toFix[--i] ] = $.event.mouseHooks; + } + } + + $.event.special.mousewheel = { + setup: function() { + if ( this.addEventListener ) { + for ( var i=toBind.length; i; ) { + this.addEventListener( toBind[--i], handler, false ); + } + } else { + this.onmousewheel = handler; + } + }, + + teardown: function() { + if ( this.removeEventListener ) { + for ( var i=toBind.length; i; ) { + this.removeEventListener( toBind[--i], handler, false ); + } + } else { + this.onmousewheel = null; + } + } + }; + + $.fn.extend({ + mousewheel: function(fn) { + return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel"); + }, + + unmousewheel: function(fn) { + return this.unbind("mousewheel", fn); + } + }); + + + function handler(event) { + var orgEvent = event || window.event, args = [].slice.call( arguments, 1 ), delta = 0, deltaX = 0, deltaY = 0, absDelta = 0, absDeltaXY = 0; + event = $.event.fix(orgEvent); + event.type = "mousewheel"; + + // Old school scrollwheel delta + if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta; } + if ( orgEvent.detail ) { delta = orgEvent.detail * -1; } + + // New school wheel delta (wheel event) + if ( orgEvent.deltaY ) { + deltaY = orgEvent.deltaY * -1; + delta = deltaY; + } + if ( orgEvent.deltaX ) { + deltaX = orgEvent.deltaX; + delta = deltaX * -1; + } + + // Webkit + if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY; } + if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = orgEvent.wheelDeltaX * -1; } + + absDelta = Math.abs(delta); + if ( !lowestDelta || absDelta < lowestDelta ) { lowestDelta = absDelta; } + + absDeltaXY = Math.max( Math.abs(deltaY), Math.abs(deltaX) ); + if ( !lowestDeltaXY || absDeltaXY < lowestDeltaXY ) { lowestDeltaXY = absDeltaXY; } + + // Add event and delta to the front of the arguments + args.unshift(event, Math.floor(delta/lowestDelta), Math.floor(deltaX/lowestDeltaXY), Math.floor(deltaY/lowestDeltaXY)); + + return ($.event.dispatch || $.event.handle).apply(this, args); + } + +})); diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/external/jshint.js b/97suifangqa/staticfiles/plugins/jquery-ui/external/jshint.js new file mode 100644 index 0000000..8f06d9b --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/external/jshint.js @@ -0,0 +1,4835 @@ +/*! + * JSHint, by JSHint Community. + * + * This file (and this file only) is licensed under the same slightly modified + * MIT license that JSLint is. It stops evil-doers everywhere. + * + * JSHint is a derivative work of JSLint: + * + * Copyright (c) 2002 Douglas Crockford (www.JSLint.com) + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom + * the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * The Software shall be used for Good, not Evil. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + * + */ + +/* + JSHINT is a global function. It takes two parameters. + + var myResult = JSHINT(source, option); + + The first parameter is either a string or an array of strings. If it is a + string, it will be split on '\n' or '\r'. If it is an array of strings, it + is assumed that each string represents one line. The source can be a + JavaScript text or a JSON text. + + The second parameter is an optional object of options which control the + operation of JSHINT. Most of the options are booleans: They are all + optional and have a default value of false. One of the options, predef, + can be an array of names, which will be used to declare global variables, + or an object whose keys are used as global names, with a boolean value + that determines if they are assignable. + + If it checks out, JSHINT returns true. Otherwise, it returns false. + + If false, you can inspect JSHINT.errors to find out the problems. + JSHINT.errors is an array of objects containing these members: + + { + line : The line (relative to 1) at which the lint was found + character : The character (relative to 1) at which the lint was found + reason : The problem + evidence : The text line in which the problem occurred + raw : The raw message before the details were inserted + a : The first detail + b : The second detail + c : The third detail + d : The fourth detail + } + + If a fatal error was found, a null will be the last element of the + JSHINT.errors array. + + You can request a data structure which contains JSHint's results. + + var myData = JSHINT.data(); + + It returns a structure with this form: + + { + errors: [ + { + line: NUMBER, + character: NUMBER, + reason: STRING, + evidence: STRING + } + ], + functions: [ + name: STRING, + line: NUMBER, + character: NUMBER, + last: NUMBER, + lastcharacter: NUMBER, + param: [ + STRING + ], + closure: [ + STRING + ], + var: [ + STRING + ], + exception: [ + STRING + ], + outer: [ + STRING + ], + unused: [ + STRING + ], + global: [ + STRING + ], + label: [ + STRING + ] + ], + globals: [ + STRING + ], + member: { + STRING: NUMBER + }, + unused: [ + { + name: STRING, + line: NUMBER + } + ], + implieds: [ + { + name: STRING, + line: NUMBER + } + ], + urls: [ + STRING + ], + json: BOOLEAN + } + + Empty arrays will not be included. + +*/ + +/*jshint + evil: true, nomen: false, onevar: false, regexp: false, strict: true, boss: true, + undef: true, maxlen: 100, indent: 4, quotmark: double, unused: true +*/ + +/*members "\b", "\t", "\n", "\f", "\r", "!=", "!==", "\"", "%", "(begin)", + "(breakage)", "(character)", "(context)", "(error)", "(explicitNewcap)", "(global)", + "(identifier)", "(last)", "(lastcharacter)", "(line)", "(loopage)", "(metrics)", + "(name)", "(onevar)", "(params)", "(scope)", "(statement)", "(verb)", "(tokens)", "(catch)", + "*", "+", "++", "-", "--", "\/", "<", "<=", "==", + "===", ">", ">=", $, $$, $A, $F, $H, $R, $break, $continue, $w, Abstract, Ajax, + __filename, __dirname, ActiveXObject, Array, ArrayBuffer, ArrayBufferView, Audio, + Autocompleter, Asset, Boolean, Builder, Buffer, Browser, Blob, COM, CScript, Canvas, + CustomAnimation, Class, Control, ComplexityCount, Chain, Color, Cookie, Core, DataView, Date, + Debug, Draggable, Draggables, Droppables, Document, DomReady, DOMEvent, DOMReady, DOMParser, + Drag, E, Enumerator, Enumerable, Element, Elements, Error, Effect, EvalError, Event, + Events, FadeAnimation, Field, Flash, Float32Array, Float64Array, Form, + FormField, Frame, FormData, Function, Fx, GetObject, Group, Hash, HotKey, + HTMLElement, HTMLAnchorElement, HTMLBaseElement, HTMLBlockquoteElement, + HTMLBodyElement, HTMLBRElement, HTMLButtonElement, HTMLCanvasElement, HTMLDirectoryElement, + HTMLDivElement, HTMLDListElement, HTMLFieldSetElement, + HTMLFontElement, HTMLFormElement, HTMLFrameElement, HTMLFrameSetElement, + HTMLHeadElement, HTMLHeadingElement, HTMLHRElement, HTMLHtmlElement, + HTMLIFrameElement, HTMLImageElement, HTMLInputElement, HTMLIsIndexElement, + HTMLLabelElement, HTMLLayerElement, HTMLLegendElement, HTMLLIElement, + HTMLLinkElement, HTMLMapElement, HTMLMenuElement, HTMLMetaElement, + HTMLModElement, HTMLObjectElement, HTMLOListElement, HTMLOptGroupElement, + HTMLOptionElement, HTMLParagraphElement, HTMLParamElement, HTMLPreElement, + HTMLQuoteElement, HTMLScriptElement, HTMLSelectElement, HTMLStyleElement, + HtmlTable, HTMLTableCaptionElement, HTMLTableCellElement, HTMLTableColElement, + HTMLTableElement, HTMLTableRowElement, HTMLTableSectionElement, + HTMLTextAreaElement, HTMLTitleElement, HTMLUListElement, HTMLVideoElement, + Iframe, IframeShim, Image, importScripts, Int16Array, Int32Array, Int8Array, + Insertion, InputValidator, JSON, Keyboard, Locale, LN10, LN2, LOG10E, LOG2E, + MAX_VALUE, MIN_VALUE, Map, Mask, Math, MenuItem, MessageChannel, MessageEvent, MessagePort, + MoveAnimation, MooTools, MutationObserver, NaN, Native, NEGATIVE_INFINITY, Node, NodeFilter, + Number, Object, ObjectRange, + Option, Options, OverText, PI, POSITIVE_INFINITY, PeriodicalExecuter, Point, Position, Prototype, + RangeError, Rectangle, ReferenceError, RegExp, ResizeAnimation, Request, RotateAnimation, Set, + SQRT1_2, SQRT2, ScrollBar, ScriptEngine, ScriptEngineBuildVersion, + ScriptEngineMajorVersion, ScriptEngineMinorVersion, Scriptaculous, Scroller, + Slick, Slider, Selector, SharedWorker, String, Style, SyntaxError, Sortable, Sortables, + SortableObserver, Sound, Spinner, System, Swiff, Text, TextArea, Template, + Timer, Tips, Type, TypeError, Toggle, Try, "use strict", unescape, URI, URIError, URL, + VBArray, WeakMap, WSH, WScript, XDomainRequest, Web, Window, XMLDOM, XMLHttpRequest, XMLSerializer, + XPathEvaluator, XPathException, XPathExpression, XPathNamespace, XPathNSResolver, XPathResult, + "\\", a, abs, addEventListener, address, alert, apply, applicationCache, arguments, arity, + asi, atob, b, basic, basicToken, bitwise, blacklist, block, blur, boolOptions, boss, + browser, btoa, c, call, callee, caller, camelcase, cases, charAt, charCodeAt, character, + clearInterval, clearTimeout, close, closed, closure, comment, complexityCount, condition, + confirm, console, constructor, content, couch, create, css, curly, d, data, datalist, dd, debug, + decodeURI, decodeURIComponent, defaultStatus, defineClass, deserialize, devel, document, + dojo, dijit, dojox, define, else, emit, encodeURI, encodeURIComponent, elem, + eqeq, eqeqeq, eqnull, errors, es5, escape, esnext, eval, event, evidence, evil, + ex, exception, exec, exps, expr, exports, FileReader, first, floor, focus, forEach, + forin, fragment, frames, from, fromCharCode, fud, funcscope, funct, function, functions, + g, gc, getComputedStyle, getRow, getter, getterToken, GLOBAL, global, globals, globalstrict, + hasOwnProperty, help, history, i, id, identifier, immed, implieds, importPackage, include, + indent, indexOf, init, ins, internals, instanceOf, isAlpha, isApplicationRunning, isArray, + isDigit, isFinite, isNaN, iterator, java, join, jshint, + JSHINT, json, jquery, jQuery, keys, label, labelled, last, lastcharacter, lastsemic, laxbreak, + laxcomma, latedef, lbp, led, left, length, line, load, loadClass, localStorage, location, + log, loopfunc, m, match, max, maxcomplexity, maxdepth, maxerr, maxlen, maxstatements, maxparams, + member, message, meta, module, moveBy, moveTo, mootools, multistr, name, navigator, new, newcap, + nestedBlockDepth, noarg, node, noempty, nomen, nonew, nonstandard, nud, onbeforeunload, onblur, + onerror, onevar, onecase, onfocus, onload, onresize, onunload, open, openDatabase, openURL, + opener, opera, options, outer, param, parent, parseFloat, parseInt, passfail, plusplus, + postMessage, pop, predef, print, process, prompt, proto, prototype, prototypejs, provides, push, + quit, quotmark, range, raw, reach, reason, regexp, readFile, readUrl, regexdash, + removeEventListener, replace, report, require, reserved, resizeBy, resizeTo, resolvePath, + resumeUpdates, respond, rhino, right, runCommand, scroll, scope, screen, scripturl, scrollBy, + scrollTo, scrollbar, search, seal, self, send, serialize, sessionStorage, setInterval, setTimeout, + setter, setterToken, shift, slice, smarttabs, sort, spawn, split, statement, statementCount, stack, + status, start, strict, sub, substr, supernew, shadow, supplant, sum, sync, test, toLowerCase, + toString, toUpperCase, toint32, token, tokens, top, trailing, type, typeOf, Uint16Array, + Uint32Array, Uint8Array, undef, undefs, unused, urls, validthis, value, valueOf, var, vars, + version, verifyMaxParametersPerFunction, verifyMaxStatementsPerFunction, + verifyMaxComplexityPerFunction, verifyMaxNestedBlockDepthPerFunction, WebSocket, withstmt, white, + window, windows, Worker, worker, wsh, yui, YUI, Y, YUI_config*/ + +/*global exports: false */ + +// We build the application inside a function so that we produce only a single +// global variable. That function will be invoked immediately, and its return +// value is the JSHINT function itself. + +var JSHINT = (function () { + "use strict"; + + var anonname, // The guessed name for anonymous functions. + +// These are operators that should not be used with the ! operator. + + bang = { + "<" : true, + "<=" : true, + "==" : true, + "===": true, + "!==": true, + "!=" : true, + ">" : true, + ">=" : true, + "+" : true, + "-" : true, + "*" : true, + "/" : true, + "%" : true + }, + + // These are the JSHint boolean options. + boolOptions = { + asi : true, // if automatic semicolon insertion should be tolerated + bitwise : true, // if bitwise operators should not be allowed + boss : true, // if advanced usage of assignments should be allowed + browser : true, // if the standard browser globals should be predefined + camelcase : true, // if identifiers should be required in camel case + couch : true, // if CouchDB globals should be predefined + curly : true, // if curly braces around all blocks should be required + debug : true, // if debugger statements should be allowed + devel : true, // if logging globals should be predefined (console, + // alert, etc.) + dojo : true, // if Dojo Toolkit globals should be predefined + eqeqeq : true, // if === should be required + eqnull : true, // if == null comparisons should be tolerated + es5 : true, // if ES5 syntax should be allowed + esnext : true, // if es.next specific syntax should be allowed + evil : true, // if eval should be allowed + expr : true, // if ExpressionStatement should be allowed as Programs + forin : true, // if for in statements must filter + funcscope : true, // if only function scope should be used for scope tests + globalstrict: true, // if global "use strict"; should be allowed (also + // enables 'strict') + immed : true, // if immediate invocations must be wrapped in parens + iterator : true, // if the `__iterator__` property should be allowed + jquery : true, // if jQuery globals should be predefined + lastsemic : true, // if semicolons may be ommitted for the trailing + // statements inside of a one-line blocks. + latedef : true, // if the use before definition should not be tolerated + laxbreak : true, // if line breaks should not be checked + laxcomma : true, // if line breaks should not be checked around commas + loopfunc : true, // if functions should be allowed to be defined within + // loops + mootools : true, // if MooTools globals should be predefined + multistr : true, // allow multiline strings + newcap : true, // if constructor names must be capitalized + noarg : true, // if arguments.caller and arguments.callee should be + // disallowed + node : true, // if the Node.js environment globals should be + // predefined + noempty : true, // if empty blocks should be disallowed + nonew : true, // if using `new` for side-effects should be disallowed + nonstandard : true, // if non-standard (but widely adopted) globals should + // be predefined + nomen : true, // if names should be checked + onevar : true, // if only one var statement per function should be + // allowed + onecase : true, // if one case switch statements should be allowed + passfail : true, // if the scan should stop on first error + plusplus : true, // if increment/decrement should not be allowed + proto : true, // if the `__proto__` property should be allowed + prototypejs : true, // if Prototype and Scriptaculous globals should be + // predefined + regexdash : true, // if unescaped first/last dash (-) inside brackets + // should be tolerated + regexp : true, // if the . should not be allowed in regexp literals + rhino : true, // if the Rhino environment globals should be predefined + undef : true, // if variables should be declared before used + unused : true, // if variables should be always used + scripturl : true, // if script-targeted URLs should be tolerated + shadow : true, // if variable shadowing should be tolerated + smarttabs : true, // if smarttabs should be tolerated + // (http://www.emacswiki.org/emacs/SmartTabs) + strict : true, // require the "use strict"; pragma + sub : true, // if all forms of subscript notation are tolerated + supernew : true, // if `new function () { ... };` and `new Object;` + // should be tolerated + trailing : true, // if trailing whitespace rules apply + validthis : true, // if 'this' inside a non-constructor function is valid. + // This is a function scoped option only. + withstmt : true, // if with statements should be allowed + white : true, // if strict whitespace rules apply + worker : true, // if Web Worker script symbols should be allowed + wsh : true, // if the Windows Scripting Host environment globals + // should be predefined + yui : true // YUI variables should be predefined + }, + + // These are the JSHint options that can take any value + // (we use this object to detect invalid options) + valOptions = { + maxlen : false, + indent : false, + maxerr : false, + predef : false, + quotmark : false, //'single'|'double'|true + scope : false, + maxstatements: false, // {int} max statements per function + maxdepth : false, // {int} max nested block depth per function + maxparams : false, // {int} max params per function + maxcomplexity: false // {int} max cyclomatic complexity per function + }, + + // These are JSHint boolean options which are shared with JSLint + // where the definition in JSHint is opposite JSLint + invertedOptions = { + bitwise : true, + forin : true, + newcap : true, + nomen : true, + plusplus : true, + regexp : true, + undef : true, + white : true, + + // Inverted and renamed, use JSHint name here + eqeqeq : true, + onevar : true + }, + + // These are JSHint boolean options which are shared with JSLint + // where the name has been changed but the effect is unchanged + renamedOptions = { + eqeq : "eqeqeq", + vars : "onevar", + windows : "wsh" + }, + + + // browser contains a set of global names which are commonly provided by a + // web browser environment. + browser = { + ArrayBuffer : false, + ArrayBufferView : false, + Audio : false, + Blob : false, + addEventListener : false, + applicationCache : false, + atob : false, + blur : false, + btoa : false, + clearInterval : false, + clearTimeout : false, + close : false, + closed : false, + DataView : false, + DOMParser : false, + defaultStatus : false, + document : false, + event : false, + FileReader : false, + Float32Array : false, + Float64Array : false, + FormData : false, + focus : false, + frames : false, + getComputedStyle : false, + HTMLElement : false, + HTMLAnchorElement : false, + HTMLBaseElement : false, + HTMLBlockquoteElement : false, + HTMLBodyElement : false, + HTMLBRElement : false, + HTMLButtonElement : false, + HTMLCanvasElement : false, + HTMLDirectoryElement : false, + HTMLDivElement : false, + HTMLDListElement : false, + HTMLFieldSetElement : false, + HTMLFontElement : false, + HTMLFormElement : false, + HTMLFrameElement : false, + HTMLFrameSetElement : false, + HTMLHeadElement : false, + HTMLHeadingElement : false, + HTMLHRElement : false, + HTMLHtmlElement : false, + HTMLIFrameElement : false, + HTMLImageElement : false, + HTMLInputElement : false, + HTMLIsIndexElement : false, + HTMLLabelElement : false, + HTMLLayerElement : false, + HTMLLegendElement : false, + HTMLLIElement : false, + HTMLLinkElement : false, + HTMLMapElement : false, + HTMLMenuElement : false, + HTMLMetaElement : false, + HTMLModElement : false, + HTMLObjectElement : false, + HTMLOListElement : false, + HTMLOptGroupElement : false, + HTMLOptionElement : false, + HTMLParagraphElement : false, + HTMLParamElement : false, + HTMLPreElement : false, + HTMLQuoteElement : false, + HTMLScriptElement : false, + HTMLSelectElement : false, + HTMLStyleElement : false, + HTMLTableCaptionElement : false, + HTMLTableCellElement : false, + HTMLTableColElement : false, + HTMLTableElement : false, + HTMLTableRowElement : false, + HTMLTableSectionElement : false, + HTMLTextAreaElement : false, + HTMLTitleElement : false, + HTMLUListElement : false, + HTMLVideoElement : false, + history : false, + Int16Array : false, + Int32Array : false, + Int8Array : false, + Image : false, + length : false, + localStorage : false, + location : false, + MessageChannel : false, + MessageEvent : false, + MessagePort : false, + moveBy : false, + moveTo : false, + MutationObserver : false, + name : false, + Node : false, + NodeFilter : false, + navigator : false, + onbeforeunload : true, + onblur : true, + onerror : true, + onfocus : true, + onload : true, + onresize : true, + onunload : true, + open : false, + openDatabase : false, + opener : false, + Option : false, + parent : false, + print : false, + removeEventListener : false, + resizeBy : false, + resizeTo : false, + screen : false, + scroll : false, + scrollBy : false, + scrollTo : false, + sessionStorage : false, + setInterval : false, + setTimeout : false, + SharedWorker : false, + status : false, + top : false, + Uint16Array : false, + Uint32Array : false, + Uint8Array : false, + WebSocket : false, + window : false, + Worker : false, + XMLHttpRequest : false, + XMLSerializer : false, + XPathEvaluator : false, + XPathException : false, + XPathExpression : false, + XPathNamespace : false, + XPathNSResolver : false, + XPathResult : false + }, + + couch = { + "require" : false, + respond : false, + getRow : false, + emit : false, + send : false, + start : false, + sum : false, + log : false, + exports : false, + module : false, + provides : false + }, + + declared, // Globals that were declared using /*global ... */ syntax. + + devel = { + alert : false, + confirm : false, + console : false, + Debug : false, + opera : false, + prompt : false + }, + + dojo = { + dojo : false, + dijit : false, + dojox : false, + define : false, + "require" : false + }, + + funct, // The current function + + functionicity = [ + "closure", "exception", "global", "label", + "outer", "unused", "var" + ], + + functions, // All of the functions + + global, // The global scope + implied, // Implied globals + inblock, + indent, + jsonmode, + + jquery = { + "$" : false, + jQuery : false + }, + + lines, + lookahead, + member, + membersOnly, + + mootools = { + "$" : false, + "$$" : false, + Asset : false, + Browser : false, + Chain : false, + Class : false, + Color : false, + Cookie : false, + Core : false, + Document : false, + DomReady : false, + DOMEvent : false, + DOMReady : false, + Drag : false, + Element : false, + Elements : false, + Event : false, + Events : false, + Fx : false, + Group : false, + Hash : false, + HtmlTable : false, + Iframe : false, + IframeShim : false, + InputValidator : false, + instanceOf : false, + Keyboard : false, + Locale : false, + Mask : false, + MooTools : false, + Native : false, + Options : false, + OverText : false, + Request : false, + Scroller : false, + Slick : false, + Slider : false, + Sortables : false, + Spinner : false, + Swiff : false, + Tips : false, + Type : false, + typeOf : false, + URI : false, + Window : false + }, + + nexttoken, + + node = { + __filename : false, + __dirname : false, + Buffer : false, + console : false, + exports : true, // In Node it is ok to exports = module.exports = foo(); + GLOBAL : false, + global : false, + module : false, + process : false, + require : false, + setTimeout : false, + clearTimeout : false, + setInterval : false, + clearInterval : false + }, + + noreach, + option, + predefined, // Global variables defined by option + prereg, + prevtoken, + + prototypejs = { + "$" : false, + "$$" : false, + "$A" : false, + "$F" : false, + "$H" : false, + "$R" : false, + "$break" : false, + "$continue" : false, + "$w" : false, + Abstract : false, + Ajax : false, + Class : false, + Enumerable : false, + Element : false, + Event : false, + Field : false, + Form : false, + Hash : false, + Insertion : false, + ObjectRange : false, + PeriodicalExecuter: false, + Position : false, + Prototype : false, + Selector : false, + Template : false, + Toggle : false, + Try : false, + Autocompleter : false, + Builder : false, + Control : false, + Draggable : false, + Draggables : false, + Droppables : false, + Effect : false, + Sortable : false, + SortableObserver : false, + Sound : false, + Scriptaculous : false + }, + + quotmark, + + rhino = { + defineClass : false, + deserialize : false, + gc : false, + help : false, + importPackage: false, + "java" : false, + load : false, + loadClass : false, + print : false, + quit : false, + readFile : false, + readUrl : false, + runCommand : false, + seal : false, + serialize : false, + spawn : false, + sync : false, + toint32 : false, + version : false + }, + + scope, // The current scope + stack, + + // standard contains the global names that are provided by the + // ECMAScript standard. + standard = { + Array : false, + Boolean : false, + Date : false, + decodeURI : false, + decodeURIComponent : false, + encodeURI : false, + encodeURIComponent : false, + Error : false, + "eval" : false, + EvalError : false, + Function : false, + hasOwnProperty : false, + isFinite : false, + isNaN : false, + JSON : false, + Map : false, + Math : false, + NaN : false, + Number : false, + Object : false, + parseInt : false, + parseFloat : false, + RangeError : false, + ReferenceError : false, + RegExp : false, + Set : false, + String : false, + SyntaxError : false, + TypeError : false, + URIError : false, + WeakMap : false + }, + + // widely adopted global names that are not part of ECMAScript standard + nonstandard = { + escape : false, + unescape : false + }, + + directive, + syntax = {}, + tab, + token, + unuseds, + urls, + useESNextSyntax, + warnings, + + worker = { + importScripts : true, + postMessage : true, + self : true + }, + + wsh = { + ActiveXObject : true, + Enumerator : true, + GetObject : true, + ScriptEngine : true, + ScriptEngineBuildVersion : true, + ScriptEngineMajorVersion : true, + ScriptEngineMinorVersion : true, + VBArray : true, + WSH : true, + WScript : true, + XDomainRequest : true + }, + + yui = { + YUI : false, + Y : false, + YUI_config : false + }; + // Regular expressions. Some of these are stupidly long. + var ax, cx, tx, nx, nxg, lx, ix, jx, ft; + (function () { + /*jshint maxlen:300 */ + + // unsafe comment or string + ax = /@cc|<\/?|script|\]\s*\]|<\s*!|</i; + + // unsafe characters that are silently deleted by one or more browsers + cx = /[\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/; + + // token + tx = /^\s*([(){}\[.,:;'"~\?\]#@]|==?=?|\/=(?!(\S*\/[gim]?))|\/(\*(jshint|jslint|members?|global)?|\/)?|\*[\/=]?|\+(?:=|\++)?|-(?:=|-+)?|%=?|&[&=]?|\|[|=]?|>>?>?=?|<([\/=!]|\!(\[|--)?|<=?)?|\^=?|\!=?=?|[a-zA-Z_$][a-zA-Z0-9_$]*|[0-9]+([xX][0-9a-fA-F]+|\.[0-9]*)?([eE][+\-]?[0-9]+)?)/; + + // characters in strings that need escapement + nx = /[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/; + nxg = /[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; + + // star slash + lx = /\*\//; + + // identifier + ix = /^([a-zA-Z_$][a-zA-Z0-9_$]*)$/; + + // javascript url + jx = /^(?:javascript|jscript|ecmascript|vbscript|mocha|livescript)\s*:/i; + + // catches /* falls through */ comments + ft = /^\s*\/\*\s*falls\sthrough\s*\*\/\s*$/; + }()); + + function F() {} // Used by Object.create + + function is_own(object, name) { + // The object.hasOwnProperty method fails when the property under consideration + // is named 'hasOwnProperty'. So we have to use this more convoluted form. + return Object.prototype.hasOwnProperty.call(object, name); + } + + function checkOption(name, t) { + if (valOptions[name] === undefined && boolOptions[name] === undefined) { + warning("Bad option: '" + name + "'.", t); + } + } + + function isString(obj) { + return Object.prototype.toString.call(obj) === "[object String]"; + } + + // Provide critical ES5 functions to ES3. + + if (typeof Array.isArray !== "function") { + Array.isArray = function (o) { + return Object.prototype.toString.apply(o) === "[object Array]"; + }; + } + + if (!Array.prototype.forEach) { + Array.prototype.forEach = function (fn, scope) { + var len = this.length; + + for (var i = 0; i < len; i++) { + fn.call(scope || this, this[i], i, this); + } + }; + } + + if (!Array.prototype.indexOf) { + Array.prototype.indexOf = function (searchElement /*, fromIndex */ ) { + if (this === null || this === undefined) { + throw new TypeError(); + } + + var t = new Object(this); + var len = t.length >>> 0; + + if (len === 0) { + return -1; + } + + var n = 0; + if (arguments.length > 0) { + n = Number(arguments[1]); + if (n != n) { // shortcut for verifying if it's NaN + n = 0; + } else if (n !== 0 && n != Infinity && n != -Infinity) { + n = (n > 0 || -1) * Math.floor(Math.abs(n)); + } + } + + if (n >= len) { + return -1; + } + + var k = n >= 0 ? n : Math.max(len - Math.abs(n), 0); + for (; k < len; k++) { + if (k in t && t[k] === searchElement) { + return k; + } + } + + return -1; + }; + } + + if (typeof Object.create !== "function") { + Object.create = function (o) { + F.prototype = o; + return new F(); + }; + } + + if (typeof Object.keys !== "function") { + Object.keys = function (o) { + var a = [], k; + for (k in o) { + if (is_own(o, k)) { + a.push(k); + } + } + return a; + }; + } + + // Non standard methods + + function isAlpha(str) { + return (str >= "a" && str <= "z\uffff") || + (str >= "A" && str <= "Z\uffff"); + } + + function isDigit(str) { + return (str >= "0" && str <= "9"); + } + + function isIdentifier(token, value) { + if (!token) + return false; + + if (!token.identifier || token.value !== value) + return false; + + return true; + } + + function supplant(str, data) { + return str.replace(/\{([^{}]*)\}/g, function (a, b) { + var r = data[b]; + return typeof r === "string" || typeof r === "number" ? r : a; + }); + } + + function combine(t, o) { + var n; + for (n in o) { + if (is_own(o, n) && !is_own(JSHINT.blacklist, n)) { + t[n] = o[n]; + } + } + } + + function updatePredefined() { + Object.keys(JSHINT.blacklist).forEach(function (key) { + delete predefined[key]; + }); + } + + function assume() { + if (option.couch) { + combine(predefined, couch); + } + + if (option.rhino) { + combine(predefined, rhino); + } + + if (option.prototypejs) { + combine(predefined, prototypejs); + } + + if (option.node) { + combine(predefined, node); + option.globalstrict = true; + } + + if (option.devel) { + combine(predefined, devel); + } + + if (option.dojo) { + combine(predefined, dojo); + } + + if (option.browser) { + combine(predefined, browser); + } + + if (option.nonstandard) { + combine(predefined, nonstandard); + } + + if (option.jquery) { + combine(predefined, jquery); + } + + if (option.mootools) { + combine(predefined, mootools); + } + + if (option.worker) { + combine(predefined, worker); + } + + if (option.wsh) { + combine(predefined, wsh); + } + + if (option.esnext) { + useESNextSyntax(); + } + + if (option.globalstrict && option.strict !== false) { + option.strict = true; + } + + if (option.yui) { + combine(predefined, yui); + } + } + + + // Produce an error warning. + function quit(message, line, chr) { + var percentage = Math.floor((line / lines.length) * 100); + + throw { + name: "JSHintError", + line: line, + character: chr, + message: message + " (" + percentage + "% scanned).", + raw: message + }; + } + + function isundef(scope, m, t, a) { + return JSHINT.undefs.push([scope, m, t, a]); + } + + function warning(m, t, a, b, c, d) { + var ch, l, w; + t = t || nexttoken; + if (t.id === "(end)") { // `~ + t = token; + } + l = t.line || 0; + ch = t.from || 0; + w = { + id: "(error)", + raw: m, + evidence: lines[l - 1] || "", + line: l, + character: ch, + scope: JSHINT.scope, + a: a, + b: b, + c: c, + d: d + }; + w.reason = supplant(m, w); + JSHINT.errors.push(w); + if (option.passfail) { + quit("Stopping. ", l, ch); + } + warnings += 1; + if (warnings >= option.maxerr) { + quit("Too many errors.", l, ch); + } + return w; + } + + function warningAt(m, l, ch, a, b, c, d) { + return warning(m, { + line: l, + from: ch + }, a, b, c, d); + } + + function error(m, t, a, b, c, d) { + warning(m, t, a, b, c, d); + } + + function errorAt(m, l, ch, a, b, c, d) { + return error(m, { + line: l, + from: ch + }, a, b, c, d); + } + + // Tracking of "internal" scripts, like eval containing a static string + function addInternalSrc(elem, src) { + var i; + i = { + id: "(internal)", + elem: elem, + value: src + }; + JSHINT.internals.push(i); + return i; + } + + +// lexical analysis and token construction + + var lex = (function lex() { + var character, from, line, s; + +// Private lex methods + + function nextLine() { + var at, + match, + tw; // trailing whitespace check + + if (line >= lines.length) + return false; + + character = 1; + s = lines[line]; + line += 1; + + // If smarttabs option is used check for spaces followed by tabs only. + // Otherwise check for any occurence of mixed tabs and spaces. + // Tabs and one space followed by block comment is allowed. + if (option.smarttabs) { + // negative look-behind for "//" + match = s.match(/(\/\/)? \t/); + at = match && !match[1] ? 0 : -1; + } else { + at = s.search(/ \t|\t [^\*]/); + } + + if (at >= 0) + warningAt("Mixed spaces and tabs.", line, at + 1); + + s = s.replace(/\t/g, tab); + at = s.search(cx); + + if (at >= 0) + warningAt("Unsafe character.", line, at); + + if (option.maxlen && option.maxlen < s.length) + warningAt("Line too long.", line, s.length); + + // Check for trailing whitespaces + tw = option.trailing && s.match(/^(.*?)\s+$/); + if (tw && !/^\s+$/.test(s)) { + warningAt("Trailing whitespace.", line, tw[1].length + 1); + } + return true; + } + +// Produce a token object. The token inherits from a syntax symbol. + + function it(type, value) { + var i, t; + + function checkName(name) { + if (!option.proto && name === "__proto__") { + warningAt("The '{a}' property is deprecated.", line, from, name); + return; + } + + if (!option.iterator && name === "__iterator__") { + warningAt("'{a}' is only available in JavaScript 1.7.", line, from, name); + return; + } + + // Check for dangling underscores unless we're in Node + // environment and this identifier represents built-in + // Node globals with underscores. + + var hasDangling = /^(_+.*|.*_+)$/.test(name); + + if (option.nomen && hasDangling && name !== "_") { + if (option.node && token.id !== "." && /^(__dirname|__filename)$/.test(name)) + return; + + warningAt("Unexpected {a} in '{b}'.", line, from, "dangling '_'", name); + return; + } + + // Check for non-camelcase names. Names like MY_VAR and + // _myVar are okay though. + + if (option.camelcase) { + if (name.replace(/^_+/, "").indexOf("_") > -1 && !name.match(/^[A-Z0-9_]*$/)) { + warningAt("Identifier '{a}' is not in camel case.", line, from, value); + } + } + } + + if (type === "(color)" || type === "(range)") { + t = {type: type}; + } else if (type === "(punctuator)" || + (type === "(identifier)" && is_own(syntax, value))) { + t = syntax[value] || syntax["(error)"]; + } else { + t = syntax[type]; + } + + t = Object.create(t); + + if (type === "(string)" || type === "(range)") { + if (!option.scripturl && jx.test(value)) { + warningAt("Script URL.", line, from); + } + } + + if (type === "(identifier)") { + t.identifier = true; + checkName(value); + } + + t.value = value; + t.line = line; + t.character = character; + t.from = from; + i = t.id; + if (i !== "(endline)") { + prereg = i && + (("(,=:[!&|?{};".indexOf(i.charAt(i.length - 1)) >= 0) || + i === "return" || + i === "case"); + } + return t; + } + + // Public lex methods + return { + init: function (source) { + if (typeof source === "string") { + lines = source + .replace(/\r\n/g, "\n") + .replace(/\r/g, "\n") + .split("\n"); + } else { + lines = source; + } + + // If the first line is a shebang (#!), make it a blank and move on. + // Shebangs are used by Node scripts. + if (lines[0] && lines[0].substr(0, 2) === "#!") + lines[0] = ""; + + line = 0; + nextLine(); + from = 1; + }, + + range: function (begin, end) { + var c, value = ""; + from = character; + if (s.charAt(0) !== begin) { + errorAt("Expected '{a}' and instead saw '{b}'.", + line, character, begin, s.charAt(0)); + } + for (;;) { + s = s.slice(1); + character += 1; + c = s.charAt(0); + switch (c) { + case "": + errorAt("Missing '{a}'.", line, character, c); + break; + case end: + s = s.slice(1); + character += 1; + return it("(range)", value); + case "\\": + warningAt("Unexpected '{a}'.", line, character, c); + } + value += c; + } + + }, + + + // token -- this is called by advance to get the next token + token: function () { + var b, c, captures, d, depth, high, i, l, low, q, t, isLiteral, isInRange, n; + + function match(x) { + var r = x.exec(s), r1; + + if (r) { + l = r[0].length; + r1 = r[1]; + c = r1.charAt(0); + s = s.substr(l); + from = character + l - r1.length; + character += l; + return r1; + } + } + + function string(x) { + var c, j, r = "", allowNewLine = false; + + if (jsonmode && x !== "\"") { + warningAt("Strings must use doublequote.", + line, character); + } + + if (option.quotmark) { + if (option.quotmark === "single" && x !== "'") { + warningAt("Strings must use singlequote.", + line, character); + } else if (option.quotmark === "double" && x !== "\"") { + warningAt("Strings must use doublequote.", + line, character); + } else if (option.quotmark === true) { + quotmark = quotmark || x; + if (quotmark !== x) { + warningAt("Mixed double and single quotes.", + line, character); + } + } + } + + function esc(n) { + var i = parseInt(s.substr(j + 1, n), 16); + j += n; + if (i >= 32 && i <= 126 && + i !== 34 && i !== 92 && i !== 39) { + warningAt("Unnecessary escapement.", line, character); + } + character += n; + c = String.fromCharCode(i); + } + + j = 0; + +unclosedString: + for (;;) { + while (j >= s.length) { + j = 0; + + var cl = line, cf = from; + if (!nextLine()) { + errorAt("Unclosed string.", cl, cf); + break unclosedString; + } + + if (allowNewLine) { + allowNewLine = false; + } else { + warningAt("Unclosed string.", cl, cf); + } + } + + c = s.charAt(j); + if (c === x) { + character += 1; + s = s.substr(j + 1); + return it("(string)", r, x); + } + + if (c < " ") { + if (c === "\n" || c === "\r") { + break; + } + warningAt("Control character in string: {a}.", + line, character + j, s.slice(0, j)); + } else if (c === "\\") { + j += 1; + character += 1; + c = s.charAt(j); + n = s.charAt(j + 1); + switch (c) { + case "\\": + case "\"": + case "/": + break; + case "\'": + if (jsonmode) { + warningAt("Avoid \\'.", line, character); + } + break; + case "b": + c = "\b"; + break; + case "f": + c = "\f"; + break; + case "n": + c = "\n"; + break; + case "r": + c = "\r"; + break; + case "t": + c = "\t"; + break; + case "0": + c = "\0"; + // Octal literals fail in strict mode + // check if the number is between 00 and 07 + // where 'n' is the token next to 'c' + if (n >= 0 && n <= 7 && directive["use strict"]) { + warningAt( + "Octal literals are not allowed in strict mode.", + line, character); + } + break; + case "u": + esc(4); + break; + case "v": + if (jsonmode) { + warningAt("Avoid \\v.", line, character); + } + c = "\v"; + break; + case "x": + if (jsonmode) { + warningAt("Avoid \\x-.", line, character); + } + esc(2); + break; + case "": + // last character is escape character + // always allow new line if escaped, but show + // warning if option is not set + allowNewLine = true; + if (option.multistr) { + if (jsonmode) { + warningAt("Avoid EOL escapement.", line, character); + } + c = ""; + character -= 1; + break; + } + warningAt("Bad escapement of EOL. Use option multistr if needed.", + line, character); + break; + case "!": + if (s.charAt(j - 2) === "<") + break; + /*falls through*/ + default: + warningAt("Bad escapement.", line, character); + } + } + r += c; + character += 1; + j += 1; + } + } + + for (;;) { + if (!s) { + return it(nextLine() ? "(endline)" : "(end)", ""); + } + + t = match(tx); + + if (!t) { + t = ""; + c = ""; + while (s && s < "!") { + s = s.substr(1); + } + if (s) { + errorAt("Unexpected '{a}'.", line, character, s.substr(0, 1)); + s = ""; + } + } else { + + // identifier + + if (isAlpha(c) || c === "_" || c === "$") { + return it("(identifier)", t); + } + + // number + + if (isDigit(c)) { + if (!isFinite(Number(t))) { + warningAt("Bad number '{a}'.", + line, character, t); + } + if (isAlpha(s.substr(0, 1))) { + warningAt("Missing space after '{a}'.", + line, character, t); + } + if (c === "0") { + d = t.substr(1, 1); + if (isDigit(d)) { + if (token.id !== ".") { + warningAt("Don't use extra leading zeros '{a}'.", + line, character, t); + } + } else if (jsonmode && (d === "x" || d === "X")) { + warningAt("Avoid 0x-. '{a}'.", + line, character, t); + } + } + if (t.substr(t.length - 1) === ".") { + warningAt( +"A trailing decimal point can be confused with a dot '{a}'.", line, character, t); + } + return it("(number)", t); + } + switch (t) { + + // string + + case "\"": + case "'": + return string(t); + + // // comment + + case "//": + s = ""; + token.comment = true; + break; + + // /* comment + + case "/*": + for (;;) { + i = s.search(lx); + if (i >= 0) { + break; + } + if (!nextLine()) { + errorAt("Unclosed comment.", line, character); + } + } + s = s.substr(i + 2); + token.comment = true; + break; + + // /*members /*jshint /*global + + case "/*members": + case "/*member": + case "/*jshint": + case "/*jslint": + case "/*global": + case "*/": + return { + value: t, + type: "special", + line: line, + character: character, + from: from + }; + + case "": + break; + // / + case "/": + if (s.charAt(0) === "=") { + errorAt("A regular expression literal can be confused with '/='.", + line, from); + } + + if (prereg) { + depth = 0; + captures = 0; + l = 0; + for (;;) { + b = true; + c = s.charAt(l); + l += 1; + switch (c) { + case "": + errorAt("Unclosed regular expression.", line, from); + return quit("Stopping.", line, from); + case "/": + if (depth > 0) { + warningAt("{a} unterminated regular expression " + + "group(s).", line, from + l, depth); + } + c = s.substr(0, l - 1); + q = { + g: true, + i: true, + m: true + }; + while (q[s.charAt(l)] === true) { + q[s.charAt(l)] = false; + l += 1; + } + character += l; + s = s.substr(l); + q = s.charAt(0); + if (q === "/" || q === "*") { + errorAt("Confusing regular expression.", + line, from); + } + return it("(regexp)", c); + case "\\": + c = s.charAt(l); + if (c < " ") { + warningAt( +"Unexpected control character in regular expression.", line, from + l); + } else if (c === "<") { + warningAt( +"Unexpected escaped character '{a}' in regular expression.", line, from + l, c); + } + l += 1; + break; + case "(": + depth += 1; + b = false; + if (s.charAt(l) === "?") { + l += 1; + switch (s.charAt(l)) { + case ":": + case "=": + case "!": + l += 1; + break; + default: + warningAt( +"Expected '{a}' and instead saw '{b}'.", line, from + l, ":", s.charAt(l)); + } + } else { + captures += 1; + } + break; + case "|": + b = false; + break; + case ")": + if (depth === 0) { + warningAt("Unescaped '{a}'.", + line, from + l, ")"); + } else { + depth -= 1; + } + break; + case " ": + q = 1; + while (s.charAt(l) === " ") { + l += 1; + q += 1; + } + if (q > 1) { + warningAt( +"Spaces are hard to count. Use {{a}}.", line, from + l, q); + } + break; + case "[": + c = s.charAt(l); + if (c === "^") { + l += 1; + if (s.charAt(l) === "]") { + errorAt("Unescaped '{a}'.", + line, from + l, "^"); + } + } + if (c === "]") { + warningAt("Empty class.", line, + from + l - 1); + } + isLiteral = false; + isInRange = false; +klass: + do { + c = s.charAt(l); + l += 1; + switch (c) { + case "[": + case "^": + warningAt("Unescaped '{a}'.", + line, from + l, c); + if (isInRange) { + isInRange = false; + } else { + isLiteral = true; + } + break; + case "-": + if (isLiteral && !isInRange) { + isLiteral = false; + isInRange = true; + } else if (isInRange) { + isInRange = false; + } else if (s.charAt(l) === "]") { + isInRange = true; + } else { + if (option.regexdash !== (l === 2 || (l === 3 && + s.charAt(1) === "^"))) { + warningAt("Unescaped '{a}'.", + line, from + l - 1, "-"); + } + isLiteral = true; + } + break; + case "]": + if (isInRange && !option.regexdash) { + warningAt("Unescaped '{a}'.", + line, from + l - 1, "-"); + } + break klass; + case "\\": + c = s.charAt(l); + if (c < " ") { + warningAt( +"Unexpected control character in regular expression.", line, from + l); + } else if (c === "<") { + warningAt( +"Unexpected escaped character '{a}' in regular expression.", line, from + l, c); + } + l += 1; + + // \w, \s and \d are never part of a character range + if (/[wsd]/i.test(c)) { + if (isInRange) { + warningAt("Unescaped '{a}'.", + line, from + l, "-"); + isInRange = false; + } + isLiteral = false; + } else if (isInRange) { + isInRange = false; + } else { + isLiteral = true; + } + break; + case "/": + warningAt("Unescaped '{a}'.", + line, from + l - 1, "/"); + + if (isInRange) { + isInRange = false; + } else { + isLiteral = true; + } + break; + case "<": + if (isInRange) { + isInRange = false; + } else { + isLiteral = true; + } + break; + default: + if (isInRange) { + isInRange = false; + } else { + isLiteral = true; + } + } + } while (c); + break; + case ".": + if (option.regexp) { + warningAt("Insecure '{a}'.", line, + from + l, c); + } + break; + case "]": + case "?": + case "{": + case "}": + case "+": + case "*": + warningAt("Unescaped '{a}'.", line, + from + l, c); + } + if (b) { + switch (s.charAt(l)) { + case "?": + case "+": + case "*": + l += 1; + if (s.charAt(l) === "?") { + l += 1; + } + break; + case "{": + l += 1; + c = s.charAt(l); + if (c < "0" || c > "9") { + warningAt( +"Expected a number and instead saw '{a}'.", line, from + l, c); + break; // No reason to continue checking numbers. + } + l += 1; + low = +c; + for (;;) { + c = s.charAt(l); + if (c < "0" || c > "9") { + break; + } + l += 1; + low = +c + (low * 10); + } + high = low; + if (c === ",") { + l += 1; + high = Infinity; + c = s.charAt(l); + if (c >= "0" && c <= "9") { + l += 1; + high = +c; + for (;;) { + c = s.charAt(l); + if (c < "0" || c > "9") { + break; + } + l += 1; + high = +c + (high * 10); + } + } + } + if (s.charAt(l) !== "}") { + warningAt( +"Expected '{a}' and instead saw '{b}'.", line, from + l, "}", c); + } else { + l += 1; + } + if (s.charAt(l) === "?") { + l += 1; + } + if (low > high) { + warningAt( +"'{a}' should not be greater than '{b}'.", line, from + l, low, high); + } + } + } + } + c = s.substr(0, l - 1); + character += l; + s = s.substr(l); + return it("(regexp)", c); + } + return it("(punctuator)", t); + + // punctuator + + case "#": + return it("(punctuator)", t); + default: + return it("(punctuator)", t); + } + } + } + } + }; + }()); + + + function addlabel(t, type, token) { + if (t === "hasOwnProperty") { + warning("'hasOwnProperty' is a really bad name."); + } + + // Define t in the current function in the current scope. + if (type === "exception") { + if (is_own(funct["(context)"], t)) { + if (funct[t] !== true && !option.node) { + warning("Value of '{a}' may be overwritten in IE.", nexttoken, t); + } + } + } + + if (is_own(funct, t) && !funct["(global)"]) { + if (funct[t] === true) { + if (option.latedef) + warning("'{a}' was used before it was defined.", nexttoken, t); + } else { + if (!option.shadow && type !== "exception") { + warning("'{a}' is already defined.", nexttoken, t); + } + } + } + + funct[t] = type; + + if (token) { + funct["(tokens)"][t] = token; + } + + if (funct["(global)"]) { + global[t] = funct; + if (is_own(implied, t)) { + if (option.latedef) + warning("'{a}' was used before it was defined.", nexttoken, t); + delete implied[t]; + } + } else { + scope[t] = funct; + } + } + + + function doOption() { + var nt = nexttoken; + var o = nt.value; + var quotmarkValue = option.quotmark; + var predef = {}; + var b, obj, filter, t, tn, v, minus; + + switch (o) { + case "*/": + error("Unbegun comment."); + break; + case "/*members": + case "/*member": + o = "/*members"; + if (!membersOnly) { + membersOnly = {}; + } + obj = membersOnly; + option.quotmark = false; + break; + case "/*jshint": + case "/*jslint": + obj = option; + filter = boolOptions; + break; + case "/*global": + obj = predef; + break; + default: + error("What?"); + } + + t = lex.token(); + +loop: + for (;;) { + minus = false; + for (;;) { + if (t.type === "special" && t.value === "*/") { + break loop; + } + if (t.id !== "(endline)" && t.id !== ",") { + break; + } + t = lex.token(); + } + + if (o === "/*global" && t.value === "-") { + minus = true; + t = lex.token(); + } + + if (t.type !== "(string)" && t.type !== "(identifier)" && o !== "/*members") { + error("Bad option.", t); + } + + v = lex.token(); + if (v.id === ":") { + v = lex.token(); + + if (obj === membersOnly) { + error("Expected '{a}' and instead saw '{b}'.", t, "*/", ":"); + } + + if (o === "/*jshint") { + checkOption(t.value, t); + } + + var numericVals = [ + "maxstatements", + "maxparams", + "maxdepth", + "maxcomplexity", + "maxerr", + "maxlen", + "indent" + ]; + + if (numericVals.indexOf(t.value) > -1 && (o === "/*jshint" || o === "/*jslint")) { + b = +v.value; + + if (typeof b !== "number" || !isFinite(b) || b <= 0 || Math.floor(b) !== b) { + error("Expected a small integer and instead saw '{a}'.", v, v.value); + } + + if (t.value === "indent") + obj.white = true; + + obj[t.value] = b; + } else if (t.value === "validthis") { + if (funct["(global)"]) { + error("Option 'validthis' can't be used in a global scope."); + } else { + if (v.value === "true" || v.value === "false") + obj[t.value] = v.value === "true"; + else + error("Bad option value.", v); + } + } else if (t.value === "quotmark" && (o === "/*jshint")) { + switch (v.value) { + case "true": + obj.quotmark = true; + break; + case "false": + obj.quotmark = false; + break; + case "double": + case "single": + obj.quotmark = v.value; + break; + default: + error("Bad option value.", v); + } + } else if (v.value === "true" || v.value === "false") { + if (o === "/*jslint") { + tn = renamedOptions[t.value] || t.value; + obj[tn] = v.value === "true"; + if (invertedOptions[tn] !== undefined) { + obj[tn] = !obj[tn]; + } + } else { + obj[t.value] = v.value === "true"; + } + + if (t.value === "newcap") + obj["(explicitNewcap)"] = true; + } else { + error("Bad option value.", v); + } + t = lex.token(); + } else { + if (o === "/*jshint" || o === "/*jslint") { + error("Missing option value.", t); + } + + obj[t.value] = false; + + if (o === "/*global" && minus === true) { + JSHINT.blacklist[t.value] = t.value; + updatePredefined(); + } + + t = v; + } + } + + if (o === "/*members") { + option.quotmark = quotmarkValue; + } + + combine(predefined, predef); + + for (var key in predef) { + if (is_own(predef, key)) { + declared[key] = nt; + } + } + + if (filter) { + assume(); + } + } + + +// We need a peek function. If it has an argument, it peeks that much farther +// ahead. It is used to distinguish +// for ( var i in ... +// from +// for ( var i = ... + + function peek(p) { + var i = p || 0, j = 0, t; + + while (j <= i) { + t = lookahead[j]; + if (!t) { + t = lookahead[j] = lex.token(); + } + j += 1; + } + return t; + } + + + +// Produce the next token. It looks for programming errors. + + function advance(id, t) { + switch (token.id) { + case "(number)": + if (nexttoken.id === ".") { + warning("A dot following a number can be confused with a decimal point.", token); + } + break; + case "-": + if (nexttoken.id === "-" || nexttoken.id === "--") { + warning("Confusing minusses."); + } + break; + case "+": + if (nexttoken.id === "+" || nexttoken.id === "++") { + warning("Confusing plusses."); + } + break; + } + + if (token.type === "(string)" || token.identifier) { + anonname = token.value; + } + + if (id && nexttoken.id !== id) { + if (t) { + if (nexttoken.id === "(end)") { + warning("Unmatched '{a}'.", t, t.id); + } else { + warning("Expected '{a}' to match '{b}' from line {c} and instead saw '{d}'.", + nexttoken, id, t.id, t.line, nexttoken.value); + } + } else if (nexttoken.type !== "(identifier)" || + nexttoken.value !== id) { + warning("Expected '{a}' and instead saw '{b}'.", + nexttoken, id, nexttoken.value); + } + } + + prevtoken = token; + token = nexttoken; + for (;;) { + nexttoken = lookahead.shift() || lex.token(); + if (nexttoken.id === "(end)" || nexttoken.id === "(error)") { + return; + } + if (nexttoken.type === "special") { + doOption(); + } else { + if (nexttoken.id !== "(endline)") { + break; + } + } + } + } + + +// This is the heart of JSHINT, the Pratt parser. In addition to parsing, it +// is looking for ad hoc lint patterns. We add .fud to Pratt's model, which is +// like .nud except that it is only used on the first token of a statement. +// Having .fud makes it much easier to define statement-oriented languages like +// JavaScript. I retained Pratt's nomenclature. + +// .nud Null denotation +// .fud First null denotation +// .led Left denotation +// lbp Left binding power +// rbp Right binding power + +// They are elements of the parsing method called Top Down Operator Precedence. + + function expression(rbp, initial) { + var left, isArray = false, isObject = false; + + if (nexttoken.id === "(end)") + error("Unexpected early end of program.", token); + + advance(); + if (initial) { + anonname = "anonymous"; + funct["(verb)"] = token.value; + } + if (initial === true && token.fud) { + left = token.fud(); + } else { + if (token.nud) { + left = token.nud(); + } else { + if (nexttoken.type === "(number)" && token.id === ".") { + warning("A leading decimal point can be confused with a dot: '.{a}'.", + token, nexttoken.value); + advance(); + return token; + } else { + error("Expected an identifier and instead saw '{a}'.", + token, token.id); + } + } + while (rbp < nexttoken.lbp) { + isArray = token.value === "Array"; + isObject = token.value === "Object"; + + // #527, new Foo.Array(), Foo.Array(), new Foo.Object(), Foo.Object() + // Line breaks in IfStatement heads exist to satisfy the checkJSHint + // "Line too long." error. + if (left && (left.value || (left.first && left.first.value))) { + // If the left.value is not "new", or the left.first.value is a "." + // then safely assume that this is not "new Array()" and possibly + // not "new Object()"... + if (left.value !== "new" || + (left.first && left.first.value && left.first.value === ".")) { + isArray = false; + // ...In the case of Object, if the left.value and token.value + // are not equal, then safely assume that this not "new Object()" + if (left.value !== token.value) { + isObject = false; + } + } + } + + advance(); + if (isArray && token.id === "(" && nexttoken.id === ")") + warning("Use the array literal notation [].", token); + if (isObject && token.id === "(" && nexttoken.id === ")") + warning("Use the object literal notation {}.", token); + if (token.led) { + left = token.led(left); + } else { + error("Expected an operator and instead saw '{a}'.", + token, token.id); + } + } + } + return left; + } + + +// Functions for conformance of style. + + function adjacent(left, right) { + left = left || token; + right = right || nexttoken; + if (option.white) { + if (left.character !== right.from && left.line === right.line) { + left.from += (left.character - left.from); + warning("Unexpected space after '{a}'.", left, left.value); + } + } + } + + function nobreak(left, right) { + left = left || token; + right = right || nexttoken; + if (option.white && (left.character !== right.from || left.line !== right.line)) { + warning("Unexpected space before '{a}'.", right, right.value); + } + } + + function nospace(left, right) { + left = left || token; + right = right || nexttoken; + if (option.white && !left.comment) { + if (left.line === right.line) { + adjacent(left, right); + } + } + } + + function nonadjacent(left, right) { + if (option.white) { + left = left || token; + right = right || nexttoken; + if (left.value === ";" && right.value === ";") { + return; + } + if (left.line === right.line && left.character === right.from) { + left.from += (left.character - left.from); + warning("Missing space after '{a}'.", + left, left.value); + } + } + } + + function nobreaknonadjacent(left, right) { + left = left || token; + right = right || nexttoken; + if (!option.laxbreak && left.line !== right.line) { + warning("Bad line breaking before '{a}'.", right, right.id); + } else if (option.white) { + left = left || token; + right = right || nexttoken; + if (left.character === right.from) { + left.from += (left.character - left.from); + warning("Missing space after '{a}'.", + left, left.value); + } + } + } + + function indentation(bias) { + var i; + if (option.white && nexttoken.id !== "(end)") { + i = indent + (bias || 0); + if (nexttoken.from !== i) { + warning( +"Expected '{a}' to have an indentation at {b} instead at {c}.", + nexttoken, nexttoken.value, i, nexttoken.from); + } + } + } + + function nolinebreak(t) { + t = t || token; + if (t.line !== nexttoken.line) { + warning("Line breaking error '{a}'.", t, t.value); + } + } + + + function comma() { + if (token.line !== nexttoken.line) { + if (!option.laxcomma) { + if (comma.first) { + warning("Comma warnings can be turned off with 'laxcomma'"); + comma.first = false; + } + warning("Bad line breaking before '{a}'.", token, nexttoken.id); + } + } else if (!token.comment && token.character !== nexttoken.from && option.white) { + token.from += (token.character - token.from); + warning("Unexpected space after '{a}'.", token, token.value); + } + advance(","); + nonadjacent(token, nexttoken); + } + + +// Functional constructors for making the symbols that will be inherited by +// tokens. + + function symbol(s, p) { + var x = syntax[s]; + if (!x || typeof x !== "object") { + syntax[s] = x = { + id: s, + lbp: p, + value: s + }; + } + return x; + } + + + function delim(s) { + return symbol(s, 0); + } + + + function stmt(s, f) { + var x = delim(s); + x.identifier = x.reserved = true; + x.fud = f; + return x; + } + + + function blockstmt(s, f) { + var x = stmt(s, f); + x.block = true; + return x; + } + + + function reserveName(x) { + var c = x.id.charAt(0); + if ((c >= "a" && c <= "z") || (c >= "A" && c <= "Z")) { + x.identifier = x.reserved = true; + } + return x; + } + + + function prefix(s, f) { + var x = symbol(s, 150); + reserveName(x); + x.nud = (typeof f === "function") ? f : function () { + this.right = expression(150); + this.arity = "unary"; + if (this.id === "++" || this.id === "--") { + if (option.plusplus) { + warning("Unexpected use of '{a}'.", this, this.id); + } else if ((!this.right.identifier || this.right.reserved) && + this.right.id !== "." && this.right.id !== "[") { + warning("Bad operand.", this); + } + } + return this; + }; + return x; + } + + + function type(s, f) { + var x = delim(s); + x.type = s; + x.nud = f; + return x; + } + + + function reserve(s, f) { + var x = type(s, f); + x.identifier = x.reserved = true; + return x; + } + + + function reservevar(s, v) { + return reserve(s, function () { + if (typeof v === "function") { + v(this); + } + return this; + }); + } + + + function infix(s, f, p, w) { + var x = symbol(s, p); + reserveName(x); + x.led = function (left) { + if (!w) { + nobreaknonadjacent(prevtoken, token); + nonadjacent(token, nexttoken); + } + if (s === "in" && left.id === "!") { + warning("Confusing use of '{a}'.", left, "!"); + } + if (typeof f === "function") { + return f(left, this); + } else { + this.left = left; + this.right = expression(p); + return this; + } + }; + return x; + } + + + function relation(s, f) { + var x = symbol(s, 100); + x.led = function (left) { + nobreaknonadjacent(prevtoken, token); + nonadjacent(token, nexttoken); + var right = expression(100); + + if (isIdentifier(left, "NaN") || isIdentifier(right, "NaN")) { + warning("Use the isNaN function to compare with NaN.", this); + } else if (f) { + f.apply(this, [left, right]); + } + if (left.id === "!") { + warning("Confusing use of '{a}'.", left, "!"); + } + if (right.id === "!") { + warning("Confusing use of '{a}'.", right, "!"); + } + this.left = left; + this.right = right; + return this; + }; + return x; + } + + + function isPoorRelation(node) { + return node && + ((node.type === "(number)" && +node.value === 0) || + (node.type === "(string)" && node.value === "") || + (node.type === "null" && !option.eqnull) || + node.type === "true" || + node.type === "false" || + node.type === "undefined"); + } + + + function assignop(s) { + symbol(s, 20).exps = true; + + return infix(s, function (left, that) { + that.left = left; + + if (predefined[left.value] === false && + scope[left.value]["(global)"] === true) { + warning("Read only.", left); + } else if (left["function"]) { + warning("'{a}' is a function.", left, left.value); + } + + if (left) { + if (option.esnext && funct[left.value] === "const") { + warning("Attempting to override '{a}' which is a constant", left, left.value); + } + + if (left.id === "." || left.id === "[") { + if (!left.left || left.left.value === "arguments") { + warning("Bad assignment.", that); + } + that.right = expression(19); + return that; + } else if (left.identifier && !left.reserved) { + if (funct[left.value] === "exception") { + warning("Do not assign to the exception parameter.", left); + } + that.right = expression(19); + return that; + } + + if (left === syntax["function"]) { + warning( +"Expected an identifier in an assignment and instead saw a function invocation.", + token); + } + } + + error("Bad assignment.", that); + }, 20); + } + + + function bitwise(s, f, p) { + var x = symbol(s, p); + reserveName(x); + x.led = (typeof f === "function") ? f : function (left) { + if (option.bitwise) { + warning("Unexpected use of '{a}'.", this, this.id); + } + this.left = left; + this.right = expression(p); + return this; + }; + return x; + } + + + function bitwiseassignop(s) { + symbol(s, 20).exps = true; + return infix(s, function (left, that) { + if (option.bitwise) { + warning("Unexpected use of '{a}'.", that, that.id); + } + nonadjacent(prevtoken, token); + nonadjacent(token, nexttoken); + if (left) { + if (left.id === "." || left.id === "[" || + (left.identifier && !left.reserved)) { + expression(19); + return that; + } + if (left === syntax["function"]) { + warning( +"Expected an identifier in an assignment, and instead saw a function invocation.", + token); + } + return that; + } + error("Bad assignment.", that); + }, 20); + } + + + function suffix(s) { + var x = symbol(s, 150); + x.led = function (left) { + if (option.plusplus) { + warning("Unexpected use of '{a}'.", this, this.id); + } else if ((!left.identifier || left.reserved) && + left.id !== "." && left.id !== "[") { + warning("Bad operand.", this); + } + this.left = left; + return this; + }; + return x; + } + + + // fnparam means that this identifier is being defined as a function + // argument (see identifier()) + function optionalidentifier(fnparam) { + if (nexttoken.identifier) { + advance(); + if (token.reserved && !option.es5) { + // `undefined` as a function param is a common pattern to protect + // against the case when somebody does `undefined = true` and + // help with minification. More info: https://gist.github.com/315916 + if (!fnparam || token.value !== "undefined") { + warning("Expected an identifier and instead saw '{a}' (a reserved word).", + token, token.id); + } + } + return token.value; + } + } + + // fnparam means that this identifier is being defined as a function + // argument + function identifier(fnparam) { + var i = optionalidentifier(fnparam); + if (i) { + return i; + } + if (token.id === "function" && nexttoken.id === "(") { + warning("Missing name in function declaration."); + } else { + error("Expected an identifier and instead saw '{a}'.", + nexttoken, nexttoken.value); + } + } + + + function reachable(s) { + var i = 0, t; + if (nexttoken.id !== ";" || noreach) { + return; + } + for (;;) { + t = peek(i); + if (t.reach) { + return; + } + if (t.id !== "(endline)") { + if (t.id === "function") { + if (!option.latedef) { + break; + } + warning( +"Inner functions should be listed at the top of the outer function.", t); + break; + } + warning("Unreachable '{a}' after '{b}'.", t, t.value, s); + break; + } + i += 1; + } + } + + + function statement(noindent) { + var i = indent, r, s = scope, t = nexttoken; + + if (t.id === ";") { + advance(";"); + return; + } + + // Is this a labelled statement? + + if (t.identifier && !t.reserved && peek().id === ":") { + advance(); + advance(":"); + scope = Object.create(s); + addlabel(t.value, "label"); + + if (!nexttoken.labelled && nexttoken.value !== "{") { + warning("Label '{a}' on {b} statement.", nexttoken, t.value, nexttoken.value); + } + + if (jx.test(t.value + ":")) { + warning("Label '{a}' looks like a javascript url.", t, t.value); + } + + nexttoken.label = t.value; + t = nexttoken; + } + + // Is it a lonely block? + + if (t.id === "{") { + block(true, true); + return; + } + + // Parse the statement. + + if (!noindent) { + indentation(); + } + r = expression(0, true); + + // Look for the final semicolon. + + if (!t.block) { + if (!option.expr && (!r || !r.exps)) { + warning("Expected an assignment or function call and instead saw an expression.", + token); + } else if (option.nonew && r.id === "(" && r.left.id === "new") { + warning("Do not use 'new' for side effects.", t); + } + + if (nexttoken.id === ",") { + return comma(); + } + + if (nexttoken.id !== ";") { + if (!option.asi) { + // If this is the last statement in a block that ends on + // the same line *and* option lastsemic is on, ignore the warning. + // Otherwise, complain about missing semicolon. + if (!option.lastsemic || nexttoken.id !== "}" || + nexttoken.line !== token.line) { + warningAt("Missing semicolon.", token.line, token.character); + } + } + } else { + adjacent(token, nexttoken); + advance(";"); + nonadjacent(token, nexttoken); + } + } + +// Restore the indentation. + + indent = i; + scope = s; + return r; + } + + + function statements(startLine) { + var a = [], p; + + while (!nexttoken.reach && nexttoken.id !== "(end)") { + if (nexttoken.id === ";") { + p = peek(); + if (!p || p.id !== "(") { + warning("Unnecessary semicolon."); + } + advance(";"); + } else { + a.push(statement(startLine === nexttoken.line)); + } + } + return a; + } + + + /* + * read all directives + * recognizes a simple form of asi, but always + * warns, if it is used + */ + function directives() { + var i, p, pn; + + for (;;) { + if (nexttoken.id === "(string)") { + p = peek(0); + if (p.id === "(endline)") { + i = 1; + do { + pn = peek(i); + i = i + 1; + } while (pn.id === "(endline)"); + + if (pn.id !== ";") { + if (pn.id !== "(string)" && pn.id !== "(number)" && + pn.id !== "(regexp)" && pn.identifier !== true && + pn.id !== "}") { + break; + } + warning("Missing semicolon.", nexttoken); + } else { + p = pn; + } + } else if (p.id === "}") { + // directive with no other statements, warn about missing semicolon + warning("Missing semicolon.", p); + } else if (p.id !== ";") { + break; + } + + indentation(); + advance(); + if (directive[token.value]) { + warning("Unnecessary directive \"{a}\".", token, token.value); + } + + if (token.value === "use strict") { + if (!option["(explicitNewcap)"]) + option.newcap = true; + option.undef = true; + } + + // there's no directive negation, so always set to true + directive[token.value] = true; + + if (p.id === ";") { + advance(";"); + } + continue; + } + break; + } + } + + + /* + * Parses a single block. A block is a sequence of statements wrapped in + * braces. + * + * ordinary - true for everything but function bodies and try blocks. + * stmt - true if block can be a single statement (e.g. in if/for/while). + * isfunc - true if block is a function body + */ + function block(ordinary, stmt, isfunc) { + var a, + b = inblock, + old_indent = indent, + m, + s = scope, + t, + line, + d; + + inblock = ordinary; + + if (!ordinary || !option.funcscope) + scope = Object.create(scope); + + nonadjacent(token, nexttoken); + t = nexttoken; + + var metrics = funct["(metrics)"]; + metrics.nestedBlockDepth += 1; + metrics.verifyMaxNestedBlockDepthPerFunction(); + + if (nexttoken.id === "{") { + advance("{"); + line = token.line; + if (nexttoken.id !== "}") { + indent += option.indent; + while (!ordinary && nexttoken.from > indent) { + indent += option.indent; + } + + if (isfunc) { + m = {}; + for (d in directive) { + if (is_own(directive, d)) { + m[d] = directive[d]; + } + } + directives(); + + if (option.strict && funct["(context)"]["(global)"]) { + if (!m["use strict"] && !directive["use strict"]) { + warning("Missing \"use strict\" statement."); + } + } + } + + a = statements(line); + + metrics.statementCount += a.length; + + if (isfunc) { + directive = m; + } + + indent -= option.indent; + if (line !== nexttoken.line) { + indentation(); + } + } else if (line !== nexttoken.line) { + indentation(); + } + advance("}", t); + indent = old_indent; + } else if (!ordinary) { + error("Expected '{a}' and instead saw '{b}'.", + nexttoken, "{", nexttoken.value); + } else { + if (!stmt || option.curly) + warning("Expected '{a}' and instead saw '{b}'.", + nexttoken, "{", nexttoken.value); + + noreach = true; + indent += option.indent; + // test indentation only if statement is in new line + a = [statement(nexttoken.line === token.line)]; + indent -= option.indent; + noreach = false; + } + funct["(verb)"] = null; + if (!ordinary || !option.funcscope) scope = s; + inblock = b; + if (ordinary && option.noempty && (!a || a.length === 0)) { + warning("Empty block."); + } + metrics.nestedBlockDepth -= 1; + return a; + } + + + function countMember(m) { + if (membersOnly && typeof membersOnly[m] !== "boolean") { + warning("Unexpected /*member '{a}'.", token, m); + } + if (typeof member[m] === "number") { + member[m] += 1; + } else { + member[m] = 1; + } + } + + + function note_implied(token) { + var name = token.value, line = token.line, a = implied[name]; + if (typeof a === "function") { + a = false; + } + + if (!a) { + a = [line]; + implied[name] = a; + } else if (a[a.length - 1] !== line) { + a.push(line); + } + } + + + // Build the syntax table by declaring the syntactic elements of the language. + + type("(number)", function () { + return this; + }); + + type("(string)", function () { + return this; + }); + + syntax["(identifier)"] = { + type: "(identifier)", + lbp: 0, + identifier: true, + nud: function () { + var v = this.value, + s = scope[v], + f; + + if (typeof s === "function") { + // Protection against accidental inheritance. + s = undefined; + } else if (typeof s === "boolean") { + f = funct; + funct = functions[0]; + addlabel(v, "var"); + s = funct; + funct = f; + } + + // The name is in scope and defined in the current function. + if (funct === s) { + // Change 'unused' to 'var', and reject labels. + switch (funct[v]) { + case "unused": + funct[v] = "var"; + break; + case "unction": + funct[v] = "function"; + this["function"] = true; + break; + case "function": + this["function"] = true; + break; + case "label": + warning("'{a}' is a statement label.", token, v); + break; + } + } else if (funct["(global)"]) { + // The name is not defined in the function. If we are in the global + // scope, then we have an undefined variable. + // + // Operators typeof and delete do not raise runtime errors even if + // the base object of a reference is null so no need to display warning + // if we're inside of typeof or delete. + + if (option.undef && typeof predefined[v] !== "boolean") { + // Attempting to subscript a null reference will throw an + // error, even within the typeof and delete operators + if (!(anonname === "typeof" || anonname === "delete") || + (nexttoken && (nexttoken.value === "." || nexttoken.value === "["))) { + + isundef(funct, "'{a}' is not defined.", token, v); + } + } + + note_implied(token); + } else { + // If the name is already defined in the current + // function, but not as outer, then there is a scope error. + + switch (funct[v]) { + case "closure": + case "function": + case "var": + case "unused": + warning("'{a}' used out of scope.", token, v); + break; + case "label": + warning("'{a}' is a statement label.", token, v); + break; + case "outer": + case "global": + break; + default: + // If the name is defined in an outer function, make an outer entry, + // and if it was unused, make it var. + if (s === true) { + funct[v] = true; + } else if (s === null) { + warning("'{a}' is not allowed.", token, v); + note_implied(token); + } else if (typeof s !== "object") { + // Operators typeof and delete do not raise runtime errors even + // if the base object of a reference is null so no need to + // display warning if we're inside of typeof or delete. + if (option.undef) { + // Attempting to subscript a null reference will throw an + // error, even within the typeof and delete operators + if (!(anonname === "typeof" || anonname === "delete") || + (nexttoken && + (nexttoken.value === "." || nexttoken.value === "["))) { + + isundef(funct, "'{a}' is not defined.", token, v); + } + } + funct[v] = true; + note_implied(token); + } else { + switch (s[v]) { + case "function": + case "unction": + this["function"] = true; + s[v] = "closure"; + funct[v] = s["(global)"] ? "global" : "outer"; + break; + case "var": + case "unused": + s[v] = "closure"; + funct[v] = s["(global)"] ? "global" : "outer"; + break; + case "closure": + funct[v] = s["(global)"] ? "global" : "outer"; + break; + case "label": + warning("'{a}' is a statement label.", token, v); + } + } + } + } + return this; + }, + led: function () { + error("Expected an operator and instead saw '{a}'.", + nexttoken, nexttoken.value); + } + }; + + type("(regexp)", function () { + return this; + }); + + +// ECMAScript parser + + delim("(endline)"); + delim("(begin)"); + delim("(end)").reach = true; + delim(""); + delim("(error)").reach = true; + delim("}").reach = true; + delim(")"); + delim("]"); + delim("\"").reach = true; + delim("'").reach = true; + delim(";"); + delim(":").reach = true; + delim(","); + delim("#"); + delim("@"); + reserve("else"); + reserve("case").reach = true; + reserve("catch"); + reserve("default").reach = true; + reserve("finally"); + reservevar("arguments", function (x) { + if (directive["use strict"] && funct["(global)"]) { + warning("Strict violation.", x); + } + }); + reservevar("eval"); + reservevar("false"); + reservevar("Infinity"); + reservevar("null"); + reservevar("this", function (x) { + if (directive["use strict"] && !option.validthis && ((funct["(statement)"] && + funct["(name)"].charAt(0) > "Z") || funct["(global)"])) { + warning("Possible strict violation.", x); + } + }); + reservevar("true"); + reservevar("undefined"); + assignop("=", "assign", 20); + assignop("+=", "assignadd", 20); + assignop("-=", "assignsub", 20); + assignop("*=", "assignmult", 20); + assignop("/=", "assigndiv", 20).nud = function () { + error("A regular expression literal can be confused with '/='."); + }; + assignop("%=", "assignmod", 20); + bitwiseassignop("&=", "assignbitand", 20); + bitwiseassignop("|=", "assignbitor", 20); + bitwiseassignop("^=", "assignbitxor", 20); + bitwiseassignop("<<=", "assignshiftleft", 20); + bitwiseassignop(">>=", "assignshiftright", 20); + bitwiseassignop(">>>=", "assignshiftrightunsigned", 20); + infix("?", function (left, that) { + that.left = left; + that.right = expression(10); + advance(":"); + that["else"] = expression(10); + return that; + }, 30); + + infix("||", "or", 40); + infix("&&", "and", 50); + bitwise("|", "bitor", 70); + bitwise("^", "bitxor", 80); + bitwise("&", "bitand", 90); + relation("==", function (left, right) { + var eqnull = option.eqnull && (left.value === "null" || right.value === "null"); + + if (!eqnull && option.eqeqeq) + warning("Expected '{a}' and instead saw '{b}'.", this, "===", "=="); + else if (isPoorRelation(left)) + warning("Use '{a}' to compare with '{b}'.", this, "===", left.value); + else if (isPoorRelation(right)) + warning("Use '{a}' to compare with '{b}'.", this, "===", right.value); + + return this; + }); + relation("==="); + relation("!=", function (left, right) { + var eqnull = option.eqnull && + (left.value === "null" || right.value === "null"); + + if (!eqnull && option.eqeqeq) { + warning("Expected '{a}' and instead saw '{b}'.", + this, "!==", "!="); + } else if (isPoorRelation(left)) { + warning("Use '{a}' to compare with '{b}'.", + this, "!==", left.value); + } else if (isPoorRelation(right)) { + warning("Use '{a}' to compare with '{b}'.", + this, "!==", right.value); + } + return this; + }); + relation("!=="); + relation("<"); + relation(">"); + relation("<="); + relation(">="); + bitwise("<<", "shiftleft", 120); + bitwise(">>", "shiftright", 120); + bitwise(">>>", "shiftrightunsigned", 120); + infix("in", "in", 120); + infix("instanceof", "instanceof", 120); + infix("+", function (left, that) { + var right = expression(130); + if (left && right && left.id === "(string)" && right.id === "(string)") { + left.value += right.value; + left.character = right.character; + if (!option.scripturl && jx.test(left.value)) { + warning("JavaScript URL.", left); + } + return left; + } + that.left = left; + that.right = right; + return that; + }, 130); + prefix("+", "num"); + prefix("+++", function () { + warning("Confusing pluses."); + this.right = expression(150); + this.arity = "unary"; + return this; + }); + infix("+++", function (left) { + warning("Confusing pluses."); + this.left = left; + this.right = expression(130); + return this; + }, 130); + infix("-", "sub", 130); + prefix("-", "neg"); + prefix("---", function () { + warning("Confusing minuses."); + this.right = expression(150); + this.arity = "unary"; + return this; + }); + infix("---", function (left) { + warning("Confusing minuses."); + this.left = left; + this.right = expression(130); + return this; + }, 130); + infix("*", "mult", 140); + infix("/", "div", 140); + infix("%", "mod", 140); + + suffix("++", "postinc"); + prefix("++", "preinc"); + syntax["++"].exps = true; + + suffix("--", "postdec"); + prefix("--", "predec"); + syntax["--"].exps = true; + prefix("delete", function () { + var p = expression(0); + if (!p || (p.id !== "." && p.id !== "[")) { + warning("Variables should not be deleted."); + } + this.first = p; + return this; + }).exps = true; + + prefix("~", function () { + if (option.bitwise) { + warning("Unexpected '{a}'.", this, "~"); + } + expression(150); + return this; + }); + + prefix("!", function () { + this.right = expression(150); + this.arity = "unary"; + if (bang[this.right.id] === true) { + warning("Confusing use of '{a}'.", this, "!"); + } + return this; + }); + prefix("typeof", "typeof"); + prefix("new", function () { + var c = expression(155), i; + if (c && c.id !== "function") { + if (c.identifier) { + c["new"] = true; + switch (c.value) { + case "Number": + case "String": + case "Boolean": + case "Math": + case "JSON": + warning("Do not use {a} as a constructor.", prevtoken, c.value); + break; + case "Function": + if (!option.evil) { + warning("The Function constructor is eval."); + } + break; + case "Date": + case "RegExp": + break; + default: + if (c.id !== "function") { + i = c.value.substr(0, 1); + if (option.newcap && (i < "A" || i > "Z") && !is_own(global, c.value)) { + warning("A constructor name should start with an uppercase letter.", + token); + } + } + } + } else { + if (c.id !== "." && c.id !== "[" && c.id !== "(") { + warning("Bad constructor.", token); + } + } + } else { + if (!option.supernew) + warning("Weird construction. Delete 'new'.", this); + } + adjacent(token, nexttoken); + if (nexttoken.id !== "(" && !option.supernew) { + warning("Missing '()' invoking a constructor.", + token, token.value); + } + this.first = c; + return this; + }); + syntax["new"].exps = true; + + prefix("void").exps = true; + + infix(".", function (left, that) { + adjacent(prevtoken, token); + nobreak(); + var m = identifier(); + if (typeof m === "string") { + countMember(m); + } + that.left = left; + that.right = m; + if (left && left.value === "arguments" && (m === "callee" || m === "caller")) { + if (option.noarg) + warning("Avoid arguments.{a}.", left, m); + else if (directive["use strict"]) + error("Strict violation."); + } else if (!option.evil && left && left.value === "document" && + (m === "write" || m === "writeln")) { + warning("document.write can be a form of eval.", left); + } + if (!option.evil && (m === "eval" || m === "execScript")) { + warning("eval is evil."); + } + return that; + }, 160, true); + + infix("(", function (left, that) { + if (prevtoken.id !== "}" && prevtoken.id !== ")") { + nobreak(prevtoken, token); + } + nospace(); + if (option.immed && !left.immed && left.id === "function") { + warning("Wrap an immediate function invocation in parentheses " + + "to assist the reader in understanding that the expression " + + "is the result of a function, and not the function itself."); + } + var n = 0, + p = []; + if (left) { + if (left.type === "(identifier)") { + if (left.value.match(/^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/)) { + if ("Number String Boolean Date Object".indexOf(left.value) === -1) { + if (left.value === "Math") { + warning("Math is not a function.", left); + } else if (option.newcap) { + warning("Missing 'new' prefix when invoking a constructor.", left); + } + } + } + } + } + if (nexttoken.id !== ")") { + for (;;) { + p[p.length] = expression(10); + n += 1; + if (nexttoken.id !== ",") { + break; + } + comma(); + } + } + advance(")"); + nospace(prevtoken, token); + if (typeof left === "object") { + if (left.value === "parseInt" && n === 1) { + warning("Missing radix parameter.", token); + } + if (!option.evil) { + if (left.value === "eval" || left.value === "Function" || + left.value === "execScript") { + warning("eval is evil.", left); + + if (p[0] && [0].id === "(string)") { + addInternalSrc(left, p[0].value); + } + } else if (p[0] && p[0].id === "(string)" && + (left.value === "setTimeout" || + left.value === "setInterval")) { + warning( + "Implied eval is evil. Pass a function instead of a string.", left); + addInternalSrc(left, p[0].value); + + // window.setTimeout/setInterval + } else if (p[0] && p[0].id === "(string)" && + left.value === "." && + left.left.value === "window" && + (left.right === "setTimeout" || + left.right === "setInterval")) { + warning( + "Implied eval is evil. Pass a function instead of a string.", left); + addInternalSrc(left, p[0].value); + } + } + if (!left.identifier && left.id !== "." && left.id !== "[" && + left.id !== "(" && left.id !== "&&" && left.id !== "||" && + left.id !== "?") { + warning("Bad invocation.", left); + } + } + that.left = left; + return that; + }, 155, true).exps = true; + + prefix("(", function () { + nospace(); + if (nexttoken.id === "function") { + nexttoken.immed = true; + } + var v = expression(0); + advance(")", this); + nospace(prevtoken, token); + if (option.immed && v.id === "function") { + if (nexttoken.id !== "(" && + (nexttoken.id !== "." || (peek().value !== "call" && peek().value !== "apply"))) { + warning( +"Do not wrap function literals in parens unless they are to be immediately invoked.", + this); + } + } + + return v; + }); + + infix("[", function (left, that) { + nobreak(prevtoken, token); + nospace(); + var e = expression(0), s; + if (e && e.type === "(string)") { + if (!option.evil && (e.value === "eval" || e.value === "execScript")) { + warning("eval is evil.", that); + } + countMember(e.value); + if (!option.sub && ix.test(e.value)) { + s = syntax[e.value]; + if (!s || !s.reserved) { + warning("['{a}'] is better written in dot notation.", + prevtoken, e.value); + } + } + } + advance("]", that); + nospace(prevtoken, token); + that.left = left; + that.right = e; + return that; + }, 160, true); + + prefix("[", function () { + var b = token.line !== nexttoken.line; + this.first = []; + if (b) { + indent += option.indent; + if (nexttoken.from === indent + option.indent) { + indent += option.indent; + } + } + while (nexttoken.id !== "(end)") { + while (nexttoken.id === ",") { + if (!option.es5) + warning("Extra comma."); + advance(","); + } + if (nexttoken.id === "]") { + break; + } + if (b && token.line !== nexttoken.line) { + indentation(); + } + this.first.push(expression(10)); + if (nexttoken.id === ",") { + comma(); + if (nexttoken.id === "]" && !option.es5) { + warning("Extra comma.", token); + break; + } + } else { + break; + } + } + if (b) { + indent -= option.indent; + indentation(); + } + advance("]", this); + return this; + }, 160); + + + function property_name() { + var id = optionalidentifier(true); + if (!id) { + if (nexttoken.id === "(string)") { + id = nexttoken.value; + advance(); + } else if (nexttoken.id === "(number)") { + id = nexttoken.value.toString(); + advance(); + } + } + return id; + } + + + function functionparams() { + var next = nexttoken; + var params = []; + var ident; + + advance("("); + nospace(); + + if (nexttoken.id === ")") { + advance(")"); + return; + } + + for (;;) { + ident = identifier(true); + params.push(ident); + addlabel(ident, "unused", token); + if (nexttoken.id === ",") { + comma(); + } else { + advance(")", next); + nospace(prevtoken, token); + return params; + } + } + } + + + function doFunction(name, statement) { + var f; + var oldOption = option; + var oldScope = scope; + + option = Object.create(option); + scope = Object.create(scope); + + funct = { + "(name)" : name || "\"" + anonname + "\"", + "(line)" : nexttoken.line, + "(character)": nexttoken.character, + "(context)" : funct, + "(breakage)" : 0, + "(loopage)" : 0, + "(metrics)" : createMetrics(nexttoken), + "(scope)" : scope, + "(statement)": statement, + "(tokens)" : {} + }; + + f = funct; + token.funct = funct; + + functions.push(funct); + + if (name) { + addlabel(name, "function"); + } + + funct["(params)"] = functionparams(); + funct["(metrics)"].verifyMaxParametersPerFunction(funct["(params)"]); + + block(false, false, true); + + funct["(metrics)"].verifyMaxStatementsPerFunction(); + funct["(metrics)"].verifyMaxComplexityPerFunction(); + + scope = oldScope; + option = oldOption; + funct["(last)"] = token.line; + funct["(lastcharacter)"] = token.character; + funct = funct["(context)"]; + + return f; + } + + function createMetrics(functionStartToken) { + return { + statementCount: 0, + nestedBlockDepth: -1, + ComplexityCount: 1, + verifyMaxStatementsPerFunction: function () { + if (option.maxstatements && + this.statementCount > option.maxstatements) { + var message = "Too many statements per function (" + this.statementCount + ")."; + warning(message, functionStartToken); + } + }, + + verifyMaxParametersPerFunction: function (params) { + params = params || []; + + if (option.maxparams && params.length > option.maxparams) { + var message = "Too many parameters per function (" + params.length + ")."; + warning(message, functionStartToken); + } + }, + + verifyMaxNestedBlockDepthPerFunction: function () { + if (option.maxdepth && + this.nestedBlockDepth > 0 && + this.nestedBlockDepth === option.maxdepth + 1) { + var message = "Blocks are nested too deeply (" + this.nestedBlockDepth + ")."; + warning(message); + } + }, + + verifyMaxComplexityPerFunction: function () { + var max = option.maxcomplexity; + var cc = this.ComplexityCount; + if (max && cc > max) { + var message = "Cyclomatic complexity is too high per function (" + cc + ")."; + warning(message, functionStartToken); + } + } + }; + } + + function increaseComplexityCount() { + funct["(metrics)"].ComplexityCount += 1; + } + + + (function (x) { + x.nud = function () { + var b, f, i, p, t; + var props = {}; // All properties, including accessors + + function saveProperty(name, token) { + if (props[name] && is_own(props, name)) + warning("Duplicate member '{a}'.", nexttoken, i); + else + props[name] = {}; + + props[name].basic = true; + props[name].basicToken = token; + } + + function saveSetter(name, token) { + if (props[name] && is_own(props, name)) { + if (props[name].basic || props[name].setter) + warning("Duplicate member '{a}'.", nexttoken, i); + } else { + props[name] = {}; + } + + props[name].setter = true; + props[name].setterToken = token; + } + + function saveGetter(name) { + if (props[name] && is_own(props, name)) { + if (props[name].basic || props[name].getter) + warning("Duplicate member '{a}'.", nexttoken, i); + } else { + props[name] = {}; + } + + props[name].getter = true; + props[name].getterToken = token; + } + + b = token.line !== nexttoken.line; + if (b) { + indent += option.indent; + if (nexttoken.from === indent + option.indent) { + indent += option.indent; + } + } + for (;;) { + if (nexttoken.id === "}") { + break; + } + if (b) { + indentation(); + } + if (nexttoken.value === "get" && peek().id !== ":") { + advance("get"); + if (!option.es5) { + error("get/set are ES5 features."); + } + i = property_name(); + if (!i) { + error("Missing property name."); + } + saveGetter(i); + t = nexttoken; + adjacent(token, nexttoken); + f = doFunction(); + p = f["(params)"]; + if (p) { + warning("Unexpected parameter '{a}' in get {b} function.", t, p[0], i); + } + adjacent(token, nexttoken); + } else if (nexttoken.value === "set" && peek().id !== ":") { + advance("set"); + if (!option.es5) { + error("get/set are ES5 features."); + } + i = property_name(); + if (!i) { + error("Missing property name."); + } + saveSetter(i, nexttoken); + t = nexttoken; + adjacent(token, nexttoken); + f = doFunction(); + p = f["(params)"]; + if (!p || p.length !== 1) { + warning("Expected a single parameter in set {a} function.", t, i); + } + } else { + i = property_name(); + saveProperty(i, nexttoken); + if (typeof i !== "string") { + break; + } + advance(":"); + nonadjacent(token, nexttoken); + expression(10); + } + + countMember(i); + if (nexttoken.id === ",") { + comma(); + if (nexttoken.id === ",") { + warning("Extra comma.", token); + } else if (nexttoken.id === "}" && !option.es5) { + warning("Extra comma.", token); + } + } else { + break; + } + } + if (b) { + indent -= option.indent; + indentation(); + } + advance("}", this); + + // Check for lonely setters if in the ES5 mode. + if (option.es5) { + for (var name in props) { + if (is_own(props, name) && props[name].setter && !props[name].getter) { + warning("Setter is defined without getter.", props[name].setterToken); + } + } + } + return this; + }; + x.fud = function () { + error("Expected to see a statement and instead saw a block.", token); + }; + }(delim("{"))); + +// This Function is called when esnext option is set to true +// it adds the `const` statement to JSHINT + + useESNextSyntax = function () { + var conststatement = stmt("const", function (prefix) { + var id, name, value; + + this.first = []; + for (;;) { + nonadjacent(token, nexttoken); + id = identifier(); + if (funct[id] === "const") { + warning("const '" + id + "' has already been declared"); + } + if (funct["(global)"] && predefined[id] === false) { + warning("Redefinition of '{a}'.", token, id); + } + addlabel(id, "const"); + if (prefix) { + break; + } + name = token; + this.first.push(token); + + if (nexttoken.id !== "=") { + warning("const " + + "'{a}' is initialized to 'undefined'.", token, id); + } + + if (nexttoken.id === "=") { + nonadjacent(token, nexttoken); + advance("="); + nonadjacent(token, nexttoken); + if (nexttoken.id === "undefined") { + warning("It is not necessary to initialize " + + "'{a}' to 'undefined'.", token, id); + } + if (peek(0).id === "=" && nexttoken.identifier) { + error("Constant {a} was not declared correctly.", + nexttoken, nexttoken.value); + } + value = expression(0); + name.first = value; + } + + if (nexttoken.id !== ",") { + break; + } + comma(); + } + return this; + }); + conststatement.exps = true; + }; + + var varstatement = stmt("var", function (prefix) { + // JavaScript does not have block scope. It only has function scope. So, + // declaring a variable in a block can have unexpected consequences. + var id, name, value; + + if (funct["(onevar)"] && option.onevar) { + warning("Too many var statements."); + } else if (!funct["(global)"]) { + funct["(onevar)"] = true; + } + + this.first = []; + + for (;;) { + nonadjacent(token, nexttoken); + id = identifier(); + + if (option.esnext && funct[id] === "const") { + warning("const '" + id + "' has already been declared"); + } + + if (funct["(global)"] && predefined[id] === false) { + warning("Redefinition of '{a}'.", token, id); + } + + addlabel(id, "unused", token); + + if (prefix) { + break; + } + + name = token; + this.first.push(token); + + if (nexttoken.id === "=") { + nonadjacent(token, nexttoken); + advance("="); + nonadjacent(token, nexttoken); + if (nexttoken.id === "undefined") { + warning("It is not necessary to initialize '{a}' to 'undefined'.", token, id); + } + if (peek(0).id === "=" && nexttoken.identifier) { + error("Variable {a} was not declared correctly.", + nexttoken, nexttoken.value); + } + value = expression(0); + name.first = value; + } + if (nexttoken.id !== ",") { + break; + } + comma(); + } + return this; + }); + varstatement.exps = true; + + blockstmt("function", function () { + if (inblock) { + warning("Function declarations should not be placed in blocks. " + + "Use a function expression or move the statement to the top of " + + "the outer function.", token); + + } + var i = identifier(); + if (option.esnext && funct[i] === "const") { + warning("const '" + i + "' has already been declared"); + } + adjacent(token, nexttoken); + addlabel(i, "unction", token); + + doFunction(i, { statement: true }); + if (nexttoken.id === "(" && nexttoken.line === token.line) { + error( +"Function declarations are not invocable. Wrap the whole function invocation in parens."); + } + return this; + }); + + prefix("function", function () { + var i = optionalidentifier(); + if (i) { + adjacent(token, nexttoken); + } else { + nonadjacent(token, nexttoken); + } + doFunction(i); + if (!option.loopfunc && funct["(loopage)"]) { + warning("Don't make functions within a loop."); + } + return this; + }); + + blockstmt("if", function () { + var t = nexttoken; + increaseComplexityCount(); + advance("("); + nonadjacent(this, t); + nospace(); + expression(20); + if (nexttoken.id === "=") { + if (!option.boss) + warning("Expected a conditional expression and instead saw an assignment."); + advance("="); + expression(20); + } + advance(")", t); + nospace(prevtoken, token); + block(true, true); + if (nexttoken.id === "else") { + nonadjacent(token, nexttoken); + advance("else"); + if (nexttoken.id === "if" || nexttoken.id === "switch") { + statement(true); + } else { + block(true, true); + } + } + return this; + }); + + blockstmt("try", function () { + var b; + + function doCatch() { + var oldScope = scope; + var e; + + advance("catch"); + nonadjacent(token, nexttoken); + advance("("); + + scope = Object.create(oldScope); + + e = nexttoken.value; + if (nexttoken.type !== "(identifier)") { + e = null; + warning("Expected an identifier and instead saw '{a}'.", nexttoken, e); + } + + advance(); + advance(")"); + + funct = { + "(name)" : "(catch)", + "(line)" : nexttoken.line, + "(character)": nexttoken.character, + "(context)" : funct, + "(breakage)" : funct["(breakage)"], + "(loopage)" : funct["(loopage)"], + "(scope)" : scope, + "(statement)": false, + "(metrics)" : createMetrics(nexttoken), + "(catch)" : true, + "(tokens)" : {} + }; + + if (e) { + addlabel(e, "exception"); + } + + token.funct = funct; + functions.push(funct); + + block(false); + + scope = oldScope; + + funct["(last)"] = token.line; + funct["(lastcharacter)"] = token.character; + funct = funct["(context)"]; + } + + block(false); + + if (nexttoken.id === "catch") { + increaseComplexityCount(); + doCatch(); + b = true; + } + + if (nexttoken.id === "finally") { + advance("finally"); + block(false); + return; + } else if (!b) { + error("Expected '{a}' and instead saw '{b}'.", + nexttoken, "catch", nexttoken.value); + } + + return this; + }); + + blockstmt("while", function () { + var t = nexttoken; + funct["(breakage)"] += 1; + funct["(loopage)"] += 1; + increaseComplexityCount(); + advance("("); + nonadjacent(this, t); + nospace(); + expression(20); + if (nexttoken.id === "=") { + if (!option.boss) + warning("Expected a conditional expression and instead saw an assignment."); + advance("="); + expression(20); + } + advance(")", t); + nospace(prevtoken, token); + block(true, true); + funct["(breakage)"] -= 1; + funct["(loopage)"] -= 1; + return this; + }).labelled = true; + + blockstmt("with", function () { + var t = nexttoken; + if (directive["use strict"]) { + error("'with' is not allowed in strict mode.", token); + } else if (!option.withstmt) { + warning("Don't use 'with'.", token); + } + + advance("("); + nonadjacent(this, t); + nospace(); + expression(0); + advance(")", t); + nospace(prevtoken, token); + block(true, true); + + return this; + }); + + blockstmt("switch", function () { + var t = nexttoken, + g = false; + funct["(breakage)"] += 1; + advance("("); + nonadjacent(this, t); + nospace(); + this.condition = expression(20); + advance(")", t); + nospace(prevtoken, token); + nonadjacent(token, nexttoken); + t = nexttoken; + advance("{"); + nonadjacent(token, nexttoken); + indent += option.indent; + this.cases = []; + for (;;) { + switch (nexttoken.id) { + case "case": + switch (funct["(verb)"]) { + case "break": + case "case": + case "continue": + case "return": + case "switch": + case "throw": + break; + default: + // You can tell JSHint that you don't use break intentionally by + // adding a comment /* falls through */ on a line just before + // the next `case`. + if (!ft.test(lines[nexttoken.line - 2])) { + warning( + "Expected a 'break' statement before 'case'.", + token); + } + } + indentation(-option.indent); + advance("case"); + this.cases.push(expression(20)); + increaseComplexityCount(); + g = true; + advance(":"); + funct["(verb)"] = "case"; + break; + case "default": + switch (funct["(verb)"]) { + case "break": + case "continue": + case "return": + case "throw": + break; + default: + if (!ft.test(lines[nexttoken.line - 2])) { + warning( + "Expected a 'break' statement before 'default'.", + token); + } + } + indentation(-option.indent); + advance("default"); + g = true; + advance(":"); + break; + case "}": + indent -= option.indent; + indentation(); + advance("}", t); + if (this.cases.length === 1 || this.condition.id === "true" || + this.condition.id === "false") { + if (!option.onecase) + warning("This 'switch' should be an 'if'.", this); + } + funct["(breakage)"] -= 1; + funct["(verb)"] = undefined; + return; + case "(end)": + error("Missing '{a}'.", nexttoken, "}"); + return; + default: + if (g) { + switch (token.id) { + case ",": + error("Each value should have its own case label."); + return; + case ":": + g = false; + statements(); + break; + default: + error("Missing ':' on a case clause.", token); + return; + } + } else { + if (token.id === ":") { + advance(":"); + error("Unexpected '{a}'.", token, ":"); + statements(); + } else { + error("Expected '{a}' and instead saw '{b}'.", + nexttoken, "case", nexttoken.value); + return; + } + } + } + } + }).labelled = true; + + stmt("debugger", function () { + if (!option.debug) { + warning("All 'debugger' statements should be removed."); + } + return this; + }).exps = true; + + (function () { + var x = stmt("do", function () { + funct["(breakage)"] += 1; + funct["(loopage)"] += 1; + increaseComplexityCount(); + + this.first = block(true); + advance("while"); + var t = nexttoken; + nonadjacent(token, t); + advance("("); + nospace(); + expression(20); + if (nexttoken.id === "=") { + if (!option.boss) + warning("Expected a conditional expression and instead saw an assignment."); + advance("="); + expression(20); + } + advance(")", t); + nospace(prevtoken, token); + funct["(breakage)"] -= 1; + funct["(loopage)"] -= 1; + return this; + }); + x.labelled = true; + x.exps = true; + }()); + + blockstmt("for", function () { + var s, t = nexttoken; + funct["(breakage)"] += 1; + funct["(loopage)"] += 1; + increaseComplexityCount(); + advance("("); + nonadjacent(this, t); + nospace(); + if (peek(nexttoken.id === "var" ? 1 : 0).id === "in") { + if (nexttoken.id === "var") { + advance("var"); + varstatement.fud.call(varstatement, true); + } else { + switch (funct[nexttoken.value]) { + case "unused": + funct[nexttoken.value] = "var"; + break; + case "var": + break; + default: + warning("Bad for in variable '{a}'.", + nexttoken, nexttoken.value); + } + advance(); + } + advance("in"); + expression(20); + advance(")", t); + s = block(true, true); + if (option.forin && s && (s.length > 1 || typeof s[0] !== "object" || + s[0].value !== "if")) { + warning("The body of a for in should be wrapped in an if statement to filter " + + "unwanted properties from the prototype.", this); + } + funct["(breakage)"] -= 1; + funct["(loopage)"] -= 1; + return this; + } else { + if (nexttoken.id !== ";") { + if (nexttoken.id === "var") { + advance("var"); + varstatement.fud.call(varstatement); + } else { + for (;;) { + expression(0, "for"); + if (nexttoken.id !== ",") { + break; + } + comma(); + } + } + } + nolinebreak(token); + advance(";"); + if (nexttoken.id !== ";") { + expression(20); + if (nexttoken.id === "=") { + if (!option.boss) + warning("Expected a conditional expression and instead saw an assignment."); + advance("="); + expression(20); + } + } + nolinebreak(token); + advance(";"); + if (nexttoken.id === ";") { + error("Expected '{a}' and instead saw '{b}'.", + nexttoken, ")", ";"); + } + if (nexttoken.id !== ")") { + for (;;) { + expression(0, "for"); + if (nexttoken.id !== ",") { + break; + } + comma(); + } + } + advance(")", t); + nospace(prevtoken, token); + block(true, true); + funct["(breakage)"] -= 1; + funct["(loopage)"] -= 1; + return this; + } + }).labelled = true; + + + stmt("break", function () { + var v = nexttoken.value; + + if (funct["(breakage)"] === 0) + warning("Unexpected '{a}'.", nexttoken, this.value); + + if (!option.asi) + nolinebreak(this); + + if (nexttoken.id !== ";") { + if (token.line === nexttoken.line) { + if (funct[v] !== "label") { + warning("'{a}' is not a statement label.", nexttoken, v); + } else if (scope[v] !== funct) { + warning("'{a}' is out of scope.", nexttoken, v); + } + this.first = nexttoken; + advance(); + } + } + reachable("break"); + return this; + }).exps = true; + + + stmt("continue", function () { + var v = nexttoken.value; + + if (funct["(breakage)"] === 0) + warning("Unexpected '{a}'.", nexttoken, this.value); + + if (!option.asi) + nolinebreak(this); + + if (nexttoken.id !== ";") { + if (token.line === nexttoken.line) { + if (funct[v] !== "label") { + warning("'{a}' is not a statement label.", nexttoken, v); + } else if (scope[v] !== funct) { + warning("'{a}' is out of scope.", nexttoken, v); + } + this.first = nexttoken; + advance(); + } + } else if (!funct["(loopage)"]) { + warning("Unexpected '{a}'.", nexttoken, this.value); + } + reachable("continue"); + return this; + }).exps = true; + + + stmt("return", function () { + if (this.line === nexttoken.line) { + if (nexttoken.id === "(regexp)") + warning("Wrap the /regexp/ literal in parens to disambiguate the slash operator."); + + if (nexttoken.id !== ";" && !nexttoken.reach) { + nonadjacent(token, nexttoken); + if (peek().value === "=" && !option.boss) { + warningAt("Did you mean to return a conditional instead of an assignment?", + token.line, token.character + 1); + } + this.first = expression(0); + } + } else if (!option.asi) { + nolinebreak(this); // always warn (Line breaking error) + } + reachable("return"); + return this; + }).exps = true; + + + stmt("throw", function () { + nolinebreak(this); + nonadjacent(token, nexttoken); + this.first = expression(20); + reachable("throw"); + return this; + }).exps = true; + +// Superfluous reserved words + + reserve("class"); + reserve("const"); + reserve("enum"); + reserve("export"); + reserve("extends"); + reserve("import"); + reserve("super"); + + reserve("let"); + reserve("yield"); + reserve("implements"); + reserve("interface"); + reserve("package"); + reserve("private"); + reserve("protected"); + reserve("public"); + reserve("static"); + + +// Parse JSON + + function jsonValue() { + + function jsonObject() { + var o = {}, t = nexttoken; + advance("{"); + if (nexttoken.id !== "}") { + for (;;) { + if (nexttoken.id === "(end)") { + error("Missing '}' to match '{' from line {a}.", + nexttoken, t.line); + } else if (nexttoken.id === "}") { + warning("Unexpected comma.", token); + break; + } else if (nexttoken.id === ",") { + error("Unexpected comma.", nexttoken); + } else if (nexttoken.id !== "(string)") { + warning("Expected a string and instead saw {a}.", + nexttoken, nexttoken.value); + } + if (o[nexttoken.value] === true) { + warning("Duplicate key '{a}'.", + nexttoken, nexttoken.value); + } else if ((nexttoken.value === "__proto__" && + !option.proto) || (nexttoken.value === "__iterator__" && + !option.iterator)) { + warning("The '{a}' key may produce unexpected results.", + nexttoken, nexttoken.value); + } else { + o[nexttoken.value] = true; + } + advance(); + advance(":"); + jsonValue(); + if (nexttoken.id !== ",") { + break; + } + advance(","); + } + } + advance("}"); + } + + function jsonArray() { + var t = nexttoken; + advance("["); + if (nexttoken.id !== "]") { + for (;;) { + if (nexttoken.id === "(end)") { + error("Missing ']' to match '[' from line {a}.", + nexttoken, t.line); + } else if (nexttoken.id === "]") { + warning("Unexpected comma.", token); + break; + } else if (nexttoken.id === ",") { + error("Unexpected comma.", nexttoken); + } + jsonValue(); + if (nexttoken.id !== ",") { + break; + } + advance(","); + } + } + advance("]"); + } + + switch (nexttoken.id) { + case "{": + jsonObject(); + break; + case "[": + jsonArray(); + break; + case "true": + case "false": + case "null": + case "(number)": + case "(string)": + advance(); + break; + case "-": + advance("-"); + if (token.character !== nexttoken.from) { + warning("Unexpected space after '-'.", token); + } + adjacent(token, nexttoken); + advance("(number)"); + break; + default: + error("Expected a JSON value.", nexttoken); + } + } + + + // The actual JSHINT function itself. + var itself = function (s, o, g) { + var a, i, k, x; + var optionKeys; + var newOptionObj = {}; + + if (o && o.scope) { + JSHINT.scope = o.scope; + } else { + JSHINT.errors = []; + JSHINT.undefs = []; + JSHINT.internals = []; + JSHINT.blacklist = {}; + JSHINT.scope = "(main)"; + } + + predefined = Object.create(standard); + declared = Object.create(null); + combine(predefined, g || {}); + + if (o) { + a = o.predef; + if (a) { + if (!Array.isArray(a) && typeof a === "object") { + a = Object.keys(a); + } + a.forEach(function (item) { + var slice; + if (item[0] === "-") { + slice = item.slice(1); + JSHINT.blacklist[slice] = slice; + } else { + predefined[item] = true; + } + }); + } + + optionKeys = Object.keys(o); + for (x = 0; x < optionKeys.length; x++) { + newOptionObj[optionKeys[x]] = o[optionKeys[x]]; + + if (optionKeys[x] === "newcap" && o[optionKeys[x]] === false) + newOptionObj["(explicitNewcap)"] = true; + + if (optionKeys[x] === "indent") + newOptionObj.white = true; + } + } + + option = newOptionObj; + + option.indent = option.indent || 4; + option.maxerr = option.maxerr || 50; + + tab = ""; + for (i = 0; i < option.indent; i += 1) { + tab += " "; + } + indent = 1; + global = Object.create(predefined); + scope = global; + funct = { + "(global)": true, + "(name)": "(global)", + "(scope)": scope, + "(breakage)": 0, + "(loopage)": 0, + "(tokens)": {}, + "(metrics)": createMetrics(nexttoken) + }; + functions = [funct]; + urls = []; + stack = null; + member = {}; + membersOnly = null; + implied = {}; + inblock = false; + lookahead = []; + jsonmode = false; + warnings = 0; + lines = []; + unuseds = []; + + if (!isString(s) && !Array.isArray(s)) { + errorAt("Input is neither a string nor an array of strings.", 0); + return false; + } + + if (isString(s) && /^\s*$/g.test(s)) { + errorAt("Input is an empty string.", 0); + return false; + } + + if (s.length === 0) { + errorAt("Input is an empty array.", 0); + return false; + } + + lex.init(s); + + prereg = true; + directive = {}; + + prevtoken = token = nexttoken = syntax["(begin)"]; + + // Check options + for (var name in o) { + if (is_own(o, name)) { + checkOption(name, token); + } + } + + assume(); + + // combine the passed globals after we've assumed all our options + combine(predefined, g || {}); + + //reset values + comma.first = true; + quotmark = undefined; + + try { + advance(); + switch (nexttoken.id) { + case "{": + case "[": + option.laxbreak = true; + jsonmode = true; + jsonValue(); + break; + default: + directives(); + if (directive["use strict"] && !option.globalstrict) { + warning("Use the function form of \"use strict\".", prevtoken); + } + + statements(); + } + advance((nexttoken && nexttoken.value !== ".") ? "(end)" : undefined); + + var markDefined = function (name, context) { + do { + if (typeof context[name] === "string") { + // JSHINT marks unused variables as 'unused' and + // unused function declaration as 'unction'. This + // code changes such instances back 'var' and + // 'closure' so that the code in JSHINT.data() + // doesn't think they're unused. + + if (context[name] === "unused") + context[name] = "var"; + else if (context[name] === "unction") + context[name] = "closure"; + + return true; + } + + context = context["(context)"]; + } while (context); + + return false; + }; + + var clearImplied = function (name, line) { + if (!implied[name]) + return; + + var newImplied = []; + for (var i = 0; i < implied[name].length; i += 1) { + if (implied[name][i] !== line) + newImplied.push(implied[name][i]); + } + + if (newImplied.length === 0) + delete implied[name]; + else + implied[name] = newImplied; + }; + + var warnUnused = function (name, token) { + var line = token.line; + var chr = token.character; + + if (option.unused) + warningAt("'{a}' is defined but never used.", line, chr, name); + + unuseds.push({ + name: name, + line: line, + character: chr + }); + }; + + var checkUnused = function (func, key) { + var type = func[key]; + var token = func["(tokens)"][key]; + + if (key.charAt(0) === "(") + return; + + if (type !== "unused" && type !== "unction") + return; + + // Params are checked separately from other variables. + if (func["(params)"] && func["(params)"].indexOf(key) !== -1) + return; + + warnUnused(key, token); + }; + + // Check queued 'x is not defined' instances to see if they're still undefined. + for (i = 0; i < JSHINT.undefs.length; i += 1) { + k = JSHINT.undefs[i].slice(0); + + if (markDefined(k[2].value, k[0])) { + clearImplied(k[2].value, k[2].line); + } else { + warning.apply(warning, k.slice(1)); + } + } + + functions.forEach(function (func) { + for (var key in func) { + if (is_own(func, key)) { + checkUnused(func, key); + } + } + + if (!func["(params)"]) + return; + + var params = func["(params)"].slice(); + var param = params.pop(); + var type; + + while (param) { + type = func[param]; + + // 'undefined' is a special case for (function (window, undefined) { ... })(); + // patterns. + + if (param === "undefined") + return; + + if (type !== "unused" && type !== "unction") + return; + + warnUnused(param, func["(tokens)"][param]); + param = params.pop(); + } + }); + + for (var key in declared) { + if (is_own(declared, key) && !is_own(global, key)) { + warnUnused(key, declared[key]); + } + } + } catch (e) { + if (e) { + var nt = nexttoken || {}; + JSHINT.errors.push({ + raw : e.raw, + reason : e.message, + line : e.line || nt.line, + character : e.character || nt.from + }, null); + } + } + + // Loop over the listed "internals", and check them as well. + + if (JSHINT.scope === "(main)") { + o = o || {}; + + for (i = 0; i < JSHINT.internals.length; i += 1) { + k = JSHINT.internals[i]; + o.scope = k.elem; + itself(k.value, o, g); + } + } + + return JSHINT.errors.length === 0; + }; + + // Data summary. + itself.data = function () { + var data = { + functions: [], + options: option + }; + var implieds = []; + var members = []; + var fu, f, i, j, n, globals; + + if (itself.errors.length) { + data.errors = itself.errors; + } + + if (jsonmode) { + data.json = true; + } + + for (n in implied) { + if (is_own(implied, n)) { + implieds.push({ + name: n, + line: implied[n] + }); + } + } + + if (implieds.length > 0) { + data.implieds = implieds; + } + + if (urls.length > 0) { + data.urls = urls; + } + + globals = Object.keys(scope); + if (globals.length > 0) { + data.globals = globals; + } + + for (i = 1; i < functions.length; i += 1) { + f = functions[i]; + fu = {}; + + for (j = 0; j < functionicity.length; j += 1) { + fu[functionicity[j]] = []; + } + + for (j = 0; j < functionicity.length; j += 1) { + if (fu[functionicity[j]].length === 0) { + delete fu[functionicity[j]]; + } + } + + fu.name = f["(name)"]; + fu.param = f["(params)"]; + fu.line = f["(line)"]; + fu.character = f["(character)"]; + fu.last = f["(last)"]; + fu.lastcharacter = f["(lastcharacter)"]; + data.functions.push(fu); + } + + if (unuseds.length > 0) { + data.unused = unuseds; + } + + members = []; + for (n in member) { + if (typeof member[n] === "number") { + data.member = member; + break; + } + } + + return data; + }; + + itself.jshint = itself; + + return itself; +}()); + +// Make JSHINT a Node module, if possible. +if (typeof exports === "object" && exports) { + exports.JSHINT = JSHINT; +} \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/external/qunit.css b/97suifangqa/staticfiles/plugins/jquery-ui/external/qunit.css new file mode 100644 index 0000000..d7fc0c8 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/external/qunit.css @@ -0,0 +1,244 @@ +/** + * QUnit v1.11.0 - A JavaScript Unit Testing Framework + * + * http://qunitjs.com + * + * Copyright 2012 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +/** Font Family and Sizes */ + +#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult { + font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif; +} + +#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } +#qunit-tests { font-size: smaller; } + + +/** Resets */ + +#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { + margin: 0; + padding: 0; +} + + +/** Header */ + +#qunit-header { + padding: 0.5em 0 0.5em 1em; + + color: #8699a4; + background-color: #0d3349; + + font-size: 1.5em; + line-height: 1em; + font-weight: normal; + + border-radius: 5px 5px 0 0; + -moz-border-radius: 5px 5px 0 0; + -webkit-border-top-right-radius: 5px; + -webkit-border-top-left-radius: 5px; +} + +#qunit-header a { + text-decoration: none; + color: #c2ccd1; +} + +#qunit-header a:hover, +#qunit-header a:focus { + color: #fff; +} + +#qunit-testrunner-toolbar label { + display: inline-block; + padding: 0 .5em 0 .1em; +} + +#qunit-banner { + height: 5px; +} + +#qunit-testrunner-toolbar { + padding: 0.5em 0 0.5em 2em; + color: #5E740B; + background-color: #eee; + overflow: hidden; +} + +#qunit-userAgent { + padding: 0.5em 0 0.5em 2.5em; + background-color: #2b81af; + color: #fff; + text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; +} + +#qunit-modulefilter-container { + float: right; +} + +/** Tests: Pass/Fail */ + +#qunit-tests { + list-style-position: inside; +} + +#qunit-tests li { + padding: 0.4em 0.5em 0.4em 2.5em; + border-bottom: 1px solid #fff; + list-style-position: inside; +} + +#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running { + display: none; +} + +#qunit-tests li strong { + cursor: pointer; +} + +#qunit-tests li a { + padding: 0.5em; + color: #c2ccd1; + text-decoration: none; +} +#qunit-tests li a:hover, +#qunit-tests li a:focus { + color: #000; +} + +#qunit-tests li .runtime { + float: right; + font-size: smaller; +} + +.qunit-assert-list { + margin-top: 0.5em; + padding: 0.5em; + + background-color: #fff; + + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; +} + +.qunit-collapsed { + display: none; +} + +#qunit-tests table { + border-collapse: collapse; + margin-top: .2em; +} + +#qunit-tests th { + text-align: right; + vertical-align: top; + padding: 0 .5em 0 0; +} + +#qunit-tests td { + vertical-align: top; +} + +#qunit-tests pre { + margin: 0; + white-space: pre-wrap; + word-wrap: break-word; +} + +#qunit-tests del { + background-color: #e0f2be; + color: #374e0c; + text-decoration: none; +} + +#qunit-tests ins { + background-color: #ffcaca; + color: #500; + text-decoration: none; +} + +/*** Test Counts */ + +#qunit-tests b.counts { color: black; } +#qunit-tests b.passed { color: #5E740B; } +#qunit-tests b.failed { color: #710909; } + +#qunit-tests li li { + padding: 5px; + background-color: #fff; + border-bottom: none; + list-style-position: inside; +} + +/*** Passing Styles */ + +#qunit-tests li li.pass { + color: #3c510c; + background-color: #fff; + border-left: 10px solid #C6E746; +} + +#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; } +#qunit-tests .pass .test-name { color: #366097; } + +#qunit-tests .pass .test-actual, +#qunit-tests .pass .test-expected { color: #999999; } + +#qunit-banner.qunit-pass { background-color: #C6E746; } + +/*** Failing Styles */ + +#qunit-tests li li.fail { + color: #710909; + background-color: #fff; + border-left: 10px solid #EE5757; + white-space: pre; +} + +#qunit-tests > li:last-child { + border-radius: 0 0 5px 5px; + -moz-border-radius: 0 0 5px 5px; + -webkit-border-bottom-right-radius: 5px; + -webkit-border-bottom-left-radius: 5px; +} + +#qunit-tests .fail { color: #000000; background-color: #EE5757; } +#qunit-tests .fail .test-name, +#qunit-tests .fail .module-name { color: #000000; } + +#qunit-tests .fail .test-actual { color: #EE5757; } +#qunit-tests .fail .test-expected { color: green; } + +#qunit-banner.qunit-fail { background-color: #EE5757; } + + +/** Result */ + +#qunit-testresult { + padding: 0.5em 0.5em 0.5em 2.5em; + + color: #2b81af; + background-color: #D2E0E6; + + border-bottom: 1px solid white; +} +#qunit-testresult .module-name { + font-weight: bold; +} + +/** Fixture */ + +#qunit-fixture { + position: absolute; + top: -10000px; + left: -10000px; + width: 1000px; + height: 1000px; +} diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/external/qunit.js b/97suifangqa/staticfiles/plugins/jquery-ui/external/qunit.js new file mode 100644 index 0000000..302545f --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/external/qunit.js @@ -0,0 +1,2152 @@ +/** + * QUnit v1.11.0 - A JavaScript Unit Testing Framework + * + * http://qunitjs.com + * + * Copyright 2012 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + */ + +(function( window ) { + +var QUnit, + assert, + config, + onErrorFnPrev, + testId = 0, + fileName = (sourceFromStacktrace( 0 ) || "" ).replace(/(:\d+)+\)?/, "").replace(/.+\//, ""), + toString = Object.prototype.toString, + hasOwn = Object.prototype.hasOwnProperty, + // Keep a local reference to Date (GH-283) + Date = window.Date, + defined = { + setTimeout: typeof window.setTimeout !== "undefined", + sessionStorage: (function() { + var x = "qunit-test-string"; + try { + sessionStorage.setItem( x, x ); + sessionStorage.removeItem( x ); + return true; + } catch( e ) { + return false; + } + }()) + }, + /** + * Provides a normalized error string, correcting an issue + * with IE 7 (and prior) where Error.prototype.toString is + * not properly implemented + * + * Based on http://es5.github.com/#x15.11.4.4 + * + * @param {String|Error} error + * @return {String} error message + */ + errorString = function( error ) { + var name, message, + errorString = error.toString(); + if ( errorString.substring( 0, 7 ) === "[object" ) { + name = error.name ? error.name.toString() : "Error"; + message = error.message ? error.message.toString() : ""; + if ( name && message ) { + return name + ": " + message; + } else if ( name ) { + return name; + } else if ( message ) { + return message; + } else { + return "Error"; + } + } else { + return errorString; + } + }, + /** + * Makes a clone of an object using only Array or Object as base, + * and copies over the own enumerable properties. + * + * @param {Object} obj + * @return {Object} New object with only the own properties (recursively). + */ + objectValues = function( obj ) { + // Grunt 0.3.x uses an older version of jshint that still has jshint/jshint#392. + /*jshint newcap: false */ + var key, val, + vals = QUnit.is( "array", obj ) ? [] : {}; + for ( key in obj ) { + if ( hasOwn.call( obj, key ) ) { + val = obj[key]; + vals[key] = val === Object(val) ? objectValues(val) : val; + } + } + return vals; + }; + +function Test( settings ) { + extend( this, settings ); + this.assertions = []; + this.testNumber = ++Test.count; +} + +Test.count = 0; + +Test.prototype = { + init: function() { + var a, b, li, + tests = id( "qunit-tests" ); + + if ( tests ) { + b = document.createElement( "strong" ); + b.innerHTML = this.nameHtml; + + // `a` initialized at top of scope + a = document.createElement( "a" ); + a.innerHTML = "Rerun"; + a.href = QUnit.url({ testNumber: this.testNumber }); + + li = document.createElement( "li" ); + li.appendChild( b ); + li.appendChild( a ); + li.className = "running"; + li.id = this.id = "qunit-test-output" + testId++; + + tests.appendChild( li ); + } + }, + setup: function() { + if ( this.module !== config.previousModule ) { + if ( config.previousModule ) { + runLoggingCallbacks( "moduleDone", QUnit, { + name: config.previousModule, + failed: config.moduleStats.bad, + passed: config.moduleStats.all - config.moduleStats.bad, + total: config.moduleStats.all + }); + } + config.previousModule = this.module; + config.moduleStats = { all: 0, bad: 0 }; + runLoggingCallbacks( "moduleStart", QUnit, { + name: this.module + }); + } else if ( config.autorun ) { + runLoggingCallbacks( "moduleStart", QUnit, { + name: this.module + }); + } + + config.current = this; + + this.testEnvironment = extend({ + setup: function() {}, + teardown: function() {} + }, this.moduleTestEnvironment ); + + this.started = +new Date(); + runLoggingCallbacks( "testStart", QUnit, { + name: this.testName, + module: this.module + }); + + // allow utility functions to access the current test environment + // TODO why?? + QUnit.current_testEnvironment = this.testEnvironment; + + if ( !config.pollution ) { + saveGlobal(); + } + if ( config.notrycatch ) { + this.testEnvironment.setup.call( this.testEnvironment ); + return; + } + try { + this.testEnvironment.setup.call( this.testEnvironment ); + } catch( e ) { + QUnit.pushFailure( "Setup failed on " + this.testName + ": " + ( e.message || e ), extractStacktrace( e, 1 ) ); + } + }, + run: function() { + config.current = this; + + var running = id( "qunit-testresult" ); + + if ( running ) { + running.innerHTML = "Running:
    " + this.nameHtml; + } + + if ( this.async ) { + QUnit.stop(); + } + + this.callbackStarted = +new Date(); + + if ( config.notrycatch ) { + this.callback.call( this.testEnvironment, QUnit.assert ); + this.callbackRuntime = +new Date() - this.callbackStarted; + return; + } + + try { + this.callback.call( this.testEnvironment, QUnit.assert ); + this.callbackRuntime = +new Date() - this.callbackStarted; + } catch( e ) { + this.callbackRuntime = +new Date() - this.callbackStarted; + + QUnit.pushFailure( "Died on test #" + (this.assertions.length + 1) + " " + this.stack + ": " + ( e.message || e ), extractStacktrace( e, 0 ) ); + // else next test will carry the responsibility + saveGlobal(); + + // Restart the tests if they're blocking + if ( config.blocking ) { + QUnit.start(); + } + } + }, + teardown: function() { + config.current = this; + if ( config.notrycatch ) { + if ( typeof this.callbackRuntime === "undefined" ) { + this.callbackRuntime = +new Date() - this.callbackStarted; + } + this.testEnvironment.teardown.call( this.testEnvironment ); + return; + } else { + try { + this.testEnvironment.teardown.call( this.testEnvironment ); + } catch( e ) { + QUnit.pushFailure( "Teardown failed on " + this.testName + ": " + ( e.message || e ), extractStacktrace( e, 1 ) ); + } + } + checkPollution(); + }, + finish: function() { + config.current = this; + if ( config.requireExpects && this.expected === null ) { + QUnit.pushFailure( "Expected number of assertions to be defined, but expect() was not called.", this.stack ); + } else if ( this.expected !== null && this.expected !== this.assertions.length ) { + QUnit.pushFailure( "Expected " + this.expected + " assertions, but " + this.assertions.length + " were run", this.stack ); + } else if ( this.expected === null && !this.assertions.length ) { + QUnit.pushFailure( "Expected at least one assertion, but none were run - call expect(0) to accept zero assertions.", this.stack ); + } + + var i, assertion, a, b, time, li, ol, + test = this, + good = 0, + bad = 0, + tests = id( "qunit-tests" ); + + this.runtime = +new Date() - this.started; + config.stats.all += this.assertions.length; + config.moduleStats.all += this.assertions.length; + + if ( tests ) { + ol = document.createElement( "ol" ); + ol.className = "qunit-assert-list"; + + for ( i = 0; i < this.assertions.length; i++ ) { + assertion = this.assertions[i]; + + li = document.createElement( "li" ); + li.className = assertion.result ? "pass" : "fail"; + li.innerHTML = assertion.message || ( assertion.result ? "okay" : "failed" ); + ol.appendChild( li ); + + if ( assertion.result ) { + good++; + } else { + bad++; + config.stats.bad++; + config.moduleStats.bad++; + } + } + + // store result when possible + if ( QUnit.config.reorder && defined.sessionStorage ) { + if ( bad ) { + sessionStorage.setItem( "qunit-test-" + this.module + "-" + this.testName, bad ); + } else { + sessionStorage.removeItem( "qunit-test-" + this.module + "-" + this.testName ); + } + } + + if ( bad === 0 ) { + addClass( ol, "qunit-collapsed" ); + } + + // `b` initialized at top of scope + b = document.createElement( "strong" ); + b.innerHTML = this.nameHtml + " (" + bad + ", " + good + ", " + this.assertions.length + ")"; + + addEvent(b, "click", function() { + var next = b.parentNode.lastChild, + collapsed = hasClass( next, "qunit-collapsed" ); + ( collapsed ? removeClass : addClass )( next, "qunit-collapsed" ); + }); + + addEvent(b, "dblclick", function( e ) { + var target = e && e.target ? e.target : window.event.srcElement; + if ( target.nodeName.toLowerCase() === "span" || target.nodeName.toLowerCase() === "b" ) { + target = target.parentNode; + } + if ( window.location && target.nodeName.toLowerCase() === "strong" ) { + window.location = QUnit.url({ testNumber: test.testNumber }); + } + }); + + // `time` initialized at top of scope + time = document.createElement( "span" ); + time.className = "runtime"; + time.innerHTML = this.runtime + " ms"; + + // `li` initialized at top of scope + li = id( this.id ); + li.className = bad ? "fail" : "pass"; + li.removeChild( li.firstChild ); + a = li.firstChild; + li.appendChild( b ); + li.appendChild( a ); + li.appendChild( time ); + li.appendChild( ol ); + + } else { + for ( i = 0; i < this.assertions.length; i++ ) { + if ( !this.assertions[i].result ) { + bad++; + config.stats.bad++; + config.moduleStats.bad++; + } + } + } + + runLoggingCallbacks( "testDone", QUnit, { + name: this.testName, + module: this.module, + failed: bad, + passed: this.assertions.length - bad, + total: this.assertions.length, + duration: this.runtime + }); + + QUnit.reset(); + + config.current = undefined; + }, + + queue: function() { + var bad, + test = this; + + synchronize(function() { + test.init(); + }); + function run() { + // each of these can by async + synchronize(function() { + test.setup(); + }); + synchronize(function() { + test.run(); + }); + synchronize(function() { + test.teardown(); + }); + synchronize(function() { + test.finish(); + }); + } + + // `bad` initialized at top of scope + // defer when previous test run passed, if storage is available + bad = QUnit.config.reorder && defined.sessionStorage && + +sessionStorage.getItem( "qunit-test-" + this.module + "-" + this.testName ); + + if ( bad ) { + run(); + } else { + synchronize( run, true ); + } + } +}; + +// Root QUnit object. +// `QUnit` initialized at top of scope +QUnit = { + + // call on start of module test to prepend name to all tests + module: function( name, testEnvironment ) { + config.currentModule = name; + config.currentModuleTestEnvironment = testEnvironment; + config.modules[name] = true; + }, + + asyncTest: function( testName, expected, callback ) { + if ( arguments.length === 2 ) { + callback = expected; + expected = null; + } + + QUnit.test( testName, expected, callback, true ); + }, + + test: function( testName, expected, callback, async ) { + var test, + nameHtml = "" + escapeText( testName ) + ""; + + if ( arguments.length === 2 ) { + callback = expected; + expected = null; + } + + if ( config.currentModule ) { + nameHtml = "" + escapeText( config.currentModule ) + ": " + nameHtml; + } + + test = new Test({ + nameHtml: nameHtml, + testName: testName, + expected: expected, + async: async, + callback: callback, + module: config.currentModule, + moduleTestEnvironment: config.currentModuleTestEnvironment, + stack: sourceFromStacktrace( 2 ) + }); + + if ( !validTest( test ) ) { + return; + } + + test.queue(); + }, + + // Specify the number of expected assertions to gurantee that failed test (no assertions are run at all) don't slip through. + expect: function( asserts ) { + if (arguments.length === 1) { + config.current.expected = asserts; + } else { + return config.current.expected; + } + }, + + start: function( count ) { + // QUnit hasn't been initialized yet. + // Note: RequireJS (et al) may delay onLoad + if ( config.semaphore === undefined ) { + QUnit.begin(function() { + // This is triggered at the top of QUnit.load, push start() to the event loop, to allow QUnit.load to finish first + setTimeout(function() { + QUnit.start( count ); + }); + }); + return; + } + + config.semaphore -= count || 1; + // don't start until equal number of stop-calls + if ( config.semaphore > 0 ) { + return; + } + // ignore if start is called more often then stop + if ( config.semaphore < 0 ) { + config.semaphore = 0; + QUnit.pushFailure( "Called start() while already started (QUnit.config.semaphore was 0 already)", null, sourceFromStacktrace(2) ); + return; + } + // A slight delay, to avoid any current callbacks + if ( defined.setTimeout ) { + window.setTimeout(function() { + if ( config.semaphore > 0 ) { + return; + } + if ( config.timeout ) { + clearTimeout( config.timeout ); + } + + config.blocking = false; + process( true ); + }, 13); + } else { + config.blocking = false; + process( true ); + } + }, + + stop: function( count ) { + config.semaphore += count || 1; + config.blocking = true; + + if ( config.testTimeout && defined.setTimeout ) { + clearTimeout( config.timeout ); + config.timeout = window.setTimeout(function() { + QUnit.ok( false, "Test timed out" ); + config.semaphore = 1; + QUnit.start(); + }, config.testTimeout ); + } + } +}; + +// `assert` initialized at top of scope +// Asssert helpers +// All of these must either call QUnit.push() or manually do: +// - runLoggingCallbacks( "log", .. ); +// - config.current.assertions.push({ .. }); +// We attach it to the QUnit object *after* we expose the public API, +// otherwise `assert` will become a global variable in browsers (#341). +assert = { + /** + * Asserts rough true-ish result. + * @name ok + * @function + * @example ok( "asdfasdf".length > 5, "There must be at least 5 chars" ); + */ + ok: function( result, msg ) { + if ( !config.current ) { + throw new Error( "ok() assertion outside test context, was " + sourceFromStacktrace(2) ); + } + result = !!result; + + var source, + details = { + module: config.current.module, + name: config.current.testName, + result: result, + message: msg + }; + + msg = escapeText( msg || (result ? "okay" : "failed" ) ); + msg = "" + msg + ""; + + if ( !result ) { + source = sourceFromStacktrace( 2 ); + if ( source ) { + details.source = source; + msg += "
    Source:
    " + escapeText( source ) + "
    "; + } + } + runLoggingCallbacks( "log", QUnit, details ); + config.current.assertions.push({ + result: result, + message: msg + }); + }, + + /** + * Assert that the first two arguments are equal, with an optional message. + * Prints out both actual and expected values. + * @name equal + * @function + * @example equal( format( "Received {0} bytes.", 2), "Received 2 bytes.", "format() replaces {0} with next argument" ); + */ + equal: function( actual, expected, message ) { + /*jshint eqeqeq:false */ + QUnit.push( expected == actual, actual, expected, message ); + }, + + /** + * @name notEqual + * @function + */ + notEqual: function( actual, expected, message ) { + /*jshint eqeqeq:false */ + QUnit.push( expected != actual, actual, expected, message ); + }, + + /** + * @name propEqual + * @function + */ + propEqual: function( actual, expected, message ) { + actual = objectValues(actual); + expected = objectValues(expected); + QUnit.push( QUnit.equiv(actual, expected), actual, expected, message ); + }, + + /** + * @name notPropEqual + * @function + */ + notPropEqual: function( actual, expected, message ) { + actual = objectValues(actual); + expected = objectValues(expected); + QUnit.push( !QUnit.equiv(actual, expected), actual, expected, message ); + }, + + /** + * @name deepEqual + * @function + */ + deepEqual: function( actual, expected, message ) { + QUnit.push( QUnit.equiv(actual, expected), actual, expected, message ); + }, + + /** + * @name notDeepEqual + * @function + */ + notDeepEqual: function( actual, expected, message ) { + QUnit.push( !QUnit.equiv(actual, expected), actual, expected, message ); + }, + + /** + * @name strictEqual + * @function + */ + strictEqual: function( actual, expected, message ) { + QUnit.push( expected === actual, actual, expected, message ); + }, + + /** + * @name notStrictEqual + * @function + */ + notStrictEqual: function( actual, expected, message ) { + QUnit.push( expected !== actual, actual, expected, message ); + }, + + "throws": function( block, expected, message ) { + var actual, + expectedOutput = expected, + ok = false; + + // 'expected' is optional + if ( typeof expected === "string" ) { + message = expected; + expected = null; + } + + config.current.ignoreGlobalErrors = true; + try { + block.call( config.current.testEnvironment ); + } catch (e) { + actual = e; + } + config.current.ignoreGlobalErrors = false; + + if ( actual ) { + // we don't want to validate thrown error + if ( !expected ) { + ok = true; + expectedOutput = null; + // expected is a regexp + } else if ( QUnit.objectType( expected ) === "regexp" ) { + ok = expected.test( errorString( actual ) ); + // expected is a constructor + } else if ( actual instanceof expected ) { + ok = true; + // expected is a validation function which returns true is validation passed + } else if ( expected.call( {}, actual ) === true ) { + expectedOutput = null; + ok = true; + } + + QUnit.push( ok, actual, expectedOutput, message ); + } else { + QUnit.pushFailure( message, null, 'No exception was thrown.' ); + } + } +}; + +/** + * @deprecate since 1.8.0 + * Kept assertion helpers in root for backwards compatibility. + */ +extend( QUnit, assert ); + +/** + * @deprecated since 1.9.0 + * Kept root "raises()" for backwards compatibility. + * (Note that we don't introduce assert.raises). + */ +QUnit.raises = assert[ "throws" ]; + +/** + * @deprecated since 1.0.0, replaced with error pushes since 1.3.0 + * Kept to avoid TypeErrors for undefined methods. + */ +QUnit.equals = function() { + QUnit.push( false, false, false, "QUnit.equals has been deprecated since 2009 (e88049a0), use QUnit.equal instead" ); +}; +QUnit.same = function() { + QUnit.push( false, false, false, "QUnit.same has been deprecated since 2009 (e88049a0), use QUnit.deepEqual instead" ); +}; + +// We want access to the constructor's prototype +(function() { + function F() {} + F.prototype = QUnit; + QUnit = new F(); + // Make F QUnit's constructor so that we can add to the prototype later + QUnit.constructor = F; +}()); + +/** + * Config object: Maintain internal state + * Later exposed as QUnit.config + * `config` initialized at top of scope + */ +config = { + // The queue of tests to run + queue: [], + + // block until document ready + blocking: true, + + // when enabled, show only failing tests + // gets persisted through sessionStorage and can be changed in UI via checkbox + hidepassed: false, + + // by default, run previously failed tests first + // very useful in combination with "Hide passed tests" checked + reorder: true, + + // by default, modify document.title when suite is done + altertitle: true, + + // when enabled, all tests must call expect() + requireExpects: false, + + // add checkboxes that are persisted in the query-string + // when enabled, the id is set to `true` as a `QUnit.config` property + urlConfig: [ + { + id: "noglobals", + label: "Check for Globals", + tooltip: "Enabling this will test if any test introduces new properties on the `window` object. Stored as query-strings." + }, + { + id: "notrycatch", + label: "No try-catch", + tooltip: "Enabling this will run tests outside of a try-catch block. Makes debugging exceptions in IE reasonable. Stored as query-strings." + } + ], + + // Set of all modules. + modules: {}, + + // logging callback queues + begin: [], + done: [], + log: [], + testStart: [], + testDone: [], + moduleStart: [], + moduleDone: [] +}; + +// Export global variables, unless an 'exports' object exists, +// in that case we assume we're in CommonJS (dealt with on the bottom of the script) +if ( typeof exports === "undefined" ) { + extend( window, QUnit ); + + // Expose QUnit object + window.QUnit = QUnit; +} + +// Initialize more QUnit.config and QUnit.urlParams +(function() { + var i, + location = window.location || { search: "", protocol: "file:" }, + params = location.search.slice( 1 ).split( "&" ), + length = params.length, + urlParams = {}, + current; + + if ( params[ 0 ] ) { + for ( i = 0; i < length; i++ ) { + current = params[ i ].split( "=" ); + current[ 0 ] = decodeURIComponent( current[ 0 ] ); + // allow just a key to turn on a flag, e.g., test.html?noglobals + current[ 1 ] = current[ 1 ] ? decodeURIComponent( current[ 1 ] ) : true; + urlParams[ current[ 0 ] ] = current[ 1 ]; + } + } + + QUnit.urlParams = urlParams; + + // String search anywhere in moduleName+testName + config.filter = urlParams.filter; + + // Exact match of the module name + config.module = urlParams.module; + + config.testNumber = parseInt( urlParams.testNumber, 10 ) || null; + + // Figure out if we're running the tests from a server or not + QUnit.isLocal = location.protocol === "file:"; +}()); + +// Extend QUnit object, +// these after set here because they should not be exposed as global functions +extend( QUnit, { + assert: assert, + + config: config, + + // Initialize the configuration options + init: function() { + extend( config, { + stats: { all: 0, bad: 0 }, + moduleStats: { all: 0, bad: 0 }, + started: +new Date(), + updateRate: 1000, + blocking: false, + autostart: true, + autorun: false, + filter: "", + queue: [], + semaphore: 1 + }); + + var tests, banner, result, + qunit = id( "qunit" ); + + if ( qunit ) { + qunit.innerHTML = + "

    " + escapeText( document.title ) + "

    " + + "

    " + + "
    " + + "

    " + + "
      "; + } + + tests = id( "qunit-tests" ); + banner = id( "qunit-banner" ); + result = id( "qunit-testresult" ); + + if ( tests ) { + tests.innerHTML = ""; + } + + if ( banner ) { + banner.className = ""; + } + + if ( result ) { + result.parentNode.removeChild( result ); + } + + if ( tests ) { + result = document.createElement( "p" ); + result.id = "qunit-testresult"; + result.className = "result"; + tests.parentNode.insertBefore( result, tests ); + result.innerHTML = "Running...
       "; + } + }, + + // Resets the test setup. Useful for tests that modify the DOM. + reset: function() { + var fixture = id( "qunit-fixture" ); + if ( fixture ) { + fixture.innerHTML = config.fixture; + } + }, + + // Trigger an event on an element. + // @example triggerEvent( document.body, "click" ); + triggerEvent: function( elem, type, event ) { + if ( document.createEvent ) { + event = document.createEvent( "MouseEvents" ); + event.initMouseEvent(type, true, true, elem.ownerDocument.defaultView, + 0, 0, 0, 0, 0, false, false, false, false, 0, null); + + elem.dispatchEvent( event ); + } else if ( elem.fireEvent ) { + elem.fireEvent( "on" + type ); + } + }, + + // Safe object type checking + is: function( type, obj ) { + return QUnit.objectType( obj ) === type; + }, + + objectType: function( obj ) { + if ( typeof obj === "undefined" ) { + return "undefined"; + // consider: typeof null === object + } + if ( obj === null ) { + return "null"; + } + + var match = toString.call( obj ).match(/^\[object\s(.*)\]$/), + type = match && match[1] || ""; + + switch ( type ) { + case "Number": + if ( isNaN(obj) ) { + return "nan"; + } + return "number"; + case "String": + case "Boolean": + case "Array": + case "Date": + case "RegExp": + case "Function": + return type.toLowerCase(); + } + if ( typeof obj === "object" ) { + return "object"; + } + return undefined; + }, + + push: function( result, actual, expected, message ) { + if ( !config.current ) { + throw new Error( "assertion outside test context, was " + sourceFromStacktrace() ); + } + + var output, source, + details = { + module: config.current.module, + name: config.current.testName, + result: result, + message: message, + actual: actual, + expected: expected + }; + + message = escapeText( message ) || ( result ? "okay" : "failed" ); + message = "" + message + ""; + output = message; + + if ( !result ) { + expected = escapeText( QUnit.jsDump.parse(expected) ); + actual = escapeText( QUnit.jsDump.parse(actual) ); + output += ""; + + if ( actual !== expected ) { + output += ""; + output += ""; + } + + source = sourceFromStacktrace(); + + if ( source ) { + details.source = source; + output += ""; + } + + output += "
      Expected:
      " + expected + "
      Result:
      " + actual + "
      Diff:
      " + QUnit.diff( expected, actual ) + "
      Source:
      " + escapeText( source ) + "
      "; + } + + runLoggingCallbacks( "log", QUnit, details ); + + config.current.assertions.push({ + result: !!result, + message: output + }); + }, + + pushFailure: function( message, source, actual ) { + if ( !config.current ) { + throw new Error( "pushFailure() assertion outside test context, was " + sourceFromStacktrace(2) ); + } + + var output, + details = { + module: config.current.module, + name: config.current.testName, + result: false, + message: message + }; + + message = escapeText( message ) || "error"; + message = "" + message + ""; + output = message; + + output += ""; + + if ( actual ) { + output += ""; + } + + if ( source ) { + details.source = source; + output += ""; + } + + output += "
      Result:
      " + escapeText( actual ) + "
      Source:
      " + escapeText( source ) + "
      "; + + runLoggingCallbacks( "log", QUnit, details ); + + config.current.assertions.push({ + result: false, + message: output + }); + }, + + url: function( params ) { + params = extend( extend( {}, QUnit.urlParams ), params ); + var key, + querystring = "?"; + + for ( key in params ) { + if ( !hasOwn.call( params, key ) ) { + continue; + } + querystring += encodeURIComponent( key ) + "=" + + encodeURIComponent( params[ key ] ) + "&"; + } + return window.location.protocol + "//" + window.location.host + + window.location.pathname + querystring.slice( 0, -1 ); + }, + + extend: extend, + id: id, + addEvent: addEvent + // load, equiv, jsDump, diff: Attached later +}); + +/** + * @deprecated: Created for backwards compatibility with test runner that set the hook function + * into QUnit.{hook}, instead of invoking it and passing the hook function. + * QUnit.constructor is set to the empty F() above so that we can add to it's prototype here. + * Doing this allows us to tell if the following methods have been overwritten on the actual + * QUnit object. + */ +extend( QUnit.constructor.prototype, { + + // Logging callbacks; all receive a single argument with the listed properties + // run test/logs.html for any related changes + begin: registerLoggingCallback( "begin" ), + + // done: { failed, passed, total, runtime } + done: registerLoggingCallback( "done" ), + + // log: { result, actual, expected, message } + log: registerLoggingCallback( "log" ), + + // testStart: { name } + testStart: registerLoggingCallback( "testStart" ), + + // testDone: { name, failed, passed, total, duration } + testDone: registerLoggingCallback( "testDone" ), + + // moduleStart: { name } + moduleStart: registerLoggingCallback( "moduleStart" ), + + // moduleDone: { name, failed, passed, total } + moduleDone: registerLoggingCallback( "moduleDone" ) +}); + +if ( typeof document === "undefined" || document.readyState === "complete" ) { + config.autorun = true; +} + +QUnit.load = function() { + runLoggingCallbacks( "begin", QUnit, {} ); + + // Initialize the config, saving the execution queue + var banner, filter, i, label, len, main, ol, toolbar, userAgent, val, + urlConfigCheckboxesContainer, urlConfigCheckboxes, moduleFilter, + numModules = 0, + moduleFilterHtml = "", + urlConfigHtml = "", + oldconfig = extend( {}, config ); + + QUnit.init(); + extend(config, oldconfig); + + config.blocking = false; + + len = config.urlConfig.length; + + for ( i = 0; i < len; i++ ) { + val = config.urlConfig[i]; + if ( typeof val === "string" ) { + val = { + id: val, + label: val, + tooltip: "[no tooltip available]" + }; + } + config[ val.id ] = QUnit.urlParams[ val.id ]; + urlConfigHtml += ""; + } + + moduleFilterHtml += ""; + + // `userAgent` initialized at top of scope + userAgent = id( "qunit-userAgent" ); + if ( userAgent ) { + userAgent.innerHTML = navigator.userAgent; + } + + // `banner` initialized at top of scope + banner = id( "qunit-header" ); + if ( banner ) { + banner.innerHTML = "" + banner.innerHTML + " "; + } + + // `toolbar` initialized at top of scope + toolbar = id( "qunit-testrunner-toolbar" ); + if ( toolbar ) { + // `filter` initialized at top of scope + filter = document.createElement( "input" ); + filter.type = "checkbox"; + filter.id = "qunit-filter-pass"; + + addEvent( filter, "click", function() { + var tmp, + ol = document.getElementById( "qunit-tests" ); + + if ( filter.checked ) { + ol.className = ol.className + " hidepass"; + } else { + tmp = " " + ol.className.replace( /[\n\t\r]/g, " " ) + " "; + ol.className = tmp.replace( / hidepass /, " " ); + } + if ( defined.sessionStorage ) { + if (filter.checked) { + sessionStorage.setItem( "qunit-filter-passed-tests", "true" ); + } else { + sessionStorage.removeItem( "qunit-filter-passed-tests" ); + } + } + }); + + if ( config.hidepassed || defined.sessionStorage && sessionStorage.getItem( "qunit-filter-passed-tests" ) ) { + filter.checked = true; + // `ol` initialized at top of scope + ol = document.getElementById( "qunit-tests" ); + ol.className = ol.className + " hidepass"; + } + toolbar.appendChild( filter ); + + // `label` initialized at top of scope + label = document.createElement( "label" ); + label.setAttribute( "for", "qunit-filter-pass" ); + label.setAttribute( "title", "Only show tests and assertons that fail. Stored in sessionStorage." ); + label.innerHTML = "Hide passed tests"; + toolbar.appendChild( label ); + + urlConfigCheckboxesContainer = document.createElement("span"); + urlConfigCheckboxesContainer.innerHTML = urlConfigHtml; + urlConfigCheckboxes = urlConfigCheckboxesContainer.getElementsByTagName("input"); + // For oldIE support: + // * Add handlers to the individual elements instead of the container + // * Use "click" instead of "change" + // * Fallback from event.target to event.srcElement + addEvents( urlConfigCheckboxes, "click", function( event ) { + var params = {}, + target = event.target || event.srcElement; + params[ target.name ] = target.checked ? true : undefined; + window.location = QUnit.url( params ); + }); + toolbar.appendChild( urlConfigCheckboxesContainer ); + + if (numModules > 1) { + moduleFilter = document.createElement( 'span' ); + moduleFilter.setAttribute( 'id', 'qunit-modulefilter-container' ); + moduleFilter.innerHTML = moduleFilterHtml; + addEvent( moduleFilter.lastChild, "change", function() { + var selectBox = moduleFilter.getElementsByTagName("select")[0], + selectedModule = decodeURIComponent(selectBox.options[selectBox.selectedIndex].value); + + window.location = QUnit.url( { module: ( selectedModule === "" ) ? undefined : selectedModule } ); + }); + toolbar.appendChild(moduleFilter); + } + } + + // `main` initialized at top of scope + main = id( "qunit-fixture" ); + if ( main ) { + config.fixture = main.innerHTML; + } + + if ( config.autostart ) { + QUnit.start(); + } +}; + +addEvent( window, "load", QUnit.load ); + +// `onErrorFnPrev` initialized at top of scope +// Preserve other handlers +onErrorFnPrev = window.onerror; + +// Cover uncaught exceptions +// Returning true will surpress the default browser handler, +// returning false will let it run. +window.onerror = function ( error, filePath, linerNr ) { + var ret = false; + if ( onErrorFnPrev ) { + ret = onErrorFnPrev( error, filePath, linerNr ); + } + + // Treat return value as window.onerror itself does, + // Only do our handling if not surpressed. + if ( ret !== true ) { + if ( QUnit.config.current ) { + if ( QUnit.config.current.ignoreGlobalErrors ) { + return true; + } + QUnit.pushFailure( error, filePath + ":" + linerNr ); + } else { + QUnit.test( "global failure", extend( function() { + QUnit.pushFailure( error, filePath + ":" + linerNr ); + }, { validTest: validTest } ) ); + } + return false; + } + + return ret; +}; + +function done() { + config.autorun = true; + + // Log the last module results + if ( config.currentModule ) { + runLoggingCallbacks( "moduleDone", QUnit, { + name: config.currentModule, + failed: config.moduleStats.bad, + passed: config.moduleStats.all - config.moduleStats.bad, + total: config.moduleStats.all + }); + } + + var i, key, + banner = id( "qunit-banner" ), + tests = id( "qunit-tests" ), + runtime = +new Date() - config.started, + passed = config.stats.all - config.stats.bad, + html = [ + "Tests completed in ", + runtime, + " milliseconds.
      ", + "", + passed, + " assertions of ", + config.stats.all, + " passed, ", + config.stats.bad, + " failed." + ].join( "" ); + + if ( banner ) { + banner.className = ( config.stats.bad ? "qunit-fail" : "qunit-pass" ); + } + + if ( tests ) { + id( "qunit-testresult" ).innerHTML = html; + } + + if ( config.altertitle && typeof document !== "undefined" && document.title ) { + // show ✖ for good, ✔ for bad suite result in title + // use escape sequences in case file gets loaded with non-utf-8-charset + document.title = [ + ( config.stats.bad ? "\u2716" : "\u2714" ), + document.title.replace( /^[\u2714\u2716] /i, "" ) + ].join( " " ); + } + + // clear own sessionStorage items if all tests passed + if ( config.reorder && defined.sessionStorage && config.stats.bad === 0 ) { + // `key` & `i` initialized at top of scope + for ( i = 0; i < sessionStorage.length; i++ ) { + key = sessionStorage.key( i++ ); + if ( key.indexOf( "qunit-test-" ) === 0 ) { + sessionStorage.removeItem( key ); + } + } + } + + // scroll back to top to show results + if ( window.scrollTo ) { + window.scrollTo(0, 0); + } + + runLoggingCallbacks( "done", QUnit, { + failed: config.stats.bad, + passed: passed, + total: config.stats.all, + runtime: runtime + }); +} + +/** @return Boolean: true if this test should be ran */ +function validTest( test ) { + var include, + filter = config.filter && config.filter.toLowerCase(), + module = config.module && config.module.toLowerCase(), + fullName = (test.module + ": " + test.testName).toLowerCase(); + + // Internally-generated tests are always valid + if ( test.callback && test.callback.validTest === validTest ) { + delete test.callback.validTest; + return true; + } + + if ( config.testNumber ) { + return test.testNumber === config.testNumber; + } + + if ( module && ( !test.module || test.module.toLowerCase() !== module ) ) { + return false; + } + + if ( !filter ) { + return true; + } + + include = filter.charAt( 0 ) !== "!"; + if ( !include ) { + filter = filter.slice( 1 ); + } + + // If the filter matches, we need to honour include + if ( fullName.indexOf( filter ) !== -1 ) { + return include; + } + + // Otherwise, do the opposite + return !include; +} + +// so far supports only Firefox, Chrome and Opera (buggy), Safari (for real exceptions) +// Later Safari and IE10 are supposed to support error.stack as well +// See also https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error/Stack +function extractStacktrace( e, offset ) { + offset = offset === undefined ? 3 : offset; + + var stack, include, i; + + if ( e.stacktrace ) { + // Opera + return e.stacktrace.split( "\n" )[ offset + 3 ]; + } else if ( e.stack ) { + // Firefox, Chrome + stack = e.stack.split( "\n" ); + if (/^error$/i.test( stack[0] ) ) { + stack.shift(); + } + if ( fileName ) { + include = []; + for ( i = offset; i < stack.length; i++ ) { + if ( stack[ i ].indexOf( fileName ) !== -1 ) { + break; + } + include.push( stack[ i ] ); + } + if ( include.length ) { + return include.join( "\n" ); + } + } + return stack[ offset ]; + } else if ( e.sourceURL ) { + // Safari, PhantomJS + // hopefully one day Safari provides actual stacktraces + // exclude useless self-reference for generated Error objects + if ( /qunit.js$/.test( e.sourceURL ) ) { + return; + } + // for actual exceptions, this is useful + return e.sourceURL + ":" + e.line; + } +} +function sourceFromStacktrace( offset ) { + try { + throw new Error(); + } catch ( e ) { + return extractStacktrace( e, offset ); + } +} + +/** + * Escape text for attribute or text content. + */ +function escapeText( s ) { + if ( !s ) { + return ""; + } + s = s + ""; + // Both single quotes and double quotes (for attributes) + return s.replace( /['"<>&]/g, function( s ) { + switch( s ) { + case '\'': + return '''; + case '"': + return '"'; + case '<': + return '<'; + case '>': + return '>'; + case '&': + return '&'; + } + }); +} + +function synchronize( callback, last ) { + config.queue.push( callback ); + + if ( config.autorun && !config.blocking ) { + process( last ); + } +} + +function process( last ) { + function next() { + process( last ); + } + var start = new Date().getTime(); + config.depth = config.depth ? config.depth + 1 : 1; + + while ( config.queue.length && !config.blocking ) { + if ( !defined.setTimeout || config.updateRate <= 0 || ( ( new Date().getTime() - start ) < config.updateRate ) ) { + config.queue.shift()(); + } else { + window.setTimeout( next, 13 ); + break; + } + } + config.depth--; + if ( last && !config.blocking && !config.queue.length && config.depth === 0 ) { + done(); + } +} + +function saveGlobal() { + config.pollution = []; + + if ( config.noglobals ) { + for ( var key in window ) { + // in Opera sometimes DOM element ids show up here, ignore them + if ( !hasOwn.call( window, key ) || /^qunit-test-output/.test( key ) ) { + continue; + } + config.pollution.push( key ); + } + } +} + +function checkPollution() { + var newGlobals, + deletedGlobals, + old = config.pollution; + + saveGlobal(); + + newGlobals = diff( config.pollution, old ); + if ( newGlobals.length > 0 ) { + QUnit.pushFailure( "Introduced global variable(s): " + newGlobals.join(", ") ); + } + + deletedGlobals = diff( old, config.pollution ); + if ( deletedGlobals.length > 0 ) { + QUnit.pushFailure( "Deleted global variable(s): " + deletedGlobals.join(", ") ); + } +} + +// returns a new Array with the elements that are in a but not in b +function diff( a, b ) { + var i, j, + result = a.slice(); + + for ( i = 0; i < result.length; i++ ) { + for ( j = 0; j < b.length; j++ ) { + if ( result[i] === b[j] ) { + result.splice( i, 1 ); + i--; + break; + } + } + } + return result; +} + +function extend( a, b ) { + for ( var prop in b ) { + if ( b[ prop ] === undefined ) { + delete a[ prop ]; + + // Avoid "Member not found" error in IE8 caused by setting window.constructor + } else if ( prop !== "constructor" || a !== window ) { + a[ prop ] = b[ prop ]; + } + } + + return a; +} + +/** + * @param {HTMLElement} elem + * @param {string} type + * @param {Function} fn + */ +function addEvent( elem, type, fn ) { + // Standards-based browsers + if ( elem.addEventListener ) { + elem.addEventListener( type, fn, false ); + // IE + } else { + elem.attachEvent( "on" + type, fn ); + } +} + +/** + * @param {Array|NodeList} elems + * @param {string} type + * @param {Function} fn + */ +function addEvents( elems, type, fn ) { + var i = elems.length; + while ( i-- ) { + addEvent( elems[i], type, fn ); + } +} + +function hasClass( elem, name ) { + return (" " + elem.className + " ").indexOf(" " + name + " ") > -1; +} + +function addClass( elem, name ) { + if ( !hasClass( elem, name ) ) { + elem.className += (elem.className ? " " : "") + name; + } +} + +function removeClass( elem, name ) { + var set = " " + elem.className + " "; + // Class name may appear multiple times + while ( set.indexOf(" " + name + " ") > -1 ) { + set = set.replace(" " + name + " " , " "); + } + // If possible, trim it for prettiness, but not neccecarily + elem.className = window.jQuery ? jQuery.trim( set ) : ( set.trim ? set.trim() : set ); +} + +function id( name ) { + return !!( typeof document !== "undefined" && document && document.getElementById ) && + document.getElementById( name ); +} + +function registerLoggingCallback( key ) { + return function( callback ) { + config[key].push( callback ); + }; +} + +// Supports deprecated method of completely overwriting logging callbacks +function runLoggingCallbacks( key, scope, args ) { + var i, callbacks; + if ( QUnit.hasOwnProperty( key ) ) { + QUnit[ key ].call(scope, args ); + } else { + callbacks = config[ key ]; + for ( i = 0; i < callbacks.length; i++ ) { + callbacks[ i ].call( scope, args ); + } + } +} + +// Test for equality any JavaScript type. +// Author: Philippe Rathé +QUnit.equiv = (function() { + + // Call the o related callback with the given arguments. + function bindCallbacks( o, callbacks, args ) { + var prop = QUnit.objectType( o ); + if ( prop ) { + if ( QUnit.objectType( callbacks[ prop ] ) === "function" ) { + return callbacks[ prop ].apply( callbacks, args ); + } else { + return callbacks[ prop ]; // or undefined + } + } + } + + // the real equiv function + var innerEquiv, + // stack to decide between skip/abort functions + callers = [], + // stack to avoiding loops from circular referencing + parents = [], + + getProto = Object.getPrototypeOf || function ( obj ) { + return obj.__proto__; + }, + callbacks = (function () { + + // for string, boolean, number and null + function useStrictEquality( b, a ) { + /*jshint eqeqeq:false */ + if ( b instanceof a.constructor || a instanceof b.constructor ) { + // to catch short annotaion VS 'new' annotation of a + // declaration + // e.g. var i = 1; + // var j = new Number(1); + return a == b; + } else { + return a === b; + } + } + + return { + "string": useStrictEquality, + "boolean": useStrictEquality, + "number": useStrictEquality, + "null": useStrictEquality, + "undefined": useStrictEquality, + + "nan": function( b ) { + return isNaN( b ); + }, + + "date": function( b, a ) { + return QUnit.objectType( b ) === "date" && a.valueOf() === b.valueOf(); + }, + + "regexp": function( b, a ) { + return QUnit.objectType( b ) === "regexp" && + // the regex itself + a.source === b.source && + // and its modifers + a.global === b.global && + // (gmi) ... + a.ignoreCase === b.ignoreCase && + a.multiline === b.multiline && + a.sticky === b.sticky; + }, + + // - skip when the property is a method of an instance (OOP) + // - abort otherwise, + // initial === would have catch identical references anyway + "function": function() { + var caller = callers[callers.length - 1]; + return caller !== Object && typeof caller !== "undefined"; + }, + + "array": function( b, a ) { + var i, j, len, loop; + + // b could be an object literal here + if ( QUnit.objectType( b ) !== "array" ) { + return false; + } + + len = a.length; + if ( len !== b.length ) { + // safe and faster + return false; + } + + // track reference to avoid circular references + parents.push( a ); + for ( i = 0; i < len; i++ ) { + loop = false; + for ( j = 0; j < parents.length; j++ ) { + if ( parents[j] === a[i] ) { + loop = true;// dont rewalk array + } + } + if ( !loop && !innerEquiv(a[i], b[i]) ) { + parents.pop(); + return false; + } + } + parents.pop(); + return true; + }, + + "object": function( b, a ) { + var i, j, loop, + // Default to true + eq = true, + aProperties = [], + bProperties = []; + + // comparing constructors is more strict than using + // instanceof + if ( a.constructor !== b.constructor ) { + // Allow objects with no prototype to be equivalent to + // objects with Object as their constructor. + if ( !(( getProto(a) === null && getProto(b) === Object.prototype ) || + ( getProto(b) === null && getProto(a) === Object.prototype ) ) ) { + return false; + } + } + + // stack constructor before traversing properties + callers.push( a.constructor ); + // track reference to avoid circular references + parents.push( a ); + + for ( i in a ) { // be strict: don't ensures hasOwnProperty + // and go deep + loop = false; + for ( j = 0; j < parents.length; j++ ) { + if ( parents[j] === a[i] ) { + // don't go down the same path twice + loop = true; + } + } + aProperties.push(i); // collect a's properties + + if (!loop && !innerEquiv( a[i], b[i] ) ) { + eq = false; + break; + } + } + + callers.pop(); // unstack, we are done + parents.pop(); + + for ( i in b ) { + bProperties.push( i ); // collect b's properties + } + + // Ensures identical properties name + return eq && innerEquiv( aProperties.sort(), bProperties.sort() ); + } + }; + }()); + + innerEquiv = function() { // can take multiple arguments + var args = [].slice.apply( arguments ); + if ( args.length < 2 ) { + return true; // end transition + } + + return (function( a, b ) { + if ( a === b ) { + return true; // catch the most you can + } else if ( a === null || b === null || typeof a === "undefined" || + typeof b === "undefined" || + QUnit.objectType(a) !== QUnit.objectType(b) ) { + return false; // don't lose time with error prone cases + } else { + return bindCallbacks(a, callbacks, [ b, a ]); + } + + // apply transition with (1..n) arguments + }( args[0], args[1] ) && arguments.callee.apply( this, args.splice(1, args.length - 1 )) ); + }; + + return innerEquiv; +}()); + +/** + * jsDump Copyright (c) 2008 Ariel Flesler - aflesler(at)gmail(dot)com | + * http://flesler.blogspot.com Licensed under BSD + * (http://www.opensource.org/licenses/bsd-license.php) Date: 5/15/2008 + * + * @projectDescription Advanced and extensible data dumping for Javascript. + * @version 1.0.0 + * @author Ariel Flesler + * @link {http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html} + */ +QUnit.jsDump = (function() { + function quote( str ) { + return '"' + str.toString().replace( /"/g, '\\"' ) + '"'; + } + function literal( o ) { + return o + ""; + } + function join( pre, arr, post ) { + var s = jsDump.separator(), + base = jsDump.indent(), + inner = jsDump.indent(1); + if ( arr.join ) { + arr = arr.join( "," + s + inner ); + } + if ( !arr ) { + return pre + post; + } + return [ pre, inner + arr, base + post ].join(s); + } + function array( arr, stack ) { + var i = arr.length, ret = new Array(i); + this.up(); + while ( i-- ) { + ret[i] = this.parse( arr[i] , undefined , stack); + } + this.down(); + return join( "[", ret, "]" ); + } + + var reName = /^function (\w+)/, + jsDump = { + // type is used mostly internally, you can fix a (custom)type in advance + parse: function( obj, type, stack ) { + stack = stack || [ ]; + var inStack, res, + parser = this.parsers[ type || this.typeOf(obj) ]; + + type = typeof parser; + inStack = inArray( obj, stack ); + + if ( inStack !== -1 ) { + return "recursion(" + (inStack - stack.length) + ")"; + } + if ( type === "function" ) { + stack.push( obj ); + res = parser.call( this, obj, stack ); + stack.pop(); + return res; + } + return ( type === "string" ) ? parser : this.parsers.error; + }, + typeOf: function( obj ) { + var type; + if ( obj === null ) { + type = "null"; + } else if ( typeof obj === "undefined" ) { + type = "undefined"; + } else if ( QUnit.is( "regexp", obj) ) { + type = "regexp"; + } else if ( QUnit.is( "date", obj) ) { + type = "date"; + } else if ( QUnit.is( "function", obj) ) { + type = "function"; + } else if ( typeof obj.setInterval !== undefined && typeof obj.document !== "undefined" && typeof obj.nodeType === "undefined" ) { + type = "window"; + } else if ( obj.nodeType === 9 ) { + type = "document"; + } else if ( obj.nodeType ) { + type = "node"; + } else if ( + // native arrays + toString.call( obj ) === "[object Array]" || + // NodeList objects + ( typeof obj.length === "number" && typeof obj.item !== "undefined" && ( obj.length ? obj.item(0) === obj[0] : ( obj.item( 0 ) === null && typeof obj[0] === "undefined" ) ) ) + ) { + type = "array"; + } else if ( obj.constructor === Error.prototype.constructor ) { + type = "error"; + } else { + type = typeof obj; + } + return type; + }, + separator: function() { + return this.multiline ? this.HTML ? "
      " : "\n" : this.HTML ? " " : " "; + }, + // extra can be a number, shortcut for increasing-calling-decreasing + indent: function( extra ) { + if ( !this.multiline ) { + return ""; + } + var chr = this.indentChar; + if ( this.HTML ) { + chr = chr.replace( /\t/g, " " ).replace( / /g, " " ); + } + return new Array( this._depth_ + (extra||0) ).join(chr); + }, + up: function( a ) { + this._depth_ += a || 1; + }, + down: function( a ) { + this._depth_ -= a || 1; + }, + setParser: function( name, parser ) { + this.parsers[name] = parser; + }, + // The next 3 are exposed so you can use them + quote: quote, + literal: literal, + join: join, + // + _depth_: 1, + // This is the list of parsers, to modify them, use jsDump.setParser + parsers: { + window: "[Window]", + document: "[Document]", + error: function(error) { + return "Error(\"" + error.message + "\")"; + }, + unknown: "[Unknown]", + "null": "null", + "undefined": "undefined", + "function": function( fn ) { + var ret = "function", + // functions never have name in IE + name = "name" in fn ? fn.name : (reName.exec(fn) || [])[1]; + + if ( name ) { + ret += " " + name; + } + ret += "( "; + + ret = [ ret, QUnit.jsDump.parse( fn, "functionArgs" ), "){" ].join( "" ); + return join( ret, QUnit.jsDump.parse(fn,"functionCode" ), "}" ); + }, + array: array, + nodelist: array, + "arguments": array, + object: function( map, stack ) { + var ret = [ ], keys, key, val, i; + QUnit.jsDump.up(); + keys = []; + for ( key in map ) { + keys.push( key ); + } + keys.sort(); + for ( i = 0; i < keys.length; i++ ) { + key = keys[ i ]; + val = map[ key ]; + ret.push( QUnit.jsDump.parse( key, "key" ) + ": " + QUnit.jsDump.parse( val, undefined, stack ) ); + } + QUnit.jsDump.down(); + return join( "{", ret, "}" ); + }, + node: function( node ) { + var len, i, val, + open = QUnit.jsDump.HTML ? "<" : "<", + close = QUnit.jsDump.HTML ? ">" : ">", + tag = node.nodeName.toLowerCase(), + ret = open + tag, + attrs = node.attributes; + + if ( attrs ) { + for ( i = 0, len = attrs.length; i < len; i++ ) { + val = attrs[i].nodeValue; + // IE6 includes all attributes in .attributes, even ones not explicitly set. + // Those have values like undefined, null, 0, false, "" or "inherit". + if ( val && val !== "inherit" ) { + ret += " " + attrs[i].nodeName + "=" + QUnit.jsDump.parse( val, "attribute" ); + } + } + } + ret += close; + + // Show content of TextNode or CDATASection + if ( node.nodeType === 3 || node.nodeType === 4 ) { + ret += node.nodeValue; + } + + return ret + open + "/" + tag + close; + }, + // function calls it internally, it's the arguments part of the function + functionArgs: function( fn ) { + var args, + l = fn.length; + + if ( !l ) { + return ""; + } + + args = new Array(l); + while ( l-- ) { + // 97 is 'a' + args[l] = String.fromCharCode(97+l); + } + return " " + args.join( ", " ) + " "; + }, + // object calls it internally, the key part of an item in a map + key: quote, + // function calls it internally, it's the content of the function + functionCode: "[code]", + // node calls it internally, it's an html attribute value + attribute: quote, + string: quote, + date: quote, + regexp: literal, + number: literal, + "boolean": literal + }, + // if true, entities are escaped ( <, >, \t, space and \n ) + HTML: false, + // indentation unit + indentChar: " ", + // if true, items in a collection, are separated by a \n, else just a space. + multiline: true + }; + + return jsDump; +}()); + +// from jquery.js +function inArray( elem, array ) { + if ( array.indexOf ) { + return array.indexOf( elem ); + } + + for ( var i = 0, length = array.length; i < length; i++ ) { + if ( array[ i ] === elem ) { + return i; + } + } + + return -1; +} + +/* + * Javascript Diff Algorithm + * By John Resig (http://ejohn.org/) + * Modified by Chu Alan "sprite" + * + * Released under the MIT license. + * + * More Info: + * http://ejohn.org/projects/javascript-diff-algorithm/ + * + * Usage: QUnit.diff(expected, actual) + * + * QUnit.diff( "the quick brown fox jumped over", "the quick fox jumps over" ) == "the quick brown fox jumped jumps over" + */ +QUnit.diff = (function() { + /*jshint eqeqeq:false, eqnull:true */ + function diff( o, n ) { + var i, + ns = {}, + os = {}; + + for ( i = 0; i < n.length; i++ ) { + if ( !hasOwn.call( ns, n[i] ) ) { + ns[ n[i] ] = { + rows: [], + o: null + }; + } + ns[ n[i] ].rows.push( i ); + } + + for ( i = 0; i < o.length; i++ ) { + if ( !hasOwn.call( os, o[i] ) ) { + os[ o[i] ] = { + rows: [], + n: null + }; + } + os[ o[i] ].rows.push( i ); + } + + for ( i in ns ) { + if ( !hasOwn.call( ns, i ) ) { + continue; + } + if ( ns[i].rows.length === 1 && hasOwn.call( os, i ) && os[i].rows.length === 1 ) { + n[ ns[i].rows[0] ] = { + text: n[ ns[i].rows[0] ], + row: os[i].rows[0] + }; + o[ os[i].rows[0] ] = { + text: o[ os[i].rows[0] ], + row: ns[i].rows[0] + }; + } + } + + for ( i = 0; i < n.length - 1; i++ ) { + if ( n[i].text != null && n[ i + 1 ].text == null && n[i].row + 1 < o.length && o[ n[i].row + 1 ].text == null && + n[ i + 1 ] == o[ n[i].row + 1 ] ) { + + n[ i + 1 ] = { + text: n[ i + 1 ], + row: n[i].row + 1 + }; + o[ n[i].row + 1 ] = { + text: o[ n[i].row + 1 ], + row: i + 1 + }; + } + } + + for ( i = n.length - 1; i > 0; i-- ) { + if ( n[i].text != null && n[ i - 1 ].text == null && n[i].row > 0 && o[ n[i].row - 1 ].text == null && + n[ i - 1 ] == o[ n[i].row - 1 ]) { + + n[ i - 1 ] = { + text: n[ i - 1 ], + row: n[i].row - 1 + }; + o[ n[i].row - 1 ] = { + text: o[ n[i].row - 1 ], + row: i - 1 + }; + } + } + + return { + o: o, + n: n + }; + } + + return function( o, n ) { + o = o.replace( /\s+$/, "" ); + n = n.replace( /\s+$/, "" ); + + var i, pre, + str = "", + out = diff( o === "" ? [] : o.split(/\s+/), n === "" ? [] : n.split(/\s+/) ), + oSpace = o.match(/\s+/g), + nSpace = n.match(/\s+/g); + + if ( oSpace == null ) { + oSpace = [ " " ]; + } + else { + oSpace.push( " " ); + } + + if ( nSpace == null ) { + nSpace = [ " " ]; + } + else { + nSpace.push( " " ); + } + + if ( out.n.length === 0 ) { + for ( i = 0; i < out.o.length; i++ ) { + str += "" + out.o[i] + oSpace[i] + ""; + } + } + else { + if ( out.n[0].text == null ) { + for ( n = 0; n < out.o.length && out.o[n].text == null; n++ ) { + str += "" + out.o[n] + oSpace[n] + ""; + } + } + + for ( i = 0; i < out.n.length; i++ ) { + if (out.n[i].text == null) { + str += "" + out.n[i] + nSpace[i] + ""; + } + else { + // `pre` initialized at top of scope + pre = ""; + + for ( n = out.n[i].row + 1; n < out.o.length && out.o[n].text == null; n++ ) { + pre += "" + out.o[n] + oSpace[n] + ""; + } + str += " " + out.n[i].text + nSpace[i] + pre; + } + } + } + + return str; + }; +}()); + +// for CommonJS enviroments, export everything +if ( typeof exports !== "undefined" ) { + extend( exports, QUnit ); +} + +// get at whatever the global object is, like window in browsers +}( (function() {return this;}.call()) )); diff --git a/97suifangqa/staticfiles/plugins/jquery-ui/jquery-1.9.1.js b/97suifangqa/staticfiles/plugins/jquery-ui/jquery-1.9.1.js new file mode 100644 index 0000000..e2c203f --- /dev/null +++ b/97suifangqa/staticfiles/plugins/jquery-ui/jquery-1.9.1.js @@ -0,0 +1,9597 @@ +/*! + * jQuery JavaScript Library v1.9.1 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2013-2-4 + */ +(function( window, undefined ) { + +// Can't do this because several apps including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +// Support: Firefox 18+ +//"use strict"; +var + // The deferred used on DOM ready + readyList, + + // A central reference to the root jQuery(document) + rootjQuery, + + // Support: IE<9 + // For `typeof node.method` instead of `node.method !== undefined` + core_strundefined = typeof undefined, + + // Use the correct document accordingly with window argument (sandbox) + document = window.document, + location = window.location, + + // Map over jQuery in case of overwrite + _jQuery = window.jQuery, + + // Map over the $ in case of overwrite + _$ = window.$, + + // [[Class]] -> type pairs + class2type = {}, + + // List of deleted data cache ids, so we can reuse them + core_deletedIds = [], + + core_version = "1.9.1", + + // Save a reference to some core methods + core_concat = core_deletedIds.concat, + core_push = core_deletedIds.push, + core_slice = core_deletedIds.slice, + core_indexOf = core_deletedIds.indexOf, + core_toString = class2type.toString, + core_hasOwn = class2type.hasOwnProperty, + core_trim = core_version.trim, + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + // The jQuery object is actually just the init constructor 'enhanced' + return new jQuery.fn.init( selector, context, rootjQuery ); + }, + + // Used for matching numbers + core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, + + // Used for splitting on whitespace + core_rnotwhite = /\S+/g, + + // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + // Match a standalone tag + rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, + + // JSON RegExp + rvalidchars = /^[\],:{}\s]*$/, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, + rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }, + + // The ready event handler + completed = function( event ) { + + // readyState === "complete" is good enough for us to call the dom ready in oldIE + if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { + detach(); + jQuery.ready(); + } + }, + // Clean-up method for dom ready events + detach = function() { + if ( document.addEventListener ) { + document.removeEventListener( "DOMContentLoaded", completed, false ); + window.removeEventListener( "load", completed, false ); + + } else { + document.detachEvent( "onreadystatechange", completed ); + window.detachEvent( "onload", completed ); + } + }; + +jQuery.fn = jQuery.prototype = { + // The current version of jQuery being used + jquery: core_version, + + constructor: jQuery, + init: function( selector, context, rootjQuery ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && (match[1] || !context) ) { + + // HANDLE: $(html) -> $(array) + if ( match[1] ) { + context = context instanceof jQuery ? context[0] : context; + + // scripts is true for back-compat + jQuery.merge( this, jQuery.parseHTML( + match[1], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[2] ); + + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE and Opera return items + // by name instead of ID + if ( elem.id !== match[2] ) { + return rootjQuery.find( selector ); + } + + // Otherwise, we inject the element directly into the jQuery object + this.length = 1; + this[0] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || rootjQuery ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[0] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return rootjQuery.ready( selector ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + // The number of elements contained in the matched element set + size: function() { + return this.length; + }, + + toArray: function() { + return core_slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num == null ? + + // Return a 'clean' array + this.toArray() : + + // Return just the object + ( num < 0 ? this[ this.length + num ] : this[ num ] ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + // (You can seed the arguments with an array of args, but this is + // only used internally.) + each: function( callback, args ) { + return jQuery.each( this, callback, args ); + }, + + ready: function( fn ) { + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; + }, + + slice: function() { + return this.pushStack( core_slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map(this, function( elem, i ) { + return callback.call( elem, i, elem ); + })); + }, + + end: function() { + return this.prevObject || this.constructor(null); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: core_push, + sort: [].sort, + splice: [].splice +}; + +// Give the init function the jQuery prototype for later instantiation +jQuery.fn.init.prototype = jQuery.fn; + +jQuery.extend = jQuery.fn.extend = function() { + var src, copyIsArray, copy, name, options, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction(target) ) { + target = {}; + } + + // extend jQuery itself if only one argument is passed + if ( length === i ) { + target = this; + --i; + } + + for ( ; i < length; i++ ) { + // Only deal with non-null/undefined values + if ( (options = arguments[ i ]) != null ) { + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray(src) ? src : []; + + } else { + clone = src && jQuery.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend({ + noConflict: function( deep ) { + if ( window.$ === jQuery ) { + window.$ = _$; + } + + if ( deep && window.jQuery === jQuery ) { + window.jQuery = _jQuery; + } + + return jQuery; + }, + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). + if ( !document.body ) { + return setTimeout( jQuery.ready ); + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.trigger ) { + jQuery( document ).trigger("ready").off("ready"); + } + }, + + // See test/unit/core.js for details concerning isFunction. + // Since version 1.3, DOM methods and functions like alert + // aren't supported. They return false on IE (#2968). + isFunction: function( obj ) { + return jQuery.type(obj) === "function"; + }, + + isArray: Array.isArray || function( obj ) { + return jQuery.type(obj) === "array"; + }, + + isWindow: function( obj ) { + return obj != null && obj == obj.window; + }, + + isNumeric: function( obj ) { + return !isNaN( parseFloat(obj) ) && isFinite( obj ); + }, + + type: function( obj ) { + if ( obj == null ) { + return String( obj ); + } + return typeof obj === "object" || typeof obj === "function" ? + class2type[ core_toString.call(obj) ] || "object" : + typeof obj; + }, + + isPlainObject: function( obj ) { + // Must be an Object. + // Because of IE, we also have to check the presence of the constructor property. + // Make sure that DOM nodes and window objects don't pass through, as well + if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + try { + // Not own constructor property must be Object + if ( obj.constructor && + !core_hasOwn.call(obj, "constructor") && + !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { + return false; + } + } catch ( e ) { + // IE8,9 Will throw exceptions on certain host objects #9897 + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + + var key; + for ( key in obj ) {} + + return key === undefined || core_hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + error: function( msg ) { + throw new Error( msg ); + }, + + // data: string of html + // context (optional): If specified, the fragment will be created in this context, defaults to document + // keepScripts (optional): If true, will include scripts passed in the html string + parseHTML: function( data, context, keepScripts ) { + if ( !data || typeof data !== "string" ) { + return null; + } + if ( typeof context === "boolean" ) { + keepScripts = context; + context = false; + } + context = context || document; + + var parsed = rsingleTag.exec( data ), + scripts = !keepScripts && []; + + // Single tag + if ( parsed ) { + return [ context.createElement( parsed[1] ) ]; + } + + parsed = jQuery.buildFragment( [ data ], context, scripts ); + if ( scripts ) { + jQuery( scripts ).remove(); + } + return jQuery.merge( [], parsed.childNodes ); + }, + + parseJSON: function( data ) { + // Attempt to parse using the native JSON parser first + if ( window.JSON && window.JSON.parse ) { + return window.JSON.parse( data ); + } + + if ( data === null ) { + return data; + } + + if ( typeof data === "string" ) { + + // Make sure leading/trailing whitespace is removed (IE can't handle it) + data = jQuery.trim( data ); + + if ( data ) { + // Make sure the incoming data is actual JSON + // Logic borrowed from http://json.org/json2.js + if ( rvalidchars.test( data.replace( rvalidescape, "@" ) + .replace( rvalidtokens, "]" ) + .replace( rvalidbraces, "")) ) { + + return ( new Function( "return " + data ) )(); + } + } + } + + jQuery.error( "Invalid JSON: " + data ); + }, + + // Cross-browser xml parsing + parseXML: function( data ) { + var xml, tmp; + if ( !data || typeof data !== "string" ) { + return null; + } + try { + if ( window.DOMParser ) { // Standard + tmp = new DOMParser(); + xml = tmp.parseFromString( data , "text/xml" ); + } else { // IE + xml = new ActiveXObject( "Microsoft.XMLDOM" ); + xml.async = "false"; + xml.loadXML( data ); + } + } catch( e ) { + xml = undefined; + } + if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { + jQuery.error( "Invalid XML: " + data ); + } + return xml; + }, + + noop: function() {}, + + // Evaluates a script in a global context + // Workarounds based on findings by Jim Driscoll + // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context + globalEval: function( data ) { + if ( data && jQuery.trim( data ) ) { + // We use execScript on Internet Explorer + // We use an anonymous function so that context is window + // rather than jQuery in Firefox + ( window.execScript || function( data ) { + window[ "eval" ].call( window, data ); + } )( data ); + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + // args is for internal usage only + each: function( obj, callback, args ) { + var value, + i = 0, + length = obj.length, + isArray = isArraylike( obj ); + + if ( args ) { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.apply( obj[ i ], args ); + + if ( value === false ) { + break; + } + } + } + + // A special, fast, case for the most common use of each + } else { + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } else { + for ( i in obj ) { + value = callback.call( obj[ i ], i, obj[ i ] ); + + if ( value === false ) { + break; + } + } + } + } + + return obj; + }, + + // Use native String.trim function wherever possible + trim: core_trim && !core_trim.call("\uFEFF\xA0") ? + function( text ) { + return text == null ? + "" : + core_trim.call( text ); + } : + + // Otherwise use our own trimming functionality + function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArraylike( Object(arr) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + core_push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + var len; + + if ( arr ) { + if ( core_indexOf ) { + return core_indexOf.call( arr, elem, i ); + } + + len = arr.length; + i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; + + for ( ; i < len; i++ ) { + // Skip accessing in sparse arrays + if ( i in arr && arr[ i ] === elem ) { + return i; + } + } + } + + return -1; + }, + + merge: function( first, second ) { + var l = second.length, + i = first.length, + j = 0; + + if ( typeof l === "number" ) { + for ( ; j < l; j++ ) { + first[ i++ ] = second[ j ]; + } + } else { + while ( second[j] !== undefined ) { + first[ i++ ] = second[ j++ ]; + } + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, inv ) { + var retVal, + ret = [], + i = 0, + length = elems.length; + inv = !!inv; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + retVal = !!callback( elems[ i ], i ); + if ( inv !== retVal ) { + ret.push( elems[ i ] ); + } + } + + return ret; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var value, + i = 0, + length = elems.length, + isArray = isArraylike( elems ), + ret = []; + + // Go through the array, translating each of the items to their + if ( isArray ) { + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret[ ret.length ] = value; + } + } + } + + // Flatten any nested arrays + return core_concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var args, proxy, tmp; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = core_slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + // Multifunctional method to get and set values of a collection + // The value/s can optionally be executed if it's a function + access: function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + length = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < length; i++ ) { + fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + length ? fn( elems[0], key ) : emptyGet; + }, + + now: function() { + return ( new Date() ).getTime(); + } +}); + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called after the browser event has already occurred. + // we once tried to use readyState "interactive" here, but it caused issues like the one + // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 + if ( document.readyState === "complete" ) { + // Handle it asynchronously to allow scripts the opportunity to delay ready + setTimeout( jQuery.ready ); + + // Standards-based browsers support DOMContentLoaded + } else if ( document.addEventListener ) { + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed, false ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed, false ); + + // If IE event model is used + } else { + // Ensure firing before onload, maybe late but safe also for iframes + document.attachEvent( "onreadystatechange", completed ); + + // A fallback to window.onload, that will always work + window.attachEvent( "onload", completed ); + + // If IE and not a frame + // continually check to see if the document is ready + var top = false; + + try { + top = window.frameElement == null && document.documentElement; + } catch(e) {} + + if ( top && top.doScroll ) { + (function doScrollCheck() { + if ( !jQuery.isReady ) { + + try { + // Use the trick by Diego Perini + // http://javascript.nwbox.com/IEContentLoaded/ + top.doScroll("left"); + } catch(e) { + return setTimeout( doScrollCheck, 50 ); + } + + // detach all dom ready events + detach(); + + // and execute any waiting functions + jQuery.ready(); + } + })(); + } + } + } + return readyList.promise( obj ); +}; + +// Populate the class2type map +jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +}); + +function isArraylike( obj ) { + var length = obj.length, + type = jQuery.type( obj ); + + if ( jQuery.isWindow( obj ) ) { + return false; + } + + if ( obj.nodeType === 1 && length ) { + return true; + } + + return type === "array" || type !== "function" && + ( length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj ); +} + +// All jQuery objects should point back to these +rootjQuery = jQuery(document); +// String to Object options format cache +var optionsCache = {}; + +// Convert String-formatted options into Object-formatted ones and store in cache +function createOptions( options ) { + var object = optionsCache[ options ] = {}; + jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + }); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + ( optionsCache[ options ] || createOptions( options ) ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + // Last fire value (for non-forgettable lists) + memory, + // Flag to know if list was already fired + fired, + // End of the loop when firing + firingLength, + // Index of currently firing callback (modified by remove if needed) + firingIndex, + // First callback to fire (used internally by add and fireWith) + firingStart, + // Actual callback list + list = [], + // Stack of fire calls for repeatable lists + stack = !options.once && [], + // Fire callbacks + fire = function( data ) { + memory = options.memory && data; + fired = true; + firingIndex = firingStart || 0; + firingStart = 0; + firingLength = list.length; + firing = true; + for ( ; list && firingIndex < firingLength; firingIndex++ ) { + if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { + memory = false; // To prevent further calls using add + break; + } + } + firing = false; + if ( list ) { + if ( stack ) { + if ( stack.length ) { + fire( stack.shift() ); + } + } else if ( memory ) { + list = []; + } else { + self.disable(); + } + } + }, + // Actual Callbacks object + self = { + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + // First, we save the current length + var start = list.length; + (function add( args ) { + jQuery.each( args, function( _, arg ) { + var type = jQuery.type( arg ); + if ( type === "function" ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && type !== "string" ) { + // Inspect recursively + add( arg ); + } + }); + })( arguments ); + // Do we need to add the callbacks to the + // current firing batch? + if ( firing ) { + firingLength = list.length; + // With memory, if we're not firing then + // we should call right away + } else if ( memory ) { + firingStart = start; + fire( memory ); + } + } + return this; + }, + // Remove a callback from the list + remove: function() { + if ( list ) { + jQuery.each( arguments, function( _, arg ) { + var index; + while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + // Handle firing indexes + if ( firing ) { + if ( index <= firingLength ) { + firingLength--; + } + if ( index <= firingIndex ) { + firingIndex--; + } + } + } + }); + } + return this; + }, + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); + }, + // Remove all callbacks from the list + empty: function() { + list = []; + return this; + }, + // Have the list do nothing anymore + disable: function() { + list = stack = memory = undefined; + return this; + }, + // Is it disabled? + disabled: function() { + return !list; + }, + // Lock the list in its current state + lock: function() { + stack = undefined; + if ( !memory ) { + self.disable(); + } + return this; + }, + // Is it locked? + locked: function() { + return !stack; + }, + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + if ( list && ( !fired || stack ) ) { + if ( firing ) { + stack.push( args ); + } else { + fire( args ); + } + } + return this; + }, + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; +jQuery.extend({ + + Deferred: function( func ) { + var tuples = [ + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], + [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], + [ "notify", "progress", jQuery.Callbacks("memory") ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred(function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var action = tuple[ 0 ], + fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[1] ](function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .done( newDefer.resolve ) + .fail( newDefer.reject ) + .progress( newDefer.notify ); + } else { + newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); + } + }); + }); + fns = null; + }).promise(); + }, + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[1] ] = list.add; + + // Handle state + if ( stateString ) { + list.add(function() { + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[0] ] = function() { + deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[0] + "With" ] = list.fireWith; + }); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = core_slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; + if( values === progressValues ) { + deferred.notifyWith( contexts, values ); + } else if ( !( --remaining ) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ) + .progress( updateFunc( i, progressContexts, progressValues ) ); + } else { + --remaining; + } + } + } + + // if we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +}); +jQuery.support = (function() { + + var support, all, a, + input, select, fragment, + opt, eventName, isSupported, i, + div = document.createElement("div"); + + // Setup + div.setAttribute( "className", "t" ); + div.innerHTML = "
      a"; + + // Support tests won't run in some limited or non-browser environments + all = div.getElementsByTagName("*"); + a = div.getElementsByTagName("a")[ 0 ]; + if ( !all || !a || !all.length ) { + return {}; + } + + // First batch of tests + select = document.createElement("select"); + opt = select.appendChild( document.createElement("option") ); + input = div.getElementsByTagName("input")[ 0 ]; + + a.style.cssText = "top:1px;float:left;opacity:.5"; + support = { + // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) + getSetAttribute: div.className !== "t", + + // IE strips leading whitespace when .innerHTML is used + leadingWhitespace: div.firstChild.nodeType === 3, + + // Make sure that tbody elements aren't automatically inserted + // IE will insert them into empty tables + tbody: !div.getElementsByTagName("tbody").length, + + // Make sure that link elements get serialized correctly by innerHTML + // This requires a wrapper element in IE + htmlSerialize: !!div.getElementsByTagName("link").length, + + // Get the style information from getAttribute + // (IE uses .cssText instead) + style: /top/.test( a.getAttribute("style") ), + + // Make sure that URLs aren't manipulated + // (IE normalizes it by default) + hrefNormalized: a.getAttribute("href") === "/a", + + // Make sure that element opacity exists + // (IE uses filter instead) + // Use a regex to work around a WebKit issue. See #5145 + opacity: /^0.5/.test( a.style.opacity ), + + // Verify style float existence + // (IE uses styleFloat instead of cssFloat) + cssFloat: !!a.style.cssFloat, + + // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) + checkOn: !!input.value, + + // Make sure that a selected-by-default option has a working selected property. + // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) + optSelected: opt.selected, + + // Tests for enctype support on a form (#6743) + enctype: !!document.createElement("form").enctype, + + // Makes sure cloning an html5 element does not cause problems + // Where outerHTML is undefined, this still works + html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>", + + // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode + boxModel: document.compatMode === "CSS1Compat", + + // Will be defined later + deleteExpando: true, + noCloneEvent: true, + inlineBlockNeedsLayout: false, + shrinkWrapBlocks: false, + reliableMarginRight: true, + boxSizingReliable: true, + pixelPosition: false + }; + + // Make sure checked status is properly cloned + input.checked = true; + support.noCloneChecked = input.cloneNode( true ).checked; + + // Make sure that the options inside disabled selects aren't marked as disabled + // (WebKit marks them as disabled) + select.disabled = true; + support.optDisabled = !opt.disabled; + + // Support: IE<9 + try { + delete div.test; + } catch( e ) { + support.deleteExpando = false; + } + + // Check if we can trust getAttribute("value") + input = document.createElement("input"); + input.setAttribute( "value", "" ); + support.input = input.getAttribute( "value" ) === ""; + + // Check if an input maintains its value after becoming a radio + input.value = "t"; + input.setAttribute( "type", "radio" ); + support.radioValue = input.value === "t"; + + // #11217 - WebKit loses check when the name is after the checked attribute + input.setAttribute( "checked", "t" ); + input.setAttribute( "name", "t" ); + + fragment = document.createDocumentFragment(); + fragment.appendChild( input ); + + // Check if a disconnected checkbox will retain its checked + // value of true after appended to the DOM (IE6/7) + support.appendChecked = input.checked; + + // WebKit doesn't clone checked state correctly in fragments + support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<9 + // Opera does not clone events (and typeof div.attachEvent === undefined). + // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() + if ( div.attachEvent ) { + div.attachEvent( "onclick", function() { + support.noCloneEvent = false; + }); + + div.cloneNode( true ).click(); + } + + // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) + // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php + for ( i in { submit: true, change: true, focusin: true }) { + div.setAttribute( eventName = "on" + i, "t" ); + + support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; + } + + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + // Run tests that need a body at doc ready + jQuery(function() { + var container, marginDiv, tds, + divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", + body = document.getElementsByTagName("body")[0]; + + if ( !body ) { + // Return for frameset docs that don't have a body + return; + } + + container = document.createElement("div"); + container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; + + body.appendChild( container ).appendChild( div ); + + // Support: IE8 + // Check if table cells still have offsetWidth/Height when they are set + // to display:none and there are still other visible table cells in a + // table row; if so, offsetWidth/Height are not reliable for use when + // determining if an element has been hidden directly using + // display:none (it is still safe to use offsets if a parent element is + // hidden; don safety goggles and see bug #4512 for more information). + div.innerHTML = "
      t
      "; + tds = div.getElementsByTagName("td"); + tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; + isSupported = ( tds[ 0 ].offsetHeight === 0 ); + + tds[ 0 ].style.display = ""; + tds[ 1 ].style.display = "none"; + + // Support: IE8 + // Check if empty table cells still have offsetWidth/Height + support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); + + // Check box-sizing and margin behavior + div.innerHTML = ""; + div.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%;"; + support.boxSizing = ( div.offsetWidth === 4 ); + support.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== 1 ); + + // Use window.getComputedStyle because jsdom on node.js will break without it. + if ( window.getComputedStyle ) { + support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; + support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; + + // Check if div with explicit width and no margin-right incorrectly + // gets computed margin-right based on width of container. (#3333) + // Fails in WebKit before Feb 2011 nightlies + // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right + marginDiv = div.appendChild( document.createElement("div") ); + marginDiv.style.cssText = div.style.cssText = divReset; + marginDiv.style.marginRight = marginDiv.style.width = "0"; + div.style.width = "1px"; + + support.reliableMarginRight = + !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); + } + + if ( typeof div.style.zoom !== core_strundefined ) { + // Support: IE<8 + // Check if natively block-level elements act like inline-block + // elements when setting their display to 'inline' and giving + // them layout + div.innerHTML = ""; + div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; + support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); + + // Support: IE6 + // Check if elements with layout shrink-wrap their children + div.style.display = "block"; + div.innerHTML = "
      "; + div.firstChild.style.width = "5px"; + support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); + + if ( support.inlineBlockNeedsLayout ) { + // Prevent IE 6 from affecting layout for positioned elements #11048 + // Prevent IE from shrinking the body in IE 7 mode #12869 + // Support: IE<8 + body.style.zoom = 1; + } + } + + body.removeChild( container ); + + // Null elements to avoid leaks in IE + container = div = tds = marginDiv = null; + }); + + // Null elements to avoid leaks in IE + all = select = fragment = opt = a = input = null; + + return support; +})(); + +var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, + rmultiDash = /([A-Z])/g; + +function internalData( elem, name, data, pvt /* Internal Use Only */ ){ + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var thisCache, ret, + internalKey = jQuery.expando, + getByName = typeof name === "string", + + // We have to handle DOM nodes and JS objects differently because IE6-7 + // can't GC object references properly across the DOM-JS boundary + isNode = elem.nodeType, + + // Only DOM nodes need the global jQuery cache; JS object data is + // attached directly to the object so GC can occur automatically + cache = isNode ? jQuery.cache : elem, + + // Only defining an ID for JS objects if its cache already exists allows + // the code to shortcut on the same path as a DOM node with no cache + id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; + + // Avoid doing any more work than we need to when trying to get data on an + // object that has no data at all + if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) { + return; + } + + if ( !id ) { + // Only DOM nodes need a new unique ID for each element since their data + // ends up in the global cache + if ( isNode ) { + elem[ internalKey ] = id = core_deletedIds.pop() || jQuery.guid++; + } else { + id = internalKey; + } + } + + if ( !cache[ id ] ) { + cache[ id ] = {}; + + // Avoids exposing jQuery metadata on plain JS objects when the object + // is serialized using JSON.stringify + if ( !isNode ) { + cache[ id ].toJSON = jQuery.noop; + } + } + + // An object can be passed to jQuery.data instead of a key/value pair; this gets + // shallow copied over onto the existing cache + if ( typeof name === "object" || typeof name === "function" ) { + if ( pvt ) { + cache[ id ] = jQuery.extend( cache[ id ], name ); + } else { + cache[ id ].data = jQuery.extend( cache[ id ].data, name ); + } + } + + thisCache = cache[ id ]; + + // jQuery data() is stored in a separate object inside the object's internal data + // cache in order to avoid key collisions between internal data and user-defined + // data. + if ( !pvt ) { + if ( !thisCache.data ) { + thisCache.data = {}; + } + + thisCache = thisCache.data; + } + + if ( data !== undefined ) { + thisCache[ jQuery.camelCase( name ) ] = data; + } + + // Check for both converted-to-camel and non-converted data property names + // If a data property was specified + if ( getByName ) { + + // First Try to find as-is property data + ret = thisCache[ name ]; + + // Test for null|undefined property data + if ( ret == null ) { + + // Try to find the camelCased property + ret = thisCache[ jQuery.camelCase( name ) ]; + } + } else { + ret = thisCache; + } + + return ret; +} + +function internalRemoveData( elem, name, pvt ) { + if ( !jQuery.acceptData( elem ) ) { + return; + } + + var i, l, thisCache, + isNode = elem.nodeType, + + // See jQuery.data for more information + cache = isNode ? jQuery.cache : elem, + id = isNode ? elem[ jQuery.expando ] : jQuery.expando; + + // If there is already no cache entry for this object, there is no + // purpose in continuing + if ( !cache[ id ] ) { + return; + } + + if ( name ) { + + thisCache = pvt ? cache[ id ] : cache[ id ].data; + + if ( thisCache ) { + + // Support array or space separated string names for data keys + if ( !jQuery.isArray( name ) ) { + + // try the string as a key before any manipulation + if ( name in thisCache ) { + name = [ name ]; + } else { + + // split the camel cased version by spaces unless a key with the spaces exists + name = jQuery.camelCase( name ); + if ( name in thisCache ) { + name = [ name ]; + } else { + name = name.split(" "); + } + } + } else { + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = name.concat( jQuery.map( name, jQuery.camelCase ) ); + } + + for ( i = 0, l = name.length; i < l; i++ ) { + delete thisCache[ name[i] ]; + } + + // If there is no data left in the cache, we want to continue + // and let the cache object itself get destroyed + if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { + return; + } + } + } + + // See jQuery.data for more information + if ( !pvt ) { + delete cache[ id ].data; + + // Don't destroy the parent cache unless the internal data object + // had been the only thing left in it + if ( !isEmptyDataObject( cache[ id ] ) ) { + return; + } + } + + // Destroy the cache + if ( isNode ) { + jQuery.cleanData( [ elem ], true ); + + // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) + } else if ( jQuery.support.deleteExpando || cache != cache.window ) { + delete cache[ id ]; + + // When all else fails, null + } else { + cache[ id ] = null; + } +} + +jQuery.extend({ + cache: {}, + + // Unique for each copy of jQuery on the page + // Non-digits removed to match rinlinejQuery + expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), + + // The following elements throw uncatchable exceptions if you + // attempt to add expando properties to them. + noData: { + "embed": true, + // Ban all objects except for Flash (which handle expandos) + "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", + "applet": true + }, + + hasData: function( elem ) { + elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; + return !!elem && !isEmptyDataObject( elem ); + }, + + data: function( elem, name, data ) { + return internalData( elem, name, data ); + }, + + removeData: function( elem, name ) { + return internalRemoveData( elem, name ); + }, + + // For internal use only. + _data: function( elem, name, data ) { + return internalData( elem, name, data, true ); + }, + + _removeData: function( elem, name ) { + return internalRemoveData( elem, name, true ); + }, + + // A method for determining if a DOM node can handle the data expando + acceptData: function( elem ) { + // Do not set data on non-element because it will not be cleared (#8335). + if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) { + return false; + } + + var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; + + // nodes accept data unless otherwise specified; rejection can be conditional + return !noData || noData !== true && elem.getAttribute("classid") === noData; + } +}); + +jQuery.fn.extend({ + data: function( key, value ) { + var attrs, name, + elem = this[0], + i = 0, + data = null; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = jQuery.data( elem ); + + if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { + attrs = elem.attributes; + for ( ; i < attrs.length; i++ ) { + name = attrs[i].name; + + if ( !name.indexOf( "data-" ) ) { + name = jQuery.camelCase( name.slice(5) ); + + dataAttr( elem, name, data[ name ] ); + } + } + jQuery._data( elem, "parsedAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each(function() { + jQuery.data( this, key ); + }); + } + + return jQuery.access( this, function( value ) { + + if ( value === undefined ) { + // Try to fetch any internally stored data first + return elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; + } + + this.each(function() { + jQuery.data( this, key, value ); + }); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each(function() { + jQuery.removeData( this, key ); + }); + } +}); + +function dataAttr( elem, key, data ) { + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + + var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); + + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch( e ) {} + + // Make sure we set the data so it isn't changed later + jQuery.data( elem, key, data ); + + } else { + data = undefined; + } + } + + return data; +} + +// checks a cache object for emptiness +function isEmptyDataObject( obj ) { + var name; + for ( name in obj ) { + + // if the public data object is empty, the private is still empty + if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { + continue; + } + if ( name !== "toJSON" ) { + return false; + } + } + + return true; +} +jQuery.extend({ + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = jQuery._data( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray(data) ) { + queue = jQuery._data( elem, type, jQuery.makeArray(data) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + hooks.cur = fn; + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // not intended for public consumption - generates a queueHooks object, or returns the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return jQuery._data( elem, key ) || jQuery._data( elem, key, { + empty: jQuery.Callbacks("once memory").add(function() { + jQuery._removeData( elem, type + "queue" ); + jQuery._removeData( elem, key ); + }) + }); + } +}); + +jQuery.fn.extend({ + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[0], type ); + } + + return data === undefined ? + this : + this.each(function() { + var queue = jQuery.queue( this, type, data ); + + // ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[0] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + }); + }, + dequeue: function( type ) { + return this.each(function() { + jQuery.dequeue( this, type ); + }); + }, + // Based off of the plugin by Clint Helfers, with permission. + // http://blindsignals.com/index.php/2009/07/jquery-delay/ + delay: function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = setTimeout( next, time ); + hooks.stop = function() { + clearTimeout( timeout ); + }; + }); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while( i-- ) { + tmp = jQuery._data( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +}); +var nodeHook, boolHook, + rclass = /[\t\r\n]/g, + rreturn = /\r/g, + rfocusable = /^(?:input|select|textarea|button|object)$/i, + rclickable = /^(?:a|area)$/i, + rboolean = /^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i, + ruseDefault = /^(?:checked|selected)$/i, + getSetAttribute = jQuery.support.getSetAttribute, + getSetInput = jQuery.support.input; + +jQuery.fn.extend({ + attr: function( name, value ) { + return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each(function() { + jQuery.removeAttr( this, name ); + }); + }, + + prop: function( name, value ) { + return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + name = jQuery.propFix[ name ] || name; + return this.each(function() { + // try/catch handles cases where IE balks (such as removing a property on window) + try { + this[ name ] = undefined; + delete this[ name ]; + } catch( e ) {} + }); + }, + + addClass: function( value ) { + var classes, elem, cur, clazz, j, + i = 0, + len = this.length, + proceed = typeof value === "string" && value; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).addClass( value.call( this, j, this.className ) ); + }); + } + + if ( proceed ) { + // The disjunction here is for better compressibility (see removeClass) + classes = ( value || "" ).match( core_rnotwhite ) || []; + + for ( ; i < len; i++ ) { + elem = this[ i ]; + cur = elem.nodeType === 1 && ( elem.className ? + ( " " + elem.className + " " ).replace( rclass, " " ) : + " " + ); + + if ( cur ) { + j = 0; + while ( (clazz = classes[j++]) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + elem.className = jQuery.trim( cur ); + + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, clazz, j, + i = 0, + len = this.length, + proceed = arguments.length === 0 || typeof value === "string" && value; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( j ) { + jQuery( this ).removeClass( value.call( this, j, this.className ) ); + }); + } + if ( proceed ) { + classes = ( value || "" ).match( core_rnotwhite ) || []; + + for ( ; i < len; i++ ) { + elem = this[ i ]; + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( elem.className ? + ( " " + elem.className + " " ).replace( rclass, " " ) : + "" + ); + + if ( cur ) { + j = 0; + while ( (clazz = classes[j++]) ) { + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + elem.className = value ? jQuery.trim( cur ) : ""; + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isBool = typeof stateVal === "boolean"; + + if ( jQuery.isFunction( value ) ) { + return this.each(function( i ) { + jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); + }); + } + + return this.each(function() { + if ( type === "string" ) { + // toggle individual class names + var className, + i = 0, + self = jQuery( this ), + state = stateVal, + classNames = value.match( core_rnotwhite ) || []; + + while ( (className = classNames[ i++ ]) ) { + // check each className given, space separated list + state = isBool ? state : !self.hasClass( className ); + self[ state ? "addClass" : "removeClass" ]( className ); + } + + // Toggle whole class name + } else if ( type === core_strundefined || type === "boolean" ) { + if ( this.className ) { + // store className if set + jQuery._data( this, "__className__", this.className ); + } + + // If the element has a class name or if we're passed "false", + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; + } + }); + }, + + hasClass: function( selector ) { + var className = " " + selector + " ", + i = 0, + l = this.length; + for ( ; i < l; i++ ) { + if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { + return true; + } + } + + return false; + }, + + val: function( value ) { + var ret, hooks, isFunction, + elem = this[0]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { + return ret; + } + + ret = elem.value; + + return typeof ret === "string" ? + // handle most common string cases + ret.replace(rreturn, "") : + // handle cases where value is null/undef or number + ret == null ? "" : ret; + } + + return; + } + + isFunction = jQuery.isFunction( value ); + + return this.each(function( i ) { + var val, + self = jQuery(this); + + if ( this.nodeType !== 1 ) { + return; + } + + if ( isFunction ) { + val = value.call( this, i, self.val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + } else if ( typeof val === "number" ) { + val += ""; + } else if ( jQuery.isArray( val ) ) { + val = jQuery.map(val, function ( value ) { + return value == null ? "" : value + ""; + }); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + }); + } +}); + +jQuery.extend({ + valHooks: { + option: { + get: function( elem ) { + // attributes.value is undefined in Blackberry 4.7 but + // uses .value. See #6932 + var val = elem.attributes.value; + return !val || val.specified ? elem.value : elem.text; + } + }, + select: { + get: function( elem ) { + var value, option, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one" || index < 0, + values = one ? null : [], + max = one ? index + 1 : options.length, + i = index < 0 ? + max : + one ? index : 0; + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // oldIE doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + // Don't return options that are disabled or in a disabled optgroup + ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && + ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var values = jQuery.makeArray( value ); + + jQuery(elem).find("option").each(function() { + this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; + }); + + if ( !values.length ) { + elem.selectedIndex = -1; + } + return values; + } + } + }, + + attr: function( elem, name, value ) { + var hooks, notxml, ret, + nType = elem.nodeType; + + // don't get/set attributes on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === core_strundefined ) { + return jQuery.prop( elem, name, value ); + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + // All attributes are lowercase + // Grab necessary hook if one is defined + if ( notxml ) { + name = name.toLowerCase(); + hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); + } + + if ( value !== undefined ) { + + if ( value === null ) { + jQuery.removeAttr( elem, name ); + + } else if ( hooks && notxml && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + elem.setAttribute( name, value + "" ); + return value; + } + + } else if ( hooks && notxml && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + + // In IE9+, Flash objects don't have .getAttribute (#12945) + // Support: IE9+ + if ( typeof elem.getAttribute !== core_strundefined ) { + ret = elem.getAttribute( name ); + } + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? + undefined : + ret; + } + }, + + removeAttr: function( elem, value ) { + var name, propName, + i = 0, + attrNames = value && value.match( core_rnotwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( (name = attrNames[i++]) ) { + propName = jQuery.propFix[ name ] || name; + + // Boolean attributes get special treatment (#10870) + if ( rboolean.test( name ) ) { + // Set corresponding property to false for boolean attributes + // Also clear defaultChecked/defaultSelected (if appropriate) for IE<8 + if ( !getSetAttribute && ruseDefault.test( name ) ) { + elem[ jQuery.camelCase( "default-" + name ) ] = + elem[ propName ] = false; + } else { + elem[ propName ] = false; + } + + // See #9699 for explanation of this approach (setting first, then removal) + } else { + jQuery.attr( elem, name, "" ); + } + + elem.removeAttribute( getSetAttribute ? name : propName ); + } + } + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { + // Setting the type on a radio button after the value resets the value in IE6-9 + // Reset value to default in case type is set after value during creation + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + 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( elem, name, value ) { + var ret, hooks, notxml, + nType = elem.nodeType; + + // don't get/set properties on text, comment and attribute nodes + if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); + + if ( notxml ) { + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { + return ret; + + } else { + return ( elem[ name ] = value ); + } + + } else { + if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { + return ret; + + } else { + return elem[ name ]; + } + } + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set + // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + var attributeNode = elem.getAttributeNode("tabindex"); + + return attributeNode && attributeNode.specified ? + parseInt( attributeNode.value, 10 ) : + rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? + 0 : + undefined; + } + } + } +}); + +// Hook for boolean attributes +boolHook = { + get: function( elem, name ) { + var + // Use .prop to determine if this attribute is understood as boolean + prop = jQuery.prop( elem, name ), + + // Fetch it accordingly + attr = typeof prop === "boolean" && elem.getAttribute( name ), + detail = typeof prop === "boolean" ? + + getSetInput && getSetAttribute ? + attr != null : + // oldIE fabricates an empty string for missing boolean attributes + // and conflates checked/selected into attroperties + ruseDefault.test( name ) ? + elem[ jQuery.camelCase( "default-" + name ) ] : + !!attr : + + // fetch an attribute node for properties not recognized as boolean + elem.getAttributeNode( name ); + + return detail && detail.value !== false ? + name.toLowerCase() : + undefined; + }, + set: function( elem, value, name ) { + if ( value === false ) { + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { + // IE<8 needs the *property* name + elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); + + // Use defaultChecked and defaultSelected for oldIE + } else { + elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; + } + + return name; + } +}; + +// fix oldIE value attroperty +if ( !getSetInput || !getSetAttribute ) { + jQuery.attrHooks.value = { + get: function( elem, name ) { + var ret = elem.getAttributeNode( name ); + return jQuery.nodeName( elem, "input" ) ? + + // Ignore the value *property* by using defaultValue + elem.defaultValue : + + ret && ret.specified ? ret.value : undefined; + }, + set: function( elem, value, name ) { + if ( jQuery.nodeName( elem, "input" ) ) { + // Does not return so that setAttribute is also used + elem.defaultValue = value; + } else { + // Use nodeHook if defined (#1954); otherwise setAttribute is fine + return nodeHook && nodeHook.set( elem, value, name ); + } + } + }; +} + +// IE6/7 do not support getting/setting some attributes with get/setAttribute +if ( !getSetAttribute ) { + + // Use this for any attribute in IE6/7 + // This fixes almost every IE6/7 issue + nodeHook = jQuery.valHooks.button = { + get: function( elem, name ) { + var ret = elem.getAttributeNode( name ); + return ret && ( name === "id" || name === "name" || name === "coords" ? ret.value !== "" : ret.specified ) ? + ret.value : + undefined; + }, + set: function( elem, value, name ) { + // Set the existing or create a new attribute node + var ret = elem.getAttributeNode( name ); + if ( !ret ) { + elem.setAttributeNode( + (ret = elem.ownerDocument.createAttribute( name )) + ); + } + + ret.value = value += ""; + + // Break association with cloned elements by also using setAttribute (#9646) + return name === "value" || value === elem.getAttribute( name ) ? + value : + undefined; + } + }; + + // Set contenteditable to false on removals(#10429) + // Setting to empty string throws an error as an invalid value + jQuery.attrHooks.contenteditable = { + get: nodeHook.get, + set: function( elem, value, name ) { + nodeHook.set( elem, value === "" ? false : value, name ); + } + }; + + // Set width and height to auto instead of 0 on empty string( Bug #8150 ) + // This is for removals + jQuery.each([ "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + set: function( elem, value ) { + if ( value === "" ) { + elem.setAttribute( name, "auto" ); + return value; + } + } + }); + }); +} + + +// Some attributes require a special call on IE +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !jQuery.support.hrefNormalized ) { + jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { + jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { + get: function( elem ) { + var ret = elem.getAttribute( name, 2 ); + return ret == null ? undefined : ret; + } + }); + }); + + // href/src property should get the full normalized URL (#10299/#12915) + jQuery.each([ "href", "src" ], function( i, name ) { + jQuery.propHooks[ name ] = { + get: function( elem ) { + return elem.getAttribute( name, 4 ); + } + }; + }); +} + +if ( !jQuery.support.style ) { + jQuery.attrHooks.style = { + get: function( elem ) { + // Return undefined in the case of empty string + // Note: IE uppercases css property names, but if we were to .toLowerCase() + // .cssText, that would destroy case senstitivity in URL's, like in "background" + return elem.style.cssText || undefined; + }, + set: function( elem, value ) { + return ( elem.style.cssText = value + "" ); + } + }; +} + +// Safari mis-reports the default selected property of an option +// Accessing the parent's selectedIndex property fixes it +if ( !jQuery.support.optSelected ) { + jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { + get: function( elem ) { + var parent = elem.parentNode; + + if ( parent ) { + parent.selectedIndex; + + // Make sure that it also works with optgroups, see #5701 + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + return null; + } + }); +} + +// IE6/7 call enctype encoding +if ( !jQuery.support.enctype ) { + jQuery.propFix.enctype = "encoding"; +} + +// Radios and checkboxes getter/setter +if ( !jQuery.support.checkOn ) { + jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + get: function( elem ) { + // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified + return elem.getAttribute("value") === null ? "on" : elem.value; + } + }; + }); +} +jQuery.each([ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { + set: function( elem, value ) { + if ( jQuery.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); + } + } + }); +}); +var rformElems = /^(?:input|select|textarea)$/i, + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|contextmenu)|click/, + rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + var tmp, events, t, handleObjIn, + special, eventHandle, handleObj, + handlers, type, namespaces, origType, + elemData = jQuery._data( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !(events = elemData.events) ) { + events = elemData.events = {}; + } + if ( !(eventHandle = elemData.handle) ) { + eventHandle = elemData.handle = function( e ) { + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? + jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : + undefined; + }; + // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events + eventHandle.elem = elem; + } + + // Handle multiple events separated by a space + // jQuery(...).bind("mouseover mouseout", fn); + types = ( types || "" ).match( core_rnotwhite ) || [""]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend({ + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join(".") + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !(handlers = events[ type ]) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener/attachEvent if the special events handler returns false + if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + // Bind the global event handler to the element + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle, false ); + + } else if ( elem.attachEvent ) { + elem.attachEvent( "on" + type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + // Nullify elem to prevent memory leaks in IE + elem = null; + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + var j, handleObj, tmp, + origCount, t, events, + special, handlers, type, + namespaces, origType, + elemData = jQuery.hasData( elem ) && jQuery._data( elem ); + + if ( !elemData || !(events = elemData.events) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( core_rnotwhite ) || [""]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[t] ) || []; + type = origType = tmp[1]; + namespaces = ( tmp[2] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + delete elemData.handle; + + // removeData also checks for emptiness and clears the expando if empty + // so use it instead of delete + jQuery._removeData( elem, "events" ); + } + }, + + trigger: function( event, data, elem, onlyHandlers ) { + var handle, ontype, cur, + bubbleType, special, tmp, i, + eventPath = [ elem || document ], + type = core_hasOwn.call( event, "type" ) ? event.type : event, + namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; + + cur = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf(".") >= 0 ) { + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split("."); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf(":") < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + event.isTrigger = true; + event.namespace = namespaces.join("."); + event.namespace_re = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === (elem.ownerDocument || document) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { + + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { + event.preventDefault(); + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && + !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name name as the event. + // Can't use an .isFunction() check here because IE6/7 fails that test. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + try { + elem[ type ](); + } catch ( e ) { + // IE<9 dies on focus/blur to hidden element (#1486,#12518) + // only reproducible on winXP IE8 native, not IE9 in IE8 mode + } + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, ret, handleObj, matched, j, + handlerQueue = [], + args = core_slice.call( arguments ), + handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[0] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or + // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). + if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) + .apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( (event.result = ret) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var sel, handleObj, matches, i, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // Avoid non-left-click bubbling in Firefox (#3861) + if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { + + for ( ; cur != this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) >= 0 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push({ elem: cur, handlers: matches }); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); + } + + return handlerQueue; + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: IE<9 + // Fix target property (#1925) + if ( !event.target ) { + event.target = originalEvent.srcElement || document; + } + + // Support: Chrome 23+, Safari? + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + // Support: IE<9 + // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) + event.metaKey = !!event.metaKey; + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split(" "), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), + filter: function( event, original ) { + var body, eventDoc, doc, + button = original.button, + fromElement = original.fromElement; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add relatedTarget, if necessary + if ( !event.relatedTarget && fromElement ) { + event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + special: { + load: { + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { + this.click(); + return false; + } + } + }, + focus: { + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== document.activeElement && this.focus ) { + try { + this.focus(); + return false; + } catch ( e ) { + // Support: IE<9 + // If we error on focus to hidden element (#1486, #12518), + // let .trigger() run the handlers + } + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === document.activeElement && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + + beforeunload: { + postDispatch: function( event ) { + + // Even when returnValue equals to undefined Firefox will still show alert + if ( event.result !== undefined ) { + event.originalEvent.returnValue = event.result; + } + } + } + }, + + simulate: function( type, elem, event, bubble ) { + // Piggyback on a donor event to simulate a different one. + // Fake originalEvent to avoid donor's stopPropagation, but if the + // simulated event prevents default then we do the same on the donor. + var e = jQuery.extend( + new jQuery.Event(), + event, + { type: type, + isSimulated: true, + originalEvent: {} + } + ); + if ( bubble ) { + jQuery.event.trigger( e, null, elem ); + } else { + jQuery.event.dispatch.call( elem, e ); + } + if ( e.isDefaultPrevented() ) { + event.preventDefault(); + } + } +}; + +jQuery.removeEvent = document.removeEventListener ? + function( elem, type, handle ) { + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle, false ); + } + } : + function( elem, type, handle ) { + var name = "on" + type; + + if ( elem.detachEvent ) { + + // #8545, #7054, preventing memory leaks for custom events in IE6-8 + // detachEvent needed property on element, by name of that event, to properly expose it to GC + if ( typeof elem[ name ] === core_strundefined ) { + elem[ name ] = null; + } + + elem.detachEvent( name, handle ); + } + }; + +jQuery.Event = function( src, props ) { + // Allow instantiation without the 'new' keyword + if ( !(this instanceof jQuery.Event) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || + src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + if ( !e ) { + return; + } + + // If preventDefault exists, run it on the original event + if ( e.preventDefault ) { + e.preventDefault(); + + // Support: IE + // Otherwise set the returnValue property of the original event to false + } else { + e.returnValue = false; + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + if ( !e ) { + return; + } + // If stopPropagation exists, run it on the original event + if ( e.stopPropagation ) { + e.stopPropagation(); + } + + // Support: IE + // Set the cancelBubble property of the original event to true + e.cancelBubble = true; + }, + stopImmediatePropagation: function() { + this.isImmediatePropagationStopped = returnTrue; + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +jQuery.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mousenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || (related !== target && !jQuery.contains( target, related )) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +}); + +// IE submit delegation +if ( !jQuery.support.submitBubbles ) { + + jQuery.event.special.submit = { + setup: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Lazy-add a submit handler when a descendant form may potentially be submitted + jQuery.event.add( this, "click._submit keypress._submit", function( e ) { + // Node name check avoids a VML-related crash in IE (#9807) + var elem = e.target, + form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; + if ( form && !jQuery._data( form, "submitBubbles" ) ) { + jQuery.event.add( form, "submit._submit", function( event ) { + event._submit_bubble = true; + }); + jQuery._data( form, "submitBubbles", true ); + } + }); + // return undefined since we don't need an event listener + }, + + postDispatch: function( event ) { + // If form was submitted by the user, bubble the event up the tree + if ( event._submit_bubble ) { + delete event._submit_bubble; + if ( this.parentNode && !event.isTrigger ) { + jQuery.event.simulate( "submit", this.parentNode, event, true ); + } + } + }, + + teardown: function() { + // Only need this for delegated form submit events + if ( jQuery.nodeName( this, "form" ) ) { + return false; + } + + // Remove delegated handlers; cleanData eventually reaps submit handlers attached above + jQuery.event.remove( this, "._submit" ); + } + }; +} + +// IE change delegation and checkbox/radio fix +if ( !jQuery.support.changeBubbles ) { + + jQuery.event.special.change = { + + setup: function() { + + if ( rformElems.test( this.nodeName ) ) { + // IE doesn't fire change on a check/radio until blur; trigger it on click + // after a propertychange. Eat the blur-change in special.change.handle. + // This still fires onchange a second time for check/radio after blur. + if ( this.type === "checkbox" || this.type === "radio" ) { + jQuery.event.add( this, "propertychange._change", function( event ) { + if ( event.originalEvent.propertyName === "checked" ) { + this._just_changed = true; + } + }); + jQuery.event.add( this, "click._change", function( event ) { + if ( this._just_changed && !event.isTrigger ) { + this._just_changed = false; + } + // Allow triggered, simulated change events (#11500) + jQuery.event.simulate( "change", this, event, true ); + }); + } + return false; + } + // Delegated event; lazy-add a change handler on descendant inputs + jQuery.event.add( this, "beforeactivate._change", function( e ) { + var elem = e.target; + + if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { + jQuery.event.add( elem, "change._change", function( event ) { + if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { + jQuery.event.simulate( "change", this.parentNode, event, true ); + } + }); + jQuery._data( elem, "changeBubbles", true ); + } + }); + }, + + handle: function( event ) { + var elem = event.target; + + // Swallow native change events from checkbox/radio, we already triggered them above + if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { + return event.handleObj.handler.apply( this, arguments ); + } + }, + + teardown: function() { + jQuery.event.remove( this, "._change" ); + + return !rformElems.test( this.nodeName ); + } + }; +} + +// Create "bubbling" focus and blur events +if ( !jQuery.support.focusinBubbles ) { + jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler while someone wants focusin/focusout + var attaches = 0, + handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + if ( attaches++ === 0 ) { + document.addEventListener( orig, handler, true ); + } + }, + teardown: function() { + if ( --attaches === 0 ) { + document.removeEventListener( orig, handler, true ); + } + } + }; + }); +} + +jQuery.fn.extend({ + + on: function( types, selector, data, fn, /*INTERNAL*/ one ) { + var type, origFn; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + this.on( type, selector, data, types[ type ], one ); + } + return this; + } + + if ( data == null && fn == null ) { + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return this; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return this.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + }); + }, + one: function( types, selector, data, fn ) { + return this.on( types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each(function() { + jQuery.event.remove( this, types, fn, selector ); + }); + }, + + bind: function( types, data, fn ) { + return this.on( types, null, data, fn ); + }, + unbind: function( types, fn ) { + return this.off( types, null, fn ); + }, + + delegate: function( selector, types, data, fn ) { + return this.on( types, selector, data, fn ); + }, + undelegate: function( selector, types, fn ) { + // ( namespace ) or ( selector, types [, fn] ) + return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); + }, + + trigger: function( type, data ) { + return this.each(function() { + jQuery.event.trigger( type, data, this ); + }); + }, + triggerHandler: function( type, data ) { + var elem = this[0]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2012 jQuery Foundation and other contributors + * Released under the MIT license + * http://sizzlejs.com/ + */ +(function( window, undefined ) { + +var i, + cachedruns, + Expr, + getText, + isXML, + compile, + hasDuplicate, + outermostContext, + + // Local document vars + setDocument, + document, + docElem, + documentIsXML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + sortOrder, + + // Instance-specific data + expando = "sizzle" + -(new Date()), + preferredDoc = window.document, + support = {}, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + + // General-purpose constants + strundefined = typeof undefined, + MAX_NEGATIVE = 1 << 31, + + // Array methods + arr = [], + pop = arr.pop, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf if we can't use a native one + indexOf = arr.indexOf || function( elem ) { + var i = 0, + len = this.length; + for ( ; i < len; i++ ) { + if ( this[i] === elem ) { + return i; + } + } + return -1; + }, + + + // Regular expressions + + // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + // http://www.w3.org/TR/css3-syntax/#characters + characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Loosely modeled on CSS identifier characters + // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors + // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = characterEncoding.replace( "w", "w#" ), + + // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors + operators = "([*^$|!~]?=)", + attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + + "*(?:" + operators + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", + + // Prefer arguments quoted, + // then not containing pseudos/brackets, + // then attribute selectors/non-parenthetical expressions, + // then anything else + // These preferences are here to reduce the number of selectors + // needing tokenize in the PSEUDO preFilter + pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([\\x20\\t\\r\\n\\f>+~])" + whitespace + "*" ), + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + characterEncoding + ")" ), + "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), + "NAME": new RegExp( "^\\[name=['\"]?(" + characterEncoding + ")['\"]?\\]" ), + "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rsibling = /[\x20\t\r\n\f]*[+~]/, + + rnative = /^[^{]+\{\s*\[native code/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rescape = /'|\\/g, + rattributeQuotes = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = /\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g, + funescape = function( _, escaped ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + return high !== high ? + escaped : + // BMP codepoint + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }; + +// Use a stripped-down slice if we can't use a native one +try { + slice.call( preferredDoc.documentElement.childNodes, 0 )[0].nodeType; +} catch ( e ) { + slice = function( i ) { + var elem, + results = []; + while ( (elem = this[i++]) ) { + results.push( elem ); + } + return results; + }; +} + +/** + * For feature detection + * @param {Function} fn The function to test for native support + */ +function isNative( fn ) { + return rnative.test( fn + "" ); +} + +/** + * Create key-value caches of limited size + * @returns {Function(string, Object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var cache, + keys = []; + + return (cache = function( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key += " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key ] = value); + }); +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return fn( div ); + } catch (e) { + return false; + } finally { + // release memory in IE + div = null; + } +} + +function Sizzle( selector, context, results, seed ) { + var match, elem, m, nodeType, + // QSA vars + i, groups, old, nid, newContext, newSelector; + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + + context = context || document; + results = results || []; + + if ( !selector || typeof selector !== "string" ) { + return results; + } + + if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { + return []; + } + + if ( !documentIsXML && !seed ) { + + // Shortcuts + if ( (match = rquickExpr.exec( selector )) ) { + // Speed-up: Sizzle("#ID") + if ( (m = match[1]) ) { + if ( nodeType === 9 ) { + elem = context.getElementById( m ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + if ( elem && elem.parentNode ) { + // Handle the case where IE, Opera, and Webkit return items + // by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + } else { + // Context is not a document + if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && + contains( context, elem ) && elem.id === m ) { + results.push( elem ); + return results; + } + } + + // Speed-up: Sizzle("TAG") + } else if ( match[2] ) { + push.apply( results, slice.call(context.getElementsByTagName( selector ), 0) ); + return results; + + // Speed-up: Sizzle(".CLASS") + } else if ( (m = match[3]) && support.getByClassName && context.getElementsByClassName ) { + push.apply( results, slice.call(context.getElementsByClassName( m ), 0) ); + return results; + } + } + + // QSA path + if ( support.qsa && !rbuggyQSA.test(selector) ) { + old = true; + nid = expando; + newContext = context; + newSelector = nodeType === 9 && selector; + + // qSA works strangely on Element-rooted queries + // We can work around this by specifying an extra ID on the root + // and working up from there (Thanks to Andrew Dupont for the technique) + // IE 8 doesn't work on object elements + if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { + groups = tokenize( selector ); + + if ( (old = context.getAttribute("id")) ) { + nid = old.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", nid ); + } + nid = "[id='" + nid + "'] "; + + i = groups.length; + while ( i-- ) { + groups[i] = nid + toSelector( groups[i] ); + } + newContext = rsibling.test( selector ) && context.parentNode || context; + newSelector = groups.join(","); + } + + if ( newSelector ) { + try { + push.apply( results, slice.call( newContext.querySelectorAll( + newSelector + ), 0 ) ); + return results; + } catch(qsaError) { + } finally { + if ( !old ) { + context.removeAttribute("id"); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Detect xml + * @param {Element|Object} elem An element or a document + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var doc = node ? node.ownerDocument || node : preferredDoc; + + // If no document and documentElement is available, return + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Set our document + document = doc; + docElem = doc.documentElement; + + // Support tests + documentIsXML = isXML( doc ); + + // Check if getElementsByTagName("*") returns only elements + support.tagNameNoComments = assert(function( div ) { + div.appendChild( doc.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Check if attributes should be retrieved by attribute nodes + support.attributes = assert(function( div ) { + div.innerHTML = ""; + var type = typeof div.lastChild.getAttribute("multiple"); + // IE8 returns a string for some attributes even when not present + return type !== "boolean" && type !== "string"; + }); + + // Check if getElementsByClassName can be trusted + support.getByClassName = assert(function( div ) { + // Opera can't find a second classname (in 9.6) + div.innerHTML = ""; + if ( !div.getElementsByClassName || !div.getElementsByClassName("e").length ) { + return false; + } + + // Safari 3.2 caches class attributes and doesn't catch changes + div.lastChild.className = "e"; + return div.getElementsByClassName("e").length === 2; + }); + + // Check if getElementById returns elements by name + // Check if getElementsByName privileges form controls or returns elements by ID + support.getByName = assert(function( div ) { + // Inject content + div.id = expando + 0; + div.innerHTML = "
      "; + docElem.insertBefore( div, docElem.firstChild ); + + // Test + var pass = doc.getElementsByName && + // buggy browsers will return fewer than the correct 2 + doc.getElementsByName( expando ).length === 2 + + // buggy browsers will return more than the correct 0 + doc.getElementsByName( expando + 0 ).length; + support.getIdNotName = !doc.getElementById( expando ); + + // Cleanup + docElem.removeChild( div ); + + return pass; + }); + + // IE6/7 return modified attributes + Expr.attrHandle = assert(function( div ) { + div.innerHTML = ""; + return div.firstChild && typeof div.firstChild.getAttribute !== strundefined && + div.firstChild.getAttribute("href") === "#"; + }) ? + {} : + { + "href": function( elem ) { + return elem.getAttribute( "href", 2 ); + }, + "type": function( elem ) { + return elem.getAttribute("type"); + } + }; + + // ID find and filter + if ( support.getIdNotName ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && !documentIsXML ) { + var m = context.getElementById( id ); + // Check parentNode to catch when Blackberry 4.6 returns + // nodes that are no longer in the document #6963 + return m && m.parentNode ? [m] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== strundefined && !documentIsXML ) { + var m = context.getElementById( id ); + + return m ? + m.id === id || typeof m.getAttributeNode !== strundefined && m.getAttributeNode("id").value === id ? + [m] : + undefined : + []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.tagNameNoComments ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== strundefined ) { + return context.getElementsByTagName( tag ); + } + } : + function( tag, context ) { + var elem, + tmp = [], + i = 0, + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Name + Expr.find["NAME"] = support.getByName && function( tag, context ) { + if ( typeof context.getElementsByName !== strundefined ) { + return context.getElementsByName( name ); + } + }; + + // Class + Expr.find["CLASS"] = support.getByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== strundefined && !documentIsXML ) { + return context.getElementsByClassName( className ); + } + }; + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21), + // no need to also add to buggyMatches since matches checks buggyQSA + // A support test would require too much code (would include document ready) + rbuggyQSA = [ ":focus" ]; + + if ( (support.qsa = isNative(doc.querySelectorAll)) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explictly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + div.innerHTML = ""; + + // IE8 - Some boolean attributes are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + }); + + assert(function( div ) { + + // Opera 10-12/IE8 - ^= $= *= and empty values + // Should not select anything + div.innerHTML = ""; + if ( div.querySelectorAll("[i^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:\"\"|'')" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = isNative( (matches = docElem.matchesSelector || + docElem.mozMatchesSelector || + docElem.webkitMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = new RegExp( rbuggyMatches.join("|") ); + + // Element contains another + // Purposefully does not implement inclusive descendent + // As in, an element does not contain itself + contains = isNative(docElem.contains) || docElem.compareDocumentPosition ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + // Document order sorting + sortOrder = docElem.compareDocumentPosition ? + function( a, b ) { + var compare; + + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + if ( (compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b )) ) { + if ( compare & 1 || a.parentNode && a.parentNode.nodeType === 11 ) { + if ( a === doc || contains( preferredDoc, a ) ) { + return -1; + } + if ( b === doc || contains( preferredDoc, b ) ) { + return 1; + } + return 0; + } + return compare & 4 ? -1 : 1; + } + + return a.compareDocumentPosition ? -1 : 1; + } : + function( a, b ) { + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + + // Parentless nodes are either documents or disconnected + } else if ( !aup || !bup ) { + return a === doc ? -1 : + b === doc ? 1 : + aup ? -1 : + bup ? 1 : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + // Always assume the presence of duplicates if sort doesn't + // pass them to our comparison function (as in Google Chrome). + hasDuplicate = false; + [0, 0].sort( sortOrder ); + support.detectDuplicates = hasDuplicate; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + // rbuggyQSA always contains :focus, so no need for an existence check + if ( support.matchesSelector && !documentIsXML && (!rbuggyMatches || !rbuggyMatches.test(expr)) && !rbuggyQSA.test(expr) ) { + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch(e) {} + } + + return Sizzle( expr, document, null, [elem] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + var val; + + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + if ( !documentIsXML ) { + name = name.toLowerCase(); + } + if ( (val = Expr.attrHandle[ name ]) ) { + return val( elem ); + } + if ( documentIsXML || support.attributes ) { + return elem.getAttribute( name ); + } + return ( (val = elem.getAttributeNode( name )) || elem.getAttribute( name ) ) && elem[ name ] === true ? + name : + val && val.specified ? val.value : null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +// Document sorting and removing duplicates +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + i = 1, + j = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + results.sort( sortOrder ); + + if ( hasDuplicate ) { + for ( ; (elem = results[i]); i++ ) { + if ( elem === results[ i - 1 ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + return results; +}; + +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && ( ~b.sourceIndex || MAX_NEGATIVE ) - ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +// Returns a function to use in pseudos for input types +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +// Returns a function to use in pseudos for buttons +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +// Returns a function to use in pseudos for positionals +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + for ( ; (node = elem[i]); i++ ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (see #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[5] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[4] ) { + match[2] = match[4]; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeName ) { + if ( nodeName === "*" ) { + return function() { return true; }; + } + + nodeName = nodeName.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( elem.className || (typeof elem.getAttribute !== strundefined && elem.getAttribute("class")) || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, outerCache, node, diff, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + // Seek `elem` from a previously-cached index + outerCache = parent[ expando ] || (parent[ expando ] = {}); + cache = outerCache[ type ] || []; + nodeIndex = cache[0] === dirruns && cache[1]; + diff = cache[0] === dirruns && cache[2]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + outerCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + // Use previously-cached element index if available + } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { + diff = cache[1]; + + // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) + } else { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { + // Cache the index of each encountered element + if ( useCache ) { + (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf.call( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifider + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsXML ? + elem.getAttribute("xml:lang") || elem.getAttribute("lang") : + elem.lang) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), + // not comment, processing instructions, or others + // Thanks to Diego Perini for the nodeName shortcut + // Greater than "@" means alpha characters (specifically not starting with "#" or "?") + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) + // use getAttribute instead to test this case + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +function tokenize( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( tokens = [] ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push( { + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +} + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var data, cache, outerCache, + dirkey = dirruns + " " + doneName; + + // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { + if ( (data = cache[1]) === true || data === cachedruns ) { + return data === true; + } + } else { + cache = outerCache[ dir ] = [ dirkey ]; + cache[1] = matcher( elem, context, xml ) || cachedruns; + if ( cache[1] === true ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf.call( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( tokens.slice( 0, i - 1 ) ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + // A counter to specify which element is currently being matched + var matcherCachedRuns = 0, + bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, expandContext ) { + var elem, j, matcher, + setMatched = [], + matchedCount = 0, + i = "0", + unmatched = seed && [], + outermost = expandContext != null, + contextBackup = outermostContext, + // We must always have either seed elements or context + elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1); + + if ( outermost ) { + outermostContext = context !== document && context; + cachedruns = matcherCachedRuns; + } + + // Add elements passing elementMatchers directly to results + // Keep `i` a string if there are no elements so `matchedCount` will be "00" below + for ( ; (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + cachedruns = ++matcherCachedRuns; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // Apply set filters to unmatched elements + matchedCount += i; + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !group ) { + group = tokenize( selector ); + } + i = group.length; + while ( i-- ) { + cached = matcherFromTokens( group[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + } + return cached; +}; + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function select( selector, context, results, seed ) { + var i, tokens, token, type, find, + match = tokenize( selector ); + + if ( !seed ) { + // Try to minimize operations if there is only one group + if ( match.length === 1 ) { + + // Take a shortcut and set the context if the root selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + context.nodeType === 9 && !documentIsXML && + Expr.relative[ tokens[1].type ] ) { + + context = Expr.find["ID"]( token.matches[0].replace( runescape, funescape ), context )[0]; + if ( !context ) { + return results; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && context.parentNode || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, slice.call( seed, 0 ) ); + return results; + } + + break; + } + } + } + } + } + + // Compile and execute a filtering function + // Provide `match` to avoid retokenization if we modified the selector above + compile( selector, match )( + seed, + context, + documentIsXML, + results, + rsibling.test( selector ) + ); + return results; +} + +// Deprecated +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Easy API for creating new setFilters +function setFilters() {} +Expr.filters = setFilters.prototype = Expr.pseudos; +Expr.setFilters = new setFilters(); + +// Initialize with the default document +setDocument(); + +// Override sizzle attribute retrieval +Sizzle.attr = jQuery.attr; +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[":"] = jQuery.expr.pseudos; +jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + +})( window ); +var runtil = /Until$/, + rparentsprev = /^(?:parents|prev(?:Until|All))/, + isSimple = /^.[^:#\[\.,]*$/, + rneedsContext = jQuery.expr.match.needsContext, + // methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend({ + find: function( selector ) { + var i, ret, self, + len = this.length; + + if ( typeof selector !== "string" ) { + self = this; + return this.pushStack( jQuery( selector ).filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + }) ); + } + + ret = []; + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, this[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = ( this.selector ? this.selector + " " : "" ) + selector; + return ret; + }, + + has: function( target ) { + var i, + targets = jQuery( target, this ), + len = targets.length; + + return this.filter(function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( this, targets[i] ) ) { + return true; + } + } + }); + }, + + not: function( selector ) { + return this.pushStack( winnow(this, selector, false) ); + }, + + filter: function( selector ) { + return this.pushStack( winnow(this, selector, true) ); + }, + + is: function( selector ) { + return !!selector && ( + typeof selector === "string" ? + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + rneedsContext.test( selector ) ? + jQuery( selector, this.context ).index( this[0] ) >= 0 : + jQuery.filter( selector, this ).length > 0 : + this.filter( selector ).length > 0 ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + ret = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + cur = this[i]; + + while ( cur && cur.ownerDocument && cur !== context && cur.nodeType !== 11 ) { + if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { + ret.push( cur ); + break; + } + cur = cur.parentNode; + } + } + + return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); + }, + + // Determine the position of an element within + // the matched set of elements + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; + } + + // index in selector + if ( typeof elem === "string" ) { + return jQuery.inArray( this[0], jQuery( elem ) ); + } + + // Locate the position of the desired element + return jQuery.inArray( + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[0] : elem, this ); + }, + + add: function( selector, context ) { + var set = typeof selector === "string" ? + jQuery( selector, context ) : + jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), + all = jQuery.merge( this.get(), set ); + + return this.pushStack( jQuery.unique(all) ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter(selector) + ); + } +}); + +jQuery.fn.andSelf = jQuery.fn.addBack; + +function sibling( cur, dir ) { + do { + cur = cur[ dir ]; + } while ( cur && cur.nodeType !== 1 ); + + return cur; +} + +jQuery.each({ + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return jQuery.dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return jQuery.dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return jQuery.dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return jQuery.dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return jQuery.dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return jQuery.dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return jQuery.sibling( elem.firstChild ); + }, + contents: function( elem ) { + return jQuery.nodeName( elem, "iframe" ) ? + elem.contentDocument || elem.contentWindow.document : + jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var ret = jQuery.map( this, fn, until ); + + if ( !runtil.test( name ) ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + ret = jQuery.filter( selector, ret ); + } + + ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; + + if ( this.length > 1 && rparentsprev.test( name ) ) { + ret = ret.reverse(); + } + + return this.pushStack( ret ); + }; +}); + +jQuery.extend({ + filter: function( expr, elems, not ) { + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 ? + jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : + jQuery.find.matches(expr, elems); + }, + + dir: function( elem, dir, until ) { + var matched = [], + cur = elem[ dir ]; + + while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { + if ( cur.nodeType === 1 ) { + matched.push( cur ); + } + cur = cur[dir]; + } + return matched; + }, + + sibling: function( n, elem ) { + var r = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + r.push( n ); + } + } + + return r; + } +}); + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, keep ) { + + // Can't pass null or undefined to indexOf in Firefox 4 + // Set to 0 to skip string check + qualifier = qualifier || 0; + + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep(elements, function( elem, i ) { + var retVal = !!qualifier.call( elem, i, elem ); + return retVal === keep; + }); + + } else if ( qualifier.nodeType ) { + return jQuery.grep(elements, function( elem ) { + return ( elem === qualifier ) === keep; + }); + + } else if ( typeof qualifier === "string" ) { + var filtered = jQuery.grep(elements, function( elem ) { + return elem.nodeType === 1; + }); + + if ( isSimple.test( qualifier ) ) { + return jQuery.filter(qualifier, filtered, !keep); + } else { + qualifier = jQuery.filter( qualifier, filtered ); + } + } + + return jQuery.grep(elements, function( elem ) { + return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; + }); +} +function createSafeFragment( document ) { + var list = nodeNames.split( "|" ), + safeFrag = document.createDocumentFragment(); + + if ( safeFrag.createElement ) { + while ( list.length ) { + safeFrag.createElement( + list.pop() + ); + } + } + return safeFrag; +} + +var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + + "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", + rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, + rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), + rleadingWhitespace = /^\s+/, + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, + rtagName = /<([\w:]+)/, + rtbody = /\s*$/g, + + // We have to close these tags to support XHTML (#13200) + wrapMap = { + option: [ 1, "" ], + legend: [ 1, "
      ", "
      " ], + area: [ 1, "", "" ], + param: [ 1, "", "" ], + thead: [ 1, "", "
      " ], + tr: [ 2, "", "
      " ], + col: [ 2, "", "
      " ], + td: [ 3, "", "
      " ], + + // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, + // unless wrapped in a div with non-breaking characters in front of it. + _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
      ", "
      " ] + }, + safeFragment = createSafeFragment( document ), + fragmentDiv = safeFragment.appendChild( document.createElement("div") ); + +wrapMap.optgroup = wrapMap.option; +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +jQuery.fn.extend({ + text: function( value ) { + return jQuery.access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); + }, null, value, arguments.length ); + }, + + wrapAll: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapAll( html.call(this, i) ); + }); + } + + if ( this[0] ) { + // The elements to wrap the target around + var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); + + if ( this[0].parentNode ) { + wrap.insertBefore( this[0] ); + } + + wrap.map(function() { + var elem = this; + + while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { + elem = elem.firstChild; + } + + return elem; + }).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( jQuery.isFunction( html ) ) { + return this.each(function(i) { + jQuery(this).wrapInner( html.call(this, i) ); + }); + } + + return this.each(function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + }); + }, + + wrap: function( html ) { + var isFunction = jQuery.isFunction( html ); + + return this.each(function(i) { + jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); + }); + }, + + unwrap: function() { + return this.parent().each(function() { + if ( !jQuery.nodeName( this, "body" ) ) { + jQuery( this ).replaceWith( this.childNodes ); + } + }).end(); + }, + + append: function() { + return this.domManip(arguments, true, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.appendChild( elem ); + } + }); + }, + + prepend: function() { + return this.domManip(arguments, true, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.insertBefore( elem, this.firstChild ); + } + }); + }, + + before: function() { + return this.domManip( arguments, false, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + }); + }, + + after: function() { + return this.domManip( arguments, false, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + }); + }, + + // keepData is for internal use only--do not document + remove: function( selector, keepData ) { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + if ( !selector || jQuery.filter( selector, [ elem ] ).length > 0 ) { + if ( !keepData && elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem ) ); + } + + if ( elem.parentNode ) { + if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { + setGlobalEval( getAll( elem, "script" ) ); + } + elem.parentNode.removeChild( elem ); + } + } + } + + return this; + }, + + empty: function() { + var elem, + i = 0; + + for ( ; (elem = this[i]) != null; i++ ) { + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + } + + // Remove any remaining nodes + while ( elem.firstChild ) { + elem.removeChild( elem.firstChild ); + } + + // If this is a select, ensure that it displays empty (#12336) + // Support: IE<9 + if ( elem.options && jQuery.nodeName( elem, "select" ) ) { + elem.options.length = 0; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function () { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + }); + }, + + html: function( value ) { + return jQuery.access( this, function( value ) { + var elem = this[0] || {}, + i = 0, + l = this.length; + + if ( value === undefined ) { + return elem.nodeType === 1 ? + elem.innerHTML.replace( rinlinejQuery, "" ) : + undefined; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && + ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && + !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { + + value = value.replace( rxhtmlTag, "<$1>" ); + + try { + for (; i < l; i++ ) { + // Remove element nodes and prevent memory leaks + elem = this[i] || {}; + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch(e) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function( value ) { + var isFunc = jQuery.isFunction( value ); + + // Make sure that the elements are removed from the DOM before they are inserted + // this can help fix replacing a parent with child elements + if ( !isFunc && typeof value !== "string" ) { + value = jQuery( value ).not( this ).detach(); + } + + return this.domManip( [ value ], true, function( elem ) { + var next = this.nextSibling, + parent = this.parentNode; + + if ( parent ) { + jQuery( this ).remove(); + parent.insertBefore( elem, next ); + } + }); + }, + + detach: function( selector ) { + return this.remove( selector, true ); + }, + + domManip: function( args, table, callback ) { + + // Flatten any nested arrays + args = core_concat.apply( [], args ); + + var first, node, hasScripts, + scripts, doc, fragment, + i = 0, + l = this.length, + set = this, + iNoClone = l - 1, + value = args[0], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { + return this.each(function( index ) { + var self = set.eq( index ); + if ( isFunction ) { + args[0] = value.call( this, index, table ? self.html() : undefined ); + } + self.domManip( args, table, callback ); + }); + } + + if ( l ) { + fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + if ( first ) { + table = table && jQuery.nodeName( first, "tr" ); + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( + table && jQuery.nodeName( this[i], "table" ) ? + findOrAppend( this[i], "tbody" ) : + this[i], + node, + i + ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { + + if ( node.src ) { + // Hope ajax is available... + jQuery.ajax({ + url: node.src, + type: "GET", + dataType: "script", + async: false, + global: false, + "throws": true + }); + } else { + jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); + } + } + } + } + + // Fix #11809: Avoid leaking memory + fragment = first = null; + } + } + + return this; + } +}); + +function findOrAppend( elem, tag ) { + return elem.getElementsByTagName( tag )[0] || elem.appendChild( elem.ownerDocument.createElement( tag ) ); +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + var attr = elem.getAttributeNode("type"); + elem.type = ( attr && attr.specified ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + if ( match ) { + elem.type = match[1]; + } else { + elem.removeAttribute("type"); + } + return elem; +} + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var elem, + i = 0; + for ( ; (elem = elems[i]) != null; i++ ) { + jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); + } +} + +function cloneCopyEvent( src, dest ) { + + if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { + return; + } + + var type, i, l, + oldData = jQuery._data( src ), + curData = jQuery._data( dest, oldData ), + events = oldData.events; + + if ( events ) { + delete curData.handle; + curData.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + + // make the cloned public data object a copy from the original + if ( curData.data ) { + curData.data = jQuery.extend( {}, curData.data ); + } +} + +function fixCloneNodeIssues( src, dest ) { + var nodeName, e, data; + + // We do not need to do anything for non-Elements + if ( dest.nodeType !== 1 ) { + return; + } + + nodeName = dest.nodeName.toLowerCase(); + + // IE6-8 copies events bound via attachEvent when using cloneNode. + if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { + data = jQuery._data( dest ); + + for ( e in data.events ) { + jQuery.removeEvent( dest, e, data.handle ); + } + + // Event data gets referenced instead of copied if the expando gets copied too + dest.removeAttribute( jQuery.expando ); + } + + // IE blanks contents when cloning scripts, and tries to evaluate newly-set text + if ( nodeName === "script" && dest.text !== src.text ) { + disableScript( dest ).text = src.text; + restoreScript( dest ); + + // IE6-10 improperly clones children of object elements using classid. + // IE10 throws NoModificationAllowedError if parent is null, #12132. + } else if ( nodeName === "object" ) { + if ( dest.parentNode ) { + dest.outerHTML = src.outerHTML; + } + + // This path appears unavoidable for IE9. When cloning an object + // element in IE9, the outerHTML strategy above is not sufficient. + // If the src has innerHTML and the destination does not, + // copy the src.innerHTML into the dest.innerHTML. #10324 + if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { + dest.innerHTML = src.innerHTML; + } + + } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { + // IE6-8 fails to persist the checked state of a cloned checkbox + // or radio button. Worse, IE6-7 fail to give the cloned element + // a checked appearance if the defaultChecked value isn't also set + + dest.defaultChecked = dest.checked = src.checked; + + // IE6-7 get confused and end up setting the value of a cloned + // checkbox/radio button to an empty string instead of "on" + if ( dest.value !== src.value ) { + dest.value = src.value; + } + + // IE6-8 fails to return the selected option to the default selected + // state when cloning options + } else if ( nodeName === "option" ) { + dest.defaultSelected = dest.selected = src.defaultSelected; + + // IE6-8 fails to set the defaultValue to the correct value when + // cloning other types of input fields + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +jQuery.each({ + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + i = 0, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone(true); + jQuery( insert[i] )[ original ]( elems ); + + // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() + core_push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +}); + +function getAll( context, tag ) { + var elems, elem, + i = 0, + found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) : + undefined; + + if ( !found ) { + for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { + if ( !tag || jQuery.nodeName( elem, tag ) ) { + found.push( elem ); + } else { + jQuery.merge( found, getAll( elem, tag ) ); + } + } + } + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], found ) : + found; +} + +// Used in buildFragment, fixes the defaultChecked property +function fixDefaultChecked( elem ) { + if ( manipulation_rcheckableType.test( elem.type ) ) { + elem.defaultChecked = elem.checked; + } +} + +jQuery.extend({ + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var destElements, node, clone, i, srcElements, + inPage = jQuery.contains( elem.ownerDocument, elem ); + + if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { + clone = elem.cloneNode( true ); + + // IE<=8 does not properly clone detached, unknown element nodes + } else { + fragmentDiv.innerHTML = elem.outerHTML; + fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); + } + + if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && + (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + // Fix all IE cloning issues + for ( i = 0; (node = srcElements[i]) != null; ++i ) { + // Ensure that the destination node is not null; Fixes #9587 + if ( destElements[i] ) { + fixCloneNodeIssues( node, destElements[i] ); + } + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0; (node = srcElements[i]) != null; i++ ) { + cloneCopyEvent( node, destElements[i] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + destElements = srcElements = node = null; + + // Return the cloned set + return clone; + }, + + buildFragment: function( elems, context, scripts, selection ) { + var j, elem, contains, + tmp, tag, tbody, wrap, + l = elems.length, + + // Ensure a safe fragment + safe = createSafeFragment( context ), + + nodes = [], + i = 0; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || safe.appendChild( context.createElement("div") ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + + tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; + + // Descend through wrappers to the right content + j = wrap[0]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Manually add leading whitespace removed by IE + if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { + nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); + } + + // Remove IE's autoinserted from table fragments + if ( !jQuery.support.tbody ) { + + // String was a , *may* have spurious + elem = tag === "table" && !rtbody.test( elem ) ? + tmp.firstChild : + + // String was a bare or + wrap[1] === "
      " && !rtbody.test( elem ) ? + tmp : + 0; + + j = elem && elem.childNodes.length; + while ( j-- ) { + if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { + elem.removeChild( tbody ); + } + } + } + + jQuery.merge( nodes, tmp.childNodes ); + + // Fix #12392 for WebKit and IE > 9 + tmp.textContent = ""; + + // Fix #12392 for oldIE + while ( tmp.firstChild ) { + tmp.removeChild( tmp.firstChild ); + } + + // Remember the top-level container for proper cleanup + tmp = safe.lastChild; + } + } + } + + // Fix #11356: Clear elements from fragment + if ( tmp ) { + safe.removeChild( tmp ); + } + + // Reset defaultChecked for any radios and checkboxes + // about to be appended to the DOM in IE 6/7 (#8060) + if ( !jQuery.support.appendChecked ) { + jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); + } + + i = 0; + while ( (elem = nodes[ i++ ]) ) { + + // #4087 - If origin and destination elements are the same, and this is + // that element, do not do anything + if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( safe.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( (elem = tmp[ j++ ]) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + tmp = null; + + return safe; + }, + + cleanData: function( elems, /* internal */ acceptData ) { + var elem, type, id, data, + i = 0, + internalKey = jQuery.expando, + cache = jQuery.cache, + deleteExpando = jQuery.support.deleteExpando, + special = jQuery.event.special; + + for ( ; (elem = elems[i]) != null; i++ ) { + + if ( acceptData || jQuery.acceptData( elem ) ) { + + id = elem[ internalKey ]; + data = id && cache[ id ]; + + if ( data ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Remove cache only if it was not already removed by jQuery.event.remove + if ( cache[ id ] ) { + + delete cache[ id ]; + + // IE does not allow us to delete expando properties from nodes, + // nor does it have a removeAttribute function on Document nodes; + // we must handle all of these cases + if ( deleteExpando ) { + delete elem[ internalKey ]; + + } else if ( typeof elem.removeAttribute !== core_strundefined ) { + elem.removeAttribute( internalKey ); + + } else { + elem[ internalKey ] = null; + } + + core_deletedIds.push( id ); + } + } + } + } + } +}); +var iframe, getStyles, curCSS, + ralpha = /alpha\([^)]*\)/i, + ropacity = /opacity\s*=\s*([^)]*)/, + rposition = /^(top|right|bottom|left)$/, + // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" + // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rmargin = /^margin/, + rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), + rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), + rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), + elemdisplay = { BODY: "block" }, + + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: 0, + fontWeight: 400 + }, + + cssExpand = [ "Top", "Right", "Bottom", "Left" ], + cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; + +// return a css property mapped to a potentially vendor prefixed property +function vendorPropName( style, name ) { + + // shortcut for names that are not vendor prefixed + if ( name in style ) { + return name; + } + + // check for vendor prefixed names + var capName = name.charAt(0).toUpperCase() + name.slice(1), + origName = name, + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in style ) { + return name; + } + } + + return origName; +} + +function isHidden( elem, el ) { + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); +} + +function showHide( elements, show ) { + var display, elem, hidden, + values = [], + index = 0, + length = elements.length; + + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + values[ index ] = jQuery._data( elem, "olddisplay" ); + display = elem.style.display; + if ( show ) { + // Reset the inline display of this element to learn if it is + // being hidden by cascaded rules or not + if ( !values[ index ] && display === "none" ) { + elem.style.display = ""; + } + + // Set elements which have been overridden with display: none + // in a stylesheet to whatever the default browser style is + // for such an element + if ( elem.style.display === "" && isHidden( elem ) ) { + values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); + } + } else { + + if ( !values[ index ] ) { + hidden = isHidden( elem ); + + if ( display && display !== "none" || !hidden ) { + jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); + } + } + } + } + + // Set the display of most of the elements in a second loop + // to avoid the constant reflow + for ( index = 0; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + if ( !show || elem.style.display === "none" || elem.style.display === "" ) { + elem.style.display = show ? values[ index ] || "" : "none"; + } + } + + return elements; +} + +jQuery.fn.extend({ + css: function( name, value ) { + return jQuery.access( this, function( elem, name, value ) { + var len, styles, + map = {}, + i = 0; + + if ( jQuery.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + }, + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + var bool = typeof state === "boolean"; + + return this.each(function() { + if ( bool ? state : isHidden( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + }); + } +}); + +jQuery.extend({ + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Exclude the following css properties to add px + cssNumber: { + "columnCount": true, + "fillOpacity": true, + "fontWeight": true, + "lineHeight": true, + "opacity": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: { + // normalize float css property + "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" + }, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = jQuery.camelCase( name ), + style = elem.style; + + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // convert relative number strings (+= or -=) to relative numbers. #7345 + if ( type === "string" && (ret = rrelNum.exec( value )) ) { + value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); + // Fixes bug #9237 + type = "number"; + } + + // Make sure that NaN and null values aren't set. See: #7116 + if ( value == null || type === "number" && isNaN( value ) ) { + return; + } + + // If a number was passed in, add 'px' to the (except for certain CSS properties) + if ( type === "number" && !jQuery.cssNumber[ origName ] ) { + value += "px"; + } + + // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, + // but it would mean to define eight (for every problematic property) identical functions + if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { + + // Wrapped to prevent IE from throwing errors when 'invalid' values are provided + // Fixes bug #5509 + try { + style[ name ] = value; + } catch(e) {} + } + + } else { + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var num, val, hooks, + origName = jQuery.camelCase( name ); + + // Make sure that we're working with the right name + name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); + + // gets hook for the prefixed version + // followed by the unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + //convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Return, converting to number if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; + } + return val; + }, + + // A method for quickly swapping in/out CSS properties to get correct calculations + swap: function( elem, options, callback, args ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.apply( elem, args || [] ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; + } +}); + +// NOTE: we've included the "window" in window.getComputedStyle +// because jsdom on node.js will break without it. +if ( window.getComputedStyle ) { + getStyles = function( elem ) { + return window.getComputedStyle( elem, null ); + }; + + curCSS = function( elem, name, _computed ) { + var width, minWidth, maxWidth, + computed = _computed || getStyles( elem ), + + // getPropertyValue is only needed for .css('filter') in IE9, see #12537 + ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, + style = elem.style; + + if ( computed ) { + + if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right + // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels + // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values + if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret; + }; +} else if ( document.documentElement.currentStyle ) { + getStyles = function( elem ) { + return elem.currentStyle; + }; + + curCSS = function( elem, name, _computed ) { + var left, rs, rsLeft, + computed = _computed || getStyles( elem ), + ret = computed ? computed[ name ] : undefined, + style = elem.style; + + // Avoid setting ret to empty string here + // so we don't default to auto + if ( ret == null && style && style[ name ] ) { + ret = style[ name ]; + } + + // From the awesome hack by Dean Edwards + // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 + + // If we're not dealing with a regular pixel number + // but a number that has a weird ending, we need to convert it to pixels + // but not position css attributes, as those are proportional to the parent element instead + // and we can't measure the parent instead because it might trigger a "stacking dolls" problem + if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { + + // Remember the original values + left = style.left; + rs = elem.runtimeStyle; + rsLeft = rs && rs.left; + + // Put in the new values to get a computed value out + if ( rsLeft ) { + rs.left = elem.currentStyle.left; + } + style.left = name === "fontSize" ? "1em" : ret; + ret = style.pixelLeft + "px"; + + // Revert the changed values + style.left = left; + if ( rsLeft ) { + rs.left = rsLeft; + } + } + + return ret === "" ? "auto" : ret; + }; +} + +function setPositiveNumber( elem, value, subtract ) { + var matches = rnumsplit.exec( value ); + return matches ? + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : + value; +} + +function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { + var i = extra === ( isBorderBox ? "border" : "content" ) ? + // If we already have the right measurement, avoid augmentation + 4 : + // Otherwise initialize for horizontal or vertical properties + name === "width" ? 1 : 0, + + val = 0; + + for ( ; i < 4; i += 2 ) { + // both box models exclude margin, so add it if we want it + if ( extra === "margin" ) { + val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); + } + + if ( isBorderBox ) { + // border-box includes padding, so remove it if we want content + if ( extra === "content" ) { + val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // at this point, extra isn't border nor margin, so remove border + if ( extra !== "margin" ) { + val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } else { + // at this point, extra isn't content, so add padding + val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // at this point, extra isn't content nor padding, so add border + if ( extra !== "padding" ) { + val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + return val; +} + +function getWidthOrHeight( elem, name, extra ) { + + // Start with offset property, which is equivalent to the border-box value + var valueIsBorderBox = true, + val = name === "width" ? elem.offsetWidth : elem.offsetHeight, + styles = getStyles( elem ), + isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // some non-html elements return undefined for offsetWidth, so check for null/undefined + // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 + // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 + if ( val <= 0 || val == null ) { + // Fall back to computed then uncomputed css if necessary + val = curCSS( elem, name, styles ); + if ( val < 0 || val == null ) { + val = elem.style[ name ]; + } + + // Computed unit is not pixels. Stop here and return. + if ( rnumnonpx.test(val) ) { + return val; + } + + // we need the check for style in case a browser which returns unreliable values + // for getComputedStyle silently falls back to the reliable elem.style + valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); + + // Normalize "", auto, and prepare for extra + val = parseFloat( val ) || 0; + } + + // use the active box-sizing model to add/subtract irrelevant styles + return ( val + + augmentWidthOrHeight( + elem, + name, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles + ) + ) + "px"; +} + +// Try to determine the default display value of an element +function css_defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + // Use the already-created iframe if possible + iframe = ( iframe || + jQuery("'; + +function Ie6(api, qtip) { + this._ns = 'ie6'; + this.init( (this.qtip = api) ); +} + +$.extend(Ie6.prototype, { + _scroll : function() { + var overlay = this.qtip.elements.overlay; + overlay && (overlay[0].style.top = $(window).scrollTop() + 'px'); + }, + + init: function(qtip) { + var tooltip = qtip.tooltip, + scroll; + + // Create the BGIFrame element if needed + if($('select, object').length < 1) { + this.bgiframe = qtip.elements.bgiframe = $(BGIFRAME).appendTo(tooltip); + + // Update BGIFrame on tooltip move + qtip._bind(tooltip, 'tooltipmove', this.adjustBGIFrame, this._ns, this); + } + + // redraw() container for width/height calculations + this.redrawContainer = $('
      ', { id: NAMESPACE+'-rcontainer' }) + .appendTo(document.body); + + // Fixup modal plugin if present too + if( qtip.elements.overlay && qtip.elements.overlay.addClass('qtipmodal-ie6fix') ) { + qtip._bind(window, ['scroll', 'resize'], this._scroll, this._ns, this); + qtip._bind(tooltip, ['tooltipshow'], this._scroll, this._ns, this); + } + + // Set dimensions + this.redraw(); + }, + + adjustBGIFrame: function() { + var tooltip = this.qtip.tooltip, + dimensions = { + height: tooltip.outerHeight(FALSE), + width: tooltip.outerWidth(FALSE) + }, + plugin = this.qtip.plugins.tip, + tip = this.qtip.elements.tip, + tipAdjust, offset; + + // Adjust border offset + offset = parseInt(tooltip.css('borderLeftWidth'), 10) || 0; + offset = { left: -offset, top: -offset }; + + // Adjust for tips plugin + if(plugin && tip) { + tipAdjust = (plugin.corner.precedance === 'x') ? [WIDTH, LEFT] : [HEIGHT, TOP]; + offset[ tipAdjust[1] ] -= tip[ tipAdjust[0] ](); + } + + // Update bgiframe + this.bgiframe.css(offset).css(dimensions); + }, + + // Max/min width simulator function + redraw: function() { + if(this.qtip.rendered < 1 || this.drawing) { return self; } + + var tooltip = this.qtip.tooltip, + style = this.qtip.options.style, + container = this.qtip.options.position.container, + perc, width, max, min; + + // Set drawing flag + this.qtip.drawing = 1; + + // If tooltip has a set height/width, just set it... like a boss! + if(style.height) { tooltip.css(HEIGHT, style.height); } + if(style.width) { tooltip.css(WIDTH, style.width); } + + // Simulate max/min width if not set width present... + else { + // Reset width and add fluid class + tooltip.css(WIDTH, '').appendTo(this.redrawContainer); + + // Grab our tooltip width (add 1 if odd so we don't get wrapping problems.. huzzah!) + width = tooltip.width(); + if(width % 2 < 1) { width += 1; } + + // Grab our max/min properties + max = tooltip.css('maxWidth') || ''; + min = tooltip.css('minWidth') || ''; + + // Parse into proper pixel values + perc = (max + min).indexOf('%') > -1 ? container.width() / 100 : 0; + max = ((max.indexOf('%') > -1 ? perc : 1) * parseInt(max, 10)) || width; + min = ((min.indexOf('%') > -1 ? perc : 1) * parseInt(min, 10)) || 0; + + // Determine new dimension size based on max/min/current values + width = max + min ? Math.min(Math.max(width, min), max) : width; + + // Set the newly calculated width and remvoe fluid class + tooltip.css(WIDTH, Math.round(width)).appendTo(container); + } + + // Set drawing flag + this.drawing = 0; + + return self; + }, + + destroy: function() { + // Remove iframe + this.bgiframe && this.bgiframe.remove(); + + // Remove bound events + this.qtip._unbind([window, this.qtip.tooltip], this._ns); + } +}); + +IE6 = PLUGINS.ie6 = function(api) { + // Proceed only if the browser is IE6 + return BROWSER.ie === 6 ? new Ie6(api) : FALSE; +}; + +IE6.initialize = 'render'; + +CHECKS.ie6 = { + '^content|style$': function() { + this.redraw(); + } +};;})); +}( window, document )); + + diff --git a/97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.min.css b/97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.min.css new file mode 100644 index 0000000..6965d6d --- /dev/null +++ b/97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.min.css @@ -0,0 +1,2 @@ +/* qTip2 v2.1.1 basic css3 | qtip2.com | Licensed MIT, GPL | Thu Jul 11 2013 14:03:02 */ +.qtip{position:absolute;left:-28000px;top:-28000px;display:none;max-width:280px;min-width:50px;font-size:10.5px;line-height:12px;direction:ltr;box-shadow:none;padding:0}.qtip-content{position:relative;padding:5px 9px;overflow:hidden;text-align:left;word-wrap:break-word}.qtip-titlebar{position:relative;padding:5px 35px 5px 10px;overflow:hidden;border-width:0 0 1px;font-weight:700}.qtip-titlebar+.qtip-content{border-top-width:0!important}.qtip-close{position:absolute;right:-9px;top:-9px;cursor:pointer;outline:medium none;border-width:1px;border-style:solid;border-color:transparent}.qtip-titlebar .qtip-close{right:4px;top:50%;margin-top:-9px}* html .qtip-titlebar .qtip-close{top:16px}.qtip-titlebar .ui-icon,.qtip-icon .ui-icon{display:block;text-indent:-1000em;direction:ltr}.qtip-icon,.qtip-icon .ui-icon{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-decoration:none}.qtip-icon .ui-icon{width:18px;height:14px;line-height:14px;text-align:center;text-indent:0;font:400 bold 10px/13px Tahoma,sans-serif;color:inherit;background:transparent none no-repeat -100em -100em}.qtip-focus{}.qtip-hover{}.qtip-default{border-width:1px;border-style:solid;border-color:#F1D031;background-color:#FFFFA3;color:#555}.qtip-default .qtip-titlebar{background-color:#FFEF93}.qtip-default .qtip-icon{border-color:#CCC;background:#F1F1F1;color:#777}.qtip-default .qtip-titlebar .qtip-close{border-color:#AAA;color:#111} .qtip-light{background-color:#fff;border-color:#E2E2E2;color:#454545}.qtip-light .qtip-titlebar{background-color:#f1f1f1} .qtip-dark{background-color:#505050;border-color:#303030;color:#f3f3f3}.qtip-dark .qtip-titlebar{background-color:#404040}.qtip-dark .qtip-icon{border-color:#444}.qtip-dark .qtip-titlebar .ui-state-hover{border-color:#303030} .qtip-cream{background-color:#FBF7AA;border-color:#F9E98E;color:#A27D35}.qtip-cream .qtip-titlebar{background-color:#F0DE7D}.qtip-cream .qtip-close .qtip-icon{background-position:-82px 0} .qtip-red{background-color:#F78B83;border-color:#D95252;color:#912323}.qtip-red .qtip-titlebar{background-color:#F06D65}.qtip-red .qtip-close .qtip-icon{background-position:-102px 0}.qtip-red .qtip-icon{border-color:#D95252}.qtip-red .qtip-titlebar .ui-state-hover{border-color:#D95252} .qtip-green{background-color:#CAED9E;border-color:#90D93F;color:#3F6219}.qtip-green .qtip-titlebar{background-color:#B0DE78}.qtip-green .qtip-close .qtip-icon{background-position:-42px 0} .qtip-blue{background-color:#E5F6FE;border-color:#ADD9ED;color:#5E99BD}.qtip-blue .qtip-titlebar{background-color:#D0E9F5}.qtip-blue .qtip-close .qtip-icon{background-position:-2px 0}.qtip-shadow{-webkit-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);-moz-box-shadow:1px 1px 3px 1px rgba(0,0,0,.15);box-shadow:1px 1px 3px 1px rgba(0,0,0,.15)}.qtip-rounded,.qtip-tipsy,.qtip-bootstrap{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.qtip-rounded .qtip-titlebar{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.qtip-youtube{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 3px #333;-moz-box-shadow:0 0 3px #333;box-shadow:0 0 3px #333;color:#fff;border-width:0;background:#4A4A4A;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#4A4A4A),color-stop(100%,#000));background-image:-webkit-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-moz-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-ms-linear-gradient(top,#4A4A4A 0,#000 100%);background-image:-o-linear-gradient(top,#4A4A4A 0,#000 100%)}.qtip-youtube .qtip-titlebar{background-color:#4A4A4A;background-color:rgba(0,0,0,0)}.qtip-youtube .qtip-content{padding:.75em;font:12px arial,sans-serif;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);-ms-filter:"progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#4a4a4a, EndColorStr=#000000);"}.qtip-youtube .qtip-icon{border-color:#222}.qtip-youtube .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-jtools{background:#232323;background:rgba(0,0,0,.7);background-image:-webkit-gradient(linear,left top,left bottom,from(#717171),to(#232323));background-image:-moz-linear-gradient(top,#717171,#232323);background-image:-webkit-linear-gradient(top,#717171,#232323);background-image:-ms-linear-gradient(top,#717171,#232323);background-image:-o-linear-gradient(top,#717171,#232323);border:2px solid #ddd;border:2px solid rgba(241,241,241,1);-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-webkit-box-shadow:0 0 12px #333;-moz-box-shadow:0 0 12px #333;box-shadow:0 0 12px #333}.qtip-jtools .qtip-titlebar{background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171, endColorstr=#4A4A4A)"}.qtip-jtools .qtip-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A, endColorstr=#232323)"}.qtip-jtools .qtip-titlebar,.qtip-jtools .qtip-content{background:transparent;color:#fff;border:0 dashed transparent}.qtip-jtools .qtip-icon{border-color:#555}.qtip-jtools .qtip-titlebar .ui-state-hover{border-color:#333}.qtip-cluetip{-webkit-box-shadow:4px 4px 5px rgba(0,0,0,.4);-moz-box-shadow:4px 4px 5px rgba(0,0,0,.4);box-shadow:4px 4px 5px rgba(0,0,0,.4);background-color:#D9D9C2;color:#111;border:0 dashed transparent}.qtip-cluetip .qtip-titlebar{background-color:#87876A;color:#fff;border:0 dashed transparent}.qtip-cluetip .qtip-icon{border-color:#808064}.qtip-cluetip .qtip-titlebar .ui-state-hover{border-color:#696952;color:#696952}.qtip-tipsy{background:#000;background:rgba(0,0,0,.87);color:#fff;border:0 solid transparent;font-size:11px;font-family:'Lucida Grande',sans-serif;font-weight:700;line-height:16px;text-shadow:0 1px #000}.qtip-tipsy .qtip-titlebar{padding:6px 35px 0 10px;background-color:transparent}.qtip-tipsy .qtip-content{padding:6px 10px}.qtip-tipsy .qtip-icon{border-color:#222;text-shadow:none}.qtip-tipsy .qtip-titlebar .ui-state-hover{border-color:#303030}.qtip-tipped{border:3px solid #959FA9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#F9F9F9;color:#454545;font-weight:400;font-family:serif}.qtip-tipped .qtip-titlebar{border-bottom-width:0;color:#fff;background:#3A79B8;background-image:-webkit-gradient(linear,left top,left bottom,from(#3A79B8),to(#2E629D));background-image:-webkit-linear-gradient(top,#3A79B8,#2E629D);background-image:-moz-linear-gradient(top,#3A79B8,#2E629D);background-image:-ms-linear-gradient(top,#3A79B8,#2E629D);background-image:-o-linear-gradient(top,#3A79B8,#2E629D);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8, endColorstr=#2E629D)"}.qtip-tipped .qtip-icon{border:2px solid #285589;background:#285589}.qtip-tipped .qtip-icon .ui-icon{background-color:#FBFBFB;color:#555}.qtip-bootstrap{font-size:14px;line-height:20px;color:#333;padding:1px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.qtip-bootstrap .qtip-titlebar{padding:8px 14px;margin:0;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.qtip-bootstrap .qtip-titlebar .qtip-close{right:11px;top:45%;border-style:none}.qtip-bootstrap .qtip-content{padding:9px 14px}.qtip-bootstrap .qtip-icon{background:transparent}.qtip-bootstrap .qtip-icon .ui-icon{width:auto;height:auto;float:right;font-size:20px;font-weight:700;line-height:18px;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.qtip-bootstrap .qtip-icon .ui-icon:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;filter:alpha(opacity=40)}.qtip:not(.ie9haxors) div.qtip-content,.qtip:not(.ie9haxors) div.qtip-titlebar{filter:none;-ms-filter:none}.qtip .qtip-tip{margin:0 auto;overflow:hidden;z-index:10}x:-o-prefocus,.qtip .qtip-tip{visibility:hidden}.qtip .qtip-tip,.qtip .qtip-tip .qtip-vml,.qtip .qtip-tip canvas{position:absolute;color:#123456;background:transparent;border:0 dashed transparent}.qtip .qtip-tip canvas{top:0;left:0}.qtip .qtip-tip .qtip-vml{behavior:url(#default#VML);display:inline-block;visibility:visible}#qtip-overlay{position:fixed;left:-10000em;top:-10000em}#qtip-overlay.blurs{cursor:pointer}#qtip-overlay div{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;opacity:.7;filter:alpha(opacity=70);-ms-filter:"alpha(Opacity=70)"}.qtipmodal-ie6fix{position:absolute!important} \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.min.js b/97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.min.js new file mode 100644 index 0000000..036399f --- /dev/null +++ b/97suifangqa/staticfiles/plugins/qtip2/jquery.qtip.min.js @@ -0,0 +1,3 @@ +/* qTip2 v2.1.1 tips modal viewport svg imagemap ie6 | qtip2.com | Licensed MIT, GPL | Thu Jul 11 2013 14:03:02 */ +(function(t,e,s){(function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","imagesloaded"],t):jQuery&&!jQuery.fn.qtip&&t(jQuery)})(function(o){function n(t,e,i,s){this.id=i,this.target=t,this.tooltip=E,this.elements=elements={target:t},this._id=$+"-"+i,this.timers={img:{}},this.options=e,this.plugins={},this.cache=cache={event:{},target:o(),disabled:S,attr:s,onTooltip:S,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=S}function r(t){return t===E||"object"!==o.type(t)}function a(t){return!(o.isFunction(t)||t&&t.attr||t.length||"object"===o.type(t)&&(t.jquery||t.then))}function h(t){var e,i,s,n;return r(t)?S:(r(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(e=t.content,r(e)||e.jquery||e.done?e=t.content={text:i=a(e)?S:e}:i=e.text,"ajax"in e&&(s=e.ajax,n=s&&s.once!==S,delete e.ajax,e.text=function(t,e){var r=i||o(this).attr(e.options.content.attr)||"Loading...",a=o.ajax(o.extend({},s,{context:e})).then(s.success,E,s.error).then(function(t){return t&&n&&e.set("content.text",t),t},function(t,i,s){e.destroyed||0===t.status||e.set("content.text",i+": "+s)});return n?r:(e.set("content.text",r),a)}),"title"in e&&(r(e.title)||(e.button=e.title.button,e.title=e.title.text),a(e.title||S)&&(e.title=S))),"position"in t&&r(t.position)&&(t.position={my:t.position,at:t.position}),"show"in t&&r(t.show)&&(t.show=t.show.jquery?{target:t.show}:t.show===M?{ready:M}:{event:t.show}),"hide"in t&&r(t.hide)&&(t.hide=t.hide.jquery?{target:t.hide}:{event:t.hide}),"style"in t&&r(t.style)&&(t.style={classes:t.style}),o.each(N,function(){this.sanitize&&this.sanitize(t)}),t)}function l(t,e){for(var i,s=0,o=t,n=e.split(".");o=o[n[s++]];)n.length>s&&(i=o);return[i||t,n.pop()]}function c(t,e){var i,s,o;for(i in this.checks)for(s in this.checks[i])(o=RegExp(s,"i").exec(t))&&(e.push(o),("builtin"===i||this.plugins[i])&&this.checks[i][s].apply(this.plugins[i]||this,e))}function p(t){return H.concat("").join(t?"-"+t+" ":" ")}function d(t){if(this.tooltip.hasClass(te))return S;clearTimeout(this.timers.show),clearTimeout(this.timers.hide);var e=o.proxy(function(){this.toggle(M,t)},this);this.options.show.delay>0?this.timers.show=setTimeout(e,this.options.show.delay):e()}function u(t){if(this.tooltip.hasClass(te))return S;var e=o(t.relatedTarget),i=e.closest(G)[0]===this.tooltip[0],s=e[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==e[0]&&"mouse"===this.options.position.target&&i||this.options.hide.fixed&&/mouse(out|leave|move)/.test(t.type)&&(i||s))try{t.preventDefault(),t.stopImmediatePropagation()}catch(n){}else{var r=o.proxy(function(){this.toggle(S,t)},this);this.options.hide.delay>0?this.timers.hide=setTimeout(r,this.options.hide.delay):r()}}function f(t){return this.tooltip.hasClass(te)||!this.options.hide.inactive?S:(clearTimeout(this.timers.inactive),this.timers.inactive=setTimeout(o.proxy(function(){this.hide(t)},this),this.options.hide.inactive),s)}function g(t){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(t)}function m(t,i,s){o(e.body).delegate(t,(i.split?i:i.join(re+" "))+re,function(){var t=T.api[o.attr(this,Y)];t&&!t.disabled&&s.apply(t,arguments)})}function v(t,i,s){var r,a,l,c,p,d=o(e.body),u=t[0]===e?d:t,f=t.metadata?t.metadata(s.metadata):E,g="html5"===s.metadata.type&&f?f[s.metadata.name]:E,m=t.data(s.metadata.name||"qtipopts");try{m="string"==typeof m?o.parseJSON(m):m}catch(v){}if(c=o.extend(M,{},T.defaults,s,"object"==typeof m?h(m):E,h(g||f)),a=c.position,c.id=i,"boolean"==typeof c.content.text){if(l=t.attr(c.content.attr),c.content.attr===S||!l)return S;c.content.text=l}if(a.container.length||(a.container=d),a.target===S&&(a.target=u),c.show.target===S&&(c.show.target=u),c.show.solo===M&&(c.show.solo=a.container.closest("body")),c.hide.target===S&&(c.hide.target=u),c.position.viewport===M&&(c.position.viewport=a.container),a.container=a.container.eq(0),a.at=new j(a.at,M),a.my=new j(a.my),t.data($))if(c.overwrite)t.qtip("destroy");else if(c.overwrite===S)return S;return t.attr(X,i),c.suppress&&(p=t.attr("title"))&&t.removeAttr("title").attr(ie,p).attr("title",""),r=new n(t,c,i,!!l),t.data($,r),t.one("remove.qtip-"+i+" removeqtip.qtip-"+i,function(){var t;(t=o(this).data($))&&t.destroy()}),r}function y(t){return t.charAt(0).toUpperCase()+t.slice(1)}function b(t,e){var i,o,n=e.charAt(0).toUpperCase()+e.slice(1),r=(e+" "+ve.join(n+" ")+n).split(" "),a=0;if(me[e])return t.css(me[e]);for(;i=r[a++];)if((o=t.css(i))!==s)return me[e]=i,o}function w(t,e){return parseInt(b(t,e),10)}function x(t,e){this._ns="tip",this.options=e,this.offset=e.offset,this.size=[e.width,e.height],this.init(this.qtip=t)}function _(t,e){this.options=e,this._ns="-modal",this.init(this.qtip=t)}function q(t){this._ns="ie6",this.init(this.qtip=t)}var T,C,j,z,W,M=!0,S=!1,E=null,O="x",R="y",I="width",k="height",B="top",L="left",P="bottom",V="right",D="center",A="flipinvert",F="shift",N={},$="qtip",X="data-hasqtip",Y="data-qtip-id",H=["ui-widget","ui-tooltip"],G="."+$,U="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),Q=$+"-fixed",J=$+"-default",K=$+"-focus",Z=$+"-hover",te=$+"-disabled",ee="_replacedByqTip",ie="oldtitle";BROWSER={ie:function(){for(var t=3,i=e.createElement("div");(i.innerHTML="")&&i.getElementsByTagName("i")[0];);return t>4?t:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||S},C=n.prototype,C.render=function(t){if(this.rendered||this.destroyed)return this;var e=this,i=this.options,s=this.cache,n=this.elements,r=i.content.text,a=i.content.title,h=i.content.button,l=i.position,c="."+this._id+" ",p=[];return o.attr(this.target[0],"aria-describedby",this._id),this.tooltip=n.tooltip=tooltip=o("
      ",{id:this._id,"class":[$,J,i.style.classes,$+"-pos-"+i.position.my.abbrev()].join(" "),width:i.style.width||"",height:i.style.height||"",tracking:"mouse"===l.target&&l.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":S,"aria-describedby":this._id+"-content","aria-hidden":M}).toggleClass(te,this.disabled).attr(Y,this.id).data($,this).appendTo(l.container).append(n.content=o("
      ",{"class":$+"-content",id:this._id+"-content","aria-atomic":M})),this.rendered=-1,this.positioning=M,a&&(this._createTitle(),o.isFunction(a)||p.push(this._updateTitle(a,S))),h&&this._createButton(),o.isFunction(r)||p.push(this._updateContent(r,S)),this.rendered=M,this._setWidget(),o.each(i.events,function(t,e){o.isFunction(e)&&tooltip.bind(("toggle"===t?["tooltipshow","tooltiphide"]:["tooltip"+t]).join(c)+c,e)}),o.each(N,function(t){var i;"render"===this.initialize&&(i=this(e))&&(e.plugins[t]=i)}),this._assignEvents(),o.when.apply(o,p).then(function(){e._trigger("render"),e.positioning=S,e.hiddenDuringWait||!i.show.ready&&!t||e.toggle(M,s.event,S),e.hiddenDuringWait=S}),T.api[this.id]=this,this},C.destroy=function(t){function e(){if(!this.destroyed){this.destroyed=M;var t=this.target,e=t.attr(ie);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),o.each(this.plugins,function(){this.destroy&&this.destroy()}),clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this._unassignEvents(),t.removeData($).removeAttr(Y).removeAttr("aria-describedby"),this.options.suppress&&e&&t.attr("title",e).removeAttr(ie),this._unbind(t),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=E,delete T.api[this.id]}}return this.destroyed?this.target:(t!==M&&this.rendered?(tooltip.one("tooltiphidden",o.proxy(e,this)),!this.triggering&&this.hide()):e.call(this),this.target)},z=C.checks={builtin:{"^id$":function(t,e,i,s){var n=i===M?T.nextid:i,r=$+"-"+n;n!==S&&n.length>0&&!o("#"+r).length?(this._id=r,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):t[e]=s},"^prerender":function(t,e,i){i&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(t,e,i){this._updateContent(i)},"^content.attr$":function(t,e,i,s){this.options.content.text===this.target.attr(s)&&this._updateContent(this.target.attr(i))},"^content.title$":function(t,e,i){return i?(i&&!this.elements.title&&this._createTitle(),this._updateTitle(i),s):this._removeTitle()},"^content.button$":function(t,e,i){this._updateButton(i)},"^content.title.(text|button)$":function(t,e,i){this.set("content."+e,i)},"^position.(my|at)$":function(t,e,i){"string"==typeof i&&(t[e]=new j(i,"at"===e))},"^position.container$":function(t,e,i){this.tooltip.appendTo(i)},"^show.ready$":function(t,e,i){i&&(!this.rendered&&this.render(M)||this.toggle(M))},"^style.classes$":function(t,e,i,s){this.tooltip.removeClass(s).addClass(i)},"^style.width|height":function(t,e,i){this.tooltip.css(e,i)},"^style.widget|content.title":function(){this._setWidget()},"^style.def":function(t,e,i){this.tooltip.toggleClass(J,!!i)},"^events.(render|show|move|hide|focus|blur)$":function(t,e,i){tooltip[(o.isFunction(i)?"":"un")+"bind"]("tooltip"+e,i)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var t=this.options.position;tooltip.attr("tracking","mouse"===t.target&&t.adjust.mouse),this._unassignEvents(),this._assignEvents()}}},C.get=function(t){if(this.destroyed)return this;var e=l(this.options,t.toLowerCase()),i=e[0][e[1]];return i.precedance?i.string():i};var se=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,oe=/^prerender|show\.ready/i;C.set=function(t,e){if(this.destroyed)return this;var i,n=this.rendered,r=S,a=this.options;return this.checks,"string"==typeof t?(i=t,t={},t[i]=e):t=o.extend({},t),o.each(t,function(e,i){if(!n&&!oe.test(e))return delete t[e],s;var h,c=l(a,e.toLowerCase());h=c[0][c[1]],c[0][c[1]]=i&&i.nodeType?o(i):i,r=se.test(e)||r,t[e]=[c[0],c[1],i,h]}),h(a),this.positioning=M,o.each(t,o.proxy(c,this)),this.positioning=S,this.rendered&&this.tooltip[0].offsetWidth>0&&r&&this.reposition("mouse"===a.position.target?E:this.cache.event),this},C._update=function(t,e){var i=this,s=this.cache;return this.rendered&&t?(o.isFunction(t)&&(t=t.call(this.elements.target,s.event,this)||""),o.isFunction(t.then)?(s.waiting=M,t.then(function(t){return s.waiting=S,i._update(t,e)},E,function(t){return i._update(t,e)})):t===S||!t&&""!==t?S:(t.jquery&&t.length>0?e.children().detach().end().append(t.css({display:"block"})):e.html(t),s.waiting=M,(o.fn.imagesLoaded?e.imagesLoaded():o.Deferred().resolve(o([]))).done(function(t){s.waiting=S,t.length&&i.rendered&&i.tooltip[0].offsetWidth>0&&i.reposition(s.event,!t.length)}).promise())):S},C._updateContent=function(t,e){this._update(t,this.elements.content,e)},C._updateTitle=function(t,e){this._update(t,this.elements.title,e)===S&&this._removeTitle(S)},C._createTitle=function(){var t=this.elements,e=this._id+"-title";t.titlebar&&this._removeTitle(),t.titlebar=o("
      ",{"class":$+"-titlebar "+(this.options.style.widget?p("header"):"")}).append(t.title=o("
      ",{id:e,"class":$+"-title","aria-atomic":M})).insertBefore(t.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(t){o(this).toggleClass("ui-state-active ui-state-focus","down"===t.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(t){o(this).toggleClass("ui-state-hover","mouseover"===t.type)}),this.options.content.button&&this._createButton()},C._removeTitle=function(t){var e=this.elements;e.title&&(e.titlebar.remove(),e.titlebar=e.title=e.button=E,t!==S&&this.reposition())},C.reposition=function(i,s){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=M;var n,r,a=this.cache,h=this.tooltip,l=this.options.position,c=l.target,p=l.my,d=l.at,u=l.viewport,f=l.container,g=l.adjust,m=g.method.split(" "),v=h.outerWidth(S),y=h.outerHeight(S),b=0,w=0,x=h.css("position"),_={left:0,top:0},q=h[0].offsetWidth>0,T=i&&"scroll"===i.type,C=o(t),j=f[0].ownerDocument,z=this.mouse;if(o.isArray(c)&&2===c.length)d={x:L,y:B},_={left:c[0],top:c[1]};else if("mouse"===c&&(i&&i.pageX||a.event.pageX))d={x:L,y:B},i=!z||!z.pageX||!g.mouse&&i&&i.pageX?(!i||"resize"!==i.type&&"scroll"!==i.type?i&&i.pageX&&"mousemove"===i.type?i:(!g.mouse||this.options.show.distance)&&a.origin&&a.origin.pageX?a.origin:i:a.event)||i||a.event||z||{}:z,"static"!==x&&(_=f.offset()),j.body.offsetWidth!==(t.innerWidth||j.documentElement.clientWidth)&&(r=o(j.body).offset()),_={left:i.pageX-_.left+(r&&r.left||0),top:i.pageY-_.top+(r&&r.top||0)},g.mouse&&T&&(_.left-=z.scrollX-C.scrollLeft(),_.top-=z.scrollY-C.scrollTop());else{if("event"===c&&i&&i.target&&"scroll"!==i.type&&"resize"!==i.type?a.target=o(i.target):"event"!==c&&(a.target=o(c.jquery?c:elements.target)),c=a.target,c=o(c).eq(0),0===c.length)return this;c[0]===e||c[0]===t?(b=BROWSER.iOS?t.innerWidth:c.width(),w=BROWSER.iOS?t.innerHeight:c.height(),c[0]===t&&(_={top:(u||c).scrollTop(),left:(u||c).scrollLeft()})):N.imagemap&&c.is("area")?n=N.imagemap(this,c,d,N.viewport?m:S):N.svg&&c[0].ownerSVGElement?n=N.svg(this,c,d,N.viewport?m:S):(b=c.outerWidth(S),w=c.outerHeight(S),_=c.offset()),n&&(b=n.width,w=n.height,r=n.offset,_=n.position),_=this.reposition.offset(c,_,f),(BROWSER.iOS>3.1&&4.1>BROWSER.iOS||BROWSER.iOS>=4.3&&4.33>BROWSER.iOS||!BROWSER.iOS&&"fixed"===x)&&(_.left-=C.scrollLeft(),_.top-=C.scrollTop()),(!n||n&&n.adjustable!==S)&&(_.left+=d.x===V?b:d.x===D?b/2:0,_.top+=d.y===P?w:d.y===D?w/2:0)}return _.left+=g.x+(p.x===V?-v:p.x===D?-v/2:0),_.top+=g.y+(p.y===P?-y:p.y===D?-y/2:0),N.viewport?(_.adjusted=N.viewport(this,_,l,b,w,v,y),r&&_.adjusted.left&&(_.left+=r.left),r&&_.adjusted.top&&(_.top+=r.top)):_.adjusted={left:0,top:0},this._trigger("move",[_,u.elem||u],i)?(delete _.adjusted,s===S||!q||isNaN(_.left)||isNaN(_.top)||"mouse"===c||!o.isFunction(l.effect)?h.css(_):o.isFunction(l.effect)&&(l.effect.call(h,this,o.extend({},_)),h.queue(function(t){o(this).css({opacity:"",height:""}),BROWSER.ie&&this.style.removeAttribute("filter"),t()})),this.positioning=S,this):this},C.reposition.offset=function(t,i,s){function n(t,e){i.left+=e*t.scrollLeft(),i.top+=e*t.scrollTop()}if(!s[0])return i;var r,a,h,l,c=o(t[0].ownerDocument),p=!!BROWSER.ie&&"CSS1Compat"!==e.compatMode,d=s[0];do"static"!==(a=o.css(d,"position"))&&("fixed"===a?(h=d.getBoundingClientRect(),n(c,-1)):(h=o(d).position(),h.left+=parseFloat(o.css(d,"borderLeftWidth"))||0,h.top+=parseFloat(o.css(d,"borderTopWidth"))||0),i.left-=h.left+(parseFloat(o.css(d,"marginLeft"))||0),i.top-=h.top+(parseFloat(o.css(d,"marginTop"))||0),r||"hidden"===(l=o.css(d,"overflow"))||"visible"===l||(r=o(d)));while(d=d.offsetParent);return r&&(r[0]!==c[0]||p)&&n(r,1),i};var ne=(j=C.reposition.Corner=function(t,e){t=(""+t).replace(/([A-Z])/," $1").replace(/middle/gi,D).toLowerCase(),this.x=(t.match(/left|right/i)||t.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(t.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!e;var i=t.charAt(0);this.precedance="t"===i||"b"===i?R:O}).prototype;ne.invert=function(t,e){this[t]=this[t]===L?V:this[t]===V?L:e||this[t]},ne.string=function(){var t=this.x,e=this.y;return t===e?t:this.precedance===R||this.forceY&&"center"!==e?e+" "+t:t+" "+e},ne.abbrev=function(){var t=this.string().split(" ");return t[0].charAt(0)+(t[1]&&t[1].charAt(0)||"")},ne.clone=function(){return new j(this.string(),this.forceY)},C.toggle=function(t,i){var s=this.cache,n=this.options,r=this.tooltip;if(i){if(/over|enter/.test(i.type)&&/out|leave/.test(s.event.type)&&n.show.target.add(i.target).length===n.show.target.length&&r.has(i.relatedTarget).length)return this;s.event=o.extend({},i)}if(this.waiting&&!t&&(this.hiddenDuringWait=M),!this.rendered)return t?this.render(1):this;if(this.destroyed||this.disabled)return this;var a,h,l=t?"show":"hide",c=this.options[l],p=(this.options[t?"hide":"show"],this.options.position),d=this.options.content,u=this.tooltip.css("width"),f=this.tooltip[0].offsetWidth>0,g=t||1===c.target.length,m=!i||2>c.target.length||s.target[0]===i.target;return(typeof t).search("boolean|number")&&(t=!f),a=!r.is(":animated")&&f===t&&m,h=a?E:!!this._trigger(l,[90]),h!==S&&t&&this.focus(i),!h||a?this:(o.attr(r[0],"aria-hidden",!t),t?(s.origin=o.extend({},this.mouse),o.isFunction(d.text)&&this._updateContent(d.text,S),o.isFunction(d.title)&&this._updateTitle(d.title,S),!W&&"mouse"===p.target&&p.adjust.mouse&&(o(e).bind("mousemove."+$,this._storeMouse),W=M),u||r.css("width",r.outerWidth(S)),this.reposition(i,arguments[2]),u||r.css("width",""),c.solo&&("string"==typeof c.solo?o(c.solo):o(G,c.solo)).not(r).not(c.target).qtip("hide",o.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete s.origin,W&&!o(G+'[tracking="true"]:visible',c.solo).not(r).length&&(o(e).unbind("mousemove."+$),W=S),this.blur(i)),after=o.proxy(function(){t?(BROWSER.ie&&r[0].style.removeAttribute("filter"),r.css("overflow",""),"string"==typeof c.autofocus&&o(this.options.show.autofocus,r).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):r.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(t?"visible":"hidden")},this),c.effect===S||g===S?(r[l](),after()):o.isFunction(c.effect)?(r.stop(1,1),c.effect.call(r,this),r.queue("fx",function(t){after(),t()})):r.fadeTo(90,t?1:0,after),t&&c.target.trigger("qtip-"+this.id+"-inactive"),this)},C.show=function(t){return this.toggle(M,t)},C.hide=function(t){return this.toggle(S,t)},C.focus=function(t){if(!this.rendered||this.destroyed)return this;var e=o(G),i=this.tooltip,s=parseInt(i[0].style.zIndex,10),n=T.zindex+e.length;return i.hasClass(K)||this._trigger("focus",[n],t)&&(s!==n&&(e.each(function(){this.style.zIndex>s&&(this.style.zIndex=this.style.zIndex-1)}),e.filter("."+K).qtip("blur",t)),i.addClass(K)[0].style.zIndex=n),this},C.blur=function(t){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(K),this._trigger("blur",[this.tooltip.css("zIndex")],t),this)},C.disable=function(t){return this.destroyed?this:("boolean"!=typeof t&&(t=!(this.tooltip.hasClass(te)||this.disabled)),this.rendered&&this.tooltip.toggleClass(te,t).attr("aria-disabled",t),this.disabled=!!t,this)},C.enable=function(){return this.disable(S)},C._createButton=function(){var t=this,e=this.elements,i=e.tooltip,s=this.options.content.button,n="string"==typeof s,r=n?s:"Close tooltip";e.button&&e.button.remove(),e.button=s.jquery?s:o("",{"class":"qtip-close "+(this.options.style.widget?"":$+"-icon"),title:r,"aria-label":r}).prepend(o("",{"class":"ui-icon ui-icon-close",html:"×"})),e.button.appendTo(e.titlebar||i).attr("role","button").click(function(e){return i.hasClass(te)||t.hide(e),S})},C._updateButton=function(t){if(!this.rendered)return S;var e=this.elements.button;t?this._createButton():e.remove()},C._setWidget=function(){var t=this.options.style.widget,e=this.elements,i=e.tooltip,s=i.hasClass(te);i.removeClass(te),te=t?"ui-state-disabled":"qtip-disabled",i.toggleClass(te,s),i.toggleClass("ui-helper-reset "+p(),t).toggleClass(J,this.options.style.def&&!t),e.content&&e.content.toggleClass(p("content"),t),e.titlebar&&e.titlebar.toggleClass(p("header"),t),e.button&&e.button.toggleClass($+"-icon",!t)},C._storeMouse=function(i){this.mouse={pageX:i.pageX,pageY:i.pageY,type:"mousemove",scrollX:t.pageXOffset||e.body.scrollLeft||e.documentElement.scrollLeft,scrollY:t.pageYOffset||e.body.scrollTop||e.documentElement.scrollTop}},C._bind=function(t,e,i,s,n){var r="."+this._id+(s?"-"+s:"");e.length&&o(t).bind((e.split?e:e.join(r+" "))+r,o.proxy(i,n||this))},C._unbind=function(t,e){o(t).unbind("."+this._id+(e?"-"+e:""))};var re="."+$;o(function(){m(G,["mouseenter","mouseleave"],function(t){var e="mouseenter"===t.type,i=o(t.currentTarget),s=o(t.relatedTarget||t.target),n=this.options;e?(this.focus(t),i.hasClass(Q)&&!i.hasClass(te)&&clearTimeout(this.timers.hide)):"mouse"===n.position.target&&n.hide.event&&n.show.target&&!s.closest(n.show.target[0]).length&&this.hide(t),i.toggleClass(Z,e)}),m("["+Y+"]",U,f)}),C._trigger=function(t,e,i){var s=o.Event("tooltip"+t);return s.originalEvent=i&&o.extend({},i)||this.cache.event||E,this.triggering=M,this.tooltip.trigger(s,[this].concat(e||[])),this.triggering=S,!s.isDefaultPrevented()},C._assignEvents=function(){var i=this.options,n=i.position,r=this.tooltip,a=i.show.target,h=i.hide.target,l=n.container,c=n.viewport,p=o(e),m=(o(e.body),o(t)),v=i.show.event?o.trim(""+i.show.event).split(" "):[],y=i.hide.event?o.trim(""+i.hide.event).split(" "):[],b=[];/mouse(out|leave)/i.test(i.hide.event)&&"window"===i.hide.leave&&this._bind(p,["mouseout","blur"],function(t){/select|option/.test(t.target.nodeName)||t.relatedTarget||this.hide(t)}),i.hide.fixed?h=h.add(r.addClass(Q)):/mouse(over|enter)/i.test(i.show.event)&&this._bind(h,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+i.hide.event).indexOf("unfocus")>-1&&this._bind(l.closest("html"),["mousedown","touchstart"],function(t){var e=o(t.target),i=this.rendered&&!this.tooltip.hasClass(te)&&this.tooltip[0].offsetWidth>0,s=e.parents(G).filter(this.tooltip[0]).length>0;e[0]===this.target[0]||e[0]===this.tooltip[0]||s||this.target.has(e[0]).length||!i||this.hide(t)}),"number"==typeof i.hide.inactive&&(this._bind(a,"qtip-"+this.id+"-inactive",f),this._bind(h.add(r),T.inactiveEvents,f,"-inactive")),y=o.map(y,function(t){var e=o.inArray(t,v);return e>-1&&h.add(a).length===h.length?(b.push(v.splice(e,1)[0]),s):t}),this._bind(a,v,d),this._bind(h,y,u),this._bind(a,b,function(t){(this.tooltip[0].offsetWidth>0?u:d).call(this,t)}),this._bind(a.add(r),"mousemove",function(t){if("number"==typeof i.hide.distance){var e=this.cache.origin||{},s=this.options.hide.distance,o=Math.abs;(o(t.pageX-e.pageX)>=s||o(t.pageY-e.pageY)>=s)&&this.hide(t)}this._storeMouse(t)}),"mouse"===n.target&&n.adjust.mouse&&(i.hide.event&&this._bind(a,["mouseenter","mouseleave"],function(t){this.cache.onTarget="mouseenter"===t.type}),this._bind(p,"mousemove",function(t){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(te)&&this.tooltip[0].offsetWidth>0&&this.reposition(t)})),(n.adjust.resize||c.length)&&this._bind(o.event.special.resize?c:m,"resize",g),n.adjust.scroll&&this._bind(m.add(n.container),"scroll",g)},C._unassignEvents=function(){var i=[this.options.show.target[0],this.options.hide.target[0],this.rendered&&this.tooltip[0],this.options.position.container[0],this.options.position.viewport[0],this.options.position.container.closest("html")[0],t,e];this.rendered?this._unbind(o([]).pushStack(o.grep(i,function(t){return"object"==typeof t}))):o(i[0]).unbind("."+this._id+"-create")},T=o.fn.qtip=function(t,e,i){var n=(""+t).toLowerCase(),r=E,a=o.makeArray(arguments).slice(1),l=a[a.length-1],c=this[0]?o.data(this[0],$):E;return!arguments.length&&c||"api"===n?c:"string"==typeof t?(this.each(function(){var t=o.data(this,$);if(!t)return M;if(l&&l.timeStamp&&(t.cache.event=l),!e||"option"!==n&&"options"!==n)t[n]&&t[n].apply(t,a);else{if(i===s&&!o.isPlainObject(e))return r=t.get(e),S;t.set(e,i)}}),r!==E?r:this):"object"!=typeof t&&arguments.length?s:(c=h(o.extend(M,{},t)),T.bind.call(this,c,l))},T.bind=function(t,e){return this.each(function(i){function n(t){function e(){c.render("object"==typeof t||r.show.ready),a.show.add(a.hide).unbind(l)}return c.disabled?S:(c.cache.event=o.extend({},t),c.cache.target=t?o(t.target):[s],r.show.delay>0?(clearTimeout(c.timers.show),c.timers.show=setTimeout(e,r.show.delay),h.show!==h.hide&&a.hide.bind(h.hide,function(){clearTimeout(c.timers.show)})):e(),s)}var r,a,h,l,c,p;return p=o.isArray(t.id)?t.id[i]:t.id,p=!p||p===S||1>p.length||T.api[p]?T.nextid++:p,l=".qtip-"+p+"-create",c=v(o(this),p,t),c===S?M:(T.api[p]=c,r=c.options,o.each(N,function(){"initialize"===this.initialize&&this(c)}),a={show:r.show.target,hide:r.hide.target},h={show:o.trim(""+r.show.event).replace(/ /g,l+" ")+l,hide:o.trim(""+r.hide.event).replace(/ /g,l+" ")+l},/mouse(over|enter)/i.test(h.show)&&!/mouse(out|leave)/i.test(h.hide)&&(h.hide+=" mouseleave"+l),a.show.bind("mousemove"+l,function(t){c._storeMouse(t),c.cache.onTarget=M}),a.show.bind(h.show,n),(r.show.ready||r.prerender)&&n(e),s)})},T.api={},o.each({attr:function(t,e){if(this.length){var i=this[0],s="title",n=o.data(i,"qtip");if(t===s&&n&&"object"==typeof n&&n.options.suppress)return 2>arguments.length?o.attr(i,ie):(n&&n.options.content.attr===s&&n.cache.attr&&n.set("content.text",e),this.attr(ie,e))}return o.fn["attr"+ee].apply(this,arguments)},clone:function(t){var e=(o([]),o.fn["clone"+ee].apply(this,arguments));return t||e.filter("["+ie+"]").attr("title",function(){return o.attr(this,ie)}).removeAttr(ie),e}},function(t,e){if(!e||o.fn[t+ee])return M;var i=o.fn[t+ee]=o.fn[t];o.fn[t]=function(){return e.apply(this,arguments)||i.apply(this,arguments)}}),o.ui||(o["cleanData"+ee]=o.cleanData,o.cleanData=function(t){for(var e,i=0;(e=o(t[i])).length;i++)if(e.attr(X))try{e.triggerHandler("removeqtip")}catch(s){}o["cleanData"+ee].apply(this,arguments)}),T.version="2.1.1",T.nextid=0,T.inactiveEvents=U,T.zindex=15e3,T.defaults={prerender:S,id:S,overwrite:M,suppress:M,content:{text:M,attr:"title",title:S,button:S},position:{my:"top left",at:"bottom right",target:S,container:S,viewport:S,adjust:{x:0,y:0,mouse:M,scroll:M,resize:M,method:"flipinvert flipinvert"},effect:function(t,e){o(this).animate(e,{duration:200,queue:S})}},show:{target:S,event:"mouseenter",effect:M,delay:90,solo:S,ready:S,autofocus:S},hide:{target:S,event:"mouseleave",effect:M,delay:0,fixed:S,inactive:S,leave:"window",distance:S},style:{classes:"",widget:S,width:S,height:S,def:M},events:{render:E,move:E,show:E,hide:E,toggle:E,visible:E,hidden:E,focus:E,blur:E}};var ae,he="margin",le="border",ce="color",pe="background-color",de="transparent",ue=" !important",fe=!!e.createElement("canvas").getContext,ge=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,me={},ve=["Webkit","O","Moz","ms"];fe||(createVML=function(t,e,i){return"'}),o.extend(x.prototype,{init:function(t){var e,i;i=this.element=t.elements.tip=o("
      ",{"class":$+"-tip"}).prependTo(t.tooltip),fe?(e=o("").appendTo(this.element)[0].getContext("2d"),e.lineJoin="miter",e.miterLimit=100,e.save()):(e=createVML("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(e+e),t._bind(o("*",i).add(i),["click","mousedown"],function(t){t.stopPropagation()},this._ns)),t._bind(t.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(t){var e=this.qtip.elements.titlebar;return e&&(t.y===B||t.y===D&&this.element.position().top+this.size[1]/2+this.options.offsetBROWSER.ie?0:w(this._useTitle(t)&&e.titlebar||e.content,i)||w(e.tooltip,i)||0},_invalidColour:function(t,e,i){var s=t.css(e);return!s||i&&s===t.css(i)||ge.test(s)?S:s},_parseColours:function(t){var e=this.qtip.elements,i=this.element.css("cssText",""),s=le+y(t[t.precedance])+y(ce),n=this._useTitle(t)&&e.titlebar||e.content,r=this._invalidColour,a=[];return a[0]=r(i,pe)||r(n,pe)||r(e.content,pe)||r(tooltip,pe)||i.css(pe),a[1]=r(i,s,ce)||r(n,s,ce)||r(e.content,s,ce)||r(tooltip,s,ce)||tooltip.css(s),o("*",i).add(i).css("cssText",pe+":"+de+ue+";"+le+":0"+ue+";"),a},_calculateSize:function(t){var e,i,s,o=t.precedance===R,n=this.options[o?"height":"width"],r=this.options[o?"width":"height"],a="c"===t.abbrev(),h=n*(a?.5:1),l=Math.pow,c=Math.round,p=Math.sqrt(l(h,2)+l(r,2)),d=[this.border/h*p,this.border/r*p];return d[2]=Math.sqrt(l(d[0],2)-l(this.border,2)),d[3]=Math.sqrt(l(d[1],2)-l(this.border,2)),e=p+d[2]+d[3]+(a?0:d[0]),i=e/p,s=[c(i*n),c(i*r)],o?s:s.reverse()},_calculateTip:function(t){var e=this.size[0],i=this.size[1],s=Math.ceil(e/2),o=Math.ceil(i/2),n={br:[0,0,e,i,e,0],bl:[0,0,e,0,0,i],tr:[0,i,e,0,e,i],tl:[0,0,0,i,e,i],tc:[0,i,s,0,e,i],bc:[0,0,e,0,s,i],rc:[0,0,e,o,0,i],lc:[e,0,e,i,0,o]};return n.lt=n.br,n.rt=n.bl,n.lb=n.tr,n.rb=n.tl,n[t.abbrev()]},create:function(){var t=this.corner=(fe||BROWSER.ie)&&this._parseCorner(this.options.corner);return(this.enabled=!!this.corner&&"c"!==this.corner.abbrev())&&(this.qtip.cache.corner=t.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(t,e){if(!this.enabled)return this;var i,s,n,r,a,h,l,c=(this.qtip.elements,this.element),p=c.children(),d=this.options,u=this.size,f=d.mimic,g=Math.round;t||(t=this.qtip.cache.corner||this.corner),f===S?f=t:(f=new j(f),f.precedance=t.precedance,"inherit"===f.x?f.x=t.x:"inherit"===f.y?f.y=t.y:f.x===f.y&&(f[t.precedance]=t[t.precedance])),s=f.precedance,t.precedance===O?this._swapDimensions():this._resetDimensions(),i=this.color=this._parseColours(t),i[1]!==de?(l=this.border=this._parseWidth(t,t[t.precedance]),d.border&&1>l&&(i[0]=i[1]),this.border=l=d.border!==M?d.border:l):this.border=l=0,r=this._calculateTip(f),h=this.size=this._calculateSize(t),c.css({width:h[0],height:h[1],lineHeight:h[1]+"px"}),a=t.precedance===R?[g(f.x===L?l:f.x===V?h[0]-u[0]-l:(h[0]-u[0])/2),g(f.y===B?h[1]-u[1]:0)]:[g(f.x===L?h[0]-u[0]:0),g(f.y===B?l:f.y===P?h[1]-u[1]-l:(h[1]-u[1])/2)],fe?(p.attr(I,h[0]).attr(k,h[1]),n=p[0].getContext("2d"),n.restore(),n.save(),n.clearRect(0,0,3e3,3e3),n.fillStyle=i[0],n.strokeStyle=i[1],n.lineWidth=2*l,n.translate(a[0],a[1]),n.beginPath(),n.moveTo(r[0],r[1]),n.lineTo(r[2],r[3]),n.lineTo(r[4],r[5]),n.closePath(),l&&("border-box"===tooltip.css("background-clip")&&(n.strokeStyle=i[0],n.stroke()),n.strokeStyle=i[1],n.stroke()),n.fill()):(r="m"+r[0]+","+r[1]+" l"+r[2]+","+r[3]+" "+r[4]+","+r[5]+" xe",a[2]=l&&/^(r|b)/i.test(t.string())?8===BROWSER.ie?2:1:0,p.css({coordsize:u[0]+l+" "+(u[1]+l),antialias:""+(f.string().indexOf(D)>-1),left:a[0]-a[2]*Number(s===O),top:a[1]-a[2]*Number(s===R),width:u[0]+l,height:u[1]+l}).each(function(t){var e=o(this);e[e.prop?"prop":"attr"]({coordsize:u[0]+l+" "+(u[1]+l),path:r,fillcolor:i[0],filled:!!t,stroked:!t}).toggle(!(!l&&!t)),!t&&e.html(createVML("stroke",'weight="'+2*l+'px" color="'+i[1]+'" miterlimit="1000" joinstyle="miter"'))})),e!==S&&this.calculate(t)},calculate:function(t){if(!this.enabled)return S;var e,i,s,n=this,r=this.qtip.elements,a=this.element,h=this.options.offset,l=(this.qtip.tooltip.hasClass("ui-widget"),{});return t=t||this.corner,e=t.precedance,i=this._calculateSize(t),s=[t.x,t.y],e===O&&s.reverse(),o.each(s,function(s,o){var a,c,p;o===D?(a=e===R?L:B,l[a]="50%",l[he+"-"+a]=-Math.round(i[e===R?0:1]/2)+h):(a=n._parseWidth(t,o,r.tooltip),c=n._parseWidth(t,o,r.content),p=n._parseRadius(t),l[o]=Math.max(-n.border,s?c:h+(p>a?p:-a)))}),l[t[e]]-=i[e===O?0:1],a.css({margin:"",top:"",bottom:"",left:"",right:""}).css(l),l},reposition:function(t,e,i){if(this.enabled){var o,n,r=e.cache,a=this.corner.clone(),h=i.adjusted,l=e.options.position.adjust.method.split(" "),c=l[0],p=l[1]||l[0],d={left:S,top:S,x:0,y:0},u={};this.corner.fixed!==M&&(c===F&&a.precedance===O&&h.left&&a.y!==D?a.precedance=a.precedance===O?R:O:c!==F&&h.left&&(a.x=a.x===D?h.left>0?L:V:a.x===L?V:L),p===F&&a.precedance===R&&h.top&&a.x!==D?a.precedance=a.precedance===R?O:R:p!==F&&h.top&&(a.y=a.y===D?h.top>0?B:P:a.y===B?P:B),a.string()===r.corner.string()||r.cornerTop===h.top&&r.cornerLeft===h.left||this.update(a,S)),o=this.calculate(a,h),o.right!==s&&(o.left=-o.right),o.bottom!==s&&(o.top=-o.bottom),o.user=this.offset,(d.left=c===F&&!!h.left)&&(a.x===D?u[he+"-left"]=d.x=o[he+"-left"]-h.left:(n=o.right!==s?[h.left,-o.left]:[-h.left,o.left],(d.x=Math.max(n[0],n[1]))>n[0]&&(i.left-=h.left,d.left=S),u[o.right!==s?V:L]=d.x)),(d.top=p===F&&!!h.top)&&(a.y===D?u[he+"-top"]=d.y=o[he+"-top"]-h.top:(n=o.bottom!==s?[h.top,-o.top]:[-h.top,o.top],(d.y=Math.max(n[0],n[1]))>n[0]&&(i.top-=h.top,d.top=S),u[o.bottom!==s?P:B]=d.y)),this.element.css(u).toggle(!(d.x&&d.y||a.x===D&&d.y||a.y===D&&d.x)),i.left-=o.left.charAt?o.user:c!==F||d.top||!d.left&&!d.top?o.left:0,i.top-=o.top.charAt?o.user:p!==F||d.left||!d.left&&!d.top?o.top:0,r.cornerLeft=h.left,r.cornerTop=h.top,r.corner=a.clone() +}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),ae=N.tip=function(t){return new x(t,t.options.style.tip)},ae.initialize="render",ae.sanitize=function(t){t.style&&"tip"in t.style&&(opts=t.style.tip,"object"!=typeof opts&&(opts=t.style.tip={corner:opts}),/string|boolean/i.test(typeof opts.corner)||(opts.corner=M))},z.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(t){this.size=size=[t.width,t.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},o.extend(M,T.defaults,{style:{tip:{corner:M,mimic:S,width:6,height:6,border:M,offset:0}}});var ye,be,we="qtip-modal",xe="."+we;be=function(){function i(t){if(o.expr[":"].focusable)return o.expr[":"].focusable;var e,i,s,n=!isNaN(o.attr(t,"tabindex")),r=t.nodeName&&t.nodeName.toLowerCase();return"area"===r?(e=t.parentNode,i=e.name,t.href&&i&&"map"===e.nodeName.toLowerCase()?(s=o("img[usemap=#"+i+"]")[0],!!s&&s.is(":visible")):!1):/input|select|textarea|button|object/.test(r)?!t.disabled:"a"===r?t.href||n:n}function s(t){1>p.length&&t.length?t.not("body").blur():p.first().focus()}function n(t){if(l.is(":visible")){var e,i=o(t.target),n=r.tooltip,h=i.closest(G);e=1>h.length?S:parseInt(h[0].style.zIndex,10)>parseInt(n[0].style.zIndex,10),e||i.closest(G)[0]===n[0]||s(i),a=t.target===p[p.length-1]}}var r,a,h,l,c=this,p={};o.extend(c,{init:function(){function i(){var t=o(this);l.css({height:t.height(),width:t.width()})}return l=c.elem=o("
      ",{id:"qtip-overlay",html:"
      ",mousedown:function(){return S}}).hide(),o(t).bind("resize"+xe,i),i(),o(e.body).bind("focusin"+xe,n),o(e).bind("keydown"+xe,function(t){r&&r.options.show.modal.escape&&27===t.keyCode&&r.hide(t)}),l.bind("click"+xe,function(t){r&&r.options.show.modal.blur&&r.hide(t)}),c},update:function(t){r=t,p=t.options.show.modal.stealfocus!==S?t.tooltip.find("*").filter(function(){return i(this)}):[]},toggle:function(t,i,n){var a=(o(e.body),t.tooltip),p=t.options.show.modal,d=p.effect,u=i?"show":"hide",f=l.is(":visible"),g=o(xe).filter(":visible:not(:animated)").not(a);return c.update(t),i&&p.stealfocus!==S&&s(o(":focus")),l.toggleClass("blurs",p.blur),i&&l.css({left:0,top:0}).appendTo(e.body),l.is(":animated")&&f===i&&h!==S||!i&&g.length?c:(l.stop(M,S),o.isFunction(d)?d.call(l,i):d===S?l[u]():l.fadeTo(parseInt(n,10)||90,i?1:0,function(){i||l.hide()}),i||l.queue(function(t){l.css({left:"",top:""}),o(xe).length||l.detach(),t()}),h=i,r.destroyed&&(r=E),c)}}),c.init()},be=new be,o.extend(_.prototype,{init:function(t){var e=t.tooltip;return this.options.on?(t.elements.overlay=be.elem,e.addClass(we).css("z-index",N.modal.zindex+o(xe).length),t._bind(e,["tooltipshow","tooltiphide"],function(t,i,s){var n=t.originalEvent;if(t.target===e[0])if(n&&"tooltiphide"===t.type&&/mouse(leave|enter)/.test(n.type)&&o(n.relatedTarget).closest(overlay[0]).length)try{t.preventDefault()}catch(r){}else(!n||n&&!n.solo)&&this.toggle(t,"tooltipshow"===t.type,s)},this._ns,this),t._bind(e,"tooltipfocus",function(t,i){if(!t.isDefaultPrevented()&&t.target===e[0]){var s=o(xe),n=N.modal.zindex+s.length,r=parseInt(e[0].style.zIndex,10);be.elem[0].style.zIndex=n-1,s.each(function(){this.style.zIndex>r&&(this.style.zIndex-=1)}),s.filter("."+K).qtip("blur",t.originalEvent),e.addClass(K)[0].style.zIndex=n,be.update(i);try{t.preventDefault()}catch(a){}}},this._ns,this),t._bind(e,"tooltiphide",function(t){t.target===e[0]&&o(xe).filter(":visible").not(e).last().qtip("focus",t)},this._ns,this),s):this},toggle:function(t,e,i){return t&&t.isDefaultPrevented()?this:(be.toggle(this.qtip,!!e,i),s)},destroy:function(){this.qtip.tooltip.removeClass(we),this.qtip._unbind(this.qtip.tooltip,this._ns),be.toggle(this.qtip,S),delete this.qtip.elements.overlay}}),ye=N.modal=function(t){return new _(t,t.options.show.modal)},ye.sanitize=function(t){t.show&&("object"!=typeof t.show.modal?t.show.modal={on:!!t.show.modal}:t.show.modal.on===s&&(t.show.modal.on=M))},ye.zindex=T.zindex-200,ye.initialize="render",z.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},o.extend(M,T.defaults,{show:{modal:{on:S,effect:M,blur:M,stealfocus:M,escape:M}}}),N.viewport=function(i,s,o,n,r,a,h){function l(t,e,i,o,n,r,a,h,l){var c=s[n],d=g[t],u=m[t],f=i===F,v=-_.offset[n]+x.offset[n]+x["scroll"+n],y=d===n?l:d===r?-l:-l/2,b=u===n?h:u===r?-h:-h/2,w=T&&T.size?T.size[a]||0:0,q=T&&T.corner&&T.corner.precedance===t&&!f?w:0,C=v-c+q,j=c+l-x[a]-v+q,z=y-(g.precedance===t||d===g[e]?b:0)-(u===D?h/2:0);return f?(q=T&&T.corner&&T.corner.precedance===e?w:0,z=(d===n?1:-1)*y-q,s[n]+=C>0?C:j>0?-j:0,s[n]=Math.max(-_.offset[n]+x.offset[n]+(q&&T.corner[t]===D?T.offset:0),c-z,Math.min(Math.max(-_.offset[n]+x.offset[n]+x[a],c+z),s[n]))):(o*=i===A?2:0,C>0&&(d!==n||j>0)?(s[n]-=z+o,p.invert(t,n)):j>0&&(d!==r||C>0)&&(s[n]-=(d===D?-z:z)+o,p.invert(t,r)),v>s[n]&&-s[n]>j&&(s[n]=c,p=g.clone())),s[n]-c}var c,p,d,u=o.target,f=i.elements.tooltip,g=o.my,m=o.at,v=o.adjust,y=v.method.split(" "),b=y[0],w=y[1]||y[0],x=o.viewport,_=o.container,q=i.cache,T=i.plugins.tip,C={left:0,top:0};return x.jquery&&u[0]!==t&&u[0]!==e.body&&"none"!==v.method?(c="fixed"===f.css("position"),x={elem:x,width:x[0]===t?x.width():x.outerWidth(S),height:x[0]===t?x.height():x.outerHeight(S),scrollleft:c?0:x.scrollLeft(),scrolltop:c?0:x.scrollTop(),offset:x.offset()||{left:0,top:0}},_={elem:_,scrollLeft:_.scrollLeft(),scrollTop:_.scrollTop(),offset:_.offset()||{left:0,top:0}},("shift"!==b||"shift"!==w)&&(p=g.clone()),C={left:"none"!==b?l(O,R,b,v.x,L,V,I,n,a):0,top:"none"!==w?l(R,O,w,v.y,B,P,k,r,h):0},p&&q.lastClass!==(d=$+"-pos-"+p.abbrev())&&f.removeClass(i.cache.lastClass).addClass(i.cache.lastClass=d),C):C},N.polys={polygon:function(t,e){var i,s,o,n={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:S},r=0,a=[],h=1,l=1,c=0,p=0;for(r=t.length;r--;)i=[parseInt(t[--r],10),parseInt(t[r+1],10)],i[0]>n.position.right&&(n.position.right=i[0]),i[0]n.position.bottom&&(n.position.bottom=i[1]),i[1]0&&o>0&&h>0&&l>0;)for(s=Math.floor(s/2),o=Math.floor(o/2),e.x===L?h=s:e.x===V?h=n.width-s:h+=Math.floor(s/2),e.y===B?l=o:e.y===P?l=n.height-o:l+=Math.floor(o/2),r=a.length;r--&&!(2>a.length);)c=a[r][0]-n.position.left,p=a[r][1]-n.position.top,(e.x===L&&c>=h||e.x===V&&h>=c||e.x===D&&(h>c||c>n.width-h)||e.y===B&&p>=l||e.y===P&&l>=p||e.y===D&&(l>p||p>n.height-l))&&a.splice(r,1);n.position={left:a[0][0],top:a[0][1]}}return n},rect:function(t,e,i,s){return{width:Math.abs(i-t),height:Math.abs(s-e),position:{left:Math.min(t,i),top:Math.min(e,s)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:.25,bl:.75,rc:2,lc:1,c:0},ellipse:function(t,e,i,s,o){var n=N.polys._angles[o.abbrev()],r=i*Math.cos(n*Math.PI),a=s*Math.sin(n*Math.PI);return{width:2*i-Math.abs(r),height:2*s-Math.abs(a),position:{left:t+r,top:e+a},adjustable:S}},circle:function(t,e,i,s){return N.polys.ellipse(t,e,i,i,s)}},N.svg=function(t,s,n){for(var r,a,h,l=o(e),c=s[0],p={};!c.getBBox;)c=c.parentNode;if(!c.getBBox||!c.parentNode)return S;switch(c.nodeName){case"rect":a=N.svg.toPixel(c,c.x.baseVal.value,c.y.baseVal.value),h=N.svg.toPixel(c,c.x.baseVal.value+c.width.baseVal.value,c.y.baseVal.value+c.height.baseVal.value),p=N.polys.rect(a[0],a[1],h[0],h[1],n);break;case"ellipse":case"circle":a=N.svg.toPixel(c,c.cx.baseVal.value,c.cy.baseVal.value),p=N.polys.ellipse(a[0],a[1],(c.rx||c.r).baseVal.value,(c.ry||c.r).baseVal.value,n);break;case"line":case"polygon":case"polyline":for(points=c.points||[{x:c.x1.baseVal.value,y:c.y1.baseVal.value},{x:c.x2.baseVal.value,y:c.y2.baseVal.value}],p=[],i=-1,len=points.numberOfItems||points.length;len>++i;)next=points.getItem?points.getItem(i):points[i],p.push.apply(p,N.svg.toPixel(c,next.x,next.y));p=N.polys.polygon(p,n);break;default:if(r=c.getBBox(),mtx=c.getScreenCTM(),root=c.farthestViewportElement||c,!root.createSVGPoint)return S;point=root.createSVGPoint(),point.x=r.x,point.y=r.y,tPoint=point.matrixTransform(mtx),p.position={left:tPoint.x,top:tPoint.y},point.x+=r.width,point.y+=r.height,tPoint=point.matrixTransform(mtx),p.width=tPoint.x-p.position.left,p.height=tPoint.y-p.position.top}return p.position.left+=l.scrollLeft(),p.position.top+=l.scrollTop(),p},N.svg.toPixel=function(t,e,i){var s,o,n=t.getScreenCTM(),r=t.farthestViewportElement||t;return r.createSVGPoint?(o=r.createSVGPoint(),o.x=e,o.y=i,s=o.matrixTransform(n),[s.x,s.y]):S},N.imagemap=function(t,e,i){e.jquery||(e=o(e));var s,n,r,a=e.attr("shape").toLowerCase().replace("poly","polygon"),h=o('img[usemap="#'+e.parent("map").attr("name")+'"]'),l=e.attr("coords"),c=l.split(",");if(!h.length)return S;if("polygon"===a)result=N.polys.polygon(c,i);else{if(!N.polys[a])return S;for(r=-1,len=c.length,n=[];len>++r;)n.push(parseInt(c[r],10));result=N.polys[a].apply(this,n.concat(i))}return s=h.offset(),s.left+=Math.ceil((h.outerWidth(S)-h.width())/2),s.top+=Math.ceil((h.outerHeight(S)-h.height())/2),result.position.left+=s.left,result.position.top+=s.top,result};var _e,qe='';o.extend(q.prototype,{_scroll:function(){var e=this.qtip.elements.overlay;e&&(e[0].style.top=o(t).scrollTop()+"px")},init:function(i){var s=i.tooltip;1>o("select, object").length&&(this.bgiframe=i.elements.bgiframe=o(qe).appendTo(s),i._bind(s,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=o("
      ",{id:$+"-rcontainer"}).appendTo(e.body),i.elements.overlay&&i.elements.overlay.addClass("qtipmodal-ie6fix")&&(i._bind(t,["scroll","resize"],this._scroll,this._ns,this),i._bind(s,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var t,e,i=this.qtip.tooltip,s={height:i.outerHeight(S),width:i.outerWidth(S)},o=this.qtip.plugins.tip,n=this.qtip.elements.tip;e=parseInt(i.css("borderLeftWidth"),10)||0,e={left:-e,top:-e},o&&n&&(t="x"===o.corner.precedance?[I,L]:[k,B],e[t[1]]-=n[t[0]]()),this.bgiframe.css(e).css(s)},redraw:function(){if(1>this.qtip.rendered||this.drawing)return self;var t,e,i,s,o=this.qtip.tooltip,n=this.qtip.options.style,r=this.qtip.options.position.container;return this.qtip.drawing=1,n.height&&o.css(k,n.height),n.width?o.css(I,n.width):(o.css(I,"").appendTo(this.redrawContainer),e=o.width(),1>e%2&&(e+=1),i=o.css("maxWidth")||"",s=o.css("minWidth")||"",t=(i+s).indexOf("%")>-1?r.width()/100:0,i=(i.indexOf("%")>-1?t:1)*parseInt(i,10)||e,s=(s.indexOf("%")>-1?t:1)*parseInt(s,10)||0,e=i+s?Math.min(Math.max(e,s),i):e,o.css(I,Math.round(e)).appendTo(r)),this.drawing=0,self},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([t,this.qtip.tooltip],this._ns)}}),_e=N.ie6=function(t){return 6===BROWSER.ie?new q(t):S},_e.initialize="render",z.ie6={"^content|style$":function(){this.redraw()}}})})(window,document); \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/qtip2/qtip.97suifang.css b/97suifangqa/staticfiles/plugins/qtip2/qtip.97suifang.css new file mode 100644 index 0000000..91f6e27 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/qtip2/qtip.97suifang.css @@ -0,0 +1,12 @@ +/* + * 97suifang style customizations + * for qtip2 plugin + */ + +.qtip-sf .qtip-close { + border-radius: 0; + border-width: 0; + border-style: none; + border-color: transparent; +} + diff --git a/97suifangqa/staticfiles/plugins/thickbox/README b/97suifangqa/staticfiles/plugins/thickbox/README new file mode 100644 index 0000000..b829acb --- /dev/null +++ b/97suifangqa/staticfiles/plugins/thickbox/README @@ -0,0 +1,20 @@ +Before you can implement ThickBox make sure the page that invokes ThickBox has a valid DTD. This is required for ThickBox to look and function correctly. + +1. ThickBox requires the jQuery JavaScript library; because of this, you will need to include the jquery.js file in the head element of your web page, followed by the thickbox.js file (NOTE: jquery.js must come first in the source order). Example below: + + + + +Once you have included the .js files, open thickbox.js or thickbox-compressed.js and locate the tb_pathToImage variable at the top of the page. Once you have found it, make sure to change the value of tb_pathToImage to the path where the loadingAnimation.gif file is located on your own server. + +2. Include the ThickBox CSS file in your web page. As of version 3.1 you will also need to update the path to the macFFBgHack.png in the thickbox.css file. Example options below: + + + +Or + + + +Or, open the thickbox.css file and copy and paste the styles into an existing style sheet. Be aware that the ThickBox CSS file will remove the browsers default padding and margin for all elements. + +3. View the examples to learn the many different ways to use and invoke ThickBox functionality. \ No newline at end of file diff --git a/97suifangqa/staticfiles/plugins/thickbox/VERSION_2.0 b/97suifangqa/staticfiles/plugins/thickbox/VERSION_2.0 new file mode 100644 index 0000000..e69de29 diff --git a/97suifangqa/staticfiles/plugins/thickbox/images/loadingAnimation.gif b/97suifangqa/staticfiles/plugins/thickbox/images/loadingAnimation.gif new file mode 100644 index 0000000..92c5c30 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/thickbox/images/loadingAnimation.gif differ diff --git a/97suifangqa/staticfiles/plugins/thickbox/images/loadingAnimation2.gif b/97suifangqa/staticfiles/plugins/thickbox/images/loadingAnimation2.gif new file mode 100644 index 0000000..82290f4 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/thickbox/images/loadingAnimation2.gif differ diff --git a/97suifangqa/staticfiles/plugins/thickbox/images/macFFBgHack.png b/97suifangqa/staticfiles/plugins/thickbox/images/macFFBgHack.png new file mode 100644 index 0000000..c6473b3 Binary files /dev/null and b/97suifangqa/staticfiles/plugins/thickbox/images/macFFBgHack.png differ diff --git a/97suifangqa/staticfiles/plugins/thickbox/thickbox.css b/97suifangqa/staticfiles/plugins/thickbox/thickbox.css new file mode 100644 index 0000000..9cf9577 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/thickbox/thickbox.css @@ -0,0 +1,135 @@ +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +*{padding: 0; margin: 0;} + +html, body { +min-height: 100%; +height: auto !important; +height: 100%; +} + +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +#TB_window { + font: 12px Arial, Helvetica, sans-serif; + color: #333333; +} + +#TB_secondLine { + font: 10px Arial, Helvetica, sans-serif; + color:#666666; +} + +#TB_window a:link {color: #666666;} +#TB_window a:visited {color: #666666;} +#TB_window a:hover {color: #000;} +#TB_window a:active {color: #666666;} +#TB_window a:focus{color: #666666;} + +/* ----------------------------------------------------------------------------------------------------------------*/ +/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/ +/* ----------------------------------------------------------------------------------------------------------------*/ +#TB_overlay { + position: absolute; + z-index:100; + width: 100%; + height: 100%; + top: 0; + left: 0; + min-height:100%; + background-color:#000; + filter:alpha(opacity=60); + -moz-opacity: 0.6; + opacity: 0.6; +} + +#TB_window { + position: absolute; + /*background: #ffffff;*/ + z-index: 102; + color:#000000; + display:none; + /*border: 4px solid #525252;*/ + text-align:left; +} + +#TB_window img { + display:block; + margin: 15px 0 0 15px; + border-right: 1px solid #ccc; + border-bottom: 1px solid #ccc; + border-top: 1px solid #666; + border-left: 1px solid #666; +} + +#TB_caption{ + height:25px; + padding:7px 30px 10px 25px; + float:left; +} + +#TB_closeWindow{ + height:25px; + padding:11px 25px 10px 0; + float:right; +} + +#TB_closeAjaxWindow{ + padding:5px 10px 7px 0; + margin-bottom:1px; + text-align:right; + float:right; +} + +#TB_ajaxWindowTitle{ + float:left; + padding:7px 0 5px 10px; + margin-bottom:1px; +} + +#TB_title{ + background-color:#e8e8e8; + height:27px; +} + +#TB_ajaxContent{ + clear:both; + padding:2px 15px 15px 15px; + overflow:auto; + text-align:left; + line-height:1.4em; +} + +#TB_ajaxContent p{ + padding:5px 0px 5px 0px; +} + +#TB_load{ + position: absolute; + display:none; + height:100px; + width:100px; + z-index:101; +} + +#TB_HideSelect{ + z-index:99; + position:absolute; + top: 0; + left: 0; + width:100%; + height:100%; + background-color:#fff; + border:none; + filter:alpha(opacity=0); + -moz-opacity: 0; + opacity: 0; +} + +#TB_iframeContent{ + border:none; + clear:both; +} + diff --git a/97suifangqa/staticfiles/plugins/thickbox/thickbox.js b/97suifangqa/staticfiles/plugins/thickbox/thickbox.js new file mode 100644 index 0000000..9b6fb06 --- /dev/null +++ b/97suifangqa/staticfiles/plugins/thickbox/thickbox.js @@ -0,0 +1,321 @@ +/* + * Thickbox 2.0 - One Box To Rule Them All. + * By Cody Lindley (http://www.codylindley.com) + * Copyright (c) 2006 cody lindley + * Licensed under the MIT License: + * http://www.opensource.org/licenses/mit-license.php + * Thickbox is built on top of the very light weight jQuery library. + */ + +//on page load call TB_init +$(document).ready(function() { + // set loadingAnimation image + if (typeof parent.thickbox_loading_image !== 'undefined') { + tb_pathToImage = parent.thickbox_loading_image; + } + else if (typeof parent.static_url !== 'undefined') { + tb_pathToImage = parent.static_url + "images/loadingAnimation.gif"; + } + else { + tb_pathToImage = "images/loadingAnimation.gif"; + } + //console.log("tb_pathToImage: ", tb_pathToImage); + imgLoader = new Image();// preload image + imgLoader.src = tb_pathToImage; + // init + TB_init(); +}); + +//add thickbox to href elements that have a class of .thickbox +function TB_init(){ + //$("a.thickbox").live("click", function(){ + // '.live()' removed in jQuery 1.9 + $(document).on("click", "a.thickbox", function(){ + if(this.href == 'javascript:void(0)'){ + return false; + } + var t = this.title || this.name || null; + var g = this.rel || false; + TB_show(t, this.href, g); + this.blur(); + return false; + }); +} + +function TB_show(caption, url, imageGroup) {//function called when the user clicks on a thickbox link + try { + if (document.getElementById("TB_HideSelect") == null) { + $("body").append("
      "); + $("#TB_overlay").click(TB_remove); + } + + if(caption==null){caption=""}; + + $(window).scroll(TB_position); + + TB_overlaySize(); + + $("body").append("
      "); + TB_load_position(); + + var urlString = /\.jpg|\.jpeg|\.png|\.gif|\.html|\.htm|\.php|\.cfm|\.asp|\.aspx|\.jsp|\.jst|\.rb|\.txt|\.bmp/g; + var urlType = url.toLowerCase().match(urlString); + + // check 'url_type' query param + // django url does not have '.xxx' extensions + var queryString = url.replace(/^[^\?]+\??/,''); + var params = TB_parseQuery( queryString ); + //console.log("params['url_type']: ", params['url_type']); + var _undefined_; // local undefined + if (params['url_type'] !== _undefined_ && params['url_type'] !== '') { + urlType = params['url_type']; + } + //console.log('urlType: ', urlType); + + if(urlType == '.jpg' || urlType == '.jpeg' || urlType == '.png' || urlType == '.gif' || urlType == '.bmp'){//code to show images + + TB_PrevCaption = ""; + TB_PrevURL = ""; + TB_PrevHTML = ""; + TB_NextCaption = ""; + TB_NextURL = ""; + TB_NextHTML = ""; + TB_imageCount = ""; + TB_FoundURL = false; + if(imageGroup){ + TB_TempArray = $("a[@rel="+imageGroup+"]").get(); + for (TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML == "")); TB_Counter++) { + var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString); + if (!(TB_TempArray[TB_Counter].href == url)) { + if (TB_FoundURL) { + TB_NextCaption = TB_TempArray[TB_Counter].title; + TB_NextURL = TB_TempArray[TB_Counter].href; + TB_NextHTML = "  
      Next >"; + } else { + TB_PrevCaption = TB_TempArray[TB_Counter].title; + TB_PrevURL = TB_TempArray[TB_Counter].href; + TB_PrevHTML = "  < Prev"; + } + } else { + TB_FoundURL = true; + TB_imageCount = "Image " + (TB_Counter + 1) +" of "+ (TB_TempArray.length); + } + } + } + + imgPreloader = new Image(); + imgPreloader.onload = function(){ + + imgPreloader.onload = null; + + // Resizing large images - orginal by Christian Montoya edited by me. + var pagesize = TB_getPageSize(); + var x = pagesize[0] - 150; + var y = pagesize[1] - 150; + var imageWidth = imgPreloader.width; + var imageHeight = imgPreloader.height; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + } + } else if (imageHeight > y) { + imageWidth = imageWidth * (y / imageHeight); + imageHeight = y; + if (imageWidth > x) { + imageHeight = imageHeight * (x / imageWidth); + imageWidth = x; + } + } + // End Resizing + + TB_WIDTH = imageWidth + 30; + TB_HEIGHT = imageHeight + 60; + $("#TB_window").append(""+caption+"" + "
      "+caption+"
      " + TB_imageCount + TB_PrevHTML + TB_NextHTML + "
      "); + + $("#TB_closeWindowButton").click(TB_remove); + + if (!(TB_PrevHTML == "")) { + function goPrev(){ + if($(document).unclick(goPrev)){$(document).unclick(goPrev)}; + $("#TB_window").remove(); + $("body").append("
      "); + $(document).unkeyup(); + TB_show(TB_PrevCaption, TB_PrevURL, imageGroup); + return false; + } + + $("#TB_prev").click(goPrev); + + $(document).keyup( function(e){ var key = e.keyCode; if(key == 37){goPrev()} }); + } + + + + if (!(TB_NextHTML == "")) { + function goNext(){ + $("#TB_window").remove(); + $("body").append("
      "); + $(document).unkeyup(); + TB_show(TB_NextCaption, TB_NextURL, imageGroup); + return false; + } + + $("#TB_next").click(goNext); + + $(document).keyup( function(e){ var key = e.keyCode; if(key == 39){goNext()} }); + } + + TB_position(); + $("#TB_load").remove(); + $("#TB_ImageOff").click(TB_remove); + $("#TB_window").css({display:"block"}); //for safari using css instead of show + } + + imgPreloader.src = url; + } + + if(urlType=='.htm'||urlType=='.html'||urlType=='.php'||urlType=='.asp'||urlType=='.aspx'||urlType=='.jsp'||urlType=='.jst'||urlType=='.rb'||urlType=='.txt'||urlType=='.cfm' || (url.indexOf('TB_inline') != -1) || (url.indexOf('TB_iframe') != -1) ){//code to show html pages + + var queryString = url.replace(/^[^\?]+\??/,''); + var params = TB_parseQuery( queryString ); + + //console.log(queryString); + //console.log(params); + //TB_WIDTH = (params['width']*1) + 30 || 630; + //TB_HEIGHT = (params['height']*1) + 40 || 440; + //ajaxContentW = TB_WIDTH - 30; + //ajaxContentH = TB_HEIGHT - 45; + TB_WIDTH = (params['width']*1); + TB_HEIGHT = (params['height']*1); + ajaxContentW = TB_WIDTH; + ajaxContentH = TB_HEIGHT; + + //console.log(url); + if(params['no_title'] != "true"){ + $("#TB_window").append("
      "+caption+"
      "); + TB_HEIGHT += 27; //title height + } + if(url.indexOf('TB_iframe') != -1){ + if(url.indexOf('transfer_params') == -1){ + urlNoQuery = url.substr(0,TB_strpos(url, "?")); + urlNoTBQuery = url.split('TB_'); + }else{ + urlNoQuery = url; + } + $("#TB_window").append(""); + }else{ + $("#TB_window").append("
      "); + } + + $("#TB_closeWindowButton").click(TB_remove); + + if(url.indexOf('TB_inline') != -1){ + $("#TB_ajaxContent").html($('#' + params['inlineId']).html()); + TB_position(); + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + }else if(url.indexOf('TB_iframe') != -1){ + TB_position(); + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + }else{ + $("#TB_ajaxContent").load(url, function(){ + TB_position(); + $("#TB_load").remove(); + $("#TB_window").css({display:"block"}); + }); + } + + } + + $(window).resize(TB_position); + + } catch(e) { + alert( e ); + } +} + +//helper functions below + +function TB_remove() { + $("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').remove();}); + $("#TB_load").remove(); + //$(document).unkeyup(); + return false; +} + +function TB_position() { + var pagesize = TB_getPageSize(); + var arrayPageScroll = TB_getPageScrollTop(); + $("#TB_window").css({height:TB_HEIGHT+"px",width:TB_WIDTH+"px",left: ((pagesize[0] - TB_WIDTH)/2)+"px", top: (arrayPageScroll[1] + ((pagesize[1]-TB_HEIGHT)/2))+"px" }); + TB_overlaySize(); +} + +function TB_overlaySize(){ + if (window.innerHeight && window.scrollMaxY) { + yScroll = window.innerHeight + window.scrollMaxY; + } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac + yScroll = document.body.scrollHeight; + } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari + yScroll = document.body.offsetHeight; + } + $("#TB_overlay").css("height",yScroll +"px"); +} + +function TB_load_position() { + var pagesize = TB_getPageSize(); + var arrayPageScroll = TB_getPageScrollTop(); + + $("#TB_load") + .css({left: ((pagesize[0] - 100)/2)+"px", top: (arrayPageScroll[1] + ((pagesize[1]-100)/2))+"px" }) + .css({display:"block"}); +} + +function TB_parseQuery ( query ) { + var Params = new Object (); + if ( ! query ) return Params; // return empty object + var Pairs = query.split(/[;&]/); + for ( var i = 0; i < Pairs.length; i++ ) { + var KeyVal = Pairs[i].split('='); + if ( ! KeyVal || KeyVal.length != 2 ) continue; + var key = unescape( KeyVal[0] ); + var val = unescape( KeyVal[1] ); + val = val.replace(/\+/g, ' '); + Params[key] = val; + } + return Params; +} + +function TB_getPageScrollTop(){ + var yScrolltop; + if (self.pageYOffset) { + yScrolltop = self.pageYOffset; + } else if (document.documentElement && document.documentElement.scrollTop){ // Explorer 6 Strict + yScrolltop = document.documentElement.scrollTop; + } else if (document.body) {// all other Explorers + yScrolltop = document.body.scrollTop; + } + arrayPageScroll = new Array('',yScrolltop) + return arrayPageScroll; +} + +function TB_getPageSize(){ + var de = document.documentElement; + var w = window.innerWidth || self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth; + var h = window.innerHeight || self.innerHeight || (de&&de.clientHeight) || document.body.clientHeight; + + arrayPageSize = new Array(w,h) + return arrayPageSize; +} + +function TB_strpos(str, ch) { + for (var i = 0; i < str.length; i++) { + if (str.substring(i, i+1) == ch) return i; + } + return -1; +} + +// vim: set ts=4 sw=4 tw=0 fenc=utf-8 ft=javascript: // -- cgit v1.2.2