compass-jquery-plugin 0.3.2.8 → 0.3.3.0
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 +24 -6
- data/VERSION.yml +3 -3
- data/lib/jquery/gridify/grid_column.rb +6 -6
- data/lib/jquery/gridify/grid_options.rb +4 -4
- data/lib/jquery/mark_it_up.rb +2 -0
- data/lib/jquery/mobile.rb +0 -1
- data/templates/dynatree/jquery.dynatree.js +2896 -2880
- data/templates/dynatree/jquery.dynatree.min.js +55 -54
- data/templates/dynatree/jquery/dynatree/aero.scss +4 -2
- data/templates/dynatree/jquery/dynatree/aqua.scss +4 -2
- data/templates/dynatree/jquery/dynatree/crystal.scss +4 -2
- data/templates/dynatree/jquery/dynatree/xp.scss +5 -3
- data/templates/emulators/emulators/bb.playbook.landscape.png +0 -0
- data/templates/emulators/emulators/bb.playbook.landscape.scss +18 -0
- data/templates/emulators/emulators/bb.playbook.portrait.png +0 -0
- data/templates/emulators/emulators/bb.playbook.portrait.scss +18 -0
- data/templates/emulators/emulators/{blackberry.torch.landscape.png → bb.torch.landscape.png} +0 -0
- data/templates/emulators/emulators/{blackberry.torch.landscape.scss → bb.torch.landscape.scss} +1 -3
- data/templates/emulators/emulators/{blackberry.torch.portrait.png → bb.torch.portrait.png} +0 -0
- data/templates/emulators/emulators/{blackberry.torch.portrait.scss → bb.torch.portrait.scss} +1 -3
- data/templates/emulators/emulators/galaxy.ace.landscape.png +0 -0
- data/templates/emulators/emulators/galaxy.ace.landscape.scss +18 -0
- data/templates/emulators/emulators/galaxy.ace.portrait.png +0 -0
- data/templates/emulators/emulators/galaxy.ace.portrait.scss +18 -0
- data/templates/emulators/emulators/galaxy.s.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.s.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.s2.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.s2.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.10.1.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.10.1.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.7.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.7.portrait.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.8.9.landscape.scss +0 -2
- data/templates/emulators/emulators/galaxy.tab.8.9.portrait.scss +0 -2
- data/templates/emulators/emulators/htc.sensation.landscape.png +0 -0
- data/templates/emulators/emulators/htc.sensation.landscape.scss +18 -0
- data/templates/emulators/emulators/htc.sensation.portrait.png +0 -0
- data/templates/emulators/emulators/htc.sensation.portrait.scss +18 -0
- data/templates/emulators/emulators/ipad.landscape.scss +0 -2
- data/templates/emulators/emulators/ipad.portrait.scss +0 -2
- data/templates/emulators/emulators/iphone.3.landscape.scss +0 -2
- data/templates/emulators/emulators/iphone.3.portrait.scss +0 -2
- data/templates/emulators/emulators/{iphone.4.landscape .scss → iphone.4.landscape.scss} +0 -2
- data/templates/emulators/emulators/iphone.4.portrait.scss +0 -2
- data/templates/emulators/emulators/palm.pre.2.landscape.scss +0 -2
- data/templates/emulators/emulators/palm.pre.2.portrait.scss +0 -2
- data/templates/emulators/manifest.rb +17 -5
- data/templates/graphics/highcharts/dark-blue.js +159 -159
- data/templates/graphics/highcharts/dark-green.js +159 -159
- data/templates/graphics/highcharts/gray.js +154 -154
- data/templates/graphics/highcharts/grid.js +84 -84
- data/templates/graphics/highcharts/highslide-config.js +2 -2
- data/templates/graphics/highcharts/highslide-full.js +3310 -3310
- data/templates/graphics/highcharts/skies.js +72 -72
- data/templates/graphics/jquery.ganttView.js +1550 -1550
- data/templates/graphics/jquery.highcharts.js +11277 -11285
- data/templates/graphics/jquery.sparkline.js +1072 -1072
- data/templates/ical/jquery.ical.js +7637 -7637
- data/templates/ical/jquery/ical.print.scss +3 -3
- data/templates/jqgrid/i18n/jqgrid/locale-ar.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +131 -131
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +131 -131
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-cn.js +132 -132
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +129 -129
- data/templates/jqgrid/i18n/jqgrid/locale-da.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +134 -134
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-es.js +129 -129
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +141 -141
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-gl.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-hu.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +6 -6
- data/templates/jqgrid/i18n/jqgrid/locale-ja.js +153 -153
- data/templates/jqgrid/i18n/jqgrid/locale-lt.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-mne.js +134 -0
- data/templates/jqgrid/i18n/jqgrid/locale-mne.min.js +7 -0
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +145 -145
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +12 -12
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +126 -126
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +140 -140
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sk.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sr.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +128 -128
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +127 -127
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +128 -128
- data/templates/jqgrid/jquery.jqGrid.js +13477 -13443
- data/templates/jqgrid/jquery.jqGrid.min.js +292 -287
- data/templates/jqgrid/jquery/jqGrid.scss +13 -12
- data/templates/jqgrid/manifest.rb +2 -0
- data/templates/jqtouch/jquery.jqtouch.js +9601 -9556
- data/templates/jqtouch/jquery.jqtouch.min.js +3 -3
- data/templates/jqtouch/jquery/touch/default.scss +2 -2
- data/templates/jqtouch/jquery/touch/jqt.scss +2 -2
- data/templates/jqtouch/jquery/touch/jqtouch.scss +26 -5
- data/templates/jquery/amplify.store.js +211 -211
- data/templates/jquery/config/initializers/jquery.rb +2 -0
- data/templates/jquery/history.adapter.jquery.js +42 -36
- data/templates/jquery/history.html4.js +563 -563
- data/templates/jquery/history.html4.min.js +5 -5
- data/templates/jquery/history.js +1721 -1694
- data/templates/jquery/history.min.js +28 -27
- data/templates/jquery/i18n/jquery.ui/datepicker-af.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-az.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-bg.js +21 -21
- data/templates/jquery/i18n/jquery.ui/datepicker-bs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ca.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-cs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-da.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-de.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-el.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-en-GB.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-eo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-es.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-et.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-eu.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fa.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-fi.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-fo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr-CH.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-gl.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-he.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-hy.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-id.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-is.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-it.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-ja.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ko.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-kz.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-lt.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-lv.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ms.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-no.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-pl.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-pt-BR.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-pt.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +17 -17
- data/templates/jquery/i18n/jquery.ui/datepicker-ro.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ru.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-sl.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-sq.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr-SR.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sv.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ta.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-th.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-tj.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-tr.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-uk.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-vi.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-CN.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-HK.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-TW.js +20 -20
- data/templates/jquery/jquery-ui.js +11913 -11882
- data/templates/jquery/jquery-ui.min.js +340 -339
- data/templates/jquery/jquery.bgiframe.js +27 -27
- data/templates/jquery/jquery.contextMenu.js +202 -202
- data/templates/jquery/jquery.cookie.js +26 -26
- data/templates/jquery/jquery.dotimeout.js +227 -227
- data/templates/jquery/jquery.dst.js +89 -89
- data/templates/jquery/jquery.easing.js +226 -0
- data/templates/jquery/jquery.easing.min.js +8 -0
- data/templates/jquery/jquery.farbtastic.js +294 -294
- data/templates/jquery/jquery.flashMessages.js +14 -14
- data/templates/jquery/jquery.form.js +761 -761
- data/templates/jquery/jquery.haml.js +247 -247
- data/templates/jquery/jquery.hotkeys.js +79 -79
- data/templates/jquery/jquery.js +1490 -928
- data/templates/jquery/jquery.layout.js +2454 -2454
- data/templates/jquery/jquery.mediahelpers.js +216 -0
- data/templates/jquery/jquery.mediahelpers.min.js +3 -0
- data/templates/jquery/jquery.min.js +177 -166
- data/templates/jquery/jquery.mousewheel.js +57 -57
- data/templates/jquery/jquery.offline.js +171 -171
- data/templates/jquery/jquery.pngFix.js +72 -72
- data/templates/jquery/jquery.rails.js +145 -145
- data/templates/jquery/jquery.replacetext.js +80 -80
- data/templates/jquery/jquery.themeswitchertool.js +195 -195
- data/templates/jquery/jquery.tmpl.js +460 -460
- data/templates/jquery/jquery.tmplPlus.js +78 -78
- data/templates/jquery/jquery.tokeninput.js +480 -475
- data/templates/jquery/jquery/ui/_theme.scss +14 -14
- data/templates/jquery/jquery/ui/black-tie/ui-icons_4ca300_256x240.png +0 -0
- data/templates/jquery/jquery/ui/black-tie/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/jquery/jquery/ui/black-tie/ui-icons_ededed_256x240.png +0 -0
- data/templates/jquery/jquery/ui/black-tie/ui-icons_ffcf29_256x240.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-icons_bbbbbb_256x240.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-icons_c98000_256x240.png +0 -0
- data/templates/jquery/jquery/ui/vader/ui-icons_f29a00_256x240.png +0 -0
- data/templates/jquery/json.js +66 -66
- data/templates/jquery/json2.js +177 -177
- data/templates/jquery/manifest.rb +4 -0
- data/templates/jstree/jquery.jstree.js +5918 -5918
- data/templates/markitup/app/views/shared/_mark_it_up.parsed.preview.blue.html.haml +9 -0
- data/templates/markitup/app/views/shared/_mark_it_up.parsed.preview.html.haml +9 -0
- data/templates/markitup/app/views/shared/_mark_it_up.preview.blue.html.haml +8 -0
- data/templates/markitup/app/views/shared/_mark_it_up.preview.html.haml +8 -0
- data/templates/markitup/config/initializers/mark_it_up.rb +40 -0
- data/templates/markitup/jquery.markitup.js +586 -0
- data/templates/markitup/jquery.markitup.min.js +1 -0
- data/templates/markitup/jquery/markitup/preview/body.blue.png +0 -0
- data/templates/markitup/jquery/markitup/preview/bullet.blue.png +0 -0
- data/templates/markitup/jquery/markitup/preview/preview.blue.scss +58 -0
- data/templates/markitup/jquery/markitup/preview/preview.scss +7 -0
- data/templates/markitup/jquery/markitup/sets/bbcode.scss +34 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/fonts.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/list-item.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/bbcode/underline.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css.scss +54 -0
- data/templates/markitup/jquery/markitup/sets/css/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/css.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/tag.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_center.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_justify.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_left.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_align_right.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_indent.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_letterspacing.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_linespacing.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_lowercase.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_bottom.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_left.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_right.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_padding_top.png +0 -0
- data/templates/markitup/jquery/markitup/sets/css/text_uppercase.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default.scss +22 -0
- data/templates/markitup/jquery/markitup/sets/default/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/image.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/default/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/dotclear/url.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html.scss +42 -0
- data/templates/markitup/jquery/markitup/sets/html/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/image.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/list-item.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/paragraph.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/html/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/markdown/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markdown/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/markmin/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/markmin/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest.scss +38 -0
- data/templates/markitup/jquery/markitup/sets/rest/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/rest/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile.scss +44 -0
- data/templates/markitup/jquery/markitup/sets/textile/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/paragraph.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/textile/table.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy.scss +40 -0
- data/templates/markitup/jquery/markitup/sets/texy/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/disconnect.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/page_white_code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/texy/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags.scss +44 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/disconnect.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/txt2tags/underline.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki.scss +42 -0
- data/templates/markitup/jquery/markitup/sets/wiki/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/code.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/quotes.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/table.png +0 -0
- data/templates/markitup/jquery/markitup/sets/wiki/url.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode.scss +42 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/bold.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/clean.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h1.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h2.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h3.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h4.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h5.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/h6.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/image.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/italic.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/link.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/list-bullet.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/list-item.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/list-numeric.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/paragraph.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/picture.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/preview.png +0 -0
- data/templates/markitup/jquery/markitup/sets/xbbcode/stroke.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua.scss +136 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-container-white.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-footer-white.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-footer.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-header-white.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/bg-header.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/spacer.gif +0 -0
- data/templates/markitup/jquery/markitup/skins/aqua/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor.scss +141 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-bbcode.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-dotclear.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-html.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-markdown.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-textile.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor-wiki.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/bg-editor.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/jtageditor/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live.scss +135 -0
- data/templates/markitup/jquery/markitup/skins/live/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/bg-footer.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/bg-header.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/editor.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/live/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup.scss +150 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-container.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-bbcode.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-dotclear.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-html.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-json.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-markdown.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-textile.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-wiki.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor-xml.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/bg-editor.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/markitup/submenu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple.scss +117 -0
- data/templates/markitup/jquery/markitup/skins/simple/handle.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple/menu.png +0 -0
- data/templates/markitup/jquery/markitup/skins/simple/submenu.png +0 -0
- data/templates/markitup/manifest.rb +311 -0
- data/templates/markitup/markitup/jquery.markitup.set.bbcode.js +40 -0
- data/templates/markitup/markitup/jquery.markitup.set.bbcode.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.css.js +53 -0
- data/templates/markitup/markitup/jquery.markitup.set.css.min.js +5 -0
- data/templates/markitup/markitup/jquery.markitup.set.default.js +30 -0
- data/templates/markitup/markitup/jquery.markitup.set.default.min.js +2 -0
- data/templates/markitup/markitup/jquery.markitup.set.dotclear.js +38 -0
- data/templates/markitup/markitup/jquery.markitup.set.dotclear.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.html.js +40 -0
- data/templates/markitup/markitup/jquery.markitup.set.html.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.markdown.js +53 -0
- data/templates/markitup/markitup/jquery.markitup.set.markdown.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.markmin.js +50 -0
- data/templates/markitup/markitup/jquery.markitup.set.markmin.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.rest.js +52 -0
- data/templates/markitup/markitup/jquery.markitup.set.rest.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.textile.js +58 -0
- data/templates/markitup/markitup/jquery.markitup.set.textile.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.texy.js +52 -0
- data/templates/markitup/markitup/jquery.markitup.set.texy.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.txt2tags.js +42 -0
- data/templates/markitup/markitup/jquery.markitup.set.txt2tags.min.js +3 -0
- data/templates/markitup/markitup/jquery.markitup.set.wiki.js +61 -0
- data/templates/markitup/markitup/jquery.markitup.set.wiki.min.js +4 -0
- data/templates/markitup/markitup/jquery.markitup.set.xbbcode.js +36 -0
- data/templates/markitup/markitup/jquery.markitup.set.xbbcode.min.js +4 -0
- data/templates/mobile/config/initializers/mobile.rb +2 -0
- data/templates/mobile/jquery.mobile.js +4545 -4454
- data/templates/mobile/jquery.mobile.min.js +16 -7
- data/templates/mobile/jquery/mobile/960.fluid.scss +191 -0
- data/templates/mobile/jquery/mobile/960.scss +213 -0
- data/templates/mobile/jquery/mobile/_base.scss +37 -20
- data/templates/mobile/jquery/mobile/default.scss +48 -56
- data/templates/mobile/jquery/mobile/valencia.scss +43 -44
- data/templates/mobile/manifest.rb +2 -0
- data/templates/ribbon/jquery.ribbon.js +195 -195
- data/templates/ribbon/jquery.ribbon.min.js +1 -1
- data/templates/ribbon/jquery/ribbon/office.scss +12 -12
- data/templates/ribbon/jquery/ribbon/windows7.scss +12 -12
- data/templates/secret_sauce/secret_sauce.js +8 -8
- data/templates/tools/flowplayer.js +897 -897
- data/templates/tools/jquery.tools.js +3647 -3647
- data/templates/tools/jquery.tools.min.js +47 -47
- data/templates/tools/swfobject.js +760 -760
- metadata +350 -22
|
@@ -6,7 +6,7 @@ d&&b&&(a(this).attr("style","background-image: "+a(this).css("background-image")
|
|
|
6
6
|
b.pageY>a(".ribbon-list div ul:visible").parent().offset().top+a(".ribbon-list div ul:visible").parent().height();if(c||d)a(".ribbon-list div ul:visible").each(function(){a(this).fadeOut("fast")}),a(".ribbon-list div").css("background-image","")})});a(".orb li li a").mouseover(function(){e(this)});a(".menu li > a").dblclick(function(){a("ul .submenu").animate({height:"hide"});a("body").animate({paddingTop:a(this).parent().parent().parent().parent().height()})})}function e(b,d){if(!c.backStage&&(a(b).parent().children("ul").css("display")==
|
|
7
7
|
"none"||a(b).parent().children("ul").length==0)&&a(b).parent().parent().parent().parent().hasClass("orb"))a(".orb li li ul").fadeOut("fast"),a(b).parent().children("ul").length>0&&a(b).parent().children("ul").fadeIn("fast");c.backStage&&(a(b).parent().children("ul").length==0&&a("ul.ribbon-backstage .ribbon-backstage-firstLevel .ribbon-backstage-subMenu:first:hidden").length>0&&a(b).parent().parent().parent().parent().hasClass("orb")&&(a(".orb li li ul").fadeOut("fast"),a(".orb li li > div").fadeOut("fast"),
|
|
8
8
|
a("ul.ribbon-backstage .ribbon-backstage-firstLevel:first .ribbon-backstage-subMenu:first").fadeIn("fast"),a("ul.ribbon-backstage .ribbon-backstage-firstLevel:first div").fadeIn("fast")),a(b).parent().children("ul").css("display")=="none"&&a(b).parent().children("ul").length>0&&a(b).parent().parent().parent().parent().hasClass("orb")&&(a(".orb li li ul").fadeOut("fast"),a(".orb li li > div").fadeOut("fast"),a(b).parent().children("ul").fadeIn("fast"),a(b).parent().children("div").fadeIn("fast")),
|
|
9
|
-
d&&(a(".orb li li ul").hide(),a(".orb li li > div").hide(),a(b).parent().children("ul").fadeIn("fast"),a(b).parent().children("div").fadeIn("fast")))}function h(b){b.altKey&&a('div[rel="accesskeyhelper"]').each(function(){a(this).css("top",a(this).parent().offset().top).css("left",a(this).parent().offset().left-20+a(this).parent().width());a(this).show()})}var c=a.extend({theme:"windows7",backStage:!1},f||{});a(".ribbon a").each(function(){a(this).attr("accesskey")&&a(this).append('<div rel="accesskeyhelper" style="display: none; position: absolute; background-
|
|
9
|
+
d&&(a(".orb li li ul").hide(),a(".orb li li > div").hide(),a(b).parent().children("ul").fadeIn("fast"),a(b).parent().children("div").fadeIn("fast")))}function h(b){b.altKey&&a('div[rel="accesskeyhelper"]').each(function(){a(this).css("top",a(this).parent().offset().top).css("left",a(this).parent().offset().left-20+a(this).parent().width());a(this).show()})}var c=a.extend({theme:"windows7",backStage:!1},f||{});a(".ribbon a").each(function(){a(this).attr("accesskey")&&a(this).append('<div rel="accesskeyhelper" style="display: none; position: absolute; background-repeat: none; width: 16px; padding: 0px; text-align: center; height: 17px; line-height: 17px; top: '+
|
|
10
10
|
a(this).offset().top+"px; left: "+(a(this).offset().left+a(this).width()-15)+'px;">'+a(this).attr("accesskey")+"</div>")});a("head").append('<link href="/stylesheets/compiled/jquery/ribbon/'+c.theme+'.css" rel="stylesheet" type="text/css" />" />');d||g(c);a(document).keydown(function(a){h(a)});a(document).keyup(function(){a('div[rel="accesskeyhelper"]').hide()});a(".ribbon").parents().click(function(b){var d=b.pageX<a(".orb ul:first").offset().left||b.pageX>a(".orb ul:first").offset().left+a(".orb ul:first").width(),
|
|
11
11
|
b=b.pageY<a(".orb ul:first img:first").offset().top||b.pageY>a(".orb ul:first").offset().top+a(".orb ul:first").height();(d||b)&&!c.backStage&&a(".orb ul").fadeOut("fast")});d&&(a(".orb li:first ul:first img:first").remove(),a(".orb li:first ul:first img:last").remove(),a('.ribbon-list div img[src*="/arrow_down.png"]').remove());c.backStage||(a(".orb li:first ul:first").append('<img src="/images/jquery/ribbon/'+c.theme+'/menu_bottom.png" style="margin-left: -10px; margin-bottom: -22px;" />'),a(".orb li:first ul:first").prepend('<img src="/images/jquery/ribbon/'+
|
|
12
12
|
c.theme+'/menu_top.png" style="margin-left: -10px; margin-top: -22px;" />'));a(".ribbon-list div").each(function(){a(this).children("ul").length>0&&a(this).append('<img src="/images/jquery/ribbon/'+c.theme+'/arrow_down.png" style="float: right; margin-top: 5px;" />')});if(navigator.appVersion.indexOf("MSIE 6.0")>-1||navigator.appVersion.indexOf("MSIE 7.0")>-1)a("ul.menu li li div").css("width","90px"),a("ul.menu").css("width","500px"),a("ul.menu").css("float","left"),a("ul.menu .submenu li div.ribbon-list").css("width",
|
|
@@ -289,7 +289,7 @@ ul.menu li {
|
|
|
289
289
|
border-right: 1px solid #abc; } }
|
|
290
290
|
|
|
291
291
|
.ribbon-backstage {
|
|
292
|
-
background-color:
|
|
292
|
+
background-color: #fff !important;
|
|
293
293
|
background-position: left top !important;
|
|
294
294
|
background-repeat: no-repeat !important;
|
|
295
295
|
top: 23px !important;
|
|
@@ -309,7 +309,7 @@ ul.menu li {
|
|
|
309
309
|
padding: 0px !important; }
|
|
310
310
|
* {
|
|
311
311
|
background-color: Transparent !important;
|
|
312
|
-
color:
|
|
312
|
+
color: #000 !important; }
|
|
313
313
|
a {
|
|
314
314
|
line-height: 34px !important;
|
|
315
315
|
height: 34px !important;
|
|
@@ -327,7 +327,7 @@ ul.menu li {
|
|
|
327
327
|
bottom: 9px !important;
|
|
328
328
|
left: 3px !important; } }
|
|
329
329
|
ul.ribbon-backstage-subMenu {
|
|
330
|
-
background-color:
|
|
330
|
+
background-color: #fff !important;
|
|
331
331
|
left: 115px !important;
|
|
332
332
|
padding-left: 10px !important;
|
|
333
333
|
padding-right: 10px !important;
|
|
@@ -370,18 +370,18 @@ ul.menu li {
|
|
|
370
370
|
bottom: 8px !important; }
|
|
371
371
|
span {
|
|
372
372
|
left: 40px;
|
|
373
|
-
color:
|
|
373
|
+
color: #000 !important;
|
|
374
374
|
top: 5px;
|
|
375
375
|
padding-left: 20px;
|
|
376
376
|
&:hover {
|
|
377
|
-
color:
|
|
377
|
+
color: #000 !important; } } } }
|
|
378
378
|
div {
|
|
379
379
|
&.ribbon-backstage-rightColumnWide {
|
|
380
|
-
background-color: #
|
|
380
|
+
background-color: #EDF0F2 !important;
|
|
381
381
|
background-image: image_url("jquery/ribbon/windows7/ribbon-backstage-rightColumn-wide.png");
|
|
382
382
|
background-position: left;
|
|
383
383
|
background-repeat: repeat-y;
|
|
384
|
-
color:
|
|
384
|
+
color: #000 !important;
|
|
385
385
|
display: none;
|
|
386
386
|
left: 382px;
|
|
387
387
|
margin-top: -11px;
|
|
@@ -393,11 +393,11 @@ ul.menu li {
|
|
|
393
393
|
z-index: 30;
|
|
394
394
|
line-height: 17px; }
|
|
395
395
|
&.ribbon-backstage-rightColumnSmall {
|
|
396
|
-
background-color: #
|
|
396
|
+
background-color: #EDF0F2 !important;
|
|
397
397
|
background-image: image_url("jquery/ribbon/windows7/ribbon-backstage-rightColumn-wide.png");
|
|
398
398
|
background-position: left;
|
|
399
399
|
background-repeat: repeat-y;
|
|
400
|
-
color:
|
|
400
|
+
color: #000 !important;
|
|
401
401
|
display: none;
|
|
402
402
|
left: 382px;
|
|
403
403
|
margin-top: -11px;
|
|
@@ -410,7 +410,7 @@ ul.menu li {
|
|
|
410
410
|
line-height: 17px;
|
|
411
411
|
text-align: center;
|
|
412
412
|
* {
|
|
413
|
-
color:
|
|
413
|
+
color: #000 !important; }
|
|
414
414
|
img {
|
|
415
415
|
max-width: 100px;
|
|
416
416
|
max-width: 100px; } } }
|
|
@@ -418,7 +418,7 @@ ul.menu li {
|
|
|
418
418
|
background-image: image_url("jquery/ribbon/windows7/ribbon-backstage-subMenu-itemSquare.png") !important;
|
|
419
419
|
background-position: center !important;
|
|
420
420
|
background-repeat: no-repeat !important;
|
|
421
|
-
color:
|
|
421
|
+
color: #0f0 !important;
|
|
422
422
|
float: left;
|
|
423
423
|
height: 100px !important;
|
|
424
424
|
width: 90px !important;
|
|
@@ -427,7 +427,7 @@ ul.menu li {
|
|
|
427
427
|
background-image: image_url("jquery/ribbon/windows7/ribbon-backstage-subMenu-itemSquare-hover.png") !important;
|
|
428
428
|
background-position: center !important;
|
|
429
429
|
background-repeat: no-repeat !important;
|
|
430
|
-
color:
|
|
430
|
+
color: #0f0 !important;
|
|
431
431
|
float: left;
|
|
432
432
|
height: 100px !important;
|
|
433
433
|
width: 90px !important; }
|
|
@@ -289,7 +289,7 @@ ul.menu li {
|
|
|
289
289
|
border-right: 1px solid #abc; } }
|
|
290
290
|
|
|
291
291
|
.ribbon-backstage {
|
|
292
|
-
background-color:
|
|
292
|
+
background-color: #fff !important;
|
|
293
293
|
background-position: left top !important;
|
|
294
294
|
background-repeat: no-repeat !important;
|
|
295
295
|
top: 23px !important;
|
|
@@ -309,7 +309,7 @@ ul.menu li {
|
|
|
309
309
|
padding: 0px !important; }
|
|
310
310
|
* {
|
|
311
311
|
background-color: Transparent !important;
|
|
312
|
-
color:
|
|
312
|
+
color: #000 !important; }
|
|
313
313
|
a {
|
|
314
314
|
line-height: 34px !important;
|
|
315
315
|
height: 34px !important;
|
|
@@ -327,7 +327,7 @@ ul.menu li {
|
|
|
327
327
|
bottom: 9px !important;
|
|
328
328
|
left: 3px !important; } }
|
|
329
329
|
ul.ribbon-backstage-subMenu {
|
|
330
|
-
background-color:
|
|
330
|
+
background-color: #fff !important;
|
|
331
331
|
left: 115px !important;
|
|
332
332
|
padding-left: 10px !important;
|
|
333
333
|
padding-right: 10px !important;
|
|
@@ -370,18 +370,18 @@ ul.menu li {
|
|
|
370
370
|
bottom: 8px !important; }
|
|
371
371
|
span {
|
|
372
372
|
left: 40px;
|
|
373
|
-
color:
|
|
373
|
+
color: #000 !important;
|
|
374
374
|
top: 5px;
|
|
375
375
|
padding-left: 20px;
|
|
376
376
|
&:hover {
|
|
377
|
-
color:
|
|
377
|
+
color: #000 !important; } } } }
|
|
378
378
|
div {
|
|
379
379
|
&.ribbon-backstage-rightColumnWide {
|
|
380
|
-
background-color: #
|
|
380
|
+
background-color: #EDF0F2 !important;
|
|
381
381
|
background-image: image_url("jquery/ribbon/windows7/ribbon-backstage-rightColumn-wide.png");
|
|
382
382
|
background-position: left;
|
|
383
383
|
background-repeat: repeat-y;
|
|
384
|
-
color:
|
|
384
|
+
color: #000 !important;
|
|
385
385
|
display: none;
|
|
386
386
|
left: 382px;
|
|
387
387
|
margin-top: -11px;
|
|
@@ -393,11 +393,11 @@ ul.menu li {
|
|
|
393
393
|
z-index: 30;
|
|
394
394
|
line-height: 17px; }
|
|
395
395
|
&.ribbon-backstage-rightColumnSmall {
|
|
396
|
-
background-color: #
|
|
396
|
+
background-color: #EDF0F2 !important;
|
|
397
397
|
background-image: image_url("jquery/ribbon/windows7/ribbon-backstage-rightColumn-wide.png");
|
|
398
398
|
background-position: left;
|
|
399
399
|
background-repeat: repeat-y;
|
|
400
|
-
color:
|
|
400
|
+
color: #000 !important;
|
|
401
401
|
display: none;
|
|
402
402
|
left: 382px;
|
|
403
403
|
margin-top: -11px;
|
|
@@ -410,7 +410,7 @@ ul.menu li {
|
|
|
410
410
|
line-height: 17px;
|
|
411
411
|
text-align: center;
|
|
412
412
|
* {
|
|
413
|
-
color:
|
|
413
|
+
color: #000 !important; }
|
|
414
414
|
img {
|
|
415
415
|
max-width: 100px;
|
|
416
416
|
max-width: 100px; } } }
|
|
@@ -418,7 +418,7 @@ ul.menu li {
|
|
|
418
418
|
background-image: image_url("jquery/ribbon/windows7/ribbon-backstage-subMenu-itemSquare.png") !important;
|
|
419
419
|
background-position: center !important;
|
|
420
420
|
background-repeat: no-repeat !important;
|
|
421
|
-
color:
|
|
421
|
+
color: #0f0 !important;
|
|
422
422
|
float: left;
|
|
423
423
|
height: 100px !important;
|
|
424
424
|
width: 90px !important;
|
|
@@ -427,7 +427,7 @@ ul.menu li {
|
|
|
427
427
|
background-image: image_url("jquery/ribbon/windows7/ribbon-backstage-subMenu-itemSquare-hover.png") !important;
|
|
428
428
|
background-position: center !important;
|
|
429
429
|
background-repeat: no-repeat !important;
|
|
430
|
-
color:
|
|
430
|
+
color: #0f0 !important;
|
|
431
431
|
float: left;
|
|
432
432
|
height: 100px !important;
|
|
433
433
|
width: 90px !important; }
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// extracts form data from an existing rails form, and replaces it's own contents with the contents
|
|
2
2
|
// of data
|
|
3
3
|
jQuery.fn.addSauceFromForm = function(data) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
var formData = $(data).find(".ui-dialog-content").children();
|
|
5
|
+
var formToken = $(data).find("input[name='authenticity_token']");
|
|
6
|
+
var formMethod = $(data).find("input[name='_method']");
|
|
7
|
+
$(data).children().remove();
|
|
8
|
+
$(data).append(formData);
|
|
9
|
+
$(data).append(formToken);
|
|
10
|
+
$(data).append(formMethod);
|
|
11
|
+
$(this).append(data);
|
|
12
12
|
};
|
|
@@ -22,947 +22,947 @@
|
|
|
22
22
|
* Revision: 551
|
|
23
23
|
*/
|
|
24
24
|
(function() {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
function g(o) {
|
|
26
|
+
console.log("$f.fireEvent", [].slice.call(o))
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function k(q) {
|
|
30
|
+
if (!q || typeof q != "object") {
|
|
31
|
+
return q
|
|
32
|
+
}
|
|
33
|
+
var o = new q.constructor();
|
|
34
|
+
for (var p in q) {
|
|
35
|
+
if (q.hasOwnProperty(p)) {
|
|
36
|
+
o[p] = k(q[p])
|
|
37
|
+
}
|
|
27
38
|
}
|
|
39
|
+
return o
|
|
40
|
+
}
|
|
28
41
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
var o = new q.constructor();
|
|
34
|
-
for (var p in q) {
|
|
35
|
-
if (q.hasOwnProperty(p)) {
|
|
36
|
-
o[p] = k(q[p])
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return o
|
|
42
|
+
function m(t, q) {
|
|
43
|
+
if (!t) {
|
|
44
|
+
return
|
|
40
45
|
}
|
|
46
|
+
var o,p = 0,r = t.length;
|
|
47
|
+
if (r === undefined) {
|
|
48
|
+
for (o in t) {
|
|
49
|
+
if (q.call(t[o], o, t[o]) === false) {
|
|
50
|
+
break
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
} else {
|
|
54
|
+
for (var s = t[0]; p < r && q.call(s, p, s) !== false; s = t[++p]) {
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return t
|
|
58
|
+
}
|
|
41
59
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
for (var s = t[0]; p < r && q.call(s, p, s) !== false; s = t[++p]) {
|
|
55
|
-
}
|
|
60
|
+
function c(o) {
|
|
61
|
+
return document.getElementById(o)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function i(q, p, o) {
|
|
65
|
+
if (typeof p != "object") {
|
|
66
|
+
return q
|
|
67
|
+
}
|
|
68
|
+
if (q && p) {
|
|
69
|
+
m(p, function(r, s) {
|
|
70
|
+
if (!o || typeof s != "function") {
|
|
71
|
+
q[r] = s
|
|
56
72
|
}
|
|
57
|
-
|
|
73
|
+
})
|
|
58
74
|
}
|
|
75
|
+
return q
|
|
76
|
+
}
|
|
59
77
|
|
|
60
|
-
|
|
61
|
-
|
|
78
|
+
function n(s) {
|
|
79
|
+
var q = s.indexOf(".");
|
|
80
|
+
if (q != -1) {
|
|
81
|
+
var p = s.slice(0, q) || "*";
|
|
82
|
+
var o = s.slice(q + 1, s.length);
|
|
83
|
+
var r = [];
|
|
84
|
+
m(document.getElementsByTagName(p), function() {
|
|
85
|
+
if (this.className && this.className.indexOf(o) != -1) {
|
|
86
|
+
r.push(this)
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
return r
|
|
62
90
|
}
|
|
91
|
+
}
|
|
63
92
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
})
|
|
74
|
-
}
|
|
75
|
-
return q
|
|
93
|
+
function f(o) {
|
|
94
|
+
o = o || window.event;
|
|
95
|
+
if (o.preventDefault) {
|
|
96
|
+
o.stopPropagation();
|
|
97
|
+
o.preventDefault()
|
|
98
|
+
} else {
|
|
99
|
+
o.returnValue = false;
|
|
100
|
+
o.cancelBubble = true
|
|
76
101
|
}
|
|
102
|
+
return false
|
|
103
|
+
}
|
|
77
104
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
var o = s.slice(q + 1, s.length);
|
|
83
|
-
var r = [];
|
|
84
|
-
m(document.getElementsByTagName(p), function() {
|
|
85
|
-
if (this.className && this.className.indexOf(o) != -1) {
|
|
86
|
-
r.push(this)
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
return r
|
|
90
|
-
}
|
|
91
|
-
}
|
|
105
|
+
function j(q, o, p) {
|
|
106
|
+
q[o] = q[o] || [];
|
|
107
|
+
q[o].push(p)
|
|
108
|
+
}
|
|
92
109
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
110
|
+
function e() {
|
|
111
|
+
return"_" + ("" + Math.random()).slice(2, 10)
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
var h = function(t, r, s) {
|
|
115
|
+
var q = this,p = {},u = {};
|
|
116
|
+
q.index = r;
|
|
117
|
+
if (typeof t == "string") {
|
|
118
|
+
t = {url:t}
|
|
119
|
+
}
|
|
120
|
+
i(this, t, true);
|
|
121
|
+
m(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","), function() {
|
|
122
|
+
var v = "on" + this;
|
|
123
|
+
if (v.indexOf("*") != -1) {
|
|
124
|
+
v = v.slice(0, v.length - 1);
|
|
125
|
+
var w = "onBefore" + v.slice(2);
|
|
126
|
+
q[w] = function(x) {
|
|
127
|
+
j(u, w, x);
|
|
128
|
+
return q
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
q[v] = function(x) {
|
|
132
|
+
j(u, v, x);
|
|
133
|
+
return q
|
|
134
|
+
};
|
|
135
|
+
if (r == -1) {
|
|
136
|
+
if (q[w]) {
|
|
137
|
+
s[w] = q[w]
|
|
138
|
+
}
|
|
139
|
+
if (q[v]) {
|
|
140
|
+
s[v] = q[v]
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
i(this, {onCuepoint:function(x, w) {
|
|
145
|
+
if (arguments.length == 1) {
|
|
146
|
+
p.embedded = [null,x];
|
|
147
|
+
return q
|
|
148
|
+
}
|
|
149
|
+
if (typeof x == "number") {
|
|
150
|
+
x = [x]
|
|
151
|
+
}
|
|
152
|
+
var v = e();
|
|
153
|
+
p[v] = [x,w];
|
|
154
|
+
if (s.isLoaded()) {
|
|
155
|
+
s._api().fp_addCuepoints(x, r, v)
|
|
156
|
+
}
|
|
157
|
+
return q
|
|
158
|
+
},update:function(w) {
|
|
159
|
+
i(q, w);
|
|
160
|
+
if (s.isLoaded()) {
|
|
161
|
+
s._api().fp_updateClip(w, r)
|
|
162
|
+
}
|
|
163
|
+
var v = s.getConfig();
|
|
164
|
+
var x = (r == -1) ? v.clip : v.playlist[r];
|
|
165
|
+
i(x, w, true)
|
|
166
|
+
},_fireEvent:function(v, y, w, A) {
|
|
167
|
+
if (v == "onLoad") {
|
|
168
|
+
m(p, function(B, C) {
|
|
169
|
+
if (C[0]) {
|
|
170
|
+
s._api().fp_addCuepoints(C[0], r, B)
|
|
171
|
+
}
|
|
172
|
+
});
|
|
102
173
|
return false
|
|
174
|
+
}
|
|
175
|
+
A = A || q;
|
|
176
|
+
if (v == "onCuepoint") {
|
|
177
|
+
var z = p[y];
|
|
178
|
+
if (z) {
|
|
179
|
+
return z[1].call(s, A, w)
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
if (y && "onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(v) != -1) {
|
|
183
|
+
i(A, y);
|
|
184
|
+
if (y.metaData) {
|
|
185
|
+
if (!A.duration) {
|
|
186
|
+
A.duration = y.metaData.duration
|
|
187
|
+
} else {
|
|
188
|
+
A.fullDuration = y.metaData.duration
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
var x = true;
|
|
193
|
+
m(u[v], function() {
|
|
194
|
+
x = this.call(s, A, y, w)
|
|
195
|
+
});
|
|
196
|
+
return x
|
|
197
|
+
}});
|
|
198
|
+
if (t.onCuepoint) {
|
|
199
|
+
var o = t.onCuepoint;
|
|
200
|
+
q.onCuepoint.apply(q, typeof o == "function" ? [o] : o);
|
|
201
|
+
delete t.onCuepoint
|
|
103
202
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
203
|
+
m(t, function(v, w) {
|
|
204
|
+
if (typeof w == "function") {
|
|
205
|
+
j(u, v, w);
|
|
206
|
+
delete t[v]
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
if (r == -1) {
|
|
210
|
+
s.onCuepoint = this.onCuepoint
|
|
108
211
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
212
|
+
};
|
|
213
|
+
var l = function(p, r, q, t) {
|
|
214
|
+
var o = this,s = {},u = false;
|
|
215
|
+
if (t) {
|
|
216
|
+
i(s, t)
|
|
112
217
|
}
|
|
218
|
+
m(r, function(v, w) {
|
|
219
|
+
if (typeof w == "function") {
|
|
220
|
+
s[v] = w;
|
|
221
|
+
delete r[v]
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
i(this, {animate:function(y, z, x) {
|
|
225
|
+
if (!y) {
|
|
226
|
+
return o
|
|
227
|
+
}
|
|
228
|
+
if (typeof z == "function") {
|
|
229
|
+
x = z;
|
|
230
|
+
z = 500
|
|
231
|
+
}
|
|
232
|
+
if (typeof y == "string") {
|
|
233
|
+
var w = y;
|
|
234
|
+
y = {};
|
|
235
|
+
y[w] = z;
|
|
236
|
+
z = 500
|
|
237
|
+
}
|
|
238
|
+
if (x) {
|
|
239
|
+
var v = e();
|
|
240
|
+
s[v] = x
|
|
241
|
+
}
|
|
242
|
+
if (z === undefined) {
|
|
243
|
+
z = 500
|
|
244
|
+
}
|
|
245
|
+
r = q._api().fp_animate(p, y, z, v);
|
|
246
|
+
return o
|
|
247
|
+
},css:function(w, x) {
|
|
248
|
+
if (x !== undefined) {
|
|
249
|
+
var v = {};
|
|
250
|
+
v[w] = x;
|
|
251
|
+
w = v
|
|
252
|
+
}
|
|
253
|
+
r = q._api().fp_css(p, w);
|
|
254
|
+
i(o, r);
|
|
255
|
+
return o
|
|
256
|
+
},show:function() {
|
|
257
|
+
this.display = "block";
|
|
258
|
+
q._api().fp_showPlugin(p);
|
|
259
|
+
return o
|
|
260
|
+
},hide:function() {
|
|
261
|
+
this.display = "none";
|
|
262
|
+
q._api().fp_hidePlugin(p);
|
|
263
|
+
return o
|
|
264
|
+
},toggle:function() {
|
|
265
|
+
this.display = q._api().fp_togglePlugin(p);
|
|
266
|
+
return o
|
|
267
|
+
},fadeTo:function(y, x, w) {
|
|
268
|
+
if (typeof x == "function") {
|
|
269
|
+
w = x;
|
|
270
|
+
x = 500
|
|
271
|
+
}
|
|
272
|
+
if (w) {
|
|
273
|
+
var v = e();
|
|
274
|
+
s[v] = w
|
|
275
|
+
}
|
|
276
|
+
this.display = q._api().fp_fadeTo(p, y, x, v);
|
|
277
|
+
this.opacity = y;
|
|
278
|
+
return o
|
|
279
|
+
},fadeIn:function(w, v) {
|
|
280
|
+
return o.fadeTo(1, w, v)
|
|
281
|
+
},fadeOut:function(w, v) {
|
|
282
|
+
return o.fadeTo(0, w, v)
|
|
283
|
+
},getName:function() {
|
|
284
|
+
return p
|
|
285
|
+
},getPlayer:function() {
|
|
286
|
+
return q
|
|
287
|
+
},_fireEvent:function(w, v, x) {
|
|
288
|
+
if (w == "onUpdate") {
|
|
289
|
+
var z = q._api().fp_getPlugin(p);
|
|
290
|
+
if (!z) {
|
|
291
|
+
return
|
|
292
|
+
}
|
|
293
|
+
i(o, z);
|
|
294
|
+
delete o.methods;
|
|
295
|
+
if (!u) {
|
|
296
|
+
m(z.methods, function() {
|
|
297
|
+
var B = "" + this;
|
|
298
|
+
o[B] = function() {
|
|
299
|
+
var C = [].slice.call(arguments);
|
|
300
|
+
var D = q._api().fp_invoke(p, B, C);
|
|
301
|
+
return D === "undefined" || D === undefined ? o : D
|
|
302
|
+
}
|
|
303
|
+
});
|
|
304
|
+
u = true
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
var A = s[w];
|
|
308
|
+
if (A) {
|
|
309
|
+
var y = A.apply(o, v);
|
|
310
|
+
if (w.slice(0, 1) == "_") {
|
|
311
|
+
delete s[w]
|
|
312
|
+
}
|
|
313
|
+
return y
|
|
314
|
+
}
|
|
315
|
+
return o
|
|
316
|
+
}})
|
|
317
|
+
};
|
|
113
318
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
319
|
+
function b(q, G, t) {
|
|
320
|
+
var w = this,v = null,D = false,u,s,F = [],y = {},x = {},E,r,p,C,o,A;
|
|
321
|
+
i(w, {id:function() {
|
|
322
|
+
return E
|
|
323
|
+
},isLoaded:function() {
|
|
324
|
+
return(v !== null && v.fp_play !== undefined && !D)
|
|
325
|
+
},getParent:function() {
|
|
326
|
+
return q
|
|
327
|
+
},hide:function(H) {
|
|
328
|
+
if (H) {
|
|
329
|
+
q.style.height = "0px"
|
|
330
|
+
}
|
|
331
|
+
if (w.isLoaded()) {
|
|
332
|
+
v.style.height = "0px"
|
|
333
|
+
}
|
|
334
|
+
return w
|
|
335
|
+
},show:function() {
|
|
336
|
+
q.style.height = A + "px";
|
|
337
|
+
if (w.isLoaded()) {
|
|
338
|
+
v.style.height = o + "px"
|
|
339
|
+
}
|
|
340
|
+
return w
|
|
341
|
+
},isHidden:function() {
|
|
342
|
+
return w.isLoaded() && parseInt(v.style.height, 10) === 0
|
|
343
|
+
},load:function(J) {
|
|
344
|
+
if (!w.isLoaded() && w._fireEvent("onBeforeLoad") !== false) {
|
|
345
|
+
var H = function() {
|
|
346
|
+
u = q.innerHTML;
|
|
347
|
+
if (u && !flashembed.isSupported(G.version)) {
|
|
348
|
+
q.innerHTML = ""
|
|
349
|
+
}
|
|
350
|
+
if (J) {
|
|
351
|
+
J.cached = true;
|
|
352
|
+
j(x, "onLoad", J)
|
|
353
|
+
}
|
|
354
|
+
flashembed(q, G, {config:t})
|
|
355
|
+
};
|
|
356
|
+
var I = 0;
|
|
357
|
+
m(a, function() {
|
|
358
|
+
this.unload(function(K) {
|
|
359
|
+
if (++I == a.length) {
|
|
360
|
+
H()
|
|
142
361
|
}
|
|
362
|
+
})
|
|
363
|
+
})
|
|
364
|
+
}
|
|
365
|
+
return w
|
|
366
|
+
},unload:function(J) {
|
|
367
|
+
if (this.isFullscreen() && /WebKit/i.test(navigator.userAgent)) {
|
|
368
|
+
if (J) {
|
|
369
|
+
J(false)
|
|
370
|
+
}
|
|
371
|
+
return w
|
|
372
|
+
}
|
|
373
|
+
if (u.replace(/\s/g, "") !== "") {
|
|
374
|
+
if (w._fireEvent("onBeforeUnload") === false) {
|
|
375
|
+
if (J) {
|
|
376
|
+
J(false)
|
|
377
|
+
}
|
|
378
|
+
return w
|
|
379
|
+
}
|
|
380
|
+
D = true;
|
|
381
|
+
try {
|
|
382
|
+
if (v) {
|
|
383
|
+
v.fp_close();
|
|
384
|
+
w._fireEvent("onUnload")
|
|
385
|
+
}
|
|
386
|
+
} catch(H) {
|
|
387
|
+
}
|
|
388
|
+
var I = function() {
|
|
389
|
+
v = null;
|
|
390
|
+
q.innerHTML = u;
|
|
391
|
+
D = false;
|
|
392
|
+
if (J) {
|
|
393
|
+
J(true)
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
setTimeout(I, 50)
|
|
397
|
+
} else {
|
|
398
|
+
if (J) {
|
|
399
|
+
J(false)
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
return w
|
|
403
|
+
},getClip:function(H) {
|
|
404
|
+
if (H === undefined) {
|
|
405
|
+
H = C
|
|
406
|
+
}
|
|
407
|
+
return F[H]
|
|
408
|
+
},getCommonClip:function() {
|
|
409
|
+
return s
|
|
410
|
+
},getPlaylist:function() {
|
|
411
|
+
return F
|
|
412
|
+
},getPlugin:function(H) {
|
|
413
|
+
var J = y[H];
|
|
414
|
+
if (!J && w.isLoaded()) {
|
|
415
|
+
var I = w._api().fp_getPlugin(H);
|
|
416
|
+
if (I) {
|
|
417
|
+
J = new l(H, I, w);
|
|
418
|
+
y[H] = J
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
return J
|
|
422
|
+
},getScreen:function() {
|
|
423
|
+
return w.getPlugin("screen")
|
|
424
|
+
},getControls:function() {
|
|
425
|
+
return w.getPlugin("controls")._fireEvent("onUpdate")
|
|
426
|
+
},getLogo:function() {
|
|
427
|
+
try {
|
|
428
|
+
return w.getPlugin("logo")._fireEvent("onUpdate")
|
|
429
|
+
} catch(H) {
|
|
430
|
+
}
|
|
431
|
+
},getPlay:function() {
|
|
432
|
+
return w.getPlugin("play")._fireEvent("onUpdate")
|
|
433
|
+
},getConfig:function(H) {
|
|
434
|
+
return H ? k(t) : t
|
|
435
|
+
},getFlashParams:function() {
|
|
436
|
+
return G
|
|
437
|
+
},loadPlugin:function(K, J, M, L) {
|
|
438
|
+
if (typeof M == "function") {
|
|
439
|
+
L = M;
|
|
440
|
+
M = {}
|
|
441
|
+
}
|
|
442
|
+
var I = L ? e() : "_";
|
|
443
|
+
w._api().fp_loadPlugin(K, J, M, I);
|
|
444
|
+
var H = {};
|
|
445
|
+
H[I] = L;
|
|
446
|
+
var N = new l(K, null, w, H);
|
|
447
|
+
y[K] = N;
|
|
448
|
+
return N
|
|
449
|
+
},getState:function() {
|
|
450
|
+
return w.isLoaded() ? v.fp_getState() : -1
|
|
451
|
+
},play:function(I, H) {
|
|
452
|
+
var J = function() {
|
|
453
|
+
if (I !== undefined) {
|
|
454
|
+
w._api().fp_play(I, H)
|
|
455
|
+
} else {
|
|
456
|
+
w._api().fp_play()
|
|
457
|
+
}
|
|
458
|
+
};
|
|
459
|
+
if (w.isLoaded()) {
|
|
460
|
+
J()
|
|
461
|
+
} else {
|
|
462
|
+
if (D) {
|
|
463
|
+
setTimeout(function() {
|
|
464
|
+
w.play(I, H)
|
|
465
|
+
}, 50)
|
|
466
|
+
} else {
|
|
467
|
+
w.load(function() {
|
|
468
|
+
J()
|
|
469
|
+
})
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
return w
|
|
473
|
+
},getVersion:function() {
|
|
474
|
+
var I = "flowplayer.js 3.2.4";
|
|
475
|
+
if (w.isLoaded()) {
|
|
476
|
+
var H = v.fp_getVersion();
|
|
477
|
+
H.push(I);
|
|
478
|
+
return H
|
|
479
|
+
}
|
|
480
|
+
return I
|
|
481
|
+
},_api:function() {
|
|
482
|
+
if (!w.isLoaded()) {
|
|
483
|
+
throw"Flowplayer " + w.id() + " not loaded when calling an API method"
|
|
484
|
+
}
|
|
485
|
+
return v
|
|
486
|
+
},setClip:function(H) {
|
|
487
|
+
w.setPlaylist([H]);
|
|
488
|
+
return w
|
|
489
|
+
},getIndex:function() {
|
|
490
|
+
return p
|
|
491
|
+
},_swfHeight:function() {
|
|
492
|
+
return v.clientHeight
|
|
493
|
+
}});
|
|
494
|
+
m(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","), function() {
|
|
495
|
+
var H = "on" + this;
|
|
496
|
+
if (H.indexOf("*") != -1) {
|
|
497
|
+
H = H.slice(0, H.length - 1);
|
|
498
|
+
var I = "onBefore" + H.slice(2);
|
|
499
|
+
w[I] = function(J) {
|
|
500
|
+
j(x, I, J);
|
|
501
|
+
return w
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
w[H] = function(J) {
|
|
505
|
+
j(x, H, J);
|
|
506
|
+
return w
|
|
507
|
+
}
|
|
508
|
+
});
|
|
509
|
+
m(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","), function() {
|
|
510
|
+
var H = this;
|
|
511
|
+
w[H] = function(J, I) {
|
|
512
|
+
if (!w.isLoaded()) {
|
|
513
|
+
return w
|
|
514
|
+
}
|
|
515
|
+
var K = null;
|
|
516
|
+
if (J !== undefined && I !== undefined) {
|
|
517
|
+
K = v["fp_" + H](J, I)
|
|
518
|
+
} else {
|
|
519
|
+
K = (J === undefined) ? v["fp_" + H]() : v["fp_" + H](J)
|
|
520
|
+
}
|
|
521
|
+
return K === "undefined" || K === undefined ? w : K
|
|
522
|
+
}
|
|
523
|
+
});
|
|
524
|
+
w._fireEvent = function(Q) {
|
|
525
|
+
if (typeof Q == "string") {
|
|
526
|
+
Q = [Q]
|
|
527
|
+
}
|
|
528
|
+
var R = Q[0],O = Q[1],M = Q[2],L = Q[3],K = 0;
|
|
529
|
+
if (t.debug) {
|
|
530
|
+
g(Q)
|
|
531
|
+
}
|
|
532
|
+
if (!w.isLoaded() && R == "onLoad" && O == "player") {
|
|
533
|
+
v = v || c(r);
|
|
534
|
+
o = w._swfHeight();
|
|
535
|
+
m(F, function() {
|
|
536
|
+
this._fireEvent("onLoad")
|
|
143
537
|
});
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
p.embedded = [null,x];
|
|
147
|
-
return q
|
|
148
|
-
}
|
|
149
|
-
if (typeof x == "number") {
|
|
150
|
-
x = [x]
|
|
151
|
-
}
|
|
152
|
-
var v = e();
|
|
153
|
-
p[v] = [x,w];
|
|
154
|
-
if (s.isLoaded()) {
|
|
155
|
-
s._api().fp_addCuepoints(x, r, v)
|
|
156
|
-
}
|
|
157
|
-
return q
|
|
158
|
-
},update:function(w) {
|
|
159
|
-
i(q, w);
|
|
160
|
-
if (s.isLoaded()) {
|
|
161
|
-
s._api().fp_updateClip(w, r)
|
|
162
|
-
}
|
|
163
|
-
var v = s.getConfig();
|
|
164
|
-
var x = (r == -1) ? v.clip : v.playlist[r];
|
|
165
|
-
i(x, w, true)
|
|
166
|
-
},_fireEvent:function(v, y, w, A) {
|
|
167
|
-
if (v == "onLoad") {
|
|
168
|
-
m(p, function(B, C) {
|
|
169
|
-
if (C[0]) {
|
|
170
|
-
s._api().fp_addCuepoints(C[0], r, B)
|
|
171
|
-
}
|
|
172
|
-
});
|
|
173
|
-
return false
|
|
174
|
-
}
|
|
175
|
-
A = A || q;
|
|
176
|
-
if (v == "onCuepoint") {
|
|
177
|
-
var z = p[y];
|
|
178
|
-
if (z) {
|
|
179
|
-
return z[1].call(s, A, w)
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
if (y && "onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(v) != -1) {
|
|
183
|
-
i(A, y);
|
|
184
|
-
if (y.metaData) {
|
|
185
|
-
if (!A.duration) {
|
|
186
|
-
A.duration = y.metaData.duration
|
|
187
|
-
} else {
|
|
188
|
-
A.fullDuration = y.metaData.duration
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
var x = true;
|
|
193
|
-
m(u[v], function() {
|
|
194
|
-
x = this.call(s, A, y, w)
|
|
195
|
-
});
|
|
196
|
-
return x
|
|
197
|
-
}});
|
|
198
|
-
if (t.onCuepoint) {
|
|
199
|
-
var o = t.onCuepoint;
|
|
200
|
-
q.onCuepoint.apply(q, typeof o == "function" ? [o] : o);
|
|
201
|
-
delete t.onCuepoint
|
|
202
|
-
}
|
|
203
|
-
m(t, function(v, w) {
|
|
204
|
-
if (typeof w == "function") {
|
|
205
|
-
j(u, v, w);
|
|
206
|
-
delete t[v]
|
|
207
|
-
}
|
|
538
|
+
m(y, function(S, T) {
|
|
539
|
+
T._fireEvent("onUpdate")
|
|
208
540
|
});
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
if (
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
541
|
+
s._fireEvent("onLoad")
|
|
542
|
+
}
|
|
543
|
+
if (R == "onLoad" && O != "player") {
|
|
544
|
+
return
|
|
545
|
+
}
|
|
546
|
+
if (R == "onError") {
|
|
547
|
+
if (typeof O == "string" || (typeof O == "number" && typeof M == "number")) {
|
|
548
|
+
O = M;
|
|
549
|
+
M = L
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
if (R == "onContextMenu") {
|
|
553
|
+
m(t.contextMenu[O], function(S, T) {
|
|
554
|
+
T.call(w)
|
|
223
555
|
});
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
s[v] = w
|
|
275
|
-
}
|
|
276
|
-
this.display = q._api().fp_fadeTo(p, y, x, v);
|
|
277
|
-
this.opacity = y;
|
|
278
|
-
return o
|
|
279
|
-
},fadeIn:function(w, v) {
|
|
280
|
-
return o.fadeTo(1, w, v)
|
|
281
|
-
},fadeOut:function(w, v) {
|
|
282
|
-
return o.fadeTo(0, w, v)
|
|
283
|
-
},getName:function() {
|
|
284
|
-
return p
|
|
285
|
-
},getPlayer:function() {
|
|
286
|
-
return q
|
|
287
|
-
},_fireEvent:function(w, v, x) {
|
|
288
|
-
if (w == "onUpdate") {
|
|
289
|
-
var z = q._api().fp_getPlugin(p);
|
|
290
|
-
if (!z) {
|
|
291
|
-
return
|
|
292
|
-
}
|
|
293
|
-
i(o, z);
|
|
294
|
-
delete o.methods;
|
|
295
|
-
if (!u) {
|
|
296
|
-
m(z.methods, function() {
|
|
297
|
-
var B = "" + this;
|
|
298
|
-
o[B] = function() {
|
|
299
|
-
var C = [].slice.call(arguments);
|
|
300
|
-
var D = q._api().fp_invoke(p, B, C);
|
|
301
|
-
return D === "undefined" || D === undefined ? o : D
|
|
302
|
-
}
|
|
303
|
-
});
|
|
304
|
-
u = true
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
var A = s[w];
|
|
308
|
-
if (A) {
|
|
309
|
-
var y = A.apply(o, v);
|
|
310
|
-
if (w.slice(0, 1) == "_") {
|
|
311
|
-
delete s[w]
|
|
312
|
-
}
|
|
313
|
-
return y
|
|
314
|
-
}
|
|
315
|
-
return o
|
|
316
|
-
}})
|
|
556
|
+
return
|
|
557
|
+
}
|
|
558
|
+
if (R == "onPluginEvent" || R == "onBeforePluginEvent") {
|
|
559
|
+
var H = O.name || O;
|
|
560
|
+
var I = y[H];
|
|
561
|
+
if (I) {
|
|
562
|
+
I._fireEvent("onUpdate", O);
|
|
563
|
+
return I._fireEvent(M, Q.slice(3))
|
|
564
|
+
}
|
|
565
|
+
return
|
|
566
|
+
}
|
|
567
|
+
if (R == "onPlaylistReplace") {
|
|
568
|
+
F = [];
|
|
569
|
+
var N = 0;
|
|
570
|
+
m(O, function() {
|
|
571
|
+
F.push(new h(this, N++, w))
|
|
572
|
+
})
|
|
573
|
+
}
|
|
574
|
+
if (R == "onClipAdd") {
|
|
575
|
+
if (O.isInStream) {
|
|
576
|
+
return
|
|
577
|
+
}
|
|
578
|
+
O = new h(O, M, w);
|
|
579
|
+
F.splice(M, 0, O);
|
|
580
|
+
for (K = M + 1; K < F.length; K++) {
|
|
581
|
+
F[K].index++
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
var P = true;
|
|
585
|
+
if (typeof O == "number" && O < F.length) {
|
|
586
|
+
C = O;
|
|
587
|
+
var J = F[O];
|
|
588
|
+
if (J) {
|
|
589
|
+
P = J._fireEvent(R, M, L)
|
|
590
|
+
}
|
|
591
|
+
if (!J || P !== false) {
|
|
592
|
+
P = s._fireEvent(R, M, L, J)
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
m(x[R], function() {
|
|
596
|
+
P = this.call(w, O, M);
|
|
597
|
+
if (this.cached) {
|
|
598
|
+
x[R].splice(K, 1)
|
|
599
|
+
}
|
|
600
|
+
if (P === false) {
|
|
601
|
+
return false
|
|
602
|
+
}
|
|
603
|
+
K++
|
|
604
|
+
});
|
|
605
|
+
return P
|
|
317
606
|
};
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
flashembed(q, G, {config:t})
|
|
355
|
-
};
|
|
356
|
-
var I = 0;
|
|
357
|
-
m(a, function() {
|
|
358
|
-
this.unload(function(K) {
|
|
359
|
-
if (++I == a.length) {
|
|
360
|
-
H()
|
|
361
|
-
}
|
|
362
|
-
})
|
|
363
|
-
})
|
|
364
|
-
}
|
|
365
|
-
return w
|
|
366
|
-
},unload:function(J) {
|
|
367
|
-
if (this.isFullscreen() && /WebKit/i.test(navigator.userAgent)) {
|
|
368
|
-
if (J) {
|
|
369
|
-
J(false)
|
|
370
|
-
}
|
|
371
|
-
return w
|
|
372
|
-
}
|
|
373
|
-
if (u.replace(/\s/g, "") !== "") {
|
|
374
|
-
if (w._fireEvent("onBeforeUnload") === false) {
|
|
375
|
-
if (J) {
|
|
376
|
-
J(false)
|
|
377
|
-
}
|
|
378
|
-
return w
|
|
379
|
-
}
|
|
380
|
-
D = true;
|
|
381
|
-
try {
|
|
382
|
-
if (v) {
|
|
383
|
-
v.fp_close();
|
|
384
|
-
w._fireEvent("onUnload")
|
|
385
|
-
}
|
|
386
|
-
} catch(H) {
|
|
387
|
-
}
|
|
388
|
-
var I = function() {
|
|
389
|
-
v = null;
|
|
390
|
-
q.innerHTML = u;
|
|
391
|
-
D = false;
|
|
392
|
-
if (J) {
|
|
393
|
-
J(true)
|
|
394
|
-
}
|
|
395
|
-
};
|
|
396
|
-
setTimeout(I, 50)
|
|
397
|
-
} else {
|
|
398
|
-
if (J) {
|
|
399
|
-
J(false)
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
return w
|
|
403
|
-
},getClip:function(H) {
|
|
404
|
-
if (H === undefined) {
|
|
405
|
-
H = C
|
|
406
|
-
}
|
|
407
|
-
return F[H]
|
|
408
|
-
},getCommonClip:function() {
|
|
409
|
-
return s
|
|
410
|
-
},getPlaylist:function() {
|
|
411
|
-
return F
|
|
412
|
-
},getPlugin:function(H) {
|
|
413
|
-
var J = y[H];
|
|
414
|
-
if (!J && w.isLoaded()) {
|
|
415
|
-
var I = w._api().fp_getPlugin(H);
|
|
416
|
-
if (I) {
|
|
417
|
-
J = new l(H, I, w);
|
|
418
|
-
y[H] = J
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
return J
|
|
422
|
-
},getScreen:function() {
|
|
423
|
-
return w.getPlugin("screen")
|
|
424
|
-
},getControls:function() {
|
|
425
|
-
return w.getPlugin("controls")._fireEvent("onUpdate")
|
|
426
|
-
},getLogo:function() {
|
|
427
|
-
try {
|
|
428
|
-
return w.getPlugin("logo")._fireEvent("onUpdate")
|
|
429
|
-
} catch(H) {
|
|
430
|
-
}
|
|
431
|
-
},getPlay:function() {
|
|
432
|
-
return w.getPlugin("play")._fireEvent("onUpdate")
|
|
433
|
-
},getConfig:function(H) {
|
|
434
|
-
return H ? k(t) : t
|
|
435
|
-
},getFlashParams:function() {
|
|
436
|
-
return G
|
|
437
|
-
},loadPlugin:function(K, J, M, L) {
|
|
438
|
-
if (typeof M == "function") {
|
|
439
|
-
L = M;
|
|
440
|
-
M = {}
|
|
441
|
-
}
|
|
442
|
-
var I = L ? e() : "_";
|
|
443
|
-
w._api().fp_loadPlugin(K, J, M, I);
|
|
444
|
-
var H = {};
|
|
445
|
-
H[I] = L;
|
|
446
|
-
var N = new l(K, null, w, H);
|
|
447
|
-
y[K] = N;
|
|
448
|
-
return N
|
|
449
|
-
},getState:function() {
|
|
450
|
-
return w.isLoaded() ? v.fp_getState() : -1
|
|
451
|
-
},play:function(I, H) {
|
|
452
|
-
var J = function() {
|
|
453
|
-
if (I !== undefined) {
|
|
454
|
-
w._api().fp_play(I, H)
|
|
455
|
-
} else {
|
|
456
|
-
w._api().fp_play()
|
|
457
|
-
}
|
|
458
|
-
};
|
|
459
|
-
if (w.isLoaded()) {
|
|
460
|
-
J()
|
|
461
|
-
} else {
|
|
462
|
-
if (D) {
|
|
463
|
-
setTimeout(function() {
|
|
464
|
-
w.play(I, H)
|
|
465
|
-
}, 50)
|
|
466
|
-
} else {
|
|
467
|
-
w.load(function() {
|
|
468
|
-
J()
|
|
469
|
-
})
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
return w
|
|
473
|
-
},getVersion:function() {
|
|
474
|
-
var I = "flowplayer.js 3.2.4";
|
|
475
|
-
if (w.isLoaded()) {
|
|
476
|
-
var H = v.fp_getVersion();
|
|
477
|
-
H.push(I);
|
|
478
|
-
return H
|
|
479
|
-
}
|
|
480
|
-
return I
|
|
481
|
-
},_api:function() {
|
|
482
|
-
if (!w.isLoaded()) {
|
|
483
|
-
throw"Flowplayer " + w.id() + " not loaded when calling an API method"
|
|
484
|
-
}
|
|
485
|
-
return v
|
|
486
|
-
},setClip:function(H) {
|
|
487
|
-
w.setPlaylist([H]);
|
|
488
|
-
return w
|
|
489
|
-
},getIndex:function() {
|
|
490
|
-
return p
|
|
491
|
-
},_swfHeight:function() {
|
|
492
|
-
return v.clientHeight
|
|
493
|
-
}});
|
|
494
|
-
m(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","), function() {
|
|
495
|
-
var H = "on" + this;
|
|
496
|
-
if (H.indexOf("*") != -1) {
|
|
497
|
-
H = H.slice(0, H.length - 1);
|
|
498
|
-
var I = "onBefore" + H.slice(2);
|
|
499
|
-
w[I] = function(J) {
|
|
500
|
-
j(x, I, J);
|
|
501
|
-
return w
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
w[H] = function(J) {
|
|
505
|
-
j(x, H, J);
|
|
506
|
-
return w
|
|
507
|
-
}
|
|
607
|
+
function B() {
|
|
608
|
+
if ($f(q)) {
|
|
609
|
+
$f(q).getParent().innerHTML = "";
|
|
610
|
+
p = $f(q).getIndex();
|
|
611
|
+
a[p] = w
|
|
612
|
+
} else {
|
|
613
|
+
a.push(w);
|
|
614
|
+
p = a.length - 1
|
|
615
|
+
}
|
|
616
|
+
A = parseInt(q.style.height, 10) || q.clientHeight;
|
|
617
|
+
E = q.id || "fp" + e();
|
|
618
|
+
r = G.id || E + "_api";
|
|
619
|
+
G.id = r;
|
|
620
|
+
t.playerId = E;
|
|
621
|
+
if (typeof t == "string") {
|
|
622
|
+
t = {clip:{url:t}}
|
|
623
|
+
}
|
|
624
|
+
if (typeof t.clip == "string") {
|
|
625
|
+
t.clip = {url:t.clip}
|
|
626
|
+
}
|
|
627
|
+
t.clip = t.clip || {};
|
|
628
|
+
if (q.getAttribute("href", 2) && !t.clip.url) {
|
|
629
|
+
t.clip.url = q.getAttribute("href", 2)
|
|
630
|
+
}
|
|
631
|
+
s = new h(t.clip, -1, w);
|
|
632
|
+
t.playlist = t.playlist || [t.clip];
|
|
633
|
+
var I = 0;
|
|
634
|
+
m(t.playlist, function() {
|
|
635
|
+
var K = this;
|
|
636
|
+
if (typeof K == "object" && K.length) {
|
|
637
|
+
K = {url:"" + K}
|
|
638
|
+
}
|
|
639
|
+
m(t.clip, function(L, M) {
|
|
640
|
+
if (M !== undefined && K[L] === undefined && typeof M != "function") {
|
|
641
|
+
K[L] = M
|
|
642
|
+
}
|
|
508
643
|
});
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
return
|
|
545
|
-
}
|
|
546
|
-
if (R == "onError") {
|
|
547
|
-
if (typeof O == "string" || (typeof O == "number" && typeof M == "number")) {
|
|
548
|
-
O = M;
|
|
549
|
-
M = L
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
if (R == "onContextMenu") {
|
|
553
|
-
m(t.contextMenu[O], function(S, T) {
|
|
554
|
-
T.call(w)
|
|
555
|
-
});
|
|
556
|
-
return
|
|
557
|
-
}
|
|
558
|
-
if (R == "onPluginEvent" || R == "onBeforePluginEvent") {
|
|
559
|
-
var H = O.name || O;
|
|
560
|
-
var I = y[H];
|
|
561
|
-
if (I) {
|
|
562
|
-
I._fireEvent("onUpdate", O);
|
|
563
|
-
return I._fireEvent(M, Q.slice(3))
|
|
564
|
-
}
|
|
565
|
-
return
|
|
566
|
-
}
|
|
567
|
-
if (R == "onPlaylistReplace") {
|
|
568
|
-
F = [];
|
|
569
|
-
var N = 0;
|
|
570
|
-
m(O, function() {
|
|
571
|
-
F.push(new h(this, N++, w))
|
|
572
|
-
})
|
|
573
|
-
}
|
|
574
|
-
if (R == "onClipAdd") {
|
|
575
|
-
if (O.isInStream) {
|
|
576
|
-
return
|
|
577
|
-
}
|
|
578
|
-
O = new h(O, M, w);
|
|
579
|
-
F.splice(M, 0, O);
|
|
580
|
-
for (K = M + 1; K < F.length; K++) {
|
|
581
|
-
F[K].index++
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
var P = true;
|
|
585
|
-
if (typeof O == "number" && O < F.length) {
|
|
586
|
-
C = O;
|
|
587
|
-
var J = F[O];
|
|
588
|
-
if (J) {
|
|
589
|
-
P = J._fireEvent(R, M, L)
|
|
590
|
-
}
|
|
591
|
-
if (!J || P !== false) {
|
|
592
|
-
P = s._fireEvent(R, M, L, J)
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
m(x[R], function() {
|
|
596
|
-
P = this.call(w, O, M);
|
|
597
|
-
if (this.cached) {
|
|
598
|
-
x[R].splice(K, 1)
|
|
599
|
-
}
|
|
600
|
-
if (P === false) {
|
|
601
|
-
return false
|
|
602
|
-
}
|
|
603
|
-
K++
|
|
604
|
-
});
|
|
605
|
-
return P
|
|
606
|
-
};
|
|
607
|
-
function B() {
|
|
608
|
-
if ($f(q)) {
|
|
609
|
-
$f(q).getParent().innerHTML = "";
|
|
610
|
-
p = $f(q).getIndex();
|
|
611
|
-
a[p] = w
|
|
612
|
-
} else {
|
|
613
|
-
a.push(w);
|
|
614
|
-
p = a.length - 1
|
|
615
|
-
}
|
|
616
|
-
A = parseInt(q.style.height, 10) || q.clientHeight;
|
|
617
|
-
E = q.id || "fp" + e();
|
|
618
|
-
r = G.id || E + "_api";
|
|
619
|
-
G.id = r;
|
|
620
|
-
t.playerId = E;
|
|
621
|
-
if (typeof t == "string") {
|
|
622
|
-
t = {clip:{url:t}}
|
|
623
|
-
}
|
|
624
|
-
if (typeof t.clip == "string") {
|
|
625
|
-
t.clip = {url:t.clip}
|
|
626
|
-
}
|
|
627
|
-
t.clip = t.clip || {};
|
|
628
|
-
if (q.getAttribute("href", 2) && !t.clip.url) {
|
|
629
|
-
t.clip.url = q.getAttribute("href", 2)
|
|
630
|
-
}
|
|
631
|
-
s = new h(t.clip, -1, w);
|
|
632
|
-
t.playlist = t.playlist || [t.clip];
|
|
633
|
-
var I = 0;
|
|
634
|
-
m(t.playlist, function() {
|
|
635
|
-
var K = this;
|
|
636
|
-
if (typeof K == "object" && K.length) {
|
|
637
|
-
K = {url:"" + K}
|
|
638
|
-
}
|
|
639
|
-
m(t.clip, function(L, M) {
|
|
640
|
-
if (M !== undefined && K[L] === undefined && typeof M != "function") {
|
|
641
|
-
K[L] = M
|
|
642
|
-
}
|
|
643
|
-
});
|
|
644
|
-
t.playlist[I] = K;
|
|
645
|
-
K = new h(K, I, w);
|
|
646
|
-
F.push(K);
|
|
647
|
-
I++
|
|
648
|
-
});
|
|
649
|
-
m(t, function(K, L) {
|
|
650
|
-
if (typeof L == "function") {
|
|
651
|
-
if (s[K]) {
|
|
652
|
-
s[K](L)
|
|
653
|
-
} else {
|
|
654
|
-
j(x, K, L)
|
|
655
|
-
}
|
|
656
|
-
delete t[K]
|
|
657
|
-
}
|
|
658
|
-
});
|
|
659
|
-
m(t.plugins, function(K, L) {
|
|
660
|
-
if (L) {
|
|
661
|
-
y[K] = new l(K, L, w)
|
|
662
|
-
}
|
|
663
|
-
});
|
|
664
|
-
if (!t.plugins || t.plugins.controls === undefined) {
|
|
665
|
-
y.controls = new l("controls", null, w)
|
|
666
|
-
}
|
|
667
|
-
y.canvas = new l("canvas", null, w);
|
|
668
|
-
u = q.innerHTML;
|
|
669
|
-
function J(L) {
|
|
670
|
-
var K = w.hasiPadSupport && w.hasiPadSupport();
|
|
671
|
-
if (/iPad|iPhone|iPod/i.test(navigator.userAgent) && !/.flv$/i.test(F[0].url) && !K) {
|
|
672
|
-
return true
|
|
673
|
-
}
|
|
674
|
-
if (!w.isLoaded() && w._fireEvent("onBeforeClick") !== false) {
|
|
675
|
-
w.load()
|
|
676
|
-
}
|
|
677
|
-
return f(L)
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
function H() {
|
|
681
|
-
if (u.replace(/\s/g, "") !== "") {
|
|
682
|
-
if (q.addEventListener) {
|
|
683
|
-
q.addEventListener("click", J, false)
|
|
684
|
-
} else {
|
|
685
|
-
if (q.attachEvent) {
|
|
686
|
-
q.attachEvent("onclick", J)
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
} else {
|
|
690
|
-
if (q.addEventListener) {
|
|
691
|
-
q.addEventListener("click", f, false)
|
|
692
|
-
}
|
|
693
|
-
w.load()
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
setTimeout(H, 0)
|
|
698
|
-
}
|
|
644
|
+
t.playlist[I] = K;
|
|
645
|
+
K = new h(K, I, w);
|
|
646
|
+
F.push(K);
|
|
647
|
+
I++
|
|
648
|
+
});
|
|
649
|
+
m(t, function(K, L) {
|
|
650
|
+
if (typeof L == "function") {
|
|
651
|
+
if (s[K]) {
|
|
652
|
+
s[K](L)
|
|
653
|
+
} else {
|
|
654
|
+
j(x, K, L)
|
|
655
|
+
}
|
|
656
|
+
delete t[K]
|
|
657
|
+
}
|
|
658
|
+
});
|
|
659
|
+
m(t.plugins, function(K, L) {
|
|
660
|
+
if (L) {
|
|
661
|
+
y[K] = new l(K, L, w)
|
|
662
|
+
}
|
|
663
|
+
});
|
|
664
|
+
if (!t.plugins || t.plugins.controls === undefined) {
|
|
665
|
+
y.controls = new l("controls", null, w)
|
|
666
|
+
}
|
|
667
|
+
y.canvas = new l("canvas", null, w);
|
|
668
|
+
u = q.innerHTML;
|
|
669
|
+
function J(L) {
|
|
670
|
+
var K = w.hasiPadSupport && w.hasiPadSupport();
|
|
671
|
+
if (/iPad|iPhone|iPod/i.test(navigator.userAgent) && !/.flv$/i.test(F[0].url) && !K) {
|
|
672
|
+
return true
|
|
673
|
+
}
|
|
674
|
+
if (!w.isLoaded() && w._fireEvent("onBeforeClick") !== false) {
|
|
675
|
+
w.load()
|
|
676
|
+
}
|
|
677
|
+
return f(L)
|
|
678
|
+
}
|
|
699
679
|
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
q
|
|
706
|
-
|
|
680
|
+
function H() {
|
|
681
|
+
if (u.replace(/\s/g, "") !== "") {
|
|
682
|
+
if (q.addEventListener) {
|
|
683
|
+
q.addEventListener("click", J, false)
|
|
684
|
+
} else {
|
|
685
|
+
if (q.attachEvent) {
|
|
686
|
+
q.attachEvent("onclick", J)
|
|
687
|
+
}
|
|
688
|
+
}
|
|
707
689
|
} else {
|
|
708
|
-
|
|
690
|
+
if (q.addEventListener) {
|
|
691
|
+
q.addEventListener("click", f, false)
|
|
692
|
+
}
|
|
693
|
+
w.load()
|
|
709
694
|
}
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
setTimeout(H, 0)
|
|
710
698
|
}
|
|
711
699
|
|
|
712
|
-
|
|
700
|
+
if (typeof q == "string") {
|
|
701
|
+
var z = c(q);
|
|
702
|
+
if (!z) {
|
|
703
|
+
throw"Flowplayer cannot access element: " + q
|
|
704
|
+
}
|
|
705
|
+
q = z;
|
|
706
|
+
B()
|
|
707
|
+
} else {
|
|
708
|
+
B()
|
|
709
|
+
}
|
|
710
|
+
}
|
|
713
711
|
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
712
|
+
var a = [];
|
|
713
|
+
|
|
714
|
+
function d(o) {
|
|
715
|
+
this.length = o.length;
|
|
716
|
+
this.each = function(p) {
|
|
717
|
+
m(o, p)
|
|
718
|
+
};
|
|
719
|
+
this.size = function() {
|
|
720
|
+
return o.length
|
|
722
721
|
}
|
|
722
|
+
}
|
|
723
723
|
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
}
|
|
769
|
-
} else {
|
|
770
|
-
if (o) {
|
|
771
|
-
return new b(o, t, q)
|
|
772
|
-
}
|
|
773
|
-
}
|
|
724
|
+
window.flowplayer = window.$f = function() {
|
|
725
|
+
var p = null;
|
|
726
|
+
var o = arguments[0];
|
|
727
|
+
if (!arguments.length) {
|
|
728
|
+
m(a, function() {
|
|
729
|
+
if (this.isLoaded()) {
|
|
730
|
+
p = this;
|
|
731
|
+
return false
|
|
732
|
+
}
|
|
733
|
+
});
|
|
734
|
+
return p || a[0]
|
|
735
|
+
}
|
|
736
|
+
if (arguments.length == 1) {
|
|
737
|
+
if (typeof o == "number") {
|
|
738
|
+
return a[o]
|
|
739
|
+
} else {
|
|
740
|
+
if (o == "*") {
|
|
741
|
+
return new d(a)
|
|
742
|
+
}
|
|
743
|
+
m(a, function() {
|
|
744
|
+
if (this.id() == o.id || this.id() == o || this.getParent() == o) {
|
|
745
|
+
p = this;
|
|
746
|
+
return false
|
|
747
|
+
}
|
|
748
|
+
});
|
|
749
|
+
return p
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
if (arguments.length > 1) {
|
|
753
|
+
var t = arguments[1],q = (arguments.length == 3) ? arguments[2] : {};
|
|
754
|
+
if (typeof t == "string") {
|
|
755
|
+
t = {src:t}
|
|
756
|
+
}
|
|
757
|
+
t = i({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:true}, t);
|
|
758
|
+
if (typeof o == "string") {
|
|
759
|
+
if (o.indexOf(".") != -1) {
|
|
760
|
+
var s = [];
|
|
761
|
+
m(n(o), function() {
|
|
762
|
+
s.push(new b(this, k(t), k(q)))
|
|
763
|
+
});
|
|
764
|
+
return new d(s)
|
|
765
|
+
} else {
|
|
766
|
+
var r = c(o);
|
|
767
|
+
return new b(r !== null ? r : o, t, q)
|
|
774
768
|
}
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
var o = [].slice.call(arguments);
|
|
779
|
-
var q = $f(o[0]);
|
|
780
|
-
return q ? q._fireEvent(o.slice(1)) : null
|
|
781
|
-
},addPlugin:function(o, p) {
|
|
782
|
-
b.prototype[o] = p;
|
|
783
|
-
return $f
|
|
784
|
-
},each:m,extend:i});
|
|
785
|
-
if (typeof jQuery == "function") {
|
|
786
|
-
jQuery.fn.flowplayer = function(q, p) {
|
|
787
|
-
if (!arguments.length || typeof arguments[0] == "number") {
|
|
788
|
-
var o = [];
|
|
789
|
-
this.each(function() {
|
|
790
|
-
var r = $f(this);
|
|
791
|
-
if (r) {
|
|
792
|
-
o.push(r)
|
|
793
|
-
}
|
|
794
|
-
});
|
|
795
|
-
return arguments.length ? o[arguments[0]] : new d(o)
|
|
796
|
-
}
|
|
797
|
-
return this.each(function() {
|
|
798
|
-
$f(this, k(q), p ? k(p) : {})
|
|
799
|
-
})
|
|
769
|
+
} else {
|
|
770
|
+
if (o) {
|
|
771
|
+
return new b(o, t, q)
|
|
800
772
|
}
|
|
773
|
+
}
|
|
801
774
|
}
|
|
775
|
+
return null
|
|
776
|
+
};
|
|
777
|
+
i(window.$f, {fireEvent:function() {
|
|
778
|
+
var o = [].slice.call(arguments);
|
|
779
|
+
var q = $f(o[0]);
|
|
780
|
+
return q ? q._fireEvent(o.slice(1)) : null
|
|
781
|
+
},addPlugin:function(o, p) {
|
|
782
|
+
b.prototype[o] = p;
|
|
783
|
+
return $f
|
|
784
|
+
},each:m,extend:i});
|
|
785
|
+
if (typeof jQuery == "function") {
|
|
786
|
+
jQuery.fn.flowplayer = function(q, p) {
|
|
787
|
+
if (!arguments.length || typeof arguments[0] == "number") {
|
|
788
|
+
var o = [];
|
|
789
|
+
this.each(function() {
|
|
790
|
+
var r = $f(this);
|
|
791
|
+
if (r) {
|
|
792
|
+
o.push(r)
|
|
793
|
+
}
|
|
794
|
+
});
|
|
795
|
+
return arguments.length ? o[arguments[0]] : new d(o)
|
|
796
|
+
}
|
|
797
|
+
return this.each(function() {
|
|
798
|
+
$f(this, k(q), p ? k(p) : {})
|
|
799
|
+
})
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
802
|
})();
|
|
803
803
|
(function() {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
}
|
|
821
|
-
return m
|
|
804
|
+
var h = document.all,j = "http://www.adobe.com/go/getflashplayer",c = typeof jQuery == "function",e = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/,b = {width:"100%",height:"100%",id:"_" + ("" + Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};
|
|
805
|
+
if (window.attachEvent) {
|
|
806
|
+
window.attachEvent("onbeforeunload", function() {
|
|
807
|
+
__flash_unloadHandler = function() {
|
|
808
|
+
};
|
|
809
|
+
__flash_savedUnloadHandler = function() {
|
|
810
|
+
}
|
|
811
|
+
})
|
|
812
|
+
}
|
|
813
|
+
function i(m, l) {
|
|
814
|
+
if (l) {
|
|
815
|
+
for (var f in l) {
|
|
816
|
+
if (l.hasOwnProperty(f)) {
|
|
817
|
+
m[f] = l[f]
|
|
818
|
+
}
|
|
819
|
+
}
|
|
822
820
|
}
|
|
821
|
+
return m
|
|
822
|
+
}
|
|
823
823
|
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
}
|
|
831
|
-
return m
|
|
824
|
+
function a(f, n) {
|
|
825
|
+
var m = [];
|
|
826
|
+
for (var l in f) {
|
|
827
|
+
if (f.hasOwnProperty(l)) {
|
|
828
|
+
m[l] = n(f[l])
|
|
829
|
+
}
|
|
832
830
|
}
|
|
831
|
+
return m
|
|
832
|
+
}
|
|
833
833
|
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
834
|
+
window.flashembed = function(f, m, l) {
|
|
835
|
+
if (typeof f == "string") {
|
|
836
|
+
f = document.getElementById(f.replace("#", ""))
|
|
837
|
+
}
|
|
838
|
+
if (!f) {
|
|
839
|
+
return
|
|
840
|
+
}
|
|
841
|
+
if (typeof m == "string") {
|
|
842
|
+
m = {src:m}
|
|
843
|
+
}
|
|
844
|
+
return new d(f, i(i({}, b), m), l)
|
|
845
|
+
};
|
|
846
|
+
var g = i(window.flashembed, {conf:b,getVersion:function() {
|
|
847
|
+
var m,f;
|
|
848
|
+
try {
|
|
849
|
+
f = navigator.plugins["Shockwave Flash"].description.slice(16)
|
|
850
|
+
} catch(o) {
|
|
851
|
+
try {
|
|
852
|
+
m = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
|
|
853
|
+
f = m && m.GetVariable("$version")
|
|
854
|
+
} catch(n) {
|
|
848
855
|
try {
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
m = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
|
|
853
|
-
f = m && m.GetVariable("$version")
|
|
854
|
-
} catch(n) {
|
|
855
|
-
try {
|
|
856
|
-
m = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
|
|
857
|
-
f = m && m.GetVariable("$version")
|
|
858
|
-
} catch(l) {
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
f = e.exec(f);
|
|
863
|
-
return f ? [f[1],f[3]] : [0,0]
|
|
864
|
-
},asString:function(l) {
|
|
865
|
-
if (l === null || l === undefined) {
|
|
866
|
-
return null
|
|
867
|
-
}
|
|
868
|
-
var f = typeof l;
|
|
869
|
-
if (f == "object" && l.push) {
|
|
870
|
-
f = "array"
|
|
871
|
-
}
|
|
872
|
-
switch (f) {case"string":l = l.replace(new RegExp('(["\\\\])', "g"), "\\$1");l = l.replace(/^\s?(\d+\.?\d+)%/, "$1pct");return'"' + l + '"';case"array":return"[" + a(l,
|
|
873
|
-
function(o) {
|
|
874
|
-
return g.asString(o)
|
|
875
|
-
}).join(",") + "]";case"function":return'"function()"';case"object":var m = [];for (var n in l) {
|
|
876
|
-
if (l.hasOwnProperty(n)) {
|
|
877
|
-
m.push('"' + n + '":' + g.asString(l[n]))
|
|
878
|
-
}
|
|
879
|
-
}return"{" + m.join(",") + "}"
|
|
856
|
+
m = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
|
|
857
|
+
f = m && m.GetVariable("$version")
|
|
858
|
+
} catch(l) {
|
|
880
859
|
}
|
|
881
|
-
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
var
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
f = e.exec(f);
|
|
863
|
+
return f ? [f[1],f[3]] : [0,0]
|
|
864
|
+
},asString:function(l) {
|
|
865
|
+
if (l === null || l === undefined) {
|
|
866
|
+
return null
|
|
867
|
+
}
|
|
868
|
+
var f = typeof l;
|
|
869
|
+
if (f == "object" && l.push) {
|
|
870
|
+
f = "array"
|
|
871
|
+
}
|
|
872
|
+
switch (f) {case"string":l = l.replace(new RegExp('(["\\\\])', "g"), "\\$1");l = l.replace(/^\s?(\d+\.?\d+)%/, "$1pct");return'"' + l + '"';case"array":return"[" + a(l,
|
|
873
|
+
function(o) {
|
|
874
|
+
return g.asString(o)
|
|
875
|
+
}).join(",") + "]";case"function":return'"function()"';case"object":var m = [];for (var n in l) {
|
|
876
|
+
if (l.hasOwnProperty(n)) {
|
|
877
|
+
m.push('"' + n + '":' + g.asString(l[n]))
|
|
878
|
+
}
|
|
879
|
+
}return"{" + m.join(",") + "}"
|
|
880
|
+
}
|
|
881
|
+
return String(l).replace(/\s/g, " ").replace(/\'/g, '"')
|
|
882
|
+
},getHTML:function(o, l) {
|
|
883
|
+
o = i({}, o);
|
|
884
|
+
var n = '<object width="' + o.width + '" height="' + o.height + '" id="' + o.id + '" name="' + o.id + '"';
|
|
885
|
+
if (o.cachebusting) {
|
|
886
|
+
o.src += ((o.src.indexOf("?") != -1 ? "&" : "?") + Math.random())
|
|
887
|
+
}
|
|
888
|
+
if (o.w3c || !h) {
|
|
889
|
+
n += ' data="' + o.src + '" type="application/x-shockwave-flash"'
|
|
890
|
+
} else {
|
|
891
|
+
n += ' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
|
|
892
|
+
}
|
|
893
|
+
n += ">";
|
|
894
|
+
if (o.w3c || h) {
|
|
895
|
+
n += '<param name="movie" value="' + o.src + '" />'
|
|
896
|
+
}
|
|
897
|
+
o.width = o.height = o.id = o.w3c = o.src = null;
|
|
898
|
+
o.onFail = o.version = o.expressInstall = null;
|
|
899
|
+
for (var m in o) {
|
|
900
|
+
if (o[m]) {
|
|
901
|
+
n += '<param name="' + m + '" value="' + o[m] + '" />'
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
var p = "";
|
|
905
|
+
if (l) {
|
|
906
|
+
for (var f in l) {
|
|
907
|
+
if (l[f]) {
|
|
908
|
+
var q = l[f];
|
|
909
|
+
p += f + "=" + (/function|object/.test(typeof q) ? g.asString(q) : q) + "&"
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
p = p.slice(0, -1);
|
|
913
|
+
n += '<param name="flashvars" value=\'' + p + "' />"
|
|
914
|
+
}
|
|
915
|
+
n += "</object>";
|
|
916
|
+
return n
|
|
917
|
+
},isSupported:function(f) {
|
|
918
|
+
return k[0] > f[0] || k[0] == f[0] && k[1] >= f[1]
|
|
919
|
+
}});
|
|
920
|
+
var k = g.getVersion();
|
|
921
921
|
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
}
|
|
945
|
-
if (h) {
|
|
946
|
-
window[n.id] = document.getElementById(n.id)
|
|
947
|
-
}
|
|
948
|
-
i(this, {getRoot:function() {
|
|
949
|
-
return f
|
|
950
|
-
},getOptions:function() {
|
|
951
|
-
return n
|
|
952
|
-
},getConf:function() {
|
|
953
|
-
return m
|
|
954
|
-
},getApi:function() {
|
|
955
|
-
return f.firstChild
|
|
956
|
-
}})
|
|
922
|
+
function d(f, n, m) {
|
|
923
|
+
if (g.isSupported(n.version)) {
|
|
924
|
+
f.innerHTML = g.getHTML(n, m)
|
|
925
|
+
} else {
|
|
926
|
+
if (n.expressInstall && g.isSupported([6,65])) {
|
|
927
|
+
f.innerHTML = g.getHTML(i(n, {src:n.expressInstall}), {MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title})
|
|
928
|
+
} else {
|
|
929
|
+
if (!f.innerHTML.replace(/\s/g, "")) {
|
|
930
|
+
f.innerHTML = "<h2>Flash version " + n.version + " or greater is required</h2><h3>" + (k[0] > 0 ? "Your version is " + k : "You have no flash plugin installed") + "</h3>" + (f.tagName == "A" ? "<p>Click here to download latest version</p>" : "<p>Download latest version from <a href='" + j + "'>here</a></p>");
|
|
931
|
+
if (f.tagName == "A") {
|
|
932
|
+
f.onclick = function() {
|
|
933
|
+
location.href = j
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
if (n.onFail) {
|
|
938
|
+
var l = n.onFail.call(this);
|
|
939
|
+
if (typeof l == "string") {
|
|
940
|
+
f.innerHTML = l
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
}
|
|
957
944
|
}
|
|
945
|
+
if (h) {
|
|
946
|
+
window[n.id] = document.getElementById(n.id)
|
|
947
|
+
}
|
|
948
|
+
i(this, {getRoot:function() {
|
|
949
|
+
return f
|
|
950
|
+
},getOptions:function() {
|
|
951
|
+
return n
|
|
952
|
+
},getConf:function() {
|
|
953
|
+
return m
|
|
954
|
+
},getApi:function() {
|
|
955
|
+
return f.firstChild
|
|
956
|
+
}})
|
|
957
|
+
}
|
|
958
958
|
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
}
|
|
959
|
+
if (c) {
|
|
960
|
+
jQuery.tools = jQuery.tools || {version:"3.2.4"};
|
|
961
|
+
jQuery.tools.flashembed = {conf:b};
|
|
962
|
+
jQuery.fn.flashembed = function(l, f) {
|
|
963
|
+
return this.each(function() {
|
|
964
|
+
$(this).data("flashembed", flashembed(this, l, f))
|
|
965
|
+
})
|
|
967
966
|
}
|
|
967
|
+
}
|
|
968
968
|
})();
|