compass-jquery-plugin 0.3.2.8 → 0.3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +24 -6
- data/VERSION.yml +3 -3
- data/lib/jquery/gridify/grid_column.rb +6 -6
- data/lib/jquery/gridify/grid_options.rb +4 -4
- data/lib/jquery/mark_it_up.rb +2 -0
- data/lib/jquery/mobile.rb +0 -1
- data/templates/dynatree/jquery.dynatree.js +2896 -2880
- data/templates/dynatree/jquery.dynatree.min.js +55 -54
- data/templates/dynatree/jquery/dynatree/aero.scss +4 -2
- data/templates/dynatree/jquery/dynatree/aqua.scss +4 -2
- data/templates/dynatree/jquery/dynatree/crystal.scss +4 -2
- data/templates/dynatree/jquery/dynatree/xp.scss +5 -3
- data/templates/emulators/emulators/bb.playbook.landscape.png +0 -0
- data/templates/emulators/emulators/bb.playbook.landscape.scss +18 -0
- data/templates/emulators/emulators/bb.playbook.portrait.png +0 -0
- data/templates/emulators/emulators/bb.playbook.portrait.scss +18 -0
- data/templates/emulators/emulators/{blackberry.torch.landscape.png → bb.torch.landscape.png} +0 -0
- data/templates/emulators/emulators/{blackberry.torch.landscape.scss → bb.torch.landscape.scss} +1 -3
- data/templates/emulators/emulators/{blackberry.torch.portrait.png → bb.torch.portrait.png} +0 -0
- data/templates/emulators/emulators/{blackberry.torch.portrait.scss → bb.torch.portrait.scss} +1 -3
- data/templates/emulators/emulators/galaxy.ace.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.ace.landscape.scss +18 -0
- data/templates/emulators/emulators/galaxy.ace.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.ace.portrait.scss +18 -0
- data/templates/emulators/emulators/galaxy.s.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.s.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.s2.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.s2.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.10.1.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.10.1.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.7.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.7.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.8.9.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.8.9.portrait.scss +0 -2
- data/templates/emulators/emulators/htc.sensation.landscape.png +0 -0
- data/templates/emulators/emulators/htc.sensation.landscape.scss +18 -0
- data/templates/emulators/emulators/htc.sensation.portrait.png +0 -0
- data/templates/emulators/emulators/htc.sensation.portrait.scss +18 -0
- data/templates/emulators/emulators/ipad.landscape.scss +0 -2
- data/templates/emulators/emulators/ipad.portrait.scss +0 -2
- data/templates/emulators/emulators/iphone.3.landscape.scss +0 -2
- data/templates/emulators/emulators/iphone.3.portrait.scss +0 -2
- data/templates/emulators/emulators/{iphone.4.landscape .scss → iphone.4.landscape.scss} +0 -2
- data/templates/emulators/emulators/iphone.4.portrait.scss +0 -2
- data/templates/emulators/emulators/palm.pre.2.landscape.scss +0 -2
- data/templates/emulators/emulators/palm.pre.2.portrait.scss +0 -2
- data/templates/emulators/manifest.rb +17 -5
- data/templates/graphics/highcharts/dark-blue.js +159 -159
- data/templates/graphics/highcharts/dark-green.js +159 -159
- data/templates/graphics/highcharts/gray.js +154 -154
- data/templates/graphics/highcharts/grid.js +84 -84
- data/templates/graphics/highcharts/highslide-config.js +2 -2
- data/templates/graphics/highcharts/highslide-full.js +3310 -3310
- data/templates/graphics/highcharts/skies.js +72 -72
- data/templates/graphics/jquery.ganttView.js +1550 -1550
- data/templates/graphics/jquery.highcharts.js +11277 -11285
- data/templates/graphics/jquery.sparkline.js +1072 -1072
- data/templates/ical/jquery.ical.js +7637 -7637
- data/templates/ical/jquery/ical.print.scss +3 -3
- data/templates/jqgrid/i18n/jqgrid/locale-ar.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +131 -131
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +131 -131
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-cn.js +132 -132
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +129 -129
- data/templates/jqgrid/i18n/jqgrid/locale-da.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +134 -134
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-es.js +129 -129
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +141 -141
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-gl.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-hu.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +6 -6
- data/templates/jqgrid/i18n/jqgrid/locale-ja.js +153 -153
- data/templates/jqgrid/i18n/jqgrid/locale-lt.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-mne.js +134 -0
- data/templates/jqgrid/i18n/jqgrid/locale-mne.min.js +7 -0
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +145 -145
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +12 -12
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +140 -140
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sk.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sr.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +128 -128
- data/templates/jqgrid/jquery.jqGrid.js +13477 -13443
- data/templates/jqgrid/jquery.jqGrid.min.js +292 -287
- data/templates/jqgrid/jquery/jqGrid.scss +13 -12
- data/templates/jqgrid/manifest.rb +2 -0
- data/templates/jqtouch/jquery.jqtouch.js +9601 -9556
- data/templates/jqtouch/jquery.jqtouch.min.js +3 -3
- data/templates/jqtouch/jquery/touch/default.scss +2 -2
- data/templates/jqtouch/jquery/touch/jqt.scss +2 -2
- data/templates/jqtouch/jquery/touch/jqtouch.scss +26 -5
- data/templates/jquery/amplify.store.js +211 -211
- data/templates/jquery/config/initializers/jquery.rb +2 -0
- data/templates/jquery/history.adapter.jquery.js +42 -36
- data/templates/jquery/history.html4.js +563 -563
- data/templates/jquery/history.html4.min.js +5 -5
- data/templates/jquery/history.js +1721 -1694
- data/templates/jquery/history.min.js +28 -27
- data/templates/jquery/i18n/jquery.ui/datepicker-af.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-az.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-bg.js +21 -21
- data/templates/jquery/i18n/jquery.ui/datepicker-bs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ca.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-cs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-da.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-de.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-el.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-en-GB.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-eo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-es.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-et.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-eu.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fa.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-fi.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-fo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr-CH.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-gl.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-he.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-hy.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-id.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-is.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-it.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-ja.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ko.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-kz.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-lt.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-lv.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ms.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-no.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-pl.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-pt-BR.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-pt.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +17 -17
- data/templates/jquery/i18n/jquery.ui/datepicker-ro.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ru.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sl.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-sq.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr-SR.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sv.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ta.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-th.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-tj.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-tr.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-uk.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-vi.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-CN.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-HK.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-TW.js +20 -20
- data/templates/jquery/jquery-ui.js +11913 -11882
- data/templates/jquery/jquery-ui.min.js +340 -339
- data/templates/jquery/jquery.bgiframe.js +27 -27
- data/templates/jquery/jquery.contextMenu.js +202 -202
- data/templates/jquery/jquery.cookie.js +26 -26
- data/templates/jquery/jquery.dotimeout.js +227 -227
- data/templates/jquery/jquery.dst.js +89 -89
- data/templates/jquery/jquery.easing.js +226 -0
- data/templates/jquery/jquery.easing.min.js +8 -0
- data/templates/jquery/jquery.farbtastic.js +294 -294
- data/templates/jquery/jquery.flashMessages.js +14 -14
- data/templates/jquery/jquery.form.js +761 -761
- data/templates/jquery/jquery.haml.js +247 -247
- data/templates/jquery/jquery.hotkeys.js +79 -79
- data/templates/jquery/jquery.js +1490 -928
- data/templates/jquery/jquery.layout.js +2454 -2454
- data/templates/jquery/jquery.mediahelpers.js +216 -0
- data/templates/jquery/jquery.mediahelpers.min.js +3 -0
- data/templates/jquery/jquery.min.js +177 -166
- data/templates/jquery/jquery.mousewheel.js +57 -57
- data/templates/jquery/jquery.offline.js +171 -171
- data/templates/jquery/jquery.pngFix.js +72 -72
- data/templates/jquery/jquery.rails.js +145 -145
- data/templates/jquery/jquery.replacetext.js +80 -80
- data/templates/jquery/jquery.themeswitchertool.js +195 -195
- data/templates/jquery/jquery.tmpl.js +460 -460
- data/templates/jquery/jquery.tmplPlus.js +78 -78
- data/templates/jquery/jquery.tokeninput.js +480 -475
- data/templates/jquery/jquery/ui/_theme.scss +14 -14
- data/templates/jquery/jquery/ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
- data/templates/jquery/jquery/ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/jquery/jquery/ui/black-tie/ui-icons_ededed_256x240.png +0 -0
- data/templates/jquery/jquery/ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-icons_c98000_256x240.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-icons_f29a00_256x240.png +0 -0
- data/templates/jquery/json.js +66 -66
- data/templates/jquery/json2.js +177 -177
- data/templates/jquery/manifest.rb +4 -0
- data/templates/jstree/jquery.jstree.js +5918 -5918
- data/templates/markitup/app/views/shared/_mark_it_up.parsed.preview.blue.html.haml +9 -0
- data/templates/markitup/app/views/shared/_mark_it_up.parsed.preview.html.haml +9 -0
- data/templates/markitup/app/views/shared/_mark_it_up.preview.blue.html.haml +8 -0
- data/templates/markitup/app/views/shared/_mark_it_up.preview.html.haml +8 -0
- data/templates/markitup/config/initializers/mark_it_up.rb +40 -0
- data/templates/markitup/jquery.markitup.js +586 -0
- data/templates/markitup/jquery.markitup.min.js +1 -0
- data/templates/markitup/jquery/markitup/preview/body.blue.png +0 -0
- data/templates/markitup/jquery/markitup/preview/bullet.blue.png +0 -0
- data/templates/markitup/jquery/markitup/preview/preview.blue.scss +58 -0
- data/templates/markitup/jquery/markitup/preview/preview.scss +7 -0
- data/templates/markitup/jquery/markitup/sets/bbcode.scss +34 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/fonts.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/list-item.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/underline.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css.scss +54 -0
- data/templates/markitup/jquery/markitup/sets/css/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/css.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/tag.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_center.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_justify.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_left.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_right.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_indent.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_letterspacing.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_linespacing.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_lowercase.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_bottom.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_left.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_right.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_top.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_uppercase.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default.scss +22 -0
- data/templates/markitup/jquery/markitup/sets/default/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/image.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/url.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html.scss +42 -0
- data/templates/markitup/jquery/markitup/sets/html/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/image.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/list-item.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/paragraph.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/markdown/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/markmin/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/rest/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile.scss +44 -0
- data/templates/markitup/jquery/markitup/sets/textile/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/paragraph.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/table.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy.scss +40 -0
- data/templates/markitup/jquery/markitup/sets/texy/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/disconnect.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/page_white_code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags.scss +44 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/disconnect.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/underline.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki.scss +42 -0
- data/templates/markitup/jquery/markitup/sets/wiki/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/table.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/url.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode.scss +42 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/image.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/list-item.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/paragraph.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua.scss +136 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-container-white.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-footer-white.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-footer.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-header-white.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-header.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/spacer.gif +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor.scss +141 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-bbcode.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-dotclear.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-html.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-markdown.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-textile.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-wiki.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live.scss +135 -0
- data/templates/markitup/jquery/markitup/skins/live/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/bg-footer.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/bg-header.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/editor.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup.scss +150 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-bbcode.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-dotclear.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-html.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-json.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-markdown.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-textile.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-wiki.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-xml.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple.scss +117 -0
- data/templates/markitup/jquery/markitup/skins/simple/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple/submenu.png +0 -0
- data/templates/markitup/manifest.rb +311 -0
- data/templates/markitup/markitup/jquery.markitup.set.bbcode.js +40 -0
- data/templates/markitup/markitup/jquery.markitup.set.bbcode.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.css.js +53 -0
- data/templates/markitup/markitup/jquery.markitup.set.css.min.js +5 -0
- data/templates/markitup/markitup/jquery.markitup.set.default.js +30 -0
- data/templates/markitup/markitup/jquery.markitup.set.default.min.js +2 -0
- data/templates/markitup/markitup/jquery.markitup.set.dotclear.js +38 -0
- data/templates/markitup/markitup/jquery.markitup.set.dotclear.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.html.js +40 -0
- data/templates/markitup/markitup/jquery.markitup.set.html.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.markdown.js +53 -0
- data/templates/markitup/markitup/jquery.markitup.set.markdown.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.markmin.js +50 -0
- data/templates/markitup/markitup/jquery.markitup.set.markmin.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.rest.js +52 -0
- data/templates/markitup/markitup/jquery.markitup.set.rest.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.textile.js +58 -0
- data/templates/markitup/markitup/jquery.markitup.set.textile.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.texy.js +52 -0
- data/templates/markitup/markitup/jquery.markitup.set.texy.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.txt2tags.js +42 -0
- data/templates/markitup/markitup/jquery.markitup.set.txt2tags.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.wiki.js +61 -0
- data/templates/markitup/markitup/jquery.markitup.set.wiki.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.xbbcode.js +36 -0
- data/templates/markitup/markitup/jquery.markitup.set.xbbcode.min.js +4 -0
- data/templates/mobile/config/initializers/mobile.rb +2 -0
- data/templates/mobile/jquery.mobile.js +4545 -4454
- data/templates/mobile/jquery.mobile.min.js +16 -7
- data/templates/mobile/jquery/mobile/960.fluid.scss +191 -0
- data/templates/mobile/jquery/mobile/960.scss +213 -0
- data/templates/mobile/jquery/mobile/_base.scss +37 -20
- data/templates/mobile/jquery/mobile/default.scss +48 -56
- data/templates/mobile/jquery/mobile/valencia.scss +43 -44
- data/templates/mobile/manifest.rb +2 -0
- data/templates/ribbon/jquery.ribbon.js +195 -195
- data/templates/ribbon/jquery.ribbon.min.js +1 -1
- data/templates/ribbon/jquery/ribbon/office.scss +12 -12
- data/templates/ribbon/jquery/ribbon/windows7.scss +12 -12
- data/templates/secret_sauce/secret_sauce.js +8 -8
- data/templates/tools/flowplayer.js +897 -897
- data/templates/tools/jquery.tools.js +3647 -3647
- data/templates/tools/jquery.tools.min.js +47 -47
- data/templates/tools/swfobject.js +760 -760
- metadata +350 -22
@@ -0,0 +1,216 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery Media Helper Utilities from jQuery Mobile: resolution and CSS media query related helpers and behavior
|
3
|
+
* Copyright (c) jQuery Project, Scott Jehl, Filament Group, Inc
|
4
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
5
|
+
* Exposed utilities:
|
6
|
+
|
7
|
+
* orientationchange event from jQuery Mobile
|
8
|
+
Handler automatically falls back to resize event in browsers that don't natively support it
|
9
|
+
The event object contains an "orientation" property, which will equal either "portrait" or "landscape"
|
10
|
+
Examples:
|
11
|
+
$(window).bind('orientationchange', function(event){
|
12
|
+
//alert( event.orientation );
|
13
|
+
});
|
14
|
+
|
15
|
+
|
16
|
+
* $.mh.media method: pass a CSS media type or query and get a bool return
|
17
|
+
Note: this feature relies on actual media query support for media queries, though types will work most anywhere
|
18
|
+
Examples:
|
19
|
+
$.mh.media('screen') //>> tests for screen media type
|
20
|
+
$.mh.media('screen and (min-width: 480px)') //>> tests for screen media type with window width > 480px
|
21
|
+
$.mh.media('@media screen and (-webkit-min-device-pixel-ratio: 2)') //>> tests for webkit 2x pixel ratio (iPhone 4)
|
22
|
+
|
23
|
+
|
24
|
+
* Cross-browser media-query width and orientation breakpoint classes
|
25
|
+
This script automatically adds classes to the HTML element:
|
26
|
+
- "portrait" or "landscape" for orientation
|
27
|
+
- Min/Max width breakpoint classes for the following widths (by default):
|
28
|
+
320px, 480px, 768px, 1024px
|
29
|
+
|
30
|
+
...which translate to classes that correspond to media query sytnax:
|
31
|
+
.min-width-480px, .max-width-1024px, etc
|
32
|
+
|
33
|
+
You can add breakpoints by number or array, like so:
|
34
|
+
$.mh.addResolutionBreakpoints( 500 );
|
35
|
+
$.mh.addResolutionBreakpoints( [500, 1200] );
|
36
|
+
|
37
|
+
*/
|
38
|
+
(function($, window, undefined) {
|
39
|
+
|
40
|
+
var $win = $(window),
|
41
|
+
$html = $("html"),
|
42
|
+
doc = window.document,
|
43
|
+
|
44
|
+
//media-query-like width breakpoints, which are translated to classes on the html element
|
45
|
+
resolutionBreakpoints = [320,480,768,1024];
|
46
|
+
|
47
|
+
//mh namespace
|
48
|
+
$.mh = {};
|
49
|
+
|
50
|
+
|
51
|
+
/* $.mh.media method: pass a CSS media type or query and get a bool return
|
52
|
+
note: this feature relies on actual media query support for media queries, though types will work most anywhere
|
53
|
+
examples:
|
54
|
+
$.mh.media('screen') //>> tests for screen media type
|
55
|
+
$.mh.media('screen and (min-width: 480px)') //>> tests for screen media type with window width > 480px
|
56
|
+
$.mh.media('@media screen and (-webkit-min-device-pixel-ratio: 2)') //>> tests for webkit 2x pixel ratio (iPhone 4)
|
57
|
+
*/
|
58
|
+
$.mh.media = (function() {
|
59
|
+
// TODO: use window.matchMedia once at least one UA implements it
|
60
|
+
var cache = {},
|
61
|
+
testDiv = $("<div id='jquery-mediatest'>"),
|
62
|
+
fakeBody = $("<body>").append(testDiv);
|
63
|
+
|
64
|
+
return function(query) {
|
65
|
+
if (!( query in cache )) {
|
66
|
+
var styleBlock = $("<style type='text/css'>" +
|
67
|
+
"@media " + query + "{#jquery-mediatest{position:absolute;}}" +
|
68
|
+
"</style>");
|
69
|
+
$html.prepend(fakeBody).prepend(styleBlock);
|
70
|
+
cache[ query ] = testDiv.css("position") === "absolute";
|
71
|
+
fakeBody.add(styleBlock).remove();
|
72
|
+
}
|
73
|
+
return cache[ query ];
|
74
|
+
};
|
75
|
+
})();
|
76
|
+
|
77
|
+
/*
|
78
|
+
orientationchange event support from jQuery Mobile
|
79
|
+
- falls back to resize in browsers that don't natively support the event
|
80
|
+
- written by "Cowboy" Ben Alman and Scott Gonz�lez
|
81
|
+
*/
|
82
|
+
var special_event,
|
83
|
+
get_orientation,
|
84
|
+
last_orientation;
|
85
|
+
|
86
|
+
$.event.special.orientationchange = special_event = {
|
87
|
+
setup: function() {
|
88
|
+
// If the event is supported natively, return false so that jQuery
|
89
|
+
// will bind to the event using DOM methods.
|
90
|
+
if ("orientation" in window) {
|
91
|
+
return false;
|
92
|
+
}
|
93
|
+
|
94
|
+
// Get the current orientation to avoid initial double-triggering.
|
95
|
+
last_orientation = get_orientation();
|
96
|
+
|
97
|
+
// Because the orientationchange event doesn't exist, simulate the
|
98
|
+
// event by testing window dimensions on resize.
|
99
|
+
$win.bind("resize", handler);
|
100
|
+
},
|
101
|
+
teardown: function() {
|
102
|
+
// If the event is not supported natively, return false so that
|
103
|
+
// jQuery will unbind the event using DOM methods.
|
104
|
+
if ($.support.orientation) {
|
105
|
+
return false;
|
106
|
+
}
|
107
|
+
|
108
|
+
// Because the orientationchange event doesn't exist, unbind the
|
109
|
+
// resize event handler.
|
110
|
+
$win.unbind("resize", handler);
|
111
|
+
},
|
112
|
+
add: function(handleObj) {
|
113
|
+
// Save a reference to the bound event handler.
|
114
|
+
var old_handler = handleObj.handler;
|
115
|
+
|
116
|
+
handleObj.handler = function(event) {
|
117
|
+
// Modify event object, adding the .orientation property.
|
118
|
+
event.orientation = get_orientation();
|
119
|
+
|
120
|
+
// Call the originally-bound event handler and return its result.
|
121
|
+
return old_handler.apply(this, arguments);
|
122
|
+
};
|
123
|
+
}
|
124
|
+
};
|
125
|
+
|
126
|
+
// If the event is not supported natively, this handler will be bound to
|
127
|
+
// the window resize event to simulate the orientationchange event.
|
128
|
+
function handler() {
|
129
|
+
// Get the current orientation.
|
130
|
+
var orientation = get_orientation();
|
131
|
+
|
132
|
+
if (orientation !== last_orientation) {
|
133
|
+
// The orientation has changed, so trigger the orientationchange event.
|
134
|
+
last_orientation = orientation;
|
135
|
+
$win.trigger("orientationchange");
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
;
|
140
|
+
|
141
|
+
// Get the current page orientation. This method is exposed publicly, should it
|
142
|
+
// be needed, as jQuery.event.special.orientationchange.orientation()
|
143
|
+
special_event.orientation = get_orientation = function() {
|
144
|
+
var elem = doc.documentElement;
|
145
|
+
return elem && elem.clientWidth / elem.clientHeight < 1.1 ? "portrait" : "landscape";
|
146
|
+
};
|
147
|
+
|
148
|
+
|
149
|
+
/*
|
150
|
+
private function for adding/removing breakpoint classes to HTML element for faux media-query support
|
151
|
+
It does not require media query support, instead using JS to detect screen width > cross-browser support
|
152
|
+
This function is called on orientationchange, resize, and mobileinit, and is bound via the 'htmlclass' event namespace
|
153
|
+
*/
|
154
|
+
function detectResolutionBreakpoints() {
|
155
|
+
var currWidth = $win.width(),
|
156
|
+
minPrefix = "min-width-",
|
157
|
+
maxPrefix = "max-width-",
|
158
|
+
minBreakpoints = [],
|
159
|
+
maxBreakpoints = [],
|
160
|
+
unit = "px",
|
161
|
+
breakpointClasses;
|
162
|
+
|
163
|
+
$html.removeClass(minPrefix + resolutionBreakpoints.join(unit + " " + minPrefix) + unit + " " +
|
164
|
+
maxPrefix + resolutionBreakpoints.join(unit + " " + maxPrefix) + unit);
|
165
|
+
|
166
|
+
$.each(resolutionBreakpoints, function(i, breakPoint) {
|
167
|
+
if (currWidth >= breakPoint) {
|
168
|
+
minBreakpoints.push(minPrefix + breakPoint + unit);
|
169
|
+
}
|
170
|
+
if (currWidth <= breakPoint) {
|
171
|
+
maxBreakpoints.push(maxPrefix + breakPoint + unit);
|
172
|
+
}
|
173
|
+
});
|
174
|
+
|
175
|
+
if (minBreakpoints.length) {
|
176
|
+
breakpointClasses = minBreakpoints.join(" ");
|
177
|
+
}
|
178
|
+
if (maxBreakpoints.length) {
|
179
|
+
breakpointClasses += " " + maxBreakpoints.join(" ");
|
180
|
+
}
|
181
|
+
|
182
|
+
$html.addClass(breakpointClasses);
|
183
|
+
}
|
184
|
+
|
185
|
+
;
|
186
|
+
|
187
|
+
/* $.mh.addResolutionBreakpoints method: */
|
188
|
+
$.mh.addResolutionBreakpoints = function(newbps) {
|
189
|
+
if ($.type(newbps) === "array") {
|
190
|
+
resolutionBreakpoints = resolutionBreakpoints.concat(newbps);
|
191
|
+
}
|
192
|
+
else {
|
193
|
+
resolutionBreakpoints.push(newbps);
|
194
|
+
}
|
195
|
+
resolutionBreakpoints.sort(function(a, b) {
|
196
|
+
return a - b;
|
197
|
+
})
|
198
|
+
detectResolutionBreakpoints();
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
/* bind to orientationchange and resize
|
203
|
+
to add classes to HTML element for min/max breakpoints and orientation */
|
204
|
+
$win.bind("orientationchange.htmlclass resize.htmlclass", function(event) {
|
205
|
+
//add orientation class to HTML element on flip/resize.
|
206
|
+
if (event.orientation) {
|
207
|
+
$html.removeClass("portrait landscape").addClass(event.orientation);
|
208
|
+
}
|
209
|
+
//add classes to HTML element for min/max breakpoints
|
210
|
+
detectResolutionBreakpoints();
|
211
|
+
});
|
212
|
+
|
213
|
+
//trigger event manually
|
214
|
+
$win.trigger("orientationchange.htmlclass");
|
215
|
+
|
216
|
+
})(jQuery, this);
|
@@ -0,0 +1,3 @@
|
|
1
|
+
(function(b,j){function l(){var a=h();a!==k&&(k=a,e.trigger("orientationchange"))}function m(){var a=e.width(),f=[],g=[],c;i.removeClass("min-width-"+d.join("px min-width-")+"px max-width-"+d.join("px max-width-")+"px");b.each(d,function(b,c){a>=c&&f.push("min-width-"+c+"px");a<=c&&g.push("max-width-"+c+"px")});f.length&&(c=f.join(" "));g.length&&(c+=" "+g.join(" "));i.addClass(c)}var e=b(j),i=b("html"),n=j.document,d=[320,480,768,1024];b.mh={};b.mh.media=function(){var a={},f=b("<div id='jquery-mediatest'>"),
|
2
|
+
g=b("<body>").append(f);return function(c){if(!(c in a)){var d=b("<style type='text/css'>@media "+c+"{#jquery-mediatest{position:absolute;}}</style>");i.prepend(g).prepend(d);a[c]=f.css("position")==="absolute";g.add(d).remove()}return a[c]}}();var h,k;b.event.special.orientationchange={setup:function(){if("orientation"in j)return!1;k=h();e.bind("resize",l)},teardown:function(){if(b.support.orientation)return!1;e.unbind("resize",l)},add:function(a){var b=a.handler;a.handler=function(a){a.orientation=
|
3
|
+
h();return b.apply(this,arguments)}}};h=function(){var a=n.documentElement;return a&&a.clientWidth/a.clientHeight<1.1?"portrait":"landscape"};b.mh.addResolutionBreakpoints=function(a){b.type(a)==="array"?d=d.concat(a):d.push(a);d.sort(function(a,b){return a-b});m()};e.bind("orientationchange.htmlclass resize.htmlclass",function(a){a.orientation&&i.removeClass("portrait landscape").addClass(a.orientation);m()});e.trigger("orientationchange.htmlclass")})(jQuery,this);
|
@@ -1,166 +1,177 @@
|
|
1
|
-
(function(
|
2
|
-
|
3
|
-
this.length=1,this;if(typeof a==="string")if((
|
4
|
-
|
5
|
-
this.context;if(
|
6
|
-
function(
|
7
|
-
|
8
|
-
1);if(
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
a.guid=a.guid||
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
try{delete
|
23
|
-
|
24
|
-
|
25
|
-
"
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
a.
|
39
|
-
c
|
40
|
-
|
41
|
-
"(
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
null
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
a.
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
d.
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
a[
|
77
|
-
return
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
"
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
c.
|
91
|
-
a=
|
92
|
-
|
93
|
-
|
94
|
-
d[
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
1
|
100
|
-
|
101
|
-
|
102
|
-
"
|
103
|
-
a(this)
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
b
|
110
|
-
f
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
[
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
n
|
126
|
-
|
127
|
-
a.
|
128
|
-
c){
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
(c
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
e,
|
138
|
-
b
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
(
|
144
|
-
|
145
|
-
"
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
"
|
150
|
-
|
151
|
-
|
152
|
-
a
|
153
|
-
(
|
154
|
-
|
155
|
-
|
156
|
-
"
|
157
|
-
|
158
|
-
a.
|
159
|
-
|
160
|
-
"
|
161
|
-
c.
|
162
|
-
a.
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
a
|
1
|
+
(function(x,l){var r=x.document,U=x.navigator,V=x.location,A=function(){function a(){if(!c.isReady){try{r.documentElement.doScroll("left")}catch(i){setTimeout(a,1);return}c.ready()}}var c=function(a,i){return new c.fn.init(a,i,f)},p=x.jQuery,g=x.$,f,b=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,n=/\S/,k=/^\s+/,D=/\s+$/,e=/\d/,o=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,t=/^[\],:{}\s]*$/,u=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,s=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,h=/(?:^|:|,)(?:\s*\[)+/g,
|
2
|
+
C=/(webkit)[ \/]([\w.]+)/,w=/(opera)(?:.*version)?[ \/]([\w.]+)/,q=/(msie) ([\w.]+)/,d=/(mozilla)(?:.*? rv:([\w.]+))?/,i=U.userAgent,j,v,z=Object.prototype.toString,m=Object.prototype.hasOwnProperty,y=Array.prototype.push,I=Array.prototype.slice,J=String.prototype.trim,R=Array.prototype.indexOf,S={};c.fn=c.prototype={constructor:c,init:function(a,i,d){var j;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!i&&r.body)return this.context=r,this[0]=r.body,
|
3
|
+
this.selector=a,this.length=1,this;if(typeof a==="string")if((j=a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?[null,a,null]:b.exec(a))&&(j[1]||!i))if(j[1])return d=(i=i instanceof c?i[0]:i)?i.ownerDocument||i:r,(a=o.exec(a))?c.isPlainObject(i)?(a=[r.createElement(a[1])],c.fn.attr.call(a,i,!0)):a=[d.createElement(a[1])]:(a=c.buildFragment([j[1]],[d]),a=(a.cacheable?c.clone(a.fragment):a.fragment).childNodes),c.merge(this,a);else{if((i=r.getElementById(j[2]))&&i.parentNode){if(i.id!==j[2])return d.find(a);
|
4
|
+
this.length=1;this[0]=i}this.context=r;this.selector=a;return this}else return!i||i.jquery?(i||d).find(a):this.constructor(i).find(a);else if(c.isFunction(a))return d.ready(a);if(a.selector!==l)this.selector=a.selector,this.context=a.context;return c.makeArray(a,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return I.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,i,d){var j=this.constructor();
|
5
|
+
c.isArray(a)?y.apply(j,a):c.merge(j,a);j.prevObject=this;j.context=this.context;if(i==="find")j.selector=this.selector+(this.selector?" ":"")+d;else if(i)j.selector=this.selector+"."+i+"("+d+")";return j},each:function(a,i){return c.each(this,a,i)},ready:function(a){c.bindReady();j.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),
|
6
|
+
"slice",I.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(i,d){return a.call(i,d,i)}))},end:function(){return this.prevObject||this.constructor(null)},push:y,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a,i,d,j,z,v=arguments[0]||{},m=1,e=arguments.length,y=!1;typeof v==="boolean"&&(y=v,v=arguments[1]||{},m=2);typeof v!=="object"&&!c.isFunction(v)&&(v={});e===m&&(v=this,--m);for(;m<e;m++)if((a=arguments[m])!=null)for(i in a)d=
|
7
|
+
v[i],j=a[i],v!==j&&(y&&j&&(c.isPlainObject(j)||(z=c.isArray(j)))?(z?(z=!1,d=d&&c.isArray(d)?d:[]):d=d&&c.isPlainObject(d)?d:{},v[i]=c.extend(y,d,j)):j!==l&&(v[i]=j));return v};c.extend({noConflict:function(a){if(x.$===c)x.$=g;if(a&&x.jQuery===c)x.jQuery=p;return c},isReady:!1,readyWait:1,holdReady:function(a){a?c.readyWait++:c.ready(!0)},ready:function(a){if(a===!0&&!--c.readyWait||a!==!0&&!c.isReady){if(!r.body)return setTimeout(c.ready,1);c.isReady=!0;a!==!0&&--c.readyWait>0||(j.resolveWith(r,[c]),
|
8
|
+
c.fn.trigger&&c(r).trigger("ready").unbind("ready"))}},bindReady:function(){if(!j){j=c._Deferred();if(r.readyState==="complete")return setTimeout(c.ready,1);if(r.addEventListener)r.addEventListener("DOMContentLoaded",v,!1),x.addEventListener("load",c.ready,!1);else if(r.attachEvent){r.attachEvent("onreadystatechange",v);x.attachEvent("onload",c.ready);var i=!1;try{i=x.frameElement==null}catch(d){}r.documentElement.doScroll&&i&&a()}}},isFunction:function(a){return c.type(a)==="function"},isArray:Array.isArray||
|
9
|
+
function(a){return c.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!e.test(a)||isNaN(a)},type:function(a){return a==null?String(a):S[z.call(a)]||"object"},isPlainObject:function(a){if(!a||c.type(a)!=="object"||a.nodeType||c.isWindow(a))return!1;if(a.constructor&&!m.call(a,"constructor")&&!m.call(a.constructor.prototype,"isPrototypeOf"))return!1;for(var i in a);return i===l||m.call(a,i)},isEmptyObject:function(a){for(var i in a)return!1;
|
10
|
+
return!0},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(x.JSON&&x.JSON.parse)return x.JSON.parse(a);if(t.test(a.replace(u,"@").replace(s,"]").replace(h,"")))return(new Function("return "+a))();c.error("Invalid JSON: "+a)},parseXML:function(a,i,d){x.DOMParser?(d=new DOMParser,i=d.parseFromString(a,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(a));d=i.documentElement;(!d||!d.nodeName||d.nodeName==="parsererror")&&
|
11
|
+
c.error("Invalid XML: "+a);return i},noop:function(){},globalEval:function(a){a&&n.test(a)&&(x.execScript||function(a){x.eval.call(x,a)})(a)},nodeName:function(a,i){return a.nodeName&&a.nodeName.toUpperCase()===i.toUpperCase()},each:function(a,i,d){var j,v=0,z=a.length,m=z===l||c.isFunction(a);if(d)if(m)for(j in a){if(i.apply(a[j],d)===!1)break}else for(;v<z;){if(i.apply(a[v++],d)===!1)break}else if(m)for(j in a){if(i.call(a[j],j,a[j])===!1)break}else for(;v<z;)if(i.call(a[v],v,a[v++])===!1)break;
|
12
|
+
return a},trim:J?function(a){return a==null?"":J.call(a)}:function(a){return a==null?"":a.toString().replace(k,"").replace(D,"")},makeArray:function(a,i){var d=i||[];if(a!=null){var j=c.type(a);a.length==null||j==="string"||j==="function"||j==="regexp"||c.isWindow(a)?y.call(d,a):c.merge(d,a)}return d},inArray:function(a,i){if(R)return R.call(i,a);for(var d=0,j=i.length;d<j;d++)if(i[d]===a)return d;return-1},merge:function(a,i){var d=a.length,j=0;if(typeof i.length==="number")for(var v=i.length;j<
|
13
|
+
v;j++)a[d++]=i[j];else for(;i[j]!==l;)a[d++]=i[j++];a.length=d;return a},grep:function(a,i,d){for(var j=[],v,d=!!d,z=0,m=a.length;z<m;z++)v=!!i(a[z],z),d!==v&&j.push(a[z]);return j},map:function(a,i,d){var j,v,z=[],m=0,e=a.length;if(a instanceof c||e!==l&&typeof e==="number"&&(e>0&&a[0]&&a[e-1]||e===0||c.isArray(a)))for(;m<e;m++)j=i(a[m],m,d),j!=null&&(z[z.length]=j);else for(v in a)j=i(a[v],v,d),j!=null&&(z[z.length]=j);return z.concat.apply([],z)},guid:1,proxy:function(a,i){if(typeof i==="string")var d=
|
14
|
+
a[i],i=a,a=d;if(!c.isFunction(a))return l;var j=I.call(arguments,2),d=function(){return a.apply(i,j.concat(I.call(arguments)))};d.guid=a.guid=a.guid||d.guid||c.guid++;return d},access:function(a,i,d,j,v,z){var m=a.length;if(typeof i==="object"){for(var e in i)c.access(a,e,i[e],j,v,d);return a}if(d!==l){j=!z&&j&&c.isFunction(d);for(e=0;e<m;e++)v(a[e],i,j?d.call(a[e],e,v(a[e],i)):d,z);return a}return m?v(a[0],i):l},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();a=C.exec(a)||
|
15
|
+
w.exec(a)||q.exec(a)||a.indexOf("compatible")<0&&d.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(i,d){return new a.fn.init(i,d)}c.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(d,j){j&&j instanceof c&&!(j instanceof a)&&(j=a(j));return c.fn.init.call(this,d,j,i)};a.fn.init.prototype=a.fn;var i=a(r);return a},browser:{}});c.each("Boolean Number String Function Array Date RegExp Object".split(" "),
|
16
|
+
function(a,i){S["[object "+i+"]"]=i.toLowerCase()});i=c.uaMatch(i);if(i.browser)c.browser[i.browser]=!0,c.browser.version=i.version;if(c.browser.webkit)c.browser.safari=!0;n.test(" ")&&(k=/^[\s\xA0]+/,D=/[\s\xA0]+$/);f=c(r);r.addEventListener?v=function(){r.removeEventListener("DOMContentLoaded",v,!1);c.ready()}:r.attachEvent&&(v=function(){r.readyState==="complete"&&(r.detachEvent("onreadystatechange",v),c.ready())});return c}();(function(a){var c="done fail isResolved isRejected promise then always pipe".split(" "),
|
17
|
+
p=[].slice;a.extend({_Deferred:function(){var c=[],f,b,n,k={done:function(){if(!n){var b=arguments,e,o,t,u,s;f&&(s=f,f=0);e=0;for(o=b.length;e<o;e++)t=b[e],u=a.type(t),u==="array"?k.done.apply(k,t):u==="function"&&c.push(t);s&&k.resolveWith(s[0],s[1])}return this},resolveWith:function(a,e){if(!n&&!f&&!b){e=e||[];b=1;try{for(;c[0];)c.shift().apply(a,e)}finally{f=[a,e],b=0}}return this},resolve:function(){k.resolveWith(this,arguments);return this},isResolved:function(){return!(!b&&!f)},cancel:function(){n=
|
18
|
+
1;c=[];return this}};return k},Deferred:function(g){var f=a._Deferred(),b=a._Deferred(),n;a.extend(f,{then:function(a,b){f.done(a).fail(b);return this},always:function(){return f.done.apply(f,arguments).fail.apply(this,arguments)},fail:b.done,rejectWith:b.resolveWith,reject:b.resolve,isRejected:b.isResolved,pipe:function(b,c){return a.Deferred(function(e){a.each({done:[b,"resolve"],fail:[c,"reject"]},function(b,t){var u=t[0],c=t[1],h;if(a.isFunction(u))f[b](function(){if((h=u.apply(this,arguments))&&
|
19
|
+
a.isFunction(h.promise))h.promise().then(e.resolve,e.reject);else e[c](h)});else f[b](e[c])})}).promise()},promise:function(a){if(a==null){if(n)return n;n=a={}}for(var b=c.length;b--;)a[c[b]]=f[c[b]];return a}});f.done(b.cancel).fail(f.cancel);delete f.cancel;g&&g.call(f,f);return f},when:function(c){function f(a){return function(t){b[a]=arguments.length>1?p.call(arguments,0):t;--l||e.resolveWith(e,p.call(b,0))}}var b=arguments,n=0,k=b.length,l=k,e=k<=1&&c&&a.isFunction(c.promise)?c:a.Deferred();
|
20
|
+
if(k>1){for(;n<k;n++)b[n]&&a.isFunction(b[n].promise)?b[n].promise().then(f(n),e.reject):--l;l||e.resolveWith(e,b)}else e!==c&&e.resolveWith(e,k?[c]:[]);return e.promise()}})})(A);(function(a){a.support=function(){var a=r.createElement("div"),p=r.documentElement,g,f,b,n,k,l;a.setAttribute("className","t");a.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";g=a.getElementsByTagName("*");f=a.getElementsByTagName("a")[0];if(!g||!g.length||
|
21
|
+
!f)return{};b=r.createElement("select");n=b.appendChild(r.createElement("option"));g=a.getElementsByTagName("input")[0];k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:g.value==="on",optSelected:n.selected,getSetAttribute:a.className!=="t",
|
22
|
+
submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};g.checked=!0;k.noCloneChecked=g.cloneNode(!0).checked;b.disabled=!0;k.optDisabled=!n.disabled;try{delete a.test}catch(e){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function t(){k.noCloneEvent=!1;a.detachEvent("onclick",t)}),a.cloneNode(!0).fireEvent("onclick"));g=r.createElement("input");g.value=
|
23
|
+
"t";g.setAttribute("type","radio");k.radioValue=g.value==="t";g.setAttribute("checked","checked");a.appendChild(g);f=r.createDocumentFragment();f.appendChild(a.firstChild);k.checkClone=f.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";f=r.createElement("body");b={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(l in b)f.style[l]=b[l];f.appendChild(a);p.insertBefore(f,p.firstChild);k.appendChecked=g.checked;k.boxModel=
|
24
|
+
a.offsetWidth===2;if("zoom"in a.style)a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="<div style='width:4px;'></div>",k.shrinkWrapBlocks=a.offsetWidth!==2;a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";b=a.getElementsByTagName("td");g=b[0].offsetHeight===0;b[0].style.display="";b[1].style.display="none";k.reliableHiddenOffsets=g&&b[0].offsetHeight===0;a.innerHTML="";if(r.defaultView&&
|
25
|
+
r.defaultView.getComputedStyle)g=r.createElement("div"),g.style.width="0",g.style.marginRight="0",a.appendChild(g),k.reliableMarginRight=(parseInt((r.defaultView.getComputedStyle(g,null)||{marginRight:0}).marginRight,10)||0)===0;f.innerHTML="";p.removeChild(f);if(a.attachEvent)for(l in{submit:1,change:1,focusin:1})p="on"+l,g=p in a,g||(a.setAttribute(p,"return;"),g=typeof a[p]==="function"),k[l+"Bubbles"]=g;return k}();a.boxModel=a.support.boxModel})(A);(function(a){function c(b,c,k){if(k===l&&b.nodeType===
|
26
|
+
1)if(k="data-"+c.replace(f,"$1-$2").toLowerCase(),k=b.getAttribute(k),typeof k==="string"){try{k=k==="true"?!0:k==="false"?!1:k==="null"?null:!a.isNaN(k)?parseFloat(k):g.test(k)?a.parseJSON(k):k}catch(p){}a.data(b,c,k)}else k=l;return k}function p(a){for(var c in a)if(c!=="toJSON")return!1;return!0}var g=/^(?:\{.*\}|\[.*\])$/,f=/([a-z])([A-Z])/g;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
|
27
|
+
applet:!0},hasData:function(b){b=b.nodeType?a.cache[b[a.expando]]:b[a.expando];return!!b&&!p(b)},data:function(b,c,f,g){if(a.acceptData(b)){var e=a.expando,o=typeof c==="string",t=b.nodeType,u=t?a.cache:b,s=t?b[a.expando]:b[a.expando]&&a.expando;if(s&&(!g||!s||u[s][e])||!(o&&f===l)){if(!s)t?b[a.expando]=s=++a.uuid:s=a.expando;if(!u[s]&&(u[s]={},!t))u[s].toJSON=a.noop;if(typeof c==="object"||typeof c==="function")g?u[s][e]=a.extend(u[s][e],c):u[s]=a.extend(u[s],c);b=u[s];g&&(b[e]||(b[e]={}),b=b[e]);
|
28
|
+
f!==l&&(b[a.camelCase(c)]=f);if(c==="events"&&!b[c])return b[e]&&b[e].events;return o?b[a.camelCase(c)]:b}}},removeData:function(b,c,f){if(a.acceptData(b)){var g=a.expando,e=b.nodeType,o=e?a.cache:b,t=e?b[a.expando]:a.expando;if(o[t]){if(c){var u=f?o[t][g]:o[t];if(u&&(delete u[c],!p(u)))return}if(f&&(delete o[t][g],!p(o[t])))return;c=o[t][g];a.support.deleteExpando||o!=x?delete o[t]:o[t]=null;if(c){o[t]={};if(!e)o[t].toJSON=a.noop;o[t][g]=c}else e&&(a.support.deleteExpando?delete b[a.expando]:b.removeAttribute?
|
29
|
+
b.removeAttribute(a.expando):b[a.expando]=null)}}},_data:function(b,c,f){return a.data(b,c,f,!0)},acceptData:function(b){if(b.nodeName){var c=a.noData[b.nodeName.toLowerCase()];if(c)return!(c===!0||b.getAttribute("classid")!==c)}return!0}});a.fn.extend({data:function(b,f){var g=null;if(typeof b==="undefined"){if(this.length&&(g=a.data(this[0]),this[0].nodeType===1))for(var p=this[0].attributes,e,o=0,t=p.length;o<t;o++)e=p[o].name,e.indexOf("data-")===0&&(e=a.camelCase(e.substring(5)),c(this[0],e,
|
30
|
+
g[e]));return g}else if(typeof b==="object")return this.each(function(){a.data(this,b)});var u=b.split(".");u[1]=u[1]?"."+u[1]:"";return f===l?(g=this.triggerHandler("getData"+u[1]+"!",[u[0]]),g===l&&this.length&&(g=a.data(this[0],b),g=c(this[0],b,g)),g===l&&u[1]?this.data(u[0]):g):this.each(function(){var e=a(this),t=[u[0],f];e.triggerHandler("setData"+u[1]+"!",t);a.data(this,b,f);e.triggerHandler("changeData"+u[1]+"!",t)})},removeData:function(b){return this.each(function(){a.removeData(this,b)})}})})(A);
|
31
|
+
(function(a){function c(c,g,f){var b=g+"defer",n=g+"queue",k=g+"mark",r=a.data(c,b,l,!0);r&&(f==="queue"||!a.data(c,n,l,!0))&&(f==="mark"||!a.data(c,k,l,!0))&&setTimeout(function(){!a.data(c,n,l,!0)&&!a.data(c,k,l,!0)&&(a.removeData(c,b,!0),r.resolve())},0)}a.extend({_mark:function(c,g){c&&(g=(g||"fx")+"mark",a.data(c,g,(a.data(c,g,l,!0)||0)+1,!0))},_unmark:function(p,g,f){p!==!0&&(f=g,g=p,p=!1);if(g){var f=f||"fx",b=f+"mark";(p=p?0:(a.data(g,b,l,!0)||1)-1)?a.data(g,b,p,!0):(a.removeData(g,b,!0),
|
32
|
+
c(g,f,"mark"))}},queue:function(c,g,f){if(c){var g=(g||"fx")+"queue",b=a.data(c,g,l,!0);f&&(!b||a.isArray(f)?b=a.data(c,g,a.makeArray(f),!0):b.push(f));return b||[]}},dequeue:function(p,g){var g=g||"fx",f=a.queue(p,g),b=f.shift();b==="inprogress"&&(b=f.shift());b&&(g==="fx"&&f.unshift("inprogress"),b.call(p,function(){a.dequeue(p,g)}));f.length||(a.removeData(p,g+"queue",!0),c(p,g,"queue"))}});a.fn.extend({queue:function(c,g){typeof c!=="string"&&(g=c,c="fx");if(g===l)return a.queue(this[0],c);return this.each(function(){var f=
|
33
|
+
a.queue(this,c,g);c==="fx"&&f[0]!=="inprogress"&&a.dequeue(this,c)})},dequeue:function(c){return this.each(function(){a.dequeue(this,c)})},delay:function(c,g){c=a.fx?a.fx.speeds[c]||c:c;g=g||"fx";return this.queue(g,function(){var f=this;setTimeout(function(){a.dequeue(f,g)},c)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(c){function g(){--k||f.resolveWith(b,[b])}typeof c!=="string"&&(c=l);var c=c||"fx",f=a.Deferred(),b=this,n=b.length,k=1,r=c+"defer",e=c+"queue";c+="mark";
|
34
|
+
for(var o;n--;)if(o=a.data(b[n],r,l,!0)||(a.data(b[n],e,l,!0)||a.data(b[n],c,l,!0))&&a.data(b[n],r,a._Deferred(),!0))k++,o.done(g);g();return f.promise()}})})(A);(function(a){var c=/[\n\t\r]/g,p=/\s+/,g=/\r/g,f=/^(?:button|input)$/i,b=/^(?:button|input|object|select|textarea)$/i,n=/^a(?:rea)?$/i,k=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,r=/\:/,e,o;a.fn.extend({attr:function(e,b){return a.access(this,e,b,!0,a.attr)},
|
35
|
+
removeAttr:function(e){return this.each(function(){a.removeAttr(this,e)})},prop:function(e,b){return a.access(this,e,b,!0,a.prop)},removeProp:function(e){e=a.propFix[e]||e;return this.each(function(){try{this[e]=l,delete this[e]}catch(a){}})},addClass:function(e){if(a.isFunction(e))return this.each(function(i){var d=a(this);d.addClass(e.call(this,i,d.attr("class")||""))});if(e&&typeof e==="string")for(var b=(e||"").split(p),c=0,h=this.length;c<h;c++){var f=this[c];if(f.nodeType===1)if(f.className){for(var g=
|
36
|
+
" "+f.className+" ",o=f.className,d=0,i=b.length;d<i;d++)g.indexOf(" "+b[d]+" ")<0&&(o+=" "+b[d]);f.className=a.trim(o)}else f.className=e}return this},removeClass:function(e){if(a.isFunction(e))return this.each(function(i){var d=a(this);d.removeClass(e.call(this,i,d.attr("class")))});if(e&&typeof e==="string"||e===l)for(var b=(e||"").split(p),f=0,h=this.length;f<h;f++){var g=this[f];if(g.nodeType===1&&g.className)if(e){for(var o=(" "+g.className+" ").replace(c," "),q=0,d=b.length;q<d;q++)o=o.replace(" "+
|
37
|
+
b[q]+" "," ");g.className=a.trim(o)}else g.className=""}return this},toggleClass:function(e,b){var c=typeof e,h=typeof b==="boolean";if(a.isFunction(e))return this.each(function(c){var h=a(this);h.toggleClass(e.call(this,c,h.attr("class"),b),b)});return this.each(function(){if(c==="string")for(var f,g=0,o=a(this),d=b,i=e.split(p);f=i[g++];)d=h?d:!o.hasClass(f),o[d?"addClass":"removeClass"](f);else if(c==="undefined"||c==="boolean")this.className&&a._data(this,"__className__",this.className),this.className=
|
38
|
+
this.className||e===!1?"":a._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",e=0,b=this.length;e<b;e++)if((" "+this[e].className+" ").replace(c," ").indexOf(a)>-1)return!0;return!1},val:function(e){var b,c,h=this[0];if(!arguments.length){if(h){if((b=a.valHooks[h.nodeName.toLowerCase()]||a.valHooks[h.type])&&"get"in b&&(c=b.get(h,"value"))!==l)return c;return(h.value||"").replace(g,"")}return l}var f=a.isFunction(e);return this.each(function(c){var h=a(this);if(this.nodeType===
|
39
|
+
1&&(c=f?e.call(this,c,h.val()):e,c==null?c="":typeof c==="number"?c+="":a.isArray(c)&&(c=a.map(c,function(a){return a==null?"":a+""})),b=a.valHooks[this.nodeName.toLowerCase()]||a.valHooks[this.type],!b||!("set"in b)||b.set(this,c,"value")===l))this.value=c})}});a.extend({valHooks:{option:{get:function(a){var e=a.attributes.value;return!e||e.specified?a.value:a.text}},select:{get:function(e){var b,c=e.selectedIndex,h=[],f=e.options,e=e.type==="select-one";if(c<0)return null;for(var g=e?c:0,o=e?c+
|
40
|
+
1:f.length;g<o;g++)if(b=f[g],b.selected&&(a.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!a.nodeName(b.parentNode,"optgroup"))){b=a(b).val();if(e)return b;h.push(b)}if(e&&!h.length&&f.length)return a(f[c]).val();return h},set:function(e,b){var c=a.makeArray(b);a(e).find("option").each(function(){this.selected=a.inArray(a(this).val(),c)>=0});if(!c.length)e.selectedIndex=-1;return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},
|
41
|
+
attrFix:{tabindex:"tabIndex"},attr:function(b,c,f,h){var g=b.nodeType;if(!b||g===3||g===8||g===2)return l;if(h&&c in a.attrFn)return a(b)[c](f);if(!("getAttribute"in b))return a.prop(b,c,f);var n,c=(g=g!==1||!a.isXMLDoc(b))&&a.attrFix[c]||c,h=a.attrHooks[c];if(!h)if(k.test(c)&&(typeof f==="boolean"||f===l||f.toLowerCase()===c.toLowerCase()))h=o;else if(e&&(a.nodeName(b,"form")||r.test(c)))h=e;return f!==l?f===null?(a.removeAttr(b,c),l):h&&"set"in h&&g&&(n=h.set(b,f,c))!==l?n:(b.setAttribute(c,""+
|
42
|
+
f),f):h&&"get"in h&&g?h.get(b,c):(n=b.getAttribute(c),n===null?l:n)},removeAttr:function(e,b){var c;if(e.nodeType===1&&(b=a.attrFix[b]||b,a.support.getSetAttribute?e.removeAttribute(b):(a.attr(e,b,""),e.removeAttributeNode(e.getAttributeNode(b))),k.test(b)&&(c=a.propFix[b]||b)in e))e[c]=!1},attrHooks:{type:{set:function(e,b){if(f.test(e.nodeName)&&e.parentNode)a.error("type property can't be changed");else if(!a.support.radioValue&&b==="radio"&&a.nodeName(e,"input")){var c=e.value;e.setAttribute("type",
|
43
|
+
b);if(c)e.value=c;return b}}},tabIndex:{get:function(a){var e=a.getAttributeNode("tabIndex");return e&&e.specified?parseInt(e.value,10):b.test(a.nodeName)||n.test(a.nodeName)&&a.href?0:l}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,b,c){var h=e.nodeType;if(!e||
|
44
|
+
h===3||h===8||h===2)return l;var f,b=(h!==1||!a.isXMLDoc(e))&&a.propFix[b]||b,h=a.propHooks[b];return c!==l?h&&"set"in h&&(f=h.set(e,c,b))!==l?f:e[b]=c:h&&"get"in h&&(f=h.get(e,b))!==l?f:e[b]},propHooks:{}});o={get:function(e,b){return e[a.propFix[b]||b]?b.toLowerCase():l},set:function(e,b,c){var h;b===!1?a.removeAttr(e,c):(h=a.propFix[c]||c,h in e&&(e[h]=b),e.setAttribute(c,c.toLowerCase()));return c}};a.attrHooks.value={get:function(b,c){if(e&&a.nodeName(b,"button"))return e.get(b,c);return b.value},
|
45
|
+
set:function(b,c,f){if(e&&a.nodeName(b,"button"))return e.set(b,c,f);b.value=c}};if(!a.support.getSetAttribute)a.attrFix=a.propFix,e=a.attrHooks.name=a.valHooks.button={get:function(a,e){var b;return(b=a.getAttributeNode(e))&&b.nodeValue!==""?b.nodeValue:l},set:function(a,e,b){if(a=a.getAttributeNode(b))return a.nodeValue=e}},a.each(["width","height"],function(e,b){a.attrHooks[b]=a.extend(a.attrHooks[b],{set:function(a,e){if(e==="")return a.setAttribute(b,"auto"),e}})});a.support.hrefNormalized||
|
46
|
+
a.each(["href","src","width","height"],function(e,b){a.attrHooks[b]=a.extend(a.attrHooks[b],{get:function(a){a=a.getAttribute(b,2);return a===null?l:a}})});if(!a.support.style)a.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||l},set:function(a,e){return a.style.cssText=""+e}};if(!a.support.optSelected)a.propHooks.selected=a.extend(a.propHooks.selected,{get:function(){}});a.support.checkOn||a.each(["radio","checkbox"],function(){a.valHooks[this]={get:function(a){return a.getAttribute("value")===
|
47
|
+
null?"on":a.value}}});a.each(["radio","checkbox"],function(){a.valHooks[this]=a.extend(a.valHooks[this],{set:function(e,b){if(a.isArray(b))return e.checked=a.inArray(a(e).val(),b)>=0}})})})(A);(function(a){function c(){return!1}function p(){return!0}function g(d,i,j){var e=a.extend({},j[0]);e.type=d;e.originalEvent={};e.liveFired=l;a.event.handle.call(i,e);e.isDefaultPrevented()&&j[0].preventDefault()}function f(d){var i,j,e,b,m,c,h,f,g,o,q,k=[];b=[];m=a._data(this,"events");if(!(d.liveFired===this||
|
48
|
+
!m||!m.live||d.target.disabled||d.button&&d.type==="click")){d.namespace&&(q=RegExp("(^|\\.)"+d.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)"));d.liveFired=this;var t=m.live.slice(0);for(h=0;h<t.length;h++)m=t[h],m.origType.replace(n,"")===d.type?b.push(m.selector):t.splice(h--,1);b=a(d.target).closest(b,d.currentTarget);f=0;for(g=b.length;f<g;f++){o=b[f];for(h=0;h<t.length;h++)if(m=t[h],o.selector===m.selector&&(!q||q.test(m.namespace))&&!o.elem.disabled){c=o.elem;e=null;if(m.preType==="mouseenter"||
|
49
|
+
m.preType==="mouseleave")d.type=m.preType,(e=a(d.relatedTarget).closest(m.selector)[0])&&a.contains(c,e)&&(e=c);(!e||e!==c)&&k.push({elem:c,handleObj:m,level:o.level})}}f=0;for(g=k.length;f<g;f++){b=k[f];if(j&&b.level>j)break;d.currentTarget=b.elem;d.data=b.handleObj.data;d.handleObj=b.handleObj;q=b.handleObj.origHandler.apply(b.elem,arguments);if(q===!1||d.isPropagationStopped())if(j=b.level,q===!1&&(i=!1),d.isImmediatePropagationStopped())break}return i}}function b(a,i){return(a&&a!=="*"?a+".":
|
50
|
+
"")+i.replace(D,"`").replace(e,"&")}var n=/\.(.*)$/,k=/^(?:textarea|input|select)$/i,D=/\./g,e=/ /g,o=/[^\w\s.|`]/g,t=function(a){return a.replace(o,"\\$&")};a.event={add:function(d,i,j,e){if(!(d.nodeType===3||d.nodeType===8)){if(j===!1)j=c;else if(!j)return;var b,m;if(j.handler)b=j,j=b.handler;if(!j.guid)j.guid=a.guid++;if(m=a._data(d)){var y=m.events,h=m.handle;if(!y)m.events=y={};if(!h)m.handle=h=function(i){return typeof a!=="undefined"&&(!i||a.event.triggered!==i.type)?a.event.handle.apply(h.elem,
|
51
|
+
arguments):l};h.elem=d;for(var i=i.split(" "),f,g=0,o;f=i[g++];){m=b?a.extend({},b):{handler:j,data:e};f.indexOf(".")>-1?(o=f.split("."),f=o.shift(),m.namespace=o.slice(0).sort().join(".")):(o=[],m.namespace="");m.type=f;if(!m.guid)m.guid=j.guid;var q=y[f],k=a.event.special[f]||{};if(!q&&(q=y[f]=[],!k.setup||k.setup.call(d,e,o,h)===!1))d.addEventListener?d.addEventListener(f,h,!1):d.attachEvent&&d.attachEvent("on"+f,h);if(k.add&&(k.add.call(d,m),!m.handler.guid))m.handler.guid=j.guid;q.push(m);a.event.global[f]=
|
52
|
+
!0}d=null}}},global:{},remove:function(d,i,j,e){if(!(d.nodeType===3||d.nodeType===8)){j===!1&&(j=c);var b,m,y=0,h,f,g,o,q,k,n=a.hasData(d)&&a._data(d),u=n&&n.events;if(n&&u){if(i&&i.type)j=i.handler,i=i.type;if(!i||typeof i==="string"&&i.charAt(0)===".")for(b in i=i||"",u)a.event.remove(d,b+i);else{for(i=i.split(" ");b=i[y++];)if(o=b,h=b.indexOf(".")<0,f=[],h||(f=b.split("."),b=f.shift(),g=RegExp("(^|\\.)"+a.map(f.slice(0).sort(),t).join("\\.(?:.*\\.)?")+"(\\.|$)")),q=u[b])if(j){o=a.event.special[b]||
|
53
|
+
{};for(m=e||0;m<q.length;m++)if(k=q[m],j.guid===k.guid){if(h||g.test(k.namespace))e==null&&q.splice(m--,1),o.remove&&o.remove.call(d,k);if(e!=null)break}if(q.length===0||e!=null&&q.length===1)(!o.teardown||o.teardown.call(d,f)===!1)&&a.removeEvent(d,b,n.handle),delete u[b]}else for(m=0;m<q.length;m++)if(k=q[m],h||g.test(k.namespace))a.event.remove(d,o,k.handler,m),q.splice(m--,1);if(a.isEmptyObject(u)){if(i=n.handle)i.elem=null;delete n.events;delete n.handle;a.isEmptyObject(n)&&a.removeData(d,l,
|
54
|
+
!0)}}}}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(d,i,j,e){var b=d.type||d,m=[],c;b.indexOf("!")>=0&&(b=b.slice(0,-1),c=!0);b.indexOf(".")>=0&&(m=b.split("."),b=m.shift(),m.sort());if(j&&!a.event.customEvent[b]||a.event.global[b]){d=typeof d==="object"?d[a.expando]?d:new a.Event(b,d):new a.Event(b);d.type=b;d.exclusive=c;d.namespace=m.join(".");d.namespace_re=RegExp("(^|\\.)"+m.join("\\.(?:.*\\.)?")+"(\\.|$)");if(e||!j)d.preventDefault(),d.stopPropagation();if(j){if(!(j.nodeType===
|
55
|
+
3||j.nodeType===8)){d.result=l;d.target=j;i=i?a.makeArray(i):[];i.unshift(d);m=j;e=b.indexOf(":")<0?"on"+b:"";do{c=a._data(m,"handle");d.currentTarget=m;c&&c.apply(m,i);if(e&&a.acceptData(m)&&m[e]&&m[e].apply(m,i)===!1)d.result=!1,d.preventDefault();m=m.parentNode||m.ownerDocument||m===d.target.ownerDocument&&x}while(m&&!d.isPropagationStopped());if(!d.isDefaultPrevented()){var h,m=a.event.special[b]||{};if((!m._default||m._default.call(j.ownerDocument,d)===!1)&&!(b==="click"&&a.nodeName(j,"a"))&&
|
56
|
+
a.acceptData(j)){try{if(e&&j[b])(h=j[e])&&(j[e]=null),a.event.triggered=b,j[b]()}catch(f){}h&&(j[e]=h);a.event.triggered=l}}return d.result}}else a.each(a.cache,function(){var j=this[a.expando];j&&j.events&&j.events[b]&&a.event.trigger(d,i,j.handle.elem)})}},handle:function(d){var d=a.event.fix(d||x.event),i=((a._data(this,"events")||{})[d.type]||[]).slice(0),j=!d.exclusive&&!d.namespace,e=Array.prototype.slice.call(arguments,0);e[0]=d;d.currentTarget=this;for(var b=0,m=i.length;b<m;b++){var c=i[b];
|
57
|
+
if(j||d.namespace_re.test(c.namespace)){d.handler=c.handler;d.data=c.data;d.handleObj=c;c=c.handler.apply(this,e);if(c!==l)d.result=c,c===!1&&(d.preventDefault(),d.stopPropagation());if(d.isImmediatePropagationStopped())break}}return d.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
|
58
|
+
fix:function(d){if(d[a.expando])return d;for(var i=d,d=a.Event(i),j=this.props.length,e;j;)e=this.props[--j],d[e]=i[e];if(!d.target)d.target=d.srcElement||r;if(d.target.nodeType===3)d.target=d.target.parentNode;if(!d.relatedTarget&&d.fromElement)d.relatedTarget=d.fromElement===d.target?d.toElement:d.fromElement;if(d.pageX==null&&d.clientX!=null)j=d.target.ownerDocument||r,i=j.documentElement,j=j.body,d.pageX=d.clientX+(i&&i.scrollLeft||j&&j.scrollLeft||0)-(i&&i.clientLeft||j&&j.clientLeft||0),d.pageY=
|
59
|
+
d.clientY+(i&&i.scrollTop||j&&j.scrollTop||0)-(i&&i.clientTop||j&&j.clientTop||0);if(d.which==null&&(d.charCode!=null||d.keyCode!=null))d.which=d.charCode!=null?d.charCode:d.keyCode;if(!d.metaKey&&d.ctrlKey)d.metaKey=d.ctrlKey;if(!d.which&&d.button!==l)d.which=d.button&1?1:d.button&2?3:d.button&4?2:0;return d},guid:1E8,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(d){a.event.add(this,b(d.origType,d.selector),a.extend({},d,{handler:f,guid:d.handler.guid}))},remove:function(d){a.event.remove(this,
|
60
|
+
b(d.origType,d.selector),d)}},beforeunload:{setup:function(d,i,j){if(a.isWindow(this))this.onbeforeunload=j},teardown:function(a,i){if(this.onbeforeunload===i)this.onbeforeunload=null}}}};a.removeEvent=r.removeEventListener?function(a,i,j){a.removeEventListener&&a.removeEventListener(i,j,!1)}:function(a,i,j){a.detachEvent&&a.detachEvent("on"+i,j)};a.Event=function(d,i){if(!this.preventDefault)return new a.Event(d,i);d&&d.type?(this.originalEvent=d,this.type=d.type,this.isDefaultPrevented=d.defaultPrevented||
|
61
|
+
d.returnValue===!1||d.getPreventDefault&&d.getPreventDefault()?p:c):this.type=d;i&&a.extend(this,i);this.timeStamp=a.now();this[a.expando]=!0};a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=p;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=p;var a=this.originalEvent;if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
|
62
|
+
p;this.stopPropagation()},isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c};var u=function(d){var i=d.relatedTarget;d.type=d.data;try{if(!i||i===r||i.parentNode){for(;i&&i!==this;)i=i.parentNode;i!==this&&a.event.handle.apply(this,arguments)}}catch(j){}},s=function(d){d.type=d.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(d,i){a.event.special[d]={setup:function(j){a.event.add(this,i,j&&j.selector?s:u,d)},teardown:function(j){a.event.remove(this,
|
63
|
+
i,j&&j.selector?s:u)}}});if(!a.support.submitBubbles)a.event.special.submit={setup:function(){if(a.nodeName(this,"form"))return!1;else a.event.add(this,"click.specialSubmit",function(d){var i=d.target,j=i.type;(j==="submit"||j==="image")&&a(i).closest("form").length&&g("submit",this,arguments)}),a.event.add(this,"keypress.specialSubmit",function(d){var i=d.target,j=i.type;(j==="text"||j==="password")&&a(i).closest("form").length&&d.keyCode===13&&g("submit",this,arguments)})},teardown:function(){a.event.remove(this,
|
64
|
+
".specialSubmit")}};if(!a.support.changeBubbles){var h,C=function(d){var i=d.type,j=d.value;if(i==="radio"||i==="checkbox")j=d.checked;else if(i==="select-multiple")j=d.selectedIndex>-1?a.map(d.options,function(a){return a.selected}).join("-"):"";else if(a.nodeName(d,"select"))j=d.selectedIndex;return j},w=function(d,i){var j=d.target,e,b;if(k.test(j.nodeName)&&!j.readOnly&&(e=a._data(j,"_change_data"),b=C(j),(d.type!=="focusout"||j.type!=="radio")&&a._data(j,"_change_data",b),!(e===l||b===e)))if(e!=
|
65
|
+
null||b)d.type="change",d.liveFired=l,a.event.trigger(d,i,j)};a.event.special.change={filters:{focusout:w,beforedeactivate:w,click:function(d){var i=d.target,j=a.nodeName(i,"input")?i.type:"";(j==="radio"||j==="checkbox"||a.nodeName(i,"select"))&&w.call(this,d)},keydown:function(d){var i=d.target,j=a.nodeName(i,"input")?i.type:"";(d.keyCode===13&&!a.nodeName(i,"textarea")||d.keyCode===32&&(j==="checkbox"||j==="radio")||j==="select-multiple")&&w.call(this,d)},beforeactivate:function(d){d=d.target;
|
66
|
+
a._data(d,"_change_data",C(d))}},setup:function(){if(this.type==="file")return!1;for(var d in h)a.event.add(this,d+".specialChange",h[d]);return k.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return k.test(this.nodeName)}};h=a.event.special.change.filters;h.focus=h.beforeactivate}a.support.focusinBubbles||a.each({focus:"focusin",blur:"focusout"},function(d,i){function j(j){var d=a.event.fix(j);d.type=i;d.originalEvent={};a.event.trigger(d,null,d.target);d.isDefaultPrevented()&&
|
67
|
+
j.preventDefault()}var e=0;a.event.special[i]={setup:function(){e++===0&&r.addEventListener(d,j,!0)},teardown:function(){--e===0&&r.removeEventListener(d,j,!0)}}});a.each(["bind","one"],function(d,i){a.fn[i]=function(j,d,e){var b;if(typeof j==="object"){for(var c in j)this[i](c,d,j[c],e);return this}if(arguments.length===2||d===!1)e=d,d=l;i==="one"?(b=function(i){a(this).unbind(i,b);return e.apply(this,arguments)},b.guid=e.guid||a.guid++):b=e;if(j==="unload"&&i!=="one")this.one(j,d,e);else{c=0;for(var h=
|
68
|
+
this.length;c<h;c++)a.event.add(this[c],j,b,d)}return this}});a.fn.extend({unbind:function(d,i){if(typeof d==="object"&&!d.preventDefault)for(var j in d)this.unbind(j,d[j]);else{j=0;for(var e=this.length;j<e;j++)a.event.remove(this[j],d,i)}return this},delegate:function(a,i,j,e){return this.live(i,j,e,a)},undelegate:function(a,i,j){return arguments.length===0?this.unbind("live"):this.die(i,null,j,a)},trigger:function(d,i){return this.each(function(){a.event.trigger(d,i,this)})},triggerHandler:function(d,
|
69
|
+
i){if(this[0])return a.event.trigger(d,i,this[0],!0)},toggle:function(d){var i=arguments,j=d.guid||a.guid++,e=0,b=function(j){var b=(a.data(this,"lastToggle"+d.guid)||0)%e;a.data(this,"lastToggle"+d.guid,b+1);j.preventDefault();return i[b].apply(this,arguments)||!1};for(b.guid=j;e<i.length;)i[e++].guid=j;return this.click(b)},hover:function(a,i){return this.mouseenter(a).mouseleave(i||a)}});var q={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],
|
70
|
+
function(d,i){a.fn[i]=function(j,d,e,m){var h=0,f,g,o=m||this.selector,k=m?this:a(this.context);if(typeof j==="object"&&!j.preventDefault){for(f in j)k[i](f,d,j[f],o);return this}if(i==="die"&&!j&&m&&m.charAt(0)===".")return k.unbind(m),this;if(d===!1||a.isFunction(d))e=d||c,d=l;for(j=(j||"").split(" ");(m=j[h++])!=null;)if(f=n.exec(m),g="",f&&(g=f[0],m=m.replace(n,"")),m==="hover")j.push("mouseenter"+g,"mouseleave"+g);else if(f=m,q[m]?(j.push(q[m]+g),m+=g):m=(q[m]||m)+g,i==="live"){g=0;for(var t=
|
71
|
+
k.length;g<t;g++)a.event.add(k[g],"live."+b(m,o),{data:d,selector:o,handler:e,origType:m,origHandler:e,preType:f})}else k.unbind("live."+b(m,o),e);return this}});a.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(d,i){a.fn[i]=function(a,d){d==null&&(d=a,a=null);return arguments.length>0?this.bind(i,a,d):this.trigger(i)};a.attrFn&&(a.attrFn[i]=
|
72
|
+
!0)})})(A);(function(){function a(a,d,e,b,c,h){for(var c=0,f=b.length;c<f;c++){var g=b[c];if(g){for(var o=!1,g=g[a];g;){if(g.sizcache===e){o=b[g.sizset];break}if(g.nodeType===1&&!h)g.sizcache=e,g.sizset=c;if(g.nodeName.toLowerCase()===d){o=g;break}g=g[a]}b[c]=o}}}function c(a,d,b,c,m,h){for(var m=0,f=c.length;m<f;m++){var g=c[m];if(g){for(var o=!1,g=g[a];g;){if(g.sizcache===b){o=c[g.sizset];break}if(g.nodeType===1){if(!h)g.sizcache=b,g.sizset=m;if(typeof d!=="string"){if(g===d){o=!0;break}}else if(e.filter(d,
|
73
|
+
[g]).length>0){o=g;break}}g=g[a]}c[m]=o}}}var p=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,g=0,f=Object.prototype.toString,b=!1,n=!0,k=/\\/g,D=/\W/;[0,0].sort(function(){n=!1;return 0});var e=function(a,j,b,c){var b=b||[],m=j=j||r;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!a||typeof a!=="string")return b;var y,g,q,k,n,u=!0,C=e.isXML(j),l=[],s=a;do if(p.exec(""),y=p.exec(s))if(s=y[3],l.push(y[1]),y[2]){k=
|
74
|
+
y[3];break}while(y);if(l.length>1&&t.exec(a))if(l.length===2&&o.relative[l[0]])g=d(l[0]+l[1],j);else for(g=o.relative[l[0]]?[j]:e(l.shift(),j);l.length;)a=l.shift(),o.relative[a]&&(a+=l.shift()),g=d(a,g);else if(!c&&l.length>1&&j.nodeType===9&&!C&&o.match.ID.test(l[0])&&!o.match.ID.test(l[l.length-1])&&(y=e.find(l.shift(),j,C),j=y.expr?e.filter(y.expr,y.set)[0]:y.set[0]),j){y=c?{expr:l.pop(),set:h(c)}:e.find(l.pop(),l.length===1&&(l[0]==="~"||l[0]==="+")&&j.parentNode?j.parentNode:j,C);g=y.expr?e.filter(y.expr,
|
75
|
+
y.set):y.set;for(l.length>0?q=h(g):u=!1;l.length;)y=n=l.pop(),o.relative[n]?y=l.pop():n="",y==null&&(y=j),o.relative[n](q,y,C)}else q=[];q||(q=g);q||e.error(n||a);if(f.call(q)==="[object Array]")if(u)if(j&&j.nodeType===1)for(a=0;q[a]!=null;a++)q[a]&&(q[a]===!0||q[a].nodeType===1&&e.contains(j,q[a]))&&b.push(g[a]);else for(a=0;q[a]!=null;a++)q[a]&&q[a].nodeType===1&&b.push(g[a]);else b.push.apply(b,q);else h(q,b);k&&(e(k,m,b,c),e.uniqueSort(b));return b};e.uniqueSort=function(a){if(w&&(b=n,a.sort(w),
|
76
|
+
b))for(var d=1;d<a.length;d++)a[d]===a[d-1]&&a.splice(d--,1);return a};e.matches=function(a,d){return e(a,null,null,d)};e.matchesSelector=function(a,d){return e(d,null,null,[a]).length>0};e.find=function(a,d,e){var b;if(!a)return[];for(var c=0,h=o.order.length;c<h;c++){var f,g=o.order[c];if(f=o.leftMatch[g].exec(a)){var q=f[1];f.splice(1,1);if(q.substr(q.length-1)!=="\\"&&(f[1]=(f[1]||"").replace(k,""),b=o.find[g](f,d,e),b!=null)){a=a.replace(o.match[g],"");break}}}b||(b=typeof d.getElementsByTagName!==
|
77
|
+
"undefined"?d.getElementsByTagName("*"):[]);return{set:b,expr:a}};e.filter=function(a,d,b,c){for(var m,h,f=a,g=[],q=d,k=d&&d[0]&&e.isXML(d[0]);a&&d.length;){for(var n in o.filter)if((m=o.leftMatch[n].exec(a))!=null&&m[2]){var t,u,C=o.filter[n];u=m[1];h=!1;m.splice(1,1);if(u.substr(u.length-1)!=="\\"){q===g&&(g=[]);if(o.preFilter[n])if(m=o.preFilter[n](m,q,b,g,c,k)){if(m===!0)continue}else h=t=!0;if(m)for(var p=0;(u=q[p])!=null;p++)if(u){t=C(u,m,p,q);var s=c^!!t;b&&t!=null?s?h=!0:q[p]=!1:s&&(g.push(u),
|
78
|
+
h=!0)}if(t!==l){b||(q=g);a=a.replace(o.match[n],"");if(!h)return[];break}}}if(a===f)if(h==null)e.error(a);else break;f=a}return q};e.error=function(a){throw"Syntax error, unrecognized expression: "+a;};var o=e.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
|
79
|
+
TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,d){var b=
|
80
|
+
typeof d==="string",c=b&&!D.test(d),b=b&&!c;c&&(d=d.toLowerCase());for(var c=0,m=a.length,h;c<m;c++)if(h=a[c]){for(;(h=h.previousSibling)&&h.nodeType!==1;);a[c]=b||h&&h.nodeName.toLowerCase()===d?h||!1:h===d}b&&e.filter(d,a,!0)},">":function(a,d){var b,c=typeof d==="string",m=0,h=a.length;if(c&&!D.test(d))for(d=d.toLowerCase();m<h;m++){if(b=a[m])b=b.parentNode,a[m]=b.nodeName.toLowerCase()===d?b:!1}else{for(;m<h;m++)(b=a[m])&&(a[m]=c?b.parentNode:b.parentNode===d);c&&e.filter(d,a,!0)}},"":function(i,
|
81
|
+
d,b){var e,m=g++,h=c;typeof d==="string"&&!D.test(d)&&(e=d=d.toLowerCase(),h=a);h("parentNode",d,m,i,e,b)},"~":function(i,d,b){var e,m=g++,h=c;typeof d==="string"&&!D.test(d)&&(e=d=d.toLowerCase(),h=a);h("previousSibling",d,m,i,e,b)}},find:{ID:function(a,d,b){if(typeof d.getElementById!=="undefined"&&!b)return(a=d.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,d){if(typeof d.getElementsByName!=="undefined"){for(var b=[],e=d.getElementsByName(a[1]),c=0,h=e.length;c<h;c++)e[c].getAttribute("name")===
|
82
|
+
a[1]&&b.push(e[c]);return b.length===0?null:b}},TAG:function(a,d){if(typeof d.getElementsByTagName!=="undefined")return d.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,d,b,e,c,h){a=" "+a[1].replace(k,"")+" ";if(h)return a;for(var h=0,f;(f=d[h])!=null;h++)f&&(c^(f.className&&(" "+f.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?b||e.push(f):b&&(d[h]=!1));return!1},ID:function(a){return a[1].replace(k,"")},TAG:function(a){return a[1].replace(k,"").toLowerCase()},CHILD:function(a){if(a[1]===
|
83
|
+
"nth"){a[2]||e.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var d=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=d[1]+(d[2]||1)-0;a[3]=d[3]-0}else a[2]&&e.error(a[0]);a[0]=g++;return a},ATTR:function(a,d,b,e,c,h){d=a[1]=a[1].replace(k,"");!h&&o.attrMap[d]&&(a[1]=o.attrMap[d]);a[4]=(a[4]||a[5]||"").replace(k,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,d,b,c,h){if(a[1]==="not")if((p.exec(a[3])||"").length>1||
|
84
|
+
/^\w/.test(a[3]))a[3]=e(a[3],null,null,d);else return a=e.filter(a[3],d,b,1^h),b||c.push.apply(c,a),!1;else if(o.match.POS.test(a[0])||o.match.CHILD.test(a[0]))return!0;return a},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},
|
85
|
+
has:function(a,d,b){return!!e(b[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var d=a.getAttribute("type"),b=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===b&&(d===b||d===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()===
|
86
|
+
"input"&&"password"===a.type},submit:function(a){var d=a.nodeName.toLowerCase();return(d==="input"||d==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var d=a.nodeName.toLowerCase();return(d==="input"||d==="button")&&"reset"===a.type},button:function(a){var d=a.nodeName.toLowerCase();return d==="input"&&"button"===a.type||d==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===
|
87
|
+
a.ownerDocument.activeElement}},setFilters:{first:function(a,d){return d===0},last:function(a,d,b,e){return d===e.length-1},even:function(a,d){return d%2===0},odd:function(a,d){return d%2===1},lt:function(a,d,b){return d<b[3]-0},gt:function(a,d,b){return d>b[3]-0},nth:function(a,d,b){return b[3]-0===d},eq:function(a,d,b){return b[3]-0===d}},filter:{PSEUDO:function(a,d,b,c){var h=d[1],f=o.filters[h];if(f)return f(a,b,d,c);else if(h==="contains")return(a.textContent||a.innerText||e.getText([a])||"").indexOf(d[3])>=
|
88
|
+
0;else if(h==="not"){d=d[3];b=0;for(c=d.length;b<c;b++)if(d[b]===a)return!1;return!0}else e.error(h)},CHILD:function(a,d){var b=d[1],e=a;switch(b){case "only":case "first":for(;e=e.previousSibling;)if(e.nodeType===1)return!1;if(b==="first")return!0;e=a;case "last":for(;e=e.nextSibling;)if(e.nodeType===1)return!1;return!0;case "nth":var b=d[2],c=d[3];if(b===1&&c===0)return!0;var h=d[0],f=a.parentNode;if(f&&(f.sizcache!==h||!a.nodeIndex)){for(var g=0,e=f.firstChild;e;e=e.nextSibling)if(e.nodeType===
|
89
|
+
1)e.nodeIndex=++g;f.sizcache=h}e=a.nodeIndex-c;return b===0?e===0:e%b===0&&e/b>=0}},ID:function(a,d){return a.nodeType===1&&a.getAttribute("id")===d},TAG:function(a,d){return d==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===d},CLASS:function(a,d){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(d)>-1},ATTR:function(a,d){var b=d[1],b=o.attrHandle[b]?o.attrHandle[b](a):a[b]!=null?a[b]:a.getAttribute(b),e=b+"",c=d[2],h=d[4];return b==null?c==="!=":c==="="?e===h:c==="*="?e.indexOf(h)>=
|
90
|
+
0:c==="~="?(" "+e+" ").indexOf(h)>=0:!h?e&&b!==!1:c==="!="?e!==h:c==="^="?e.indexOf(h)===0:c==="$="?e.substr(e.length-h.length)===h:c==="|="?e===h||e.substr(0,h.length+1)===h+"-":!1},POS:function(a,d,b,e){var c=o.setFilters[d[2]];if(c)return c(a,b,d,e)}}},t=o.match.POS,u=function(a,d){return"\\"+(d-0+1)},s;for(s in o.match)o.match[s]=RegExp(o.match[s].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[s]=RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[s].source.replace(/\\(\d+)/g,u));var h=function(a,
|
91
|
+
d){a=Array.prototype.slice.call(a,0);if(d)return d.push.apply(d,a),d;return a};try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(C){h=function(a,d){var b=0,e=d||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(e,a);else if(typeof a.length==="number")for(var c=a.length;b<c;b++)e.push(a[b]);else for(;a[b];b++)e.push(a[b]);return e}}var w,q;r.documentElement.compareDocumentPosition?w=function(a,d){if(a===d)return b=!0,0;if(!a.compareDocumentPosition||!d.compareDocumentPosition)return a.compareDocumentPosition?
|
92
|
+
-1:1;return a.compareDocumentPosition(d)&4?-1:1}:(w=function(a,d){if(a===d)return b=!0,0;else if(a.sourceIndex&&d.sourceIndex)return a.sourceIndex-d.sourceIndex;var e,c,h=[],f=[];e=a.parentNode;c=d.parentNode;var g=e;if(e===c)return q(a,d);else if(e){if(!c)return 1}else return-1;for(;g;)h.unshift(g),g=g.parentNode;for(g=c;g;)f.unshift(g),g=g.parentNode;e=h.length;c=f.length;for(g=0;g<e&&g<c;g++)if(h[g]!==f[g])return q(h[g],f[g]);return g===e?q(a,f[g],-1):q(h[g],d,1)},q=function(a,d,b){if(a===d)return b;
|
93
|
+
for(a=a.nextSibling;a;){if(a===d)return-1;a=a.nextSibling}return 1});e.getText=function(a){for(var d="",b,c=0;a[c];c++)b=a[c],b.nodeType===3||b.nodeType===4?d+=b.nodeValue:b.nodeType!==8&&(d+=e.getText(b.childNodes));return d};(function(){var a=r.createElement("div"),d="script"+(new Date).getTime(),b=r.documentElement;a.innerHTML="<a name='"+d+"'/>";b.insertBefore(a,b.firstChild);if(r.getElementById(d))o.find.ID=function(a,d,b){if(typeof d.getElementById!=="undefined"&&!b)return(d=d.getElementById(a[1]))?
|
94
|
+
d.id===a[1]||typeof d.getAttributeNode!=="undefined"&&d.getAttributeNode("id").nodeValue===a[1]?[d]:l:[]},o.filter.ID=function(a,d){var b=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&b&&b.nodeValue===d};b.removeChild(a);b=a=null})();(function(){var a=r.createElement("div");a.appendChild(r.createComment(""));if(a.getElementsByTagName("*").length>0)o.find.TAG=function(a,d){var b=d.getElementsByTagName(a[1]);if(a[1]==="*"){for(var e=[],i=0;b[i];i++)b[i].nodeType===
|
95
|
+
1&&e.push(b[i]);b=e}return b};a.innerHTML="<a href='#'></a>";if(a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#")o.attrHandle.href=function(a){return a.getAttribute("href",2)};a=null})();r.querySelectorAll&&function(){var a=e,d=r.createElement("div");d.innerHTML="<p class='TEST'></p>";if(!(d.querySelectorAll&&d.querySelectorAll(".TEST").length===0)){e=function(d,b,c,j){b=b||r;if(!j&&!e.isXML(b)){var f=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(d);
|
96
|
+
if(f&&(b.nodeType===1||b.nodeType===9))if(f[1])return h(b.getElementsByTagName(d),c);else if(f[2]&&o.find.CLASS&&b.getElementsByClassName)return h(b.getElementsByClassName(f[2]),c);if(b.nodeType===9){if(d==="body"&&b.body)return h([b.body],c);else if(f&&f[3]){var g=b.getElementById(f[3]);if(g&&g.parentNode){if(g.id===f[3])return h([g],c)}else return h([],c)}try{return h(b.querySelectorAll(d),c)}catch(q){}}else if(b.nodeType===1&&b.nodeName.toLowerCase()!=="object"){var f=b,k=(g=b.getAttribute("id"))||
|
97
|
+
"__sizzle__",v=b.parentNode,n=/^\s*[+~]/.test(d);g?k=k.replace(/'/g,"\\$&"):b.setAttribute("id",k);if(n&&v)b=b.parentNode;try{if(!n||v)return h(b.querySelectorAll("[id='"+k+"'] "+d),c)}catch(t){}finally{g||f.removeAttribute("id")}}}return a(d,b,c,j)};for(var b in a)e[b]=a[b];d=null}}();(function(){var a=r.documentElement,d=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(d){var b=!d.call(r.createElement("div"),"div"),c=!1;try{d.call(r.documentElement,"[test!='']:sizzle")}catch(h){c=
|
98
|
+
!0}e.matchesSelector=function(a,i){i=i.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!e.isXML(a))try{if(c||!o.match.PSEUDO.test(i)&&!/!=/.test(i)){var h=d.call(a,i);if(h||!b||a.document&&a.document.nodeType!==11)return h}}catch(f){}return e(i,null,null,[a]).length>0}}})();(function(){var a=r.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==
|
99
|
+
1))o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,d,b){if(typeof d.getElementsByClassName!=="undefined"&&!b)return d.getElementsByClassName(a[1])},a=null})();e.contains=r.documentElement.contains?function(a,d){return a!==d&&(a.contains?a.contains(d):!0)}:r.documentElement.compareDocumentPosition?function(a,d){return!!(a.compareDocumentPosition(d)&16)}:function(){return!1};e.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var d=function(a,d){for(var b,
|
100
|
+
c=[],h="",f=d.nodeType?[d]:d;b=o.match.PSEUDO.exec(a);)h+=b[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;b=0;for(var g=f.length;b<g;b++)e(a,f[b],c);return e.filter(h,c)};A.find=e;A.expr=e.selectors;A.expr[":"]=A.expr.filters;A.unique=e.uniqueSort;A.text=e.getText;A.isXMLDoc=e.isXML;A.contains=e.contains})();(function(a){function c(e,c,f){c=c||0;if(a.isFunction(c))return a.grep(e,function(a,b){return!!c.call(a,b,a)===f});else if(c.nodeType)return a.grep(e,function(a){return a===c===f});
|
101
|
+
else if(typeof c==="string"){var g=a.grep(e,function(a){return a.nodeType===1});if(b.test(c))return a.filter(c,g,!f);else c=a.filter(c,g)}return a.grep(e,function(b){return a.inArray(b,c)>=0===f})}var p=/Until$/,g=/^(?:parents|prevUntil|prevAll)/,f=/,/,b=/^.[^:#\[\.,]*$/,n=Array.prototype.slice,k=a.expr.match.POS,r={children:!0,contents:!0,next:!0,prev:!0};a.fn.extend({find:function(b){var c=this,f,g;if(typeof b!=="string")return a(b).filter(function(){f=0;for(g=c.length;f<g;f++)if(a.contains(c[f],
|
102
|
+
this))return!0});var k=this.pushStack("","find",b),h,n,l;f=0;for(g=this.length;f<g;f++)if(h=k.length,a.find(b,this[f],k),f>0)for(n=h;n<k.length;n++)for(l=0;l<h;l++)if(k[l]===k[n]){k.splice(n--,1);break}return k},has:function(b){var c=a(b);return this.filter(function(){for(var b=0,e=c.length;b<e;b++)if(a.contains(this,c[b]))return!0})},not:function(a){return this.pushStack(c(this,a,!1),"not",a)},filter:function(a){return this.pushStack(c(this,a,!0),"filter",a)},is:function(b){return!!b&&(typeof b===
|
103
|
+
"string"?a.filter(b,this).length>0:this.filter(b).length>0)},closest:function(b,c){var f=[],g,n,h=this[0];if(a.isArray(b)){var l,p={},q=1;if(h&&b.length){g=0;for(n=b.length;g<n;g++)l=b[g],p[l]||(p[l]=k.test(l)?a(l,c||this.context):l);for(;h&&h.ownerDocument&&h!==c;){for(l in p)g=p[l],(g.jquery?g.index(h)>-1:a(h).is(g))&&f.push({selector:l,elem:h,level:q});h=h.parentNode;q++}}return f}l=k.test(b)||typeof b!=="string"?a(b,c||this.context):0;g=0;for(n=this.length;g<n;g++)for(h=this[g];h;)if(l?l.index(h)>
|
104
|
+
-1:a.find.matchesSelector(h,b)){f.push(h);break}else if(h=h.parentNode,!h||!h.ownerDocument||h===c||h.nodeType===11)break;f=f.length>1?a.unique(f):f;return this.pushStack(f,"closest",b)},index:function(b){if(!b||typeof b==="string")return a.inArray(this[0],b?a(b):this.parent().children());return a.inArray(b.jquery?b[0]:b,this)},add:function(b,c){var f=typeof b==="string"?a(b,c):a.makeArray(b&&b.nodeType?[b]:b),g=a.merge(this.get(),f);return this.pushStack(!f[0]||!f[0].parentNode||f[0].parentNode.nodeType===
|
105
|
+
11||!g[0]||!g[0].parentNode||g[0].parentNode.nodeType===11?g:a.unique(g))},andSelf:function(){return this.add(this.prevObject)}});a.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(b){return a.dir(b,"parentNode")},parentsUntil:function(b,c,f){return a.dir(b,"parentNode",f)},next:function(b){return a.nth(b,2,"nextSibling")},prev:function(b){return a.nth(b,2,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,
|
106
|
+
"previousSibling")},nextUntil:function(b,c,f){return a.dir(b,"nextSibling",f)},prevUntil:function(b,c,f){return a.dir(b,"previousSibling",f)},siblings:function(b){return a.sibling(b.parentNode.firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return a.nodeName(b,"iframe")?b.contentDocument||b.contentWindow.document:a.makeArray(b.childNodes)}},function(b,c){a.fn[b]=function(k,l){var s=a.map(this,c,k),h=n.call(arguments);p.test(b)||(l=k);l&&typeof l==="string"&&
|
107
|
+
(s=a.filter(l,s));s=this.length>1&&!r[b]?a.unique(s):s;if((this.length>1||f.test(l))&&g.test(b))s=s.reverse();return this.pushStack(s,b,h.join(","))}});a.extend({filter:function(b,c,f){f&&(b=":not("+b+")");return c.length===1?a.find.matchesSelector(c[0],b)?[c[0]]:[]:a.find.matches(b,c)},dir:function(b,c,f){for(var g=[],b=b[c];b&&b.nodeType!==9&&(f===l||b.nodeType!==1||!a(b).is(f));)b.nodeType===1&&g.push(b),b=b[c];return g},nth:function(a,b,c){for(var b=b||1,f=0;a;a=a[c])if(a.nodeType===1&&++f===
|
108
|
+
b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}})})(A);(function(a){function c(d,b){if(b.nodeType===1&&a.hasData(d)){var c=a.expando,e=a.data(d),f=a.data(b,e);if(e=e[c]){var h=e.events,f=f[c]=a.extend({},e);if(h)for(var g in delete f.handle,f.events={},h){c=0;for(e=h[g].length;c<e;c++)a.event.add(b,g+(h[g][c].namespace?".":"")+h[g][c].namespace,h[g][c],h[g][c].data)}}}}function p(d,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();
|
109
|
+
b.mergeAttributes&&b.mergeAttributes(d);c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=d.outerHTML;else if(c==="input"&&(d.type==="checkbox"||d.type==="radio")){if(d.checked)b.defaultChecked=b.checked=d.checked;if(b.value!==d.value)b.value=d.value}else if(c==="option")b.selected=d.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=d.defaultValue;b.removeAttribute(a.expando)}}function g(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):
|
110
|
+
[]}function f(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function b(d){a.nodeName(d,"input")?f(d):d.getElementsByTagName&&a.grep(d.getElementsByTagName("input"),f)}function n(d,b){b.src?a.ajax({url:b.src,async:!1,dataType:"script"}):a.globalEval((b.text||b.textContent||b.innerHTML||"").replace(w,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}var k=/ jQuery\d+="(?:\d+|null)"/g,D=/^\s+/,e=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,o=/<([\w:]+)/,
|
111
|
+
t=/<tbody/i,u=/<|&#?\w+;/,s=/<(?:script|object|embed|option|style)/i,h=/checked\s*(?:[^=]|=\s*.checked.)/i,C=/\/(java|ecma)script/i,w=/^\s*<!(?:\[CDATA\[|\-\-)/,q={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};q.optgroup=
|
112
|
+
q.option;q.tbody=q.tfoot=q.colgroup=q.caption=q.thead;q.th=q.td;if(!a.support.htmlSerialize)q._default=[1,"div<div>","</div>"];a.fn.extend({text:function(d){if(a.isFunction(d))return this.each(function(b){var c=a(this);c.text(d.call(this,b,c.text()))});if(typeof d!=="object"&&d!==l)return this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(d));return a.text(this)},wrapAll:function(d){if(a.isFunction(d))return this.each(function(b){a(this).wrapAll(d.call(this,b))});if(this[0]){var b=
|
113
|
+
a(d,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(d){if(a.isFunction(d))return this.each(function(b){a(this).wrapInner(d.call(this,b))});return this.each(function(){var b=a(this),c=b.contents();c.length?c.wrapAll(d):b.append(d)})},wrap:function(b){return this.each(function(){a(this).wrapAll(b)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,
|
114
|
+
"body")||a(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});else if(arguments.length){var b=a(arguments[0]);b.push.apply(b,this.toArray());return this.pushStack(b,
|
115
|
+
"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});else if(arguments.length){var b=this.pushStack(this,"after",arguments);b.push.apply(b,a(arguments[0]).toArray());return b}},remove:function(b,c){for(var e=0,f;(f=this[e])!=null;e++)if(!b||a.filter(b,[f]).length)!c&&f.nodeType===1&&(a.cleanData(f.getElementsByTagName("*")),a.cleanData([f])),f.parentNode&&f.parentNode.removeChild(f);return this},
|
116
|
+
empty:function(){for(var b=0,c;(c=this[b])!=null;b++)for(c.nodeType===1&&a.cleanData(c.getElementsByTagName("*"));c.firstChild;)c.removeChild(c.firstChild);return this},clone:function(b,c){b=b==null?!1:b;c=c==null?b:c;return this.map(function(){return a.clone(this,b,c)})},html:function(b){if(b===l)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(k,""):null;else if(typeof b==="string"&&!s.test(b)&&(a.support.leadingWhitespace||!D.test(b))&&!q[(o.exec(b)||["",""])[1].toLowerCase()]){b=
|
117
|
+
b.replace(e,"<$1></$2>");try{for(var c=0,f=this.length;c<f;c++)if(this[c].nodeType===1)a.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=b}catch(h){this.empty().append(b)}}else a.isFunction(b)?this.each(function(c){var e=a(this);e.html(b.call(this,c,e.html()))}):this.empty().append(b);return this},replaceWith:function(b){if(this[0]&&this[0].parentNode){if(a.isFunction(b))return this.each(function(c){var e=a(this),f=e.html();e.replaceWith(b.call(this,c,f))});typeof b!=="string"&&(b=
|
118
|
+
a(b).detach());return this.each(function(){var c=this.nextSibling,e=this.parentNode;a(this).remove();c?a(c).before(b):a(e).append(b)})}else return this.length?this.pushStack(a(a.isFunction(b)?b():b),"replaceWith",b):this},detach:function(a){return this.remove(a,!0)},domManip:function(b,c,e){var f,g,m,q=b[0],k=[];if(!a.support.checkClone&&arguments.length===3&&typeof q==="string"&&h.test(q))return this.each(function(){a(this).domManip(b,c,e,!0)});if(a.isFunction(q))return this.each(function(f){var h=
|
119
|
+
a(this);b[0]=q.call(this,f,c?h.html():l);h.domManip(b,c,e)});if(this[0]){f=q&&q.parentNode;f=a.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:a.buildFragment(b,this,k);m=f.fragment;if(g=m.childNodes.length===1?m=m.firstChild:m.firstChild){c=c&&a.nodeName(g,"tr");g=0;for(var o=this.length,p=o-1;g<o;g++)e.call(c?a.nodeName(this[g],"table")?this[g].getElementsByTagName("tbody")[0]||this[g].appendChild(this[g].ownerDocument.createElement("tbody")):this[g]:this[g],
|
120
|
+
f.cacheable||o>1&&g<p?a.clone(m,!0,!0):m)}k.length&&a.each(k,n)}return this}});a.buildFragment=function(b,c,e){var f,g,m,c=c&&c[0]?c[0].ownerDocument||c[0]:r;if(b.length===1&&typeof b[0]==="string"&&b[0].length<512&&c===r&&b[0].charAt(0)==="<"&&!s.test(b[0])&&(a.support.checkClone||!h.test(b[0])))g=!0,(m=a.fragments[b[0]])&&m!==1&&(f=m);f||(f=c.createDocumentFragment(),a.clean(b,c,f,e));g&&(a.fragments[b[0]]=m?f:1);return{fragment:f,cacheable:g}};a.fragments={};a.each({appendTo:"append",prependTo:"prepend",
|
121
|
+
insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,c){a.fn[b]=function(e){var f=[],e=a(e),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1)return e[c](this[0]),this;else{for(var g=0,h=e.length;g<h;g++){var q=(g>0?this.clone(!0):this).get();a(e[g])[c](q);f=f.concat(q)}return this.pushStack(f,b,e.selector)}}});a.extend({clone:function(b,e,f){var h=b.cloneNode(!0),q,m,k;if((!a.support.noCloneEvent||!a.support.noCloneChecked)&&
|
122
|
+
(b.nodeType===1||b.nodeType===11)&&!a.isXMLDoc(b)){p(b,h);q=g(b);m=g(h);for(k=0;q[k];++k)p(q[k],m[k])}if(e&&(c(b,h),f)){q=g(b);m=g(h);for(k=0;q[k];++k)c(q[k],m[k])}return h},clean:function(d,c,f,g){c=c||r;typeof c.createElement==="undefined"&&(c=c.ownerDocument||c[0]&&c[0].ownerDocument||r);for(var h=[],m,k=0,n;(n=d[k])!=null;k++)if(typeof n==="number"&&(n+=""),n){if(typeof n==="string")if(u.test(n)){n=n.replace(e,"<$1></$2>");m=(o.exec(n)||["",""])[1].toLowerCase();var l=q[m]||q._default,p=l[0],
|
123
|
+
w=c.createElement("div");for(w.innerHTML=l[1]+n+l[2];p--;)w=w.lastChild;if(!a.support.tbody){p=t.test(n);l=m==="table"&&!p?w.firstChild&&w.firstChild.childNodes:l[1]==="<table>"&&!p?w.childNodes:[];for(m=l.length-1;m>=0;--m)a.nodeName(l[m],"tbody")&&!l[m].childNodes.length&&l[m].parentNode.removeChild(l[m])}!a.support.leadingWhitespace&&D.test(n)&&w.insertBefore(c.createTextNode(D.exec(n)[0]),w.firstChild);n=w.childNodes}else n=c.createTextNode(n);var s;if(!a.support.appendChecked)if(n[0]&&typeof(s=
|
124
|
+
n.length)==="number")for(m=0;m<s;m++)b(n[m]);else b(n);n.nodeType?h.push(n):h=a.merge(h,n)}if(f){d=function(a){return!a.type||C.test(a.type)};for(k=0;h[k];k++)g&&a.nodeName(h[k],"script")&&(!h[k].type||h[k].type.toLowerCase()==="text/javascript")?g.push(h[k].parentNode?h[k].parentNode.removeChild(h[k]):h[k]):(h[k].nodeType===1&&(c=a.grep(h[k].getElementsByTagName("script"),d),h.splice.apply(h,[k+1,0].concat(c))),f.appendChild(h[k]))}return h},cleanData:function(b){for(var c,e,f=a.cache,h=a.expando,
|
125
|
+
g=a.event.special,q=a.support.deleteExpando,k=0,n;(n=b[k])!=null;k++)if(!n.nodeName||!a.noData[n.nodeName.toLowerCase()])if(e=n[a.expando]){if((c=f[e]&&f[e][h])&&c.events){for(var l in c.events)g[l]?a.event.remove(n,l):a.removeEvent(n,l,c.handle);if(c.handle)c.handle.elem=null}q?delete n[a.expando]:n.removeAttribute&&n.removeAttribute(a.expando);delete f[e]}}})})(A);(function(a){function c(b,d,c){var e=d==="width"?b.offsetWidth:b.offsetHeight;if(c==="border")return e;a.each(d==="width"?t:u,function(){c||
|
126
|
+
(e-=parseFloat(a.css(b,"padding"+this))||0);c==="margin"?e+=parseFloat(a.css(b,"margin"+this))||0:e-=parseFloat(a.css(b,"border"+this+"Width"))||0});return e}var p=/alpha\([^)]*\)/i,g=/opacity=([^)]*)/,f=/-([a-z])/ig,b=/([A-Z]|^ms)/g,n=/^-?\d+(?:px)?$/i,k=/^-?\d/,D=/^[+\-]=/,e=/[^+\-\.\de]+/g,o={position:"absolute",visibility:"hidden",display:"block"},t=["Left","Right"],u=["Top","Bottom"],s,h,C,w=function(a,b){return b.toUpperCase()};a.fn.css=function(b,d){if(arguments.length===2&&d===l)return this;
|
127
|
+
return a.access(this,b,d,!0,function(b,d,c){return c!==l?a.style(b,d,c):a.css(b,d)})};a.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=s(a,"opacity","opacity");return c===""?"1":c}else return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0,widows:!0,orphans:!0},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(b,d,c,f){if(b&&!(b.nodeType===3||b.nodeType===8||!b.style)){var h,g=a.camelCase(d),k=b.style,n=a.cssHooks[g],d=a.cssProps[g]||
|
128
|
+
g;if(c!==l){if(f=typeof c,!(f==="number"&&isNaN(c)||c==null))if(f==="string"&&D.test(c)&&(c=+c.replace(e,"")+parseFloat(a.css(b,d))),f==="number"&&!a.cssNumber[g]&&(c+="px"),!n||!("set"in n)||(c=n.set(b,c))!==l)try{k[d]=c}catch(o){}}else{if(n&&"get"in n&&(h=n.get(b,!1,f))!==l)return h;return k[d]}}},css:function(b,d,c){var e,f,d=a.camelCase(d);f=a.cssHooks[d];d=a.cssProps[d]||d;d==="cssFloat"&&(d="float");if(f&&"get"in f&&(e=f.get(b,!0,c))!==l)return e;else if(s)return s(b,d)},swap:function(a,b,c){var e=
|
129
|
+
{},f;for(f in b)e[f]=a.style[f],a.style[f]=b[f];c.call(a);for(f in b)a.style[f]=e[f]},camelCase:function(a){return a.replace(f,w)}});a.curCSS=a.css;a.each(["height","width"],function(b,d){a.cssHooks[d]={get:function(b,e,f){var h;if(e){b.offsetWidth!==0?h=c(b,d,f):a.swap(b,o,function(){h=c(b,d,f)});if(h<=0&&(h=s(b,d,d),h==="0px"&&C&&(h=C(b,d,d)),h!=null))return h===""||h==="auto"?"0px":h;if(h<0||h==null)return h=b.style[d],h===""||h==="auto"?"0px":h;return typeof h==="string"?h:h+"px"}},set:function(a,
|
130
|
+
b){if(n.test(b)){if(b=parseFloat(b),b>=0)return b+"px"}else return b}}});if(!a.support.opacity)a.cssHooks.opacity={get:function(a,b){return g.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(b,d){var c=b.style,e=b.currentStyle;c.zoom=1;var f=a.isNaN(d)?"":"alpha(opacity="+d*100+")",e=e&&e.filter||c.filter||"";c.filter=p.test(e)?e.replace(p,f):e+" "+f}};a(function(){if(!a.support.reliableMarginRight)a.cssHooks.marginRight={get:function(b,
|
131
|
+
d){var c;a.swap(b,{display:"inline-block"},function(){c=d?s(b,"margin-right","marginRight"):b.style.marginRight});return c}}});r.defaultView&&r.defaultView.getComputedStyle&&(h=function(c,d){var e,f,d=d.replace(b,"-$1").toLowerCase();if(!(f=c.ownerDocument.defaultView))return l;if(f=f.getComputedStyle(c,null))e=f.getPropertyValue(d),e===""&&!a.contains(c.ownerDocument.documentElement,c)&&(e=a.style(c,d));return e});r.documentElement.currentStyle&&(C=function(a,b){var c,e=a.currentStyle&&a.currentStyle[b],
|
132
|
+
f=a.runtimeStyle&&a.runtimeStyle[b],h=a.style;if(!n.test(e)&&k.test(e)){c=h.left;if(f)a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":e||0;e=h.pixelLeft+"px";h.left=c;if(f)a.runtimeStyle.left=f}return e===""?"auto":e});s=h||C;if(a.expr&&a.expr.filters)a.expr.filters.hidden=function(b){var d=b.offsetHeight;return b.offsetWidth===0&&d===0||!a.support.reliableHiddenOffsets&&(b.style.display||a.css(b,"display"))==="none"},a.expr.filters.visible=function(b){return!a.expr.filters.hidden(b)}})(A);
|
133
|
+
(function(a){function c(b){return function(d,c){var y;typeof d!=="string"&&(c=d,d="*");if(a.isFunction(c))for(var e=d.toLowerCase().split(C),f=0,h=e.length,g,i;f<h;f++)g=e[f],(i=/^\+/.test(g))&&(g=g.substr(1)||"*"),y=b[g]=b[g]||[],g=y,g[i?"unshift":"push"](c)}}function p(a,b,d,c,e,f){e=e||b.dataTypes[0];f=f||{};f[e]=!0;for(var e=a[e],h=0,g=e?e.length:0,j=a===i,k;h<g&&(j||!k);h++)k=e[h](b,d,c),typeof k==="string"&&(!j||f[k]?k=l:(b.dataTypes.unshift(k),k=p(a,b,d,c,k,f)));if((j||!k)&&!f["*"])k=p(a,b,
|
134
|
+
d,c,"*",f);return k}function g(d,c,e,f){if(a.isArray(c))a.each(c,function(c,h){e||b.test(d)?f(d,h):g(d+"["+(typeof h==="object"||a.isArray(h)?c:"")+"]",h,e,f)});else if(!e&&c!=null&&typeof c==="object")for(var h in c)g(d+"["+h+"]",c[h],e,f);else f(d,c)}var f=/%20/g,b=/\[\]$/,n=/\r?\n/g,k=/#.*$/,D=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,e=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,o=/^(?:GET|HEAD)$/,t=/^\/\//,u=/\?/,s=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
|
135
|
+
h=/^(?:select|textarea)/i,C=/\s+/,w=/([?&])_=[^&]*/,q=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,d=a.fn.load,i={},j={},v,z;try{v=V.href}catch(m){v=r.createElement("a"),v.href="",v=v.href}z=q.exec(v.toLowerCase())||[];a.fn.extend({load:function(b,c,e){if(typeof b!=="string"&&d)return d.apply(this,arguments);else if(!this.length)return this;var f=b.indexOf(" ");if(f>=0)var h=b.slice(f,b.length),b=b.slice(0,f);f="GET";c&&(a.isFunction(c)?(e=c,c=l):typeof c==="object"&&(c=a.param(c,a.ajaxSettings.traditional),
|
136
|
+
f="POST"));var g=this;a.ajax({url:b,type:f,dataType:"html",data:c,complete:function(b,d,c){c=b.responseText;b.isResolved()&&(b.done(function(a){c=a}),g.html(h?a("<div>").append(c.replace(s,"")).find(h):c));e&&g.each(e,[c,d,b])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||h.test(this.nodeName)||
|
137
|
+
e.test(this.type))}).map(function(b,d){var c=a(this).val();return c==null?null:a.isArray(c)?a.map(c,function(a){return{name:d.name,value:a.replace(n,"\r\n")}}):{name:d.name,value:c.replace(n,"\r\n")}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(b,d){a.fn[d]=function(a){return this.bind(d,a)}});a.each(["get","post"],function(b,d){a[d]=function(b,c,e,f){a.isFunction(c)&&(f=f||e,e=c,c=l);return a.ajax({type:d,url:b,data:c,success:e,dataType:f})}});
|
138
|
+
a.extend({getScript:function(b,d){return a.get(b,l,d,"script")},getJSON:function(b,d,c){return a.get(b,d,c,"json")},ajaxSetup:function(b,d){d?a.extend(!0,b,a.ajaxSettings,d):(d=b,b=a.extend(!0,a.ajaxSettings,d));for(var c in{context:1,url:1})c in d?b[c]=d[c]:c in a.ajaxSettings&&(b[c]=a.ajaxSettings[c]);return b},ajaxSettings:{url:v,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|widget):$/.test(z[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,
|
139
|
+
accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":x.String,"text html":!0,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:c(i),ajaxTransport:c(j),ajax:function(b,d){function c(b,d,i,j){if(G!==2){G=2;P&&clearTimeout(P);M=l;x=j||"";B.readyState=b?4:0;var k,o,q;if(i){var j=e,p=B,C=j.contents,
|
140
|
+
t=j.dataTypes,u=j.responseFields,w,s,v,D;for(s in u)s in i&&(p[u[s]]=i[s]);for(;t[0]==="*";)t.shift(),w===l&&(w=j.mimeType||p.getResponseHeader("content-type"));if(w)for(s in C)if(C[s]&&C[s].test(w)){t.unshift(s);break}if(t[0]in i)v=t[0];else{for(s in i){if(!t[0]||j.converters[s+" "+t[0]]){v=s;break}D||(D=s)}v=v||D}v?(v!==t[0]&&t.unshift(v),i=i[v]):i=void 0}else i=l;if(b>=200&&b<300||b===304){if(e.ifModified){if(w=B.getResponseHeader("Last-Modified"))a.lastModified[r]=w;if(w=B.getResponseHeader("Etag"))a.etag[r]=
|
141
|
+
w}if(b===304)d="notmodified",k=!0;else try{w=e;w.dataFilter&&(i=w.dataFilter(i,w.dataType));var y=w.dataTypes;s={};var z,A,I=y.length,J,E=y[0],F,Q,H,K,L;for(z=1;z<I;z++){if(z===1)for(A in w.converters)typeof A==="string"&&(s[A.toLowerCase()]=w.converters[A]);F=E;E=y[z];if(E==="*")E=F;else if(F!=="*"&&F!==E){Q=F+" "+E;H=s[Q]||s["* "+E];if(!H)for(K in L=l,s)if(J=K.split(" "),J[0]===F||J[0]==="*")if(L=s[J[1]+" "+E]){K=s[K];K===!0?H=L:L===!0&&(H=K);break}!H&&!L&&a.error("No conversion from "+Q.replace(" ",
|
142
|
+
" to "));H!==!0&&(i=H?H(i):L(K(i)))}}o=i;d="success";k=!0}catch(O){d="parsererror",q=O}}else if(q=d,!d||b)d="error",b<0&&(b=0);B.status=b;B.statusText=d;k?g.resolveWith(f,[o,d,B]):g.rejectWith(f,[B,d,q]);B.statusCode(m);m=l;N&&h.trigger("ajax"+(k?"Success":"Error"),[B,e,k?o:q]);n.resolveWith(f,[B,d]);N&&(h.trigger("ajaxComplete",[B,e]),--a.active||a.event.trigger("ajaxStop"))}}typeof b==="object"&&(d=b,b=l);var d=d||{},e=a.ajaxSetup({},d),f=e.context||e,h=f!==e&&(f.nodeType||f instanceof a)?a(f):
|
143
|
+
a.event,g=a.Deferred(),n=a._Deferred(),m=e.statusCode||{},r,s={},v={},x,A,M,P,E,G=0,N,F,B={readyState:0,setRequestHeader:function(a,b){if(!G){var d=a.toLowerCase(),a=v[d]=v[d]||a;s[a]=b}return this},getAllResponseHeaders:function(){return G===2?x:null},getResponseHeader:function(a){var b;if(G===2){if(!A)for(A={};b=D.exec(x);)A[b[1].toLowerCase()]=b[2];b=A[a.toLowerCase()]}return b===l?null:b},overrideMimeType:function(a){if(!G)e.mimeType=a;return this},abort:function(a){a=a||"abort";M&&M.abort(a);
|
144
|
+
c(0,a);return this}};g.promise(B);B.success=B.done;B.error=B.fail;B.complete=n.done;B.statusCode=function(a){if(a){var b;if(G<2)for(b in a)m[b]=[m[b],a[b]];else b=a[B.status],B.then(b,b)}return this};e.url=((b||e.url)+"").replace(k,"").replace(t,z[1]+"//");e.dataTypes=a.trim(e.dataType||"*").toLowerCase().split(C);if(e.crossDomain==null)E=q.exec(e.url.toLowerCase()),e.crossDomain=!(!E||!(E[1]!=z[1]||E[2]!=z[2]||(E[3]||(E[1]==="http:"?80:443))!=(z[3]||(z[1]==="http:"?80:443))));if(e.data&&e.processData&&
|
145
|
+
typeof e.data!=="string")e.data=a.param(e.data,e.traditional);p(i,e,d,B);if(G===2)return!1;N=e.global;e.type=e.type.toUpperCase();e.hasContent=!o.test(e.type);N&&a.active++===0&&a.event.trigger("ajaxStart");if(!e.hasContent&&(e.data&&(e.url+=(u.test(e.url)?"&":"?")+e.data),r=e.url,e.cache===!1)){E=a.now();var O=e.url.replace(w,"$1_="+E);e.url=O+(O===e.url?(u.test(e.url)?"&":"?")+"_="+E:"")}(e.data&&e.hasContent&&e.contentType!==!1||d.contentType)&&B.setRequestHeader("Content-Type",e.contentType);
|
146
|
+
e.ifModified&&(r=r||e.url,a.lastModified[r]&&B.setRequestHeader("If-Modified-Since",a.lastModified[r]),a.etag[r]&&B.setRequestHeader("If-None-Match",a.etag[r]));B.setRequestHeader("Accept",e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+(e.dataTypes[0]!=="*"?", */*; q=0.01":""):e.accepts["*"]);for(F in e.headers)B.setRequestHeader(F,e.headers[F]);if(e.beforeSend&&(e.beforeSend.call(f,B,e)===!1||G===2))return B.abort(),!1;for(F in{success:1,error:1,complete:1})B[F](e[F]);if(M=p(j,
|
147
|
+
e,d,B)){B.readyState=1;N&&h.trigger("ajaxSend",[B,e]);e.async&&e.timeout>0&&(P=setTimeout(function(){B.abort("timeout")},e.timeout));try{G=1,M.send(s,c)}catch(T){status<2?c(-1,T):a.error(T)}}else c(-1,"No Transport");return B},param:function(b,d){var c=[],e=function(b,d){d=a.isFunction(d)?d():d;c[c.length]=encodeURIComponent(b)+"="+encodeURIComponent(d)};if(d===l)d=a.ajaxSettings.traditional;if(a.isArray(b)||b.jquery&&!a.isPlainObject(b))a.each(b,function(){e(this.name,this.value)});else for(var h in b)g(h,
|
148
|
+
b[h],d,e);return c.join("&").replace(f,"+")}});a.extend({active:0,lastModified:{},etag:{}})})(A);(function(a){var c=a.now(),l=/(\=)\?(&|$)|\?\?/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+c++}});a.ajaxPrefilter("json jsonp",function(c,f,b){f=c.contentType==="application/x-www-form-urlencoded"&&typeof c.data==="string";if(c.dataTypes[0]==="jsonp"||c.jsonp!==!1&&(l.test(c.url)||f&&l.test(c.data))){var n,k=c.jsonpCallback=a.isFunction(c.jsonpCallback)?c.jsonpCallback():
|
149
|
+
c.jsonpCallback,r=x[k],e=c.url,o=c.data,t="$1"+k+"$2";c.jsonp!==!1&&(e=e.replace(l,t),c.url===e&&(f&&(o=o.replace(l,t)),c.data===o&&(e+=(/\?/.test(e)?"&":"?")+c.jsonp+"="+k)));c.url=e;c.data=o;x[k]=function(a){n=[a]};b.always(function(){x[k]=r;if(n&&a.isFunction(r))x[k](n[0])});c.converters["script json"]=function(){n||a.error(k+" was not called");return n[0]};c.dataTypes[0]="json";return"script"}})})(A);(function(a){a.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
|
150
|
+
contents:{script:/javascript|ecmascript/},converters:{"text script":function(c){a.globalEval(c);return c}}});a.ajaxPrefilter("script",function(a){if(a.cache===l)a.cache=!1;if(a.crossDomain)a.type="GET",a.global=!1});a.ajaxTransport("script",function(a){if(a.crossDomain){var p,g=r.head||r.getElementsByTagName("head")[0]||r.documentElement;return{send:function(f,b){p=r.createElement("script");p.async="async";if(a.scriptCharset)p.charset=a.scriptCharset;p.src=a.url;p.onload=p.onreadystatechange=function(a,
|
151
|
+
c){if(c||!p.readyState||/loaded|complete/.test(p.readyState))p.onload=p.onreadystatechange=null,g&&p.parentNode&&g.removeChild(p),p=l,c||b(200,"success")};g.insertBefore(p,g.firstChild)},abort:function(){if(p)p.onload(0,1)}}}})})(A);(function(a){function c(){try{return new x.XMLHttpRequest}catch(a){}}var p=x.ActiveXObject?function(){for(var a in f)f[a](0,1)}:!1,g=0,f;a.ajaxSettings.xhr=x.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&c()))a:{try{a=new x.ActiveXObject("Microsoft.XMLHTTP");break a}catch(f){}a=
|
152
|
+
void 0}return a}:c;(function(b){a.extend(a.support,{ajax:!!b,cors:!!b&&"withCredentials"in b})})(a.ajaxSettings.xhr());a.support.ajax&&a.ajaxTransport(function(b){if(!b.crossDomain||a.support.cors){var c;return{send:function(k,r){var e=b.xhr(),o,t;b.username?e.open(b.type,b.url,b.async,b.username,b.password):e.open(b.type,b.url,b.async);if(b.xhrFields)for(t in b.xhrFields)e[t]=b.xhrFields[t];b.mimeType&&e.overrideMimeType&&e.overrideMimeType(b.mimeType);!b.crossDomain&&!k["X-Requested-With"]&&(k["X-Requested-With"]=
|
153
|
+
"XMLHttpRequest");try{for(t in k)e.setRequestHeader(t,k[t])}catch(u){}e.send(b.hasContent&&b.data||null);c=function(g,h){var k,w,q,d,i;try{if(c&&(h||e.readyState===4)){c=l;if(o)e.onreadystatechange=a.noop,p&&delete f[o];if(h)e.readyState!==4&&e.abort();else{k=e.status;q=e.getAllResponseHeaders();d={};if((i=e.responseXML)&&i.documentElement)d.xml=i;d.text=e.responseText;try{w=e.statusText}catch(j){w=""}!k&&b.isLocal&&!b.crossDomain?k=d.text?200:404:k===1223&&(k=204)}}}catch(t){h||r(-1,t)}d&&r(k,w,
|
154
|
+
d,q)};!b.async||e.readyState===4?c():(o=++g,p&&(f||(f={},a(x).unload(p)),f[o]=c),e.onreadystatechange=c)},abort:function(){c&&c(0,1)}}}})})(A);(function(a){function c(){setTimeout(p,0);return u=a.now()}function p(){u=l}function g(b,c){var e={};a.each(t.concat.apply([],t.slice(0,c)),function(){e[this]=b});return e}function f(c){if(!b[c]){var e=a("<"+c+">").appendTo("body"),f=e.css("display");e.remove();if(f==="none"||f===""){if(!n)n=r.createElement("iframe"),n.frameBorder=n.width=n.height=0;r.body.appendChild(n);
|
155
|
+
if(!k||!n.createElement)k=(n.contentWindow||n.contentDocument).document,k.write("<!doctype><html><body></body></html>");e=k.createElement(c);k.body.appendChild(e);f=a.css(e,"display");r.body.removeChild(n)}b[c]=f}return b[c]}var b={},n,k,D=/^(?:toggle|show|hide)$/,e=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,o,t=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],u,s=x.webkitRequestAnimationFrame||x.mozRequestAnimationFrame||
|
156
|
+
x.oRequestAnimationFrame;a.fn.extend({show:function(b,c,e){if(b||b===0)return this.animate(g("show",3),b,c,e);else{for(var e=0,k=this.length;e<k;e++)if(b=this[e],b.style){c=b.style.display;if(!a._data(b,"olddisplay")&&c==="none")c=b.style.display="";c===""&&a.css(b,"display")==="none"&&a._data(b,"olddisplay",f(b.nodeName))}for(e=0;e<k;e++)if(b=this[e],b.style&&(c=b.style.display,c===""||c==="none"))b.style.display=a._data(b,"olddisplay")||"";return this}},hide:function(b,c,e){if(b||b===0)return this.animate(g("hide",
|
157
|
+
3),b,c,e);else{b=0;for(c=this.length;b<c;b++)this[b].style&&(e=a.css(this[b],"display"),e!=="none"&&!a._data(this[b],"olddisplay")&&a._data(this[b],"olddisplay",e));for(b=0;b<c;b++)if(this[b].style)this[b].style.display="none";return this}},_toggle:a.fn.toggle,toggle:function(b,c,e){var f=typeof b==="boolean";a.isFunction(b)&&a.isFunction(c)?this._toggle.apply(this,arguments):b==null||f?this.each(function(){var d=f?b:a(this).is(":hidden");a(this)[d?"show":"hide"]()}):this.animate(g("toggle",3),b,
|
158
|
+
c,e);return this},fadeTo:function(a,b,c,e){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(b,c,g,k){var d=a.speed(c,g,k);if(a.isEmptyObject(b))return this.each(d.complete,[!1]);b=a.extend({},b);return this[d.queue===!1?"each":"queue"](function(){var h;d.queue===!1&&a._mark(this);var c=a.extend({},d),g=this.nodeType===1,k=g&&a(this).is(":hidden"),n,m,l,o,q;c.animatedProperties={};for(l in b){n=a.camelCase(l);l!==n&&(b[n]=b[l],delete b[l]);m=
|
159
|
+
b[n];a.isArray(m)?(c.animatedProperties[n]=m[1],h=b[n]=m[0],m=h):c.animatedProperties[n]=c.specialEasing&&c.specialEasing[n]||c.easing||"swing";if(m==="hide"&&k||m==="show"&&!k)return c.complete.call(this);if(g&&(n==="height"||n==="width"))if(c.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],a.css(this,"display")==="inline"&&a.css(this,"float")==="none")a.support.inlineBlockNeedsLayout?(m=f(this.nodeName),m==="inline"?this.style.display="inline-block":(this.style.display=
|
160
|
+
"inline",this.style.zoom=1)):this.style.display="inline-block"}if(c.overflow!=null)this.style.overflow="hidden";for(l in b)if(g=new a.fx(this,c,l),m=b[l],D.test(m))g[m==="toggle"?k?"show":"hide":m]();else n=e.exec(m),o=g.cur(),n?(m=parseFloat(n[2]),q=n[3]||(a.cssNumber[l]?"":"px"),q!=="px"&&(a.style(this,l,(m||1)+q),o*=(m||1)/g.cur(),a.style(this,l,o+q)),n[1]&&(m=(n[1]==="-="?-1:1)*m+o),g.custom(o,m,q)):g.custom(o,m,"");return!0})},stop:function(b,c){b&&this.queue([]);this.each(function(){var b=a.timers,
|
161
|
+
e=b.length;for(c||a._unmark(!0,this);e--;)if(b[e].elem===this){if(c)b[e](!0);b.splice(e,1)}});c||this.dequeue();return this}});a.each({slideDown:g("show",1),slideUp:g("hide",1),slideToggle:g("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(b,c){a.fn[b]=function(a,b,d){return this.animate(c,a,b,d)}});a.extend({speed:function(b,c,e){var f=b&&typeof b==="object"?a.extend({},b):{complete:e||!e&&c||a.isFunction(b)&&b,duration:b,easing:e&&c||c&&!a.isFunction(c)&&
|
162
|
+
c};f.duration=a.fx.off?0:typeof f.duration==="number"?f.duration:f.duration in a.fx.speeds?a.fx.speeds[f.duration]:a.fx.speeds._default;f.old=f.complete;f.complete=function(b){f.queue!==!1?a.dequeue(this):b!==!1&&a._unmark(this);a.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,c,e){return c+e*a},swing:function(a,b,c,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+c}},timers:[],fx:function(a,b,c){this.options=b;this.elem=a;this.prop=c;b.orig=b.orig||{}}});a.fx.prototype={update:function(){this.options.step&&
|
163
|
+
this.options.step.call(this.elem,this.now,this);(a.fx.step[this.prop]||a.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var b,c=a.css(this.elem,this.prop);return isNaN(b=parseFloat(c))?!c||c==="auto"?0:c:b},custom:function(b,e,f){function g(a){return d.step(a)}var d=this,i=a.fx,j;this.startTime=u||c();this.start=b;this.end=e;this.unit=f||this.unit||(a.cssNumber[this.prop]?"":"px");this.now=this.start;
|
164
|
+
this.pos=this.state=0;g.elem=this.elem;g()&&a.timers.push(g)&&!o&&(s?(o=1,j=function(){o&&(s(j),i.tick())},s(j)):o=setInterval(i.tick,i.interval))},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=!0;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(b){var e=u||c(),f=!0,g=this.elem,
|
165
|
+
d=this.options,i;if(b||e>=d.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();d.animatedProperties[this.prop]=!0;for(i in d.animatedProperties)d.animatedProperties[i]!==!0&&(f=!1);if(f){d.overflow!=null&&!a.support.shrinkWrapBlocks&&a.each(["","X","Y"],function(a,b){g.style["overflow"+b]=d.overflow[a]});d.hide&&a(g).hide();if(d.hide||d.show)for(var j in d.animatedProperties)a.style(g,j,d.orig[j]);d.complete.call(g)}return!1}else d.duration==Infinity?this.now=e:(b=e-this.startTime,
|
166
|
+
this.state=b/d.duration,this.pos=a.easing[d.animatedProperties[this.prop]](this.state,b,0,1,d.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}};a.extend(a.fx,{tick:function(){for(var b=a.timers,c=0;c<b.length;++c)b[c]()||b.splice(c--,1);b.length||a.fx.stop()},interval:13,stop:function(){clearInterval(o);o=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(b){a.style(b.elem,"opacity",b.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=
|
167
|
+
null?a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit:a.elem[a.prop]=a.now}}});if(a.expr&&a.expr.filters)a.expr.filters.animated=function(b){return a.grep(a.timers,function(a){return b===a.elem}).length}})(A);(function(a){function c(c){return a.isWindow(c)?c:c.nodeType===9?c.defaultView||c.parentWindow:!1}var p=/^t(?:able|d|h)$/i,g=/^(?:body|html)$/i;a.fn.offset="getBoundingClientRect"in r.documentElement?function(f){var b=this[0],g;if(f)return this.each(function(b){a.offset.setOffset(this,
|
168
|
+
f,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);try{g=b.getBoundingClientRect()}catch(k){}var l=b.ownerDocument,e=l.documentElement;if(!g||!a.contains(e,b))return g?{top:g.top,left:g.left}:{top:0,left:0};b=l.body;l=c(l);return{top:g.top+(l.pageYOffset||a.support.boxModel&&e.scrollTop||b.scrollTop)-(e.clientTop||b.clientTop||0),left:g.left+(l.pageXOffset||a.support.boxModel&&e.scrollLeft||b.scrollLeft)-(e.clientLeft||b.clientLeft||0)}}:function(c){var b=
|
169
|
+
this[0];if(c)return this.each(function(b){a.offset.setOffset(this,c,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return a.offset.bodyOffset(b);a.offset.initialize();var g,k=b.offsetParent,l=b.ownerDocument,e=l.documentElement,o=l.body;g=(l=l.defaultView)?l.getComputedStyle(b,null):b.currentStyle;for(var r=b.offsetTop,u=b.offsetLeft;(b=b.parentNode)&&b!==o&&b!==e;){if(a.offset.supportsFixedPosition&&g.position==="fixed")break;g=l?l.getComputedStyle(b,null):b.currentStyle;r-=
|
170
|
+
b.scrollTop;u-=b.scrollLeft;if(b===k){r+=b.offsetTop;u+=b.offsetLeft;if(a.offset.doesNotAddBorder&&(!a.offset.doesAddBorderForTableAndCells||!p.test(b.nodeName)))r+=parseFloat(g.borderTopWidth)||0,u+=parseFloat(g.borderLeftWidth)||0;k=b.offsetParent}a.offset.subtractsBorderForOverflowNotVisible&&g.overflow!=="visible"&&(r+=parseFloat(g.borderTopWidth)||0,u+=parseFloat(g.borderLeftWidth)||0)}if(g.position==="relative"||g.position==="static")r+=o.offsetTop,u+=o.offsetLeft;a.offset.supportsFixedPosition&&
|
171
|
+
g.position==="fixed"&&(r+=Math.max(e.scrollTop,o.scrollTop),u+=Math.max(e.scrollLeft,o.scrollLeft));return{top:r,left:u}};a.offset={initialize:function(){var c=r.body,b=r.createElement("div"),g,k,l,e=parseFloat(a.css(c,"marginTop"))||0;a.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
|
172
|
+
c.insertBefore(b,c.firstChild);g=b.firstChild;k=g.firstChild;l=g.nextSibling.firstChild.firstChild;this.doesNotAddBorder=k.offsetTop!==5;this.doesAddBorderForTableAndCells=l.offsetTop===5;k.style.position="fixed";k.style.top="20px";this.supportsFixedPosition=k.offsetTop===20||k.offsetTop===15;k.style.position=k.style.top="";g.style.overflow="hidden";g.style.position="relative";this.subtractsBorderForOverflowNotVisible=k.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=c.offsetTop!==e;c.removeChild(b);
|
173
|
+
a.offset.initialize=a.noop},bodyOffset:function(c){var b=c.offsetTop,g=c.offsetLeft;a.offset.initialize();a.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(a.css(c,"marginTop"))||0,g+=parseFloat(a.css(c,"marginLeft"))||0);return{top:b,left:g}},setOffset:function(c,b,g){var k=a.css(c,"position");if(k==="static")c.style.position="relative";var l=a(c),e=l.offset(),o=a.css(c,"top"),p=a.css(c,"left"),r={},s={};(k==="absolute"||k==="fixed")&&a.inArray("auto",[o,p])>-1?(s=l.position(),k=s.top,p=
|
174
|
+
s.left):(k=parseFloat(o)||0,p=parseFloat(p)||0);a.isFunction(b)&&(b=b.call(c,g,e));if(b.top!=null)r.top=b.top-e.top+k;if(b.left!=null)r.left=b.left-e.left+p;"using"in b?b.using.call(c,r):l.css(r)}};a.fn.extend({position:function(){if(!this[0])return null;var c=this[0],b=this.offsetParent(),l=this.offset(),k=g.test(b[0].nodeName)?{top:0,left:0}:b.offset();l.top-=parseFloat(a.css(c,"marginTop"))||0;l.left-=parseFloat(a.css(c,"marginLeft"))||0;k.top+=parseFloat(a.css(b[0],"borderTopWidth"))||0;k.left+=
|
175
|
+
parseFloat(a.css(b[0],"borderLeftWidth"))||0;return{top:l.top-k.top,left:l.left-k.left}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent||r.body;c&&!g.test(c.nodeName)&&a.css(c,"position")==="static";)c=c.offsetParent;return c})}});a.each(["Left","Top"],function(f,b){var g="scroll"+b;a.fn[g]=function(b){var p,e;if(b===l){p=this[0];if(!p)return null;return(e=c(p))?"pageXOffset"in e?e[f?"pageYOffset":"pageXOffset"]:a.support.boxModel&&e.document.documentElement[g]||e.document.body[g]:
|
176
|
+
p[g]}return this.each(function(){(e=c(this))?e.scrollTo(!f?b:a(e).scrollLeft(),f?b:a(e).scrollTop()):this[g]=b})}})})(A);(function(a){a.each(["Height","Width"],function(c,p){var g=p.toLowerCase();a.fn["inner"+p]=function(){return this[0]?parseFloat(a.css(this[0],g,"padding")):null};a.fn["outer"+p]=function(c){return this[0]?parseFloat(a.css(this[0],g,c?"margin":"border")):null};a.fn[g]=function(c){var b=this[0];if(!b)return c==null?null:this;if(a.isFunction(c))return this.each(function(b){var l=a(this);
|
177
|
+
l[g](c.call(this,b,l[g]()))});if(a.isWindow(b)){var n=b.document.documentElement["client"+p];return b.document.compatMode==="CSS1Compat"&&n||b.document.body["client"+p]||n}else return b.nodeType===9?Math.max(b.documentElement["client"+p],b.body["scroll"+p],b.documentElement["scroll"+p],b.body["offset"+p],b.documentElement["offset"+p]):c===l?(b=a.css(b,g),n=parseFloat(b),a.isNaN(n)?b:n):this.css(g,typeof c==="string"?c:c+"px")}})})(A);x.jQuery=x.$=A})(window);
|