compass-jquery-plugin 0.3.2.7 → 0.3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +17 -11
- data/VERSION.yml +2 -2
- data/lib/handle_js_files.rb +1 -1
- data/lib/jquery/emulators.rb +13 -0
- data/templates/dynatree/jquery.dynatree.min.js +79 -81
- data/templates/emulators/config/initializers/emulators.rb +0 -9
- data/templates/emulators/emulators/{blackberry.landscape.scss → blackberry.torch.landscape.scss} +6 -2
- data/templates/emulators/emulators/{blackberry.portrait.scss → blackberry.torch.portrait.scss} +6 -1
- data/templates/emulators/emulators/galaxy.s.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.s.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.s.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.s.portrait.scss +20 -0
- data/templates/emulators/emulators/galaxy.s2.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.s2.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.s2.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.s2.portrait.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.10.1.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.10.1.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.10.1.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.10.1.portrait.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.7.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.7.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.7.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.7.portrait.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.8.9.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.8.9.landscape.scss +20 -0
- data/templates/emulators/emulators/galaxy.tab.8.9.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.tab.8.9.portrait.scss +20 -0
- data/templates/emulators/emulators/ipad.landscape.png +0 -0
- data/templates/emulators/emulators/ipad.landscape.scss +9 -4
- data/templates/emulators/emulators/ipad.portrait.png +0 -0
- data/templates/emulators/emulators/ipad.portrait.scss +9 -4
- data/templates/emulators/emulators/{iphone.landscape.png → iphone.3.landscape.png} +0 -0
- data/templates/emulators/emulators/{iphone.landscape.scss → iphone.3.landscape.scss} +7 -3
- data/templates/emulators/emulators/{iphone.portrait.png → iphone.3.portrait.png} +0 -0
- data/templates/emulators/emulators/{iphone.portrait.scss → iphone.3.portrait.scss} +7 -3
- data/templates/emulators/emulators/iphone.4.landscape .scss +20 -0
- data/templates/emulators/emulators/iphone.4.landscape.png +0 -0
- data/templates/emulators/emulators/iphone.4.portrait.png +0 -0
- data/templates/emulators/emulators/iphone.4.portrait.scss +20 -0
- data/templates/emulators/emulators/{palm.pre.landscape.png → palm.pre.2.landscape.png} +0 -0
- data/templates/emulators/emulators/{palm.landscape.scss → palm.pre.2.landscape.scss} +7 -3
- data/templates/emulators/emulators/{palm.pre.portrait.png → palm.pre.2.portrait.png} +0 -0
- data/templates/emulators/emulators/{palm.portrait.scss → palm.pre.2.portrait.scss} +7 -3
- data/templates/emulators/manifest.rb +34 -10
- data/templates/graphics/config/initializers/graphics.rb +8 -0
- data/templates/graphics/highcharts/dark-blue.js +170 -0
- data/templates/graphics/highcharts/dark-blue.min.js +4 -0
- data/templates/graphics/highcharts/dark-green.js +170 -0
- data/templates/graphics/highcharts/dark-green.min.js +4 -0
- data/templates/graphics/highcharts/gray.js +164 -0
- data/templates/graphics/highcharts/gray.min.js +4 -0
- data/templates/graphics/highcharts/grid.js +97 -0
- data/templates/graphics/highcharts/grid.min.js +3 -0
- data/templates/graphics/highcharts/highslide-config.js +12 -0
- data/templates/graphics/highcharts/highslide-config.min.js +1 -0
- data/templates/graphics/highcharts/highslide-full.js +3391 -0
- data/templates/graphics/highcharts/highslide-full.min.js +132 -0
- data/templates/graphics/highcharts/skies.js +89 -0
- data/templates/graphics/highcharts/skies.min.js +3 -0
- data/templates/graphics/jquery.ganttView.js +1 -1
- data/templates/graphics/jquery.ganttView.min.js +61 -61
- data/templates/graphics/jquery.highcharts.js +11342 -0
- data/templates/graphics/jquery.highcharts.min.js +176 -0
- data/templates/graphics/jquery.sparkline.min.js +35 -36
- data/templates/graphics/jquery/highcharts/graphics/close.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/closeX.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar-black-border.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar-text-buttons.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar-white-small.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar-white.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar2.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar3.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar4-hover.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/controlbar4.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/fullexpand.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/geckodimmer.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/icon.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/loader.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/loader.white.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/beveled.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/drop-shadow.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/glossy-dark.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/outer-glow.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/rounded-black.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/outlines/rounded-white.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/resize.gif +0 -0
- data/templates/graphics/jquery/highcharts/graphics/scrollarrows.png +0 -0
- data/templates/graphics/jquery/highcharts/graphics/zoomin.cur +0 -0
- data/templates/graphics/jquery/highcharts/graphics/zoomout.cur +0 -0
- data/templates/graphics/jquery/highcharts/skies.jpg +0 -0
- data/templates/graphics/jquery/highslide.scss +763 -0
- data/templates/graphics/manifest.rb +43 -0
- data/templates/ical/config/initializers/ical.rb +1 -0
- data/templates/ical/jquery.ical.js +8401 -8209
- data/templates/ical/jquery.ical.min.js +206 -208
- data/templates/ical/jquery/ical.print.scss +48 -0
- data/templates/ical/jquery/ical.scss +372 -343
- data/templates/ical/manifest.rb +1 -0
- data/templates/jqgrid/i18n/jqgrid/locale-ar.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-da.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-es.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-gl.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-hu.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-lt.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +2 -2
- data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-sr.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +2 -2
- data/templates/jqgrid/jquery.jqGrid.js +162 -850
- data/templates/jqgrid/jquery.jqGrid.min.js +476 -497
- data/templates/jqgrid/jquery/jqGrid.scss +0 -19
- data/templates/jquery/amplify.store.js +248 -0
- data/templates/jquery/amplify.store.min.js +6 -0
- data/templates/jquery/config/initializers/jquery.rb +5 -1
- data/templates/jquery/history.adapter.jquery.js +37 -43
- data/templates/jquery/history.adapter.jquery.min.js +1 -1
- data/templates/jquery/history.html4.js +596 -587
- data/templates/jquery/history.html4.min.js +8 -8
- data/templates/jquery/history.js +1839 -1669
- data/templates/jquery/history.min.js +27 -25
- data/templates/jquery/i18n/jquery.ui/datepicker-af.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-az.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-bg.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-bs.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ca.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-cs.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-da.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-de.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-el.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-en-GB.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-eo.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-es.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-et.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-eu.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-fa.min.js +2 -2
- data/templates/jquery/i18n/jquery.ui/datepicker-fi.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-fo.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-fr-CH.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-gl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-he.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-hr.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-hy.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-id.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-is.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-it.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ja.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ko.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-kz.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-lt.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-lv.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.min.js +2 -2
- data/templates/jquery/i18n/jquery.ui/datepicker-ms.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-no.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-pl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-pt-BR.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-pt.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ro.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ru.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sq.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sr-SR.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sr.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sv.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-ta.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-th.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-tj.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-tr.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-uk.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-vi.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-CN.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-HK.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-TW.min.js +1 -1
- data/templates/jquery/jquery-ui.js +217 -104
- data/templates/jquery/jquery-ui.min.js +437 -436
- data/templates/jquery/jquery.bgiframe.min.js +1 -1
- data/templates/jquery/jquery.contextMenu.min.js +7 -7
- data/templates/jquery/jquery.cookie.js +60 -58
- data/templates/jquery/jquery.cookie.min.js +1 -1
- data/templates/jquery/jquery.dotimeout.min.js +2 -2
- data/templates/jquery/jquery.dst.min.js +4 -4
- data/templates/jquery/jquery.farbtastic.min.js +10 -10
- data/templates/jquery/jquery.form.js +15 -5
- data/templates/jquery/jquery.form.min.js +20 -20
- data/templates/jquery/jquery.haml.min.js +5 -5
- data/templates/jquery/jquery.hotkeys.min.js +3 -3
- data/templates/jquery/jquery.js +8205 -8170
- data/templates/jquery/jquery.layout.min.js +48 -50
- data/templates/jquery/jquery.min.js +166 -167
- data/templates/jquery/jquery.mousewheel.min.js +2 -2
- data/templates/jquery/jquery.offline.min.js +4 -4
- data/templates/jquery/jquery.pngFix.js +28 -30
- data/templates/jquery/jquery.pngFix.min.js +5 -5
- data/templates/jquery/jquery.rails.js +166 -0
- data/templates/jquery/jquery.rails.min.js +6 -0
- data/templates/jquery/jquery.replacetext.min.js +1 -1
- data/templates/jquery/jquery.themeswitchertool.min.js +4 -4
- data/templates/jquery/jquery.tmpl.js +14 -12
- data/templates/jquery/jquery.tmpl.min.js +12 -12
- data/templates/jquery/jquery.tmplPlus.js +2 -2
- data/templates/jquery/jquery.tmplPlus.min.js +3 -3
- data/templates/jquery/jquery.tokeninput.js +729 -0
- data/templates/jquery/jquery.tokeninput.min.js +14 -0
- data/templates/jquery/jquery/ui/_theme.scss +23 -16
- 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/tokeninput.facebook.scss +95 -0
- data/templates/jquery/jquery/ui/tokeninput.mac.scss +164 -0
- data/templates/jquery/jquery/ui/tokeninput.scss +85 -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.min.js +6 -6
- data/templates/jquery/json2.js +214 -214
- data/templates/jquery/json2.min.js +5 -6
- data/templates/jquery/manifest.rb +9 -2
- data/templates/jstree/jquery.jstree.min.js +222 -224
- data/templates/mobile/config/initializers/mobile.rb +1 -1
- data/templates/mobile/jquery.mobile.js +887 -404
- data/templates/mobile/jquery.mobile.min.js +4 -4
- data/templates/mobile/jquery/mobile/_base.scss +50 -26
- data/templates/mobile/jquery/mobile/default.scss +59 -63
- data/templates/mobile/jquery/mobile/valencia.scss +44 -42
- data/templates/ribbon/jquery.ribbon.min.js +14 -14
- data/templates/tiny_mce/manifest.rb +4 -0
- data/templates/tiny_mce/tiny_mce/langs/de.js +1 -1
- data/templates/tiny_mce/tiny_mce/langs/en.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advimage/js/image.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advimage/langs/de_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlink/js/advlink.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlink/langs/en_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlink/link.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/advlist/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autolink/editor_plugin.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/autolink/editor_plugin_src.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/autoresize/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/contextmenu/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/css/fullpage.css +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/fullpage.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/fullpage/js/fullpage.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/lists/editor_plugin.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/lists/editor_plugin_src.js +1 -0
- data/templates/tiny_mce/tiny_mce/plugins/media/js/media.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/media/media.htm +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/noneditable/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/paste/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/searchreplace/js/searchreplace.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/spellchecker/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/table/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/plugins/xhtmlxtras/js/attributes.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/editor_template_src.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/js/charmap.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/langs/de_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/langs/en_dlg.js +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/default/ui.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/dialog.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +1 -1
- data/templates/tiny_mce/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +1 -1
- data/templates/tiny_mce/tiny_mce/tiny_mce.js +1 -1
- data/templates/tiny_mce/tiny_mce/utils/form_utils.js +1 -1
- data/templates/tiny_mce/tiny_mce/utils/validate.js +1 -1
- data/templates/tools/flowplayer.min.js +29 -30
- data/templates/tools/jquery.tools.min.js +96 -96
- data/templates/tools/swfobject.min.js +18 -19
- metadata +95 -16
- data/templates/jquery/jrails.js +0 -200
- data/templates/jquery/jrails.min.js +0 -8
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jQuery UI Widget @VERSION
|
|
3
3
|
*
|
|
4
|
-
* Copyright
|
|
4
|
+
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
|
5
5
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
6
6
|
* http://jquery.org/license
|
|
7
7
|
*
|
|
8
8
|
* http://docs.jquery.com/UI/Widget
|
|
9
9
|
*/
|
|
10
|
-
(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(e){for(var f=0,g;(g=e[f])!=null;f++){b(g).triggerHandler("remove")}c(e)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(f,g,h){var k=this.options[f];g=b.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();h=h||{};if(g.originalEvent){for(var e=b.event.props.length,j;e;){j=b.event.props[--e];g[j]=g.originalEvent[j]}}this.element.trigger(g,h);return !(b.isFunction(k)&&k.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);(function(a,b){a.widget("mobile.widget",{_getCreateOptions:function(){var d=this.element,c={};a.each(this.options,function(e){var f=d.jqmData(e.replace(/[A-Z]/g,function(g){return"-"+g.toLowerCase()}));if(f!==b){c[e]=f}});return c}})})(jQuery);(function(c,f){var e=c(window),a=c("html"),b=[320,480,768,1024];c.mobile.media=(function(){var g={},h=c("<div id='jquery-mediatest'>"),i=c("<body>").append(h);return function(l){if(!(l in g)){var j=document.createElement("style"),k="@media "+l+" { #jquery-mediatest { position:absolute; } }";j.type="text/css";if(j.styleSheet){j.styleSheet.cssText=k}else{j.appendChild(document.createTextNode(k))}a.prepend(i).prepend(j);g[l]=h.css("position")==="absolute";i.add(j).remove()}return g[l]}})();function d(){var g=e.width(),k="min-width-",i="max-width-",m=[],j=[],l="px",h;a.removeClass(k+b.join(l+" "+k)+l+" "+i+b.join(l+" "+i)+l);c.each(b,function(n,o){if(g>=o){m.push(k+o+l)}if(g<=o){j.push(i+o+l)}});if(m.length){h=m.join(" ")}if(j.length){h+=" "+j.join(" ")}a.addClass(h)}c.mobile.addResolutionBreakpoints=function(g){if(c.type(g)==="array"){b=b.concat(g)}else{b.push(g)}b.sort(function(i,h){return i-h});d()};c(document).bind("mobileinit.htmlclass",function(){e.bind("orientationchange.htmlclass resize.htmlclass",function(g){if(g.orientation){a.removeClass("portrait landscape").addClass(g.orientation)}d()})});c(function(){e.trigger("orientationchange.htmlclass")})})(jQuery);(function(e,c){var d=e("<body>").prependTo("html"),g=d[0].style,h=["webkit","moz","o"],i=window.palmGetResource||window.PalmServiceBridge,f=window.blackberry;function b(m){var l=m.charAt(0).toUpperCase()+m.substr(1),k=(m+" "+h.join(l+" ")+l).split(" ");for(var j in k){if(g[j]!==c){return true}}}function a(){var n=location.protocol+"//"+location.host+location.pathname+"ui-dir/",m=e("head base"),o=null,j="";if(!m.length){m=o=e("<base>",{href:n}).appendTo("head")}else{j=m.attr("href")}var l=e("<a href='testurl'></a>").prependTo(d),k=l[0].href;m[0].href=j?j:location.pathname;if(o){o.remove()}return k.indexOf(n)===0}e.mobile.browser={};e.mobile.browser.ie=(function(){var k=3,l=document.createElement("div"),j=l.all||[];while(l.innerHTML="<!--[if gt IE "+(++k)+"]><br><![endif]-->",j[0]){}return k>4?k:!k}());e.extend(e.support,{orientation:"orientation" in window,touch:"ontouchend" in document,cssTransitions:"WebKitTransitionEvent" in window,pushState:!!history.pushState,mediaquery:e.mobile.media("only all"),cssPseudoElement:!!b("content"),boxShadow:!!b("boxShadow")&&!f,scrollTop:("pageXOffset" in window||"scrollTop" in document.documentElement||"scrollTop" in d[0])&&!i,dynamicBaseTag:a()});d.remove();if(!e.support.boxShadow){e("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery);(function(e,g){e.each("touchstart touchmove touchend orientationchange tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(j,h){e.fn[h]=function(i){return i?this.bind(h,i):this.trigger(h)};e.attrFn[h]=true});var d=e.support.touch,c="touchmove scroll",a=d?"touchstart":"mousedown",f=d?"touchend":"mouseup",b=d?"touchmove":"mousemove";e.event.special.scrollstart={enabled:true,setup:function(){var h=this,k=e(h),j,l;function i(n,o){j=o;var m=n.type;n.type=j?"scrollstart":"scrollstop";e.event.handle.call(h,n);n.type=m}k.bind(c,function(m){if(!e.event.special.scrollstart.enabled){return}if(!j){i(m,true)}clearTimeout(l);l=setTimeout(function(){i(m,false)},50)})}};e.event.special.tap={setup:function(){var h=this,i=e(h);i.bind("mousedown touchstart",function(j){if(j.which&&j.which!==1||i.jqmData("prevEvent")&&i.jqmData("prevEvent")!==j.type){return false}i.jqmData("prevEvent",j.type);setTimeout(function(){i.removeData("prevEvent")},800);var p=false,n=true,o=j.target,q=j.originalEvent,r=j.type=="touchstart"?[q.touches[0].pageX,q.touches[0].pageY]:[j.pageX,j.pageY],l,k;function m(t){if(t.type=="scroll"){p=true;return}var s=t.type=="touchmove"?t.originalEvent.touches[0]:t;if((Math.abs(r[0]-s.pageX)>10)||(Math.abs(r[1]-s.pageY)>10)){p=true}}k=setTimeout(function(){if(n&&!p){l=j.type;j.type="taphold";e.event.handle.call(h,j);j.type=l}},750);e(window).one("scroll",m);i.bind("mousemove touchmove",m).one("mouseup touchend",function(s){i.unbind("mousemove touchmove",m);e(window).unbind("scroll",m);clearTimeout(k);n=false;if(!p&&(o==s.target)){l=s.type;s.type="tap";e.event.handle.call(h,s);s.type=l}})})}};e.event.special.swipe={setup:function(){var h=this,i=e(h);i.bind(a,function(k){var m=k.originalEvent.touches?k.originalEvent.touches[0]:k,n={time:(new Date).getTime(),coords:[m.pageX,m.pageY],origin:e(k.target)},j;function l(o){if(!n){return}var p=o.originalEvent.touches?o.originalEvent.touches[0]:o;j={time:(new Date).getTime(),coords:[p.pageX,p.pageY]};if(Math.abs(n.coords[0]-j.coords[0])>10){o.preventDefault()}}i.bind(b,l).one(f,function(o){i.unbind(b,l);if(n&&j){if(j.time-n.time<1000&&Math.abs(n.coords[0]-j.coords[0])>30&&Math.abs(n.coords[1]-j.coords[1])<75){n.origin.trigger("swipe").trigger(n.coords[0]>j.coords[0]?"swipeleft":"swiperight")}}n=j=g})})}};(function(l){var m=l(window),h,k,j;l.event.special.orientationchange=h={setup:function(){if(l.support.orientation){return false}j=k();m.bind("resize",i)},teardown:function(){if(l.support.orientation){return false}m.unbind("resize",i)},add:function(n){var o=n.handler;n.handler=function(p){p.orientation=k();return o.apply(this,arguments)}}};function i(){var n=k();if(n!==j){j=n;m.trigger("orientationchange")}}h.orientation=k=function(){var n=document.documentElement;return n&&n.clientWidth/n.clientHeight<1.1?"portrait":"landscape"}})(jQuery);e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(i,h){e.event.special[i]={setup:function(){e(this).bind(h,e.noop)}}})})(jQuery);
|
|
10
|
+
(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(e){for(var f=0,g;(g=e[f])!=null;f++){b(g).triggerHandler("remove")}c(e)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){b(this).triggerHandler("remove")})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f);if(!k){throw"cannot call methods on "+f+" prior to initialization; attempted to call method '"+i+"'"}if(!b.isFunction(k[i])){throw"no such method '"+i+"' for "+f+" widget instance"}var l=k[i].apply(k,h);if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){var e={};if(b.metadata){e=b.metadata.get(element)[this.widgetName]}return e},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(f,g,h){var k=this.options[f];g=b.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();h=h||{};if(g.originalEvent){for(var e=b.event.props.length,j;e;){j=b.event.props[--e];g[j]=g.originalEvent[j]}}this.element.trigger(g,h);return !(b.isFunction(k)&&k.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);(function(a,b){a.widget("mobile.widget",{_getCreateOptions:function(){var d=this.element,c={};a.each(this.options,function(e){var f=d.jqmData(e.replace(/[A-Z]/g,function(g){return"-"+g.toLowerCase()}));if(f!==b){c[e]=f}});return c}})})(jQuery);(function(c,f){var e=c(window),a=c("html"),b=[320,480,768,1024];c.mobile.media=(function(){var g={},h=c("<div id='jquery-mediatest'>"),i=c("<body>").append(h);return function(l){if(!(l in g)){var j=document.createElement("style"),k="@media "+l+" { #jquery-mediatest { position:absolute; } }";j.type="text/css";if(j.styleSheet){j.styleSheet.cssText=k}else{j.appendChild(document.createTextNode(k))}a.prepend(i).prepend(j);g[l]=h.css("position")==="absolute";i.add(j).remove()}return g[l]}})();function d(){var g=e.width(),k="min-width-",i="max-width-",m=[],j=[],l="px",h;a.removeClass(k+b.join(l+" "+k)+l+" "+i+b.join(l+" "+i)+l);c.each(b,function(n,o){if(g>=o){m.push(k+o+l)}if(g<=o){j.push(i+o+l)}});if(m.length){h=m.join(" ")}if(j.length){h+=" "+j.join(" ")}a.addClass(h)}c.mobile.addResolutionBreakpoints=function(g){if(c.type(g)==="array"){b=b.concat(g)}else{b.push(g)}b.sort(function(i,h){return i-h});d()};c(document).bind("mobileinit.htmlclass",function(){e.bind("orientationchange.htmlclass resize.htmlclass",function(g){if(g.orientation){a.removeClass("portrait landscape").addClass(g.orientation)}d()})});c(function(){e.trigger("orientationchange.htmlclass")})})(jQuery);(function(e,c){var d=e("<body>").prependTo("html"),g=d[0].style,h=["webkit","moz","o"],i="palmGetResource" in window,f=window.blackberry;function b(m){var l=m.charAt(0).toUpperCase()+m.substr(1),k=(m+" "+h.join(l+" ")+l).split(" ");for(var j in k){if(g[j]!==c){return true}}}function a(){var n=location.protocol+"//"+location.host+location.pathname+"ui-dir/",m=e("head base"),o=null,j="";if(!m.length){m=o=e("<base>",{href:n}).appendTo("head")}else{j=m.attr("href")}var l=e("<a href='testurl'></a>").prependTo(d),k=l[0].href;m[0].href=j?j:location.pathname;if(o){o.remove()}return k.indexOf(n)===0}e.mobile.browser={};e.mobile.browser.ie=(function(){var k=3,l=document.createElement("div"),j=l.all||[];while(l.innerHTML="<!--[if gt IE "+(++k)+"]><br><![endif]-->",j[0]){}return k>4?k:!k}());e.extend(e.support,{orientation:"orientation" in window,touch:"ontouchend" in document,cssTransitions:"WebKitTransitionEvent" in window,pushState:!!history.pushState,mediaquery:e.mobile.media("only all"),cssPseudoElement:!!b("content"),boxShadow:!!b("boxShadow")&&!f,scrollTop:("pageXOffset" in window||"scrollTop" in document.documentElement||"scrollTop" in d[0])&&!i,dynamicBaseTag:a(),eventCapture:("addEventListener" in document)});d.remove();if(!e.support.boxShadow){e("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery);(function(w,D,d,l){var C="virtualMouseBindings",b="virtualTouchID",a="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),v="clientX clientY pageX pageY screenX screenY".split(" "),y={},E=0,r=0,q=0,o=false,H=[],f=false,O=false,t=w.support.eventCapture,s=w(d),B=1,K=0;w.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};function p(i){while(i&&typeof i.originalEvent!=="undefined"){i=i.originalEvent}return i}function g(Q,R){var Y=Q.type;Q=w.Event(Q);Q.type=R;var Z=Q.originalEvent;var X=w.event.props;if(Z){for(var U=X.length,P;U;){P=X[--U];Q[P]=Z[P]}}if(Y.search(/^touch/)!==-1){var S=p(Z),Y=S.touches,V=S.changedTouches,T=(Y&&Y.length)?Y[0]:((V&&V.length)?V[0]:l);if(T){for(var U=0,W=v.length;U<W;U++){var P=v[U];Q[P]=T[P]}}}return Q}function M(R){var P={};while(R){var i=w.data(R,C);for(var Q in i){if(i[Q]){P[Q]=P.hasVirtualBinding=true}}R=R.parentNode}return P}function z(Q,P){while(Q){var i=w.data(Q,C);if(i&&(!P||i[P])){return Q}Q=Q.parentNode}return null}function F(){O=false}function j(){O=true}function N(){K=0;H.length=0;f=false;j()}function n(){F()}function u(){x();E=setTimeout(function(){E=0;N()},w.vmouse.resetTimerDuration)}function x(){if(E){clearTimeout(E);E=0}}function m(R,S,i){var Q=false;if((i&&i[R])||(!i&&z(S.target,R))){var P=g(S,R);w(S.target).trigger(P);Q=P.isDefaultPrevented()}return Q}function h(i){var P=w.data(i.target,b);if(!f&&(!K||K!==P)){m("v"+i.type,i)}}function L(Q){var S=p(Q).touches;if(S&&S.length===1){var R=Q.target,i=M(R);if(i.hasVirtualBinding){K=B++;w.data(R,b,K);x();n();o=false;var P=p(Q).touches[0];r=P.pageX;q=P.pageY;m("vmouseover",Q,i);m("vmousedown",Q,i)}}}function G(i){if(O){return}if(!o){m("vmousecancel",i,M(i.target))}o=true;u()}function c(S){if(O){return}var Q=p(S).touches[0];var P=o,R=w.vmouse.moveDistanceThreshold;o=o||(Math.abs(Q.pageX-r)>R||Math.abs(Q.pageY-q)>R);var i=M(S.target);if(o&&!P){m("vmousecancel",S,i)}m("vmousemove",S,i);u()}function e(Q){if(O){return}j();var i=M(Q.target);m("vmouseup",Q,i);if(!o){if(m("vclick",Q,i)){var P=p(Q).changedTouches[0];H.push({touchID:K,x:P.clientX,y:P.clientY});f=true}}m("vmouseout",Q,i);o=false;u()}function A(P){var Q=w.data(P,C),i;if(Q){for(i in Q){if(Q[i]){return true}}}return false}function J(){}function k(i){var P=i.substr(1);return{setup:function(R,Q){if(!A(this)){w.data(this,C,{})}var S=w.data(this,C);S[i]=true;y[i]=(y[i]||0)+1;if(y[i]===1){s.bind(P,h)}w(this).bind(P,J);if(t){y.touchstart=(y.touchstart||0)+1;if(y.touchstart===1){s.bind("touchstart",L).bind("touchend",e).bind("touchmove",c).bind("scroll",G)}}},teardown:function(R,Q){--y[i];if(!y[i]){s.unbind(P,h)}if(t){--y.touchstart;if(!y.touchstart){s.unbind("touchstart",L).unbind("touchmove",c).unbind("touchend",e).unbind("scroll",G)}}var S=w(this),T=w.data(this,C);T[i]=false;S.unbind(P,J);if(!A(this)){S.removeData(C)}}}}for(var I=0;I<a.length;I++){w.event.special[a[I]]=k(a[I])}if(t){d.addEventListener("click",function(U){var Q=H.length;var V=U.target;if(Q){var X=U.clientX,W=U.clientY,T=w.vmouse.clickDistanceThreshold;var Y=V;while(Y){for(var S=0;S<Q;S++){var P=H[S],R=0;if((Y===V&&Math.abs(P.x-X)<T&&Math.abs(P.y-W)<T)||w.data(Y,b)===P.touchID){U.preventDefault();U.stopPropagation();return}}Y=Y.parentNode}}},true)}})(jQuery,window,document);(function(f,h){f.each("touchstart touchmove touchend orientationchange tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(k,j){f.fn[j]=function(i){return i?this.bind(j,i):this.trigger(j)};f.attrFn[j]=true});var e=f.support.touch,d="touchmove scroll",a=e?"touchstart":"mousedown",g=e?"touchend":"mouseup",b=e?"touchmove":"mousemove";function c(l,i,k){var j=k.type;k.type=i;f.event.handle.call(l,k);k.type=j}f.event.special.scrollstart={enabled:true,setup:function(){var i=this,l=f(i),k,m;function j(n,o){k=o;c(i,k?"scrollstart":"scrollstop",n)}l.bind(d,function(n){if(!f.event.special.scrollstart.enabled){return}if(!k){j(n,true)}clearTimeout(m);m=setTimeout(function(){j(n,false)},50)})}};f.event.special.tap={setup:function(){var i=this,j=f(i);j.bind("vmousedown",function(n){if(n.which&&n.which!==1){return false}var l=true,m=n.target,k=n.originalEvent,q;function p(){l=false;clearTimeout(q);j.unbind("vclick",o).unbind("vmousecancel",p)}function o(r){p();if(m==r.target){c(i,"tap",r)}}j.bind("vmousecancel",p).bind("vclick",o);q=setTimeout(function(){if(l){c(i,"taphold",n)}},750)})}};f.event.special.swipe={setup:function(){var i=this,j=f(i);j.bind(a,function(l){var n=l.originalEvent.touches?l.originalEvent.touches[0]:l,o={time:(new Date).getTime(),coords:[n.pageX,n.pageY],origin:f(l.target)},k;function m(p){if(!o){return}var q=p.originalEvent.touches?p.originalEvent.touches[0]:p;k={time:(new Date).getTime(),coords:[q.pageX,q.pageY]};if(Math.abs(o.coords[0]-k.coords[0])>10){p.preventDefault()}}j.bind(b,m).one(g,function(p){j.unbind(b,m);if(o&&k){if(k.time-o.time<1000&&Math.abs(o.coords[0]-k.coords[0])>30&&Math.abs(o.coords[1]-k.coords[1])<75){o.origin.trigger("swipe").trigger(o.coords[0]>k.coords[0]?"swipeleft":"swiperight")}}o=k=h})})}};(function(m){var n=m(window),i,l,k;m.event.special.orientationchange=i={setup:function(){if(m.support.orientation){return false}k=l();n.bind("resize",j)},teardown:function(){if(m.support.orientation){return false}n.unbind("resize",j)},add:function(o){var p=o.handler;o.handler=function(q){q.orientation=l();return p.apply(this,arguments)}}};function j(){var o=l();if(o!==k){k=o;n.trigger("orientationchange")}}i.orientation=l=function(){var o=document.documentElement;return o&&o.clientWidth/o.clientHeight<1.1?"portrait":"landscape"}})(jQuery);f.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(j,i){f.event.special[j]={setup:function(){f(this).bind(i,f.noop)}}})})(jQuery);
|
|
11
11
|
/*!
|
|
12
12
|
* jQuery hashchange event - v1.3 - 7/21/2010
|
|
13
13
|
* http://benalman.com/projects/jquery-hashchange-plugin/
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* Dual licensed under the MIT and GPL licenses.
|
|
17
17
|
* http://benalman.com/about/license/
|
|
18
18
|
*/
|
|
19
|
-
(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);(function(a,b){a.widget("mobile.page",a.mobile.widget,{options:{backBtnText:"Back",addBackBtn:true,degradeInputs:{color:false,date:false,datetime:false,"datetime-local":false,email:false,month:false,number:false,range:"number",search:true,tel:false,time:false,url:false,week:false},keepNative:null},_create:function(){var c=this.element,e=this.options;this.keepNative=":jqmData(role='none'), :jqmData(role='nojs')"+(e.keepNative?", "+e.keepNative:"");if(this._trigger("beforeCreate")===false){return}c.find(":jqmData(role='page'), :jqmData(role='content')").andSelf().each(function(){a(this).addClass("ui-"+a(this).jqmData("role"))});c.find(":jqmData(role='nojs')").addClass("ui-nojs");var d=c.find(":jqmData(role)").andSelf().each(function(){var
|
|
19
|
+
(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||l(a());n()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow;h.onpropertychange=function(){try{if(event.propertyName==="title"){q.document.title=h.title}}catch(s){}}}};j.stop=k;o=function(){return a(q.location.href)};l=function(v,s){var u=q.document,t=$.fn[c].domain;if(v!==s){u.title=h.title;u.open();t&&u.write('<script>document.domain="'+t+'"<\/script>');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);(function(a,b){a.widget("mobile.page",a.mobile.widget,{options:{backBtnText:"Back",addBackBtn:true,backBtnTheme:null,degradeInputs:{color:false,date:false,datetime:false,"datetime-local":false,email:false,month:false,number:false,range:"number",search:true,tel:false,time:false,url:false,week:false},keepNative:null},_create:function(){var c=this.element,e=this.options;this.keepNative=":jqmData(role='none'), :jqmData(role='nojs')"+(e.keepNative?", "+e.keepNative:"");if(this._trigger("beforeCreate")===false){return}c.find(":jqmData(role='page'), :jqmData(role='content')").andSelf().each(function(){a(this).addClass("ui-"+a(this).jqmData("role"))});c.find(":jqmData(role='nojs')").addClass("ui-nojs");var d=c.find(":jqmData(role)").andSelf().each(function(){var k=a(this),l=k.jqmData("role"),j=k.jqmData("theme");if(l==="header"||l==="footer"){k.addClass("ui-bar-"+(j||k.parent(":jqmData(role='page')").jqmData("theme")||"a"));k.attr("role",l==="header"?"banner":"contentinfo");var f=k.children("a"),g=f.hasClass("ui-btn-left"),i=f.hasClass("ui-btn-right");if(!g){g=f.eq(0).not(".ui-btn-right").addClass("ui-btn-left").length}if(!i){i=f.eq(1).addClass("ui-btn-right").length}if(e.addBackBtn&&l==="header"&&a(".ui-page").length>1&&c.jqmData("url")!==a.mobile.path.stripHash(location.hash)&&!g&&k.jqmData("backbtn")!==false){var h=a("<a href='#' class='ui-btn-left' data-"+a.mobile.ns+"rel='back' data-"+a.mobile.ns+"icon='arrow-l'>"+e.backBtnText+"</a>").prependTo(k);if(e.backBtnTheme){h.attr("data-"+a.mobile.ns+"theme",e.backBtnTheme)}}k.children("h1, h2, h3, h4, h5, h6").addClass("ui-title").attr({tabindex:"0",role:"heading","aria-level":"1"})}else{if(l==="content"){if(j){k.addClass("ui-body-"+j)}k.attr("role","main")}else{if(l==="page"){k.addClass("ui-body-"+(j||"c"))}}}switch(l){case"header":case"footer":case"page":case"content":k.addClass("ui-"+l);break;case"collapsible":case"fieldcontain":case"navbar":case"listview":case"dialog":k[l]();break}});this._enhanceControls();c.find(":jqmData(role='button'), .ui-bar > a, .ui-header > a, .ui-footer > a").not(".ui-btn").not(this.keepNative).buttonMarkup();c.find(":jqmData(role='controlgroup')").controlgroup();c.find("a:not(.ui-btn):not(.ui-link-inherit)").not(this.keepNative).addClass("ui-link");c.fixHeaderFooter()},_typeAttributeRegex:/\s+type=["']?\w+['"]?/,_enhanceControls:function(){var e=this.options,c=this;this.element.find("input").not(this.keepNative).each(function(){var i=this.getAttribute("type"),h=e.degradeInputs[i]||"text";if(e.degradeInputs[i]){a(this).replaceWith(a("<div>").html(a(this).clone()).html().replace(c._typeAttributeRegex,' type="'+h+'" data-'+a.mobile.ns+'type="'+i+'" '))}});var g=this.element.find("input, textarea, select, button"),d=g.not(this.keepNative);var f=g.filter("input[type=text]");if(f.length&&typeof f[0].autocorrect!=="undefined"){f.each(function(){this.setAttribute("autocorrect","off");this.setAttribute("autocomplete","off")})}d.filter("[type='radio'], [type='checkbox']").checkboxradio();d.filter("button, [type='button'], [type='submit'], [type='reset'], [type='image']").button();d.filter("input, textarea").not("[type='radio'], [type='checkbox'], [type='button'], [type='submit'], [type='reset'], [type='image'], [type='hidden']").textinput();d.filter("input, select").filter(":jqmData(role='slider'), :jqmData(type='range')").slider();d.filter("select:not(:jqmData(role='slider'))").selectmenu()}})})(jQuery);
|
|
20
20
|
/*!
|
|
21
21
|
* jQuery Mobile v@VERSION
|
|
22
22
|
* http://jquerymobile.com/
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
26
26
|
* http://jquery.org/license
|
|
27
27
|
*/
|
|
28
|
-
(function(c,b,d){c.extend(c.mobile,{ns:"",subPageUrlKey:"ui-page",nonHistorySelectors:"dialog",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",ajaxEnabled:true,hashListeningEnabled:true,ajaxLinksEnabled:true,ajaxFormsEnabled:true,defaultTransition:"slide",loadingMessage:"loading",metaViewportContent:"width=device-width, minimum-scale=1, maximum-scale=1",gradeA:function(){return c.support.mediaquery||c.mobile.browser.ie&&c.mobile.browser.ie>=7},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},silentScroll:function(e){e=e||0;c.event.special.scrollstart.enabled=false;setTimeout(function(){b.scrollTo(0,e);c(document).trigger("silentscroll",{x:0,y:e})},20);setTimeout(function(){c.event.special.scrollstart.enabled=true},150)}});c.fn.jqmData=function(f,e){return this.data(f?c.mobile.ns+f:f,e)};c.jqmData=function(e,g,f){return c.data(e,g&&c.mobile.ns+g,f)};c.fn.jqmRemoveData=function(e){return this.removeData(c.mobile.ns+e)};c.jqmRemoveData=function(e,f){return c.removeData(e,f&&c.mobile.ns+f)};c.jqmHasData=function(e,f){return c.hasData(e,f&&c.mobile.ns+f)};var a=c.find;c.find=function(f,h,g,e){f=f.replace(/:jqmData\(([^)]*)\)/g,"[data-"+(c.mobile.ns||"")+"$1]");return a.call(this,f,h,g,e)};c.extend(c.find,a);c.find.matches=function(e,f){return c.find(e,null,null,f)};c.find.matchesSelector=function(e,f){return c.find(f,null,null,[e]).length>0}})(jQuery,this);(function(c,f){var l=c(window),n=c("html"),j=c("head"),m={get:function(v){if(v===f){v=location.hash}return m.stripHash(v).replace(/[^\/]*\.[^\/*]+$/,"")},getFilePath:function(w){var v="&"+c.mobile.subPageUrlKey;return w&&w.split(v)[0].split(t)[0]},set:function(v){location.hash=v},origin:"",setOrigin:function(){m.origin=m.get(location.protocol+"//"+location.host+location.pathname)},makeAbsolute:function(v){return m.get()+v},clean:function(v){var w=new RegExp("^"+location.protocol+"//"+location.host+location.pathname);return v.replace(w,"")},stripHash:function(v){return v.replace(/^#/,"")},isExternal:function(v){return m.hasProtocol(m.clean(v))},hasProtocol:function(v){return(/^(:?\w+:)/).test(v)},isRelative:function(v){return(/^[^\/|#]/).test(v)&&!m.hasProtocol(v)},isEmbeddedPage:function(v){return(/^#/).test(v)}},u=null,b={stack:[],activeIndex:0,getActive:function(){return b.stack[b.activeIndex]},getPrev:function(){return b.stack[b.activeIndex-1]},getNext:function(){return b.stack[b.activeIndex+1]},addNew:function(v,w){if(b.getNext()){b.clearForward()}b.stack.push({url:v,transition:w});b.activeIndex=b.stack.length-1},clearForward:function(){b.stack=b.stack.slice(0,b.activeIndex+1)},directHashChange:function(x){var v,w,y;c.each(b.stack,function(z,A){if(x.currentUrl===A.url){v=z<b.activeIndex;w=!v;y=z}});this.activeIndex=y!==f?y:this.activeIndex;if(v){x.isBack()}else{if(w){x.isForward()}}},ignoreNextHashChange:true},o="[tabindex],a,button:visible,select:visible,input",a=null,k=[],q=false,t="&ui-state=dialog",i=j.children("base"),s=location.protocol+"//"+location.host,h=m.get(s+location.pathname),e=h;if(i.length){var p=i.attr("href");if(p){if(p.search(/^[^:\/]+:\/\/[^\/]+\/?/)===-1){if(p.charAt(0)==="/"){e=s+p}else{e=h+p}}else{e=p}}e=e+(e.charAt(e.length-1)==="/"?" ":"/")}var d=c.support.dynamicBaseTag?{element:(i.length?i:c("<base>",{href:e}).prependTo(j)),set:function(v){d.element.attr("href",e+m.get(v))},reset:function(){d.element.attr("href",e)}}:f;m.setOrigin();function g(w){var v=w.find(".ui-title:eq(0)");if(v.length){v.focus()}else{w.find(o).eq(0).focus()}}function r(v){if(!!u&&(!u.closest(".ui-page-active").length||v)){u.removeClass(c.mobile.activeBtnClass)}u=null}c.fn.animationComplete=function(v){if(c.support.cssTransitions){return c(this).one("webkitAnimationEnd",v)}else{setTimeout(v,0);return c(this)}};c.mobile.updateHash=m.set;c.mobile.path=m;c.mobile.base=d;c.mobile.urlstack=b.stack;c.mobile.urlHistory=b;c.mobile.allowCrossDomainPages=false;c.mobile.changePage=function(w,P,D,H,x){var z=c.type(w)==="array",O=c.type(w)==="object",M=z?w[0]:c.mobile.activePage;w=z?w[1]:w;var A=c.type(w)==="string"?m.stripHash(w):"",F=A,R,y="get",I=false,C=null,K=b.getActive(),J=false,E=false;if(K&&b.stack.length>1&&K.url===A&&!z&&!O){return}else{if(q){k.unshift(arguments);return}}q=true;if(x){b.directHashChange({currentUrl:A,isBack:function(){E=!(J=true);D=true;P=P||K.transition},isForward:function(){E=!(J=false);P=P||b.getActive().transition}})}if(O&&w.url){A=w.url;R=w.data;y=w.type;I=true;if(R&&y==="get"){if(c.type(R)==="object"){R=c.param(R)}A+="?"+R;R=f}}if(d){d.reset()}c(window.document.activeElement).add("input:focus, textarea:focus, select:focus").blur();function B(){if(P===f){P=(a&&a==="dialog")?"pop":c.mobile.defaultTransition}}function G(){q=false;if(k.length>0){c.mobile.changePage.apply(c.mobile,k.pop())}}function N(){c.mobile.silentScroll();var T=l.scrollTop(),X=["flip"],U=[];if(A.indexOf("&"+c.mobile.subPageUrlKey)>-1){w=c(":jqmData(url='"+A+"')")}if(M){M.jqmData("lastScroll",T);M.data("page")._trigger("beforehide",null,{nextPage:w})}w.data("page")._trigger("beforeshow",null,{prevPage:M||c("")});function S(){if(H!==false&&A){b.ignoreNextHashChange=false;m.set(A)}if(!J&&!E){b.addNew(A,P)}r();c.mobile.silentScroll(w.jqmData("lastScroll"));g(w);if(M){M.data("page")._trigger("hide",null,{nextPage:w})}w.data("page")._trigger("show",null,{prevPage:M||c("")});c.mobile.activePage=w;if(C!==null){C.remove()}n.removeClass("ui-mobile-rendering");G()}function W(Y){c.mobile.pageContainer.addClass(Y);U.push(Y)}function V(){c.mobile.pageContainer.removeClass(U.join(" "));U=[]}if(P&&(P!=="none")){c.mobile.pageLoading(true);if(c.inArray(P,X)>=0){W("ui-mobile-viewport-perspective")}W("ui-mobile-viewport-transitioning");if(M){M.addClass(P+" out "+(D?"reverse":""))}w.addClass(c.mobile.activePageClass+" "+P+" in "+(D?"reverse":""));w.animationComplete(function(){w.add(M).removeClass("out in reverse "+P);if(M){M.removeClass(c.mobile.activePageClass)}S();V()})}else{c.mobile.pageLoading(true);if(M){M.removeClass(c.mobile.activePageClass)}w.addClass(c.mobile.activePageClass);S()}}function L(){if(a||w.jqmData("role")==="dialog"){A=b.getActive().url+t;if(a){w.attr("data-"+c.mobile.ns+"role",a);a=null}}w.page()}if(A){w=c(":jqmData(url='"+A+"')");F=m.getFilePath(A)}else{var v=w.attr("data-"+c.mobile.ns+"url"),Q=m.getFilePath(v);if(v!==Q){F=Q}}B();if(w.length&&!I){if(F&&d){d.set(F)}L();N()}else{if(w.length){C=w}c.mobile.pageLoading();c.ajax({url:F,type:y,data:R,success:function(U){var V=c("<div></div>"),S,X=new RegExp(".*(<[^>]+\\bdata-"+c.mobile.ns+"role=[\"']?page[\"']?[^>]*>).*"),T=new RegExp("\\bdata-"+c.mobile.ns+"url=[\"']?([^\"'>]*)[\"']?");if(X.test(U)&&RegExp.$1&&T.test(RegExp.$1)&&RegExp.$1){S=RegExp.$1}if(S){if(d){d.set(S)}A=F=m.getFilePath(S)}else{if(d){d.set(F)}}V.get(0).innerHTML=U;w=V.find(":jqmData(role='page'), :jqmData(role='dialog')").first();if(!c.support.dynamicBaseTag){var W=m.get(F);w.find("[src],link[href]").each(function(){var Z=c(this).is("[href]")?"href":"src",Y=c(this).attr(Z);Y.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(Y)){c(this).attr(Z,W+Y)}})}w.attr("data-"+c.mobile.ns+"url",F).appendTo(c.mobile.pageContainer);L();setTimeout(function(){N()},0)},error:function(){c.mobile.pageLoading(true);r(true);if(d){d.set(m.get())}c("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>Error Loading Page</h1></div>").css({display:"block",opacity:0.96,top:c(window).scrollTop()+100}).appendTo(c.mobile.pageContainer).delay(800).fadeOut(400,function(){c(this).remove()});G()}})}};c("form").live("submit",function(x){if(!c.mobile.ajaxEnabled||!c.mobile.ajaxFormsEnabled||c(this).is(":jqmData(ajax='false')")){return}var w=c(this).attr("method"),v=m.clean(c(this).attr("action")),y=c(this).attr("target");if(m.isExternal(v)||y){return}if(m.isRelative(v)){v=m.makeAbsolute(v)}c.mobile.changePage({url:v.length&&v||m.get(),type:w.length&&w.toLowerCase()||"get",data:c(this).serialize()},c(this).jqmData("transition"),c(this).jqmData("direction"),true);x.preventDefault()});c("a").live("click",function(w){var G=c(this),y=G.attr("href")||"#",C=m.hasProtocol(y),x=m.clean(y),z=G.is("[rel='external']"),H=m.isEmbeddedPage(x),F=(c.mobile.allowCrossDomainPages&&location.protocol==="file:"&&x.search(/^https?:/)!=-1),v=(m.isExternal(x)&&!F)||(z&&!H),E=G.is("[target]"),A=G.is(":jqmData(ajax='false')");if(G.is(":jqmData(rel='back')")){window.history.back();return false}if(x.replace(m.get(),"")=="#"){w.preventDefault();return}u=G.closest(".ui-btn").addClass(c.mobile.activeBtnClass);if(v||A||E||!c.mobile.ajaxEnabled||!c.mobile.ajaxLinksEnabled){window.setTimeout(function(){r(true)},200);return}else{var D=G.jqmData("transition"),I=G.jqmData("direction"),B=(I&&I==="reverse")||G.jqmData("back");a=G.attr("data-"+c.mobile.ns+"rel");if(m.isRelative(x)&&!C){x=m.makeAbsolute(x)}x=m.stripHash(x);c.mobile.changePage(x,D,B)}w.preventDefault()});l.bind("hashchange",function(w,v){var y=m.stripHash(location.hash),x=c.mobile.urlHistory.stack.length===0?false:f;if(!c.mobile.hashListeningEnabled||!b.ignoreNextHashChange){if(!b.ignoreNextHashChange){b.ignoreNextHashChange=true}return}if(b.stack.length>1&&y.indexOf(t)>-1&&!c.mobile.activePage.is(".ui-dialog")){b.directHashChange({currentUrl:y,isBack:function(){window.history.back()},isForward:function(){window.history.forward()}});return}if(y){c.mobile.changePage(y,x,f,false,true)}else{c.mobile.changePage(c.mobile.firstPage,x,true,false,true)}})})(jQuery);(function(a,b){a.fn.fixHeaderFooter=function(c){if(!a.support.scrollTop){return this}return this.each(function(){var d=a(this);if(d.jqmData("fullscreen")){d.addClass("ui-page-fullscreen")}d.find(".ui-header:jqmData(position='fixed')").addClass("ui-header-fixed ui-fixed-inline fade");d.find(".ui-footer:jqmData(position='fixed')").addClass("ui-footer-fixed ui-fixed-inline fade")})};a.fixedToolbars=(function(){if(!a.support.scrollTop){return}var g="inline",o=false,d=100,e,n="a,input,textarea,select,button,label,.ui-header-fixed,.ui-footer-fixed",p=".ui-header-fixed:first, .ui-footer-fixed:not(.ui-footer-duplicate):last",m,i=a.support.touch,q=i?"touchstart":"mousedown",k=i?"touchend":"mouseup",h=null,j=false,c=true;function f(s){if(!o&&g=="overlay"){if(!e){a.fixedToolbars.hide(true)}a.fixedToolbars.startShowTimer()}}a(function(){a(document).bind(q,function(s){if(c){if(a(s.target).closest(n).length){return}h=g}}).bind(k,function(s){if(c){if(a(s.target).closest(n).length){return}if(!j){a.fixedToolbars.toggle(h);h=null}}}).bind("scrollstart",function(t){if(a(t.target).closest(n).length){return}j=true;if(h==null){h=g}var s=h=="overlay";o=s||!!e;if(o){a.fixedToolbars.clearShowTimer();if(s){a.fixedToolbars.hide(true)}}}).bind("scrollstop",function(s){if(a(s.target).closest(n).length){return}j=false;if(o){o=false;a.fixedToolbars.startShowTimer()}h=null}).bind("silentscroll",f);a(window).bind("resize",f)});a(".ui-page").live("pagebeforeshow",function(s,u){var t=a(s.target),w=t.find(":jqmData(role='footer'):not(.ui-sticky-footer)"),v=w.jqmData("id");m=null;if(v){m=a(".ui-footer:jqmData(id='"+v+"').ui-sticky-footer");if(m.length==0){m=w;w=m.clone();m.addClass("ui-sticky-footer").before(w)}w.addClass("ui-footer-duplicate");m.appendTo(a.mobile.pageContainer).css("top",0);r(m)}});a(".ui-page").live("pageshow",function(s,t){if(m&&m.length){m.appendTo(s.target).css("top",0)}a.fixedToolbars.show(true,this)});function l(t){var u=0;if(t){var v=t.offsetParent,s=document.body;u=t.offsetTop;while(t&&t!=s){u+=t.scrollTop||0;if(t==v){u+=v.offsetTop;v=t.offsetParent}t=t.parentNode}}return u}function r(w){var s=a(window).scrollTop(),x=l(w[0]),v=w.css("top")=="auto"?0:parseFloat(w.css("top")),z=window.innerHeight,y=w.outerHeight(),u=w.parents(".ui-page:not(.ui-page-fullscreen)").length,t;if(w.is(".ui-header-fixed")){t=s-x+v;if(t<x){t=0}return w.css("top",(u)?t:s)}else{t=s+z-y-(x-v);return w.css("top",(u)?t:s+z-y)}}return{show:function(s,u){a.fixedToolbars.clearShowTimer();g="overlay";var t=u?a(u):(a.mobile.activePage?a.mobile.activePage:a(".ui-page-active"));return t.children(p).each(function(){var x=a(this),v=a(window).scrollTop(),y=l(x[0]),A=window.innerHeight,z=x.outerHeight(),w=(x.is(".ui-header-fixed")&&v<=y+z)||(x.is(".ui-footer-fixed")&&y<=v+A);x.addClass("ui-fixed-overlay").removeClass("ui-fixed-inline");if(!w&&!s){x.animationComplete(function(){x.removeClass("in")}).addClass("in")}r(x)})},hide:function(s){g="inline";var t=a.mobile.activePage?a.mobile.activePage:a(".ui-page-active");return t.children(p).each(function(){var w=a(this);var v=w.css("top");v=v=="auto"?0:parseFloat(v);w.addClass("ui-fixed-inline").removeClass("ui-fixed-overlay");if(v<0||(w.is(".ui-header-fixed")&&v!=0)){if(s){w.css("top",0)}else{if(w.css("top")!=="auto"&&parseFloat(w.css("top"))!==0){var u="out reverse";w.animationComplete(function(){w.removeClass(u);w.css("top",0)}).addClass(u)}}}})},startShowTimer:function(){a.fixedToolbars.clearShowTimer();var s=a.makeArray(arguments);e=setTimeout(function(){e=b;a.fixedToolbars.show.apply(null,s)},d)},clearShowTimer:function(){if(e){clearTimeout(e)}e=b},toggle:function(s){if(s){g=s}return(g=="overlay")?a.fixedToolbars.hide():a.fixedToolbars.show()},setTouchToggleEnabled:function(s){c=s}}})()})(jQuery);(function(a,b){a.widget("mobile.checkboxradio",a.mobile.widget,{options:{theme:null},_create:function(){var d=this,c=this.element,f=c.closest("form,fieldset,:jqmData(role='page')").find("label").filter("[for="+c[0].id+"]"),h=c.attr("type"),g="ui-icon-"+h+"-on",e="ui-icon-"+h+"-off";if(h!="checkbox"&&h!="radio"){return}a.extend(this,{label:f,inputtype:h,checkedicon:g,uncheckedicon:e});if(!this.options.theme){this.options.theme=this.element.jqmData("theme")}f.buttonMarkup({theme:this.options.theme,icon:this.element.parents(":jqmData(type='horizontal')").length?b:e,shadow:false});c.add(f).wrapAll("<div class='ui-"+h+"'></div>");f.bind({mouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},touchmove:function(i){var j=i.originalEvent.touches[0];if(f.jqmData("movestart")){if(Math.abs(f.jqmData("movestart")[0]-j.pageX)>10||Math.abs(f.jqmData("movestart")[1]-j.pageY)>10){f.jqmData("moved",true)}}else{f.jqmData("movestart",[parseFloat(j.pageX),parseFloat(j.pageY)])}},"touchend mouseup":function(i){if(c.is(":disabled")){i.preventDefault();return}f.removeData("movestart");if(f.jqmData("etype")&&f.jqmData("etype")!==i.type||f.jqmData("moved")){f.removeData("etype").removeData("moved");if(f.jqmData("moved")){f.removeData("moved")}return false}f.jqmData("etype",i.type);d._cacheVals();c.attr("checked",h==="radio"&&true||!c.is(":checked"));d._updateAll();i.preventDefault()},click:false});c.bind({mousedown:function(){this._cacheVals()},click:function(){d._updateAll()},focus:function(){f.addClass("ui-focus")},blur:function(){f.removeClass("ui-focus")}});this.refresh()},_cacheVals:function(){this._getInputSet().each(function(){a(this).jqmData("cacheVal",a(this).is(":checked"))})},_getInputSet:function(){return this.element.closest("form,fieldset,:jqmData(role='page')").find("input[name='"+this.element.attr("name")+"'][type='"+this.inputtype+"']")},_updateAll:function(){this._getInputSet().each(function(){var c=a(this).jqmData("cacheVal");if(c&&c!==a(this).is(":checked")||this.inputtype==="checkbox"){a(this).trigger("change")}}).checkboxradio("refresh")},refresh:function(){var c=this.element,d=this.label,e=d.find(".ui-icon");if(c[0].checked){d.addClass(a.mobile.activeBtnClass);e.addClass(this.checkedicon).removeClass(this.uncheckedicon)}else{d.removeClass(a.mobile.activeBtnClass);e.removeClass(this.checkedicon).addClass(this.uncheckedicon)}if(c.is(":disabled")){this.disable()}else{this.enable()}},disable:function(){this.element.attr("disabled",true).parent().addClass("ui-disabled")},enable:function(){this.element.attr("disabled",false).parent().removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.textinput",a.mobile.widget,{options:{theme:null},_create:function(){var k=this.element,e=this.options,h=e.theme,n;if(!h){var f=this.element.closest("[class*='ui-bar-'],[class*='ui-body-']");h=f.length?/ui-(bar|body)-([a-z])/.exec(f.attr("class"))[2]:"c"}n=" ui-body-"+h;a("label[for="+k.attr("id")+"]").addClass("ui-input-text");k.addClass("ui-input-text ui-body-"+e.theme);var i=k;if(k.is("[type='search'],:jqmData(type='search')")){i=k.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-btn-shadow ui-icon-searchfield'+n+'"></div>').parent();var l=a('<a href="#" class="ui-input-clear" title="clear text">clear text</a>').tap(function(o){k.val("").focus();k.trigger("change");l.addClass("ui-input-clear-hidden");o.preventDefault()}).appendTo(i).buttonMarkup({icon:"delete",iconpos:"notext",corners:true,shadow:true});function d(){if(k.val()==""){l.addClass("ui-input-clear-hidden")}else{l.removeClass("ui-input-clear-hidden")}}d();k.keyup(d)}else{k.addClass("ui-corner-all ui-shadow-inset"+n)}k.focus(function(){i.addClass("ui-focus")}).blur(function(){i.removeClass("ui-focus")});if(k.is("textarea")){var g=15,j=100,c=function(){var p=k[0].scrollHeight,o=k[0].clientHeight;if(o<p){k.css({height:(p+g)})}},m;k.keyup(function(){clearTimeout(m);m=setTimeout(c,j)})}},disable:function(){(this.element.attr("disabled",true).is("[type='search'],:jqmData(type='search')")?this.element.parent():this.element).addClass("ui-disabled")},enable:function(){(this.element.attr("disabled",false).is("[type='search'],:jqmData(type='search')")?this.element.parent():this.element).removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.selectmenu",a.mobile.widget,{options:{theme:null,disabled:false,icon:"arrow-d",iconpos:"right",inline:null,corners:true,shadow:true,iconshadow:true,menuPageTheme:"b",overlayTheme:"a",hidePlaceholderMenuItems:true,closeText:"Close",nativeMenu:true},_create:function(){var r=this,u=this.options,t=this.element.wrap("<div class='ui-select'>"),x=t.attr("id"),n=a("label[for="+x+"]").addClass("ui-select"),h=t[0].selectedIndex==-1?0:t[0].selectedIndex,e=(r.options.nativeMenu?a("<div/>"):a("<a>",{href:"#",role:"button",id:m,"aria-haspopup":"true","aria-owns":p})).text(a(t[0].options.item(h)).text()).insertBefore(t).buttonMarkup({theme:u.theme,icon:u.icon,iconpos:u.iconpos,inline:u.inline,corners:u.corners,shadow:u.shadow,iconshadow:u.iconshadow}),k=r.isMultiple=t[0].multiple;if(u.nativeMenu&&window.opera&&window.opera.version){t.addClass("ui-select-nativeonly")}if(!u.nativeMenu){var i=t.find("option"),m=x+"-button",p=x+"-menu",c=t.closest(".ui-page"),z=/ui-btn-up-([a-z])/.exec(e.attr("class"))[1],s=a("<div data-"+a.mobile.ns+"role='dialog' data-"+a.mobile.ns+"theme='"+u.menuPageTheme+"'><div data-"+a.mobile.ns+"role='header'><div class='ui-title'>"+n.text()+"</div></div><div data-"+a.mobile.ns+"role='content'></div></div>").appendTo(a.mobile.pageContainer).page(),j=s.find(".ui-content"),g=s.find(".ui-header a"),f=a("<div>",{"class":"ui-selectmenu-screen ui-screen-hidden"}).appendTo(c),d=a("<div>",{"class":"ui-selectmenu ui-selectmenu-hidden ui-overlay-shadow ui-corner-all pop ui-body-"+u.overlayTheme}).insertAfter(f),y=a("<ul>",{"class":"ui-selectmenu-list",id:p,role:"listbox","aria-labelledby":m}).attr("data-"+a.mobile.ns+"theme",z).appendTo(d),w=a("<div>",{"class":"ui-header ui-bar-"+z}).prependTo(d),v=a("<h1>",{"class":"ui-title"}).appendTo(w),l=a("<a>",{text:u.closeText,href:"#","class":"ui-btn-left"}).attr("data-"+a.mobile.ns+"iconpos","notext").attr("data-"+a.mobile.ns+"icon","delete").appendTo(w).buttonMarkup(),q}if(k){r.buttonCount=a("<span>").addClass("ui-li-count ui-btn-up-c ui-btn-corner-all").hide().appendTo(e)}if(u.disabled){this.disable()}t.change(function(){r.refresh()});a.extend(r,{select:t,optionElems:i,selectID:x,label:n,buttonId:m,menuId:p,thisPage:c,button:e,menuPage:s,menuPageContent:j,screen:f,listbox:d,list:y,menuType:q,header:w,headerClose:l,headerTitle:v,placeholder:""});if(u.nativeMenu){t.appendTo(e).bind("touchstart mousedown",function(o){e.addClass(a.mobile.activeBtnClass)}).bind("focus mouseover",function(){e.trigger("mouseover")}).bind("touchmove",function(){e.removeClass(a.mobile.activeBtnClass)}).bind("change blur mouseout",function(){e.trigger("mouseout").removeClass(a.mobile.activeBtnClass)})}else{r.refresh();t.attr("tabindex","-1").focus(function(){a(this).blur();e.focus()});e.bind("touchstart",function(o){a(this).jqmData("startTouches",a.extend({},o.originalEvent.touches[0]))}).bind(a.support.touch?"touchend":"mouseup",function(o){if(a(this).jqmData("moved")){a(this).removeData("moved")}else{r.open()}o.preventDefault()}).bind("touchmove",function(B){var D=B.originalEvent.touches[0],C=a(this).jqmData("startTouches"),A=Math.abs(D.pageX-C.pageX),o=Math.abs(D.pageY-C.pageY);if(A>10||o>10){a(this).jqmData("moved",true)}});y.delegate("li:not(.ui-disabled, .ui-li-divider)","click",function(B){if(!a(B.target).is("a")){return}var o=y.find("li:not(.ui-li-divider)").index(this),A=r.optionElems.eq(o)[0];A.selected=k?!A.selected:true;if(k){a(this).find(".ui-icon").toggleClass("ui-icon-checkbox-on",A.selected).toggleClass("ui-icon-checkbox-off",!A.selected)}t.trigger("change");if(!k){r.close()}B.preventDefault()});f.click(function(o){r.close()})}},_buildList:function(){var e=this,h=this.options,g=this.placeholder,c=[],f=[],d=e.isMultiple?"checkbox-off":"false";e.list.empty().filter(".ui-listview").listview("destroy");e.select.find("option").each(function(m){var p=a(this),o=p.parent(),q=p.text(),j="<a href='#'>"+q+"</a>",l=[],n=[];if(o.is("optgroup")){var k=o.attr("label");if(a.inArray(k,c)===-1){f.push("<li data-"+a.mobile.ns+"role='list-divider'>"+k+"</li>");c.push(k)}}if(!this.getAttribute("value")||q.length==0||p.jqmData("placeholder")){if(h.hidePlaceholderMenuItems){l.push("ui-selectmenu-placeholder")}g=e.placeholder=q}if(this.disabled){l.push("ui-disabled");n.push("aria-disabled='true'")}f.push("<li data-"+a.mobile.ns+"icon='"+d+"' class='"+l.join(" ")+"' "+n.join(" ")+">"+j+"</li>")});e.list.html(f.join(" "));if(!this.isMultiple){this.headerClose.hide()}if(!this.isMultiple&&!g.length){this.header.hide()}else{this.headerTitle.text(this.placeholder)}e.list.listview()},refresh:function(g){var d=this,c=this.element,h=this.isMultiple,e=this.optionElems=c.find("option"),f=e.filter(":selected"),i=f.map(function(){return e.index(this)}).get();if(!d.options.nativeMenu&&(g||c[0].options.length!=d.list.find("li").length)){d._buildList()}d.button.find(".ui-btn-text").text(function(){if(!h){return f.text()}return f.length?f.map(function(){return a(this).text()}).get().join(", "):d.placeholder});if(h){d.buttonCount[f.length>1?"show":"hide"]().text(f.length)}if(!d.options.nativeMenu){d.list.find("li:not(.ui-li-divider)").removeClass(a.mobile.activeBtnClass).attr("aria-selected",false).each(function(j){if(a.inArray(j,i)>-1){var k=a(this).addClass(a.mobile.activeBtnClass);k.find("a").attr("aria-selected",true);if(h){k.find(".ui-icon").removeClass("ui-icon-checkbox-off").addClass("ui-icon-checkbox-on")}}})}},open:function(){if(this.options.disabled||this.options.nativeMenu){return}var q=this,h=q.list.parent().outerHeight(),m=q.list.parent().outerWidth(),g=a(window).scrollTop(),p=q.button.offset().top,e=window.innerHeight,d=window.innerWidth,f=q.list.parents(".ui-dialog").length;q.button.addClass(a.mobile.activeBtnClass);setTimeout(function(){q.button.removeClass(a.mobile.activeBtnClass)},300);function i(){q.list.find(".ui-btn-active").focus()}if(f||h>e-80||!a.support.scrollTop){if(g==0&&p>e){q.thisPage.one("pagehide",function(){a(this).jqmData("lastScroll",p)})}q.menuPage.one("pageshow",function(){a(window).one("silentscroll",function(){i()})});q.menuType="page";q.menuPageContent.append(q.list);a.mobile.changePage(q.menuPage,"pop",false,true)}else{q.menuType="overlay";q.screen.height(a(document).height()).removeClass("ui-screen-hidden");var l=p-g,j=g+e-p,o=h/2,c=parseFloat(q.list.parent().css("max-width")),n,k;if(l>h/2&&j>h/2){n=p+(q.button.outerHeight()/2)-o}else{n=l>j?g+e-h-30:g+30}if(m<c){k=(d-m)/2}else{k=q.button.offset().left+q.button.outerWidth()/2-m/2;if(k<30){k=30}else{if((k+m)>d){k=d-m-30}}}q.listbox.append(q.list).removeClass("ui-selectmenu-hidden").css({top:n,left:k}).addClass("in");i()}setTimeout(function(){q.isOpen=true},400)},close:function(){if(this.options.disabled||!this.isOpen||this.options.nativeMenu){return}var c=this;function d(){setTimeout(function(){c.button.focus()},40);c.listbox.removeAttr("style").append(c.list)}if(c.menuType=="page"){a.mobile.changePage([c.menuPage,c.thisPage],"pop",true,false);c.menuPage.one("pagehide",d)}else{c.screen.addClass("ui-screen-hidden");c.listbox.addClass("ui-selectmenu-hidden").removeAttr("style").removeClass("in");d()}this.isOpen=false},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)}})})(jQuery);(function(b,c){b.fn.buttonMarkup=function(d){return this.each(function(){var j=b(this),k=b.extend({},b.fn.buttonMarkup.defaults,j.jqmData(),d),f,h="ui-btn-inner",e;if(a){a()}if(!k.theme){var g=j.closest("[class*='ui-bar-'],[class*='ui-body-']");k.theme=g.length?/ui-(bar|body)-([a-z])/.exec(g.attr("class"))[2]:"c"}f="ui-btn ui-btn-up-"+k.theme;if(k.inline){f+=" ui-btn-inline"}if(k.icon){k.icon="ui-icon-"+k.icon;k.iconpos=k.iconpos||"left";e="ui-icon "+k.icon;if(k.shadow){e+=" ui-icon-shadow"}}if(k.iconpos){f+=" ui-btn-icon-"+k.iconpos;if(k.iconpos=="notext"&&!j.attr("title")){j.attr("title",j.text())}}if(k.corners){f+=" ui-btn-corner-all";h+=" ui-btn-corner-all"}if(k.shadow){f+=" ui-shadow"}j.attr("data-"+b.mobile.ns+"theme",k.theme).addClass(f);var i=("<D class='"+h+"'><D class='ui-btn-text'></D>"+(k.icon?"<span class='"+e+"'></span>":"")+"</D>").replace(/D/g,k.wrapperEls);j.wrapInner(i)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};var a=function(){b(".ui-btn:not(.ui-disabled)").live({"touchstart mousedown":function(){var d=b(this).attr("data-"+b.mobile.ns+"theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-down-"+d)},"touchmove touchend mouseup":function(){var d=b(this).attr("data-"+b.mobile.ns+"theme");b(this).removeClass("ui-btn-down-"+d).addClass("ui-btn-up-"+d)},"mouseover focus":function(){var d=b(this).attr("data-"+b.mobile.ns+"theme");b(this).removeClass("ui-btn-up-"+d).addClass("ui-btn-hover-"+d)},"mouseout blur":function(){var d=b(this).attr("data-"+b.mobile.ns+"theme");b(this).removeClass("ui-btn-hover-"+d).addClass("ui-btn-up-"+d)}});a=null}})(jQuery);(function(a,b){a.widget("mobile.button",a.mobile.widget,{options:{theme:null,icon:null,iconpos:null,inline:null,corners:true,shadow:true,iconshadow:true},_create:function(){var c=this.element,e=this.options;this.button=a("<div></div>").text(c.text()||c.val()).buttonMarkup({theme:e.theme,icon:e.icon,iconpos:e.iconpos,inline:e.inline,corners:e.corners,shadow:e.shadow,iconshadow:e.iconshadow}).insertBefore(c).append(c.addClass("ui-btn-hidden"));var d=c.attr("type");if(d!=="button"&&d!=="reset"){c.click(function(){var f=a("<input>",{type:"hidden",name:c.attr("name"),value:c.attr("value")}).insertBefore(c);a(document).submit(function(){f.remove()})})}this.refresh()},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},refresh:function(){if(this.element.attr("disabled")){this.disable()}else{this.enable()}}})})(jQuery);(function(a,b){a.widget("mobile.slider",a.mobile.widget,{options:{theme:null,trackTheme:null,disabled:false},_create:function(){var r=this,j=this.element,f=j.parents("[class*=ui-bar-],[class*=ui-body-]").eq(0),f=f.length?f.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c",k=this.options.theme?this.options.theme:f,g=this.options.trackTheme?this.options.trackTheme:f,l=j[0].nodeName.toLowerCase(),n=(l=="select")?"ui-slider-switch":"",h=j.attr("id"),m=h+"-label",q=a("[for="+h+"]").attr("id",m),e=function(){return(l=="input")?parseFloat(j.val()):j[0].selectedIndex},i=(l=="input")?parseFloat(j.attr("min")):0,p=(l=="input")?parseFloat(j.attr("max")):j.find("option").length-1,d=window.parseFloat(j.attr("step")||1),c=a('<div class="ui-slider '+n+" ui-btn-down-"+g+' ui-btn-corner-all" role="application"></div>'),o=a('<a href="#" class="ui-slider-handle"></a>').appendTo(c).buttonMarkup({corners:true,theme:k,shadow:true}).attr({role:"slider","aria-valuemin":i,"aria-valuemax":p,"aria-valuenow":e(),"aria-valuetext":e(),title:e(),"aria-labelledby":m});a.extend(this,{slider:c,handle:o,dragging:false,beforeStart:null});if(l=="select"){c.wrapInner('<div class="ui-slider-inneroffset"></div>');var s=j.find("option");j.find("option").each(function(v){var u=(v==0)?"b":"a",t=(v==0)?"right":"left",w=(v==0)?" ui-btn-down-"+g:" ui-btn-active";a('<div class="ui-slider-labelbg ui-slider-labelbg-'+u+w+" ui-btn-corner-"+t+'"></div>').prependTo(c);a('<span class="ui-slider-label ui-slider-label-'+u+w+" ui-btn-corner-"+t+'" role="img">'+a(this).text()+"</span>").prependTo(o)})}q.addClass("ui-slider");j.addClass((l=="input")?"ui-slider-input":"ui-slider-switch").change(function(){r.refresh(e(),true)}).keyup(function(){r.refresh(e(),true,true)}).blur(function(){r.refresh(e(),true)});a(document).bind("touchmove mousemove",function(t){if(r.dragging){r.refresh(t);return false}});c.bind("touchstart mousedown",function(t){r.dragging=true;if(l==="select"){r.beforeStart=j[0].selectedIndex}r.refresh(t);return false});c.add(document).bind("touchend mouseup",function(){if(r.dragging){r.dragging=false;if(l==="select"){if(r.beforeStart===j[0].selectedIndex){r.refresh(r.beforeStart===0?1:0)}var u=e();var t=Math.round(u/(p-i)*100);o.addClass("ui-slider-handle-snapping").css("left",t+"%").animationComplete(function(){o.removeClass("ui-slider-handle-snapping")})}return false}});c.insertAfter(j);this.handle.bind("touchstart mousedown",function(){a(this).focus()});this.handle.bind("keydown",function(u){var t=e();if(r.options.disabled){return}switch(u.keyCode){case a.mobile.keyCode.HOME:case a.mobile.keyCode.END:case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:u.preventDefault();if(!r._keySliding){r._keySliding=true;a(this).addClass("ui-state-active")}break}switch(u.keyCode){case a.mobile.keyCode.HOME:r.refresh(i);break;case a.mobile.keyCode.END:r.refresh(p);break;case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:r.refresh(t+d);break;case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:r.refresh(t-d);break}}).keyup(function(t){if(r._keySliding){r._keySliding=false;a(this).removeClass("ui-state-active")}});this.refresh()},refresh:function(e,c,m){if(this.options.disabled){return}var h=this.element,j,i=h[0].nodeName.toLowerCase(),f=(i==="input")?parseFloat(h.attr("min")):0,k=(i==="input")?parseFloat(h.attr("max")):h.find("option").length-1;if(typeof e==="object"){var g=e.originalEvent.touches?e.originalEvent.touches[0]:e,l=8;if(!this.dragging||g.pageX<this.slider.offset().left-l||g.pageX>this.slider.offset().left+this.slider.width()+l){return}j=Math.round(((g.pageX-this.slider.offset().left)/this.slider.width())*100)}else{if(e==null){e=(i==="input")?parseFloat(h.val()):h[0].selectedIndex}j=(parseFloat(e)-f)/(k-f)*100}if(isNaN(j)){return}if(j<0){j=0}if(j>100){j=100}var d=Math.round((j/100)*(k-f))+f;if(d<f){d=f}if(d>k){d=k}if(j>60&&i==="select"){}this.handle.css("left",j+"%");this.handle.attr({"aria-valuenow":(i==="input")?d:h.find("option").eq(d).attr("value"),"aria-valuetext":(i==="input")?d:h.find("option").eq(d).text(),title:d});if(i==="select"){if(d===0){this.slider.addClass("ui-slider-switch-a").removeClass("ui-slider-switch-b")}else{this.slider.addClass("ui-slider-switch-b").removeClass("ui-slider-switch-a")}}if(!m){if(i==="input"){h.val(d)}else{h[0].selectedIndex=d}if(!c){h.trigger("change")}}},enable:function(){this.element.attr("disabled",false);this.slider.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.slider.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)}})})(jQuery);(function(a,b){a.widget("mobile.collapsible",a.mobile.widget,{options:{expandCueText:" click to expand contents",collapseCueText:" click to collapse contents",collapsed:false,heading:">:header,>legend",theme:null,iconTheme:"d"},_create:function(){var e=this.element,f=this.options,c=e.addClass("ui-collapsible-contain"),d=e.find(f.heading).eq(0),i=c.wrapInner('<div class="ui-collapsible-content"></div>').find(".ui-collapsible-content"),h=e.closest(":jqmData(role='collapsible-set')").addClass("ui-collapsible-set");if(d.is("legend")){d=a('<div role="heading">'+d.html()+"</div>").insertBefore(d);d.next().remove()}d.insertBefore(i);d.addClass("ui-collapsible-heading").append('<span class="ui-collapsible-heading-status"></span>').wrapInner('<a href="#" class="ui-collapsible-heading-toggle"></a>').find("a:eq(0)").buttonMarkup({shadow:!!!h.length,corners:false,iconPos:"left",icon:"plus",theme:f.theme}).find(".ui-icon").removeAttr("class").buttonMarkup({shadow:true,corners:true,iconPos:"notext",icon:"plus",theme:f.iconTheme});if(!h.length){d.find("a:eq(0)").addClass("ui-corner-all").find(".ui-btn-inner").addClass("ui-corner-all")}else{if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}c.bind("collapse",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.addClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.expandCueText);d.find(".ui-icon").removeClass("ui-icon-minus").addClass("ui-icon-plus");i.addClass("ui-collapsible-content-collapsed").attr("aria-hidden",true);if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}}).bind("expand",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.removeClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.collapseCueText);d.find(".ui-icon").removeClass("ui-icon-plus").addClass("ui-icon-minus");i.removeClass("ui-collapsible-content-collapsed").attr("aria-hidden",false);if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(f.collapsed?"collapse":"expand");if(h.length&&!h.jqmData("collapsiblebound")){h.jqmData("collapsiblebound",true).bind("expand",function(j){a(this).find(".ui-collapsible-contain").not(a(j.target).closest(".ui-collapsible-contain")).not("> .ui-collapsible-contain .ui-collapsible-contain").trigger("collapse")});var g=h.find(":jqmData(role=collapsible)");g.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");g.last().jqmData("collapsible-last",true)}d.bind({tap:function(){if(d.is(".ui-collapsible-heading-collapsed")){c.trigger("expand")}else{c.trigger("collapse")}return false},click:false})}})})(jQuery);(function(a,b){a.fn.controlgroup=function(c){return this.each(function(){var g=a.extend({direction:a(this).jqmData("type")||"vertical",shadow:false},c);var h=a(this).find(">legend"),d=g.direction=="horizontal"?["ui-corner-left","ui-corner-right"]:["ui-corner-top","ui-corner-bottom"],e=a(this).find("input:eq(0)").attr("type");if(h.length){a(this).wrapInner('<div class="ui-controlgroup-controls"></div>');a('<div role="heading" class="ui-controlgroup-label">'+h.html()+"</div>").insertBefore(a(this).children(0));h.remove()}a(this).addClass("ui-corner-all ui-controlgroup ui-controlgroup-"+g.direction);function f(i){i.removeClass("ui-btn-corner-all ui-shadow").eq(0).addClass(d[0]).end().filter(":last").addClass(d[1]).addClass("ui-controlgroup-last")}f(a(this).find(".ui-btn"));f(a(this).find(".ui-btn-inner"));if(g.shadow){a(this).addClass("ui-shadow")}})}})(jQuery);(function(a,b){a.fn.fieldcontain=function(c){return this.addClass("ui-field-contain ui-body ui-br")}})(jQuery);(function(a,b){a.widget("mobile.listview",a.mobile.widget,{options:{theme:"c",countTheme:"c",headerTheme:"b",dividerTheme:"b",splitIcon:"arrow-r",splitTheme:"b",inset:false},_create:function(){var c=this.element,d=this.options;c.addClass("ui-listview").attr("role","listbox");if(d.inset){c.addClass("ui-listview-inset ui-corner-all ui-shadow")}c.delegate(".ui-li","focusin",function(){a(this).attr("tabindex","0")});this._itemApply(c,c);this.refresh(true);c.keydown(function(k){var j=a(k.target),f=j.closest("li");switch(k.keyCode){case 38:var i=f.prev();if(i.length){j.blur().attr("tabindex","-1");i.find("a").first().focus()}return false;break;case 40:var h=f.next();if(h.length){j.blur().attr("tabindex","-1");h.find("a").first().focus()}return false;break;case 39:var g=f.find("a.ui-li-link-alt");if(g.length){j.blur();g.first().focus()}return false;break;case 37:var g=f.find("a.ui-link-inherit");if(g.length){j.blur();g.first().focus()}return false;break;case 13:case 32:j.trigger("click");return false;break}})},_itemApply:function(d,e){e.find(".ui-li-count").addClass("ui-btn-up-"+(d.jqmData("counttheme")||this.options.countTheme)+" ui-btn-corner-all");e.find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading");e.find("p, dl").addClass("ui-li-desc");d.find("li").find(">img:eq(0), >a:first>img:eq(0)").addClass("ui-li-thumb").each(function(){a(this).closest("li").addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")});var c=e.find(".ui-li-aside");if(c.length){c.each(function(f,g){a(g).prependTo(a(g).parent())})}if(a.support.cssPseudoElement||!a.nodeName(e[0],"ol")){return}},_removeCorners:function(c){c.add(c.find(".ui-btn-inner, .ui-li-link-alt, .ui-li-thumb")).removeClass("ui-corner-top ui-corner-bottom ui-corner-br ui-corner-bl ui-corner-tr ui-corner-tl")},refresh:function(g){this._createSubPages();var i=this.options,f=this.element,e=this,h=f.jqmData("dividertheme")||i.dividerTheme,c=f.children("li"),d=a.support.cssPseudoElement||!a.nodeName(f[0],"ol")?0:1;if(d){f.find(".ui-li-dec").remove()}c.attr({role:"option",tabindex:"-1"});c.first().attr("tabindex","0");c.each(function(q){var n=a(this),o="ui-li";if(!g&&n.hasClass("ui-li")){return}var p=n.jqmData("theme")||i.theme;var j=n.find("a");if(j.length){var l=n.jqmData("icon");n.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:j.length>1||l===false?false:l||"arrow-r",theme:p});j.first().addClass("ui-link-inherit");if(j.length>1){o+=" ui-li-has-alt";var m=j.last(),k=f.jqmData("splittheme")||m.jqmData("theme")||i.splitTheme;m.appendTo(n).attr("title",m.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:p,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span>").buttonMarkup({shadow:true,corners:true,theme:k,iconpos:"notext",icon:f.jqmData("spliticon")||m.jqmData("icon")||i.splitIcon}))}}else{if(n.jqmData("role")==="list-divider"){o+=" ui-li-divider ui-btn ui-bar-"+h;n.attr("role","heading");if(d){d=1}}else{o+=" ui-li-static ui-btn-up-"+p}}if(i.inset){if(q===0){o+=" ui-corner-top";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl");if(n.next().next().length){e._removeCorners(n.next())}}if(q===c.length-1){o+=" ui-corner-bottom";n.add(n.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl");if(n.prev().prev().length){e._removeCorners(n.prev())}}}if(d&&o.indexOf("ui-li-divider")<0){n.find(".ui-link-inherit").first().addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(d++)+". </span>")}n.add(n.find(".ui-btn-inner")).addClass(o);if(!g){e._itemApply(f,n)}})},_idStringEscape:function(c){return c.replace(/[^a-zA-Z0-9]/g,"-")},_createSubPages:function(){var d=this.element,c=d.closest(".ui-page"),h=c.jqmData("url"),g=this.options,e=this,f=c.find(":jqmData(role='footer')").jqmData("id");a(d.find("ul, ol").toArray().reverse()).each(function(o){var p=a(this),r=p.parent(),q=a.trim(r.contents()[0].nodeValue)||r.find("a:first").text(),j=h+"&"+a.mobile.subPageUrlKey+"="+e._idStringEscape(q+" "+o),n=p.jqmData("theme")||g.theme,k=p.jqmData("counttheme")||d.jqmData("counttheme")||g.countTheme,l=p.wrap("<div data-"+a.mobile.ns+"role='page'><div data-"+a.mobile.ns+"role='content'></div></div>").parent().before("<div data-"+a.mobile.ns+"role='header' data-"+a.mobile.ns+"theme='"+g.headerTheme+"'><div class='ui-title'>"+q+"</div></div>").after(f?a("<div data-"+a.mobile.ns+"role='footer' data-"+a.mobile.ns+"id='"+f+"'>"):"").parent().attr("data-"+a.mobile.ns+"url",j).attr("data-"+a.mobile.ns+"theme",n).attr("data-"+a.mobile.ns+"count-theme",k).appendTo(a.mobile.pageContainer);l.page();var m=r.find("a:first");if(!m.length){m=a("<a></a>").html(q).prependTo(r.empty())}m.attr("href","#"+j)}).listview()}})})(jQuery);(function(a,b){a.mobile.listview.prototype.options.filter=false;a(":jqmData(role='listview')").live("listviewcreate",function(){var e=a(this),d=e.data("listview");if(!d.options.filter){return}var f=a("<form>",{"class":"ui-listview-filter ui-bar-c",role:"search"}),c=a("<input>",{placeholder:"Filter results..."}).attr("data-"+a.mobile.ns+"type","search").bind("keyup change",function(){var l=this.value.toLowerCase(),j=e.children();j.show();if(l){var k=false,h;for(var g=j.length;g>=0;g--){h=a(j[g]);if(h.is("li:jqmData(role=list-divider)")){if(!k){h.hide()}k=false}else{if(h.text().toLowerCase().indexOf(l)===-1){h.hide()}else{k=true}}}}}).appendTo(f).textinput();if(a(this).jqmData("inset")){f.addClass("ui-listview-filter-inset")}f.insertBefore(e)})})(jQuery);(function(a,b){a.widget("mobile.dialog",a.mobile.widget,{options:{},_create:function(){var c=this,d=c.element;this.element.attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find(":jqmData(role=header)").addClass("ui-corner-top ui-overlay-shadow").prepend("<a href='#' data-"+a.mobile.ns+"icon='delete' data-"+a.mobile.ns+"rel='back' data-"+a.mobile.ns+"iconpos='notext'>Close</a>").end().find('.ui-content:not([class*="ui-body-"])').addClass("ui-body-c").end().find(".ui-content,:jqmData(role='footer')").last().addClass("ui-corner-bottom ui-overlay-shadow");this.element.bind("click submit",function(g){var f;if(g.type=="click"){f=a(g.target).closest("a")}else{f=a(g.target).closest("form")}if(f.length&&!f.jqmData("transition")){f.attr("data-"+a.mobile.ns+"transition",a.mobile.urlHistory.getActive().transition).attr("data-"+a.mobile.ns+"direction","reverse")}})},close:function(){window.history.back()}})})(jQuery);(function(a,b){a.widget("mobile.navbar",a.mobile.widget,{options:{iconpos:"top",grid:null},_create:function(){var e=this.element,c=e.find("a"),d=c.filter(":jqmData(icon)").length?this.options.iconpos:b;e.addClass("ui-navbar").attr("role","navigation").find("ul").grid({grid:this.options.grid});if(!d){e.addClass("ui-navbar-noicons")}c.buttonMarkup({corners:false,shadow:false,iconpos:d});e.delegate("a","click",function(f){c.removeClass("ui-btn-active");a(this).addClass("ui-btn-active")})}})})(jQuery);(function(a,b){a.fn.grid=function(c){return this.each(function(){var h=a.extend({grid:null},c);var i=a(this).children(),f={solo:1,a:2,b:3,c:4,d:5},d=h.grid,e;if(!d){if(i.length<=5){for(var g in f){if(f[g]==i.length){d=g}}}else{d="a"}}e=f[d];a(this).addClass("ui-grid-"+d);i.filter(":nth-child("+e+"n+1)").addClass("ui-block-a");if(e>1){i.filter(":nth-child("+e+"n+2)").addClass("ui-block-b")}if(e>2){i.filter(":nth-child(3n+3)").addClass("ui-block-c")}if(e>3){i.filter(":nth-child(4n+4)").addClass("ui-block-d")}if(e>4){i.filter(":nth-child(5n+5)").addClass("ui-block-e")}})}})(jQuery);
|
|
28
|
+
(function(c,b,d){c.extend(c.mobile,{ns:"",subPageUrlKey:"ui-page",nonHistorySelectors:"dialog",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",ajaxEnabled:true,hashListeningEnabled:true,ajaxLinksEnabled:true,ajaxFormsEnabled:true,defaultTransition:"slide",loadingMessage:"loading",pageLoadErrorMessage:"Error Loading Page",metaViewportContent:"width=device-width, minimum-scale=1, maximum-scale=1",gradeA:function(){return c.support.mediaquery||c.mobile.browser.ie&&c.mobile.browser.ie>=7},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},silentScroll:function(e){e=e||0;c.event.special.scrollstart.enabled=false;setTimeout(function(){b.scrollTo(0,e);c(document).trigger("silentscroll",{x:0,y:e})},20);setTimeout(function(){c.event.special.scrollstart.enabled=true},150)}});c.fn.jqmData=function(f,e){return this.data(f?c.mobile.ns+f:f,e)};c.jqmData=function(e,g,f){return c.data(e,g&&c.mobile.ns+g,f)};c.fn.jqmRemoveData=function(e){return this.removeData(c.mobile.ns+e)};c.jqmRemoveData=function(e,f){return c.removeData(e,f&&c.mobile.ns+f)};c.jqmHasData=function(e,f){return c.hasData(e,f&&c.mobile.ns+f)};var a=c.find;c.find=function(f,h,g,e){f=f.replace(/:jqmData\(([^)]*)\)/g,"[data-"+(c.mobile.ns||"")+"$1]");return a.call(this,f,h,g,e)};c.extend(c.find,a);c.find.matches=function(e,f){return c.find(e,null,null,f)};c.find.matchesSelector=function(e,f){return c.find(f,null,null,[e]).length>0}})(jQuery,this);(function(c,f){var m=c(window),o=c("html"),k=c("head"),n={get:function(w){if(w===f){w=location.hash}return n.stripHash(w).replace(/[^\/]*\.[^\/*]+$/,"")},getFilePath:function(x){var w="&"+c.mobile.subPageUrlKey;return x&&x.split(w)[0].split(u)[0]},set:function(w){location.hash=w},origin:"",setOrigin:function(){n.origin=n.get(location.protocol+"//"+location.host+location.pathname)},makeAbsolute:function(x){var w=n.isPath(location.hash);if(n.isQuery(x)){return(w?n.cleanHash(location.hash):location.pathname)+x}return(w?n.get():n.get(location.pathname))+x},isPath:function(w){return/\//.test(w)},isQuery:function(w){return/^\?/.test(w)},clean:function(w){var x=new RegExp("^"+location.protocol+"//"+location.host);return w.replace(x,"")},stripHash:function(w){return w.replace(/^#/,"")},cleanHash:function(w){return n.stripHash(w.replace(/\?.*$/,"").replace(u,""))},isExternal:function(w){return n.hasProtocol(n.clean(w))},hasProtocol:function(w){return(/^(:?\w+:)/).test(w)},isRelative:function(w){return(/^[^\/|#]/).test(w)&&!n.hasProtocol(w)},isEmbeddedPage:function(w){return(/^#/).test(w)}},v=null,b={stack:[],activeIndex:0,getActive:function(){return b.stack[b.activeIndex]},getPrev:function(){return b.stack[b.activeIndex-1]},getNext:function(){return b.stack[b.activeIndex+1]},addNew:function(x,z,y,w){if(b.getNext()){b.clearForward()}b.stack.push({url:x,transition:z,title:y,page:w});b.activeIndex=b.stack.length-1},clearForward:function(){b.stack=b.stack.slice(0,b.activeIndex+1)},directHashChange:function(y){var w,x,z;c.each(b.stack,function(A,B){if(y.currentUrl===B.url){w=A<b.activeIndex;x=!w;z=A}});this.activeIndex=z!==f?z:this.activeIndex;if(w){y.isBack()}else{if(x){y.isForward()}}},ignoreNextHashChange:true},p="[tabindex],a,button:visible,select:visible,input",a=null,l=[],r=false,u="&ui-state=dialog",j=k.children("base"),t=location.protocol+"//"+location.host,i=n.get(t+location.pathname),e=i;if(j.length){var q=j.attr("href");if(q){if(q.search(/^[^:\/]+:\/\/[^\/]+\/?/)===-1){if(q.charAt(0)==="/"){e=t+q}else{e=i+q}}else{e=q}}e=e+(e.charAt(e.length-1)==="/"?" ":"/")}var d=c.support.dynamicBaseTag?{element:(j.length?j:c("<base>",{href:e}).prependTo(k)),set:function(w){d.element.attr("href",e+n.get(w))},reset:function(){d.element.attr("href",e)}}:f;n.setOrigin();function h(x){var y=x.jqmData("lastClicked");if(y&&y.length){y.focus()}else{var w=x.find(".ui-title:eq(0)");if(w.length){w.focus()}else{x.find(p).eq(0).focus()}}}function s(w){if(!!v&&(!v.closest(".ui-page-active").length||w)){v.removeClass(c.mobile.activeBtnClass)}v=null}c.fn.animationComplete=function(w){if(c.support.cssTransitions){return c(this).one("webkitAnimationEnd",w)}else{setTimeout(w,0);return c(this)}};c.mobile.updateHash=n.set;c.mobile.path=n;c.mobile.base=d;c.mobile.urlstack=b.stack;c.mobile.urlHistory=b;c.mobile.allowCrossDomainPages=false;c.mobile.changePage=function(x,S,H,L,y){var z=c.type(x),B=z==="array",R=z==="object",P=B?x[0]:c.mobile.activePage;x=B?x[1]:x;var C=c.type(x)==="string"?n.stripHash(x):"",J=C,U,A="get",M=false,G=null,E=b.getActive(),N=false,I=false,D=document.title;if(b.stack.length>0&&E.page.jqmData("url")===C&&!B&&!R){return}else{if(r){l.unshift(arguments);return}}r=true;if(y){b.directHashChange({currentUrl:C,isBack:function(){I=!(N=true);H=true;S=S||E.transition},isForward:function(){I=!(N=false);S=S||b.getActive().transition}})}if(R&&x.url){C=x.url;U=x.data;A=x.type;M=true;if(U&&A==="get"){if(c.type(U)==="object"){U=c.param(U)}C+="?"+U;U=f}}if(d){d.reset()}c(window.document.activeElement||"").add("input:focus, textarea:focus, select:focus").blur();function F(){if(S===f){S=(a&&a==="dialog")?"pop":c.mobile.defaultTransition}}function K(){r=false;if(l.length>0){c.mobile.changePage.apply(c.mobile,l.pop())}}function Q(){c.mobile.silentScroll();var V=m.scrollTop(),aa=["flip"],W=[];if(C.indexOf("&"+c.mobile.subPageUrlKey)>-1){x=c(":jqmData(url='"+C+"')")}if(P){P.jqmData("lastScroll",V).jqmData("lastClicked",v);P.data("page")._trigger("beforehide",null,{nextPage:x})}x.data("page")._trigger("beforeshow",null,{prevPage:P||c("")});function X(){if(L!==false&&C){b.ignoreNextHashChange=false;n.set(C)}var ab=x.jqmData("title")||x.find(".ui-header .ui-title").text();if(!!ab&&D==document.title){D=ab}if(!N&&!I){b.addNew(C,S,D,x)}document.title=b.getActive().title;s();c.mobile.silentScroll(x.jqmData("lastScroll"));h(x);if(P){P.data("page")._trigger("hide",null,{nextPage:x})}x.data("page")._trigger("show",null,{prevPage:P||c("")});c.mobile.activePage=x;if(G!==null){G.remove()}o.removeClass("ui-mobile-rendering");K()}function Z(ab){c.mobile.pageContainer.addClass(ab);W.push(ab)}function Y(){c.mobile.pageContainer.removeClass(W.join(" "));W=[]}c.mobile.pageLoading(true);if(S&&(S!=="none")){if(c.inArray(S,aa)>=0){Z("ui-mobile-viewport-perspective")}Z("ui-mobile-viewport-transitioning");if(P){P.addClass(S+" out "+(H?"reverse":""))}x.addClass(c.mobile.activePageClass+" "+S+" in "+(H?"reverse":""));x.animationComplete(function(){x.add(P).removeClass("out in reverse "+S);if(P){P.removeClass(c.mobile.activePageClass)}X();Y()})}else{if(P){P.removeClass(c.mobile.activePageClass)}x.addClass(c.mobile.activePageClass);X()}}function O(){if(a||x.jqmData("role")==="dialog"){C=b.getActive().url+u;if(a){x.attr("data-"+c.mobile.ns+"role",a);a=null}}x.page()}if(C){x=c(":jqmData(url='"+C+"')");J=n.getFilePath(C)}else{var w=x.attr("data-"+c.mobile.ns+"url"),T=n.getFilePath(w);if(w!==T){J=T}}F();if(x.length&&!M){if(J&&d){d.set(J)}O();Q()}else{if(x.length){G=x}c.mobile.pageLoading();c.ajax({url:J,type:A,data:U,dataType:"html",success:function(Y){var Z=c("<div></div>"),W,V=Y.match(/<title[^>]*>([^<]*)/)&&RegExp.$1,ab=new RegExp(".*(<[^>]+\\bdata-"+c.mobile.ns+"role=[\"']?page[\"']?[^>]*>).*"),X=new RegExp("\\bdata-"+c.mobile.ns+"url=[\"']?([^\"'>]*)[\"']?");if(ab.test(Y)&&RegExp.$1&&X.test(RegExp.$1)&&RegExp.$1){W=RegExp.$1}if(W){if(d){d.set(W)}C=J=n.getFilePath(W)}else{if(d){d.set(J)}}Z.get(0).innerHTML=Y;x=Z.find(":jqmData(role='page'), :jqmData(role='dialog')").first();if(V){D=V}if(!c.support.dynamicBaseTag){var aa=n.get(J);x.find("[src], link[href], a[rel='external'], :jqmData(ajax='false'), a[target]").each(function(){var ad=c(this).is("[href]")?"href":"src",ac=c(this).attr(ad);ac=ac.replace(location.protocol+"//"+location.host+location.pathname,"");if(!/^(\w+:|#|\/)/.test(ac)){c(this).attr(ad,aa+ac)}})}x.attr("data-"+c.mobile.ns+"url",J).appendTo(c.mobile.pageContainer);O();setTimeout(function(){Q()},0)},error:function(){c.mobile.pageLoading(true);s(true);if(d){d.set(n.get())}K();c("<div class='ui-loader ui-overlay-shadow ui-body-e ui-corner-all'><h1>"+c.mobile.pageLoadErrorMessage+"</h1></div>").css({display:"block",opacity:0.96,top:c(window).scrollTop()+100}).appendTo(c.mobile.pageContainer).delay(800).fadeOut(400,function(){c(this).remove()})}})}};c("form").live("submit",function(y){if(!c.mobile.ajaxEnabled||!c.mobile.ajaxFormsEnabled||c(this).is(":jqmData(ajax='false')")){return}var x=c(this).attr("method"),w=n.clean(c(this).attr("action")),z=c(this).attr("target");if(n.isExternal(w)||z){return}if(n.isRelative(w)){w=n.makeAbsolute(w)}c.mobile.changePage({url:w.length&&w||n.get(),type:x.length&&x.toLowerCase()||"get",data:c(this).serialize()},c(this).jqmData("transition"),c(this).jqmData("direction"),true);y.preventDefault()});function g(w){while(w){if(w.nodeName.toLowerCase()=="a"){break}w=w.parentNode}return w}c(document).bind("vclick",function(x){var w=g(x.target);if(w){c(w).closest(".ui-btn").not(".ui-disabled").addClass(c.mobile.activeBtnClass)}});c(document).bind("click",function(x){var J=g(x.target);if(!J){return}var E=c(J),z=E.attr("href")||"#",D=n.hasProtocol(z),y=n.clean(z),A=E.is("[rel='external']"),I=n.isEmbeddedPage(y),H=(c.mobile.allowCrossDomainPages&&location.protocol==="file:"&&y.search(/^https?:/)!=-1),w=(n.isExternal(y)&&!H)||(A&&!I),G=E.is("[target]"),B=E.is(":jqmData(ajax='false')");if(E.is(":jqmData(rel='back')")){window.history.back();return false}if(y.replace(n.get(),"")=="#"){x.preventDefault();return}v=E.closest(".ui-btn");if(w||B||G||!c.mobile.ajaxEnabled||!c.mobile.ajaxLinksEnabled){window.setTimeout(function(){s(true)},200);return}var F=E.jqmData("transition"),K=E.jqmData("direction"),C=(K&&K==="reverse")||E.jqmData("back");a=E.attr("data-"+c.mobile.ns+"rel");if(n.isRelative(y)&&!D){y=n.makeAbsolute(y)}y=n.stripHash(y);c.mobile.changePage(y,F,C);x.preventDefault()});m.bind("hashchange",function(y,w){var A=n.stripHash(location.hash),z=c.mobile.urlHistory.stack.length===0?false:f;if(!c.mobile.hashListeningEnabled||!b.ignoreNextHashChange){if(!b.ignoreNextHashChange){b.ignoreNextHashChange=true}return}if(b.stack.length>1&&A.indexOf(u)>-1){if(!c.mobile.activePage.is(".ui-dialog")){b.directHashChange({currentUrl:A,isBack:function(){window.history.back()},isForward:function(){window.history.forward()}});return}else{var x=function(){A=c.mobile.urlHistory.getActive().page};b.directHashChange({currentUrl:A,isBack:x,isForward:x})}}if(A){c.mobile.changePage(A,z,f,false,true)}else{c.mobile.changePage(c.mobile.firstPage,z,true,false,true)}})})(jQuery);(function(a,b){a.fn.fixHeaderFooter=function(c){if(!a.support.scrollTop){return this}return this.each(function(){var d=a(this);if(d.jqmData("fullscreen")){d.addClass("ui-page-fullscreen")}d.find(".ui-header:jqmData(position='fixed')").addClass("ui-header-fixed ui-fixed-inline fade");d.find(".ui-footer:jqmData(position='fixed')").addClass("ui-footer-fixed ui-fixed-inline fade")})};a.fixedToolbars=(function(){if(!a.support.scrollTop){return}var g="inline",o=false,d=100,e,n="a,input,textarea,select,button,label,.ui-header-fixed,.ui-footer-fixed",p=".ui-header-fixed:first, .ui-footer-fixed:not(.ui-footer-duplicate):last",m,i=a.support.touch,q=i?"touchstart":"mousedown",k=i?"touchend":"mouseup",h=null,j=false,c=true;function f(s){if(!o&&g=="overlay"){if(!e){a.fixedToolbars.hide(true)}a.fixedToolbars.startShowTimer()}}a(function(){a(document).bind("vmousedown",function(s){if(c){h=g}}).bind("vclick",function(s){if(c){if(a(s.target).closest(n).length){return}if(!j){a.fixedToolbars.toggle(h);h=null}}}).bind("scrollstart",function(t){j=true;if(h==null){h=g}var s=h=="overlay";o=s||!!e;if(o){a.fixedToolbars.clearShowTimer();if(s){a.fixedToolbars.hide(true)}}}).bind("scrollstop",function(s){if(a(s.target).closest(n).length){return}j=false;if(o){o=false;a.fixedToolbars.startShowTimer()}h=null}).bind("silentscroll",f);a(window).bind("resize",f)});a(".ui-page").live("pagebeforeshow",function(t,w){var v=a(t.target),z=v.find(":jqmData(role='footer')"),y=z.data("id"),s=w.prevPage,x=s&&s.find(":jqmData(role='footer')"),u=x.length&&x.jqmData("id")===y;if(y&&u){m=z;r(m.removeClass("fade in out").appendTo(a.mobile.pageContainer))}});a(".ui-page").live("pageshow",function(s,t){var u=a(this);if(m&&m.length){setTimeout(function(){r(m.appendTo(u).addClass("fade"));m=null},500)}a.fixedToolbars.show(true,this)});function l(t){var u=0;if(t){var v=t.offsetParent,s=document.body;u=t.offsetTop;while(t&&t!=s){u+=t.scrollTop||0;if(t==v){u+=v.offsetTop;v=t.offsetParent}t=t.parentNode}}return u}function r(w){var s=a(window).scrollTop(),x=l(w[0]),v=w.css("top")=="auto"?0:parseFloat(w.css("top")),z=window.innerHeight,y=w.outerHeight(),u=w.parents(".ui-page:not(.ui-page-fullscreen)").length,t;if(w.is(".ui-header-fixed")){t=s-x+v;if(t<x){t=0}return w.css("top",(u)?t:s)}else{t=s+z-y-(x-v);return w.css("top",(u)?t:s+z-y)}}return{show:function(s,u){a.fixedToolbars.clearShowTimer();g="overlay";var t=u?a(u):(a.mobile.activePage?a.mobile.activePage:a(".ui-page-active"));return t.children(p).each(function(){var x=a(this),v=a(window).scrollTop(),y=l(x[0]),A=window.innerHeight,z=x.outerHeight(),w=(x.is(".ui-header-fixed")&&v<=y+z)||(x.is(".ui-footer-fixed")&&y<=v+A);x.addClass("ui-fixed-overlay").removeClass("ui-fixed-inline");if(!w&&!s){x.animationComplete(function(){x.removeClass("in")}).addClass("in")}r(x)})},hide:function(s){g="inline";var t=a.mobile.activePage?a.mobile.activePage:a(".ui-page-active");return t.children(p).each(function(){var w=a(this);var v=w.css("top");v=v=="auto"?0:parseFloat(v);w.addClass("ui-fixed-inline").removeClass("ui-fixed-overlay");if(v<0||(w.is(".ui-header-fixed")&&v!=0)){if(s){w.css("top",0)}else{if(w.css("top")!=="auto"&&parseFloat(w.css("top"))!==0){var u="out reverse";w.animationComplete(function(){w.removeClass(u);w.css("top",0)}).addClass(u)}}}})},startShowTimer:function(){a.fixedToolbars.clearShowTimer();var s=a.makeArray(arguments);e=setTimeout(function(){e=b;a.fixedToolbars.show.apply(null,s)},d)},clearShowTimer:function(){if(e){clearTimeout(e)}e=b},toggle:function(s){if(s){g=s}return(g=="overlay")?a.fixedToolbars.hide():a.fixedToolbars.show()},setTouchToggleEnabled:function(s){c=s}}})()})(jQuery);(function(a,b){a.widget("mobile.checkboxradio",a.mobile.widget,{options:{theme:null},_create:function(){var d=this,c=this.element,f=c.closest("form,fieldset,:jqmData(role='page')").find("label").filter("[for="+c[0].id+"]"),h=c.attr("type"),g="ui-icon-"+h+"-on",e="ui-icon-"+h+"-off";if(h!="checkbox"&&h!="radio"){return}a.extend(this,{label:f,inputtype:h,checkedicon:g,uncheckedicon:e});if(!this.options.theme){this.options.theme=this.element.jqmData("theme")}f.buttonMarkup({theme:this.options.theme,icon:this.element.parents(":jqmData(type='horizontal')").length?b:e,shadow:false});c.add(f).wrapAll("<div class='ui-"+h+"'></div>");f.bind({vmouseover:function(){if(a(this).parent().is(".ui-disabled")){return false}},vclick:function(i){if(c.is(":disabled")){i.preventDefault();return}d._cacheVals();c.attr("checked",h==="radio"&&true||!c.is(":checked"));d._updateAll();return false}});c.bind({vmousedown:function(){this._cacheVals()},vclick:function(){d._updateAll()},focus:function(){f.addClass("ui-focus")},blur:function(){f.removeClass("ui-focus")}});this.refresh()},_cacheVals:function(){this._getInputSet().each(function(){a(this).jqmData("cacheVal",a(this).is(":checked"))})},_getInputSet:function(){return this.element.closest("form,fieldset,:jqmData(role='page')").find("input[name='"+this.element.attr("name")+"'][type='"+this.inputtype+"']")},_updateAll:function(){var c=this;this._getInputSet().each(function(){if(a(this).is(":checked")||c.inputtype==="checkbox"){a(this).trigger("change")}}).checkboxradio("refresh")},refresh:function(){var c=this.element,d=this.label,e=d.find(".ui-icon");if(c[0].checked){d.addClass(a.mobile.activeBtnClass);e.addClass(this.checkedicon).removeClass(this.uncheckedicon)}else{d.removeClass(a.mobile.activeBtnClass);e.removeClass(this.checkedicon).addClass(this.uncheckedicon)}if(c.is(":disabled")){this.disable()}else{this.enable()}},disable:function(){this.element.attr("disabled",true).parent().addClass("ui-disabled")},enable:function(){this.element.attr("disabled",false).parent().removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.textinput",a.mobile.widget,{options:{theme:null},_create:function(){var k=this.element,e=this.options,h=e.theme,n;if(!h){var f=this.element.closest("[class*='ui-bar-'],[class*='ui-body-']");h=f.length?/ui-(bar|body)-([a-z])/.exec(f.attr("class"))[2]:"c"}n=" ui-body-"+h;a("label[for="+k.attr("id")+"]").addClass("ui-input-text");k.addClass("ui-input-text ui-body-"+e.theme);var i=k;if(k.is("[type='search'],:jqmData(type='search')")){i=k.wrap('<div class="ui-input-search ui-shadow-inset ui-btn-corner-all ui-btn-shadow ui-icon-searchfield'+n+'"></div>').parent();var l=a('<a href="#" class="ui-input-clear" title="clear text">clear text</a>').tap(function(o){k.val("").focus();k.trigger("change");l.addClass("ui-input-clear-hidden");o.preventDefault()}).appendTo(i).buttonMarkup({icon:"delete",iconpos:"notext",corners:true,shadow:true});function d(){if(k.val()==""){l.addClass("ui-input-clear-hidden")}else{l.removeClass("ui-input-clear-hidden")}}d();k.keyup(d)}else{k.addClass("ui-corner-all ui-shadow-inset"+n)}k.focus(function(){i.addClass("ui-focus")}).blur(function(){i.removeClass("ui-focus")});if(k.is("textarea")){var g=15,j=100,c=function(){var p=k[0].scrollHeight,o=k[0].clientHeight;if(o<p){k.css({height:(p+g)})}},m;k.keyup(function(){clearTimeout(m);m=setTimeout(c,j)})}},disable:function(){(this.element.attr("disabled",true).is("[type='search'],:jqmData(type='search')")?this.element.parent():this.element).addClass("ui-disabled")},enable:function(){(this.element.attr("disabled",false).is("[type='search'],:jqmData(type='search')")?this.element.parent():this.element).removeClass("ui-disabled")}})})(jQuery);(function(a,b){a.widget("mobile.selectmenu",a.mobile.widget,{options:{theme:null,disabled:false,icon:"arrow-d",iconpos:"right",inline:null,corners:true,shadow:true,iconshadow:true,menuPageTheme:"b",overlayTheme:"a",hidePlaceholderMenuItems:true,closeText:"Close",nativeMenu:true},_create:function(){var r=this,u=this.options,t=this.element.wrap("<div class='ui-select'>"),x=t.attr("id"),n=a("label[for="+x+"]").addClass("ui-select"),h=t[0].selectedIndex==-1?0:t[0].selectedIndex,e=(r.options.nativeMenu?a("<div/>"):a("<a>",{href:"#",role:"button",id:m,"aria-haspopup":"true","aria-owns":p})).text(a(t[0].options.item(h)).text()).insertBefore(t).buttonMarkup({theme:u.theme,icon:u.icon,iconpos:u.iconpos,inline:u.inline,corners:u.corners,shadow:u.shadow,iconshadow:u.iconshadow}),k=r.isMultiple=t[0].multiple;if(u.nativeMenu&&window.opera&&window.opera.version){t.addClass("ui-select-nativeonly")}if(!u.nativeMenu){var i=t.find("option"),m=x+"-button",p=x+"-menu",c=t.closest(".ui-page"),z=/ui-btn-up-([a-z])/.exec(e.attr("class"))[1],s=a("<div data-"+a.mobile.ns+"role='dialog' data-"+a.mobile.ns+"theme='"+u.menuPageTheme+"'><div data-"+a.mobile.ns+"role='header'><div class='ui-title'>"+n.text()+"</div></div><div data-"+a.mobile.ns+"role='content'></div></div>").appendTo(a.mobile.pageContainer).page(),j=s.find(".ui-content"),g=s.find(".ui-header a"),f=a("<div>",{"class":"ui-selectmenu-screen ui-screen-hidden"}).appendTo(c),d=a("<div>",{"class":"ui-selectmenu ui-selectmenu-hidden ui-overlay-shadow ui-corner-all pop ui-body-"+u.overlayTheme}).insertAfter(f),y=a("<ul>",{"class":"ui-selectmenu-list",id:p,role:"listbox","aria-labelledby":m}).attr("data-"+a.mobile.ns+"theme",z).appendTo(d),w=a("<div>",{"class":"ui-header ui-bar-"+z}).prependTo(d),v=a("<h1>",{"class":"ui-title"}).appendTo(w),l=a("<a>",{text:u.closeText,href:"#","class":"ui-btn-left"}).attr("data-"+a.mobile.ns+"iconpos","notext").attr("data-"+a.mobile.ns+"icon","delete").appendTo(w).buttonMarkup(),q}if(k){r.buttonCount=a("<span>").addClass("ui-li-count ui-btn-up-c ui-btn-corner-all").hide().appendTo(e)}if(u.disabled){this.disable()}t.change(function(){r.refresh()});a.extend(r,{select:t,optionElems:i,selectID:x,label:n,buttonId:m,menuId:p,thisPage:c,button:e,menuPage:s,menuPageContent:j,screen:f,listbox:d,list:y,menuType:q,header:w,headerClose:l,headerTitle:v,placeholder:""});if(u.nativeMenu){t.appendTo(e).bind("vmousedown",function(o){e.addClass(a.mobile.activeBtnClass)}).bind("focus vmouseover",function(){e.trigger("vmouseover")}).bind("vmousemove",function(){e.removeClass(a.mobile.activeBtnClass)}).bind("change blur vmouseout",function(){e.trigger("vmouseout").removeClass(a.mobile.activeBtnClass)})}else{r.refresh();t.attr("tabindex","-1").focus(function(){a(this).blur();e.focus()});e.bind("vclick keydown",function(o){if(o.type=="vclick"||o.keyCode&&(o.keyCode===a.mobile.keyCode.ENTER||o.keyCode===a.mobile.keyCode.SPACE)){r.open();o.preventDefault()}});y.attr("role","listbox").delegate(".ui-li>a","focusin",function(){a(this).attr("tabindex","0")}).delegate(".ui-li>a","focusout",function(){a(this).attr("tabindex","-1")}).delegate("li:not(.ui-disabled, .ui-li-divider)","vclick",function(B){var C=t[0].selectedIndex,o=y.find("li:not(.ui-li-divider)").index(this),A=r.optionElems.eq(o)[0];A.selected=k?!A.selected:true;if(k){a(this).find(".ui-icon").toggleClass("ui-icon-checkbox-on",A.selected).toggleClass("ui-icon-checkbox-off",!A.selected)}if(C!==o){t.trigger("change")}if(!k){r.close()}B.preventDefault()}).keydown(function(D){var C=a(D.target),o=C.closest("li");switch(D.keyCode){case 38:var B=o.prev();if(B.length){C.blur().attr("tabindex","-1");B.find("a").first().focus()}return false;break;case 40:var A=o.next();if(A.length){C.blur().attr("tabindex","-1");A.find("a").first().focus()}return false;break;case 13:case 32:C.trigger("vclick");return false;break}});f.bind("vclick",function(o){r.close()});r.headerClose.click(function(){if(r.menuType=="overlay"){r.close();return false}})}},_buildList:function(){var e=this,h=this.options,g=this.placeholder,c=[],f=[],d=e.isMultiple?"checkbox-off":"false";e.list.empty().filter(".ui-listview").listview("destroy");e.select.find("option").each(function(m){var p=a(this),o=p.parent(),q=p.text(),j="<a href='#'>"+q+"</a>",l=[],n=[];if(o.is("optgroup")){var k=o.attr("label");if(a.inArray(k,c)===-1){f.push("<li data-"+a.mobile.ns+"role='list-divider'>"+k+"</li>");c.push(k)}}if(!this.getAttribute("value")||q.length==0||p.jqmData("placeholder")){if(h.hidePlaceholderMenuItems){l.push("ui-selectmenu-placeholder")}g=e.placeholder=q}if(this.disabled){l.push("ui-disabled");n.push("aria-disabled='true'")}f.push("<li data-"+a.mobile.ns+"icon='"+d+"' class='"+l.join(" ")+"' "+n.join(" ")+">"+j+"</li>")});e.list.html(f.join(" "));e.list.find("li").attr({role:"option",tabindex:"-1"}).first().attr("tabindex","0");if(!this.isMultiple){this.headerClose.hide()}if(!this.isMultiple&&!g.length){this.header.hide()}else{this.headerTitle.text(this.placeholder)}e.list.listview()},refresh:function(g){var d=this,c=this.element,h=this.isMultiple,e=this.optionElems=c.find("option"),f=e.filter(":selected"),i=f.map(function(){return e.index(this)}).get();if(!d.options.nativeMenu&&(g||c[0].options.length!=d.list.find("li").length)){d._buildList()}d.button.find(".ui-btn-text").text(function(){if(!h){return f.text()}return f.length?f.map(function(){return a(this).text()}).get().join(", "):d.placeholder});if(h){d.buttonCount[f.length>1?"show":"hide"]().text(f.length)}if(!d.options.nativeMenu){d.list.find("li:not(.ui-li-divider)").removeClass(a.mobile.activeBtnClass).attr("aria-selected",false).each(function(j){if(a.inArray(j,i)>-1){var k=a(this).addClass(a.mobile.activeBtnClass);k.find("a").attr("aria-selected",true);if(h){k.find(".ui-icon").removeClass("ui-icon-checkbox-off").addClass("ui-icon-checkbox-on")}}})}},open:function(){if(this.options.disabled||this.options.nativeMenu){return}var p=this,g=p.list.parent().outerHeight(),l=p.list.parent().outerWidth(),f=a(window).scrollTop(),o=p.button.offset().top,e=window.innerHeight,d=window.innerWidth;p.button.addClass(a.mobile.activeBtnClass);setTimeout(function(){p.button.removeClass(a.mobile.activeBtnClass)},300);function h(){p.list.find(".ui-btn-active").focus()}if(g>e-80||!a.support.scrollTop){if(f==0&&o>e){p.thisPage.one("pagehide",function(){a(this).jqmData("lastScroll",o)})}p.menuPage.one("pageshow",function(){a(window).one("silentscroll",function(){h()})});p.menuType="page";p.menuPageContent.append(p.list);a.mobile.changePage(p.menuPage,"pop",false,true)}else{p.menuType="overlay";p.screen.height(a(document).height()).removeClass("ui-screen-hidden");var k=o-f,i=f+e-o,n=g/2,c=parseFloat(p.list.parent().css("max-width")),m,j;if(k>g/2&&i>g/2){m=o+(p.button.outerHeight()/2)-n}else{m=k>i?f+e-g-30:f+30}if(l<c){j=(d-l)/2}else{j=p.button.offset().left+p.button.outerWidth()/2-l/2;if(j<30){j=30}else{if((j+l)>d){j=d-l-30}}}p.listbox.append(p.list).removeClass("ui-selectmenu-hidden").css({top:m,left:j}).addClass("in");h()}setTimeout(function(){p.isOpen=true},400)},close:function(){if(this.options.disabled||!this.isOpen||this.options.nativeMenu){return}var c=this;function d(){setTimeout(function(){c.button.focus()},40);c.listbox.removeAttr("style").append(c.list)}if(c.menuType=="page"){a.mobile.changePage([c.menuPage,c.thisPage],"pop",true,false);c.menuPage.one("pagehide",d)}else{c.screen.addClass("ui-screen-hidden");c.listbox.addClass("ui-selectmenu-hidden").removeAttr("style").removeClass("in");d()}this.isOpen=false},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)}})})(jQuery);(function(b,c){b.fn.buttonMarkup=function(e){return this.each(function(){var k=b(this),l=b.extend({},b.fn.buttonMarkup.defaults,k.jqmData(),e),g,i="ui-btn-inner",f;if(a){a()}if(!l.theme){var h=k.closest("[class*='ui-bar-'],[class*='ui-body-']");l.theme=h.length?/ui-(bar|body)-([a-z])/.exec(h.attr("class"))[2]:"c"}g="ui-btn ui-btn-up-"+l.theme;if(l.inline){g+=" ui-btn-inline"}if(l.icon){l.icon="ui-icon-"+l.icon;l.iconpos=l.iconpos||"left";f="ui-icon "+l.icon;if(l.shadow){f+=" ui-icon-shadow"}}if(l.iconpos){g+=" ui-btn-icon-"+l.iconpos;if(l.iconpos=="notext"&&!k.attr("title")){k.attr("title",k.text())}}if(l.corners){g+=" ui-btn-corner-all";i+=" ui-btn-corner-all"}if(l.shadow){g+=" ui-shadow"}k.attr("data-"+b.mobile.ns+"theme",l.theme).addClass(g);var j=("<D class='"+i+"'><D class='ui-btn-text'></D>"+(l.icon?"<span class='"+f+"'></span>":"")+"</D>").replace(/D/g,l.wrapperEls);k.wrapInner(j)})};b.fn.buttonMarkup.defaults={corners:true,shadow:true,iconshadow:true,wrapperEls:"span"};function d(e){while(e){var f=b(e);if(f.hasClass("ui-btn")&&!ele.hasClass("ui-disabled")){break}e=e.parentNode}return e}var a=function(){b(document).bind({vmousedown:function(){var e=d(this);if(e){var f=b(e),g=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-up-"+g).addClass("ui-btn-down-"+g)}},"vmousecancel vmouseup":function(){var e=d(this);if(e){var f=b(e),g=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-down-"+g).addClass("ui-btn-up-"+g)}},"vmouseover focus":function(){var e=d(this);if(e){var f=b(e),g=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-up-"+g).addClass("ui-btn-hover-"+g)}},"vmouseout blur":function(){var e=d(this);if(e){var f=b(e),g=f.attr("data-"+b.mobile.ns+"theme");f.removeClass("ui-btn-hover-"+g).addClass("ui-btn-up-"+g)}}});a=null}})(jQuery);(function(a,b){a.widget("mobile.button",a.mobile.widget,{options:{theme:null,icon:null,iconpos:null,inline:null,corners:true,shadow:true,iconshadow:true},_create:function(){var c=this.element,e=this.options;this.button=a("<div></div>").text(c.text()||c.val()).buttonMarkup({theme:e.theme,icon:e.icon,iconpos:e.iconpos,inline:e.inline,corners:e.corners,shadow:e.shadow,iconshadow:e.iconshadow}).insertBefore(c).append(c.addClass("ui-btn-hidden"));var d=c.attr("type");if(d!=="button"&&d!=="reset"){c.bind("vclick",function(){var f=a("<input>",{type:"hidden",name:c.attr("name"),value:c.attr("value")}).insertBefore(c);a(document).submit(function(){f.remove()})})}this.refresh()},enable:function(){this.element.attr("disabled",false);this.button.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.button.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)},refresh:function(){if(this.element.attr("disabled")){this.disable()}else{this.enable()}}})})(jQuery);(function(a,b){a.widget("mobile.slider",a.mobile.widget,{options:{theme:null,trackTheme:null,disabled:false},_create:function(){var r=this,j=this.element,f=j.parents("[class*=ui-bar-],[class*=ui-body-]").eq(0),f=f.length?f.attr("class").match(/ui-(bar|body)-([a-z])/)[2]:"c",k=this.options.theme?this.options.theme:f,g=this.options.trackTheme?this.options.trackTheme:f,l=j[0].nodeName.toLowerCase(),n=(l=="select")?"ui-slider-switch":"",h=j.attr("id"),m=h+"-label",q=a("[for="+h+"]").attr("id",m),e=function(){return(l=="input")?parseFloat(j.val()):j[0].selectedIndex},i=(l=="input")?parseFloat(j.attr("min")):0,p=(l=="input")?parseFloat(j.attr("max")):j.find("option").length-1,d=window.parseFloat(j.attr("step")||1),c=a('<div class="ui-slider '+n+" ui-btn-down-"+g+' ui-btn-corner-all" role="application"></div>'),o=a('<a href="#" class="ui-slider-handle"></a>').appendTo(c).buttonMarkup({corners:true,theme:k,shadow:true}).attr({role:"slider","aria-valuemin":i,"aria-valuemax":p,"aria-valuenow":e(),"aria-valuetext":e(),title:e(),"aria-labelledby":m});a.extend(this,{slider:c,handle:o,dragging:false,beforeStart:null});if(l=="select"){c.wrapInner('<div class="ui-slider-inneroffset"></div>');var s=j.find("option");j.find("option").each(function(v){var u=(v==0)?"b":"a",t=(v==0)?"right":"left",w=(v==0)?" ui-btn-down-"+g:" ui-btn-active";a('<div class="ui-slider-labelbg ui-slider-labelbg-'+u+w+" ui-btn-corner-"+t+'"></div>').prependTo(c);a('<span class="ui-slider-label ui-slider-label-'+u+w+" ui-btn-corner-"+t+'" role="img">'+a(this).text()+"</span>").prependTo(o)})}q.addClass("ui-slider");j.addClass((l=="input")?"ui-slider-input":"ui-slider-switch").change(function(){r.refresh(e(),true)}).keyup(function(){r.refresh(e(),true,true)}).blur(function(){r.refresh(e(),true)});a(document).bind("vmousemove",function(t){if(r.dragging){r.refresh(t);return false}});c.bind("vmousedown",function(t){r.dragging=true;if(l==="select"){r.beforeStart=j[0].selectedIndex}r.refresh(t);return false});c.add(document).bind("vmouseup",function(){if(r.dragging){r.dragging=false;if(l==="select"){if(r.beforeStart===j[0].selectedIndex){r.refresh(r.beforeStart===0?1:0)}var u=e();var t=Math.round(u/(p-i)*100);o.addClass("ui-slider-handle-snapping").css("left",t+"%").animationComplete(function(){o.removeClass("ui-slider-handle-snapping")})}return false}});c.insertAfter(j);this.handle.bind("vmousedown",function(){a(this).focus()}).bind("vclick",false);this.handle.bind("keydown",function(u){var t=e();if(r.options.disabled){return}switch(u.keyCode){case a.mobile.keyCode.HOME:case a.mobile.keyCode.END:case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:u.preventDefault();if(!r._keySliding){r._keySliding=true;a(this).addClass("ui-state-active")}break}switch(u.keyCode){case a.mobile.keyCode.HOME:r.refresh(i);break;case a.mobile.keyCode.END:r.refresh(p);break;case a.mobile.keyCode.PAGE_UP:case a.mobile.keyCode.UP:case a.mobile.keyCode.RIGHT:r.refresh(t+d);break;case a.mobile.keyCode.PAGE_DOWN:case a.mobile.keyCode.DOWN:case a.mobile.keyCode.LEFT:r.refresh(t-d);break}}).keyup(function(t){if(r._keySliding){r._keySliding=false;a(this).removeClass("ui-state-active")}});this.refresh()},refresh:function(e,c,m){if(this.options.disabled){return}var h=this.element,j,i=h[0].nodeName.toLowerCase(),f=(i==="input")?parseFloat(h.attr("min")):0,k=(i==="input")?parseFloat(h.attr("max")):h.find("option").length-1;if(typeof e==="object"){var g=e,l=8;if(!this.dragging||g.pageX<this.slider.offset().left-l||g.pageX>this.slider.offset().left+this.slider.width()+l){return}j=Math.round(((g.pageX-this.slider.offset().left)/this.slider.width())*100)}else{if(e==null){e=(i==="input")?parseFloat(h.val()):h[0].selectedIndex}j=(parseFloat(e)-f)/(k-f)*100}if(isNaN(j)){return}if(j<0){j=0}if(j>100){j=100}var d=Math.round((j/100)*(k-f))+f;if(d<f){d=f}if(d>k){d=k}if(j>60&&i==="select"){}this.handle.css("left",j+"%");this.handle.attr({"aria-valuenow":(i==="input")?d:h.find("option").eq(d).attr("value"),"aria-valuetext":(i==="input")?d:h.find("option").eq(d).text(),title:d});if(i==="select"){if(d===0){this.slider.addClass("ui-slider-switch-a").removeClass("ui-slider-switch-b")}else{this.slider.addClass("ui-slider-switch-b").removeClass("ui-slider-switch-a")}}if(!m){if(i==="input"){h.val(d)}else{h[0].selectedIndex=d}if(!c){h.trigger("change")}}},enable:function(){this.element.attr("disabled",false);this.slider.removeClass("ui-disabled").attr("aria-disabled",false);return this._setOption("disabled",false)},disable:function(){this.element.attr("disabled",true);this.slider.addClass("ui-disabled").attr("aria-disabled",true);return this._setOption("disabled",true)}})})(jQuery);(function(a,b){a.widget("mobile.collapsible",a.mobile.widget,{options:{expandCueText:" click to expand contents",collapseCueText:" click to collapse contents",collapsed:false,heading:">:header,>legend",theme:null,iconTheme:"d"},_create:function(){var e=this.element,f=this.options,c=e.addClass("ui-collapsible-contain"),d=e.find(f.heading).eq(0),i=c.wrapInner('<div class="ui-collapsible-content"></div>').find(".ui-collapsible-content"),h=e.closest(":jqmData(role='collapsible-set')").addClass("ui-collapsible-set");if(d.is("legend")){d=a('<div role="heading">'+d.html()+"</div>").insertBefore(d);d.next().remove()}d.insertBefore(i);d.addClass("ui-collapsible-heading").append('<span class="ui-collapsible-heading-status"></span>').wrapInner('<a href="#" class="ui-collapsible-heading-toggle"></a>').find("a:eq(0)").buttonMarkup({shadow:!!!h.length,corners:false,iconPos:"left",icon:"plus",theme:f.theme}).find(".ui-icon").removeAttr("class").buttonMarkup({shadow:true,corners:true,iconPos:"notext",icon:"plus",theme:f.iconTheme});if(!h.length){d.find("a:eq(0)").addClass("ui-corner-all").find(".ui-btn-inner").addClass("ui-corner-all")}else{if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}c.bind("collapse",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.addClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.expandCueText);d.find(".ui-icon").removeClass("ui-icon-minus").addClass("ui-icon-plus");i.addClass("ui-collapsible-content-collapsed").attr("aria-hidden",true);if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").addClass("ui-corner-bottom")}}}).bind("expand",function(j){if(!j.isDefaultPrevented()){j.preventDefault();d.removeClass("ui-collapsible-heading-collapsed").find(".ui-collapsible-heading-status").text(f.collapseCueText);d.find(".ui-icon").removeClass("ui-icon-plus").addClass("ui-icon-minus");i.removeClass("ui-collapsible-content-collapsed").attr("aria-hidden",false);if(c.jqmData("collapsible-last")){d.find("a:eq(0), .ui-btn-inner").removeClass("ui-corner-bottom")}}}).trigger(f.collapsed?"collapse":"expand");if(h.length&&!h.jqmData("collapsiblebound")){h.jqmData("collapsiblebound",true).bind("expand",function(j){a(this).find(".ui-collapsible-contain").not(a(j.target).closest(".ui-collapsible-contain")).not("> .ui-collapsible-contain .ui-collapsible-contain").trigger("collapse")});var g=h.find(":jqmData(role=collapsible)");g.first().find("a:eq(0)").addClass("ui-corner-top").find(".ui-btn-inner").addClass("ui-corner-top");g.last().jqmData("collapsible-last",true)}d.bind("vclick",function(j){if(d.is(".ui-collapsible-heading-collapsed")){c.trigger("expand")}else{c.trigger("collapse")}return false})}})})(jQuery);(function(a,b){a.fn.controlgroup=function(c){return this.each(function(){var g=a.extend({direction:a(this).jqmData("type")||"vertical",shadow:false},c);var h=a(this).find(">legend"),d=g.direction=="horizontal"?["ui-corner-left","ui-corner-right"]:["ui-corner-top","ui-corner-bottom"],e=a(this).find("input:eq(0)").attr("type");if(h.length){a(this).wrapInner('<div class="ui-controlgroup-controls"></div>');a('<div role="heading" class="ui-controlgroup-label">'+h.html()+"</div>").insertBefore(a(this).children(0));h.remove()}a(this).addClass("ui-corner-all ui-controlgroup ui-controlgroup-"+g.direction);function f(i){i.removeClass("ui-btn-corner-all ui-shadow").eq(0).addClass(d[0]).end().filter(":last").addClass(d[1]).addClass("ui-controlgroup-last")}f(a(this).find(".ui-btn"));f(a(this).find(".ui-btn-inner"));if(g.shadow){a(this).addClass("ui-shadow")}})}})(jQuery);(function(a,b){a.fn.fieldcontain=function(c){return this.addClass("ui-field-contain ui-body ui-br")}})(jQuery);(function(a,b){a.widget("mobile.listview",a.mobile.widget,{options:{theme:"c",countTheme:"c",headerTheme:"b",dividerTheme:"b",splitIcon:"arrow-r",splitTheme:"b",inset:false},_create:function(){var c=this.element,d=this.options;c.addClass("ui-listview");if(d.inset){c.addClass("ui-listview-inset ui-corner-all ui-shadow")}this.refresh()},_itemApply:function(c,d){d.find(".ui-li-count").addClass("ui-btn-up-"+(c.jqmData("counttheme")||this.options.countTheme)+" ui-btn-corner-all");d.find("h1, h2, h3, h4, h5, h6").addClass("ui-li-heading");d.find("p, dl").addClass("ui-li-desc");d.find("img:first-child:eq(0)").addClass("ui-li-thumb").each(function(){d.addClass(a(this).is(".ui-li-icon")?"ui-li-has-icon":"ui-li-has-thumb")});d.find(".ui-li-aside").each(function(){var e=a(this);e.prependTo(e.parent())})},_removeCorners:function(c){c.add(c.find(".ui-btn-inner, .ui-li-link-alt, .ui-li-thumb")).removeClass("ui-corner-top ui-corner-bottom ui-corner-br ui-corner-bl ui-corner-tr ui-corner-tl")},refresh:function(m){this._createSubPages();var r=this.options,c=this.element,q=this,v=c.jqmData("dividertheme")||r.dividerTheme,n=c.jqmData("splittheme"),h=c.jqmData("spliticon"),p=c.children("li"),k=a.support.cssPseudoElement||!a.nodeName(c[0],"ol")?0:1;if(k){c.find(".ui-li-dec").remove()}var f=p.length;for(var i=0;i<f;i++){var t=p.eq(i),d="ui-li";if(!m&&t.hasClass("ui-li")){continue}var l=t.jqmData("theme")||r.theme;var u=t.children("a");if(u.length){var s=t.jqmData("icon");t.buttonMarkup({wrapperEls:"div",shadow:false,corners:false,iconpos:"right",icon:u.length>1||s===false?false:s||"arrow-r",theme:l});u.first().addClass("ui-link-inherit");if(u.length>1){d+=" ui-li-has-alt";var j=u.last(),g=n||j.jqmData("theme")||r.splitTheme;j.appendTo(t).attr("title",j.text()).addClass("ui-li-link-alt").empty().buttonMarkup({shadow:false,corners:false,theme:l,icon:false,iconpos:false}).find(".ui-btn-inner").append(a("<span>").buttonMarkup({shadow:true,corners:true,theme:g,iconpos:"notext",icon:h||j.jqmData("icon")||r.splitIcon}))}}else{if(t.jqmData("role")==="list-divider"){d+=" ui-li-divider ui-btn ui-bar-"+v;t.attr("role","heading");if(k){k=1}}else{d+=" ui-li-static ui-body-"+l}}if(r.inset){if(i===0){d+=" ui-corner-top";t.add(t.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-tr").end().find(".ui-li-thumb").addClass("ui-corner-tl");if(t.next().next().length){q._removeCorners(t.next())}}if(i===p.length-1){d+=" ui-corner-bottom";t.add(t.find(".ui-btn-inner")).find(".ui-li-link-alt").addClass("ui-corner-br").end().find(".ui-li-thumb").addClass("ui-corner-bl");if(t.prev().prev().length){q._removeCorners(t.prev())}}}if(k&&d.indexOf("ui-li-divider")<0){var e=t.is(".ui-li-static:first")?t:t.find(".ui-link-inherit");e.addClass("ui-li-jsnumbering").prepend("<span class='ui-li-dec'>"+(k++)+". </span>")}t.add(t.find(".ui-btn-inner")).addClass(d);if(!m){q._itemApply(c,t)}}},_idStringEscape:function(c){return c.replace(/[^a-zA-Z0-9]/g,"-")},_createSubPages:function(){var e=this.element,d=e.closest(".ui-page"),i=d.jqmData("url"),h=this.options,c="data-"+a.mobile.ns,f=this,g=d.find(":jqmData(role='footer')").jqmData("id");a(e.find("li>ul, li>ol").toArray().reverse()).each(function(o){var p=a(this),r=p.parent(),s=a(p.prevAll().toArray().reverse()),s=s.length?s:a("<span>"+a.trim(r.contents()[0].nodeValue)+"</span>"),q=s.first().text(),j=i+"&"+a.mobile.subPageUrlKey+"="+f._idStringEscape(q+" "+o),n=p.jqmData("theme")||h.theme,k=p.jqmData("counttheme")||e.jqmData("counttheme")||h.countTheme,l=p.detach().wrap("<div "+c+"role='page'"+c+"url='"+j+"' "+c+"theme='"+n+"' "+c+"count-theme='"+k+"'><div "+c+"role='content'></div></div>").parent().before("<div "+c+"role='header' "+c+"theme='"+h.headerTheme+"'><div class='ui-title'>"+q+"</div></div>").after(g?a("<div "+c+"role='footer' "+c+"id='"+g+"'>"):"").parent().appendTo(a.mobile.pageContainer);l.page();var m=r.find("a:first");if(!m.length){m=a("<a></a>").html(s||q).prependTo(r.empty())}m.attr("href","#"+j)}).listview()}})})(jQuery);(function(a,b){a.mobile.listview.prototype.options.filter=false;a.mobile.listview.prototype.options.filterPlaceholder="Filter items...";a(":jqmData(role='listview')").live("listviewcreate",function(){var e=a(this),d=e.data("listview");if(!d.options.filter){return}var f=a("<form>",{"class":"ui-listview-filter ui-bar-c",role:"search"}),c=a("<input>",{placeholder:d.options.filterPlaceholder}).attr("data-"+a.mobile.ns+"type","search").bind("keyup change",function(){var l=this.value.toLowerCase(),j=e.children();j.show();if(l){var k=false,h;for(var g=j.length;g>=0;g--){h=a(j[g]);if(h.is("li:jqmData(role=list-divider)")){if(!k){h.hide()}k=false}else{if(h.text().toLowerCase().indexOf(l)===-1){h.hide()}else{k=true}}}}}).appendTo(f).textinput();if(a(this).jqmData("inset")){f.addClass("ui-listview-filter-inset")}f.insertBefore(e)})})(jQuery);(function(a,b){a.widget("mobile.dialog",a.mobile.widget,{options:{closeBtnText:"Close"},_create:function(){var c=this,d=c.element;this.element.attr("role","dialog").addClass("ui-page ui-dialog ui-body-a").find(":jqmData(role=header)").addClass("ui-corner-top ui-overlay-shadow").prepend("<a href='#' data-"+a.mobile.ns+"icon='delete' data-"+a.mobile.ns+"rel='back' data-"+a.mobile.ns+"iconpos='notext'>"+this.options.closeBtnText+"</a>").end().find('.ui-content:not([class*="ui-body-"])').addClass("ui-body-c").end().find(".ui-content,:jqmData(role='footer')").last().addClass("ui-corner-bottom ui-overlay-shadow");this.element.bind("vclick submit",function(g){var f;if(g.type=="vclick"){f=a(g.target).closest("a")}else{f=a(g.target).closest("form")}if(f.length&&!f.jqmData("transition")){f.attr("data-"+a.mobile.ns+"transition",a.mobile.urlHistory.getActive().transition).attr("data-"+a.mobile.ns+"direction","reverse")}})},close:function(){window.history.back()}})})(jQuery);(function(a,b){a.widget("mobile.navbar",a.mobile.widget,{options:{iconpos:"top",grid:null},_create:function(){var e=this.element,c=e.find("a"),d=c.filter(":jqmData(icon)").length?this.options.iconpos:b;e.addClass("ui-navbar").attr("role","navigation").find("ul").grid({grid:this.options.grid});if(!d){e.addClass("ui-navbar-noicons")}c.buttonMarkup({corners:false,shadow:false,iconpos:d});e.delegate("a","vclick",function(f){c.not(".ui-state-persist").removeClass(a.mobile.activeBtnClass);a(this).addClass(a.mobile.activeBtnClass)})}})})(jQuery);(function(a,b){a.fn.grid=function(c){return this.each(function(){var h=a.extend({grid:null},c);var i=a(this).children(),f={solo:1,a:2,b:3,c:4,d:5},d=h.grid,e;if(!d){if(i.length<=5){for(var g in f){if(f[g]==i.length){d=g}}}else{d="a"}}e=f[d];a(this).addClass("ui-grid-"+d);i.filter(":nth-child("+e+"n+1)").addClass("ui-block-a");if(e>1){i.filter(":nth-child("+e+"n+2)").addClass("ui-block-b")}if(e>2){i.filter(":nth-child(3n+3)").addClass("ui-block-c")}if(e>3){i.filter(":nth-child(4n+4)").addClass("ui-block-d")}if(e>4){i.filter(":nth-child(5n+5)").addClass("ui-block-e")}})}})(jQuery);
|
|
29
29
|
/*!
|
|
30
30
|
* jQuery Mobile v@VERSION
|
|
31
31
|
* http://jquerymobile.com/
|
|
@@ -8,7 +8,15 @@
|
|
|
8
8
|
|
|
9
9
|
/* some unsets - more probably needed */
|
|
10
10
|
|
|
11
|
-
.ui-mobile
|
|
11
|
+
.ui-mobile {
|
|
12
|
+
height: 100%;
|
|
13
|
+
body {
|
|
14
|
+
height: 100%; }
|
|
15
|
+
fieldset {
|
|
16
|
+
padding: 0;
|
|
17
|
+
margin: 0; } }
|
|
18
|
+
|
|
19
|
+
.ui-page {
|
|
12
20
|
padding: 0;
|
|
13
21
|
margin: 0; }
|
|
14
22
|
|
|
@@ -52,15 +60,10 @@
|
|
|
52
60
|
|
|
53
61
|
/*orientations from js are available */
|
|
54
62
|
|
|
55
|
-
.portrait {
|
|
56
|
-
min-height:
|
|
57
|
-
.ui-page {
|
|
58
|
-
min-height: 480px; } }
|
|
59
|
-
|
|
60
|
-
.landscape {
|
|
61
|
-
min-height: 320px;
|
|
63
|
+
.portrait, .landscape {
|
|
64
|
+
min-height: 100%;
|
|
62
65
|
.ui-page {
|
|
63
|
-
min-height:
|
|
66
|
+
min-height: 100%; } }
|
|
64
67
|
|
|
65
68
|
/* loading screen */
|
|
66
69
|
|
|
@@ -76,7 +79,7 @@
|
|
|
76
79
|
display: none;
|
|
77
80
|
position: absolute;
|
|
78
81
|
opacity: .85;
|
|
79
|
-
z-index:
|
|
82
|
+
z-index: 100;
|
|
80
83
|
left: 50%;
|
|
81
84
|
width: 200px;
|
|
82
85
|
margin-left: -130px;
|
|
@@ -1161,7 +1164,15 @@ textarea.ui-input-text {
|
|
|
1161
1164
|
text-align: left;
|
|
1162
1165
|
border-width: 0;
|
|
1163
1166
|
border-top-width: 1px;
|
|
1164
|
-
|
|
1167
|
+
&.ui-field-contain {
|
|
1168
|
+
display: block;
|
|
1169
|
+
margin: 0;
|
|
1170
|
+
position: relative;
|
|
1171
|
+
overflow: visible;
|
|
1172
|
+
text-align: left;
|
|
1173
|
+
border-width: 0;
|
|
1174
|
+
border-top-width: 1px; }
|
|
1175
|
+
.ui-btn-text a.ui-link-inherit {
|
|
1165
1176
|
text-overflow: ellipsis;
|
|
1166
1177
|
overflow: hidden;
|
|
1167
1178
|
white-space: nowrap; } }
|
|
@@ -1169,10 +1180,21 @@ textarea.ui-input-text {
|
|
|
1169
1180
|
.ui-li-divider, .ui-li-static {
|
|
1170
1181
|
padding: .5em 15px;
|
|
1171
1182
|
font-size: 14px;
|
|
1172
|
-
font-weight: bold;
|
|
1183
|
+
font-weight: bold; }
|
|
1184
|
+
|
|
1185
|
+
.ui-li-divider {
|
|
1173
1186
|
counter-reset: listnumbering; }
|
|
1174
1187
|
|
|
1175
|
-
ol.ui-listview
|
|
1188
|
+
ol.ui-listview {
|
|
1189
|
+
.ui-link-inherit:before, .ui-li-static:before {
|
|
1190
|
+
font-size: .8em;
|
|
1191
|
+
display: inline-block;
|
|
1192
|
+
padding-right: .3em;
|
|
1193
|
+
font-weight: normal;
|
|
1194
|
+
counter-increment: listnumbering;
|
|
1195
|
+
content: counter(listnumbering) ". "; } }
|
|
1196
|
+
|
|
1197
|
+
.ui-li-dec {
|
|
1176
1198
|
font-size: .8em;
|
|
1177
1199
|
display: inline-block;
|
|
1178
1200
|
padding-right: .3em;
|
|
@@ -1190,21 +1212,23 @@ ol.ui-listview .ui-li-jsnumbering:before {
|
|
|
1190
1212
|
border-left-width: 1px; }
|
|
1191
1213
|
|
|
1192
1214
|
.ui-li {
|
|
1193
|
-
&:last-child {
|
|
1194
|
-
border-bottom-width: 1px; }
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1215
|
+
&:last-child, &.ui-field-contain:last-child {
|
|
1216
|
+
border-bottom-width: 1px; } }
|
|
1217
|
+
|
|
1218
|
+
.ui-li>.ui-btn-inner {
|
|
1219
|
+
display: block;
|
|
1220
|
+
position: relative;
|
|
1221
|
+
padding: 0; }
|
|
1222
|
+
|
|
1223
|
+
.ui-li .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li {
|
|
1224
|
+
padding: .7em 75px .7em 15px;
|
|
1225
|
+
display: block; }
|
|
1202
1226
|
|
|
1203
|
-
.ui-li-has-thumb .ui-btn-inner a {
|
|
1227
|
+
.ui-li-has-thumb .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-thumb {
|
|
1204
1228
|
min-height: 60px;
|
|
1205
1229
|
padding-left: 100px; }
|
|
1206
1230
|
|
|
1207
|
-
.ui-li-has-icon .ui-btn-inner a {
|
|
1231
|
+
.ui-li-has-icon .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-icon {
|
|
1208
1232
|
min-height: 20px;
|
|
1209
1233
|
padding-left: 40px; }
|
|
1210
1234
|
|
|
@@ -1260,7 +1284,7 @@ ol.ui-listview .ui-li-jsnumbering:before {
|
|
|
1260
1284
|
.ui-li-divider {
|
|
1261
1285
|
cursor: default; }
|
|
1262
1286
|
|
|
1263
|
-
.ui-li-has-alt .ui-btn-inner a {
|
|
1287
|
+
.ui-li-has-alt .ui-btn-inner a.ui-link-inherit, .ui-li-static.ui-li-has-alt {
|
|
1264
1288
|
padding-right: 95px; }
|
|
1265
1289
|
|
|
1266
1290
|
.ui-li-count {
|
|
@@ -1272,7 +1296,7 @@ ol.ui-listview .ui-li-jsnumbering:before {
|
|
|
1272
1296
|
margin-top: -0.9em;
|
|
1273
1297
|
right: 38px; }
|
|
1274
1298
|
|
|
1275
|
-
.ui-li-divider .ui-li-count {
|
|
1299
|
+
.ui-li-divider .ui-li-count, .ui-li-static .ui-li-count {
|
|
1276
1300
|
right: 10px; }
|
|
1277
1301
|
|
|
1278
1302
|
.ui-li-has-alt .ui-li-count {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
-----------------------------------------------------------------------------------------------------------*/
|
|
11
11
|
|
|
12
12
|
.ui-bar-a {
|
|
13
|
-
border: 1px solid
|
|
13
|
+
border: 1px solid #2A2A2A;
|
|
14
14
|
background: #111111;
|
|
15
15
|
color: #ffffff;
|
|
16
16
|
font-weight: bold;
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
font-weight: bold; } }
|
|
29
29
|
|
|
30
30
|
.ui-body-a {
|
|
31
|
-
border: 1px solid
|
|
31
|
+
border: 1px solid #2A2A2A;
|
|
32
32
|
background: #222222;
|
|
33
33
|
color: #fff;
|
|
34
|
-
text-shadow: 0 1px 0
|
|
34
|
+
text-shadow: 0 1px 0 #000;
|
|
35
35
|
font-weight: normal;
|
|
36
36
|
background-image: -moz-linear-gradient(top, #666666, #222222);
|
|
37
37
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, #222222));
|
|
@@ -52,12 +52,11 @@
|
|
|
52
52
|
border-bottom-style: solid; }
|
|
53
53
|
|
|
54
54
|
.ui-btn-up-a {
|
|
55
|
-
border: 1px solid
|
|
55
|
+
border: 1px solid #222;
|
|
56
56
|
background: #333333;
|
|
57
57
|
font-weight: bold;
|
|
58
58
|
color: #fff;
|
|
59
59
|
text-shadow: 0 -1px 1px black;
|
|
60
|
-
text-decoration: none;
|
|
61
60
|
background-image: -moz-linear-gradient(top, #555555, #333333);
|
|
62
61
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #555555), color-stop(1, #333333));
|
|
63
62
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#555555', EndColorStr='#333333')";
|
|
@@ -65,12 +64,11 @@
|
|
|
65
64
|
color: #fff; } }
|
|
66
65
|
|
|
67
66
|
.ui-btn-hover-a {
|
|
68
|
-
border: 1px solid
|
|
67
|
+
border: 1px solid #000;
|
|
69
68
|
background: #444444;
|
|
70
69
|
font-weight: bold;
|
|
71
70
|
color: #fff;
|
|
72
71
|
text-shadow: 0 -1px 1px black;
|
|
73
|
-
text-decoration: none;
|
|
74
72
|
background-image: -moz-linear-gradient(top, #666666, #444444);
|
|
75
73
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, #444444));
|
|
76
74
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#666666', EndColorStr='#444444')";
|
|
@@ -78,7 +76,7 @@
|
|
|
78
76
|
color: #fff; } }
|
|
79
77
|
|
|
80
78
|
.ui-btn-down-a {
|
|
81
|
-
border: 1px solid
|
|
79
|
+
border: 1px solid #000;
|
|
82
80
|
background: #3d3d3d;
|
|
83
81
|
font-weight: bold;
|
|
84
82
|
color: #fff;
|
|
@@ -90,13 +88,14 @@
|
|
|
90
88
|
color: #fff; } }
|
|
91
89
|
|
|
92
90
|
.ui-btn-up-a, .ui-btn-hover-a, .ui-btn-down-a {
|
|
93
|
-
font-family: Helvetica, Arial, sans-serif;
|
|
91
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
92
|
+
text-decoration: none; }
|
|
94
93
|
|
|
95
94
|
/* B
|
|
96
95
|
-----------------------------------------------------------------------------------------------------------*/
|
|
97
96
|
|
|
98
97
|
.ui-bar-b {
|
|
99
|
-
border: 1px solid
|
|
98
|
+
border: 1px solid #456f9a;
|
|
100
99
|
background: #5e87b0;
|
|
101
100
|
color: #fff;
|
|
102
101
|
font-weight: bold;
|
|
@@ -114,10 +113,10 @@
|
|
|
114
113
|
font-weight: bold; } }
|
|
115
114
|
|
|
116
115
|
.ui-body-b {
|
|
117
|
-
border: 1px solid
|
|
116
|
+
border: 1px solid #C6C6C6;
|
|
118
117
|
background: #cccccc;
|
|
119
118
|
color: #333333;
|
|
120
|
-
text-shadow: 0 1px 0
|
|
119
|
+
text-shadow: 0 1px 0 #fff;
|
|
121
120
|
font-weight: normal;
|
|
122
121
|
background-image: -moz-linear-gradient(top, #e6e6e6, #cccccc);
|
|
123
122
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e6e6e6), color-stop(1, #cccccc));
|
|
@@ -132,12 +131,11 @@
|
|
|
132
131
|
font-weight: bold; } }
|
|
133
132
|
|
|
134
133
|
.ui-btn-up-b {
|
|
135
|
-
border: 1px solid
|
|
134
|
+
border: 1px solid #145072;
|
|
136
135
|
background: #2567ab;
|
|
137
136
|
font-weight: bold;
|
|
138
137
|
color: #fff;
|
|
139
138
|
text-shadow: 0 -1px 1px #145072;
|
|
140
|
-
text-decoration: none;
|
|
141
139
|
background-image: -moz-linear-gradient(top, #4e89c5, #2567ab);
|
|
142
140
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #5f9cc5), color-stop(1, #396b9e));
|
|
143
141
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#4e89c5', EndColorStr='#2567ab')";
|
|
@@ -145,20 +143,19 @@
|
|
|
145
143
|
color: #fff; } }
|
|
146
144
|
|
|
147
145
|
.ui-btn-hover-b {
|
|
148
|
-
border: 1px solid
|
|
146
|
+
border: 1px solid #00516e;
|
|
149
147
|
background: #4b88b6;
|
|
150
148
|
font-weight: bold;
|
|
151
149
|
color: #fff;
|
|
152
150
|
text-shadow: 0 -1px 1px #014d68;
|
|
153
151
|
background-image: -moz-linear-gradient(top, #72b0d4, #4b88b6);
|
|
154
|
-
text-decoration: none;
|
|
155
152
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #72b0d4), color-stop(1, #4b88b6));
|
|
156
153
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#72b0d4', EndColorStr='#4b88b6')";
|
|
157
154
|
a.ui-link-inherit {
|
|
158
155
|
color: #fff; } }
|
|
159
156
|
|
|
160
157
|
.ui-btn-down-b {
|
|
161
|
-
border: 1px solid
|
|
158
|
+
border: 1px solid #225377;
|
|
162
159
|
background: #4e89c5;
|
|
163
160
|
font-weight: bold;
|
|
164
161
|
color: #fff;
|
|
@@ -170,17 +167,18 @@
|
|
|
170
167
|
color: #fff; } }
|
|
171
168
|
|
|
172
169
|
.ui-btn-up-b, .ui-btn-hover-b, .ui-btn-down-b {
|
|
173
|
-
font-family: Helvetica, Arial, sans-serif;
|
|
170
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
171
|
+
text-decoration: none; }
|
|
174
172
|
|
|
175
173
|
/* C
|
|
176
174
|
-----------------------------------------------------------------------------------------------------------*/
|
|
177
175
|
|
|
178
176
|
.ui-bar-c {
|
|
179
|
-
border: 1px solid
|
|
177
|
+
border: 1px solid #B3B3B3;
|
|
180
178
|
background: #e9eaeb;
|
|
181
179
|
color: #3E3E3E;
|
|
182
180
|
font-weight: bold;
|
|
183
|
-
text-shadow: 0 1px 1px
|
|
181
|
+
text-shadow: 0 1px 1px #fff;
|
|
184
182
|
background-image: -moz-linear-gradient(top, #f0f0f0, #e9eaeb);
|
|
185
183
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f0f0f0), color-stop(1, #e9eaeb));
|
|
186
184
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#f0f0f0', EndColorStr='#e9eaeb')";
|
|
@@ -189,9 +187,9 @@
|
|
|
189
187
|
font-family: Helvetica, Arial, sans-serif; } }
|
|
190
188
|
|
|
191
189
|
.ui-body-c {
|
|
192
|
-
border: 1px solid
|
|
190
|
+
border: 1px solid #B3B3B3;
|
|
193
191
|
color: #333333;
|
|
194
|
-
text-shadow: 0 1px 0
|
|
192
|
+
text-shadow: 0 1px 0 #fff;
|
|
195
193
|
background: #f0f0f0;
|
|
196
194
|
background-image: -moz-linear-gradient(top, #eeeeee, #dddddd);
|
|
197
195
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eeeeee), color-stop(1, #dddddd));
|
|
@@ -206,12 +204,11 @@
|
|
|
206
204
|
font-weight: bold; } }
|
|
207
205
|
|
|
208
206
|
.ui-btn-up-c {
|
|
209
|
-
border: 1px solid
|
|
207
|
+
border: 1px solid #ccc;
|
|
210
208
|
background: #eee;
|
|
211
209
|
font-weight: bold;
|
|
212
210
|
color: #444;
|
|
213
211
|
text-shadow: 0 1px 1px #f6f6f6;
|
|
214
|
-
text-decoration: none;
|
|
215
212
|
background-image: -moz-linear-gradient(top, #fefefe, #eeeeee);
|
|
216
213
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fdfdfd), color-stop(1, #eeeeee));
|
|
217
214
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fdfdfd', EndColorStr='#eeeeee')";
|
|
@@ -219,12 +216,11 @@
|
|
|
219
216
|
color: #2F3E46; } }
|
|
220
217
|
|
|
221
218
|
.ui-btn-hover-c {
|
|
222
|
-
border: 1px solid
|
|
219
|
+
border: 1px solid #bbb;
|
|
223
220
|
background: #dadada;
|
|
224
221
|
font-weight: bold;
|
|
225
222
|
color: #101010;
|
|
226
|
-
text-
|
|
227
|
-
text-shadow: 0 1px 1px #fff;
|
|
223
|
+
text-shadow: 0 1px 1px #fff;
|
|
228
224
|
background-image: -moz-linear-gradient(top, #ededed, #dadada);
|
|
229
225
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ededed), color-stop(1, #dadada));
|
|
230
226
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ededed', EndColorStr='#dadada')";
|
|
@@ -232,11 +228,11 @@
|
|
|
232
228
|
color: #2F3E46; } }
|
|
233
229
|
|
|
234
230
|
.ui-btn-down-c {
|
|
235
|
-
border: 1px solid
|
|
231
|
+
border: 1px solid #808080;
|
|
236
232
|
background: #fdfdfd;
|
|
237
233
|
font-weight: bold;
|
|
238
234
|
color: #111111;
|
|
239
|
-
text-shadow: 0 1px 1px
|
|
235
|
+
text-shadow: 0 1px 1px #ffffff;
|
|
240
236
|
background-image: -moz-linear-gradient(top, #eeeeee, #fdfdfd);
|
|
241
237
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eeeeee), color-stop(1, #fdfdfd));
|
|
242
238
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#fdfdfd')";
|
|
@@ -244,13 +240,14 @@
|
|
|
244
240
|
color: #2F3E46; } }
|
|
245
241
|
|
|
246
242
|
.ui-btn-up-c, .ui-btn-hover-c, .ui-btn-down-c {
|
|
247
|
-
font-family: Helvetica, Arial, sans-serif;
|
|
243
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
244
|
+
text-decoration: none; }
|
|
248
245
|
|
|
249
246
|
/* D
|
|
250
247
|
-----------------------------------------------------------------------------------------------------------*/
|
|
251
248
|
|
|
252
249
|
.ui-bar-d {
|
|
253
|
-
border: 1px solid
|
|
250
|
+
border: 1px solid #ccc;
|
|
254
251
|
background: #bbb;
|
|
255
252
|
color: #333;
|
|
256
253
|
text-shadow: 0 1px 0 #eee;
|
|
@@ -267,9 +264,9 @@
|
|
|
267
264
|
font-weight: bold; } }
|
|
268
265
|
|
|
269
266
|
.ui-body-d {
|
|
270
|
-
border: 1px solid
|
|
267
|
+
border: 1px solid #ccc;
|
|
271
268
|
color: #333333;
|
|
272
|
-
text-shadow: 0 1px 0
|
|
269
|
+
text-shadow: 0 1px 0 #fff;
|
|
273
270
|
background: #ffffff;
|
|
274
271
|
font-family: Helvetica, Arial, sans-serif;
|
|
275
272
|
input, select, textarea, button {
|
|
@@ -281,23 +278,21 @@
|
|
|
281
278
|
font-weight: bold; } }
|
|
282
279
|
|
|
283
280
|
.ui-btn-up-d {
|
|
284
|
-
border: 1px solid
|
|
281
|
+
border: 1px solid #ccc;
|
|
285
282
|
background: #fff;
|
|
286
283
|
font-weight: bold;
|
|
287
284
|
color: #444;
|
|
288
|
-
text-decoration: none;
|
|
289
285
|
text-shadow: 0 1px 1px #fff;
|
|
290
286
|
a.ui-link-inherit {
|
|
291
287
|
color: #333; } }
|
|
292
288
|
|
|
293
289
|
.ui-btn-hover-d {
|
|
294
|
-
border: 1px solid
|
|
290
|
+
border: 1px solid #aaa;
|
|
295
291
|
background: #eeeeee;
|
|
296
292
|
font-weight: bold;
|
|
297
293
|
color: #222;
|
|
298
294
|
cursor: pointer;
|
|
299
|
-
text-shadow: 0 1px 1px
|
|
300
|
-
text-decoration: none;
|
|
295
|
+
text-shadow: 0 1px 1px #fff;
|
|
301
296
|
background-image: -moz-linear-gradient(top, #fdfdfd, #eeeeee);
|
|
302
297
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fdfdfd), color-stop(1, #eeeeee));
|
|
303
298
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fdfdfd', EndColorStr='#eeeeee')";
|
|
@@ -305,16 +300,16 @@
|
|
|
305
300
|
color: #222; } }
|
|
306
301
|
|
|
307
302
|
.ui-btn-down-d {
|
|
308
|
-
border: 1px solid
|
|
303
|
+
border: 1px solid #aaaaaa;
|
|
309
304
|
background: #ffffff;
|
|
310
305
|
font-weight: bold;
|
|
311
306
|
color: #111;
|
|
312
|
-
text-shadow: 0 1px 1px
|
|
307
|
+
text-shadow: 0 1px 1px #ffffff;
|
|
313
308
|
background-image: -moz-linear-gradient(top, #eeeeee, white);
|
|
314
309
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eeeeee), color-stop(1, white));
|
|
315
310
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#ffffff')";
|
|
316
311
|
a.ui-link-inherit {
|
|
317
|
-
border: 1px solid
|
|
312
|
+
border: 1px solid #808080;
|
|
318
313
|
background: #ced0d2;
|
|
319
314
|
font-weight: bold;
|
|
320
315
|
color: #111;
|
|
@@ -324,16 +319,17 @@
|
|
|
324
319
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#cccccc', EndColorStr='#eeeeee')"; } }
|
|
325
320
|
|
|
326
321
|
.ui-btn-up-d, .ui-btn-hover-d, .ui-btn-down-d {
|
|
327
|
-
font-family: Helvetica, Arial, sans-serif;
|
|
322
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
323
|
+
text-decoration: none; }
|
|
328
324
|
|
|
329
325
|
/* E
|
|
330
326
|
-----------------------------------------------------------------------------------------------------------*/
|
|
331
327
|
|
|
332
328
|
.ui-bar-e {
|
|
333
|
-
border: 1px solid
|
|
329
|
+
border: 1px solid #F7C942;
|
|
334
330
|
background: #fadb4e;
|
|
335
331
|
color: #333;
|
|
336
|
-
text-shadow: 0 1px 0
|
|
332
|
+
text-shadow: 0 1px 0 #fff;
|
|
337
333
|
background-image: -moz-linear-gradient(top, #fceda7, #fadb4e);
|
|
338
334
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fceda7), color-stop(1, #fadb4e));
|
|
339
335
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fceda7', EndColorStr='#fadb4e')";
|
|
@@ -352,9 +348,9 @@
|
|
|
352
348
|
font-weight: bold; } }
|
|
353
349
|
|
|
354
350
|
.ui-body-e {
|
|
355
|
-
border: 1px solid
|
|
351
|
+
border: 1px solid #F7C942;
|
|
356
352
|
color: #333333;
|
|
357
|
-
text-shadow: 0 1px 0
|
|
353
|
+
text-shadow: 0 1px 0 #fff;
|
|
358
354
|
background: #faeb9e;
|
|
359
355
|
background-image: -moz-linear-gradient(top, white, #faeb9e);
|
|
360
356
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, white), color-stop(1, #faeb9e));
|
|
@@ -369,13 +365,11 @@
|
|
|
369
365
|
font-weight: bold; } }
|
|
370
366
|
|
|
371
367
|
.ui-btn-up-e {
|
|
372
|
-
border: 1px solid
|
|
368
|
+
border: 1px solid #F7C942;
|
|
373
369
|
background: #fadb4e;
|
|
374
370
|
font-weight: bold;
|
|
375
371
|
color: #333;
|
|
376
|
-
text-shadow: 0 1px
|
|
377
|
-
text-decoration: none;
|
|
378
|
-
text-shadow: 0 1px 0 #fff;
|
|
372
|
+
text-shadow: 0 1px 0 #fff;
|
|
379
373
|
background-image: -moz-linear-gradient(top, #fceda7, #fadb4e);
|
|
380
374
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fceda7), color-stop(1, #fadb4e));
|
|
381
375
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fceda7', EndColorStr='#fadb4e')";
|
|
@@ -383,12 +377,11 @@
|
|
|
383
377
|
color: #333; } }
|
|
384
378
|
|
|
385
379
|
.ui-btn-hover-e {
|
|
386
|
-
border: 1px solid
|
|
380
|
+
border: 1px solid #e79952;
|
|
387
381
|
background: #fbe26f;
|
|
388
382
|
font-weight: bold;
|
|
389
383
|
color: #111;
|
|
390
|
-
text-
|
|
391
|
-
text-shadow: 0 1px 1px #fff;
|
|
384
|
+
text-shadow: 0 1px 1px #fff;
|
|
392
385
|
background-image: -moz-linear-gradient(top, #fcf0b5, #fbe26f);
|
|
393
386
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fcf0b5), color-stop(1, #fbe26f));
|
|
394
387
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fcf0b5', EndColorStr='#fbe26f')";
|
|
@@ -396,11 +389,11 @@
|
|
|
396
389
|
color: #333; } }
|
|
397
390
|
|
|
398
391
|
.ui-btn-down-e {
|
|
399
|
-
border: 1px solid
|
|
392
|
+
border: 1px solid #F7C942;
|
|
400
393
|
background: #fceda7;
|
|
401
394
|
font-weight: bold;
|
|
402
395
|
color: #111;
|
|
403
|
-
text-shadow: 0 1px 1px
|
|
396
|
+
text-shadow: 0 1px 1px #ffffff;
|
|
404
397
|
background-image: -moz-linear-gradient(top, #fadb4e, #fceda7);
|
|
405
398
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fadb4e), color-stop(1, #fceda7));
|
|
406
399
|
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#fadb4e', EndColorStr='#fceda7')";
|
|
@@ -408,9 +401,10 @@
|
|
|
408
401
|
color: #333; } }
|
|
409
402
|
|
|
410
403
|
.ui-btn-up-e, .ui-btn-hover-e, .ui-btn-down-e {
|
|
411
|
-
font-family: Helvetica, Arial, sans-serif;
|
|
404
|
+
font-family: Helvetica, Arial, sans-serif;
|
|
405
|
+
text-decoration: none; }
|
|
412
406
|
|
|
413
|
-
/* links within "buttons"
|
|
407
|
+
/* links within "buttons"
|
|
414
408
|
-----------------------------------------------------------------------------------------------------------*/
|
|
415
409
|
|
|
416
410
|
a.ui-link-inherit {
|
|
@@ -420,7 +414,7 @@ a.ui-link-inherit {
|
|
|
420
414
|
-----------------------------------------------------------------------------------------------------------*/
|
|
421
415
|
|
|
422
416
|
.ui-btn-active {
|
|
423
|
-
border: 1px solid
|
|
417
|
+
border: 1px solid #155678;
|
|
424
418
|
background: #4596ce;
|
|
425
419
|
font-weight: bold;
|
|
426
420
|
color: #fff;
|
|
@@ -438,7 +432,7 @@ a.ui-link-inherit {
|
|
|
438
432
|
-----------------------------------------------------------------------------------------------------------*/
|
|
439
433
|
|
|
440
434
|
.ui-btn-inner {
|
|
441
|
-
border-top: 1px solid
|
|
435
|
+
border-top: 1px solid #fff;
|
|
442
436
|
border-color: rgba(255, 255, 255, 0.3); }
|
|
443
437
|
|
|
444
438
|
/* corner rounding classes
|
|
@@ -534,7 +528,9 @@ a.ui-link-inherit {
|
|
|
534
528
|
/* HD/"retina" sprite
|
|
535
529
|
-----------------------------------------------------------------------------------------------------------*/
|
|
536
530
|
|
|
537
|
-
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
|
531
|
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
|
532
|
+
only screen and (min--moz-device-pixel-ratio: 1.5),
|
|
533
|
+
only screen and (min-resolution: 240dpi) {
|
|
538
534
|
.ui-icon-plus, .ui-icon-minus, .ui-icon-delete, .ui-icon-arrow-r, .ui-icon-arrow-l, .ui-icon-arrow-u, .ui-icon-arrow-d, .ui-icon-check, .ui-icon-gear, .ui-icon-refresh, .ui-icon-forward, .ui-icon-back, .ui-icon-grid, .ui-icon-star, .ui-icon-alert, .ui-icon-info, .ui-icon-home, .ui-icon-search, .ui-icon-checkbox-off, .ui-icon-checkbox-on, .ui-icon-radio-off, .ui-icon-radio-on {
|
|
539
535
|
background-image: image_url("jquery/mobile/default/icons-36-white.png");
|
|
540
536
|
-moz-background-size: 776px 18px;
|
|
@@ -748,9 +744,9 @@ a.ui-link-inherit {
|
|
|
748
744
|
-----------------------------------------------------------------------------------------------------------*/
|
|
749
745
|
|
|
750
746
|
.ui-focus {
|
|
751
|
-
-moz-box-shadow: 0px 0px 12px
|
|
752
|
-
-webkit-box-shadow: 0px 0px 12px
|
|
753
|
-
box-shadow: 0px 0px 12px
|
|
747
|
+
-moz-box-shadow: 0px 0px 12px #387bbe;
|
|
748
|
+
-webkit-box-shadow: 0px 0px 12px #387bbe;
|
|
749
|
+
box-shadow: 0px 0px 12px #387bbe; }
|
|
754
750
|
|
|
755
751
|
/* unset box shadow in browsers that don't do it right
|
|
756
752
|
-----------------------------------------------------------------------------------------------------------*/
|