ad2games-ui_components 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +28 -0
- data/app/assets/javascripts/ui_components.js.erb +26 -0
- data/app/assets/javascripts/ui_components/chosen_init.coffee +9 -0
- data/app/assets/javascripts/ui_components/domchange.coffee +1 -0
- data/app/assets/javascripts/ui_components/hide_empty_dropdowns.coffee +4 -0
- data/app/assets/javascripts/ui_components/modal.coffee +1 -0
- data/app/assets/javascripts/ui_components/navbar.coffee +2 -0
- data/app/assets/javascripts/ui_components/sticky_header.coffee +24 -0
- data/app/assets/javascripts/ui_components/submit_on_change.coffee +3 -0
- data/app/assets/javascripts/ui_components/turbolinks_progressbar.coffee +2 -0
- data/app/assets/stylesheets/a2g_ui_components.scss +8 -0
- data/app/assets/stylesheets/default_theme/button.scss +160 -0
- data/app/assets/stylesheets/default_theme/common.scss +15 -0
- data/app/assets/stylesheets/default_theme/footer.scss +7 -0
- data/app/assets/stylesheets/default_theme/form.scss +72 -0
- data/app/assets/stylesheets/default_theme/navbar.scss +55 -0
- data/app/assets/stylesheets/default_theme/table.scss +68 -0
- data/app/assets/stylesheets/default_theme/toolbar.scss +117 -0
- data/app/assets/stylesheets/libs.scss +6 -0
- data/app/assets/stylesheets/ui_components.scss.erb +15 -0
- data/app/assets/stylesheets/ui_components/checkbox_list.scss +11 -0
- data/app/assets/stylesheets/ui_components/date_range.scss +5 -0
- data/app/assets/stylesheets/ui_components/markdown_textarea.scss +7 -0
- data/app/assets/stylesheets/variables.scss +893 -0
- data/app/cells/checkbox_list/checkbox_list.yml +7 -0
- data/app/cells/checkbox_list/checkbox_list_cell.rb +33 -0
- data/app/cells/datagrid_filter/datagrid_filter.yml +14 -0
- data/app/cells/datagrid_filter/datagrid_filter_cell.rb +35 -0
- data/app/cells/date_range/date_range.coffee +69 -0
- data/app/cells/date_range/date_range.yml +7 -0
- data/app/cells/date_range/date_range_cell.rb +55 -0
- data/app/cells/form_cell_base.rb +26 -0
- data/app/cells/hello_world/hello_world.slim +1 -0
- data/app/cells/hello_world/hello_world.yml +5 -0
- data/app/cells/hello_world/hello_world_cell.rb +4 -0
- data/app/cells/markdown_readonly/markdown_readonly.coffee +5 -0
- data/app/cells/markdown_readonly/markdown_readonly.slim +1 -0
- data/app/cells/markdown_readonly/markdown_readonly.yml +4 -0
- data/app/cells/markdown_readonly/markdown_readonly_cell.rb +4 -0
- data/app/cells/markdown_textarea/markdown_textarea.coffee +9 -0
- data/app/cells/markdown_textarea/markdown_textarea.slim +9 -0
- data/app/cells/markdown_textarea/markdown_textarea.yml +8 -0
- data/app/cells/markdown_textarea/markdown_textarea_cell.rb +42 -0
- data/app/cells/modal/modal.coffee +2 -0
- data/app/cells/modal/modal.slim +12 -0
- data/app/cells/modal/modal.yml +22 -0
- data/app/cells/modal/modal_cell.rb +31 -0
- data/app/cells/select/select.coffee +35 -0
- data/app/cells/select/select.yml +14 -0
- data/app/cells/select/select_cell.rb +59 -0
- data/app/helpers/ui_components/view_helper.rb +8 -0
- data/lib/generators/generate_component.thor +32 -0
- data/lib/tasks/styleguide.rake +8 -0
- data/lib/ui_components.rb +14 -0
- data/lib/ui_components/cell.rb +16 -0
- data/lib/ui_components/cell_attributes.rb +49 -0
- data/lib/ui_components/docu_cop.rb +31 -0
- data/lib/ui_components/engine.rb +26 -0
- data/lib/ui_components/form_helper.rb +32 -0
- data/lib/ui_components/templates/cell.tt +2 -0
- data/lib/ui_components/templates/coffee.tt +0 -0
- data/lib/ui_components/templates/config.tt +9 -0
- data/lib/ui_components/templates/sass.tt +0 -0
- data/lib/ui_components/templates/view.tt +0 -0
- data/vendor/assets/bower_components/ajax-chosen/CHANGELOG.md +10 -0
- data/vendor/assets/bower_components/ajax-chosen/Cakefile +93 -0
- data/vendor/assets/bower_components/ajax-chosen/Makefile +2 -0
- data/vendor/assets/bower_components/ajax-chosen/README.md +131 -0
- data/vendor/assets/bower_components/ajax-chosen/VERSION +1 -0
- data/vendor/assets/bower_components/ajax-chosen/bower.json +23 -0
- data/vendor/assets/bower_components/ajax-chosen/data.json +57 -0
- data/vendor/assets/bower_components/ajax-chosen/docs/ajax-chosen.html +71 -0
- data/vendor/assets/bower_components/ajax-chosen/docs/docco.css +186 -0
- data/vendor/assets/bower_components/ajax-chosen/index.html +47 -0
- data/vendor/assets/bower_components/ajax-chosen/lib/ajax-chosen.js +159 -0
- data/vendor/assets/bower_components/ajax-chosen/lib/ajax-chosen.min.js +17 -0
- data/vendor/assets/bower_components/ajax-chosen/package.json +18 -0
- data/vendor/assets/bower_components/ajax-chosen/src/ajax-chosen.coffee +183 -0
- data/vendor/assets/bower_components/bootstrap-chosen/README.md +29 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bootstrap-chosen-variables.less +24 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bootstrap-chosen-variables.scss +16 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bootstrap-chosen.less +473 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bootstrap-chosen.scss +459 -0
- data/vendor/assets/bower_components/bootstrap-chosen/bower.json +25 -0
- data/vendor/assets/bower_components/bootstrap-chosen/chosen-sprite.png +0 -0
- data/vendor/assets/bower_components/bootstrap-chosen/chosen-sprite@2x.png +0 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/README.md +200 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/bower.json +20 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/daterangepicker-bs2.css +303 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/daterangepicker-bs3.css +335 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/daterangepicker.js +1348 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/examples.html +272 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/package.js +18 -0
- data/vendor/assets/bower_components/bootstrap-daterangepicker/package.json +32 -0
- data/vendor/assets/bower_components/chosen/bower.json +50 -0
- data/vendor/assets/bower_components/chosen/chosen-sprite.png +0 -0
- data/vendor/assets/bower_components/chosen/chosen-sprite@2x.png +0 -0
- data/vendor/assets/bower_components/chosen/chosen.css +448 -0
- data/vendor/assets/bower_components/chosen/chosen.jquery.js +1272 -0
- data/vendor/assets/bower_components/highlightjs/LICENSE +24 -0
- data/vendor/assets/bower_components/highlightjs/Makefile +21 -0
- data/vendor/assets/bower_components/highlightjs/README.md +12 -0
- data/vendor/assets/bower_components/highlightjs/bower.json +14 -0
- data/vendor/assets/bower_components/highlightjs/component.json +12 -0
- data/vendor/assets/bower_components/highlightjs/composer.json +26 -0
- data/vendor/assets/bower_components/highlightjs/highlight.pack.js +15263 -0
- data/vendor/assets/bower_components/highlightjs/highlight.pack.min.js +12 -0
- data/vendor/assets/bower_components/highlightjs/package.json +8 -0
- data/vendor/assets/bower_components/highlightjs/styles/agate.css +108 -0
- data/vendor/assets/bower_components/highlightjs/styles/androidstudio.css +66 -0
- data/vendor/assets/bower_components/highlightjs/styles/arduino-light.css +88 -0
- data/vendor/assets/bower_components/highlightjs/styles/arta.css +73 -0
- data/vendor/assets/bower_components/highlightjs/styles/ascetic.css +45 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-cave-dark.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-cave-light.css +85 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-cave.dark.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-cave.light.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-dune-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-dune-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-dune.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-dune.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-estuary-dark.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-estuary-light.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-estuary.dark.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-estuary.light.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-forest-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-forest-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-forest.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-forest.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-heath-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-heath-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-heath.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-heath.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-lakeside-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-lakeside-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-lakeside.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-lakeside.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-plateau-dark.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-plateau-light.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-plateau.dark.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-plateau.light.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-savanna-dark.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-savanna-light.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-savanna.dark.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-savanna.light.css +113 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-seaside-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-seaside-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-seaside.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-seaside.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-sulphurpool-dark.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-sulphurpool-light.css +69 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-sulphurpool.dark.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/atelier-sulphurpool.light.css +94 -0
- data/vendor/assets/bower_components/highlightjs/styles/brown-paper.css +64 -0
- data/vendor/assets/bower_components/highlightjs/styles/brown-papersq.png +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/brown_paper.css +103 -0
- data/vendor/assets/bower_components/highlightjs/styles/brown_papersq.png +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/codepen-embed.css +60 -0
- data/vendor/assets/bower_components/highlightjs/styles/color-brewer.css +71 -0
- data/vendor/assets/bower_components/highlightjs/styles/dark.css +63 -0
- data/vendor/assets/bower_components/highlightjs/styles/darkula.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/default.css +99 -0
- data/vendor/assets/bower_components/highlightjs/styles/docco.css +97 -0
- data/vendor/assets/bower_components/highlightjs/styles/dracula.css +76 -0
- data/vendor/assets/bower_components/highlightjs/styles/far.css +71 -0
- data/vendor/assets/bower_components/highlightjs/styles/foundation.css +88 -0
- data/vendor/assets/bower_components/highlightjs/styles/github-gist.css +71 -0
- data/vendor/assets/bower_components/highlightjs/styles/github.css +99 -0
- data/vendor/assets/bower_components/highlightjs/styles/googlecode.css +89 -0
- data/vendor/assets/bower_components/highlightjs/styles/grayscale.css +101 -0
- data/vendor/assets/bower_components/highlightjs/styles/gruvbox-dark.css +108 -0
- data/vendor/assets/bower_components/highlightjs/styles/gruvbox-light.css +108 -0
- data/vendor/assets/bower_components/highlightjs/styles/hopscotch.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/hybrid.css +102 -0
- data/vendor/assets/bower_components/highlightjs/styles/idea.css +97 -0
- data/vendor/assets/bower_components/highlightjs/styles/ir-black.css +73 -0
- data/vendor/assets/bower_components/highlightjs/styles/ir_black.css +106 -0
- data/vendor/assets/bower_components/highlightjs/styles/kimbie.dark.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/kimbie.light.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/magula.css +70 -0
- data/vendor/assets/bower_components/highlightjs/styles/mono-blue.css +59 -0
- data/vendor/assets/bower_components/highlightjs/styles/monokai-sublime.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/monokai.css +70 -0
- data/vendor/assets/bower_components/highlightjs/styles/monokai_sublime.css +154 -0
- data/vendor/assets/bower_components/highlightjs/styles/obsidian.css +88 -0
- data/vendor/assets/bower_components/highlightjs/styles/paraiso-dark.css +72 -0
- data/vendor/assets/bower_components/highlightjs/styles/paraiso-light.css +72 -0
- data/vendor/assets/bower_components/highlightjs/styles/paraiso.dark.css +96 -0
- data/vendor/assets/bower_components/highlightjs/styles/paraiso.light.css +96 -0
- data/vendor/assets/bower_components/highlightjs/styles/pojoaque.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/pojoaque.jpg +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/qtcreator_dark.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/qtcreator_light.css +83 -0
- data/vendor/assets/bower_components/highlightjs/styles/railscasts.css +106 -0
- data/vendor/assets/bower_components/highlightjs/styles/rainbow.css +85 -0
- data/vendor/assets/bower_components/highlightjs/styles/school-book.css +72 -0
- data/vendor/assets/bower_components/highlightjs/styles/school-book.png +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/school_book.css +111 -0
- data/vendor/assets/bower_components/highlightjs/styles/school_book.png +0 -0
- data/vendor/assets/bower_components/highlightjs/styles/solarized-dark.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/solarized-light.css +84 -0
- data/vendor/assets/bower_components/highlightjs/styles/solarized_dark.css +107 -0
- data/vendor/assets/bower_components/highlightjs/styles/solarized_light.css +107 -0
- data/vendor/assets/bower_components/highlightjs/styles/sunburst.css +102 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow-night-blue.css +75 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow-night-bright.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow-night-eighties.css +74 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow-night.css +75 -0
- data/vendor/assets/bower_components/highlightjs/styles/tomorrow.css +72 -0
- data/vendor/assets/bower_components/highlightjs/styles/vs.css +68 -0
- data/vendor/assets/bower_components/highlightjs/styles/xcode.css +93 -0
- data/vendor/assets/bower_components/highlightjs/styles/zenburn.css +80 -0
- data/vendor/assets/bower_components/jquery.floatThead/CONTRIBUTING.md +33 -0
- data/vendor/assets/bower_components/jquery.floatThead/README.md +285 -0
- data/vendor/assets/bower_components/jquery.floatThead/bower.json +34 -0
- data/vendor/assets/bower_components/jquery.floatThead/dist/jquery.floatThead-slim.js +899 -0
- data/vendor/assets/bower_components/jquery.floatThead/dist/jquery.floatThead-slim.min.js +3 -0
- data/vendor/assets/bower_components/jquery.floatThead/dist/jquery.floatThead.js +964 -0
- data/vendor/assets/bower_components/jquery.floatThead/dist/jquery.floatThead.min.js +3 -0
- data/vendor/assets/bower_components/jquery.floatThead/license.txt +21 -0
- data/vendor/assets/bower_components/jquery/AUTHORS.txt +278 -0
- data/vendor/assets/bower_components/jquery/LICENSE.txt +36 -0
- data/vendor/assets/bower_components/jquery/README.md +65 -0
- data/vendor/assets/bower_components/jquery/bower.json +14 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.js +9842 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.min.js +4 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.min.map +1 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.slim.js +7877 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.slim.min.js +4 -0
- data/vendor/assets/bower_components/jquery/dist/jquery.slim.min.map +1 -0
- data/vendor/assets/bower_components/jquery/sizzle/LICENSE.txt +36 -0
- data/vendor/assets/bower_components/jquery/sizzle/dist/sizzle.js +2143 -0
- data/vendor/assets/bower_components/jquery/sizzle/dist/sizzle.min.js +3 -0
- data/vendor/assets/bower_components/jquery/sizzle/dist/sizzle.min.map +1 -0
- data/vendor/assets/bower_components/jquery/src/ajax.js +845 -0
- data/vendor/assets/bower_components/jquery/src/ajax/jsonp.js +100 -0
- data/vendor/assets/bower_components/jquery/src/ajax/load.js +83 -0
- data/vendor/assets/bower_components/jquery/src/ajax/parseJSON.js +13 -0
- data/vendor/assets/bower_components/jquery/src/ajax/parseXML.js +27 -0
- data/vendor/assets/bower_components/jquery/src/ajax/script.js +68 -0
- data/vendor/assets/bower_components/jquery/src/ajax/var/location.js +3 -0
- data/vendor/assets/bower_components/jquery/src/ajax/var/nonce.js +5 -0
- data/vendor/assets/bower_components/jquery/src/ajax/var/rquery.js +3 -0
- data/vendor/assets/bower_components/jquery/src/ajax/xhr.js +167 -0
- data/vendor/assets/bower_components/jquery/src/attributes.js +11 -0
- data/vendor/assets/bower_components/jquery/src/attributes/attr.js +142 -0
- data/vendor/assets/bower_components/jquery/src/attributes/classes.js +177 -0
- data/vendor/assets/bower_components/jquery/src/attributes/prop.js +125 -0
- data/vendor/assets/bower_components/jquery/src/attributes/support.js +36 -0
- data/vendor/assets/bower_components/jquery/src/attributes/val.js +177 -0
- data/vendor/assets/bower_components/jquery/src/callbacks.js +232 -0
- data/vendor/assets/bower_components/jquery/src/core.js +494 -0
- data/vendor/assets/bower_components/jquery/src/core/DOMEval.js +14 -0
- data/vendor/assets/bower_components/jquery/src/core/access.js +65 -0
- data/vendor/assets/bower_components/jquery/src/core/init.js +134 -0
- data/vendor/assets/bower_components/jquery/src/core/parseHTML.js +41 -0
- data/vendor/assets/bower_components/jquery/src/core/ready.js +103 -0
- data/vendor/assets/bower_components/jquery/src/core/support.js +18 -0
- data/vendor/assets/bower_components/jquery/src/core/var/rsingleTag.js +5 -0
- data/vendor/assets/bower_components/jquery/src/css.js +515 -0
- data/vendor/assets/bower_components/jquery/src/css/addGetHookIf.js +24 -0
- data/vendor/assets/bower_components/jquery/src/css/adjustCSS.js +65 -0
- data/vendor/assets/bower_components/jquery/src/css/curCSS.js +60 -0
- data/vendor/assets/bower_components/jquery/src/css/defaultDisplay.js +72 -0
- data/vendor/assets/bower_components/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/vendor/assets/bower_components/jquery/src/css/showHide.js +48 -0
- data/vendor/assets/bower_components/jquery/src/css/support.js +121 -0
- data/vendor/assets/bower_components/jquery/src/css/var/cssExpand.js +3 -0
- data/vendor/assets/bower_components/jquery/src/css/var/getStyles.js +15 -0
- data/vendor/assets/bower_components/jquery/src/css/var/isHidden.js +16 -0
- data/vendor/assets/bower_components/jquery/src/css/var/rmargin.js +3 -0
- data/vendor/assets/bower_components/jquery/src/css/var/rnumnonpx.js +5 -0
- data/vendor/assets/bower_components/jquery/src/css/var/swap.js +24 -0
- data/vendor/assets/bower_components/jquery/src/data.js +187 -0
- data/vendor/assets/bower_components/jquery/src/data/Data.js +200 -0
- data/vendor/assets/bower_components/jquery/src/data/accepts.js +20 -0
- data/vendor/assets/bower_components/jquery/src/data/support.js +23 -0
- data/vendor/assets/bower_components/jquery/src/data/var/acceptData.js +18 -0
- data/vendor/assets/bower_components/jquery/src/data/var/dataPriv.js +5 -0
- data/vendor/assets/bower_components/jquery/src/data/var/dataUser.js +5 -0
- data/vendor/assets/bower_components/jquery/src/deferred.js +158 -0
- data/vendor/assets/bower_components/jquery/src/deferred/exceptionHook.js +19 -0
- data/vendor/assets/bower_components/jquery/src/deprecated.js +32 -0
- data/vendor/assets/bower_components/jquery/src/dimensions.js +54 -0
- data/vendor/assets/bower_components/jquery/src/effects.js +629 -0
- data/vendor/assets/bower_components/jquery/src/effects/Tween.js +121 -0
- data/vendor/assets/bower_components/jquery/src/effects/animatedSelector.js +13 -0
- data/vendor/assets/bower_components/jquery/src/effects/support.js +58 -0
- data/vendor/assets/bower_components/jquery/src/event.js +710 -0
- data/vendor/assets/bower_components/jquery/src/event/ajax.js +20 -0
- data/vendor/assets/bower_components/jquery/src/event/alias.js +27 -0
- data/vendor/assets/bower_components/jquery/src/event/focusin.js +53 -0
- data/vendor/assets/bower_components/jquery/src/event/support.js +9 -0
- data/vendor/assets/bower_components/jquery/src/event/trigger.js +199 -0
- data/vendor/assets/bower_components/jquery/src/exports/amd.js +24 -0
- data/vendor/assets/bower_components/jquery/src/exports/global.js +26 -0
- data/vendor/assets/bower_components/jquery/src/intro.js +44 -0
- data/vendor/assets/bower_components/jquery/src/jquery.js +37 -0
- data/vendor/assets/bower_components/jquery/src/manipulation.js +481 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/_evalUrl.js +20 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/buildFragment.js +102 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/createSafeFragment.js +20 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/getAll.js +21 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/support.js +33 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/nodeNames.js +5 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/rleadingWhitespace.js +3 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/var/rtagName.js +3 -0
- data/vendor/assets/bower_components/jquery/src/manipulation/wrapMap.js +27 -0
- data/vendor/assets/bower_components/jquery/src/offset.js +218 -0
- data/vendor/assets/bower_components/jquery/src/outro.js +2 -0
- data/vendor/assets/bower_components/jquery/src/queue.js +143 -0
- data/vendor/assets/bower_components/jquery/src/queue/delay.js +22 -0
- data/vendor/assets/bower_components/jquery/src/selector-native.js +211 -0
- data/vendor/assets/bower_components/jquery/src/selector-sizzle.js +14 -0
- data/vendor/assets/bower_components/jquery/src/selector.js +1 -0
- data/vendor/assets/bower_components/jquery/src/serialize.js +125 -0
- data/vendor/assets/bower_components/jquery/src/support.js +63 -0
- data/vendor/assets/bower_components/jquery/src/traversing.js +175 -0
- data/vendor/assets/bower_components/jquery/src/traversing/findFilter.js +100 -0
- data/vendor/assets/bower_components/jquery/src/traversing/var/dir.js +20 -0
- data/vendor/assets/bower_components/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/vendor/assets/bower_components/jquery/src/traversing/var/siblings.js +15 -0
- data/vendor/assets/bower_components/jquery/src/var/arr.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/class2type.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/concat.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/deletedIds.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/document.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/documentElement.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/hasOwn.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/indexOf.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/pnum.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/push.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/rcssNum.js +7 -0
- data/vendor/assets/bower_components/jquery/src/var/rnotwhite.js +3 -0
- data/vendor/assets/bower_components/jquery/src/var/slice.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/support.js +5 -0
- data/vendor/assets/bower_components/jquery/src/var/toString.js +5 -0
- data/vendor/assets/bower_components/jquery/src/wrap.js +79 -0
- data/vendor/assets/bower_components/marked/Gulpfile.js +22 -0
- data/vendor/assets/bower_components/marked/LICENSE +19 -0
- data/vendor/assets/bower_components/marked/Makefile +12 -0
- data/vendor/assets/bower_components/marked/README.md +406 -0
- data/vendor/assets/bower_components/marked/bin/marked +187 -0
- data/vendor/assets/bower_components/marked/bower.json +24 -0
- data/vendor/assets/bower_components/marked/component.json +10 -0
- data/vendor/assets/bower_components/marked/doc/broken.md +426 -0
- data/vendor/assets/bower_components/marked/doc/todo.md +2 -0
- data/vendor/assets/bower_components/marked/index.js +1 -0
- data/vendor/assets/bower_components/marked/lib/marked.js +1285 -0
- data/vendor/assets/bower_components/marked/man/marked.1 +91 -0
- data/vendor/assets/bower_components/marked/marked.min.js +6 -0
- data/vendor/assets/bower_components/marked/package.json +24 -0
- data/vendor/assets/bower_components/moment/CHANGELOG.md +423 -0
- data/vendor/assets/bower_components/moment/LICENSE +22 -0
- data/vendor/assets/bower_components/moment/Moment.js.nuspec +28 -0
- data/vendor/assets/bower_components/moment/README.md +39 -0
- data/vendor/assets/bower_components/moment/benchmarks/clone.js +10 -0
- data/vendor/assets/bower_components/moment/bower.json +20 -0
- data/vendor/assets/bower_components/moment/locale/af.js +71 -0
- data/vendor/assets/bower_components/moment/locale/ar-ma.js +57 -0
- data/vendor/assets/bower_components/moment/locale/ar-sa.js +101 -0
- data/vendor/assets/bower_components/moment/locale/ar-tn.js +55 -0
- data/vendor/assets/bower_components/moment/locale/ar.js +134 -0
- data/vendor/assets/bower_components/moment/locale/az.js +107 -0
- data/vendor/assets/bower_components/moment/locale/be.js +154 -0
- data/vendor/assets/bower_components/moment/locale/bg.js +88 -0
- data/vendor/assets/bower_components/moment/locale/bn.js +111 -0
- data/vendor/assets/bower_components/moment/locale/bo.js +108 -0
- data/vendor/assets/bower_components/moment/locale/br.js +109 -0
- data/vendor/assets/bower_components/moment/locale/bs.js +140 -0
- data/vendor/assets/bower_components/moment/locale/ca.js +77 -0
- data/vendor/assets/bower_components/moment/locale/cs.js +157 -0
- data/vendor/assets/bower_components/moment/locale/cv.js +61 -0
- data/vendor/assets/bower_components/moment/locale/cy.js +79 -0
- data/vendor/assets/bower_components/moment/locale/da.js +58 -0
- data/vendor/assets/bower_components/moment/locale/de-at.js +74 -0
- data/vendor/assets/bower_components/moment/locale/de.js +73 -0
- data/vendor/assets/bower_components/moment/locale/el.js +94 -0
- data/vendor/assets/bower_components/moment/locale/en-au.js +64 -0
- data/vendor/assets/bower_components/moment/locale/en-ca.js +61 -0
- data/vendor/assets/bower_components/moment/locale/en-gb.js +65 -0
- data/vendor/assets/bower_components/moment/locale/eo.js +71 -0
- data/vendor/assets/bower_components/moment/locale/es.js +77 -0
- data/vendor/assets/bower_components/moment/locale/et.js +78 -0
- data/vendor/assets/bower_components/moment/locale/eu.js +62 -0
- data/vendor/assets/bower_components/moment/locale/fa.js +103 -0
- data/vendor/assets/bower_components/moment/locale/fi.js +107 -0
- data/vendor/assets/bower_components/moment/locale/fo.js +58 -0
- data/vendor/assets/bower_components/moment/locale/fr-ca.js +56 -0
- data/vendor/assets/bower_components/moment/locale/fr.js +60 -0
- data/vendor/assets/bower_components/moment/locale/fy.js +69 -0
- data/vendor/assets/bower_components/moment/locale/gl.js +73 -0
- data/vendor/assets/bower_components/moment/locale/he.js +80 -0
- data/vendor/assets/bower_components/moment/locale/hi.js +121 -0
- data/vendor/assets/bower_components/moment/locale/hr.js +141 -0
- data/vendor/assets/bower_components/moment/locale/hu.js +111 -0
- data/vendor/assets/bower_components/moment/locale/hy-am.js +118 -0
- data/vendor/assets/bower_components/moment/locale/id.js +81 -0
- data/vendor/assets/bower_components/moment/locale/is.js +126 -0
- data/vendor/assets/bower_components/moment/locale/it.js +68 -0
- data/vendor/assets/bower_components/moment/locale/ja.js +63 -0
- data/vendor/assets/bower_components/moment/locale/ka.js +109 -0
- data/vendor/assets/bower_components/moment/locale/km.js +56 -0
- data/vendor/assets/bower_components/moment/locale/ko.js +65 -0
- data/vendor/assets/bower_components/moment/locale/lb.js +139 -0
- data/vendor/assets/bower_components/moment/locale/lt.js +120 -0
- data/vendor/assets/bower_components/moment/locale/lv.js +79 -0
- data/vendor/assets/bower_components/moment/locale/mk.js +88 -0
- data/vendor/assets/bower_components/moment/locale/ml.js +69 -0
- data/vendor/assets/bower_components/moment/locale/mr.js +120 -0
- data/vendor/assets/bower_components/moment/locale/ms-my.js +80 -0
- data/vendor/assets/bower_components/moment/locale/my.js +89 -0
- data/vendor/assets/bower_components/moment/locale/nb.js +59 -0
- data/vendor/assets/bower_components/moment/locale/ne.js +121 -0
- data/vendor/assets/bower_components/moment/locale/nl.js +69 -0
- data/vendor/assets/bower_components/moment/locale/nn.js +58 -0
- data/vendor/assets/bower_components/moment/locale/pl.js +100 -0
- data/vendor/assets/bower_components/moment/locale/pt-br.js +58 -0
- data/vendor/assets/bower_components/moment/locale/pt.js +62 -0
- data/vendor/assets/bower_components/moment/locale/ro.js +73 -0
- data/vendor/assets/bower_components/moment/locale/ru.js +176 -0
- data/vendor/assets/bower_components/moment/locale/sk.js +158 -0
- data/vendor/assets/bower_components/moment/locale/sl.js +146 -0
- data/vendor/assets/bower_components/moment/locale/sq.js +67 -0
- data/vendor/assets/bower_components/moment/locale/sr-cyrl.js +107 -0
- data/vendor/assets/bower_components/moment/locale/sr.js +107 -0
- data/vendor/assets/bower_components/moment/locale/sv.js +65 -0
- data/vendor/assets/bower_components/moment/locale/ta.js +130 -0
- data/vendor/assets/bower_components/moment/locale/th.js +63 -0
- data/vendor/assets/bower_components/moment/locale/tl-ph.js +60 -0
- data/vendor/assets/bower_components/moment/locale/tr.js +94 -0
- data/vendor/assets/bower_components/moment/locale/tzm-latn.js +56 -0
- data/vendor/assets/bower_components/moment/locale/tzm.js +56 -0
- data/vendor/assets/bower_components/moment/locale/uk.js +163 -0
- data/vendor/assets/bower_components/moment/locale/uz.js +56 -0
- data/vendor/assets/bower_components/moment/locale/vi.js +64 -0
- data/vendor/assets/bower_components/moment/locale/zh-cn.js +125 -0
- data/vendor/assets/bower_components/moment/locale/zh-tw.js +99 -0
- data/vendor/assets/bower_components/moment/meteor/README.md +25 -0
- data/vendor/assets/bower_components/moment/meteor/export.js +3 -0
- data/vendor/assets/bower_components/moment/meteor/test.js +5 -0
- data/vendor/assets/bower_components/moment/min/locales.js +7306 -0
- data/vendor/assets/bower_components/moment/min/locales.min.js +4 -0
- data/vendor/assets/bower_components/moment/min/moment-with-locales.js +9792 -0
- data/vendor/assets/bower_components/moment/min/moment-with-locales.min.js +10 -0
- data/vendor/assets/bower_components/moment/min/moment.min.js +7 -0
- data/vendor/assets/bower_components/moment/moment.js +3043 -0
- data/vendor/assets/bower_components/moment/scripts/npm_prepublish.sh +43 -0
- data/vendor/assets/bower_components/underscore/LICENSE +23 -0
- data/vendor/assets/bower_components/underscore/README.md +22 -0
- data/vendor/assets/bower_components/underscore/bower.json +7 -0
- data/vendor/assets/bower_components/underscore/underscore-min.js +6 -0
- data/vendor/assets/bower_components/underscore/underscore-min.map +1 -0
- data/vendor/assets/bower_components/underscore/underscore.js +1548 -0
- metadata +782 -0
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! jQuery v3.0.0-beta1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector,-deprecated | (c) jQuery Foundation | jquery.org/license */
|
2
|
+
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={};function m(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var n="3.0.0-beta1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector,-deprecated",o=function(a,b){return new o.fn.init(a,b)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,q=/^-ms-/,r=/-([a-z])/g,s=function(a,b){return b.toUpperCase()};o.fn=o.prototype={jquery:n,constructor:o,length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=o.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return o.each(this,a)},map:function(a){return this.pushStack(o.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},o.extend=o.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||o.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(o.isPlainObject(d)||(e=o.isArray(d)))?(e?(e=!1,f=c&&o.isArray(c)?c:[]):f=c&&o.isPlainObject(c)?c:{},g[b]=o.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},o.extend({expando:"jQuery"+(n+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===o.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=o.type(a);return("number"===b||"string"===b)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==o.type(a)||a.nodeType||o.isWindow(a)?!1:a.constructor&&!k.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(a){m(a)},camelCase:function(a){return a.replace(q,"ms-").replace(r,s)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(t(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(p,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(t(Object(a))?o.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:h.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(t(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(c=a[b],b=a,a=c),o.isFunction(a)?(d=e.call(arguments,2),f=function(){return a.apply(b||this,d.concat(e.call(arguments)))},f.guid=a.guid=a.guid||o.guid++,f):void 0},now:Date.now,support:l}),"function"==typeof Symbol&&(o.fn[Symbol.iterator]=c[Symbol.iterator]),o.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function t(a){var b=!!a&&"length"in a&&a.length,c=o.type(a);return"function"===c||o.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var u=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",K="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\x00-\\xa0])+",M="\\["+K+"*("+L+")(?:"+K+"*([*^$|!~]?=)"+K+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+K+"*\\]",N=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",O=new RegExp(K+"+","g"),P=new RegExp("^"+K+"+|((?:^|[^\\\\])(?:\\\\.)*)"+K+"+$","g"),Q=new RegExp("^"+K+"*,"+K+"*"),R=new RegExp("^"+K+"*([>+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,ca=function(a,b){return b?"\x00"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"label"in b&&b.disabled===a||"form"in b&&b.disabled===a||"form"in b&&b.disabled===!1&&(b.isDisabled===a||b.isDisabled!==!a&&("label"in b||!ea(b))!==a)}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[0>c?c+b:c]}),even:pa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:pa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:pa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function ra(){}ra.prototype=d.filters=d.pseudos,d.setFilters=new ra,g=ga.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=Q.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function ta(a,b,c){var d=b.dir,e=b.next,f=e||d,g=c&&"parentNode"===f,h=x++;return b.first?function(b,c,e){while(b=b[d])if(1===b.nodeType||g)return a(b,c,e)}:function(b,c,i){var j,k,l,m=[w,h];if(i){while(b=b[d])if((1===b.nodeType||g)&&a(b,c,i))return!0}else while(b=b[d])if(1===b.nodeType||g)if(l=b[u]||(b[u]={}),k=l[b.uniqueID]||(l[b.uniqueID]={}),e&&e===b.nodeName.toLowerCase())b=b[d]||b;else{if((j=k[f])&&j[0]===w&&j[1]===h)return m[2]=j[2];if(k[f]=m,m[2]=a(b,c,i))return!0}}}function ua(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function wa(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function xa(a,b,c,d,e,f){return d&&!d[u]&&(d=xa(d)),e&&!e[u]&&(e=xa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||va(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:wa(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=wa(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?I(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ta(ua(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return xa(i>1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,e>i&&ya(a.slice(i,e)),f>e&&ya(a=a.slice(e)),f>e&&sa(a))}m.push(c)}return ua(m)}function za(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(_,aa),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=V.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(_,aa),$.test(j[0].type)&&qa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&sa(j),!a)return G.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||$.test(a)&&qa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);o.find=u,o.expr=u.selectors,o.expr[":"]=o.expr.pseudos,o.uniqueSort=o.unique=u.uniqueSort,o.text=u.getText,o.isXMLDoc=u.isXML,o.contains=u.contains;var v=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&o(a).is(c))break;d.push(a)}return d},w=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},x=o.expr.match.needsContext,y=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,z=/^.[^:#\[\.,]*$/;function A(a,b,c){if(o.isFunction(b))return o.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return o.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(z.test(b))return o.filter(b,a,c);b=o.filter(b,a)}return o.grep(a,function(a){return h.call(b,a)>-1!==c&&1===a.nodeType})}o.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?o.find.matchesSelector(d,a)?[d]:[]:o.find.matches(a,o.grep(b,function(a){return 1===a.nodeType}))},o.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(o(a).filter(function(){for(b=0;c>b;b++)if(o.contains(e[b],this))return!0}));for(b=0;c>b;b++)o.find(a,e[b],d);return this.pushStack(c>1?o.uniqueSort(d):d)},filter:function(a){return this.pushStack(A(this,a||[],!1))},not:function(a){return this.pushStack(A(this,a||[],!0))},is:function(a){return!!A(this,"string"==typeof a&&x.test(a)?o(a):a||[],!1).length}});var B,C=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,D=o.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||B,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:C.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof o?b[0]:b,o.merge(this,o.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),y.test(e[1])&&o.isPlainObject(b))for(e in b)o.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):o.isFunction(a)?void 0!==c.ready?c.ready(a):a(o):o.makeArray(a,this)};D.prototype=o.fn,B=o(d);var E=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};o.fn.extend({has:function(a){var b=o(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(o.contains(this,b[a]))return!0})},closest:function(a,b){var c,d=0,e=this.length,f=[],g="string"!=typeof a&&o(a);if(!x.test(a))for(;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&o.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?o.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?h.call(o(a),this[0]):h.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(o.uniqueSort(o.merge(this.get(),o(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function G(a,b){while((a=a[b])&&1!==a.nodeType);return a}o.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return v(a,"parentNode")},parentsUntil:function(a,b,c){return v(a,"parentNode",c)},next:function(a){return G(a,"nextSibling")},prev:function(a){return G(a,"previousSibling")},nextAll:function(a){return v(a,"nextSibling")},prevAll:function(a){return v(a,"previousSibling")},nextUntil:function(a,b,c){return v(a,"nextSibling",c)},prevUntil:function(a,b,c){return v(a,"previousSibling",c)},siblings:function(a){return w((a.parentNode||{}).firstChild,a)},children:function(a){return w(a.firstChild)},contents:function(a){return a.contentDocument||o.merge([],a.childNodes)}},function(a,b){o.fn[a]=function(c,d){var e=o.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=o.filter(d,e)),this.length>1&&(F[a]||o.uniqueSort(e),E.test(a)&&e.reverse()),this.pushStack(e)}});var H=/\S+/g;function I(a){var b={};return o.each(a.match(H)||[],function(a,c){b[c]=!0}),b}o.Callbacks=function(a){a="string"==typeof a?I(a):o.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){o.each(b,function(b,c){o.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==o.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return o.each(arguments,function(a,b){var c;while((c=o.inArray(b,f,c))>-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?o.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function J(a){return a}function K(a){throw a}o.extend({Deferred:function(b){var c=[["notify","progress",o.Callbacks("memory"),o.Callbacks("memory"),2],["resolve","done",o.Callbacks("once memory"),o.Callbacks("once memory"),0,"resolved"],["reject","fail",o.Callbacks("once memory"),o.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return o.Deferred(function(b){o.each(c,function(c,d){var g=o.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=g&&g.apply(this,arguments);a&&o.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this===e?b.promise():this,g?[a]:arguments)})}),a=null}).promise()},then:function(b,d,f){var g=0;function h(b,c,d,f){return function(){var i=this===e?void 0:this,j=arguments,k=function(){var a,e;if(!(g>b)){if(a=d.apply(i,j),a===c.promise())throw new TypeError("Thenable self-resolution");e=a&&("object"==typeof a||"function"==typeof a)&&a.then,o.isFunction(e)?f?e.call(a,h(g,c,J,f),h(g,c,K,f)):(g++,e.call(a,h(g,c,J,f),h(g,c,K,f),h(g,c,J,c.notify))):(d!==J&&(i=void 0,j=[a]),(f||c.resolveWith)(i||c.promise(),j))}},l=f?k:function(){try{k()}catch(a){o.Deferred.exceptionHook&&o.Deferred.exceptionHook(a,l.stackTrace),b+1>=g&&(d!==K&&(i=void 0,j=[a]),c.rejectWith(i||c.promise(),j))}};b?l():(o.Deferred.getStackHook&&(l.stackTrace=o.Deferred.getStackHook()),a.setTimeout(l))}}return o.Deferred(function(a){c[0][3].add(h(0,a,o.isFunction(f)?f:J,a.notifyWith)),c[1][3].add(h(0,a,o.isFunction(b)?b:J)),c[2][3].add(h(0,a,o.isFunction(d)?d:K))}).promise()},promise:function(a){return null!=a?o.extend(a,e):e}},f={};return o.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?e:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(){var a,b,c=0,d=e.call(arguments),f=d.length,g=f,h=o.Deferred(),i=function(a){return function(c){b[a]=this,d[a]=arguments.length>1?e.call(arguments):c,--g||h.resolveWith(1===b.length?b[0]:b,d)}};if(f>0)for(b=new Array(f);f>c;c++)d[c]&&o.isFunction(a=d[c].promise)?a.call(d[c]).done(i(c)).fail(h.reject):d[c]&&o.isFunction(a=d[c].then)?a.call(d[c],i(c),h.reject):i(c)(d[c]);else h.resolveWith();return h.promise()}});var L=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;o.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&L.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,c)};var M;o.fn.ready=function(a){return o.ready.promise().done(a),this},o.extend({isReady:!1,readyWait:1,holdReady:function(a){a?o.readyWait++:o.ready(!0)},ready:function(a){(a===!0?--o.readyWait:o.isReady)||(o.isReady=!0,a!==!0&&--o.readyWait>0||M.resolveWith(d,[o]))}});function N(){d.removeEventListener("DOMContentLoaded",N),a.removeEventListener("load",N),o.ready()}o.ready.promise=function(b){return M||(M=o.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(o.ready):(d.addEventListener("DOMContentLoaded",N),a.addEventListener("load",N))),M.promise(b)},o.ready.promise();var O=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===o.type(c)){e=!0;for(h in c)O(a,b,h,c[h],!0,f,g);
|
3
|
+
}else if(void 0!==d&&(e=!0,o.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(o(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},P=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function Q(){this.expando=o.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(a){var b=a[this.expando];return b||(b={},P(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[o.camelCase(b)]=c;else for(d in b)e[o.camelCase(d)]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][o.camelCase(b)]},access:function(a,b,c){return void 0===b||b&&"string"==typeof b&&void 0===c?this.get(a,b):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d=a[this.expando];if(void 0!==d){if(void 0!==b){o.isArray(b)?b=b.map(o.camelCase):(b=o.camelCase(b),b=b in d?[b]:b.match(H)||[]),c=b.length;while(c--)delete d[b[c]]}(void 0===b||o.isEmptyObject(d))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!o.isEmptyObject(b)}};var R=new Q,S=new Q,T=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(U,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:T.test(c)?o.parseJSON(c):c}catch(e){}S.set(a,b,c)}else c=void 0;return c}o.extend({hasData:function(a){return S.hasData(a)||R.hasData(a)},data:function(a,b,c){return S.access(a,b,c)},removeData:function(a,b){S.remove(a,b)},_data:function(a,b,c){return R.access(a,b,c)},_removeData:function(a,b){R.remove(a,b)}}),o.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=S.get(f),1===f.nodeType&&!R.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=o.camelCase(d.slice(5)),V(f,d,e[d])));R.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){S.set(this,a)}):O(this,function(b){var c;if(f&&void 0===b){if(c=S.get(f,a),void 0!==c)return c;if(c=V(f,a),void 0!==c)return c}else this.each(function(){S.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){S.remove(this,a)})}}),o.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=R.get(a,b),c&&(!d||o.isArray(c)?d=R.access(a,b,o.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=o.queue(a,b),d=c.length,e=c.shift(),f=o._queueHooks(a,b),g=function(){o.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return R.get(a,c)||R.access(a,c,{empty:o.Callbacks("once memory").add(function(){R.remove(a,[b+"queue",c])})})}}),o.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?o.queue(this[0],a):void 0===b?this:this.each(function(){var c=o.queue(this,a,b);o._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&o.dequeue(this,a)})},dequeue:function(a){return this.each(function(){o.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=o.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=R.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var W=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,X=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),Y=["Top","Right","Bottom","Left"],Z=function(a,b){return a=b||a,"none"===o.css(a,"display")||!o.contains(a.ownerDocument,a)},$=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};function _(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return o.css(a,b,"")},i=h(),j=c&&c[3]||(o.cssNumber[b]?"":"px"),k=(o.cssNumber[b]||"px"!==j&&+i)&&X.exec(o.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,o.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var aa={};function ba(a){var b,c=a.ownerDocument,d=a.nodeName,e=aa[d];return e?e:(b=c.body.appendChild(c.createElement(d)),e=o.css(b,"display"),b.parentNode.removeChild(b),"none"===e&&(e="block"),aa[d]=e,e)}function ca(a,b){for(var c,d,e=[],f=0,g=a.length;g>f;f++)d=a[f],d.style&&(c=d.style.display,b?("none"===c&&(e[f]=R.get(d,"display")||null,e[f]||(d.style.display="")),""===d.style.display&&"none"===o.css(d,"display")&&o.contains(d.ownerDocument,d)&&(e[f]=ba(d))):"none"!==c&&(e[f]="none",R.set(d,"display",c)));for(f=0;g>f;f++)null!=e[f]&&(a[f].style.display=e[f]);return a}o.fn.extend({show:function(){return ca(this,!0)},hide:function(){return ca(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){Z(this)?o(this).show():o(this).hide()})}});var da=/^(?:checkbox|radio)$/i,ea=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,fa=/^$|\/(?:java|ecma)script/i,ga={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ga.optgroup=ga.option,ga.tbody=ga.tfoot=ga.colgroup=ga.caption=ga.thead,ga.th=ga.td;function ha(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&o.nodeName(a,b)?o.merge([a],c):c}function ia(a,b){for(var c=0,d=a.length;d>c;c++)R.set(a[c],"globalEval",!b||R.get(b[c],"globalEval"))}var ja=/<|&#?\w+;/;function ka(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],n=0,p=a.length;p>n;n++)if(f=a[n],f||0===f)if("object"===o.type(f))o.merge(m,f.nodeType?[f]:f);else if(ja.test(f)){g=g||l.appendChild(b.createElement("div")),h=(ea.exec(f)||["",""])[1].toLowerCase(),i=ga[h]||ga._default,g.innerHTML=i[1]+o.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;o.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",n=0;while(f=m[n++])if(d&&o.inArray(f,d)>-1)e&&e.push(f);else if(j=o.contains(f.ownerDocument,f),g=ha(l.appendChild(f),"script"),j&&ia(g),c){k=0;while(f=g[k++])fa.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var la=/^key/,ma=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,na=/^([^.]*)(?:\.(.+)|)/;function oa(){return!0}function pa(){return!1}function qa(){try{return d.activeElement}catch(a){}}function ra(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ra(a,h,c,d,b[h],f);return a}return null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1&&(e=pa),1===f&&(g=e,e=function(a){return o().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=o.guid++)),a.each(function(){o.event.add(this,b,e,d,c)})}o.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,p,q,r=R.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=o.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return"undefined"!=typeof o&&o.event.triggered!==b.type?o.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(H)||[""],j=b.length;while(j--)h=na.exec(b[j])||[],n=q=h[1],p=(h[2]||"").split(".").sort(),n&&(l=o.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=o.event.special[n]||{},k=o.extend({type:n,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&o.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),o.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,p,q,r=R.hasData(a)&&R.get(a);if(r&&(i=r.events)){b=(b||"").match(H)||[""],j=b.length;while(j--)if(h=na.exec(b[j])||[],n=q=h[1],p=(h[2]||"").split(".").sort(),n){l=o.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||o.removeEvent(a,n,r.handle),delete i[n])}else for(n in i)o.event.remove(a,n+b[j],c,d,!0);o.isEmptyObject(i)&&R.remove(a,"handle events")}},dispatch:function(a){a=o.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(R.get(this,"events")||{})[a.type]||[],k=o.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=o.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.rnamespace||a.rnamespace.test(g.namespace))&&(a.handleObj=g,a.data=g.data,d=((o.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?o(e,this).index(i)>-1:o.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||d,e=c.documentElement,f=c.body,a.pageX=b.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},fix:function(a){if(a[o.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=ma.test(e)?this.mouseHooks:la.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new o.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return 3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==qa()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===qa()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&o.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return o.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},o.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},o.Event=function(a,b){return this instanceof o.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?oa:pa):this.type=a,b&&o.extend(this,b),this.timeStamp=a&&a.timeStamp||o.now(),void(this[o.expando]=!0)):new o.Event(a,b)},o.Event.prototype={constructor:o.Event,isDefaultPrevented:pa,isPropagationStopped:pa,isImmediatePropagationStopped:pa,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=oa,a&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=oa,a&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=oa,a&&a.stopImmediatePropagation(),this.stopPropagation()}},o.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){o.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!o.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),o.fn.extend({on:function(a,b,c,d){return ra(this,a,b,c,d)},one:function(a,b,c,d){return ra(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,o(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=pa),this.each(function(){o.event.remove(this,a,c,b)})}});var sa=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ta=/<script|<style|<link/i,ua=/checked\s*(?:[^=]|=\s*.checked.)/i,va=/^true\/(.*)/,wa=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function xa(a,b){return o.nodeName(a,"table")&&o.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a:a}function ya(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function za(a){var b=va.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function Aa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(R.hasData(a)&&(f=R.access(a),g=R.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)o.event.add(b,e,j[e][c])}S.hasData(a)&&(h=S.access(a),i=o.extend({},h),S.set(b,i))}}function Ba(a,b){var c=b.nodeName.toLowerCase();"input"===c&&da.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}function Ca(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,n=0,p=a.length,q=p-1,r=b[0],s=o.isFunction(r);if(s||p>1&&"string"==typeof r&&!l.checkClone&&ua.test(r))return a.each(function(e){var f=a.eq(e);s&&(b[0]=r.call(this,e,f.html())),Ca(f,b,c,d)});if(p&&(e=ka(b,a[0].ownerDocument,!1,a,d),g=e.firstChild,1===e.childNodes.length&&(e=g),g||d)){for(h=o.map(ha(e,"script"),ya),i=h.length;p>n;n++)j=e,n!==q&&(j=o.clone(j,!0,!0),i&&o.merge(h,ha(j,"script"))),c.call(a[n],j,n);if(i)for(k=h[h.length-1].ownerDocument,o.map(h,za),n=0;i>n;n++)j=h[n],fa.test(j.type||"")&&!R.access(j,"globalEval")&&o.contains(k,j)&&(j.src?o._evalUrl&&o._evalUrl(j.src):m(j.textContent.replace(wa,""),k))}return a}function Da(a,b,c){for(var d,e=b?o.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||o.cleanData(ha(d)),d.parentNode&&(c&&o.contains(d.ownerDocument,d)&&ia(ha(d,"script")),d.parentNode.removeChild(d));return a}o.extend({htmlPrefilter:function(a){return a.replace(sa,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=o.contains(a.ownerDocument,a);if(!(l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||o.isXMLDoc(a)))for(g=ha(h),f=ha(a),d=0,e=f.length;e>d;d++)Ba(f[d],g[d]);if(b)if(c)for(f=f||ha(a),g=g||ha(h),d=0,e=f.length;e>d;d++)Aa(f[d],g[d]);else Aa(a,h);return g=ha(h,"script"),g.length>0&&ia(g,!i&&ha(a,"script")),h},cleanData:function(a){for(var b,c,d,e=o.event.special,f=0;void 0!==(c=a[f]);f++)if(P(c)){if(b=c[R.expando]){if(b.events)for(d in b.events)e[d]?o.event.remove(c,d):o.removeEvent(c,d,b.handle);c[R.expando]=void 0}c[S.expando]&&(c[S.expando]=void 0)}}}),o.fn.extend({detach:function(a){return Da(this,a,!0)},remove:function(a){return Da(this,a)},text:function(a){return O(this,function(a){return void 0===a?o.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return Ca(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xa(this,a);b.appendChild(a)}})},prepend:function(){return Ca(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=xa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return Ca(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return Ca(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(o.cleanData(ha(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return o.clone(this,a,b)})},html:function(a){return O(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!ta.test(a)&&!ga[(ea.exec(a)||["",""])[1].toLowerCase()]){a=o.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(o.cleanData(ha(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return Ca(this,arguments,function(b){var c=this.parentNode;o.inArray(this,a)<0&&(o.cleanData(ha(this)),c&&c.replaceChild(b,this))},a)}}),o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){o.fn[a]=function(a){for(var c,d=[],e=o(a),f=e.length-1,h=0;f>=h;h++)c=h===f?this:this.clone(!0),o(e[h])[b](c),g.apply(d,c.get());return this.pushStack(d)}});var Ea=/^margin/,Fa=new RegExp("^("+W+")(?!px)[a-z%]+$","i"),Ga=function(b){var c=b.ownerDocument.defaultView;return c.opener||(c=a),c.getComputedStyle(b)},Ha=d.documentElement;!function(){var b,c,e,f,g=d.createElement("div"),h=d.createElement("div");if(h.style){h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===h.style.backgroundClip,g.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",g.appendChild(h);function i(){h.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",h.innerHTML="",Ha.appendChild(g);var d=a.getComputedStyle(h);b="1%"!==d.top,f="2px"===d.marginLeft,c="4px"===d.width,h.style.marginRight="50%",e="4px"===d.marginRight,Ha.removeChild(g)}o.extend(l,{pixelPosition:function(){return i(),b},boxSizingReliable:function(){return null==c&&i(),c},pixelMarginRight:function(){return null==c&&i(),e},reliableMarginLeft:function(){return null==c&&i(),f}})}}();function Ia(a,b,c){var d,e,f,g,h=a.style;return c=c||Ga(a),c&&(g=c.getPropertyValue(b)||c[b],""!==g||o.contains(a.ownerDocument,a)||(g=o.style(a,b)),!l.pixelMarginRight()&&Fa.test(g)&&Ea.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function Ja(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Ka=/^(none|table(?!-c[ea]).+)/,La={position:"absolute",visibility:"hidden",display:"block"},Ma={letterSpacing:"0",fontWeight:"400"},Na=["Webkit","Moz","ms"],Oa=d.createElement("div").style;function Pa(a){if(a in Oa)return a;var b=a[0].toUpperCase()+a.slice(1),c=Na.length;while(c--)if(a=Na[c]+b,a in Oa)return a}function Qa(a,b,c){var d=X.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Ra(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=o.css(a,c+Y[f],!0,e)),d?("content"===c&&(g-=o.css(a,"padding"+Y[f],!0,e)),"margin"!==c&&(g-=o.css(a,"border"+Y[f]+"Width",!0,e))):(g+=o.css(a,"padding"+Y[f],!0,e),"padding"!==c&&(g+=o.css(a,"border"+Y[f]+"Width",!0,e)));return g}function Sa(b,c,e){var f,g=!0,h=Ga(b),i="border-box"===o.css(b,"boxSizing",!1,h);if(b.getClientRects().length&&(f=b.getBoundingClientRect()[c]),d.msFullscreenElement&&a.top!==a&&(f*=100),0>=f||null==f){if(f=Ia(b,c,h),(0>f||null==f)&&(f=b.style[c]),Fa.test(f))return f;g=i&&(l.boxSizingReliable()||f===b.style[c]),f=parseFloat(f)||0}return f+Ra(b,c,e||(i?"border":"content"),g,h)+"px"}o.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ia(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=o.camelCase(b),i=a.style;return b=o.cssProps[h]||(o.cssProps[h]=Pa(h)||h),g=o.cssHooks[b]||o.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=X.exec(c))&&e[1]&&(c=_(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(o.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=o.camelCase(b);return b=o.cssProps[h]||(o.cssProps[h]=Pa(h)||h),g=o.cssHooks[b]||o.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Ia(a,b,d)),"normal"===e&&b in Ma&&(e=Ma[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),o.each(["height","width"],function(a,b){o.cssHooks[b]={get:function(a,c,d){return c?!Ka.test(o.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?Sa(a,b,d):$(a,La,function(){return Sa(a,b,d)}):void 0},set:function(a,c,d){var e,f=d&&Ga(a),g=d&&Ra(a,b,d,"border-box"===o.css(a,"boxSizing",!1,f),f);return g&&(e=X.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=o.css(a,b)),Qa(a,c,g)}}}),o.cssHooks.marginLeft=Ja(l.reliableMarginLeft,function(a,b){return b?(parseFloat(Ia(a,"marginLeft"))||a.getBoundingClientRect().left-$(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px":void 0}),o.each({margin:"",padding:"",border:"Width"},function(a,b){o.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+Y[d]+b]=f[d]||f[d-2]||f[0];return e}},Ea.test(a)||(o.cssHooks[a+b].set=Qa)}),o.fn.extend({css:function(a,b){return O(this,function(a,b,c){var d,e,f={},g=0;if(o.isArray(b)){for(d=Ga(a),e=b.length;e>g;g++)f[b[g]]=o.css(a,b[g],!1,d);return f}return void 0!==c?o.style(a,b,c):o.css(a,b)},a,b,arguments.length>1)}}),o.fn.delay=function(b,c){return b=o.fx?o.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",l.checkOn=""!==a.value,l.optSelected=c.selected,a=d.createElement("input"),a.value="t",a.type="radio",l.radioValue="t"===a.value}();var Ta,Ua=o.expr.attrHandle,Va=/[A-Z]+/g,Wa=function(a){return a.toLowerCase()};o.fn.extend({attr:function(a,b){return O(this,o.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){o.removeAttr(this,a)})}}),o.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?o.prop(a,b,c):(1===f&&o.isXMLDoc(a)||(b=b.replace(Va,Wa),e=o.attrHooks[b]||(o.expr.match.bool.test(b)?Ta:void 0)),void 0!==c?null===c?void o.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=o.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&o.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d=0,e=b&&b.match(H);if(e&&1===a.nodeType)while(c=e[d++])a.removeAttribute(c)}}),Ta={set:function(a,b,c){return b===!1?o.removeAttr(a,c):a.setAttribute(c,c),c}},o.each(o.expr.match.bool.source.match(/\w+/g),function(a,b){var c=Ua[b]||o.find.attr;Ua[b]=function(a,b,d){var e,f;return d||(f=Ua[b],Ua[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,Ua[b]=f),e}});var Xa=/^(?:input|select|textarea|button)$/i,Ya=/^(?:a|area)$/i;o.fn.extend({prop:function(a,b){return O(this,o.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[o.propFix[a]||a]})}}),o.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&o.isXMLDoc(a)||(b=o.propFix[b]||b,e=o.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=o.find.attr(a,"tabindex");return b?parseInt(b,10):Xa.test(a.nodeName)||Ya.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),l.optSelected||(o.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),o.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){o.propFix[this.toLowerCase()]=this});var Za=/[\t\r\n\f]/g;function $a(a){return a.getAttribute&&a.getAttribute("class")||""}o.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(o.isFunction(a))return this.each(function(b){o(this).addClass(a.call(this,b,$a(this)))});if("string"==typeof a&&a){b=a.match(H)||[];while(c=this[i++])if(e=$a(c),d=1===c.nodeType&&(" "+e+" ").replace(Za," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=o.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(o.isFunction(a))return this.each(function(b){o(this).removeClass(a.call(this,b,$a(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(H)||[];while(c=this[i++])if(e=$a(c),d=1===c.nodeType&&(" "+e+" ").replace(Za," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=o.trim(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):o.isFunction(a)?this.each(function(c){o(this).toggleClass(a.call(this,c,$a(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=o(this),f=a.match(H)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(void 0===a||"boolean"===c)&&(b=$a(this),b&&R.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":R.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+$a(c)+" ").replace(Za," ").indexOf(b)>-1)return!0;return!1}});var _a=/\r/g;o.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=o.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,o(this).val()):a,null==e?e="":"number"==typeof e?e+="":o.isArray(e)&&(e=o.map(e,function(a){return null==a?"":a+""})),b=o.valHooks[this.type]||o.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=o.valHooks[e.type]||o.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(_a,""):null==c?"":c)}}}),o.extend({valHooks:{option:{get:function(a){return o.trim(a.value)}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],(c.selected||i===e)&&!c.disabled&&(!c.parentNode.disabled||!o.nodeName(c.parentNode,"optgroup"))){if(b=o(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=o.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=o.inArray(o.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),o.each(["radio","checkbox"],function(){o.valHooks[this]={set:function(a,b){return o.isArray(b)?a.checked=o.inArray(o(a).val(),b)>-1:void 0}},l.checkOn||(o.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var ab=/^(?:focusinfocus|focusoutblur)$/;o.extend(o.event,{trigger:function(b,c,e,f){var g,h,i,j,l,m,n,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!ab.test(q+o.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),l=q.indexOf(":")<0&&"on"+q,b=b[o.expando]?b:new o.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:o.makeArray(c,[b]),n=o.event.special[q]||{},f||!n.trigger||n.trigger.apply(e,c)!==!1)){if(!f&&!n.noBubble&&!o.isWindow(e)){for(j=n.delegateType||q,ab.test(j+q)||(h=h.parentNode);h;h=h.parentNode)p.push(h),i=h;i===(e.ownerDocument||d)&&p.push(i.defaultView||i.parentWindow||a)}g=0;while((h=p[g++])&&!b.isPropagationStopped())b.type=g>1?j:n.bindType||q,m=(R.get(h,"events")||{})[b.type]&&R.get(h,"handle"),m&&m.apply(h,c),m=l&&h[l],m&&m.apply&&P(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=q,f||b.isDefaultPrevented()||n._default&&n._default.apply(p.pop(),c)!==!1||!P(e)||l&&o.isFunction(e[q])&&!o.isWindow(e)&&(i=e[l],i&&(e[l]=null),o.event.triggered=q,e[q](),o.event.triggered=void 0,i&&(e[l]=i)),b.result}},simulate:function(a,b,c){var d=o.extend(new o.Event,c,{type:a,isSimulated:!0});o.event.trigger(d,null,b),d.isDefaultPrevented()&&c.preventDefault()}}),o.fn.extend({trigger:function(a,b){return this.each(function(){o.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?o.event.trigger(a,b,c,!0):void 0}}),o.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(a,b){o.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),o.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),l.focusin="onfocusin"in a,l.focusin||o.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){o.event.simulate(b,a.target,o.event.fix(a))};o.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=R.access(d,b);e||d.addEventListener(a,c,!0),R.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=R.access(d,b)-1;e?R.access(d,b,e):(d.removeEventListener(a,c,!0),R.remove(d,b))}}}),o.fn.extend({wrapAll:function(a){var b;return this[0]&&(o.isFunction(a)&&(a=a.call(this[0])),b=o(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this},wrapInner:function(a){return o.isFunction(a)?this.each(function(b){o(this).wrapInner(a.call(this,b))}):this.each(function(){var b=o(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=o.isFunction(a);return this.each(function(c){o(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){return this.parent(a).not("body").each(function(){o(this).replaceWith(this.childNodes)}),this}}),o.expr.filters.hidden=function(a){return!o.expr.filters.visible(a)},o.expr.filters.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length);
|
4
|
+
};var bb=/\[\]$/,cb=/\r?\n/g,db=/^(?:submit|button|image|reset|file)$/i,eb=/^(?:input|select|textarea|keygen)/i;function fb(a,b,c,d){var e;if(o.isArray(b))o.each(b,function(b,e){c||bb.test(a)?d(a,e):fb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==o.type(b))d(a,b);else for(e in b)fb(a+"["+e+"]",b[e],c,d)}o.param=function(a,b){var c,d=[],e=function(a,b){b=o.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=o.ajaxSettings&&o.ajaxSettings.traditional),o.isArray(a)||a.jquery&&!o.isPlainObject(a))o.each(a,function(){e(this.name,this.value)});else for(c in a)fb(c,a[c],b,e);return d.join("&")},o.fn.extend({serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=o.prop(this,"elements");return a?o.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!o(this).is(":disabled")&&eb.test(this.nodeName)&&!db.test(a)&&(this.checked||!da.test(a))}).map(function(a,b){var c=o(this).val();return null==c?null:o.isArray(c)?o.map(c,function(a){return{name:b.name,value:a.replace(cb,"\r\n")}}):{name:b.name,value:c.replace(cb,"\r\n")}}).get()}}),l.createHTMLDocument=function(){var a=d.implementation.createHTMLDocument("").body;return a.innerHTML="<form></form><form></form>",2===a.childNodes.length}(),o.parseHTML=function(a,b,c){if("string"!=typeof a)return[];"boolean"==typeof b&&(c=b,b=!1),b=b||(l.createHTMLDocument?d.implementation.createHTMLDocument(""):d);var e=y.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ka([a],b,f),f&&f.length&&o(f).remove(),o.merge([],e.childNodes))};function gb(a){return o.isWindow(a)?a:9===a.nodeType&&a.defaultView}o.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=o.css(a,"position"),l=o(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=o.css(a,"top"),i=o.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),o.isFunction(b)&&(b=b.call(a,c,o.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},o.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){o.offset.setOffset(this,a,b)});var b,c,d,e,f=this[0];if(f)return f.getClientRects().length?(d=f.getBoundingClientRect(),d.width||d.height?(e=f.ownerDocument,c=gb(e),b=e.documentElement,{top:d.top+c.pageYOffset-b.clientTop,left:d.left+c.pageXOffset-b.clientLeft}):d):{top:0,left:0}},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===o.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),o.nodeName(a[0],"html")||(d=a.offset()),d.top+=o.css(a[0],"borderTopWidth",!0)-a.scrollTop(),d.left+=o.css(a[0],"borderLeftWidth",!0)-a.scrollLeft()),{top:b.top-d.top-o.css(c,"marginTop",!0),left:b.left-d.left-o.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===o.css(a,"position"))a=a.offsetParent;return a||Ha})}}),o.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;o.fn[a]=function(d){return O(this,function(a,d,e){var f=gb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),o.each(["top","left"],function(a,b){o.cssHooks[b]=Ja(l.pixelPosition,function(a,c){return c?(c=Ia(a,b),Fa.test(c)?o(a).position()[b]+"px":c):void 0})}),o.each({Height:"height",Width:"width"},function(a,b){o.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){o.fn[d]=function(e,f){var g=arguments.length&&(c||"boolean"!=typeof e),h=c||(e===!0||f===!0?"margin":"border");return O(this,function(b,c,e){var f;return o.isWindow(b)?0===d.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(f=b.documentElement,Math.max(b.body["scroll"+a],f["scroll"+a],b.body["offset"+a],f["offset"+a],f["client"+a])):void 0===e?o.css(b,c,h):o.style(b,c,e,h)},b,g?e:void 0,g)}})}),"function"==typeof define&&define.amd&&define("jquery",[],function(){return o});var hb=a.jQuery,ib=a.$;return o.noConflict=function(b){return a.$===o&&(a.$=ib),b&&a.jQuery===o&&(a.jQuery=hb),o},b||(a.jQuery=a.$=o),o});
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["jquery.slim.js"],"names":["global","factory","module","exports","document","w","Error","window","this","noGlobal","arr","slice","concat","push","indexOf","class2type","toString","hasOwn","hasOwnProperty","support","DOMEval","code","doc","script","createElement","text","head","appendChild","parentNode","removeChild","version","jQuery","selector","context","fn","init","rtrim","rmsPrefix","rdashAlpha","fcamelCase","all","letter","toUpperCase","prototype","jquery","constructor","length","toArray","call","get","num","pushStack","elems","ret","merge","prevObject","each","callback","map","elem","i","apply","arguments","first","eq","last","len","j","end","sort","splice","extend","options","name","src","copy","copyIsArray","clone","target","deep","isFunction","isPlainObject","isArray","undefined","expando","Math","random","replace","isReady","error","msg","noop","obj","type","Array","isWindow","isNumeric","parseFloat","nodeType","isEmptyObject","globalEval","camelCase","string","nodeName","toLowerCase","isArrayLike","trim","makeArray","results","Object","inArray","second","grep","invert","callbackInverse","matches","callbackExpect","arg","value","guid","proxy","tmp","args","now","Date","Symbol","iterator","split","Sizzle","Expr","getText","isXML","tokenize","compile","select","outermostContext","sortInput","hasDuplicate","setDocument","docElem","documentIsHTML","rbuggyQSA","rbuggyMatches","contains","preferredDoc","dirruns","done","classCache","createCache","tokenCache","compilerCache","sortOrder","a","b","pop","push_native","list","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","RegExp","rcomma","rcombinators","rattributeQuotes","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rinputs","rheader","rnative","rquickExpr","rsibling","runescape","funescape","_","escaped","escapedWhitespace","high","String","fromCharCode","rcssescape","fcssescape","ch","asCodePoint","charCodeAt","unloadHandler","disabledAncestor","addCombinator","disabled","dir","next","childNodes","e","els","seed","m","nid","match","groups","newSelector","newContext","ownerDocument","exec","getElementById","id","getElementsByTagName","getElementsByClassName","qsa","test","getAttribute","setAttribute","toSelector","join","testContext","querySelectorAll","qsaError","removeAttribute","keys","cache","key","cacheLength","shift","markFunction","assert","el","addHandle","attrs","handler","attrHandle","siblingCheck","cur","diff","sourceIndex","nextSibling","createInputPseudo","createButtonPseudo","createDisabledPseudo","isDisabled","createPositionalPseudo","argument","matchIndexes","documentElement","node","hasCompare","subWindow","defaultView","top","addEventListener","attachEvent","className","createComment","getById","getElementsByName","find","filter","attrId","getAttributeNode","tag","innerHTML","input","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","unshift","expr","elements","attr","val","specified","escape","sel","uniqueSort","duplicates","detectDuplicates","sortStable","textContent","firstChild","nodeValue","selectors","createPseudo","relative",">"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","what","simple","forward","ofType","xml","uniqueCache","outerCache","nodeIndex","start","parent","useCache","lastChild","uniqueID","pseudo","setFilters","idx","matched","not","matcher","unmatched","has","innerText","lang","elemLang","hash","location","root","focus","activeElement","hasFocus","href","tabIndex","enabled","checked","selected","selectedIndex","empty","header","button","even","odd","lt","gt","radio","checkbox","file","password","image","submit","reset","filters","parseOnly","tokens","soFar","preFilters","cached","combinator","base","skip","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","multipleContexts","contexts","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","matcherFromGroupMatchers","elementMatchers","setMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","token","compiled","defaultValue","unique","isXMLDoc","until","truncate","is","siblings","n","rneedsContext","rsingleTag","risSimple","winnow","qualifier","self","rootjQuery","parseHTML","ready","rparentsprev","guaranteedUnique","children","contents","prev","targets","l","closest","index","prevAll","add","addBack","sibling","parents","parentsUntil","nextAll","nextUntil","prevUntil","contentDocument","reverse","rnotwhite","createOptions","object","flag","Callbacks","firing","memory","fired","locked","queue","firingIndex","fire","once","stopOnFalse","remove","disable","lock","fireWith","Identity","v","Thrower","ex","Deferred","func","tuples","state","promise","always","deferred","fail","catch","then","pipe","fns","newDefer","tuple","returned","progress","notify","resolve","reject","onFulfilled","onRejected","onProgress","maxDepth","depth","special","that","mightThrow","TypeError","resolveWith","process","exceptionHook","stackTrace","rejectWith","getStackHook","setTimeout","notifyWith","stateString","when","method","resolveContexts","resolveValues","remaining","master","updateFunc","rerrorNames","stack","console","warn","message","readyList","readyWait","holdReady","hold","wait","completed","removeEventListener","readyState","doScroll","access","chainable","emptyGet","raw","bulk","acceptData","owner","Data","uid","defineProperty","configurable","set","data","prop","hasData","dataPriv","dataUser","rbrace","rmultiDash","dataAttr","parseJSON","removeData","_data","_removeData","dequeue","startLength","hooks","_queueHooks","stop","setter","clearQueue","count","defer","pnum","source","rcssNum","cssExpand","isHidden","css","swap","old","style","adjustCSS","valueParts","tween","adjusted","scale","maxIterations","currentValue","initial","unit","cssNumber","initialInUnit","defaultDisplayMap","getDefaultDisplay","display","body","showHide","show","values","hide","toggle","rcheckableType","rtagName","rscriptType","wrapMap","option","thead","col","tr","td","_default","optgroup","tbody","tfoot","colgroup","caption","th","getAll","setGlobalEval","refElements","rhtml","buildFragment","scripts","selection","ignored","wrap","fragment","createDocumentFragment","nodes","htmlPrefilter","createTextNode","div","checkClone","cloneNode","noCloneChecked","rkeyEvent","rmouseEvent","rtypenamespace","returnTrue","returnFalse","safeActiveElement","err","on","types","one","origFn","event","off","handleObjIn","eventHandle","events","t","handleObj","handlers","namespaces","origType","elemData","handle","triggered","dispatch","delegateType","bindType","namespace","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","fix","handlerQueue","delegateTarget","preDispatch","isPropagationStopped","currentTarget","isImmediatePropagationStopped","rnamespace","preventDefault","stopPropagation","postDispatch","isNaN","props","fixHooks","keyHooks","original","which","charCode","keyCode","mouseHooks","eventDoc","pageX","clientX","scrollLeft","clientLeft","pageY","clientY","scrollTop","clientTop","originalEvent","fixHook","Event","load","noBubble","trigger","blur","click","beforeunload","returnValue","isDefaultPrevented","defaultPrevented","timeStamp","stopImmediatePropagation","mouseenter","mouseleave","pointerenter","pointerleave","orig","related","relatedTarget","rxhtmlTag","rnoInnerhtml","rchecked","rscriptTypeMasked","rcleanScript","manipulationTarget","content","disableScript","restoreScript","cloneCopyEvent","dest","pdataOld","pdataCur","udataOld","udataCur","fixInput","domManip","collection","hasScripts","iNoClone","html","_evalUrl","keepData","cleanData","dataAndEvents","deepDataAndEvents","srcElements","destElements","inPage","detach","append","prepend","insertBefore","before","after","replaceWith","replaceChild","appendTo","prependTo","insertAfter","replaceAll","insert","rmargin","rnumnonpx","getStyles","view","opener","getComputedStyle","pixelPositionVal","boxSizingReliableVal","pixelMarginRightVal","reliableMarginLeftVal","container","backgroundClip","clearCloneStyle","cssText","computeStyleTests","divStyle","marginLeft","width","marginRight","pixelPosition","boxSizingReliable","pixelMarginRight","reliableMarginLeft","curCSS","computed","minWidth","maxWidth","getPropertyValue","addGetHookIf","conditionFn","hookFn","rdisplayswap","cssShow","position","visibility","cssNormalTransform","letterSpacing","fontWeight","cssPrefixes","emptyStyle","vendorPropName","capName","setPositiveNumber","subtract","max","augmentWidthOrHeight","extra","isBorderBox","styles","getWidthOrHeight","valueIsBorderBox","getClientRects","getBoundingClientRect","msFullscreenElement","cssHooks","opacity","animationIterationCount","columnCount","fillOpacity","flexGrow","flexShrink","lineHeight","order","orphans","widows","zIndex","zoom","cssProps","float","origName","isFinite","left","margin","padding","border","prefix","suffix","expand","expanded","parts","delay","time","fx","speeds","timeout","clearTimeout","opt","checkOn","optSelected","radioValue","boolHook","raz","lowercase","removeAttr","nType","attrHooks","attrNames","getter","rfocusable","rclickable","removeProp","propFix","propHooks","tabindex","parseInt","for","class","rclass","getClass","addClass","classes","curValue","clazz","finalValue","removeClass","toggleClass","stateVal","classNames","hasClass","rreturn","valHooks","optionSet","rfocusMorph","onlyHandlers","bubbleType","ontype","eventPath","isTrigger","parentWindow","simulate","isSimulated","triggerHandler","hover","fnOver","fnOut","focusin","attaches","wrapAll","firstElementChild","wrapInner","unwrap","hidden","visible","offsetWidth","offsetHeight","rbracket","rCRLF","rsubmitterTypes","rsubmittable","buildParams","traditional","param","s","encodeURIComponent","ajaxSettings","serialize","serializeArray","createHTMLDocument","implementation","keepScripts","parsed","getWindow","offset","setOffset","curPosition","curLeft","curCSSTop","curTop","curOffset","curCSSLeft","calculatePosition","curElem","using","win","rect","height","pageYOffset","pageXOffset","offsetParent","parentOffset","scrollTo","Height","Width","","defaultExtra","funcName","define","amd","_jQuery","_$","$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AM,QAAUc,GAChBd,EAAKvD,SAASwP,gBAAiB,SAAWnL,GAIrB,IAAlBd,EAAKuC,UACT5E,EAAMqC,EAAKiM,gBAIJvK,KAAKwsB,IACXluB,EAAKghB,KAAM,SAAWlgB,GAAQnD,EAAK,SAAWmD,GAC9Cd,EAAKghB,KAAM,SAAWlgB,GAAQnD,EAAK,SAAWmD,GAC9CnD,EAAK,SAAWmD,KAIDU,SAAVmC,EAGNvF,EAAO0hB,IAAK9f,EAAMkC,EAAMksB,GAGxBhwB,EAAO6hB,MAAOjgB,EAAMkC,EAAMyB,EAAOyqB,IAChClsB,EAAMub,EAAYqS,EAAStuB,OAAWic,QAmBrB,kBAAXuZ,SAAyBA,OAAOC,KAC3CD,OAAQ,YAAc,WACrB,MAAO54B,IAMT,IAGC84B,IAAUt6B,EAAOwB,OAGjB+4B,GAAKv6B,EAAOw6B,CAqBb,OAnBAh5B,GAAOi5B,WAAa,SAAUj2B,GAS7B,MARKxE,GAAOw6B,IAAMh5B,IACjBxB,EAAOw6B,EAAID,IAGP/1B,GAAQxE,EAAOwB,SAAWA,IAC9BxB,EAAOwB,OAAS84B,IAGV94B,GAMFtB,IACLF,EAAOwB,OAASxB,EAAOw6B,EAAIh5B,GAGrBA","file":"jquery.slim.min.js"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
Copyright jQuery Foundation and other contributors, https://jquery.org/
|
2
|
+
|
3
|
+
This software consists of voluntary contributions made by many
|
4
|
+
individuals. For exact contribution history, see the revision history
|
5
|
+
available at https://github.com/jquery/sizzle
|
6
|
+
|
7
|
+
The following license applies to all parts of this software except as
|
8
|
+
documented below:
|
9
|
+
|
10
|
+
====
|
11
|
+
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
13
|
+
a copy of this software and associated documentation files (the
|
14
|
+
"Software"), to deal in the Software without restriction, including
|
15
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
16
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
17
|
+
permit persons to whom the Software is furnished to do so, subject to
|
18
|
+
the following conditions:
|
19
|
+
|
20
|
+
The above copyright notice and this permission notice shall be
|
21
|
+
included in all copies or substantial portions of the Software.
|
22
|
+
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
24
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
25
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
26
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
27
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
28
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
29
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
30
|
+
|
31
|
+
====
|
32
|
+
|
33
|
+
All files located in the node_modules and external directories are
|
34
|
+
externally maintained libraries used by this software which have their
|
35
|
+
own licenses; we recommend you read them, as their terms may differ from
|
36
|
+
the terms above.
|
@@ -0,0 +1,2143 @@
|
|
1
|
+
/*!
|
2
|
+
* Sizzle CSS Selector Engine v2.2.1
|
3
|
+
* http://sizzlejs.com/
|
4
|
+
*
|
5
|
+
* Copyright jQuery Foundation and other contributors
|
6
|
+
* Released under the MIT license
|
7
|
+
* http://jquery.org/license
|
8
|
+
*
|
9
|
+
* Date: 2015-10-17
|
10
|
+
*/
|
11
|
+
(function( window ) {
|
12
|
+
|
13
|
+
var i,
|
14
|
+
support,
|
15
|
+
Expr,
|
16
|
+
getText,
|
17
|
+
isXML,
|
18
|
+
tokenize,
|
19
|
+
compile,
|
20
|
+
select,
|
21
|
+
outermostContext,
|
22
|
+
sortInput,
|
23
|
+
hasDuplicate,
|
24
|
+
|
25
|
+
// Local document vars
|
26
|
+
setDocument,
|
27
|
+
document,
|
28
|
+
docElem,
|
29
|
+
documentIsHTML,
|
30
|
+
rbuggyQSA,
|
31
|
+
rbuggyMatches,
|
32
|
+
matches,
|
33
|
+
contains,
|
34
|
+
|
35
|
+
// Instance-specific data
|
36
|
+
expando = "sizzle" + 1 * new Date(),
|
37
|
+
preferredDoc = window.document,
|
38
|
+
dirruns = 0,
|
39
|
+
done = 0,
|
40
|
+
classCache = createCache(),
|
41
|
+
tokenCache = createCache(),
|
42
|
+
compilerCache = createCache(),
|
43
|
+
sortOrder = function( a, b ) {
|
44
|
+
if ( a === b ) {
|
45
|
+
hasDuplicate = true;
|
46
|
+
}
|
47
|
+
return 0;
|
48
|
+
},
|
49
|
+
|
50
|
+
// General-purpose constants
|
51
|
+
MAX_NEGATIVE = 1 << 31,
|
52
|
+
|
53
|
+
// Instance methods
|
54
|
+
hasOwn = ({}).hasOwnProperty,
|
55
|
+
arr = [],
|
56
|
+
pop = arr.pop,
|
57
|
+
push_native = arr.push,
|
58
|
+
push = arr.push,
|
59
|
+
slice = arr.slice,
|
60
|
+
// Use a stripped-down indexOf as it's faster than native
|
61
|
+
// http://jsperf.com/thor-indexof-vs-for/5
|
62
|
+
indexOf = function( list, elem ) {
|
63
|
+
var i = 0,
|
64
|
+
len = list.length;
|
65
|
+
for ( ; i < len; i++ ) {
|
66
|
+
if ( list[i] === elem ) {
|
67
|
+
return i;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
return -1;
|
71
|
+
},
|
72
|
+
|
73
|
+
booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
|
74
|
+
|
75
|
+
// Regular expressions
|
76
|
+
|
77
|
+
// http://www.w3.org/TR/css3-selectors/#whitespace
|
78
|
+
whitespace = "[\\x20\\t\\r\\n\\f]",
|
79
|
+
|
80
|
+
// http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
|
81
|
+
identifier = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
|
82
|
+
|
83
|
+
// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
|
84
|
+
attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
|
85
|
+
// Operator (capture 2)
|
86
|
+
"*([*^$|!~]?=)" + whitespace +
|
87
|
+
// "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
88
|
+
"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace +
|
89
|
+
"*\\]",
|
90
|
+
|
91
|
+
pseudos = ":(" + identifier + ")(?:\\((" +
|
92
|
+
// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
|
93
|
+
// 1. quoted (capture 3; capture 4 or capture 5)
|
94
|
+
"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
|
95
|
+
// 2. simple (capture 6)
|
96
|
+
"((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
|
97
|
+
// 3. anything else (capture 2)
|
98
|
+
".*" +
|
99
|
+
")\\)|)",
|
100
|
+
|
101
|
+
// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
|
102
|
+
rwhitespace = new RegExp( whitespace + "+", "g" ),
|
103
|
+
rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),
|
104
|
+
|
105
|
+
rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
|
106
|
+
rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),
|
107
|
+
|
108
|
+
rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ),
|
109
|
+
|
110
|
+
rpseudo = new RegExp( pseudos ),
|
111
|
+
ridentifier = new RegExp( "^" + identifier + "$" ),
|
112
|
+
|
113
|
+
matchExpr = {
|
114
|
+
"ID": new RegExp( "^#(" + identifier + ")" ),
|
115
|
+
"CLASS": new RegExp( "^\\.(" + identifier + ")" ),
|
116
|
+
"TAG": new RegExp( "^(" + identifier + "|[*])" ),
|
117
|
+
"ATTR": new RegExp( "^" + attributes ),
|
118
|
+
"PSEUDO": new RegExp( "^" + pseudos ),
|
119
|
+
"CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
|
120
|
+
"*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
|
121
|
+
"*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
|
122
|
+
"bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
|
123
|
+
// For use in libraries implementing .is()
|
124
|
+
// We use this for POS matching in `select`
|
125
|
+
"needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
|
126
|
+
whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
|
127
|
+
},
|
128
|
+
|
129
|
+
rinputs = /^(?:input|select|textarea|button)$/i,
|
130
|
+
rheader = /^h\d$/i,
|
131
|
+
|
132
|
+
rnative = /^[^{]+\{\s*\[native \w/,
|
133
|
+
|
134
|
+
// Easily-parseable/retrievable ID or TAG or CLASS selectors
|
135
|
+
rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
|
136
|
+
|
137
|
+
rsibling = /[+~]/,
|
138
|
+
rescape = /'|\\/g,
|
139
|
+
|
140
|
+
// CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
|
141
|
+
runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),
|
142
|
+
funescape = function( _, escaped, escapedWhitespace ) {
|
143
|
+
var high = "0x" + escaped - 0x10000;
|
144
|
+
// NaN means non-codepoint
|
145
|
+
// Support: Firefox<24
|
146
|
+
// Workaround erroneous numeric interpretation of +"0x"
|
147
|
+
return high !== high || escapedWhitespace ?
|
148
|
+
escaped :
|
149
|
+
high < 0 ?
|
150
|
+
// BMP codepoint
|
151
|
+
String.fromCharCode( high + 0x10000 ) :
|
152
|
+
// Supplemental Plane codepoint (surrogate pair)
|
153
|
+
String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
|
154
|
+
},
|
155
|
+
|
156
|
+
// Used for iframes
|
157
|
+
// See setDocument()
|
158
|
+
// Removing the function wrapper causes a "Permission Denied"
|
159
|
+
// error in IE
|
160
|
+
unloadHandler = function() {
|
161
|
+
setDocument();
|
162
|
+
};
|
163
|
+
|
164
|
+
// Optimize for push.apply( _, NodeList )
|
165
|
+
try {
|
166
|
+
push.apply(
|
167
|
+
(arr = slice.call( preferredDoc.childNodes )),
|
168
|
+
preferredDoc.childNodes
|
169
|
+
);
|
170
|
+
// Support: Android<4.0
|
171
|
+
// Detect silently failing push.apply
|
172
|
+
arr[ preferredDoc.childNodes.length ].nodeType;
|
173
|
+
} catch ( e ) {
|
174
|
+
push = { apply: arr.length ?
|
175
|
+
|
176
|
+
// Leverage slice if possible
|
177
|
+
function( target, els ) {
|
178
|
+
push_native.apply( target, slice.call(els) );
|
179
|
+
} :
|
180
|
+
|
181
|
+
// Support: IE<9
|
182
|
+
// Otherwise append directly
|
183
|
+
function( target, els ) {
|
184
|
+
var j = target.length,
|
185
|
+
i = 0;
|
186
|
+
// Can't trust NodeList.length
|
187
|
+
while ( (target[j++] = els[i++]) ) {}
|
188
|
+
target.length = j - 1;
|
189
|
+
}
|
190
|
+
};
|
191
|
+
}
|
192
|
+
|
193
|
+
function Sizzle( selector, context, results, seed ) {
|
194
|
+
var m, i, elem, nid, nidselect, match, groups, newSelector,
|
195
|
+
newContext = context && context.ownerDocument,
|
196
|
+
|
197
|
+
// nodeType defaults to 9, since context defaults to document
|
198
|
+
nodeType = context ? context.nodeType : 9;
|
199
|
+
|
200
|
+
results = results || [];
|
201
|
+
|
202
|
+
// Return early from calls with invalid selector or context
|
203
|
+
if ( typeof selector !== "string" || !selector ||
|
204
|
+
nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {
|
205
|
+
|
206
|
+
return results;
|
207
|
+
}
|
208
|
+
|
209
|
+
// Try to shortcut find operations (as opposed to filters) in HTML documents
|
210
|
+
if ( !seed ) {
|
211
|
+
|
212
|
+
if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {
|
213
|
+
setDocument( context );
|
214
|
+
}
|
215
|
+
context = context || document;
|
216
|
+
|
217
|
+
if ( documentIsHTML ) {
|
218
|
+
|
219
|
+
// If the selector is sufficiently simple, try using a "get*By*" DOM method
|
220
|
+
// (excepting DocumentFragment context, where the methods don't exist)
|
221
|
+
if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {
|
222
|
+
|
223
|
+
// ID selector
|
224
|
+
if ( (m = match[1]) ) {
|
225
|
+
|
226
|
+
// Document context
|
227
|
+
if ( nodeType === 9 ) {
|
228
|
+
if ( (elem = context.getElementById( m )) ) {
|
229
|
+
|
230
|
+
// Support: IE, Opera, Webkit
|
231
|
+
// TODO: identify versions
|
232
|
+
// getElementById can match elements by name instead of ID
|
233
|
+
if ( elem.id === m ) {
|
234
|
+
results.push( elem );
|
235
|
+
return results;
|
236
|
+
}
|
237
|
+
} else {
|
238
|
+
return results;
|
239
|
+
}
|
240
|
+
|
241
|
+
// Element context
|
242
|
+
} else {
|
243
|
+
|
244
|
+
// Support: IE, Opera, Webkit
|
245
|
+
// TODO: identify versions
|
246
|
+
// getElementById can match elements by name instead of ID
|
247
|
+
if ( newContext && (elem = newContext.getElementById( m )) &&
|
248
|
+
contains( context, elem ) &&
|
249
|
+
elem.id === m ) {
|
250
|
+
|
251
|
+
results.push( elem );
|
252
|
+
return results;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
// Type selector
|
257
|
+
} else if ( match[2] ) {
|
258
|
+
push.apply( results, context.getElementsByTagName( selector ) );
|
259
|
+
return results;
|
260
|
+
|
261
|
+
// Class selector
|
262
|
+
} else if ( (m = match[3]) && support.getElementsByClassName &&
|
263
|
+
context.getElementsByClassName ) {
|
264
|
+
|
265
|
+
push.apply( results, context.getElementsByClassName( m ) );
|
266
|
+
return results;
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
// Take advantage of querySelectorAll
|
271
|
+
if ( support.qsa &&
|
272
|
+
!compilerCache[ selector + " " ] &&
|
273
|
+
(!rbuggyQSA || !rbuggyQSA.test( selector )) ) {
|
274
|
+
|
275
|
+
if ( nodeType !== 1 ) {
|
276
|
+
newContext = context;
|
277
|
+
newSelector = selector;
|
278
|
+
|
279
|
+
// qSA looks outside Element context, which is not what we want
|
280
|
+
// Thanks to Andrew Dupont for this workaround technique
|
281
|
+
// Support: IE <=8
|
282
|
+
// Exclude object elements
|
283
|
+
} else if ( context.nodeName.toLowerCase() !== "object" ) {
|
284
|
+
|
285
|
+
// Capture the context ID, setting it first if necessary
|
286
|
+
if ( (nid = context.getAttribute( "id" )) ) {
|
287
|
+
nid = nid.replace( rescape, "\\$&" );
|
288
|
+
} else {
|
289
|
+
context.setAttribute( "id", (nid = expando) );
|
290
|
+
}
|
291
|
+
|
292
|
+
// Prefix every selector in the list
|
293
|
+
groups = tokenize( selector );
|
294
|
+
i = groups.length;
|
295
|
+
nidselect = ridentifier.test( nid ) ? "#" + nid : "[id='" + nid + "']";
|
296
|
+
while ( i-- ) {
|
297
|
+
groups[i] = nidselect + " " + toSelector( groups[i] );
|
298
|
+
}
|
299
|
+
newSelector = groups.join( "," );
|
300
|
+
|
301
|
+
// Expand context for sibling selectors
|
302
|
+
newContext = rsibling.test( selector ) && testContext( context.parentNode ) ||
|
303
|
+
context;
|
304
|
+
}
|
305
|
+
|
306
|
+
if ( newSelector ) {
|
307
|
+
try {
|
308
|
+
push.apply( results,
|
309
|
+
newContext.querySelectorAll( newSelector )
|
310
|
+
);
|
311
|
+
return results;
|
312
|
+
} catch ( qsaError ) {
|
313
|
+
} finally {
|
314
|
+
if ( nid === expando ) {
|
315
|
+
context.removeAttribute( "id" );
|
316
|
+
}
|
317
|
+
}
|
318
|
+
}
|
319
|
+
}
|
320
|
+
}
|
321
|
+
}
|
322
|
+
|
323
|
+
// All others
|
324
|
+
return select( selector.replace( rtrim, "$1" ), context, results, seed );
|
325
|
+
}
|
326
|
+
|
327
|
+
/**
|
328
|
+
* Create key-value caches of limited size
|
329
|
+
* @returns {function(string, object)} Returns the Object data after storing it on itself with
|
330
|
+
* property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
|
331
|
+
* deleting the oldest entry
|
332
|
+
*/
|
333
|
+
function createCache() {
|
334
|
+
var keys = [];
|
335
|
+
|
336
|
+
function cache( key, value ) {
|
337
|
+
// Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
|
338
|
+
if ( keys.push( key + " " ) > Expr.cacheLength ) {
|
339
|
+
// Only keep the most recent entries
|
340
|
+
delete cache[ keys.shift() ];
|
341
|
+
}
|
342
|
+
return (cache[ key + " " ] = value);
|
343
|
+
}
|
344
|
+
return cache;
|
345
|
+
}
|
346
|
+
|
347
|
+
/**
|
348
|
+
* Mark a function for special use by Sizzle
|
349
|
+
* @param {Function} fn The function to mark
|
350
|
+
*/
|
351
|
+
function markFunction( fn ) {
|
352
|
+
fn[ expando ] = true;
|
353
|
+
return fn;
|
354
|
+
}
|
355
|
+
|
356
|
+
/**
|
357
|
+
* Support testing using an element
|
358
|
+
* @param {Function} fn Passed the created div and expects a boolean result
|
359
|
+
*/
|
360
|
+
function assert( fn ) {
|
361
|
+
var div = document.createElement("div");
|
362
|
+
|
363
|
+
try {
|
364
|
+
return !!fn( div );
|
365
|
+
} catch (e) {
|
366
|
+
return false;
|
367
|
+
} finally {
|
368
|
+
// Remove from its parent by default
|
369
|
+
if ( div.parentNode ) {
|
370
|
+
div.parentNode.removeChild( div );
|
371
|
+
}
|
372
|
+
// release memory in IE
|
373
|
+
div = null;
|
374
|
+
}
|
375
|
+
}
|
376
|
+
|
377
|
+
/**
|
378
|
+
* Adds the same handler for all of the specified attrs
|
379
|
+
* @param {String} attrs Pipe-separated list of attributes
|
380
|
+
* @param {Function} handler The method that will be applied
|
381
|
+
*/
|
382
|
+
function addHandle( attrs, handler ) {
|
383
|
+
var arr = attrs.split("|"),
|
384
|
+
i = arr.length;
|
385
|
+
|
386
|
+
while ( i-- ) {
|
387
|
+
Expr.attrHandle[ arr[i] ] = handler;
|
388
|
+
}
|
389
|
+
}
|
390
|
+
|
391
|
+
/**
|
392
|
+
* Checks document order of two siblings
|
393
|
+
* @param {Element} a
|
394
|
+
* @param {Element} b
|
395
|
+
* @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
|
396
|
+
*/
|
397
|
+
function siblingCheck( a, b ) {
|
398
|
+
var cur = b && a,
|
399
|
+
diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
|
400
|
+
( ~b.sourceIndex || MAX_NEGATIVE ) -
|
401
|
+
( ~a.sourceIndex || MAX_NEGATIVE );
|
402
|
+
|
403
|
+
// Use IE sourceIndex if available on both nodes
|
404
|
+
if ( diff ) {
|
405
|
+
return diff;
|
406
|
+
}
|
407
|
+
|
408
|
+
// Check if b follows a
|
409
|
+
if ( cur ) {
|
410
|
+
while ( (cur = cur.nextSibling) ) {
|
411
|
+
if ( cur === b ) {
|
412
|
+
return -1;
|
413
|
+
}
|
414
|
+
}
|
415
|
+
}
|
416
|
+
|
417
|
+
return a ? 1 : -1;
|
418
|
+
}
|
419
|
+
|
420
|
+
/**
|
421
|
+
* Returns a function to use in pseudos for input types
|
422
|
+
* @param {String} type
|
423
|
+
*/
|
424
|
+
function createInputPseudo( type ) {
|
425
|
+
return function( elem ) {
|
426
|
+
var name = elem.nodeName.toLowerCase();
|
427
|
+
return name === "input" && elem.type === type;
|
428
|
+
};
|
429
|
+
}
|
430
|
+
|
431
|
+
/**
|
432
|
+
* Returns a function to use in pseudos for buttons
|
433
|
+
* @param {String} type
|
434
|
+
*/
|
435
|
+
function createButtonPseudo( type ) {
|
436
|
+
return function( elem ) {
|
437
|
+
var name = elem.nodeName.toLowerCase();
|
438
|
+
return (name === "input" || name === "button") && elem.type === type;
|
439
|
+
};
|
440
|
+
}
|
441
|
+
|
442
|
+
/**
|
443
|
+
* Returns a function to use in pseudos for positionals
|
444
|
+
* @param {Function} fn
|
445
|
+
*/
|
446
|
+
function createPositionalPseudo( fn ) {
|
447
|
+
return markFunction(function( argument ) {
|
448
|
+
argument = +argument;
|
449
|
+
return markFunction(function( seed, matches ) {
|
450
|
+
var j,
|
451
|
+
matchIndexes = fn( [], seed.length, argument ),
|
452
|
+
i = matchIndexes.length;
|
453
|
+
|
454
|
+
// Match elements found at the specified indexes
|
455
|
+
while ( i-- ) {
|
456
|
+
if ( seed[ (j = matchIndexes[i]) ] ) {
|
457
|
+
seed[j] = !(matches[j] = seed[j]);
|
458
|
+
}
|
459
|
+
}
|
460
|
+
});
|
461
|
+
});
|
462
|
+
}
|
463
|
+
|
464
|
+
/**
|
465
|
+
* Checks a node for validity as a Sizzle context
|
466
|
+
* @param {Element|Object=} context
|
467
|
+
* @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
|
468
|
+
*/
|
469
|
+
function testContext( context ) {
|
470
|
+
return context && typeof context.getElementsByTagName !== "undefined" && context;
|
471
|
+
}
|
472
|
+
|
473
|
+
// Expose support vars for convenience
|
474
|
+
support = Sizzle.support = {};
|
475
|
+
|
476
|
+
/**
|
477
|
+
* Detects XML nodes
|
478
|
+
* @param {Element|Object} elem An element or a document
|
479
|
+
* @returns {Boolean} True iff elem is a non-HTML XML node
|
480
|
+
*/
|
481
|
+
isXML = Sizzle.isXML = function( elem ) {
|
482
|
+
// documentElement is verified for cases where it doesn't yet exist
|
483
|
+
// (such as loading iframes in IE - #4833)
|
484
|
+
var documentElement = elem && (elem.ownerDocument || elem).documentElement;
|
485
|
+
return documentElement ? documentElement.nodeName !== "HTML" : false;
|
486
|
+
};
|
487
|
+
|
488
|
+
/**
|
489
|
+
* Sets document-related variables once based on the current document
|
490
|
+
* @param {Element|Object} [doc] An element or document object to use to set the document
|
491
|
+
* @returns {Object} Returns the current document
|
492
|
+
*/
|
493
|
+
setDocument = Sizzle.setDocument = function( node ) {
|
494
|
+
var hasCompare, parent,
|
495
|
+
doc = node ? node.ownerDocument || node : preferredDoc;
|
496
|
+
|
497
|
+
// Return early if doc is invalid or already selected
|
498
|
+
if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
|
499
|
+
return document;
|
500
|
+
}
|
501
|
+
|
502
|
+
// Update global variables
|
503
|
+
document = doc;
|
504
|
+
docElem = document.documentElement;
|
505
|
+
documentIsHTML = !isXML( document );
|
506
|
+
|
507
|
+
// Support: IE 9-11, Edge
|
508
|
+
// Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936)
|
509
|
+
if ( (parent = document.defaultView) && parent.top !== parent ) {
|
510
|
+
// Support: IE 11
|
511
|
+
if ( parent.addEventListener ) {
|
512
|
+
parent.addEventListener( "unload", unloadHandler, false );
|
513
|
+
|
514
|
+
// Support: IE 9 - 10 only
|
515
|
+
} else if ( parent.attachEvent ) {
|
516
|
+
parent.attachEvent( "onunload", unloadHandler );
|
517
|
+
}
|
518
|
+
}
|
519
|
+
|
520
|
+
/* Attributes
|
521
|
+
---------------------------------------------------------------------- */
|
522
|
+
|
523
|
+
// Support: IE<8
|
524
|
+
// Verify that getAttribute really returns attributes and not properties
|
525
|
+
// (excepting IE8 booleans)
|
526
|
+
support.attributes = assert(function( div ) {
|
527
|
+
div.className = "i";
|
528
|
+
return !div.getAttribute("className");
|
529
|
+
});
|
530
|
+
|
531
|
+
/* getElement(s)By*
|
532
|
+
---------------------------------------------------------------------- */
|
533
|
+
|
534
|
+
// Check if getElementsByTagName("*") returns only elements
|
535
|
+
support.getElementsByTagName = assert(function( div ) {
|
536
|
+
div.appendChild( document.createComment("") );
|
537
|
+
return !div.getElementsByTagName("*").length;
|
538
|
+
});
|
539
|
+
|
540
|
+
// Support: IE<9
|
541
|
+
support.getElementsByClassName = rnative.test( document.getElementsByClassName );
|
542
|
+
|
543
|
+
// Support: IE<10
|
544
|
+
// Check if getElementById returns elements by name
|
545
|
+
// The broken getElementById methods don't pick up programatically-set names,
|
546
|
+
// so use a roundabout getElementsByName test
|
547
|
+
support.getById = assert(function( div ) {
|
548
|
+
docElem.appendChild( div ).id = expando;
|
549
|
+
return !document.getElementsByName || !document.getElementsByName( expando ).length;
|
550
|
+
});
|
551
|
+
|
552
|
+
// ID find and filter
|
553
|
+
if ( support.getById ) {
|
554
|
+
Expr.find["ID"] = function( id, context ) {
|
555
|
+
if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
|
556
|
+
var m = context.getElementById( id );
|
557
|
+
return m ? [ m ] : [];
|
558
|
+
}
|
559
|
+
};
|
560
|
+
Expr.filter["ID"] = function( id ) {
|
561
|
+
var attrId = id.replace( runescape, funescape );
|
562
|
+
return function( elem ) {
|
563
|
+
return elem.getAttribute("id") === attrId;
|
564
|
+
};
|
565
|
+
};
|
566
|
+
} else {
|
567
|
+
// Support: IE6/7
|
568
|
+
// getElementById is not reliable as a find shortcut
|
569
|
+
delete Expr.find["ID"];
|
570
|
+
|
571
|
+
Expr.filter["ID"] = function( id ) {
|
572
|
+
var attrId = id.replace( runescape, funescape );
|
573
|
+
return function( elem ) {
|
574
|
+
var node = typeof elem.getAttributeNode !== "undefined" &&
|
575
|
+
elem.getAttributeNode("id");
|
576
|
+
return node && node.value === attrId;
|
577
|
+
};
|
578
|
+
};
|
579
|
+
}
|
580
|
+
|
581
|
+
// Tag
|
582
|
+
Expr.find["TAG"] = support.getElementsByTagName ?
|
583
|
+
function( tag, context ) {
|
584
|
+
if ( typeof context.getElementsByTagName !== "undefined" ) {
|
585
|
+
return context.getElementsByTagName( tag );
|
586
|
+
|
587
|
+
// DocumentFragment nodes don't have gEBTN
|
588
|
+
} else if ( support.qsa ) {
|
589
|
+
return context.querySelectorAll( tag );
|
590
|
+
}
|
591
|
+
} :
|
592
|
+
|
593
|
+
function( tag, context ) {
|
594
|
+
var elem,
|
595
|
+
tmp = [],
|
596
|
+
i = 0,
|
597
|
+
// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too
|
598
|
+
results = context.getElementsByTagName( tag );
|
599
|
+
|
600
|
+
// Filter out possible comments
|
601
|
+
if ( tag === "*" ) {
|
602
|
+
while ( (elem = results[i++]) ) {
|
603
|
+
if ( elem.nodeType === 1 ) {
|
604
|
+
tmp.push( elem );
|
605
|
+
}
|
606
|
+
}
|
607
|
+
|
608
|
+
return tmp;
|
609
|
+
}
|
610
|
+
return results;
|
611
|
+
};
|
612
|
+
|
613
|
+
// Class
|
614
|
+
Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) {
|
615
|
+
if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) {
|
616
|
+
return context.getElementsByClassName( className );
|
617
|
+
}
|
618
|
+
};
|
619
|
+
|
620
|
+
/* QSA/matchesSelector
|
621
|
+
---------------------------------------------------------------------- */
|
622
|
+
|
623
|
+
// QSA and matchesSelector support
|
624
|
+
|
625
|
+
// matchesSelector(:active) reports false when true (IE9/Opera 11.5)
|
626
|
+
rbuggyMatches = [];
|
627
|
+
|
628
|
+
// qSa(:focus) reports false when true (Chrome 21)
|
629
|
+
// We allow this because of a bug in IE8/9 that throws an error
|
630
|
+
// whenever `document.activeElement` is accessed on an iframe
|
631
|
+
// So, we allow :focus to pass through QSA all the time to avoid the IE error
|
632
|
+
// See http://bugs.jquery.com/ticket/13378
|
633
|
+
rbuggyQSA = [];
|
634
|
+
|
635
|
+
if ( (support.qsa = rnative.test( document.querySelectorAll )) ) {
|
636
|
+
// Build QSA regex
|
637
|
+
// Regex strategy adopted from Diego Perini
|
638
|
+
assert(function( div ) {
|
639
|
+
// Select is set to empty string on purpose
|
640
|
+
// This is to test IE's treatment of not explicitly
|
641
|
+
// setting a boolean content attribute,
|
642
|
+
// since its presence should be enough
|
643
|
+
// http://bugs.jquery.com/ticket/12359
|
644
|
+
docElem.appendChild( div ).innerHTML = "<a id='" + expando + "'></a>" +
|
645
|
+
"<select id='" + expando + "-\r\\' msallowcapture=''>" +
|
646
|
+
"<option selected=''></option></select>";
|
647
|
+
|
648
|
+
// Support: IE8, Opera 11-12.16
|
649
|
+
// Nothing should be selected when empty strings follow ^= or $= or *=
|
650
|
+
// The test attribute must be unknown in Opera but "safe" for WinRT
|
651
|
+
// http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
|
652
|
+
if ( div.querySelectorAll("[msallowcapture^='']").length ) {
|
653
|
+
rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
|
654
|
+
}
|
655
|
+
|
656
|
+
// Support: IE8
|
657
|
+
// Boolean attributes and "value" are not treated correctly
|
658
|
+
if ( !div.querySelectorAll("[selected]").length ) {
|
659
|
+
rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
|
660
|
+
}
|
661
|
+
|
662
|
+
// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+
|
663
|
+
if ( !div.querySelectorAll( "[id~=" + expando + "-]" ).length ) {
|
664
|
+
rbuggyQSA.push("~=");
|
665
|
+
}
|
666
|
+
|
667
|
+
// Webkit/Opera - :checked should return selected option elements
|
668
|
+
// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
|
669
|
+
// IE8 throws error here and will not see later tests
|
670
|
+
if ( !div.querySelectorAll(":checked").length ) {
|
671
|
+
rbuggyQSA.push(":checked");
|
672
|
+
}
|
673
|
+
|
674
|
+
// Support: Safari 8+, iOS 8+
|
675
|
+
// https://bugs.webkit.org/show_bug.cgi?id=136851
|
676
|
+
// In-page `selector#id sibing-combinator selector` fails
|
677
|
+
if ( !div.querySelectorAll( "a#" + expando + "+*" ).length ) {
|
678
|
+
rbuggyQSA.push(".#.+[+~]");
|
679
|
+
}
|
680
|
+
});
|
681
|
+
|
682
|
+
assert(function( div ) {
|
683
|
+
// Support: Windows 8 Native Apps
|
684
|
+
// The type and name attributes are restricted during .innerHTML assignment
|
685
|
+
var input = document.createElement("input");
|
686
|
+
input.setAttribute( "type", "hidden" );
|
687
|
+
div.appendChild( input ).setAttribute( "name", "D" );
|
688
|
+
|
689
|
+
// Support: IE8
|
690
|
+
// Enforce case-sensitivity of name attribute
|
691
|
+
if ( div.querySelectorAll("[name=d]").length ) {
|
692
|
+
rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" );
|
693
|
+
}
|
694
|
+
|
695
|
+
// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
|
696
|
+
// IE8 throws error here and will not see later tests
|
697
|
+
if ( !div.querySelectorAll(":enabled").length ) {
|
698
|
+
rbuggyQSA.push( ":enabled", ":disabled" );
|
699
|
+
}
|
700
|
+
|
701
|
+
// Opera 10-11 does not throw on post-comma invalid pseudos
|
702
|
+
div.querySelectorAll("*,:x");
|
703
|
+
rbuggyQSA.push(",.*:");
|
704
|
+
});
|
705
|
+
}
|
706
|
+
|
707
|
+
if ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||
|
708
|
+
docElem.webkitMatchesSelector ||
|
709
|
+
docElem.mozMatchesSelector ||
|
710
|
+
docElem.oMatchesSelector ||
|
711
|
+
docElem.msMatchesSelector) )) ) {
|
712
|
+
|
713
|
+
assert(function( div ) {
|
714
|
+
// Check to see if it's possible to do matchesSelector
|
715
|
+
// on a disconnected node (IE 9)
|
716
|
+
support.disconnectedMatch = matches.call( div, "div" );
|
717
|
+
|
718
|
+
// This should fail with an exception
|
719
|
+
// Gecko does not error, returns false instead
|
720
|
+
matches.call( div, "[s!='']:x" );
|
721
|
+
rbuggyMatches.push( "!=", pseudos );
|
722
|
+
});
|
723
|
+
}
|
724
|
+
|
725
|
+
rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );
|
726
|
+
rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );
|
727
|
+
|
728
|
+
/* Contains
|
729
|
+
---------------------------------------------------------------------- */
|
730
|
+
hasCompare = rnative.test( docElem.compareDocumentPosition );
|
731
|
+
|
732
|
+
// Element contains another
|
733
|
+
// Purposefully self-exclusive
|
734
|
+
// As in, an element does not contain itself
|
735
|
+
contains = hasCompare || rnative.test( docElem.contains ) ?
|
736
|
+
function( a, b ) {
|
737
|
+
var adown = a.nodeType === 9 ? a.documentElement : a,
|
738
|
+
bup = b && b.parentNode;
|
739
|
+
return a === bup || !!( bup && bup.nodeType === 1 && (
|
740
|
+
adown.contains ?
|
741
|
+
adown.contains( bup ) :
|
742
|
+
a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
|
743
|
+
));
|
744
|
+
} :
|
745
|
+
function( a, b ) {
|
746
|
+
if ( b ) {
|
747
|
+
while ( (b = b.parentNode) ) {
|
748
|
+
if ( b === a ) {
|
749
|
+
return true;
|
750
|
+
}
|
751
|
+
}
|
752
|
+
}
|
753
|
+
return false;
|
754
|
+
};
|
755
|
+
|
756
|
+
/* Sorting
|
757
|
+
---------------------------------------------------------------------- */
|
758
|
+
|
759
|
+
// Document order sorting
|
760
|
+
sortOrder = hasCompare ?
|
761
|
+
function( a, b ) {
|
762
|
+
|
763
|
+
// Flag for duplicate removal
|
764
|
+
if ( a === b ) {
|
765
|
+
hasDuplicate = true;
|
766
|
+
return 0;
|
767
|
+
}
|
768
|
+
|
769
|
+
// Sort on method existence if only one input has compareDocumentPosition
|
770
|
+
var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
|
771
|
+
if ( compare ) {
|
772
|
+
return compare;
|
773
|
+
}
|
774
|
+
|
775
|
+
// Calculate position if both inputs belong to the same document
|
776
|
+
compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?
|
777
|
+
a.compareDocumentPosition( b ) :
|
778
|
+
|
779
|
+
// Otherwise we know they are disconnected
|
780
|
+
1;
|
781
|
+
|
782
|
+
// Disconnected nodes
|
783
|
+
if ( compare & 1 ||
|
784
|
+
(!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {
|
785
|
+
|
786
|
+
// Choose the first element that is related to our preferred document
|
787
|
+
if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {
|
788
|
+
return -1;
|
789
|
+
}
|
790
|
+
if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {
|
791
|
+
return 1;
|
792
|
+
}
|
793
|
+
|
794
|
+
// Maintain original order
|
795
|
+
return sortInput ?
|
796
|
+
( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
|
797
|
+
0;
|
798
|
+
}
|
799
|
+
|
800
|
+
return compare & 4 ? -1 : 1;
|
801
|
+
} :
|
802
|
+
function( a, b ) {
|
803
|
+
// Exit early if the nodes are identical
|
804
|
+
if ( a === b ) {
|
805
|
+
hasDuplicate = true;
|
806
|
+
return 0;
|
807
|
+
}
|
808
|
+
|
809
|
+
var cur,
|
810
|
+
i = 0,
|
811
|
+
aup = a.parentNode,
|
812
|
+
bup = b.parentNode,
|
813
|
+
ap = [ a ],
|
814
|
+
bp = [ b ];
|
815
|
+
|
816
|
+
// Parentless nodes are either documents or disconnected
|
817
|
+
if ( !aup || !bup ) {
|
818
|
+
return a === document ? -1 :
|
819
|
+
b === document ? 1 :
|
820
|
+
aup ? -1 :
|
821
|
+
bup ? 1 :
|
822
|
+
sortInput ?
|
823
|
+
( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
|
824
|
+
0;
|
825
|
+
|
826
|
+
// If the nodes are siblings, we can do a quick check
|
827
|
+
} else if ( aup === bup ) {
|
828
|
+
return siblingCheck( a, b );
|
829
|
+
}
|
830
|
+
|
831
|
+
// Otherwise we need full lists of their ancestors for comparison
|
832
|
+
cur = a;
|
833
|
+
while ( (cur = cur.parentNode) ) {
|
834
|
+
ap.unshift( cur );
|
835
|
+
}
|
836
|
+
cur = b;
|
837
|
+
while ( (cur = cur.parentNode) ) {
|
838
|
+
bp.unshift( cur );
|
839
|
+
}
|
840
|
+
|
841
|
+
// Walk down the tree looking for a discrepancy
|
842
|
+
while ( ap[i] === bp[i] ) {
|
843
|
+
i++;
|
844
|
+
}
|
845
|
+
|
846
|
+
return i ?
|
847
|
+
// Do a sibling check if the nodes have a common ancestor
|
848
|
+
siblingCheck( ap[i], bp[i] ) :
|
849
|
+
|
850
|
+
// Otherwise nodes in our document sort first
|
851
|
+
ap[i] === preferredDoc ? -1 :
|
852
|
+
bp[i] === preferredDoc ? 1 :
|
853
|
+
0;
|
854
|
+
};
|
855
|
+
|
856
|
+
return document;
|
857
|
+
};
|
858
|
+
|
859
|
+
Sizzle.matches = function( expr, elements ) {
|
860
|
+
return Sizzle( expr, null, null, elements );
|
861
|
+
};
|
862
|
+
|
863
|
+
Sizzle.matchesSelector = function( elem, expr ) {
|
864
|
+
// Set document vars if needed
|
865
|
+
if ( ( elem.ownerDocument || elem ) !== document ) {
|
866
|
+
setDocument( elem );
|
867
|
+
}
|
868
|
+
|
869
|
+
// Make sure that attribute selectors are quoted
|
870
|
+
expr = expr.replace( rattributeQuotes, "='$1']" );
|
871
|
+
|
872
|
+
if ( support.matchesSelector && documentIsHTML &&
|
873
|
+
!compilerCache[ expr + " " ] &&
|
874
|
+
( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
|
875
|
+
( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
|
876
|
+
|
877
|
+
try {
|
878
|
+
var ret = matches.call( elem, expr );
|
879
|
+
|
880
|
+
// IE 9's matchesSelector returns false on disconnected nodes
|
881
|
+
if ( ret || support.disconnectedMatch ||
|
882
|
+
// As well, disconnected nodes are said to be in a document
|
883
|
+
// fragment in IE 9
|
884
|
+
elem.document && elem.document.nodeType !== 11 ) {
|
885
|
+
return ret;
|
886
|
+
}
|
887
|
+
} catch (e) {}
|
888
|
+
}
|
889
|
+
|
890
|
+
return Sizzle( expr, document, null, [ elem ] ).length > 0;
|
891
|
+
};
|
892
|
+
|
893
|
+
Sizzle.contains = function( context, elem ) {
|
894
|
+
// Set document vars if needed
|
895
|
+
if ( ( context.ownerDocument || context ) !== document ) {
|
896
|
+
setDocument( context );
|
897
|
+
}
|
898
|
+
return contains( context, elem );
|
899
|
+
};
|
900
|
+
|
901
|
+
Sizzle.attr = function( elem, name ) {
|
902
|
+
// Set document vars if needed
|
903
|
+
if ( ( elem.ownerDocument || elem ) !== document ) {
|
904
|
+
setDocument( elem );
|
905
|
+
}
|
906
|
+
|
907
|
+
var fn = Expr.attrHandle[ name.toLowerCase() ],
|
908
|
+
// Don't get fooled by Object.prototype properties (jQuery #13807)
|
909
|
+
val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
|
910
|
+
fn( elem, name, !documentIsHTML ) :
|
911
|
+
undefined;
|
912
|
+
|
913
|
+
return val !== undefined ?
|
914
|
+
val :
|
915
|
+
support.attributes || !documentIsHTML ?
|
916
|
+
elem.getAttribute( name ) :
|
917
|
+
(val = elem.getAttributeNode(name)) && val.specified ?
|
918
|
+
val.value :
|
919
|
+
null;
|
920
|
+
};
|
921
|
+
|
922
|
+
Sizzle.error = function( msg ) {
|
923
|
+
throw new Error( "Syntax error, unrecognized expression: " + msg );
|
924
|
+
};
|
925
|
+
|
926
|
+
/**
|
927
|
+
* Document sorting and removing duplicates
|
928
|
+
* @param {ArrayLike} results
|
929
|
+
*/
|
930
|
+
Sizzle.uniqueSort = function( results ) {
|
931
|
+
var elem,
|
932
|
+
duplicates = [],
|
933
|
+
j = 0,
|
934
|
+
i = 0;
|
935
|
+
|
936
|
+
// Unless we *know* we can detect duplicates, assume their presence
|
937
|
+
hasDuplicate = !support.detectDuplicates;
|
938
|
+
sortInput = !support.sortStable && results.slice( 0 );
|
939
|
+
results.sort( sortOrder );
|
940
|
+
|
941
|
+
if ( hasDuplicate ) {
|
942
|
+
while ( (elem = results[i++]) ) {
|
943
|
+
if ( elem === results[ i ] ) {
|
944
|
+
j = duplicates.push( i );
|
945
|
+
}
|
946
|
+
}
|
947
|
+
while ( j-- ) {
|
948
|
+
results.splice( duplicates[ j ], 1 );
|
949
|
+
}
|
950
|
+
}
|
951
|
+
|
952
|
+
// Clear input after sorting to release objects
|
953
|
+
// See https://github.com/jquery/sizzle/pull/225
|
954
|
+
sortInput = null;
|
955
|
+
|
956
|
+
return results;
|
957
|
+
};
|
958
|
+
|
959
|
+
/**
|
960
|
+
* Utility function for retrieving the text value of an array of DOM nodes
|
961
|
+
* @param {Array|Element} elem
|
962
|
+
*/
|
963
|
+
getText = Sizzle.getText = function( elem ) {
|
964
|
+
var node,
|
965
|
+
ret = "",
|
966
|
+
i = 0,
|
967
|
+
nodeType = elem.nodeType;
|
968
|
+
|
969
|
+
if ( !nodeType ) {
|
970
|
+
// If no nodeType, this is expected to be an array
|
971
|
+
while ( (node = elem[i++]) ) {
|
972
|
+
// Do not traverse comment nodes
|
973
|
+
ret += getText( node );
|
974
|
+
}
|
975
|
+
} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
|
976
|
+
// Use textContent for elements
|
977
|
+
// innerText usage removed for consistency of new lines (jQuery #11153)
|
978
|
+
if ( typeof elem.textContent === "string" ) {
|
979
|
+
return elem.textContent;
|
980
|
+
} else {
|
981
|
+
// Traverse its children
|
982
|
+
for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
|
983
|
+
ret += getText( elem );
|
984
|
+
}
|
985
|
+
}
|
986
|
+
} else if ( nodeType === 3 || nodeType === 4 ) {
|
987
|
+
return elem.nodeValue;
|
988
|
+
}
|
989
|
+
// Do not include comment or processing instruction nodes
|
990
|
+
|
991
|
+
return ret;
|
992
|
+
};
|
993
|
+
|
994
|
+
Expr = Sizzle.selectors = {
|
995
|
+
|
996
|
+
// Can be adjusted by the user
|
997
|
+
cacheLength: 50,
|
998
|
+
|
999
|
+
createPseudo: markFunction,
|
1000
|
+
|
1001
|
+
match: matchExpr,
|
1002
|
+
|
1003
|
+
attrHandle: {},
|
1004
|
+
|
1005
|
+
find: {},
|
1006
|
+
|
1007
|
+
relative: {
|
1008
|
+
">": { dir: "parentNode", first: true },
|
1009
|
+
" ": { dir: "parentNode" },
|
1010
|
+
"+": { dir: "previousSibling", first: true },
|
1011
|
+
"~": { dir: "previousSibling" }
|
1012
|
+
},
|
1013
|
+
|
1014
|
+
preFilter: {
|
1015
|
+
"ATTR": function( match ) {
|
1016
|
+
match[1] = match[1].replace( runescape, funescape );
|
1017
|
+
|
1018
|
+
// Move the given value to match[3] whether quoted or unquoted
|
1019
|
+
match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape );
|
1020
|
+
|
1021
|
+
if ( match[2] === "~=" ) {
|
1022
|
+
match[3] = " " + match[3] + " ";
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
return match.slice( 0, 4 );
|
1026
|
+
},
|
1027
|
+
|
1028
|
+
"CHILD": function( match ) {
|
1029
|
+
/* matches from matchExpr["CHILD"]
|
1030
|
+
1 type (only|nth|...)
|
1031
|
+
2 what (child|of-type)
|
1032
|
+
3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
|
1033
|
+
4 xn-component of xn+y argument ([+-]?\d*n|)
|
1034
|
+
5 sign of xn-component
|
1035
|
+
6 x of xn-component
|
1036
|
+
7 sign of y-component
|
1037
|
+
8 y of y-component
|
1038
|
+
*/
|
1039
|
+
match[1] = match[1].toLowerCase();
|
1040
|
+
|
1041
|
+
if ( match[1].slice( 0, 3 ) === "nth" ) {
|
1042
|
+
// nth-* requires argument
|
1043
|
+
if ( !match[3] ) {
|
1044
|
+
Sizzle.error( match[0] );
|
1045
|
+
}
|
1046
|
+
|
1047
|
+
// numeric x and y parameters for Expr.filter.CHILD
|
1048
|
+
// remember that false/true cast respectively to 0/1
|
1049
|
+
match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
|
1050
|
+
match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
|
1051
|
+
|
1052
|
+
// other types prohibit arguments
|
1053
|
+
} else if ( match[3] ) {
|
1054
|
+
Sizzle.error( match[0] );
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
return match;
|
1058
|
+
},
|
1059
|
+
|
1060
|
+
"PSEUDO": function( match ) {
|
1061
|
+
var excess,
|
1062
|
+
unquoted = !match[6] && match[2];
|
1063
|
+
|
1064
|
+
if ( matchExpr["CHILD"].test( match[0] ) ) {
|
1065
|
+
return null;
|
1066
|
+
}
|
1067
|
+
|
1068
|
+
// Accept quoted arguments as-is
|
1069
|
+
if ( match[3] ) {
|
1070
|
+
match[2] = match[4] || match[5] || "";
|
1071
|
+
|
1072
|
+
// Strip excess characters from unquoted arguments
|
1073
|
+
} else if ( unquoted && rpseudo.test( unquoted ) &&
|
1074
|
+
// Get excess from tokenize (recursively)
|
1075
|
+
(excess = tokenize( unquoted, true )) &&
|
1076
|
+
// advance to the next closing parenthesis
|
1077
|
+
(excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) {
|
1078
|
+
|
1079
|
+
// excess is a negative index
|
1080
|
+
match[0] = match[0].slice( 0, excess );
|
1081
|
+
match[2] = unquoted.slice( 0, excess );
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
// Return only captures needed by the pseudo filter method (type and argument)
|
1085
|
+
return match.slice( 0, 3 );
|
1086
|
+
}
|
1087
|
+
},
|
1088
|
+
|
1089
|
+
filter: {
|
1090
|
+
|
1091
|
+
"TAG": function( nodeNameSelector ) {
|
1092
|
+
var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
|
1093
|
+
return nodeNameSelector === "*" ?
|
1094
|
+
function() { return true; } :
|
1095
|
+
function( elem ) {
|
1096
|
+
return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
|
1097
|
+
};
|
1098
|
+
},
|
1099
|
+
|
1100
|
+
"CLASS": function( className ) {
|
1101
|
+
var pattern = classCache[ className + " " ];
|
1102
|
+
|
1103
|
+
return pattern ||
|
1104
|
+
(pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&
|
1105
|
+
classCache( className, function( elem ) {
|
1106
|
+
return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" );
|
1107
|
+
});
|
1108
|
+
},
|
1109
|
+
|
1110
|
+
"ATTR": function( name, operator, check ) {
|
1111
|
+
return function( elem ) {
|
1112
|
+
var result = Sizzle.attr( elem, name );
|
1113
|
+
|
1114
|
+
if ( result == null ) {
|
1115
|
+
return operator === "!=";
|
1116
|
+
}
|
1117
|
+
if ( !operator ) {
|
1118
|
+
return true;
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
result += "";
|
1122
|
+
|
1123
|
+
return operator === "=" ? result === check :
|
1124
|
+
operator === "!=" ? result !== check :
|
1125
|
+
operator === "^=" ? check && result.indexOf( check ) === 0 :
|
1126
|
+
operator === "*=" ? check && result.indexOf( check ) > -1 :
|
1127
|
+
operator === "$=" ? check && result.slice( -check.length ) === check :
|
1128
|
+
operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 :
|
1129
|
+
operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
|
1130
|
+
false;
|
1131
|
+
};
|
1132
|
+
},
|
1133
|
+
|
1134
|
+
"CHILD": function( type, what, argument, first, last ) {
|
1135
|
+
var simple = type.slice( 0, 3 ) !== "nth",
|
1136
|
+
forward = type.slice( -4 ) !== "last",
|
1137
|
+
ofType = what === "of-type";
|
1138
|
+
|
1139
|
+
return first === 1 && last === 0 ?
|
1140
|
+
|
1141
|
+
// Shortcut for :nth-*(n)
|
1142
|
+
function( elem ) {
|
1143
|
+
return !!elem.parentNode;
|
1144
|
+
} :
|
1145
|
+
|
1146
|
+
function( elem, context, xml ) {
|
1147
|
+
var cache, uniqueCache, outerCache, node, nodeIndex, start,
|
1148
|
+
dir = simple !== forward ? "nextSibling" : "previousSibling",
|
1149
|
+
parent = elem.parentNode,
|
1150
|
+
name = ofType && elem.nodeName.toLowerCase(),
|
1151
|
+
useCache = !xml && !ofType,
|
1152
|
+
diff = false;
|
1153
|
+
|
1154
|
+
if ( parent ) {
|
1155
|
+
|
1156
|
+
// :(first|last|only)-(child|of-type)
|
1157
|
+
if ( simple ) {
|
1158
|
+
while ( dir ) {
|
1159
|
+
node = elem;
|
1160
|
+
while ( (node = node[ dir ]) ) {
|
1161
|
+
if ( ofType ?
|
1162
|
+
node.nodeName.toLowerCase() === name :
|
1163
|
+
node.nodeType === 1 ) {
|
1164
|
+
|
1165
|
+
return false;
|
1166
|
+
}
|
1167
|
+
}
|
1168
|
+
// Reverse direction for :only-* (if we haven't yet done so)
|
1169
|
+
start = dir = type === "only" && !start && "nextSibling";
|
1170
|
+
}
|
1171
|
+
return true;
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
start = [ forward ? parent.firstChild : parent.lastChild ];
|
1175
|
+
|
1176
|
+
// non-xml :nth-child(...) stores cache data on `parent`
|
1177
|
+
if ( forward && useCache ) {
|
1178
|
+
|
1179
|
+
// Seek `elem` from a previously-cached index
|
1180
|
+
|
1181
|
+
// ...in a gzip-friendly way
|
1182
|
+
node = parent;
|
1183
|
+
outerCache = node[ expando ] || (node[ expando ] = {});
|
1184
|
+
|
1185
|
+
// Support: IE <9 only
|
1186
|
+
// Defend against cloned attroperties (jQuery gh-1709)
|
1187
|
+
uniqueCache = outerCache[ node.uniqueID ] ||
|
1188
|
+
(outerCache[ node.uniqueID ] = {});
|
1189
|
+
|
1190
|
+
cache = uniqueCache[ type ] || [];
|
1191
|
+
nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
|
1192
|
+
diff = nodeIndex && cache[ 2 ];
|
1193
|
+
node = nodeIndex && parent.childNodes[ nodeIndex ];
|
1194
|
+
|
1195
|
+
while ( (node = ++nodeIndex && node && node[ dir ] ||
|
1196
|
+
|
1197
|
+
// Fallback to seeking `elem` from the start
|
1198
|
+
(diff = nodeIndex = 0) || start.pop()) ) {
|
1199
|
+
|
1200
|
+
// When found, cache indexes on `parent` and break
|
1201
|
+
if ( node.nodeType === 1 && ++diff && node === elem ) {
|
1202
|
+
uniqueCache[ type ] = [ dirruns, nodeIndex, diff ];
|
1203
|
+
break;
|
1204
|
+
}
|
1205
|
+
}
|
1206
|
+
|
1207
|
+
} else {
|
1208
|
+
// Use previously-cached element index if available
|
1209
|
+
if ( useCache ) {
|
1210
|
+
// ...in a gzip-friendly way
|
1211
|
+
node = elem;
|
1212
|
+
outerCache = node[ expando ] || (node[ expando ] = {});
|
1213
|
+
|
1214
|
+
// Support: IE <9 only
|
1215
|
+
// Defend against cloned attroperties (jQuery gh-1709)
|
1216
|
+
uniqueCache = outerCache[ node.uniqueID ] ||
|
1217
|
+
(outerCache[ node.uniqueID ] = {});
|
1218
|
+
|
1219
|
+
cache = uniqueCache[ type ] || [];
|
1220
|
+
nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
|
1221
|
+
diff = nodeIndex;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
// xml :nth-child(...)
|
1225
|
+
// or :nth-last-child(...) or :nth(-last)?-of-type(...)
|
1226
|
+
if ( diff === false ) {
|
1227
|
+
// Use the same loop as above to seek `elem` from the start
|
1228
|
+
while ( (node = ++nodeIndex && node && node[ dir ] ||
|
1229
|
+
(diff = nodeIndex = 0) || start.pop()) ) {
|
1230
|
+
|
1231
|
+
if ( ( ofType ?
|
1232
|
+
node.nodeName.toLowerCase() === name :
|
1233
|
+
node.nodeType === 1 ) &&
|
1234
|
+
++diff ) {
|
1235
|
+
|
1236
|
+
// Cache the index of each encountered element
|
1237
|
+
if ( useCache ) {
|
1238
|
+
outerCache = node[ expando ] || (node[ expando ] = {});
|
1239
|
+
|
1240
|
+
// Support: IE <9 only
|
1241
|
+
// Defend against cloned attroperties (jQuery gh-1709)
|
1242
|
+
uniqueCache = outerCache[ node.uniqueID ] ||
|
1243
|
+
(outerCache[ node.uniqueID ] = {});
|
1244
|
+
|
1245
|
+
uniqueCache[ type ] = [ dirruns, diff ];
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
if ( node === elem ) {
|
1249
|
+
break;
|
1250
|
+
}
|
1251
|
+
}
|
1252
|
+
}
|
1253
|
+
}
|
1254
|
+
}
|
1255
|
+
|
1256
|
+
// Incorporate the offset, then check against cycle size
|
1257
|
+
diff -= last;
|
1258
|
+
return diff === first || ( diff % first === 0 && diff / first >= 0 );
|
1259
|
+
}
|
1260
|
+
};
|
1261
|
+
},
|
1262
|
+
|
1263
|
+
"PSEUDO": function( pseudo, argument ) {
|
1264
|
+
// pseudo-class names are case-insensitive
|
1265
|
+
// http://www.w3.org/TR/selectors/#pseudo-classes
|
1266
|
+
// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
|
1267
|
+
// Remember that setFilters inherits from pseudos
|
1268
|
+
var args,
|
1269
|
+
fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
|
1270
|
+
Sizzle.error( "unsupported pseudo: " + pseudo );
|
1271
|
+
|
1272
|
+
// The user may use createPseudo to indicate that
|
1273
|
+
// arguments are needed to create the filter function
|
1274
|
+
// just as Sizzle does
|
1275
|
+
if ( fn[ expando ] ) {
|
1276
|
+
return fn( argument );
|
1277
|
+
}
|
1278
|
+
|
1279
|
+
// But maintain support for old signatures
|
1280
|
+
if ( fn.length > 1 ) {
|
1281
|
+
args = [ pseudo, pseudo, "", argument ];
|
1282
|
+
return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?
|
1283
|
+
markFunction(function( seed, matches ) {
|
1284
|
+
var idx,
|
1285
|
+
matched = fn( seed, argument ),
|
1286
|
+
i = matched.length;
|
1287
|
+
while ( i-- ) {
|
1288
|
+
idx = indexOf( seed, matched[i] );
|
1289
|
+
seed[ idx ] = !( matches[ idx ] = matched[i] );
|
1290
|
+
}
|
1291
|
+
}) :
|
1292
|
+
function( elem ) {
|
1293
|
+
return fn( elem, 0, args );
|
1294
|
+
};
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
return fn;
|
1298
|
+
}
|
1299
|
+
},
|
1300
|
+
|
1301
|
+
pseudos: {
|
1302
|
+
// Potentially complex pseudos
|
1303
|
+
"not": markFunction(function( selector ) {
|
1304
|
+
// Trim the selector passed to compile
|
1305
|
+
// to avoid treating leading and trailing
|
1306
|
+
// spaces as combinators
|
1307
|
+
var input = [],
|
1308
|
+
results = [],
|
1309
|
+
matcher = compile( selector.replace( rtrim, "$1" ) );
|
1310
|
+
|
1311
|
+
return matcher[ expando ] ?
|
1312
|
+
markFunction(function( seed, matches, context, xml ) {
|
1313
|
+
var elem,
|
1314
|
+
unmatched = matcher( seed, null, xml, [] ),
|
1315
|
+
i = seed.length;
|
1316
|
+
|
1317
|
+
// Match elements unmatched by `matcher`
|
1318
|
+
while ( i-- ) {
|
1319
|
+
if ( (elem = unmatched[i]) ) {
|
1320
|
+
seed[i] = !(matches[i] = elem);
|
1321
|
+
}
|
1322
|
+
}
|
1323
|
+
}) :
|
1324
|
+
function( elem, context, xml ) {
|
1325
|
+
input[0] = elem;
|
1326
|
+
matcher( input, null, xml, results );
|
1327
|
+
// Don't keep the element (issue #299)
|
1328
|
+
input[0] = null;
|
1329
|
+
return !results.pop();
|
1330
|
+
};
|
1331
|
+
}),
|
1332
|
+
|
1333
|
+
"has": markFunction(function( selector ) {
|
1334
|
+
return function( elem ) {
|
1335
|
+
return Sizzle( selector, elem ).length > 0;
|
1336
|
+
};
|
1337
|
+
}),
|
1338
|
+
|
1339
|
+
"contains": markFunction(function( text ) {
|
1340
|
+
text = text.replace( runescape, funescape );
|
1341
|
+
return function( elem ) {
|
1342
|
+
return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;
|
1343
|
+
};
|
1344
|
+
}),
|
1345
|
+
|
1346
|
+
// "Whether an element is represented by a :lang() selector
|
1347
|
+
// is based solely on the element's language value
|
1348
|
+
// being equal to the identifier C,
|
1349
|
+
// or beginning with the identifier C immediately followed by "-".
|
1350
|
+
// The matching of C against the element's language value is performed case-insensitively.
|
1351
|
+
// The identifier C does not have to be a valid language name."
|
1352
|
+
// http://www.w3.org/TR/selectors/#lang-pseudo
|
1353
|
+
"lang": markFunction( function( lang ) {
|
1354
|
+
// lang value must be a valid identifier
|
1355
|
+
if ( !ridentifier.test(lang || "") ) {
|
1356
|
+
Sizzle.error( "unsupported lang: " + lang );
|
1357
|
+
}
|
1358
|
+
lang = lang.replace( runescape, funescape ).toLowerCase();
|
1359
|
+
return function( elem ) {
|
1360
|
+
var elemLang;
|
1361
|
+
do {
|
1362
|
+
if ( (elemLang = documentIsHTML ?
|
1363
|
+
elem.lang :
|
1364
|
+
elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) {
|
1365
|
+
|
1366
|
+
elemLang = elemLang.toLowerCase();
|
1367
|
+
return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;
|
1368
|
+
}
|
1369
|
+
} while ( (elem = elem.parentNode) && elem.nodeType === 1 );
|
1370
|
+
return false;
|
1371
|
+
};
|
1372
|
+
}),
|
1373
|
+
|
1374
|
+
// Miscellaneous
|
1375
|
+
"target": function( elem ) {
|
1376
|
+
var hash = window.location && window.location.hash;
|
1377
|
+
return hash && hash.slice( 1 ) === elem.id;
|
1378
|
+
},
|
1379
|
+
|
1380
|
+
"root": function( elem ) {
|
1381
|
+
return elem === docElem;
|
1382
|
+
},
|
1383
|
+
|
1384
|
+
"focus": function( elem ) {
|
1385
|
+
return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
|
1386
|
+
},
|
1387
|
+
|
1388
|
+
// Boolean properties
|
1389
|
+
"enabled": function( elem ) {
|
1390
|
+
return elem.disabled === false;
|
1391
|
+
},
|
1392
|
+
|
1393
|
+
"disabled": function( elem ) {
|
1394
|
+
return elem.disabled === true;
|
1395
|
+
},
|
1396
|
+
|
1397
|
+
"checked": function( elem ) {
|
1398
|
+
// In CSS3, :checked should return both checked and selected elements
|
1399
|
+
// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
|
1400
|
+
var nodeName = elem.nodeName.toLowerCase();
|
1401
|
+
return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
|
1402
|
+
},
|
1403
|
+
|
1404
|
+
"selected": function( elem ) {
|
1405
|
+
// Accessing this property makes selected-by-default
|
1406
|
+
// options in Safari work properly
|
1407
|
+
if ( elem.parentNode ) {
|
1408
|
+
elem.parentNode.selectedIndex;
|
1409
|
+
}
|
1410
|
+
|
1411
|
+
return elem.selected === true;
|
1412
|
+
},
|
1413
|
+
|
1414
|
+
// Contents
|
1415
|
+
"empty": function( elem ) {
|
1416
|
+
// http://www.w3.org/TR/selectors/#empty-pseudo
|
1417
|
+
// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
|
1418
|
+
// but not by others (comment: 8; processing instruction: 7; etc.)
|
1419
|
+
// nodeType < 6 works because attributes (2) do not appear as children
|
1420
|
+
for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
|
1421
|
+
if ( elem.nodeType < 6 ) {
|
1422
|
+
return false;
|
1423
|
+
}
|
1424
|
+
}
|
1425
|
+
return true;
|
1426
|
+
},
|
1427
|
+
|
1428
|
+
"parent": function( elem ) {
|
1429
|
+
return !Expr.pseudos["empty"]( elem );
|
1430
|
+
},
|
1431
|
+
|
1432
|
+
// Element/input types
|
1433
|
+
"header": function( elem ) {
|
1434
|
+
return rheader.test( elem.nodeName );
|
1435
|
+
},
|
1436
|
+
|
1437
|
+
"input": function( elem ) {
|
1438
|
+
return rinputs.test( elem.nodeName );
|
1439
|
+
},
|
1440
|
+
|
1441
|
+
"button": function( elem ) {
|
1442
|
+
var name = elem.nodeName.toLowerCase();
|
1443
|
+
return name === "input" && elem.type === "button" || name === "button";
|
1444
|
+
},
|
1445
|
+
|
1446
|
+
"text": function( elem ) {
|
1447
|
+
var attr;
|
1448
|
+
return elem.nodeName.toLowerCase() === "input" &&
|
1449
|
+
elem.type === "text" &&
|
1450
|
+
|
1451
|
+
// Support: IE<8
|
1452
|
+
// New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
|
1453
|
+
( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" );
|
1454
|
+
},
|
1455
|
+
|
1456
|
+
// Position-in-collection
|
1457
|
+
"first": createPositionalPseudo(function() {
|
1458
|
+
return [ 0 ];
|
1459
|
+
}),
|
1460
|
+
|
1461
|
+
"last": createPositionalPseudo(function( matchIndexes, length ) {
|
1462
|
+
return [ length - 1 ];
|
1463
|
+
}),
|
1464
|
+
|
1465
|
+
"eq": createPositionalPseudo(function( matchIndexes, length, argument ) {
|
1466
|
+
return [ argument < 0 ? argument + length : argument ];
|
1467
|
+
}),
|
1468
|
+
|
1469
|
+
"even": createPositionalPseudo(function( matchIndexes, length ) {
|
1470
|
+
var i = 0;
|
1471
|
+
for ( ; i < length; i += 2 ) {
|
1472
|
+
matchIndexes.push( i );
|
1473
|
+
}
|
1474
|
+
return matchIndexes;
|
1475
|
+
}),
|
1476
|
+
|
1477
|
+
"odd": createPositionalPseudo(function( matchIndexes, length ) {
|
1478
|
+
var i = 1;
|
1479
|
+
for ( ; i < length; i += 2 ) {
|
1480
|
+
matchIndexes.push( i );
|
1481
|
+
}
|
1482
|
+
return matchIndexes;
|
1483
|
+
}),
|
1484
|
+
|
1485
|
+
"lt": createPositionalPseudo(function( matchIndexes, length, argument ) {
|
1486
|
+
var i = argument < 0 ? argument + length : argument;
|
1487
|
+
for ( ; --i >= 0; ) {
|
1488
|
+
matchIndexes.push( i );
|
1489
|
+
}
|
1490
|
+
return matchIndexes;
|
1491
|
+
}),
|
1492
|
+
|
1493
|
+
"gt": createPositionalPseudo(function( matchIndexes, length, argument ) {
|
1494
|
+
var i = argument < 0 ? argument + length : argument;
|
1495
|
+
for ( ; ++i < length; ) {
|
1496
|
+
matchIndexes.push( i );
|
1497
|
+
}
|
1498
|
+
return matchIndexes;
|
1499
|
+
})
|
1500
|
+
}
|
1501
|
+
};
|
1502
|
+
|
1503
|
+
Expr.pseudos["nth"] = Expr.pseudos["eq"];
|
1504
|
+
|
1505
|
+
// Add button/input type pseudos
|
1506
|
+
for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
|
1507
|
+
Expr.pseudos[ i ] = createInputPseudo( i );
|
1508
|
+
}
|
1509
|
+
for ( i in { submit: true, reset: true } ) {
|
1510
|
+
Expr.pseudos[ i ] = createButtonPseudo( i );
|
1511
|
+
}
|
1512
|
+
|
1513
|
+
// Easy API for creating new setFilters
|
1514
|
+
function setFilters() {}
|
1515
|
+
setFilters.prototype = Expr.filters = Expr.pseudos;
|
1516
|
+
Expr.setFilters = new setFilters();
|
1517
|
+
|
1518
|
+
tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
|
1519
|
+
var matched, match, tokens, type,
|
1520
|
+
soFar, groups, preFilters,
|
1521
|
+
cached = tokenCache[ selector + " " ];
|
1522
|
+
|
1523
|
+
if ( cached ) {
|
1524
|
+
return parseOnly ? 0 : cached.slice( 0 );
|
1525
|
+
}
|
1526
|
+
|
1527
|
+
soFar = selector;
|
1528
|
+
groups = [];
|
1529
|
+
preFilters = Expr.preFilter;
|
1530
|
+
|
1531
|
+
while ( soFar ) {
|
1532
|
+
|
1533
|
+
// Comma and first run
|
1534
|
+
if ( !matched || (match = rcomma.exec( soFar )) ) {
|
1535
|
+
if ( match ) {
|
1536
|
+
// Don't consume trailing commas as valid
|
1537
|
+
soFar = soFar.slice( match[0].length ) || soFar;
|
1538
|
+
}
|
1539
|
+
groups.push( (tokens = []) );
|
1540
|
+
}
|
1541
|
+
|
1542
|
+
matched = false;
|
1543
|
+
|
1544
|
+
// Combinators
|
1545
|
+
if ( (match = rcombinators.exec( soFar )) ) {
|
1546
|
+
matched = match.shift();
|
1547
|
+
tokens.push({
|
1548
|
+
value: matched,
|
1549
|
+
// Cast descendant combinators to space
|
1550
|
+
type: match[0].replace( rtrim, " " )
|
1551
|
+
});
|
1552
|
+
soFar = soFar.slice( matched.length );
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
// Filters
|
1556
|
+
for ( type in Expr.filter ) {
|
1557
|
+
if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||
|
1558
|
+
(match = preFilters[ type ]( match ))) ) {
|
1559
|
+
matched = match.shift();
|
1560
|
+
tokens.push({
|
1561
|
+
value: matched,
|
1562
|
+
type: type,
|
1563
|
+
matches: match
|
1564
|
+
});
|
1565
|
+
soFar = soFar.slice( matched.length );
|
1566
|
+
}
|
1567
|
+
}
|
1568
|
+
|
1569
|
+
if ( !matched ) {
|
1570
|
+
break;
|
1571
|
+
}
|
1572
|
+
}
|
1573
|
+
|
1574
|
+
// Return the length of the invalid excess
|
1575
|
+
// if we're just parsing
|
1576
|
+
// Otherwise, throw an error or return tokens
|
1577
|
+
return parseOnly ?
|
1578
|
+
soFar.length :
|
1579
|
+
soFar ?
|
1580
|
+
Sizzle.error( selector ) :
|
1581
|
+
// Cache the tokens
|
1582
|
+
tokenCache( selector, groups ).slice( 0 );
|
1583
|
+
};
|
1584
|
+
|
1585
|
+
function toSelector( tokens ) {
|
1586
|
+
var i = 0,
|
1587
|
+
len = tokens.length,
|
1588
|
+
selector = "";
|
1589
|
+
for ( ; i < len; i++ ) {
|
1590
|
+
selector += tokens[i].value;
|
1591
|
+
}
|
1592
|
+
return selector;
|
1593
|
+
}
|
1594
|
+
|
1595
|
+
function addCombinator( matcher, combinator, base ) {
|
1596
|
+
var dir = combinator.dir,
|
1597
|
+
checkNonElements = base && dir === "parentNode",
|
1598
|
+
doneName = done++;
|
1599
|
+
|
1600
|
+
return combinator.first ?
|
1601
|
+
// Check against closest ancestor/preceding element
|
1602
|
+
function( elem, context, xml ) {
|
1603
|
+
while ( (elem = elem[ dir ]) ) {
|
1604
|
+
if ( elem.nodeType === 1 || checkNonElements ) {
|
1605
|
+
return matcher( elem, context, xml );
|
1606
|
+
}
|
1607
|
+
}
|
1608
|
+
} :
|
1609
|
+
|
1610
|
+
// Check against all ancestor/preceding elements
|
1611
|
+
function( elem, context, xml ) {
|
1612
|
+
var oldCache, uniqueCache, outerCache,
|
1613
|
+
newCache = [ dirruns, doneName ];
|
1614
|
+
|
1615
|
+
// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching
|
1616
|
+
if ( xml ) {
|
1617
|
+
while ( (elem = elem[ dir ]) ) {
|
1618
|
+
if ( elem.nodeType === 1 || checkNonElements ) {
|
1619
|
+
if ( matcher( elem, context, xml ) ) {
|
1620
|
+
return true;
|
1621
|
+
}
|
1622
|
+
}
|
1623
|
+
}
|
1624
|
+
} else {
|
1625
|
+
while ( (elem = elem[ dir ]) ) {
|
1626
|
+
if ( elem.nodeType === 1 || checkNonElements ) {
|
1627
|
+
outerCache = elem[ expando ] || (elem[ expando ] = {});
|
1628
|
+
|
1629
|
+
// Support: IE <9 only
|
1630
|
+
// Defend against cloned attroperties (jQuery gh-1709)
|
1631
|
+
uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {});
|
1632
|
+
|
1633
|
+
if ( (oldCache = uniqueCache[ dir ]) &&
|
1634
|
+
oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {
|
1635
|
+
|
1636
|
+
// Assign to newCache so results back-propagate to previous elements
|
1637
|
+
return (newCache[ 2 ] = oldCache[ 2 ]);
|
1638
|
+
} else {
|
1639
|
+
// Reuse newcache so results back-propagate to previous elements
|
1640
|
+
uniqueCache[ dir ] = newCache;
|
1641
|
+
|
1642
|
+
// A match means we're done; a fail means we have to keep checking
|
1643
|
+
if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {
|
1644
|
+
return true;
|
1645
|
+
}
|
1646
|
+
}
|
1647
|
+
}
|
1648
|
+
}
|
1649
|
+
}
|
1650
|
+
};
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
function elementMatcher( matchers ) {
|
1654
|
+
return matchers.length > 1 ?
|
1655
|
+
function( elem, context, xml ) {
|
1656
|
+
var i = matchers.length;
|
1657
|
+
while ( i-- ) {
|
1658
|
+
if ( !matchers[i]( elem, context, xml ) ) {
|
1659
|
+
return false;
|
1660
|
+
}
|
1661
|
+
}
|
1662
|
+
return true;
|
1663
|
+
} :
|
1664
|
+
matchers[0];
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
function multipleContexts( selector, contexts, results ) {
|
1668
|
+
var i = 0,
|
1669
|
+
len = contexts.length;
|
1670
|
+
for ( ; i < len; i++ ) {
|
1671
|
+
Sizzle( selector, contexts[i], results );
|
1672
|
+
}
|
1673
|
+
return results;
|
1674
|
+
}
|
1675
|
+
|
1676
|
+
function condense( unmatched, map, filter, context, xml ) {
|
1677
|
+
var elem,
|
1678
|
+
newUnmatched = [],
|
1679
|
+
i = 0,
|
1680
|
+
len = unmatched.length,
|
1681
|
+
mapped = map != null;
|
1682
|
+
|
1683
|
+
for ( ; i < len; i++ ) {
|
1684
|
+
if ( (elem = unmatched[i]) ) {
|
1685
|
+
if ( !filter || filter( elem, context, xml ) ) {
|
1686
|
+
newUnmatched.push( elem );
|
1687
|
+
if ( mapped ) {
|
1688
|
+
map.push( i );
|
1689
|
+
}
|
1690
|
+
}
|
1691
|
+
}
|
1692
|
+
}
|
1693
|
+
|
1694
|
+
return newUnmatched;
|
1695
|
+
}
|
1696
|
+
|
1697
|
+
function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
|
1698
|
+
if ( postFilter && !postFilter[ expando ] ) {
|
1699
|
+
postFilter = setMatcher( postFilter );
|
1700
|
+
}
|
1701
|
+
if ( postFinder && !postFinder[ expando ] ) {
|
1702
|
+
postFinder = setMatcher( postFinder, postSelector );
|
1703
|
+
}
|
1704
|
+
return markFunction(function( seed, results, context, xml ) {
|
1705
|
+
var temp, i, elem,
|
1706
|
+
preMap = [],
|
1707
|
+
postMap = [],
|
1708
|
+
preexisting = results.length,
|
1709
|
+
|
1710
|
+
// Get initial elements from seed or context
|
1711
|
+
elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ),
|
1712
|
+
|
1713
|
+
// Prefilter to get matcher input, preserving a map for seed-results synchronization
|
1714
|
+
matcherIn = preFilter && ( seed || !selector ) ?
|
1715
|
+
condense( elems, preMap, preFilter, context, xml ) :
|
1716
|
+
elems,
|
1717
|
+
|
1718
|
+
matcherOut = matcher ?
|
1719
|
+
// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
|
1720
|
+
postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
|
1721
|
+
|
1722
|
+
// ...intermediate processing is necessary
|
1723
|
+
[] :
|
1724
|
+
|
1725
|
+
// ...otherwise use results directly
|
1726
|
+
results :
|
1727
|
+
matcherIn;
|
1728
|
+
|
1729
|
+
// Find primary matches
|
1730
|
+
if ( matcher ) {
|
1731
|
+
matcher( matcherIn, matcherOut, context, xml );
|
1732
|
+
}
|
1733
|
+
|
1734
|
+
// Apply postFilter
|
1735
|
+
if ( postFilter ) {
|
1736
|
+
temp = condense( matcherOut, postMap );
|
1737
|
+
postFilter( temp, [], context, xml );
|
1738
|
+
|
1739
|
+
// Un-match failing elements by moving them back to matcherIn
|
1740
|
+
i = temp.length;
|
1741
|
+
while ( i-- ) {
|
1742
|
+
if ( (elem = temp[i]) ) {
|
1743
|
+
matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);
|
1744
|
+
}
|
1745
|
+
}
|
1746
|
+
}
|
1747
|
+
|
1748
|
+
if ( seed ) {
|
1749
|
+
if ( postFinder || preFilter ) {
|
1750
|
+
if ( postFinder ) {
|
1751
|
+
// Get the final matcherOut by condensing this intermediate into postFinder contexts
|
1752
|
+
temp = [];
|
1753
|
+
i = matcherOut.length;
|
1754
|
+
while ( i-- ) {
|
1755
|
+
if ( (elem = matcherOut[i]) ) {
|
1756
|
+
// Restore matcherIn since elem is not yet a final match
|
1757
|
+
temp.push( (matcherIn[i] = elem) );
|
1758
|
+
}
|
1759
|
+
}
|
1760
|
+
postFinder( null, (matcherOut = []), temp, xml );
|
1761
|
+
}
|
1762
|
+
|
1763
|
+
// Move matched elements from seed to results to keep them synchronized
|
1764
|
+
i = matcherOut.length;
|
1765
|
+
while ( i-- ) {
|
1766
|
+
if ( (elem = matcherOut[i]) &&
|
1767
|
+
(temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) {
|
1768
|
+
|
1769
|
+
seed[temp] = !(results[temp] = elem);
|
1770
|
+
}
|
1771
|
+
}
|
1772
|
+
}
|
1773
|
+
|
1774
|
+
// Add elements to results, through postFinder if defined
|
1775
|
+
} else {
|
1776
|
+
matcherOut = condense(
|
1777
|
+
matcherOut === results ?
|
1778
|
+
matcherOut.splice( preexisting, matcherOut.length ) :
|
1779
|
+
matcherOut
|
1780
|
+
);
|
1781
|
+
if ( postFinder ) {
|
1782
|
+
postFinder( null, results, matcherOut, xml );
|
1783
|
+
} else {
|
1784
|
+
push.apply( results, matcherOut );
|
1785
|
+
}
|
1786
|
+
}
|
1787
|
+
});
|
1788
|
+
}
|
1789
|
+
|
1790
|
+
function matcherFromTokens( tokens ) {
|
1791
|
+
var checkContext, matcher, j,
|
1792
|
+
len = tokens.length,
|
1793
|
+
leadingRelative = Expr.relative[ tokens[0].type ],
|
1794
|
+
implicitRelative = leadingRelative || Expr.relative[" "],
|
1795
|
+
i = leadingRelative ? 1 : 0,
|
1796
|
+
|
1797
|
+
// The foundational matcher ensures that elements are reachable from top-level context(s)
|
1798
|
+
matchContext = addCombinator( function( elem ) {
|
1799
|
+
return elem === checkContext;
|
1800
|
+
}, implicitRelative, true ),
|
1801
|
+
matchAnyContext = addCombinator( function( elem ) {
|
1802
|
+
return indexOf( checkContext, elem ) > -1;
|
1803
|
+
}, implicitRelative, true ),
|
1804
|
+
matchers = [ function( elem, context, xml ) {
|
1805
|
+
var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
|
1806
|
+
(checkContext = context).nodeType ?
|
1807
|
+
matchContext( elem, context, xml ) :
|
1808
|
+
matchAnyContext( elem, context, xml ) );
|
1809
|
+
// Avoid hanging onto element (issue #299)
|
1810
|
+
checkContext = null;
|
1811
|
+
return ret;
|
1812
|
+
} ];
|
1813
|
+
|
1814
|
+
for ( ; i < len; i++ ) {
|
1815
|
+
if ( (matcher = Expr.relative[ tokens[i].type ]) ) {
|
1816
|
+
matchers = [ addCombinator(elementMatcher( matchers ), matcher) ];
|
1817
|
+
} else {
|
1818
|
+
matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );
|
1819
|
+
|
1820
|
+
// Return special upon seeing a positional matcher
|
1821
|
+
if ( matcher[ expando ] ) {
|
1822
|
+
// Find the next relative operator (if any) for proper handling
|
1823
|
+
j = ++i;
|
1824
|
+
for ( ; j < len; j++ ) {
|
1825
|
+
if ( Expr.relative[ tokens[j].type ] ) {
|
1826
|
+
break;
|
1827
|
+
}
|
1828
|
+
}
|
1829
|
+
return setMatcher(
|
1830
|
+
i > 1 && elementMatcher( matchers ),
|
1831
|
+
i > 1 && toSelector(
|
1832
|
+
// If the preceding token was a descendant combinator, insert an implicit any-element `*`
|
1833
|
+
tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" })
|
1834
|
+
).replace( rtrim, "$1" ),
|
1835
|
+
matcher,
|
1836
|
+
i < j && matcherFromTokens( tokens.slice( i, j ) ),
|
1837
|
+
j < len && matcherFromTokens( (tokens = tokens.slice( j )) ),
|
1838
|
+
j < len && toSelector( tokens )
|
1839
|
+
);
|
1840
|
+
}
|
1841
|
+
matchers.push( matcher );
|
1842
|
+
}
|
1843
|
+
}
|
1844
|
+
|
1845
|
+
return elementMatcher( matchers );
|
1846
|
+
}
|
1847
|
+
|
1848
|
+
function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
|
1849
|
+
var bySet = setMatchers.length > 0,
|
1850
|
+
byElement = elementMatchers.length > 0,
|
1851
|
+
superMatcher = function( seed, context, xml, results, outermost ) {
|
1852
|
+
var elem, j, matcher,
|
1853
|
+
matchedCount = 0,
|
1854
|
+
i = "0",
|
1855
|
+
unmatched = seed && [],
|
1856
|
+
setMatched = [],
|
1857
|
+
contextBackup = outermostContext,
|
1858
|
+
// We must always have either seed elements or outermost context
|
1859
|
+
elems = seed || byElement && Expr.find["TAG"]( "*", outermost ),
|
1860
|
+
// Use integer dirruns iff this is the outermost matcher
|
1861
|
+
dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),
|
1862
|
+
len = elems.length;
|
1863
|
+
|
1864
|
+
if ( outermost ) {
|
1865
|
+
outermostContext = context === document || context || outermost;
|
1866
|
+
}
|
1867
|
+
|
1868
|
+
// Add elements passing elementMatchers directly to results
|
1869
|
+
// Support: IE<9, Safari
|
1870
|
+
// Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id
|
1871
|
+
for ( ; i !== len && (elem = elems[i]) != null; i++ ) {
|
1872
|
+
if ( byElement && elem ) {
|
1873
|
+
j = 0;
|
1874
|
+
if ( !context && elem.ownerDocument !== document ) {
|
1875
|
+
setDocument( elem );
|
1876
|
+
xml = !documentIsHTML;
|
1877
|
+
}
|
1878
|
+
while ( (matcher = elementMatchers[j++]) ) {
|
1879
|
+
if ( matcher( elem, context || document, xml) ) {
|
1880
|
+
results.push( elem );
|
1881
|
+
break;
|
1882
|
+
}
|
1883
|
+
}
|
1884
|
+
if ( outermost ) {
|
1885
|
+
dirruns = dirrunsUnique;
|
1886
|
+
}
|
1887
|
+
}
|
1888
|
+
|
1889
|
+
// Track unmatched elements for set filters
|
1890
|
+
if ( bySet ) {
|
1891
|
+
// They will have gone through all possible matchers
|
1892
|
+
if ( (elem = !matcher && elem) ) {
|
1893
|
+
matchedCount--;
|
1894
|
+
}
|
1895
|
+
|
1896
|
+
// Lengthen the array for every element, matched or not
|
1897
|
+
if ( seed ) {
|
1898
|
+
unmatched.push( elem );
|
1899
|
+
}
|
1900
|
+
}
|
1901
|
+
}
|
1902
|
+
|
1903
|
+
// `i` is now the count of elements visited above, and adding it to `matchedCount`
|
1904
|
+
// makes the latter nonnegative.
|
1905
|
+
matchedCount += i;
|
1906
|
+
|
1907
|
+
// Apply set filters to unmatched elements
|
1908
|
+
// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`
|
1909
|
+
// equals `i`), unless we didn't visit _any_ elements in the above loop because we have
|
1910
|
+
// no element matchers and no seed.
|
1911
|
+
// Incrementing an initially-string "0" `i` allows `i` to remain a string only in that
|
1912
|
+
// case, which will result in a "00" `matchedCount` that differs from `i` but is also
|
1913
|
+
// numerically zero.
|
1914
|
+
if ( bySet && i !== matchedCount ) {
|
1915
|
+
j = 0;
|
1916
|
+
while ( (matcher = setMatchers[j++]) ) {
|
1917
|
+
matcher( unmatched, setMatched, context, xml );
|
1918
|
+
}
|
1919
|
+
|
1920
|
+
if ( seed ) {
|
1921
|
+
// Reintegrate element matches to eliminate the need for sorting
|
1922
|
+
if ( matchedCount > 0 ) {
|
1923
|
+
while ( i-- ) {
|
1924
|
+
if ( !(unmatched[i] || setMatched[i]) ) {
|
1925
|
+
setMatched[i] = pop.call( results );
|
1926
|
+
}
|
1927
|
+
}
|
1928
|
+
}
|
1929
|
+
|
1930
|
+
// Discard index placeholder values to get only actual matches
|
1931
|
+
setMatched = condense( setMatched );
|
1932
|
+
}
|
1933
|
+
|
1934
|
+
// Add matches to results
|
1935
|
+
push.apply( results, setMatched );
|
1936
|
+
|
1937
|
+
// Seedless set matches succeeding multiple successful matchers stipulate sorting
|
1938
|
+
if ( outermost && !seed && setMatched.length > 0 &&
|
1939
|
+
( matchedCount + setMatchers.length ) > 1 ) {
|
1940
|
+
|
1941
|
+
Sizzle.uniqueSort( results );
|
1942
|
+
}
|
1943
|
+
}
|
1944
|
+
|
1945
|
+
// Override manipulation of globals by nested matchers
|
1946
|
+
if ( outermost ) {
|
1947
|
+
dirruns = dirrunsUnique;
|
1948
|
+
outermostContext = contextBackup;
|
1949
|
+
}
|
1950
|
+
|
1951
|
+
return unmatched;
|
1952
|
+
};
|
1953
|
+
|
1954
|
+
return bySet ?
|
1955
|
+
markFunction( superMatcher ) :
|
1956
|
+
superMatcher;
|
1957
|
+
}
|
1958
|
+
|
1959
|
+
compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {
|
1960
|
+
var i,
|
1961
|
+
setMatchers = [],
|
1962
|
+
elementMatchers = [],
|
1963
|
+
cached = compilerCache[ selector + " " ];
|
1964
|
+
|
1965
|
+
if ( !cached ) {
|
1966
|
+
// Generate a function of recursive functions that can be used to check each element
|
1967
|
+
if ( !match ) {
|
1968
|
+
match = tokenize( selector );
|
1969
|
+
}
|
1970
|
+
i = match.length;
|
1971
|
+
while ( i-- ) {
|
1972
|
+
cached = matcherFromTokens( match[i] );
|
1973
|
+
if ( cached[ expando ] ) {
|
1974
|
+
setMatchers.push( cached );
|
1975
|
+
} else {
|
1976
|
+
elementMatchers.push( cached );
|
1977
|
+
}
|
1978
|
+
}
|
1979
|
+
|
1980
|
+
// Cache the compiled function
|
1981
|
+
cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );
|
1982
|
+
|
1983
|
+
// Save selector and tokenization
|
1984
|
+
cached.selector = selector;
|
1985
|
+
}
|
1986
|
+
return cached;
|
1987
|
+
};
|
1988
|
+
|
1989
|
+
/**
|
1990
|
+
* A low-level selection function that works with Sizzle's compiled
|
1991
|
+
* selector functions
|
1992
|
+
* @param {String|Function} selector A selector or a pre-compiled
|
1993
|
+
* selector function built with Sizzle.compile
|
1994
|
+
* @param {Element} context
|
1995
|
+
* @param {Array} [results]
|
1996
|
+
* @param {Array} [seed] A set of elements to match against
|
1997
|
+
*/
|
1998
|
+
select = Sizzle.select = function( selector, context, results, seed ) {
|
1999
|
+
var i, tokens, token, type, find,
|
2000
|
+
compiled = typeof selector === "function" && selector,
|
2001
|
+
match = !seed && tokenize( (selector = compiled.selector || selector) );
|
2002
|
+
|
2003
|
+
results = results || [];
|
2004
|
+
|
2005
|
+
// Try to minimize operations if there is only one selector in the list and no seed
|
2006
|
+
// (the latter of which guarantees us context)
|
2007
|
+
if ( match.length === 1 ) {
|
2008
|
+
|
2009
|
+
// Reduce context if the leading compound selector is an ID
|
2010
|
+
tokens = match[0] = match[0].slice( 0 );
|
2011
|
+
if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
|
2012
|
+
support.getById && context.nodeType === 9 && documentIsHTML &&
|
2013
|
+
Expr.relative[ tokens[1].type ] ) {
|
2014
|
+
|
2015
|
+
context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
|
2016
|
+
if ( !context ) {
|
2017
|
+
return results;
|
2018
|
+
|
2019
|
+
// Precompiled matchers will still verify ancestry, so step up a level
|
2020
|
+
} else if ( compiled ) {
|
2021
|
+
context = context.parentNode;
|
2022
|
+
}
|
2023
|
+
|
2024
|
+
selector = selector.slice( tokens.shift().value.length );
|
2025
|
+
}
|
2026
|
+
|
2027
|
+
// Fetch a seed set for right-to-left matching
|
2028
|
+
i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length;
|
2029
|
+
while ( i-- ) {
|
2030
|
+
token = tokens[i];
|
2031
|
+
|
2032
|
+
// Abort if we hit a combinator
|
2033
|
+
if ( Expr.relative[ (type = token.type) ] ) {
|
2034
|
+
break;
|
2035
|
+
}
|
2036
|
+
if ( (find = Expr.find[ type ]) ) {
|
2037
|
+
// Search, expanding context for leading sibling combinators
|
2038
|
+
if ( (seed = find(
|
2039
|
+
token.matches[0].replace( runescape, funescape ),
|
2040
|
+
rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context
|
2041
|
+
)) ) {
|
2042
|
+
|
2043
|
+
// If seed is empty or no tokens remain, we can return early
|
2044
|
+
tokens.splice( i, 1 );
|
2045
|
+
selector = seed.length && toSelector( tokens );
|
2046
|
+
if ( !selector ) {
|
2047
|
+
push.apply( results, seed );
|
2048
|
+
return results;
|
2049
|
+
}
|
2050
|
+
|
2051
|
+
break;
|
2052
|
+
}
|
2053
|
+
}
|
2054
|
+
}
|
2055
|
+
}
|
2056
|
+
|
2057
|
+
// Compile and execute a filtering function if one is not provided
|
2058
|
+
// Provide `match` to avoid retokenization if we modified the selector above
|
2059
|
+
( compiled || compile( selector, match ) )(
|
2060
|
+
seed,
|
2061
|
+
context,
|
2062
|
+
!documentIsHTML,
|
2063
|
+
results,
|
2064
|
+
!context || rsibling.test( selector ) && testContext( context.parentNode ) || context
|
2065
|
+
);
|
2066
|
+
return results;
|
2067
|
+
};
|
2068
|
+
|
2069
|
+
// One-time assignments
|
2070
|
+
|
2071
|
+
// Sort stability
|
2072
|
+
support.sortStable = expando.split("").sort( sortOrder ).join("") === expando;
|
2073
|
+
|
2074
|
+
// Support: Chrome 14-35+
|
2075
|
+
// Always assume duplicates if they aren't passed to the comparison function
|
2076
|
+
support.detectDuplicates = !!hasDuplicate;
|
2077
|
+
|
2078
|
+
// Initialize against the default document
|
2079
|
+
setDocument();
|
2080
|
+
|
2081
|
+
// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
|
2082
|
+
// Detached nodes confoundingly follow *each other*
|
2083
|
+
support.sortDetached = assert(function( div1 ) {
|
2084
|
+
// Should return 1, but returns 4 (following)
|
2085
|
+
return div1.compareDocumentPosition( document.createElement("div") ) & 1;
|
2086
|
+
});
|
2087
|
+
|
2088
|
+
// Support: IE<8
|
2089
|
+
// Prevent attribute/property "interpolation"
|
2090
|
+
// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
|
2091
|
+
if ( !assert(function( div ) {
|
2092
|
+
div.innerHTML = "<a href='#'></a>";
|
2093
|
+
return div.firstChild.getAttribute("href") === "#" ;
|
2094
|
+
}) ) {
|
2095
|
+
addHandle( "type|href|height|width", function( elem, name, isXML ) {
|
2096
|
+
if ( !isXML ) {
|
2097
|
+
return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );
|
2098
|
+
}
|
2099
|
+
});
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
// Support: IE<9
|
2103
|
+
// Use defaultValue in place of getAttribute("value")
|
2104
|
+
if ( !support.attributes || !assert(function( div ) {
|
2105
|
+
div.innerHTML = "<input/>";
|
2106
|
+
div.firstChild.setAttribute( "value", "" );
|
2107
|
+
return div.firstChild.getAttribute( "value" ) === "";
|
2108
|
+
}) ) {
|
2109
|
+
addHandle( "value", function( elem, name, isXML ) {
|
2110
|
+
if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {
|
2111
|
+
return elem.defaultValue;
|
2112
|
+
}
|
2113
|
+
});
|
2114
|
+
}
|
2115
|
+
|
2116
|
+
// Support: IE<9
|
2117
|
+
// Use getAttributeNode to fetch booleans when getAttribute lies
|
2118
|
+
if ( !assert(function( div ) {
|
2119
|
+
return div.getAttribute("disabled") == null;
|
2120
|
+
}) ) {
|
2121
|
+
addHandle( booleans, function( elem, name, isXML ) {
|
2122
|
+
var val;
|
2123
|
+
if ( !isXML ) {
|
2124
|
+
return elem[ name ] === true ? name.toLowerCase() :
|
2125
|
+
(val = elem.getAttributeNode( name )) && val.specified ?
|
2126
|
+
val.value :
|
2127
|
+
null;
|
2128
|
+
}
|
2129
|
+
});
|
2130
|
+
}
|
2131
|
+
|
2132
|
+
// EXPOSE
|
2133
|
+
if ( typeof define === "function" && define.amd ) {
|
2134
|
+
define(function() { return Sizzle; });
|
2135
|
+
// Sizzle requires that there be a global window in Common-JS like environments
|
2136
|
+
} else if ( typeof module !== "undefined" && module.exports ) {
|
2137
|
+
module.exports = Sizzle;
|
2138
|
+
} else {
|
2139
|
+
window.Sizzle = Sizzle;
|
2140
|
+
}
|
2141
|
+
// EXPOSE
|
2142
|
+
|
2143
|
+
})( window );
|