From 3f1d09f3b5b86157ccf9f47eef69a065be6153a4 Mon Sep 17 00:00:00 2001 From: Alvin Li Date: Thu, 22 Aug 2013 15:18:58 +0800 Subject: * added latest full package of 'jquery-ui' plugin, v1.10.3; * improved 'thickbox' plugin to use 'jquery-1.9.x'; * upgraded 'SheetDefault.html', 'NewDeleteIndex.html' and other pages to use 'jquery-1.9.x'; * improved 'IndexDesc.html' to deal with the problem of no related annotation found; * 'indicator.tools.get_record()' added param 'number', and updated the format of return data; * added 'get_num_record()' and 'get_num_record_std()' to 'indicator.tools'; * improved 'indicator.views.ajax_get_card_data_chart()', now can get data by 'num' or by 'date'; * improved 'indicator.views.ajax_get_card_data_table()', to provide the needed data requested from 'detail_card'; * improved js function 'chart_getdata_draw()' in 'SheetDefault.html'; * 'card_chart.js': renamed 'redraw_chart()' to 'detail_chart_getdata_draw()', and updated to get data by type; * updated 'table' of 'detail_card' in 'SheetDefault.html'; * improved js function 'get_card_data_table()' for providing and displaying record data in 'detail_card' table. TODO: * add/delete/edit record data --- .../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 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 + .../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 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 + .../static/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 .../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 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 + .../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 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 + .../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 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 .../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 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 + .../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 + .../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 + .../apps/indicator/static/plugins/thickbox/README | 20 + .../indicator/static/plugins/thickbox/VERSION_2.0 | 0 .../plugins/thickbox/images/loadingAnimation2.gif | Bin 0 -> 5886 bytes .../static/plugins/thickbox/images/macFFBgHack.png | Bin 0 -> 207 bytes .../indicator/static/plugins/thickbox/thickbox.js | 60 +- 774 files changed, 226264 insertions(+), 14 deletions(-) create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/AUTHORS.txt create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/Gruntfile.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/MANIFEST create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/MIT-LICENSE.txt create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/README.md create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/collapsible.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/custom-icons.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/fillspace.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/hoverintent.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/no-auto-height.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/sortable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/categories.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/combobox.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/custom-data.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/folding.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/london.xml create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/maxheight.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple-remote.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-with-cache.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/search.php create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/xml.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/checkbox.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/icons.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/radio.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/splitbutton.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/toolbar.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/dropdown-month-year.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/inline.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-ar.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-fr.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-he.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/jquery.ui.datepicker-zh-TW.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/demos.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/animated.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-confirmation.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-form.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-message.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/constrain-movement.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/cursor-style.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/delay-start.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/events.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/handle.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/revert.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/scroll.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/snap-to.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/sortable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/visual-feedback.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/photo-manager.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/easing.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/calendar.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on-tile.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-closed.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-open.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/icon-docs-info.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/pbar-ani.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/icons.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/cycler.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/earth.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/flight.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/rocket.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/indeterminate.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/label.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/animate.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/max-min.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/snap-to-grid.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/display-grid.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/serialize.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/colorpicker.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/hotelrooms.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/multiple-vertical.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range-vertical.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemax.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemin.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/side-scroll.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/slider-vertical.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/steps.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists-through-tabs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/delay-start.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/display-grid.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/empty-lists.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/items.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/placeholder.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/portlets.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/currency.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/decimal.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/latlong.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/overflow.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/time.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content1.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content2.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content3-slow.php create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/bottom.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/collapsible.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/manipulation.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/mouseover.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/sortable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/vertical.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content1.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content2.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-animation.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-content.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-style.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/forms.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/tracking.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/video-player.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/default.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.de-DE.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.culture.ja-JP.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jquery.mousewheel.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jshint.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/jquery-1.9.1.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/package.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/index.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/index.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.1.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.2.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.3.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.4.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.6.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.7.1.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.7.2.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.7.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.8.0.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.8.1.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.8.2.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.8.3.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.9.0.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery-1.9.1.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/jquery.simulate.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/accordion_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/accordion/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/autocomplete_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/remote_object_array_labels.txt create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/remote_object_array_values.txt create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/autocomplete/remote_string_array.txt create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/button/button_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/core/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/core/core.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/core/core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/core/selector.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/datepicker_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/datepicker/images/calendar.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_deprecated.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_deprecated.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/dialog/dialog_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/draggable/draggable_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/droppable/droppable_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/effects/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/effects/effects.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/effects/effects_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/effects/effects_scale.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/images/jqueryui_32x32.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/menu/menu_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/position/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/position/position.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/position/position_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/progressbar/progressbar_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/qunit-composite.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/qunit-composite.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/images/test.jpg create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/resizable/resizable_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/selectable/selectable_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/slider/slider_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/sortable/sortable_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/spinner/spinner_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/subsuite.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/swarminject.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/data/test.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tabs/tabs_test_helpers.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/testsuite.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_common.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_events.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_methods.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/tooltip/tooltip_options.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/widget.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/widget_animation.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/widget_core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/unit/widget/widget_extend.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/accordion/icons.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/addClass/queue.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/button.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/button/performance.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/accordion_tabs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/datepicker_dialog.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/dialog_widgets.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/draggable_accordion_accordion_tabs_draggable.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/sortable_accordion_sortable_tabs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tabs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/compound/tabs_tooltips.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/animated.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/complex-dialogs.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/form.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/dialog/performance.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/all.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/effects.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/effects/scale.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/index.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/menu/menu.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/position/position_feedback.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/theme.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/animations.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/tooltip/tooltip.html create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/tests/visual/visual.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/animated-overlay.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_222222_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_454545_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_888888_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery-ui.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.accordion.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.all.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.autocomplete.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.base.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.button.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.core.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.datepicker.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.dialog.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.menu.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.progressbar.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.resizable.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.selectable.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.slider.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.spinner.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.tabs.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.theme.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/jquery.ui.tooltip.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/animated-overlay.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_222222_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_2e83ff_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_454545_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_888888_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/images/ui-icons_cd0a0a_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery-ui.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.accordion.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.autocomplete.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.button.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.core.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.datepicker.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.dialog.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.menu.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.progressbar.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.resizable.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.selectable.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.slider.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.spinner.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.tabs.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.theme.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/base/minified/jquery.ui.tooltip.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/animated-overlay.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/jquery-ui.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/jquery-ui.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/smoothness/jquery.ui.theme.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/animated-overlay.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/jquery-ui.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/jquery-ui.min.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/themes/ui-lightness/jquery.ui.theme.css create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.accordion.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.autocomplete.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.button.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.core.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.datepicker.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.dialog.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.draggable.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.droppable.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-blind.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-bounce.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-clip.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-drop.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-explode.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-fade.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-fold.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-highlight.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-pulsate.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-scale.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-shake.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-slide.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect-transfer.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.effect.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.menu.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.mouse.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.position.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.progressbar.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.resizable.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.selectable.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.slider.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.sortable.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.spinner.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.tabs.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.tooltip.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui.widget.jquery.json create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/.jshintrc create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery-ui-i18n.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-af.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ar-DZ.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ar.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-az.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-be.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-bg.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-bs.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ca.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-cs.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-cy-GB.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-da.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-de.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-el.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-en-AU.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-en-GB.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-en-NZ.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-eo.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-es.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-et.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-eu.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fa.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fi.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fo.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CA.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fr-CH.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-fr.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-gl.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-he.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hi.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hr.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hu.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-id.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-is.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-it.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ja.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ka.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-kk.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-km.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ko.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ky.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-lb.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-lt.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-lv.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-mk.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ml.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ms.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nb.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nl-BE.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nl.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-nn.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-no.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-pl.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-pt-BR.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-pt.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-rm.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ro.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ru.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sk.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sl.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sq.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sr-SR.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sr.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-sv.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-ta.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-th.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-tj.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-tr.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-uk.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-vi.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-CN.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-HK.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/i18n/jquery.ui.datepicker-zh-TW.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery-ui.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.accordion.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.autocomplete.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.button.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.core.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.datepicker.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.dialog.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.draggable.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.droppable.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-blind.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-bounce.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-clip.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-drop.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-explode.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-fade.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-fold.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-highlight.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-pulsate.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-scale.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-shake.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-slide.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect-transfer.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.effect.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.menu.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.mouse.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.position.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.progressbar.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.resizable.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.selectable.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.slider.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.sortable.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.spinner.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.tabs.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.tooltip.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/jquery.ui.widget.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery-ui-i18n.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-af.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ar-DZ.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ar.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-az.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-be.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-bg.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-bs.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ca.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-cs.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-cy-GB.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-da.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-de.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-el.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-en-AU.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-en-GB.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-en-NZ.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-eo.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-es.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-et.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-eu.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fa.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fi.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fo.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fr-CA.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fr-CH.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-fr.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-gl.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-he.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hi.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hr.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hu.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-hy.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-id.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-is.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-it.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ja.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ka.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-kk.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-km.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ko.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ky.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-lb.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-lt.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-lv.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-mk.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ml.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ms.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nb.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nl-BE.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nl.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-nn.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-no.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-pl.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-pt-BR.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-pt.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-rm.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ro.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ru.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sk.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sl.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sq.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sr-SR.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sr.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-sv.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ta.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-th.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-tj.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-tr.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-uk.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-vi.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-zh-CN.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-zh-HK.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-zh-TW.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery-ui.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.accordion.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.autocomplete.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.button.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.core.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.datepicker.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.dialog.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.draggable.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.droppable.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-blind.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-bounce.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-clip.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-drop.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-explode.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-fade.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-fold.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-highlight.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-pulsate.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-scale.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-shake.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-slide.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect-transfer.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.effect.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.menu.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.mouse.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.position.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.progressbar.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.resizable.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.selectable.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.slider.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.sortable.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.spinner.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.tabs.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.tooltip.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/jquery-ui/ui/minified/jquery.ui.widget.min.js create mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/README create mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/VERSION_2.0 create mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/images/loadingAnimation2.gif create mode 100644 97suifangqa/apps/indicator/static/plugins/thickbox/images/macFFBgHack.png (limited to '97suifangqa/apps/indicator/static/plugins') diff --git a/97suifangqa/apps/indicator/static/plugins/jquery-ui/AUTHORS.txt b/97suifangqa/apps/indicator/static/plugins/jquery-ui/AUTHORS.txt new file mode 100644 index 0000000..fae527d --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/AUTHORS.txt @@ -0,0 +1,245 @@ +Authors ordered by first contribution +A list of current team members is available at http://jqueryui.com/about + +Paul Bakaus +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 new file mode 100644 index 0000000..8e46848 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/MANIFEST b/97suifangqa/apps/indicator/static/plugins/jquery-ui/MANIFEST new file mode 100644 index 0000000..405ab45 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/MIT-LICENSE.txt b/97suifangqa/apps/indicator/static/plugins/jquery-ui/MIT-LICENSE.txt new file mode 100644 index 0000000..1c693e3 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/README.md b/97suifangqa/apps/indicator/static/plugins/jquery-ui/README.md new file mode 100644 index 0000000..e7ae90e --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/accordion/collapsible.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/collapsible.html new file mode 100644 index 0000000..659dfa7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/accordion/custom-icons.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/custom-icons.html new file mode 100644 index 0000000..dd5a91f --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/accordion/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/default.html new file mode 100644 index 0000000..c3bcfdd --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/accordion/fillspace.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/fillspace.html new file mode 100644 index 0000000..49f92fb --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/accordion/hoverintent.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/hoverintent.html new file mode 100644 index 0000000..0ff63a3 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/accordion/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/index.html new file mode 100644 index 0000000..92bd33d --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/index.html @@ -0,0 +1,20 @@ + + + + + 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 new file mode 100644 index 0000000..8df94cb --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/accordion/sortable.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/accordion/sortable.html new file mode 100644 index 0000000..4a25f24 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/addClass/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/default.html new file mode 100644 index 0000000..97a06a2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/addClass/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/addClass/index.html @@ -0,0 +1,14 @@ + + + + + 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 new file mode 100644 index 0000000..4095cee --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/animate/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/animate/index.html @@ -0,0 +1,14 @@ + + + + + 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 new file mode 100644 index 0000000..8fe7e0b --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/combobox.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/combobox.html new file mode 100644 index 0000000..6b1c445 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/custom-data.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/custom-data.html new file mode 100644 index 0000000..4e518db --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/default.html new file mode 100644 index 0000000..f904eac --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/folding.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/folding.html new file mode 100644 index 0000000..51a893b --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..9312f02 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jquery_32x32.png 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 new file mode 100644 index 0000000..e003d16 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/jqueryui_32x32.png 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 new file mode 100644 index 0000000..4ce0704 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/sizzlejs_32x32.png 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 new file mode 100644 index 0000000..c2da5b8 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/transparent_1x1.png 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 new file mode 100644 index 0000000..084ecb8 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/images/ui-anim_basic_16x16.gif 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 new file mode 100644 index 0000000..faa18d4 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/index.html @@ -0,0 +1,25 @@ + + + + + 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 new file mode 100644 index 0000000..2628549 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/maxheight.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/maxheight.html new file mode 100644 index 0000000..b576429 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple-remote.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple-remote.html new file mode 100644 index 0000000..ed27562 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/multiple.html new file mode 100644 index 0000000..68ae3d6 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote-jsonp.html new file mode 100644 index 0000000..49083bd --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..b47608d --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/remote.html new file mode 100644 index 0000000..fefe035 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/search.php b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/search.php new file mode 100644 index 0000000..835772d --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/xml.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/autocomplete/xml.html new file mode 100644 index 0000000..e16b9e1 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/button/checkbox.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/checkbox.html new file mode 100644 index 0000000..11db0de --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/button/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/default.html new file mode 100644 index 0000000..502c2a5 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/button/icons.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/icons.html new file mode 100644 index 0000000..2a63c29 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/button/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/index.html new file mode 100644 index 0000000..7956059 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/index.html @@ -0,0 +1,19 @@ + + + + + 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 new file mode 100644 index 0000000..b175d75 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/button/splitbutton.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/splitbutton.html new file mode 100644 index 0000000..b58f66a --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/button/toolbar.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/button/toolbar.html new file mode 100644 index 0000000..306daae --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/alt-field.html new file mode 100644 index 0000000..98bf0ae --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/animation.html new file mode 100644 index 0000000..a9872e5 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/buttonbar.html new file mode 100644 index 0000000..c430872 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-formats.html new file mode 100644 index 0000000..44cfba8 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/date-range.html new file mode 100644 index 0000000..7a4dbfc --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/default.html new file mode 100644 index 0000000..1d01133 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..1a04ef7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/icon-trigger.html new file mode 100644 index 0000000..d956168 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif new file mode 100644 index 0000000..d0abaa7 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/images/calendar.gif 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 new file mode 100644 index 0000000..eb903a2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/index.html @@ -0,0 +1,27 @@ + + + + + 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 new file mode 100644 index 0000000..5c52b3d --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..cef0f08 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..934afd1 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..b9e8dee --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..b9105ea --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/localization.html new file mode 100644 index 0000000..67d55fd --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/min-max.html new file mode 100644 index 0000000..480282e --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/multiple-calendars.html new file mode 100644 index 0000000..6d06a47 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/other-months.html new file mode 100644 index 0000000..5242869 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/datepicker/show-week.html new file mode 100644 index 0000000..0c1264e --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/demos.css b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/demos.css new file mode 100644 index 0000000..da9ad83 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/dialog/animated.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/animated.html new file mode 100644 index 0000000..f9dc697 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/dialog/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/default.html new file mode 100644 index 0000000..dc9741a --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/dialog/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/index.html new file mode 100644 index 0000000..6aaa3ec --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/index.html @@ -0,0 +1,19 @@ + + + + + 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 new file mode 100644 index 0000000..7538cd1 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-form.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-form.html new file mode 100644 index 0000000..a9f1c63 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-message.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal-message.html new file mode 100644 index 0000000..0a6f813 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/dialog/modal.html new file mode 100644 index 0000000..4579df2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/constrain-movement.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/constrain-movement.html new file mode 100644 index 0000000..b22e4c2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/cursor-style.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/cursor-style.html new file mode 100644 index 0000000..05db5ea --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/default.html new file mode 100644 index 0000000..3ea1640 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/delay-start.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/delay-start.html new file mode 100644 index 0000000..413814b --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/events.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/events.html new file mode 100644 index 0000000..d662e88 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/handle.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/handle.html new file mode 100644 index 0000000..983b653 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/index.html new file mode 100644 index 0000000..9385068 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/index.html @@ -0,0 +1,24 @@ + + + + + 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 new file mode 100644 index 0000000..8bedc06 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/scroll.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/scroll.html new file mode 100644 index 0000000..60737d3 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/snap-to.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/snap-to.html new file mode 100644 index 0000000..efa6665 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/sortable.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/sortable.html new file mode 100644 index 0000000..5604efd --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/draggable/visual-feedback.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/draggable/visual-feedback.html new file mode 100644 index 0000000..f5827c2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/accepted-elements.html new file mode 100644 index 0000000..c291b5b --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/default.html new file mode 100644 index 0000000..d9b7d61 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..5723680 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras.jpg 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 new file mode 100644 index 0000000..1acad3a Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2.jpg 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 new file mode 100644 index 0000000..493e082 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras2_min.jpg 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 new file mode 100644 index 0000000..e158b1a Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3.jpg 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 new file mode 100644 index 0000000..4aa96b0 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras3_min.jpg 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 new file mode 100644 index 0000000..da4124d Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4.jpg 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 new file mode 100644 index 0000000..794dbdf Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras4_min.jpg 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 new file mode 100644 index 0000000..51e0cde Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/images/high_tatras_min.jpg 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 new file mode 100644 index 0000000..deca6e4 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/index.html @@ -0,0 +1,20 @@ + + + + + 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 new file mode 100644 index 0000000..54a805d --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/propagation.html new file mode 100644 index 0000000..a116755 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/revert.html new file mode 100644 index 0000000..2c2fb2c --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/shopping-cart.html new file mode 100644 index 0000000..fe7d636 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/droppable/visual-feedback.html new file mode 100644 index 0000000..06b8325 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/effect/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/default.html new file mode 100644 index 0000000..7c3d05f --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/effect/easing.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/easing.html new file mode 100644 index 0000000..819351e --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/effect/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/index.html new file mode 100644 index 0000000..5da6bc6 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/effect/index.html @@ -0,0 +1,15 @@ + + + + + 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 new file mode 100644 index 0000000..fc8182e --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/hide/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/hide/index.html @@ -0,0 +1,14 @@ + + + + + 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 new file mode 100644 index 0000000..d0abaa7 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/calendar.gif 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 new file mode 100644 index 0000000..a96b5bf Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on-tile.gif 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 new file mode 100644 index 0000000..e3b6d7c Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-config-on.gif 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 new file mode 100644 index 0000000..ad4bd37 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-closed.gif 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 new file mode 100644 index 0000000..e1c60aa Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/demo-spindown-open.gif 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 new file mode 100644 index 0000000..ea6d2be Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/icon-docs-info.gif 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 new file mode 100644 index 0000000..cb59a04 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/images/pbar-ani.gif 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 new file mode 100644 index 0000000..4739d76 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/index.html @@ -0,0 +1,40 @@ + + + + + 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 new file mode 100644 index 0000000..fcb93b8 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/menu/icons.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/icons.html new file mode 100644 index 0000000..e928f42 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/menu/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/index.html new file mode 100644 index 0000000..40e9e0b --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/menu/index.html @@ -0,0 +1,15 @@ + + + + + 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 new file mode 100644 index 0000000..7eef091 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/position/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/default.html new file mode 100644 index 0000000..8d6cca0 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/position/images/earth.jpg b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/earth.jpg new file mode 100644 index 0000000..e5477f7 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/earth.jpg 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 new file mode 100644 index 0000000..362bd1a Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/flight.jpg 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 new file mode 100644 index 0000000..9c0495c Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/images/rocket.jpg 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 new file mode 100644 index 0000000..a7b7548 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/position/index.html @@ -0,0 +1,15 @@ + + + + + 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 new file mode 100644 index 0000000..8f4dd53 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/default.html @@ -0,0 +1,28 @@ + + + + + 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 new file mode 100644 index 0000000..cb59a04 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/images/pbar-ani.gif 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 new file mode 100644 index 0000000..54e7c43 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/progressbar/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/index.html new file mode 100644 index 0000000..cfc054a --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/progressbar/index.html @@ -0,0 +1,16 @@ + + + + + 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 new file mode 100644 index 0000000..a1e16cb --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/removeClass/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/default.html new file mode 100644 index 0000000..74348c7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/removeClass/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/removeClass/index.html @@ -0,0 +1,14 @@ + + + + + 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 new file mode 100644 index 0000000..c066be7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/aspect-ratio.html new file mode 100644 index 0000000..f3f3501 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/constrain-area.html new file mode 100644 index 0000000..a91c89b --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/default.html new file mode 100644 index 0000000..c6875ee --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/delay-start.html new file mode 100644 index 0000000..a04cdd0 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/helper.html new file mode 100644 index 0000000..24f4ad3 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html new file mode 100644 index 0000000..7c626e2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/index.html @@ -0,0 +1,24 @@ + + + + + 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 new file mode 100644 index 0000000..1f30421 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..5d11ae7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/synchronous-resize.html new file mode 100644 index 0000000..4f7f418 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/textarea.html new file mode 100644 index 0000000..8924450 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/resizable/visual-feedback.html new file mode 100644 index 0000000..ee182b2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/selectable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/default.html new file mode 100644 index 0000000..e110423 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/selectable/display-grid.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/display-grid.html new file mode 100644 index 0000000..fc4fec6 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/selectable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/index.html new file mode 100644 index 0000000..a82830c --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/selectable/index.html @@ -0,0 +1,16 @@ + + + + + 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 new file mode 100644 index 0000000..d70e314 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/show/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/default.html new file mode 100644 index 0000000..599a625 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/show/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/show/index.html @@ -0,0 +1,14 @@ + + + + + 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 new file mode 100644 index 0000000..e579b0e --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/default.html new file mode 100644 index 0000000..17ee430 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/hotelrooms.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/hotelrooms.html new file mode 100644 index 0000000..0968dc4 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/index.html new file mode 100644 index 0000000..2d05bb5 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/index.html @@ -0,0 +1,24 @@ + + + + + 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 new file mode 100644 index 0000000..6a0cf38 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/range-vertical.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range-vertical.html new file mode 100644 index 0000000..a6f7f5a --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/range.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/range.html new file mode 100644 index 0000000..6a11338 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemax.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemax.html new file mode 100644 index 0000000..ca1c260 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemin.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/rangemin.html new file mode 100644 index 0000000..661fb24 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/side-scroll.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/side-scroll.html new file mode 100644 index 0000000..346acb3 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/slider-vertical.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/slider-vertical.html new file mode 100644 index 0000000..2bea733 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/slider/steps.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/slider/steps.html new file mode 100644 index 0000000..821fdc7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..48f7a67 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/connect-lists.html new file mode 100644 index 0000000..87569ca --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/sortable/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/default.html new file mode 100644 index 0000000..9058a3f --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/sortable/delay-start.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/delay-start.html new file mode 100644 index 0000000..e48d8cf --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/sortable/display-grid.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/display-grid.html new file mode 100644 index 0000000..e644eae --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/sortable/empty-lists.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/empty-lists.html new file mode 100644 index 0000000..2311254 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/sortable/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/index.html new file mode 100644 index 0000000..66b0b5c --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/index.html @@ -0,0 +1,22 @@ + + + + + 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 new file mode 100644 index 0000000..bdb0e02 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/sortable/placeholder.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/placeholder.html new file mode 100644 index 0000000..95a843f --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/sortable/portlets.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/sortable/portlets.html new file mode 100644 index 0000000..5a3f2b6 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/spinner/currency.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/currency.html new file mode 100644 index 0000000..0686d37 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/spinner/decimal.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/decimal.html new file mode 100644 index 0000000..b48442a --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/spinner/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/default.html new file mode 100644 index 0000000..5093e86 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/default.html @@ -0,0 +1,64 @@ + + + + + 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 new file mode 100644 index 0000000..f3c74d0 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/index.html @@ -0,0 +1,19 @@ + + + + + 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 new file mode 100644 index 0000000..14c8601 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/spinner/overflow.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/overflow.html new file mode 100644 index 0000000..d46e660 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/spinner/time.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/spinner/time.html new file mode 100644 index 0000000..d31dbf2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/switchClass/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/default.html new file mode 100644 index 0000000..e4bd3b4 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/switchClass/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/switchClass/index.html @@ -0,0 +1,14 @@ + + + + + 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 new file mode 100644 index 0000000..dd25fc0 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content1.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content1.html new file mode 100644 index 0000000..472bdfb --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content2.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content2.html new file mode 100644 index 0000000..18b03e4 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..7ad43ec --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..55ea2fe --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/ajax/content4-broken.php @@ -0,0 +1,3 @@ + \ 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 new file mode 100644 index 0000000..0a4caea --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tabs/collapsible.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/collapsible.html new file mode 100644 index 0000000..3cb9b7c --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tabs/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/default.html new file mode 100644 index 0000000..0b31e45 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tabs/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/index.html new file mode 100644 index 0000000..779dfd2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/index.html @@ -0,0 +1,20 @@ + + + + + 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 new file mode 100644 index 0000000..efcf011 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tabs/mouseover.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/mouseover.html new file mode 100644 index 0000000..9b67781 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tabs/sortable.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/sortable.html new file mode 100644 index 0000000..0091e58 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tabs/vertical.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tabs/vertical.html new file mode 100644 index 0000000..b121557 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/toggle/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/default.html new file mode 100644 index 0000000..3543939 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/toggle/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggle/index.html @@ -0,0 +1,14 @@ + + + + + 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 new file mode 100644 index 0000000..93ab10a --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/index.html new file mode 100644 index 0000000..3620fd7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/toggleClass/index.html @@ -0,0 +1,14 @@ + + + + + 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 new file mode 100644 index 0000000..a1401b2 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content2.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/ajax/content2.html new file mode 100644 index 0000000..f4132d7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-animation.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-animation.html new file mode 100644 index 0000000..46126d5 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-content.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-content.html new file mode 100644 index 0000000..c24a939 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-style.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/custom-style.html new file mode 100644 index 0000000..3e2a56a --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tooltip/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/default.html new file mode 100644 index 0000000..a07533b --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tooltip/forms.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/forms.html new file mode 100644 index 0000000..a5ce77f --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..30fc36d Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/st-stephens.jpg 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 new file mode 100644 index 0000000..d1e14d6 Binary files /dev/null and b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/images/tower-bridge.jpg 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 new file mode 100644 index 0000000..cebedd0 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/index.html @@ -0,0 +1,20 @@ + + + + + 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 new file mode 100644 index 0000000..48e683e --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/tooltip/video-player.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/tooltip/video-player.html new file mode 100644 index 0000000..15db946 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/widget/default.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/default.html new file mode 100644 index 0000000..8931be4 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/demos/widget/index.html b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/index.html new file mode 100644 index 0000000..d518b07 --- /dev/null +++ b/97suifangqa/apps/indicator/static/plugins/jquery-ui/demos/widget/index.html @@ -0,0 +1,14 @@ + + + + + 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 new file mode 100644 index 0000000..5466bd7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/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 new file mode 100644 index 0000000..a9469d7 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/external/globalize.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/globalize.js new file mode 100644 index 0000000..ebaca17 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/external/jquery.mousewheel.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jquery.mousewheel.js new file mode 100644 index 0000000..8c60304 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/external/jshint.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/jshint.js new file mode 100644 index 0000000..8f06d9b --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/external/qunit.css b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.css new file mode 100644 index 0000000..d7fc0c8 --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/external/qunit.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/external/qunit.js new file mode 100644 index 0000000..302545f --- /dev/null +++ b/97suifangqa/apps/indicator/static/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/apps/indicator/static/plugins/jquery-ui/jquery-1.9.1.js b/97suifangqa/apps/indicator/static/plugins/jquery-ui/jquery-1.9.1.js new file mode 100644 index 0000000..e2c203f --- /dev/null +++ b/97suifangqa/apps/indicator/static/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(""); + $("#TB_window").append(""); }else{ $("#TB_window").append("
    "); } @@ -282,8 +312,10 @@ function TB_getPageSize(){ } function TB_strpos(str, ch) { -for (var i = 0; i < str.length; i++) -if (str.substring(i, i+1) == ch) return i; -return -1; + 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