diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README b/README old mode 100644 new mode 100755 diff --git a/_working/create b/_working/create old mode 100644 new mode 100755 diff --git a/_working/event.sql b/_working/event.sql old mode 100644 new mode 100755 diff --git a/_working/label.sql b/_working/label.sql old mode 100644 new mode 100755 diff --git a/_working/mix.sql b/_working/mix.sql old mode 100644 new mode 100755 diff --git a/_working/recurrence.sql b/_working/recurrence.sql old mode 100644 new mode 100755 diff --git a/_working/release.sql b/_working/release.sql old mode 100644 new mode 100755 diff --git a/_working/release_audio.sql b/_working/release_audio.sql old mode 100644 new mode 100755 diff --git a/_working/social.sql b/_working/social.sql old mode 100644 new mode 100755 diff --git a/_working/venue.sql b/_working/venue.sql old mode 100644 new mode 100755 diff --git a/apache/django_live.wsgi b/apache/django_live.wsgi old mode 100644 new mode 100755 diff --git a/core/__init__.py b/core/__init__.py old mode 100644 new mode 100755 diff --git a/core/analytics/__init__.py b/core/analytics/__init__.py old mode 100644 new mode 100755 diff --git a/core/analytics/google.py b/core/analytics/google.py old mode 100644 new mode 100755 diff --git a/core/decorators.py b/core/decorators.py old mode 100644 new mode 100755 diff --git a/core/serialisers/__init__.py b/core/serialisers/__init__.py old mode 100644 new mode 100755 diff --git a/core/serialisers/json.py b/core/serialisers/json.py old mode 100644 new mode 100755 diff --git a/core/social/Facebook.py b/core/social/Facebook.py old mode 100644 new mode 100755 diff --git a/core/social/_Social.py b/core/social/_Social.py old mode 100644 new mode 100755 diff --git a/core/social/__init__.py b/core/social/__init__.py old mode 100644 new mode 100755 diff --git a/core/tasks.py b/core/tasks.py old mode 100644 new mode 100755 diff --git a/core/tests/__init__.py b/core/tests/__init__.py old mode 100644 new mode 100755 diff --git a/core/tests/mix.py b/core/tests/mix.py old mode 100644 new mode 100755 diff --git a/core/utils/__init__.py b/core/utils/__init__.py old mode 100644 new mode 100755 diff --git a/core/utils/file.py b/core/utils/file.py old mode 100644 new mode 100755 diff --git a/core/utils/html.py b/core/utils/html.py old mode 100644 new mode 100755 diff --git a/core/utils/live.py b/core/utils/live.py old mode 100644 new mode 100755 diff --git a/core/utils/string.py b/core/utils/string.py old mode 100644 new mode 100755 diff --git a/core/utils/url.py b/core/utils/url.py old mode 100644 new mode 100755 diff --git a/core/utils/waveform.py b/core/utils/waveform.py old mode 100644 new mode 100755 diff --git a/core/widgets/__init__.py b/core/widgets/__init__.py old mode 100644 new mode 100755 diff --git a/core/widgets/upload.py b/core/widgets/upload.py old mode 100644 new mode 100755 diff --git a/dss/__init__.py b/dss/__init__.py old mode 100644 new mode 100755 diff --git a/dss/settings.py b/dss/settings.py old mode 100644 new mode 100755 index b7ecb1d..1eb21ac --- a/dss/settings.py +++ b/dss/settings.py @@ -240,3 +240,5 @@ PIPELINE_CSS = { COMPRESS_CSS_FILTERS = [ 'compressor.filters.css_default.CssAbsoluteFilter', ] +import mimetypes +mimetypes.add_type("text/xml", ".plist", False) diff --git a/dss/urls.py b/dss/urls.py old mode 100644 new mode 100755 diff --git a/dss/wsgi.py b/dss/wsgi.py old mode 100644 new mode 100755 diff --git a/requirements.txt b/requirements.txt old mode 100644 new mode 100755 diff --git a/spa/__init__.py b/spa/__init__.py old mode 100644 new mode 100755 diff --git a/spa/admin.py b/spa/admin.py old mode 100644 new mode 100755 diff --git a/spa/ajax.py b/spa/ajax.py old mode 100644 new mode 100755 diff --git a/spa/api/__init__.py b/spa/api/__init__.py old mode 100644 new mode 100755 diff --git a/spa/api/v1/BackboneCompatibleResource.py b/spa/api/v1/BackboneCompatibleResource.py old mode 100644 new mode 100755 diff --git a/spa/api/v1/ChatResource.py b/spa/api/v1/ChatResource.py old mode 100644 new mode 100755 diff --git a/spa/api/v1/CommentResource.py b/spa/api/v1/CommentResource.py old mode 100644 new mode 100755 diff --git a/spa/api/v1/EventResource.py b/spa/api/v1/EventResource.py old mode 100644 new mode 100755 diff --git a/spa/api/v1/MixResource.py b/spa/api/v1/MixResource.py old mode 100644 new mode 100755 diff --git a/spa/api/v1/ReleaseAudioResource.py b/spa/api/v1/ReleaseAudioResource.py old mode 100644 new mode 100755 diff --git a/spa/api/v1/ReleaseResource.py b/spa/api/v1/ReleaseResource.py old mode 100644 new mode 100755 diff --git a/spa/api/v1/UserResource.py b/spa/api/v1/UserResource.py old mode 100644 new mode 100755 diff --git a/spa/api/v1/__init__.py b/spa/api/v1/__init__.py old mode 100644 new mode 100755 diff --git a/spa/audio.py b/spa/audio.py old mode 100644 new mode 100755 diff --git a/spa/forms.py b/spa/forms.py old mode 100644 new mode 100755 diff --git a/spa/management/__init__.py b/spa/management/__init__.py old mode 100644 new mode 100755 diff --git a/spa/management/commands/__init__.py b/spa/management/commands/__init__.py old mode 100644 new mode 100755 diff --git a/spa/management/commands/cleanup.py b/spa/management/commands/cleanup.py old mode 100644 new mode 100755 diff --git a/spa/management/commands/drop.py b/spa/management/commands/drop.py old mode 100644 new mode 100755 diff --git a/spa/management/commands/purchaselinks.py b/spa/management/commands/purchaselinks.py old mode 100644 new mode 100755 diff --git a/spa/management/commands/tracklists.py b/spa/management/commands/tracklists.py old mode 100644 new mode 100755 diff --git a/spa/management/commands/waveforms.py b/spa/management/commands/waveforms.py old mode 100644 new mode 100755 diff --git a/spa/middleware/__init__.py b/spa/middleware/__init__.py old mode 100644 new mode 100755 diff --git a/spa/middleware/uploadify.py b/spa/middleware/uploadify.py old mode 100644 new mode 100755 diff --git a/spa/models/ChatMessage.py b/spa/models/ChatMessage.py old mode 100644 new mode 100755 diff --git a/spa/models/Comment.py b/spa/models/Comment.py old mode 100644 new mode 100755 diff --git a/spa/models/Event.py b/spa/models/Event.py old mode 100644 new mode 100755 diff --git a/spa/models/Label.py b/spa/models/Label.py old mode 100644 new mode 100755 diff --git a/spa/models/Mix.py b/spa/models/Mix.py old mode 100644 new mode 100755 diff --git a/spa/models/MixFavourite.py b/spa/models/MixFavourite.py old mode 100644 new mode 100755 diff --git a/spa/models/MixLike.py b/spa/models/MixLike.py old mode 100644 new mode 100755 diff --git a/spa/models/MixPlay.py b/spa/models/MixPlay.py old mode 100644 new mode 100755 diff --git a/spa/models/PurchaseLink.py b/spa/models/PurchaseLink.py old mode 100644 new mode 100755 diff --git a/spa/models/Recurrence.py b/spa/models/Recurrence.py old mode 100644 new mode 100755 diff --git a/spa/models/Release.py b/spa/models/Release.py old mode 100644 new mode 100755 diff --git a/spa/models/Tracklist.py b/spa/models/Tracklist.py old mode 100644 new mode 100755 diff --git a/spa/models/UserProfile.py b/spa/models/UserProfile.py old mode 100644 new mode 100755 diff --git a/spa/models/Venue.py b/spa/models/Venue.py old mode 100644 new mode 100755 diff --git a/spa/models/_Activity.py b/spa/models/_Activity.py old mode 100644 new mode 100755 diff --git a/spa/models/_BaseModel.py b/spa/models/_BaseModel.py old mode 100644 new mode 100755 diff --git a/spa/models/_Lookup.py b/spa/models/_Lookup.py old mode 100644 new mode 100755 diff --git a/spa/models/__init__.py b/spa/models/__init__.py old mode 100644 new mode 100755 diff --git a/spa/signals.py b/spa/signals.py old mode 100644 new mode 100755 diff --git a/spa/social.py b/spa/social.py old mode 100644 new mode 100755 diff --git a/spa/templates.py b/spa/templates.py old mode 100644 new mode 100755 diff --git a/spa/templatetags/__init__.py b/spa/templatetags/__init__.py old mode 100644 new mode 100755 diff --git a/spa/templatetags/spa_extras.py b/spa/templatetags/spa_extras.py old mode 100644 new mode 100755 diff --git a/spa/urls.py b/spa/urls.py old mode 100644 new mode 100755 diff --git a/spa/views.py b/spa/views.py old mode 100644 new mode 100755 diff --git a/static/bin/sm/soundmanager2.swf b/static/bin/sm/soundmanager2.swf old mode 100644 new mode 100755 diff --git a/static/bin/sm/soundmanager2_debug.swf b/static/bin/sm/soundmanager2_debug.swf old mode 100644 new mode 100755 diff --git a/static/bin/sm/soundmanager2_flash9.swf b/static/bin/sm/soundmanager2_flash9.swf old mode 100644 new mode 100755 diff --git a/static/bin/sm/soundmanager2_flash9_debug.swf b/static/bin/sm/soundmanager2_flash9_debug.swf old mode 100644 new mode 100755 diff --git a/static/bin/sm/soundmanager2_flash_xdomain.zip b/static/bin/sm/soundmanager2_flash_xdomain.zip old mode 100644 new mode 100755 diff --git a/static/css/bootstrap/bootstrap-datepicker.css b/static/css/bootstrap/bootstrap-datepicker.css old mode 100644 new mode 100755 diff --git a/static/css/bootstrap/bootstrap-responsive.css b/static/css/bootstrap/bootstrap-responsive.css old mode 100644 new mode 100755 diff --git a/static/css/bootstrap/bootstrap-responsive.min.css b/static/css/bootstrap/bootstrap-responsive.min.css old mode 100644 new mode 100755 diff --git a/static/css/bootstrap/bootstrap-timepicker.css b/static/css/bootstrap/bootstrap-timepicker.css old mode 100644 new mode 100755 diff --git a/static/css/bootstrap/bootstrap.css b/static/css/bootstrap/bootstrap.css old mode 100644 new mode 100755 diff --git a/static/css/bootstrap/bootstrap.min.css b/static/css/bootstrap/bootstrap.min.css old mode 100644 new mode 100755 diff --git a/static/css/colorbox.css b/static/css/colorbox.css old mode 100644 new mode 100755 diff --git a/static/css/com.podnoms.player.css b/static/css/com.podnoms.player.css old mode 100644 new mode 100755 diff --git a/static/css/deepsouthsounds.css b/static/css/deepsouthsounds.css old mode 100644 new mode 100755 diff --git a/static/css/emoticons.css b/static/css/emoticons.css new file mode 100755 index 0000000..912fb4a --- /dev/null +++ b/static/css/emoticons.css @@ -0,0 +1,296 @@ +.dss-emo-Angel { + background-position: 0 0; + width: 15px; + height: 17px; +} + +.dss-emo-Angry { + background-position: 0 -67px; + width: 15px; + height: 15px; +} + +.dss-emo-Aww { + background-position: 0 -132px; + width: 15px; + height: 15px; +} + +.dss-emo-Aww_2 { + background-position: 0 -197px; + width: 15px; + height: 15px; +} + +.dss-emo-Blushing { + background-position: 0 -262px; + width: 15px; + height: 15px; +} + +.dss-emo-Childish { + background-position: 0 -327px; + width: 15px; + height: 15px; +} + +.dss-emo-Confused { + background-position: 0 -392px; + width: 15px; + height: 15px; +} + +.dss-emo-Creepy { + background-position: 0 -457px; + width: 15px; + height: 15px; +} + +.dss-emo-Crying { + background-position: 0 -522px; + width: 15px; + height: 15px; +} + +.dss-emo-Cthulhu { + background-position: 0 -587px; + width: 15px; + height: 16px; +} + +.dss-emo-Cute { + background-position: 0 -653px; + width: 15px; + height: 15px; +} + +.dss-emo-Cute_Winking { + background-position: 0 -718px; + width: 15px; + height: 15px; +} + +.dss-emo-Devil { + background-position: 0 -783px; + width: 15px; + height: 17px; +} + +.dss-emo-Gah { + background-position: 0 -850px; + width: 15px; + height: 15px; +} + +.dss-emo-Gah_2 { + background-position: 0 -915px; + width: 15px; + height: 15px; +} + +.dss-emo-Gasping { + background-position: 0 -980px; + width: 15px; + height: 15px; +} + +.dss-emo-Greedy { + background-position: 0 -1045px; + width: 15px; + height: 15px; +} + +.dss-emo-Grinning { + background-position: 0 -1110px; + width: 15px; + height: 15px; +} + +.dss-emo-Grinning_Winking { + background-position: 0 -1175px; + width: 15px; + height: 15px; +} + +.dss-emo-Happy { + background-position: 0 -1240px; + width: 15px; + height: 15px; +} + +.dss-emo-Happy_2 { + background-position: 0 -1305px; + width: 15px; + height: 15px; +} + +.dss-emo-Happy_3 { + background-position: 0 -1370px; + width: 15px; + height: 15px; +} + +.dss-emo-Heart { + background-position: 0 -1435px; + width: 13px; + height: 15px; +} + +.dss-emo-Huh { + background-position: 0 -1500px; + width: 15px; + height: 15px; +} + +.dss-emo-Huh_2 { + background-position: 0 -1565px; + width: 15px; + height: 15px; +} + +.dss-emo-Laughing { + background-position: 0 -1630px; + width: 15px; + height: 15px; +} + +.dss-emo-Lips_Sealed { + background-position: 0 -1695px; + width: 15px; + height: 15px; +} + +.dss-emo-Madness { + background-position: 0 -1760px; + width: 15px; + height: 15px; +} + +.dss-emo-Malicious { + background-position: 0 -1825px; + width: 15px; + height: 15px; +} + +.dss-emo-Sick { + background-position: 0 -1890px; + width: 15px; + height: 15px; +} + +.dss-emo-Smiling { + background-position: -65px 0; + width: 15px; + height: 15px; +} + +.dss-emo-Speechless { + background-position: -65px -65px; + width: 15px; + height: 15px; +} + +.dss-emo-Spiteful { + background-position: -65px -130px; + width: 15px; + height: 15px; +} + +.dss-emo-Stupid { + background-position: -65px -195px; + width: 15px; + height: 15px; +} + +.dss-emo-Sunglasses { + background-position: -65px -260px; + width: 15px; + height: 15px; +} + +.dss-emo-Terrified { + background-position: -65px -325px; + width: 15px; + height: 15px; +} + +.dss-emo-Thumb_Down { + background-position: -65px -390px; + width: 12px; + height: 14px; +} + +.dss-emo-Thumb_Up { + background-position: -65px -454px; + width: 12px; + height: 14px; +} + +.dss-emo-Tired { + background-position: -65px -518px; + width: 15px; + height: 15px; +} + +.dss-emo-Tongue_Out { + background-position: -65px -583px; + width: 15px; + height: 15px; +} + +.dss-emo-Tongue_Out_Laughing { + background-position: -65px -648px; + width: 15px; + height: 15px; +} + +.dss-emo-Tongue_Out_Left { + background-position: -65px -713px; + width: 15px; + height: 15px; +} + +.dss-emo-Tongue_Out_Up { + background-position: -65px -778px; + width: 15px; + height: 15px; +} + +.dss-emo-Tongue_Out_Up_Left { + background-position: -65px -843px; + width: 15px; + height: 15px; +} + +.dss-emo-Tongue_Out_Winking { + background-position: -65px -908px; + width: 15px; + height: 15px; +} + +.dss-emo-Uncertain { + background-position: -65px -973px; + width: 15px; + height: 15px; +} + +.dss-emo-Uncertain_2 { + background-position: -65px -1038px; + width: 15px; + height: 15px; +} + +.dss-emo-Unhappy { + background-position: -65px -1103px; + width: 15px; + height: 15px; +} + +.dss-emo-Winking { + background-position: -65px -1168px; + width: 15px; + height: 15px; +} +.dss-emo { + background: url(../img/dss-emoticons.png) no-repeat top left; +} diff --git a/static/css/jasny/jasny-bootstrap-responsive.css b/static/css/jasny/jasny-bootstrap-responsive.css old mode 100644 new mode 100755 diff --git a/static/css/jasny/jasny-bootstrap-responsive.min.css b/static/css/jasny/jasny-bootstrap-responsive.min.css old mode 100644 new mode 100755 diff --git a/static/css/jasny/jasny-bootstrap.css b/static/css/jasny/jasny-bootstrap.css old mode 100644 new mode 100755 diff --git a/static/css/jasny/jasny-bootstrap.min.css b/static/css/jasny/jasny-bootstrap.min.css old mode 100644 new mode 100755 diff --git a/static/css/uploadifive.css b/static/css/uploadifive.css old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_fill.eot b/static/fonts/iconic_fill.eot old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_fill.otf b/static/fonts/iconic_fill.otf old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_fill.svg b/static/fonts/iconic_fill.svg old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_fill.ttf b/static/fonts/iconic_fill.ttf old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_fill.woff b/static/fonts/iconic_fill.woff old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_stroke.eot b/static/fonts/iconic_stroke.eot old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_stroke.otf b/static/fonts/iconic_stroke.otf old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_stroke.svg b/static/fonts/iconic_stroke.svg old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_stroke.ttf b/static/fonts/iconic_stroke.ttf old mode 100644 new mode 100755 diff --git a/static/fonts/iconic_stroke.woff b/static/fonts/iconic_stroke.woff old mode 100644 new mode 100755 diff --git a/static/html/fb_channel.html b/static/html/fb_channel.html old mode 100644 new mode 100755 diff --git a/static/html/privacy.html b/static/html/privacy.html old mode 100644 new mode 100755 diff --git a/static/html/robots.txt b/static/html/robots.txt old mode 100644 new mode 100755 diff --git a/static/html/test.html b/static/html/test.html old mode 100644 new mode 100755 diff --git a/static/html/test2.html b/static/html/test2.html old mode 100644 new mode 100755 diff --git a/static/html/tos.html b/static/html/tos.html old mode 100644 new mode 100755 diff --git a/static/img/500.png b/static/img/500.png old mode 100644 new mode 100755 diff --git a/static/img/asc.png b/static/img/asc.png old mode 100644 new mode 100755 diff --git a/static/img/bg.png b/static/img/bg.png old mode 100644 new mode 100755 diff --git a/static/img/colorbox/border.png b/static/img/colorbox/border.png old mode 100644 new mode 100755 diff --git a/static/img/colorbox/controls.png b/static/img/colorbox/controls.png old mode 100644 new mode 100755 diff --git a/static/img/colorbox/loading.gif b/static/img/colorbox/loading.gif old mode 100644 new mode 100755 diff --git a/static/img/colorbox/loading_background.png b/static/img/colorbox/loading_background.png old mode 100644 new mode 100755 diff --git a/static/img/default-avatar-32.png b/static/img/default-avatar-32.png old mode 100644 new mode 100755 diff --git a/static/img/default-avatar.png b/static/img/default-avatar.png old mode 100644 new mode 100755 diff --git a/static/img/default-track.png b/static/img/default-track.png old mode 100644 new mode 100755 diff --git a/static/img/desc.png b/static/img/desc.png old mode 100644 new mode 100755 diff --git a/static/img/download-progress-overlay.png b/static/img/download-progress-overlay.png old mode 100644 new mode 100755 diff --git a/static/img/dss-large.png b/static/img/dss-large.png old mode 100644 new mode 100755 diff --git a/static/img/emoticons/simple/Angel.png b/static/img/emoticons/simple/Angel.png new file mode 100755 index 0000000..0cf707b Binary files /dev/null and b/static/img/emoticons/simple/Angel.png differ diff --git a/static/img/emoticons/simple/Angry.png b/static/img/emoticons/simple/Angry.png new file mode 100755 index 0000000..9ae5d18 Binary files /dev/null and b/static/img/emoticons/simple/Angry.png differ diff --git a/static/img/emoticons/simple/Aww.png b/static/img/emoticons/simple/Aww.png new file mode 100755 index 0000000..3512863 Binary files /dev/null and b/static/img/emoticons/simple/Aww.png differ diff --git a/static/img/emoticons/simple/Aww_2.png b/static/img/emoticons/simple/Aww_2.png new file mode 100755 index 0000000..60510bb Binary files /dev/null and b/static/img/emoticons/simple/Aww_2.png differ diff --git a/static/img/emoticons/simple/Blushing.png b/static/img/emoticons/simple/Blushing.png new file mode 100755 index 0000000..ab03ee8 Binary files /dev/null and b/static/img/emoticons/simple/Blushing.png differ diff --git a/static/img/emoticons/simple/Childish.png b/static/img/emoticons/simple/Childish.png new file mode 100755 index 0000000..1a31c50 Binary files /dev/null and b/static/img/emoticons/simple/Childish.png differ diff --git a/static/img/emoticons/simple/Confused.png b/static/img/emoticons/simple/Confused.png new file mode 100755 index 0000000..08ba7d3 Binary files /dev/null and b/static/img/emoticons/simple/Confused.png differ diff --git a/static/img/emoticons/simple/Creepy.png b/static/img/emoticons/simple/Creepy.png new file mode 100755 index 0000000..5615058 Binary files /dev/null and b/static/img/emoticons/simple/Creepy.png differ diff --git a/static/img/emoticons/simple/Crying.png b/static/img/emoticons/simple/Crying.png new file mode 100755 index 0000000..2532976 Binary files /dev/null and b/static/img/emoticons/simple/Crying.png differ diff --git a/static/img/emoticons/simple/Cthulhu.png b/static/img/emoticons/simple/Cthulhu.png new file mode 100755 index 0000000..fafc4b3 Binary files /dev/null and b/static/img/emoticons/simple/Cthulhu.png differ diff --git a/static/img/emoticons/simple/Cute.png b/static/img/emoticons/simple/Cute.png new file mode 100755 index 0000000..a883ac3 Binary files /dev/null and b/static/img/emoticons/simple/Cute.png differ diff --git a/static/img/emoticons/simple/Cute_Winking.png b/static/img/emoticons/simple/Cute_Winking.png new file mode 100755 index 0000000..ad3383d Binary files /dev/null and b/static/img/emoticons/simple/Cute_Winking.png differ diff --git a/static/img/emoticons/simple/Devil.png b/static/img/emoticons/simple/Devil.png new file mode 100755 index 0000000..afc5c2c Binary files /dev/null and b/static/img/emoticons/simple/Devil.png differ diff --git a/static/img/emoticons/simple/Emoticons.plist b/static/img/emoticons/simple/Emoticons.plist new file mode 100755 index 0000000..b5eedae --- /dev/null +++ b/static/img/emoticons/simple/Emoticons.plist @@ -0,0 +1,651 @@ + + + + + AdiumSetVersion + 1 + Emoticons + + + Angel.png + + Equivalents + + O:) + 0:) + O:-) + 0:-) + o:) + o:-) + (A) + + Name + Angel + + + Angry.png + + Equivalents + + :@ + :-@ + ):( + + Name + Angry + + + Aww.png + + Equivalents + + 'w' + 'W' + *w* + *W* + °w° + °W° + :} + :-} + + Name + Aww... + + + Aww_2.png + + Equivalents + + ^w^ + ^W^ + + Name + Happy Aww... + + + Blushing.png + + Equivalents + + :'> + :"> + + Name + Blushing + + + Childish.png + + Equivalents + + :C + :c + :-C + :-c + + Name + Childish + + + Confused.png + + Equivalents + + :S + :s + :-S + :-s + + Name + Confused + + + Creepy.png + + Equivalents + + :E + :-E + + Name + Creepy + + + Crying.png + + Equivalents + + :'( + :'-( + :"( + :"-( + :*( + :*-( + :'[ + :'C + ='( + + Name + Crying + + + Cthulhu.png + + Equivalents + + 8E + 8-E + + Name + Cthulhu + + + Cute.png + + Equivalents + + :3 + :-3 + + Name + Cute + + + Cute_Winking.png + + Equivalents + + ;3 + ;-3 + + Name + Cute, Winking + + + Devil.png + + Equivalents + + >:) + >:-) + (6) + + Name + Devil + + + Gah.png + + Equivalents + + >_< + >< + >__< + + Name + Gah + + + Gah_2.png + + Equivalents + + >.< + >,< + + + + + + + + + + + + Name + Gah! + + + Gasping.png + + Equivalents + + :O + :o + :-O + :-o + :0 + :-0 + =O + =o + + Name + Gasping + + + Greedy.png + + Equivalents + + $) + $-) + + Name + Greedy + + + Grinning.png + + Equivalents + + :D + :-D + =D + + Name + Grinning + + + Grinning_Winking.png + + Equivalents + + ;D + ;-D + + Name + Grinning and winking + + + Happy.png + + Equivalents + + ^^ + + Name + Happy + + + Happy_2.png + + Equivalents + + ^_^ + ^-^ + ^__^ + ^___^ + + Name + Happy (variant II) + + + Happy_3.png + + Equivalents + + ^.^ + ^,^ + + Name + Happy (variant III) + + + Heart.png + + Equivalents + + <3 + (L) + + Name + Heart + + + Huh.png + + Equivalents + + o.O + o_O + o,O + o__O + o.0 + o_0 + o,0 + o__0 + O.O + O_O + O,O + O__O + 0.0 + 0_0 + 0,0 + 0__0 + o.o + o_o + o,o + o__o + + Name + Huh? + + + Huh_2.png + + Equivalents + + O.o + O_o + O,o + O__o + 0.o + 0_o + 0,o + 0__o + + Name + Huh? (variant II) + + + Laughing.png + + Equivalents + + XD + xD + X-D + x-D + + Name + Laughing + + + Lips_Sealed.png + + Equivalents + + :X + :x + :-X + :-x + + Name + Lips Sealed + + + Madness.png + + Equivalents + + 8D + 8-D + + Name + Madness + + + Malicious.png + + Equivalents + + ):D + ):-D + ]:D + ]:-D + + Name + Malicious + + + Sick.png + + Equivalents + + :& + :-& + + Name + Sick + + + Smiling.png + + Equivalents + + :) + :-) + =) + :] + :-] + (: + + Name + Smiling + + + Speechless.png + + Equivalents + + :I + :-I + :| + :-| + :l + :-l + + Name + Speechless + + + Spiteful.png + + Equivalents + + ):) + ):-) + ]:) + ]:-) + + Name + Spiteful + + + Stupid.png + + Equivalents + + 8) + 8-) + + Name + Stupid + + + Sunglasses.png + + Equivalents + + B) + B-) + + Name + Sunglasses + + + Terrified.png + + Equivalents + + D: + D-: + + Name + Terrified + + + Tired.png + + Equivalents + + -.- + -_- + -__- + --__-- + -___- + --___-- + + Name + Tired + + + Tongue_Out.png + + Equivalents + + :P + :p + =P + =p + :-P + :-p + + Name + Tongue hanging out + + + Tongue_Out_Laughing.png + + Equivalents + + xP + Xp + x-P + X-p + + Name + Tongue out and Laughing + + + Tongue_Out_Left.png + + Equivalents + + :b + :-b + + Name + Tongue hanging out (left) + + + Tongue_Out_Up.png + + Equivalents + + :q + :-q + + Name + Tongue hanging up + + + Tongue_Out_Up_Left.png + + Equivalents + + :d + :-d + + Name + Tongue hanging up (left) + + + Tongue_Out_Winking.png + + Equivalents + + ;P + ;p + ;-P + ;-p + + Name + Tongue out and Winking + + + Uncertain.png + + Equivalents + + :/ + :-/ + + Name + Uncertain + + + Uncertain.png + + Equivalents + + :\ + :-\ + + Name + Uncertain (variant II) + + + Unhappy.png + + Equivalents + + :( + :-( + =( + :[ + :-[ + ): + + Name + Unhappy + + + Winking.png + + Equivalents + + ;) + ;-) + ;] + ;-] + (; + + Name + Winking + + + Thumb_Up.png + + Equivalents + + (Y) + + Name + Thumb Up + + + Thumb_Down.png + + Equivalents + + (N) + + Name + Thumb Down + + + + + diff --git a/static/img/emoticons/simple/Gah.png b/static/img/emoticons/simple/Gah.png new file mode 100755 index 0000000..b03ee1b Binary files /dev/null and b/static/img/emoticons/simple/Gah.png differ diff --git a/static/img/emoticons/simple/Gah_2.png b/static/img/emoticons/simple/Gah_2.png new file mode 100755 index 0000000..b682458 Binary files /dev/null and b/static/img/emoticons/simple/Gah_2.png differ diff --git a/static/img/emoticons/simple/Gasping.png b/static/img/emoticons/simple/Gasping.png new file mode 100755 index 0000000..b6655ce Binary files /dev/null and b/static/img/emoticons/simple/Gasping.png differ diff --git a/static/img/emoticons/simple/Greedy.png b/static/img/emoticons/simple/Greedy.png new file mode 100755 index 0000000..a179638 Binary files /dev/null and b/static/img/emoticons/simple/Greedy.png differ diff --git a/static/img/emoticons/simple/Grinning.png b/static/img/emoticons/simple/Grinning.png new file mode 100755 index 0000000..85ff915 Binary files /dev/null and b/static/img/emoticons/simple/Grinning.png differ diff --git a/static/img/emoticons/simple/Grinning_Winking.png b/static/img/emoticons/simple/Grinning_Winking.png new file mode 100755 index 0000000..5b1d5b7 Binary files /dev/null and b/static/img/emoticons/simple/Grinning_Winking.png differ diff --git a/static/img/emoticons/simple/Happy.png b/static/img/emoticons/simple/Happy.png new file mode 100755 index 0000000..51cf1a2 Binary files /dev/null and b/static/img/emoticons/simple/Happy.png differ diff --git a/static/img/emoticons/simple/Happy_2.png b/static/img/emoticons/simple/Happy_2.png new file mode 100755 index 0000000..1332686 Binary files /dev/null and b/static/img/emoticons/simple/Happy_2.png differ diff --git a/static/img/emoticons/simple/Happy_3.png b/static/img/emoticons/simple/Happy_3.png new file mode 100755 index 0000000..be79df0 Binary files /dev/null and b/static/img/emoticons/simple/Happy_3.png differ diff --git a/static/img/emoticons/simple/Heart.png b/static/img/emoticons/simple/Heart.png new file mode 100755 index 0000000..dcd28b9 Binary files /dev/null and b/static/img/emoticons/simple/Heart.png differ diff --git a/static/img/emoticons/simple/Huh.png b/static/img/emoticons/simple/Huh.png new file mode 100755 index 0000000..241f50f Binary files /dev/null and b/static/img/emoticons/simple/Huh.png differ diff --git a/static/img/emoticons/simple/Huh_2.png b/static/img/emoticons/simple/Huh_2.png new file mode 100755 index 0000000..a1a54e4 Binary files /dev/null and b/static/img/emoticons/simple/Huh_2.png differ diff --git a/static/img/emoticons/simple/Laughing.png b/static/img/emoticons/simple/Laughing.png new file mode 100755 index 0000000..edefc95 Binary files /dev/null and b/static/img/emoticons/simple/Laughing.png differ diff --git a/static/img/emoticons/simple/Lips_Sealed.png b/static/img/emoticons/simple/Lips_Sealed.png new file mode 100755 index 0000000..46e4701 Binary files /dev/null and b/static/img/emoticons/simple/Lips_Sealed.png differ diff --git a/static/img/emoticons/simple/Madness.png b/static/img/emoticons/simple/Madness.png new file mode 100755 index 0000000..1c0946c Binary files /dev/null and b/static/img/emoticons/simple/Madness.png differ diff --git a/static/img/emoticons/simple/Malicious.png b/static/img/emoticons/simple/Malicious.png new file mode 100755 index 0000000..23f2579 Binary files /dev/null and b/static/img/emoticons/simple/Malicious.png differ diff --git a/static/img/emoticons/simple/Sick.png b/static/img/emoticons/simple/Sick.png new file mode 100755 index 0000000..6f73e2f Binary files /dev/null and b/static/img/emoticons/simple/Sick.png differ diff --git a/static/img/emoticons/simple/Smiling.png b/static/img/emoticons/simple/Smiling.png new file mode 100755 index 0000000..725eef5 Binary files /dev/null and b/static/img/emoticons/simple/Smiling.png differ diff --git a/static/img/emoticons/simple/Speechless.png b/static/img/emoticons/simple/Speechless.png new file mode 100755 index 0000000..4fc4246 Binary files /dev/null and b/static/img/emoticons/simple/Speechless.png differ diff --git a/static/img/emoticons/simple/Spiteful.png b/static/img/emoticons/simple/Spiteful.png new file mode 100755 index 0000000..195ced8 Binary files /dev/null and b/static/img/emoticons/simple/Spiteful.png differ diff --git a/static/img/emoticons/simple/Stupid.png b/static/img/emoticons/simple/Stupid.png new file mode 100755 index 0000000..3fcea49 Binary files /dev/null and b/static/img/emoticons/simple/Stupid.png differ diff --git a/static/img/emoticons/simple/Sunglasses.png b/static/img/emoticons/simple/Sunglasses.png new file mode 100755 index 0000000..cad8379 Binary files /dev/null and b/static/img/emoticons/simple/Sunglasses.png differ diff --git a/static/img/emoticons/simple/Terrified.png b/static/img/emoticons/simple/Terrified.png new file mode 100755 index 0000000..fad2e06 Binary files /dev/null and b/static/img/emoticons/simple/Terrified.png differ diff --git a/static/img/emoticons/simple/Thumb_Down.png b/static/img/emoticons/simple/Thumb_Down.png new file mode 100755 index 0000000..4f70696 Binary files /dev/null and b/static/img/emoticons/simple/Thumb_Down.png differ diff --git a/static/img/emoticons/simple/Thumb_Up.png b/static/img/emoticons/simple/Thumb_Up.png new file mode 100755 index 0000000..2ca0e0d Binary files /dev/null and b/static/img/emoticons/simple/Thumb_Up.png differ diff --git a/static/img/emoticons/simple/Tired.png b/static/img/emoticons/simple/Tired.png new file mode 100755 index 0000000..13f7d12 Binary files /dev/null and b/static/img/emoticons/simple/Tired.png differ diff --git a/static/img/emoticons/simple/Tongue_Out.png b/static/img/emoticons/simple/Tongue_Out.png new file mode 100755 index 0000000..3d154f9 Binary files /dev/null and b/static/img/emoticons/simple/Tongue_Out.png differ diff --git a/static/img/emoticons/simple/Tongue_Out_Laughing.png b/static/img/emoticons/simple/Tongue_Out_Laughing.png new file mode 100755 index 0000000..fba5d75 Binary files /dev/null and b/static/img/emoticons/simple/Tongue_Out_Laughing.png differ diff --git a/static/img/emoticons/simple/Tongue_Out_Left.png b/static/img/emoticons/simple/Tongue_Out_Left.png new file mode 100755 index 0000000..8015de7 Binary files /dev/null and b/static/img/emoticons/simple/Tongue_Out_Left.png differ diff --git a/static/img/emoticons/simple/Tongue_Out_Up.png b/static/img/emoticons/simple/Tongue_Out_Up.png new file mode 100755 index 0000000..46328fb Binary files /dev/null and b/static/img/emoticons/simple/Tongue_Out_Up.png differ diff --git a/static/img/emoticons/simple/Tongue_Out_Up_Left.png b/static/img/emoticons/simple/Tongue_Out_Up_Left.png new file mode 100755 index 0000000..b67b69f Binary files /dev/null and b/static/img/emoticons/simple/Tongue_Out_Up_Left.png differ diff --git a/static/img/emoticons/simple/Tongue_Out_Winking.png b/static/img/emoticons/simple/Tongue_Out_Winking.png new file mode 100755 index 0000000..2a22cf6 Binary files /dev/null and b/static/img/emoticons/simple/Tongue_Out_Winking.png differ diff --git a/static/img/emoticons/simple/Uncertain.png b/static/img/emoticons/simple/Uncertain.png new file mode 100755 index 0000000..7176856 Binary files /dev/null and b/static/img/emoticons/simple/Uncertain.png differ diff --git a/static/img/emoticons/simple/Uncertain_2.png b/static/img/emoticons/simple/Uncertain_2.png new file mode 100755 index 0000000..a7f5370 Binary files /dev/null and b/static/img/emoticons/simple/Uncertain_2.png differ diff --git a/static/img/emoticons/simple/Unhappy.png b/static/img/emoticons/simple/Unhappy.png new file mode 100755 index 0000000..79fc0c0 Binary files /dev/null and b/static/img/emoticons/simple/Unhappy.png differ diff --git a/static/img/emoticons/simple/Winking.png b/static/img/emoticons/simple/Winking.png new file mode 100755 index 0000000..1e01f94 Binary files /dev/null and b/static/img/emoticons/simple/Winking.png differ diff --git a/static/img/favicon.ico b/static/img/favicon.ico old mode 100644 new mode 100755 diff --git a/static/img/glyphicons-halflings-white.png b/static/img/glyphicons-halflings-white.png old mode 100644 new mode 100755 diff --git a/static/img/glyphicons-halflings.png b/static/img/glyphicons-halflings.png old mode 100644 new mode 100755 diff --git a/static/img/info.png b/static/img/info.png old mode 100644 new mode 100755 diff --git a/static/img/loader.gif b/static/img/loader.gif old mode 100644 new mode 100755 diff --git a/static/img/mix-loader.gif b/static/img/mix-loader.gif old mode 100644 new mode 100755 diff --git a/static/img/noise.png b/static/img/noise.png old mode 100644 new mode 100755 diff --git a/static/img/pause.png b/static/img/pause.png old mode 100644 new mode 100755 diff --git a/static/img/play.png b/static/img/play.png old mode 100644 new mode 100755 diff --git a/static/img/playhead.png b/static/img/playhead.png old mode 100644 new mode 100755 diff --git a/static/img/sheen3.png b/static/img/sheen3.png old mode 100644 new mode 100755 diff --git a/static/img/signin_facebook.png b/static/img/signin_facebook.png old mode 100644 new mode 100755 diff --git a/static/img/signin_twitter.png b/static/img/signin_twitter.png old mode 100644 new mode 100755 diff --git a/static/img/site-logo-gr.png b/static/img/site-logo-gr.png old mode 100644 new mode 100755 diff --git a/static/img/slide-nav.png b/static/img/slide-nav.png old mode 100644 new mode 100755 diff --git a/static/img/switch_handle-OLD.png b/static/img/switch_handle-OLD.png old mode 100644 new mode 100755 diff --git a/static/img/switch_handle-gray.png b/static/img/switch_handle-gray.png old mode 100644 new mode 100755 diff --git a/static/img/switch_handle-light.png b/static/img/switch_handle-light.png old mode 100644 new mode 100755 diff --git a/static/img/switch_handle.png b/static/img/switch_handle.png old mode 100644 new mode 100755 diff --git a/static/img/switch_handle_pressed.png b/static/img/switch_handle_pressed.png old mode 100644 new mode 100755 diff --git a/static/img/switch_track-dark.png b/static/img/switch_track-dark.png old mode 100644 new mode 100755 diff --git a/static/img/switch_track-gray.png b/static/img/switch_track-gray.png old mode 100644 new mode 100755 diff --git a/static/img/switch_track-light.png b/static/img/switch_track-light.png old mode 100644 new mode 100755 diff --git a/static/img/switch_track.png b/static/img/switch_track.png old mode 100644 new mode 100755 diff --git a/static/img/transmogrifying.png b/static/img/transmogrifying.png old mode 100644 new mode 100755 diff --git a/static/img/twitter-ico.png b/static/img/twitter-ico.png old mode 100644 new mode 100755 diff --git a/static/img/twitter.png b/static/img/twitter.png old mode 100644 new mode 100755 diff --git a/static/img/uploadifive-cancel.png b/static/img/uploadifive-cancel.png old mode 100644 new mode 100755 diff --git a/static/img/whats-on.png b/static/img/whats-on.png old mode 100644 new mode 100755 diff --git a/static/js/app/app.js b/static/js/app/app.js old mode 100644 new mode 100755 index 01cc63c..3778120 --- a/static/js/app/app.js +++ b/static/js/app/app.js @@ -49,7 +49,7 @@ var AppRouter = Backbone.Router.extend({ $('#site-content-fill').html(''); this.sidebarView = new SidebarView(); $('#sidebar').html(this.sidebarView.el); - startChat($('#chat-messages', this.sidebarView.el), $('#input', this.sidebarView.el), $('#status', this.sidebarView.el), $('#header-profile-edit').text()); + startChat($('#chat-messages-body', this.sidebarView.el), $('#input', this.sidebarView.el), $('#status', this.sidebarView.el), $('#header-profile-edit').text()); var data = type != undefined ? $.param({sort:type}) : null; mixList.fetch({ diff --git a/static/js/app/chat.js b/static/js/app/chat.js old mode 100644 new mode 100755 diff --git a/static/js/app/models/comment.js b/static/js/app/models/comment.js old mode 100644 new mode 100755 diff --git a/static/js/app/models/event.js b/static/js/app/models/event.js old mode 100644 new mode 100755 diff --git a/static/js/app/models/mix.js b/static/js/app/models/mix.js old mode 100644 new mode 100755 diff --git a/static/js/app/models/release.js b/static/js/app/models/release.js old mode 100644 new mode 100755 diff --git a/static/js/app/models/release_audio.js b/static/js/app/models/release_audio.js old mode 100644 new mode 100755 diff --git a/static/js/app/models/user.js b/static/js/app/models/user.js old mode 100644 new mode 100755 diff --git a/static/js/app/site.js b/static/js/app/site.js old mode 100644 new mode 100755 diff --git a/static/js/app/social.js b/static/js/app/social.js old mode 100644 new mode 100755 diff --git a/static/js/app/views/comment.js b/static/js/app/views/comment.js old mode 100644 new mode 100755 diff --git a/static/js/app/views/event.js b/static/js/app/views/event.js old mode 100644 new mode 100755 diff --git a/static/js/app/views/header.js b/static/js/app/views/header.js old mode 100644 new mode 100755 diff --git a/static/js/app/views/mix.js b/static/js/app/views/mix.js old mode 100644 new mode 100755 diff --git a/static/js/app/views/release.js b/static/js/app/views/release.js old mode 100644 new mode 100755 diff --git a/static/js/app/views/release_audio.js b/static/js/app/views/release_audio.js old mode 100644 new mode 100755 diff --git a/static/js/app/views/sidebar.js b/static/js/app/views/sidebar.js old mode 100644 new mode 100755 diff --git a/static/js/app/views/user.js b/static/js/app/views/user.js old mode 100644 new mode 100755 diff --git a/static/js/com.podnoms.emoparse.js b/static/js/com.podnoms.emoparse.js new file mode 100755 index 0000000..f255363 --- /dev/null +++ b/static/js/com.podnoms.emoparse.js @@ -0,0 +1,106 @@ +$(function(){ + + // Load an Adium Emoticonset. + function emo_set_load( emoticon_set, callback ) { + var emoticons_base = '../../shared/emoticons/' + emoticon_set + '/', + obj = {}; + + // For some reason, jQuery's :contains doesn't seem to work when parsing XML in IE. + function contains( text ) { + return function() { + return ( this.textContent || this.text || '' ).indexOf( text ) !== -1; + } + }; + + $.ajax({ + // The web server must be configured to serve .plist files as text/xml! + dataType: 'xml', + + // The XML file that defines the Adium Emoticonset. + url: emoticons_base + 'Emoticons.plist', + + // Parse Adium Emoticonset .plist file. + success: function( data, textStatus ){ + $(data).find( 'plist > dict > dict > key' ).each(function(){ + + var that = $(this), + image = that.text(), + equivalents = that.next().children().filter( contains('Equivalents') ).next().children(), + name = that.next().children( 'key' ).filter( contains('Name') ).next().text(), + text, + arr = []; + + debug.log( image, equivalents.length, name ); + + equivalents.each(function(){ + text = $(this).text(); + text && arr.push( text ); + }); + + obj[ arr.shift() ] = [ emoticons_base + image, name ].concat( arr ); + }); + + // Overwrite all current emoticons with those in the Emoticonset. + callback( emotify.emoticons( true, obj ) ); + }, + + // Oops? + error: function() { + callback( false ); + } + }); + }; + + // When an Adium Emoticonset is loaded, update the page. + function emo_set_onload( emoticons ) { + if ( !emoticons ) { + debug.log( 'Error loading emoticons!' ); + return; + } + + // Let's override the "cowboy" smiley with something a little sexier :D + emotify.emoticons({ + "<):)": [ "../../shared/cowboy.png", "cowboy" ] + }); + + // Generate "emoticons key" table for this example. + var html = '', + cols = 7, + i = -1; + + $.each( emotify.emoticons(), function(k,v){ + i++; + html += i % cols == 0 ? '' : ''; + html += '' + k + '<\/td>' + emotify( k ) + '<\/td>'; + html += i % cols == cols - 1 ? '<\/tr>' : ''; + }); + + while ( ++i % cols ) { + html += '<\/td>'; + } + + $('#key').html( '' + html + '<\/table>' ); + + // Redraw the output. + $('textarea').keyup(); + }; + + // When the textarea changes, update the output! + $('textarea') + .keyup(function(){ + var text = $(this).val(), + html = emotify( text ); + + $('#output').html( html.replace( /\n/g, "
" ) ); + + }) + .keyup(); + + // When the select changes, load an Adium Emoticonset! + $('#choose') + .change(function(){ + emo_set_load( $(this).val(), emo_set_onload ); + }) + .change(); + +}); diff --git a/static/js/com.podnoms.player.js b/static/js/com.podnoms.player.js old mode 100644 new mode 100755 index c649005..9b9782f --- a/static/js/com.podnoms.player.js +++ b/static/js/com.podnoms.player.js @@ -10,12 +10,12 @@ if (!com) var com = {}; if (!com.podnoms) com.podnoms = {}; - soundManager.setup({ url:'/static/bin/sm/', debugMode:false, wmode:'transparent' }); + soundManager.usePeakData = false; soundManager.useWaveformData = false; soundManager.useEQData = false; @@ -206,4 +206,4 @@ com.podnoms.player = { updateWaveform:function (position) { } -} \ No newline at end of file +}; \ No newline at end of file diff --git a/static/js/com.podnoms.storage.js b/static/js/com.podnoms.storage.js old mode 100644 new mode 100755 diff --git a/static/js/com.podnoms.utils.js b/static/js/com.podnoms.utils.js old mode 100644 new mode 100755 diff --git a/static/js/libs/ICanHaz.js b/static/js/libs/ICanHaz.js old mode 100644 new mode 100755 diff --git a/static/js/libs/ajaxfileupload.js b/static/js/libs/ajaxfileupload.js old mode 100644 new mode 100755 diff --git a/static/js/libs/backbone/backbone-localstorage.js b/static/js/libs/backbone/backbone-localstorage.js old mode 100644 new mode 100755 diff --git a/static/js/libs/backbone/backbone-tastypie.js b/static/js/libs/backbone/backbone-tastypie.js old mode 100644 new mode 100755 diff --git a/static/js/libs/backbone/backbone.js b/static/js/libs/backbone/backbone.js old mode 100644 new mode 100755 diff --git a/static/js/libs/backbone/backbone.mine.js b/static/js/libs/backbone/backbone.mine.js old mode 100644 new mode 100755 diff --git a/static/js/libs/backbone/underscore.js b/static/js/libs/backbone/underscore.js old mode 100644 new mode 100755 diff --git a/static/js/libs/bootstrap/bootstrap-datepicker.js b/static/js/libs/bootstrap/bootstrap-datepicker.js old mode 100644 new mode 100755 diff --git a/static/js/libs/bootstrap/bootstrap-timepicker.js b/static/js/libs/bootstrap/bootstrap-timepicker.js old mode 100644 new mode 100755 diff --git a/static/js/libs/bootstrap/bootstrap.js b/static/js/libs/bootstrap/bootstrap.js old mode 100644 new mode 100755 diff --git a/static/js/libs/bootstrap/bootstrap.min.js b/static/js/libs/bootstrap/bootstrap.min.js old mode 100644 new mode 100755 diff --git a/static/js/libs/clickify.js b/static/js/libs/clickify.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jasny/bootstrap-fileupload.js b/static/js/libs/jasny/bootstrap-fileupload.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jasny/bootstrap-inputmask.js b/static/js/libs/jasny/bootstrap-inputmask.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jasny/bootstrap-rowlink.js b/static/js/libs/jasny/bootstrap-rowlink.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jasny/jasny-bootstrap.js b/static/js/libs/jasny/jasny-bootstrap.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jasny/jasny-bootstrap.min.js b/static/js/libs/jasny/jasny-bootstrap.min.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jquery.colorbox.js b/static/js/libs/jquery.colorbox.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jquery.cookie.js b/static/js/libs/jquery.cookie.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jquery.form.js b/static/js/libs/jquery.form.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jquery.iphone-switch.js b/static/js/libs/jquery.iphone-switch.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jquery.min.js b/static/js/libs/jquery.min.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jquery.tablesorter.js b/static/js/libs/jquery.tablesorter.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jquery.uploadifive.js b/static/js/libs/jquery.uploadifive.js old mode 100644 new mode 100755 diff --git a/static/js/libs/jquery.uploadifive.min.js b/static/js/libs/jquery.uploadifive.min.js old mode 100644 new mode 100755 diff --git a/static/js/libs/modernizr.js b/static/js/libs/modernizr.js old mode 100644 new mode 100755 diff --git a/static/js/libs/sm/soundmanager2-jsmin.js b/static/js/libs/sm/soundmanager2-jsmin.js old mode 100644 new mode 100755 index aa5576b..2f52e5f --- a/static/js/libs/sm/soundmanager2-jsmin.js +++ b/static/js/libs/sm/soundmanager2-jsmin.js @@ -9,102 +9,102 @@ Code provided under the BSD License: http://schillmania.com/projects/soundmanager2/license.txt - V2.97a.20120624 + V2.97a.20120916 */ -(function(Y){function Z(Z,na){function $(a){return c.preferFlash&&z&&!c.ignoreFlash&&"undefined"!==typeof c.flash[a]&&c.flash[a]}function q(a){return function(d){var e=this._t;!e||!e._a?(e&&e.id?c._wD(r+"ignoring "+d.type+": "+e.id):c._wD(r+"ignoring "+d.type),d=null):d=a.call(this,d);return d}}this.setupOptions={url:Z||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null, +(function(Z){function $($,oa){function aa(a){return c.preferFlash&&z&&!c.ignoreFlash&&"undefined"!==typeof c.flash[a]&&c.flash[a]}function q(a){return function(d){var e=this._t;!e||!e._a?(e&&e.id?c._wD(s+"ignoring "+d.type+": "+e.id):c._wD(s+"ignoring "+d.type),d=null):d=a.call(this,d);return d}}this.setupOptions={url:$||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null, flashLoadTimeout:1E3,wmode:null,allowScriptAccess:"always",useFlashBlock:!1,useHTML5Audio:!0,html5Test:/^(probably|maybe)$/i,preferFlash:!0,noSWFCache:!1};this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfailure:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,stream:!0,to:null,type:null,usePolicyFile:!1,volume:100};this.flash9Options= -{isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1}, -wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}};this.movieID="sm2-container";this.id=na||"sm2movie";this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.versionNumber="V2.97a.20120624";this.altURL=this.movieURL=this.version=null;this.enabled=this.swfLoaded=!1;this.oMC=null;this.sounds={};this.soundIDs=[];this.didFlashBlock=this.muted=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i};this.features= -{buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox={type:null,types:{remote:"remote (domain-based) rules",localWithFile:"local with file access (no internet access)",localWithNetwork:"local with network (internet access only, no local access)",localTrusted:"local, trusted (local+internet access)"},description:null,noRemote:null,noLocal:null};var oa;try{oa="undefined"!==typeof Audio&&"undefined"!==typeof(new Audio).canPlayType}catch(ib){oa=!1}this.hasHTML5=oa;this.html5= -{usingFlash:null};this.flash={};this.ignoreFlash=this.html5Only=!1;var Ja,c=this,h=null,r="HTML5::",A,v=navigator.userAgent,l=Y,Q=l.location.href.toString(),i=document,pa,Ka,qa,j,D=[],ra=!0,x,R=!1,S=!1,n=!1,m=!1,aa=!1,o,eb=0,T,w,sa,H,ta,I,J,K,La,ua,ba,ca,da,L,va,wa,ea,fa,M,Ma,xa,fb=["log","info","warn","error"],Na,ga,Oa,U=null,ya=null,p,za,N,Pa,ha,ia,O,s,V=!1,Aa=!1,Qa,Ra,Sa,ja=0,W=null,ka,B=null,Ta,la,X,E,Ba,Ca,Ua,u,Va=Array.prototype.slice,G=!1,z,Da,Wa,C,Xa,Ea=v.match(/(ipad|iphone|ipod)/i),F=v.match(/msie/i), -gb=v.match(/webkit/i),Fa=v.match(/safari/i)&&!v.match(/chrome/i),Ya=v.match(/opera/i),Ga=v.match(/(mobile|pre\/|xoom)/i)||Ea,Ha=!Q.match(/usehtml5audio/i)&&!Q.match(/sm2\-ignorebadua/i)&&Fa&&!v.match(/silk/i)&&v.match(/OS X 10_6_([3-7])/i),Za="undefined"!==typeof console&&"undefined"!==typeof console.log,Ia="undefined"!==typeof i.hasFocus?i.hasFocus():null,ma=Fa&&("undefined"===typeof i.hasFocus||!i.hasFocus()),$a=!ma,ab=/(mp3|mp4|mpa|m4a)/i,P=i.location?i.location.protocol.match(/http/i):null,bb= -!P?"http://":"",cb=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|mp4v|3gp|3g2)\s*(?:$|;)/i,db="mpeg4,aac,flv,mov,mp4,m4v,f4v,m4a,mp4v,3gp,3g2".split(","),hb=RegExp("\\.("+db.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.useAltURL=!P;this._global_a=null;if(Ga&&(c.useHTML5Audio=!0,c.preferFlash=!1,Ea))G=c.ignoreFlash=!0;this.setup=function(a){"undefined"!==typeof a&&n&&B&&c.ok()&&("undefined"!==typeof a.flashVersion||"undefined"!==typeof a.url)&& -O(p("setupLate"));sa(a);return c};this.supported=this.ok=function(){return B?n&&!m:c.useHTML5Audio&&c.hasHTML5};this.getMovie=function(c){return A(c)||i[c]||l[c]};this.createSound=function(a,d){function e(){g=ha(g);c.sounds[f.id]=new Ja(f);c.soundIDs.push(f.id);return c.sounds[f.id]}var b,g=null,f=b=null;b="soundManager.createSound(): "+p(!n?"notReady":"notOK");if(!n||!c.ok())return O(b),!1;"undefined"!==typeof d&&(a={id:a,url:d});g=w(a);g.url=ka(g.url);f=g;f.id.toString().charAt(0).match(/^[0-9]$/)&& -c._wD("soundManager.createSound(): "+p("badID",f.id),2);c._wD("soundManager.createSound(): "+f.id+" ("+f.url+")",1);if(s(f.id,!0))return c._wD("soundManager.createSound(): "+f.id+" exists",1),c.sounds[f.id];if(la(f))b=e(),c._wD("Creating sound "+f.id+", using HTML5"),b._setup_html5(f);else{if(8=a)return!1;for(a-=1;0<=a;a--)if(c=y[a],!c.fired&&b.position>=c.position)c.fired=!0,q++,c.method.apply(c.scope,[c.position]);return!0};this._resetOnPosition=function(b){var a,c;a=y.length;if(!a)return!1;for(a-=1;0<= -a;a--)if(c=y[a],c.fired&&b<=c.position)c.fired=!1,q--;return!0};v=function(){var a=b._iO,d=a.from,e=a.to,f,g;g=function(){c._wD(b.id+': "to" time of '+e+" reached.");b.clearOnPosition(e,g);b.stop()};f=function(){c._wD(b.id+': playing "from" '+d);if(null!==e&&!isNaN(e))b.onPosition(e,g)};if(null!==d&&!isNaN(d))a.position=d,a.multiShot=!1,f();return a};l=function(){var a,c=b._iO.onposition;if(c)for(a in c)if(c.hasOwnProperty(a))b.onPosition(parseInt(a,10),c[a])};u=function(){var a,c=b._iO.onposition; -if(c)for(a in c)c.hasOwnProperty(a)&&b.clearOnPosition(parseInt(a,10))};i=function(){b.isHTML5&&Qa(b)};k=function(){b.isHTML5&&Ra(b)};g=function(a){a||(y=[],q=0);n=!1;b._hasTimer=null;b._a=null;b._html5_canplay=!1;b.bytesLoaded=null;b.bytesTotal=null;b.duration=b._iO&&b._iO.duration?b._iO.duration:null;b.durationEstimate=null;b.buffered=[];b.eqData=[];b.eqData.left=[];b.eqData.right=[];b.failures=0;b.isBuffering=!1;b.instanceOptions={};b.instanceCount=0;b.loaded=!1;b.metadata={};b.readyState=0;b.muted= -!1;b.paused=!1;b.peakData={left:0,right:0};b.waveformData={left:[],right:[]};b.playState=0;b.position=null;b.id3={}};g();this._onTimer=function(a){var c,f=!1,g={};if(b._hasTimer||a){if(b._a&&(a||(0f.duration?b.duration:f.duration:parseInt(b.bytesTotal/b.bytesLoaded*b.duration,10),"undefined"===typeof b.durationEstimate)b.durationEstimate=b.duration;if(!b.isHTML5)b.buffered=[{start:0,end:b.duration}];(3!==b.readyState||b.isHTML5)&&f.whileloading&&f.whileloading.apply(b)};this._whileplaying=function(a, -c,d,e,f){var g=b._iO;if(isNaN(a)||null===a)return!1;b.position=Math.max(0,a);b._processOnPosition();if(!b.isHTML5&&8j)c._wD(p("needfl9")),c.flashVersion=j=9;c.version=c.versionNumber+(c.html5Only?" (HTML5-only mode)":9===j?" (AS3/Flash 9)":" (AS2/Flash 8)");8'}if(R&&S)return!1;if(c.html5Only)return ua(),e(),c.oMC=A(c.movieID),qa(),S=R=!0,!1;var g=d||c.url,f=c.altURL||g,h;h=ea();var k,l,j=N(),m,n=null,n=(n=i.getElementsByTagName("html")[0])&&n.dir&&n.dir.match(/rtl/i), -a="undefined"===typeof a?c.id:a;ua();c.url=Oa(P?g:f);d=c.url;c.wmode=!c.wmode&&c.useHighPerformance?"transparent":c.wmode;if(null!==c.wmode&&(v.match(/msie 8/i)||!F&&!c.useHighPerformance)&&navigator.platform.match(/win32|win64/i))o("spcWmode"),c.wmode=null;h={name:a,id:a,src:d,quality:"high",allowScriptAccess:c.allowScriptAccess,bgcolor:c.bgColor,pluginspage:bb+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",wmode:c.wmode, -hasPriority:"true"};if(c.debugFlash)h.FlashVars="debug=1";c.wmode||delete h.wmode;if(F)g=i.createElement("div"),l=['',b("movie",d),b("AllowScriptAccess",c.allowScriptAccess),b("quality",h.quality),c.wmode?b("wmode",c.wmode):"",b("bgcolor",c.bgColor),b("hasPriority","true"),c.debugFlash? -b("FlashVars",h.FlashVars):"",""].join("");else for(k in g=i.createElement("embed"),h)h.hasOwnProperty(k)&&g.setAttribute(k,h[k]);xa();j=N();if(h=ea())if(c.oMC=A(c.movieID)||i.createElement("div"),c.oMC.id){m=c.oMC.className;c.oMC.className=(m?m+" ":"movieContainer")+(j?" "+j:"");c.oMC.appendChild(g);if(F)k=c.oMC.appendChild(i.createElement("div")),k.className="sm2-object-box",k.innerHTML=l;S=!0}else{c.oMC.id=c.movieID;c.oMC.className="movieContainer "+j;k=j=null;if(!c.useFlashBlock)if(c.useHighPerformance)j= -{position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"};else if(j={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},n)j.left=Math.abs(parseInt(j.left,10))+"px";if(gb)c.oMC.style.zIndex=1E4;if(!c.debugFlash)for(m in j)j.hasOwnProperty(m)&&(c.oMC.style[m]=j[m]);try{F||c.oMC.appendChild(g);h.appendChild(c.oMC);if(F)k=c.oMC.appendChild(i.createElement("div")),k.className="sm2-object-box",k.innerHTML=l;S=!0}catch(q){throw Error(p("domError")+" \n"+ -q.toString());}}R=!0;e();c._wD("soundManager::createMovie(): Trying to load "+d+(!P&&c.altURL?" (alternate URL)":""),1);return!0};da=function(){if(c.html5Only)return fa(),!1;if(h)return!1;h=c.getMovie(c.id);if(!h)U?(F?c.oMC.innerHTML=ya:c.oMC.appendChild(U),U=null,R=!0):fa(c.id,c.url),h=c.getMovie(c.id);h&&o("waitEI");"function"===typeof c.oninitmovie&&setTimeout(c.oninitmovie,1);return!0};K=function(){setTimeout(La,1E3)};La=function(){var a,d=!1;if(V)return!1;V=!0;u.remove(l,"load",K);if(ma&&!Ia)return o("waitFocus"), -!1;n||(a=c.getMoviePercent(),c._wD(p("waitImpatient",0a&&(d=!0));setTimeout(function(){a=c.getMoviePercent();if(d)return V=!1,c._wD(p("waitSWF")),l.setTimeout(K,1),!1;n||(c._wD("soundManager: No Flash response within expected time.\nLikely causes: "+(0===a?"Loading "+c.movieURL+" may have failed (and/or Flash "+j+"+ not present?), ":"")+"Flash blocked or JS-Flash security error."+(c.debugFlash?" "+p("checkSWF"):""),2),!P&&a&&(o("localFail",2),c.debugFlash|| -o("tryDebug",2)),0===a&&c._wD(p("swf404",c.url)),x("flashtojs",!1,": Timed out"+P?" (Check flash security or flash blockers)":" (No plugin/missing SWF?)"));!n&&$a&&(null===a?c.useFlashBlock||0===c.flashLoadTimeout?(c.useFlashBlock&&za(),o("waitForever")):ga(!0):0===c.flashLoadTimeout?o("waitForever"):ga(!0))},c.flashLoadTimeout)};ba=function(){if(Ia||!ma)return u.remove(l,"focus",ba),!0;Ia=$a=!0;c._wD("soundManager: Got window focus.");V=!1;K();u.remove(l,"focus",ba);return!0};Xa=function(){var a, -d=[];if(c.useHTML5Audio&&c.hasHTML5){for(a in c.audioFormats)c.audioFormats.hasOwnProperty(a)&&d.push(a+": "+c.html5[a]+(!c.html5[a]&&z&&c.flash[a]?" (using flash)":c.preferFlash&&c.flash[a]&&z?" (preferring flash)":!c.html5[a]?" ("+(c.audioFormats[a].required?"required, ":"")+"and no flash support)":""));c._wD("-- SoundManager 2: HTML5 support tests ("+c.html5Test+"): "+d.join(", ")+" --",1)}};T=function(a){if(n)return!1;if(c.html5Only)return c._wD("-- SoundManager 2: loaded --"),n=!0,J(),x("onload", -!0),!0;var d=!0,e;if(!c.useFlashBlock||!c.flashLoadTimeout||c.getMoviePercent())n=!0,m&&(e={type:!z&&B?"NO_FLASH":"INIT_TIMEOUT"});c._wD("-- SoundManager 2 "+(m?"failed to load":"loaded")+" ("+(m?"security/load error":"OK")+") --",1);if(m||a){if(c.useFlashBlock&&c.oMC)c.oMC.className=N()+" "+(null===c.getMoviePercent()?"swf_timedout":"swf_error");I({type:"ontimeout",error:e,ignoreInit:!0});x("onload",!1);M(e);d=!1}else x("onload",!0);m||(c.waitForWindowLoad&&!aa?(o("waitOnload"),u.add(l,"load",J)): -(c.waitForWindowLoad&&aa&&o("docLoaded"),J()));return d};Ka=function(){var a,d=c.setupOptions;for(a in d)d.hasOwnProperty(a)&&("undefined"===typeof c[a]?c[a]=d[a]:c[a]!==d[a]&&(c.setupOptions[a]=c[a]))};qa=function(){o("init");if(n)return o("didInit"),!1;if(c.html5Only){if(!n)u.remove(l,"load",c.beginDelayedInit),c.enabled=!0,T();return!0}da();try{o("flashJS"),h._externalInterfaceTest(!1),Ma(!0,c.flashPollingInterval||(c.useHighPerformance?10:50)),c.debugMode||h._disableDebug(),c.enabled=!0,x("jstoflash", -!0),c.html5Only||u.add(l,"unload",pa)}catch(a){return c._wD("js/flash exception: "+a.toString()),x("jstoflash",!1),M({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),ga(!0),T(),!1}T();u.remove(l,"load",c.beginDelayedInit);return!0};L=function(){if(wa)return!1;wa=!0;Ka();xa();var a=null,a=null,d="undefined"!==typeof console&&"function"===typeof console.log,e=Q.toLowerCase();-1!==e.indexOf("sm2-usehtml5audio=")&&(a="1"===e.charAt(e.indexOf("sm2-usehtml5audio=")+18),d&&console.log((a?"Enabling ":"Disabling ")+ -"useHTML5Audio via URL parameter"),c.setup({useHTML5Audio:a}));-1!==e.indexOf("sm2-preferflash=")&&(a="1"===e.charAt(e.indexOf("sm2-preferflash=")+16),d&&console.log((a?"Enabling ":"Disabling ")+"preferFlash via URL parameter"),c.setup({preferFlash:a}));!z&&c.hasHTML5&&(c._wD("SoundManager: No Flash detected"+(!c.useHTML5Audio?", enabling HTML5.":". Trying HTML5-only mode.")),c.setup({useHTML5Audio:!0,preferFlash:!1}));Ua();c.html5.usingFlash=Ta();B=c.html5.usingFlash;Xa();!z&&B&&(c._wD("SoundManager: Fatal error: Flash is needed to play some required formats, but is not available."), -c.setup({flashLoadTimeout:1}));i.removeEventListener&&i.removeEventListener("DOMContentLoaded",L,!1);da();return!0};Ca=function(){"complete"===i.readyState&&(L(),i.detachEvent("onreadystatechange",Ca));return!0};va=function(){aa=!0;u.remove(l,"load",va)};Da();u.add(l,"focus",ba);u.add(l,"load",K);u.add(l,"load",va);i.addEventListener?i.addEventListener("DOMContentLoaded",L,!1):i.attachEvent?i.attachEvent("onreadystatechange",Ca):(x("onload",!1),M({type:"NO_DOM2_EVENTS",fatal:!0}));"complete"===i.readyState&& -setTimeout(L,100)}var na=null;if("undefined"===typeof SM2_DEFER||!SM2_DEFER)na=new Z;Y.SoundManager=Z;Y.soundManager=na})(window); \ No newline at end of file +{isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"], +required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}};this.movieID="sm2-container";this.id=oa||"sm2movie";this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.versionNumber="V2.97a.20120916";this.altURL=this.movieURL=this.version=null;this.enabled=this.swfLoaded=!1;this.oMC=null;this.sounds={};this.soundIDs=[];this.didFlashBlock=this.muted=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i}; +this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox={type:null,types:{remote:"remote (domain-based) rules",localWithFile:"local with file access (no internet access)",localWithNetwork:"local with network (internet access only, no local access)",localTrusted:"local, trusted (local+internet access)"},description:null,noRemote:null,noLocal:null};var pa;try{pa="undefined"!==typeof Audio&&"undefined"!==typeof(qa&&10>opera.version()?new Audio(null):new Audio).canPlayType}catch(ib){pa= +!1}this.hasHTML5=pa;this.html5={usingFlash:null};this.flash={};this.ignoreFlash=this.html5Only=!1;var Ka,c=this,h=null,s="HTML5::",A,v=navigator.userAgent,k=Z,Q=k.location.href.toString(),i=document,ra,La,sa,j,D=[],ta=!0,x,R=!1,S=!1,m=!1,o=!1,ba=!1,n,eb=0,T,w,ua,H,va,I,J,K,Ma,wa,ca,da,ea,L,xa,U,fa,ga,M,Na,ya,fb=["log","info","warn","error"],Oa,ha,Pa,V=null,za=null,p,Aa,N,Qa,ia,ja,O,t,W=!1,Ba=!1,Ra,Sa,Ta,ka=0,X=null,la,B=null,Ua,ma,Y,E,Ca,Da,Va,u,Wa=Array.prototype.slice,G=!1,z,Ea,Xa,C,Ya,Fa=v.match(/(ipad|iphone|ipod)/i), +F=v.match(/msie/i),gb=v.match(/webkit/i),Ga=v.match(/safari/i)&&!v.match(/chrome/i),qa=v.match(/opera/i),Ha=v.match(/(mobile|pre\/|xoom)/i)||Fa,Ia=!Q.match(/usehtml5audio/i)&&!Q.match(/sm2\-ignorebadua/i)&&Ga&&!v.match(/silk/i)&&v.match(/OS X 10_6_([3-7])/i),Za="undefined"!==typeof console&&"undefined"!==typeof console.log,Ja="undefined"!==typeof i.hasFocus?i.hasFocus():null,na=Ga&&("undefined"===typeof i.hasFocus||!i.hasFocus()),$a=!na,ab=/(mp3|mp4|mpa|m4a|m4b)/i,P=i.location?i.location.protocol.match(/http/i): +null,bb=!P?"http://":"",cb=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,db="mpeg4,aac,flv,mov,mp4,m4v,f4v,m4a,m4b,mp4v,3gp,3g2".split(","),hb=RegExp("\\.("+db.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.useAltURL=!P;this._global_a=null;if(Ha&&(c.useHTML5Audio=!0,c.preferFlash=!1,Fa))G=c.ignoreFlash=!0;this.setup=function(a){var d=!c.url;"undefined"!==typeof a&&m&&B&&c.ok()&&("undefined"!==typeof a.flashVersion|| +"undefined"!==typeof a.url)&&O(p("setupLate"));ua(a);d&&U&&"undefined"!==typeof a.url&&c.beginDelayedInit();!U&&"undefined"!==typeof a.url&&"complete"===i.readyState&&setTimeout(L,1);return c};this.supported=this.ok=function(){return B?m&&!o:c.useHTML5Audio&&c.hasHTML5};this.getMovie=function(c){return A(c)||i[c]||k[c]};this.createSound=function(a,d){function e(){g=ia(g);c.sounds[f.id]=new Ka(f);c.soundIDs.push(f.id);return c.sounds[f.id]}var b,g=null,f=b=null;b="soundManager.createSound(): "+p(!m? +"notReady":"notOK");if(!m||!c.ok())return O(b),!1;"undefined"!==typeof d&&(a={id:a,url:d});g=w(a);g.url=la(g.url);f=g;f.id.toString().charAt(0).match(/^[0-9]$/)&&c._wD("soundManager.createSound(): "+p("badID",f.id),2);c._wD("soundManager.createSound(): "+f.id+" ("+f.url+")",1);if(t(f.id,!0))return c._wD("soundManager.createSound(): "+f.id+" exists",1),c.sounds[f.id];if(ma(f))b=e(),c._wD("Creating sound "+f.id+", using HTML5"),b._setup_html5(f);else{if(8=a)return!1;for(a-=1;0<=a;a--)if(c=y[a],!c.fired&&b.position>=c.position)c.fired=!0,q++,c.method.apply(c.scope,[c.position]);return!0};this._resetOnPosition=function(b){var a,c;a=y.length;if(!a)return!1;for(a-=1;0<=a;a--)if(c=y[a],c.fired&&b<=c.position)c.fired=!1,q--; +return!0};v=function(){var a=b._iO,d=a.from,e=a.to,f,g;g=function(){c._wD(b.id+': "to" time of '+e+" reached.");b.clearOnPosition(e,g);b.stop()};f=function(){c._wD(b.id+': playing "from" '+d);if(null!==e&&!isNaN(e))b.onPosition(e,g)};if(null!==d&&!isNaN(d))a.position=d,a.multiShot=!1,f();return a};k=function(){var a,c=b._iO.onposition;if(c)for(a in c)if(c.hasOwnProperty(a))b.onPosition(parseInt(a,10),c[a])};u=function(){var a,c=b._iO.onposition;if(c)for(a in c)c.hasOwnProperty(a)&&b.clearOnPosition(parseInt(a, +10))};i=function(){b.isHTML5&&Ra(b)};l=function(){b.isHTML5&&Sa(b)};g=function(a){a||(y=[],q=0);m=!1;b._hasTimer=null;b._a=null;b._html5_canplay=!1;b.bytesLoaded=null;b.bytesTotal=null;b.duration=b._iO&&b._iO.duration?b._iO.duration:null;b.durationEstimate=null;b.buffered=[];b.eqData=[];b.eqData.left=[];b.eqData.right=[];b.failures=0;b.isBuffering=!1;b.instanceOptions={};b.instanceCount=0;b.loaded=!1;b.metadata={};b.readyState=0;b.muted=!1;b.paused=!1;b.peakData={left:0,right:0};b.waveformData={left:[], +right:[]};b.playState=0;b.position=null;b.id3={}};g();this._onTimer=function(a){var c,f=!1,g={};if(b._hasTimer||a){if(b._a&&(a||(0opera.version()?new Audio(null):new Audio,e=b._a,e._called_load=!1,G)c._global_a=e;b.isHTML5=!0;b._a=e;e._t=b;f();b._apply_loop(e,a.loops);a.autoLoad||a.autoPlay?b.load():(e.autobuffer=!1,e.preload="auto");return e};f=function(){if(b._a._added_events)return!1;var a;b._a._added_events=!0;for(a in C)C.hasOwnProperty(a)&&b._a&&b._a.addEventListener(a,C[a],!1); +return!0};r=function(){var a;c._wD(s+"removing event listeners: "+b.id);b._a._added_events=!1;for(a in C)C.hasOwnProperty(a)&&b._a&&b._a.removeEventListener(a,C[a],!1)};this._onload=function(a){a=!!a||!b.isHTML5&&8===j&&b.duration;c._wD('SMSound._onload(): "'+b.id+'"'+(a?" loaded.":" failed to load? - "+b.url),a?1:2);!a&&!b.isHTML5&&(!0===c.sandbox.noRemote&&c._wD("SMSound._onload(): "+p("noNet"),1),!0===c.sandbox.noLocal&&c._wD("SMSound._onload(): "+p("noLocal"),1));b.loaded=a;b.readyState=a?3:2; +b._onbufferchange(0);b._iO.onload&&b._iO.onload.apply(b,[a]);return!0};this._onbufferchange=function(a){if(0===b.playState||a&&b.isBuffering||!a&&!b.isBuffering)return!1;b.isBuffering=1===a;b._iO.onbufferchange&&(c._wD("SMSound._onbufferchange(): "+a),b._iO.onbufferchange.apply(b));return!0};this._onsuspend=function(){b._iO.onsuspend&&(c._wD("SMSound._onsuspend()"),b._iO.onsuspend.apply(b));return!0};this._onfailure=function(a,d,e){b.failures++;c._wD('SMSound._onfailure(): "'+b.id+'" count '+b.failures); +if(b._iO.onfailure&&1===b.failures)b._iO.onfailure(b,a,d,e);else c._wD("SMSound._onfailure(): ignoring")};this._onfinish=function(){var a=b._iO.onfinish;b._onbufferchange(0);b._resetOnPosition(0);if(b.instanceCount){b.instanceCount--;if(!b.instanceCount&&(u(),b.playState=0,b.paused=!1,b.instanceCount=0,b.instanceOptions={},b._iO={},l(),b.isHTML5))b.position=0;if((!b.instanceCount||b._iO.multiShotEvents)&&a)c._wD('SMSound._onfinish(): "'+b.id+'"'),a.apply(b)}};this._whileloading=function(a,c,d,e){var f= +b._iO;b.bytesLoaded=a;b.bytesTotal=c;b.duration=Math.floor(d);b.bufferLength=e;b.durationEstimate=!b.isHTML5&&!f.isMovieStar?f.duration?b.duration>f.duration?b.duration:f.duration:parseInt(b.bytesTotal/b.bytesLoaded*b.duration,10):b.duration;if(!b.isHTML5)b.buffered=[{start:0,end:b.duration}];(3!==b.readyState||b.isHTML5)&&f.whileloading&&f.whileloading.apply(b)};this._whileplaying=function(a,c,d,e,f){var g=b._iO;if(isNaN(a)||null===a)return!1;b.position=Math.max(0,a);b._processOnPosition();if(!b.isHTML5&& +8opera.version()?new Audio(null): +new Audio:null,e,b,g={},f;f=c.audioFormats;for(e in f)if(f.hasOwnProperty(e)&&(b="audio/"+e,g[e]=a(f[e].type),g[b]=g[e],e.match(ab)?(c.flash[e]=!0,c.flash[b]=!0):(c.flash[e]=!1,c.flash[b]=!1),f[e]&&f[e].related))for(b=f[e].related.length-1;0<=b;b--)g["audio/"+f[e].related[b]]=g[e],c.html5[f[e].related[b]]=g[e],c.flash[f[e].related[b]]=g[e];g.canPlayType=d?a:null;c.html5=w(c.html5,g);return!0};da={notReady:"Not loaded yet - wait for soundManager.onready()",notOK:"Audio support is not available.",domError:"soundManager::createMovie(): appendChild/innerHTML call failed. DOM not ready or other error.", +spcWmode:"soundManager::createMovie(): Removing wmode, preventing known SWF loading issue(s)",swf404:"soundManager: Verify that %s is a valid path.",tryDebug:"Try soundManager.debugFlash = true for more security details (output goes to SWF.)",checkSWF:"See SWF output for more debug info.",localFail:"soundManager: Non-HTTP page ("+i.location.protocol+" URL?) Review Flash player security settings for this special case:\nhttp://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html\nMay need to add/allow path, eg. c:/sm2/ or /users/me/sm2/", +waitFocus:"soundManager: Special case: Waiting for SWF to load with window focus...",waitImpatient:"soundManager: Getting impatient, still waiting for Flash%s...",waitForever:"soundManager: Waiting indefinitely for Flash (will recover if unblocked)...",waitSWF:"soundManager: Retrying, waiting for 100% SWF load...",needFunction:"soundManager: Function object expected for %s",badID:'Warning: Sound ID "%s" should be a string, starting with a non-numeric character',currentObj:"--- soundManager._debug(): Current sound objects ---", +waitEI:"soundManager::initMovie(): Waiting for ExternalInterface call from Flash...",waitOnload:"soundManager: Waiting for window.onload()",docLoaded:"soundManager: Document already loaded",onload:"soundManager::initComplete(): calling soundManager.onload()",onloadOK:"soundManager.onload() complete",init:"soundManager::init()",didInit:"soundManager::init(): Already called?",flashJS:"soundManager: Attempting JS to Flash call...",secNote:"Flash security note: Network/internet URLs will not load due to security restrictions. Access can be configured via Flash Player Global Security Settings Page: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html", +badRemove:"Warning: Failed to remove flash movie.",shutdown:"soundManager.disable(): Shutting down",queue:"soundManager: Queueing %s handler",smFail:"soundManager: Failed to initialise.",smError:"SMSound.load(): Exception: JS-Flash communication failed, or JS error.",fbTimeout:"No flash response, applying .swf_timedout CSS...",fbLoaded:"Flash loaded",fbHandler:"soundManager::flashBlockHandler()",manURL:"SMSound.load(): Using manually-assigned URL",onURL:"soundManager.load(): current URL already assigned.", +badFV:'soundManager.flashVersion must be 8 or 9. "%s" is invalid. Reverting to %s.',as2loop:"Note: Setting stream:false so looping can work (flash 8 limitation)",noNSLoop:"Note: Looping not implemented for MovieStar formats",needfl9:"Note: Switching to flash 9, required for MP4 formats.",mfTimeout:"Setting flashLoadTimeout = 0 (infinite) for off-screen, mobile flash case",needFlash:"soundManager: Fatal error: Flash is needed to play some required formats, but is not available.",gotFocus:"soundManager: Got window focus.", +mfOn:"mobileFlash::enabling on-screen flash repositioning",policy:"Enabling usePolicyFile for data access",setup:"soundManager.setup(): allowed parameters: %s",setupError:'soundManager.setup(): "%s" cannot be assigned with this method.',setupUndef:'soundManager.setup(): Could not find option "%s"',setupLate:"soundManager.setup(): url + flashVersion changes will not take effect until reboot().",h5a:"creating HTML5 Audio() object",noURL:"soundManager: Flash URL required. Call soundManager.setup({url:...}) to get started."}; +p=function(){var a=Wa.call(arguments),c=a.shift(),c=da&&da[c]?da[c]:"",e,b;if(c&&a&&a.length)for(e=0,b=a.length;ej)c._wD(p("needfl9")),c.flashVersion=j=9;c.version=c.versionNumber+(c.html5Only?" (HTML5-only mode)":9===j?" (AS3/Flash 9)":" (AS2/Flash 8)");8'}if(R&&S)return!1;if(c.html5Only)return wa(),e(),c.oMC=A(c.movieID),sa(),S=R=!0,!1;var g=d||c.url,f=c.altURL||g,h=fa(),l=N(),k=null,k=i.getElementsByTagName("html")[0],j,o,m,k=k&&k.dir&&k.dir.match(/rtl/i),a="undefined"===typeof a?c.id:a;wa();c.url=Pa(P?g:f);d=c.url;c.wmode=!c.wmode&&c.useHighPerformance?"transparent":c.wmode;if(null!== +c.wmode&&(v.match(/msie 8/i)||!F&&!c.useHighPerformance)&&navigator.platform.match(/win32|win64/i))n("spcWmode"),c.wmode=null;h={name:a,id:a,src:d,quality:"high",allowScriptAccess:c.allowScriptAccess,bgcolor:c.bgColor,pluginspage:bb+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",wmode:c.wmode,hasPriority:"true"};if(c.debugFlash)h.FlashVars="debug=1";c.wmode||delete h.wmode;if(F)g=i.createElement("div"),o=['',b("movie",d),b("AllowScriptAccess",c.allowScriptAccess),b("quality",h.quality),c.wmode?b("wmode",c.wmode):"",b("bgcolor",c.bgColor),b("hasPriority","true"),c.debugFlash?b("FlashVars",h.FlashVars):"",""].join("");else for(j in g=i.createElement("embed"),h)h.hasOwnProperty(j)&&g.setAttribute(j, +h[j]);ya();l=N();if(h=fa())if(c.oMC=A(c.movieID)||i.createElement("div"),c.oMC.id){m=c.oMC.className;c.oMC.className=(m?m+" ":"movieContainer")+(l?" "+l:"");c.oMC.appendChild(g);if(F)j=c.oMC.appendChild(i.createElement("div")),j.className="sm2-object-box",j.innerHTML=o;S=!0}else{c.oMC.id=c.movieID;c.oMC.className="movieContainer "+l;j=l=null;if(!c.useFlashBlock)if(c.useHighPerformance)l={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"};else if(l={position:"absolute", +width:"6px",height:"6px",top:"-9999px",left:"-9999px"},k)l.left=Math.abs(parseInt(l.left,10))+"px";if(gb)c.oMC.style.zIndex=1E4;if(!c.debugFlash)for(m in l)l.hasOwnProperty(m)&&(c.oMC.style[m]=l[m]);try{F||c.oMC.appendChild(g);h.appendChild(c.oMC);if(F)j=c.oMC.appendChild(i.createElement("div")),j.className="sm2-object-box",j.innerHTML=o;S=!0}catch(q){throw Error(p("domError")+" \n"+q.toString());}}R=!0;e();c._wD("soundManager::createMovie(): Trying to load "+d+(!P&&c.altURL?" (alternate URL)":""), +1);return!0};ea=function(){if(c.html5Only)return ga(),!1;if(h)return!1;if(!c.url)return n("noURL"),!1;h=c.getMovie(c.id);if(!h)V?(F?c.oMC.innerHTML=za:c.oMC.appendChild(V),V=null,R=!0):ga(c.id,c.url),h=c.getMovie(c.id);h&&n("waitEI");"function"===typeof c.oninitmovie&&setTimeout(c.oninitmovie,1);return!0};K=function(){setTimeout(Ma,1E3)};Ma=function(){var a,d=!1;if(!c.url||W)return!1;W=!0;u.remove(k,"load",K);if(na&&!Ja)return n("waitFocus"),!1;m||(a=c.getMoviePercent(),c._wD(p("waitImpatient",0< +a?" (SWF "+a+"% loaded)":"")),0a&&(d=!0));setTimeout(function(){a=c.getMoviePercent();if(d)return W=!1,c._wD(p("waitSWF")),k.setTimeout(K,1),!1;m||(c._wD("soundManager: No Flash response within expected time.\nLikely causes: "+(0===a?"Loading "+c.movieURL+" may have failed (and/or Flash "+j+"+ not present?), ":"")+"Flash blocked or JS-Flash security error."+(c.debugFlash?" "+p("checkSWF"):""),2),!P&&a&&(n("localFail",2),c.debugFlash||n("tryDebug",2)),0===a&&c._wD(p("swf404",c.url)),x("flashtojs", +!1,": Timed out"+P?" (Check flash security or flash blockers)":" (No plugin/missing SWF?)"));!m&&$a&&(null===a?c.useFlashBlock||0===c.flashLoadTimeout?(c.useFlashBlock&&Aa(),n("waitForever")):ha(!0):0===c.flashLoadTimeout?n("waitForever"):ha(!0))},c.flashLoadTimeout)};ca=function(){if(Ja||!na)return u.remove(k,"focus",ca),!0;Ja=$a=!0;n("gotFocus");W=!1;K();u.remove(k,"focus",ca);return!0};Ya=function(){var a,d=[];if(c.useHTML5Audio&&c.hasHTML5){for(a in c.audioFormats)c.audioFormats.hasOwnProperty(a)&& +d.push(a+": "+c.html5[a]+(!c.html5[a]&&z&&c.flash[a]?" (using flash)":c.preferFlash&&c.flash[a]&&z?" (preferring flash)":!c.html5[a]?" ("+(c.audioFormats[a].required?"required, ":"")+"and no flash support)":""));c._wD("-- SoundManager 2: HTML5 support tests ("+c.html5Test+"): "+d.join(", ")+" --",1)}};T=function(a){if(m)return!1;if(c.html5Only)return c._wD("-- SoundManager 2: loaded --"),m=!0,J(),x("onload",!0),!0;var d=!0,e;if(!c.useFlashBlock||!c.flashLoadTimeout||c.getMoviePercent())m=!0,o&&(e= +{type:!z&&B?"NO_FLASH":"INIT_TIMEOUT"});c._wD("-- SoundManager 2 "+(o?"failed to load":"loaded")+" ("+(o?"Flash security/load error":"OK")+") --",1);if(o||a){if(c.useFlashBlock&&c.oMC)c.oMC.className=N()+" "+(null===c.getMoviePercent()?"swf_timedout":"swf_error");I({type:"ontimeout",error:e,ignoreInit:!0});x("onload",!1);M(e);d=!1}else x("onload",!0);o||(c.waitForWindowLoad&&!ba?(n("waitOnload"),u.add(k,"load",J)):(c.waitForWindowLoad&&ba&&n("docLoaded"),J()));return d};La=function(){var a,d=c.setupOptions; +for(a in d)d.hasOwnProperty(a)&&("undefined"===typeof c[a]?c[a]=d[a]:c[a]!==d[a]&&(c.setupOptions[a]=c[a]))};sa=function(){n("init");if(m)return n("didInit"),!1;if(c.html5Only){if(!m)u.remove(k,"load",c.beginDelayedInit),c.enabled=!0,T();return!0}ea();try{n("flashJS"),h._externalInterfaceTest(!1),Na(!0,c.flashPollingInterval||(c.useHighPerformance?10:50)),c.debugMode||h._disableDebug(),c.enabled=!0,x("jstoflash",!0),c.html5Only||u.add(k,"unload",ra)}catch(a){return c._wD("js/flash exception: "+a.toString()), +x("jstoflash",!1),M({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),ha(!0),T(),!1}T();u.remove(k,"load",c.beginDelayedInit);return!0};L=function(){if(U)return!1;U=!0;La();ya();var a=null,a=null,d="undefined"!==typeof console&&"function"===typeof console.log,e=Q.toLowerCase();-1!==e.indexOf("sm2-usehtml5audio=")&&(a="1"===e.charAt(e.indexOf("sm2-usehtml5audio=")+18),d&&console.log((a?"Enabling ":"Disabling ")+"useHTML5Audio via URL parameter"),c.setup({useHTML5Audio:a}));-1!==e.indexOf("sm2-preferflash=")&& +(a="1"===e.charAt(e.indexOf("sm2-preferflash=")+16),d&&console.log((a?"Enabling ":"Disabling ")+"preferFlash via URL parameter"),c.setup({preferFlash:a}));!z&&c.hasHTML5&&(c._wD("SoundManager: No Flash detected"+(!c.useHTML5Audio?", enabling HTML5.":". Trying HTML5-only mode.")),c.setup({useHTML5Audio:!0,preferFlash:!1}));Va();c.html5.usingFlash=Ua();B=c.html5.usingFlash;Ya();!z&&B&&(n("needFlash"),c.setup({flashLoadTimeout:1}));i.removeEventListener&&i.removeEventListener("DOMContentLoaded",L,!1); +ea();return!0};Da=function(){"complete"===i.readyState&&(L(),i.detachEvent("onreadystatechange",Da));return!0};xa=function(){ba=!0;u.remove(k,"load",xa)};Ea();u.add(k,"focus",ca);u.add(k,"load",K);u.add(k,"load",xa);i.addEventListener?i.addEventListener("DOMContentLoaded",L,!1):i.attachEvent?i.attachEvent("onreadystatechange",Da):(x("onload",!1),M({type:"NO_DOM2_EVENTS",fatal:!0}))}var oa=null;if("undefined"===typeof SM2_DEFER||!SM2_DEFER)oa=new $;Z.SoundManager=$;Z.soundManager=oa})(window); \ No newline at end of file diff --git a/static/js/libs/sm/soundmanager2-nodebug-jsmin.js b/static/js/libs/sm/soundmanager2-nodebug-jsmin.js old mode 100644 new mode 100755 index abad43d..ca2fc0e --- a/static/js/libs/sm/soundmanager2-nodebug-jsmin.js +++ b/static/js/libs/sm/soundmanager2-nodebug-jsmin.js @@ -8,73 +8,73 @@ * Code provided under the BSD License: * http://schillmania.com/projects/soundmanager2/license.txt * - * V2.97a.20120624 + * V2.97a.20120916 */ -(function(ea){function Q(Q,da){function R(a){return c.preferFlash&&t&&!c.ignoreFlash&&"undefined"!==typeof c.flash[a]&&c.flash[a]}function m(a){return function(c){var d=this._t;return!d||!d._a?null:a.call(this,c)}}this.setupOptions={url:Q||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1E3,wmode:null,allowScriptAccess:"always",useFlashBlock:!1, +(function(fa){function R(R,ea){function S(a){return c.preferFlash&&y&&!c.ignoreFlash&&"undefined"!==typeof c.flash[a]&&c.flash[a]}function l(a){return function(c){var d=this._t;return!d||!d._a?null:a.call(this,c)}}this.setupOptions={url:R||null,flashVersion:8,debugMode:!0,debugFlash:!1,useConsole:!0,consoleOnly:!0,waitForWindowLoad:!1,bgColor:"#ffffff",useHighPerformance:!1,flashPollingInterval:null,html5PollingInterval:null,flashLoadTimeout:1E3,wmode:null,allowScriptAccess:"always",useFlashBlock:!1, useHTML5Audio:!0,html5Test:/^(probably|maybe)$/i,preferFlash:!0,noSWFCache:!1};this.defaultOptions={autoLoad:!1,autoPlay:!1,from:null,loops:1,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onposition:null,onstop:null,onfailure:null,onfinish:null,multiShot:!0,multiShotEvents:!1,position:null,pan:0,stream:!0,to:null,type:null,usePolicyFile:!1,volume:100};this.flash9Options={isMovieStar:null,usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null, -ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"],required:!1}}; -this.movieID="sm2-container";this.id=da||"sm2movie";this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.versionNumber="V2.97a.20120624";this.altURL=this.movieURL=this.version=null;this.enabled=this.swfLoaded=!1;this.oMC=null;this.sounds={};this.soundIDs=[];this.didFlashBlock=this.muted=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i};this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox={};var fa; -try{fa="undefined"!==typeof Audio&&"undefined"!==typeof(new Audio).canPlayType}catch(Za){fa=!1}this.hasHTML5=fa;this.html5={usingFlash:null};this.flash={};this.ignoreFlash=this.html5Only=!1;var Ca,c=this,i=null,S,q=navigator.userAgent,h=ea,ga=h.location.href.toString(),l=document,ha,Da,ia,j,w=[],J=!1,K=!1,k=!1,s=!1,ja=!1,L,r,ka,T,la,B,C,D,Ea,ma,U,V,E,na,oa,pa,W,F,Fa,qa,Ga,X,Ha,M=null,ra=null,u,sa,G,Y,Z,H,p,N=!1,ta=!1,Ia,Ja,Ka,$=0,O=null,aa,n=null,La,ba,P,x,ua,va,Ma,o,Wa=Array.prototype.slice,z=!1, -t,wa,Na,v,Oa,xa=q.match(/(ipad|iphone|ipod)/i),y=q.match(/msie/i),Xa=q.match(/webkit/i),ya=q.match(/safari/i)&&!q.match(/chrome/i),Pa=q.match(/opera/i),za=q.match(/(mobile|pre\/|xoom)/i)||xa,Qa=!ga.match(/usehtml5audio/i)&&!ga.match(/sm2\-ignorebadua/i)&&ya&&!q.match(/silk/i)&&q.match(/OS X 10_6_([3-7])/i),Aa="undefined"!==typeof l.hasFocus?l.hasFocus():null,ca=ya&&("undefined"===typeof l.hasFocus||!l.hasFocus()),Ra=!ca,Sa=/(mp3|mp4|mpa|m4a)/i,Ba=l.location?l.location.protocol.match(/http/i):null, -Ta=!Ba?"http://":"",Ua=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|mp4v|3gp|3g2)\s*(?:$|;)/i,Va="mpeg4,aac,flv,mov,mp4,m4v,f4v,m4a,mp4v,3gp,3g2".split(","),Ya=RegExp("\\.("+Va.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.useAltURL=!Ba;this._global_a=null;if(za&&(c.useHTML5Audio=!0,c.preferFlash=!1,xa))z=c.ignoreFlash=!0;this.setup=function(a){"undefined"!==typeof a&&k&&n&&c.ok()&&("undefined"!==typeof a.flashVersion||"undefined"!==typeof a.url)&& -H(u("setupLate"));ka(a);return c};this.supported=this.ok=function(){return n?k&&!s:c.useHTML5Audio&&c.hasHTML5};this.getMovie=function(a){return S(a)||l[a]||h[a]};this.createSound=function(a,e){function d(){b=Y(b);c.sounds[f.id]=new Ca(f);c.soundIDs.push(f.id);return c.sounds[f.id]}var b=null,g=null,f=null;if(!k||!c.ok())return H(void 0),!1;"undefined"!==typeof e&&(a={id:a,url:e});b=r(a);b.url=aa(b.url);f=b;if(p(f.id,!0))return c.sounds[f.id];if(ba(f))g=d(),g._setup_html5(f);else{if(8=a)return!1;for(a-=1;0<=a;a--)if(c=k[a],!c.fired&&b.position>=c.position)c.fired=!0,o++,c.method.apply(c.scope,[c.position]);return!0};this._resetOnPosition=function(b){var a,c;a=k.length;if(!a)return!1;for(a-=1;0<=a;a--)if(c=k[a],c.fired&&b<=c.position)c.fired=!1,o--;return!0};s=function(){var a=b._iO, -c=a.from,e=a.to,d,f;f=function(){b.clearOnPosition(e,f);b.stop()};d=function(){if(null!==e&&!isNaN(e))b.onPosition(e,f)};if(null!==c&&!isNaN(c))a.position=c,a.multiShot=!1,d();return a};l=function(){var a,c=b._iO.onposition;if(c)for(a in c)if(c.hasOwnProperty(a))b.onPosition(parseInt(a,10),c[a])};q=function(){var a,c=b._iO.onposition;if(c)for(a in c)c.hasOwnProperty(a)&&b.clearOnPosition(parseInt(a,10))};h=function(){b.isHTML5&&Ia(b)};I=function(){b.isHTML5&&Ja(b)};g=function(a){a||(k=[],o=0);m=!1; -b._hasTimer=null;b._a=null;b._html5_canplay=!1;b.bytesLoaded=null;b.bytesTotal=null;b.duration=b._iO&&b._iO.duration?b._iO.duration:null;b.durationEstimate=null;b.buffered=[];b.eqData=[];b.eqData.left=[];b.eqData.right=[];b.failures=0;b.isBuffering=!1;b.instanceOptions={};b.instanceCount=0;b.loaded=!1;b.metadata={};b.readyState=0;b.muted=!1;b.paused=!1;b.peakData={left:0,right:0};b.waveformData={left:[],right:[]};b.playState=0;b.position=null;b.id3={}};g();this._onTimer=function(a){var c,f=!1,g={}; -if(b._hasTimer||a){if(b._a&&(a||(0f.duration?b.duration:f.duration:parseInt(b.bytesTotal/b.bytesLoaded*b.duration,10),"undefined"=== -typeof b.durationEstimate)b.durationEstimate=b.duration;if(!b.isHTML5)b.buffered=[{start:0,end:b.duration}];(3!==b.readyState||b.isHTML5)&&f.whileloading&&f.whileloading.apply(b)};this._whileplaying=function(a,c,e,d,f){var g=b._iO;if(isNaN(a)||null===a)return!1;b.position=Math.max(0,a);b._processOnPosition();if(!b.isHTML5&&8j)c.flashVersion=j=9;c.version=c.versionNumber+(c.html5Only?" (HTML5-only mode)":9===j?" (AS3/Flash 9)":" (AS2/Flash 8)");8'}if(J&&K)return!1;if(c.html5Only)return ma(),c.oMC=S(c.movieID),ia(),K=J=!0,!1;var b=e||c.url,g=c.altURL||b,f;f=pa();var h,i,j=G(),k,m=null,m=(m=l.getElementsByTagName("html")[0])&&m.dir&&m.dir.match(/rtl/i),a="undefined"===typeof a?c.id:a;ma();c.url=Ha(Ba?b:g);e=c.url;c.wmode= -!c.wmode&&c.useHighPerformance?"transparent":c.wmode;if(null!==c.wmode&&(q.match(/msie 8/i)||!y&&!c.useHighPerformance)&&navigator.platform.match(/win32|win64/i))c.wmode=null;f={name:a,id:a,src:e,quality:"high",allowScriptAccess:c.allowScriptAccess,bgcolor:c.bgColor,pluginspage:Ta+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",wmode:c.wmode,hasPriority:"true"};if(c.debugFlash)f.FlashVars="debug=1";c.wmode||delete f.wmode; -if(y)b=l.createElement("div"),i=['',d("movie",e),d("AllowScriptAccess",c.allowScriptAccess),d("quality",f.quality),c.wmode?d("wmode",c.wmode):"",d("bgcolor",c.bgColor),d("hasPriority","true"),c.debugFlash?d("FlashVars",f.FlashVars):"",""].join("");else for(h in b=l.createElement("embed"), -f)f.hasOwnProperty(h)&&b.setAttribute(h,f[h]);qa();j=G();if(f=pa())if(c.oMC=S(c.movieID)||l.createElement("div"),c.oMC.id){k=c.oMC.className;c.oMC.className=(k?k+" ":"movieContainer")+(j?" "+j:"");c.oMC.appendChild(b);if(y)h=c.oMC.appendChild(l.createElement("div")),h.className="sm2-object-box",h.innerHTML=i;K=!0}else{c.oMC.id=c.movieID;c.oMC.className="movieContainer "+j;h=j=null;if(!c.useFlashBlock)if(c.useHighPerformance)j={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"}; -else if(j={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},m)j.left=Math.abs(parseInt(j.left,10))+"px";if(Xa)c.oMC.style.zIndex=1E4;if(!c.debugFlash)for(k in j)j.hasOwnProperty(k)&&(c.oMC.style[k]=j[k]);try{y||c.oMC.appendChild(b);f.appendChild(c.oMC);if(y)h=c.oMC.appendChild(l.createElement("div")),h.className="sm2-object-box",h.innerHTML=i;K=!0}catch(n){throw Error(u("domError")+" \n"+n.toString());}}return J=!0};V=function(){if(c.html5Only)return W(),!1;if(i)return!1; -i=c.getMovie(c.id);if(!i)M?(y?c.oMC.innerHTML=ra:c.oMC.appendChild(M),M=null,J=!0):W(c.id,c.url),i=c.getMovie(c.id);"function"===typeof c.oninitmovie&&setTimeout(c.oninitmovie,1);return!0};D=function(){setTimeout(Ea,1E3)};Ea=function(){var a,e=!1;if(N)return!1;N=!0;o.remove(h,"load",D);if(ca&&!Aa)return!1;k||(a=c.getMoviePercent(),0a&&(e=!0));setTimeout(function(){a=c.getMoviePercent();if(e)return N=!1,h.setTimeout(D,1),!1;!k&&Ra&&(null===a?c.useFlashBlock||0===c.flashLoadTimeout?c.useFlashBlock&& -sa():X(!0):0!==c.flashLoadTimeout&&X(!0))},c.flashLoadTimeout)};U=function(){if(Aa||!ca)return o.remove(h,"focus",U),!0;Aa=Ra=!0;N=!1;D();o.remove(h,"focus",U);return!0};Oa=function(){var a,e=[];if(c.useHTML5Audio&&c.hasHTML5)for(a in c.audioFormats)c.audioFormats.hasOwnProperty(a)&&e.push(a+": "+c.html5[a]+(!c.html5[a]&&t&&c.flash[a]?" (using flash)":c.preferFlash&&c.flash[a]&&t?" (preferring flash)":!c.html5[a]?" ("+(c.audioFormats[a].required?"required, ":"")+"and no flash support)":""))};L=function(a){if(k)return!1; -if(c.html5Only)return k=!0,C(),!0;var e=!0,d;if(!c.useFlashBlock||!c.flashLoadTimeout||c.getMoviePercent())k=!0,s&&(d={type:!t&&n?"NO_FLASH":"INIT_TIMEOUT"});if(s||a){if(c.useFlashBlock&&c.oMC)c.oMC.className=G()+" "+(null===c.getMoviePercent()?"swf_timedout":"swf_error");B({type:"ontimeout",error:d,ignoreInit:!0});F(d);e=!1}s||(c.waitForWindowLoad&&!ja?o.add(h,"load",C):C());return e};Da=function(){var a,e=c.setupOptions;for(a in e)e.hasOwnProperty(a)&&("undefined"===typeof c[a]?c[a]=e[a]:c[a]!== -e[a]&&(c.setupOptions[a]=c[a]))};ia=function(){if(k)return!1;if(c.html5Only){if(!k)o.remove(h,"load",c.beginDelayedInit),c.enabled=!0,L();return!0}V();try{i._externalInterfaceTest(!1),Fa(!0,c.flashPollingInterval||(c.useHighPerformance?10:50)),c.debugMode||i._disableDebug(),c.enabled=!0,c.html5Only||o.add(h,"unload",ha)}catch(a){return F({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),X(!0),L(),!1}L();o.remove(h,"load",c.beginDelayedInit);return!0};E=function(){if(oa)return!1;oa=!0;Da();qa();!t&&c.hasHTML5&& -c.setup({useHTML5Audio:!0,preferFlash:!1});Ma();c.html5.usingFlash=La();n=c.html5.usingFlash;Oa();!t&&n&&c.setup({flashLoadTimeout:1});l.removeEventListener&&l.removeEventListener("DOMContentLoaded",E,!1);V();return!0};va=function(){"complete"===l.readyState&&(E(),l.detachEvent("onreadystatechange",va));return!0};na=function(){ja=!0;o.remove(h,"load",na)};wa();o.add(h,"focus",U);o.add(h,"load",D);o.add(h,"load",na);l.addEventListener?l.addEventListener("DOMContentLoaded",E,!1):l.attachEvent?l.attachEvent("onreadystatechange", -va):F({type:"NO_DOM2_EVENTS",fatal:!0});"complete"===l.readyState&&setTimeout(E,100)}var da=null;if("undefined"===typeof SM2_DEFER||!SM2_DEFER)da=new Q;ea.SoundManager=Q;ea.soundManager=da})(window); \ No newline at end of file +ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a","m4b"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!1},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},wav:{type:['audio/wav; codecs="1"',"audio/wav","audio/wave","audio/x-wav"], +required:!1}};this.movieID="sm2-container";this.id=ea||"sm2movie";this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.versionNumber="V2.97a.20120916";this.altURL=this.movieURL=this.version=null;this.enabled=this.swfLoaded=!1;this.oMC=null;this.sounds={};this.soundIDs=[];this.didFlashBlock=this.muted=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i};this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox= +{};var ga;try{ga="undefined"!==typeof Audio&&"undefined"!==typeof(ha&&10>opera.version()?new Audio(null):new Audio).canPlayType}catch(Za){ga=!1}this.hasHTML5=ga;this.html5={usingFlash:null};this.flash={};this.ignoreFlash=this.html5Only=!1;var Da,c=this,i=null,T,q=navigator.userAgent,h=fa,ia=h.location.href.toString(),m=document,ja,Ea,ka,j,v=[],J=!1,K=!1,k=!1,s=!1,la=!1,L,r,ma,U,na,B,C,D,Fa,oa,V,W,E,pa,M,qa,X,F,Ga,ra,Ha,Y,Ia,N=null,sa=null,t,ta,G,Z,$,H,p,O=!1,ua=!1,Ja,Ka,La,aa=0,P=null,ba,n=null,Ma, +ca,Q,w,va,wa,Na,o,Wa=Array.prototype.slice,z=!1,y,xa,Oa,u,Pa,ya=q.match(/(ipad|iphone|ipod)/i),x=q.match(/msie/i),Xa=q.match(/webkit/i),za=q.match(/safari/i)&&!q.match(/chrome/i),ha=q.match(/opera/i),Aa=q.match(/(mobile|pre\/|xoom)/i)||ya,Qa=!ia.match(/usehtml5audio/i)&&!ia.match(/sm2\-ignorebadua/i)&&za&&!q.match(/silk/i)&&q.match(/OS X 10_6_([3-7])/i),Ba="undefined"!==typeof m.hasFocus?m.hasFocus():null,da=za&&("undefined"===typeof m.hasFocus||!m.hasFocus()),Ra=!da,Sa=/(mp3|mp4|mpa|m4a|m4b)/i,Ca= +m.location?m.location.protocol.match(/http/i):null,Ta=!Ca?"http://":"",Ua=/^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i,Va="mpeg4,aac,flv,mov,mp4,m4v,f4v,m4a,m4b,mp4v,3gp,3g2".split(","),Ya=RegExp("\\.("+Va.join("|")+")(\\?.*)?$","i");this.mimePattern=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.useAltURL=!Ca;this._global_a=null;if(Aa&&(c.useHTML5Audio=!0,c.preferFlash=!1,ya))z=c.ignoreFlash=!0;this.setup=function(a){var e=!c.url;"undefined"!==typeof a&& +k&&n&&c.ok()&&("undefined"!==typeof a.flashVersion||"undefined"!==typeof a.url)&&H(t("setupLate"));ma(a);e&&M&&"undefined"!==typeof a.url&&c.beginDelayedInit();!M&&"undefined"!==typeof a.url&&"complete"===m.readyState&&setTimeout(E,1);return c};this.supported=this.ok=function(){return n?k&&!s:c.useHTML5Audio&&c.hasHTML5};this.getMovie=function(a){return T(a)||m[a]||h[a]};this.createSound=function(a,e){function d(){b=Z(b);c.sounds[f.id]=new Da(f);c.soundIDs.push(f.id);return c.sounds[f.id]}var b=null, +g=null,f=null;if(!k||!c.ok())return H(void 0),!1;"undefined"!==typeof e&&(a={id:a,url:e});b=r(a);b.url=ba(b.url);f=b;if(p(f.id,!0))return c.sounds[f.id];if(ca(f))g=d(),g._setup_html5(f);else{if(8=a)return!1;for(a-=1;0<=a;a--)if(c=k[a],!c.fired&&b.position>=c.position)c.fired=!0,o++,c.method.apply(c.scope,[c.position]);return!0};this._resetOnPosition=function(b){var a,c;a=k.length;if(!a)return!1;for(a-=1;0<=a;a--)if(c=k[a],c.fired&&b<=c.position)c.fired=!1,o--;return!0};s=function(){var a=b._iO,c=a.from,e=a.to,d,f;f=function(){b.clearOnPosition(e, +f);b.stop()};d=function(){if(null!==e&&!isNaN(e))b.onPosition(e,f)};if(null!==c&&!isNaN(c))a.position=c,a.multiShot=!1,d();return a};m=function(){var a,c=b._iO.onposition;if(c)for(a in c)if(c.hasOwnProperty(a))b.onPosition(parseInt(a,10),c[a])};q=function(){var a,c=b._iO.onposition;if(c)for(a in c)c.hasOwnProperty(a)&&b.clearOnPosition(parseInt(a,10))};h=function(){b.isHTML5&&Ja(b)};I=function(){b.isHTML5&&Ka(b)};g=function(a){a||(k=[],o=0);l=!1;b._hasTimer=null;b._a=null;b._html5_canplay=!1;b.bytesLoaded= +null;b.bytesTotal=null;b.duration=b._iO&&b._iO.duration?b._iO.duration:null;b.durationEstimate=null;b.buffered=[];b.eqData=[];b.eqData.left=[];b.eqData.right=[];b.failures=0;b.isBuffering=!1;b.instanceOptions={};b.instanceCount=0;b.loaded=!1;b.metadata={};b.readyState=0;b.muted=!1;b.paused=!1;b.peakData={left:0,right:0};b.waveformData={left:[],right:[]};b.playState=0;b.position=null;b.id3={}};g();this._onTimer=function(a){var c,f=!1,g={};if(b._hasTimer||a){if(b._a&&(a||(0opera.version()?new Audio(null):new Audio,d=b._a,d._called_load=!1,z)c._global_a=d;b.isHTML5=!0;b._a=d;d._t=b;f();b._apply_loop(d,a.loops);a.autoLoad||a.autoPlay? +b.load():(d.autobuffer=!1,d.preload="auto");return d};f=function(){if(b._a._added_events)return!1;var a;b._a._added_events=!0;for(a in u)u.hasOwnProperty(a)&&b._a&&b._a.addEventListener(a,u[a],!1);return!0};A=function(){var a;b._a._added_events=!1;for(a in u)u.hasOwnProperty(a)&&b._a&&b._a.removeEventListener(a,u[a],!1)};this._onload=function(a){a=!!a||!b.isHTML5&&8===j&&b.duration;b.loaded=a;b.readyState=a?3:2;b._onbufferchange(0);b._iO.onload&&b._iO.onload.apply(b,[a]);return!0};this._onbufferchange= +function(a){if(0===b.playState||a&&b.isBuffering||!a&&!b.isBuffering)return!1;b.isBuffering=1===a;b._iO.onbufferchange&&b._iO.onbufferchange.apply(b);return!0};this._onsuspend=function(){b._iO.onsuspend&&b._iO.onsuspend.apply(b);return!0};this._onfailure=function(a,c,e){b.failures++;if(b._iO.onfailure&&1===b.failures)b._iO.onfailure(b,a,c,e)};this._onfinish=function(){var a=b._iO.onfinish;b._onbufferchange(0);b._resetOnPosition(0);if(b.instanceCount){b.instanceCount--;if(!b.instanceCount&&(q(),b.playState= +0,b.paused=!1,b.instanceCount=0,b.instanceOptions={},b._iO={},I(),b.isHTML5))b.position=0;(!b.instanceCount||b._iO.multiShotEvents)&&a&&a.apply(b)}};this._whileloading=function(a,c,e,d){var f=b._iO;b.bytesLoaded=a;b.bytesTotal=c;b.duration=Math.floor(e);b.bufferLength=d;b.durationEstimate=!b.isHTML5&&!f.isMovieStar?f.duration?b.duration>f.duration?b.duration:f.duration:parseInt(b.bytesTotal/b.bytesLoaded*b.duration,10):b.duration;if(!b.isHTML5)b.buffered=[{start:0,end:b.duration}];(3!==b.readyState|| +b.isHTML5)&&f.whileloading&&f.whileloading.apply(b)};this._whileplaying=function(a,c,e,d,f){var g=b._iO;if(isNaN(a)||null===a)return!1;b.position=Math.max(0,a);b._processOnPosition();if(!b.isHTML5&&8opera.version()?new Audio(null):new Audio:null,d,b,g={},f;f=c.audioFormats;for(d in f)if(f.hasOwnProperty(d)&&(b="audio/"+d,g[d]=a(f[d].type),g[b]=g[d],d.match(Sa)?(c.flash[d]=!0,c.flash[b]=!0):(c.flash[d]=!1,c.flash[b]=!1),f[d]&&f[d].related))for(b=f[d].related.length- +1;0<=b;b--)g["audio/"+f[d].related[b]]=g[d],c.html5[f[d].related[b]]=g[d],c.flash[f[d].related[b]]=g[d];g.canPlayType=e?a:null;c.html5=r(c.html5,g);return!0};t=function(){};Z=function(a){if(8===j&&1j)c.flashVersion=j=9;c.version=c.versionNumber+(c.html5Only?" (HTML5-only mode)":9===j?" (AS3/Flash 9)":" (AS2/Flash 8)");8'}if(J&&K)return!1;if(c.html5Only)return oa(),c.oMC=T(c.movieID),ka(),K=J=!0,!1;var b=e||c.url,g=c.altURL||b,f=qa(),h=G(),i=null,i=m.getElementsByTagName("html")[0],j,k,l,i=i&&i.dir&&i.dir.match(/rtl/i),a="undefined"===typeof a?c.id:a;oa();c.url=Ia(Ca?b:g);e=c.url;c.wmode=!c.wmode&&c.useHighPerformance?"transparent":c.wmode;if(null!==c.wmode&&(q.match(/msie 8/i)||!x&&!c.useHighPerformance)&&navigator.platform.match(/win32|win64/i))c.wmode= +null;f={name:a,id:a,src:e,quality:"high",allowScriptAccess:c.allowScriptAccess,bgcolor:c.bgColor,pluginspage:Ta+"www.macromedia.com/go/getflashplayer",title:"JS/Flash audio component (SoundManager 2)",type:"application/x-shockwave-flash",wmode:c.wmode,hasPriority:"true"};if(c.debugFlash)f.FlashVars="debug=1";c.wmode||delete f.wmode;if(x)b=m.createElement("div"),k=['',d("movie",e),d("AllowScriptAccess",c.allowScriptAccess),d("quality",f.quality),c.wmode?d("wmode",c.wmode):"",d("bgcolor",c.bgColor),d("hasPriority","true"),c.debugFlash?d("FlashVars",f.FlashVars):"",""].join("");else for(j in b=m.createElement("embed"),f)f.hasOwnProperty(j)&&b.setAttribute(j,f[j]);ra();h=G();if(f=qa())if(c.oMC=T(c.movieID)||m.createElement("div"),c.oMC.id){l=c.oMC.className;c.oMC.className= +(l?l+" ":"movieContainer")+(h?" "+h:"");c.oMC.appendChild(b);if(x)j=c.oMC.appendChild(m.createElement("div")),j.className="sm2-object-box",j.innerHTML=k;K=!0}else{c.oMC.id=c.movieID;c.oMC.className="movieContainer "+h;j=h=null;if(!c.useFlashBlock)if(c.useHighPerformance)h={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"};else if(h={position:"absolute",width:"6px",height:"6px",top:"-9999px",left:"-9999px"},i)h.left=Math.abs(parseInt(h.left,10))+"px";if(Xa)c.oMC.style.zIndex= +1E4;if(!c.debugFlash)for(l in h)h.hasOwnProperty(l)&&(c.oMC.style[l]=h[l]);try{x||c.oMC.appendChild(b);f.appendChild(c.oMC);if(x)j=c.oMC.appendChild(m.createElement("div")),j.className="sm2-object-box",j.innerHTML=k;K=!0}catch(n){throw Error(t("domError")+" \n"+n.toString());}}return J=!0};W=function(){if(c.html5Only)return X(),!1;if(i||!c.url)return!1;i=c.getMovie(c.id);if(!i)N?(x?c.oMC.innerHTML=sa:c.oMC.appendChild(N),N=null,J=!0):X(c.id,c.url),i=c.getMovie(c.id);"function"===typeof c.oninitmovie&& +setTimeout(c.oninitmovie,1);return!0};D=function(){setTimeout(Fa,1E3)};Fa=function(){var a,e=!1;if(!c.url||O)return!1;O=!0;o.remove(h,"load",D);if(da&&!Ba)return!1;k||(a=c.getMoviePercent(),0a&&(e=!0));setTimeout(function(){a=c.getMoviePercent();if(e)return O=!1,h.setTimeout(D,1),!1;!k&&Ra&&(null===a?c.useFlashBlock||0===c.flashLoadTimeout?c.useFlashBlock&&ta():Y(!0):0!==c.flashLoadTimeout&&Y(!0))},c.flashLoadTimeout)};V=function(){if(Ba||!da)return o.remove(h,"focus",V),!0;Ba=Ra=!0;O=!1; +D();o.remove(h,"focus",V);return!0};Pa=function(){};L=function(a){if(k)return!1;if(c.html5Only)return k=!0,C(),!0;var e=!0,d;if(!c.useFlashBlock||!c.flashLoadTimeout||c.getMoviePercent())k=!0,s&&(d={type:!y&&n?"NO_FLASH":"INIT_TIMEOUT"});if(s||a){if(c.useFlashBlock&&c.oMC)c.oMC.className=G()+" "+(null===c.getMoviePercent()?"swf_timedout":"swf_error");B({type:"ontimeout",error:d,ignoreInit:!0});F(d);e=!1}s||(c.waitForWindowLoad&&!la?o.add(h,"load",C):C());return e};Ea=function(){var a,e=c.setupOptions; +for(a in e)e.hasOwnProperty(a)&&("undefined"===typeof c[a]?c[a]=e[a]:c[a]!==e[a]&&(c.setupOptions[a]=c[a]))};ka=function(){if(k)return!1;if(c.html5Only){if(!k)o.remove(h,"load",c.beginDelayedInit),c.enabled=!0,L();return!0}W();try{i._externalInterfaceTest(!1),Ga(!0,c.flashPollingInterval||(c.useHighPerformance?10:50)),c.debugMode||i._disableDebug(),c.enabled=!0,c.html5Only||o.add(h,"unload",ja)}catch(a){return F({type:"JS_TO_FLASH_EXCEPTION",fatal:!0}),Y(!0),L(),!1}L();o.remove(h,"load",c.beginDelayedInit); +return!0};E=function(){if(M)return!1;M=!0;Ea();ra();!y&&c.hasHTML5&&c.setup({useHTML5Audio:!0,preferFlash:!1});Na();c.html5.usingFlash=Ma();n=c.html5.usingFlash;Pa();!y&&n&&c.setup({flashLoadTimeout:1});m.removeEventListener&&m.removeEventListener("DOMContentLoaded",E,!1);W();return!0};wa=function(){"complete"===m.readyState&&(E(),m.detachEvent("onreadystatechange",wa));return!0};pa=function(){la=!0;o.remove(h,"load",pa)};xa();o.add(h,"focus",V);o.add(h,"load",D);o.add(h,"load",pa);m.addEventListener? +m.addEventListener("DOMContentLoaded",E,!1):m.attachEvent?m.attachEvent("onreadystatechange",wa):F({type:"NO_DOM2_EVENTS",fatal:!0})}var ea=null;if("undefined"===typeof SM2_DEFER||!SM2_DEFER)ea=new R;fa.SoundManager=R;fa.soundManager=ea})(window); \ No newline at end of file diff --git a/static/js/libs/sm/soundmanager2-nodebug.js b/static/js/libs/sm/soundmanager2-nodebug.js old mode 100644 new mode 100755 index 99df0e8..856175b --- a/static/js/libs/sm/soundmanager2-nodebug.js +++ b/static/js/libs/sm/soundmanager2-nodebug.js @@ -8,7 +8,7 @@ * Code provided under the BSD License: * http://schillmania.com/projects/soundmanager2/license.txt * - * V2.97a.20120624 + * V2.97a.20120916 */ /*global window, SM2_DEFER, sm2Debugger, console, document, navigator, setTimeout, setInterval, clearInterval, Audio */ @@ -84,7 +84,7 @@ function SoundManager(smURL, smID) { 'required': true }, 'mp4': { - 'related': ['aac','m4a'], + 'related': ['aac','m4a','m4b'], 'type': ['audio/mp4; codecs="mp4a.40.2"', 'audio/aac', 'audio/x-m4a', 'audio/MP4A-LATM', 'audio/mpeg4-generic'], 'required': false }, @@ -101,7 +101,7 @@ function SoundManager(smURL, smID) { this.id = (smID || 'sm2movie'); this.debugID = 'soundmanager-debug'; this.debugURLParam = /([#?&])debug=1/i; - this.versionNumber = 'V2.97a.20120624'; + this.versionNumber = 'V2.97a.20120916'; this.version = null; this.movieURL = null; this.altURL = null; @@ -128,7 +128,7 @@ function SoundManager(smURL, smID) { }; this.hasHTML5 = (function() { try { - return (typeof Audio !== 'undefined' && typeof new Audio().canPlayType !== 'undefined'); + return (typeof Audio !== 'undefined' && typeof (_isOpera && opera.version() < 10 ? new Audio(null) : new Audio()).canPlayType !== 'undefined'); } catch(e) { return false; } @@ -145,12 +145,12 @@ function SoundManager(smURL, smID) { _is_iDevice = _ua.match(/(ipad|iphone|ipod)/i), _isIE = _ua.match(/msie/i), _isWebkit = _ua.match(/webkit/i), _isSafari = (_ua.match(/safari/i) && !_ua.match(/chrome/i)), _isOpera = (_ua.match(/opera/i)), _mobileHTML5 = (_ua.match(/(mobile|pre\/|xoom)/i) || _is_iDevice), _isBadSafari = (!_wl.match(/usehtml5audio/i) && !_wl.match(/sm2\-ignorebadua/i) && _isSafari && !_ua.match(/silk/i) && _ua.match(/OS X 10_6_([3-7])/i)), - _hasConsole = (typeof console !== 'undefined' && typeof console.log !== 'undefined'), _isFocused = (typeof _doc.hasFocus !== 'undefined'?_doc.hasFocus():null), _tryInitOnFocus = (_isSafari && (typeof _doc.hasFocus === 'undefined' || !_doc.hasFocus())), _okToDisable = !_tryInitOnFocus, _flashMIME = /(mp3|mp4|mpa|m4a)/i, + _hasConsole = (typeof console !== 'undefined' && typeof console.log !== 'undefined'), _isFocused = (typeof _doc.hasFocus !== 'undefined'?_doc.hasFocus():null), _tryInitOnFocus = (_isSafari && (typeof _doc.hasFocus === 'undefined' || !_doc.hasFocus())), _okToDisable = !_tryInitOnFocus, _flashMIME = /(mp3|mp4|mpa|m4a|m4b)/i, _emptyURL = 'about:blank', _overHTTP = (_doc.location?_doc.location.protocol.match(/http/i):null), _http = (!_overHTTP ? 'http:/'+'/' : ''), - _netStreamMimeTypes = /^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|mp4v|3gp|3g2)\s*(?:$|;)/i, - _netStreamTypes = ['mpeg4', 'aac', 'flv', 'mov', 'mp4', 'm4v', 'f4v', 'm4a', 'mp4v', '3gp', '3g2'], + _netStreamMimeTypes = /^\s*audio\/(?:x-)?(?:mpeg4|aac|flv|mov|mp4||m4v|m4a|m4b|mp4v|3gp|3g2)\s*(?:$|;)/i, + _netStreamTypes = ['mpeg4', 'aac', 'flv', 'mov', 'mp4', 'm4v', 'f4v', 'm4a', 'm4b', 'mp4v', '3gp', '3g2'], _netStreamPattern = new RegExp('\\.(' + _netStreamTypes.join('|') + ')(\\?.*)?$', 'i'); this.mimePattern = /^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i; this.useAltURL = !_overHTTP; @@ -175,10 +175,17 @@ function SoundManager(smURL, smID) { } } this.setup = function(options) { + var noURL = (!_s.url); if (typeof options !== 'undefined' && _didInit && _needsFlash && _s.ok() && (typeof options.flashVersion !== 'undefined' || typeof options.url !== 'undefined')) { _complain(_str('setupLate')); } _assign(options); + if (noURL && _didDCLoaded && typeof options.url !== 'undefined') { + _s.beginDelayedInit(); + } + if (!_didDCLoaded && typeof options.url !== 'undefined' && _doc.readyState === 'complete') { + setTimeout(_domContentLoaded, 1); + } return _s; }; this.ok = function() { @@ -606,7 +613,7 @@ function SoundManager(smURL, smID) { return _t; } _iO = _t._iO; - _lastURL = _t.url; + _lastURL = (_t.url && _t.url.toString ? _t.url.toString() : null); _t.loaded = false; _t.readyState = 1; _t.playState = 0; @@ -641,6 +648,7 @@ function SoundManager(smURL, smID) { _catchError({type:'SMSOUND_LOAD_JS_EXCEPTION', fatal:true}); } } + _t.url = _iO.url; return _t; }; this.unload = function() { @@ -690,8 +698,11 @@ function SoundManager(smURL, smID) { if (!oOptions) { oOptions = {}; } - _t._iO = _mixin(oOptions, _t._iO); + if (_t.url) { + _t._iO.url = _t.url; + } _t._iO = _mixin(_t._iO, _t.options); + _t._iO = _mixin(oOptions, _t._iO); _t._iO.url = _parseURL(_t._iO.url); _t.instanceOptions = _t._iO; if (_t._iO.serverURL && !_t.connected) { @@ -714,6 +725,9 @@ function SoundManager(smURL, smID) { if (exit !== null) { return exit; } + if (oOptions.url && oOptions.url !== _t.url) { + _t.load(_t._iO); + } if (!_t.loaded) { if (_t.readyState === 0) { if (!_t.isHTML5) { @@ -734,7 +748,7 @@ function SoundManager(smURL, smID) { if (!_t.isHTML5 && _fV === 9 && _t.position > 0 && _t.position === _t.duration) { oOptions.position = 0; } - if (_t.paused && _t.position && _t.position > 0) { + if (_t.paused && _t.position >= 0 && (!_t._iO.serverURL || _t.position > 0)) { _t.resume(); } else { _t._iO = _mixin(oOptions, _t._iO); @@ -851,7 +865,7 @@ function SoundManager(smURL, smID) { } var original_pos, position, position1K, - offset = (_t.isHTML5 ? Math.max(nMsecOffset,0) : Math.min(_t.duration || _t._iO.duration, Math.max(nMsecOffset, 0))); + offset = (_t.isHTML5 ? Math.max(nMsecOffset, 0) : Math.min(_t.duration || _t._iO.duration, Math.max(nMsecOffset, 0))); original_pos = _t.position; _t.position = offset; position1K = _t.position/1000; @@ -1170,8 +1184,8 @@ function SoundManager(smURL, smID) { }; this._get_html5_duration = function() { var _iO = _t._iO, - d = (_t._a ? _t._a.duration*1000 : (_iO ? _iO.duration : undefined)), - result = (d && !isNaN(d) && d !== Infinity ? d : (_iO ? _iO.duration : null)); + d = (_t._a && _t._a.duration ? _t._a.duration*1000 : (_iO && _iO.duration ? _iO.duration : null)), + result = (d && !isNaN(d) && d !== Infinity ? d : null); return result; }; this._apply_loop = function(a, nLoops) { @@ -1207,7 +1221,7 @@ function SoundManager(smURL, smID) { if (_iO.autoLoad || _iO.autoPlay) { _t._a = new Audio(_iO.url); } else { - _t._a = (_isOpera ? new Audio(null) : new Audio()); + _t._a = (_isOpera && opera.version() < 10 ? new Audio(null) : new Audio()); } _a = _t._a; _a._called_load = false; @@ -1324,15 +1338,12 @@ function SoundManager(smURL, smID) { _t.bytesTotal = nBytesTotal; _t.duration = Math.floor(nDuration); _t.bufferLength = nBufferLength; - if (!_iO.isMovieStar) { + if (!_t.isHTML5 && !_iO.isMovieStar) { if (_iO.duration) { _t.durationEstimate = (_t.duration > _iO.duration) ? _t.duration : _iO.duration; } else { _t.durationEstimate = parseInt((_t.bytesTotal / _t.bytesLoaded) * _t.duration, 10); } - if (typeof _t.durationEstimate === 'undefined') { - _t.durationEstimate = _t.duration; - } } else { _t.durationEstimate = _t.duration; } @@ -1391,7 +1402,7 @@ function SoundManager(smURL, smID) { this._oncaptiondata = function(oData) { _t.captiondata = oData; if (_t._iO.oncaptiondata) { - _t._iO.oncaptiondata.apply(_t); + _t._iO.oncaptiondata.apply(_t, [oData]); } }; this._onmetadata = function(oMDProps, oMDData) { @@ -1502,6 +1513,9 @@ function SoundManager(smURL, smID) { } return result; }; + function _preferFlashCheck(kind) { + return (_s.preferFlash && _hasFlash && !_s.ignoreFlash && (typeof _s.flash[kind] !== 'undefined' && _s.flash[kind])); + } _event = (function() { var old = (_win.attachEvent), evt = { @@ -1509,7 +1523,8 @@ function SoundManager(smURL, smID) { remove: (old?'detachEvent':'removeEventListener') }; function getArgs(oArgs) { - var args = _slice.call(oArgs), len = args.length; + var args = _slice.call(oArgs), + len = args.length; if (old) { args[1] = 'on' + args[1]; if (len > 3) { @@ -1540,9 +1555,6 @@ function SoundManager(smURL, smID) { 'remove': remove }; }()); - function _preferFlashCheck(kind) { - return (_s.preferFlash && _hasFlash && !_s.ignoreFlash && (typeof _s.flash[kind] !== 'undefined' && _s.flash[kind])); - } function _html5_event(oFn) { return function(e) { var t = this._t, @@ -1615,17 +1627,18 @@ function SoundManager(smURL, smID) { isProgress = (e.type === 'progress'), ranges = e.target.buffered, loaded = (e.loaded||0), - total = (e.total||1); + total = (e.total||1), + scale = 1000; t.buffered = []; if (ranges && ranges.length) { for (i=0, j=ranges.length; i 0. * Another reason is because options like volume won't have been applied yet. + * For normal sounds, just resume. */ - if (_t.paused && _t.position && _t.position > 0) { + if (_t.paused && _t.position >= 0 && (!_t._iO.serverURL || _t.position > 0)) { // https://gist.github.com/37b17df75cc4d7a90bf6 _s._wD(fN + '"' + _t.id + '" is resuming from paused state',1); @@ -1989,7 +2024,7 @@ function SoundManager(smURL, smID) { position, position1K, // Use the duration from the instance options, if we don't have a track duration yet. // position >= 0 and <= current available (loaded) duration - offset = (_t.isHTML5 ? Math.max(nMsecOffset,0) : Math.min(_t.duration || _t._iO.duration, Math.max(nMsecOffset, 0))); + offset = (_t.isHTML5 ? Math.max(nMsecOffset, 0) : Math.min(_t.duration || _t._iO.duration, Math.max(nMsecOffset, 0))); original_pos = _t.position; _t.position = offset; @@ -2613,8 +2648,9 @@ function SoundManager(smURL, smID) { this._get_html5_duration = function() { var _iO = _t._iO, - d = (_t._a ? _t._a.duration*1000 : (_iO ? _iO.duration : undefined)), - result = (d && !isNaN(d) && d !== Infinity ? d : (_iO ? _iO.duration : null)); + // if audio object exists, use its duration - else, instance option duration (if provided - it's a hack, really, and should be retired) OR null + d = (_t._a && _t._a.duration ? _t._a.duration*1000 : (_iO && _iO.duration ? _iO.duration : null)), + result = (d && !isNaN(d) && d !== Infinity ? d : null); return result; @@ -2704,7 +2740,7 @@ function SoundManager(smURL, smID) { } else { // null for stupid Opera 9.64 case - _t._a = (_isOpera ? new Audio(null) : new Audio()); + _t._a = (_isOpera && opera.version() < 10 ? new Audio(null) : new Audio()); } @@ -2942,19 +2978,15 @@ function SoundManager(smURL, smID) { _t.duration = Math.floor(nDuration); _t.bufferLength = nBufferLength; - if (!_iO.isMovieStar) { + if (!_t.isHTML5 && !_iO.isMovieStar) { if (_iO.duration) { - // use duration from options, if specified and larger + // use duration from options, if specified and larger. nobody should be specifying duration in options, actually, and it should be retired. _t.durationEstimate = (_t.duration > _iO.duration) ? _t.duration : _iO.duration; } else { _t.durationEstimate = parseInt((_t.bytesTotal / _t.bytesLoaded) * _t.duration, 10); } - if (typeof _t.durationEstimate === 'undefined') { - _t.durationEstimate = _t.duration; - } - } else { _t.durationEstimate = _t.duration; @@ -3051,7 +3083,7 @@ function SoundManager(smURL, smID) { _t.captiondata = oData; if (_t._iO.oncaptiondata) { - _t._iO.oncaptiondata.apply(_t); + _t._iO.oncaptiondata.apply(_t, [oData]); } }; @@ -3347,6 +3379,18 @@ function SoundManager(smURL, smID) { }; + function _preferFlashCheck(kind) { + + // whether flash should play a given type + return (_s.preferFlash && _hasFlash && !_s.ignoreFlash && (typeof _s.flash[kind] !== 'undefined' && _s.flash[kind])); + + } + + /** + * Internal DOM2-level event helpers + * --------------------------------- + */ + _event = (function() { var old = (_win.attachEvent), @@ -3357,7 +3401,8 @@ function SoundManager(smURL, smID) { function getArgs(oArgs) { - var args = _slice.call(oArgs), len = args.length; + var args = _slice.call(oArgs), + len = args.length; if (old) { // prefix @@ -3406,13 +3451,6 @@ function SoundManager(smURL, smID) { }()); - function _preferFlashCheck(kind) { - - // whether flash should play a given type - return (_s.preferFlash && _hasFlash && !_s.ignoreFlash && (typeof _s.flash[kind] !== 'undefined' && _s.flash[kind])); - - } - /** * Internal HTML5 event handling * ----------------------------- @@ -3584,7 +3622,9 @@ function SoundManager(smURL, smID) { ranges = e.target.buffered, // firefox 3.6 implements e.loaded/total (bytes) loaded = (e.loaded||0), - total = (e.total||1); + total = (e.total||1), + // HTML5 returns msec. SM2 API uses seconds for setPosition() etc., whether Flash or HTML5. + scale = 1000; // reset the "buffered" (loaded byte ranges) array t.buffered = []; @@ -3597,23 +3637,23 @@ function SoundManager(smURL, smID) { // re-build "buffered" array for (i=0, j=ranges.length; i if (isProgress && ranges.length > 1) { str = []; j = ranges.length; for (i=0; i }; @@ -4472,8 +4520,6 @@ function SoundManager(smURL, smID) { if (!_s.html5 || !_s.html5.canPlayType) { _s._wD('SoundManager: No HTML5 Audio() support detected.'); _s.hasHTML5 = false; - } else { - _s.hasHTML5 = true; } // @@ -4799,9 +4845,11 @@ function SoundManager(smURL, smID) { var remoteURL = (smURL || _s.url), localURL = (_s.altURL || remoteURL), swfTitle = 'JS/Flash audio component (SoundManager 2)', - oEmbed, oMovie, oTarget = _getDocument(), tmp, movieHTML, oEl, extraClass = _getSWFCSS(), - s, x, sClass, isRTL = null, - html = _doc.getElementsByTagName('html')[0]; + oTarget = _getDocument(), + extraClass = _getSWFCSS(), + isRTL = null, + html = _doc.getElementsByTagName('html')[0], + oEmbed, oMovie, tmp, movieHTML, oEl, s, x, sClass; isRTL = (html && html.dir && html.dir.match(/rtl/i)); smID = (typeof smID === 'undefined'?_s.id:smID); @@ -4980,12 +5028,24 @@ function SoundManager(smURL, smID) { return false; } - // attempt to get, or create, movie - // may already exist + // attempt to get, or create, movie (may already exist) if (_flash) { return false; } + if (!_s.url) { + + /** + * Something isn't right - we've reached init, but the soundManager url property has not been set. + * User has not called setup({url: ...}), or has not set soundManager.url (legacy use case) directly before init time. + * Notify and exit. If user calls setup() with a url: property, init will be restarted as in the deferred loading case. + */ + + _wDS('noURL'); + return false; + + } + // inline markup case _flash = _s.getMovie(_s.id); @@ -5031,6 +5091,11 @@ function SoundManager(smURL, smID) { var p, loadIncomplete = false; + if (!_s.url) { + // No SWF url to load (noURL case) - exit for now. Will be retried when url is set. + return false; + } + if (_waitingForEI) { return false; } @@ -5054,7 +5119,7 @@ function SoundManager(smURL, smID) { setTimeout(function() { - p = _s.getMoviePercent(); + p = _s.getMoviePercent(); if (loadIncomplete) { // special case: if movie *partially* loaded, retry until it's 100% before assuming failure. @@ -5123,7 +5188,7 @@ function SoundManager(smURL, smID) { _okToDisable = true; _isFocused = true; - _s._wD(_sm+': Got window focus.'); + _wDS('gotFocus'); // allow init to restart _waitingForEI = false; @@ -5138,6 +5203,8 @@ function SoundManager(smURL, smID) { _showSupport = function() { + // + var item, tests = []; if (_s.useHTML5Audio && _s.hasHTML5) { @@ -5149,6 +5216,8 @@ function SoundManager(smURL, smID) { _s._wD('-- SoundManager 2: HTML5 support tests ('+_s.html5Test+'): '+tests.join(', ')+' --',1); } + // + }; _initComplete = function(bNoDisable) { @@ -5177,7 +5246,7 @@ function SoundManager(smURL, smID) { } } - _s._wD('-- SoundManager 2 ' + (_disabled?'failed to load':'loaded') + ' (' + (_disabled?'security/load error':'OK') + ') --', 1); + _s._wD('-- SoundManager 2 ' + (_disabled?'failed to load':'loaded') + ' (' + (_disabled?'Flash security/load error':'OK') + ') --', 1); if (_disabled || bNoDisable) { if (_s.useFlashBlock && _s.oMC) { @@ -5384,7 +5453,7 @@ function SoundManager(smURL, smID) { _showSupport(); if (!_hasFlash && _needsFlash) { - _s._wD('SoundManager: Fatal error: Flash is needed to play some required formats, but is not available.'); + _wDS('needFlash'); // TODO: Fatal here vs. timeout approach, etc. // hack: fail sooner. _s.setup({ @@ -5442,11 +5511,6 @@ function SoundManager(smURL, smID) { } - if (_doc.readyState === 'complete') { - // DOMReady has already happened. - setTimeout(_domContentLoaded,100); - } - } // SoundManager() // SM2_DEFER details: http://www.schillmania.com/projects/soundmanager2/doc/getstarted/#lazy-loading diff --git a/static/js/libs/tiny_mce/jquery.tinymce.js b/static/js/libs/tiny_mce/jquery.tinymce.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/langs/en.js b/static/js/libs/tiny_mce/langs/en.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advhr/css/advhr.css b/static/js/libs/tiny_mce/plugins/advhr/css/advhr.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advhr/editor_plugin.js b/static/js/libs/tiny_mce/plugins/advhr/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advhr/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/advhr/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advhr/js/rule.js b/static/js/libs/tiny_mce/plugins/advhr/js/rule.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advhr/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/advhr/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advhr/rule.htm b/static/js/libs/tiny_mce/plugins/advhr/rule.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advimage/css/advimage.css b/static/js/libs/tiny_mce/plugins/advimage/css/advimage.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advimage/editor_plugin.js b/static/js/libs/tiny_mce/plugins/advimage/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advimage/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/advimage/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advimage/image.htm b/static/js/libs/tiny_mce/plugins/advimage/image.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advimage/img/sample.gif b/static/js/libs/tiny_mce/plugins/advimage/img/sample.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advimage/js/image.js b/static/js/libs/tiny_mce/plugins/advimage/js/image.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advimage/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/advimage/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advlink/css/advlink.css b/static/js/libs/tiny_mce/plugins/advlink/css/advlink.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advlink/editor_plugin.js b/static/js/libs/tiny_mce/plugins/advlink/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advlink/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/advlink/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advlink/js/advlink.js b/static/js/libs/tiny_mce/plugins/advlink/js/advlink.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advlink/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/advlink/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advlink/link.htm b/static/js/libs/tiny_mce/plugins/advlink/link.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advlist/editor_plugin.js b/static/js/libs/tiny_mce/plugins/advlist/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/advlist/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/advlist/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/autolink/editor_plugin.js b/static/js/libs/tiny_mce/plugins/autolink/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/autolink/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/autolink/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/autoresize/editor_plugin.js b/static/js/libs/tiny_mce/plugins/autoresize/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/autoresize/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/autoresize/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/autosave/editor_plugin.js b/static/js/libs/tiny_mce/plugins/autosave/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/autosave/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/autosave/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/autosave/langs/en.js b/static/js/libs/tiny_mce/plugins/autosave/langs/en.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/bbcode/editor_plugin.js b/static/js/libs/tiny_mce/plugins/bbcode/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/bbcode/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/bbcode/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/contextmenu/editor_plugin.js b/static/js/libs/tiny_mce/plugins/contextmenu/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/contextmenu/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/contextmenu/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/directionality/editor_plugin.js b/static/js/libs/tiny_mce/plugins/directionality/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/directionality/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/directionality/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/editor_plugin.js b/static/js/libs/tiny_mce/plugins/emotions/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/emotions/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/emotions.htm b/static/js/libs/tiny_mce/plugins/emotions/emotions.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-cool.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-cool.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-cry.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-cry.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-embarassed.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-embarassed.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-frown.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-frown.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-innocent.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-innocent.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-kiss.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-kiss.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-laughing.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-laughing.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-sealed.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-sealed.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-smile.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-smile.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-surprised.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-surprised.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-undecided.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-undecided.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-wink.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-wink.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/img/smiley-yell.gif b/static/js/libs/tiny_mce/plugins/emotions/img/smiley-yell.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/js/emotions.js b/static/js/libs/tiny_mce/plugins/emotions/js/emotions.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/emotions/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/emotions/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/example/dialog.htm b/static/js/libs/tiny_mce/plugins/example/dialog.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/example/editor_plugin.js b/static/js/libs/tiny_mce/plugins/example/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/example/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/example/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/example/img/example.gif b/static/js/libs/tiny_mce/plugins/example/img/example.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/example/js/dialog.js b/static/js/libs/tiny_mce/plugins/example/js/dialog.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/example/langs/en.js b/static/js/libs/tiny_mce/plugins/example/langs/en.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/example/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/example/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/example_dependency/editor_plugin.js b/static/js/libs/tiny_mce/plugins/example_dependency/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/example_dependency/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/example_dependency/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/fullpage/css/fullpage.css b/static/js/libs/tiny_mce/plugins/fullpage/css/fullpage.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/fullpage/editor_plugin.js b/static/js/libs/tiny_mce/plugins/fullpage/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/fullpage/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/fullpage/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/fullpage/fullpage.htm b/static/js/libs/tiny_mce/plugins/fullpage/fullpage.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/fullpage/js/fullpage.js b/static/js/libs/tiny_mce/plugins/fullpage/js/fullpage.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/fullpage/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/fullpage/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/fullscreen/editor_plugin.js b/static/js/libs/tiny_mce/plugins/fullscreen/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/fullscreen/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/fullscreen/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/fullscreen/fullscreen.htm b/static/js/libs/tiny_mce/plugins/fullscreen/fullscreen.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/iespell/editor_plugin.js b/static/js/libs/tiny_mce/plugins/iespell/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/iespell/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/iespell/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/editor_plugin.js b/static/js/libs/tiny_mce/plugins/inlinepopups/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/inlinepopups/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css b/static/js/libs/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/inlinepopups/template.htm b/static/js/libs/tiny_mce/plugins/inlinepopups/template.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/insertdatetime/editor_plugin.js b/static/js/libs/tiny_mce/plugins/insertdatetime/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/insertdatetime/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/insertdatetime/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/layer/editor_plugin.js b/static/js/libs/tiny_mce/plugins/layer/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/layer/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/layer/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/legacyoutput/editor_plugin.js b/static/js/libs/tiny_mce/plugins/legacyoutput/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/legacyoutput/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/legacyoutput/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/lists/editor_plugin.js b/static/js/libs/tiny_mce/plugins/lists/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/lists/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/lists/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/media/css/media.css b/static/js/libs/tiny_mce/plugins/media/css/media.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/media/editor_plugin.js b/static/js/libs/tiny_mce/plugins/media/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/media/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/media/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/media/js/embed.js b/static/js/libs/tiny_mce/plugins/media/js/embed.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/media/js/media.js b/static/js/libs/tiny_mce/plugins/media/js/media.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/media/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/media/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/media/media.htm b/static/js/libs/tiny_mce/plugins/media/media.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/media/moxieplayer.swf b/static/js/libs/tiny_mce/plugins/media/moxieplayer.swf old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/nonbreaking/editor_plugin.js b/static/js/libs/tiny_mce/plugins/nonbreaking/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/nonbreaking/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/nonbreaking/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/noneditable/editor_plugin.js b/static/js/libs/tiny_mce/plugins/noneditable/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/noneditable/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/noneditable/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/pagebreak/editor_plugin.js b/static/js/libs/tiny_mce/plugins/pagebreak/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/pagebreak/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/pagebreak/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/paste/editor_plugin.js b/static/js/libs/tiny_mce/plugins/paste/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/paste/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/paste/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/paste/js/pastetext.js b/static/js/libs/tiny_mce/plugins/paste/js/pastetext.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/paste/js/pasteword.js b/static/js/libs/tiny_mce/plugins/paste/js/pasteword.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/paste/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/paste/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/paste/pastetext.htm b/static/js/libs/tiny_mce/plugins/paste/pastetext.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/paste/pasteword.htm b/static/js/libs/tiny_mce/plugins/paste/pasteword.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/preview/editor_plugin.js b/static/js/libs/tiny_mce/plugins/preview/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/preview/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/preview/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/preview/example.html b/static/js/libs/tiny_mce/plugins/preview/example.html old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/preview/jscripts/embed.js b/static/js/libs/tiny_mce/plugins/preview/jscripts/embed.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/preview/preview.html b/static/js/libs/tiny_mce/plugins/preview/preview.html old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/print/editor_plugin.js b/static/js/libs/tiny_mce/plugins/print/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/print/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/print/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/save/editor_plugin.js b/static/js/libs/tiny_mce/plugins/save/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/save/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/save/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/css/searchreplace.css b/static/js/libs/tiny_mce/plugins/searchreplace/css/searchreplace.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/editor_plugin.js b/static/js/libs/tiny_mce/plugins/searchreplace/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/searchreplace/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/js/searchreplace.js b/static/js/libs/tiny_mce/plugins/searchreplace/js/searchreplace.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/searchreplace/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/searchreplace/searchreplace.htm b/static/js/libs/tiny_mce/plugins/searchreplace/searchreplace.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/spellchecker/css/content.css b/static/js/libs/tiny_mce/plugins/spellchecker/css/content.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/spellchecker/editor_plugin.js b/static/js/libs/tiny_mce/plugins/spellchecker/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/spellchecker/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/spellchecker/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/spellchecker/img/wline.gif b/static/js/libs/tiny_mce/plugins/spellchecker/img/wline.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/style/css/props.css b/static/js/libs/tiny_mce/plugins/style/css/props.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/style/editor_plugin.js b/static/js/libs/tiny_mce/plugins/style/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/style/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/style/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/style/js/props.js b/static/js/libs/tiny_mce/plugins/style/js/props.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/style/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/style/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/style/props.htm b/static/js/libs/tiny_mce/plugins/style/props.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/style/readme.txt b/static/js/libs/tiny_mce/plugins/style/readme.txt old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/tabfocus/editor_plugin.js b/static/js/libs/tiny_mce/plugins/tabfocus/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/tabfocus/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/tabfocus/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/cell.htm b/static/js/libs/tiny_mce/plugins/table/cell.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/css/cell.css b/static/js/libs/tiny_mce/plugins/table/css/cell.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/css/row.css b/static/js/libs/tiny_mce/plugins/table/css/row.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/css/table.css b/static/js/libs/tiny_mce/plugins/table/css/table.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/editor_plugin.js b/static/js/libs/tiny_mce/plugins/table/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/table/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/js/cell.js b/static/js/libs/tiny_mce/plugins/table/js/cell.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/js/merge_cells.js b/static/js/libs/tiny_mce/plugins/table/js/merge_cells.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/js/row.js b/static/js/libs/tiny_mce/plugins/table/js/row.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/js/table.js b/static/js/libs/tiny_mce/plugins/table/js/table.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/table/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/merge_cells.htm b/static/js/libs/tiny_mce/plugins/table/merge_cells.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/row.htm b/static/js/libs/tiny_mce/plugins/table/row.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/table/table.htm b/static/js/libs/tiny_mce/plugins/table/table.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/template/blank.htm b/static/js/libs/tiny_mce/plugins/template/blank.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/template/css/template.css b/static/js/libs/tiny_mce/plugins/template/css/template.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/template/editor_plugin.js b/static/js/libs/tiny_mce/plugins/template/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/template/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/template/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/template/js/template.js b/static/js/libs/tiny_mce/plugins/template/js/template.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/template/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/template/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/template/template.htm b/static/js/libs/tiny_mce/plugins/template/template.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/visualblocks/css/visualblocks.css b/static/js/libs/tiny_mce/plugins/visualblocks/css/visualblocks.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/visualblocks/editor_plugin.js b/static/js/libs/tiny_mce/plugins/visualblocks/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/visualblocks/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/visualblocks/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/visualchars/editor_plugin.js b/static/js/libs/tiny_mce/plugins/visualchars/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/visualchars/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/visualchars/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/wordcount/editor_plugin.js b/static/js/libs/tiny_mce/plugins/wordcount/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/wordcount/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/wordcount/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/abbr.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/abbr.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/acronym.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/acronym.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/attributes.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/attributes.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/cite.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/cite.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/css/attributes.css b/static/js/libs/tiny_mce/plugins/xhtmlxtras/css/attributes.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/css/popup.css b/static/js/libs/tiny_mce/plugins/xhtmlxtras/css/popup.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/del.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/del.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/editor_plugin.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/editor_plugin.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/ins.htm b/static/js/libs/tiny_mce/plugins/xhtmlxtras/ins.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/abbr.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/abbr.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/acronym.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/acronym.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/attributes.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/attributes.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/cite.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/cite.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/del.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/del.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/element_common.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/element_common.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/ins.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/js/ins.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js b/static/js/libs/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/about.htm b/static/js/libs/tiny_mce/themes/advanced/about.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/anchor.htm b/static/js/libs/tiny_mce/themes/advanced/anchor.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/charmap.htm b/static/js/libs/tiny_mce/themes/advanced/charmap.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/color_picker.htm b/static/js/libs/tiny_mce/themes/advanced/color_picker.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/editor_template.js b/static/js/libs/tiny_mce/themes/advanced/editor_template.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/editor_template_src.js b/static/js/libs/tiny_mce/themes/advanced/editor_template_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/image.htm b/static/js/libs/tiny_mce/themes/advanced/image.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/colorpicker.jpg b/static/js/libs/tiny_mce/themes/advanced/img/colorpicker.jpg old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/flash.gif b/static/js/libs/tiny_mce/themes/advanced/img/flash.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/icons.gif b/static/js/libs/tiny_mce/themes/advanced/img/icons.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/iframe.gif b/static/js/libs/tiny_mce/themes/advanced/img/iframe.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/pagebreak.gif b/static/js/libs/tiny_mce/themes/advanced/img/pagebreak.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/quicktime.gif b/static/js/libs/tiny_mce/themes/advanced/img/quicktime.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/realmedia.gif b/static/js/libs/tiny_mce/themes/advanced/img/realmedia.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/shockwave.gif b/static/js/libs/tiny_mce/themes/advanced/img/shockwave.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/trans.gif b/static/js/libs/tiny_mce/themes/advanced/img/trans.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/video.gif b/static/js/libs/tiny_mce/themes/advanced/img/video.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/img/windowsmedia.gif b/static/js/libs/tiny_mce/themes/advanced/img/windowsmedia.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/js/about.js b/static/js/libs/tiny_mce/themes/advanced/js/about.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/js/anchor.js b/static/js/libs/tiny_mce/themes/advanced/js/anchor.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/js/charmap.js b/static/js/libs/tiny_mce/themes/advanced/js/charmap.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/js/color_picker.js b/static/js/libs/tiny_mce/themes/advanced/js/color_picker.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/js/image.js b/static/js/libs/tiny_mce/themes/advanced/js/image.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/js/link.js b/static/js/libs/tiny_mce/themes/advanced/js/link.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/js/source_editor.js b/static/js/libs/tiny_mce/themes/advanced/js/source_editor.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/langs/en.js b/static/js/libs/tiny_mce/themes/advanced/langs/en.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/langs/en_dlg.js b/static/js/libs/tiny_mce/themes/advanced/langs/en_dlg.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/link.htm b/static/js/libs/tiny_mce/themes/advanced/link.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/shortcuts.htm b/static/js/libs/tiny_mce/themes/advanced/shortcuts.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/content.css b/static/js/libs/tiny_mce/themes/advanced/skins/default/content.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/dialog.css b/static/js/libs/tiny_mce/themes/advanced/skins/default/dialog.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/buttons.png b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/buttons.png old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/items.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/items.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/menu_check.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/menu_check.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/progress.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/progress.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/img/tabs.gif b/static/js/libs/tiny_mce/themes/advanced/skins/default/img/tabs.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/default/ui.css b/static/js/libs/tiny_mce/themes/advanced/skins/default/ui.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/content.css b/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/content.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/dialog.css b/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/dialog.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/ui.css b/static/js/libs/tiny_mce/themes/advanced/skins/highcontrast/ui.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/content.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/content.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/dialog.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/dialog.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui_black.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui_black.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css b/static/js/libs/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/advanced/source_editor.htm b/static/js/libs/tiny_mce/themes/advanced/source_editor.htm old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/simple/editor_template.js b/static/js/libs/tiny_mce/themes/simple/editor_template.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/simple/editor_template_src.js b/static/js/libs/tiny_mce/themes/simple/editor_template_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/simple/img/icons.gif b/static/js/libs/tiny_mce/themes/simple/img/icons.gif old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/simple/langs/en.js b/static/js/libs/tiny_mce/themes/simple/langs/en.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/simple/skins/default/content.css b/static/js/libs/tiny_mce/themes/simple/skins/default/content.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/simple/skins/default/ui.css b/static/js/libs/tiny_mce/themes/simple/skins/default/ui.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/simple/skins/o2k7/content.css b/static/js/libs/tiny_mce/themes/simple/skins/o2k7/content.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png b/static/js/libs/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/themes/simple/skins/o2k7/ui.css b/static/js/libs/tiny_mce/themes/simple/skins/o2k7/ui.css old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/tiny_mce.js b/static/js/libs/tiny_mce/tiny_mce.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/tiny_mce_popup.js b/static/js/libs/tiny_mce/tiny_mce_popup.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/tiny_mce_src.js b/static/js/libs/tiny_mce/tiny_mce_src.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/utils/editable_selects.js b/static/js/libs/tiny_mce/utils/editable_selects.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/utils/form_utils.js b/static/js/libs/tiny_mce/utils/form_utils.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/utils/mctabs.js b/static/js/libs/tiny_mce/utils/mctabs.js old mode 100644 new mode 100755 diff --git a/static/js/libs/tiny_mce/utils/validate.js b/static/js/libs/tiny_mce/utils/validate.js old mode 100644 new mode 100755 diff --git a/static/js/libs/uploadify/jquery.uploadifive.js b/static/js/libs/uploadify/jquery.uploadifive.js old mode 100644 new mode 100755 diff --git a/static/js/libs/uploadify/jquery.uploadifive.min.js b/static/js/libs/uploadify/jquery.uploadifive.min.js old mode 100644 new mode 100755 diff --git a/static/js/old__dss_sound_handler.js b/static/js/old__dss_sound_handler.js old mode 100644 new mode 100755 diff --git a/static/test.html b/static/test.html old mode 100644 new mode 100755 diff --git a/templates/404.html b/templates/404.html old mode 100644 new mode 100755 diff --git a/templates/500.html b/templates/500.html old mode 100644 new mode 100755 diff --git a/templates/account/base.html b/templates/account/base.html old mode 100644 new mode 100755 diff --git a/templates/account/email.html b/templates/account/email.html old mode 100644 new mode 100755 diff --git a/templates/account/login.html b/templates/account/login.html old mode 100644 new mode 100755 diff --git a/templates/account/logout.html b/templates/account/logout.html old mode 100644 new mode 100755 diff --git a/templates/account/password_change.html b/templates/account/password_change.html old mode 100644 new mode 100755 diff --git a/templates/account/password_delete.html b/templates/account/password_delete.html old mode 100644 new mode 100755 diff --git a/templates/account/password_delete_done.html b/templates/account/password_delete_done.html old mode 100644 new mode 100755 diff --git a/templates/account/password_reset.html b/templates/account/password_reset.html old mode 100644 new mode 100755 diff --git a/templates/account/password_reset_done.html b/templates/account/password_reset_done.html old mode 100644 new mode 100755 diff --git a/templates/account/password_reset_from_key.html b/templates/account/password_reset_from_key.html old mode 100644 new mode 100755 diff --git a/templates/account/password_reset_key_message.txt b/templates/account/password_reset_key_message.txt old mode 100644 new mode 100755 diff --git a/templates/account/password_set.html b/templates/account/password_set.html old mode 100644 new mode 100755 diff --git a/templates/account/registration_form.html b/templates/account/registration_form.html old mode 100644 new mode 100755 diff --git a/templates/account/signup.html b/templates/account/signup.html old mode 100644 new mode 100755 diff --git a/templates/account/snippets/already_logged_in.html b/templates/account/snippets/already_logged_in.html old mode 100644 new mode 100755 diff --git a/templates/account/user_details.html b/templates/account/user_details.html old mode 100644 new mode 100755 diff --git a/templates/account/verification_sent.html b/templates/account/verification_sent.html old mode 100644 new mode 100755 diff --git a/templates/account/verified_email_required.html b/templates/account/verified_email_required.html old mode 100644 new mode 100755 diff --git a/templates/base.html b/templates/base.html old mode 100644 new mode 100755 index 75caa62..93f8dfd --- a/templates/base.html +++ b/templates/base.html @@ -19,6 +19,7 @@ + {% endcompress %} diff --git a/templates/emailconfirmation/confirm_email.html b/templates/emailconfirmation/confirm_email.html old mode 100644 new mode 100755 diff --git a/templates/emailconfirmation/email_confirmation_message.txt b/templates/emailconfirmation/email_confirmation_message.txt old mode 100644 new mode 100755 diff --git a/templates/emailconfirmation/email_confirmation_subject.txt b/templates/emailconfirmation/email_confirmation_subject.txt old mode 100644 new mode 100755 diff --git a/templates/inc/_MixItemInsert.html b/templates/inc/_MixItemInsert.html old mode 100644 new mode 100755 diff --git a/templates/inc/analytics.html b/templates/inc/analytics.html old mode 100644 new mode 100755 diff --git a/templates/inc/ancient_browser.html b/templates/inc/ancient_browser.html old mode 100644 new mode 100755 diff --git a/templates/inc/app.html b/templates/inc/app.html old mode 100644 new mode 100755 diff --git a/templates/inc/chat.html b/templates/inc/chat.html old mode 100644 new mode 100755 index 0bdd7da..3309721 --- a/templates/inc/chat.html +++ b/templates/inc/chat.html @@ -4,7 +4,9 @@
+ +
{% else %}

Please login to chat..

diff --git a/templates/inc/comment_list.html b/templates/inc/comment_list.html old mode 100644 new mode 100755 diff --git a/templates/inc/facebook.html b/templates/inc/facebook.html old mode 100644 new mode 100755 diff --git a/templates/inc/facebook/index.html b/templates/inc/facebook/index.html old mode 100644 new mode 100755 diff --git a/templates/inc/facebook/mix.html b/templates/inc/facebook/mix.html old mode 100644 new mode 100755 diff --git a/templates/inc/facebook_init.html b/templates/inc/facebook_init.html old mode 100644 new mode 100755 diff --git a/templates/inc/fb_like.html b/templates/inc/fb_like.html old mode 100644 new mode 100755 diff --git a/templates/inc/image_insert.html b/templates/inc/image_insert.html old mode 100644 new mode 100755 diff --git a/templates/inc/messages.html b/templates/inc/messages.html old mode 100644 new mode 100755 diff --git a/templates/inc/meta.html b/templates/inc/meta.html old mode 100644 new mode 100755 diff --git a/templates/inc/mix_edit_toolbar.html b/templates/inc/mix_edit_toolbar.html old mode 100644 new mode 100755 diff --git a/templates/inc/side-player.html b/templates/inc/side-player.html old mode 100644 new mode 100755 diff --git a/templates/inc/track_player_ajax.html b/templates/inc/track_player_ajax.html old mode 100644 new mode 100755 diff --git a/templates/inc/twitter.html b/templates/inc/twitter.html old mode 100644 new mode 100755 diff --git a/templates/javascript/settings.js b/templates/javascript/settings.js old mode 100644 new mode 100755 diff --git a/templates/openid/base.html b/templates/openid/base.html old mode 100644 new mode 100755 diff --git a/templates/openid/login.html b/templates/openid/login.html old mode 100644 new mode 100755 diff --git a/templates/socialaccount/account_inactive.html b/templates/socialaccount/account_inactive.html old mode 100644 new mode 100755 diff --git a/templates/socialaccount/authentication_error.html b/templates/socialaccount/authentication_error.html old mode 100644 new mode 100755 diff --git a/templates/socialaccount/base.html b/templates/socialaccount/base.html old mode 100644 new mode 100755 diff --git a/templates/socialaccount/connections.html b/templates/socialaccount/connections.html old mode 100644 new mode 100755 diff --git a/templates/socialaccount/login_cancelled.html b/templates/socialaccount/login_cancelled.html old mode 100644 new mode 100755 diff --git a/templates/socialaccount/signup.html b/templates/socialaccount/signup.html old mode 100644 new mode 100755 diff --git a/templates/socialaccount/snippets/login_extra.html b/templates/socialaccount/snippets/login_extra.html old mode 100644 new mode 100755 diff --git a/templates/socialaccount/snippets/provider_list.html b/templates/socialaccount/snippets/provider_list.html old mode 100644 new mode 100755 diff --git a/templates/views/CommentListItemView.html b/templates/views/CommentListItemView.html old mode 100644 new mode 100755 diff --git a/templates/views/CommentListView.html b/templates/views/CommentListView.html old mode 100644 new mode 100755 diff --git a/templates/views/EventCreateView.html b/templates/views/EventCreateView.html old mode 100644 new mode 100755 diff --git a/templates/views/EventItemView.html b/templates/views/EventItemView.html old mode 100644 new mode 100755 diff --git a/templates/views/EventListItemView.html b/templates/views/EventListItemView.html old mode 100644 new mode 100755 diff --git a/templates/views/EventListView.html b/templates/views/EventListView.html old mode 100644 new mode 100755 diff --git a/templates/views/EventView.html b/templates/views/EventView.html old mode 100644 new mode 100755 diff --git a/templates/views/HeaderView.html b/templates/views/HeaderView.html old mode 100644 new mode 100755 diff --git a/templates/views/LoginView.html b/templates/views/LoginView.html old mode 100644 new mode 100755 diff --git a/templates/views/MixCreateView.html b/templates/views/MixCreateView.html old mode 100644 new mode 100755 diff --git a/templates/views/MixListItemView.html b/templates/views/MixListItemView.html old mode 100644 new mode 100755 diff --git a/templates/views/MixListView.html b/templates/views/MixListView.html old mode 100644 new mode 100755 diff --git a/templates/views/MixView.html b/templates/views/MixView.html old mode 100644 new mode 100755 diff --git a/templates/views/ReleaseAudioItemView.html b/templates/views/ReleaseAudioItemView.html old mode 100644 new mode 100755 diff --git a/templates/views/ReleaseAudioListView.html b/templates/views/ReleaseAudioListView.html old mode 100644 new mode 100755 diff --git a/templates/views/ReleaseCreateView.html b/templates/views/ReleaseCreateView.html old mode 100644 new mode 100755 diff --git a/templates/views/ReleaseItemView.html b/templates/views/ReleaseItemView.html old mode 100644 new mode 100755 diff --git a/templates/views/ReleaseListItemView.html b/templates/views/ReleaseListItemView.html old mode 100644 new mode 100755 diff --git a/templates/views/ReleaseListView.html b/templates/views/ReleaseListView.html old mode 100644 new mode 100755 diff --git a/templates/views/ReleaseView.html b/templates/views/ReleaseView.html old mode 100644 new mode 100755 diff --git a/templates/views/SidebarView.html b/templates/views/SidebarView.html old mode 100644 new mode 100755 diff --git a/templates/views/UserView.html b/templates/views/UserView.html old mode 100644 new mode 100755 diff --git a/utils.py b/utils.py old mode 100644 new mode 100755