MP3-jPlayer - Version 2.3.3

Version Description

  • Added an option to use ID3 tag info for the track titles. The option is on the settings page under the files tab. Notes: 1)This option is for files uploaded to your media library only. 2)When selected players will display the title and artist info from the media's ID3 meta captured during upload. 3)This feature is supported in WP 3.6 and higher.
  • Added a settings page option for single file players to position the play button on the left or right hand side (equivalent to using the shortcode param 'flip').
  • Fixed library title pickup that was failing in certain scenarios.
  • Added some new developer hooks.
Download this release

Release Info

Developer simon.ward
Plugin Icon 128x128 MP3-jPlayer
Version 2.3.3
Comparing to
See all releases

Code changes from version 2.3.2 to 2.3.3

admin-colours.php CHANGED
@@ -1,764 +1,781 @@
1
- <?php
2
-
3
- function mp3j_print_colours_page()
4
- {
5
- global $MP3JP;
6
- $O = $MP3JP->getAdminOptions();
7
- $openTab = '0';
8
-
9
- if ( isset( $_POST['save_MP3JP'] ) )
10
- {
11
- //colours array
12
- foreach ( $O['colour_settings'] as $key => $val ) {
13
- if ( isset($_POST[ $key ]) ) {
14
- $O['colour_settings'][ $key ] = $_POST[ $key ];
15
- }
16
- }
17
-
18
- //TODO: move these out of colours array?
19
- $O['colour_settings']['titleBold'] = ( isset($_POST['titleBold']) ) ? "true" : "false";
20
- $O['colour_settings']['titleHide'] = ( isset($_POST['titleHide']) ) ? "true" : "false";
21
- $O['colour_settings']['titleItalic'] = ( isset($_POST['titleItalic']) ) ? "true" : "false";
22
- $O['colour_settings']['captionBold'] = ( isset($_POST['captionBold']) ) ? "true" : "false";
23
- $O['colour_settings']['captionItalic'] = ( isset($_POST['captionItalic']) ) ? "true" : "false";
24
- $O['colour_settings']['listBold'] = ( isset($_POST['listBold']) ) ? "true" : "false";
25
- $O['colour_settings']['listItalic'] = ( isset($_POST['listItalic']) ) ? "true" : "false";
26
- $O['colour_settings']['adminCheckerIMG'] = ( isset($_POST['adminCheckerIMG']) ) ? "true" : "false";
27
- $O['colour_settings']['imgOverflow'] = ( isset($_POST['imgOverflow']) ) ? "visible" : "hidden";
28
-
29
-
30
- $O['playerHeight'] = $MP3JP->prep_value( $_POST['playerHeight'] );
31
- $O['custom_stylesheet'] = $MP3JP->prep_path( $_POST['custom_stylesheet'] );
32
- $O['player_theme'] = $MP3JP->prep_value( $_POST['player_theme'] );
33
- $O['imageSize'] = $MP3JP->prep_value( $_POST['imageSize'] );
34
-
35
-
36
- //update
37
- update_option($MP3JP->adminOptionsName, $O);
38
- $MP3JP->theSettings = $O;
39
- ?>
40
- <!-- save message -->
41
- <div class="updated"><p><strong><?php _e("Settings Updated.", $MP3JP->textdomain );?></strong></p></div>
42
- <?php
43
- }
44
-
45
- $C = $O['colour_settings'];
46
-
47
-
48
- //Write js vars..
49
- //$css_urls = $MP3JP->getSkinData();
50
- $css_urls = $MP3JP->SKINS;
51
-
52
- //..current stylesheet url to js
53
- $player_theme = $O['player_theme'];
54
- if ( isset( $css_urls[ $player_theme ]['url'] ) ) {
55
- $js_current_css = "\nvar MP3J_THEME_PATH = '" . $css_urls[ $player_theme ]['url'] . "';";
56
- }
57
- else { //fall back to default
58
- $js_current_css = "\nvar MP3J_THEME_PATH = '" . $css_urls['defaultLight']['url'] . "';";
59
- }
60
-
61
-
62
- //..other stylesheet urls to js
63
- //$js_stylesheets = '';
64
- $c = count( $css_urls );
65
- $i = 1;
66
- $js_stylesheets = "\nvar SKINDATA = {";
67
- foreach ( $css_urls as $data )
68
- {
69
- //$js_stylesheets .= "\nvar " . $data['opValue'] . " = '" . $data['url'] . "';";
70
- $js_stylesheets .= "\n\t" .$data['opValue']. ": '" .$data['url']. "'" . ( $i === $c ? '' : ',' );
71
- $i++;
72
- }
73
- $js_stylesheets .= "\n};";
74
-
75
-
76
- //..write the vars
77
- echo '<script type="text/javascript">';
78
- echo $js_current_css;
79
- echo $js_stylesheets;
80
- //echo $js_colours;
81
-
82
- $imgSizesWP = array ( 'thumbnail', 'medium', 'large' );
83
-
84
- echo "\nvar imgDimsWP = {\n";
85
- foreach ( $imgSizesWP as $i => $size ) {
86
- $s = $MP3JP->getImageSizeWP( $size );
87
- echo "\t" . $size . "_w: " . $s['width'] . ",\n";
88
- echo "\t" . $size . "_h: " . $s['height'];
89
- echo ( $i < 2 ? ",\n" : "\n" );
90
- }
91
- echo "};\n";
92
- echo '</script>';
93
-
94
- //write css settings
95
- echo $MP3JP->writeColoursCSS();
96
- ?>
97
-
98
- <div class="wrap">
99
- <h2>&nbsp;</h2>
100
- <h1>Player Design</h1>
101
- <p>&nbsp;</p>
102
- <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
103
-
104
-
105
-
106
- <!-- THEME / URL -->
107
- <?php $rowCSS = ( $O['player_theme'] != "styleI" ) ? "display:none;" : ""; ?>
108
- <table>
109
- <tr>
110
- <td><strong>Skin</strong>:&nbsp;&nbsp;</td>
111
- <td><select name="player_theme" id="player-select" style="width:350px; font-weight:700;">
112
- <?php
113
- foreach ( $css_urls as $data ) {
114
- $selected = ( $data['opValue'] === $O['player_theme'] ) ? ' selected="selected"' : '';
115
- echo '<option value="' .$data['opValue']. '"' .$selected. '>' .$data['opName']. '</option>';
116
- }
117
- ?>
118
- </select>
119
- </td>
120
- <td></td>
121
- </tr>
122
- <tr id="customCSSrow" style="<?php echo $rowCSS; ?>">
123
- <td><span id="player-csssheet">&nbsp;&nbsp; url:&nbsp;&nbsp;</span></td>
124
- <td><input type="text" id="mp3fcss" name="custom_stylesheet" style="width:100%;" value="<?php echo $O['custom_stylesheet']; ?>" /></td>
125
- <td><span class="button-secondary" id="reload_stylesheet_button" style="font-size:90%; font-weight:700;">&nbsp;Reload&nbsp;</span></td>
126
- </tr>
127
- </table>
128
- <br>
129
-
130
-
131
-
132
- <!-- PLAYER PREVIEW -->
133
- <div id="sizer" style="overflow:hidden; background-color:<?php echo $C['adminBG']; ?>; width:<?php echo $C['adminSizer_w']; ?>; height:<?php echo $C['adminSizer_h']; ?>;">
134
- <div id="display_player_liner">
135
-
136
- <?php
137
- $heightProp = ( !empty($O['playerHeight']) ) ? " height:" . $O['playerHeight'] . ";" : "";
138
- $imgCSS = ''; //inline css added to image wrapper
139
- $tweakerClass = ''; //class affecting image
140
- if ( 'autoW' === $O['imageSize'] ) { //fit images to player width.
141
- $imgCSS .= ' width:100%; height:' .$O['playerHeight']. ';';
142
- }
143
- elseif ( 'autoH' === $O['imageSize'] ) { //fit images to player height.
144
- $imgCSS .= ' width:auto; height:' .$O['playerHeight']. ';';
145
- $tweakerClass = ' Himg';
146
- }
147
- elseif ( 'full' === $O['imageSize'] ) { //leave images alone.
148
- $imgCSS .= ' width:auto; height:' .$O['playerHeight']. ';';
149
- $tweakerClass = ' Fimg';
150
- }
151
- else { //use specific WP media sizes, ad auto set the player height.
152
- $dims = $MP3JP->getImageSizeWP( $O['imageSize'] );
153
- $imgCSS .= ' width:' .$dims['width']. 'px; height:' .$dims['height']. 'px;';
154
- $heightProp = ' height:' .$dims['height']. 'px;';
155
- }
156
-
157
- $CSSext = "-mjp";
158
- $titleAlign = ' ' . $C['titleAlign'] . $CSSext;
159
- $listAlign = ' ' . $C['listAlign'] . $CSSext;
160
- $imageAlign = ' ' . $C['imageAlign'] . $CSSext;
161
- $ulClass = ( $C['playlist_tint'] === 'none' ) ? '' : ' ' . $C['playlist_tint'] . $CSSext;
162
- $font1Class = ( $C['font_family_1'] === 'theme' ) ? '' : ' ' . $C['font_family_1'] . $CSSext;
163
- $font2Class = ( $C['font_family_2'] === 'theme' ) ? '' : ' ' . $C['font_family_2'] . $CSSext;
164
- $posbarClass = ( $C['posbar_tint'] === 'none' ) ? '' : ' ' . $C['posbar_tint'] . $CSSext;
165
- $liClass = ( $C['list_divider'] === 'none' ) ? '' : ' ' . $C['list_divider'] . $CSSext;
166
- $titleBold = ( $C['titleBold'] === 'true' ) ? ' bold' . $CSSext : ' norm' . $CSSext;
167
- $titleItalic = ( $C['titleItalic'] === 'true' ) ? ' italic' . $CSSext : ' plain' . $CSSext;
168
- $captionWeight =( $C['captionBold'] === 'true' ) ? ' childBold' . $CSSext : ' childNorm' . $CSSext;
169
- $captionItalic =( $C['captionItalic'] === 'true' ) ? ' childItalic' . $CSSext : ' childPlain' . $CSSext;
170
- $listWeight = ( $C['listBold'] === 'true' ) ? ' childBold' . $CSSext : ' childNorm' . $CSSext;
171
- $listItalic = ( $C['listItalic'] === 'true' ) ? ' childItalic' . $CSSext : ' childPlain' . $CSSext;
172
- ?>
173
-
174
- <div id="wrapperMI_1" class="wrap-mjp <?php echo $C['userClasses']; ?>" style="position:relative; padding:0px 0px 0px 0px; margin:0px; width:100%;">
175
- <div class="subwrap-MI">
176
-
177
- <div class="jp-innerwrap">
178
- <div class="innerx"></div>
179
- <div class="innerleft"></div>
180
- <div class="innerright"></div>
181
- <div class="innertab" id="playerBG1"></div>
182
-
183
- <div class="interface-mjp<?php echo $font1Class; ?>" style="<?php echo $heightProp; ?>" id="playerT1">
184
- <div id="image-mjp" class="MI-image<?php echo $tweakerClass . $imageAlign; ?>" style="<?php echo $imgCSS . ' overflow:' . $C['imgOverflow'] . ';'; ?>"></div>
185
- <div id="trackTitles" class="player-track-title<?php echo $titleAlign . $titleBold . $titleItalic . $captionWeight . $captionItalic; ?>" style="left:<?php echo $C['titleOffset']; ?>; right:<?php echo $C['titleOffsetR']; ?>; top:<?php echo $C['titleTop']; ?>;">Example Track Title<div>Example Caption</div></div>
186
-
187
- <div id="bars-mjp" class="bars_holder">
188
- <div class="loadMI_mp3j" id="playerBG3" style="width:100%;"></div>
189
- <div class="poscolMI_mp3j<?php echo $posbarClass; ?>" id="playerBG4" style="width:60%;"></div>
190
- <div class="posbarMI_mp3j" style="width:70%;"></div>
191
- </div>
192
-
193
- <div id="P-Time-MI_1" class="jp-play-time">3:24</div>
194
- <div id="T-Time-MI_1" class="jp-total-time">10:00</div>
195
- <div id="statusMI_1" class="statusMI"><span class="mjp-playing">Playing</span></div>
196
-
197
- <div class="transport-MI">
198
- <div class="pause-mjp" id="playpause_mp3j_1">Pause</div>
199
- <div class="stop-mjp" id="stop_mp3j_1">Stop</div>
200
- <div class="next-mjp" id="Next_mp3j_1">Next&raquo;</div>
201
- <div class="prev-mjp" id="Prev_mp3j_1">&laquo;Prev</div>
202
- </div>
203
-
204
- <div class="buttons-wrap-mjp">
205
- <div class="playlist-toggle-MI" id="listtog-mjp">HIDE PLAYLIST</div>
206
- <div class="mp3j-popout-MI"><?php echo $O['popout_button_title']; ?></div>
207
- <div id="download_mp3j_1" class="dloadmp3-MI"></div>
208
- </div>
209
- </div>
210
-
211
- <div class="mjp-volwrap">
212
- <div class="MIsliderVolume" id="volslider-mjp">
213
- <div class="ui-widget-header" style="position:absolute; left:0; width:100%; height:100%;"></div>
214
- <div class="ui-slider-handle" style="position:absolute; left:100%;"></div>
215
- </div>
216
- <div class="innerExt1" id="innerExt1_1"></div>
217
- <div class="innerExt2" id="innerExt2_1"></div>
218
- </div>
219
- </div>
220
-
221
- <div class="listwrap_mp3j" id="listwrap-mjp" style="overflow:auto; max-height:450px;<?php echo ( $O['playlist_show'] !== 'true' ? ' display:none;' : '' ); ?>">
222
- <div class="wrapper-mjp">
223
- <div class="playlist-colour" id="playerBG2"></div>
224
- <div class="wrapper-mjp">
225
- <ul id="ul-mjp" class="ul-mjp<?php echo $ulClass . $liClass . $listWeight. $listItalic . $listAlign; ?>">
226
- <li class="li-mjp"><a id="playerT2" class="a-mjp" href="#">Example List Item</a></li>
227
- <li class="li-mjp"><a id="playerT3" class="a-mjp" style="background:<?php echo $C['listBGa_hover']; ?>; color:<?php echo $C['list_hover_colour']; ?>;" href="#">Example List item (hover)</a></li>
228
- <li class="li-mjp mjp-li-last"><a id="playerT4" class="a-mjp" style="background:<?php echo $C['listBGa_current']; ?>; color:<?php echo $C['list_current_colour']; ?>;" href="#">Example List Item (Current)</a></li>
229
- </ul>
230
- </div>
231
- </div>
232
- </div>
233
-
234
- </div>
235
- </div>
236
-
237
- <!-- Admin BG Colour -->
238
- <div class="testingSettings">
239
- <input type="text" id="adminBG" name="adminBG" value="<?php echo $C['adminBG']; ?>" />
240
- </div>
241
-
242
- </div><!-- close #display_player_liner -->
243
- </div><!-- close #sizer -->
244
-
245
-
246
-
247
- <!-- TABS start -->
248
- <div class="mp3j-tabbuttons-wrap">
249
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_0">Text</div>
250
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_1">Areas</div>
251
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_2">Fonts</div>
252
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_3">Alignments</div>
253
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_4">Mods</div>
254
- <br class="clearB" />
255
- </div>
256
- <div class="mp3j-tabs-wrap">
257
-
258
- <!-- TAB TEXT -->
259
- <div class="mp3j-tab" id="mp3j_tab_0">
260
- <div style="float:left; max-width:390px; min-height:273px; padding:5px;">
261
- <table class="colours unselectable">
262
- <tr>
263
- <td><strong>Titles:</strong></td>
264
- <td>
265
- <div class="patch">
266
- <div id="patchT1" onclick="MP3jP.clickPatch('T1','');" class="PatchCol" style="background-color:<?php echo $C['screen_text_colour']; ?>;" title="Retrieve"></div>
267
- <div id="minusT1" class="minus" onclick="MP3jP.clickMinus('T1','color','T1');"></div>
268
- <div id="plusT1" class="plus" onclick="MP3jP.clickPlus('T1','color');"></div>
269
- </div>
270
- </td>
271
- <td><input type="checkbox" name="titleHide" id="titleHide" value="true"<?php echo ( $C['titleHide'] === 'true' ? ' checked="checked"' : ''); ?>/><label for="titleHide" style="font-weight:500;">&nbsp;Hide</label></td>
272
- <td></td>
273
- <td></td>
274
-
275
- </tr>
276
- <tr>
277
- <td><strong>Playlist:</strong></td>
278
- <td>
279
- <div class="patch">
280
- <div id="patchT2" onclick="MP3jP.clickPatch('T2','');" class="PatchCol" style="background-color:<?php echo $C['list_text_colour']; ?>;" title="Retrieve"></div>
281
- <div id="minusT2" class="minus" onclick="MP3jP.clickMinus('T2','color','T2');"></div>
282
- <div id="plusT2" class="plus" onclick="MP3jP.clickPlus('T2','color');"></div>
283
- </div>
284
- </td>
285
- <td></td>
286
- <td></td>
287
- <td></td>
288
- </tr>
289
- <tr>
290
- <td>&nbsp;&nbsp;&nbsp;<span class="description">Hover:</span></td>
291
- <td>
292
- <div class="patch">
293
- <div id="patchT3" onclick="MP3jP.clickPatch('T3','');" class="PatchCol" style="background-color:<?php echo $C['list_hover_colour']; ?>;" title="Retrieve"></div>
294
- <div id="minusT3" class="minus" onclick="MP3jP.clickMinus('T3','color','T3');"></div>
295
- <div id="plusT3" class="plus" onclick="MP3jP.clickPlus('T3','color');"></div>
296
- </div>
297
- </td>
298
- <td>
299
- <div class="patch fR">
300
- <div id="patchBG5" onclick="MP3jP.clickPatch('BG5','');" class="PatchCol" style="background-color:<?php echo $C['listBGa_hover']; ?>;" title="Retrieve"></div>
301
- <div id="minusBG5" class="minus" onclick="MP3jP.clickMinus('BG5','background-color','T3');"></div>
302
- <div id="plusBG5" class="plus" onclick="MP3jP.clickPlus('BG5','background-color','T3');"></div>
303
- </div>
304
- </td>
305
- <td><span class="description">Background</span></td>
306
- <td></td>
307
- </tr>
308
- <tr>
309
- <td>&nbsp;&nbsp;&nbsp;<span class="description">Current:</span></td>
310
- <td>
311
- <div class="patch">
312
- <div id="patchT4" onclick="MP3jP.clickPatch('T4','');" class="PatchCol" style="background-color:<?php echo $C['list_current_colour']; ?>;" title="Retrieve"></div>
313
- <div id="minusT4" class="minus" onclick="MP3jP.clickMinus('T4','color','T4');"></div>
314
- <div id="plusT4" class="plus" onclick="MP3jP.clickPlus('T4','color');"></div>
315
- </div>
316
- </td>
317
- <td>
318
- <div class="patch fR">
319
- <div id="patchBG6" onclick="MP3jP.clickPatch('BG6','');" class="PatchCol" style="background-color:<?php echo $C['listBGa_current']; ?>;" title="Retrieve"></div>
320
- <div id="minusBG6" class="minus" onclick="MP3jP.clickMinus('BG6','background-color','T4');"></div>
321
- <div id="plusBG6" class="plus" onclick="MP3jP.clickPlus('BG6','background','T4');"></div>
322
- </div>
323
- </td>
324
- <td><span class="description">Background</span></td>
325
- <td></td>
326
- </tr>
327
- </table>
328
-
329
- <p style="margin:28px 0 12px 0; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields1').toggle();">Show Field Values</a></p>
330
- <div id="hiddenFields1" style="display:none;">
331
- <table class="colours">
332
- <tr>
333
- <td>Titles:</td>
334
- <td><input type="text" id="T1" name="screen_text_colour" value="<?php echo $C['screen_text_colour']; ?>" /></td>
335
- </tr>
336
- <tr>
337
- <td>List:</td>
338
- <td><input type="text" id="T2" name="list_text_colour" value="<?php echo $C['list_text_colour']; ?>" /></td>
339
- </tr>
340
- <tr>
341
- <td>List Hover:</td>
342
- <td><input type="text" id="T3" name="list_hover_colour" value="<?php echo $C['list_hover_colour']; ?>" /></td>
343
- </tr>
344
- <tr>
345
- <td>List Hover BG:</td>
346
- <td><input id="BG5" type="text" name="listBGa_hover" value="<?php echo $C['listBGa_hover']; ?>" /></td>
347
- </tr>
348
- <tr>
349
- <td>List Current:</td>
350
- <td><input type="text" id="T4" name="list_current_colour" value="<?php echo $C['list_current_colour']; ?>" /></td>
351
- </tr>
352
- <tr>
353
- <td>List Current BG:</td>
354
- <td><input id="BG6" type="text" name="listBGa_current" value="<?php echo $C['listBGa_current']; ?>" /></td>
355
- </tr>
356
- <tr style="display:none;">
357
- <td>Track</td>
358
- <td>
359
- Bold <input type="checkbox" value="true" id="titleBold" onclick="MP3jP.fontCheckers('#titleBold', '#trackTitles', 'bold', 'norm');" name="titleBold"<?php if ( 'true' == $C['titleBold'] ) { echo ' checked="checked"'; } ?> />
360
- <br>Italic <input type="checkbox" value="true" id="titleItalic" onclick="MP3jP.fontCheckers('#titleItalic', '#trackTitles','italic', 'plain');" name="titleItalic"<?php if ( 'true' == $C['titleItalic'] ) { echo ' checked="checked"'; } ?> />
361
- </td>
362
- </tr>
363
- <tr style="display:none;">
364
- <td>Caption</td>
365
- <td>
366
- Bold <input type="checkbox" value="true" id="captionBold" onclick="MP3jP.fontCheckers('#captionBold', '#trackTitles', 'childBold', 'childNorm');" name="captionBold"<?php if ( 'true' == $C['captionBold'] ) { echo ' checked="checked"'; } ?> />
367
- <br>Italic <input type="checkbox" value="true" id="captionItalic" onclick="MP3jP.fontCheckers('#captionItalic', '#trackTitles','childItalic', 'childPlain');" name="captionItalic"<?php if ( 'true' == $C['captionItalic'] ) { echo ' checked="checked"'; } ?> />
368
- </td>
369
- </tr>
370
- <tr style="display:none;">
371
- <td>Playlist</td>
372
- <td>
373
- Bold <input type="checkbox" value="true" id="listBold" onclick="MP3jP.fontCheckers('#listBold', '#ul-mjp', 'childBold', 'childNorm');" name="listBold"<?php if ( 'true' == $C['listBold'] ) { echo ' checked="checked"'; } ?> />
374
- <br>Italic <input type="checkbox" value="true" id="listItalic" onclick="MP3jP.fontCheckers('#listItalic', '#ul-mjp','childItalic', 'childPlain');" name="listItalic"<?php if ( 'true' == $C['listItalic'] ) { echo ' checked="checked"'; } ?> />
375
- </td>
376
- </tr>
377
- </table>
378
- </div>
379
- </div>
380
-
381
- <div style="float:left; width:230px; height:273px; overflow:hidden;">
382
- <input type="text" value="#5985bc" id="spectrumPicker" />
383
- </div>
384
- </div><!-- close TAB -->
385
-
386
-
387
- <!-- TAB AREAS -->
388
- <div class="mp3j-tab" id="mp3j_tab_1">
389
- <div style="float:left; width:380px; min-height:273px; padding:5px;">
390
- <table class="colours unselectable">
391
- <tr>
392
- <td><strong>Screen</strong>:</td>
393
- <td>
394
- <div class="patch">
395
- <div id="patchBG1" onclick="MP3jP.clickPatch('BG1','Alpha');" class="PatchCol" style="background-color:<?php echo $C['screen_colour']; ?>;" title="Retrieve"></div>
396
- <div id="minusBG1" class="minus" onclick="MP3jP.clickMinus('BG1','background-color','BG1');"></div>
397
- <div id="plusBG1" class="plus" onclick="MP3jP.clickPlus('BG1','background-color');"></div>
398
- </div>
399
- </td>
400
- <td></td>
401
- <td></td>
402
- </tr>
403
- <tr>
404
- <td><strong>Load Bar</strong>:</td>
405
- <td>
406
- <div class="patch">
407
- <div id="patchBG3" onclick="MP3jP.clickPatch('BG3','Alpha');" class="PatchCol" style="background-color:<?php echo $C['loadbar_colour']; ?>;" title="Retrieve"></div>
408
- <div id="minusBG3" class="minus" onclick="MP3jP.clickMinus('BG3','background-color','BG3');"></div>
409
- <div id="plusBG3" class="plus" onclick="MP3jP.clickPlus('BG3','background-color');"></div>
410
- </div>
411
- </td>
412
- <td><span class="description">Indicator</span></td>
413
- <td><select name="indicator" style="width:90px; font-size:11px;">
414
- <option value="tint" <?php if ( 'tint' == $C['indicator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Greyscale</option>
415
- <option value="colour" <?php if ( 'colour' == $C['indicator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Colour</option>
416
- </select></td>
417
- </tr>
418
- <tr>
419
- <td><strong>Position Bar</strong>:</td>
420
- <td>
421
- <div class="patch">
422
- <div id="patchBG4" onclick="MP3jP.clickPatch('BG4','Alpha');" class="PatchCol" style="background-color:<?php echo $C['posbar_colour']; ?>;" title="Retrieve"></div>
423
- <div id="minusBG4" class="minus" onclick="MP3jP.clickMinus('BG4','background-color','BG4');"></div>
424
- <div id="plusBG4" class="plus" onclick="MP3jP.clickPlus('BG4','background-color');"></div>
425
- </div>
426
- </td>
427
- <td><span class="description">Gradient</span></td>
428
- <td><select name="posbar_tint" id="posbar_tint" style="width:90px; font-size:11px;">
429
- <option value="none" <?php if ( 'none' == $C['posbar_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>None</option>
430
- <option value="soften" <?php if ( 'soften' == $C['posbar_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Light grad</option>
431
- <option value="softenT" <?php if ( 'softenT' == $C['posbar_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Pipe</option>
432
- <option value="darken" <?php if ( 'darken' == $C['posbar_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Dark grad</option>
433
- </select></td>
434
- </tr>
435
- <tr>
436
- <td><strong>Playlist</strong>:</td>
437
- <td>
438
- <div class="patch">
439
- <div id="patchBG2" onclick="MP3jP.clickPatch('BG2','Alpha');" class="PatchCol" style="background-color:<?php echo $C['playlist_colour']; ?>;" title="Retrieve"></div>
440
- <div id="minusBG2" class="minus" onclick="MP3jP.clickMinus('BG2','background-color','BG2');"></div>
441
- <div id="plusBG2" class="plus" onclick="MP3jP.clickPlus('BG2','background-color');"></div>
442
- </div>
443
- </td>
444
- <td><span class="description">Gradient</span></td>
445
- <td><select id="playlist_tint" name="playlist_tint" style="width:90px; font-size:11px;">
446
- <option value="none" <?php if ( 'none' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>None</option>
447
- <option value="lighten1" <?php if ( 'lighten1' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Light Short</option>
448
- <option value="lighten2" <?php if ( 'lighten2' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Light Long</option>
449
- <option value="darken1" <?php if ( 'darken1' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Dark Short</option>
450
- <option value="darken2" <?php if ( 'darken2' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Dark Long</option>
451
- </select></td>
452
- </tr>
453
- <tr>
454
- <td></td>
455
- <td></td>
456
- <td><span class="description">Dividers</span></td>
457
- <td><select id="list_divider" name="list_divider" style="width:100%; font-size:11px;">
458
- <option value="none" <?php if ( 'none' == $C['list_divider'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>None</option>
459
- <option value="light" <?php if ( 'light' == $C['list_divider'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Light</option>
460
- <option value="med" <?php if ( 'med' == $C['list_divider'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Medium</option>
461
- <option value="dark" <?php if ( 'dark' == $C['list_divider'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Dark</option>
462
- </select></td>
463
- </tr>
464
- </table>
465
-
466
- <p style="margin:0px 0 12px 0px; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields0').toggle();">Show Field Values</a></p>
467
- <div id="hiddenFields0" style="display:none;">
468
- <table class="colours">
469
- <tr>
470
- <td>Screen:</td>
471
- <td><input id="BG1" type="text" name="screen_colour" value="<?php echo $C['screen_colour']; ?>" style="width:200px;" /></td>
472
- </tr>
473
- <tr>
474
- <td>Load Bar:</td>
475
- <td><input id="BG3" type="text" name="loadbar_colour" value="<?php echo $C['loadbar_colour']; ?>" style="width:200px;" /></td>
476
- </tr>
477
- <tr>
478
- <td>Position Bar:</td>
479
- <td><input id="BG4" type="text" name="posbar_colour" value="<?php echo $C['posbar_colour']; ?>" style="width:200px;" /></td>
480
- </tr>
481
- <tr>
482
- <td>Playlist:</td>
483
- <td><input id="BG2" type="text" name="playlist_colour" value="<?php echo $C['playlist_colour']; ?>" style="width:200px;" /></td>
484
- </tr>
485
- </table>
486
- </div>
487
- </div>
488
-
489
- <div style="float:left; width:230px; min-height:273px; overflow:hidden;">
490
- <input type="text" value="rgb(80, 168, 79)" id="spectrumPickerAlpha" />
491
- </div>
492
- </div><!-- close TAB -->
493
-
494
-
495
- <!-- TAB FONTS -->
496
- <div class="mp3j-tab" id="mp3j_tab_2">
497
- <div style=" min-height:250px; padding:10px 5px 5px 5px;">
498
- <table class="colours unselectable">
499
- <tr>
500
- <td><strong>Titles:</strong></td>
501
- <td><select id="font_family_1" name="font_family_1" style="width:110px; font-size:11px;">
502
- <option value="theme"<?php if ( 'theme' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Theme's Font</option>
503
- <option value="arial"<?php if ( 'arial' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Arial</option>
504
- <option value="verdana"<?php if ( 'verdana' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Verdana</option>
505
- <option value="times"<?php if ( 'times' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Times</option>
506
- <option value="palatino"<?php if ( 'palatino' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Palatino</option>
507
- <option value="courier"<?php if ( 'courier' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Courier New</option>
508
- <option value="lucida"<?php if ( 'lucida' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Lucida Console</option>
509
- <option value="gill"<?php if ( 'gill' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Gill Sans</option>
510
- </select></td>
511
- <td style="width:85px;"><div class="sliderWrap"><div id="fontSlider_1" class="fontSizeSlider"></div></div></td>
512
- <td><input type="text" id="font_size_1" name="font_size_1" style="width:30px; font-size:11px;" value="<?php echo $C['font_size_1']; ?>" /> <span class="description">px</span></td>
513
- </tr>
514
- <tr>
515
- <td></td>
516
- <td style="text-align:right;"><span class="description">Track:&nbsp;&nbsp;</span>
517
- <label for="titleBold" id="titleBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['titleBold'] ) { echo ' formatOn'; } ?>">B</label>
518
- <label for="titleItalic" id="titleItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['titleItalic'] ) { echo ' formatOn'; } ?>">i</label>
519
- </td>
520
- <td></td>
521
- <td></td>
522
- </tr>
523
- <tr>
524
- <td></td>
525
- <td style="text-align:right;"><span class="description">Caption:&nbsp;&nbsp;</span>
526
- <label for="captionBold" id="captionBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['captionBold'] ) { echo ' formatOn'; } ?>">B</label>
527
- <label for="captionItalic" id="captionItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['captionItalic'] ) { echo ' formatOn'; } ?>">i</label>
528
- </td>
529
- <td></td>
530
- <td></td>
531
- </tr>
532
- <tr>
533
- <td colspan="4">&nbsp;</td>
534
- </tr>
535
- <tr>
536
- <td><strong>Playlist:</strong></td>
537
- <td><select id="font_family_2" name="font_family_2" style="width:110px; font-size:11px;">
538
- <option value="theme"<?php if ( 'theme' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Theme's Font</option>
539
- <option value="arial"<?php if ( 'arial' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Arial</option>
540
- <option value="verdana"<?php if ( 'verdana' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Verdana</option>
541
- <option value="times"<?php if ( 'times' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Times</option>
542
- <option value="palatino"<?php if ( 'palatino' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Palatino</option>
543
- <option value="courier"<?php if ( 'courier' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Courier New</option>
544
- <option value="lucida"<?php if ( 'lucida' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Lucida Console</option>
545
- <option value="gill"<?php if ( 'gill' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Gill Sans</option>
546
- </select></td>
547
-
548
- <td><div class="sliderWrap"><div id="fontSlider_2" class="fontSizeSlider"></div></div></td>
549
- <td><input type="text" id="font_size_2" name="font_size_2" style="width:30px; font-size:11px;" value="<?php echo $C['font_size_2']; ?>" /> <span class="description">px</span></td>
550
- </tr>
551
- <tr>
552
- <td></td>
553
- <td style="text-align:right;">
554
- <label for="listBold" id="listBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['listBold'] ) { echo ' formatOn'; } ?>">B</label>
555
- <label for="listItalic" id="listItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['listItalic'] ) { echo ' formatOn'; } ?>">i</label>
556
- </td>
557
- <td></td>
558
- <td></td>
559
- </tr>
560
- </table>
561
- </div>
562
- </div><!-- close TAB -->
563
-
564
-
565
- <!-- TAB ALIGNMENT -->
566
- <div class="mp3j-tab" id="mp3j_tab_3">
567
- <div style=" min-height:250px; padding:10px 5px 5px 5px;">
568
- <?php
569
- $greyoutClass = '';
570
- $quietClass = '';
571
- if ( $O['imageSize'] === "thumbnail" || $O['imageSize'] === "medium" || $O['imageSize'] === "large" ) {
572
- $greyoutClass = " quietInput";
573
- $quietClass = " quietText";
574
- }
575
- ?>
576
- <table class="colours unselectable">
577
- <tr>
578
- <td><span id="playerHeightWrap1" class="<?php echo $quietClass; ?>"><strong>Player Height</strong>:</span></td>
579
- <td colspan="2">
580
- <div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#playerT1').addClass('highlight');" onmouseout="jQuery('#playerT1').removeClass('highlight');">
581
- <div id="offsetSlider_5" class="fontSizeSlider" style="width:250px;"></div>
582
- </div>
583
- </td>
584
- <td><input type="text" id="playerHeight" class="<?php echo $greyoutClass; ?>" style="width:50px; font-size:11px;" name="playerHeight" value="<?php echo $O['playerHeight']; ?>" />
585
- <span id="playerHeightWrap2" class="description <?php echo $quietClass; ?>"></span></td>
586
- <td></td>
587
- </tr>
588
- <tr>
589
- <td><strong>Images</strong>:</td>
590
- <td><select name="imageAlign" id="imageAlign" style="font-weight:500;">
591
- <option value="left"<?php if ( 'left' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>>Left</option>
592
- <option value="centre"<?php if ( 'centre' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>>Centre</option>
593
- <option value="right"<?php if ( 'right' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>>Right</option>
594
- </select>
595
- </td>
596
- <td><select name="imageSize" id="imageSize" style="width:165px; font-weight:500;">
597
- <option value="full"<?php if ( 'full' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Original size</option>
598
- <option value="autoW"<?php if ( 'autoW' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Fit to player width</option>
599
- <option value="autoH"<?php if ( 'autoH' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Fit to player height</option>
600
- <option value="thumbnail"<?php if ( 'thumbnail' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Thumbnail</option>
601
- <option value="medium"<?php if ( 'medium' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Medium</option>
602
- <option value="large"<?php if ( 'large' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Large</option>
603
- </select>
604
- </td>
605
- <td>
606
- <input type="checkbox" name="imgOverflow" id="imgOverflow" value="visible"<?php echo ( $C['imgOverflow'] === 'visible' ? ' checked="checked"' : ''); ?>/>
607
- <label for="imgOverflow" class="f500">overflow</label>
608
- </td>
609
- <td></td>
610
- </tr>
611
- <tr>
612
- <td><strong>Playlist</strong>:</td>
613
- <td><select name="listAlign" id="listAlign">
614
- <option value="left"<?php if ( 'left' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>>Left</option>
615
- <option value="centre"<?php if ( 'centre' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>>Centre</option>
616
- <option value="right"<?php if ( 'right' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>>Right</option>
617
- </select></td>
618
- <td></td>
619
- <td></td>
620
- <td></td>
621
- </tr>
622
- <tr>
623
- <td><strong>Titles</strong>:</td>
624
- <td><select name="titleAlign" id="titleAlign">
625
- <option value="left"<?php if ( 'left' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>>Left</option>
626
- <option value="centre"<?php if ( 'centre' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>>Centre</option>
627
- <option value="right"<?php if ( 'right' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>>Right</option>
628
- </select></td>
629
- <td></td>
630
- <td></td>
631
- <td></td>
632
- </tr>
633
- <tr>
634
- <td style="text-align:right;"><span class="description" style="font-size:11px;">Top</span></td>
635
- <td colspan="2">
636
- <div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
637
- <div id="offsetSlider_6" class="fontSizeSlider" style="width:250px;"></div>
638
- </div>
639
- </td>
640
- <td><input type="text" name="titleTop" id="titleTop" style="width:45px; font-size:11px;" value="<?php echo $C['titleTop']; ?>" />
641
- <span class="description" style="font-size:11px;">px or %</span>
642
- </td>
643
- <td></td>
644
- </tr>
645
- <tr>
646
- <td style="text-align:right;"><span class="description" style="font-size:11px;">Margins</span></td>
647
- <td colspan="2">
648
- <div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
649
- <div id="offsetSlider_1" class="fontSizeSlider" style="width:250px;"></div>
650
- </div>
651
- </td>
652
- <td><input type="text" name="titleOffset" id="titleOffset1" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffset']; ?>" />
653
- <input type="text" name="titleOffsetR" id="titleOffset2" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffsetR']; ?>" />
654
- <span class="description" style="font-size:11px;">px or %</span>
655
- </td>
656
- <td></td>
657
- </tr>
658
- </table>
659
- </div>
660
- </div><!-- Close Tab -->
661
-
662
-
663
- <!-- TAB MODS -->
664
- <div class="mp3j-tab" id="mp3j_tab_4">
665
- <div style="padding:10px 5px 5px 5px; min-height:250px;">
666
- <strong>Modifiers:</strong>
667
- <br><br><input type="text" name="userClasses" id="userClasses" value="<?php echo $C['userClasses']; ?>" style="width:100%; max-width:500px;"/>
668
- <br><br><span class="description">&nbsp;Use this field to add modifier names. Use a space to separate names, the following are supported by default:</span>
669
- <br><br>
670
- <table class="colours unselectable">
671
- <tr>
672
- <td><code>nostop</code></td>
673
- <td>Hides the stop button</td>
674
- </tr>
675
- <tr>
676
- <td><code>nopn</code></td>
677
- <td>Hides the prev/next buttons</td>
678
- </tr>
679
- <tr>
680
- <td><code>novol</code></td>
681
- <td>Hides the volume control</td>
682
- </tr>
683
- <tr>
684
- <td><code>notitle</code></td>
685
- <td>Hides the track title and caption</td>
686
- </tr>
687
- <tr>
688
- <td><code>nolistbutton</code></td>
689
- <td>Hides the playlist button</td>
690
- </tr>
691
- <tr>
692
- <td><code>nopopoutbutton</code></td>
693
- <td>Hides the popout button</td>
694
- </tr>
695
- <tr>
696
- <td><code>fullbars</code></td>
697
- <td>Position slider fills the screen/image area</td>
698
- </tr>
699
- <tr>
700
- <td><code>nobars</code></td>
701
- <td>removes the position and load bars</td>
702
- </tr>
703
- <tr>
704
- <td><code>nocase</code></td>
705
- <td>removes the container bar around the buttons</td>
706
- </tr>
707
- </table>
708
- </div>
709
- </div><!-- Close Tab -->
710
-
711
- </div><!-- close TABS wrapper -->
712
-
713
-
714
-
715
- <!-- TEST IMAGE -->
716
- <br class="clearB" /><hr>
717
- <div class="testingSettingsBottom">
718
- <input type="checkbox" id="adminCheckerIMG" name="adminCheckerIMG" value="true" <?php if ( $C['adminCheckerIMG'] == "true" ) { echo 'checked="checked" '; } ?>/>
719
- <label for="adminCheckerIMG"><strong>Test Image</strong> &nbsp; url:</label> <input type="text" id="adminIMG" name="adminIMG" style="width:300px;" value="<?php echo $C['adminIMG']; ?>" />
720
- <span class="button-secondary" style="font-size:11px; height:25px;" id="reloadIMG">&nbsp;Reload&nbsp;</span>
721
- </div>
722
-
723
-
724
-
725
- <!-- SAVE SETTINGS -->
726
- <div class="savewrap">
727
- <input type="submit" name="save_MP3JP" class="button-primary" style="font-weight:700;" value="&nbsp;Save All Changes &nbsp;" />
728
- <input type="hidden" name="version_MP3JP" value="<?php echo $MP3JP->version_of_plugin; ?>" />
729
- <input type="hidden" name="adminSizer_w" id="adminSizer_w" value="<?php echo $C['adminSizer_w']; ?>" />
730
- <input type="hidden" name="adminSizer_h" id="adminSizer_h" value="<?php echo $C['adminSizer_h']; ?>" />
731
- </div>
732
-
733
-
734
-
735
- </form><!-- close form -->
736
- <br>
737
- <hr>
738
- <div style="margin: 15px 0px 0px 0px; min-height:30px;">
739
- <p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
740
- <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/">Help & Docs &raquo;</a>
741
- &nbsp;&nbsp; <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins">Get Skins &raquo;</a>
742
- &nbsp;&nbsp; <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons">Get Add-Ons &raquo;</a>
743
- </p>
744
- </div>
745
-
746
-
747
- <div style="margin: 15px auto; height:100px;">
748
- </div>
749
-
750
-
751
-
752
-
753
-
754
- </div><!-- close .wrap -->
755
-
756
- <script>
757
- jQuery(document).ready( function () {
758
- MP3jP.init();
759
- });
760
- </script>
761
-
762
- <?php
763
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
764
  ?>
1
+ <?php
2
+
3
+ function mp3j_print_colours_page()
4
+ {
5
+ global $MP3JP;
6
+ $O = $MP3JP->getAdminOptions();
7
+ $openTab = '0';
8
+
9
+ if ( isset( $_POST['save_MP3JP'] ) )
10
+ {
11
+ //colours array
12
+ foreach ( $O['colour_settings'] as $key => $val ) {
13
+ if ( isset($_POST[ $key ]) ) {
14
+ $O['colour_settings'][ $key ] = $_POST[ $key ];
15
+ }
16
+ }
17
+
18
+ //TODO: move these out of colours array?
19
+ $O['colour_settings']['titleBold'] = ( isset($_POST['titleBold']) ) ? "true" : "false";
20
+ $O['colour_settings']['titleHide'] = ( isset($_POST['titleHide']) ) ? "true" : "false";
21
+ $O['colour_settings']['titleItalic'] = ( isset($_POST['titleItalic']) ) ? "true" : "false";
22
+ $O['colour_settings']['captionBold'] = ( isset($_POST['captionBold']) ) ? "true" : "false";
23
+ $O['colour_settings']['captionItalic'] = ( isset($_POST['captionItalic']) ) ? "true" : "false";
24
+ $O['colour_settings']['listBold'] = ( isset($_POST['listBold']) ) ? "true" : "false";
25
+ $O['colour_settings']['listItalic'] = ( isset($_POST['listItalic']) ) ? "true" : "false";
26
+ $O['colour_settings']['adminCheckerIMG'] = ( isset($_POST['adminCheckerIMG']) ) ? "true" : "false";
27
+ $O['colour_settings']['imgOverflow'] = ( isset($_POST['imgOverflow']) ) ? "visible" : "hidden";
28
+
29
+
30
+ $O['playerHeight'] = $MP3JP->prep_value( $_POST['playerHeight'] );
31
+ $O['custom_stylesheet'] = $MP3JP->prep_path( $_POST['custom_stylesheet'] );
32
+ $O['player_theme'] = $MP3JP->prep_value( $_POST['player_theme'] );
33
+ $O['imageSize'] = $MP3JP->prep_value( $_POST['imageSize'] );
34
+
35
+
36
+ //update
37
+ update_option($MP3JP->adminOptionsName, $O);
38
+ $MP3JP->theSettings = $O;
39
+
40
+ MJPdesign_submit();
41
+ ?>
42
+ <!-- save message -->
43
+ <div class="updated"><p><strong><?php _e("Settings Updated.", $MP3JP->textdomain );?></strong></p></div>
44
+ <?php
45
+ }
46
+
47
+ $C = $O['colour_settings'];
48
+
49
+
50
+ //Write js vars..
51
+ //$css_urls = $MP3JP->getSkinData();
52
+ $css_urls = $MP3JP->SKINS;
53
+
54
+ //..current stylesheet url to js
55
+ $player_theme = $O['player_theme'];
56
+ if ( isset( $css_urls[ $player_theme ]['url'] ) ) {
57
+ $js_current_css = "\nvar MP3J_THEME_PATH = '" . $css_urls[ $player_theme ]['url'] . "';";
58
+ }
59
+ else { //fall back to default
60
+ $js_current_css = "\nvar MP3J_THEME_PATH = '" . $css_urls['defaultLight']['url'] . "';";
61
+ }
62
+
63
+
64
+ //..other stylesheet urls to js
65
+ //$js_stylesheets = '';
66
+ $c = count( $css_urls );
67
+ $i = 1;
68
+ $js_stylesheets = "\nvar SKINDATA = {";
69
+ foreach ( $css_urls as $data )
70
+ {
71
+ //$js_stylesheets .= "\nvar " . $data['opValue'] . " = '" . $data['url'] . "';";
72
+ $js_stylesheets .= "\n\t" .$data['opValue']. ": '" .$data['url']. "'" . ( $i === $c ? '' : ',' );
73
+ $i++;
74
+ }
75
+ $js_stylesheets .= "\n};";
76
+
77
+
78
+ //..write the vars
79
+ echo '<script type="text/javascript">';
80
+ echo $js_current_css;
81
+ echo $js_stylesheets;
82
+ //echo $js_colours;
83
+
84
+ $imgSizesWP = array ( 'thumbnail', 'medium', 'large' );
85
+
86
+ echo "\nvar imgDimsWP = {\n";
87
+ foreach ( $imgSizesWP as $i => $size ) {
88
+ $s = $MP3JP->getImageSizeWP( $size );
89
+ echo "\t" . $size . "_w: " . $s['width'] . ",\n";
90
+ echo "\t" . $size . "_h: " . $s['height'];
91
+ echo ( $i < 2 ? ",\n" : "\n" );
92
+ }
93
+ echo "};\n";
94
+ echo '</script>';
95
+
96
+ //write css settings
97
+ echo $MP3JP->writeColoursCSS();
98
+ ?>
99
+
100
+ <div class="wrap">
101
+ <h2>&nbsp;</h2>
102
+ <h1>Player Design</h1>
103
+ <p>&nbsp;</p>
104
+ <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
105
+
106
+
107
+
108
+ <!-- THEME / URL -->
109
+ <?php $rowCSS = ( $O['player_theme'] != "styleI" ) ? "display:none;" : ""; ?>
110
+ <table>
111
+ <tr>
112
+ <td><strong>Skin</strong>:&nbsp;&nbsp;</td>
113
+ <td><select name="player_theme" id="player-select" style="width:350px; font-weight:700;">
114
+ <?php
115
+ foreach ( $css_urls as $data ) {
116
+ $selected = ( $data['opValue'] === $O['player_theme'] ) ? ' selected="selected"' : '';
117
+ echo '<option value="' .$data['opValue']. '"' .$selected. '>' .$data['opName']. '</option>';
118
+ }
119
+ ?>
120
+ </select>
121
+ </td>
122
+ <td></td>
123
+ </tr>
124
+ <tr id="customCSSrow" style="<?php echo $rowCSS; ?>">
125
+ <td><span id="player-csssheet">&nbsp;&nbsp; url:&nbsp;&nbsp;</span></td>
126
+ <td><input type="text" id="mp3fcss" name="custom_stylesheet" style="width:100%;" value="<?php echo $O['custom_stylesheet']; ?>" /></td>
127
+ <td><span class="button-secondary" id="reload_stylesheet_button" style="font-size:90%; font-weight:700;">&nbsp;Reload&nbsp;</span></td>
128
+ </tr>
129
+ </table>
130
+ <br>
131
+
132
+
133
+
134
+ <!-- PLAYER PREVIEW -->
135
+ <div id="sizer" style="overflow:hidden; background-color:<?php echo $C['adminBG']; ?>; width:<?php echo $C['adminSizer_w']; ?>; height:<?php echo $C['adminSizer_h']; ?>;">
136
+ <div id="display_player_liner">
137
+
138
+ <?php
139
+ $heightProp = ( !empty($O['playerHeight']) ) ? " height:" . $O['playerHeight'] . ";" : "";
140
+ $imgCSS = ''; //inline css added to image wrapper
141
+ $tweakerClass = ''; //class affecting image
142
+ if ( 'autoW' === $O['imageSize'] ) { //fit images to player width.
143
+ $imgCSS .= ' width:100%; height:' .$O['playerHeight']. ';';
144
+ }
145
+ elseif ( 'autoH' === $O['imageSize'] ) { //fit images to player height.
146
+ $imgCSS .= ' width:auto; height:' .$O['playerHeight']. ';';
147
+ $tweakerClass = ' Himg';
148
+ }
149
+ elseif ( 'full' === $O['imageSize'] ) { //leave images alone.
150
+ $imgCSS .= ' width:auto; height:' .$O['playerHeight']. ';';
151
+ $tweakerClass = ' Fimg';
152
+ }
153
+ else { //use specific WP media sizes, ad auto set the player height.
154
+ $dims = $MP3JP->getImageSizeWP( $O['imageSize'] );
155
+ $imgCSS .= ' width:' .$dims['width']. 'px; height:' .$dims['height']. 'px;';
156
+ $heightProp = ' height:' .$dims['height']. 'px;';
157
+ }
158
+
159
+ $CSSext = "-mjp";
160
+ $titleAlign = ' ' . $C['titleAlign'] . $CSSext;
161
+ $listAlign = ' ' . $C['listAlign'] . $CSSext;
162
+ $imageAlign = ' ' . $C['imageAlign'] . $CSSext;
163
+ $ulClass = ( $C['playlist_tint'] === 'none' ) ? '' : ' ' . $C['playlist_tint'] . $CSSext;
164
+ $font1Class = ( $C['font_family_1'] === 'theme' ) ? '' : ' ' . $C['font_family_1'] . $CSSext;
165
+ $font2Class = ( $C['font_family_2'] === 'theme' ) ? '' : ' ' . $C['font_family_2'] . $CSSext;
166
+ $posbarClass = ( $C['posbar_tint'] === 'none' ) ? '' : ' ' . $C['posbar_tint'] . $CSSext;
167
+ $liClass = ( $C['list_divider'] === 'none' ) ? '' : ' ' . $C['list_divider'] . $CSSext;
168
+ $titleBold = ( $C['titleBold'] === 'true' ) ? ' bold' . $CSSext : ' norm' . $CSSext;
169
+ $titleItalic = ( $C['titleItalic'] === 'true' ) ? ' italic' . $CSSext : ' plain' . $CSSext;
170
+ $captionWeight =( $C['captionBold'] === 'true' ) ? ' childBold' . $CSSext : ' childNorm' . $CSSext;
171
+ $captionItalic =( $C['captionItalic'] === 'true' ) ? ' childItalic' . $CSSext : ' childPlain' . $CSSext;
172
+ $listWeight = ( $C['listBold'] === 'true' ) ? ' childBold' . $CSSext : ' childNorm' . $CSSext;
173
+ $listItalic = ( $C['listItalic'] === 'true' ) ? ' childItalic' . $CSSext : ' childPlain' . $CSSext;
174
+ ?>
175
+
176
+ <div id="wrapperMI_1" class="wrap-mjp <?php echo $C['userClasses']; ?>" style="position:relative; padding:0px 0px 0px 0px; margin:0px; width:100%;">
177
+ <div class="subwrap-MI">
178
+
179
+ <div class="jp-innerwrap">
180
+ <div class="innerx"></div>
181
+ <div class="innerleft"></div>
182
+ <div class="innerright"></div>
183
+ <div class="innertab" id="playerBG1"></div>
184
+
185
+ <div class="interface-mjp<?php echo $font1Class; ?>" style="<?php echo $heightProp; ?>" id="playerT1">
186
+ <div id="image-mjp" class="MI-image<?php echo $tweakerClass . $imageAlign; ?>" style="<?php echo $imgCSS . ' overflow:' . $C['imgOverflow'] . ';'; ?>"></div>
187
+ <div id="trackTitles" class="player-track-title<?php echo $titleAlign . $titleBold . $titleItalic . $captionWeight . $captionItalic; ?>" style="left:<?php echo $C['titleOffset']; ?>; right:<?php echo $C['titleOffsetR']; ?>; top:<?php echo $C['titleTop']; ?>;">Example Track Title<div>Example Caption</div></div>
188
+
189
+ <div id="bars-mjp" class="bars_holder">
190
+ <div class="loadMI_mp3j" id="playerBG3" style="width:100%;"></div>
191
+ <div class="poscolMI_mp3j<?php echo $posbarClass; ?>" id="playerBG4" style="width:60%;"></div>
192
+ <div class="posbarMI_mp3j" style="width:70%;"></div>
193
+ </div>
194
+
195
+ <div id="P-Time-MI_1" class="jp-play-time">3:24</div>
196
+ <div id="T-Time-MI_1" class="jp-total-time">10:00</div>
197
+ <div id="statusMI_1" class="statusMI"><span class="mjp-playing">Playing</span></div>
198
+
199
+ <div class="transport-MI">
200
+ <div class="pause-mjp" id="playpause_mp3j_1">Pause</div>
201
+ <div class="stop-mjp" id="stop_mp3j_1">Stop</div>
202
+ <div class="next-mjp" id="Next_mp3j_1">Next&raquo;</div>
203
+ <div class="prev-mjp" id="Prev_mp3j_1">&laquo;Prev</div>
204
+ </div>
205
+
206
+ <div class="buttons-wrap-mjp">
207
+ <div class="playlist-toggle-MI" id="listtog-mjp">HIDE PLAYLIST</div>
208
+ <div class="mp3j-popout-MI"><?php echo $O['popout_button_title']; ?></div>
209
+ <div id="download_mp3j_1" class="dloadmp3-MI"></div>
210
+ </div>
211
+ </div>
212
+
213
+ <div class="mjp-volwrap">
214
+ <div class="MIsliderVolume" id="volslider-mjp">
215
+ <div class="ui-widget-header" style="position:absolute; left:0; width:100%; height:100%;"></div>
216
+ <div class="ui-slider-handle" style="position:absolute; left:100%;"></div>
217
+ </div>
218
+ <div class="innerExt1" id="innerExt1_1"></div>
219
+ <div class="innerExt2" id="innerExt2_1"></div>
220
+ </div>
221
+ </div>
222
+
223
+ <div class="listwrap_mp3j" id="listwrap-mjp" style="overflow:auto; max-height:450px;<?php echo ( $O['playlist_show'] !== 'true' ? ' display:none;' : '' ); ?>">
224
+ <div class="wrapper-mjp">
225
+ <div class="playlist-colour" id="playerBG2"></div>
226
+ <div class="wrapper-mjp">
227
+ <ul id="ul-mjp" class="ul-mjp<?php echo $ulClass . $liClass . $listWeight. $listItalic . $listAlign; ?>">
228
+ <li class="li-mjp"><a id="playerT2" class="a-mjp" href="#">Example List Item</a></li>
229
+ <li class="li-mjp"><a id="playerT3" class="a-mjp" style="background:<?php echo $C['listBGa_hover']; ?>; color:<?php echo $C['list_hover_colour']; ?>;" href="#">Example List item (hover)</a></li>
230
+ <li class="li-mjp mjp-li-last"><a id="playerT4" class="a-mjp" style="background:<?php echo $C['listBGa_current']; ?>; color:<?php echo $C['list_current_colour']; ?>;" href="#">Example List Item (Current)</a></li>
231
+ </ul>
232
+ </div>
233
+ </div>
234
+ </div>
235
+
236
+ </div>
237
+ </div>
238
+
239
+ <!-- Admin BG Colour -->
240
+ <div class="testingSettings">
241
+ <input type="text" id="adminBG" name="adminBG" value="<?php echo $C['adminBG']; ?>" />
242
+ </div>
243
+
244
+ </div><!-- close #display_player_liner -->
245
+ </div><!-- close #sizer -->
246
+
247
+
248
+
249
+ <!-- TABS start -->
250
+ <div class="mp3j-tabbuttons-wrap">
251
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_0">Text</div>
252
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_1">Areas</div>
253
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_2">Fonts</div>
254
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_3">Alignments</div>
255
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_4">Mods</div>
256
+ <br class="clearB" />
257
+ </div>
258
+ <div class="mp3j-tabs-wrap">
259
+
260
+ <!-- TAB TEXT -->
261
+ <div class="mp3j-tab" id="mp3j_tab_0">
262
+ <div style="float:left; max-width:390px; min-height:273px; padding:5px;">
263
+ <table class="colours unselectable">
264
+ <tr>
265
+ <td><strong>Titles:</strong></td>
266
+ <td>
267
+ <div class="patch">
268
+ <div id="patchT1" onclick="MP3jP.clickPatch('T1','');" class="PatchCol" style="background-color:<?php echo $C['screen_text_colour']; ?>;" title="Retrieve"></div>
269
+ <div id="minusT1" class="minus" onclick="MP3jP.clickMinus('T1','color','T1');"></div>
270
+ <div id="plusT1" class="plus" onclick="MP3jP.clickPlus('T1','color');"></div>
271
+ </div>
272
+ </td>
273
+ <td><input type="checkbox" name="titleHide" id="titleHide" value="true"<?php echo ( $C['titleHide'] === 'true' ? ' checked="checked"' : ''); ?>/><label for="titleHide" style="font-weight:500;">&nbsp;Hide</label></td>
274
+ <td></td>
275
+ <td></td>
276
+
277
+ </tr>
278
+ <tr>
279
+ <td><strong>Playlist:</strong></td>
280
+ <td>
281
+ <div class="patch">
282
+ <div id="patchT2" onclick="MP3jP.clickPatch('T2','');" class="PatchCol" style="background-color:<?php echo $C['list_text_colour']; ?>;" title="Retrieve"></div>
283
+ <div id="minusT2" class="minus" onclick="MP3jP.clickMinus('T2','color','T2');"></div>
284
+ <div id="plusT2" class="plus" onclick="MP3jP.clickPlus('T2','color');"></div>
285
+ </div>
286
+ </td>
287
+ <td></td>
288
+ <td></td>
289
+ <td></td>
290
+ </tr>
291
+ <tr>
292
+ <td>&nbsp;&nbsp;&nbsp;<span class="description">Hover:</span></td>
293
+ <td>
294
+ <div class="patch">
295
+ <div id="patchT3" onclick="MP3jP.clickPatch('T3','');" class="PatchCol" style="background-color:<?php echo $C['list_hover_colour']; ?>;" title="Retrieve"></div>
296
+ <div id="minusT3" class="minus" onclick="MP3jP.clickMinus('T3','color','T3');"></div>
297
+ <div id="plusT3" class="plus" onclick="MP3jP.clickPlus('T3','color');"></div>
298
+ </div>
299
+ </td>
300
+ <td>
301
+ <div class="patch fR">
302
+ <div id="patchBG5" onclick="MP3jP.clickPatch('BG5','');" class="PatchCol" style="background-color:<?php echo $C['listBGa_hover']; ?>;" title="Retrieve"></div>
303
+ <div id="minusBG5" class="minus" onclick="MP3jP.clickMinus('BG5','background-color','T3');"></div>
304
+ <div id="plusBG5" class="plus" onclick="MP3jP.clickPlus('BG5','background-color','T3');"></div>
305
+ </div>
306
+ </td>
307
+ <td><span class="description">Background</span></td>
308
+ <td></td>
309
+ </tr>
310
+ <tr>
311
+ <td>&nbsp;&nbsp;&nbsp;<span class="description">Current:</span></td>
312
+ <td>
313
+ <div class="patch">
314
+ <div id="patchT4" onclick="MP3jP.clickPatch('T4','');" class="PatchCol" style="background-color:<?php echo $C['list_current_colour']; ?>;" title="Retrieve"></div>
315
+ <div id="minusT4" class="minus" onclick="MP3jP.clickMinus('T4','color','T4');"></div>
316
+ <div id="plusT4" class="plus" onclick="MP3jP.clickPlus('T4','color');"></div>
317
+ </div>
318
+ </td>
319
+ <td>
320
+ <div class="patch fR">
321
+ <div id="patchBG6" onclick="MP3jP.clickPatch('BG6','');" class="PatchCol" style="background-color:<?php echo $C['listBGa_current']; ?>;" title="Retrieve"></div>
322
+ <div id="minusBG6" class="minus" onclick="MP3jP.clickMinus('BG6','background-color','T4');"></div>
323
+ <div id="plusBG6" class="plus" onclick="MP3jP.clickPlus('BG6','background','T4');"></div>
324
+ </div>
325
+ </td>
326
+ <td><span class="description">Background</span></td>
327
+ <td></td>
328
+ </tr>
329
+ <?php
330
+ MJPdesign_text();
331
+ ?>
332
+ </table>
333
+
334
+ <p style="margin:28px 0 12px 0; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields1').toggle();">Show Field Values</a></p>
335
+ <div id="hiddenFields1" style="display:none;">
336
+ <table class="colours">
337
+ <tr>
338
+ <td>Titles:</td>
339
+ <td><input type="text" id="T1" name="screen_text_colour" value="<?php echo $C['screen_text_colour']; ?>" /></td>
340
+ </tr>
341
+ <tr>
342
+ <td>List:</td>
343
+ <td><input type="text" id="T2" name="list_text_colour" value="<?php echo $C['list_text_colour']; ?>" /></td>
344
+ </tr>
345
+ <tr>
346
+ <td>List Hover:</td>
347
+ <td><input type="text" id="T3" name="list_hover_colour" value="<?php echo $C['list_hover_colour']; ?>" /></td>
348
+ </tr>
349
+ <tr>
350
+ <td>List Hover BG:</td>
351
+ <td><input id="BG5" type="text" name="listBGa_hover" value="<?php echo $C['listBGa_hover']; ?>" /></td>
352
+ </tr>
353
+ <tr>
354
+ <td>List Current:</td>
355
+ <td><input type="text" id="T4" name="list_current_colour" value="<?php echo $C['list_current_colour']; ?>" /></td>
356
+ </tr>
357
+ <tr>
358
+ <td>List Current BG:</td>
359
+ <td><input id="BG6" type="text" name="listBGa_current" value="<?php echo $C['listBGa_current']; ?>" /></td>
360
+ </tr>
361
+ <tr style="display:none;">
362
+ <td>Track</td>
363
+ <td>
364
+ Bold <input type="checkbox" value="true" id="titleBold" onclick="MP3jP.fontCheckers('#titleBold', '#trackTitles', 'bold', 'norm');" name="titleBold"<?php if ( 'true' == $C['titleBold'] ) { echo ' checked="checked"'; } ?> />
365
+ <br>Italic <input type="checkbox" value="true" id="titleItalic" onclick="MP3jP.fontCheckers('#titleItalic', '#trackTitles','italic', 'plain');" name="titleItalic"<?php if ( 'true' == $C['titleItalic'] ) { echo ' checked="checked"'; } ?> />
366
+ </td>
367
+ </tr>
368
+ <tr style="display:none;">
369
+ <td>Caption</td>
370
+ <td>
371
+ Bold <input type="checkbox" value="true" id="captionBold" onclick="MP3jP.fontCheckers('#captionBold', '#trackTitles', 'childBold', 'childNorm');" name="captionBold"<?php if ( 'true' == $C['captionBold'] ) { echo ' checked="checked"'; } ?> />
372
+ <br>Italic <input type="checkbox" value="true" id="captionItalic" onclick="MP3jP.fontCheckers('#captionItalic', '#trackTitles','childItalic', 'childPlain');" name="captionItalic"<?php if ( 'true' == $C['captionItalic'] ) { echo ' checked="checked"'; } ?> />
373
+ </td>
374
+ </tr>
375
+ <tr style="display:none;">
376
+ <td>Playlist</td>
377
+ <td>
378
+ Bold <input type="checkbox" value="true" id="listBold" onclick="MP3jP.fontCheckers('#listBold', '#ul-mjp', 'childBold', 'childNorm');" name="listBold"<?php if ( 'true' == $C['listBold'] ) { echo ' checked="checked"'; } ?> />
379
+ <br>Italic <input type="checkbox" value="true" id="listItalic" onclick="MP3jP.fontCheckers('#listItalic', '#ul-mjp','childItalic', 'childPlain');" name="listItalic"<?php if ( 'true' == $C['listItalic'] ) { echo ' checked="checked"'; } ?> />
380
+ </td>
381
+ </tr>
382
+ </table>
383
+ </div>
384
+ </div>
385
+
386
+ <div style="float:left; width:230px; height:273px; overflow:hidden;">
387
+ <input type="text" value="#5985bc" id="spectrumPicker" />
388
+ </div>
389
+ </div><!-- close TAB -->
390
+
391
+
392
+ <!-- TAB AREAS -->
393
+ <div class="mp3j-tab" id="mp3j_tab_1">
394
+ <div style="float:left; width:380px; min-height:273px; padding:5px;">
395
+ <table class="colours unselectable">
396
+ <tr>
397
+ <td><strong>Screen</strong>:</td>
398
+ <td>
399
+ <div class="patch">
400
+ <div id="patchBG1" onclick="MP3jP.clickPatch('BG1','Alpha');" class="PatchCol" style="background-color:<?php echo $C['screen_colour']; ?>;" title="Retrieve"></div>
401
+ <div id="minusBG1" class="minus" onclick="MP3jP.clickMinus('BG1','background-color','BG1');"></div>
402
+ <div id="plusBG1" class="plus" onclick="MP3jP.clickPlus('BG1','background-color');"></div>
403
+ </div>
404
+ </td>
405
+ <td></td>
406
+ <td></td>
407
+ </tr>
408
+ <tr>
409
+ <td><strong>Load Bar</strong>:</td>
410
+ <td>
411
+ <div class="patch">
412
+ <div id="patchBG3" onclick="MP3jP.clickPatch('BG3','Alpha');" class="PatchCol" style="background-color:<?php echo $C['loadbar_colour']; ?>;" title="Retrieve"></div>
413
+ <div id="minusBG3" class="minus" onclick="MP3jP.clickMinus('BG3','background-color','BG3');"></div>
414
+ <div id="plusBG3" class="plus" onclick="MP3jP.clickPlus('BG3','background-color');"></div>
415
+ </div>
416
+ </td>
417
+ <td><span class="description">Indicator</span></td>
418
+ <td><select name="indicator" style="width:90px; font-size:11px;">
419
+ <option value="tint" <?php if ( 'tint' == $C['indicator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Greyscale</option>
420
+ <option value="colour" <?php if ( 'colour' == $C['indicator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Colour</option>
421
+ </select></td>
422
+ </tr>
423
+ <tr>
424
+ <td><strong>Position Bar</strong>:</td>
425
+ <td>
426
+ <div class="patch">
427
+ <div id="patchBG4" onclick="MP3jP.clickPatch('BG4','Alpha');" class="PatchCol" style="background-color:<?php echo $C['posbar_colour']; ?>;" title="Retrieve"></div>
428
+ <div id="minusBG4" class="minus" onclick="MP3jP.clickMinus('BG4','background-color','BG4');"></div>
429
+ <div id="plusBG4" class="plus" onclick="MP3jP.clickPlus('BG4','background-color');"></div>
430
+ </div>
431
+ </td>
432
+ <td><span class="description">Gradient</span></td>
433
+ <td><select name="posbar_tint" id="posbar_tint" style="width:90px; font-size:11px;">
434
+ <option value="none" <?php if ( 'none' == $C['posbar_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>None</option>
435
+ <option value="soften" <?php if ( 'soften' == $C['posbar_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Light grad</option>
436
+ <option value="softenT" <?php if ( 'softenT' == $C['posbar_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Pipe</option>
437
+ <option value="darken" <?php if ( 'darken' == $C['posbar_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Dark grad</option>
438
+ </select></td>
439
+ </tr>
440
+ <tr>
441
+ <td><strong>Playlist</strong>:</td>
442
+ <td>
443
+ <div class="patch">
444
+ <div id="patchBG2" onclick="MP3jP.clickPatch('BG2','Alpha');" class="PatchCol" style="background-color:<?php echo $C['playlist_colour']; ?>;" title="Retrieve"></div>
445
+ <div id="minusBG2" class="minus" onclick="MP3jP.clickMinus('BG2','background-color','BG2');"></div>
446
+ <div id="plusBG2" class="plus" onclick="MP3jP.clickPlus('BG2','background-color');"></div>
447
+ </div>
448
+ </td>
449
+ <td><span class="description">Gradient</span></td>
450
+ <td><select id="playlist_tint" name="playlist_tint" style="width:90px; font-size:11px;">
451
+ <option value="none" <?php if ( 'none' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>None</option>
452
+ <option value="lighten1" <?php if ( 'lighten1' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Light Short</option>
453
+ <option value="lighten2" <?php if ( 'lighten2' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Light Long</option>
454
+ <option value="darken1" <?php if ( 'darken1' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Dark Short</option>
455
+ <option value="darken2" <?php if ( 'darken2' == $C['playlist_tint'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Dark Long</option>
456
+ </select></td>
457
+ </tr>
458
+ <tr>
459
+ <td></td>
460
+ <td></td>
461
+ <td><span class="description">Dividers</span></td>
462
+ <td><select id="list_divider" name="list_divider" style="width:100%; font-size:11px;">
463
+ <option value="none" <?php if ( 'none' == $C['list_divider'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>None</option>
464
+ <option value="light" <?php if ( 'light' == $C['list_divider'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Light</option>
465
+ <option value="med" <?php if ( 'med' == $C['list_divider'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Medium</option>
466
+ <option value="dark" <?php if ( 'dark' == $C['list_divider'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Dark</option>
467
+ </select></td>
468
+ </tr>
469
+ <?php
470
+ MJPdesign_areas();
471
+ ?>
472
+ </table>
473
+
474
+ <p style="margin:0px 0 12px 0px; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields0').toggle();">Show Field Values</a></p>
475
+ <div id="hiddenFields0" style="display:none;">
476
+ <table class="colours">
477
+ <tr>
478
+ <td>Screen:</td>
479
+ <td><input id="BG1" type="text" name="screen_colour" value="<?php echo $C['screen_colour']; ?>" style="width:200px;" /></td>
480
+ </tr>
481
+ <tr>
482
+ <td>Load Bar:</td>
483
+ <td><input id="BG3" type="text" name="loadbar_colour" value="<?php echo $C['loadbar_colour']; ?>" style="width:200px;" /></td>
484
+ </tr>
485
+ <tr>
486
+ <td>Position Bar:</td>
487
+ <td><input id="BG4" type="text" name="posbar_colour" value="<?php echo $C['posbar_colour']; ?>" style="width:200px;" /></td>
488
+ </tr>
489
+ <tr>
490
+ <td>Playlist:</td>
491
+ <td><input id="BG2" type="text" name="playlist_colour" value="<?php echo $C['playlist_colour']; ?>" style="width:200px;" /></td>
492
+ </tr>
493
+ </table>
494
+ </div>
495
+ </div>
496
+
497
+ <div style="float:left; width:230px; min-height:273px; overflow:hidden;">
498
+ <input type="text" value="rgb(80, 168, 79)" id="spectrumPickerAlpha" />
499
+ </div>
500
+ </div><!-- close TAB -->
501
+
502
+
503
+ <!-- TAB FONTS -->
504
+ <div class="mp3j-tab" id="mp3j_tab_2">
505
+ <div style=" min-height:250px; padding:10px 5px 5px 5px;">
506
+ <table class="colours unselectable">
507
+ <tr>
508
+ <td><strong>Titles:</strong></td>
509
+ <td><select id="font_family_1" name="font_family_1" style="width:110px; font-size:11px;">
510
+ <option value="theme"<?php if ( 'theme' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Theme's Font</option>
511
+ <option value="arial"<?php if ( 'arial' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Arial</option>
512
+ <option value="verdana"<?php if ( 'verdana' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Verdana</option>
513
+ <option value="times"<?php if ( 'times' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Times</option>
514
+ <option value="palatino"<?php if ( 'palatino' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Palatino</option>
515
+ <option value="courier"<?php if ( 'courier' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Courier New</option>
516
+ <option value="lucida"<?php if ( 'lucida' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Lucida Console</option>
517
+ <option value="gill"<?php if ( 'gill' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>>Gill Sans</option>
518
+ </select></td>
519
+ <td style="width:85px;"><div class="sliderWrap"><div id="fontSlider_1" class="fontSizeSlider"></div></div></td>
520
+ <td><input type="text" id="font_size_1" name="font_size_1" style="width:30px; font-size:11px;" value="<?php echo $C['font_size_1']; ?>" /> <span class="description">px</span></td>
521
+ </tr>
522
+ <tr>
523
+ <td></td>
524
+ <td style="text-align:right;"><span class="description">Track:&nbsp;&nbsp;</span>
525
+ <label for="titleBold" id="titleBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['titleBold'] ) { echo ' formatOn'; } ?>">B</label>
526
+ <label for="titleItalic" id="titleItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['titleItalic'] ) { echo ' formatOn'; } ?>">i</label>
527
+ </td>
528
+ <td></td>
529
+ <td></td>
530
+ </tr>
531
+ <tr>
532
+ <td></td>
533
+ <td style="text-align:right;"><span class="description">Caption:&nbsp;&nbsp;</span>
534
+ <label for="captionBold" id="captionBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['captionBold'] ) { echo ' formatOn'; } ?>">B</label>
535
+ <label for="captionItalic" id="captionItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['captionItalic'] ) { echo ' formatOn'; } ?>">i</label>
536
+ </td>
537
+ <td></td>
538
+ <td></td>
539
+ </tr>
540
+ <tr>
541
+ <td colspan="4">&nbsp;</td>
542
+ </tr>
543
+ <tr>
544
+ <td><strong>Playlist:</strong></td>
545
+ <td><select id="font_family_2" name="font_family_2" style="width:110px; font-size:11px;">
546
+ <option value="theme"<?php if ( 'theme' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Theme's Font</option>
547
+ <option value="arial"<?php if ( 'arial' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Arial</option>
548
+ <option value="verdana"<?php if ( 'verdana' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Verdana</option>
549
+ <option value="times"<?php if ( 'times' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Times</option>
550
+ <option value="palatino"<?php if ( 'palatino' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Palatino</option>
551
+ <option value="courier"<?php if ( 'courier' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Courier New</option>
552
+ <option value="lucida"<?php if ( 'lucida' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Lucida Console</option>
553
+ <option value="gill"<?php if ( 'gill' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>>Gill Sans</option>
554
+ </select></td>
555
+
556
+ <td><div class="sliderWrap"><div id="fontSlider_2" class="fontSizeSlider"></div></div></td>
557
+ <td><input type="text" id="font_size_2" name="font_size_2" style="width:30px; font-size:11px;" value="<?php echo $C['font_size_2']; ?>" /> <span class="description">px</span></td>
558
+ </tr>
559
+ <tr>
560
+ <td></td>
561
+ <td style="text-align:right;">
562
+ <label for="listBold" id="listBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['listBold'] ) { echo ' formatOn'; } ?>">B</label>
563
+ <label for="listItalic" id="listItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['listItalic'] ) { echo ' formatOn'; } ?>">i</label>
564
+ </td>
565
+ <td></td>
566
+ <td></td>
567
+ </tr>
568
+ <?php
569
+ MJPdesign_fonts();
570
+ ?>
571
+ </table>
572
+ </div>
573
+ </div><!-- close TAB -->
574
+
575
+
576
+ <!-- TAB ALIGNMENT -->
577
+ <div class="mp3j-tab" id="mp3j_tab_3">
578
+ <div style=" min-height:250px; padding:10px 5px 5px 5px;">
579
+ <?php
580
+ $greyoutClass = '';
581
+ $quietClass = '';
582
+ if ( $O['imageSize'] === "thumbnail" || $O['imageSize'] === "medium" || $O['imageSize'] === "large" ) {
583
+ $greyoutClass = " quietInput";
584
+ $quietClass = " quietText";
585
+ }
586
+ ?>
587
+ <table class="colours unselectable">
588
+ <tr>
589
+ <td><span id="playerHeightWrap1" class="<?php echo $quietClass; ?>"><strong>Player Height</strong>:</span></td>
590
+ <td colspan="2">
591
+ <div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#playerT1').addClass('highlight');" onmouseout="jQuery('#playerT1').removeClass('highlight');">
592
+ <div id="offsetSlider_5" class="fontSizeSlider" style="width:250px;"></div>
593
+ </div>
594
+ </td>
595
+ <td><input type="text" id="playerHeight" class="<?php echo $greyoutClass; ?>" style="width:50px; font-size:11px;" name="playerHeight" value="<?php echo $O['playerHeight']; ?>" />
596
+ <span id="playerHeightWrap2" class="description <?php echo $quietClass; ?>"></span></td>
597
+ <td></td>
598
+ </tr>
599
+ <tr>
600
+ <td><strong>Images</strong>:</td>
601
+ <td><select name="imageAlign" id="imageAlign" style="font-weight:500;">
602
+ <option value="left"<?php if ( 'left' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>>Left</option>
603
+ <option value="centre"<?php if ( 'centre' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>>Centre</option>
604
+ <option value="right"<?php if ( 'right' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>>Right</option>
605
+ </select>
606
+ </td>
607
+ <td><select name="imageSize" id="imageSize" style="width:165px; font-weight:500;">
608
+ <option value="full"<?php if ( 'full' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Original size</option>
609
+ <option value="autoW"<?php if ( 'autoW' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Fit to player width</option>
610
+ <option value="autoH"<?php if ( 'autoH' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Fit to player height</option>
611
+ <option value="thumbnail"<?php if ( 'thumbnail' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Thumbnail</option>
612
+ <option value="medium"<?php if ( 'medium' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Medium</option>
613
+ <option value="large"<?php if ( 'large' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>>Large</option>
614
+ </select>
615
+ </td>
616
+ <td>
617
+ <input type="checkbox" name="imgOverflow" id="imgOverflow" value="visible"<?php echo ( $C['imgOverflow'] === 'visible' ? ' checked="checked"' : ''); ?>/>
618
+ <label for="imgOverflow" class="f500">overflow</label>
619
+ </td>
620
+ <td></td>
621
+ </tr>
622
+ <tr>
623
+ <td><strong>Playlist</strong>:</td>
624
+ <td><select name="listAlign" id="listAlign">
625
+ <option value="left"<?php if ( 'left' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>>Left</option>
626
+ <option value="centre"<?php if ( 'centre' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>>Centre</option>
627
+ <option value="right"<?php if ( 'right' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>>Right</option>
628
+ </select></td>
629
+ <td></td>
630
+ <td></td>
631
+ <td></td>
632
+ </tr>
633
+ <tr>
634
+ <td><strong>Titles</strong>:</td>
635
+ <td><select name="titleAlign" id="titleAlign">
636
+ <option value="left"<?php if ( 'left' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>>Left</option>
637
+ <option value="centre"<?php if ( 'centre' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>>Centre</option>
638
+ <option value="right"<?php if ( 'right' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>>Right</option>
639
+ </select></td>
640
+ <td></td>
641
+ <td></td>
642
+ <td></td>
643
+ </tr>
644
+ <tr>
645
+ <td style="text-align:right;"><span class="description" style="font-size:11px;">Top</span></td>
646
+ <td colspan="2">
647
+ <div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
648
+ <div id="offsetSlider_6" class="fontSizeSlider" style="width:250px;"></div>
649
+ </div>
650
+ </td>
651
+ <td><input type="text" name="titleTop" id="titleTop" style="width:45px; font-size:11px;" value="<?php echo $C['titleTop']; ?>" />
652
+ <span class="description" style="font-size:11px;">px or %</span>
653
+ </td>
654
+ <td></td>
655
+ </tr>
656
+ <tr>
657
+ <td style="text-align:right;"><span class="description" style="font-size:11px;">Margins</span></td>
658
+ <td colspan="2">
659
+ <div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
660
+ <div id="offsetSlider_1" class="fontSizeSlider" style="width:250px;"></div>
661
+ </div>
662
+ </td>
663
+ <td><input type="text" name="titleOffset" id="titleOffset1" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffset']; ?>" />
664
+ <input type="text" name="titleOffsetR" id="titleOffset2" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffsetR']; ?>" />
665
+ <span class="description" style="font-size:11px;">px or %</span>
666
+ </td>
667
+ <td></td>
668
+ </tr>
669
+ <?php
670
+ MJPdesign_alignments();
671
+ ?>
672
+ </table>
673
+ </div>
674
+ </div><!-- Close Tab -->
675
+
676
+
677
+ <!-- TAB MODS -->
678
+ <div class="mp3j-tab" id="mp3j_tab_4">
679
+ <div style="padding:10px 5px 5px 5px; min-height:250px;">
680
+ <strong>Modifiers:</strong>
681
+ <br><br><input type="text" name="userClasses" id="userClasses" value="<?php echo $C['userClasses']; ?>" style="width:100%; max-width:500px;"/>
682
+ <br><br><span class="description">&nbsp;Use this field to add modifier names. Use a space to separate names, the following are supported by default:</span>
683
+ <br><br>
684
+ <table class="colours unselectable">
685
+ <tr>
686
+ <td><code>nostop</code></td>
687
+ <td>Hides the stop button</td>
688
+ </tr>
689
+ <tr>
690
+ <td><code>nopn</code></td>
691
+ <td>Hides the prev/next buttons</td>
692
+ </tr>
693
+ <tr>
694
+ <td><code>novol</code></td>
695
+ <td>Hides the volume control</td>
696
+ </tr>
697
+ <tr>
698
+ <td><code>notitle</code></td>
699
+ <td>Hides the track title and caption</td>
700
+ </tr>
701
+ <tr>
702
+ <td><code>nolistbutton</code></td>
703
+ <td>Hides the playlist button</td>
704
+ </tr>
705
+ <tr>
706
+ <td><code>nopopoutbutton</code></td>
707
+ <td>Hides the popout button</td>
708
+ </tr>
709
+ <tr>
710
+ <td><code>fullbars</code></td>
711
+ <td>Position slider fills the screen/image area</td>
712
+ </tr>
713
+ <tr>
714
+ <td><code>nobars</code></td>
715
+ <td>removes the position and load bars</td>
716
+ </tr>
717
+ <tr>
718
+ <td><code>nocase</code></td>
719
+ <td>removes the container bar around the buttons</td>
720
+ </tr>
721
+ </table>
722
+ <?php
723
+ MJPdesign_mods();
724
+ ?>
725
+ </div>
726
+ </div><!-- Close Tab -->
727
+
728
+ </div><!-- close TABS wrapper -->
729
+
730
+
731
+
732
+ <!-- TEST IMAGE -->
733
+ <br class="clearB" /><hr>
734
+ <div class="testingSettingsBottom">
735
+ <input type="checkbox" id="adminCheckerIMG" name="adminCheckerIMG" value="true" <?php if ( $C['adminCheckerIMG'] == "true" ) { echo 'checked="checked" '; } ?>/>
736
+ <label for="adminCheckerIMG"><strong>Test Image</strong> &nbsp; url:</label> <input type="text" id="adminIMG" name="adminIMG" style="width:300px;" value="<?php echo $C['adminIMG']; ?>" />
737
+ <span class="button-secondary" style="font-size:11px; height:25px;" id="reloadIMG">&nbsp;Reload&nbsp;</span>
738
+ </div>
739
+
740
+
741
+
742
+ <!-- SAVE SETTINGS -->
743
+ <div class="savewrap">
744
+ <input type="submit" name="save_MP3JP" class="button-primary" style="font-weight:700;" value="&nbsp;Save All Changes &nbsp;" />
745
+ <input type="hidden" name="version_MP3JP" value="<?php echo $MP3JP->version_of_plugin; ?>" />
746
+ <input type="hidden" name="adminSizer_w" id="adminSizer_w" value="<?php echo $C['adminSizer_w']; ?>" />
747
+ <input type="hidden" name="adminSizer_h" id="adminSizer_h" value="<?php echo $C['adminSizer_h']; ?>" />
748
+ </div>
749
+
750
+
751
+
752
+ </form><!-- close form -->
753
+ <br>
754
+ <hr>
755
+ <div style="margin: 15px 0px 0px 0px; min-height:30px;">
756
+ <p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
757
+ <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/">Help & Docs &raquo;</a>
758
+ &nbsp;&nbsp; <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins">Get Skins &raquo;</a>
759
+ &nbsp;&nbsp; <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons">Get Add-Ons &raquo;</a>
760
+ </p>
761
+ </div>
762
+
763
+
764
+ <div style="margin: 15px auto; height:100px;">
765
+ </div>
766
+
767
+
768
+
769
+
770
+
771
+ </div><!-- close .wrap -->
772
+
773
+ <script>
774
+ jQuery(document).ready( function () {
775
+ MP3jP.init();
776
+ });
777
+ </script>
778
+
779
+ <?php
780
+ }
781
  ?>
admin-settings.php CHANGED
@@ -1,776 +1,825 @@
1
- <?php
2
-
3
- function mp3j_print_admin_page()
4
- {
5
-
6
- global $MP3JP;
7
- $O = $MP3JP->getAdminOptions();
8
- $colours_array = array();
9
-
10
-
11
- if ( isset( $_POST['update_mp3foxSettings'] ) )
12
- {
13
- //prep/sanitize values
14
- if (isset($_POST['mp3foxVol'])) {
15
- $O['initial_vol'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxVol']);
16
- if ($O['initial_vol'] < 0 || $O['initial_vol']=="") { $O['initial_vol'] = "0"; }
17
- if ($O['initial_vol'] > 100) { $O['initial_vol'] = "100"; }
18
- }
19
- if (isset($_POST['mp3foxPopoutMaxHeight'])) {
20
- $O['popout_max_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutMaxHeight']);
21
- if ( $O['popout_max_height'] == "" ) { $O['popout_max_height'] = "750"; }
22
- if ( $O['popout_max_height'] < 200 ) { $O['popout_max_height'] = "200"; }
23
- if ( $O['popout_max_height'] > 1200 ) { $O['popout_max_height'] = "1200"; }
24
- }
25
- if (isset($_POST['mp3foxPopoutWidth'])) {
26
- $O['popout_width'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutWidth']);
27
- if ( $O['popout_width'] == "" ) { $O['popout_width'] = "400"; }
28
- if ( $O['popout_width'] < 250 ) { $O['popout_width'] = "250"; }
29
- if ( $O['popout_width'] > 1600 ) { $O['popout_width'] = "1600"; }
30
- }
31
- if (isset($_POST['mp3foxMaxListHeight'])) {
32
- $O['max_list_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxMaxListHeight']);
33
- if ( $O['max_list_height'] < 0 ) { $O['max_list_height'] = ""; }
34
- }
35
- if (isset($_POST['mp3foxfolder'])) {
36
- $O['mp3_dir'] = $MP3JP->prep_path( $_POST['mp3foxfolder'] );
37
- }
38
- if (isset($_POST['mp3foxPopoutBGimage'])) {
39
- $O['popout_background_image'] = $MP3JP->prep_path( $_POST['mp3foxPopoutBGimage'] );
40
- }
41
-
42
- $O['dloader_remote_path'] = ( isset($_POST['dloader_remote_path']) ) ? $MP3JP->prep_value( $_POST['dloader_remote_path'] ) : "";
43
- $O['loggedout_dload_link'] = ( $_POST['loggedout_dload_link'] == "" ) ? "" : $MP3JP->prep_value( $_POST['loggedout_dload_link'] ); //allow it to be empty
44
-
45
- if (isset($_POST['mp3foxFloat'])) {
46
- $O['player_float'] = $MP3JP->prep_value( $_POST['mp3foxFloat'] );
47
- }
48
- if (isset($_POST['librarySortcol'])) {
49
- $O['library_sortcol'] = $MP3JP->prep_value( $_POST['librarySortcol'] );
50
- }
51
- if (isset($_POST['libraryDirection'])) {
52
- $O['library_direction'] = $MP3JP->prep_value( $_POST['libraryDirection'] );
53
- }
54
- if (isset($_POST['folderFeedSortcol'])) {
55
- $O['folderFeedSortcol'] = $MP3JP->prep_value( $_POST['folderFeedSortcol'] );
56
- }
57
- if (isset($_POST['folderFeedDirection'])) {
58
- $O['folderFeedDirection'] = $MP3JP->prep_value( $_POST['folderFeedDirection'] );
59
- }
60
- if (isset($_POST['file_separator'])) {
61
- $O['f_separator'] = $MP3JP->prep_value( $_POST['file_separator'] );
62
- }
63
- if (isset($_POST['caption_separator'])) {
64
- $O['c_separator'] = $MP3JP->prep_value( $_POST['caption_separator'] );
65
- }
66
- if (isset($_POST['mp3foxDownloadMp3'])) {
67
- $O['show_downloadmp3'] = $MP3JP->prep_value( $_POST['mp3foxDownloadMp3'] );
68
- }
69
- if (isset($_POST['replacerShortcode_playlist'])) {
70
- $O['replacerShortcode_playlist'] = $MP3JP->prep_value( $_POST['replacerShortcode_playlist'] );
71
- }
72
- if (isset($_POST['replacerShortcode_single'])) {
73
- $O['replacerShortcode_single'] = $MP3JP->prep_value( $_POST['replacerShortcode_single'] );
74
- }
75
- if (isset($_POST['showErrors'])) {
76
- $O['showErrors'] = $MP3JP->prep_value( $_POST['showErrors'] );
77
- }
78
-
79
- $O['echo_debug'] = ( isset($_POST['mp3foxEchoDebug']) ) ? "true" : "false";
80
- $O['add_track_numbering'] = ( isset($_POST['mp3foxAddTrackNumbers']) ) ? "true" : "false";
81
- $O['enable_popout'] = ( isset($_POST['mp3foxEnablePopout']) ) ? "true" : "false";
82
- $O['playlist_repeat'] = ( isset($_POST['mp3foxPlaylistRepeat']) ) ? "true" : "false";
83
- $O['encode_files'] = ( isset($_POST['mp3foxEncodeFiles']) ) ? "true" : "false";
84
- $O['run_shcode_in_excerpt'] = ( isset($_POST['runShcodeInExcerpt']) ) ? "true" : "false";
85
- $O['volslider_on_singles'] = ( isset($_POST['volslider_onsingles']) ) ? "true" : "false";
86
- $O['volslider_on_mp3j'] = ( isset($_POST['volslider_onmp3j']) ) ? "true" : "false";
87
- //$O['touch_punch_js'] = ( isset($_POST['touch_punch_js']) ) ? "true" : "false";
88
- $O['force_browser_dload'] = ( isset($_POST['force_browser_dload']) ) ? "true" : "false";
89
- $O['make_player_from_link'] = ( isset($_POST['make_player_from_link']) ) ? "true" : "false";
90
- $O['auto_play'] = ( isset($_POST['mp3foxAutoplay']) ) ? "true" : "false";
91
- $O['allow_remoteMp3'] = ( isset($_POST['mp3foxAllowRemote']) ) ? "true" : "false";
92
- $O['player_onblog'] = ( isset($_POST['mp3foxOnBlog']) ) ? "true" : "false";
93
- $O['playlist_show'] = ( isset($_POST['mp3foxShowPlaylist']) ) ? "true" : "false";
94
- $O['remember_settings'] = ( isset($_POST['mp3foxRemember']) ) ? "true" : "false";
95
- $O['hide_mp3extension'] = ( isset($_POST['mp3foxHideExtension']) ) ? "true" : "false";
96
- $O['replace_WP_playlist'] = ( isset($_POST['replace_WP_playlist']) ) ? "true" : "false";
97
- $O['replace_WP_audio'] = ( isset($_POST['replace_WP_audio']) ) ? "true" : "false";
98
- $O['replace_WP_embedded'] = ( isset($_POST['replace_WP_embedded']) ) ? "true" : "false";
99
- $O['replace_WP_attached'] = ( isset($_POST['replace_WP_attached']) ) ? "true" : "false";
100
- $O['autoCounterpart'] = ( isset($_POST['autoCounterpart']) ) ? "true" : "false";
101
- $O['allowRangeRequests'] = ( isset($_POST['allowRangeRequests']) ) ? "true" : "false";
102
-
103
- $O['paddings_top'] = ( $_POST['mp3foxPaddings_top'] == "" ) ? "0px" : $MP3JP->prep_value( $_POST['mp3foxPaddings_top'] );
104
- $O['paddings_bottom'] = ( $_POST['mp3foxPaddings_bottom'] == "" ) ? "0px" : $MP3JP->prep_value( $_POST['mp3foxPaddings_bottom'] );
105
- $O['paddings_inner'] = ( $_POST['mp3foxPaddings_inner'] == "" ) ? "0px" : $MP3JP->prep_value( $_POST['mp3foxPaddings_inner'] );
106
- $O['font_size_mp3t'] = ( $_POST['font_size_mp3t'] == "" ) ? "14px" : $MP3JP->prep_value( $_POST['font_size_mp3t'] );
107
- $O['font_size_mp3j'] = ( $_POST['font_size_mp3j'] == "" ) ? "14px" : $MP3JP->prep_value( $_POST['font_size_mp3j'] );
108
- $O['dload_text'] = ( $_POST['dload_text'] == "" ) ? "" : $MP3JP->strip_scripts( $_POST['dload_text'] );
109
- $O['loggedout_dload_text'] = ( $_POST['loggedout_dload_text'] == "" ) ? "" : $MP3JP->strip_scripts( $_POST['loggedout_dload_text'] );
110
-
111
- $hasFormat = false;
112
- foreach ( $O['audioFormats'] as $k => $f ) {
113
- if ( isset($_POST['audioFormats'][$k]) ) {
114
- $O['audioFormats'][$k] = "true";
115
- $hasFormat = true;
116
- }
117
- else {
118
- $O['audioFormats'][$k] = "false";
119
- }
120
- }
121
- if ( ! $hasFormat ) {
122
- $O['audioFormats']['mp3'] = "true";
123
- }
124
-
125
- if (isset($_POST['mp3foxPlayerWidth'])) {
126
- $O['player_width'] = $MP3JP->prep_value( $_POST['mp3foxPlayerWidth'] );
127
- }
128
- if (isset($_POST['disableJSlibs'])) {
129
- $O['disable_jquery_libs'] = ( preg_match("/^yes$/i", $_POST['disableJSlibs']) ) ? "yes" : "";
130
- }
131
- if ( isset($_POST['mp3foxPopoutButtonText']) ) {
132
- $O['popout_button_title'] = $MP3JP->strip_scripts( $_POST['mp3foxPopoutButtonText'] );
133
- }
134
- if ( isset($_POST['make_player_from_link_shcode']) ) {
135
- $O['make_player_from_link_shcode'] = $MP3JP->strip_scripts( $_POST['make_player_from_link_shcode'] );
136
- }
137
- if ( isset($_POST['mp3foxPopoutBackground']) ) {
138
- $O['popout_background'] = $MP3JP->prep_value( $_POST['mp3foxPopoutBackground'] );
139
- }
140
- if ( isset($_POST['mp3foxPluginVersion']) ) {
141
- $O['db_plugin_version'] = $MP3JP->prep_value( $_POST['mp3foxPluginVersion'] );
142
- }
143
-
144
- update_option($MP3JP->adminOptionsName, $O);
145
- $MP3JP->theSettings = $O;
146
- $MP3JP->setAllowedFeedTypesArrays();
147
- ?>
148
-
149
- <!-- Settings saved message -->
150
- <div class="updated"><p><strong><?php _e("Settings Updated.", $MP3JP->textdomain );?></strong></p></div>
151
- <?php
152
- }
153
-
154
-
155
- $current_colours = $O['colour_settings'];
156
- ?>
157
- <div class="wrap">
158
-
159
-
160
- <h2>&nbsp;</h2>
161
- <h1>MP3-jPlayer
162
- <span class="description" style="font-size:10px;">Version <?php echo $MP3JP->version_of_plugin; ?></span>
163
- &nbsp;<span class="description" style="font-size:13px; font-weight:700;"><a class="button-secondary" style="background-color:#f0fff0;" target="_blank" href="http://mp3-jplayer.com/help-docs/">Help & Docs &raquo;</a></span>
164
- </h1>
165
- <p style="margin-bottom:10px;">&nbsp;</p>
166
- <?php
167
- if ( $O['disable_jquery_libs'] == "yes" ) {
168
- echo '&nbsp;<span style="font-size: 11px; font-weight:700; color:#f66;">(jQuery and UI scripts are turned off)</span>';
169
- }
170
- ?>
171
- <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
172
-
173
-
174
- <div class="mp3j-tabbuttons-wrap">
175
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_1">Files</div>
176
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_0">Players</div>
177
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_3">Downloads</div>
178
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_4">Popout</div>
179
- <div class="mp3j-tabbutton" id="mp3j_tabbutton_2">Advanced</div>
180
- <br class="clearB" />
181
- </div>
182
-
183
-
184
- <div class="mp3j-tabs-wrap">
185
-
186
- <!-- TAB 0.......................... -->
187
- <div class="mp3j-tab" id="mp3j_tab_0">
188
- <p class="tabD" style="margin:0 0 10px 0; max-width:550px;">These are the player default settings, most of them can be set per-player using <strong><a target="_blank" href="http://mp3-jplayer.com/shortcode-reference/">shortcode parameters</a></strong>.</p>
189
-
190
- <p style="margin-bottom:10px;"><label>Initial volume: &nbsp; </label><input type="text" style="text-align:center;" size="2" name="mp3foxVol" value="<?php echo $O['initial_vol']; ?>" /> &nbsp; <span class="description">(0 - 100)</span></p>
191
- <p><input type="checkbox" name="mp3foxAutoplay" id="mp3foxAutoplay" value="true" <?php if ($O['auto_play'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> /><label for="mp3foxAutoplay"> &nbsp; Autoplay</label> &nbsp; <span class="description">(Disallowed by most touchscreen devices, this will only activate on desktops and laptops)</span></p>
192
- <p><input type="checkbox" name="mp3foxPlaylistRepeat" id="mp3foxPlaylistRepeat" value="true" <?php if ($O['playlist_repeat'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> /><label for="mp3foxPlaylistRepeat"> &nbsp; Loop</label></p>
193
- <p><input type="checkbox" name="mp3foxAddTrackNumbers" id="mp3foxAddTrackNumbers" value="true" <?php if ($O['add_track_numbering'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
194
- <label for="mp3foxAddTrackNumbers"> &nbsp; Number the tracks</label></p>
195
-
196
- <br><br>
197
- <div style="float:left; width:260px; margin-right:10px;">
198
-
199
- <div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:4px 0 4px 10px; margin:0 0 5px 0;">Single-File Text Players</div>
200
- <table style="margin:0 0 0px 10px;">
201
- <tr>
202
- <td><strong>Font Size</strong>:</td>
203
- <td><input type="text" value="<?php echo $O['font_size_mp3t']; ?>" name="font_size_mp3t" style="width:70px;" /></td>
204
- </tr>
205
- <tr>
206
- <td><label for="volslider_onsingles"><strong>Volume Control</strong>: &nbsp;</label></td>
207
- <td><input type="checkbox" name="volslider_onsingles" id="volslider_onsingles" value="true" <?php if ($O['volslider_on_singles'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /></td>
208
- </tr>
209
- </table>
210
- </div>
211
-
212
- <div style="float:left; width:260px;">
213
- <div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:4px 0 4px 10px; margin:0 0 5px 0;">Single-File Button Players</div>
214
- <table style="margin:0 0 0px 10px;">
215
- <tr>
216
- <td><strong>Font Size</strong>:</td>
217
- <td><input type="text" value="<?php echo $O['font_size_mp3j']; ?>" name="font_size_mp3j" style="width:70px;" /></td>
218
- </tr>
219
- <tr>
220
- <td><label for="volslider_onmp3j"><strong>Volume Control</strong>: &nbsp;</label></td>
221
- <td><input type="checkbox" name="volslider_onmp3j" id="volslider_onmp3j" value="true" <?php if ($O['volslider_on_mp3j'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /></td>
222
- </tr>
223
- </table>
224
- </div>
225
-
226
- <br class="clearB"><br><br>
227
- <div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:4px 0 4px 10px; margin:0 0 5px 0; width:520px;">Playlist Players</div>
228
- <table style="margin:0 0 0px 10px;">
229
- <tr>
230
- <td><strong>Width:</strong></td>
231
- <td><input type="text" style="width:100px;" name="mp3foxPlayerWidth" value="<?php echo $O['player_width']; ?>" /></td>
232
- <td><span class="description">pixels (px) or percent (%)</span></td>
233
- </tr>
234
- <tr>
235
- <td><strong>Alignment:</strong></td>
236
- <td><select name="mp3foxFloat" style="width:100px;">
237
- <option value="none" <?php if ( 'none' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Left</option>
238
- <option value="rel-C" <?php if ( 'rel-C' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Centre</option>
239
- <option value="rel-R" <?php if ( 'rel-R' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Right</option>
240
- <option value="left" <?php if ( 'left' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Float Left</option>
241
- <option value="right" <?php if ( 'right' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Float Right</option>
242
- </select></td>
243
- <td></td>
244
- </tr>
245
- <tr>
246
- <td>&nbsp;</td>
247
- <td></td>
248
- <td></td>
249
- </tr>
250
- <tr>
251
- <td><strong>Margins:</strong></td>
252
- <td colspan="2">&nbsp;<span class="description">pixels (px) or percent (%)</span></td>
253
- </tr>
254
- <tr>
255
- <td></td>
256
- <td colspan="2"><input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_top" value="<?php echo $O['paddings_top']; ?>" /> Above players<br />
257
- <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_inner" value="<?php echo $O['paddings_inner']; ?>" /> Inner margin (floated players)<br />
258
- <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_bottom" value="<?php echo $O['paddings_bottom']; ?>" /> Below players</td>
259
- </tr>
260
- </table>
261
- <br>
262
-
263
- <p style="margin:0 0 6px 15px;"><input type="checkbox" name="mp3foxEnablePopout" id="mp3foxEnablePopout" value="true" <?php if ($O['enable_popout'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
264
- <label for="mp3foxEnablePopout"> &nbsp; Show popout player button</label></p>
265
-
266
- <p style="margin:0 0 0px 15px;"><input type="checkbox" name="mp3foxShowPlaylist" id="mp3foxShowPlaylist" value="true" <?php if ($O['playlist_show'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
267
- <label for="mp3foxShowPlaylist"> &nbsp; Start with playlists open</label></p>
268
-
269
-
270
- <p style="margin:5px 0 0 45px;"><label>Max playlist height:</label>
271
- &nbsp; <input type="text" size="6" style="text-align:center;" name="mp3foxMaxListHeight" value="<?php echo $O['max_list_height']; ?>" />
272
- px &nbsp; <span class="description">(a scroll bar will show for longer playlists, leave it blank for no limit)</span></p>
273
-
274
- </div><!-- CLOSE TAB -->
275
-
276
-
277
-
278
- <!-- TAB 1......................... -->
279
- <div class="mp3j-tab" id="mp3j_tab_1">
280
-
281
- <?php
282
- ////
283
- //Library
284
- $library = $MP3JP->grab_library_info();
285
- $libCount = ( $library ) ? $library['count'] : "0";
286
- $libText = '';
287
- $libButton = '';
288
- $liblist = '';
289
-
290
- $libText .= '<span class="tabD" style="margin:0 0 10px 0;">Library contains <strong>' . $libCount . '</strong> audio file' . ( $libCount != 1 ? 's' : '' ) . '</span>. &nbsp;<strong><a href="media-new.php">Upload new &raquo;</a></strong>';
291
-
292
- if ( $libCount > 0 )
293
- {
294
- $libButton .= '<a class="button-secondary" href="javascript:" onclick="jQuery(\'#library-list\').toggle();" id="library-open">View files</a>';
295
- $n = 1;
296
-
297
- $liblist .= '<div id="library-list" style="display:none;"><table class="fileList">';
298
- $liblist .= '<tr>';
299
- $liblist .= '<th>&nbsp;</th>';
300
- $liblist .= '<th>&nbsp;</th>';
301
- $liblist .= '<th>Filename</th>';
302
- $liblist .= '<th>&nbsp;&nbsp;Title</th>';
303
- $liblist .= '<th>&nbsp;&nbsp;Caption&nbsp;&nbsp;&nbsp;&nbsp;</th>';
304
- $liblist .= '<th>Uploaded&nbsp;&nbsp;&nbsp;&nbsp;</th>';
305
- $liblist .= '</tr>';
306
- foreach ( $library['filenames'] as $i => $file )
307
- {
308
- $niceDate = date( 'jS F Y', strtotime($library['postDates'][$i]) );
309
- $liblist .= '<tr>';
310
- $liblist .= '<td>&nbsp;&nbsp;&nbsp;&nbsp;<a href="post.php?post=' . $library['postIDs'][$i] . '&amp;action=edit" target="_blank">Edit</a>&nbsp;&nbsp;</td>';
311
- $liblist .= '<td><span style="color:#aaa;font-size:11px;">' . $n . '&nbsp;</span></td>';
312
- $liblist .= '<td>' . $file . '</td>';
313
- $liblist .= '<td><span style="color:#aaa;">&nbsp;&nbsp;' . $library['titles'][$i] . '</span>&nbsp;&nbsp;&nbsp;&nbsp;</td>';
314
- $liblist .= '<td><span style="color:#aaa;">&nbsp;&nbsp;' . $library['excerpts'][$i] . '</span>&nbsp;&nbsp;&nbsp;&nbsp;</td>';
315
- $liblist .= '<td><span style="color:#aaa; font-size:11px;">' . $niceDate . '</span>&nbsp;&nbsp;&nbsp;&nbsp;</td>';
316
- $liblist .= '</tr>';
317
- $n++;
318
- }
319
- $liblist .= '</table></div>';
320
- }
321
-
322
- ////
323
- //Default Folder
324
- $n = 1;
325
- $folderInfo = $MP3JP->grabFolderURLs( $O['mp3_dir'] ); //grab all
326
- $folderText = '';
327
- $folderButton = '';
328
- $folderHtml = '';
329
-
330
- if ( is_array($folderInfo) )
331
- {
332
- $folderuris = $folderInfo['files'];
333
- $uploadDates = $folderInfo['dates'];
334
- foreach ( $folderuris as $i => $uri ) {
335
- $files[$i] = strrchr( $uri, "/" );
336
- $files[$i] = str_replace( "/", "", $files[$i] );
337
- }
338
- $c = (!empty($files)) ? count($files) : 0;
339
-
340
- $folderText .= "<span class=\"tabD\">This folder contains <strong>" . $c . "</strong> audio file" . ( $c != 1 ? 's' : '' ) . "</span>";
341
-
342
- if ( $c > 0 ) {
343
- $folderButton .= '<a class="button-secondary" href="javascript:" onclick="jQuery(\'#folder-list\').toggle();">View files</a>';
344
-
345
- $folderHtml .= '<div id="folder-list" style="display:none;">';
346
- $folderHtml .= '<table class="fileList">';
347
- $folderHtml .= '<tr>';
348
- $folderHtml .= '<th>&nbsp;</th>';
349
- $folderHtml .= '<th>Filename</th>';
350
- $folderHtml .= '<th>&nbsp;</th>';
351
- $folderHtml .= '<th>Uploaded</th>';
352
- $folderHtml .= '</tr>';
353
- foreach ( $files as $i => $val )
354
- {
355
- $niceDate = date( 'jS F Y', $uploadDates[$i] );
356
- $folderHtml .= '<tr>';
357
- $folderHtml .= '<td><span style="color:#aaa;font-size:11px;">' . $n . '</span></td>';
358
- $folderHtml .= '<td>' . $val . '</td>';
359
- $folderHtml .= '<td>&nbsp;</td>';
360
- $folderHtml .= '<td><span class="description">' . $niceDate . '</span></td>';
361
- $folderHtml .= '</tr>';
362
- $n++;
363
- }
364
- $folderHtml .= '</table>';
365
- $folderHtml .= '</div>';
366
- }
367
- }
368
- elseif ( $folderInfo == true ) {
369
- $folderText .= "<p class=\"tabD\">Unable to read or locate the folder <code>" . $O['mp3_dir'] . "</code> check the path and folder permissions</p>";
370
- }
371
- else {
372
- $folderText .= "<p class=\"tabD\">No info is available on remote folders but you can play from here if you know the filenames</p>";
373
- }
374
- ?>
375
-
376
-
377
- <!-- File Lists -->
378
- <table>
379
- <tr>
380
- <td style="width:100px;"><strong>Media Library</strong>&nbsp;&nbsp;</td>
381
- <td style="width:100px;"><?php echo $libButton; ?>&nbsp;&nbsp;</td>
382
- <td><?php echo $libText; ?></td>
383
- </tr>
384
- </table>
385
- <?php echo $liblist; ?>
386
- <br><hr />
387
-
388
- <table>
389
- <tr>
390
- <td style="width:100px;"><strong>Default Folder</strong>&nbsp;&nbsp;</td>
391
- <td style="width:100px;"><?php echo $folderButton; ?>&nbsp;&nbsp;</td>
392
- <td><strong>Path:</strong> <input type="text" style="width:250px;" name="mp3foxfolder" value="<?php echo $O['mp3_dir']; ?>" /> &nbsp; <strong><a href="javascript:" onclick="jQuery('#folderHelp').toggle(300);">Help..</a></strong></td>
393
- </tr>
394
- <tr>
395
- <td></td>
396
- <td></td>
397
- <td>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <?php echo $folderText; ?></td>
398
- </tr>
399
- </table>
400
- <?php echo $folderHtml; ?>
401
-
402
- <div id="folderHelp" class="helpBox" style="display:none; margin:10px 0 0 30px; max-width:550px;">
403
- <p class="description">You can specify a default folder path (local or remote) to play audio from, eg. <code>/my/music</code> or <code>www.anothersite.com/music</code>.
404
- You can then just write filenames in playlists to play from here (you don't need a full url).</p>
405
- </div>
406
- <hr /><br>
407
-
408
-
409
-
410
- <!-- Auto Counterpart -->
411
- <label for="autoCounterpart" style="margin:0px 0 0 0px;">Auto-find counterpart files &nbsp; </label>
412
- <input type="checkbox" name="autoCounterpart" id="autoCounterpart" value="true" <?php echo ( $O['autoCounterpart'] === "true" ? 'checked="checked"' : ''); ?>/>
413
-
414
- <p class="description" style="margin:10px 0 0 0px;">This will pick up a fallback format if it's in the same location as the playlisted track, based on a
415
- filename match. <strong><a href="javascript:" onclick="jQuery('#counterpartHelp').toggle(300);">Help..</a></strong></p>
416
-
417
- <div id="counterpartHelp" class="helpBox" style="display:none; margin:10px 0 0 30px; max-width:550px;">
418
- <p class="description" style="margin-bottom:10px;">With this option ticked, the plugin will automatically look for counterpart files for any players on a page. The
419
- playlisted (primary) track must be from the MPEG family (an mp3, m4a, or mp4 file).</p>
420
-
421
- <p class="description" style="margin-bottom:10px;">Auto-counterparting works for MPEGS in the library, in local folders, and when using bulk play or FEED commands.
422
- Just make sure your counterparts have the same filename, and are in the same location as the primary track. You can always manually add a counterpart to any
423
- primary track format by using the <code>counterpart</code> parameter in a shortcode and specifying a url.</p>
424
-
425
- <p class="description" style="margin-bottom:10px;">Automatic Counterparts are chosen with the following format priority: OGG, WEBM, WAV.</p>
426
- </div>
427
-
428
-
429
- <br><br>
430
- <p><strong>Bulk-Play Settings</strong>
431
- <br><span class="description">Choose which audio formats are playlisted when bulk-playing from folders, the library, and via the</span> <code>FEED</code> <span class="description">command in playlists.</span></p>
432
-
433
- <p style="margin:12px 0 20px 0;">
434
- <?php
435
- foreach ( $O['audioFormats'] as $k => $f )
436
- {
437
- echo '<input class="formatChecker" type="checkbox" name="audioFormats[' .$k. ']" id="audioFormats_' .$k. '" value="true"' . ( $f === 'true' ? ' checked="checked"' : '' ) . '/>';
438
- echo '<label for="audioFormats_' .$k. '">' .$k. '</label> &nbsp;&nbsp;&nbsp;&nbsp;';
439
- }
440
- ?>
441
- </p>
442
-
443
- <table style="margin-left:30px;">
444
- <tr>
445
- <td>Order Library by:&nbsp;&nbsp;</td>
446
- <td>
447
- <select name="librarySortcol" style="width:160px;">
448
- <option value="file" <?php if ( 'file' == $O['library_sortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Filename</option>
449
- <option value="date" <?php if ( 'date' == $O['library_sortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Date Uploaded</option>
450
- <option value="caption" <?php if ( 'caption' == $O['library_sortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Caption, Title</option>
451
- <option value="title" <?php if ( 'title' == $O['library_sortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Title</option>
452
- </select>&nbsp;&nbsp;
453
- </td>
454
- <td>&nbsp; Direction: &nbsp;</td>
455
- <td>
456
- <select name="libraryDirection" style="width:100px;">
457
- <option value="ASC" <?php if ( 'ASC' == $O['library_direction'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Asc</option>
458
- <option value="DESC" <?php if ( 'DESC' == $O['library_direction'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Desc</option>
459
- </select>
460
- </td>
461
- </tr>
462
- <tr>
463
- <td>Order Folders by:&nbsp;&nbsp;</td>
464
- <td>
465
- <select name="folderFeedSortcol" style="width:160px;">
466
- <option value="file" <?php if ( 'file' == $O['folderFeedSortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Filename</option>
467
- <option value="date" <?php if ( 'date' == $O['folderFeedSortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Date Uploaded</option>
468
- </select>&nbsp;&nbsp;
469
- </td>
470
- <td>&nbsp; Direction: &nbsp;</td>
471
- <td>
472
- <select name="folderFeedDirection" style="width:100px;">
473
- <option value="ASC" <?php if ( 'ASC' == $O['folderFeedDirection'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Asc</option>
474
- <option value="DESC" <?php if ( 'DESC' == $O['folderFeedDirection'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Desc</option>
475
- </select>
476
- </td>
477
- </tr>
478
- </table>
479
-
480
- <br />
481
- <p style="margin-left:30px;"><span class="description" id="feedCounterpartInfo"></span></p>
482
-
483
-
484
- </div><!-- CLOSE FILES TAB -->
485
-
486
-
487
-
488
- <!-- DOWNLOADS TAB .......................... -->
489
- <div class="mp3j-tab" id="mp3j_tab_3">
490
- <p class="tabD" style="margin:0 0 10px 0;">Download buttons are shown on playlist players, use these options to set their behavior.</p>
491
-
492
- <table>
493
- <tr>
494
- <td><strong>Show Download Button</strong>:</td>
495
- <td><select name="mp3foxDownloadMp3" style="width:150px;">
496
- <option value="true" <?php if ( 'true' == $O['show_downloadmp3'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Yes</option>
497
- <option value="false" <?php if ( 'false' == $O['show_downloadmp3'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>No</option>
498
- <option value="loggedin" <?php if ( 'loggedin' == $O['show_downloadmp3'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>To logged in users</option>
499
- </select></td>
500
- </tr>
501
- <tr>
502
- <td><strong>Button Text</strong>:</td>
503
- <td><input type="text" style="width:150px;" name="dload_text" value="<?php echo $O['dload_text']; ?>" /></td>
504
- </tr>
505
-
506
- </table>
507
-
508
-
509
- <p class="description" style="margin:20px 0 5px 0px; max-width:400px;">When setting any players for logged-in downloads, use the following options to set the text/link for any logged out visitors.</p>
510
- <table>
511
- <tr>
512
- <td><strong>Visitor Text</strong>:</td>
513
- <td>
514
- <input type="text" style="width:150px;" name="loggedout_dload_text" value="<?php echo $O['loggedout_dload_text']; ?>" />
515
- </td>
516
- </tr>
517
- <tr>
518
- <td><strong>Visitor Link</strong>:</td>
519
- <td>
520
- <input type="text" style="width:300px;" name="loggedout_dload_link" value="<?php echo $O['loggedout_dload_link']; ?>" />
521
- &nbsp; <span class="description">Optional URL for the visitor text</span>
522
- </td>
523
- </tr>
524
-
525
- </table>
526
-
527
- <br><br>
528
- <input type="checkbox" name="force_browser_dload" id="force_browser_dload" value="true" <?php if ($O['force_browser_dload'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
529
- &nbsp;<label for="force_browser_dload">Smooth Downloads</label>
530
- <p class="description" style="margin:10px 0 10px 30px; max-width:500px;">This makes downloading seamless for most users, or it will display a dialog box with a link when a seamless download is not possible.</p>
531
-
532
- <p class="description" style="margin:10px 0 10px 30px; max-width:500px;">If you play from other domains and want seamless downloads, then use
533
- the field below to specify a path to the downloader file. <strong><a href="<?php echo $MP3JP->PluginFolder; ?>/remote/help.txt">See help on setting this up</a></strong></p>
534
-
535
- <table style="margin-left:25px;">
536
- <tr>
537
- <td><strong>Path to remote downloader file</strong>:</td>
538
- <td>
539
- <input type="text" style="width:150px;" name="dloader_remote_path" value="<?php echo $O['dloader_remote_path']; ?>" />
540
- </td>
541
- </tr>
542
- </table>
543
-
544
-
545
- </div>
546
-
547
-
548
-
549
-
550
-
551
- <!-- POPOUT TAB .......................... -->
552
- <div class="mp3j-tab" id="mp3j_tab_4">
553
-
554
- <table style="margin-left:0px;">
555
- <tr>
556
- <td><strong>Launch Button Text</strong>:</td>
557
- <td><input type="text" style="width:150px;" name="mp3foxPopoutButtonText" value="<?php echo $O['popout_button_title']; ?>" /><span class="description"> &nbsp;The default text shown on popout links and buttons.</span></td>
558
- </tr>
559
- <tr>
560
- <td><strong>Window Width</strong>:</td>
561
- <td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutWidth" value="<?php echo $O['popout_width']; ?>" /> px <span class="description">&nbsp; (250 - 1600)</span></td>
562
- </tr>
563
- <tr>
564
- <td><strong>Window Height</strong>: &nbsp;</td>
565
- <td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutMaxHeight" value="<?php echo $O['popout_max_height']; ?>" /> px <span class="description">&nbsp; (200 - 1200) &nbsp; a scroll bar will show for longer playlists</span></td>
566
- </tr>
567
- <tr>
568
- <td><strong>Background Colour</strong>:</td>
569
- <td><input type="text"name="mp3foxPopoutBackground" style="width:100px;" value="<?php echo $O['popout_background']; ?>" /></td>
570
- </tr>
571
- <tr>
572
- <td><strong>Background Image</strong>:</td>
573
- <td><input type="text" style="width:100%;" name="mp3foxPopoutBGimage" value="<?php echo $O['popout_background_image']; ?>" /></td>
574
- </tr>
575
- </table>
576
- </div><!-- CLOSE POPOUT TAB -->
577
-
578
-
579
- <!-- TAB 2.......................... -->
580
- <div class="mp3j-tab" id="mp3j_tab_2">
581
- <?php $greyout_text = ( $O['disable_jquery_libs'] == "yes" ) ? ' style="color:#d6d6d6;"' : ''; ?>
582
- <p class="tabD" style="margin:0 0 10px 0;">Choose which aspects of your content you'd like MP3-jPlayer to handle.</p>
583
-
584
- <table>
585
- <tr>
586
- <td><input type="checkbox" name="replace_WP_audio" id="replace_WP_audio" value="true" <?php if ($O['replace_WP_audio'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
587
- &nbsp; <label for="replace_WP_audio">Audio Players</label></td>
588
- <td><span class="description">Use the 'Add Media' Button on post/page edit screens and choose 'Embed Player' from the right select (WP 3.6+).</span></td>
589
- </tr>
590
- <tr>
591
- <td><input type="checkbox" name="replace_WP_playlist" id="replace_WP_playlist" value="true" <?php if ($O['replace_WP_playlist'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
592
- &nbsp; <label for="replace_WP_playlist">Playlist Players</label></td>
593
- <td><span class="description">Use the 'Add Media' Button on post/page edit screens and choose 'Audio Playlist' from the left menu (WP 3.9+).</span></td>
594
- </tr>
595
- <tr>
596
- <td><input type="checkbox" name="make_player_from_link" id="make_player_from_link" value="true" <?php if ($O['make_player_from_link'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
597
- &nbsp; <label for="make_player_from_link">Links to Audio Files</label> &nbsp;</td>
598
- <td><span class="description">Links within post/page content will be turned into players using the shortcode specified under the 'Advanced' tab.</span></td>
599
- </tr>
600
- <tr>
601
- <td><input type="checkbox" name="replace_WP_attached" id="replace_WP_attached" value="true" <?php if ($O['replace_WP_attached'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
602
- &nbsp; <label for="replace_WP_attached">Attached Audio</label></td>
603
- <td><span class="description">Use the shortcode <code>[audio]</code> in posts and pages to playlist any attached audio.</span></td>
604
- </tr>
605
- <tr>
606
- <td><input type="checkbox" name="replace_WP_embedded" id="replace_WP_embedded" value="true" <?php if ($O['replace_WP_embedded'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
607
- &nbsp; <label for="replace_WP_embedded">URLs</label></td>
608
- <td><span class="description">Paste urls directly into posts and pages (WP 3.6+).</span></td>
609
- </tr>
610
-
611
- </table>
612
-
613
- <br>
614
- <p><span class="description">You can always use MP3-jPlayer's own shortcodes and widgets regardless of the above settings.</span></p>
615
-
616
-
617
-
618
-
619
- <br><br><hr>
620
- <p class="tabD" style="margin:0 0 10px 0; max-width:550px;">On pages like index, archive and search pages, set whether to show players within posts. These settings won't affect player widgets.</p>
621
- <p><input type="checkbox" name="mp3foxOnBlog" id="mp3foxOnBlog" value="true" <?php if ($O['player_onblog'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
622
- <label for="mp3foxOnBlog"> &nbsp; Show players when the full content is used.</p>
623
- <p><input type="checkbox" name="runShcodeInExcerpt" id="runShcodeInExcerpt" value="true" <?php if ($O['run_shcode_in_excerpt'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
624
- <label for="runShcodeInExcerpt"> &nbsp; Show players when excerpts are used.</label>
625
- &nbsp;<span class="description">NOTE: this works for manually written post excerpts only, write your shortcodes into the excerpt field on post edit screens.</span></p>
626
-
627
-
628
-
629
-
630
-
631
- <br><br><hr>
632
- <p class="tabD" style="margin:0 0 10px 0;">Misc File Settings</p>
633
- <p><input type="checkbox" name="allowRangeRequests" id="allowRangeRequests" value="true"<?php echo ( $O['allowRangeRequests'] === "true" ? ' checked="checked"' : ''); ?>/><label for="allowRangeRequests">&nbsp;&nbsp; Allow position seeking beyond buffered</label></p>
634
- <p class="description" style="margin:0 0 5px 30px; max-width:550px;">Lets users seek to end of tracks without waiting for media to load. Most servers
635
- should allow this by default, if you are having issues then check that your server has the <code>accept-ranges: bytes</code> header set, or
636
- you can just switch this option off.</p>
637
- <p><input type="checkbox" id="mp3foxHideExtension" name="mp3foxHideExtension" value="true" <?php if ($O['hide_mp3extension'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /> &nbsp; <label for="mp3foxHideExtension">Hide file extensions if a filename is displayed</label><br /><span class="description" style="margin-left:30px;">Filenames are displayed when there's no available titles.</span></p>
638
- <p><input type="checkbox" id="mp3foxEncodeFiles" name="mp3foxEncodeFiles" value="true" <?php if ($O['encode_files'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /> &nbsp; <label for="mp3foxEncodeFiles">Encode URLs</label><br /><span class="description" style="margin-left:28px;">Provides some obfuscation of your urls in the page source.</span></p>
639
- <p><input type="checkbox" id="mp3foxAllowRemote" name="mp3foxAllowRemote" value="true" <?php if ($O['allow_remoteMp3'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /> &nbsp; <label for="mp3foxAllowRemote">Allow playing of off-site files</label><br /><span class="description" style="margin-left:28px;">Un-checking this option filters out any files coming from other domains, but doesn't affect ability to play from a remote default path if one has been set above.</span></p>
640
-
641
-
642
-
643
-
644
-
645
- <br><br><hr>
646
- <p class="tabD" style="margin:0 0 10px 0;">Conversion Options</p>
647
- <table>
648
- <tr>
649
- <td><strong>Turn</strong> <code>[audio]</code> <strong>shortcodes into</strong>:</td>
650
- <td>
651
- <select name="replacerShortcode_single" style="width:200px; font-weight:500;">
652
- <option value="mp3j"<?php if ( 'mp3j' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Single Players - Graphic</option>
653
- <option value="mp3t"<?php if ( 'mp3t' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Single Players - Text</option>
654
- <option value="player"<?php if ( 'player' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Playlist Players</option>
655
- <option value="popout"<?php if ( 'popout' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Popout Links</option>
656
- </select>
657
- </td>
658
- </tr>
659
- <tr>
660
- <td><strong>Turn</strong> <code>[playlist]</code> <strong>shortcodes into</strong>:&nbsp;&nbsp;&nbsp;</td>
661
- <td>
662
- <select name="replacerShortcode_playlist" id="replacerShortcode_playlist" style="width:200px; font-weight:500;">
663
- <option value="player"<?php if ( 'player' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; } ?>>Playlist Players</option>
664
- <option value="popout"<?php if ( 'popout' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; } ?>>Popout Links</option>
665
- </select>
666
- </td>
667
- </tr>
668
- <tr>
669
- <td class="vTop"><br /><strong>Turn converted links into</strong>:</td>
670
- <td>
671
- <br />
672
- <textarea class="widefat" style="width:400px; height:100px;" name="make_player_from_link_shcode"><?php
673
- $deslashed = str_replace('\"', '"', $O['make_player_from_link_shcode'] );
674
- echo $deslashed;
675
- ?></textarea><br />
676
- <span class="description">Placeholders:</span> <code>{TEXT}</code> <span class="description">- Link text,</span> <code>{URL}</code> <span class="description">- Link url.
677
- <br />This field can also include arbitrary text/html.</span>
678
- </td>
679
- </tr>
680
- </table>
681
-
682
-
683
-
684
-
685
- <br><br><hr>
686
- <p class="tabD" style="margin:0 0 10px 0;">Javascripts</p>
687
-
688
- <?php $bgc = ( $O['disable_jquery_libs'] == "yes" ) ? "#fdd" : "#f9f9f9"; ?>
689
- <div style="margin: 20px 0px 10px 0px; padding:6px; background:<?php echo $bgc; ?>; border:1px solid #ccc;">
690
- <p style="margin:0 0 5px 18px; font-weight:700;">Disable jQuery and jQuery-UI javascript libraries? &nbsp; <input type="text" style="width:60px;" name="disableJSlibs" value="<?php echo $O['disable_jquery_libs']; ?>" /></p>
691
- <p style="margin: 0 0 8px 18px;"><span class="description"><span style="color:#333;">CAUTION!!</span> This option will bypass the request <strong>from this plugin only</strong> for both jQuery <strong>and</strong> jQuery-UI scripts,
692
- you <strong>MUST</strong> be providing these scripts from an alternative source.
693
- <br />Type <code>yes</code> in the box and save settings to bypass jQuery and jQuery-UI.</span></p>
694
- </div>
695
-
696
-
697
-
698
- <br><br><hr>
699
- <p class="tabD" style="margin:0 0 10px 0;">Playlist Separators</p>
700
- <div style="margin: 10px 0px 10px 0px; padding:6px 18px 6px 18px; background:#f9f9f9; border:1px solid #ccc;">
701
- <span class="description">If you manually write playlists then you can choose the separators you use in the tracks and captions lists.
702
- <br /><span style="color:#333;">CAUTION!!</span> You'll need to manually update any existing playlists if you change the separators!</span>
703
-
704
- <p style="margin:10px 0 0 20px;"><strong>Files:</strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
705
- <select name="file_separator" style="width:120px; font-size:11px; line-height:16px;">
706
- <option value="," <?php if ( ',' == $O['f_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>, (comma)</option>
707
- <option value=";" <?php if ( ';' == $O['f_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>; (semicolon)</option>
708
- <option value="###" <?php if ( '###' == $O['f_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>### (3 hashes)</option>
709
- </select>
710
- &nbsp;&nbsp;<span class="description">eg.</span> <code>tracks="fileA.mp3 <?php echo $O['f_separator']; ?> Title@fileB.mp3 <?php echo $O['f_separator']; ?> fileC.mp3"</code></p>
711
-
712
- <p style="margin-left:20px;"><strong>Captions:</strong> &nbsp;&nbsp;
713
- <select name="caption_separator" style="width:120px; font-size:11px; line-height:16px;">
714
- <option value="," <?php if ( ',' == $O['c_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>, (comma)</option>
715
- <option value=";" <?php if ( ';' == $O['c_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>; (semicolon)</option>
716
- <option value="###" <?php if ( '###' == $O['c_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>### (3 hashes)</option>
717
- </select>
718
- &nbsp;&nbsp;<span class="description">eg.</span> <code>captions="Caption A <?php echo $O['c_separator']; ?> Caption B <?php echo $O['c_separator']; ?> Caption C"</code></p>
719
- </div>
720
-
721
- <br><br><hr>
722
- <p class="tabD" style="margin:0 0 10px 0;">Other Settings</p>
723
-
724
-
725
- <p style="margin-bottom:10px;"><strong>Show error messages</strong>:
726
- &nbsp;&nbsp;&nbsp;
727
- <select name="showErrors">
728
- <option value="false"<?php if ( 'false' == $O['showErrors'] ) { echo ' selected="selected"'; } ?>>Never</option>
729
- <option value="admin"<?php if ( 'admin' == $O['showErrors'] ) { echo ' selected="selected"'; } ?>>To Admins only</option>
730
- <option value="true"<?php if ( 'true' == $O['showErrors'] ) { echo ' selected="selected"'; } ?>>To All</option>
731
- </select></p>
732
-
733
-
734
- <p><input type="checkbox" id="mp3foxEchoDebug" name="mp3foxEchoDebug" value="true" <?php if ($O['echo_debug'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /> &nbsp;<label for="mp3foxEchoDebug">Turn on debug</label><br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description">(info appears in the source view near the bottom)</span></p>
735
-
736
-
737
-
738
- </div><!-- CLOSE ADVANCED TAB -->
739
- </div><!-- close tabs wrapper -->
740
-
741
- <hr /><br />
742
- <table>
743
- <tr>
744
- <td>
745
- <input type="submit" name="update_mp3foxSettings" class="button-primary" style="font-weight:700;" value="<?php _e('Save All Changes', $MP3JP->textdomain ) ?>" />&nbsp;&nbsp;&nbsp;
746
- </td>
747
- <td>
748
- <p style="margin-top:5px;"><label for="mp3foxRemember">Remember settings if plugin is deactivated &nbsp;</label>
749
- <input type="checkbox" id="mp3foxRemember" name="mp3foxRemember" value="true" <?php if ($O['remember_settings'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /></p>
750
- </td>
751
- <tr>
752
- </table>
753
-
754
- <!--<input type="hidden" id="fox_styling" name="MtogBox1" value="<?php //echo $O['admin_toggle_1']; // Colour settings toggle state ?>" />-->
755
- <input type="hidden" name="mp3foxPluginVersion" value="<?php echo $MP3JP->version_of_plugin; ?>" />
756
-
757
- </form>
758
- <br>
759
- <hr>
760
- <div style="margin: 15px 0px 0px 0px; min-height:30px;">
761
- <p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
762
- <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/">Help & Docs &raquo;</a>
763
- &nbsp;&nbsp; <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins">Get Skins &raquo;</a>
764
- &nbsp;&nbsp; <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons">Get Add-Ons &raquo;</a>
765
- </p>
766
- </div>
767
-
768
-
769
- <div style="margin: 15px auto; height:100px;">
770
- </div>
771
- </div>
772
-
773
- <?php
774
-
775
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
776
  ?>
1
+ <?php
2
+
3
+ function mp3j_print_admin_page()
4
+ {
5
+
6
+ global $MP3JP;
7
+ $O = $MP3JP->getAdminOptions();
8
+ $colours_array = array();
9
+
10
+
11
+ if ( isset( $_POST['update_mp3foxSettings'] ) )
12
+ {
13
+ //prep/sanitize values
14
+ if (isset($_POST['mp3foxVol'])) {
15
+ $O['initial_vol'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxVol']);
16
+ if ($O['initial_vol'] < 0 || $O['initial_vol']=="") { $O['initial_vol'] = "0"; }
17
+ if ($O['initial_vol'] > 100) { $O['initial_vol'] = "100"; }
18
+ }
19
+ if (isset($_POST['mp3foxPopoutMaxHeight'])) {
20
+ $O['popout_max_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutMaxHeight']);
21
+ if ( $O['popout_max_height'] == "" ) { $O['popout_max_height'] = "750"; }
22
+ if ( $O['popout_max_height'] < 200 ) { $O['popout_max_height'] = "200"; }
23
+ if ( $O['popout_max_height'] > 1200 ) { $O['popout_max_height'] = "1200"; }
24
+ }
25
+ if (isset($_POST['mp3foxPopoutWidth'])) {
26
+ $O['popout_width'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxPopoutWidth']);
27
+ if ( $O['popout_width'] == "" ) { $O['popout_width'] = "400"; }
28
+ if ( $O['popout_width'] < 250 ) { $O['popout_width'] = "250"; }
29
+ if ( $O['popout_width'] > 1600 ) { $O['popout_width'] = "1600"; }
30
+ }
31
+ if (isset($_POST['mp3foxMaxListHeight'])) {
32
+ $O['max_list_height'] = preg_replace("/[^0-9]/", "", $_POST['mp3foxMaxListHeight']);
33
+ if ( $O['max_list_height'] < 0 ) { $O['max_list_height'] = ""; }
34
+ }
35
+ if (isset($_POST['mp3foxfolder'])) {
36
+ $O['mp3_dir'] = $MP3JP->prep_path( $_POST['mp3foxfolder'] );
37
+ }
38
+ if (isset($_POST['mp3foxPopoutBGimage'])) {
39
+ $O['popout_background_image'] = $MP3JP->prep_path( $_POST['mp3foxPopoutBGimage'] );
40
+ }
41
+
42
+ $O['dloader_remote_path'] = ( isset($_POST['dloader_remote_path']) ) ? $MP3JP->prep_value( $_POST['dloader_remote_path'] ) : "";
43
+ $O['loggedout_dload_link'] = ( $_POST['loggedout_dload_link'] == "" ) ? "" : $MP3JP->prep_value( $_POST['loggedout_dload_link'] ); //allow it to be empty
44
+
45
+ if (isset($_POST['mp3foxFloat'])) {
46
+ $O['player_float'] = $MP3JP->prep_value( $_POST['mp3foxFloat'] );
47
+ }
48
+ if (isset($_POST['librarySortcol'])) {
49
+ $O['library_sortcol'] = $MP3JP->prep_value( $_POST['librarySortcol'] );
50
+ }
51
+ if (isset($_POST['libraryDirection'])) {
52
+ $O['library_direction'] = $MP3JP->prep_value( $_POST['libraryDirection'] );
53
+ }
54
+ if (isset($_POST['folderFeedSortcol'])) {
55
+ $O['folderFeedSortcol'] = $MP3JP->prep_value( $_POST['folderFeedSortcol'] );
56
+ }
57
+ if (isset($_POST['folderFeedDirection'])) {
58
+ $O['folderFeedDirection'] = $MP3JP->prep_value( $_POST['folderFeedDirection'] );
59
+ }
60
+ if (isset($_POST['file_separator'])) {
61
+ $O['f_separator'] = $MP3JP->prep_value( $_POST['file_separator'] );
62
+ }
63
+ if (isset($_POST['caption_separator'])) {
64
+ $O['c_separator'] = $MP3JP->prep_value( $_POST['caption_separator'] );
65
+ }
66
+ if (isset($_POST['mp3foxDownloadMp3'])) {
67
+ $O['show_downloadmp3'] = $MP3JP->prep_value( $_POST['mp3foxDownloadMp3'] );
68
+ }
69
+ if (isset($_POST['replacerShortcode_playlist'])) {
70
+ $O['replacerShortcode_playlist'] = $MP3JP->prep_value( $_POST['replacerShortcode_playlist'] );
71
+ }
72
+ if (isset($_POST['replacerShortcode_single'])) {
73
+ $O['replacerShortcode_single'] = $MP3JP->prep_value( $_POST['replacerShortcode_single'] );
74
+ }
75
+ if (isset($_POST['showErrors'])) {
76
+ $O['showErrors'] = $MP3JP->prep_value( $_POST['showErrors'] );
77
+ }
78
+
79
+ $O['echo_debug'] = ( isset($_POST['mp3foxEchoDebug']) ) ? "true" : "false";
80
+ $O['add_track_numbering'] = ( isset($_POST['mp3foxAddTrackNumbers']) ) ? "true" : "false";
81
+ $O['enable_popout'] = ( isset($_POST['mp3foxEnablePopout']) ) ? "true" : "false";
82
+ $O['playlist_repeat'] = ( isset($_POST['mp3foxPlaylistRepeat']) ) ? "true" : "false";
83
+ $O['encode_files'] = ( isset($_POST['mp3foxEncodeFiles']) ) ? "true" : "false";
84
+ $O['run_shcode_in_excerpt'] = ( isset($_POST['runShcodeInExcerpt']) ) ? "true" : "false";
85
+ $O['volslider_on_singles'] = ( isset($_POST['volslider_onsingles']) ) ? "true" : "false";
86
+ $O['volslider_on_mp3j'] = ( isset($_POST['volslider_onmp3j']) ) ? "true" : "false";
87
+ //$O['touch_punch_js'] = ( isset($_POST['touch_punch_js']) ) ? "true" : "false";
88
+ $O['force_browser_dload'] = ( isset($_POST['force_browser_dload']) ) ? "true" : "false";
89
+ $O['make_player_from_link'] = ( isset($_POST['make_player_from_link']) ) ? "true" : "false";
90
+ $O['auto_play'] = ( isset($_POST['mp3foxAutoplay']) ) ? "true" : "false";
91
+ $O['allow_remoteMp3'] = ( isset($_POST['mp3foxAllowRemote']) ) ? "true" : "false";
92
+ $O['player_onblog'] = ( isset($_POST['mp3foxOnBlog']) ) ? "true" : "false";
93
+ $O['playlist_show'] = ( isset($_POST['mp3foxShowPlaylist']) ) ? "true" : "false";
94
+ $O['remember_settings'] = ( isset($_POST['mp3foxRemember']) ) ? "true" : "false";
95
+ $O['hide_mp3extension'] = ( isset($_POST['mp3foxHideExtension']) ) ? "true" : "false";
96
+ $O['replace_WP_playlist'] = ( isset($_POST['replace_WP_playlist']) ) ? "true" : "false";
97
+ $O['replace_WP_audio'] = ( isset($_POST['replace_WP_audio']) ) ? "true" : "false";
98
+ $O['replace_WP_embedded'] = ( isset($_POST['replace_WP_embedded']) ) ? "true" : "false";
99
+ $O['replace_WP_attached'] = ( isset($_POST['replace_WP_attached']) ) ? "true" : "false";
100
+ $O['autoCounterpart'] = ( isset($_POST['autoCounterpart']) ) ? "true" : "false";
101
+ $O['allowRangeRequests'] = ( isset($_POST['allowRangeRequests']) ) ? "true" : "false";
102
+
103
+ $O['flipMP3j'] = ( isset($_POST['flipMP3j']) ) ? "false" : "true";
104
+ $O['flipMP3t'] = ( isset($_POST['flipMP3t']) ) ? "true" : "false";
105
+
106
+ $O['libUseID3'] = ( isset($_POST['libUseID3']) ) ? "true" : "false";
107
+
108
+ $O['paddings_top'] = ( $_POST['mp3foxPaddings_top'] == "" ) ? "0px" : $MP3JP->prep_value( $_POST['mp3foxPaddings_top'] );
109
+ $O['paddings_bottom'] = ( $_POST['mp3foxPaddings_bottom'] == "" ) ? "0px" : $MP3JP->prep_value( $_POST['mp3foxPaddings_bottom'] );
110
+ $O['paddings_inner'] = ( $_POST['mp3foxPaddings_inner'] == "" ) ? "0px" : $MP3JP->prep_value( $_POST['mp3foxPaddings_inner'] );
111
+ $O['font_size_mp3t'] = ( $_POST['font_size_mp3t'] == "" ) ? "14px" : $MP3JP->prep_value( $_POST['font_size_mp3t'] );
112
+ $O['font_size_mp3j'] = ( $_POST['font_size_mp3j'] == "" ) ? "14px" : $MP3JP->prep_value( $_POST['font_size_mp3j'] );
113
+ $O['dload_text'] = ( $_POST['dload_text'] == "" ) ? "" : $MP3JP->strip_scripts( $_POST['dload_text'] );
114
+ $O['loggedout_dload_text'] = ( $_POST['loggedout_dload_text'] == "" ) ? "" : $MP3JP->strip_scripts( $_POST['loggedout_dload_text'] );
115
+
116
+ $hasFormat = false;
117
+ foreach ( $O['audioFormats'] as $k => $f ) {
118
+ if ( isset($_POST['audioFormats'][$k]) ) {
119
+ $O['audioFormats'][$k] = "true";
120
+ $hasFormat = true;
121
+ }
122
+ else {
123
+ $O['audioFormats'][$k] = "false";
124
+ }
125
+ }
126
+ if ( ! $hasFormat ) {
127
+ $O['audioFormats']['mp3'] = "true";
128
+ }
129
+
130
+ if (isset($_POST['mp3foxPlayerWidth'])) {
131
+ $O['player_width'] = $MP3JP->prep_value( $_POST['mp3foxPlayerWidth'] );
132
+ }
133
+ if (isset($_POST['disableJSlibs'])) {
134
+ $O['disable_jquery_libs'] = ( preg_match("/^yes$/i", $_POST['disableJSlibs']) ) ? "yes" : "";
135
+ }
136
+ if ( isset($_POST['mp3foxPopoutButtonText']) ) {
137
+ $O['popout_button_title'] = $MP3JP->strip_scripts( $_POST['mp3foxPopoutButtonText'] );
138
+ }
139
+ if ( isset($_POST['make_player_from_link_shcode']) ) {
140
+ $O['make_player_from_link_shcode'] = $MP3JP->strip_scripts( $_POST['make_player_from_link_shcode'] );
141
+ }
142
+ if ( isset($_POST['mp3foxPopoutBackground']) ) {
143
+ $O['popout_background'] = $MP3JP->prep_value( $_POST['mp3foxPopoutBackground'] );
144
+ }
145
+ if ( isset($_POST['mp3foxPluginVersion']) ) {
146
+ $O['db_plugin_version'] = $MP3JP->prep_value( $_POST['mp3foxPluginVersion'] );
147
+ }
148
+
149
+ update_option($MP3JP->adminOptionsName, $O);
150
+ $MP3JP->theSettings = $O;
151
+ $MP3JP->setAllowedFeedTypesArrays();
152
+
153
+ MJPsettings_submit();
154
+ ?>
155
+
156
+ <!-- Settings saved message -->
157
+ <div class="updated"><p><strong><?php _e("Settings Updated.", $MP3JP->textdomain );?></strong></p></div>
158
+ <?php
159
+ }
160
+
161
+
162
+ $current_colours = $O['colour_settings'];
163
+ ?>
164
+ <div class="wrap">
165
+
166
+
167
+ <h2>&nbsp;</h2>
168
+ <h1>MP3-jPlayer
169
+ <span class="description" style="font-size:10px;">Version <?php echo $MP3JP->version_of_plugin; ?></span>
170
+ &nbsp;<span class="description" style="font-size:13px; font-weight:700;"><a class="button-secondary" style="background-color:#f0fff0;" target="_blank" href="http://mp3-jplayer.com/help-docs/">Help & Docs &raquo;</a></span>
171
+ </h1>
172
+ <p style="margin-bottom:10px;">&nbsp;</p>
173
+ <?php
174
+ if ( $O['disable_jquery_libs'] == "yes" ) {
175
+ echo '&nbsp;<span style="font-size: 11px; font-weight:700; color:#f66;">(jQuery and UI scripts are turned off)</span>';
176
+ }
177
+ ?>
178
+ <form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
179
+
180
+
181
+ <div class="mp3j-tabbuttons-wrap">
182
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_1">Files</div>
183
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_0">Players</div>
184
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_3">Downloads</div>
185
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_4">Popout</div>
186
+ <div class="mp3j-tabbutton" id="mp3j_tabbutton_2">Advanced</div>
187
+ <br class="clearB" />
188
+ </div>
189
+
190
+ <div class="mp3j-tabs-wrap">
191
+
192
+ <!-- TAB 0.......................... -->
193
+ <div class="mp3j-tab" id="mp3j_tab_0">
194
+ <p class="tabD" style="margin:0 0 10px 0; max-width:550px;">These are the player default settings, most of them can be set per-player using <strong><a target="_blank" href="http://mp3-jplayer.com/shortcode-reference/">shortcode parameters</a></strong>.</p>
195
+
196
+ <p style="margin-bottom:10px;"><label>Initial volume: &nbsp; </label><input type="text" style="text-align:center;" size="2" name="mp3foxVol" value="<?php echo $O['initial_vol']; ?>" /> &nbsp; <span class="description">(0 - 100)</span></p>
197
+ <p><input type="checkbox" name="mp3foxAutoplay" id="mp3foxAutoplay" value="true" <?php if ($O['auto_play'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> /><label for="mp3foxAutoplay"> &nbsp; Autoplay</label> &nbsp; <span class="description">(Disallowed by most touchscreen devices, this will only activate on desktops and laptops)</span></p>
198
+ <p><input type="checkbox" name="mp3foxPlaylistRepeat" id="mp3foxPlaylistRepeat" value="true" <?php if ($O['playlist_repeat'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> /><label for="mp3foxPlaylistRepeat"> &nbsp; Loop</label></p>
199
+ <p><input type="checkbox" name="mp3foxAddTrackNumbers" id="mp3foxAddTrackNumbers" value="true" <?php if ($O['add_track_numbering'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
200
+ <label for="mp3foxAddTrackNumbers"> &nbsp; Number the tracks</label></p>
201
+
202
+ <?php
203
+ MJPsettings_players();
204
+ ?>
205
+
206
+ <br><br>
207
+ <div style="float:left; width:260px; margin-right:10px;">
208
+
209
+ <div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:4px 0 4px 10px; margin:0 0 5px 0;">Single-File Text Players</div>
210
+ <table style="margin:0 0 0px 10px;">
211
+ <tr>
212
+ <td><strong>Font Size</strong>:</td>
213
+ <td><input type="text" value="<?php echo $O['font_size_mp3t']; ?>" name="font_size_mp3t" style="width:70px;" /></td>
214
+ </tr>
215
+ <tr>
216
+ <td><label for="volslider_onsingles"><strong>Volume Control</strong>: &nbsp;</label></td>
217
+ <td><input type="checkbox" name="volslider_onsingles" id="volslider_onsingles" value="true" <?php if ($O['volslider_on_singles'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /></td>
218
+ </tr>
219
+ <tr>
220
+ <td><label for="flipMP3t"><strong>Play on RHS</strong>: &nbsp;</label></td>
221
+ <td><input type="checkbox" name="flipMP3t" id="flipMP3t" value="true" <?php if ($O['flipMP3t'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /></td>
222
+ </tr>
223
+ <?php
224
+ MJPsettings_mp3t();
225
+ ?>
226
+ </table>
227
+
228
+ </div>
229
+
230
+ <div style="float:left; width:260px;">
231
+ <div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:4px 0 4px 10px; margin:0 0 5px 0;">Single-File Button Players</div>
232
+ <table style="margin:0 0 0px 10px;">
233
+ <tr>
234
+ <td><strong>Font Size</strong>:</td>
235
+ <td><input type="text" value="<?php echo $O['font_size_mp3j']; ?>" name="font_size_mp3j" style="width:70px;" /></td>
236
+ </tr>
237
+ <tr>
238
+ <td><label for="volslider_onmp3j"><strong>Volume Control</strong>: &nbsp;</label></td>
239
+ <td><input type="checkbox" name="volslider_onmp3j" id="volslider_onmp3j" value="true" <?php if ($O['volslider_on_mp3j'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /></td>
240
+ </tr>
241
+ <tr>
242
+ <td><label for="flipMP3j"><strong>Play on RHS</strong>: &nbsp;</label></td>
243
+ <td><input type="checkbox" name="flipMP3j" id="flipMP3j" value="false" <?php if ($O['flipMP3j'] == "false") { _e('checked="checked"', $MP3JP->textdomain ); }?> /></td>
244
+ </tr>
245
+ <?php
246
+ MJPsettings_mp3j();
247
+ ?>
248
+ </table>
249
+
250
+ </div>
251
+
252
+ <br class="clearB"><br><br>
253
+ <div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:4px 0 4px 10px; margin:0 0 5px 0; width:520px;">Playlist Players</div>
254
+ <table style="margin:0 0 0px 10px;">
255
+ <tr>
256
+ <td><strong>Width:</strong></td>
257
+ <td><input type="text" style="width:100px;" name="mp3foxPlayerWidth" value="<?php echo $O['player_width']; ?>" /></td>
258
+ <td><span class="description">pixels (px) or percent (%)</span></td>
259
+ </tr>
260
+ <tr>
261
+ <td><strong>Alignment:</strong></td>
262
+ <td><select name="mp3foxFloat" style="width:100px;">
263
+ <option value="none" <?php if ( 'none' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Left</option>
264
+ <option value="rel-C" <?php if ( 'rel-C' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Centre</option>
265
+ <option value="rel-R" <?php if ( 'rel-R' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Right</option>
266
+ <option value="left" <?php if ( 'left' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Float Left</option>
267
+ <option value="right" <?php if ( 'right' == $O['player_float'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Float Right</option>
268
+ </select></td>
269
+ <td></td>
270
+ </tr>
271
+ <tr>
272
+ <td>&nbsp;</td>
273
+ <td></td>
274
+ <td></td>
275
+ </tr>
276
+ <tr>
277
+ <td><strong>Margins:</strong></td>
278
+ <td colspan="2">&nbsp;<span class="description">pixels (px) or percent (%)</span></td>
279
+ </tr>
280
+ <tr>
281
+ <td></td>
282
+ <td colspan="2"><input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_top" value="<?php echo $O['paddings_top']; ?>" /> Above players<br />
283
+ <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_inner" value="<?php echo $O['paddings_inner']; ?>" /> Inner margin (floated players)<br />
284
+ <input type="text" size="5" style="text-align:center;" name="mp3foxPaddings_bottom" value="<?php echo $O['paddings_bottom']; ?>" /> Below players</td>
285
+ </tr>
286
+ </table>
287
+ <br>
288
+
289
+ <p style="margin:0 0 6px 15px;"><input type="checkbox" name="mp3foxEnablePopout" id="mp3foxEnablePopout" value="true" <?php if ($O['enable_popout'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
290
+ <label for="mp3foxEnablePopout"> &nbsp; Show popout player button</label></p>
291
+
292
+ <p style="margin:0 0 0px 15px;"><input type="checkbox" name="mp3foxShowPlaylist" id="mp3foxShowPlaylist" value="true" <?php if ($O['playlist_show'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
293
+ <label for="mp3foxShowPlaylist"> &nbsp; Start with playlists open</label></p>
294
+
295
+
296
+ <p style="margin:5px 0 0 45px;"><label>Max playlist height:</label>
297
+ &nbsp; <input type="text" size="6" style="text-align:center;" name="mp3foxMaxListHeight" value="<?php echo $O['max_list_height']; ?>" />
298
+ px &nbsp; <span class="description">(a scroll bar will show for longer playlists, leave it blank for no limit)</span></p>
299
+
300
+ <?php
301
+ MJPsettings_playlist();
302
+ ?>
303
+
304
+ </div><!-- CLOSE TAB -->
305
+
306
+
307
+
308
+ <!-- TAB 1......................... -->
309
+ <div class="mp3j-tab" id="mp3j_tab_1">
310
+
311
+ <?php
312
+ ////
313
+ //Library
314
+ $library = $MP3JP->grab_library_info();
315
+ $libCount = ( $library ) ? $library['count'] : "0";
316
+ $libText = '';
317
+ $libButton = '';
318
+ $liblist = '';
319
+
320
+ $libText .= '<span class="tabD" style="margin:0 0 10px 0;">Library contains <strong>' . $libCount . '</strong> audio file' . ( $libCount != 1 ? 's' : '' ) . '</span>. &nbsp;<strong><a href="media-new.php">Upload new &raquo;</a></strong>';
321
+
322
+ if ( $libCount > 0 )
323
+ {
324
+ $libButton .= '<a class="button-secondary" href="javascript:" onclick="jQuery(\'#library-list\').toggle();" id="library-open">View files</a>';
325
+ $n = 1;
326
+
327
+ $liblist .= '<div id="library-list" style="display:none;"><table class="fileList">';
328
+ $liblist .= '<tr>';
329
+ $liblist .= '<th>&nbsp;</th>';
330
+ $liblist .= '<th>&nbsp;</th>';
331
+ $liblist .= '<th>Filename</th>';
332
+ $liblist .= '<th>&nbsp;&nbsp;Title</th>';
333
+ $liblist .= '<th>&nbsp;&nbsp;Caption&nbsp;&nbsp;&nbsp;&nbsp;</th>';
334
+ $liblist .= '<th>Uploaded&nbsp;&nbsp;&nbsp;&nbsp;</th>';
335
+ $liblist .= '</tr>';
336
+ foreach ( $library['filenames'] as $i => $file )
337
+ {
338
+ $niceDate = date( 'jS F Y', strtotime($library['postDates'][$i]) );
339
+ $liblist .= '<tr>';
340
+ $liblist .= '<td>&nbsp;&nbsp;&nbsp;&nbsp;<a href="post.php?post=' . $library['postIDs'][$i] . '&amp;action=edit" target="_blank">Edit</a>&nbsp;&nbsp;</td>';
341
+ $liblist .= '<td><span style="color:#aaa;font-size:11px;">' . $n . '&nbsp;</span></td>';
342
+ $liblist .= '<td>' . $file . '</td>';
343
+ $liblist .= '<td><span style="color:#aaa;">&nbsp;&nbsp;' . $library['titles'][$i] . '</span>&nbsp;&nbsp;&nbsp;&nbsp;</td>';
344
+ $liblist .= '<td><span style="color:#aaa;">&nbsp;&nbsp;' . $library['excerpts'][$i] . '</span>&nbsp;&nbsp;&nbsp;&nbsp;</td>';
345
+ $liblist .= '<td><span style="color:#aaa; font-size:11px;">' . $niceDate . '</span>&nbsp;&nbsp;&nbsp;&nbsp;</td>';
346
+ $liblist .= '</tr>';
347
+ $n++;
348
+ }
349
+ $liblist .= '</table></div>';
350
+ }
351
+
352
+ ////
353
+ //Default Folder
354
+ $n = 1;
355
+ $folderInfo = $MP3JP->grabFolderURLs( $O['mp3_dir'] ); //grab all
356
+ $folderText = '';
357
+ $folderButton = '';
358
+ $folderHtml = '';
359
+
360
+ if ( is_array($folderInfo) )
361
+ {
362
+ $folderuris = $folderInfo['files'];
363
+ $uploadDates = $folderInfo['dates'];
364
+ foreach ( $folderuris as $i => $uri ) {
365
+ $files[$i] = strrchr( $uri, "/" );
366
+ $files[$i] = str_replace( "/", "", $files[$i] );
367
+ }
368
+ $c = (!empty($files)) ? count($files) : 0;
369
+
370
+ $folderText .= "<span class=\"tabD\">This folder contains <strong>" . $c . "</strong> audio file" . ( $c != 1 ? 's' : '' ) . "</span>";
371
+
372
+ if ( $c > 0 ) {
373
+ $folderButton .= '<a class="button-secondary" href="javascript:" onclick="jQuery(\'#folder-list\').toggle();">View files</a>';
374
+
375
+ $folderHtml .= '<div id="folder-list" style="display:none;">';
376
+ $folderHtml .= '<table class="fileList">';
377
+ $folderHtml .= '<tr>';
378
+ $folderHtml .= '<th>&nbsp;</th>';
379
+ $folderHtml .= '<th>Filename</th>';
380
+ $folderHtml .= '<th>&nbsp;</th>';
381
+ $folderHtml .= '<th>Uploaded</th>';
382
+ $folderHtml .= '</tr>';
383
+ foreach ( $files as $i => $val )
384
+ {
385
+ $niceDate = date( 'jS F Y', $uploadDates[$i] );
386
+ $folderHtml .= '<tr>';
387
+ $folderHtml .= '<td><span style="color:#aaa;font-size:11px;">' . $n . '</span></td>';
388
+ $folderHtml .= '<td>' . $val . '</td>';
389
+ $folderHtml .= '<td>&nbsp;</td>';
390
+ $folderHtml .= '<td><span class="description">' . $niceDate . '</span></td>';
391
+ $folderHtml .= '</tr>';
392
+ $n++;
393
+ }
394
+ $folderHtml .= '</table>';
395
+ $folderHtml .= '</div>';
396
+ }
397
+ }
398
+ elseif ( $folderInfo == true ) {
399
+ $folderText .= "<p class=\"tabD\">Unable to read or locate the folder <code>" . $O['mp3_dir'] . "</code> check the path and folder permissions</p>";
400
+ }
401
+ else {
402
+ $folderText .= "<p class=\"tabD\">No info is available on remote folders but you can play from here if you know the filenames</p>";
403
+ }
404
+ ?>
405
+
406
+
407
+ <!-- File Lists -->
408
+ <table>
409
+ <tr>
410
+ <td style="width:100px;"><strong>Media Library</strong>&nbsp;&nbsp;</td>
411
+ <td style="width:100px;"><?php echo $libButton; ?>&nbsp;&nbsp;</td>
412
+ <td><?php echo $libText; ?></td>
413
+ </tr>
414
+ </table>
415
+ <?php
416
+ echo $liblist;
417
+ $version = substr( get_bloginfo('version'), 0, 3);
418
+ ?>
419
+ <br>
420
+ <?php
421
+ if ( $version >= 3.6 ) {
422
+ ?>
423
+ <table>
424
+ <tr>
425
+ <td style="width:100px;">&nbsp;</td>
426
+ <td colspan="2"><p style="margin-bottom:10px;"><input type="checkbox" name="libUseID3" id="libUseID3" value="true" <?php echo ( $O['libUseID3'] === "true" ? 'checked="checked"' : ''); ?>/><label for="libUseID3">
427
+ Use ID3 tags</label>
428
+ <br><span class="description">The title and artist tags are used from the media's meta data.</span></p>
429
+ </td>
430
+ </tr>
431
+ </table>
432
+ <?php
433
+ }
434
+ ?>
435
+ <hr />
436
+
437
+ <table>
438
+ <tr>
439
+ <td style="width:100px;"><strong>Default Folder</strong>&nbsp;&nbsp;</td>
440
+ <td style="width:100px;"><?php echo $folderButton; ?>&nbsp;&nbsp;</td>
441
+ <td><strong>Path:</strong> <input type="text" style="width:250px;" name="mp3foxfolder" value="<?php echo $O['mp3_dir']; ?>" /> &nbsp; <strong><a href="javascript:" onclick="jQuery('#folderHelp').toggle(300);">Help..</a></strong></td>
442
+ </tr>
443
+ <tr>
444
+ <td></td>
445
+ <td></td>
446
+ <td>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <?php echo $folderText; ?></td>
447
+ </tr>
448
+ </table>
449
+ <?php echo $folderHtml; ?>
450
+
451
+ <div id="folderHelp" class="helpBox" style="display:none; margin:10px 0 0 30px; max-width:550px;">
452
+ <p class="description">You can specify a default folder path (local or remote) to play audio from, eg. <code>/my/music</code> or <code>www.anothersite.com/music</code>.
453
+ You can then just write filenames in playlists to play from here (you don't need a full url).</p>
454
+ </div>
455
+ <hr /><br>
456
+
457
+
458
+
459
+ <!-- Auto Counterpart -->
460
+ <label for="autoCounterpart" style="margin:0px 0 0 0px;">Auto-find counterpart files &nbsp; </label>
461
+ <input type="checkbox" name="autoCounterpart" id="autoCounterpart" value="true" <?php echo ( $O['autoCounterpart'] === "true" ? 'checked="checked"' : ''); ?>/>
462
+
463
+ <p class="description" style="margin:10px 0 0 0px;">This will pick up a fallback format if it's in the same location as the playlisted track, based on a
464
+ filename match. <strong><a href="javascript:" onclick="jQuery('#counterpartHelp').toggle(300);">Help..</a></strong></p>
465
+
466
+ <div id="counterpartHelp" class="helpBox" style="display:none; margin:10px 0 0 30px; max-width:550px;">
467
+ <p class="description" style="margin-bottom:10px;">With this option ticked, the plugin will automatically look for counterpart files for any players on a page. The
468
+ playlisted (primary) track must be from the MPEG family (an mp3, m4a, or mp4 file).</p>
469
+
470
+ <p class="description" style="margin-bottom:10px;">Auto-counterparting works for MPEGS in the library, in local folders, and when using bulk play or FEED commands.
471
+ Just make sure your counterparts have the same filename, and are in the same location as the primary track. You can always manually add a counterpart to any
472
+ primary track format by using the <code>counterpart</code> parameter in a shortcode and specifying a url.</p>
473
+
474
+ <p class="description" style="margin-bottom:10px;">Automatic Counterparts are chosen with the following format priority: OGG, WEBM, WAV.</p>
475
+ </div>
476
+
477
+
478
+ <br><br>
479
+ <p><strong>Bulk-Play Settings</strong>
480
+ <br><span class="description">Choose which audio formats are playlisted when bulk-playing from folders, the library, and via the</span> <code>FEED</code> <span class="description">command in playlists.</span></p>
481
+
482
+ <p style="margin:12px 0 20px 0;">
483
+ <?php
484
+ foreach ( $O['audioFormats'] as $k => $f )
485
+ {
486
+ echo '<input class="formatChecker" type="checkbox" name="audioFormats[' .$k. ']" id="audioFormats_' .$k. '" value="true"' . ( $f === 'true' ? ' checked="checked"' : '' ) . '/>';
487
+ echo '<label for="audioFormats_' .$k. '">' .$k. '</label> &nbsp;&nbsp;&nbsp;&nbsp;';
488
+ }
489
+ ?>
490
+ </p>
491
+
492
+ <table style="margin-left:30px;">
493
+ <tr>
494
+ <td>Order Library by:&nbsp;&nbsp;</td>
495
+ <td>
496
+ <select name="librarySortcol" style="width:160px;">
497
+ <option value="file" <?php if ( 'file' == $O['library_sortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Filename</option>
498
+ <option value="date" <?php if ( 'date' == $O['library_sortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Date Uploaded</option>
499
+ <option value="caption" <?php if ( 'caption' == $O['library_sortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Caption, Title</option>
500
+ <option value="title" <?php if ( 'title' == $O['library_sortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Title</option>
501
+ </select>&nbsp;&nbsp;
502
+ </td>
503
+ <td>&nbsp; Direction: &nbsp;</td>
504
+ <td>
505
+ <select name="libraryDirection" style="width:100px;">
506
+ <option value="ASC" <?php if ( 'ASC' == $O['library_direction'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Asc</option>
507
+ <option value="DESC" <?php if ( 'DESC' == $O['library_direction'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Desc</option>
508
+ </select>
509
+ </td>
510
+ </tr>
511
+ <tr>
512
+ <td>Order Folders by:&nbsp;&nbsp;</td>
513
+ <td>
514
+ <select name="folderFeedSortcol" style="width:160px;">
515
+ <option value="file" <?php if ( 'file' == $O['folderFeedSortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Filename</option>
516
+ <option value="date" <?php if ( 'date' == $O['folderFeedSortcol'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Date Uploaded</option>
517
+ </select>&nbsp;&nbsp;
518
+ </td>
519
+ <td>&nbsp; Direction: &nbsp;</td>
520
+ <td>
521
+ <select name="folderFeedDirection" style="width:100px;">
522
+ <option value="ASC" <?php if ( 'ASC' == $O['folderFeedDirection'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Asc</option>
523
+ <option value="DESC" <?php if ( 'DESC' == $O['folderFeedDirection'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Desc</option>
524
+ </select>
525
+ </td>
526
+ </tr>
527
+ </table>
528
+
529
+ <br />
530
+ <p style="margin-left:30px;"><span class="description" id="feedCounterpartInfo"></span></p>
531
+
532
+
533
+ </div><!-- CLOSE FILES TAB -->
534
+
535
+
536
+
537
+ <!-- DOWNLOADS TAB .......................... -->
538
+ <div class="mp3j-tab" id="mp3j_tab_3">
539
+ <p class="tabD" style="margin:0 0 10px 0;">Download buttons are shown on playlist players, use these options to set their behavior.</p>
540
+
541
+ <table>
542
+ <tr>
543
+ <td><strong>Show Download Button</strong>:</td>
544
+ <td><select name="mp3foxDownloadMp3" style="width:150px;">
545
+ <option value="true" <?php if ( 'true' == $O['show_downloadmp3'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>Yes</option>
546
+ <option value="false" <?php if ( 'false' == $O['show_downloadmp3'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>No</option>
547
+ <option value="loggedin" <?php if ( 'loggedin' == $O['show_downloadmp3'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>To logged in users</option>
548
+ </select></td>
549
+ </tr>
550
+ <tr>
551
+ <td><strong>Button Text</strong>:</td>
552
+ <td><input type="text" style="width:150px;" name="dload_text" value="<?php echo $O['dload_text']; ?>" /></td>
553
+ </tr>
554
+
555
+ </table>
556
+
557
+
558
+ <p class="description" style="margin:20px 0 5px 0px; max-width:400px;">When setting any players for logged-in downloads, use the following options to set the text/link for any logged out visitors.</p>
559
+ <table>
560
+ <tr>
561
+ <td><strong>Visitor Text</strong>:</td>
562
+ <td>
563
+ <input type="text" style="width:150px;" name="loggedout_dload_text" value="<?php echo $O['loggedout_dload_text']; ?>" />
564
+ </td>
565
+ </tr>
566
+ <tr>
567
+ <td><strong>Visitor Link</strong>:</td>
568
+ <td>
569
+ <input type="text" style="width:300px;" name="loggedout_dload_link" value="<?php echo $O['loggedout_dload_link']; ?>" />
570
+ &nbsp; <span class="description">Optional URL for the visitor text</span>
571
+ </td>
572
+ </tr>
573
+
574
+ </table>
575
+
576
+ <br><br>
577
+ <input type="checkbox" name="force_browser_dload" id="force_browser_dload" value="true" <?php if ($O['force_browser_dload'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
578
+ &nbsp;<label for="force_browser_dload">Smooth Downloads</label>
579
+ <p class="description" style="margin:10px 0 10px 30px; max-width:500px;">This makes downloading seamless for most users, or it will display a dialog box with a link when a seamless download is not possible.</p>
580
+
581
+ <p class="description" style="margin:10px 0 10px 30px; max-width:500px;">If you play from other domains and want seamless downloads, then use
582
+ the field below to specify a path to the downloader file. <strong><a href="<?php echo $MP3JP->PluginFolder; ?>/remote/help.txt">See help on setting this up</a></strong></p>
583
+
584
+ <table style="margin-left:25px;">
585
+ <tr>
586
+ <td><strong>Path to remote downloader file</strong>:</td>
587
+ <td>
588
+ <input type="text" style="width:150px;" name="dloader_remote_path" value="<?php echo $O['dloader_remote_path']; ?>" />
589
+ </td>
590
+ </tr>
591
+ </table>
592
+
593
+
594
+ </div>
595
+
596
+
597
+
598
+
599
+
600
+ <!-- POPOUT TAB .......................... -->
601
+ <div class="mp3j-tab" id="mp3j_tab_4">
602
+
603
+ <table style="margin-left:0px;">
604
+ <tr>
605
+ <td><strong>Launch Button Text</strong>:</td>
606
+ <td><input type="text" style="width:150px;" name="mp3foxPopoutButtonText" value="<?php echo $O['popout_button_title']; ?>" /><span class="description"> &nbsp;The default text shown on popout links and buttons.</span></td>
607
+ </tr>
608
+ <tr>
609
+ <td><strong>Window Width</strong>:</td>
610
+ <td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutWidth" value="<?php echo $O['popout_width']; ?>" /> px <span class="description">&nbsp; (250 - 1600)</span></td>
611
+ </tr>
612
+ <tr>
613
+ <td><strong>Window Height</strong>: &nbsp;</td>
614
+ <td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutMaxHeight" value="<?php echo $O['popout_max_height']; ?>" /> px <span class="description">&nbsp; (200 - 1200) &nbsp; a scroll bar will show for longer playlists</span></td>
615
+ </tr>
616
+ <tr>
617
+ <td><strong>Background Colour</strong>:</td>
618
+ <td><input type="text"name="mp3foxPopoutBackground" style="width:100px;" value="<?php echo $O['popout_background']; ?>" /></td>
619
+ </tr>
620
+ <tr>
621
+ <td><strong>Background Image</strong>:</td>
622
+ <td><input type="text" style="width:100%;" name="mp3foxPopoutBGimage" value="<?php echo $O['popout_background_image']; ?>" /></td>
623
+ </tr>
624
+ </table>
625
+ </div><!-- CLOSE POPOUT TAB -->
626
+
627
+
628
+ <!-- TAB 2.......................... -->
629
+ <div class="mp3j-tab" id="mp3j_tab_2">
630
+ <?php $greyout_text = ( $O['disable_jquery_libs'] == "yes" ) ? ' style="color:#d6d6d6;"' : ''; ?>
631
+ <p class="tabD" style="margin:0 0 10px 0;">Choose which aspects of your content you'd like MP3-jPlayer to handle.</p>
632
+
633
+ <table>
634
+ <tr>
635
+ <td><input type="checkbox" name="replace_WP_audio" id="replace_WP_audio" value="true" <?php if ($O['replace_WP_audio'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
636
+ &nbsp; <label for="replace_WP_audio">Audio Players</label></td>
637
+ <td><span class="description">Use the 'Add Media' Button on post/page edit screens and choose 'Embed Player' from the right select (WP 3.6+).</span></td>
638
+ </tr>
639
+ <tr>
640
+ <td><input type="checkbox" name="replace_WP_playlist" id="replace_WP_playlist" value="true" <?php if ($O['replace_WP_playlist'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
641
+ &nbsp; <label for="replace_WP_playlist">Playlist Players</label></td>
642
+ <td><span class="description">Use the 'Add Media' Button on post/page edit screens and choose 'Audio Playlist' from the left menu (WP 3.9+).</span></td>
643
+ </tr>
644
+ <tr>
645
+ <td><input type="checkbox" name="make_player_from_link" id="make_player_from_link" value="true" <?php if ($O['make_player_from_link'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
646
+ &nbsp; <label for="make_player_from_link">Links to Audio Files</label> &nbsp;</td>
647
+ <td><span class="description">Links within post/page content will be turned into players using the shortcode specified under the 'Advanced' tab.</span></td>
648
+ </tr>
649
+ <tr>
650
+ <td><input type="checkbox" name="replace_WP_attached" id="replace_WP_attached" value="true" <?php if ($O['replace_WP_attached'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
651
+ &nbsp; <label for="replace_WP_attached">Attached Audio</label></td>
652
+ <td><span class="description">Use the shortcode <code>[audio]</code> in posts and pages to playlist any attached audio.</span></td>
653
+ </tr>
654
+ <tr>
655
+ <td><input type="checkbox" name="replace_WP_embedded" id="replace_WP_embedded" value="true" <?php if ($O['replace_WP_embedded'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); } ?> />
656
+ &nbsp; <label for="replace_WP_embedded">URLs</label></td>
657
+ <td><span class="description">Paste urls directly into posts and pages (WP 3.6+).</span></td>
658
+ </tr>
659
+
660
+ </table>
661
+
662
+ <br>
663
+ <p><span class="description">You can always use MP3-jPlayer's own shortcodes and widgets regardless of the above settings.</span></p>
664
+
665
+
666
+
667
+
668
+ <br><br><hr>
669
+ <p class="tabD" style="margin:0 0 10px 0; max-width:550px;">On pages like index, archive and search pages, set whether to show players within posts. These settings won't affect player widgets.</p>
670
+ <p><input type="checkbox" name="mp3foxOnBlog" id="mp3foxOnBlog" value="true" <?php if ($O['player_onblog'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
671
+ <label for="mp3foxOnBlog"> &nbsp; Show players when the full content is used.</p>
672
+ <p><input type="checkbox" name="runShcodeInExcerpt" id="runShcodeInExcerpt" value="true" <?php if ($O['run_shcode_in_excerpt'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
673
+ <label for="runShcodeInExcerpt"> &nbsp; Show players when excerpts are used.</label>
674
+ &nbsp;<span class="description">NOTE: this works for manually written post excerpts only, write your shortcodes into the excerpt field on post edit screens.</span></p>
675
+
676
+
677
+
678
+
679
+
680
+ <br><br><hr>
681
+ <p class="tabD" style="margin:0 0 10px 0;">Misc File Settings</p>
682
+ <p><input type="checkbox" name="allowRangeRequests" id="allowRangeRequests" value="true"<?php echo ( $O['allowRangeRequests'] === "true" ? ' checked="checked"' : ''); ?>/><label for="allowRangeRequests">&nbsp;&nbsp; Allow position seeking beyond buffered</label></p>
683
+ <p class="description" style="margin:0 0 5px 30px; max-width:550px;">Lets users seek to end of tracks without waiting for media to load. Most servers
684
+ should allow this by default, if you are having issues then check that your server has the <code>accept-ranges: bytes</code> header set, or
685
+ you can just switch this option off.</p>
686
+ <p><input type="checkbox" id="mp3foxHideExtension" name="mp3foxHideExtension" value="true" <?php if ($O['hide_mp3extension'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /> &nbsp; <label for="mp3foxHideExtension">Hide file extensions if a filename is displayed</label><br /><span class="description" style="margin-left:30px;">Filenames are displayed when there's no available titles.</span></p>
687
+ <p><input type="checkbox" id="mp3foxEncodeFiles" name="mp3foxEncodeFiles" value="true" <?php if ($O['encode_files'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /> &nbsp; <label for="mp3foxEncodeFiles">Encode URLs</label><br /><span class="description" style="margin-left:28px;">Provides some obfuscation of your urls in the page source.</span></p>
688
+ <p><input type="checkbox" id="mp3foxAllowRemote" name="mp3foxAllowRemote" value="true" <?php if ($O['allow_remoteMp3'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /> &nbsp; <label for="mp3foxAllowRemote">Allow playing of off-site files</label><br /><span class="description" style="margin-left:28px;">Un-checking this option filters out any files coming from other domains, but doesn't affect ability to play from a remote default path if one has been set above.</span></p>
689
+
690
+
691
+
692
+
693
+
694
+ <br><br><hr>
695
+ <p class="tabD" style="margin:0 0 10px 0;">Conversion Options</p>
696
+ <table>
697
+ <tr>
698
+ <td><strong>Turn</strong> <code>[audio]</code> <strong>shortcodes into</strong>:</td>
699
+ <td>
700
+ <select name="replacerShortcode_single" style="width:200px; font-weight:500;">
701
+ <option value="mp3j"<?php if ( 'mp3j' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Single Players - Graphic</option>
702
+ <option value="mp3t"<?php if ( 'mp3t' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Single Players - Text</option>
703
+ <option value="player"<?php if ( 'player' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Playlist Players</option>
704
+ <option value="popout"<?php if ( 'popout' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>>Popout Links</option>
705
+ </select>
706
+ </td>
707
+ </tr>
708
+ <tr>
709
+ <td><strong>Turn</strong> <code>[playlist]</code> <strong>shortcodes into</strong>:&nbsp;&nbsp;&nbsp;</td>
710
+ <td>
711
+ <select name="replacerShortcode_playlist" id="replacerShortcode_playlist" style="width:200px; font-weight:500;">
712
+ <option value="player"<?php if ( 'player' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; } ?>>Playlist Players</option>
713
+ <option value="popout"<?php if ( 'popout' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; } ?>>Popout Links</option>
714
+ </select>
715
+ </td>
716
+ </tr>
717
+ <tr>
718
+ <td class="vTop"><br /><strong>Turn converted links into</strong>:</td>
719
+ <td>
720
+ <br />
721
+ <textarea class="widefat" style="width:400px; height:100px;" name="make_player_from_link_shcode"><?php
722
+ $deslashed = str_replace('\"', '"', $O['make_player_from_link_shcode'] );
723
+ echo $deslashed;
724
+ ?></textarea><br />
725
+ <span class="description">Placeholders:</span> <code>{TEXT}</code> <span class="description">- Link text,</span> <code>{URL}</code> <span class="description">- Link url.
726
+ <br />This field can also include arbitrary text/html.</span>
727
+ </td>
728
+ </tr>
729
+ </table>
730
+
731
+
732
+
733
+
734
+ <br><br><hr>
735
+ <p class="tabD" style="margin:0 0 10px 0;">Javascripts</p>
736
+
737
+ <?php $bgc = ( $O['disable_jquery_libs'] == "yes" ) ? "#fdd" : "#f9f9f9"; ?>
738
+ <div style="margin: 20px 0px 10px 0px; padding:6px; background:<?php echo $bgc; ?>; border:1px solid #ccc;">
739
+ <p style="margin:0 0 5px 18px; font-weight:700;">Disable jQuery and jQuery-UI javascript libraries? &nbsp; <input type="text" style="width:60px;" name="disableJSlibs" value="<?php echo $O['disable_jquery_libs']; ?>" /></p>
740
+ <p style="margin: 0 0 8px 18px;"><span class="description"><span style="color:#333;">CAUTION!!</span> This option will bypass the request <strong>from this plugin only</strong> for both jQuery <strong>and</strong> jQuery-UI scripts,
741
+ you <strong>MUST</strong> be providing these scripts from an alternative source.
742
+ <br />Type <code>yes</code> in the box and save settings to bypass jQuery and jQuery-UI.</span></p>
743
+ </div>
744
+
745
+
746
+
747
+ <br><br><hr>
748
+ <p class="tabD" style="margin:0 0 10px 0;">Playlist Separators</p>
749
+ <div style="margin: 10px 0px 10px 0px; padding:6px 18px 6px 18px; background:#f9f9f9; border:1px solid #ccc;">
750
+ <span class="description">If you manually write playlists then you can choose the separators you use in the tracks and captions lists.
751
+ <br /><span style="color:#333;">CAUTION!!</span> You'll need to manually update any existing playlists if you change the separators!</span>
752
+
753
+ <p style="margin:10px 0 0 20px;"><strong>Files:</strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
754
+ <select name="file_separator" style="width:120px; font-size:11px; line-height:16px;">
755
+ <option value="," <?php if ( ',' == $O['f_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>, (comma)</option>
756
+ <option value=";" <?php if ( ';' == $O['f_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>; (semicolon)</option>
757
+ <option value="###" <?php if ( '###' == $O['f_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>### (3 hashes)</option>
758
+ </select>
759
+ &nbsp;&nbsp;<span class="description">eg.</span> <code>tracks="fileA.mp3 <?php echo $O['f_separator']; ?> Title@fileB.mp3 <?php echo $O['f_separator']; ?> fileC.mp3"</code></p>
760
+
761
+ <p style="margin-left:20px;"><strong>Captions:</strong> &nbsp;&nbsp;
762
+ <select name="caption_separator" style="width:120px; font-size:11px; line-height:16px;">
763
+ <option value="," <?php if ( ',' == $O['c_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>, (comma)</option>
764
+ <option value=";" <?php if ( ';' == $O['c_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>; (semicolon)</option>
765
+ <option value="###" <?php if ( '###' == $O['c_separator'] ) { _e('selected="selected"', $MP3JP->textdomain ); } ?>>### (3 hashes)</option>
766
+ </select>
767
+ &nbsp;&nbsp;<span class="description">eg.</span> <code>captions="Caption A <?php echo $O['c_separator']; ?> Caption B <?php echo $O['c_separator']; ?> Caption C"</code></p>
768
+ </div>
769
+
770
+ <br><br><hr>
771
+ <p class="tabD" style="margin:0 0 10px 0;">Other Settings</p>
772
+
773
+
774
+ <p style="margin-bottom:10px;"><strong>Show error messages</strong>:
775
+ &nbsp;&nbsp;&nbsp;
776
+ <select name="showErrors">
777
+ <option value="false"<?php if ( 'false' == $O['showErrors'] ) { echo ' selected="selected"'; } ?>>Never</option>
778
+ <option value="admin"<?php if ( 'admin' == $O['showErrors'] ) { echo ' selected="selected"'; } ?>>To Admins only</option>
779
+ <option value="true"<?php if ( 'true' == $O['showErrors'] ) { echo ' selected="selected"'; } ?>>To All</option>
780
+ </select></p>
781
+
782
+
783
+ <p><input type="checkbox" id="mp3foxEchoDebug" name="mp3foxEchoDebug" value="true" <?php if ($O['echo_debug'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /> &nbsp;<label for="mp3foxEchoDebug">Turn on debug</label><br />&nbsp; &nbsp; &nbsp; &nbsp;<span class="description">(info appears in the source view near the bottom)</span></p>
784
+
785
+
786
+
787
+ </div><!-- CLOSE ADVANCED TAB -->
788
+ </div><!-- close tabs wrapper -->
789
+
790
+ <hr /><br />
791
+ <table>
792
+ <tr>
793
+ <td>
794
+ <input type="submit" name="update_mp3foxSettings" class="button-primary" style="font-weight:700;" value="<?php _e('Save All Changes', $MP3JP->textdomain ) ?>" />&nbsp;&nbsp;&nbsp;
795
+ </td>
796
+ <td>
797
+ <p style="margin-top:5px;"><label for="mp3foxRemember">Remember settings if plugin is deactivated &nbsp;</label>
798
+ <input type="checkbox" id="mp3foxRemember" name="mp3foxRemember" value="true" <?php if ($O['remember_settings'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> /></p>
799
+ </td>
800
+ <tr>
801
+ </table>
802
+
803
+ <!--<input type="hidden" id="fox_styling" name="MtogBox1" value="<?php //echo $O['admin_toggle_1']; // Colour settings toggle state ?>" />-->
804
+ <input type="hidden" name="mp3foxPluginVersion" value="<?php echo $MP3JP->version_of_plugin; ?>" />
805
+
806
+ </form>
807
+ <br>
808
+ <hr>
809
+ <div style="margin: 15px 0px 0px 0px; min-height:30px;">
810
+ <p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
811
+ <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/">Help & Docs &raquo;</a>
812
+ &nbsp;&nbsp; <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins">Get Skins &raquo;</a>
813
+ &nbsp;&nbsp; <a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons">Get Add-Ons &raquo;</a>
814
+ </p>
815
+ </div>
816
+
817
+
818
+ <div style="margin: 15px auto; height:100px;">
819
+ </div>
820
+ </div>
821
+
822
+ <?php
823
+
824
+ }
825
  ?>
css/admin/admin-colours.css CHANGED
@@ -1,444 +1,444 @@
1
-
2
-
3
- .highlight {
4
- background-color:rgba(255, 239, 99, 0.56); /*rgba(216, 155, 52, 0.41)*/
5
- }
6
-
7
-
8
- /* --- Tabs --- */
9
- .mp3j-tabbuttons-wrap {
10
- position:relative;
11
- border:0;
12
- min-height:30px;
13
- padding:0px 0 10px 0px;
14
- width:auto;
15
- overflow:visible;
16
- }
17
- .mp3j-tabbutton {
18
- float:left;
19
- padding:6px 24px 6px 22px;
20
- font-size:12px;
21
- margin:0;
22
- background:#e6e6e6;
23
- font-weight:700;
24
- -webkit-border-top-left-radius: 1px;
25
- -webkit-border-top-right-radius: 1px;
26
- -moz-border-radius-topleft: 1px;
27
- -moz-border-radius-topright: 1px;
28
- border-top-left-radius: 1px;
29
- border-top-right-radius: 1px;
30
- border-bottom:1px solid #fcfcfc;
31
- cursor:pointer;
32
- color:#888;
33
- -moz-user-select: -moz-none;
34
- -khtml-user-select: none;
35
- -webkit-user-select: none;
36
- -ms-user-select: none;
37
- user-select: none;
38
- }
39
- .mp3j-tabbutton:hover {
40
- background:#e6e6e6;
41
- text-decoration:underline;
42
- }
43
- .active-tab {
44
- border:1px solid #c8c8c8;
45
- border-bottom:0px;
46
- padding:6px 23px 6px 21px;
47
- color:#333;
48
- font-weight:700;
49
- background:none;
50
- margin-top:-1px;
51
- }
52
- .active-tab:hover {
53
- background:none;
54
- text-decoration:none;
55
- }
56
-
57
- .mp3j-tabs-wrap {
58
- position:relative;
59
- height:auto;
60
- padding:0;
61
- }
62
- .mp3j-tab {
63
- position:relative;
64
- height:auto;
65
- padding:0;
66
- background:#f1f1f1;
67
- }
68
- .tab-header { padding:2px 0 0 0; margin:0; width:100%; }
69
- .tabH { font-size:17px; font-style:italic; }
70
- .tabD { font-size:12px; font-style: italic; color:#999; }
71
-
72
- .mp3j-tab label { font-weight:700; }
73
-
74
- .mp3j-tab .description { color:#aaa; }
75
-
76
- .mp3j-tab hr { margin-bottom:8px; }
77
-
78
-
79
- .unselectable, .unselectable * {
80
- -moz-user-select: -moz-none;
81
- -khtml-user-select: none;
82
- -webkit-user-select: none;
83
- -ms-user-select: none;
84
- user-select: none;
85
- }
86
-
87
-
88
- table.vTop td { vertical-align:top; padding:0 10px 10px 0; }
89
-
90
- table.fileList { border-collapse:collapse; margin:0 0 0 0; }
91
- table.fileList tr { padding:0; }
92
- table.fileList td { text-align:left; vertical-align:top; padding:0 10px 0 0; }
93
- table.fileList td * { padding:0; margin:0; }
94
- table.fileList th { text-align:left; padding:0 0 15px 0; }
95
-
96
- .vTop { vertical-align:top; padding:0 10px 10px 0; }
97
-
98
-
99
- div#library-list,
100
- div#folder-list {
101
- position:relative;
102
- padding:10px 20px 15px 20px;
103
- margin:0px 0px 0px 0px;
104
- background:#f9f9f9;
105
- border:1px solid #eee;
106
- }
107
-
108
-
109
- .absTL { position:absolute; top:-1px; left:-1px; width:100%; }
110
-
111
-
112
-
113
- /* --- --- */
114
- #sizer {
115
- position:relative;
116
- min-width: 40px;
117
- width: 656px;
118
- border:1px solid #999;
119
- -webkit-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.3);
120
- -moz-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.3);
121
- box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.3);
122
- overflow:hidden;
123
- height:270px;
124
- margin:10px 0 25px 0;
125
- }
126
- #display_player_liner {
127
- padding:45px 40px 40px 40px;
128
- width:auto;
129
- height:100%;
130
- background:url('images/admin-colours-bg.png') repeat;
131
- }
132
-
133
- .ui-resizable {
134
- position: relative;
135
- }
136
- .ui-resizable-handle {
137
- position: absolute;
138
- font-size: 0.1px;
139
- display: block;
140
- }
141
- .ui-resizable-disabled .ui-resizable-handle,
142
- .ui-resizable-autohide .ui-resizable-handle {
143
- display: none;
144
- }
145
- .ui-resizable-s {
146
- cursor: s-resize;
147
- height: 20px;
148
- width: 100%;
149
- bottom: -10px;
150
- left: 0;
151
- background:none;
152
- }
153
- .ui-resizable-e {
154
- cursor: e-resize;
155
- width: 20px;
156
- right: -10px;
157
- top: 0;
158
- height: 100%;
159
- background:none;
160
- }
161
- .ui-resizable-se {
162
- cursor: se-resize;
163
- width: 40px;
164
- height: 40px;
165
- right: 1px;
166
- bottom: 1px;
167
- background:url('images/resizable-handle.png') no-repeat right bottom;
168
- }
169
-
170
-
171
- .quietInput {
172
- background:#fcfcfc !important;
173
- border-color:#f0f0f0 !important;
174
- -webkit-box-shadow:none !important;
175
- -moz-box-shadow:none !important;
176
- box-shadow:none !important;
177
- color:#d6d6d6 !important;
178
- }
179
- .quietText { color:#d6d6d6 !important; }
180
-
181
-
182
-
183
-
184
- .savewrap {
185
- position:relative;
186
- padding:10px 0px 10px 0px;
187
- }
188
-
189
-
190
-
191
-
192
-
193
- .patch {
194
- position:relative;
195
- border:1px solid #aaa;
196
- background:url('images/patchbg.png') repeat-x left -35px;
197
- width:85px; height:25px;
198
- -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
199
- overflow:hidden;
200
- margin:2px 0 1px 0;
201
- }
202
-
203
- .PatchCol {
204
- position:absolute;
205
- top:0;
206
- left:0;
207
- width:100%;
208
- height:100%;
209
- -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
210
- cursor:pointer;
211
- }
212
-
213
- .plus, .minus {
214
- position:absolute;
215
- background:#f9f9f9;
216
- color:#444;
217
- height:100%;
218
- top:0;
219
- cursor:default;
220
- }
221
- .plus { right:0; border-left:1px solid #b8b8b8; background-image:url('images/drop3.png'); background-position:6px 5px; background-repeat:no-repeat;
222
- -webkit-border-top-right-radius: 2px;
223
- -webkit-border-bottom-right-radius: 2px;
224
- -moz-border-radius-topright: 2px;
225
- -moz-border-radius-bottomright: 2px;
226
- border-top-right-radius: 2px;
227
- border-bottom-right-radius: 2px;
228
- width:21px;
229
- }
230
- .minus { left:0; border-right:1px solid #b8b8b8; background-image:url('images/minus2.png'); background-position:3px 6px; background-repeat:no-repeat;
231
- -webkit-border-top-left-radius: 2px;
232
- -webkit-border-bottom-left-radius: 2px;
233
- -moz-border-radius-topleft: 2px;
234
- -moz-border-radius-bottomleft: 2px;
235
- border-top-left-radius: 2px;
236
- border-bottom-left-radius: 2px;
237
- width:20px;
238
- }
239
-
240
- .activePicker { background-color:#ffd14e; border-top:1px solid #95700a; border-left:2px solid #95700a; }
241
-
242
-
243
- table.colours {}
244
-
245
-
246
-
247
- table.colours tr{ padding:0 0 0 0; }
248
-
249
- table.colours td { padding:0 14px 8px 0; line-height:110%; }
250
-
251
-
252
-
253
- .testingSettings {
254
- position:absolute;
255
- top:0;
256
- left:0;
257
- height:30px;
258
- padding:5px;
259
- z-index:50px;
260
- }
261
- .testingSettingsBottom {
262
- position:relative;
263
- margin:0px 0 20px 0;
264
- padding:5px 0 0 0;
265
- }
266
- .testingSettingsBottom * { font-size:11px; }
267
-
268
- th { text-align:left; font-size:11px; line-height:110%; }
269
-
270
-
271
-
272
-
273
- .format-button-B, .format-button-i { border:1px solid #c0c0c0; border-bottom:2px solid #909090; border-right:2px solid #909090; background:#d9d9d9; font-family:'Times New Roman', times, sans-serif; line-height:150%; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
274
- .format-button-B { font-weight:700; padding:2px 5px 2px 5px; }
275
- .format-button-i { font-style:italic; padding:2px 7px 2px 7px; }
276
-
277
- .formatOn {
278
- border-top:2px solid #909090;
279
- border-left:2px solid #909090;
280
- border-bottom-width:1px;
281
- border-right-width:1px;
282
- background:#f0f0f0/*ffd14e*/;
283
- }
284
- .format-button-B.formatOn { padding:1px 6px 3px 4px; }
285
- .format-button-i.formatOn { padding:1px 8px 3px 6px; }
286
-
287
- /* --- Font sliders --- */
288
- .sliderWrap {
289
- position:relative;
290
- width:100%;
291
- height:20px;
292
- }
293
-
294
- .fontSizeSlider {
295
- position:absolute; font-size:1px; cursor:default; width:95px; height:2px; border-bottom:1px solid #f8f8f8; border-top:1px solid #bbb; top:8px;
296
- }
297
-
298
-
299
-
300
-
301
- .fontSizeSlider .ui-widget-header,
302
- .fontSizeSlider .ui-widget-content {
303
- border:0px !important; background:#777;
304
- }
305
- .fontSizeSlider .ui-slider-horizontal {
306
- top:0px; bottom:0px; height:auto; z-index:90; background:#ddd;
307
- }
308
- .fontSizeSlider .ui-slider-handle {
309
- top:-8px !important; margin-left:-4px !important; border:1px solid #909090; bottom:-8px !important; height:auto !important; width:8px; z-index:100; background:#f9f9f9; cursor:default ; padding:0px !important;
310
- -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
311
- }
312
- .fontSizeSlider .ui-slider-handle:hover {
313
- background:#fcfcfc; z-index:100;
314
- }
315
-
316
-
317
- .VsliderWrap {
318
- position:relative;
319
- width:20px;
320
- height:100px;
321
- }
322
- .vertSlider {
323
- position:absolute; font-size:1px; cursor:default; width:2px; height:100px; border-right:1px solid #fcfcfc; border-left:1px solid #bbb; background:#ddd;
324
- }
325
- .vertSlider .ui-widget-header,
326
- .vertSlider .ui-widget-content {
327
- border:0px !important; background:#777;
328
- }
329
- .vertSlider .ui-slider-vertical {
330
- left:0px; right:0px; z-index:90; background:#f00; height:100px;
331
- }
332
- .vertSlider .ui-slider-handle {
333
- left:-9px; margin-top:-4px !important; border:1px solid #909090; right:-8px; height:8px; z-index:100; background:#f9f9f9; cursor:default ; padding:0px !important;
334
- -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
335
- }
336
-
337
- .vertSlider .ui-slider-range { /* shit man jquery-ui is painful */
338
- border:0px; background:#777; width:2px;
339
- }
340
-
341
-
342
-
343
- .ui-state-disabled .ui-slider-handle,
344
- .ui-slider-disabled .ui-slider-handle { border:1px solid #ddd; background:#f3f3f3; }
345
-
346
- .ui-state-disabled .ui-widget-header,
347
- .ui-state-disabled .ui-widget-content {
348
- background:#eee;
349
- }
350
-
351
-
352
-
353
-
354
-
355
-
356
-
357
-
358
- .fL { float:left; }
359
- .fR { float:right; }
360
- .f500 { font-weight:500 !important; }
361
- .f700 { font-weight:700; }
362
-
363
-
364
- /* ====================================================================================== */
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
- a.fox_buttonlink {
376
- background:#eaf2fa;
377
- border:1px solid #afcfdb;
378
- padding:1px 12px 2px 10px;
379
- text-decoration:none;
380
- -webkit-border-radius: 3px;
381
- -moz-border-radius: 3px;
382
- border-radius: 3px;
383
- }
384
- a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
385
-
386
- a.bl2 { padding:0px 31px 1px 31px; }
387
-
388
-
389
-
390
-
391
-
392
-
393
- div.wrap {
394
- border: 0px solid #FF3300;
395
- margin:0px 10px 0 20px;
396
- max-width:1200px;
397
- }
398
- div.wrap p { margin:0 0 4px 0; }
399
- div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
400
- div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
401
- div.wrap h3 { margin:0 0 8px 20px; }
402
- div.wrap h4 { margin:20px 0 0px 0; }
403
-
404
- div.wrap p.jtick {
405
- margin:0 0 2px 24px;
406
- }
407
- div.wrap p.jtick2 {
408
- margin:0 0 2px 35px;
409
- }
410
- div.wrap p.jtext {
411
- margin:0 0 10px 20px;
412
- }
413
-
414
- .joptionswrap {
415
- border-top:0px solid #eee;
416
- margin:30px 0 40px 0px;
417
- }
418
- .joptionswrap h4 {
419
- margin:6px 0 3px 0;
420
- width:250px;
421
- }
422
- .jopbox {
423
- border:1px solid #f0f0f0;
424
- padding:10px 20px;
425
- margin-bottom:15px;
426
- min-width:550px;
427
- }
428
- a.bl3 {
429
- display:block;
430
- width:200px;
431
- padding:0 0 0 20px;
432
- margin:5px 0 1px 0;
433
- /* background:#f0f0f0;
434
- border:1px solid #d0d0d0;
435
- color:#696969; */
436
- }
437
- a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
438
-
439
- .clearB { clear:both; }
440
- .Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
441
-
442
- #tog_0-list p { margin:10px 0 10px 0; }
443
- #tog_0-list h4 { margin:10px 0 10px 0; }
444
-
1
+
2
+
3
+ .highlight {
4
+ background-color:rgba(255, 239, 99, 0.56); /*rgba(216, 155, 52, 0.41)*/
5
+ }
6
+
7
+
8
+ /* --- Tabs --- */
9
+ .mp3j-tabbuttons-wrap {
10
+ position:relative;
11
+ border:0;
12
+ min-height:30px;
13
+ padding:0px 0 10px 0px;
14
+ width:auto;
15
+ overflow:visible;
16
+ }
17
+ .mp3j-tabbutton {
18
+ float:left;
19
+ padding:6px 24px 6px 22px;
20
+ font-size:12px;
21
+ margin:0;
22
+ background:#e6e6e6;
23
+ font-weight:700;
24
+ -webkit-border-top-left-radius: 1px;
25
+ -webkit-border-top-right-radius: 1px;
26
+ -moz-border-radius-topleft: 1px;
27
+ -moz-border-radius-topright: 1px;
28
+ border-top-left-radius: 1px;
29
+ border-top-right-radius: 1px;
30
+ border-bottom:1px solid #fcfcfc;
31
+ cursor:pointer;
32
+ color:#888;
33
+ -moz-user-select: -moz-none;
34
+ -khtml-user-select: none;
35
+ -webkit-user-select: none;
36
+ -ms-user-select: none;
37
+ user-select: none;
38
+ }
39
+ .mp3j-tabbutton:hover {
40
+ background:#e6e6e6;
41
+ text-decoration:underline;
42
+ }
43
+ .active-tab {
44
+ border:1px solid #c8c8c8;
45
+ border-bottom:0px;
46
+ padding:6px 23px 6px 21px;
47
+ color:#333;
48
+ font-weight:700;
49
+ background:none;
50
+ margin-top:-1px;
51
+ }
52
+ .active-tab:hover {
53
+ background:none;
54
+ text-decoration:none;
55
+ }
56
+
57
+ .mp3j-tabs-wrap {
58
+ position:relative;
59
+ height:auto;
60
+ padding:0;
61
+ }
62
+ .mp3j-tab {
63
+ position:relative;
64
+ height:auto;
65
+ padding:0;
66
+ background:#f1f1f1;
67
+ }
68
+ .tab-header { padding:2px 0 0 0; margin:0; width:100%; }
69
+ .tabH { font-size:17px; font-style:italic; }
70
+ .tabD { font-size:12px; font-style: italic; color:#999; }
71
+
72
+ .mp3j-tab label { font-weight:700; }
73
+
74
+ .mp3j-tab .description { color:#aaa; }
75
+
76
+ .mp3j-tab hr { margin-bottom:8px; }
77
+
78
+
79
+ .unselectable, .unselectable * {
80
+ -moz-user-select: -moz-none;
81
+ -khtml-user-select: none;
82
+ -webkit-user-select: none;
83
+ -ms-user-select: none;
84
+ user-select: none;
85
+ }
86
+
87
+
88
+ table.vTop td { vertical-align:top; padding:0 10px 10px 0; }
89
+
90
+ table.fileList { border-collapse:collapse; margin:0 0 0 0; }
91
+ table.fileList tr { padding:0; }
92
+ table.fileList td { text-align:left; vertical-align:top; padding:0 10px 0 0; }
93
+ table.fileList td * { padding:0; margin:0; }
94
+ table.fileList th { text-align:left; padding:0 0 15px 0; }
95
+
96
+ .vTop { vertical-align:top; padding:0 10px 10px 0; }
97
+
98
+
99
+ div#library-list,
100
+ div#folder-list {
101
+ position:relative;
102
+ padding:10px 20px 15px 20px;
103
+ margin:0px 0px 0px 0px;
104
+ background:#f9f9f9;
105
+ border:1px solid #eee;
106
+ }
107
+
108
+
109
+ .absTL { position:absolute; top:-1px; left:-1px; width:100%; }
110
+
111
+
112
+
113
+ /* --- --- */
114
+ #sizer {
115
+ position:relative;
116
+ min-width: 40px;
117
+ width: 656px;
118
+ border:1px solid #999;
119
+ -webkit-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.3);
120
+ -moz-box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.3);
121
+ box-shadow: 0px 3px 5px 0px rgba(50, 50, 50, 0.3);
122
+ overflow:hidden;
123
+ height:270px;
124
+ margin:10px 0 25px 0;
125
+ }
126
+ #display_player_liner {
127
+ padding:45px 40px 40px 40px;
128
+ width:auto;
129
+ height:100%;
130
+ background:url('images/admin-colours-bg.png') repeat;
131
+ }
132
+
133
+ .ui-resizable {
134
+ position: relative;
135
+ }
136
+ .ui-resizable-handle {
137
+ position: absolute;
138
+ font-size: 0.1px;
139
+ display: block;
140
+ }
141
+ .ui-resizable-disabled .ui-resizable-handle,
142
+ .ui-resizable-autohide .ui-resizable-handle {
143
+ display: none;
144
+ }
145
+ .ui-resizable-s {
146
+ cursor: s-resize;
147
+ height: 20px;
148
+ width: 100%;
149
+ bottom: -10px;
150
+ left: 0;
151
+ background:none;
152
+ }
153
+ .ui-resizable-e {
154
+ cursor: e-resize;
155
+ width: 20px;
156
+ right: -10px;
157
+ top: 0;
158
+ height: 100%;
159
+ background:none;
160
+ }
161
+ .ui-resizable-se {
162
+ cursor: se-resize;
163
+ width: 40px;
164
+ height: 40px;
165
+ right: 1px;
166
+ bottom: 1px;
167
+ background:url('images/resizable-handle.png') no-repeat right bottom;
168
+ }
169
+
170
+
171
+ .quietInput {
172
+ background:#fcfcfc !important;
173
+ border-color:#f0f0f0 !important;
174
+ -webkit-box-shadow:none !important;
175
+ -moz-box-shadow:none !important;
176
+ box-shadow:none !important;
177
+ color:#d6d6d6 !important;
178
+ }
179
+ .quietText { color:#d6d6d6 !important; }
180
+
181
+
182
+
183
+
184
+ .savewrap {
185
+ position:relative;
186
+ padding:10px 0px 10px 0px;
187
+ }
188
+
189
+
190
+
191
+
192
+
193
+ .patch {
194
+ position:relative;
195
+ border:1px solid #aaa;
196
+ background:url('images/patchbg.png') repeat-x left -35px;
197
+ width:85px; height:25px;
198
+ -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
199
+ overflow:hidden;
200
+ margin:2px 0 1px 0;
201
+ }
202
+
203
+ .PatchCol {
204
+ position:absolute;
205
+ top:0;
206
+ left:0;
207
+ width:100%;
208
+ height:100%;
209
+ -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
210
+ cursor:pointer;
211
+ }
212
+
213
+ .plus, .minus {
214
+ position:absolute;
215
+ background:#f9f9f9;
216
+ color:#444;
217
+ height:100%;
218
+ top:0;
219
+ cursor:default;
220
+ }
221
+ .plus { right:0; border-left:1px solid #b8b8b8; background-image:url('images/drop3.png'); background-position:6px 5px; background-repeat:no-repeat;
222
+ -webkit-border-top-right-radius: 2px;
223
+ -webkit-border-bottom-right-radius: 2px;
224
+ -moz-border-radius-topright: 2px;
225
+ -moz-border-radius-bottomright: 2px;
226
+ border-top-right-radius: 2px;
227
+ border-bottom-right-radius: 2px;
228
+ width:21px;
229
+ }
230
+ .minus { left:0; border-right:1px solid #b8b8b8; background-image:url('images/minus2.png'); background-position:3px 6px; background-repeat:no-repeat;
231
+ -webkit-border-top-left-radius: 2px;
232
+ -webkit-border-bottom-left-radius: 2px;
233
+ -moz-border-radius-topleft: 2px;
234
+ -moz-border-radius-bottomleft: 2px;
235
+ border-top-left-radius: 2px;
236
+ border-bottom-left-radius: 2px;
237
+ width:20px;
238
+ }
239
+
240
+ .activePicker { background-color:#ffd14e; border-top:1px solid #95700a; border-left:2px solid #95700a; }
241
+
242
+
243
+ table.colours {}
244
+
245
+
246
+
247
+ table.colours tr{ padding:0 0 0 0; }
248
+
249
+ table.colours td { padding:0 14px 8px 0; line-height:110%; }
250
+
251
+
252
+
253
+ .testingSettings {
254
+ position:absolute;
255
+ top:0;
256
+ left:0;
257
+ height:30px;
258
+ padding:5px;
259
+ z-index:50px;
260
+ }
261
+ .testingSettingsBottom {
262
+ position:relative;
263
+ margin:0px 0 20px 0;
264
+ padding:5px 0 0 0;
265
+ }
266
+ .testingSettingsBottom * { font-size:11px; }
267
+
268
+ th { text-align:left; font-size:11px; line-height:110%; }
269
+
270
+
271
+
272
+
273
+ .format-button-B, .format-button-i { border:1px solid #c0c0c0; border-bottom:2px solid #909090; border-right:2px solid #909090; background:#d9d9d9; font-family:'Times New Roman', times, sans-serif; line-height:150%; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
274
+ .format-button-B { font-weight:700; padding:2px 5px 2px 5px; }
275
+ .format-button-i { font-style:italic; padding:2px 7px 2px 7px; }
276
+
277
+ .formatOn {
278
+ border-top:2px solid #909090;
279
+ border-left:2px solid #909090;
280
+ border-bottom-width:1px;
281
+ border-right-width:1px;
282
+ background:#f0f0f0/*ffd14e*/;
283
+ }
284
+ .format-button-B.formatOn { padding:1px 6px 3px 4px; }
285
+ .format-button-i.formatOn { padding:1px 8px 3px 6px; }
286
+
287
+ /* --- Font sliders --- */
288
+ .sliderWrap {
289
+ position:relative;
290
+ width:100%;
291
+ height:20px;
292
+ }
293
+
294
+ .fontSizeSlider {
295
+ position:absolute; font-size:1px; cursor:default; width:95px; height:2px; border-bottom:1px solid #f8f8f8; border-top:1px solid #bbb; top:8px;
296
+ }
297
+
298
+
299
+
300
+
301
+ .fontSizeSlider .ui-widget-header,
302
+ .fontSizeSlider .ui-widget-content {
303
+ border:0px !important; background:#777;
304
+ }
305
+ .fontSizeSlider .ui-slider-horizontal {
306
+ top:0px; bottom:0px; height:auto; z-index:90; background:#ddd;
307
+ }
308
+ .fontSizeSlider .ui-slider-handle {
309
+ top:-8px !important; margin-left:-4px !important; border:1px solid #909090; bottom:-8px !important; height:auto !important; width:8px; z-index:100; background:#f9f9f9; cursor:default ; padding:0px !important;
310
+ -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
311
+ }
312
+ .fontSizeSlider .ui-slider-handle:hover {
313
+ background:#fcfcfc; z-index:100;
314
+ }
315
+
316
+
317
+ .VsliderWrap {
318
+ position:relative;
319
+ width:20px;
320
+ height:100px;
321
+ }
322
+ .vertSlider {
323
+ position:absolute; font-size:1px; cursor:default; width:2px; height:100px; border-right:1px solid #fcfcfc; border-left:1px solid #bbb; background:#ddd;
324
+ }
325
+ .vertSlider .ui-widget-header,
326
+ .vertSlider .ui-widget-content {
327
+ border:0px !important; background:#777;
328
+ }
329
+ .vertSlider .ui-slider-vertical {
330
+ left:0px; right:0px; z-index:90; background:#f00; height:100px;
331
+ }
332
+ .vertSlider .ui-slider-handle {
333
+ left:-9px; margin-top:-4px !important; border:1px solid #909090; right:-8px; height:8px; z-index:100; background:#f9f9f9; cursor:default ; padding:0px !important;
334
+ -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
335
+ }
336
+
337
+ .vertSlider .ui-slider-range { /* shit man jquery-ui is painful */
338
+ border:0px; background:#777; width:2px;
339
+ }
340
+
341
+
342
+
343
+ .ui-state-disabled .ui-slider-handle,
344
+ .ui-slider-disabled .ui-slider-handle { border:1px solid #ddd; background:#f3f3f3; }
345
+
346
+ .ui-state-disabled .ui-widget-header,
347
+ .ui-state-disabled .ui-widget-content {
348
+ background:#eee;
349
+ }
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+ .fL { float:left; }
359
+ .fR { float:right; }
360
+ .f500 { font-weight:500 !important; }
361
+ .f700 { font-weight:700; }
362
+
363
+
364
+ /* ====================================================================================== */
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+ a.fox_buttonlink {
376
+ background:#eaf2fa;
377
+ border:1px solid #afcfdb;
378
+ padding:1px 12px 2px 10px;
379
+ text-decoration:none;
380
+ -webkit-border-radius: 3px;
381
+ -moz-border-radius: 3px;
382
+ border-radius: 3px;
383
+ }
384
+ a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
385
+
386
+ a.bl2 { padding:0px 31px 1px 31px; }
387
+
388
+
389
+
390
+
391
+
392
+
393
+ div.wrap {
394
+ border: 0px solid #FF3300;
395
+ margin:0px 10px 0 20px;
396
+ max-width:1200px;
397
+ }
398
+ div.wrap p { margin:0 0 4px 0; }
399
+ div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
400
+ div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
401
+ div.wrap h3 { margin:0 0 8px 20px; }
402
+ div.wrap h4 { margin:20px 0 0px 0; }
403
+
404
+ div.wrap p.jtick {
405
+ margin:0 0 2px 24px;
406
+ }
407
+ div.wrap p.jtick2 {
408
+ margin:0 0 2px 35px;
409
+ }
410
+ div.wrap p.jtext {
411
+ margin:0 0 10px 20px;
412
+ }
413
+
414
+ .joptionswrap {
415
+ border-top:0px solid #eee;
416
+ margin:30px 0 40px 0px;
417
+ }
418
+ .joptionswrap h4 {
419
+ margin:6px 0 3px 0;
420
+ width:250px;
421
+ }
422
+ .jopbox {
423
+ border:1px solid #f0f0f0;
424
+ padding:10px 20px;
425
+ margin-bottom:15px;
426
+ min-width:550px;
427
+ }
428
+ a.bl3 {
429
+ display:block;
430
+ width:200px;
431
+ padding:0 0 0 20px;
432
+ margin:5px 0 1px 0;
433
+ /* background:#f0f0f0;
434
+ border:1px solid #d0d0d0;
435
+ color:#696969; */
436
+ }
437
+ a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
438
+
439
+ .clearB { clear:both; }
440
+ .Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
441
+
442
+ #tog_0-list p { margin:10px 0 10px 0; }
443
+ #tog_0-list h4 { margin:10px 0 10px 0; }
444
+
css/admin/admin-settings.css CHANGED
@@ -1,301 +1,301 @@
1
-
2
-
3
-
4
- /* --- Tabs --- */
5
- .mp3j-tabbuttons-wrap {
6
- position:relative;
7
- border:0;
8
- min-height:30px;
9
- padding:5px 0 0 0;
10
- width:auto;
11
- overflow:visible;
12
- }
13
- .mp3j-tabbutton {
14
- float:left;
15
- padding:6px 24px 6px 22px;
16
- font-size:13px;
17
- margin:0;
18
- background:#e6e6e6;
19
- font-weight:500;
20
- -webkit-border-top-left-radius: 1px;
21
- -webkit-border-top-right-radius: 1px;
22
- -moz-border-radius-topleft: 1px;
23
- -moz-border-radius-topright: 1px;
24
- border-top-left-radius: 1px;
25
- border-top-right-radius: 1px;
26
- border-bottom:1px solid #fcfcfc;
27
- cursor:pointer;
28
- color:#888;
29
- -moz-user-select: -moz-none;
30
- -khtml-user-select: none;
31
- -webkit-user-select: none;
32
- -ms-user-select: none;
33
- user-select: none;
34
- }
35
- .mp3j-tabbutton:hover {
36
- background:#e6e6e6;
37
- text-decoration:underline;
38
- }
39
- .active-tab {
40
- border:1px solid #c8c8c8;
41
- border-bottom:0px;
42
- padding:6px 23px 6px 21px;
43
- color:#333;
44
- font-weight:700;
45
- background:none;
46
- margin-top:-1px;
47
- text-decoration:none;
48
- }
49
- .active-tab:hover {
50
- background:none;
51
- text-decoration:none;
52
- }
53
-
54
- .mp3j-tabs-wrap {
55
- position:relative;
56
- height:auto;
57
- padding:0px 0 0 0;
58
- }
59
- .mp3j-tab {
60
- position:relative;
61
- height:auto;
62
- padding:20px 0px 40px 0px;
63
- background:#f1f1f1;
64
- }
65
- .tab-header { padding:2px 0 6px 0; margin:0; width:100%; }
66
- .tab-header h3 { margin:0 0 0 0 !important; }
67
-
68
- .tabH { font-size:19px; font-weight:700; }
69
- .tabD { font-style:italic; padding:0 0 10px 0; }
70
-
71
- .mp3j-tab label { font-weight:700; }
72
-
73
- .mp3j-tab .description { color:#888; }
74
-
75
- .mp3j-tab hr { margin-bottom:8px; }
76
-
77
-
78
- .unselectable * {
79
- -moz-user-select: -moz-none;
80
- -khtml-user-select: none;
81
- -webkit-user-select: none;
82
- -ms-user-select: none;
83
- user-select: none;
84
- }
85
-
86
-
87
- table.vTop td { vertical-align:top; padding:0 10px 10px 0; }
88
-
89
- table.fileList { border-collapse:collapse; margin:0 0 0 0; }
90
- table.fileList tr { padding:0; }
91
- table.fileList td { text-align:left; vertical-align:top; padding:0 10px 0 0; }
92
- table.fileList td * { padding:0; margin:0; }
93
- table.fileList th { text-align:left; padding:0 0 15px 0; }
94
-
95
- .vTop { vertical-align:top; padding:0 10px 10px 0; }
96
-
97
-
98
- div#library-list,
99
- div#folder-list {
100
- position:relative;
101
- padding:10px 20px 15px 20px;
102
- margin:5px 0px 0px 0px;
103
- background:#f9f9f9;
104
- border:1px solid #eee;
105
- }
106
-
107
-
108
- .absTL { position:absolute; top:-1px; left:-1px; width:100%; }
109
-
110
-
111
-
112
- /* --- --- */
113
- .display_player_wrap {
114
- position:relative;
115
- min-width: 40px;
116
- width: 646px;
117
- border:1px solid #999;
118
- -webkit-box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.33);
119
- -moz-box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.33);
120
- box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.33);
121
- overflow:hidden;
122
- height:320px;
123
- }
124
- #display_player_liner {
125
- padding:40px 40px 50px 40px;
126
- width:auto;
127
- height:100%;
128
- background:url('images/admin-colours-bg.png') repeat;
129
- }
130
-
131
- .ui-resizable {
132
- position: relative;
133
- }
134
- .ui-resizable-handle {
135
- position: absolute;
136
- font-size: 0.1px;
137
- display: block;
138
- }
139
- .ui-resizable-disabled .ui-resizable-handle,
140
- .ui-resizable-autohide .ui-resizable-handle {
141
- display: none;
142
- }
143
- .ui-resizable-s {
144
- cursor: s-resize;
145
- height: 20px;
146
- width: 100%;
147
- bottom: -10px;
148
- left: 0;
149
- background:none;
150
- }
151
- .ui-resizable-e {
152
- cursor: e-resize;
153
- width: 20px;
154
- right: -10px;
155
- top: 0;
156
- height: 100%;
157
- background:none;
158
- }
159
- .ui-resizable-se {
160
- cursor: se-resize;
161
- width: 40px;
162
- height: 40px;
163
- right: 1px;
164
- bottom: 1px;
165
- background:url('images/resizable-handle.png') no-repeat right bottom;
166
- }
167
-
168
-
169
- .quietInput {
170
- background:#fcfcfc !important;
171
- border-color:#f0f0f0 !important;
172
- -webkit-box-shadow:none !important;
173
- -moz-box-shadow:none !important;
174
- box-shadow:none !important;
175
- color:#d6d6d6 !important;
176
- }
177
- .quietText { color:#d6d6d6 !important; }
178
-
179
-
180
-
181
-
182
-
183
- .tick { padding-right:25px; font-size:11px; background:url('images/tick2.png') no-repeat left 2px; }
184
-
185
-
186
- .icon-showlove {
187
- background:url('images/icons-admin-S.png') no-repeat -29px -4px;
188
- width:34px; height:34px; margin:0 auto;
189
- border:1px solid #d0d0d0;
190
- overflow:hidden;
191
- }
192
-
193
- .icon-showlove:hover {
194
- width:280px; height:120px;
195
- }
196
-
197
- .icon-extensions {
198
- background:url('images/icons-admin-S.png') no-repeat 2px -5px;
199
- padding:0 20px 0 0;
200
- }
201
-
202
-
203
- .l { text-align:left; }
204
- .c { text-align:center; }
205
- .r { text-align:right; }
206
-
207
-
208
-
209
- #feedCounterpartInfo {
210
- border:1px solid #d0d0d0;
211
- padding:4px 10px;
212
- background:#f7f7f7;
213
- border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
214
- }
215
-
216
-
217
-
218
-
219
- .helpBox {
220
- border:2px solid #fff;
221
- border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;
222
- background:#f0f6f0;
223
- padding:15px;
224
- }
225
-
226
- /* ====================================================================================== */
227
-
228
-
229
-
230
-
231
-
232
- a.fox_buttonlink {
233
- background:#eaf2fa;
234
- border:1px solid #afcfdb;
235
- padding:1px 12px 2px 10px;
236
- text-decoration:none;
237
- -webkit-border-radius: 3px;
238
- -moz-border-radius: 3px;
239
- border-radius: 3px;
240
- }
241
- a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
242
-
243
- a.bl2 { padding:0px 31px 1px 31px; }
244
-
245
-
246
-
247
-
248
-
249
-
250
- div.wrap {
251
- border: 0px solid #FF3300;
252
- margin:0px 10px 0 20px;
253
- max-width:1200px;
254
- }
255
- div.wrap p { margin:0 0 4px 0; }
256
- div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
257
- div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
258
- div.wrap h3 { margin:0 0 8px 20px; }
259
- div.wrap h4 { margin:20px 0 0px 0; }
260
-
261
- div.wrap p.jtick {
262
- margin:0 0 2px 24px;
263
- }
264
- div.wrap p.jtick2 {
265
- margin:0 0 2px 35px;
266
- }
267
- div.wrap p.jtext {
268
- margin:0 0 10px 20px;
269
- }
270
-
271
- .joptionswrap {
272
- border-top:0px solid #eee;
273
- margin:30px 0 40px 0px;
274
- }
275
- .joptionswrap h4 {
276
- margin:6px 0 3px 0;
277
- width:250px;
278
- }
279
- .jopbox {
280
- border:1px solid #f0f0f0;
281
- padding:10px 20px;
282
- margin-bottom:15px;
283
- min-width:550px;
284
- }
285
- a.bl3 {
286
- display:block;
287
- width:200px;
288
- padding:0 0 0 20px;
289
- margin:5px 0 1px 0;
290
- /* background:#f0f0f0;
291
- border:1px solid #d0d0d0;
292
- color:#696969; */
293
- }
294
- a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
295
-
296
- .clearB { clear:both; }
297
- .Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
298
-
299
- #tog_0-list p { margin:10px 0 10px 0; }
300
- #tog_0-list h4 { margin:10px 0 10px 0; }
301
-
1
+
2
+
3
+
4
+ /* --- Tabs --- */
5
+ .mp3j-tabbuttons-wrap {
6
+ position:relative;
7
+ border:0;
8
+ min-height:30px;
9
+ padding:5px 0 0 0;
10
+ width:auto;
11
+ overflow:visible;
12
+ }
13
+ .mp3j-tabbutton {
14
+ float:left;
15
+ padding:6px 24px 6px 22px;
16
+ font-size:13px;
17
+ margin:0;
18
+ background:#e6e6e6;
19
+ font-weight:500;
20
+ -webkit-border-top-left-radius: 1px;
21
+ -webkit-border-top-right-radius: 1px;
22
+ -moz-border-radius-topleft: 1px;
23
+ -moz-border-radius-topright: 1px;
24
+ border-top-left-radius: 1px;
25
+ border-top-right-radius: 1px;
26
+ border-bottom:1px solid #fcfcfc;
27
+ cursor:pointer;
28
+ color:#888;
29
+ -moz-user-select: -moz-none;
30
+ -khtml-user-select: none;
31
+ -webkit-user-select: none;
32
+ -ms-user-select: none;
33
+ user-select: none;
34
+ }
35
+ .mp3j-tabbutton:hover {
36
+ background:#e6e6e6;
37
+ text-decoration:underline;
38
+ }
39
+ .active-tab {
40
+ border:1px solid #c8c8c8;
41
+ border-bottom:0px;
42
+ padding:6px 23px 6px 21px;
43
+ color:#333;
44
+ font-weight:700;
45
+ background:none;
46
+ margin-top:-1px;
47
+ text-decoration:none;
48
+ }
49
+ .active-tab:hover {
50
+ background:none;
51
+ text-decoration:none;
52
+ }
53
+
54
+ .mp3j-tabs-wrap {
55
+ position:relative;
56
+ height:auto;
57
+ padding:0px 0 0 0;
58
+ }
59
+ .mp3j-tab {
60
+ position:relative;
61
+ height:auto;
62
+ padding:20px 0px 40px 0px;
63
+ background:#f1f1f1;
64
+ }
65
+ .tab-header { padding:2px 0 6px 0; margin:0; width:100%; }
66
+ .tab-header h3 { margin:0 0 0 0 !important; }
67
+
68
+ .tabH { font-size:19px; font-weight:700; }
69
+ .tabD { font-style:italic; padding:0 0 10px 0; }
70
+
71
+ .mp3j-tab label { font-weight:700; }
72
+
73
+ .mp3j-tab .description { color:#888; }
74
+
75
+ .mp3j-tab hr { margin-bottom:8px; }
76
+
77
+
78
+ .unselectable * {
79
+ -moz-user-select: -moz-none;
80
+ -khtml-user-select: none;
81
+ -webkit-user-select: none;
82
+ -ms-user-select: none;
83
+ user-select: none;
84
+ }
85
+
86
+
87
+ table.vTop td { vertical-align:top; padding:0 10px 10px 0; }
88
+
89
+ table.fileList { border-collapse:collapse; margin:0 0 0 0; }
90
+ table.fileList tr { padding:0; }
91
+ table.fileList td { text-align:left; vertical-align:top; padding:0 10px 0 0; }
92
+ table.fileList td * { padding:0; margin:0; }
93
+ table.fileList th { text-align:left; padding:0 0 15px 0; }
94
+
95
+ .vTop { vertical-align:top; padding:0 10px 10px 0; }
96
+
97
+
98
+ div#library-list,
99
+ div#folder-list {
100
+ position:relative;
101
+ padding:10px 20px 15px 20px;
102
+ margin:5px 0px 0px 0px;
103
+ background:#f9f9f9;
104
+ border:1px solid #eee;
105
+ }
106
+
107
+
108
+ .absTL { position:absolute; top:-1px; left:-1px; width:100%; }
109
+
110
+
111
+
112
+ /* --- --- */
113
+ .display_player_wrap {
114
+ position:relative;
115
+ min-width: 40px;
116
+ width: 646px;
117
+ border:1px solid #999;
118
+ -webkit-box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.33);
119
+ -moz-box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.33);
120
+ box-shadow: 0px 3px 8px 0px rgba(50, 50, 50, 0.33);
121
+ overflow:hidden;
122
+ height:320px;
123
+ }
124
+ #display_player_liner {
125
+ padding:40px 40px 50px 40px;
126
+ width:auto;
127
+ height:100%;
128
+ background:url('images/admin-colours-bg.png') repeat;
129
+ }
130
+
131
+ .ui-resizable {
132
+ position: relative;
133
+ }
134
+ .ui-resizable-handle {
135
+ position: absolute;
136
+ font-size: 0.1px;
137
+ display: block;
138
+ }
139
+ .ui-resizable-disabled .ui-resizable-handle,
140
+ .ui-resizable-autohide .ui-resizable-handle {
141
+ display: none;
142
+ }
143
+ .ui-resizable-s {
144
+ cursor: s-resize;
145
+ height: 20px;
146
+ width: 100%;
147
+ bottom: -10px;
148
+ left: 0;
149
+ background:none;
150
+ }
151
+ .ui-resizable-e {
152
+ cursor: e-resize;
153
+ width: 20px;
154
+ right: -10px;
155
+ top: 0;
156
+ height: 100%;
157
+ background:none;
158
+ }
159
+ .ui-resizable-se {
160
+ cursor: se-resize;
161
+ width: 40px;
162
+ height: 40px;
163
+ right: 1px;
164
+ bottom: 1px;
165
+ background:url('images/resizable-handle.png') no-repeat right bottom;
166
+ }
167
+
168
+
169
+ .quietInput {
170
+ background:#fcfcfc !important;
171
+ border-color:#f0f0f0 !important;
172
+ -webkit-box-shadow:none !important;
173
+ -moz-box-shadow:none !important;
174
+ box-shadow:none !important;
175
+ color:#d6d6d6 !important;
176
+ }
177
+ .quietText { color:#d6d6d6 !important; }
178
+
179
+
180
+
181
+
182
+
183
+ .tick { padding-right:25px; font-size:11px; background:url('images/tick2.png') no-repeat left 2px; }
184
+
185
+
186
+ .icon-showlove {
187
+ background:url('images/icons-admin-S.png') no-repeat -29px -4px;
188
+ width:34px; height:34px; margin:0 auto;
189
+ border:1px solid #d0d0d0;
190
+ overflow:hidden;
191
+ }
192
+
193
+ .icon-showlove:hover {
194
+ width:280px; height:120px;
195
+ }
196
+
197
+ .icon-extensions {
198
+ background:url('images/icons-admin-S.png') no-repeat 2px -5px;
199
+ padding:0 20px 0 0;
200
+ }
201
+
202
+
203
+ .l { text-align:left; }
204
+ .c { text-align:center; }
205
+ .r { text-align:right; }
206
+
207
+
208
+
209
+ #feedCounterpartInfo {
210
+ border:1px solid #d0d0d0;
211
+ padding:4px 10px;
212
+ background:#f7f7f7;
213
+ border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
214
+ }
215
+
216
+
217
+
218
+
219
+ .helpBox {
220
+ border:2px solid #fff;
221
+ border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;
222
+ background:#f0f6f0;
223
+ padding:15px;
224
+ }
225
+
226
+ /* ====================================================================================== */
227
+
228
+
229
+
230
+
231
+
232
+ a.fox_buttonlink {
233
+ background:#eaf2fa;
234
+ border:1px solid #afcfdb;
235
+ padding:1px 12px 2px 10px;
236
+ text-decoration:none;
237
+ -webkit-border-radius: 3px;
238
+ -moz-border-radius: 3px;
239
+ border-radius: 3px;
240
+ }
241
+ a.fox_buttonlink:hover { background:#dbeafa; border:1px solid #99bac7; color:#222; }
242
+
243
+ a.bl2 { padding:0px 31px 1px 31px; }
244
+
245
+
246
+
247
+
248
+
249
+
250
+ div.wrap {
251
+ border: 0px solid #FF3300;
252
+ margin:0px 10px 0 20px;
253
+ max-width:1200px;
254
+ }
255
+ div.wrap p { margin:0 0 4px 0; }
256
+ div.wrap h1 { font-weight:500; font-size: 22px; line-height:22px; margin:20px 0 5px 0; padding:0; }
257
+ div.wrap h2 { font-size: 10px; line-height:10px; margin:0; padding:0; }
258
+ div.wrap h3 { margin:0 0 8px 20px; }
259
+ div.wrap h4 { margin:20px 0 0px 0; }
260
+
261
+ div.wrap p.jtick {
262
+ margin:0 0 2px 24px;
263
+ }
264
+ div.wrap p.jtick2 {
265
+ margin:0 0 2px 35px;
266
+ }
267
+ div.wrap p.jtext {
268
+ margin:0 0 10px 20px;
269
+ }
270
+
271
+ .joptionswrap {
272
+ border-top:0px solid #eee;
273
+ margin:30px 0 40px 0px;
274
+ }
275
+ .joptionswrap h4 {
276
+ margin:6px 0 3px 0;
277
+ width:250px;
278
+ }
279
+ .jopbox {
280
+ border:1px solid #f0f0f0;
281
+ padding:10px 20px;
282
+ margin-bottom:15px;
283
+ min-width:550px;
284
+ }
285
+ a.bl3 {
286
+ display:block;
287
+ width:200px;
288
+ padding:0 0 0 20px;
289
+ margin:5px 0 1px 0;
290
+ /* background:#f0f0f0;
291
+ border:1px solid #d0d0d0;
292
+ color:#696969; */
293
+ }
294
+ a.bl3:hover { /* background:#e9e9e9; border:1px solid #c9c9c9; color:#606060; */ }
295
+
296
+ .clearB { clear:both; }
297
+ .Ahelp1 { float:left; width:300px; border-top:0px solid #ccc; }
298
+
299
+ #tog_0-list p { margin:10px 0 10px 0; }
300
+ #tog_0-list h4 { margin:10px 0 10px 0; }
301
+
css/admin/spectrum.css CHANGED
@@ -1,529 +1,529 @@
1
- /***
2
- Spectrum Colorpicker v1.5.1
3
- https://github.com/bgrins/spectrum
4
- Author: Brian Grinstead
5
- License: MIT
6
- ***/
7
-
8
- .sp-container {
9
- position:absolute;
10
- top:0;
11
- left:0;
12
- display:inline-block;
13
- *display: inline;
14
- *zoom: 1;
15
- /* https://github.com/bgrins/spectrum/issues/40 */
16
- z-index: 9999994;
17
- overflow: hidden;
18
- }
19
- .sp-container.sp-flat {
20
- position: relative;
21
- padding-bottom:30px;
22
- }
23
-
24
- /* Fix for * { box-sizing: border-box; } */
25
- .sp-container,
26
- .sp-container * {
27
- -webkit-box-sizing: content-box;
28
- -moz-box-sizing: content-box;
29
- box-sizing: content-box;
30
- }
31
-
32
- /* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
33
- .sp-top {
34
- position:relative;
35
- width: 100%;
36
- display:inline-block;
37
- }
38
- .sp-top-inner {
39
- position:absolute;
40
- top:0;
41
- left:0;
42
- bottom:0;
43
- right:0;
44
- }
45
- .sp-color {
46
- position: absolute;
47
- top:0;
48
- left:0;
49
- bottom:0;
50
- right:17%;
51
- }
52
- .sp-hue {
53
- position: absolute;
54
- top:0;
55
- right:0;
56
- bottom:0;
57
- left:90%;
58
- height: 100%;
59
- }
60
-
61
- .sp-clear-enabled .sp-hue {
62
- top:33px;
63
- height: 77.5%;
64
- }
65
-
66
- .sp-fill {
67
- padding-top: 80%;
68
- }
69
- .sp-sat, .sp-val {
70
- position: absolute;
71
- top:0;
72
- left:0;
73
- right:0;
74
- bottom:0;
75
- }
76
-
77
- .sp-alpha-enabled .sp-top {
78
- margin-bottom: 18px;
79
- }
80
- .sp-alpha-enabled .sp-alpha {
81
- display: block;
82
- }
83
- .sp-alpha-handle {
84
- position:absolute;
85
- top:-4px;
86
- bottom: -4px;
87
- width: 4px;
88
- left: 50%;
89
- cursor: pointer;
90
- border: 1px solid black;
91
- background: #f0f0f0;
92
- opacity: .8;
93
- }
94
- .sp-alpha {
95
- display: none;
96
- position: absolute;
97
- bottom: -34px;
98
- right: 0;
99
- left: 0;
100
- height: 22px;
101
- }
102
- .sp-alpha-inner {
103
- border: solid 1px #333;
104
- }
105
-
106
- .sp-clear {
107
- display: none;
108
- }
109
-
110
- .sp-clear.sp-clear-display {
111
- background-position: center;
112
- }
113
-
114
- .sp-clear-enabled .sp-clear {
115
- display: block;
116
- position:absolute;
117
- top:0px;
118
- right:0;
119
- bottom:0;
120
- left:84%;
121
- height: 28px;
122
- }
123
-
124
- /* Don't allow text selection */
125
- .sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button {
126
- -webkit-user-select:none;
127
- -moz-user-select: -moz-none;
128
- -o-user-select:none;
129
- user-select: none;
130
- }
131
-
132
- .sp-container.sp-input-disabled .sp-input-container {
133
- display: none;
134
- }
135
- .sp-container.sp-buttons-disabled .sp-button-container {
136
- display: none;
137
- }
138
- .sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
139
- display: none;
140
- }
141
- .sp-palette-only .sp-picker-container {
142
- display: none;
143
- }
144
- .sp-palette-disabled .sp-palette-container {
145
- display: none;
146
- }
147
-
148
- .sp-initial-disabled .sp-initial {
149
- display: none;
150
- }
151
-
152
-
153
- /* Gradients for hue, saturation and value instead of images. Not pretty... but it works */
154
- .sp-sat {
155
- background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
156
- background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
157
- background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
158
- background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
159
- background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
160
- background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
161
- -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
162
- filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
163
- }
164
- .sp-val {
165
- background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
166
- background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
167
- background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
168
- background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
169
- background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
170
- background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
171
- -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
172
- filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
173
- }
174
-
175
- .sp-hue {
176
- background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
177
- background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
178
- background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
179
- background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
180
- background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
181
- background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
182
- }
183
-
184
- /* IE filters do not support multiple color stops.
185
- Generate 6 divs, line them up, and do two color gradients for each.
186
- Yes, really.
187
- */
188
- .sp-1 {
189
- height:17%;
190
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
191
- }
192
- .sp-2 {
193
- height:16%;
194
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
195
- }
196
- .sp-3 {
197
- height:17%;
198
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
199
- }
200
- .sp-4 {
201
- height:17%;
202
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
203
- }
204
- .sp-5 {
205
- height:16%;
206
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
207
- }
208
- .sp-6 {
209
- height:17%;
210
- filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
211
- }
212
-
213
- .sp-hidden {
214
- display: none !important;
215
- }
216
-
217
- /* Clearfix hack */
218
- .sp-cf:before, .sp-cf:after { content: ""; display: table; }
219
- .sp-cf:after { clear: both; }
220
- .sp-cf { *zoom: 1; }
221
-
222
- /* Mobile devices, make hue slider bigger so it is easier to slide */
223
- @media (max-device-width: 480px) {
224
- .sp-color { right: 40%; }
225
- .sp-hue { left: 63%; }
226
- .sp-fill { padding-top: 60%; }
227
- }
228
- .sp-dragger {
229
- border-radius: 5px;
230
- height: 5px;
231
- width: 5px;
232
- border: 1px solid #fff;
233
- background: #000;
234
- cursor: pointer;
235
- position:absolute;
236
- top:0;
237
- left: 0;
238
- }
239
- .sp-slider {
240
- position: absolute;
241
- top:0;
242
- cursor:pointer;
243
- height: 4px;
244
- left: -4px;
245
- right: -4px;
246
- border: 1px solid #000;
247
- background: #f0f0f0;
248
- opacity: .8;
249
- }
250
-
251
- /*
252
- Theme authors:
253
- Here are the basic themeable display options (colors, fonts, global widths).
254
- See http://bgrins.github.io/spectrum/themes/ for instructions.
255
- */
256
-
257
- .sp-container {
258
- border-radius: 0;
259
- background-color:none; /* ECECEC */
260
- /*border: solid 1px #f0c49B;*/
261
- border: solid 0px #444;
262
- padding: 0;
263
- }
264
- .sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
265
- font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
266
- -webkit-box-sizing: border-box;
267
- -moz-box-sizing: border-box;
268
- -ms-box-sizing: border-box;
269
- box-sizing: border-box;
270
- }
271
- .sp-top {
272
- margin-bottom: 3px;
273
- }
274
- .sp-color, .sp-hue, .sp-clear {
275
- border: solid 1px #666;
276
- }
277
-
278
- /* Input */
279
- .sp-input-container {
280
- float:right;
281
- width: 100px;
282
- margin-bottom: 4px;
283
- }
284
- .sp-initial-disabled .sp-input-container {
285
- width: 100%;
286
- }
287
- .sp-input {
288
- font-size: 12px !important;
289
- border: 1px inset;
290
- padding: 4px 5px;
291
- margin: 0;
292
- width: 100%;
293
- background:transparent;
294
- border-radius: 3px;
295
- color: #222;
296
- }
297
- .sp-input:focus {
298
- border: 1px solid orange;
299
- }
300
- .sp-input.sp-validation-error {
301
- border: 1px solid red;
302
- background: #fdd;
303
- }
304
- .sp-picker-container , .sp-palette-container {
305
- float:left;
306
- position: relative;
307
- padding: 5px 10px 10px 5px;
308
- padding-bottom: 300px;
309
- margin-bottom: -290px;
310
- }
311
- .sp-picker-container {
312
- width: 196px;
313
- border-left: solid 0px #444;
314
- background:none;
315
- }
316
-
317
- /* Palettes */
318
- .sp-palette-container {
319
- border-right: solid 1px #ccc;
320
- }
321
-
322
- .sp-palette-only .sp-palette-container {
323
- border: 0;
324
- }
325
-
326
- .sp-palette .sp-thumb-el {
327
- display: block;
328
- position:relative;
329
- float:left;
330
- width: 24px;
331
- height: 15px;
332
- margin: 3px;
333
- cursor: pointer;
334
- border:solid 2px transparent;
335
- }
336
- .sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
337
- border-color: orange;
338
- }
339
- .sp-thumb-el {
340
- position:relative;
341
- }
342
-
343
- /* Initial */
344
- .sp-initial {
345
- float: left;
346
- margin-top:20px;
347
- border: solid 1px #333;
348
- }
349
- .sp-initial span {
350
- width: 60px;
351
- height: 40px;
352
- border:none;
353
- display:block;
354
- float:left;
355
- margin:0;
356
- }
357
-
358
- .sp-initial .sp-clear-display {
359
- background-position: center;
360
- }
361
-
362
- /* Buttons */
363
- .sp-palette-button-container,
364
- .sp-button-container {
365
- float: right;
366
- }
367
-
368
- /* Replacer (the little preview div that shows up instead of the <input>) */
369
- .sp-replacer {
370
- margin:0;
371
- overflow:hidden;
372
- cursor:pointer;
373
- padding: 4px;
374
- display:inline-block;
375
- *zoom: 1;
376
- *display: inline;
377
- border: solid 1px #e0e0e0;
378
- background: #f6f6f6;
379
- color: #333;
380
- vertical-align: middle;
381
- }
382
-
383
- .sp-replacer:hover, .sp-replacer.sp-active {
384
- border-color: #F0C49B;
385
- color: #111;
386
- }
387
- .sp-replacer.sp-disabled {
388
- cursor:default;
389
- border-color: silver;
390
- color: silver;
391
- }
392
- .sp-dd {
393
- padding: 2px 0;
394
- height: 16px;
395
- line-height: 16px;
396
- float:left;
397
- font-size:10px;
398
- }
399
- .sp-preview {
400
- position:relative;
401
- width:25px;
402
- height: 20px;
403
- border: solid 1px #d0d0d0;
404
- margin-right: 5px;
405
- float:left;
406
- z-index: 0;
407
- }
408
-
409
- .sp-palette {
410
- *width: 220px;
411
- max-width: 220px;
412
- }
413
- .sp-palette .sp-thumb-el {
414
- width:16px;
415
- height: 16px;
416
- margin:2px 1px;
417
- border: solid 1px #d0d0d0;
418
- }
419
-
420
- .sp-container {
421
- padding-bottom:0;
422
- }
423
-
424
-
425
- /* Buttons: http://hellohappy.org/css3-buttons/ */
426
- .sp-container button {
427
- background-color: #eeeeee;
428
- background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
429
- background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
430
- background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
431
- background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
432
- background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
433
- border: 1px solid #ccc;
434
- border-bottom: 1px solid #bbb;
435
- border-radius: 3px;
436
- color: #333;
437
- font-size: 14px;
438
- line-height: 1;
439
- padding: 5px 4px;
440
- text-align: center;
441
- text-shadow: 0 1px 0 #eee;
442
- vertical-align: middle;
443
- }
444
- .sp-container button:hover {
445
- background-color: #dddddd;
446
- background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
447
- background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
448
- background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
449
- background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
450
- background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
451
- border: 1px solid #bbb;
452
- border-bottom: 1px solid #999;
453
- cursor: pointer;
454
- text-shadow: 0 1px 0 #ddd;
455
- }
456
- .sp-container button:active {
457
- border: 1px solid #aaa;
458
- border-bottom: 1px solid #888;
459
- -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
460
- -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
461
- -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
462
- -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
463
- box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
464
- }
465
- .sp-cancel {
466
- font-size: 11px;
467
- color: #d93f3f !important;
468
- margin:0;
469
- padding:2px;
470
- margin-right: 5px;
471
- vertical-align: middle;
472
- text-decoration:none;
473
-
474
- }
475
- .sp-cancel:hover {
476
- color: #d93f3f !important;
477
- text-decoration: underline;
478
- }
479
-
480
-
481
- .sp-palette span:hover, .sp-palette span.sp-thumb-active {
482
- border-color: #000;
483
- }
484
-
485
- .sp-preview, .sp-alpha, .sp-thumb-el {
486
- position:relative;
487
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
488
- /*background: url('../../css/images/patchbg.png') repeat-x left 0px;*/
489
- }
490
- .sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
491
- display:block;
492
- position:absolute;
493
- top:0;left:0;bottom:0;right:0;
494
- }
495
-
496
- .sp-palette .sp-thumb-inner {
497
- background-position: 50% 50%;
498
- background-repeat: no-repeat;
499
- }
500
-
501
- .sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
502
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
503
- }
504
-
505
- .sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
506
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
507
- }
508
-
509
- .sp-clear-display {
510
- background-repeat:no-repeat;
511
- background-position: center;
512
- background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
513
- }
514
-
515
-
516
-
517
- .sp-container.mini {
518
- border:1px solid #fcfcfc;
519
- }
520
-
521
- .mini .sp-picker-container {
522
- width: 106px;
523
- border-left: solid 0px #444;
524
- background:#f2f2f2;
525
- padding: 15px;
526
- padding-bottom: 300px;
527
- top:0px;
528
- }
529
-
1
+ /***
2
+ Spectrum Colorpicker v1.5.1
3
+ https://github.com/bgrins/spectrum
4
+ Author: Brian Grinstead
5
+ License: MIT
6
+ ***/
7
+
8
+ .sp-container {
9
+ position:absolute;
10
+ top:0;
11
+ left:0;
12
+ display:inline-block;
13
+ *display: inline;
14
+ *zoom: 1;
15
+ /* https://github.com/bgrins/spectrum/issues/40 */
16
+ z-index: 9999994;
17
+ overflow: hidden;
18
+ }
19
+ .sp-container.sp-flat {
20
+ position: relative;
21
+ padding-bottom:30px;
22
+ }
23
+
24
+ /* Fix for * { box-sizing: border-box; } */
25
+ .sp-container,
26
+ .sp-container * {
27
+ -webkit-box-sizing: content-box;
28
+ -moz-box-sizing: content-box;
29
+ box-sizing: content-box;
30
+ }
31
+
32
+ /* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
33
+ .sp-top {
34
+ position:relative;
35
+ width: 100%;
36
+ display:inline-block;
37
+ }
38
+ .sp-top-inner {
39
+ position:absolute;
40
+ top:0;
41
+ left:0;
42
+ bottom:0;
43
+ right:0;
44
+ }
45
+ .sp-color {
46
+ position: absolute;
47
+ top:0;
48
+ left:0;
49
+ bottom:0;
50
+ right:17%;
51
+ }
52
+ .sp-hue {
53
+ position: absolute;
54
+ top:0;
55
+ right:0;
56
+ bottom:0;
57
+ left:90%;
58
+ height: 100%;
59
+ }
60
+
61
+ .sp-clear-enabled .sp-hue {
62
+ top:33px;
63
+ height: 77.5%;
64
+ }
65
+
66
+ .sp-fill {
67
+ padding-top: 80%;
68
+ }
69
+ .sp-sat, .sp-val {
70
+ position: absolute;
71
+ top:0;
72
+ left:0;
73
+ right:0;
74
+ bottom:0;
75
+ }
76
+
77
+ .sp-alpha-enabled .sp-top {
78
+ margin-bottom: 18px;
79
+ }
80
+ .sp-alpha-enabled .sp-alpha {
81
+ display: block;
82
+ }
83
+ .sp-alpha-handle {
84
+ position:absolute;
85
+ top:-4px;
86
+ bottom: -4px;
87
+ width: 4px;
88
+ left: 50%;
89
+ cursor: pointer;
90
+ border: 1px solid black;
91
+ background: #f0f0f0;
92
+ opacity: .8;
93
+ }
94
+ .sp-alpha {
95
+ display: none;
96
+ position: absolute;
97
+ bottom: -34px;
98
+ right: 0;
99
+ left: 0;
100
+ height: 22px;
101
+ }
102
+ .sp-alpha-inner {
103
+ border: solid 1px #333;
104
+ }
105
+
106
+ .sp-clear {
107
+ display: none;
108
+ }
109
+
110
+ .sp-clear.sp-clear-display {
111
+ background-position: center;
112
+ }
113
+
114
+ .sp-clear-enabled .sp-clear {
115
+ display: block;
116
+ position:absolute;
117
+ top:0px;
118
+ right:0;
119
+ bottom:0;
120
+ left:84%;
121
+ height: 28px;
122
+ }
123
+
124
+ /* Don't allow text selection */
125
+ .sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button {
126
+ -webkit-user-select:none;
127
+ -moz-user-select: -moz-none;
128
+ -o-user-select:none;
129
+ user-select: none;
130
+ }
131
+
132
+ .sp-container.sp-input-disabled .sp-input-container {
133
+ display: none;
134
+ }
135
+ .sp-container.sp-buttons-disabled .sp-button-container {
136
+ display: none;
137
+ }
138
+ .sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
139
+ display: none;
140
+ }
141
+ .sp-palette-only .sp-picker-container {
142
+ display: none;
143
+ }
144
+ .sp-palette-disabled .sp-palette-container {
145
+ display: none;
146
+ }
147
+
148
+ .sp-initial-disabled .sp-initial {
149
+ display: none;
150
+ }
151
+
152
+
153
+ /* Gradients for hue, saturation and value instead of images. Not pretty... but it works */
154
+ .sp-sat {
155
+ background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
156
+ background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
157
+ background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
158
+ background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
159
+ background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
160
+ background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
161
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
162
+ filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
163
+ }
164
+ .sp-val {
165
+ background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
166
+ background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
167
+ background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
168
+ background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
169
+ background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
170
+ background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
171
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
172
+ filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
173
+ }
174
+
175
+ .sp-hue {
176
+ background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
177
+ background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
178
+ background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
179
+ background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
180
+ background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
181
+ background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
182
+ }
183
+
184
+ /* IE filters do not support multiple color stops.
185
+ Generate 6 divs, line them up, and do two color gradients for each.
186
+ Yes, really.
187
+ */
188
+ .sp-1 {
189
+ height:17%;
190
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
191
+ }
192
+ .sp-2 {
193
+ height:16%;
194
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
195
+ }
196
+ .sp-3 {
197
+ height:17%;
198
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
199
+ }
200
+ .sp-4 {
201
+ height:17%;
202
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
203
+ }
204
+ .sp-5 {
205
+ height:16%;
206
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
207
+ }
208
+ .sp-6 {
209
+ height:17%;
210
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
211
+ }
212
+
213
+ .sp-hidden {
214
+ display: none !important;
215
+ }
216
+
217
+ /* Clearfix hack */
218
+ .sp-cf:before, .sp-cf:after { content: ""; display: table; }
219
+ .sp-cf:after { clear: both; }
220
+ .sp-cf { *zoom: 1; }
221
+
222
+ /* Mobile devices, make hue slider bigger so it is easier to slide */
223
+ @media (max-device-width: 480px) {
224
+ .sp-color { right: 40%; }
225
+ .sp-hue { left: 63%; }
226
+ .sp-fill { padding-top: 60%; }
227
+ }
228
+ .sp-dragger {
229
+ border-radius: 5px;
230
+ height: 5px;
231
+ width: 5px;
232
+ border: 1px solid #fff;
233
+ background: #000;
234
+ cursor: pointer;
235
+ position:absolute;
236
+ top:0;
237
+ left: 0;
238
+ }
239
+ .sp-slider {
240
+ position: absolute;
241
+ top:0;
242
+ cursor:pointer;
243
+ height: 4px;
244
+ left: -4px;
245
+ right: -4px;
246
+ border: 1px solid #000;
247
+ background: #f0f0f0;
248
+ opacity: .8;
249
+ }
250
+
251
+ /*
252
+ Theme authors:
253
+ Here are the basic themeable display options (colors, fonts, global widths).
254
+ See http://bgrins.github.io/spectrum/themes/ for instructions.
255
+ */
256
+
257
+ .sp-container {
258
+ border-radius: 0;
259
+ background-color:none; /* ECECEC */
260
+ /*border: solid 1px #f0c49B;*/
261
+ border: solid 0px #444;
262
+ padding: 0;
263
+ }
264
+ .sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear {
265
+ font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
266
+ -webkit-box-sizing: border-box;
267
+ -moz-box-sizing: border-box;
268
+ -ms-box-sizing: border-box;
269
+ box-sizing: border-box;
270
+ }
271
+ .sp-top {
272
+ margin-bottom: 3px;
273
+ }
274
+ .sp-color, .sp-hue, .sp-clear {
275
+ border: solid 1px #666;
276
+ }
277
+
278
+ /* Input */
279
+ .sp-input-container {
280
+ float:right;
281
+ width: 100px;
282
+ margin-bottom: 4px;
283
+ }
284
+ .sp-initial-disabled .sp-input-container {
285
+ width: 100%;
286
+ }
287
+ .sp-input {
288
+ font-size: 12px !important;
289
+ border: 1px inset;
290
+ padding: 4px 5px;
291
+ margin: 0;
292
+ width: 100%;
293
+ background:transparent;
294
+ border-radius: 3px;
295
+ color: #222;
296
+ }
297
+ .sp-input:focus {
298
+ border: 1px solid orange;
299
+ }
300
+ .sp-input.sp-validation-error {
301
+ border: 1px solid red;
302
+ background: #fdd;
303
+ }
304
+ .sp-picker-container , .sp-palette-container {
305
+ float:left;
306
+ position: relative;
307
+ padding: 5px 10px 10px 5px;
308
+ padding-bottom: 300px;
309
+ margin-bottom: -290px;
310
+ }
311
+ .sp-picker-container {
312
+ width: 196px;
313
+ border-left: solid 0px #444;
314
+ background:none;
315
+ }
316
+
317
+ /* Palettes */
318
+ .sp-palette-container {
319
+ border-right: solid 1px #ccc;
320
+ }
321
+
322
+ .sp-palette-only .sp-palette-container {
323
+ border: 0;
324
+ }
325
+
326
+ .sp-palette .sp-thumb-el {
327
+ display: block;
328
+ position:relative;
329
+ float:left;
330
+ width: 24px;
331
+ height: 15px;
332
+ margin: 3px;
333
+ cursor: pointer;
334
+ border:solid 2px transparent;
335
+ }
336
+ .sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
337
+ border-color: orange;
338
+ }
339
+ .sp-thumb-el {
340
+ position:relative;
341
+ }
342
+
343
+ /* Initial */
344
+ .sp-initial {
345
+ float: left;
346
+ margin-top:20px;
347
+ border: solid 1px #333;
348
+ }
349
+ .sp-initial span {
350
+ width: 60px;
351
+ height: 40px;
352
+ border:none;
353
+ display:block;
354
+ float:left;
355
+ margin:0;
356
+ }
357
+
358
+ .sp-initial .sp-clear-display {
359
+ background-position: center;
360
+ }
361
+
362
+ /* Buttons */
363
+ .sp-palette-button-container,
364
+ .sp-button-container {
365
+ float: right;
366
+ }
367
+
368
+ /* Replacer (the little preview div that shows up instead of the <input>) */
369
+ .sp-replacer {
370
+ margin:0;
371
+ overflow:hidden;
372
+ cursor:pointer;
373
+ padding: 4px;
374
+ display:inline-block;
375
+ *zoom: 1;
376
+ *display: inline;
377
+ border: solid 1px #e0e0e0;
378
+ background: #f6f6f6;
379
+ color: #333;
380
+ vertical-align: middle;
381
+ }
382
+
383
+ .sp-replacer:hover, .sp-replacer.sp-active {
384
+ border-color: #F0C49B;
385
+ color: #111;
386
+ }
387
+ .sp-replacer.sp-disabled {
388
+ cursor:default;
389
+ border-color: silver;
390
+ color: silver;
391
+ }
392
+ .sp-dd {
393
+ padding: 2px 0;
394
+ height: 16px;
395
+ line-height: 16px;
396
+ float:left;
397
+ font-size:10px;
398
+ }
399
+ .sp-preview {
400
+ position:relative;
401
+ width:25px;
402
+ height: 20px;
403
+ border: solid 1px #d0d0d0;
404
+ margin-right: 5px;
405
+ float:left;
406
+ z-index: 0;
407
+ }
408
+
409
+ .sp-palette {
410
+ *width: 220px;
411
+ max-width: 220px;
412
+ }
413
+ .sp-palette .sp-thumb-el {
414
+ width:16px;
415
+ height: 16px;
416
+ margin:2px 1px;
417
+ border: solid 1px #d0d0d0;
418
+ }
419
+
420
+ .sp-container {
421
+ padding-bottom:0;
422
+ }
423
+
424
+
425
+ /* Buttons: http://hellohappy.org/css3-buttons/ */
426
+ .sp-container button {
427
+ background-color: #eeeeee;
428
+ background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
429
+ background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
430
+ background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
431
+ background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
432
+ background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
433
+ border: 1px solid #ccc;
434
+ border-bottom: 1px solid #bbb;
435
+ border-radius: 3px;
436
+ color: #333;
437
+ font-size: 14px;
438
+ line-height: 1;
439
+ padding: 5px 4px;
440
+ text-align: center;
441
+ text-shadow: 0 1px 0 #eee;
442
+ vertical-align: middle;
443
+ }
444
+ .sp-container button:hover {
445
+ background-color: #dddddd;
446
+ background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
447
+ background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
448
+ background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
449
+ background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
450
+ background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
451
+ border: 1px solid #bbb;
452
+ border-bottom: 1px solid #999;
453
+ cursor: pointer;
454
+ text-shadow: 0 1px 0 #ddd;
455
+ }
456
+ .sp-container button:active {
457
+ border: 1px solid #aaa;
458
+ border-bottom: 1px solid #888;
459
+ -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
460
+ -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
461
+ -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
462
+ -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
463
+ box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
464
+ }
465
+ .sp-cancel {
466
+ font-size: 11px;
467
+ color: #d93f3f !important;
468
+ margin:0;
469
+ padding:2px;
470
+ margin-right: 5px;
471
+ vertical-align: middle;
472
+ text-decoration:none;
473
+
474
+ }
475
+ .sp-cancel:hover {
476
+ color: #d93f3f !important;
477
+ text-decoration: underline;
478
+ }
479
+
480
+
481
+ .sp-palette span:hover, .sp-palette span.sp-thumb-active {
482
+ border-color: #000;
483
+ }
484
+
485
+ .sp-preview, .sp-alpha, .sp-thumb-el {
486
+ position:relative;
487
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
488
+ /*background: url('../../css/images/patchbg.png') repeat-x left 0px;*/
489
+ }
490
+ .sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner {
491
+ display:block;
492
+ position:absolute;
493
+ top:0;left:0;bottom:0;right:0;
494
+ }
495
+
496
+ .sp-palette .sp-thumb-inner {
497
+ background-position: 50% 50%;
498
+ background-repeat: no-repeat;
499
+ }
500
+
501
+ .sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
502
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
503
+ }
504
+
505
+ .sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
506
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
507
+ }
508
+
509
+ .sp-clear-display {
510
+ background-repeat:no-repeat;
511
+ background-position: center;
512
+ background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
513
+ }
514
+
515
+
516
+
517
+ .sp-container.mini {
518
+ border:1px solid #fcfcfc;
519
+ }
520
+
521
+ .mini .sp-picker-container {
522
+ width: 106px;
523
+ border-left: solid 0px #444;
524
+ background:#f2f2f2;
525
+ padding: 15px;
526
+ padding-bottom: 300px;
527
+ top:0px;
528
+ }
529
+
css/dark.css CHANGED
@@ -1,594 +1,598 @@
1
- /*
2
- -------------------------------
3
-
4
- Skin: Dark
5
- ---
6
- Plugin: MP3-jPlayer v2
7
- Package: WordPress
8
- Desc:
9
- Info: http://mp3-jplayer.com
10
-
11
- -------------------------------
12
- */
13
-
14
-
15
- /* [mp3-jplayer] SHORTCODE
16
- ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
17
- .subwrap-MI { border-width:0px; border-style:solid; padding:0; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
18
- .jp-innerwrap { background:none; }
19
- .interface-mjp { padding:0 0 42px 0; min-height:0px; }
20
-
21
- div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
22
- div.innerx { left:0px; height:38px; z-index:18; right:0px; bottom:0px; background-color:#303030; border:2px solid #303030;
23
- /*border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; */
24
- }
25
- div.innerleft { display:none; }
26
- div.innerright { display:none; }
27
- div.innertab { left:0px; top:0px; right:0px; bottom:42px; }
28
-
29
- /* PLAYLIST */
30
- .ul-mjp { margin:0px !important; padding:3px 8px 4px 8px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
31
- .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
32
- .li-mjp:before { content:none !important; }
33
- .a-mjp {
34
- border:0 !important;
35
- text-decoration:none !important;
36
- display:block !important; width:auto !important;
37
- outline:none !important;
38
- padding:7px 10px 7px 10px !important;
39
- }
40
-
41
- /* SCREEN */
42
- div.player-track-title { position:absolute; z-index:125; }
43
- div.player-track-title div { position:relative; }
44
-
45
- div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; font-size:8px !important; line-height:110%; }
46
- div.jp-total-time { right:11px; bottom:66px; text-align:left; }
47
- div.jp-play-time { right:11px; bottom:56px; text-align:right; }
48
-
49
- div.statusMI { right:112px; left:0px; bottom:42px; height:11px; text-align:left; overflow:hidden;
50
- background-image: url('images/t40w.png');
51
- background-repeat: repeat;
52
- background-position:left top;
53
- }
54
- span.mp3-finding {
55
- position:absolute; top:0; left:0; bottom:0; right:0;
56
- background:url('images/loader.gif') repeat-x 0px -2px;
57
- }
58
- span.mp3-tint { position:absolute; top:0; left:0; bottom:0; right:0; opacity:.3; filter:alpha(opacity=30); }
59
- span.mjp-playing { display:none; }
60
- span.mjp-paused { display:none; }
61
- span.mjp-ready { display:none; }
62
- span.mjp-stopped { display:none; }
63
- span.mjp-connecting { display:none; }
64
- span.mjp-buffering { display:none; }
65
-
66
-
67
- /* BUTTONS */
68
- div.transport-MI { position:absolute; width:auto; height:38px; right:2px; bottom:2px; border:0; z-index:22; }
69
- div.transport-MI div { float:right; cursor:pointer; margin-left:2px; background-image: url("images/buttonset-darkplayer-grads8.png"); background-color:#303030; text-indent:-9999px !important; width:40px; height:38px; }
70
- div.transport-MI div:hover { background-color:#383838 !important; }
71
-
72
- div.play-mjp { background-position:-289px -77px; }
73
- div.pause-mjp { background-position:-243px -77px; }
74
- div.prev-mjp { background-position:-88px -77px; }
75
- div.next-mjp { background-position:-145px -77px; }
76
- div.stop-mjp { background-position:-198px -77px; }
77
-
78
- .buttons-wrap-mjp { position:absolute; width:auto; height:38px; left:2px; bottom:2px; z-index:20; }
79
- .buttons-wrap-mjp div {
80
- float:left;
81
- height:38px;
82
- background-image: url("images/buttonset-darkplayer-grads8.png");
83
- background-color:#303030;
84
- background-repeat:no-repeat;
85
- cursor:pointer;
86
- overflow:hidden;
87
- color:#f0f0f0;
88
- text-align:left;
89
- font-size:70%;
90
- margin-right:2px;
91
- }
92
-
93
- /* Playlist */
94
- div.playlist-toggle-MI {
95
- background-position:-44px -79px;
96
- text-indent:-9999px !important;
97
- cursor:pointer;
98
- width:34px;
99
- }
100
- div.playlist-toggle-MI:hover { background-color:#383838 !important; }
101
-
102
- /* Popout */
103
- div.mp3j-popout-MI {
104
- background-position:-396px -5px;
105
- padding:10px 7px 0 27px;
106
- height:28px;
107
- min-width:0px;
108
- font-size:12px;
109
- }
110
- div.mp3j-popout-MI:hover { background-color:#383838 !important; }
111
-
112
- /* Download */
113
- div.dloadmp3-MI {
114
- /*background-position:-395px -98px;*/
115
- background-position:-395px -49px;
116
- padding:0;
117
- height:38px;
118
- color:#f0f0f0;
119
- cursor:default;
120
- min-width:36px;
121
- }
122
- div.dloadmp3-MI * {
123
- outline:none !important;
124
- display:block;
125
- width:auto;
126
- margin:0px !important;
127
- background-color:transparent;
128
- text-decoration:none !important;
129
- height:100%;
130
- color:#f0f0f0;
131
- }
132
- div.dloadmp3-MI.whilelinks,
133
- div.dloadmp3-MI.logintext {
134
- background-position:-395px -49px;
135
- cursor:pointer;
136
- background-color:#303030;
137
- }
138
- div.dloadmp3-MI.whilelinks:hover { }
139
- /*
140
- .dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:hidden; display:none; color:#f0f0f0; font-size:12px; }
141
- .dloadmp3-MI a:hover { }
142
- */
143
- .dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:inherit; color:#f0f0f0; display:block; font-size:12px; }
144
- .dloadmp3-MI a:hover { color:#fff; display:block; }
145
-
146
- .dloadmp3-MI.whilelinks a { visibility:inherit; color:#f0f0f0; display:block; }
147
- .dloadmp3-MI.whilelinks a:hover { color:#fff; display:block; }
148
- .dloadmp3-MI p { padding:10px 8px 0px 28px !important; visibility:visible; }
149
-
150
-
151
- /* VOLUME */
152
- .innerExt1, .innerExt2 {
153
- position:absolute;
154
- z-index:150;
155
- background-image:url('images/buttonset-darkplayer-grads8.png');
156
- background-repeat:no-repeat;
157
- top:0px;
158
- height:10px;
159
- cursor:pointer;
160
- }
161
- .innerExt1 { left:0px; width:28px; background-position:-159px -53px; background-color:#303030; }
162
- .innerExt1:hover { background-color:#383838; }
163
- .innerExt2 { display:none; }
164
-
165
- .vol-muted { background-position:-124px -53px; }
166
-
167
- div.mjp-volwrap { position:absolute; height:11px; bottom:40px; right:0px; width:108px; background-color:#303030; z-index:140;
168
- border:2px solid #303030; border-bottom:0px;
169
- -webkit-border-top-right-radius: 2px; -moz-border-radius-topright: 2px; border-top-right-radius: 2px;
170
- }
171
- div.MIsliderVolume, div.MIsliderVolume.ui-widget-content { position:absolute; top:-1px; right:1px; left:28px; height:11px; border:0 !important; font-size:1px; cursor:pointer; z-index:150; }
172
- div.MIsliderVolume .ui-widget-header { background:transparent url('images/volgrad-light.png') repeat-y 10px top; border-right:1px solid #808080; }
173
- div.MIsliderVolume .ui-slider-handle { display:none; }
174
- div.mjp-volwrap:hover .ui-slider-handle, div.MIsliderVolume .ui-slider-handle:hover { display:none; }
175
- div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { display:none; }
176
-
177
- /* LOADER AND POS SLIDER */
178
- div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
179
- div.bars_holder { position:absolute; right:112px; left:0px; bottom:42px; height:11px; font-size:1px; cursor:default; }
180
- div.loadMI_mp3j { bottom:0px; z-index:80; }
181
- div.poscolMI_mp3j { bottom:0px; z-index:85; top:0px; }
182
- div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
183
- div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:130; }
184
- div.posbarMI_mp3j { bottom:0px; width:100%; }
185
- div.posbarMI_mp3j .ui-slider-handle { top:0px; margin-left:-1px !important; border:0; bottom:0px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
186
- div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
187
-
188
- /* MESSAGES */
189
- div.mp3j-finfo {
190
- position:absolute;
191
- top:36px;
192
- z-index:9999 !important;
193
- width:80%;
194
- left:10%;
195
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
196
- background:#333;
197
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
198
- padding:0;
199
- min-height:31px;
200
- overflow:hidden;
201
- min-width:170px;
202
- }
203
-
204
- div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
205
- div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
206
- div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader-w.gif') no-repeat center 27px; width:auto; padding:0px; height:100%; }
207
- div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
208
- div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
209
- div.mp3j-finfo-close:hover { color:#ccc !important; }
210
-
211
- div.mp3j-finfo-txt h2 { font-size:15px !important; color:#f0f0f0 !important; margin:0 0 35px 0 !important; }
212
- div.mp3j-finfo-txt h3 { font-size:14px !important; color:#f0f0f0 !important; margin:0 0 15px 0 !important; }
213
- div.mp3j-finfo-txt p { font-size:12px !important; color:#f0f0f0 !important; line-height:14px !important; margin:0 0 5px 0; }
214
- div.mp3j-finfo-txt a { }
215
-
216
- .mp3j-nosolution,
217
- .s-nosolution
218
- {
219
- padding:10px 5% 10px 5%;
220
- border:1px solid #c0c0c0;
221
- background:#f0f0f0;
222
- color:#333;
223
- top:4px;
224
- left:4px;
225
- right:4px;
226
- -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
227
- font-size:13px;
228
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
229
- }
230
-
231
-
232
- /* [mp3j] & [mp3t] SHORTCODES
233
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
234
- div.mjp-s-wrapper.s-text { padding:0 0 14px 0; line-height:100% !important; margin:0 !important; }
235
- div.mjp-s-wrapper.s-graphic { padding:0 0 18px 0; line-height:100% !important; margin:0 !important; }
236
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
237
- span.indi_mp3j { position:relative; padding-left:2px; }
238
-
239
- span.T_mp3j span { font-size:0.7em }
240
-
241
- /* BARS */
242
- span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
243
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
244
- /* mp3t */
245
- span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; background:none !important; }
246
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
247
- span.posbar_mp3j .ui-slider-handle { background:url('images/t40b.png') repeat; top:-1px; margin-left:-4px; border:1px solid #555; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
248
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t40b.png') repeat; border-color:#202020; }
249
-
250
- /* mp3j */
251
- span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
252
- span.posbarB_mp3j .ui-widget-header { background:transparent !important; z-index:-500; height:100%; }
253
- span.posbarB_mp3j .ui-slider-handle { background:url('images/t50b.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #555; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
254
- span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50b.png') repeat 0px 0px; border-color:#202020; }
255
-
256
- /* SPAN TRANSPORT */
257
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
258
-
259
-
260
- span.group_wrap { position:relative; width:auto; margin:0px; }
261
- span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
262
- padding:2px 0px 5px 10px; margin:0 5px 0px 5px; background-color:#404040; background-repeat:no-repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; border:0px solid #707070;
263
- }
264
- span.gfxbutton_mp3j.play-mjp { background-position:center center; background-image: url("images/play.png"); }
265
- span.gfxbutton_mp3j.play-mjp:hover { background-color:#303030; }
266
- span.gfxbutton_mp3j.pause-mjp { background-position:center center; background-image: url("images/pause.png"); }
267
- span.gfxbutton_mp3j.pause-mjp:hover { background-color:#303030; }
268
-
269
- /* VOLUMES */
270
- span.vol_mp3t { position:absolute; top:-9px; right:5px; width:90%; max-width:85px; height:3px; border:0 !important; }
271
- span.vol_mp3j { position:absolute; top:-11px; right:11px; width:85%; max-width:82px; height:3px; border:0 !important; }
272
- span.vol_mp3j.flipped { right:4px; }
273
- span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100% !important; -webkit-border-radius: 2px !important; -moz-border-radius: 2px !important; border-radius: 2px !important; background:url('images/volgrad-dark.png') repeat-y -30px top !important; }
274
-
275
- span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
276
- background:#404040 url('images/buttonset-darkplayer-grads8.png') no-repeat -127px -125px;
277
- height:10px !important;
278
- width:10px !important;
279
- padding:0px;
280
- margin-left:-6px;
281
- border:1px solid #505050;
282
- border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
283
- z-index:600;
284
- overflow:hidden !important;
285
- cursor:default;
286
- top:-5px;
287
- }
288
- span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#575757; }
289
- span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#575757; }
290
-
291
- span.Smp3-finding,
292
- span.mp3-gtint {
293
- padding:0px 0px 0px 12px;
294
- overflow:hidden;
295
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
296
- }
297
-
298
- span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
299
- span.mp3-gtint { margin:0px 2px 0px -12px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
300
- span.tintmarg { margin:0 2px 0 3px; }
301
-
302
- span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 12px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
303
-
304
-
305
-
306
- /* [mp3j-popout] SHORTCODE
307
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
308
- .popout-wrap-mjp {
309
- cursor:pointer;
310
- position:relative;
311
- border-width:2px;
312
- border-style:solid;
313
- background:#303030;
314
- padding:0;
315
- border-color:#505050;
316
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
317
- display:inline-block;
318
- }
319
- .popout-wrap-mjp * { margin:0; padding:0; color:#e0e0e0; }
320
- .popout-wrap-mjp:hover * { color:#fff; }
321
- .popout-text-mjp { float:left; padding:0 15px; }
322
- .popout-image-mjp {
323
- float:left;
324
- background-image:url('images/buttonset-darkplayer-grads8.png');
325
- background-repeat:no-repeat;
326
- background-position:-396px -9px;
327
- min-width:32px;
328
- min-height:28px;
329
- margin:0;
330
- }
331
- .popout-image-mjp:hover { background-color:#383838; }
332
-
333
- .popout-image-mjp-custom { float:left; background-repeat:no-repeat; margin:0; padding:0; border:0; }
334
- .clearL-mjp { clear:left; }
335
-
336
-
337
-
338
-
339
- /** ############################################
340
- * Functional CSS, careful with these bits!
341
- * ############################################ */
342
-
343
- /* === */
344
- .wrap-mjp { /* MAIN WRAPPER (default class) */
345
- border: 0;
346
- margin: 0;
347
- background: none;
348
- min-width: 44px;
349
- }
350
- .wrap-mjp, .wrap-mjp * {
351
- -webkit-box-sizing: content-box !important;
352
- -moz-box-sizing: content-box !important;
353
- box-sizing: content-box !important;
354
- }
355
-
356
-
357
- /* === */
358
- .jp-innerwrap,
359
- .listwrap_mp3j,
360
- .wrapper-mjp {
361
- position: relative !important;
362
- width: 100%;
363
- margin: 0;
364
- padding: 0;
365
- cursor: default;
366
- }
367
-
368
- .subwrap-MI { position:relative !important; width:100%; overflow:hidden; margin:0; cursor:default; }
369
- .interface-mjp { position:relative !important; width:100%; margin:0; cursor:default; }
370
-
371
- .subwrap-MI *,
372
- .mjp-s-wrapper {
373
- -moz-user-select: -moz-none;
374
- -khtml-user-select: none;
375
- -webkit-user-select: none;
376
- -ms-user-select: none;
377
- user-select: none;
378
- }
379
-
380
- /* === */
381
- .mp3j-nosolution {
382
- position:absolute;
383
- z-index:9999;
384
- height:auto;
385
- }
386
- .s-nosolution {
387
- position:relative;
388
- display:inline-block;
389
- margin-bottom:20px;
390
- height:auto;
391
- }
392
-
393
- /* ==== */
394
- .wrapper-mjp ul {
395
- position: static; /* needed in some themes */
396
- }
397
- .playlist-colour {
398
- position:absolute;
399
- width:100%;
400
- height:100%;
401
- left:0px;
402
- top:0px;
403
- }
404
-
405
- /* ===== playlist grads ===== */
406
- ul.lighten1-mjp {
407
- background-image: url('images/pl-grad-w.png');
408
- background-position: left 0px;
409
- background-repeat: repeat-x;
410
- }
411
- ul.lighten2-mjp {
412
- background-image: url('images/pl-grad-w-long.png');
413
- background-position: left 0px;
414
- background-repeat: repeat-x;
415
- }
416
- ul.darken1-mjp {
417
- background-image: url('images/pl-grad-b.png');
418
- background-position: left 0px;
419
- background-repeat: repeat-x;
420
- }
421
- ul.darken2-mjp {
422
- background-image: url('images/pl-grad-b-long.png');
423
- background-position: left 0px;
424
- background-repeat: repeat-x;
425
- }
426
-
427
- /* ===== playlist dividers ===== */
428
-
429
- ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom; }
430
- ul.med-mjp li { background:url('images/t50l.png') repeat-x left bottom; }
431
- ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom; }
432
- li.mjp-li-last { background:none !important; }
433
-
434
-
435
- /* ===== posbar grads ===== */
436
- .poscolMI_mp3j.soften-mjp {
437
- background-image: url('images/posbar-lighten.png');
438
- background-position: right top;
439
- background-repeat: repeat-y;
440
- }
441
- .poscolMI_mp3j.softenT-mjp {
442
- background-image: url('images/posbar-pipe.png');
443
- background-position: right -5px;
444
- background-repeat: repeat-x;
445
- }
446
- .poscolMI_mp3j.darken-mjp {
447
- background-image: url('images/posbar-darken.png');
448
- background-position: right top;
449
- background-repeat: repeat-y;
450
- }
451
-
452
- .left-mjp { text-align:left; }
453
- .centre-mjp { text-align:center; }
454
- .right-mjp { text-align: right; }
455
-
456
- .bold-mjp,
457
- .childBold-mjp * { font-weight:700; }
458
-
459
- .norm-mjp,
460
- .childNorm-mjp * { font-weight:500; }
461
-
462
- .italic-mjp,
463
- .childItalic-mjp * { font-style:italic; }
464
-
465
- .plain-mjp,
466
- .childPlain-mjp * { font-style:normal; }
467
-
468
- /* ===== fonts ===== */
469
- .arial-mjp,
470
- ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
471
- .verdana-mjp,
472
- ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
473
- .times-mjp,
474
- ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
475
- .palatino-mjp,
476
- ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
477
- .courier-mjp,
478
- ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
479
- .lucida-mjp,
480
- ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
481
- .gill-mjp,
482
- ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
483
-
484
- .player-track-title,
485
- .player-track-title div,
486
- .a-mjp { line-height: 110% !important; }
487
-
488
- .player-track-title div { font-size:0.7em; }
489
-
490
- .titleHide-mjp { display:none; }
491
-
492
- /* ===== jQuery UI ===== */
493
- .ui-state-disabled { cursor:default !important; }
494
- .ui-slider {
495
- position:relative;
496
- text-align:left;
497
- }
498
- .ui-slider .ui-slider-handle {
499
- position:absolute;
500
- z-index:200;
501
- cursor:default;
502
- }
503
- .ui-slider .ui-slider-range {
504
- position:absolute;
505
- z-index:1;
506
- font-size:.7em;
507
- display:block;
508
- border:0;
509
- }
510
- .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
511
- .ui-slider-horizontal .ui-slider-range-min { left:0; }
512
- .ui-slider-horizontal .ui-slider-range-max { right:0; }
513
- .ui-state-default,
514
- .ui-widget-content .ui-state-default { outline:none; border:0px; }
515
-
516
- /* ===== user style param ===== */
517
- .nolistbutton div.playlist-toggle-MI { display:none; }
518
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
519
- .nopn div.prev-mjp { display:none; }
520
- .nopn div.next-mjp { display:none; }
521
- .nostop div.stop-mjp { display:none; }
522
- .notitle div.player-track-title { display:none; }
523
- div.wrap-mjp.noplayer { display:none; }
524
-
525
- .novol div.mjp-volwrap { display:none; }
526
- .novol div.bars_holder,
527
- .novol div.statusMI { left:0px; right:0px; }
528
- .novol span.vol_mp3t,
529
- .novol span.vol_mp3j { display:none; }
530
-
531
- .fullbars div.bars_holder { left:0px; right:0px; height:auto; top:0px; }
532
- .fullbars div.jp-total-time { bottom:45px; text-align:right; z-index:90; }
533
- .fullbars div.jp-play-time { right:95px; bottom:45px; text-align:right; z-index:90; }
534
- .fullbars div.statusMI { right:12px; left:auto; bottom:43px; padding:2px 0 2px 0; width:80px; height:auto; background:none; z-index:90; }
535
- .fullbars span.mjp-playing, .fullbars span.mjp-paused, .fullbars span.mjp-ready, .fullbars span.mjp-stopped, .fullbars span.mjp-connecting, .fullbars span.mjp-buffering { display:inline; }
536
- .fullbars span.mp3-finding { position:relative; padding:0 4px 0 4px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
537
- .fullbars span.mp3-tint { position:relative; padding:0 4px 0 4px; margin:0 3px 0 -8px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
538
- .fullbars div.mjp-volwrap { bottom:auto; top:0px; right:0px; -webkit-border-bottom-left-radius:2px; -moz-border-radius-bottomleft:2px; border-bottom-left-radius: 2px; }
539
-
540
- .nocase .innerx { display:none; }
541
- .nocase .innertab { border-bottom:0; }
542
- .nocase .transport-MI { right:0; }
543
- .nocase .buttons-wrap-mjp { left:0; }
544
- .nocase .transport-MI div,
545
- .nocase .buttons-wrap-mjp div { -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
546
- .nocase .mjp-volwrap { bottom:42px; border-top:0; }
547
-
548
- .nobars .bars_holder,
549
- .nobars .statusMI { display:none; }
550
-
551
-
552
- div.bigger1 span { font-size:18px !important; }
553
- div.bigger2 span { font-size:23px !important; }
554
- div.bigger3 span { font-size:28px !important; }
555
- div.bigger4 span { font-size:38px !important; }
556
- div.bigger5 span { font-size:48px !important; }
557
-
558
- div.bigger1 .indi_mp3j, div.bigger1 .Smp3-finding, div.bigger1 .mp3-gtint, div.bigger1 .Smp3-tint,
559
- div.bigger2 .indi_mp3j, div.bigger2 .Smp3-finding, div.bigger2 .mp3-gtint, div.bigger2 .Smp3-tint,
560
- div.bigger3 .indi_mp3j, div.bigger3 .Smp3-finding, div.bigger3 .mp3-gtint, div.bigger3 .Smp3-tint,
561
- div.bigger4 .indi_mp3j, div.bigger4 .Smp3-finding, div.bigger4 .mp3-gtint, div.bigger4 .Smp3-tint,
562
- div.bigger5 .indi_mp3j, div.bigger5 .Smp3-finding, div.bigger5 .mp3-gtint, div.bigger5 .Smp3-tint { font-size:70% !important; }
563
-
564
- /* ===== ===== */
565
- div.mp3j-dlframe,
566
- iframe.mp3j-dlframe {
567
- width:1px;
568
- height:1px;
569
- overflow:hidden;
570
- margin:0;
571
- padding:0;
572
- display:none !important;
573
- }
574
-
575
- /* ===== ===== */
576
- .MI-image { position:relative; padding:0; /*overflow:hidden;*/ }
577
- .MI-image img { border:none; padding:0px; width:100%; height:auto; }
578
- .MI-image.Himg img { width:auto; height:100%; }
579
- .MI-image.Fimg img { width:auto; height:auto; }
580
- .MI-image a:hover img { }
581
-
582
- .MI-image.left-mjp { margin:0 auto 0 0; }
583
- .MI-image.centre-mjp { margin: 0 auto; }
584
- .MI-image.right-mjp { margin: 0 0 0 auto; }
585
-
586
- .unsel-mjp {
587
- -moz-user-select: -moz-none;
588
- -khtml-user-select: none;
589
- -webkit-user-select: none;
590
- -ms-user-select: none;
591
- user-select: none;
592
- }
593
-
594
-
 
 
 
 
1
+ /*
2
+ -------------------------------
3
+
4
+ Skin: Dark
5
+ ---
6
+ Plugin: MP3-jPlayer v2
7
+ Package: WordPress
8
+ Desc:
9
+ Info: http://mp3-jplayer.com
10
+
11
+ -------------------------------
12
+ */
13
+
14
+
15
+ /* [mp3-jplayer] SHORTCODE
16
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
17
+ .subwrap-MI { border-width:0px; border-style:solid; padding:0; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
18
+ .jp-innerwrap { background:none; }
19
+ .interface-mjp { padding:0 0 42px 0; min-height:0px; }
20
+
21
+ div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
22
+ div.innerx { left:0px; height:38px; z-index:18; right:0px; bottom:0px; background-color:#303030; border:2px solid #303030;
23
+ /*border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; */
24
+ }
25
+ div.innerleft { display:none; }
26
+ div.innerright { display:none; }
27
+ div.innertab { left:0px; top:0px; right:0px; bottom:42px; }
28
+
29
+ /* PLAYLIST */
30
+ .ul-mjp { margin:0px !important; padding:3px 8px 4px 8px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
31
+ .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
32
+ .li-mjp:before { content:none !important; }
33
+ .a-mjp {
34
+ border:0 !important;
35
+ text-decoration:none !important;
36
+ display:block !important; width:auto !important;
37
+ outline:none !important;
38
+ padding:7px 10px 7px 10px !important;
39
+ text-shadow: none !important;
40
+ }
41
+
42
+ /* SCREEN */
43
+ div.player-track-title { position:absolute; z-index:125; }
44
+ div.player-track-title div { position:relative; }
45
+
46
+ div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; font-size:8px !important; line-height:110%; }
47
+ div.jp-total-time { right:11px; bottom:66px; text-align:left; }
48
+ div.jp-play-time { right:11px; bottom:56px; text-align:right; }
49
+
50
+ div.statusMI { right:112px; left:0px; bottom:42px; height:11px; text-align:left; overflow:hidden;
51
+ background-image: url('images/t40w.png');
52
+ background-repeat: repeat;
53
+ background-position:left top;
54
+ }
55
+ span.mp3-finding {
56
+ position:absolute; top:0; left:0; bottom:0; right:0;
57
+ background:url('images/loader.gif') repeat-x 0px -2px;
58
+ }
59
+ span.mp3-tint { position:absolute; top:0; left:0; bottom:0; right:0; opacity:.3; filter:alpha(opacity=30); }
60
+ span.mjp-playing { display:none; }
61
+ span.mjp-paused { display:none; }
62
+ span.mjp-ready { display:none; }
63
+ span.mjp-stopped { display:none; }
64
+ span.mjp-connecting { display:none; }
65
+ span.mjp-buffering { display:none; }
66
+
67
+
68
+ /* BUTTONS */
69
+ div.transport-MI { position:absolute; width:auto; height:38px; right:2px; bottom:2px; border:0; z-index:22; }
70
+ div.transport-MI div { float:right; cursor:pointer; margin-left:2px; background-image: url("images/buttonset-darkplayer-grads8.png"); background-color:#303030; text-indent:-9999px !important; width:40px; height:38px; }
71
+ div.transport-MI div:hover { background-color:#383838 !important; }
72
+
73
+ div.play-mjp { background-position:-289px -77px; }
74
+ div.pause-mjp { background-position:-243px -77px; }
75
+ div.prev-mjp { background-position:-88px -77px; }
76
+ div.next-mjp { background-position:-145px -77px; }
77
+ div.stop-mjp { background-position:-198px -77px; }
78
+
79
+ .buttons-wrap-mjp { position:absolute; width:auto; height:38px; left:2px; bottom:2px; z-index:20; }
80
+ .buttons-wrap-mjp div {
81
+ float:left;
82
+ height:38px;
83
+ background-image: url("images/buttonset-darkplayer-grads8.png");
84
+ background-color:#303030;
85
+ background-repeat:no-repeat;
86
+ cursor:pointer;
87
+ overflow:hidden;
88
+ color:#f0f0f0;
89
+ text-align:left;
90
+ font-size:70%;
91
+ margin-right:2px;
92
+ }
93
+
94
+ /* Playlist */
95
+ div.playlist-toggle-MI {
96
+ background-position:-44px -79px;
97
+ text-indent:-9999px !important;
98
+ cursor:pointer;
99
+ width:34px;
100
+ }
101
+ div.playlist-toggle-MI:hover { background-color:#383838 !important; }
102
+
103
+ /* Popout */
104
+ div.mp3j-popout-MI {
105
+ background-position:-396px -5px;
106
+ padding:10px 7px 0 27px;
107
+ height:28px;
108
+ min-width:0px;
109
+ font-size:12px;
110
+ line-height: 18px;
111
+ }
112
+ div.mp3j-popout-MI:hover { background-color:#383838 !important; }
113
+
114
+ /* Download */
115
+ div.dloadmp3-MI {
116
+ /*background-position:-395px -98px;*/
117
+ background-position:-395px -49px;
118
+ padding:0;
119
+ height:38px;
120
+ color:#f0f0f0;
121
+ cursor:default;
122
+ min-width:36px;
123
+ line-height: 18px;
124
+ }
125
+ div.dloadmp3-MI * {
126
+ outline:none !important;
127
+ display:block;
128
+ width:auto;
129
+ margin:0px !important;
130
+ background-color:transparent;
131
+ text-decoration:none !important;
132
+ height:100%;
133
+ color:#f0f0f0;
134
+ }
135
+ div.dloadmp3-MI.whilelinks,
136
+ div.dloadmp3-MI.logintext {
137
+ background-position:-395px -49px;
138
+ cursor:pointer;
139
+ background-color:#303030;
140
+ }
141
+ div.dloadmp3-MI.whilelinks:hover { }
142
+ /*
143
+ .dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:hidden; display:none; color:#f0f0f0; font-size:12px; }
144
+ .dloadmp3-MI a:hover { }
145
+ */
146
+ .dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:inherit; color:#f0f0f0; display:block; font-size:12px; }
147
+ .dloadmp3-MI a:hover { color:#fff; display:block; }
148
+
149
+ .dloadmp3-MI.whilelinks a { visibility:inherit; color:#f0f0f0; display:block; }
150
+ .dloadmp3-MI.whilelinks a:hover { color:#fff; display:block; }
151
+ .dloadmp3-MI p { padding:10px 8px 0px 28px !important; visibility:visible; }
152
+
153
+
154
+ /* VOLUME */
155
+ .innerExt1, .innerExt2 {
156
+ position:absolute;
157
+ z-index:150;
158
+ background-image:url('images/buttonset-darkplayer-grads8.png');
159
+ background-repeat:no-repeat;
160
+ top:0px;
161
+ height:10px;
162
+ cursor:pointer;
163
+ }
164
+ .innerExt1 { left:0px; width:28px; background-position:-159px -53px; background-color:#303030; }
165
+ .innerExt1:hover { background-color:#383838; }
166
+ .innerExt2 { display:none; }
167
+
168
+ .vol-muted { background-position:-124px -53px; }
169
+
170
+ div.mjp-volwrap { position:absolute; height:11px; bottom:40px; right:0px; width:108px; background-color:#303030; z-index:140;
171
+ border:2px solid #303030; border-bottom:0px;
172
+ -webkit-border-top-right-radius: 2px; -moz-border-radius-topright: 2px; border-top-right-radius: 2px;
173
+ }
174
+ div.MIsliderVolume, div.MIsliderVolume.ui-widget-content { position:absolute; top:-1px; right:1px; left:28px; height:11px; border:0 !important; font-size:1px; cursor:pointer; z-index:150; }
175
+ div.MIsliderVolume .ui-widget-header { background:transparent url('images/volgrad-light.png') repeat-y 10px top; border-right:1px solid #808080; }
176
+ div.MIsliderVolume .ui-slider-handle { display:none; }
177
+ div.mjp-volwrap:hover .ui-slider-handle, div.MIsliderVolume .ui-slider-handle:hover { display:none; }
178
+ div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { display:none; }
179
+
180
+ /* LOADER AND POS SLIDER */
181
+ div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
182
+ div.bars_holder { position:absolute; right:112px; left:0px; bottom:42px; height:11px; font-size:1px; cursor:default; }
183
+ div.loadMI_mp3j { bottom:0px; z-index:80; }
184
+ div.poscolMI_mp3j { bottom:0px; z-index:85; top:0px; }
185
+ div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
186
+ div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:130; }
187
+ div.posbarMI_mp3j { bottom:0px; width:100%; }
188
+ div.posbarMI_mp3j .ui-slider-handle { top:0px; margin-left:-1px !important; border:0; bottom:0px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
189
+ div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
190
+
191
+ /* MESSAGES */
192
+ div.mp3j-finfo {
193
+ position:absolute;
194
+ top:36px;
195
+ z-index:9999 !important;
196
+ width:80%;
197
+ left:10%;
198
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
199
+ background:#333;
200
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
201
+ padding:0;
202
+ min-height:31px;
203
+ overflow:hidden;
204
+ min-width:170px;
205
+ text-align: left;
206
+ }
207
+
208
+ div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
209
+ div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
210
+ div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader-w.gif') no-repeat center 27px; width:auto; padding:0px; height:100%; }
211
+ div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
212
+ div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
213
+ div.mp3j-finfo-close:hover { color:#ccc !important; }
214
+
215
+ div.mp3j-finfo-txt h2 { font-size:15px !important; color:#f0f0f0 !important; margin:0 0 35px 0 !important; }
216
+ div.mp3j-finfo-txt h3 { font-size:14px !important; color:#f0f0f0 !important; margin:0 0 15px 0 !important; }
217
+ div.mp3j-finfo-txt p { font-size:12px !important; color:#f0f0f0 !important; line-height:14px !important; margin:0 0 5px 0; }
218
+ div.mp3j-finfo-txt a { }
219
+
220
+ .mp3j-nosolution,
221
+ .s-nosolution
222
+ {
223
+ padding:10px 5% 10px 5%;
224
+ border:1px solid #c0c0c0;
225
+ background:#f0f0f0;
226
+ color:#333;
227
+ top:4px;
228
+ left:4px;
229
+ right:4px;
230
+ -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
231
+ font-size:13px;
232
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
233
+ }
234
+
235
+
236
+ /* [mp3j] & [mp3t] SHORTCODES
237
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
238
+ div.mjp-s-wrapper.s-text { padding:0 0 14px 0; line-height:100% !important; margin:0 !important; }
239
+ div.mjp-s-wrapper.s-graphic { padding:0 0 18px 0; line-height:100% !important; margin:0 !important; }
240
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
241
+ span.indi_mp3j { position:relative; padding-left:2px; }
242
+
243
+ span.T_mp3j span { font-size:0.7em }
244
+
245
+ /* BARS */
246
+ span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
247
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
248
+ /* mp3t */
249
+ span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; background:none !important; }
250
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
251
+ span.posbar_mp3j .ui-slider-handle { background:url('images/t40b.png') repeat; top:-1px; margin-left:-4px; border:1px solid #555; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
252
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t40b.png') repeat; border-color:#202020; }
253
+
254
+ /* mp3j */
255
+ span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
256
+ span.posbarB_mp3j .ui-widget-header { background:transparent !important; z-index:-500; height:100%; }
257
+ span.posbarB_mp3j .ui-slider-handle { background:url('images/t50b.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #555; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
258
+ span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50b.png') repeat 0px 0px; border-color:#202020; }
259
+
260
+ /* SPAN TRANSPORT */
261
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
262
+
263
+
264
+ span.group_wrap { position:relative; width:auto; margin:0px; }
265
+ span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
266
+ padding:2px 0px 5px 10px; margin:0 5px 0px 5px; background-color:#404040; background-repeat:no-repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; border:0px solid #707070;
267
+ }
268
+ span.gfxbutton_mp3j.play-mjp { background-position:center center; background-image: url("images/play.png"); }
269
+ span.gfxbutton_mp3j.play-mjp:hover { background-color:#303030; }
270
+ span.gfxbutton_mp3j.pause-mjp { background-position:center center; background-image: url("images/pause.png"); }
271
+ span.gfxbutton_mp3j.pause-mjp:hover { background-color:#303030; }
272
+
273
+ /* VOLUMES */
274
+ span.vol_mp3t { position:absolute; top:-9px; right:5px; width:90%; max-width:85px; height:3px; border:0 !important; }
275
+ span.vol_mp3j { position:absolute; top:-11px; right:11px; width:85%; max-width:82px; height:3px; border:0 !important; }
276
+ span.vol_mp3j.flipped { right:4px; }
277
+ span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100% !important; -webkit-border-radius: 2px !important; -moz-border-radius: 2px !important; border-radius: 2px !important; background:url('images/volgrad-dark.png') repeat-y -30px top !important; }
278
+
279
+ span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
280
+ background:#404040 url('images/buttonset-darkplayer-grads8.png') no-repeat -127px -125px;
281
+ height:10px !important;
282
+ width:10px !important;
283
+ padding:0px;
284
+ margin-left:-6px;
285
+ border:1px solid #505050;
286
+ border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
287
+ z-index:600;
288
+ overflow:hidden !important;
289
+ cursor:default;
290
+ top:-5px;
291
+ }
292
+ span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#575757; }
293
+ span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#575757; }
294
+
295
+ span.Smp3-finding,
296
+ span.mp3-gtint {
297
+ padding:0px 0px 0px 12px;
298
+ overflow:hidden;
299
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
300
+ }
301
+
302
+ span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
303
+ span.mp3-gtint { margin:0px 2px 0px -12px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
304
+ span.tintmarg { margin:0 2px 0 3px; }
305
+
306
+ span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 12px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
307
+
308
+
309
+
310
+ /* [mp3j-popout] SHORTCODE
311
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
312
+ .popout-wrap-mjp {
313
+ cursor:pointer;
314
+ position:relative;
315
+ border-width:2px;
316
+ border-style:solid;
317
+ background:#303030;
318
+ padding:0;
319
+ border-color:#505050;
320
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
321
+ display:inline-block;
322
+ }
323
+ .popout-wrap-mjp * { margin:0; padding:0; color:#e0e0e0; }
324
+ .popout-wrap-mjp:hover * { color:#fff; }
325
+ .popout-text-mjp { float:left; padding:0 15px; }
326
+ .popout-image-mjp {
327
+ float:left;
328
+ background-image:url('images/buttonset-darkplayer-grads8.png');
329
+ background-repeat:no-repeat;
330
+ background-position:-396px -9px;
331
+ min-width:32px;
332
+ min-height:28px;
333
+ margin:0;
334
+ }
335
+ .popout-image-mjp:hover { background-color:#383838; }
336
+
337
+ .popout-image-mjp-custom { float:left; background-repeat:no-repeat; margin:0; padding:0; border:0; }
338
+ .clearL-mjp { clear:left; }
339
+
340
+
341
+
342
+
343
+ /** ############################################
344
+ * Functional CSS, careful with these bits!
345
+ * ############################################ */
346
+
347
+ /* === */
348
+ .wrap-mjp { /* MAIN WRAPPER (default class) */
349
+ border: 0;
350
+ margin: 0;
351
+ background: none;
352
+ min-width: 44px;
353
+ }
354
+ .wrap-mjp, .wrap-mjp * {
355
+ -webkit-box-sizing: content-box !important;
356
+ -moz-box-sizing: content-box !important;
357
+ box-sizing: content-box !important;
358
+ }
359
+
360
+
361
+ /* === */
362
+ .jp-innerwrap,
363
+ .listwrap_mp3j,
364
+ .wrapper-mjp {
365
+ position: relative !important;
366
+ width: 100%;
367
+ margin: 0;
368
+ padding: 0;
369
+ cursor: default;
370
+ }
371
+
372
+ .subwrap-MI { position:relative !important; width:100%; overflow:hidden; margin:0; cursor:default; }
373
+ .interface-mjp { position:relative !important; width:100%; margin:0; cursor:default; }
374
+
375
+ .subwrap-MI *,
376
+ .mjp-s-wrapper {
377
+ -moz-user-select: -moz-none;
378
+ -khtml-user-select: none;
379
+ -webkit-user-select: none;
380
+ -ms-user-select: none;
381
+ user-select: none;
382
+ }
383
+
384
+ /* === */
385
+ .mp3j-nosolution {
386
+ position:absolute;
387
+ z-index:9999;
388
+ height:auto;
389
+ }
390
+ .s-nosolution {
391
+ position:relative;
392
+ display:inline-block;
393
+ margin-bottom:20px;
394
+ height:auto;
395
+ }
396
+
397
+ /* ==== */
398
+ .wrapper-mjp ul {
399
+ position: static; /* needed in some themes */
400
+ }
401
+ .playlist-colour {
402
+ position:absolute;
403
+ width:100%;
404
+ height:100%;
405
+ left:0px;
406
+ top:0px;
407
+ }
408
+
409
+ /* ===== playlist grads ===== */
410
+ ul.lighten1-mjp {
411
+ background-image: url('images/pl-grad-w.png');
412
+ background-position: left 0px;
413
+ background-repeat: repeat-x;
414
+ }
415
+ ul.lighten2-mjp {
416
+ background-image: url('images/pl-grad-w-long.png');
417
+ background-position: left 0px;
418
+ background-repeat: repeat-x;
419
+ }
420
+ ul.darken1-mjp {
421
+ background-image: url('images/pl-grad-b.png');
422
+ background-position: left 0px;
423
+ background-repeat: repeat-x;
424
+ }
425
+ ul.darken2-mjp {
426
+ background-image: url('images/pl-grad-b-long.png');
427
+ background-position: left 0px;
428
+ background-repeat: repeat-x;
429
+ }
430
+
431
+ /* ===== playlist dividers ===== */
432
+
433
+ ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom; }
434
+ ul.med-mjp li { background:url('images/t50l.png') repeat-x left bottom; }
435
+ ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom; }
436
+ li.mjp-li-last { background:none !important; }
437
+
438
+
439
+ /* ===== posbar grads ===== */
440
+ .poscolMI_mp3j.soften-mjp {
441
+ background-image: url('images/posbar-lighten.png');
442
+ background-position: right top;
443
+ background-repeat: repeat-y;
444
+ }
445
+ .poscolMI_mp3j.softenT-mjp {
446
+ background-image: url('images/posbar-pipe.png');
447
+ background-position: right -5px;
448
+ background-repeat: repeat-x;
449
+ }
450
+ .poscolMI_mp3j.darken-mjp {
451
+ background-image: url('images/posbar-darken.png');
452
+ background-position: right top;
453
+ background-repeat: repeat-y;
454
+ }
455
+
456
+ .left-mjp { text-align:left; }
457
+ .centre-mjp { text-align:center; }
458
+ .right-mjp { text-align: right; }
459
+
460
+ .bold-mjp,
461
+ .childBold-mjp * { font-weight:700; }
462
+
463
+ .norm-mjp,
464
+ .childNorm-mjp * { font-weight:500; }
465
+
466
+ .italic-mjp,
467
+ .childItalic-mjp * { font-style:italic; }
468
+
469
+ .plain-mjp,
470
+ .childPlain-mjp * { font-style:normal; }
471
+
472
+ /* ===== fonts ===== */
473
+ .arial-mjp,
474
+ ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
475
+ .verdana-mjp,
476
+ ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
477
+ .times-mjp,
478
+ ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
479
+ .palatino-mjp,
480
+ ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
481
+ .courier-mjp,
482
+ ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
483
+ .lucida-mjp,
484
+ ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
485
+ .gill-mjp,
486
+ ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
487
+
488
+ .player-track-title,
489
+ .player-track-title div,
490
+ .a-mjp { line-height: 110% !important; }
491
+
492
+ .player-track-title div { font-size:0.7em; }
493
+
494
+ .titleHide-mjp { display:none; }
495
+
496
+ /* ===== jQuery UI ===== */
497
+ .ui-state-disabled { cursor:default !important; }
498
+ .ui-slider {
499
+ position:relative;
500
+ text-align:left;
501
+ }
502
+ .ui-slider .ui-slider-handle {
503
+ position:absolute;
504
+ z-index:200;
505
+ cursor:default;
506
+ }
507
+ .ui-slider .ui-slider-range {
508
+ position:absolute;
509
+ z-index:1;
510
+ font-size:.7em;
511
+ display:block;
512
+ border:0;
513
+ }
514
+ .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
515
+ .ui-slider-horizontal .ui-slider-range-min { left:0; }
516
+ .ui-slider-horizontal .ui-slider-range-max { right:0; }
517
+ .ui-state-default,
518
+ .ui-widget-content .ui-state-default { outline:none; border:0px; }
519
+
520
+ /* ===== user style param ===== */
521
+ .nolistbutton div.playlist-toggle-MI { display:none; }
522
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
523
+ .nopn div.prev-mjp { display:none; }
524
+ .nopn div.next-mjp { display:none; }
525
+ .nostop div.stop-mjp { display:none; }
526
+ .notitle div.player-track-title { display:none; }
527
+ div.wrap-mjp.noplayer { display:none; }
528
+
529
+ .novol div.mjp-volwrap { display:none; }
530
+ .novol div.bars_holder,
531
+ .novol div.statusMI { left:0px; right:0px; }
532
+ .novol span.vol_mp3t,
533
+ .novol span.vol_mp3j { display:none; }
534
+
535
+ .fullbars div.bars_holder { left:0px; right:0px; height:auto; top:0px; }
536
+ .fullbars div.jp-total-time { bottom:45px; text-align:right; z-index:90; }
537
+ .fullbars div.jp-play-time { right:95px; bottom:45px; text-align:right; z-index:90; }
538
+ .fullbars div.statusMI { right:12px; left:auto; bottom:43px; padding:2px 0 2px 0; width:80px; height:auto; background:none; z-index:90; }
539
+ .fullbars span.mjp-playing, .fullbars span.mjp-paused, .fullbars span.mjp-ready, .fullbars span.mjp-stopped, .fullbars span.mjp-connecting, .fullbars span.mjp-buffering { display:inline; }
540
+ .fullbars span.mp3-finding { position:relative; padding:0 4px 0 4px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
541
+ .fullbars span.mp3-tint { position:relative; padding:0 4px 0 4px; margin:0 3px 0 -8px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
542
+ .fullbars div.mjp-volwrap { bottom:auto; top:0px; right:0px; -webkit-border-bottom-left-radius:2px; -moz-border-radius-bottomleft:2px; border-bottom-left-radius: 2px; }
543
+
544
+ .nocase .innerx { display:none; }
545
+ .nocase .innertab { border-bottom:0; }
546
+ .nocase .transport-MI { right:0; }
547
+ .nocase .buttons-wrap-mjp { left:0; }
548
+ .nocase .transport-MI div,
549
+ .nocase .buttons-wrap-mjp div { -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
550
+ .nocase .mjp-volwrap { bottom:42px; border-top:0; }
551
+
552
+ .nobars .bars_holder,
553
+ .nobars .statusMI { display:none; }
554
+
555
+
556
+ div.bigger1 span { font-size:18px !important; }
557
+ div.bigger2 span { font-size:23px !important; }
558
+ div.bigger3 span { font-size:28px !important; }
559
+ div.bigger4 span { font-size:38px !important; }
560
+ div.bigger5 span { font-size:48px !important; }
561
+
562
+ div.bigger1 .indi_mp3j, div.bigger1 .Smp3-finding, div.bigger1 .mp3-gtint, div.bigger1 .Smp3-tint,
563
+ div.bigger2 .indi_mp3j, div.bigger2 .Smp3-finding, div.bigger2 .mp3-gtint, div.bigger2 .Smp3-tint,
564
+ div.bigger3 .indi_mp3j, div.bigger3 .Smp3-finding, div.bigger3 .mp3-gtint, div.bigger3 .Smp3-tint,
565
+ div.bigger4 .indi_mp3j, div.bigger4 .Smp3-finding, div.bigger4 .mp3-gtint, div.bigger4 .Smp3-tint,
566
+ div.bigger5 .indi_mp3j, div.bigger5 .Smp3-finding, div.bigger5 .mp3-gtint, div.bigger5 .Smp3-tint { font-size:70% !important; }
567
+
568
+ /* ===== ===== */
569
+ div.mp3j-dlframe,
570
+ iframe.mp3j-dlframe {
571
+ width:1px;
572
+ height:1px;
573
+ overflow:hidden;
574
+ margin:0;
575
+ padding:0;
576
+ display:none !important;
577
+ }
578
+
579
+ /* ===== ===== */
580
+ .MI-image { position:relative; padding:0; /*overflow:hidden;*/ }
581
+ .MI-image img { border:none; padding:0px; width:100%; height:auto; }
582
+ .MI-image.Himg img { width:auto; height:100%; }
583
+ .MI-image.Fimg img { width:auto; height:auto; }
584
+ .MI-image a:hover img { }
585
+
586
+ .MI-image.left-mjp { margin:0 auto 0 0; }
587
+ .MI-image.centre-mjp { margin: 0 auto; }
588
+ .MI-image.right-mjp { margin: 0 0 0 auto; }
589
+
590
+ .unsel-mjp {
591
+ -moz-user-select: -moz-none;
592
+ -khtml-user-select: none;
593
+ -webkit-user-select: none;
594
+ -ms-user-select: none;
595
+ user-select: none;
596
+ }
597
+
598
+
css/light.css CHANGED
@@ -1,590 +1,594 @@
1
- /*
2
- -------------------------------
3
-
4
- Skin: Light
5
- ---
6
- Plugin: MP3-jPlayer v2
7
- Package: WordPress
8
- Desc:
9
- Info: http://mp3-jplayer.com
10
-
11
- -------------------------------
12
- */
13
-
14
-
15
- /* [mp3-jplayer] SHORTCODE
16
- ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
17
- .subwrap-MI { border-width:0px; border-style:solid; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
18
- .jp-innerwrap { background:none; }
19
- .interface-mjp { padding:0px 0 41px 0; min-height:0px; }
20
- .listwrap_mp3j { }
21
-
22
- div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
23
- div.innerx { left:0px; height:39px; right:0px; bottom:0px; background-color:#d9d9d9; border:1px solid #d0d0d0; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:18; }
24
- div.innerleft { display:none; }
25
- div.innerright { display:none; }
26
- div.innertab { left:0px; top:0px; right:0px; bottom:41px; border-bottom:1px solid #f8f8f8; }
27
-
28
- /* PLAYLIST */
29
- .ul-mjp { margin:0px !important; padding:3px 8px 4px 8px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; border-top:1px solid #f0f0f0; }
30
- .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
31
- .li-mjp:before { content:none !important; }
32
- .a-mjp {
33
- border:0 !important;
34
- text-decoration:none !important;
35
- display:block !important; width:auto !important;
36
- outline:none !important;
37
- padding:7px 10px 7px 10px !important;
38
- }
39
-
40
-
41
- /* SCREEN */
42
- div.player-track-title { position:absolute; z-index:125; }
43
- div.player-track-title div { position:relative; }
44
-
45
- div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; font-size:8px !important; line-height:110%; }
46
- div.jp-total-time { right:9px; bottom:65px; text-align:right; }
47
- div.jp-play-time { right:9px; bottom:55px; text-align:right; }
48
-
49
-
50
- div.statusMI { right:109px; left:0px; bottom:41px; height:11px; text-align:left; overflow:hidden;
51
- background-image: url('images/t75e.png');
52
- background-repeat: repeat;
53
- background-position:left top;
54
- border-bottom:1px solid #f8f8f8;
55
- }
56
- span.mp3-finding {
57
- position:absolute; top:0; left:0; bottom:0; right:0;
58
- background:url('images/loader.gif') repeat-x 0px -2px;
59
- }
60
- span.mp3-tint { position:absolute; top:0; left:0; bottom:0; right:0; opacity:.3; filter:alpha(opacity=30); }
61
- span.mjp-playing { display:none; }
62
- span.mjp-paused { display:none; }
63
- span.mjp-ready { display:none; }
64
- span.mjp-stopped { display:none; }
65
- span.mjp-connecting { display:none; }
66
- span.mjp-buffering { display:none; }
67
-
68
-
69
- /* BUTTONS */
70
- div.transport-MI { position:absolute; width:auto; height:38px; right:2px; bottom:2px; border:0; z-index:22; }
71
- div.transport-MI div { float:right; cursor:pointer; margin-left:2px; background-image: url("images/buttonset-lightplayer-grads8.png"); background-color:#d9d9d9; text-indent:-9999px !important; width:40px; height:38px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; }
72
- div.transport-MI div:hover { background-color:#e0e0e0 !important; }
73
- div.play-mjp { background-position:-288px -8px; }
74
- div.pause-mjp { background-position:-243px -8px; }
75
- div.prev-mjp { background-position:-88px -8px; }
76
- div.next-mjp { background-position:-144px -8px; }
77
- div.stop-mjp { background-position:-198px -8px; }
78
-
79
- .buttons-wrap-mjp { position:absolute; width:auto; height:38px; left:2px; bottom:2px; z-index:20; }
80
- .buttons-wrap-mjp div {
81
- float:left;
82
- height:38px;
83
- background-image: url("images/buttonset-lightplayer-grads8.png");
84
- background-color:#d9d9d9;
85
- background-repeat:no-repeat;
86
- cursor:pointer;
87
- overflow:hidden;
88
- color:#505050;
89
- text-align:left;
90
- font-size:70%;
91
- margin-right:2px;
92
- }
93
-
94
- div.playlist-toggle-MI {
95
- background-position:-44px -78px;
96
- text-indent:-9999px !important;
97
- cursor:pointer;
98
- width:34px;
99
- }
100
- div.playlist-toggle-MI:hover { background-color:#e0e0e0 !important; }
101
-
102
- div.mp3j-popout-MI {
103
- background-position:-396px -4px;
104
- padding:10px 7px 0 27px;
105
- height:28px;
106
- min-width:0px;
107
- font-size:12px;
108
- }
109
- div.mp3j-popout-MI:hover { background-color:#e0e0e0 !important; }
110
-
111
- div.dloadmp3-MI {
112
- /* background-position:-395px -97px; */
113
- background-position:-395px -48px;
114
- padding:0;
115
- height:38px;
116
- cursor:default;
117
- min-width:36px;
118
- }
119
- div.dloadmp3-MI * {
120
- outline:none !important;
121
- display:block;
122
- width:auto;
123
- margin:0px !important;
124
- background-color:transparent;
125
- text-decoration:none !important;
126
- height:100%;
127
- color:#505050;
128
-
129
- }
130
- div.dloadmp3-MI.whilelinks,
131
- div.dloadmp3-MI.logintext {
132
- background-position:-395px -48px;
133
- cursor:pointer;
134
- background-color:#d9d9d9;
135
- }
136
- div.dloadmp3-MI.whilelinks:hover { }
137
- /*
138
- .dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:hidden; display:none; color:#505050; font-size:12px; }
139
- .dloadmp3-MI a:hover { }
140
- */
141
- .dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:inherit; color:#505050; display:block; font-size:12px; }
142
- .dloadmp3-MI a:hover { color:#505050; display:block; }
143
-
144
- .dloadmp3-MI.whilelinks a { visibility:inherit; color:#505050; display:block; }
145
- .dloadmp3-MI.whilelinks a:hover { color:#505050; display:block; }
146
- .dloadmp3-MI p { padding:10px 8px 0px 28px !important; visibility:visible; }
147
-
148
-
149
- /* VOLUME */
150
- .innerExt1, .innerExt2 {
151
- position:absolute;
152
- z-index:150;
153
- background-image:url('images/buttonset-lightplayer-grads8.png');
154
- background-repeat:no-repeat;
155
- top:0px;
156
- height:11px;
157
- cursor:pointer;
158
- }
159
- .innerExt1 { left:0px; width:28px; background-position:-88px -52px; background-color:#e0e0e0; }
160
- .innerExt1:hover { background-color:#e8e8e8; }
161
- .innerExt2 { display:none; }
162
-
163
- .vol-muted { background-position:-125px -52px; }
164
-
165
-
166
- div.mjp-volwrap { position:absolute; height:11px; bottom:41px; right:0px; width:108px; background-color:#e0e0e0; z-index:140;
167
- border-left:1px solid #f8f8f8; border-bottom:1px solid #f8f8f8;
168
- }
169
- div.MIsliderVolume, div.MIsliderVolume.ui-widget-content { position:absolute; top:0px; right:1px; left:28px; height:11px; border:0 !important; font-size:1px; cursor:pointer; z-index:150; background:#b0b0b0 !important; }
170
- div.MIsliderVolume .ui-widget-header { background:#e0e0e0 url('images/volgrad-dark.png') repeat-y 35px top !important; border-right:0px solid #d0d0d0 !important; cursor:pointer; background-color:#e0e0e0 !important; }
171
- div.MIsliderVolume .ui-slider-handle { display:none; }
172
- div.mjp-volwrap:hover .ui-slider-handle, div.MIsliderVolume .ui-slider-handle:hover { display:none; }
173
- div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { display:none; }
174
-
175
- /* LOADER AND POS SLIDER */
176
- div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
177
- div.bars_holder { position:absolute; right:109px; left:0px; bottom:42px; height:11px; font-size:1px; cursor:default; }
178
- div.loadMI_mp3j { bottom:0px; z-index:80; }
179
- div.poscolMI_mp3j { bottom:0px; z-index:85; top:0px; }
180
- div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
181
- div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:130; }
182
- div.posbarMI_mp3j { bottom:0px; width:100%; }
183
- div.posbarMI_mp3j .ui-slider-handle { top:0px; margin-left:-1px !important; border:0; bottom:0px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
184
- div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
185
-
186
-
187
-
188
- /* MESSAGES */
189
- div.mp3j-finfo {
190
- position:absolute;
191
- top:36px;
192
- z-index:9999 !important;
193
- width:80%;
194
- left:10%;
195
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
196
- background:#fff;
197
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
198
- padding:0;
199
- min-height:31px;
200
- overflow:hidden;
201
- min-width:170px;
202
- }
203
-
204
- div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
205
- div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
206
- div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/spinner.gif') no-repeat center 27px; width:auto; padding:0px; height:100%; }
207
- div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
208
- div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
209
- div.mp3j-finfo-close:hover { color:#888 !important; }
210
-
211
- div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 35px 0 !important; }
212
- div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
213
- div.mp3j-finfo-txt p { font-size:12px !important; color:#555 !important; line-height:14px !important; margin:0 0 5px 0; }
214
- div.mp3j-finfo-txt a { }
215
-
216
- .mp3j-nosolution,
217
- .s-nosolution
218
- {
219
- padding:10px 5% 10px 5%;
220
- border:1px solid #c0c0c0;
221
- background:#f0f0f0;
222
- color:#333;
223
- top:4px;
224
- left:4px;
225
- right:4px;
226
- -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
227
- font-size:13px;
228
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
229
- }
230
-
231
-
232
- /* [mp3j] & [mp3t] SHORTCODES
233
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
234
- div.mjp-s-wrapper.s-text { padding:0 0 14px 0; line-height:100% !important; margin:0 !important; }
235
- div.mjp-s-wrapper.s-graphic { padding:0 0 18px 0; line-height:100% !important; margin:0 !important; }
236
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
237
- span.indi_mp3j { position:relative; padding-left:2px; }
238
-
239
- span.T_mp3j span { font-size:0.7em }
240
-
241
- /* BARS */
242
- span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
243
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
244
- /* mp3t */
245
- span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; background:none !important; }
246
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
247
- span.posbar_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat; top:-1px; margin-left:-4px; border:1px solid #aaa; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
248
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat; border-color:#888; }
249
-
250
- /* mp3j */
251
- span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
252
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-500; height:100%; }
253
- span.posbarB_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #aaa; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
254
- span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat 0px 0px; border-color:#888; }
255
-
256
- /* SPAN TRANSPORT */
257
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
258
- span.group_wrap { position:relative; width:auto; margin:0px; }
259
- span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
260
- padding:1px 0px 4px 8px; margin:0 5px 0px 5px; background-color:#d9d9d9; background-repeat:no-repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; border:1px solid #ccc;
261
- }
262
- span.gfxbutton_mp3j.play-mjp { background-position:center center; background-image: url("images/play3.png"); }
263
- span.gfxbutton_mp3j.play-mjp:hover { background-color:#e0e0e0; }
264
- span.gfxbutton_mp3j.pause-mjp { background-position:center center; background-image: url("images/pause3.png"); }
265
- span.gfxbutton_mp3j.pause-mjp:hover { background-color:#e0e0e0; }
266
-
267
- /* VOLUMES */
268
- span.vol_mp3t { position:absolute; top:-9px; right:5px; width:90%; max-width:85px; height:3px; border:0 !important; }
269
- span.vol_mp3j { position:absolute; top:-11px; right:11px; width:85%; max-width:82px; height:3px; border:0 !important; }
270
- span.vol_mp3j.flipped { right:4px; }
271
- span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; background:url('images/volgrad-dark.png') repeat-y 10px top; }
272
-
273
- span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
274
- background:#d0d0d0 url('images/buttonset-lightplayer-grads8.png') no-repeat -127px -125px;
275
- height:10px;
276
- width:10px !important;
277
- padding:0px; margin-left:-6px;
278
- border:1px solid #c6c6c6 !important;
279
- border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
280
- z-index:600;
281
- overflow:hidden !important;
282
- cursor:default;
283
- top:-5px;
284
- }
285
- span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#e0e0e0; }
286
- span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#e0e0e0; }
287
-
288
- span.Smp3-finding,
289
- span.mp3-gtint {
290
- padding:0px 0px 0px 12px;
291
- overflow:hidden;
292
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
293
- }
294
- span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
295
- span.mp3-gtint { margin:0px 2px 0px -12px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
296
- span.tintmarg { margin:0 2px 0 3px; }
297
- span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 12px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
298
-
299
-
300
- /* [mp3j-popout] SHORTCODE
301
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
302
- .popout-wrap-mjp {
303
- cursor:pointer;
304
- position:relative;
305
- border-width:1px;
306
- border-style:solid;
307
- background:#d9d9d9;
308
- padding:0;
309
- border-color:#ccc;
310
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
311
- display:inline-block;
312
- }
313
- .popout-wrap-mjp * { margin:0; padding:0; color:#404040; }
314
- .popout-wrap-mjp:hover * { color:#606060; }
315
- .popout-text-mjp { float:left; padding:0 15px; }
316
- .popout-image-mjp {
317
- float:left;
318
- background-image:url('images/buttonset-lightplayer-grads8.png');
319
- background-repeat:no-repeat;
320
- background-position:-396px -9px;
321
- min-width:32px;
322
- min-height:28px;
323
- margin:0;
324
- }
325
- .popout-image-mjp:hover { background-color:#d0d0d0; }
326
- .popout-image-mjp-custom { float:left; background-repeat:no-repeat; margin:0; padding:0; border:0; }
327
- .clearL-mjp { clear:left; }
328
-
329
-
330
-
331
- /** ############################################
332
- * Functional CSS, careful with these bits!
333
- * ############################################ */
334
-
335
- /* === */
336
- .wrap-mjp { /* MAIN WRAPPER (default class) */
337
- border: 0;
338
- margin: 0;
339
- background: none;
340
- min-width: 80px;
341
- }
342
- .wrap-mjp, .wrap-mjp * {
343
- -webkit-box-sizing: content-box !important;
344
- -moz-box-sizing: content-box !important;
345
- box-sizing: content-box !important;
346
- }
347
-
348
- /* === */
349
- .subwrap-MI,
350
- .jp-innerwrap,
351
- .listwrap_mp3j,
352
- .wrapper-mjp {
353
- position: relative !important;
354
- width: 100%;
355
- margin: 0;
356
- padding: 0;
357
- cursor: default;
358
- }
359
-
360
- .subwrap-MI { overflow: hidden; }
361
- .interface-mjp { position:relative !important; width:100%; margin:0; cursor:default; }
362
-
363
- .subwrap-MI *,
364
- .mjp-s-wrapper {
365
- -moz-user-select: -moz-none;
366
- -khtml-user-select: none;
367
- -webkit-user-select: none;
368
- -ms-user-select: none;
369
- user-select: none;
370
- }
371
-
372
- /* ===== ===== */
373
- .mp3j-nosolution {
374
- position:absolute;
375
- z-index:9999;
376
- height:auto;
377
- }
378
- .s-nosolution {
379
- position:relative;
380
- display:inline-block;
381
- margin-bottom:20px;
382
- height:auto;
383
- }
384
-
385
- /* ===== ===== */
386
- .wrapper-mjp ul {
387
- position: static; /* needed in some themes */
388
- }
389
- .playlist-colour {
390
- position:absolute;
391
- width:100%;
392
- height:100%;
393
- left:0px;
394
- top:0px;
395
- }
396
-
397
- /* ===== playlist grads ===== */
398
- ul.lighten1-mjp {
399
- background-image: url('images/pl-grad-w.png');
400
- background-position: left 0px;
401
- background-repeat: repeat-x;
402
- }
403
- ul.lighten2-mjp {
404
- background-image: url('images/pl-grad-w-long.png');
405
- background-position: left 0px;
406
- background-repeat: repeat-x;
407
- }
408
- ul.darken1-mjp {
409
- background-image: url('images/pl-grad-b.png');
410
- background-position: left 0px;
411
- background-repeat: repeat-x;
412
- }
413
- ul.darken2-mjp {
414
- background-image: url('images/pl-grad-b-long.png');
415
- background-position: left 0px;
416
- background-repeat: repeat-x;
417
- }
418
-
419
- /* ===== playlist dividers ===== */
420
-
421
- ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom; }
422
- ul.med-mjp li { background:url('images/t50l.png') repeat-x left bottom; }
423
- ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom; }
424
- li.mjp-li-last { background:none !important; }
425
-
426
-
427
- /* ===== posbar grads ===== */
428
- .poscolMI_mp3j.soften-mjp {
429
- background-image: url('images/posbar-lighten.png');
430
- background-position: right top;
431
- background-repeat: repeat-y;
432
- }
433
- .poscolMI_mp3j.softenT-mjp {
434
- background-image: url('images/posbar-pipe.png');
435
- background-position: right -5px;
436
- background-repeat: repeat-x;
437
- }
438
- .poscolMI_mp3j.darken-mjp {
439
- background-image: url('images/posbar-darken.png');
440
- background-position: right top;
441
- background-repeat: repeat-y;
442
- }
443
-
444
-
445
- .left-mjp { text-align:left; }
446
- .centre-mjp { text-align:center; }
447
- .right-mjp { text-align: right; }
448
-
449
- .bold-mjp,
450
- .childBold-mjp * { font-weight:700; }
451
-
452
- .norm-mjp,
453
- .childNorm-mjp * { font-weight:500; }
454
-
455
- .italic-mjp,
456
- .childItalic-mjp * { font-style:italic; }
457
-
458
- .plain-mjp,
459
- .childPlain-mjp * { font-style:normal; }
460
-
461
-
462
- /* ===== fonts ===== */
463
- .arial-mjp,
464
- ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
465
- .verdana-mjp,
466
- ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
467
- .times-mjp,
468
- ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
469
- .palatino-mjp,
470
- ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
471
- .courier-mjp,
472
- ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
473
- .lucida-mjp,
474
- ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
475
- .gill-mjp,
476
- ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
477
-
478
- .player-track-title,
479
- .player-track-title div,
480
- .a-mjp { line-height: 110% !important; }
481
-
482
- .player-track-title div { font-size:0.7em; }
483
-
484
- .titleHide-mjp { display:none; }
485
-
486
-
487
- /* ===== jQuery UI ===== */
488
- .ui-state-disabled { cursor:default !important; }
489
- .ui-slider {
490
- position:relative;
491
- text-align:left;
492
- }
493
- .ui-slider .ui-slider-handle {
494
- position:absolute;
495
- z-index:200;
496
- cursor:default;
497
- }
498
- .ui-slider .ui-slider-range {
499
- position:absolute;
500
- z-index:1;
501
- font-size:.7em;
502
- display:block;
503
- border:0;
504
- }
505
- .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
506
- .ui-slider-horizontal .ui-slider-range-min { left:0; }
507
- .ui-slider-horizontal .ui-slider-range-max { right:0; }
508
- .ui-state-default,
509
- .ui-widget-content .ui-state-default { outline:none; border:0px; }
510
-
511
- /* ===== user style param ===== */
512
- .nolistbutton div.playlist-toggle-MI { display:none; }
513
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
514
- .nopn div.prev-mjp { display:none; }
515
- .nopn div.next-mjp { display:none; }
516
- .nostop div.stop-mjp { display:none; }
517
- .notitle div.player-track-title { display:none; }
518
- div.wrap-mjp.noplayer { display:none; }
519
-
520
- .novol div.mjp-volwrap { display:none; }
521
- .novol div.bars_holder,
522
- .novol div.statusMI { left:0px; right:0px; }
523
- .novol span.vol_mp3t,
524
- .novol span.vol_mp3j { display:none; }
525
-
526
- .fullbars div.bars_holder { left:0px; right:0px; height:auto; top:0px; bottom:41px; }
527
- .fullbars div.jp-total-time { bottom:44px; text-align:right; z-index:90; }
528
- .fullbars div.jp-play-time { right:95px; bottom:44px; text-align:right; z-index:90; }
529
- .fullbars div.statusMI { right:12px; left:auto; bottom:42px; padding:2px 0 2px 0; width:80px; height:auto; background:none; z-index:90; border:none; }
530
- .fullbars span.mjp-playing, .fullbars span.mjp-paused, .fullbars span.mjp-ready, .fullbars span.mjp-stopped, .fullbars span.mjp-connecting, .fullbars span.mjp-buffering { display:inline; }
531
- div.fullbars span.mp3-finding { position:relative; padding:0 4px 0 4px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
532
- div.fullbars span.mp3-tint { position:relative; padding:0 4px 0 4px; margin:0 3px 0 -8px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
533
- .fullbars div.mjp-volwrap { bottom:auto; top:0px; right:0px; -webkit-border-bottom-left-radius:2px; -moz-border-radius-bottomleft:2px; border-bottom-left-radius: 2px; }
534
-
535
-
536
- div.bigger1 span { font-size:18px !important; }
537
- div.bigger2 span { font-size:23px !important; }
538
- div.bigger3 span { font-size:28px !important; }
539
- div.bigger4 span { font-size:38px !important; }
540
- div.bigger5 span { font-size:48px !important; }
541
-
542
- div.bigger1 .indi_mp3j, div.bigger1 .Smp3-finding, div.bigger1 .mp3-gtint, div.bigger1 .Smp3-tint,
543
- div.bigger2 .indi_mp3j, div.bigger2 .Smp3-finding, div.bigger2 .mp3-gtint, div.bigger2 .Smp3-tint,
544
- div.bigger3 .indi_mp3j, div.bigger3 .Smp3-finding, div.bigger3 .mp3-gtint, div.bigger3 .Smp3-tint,
545
- div.bigger4 .indi_mp3j, div.bigger4 .Smp3-finding, div.bigger4 .mp3-gtint, div.bigger4 .Smp3-tint,
546
- div.bigger5 .indi_mp3j, div.bigger5 .Smp3-finding, div.bigger5 .mp3-gtint, div.bigger5 .Smp3-tint { font-size:70% !important; }
547
-
548
- .nocase .innerx { display:none; }
549
- .nocase .innertab,
550
- .nocase .statusMI { border-bottom:0; bottom:42px; }
551
- .nocase .transport-MI { right:0; }
552
- .nocase .buttons-wrap-mjp { left:0; }
553
- .nocase .transport-MI div,
554
- .nocase .buttons-wrap-mjp div { -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
555
- .nocase .mjp-volwrap { bottom:42px; border:0; }
556
-
557
- .nobars .bars_holder,
558
- .nobars .statusMI { display:none; }
559
-
560
- /* ===== ===== */
561
- div.mp3j-dlframe,
562
- iframe.mp3j-dlframe {
563
- width:1px;
564
- height:1px;
565
- overflow:hidden;
566
- margin:0;
567
- padding:0;
568
- display:none !important;
569
- }
570
-
571
- /* ===== ===== */
572
- .MI-image { position:relative; padding:0px 0 0 0; /*overflow:hidden;*/ }
573
- .MI-image img { border:none; padding:0px; width:100%; height:auto; }
574
- .MI-image.Himg img { width:auto; height:100%; }
575
- .MI-image.Fimg img { width:auto; height:auto; }
576
- .MI-image a:hover img { }
577
-
578
- .MI-image.left-mjp { margin:0 auto 0 0; }
579
- .MI-image.centre-mjp { margin: 0 auto; }
580
- .MI-image.right-mjp { margin: 0 0 0 auto; }
581
-
582
-
583
- .unsel-mjp {
584
- -moz-user-select: -moz-none;
585
- -khtml-user-select: none;
586
- -webkit-user-select: none;
587
- -ms-user-select: none;
588
- user-select: none;
589
- }
590
-
 
 
 
 
1
+ /*
2
+ -------------------------------
3
+
4
+ Skin: Light
5
+ ---
6
+ Plugin: MP3-jPlayer v2
7
+ Package: WordPress
8
+ Desc:
9
+ Info: http://mp3-jplayer.com
10
+
11
+ -------------------------------
12
+ */
13
+
14
+
15
+ /* [mp3-jplayer] SHORTCODE
16
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
17
+ .subwrap-MI { border-width:0px; border-style:solid; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
18
+ .jp-innerwrap { background:none; }
19
+ .interface-mjp { padding:0px 0 41px 0; min-height:0px; }
20
+ .listwrap_mp3j { }
21
+
22
+ div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
23
+ div.innerx { left:0px; height:39px; right:0px; bottom:0px; background-color:#d9d9d9; border:1px solid #d0d0d0; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; z-index:18; }
24
+ div.innerleft { display:none; }
25
+ div.innerright { display:none; }
26
+ div.innertab { left:0px; top:0px; right:0px; bottom:41px; border-bottom:1px solid #f8f8f8; }
27
+
28
+ /* PLAYLIST */
29
+ .ul-mjp { margin:0px !important; padding:3px 8px 4px 8px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; border-top:1px solid #f0f0f0; }
30
+ .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
31
+ .li-mjp:before { content:none !important; }
32
+ .a-mjp {
33
+ border:0 !important;
34
+ text-decoration:none !important;
35
+ display:block !important; width:auto !important;
36
+ outline:none !important;
37
+ padding:7px 10px 7px 10px !important;
38
+ text-shadow: none !important;
39
+ }
40
+
41
+
42
+ /* SCREEN */
43
+ div.player-track-title { position:absolute; z-index:125; }
44
+ div.player-track-title div { position:relative; }
45
+
46
+ div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; font-size:8px !important; line-height:110%; }
47
+ div.jp-total-time { right:9px; bottom:65px; text-align:right; }
48
+ div.jp-play-time { right:9px; bottom:55px; text-align:right; }
49
+
50
+
51
+ div.statusMI { right:109px; left:0px; bottom:41px; height:11px; text-align:left; overflow:hidden;
52
+ background-image: url('images/t75e.png');
53
+ background-repeat: repeat;
54
+ background-position:left top;
55
+ border-bottom:1px solid #f8f8f8;
56
+ }
57
+ span.mp3-finding {
58
+ position:absolute; top:0; left:0; bottom:0; right:0;
59
+ background:url('images/loader.gif') repeat-x 0px -2px;
60
+ }
61
+ span.mp3-tint { position:absolute; top:0; left:0; bottom:0; right:0; opacity:.3; filter:alpha(opacity=30); }
62
+ span.mjp-playing { display:none; }
63
+ span.mjp-paused { display:none; }
64
+ span.mjp-ready { display:none; }
65
+ span.mjp-stopped { display:none; }
66
+ span.mjp-connecting { display:none; }
67
+ span.mjp-buffering { display:none; }
68
+
69
+
70
+ /* BUTTONS */
71
+ div.transport-MI { position:absolute; width:auto; height:38px; right:2px; bottom:2px; border:0; z-index:22; }
72
+ div.transport-MI div { float:right; cursor:pointer; margin-left:2px; background-image: url("images/buttonset-lightplayer-grads8.png"); background-color:#d9d9d9; text-indent:-9999px !important; width:40px; height:38px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; }
73
+ div.transport-MI div:hover { background-color:#e0e0e0 !important; }
74
+ div.play-mjp { background-position:-288px -8px; }
75
+ div.pause-mjp { background-position:-243px -8px; }
76
+ div.prev-mjp { background-position:-88px -8px; }
77
+ div.next-mjp { background-position:-144px -8px; }
78
+ div.stop-mjp { background-position:-198px -8px; }
79
+
80
+ .buttons-wrap-mjp { position:absolute; width:auto; height:38px; left:2px; bottom:2px; z-index:20; }
81
+ .buttons-wrap-mjp div {
82
+ float:left;
83
+ height:38px;
84
+ background-image: url("images/buttonset-lightplayer-grads8.png");
85
+ background-color:#d9d9d9;
86
+ background-repeat:no-repeat;
87
+ cursor:pointer;
88
+ overflow:hidden;
89
+ color:#505050;
90
+ text-align:left;
91
+ font-size:70%;
92
+ margin-right:2px;
93
+ }
94
+
95
+ div.playlist-toggle-MI {
96
+ background-position:-44px -78px;
97
+ text-indent:-9999px !important;
98
+ cursor:pointer;
99
+ width:34px;
100
+ }
101
+ div.playlist-toggle-MI:hover { background-color:#e0e0e0 !important; }
102
+
103
+ div.mp3j-popout-MI {
104
+ background-position:-396px -4px;
105
+ padding:10px 7px 0 27px;
106
+ height:28px;
107
+ min-width:0px;
108
+ font-size:12px;
109
+ line-height: 18px;
110
+ }
111
+ div.mp3j-popout-MI:hover { background-color:#e0e0e0 !important; }
112
+
113
+ div.dloadmp3-MI {
114
+ /* background-position:-395px -97px; */
115
+ background-position:-395px -48px;
116
+ padding:0;
117
+ height:38px;
118
+ cursor:default;
119
+ min-width:36px;
120
+ line-height: 18px;
121
+ }
122
+ div.dloadmp3-MI * {
123
+ outline:none !important;
124
+ display:block;
125
+ width:auto;
126
+ margin:0px !important;
127
+ background-color:transparent;
128
+ text-decoration:none !important;
129
+ height:100%;
130
+ color:#505050;
131
+
132
+ }
133
+ div.dloadmp3-MI.whilelinks,
134
+ div.dloadmp3-MI.logintext {
135
+ background-position:-395px -48px;
136
+ cursor:pointer;
137
+ background-color:#d9d9d9;
138
+ }
139
+ div.dloadmp3-MI.whilelinks:hover { }
140
+ /*
141
+ .dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:hidden; display:none; color:#505050; font-size:12px; }
142
+ .dloadmp3-MI a:hover { }
143
+ */
144
+ .dloadmp3-MI a { padding:10px 8px 0px 28px !important; visibility:inherit; color:#505050; display:block; font-size:12px; }
145
+ .dloadmp3-MI a:hover { color:#505050; display:block; }
146
+
147
+ .dloadmp3-MI.whilelinks a { visibility:inherit; color:#505050; display:block; }
148
+ .dloadmp3-MI.whilelinks a:hover { color:#505050; display:block; }
149
+ .dloadmp3-MI p { padding:10px 8px 0px 28px !important; visibility:visible; }
150
+
151
+
152
+ /* VOLUME */
153
+ .innerExt1, .innerExt2 {
154
+ position:absolute;
155
+ z-index:150;
156
+ background-image:url('images/buttonset-lightplayer-grads8.png');
157
+ background-repeat:no-repeat;
158
+ top:0px;
159
+ height:11px;
160
+ cursor:pointer;
161
+ }
162
+ .innerExt1 { left:0px; width:28px; background-position:-88px -52px; background-color:#e0e0e0; }
163
+ .innerExt1:hover { background-color:#e8e8e8; }
164
+ .innerExt2 { display:none; }
165
+
166
+ .vol-muted { background-position:-125px -52px; }
167
+
168
+
169
+ div.mjp-volwrap { position:absolute; height:11px; bottom:41px; right:0px; width:108px; background-color:#e0e0e0; z-index:140;
170
+ border-left:1px solid #f8f8f8; border-bottom:1px solid #f8f8f8;
171
+ }
172
+ div.MIsliderVolume, div.MIsliderVolume.ui-widget-content { position:absolute; top:0px; right:1px; left:28px; height:11px; border:0 !important; font-size:1px; cursor:pointer; z-index:150; background:#b0b0b0 !important; }
173
+ div.MIsliderVolume .ui-widget-header { background:#e0e0e0 url('images/volgrad-dark.png') repeat-y 35px top !important; border-right:0px solid #d0d0d0 !important; cursor:pointer; background-color:#e0e0e0 !important; }
174
+ div.MIsliderVolume .ui-slider-handle { display:none; }
175
+ div.mjp-volwrap:hover .ui-slider-handle, div.MIsliderVolume .ui-slider-handle:hover { display:none; }
176
+ div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { display:none; }
177
+
178
+ /* LOADER AND POS SLIDER */
179
+ div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
180
+ div.bars_holder { position:absolute; right:109px; left:0px; bottom:42px; height:11px; font-size:1px; cursor:default; }
181
+ div.loadMI_mp3j { bottom:0px; z-index:80; }
182
+ div.poscolMI_mp3j { bottom:0px; z-index:85; top:0px; }
183
+ div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
184
+ div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:130; }
185
+ div.posbarMI_mp3j { bottom:0px; width:100%; }
186
+ div.posbarMI_mp3j .ui-slider-handle { top:0px; margin-left:-1px !important; border:0; bottom:0px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
187
+ div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
188
+
189
+
190
+
191
+ /* MESSAGES */
192
+ div.mp3j-finfo {
193
+ position:absolute;
194
+ top:36px;
195
+ z-index:9999 !important;
196
+ width:80%;
197
+ left:10%;
198
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
199
+ background:#fff;
200
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
201
+ padding:0;
202
+ min-height:31px;
203
+ overflow:hidden;
204
+ min-width:170px;
205
+ text-align: left;
206
+ }
207
+
208
+ div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
209
+ div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
210
+ div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/spinner.gif') no-repeat center 27px; width:auto; padding:0px; height:100%; }
211
+ div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
212
+ div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
213
+ div.mp3j-finfo-close:hover { color:#888 !important; }
214
+
215
+ div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 35px 0 !important; }
216
+ div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
217
+ div.mp3j-finfo-txt p { font-size:12px !important; color:#555 !important; line-height:14px !important; margin:0 0 5px 0; }
218
+ div.mp3j-finfo-txt a { }
219
+
220
+ .mp3j-nosolution,
221
+ .s-nosolution
222
+ {
223
+ padding:10px 5% 10px 5%;
224
+ border:1px solid #c0c0c0;
225
+ background:#f0f0f0;
226
+ color:#333;
227
+ top:4px;
228
+ left:4px;
229
+ right:4px;
230
+ -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
231
+ font-size:13px;
232
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
233
+ }
234
+
235
+
236
+ /* [mp3j] & [mp3t] SHORTCODES
237
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
238
+ div.mjp-s-wrapper.s-text { padding:0 0 14px 0; line-height:100% !important; margin:0 !important; }
239
+ div.mjp-s-wrapper.s-graphic { padding:0 0 18px 0; line-height:100% !important; margin:0 !important; }
240
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
241
+ span.indi_mp3j { position:relative; padding-left:2px; }
242
+
243
+ span.T_mp3j span { font-size:0.7em }
244
+
245
+ /* BARS */
246
+ span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
247
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
248
+ /* mp3t */
249
+ span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; background:none !important; }
250
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
251
+ span.posbar_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat; top:-1px; margin-left:-4px; border:1px solid #aaa; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
252
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat; border-color:#888; }
253
+
254
+ /* mp3j */
255
+ span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
256
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-500; height:100%; }
257
+ span.posbarB_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #aaa; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
258
+ span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat 0px 0px; border-color:#888; }
259
+
260
+ /* SPAN TRANSPORT */
261
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
262
+ span.group_wrap { position:relative; width:auto; margin:0px; }
263
+ span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
264
+ padding:1px 0px 4px 8px; margin:0 5px 0px 5px; background-color:#d9d9d9; background-repeat:no-repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; border:1px solid #ccc;
265
+ }
266
+ span.gfxbutton_mp3j.play-mjp { background-position:center center; background-image: url("images/play3.png"); }
267
+ span.gfxbutton_mp3j.play-mjp:hover { background-color:#e0e0e0; }
268
+ span.gfxbutton_mp3j.pause-mjp { background-position:center center; background-image: url("images/pause3.png"); }
269
+ span.gfxbutton_mp3j.pause-mjp:hover { background-color:#e0e0e0; }
270
+
271
+ /* VOLUMES */
272
+ span.vol_mp3t { position:absolute; top:-9px; right:5px; width:90%; max-width:85px; height:3px; border:0 !important; }
273
+ span.vol_mp3j { position:absolute; top:-11px; right:11px; width:85%; max-width:82px; height:3px; border:0 !important; }
274
+ span.vol_mp3j.flipped { right:4px; }
275
+ span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; background:url('images/volgrad-dark.png') repeat-y 10px top; }
276
+
277
+ span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
278
+ background:#d0d0d0 url('images/buttonset-lightplayer-grads8.png') no-repeat -127px -125px;
279
+ height:10px;
280
+ width:10px !important;
281
+ padding:0px; margin-left:-6px;
282
+ border:1px solid #c6c6c6 !important;
283
+ border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
284
+ z-index:600;
285
+ overflow:hidden !important;
286
+ cursor:default;
287
+ top:-5px;
288
+ }
289
+ span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#e0e0e0; }
290
+ span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#e0e0e0; }
291
+
292
+ span.Smp3-finding,
293
+ span.mp3-gtint {
294
+ padding:0px 0px 0px 12px;
295
+ overflow:hidden;
296
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
297
+ }
298
+ span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
299
+ span.mp3-gtint { margin:0px 2px 0px -12px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
300
+ span.tintmarg { margin:0 2px 0 3px; }
301
+ span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 12px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
302
+
303
+
304
+ /* [mp3j-popout] SHORTCODE
305
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
306
+ .popout-wrap-mjp {
307
+ cursor:pointer;
308
+ position:relative;
309
+ border-width:1px;
310
+ border-style:solid;
311
+ background:#d9d9d9;
312
+ padding:0;
313
+ border-color:#ccc;
314
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
315
+ display:inline-block;
316
+ }
317
+ .popout-wrap-mjp * { margin:0; padding:0; color:#404040; }
318
+ .popout-wrap-mjp:hover * { color:#606060; }
319
+ .popout-text-mjp { float:left; padding:0 15px; }
320
+ .popout-image-mjp {
321
+ float:left;
322
+ background-image:url('images/buttonset-lightplayer-grads8.png');
323
+ background-repeat:no-repeat;
324
+ background-position:-396px -9px;
325
+ min-width:32px;
326
+ min-height:28px;
327
+ margin:0;
328
+ }
329
+ .popout-image-mjp:hover { background-color:#d0d0d0; }
330
+ .popout-image-mjp-custom { float:left; background-repeat:no-repeat; margin:0; padding:0; border:0; }
331
+ .clearL-mjp { clear:left; }
332
+
333
+
334
+
335
+ /** ############################################
336
+ * Functional CSS, careful with these bits!
337
+ * ############################################ */
338
+
339
+ /* === */
340
+ .wrap-mjp { /* MAIN WRAPPER (default class) */
341
+ border: 0;
342
+ margin: 0;
343
+ background: none;
344
+ min-width: 80px;
345
+ }
346
+ .wrap-mjp, .wrap-mjp * {
347
+ -webkit-box-sizing: content-box !important;
348
+ -moz-box-sizing: content-box !important;
349
+ box-sizing: content-box !important;
350
+ }
351
+
352
+ /* === */
353
+ .subwrap-MI,
354
+ .jp-innerwrap,
355
+ .listwrap_mp3j,
356
+ .wrapper-mjp {
357
+ position: relative !important;
358
+ width: 100%;
359
+ margin: 0;
360
+ padding: 0;
361
+ cursor: default;
362
+ }
363
+
364
+ .subwrap-MI { overflow: hidden; }
365
+ .interface-mjp { position:relative !important; width:100%; margin:0; cursor:default; }
366
+
367
+ .subwrap-MI *,
368
+ .mjp-s-wrapper {
369
+ -moz-user-select: -moz-none;
370
+ -khtml-user-select: none;
371
+ -webkit-user-select: none;
372
+ -ms-user-select: none;
373
+ user-select: none;
374
+ }
375
+
376
+ /* ===== ===== */
377
+ .mp3j-nosolution {
378
+ position:absolute;
379
+ z-index:9999;
380
+ height:auto;
381
+ }
382
+ .s-nosolution {
383
+ position:relative;
384
+ display:inline-block;
385
+ margin-bottom:20px;
386
+ height:auto;
387
+ }
388
+
389
+ /* ===== ===== */
390
+ .wrapper-mjp ul {
391
+ position: static; /* needed in some themes */
392
+ }
393
+ .playlist-colour {
394
+ position:absolute;
395
+ width:100%;
396
+ height:100%;
397
+ left:0px;
398
+ top:0px;
399
+ }
400
+
401
+ /* ===== playlist grads ===== */
402
+ ul.lighten1-mjp {
403
+ background-image: url('images/pl-grad-w.png');
404
+ background-position: left 0px;
405
+ background-repeat: repeat-x;
406
+ }
407
+ ul.lighten2-mjp {
408
+ background-image: url('images/pl-grad-w-long.png');
409
+ background-position: left 0px;
410
+ background-repeat: repeat-x;
411
+ }
412
+ ul.darken1-mjp {
413
+ background-image: url('images/pl-grad-b.png');
414
+ background-position: left 0px;
415
+ background-repeat: repeat-x;
416
+ }
417
+ ul.darken2-mjp {
418
+ background-image: url('images/pl-grad-b-long.png');
419
+ background-position: left 0px;
420
+ background-repeat: repeat-x;
421
+ }
422
+
423
+ /* ===== playlist dividers ===== */
424
+
425
+ ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom; }
426
+ ul.med-mjp li { background:url('images/t50l.png') repeat-x left bottom; }
427
+ ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom; }
428
+ li.mjp-li-last { background:none !important; }
429
+
430
+
431
+ /* ===== posbar grads ===== */
432
+ .poscolMI_mp3j.soften-mjp {
433
+ background-image: url('images/posbar-lighten.png');
434
+ background-position: right top;
435
+ background-repeat: repeat-y;
436
+ }
437
+ .poscolMI_mp3j.softenT-mjp {
438
+ background-image: url('images/posbar-pipe.png');
439
+ background-position: right -5px;
440
+ background-repeat: repeat-x;
441
+ }
442
+ .poscolMI_mp3j.darken-mjp {
443
+ background-image: url('images/posbar-darken.png');
444
+ background-position: right top;
445
+ background-repeat: repeat-y;
446
+ }
447
+
448
+
449
+ .left-mjp { text-align:left; }
450
+ .centre-mjp { text-align:center; }
451
+ .right-mjp { text-align: right; }
452
+
453
+ .bold-mjp,
454
+ .childBold-mjp * { font-weight:700; }
455
+
456
+ .norm-mjp,
457
+ .childNorm-mjp * { font-weight:500; }
458
+
459
+ .italic-mjp,
460
+ .childItalic-mjp * { font-style:italic; }
461
+
462
+ .plain-mjp,
463
+ .childPlain-mjp * { font-style:normal; }
464
+
465
+
466
+ /* ===== fonts ===== */
467
+ .arial-mjp,
468
+ ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
469
+ .verdana-mjp,
470
+ ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
471
+ .times-mjp,
472
+ ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
473
+ .palatino-mjp,
474
+ ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
475
+ .courier-mjp,
476
+ ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
477
+ .lucida-mjp,
478
+ ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
479
+ .gill-mjp,
480
+ ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
481
+
482
+ .player-track-title,
483
+ .player-track-title div,
484
+ .a-mjp { line-height: 110% !important; }
485
+
486
+ .player-track-title div { font-size:0.7em; }
487
+
488
+ .titleHide-mjp { display:none; }
489
+
490
+
491
+ /* ===== jQuery UI ===== */
492
+ .ui-state-disabled { cursor:default !important; }
493
+ .ui-slider {
494
+ position:relative;
495
+ text-align:left;
496
+ }
497
+ .ui-slider .ui-slider-handle {
498
+ position:absolute;
499
+ z-index:200;
500
+ cursor:default;
501
+ }
502
+ .ui-slider .ui-slider-range {
503
+ position:absolute;
504
+ z-index:1;
505
+ font-size:.7em;
506
+ display:block;
507
+ border:0;
508
+ }
509
+ .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
510
+ .ui-slider-horizontal .ui-slider-range-min { left:0; }
511
+ .ui-slider-horizontal .ui-slider-range-max { right:0; }
512
+ .ui-state-default,
513
+ .ui-widget-content .ui-state-default { outline:none; border:0px; }
514
+
515
+ /* ===== user style param ===== */
516
+ .nolistbutton div.playlist-toggle-MI { display:none; }
517
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
518
+ .nopn div.prev-mjp { display:none; }
519
+ .nopn div.next-mjp { display:none; }
520
+ .nostop div.stop-mjp { display:none; }
521
+ .notitle div.player-track-title { display:none; }
522
+ div.wrap-mjp.noplayer { display:none; }
523
+
524
+ .novol div.mjp-volwrap { display:none; }
525
+ .novol div.bars_holder,
526
+ .novol div.statusMI { left:0px; right:0px; }
527
+ .novol span.vol_mp3t,
528
+ .novol span.vol_mp3j { display:none; }
529
+
530
+ .fullbars div.bars_holder { left:0px; right:0px; height:auto; top:0px; bottom:41px; }
531
+ .fullbars div.jp-total-time { bottom:44px; text-align:right; z-index:90; }
532
+ .fullbars div.jp-play-time { right:95px; bottom:44px; text-align:right; z-index:90; }
533
+ .fullbars div.statusMI { right:12px; left:auto; bottom:42px; padding:2px 0 2px 0; width:80px; height:auto; background:none; z-index:90; border:none; }
534
+ .fullbars span.mjp-playing, .fullbars span.mjp-paused, .fullbars span.mjp-ready, .fullbars span.mjp-stopped, .fullbars span.mjp-connecting, .fullbars span.mjp-buffering { display:inline; }
535
+ div.fullbars span.mp3-finding { position:relative; padding:0 4px 0 4px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
536
+ div.fullbars span.mp3-tint { position:relative; padding:0 4px 0 4px; margin:0 3px 0 -8px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
537
+ .fullbars div.mjp-volwrap { bottom:auto; top:0px; right:0px; -webkit-border-bottom-left-radius:2px; -moz-border-radius-bottomleft:2px; border-bottom-left-radius: 2px; }
538
+
539
+
540
+ div.bigger1 span { font-size:18px !important; }
541
+ div.bigger2 span { font-size:23px !important; }
542
+ div.bigger3 span { font-size:28px !important; }
543
+ div.bigger4 span { font-size:38px !important; }
544
+ div.bigger5 span { font-size:48px !important; }
545
+
546
+ div.bigger1 .indi_mp3j, div.bigger1 .Smp3-finding, div.bigger1 .mp3-gtint, div.bigger1 .Smp3-tint,
547
+ div.bigger2 .indi_mp3j, div.bigger2 .Smp3-finding, div.bigger2 .mp3-gtint, div.bigger2 .Smp3-tint,
548
+ div.bigger3 .indi_mp3j, div.bigger3 .Smp3-finding, div.bigger3 .mp3-gtint, div.bigger3 .Smp3-tint,
549
+ div.bigger4 .indi_mp3j, div.bigger4 .Smp3-finding, div.bigger4 .mp3-gtint, div.bigger4 .Smp3-tint,
550
+ div.bigger5 .indi_mp3j, div.bigger5 .Smp3-finding, div.bigger5 .mp3-gtint, div.bigger5 .Smp3-tint { font-size:70% !important; }
551
+
552
+ .nocase .innerx { display:none; }
553
+ .nocase .innertab,
554
+ .nocase .statusMI { border-bottom:0; bottom:42px; }
555
+ .nocase .transport-MI { right:0; }
556
+ .nocase .buttons-wrap-mjp { left:0; }
557
+ .nocase .transport-MI div,
558
+ .nocase .buttons-wrap-mjp div { -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
559
+ .nocase .mjp-volwrap { bottom:42px; border:0; }
560
+
561
+ .nobars .bars_holder,
562
+ .nobars .statusMI { display:none; }
563
+
564
+ /* ===== ===== */
565
+ div.mp3j-dlframe,
566
+ iframe.mp3j-dlframe {
567
+ width:1px;
568
+ height:1px;
569
+ overflow:hidden;
570
+ margin:0;
571
+ padding:0;
572
+ display:none !important;
573
+ }
574
+
575
+ /* ===== ===== */
576
+ .MI-image { position:relative; padding:0px 0 0 0; /*overflow:hidden;*/ }
577
+ .MI-image img { border:none; padding:0px; width:100%; height:auto; }
578
+ .MI-image.Himg img { width:auto; height:100%; }
579
+ .MI-image.Fimg img { width:auto; height:auto; }
580
+ .MI-image a:hover img { }
581
+
582
+ .MI-image.left-mjp { margin:0 auto 0 0; }
583
+ .MI-image.centre-mjp { margin: 0 auto; }
584
+ .MI-image.right-mjp { margin: 0 0 0 auto; }
585
+
586
+
587
+ .unsel-mjp {
588
+ -moz-user-select: -moz-none;
589
+ -khtml-user-select: none;
590
+ -webkit-user-select: none;
591
+ -ms-user-select: none;
592
+ user-select: none;
593
+ }
594
+
css/text.css CHANGED
@@ -1,558 +1,560 @@
1
- /*
2
- -------------------------------
3
-
4
- Skin: Text
5
- ---
6
- Plugin: MP3-jPlayer v2
7
- Package: WordPress
8
- Desc:
9
- Info: http://mp3-jplayer.com
10
-
11
- -------------------------------
12
- */
13
-
14
-
15
- /* [mp3-jplayer] SHORTCODE
16
- ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
17
- .subwrap-MI { border-width:0px; border-style:solid; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
18
- .jp-innerwrap { background:none; }
19
- .interface-mjp { padding:0px 0 50px 0; min-height:0px; }
20
- .listwrap_mp3j { }
21
-
22
- div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
23
- div.innerx { display:none; }
24
- div.innerleft { display:none; }
25
- div.innerright { display:none; }
26
- div.innertab { left:0px; top:0px; right:0px; bottom:50px; }
27
-
28
- /* PLAYLIST */
29
- .ul-mjp { margin:0px !important; padding:3px 8px 4px 8px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; border:0px; }
30
- .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
31
- .li-mjp:before { content:none !important; }
32
- .a-mjp {
33
- border:0 !important;
34
- text-decoration:none !important;
35
- display:block !important; width:auto !important;
36
- outline:none !important;
37
- padding:7px 10px 7px 10px !important;
38
- }
39
-
40
-
41
- /* SCREEN */
42
- div.player-track-title { position:absolute; z-index:120; }
43
- div.player-track-title div { position:relative; }
44
-
45
- div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; font-size:10px !important; line-height:12px !important; bottom:19px; height:12px; }
46
- div.jp-total-time { display:none; }
47
- div.jp-play-time { left:2px; text-align:left; }
48
-
49
- div.statusMI { left:35px; text-align:left; overflow:hidden; padding-left:1px; opacity:.5; filter:alpha(opacity=50);
50
- }
51
- /*
52
- span.mp3-finding { position:relative; opacity:.3; filter:alpha(opacity=30); padding:0 3px 0 3px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
53
- span.mp3-tint { position:relative; opacity:.3; filter:alpha(opacity=30); padding:0 3px 0 3px; margin:0 3px 0 -6px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
54
- */
55
- span.mp3-finding { position:relative; padding:0 4px 0 4px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
56
- span.mp3-tint { position:relative; padding:0 4px 0 4px; margin:0 3px 0 -8px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
57
-
58
- span.mjp-playing { }
59
- span.mjp-paused { }
60
- span.mjp-ready { }
61
- span.mjp-stopped { }
62
- span.mjp-connecting { }
63
- span.mjp-buffering { }
64
-
65
-
66
-
67
-
68
- /* BUTTONS */
69
- div.transport-MI { position:absolute; width:auto; height:24px; right:2px; bottom:11px; border:0; }
70
- div.transport-MI div { float:right; cursor:pointer; font-weight:700; background:none !important; height:20px; width:auto; margin-left:6px; line-height:18px !important; }
71
- div.play-mjp { font-size:16px; }
72
- div.pause-mjp { font-size:16px; }
73
- div.prev-mjp { font-size:14px; margin-top:1px; }
74
- div.next-mjp { font-size:14px; margin-top:1px; }
75
- div.stop-mjp { font-size:16px; }
76
-
77
-
78
- .buttons-wrap-mjp { position:absolute; width:auto; height:12px; left:1px; bottom:5px; z-index:119; }
79
- .buttons-wrap-mjp div {
80
- position:relative;
81
- float:left;
82
- height:12px;
83
- cursor:pointer;
84
- text-align:left;
85
- font-size:10px;
86
- line-height:12px;
87
- background-color:transparent;
88
- margin-right:10px;
89
- color:inherit;
90
- }
91
- .buttons-wrap-mjp div:hover { }
92
-
93
- div.playlist-toggle-MI {
94
- text-indent:0px !important;
95
- cursor:pointer;
96
- margin-left:2px;
97
- }
98
- div.playlist-toggle-MI:hover { background-color:transparent; }
99
-
100
- div.mp3j-popout-MI { padding:0px 0px 0 0px; }
101
- div.mp3j-popout-MI:hover { background-color:transparent; }
102
-
103
- div.dloadmp3-MI {
104
- padding:0;
105
- cursor:default;
106
- height:12px;
107
- }
108
- div.dloadmp3-MI * {
109
- outline:none !important;
110
- display:block;
111
- width:auto;
112
- margin:0px !important;
113
- background-color:transparent;
114
- text-decoration:none !important;
115
- height:100%;
116
-
117
- }
118
- div.dloadmp3-MI.whilelinks,
119
- div.dloadmp3-MI.logintext {
120
- cursor:pointer;
121
- background-color:transparent;
122
- }
123
- div.dloadmp3-MI.whilelinks:hover { }
124
- /*
125
- .dloadmp3-MI a { padding:0px !important; visibility:hidden; display:none; text-decoration:none !important; }
126
- .dloadmp3-MI a:hover { text-decoration:none !important; }
127
- */
128
- .dloadmp3-MI a { padding:0px !important; visibility:inherit; display:block; text-decoration:none !important; }
129
- .dloadmp3-MI a:hover { text-decoration:none !important; display:block; }
130
-
131
- .dloadmp3-MI.whilelinks a { visibility:inherit; display:block; }
132
- .dloadmp3-MI.whilelinks a:hover { display:block; }
133
- .dloadmp3-MI p { padding:0px !important; visibility:visible; }
134
-
135
-
136
- /* VOLUME */
137
- .innerExt1, .innerExt2 { display:none; }
138
-
139
- div.mjp-volwrap { position:absolute; height:6px; bottom:39px; right:0px; width:102px; z-index:140; background:url('images/t50l.png') repeat left top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
140
- div.MIsliderVolume { position:absolute; top:0px; right:6px; left:0px; height:6px; border:0px; font-size:1px; cursor:pointer; z-index:150; background-color:transparent; }
141
- div.MIsliderVolume .ui-widget-header { background:transparent url('images/volgrad-dark.png') repeat-y 15px top; cursor:pointer; }
142
-
143
- div.MIsliderVolume .ui-slider-handle {
144
- background:#404040 url('images/buttonset-darkplayer-grads8.png') no-repeat -127px -125px;
145
- height:10px;
146
- width:10px !important;
147
- padding:0px; margin-left:-6px;
148
- border:1px solid #505050 !important;
149
- border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
150
- z-index:600;
151
- overflow:hidden !important;
152
- cursor:default;
153
- top:-3px;
154
- }
155
- div.mjp-volwrap:hover .ui-slider-handle, div.MIsliderVolume .ui-slider-handle:hover { background-color:#575757; }
156
- div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { outline:none; background-color:#575757; }
157
-
158
-
159
-
160
- /* LOADER AND POS SLIDER */
161
- div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
162
- div.bars_holder { position:absolute; right:109px; left:0px; bottom:39px; height:6px; font-size:1px; cursor:default; background:url('images/t50l.png') repeat left top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
163
- div.loadMI_mp3j { bottom:0px; z-index:80; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
164
- div.poscolMI_mp3j { bottom:0px; z-index:85; top:0px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
165
- div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
166
- div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:130; }
167
- div.posbarMI_mp3j { bottom:0px; width:100%; }
168
- div.posbarMI_mp3j .ui-slider-handle { top:0px; margin-left:-1px !important; border:0; bottom:0px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
169
- div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
170
-
171
-
172
-
173
- /* MESSAGES */
174
- div.mp3j-finfo {
175
- position:absolute;
176
- top:36px;
177
- z-index:9999 !important;
178
- width:80%;
179
- left:10%;
180
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
181
- background:#fff;
182
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
183
- padding:0;
184
- min-height:31px;
185
- overflow:hidden;
186
- min-width:170px;
187
- }
188
-
189
- div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
190
- div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
191
- div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/spinner.gif') no-repeat center 27px; width:auto; padding:0px; height:100%; }
192
- div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
193
- div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
194
- div.mp3j-finfo-close:hover { color:#888 !important; }
195
-
196
- div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 35px 0 !important; }
197
- div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
198
- div.mp3j-finfo-txt p { font-size:12px !important; color:#555 !important; line-height:14px !important; margin:0 0 5px 0; }
199
- div.mp3j-finfo-txt a { }
200
-
201
- .mp3j-nosolution,
202
- .s-nosolution
203
- {
204
- padding:10px 5% 10px 5%;
205
- border:1px solid #c0c0c0;
206
- background:#f0f0f0;
207
- color:#333;
208
- top:4px;
209
- left:4px;
210
- right:4px;
211
- -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
212
- font-size:13px;
213
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
214
- }
215
-
216
- /* [mp3j] & [mp3t] SHORTCODES
217
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
218
- div.mjp-s-wrapper.s-text { padding:0 0 14px 0; line-height:100% !important; margin:0 !important; }
219
- div.mjp-s-wrapper.s-graphic { padding:0 0 18px 0; line-height:100% !important; margin:0 !important; }
220
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
221
- span.indi_mp3j { position:relative; padding-left:2px; }
222
-
223
- span.T_mp3j span { font-size:0.7em }
224
-
225
- /* BARS */
226
- span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
227
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
228
- /* mp3t */
229
- span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; background:none !important; }
230
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
231
- span.posbar_mp3j .ui-slider-handle { background:none; top:-1px; margin-left:-4px; border:1px solid #aaa; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
232
- span.posbar_mp3j .ui-slider-handle:hover { background:none; border-color:#888; }
233
-
234
- /* mp3j */
235
- span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
236
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-500; height:100%; }
237
- span.posbarB_mp3j .ui-slider-handle { background:none; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #aaa; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
238
- span.posbarB_mp3j .ui-slider-handle:hover { background:none; border-color:#888; }
239
-
240
- /* SPAN TRANSPORT */
241
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
242
- span.group_wrap { position:relative; width:auto; margin:0px; }
243
- span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
244
- padding:1px 0px 4px 8px; margin:0 5px 0px 5px; background-repeat:no-repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; border:1px solid #ccc;
245
- }
246
- span.gfxbutton_mp3j.play-mjp { background-position:center center; background-image: url("images/play3.png"); }
247
- span.gfxbutton_mp3j.play-mjp:hover { }
248
- span.gfxbutton_mp3j.pause-mjp { background-position:center center; background-image: url("images/pause3.png"); }
249
- span.gfxbutton_mp3j.pause-mjp:hover { }
250
-
251
- /* VOLUMES */
252
- span.vol_mp3t { position:absolute; top:-9px; right:5px; width:90%; max-width:85px; height:3px; border:0 !important; }
253
- span.vol_mp3j { position:absolute; top:-11px; right:11px; width:85%; max-width:82px; height:3px; border:0 !important; }
254
- span.vol_mp3j.flipped { right:4px; }
255
- span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; background:url('images/volgrad-dark.png') repeat-y 10px top; }
256
-
257
- span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
258
- background:transparent url('images/buttonset-lightplayer-grads8.png') no-repeat -127px -125px;
259
- height:10px;
260
- width:10px !important;
261
- padding:0px; margin-left:-6px;
262
- border:1px solid #c6c6c6 !important;
263
- border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
264
- z-index:600;
265
- overflow:hidden !important;
266
- cursor:default;
267
- top:-5px;
268
- }
269
- span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:transparent; }
270
- span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:transparent; }
271
-
272
- span.Smp3-finding,
273
- span.mp3-gtint {
274
- padding:0px 0px 0px 12px;
275
- overflow:hidden;
276
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
277
- }
278
- span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
279
- span.mp3-gtint { margin:0px 2px 0px -12px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
280
- span.tintmarg { margin:0 2px 0 3px; }
281
- span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 12px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
282
-
283
-
284
- /* [mp3j-popout] SHORTCODE
285
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
286
- .popout-wrap-mjp {
287
- cursor:pointer;
288
- position:relative;
289
- border-width:0px;
290
- border-style:solid;
291
- padding:0;
292
- border-color:#ccc;
293
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
294
- display:inline-block;
295
- }
296
- .popout-wrap-mjp * { margin:0; padding:0; color:#404040; font-weight:700; }
297
- .popout-wrap-mjp:hover * { color:#606060; font-weight:700; }
298
- .popout-text-mjp { float:left; padding:0 5px; }
299
- .popout-image-mjp {
300
- float:left;
301
- background-image:url('images/buttonset-lightplayer-grads8.png');
302
- background-repeat:no-repeat;
303
- background-position:-396px -9px;
304
- min-width:32px;
305
- min-height:28px;
306
- margin:0;
307
- }
308
- .popout-image-mjp:hover { }
309
- .popout-image-mjp-custom { float:left; background-repeat:no-repeat; margin:0; padding:0; border:0; }
310
- .clearL-mjp { clear:left; }
311
-
312
-
313
-
314
- /** ############################################
315
- * Functional CSS, careful with these bits!
316
- * ############################################ */
317
-
318
- /* === */
319
- .wrap-mjp { /* MAIN WRAPPER (default class) */
320
- border: 0;
321
- margin: 0;
322
- background: none;
323
- min-width: 116px;
324
- }
325
- .wrap-mjp, .wrap-mjp * {
326
- -webkit-box-sizing: content-box !important;
327
- -moz-box-sizing: content-box !important;
328
- box-sizing: content-box !important;
329
- }
330
-
331
- /* === */
332
- .subwrap-MI,
333
- .jp-innerwrap,
334
- .listwrap_mp3j,
335
- .wrapper-mjp {
336
- position: relative !important;
337
- width: 100%;
338
- margin: 0;
339
- padding: 0;
340
- cursor: default;
341
- }
342
-
343
- .subwrap-MI { overflow: hidden; }
344
- .interface-mjp { position:relative !important; width:100%; margin:0; cursor:default; }
345
-
346
- .subwrap-MI *,
347
- .mjp-s-wrapper {
348
- -moz-user-select: -moz-none;
349
- -khtml-user-select: none;
350
- -webkit-user-select: none;
351
- -ms-user-select: none;
352
- user-select: none;
353
- }
354
-
355
- /* ===== ===== */
356
- .mp3j-nosolution {
357
- position:absolute;
358
- z-index:9999;
359
- height:auto;
360
- }
361
- .s-nosolution {
362
- position:relative;
363
- display:inline-block;
364
- margin-bottom:20px;
365
- height:auto;
366
- }
367
-
368
- /* ===== ===== */
369
- .wrapper-mjp ul {
370
- position: static; /* needed in some themes */
371
- }
372
- .playlist-colour {
373
- position:absolute;
374
- width:100%;
375
- height:100%;
376
- left:0px;
377
- top:0px;
378
- }
379
-
380
- /* ===== playlist grads ===== */
381
- ul.lighten1-mjp {
382
- background-image: url('images/pl-grad-w.png');
383
- background-position: left 0px;
384
- background-repeat: repeat-x;
385
- }
386
- ul.lighten2-mjp {
387
- background-image: url('images/pl-grad-w-long.png');
388
- background-position: left 0px;
389
- background-repeat: repeat-x;
390
- }
391
- ul.darken1-mjp {
392
- background-image: url('images/pl-grad-b.png');
393
- background-position: left 0px;
394
- background-repeat: repeat-x;
395
- }
396
- ul.darken2-mjp {
397
- background-image: url('images/pl-grad-b-long.png');
398
- background-position: left 0px;
399
- background-repeat: repeat-x;
400
- }
401
-
402
- /* ===== playlist dividers ===== */
403
-
404
- ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom; }
405
- ul.med-mjp li { background:url('images/t50l.png') repeat-x left bottom; }
406
- ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom; }
407
- li.mjp-li-last { background:none !important; }
408
-
409
-
410
- /* ===== posbar grads ===== */
411
- .poscolMI_mp3j.soften-mjp {
412
- background-image: url('images/posbar-lighten.png');
413
- background-position: right top;
414
- background-repeat: repeat-y;
415
- }
416
- .poscolMI_mp3j.softenT-mjp {
417
- background-image: url('images/posbar-pipe.png');
418
- background-position: right -5px;
419
- background-repeat: repeat-x;
420
- }
421
- .poscolMI_mp3j.darken-mjp {
422
- background-image: url('images/posbar-darken.png');
423
- background-position: right top;
424
- background-repeat: repeat-y;
425
- }
426
-
427
-
428
- .left-mjp { text-align:left; }
429
- .centre-mjp { text-align:center; }
430
- .right-mjp { text-align: right; }
431
-
432
- .bold-mjp,
433
- .childBold-mjp * { font-weight:700; }
434
-
435
- .norm-mjp,
436
- .childNorm-mjp * { font-weight:500; }
437
-
438
- .italic-mjp,
439
- .childItalic-mjp * { font-style:italic; }
440
-
441
- .plain-mjp,
442
- .childPlain-mjp * { font-style:normal; }
443
-
444
-
445
- /* ===== fonts ===== */
446
- .arial-mjp,
447
- ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
448
- .verdana-mjp,
449
- ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
450
- .times-mjp,
451
- ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
452
- .palatino-mjp,
453
- ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
454
- .courier-mjp,
455
- ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
456
- .lucida-mjp,
457
- ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
458
- .gill-mjp,
459
- ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
460
-
461
- .player-track-title,
462
- .player-track-title div,
463
- .a-mjp { line-height: 110% !important; }
464
-
465
- .player-track-title div { font-size:0.7em; }
466
-
467
- .titleHide-mjp { display:none; }
468
-
469
-
470
- /* ===== jQuery UI ===== */
471
- .ui-state-disabled { cursor:default !important; }
472
- .ui-slider {
473
- position:relative;
474
- text-align:left;
475
- }
476
- .ui-slider .ui-slider-handle {
477
- position:absolute;
478
- z-index:200;
479
- cursor:default;
480
- }
481
- .ui-slider .ui-slider-range {
482
- position:absolute;
483
- z-index:1;
484
- font-size:.7em;
485
- display:block;
486
- border:0;
487
- }
488
- .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
489
- .ui-slider-horizontal .ui-slider-range-min { left:0; }
490
- .ui-slider-horizontal .ui-slider-range-max { right:0; }
491
- .ui-state-default,
492
- .ui-widget-content .ui-state-default { outline:none; border:0px; }
493
-
494
- /* ===== user style param ===== */
495
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
496
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
497
- .nopn div.prev-mjp { display:none; }
498
- .nopn div.next-mjp { display:none; }
499
- .nostop div.stop-mjp { display:none; }
500
- .notitle div.player-track-title { display:none; }
501
- div.wrap-mjp.noplayer { display:none; }
502
-
503
- .novol div.mjp-volwrap { display:none; }
504
- .novol div.bars_holder { left:0px; right:0px; }
505
- .novol span.vol_mp3t,
506
- .novol span.vol_mp3j { display:none; }
507
-
508
- .fullbars div.bars_holder { left:0px; right:0px; height:auto; top:0px; background:none; }
509
- .fullbars div.interface-mjp { padding:0px 0 39px 0; }
510
- .fullbars div.innertab { bottom:39px; }
511
- .fullbars div.mjp-volwrap { background:none; }
512
-
513
- div.bigger1 span { font-size:18px !important; }
514
- div.bigger2 span { font-size:23px !important; }
515
- div.bigger3 span { font-size:28px !important; }
516
- div.bigger4 span { font-size:38px !important; }
517
- div.bigger5 span { font-size:48px !important; }
518
-
519
- div.bigger1 .indi_mp3j, div.bigger1 .Smp3-finding, div.bigger1 .mp3-gtint, div.bigger1 .Smp3-tint,
520
- div.bigger2 .indi_mp3j, div.bigger2 .Smp3-finding, div.bigger2 .mp3-gtint, div.bigger2 .Smp3-tint,
521
- div.bigger3 .indi_mp3j, div.bigger3 .Smp3-finding, div.bigger3 .mp3-gtint, div.bigger3 .Smp3-tint,
522
- div.bigger4 .indi_mp3j, div.bigger4 .Smp3-finding, div.bigger4 .mp3-gtint, div.bigger4 .Smp3-tint,
523
- div.bigger5 .indi_mp3j, div.bigger5 .Smp3-finding, div.bigger5 .mp3-gtint, div.bigger5 .Smp3-tint { font-size:70% !important; }
524
-
525
- .nobars .bars_holder { display:none; }
526
-
527
-
528
- /* ===== ===== */
529
- div.mp3j-dlframe,
530
- iframe.mp3j-dlframe {
531
- width:1px;
532
- height:1px;
533
- overflow:hidden;
534
- margin:0;
535
- padding:0;
536
- display:none !important;
537
- }
538
-
539
- /* ===== ===== */
540
- .MI-image { position:relative; padding:0px 0 0 0; /*overflow:hidden;*/ }
541
- .MI-image img { border:none; padding:0px; width:100%; height:auto; }
542
- .MI-image.Himg img { width:auto; height:100%; }
543
- .MI-image.Fimg img { width:auto; height:auto; }
544
- .MI-image a:hover img { }
545
-
546
- .MI-image.left-mjp { margin:0 auto 0 0; }
547
- .MI-image.centre-mjp { margin: 0 auto; }
548
- .MI-image.right-mjp { margin: 0 0 0 auto; }
549
-
550
-
551
- .unsel-mjp {
552
- -moz-user-select: -moz-none;
553
- -khtml-user-select: none;
554
- -webkit-user-select: none;
555
- -ms-user-select: none;
556
- user-select: none;
557
- }
558
-
 
 
1
+ /*
2
+ -------------------------------
3
+
4
+ Skin: Text
5
+ ---
6
+ Plugin: MP3-jPlayer v2
7
+ Package: WordPress
8
+ Desc:
9
+ Info: http://mp3-jplayer.com
10
+
11
+ -------------------------------
12
+ */
13
+
14
+
15
+ /* [mp3-jplayer] SHORTCODE
16
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
17
+ .subwrap-MI { border-width:0px; border-style:solid; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; }
18
+ .jp-innerwrap { background:none; }
19
+ .interface-mjp { padding:0px 0 50px 0; min-height:0px; }
20
+ .listwrap_mp3j { }
21
+
22
+ div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
23
+ div.innerx { display:none; }
24
+ div.innerleft { display:none; }
25
+ div.innerright { display:none; }
26
+ div.innertab { left:0px; top:0px; right:0px; bottom:50px; }
27
+
28
+ /* PLAYLIST */
29
+ .ul-mjp { margin:0px !important; padding:3px 8px 4px 8px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; border:0px; }
30
+ .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
31
+ .li-mjp:before { content:none !important; }
32
+ .a-mjp {
33
+ border:0 !important;
34
+ text-decoration:none !important;
35
+ display:block !important; width:auto !important;
36
+ outline:none !important;
37
+ padding:7px 10px 7px 10px !important;
38
+ text-shadow: none !important;
39
+ }
40
+
41
+
42
+ /* SCREEN */
43
+ div.player-track-title { position:absolute; z-index:120; }
44
+ div.player-track-title div { position:relative; }
45
+
46
+ div.jp-play-time, div.jp-total-time, div.statusMI { position:absolute; font-size:10px !important; line-height:12px !important; bottom:19px; height:12px; }
47
+ div.jp-total-time { display:none; }
48
+ div.jp-play-time { left:2px; text-align:left; }
49
+
50
+ div.statusMI { left:35px; text-align:left; overflow:hidden; padding-left:1px; opacity:.5; filter:alpha(opacity=50);
51
+ }
52
+ /*
53
+ span.mp3-finding { position:relative; opacity:.3; filter:alpha(opacity=30); padding:0 3px 0 3px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
54
+ span.mp3-tint { position:relative; opacity:.3; filter:alpha(opacity=30); padding:0 3px 0 3px; margin:0 3px 0 -6px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
55
+ */
56
+ span.mp3-finding { position:relative; padding:0 4px 0 4px; margin:0; background:url('images/pulse.gif') repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
57
+ span.mp3-tint { position:relative; padding:0 4px 0 4px; margin:0 3px 0 -8px; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; overflow:hidden; }
58
+
59
+ span.mjp-playing { }
60
+ span.mjp-paused { }
61
+ span.mjp-ready { }
62
+ span.mjp-stopped { }
63
+ span.mjp-connecting { }
64
+ span.mjp-buffering { }
65
+
66
+
67
+
68
+
69
+ /* BUTTONS */
70
+ div.transport-MI { position:absolute; width:auto; height:24px; right:2px; bottom:11px; border:0; }
71
+ div.transport-MI div { float:right; cursor:pointer; font-weight:700; background:none !important; height:20px; width:auto; margin-left:6px; line-height:18px !important; }
72
+ div.play-mjp { font-size:16px; }
73
+ div.pause-mjp { font-size:16px; }
74
+ div.prev-mjp { font-size:14px; margin-top:1px; }
75
+ div.next-mjp { font-size:14px; margin-top:1px; }
76
+ div.stop-mjp { font-size:16px; }
77
+
78
+
79
+ .buttons-wrap-mjp { position:absolute; width:auto; height:12px; left:1px; bottom:5px; z-index:119; }
80
+ .buttons-wrap-mjp div {
81
+ position:relative;
82
+ float:left;
83
+ height:12px;
84
+ cursor:pointer;
85
+ text-align:left;
86
+ font-size:10px;
87
+ line-height:12px;
88
+ background-color:transparent;
89
+ margin-right:10px;
90
+ color:inherit;
91
+ }
92
+ .buttons-wrap-mjp div:hover { }
93
+
94
+ div.playlist-toggle-MI {
95
+ text-indent:0px !important;
96
+ cursor:pointer;
97
+ margin-left:2px;
98
+ }
99
+ div.playlist-toggle-MI:hover { background-color:transparent; }
100
+
101
+ div.mp3j-popout-MI { padding:0px 0px 0 0px; }
102
+ div.mp3j-popout-MI:hover { background-color:transparent; }
103
+
104
+ div.dloadmp3-MI {
105
+ padding:0;
106
+ cursor:default;
107
+ height:12px;
108
+ }
109
+ div.dloadmp3-MI * {
110
+ outline:none !important;
111
+ display:block;
112
+ width:auto;
113
+ margin:0px !important;
114
+ background-color:transparent;
115
+ text-decoration:none !important;
116
+ height:100%;
117
+
118
+ }
119
+ div.dloadmp3-MI.whilelinks,
120
+ div.dloadmp3-MI.logintext {
121
+ cursor:pointer;
122
+ background-color:transparent;
123
+ }
124
+ div.dloadmp3-MI.whilelinks:hover { }
125
+ /*
126
+ .dloadmp3-MI a { padding:0px !important; visibility:hidden; display:none; text-decoration:none !important; }
127
+ .dloadmp3-MI a:hover { text-decoration:none !important; }
128
+ */
129
+ .dloadmp3-MI a { padding:0px !important; visibility:inherit; display:block; text-decoration:none !important; }
130
+ .dloadmp3-MI a:hover { text-decoration:none !important; display:block; }
131
+
132
+ .dloadmp3-MI.whilelinks a { visibility:inherit; display:block; }
133
+ .dloadmp3-MI.whilelinks a:hover { display:block; }
134
+ .dloadmp3-MI p { padding:0px !important; visibility:visible; }
135
+
136
+
137
+ /* VOLUME */
138
+ .innerExt1, .innerExt2 { display:none; }
139
+
140
+ div.mjp-volwrap { position:absolute; height:6px; bottom:39px; right:0px; width:102px; z-index:140; background:url('images/t50l.png') repeat left top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
141
+ div.MIsliderVolume { position:absolute; top:0px; right:6px; left:0px; height:6px; border:0px; font-size:1px; cursor:pointer; z-index:150; background-color:transparent; }
142
+ div.MIsliderVolume .ui-widget-header { background:transparent url('images/volgrad-dark.png') repeat-y 15px top; cursor:pointer; }
143
+
144
+ div.MIsliderVolume .ui-slider-handle {
145
+ background:#404040 url('images/buttonset-darkplayer-grads8.png') no-repeat -127px -125px;
146
+ height:10px;
147
+ width:10px !important;
148
+ padding:0px; margin-left:-6px;
149
+ border:1px solid #505050 !important;
150
+ border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
151
+ z-index:600;
152
+ overflow:hidden !important;
153
+ cursor:default;
154
+ top:-3px;
155
+ }
156
+ div.mjp-volwrap:hover .ui-slider-handle, div.MIsliderVolume .ui-slider-handle:hover { background-color:#575757; }
157
+ div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { outline:none; background-color:#575757; }
158
+
159
+
160
+
161
+ /* LOADER AND POS SLIDER */
162
+ div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
163
+ div.bars_holder { position:absolute; right:109px; left:0px; bottom:39px; height:6px; font-size:1px; cursor:default; background:url('images/t50l.png') repeat left top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
164
+ div.loadMI_mp3j { bottom:0px; z-index:80; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
165
+ div.poscolMI_mp3j { bottom:0px; z-index:85; top:0px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
166
+ div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
167
+ div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:130; }
168
+ div.posbarMI_mp3j { bottom:0px; width:100%; }
169
+ div.posbarMI_mp3j .ui-slider-handle { top:0px; margin-left:-1px !important; border:0; bottom:0px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
170
+ div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
171
+
172
+
173
+
174
+ /* MESSAGES */
175
+ div.mp3j-finfo {
176
+ position:absolute;
177
+ top:36px;
178
+ z-index:9999 !important;
179
+ width:80%;
180
+ left:10%;
181
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
182
+ background:#fff;
183
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
184
+ padding:0;
185
+ min-height:31px;
186
+ overflow:hidden;
187
+ min-width:170px;
188
+ text-align: left;
189
+ }
190
+
191
+ div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
192
+ div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
193
+ div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/spinner.gif') no-repeat center 27px; width:auto; padding:0px; height:100%; }
194
+ div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
195
+ div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
196
+ div.mp3j-finfo-close:hover { color:#888 !important; }
197
+
198
+ div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 35px 0 !important; }
199
+ div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
200
+ div.mp3j-finfo-txt p { font-size:12px !important; color:#555 !important; line-height:14px !important; margin:0 0 5px 0; }
201
+ div.mp3j-finfo-txt a { }
202
+
203
+ .mp3j-nosolution,
204
+ .s-nosolution
205
+ {
206
+ padding:10px 5% 10px 5%;
207
+ border:1px solid #c0c0c0;
208
+ background:#f0f0f0;
209
+ color:#333;
210
+ top:4px;
211
+ left:4px;
212
+ right:4px;
213
+ -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
214
+ font-size:13px;
215
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
216
+ }
217
+
218
+ /* [mp3j] & [mp3t] SHORTCODES
219
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
220
+ div.mjp-s-wrapper.s-text { padding:0 0 14px 0; line-height:100% !important; margin:0 !important; }
221
+ div.mjp-s-wrapper.s-graphic { padding:0 0 18px 0; line-height:100% !important; margin:0 !important; }
222
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
223
+ span.indi_mp3j { position:relative; padding-left:2px; }
224
+
225
+ span.T_mp3j span { font-size:0.7em }
226
+
227
+ /* BARS */
228
+ span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
229
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
230
+ /* mp3t */
231
+ span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; background:none !important; }
232
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
233
+ span.posbar_mp3j .ui-slider-handle { background:none; top:-1px; margin-left:-4px; border:1px solid #aaa; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
234
+ span.posbar_mp3j .ui-slider-handle:hover { background:none; border-color:#888; }
235
+
236
+ /* mp3j */
237
+ span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
238
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-500; height:100%; }
239
+ span.posbarB_mp3j .ui-slider-handle { background:none; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #aaa; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
240
+ span.posbarB_mp3j .ui-slider-handle:hover { background:none; border-color:#888; }
241
+
242
+ /* SPAN TRANSPORT */
243
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
244
+ span.group_wrap { position:relative; width:auto; margin:0px; }
245
+ span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
246
+ padding:1px 0px 4px 8px; margin:0 5px 0px 5px; background-repeat:no-repeat; border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px; border:1px solid #ccc;
247
+ }
248
+ span.gfxbutton_mp3j.play-mjp { background-position:center center; background-image: url("images/play3.png"); }
249
+ span.gfxbutton_mp3j.play-mjp:hover { }
250
+ span.gfxbutton_mp3j.pause-mjp { background-position:center center; background-image: url("images/pause3.png"); }
251
+ span.gfxbutton_mp3j.pause-mjp:hover { }
252
+
253
+ /* VOLUMES */
254
+ span.vol_mp3t { position:absolute; top:-9px; right:5px; width:90%; max-width:85px; height:3px; border:0 !important; }
255
+ span.vol_mp3j { position:absolute; top:-11px; right:11px; width:85%; max-width:82px; height:3px; border:0 !important; }
256
+ span.vol_mp3j.flipped { right:4px; }
257
+ span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; background:url('images/volgrad-dark.png') repeat-y 10px top; }
258
+
259
+ span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
260
+ background:transparent url('images/buttonset-lightplayer-grads8.png') no-repeat -127px -125px;
261
+ height:10px;
262
+ width:10px !important;
263
+ padding:0px; margin-left:-6px;
264
+ border:1px solid #c6c6c6 !important;
265
+ border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
266
+ z-index:600;
267
+ overflow:hidden !important;
268
+ cursor:default;
269
+ top:-5px;
270
+ }
271
+ span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:transparent; }
272
+ span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:transparent; }
273
+
274
+ span.Smp3-finding,
275
+ span.mp3-gtint {
276
+ padding:0px 0px 0px 12px;
277
+ overflow:hidden;
278
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
279
+ }
280
+ span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
281
+ span.mp3-gtint { margin:0px 2px 0px -12px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
282
+ span.tintmarg { margin:0 2px 0 3px; }
283
+ span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 12px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
284
+
285
+
286
+ /* [mp3j-popout] SHORTCODE
287
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
288
+ .popout-wrap-mjp {
289
+ cursor:pointer;
290
+ position:relative;
291
+ border-width:0px;
292
+ border-style:solid;
293
+ padding:0;
294
+ border-color:#ccc;
295
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
296
+ display:inline-block;
297
+ }
298
+ .popout-wrap-mjp * { margin:0; padding:0; color:#404040; font-weight:700; }
299
+ .popout-wrap-mjp:hover * { color:#606060; font-weight:700; }
300
+ .popout-text-mjp { float:left; padding:0 5px; }
301
+ .popout-image-mjp {
302
+ float:left;
303
+ background-image:url('images/buttonset-lightplayer-grads8.png');
304
+ background-repeat:no-repeat;
305
+ background-position:-396px -9px;
306
+ min-width:32px;
307
+ min-height:28px;
308
+ margin:0;
309
+ }
310
+ .popout-image-mjp:hover { }
311
+ .popout-image-mjp-custom { float:left; background-repeat:no-repeat; margin:0; padding:0; border:0; }
312
+ .clearL-mjp { clear:left; }
313
+
314
+
315
+
316
+ /** ############################################
317
+ * Functional CSS, careful with these bits!
318
+ * ############################################ */
319
+
320
+ /* === */
321
+ .wrap-mjp { /* MAIN WRAPPER (default class) */
322
+ border: 0;
323
+ margin: 0;
324
+ background: none;
325
+ min-width: 116px;
326
+ }
327
+ .wrap-mjp, .wrap-mjp * {
328
+ -webkit-box-sizing: content-box !important;
329
+ -moz-box-sizing: content-box !important;
330
+ box-sizing: content-box !important;
331
+ }
332
+
333
+ /* === */
334
+ .subwrap-MI,
335
+ .jp-innerwrap,
336
+ .listwrap_mp3j,
337
+ .wrapper-mjp {
338
+ position: relative !important;
339
+ width: 100%;
340
+ margin: 0;
341
+ padding: 0;
342
+ cursor: default;
343
+ }
344
+
345
+ .subwrap-MI { overflow: hidden; }
346
+ .interface-mjp { position:relative !important; width:100%; margin:0; cursor:default; }
347
+
348
+ .subwrap-MI *,
349
+ .mjp-s-wrapper {
350
+ -moz-user-select: -moz-none;
351
+ -khtml-user-select: none;
352
+ -webkit-user-select: none;
353
+ -ms-user-select: none;
354
+ user-select: none;
355
+ }
356
+
357
+ /* ===== ===== */
358
+ .mp3j-nosolution {
359
+ position:absolute;
360
+ z-index:9999;
361
+ height:auto;
362
+ }
363
+ .s-nosolution {
364
+ position:relative;
365
+ display:inline-block;
366
+ margin-bottom:20px;
367
+ height:auto;
368
+ }
369
+
370
+ /* ===== ===== */
371
+ .wrapper-mjp ul {
372
+ position: static; /* needed in some themes */
373
+ }
374
+ .playlist-colour {
375
+ position:absolute;
376
+ width:100%;
377
+ height:100%;
378
+ left:0px;
379
+ top:0px;
380
+ }
381
+
382
+ /* ===== playlist grads ===== */
383
+ ul.lighten1-mjp {
384
+ background-image: url('images/pl-grad-w.png');
385
+ background-position: left 0px;
386
+ background-repeat: repeat-x;
387
+ }
388
+ ul.lighten2-mjp {
389
+ background-image: url('images/pl-grad-w-long.png');
390
+ background-position: left 0px;
391
+ background-repeat: repeat-x;
392
+ }
393
+ ul.darken1-mjp {
394
+ background-image: url('images/pl-grad-b.png');
395
+ background-position: left 0px;
396
+ background-repeat: repeat-x;
397
+ }
398
+ ul.darken2-mjp {
399
+ background-image: url('images/pl-grad-b-long.png');
400
+ background-position: left 0px;
401
+ background-repeat: repeat-x;
402
+ }
403
+
404
+ /* ===== playlist dividers ===== */
405
+
406
+ ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom; }
407
+ ul.med-mjp li { background:url('images/t50l.png') repeat-x left bottom; }
408
+ ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom; }
409
+ li.mjp-li-last { background:none !important; }
410
+
411
+
412
+ /* ===== posbar grads ===== */
413
+ .poscolMI_mp3j.soften-mjp {
414
+ background-image: url('images/posbar-lighten.png');
415
+ background-position: right top;
416
+ background-repeat: repeat-y;
417
+ }
418
+ .poscolMI_mp3j.softenT-mjp {
419
+ background-image: url('images/posbar-pipe.png');
420
+ background-position: right -5px;
421
+ background-repeat: repeat-x;
422
+ }
423
+ .poscolMI_mp3j.darken-mjp {
424
+ background-image: url('images/posbar-darken.png');
425
+ background-position: right top;
426
+ background-repeat: repeat-y;
427
+ }
428
+
429
+
430
+ .left-mjp { text-align:left; }
431
+ .centre-mjp { text-align:center; }
432
+ .right-mjp { text-align: right; }
433
+
434
+ .bold-mjp,
435
+ .childBold-mjp * { font-weight:700; }
436
+
437
+ .norm-mjp,
438
+ .childNorm-mjp * { font-weight:500; }
439
+
440
+ .italic-mjp,
441
+ .childItalic-mjp * { font-style:italic; }
442
+
443
+ .plain-mjp,
444
+ .childPlain-mjp * { font-style:normal; }
445
+
446
+
447
+ /* ===== fonts ===== */
448
+ .arial-mjp,
449
+ ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
450
+ .verdana-mjp,
451
+ ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
452
+ .times-mjp,
453
+ ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
454
+ .palatino-mjp,
455
+ ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
456
+ .courier-mjp,
457
+ ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
458
+ .lucida-mjp,
459
+ ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
460
+ .gill-mjp,
461
+ ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
462
+
463
+ .player-track-title,
464
+ .player-track-title div,
465
+ .a-mjp { line-height: 110% !important; }
466
+
467
+ .player-track-title div { font-size:0.7em; }
468
+
469
+ .titleHide-mjp { display:none; }
470
+
471
+
472
+ /* ===== jQuery UI ===== */
473
+ .ui-state-disabled { cursor:default !important; }
474
+ .ui-slider {
475
+ position:relative;
476
+ text-align:left;
477
+ }
478
+ .ui-slider .ui-slider-handle {
479
+ position:absolute;
480
+ z-index:200;
481
+ cursor:default;
482
+ }
483
+ .ui-slider .ui-slider-range {
484
+ position:absolute;
485
+ z-index:1;
486
+ font-size:.7em;
487
+ display:block;
488
+ border:0;
489
+ }
490
+ .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
491
+ .ui-slider-horizontal .ui-slider-range-min { left:0; }
492
+ .ui-slider-horizontal .ui-slider-range-max { right:0; }
493
+ .ui-state-default,
494
+ .ui-widget-content .ui-state-default { outline:none; border:0px; }
495
+
496
+ /* ===== user style param ===== */
497
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
498
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
499
+ .nopn div.prev-mjp { display:none; }
500
+ .nopn div.next-mjp { display:none; }
501
+ .nostop div.stop-mjp { display:none; }
502
+ .notitle div.player-track-title { display:none; }
503
+ div.wrap-mjp.noplayer { display:none; }
504
+
505
+ .novol div.mjp-volwrap { display:none; }
506
+ .novol div.bars_holder { left:0px; right:0px; }
507
+ .novol span.vol_mp3t,
508
+ .novol span.vol_mp3j { display:none; }
509
+
510
+ .fullbars div.bars_holder { left:0px; right:0px; height:auto; top:0px; background:none; }
511
+ .fullbars div.interface-mjp { padding:0px 0 39px 0; }
512
+ .fullbars div.innertab { bottom:39px; }
513
+ .fullbars div.mjp-volwrap { background:none; }
514
+
515
+ div.bigger1 span { font-size:18px !important; }
516
+ div.bigger2 span { font-size:23px !important; }
517
+ div.bigger3 span { font-size:28px !important; }
518
+ div.bigger4 span { font-size:38px !important; }
519
+ div.bigger5 span { font-size:48px !important; }
520
+
521
+ div.bigger1 .indi_mp3j, div.bigger1 .Smp3-finding, div.bigger1 .mp3-gtint, div.bigger1 .Smp3-tint,
522
+ div.bigger2 .indi_mp3j, div.bigger2 .Smp3-finding, div.bigger2 .mp3-gtint, div.bigger2 .Smp3-tint,
523
+ div.bigger3 .indi_mp3j, div.bigger3 .Smp3-finding, div.bigger3 .mp3-gtint, div.bigger3 .Smp3-tint,
524
+ div.bigger4 .indi_mp3j, div.bigger4 .Smp3-finding, div.bigger4 .mp3-gtint, div.bigger4 .Smp3-tint,
525
+ div.bigger5 .indi_mp3j, div.bigger5 .Smp3-finding, div.bigger5 .mp3-gtint, div.bigger5 .Smp3-tint { font-size:70% !important; }
526
+
527
+ .nobars .bars_holder { display:none; }
528
+
529
+
530
+ /* ===== ===== */
531
+ div.mp3j-dlframe,
532
+ iframe.mp3j-dlframe {
533
+ width:1px;
534
+ height:1px;
535
+ overflow:hidden;
536
+ margin:0;
537
+ padding:0;
538
+ display:none !important;
539
+ }
540
+
541
+ /* ===== ===== */
542
+ .MI-image { position:relative; padding:0px 0 0 0; /*overflow:hidden;*/ }
543
+ .MI-image img { border:none; padding:0px; width:100%; height:auto; }
544
+ .MI-image.Himg img { width:auto; height:100%; }
545
+ .MI-image.Fimg img { width:auto; height:auto; }
546
+ .MI-image a:hover img { }
547
+
548
+ .MI-image.left-mjp { margin:0 auto 0 0; }
549
+ .MI-image.centre-mjp { margin: 0 auto; }
550
+ .MI-image.right-mjp { margin: 0 0 0 auto; }
551
+
552
+
553
+ .unsel-mjp {
554
+ -moz-user-select: -moz-none;
555
+ -khtml-user-select: none;
556
+ -webkit-user-select: none;
557
+ -ms-user-select: none;
558
+ user-select: none;
559
+ }
560
+
css/v1-skins/v1-dark.css CHANGED
@@ -1,861 +1,863 @@
1
- /*
2
- -------------------------------
3
-
4
- Skin: v1 Dark (Legacy support skin)
5
- ---
6
- Plugin: MP3-jPlayer v2
7
- Package: WordPress
8
- Desc: Includes legacy css that supports various modifier
9
- classes from MP3-jPlayer version 1 that have been
10
- superceeded in version 2.
11
- Info: http://mp3-jplayer.com
12
- http://sjward.org
13
-
14
- -------------------------------
15
- */
16
-
17
-
18
- /** - - - - - - - - - - - - - - - - - - - - -
19
- * Functional CSS, careful with these bits!
20
- * - - - - - - - - - - - - - - - - - - - - - */
21
-
22
- /* ===== ===== */
23
- .wrap-mjp { /* MAIN WRAPPER (default class) */
24
- border: 0;
25
- margin: 0;
26
- background: none;
27
- min-width: 116px;
28
- }
29
- .wrap-mjp, .wrap-mjp * {
30
- -webkit-box-sizing: content-box !important;
31
- -moz-box-sizing: content-box !important;
32
- box-sizing: content-box !important;
33
- }
34
-
35
- /* ===== ===== */
36
- .subwrap-MI,
37
- .jp-innerwrap,
38
- .interface-mjp,
39
- .listwrap_mp3j,
40
- .wrapper-mjp {
41
- position: relative !important;
42
- width: 100%;
43
- border: 0;
44
- margin: 0;
45
- padding: 0;
46
- cursor: default;
47
- }
48
-
49
- .subwrap-MI { overflow: hidden; padding:2px 2px 2px 2px; }
50
- .subwrap-MI *,
51
- .mjp-s-wrapper {
52
- -moz-user-select: -moz-none;
53
- -khtml-user-select: none;
54
- -webkit-user-select: none;
55
- -ms-user-select: none;
56
- user-select: none;
57
- }
58
-
59
- /* ===== ===== */
60
- .mp3j-nosolution {
61
- position:absolute;
62
- z-index:9999;
63
- height:auto;
64
- }
65
- .s-nosolution {
66
- position:relative;
67
- display:inline-block;
68
- margin-bottom:20px;
69
- height:auto;
70
- }
71
-
72
- /* ===== ===== */
73
- .wrapper-mjp ul {
74
- position: static; /* needed in some themes */
75
- }
76
- .playlist-colour {
77
- position:absolute;
78
- width:100%;
79
- height:100%;
80
- left:0px;
81
- top:0px;
82
- }
83
-
84
- /* ===== playlist grads ===== */
85
- ul.lighten1-mjp {
86
- background-image: url('images/pl-lighten1.png');
87
- background-position: left 0px;
88
- background-repeat: repeat-x;
89
- }
90
- ul.lighten2-mjp {
91
- background-image: url('images/pl-lighten2.png');
92
- background-position: left 0px;
93
- background-repeat: repeat-x;
94
- }
95
- ul.darken1-mjp {
96
- background-image: url('images/pl-gradlong10g.png');
97
- background-position: left -130px;
98
- background-repeat: repeat-x;
99
- }
100
- ul.darken2-mjp {
101
- background-image: url('images/pl-darken1.png');
102
- background-position: left 0px;
103
- background-repeat: repeat-x;
104
- }
105
-
106
- /* ===== playlist dividers ===== */
107
- ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom !important; }
108
- ul.med-mjp li { background:url('images/t75e.png') repeat-x left bottom !important; }
109
- ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom !important; }
110
-
111
- /* ===== posbar grads ===== */
112
- .poscolMI_mp3j.soften-mjp {
113
- background-image: url('images/posbar-soften-2.png');
114
- background-position: right top;
115
- background-repeat: repeat-y;
116
- }
117
- .poscolMI_mp3j.softenT-mjp {
118
- background-image: url('images/posbar-soften-tipped-2.png');
119
- background-position: right top;
120
- background-repeat: repeat-y;
121
- }
122
- .poscolMI_mp3j.darken-mjp {
123
- background-image: url('images/posbar-darken2-2.png');
124
- background-position: right top;
125
- background-repeat: repeat-y;
126
- }
127
-
128
-
129
- .left-mjp { text-align:left; }
130
- .centre-mjp { text-align:center; }
131
- .right-mjp { text-align: right; }
132
-
133
- .bold-mjp,
134
- .childBold-mjp * { font-weight:700; }
135
-
136
- .norm-mjp,
137
- .childNorm-mjp * { font-weight:500; }
138
-
139
- .italic-mjp,
140
- .childItalic-mjp * { font-style:italic; }
141
-
142
- .plain-mjp,
143
- .childPlain-mjp * { font-style:normal; }
144
-
145
-
146
- /* ===== fonts ===== */
147
- .arial-mjp,
148
- ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
149
- .verdana-mjp,
150
- ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
151
- .times-mjp,
152
- ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
153
- .palatino-mjp,
154
- ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
155
- .courier-mjp,
156
- ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
157
- .lucida-mjp,
158
- ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
159
- .gill-mjp,
160
- ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
161
-
162
- .player-track-title,
163
- .player-track-title div,
164
- .a-mjp { line-height: 110% !important; }
165
-
166
- .player-track-title div { font-size:0.7em; }
167
-
168
- .titleHide-mjp { display:none; }
169
-
170
- /* ===== jQuery UI ===== */
171
- .ui-state-disabled { cursor:default !important; }
172
- .ui-slider {
173
- position:relative;
174
- text-align:left;
175
- }
176
- .ui-slider .ui-slider-handle {
177
- position:absolute;
178
- z-index:200;
179
- cursor:default;
180
- }
181
- .ui-slider .ui-slider-range {
182
- position:absolute;
183
- z-index:1;
184
- font-size:.7em;
185
- display:block;
186
- border:0;
187
- }
188
- .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
189
- .ui-slider-horizontal .ui-slider-range-min { left:0; }
190
- .ui-slider-horizontal .ui-slider-range-max { right:0; }
191
- .ui-state-default,
192
- .ui-widget-content .ui-state-default { outline:none; border:0px; }
193
-
194
-
195
- /* ===== ===== */
196
- div.mp3j-dlframe,
197
- iframe.mp3j-dlframe {
198
- width:1px;
199
- height:1px;
200
- overflow:hidden;
201
- margin:0;
202
- padding:0;
203
- display:none !important;
204
- }
205
-
206
- /* ===== ===== */
207
- .MI-image { position:relative; padding:0; }
208
- .MI-image img { border:none; padding:0px; width:100%; height:auto; }
209
- .MI-image.Himg img { width:auto; height:100%; }
210
- .MI-image.Fimg img { width:auto; height:auto; }
211
- .MI-image a:hover img { }
212
-
213
- .MI-image.left-mjp { margin:0 auto 0 0; }
214
- .MI-image.centre-mjp { margin: 0 auto; }
215
- .MI-image.right-mjp { margin: 0 0 0 auto; }
216
-
217
- .unsel-mjp {
218
- -moz-user-select: -moz-none;
219
- -khtml-user-select: none;
220
- -webkit-user-select: none;
221
- -ms-user-select: none;
222
- user-select: none;
223
- }
224
-
225
- .innerExt1 { display:none; }
226
- .innerExt2 { display:none; }
227
- div.mjp-volwrap { position:absolute; top:0; right:0; }
228
-
229
- /*---------------------
230
- [mp3-jplayer] SHORTCODE
231
- ==================================== */
232
-
233
- /* SUB WRAPPERS */
234
- div.jp-innerwrap { background:none; }
235
- div.interface-mjp { padding:0 0 39px 0; }
236
- div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
237
-
238
- /* BACKGROUNDS */
239
- div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
240
- div.innerx { background:url('images/case-grad-x.png') repeat-x left -119px; width:auto; height:38px; left:0px; right:0px; bottom:0px; z-index:10;
241
- -webkit-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
242
- -moz-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
243
- box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
244
- }
245
- div.innerleft { display:block; position: absolute; height: 20px; right: 88px; left: -1px; top: 0px; background: url('images/caseD-x.png') repeat-x left top; z-index:125; }
246
- div.innerright { display:block; position: absolute; height: 20px; width: 90px; right: -2px; top: 0px; background: url('images/caseD-r.png') no-repeat right top; z-index:125; }
247
- div.innertab { left:0px; top:0px; right:0px; width:100%; bottom:38px; }
248
-
249
- /* PLAYLIST */
250
- .ul-mjp { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
251
- .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
252
- .li-mjp:before { content:none !important; }
253
- .a-mjp {
254
- border:0 !important;
255
- text-decoration:none !important;
256
- display:block !important; width:auto !important;
257
- outline:none !important;
258
- padding:7px 10px 7px 14px !important;
259
- }
260
-
261
- /* SCREEN */
262
- div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI {
263
- position:absolute;
264
- z-index:50;
265
- }
266
-
267
- div.player-track-title div { position:relative; }
268
-
269
- div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:49px; text-align:left; }
270
- div.jp-play-time { right:90px; }
271
- div.jp-total-time { right:6px; width:auto; }
272
-
273
- span.mp3-finding, span.mp3-tint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
274
- span.mp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
275
- span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
276
- div.statusMI span.tintmarg { margin:0 2px 0 3px; }
277
-
278
- div.statusMI { right:27px; width:58px !important; height:10px; }
279
- .statusMI span.mp3-finding, .statusMI span.mp3-tint, div.statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
280
- .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
281
-
282
-
283
- /* TRANSPORT BUTTONS */
284
- div.transport-MI { position:absolute; width:auto; height:36px; right:2px; bottom:0px; border:0; z-index:20; }
285
- div.transport-MI div { background-image: url("images/transport-darkbg-trans2.png"); text-indent:-9999px !important; float:right; cursor:pointer; }
286
-
287
- div.play-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
288
- div.play-mjp:hover { background-position:-110px -32px; }
289
-
290
- div.pause-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
291
- div.pause-mjp:hover { background-position:-2px -32px; }
292
-
293
- div.prev-mjp { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
294
- div.prev-mjp:hover { background-position:-32px -33px; }
295
-
296
- div.next-mjp { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
297
- div.next-mjp:hover { background-position:-57px -33px; }
298
-
299
- div.stop-mjp { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
300
- div.stop-mjp:hover { background-position:-81px -32px; }
301
-
302
- /* PLAYLIST TOGGLE */
303
- div.playlist-toggle-MI { position:absolute; cursor:pointer; z-index:20; font-size:8px; bottom:1px; left:1px; height:12px; background:#505050; color:#aaa; padding:3px 6px 0px 5px; line-height:10px; min-width:24px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
304
- div.playlist-toggle-MI:hover { background:#585858; color:#bbb; }
305
-
306
- /* DOWNLOAD BUTTON */
307
- div.dloadmp3-MI { position:absolute; min-height:11px; cursor:pointer; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:47px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t40b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
308
- div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
309
- div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
310
- div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
311
- div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
312
- div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
313
- div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
314
- div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
315
-
316
- /* POPOUT BUTTON */
317
- div.mp3j-popout-MI { position:absolute; cursor:pointer; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:16px; left:0px; height:17px; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #585858; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -6px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default;
318
- color:#aaa; z-index:20; }
319
- div.mp3j-popout-MI:hover { color:#bbb; background-position:-8px -36px; border:1px solid #585858; }
320
-
321
-
322
- /* VOLUME */
323
- div.MIsliderVolume { position:absolute; top:6px; right:10px; width:60px; height:4px !important; background:#606060; border:1px solid #404040; cursor:pointer; font-size:1px; z-index:150; }
324
- div.MIsliderVolume .ui-widget-header { background:#707070 url('images/vol-grad60w2.png') repeat-y -15px top; }
325
-
326
- div.MIsliderVolume .ui-slider-handle {
327
- height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; z-index:150; overflow:hidden !important; cursor:pointer;
328
-
329
-
330
- top:-5px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; border:1px solid #505050; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;
331
- }
332
-
333
- div.MIsliderVolume .ui-slider-handle:hover { }
334
- div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { outline:none; }
335
-
336
- /* LOADER AND POS SLIDER */
337
- div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
338
- div.bars_holder { position:absolute; left:0px; right:0px; bottom:38px; font-size:1px; cursor:default; background-image: url('images/t40b.png'); background-repeat: repeat-x; background-position: left bottom;
339
- top:auto; height:8px; border-top:1px solid #606060; background-color:#808080;
340
-
341
- }
342
-
343
-
344
-
345
- div.loadMI_mp3j { bottom:1px; }
346
- div.poscolMI_mp3j { bottom:1px; }
347
- div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
348
- div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:90; }
349
- div.posbarMI_mp3j { bottom:0px; width:100%; }
350
- div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
351
- div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
352
-
353
-
354
- /* FORCED DOWNLOAD FRAME
355
- ------------------------ */
356
- /* MESSAGES */
357
- div.mp3j-finfo {
358
- position:absolute !important;
359
- top:36px;
360
- z-index:9999;
361
- width:80%;
362
- left:10%;
363
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
364
- background:url('images/fdloadB-x.png') repeat-x left top;
365
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
366
- padding:0;
367
- min-height:31px;
368
- overflow:hidden;
369
- min-width:170px;
370
- }
371
-
372
- div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
373
- div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
374
- div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader-w2.gif') no-repeat center 37px; width:auto; padding:0px !important; height:100%; }
375
- div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
376
- div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top; }
377
- div.mp3j-finfo-close:hover { color:#eee !important; }
378
-
379
- div.mp3j-finfo-txt h2 { font-size:15px !important; color:#fff !important; margin:0 0 10px 0 !important; }
380
- div.mp3j-finfo-txt h3 { font-size:14px !important; color:#fff !important; margin:0 0 15px 0 !important; }
381
- div.mp3j-finfo-txt p { font-size:11px !important; color:#fff !important; line-height:13px !important; margin:0 0 5px 0 !important; }
382
- div.mp3j-finfo-txt a { }
383
-
384
-
385
-
386
- /* backwards compat
387
- ------------------- */
388
- div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
389
- div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
390
- ul.ul-mjp.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
391
- ul.ul-mjp.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
392
-
393
-
394
- .mp3j-nosolution,
395
- .s-nosolution
396
- {
397
- padding:10px 5% 10px 5%;
398
- border:1px solid #c0c0c0;
399
- background:#f0f0f0;
400
- color:#333;
401
- top:4px;
402
- left:4px;
403
- right:4px;
404
- -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
405
- font-size:13px;
406
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
407
- }
408
-
409
-
410
- /*-------------------------
411
- [mp3j] & [mp3t] SHORTCODES
412
- ==================================== */
413
- div.mjp-s-wrapper.s-text { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
414
- div.mjp-s-wrapper.s-graphic { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
415
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
416
- span.indi_mp3j { position:relative; padding-left:2px; }
417
-
418
- span.T_mp3j span { font-size:0.7em }
419
-
420
- /* BARS */
421
- span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
422
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
423
- /* mp3t */
424
- span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0px solid #f77; background:none !important; }
425
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
426
- span.posbar_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat; top:-1px; margin-left:-4px; border:1px solid #bbb; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
427
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat; border-color:#999; }
428
-
429
- /* mp3j */
430
- span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
431
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-450; height:100%; }
432
- span.posbarB_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #bbb; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
433
- span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat 0px 0px; border-color:#999; }
434
-
435
- /* SPAN TRANSPORT */
436
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
437
- span.group_wrap { position:relative; width:auto; margin:0px; }
438
- span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
439
- font-size:14px !important; padding:1px 0px 7px 8px; margin:0 5px 0px 2px; background-color:#e0e0e0; background-repeat:no-repeat;
440
- }
441
- span.gfxbutton_mp3j.play-mjp { background:transparent url('images/transport-shard-B.png') no-repeat -81px -3px; }
442
- span.gfxbutton_mp3j.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -81px -35px;; }
443
- span.gfxbutton_mp3j.pause-mjp { background: transparent url('images/transport-shard-B.png') no-repeat -3px -3px; }
444
- span.gfxbutton_mp3j.pause-mjp:hover { background: transparent url('images/transport-shard-B.png') no-repeat -3px -35px; }
445
-
446
- /* VOLUMES */
447
- span.vol_mp3t { position:absolute; top:-7px; right:3px; width:90%; max-width:85px; height:3px; }
448
- span.vol_mp3j { position:absolute; top:-11px; right:12px; width:85%; max-width:82px; height:3px; }
449
- span.vol_mp3j.flipped { right:4px; }
450
- span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:#fff url('images/vol-grad60b2.png') repeat-y 0px top; }
451
-
452
- span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
453
- background: transparent url('images/vol-handle.png') no-repeat -1px 0px;
454
- height:11px;
455
- width:10px !important;
456
- padding:0px;
457
- margin-left:-6px;
458
- border:0px solid #505050;
459
- border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
460
- z-index:600;
461
- overflow:hidden !important;
462
- cursor:default;
463
- top:-5px;
464
- }
465
- span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#575757; background-position:-21px 0px; }
466
- span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#575757; background-position:-21px 0px; }
467
-
468
- span.Smp3-finding,
469
- span.mp3-gtint {
470
- padding:0px 0px 0px 8px;
471
- overflow:hidden;
472
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
473
- }
474
-
475
- span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
476
- span.mp3-gtint { margin:0px 2px 0px -8px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
477
- span.tintmarg { margin:0 2px 0 3px; }
478
-
479
- span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 8px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
480
-
481
-
482
-
483
- /*----------------------
484
- [popout] SHORTCODE
485
- ================================================= */
486
- .popout-wrap-mjp {
487
- cursor:pointer;
488
- position:relative;
489
- border-width:0px;
490
- border-style:solid;
491
- background:transparent;
492
- padding:5px 10px 5px 0px;
493
-
494
- }
495
- .popout-wrap-mjp * { margin:0; padding:0; }
496
- .popout-text-mjp { float:left; }
497
- .popout-image-mjp {
498
- float:left;
499
- background-image:url('images/buttons-popout.png');
500
- background-repeat:no-repeat;
501
- background-position:-10px -62px;
502
- min-width:28px;
503
- min-height:28px;
504
- }
505
- .popout-image-mjp-custom { float:left; }
506
- .clearL-mjp { clear:left; }
507
-
508
-
509
-
510
- /*=================================================
511
-
512
- MODS
513
- (via 'style' param in shortcode)
514
- ================================================= */
515
-
516
- /* ===== "silver" ===== */
517
- .silver .innerx { background-position:left -45px; }
518
- .silver .transport-MI { height:37px; }
519
- .silver .transport-MI div { background-image:url("images/transport-hardW-shiny.png"); }
520
- .silver .bars_holder { background:url('images/t60w.png') repeat-x left bottom; }
521
- .silver .mp3j-popout-MI { color:#6c6c6c; background-position:-8px -65px; border-color:#b2b2b2; background-color:#aaa; }
522
- .silver .mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
523
- .silver div.playlist-toggle-MI { background:#bcbcbc; color:#707070; }
524
- .silver div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
525
- .silver .MI-image img { background-color:#bbb; }
526
-
527
- .silver div.mp3j-finfo { background:url('images/fdloadW-x.png') repeat-x left top; }
528
- .silver div.mp3j-finfo-gif { background:url('images/loader.gif') no-repeat center 37px; }
529
- .silver div.mp3j-finfo-close { color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
530
- .silver div.mp3j-finfo-close:hover { color:#888 !important; }
531
- .silver div.mp3j-finfo-txt h2 { color:#333 !important; }
532
- .silver div.mp3j-finfo-txt h3 { color:#333 !important; }
533
- .silver div.mp3j-finfo-txt p { color:#555 !important; }
534
-
535
-
536
- /* ===== "text" ===== */
537
- div.wrap-mjp.text { /*min-width:300px;*/ }
538
- .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
539
- .text div.innertab { bottom: 38px; }
540
- .text div.interface-mjp { background:none; }
541
- .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
542
- .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
543
- .text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
544
- .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
545
- .text div.jp-total-time { width:37px; left:100px; display:none; }
546
- .text div.statusMI { left:37px; width:70px !important; }
547
-
548
- .text div.transport-MI { height:26px; right:2px; bottom:12px; }
549
- .text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
550
- .text div.play-mjp { text-indent:6px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
551
- .text div.pause-mjp { text-indent:0px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
552
- .text div.prev-mjp, .text div.next-mjp { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
553
- .text div.stop-mjp { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
554
-
555
-
556
- .text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
557
- .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
558
- .text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
559
- .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
560
- .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
561
- .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
562
- .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
563
- .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
564
- .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
565
- .text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
566
- .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
567
- .text div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
568
- .text div.MIsliderVolume .ui-slider-handle, .text div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
569
- .text div.MIsliderVolume .ui-slider-handle:hover, .text div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
570
- .text div.MIsliderVolume .ui-state-active, .text div.MIsliderVolume .ui-widget-content .ui-state-active, .text div.vol_mp3j .ui-state-active, .text div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
571
- .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
572
-
573
- .text span.mjp-playing, .text span.mjp-paused, .text span.mjp-ready, .text span.mjp-stopped, .text span.mjp-connecting, .text span.mjp-buffering { display:inline; }
574
-
575
- /* ===== "noscreen" ===== */
576
- .noscreen div.interface-mjp { height:0px !important; }
577
- .noscreen div.player-track-title { display:none; }
578
- .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
579
- .noscreen div.innertab { bottom: 0px; top:0; display:none; }
580
- .noscreen div.dloadmp3-MI { bottom: 11px; }
581
- .noscreen div.transport-MI { bottom:17px; }
582
- .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
583
- .noscreen div.playlist-toggle-MI { bottom: 12px; }
584
- .noscreen div.mp3j-popout-MI { bottom: 20px; }
585
- .noscreen div.MIsliderVolume { bottom: 43px; }
586
- .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
587
- .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
588
- .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
589
- .noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:0px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
590
- .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
591
- .noscreen .MI-image { top:15px; }
592
-
593
- /* ===== "bars100" ===== */
594
- .bars100 div.player-track-title { left:112px; }
595
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
596
- .bars100 div.bars_holder { left:102px; width:auto; }
597
- .bars100 .MI-image img { padding:1px; }
598
- .bars100 div.player-track-title { top:20px; }
599
-
600
- /* ===== "bars150" ===== */
601
- .bars150 div.player-track-title { left:162px; }
602
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
603
- .bars150 div.bars_holder { left:152px; width:auto; }
604
- .bars150 .MI-image img { padding:1px; }
605
- .bars150 div.player-track-title { top:20px; }
606
-
607
- /* ===== "bars200" ===== */
608
- .bars200 div.player-track-title { left:212px; }
609
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
610
- .bars200 div.bars_holder { left:202px; width:auto; }
611
- .bars200 .MI-image img { padding:1px; }
612
- .bars200 div.player-track-title { top:20px; }
613
-
614
- /* ===== "bars250" ===== */
615
- .bars250 div.player-track-title { left:262px; }
616
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
617
- .bars250 div.bars_holder { left:252px; width:auto; }
618
- .bars250 .MI-image img { padding:1px; }
619
- .bars250 div.player-track-title { top:20px; }
620
-
621
- /* ===== "bars300" ===== */
622
- .bars300 div.player-track-title { left:312px; }
623
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
624
- .bars300 div.bars_holder { left:302px; width:auto; }
625
- .bars300 .MI-image img { padding:1px; }
626
- .bars300 div.player-track-title { top:20px; }
627
-
628
- /* ===== "bars350" ===== */
629
- .bars350 div.player-track-title { left:362px; }
630
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
631
- .bars350 div.bars_holder { left:352px; width:auto; }
632
- .bars350 .MI-image img { padding:1px; }
633
- .bars350 div.player-track-title { top:20px; }
634
-
635
- /* ===== "bars400" ===== */
636
- .bars400 div.player-track-title { left:412px; }
637
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
638
- .bars400 div.bars_holder { left:402px; width:auto; }
639
- .bars400 .MI-image img { padding:1px; }
640
- .bars400 div.player-track-title { top:20px; }
641
-
642
-
643
-
644
- /* ===== bigger1 ===== */
645
- div.bigger1 span { font-size:18px !important; line-height:26px !important; margin:0 !important; }
646
- .bigger1 span.load_mp3j .ui-slider-handle,
647
- .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
648
- .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
649
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
650
- .bigger1 span.play-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 5px; }
651
- .bigger1 span.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -27px; }
652
- .bigger1 span.pause-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 5px; }
653
- .bigger1 span.pause-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -27px; }
654
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:4px; width:85%; max-width:100px; height:2px; }
655
-
656
- .bigger1 span.Smp3-finding,
657
- .bigger1 span.mp3-gtint,
658
- .bigger1 span.Smp3-tint {
659
- padding:0px 0px 0px 10px !important;
660
- font-size:10px !important;
661
- }
662
- .bigger1 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
663
- .bigger1 span.mp3-gtint { margin:0px 8px 0px -10px !important; }
664
- .bigger1 span.tintmarg { margin:0 8px 0 8px !important; }
665
-
666
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
667
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
668
- .bigger1 ul.ul-mjp li a, .bigger1 ul.ul-mjp li { font-size:16px !important; line-height:19px !important; }
669
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
670
-
671
- .bigger1 span.textbutton_mp3j, .bigger1 span.textbutton_mp3j:hover { background:none; }
672
-
673
- /* ===== "bigger2" ===== */
674
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
675
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
676
- .bigger2 ul.ul-mjp li a, .bigger2 ul.ul-mjp li { font-size:20px !important; line-height:24px !important; }
677
- div.bigger2 span { font-size:23px !important; line-height:25px !important; margin:0 !important; }
678
- .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:34px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
679
- .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:34px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
680
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
681
- .bigger2 span.play-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px !important; }
682
- .bigger2 span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
683
- .bigger2 span.pause-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
684
- .bigger2 span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
685
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
686
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
687
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
688
-
689
- .bigger2 span.Smp3-finding,
690
- .bigger2 span.mp3-gtint,
691
- .bigger2 span.Smp3-tint {
692
- padding:0px 0px 0px 12px !important;
693
- font-size:12px !important;
694
- }
695
- .bigger2 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
696
- .bigger2 span.mp3-gtint { margin:0px 8px 0px -12px !important; }
697
- .bigger2 span.tintmarg { margin:0 8px 0 8px !important; }
698
-
699
- .bigger2.wh .play-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
700
- .bigger2.wh .play-mjp:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
701
- .bigger2.wh .pause-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
702
- .bigger2.wh .pause-mjp:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
703
-
704
- .bigger2 span.textbutton_mp3j, .bigger2 span.textbutton_mp3j:hover { background:none; }
705
-
706
- /* ===== bigger3 ===== */
707
- div.bigger3 span { font-size:28px !important; line-height:36px !important; margin:0 !important; }
708
- .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:44px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
709
- .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
710
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
711
- .bigger3 span.play-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px !important; }
712
- .bigger3 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
713
- .bigger3 span.pause-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
714
- .bigger3 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
715
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
716
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
717
- .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
718
- .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
719
-
720
- .bigger3 span.Smp3-finding,
721
- .bigger3 span.mp3-gtint,
722
- .bigger3 span.Smp3-tint {
723
- padding:0px 0px 0px 14px !important;
724
- font-size:16px !important;
725
- }
726
- .bigger3 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
727
- .bigger3 span.mp3-gtint { margin:0px 8px 0px -14px !important; }
728
- .bigger3 span.tintmarg { margin:0 8px 0 8px !important; }
729
-
730
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
731
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
732
- .bigger3 ul.ul-mjp li a, .bigger3 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
733
-
734
- .bigger3.bl span.play-mjp { background:url('images/play-dark2-b.png') no-repeat -177px center; }
735
- .bigger3.bl span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
736
- .bigger3.bl span.pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
737
- .bigger3.bl span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
738
- .bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
739
- .bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
740
- .bigger3 span.textbutton_mp3j, .bigger3 span.textbutton_mp3j:hover { background:none; }
741
-
742
- /* ===== bigger4 ===== */
743
- div.bigger4 span { font-size:38px !important; line-height:46px !important; margin:0 !important; }
744
- .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:54px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
745
- .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
746
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
747
- .bigger4 span.play-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px !important; }
748
- .bigger4 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
749
- .bigger4 span.pause-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
750
- .bigger4 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
751
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
752
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
753
- .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
754
- .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
755
-
756
- .bigger4 span.Smp3-finding,
757
- .bigger4 span.mp3-gtint,
758
- .bigger4 span.Smp3-tint {
759
- padding:0px 0px 0px 20px !important;
760
- font-size:20px !important;
761
- }
762
- .bigger4 span.Smp3-finding { margin:0px 0px 0px 6px !important;}
763
- .bigger4 span.mp3-gtint { margin:0px 6px 0px -20px !important; }
764
- .bigger4 span.tintmarg { margin:0 6px 0 6px !important; }
765
-
766
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
767
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
768
- .bigger4 ul.ul-mjp li a, .bigger4 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
769
-
770
- .bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
771
- .bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
772
- .bigger4.bl .play-mjp { background:url('images/play-dark2-b.png') no-repeat -167px center; }
773
- .bigger4.bl .play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
774
- .bigger4.bl .pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
775
- .bigger4.bl .pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
776
- .bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
777
- .bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
778
- .bigger4 span.textbutton_mp3j, .bigger4 span.textbutton_mp3j:hover { background:none; }
779
-
780
- /* ===== bigger5 ===== */
781
- div.bigger5 span { font-size:48px !important; line-height:66px !important; margin:0 !important; }
782
- .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
783
- .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y -10px top; border:1px solid #aaa; }
784
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
785
- .bigger5 span.play-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -160px center; border:0px solid #bbb; margin-left:10px !important; }
786
- .bigger5 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -411px center; }
787
- .bigger5 span.pause-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
788
- .bigger5 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
789
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:103px; top:-10px; }
790
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
791
- .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
792
- .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
793
- .bigger5 span.Smp3-finding,
794
- .bigger5 span.mp3-gtint,
795
- .bigger5 span.Smp3-tint {
796
- padding:0px 0px 0px 24px !important;
797
- font-size:22px !important;
798
- }
799
- .bigger5 span.Smp3-finding { margin:0px 0px 0px 10px !important;}
800
- .bigger5 span.mp3-gtint { margin:0px 10px 0px -24px !important; }
801
- .bigger5 span.tintmarg { margin:0 10px 0 10px !important; }
802
-
803
-
804
-
805
- /* ===== smaller ===== */
806
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
807
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
808
- .smaller ul.ul-mjp li a, .smaller ul.ul-mjp li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
809
-
810
- /* ===== outline ==== */
811
- .outline span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; background: transparent; }
812
- .outline span.play-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
813
- .outline span.play-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
814
- .outline span.pause-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
815
- .outline span.pause-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
816
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
817
- .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
818
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
819
- .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
820
- .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
821
- .dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
822
- .dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
823
-
824
- /* ===== wtransbars ==== */
825
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.2; filter:alpha(opacity=20); }
826
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
827
-
828
- /* ===== btransbars ==== */
829
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.2; filter:alpha(opacity=20); }
830
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
831
-
832
- /* ===== fullbars === */
833
- .fullbars div.innerleft { display:none; }
834
- .fullbars div.innerright { display:none; }
835
- .fullbars div.MIsliderVolume { top:0px; right:4px; width:108px; height:6px !important; background:transparent; border:0px; }
836
- .fullbars div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
837
- .fullbars div.dloadmp3-MI { bottom:39px; }
838
- .fullbars div.bars_holder { left:0px; right:0px; bottom:38px; top:0px; height:auto; background-image: url('images/t40b.png'); background-repeat: repeat-x; background-position: left bottom; background-color:transparent; border:none; }
839
- .fullbars div.jp-play-time, .fullbars div.jp-total-time, .fullbars div.statusMI { bottom:42px;}
840
- .fullbars div.MIsliderVolume .ui-slider-handle { border:0px !important; top:-2px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; }
841
- .fullbars div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
842
- .fullbars div.MIsliderVolume .ui-state-active, .fullbars div.MIsliderVolume .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
843
-
844
-
845
- /* ===== user style param ===== */
846
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
847
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
848
- .nopn div.prev-mjp { display:none; }
849
- .nopn div.next-mjp { display:none; }
850
- .nostop div.stop-mjp { display:none; }
851
- .notitle div.player-track-title { display:none; }
852
- div.wrap-mjp.noplayer { display:none; }
853
-
854
- .novol div.mjp-volwrap { display:none; }
855
- .novol div.bars_holder { left:0px; right:0px; }
856
- .novol span.vol_mp3t,
857
- .novol span.vol_mp3j { display:none; }
858
-
859
- .nobars .bars_holder { display:none; }
860
-
 
 
861
 
1
+ /*
2
+ -------------------------------
3
+
4
+ Skin: v1 Dark (Legacy support skin)
5
+ ---
6
+ Plugin: MP3-jPlayer v2
7
+ Package: WordPress
8
+ Desc: Includes legacy css that supports various modifier
9
+ classes from MP3-jPlayer version 1 that have been
10
+ superceeded in version 2.
11
+ Info: http://mp3-jplayer.com
12
+ http://sjward.org
13
+
14
+ -------------------------------
15
+ */
16
+
17
+
18
+ /** - - - - - - - - - - - - - - - - - - - - -
19
+ * Functional CSS, careful with these bits!
20
+ * - - - - - - - - - - - - - - - - - - - - - */
21
+
22
+ /* ===== ===== */
23
+ .wrap-mjp { /* MAIN WRAPPER (default class) */
24
+ border: 0;
25
+ margin: 0;
26
+ background: none;
27
+ min-width: 116px;
28
+ }
29
+ .wrap-mjp, .wrap-mjp * {
30
+ -webkit-box-sizing: content-box !important;
31
+ -moz-box-sizing: content-box !important;
32
+ box-sizing: content-box !important;
33
+ }
34
+
35
+ /* ===== ===== */
36
+ .subwrap-MI,
37
+ .jp-innerwrap,
38
+ .interface-mjp,
39
+ .listwrap_mp3j,
40
+ .wrapper-mjp {
41
+ position: relative !important;
42
+ width: 100%;
43
+ border: 0;
44
+ margin: 0;
45
+ padding: 0;
46
+ cursor: default;
47
+ }
48
+
49
+ .subwrap-MI { overflow: hidden; padding:2px 2px 2px 2px; }
50
+ .subwrap-MI *,
51
+ .mjp-s-wrapper {
52
+ -moz-user-select: -moz-none;
53
+ -khtml-user-select: none;
54
+ -webkit-user-select: none;
55
+ -ms-user-select: none;
56
+ user-select: none;
57
+ }
58
+
59
+ /* ===== ===== */
60
+ .mp3j-nosolution {
61
+ position:absolute;
62
+ z-index:9999;
63
+ height:auto;
64
+ }
65
+ .s-nosolution {
66
+ position:relative;
67
+ display:inline-block;
68
+ margin-bottom:20px;
69
+ height:auto;
70
+ }
71
+
72
+ /* ===== ===== */
73
+ .wrapper-mjp ul {
74
+ position: static; /* needed in some themes */
75
+ }
76
+ .playlist-colour {
77
+ position:absolute;
78
+ width:100%;
79
+ height:100%;
80
+ left:0px;
81
+ top:0px;
82
+ }
83
+
84
+ /* ===== playlist grads ===== */
85
+ ul.lighten1-mjp {
86
+ background-image: url('images/pl-lighten1.png');
87
+ background-position: left 0px;
88
+ background-repeat: repeat-x;
89
+ }
90
+ ul.lighten2-mjp {
91
+ background-image: url('images/pl-lighten2.png');
92
+ background-position: left 0px;
93
+ background-repeat: repeat-x;
94
+ }
95
+ ul.darken1-mjp {
96
+ background-image: url('images/pl-gradlong10g.png');
97
+ background-position: left -130px;
98
+ background-repeat: repeat-x;
99
+ }
100
+ ul.darken2-mjp {
101
+ background-image: url('images/pl-darken1.png');
102
+ background-position: left 0px;
103
+ background-repeat: repeat-x;
104
+ }
105
+
106
+ /* ===== playlist dividers ===== */
107
+ ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom !important; }
108
+ ul.med-mjp li { background:url('images/t75e.png') repeat-x left bottom !important; }
109
+ ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom !important; }
110
+
111
+ /* ===== posbar grads ===== */
112
+ .poscolMI_mp3j.soften-mjp {
113
+ background-image: url('images/posbar-soften-2.png');
114
+ background-position: right top;
115
+ background-repeat: repeat-y;
116
+ }
117
+ .poscolMI_mp3j.softenT-mjp {
118
+ background-image: url('images/posbar-soften-tipped-2.png');
119
+ background-position: right top;
120
+ background-repeat: repeat-y;
121
+ }
122
+ .poscolMI_mp3j.darken-mjp {
123
+ background-image: url('images/posbar-darken2-2.png');
124
+ background-position: right top;
125
+ background-repeat: repeat-y;
126
+ }
127
+
128
+
129
+ .left-mjp { text-align:left; }
130
+ .centre-mjp { text-align:center; }
131
+ .right-mjp { text-align: right; }
132
+
133
+ .bold-mjp,
134
+ .childBold-mjp * { font-weight:700; }
135
+
136
+ .norm-mjp,
137
+ .childNorm-mjp * { font-weight:500; }
138
+
139
+ .italic-mjp,
140
+ .childItalic-mjp * { font-style:italic; }
141
+
142
+ .plain-mjp,
143
+ .childPlain-mjp * { font-style:normal; }
144
+
145
+
146
+ /* ===== fonts ===== */
147
+ .arial-mjp,
148
+ ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
149
+ .verdana-mjp,
150
+ ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
151
+ .times-mjp,
152
+ ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
153
+ .palatino-mjp,
154
+ ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
155
+ .courier-mjp,
156
+ ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
157
+ .lucida-mjp,
158
+ ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
159
+ .gill-mjp,
160
+ ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
161
+
162
+ .player-track-title,
163
+ .player-track-title div,
164
+ .a-mjp { line-height: 110% !important; }
165
+
166
+ .player-track-title div { font-size:0.7em; }
167
+
168
+ .titleHide-mjp { display:none; }
169
+
170
+ /* ===== jQuery UI ===== */
171
+ .ui-state-disabled { cursor:default !important; }
172
+ .ui-slider {
173
+ position:relative;
174
+ text-align:left;
175
+ }
176
+ .ui-slider .ui-slider-handle {
177
+ position:absolute;
178
+ z-index:200;
179
+ cursor:default;
180
+ }
181
+ .ui-slider .ui-slider-range {
182
+ position:absolute;
183
+ z-index:1;
184
+ font-size:.7em;
185
+ display:block;
186
+ border:0;
187
+ }
188
+ .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
189
+ .ui-slider-horizontal .ui-slider-range-min { left:0; }
190
+ .ui-slider-horizontal .ui-slider-range-max { right:0; }
191
+ .ui-state-default,
192
+ .ui-widget-content .ui-state-default { outline:none; border:0px; }
193
+
194
+
195
+ /* ===== ===== */
196
+ div.mp3j-dlframe,
197
+ iframe.mp3j-dlframe {
198
+ width:1px;
199
+ height:1px;
200
+ overflow:hidden;
201
+ margin:0;
202
+ padding:0;
203
+ display:none !important;
204
+ }
205
+
206
+ /* ===== ===== */
207
+ .MI-image { position:relative; padding:0; }
208
+ .MI-image img { border:none; padding:0px; width:100%; height:auto; }
209
+ .MI-image.Himg img { width:auto; height:100%; }
210
+ .MI-image.Fimg img { width:auto; height:auto; }
211
+ .MI-image a:hover img { }
212
+
213
+ .MI-image.left-mjp { margin:0 auto 0 0; }
214
+ .MI-image.centre-mjp { margin: 0 auto; }
215
+ .MI-image.right-mjp { margin: 0 0 0 auto; }
216
+
217
+ .unsel-mjp {
218
+ -moz-user-select: -moz-none;
219
+ -khtml-user-select: none;
220
+ -webkit-user-select: none;
221
+ -ms-user-select: none;
222
+ user-select: none;
223
+ }
224
+
225
+ .innerExt1 { display:none; }
226
+ .innerExt2 { display:none; }
227
+ div.mjp-volwrap { position:absolute; top:0; right:0; }
228
+
229
+ /*---------------------
230
+ [mp3-jplayer] SHORTCODE
231
+ ==================================== */
232
+
233
+ /* SUB WRAPPERS */
234
+ div.jp-innerwrap { background:none; }
235
+ div.interface-mjp { padding:0 0 39px 0; }
236
+ div.listwrap_mp3j { margin-top:0px; /* background set from admin */ }
237
+
238
+ /* BACKGROUNDS */
239
+ div.innerx, div.innerleft, div.innerright, div.innertab { position:absolute; }
240
+ div.innerx { background:url('images/case-grad-x.png') repeat-x left -119px; width:auto; height:38px; left:0px; right:0px; bottom:0px; z-index:10;
241
+ -webkit-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
242
+ -moz-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
243
+ box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
244
+ }
245
+ div.innerleft { display:block; position: absolute; height: 20px; right: 88px; left: -1px; top: 0px; background: url('images/caseD-x.png') repeat-x left top; z-index:125; }
246
+ div.innerright { display:block; position: absolute; height: 20px; width: 90px; right: -2px; top: 0px; background: url('images/caseD-r.png') no-repeat right top; z-index:125; }
247
+ div.innertab { left:0px; top:0px; right:0px; width:100%; bottom:38px; }
248
+
249
+ /* PLAYLIST */
250
+ .ul-mjp { margin:0px !important; padding:0px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
251
+ .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
252
+ .li-mjp:before { content:none !important; }
253
+ .a-mjp {
254
+ border:0 !important;
255
+ text-decoration:none !important;
256
+ display:block !important; width:auto !important;
257
+ outline:none !important;
258
+ padding:7px 10px 7px 14px !important;
259
+ text-shadow: none !important;
260
+ }
261
+
262
+ /* SCREEN */
263
+ div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI {
264
+ position:absolute;
265
+ z-index:50;
266
+ }
267
+
268
+ div.player-track-title div { position:relative; }
269
+
270
+ div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:49px; text-align:left; }
271
+ div.jp-play-time { right:90px; }
272
+ div.jp-total-time { right:6px; width:auto; }
273
+
274
+ span.mp3-finding, span.mp3-tint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
275
+ span.mp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
276
+ span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
277
+ div.statusMI span.tintmarg { margin:0 2px 0 3px; }
278
+
279
+ div.statusMI { right:27px; width:58px !important; height:10px; }
280
+ .statusMI span.mp3-finding, .statusMI span.mp3-tint, div.statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
281
+ .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
282
+
283
+
284
+ /* TRANSPORT BUTTONS */
285
+ div.transport-MI { position:absolute; width:auto; height:36px; right:2px; bottom:0px; border:0; z-index:20; }
286
+ div.transport-MI div { background-image: url("images/transport-darkbg-trans2.png"); text-indent:-9999px !important; float:right; cursor:pointer; }
287
+
288
+ div.play-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
289
+ div.play-mjp:hover { background-position:-110px -32px; }
290
+
291
+ div.pause-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
292
+ div.pause-mjp:hover { background-position:-2px -32px; }
293
+
294
+ div.prev-mjp { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
295
+ div.prev-mjp:hover { background-position:-32px -33px; }
296
+
297
+ div.next-mjp { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
298
+ div.next-mjp:hover { background-position:-57px -33px; }
299
+
300
+ div.stop-mjp { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
301
+ div.stop-mjp:hover { background-position:-81px -32px; }
302
+
303
+ /* PLAYLIST TOGGLE */
304
+ div.playlist-toggle-MI { position:absolute; cursor:pointer; z-index:20; font-size:8px; bottom:1px; left:1px; height:12px; background:#505050; color:#aaa; padding:3px 6px 0px 5px; line-height:10px; min-width:24px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
305
+ div.playlist-toggle-MI:hover { background:#585858; color:#bbb; }
306
+
307
+ /* DOWNLOAD BUTTON */
308
+ div.dloadmp3-MI { position:absolute; min-height:11px; cursor:pointer; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:47px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t40b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
309
+ div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
310
+ div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
311
+ div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
312
+ div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
313
+ div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
314
+ div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
315
+ div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
316
+
317
+ /* POPOUT BUTTON */
318
+ div.mp3j-popout-MI { position:absolute; cursor:pointer; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif; bottom:16px; left:0px; height:17px; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #585858; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -6px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default;
319
+ color:#aaa; z-index:20; }
320
+ div.mp3j-popout-MI:hover { color:#bbb; background-position:-8px -36px; border:1px solid #585858; }
321
+
322
+
323
+ /* VOLUME */
324
+ div.MIsliderVolume { position:absolute; top:6px; right:10px; width:60px; height:4px !important; background:#606060; border:1px solid #404040; cursor:pointer; font-size:1px; z-index:150; }
325
+ div.MIsliderVolume .ui-widget-header { background:#707070 url('images/vol-grad60w2.png') repeat-y -15px top; }
326
+
327
+ div.MIsliderVolume .ui-slider-handle {
328
+ height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; z-index:150; overflow:hidden !important; cursor:pointer;
329
+
330
+
331
+ top:-5px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; border:1px solid #505050; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;
332
+ }
333
+
334
+ div.MIsliderVolume .ui-slider-handle:hover { }
335
+ div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { outline:none; }
336
+
337
+ /* LOADER AND POS SLIDER */
338
+ div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
339
+ div.bars_holder { position:absolute; left:0px; right:0px; bottom:38px; font-size:1px; cursor:default; background-image: url('images/t40b.png'); background-repeat: repeat-x; background-position: left bottom;
340
+ top:auto; height:8px; border-top:1px solid #606060; background-color:#808080;
341
+
342
+ }
343
+
344
+
345
+
346
+ div.loadMI_mp3j { bottom:1px; }
347
+ div.poscolMI_mp3j { bottom:1px; }
348
+ div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
349
+ div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:90; }
350
+ div.posbarMI_mp3j { bottom:0px; width:100%; }
351
+ div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
352
+ div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
353
+
354
+
355
+ /* FORCED DOWNLOAD FRAME
356
+ ------------------------ */
357
+ /* MESSAGES */
358
+ div.mp3j-finfo {
359
+ position:absolute !important;
360
+ top:36px;
361
+ z-index:9999;
362
+ width:80%;
363
+ left:10%;
364
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
365
+ background:url('images/fdloadB-x.png') repeat-x left top;
366
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
367
+ padding:0;
368
+ min-height:31px;
369
+ overflow:hidden;
370
+ min-width:170px;
371
+ text-align: left;
372
+ }
373
+
374
+ div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
375
+ div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
376
+ div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader-w2.gif') no-repeat center 37px; width:auto; padding:0px !important; height:100%; }
377
+ div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
378
+ div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top; }
379
+ div.mp3j-finfo-close:hover { color:#eee !important; }
380
+
381
+ div.mp3j-finfo-txt h2 { font-size:15px !important; color:#fff !important; margin:0 0 10px 0 !important; }
382
+ div.mp3j-finfo-txt h3 { font-size:14px !important; color:#fff !important; margin:0 0 15px 0 !important; }
383
+ div.mp3j-finfo-txt p { font-size:11px !important; color:#fff !important; line-height:13px !important; margin:0 0 5px 0 !important; }
384
+ div.mp3j-finfo-txt a { }
385
+
386
+
387
+
388
+ /* backwards compat
389
+ ------------------- */
390
+ div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
391
+ div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
392
+ ul.ul-mjp.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
393
+ ul.ul-mjp.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
394
+
395
+
396
+ .mp3j-nosolution,
397
+ .s-nosolution
398
+ {
399
+ padding:10px 5% 10px 5%;
400
+ border:1px solid #c0c0c0;
401
+ background:#f0f0f0;
402
+ color:#333;
403
+ top:4px;
404
+ left:4px;
405
+ right:4px;
406
+ -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
407
+ font-size:13px;
408
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
409
+ }
410
+
411
+
412
+ /*-------------------------
413
+ [mp3j] & [mp3t] SHORTCODES
414
+ ==================================== */
415
+ div.mjp-s-wrapper.s-text { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
416
+ div.mjp-s-wrapper.s-graphic { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
417
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
418
+ span.indi_mp3j { position:relative; padding-left:2px; }
419
+
420
+ span.T_mp3j span { font-size:0.7em }
421
+
422
+ /* BARS */
423
+ span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
424
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
425
+ /* mp3t */
426
+ span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0px solid #f77; background:none !important; }
427
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
428
+ span.posbar_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat; top:-1px; margin-left:-4px; border:1px solid #bbb; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
429
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat; border-color:#999; }
430
+
431
+ /* mp3j */
432
+ span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
433
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-450; height:100%; }
434
+ span.posbarB_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #bbb; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
435
+ span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat 0px 0px; border-color:#999; }
436
+
437
+ /* SPAN TRANSPORT */
438
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
439
+ span.group_wrap { position:relative; width:auto; margin:0px; }
440
+ span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
441
+ font-size:14px !important; padding:1px 0px 7px 8px; margin:0 5px 0px 2px; background-color:#e0e0e0; background-repeat:no-repeat;
442
+ }
443
+ span.gfxbutton_mp3j.play-mjp { background:transparent url('images/transport-shard-B.png') no-repeat -81px -3px; }
444
+ span.gfxbutton_mp3j.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -81px -35px;; }
445
+ span.gfxbutton_mp3j.pause-mjp { background: transparent url('images/transport-shard-B.png') no-repeat -3px -3px; }
446
+ span.gfxbutton_mp3j.pause-mjp:hover { background: transparent url('images/transport-shard-B.png') no-repeat -3px -35px; }
447
+
448
+ /* VOLUMES */
449
+ span.vol_mp3t { position:absolute; top:-7px; right:3px; width:90%; max-width:85px; height:3px; }
450
+ span.vol_mp3j { position:absolute; top:-11px; right:12px; width:85%; max-width:82px; height:3px; }
451
+ span.vol_mp3j.flipped { right:4px; }
452
+ span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:#fff url('images/vol-grad60b2.png') repeat-y 0px top; }
453
+
454
+ span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
455
+ background: transparent url('images/vol-handle.png') no-repeat -1px 0px;
456
+ height:11px;
457
+ width:10px !important;
458
+ padding:0px;
459
+ margin-left:-6px;
460
+ border:0px solid #505050;
461
+ border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
462
+ z-index:600;
463
+ overflow:hidden !important;
464
+ cursor:default;
465
+ top:-5px;
466
+ }
467
+ span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#575757; background-position:-21px 0px; }
468
+ span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#575757; background-position:-21px 0px; }
469
+
470
+ span.Smp3-finding,
471
+ span.mp3-gtint {
472
+ padding:0px 0px 0px 8px;
473
+ overflow:hidden;
474
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
475
+ }
476
+
477
+ span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
478
+ span.mp3-gtint { margin:0px 2px 0px -8px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
479
+ span.tintmarg { margin:0 2px 0 3px; }
480
+
481
+ span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 8px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
482
+
483
+
484
+
485
+ /*----------------------
486
+ [popout] SHORTCODE
487
+ ================================================= */
488
+ .popout-wrap-mjp {
489
+ cursor:pointer;
490
+ position:relative;
491
+ border-width:0px;
492
+ border-style:solid;
493
+ background:transparent;
494
+ padding:5px 10px 5px 0px;
495
+
496
+ }
497
+ .popout-wrap-mjp * { margin:0; padding:0; }
498
+ .popout-text-mjp { float:left; }
499
+ .popout-image-mjp {
500
+ float:left;
501
+ background-image:url('images/buttons-popout.png');
502
+ background-repeat:no-repeat;
503
+ background-position:-10px -62px;
504
+ min-width:28px;
505
+ min-height:28px;
506
+ }
507
+ .popout-image-mjp-custom { float:left; }
508
+ .clearL-mjp { clear:left; }
509
+
510
+
511
+
512
+ /*=================================================
513
+
514
+ MODS
515
+ (via 'style' param in shortcode)
516
+ ================================================= */
517
+
518
+ /* ===== "silver" ===== */
519
+ .silver .innerx { background-position:left -45px; }
520
+ .silver .transport-MI { height:37px; }
521
+ .silver .transport-MI div { background-image:url("images/transport-hardW-shiny.png"); }
522
+ .silver .bars_holder { background:url('images/t60w.png') repeat-x left bottom; }
523
+ .silver .mp3j-popout-MI { color:#6c6c6c; background-position:-8px -65px; border-color:#b2b2b2; background-color:#aaa; }
524
+ .silver .mp3j-popout-MI:hover { color:#606060; background-position:-8px -95px; }
525
+ .silver div.playlist-toggle-MI { background:#bcbcbc; color:#707070; }
526
+ .silver div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
527
+ .silver .MI-image img { background-color:#bbb; }
528
+
529
+ .silver div.mp3j-finfo { background:url('images/fdloadW-x.png') repeat-x left top; }
530
+ .silver div.mp3j-finfo-gif { background:url('images/loader.gif') no-repeat center 37px; }
531
+ .silver div.mp3j-finfo-close { color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
532
+ .silver div.mp3j-finfo-close:hover { color:#888 !important; }
533
+ .silver div.mp3j-finfo-txt h2 { color:#333 !important; }
534
+ .silver div.mp3j-finfo-txt h3 { color:#333 !important; }
535
+ .silver div.mp3j-finfo-txt p { color:#555 !important; }
536
+
537
+
538
+ /* ===== "text" ===== */
539
+ div.wrap-mjp.text { /*min-width:300px;*/ }
540
+ .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
541
+ .text div.innertab { bottom: 38px; }
542
+ .text div.interface-mjp { background:none; }
543
+ .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
544
+ .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
545
+ .text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
546
+ .text div.jp-play-time { width:37px; left:0px; opacity:0.6; filter:alpha(opacity=60); }
547
+ .text div.jp-total-time { width:37px; left:100px; display:none; }
548
+ .text div.statusMI { left:37px; width:70px !important; }
549
+
550
+ .text div.transport-MI { height:26px; right:2px; bottom:12px; }
551
+ .text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
552
+ .text div.play-mjp { text-indent:6px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
553
+ .text div.pause-mjp { text-indent:0px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
554
+ .text div.prev-mjp, .text div.next-mjp { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
555
+ .text div.stop-mjp { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
556
+
557
+
558
+ .text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
559
+ .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
560
+ .text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
561
+ .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
562
+ .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
563
+ .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
564
+ .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
565
+ .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
566
+ .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
567
+ .text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
568
+ .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
569
+ .text div.MIsliderVolume { position:absolute; bottom:38px; top:auto; right:4px; width:108px !important; height:1px !important; background:transparent; border:0px; font-size:1px; cursor:default; z-index:150; }
570
+ .text div.MIsliderVolume .ui-slider-handle, .text div.vol_mp3j .ui-slider-handle { height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-7px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -41px 0px; z-index:150; overflow:hidden !important; cursor:default; }
571
+ .text div.MIsliderVolume .ui-slider-handle:hover, .text div.vol_mp3j .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
572
+ .text div.MIsliderVolume .ui-state-active, .text div.MIsliderVolume .ui-widget-content .ui-state-active, .text div.vol_mp3j .ui-state-active, .text div.vol_mp3j .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
573
+ .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
574
+
575
+ .text span.mjp-playing, .text span.mjp-paused, .text span.mjp-ready, .text span.mjp-stopped, .text span.mjp-connecting, .text span.mjp-buffering { display:inline; }
576
+
577
+ /* ===== "noscreen" ===== */
578
+ .noscreen div.interface-mjp { height:0px !important; }
579
+ .noscreen div.player-track-title { display:none; }
580
+ .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
581
+ .noscreen div.innertab { bottom: 0px; top:0; display:none; }
582
+ .noscreen div.dloadmp3-MI { bottom: 11px; }
583
+ .noscreen div.transport-MI { bottom:17px; }
584
+ .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
585
+ .noscreen div.playlist-toggle-MI { bottom: 12px; }
586
+ .noscreen div.mp3j-popout-MI { bottom: 20px; }
587
+ .noscreen div.MIsliderVolume { bottom: 43px; }
588
+ .noscreen div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
589
+ .noscreen div.MIsliderVolume .ui-slider-handle { top:-6px; }
590
+ .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
591
+ .noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:0px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
592
+ .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
593
+ .noscreen .MI-image { top:15px; }
594
+
595
+ /* ===== "bars100" ===== */
596
+ .bars100 div.player-track-title { left:112px; }
597
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
598
+ .bars100 div.bars_holder { left:102px; width:auto; }
599
+ .bars100 .MI-image img { padding:1px; }
600
+ .bars100 div.player-track-title { top:20px; }
601
+
602
+ /* ===== "bars150" ===== */
603
+ .bars150 div.player-track-title { left:162px; }
604
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
605
+ .bars150 div.bars_holder { left:152px; width:auto; }
606
+ .bars150 .MI-image img { padding:1px; }
607
+ .bars150 div.player-track-title { top:20px; }
608
+
609
+ /* ===== "bars200" ===== */
610
+ .bars200 div.player-track-title { left:212px; }
611
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
612
+ .bars200 div.bars_holder { left:202px; width:auto; }
613
+ .bars200 .MI-image img { padding:1px; }
614
+ .bars200 div.player-track-title { top:20px; }
615
+
616
+ /* ===== "bars250" ===== */
617
+ .bars250 div.player-track-title { left:262px; }
618
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
619
+ .bars250 div.bars_holder { left:252px; width:auto; }
620
+ .bars250 .MI-image img { padding:1px; }
621
+ .bars250 div.player-track-title { top:20px; }
622
+
623
+ /* ===== "bars300" ===== */
624
+ .bars300 div.player-track-title { left:312px; }
625
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
626
+ .bars300 div.bars_holder { left:302px; width:auto; }
627
+ .bars300 .MI-image img { padding:1px; }
628
+ .bars300 div.player-track-title { top:20px; }
629
+
630
+ /* ===== "bars350" ===== */
631
+ .bars350 div.player-track-title { left:362px; }
632
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
633
+ .bars350 div.bars_holder { left:352px; width:auto; }
634
+ .bars350 .MI-image img { padding:1px; }
635
+ .bars350 div.player-track-title { top:20px; }
636
+
637
+ /* ===== "bars400" ===== */
638
+ .bars400 div.player-track-title { left:412px; }
639
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
640
+ .bars400 div.bars_holder { left:402px; width:auto; }
641
+ .bars400 .MI-image img { padding:1px; }
642
+ .bars400 div.player-track-title { top:20px; }
643
+
644
+
645
+
646
+ /* ===== bigger1 ===== */
647
+ div.bigger1 span { font-size:18px !important; line-height:26px !important; margin:0 !important; }
648
+ .bigger1 span.load_mp3j .ui-slider-handle,
649
+ .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
650
+ .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
651
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
652
+ .bigger1 span.play-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 5px; }
653
+ .bigger1 span.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -27px; }
654
+ .bigger1 span.pause-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 5px; }
655
+ .bigger1 span.pause-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -27px; }
656
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:4px; width:85%; max-width:100px; height:2px; }
657
+
658
+ .bigger1 span.Smp3-finding,
659
+ .bigger1 span.mp3-gtint,
660
+ .bigger1 span.Smp3-tint {
661
+ padding:0px 0px 0px 10px !important;
662
+ font-size:10px !important;
663
+ }
664
+ .bigger1 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
665
+ .bigger1 span.mp3-gtint { margin:0px 8px 0px -10px !important; }
666
+ .bigger1 span.tintmarg { margin:0 8px 0 8px !important; }
667
+
668
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
669
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
670
+ .bigger1 ul.ul-mjp li a, .bigger1 ul.ul-mjp li { font-size:16px !important; line-height:19px !important; }
671
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
672
+
673
+ .bigger1 span.textbutton_mp3j, .bigger1 span.textbutton_mp3j:hover { background:none; }
674
+
675
+ /* ===== "bigger2" ===== */
676
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
677
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
678
+ .bigger2 ul.ul-mjp li a, .bigger2 ul.ul-mjp li { font-size:20px !important; line-height:24px !important; }
679
+ div.bigger2 span { font-size:23px !important; line-height:25px !important; margin:0 !important; }
680
+ .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:34px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
681
+ .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:34px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
682
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
683
+ .bigger2 span.play-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px !important; }
684
+ .bigger2 span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
685
+ .bigger2 span.pause-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
686
+ .bigger2 span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
687
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
688
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
689
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
690
+
691
+ .bigger2 span.Smp3-finding,
692
+ .bigger2 span.mp3-gtint,
693
+ .bigger2 span.Smp3-tint {
694
+ padding:0px 0px 0px 12px !important;
695
+ font-size:12px !important;
696
+ }
697
+ .bigger2 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
698
+ .bigger2 span.mp3-gtint { margin:0px 8px 0px -12px !important; }
699
+ .bigger2 span.tintmarg { margin:0 8px 0 8px !important; }
700
+
701
+ .bigger2.wh .play-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
702
+ .bigger2.wh .play-mjp:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
703
+ .bigger2.wh .pause-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
704
+ .bigger2.wh .pause-mjp:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
705
+
706
+ .bigger2 span.textbutton_mp3j, .bigger2 span.textbutton_mp3j:hover { background:none; }
707
+
708
+ /* ===== bigger3 ===== */
709
+ div.bigger3 span { font-size:28px !important; line-height:36px !important; margin:0 !important; }
710
+ .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:44px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
711
+ .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
712
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
713
+ .bigger3 span.play-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px !important; }
714
+ .bigger3 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
715
+ .bigger3 span.pause-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
716
+ .bigger3 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
717
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
718
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
719
+ .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
720
+ .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
721
+
722
+ .bigger3 span.Smp3-finding,
723
+ .bigger3 span.mp3-gtint,
724
+ .bigger3 span.Smp3-tint {
725
+ padding:0px 0px 0px 14px !important;
726
+ font-size:16px !important;
727
+ }
728
+ .bigger3 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
729
+ .bigger3 span.mp3-gtint { margin:0px 8px 0px -14px !important; }
730
+ .bigger3 span.tintmarg { margin:0 8px 0 8px !important; }
731
+
732
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
733
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
734
+ .bigger3 ul.ul-mjp li a, .bigger3 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
735
+
736
+ .bigger3.bl span.play-mjp { background:url('images/play-dark2-b.png') no-repeat -177px center; }
737
+ .bigger3.bl span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
738
+ .bigger3.bl span.pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
739
+ .bigger3.bl span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
740
+ .bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
741
+ .bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
742
+ .bigger3 span.textbutton_mp3j, .bigger3 span.textbutton_mp3j:hover { background:none; }
743
+
744
+ /* ===== bigger4 ===== */
745
+ div.bigger4 span { font-size:38px !important; line-height:46px !important; margin:0 !important; }
746
+ .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:54px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
747
+ .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
748
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
749
+ .bigger4 span.play-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px !important; }
750
+ .bigger4 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
751
+ .bigger4 span.pause-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
752
+ .bigger4 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
753
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
754
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
755
+ .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
756
+ .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
757
+
758
+ .bigger4 span.Smp3-finding,
759
+ .bigger4 span.mp3-gtint,
760
+ .bigger4 span.Smp3-tint {
761
+ padding:0px 0px 0px 20px !important;
762
+ font-size:20px !important;
763
+ }
764
+ .bigger4 span.Smp3-finding { margin:0px 0px 0px 6px !important;}
765
+ .bigger4 span.mp3-gtint { margin:0px 6px 0px -20px !important; }
766
+ .bigger4 span.tintmarg { margin:0 6px 0 6px !important; }
767
+
768
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
769
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
770
+ .bigger4 ul.ul-mjp li a, .bigger4 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
771
+
772
+ .bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
773
+ .bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
774
+ .bigger4.bl .play-mjp { background:url('images/play-dark2-b.png') no-repeat -167px center; }
775
+ .bigger4.bl .play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
776
+ .bigger4.bl .pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
777
+ .bigger4.bl .pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
778
+ .bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
779
+ .bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
780
+ .bigger4 span.textbutton_mp3j, .bigger4 span.textbutton_mp3j:hover { background:none; }
781
+
782
+ /* ===== bigger5 ===== */
783
+ div.bigger5 span { font-size:48px !important; line-height:66px !important; margin:0 !important; }
784
+ .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
785
+ .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y -10px top; border:1px solid #aaa; }
786
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
787
+ .bigger5 span.play-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -160px center; border:0px solid #bbb; margin-left:10px !important; }
788
+ .bigger5 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -411px center; }
789
+ .bigger5 span.pause-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
790
+ .bigger5 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
791
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:103px; top:-10px; }
792
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
793
+ .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
794
+ .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
795
+ .bigger5 span.Smp3-finding,
796
+ .bigger5 span.mp3-gtint,
797
+ .bigger5 span.Smp3-tint {
798
+ padding:0px 0px 0px 24px !important;
799
+ font-size:22px !important;
800
+ }
801
+ .bigger5 span.Smp3-finding { margin:0px 0px 0px 10px !important;}
802
+ .bigger5 span.mp3-gtint { margin:0px 10px 0px -24px !important; }
803
+ .bigger5 span.tintmarg { margin:0 10px 0 10px !important; }
804
+
805
+
806
+
807
+ /* ===== smaller ===== */
808
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
809
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
810
+ .smaller ul.ul-mjp li a, .smaller ul.ul-mjp li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
811
+
812
+ /* ===== outline ==== */
813
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; background: transparent; }
814
+ .outline span.play-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
815
+ .outline span.play-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
816
+ .outline span.pause-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
817
+ .outline span.pause-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
818
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
819
+ .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
820
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
821
+ .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
822
+ .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
823
+ .dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
824
+ .dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
825
+
826
+ /* ===== wtransbars ==== */
827
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.2; filter:alpha(opacity=20); }
828
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
829
+
830
+ /* ===== btransbars ==== */
831
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.2; filter:alpha(opacity=20); }
832
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
833
+
834
+ /* ===== fullbars === */
835
+ .fullbars div.innerleft { display:none; }
836
+ .fullbars div.innerright { display:none; }
837
+ .fullbars div.MIsliderVolume { top:0px; right:4px; width:108px; height:6px !important; background:transparent; border:0px; }
838
+ .fullbars div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
839
+ .fullbars div.dloadmp3-MI { bottom:39px; }
840
+ .fullbars div.bars_holder { left:0px; right:0px; bottom:38px; top:0px; height:auto; background-image: url('images/t40b.png'); background-repeat: repeat-x; background-position: left bottom; background-color:transparent; border:none; }
841
+ .fullbars div.jp-play-time, .fullbars div.jp-total-time, .fullbars div.statusMI { bottom:42px;}
842
+ .fullbars div.MIsliderVolume .ui-slider-handle { border:0px !important; top:-2px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; }
843
+ .fullbars div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
844
+ .fullbars div.MIsliderVolume .ui-state-active, .fullbars div.MIsliderVolume .ui-widget-content .ui-state-active { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
845
+
846
+
847
+ /* ===== user style param ===== */
848
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
849
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
850
+ .nopn div.prev-mjp { display:none; }
851
+ .nopn div.next-mjp { display:none; }
852
+ .nostop div.stop-mjp { display:none; }
853
+ .notitle div.player-track-title { display:none; }
854
+ div.wrap-mjp.noplayer { display:none; }
855
+
856
+ .novol div.mjp-volwrap { display:none; }
857
+ .novol div.bars_holder { left:0px; right:0px; }
858
+ .novol span.vol_mp3t,
859
+ .novol span.vol_mp3j { display:none; }
860
+
861
+ .nobars .bars_holder { display:none; }
862
+
863
 
css/v1-skins/v1-silver.css CHANGED
@@ -1,861 +1,863 @@
1
- /*
2
- -------------------------------
3
-
4
- Skin: v1 Silver
5
- ---
6
- Plugin: MP3-jPlayer v2 (Legacy support skin)
7
- Package: WordPress
8
- Desc: Includes legacy css that supports various modifier
9
- classes from MP3-jPlayer version 1 that have been
10
- superceeded in version 2.
11
- Info: http://mp3-jplayer.com
12
- http://sjward.org
13
-
14
- -------------------------------
15
- */
16
-
17
-
18
- /** - - - - - - - - - - - - - - - - - - - - -
19
- * Functional CSS, careful with these bits!
20
- * - - - - - - - - - - - - - - - - - - - - - */
21
-
22
- /* ===== ===== */
23
- .wrap-mjp { /* MAIN WRAPPER (default class) */
24
- border: 0;
25
- margin: 0;
26
- background: none;
27
- min-width: 116px;
28
- }
29
- .wrap-mjp, .wrap-mjp * {
30
- -webkit-box-sizing: content-box !important;
31
- -moz-box-sizing: content-box !important;
32
- box-sizing: content-box !important;
33
- }
34
-
35
- .subwrap-MI,
36
- .jp-innerwrap,
37
- .interface-mjp,
38
- .listwrap_mp3j,
39
- .wrapper-mjp {
40
- position: relative !important;
41
- width: 100%;
42
- border: 0;
43
- margin: 0;
44
- padding: 0;
45
- cursor: default;
46
- }
47
-
48
- .subwrap-MI { overflow: hidden; padding:2px 2px 2px 2px; }
49
- .subwrap-MI *,
50
- .mjp-s-wrapper {
51
- -moz-user-select: -moz-none;
52
- -khtml-user-select: none;
53
- -webkit-user-select: none;
54
- -ms-user-select: none;
55
- user-select: none;
56
- }
57
-
58
- /* === */
59
- .mp3j-nosolution {
60
- position:absolute;
61
- z-index:9999;
62
- height:auto;
63
- }
64
- .s-nosolution {
65
- position:relative;
66
- display:inline-block;
67
- margin-bottom:20px;
68
- height:auto;
69
- }
70
-
71
- /* === */
72
- .wrapper-mjp ul {
73
- position: static; /* needed in some themes */
74
- }
75
- .playlist-colour {
76
- position:absolute;
77
- width:100%;
78
- height:100%;
79
- left:0px;
80
- top:0px;
81
- }
82
-
83
- /* ===== playlist grads ===== */
84
- ul.lighten1-mjp {
85
- background-image: url('images/pl-lighten1.png');
86
- background-position: left 0px;
87
- background-repeat: repeat-x;
88
- }
89
- ul.lighten2-mjp {
90
- background-image: url('images/pl-lighten2.png');
91
- background-position: left 0px;
92
- background-repeat: repeat-x;
93
- }
94
- ul.darken1-mjp {
95
- background-image: url('images/pl-gradlong10g.png');
96
- background-position: left -130px;
97
- background-repeat: repeat-x;
98
- }
99
- ul.darken2-mjp {
100
- background-image: url('images/pl-darken1.png');
101
- background-position: left 0px;
102
- background-repeat: repeat-x;
103
- }
104
-
105
- /* ===== playlist dividers ===== */
106
- ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom !important; }
107
- ul.med-mjp li { background:url('images/t75e.png') repeat-x left bottom !important; }
108
- ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom !important; }
109
-
110
- /* ===== posbar grads ===== */
111
- .poscolMI_mp3j.soften-mjp {
112
- background-image: url('images/posbar-soften-2.png');
113
- background-position: right top;
114
- background-repeat: repeat-y;
115
- }
116
- .poscolMI_mp3j.softenT-mjp {
117
- background-image: url('images/posbar-soften-tipped-2.png');
118
- background-position: right top;
119
- background-repeat: repeat-y;
120
- }
121
- .poscolMI_mp3j.darken-mjp {
122
- background-image: url('images/posbar-darken2-2.png');
123
- background-position: right top;
124
- background-repeat: repeat-y;
125
- }
126
-
127
-
128
- .left-mjp { text-align:left; }
129
- .centre-mjp { text-align:center; }
130
- .right-mjp { text-align: right; }
131
-
132
- .bold-mjp,
133
- .childBold-mjp * { font-weight:700; }
134
-
135
- .norm-mjp,
136
- .childNorm-mjp * { font-weight:500; }
137
-
138
- .italic-mjp,
139
- .childItalic-mjp * { font-style:italic; }
140
-
141
- .plain-mjp,
142
- .childPlain-mjp * { font-style:normal; }
143
-
144
-
145
- /* ===== fonts ===== */
146
- .arial-mjp,
147
- ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
148
- .verdana-mjp,
149
- ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
150
- .times-mjp,
151
- ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
152
- .palatino-mjp,
153
- ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
154
- .courier-mjp,
155
- ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
156
- .lucida-mjp,
157
- ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
158
- .gill-mjp,
159
- ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
160
-
161
- .player-track-title,
162
- .player-track-title div,
163
- .a-mjp { line-height: 110% !important; }
164
-
165
- .player-track-title div { font-size:0.7em; }
166
-
167
- .titleHide-mjp { display:none; }
168
-
169
- /* ===== jQuery UI ===== */
170
- .ui-state-disabled { cursor:default !important; }
171
- .ui-slider {
172
- position:relative;
173
- text-align:left;
174
- }
175
- .ui-slider .ui-slider-handle {
176
- position:absolute;
177
- z-index:200;
178
- cursor:default;
179
- }
180
- .ui-slider .ui-slider-range {
181
- position:absolute;
182
- z-index:1;
183
- font-size:.7em;
184
- display:block;
185
- border:0;
186
- }
187
- .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
188
- .ui-slider-horizontal .ui-slider-range-min { left:0; }
189
- .ui-slider-horizontal .ui-slider-range-max { right:0; }
190
- .ui-state-default,
191
- .ui-widget-content .ui-state-default { outline:none; border:0px; }
192
-
193
-
194
- /* ===== ===== */
195
- div.mp3j-dlframe,
196
- iframe.mp3j-dlframe {
197
- width:1px;
198
- height:1px;
199
- overflow:hidden;
200
- margin:0;
201
- padding:0;
202
- display:none !important;
203
- }
204
-
205
- /* ===== ===== */
206
- .MI-image { position:relative; padding:0; }
207
- .MI-image img { border:none; padding:0px; width:100%; height:auto; }
208
- .MI-image.Himg img { width:auto; height:100%; }
209
- .MI-image.Fimg img { width:auto; height:auto; }
210
- .MI-image a:hover img { }
211
-
212
- .MI-image.left-mjp { margin:0 auto 0 0; }
213
- .MI-image.centre-mjp { margin: 0 auto; }
214
- .MI-image.right-mjp { margin: 0 0 0 auto; }
215
-
216
-
217
- .unsel-mjp {
218
- -moz-user-select: -moz-none;
219
- -khtml-user-select: none;
220
- -webkit-user-select: none;
221
- -ms-user-select: none;
222
- user-select: none;
223
- }
224
-
225
- .innerExt1 { display:none; }
226
- .innerExt2 { display:none; }
227
- div.mjp-volwrap { position:absolute; top:0; right:0; }
228
-
229
-
230
- /*---------------------
231
- [mp3-jplayer] SHORTCODE
232
- ==================================== */
233
-
234
- /* SUB WRAPPERS */
235
- div.jp-innerwrap { background:none; }
236
- div.interface-mjp { padding:0 0 39px 0; }
237
- div.listwrap_mp3j { margin-top:0px; }
238
-
239
- /* BACKGROUNDS */
240
- div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
241
- div.innerx { background:url('images/case-grad-x.png') repeat-x left -45px; width:auto; height:38px; left:0px; right:0px; bottom:0px; z-index:10;
242
- -webkit-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
243
- -moz-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
244
- box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
245
-
246
- }
247
- div.innerleft { display:block; position: absolute; height: 20px; right: 88px; left: -1px; top: 0px; background: url('images/case2t-x.png') repeat-x left top; z-index:125; }
248
- div.innerright { display:block; position: absolute; height: 20px; width: 90px; right: -2px; top: 0px; background: url('images/case2t-r.png') no-repeat right top; z-index:125; }
249
- div.innertab { left:0px; top:0px; right:0px; width:100%; bottom:38px; }
250
- div.innertab2 { display:none; }
251
-
252
- /* PLAYLIST */
253
- .ul-mjp { margin:0px !important; padding:3px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
254
- .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
255
- .li-mjp:before { content:none !important; }
256
- .a-mjp {
257
- border:0 !important;
258
- text-decoration:none !important;
259
- display:block !important; width:auto !important;
260
- outline:none !important;
261
- padding:7px 10px 7px 14px !important;
262
- }
263
-
264
- /* SCREEN */
265
- div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI {
266
- position:absolute;
267
- z-index:50;
268
- }
269
-
270
- div.player-track-title div { position:relative; }
271
-
272
- div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:49px; text-align:left; }
273
- div.jp-play-time { right:90px; }
274
- div.jp-total-time { right:6px; width:auto; }
275
-
276
- span.mp3-finding, span.mp3-tint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
277
- span.mp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
278
- span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
279
- div.statusMI span.tintmarg { margin:0 2px 0 3px; }
280
-
281
- div.statusMI { right:27px; width:58px !important; height:10px; }
282
- .statusMI span.mp3-finding, .statusMI span.mp3-tint, div.statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
283
- .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
284
-
285
-
286
- /* TRANSPORT BUTTONS */
287
- div.transport-MI { position:absolute; width:auto; height:36px; right:2px; bottom:0px; border:0; z-index:20; }
288
- div.transport-MI div { background-image: url("images/transport-hardW-shiny.png"); text-indent:-9999px !important; float:right; cursor:pointer; }
289
-
290
- div.play-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
291
- div.play-mjp:hover { background-position:-110px -32px; }
292
-
293
- div.pause-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
294
- div.pause-mjp:hover { background-position:-2px -32px; }
295
-
296
- div.prev-mjp { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
297
- div.prev-mjp:hover { background-position:-32px -33px; }
298
-
299
- div.next-mjp { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
300
- div.next-mjp:hover { background-position:-57px -33px; }
301
-
302
- div.stop-mjp { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
303
- div.stop-mjp:hover { background-position:-81px -32px; }
304
-
305
-
306
- /* PLAYLIST TOGGLE */
307
- div.playlist-toggle-MI { position:absolute; cursor:pointer; z-index:20; font-size:8px; bottom:1px; left:1px; color:#707070; padding:4px 6px 2px 5px; line-height:9px; min-width:24px; background:#bcbcbc; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
308
- div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
309
-
310
- /* DOWNLOAD BUTTON */
311
- div.dloadmp3-MI { position:absolute; min-height:11px; cursor:pointer; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:47px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t50b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
312
- div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
313
- div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
314
- div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
315
- div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
316
- div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
317
- div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
318
- div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
319
-
320
- /* POPOUT BUTTON */
321
- div.mp3j-popout-MI { position:absolute; cursor:pointer; z-index:20; font-size:9px; bottom:16px; left:0px; height:16px; color:#6c6c6c; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #b2b2b2; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -65px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default; }
322
- div.mp3j-popout-MI:hover { color:#606060; border:1px solid #b2b2b2; background-position:-8px -95px; }
323
-
324
-
325
- /* VOLUME */
326
- div.MIsliderVolume { position:absolute; position:absolute; top:6px; right:10px; width:60px; height:4px !important; background:#808080; border:1px solid #c0c0c0; font-size:1px; cursor:pointer; z-index:150; }
327
- div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60w2.png') repeat-y -15px top; cursor:pointer; }
328
- div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-4px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:pointer; }
329
- div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
330
- div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
331
-
332
- /* LOADER AND POS SLIDER */
333
- div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
334
- div.bars_holder { position:absolute; left:0px; right:0px; bottom:38px; font-size:1px; cursor:default; background-image: url('images/t60w.png'); background-repeat: repeat-x; background-position: left bottom;
335
-
336
- top:auto; height:8px; border-top:1px solid #b0b0b0; background-color:#888;
337
-
338
- }
339
-
340
-
341
- div.loadMI_mp3j { bottom:1px; }
342
- div.poscolMI_mp3j { bottom:1px; }
343
- div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
344
- div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:90; }
345
- div.posbarMI_mp3j { bottom:0px; width:100%; }
346
- div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
347
- div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
348
-
349
-
350
- /* FORCED DOWNLOAD FRAME
351
- ------------------------ */
352
- /* MESSAGES */
353
- div.mp3j-finfo {
354
- position:absolute;
355
- top:36px;
356
- z-index:9999 !important;
357
- width:80%;
358
- left:10%;
359
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
360
- background:url('images/fdloadW-x.png') repeat-x left top;
361
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
362
- padding:0;
363
- min-height:31px;
364
- overflow:hidden;
365
- min-width:170px;
366
- }
367
-
368
- div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
369
- div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
370
- div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
371
- div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
372
- div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
373
- div.mp3j-finfo-close:hover { color:#888 !important; }
374
-
375
- div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
376
- div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
377
- div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0; }
378
- div.mp3j-finfo-txt a { }
379
-
380
- /* backwards compat
381
- ------------------- */
382
- div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
383
- div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
384
- ul.ul-mjp.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
385
- ul.ul-mjp.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
386
-
387
-
388
- .mp3j-nosolution,
389
- .s-nosolution
390
- {
391
- padding:10px 5% 10px 5%;
392
- border:1px solid #c0c0c0;
393
- background:#f0f0f0;
394
- color:#333;
395
- top:4px;
396
- left:4px;
397
- right:4px;
398
- -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
399
- font-size:13px;
400
- -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
401
- }
402
-
403
- /*-------------------------
404
- [mp3j] & [mp3t] SHORTCODES
405
- ==================================== */
406
-
407
- div.mjp-s-wrapper.s-text { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
408
- div.mjp-s-wrapper.s-graphic { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
409
- span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
410
- span.indi_mp3j { position:relative; padding-left:2px; }
411
-
412
- span.T_mp3j span { font-size:0.7em }
413
-
414
- /* BARS */
415
- span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
416
- span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
417
- /* mp3t */
418
- span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0px solid #f77; background:none !important; }
419
- span.posbar_mp3j .ui-widget-header { z-index:-500; }
420
- span.posbar_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat; top:-1px; margin-left:-4px; border:1px solid #bbb; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
421
- span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat; border-color:#999; }
422
-
423
- /* mp3j */
424
- span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
425
- span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-450; height:100%; }
426
- span.posbarB_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #bbb; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
427
- span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat 0px 0px; border-color:#999; }
428
-
429
- /* SPAN TRANSPORT */
430
- span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
431
- span.group_wrap { position:relative; width:auto; margin:0px; }
432
- span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
433
- font-size:14px !important; padding:1px 0px 7px 8px; margin:0 5px 0px 2px; background-color:#e0e0e0; background-repeat:no-repeat;
434
- }
435
- span.gfxbutton_mp3j.play-mjp { background:transparent url('images/transport-shard-B.png') no-repeat -81px -3px; }
436
- span.gfxbutton_mp3j.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -81px -35px;; }
437
- span.gfxbutton_mp3j.pause-mjp { background: transparent url('images/transport-shard-B.png') no-repeat -3px -3px; }
438
- span.gfxbutton_mp3j.pause-mjp:hover { background: transparent url('images/transport-shard-B.png') no-repeat -3px -35px; }
439
-
440
- /* VOLUMES */
441
- span.vol_mp3t { position:absolute; top:-7px; right:3px; width:90%; max-width:85px; height:3px; }
442
- span.vol_mp3j { position:absolute; top:-11px; right:12px; width:85%; max-width:82px; height:3px; }
443
- span.vol_mp3j.flipped { right:4px; }
444
- span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:#fff url('images/vol-grad60b2.png') repeat-y 0px top; }
445
-
446
- span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
447
- background: transparent url('images/vol-handle.png') no-repeat -1px 0px;
448
- height:11px;
449
- width:10px !important;
450
- padding:0px;
451
- margin-left:-6px;
452
- border:0px solid #505050;
453
- border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
454
- z-index:600;
455
- overflow:hidden !important;
456
- cursor:default;
457
- top:-5px;
458
- }
459
- span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#575757; background-position:-21px 0px; }
460
- span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#575757; background-position:-21px 0px; }
461
-
462
- span.Smp3-finding,
463
- span.mp3-gtint {
464
- padding:0px 0px 0px 8px;
465
- overflow:hidden;
466
- -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
467
- }
468
-
469
- span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
470
- span.mp3-gtint { margin:0px 2px 0px -8px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
471
- span.tintmarg { margin:0 2px 0 3px; }
472
-
473
- span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 8px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
474
-
475
-
476
-
477
- /*----------------------
478
- [popout] SHORTCODE
479
- ================================================= */
480
- .popout-wrap-mjp {
481
- cursor:pointer;
482
- position:relative;
483
- border-width:0px;
484
- border-style:solid;
485
- background:transparent;
486
- padding:5px 10px 5px 0px;
487
-
488
- }
489
- .popout-wrap-mjp * { margin:0; padding:0; }
490
- .popout-text-mjp { float:left; }
491
- .popout-image-mjp {
492
- float:left;
493
- background-image:url('images/buttons-popout.png');
494
- background-repeat:no-repeat;
495
- background-position:-10px -62px;
496
- min-width:28px;
497
- min-height:28px;
498
- }
499
- .popout-image-mjp-custom { float:left; }
500
- .clearL-mjp { clear:left; }
501
-
502
-
503
- /*
504
- MODS (via 'style' param in shortcode)
505
- ================================================= */
506
-
507
- /* ===== "dark" ===== */
508
- .dark .innerx { background-position:left -119px; }
509
- .dark .transport-MI { height:38px; }
510
- .dark .transport-MI div { background-image:url("images/transport-darkbg-trans2.png"); }
511
- .dark .bars_holder { background:url('images/t40b.png') repeat-x left bottom; }
512
- .dark .mp3j-popout-MI { color:#a2a2a2; background-position:-8px -6px; border-color:#585858; background-color:#aaa; }
513
- .dark .mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
514
- .dark div.playlist-toggle-MI { background:#505050; color:#a2a2a2; }
515
- .dark div.playlist-toggle-MI:hover { background:#585858; color:#aaa; }
516
- .dark .MI-image img { background-color:#777; }
517
-
518
- .dark div.mp3j-finfo { background:url('images/fdloadB-x.png') repeat-x left top; }
519
- .dark div.mp3j-finfo-gif { background:url('images/loader-w2.gif') no-repeat center 37px; }
520
- .dark div.mp3j-finfo-close { color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top !important; }
521
- .dark div.mp3j-finfo-close:hover { color:#eee !important; }
522
- .dark div.mp3j-finfo-txt h2 { color:#fff !important; }
523
- .dark div.mp3j-finfo-txt h3 { color:#fff !important; }
524
- .dark div.mp3j-finfo-txt p { color:#fff !important; }
525
-
526
-
527
- /* ===== "text" ===== */
528
- div.wrap-mjp.text { /*min-width:300px;*/ }
529
- .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
530
- .text div.innertab { bottom: 38px; }
531
- .text div.interface-mjp { background:none; }
532
- .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
533
- .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
534
- .text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
535
- .text div.jp-play-time { width:37px; left:0px; right:auto; opacity:0.6; filter:alpha(opacity=60); }
536
- .text div.jp-total-time { width:37px; left:100px; display:none; }
537
- .text div.statusMI { left:37px; width:70px !important; }
538
- .text div.transport-MI { height:26px; right:2px; bottom:12px; }
539
- .text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
540
- .text div.play-mjp { text-indent:6px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
541
- .text div.pause-mjp { text-indent:0px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
542
- .text div.prev-mjp, .text div.next-mjp { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
543
- .text div.stop-mjp { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
544
- .text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
545
- .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
546
- .text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
547
- .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
548
- .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
549
- .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
550
- .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
551
- .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
552
- .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
553
- .text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
554
- .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
555
-
556
-
557
-
558
- .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
559
-
560
- .text span.mjp-playing, .text span.mjp-paused, .text span.mjp-ready, .text span.mjp-stopped, .text span.mjp-connecting, .text span.mjp-buffering { display:inline; }
561
-
562
-
563
- /* ===== !Backwards compat "noscreen" ===== */
564
- .noscreen div.interface-mjp { height:10px !important; }
565
- .noscreen div.player-track-title { display:none; }
566
- .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
567
- .noscreen div.innertab { bottom: 0px; top:0; display:none; }
568
- .noscreen div.dloadmp3-MI { bottom: 11px; }
569
- .noscreen div.transport-MI { bottom:17px; }
570
- .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
571
- .noscreen div.playlist-toggle-MI { bottom: 12px; }
572
- .noscreen div.mp3j-popout-MI { bottom: 20px; }
573
-
574
-
575
- .noscreen div.mjp-volwrap { bottom:43px !important; top:auto; height:5px; width:100px; }
576
- .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
577
- .noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:0px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
578
- .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
579
- .noscreen .MI-image { top:15px; }
580
-
581
-
582
- /* ===== "headless" ===== */
583
- .headless div.interface-mjp { height:20px; }
584
- .headless div.player-track-title { display:none; }
585
- .headless .MI-image { display:none; }
586
- .headless div.innertab { display:none; }
587
- .headless div.bars_holder { height:7px; }
588
- .headless div.MIsliderVolume { bottom: 43px; }
589
- .headless div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
590
- .headless div.MIsliderVolume .ui-slider-handle { top:-6px; }
591
- .headless h2 { margin:0 !important; padding:0 0 0px 0 !important; }
592
- .headless div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:-5px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
593
- .headless div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
594
-
595
- /* ===== "bars100" ===== */
596
- .bars100 div.player-track-title { left:112px; }
597
- .bars100 div.dloadmp3-MI { left:102px; width:36%;}
598
- .bars100 div.bars_holder { left:102px; width:auto; }
599
- .bars100 .MI-image img { padding:1px; }
600
- .bars100 div.player-track-title { top:20px; }
601
-
602
- /* ===== "bars150" ===== */
603
- .bars150 div.player-track-title { left:162px; }
604
- .bars150 div.dloadmp3-MI { left:152px; width:33%;}
605
- .bars150 div.bars_holder { left:152px; width:auto; }
606
- .bars150 .MI-image img { padding:1px; }
607
- .bars150 div.player-track-title { top:20px; }
608
-
609
- /* ===== "bars200" ===== */
610
- .bars200 div.player-track-title { left:212px; }
611
- .bars200 div.dloadmp3-MI { left:202px; width:30%; }
612
- .bars200 div.bars_holder { left:202px; width:auto; }
613
- .bars200 .MI-image img { padding:1px; }
614
- .bars200 div.player-track-title { top:20px; }
615
-
616
- /* ===== "bars250" ===== */
617
- .bars250 div.player-track-title { left:262px; }
618
- .bars250 div.dloadmp3-MI { left:252px; width:27%;}
619
- .bars250 div.bars_holder { left:252px; width:auto; }
620
- .bars250 .MI-image img { padding:1px; }
621
- .bars250 div.player-track-title { top:20px; }
622
-
623
- /* ===== "bars300" ===== */
624
- .bars300 div.player-track-title { left:312px; }
625
- .bars300 div.dloadmp3-MI { left:302px; width:24%; }
626
- .bars300 div.bars_holder { left:302px; width:auto; }
627
- .bars300 .MI-image img { padding:1px; }
628
- .bars300 div.player-track-title { top:20px; }
629
-
630
- /* ===== "bars350" ===== */
631
- .bars350 div.player-track-title { left:362px; }
632
- .bars350 div.dloadmp3-MI { left:352px; width:21%;}
633
- .bars350 div.bars_holder { left:352px; width:auto; }
634
- .bars350 .MI-image img { padding:1px; }
635
- .bars350 div.player-track-title { top:20px; }
636
-
637
- /* ===== "bars400" ===== */
638
- .bars400 div.player-track-title { left:412px; }
639
- .bars400 div.dloadmp3-MI { left:402px; width:18%; }
640
- .bars400 div.bars_holder { left:402px; width:auto; }
641
- .bars400 .MI-image img { padding:1px; }
642
- .bars400 div.player-track-title { top:20px; }
643
-
644
- /* ===== bigger1 ===== */
645
- div.bigger1 span { font-size:18px !important; line-height:26px !important; margin:0 !important; }
646
- .bigger1 span.load_mp3j .ui-slider-handle,
647
- .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
648
- .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
649
- .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
650
- .bigger1 span.play-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 5px; }
651
- .bigger1 span.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -27px; }
652
- .bigger1 span.pause-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 5px; }
653
- .bigger1 span.pause-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -27px; }
654
- .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:4px; width:85%; max-width:100px; height:2px; }
655
-
656
- .bigger1 span.Smp3-finding,
657
- .bigger1 span.mp3-gtint,
658
- .bigger1 span.Smp3-tint {
659
- padding:0px 0px 0px 10px !important;
660
- font-size:10px !important;
661
- }
662
- .bigger1 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
663
- .bigger1 span.mp3-gtint { margin:0px 8px 0px -10px !important; }
664
- .bigger1 span.tintmarg { margin:0 8px 0 8px !important; }
665
-
666
- .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
667
- .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
668
- .bigger1 ul.ul-mjp li a, .bigger1 ul.ul-mjp li { font-size:16px !important; line-height:19px !important; }
669
- .bigger1 .indi_mp3j { font-size: 0.6em !important; }
670
-
671
- .bigger1 span.textbutton_mp3j, .bigger1 span.textbutton_mp3j:hover { background:none; }
672
-
673
- /* ===== "bigger2" ===== */
674
- .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
675
- .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
676
- .bigger2 ul.ul-mjp li a, .bigger2 ul.ul-mjp li { font-size:20px !important; line-height:24px !important; }
677
- div.bigger2 span { font-size:23px !important; line-height:25px !important; margin:0 !important; }
678
- .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:34px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
679
- .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:34px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
680
- .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
681
- .bigger2 span.play-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px !important; }
682
- .bigger2 span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
683
- .bigger2 span.pause-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
684
- .bigger2 span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
685
- .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
686
- .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
687
- .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
688
-
689
- .bigger2 span.Smp3-finding,
690
- .bigger2 span.mp3-gtint,
691
- .bigger2 span.Smp3-tint {
692
- padding:0px 0px 0px 12px !important;
693
- font-size:12px !important;
694
- }
695
- .bigger2 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
696
- .bigger2 span.mp3-gtint { margin:0px 8px 0px -12px !important; }
697
- .bigger2 span.tintmarg { margin:0 8px 0 8px !important; }
698
-
699
- .bigger2.wh .play-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
700
- .bigger2.wh .play-mjp:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
701
- .bigger2.wh .pause-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
702
- .bigger2.wh .pause-mjp:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
703
-
704
- .bigger2 span.textbutton_mp3j, .bigger2 span.textbutton_mp3j:hover { background:none; }
705
-
706
- /* ===== bigger3 ===== */
707
- div.bigger3 span { font-size:28px !important; line-height:36px !important; margin:0 !important; }
708
- .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:44px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
709
- .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
710
- .bigger3 .indi_mp3j { font-size: 0.5em !important; }
711
- .bigger3 span.play-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px !important; }
712
- .bigger3 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
713
- .bigger3 span.pause-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
714
- .bigger3 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
715
- .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
716
- .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
717
- .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
718
- .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
719
-
720
- .bigger3 span.Smp3-finding,
721
- .bigger3 span.mp3-gtint,
722
- .bigger3 span.Smp3-tint {
723
- padding:0px 0px 0px 14px !important;
724
- font-size:16px !important;
725
- }
726
- .bigger3 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
727
- .bigger3 span.mp3-gtint { margin:0px 8px 0px -14px !important; }
728
- .bigger3 span.tintmarg { margin:0 8px 0 8px !important; }
729
-
730
- .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
731
- .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
732
- .bigger3 ul.ul-mjp li a, .bigger3 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
733
-
734
- .bigger3.bl span.play-mjp { background:url('images/play-dark2-b.png') no-repeat -177px center; }
735
- .bigger3.bl span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
736
- .bigger3.bl span.pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
737
- .bigger3.bl span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
738
- .bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
739
- .bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
740
- .bigger3 span.textbutton_mp3j, .bigger3 span.textbutton_mp3j:hover { background:none; }
741
-
742
- /* ===== bigger4 ===== */
743
- div.bigger4 span { font-size:38px !important; line-height:46px !important; margin:0 !important; }
744
- .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:54px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
745
- .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
746
- .bigger4 .indi_mp3j { font-size: 0.5em !important; }
747
- .bigger4 span.play-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px !important; }
748
- .bigger4 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
749
- .bigger4 span.pause-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
750
- .bigger4 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
751
- .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
752
- .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
753
- .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
754
- .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
755
-
756
- .bigger4 span.Smp3-finding,
757
- .bigger4 span.mp3-gtint,
758
- .bigger4 span.Smp3-tint {
759
- padding:0px 0px 0px 20px !important;
760
- font-size:20px !important;
761
- }
762
- .bigger4 span.Smp3-finding { margin:0px 0px 0px 6px !important;}
763
- .bigger4 span.mp3-gtint { margin:0px 6px 0px -20px !important; }
764
- .bigger4 span.tintmarg { margin:0 6px 0 6px !important; }
765
-
766
- .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
767
- .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
768
- .bigger4 ul.ul-mjp li a, .bigger4 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
769
-
770
- .bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
771
- .bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
772
- .bigger4.bl .play-mjp { background:url('images/play-dark2-b.png') no-repeat -167px center; }
773
- .bigger4.bl .play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
774
- .bigger4.bl .pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
775
- .bigger4.bl .pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
776
- .bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
777
- .bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
778
- .bigger4 span.textbutton_mp3j, .bigger4 span.textbutton_mp3j:hover { background:none; }
779
-
780
- /* ===== bigger5 ===== */
781
- div.bigger5 span { font-size:48px !important; line-height:66px !important; margin:0 !important; }
782
- .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
783
- .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y -10px top; border:1px solid #aaa; }
784
- .bigger5 .indi_mp3j { font-size: 0.5em !important; }
785
- .bigger5 span.play-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -160px center; border:0px solid #bbb; margin-left:10px !important; }
786
- .bigger5 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -411px center; }
787
- .bigger5 span.pause-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
788
- .bigger5 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
789
- .bigger5 .vol_mp3j { height:1px; max-width:170px; right:103px; top:-10px; }
790
- .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
791
- .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
792
- .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
793
- .bigger5 span.Smp3-finding,
794
- .bigger5 span.mp3-gtint,
795
- .bigger5 span.Smp3-tint {
796
- padding:0px 0px 0px 24px !important;
797
- font-size:22px !important;
798
- }
799
- .bigger5 span.Smp3-finding { margin:0px 0px 0px 10px !important;}
800
- .bigger5 span.mp3-gtint { margin:0px 10px 0px -24px !important; }
801
- .bigger5 span.tintmarg { margin:0 10px 0 10px !important; }
802
-
803
-
804
- /* ===== smaller ===== */
805
- .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
806
- .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
807
- .smaller ul.ul-mjp li a, .smaller ul.ul-mjp li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
808
-
809
- /* ===== outline ==== */
810
- .outline span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; background: transparent; }
811
- .outline span.play-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
812
- .outline span.play-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
813
- .outline span.pause-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
814
- .outline span.pause-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
815
- .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
816
- .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
817
- .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
818
- .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
819
- .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
820
- .dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
821
- .dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
822
-
823
- /* ===== wtransbars ==== */
824
- .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.2; filter:alpha(opacity=20); }
825
- .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
826
-
827
- /* ===== btransbars ==== */
828
- .btransbars div.loadMI_mp3j { background:#000; opacity:0.2; filter:alpha(opacity=20); }
829
- .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
830
-
831
-
832
- /* ===== fullbars === */
833
- .fullbars div.dloadmp3-MI { bottom:39px; }
834
- .fullbars div.MIsliderVolume { top:0px; right:4px; width:108px; height:6px !important; background:transparent; border:0px; }
835
- .fullbars div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60w2.png') repeat-y -15px top; }
836
- .fullbars div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-2px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:pointer; }
837
- .fullbars div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
838
- .fullbars div.MIsliderVolume .ui-state-active, .fullbars div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
839
-
840
- .fullbars div.jp-play-time, .fullbars div.jp-total-time, .fullbars div.statusMI { bottom:42px; }
841
- .fullbars div.innerleft { display:none; }
842
- .fullbars div.innerright { display:none; }
843
-
844
- .fullbars div.bars_holder { left:0px; right:0px; height:auto; bottom:38px; top:0px; background-image: url('images/t60w.png'); background-repeat: repeat-x; background-position: left bottom; background-color:transparent; border:0; }
845
-
846
-
847
- /* ===== user style param ===== */
848
- .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
849
- .nopopoutbutton div.mp3j-popout-MI { display:none; }
850
- .nopn div.prev-mjp { display:none; }
851
- .nopn div.next-mjp { display:none; }
852
- .nostop div.stop-mjp { display:none; }
853
- .notitle div.player-track-title { display:none; }
854
- div.wrap-mjp.noplayer { display:none; }
855
-
856
- .novol div.mjp-volwrap { display:none; }
857
- .novol div.bars_holder { left:0px; right:0px; }
858
- .novol span.vol_mp3t,
859
- .novol span.vol_mp3j { display:none; }
860
-
 
 
861
  .nobars .bars_holder { display:none; }
1
+ /*
2
+ -------------------------------
3
+
4
+ Skin: v1 Silver
5
+ ---
6
+ Plugin: MP3-jPlayer v2 (Legacy support skin)
7
+ Package: WordPress
8
+ Desc: Includes legacy css that supports various modifier
9
+ classes from MP3-jPlayer version 1 that have been
10
+ superceeded in version 2.
11
+ Info: http://mp3-jplayer.com
12
+ http://sjward.org
13
+
14
+ -------------------------------
15
+ */
16
+
17
+
18
+ /** - - - - - - - - - - - - - - - - - - - - -
19
+ * Functional CSS, careful with these bits!
20
+ * - - - - - - - - - - - - - - - - - - - - - */
21
+
22
+ /* ===== ===== */
23
+ .wrap-mjp { /* MAIN WRAPPER (default class) */
24
+ border: 0;
25
+ margin: 0;
26
+ background: none;
27
+ min-width: 116px;
28
+ }
29
+ .wrap-mjp, .wrap-mjp * {
30
+ -webkit-box-sizing: content-box !important;
31
+ -moz-box-sizing: content-box !important;
32
+ box-sizing: content-box !important;
33
+ }
34
+
35
+ .subwrap-MI,
36
+ .jp-innerwrap,
37
+ .interface-mjp,
38
+ .listwrap_mp3j,
39
+ .wrapper-mjp {
40
+ position: relative !important;
41
+ width: 100%;
42
+ border: 0;
43
+ margin: 0;
44
+ padding: 0;
45
+ cursor: default;
46
+ }
47
+
48
+ .subwrap-MI { overflow: hidden; padding:2px 2px 2px 2px; }
49
+ .subwrap-MI *,
50
+ .mjp-s-wrapper {
51
+ -moz-user-select: -moz-none;
52
+ -khtml-user-select: none;
53
+ -webkit-user-select: none;
54
+ -ms-user-select: none;
55
+ user-select: none;
56
+ }
57
+
58
+ /* === */
59
+ .mp3j-nosolution {
60
+ position:absolute;
61
+ z-index:9999;
62
+ height:auto;
63
+ }
64
+ .s-nosolution {
65
+ position:relative;
66
+ display:inline-block;
67
+ margin-bottom:20px;
68
+ height:auto;
69
+ }
70
+
71
+ /* === */
72
+ .wrapper-mjp ul {
73
+ position: static; /* needed in some themes */
74
+ }
75
+ .playlist-colour {
76
+ position:absolute;
77
+ width:100%;
78
+ height:100%;
79
+ left:0px;
80
+ top:0px;
81
+ }
82
+
83
+ /* ===== playlist grads ===== */
84
+ ul.lighten1-mjp {
85
+ background-image: url('images/pl-lighten1.png');
86
+ background-position: left 0px;
87
+ background-repeat: repeat-x;
88
+ }
89
+ ul.lighten2-mjp {
90
+ background-image: url('images/pl-lighten2.png');
91
+ background-position: left 0px;
92
+ background-repeat: repeat-x;
93
+ }
94
+ ul.darken1-mjp {
95
+ background-image: url('images/pl-gradlong10g.png');
96
+ background-position: left -130px;
97
+ background-repeat: repeat-x;
98
+ }
99
+ ul.darken2-mjp {
100
+ background-image: url('images/pl-darken1.png');
101
+ background-position: left 0px;
102
+ background-repeat: repeat-x;
103
+ }
104
+
105
+ /* ===== playlist dividers ===== */
106
+ ul.light-mjp li { background:url('images/t60w.png') repeat-x left bottom !important; }
107
+ ul.med-mjp li { background:url('images/t75e.png') repeat-x left bottom !important; }
108
+ ul.dark-mjp li { background:url('images/t50g.png') repeat-x left bottom !important; }
109
+
110
+ /* ===== posbar grads ===== */
111
+ .poscolMI_mp3j.soften-mjp {
112
+ background-image: url('images/posbar-soften-2.png');
113
+ background-position: right top;
114
+ background-repeat: repeat-y;
115
+ }
116
+ .poscolMI_mp3j.softenT-mjp {
117
+ background-image: url('images/posbar-soften-tipped-2.png');
118
+ background-position: right top;
119
+ background-repeat: repeat-y;
120
+ }
121
+ .poscolMI_mp3j.darken-mjp {
122
+ background-image: url('images/posbar-darken2-2.png');
123
+ background-position: right top;
124
+ background-repeat: repeat-y;
125
+ }
126
+
127
+
128
+ .left-mjp { text-align:left; }
129
+ .centre-mjp { text-align:center; }
130
+ .right-mjp { text-align: right; }
131
+
132
+ .bold-mjp,
133
+ .childBold-mjp * { font-weight:700; }
134
+
135
+ .norm-mjp,
136
+ .childNorm-mjp * { font-weight:500; }
137
+
138
+ .italic-mjp,
139
+ .childItalic-mjp * { font-style:italic; }
140
+
141
+ .plain-mjp,
142
+ .childPlain-mjp * { font-style:normal; }
143
+
144
+
145
+ /* ===== fonts ===== */
146
+ .arial-mjp,
147
+ ul.arial-mjp a { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
148
+ .verdana-mjp,
149
+ ul.verdana-mjp a { font-family: Verdana, Geneva, sans-serif; }
150
+ .times-mjp,
151
+ ul.times-mjp a { font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif; }
152
+ .palatino-mjp,
153
+ ul.palatino-mjp a { font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; }
154
+ .courier-mjp,
155
+ ul.courier-mjp a { font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace; }
156
+ .lucida-mjp,
157
+ ul.lucida-mjp a { font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace; }
158
+ .gill-mjp,
159
+ ul.gill-mjp a { font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; }
160
+
161
+ .player-track-title,
162
+ .player-track-title div,
163
+ .a-mjp { line-height: 110% !important; }
164
+
165
+ .player-track-title div { font-size:0.7em; }
166
+
167
+ .titleHide-mjp { display:none; }
168
+
169
+ /* ===== jQuery UI ===== */
170
+ .ui-state-disabled { cursor:default !important; }
171
+ .ui-slider {
172
+ position:relative;
173
+ text-align:left;
174
+ }
175
+ .ui-slider .ui-slider-handle {
176
+ position:absolute;
177
+ z-index:200;
178
+ cursor:default;
179
+ }
180
+ .ui-slider .ui-slider-range {
181
+ position:absolute;
182
+ z-index:1;
183
+ font-size:.7em;
184
+ display:block;
185
+ border:0;
186
+ }
187
+ .ui-slider-horizontal .ui-slider-range { top:0; height:100%; }
188
+ .ui-slider-horizontal .ui-slider-range-min { left:0; }
189
+ .ui-slider-horizontal .ui-slider-range-max { right:0; }
190
+ .ui-state-default,
191
+ .ui-widget-content .ui-state-default { outline:none; border:0px; }
192
+
193
+
194
+ /* ===== ===== */
195
+ div.mp3j-dlframe,
196
+ iframe.mp3j-dlframe {
197
+ width:1px;
198
+ height:1px;
199
+ overflow:hidden;
200
+ margin:0;
201
+ padding:0;
202
+ display:none !important;
203
+ }
204
+
205
+ /* ===== ===== */
206
+ .MI-image { position:relative; padding:0; }
207
+ .MI-image img { border:none; padding:0px; width:100%; height:auto; }
208
+ .MI-image.Himg img { width:auto; height:100%; }
209
+ .MI-image.Fimg img { width:auto; height:auto; }
210
+ .MI-image a:hover img { }
211
+
212
+ .MI-image.left-mjp { margin:0 auto 0 0; }
213
+ .MI-image.centre-mjp { margin: 0 auto; }
214
+ .MI-image.right-mjp { margin: 0 0 0 auto; }
215
+
216
+
217
+ .unsel-mjp {
218
+ -moz-user-select: -moz-none;
219
+ -khtml-user-select: none;
220
+ -webkit-user-select: none;
221
+ -ms-user-select: none;
222
+ user-select: none;
223
+ }
224
+
225
+ .innerExt1 { display:none; }
226
+ .innerExt2 { display:none; }
227
+ div.mjp-volwrap { position:absolute; top:0; right:0; }
228
+
229
+
230
+ /*---------------------
231
+ [mp3-jplayer] SHORTCODE
232
+ ==================================== */
233
+
234
+ /* SUB WRAPPERS */
235
+ div.jp-innerwrap { background:none; }
236
+ div.interface-mjp { padding:0 0 39px 0; }
237
+ div.listwrap_mp3j { margin-top:0px; }
238
+
239
+ /* BACKGROUNDS */
240
+ div.innerx, div.innerleft, div.innerright, div.innertab, div.innertab2 { position:absolute; }
241
+ div.innerx { background:url('images/case-grad-x.png') repeat-x left -45px; width:auto; height:38px; left:0px; right:0px; bottom:0px; z-index:10;
242
+ -webkit-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
243
+ -moz-box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
244
+ box-shadow: 0px 1px 1px 0px rgba(50, 50, 50, 0.75);
245
+
246
+ }
247
+ div.innerleft { display:block; position: absolute; height: 20px; right: 88px; left: -1px; top: 0px; background: url('images/case2t-x.png') repeat-x left top; z-index:125; }
248
+ div.innerright { display:block; position: absolute; height: 20px; width: 90px; right: -2px; top: 0px; background: url('images/case2t-r.png') no-repeat right top; z-index:125; }
249
+ div.innertab { left:0px; top:0px; right:0px; width:100%; bottom:38px; }
250
+ div.innertab2 { display:none; }
251
+
252
+ /* PLAYLIST */
253
+ .ul-mjp { margin:0px !important; padding:3px 0px 0px 0px !important; list-style-type:none !important; list-style:none !important; list-style-image:none !important; }
254
+ .li-mjp { margin:0px !important; padding:0px 0px 1px 0px !important; letter-spacing:0px !important; word-spacing:0px !important; margin:0px 1px 0px 1px !important; list-style-type:none !important; }
255
+ .li-mjp:before { content:none !important; }
256
+ .a-mjp {
257
+ border:0 !important;
258
+ text-decoration:none !important;
259
+ display:block !important; width:auto !important;
260
+ outline:none !important;
261
+ padding:7px 10px 7px 14px !important;
262
+ text-shadow: none !important;
263
+ }
264
+
265
+ /* SCREEN */
266
+ div.player-track-title, div.jp-play-time, div.jp-total-time, div.statusMI {
267
+ position:absolute;
268
+ z-index:50;
269
+ }
270
+
271
+ div.player-track-title div { position:relative; }
272
+
273
+ div.jp-play-time, div.jp-total-time, div.statusMI { font-size:8px; line-height:10px !important; bottom:49px; text-align:left; }
274
+ div.jp-play-time { right:90px; }
275
+ div.jp-total-time { right:6px; width:auto; }
276
+
277
+ span.mp3-finding, span.mp3-tint { padding:0px 0px 0px 6px !important; font-size:8px !important; line-height:10px !important; height:10px !important; overflow:hidden !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
278
+ span.mp3-finding { margin:0px 0px 0px -2px; background:url('images/finding-bar1f.gif') repeat 0px 3px; }
279
+ span.mp3-tint { margin:0px 2px 0px -6px; opacity:.5; filter:alpha(opacity=50); /* background set from admin */ }
280
+ div.statusMI span.tintmarg { margin:0 2px 0 3px; }
281
+
282
+ div.statusMI { right:27px; width:58px !important; height:10px; }
283
+ .statusMI span.mp3-finding, .statusMI span.mp3-tint, div.statusMI span.mp3-gtint { padding:0px 0px 0px 6px !important; }
284
+ .statusMI span.mp3-tint, .statusMI span.mp3-gtint { margin:0px 2px 0px -6px; }
285
+
286
+
287
+ /* TRANSPORT BUTTONS */
288
+ div.transport-MI { position:absolute; width:auto; height:36px; right:2px; bottom:0px; border:0; z-index:20; }
289
+ div.transport-MI div { background-image: url("images/transport-hardW-shiny.png"); text-indent:-9999px !important; float:right; cursor:pointer; }
290
+
291
+ div.play-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-110px 0px; }
292
+ div.play-mjp:hover { background-position:-110px -32px; }
293
+
294
+ div.pause-mjp { width:30px; height:32px; margin:1px 0px 0px 0px; background-position:-2px 0px; }
295
+ div.pause-mjp:hover { background-position:-2px -32px; }
296
+
297
+ div.prev-mjp { width:22px; height:28px; margin:1px 4px 0px 0px; background-position:-32px -1px; }
298
+ div.prev-mjp:hover { background-position:-32px -33px; }
299
+
300
+ div.next-mjp { width:19px; height:28px; margin:1px 3px 0px 0px; background-position:-57px -1px; }
301
+ div.next-mjp:hover { background-position:-57px -33px; }
302
+
303
+ div.stop-mjp { width:26px; height:32px; margin:1px 3px 0px 0px; background-position:-81px 0px; }
304
+ div.stop-mjp:hover { background-position:-81px -32px; }
305
+
306
+
307
+ /* PLAYLIST TOGGLE */
308
+ div.playlist-toggle-MI { position:absolute; cursor:pointer; z-index:20; font-size:8px; bottom:1px; left:1px; color:#707070; padding:4px 6px 2px 5px; line-height:9px; min-width:24px; background:#bcbcbc; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; cursor:default; }
309
+ div.playlist-toggle-MI:hover { background:#c6c6c6; color:#777; }
310
+
311
+ /* DOWNLOAD BUTTON */
312
+ div.dloadmp3-MI { position:absolute; min-height:11px; cursor:pointer; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; bottom:47px; margin:0px !important; font-size:9px !important; text-align:center; left:0px; width:41%; min-width:75px; max-width:425px; padding:0px 0px 0px 0px !important; border:0px; background:transparent url('images/t50b.png') repeat left top !important; color:#fff; line-height:11px !important; -moz-border-radius-topright:3px; -webkit-border-top-right-radius:3px; overflow:hidden; z-index:150; cursor:default; }
313
+ div.dloadmp3-MI.whilelinks, div.dloadmp3-MI.logintext { background:transparent url('images/t50b.png') repeat left top !important; }
314
+ div.dloadmp3-MI.whilelinks:hover { background:transparent url('images/t40b.png') repeat left top !important; }
315
+ div.dloadmp3-MI a { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
316
+ div.dloadmp3-MI a:hover { outline: none; border-bottom: none; color: #ececec; }
317
+ div.dloadmp3-MI.whilelinks a { color: #f3f3f3; visibility: inherit; }
318
+ div.dloadmp3-MI.whilelinks a:hover { color: #fff; }
319
+ div.dloadmp3-MI p { color:#ececec; display:block; width:auto; padding:2px 5px 1px 2px !important; margin:0px !important; background:transparent; text-decoration:none !important; font:normal normal 500 9px 'trebuchet ms', 'Lucida Grande', 'arial', sans-serif !important; font-size:9px !important; line-height:11px !important; height:100%; border-bottom:none; visibility:visible; }
320
+
321
+ /* POPOUT BUTTON */
322
+ div.mp3j-popout-MI { position:absolute; cursor:pointer; z-index:20; font-size:9px; bottom:16px; left:0px; height:16px; color:#6c6c6c; padding:3px 5px 0px 28px; min-width:2px; line-height:11px; border:1px solid #b2b2b2; background-color:#aaa; background-image:url('images/buttons-popoutE.png'); background-repeat:no-repeat; background-position:-8px -65px; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; cursor:default; }
323
+ div.mp3j-popout-MI:hover { color:#606060; border:1px solid #b2b2b2; background-position:-8px -95px; }
324
+
325
+
326
+ /* VOLUME */
327
+ div.MIsliderVolume { position:absolute; position:absolute; top:6px; right:10px; width:60px; height:4px !important; background:#808080; border:1px solid #c0c0c0; font-size:1px; cursor:pointer; z-index:150; }
328
+ div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60w2.png') repeat-y -15px top; cursor:pointer; }
329
+ div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-4px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:pointer; }
330
+ div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
331
+ div.MIsliderVolume .ui-state-active, div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
332
+
333
+ /* LOADER AND POS SLIDER */
334
+ div.loadMI_mp3j, div.poscolMI_mp3j, div.posbarMI_mp3j { position:absolute; top:0px; left:0px; }
335
+ div.bars_holder { position:absolute; left:0px; right:0px; bottom:38px; font-size:1px; cursor:default; background-image: url('images/t60w.png'); background-repeat: repeat-x; background-position: left bottom;
336
+
337
+ top:auto; height:8px; border-top:1px solid #b0b0b0; background-color:#888;
338
+
339
+ }
340
+
341
+
342
+ div.loadMI_mp3j { bottom:1px; }
343
+ div.poscolMI_mp3j { bottom:1px; }
344
+ div.bars_holder .ui-widget-header, div.bars_holder .ui-widget-content { border:0px !important; background:none; }
345
+ div.bars_holder .ui-slider-horizontal { top:0px; bottom:0px; height:auto; z-index:90; }
346
+ div.posbarMI_mp3j { bottom:0px; width:100%; }
347
+ div.posbarMI_mp3j .ui-slider-handle { top:-6px; margin-left:-1px !important; border:0; bottom:-2px; width:2px !important; z-index:100; background:none; cursor:default ; padding:0px !important; }
348
+ div.posbarMI_mp3j .ui-slider-handle:hover { background:none; z-index:100; }
349
+
350
+
351
+ /* FORCED DOWNLOAD FRAME
352
+ ------------------------ */
353
+ /* MESSAGES */
354
+ div.mp3j-finfo {
355
+ position:absolute;
356
+ top:36px;
357
+ z-index:9999 !important;
358
+ width:80%;
359
+ left:10%;
360
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
361
+ background:url('images/fdloadW-x.png') repeat-x left top;
362
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
363
+ padding:0;
364
+ min-height:31px;
365
+ overflow:hidden;
366
+ min-width:170px;
367
+ text-align: left;
368
+ }
369
+
370
+ div.mp3j-finfo * { font-family:Arial, Helvetica, sans-serif !important; }
371
+ div.mp3j-finfo-sleeve { position:relative !important; width:100%; height:100%; }
372
+ div.mp3j-finfo-gif { position:absolute !important; top:0; left:0; right:10%; bottom:0; background:url('images/loader.gif') no-repeat center 37px; width:auto; padding:0px; height:100%; }
373
+ div.mp3j-finfo-txt { position:relative !important; margin:0px 15px 0 15px !important; padding:10px 0 10px 0 !important; width:auto; }
374
+ div.mp3j-finfo-close { position:absolute !important; width:31px !important; height:27px !important; padding-top:5px !important; right:0 !important; top:0 !important; text-align:center !important; font-weight:700 !important; font-size:18px !important; line-height:22px !important; color:#aaa !important; border-bottom:1px solid #ccc !important; border-left:1px solid #ccc !important; background:url('images/t40w.png') repeat left top !important; }
375
+ div.mp3j-finfo-close:hover { color:#888 !important; }
376
+
377
+ div.mp3j-finfo-txt h2 { font-size:15px !important; color:#333 !important; margin:0 0 10px 0 !important; }
378
+ div.mp3j-finfo-txt h3 { font-size:14px !important; color:#333 !important; margin:0 0 15px 0 !important; }
379
+ div.mp3j-finfo-txt p { font-size:11px !important; color:#555 !important; line-height:13px !important; margin:0 0 5px 0; }
380
+ div.mp3j-finfo-txt a { }
381
+
382
+ /* backwards compat
383
+ ------------------- */
384
+ div.player-track-title.mp3j_widgetmods { font-size: 11px; top: 7px; left:5px; }
385
+ div.player-track-title.mp3j_widgetmods span { font-size: 9px; }
386
+ ul.ul-mjp.mp3j_widgetmods li { font-size:10px !important; line-height:14px !important; }
387
+ ul.ul-mjp.mp3j_widgetmods li a { font-size:10px !important; line-height:14px !important; }
388
+
389
+
390
+ .mp3j-nosolution,
391
+ .s-nosolution
392
+ {
393
+ padding:10px 5% 10px 5%;
394
+ border:1px solid #c0c0c0;
395
+ background:#f0f0f0;
396
+ color:#333;
397
+ top:4px;
398
+ left:4px;
399
+ right:4px;
400
+ -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
401
+ font-size:13px;
402
+ -webkit-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); -moz-box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35); box-shadow:0px 1px 4px rgba(0, 0, 0, 0.35);
403
+ }
404
+
405
+ /*-------------------------
406
+ [mp3j] & [mp3t] SHORTCODES
407
+ ==================================== */
408
+
409
+ div.mjp-s-wrapper.s-text { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
410
+ div.mjp-s-wrapper.s-graphic { padding:0 0 0px 0; line-height:100% !important; margin:0 !important; }
411
+ span.wrap_inline_mp3j { position:relative; width:auto; cursor:pointer; padding:0; white-space:nowrap; text-align:left; }
412
+ span.indi_mp3j { position:relative; padding-left:2px; }
413
+
414
+ span.T_mp3j span { font-size:0.7em }
415
+
416
+ /* BARS */
417
+ span.bars_mp3j { position:absolute; width:100%; top:0px; bottom:0px; }
418
+ span.load_mp3j, span.loadB_mp3j { position:absolute; /* background set from admin */ bottom:-5px; left:0px; min-height:3px; height:12%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
419
+ /* mp3t */
420
+ span.posbar_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0px solid #f77; background:none !important; }
421
+ span.posbar_mp3j .ui-widget-header { z-index:-500; }
422
+ span.posbar_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat; top:-1px; margin-left:-4px; border:1px solid #bbb; bottom:-8px; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
423
+ span.posbar_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat; border-color:#999; }
424
+
425
+ /* mp3j */
426
+ span.posbarB_mp3j { position:absolute; width:100%; top:0px; bottom:0px; border:0; cursor:pointer; z-index:499; background:none !important; }
427
+ span.posbarB_mp3j .ui-widget-header { background:transparent; z-index:-450; height:100%; }
428
+ span.posbarB_mp3j .ui-slider-handle { background:url('images/t50l.png') repeat 0px 0px; top:-2px; bottom:-8px; margin-left:-4px; border:1px solid #bbb; width:8px; z-index:500; cursor:default; padding:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
429
+ span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t50l.png') repeat 0px 0px; border-color:#999; }
430
+
431
+ /* SPAN TRANSPORT */
432
+ span.textbutton_mp3j, span.T_mp3j { position:relative; width:auto; padding:0px; background:none; margin:0 0px 0 0px; }
433
+ span.group_wrap { position:relative; width:auto; margin:0px; }
434
+ span.gfxbutton_mp3j.play-mjp, span.gfxbutton_mp3j.pause-mjp {
435
+ font-size:14px !important; padding:1px 0px 7px 8px; margin:0 5px 0px 2px; background-color:#e0e0e0; background-repeat:no-repeat;
436
+ }
437
+ span.gfxbutton_mp3j.play-mjp { background:transparent url('images/transport-shard-B.png') no-repeat -81px -3px; }
438
+ span.gfxbutton_mp3j.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -81px -35px;; }
439
+ span.gfxbutton_mp3j.pause-mjp { background: transparent url('images/transport-shard-B.png') no-repeat -3px -3px; }
440
+ span.gfxbutton_mp3j.pause-mjp:hover { background: transparent url('images/transport-shard-B.png') no-repeat -3px -35px; }
441
+
442
+ /* VOLUMES */
443
+ span.vol_mp3t { position:absolute; top:-7px; right:3px; width:90%; max-width:85px; height:3px; }
444
+ span.vol_mp3j { position:absolute; top:-11px; right:12px; width:85%; max-width:82px; height:3px; }
445
+ span.vol_mp3j.flipped { right:4px; }
446
+ span.vol_mp3t .ui-widget-header, span.vol_mp3j .ui-widget-header { z-index:500; height:100%; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; background:#fff url('images/vol-grad60b2.png') repeat-y 0px top; }
447
+
448
+ span.vol_mp3t .ui-slider-handle, span.vol_mp3j .ui-slider-handle {
449
+ background: transparent url('images/vol-handle.png') no-repeat -1px 0px;
450
+ height:11px;
451
+ width:10px !important;
452
+ padding:0px;
453
+ margin-left:-6px;
454
+ border:0px solid #505050;
455
+ border-radius:2px; -moz-border-radius:2px; -webkit-border-radius:2px;
456
+ z-index:600;
457
+ overflow:hidden !important;
458
+ cursor:default;
459
+ top:-5px;
460
+ }
461
+ span.vol_mp3t .ui-slider-handle:hover, span.vol_mp3j .ui-slider-handle:hover { background-color:#575757; background-position:-21px 0px; }
462
+ span.vol_mp3t .ui-state-active, span.vol_mp3t .ui-widget-content .ui-state-active, span.vol_mp3j .ui-state-active, span.vol_mp3j .ui-widget-content .ui-state-active { outline:none; background-color:#575757; background-position:-21px 0px; }
463
+
464
+ span.Smp3-finding,
465
+ span.mp3-gtint {
466
+ padding:0px 0px 0px 8px;
467
+ overflow:hidden;
468
+ -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px;
469
+ }
470
+
471
+ span.Smp3-finding { margin:0px 0px 0px 3px; background:url('images/pulse.gif') repeat 0px 0px; }
472
+ span.mp3-gtint { margin:0px 2px 0px -8px; opacity:.5; filter:alpha(opacity=50); background:#777; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
473
+ span.tintmarg { margin:0 2px 0 3px; }
474
+
475
+ span.Smp3-tint { opacity:.5; filter:alpha(opacity=50); padding:0px 0px 0px 8px; -moz-border-radius:2px; -webkit-border-radius:2px; border-radius:2px; }
476
+
477
+
478
+
479
+ /*----------------------
480
+ [popout] SHORTCODE
481
+ ================================================= */
482
+ .popout-wrap-mjp {
483
+ cursor:pointer;
484
+ position:relative;
485
+ border-width:0px;
486
+ border-style:solid;
487
+ background:transparent;
488
+ padding:5px 10px 5px 0px;
489
+
490
+ }
491
+ .popout-wrap-mjp * { margin:0; padding:0; }
492
+ .popout-text-mjp { float:left; }
493
+ .popout-image-mjp {
494
+ float:left;
495
+ background-image:url('images/buttons-popout.png');
496
+ background-repeat:no-repeat;
497
+ background-position:-10px -62px;
498
+ min-width:28px;
499
+ min-height:28px;
500
+ }
501
+ .popout-image-mjp-custom { float:left; }
502
+ .clearL-mjp { clear:left; }
503
+
504
+
505
+ /*
506
+ MODS (via 'style' param in shortcode)
507
+ ================================================= */
508
+
509
+ /* ===== "dark" ===== */
510
+ .dark .innerx { background-position:left -119px; }
511
+ .dark .transport-MI { height:38px; }
512
+ .dark .transport-MI div { background-image:url("images/transport-darkbg-trans2.png"); }
513
+ .dark .bars_holder { background:url('images/t40b.png') repeat-x left bottom; }
514
+ .dark .mp3j-popout-MI { color:#a2a2a2; background-position:-8px -6px; border-color:#585858; background-color:#aaa; }
515
+ .dark .mp3j-popout-MI:hover { color:#aaa; background-position:-8px -36px; }
516
+ .dark div.playlist-toggle-MI { background:#505050; color:#a2a2a2; }
517
+ .dark div.playlist-toggle-MI:hover { background:#585858; color:#aaa; }
518
+ .dark .MI-image img { background-color:#777; }
519
+
520
+ .dark div.mp3j-finfo { background:url('images/fdloadB-x.png') repeat-x left top; }
521
+ .dark div.mp3j-finfo-gif { background:url('images/loader-w2.gif') no-repeat center 37px; }
522
+ .dark div.mp3j-finfo-close { color:#999 !important; border-bottom:1px solid #777 !important; border-left:1px solid #777 !important; background:url('images/t40b.png') repeat left top !important; }
523
+ .dark div.mp3j-finfo-close:hover { color:#eee !important; }
524
+ .dark div.mp3j-finfo-txt h2 { color:#fff !important; }
525
+ .dark div.mp3j-finfo-txt h3 { color:#fff !important; }
526
+ .dark div.mp3j-finfo-txt p { color:#fff !important; }
527
+
528
+
529
+ /* ===== "text" ===== */
530
+ div.wrap-mjp.text { /*min-width:300px;*/ }
531
+ .text div.innerx, .text div.innerleft, .text div.innerright { position: absolute; visibility: hidden; }
532
+ .text div.innertab { bottom: 38px; }
533
+ .text div.interface-mjp { background:none; }
534
+ .text div.player-track-title { font:normal normal 500 16px/18px 'trebuchet ms', Arial, sans-serif; }
535
+ .text div.player-track-title span { font:italic normal 500 12px/14px 'trebuchet ms', Arial, sans-serif; opacity:0.7; filter:alpha(opacity=70); }
536
+ .text div.jp-play-time, .text div.jp-total-time, .text div.statusMI { bottom:20px; font-size:11px; font-family: 'trebuchet ms', Arial, sans-serif; }
537
+ .text div.jp-play-time { width:37px; left:0px; right:auto; opacity:0.6; filter:alpha(opacity=60); }
538
+ .text div.jp-total-time { width:37px; left:100px; display:none; }
539
+ .text div.statusMI { left:37px; width:70px !important; }
540
+ .text div.transport-MI { height:26px; right:2px; bottom:12px; }
541
+ .text div.transport-MI div { font-family: 'trebuchet ms', Arial, sans-serif; font-weight:700; overflow:hidden !important; background:none !important; white-space:nowrap !important; }
542
+ .text div.play-mjp { text-indent:6px !important; width:32px; overflow:hidden !important; height: 25px; margin:0 6px 0 0px; background:none !important; line-height:25px !important; font-size:14px; }
543
+ .text div.pause-mjp { text-indent:0px !important; width:38px; overflow:hidden !important; height: 25px; margin:0 -3px 0 3px; background:none !important; line-height:25px !important; font-size:14px; }
544
+ .text div.prev-mjp, .text div.next-mjp { text-indent:0px !important; height:23px; line-height:23px !important; font-size:12px; width:36px; margin:2px 0px 0px 0px; }
545
+ .text div.stop-mjp { text-indent:0px !important; width:31px; height:25px; margin:0px 0px 0px 4px; line-height:25px !important; font-size:14px; }
546
+ .text div.playlist-toggle-MI { bottom: 7px; font-family:'trebuchet ms', Arial, sans-serif; background:none; padding:0; opacity:0.6; filter:alpha(opacity=60); }
547
+ .text div.playlist-toggle-MI:hover { opacity:1.0; filter:alpha(opacity=100); }
548
+ .text div.dloadmp3-MI { font-size:11px; bottom: 6px; height:auto; right:0px !important; left:auto; margin:0; font-family: 'trebuchet ms', Arial, sans-serif; text-align:right; background:none !important; }
549
+ .text div.dloadmp3-MI a { color:#888; font-size:inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
550
+ .text div.dloadmp3-MI a:hover { color:#555; background:none !important; }
551
+ .text div.dloadmp3-MI.betweenlinks a { display:none; background:none !important; }
552
+ .text div.dloadmp3-MI.whilelinks a { display:block; background:none !important; }
553
+ .text div.dloadmp3-MI.whilelinks a:hover { text-decoration:none; background:none !important; }
554
+ .text div.dloadmp3-MI p { font-size: inherit; margin:0px !important; padding: 0px !important; background:none !important; text-decoration:none; }
555
+ .text div.mp3j-popout-MI { color:#888; font:normal normal 500 11px 'trebuchet ms', 'arial', sans-serif; bottom:15px; right:155px; left:auto; width:auto; opacity:1; filter:alpha(opacity=100); padding:0px; line-height:12px; border:0; background:none; cursor:default; z-index:500; }
556
+ .text div.mp3j-popout-MI:hover { color:#555; opacity:1.0; filter:alpha(opacity=100); }
557
+
558
+
559
+
560
+ .text div.dloadmp3-MI.whilelinks, .text div.dloadmp3-MI.logintext { background:none !important; }
561
+
562
+ .text span.mjp-playing, .text span.mjp-paused, .text span.mjp-ready, .text span.mjp-stopped, .text span.mjp-connecting, .text span.mjp-buffering { display:inline; }
563
+
564
+
565
+ /* ===== !Backwards compat "noscreen" ===== */
566
+ .noscreen div.interface-mjp { height:10px !important; }
567
+ .noscreen div.player-track-title { display:none; }
568
+ .noscreen div.bars_holder { top:auto; bottom:0px; height:7px; }
569
+ .noscreen div.innertab { bottom: 0px; top:0; display:none; }
570
+ .noscreen div.dloadmp3-MI { bottom: 11px; }
571
+ .noscreen div.transport-MI { bottom:17px; }
572
+ .noscreen div.jp-play-time, .noscreen div.jp-total-time, .noscreen div.statusMI { bottom:25px; }
573
+ .noscreen div.playlist-toggle-MI { bottom: 12px; }
574
+ .noscreen div.mp3j-popout-MI { bottom: 20px; }
575
+
576
+
577
+ .noscreen div.mjp-volwrap { bottom:43px !important; top:auto; height:5px; width:100px; }
578
+ .noscreen h2 { margin:0 !important; padding:0 0 0px 0 !important; }
579
+ .noscreen div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:0px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
580
+ .noscreen div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
581
+ .noscreen .MI-image { top:15px; }
582
+
583
+
584
+ /* ===== "headless" ===== */
585
+ .headless div.interface-mjp { height:20px; }
586
+ .headless div.player-track-title { display:none; }
587
+ .headless .MI-image { display:none; }
588
+ .headless div.innertab { display:none; }
589
+ .headless div.bars_holder { height:7px; }
590
+ .headless div.MIsliderVolume { bottom: 43px; }
591
+ .headless div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60b2.png') repeat-y 0px top; }
592
+ .headless div.MIsliderVolume .ui-slider-handle { top:-6px; }
593
+ .headless h2 { margin:0 !important; padding:0 0 0px 0 !important; }
594
+ .headless div.posbarMI_mp3j .ui-slider-handle { top:-5px; margin-left:-7px !important; border:0; bottom:-5px; width:14px !important; z-index:100; background:none; border:none; cursor:default ; padding:0px !important; }
595
+ .headless div.posbarMI_mp3j .ui-slider-handle:hover { background:none; border:none; }
596
+
597
+ /* ===== "bars100" ===== */
598
+ .bars100 div.player-track-title { left:112px; }
599
+ .bars100 div.dloadmp3-MI { left:102px; width:36%;}
600
+ .bars100 div.bars_holder { left:102px; width:auto; }
601
+ .bars100 .MI-image img { padding:1px; }
602
+ .bars100 div.player-track-title { top:20px; }
603
+
604
+ /* ===== "bars150" ===== */
605
+ .bars150 div.player-track-title { left:162px; }
606
+ .bars150 div.dloadmp3-MI { left:152px; width:33%;}
607
+ .bars150 div.bars_holder { left:152px; width:auto; }
608
+ .bars150 .MI-image img { padding:1px; }
609
+ .bars150 div.player-track-title { top:20px; }
610
+
611
+ /* ===== "bars200" ===== */
612
+ .bars200 div.player-track-title { left:212px; }
613
+ .bars200 div.dloadmp3-MI { left:202px; width:30%; }
614
+ .bars200 div.bars_holder { left:202px; width:auto; }
615
+ .bars200 .MI-image img { padding:1px; }
616
+ .bars200 div.player-track-title { top:20px; }
617
+
618
+ /* ===== "bars250" ===== */
619
+ .bars250 div.player-track-title { left:262px; }
620
+ .bars250 div.dloadmp3-MI { left:252px; width:27%;}
621
+ .bars250 div.bars_holder { left:252px; width:auto; }
622
+ .bars250 .MI-image img { padding:1px; }
623
+ .bars250 div.player-track-title { top:20px; }
624
+
625
+ /* ===== "bars300" ===== */
626
+ .bars300 div.player-track-title { left:312px; }
627
+ .bars300 div.dloadmp3-MI { left:302px; width:24%; }
628
+ .bars300 div.bars_holder { left:302px; width:auto; }
629
+ .bars300 .MI-image img { padding:1px; }
630
+ .bars300 div.player-track-title { top:20px; }
631
+
632
+ /* ===== "bars350" ===== */
633
+ .bars350 div.player-track-title { left:362px; }
634
+ .bars350 div.dloadmp3-MI { left:352px; width:21%;}
635
+ .bars350 div.bars_holder { left:352px; width:auto; }
636
+ .bars350 .MI-image img { padding:1px; }
637
+ .bars350 div.player-track-title { top:20px; }
638
+
639
+ /* ===== "bars400" ===== */
640
+ .bars400 div.player-track-title { left:412px; }
641
+ .bars400 div.dloadmp3-MI { left:402px; width:18%; }
642
+ .bars400 div.bars_holder { left:402px; width:auto; }
643
+ .bars400 .MI-image img { padding:1px; }
644
+ .bars400 div.player-track-title { top:20px; }
645
+
646
+ /* ===== bigger1 ===== */
647
+ div.bigger1 span { font-size:18px !important; line-height:26px !important; margin:0 !important; }
648
+ .bigger1 span.load_mp3j .ui-slider-handle,
649
+ .bigger1 span.posbar_mp3j .ui-slider-handle { top: 3px; height:24px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
650
+ .bigger1 span.posbarB_mp3j .ui-slider-handle { top: 3px; margin-left:-3px !important; border:1px solid #999; height:24px; width:6px !important; z-index:500; background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
651
+ .bigger1 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; border-color:#aaa; }
652
+ .bigger1 span.play-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -80px 5px; }
653
+ .bigger1 span.play-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -80px -27px; }
654
+ .bigger1 span.pause-mjp { font-size:14px !important; position:relative; margin:0px; margin-left:2px !important; padding:10px 0px 5px 6px; background: transparent url('images/transport-shard-B.png') no-repeat -2px 5px; }
655
+ .bigger1 span.pause-mjp:hover { background:transparent url('images/transport-shard-B.png') no-repeat -2px -27px; }
656
+ .bigger1 span.vol_mp3j { position:absolute; top:-6px; right:4px; width:85%; max-width:100px; height:2px; }
657
+
658
+ .bigger1 span.Smp3-finding,
659
+ .bigger1 span.mp3-gtint,
660
+ .bigger1 span.Smp3-tint {
661
+ padding:0px 0px 0px 10px !important;
662
+ font-size:10px !important;
663
+ }
664
+ .bigger1 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
665
+ .bigger1 span.mp3-gtint { margin:0px 8px 0px -10px !important; }
666
+ .bigger1 span.tintmarg { margin:0 8px 0 8px !important; }
667
+
668
+ .bigger1 div.player-track-title { font:normal normal 500 18px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
669
+ .bigger1 div.player-track-title span { font:normal normal 500 14px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
670
+ .bigger1 ul.ul-mjp li a, .bigger1 ul.ul-mjp li { font-size:16px !important; line-height:19px !important; }
671
+ .bigger1 .indi_mp3j { font-size: 0.6em !important; }
672
+
673
+ .bigger1 span.textbutton_mp3j, .bigger1 span.textbutton_mp3j:hover { background:none; }
674
+
675
+ /* ===== "bigger2" ===== */
676
+ .bigger2 div.player-track-title { font:normal normal 500 36px/38px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
677
+ .bigger2 div.player-track-title span { font:normal normal 500 20px/22px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
678
+ .bigger2 ul.ul-mjp li a, .bigger2 ul.ul-mjp li { font-size:20px !important; line-height:24px !important; }
679
+ div.bigger2 span { font-size:23px !important; line-height:25px !important; margin:0 !important; }
680
+ .bigger2 span.posbar_mp3j .ui-slider-handle { top: 0px; height:34px; width:6px !important; margin-left:-3px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
681
+ .bigger2 span.posbarB_mp3j .ui-slider-handle { top: -1px; margin-left:-3px !important; border:1px solid #999; height:34px; width:8px !important; z-index:500; border-color:#aaa; background:url('images/mp3t-poshandle.png') repeat-y 0px 0px; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
682
+ .bigger2 span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/mp3t-poshandle.png') repeat-y -50px 0px; border-color:#999; }
683
+ .bigger2 span.play-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/play-dark2-b.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px !important; }
684
+ .bigger2 span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -437px center; }
685
+ .bigger2 span.pause-mjp { font-size:14px !important; font-family:Arial, Helvetica, sans-serif !important; padding:13px 0px 4px 5px !important; background:url('images/stop-dark2-b.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
686
+ .bigger2 span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
687
+ .bigger2 span.vol_mp3j { position:absolute; top:-12px; right:4px; width:85%; max-width:100px; height:2px; }
688
+ .bigger2 span.vol_mp3t { position:absolute; top:-10px; width:85%; max-width:100px; height:2px; }
689
+ .bigger2 .indi_mp3j { font-size: 0.5em !important; padding-left:0px; }
690
+
691
+ .bigger2 span.Smp3-finding,
692
+ .bigger2 span.mp3-gtint,
693
+ .bigger2 span.Smp3-tint {
694
+ padding:0px 0px 0px 12px !important;
695
+ font-size:12px !important;
696
+ }
697
+ .bigger2 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
698
+ .bigger2 span.mp3-gtint { margin:0px 8px 0px -12px !important; }
699
+ .bigger2 span.tintmarg { margin:0 8px 0 8px !important; }
700
+
701
+ .bigger2.wh .play-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:2px 0px 4px 20px !important; background:url('images/play-dark2-w.png') no-repeat -186px center; border:0px solid #bbb; margin-left:10px; }
702
+ .bigger2.wh .play-mjp:hover { background:url('images/play-dark2-w.png') no-repeat -437px center; }
703
+ .bigger2.wh .pause-mjp { font-family:Arial, Helvetica, sans-serif !important; padding:0px 0px 2px 20px !important; background:url('images/stop-dark2-w.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
704
+ .bigger2.wh .pause-mjp:hover { background:url('images/stop-dark2-w.png') repeat-y -350px top; }
705
+
706
+ .bigger2 span.textbutton_mp3j, .bigger2 span.textbutton_mp3j:hover { background:none; }
707
+
708
+ /* ===== bigger3 ===== */
709
+ div.bigger3 span { font-size:28px !important; line-height:36px !important; margin:0 !important; }
710
+ .bigger3 .posbar_mp3j .ui-slider-handle, .bigger3 .posbarB_mp3j .ui-slider-handle { top: 0px; border:1px solid #bbb; height:44px; width:12px !important; margin-left:-5px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
711
+ .bigger3 .posbar_mp3j .ui-slider-handle:hover, .bigger3 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
712
+ .bigger3 .indi_mp3j { font-size: 0.5em !important; }
713
+ .bigger3 span.play-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/play-dark2.png') no-repeat -177px center; border:0px solid #bbb; margin-left:12px !important; }
714
+ .bigger3 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -428px center; }
715
+ .bigger3 span.pause-mjp { font-size:17px !important; font-family:Arial, Helvetica, sans-serif !important; padding:11px 5px 9px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:12px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
716
+ .bigger3 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
717
+ .bigger3 .vol_mp3j { height:1px; max-width:110px; right:64px; top:-8px; }
718
+ .bigger3 .vol_mp3t { height:1px; max-width:110px; right:16px; top:-5px; }
719
+ .bigger3 .vol_mp3j .ui-slider-handle, .bigger3 .vol_mp3t .ui-slider-handle { height:14px !important; width:33px !important; margin-left:-16px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-14px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
720
+ .bigger3 .vol_mp3j .ui-slider-handle:hover, .bigger3 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
721
+
722
+ .bigger3 span.Smp3-finding,
723
+ .bigger3 span.mp3-gtint,
724
+ .bigger3 span.Smp3-tint {
725
+ padding:0px 0px 0px 14px !important;
726
+ font-size:16px !important;
727
+ }
728
+ .bigger3 span.Smp3-finding { margin:0px 0px 0px 8px !important;}
729
+ .bigger3 span.mp3-gtint { margin:0px 8px 0px -14px !important; }
730
+ .bigger3 span.tintmarg { margin:0 8px 0 8px !important; }
731
+
732
+ .bigger3 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
733
+ .bigger3 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
734
+ .bigger3 ul.ul-mjp li a, .bigger3 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
735
+
736
+ .bigger3.bl span.play-mjp { background:url('images/play-dark2-b.png') no-repeat -177px center; }
737
+ .bigger3.bl span.play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -428px center; }
738
+ .bigger3.bl span.pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
739
+ .bigger3.bl span.pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
740
+ .bigger3.bl span.vol_mp3j .ui-slider-handle, .bigger3.bl span.vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
741
+ .bigger3.bl span.vol_mp3j .ui-slider-handle:hover, .bigger3.bl span.vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
742
+ .bigger3 span.textbutton_mp3j, .bigger3 span.textbutton_mp3j:hover { background:none; }
743
+
744
+ /* ===== bigger4 ===== */
745
+ div.bigger4 span { font-size:38px !important; line-height:46px !important; margin:0 !important; }
746
+ .bigger4 .posbar_mp3j .ui-slider-handle, .bigger4 .posbarB_mp3j .ui-slider-handle { top: -2px; border:1px solid #bbb; height:54px; width:16px !important; margin-left:-8px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
747
+ .bigger4 .posbar_mp3j .ui-slider-handle:hover, .bigger4 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y 0px top; border:1px solid #aaa; }
748
+ .bigger4 .indi_mp3j { font-size: 0.5em !important; }
749
+ .bigger4 span.play-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -167px center; border:0px solid #bbb; margin-left:15px !important; }
750
+ .bigger4 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -418px center; }
751
+ .bigger4 span.pause-mjp { font-size:22px !important; font-family:Arial, Helvetica, sans-serif !important; padding:24px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:15px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
752
+ .bigger4 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
753
+ .bigger4 .vol_mp3j { height:1px; max-width:110px; right:86px; top:-8px; }
754
+ .bigger4 .vol_mp3t { height:1px; max-width:110px; right:20px; top:-5px; }
755
+ .bigger4 .vol_mp3j .ui-slider-handle, .bigger4 .vol_mp3t .ui-slider-handle { height:20px !important; width:43px !important; margin-left:-21px; border-bottom:1px solid #ccc !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-20px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
756
+ .bigger4 .vol_mp3j .ui-slider-handle:hover, .bigger4 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
757
+
758
+ .bigger4 span.Smp3-finding,
759
+ .bigger4 span.mp3-gtint,
760
+ .bigger4 span.Smp3-tint {
761
+ padding:0px 0px 0px 20px !important;
762
+ font-size:20px !important;
763
+ }
764
+ .bigger4 span.Smp3-finding { margin:0px 0px 0px 6px !important;}
765
+ .bigger4 span.mp3-gtint { margin:0px 6px 0px -20px !important; }
766
+ .bigger4 span.tintmarg { margin:0 6px 0 6px !important; }
767
+
768
+ .bigger4 div.player-track-title { font:normal normal 500 44px/46px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
769
+ .bigger4 div.player-track-title span { font:normal normal 500 28px/30px 'verdana', 'Lucida Grande', 'arial', sans-serif; }
770
+ .bigger4 ul.ul-mjp li a, .bigger4 ul.ul-mjp li { font-size:28px !important; line-height:30px !important; }
771
+
772
+ .bigger4.bl .posbar_mp3j .ui-slider-handle, .bigger4.bl .posbarB_mp3j .ui-slider-handle { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
773
+ .bigger4.bl .posbar_mp3j .ui-slider-handle:hover, .bigger4.bl .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
774
+ .bigger4.bl .play-mjp { background:url('images/play-dark2-b.png') no-repeat -167px center; }
775
+ .bigger4.bl .play-mjp:hover { background:url('images/play-dark2-b.png') no-repeat -418px center; }
776
+ .bigger4.bl .pause-mjp { background:url('images/stop-dark2-b.png') repeat-y 0px top; }
777
+ .bigger4.bl .pause-mjp:hover { background:url('images/stop-dark2-b.png') repeat-y -350px top; }
778
+ .bigger4.bl .vol_mp3j .ui-slider-handle, .bigger4.bl .vol_mp3t .ui-slider-handle { background:url('images/volhandle-dark2-b.png') no-repeat -10px bottom; }
779
+ .bigger4.bl .vol_mp3j .ui-slider-handle:hover, .bigger4.bl .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2-b.png') no-repeat -257px bottom; }
780
+ .bigger4 span.textbutton_mp3j, .bigger4 span.textbutton_mp3j:hover { background:none; }
781
+
782
+ /* ===== bigger5 ===== */
783
+ div.bigger5 span { font-size:48px !important; line-height:66px !important; margin:0 !important; }
784
+ .bigger5 .posbar_mp3j .ui-slider-handle, .bigger5 .posbarB_mp3j .ui-slider-handle { top: -1px; border:1px solid #bbb; height:69px; width:20px !important; margin-left:-10px !important; background:url('images/stop-dark2.png') repeat-y -350px top; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
785
+ .bigger5 .posbar_mp3j .ui-slider-handle:hover, .bigger5 .posbarB_mp3j .ui-slider-handle:hover { background:url('images/stop-dark2.png') repeat-y -10px top; border:1px solid #aaa; }
786
+ .bigger5 .indi_mp3j { font-size: 0.5em !important; }
787
+ .bigger5 span.play-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/play-dark2.png') no-repeat -160px center; border:0px solid #bbb; margin-left:10px !important; }
788
+ .bigger5 span.play-mjp:hover { background:url('images/play-dark2.png') no-repeat -411px center; }
789
+ .bigger5 span.pause-mjp { font-size:28px !important; font-family:Arial, Helvetica, sans-serif !important; padding:25px 10px 5px 0px !important; background:url('images/stop-dark2.png') repeat-y 0px top; border:0px solid #bbb; margin-left:10px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
790
+ .bigger5 span.pause-mjp:hover { background:url('images/stop-dark2.png') repeat-y -350px top; }
791
+ .bigger5 .vol_mp3j { height:1px; max-width:170px; right:103px; top:-10px; }
792
+ .bigger5 .vol_mp3t { height:1px; max-width:170px; right:33px; top:-5px; }
793
+ .bigger5 .vol_mp3j .ui-slider-handle, .bigger5 .vol_mp3t .ui-slider-handle { height:30px !important; width:55px !important; margin-left:-21px; border-bottom:1px solid #aaa !important; border-radius:1px; -moz-border-radius:1px; -webkit-border-radius:1px; top:-30px; background:url('images/volhandle-dark2.png') no-repeat -10px bottom; }
794
+ .bigger5 .vol_mp3j .ui-slider-handle:hover, .bigger5 .vol_mp3t .ui-slider-handle:hover { background:url('images/volhandle-dark2.png') no-repeat -257px bottom; }
795
+ .bigger5 span.Smp3-finding,
796
+ .bigger5 span.mp3-gtint,
797
+ .bigger5 span.Smp3-tint {
798
+ padding:0px 0px 0px 24px !important;
799
+ font-size:22px !important;
800
+ }
801
+ .bigger5 span.Smp3-finding { margin:0px 0px 0px 10px !important;}
802
+ .bigger5 span.mp3-gtint { margin:0px 10px 0px -24px !important; }
803
+ .bigger5 span.tintmarg { margin:0 10px 0 10px !important; }
804
+
805
+
806
+ /* ===== smaller ===== */
807
+ .smaller div.player-track-title { font:normal normal 500 11px/13px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; left:5px; right:5px; }
808
+ .smaller div.player-track-title span { font:normal normal 500 10px/10px 'verdana', 'Lucida Grande', 'arial', sans-serif !important; padding:0; }
809
+ .smaller ul.ul-mjp li a, .smaller ul.ul-mjp li { font-size:10px !important; font-family:'verdana', Helvetica, sans-serif !important; line-height:13px !important; }
810
+
811
+ /* ===== outline ==== */
812
+ .outline span.vol_mp3j { position:absolute; top:-9px; right:6px; width:85%; max-width:100px; height:2px; background: transparent; }
813
+ .outline span.play-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat -80px -1px; border:0; margin:0; }
814
+ .outline span.play-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat -80px -33px; }
815
+ .outline span.pause-mjp { padding:2px 0px 5px 9px !important; background: transparent url('images/transport-outline.png') no-repeat 1px -1px; border:0; margin:0; }
816
+ .outline span.pause-mjp:hover { background:transparent url('images/transport-outline.png') no-repeat 1px -33px; }
817
+ .outline span.posbarB_mp3j { position:absolute; width:100%; height:100%; border:0px solid #f77; }
818
+ .outline span.posbarB_mp3j .ui-slider-handle { top: 0px; margin-left:0px; border:1px solid #aaa; height:23px; width:5px !important; z-index:500; background:url('images/t10b.png') repeat; cursor:default; padding:0px !important; -moz-border-radius:1px; -webkit-border-radius:1px; border-radius:1px; }
819
+ .outline span.posbarB_mp3j .ui-slider-handle:hover { background:url('images/t20b.png') repeat; border-color:#777; }
820
+ .outline div.transport-MI div { background-image: url("images/transport-hardZ.png"); }
821
+ .outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
822
+ .dark.outline div.transport-MI div { background-image: url("images/transport-hardK.png"); }
823
+ .dark.outline div.mp3j-popout-MI { background-image:url('images/buttons-popoutF.png'); }
824
+
825
+ /* ===== wtransbars ==== */
826
+ .wtransbars div.loadMI_mp3j { background:#fff; opacity:0.2; filter:alpha(opacity=20); }
827
+ .wtransbars div.poscolMI_mp3j { background:#fff url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
828
+
829
+ /* ===== btransbars ==== */
830
+ .btransbars div.loadMI_mp3j { background:#000; opacity:0.2; filter:alpha(opacity=20); }
831
+ .btransbars div.poscolMI_mp3j { background:#000 url('images/posbar-soften-tipped-2.png') repeat-y right top; opacity:0.15; filter:alpha(opacity=15); }
832
+
833
+
834
+ /* ===== fullbars === */
835
+ .fullbars div.dloadmp3-MI { bottom:39px; }
836
+ .fullbars div.MIsliderVolume { top:0px; right:4px; width:108px; height:6px !important; background:transparent; border:0px; }
837
+ .fullbars div.MIsliderVolume .ui-widget-header { background:transparent url('images/vol-grad60w2.png') repeat-y -15px top; }
838
+ .fullbars div.MIsliderVolume .ui-slider-handle { border:0px; height:11px !important; width:10px !important; padding:0px !important; margin-left:-5px; top:-2px; border:0px !important; -moz-border-radius:2px; -webkit-border-radius:2px; background:transparent url('images/vol-handle.png') no-repeat -1px 0px; z-index:150; overflow:hidden !important; cursor:pointer; }
839
+ .fullbars div.MIsliderVolume .ui-slider-handle:hover { background:transparent url('images/vol-handle.png') no-repeat -21px 0px; }
840
+ .fullbars div.MIsliderVolume .ui-state-active, .fullbars div.MIsliderVolume .ui-widget-content .ui-state-active { border:0px; background:transparent url('images/vol-handle.png') no-repeat -21px 0px; outline:none; }
841
+
842
+ .fullbars div.jp-play-time, .fullbars div.jp-total-time, .fullbars div.statusMI { bottom:42px; }
843
+ .fullbars div.innerleft { display:none; }
844
+ .fullbars div.innerright { display:none; }
845
+
846
+ .fullbars div.bars_holder { left:0px; right:0px; height:auto; bottom:38px; top:0px; background-image: url('images/t60w.png'); background-repeat: repeat-x; background-position: left bottom; background-color:transparent; border:0; }
847
+
848
+
849
+ /* ===== user style param ===== */
850
+ .nolistbutton div.playlist-toggle-MI { visibility:hidden; }
851
+ .nopopoutbutton div.mp3j-popout-MI { display:none; }
852
+ .nopn div.prev-mjp { display:none; }
853
+ .nopn div.next-mjp { display:none; }
854
+ .nostop div.stop-mjp { display:none; }
855
+ .notitle div.player-track-title { display:none; }
856
+ div.wrap-mjp.noplayer { display:none; }
857
+
858
+ .novol div.mjp-volwrap { display:none; }
859
+ .novol div.bars_holder { left:0px; right:0px; }
860
+ .novol span.vol_mp3t,
861
+ .novol span.vol_mp3j { display:none; }
862
+
863
  .nobars .bars_holder { display:none; }
download.php CHANGED
@@ -1,145 +1,145 @@
1
- <?php
2
- /*
3
- MP3-jPlayer 2.0
4
- www.sjward.org
5
- */
6
-
7
- function strip_scripts ( $field )
8
- {
9
- $search = array(
10
- '@<script[^>]*?>.*?</script>@si', // Strip out javascript
11
- '@<style[^>]*?>.*?</style>@siU', // Strip style tags properly
12
- '@<![\s\S]*?--[ \t\n\r]*>@' // Strip multi-line comments including CDATA
13
- );
14
-
15
- $text = preg_replace( $search, '', $field );
16
- return $text;
17
- }
18
-
19
-
20
-
21
- $mp3 = false;
22
- $playerID = "";
23
- $fp = "";
24
- $file = "";
25
- $dbug = "";
26
- $sent = "";
27
- $pagetext = '';
28
- $js_pagetext = '';
29
- $rooturl = preg_replace("/^www\./i", "", $_SERVER['HTTP_HOST']);
30
-
31
-
32
-
33
- if ( isset($_GET['mp3']) ) {
34
-
35
-
36
- $mp3 = strip_tags($_GET['mp3']);
37
- $mp3 = rawurldecode( $mp3 );
38
- $mp3 = strip_scripts( $mp3 );
39
-
40
- $playerID = ( isset($_GET['pID']) ) ? strip_tags($_GET['pID']) : "";
41
- $playerID = strip_scripts( $playerID );
42
-
43
- $matches = array();
44
- if ( preg_match("!\.(mp3|mp4|m4a|ogg|oga|wav|webm)$!i", $mp3, $matches) ) {
45
-
46
- $fileExtension = $matches[0];
47
- if ( $fileExtension === 'mp3' || $fileExtension === 'mp4' || $fileExtension === 'm4a' ) {
48
- $mimeType = 'audio/mpeg';
49
- }
50
- elseif( $fileExtension === 'ogg' || $fileExtension === 'oga' ) {
51
- $mimeType = 'audio/ogg';
52
- }
53
- else {
54
- $mimeType = 'audio/' . ( str_replace('.', '', $fileExtension) );
55
- }
56
-
57
-
58
- $sent = substr($mp3, 3);
59
- $file = substr(strrchr($sent, "/"), 1);
60
-
61
- if ( ($lp = strpos($sent, $rooturl)) || preg_match("!^/!", $sent) ) { //if local
62
-
63
- if ( $lp !== false ) { //url
64
-
65
- $fp = str_replace($rooturl, "", $sent);
66
- $fp = str_replace("www.", "", $fp);
67
- $fp = str_replace("http://", "", $fp);
68
- $fp = str_replace("https://", "", $fp);
69
-
70
- } else { //folder path
71
-
72
- $fp = $sent;
73
- }
74
-
75
- if ( ($fsize = @filesize($_SERVER['DOCUMENT_ROOT'] . $fp)) !== false ) { //if file can be read then set headers and cookie
76
-
77
- header('Content-Type: ' . $mimeType);
78
- $cookiename = 'mp3Download' . $playerID;
79
- setcookie($cookiename, "true", 0, '/', '', '', false);
80
- header('Accept-Ranges: bytes'); // download resume
81
- header('Content-Disposition: attachment; filename=' . $file);
82
-
83
- header('Content-Length: ' . $fsize);
84
-
85
- readfile($_SERVER['DOCUMENT_ROOT'] . $fp);
86
-
87
-
88
- $dbug .= "#read failed"; //if past readfile() then something went wrong
89
-
90
- } else {
91
-
92
- $dbug .= "#no file";
93
- }
94
-
95
- } else {
96
-
97
- $dbug .= "#unreadable";
98
- }
99
-
100
- } else {
101
-
102
- $dbug .= "#unsupported format";
103
- }
104
-
105
- } else {
106
-
107
- $dbug .= "#no get param";
108
- }
109
-
110
- ?>
111
- <!DOCTYPE html>
112
- <html>
113
- <head>
114
- <title>Download Audio</title>
115
- </head>
116
- <body>
117
-
118
- <?php
119
- echo $js_pagetext;
120
- $info = "<p>
121
- Get: " . $mp3 . "<br />
122
- Sent: " . $sent . "<br />
123
- File: " . $file . "<br />
124
- Open: " . $_SERVER['DOCUMENT_ROOT'] . $fp . "<br />
125
- Root: " . $rooturl . "<br />
126
- pID: " . $playerID . "<br />
127
- Dbug: " . $dbug . "<br />
128
- extension: " . $fileExtension . "</p>";
129
- echo $info;
130
-
131
- if ( $playerID != "" ) {
132
- ?>
133
-
134
- <script type="text/javascript">
135
- if ( typeof window.parent.MP3_JPLAYER.dl_dialogs !== 'undefined' ) {
136
- window.parent.MP3_JPLAYER.dl_dialogs[<?php echo $playerID; ?>] = window.parent.MP3_JPLAYER.vars.message_fail;
137
- }
138
- </script>
139
-
140
- <?php
141
- }
142
- ?>
143
-
144
- </body>
145
  </html>
1
+ <?php
2
+ /*
3
+ MP3-jPlayer 2.0
4
+ www.sjward.org
5
+ */
6
+
7
+ function strip_scripts ( $field )
8
+ {
9
+ $search = array(
10
+ '@<script[^>]*?>.*?</script>@si', // Strip out javascript
11
+ '@<style[^>]*?>.*?</style>@siU', // Strip style tags properly
12
+ '@<![\s\S]*?--[ \t\n\r]*>@' // Strip multi-line comments including CDATA
13
+ );
14
+
15
+ $text = preg_replace( $search, '', $field );
16
+ return $text;
17
+ }
18
+
19
+
20
+
21
+ $mp3 = false;
22
+ $playerID = "";
23
+ $fp = "";
24
+ $file = "";
25
+ $dbug = "";
26
+ $sent = "";
27
+ $pagetext = '';
28
+ $js_pagetext = '';
29
+ $rooturl = preg_replace("/^www\./i", "", $_SERVER['HTTP_HOST']);
30
+
31
+
32
+
33
+ if ( isset($_GET['mp3']) ) {
34
+
35
+
36
+ $mp3 = strip_tags($_GET['mp3']);
37
+ $mp3 = rawurldecode( $mp3 );
38
+ $mp3 = strip_scripts( $mp3 );
39
+
40
+ $playerID = ( isset($_GET['pID']) ) ? strip_tags($_GET['pID']) : "";
41
+ $playerID = strip_scripts( $playerID );
42
+
43
+ $matches = array();
44
+ if ( preg_match("!\.(mp3|mp4|m4a|ogg|oga|wav|webm)$!i", $mp3, $matches) ) {
45
+
46
+ $fileExtension = $matches[0];
47
+ if ( $fileExtension === 'mp3' || $fileExtension === 'mp4' || $fileExtension === 'm4a' ) {
48
+ $mimeType = 'audio/mpeg';
49
+ }
50
+ elseif( $fileExtension === 'ogg' || $fileExtension === 'oga' ) {
51
+ $mimeType = 'audio/ogg';
52
+ }
53
+ else {
54
+ $mimeType = 'audio/' . ( str_replace('.', '', $fileExtension) );
55
+ }
56
+
57
+
58
+ $sent = substr($mp3, 3);
59
+ $file = substr(strrchr($sent, "/"), 1);
60
+
61
+ if ( ($lp = strpos($sent, $rooturl)) || preg_match("!^/!", $sent) ) { //if local
62
+
63
+ if ( $lp !== false ) { //url
64
+
65
+ $fp = str_replace($rooturl, "", $sent);
66
+ $fp = str_replace("www.", "", $fp);
67
+ $fp = str_replace("http://", "", $fp);
68
+ $fp = str_replace("https://", "", $fp);
69
+
70
+ } else { //folder path
71
+
72
+ $fp = $sent;
73
+ }
74
+
75
+ if ( ($fsize = @filesize($_SERVER['DOCUMENT_ROOT'] . $fp)) !== false ) { //if file can be read then set headers and cookie
76
+
77
+ header('Content-Type: ' . $mimeType);
78
+ $cookiename = 'mp3Download' . $playerID;
79
+ setcookie($cookiename, "true", 0, '/', '', '', false);
80
+ header('Accept-Ranges: bytes'); // download resume
81
+ header('Content-Disposition: attachment; filename=' . $file);
82
+
83
+ header('Content-Length: ' . $fsize);
84
+
85
+ readfile($_SERVER['DOCUMENT_ROOT'] . $fp);
86
+
87
+
88
+ $dbug .= "#read failed"; //if past readfile() then something went wrong
89
+
90
+ } else {
91
+
92
+ $dbug .= "#no file";
93
+ }
94
+
95
+ } else {
96
+
97
+ $dbug .= "#unreadable";
98
+ }
99
+
100
+ } else {
101
+
102
+ $dbug .= "#unsupported format";
103
+ }
104
+
105
+ } else {
106
+
107
+ $dbug .= "#no get param";
108
+ }
109
+
110
+ ?>
111
+ <!DOCTYPE html>
112
+ <html>
113
+ <head>
114
+ <title>Download Audio</title>
115
+ </head>
116
+ <body>
117
+
118
+ <?php
119
+ echo $js_pagetext;
120
+ $info = "<p>
121
+ Get: " . $mp3 . "<br />
122
+ Sent: " . $sent . "<br />
123
+ File: " . $file . "<br />
124
+ Open: " . $_SERVER['DOCUMENT_ROOT'] . $fp . "<br />
125
+ Root: " . $rooturl . "<br />
126
+ pID: " . $playerID . "<br />
127
+ Dbug: " . $dbug . "<br />
128
+ extension: " . $fileExtension . "</p>";
129
+ echo $info;
130
+
131
+ if ( $playerID != "" ) {
132
+ ?>
133
+
134
+ <script type="text/javascript">
135
+ if ( typeof window.parent.MP3_JPLAYER.dl_dialogs !== 'undefined' ) {
136
+ window.parent.MP3_JPLAYER.dl_dialogs[<?php echo $playerID; ?>] = window.parent.MP3_JPLAYER.vars.message_fail;
137
+ }
138
+ </script>
139
+
140
+ <?php
141
+ }
142
+ ?>
143
+
144
+ </body>
145
  </html>
frontend.php CHANGED
@@ -1,1063 +1,1072 @@
1
- <?php
2
- if ( !class_exists("MP3j_Front") && class_exists("MP3j_Main") ) { class MP3j_Front extends MP3j_Main {
3
-
4
- /* Called on deactivation, deletes settings if 'remember' option unticked. */
5
- function uninitFox()
6
- {
7
- $theOptions = get_option($this->adminOptionsName);
8
- if ( $theOptions['remember_settings'] == "false" ) {
9
- delete_option($this->adminOptionsName);
10
- }
11
- }
12
-
13
-
14
- /** Flags for scripts via template tag mp3j_addscripts() */
15
- function scripts_tag_handler( $style = "" )
16
- {
17
- // Since 1.7 - convert old option name to new
18
- if ( $style == "styleA" || $style == "styleE" ) { $style = "styleF"; }
19
- if ( $style == "styleB" ) { $style = "styleG"; }
20
- if ( $style == "styleC" ) { $style = "styleH"; }
21
- if ( $style == "styleD" ) { $style = "styleI"; }
22
-
23
- $this->stylesheet = ( $style == "" ) ? $this->theSettings['player_theme'] : $style;
24
- $this->scriptsflag = "true";
25
- return;
26
- }
27
-
28
-
29
- /** Returns library via template tag mp3j_grab_library(). */
30
- function grablibrary_handler( $x )
31
- {
32
- return $this->grab_library_info( $x );
33
- }
34
-
35
-
36
-
37
-
38
- function mp3j_settings ( $devsettings = array() )
39
- {
40
- foreach ( $this->setup as $k => $v ) {
41
- if ( array_key_exists( $k, $devsettings ) ) {
42
- $this->setup[ $k ] = $devsettings[ $k ];
43
- }
44
- }
45
- }
46
-
47
-
48
-
49
- /**
50
- * Provides support for WP versions below 3.3 that can't late enqueue. Labourious
51
- * checking of active widgets, and loose checking post content for shortcodes and extensions
52
- * so as to avoid unecessary script addition.
53
- */
54
- function header_scripts_handler()
55
- {
56
- $scripts = false;
57
- $allowed_widget = $this->has_allowed_widget( "mp3-jplayer-widget" );
58
- $allowed_widget_B = $this->has_allowed_widget( "mp3mi-widget" );
59
-
60
- //Flagged in template
61
- if ( $this->scriptsflag == "true" ) {
62
- $scripts = true;
63
- }
64
-
65
- //On page types
66
- if ( is_home() || is_archive() || is_search() ) {
67
- if ( $allowed_widget || $allowed_widget_B || $this->theSettings['player_onblog'] == "true" || $this->theSettings['run_shcode_in_excerpt'] == "true" ) {
68
- $scripts = true;
69
- }
70
- }
71
- if ( is_singular() ) {
72
- if ( $allowed_widget || $allowed_widget_B || $this->has_shortcodes() || $this->post_has_string() ) {
73
- $scripts = true;
74
- }
75
- }
76
-
77
- if ( $scripts ) { //Add the scripts
78
- $style = ( $this->stylesheet == "" ) ? $this->theSettings['player_theme'] : $this->stylesheet;
79
- $this->add_Scripts( $style );
80
- }
81
-
82
- // Always define js player info and playlist arrays here as some
83
- // themes cause issues if it's left until shortcode is processed.
84
- $this->defineJSvars();
85
-
86
- return;
87
- }
88
-
89
-
90
- //#############
91
- function checkAddScripts ()
92
- {
93
- if ( $this->Player_ID > 0 && $this->SCRIPT_CALL === false )
94
- {
95
- $style = ( $this->stylesheet == "" ) ? $this->theSettings['player_theme'] : $this->stylesheet;
96
- $this->add_Scripts( $style );
97
-
98
- $version = substr( get_bloginfo('version'), 0, 3);
99
- if ( $version < 3.3 ) {
100
- $this->dbug['str'] .= "\nFAIL Warning: Can't recover because this version of WordPress is too old (below 3.3). Possible causes:\n- Using do_shortcode without adding the scripts first (see plugin help)\n- A genuine bug, please report.\n";
101
- }
102
- }
103
- }
104
-
105
-
106
- /** Writes js playlists, startup, and debug info. */
107
- function footercode_handler()
108
- {
109
- $O = $this->theSettings;
110
- $JS = '';
111
- if ( $this->Player_ID > 0 )
112
- {
113
- $JS .= "\n<script type=\"text/javascript\">\njQuery(document).ready(function () {";
114
- $JS .= "\n\tif (typeof MP3_JPLAYER !== 'undefined') {";
115
-
116
- $JS .= ( $this->FIRST_FORMATS !== 'mp3' ) ? "\n\t\tMP3_JPLAYER.lastformats = '" . $this->FIRST_FORMATS . "';" : "";
117
- $JS .= "\n\t\tMP3_JPLAYER.plugin_path = '" . $this->PluginFolder . "';";
118
-
119
- $JS .= ( $O['allowRangeRequests'] !== 'true' ) ? "\n\t\tMP3_JPLAYER.allowRanges = " . $O['allowRangeRequests'] . ";" : "";
120
- $JS .= "\n\t\tMP3_JPLAYER.pl_info = MP3jPLAYERS;";
121
- $JS .= ( $O['encode_files'] !== 'true' ) ? "\n\t\tMP3_JPLAYER.vars.play_f = " . $O['encode_files'] . ";" : "";
122
- $JS .= ( $O['force_browser_dload'] !== 'true' ) ? "\n\t\tMP3_JPLAYER.vars.force_dload = " . $O['force_browser_dload'] . ";" : "";
123
- $JS .= "\n\t\tMP3_JPLAYER.vars.dload_text = '" . $O['dload_text'] . "';";
124
-
125
- if ( $this->setup['stylesheetPopout'] === true ) {
126
- $JS .= "\n\t\tMP3_JPLAYER.vars.stylesheet_url = '" . $this->PP_css_url . "';";
127
- }
128
- if ( $O['force_browser_dload'] == "true" && $O['dloader_remote_path'] !== "" ) {
129
- $JS .= "\n\t\tMP3_JPLAYER.vars.dl_remote_path = '" . $O['dloader_remote_path'] . "';";
130
- }
131
-
132
- $showErrors = $O['showErrors'];
133
- if ( $showErrors === 'admin' ) {
134
- $showErrors = ( current_user_can( 'manage_options' ) ) ? 'true' : 'false';
135
- }
136
- $JS .= "\n\t\tMP3_JPLAYER.showErrors = " . $showErrors . ";";
137
-
138
- $JS .= "\n\t\tMP3_JPLAYER.init();";
139
- $JS .= "\n\t}";
140
- $JS .= "\n});\n</script>\n";
141
- echo $JS;
142
- }
143
-
144
- // Write debug
145
- if ( $O['echo_debug'] == "true" ) {
146
- $this->debug_info();
147
- }
148
- return;
149
- }
150
-
151
-
152
- /* Work out playlist for single players. */
153
- function decide_S_playlist( $track, $caption, $counterpart = '', $ids = '' )
154
- {
155
- $TRACKS = false;
156
- $trackNumber = '';
157
- $listJS = '';
158
-
159
- global $post;
160
- $currentID = $post->ID;
161
- if ( $currentID !== $this->currentID ) {
162
- $this->S_arb = 1;
163
- $this->currentID = $currentID;
164
- }
165
- //$this->S_arb = ( $currentID === $this->currentID ) ? $this->S_arb : 1;
166
-
167
- if ( $ids !== '' ) //came via [audio] shortcode, has 1 attachment
168
- {
169
- //$TRACKS = $this->IDsToTracks( $ids, 'false' );
170
- $TRACKS = $this->IDsToTracks( $ids, 'true' );
171
- if ( ! $TRACKS ) {
172
- return false;
173
- }
174
- $track = 1;
175
- $playername = "inline_" . $this->S_no++;
176
- //TODO: track numbering issue
177
- $trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $this->S_arb . '. ' : '';
178
- $listJS = $this->writePlaylistJS( $TRACKS, $playername, $this->S_arb++ );
179
- }
180
- else
181
- {
182
- if ( $track == "" ) // Auto increment
183
- {
184
- if ( ! $this->checkGrabFields() || $this->Caller == "widget" || $this->F_listlength <= $this->S_autotrack ) {
185
- return false;
186
- }
187
- $track = ++$this->S_autotrack;
188
- $playername = $this->F_listname;
189
- //TODO: track numbering issue
190
- $trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $track . '. ' : '';
191
- $TRACKS = $this->F_LISTS[ $playername ];
192
- }
193
- elseif ( is_numeric($track) ) // Has a track number
194
- {
195
- if ( ! $this->checkGrabFields() || $this->Caller == "widget" || $this->F_listlength < $track ) {
196
- return false;
197
- }
198
- $playername = $this->F_listname;
199
- //TODO: track numbering issue
200
- $trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $track . '. ' : '';
201
- $TRACKS = $this->F_LISTS[ $playername ];
202
- }
203
- else // Has arbitrary file/uri
204
- {
205
- $TRACKS = $this->stringsToTracks( $track, $counterpart, $caption );
206
- if ( !$TRACKS ) {
207
- return false;
208
- }
209
- $track = 1;
210
- $playername = "inline_" . $this->S_no++;
211
- //TODO: track numbering issue
212
- $trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $this->S_arb . '. ' : '';
213
- $listJS = $this->writePlaylistJS( $TRACKS, $playername, $this->S_arb++ );
214
- }
215
- }
216
-
217
- return array(
218
- 'track' => $track,
219
- 'playername' => $playername,
220
- 'playlist' => $TRACKS,
221
- 'trackNumber' => $trackNumber,
222
- 'listJS' => $listJS
223
- );
224
- }
225
-
226
-
227
- /* Handles [mp3t] shortcodes
228
- single players with text buttons. */
229
- function inline_play_handler( $atts, $content = null ) {
230
-
231
- $this->dbug['str'] .= "\n### Checking [mp3t]...";
232
- if ( ! $this->canRun() ) {
233
- return;
234
- }
235
-
236
- $C = $this->theSettings['colour_settings'];
237
-
238
- $id = $this->Player_ID;
239
- extract( shortcode_atts( array( // Defaults
240
- 'bold' => 'y',
241
- 'play' => 'Play',
242
- 'track' => '',
243
- 'tracks' => '',
244
- 'caption' => '',
245
- 'flip' => 'l',
246
- 'title' => '#USE#',
247
- 'stop' => 'Stop',
248
- 'ind' => 'y',
249
- 'autoplay' => $this->theSettings['auto_play'],
250
- 'loop' => $this->theSettings['playlist_repeat'],
251
- 'vol' => $this->theSettings['initial_vol'],
252
- 'flow' => 'n',
253
- 'volslider' => $this->theSettings['volslider_on_singles'],
254
- 'style' => '',
255
- 'counterpart' => '',
256
- 'counterparts' => '',
257
- 'ids' => '',
258
- 'fontsize' => $this->theSettings['font_size_mp3t'],
259
- ), $atts ) );
260
-
261
- //Alias some params
262
- if ( $track == '' && $tracks != '' ) {
263
- $track = $tracks;
264
- }
265
- if ( $counterpart == '' && $counterparts != '' ) {
266
- $counterpart = $counterparts;
267
- }
268
- $cssclass = $style;
269
-
270
- //Try make a playlist
271
- $tn = $this->decide_S_playlist( $track, $caption, $counterpart, $ids );
272
- if ( !$tn ) {
273
- $this->dbug['str'] .= "\nExiting (no track here)";
274
- return;
275
- }
276
-
277
- $CSSext = '-mjp';
278
- $font1Class = ( $C['font_family_1'] === 'theme' ) ? '' : ' ' . $C['font_family_1'] . $CSSext;
279
-
280
- $divO = '<span class="unsel-mjp ' . $cssclass . $font1Class . '">';
281
- $divC = "</span>";
282
- $b = "";
283
- if ( $flow == "n" || $this->Caller == "widget" ) {
284
- $divO = ( $cssclass == "" ) ? '<div class="mjp-s-wrapper s-text unsel-mjp' . $font1Class . '" style="font-size:' .$fontsize. ';">' : '<div class="unsel-mjp ' . $cssclass . $font1Class . '" style="font-size:' .$fontsize. ';">';
285
- $divC = "</div>";
286
- }
287
-
288
- // Set font weight
289
- $b = ( $bold == "false" || $bold == "0" || $bold == "n" ) ? " style=\"font-weight:500;\"" : " style=\"font-weight:700;\"";
290
-
291
- // Set spacer between elements depending on play/stop/title
292
- if ( $play != "" && $title != "" ){
293
- $spacer = "&nbsp;";
294
- } else {
295
- $spacer = "";
296
- if ( $play == "" && $stop != "" ) { $stop = " " . $stop; }
297
- }
298
-
299
- // Prep title
300
- if ( $title === '' ) { //user specifically has blanked it
301
- $outputTitle = '';
302
- }
303
- else {
304
- if ( $title == "#USE#" ) { //get the one from the playlist
305
- $outputTitle = $tn['trackNumber'] . $tn['playlist'][($tn['track'] -1)]['title'] . ( ! empty($tn['playlist'][($tn['track'] -1)]['caption'] ) ? '<span> - ' . $tn['playlist'][($tn['track'] -1)]['caption'] . '</span>' : '' );
306
- }
307
- else { //user entered one, use it
308
- $outputTitle = $tn['trackNumber'] . $title;
309
- }
310
- }
311
-
312
- // Make id'd span elements
313
- $openWrap = $divO . "<span id=\"playpause_wrap_mp3j_" . $id . "\" class=\"wrap_inline_mp3j\"" . $b . ">";
314
- $vol_h = ( $volslider == 'true' || $volslider == 'Y' || $volslider == 'y' ) ? "<span class=\"vol_mp3t\" id=\"vol_mp3j_" . $id . "\"></span>" : "";
315
- $pos = "<span class=\"bars_mp3j\"><span class=\"load_mp3j\" id=\"load_mp3j_" . $id . "\"></span><span class=\"posbar_mp3j\" id=\"posbar_mp3j_" . $id. "\"></span>" . $vol_h . "</span>";
316
- $play_h = "<span class=\"textbutton_mp3j play-mjp\" style=\"font-size:" .$fontsize. ";\" id=\"playpause_mp3j_" . $id . "\">" . $play . "</span>";
317
-
318
- $title_h = ( $title != "" ) ? "<span class=\"T_mp3j\" style=\"font-size:" .$fontsize. ";\" id=\"T_mp3j_" . $id . "\">" . $outputTitle . "</span>" : "";
319
-
320
- $closeWrap = ( $ind != "y" ) ? "<span style=\"display:none;\" id=\"statusMI_" . $id . "\"></span></span>" . $divC : "<span class=\"indi_mp3j\" style=\"font-size:" .(intval($fontsize)*0.7) . "px;\" id=\"statusMI_" . $id . "\"></span></span>" . $divC;
321
- $errorMsg = "<span class=\"s-nosolution\" id=\"mp3j_nosolution_" . $id . "\" style=\"display:none;\"></span>";
322
-
323
- // Assemble them
324
- $html = ( $flip != "l" ) ? $openWrap . $pos . $title_h . $spacer . $play_h . $closeWrap . $errorMsg : $openWrap . $pos . $play_h . $spacer . $title_h . $closeWrap . $errorMsg;
325
-
326
- // Add info to js info array
327
- $autoplay = ( $autoplay == "true" || $autoplay == "y" || $autoplay == "1" ) ? "true" : "false";
328
- $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
329
-
330
- $this->defineJSvars();
331
- $playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr: " . ($tn['track']-1) . ", type: 'single', lstate: '', loop: " . $loop . ", play_txt: '" . $play . "', pause_txt: '" . $stop . "', pp_title: '', autoplay:" . $autoplay . ", download: false, vol: " . $vol . ", height: '' }";
332
- //$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>";
333
- $playerJS = "<script>MP3jPLAYERS[" .$id. "] = " . $playerInfo . ";</script>";
334
-
335
- $this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
336
- $this->Player_ID++;
337
- return $html . $tn['listJS'] . $playerJS;
338
- }
339
-
340
-
341
- /* Handles [mp3j] shortcodes.
342
- single players with button graphic */
343
- function inline_play_graphic( $atts, $content = null ) {
344
-
345
- $this->dbug['str'] .= "\n### Checking [mp3j]...";
346
- if ( ! $this->canRun() ) {
347
- return;
348
- }
349
-
350
- $C = $this->theSettings['colour_settings'];
351
-
352
- $id = $this->Player_ID;
353
- extract(shortcode_atts(array( // Defaults
354
- 'bold' => 'y',
355
- 'track' => '',
356
- 'tracks' => '',
357
- 'caption' => '',
358
- 'flip' => 'r',
359
- 'title' => '#USE#',
360
- 'ind' => 'y',
361
- 'autoplay' => $this->theSettings['auto_play'],
362
- 'loop' => $this->theSettings['playlist_repeat'],
363
- 'vol' => $this->theSettings['initial_vol'],
364
- 'flow' => 'n',
365
- 'volslider' => $this->theSettings['volslider_on_mp3j'],
366
- 'style' => '',
367
- 'counterpart' => '',
368
- 'counterparts' => '',
369
- 'ids' => '',
370
- 'fontsize' => $this->theSettings['font_size_mp3j'],
371
- ), $atts));
372
-
373
- if ( $track == '' && $tracks != '' ) {
374
- $track = $tracks;
375
- }
376
- if ( $counterpart == '' && $counterparts != '' ) {
377
- $counterpart = $counterparts;
378
- }
379
- $cssclass = $style;
380
-
381
- $tn = $this->decide_S_playlist( $track, $caption, $counterpart, $ids );
382
- if ( !$tn ) {
383
- $this->dbug['str'] .= "\nExiting (no track here)";
384
- return;
385
- }
386
-
387
- $CSSext = '-mjp';
388
- $font1Class = ( $C['font_family_1'] === 'theme' ) ? '' : ' ' . $C['font_family_1'] . $CSSext;
389
-
390
- $divO = '<span class="' . $cssclass . $font1Class . '">';
391
- $divC = "</span>";
392
- $b = "";
393
- if ( $flow == "n" || $this->Caller == "widget" ) {
394
- $divO = ( $cssclass == "" ) ? '<div class="mjp-s-wrapper s-graphic unsel-mjp' . $font1Class . '" style="font-size:' .$fontsize. ';">' : '<div class="unsel-mjp ' . $cssclass . $font1Class . '" style="font-size:' .$fontsize. ';">';
395
- $divC = "</div>";
396
- }
397
-
398
- // Set font weight
399
- $b = ( $bold == "false" || $bold == "N" || $bold == "n" ) ? " style=\"font-weight:500;\"" : " style=\"font-weight:700;\"";
400
-
401
- // Prep title
402
- if ( $title === '' ) { //user specifically has blanked it
403
- $outputTitle = '';
404
- }
405
- else {
406
- if ( $title == "#USE#" ) { //get the one from the playlist
407
- $outputTitle = $tn['trackNumber'] . $tn['playlist'][($tn['track'] -1)]['title'] . ( ! empty($tn['playlist'][($tn['track'] -1)]['caption'] ) ? '<span> - ' . $tn['playlist'][($tn['track'] -1)]['caption'] . '</span>' : '' );
408
- }
409
- else { //user entered one, use it
410
- $outputTitle = $tn['trackNumber'] . $title;
411
- }
412
- }
413
-
414
- // Make id'd span elements
415
- $flippedcss = ( $flip == "r" ) ? "" : " flipped";
416
- $openWrap = $divO . "<span id=\"playpause_wrap_mp3j_" . $id . "\" class=\"wrap_inline_mp3j\"" . $b . ">";
417
- $vol_h = ( $volslider == 'true' || $volslider == 'y' || $volslider == 'Y' ) ? "<span class=\"vol_mp3j" . $flippedcss . "\" id=\"vol_mp3j_" . $id . "\"></span>" : "";
418
- $pos = "<span class=\"bars_mp3j\"><span class=\"loadB_mp3j\" id=\"load_mp3j_" . $id . "\"></span><span class=\"posbarB_mp3j\" id=\"posbar_mp3j_" . $id . "\"></span></span>";
419
- //$play_h = "<span class=\"play-mjp\" id=\"playpause_mp3j_" . $id . "\">&nbsp;</span>";
420
- $play_h = "<span class=\"gfxbutton_mp3j play-mjp\" id=\"playpause_mp3j_" . $id . "\" style=\"font-size:" .$fontsize. ";\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>";
421
- $spacer = "";
422
-
423
- $title_h = ( $title != "" ) ? "<span class=\"T_mp3j\" id=\"T_mp3j_" . $id . "\" style=\"font-size:" .$fontsize. ";\">" . $outputTitle . "</span>" : "";
424
- $indi_h = ( $ind != "y" ) ? "<span style=\"display:none;\" id=\"statusMI_" . $id . "\"></span>" : "<span class=\"indi_mp3j\" style=\"font-size:" .(intval($fontsize)*0.7) . "px;\" id=\"statusMI_" . $id . "\"></span>";
425
- $errorMsg = "<span class=\"s-nosolution\" id=\"mp3j_nosolution_" . $id . "\" style=\"display:none;\"></span>";
426
- // Assemble them
427
- $html = ( $flip == "r" ) ? $openWrap . "<span class=\"group_wrap\">" . $pos . $title_h . $indi_h . "</span>" . $play_h . $vol_h . "</span>" . $divC . $errorMsg : $openWrap . $play_h . "&nbsp;<span class=\"group_wrap\">" . $pos . $title_h . $indi_h . "</span>" . $vol_h . "</span>" . $divC . $errorMsg;
428
-
429
- // Add info to js info array
430
- $autoplay = ( $autoplay == "true" || $autoplay == "y" || $autoplay == "1" ) ? "true" : "false";
431
- $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
432
-
433
- $this->defineJSvars();
434
- $playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr:" . ($tn['track']-1) . ", type:'single', lstate:'', loop:" . $loop . ", play_txt:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', pause_txt:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', pp_title:'', autoplay:" . $autoplay . ", download:false, vol:" . $vol . ", height:'' }";
435
- //$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>";
436
- $playerJS = "<script>MP3jPLAYERS[" .$id. "] = " . $playerInfo . ";</script>";
437
-
438
- $this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
439
- $this->Player_ID++;
440
- return $html . $tn['listJS'] . $playerJS;
441
- }
442
-
443
-
444
- //###############
445
- function getPostImageUrl ( $postID )
446
- {
447
- $thumb_id = get_post_thumbnail_id( $postID );
448
- if ( ! empty( $thumb_id ) ) {
449
- $size = ( $this->theSettings['imageSize'] === 'autoW' || $this->theSettings['imageSize'] === 'autoH' ) ? 'large' : $this->theSettings['imageSize'];
450
- $imageInfo = wp_get_attachment_image_src( $thumb_id, $size );
451
- $url = $imageInfo[0];
452
- } else {
453
- //$url = wp_mime_type_icon( $postID ); //default WP image
454
- //$url = $this->PluginFolder . '/css/images/music-default-2.png';
455
- $url = 'false';
456
- }
457
- return $url;
458
- }
459
-
460
-
461
- //###############
462
- function getPostAttachedAudio ( $postID )
463
- {
464
- $O = $this->theSettings;
465
-
466
- if ( 'title' === $O['library_sortcol'] ) {
467
- $sortcol = 'title';
468
- } else if ( 'date' === $O['library_sortcol'] ) {
469
- $sortcol = 'post_date';
470
- } else {
471
- $sortcol = 'menu_order';
472
- }
473
-
474
- $args = array(
475
- 'post_type' => 'attachment',
476
- 'numberposts' => -1,
477
- 'post_status' => 'any',
478
- 'post_parent' => $postID,
479
- 'orderby' => $sortcol,
480
- 'order' => $O['library_direction']
481
- );
482
-
483
- $attachments = get_posts( $args );
484
- $audio = array();
485
-
486
- if ( $attachments ) {
487
- foreach ( $attachments as $attachment ) {
488
- if ( $this->isAllowedMimeType( $attachment->post_mime_type ) ) {
489
- $audio[] = $attachment;
490
- }
491
- }
492
- }
493
- return ( ( ! empty($audio) && is_array($audio) ) ? $audio : false );
494
- }
495
-
496
-
497
- //###############
498
- function isAllowedMimeType ( $mimeType )
499
- {
500
- return ( (stripos($mimeType, 'audio') === 0) ? true : false );
501
- }
502
-
503
-
504
- //#### Work out playlist for playlist players
505
- function decide_M_playlist( $ATTS )
506
- {
507
- extract( $ATTS );
508
-
509
- //TODO: do support this still
510
- $this->folder_order = $fsort;
511
-
512
- $TRACKS = $this->stringsToTracks( $tracks, $counterparts, $captions, $images, $imglinks );
513
- if ( ! $TRACKS )
514
- {
515
- if ( $tracks != "" && $id == "" && $ids == "" ) { //if tracks was the specified param, then don't fallback
516
- return false;
517
- }
518
- if ( $id == "" && $ids == "" && (is_home() || is_archive() || is_search()) && $this->Caller == "widget" ) { //dont allow widgets to try mode 1 on index pages
519
- return false;
520
- }
521
-
522
- if ( $ids !== '' ) { //got media item id list (post ids)
523
- $TRACKS = $this->IDsToTracks( $ids, $images );
524
- if ( ! $TRACKS ) {
525
- return false;
526
- }
527
- }
528
- else {
529
- //Try pick up fields either from another id or this post if id is empty. Do
530
- //this before attachments for backwards compatibility!
531
- $TRACKS = $this->customFieldsToTracks( $id );
532
- if ( ! $TRACKS ) {
533
- //Possible last resort - could look for attachments here too so that
534
- //users using the [mp3-jplayer] name can also pick them up?..
535
- //
536
- //..Not for the mo, keeping it so that attachments must be in
537
- // a pre-built param (either 'ids' or 'tracks') which is done by
538
- // the ui-widget(mode 0) or replaceAudioShortcode handler.
539
- return false;
540
- }
541
- }
542
- }
543
-
544
- if ( $pick != "" && $pick >= 1 ) {
545
- $TRACKS = $this->pickTracks( $pick, $TRACKS );
546
- }
547
- if ( $shuffle && is_array( $TRACKS ) ) {
548
- shuffle( $TRACKS );
549
- }
550
- return $TRACKS;
551
- }
552
-
553
-
554
- //#############
555
- function replaceAudioShortcode ( $attr, $content = '' )
556
- {
557
- /* WP 4.0 [audio] shortcode attributes:
558
- * ---
559
- * @type string $src URL to the source of the audio file. Default empty.
560
- * @type string $loop The 'loop' attribute for the `<audio>` element. Default empty.
561
- * @type string $autoplay The 'autoplay' attribute for the `<audio>` element. Default empty.
562
- * @type string $preload The 'preload' attribute for the `<audio>` element. Default empty.
563
- * @type string $class The 'class' attribute for the `<audio>` element. Default 'wp-audio-shortcode'.
564
- * @type string $id The 'id' attribute for the `<audio>` element. Default 'audio-{$post_id}-{$instances}'.
565
- * @type string $style The 'style' attribute for the `<audio>` element. Default 'width: 100%'.
566
- */
567
-
568
- $ops = $this->theSettings;
569
- $passToWP = true;
570
- $url = '';
571
- $i = 0;
572
- $output = '';
573
-
574
- if ( ! empty($attr['src']) ) //url text or embed shortcode
575
- {
576
- if ( $ops['replace_WP_embedded'] === 'true' ) {
577
- $url = $attr['src'];
578
- $passToWP = false;
579
- }
580
- }
581
- else //direct audio shortcode
582
- {
583
- if ( $ops['replace_WP_audio'] === 'true' )
584
- {
585
- if ( ! empty($attr['mp3']) ) {
586
- $url = $attr['mp3'];
587
- $passToWP = false;
588
- }
589
- elseif ( ! empty($attr['mp4']) ) {
590
- $url = $attr['mp4'];
591
- $passToWP = false;
592
- }
593
- elseif ( ! empty($attr['m4a']) ) {
594
- $url = $attr['m4a'];
595
- $passToWP = false;
596
- }
597
- elseif ( ! empty($attr['ogg']) ) {
598
- $url = $attr['ogg'];
599
- $passToWP = false;
600
- }
601
- elseif ( ! empty($attr['oga']) ) {
602
- $url = $attr['oga'];
603
- $passToWP = false;
604
- }
605
- elseif ( ! empty($attr['wav']) ) {
606
- $url = $attr['wav'];
607
- $passToWP = false;
608
- }
609
- elseif ( ! empty($attr['webm']) ) {
610
- $url = $attr['webm'];
611
- $passToWP = false;
612
- }
613
- elseif ( ! empty($attr['track']) || ! empty($attr['tracks']) ) { //support user added 'track' param
614
- $url = ( ! empty($attr['track']) ) ? $attr['track'] : $attr['tracks'];
615
- $passToWP = false;
616
- }
617
- else {
618
- //nothing specified - will fallback to attachments, then custom fields (it's ok to fallback to
619
- //fields last as new users are unlikely to use them and old users may want the functionality).
620
- }
621
- }
622
-
623
- if ( $url === '' && $ops['replace_WP_attached'] === 'true' )
624
- {
625
- global $post;
626
- $attachments = $this->getPostAttachedAudio( $post->ID );
627
-
628
- $images = '';
629
- $ids = '';
630
- if ( $attachments !== false ) {
631
- $images = 'true';
632
- foreach ( $attachments as $a ) {
633
- $ids .= $a->ID . ',';
634
- $i++;
635
- }
636
- }
637
- $attr['ids'] = $ids;
638
- if ( empty($attr['images']) || $attr['images'] !== 'false' ) {
639
- $attr['images'] = $images;
640
- }
641
- $passToWP = false;
642
- }
643
- }
644
-
645
- if ( $passToWP ) { //bailout
646
- $output = $content;
647
- if ( function_exists('wp_audio_shortcode') ) { //let WP process it
648
- $output = wp_audio_shortcode( $attr, $content );
649
- }
650
- return $output;
651
- }
652
-
653
- //alias the params
654
- $attr['track'] = $url;
655
- $attr['loop'] = ( empty($attr['loop']) ) ? 'n' : 'y';
656
- $attr['autoplay'] = ( empty($attr['autoplay']) ) ? 'n' : 'y';
657
- $attr['text'] = ( ! empty($attr['title']) && empty($attr['text']) ) ? $attr['title'] : ( empty($attr['text']) ? '' : $attr['text'] ); //popout link text
658
-
659
- //process it
660
- $ops = $this->theSettings;
661
- if ( $i > 1 )
662
- {
663
- $output = ( $ops['replacerShortcode_playlist'] === 'player' ) ? $this->primary_player( $attr, $content ) : $this->popout_link_player( $attr, $content );
664
- }
665
- else
666
- {
667
- if ( $ops['replacerShortcode_single'] === 'mp3j' ) {
668
- $output = $this->inline_play_graphic( $attr, $content );
669
- }
670
- elseif ( $ops['replacerShortcode_single'] === 'mp3t' ) {
671
- $output = $this->inline_play_handler( $attr, $content );
672
- }
673
- elseif ( $ops['replacerShortcode_single'] === 'popout' ) {
674
- $output = $this->popout_link_player( $attr, $content );
675
- }
676
- else {
677
- $output = $this->primary_player( $attr, $content );
678
- }
679
- }
680
- //return ( $i > 1 ? $this->primary_player( $attr, $content ) : $this->inline_play_graphic( $attr ) );
681
- return $output;
682
- }
683
-
684
-
685
- //##############
686
- function replacePlaylistShortcode ( $attr, $content = '' )
687
- {
688
- /* WP 4.0 [playlist] shortcode attributes:
689
- * ---
690
- * @type string $type Type of playlist to display. Accepts 'audio' or 'video'. Default 'audio'.
691
- * @type string $order Designates ascending or descending order of items in the playlist.
692
- * Accepts 'ASC', 'DESC', or 'RAND'. Default 'ASC'.
693
- * @type string $orderby Any column, or columns, to sort the playlist. If $ids are
694
- * passed, this defaults to the order of the $ids array ('post__in').
695
- * Otherwise default is 'menu_order ID'.
696
- * @type int $id If an explicit $ids array is not present, this parameter
697
- * will determine which attachments are used for the playlist.
698
- * Default is the current post ID.
699
- * @type array $ids Create a playlist out of these explicit attachment IDs. If empty,
700
- * a playlist will be created from all $type attachments of $id.
701
- * Default empty.
702
- * @type array $exclude List of specific attachment IDs to exclude from the playlist. Default empty.
703
- * @type string $style Playlist style to use. Accepts 'light' or 'dark'. Default 'light'.
704
- * @type bool $tracklist Whether to show or hide the playlist. Default true.
705
- * @type bool $tracknumbers Whether to show or hide the numbers next to entries in the playlist. Default true.
706
- * @type bool $images Show or hide the video or audio thumbnail (Featured Image/post
707
- * thumbnail). Default true.
708
- * @type bool $artists Whether to show or hide artist name in the playlist. Default true.
709
- */
710
-
711
- if ( isset($attr['type']) && 'video' === $attr['type'] ) //bailout
712
- {
713
- $output = $content;
714
- if ( function_exists('wp_playlist_shortcode') ) //let WP process video
715
- {
716
- $output = wp_playlist_shortcode( $attr );
717
- }
718
- return $output;
719
- }
720
-
721
- //alias the params
722
- if ( ! isset( $attr['list'] ) ) {
723
- $attr['list'] = ( isset($attr['tracklist']) && $attr['tracklist'] === 'false' ) ? 'n' : 'y';
724
- }
725
- if ( ! isset( $attr['captions'] ) ) {
726
- $attr['captions'] = ( isset($attr['artists']) && $attr['artists'] === 'false' ) ? false : '';
727
- }
728
- //$attr['images'] = ( isset($attr['images']) && $attr['images'] === 'false' ) ? '' : 'true';
729
- $attr['images'] = ( !isset($attr['images']) ) ? 'true' : $attr['images'];
730
- $attr['text'] = ( ! empty($attr['title']) && empty($attr['text']) ) ? $attr['title'] : ( empty($attr['text']) ? '' : $attr['text'] ); //popout link text
731
-
732
- //process it
733
- $ops = $this->theSettings;
734
- return ( $ops['replacerShortcode_playlist'] === 'player' ? $this->primary_player( $attr, $content ) : $this->popout_link_player( $attr, $content ) );
735
- }
736
-
737
-
738
- //##### Handles [mp3-jplayer] playlist player shortcodes
739
- function primary_player ( $atts, $content = null )
740
- {
741
- //Bailout
742
- $this->dbug['str'] .= "\n### Checking [mp3-jplayer]...";
743
- if ( ! $this->canRun() ) {
744
- return;
745
- }
746
-
747
-
748
- $O = $this->theSettings;
749
- $pID = $this->Player_ID;
750
- $ATTS = shortcode_atts( array( // Defaults
751
- 'tracks' => '',
752
- 'track' => '',
753
- 'captions' => '',
754
- 'dload' => $O['show_downloadmp3'],
755
- 'title' => '',
756
- 'list' => $O['playlist_show'],
757
- 'pn' => 'y',
758
- 'width' => '',
759
- 'pos' => $O['player_float'],
760
- 'stop' => 'y',
761
- 'shuffle' => false,
762
- 'pick' => '',
763
- 'id' => '',
764
- 'loop' => $O['playlist_repeat'],
765
- 'autoplay' => $O['auto_play'],
766
- 'vol' => $O['initial_vol'],
767
- 'height' => $O['playerHeight'],
768
- 'fsort' => 'asc',
769
- 'style' => '',
770
- 'images' => 'true',
771
- 'imglinks' => '',
772
- 'imagesize' => $O['imageSize'],
773
- 'ids' => '',
774
- 'counterparts' => '',
775
- 'counterpart' => '',
776
- 'font_size_1' => $O['colour_settings']['font_size_1'],
777
- 'font_size_2' => $O['colour_settings']['font_size_2'],
778
- 'font_family_1' => $O['colour_settings']['font_family_1'],
779
- 'font_family_2' => $O['colour_settings']['font_family_2'],
780
- 'titlealign' => $O['colour_settings']['titleAlign'],
781
- 'titleoffset' => $O['colour_settings']['titleOffset'],
782
- 'titleoffsetr' => $O['colour_settings']['titleOffsetR'],
783
- 'titlebold' => $O['colour_settings']['titleBold'],
784
- 'titleitalic' => $O['colour_settings']['titleItalic'],
785
- 'captionbold' => $O['colour_settings']['captionBold'],
786
- 'captionitalic' => $O['colour_settings']['captionItalic'],
787
- 'listbold' => $O['colour_settings']['listBold'],
788
- 'listitalic' => $O['colour_settings']['listItalic'],
789
- 'listalign' => $O['colour_settings']['listAlign'],
790
- 'imagealign' => $O['colour_settings']['imageAlign'],
791
- 'imgoverflow' => $O['colour_settings']['imgOverflow'],
792
- 'titletop' => $O['colour_settings']['titleTop'],
793
- 'titlecol' => '',
794
- 'fontsize' => '',
795
- 'pptext' => $this->theSettings['popout_button_title']
796
- ), $atts );
797
-
798
-
799
- //Alias params
800
- if ( $ATTS['tracks'] == '' && $ATTS['track'] != '' ) {
801
- $ATTS['tracks'] = $ATTS['track'];
802
- }
803
- if ( $ATTS['counterparts'] == '' && $ATTS['counterpart'] != '' ) {
804
- $ATTS['counterparts'] = $ATTS['counterpart'];
805
- }
806
- $ATTS['userClasses'] = $O['colour_settings']['userClasses'] . ' ' . $ATTS['style'];
807
-
808
-
809
- //Try build a playlist
810
- $TRACKS = $this->decide_M_playlist( $ATTS );
811
- if ( !$TRACKS ) {
812
- $this->dbug['str'] .= "\nExiting (no tracks here)";
813
- return;
814
- }
815
- $ATTS['trackCount'] = count( $TRACKS );
816
-
817
- //Make js list
818
- $PlayerName = "MI_" . $this->M_no;
819
- $listJS = $this->writePlaylistJS( $TRACKS, $PlayerName );
820
-
821
- //Make settings..
822
- $trnum = 0;
823
- $pp_height = (int)$ATTS['height'];
824
- $pp_height = ( empty($pp_height) || $pp_height === 0 ) ? 'false' : $pp_height;
825
- //$play = "#USE_G#";
826
- $pp_title = ( $ATTS['title'] == "" ) ? get_bloginfo('name') : $ATTS['title'] . " | " . get_bloginfo('name');
827
- $pp_title = str_replace("'", "\'", $pp_title);
828
- $pp_title = str_replace("&#039;", "\'", $pp_title);
829
- $ATTS['list'] = ( $ATTS['list'] == "true" || $ATTS['list'] == "y" || $ATTS['list'] == "1" ) ? "true" : "false";
830
-
831
- if ( $ATTS['dload'] == "true" || $ATTS['dload'] == "y" || $ATTS['dload'] == "1" ) {
832
- $dload_info = "true";
833
- $ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI\"></div>";
834
- } elseif ( $ATTS['dload'] == "loggedin" ) {
835
- if ( is_user_logged_in() ) {
836
- $dload_info = "true";
837
- $ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI\"></div>";
838
- } else {
839
- $dload_info = "false";
840
- if ( $O['loggedout_dload_text'] == "" ) {
841
- $ATTS['dload_html'] = "";
842
- } else {
843
- if ( $O['loggedout_dload_link'] != "" ) {
844
- $ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI whilelinks\"><a href=\"" . $O['loggedout_dload_link'] . "\">" . $O['loggedout_dload_text'] . "</a></div>";
845
- } else {
846
- $ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI logintext\"><p>" . $O['loggedout_dload_text'] . "</p></div>";
847
- }
848
- }
849
- }
850
- } else {
851
- $dload_info = "false";
852
- $ATTS['dload_html'] = "";
853
- }
854
-
855
- $ATTS['autoplay'] = ( $ATTS['autoplay'] == "true" || $ATTS['autoplay'] == "y" || $ATTS['autoplay'] == "1" ) ? "true" : "false";
856
- $ATTS['loop'] = ( $ATTS['loop'] == "true" || $ATTS['loop'] == "y" || $ATTS['loop'] == "1" ) ? "true" : "false";
857
-
858
-
859
- //Make transport buttons
860
- $ATTS['prevnext'] = ( $ATTS['trackCount'] > 1 && $ATTS['pn'] == "y" ) ? "<div class=\"next-mjp\" id=\"Next_mp3j_" . $pID . "\">Next&raquo;</div><div class=\"prev-mjp\" id=\"Prev_mp3j_" . $pID . "\">&laquo;Prev</div>" : "";
861
- $ATTS['play_h'] = "<div class=\"play-mjp\" id=\"playpause_mp3j_" . $pID . "\">Play</div>";
862
- $ATTS['stop_h'] = ( $ATTS['stop'] == "y" ) ? "<div class=\"stop-mjp\" id=\"stop_mp3j_" . $pID . "\">Stop</div>" : "";
863
-
864
- //Build player html
865
- $ATTS['width'] = ( $this->Caller && $ATTS['width'] == "" ) ? "100%" : $ATTS['width']; //set a default width when called by tag/sc-widget and it wasn't specified
866
- $player = $this->drawPlaylistPlayer( $ATTS );
867
-
868
- //js player info
869
- $popoutcss = ( $this->setup['cssPopout'] === true ) ? "{ enabled:true, " .$player['js']. "}" : "{ enabled:false, " .$player['js']. "}";
870
- //$playerInfo = "{ list:MP3jPLAYLISTS." .$PlayerName. ", tr:" .$trnum. ", type:'MI', lstate:" .$ATTS['list']. ", loop:" .$ATTS['loop']. ", play_txt:'Play', pause_txt:'Pause', pp_title:'" .$pp_title. "', autoplay:" .$ATTS['autoplay']. ", download:" .$dload_info. ", vol:" .$ATTS['vol']. ", height:" .$pp_height. ", cssclass:'" .$ATTS['userClasses']. "', popout_css:{" .$player['js']. "} }";
871
- $playerInfo = "{ list:MP3jPLAYLISTS." .$PlayerName. ", tr:" .$trnum. ", type:'MI', lstate:" .$ATTS['list']. ", loop:" .$ATTS['loop']. ", play_txt:'Play', pause_txt:'Pause', pp_title:'" .$pp_title. "', autoplay:" .$ATTS['autoplay']. ", download:" .$dload_info. ", vol:" .$ATTS['vol']. ", height:" .$pp_height. ", cssclass:'" .$ATTS['userClasses']. "', popout_css:" .$popoutcss. " }";
872
- //$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>\n\n";
873
- $playerJS = "<script>MP3jPLAYERS[" .$pID. "] = " . $playerInfo . ";</script>\n\n";
874
-
875
-
876
- //Finish up
877
- $this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
878
- $this->M_no++;
879
- $this->Player_ID++;
880
-
881
- return $player['html'] . $listJS . $playerJS;
882
- }
883
-
884
-
885
- /* Handles [mp3-popout] shortcode
886
- link to popout player. */
887
- function popout_link_player ( $atts, $content = null )
888
- {
889
- //bailout conditions
890
- $this->dbug['str'] .= "\n### Checking [mp3-popout]...";
891
- if ( ! $this->canRun() ) {
892
- return;
893
- }
894
-
895
- $O = $this->theSettings;
896
- $pID = $this->Player_ID;
897
- $ATTS = shortcode_atts( array( // Defaults
898
- 'tracks' => '',
899
- 'track' => '',
900
- 'captions' => '',
901
- 'dload' => $this->theSettings['show_downloadmp3'],
902
- 'title' => '',
903
- 'text' => $this->theSettings['popout_button_title'],
904
- 'stop' => 'y',
905
- 'pn' => 'y',
906
- 'list' => $this->theSettings['playlist_show'],
907
- 'width' => '',
908
- 'pos' => $this->theSettings['player_float'],
909
- 'shuffle' => false,
910
- 'pick' => '',
911
- 'id' => '',
912
- 'loop' => $this->theSettings['playlist_repeat'],
913
- 'autoplay' => $this->theSettings['auto_play'],
914
- 'vol' => $this->theSettings['initial_vol'],
915
- 'height' => $this->theSettings['playerHeight'],
916
- 'tag' => 'p',
917
- 'image' => '',
918
- 'fsort' => 'asc',
919
- 'style' => '',
920
- 'images' => 'true',
921
- 'imagesize' => $O['imageSize'],
922
- 'imglinks' => '',
923
- 'ids' => '',
924
- 'counterparts' => '',
925
- 'counterpart' => '',
926
- 'font_size_1' => $O['colour_settings']['font_size_1'],
927
- 'font_size_2' => $O['colour_settings']['font_size_2'],
928
- 'font_family_1' => $O['colour_settings']['font_family_1'],
929
- 'font_family_2' => $O['colour_settings']['font_family_2'],
930
- 'titlealign' => $O['colour_settings']['titleAlign'],
931
- 'titleoffset' => $O['colour_settings']['titleOffset'],
932
- 'titleoffsetr' => $O['colour_settings']['titleOffsetR'],
933
- 'titlebold' => $O['colour_settings']['titleBold'],
934
- 'titleitalic' => $O['colour_settings']['titleItalic'],
935
- 'captionbold' => $O['colour_settings']['captionBold'],
936
- 'captionitalic' => $O['colour_settings']['captionItalic'],
937
- 'listbold' => $O['colour_settings']['listBold'],
938
- 'listitalic' => $O['colour_settings']['listItalic'],
939
- 'listalign' => $O['colour_settings']['listAlign'],
940
- 'imagealign' => $O['colour_settings']['imageAlign'],
941
- 'imgoverflow' => $O['colour_settings']['imgOverflow'],
942
- 'titletop' => $O['colour_settings']['titleTop'],
943
- 'titlecol' => '',
944
- 'fontsize' => ''
945
- ), $atts );
946
-
947
- //Alias some params
948
- if ( $ATTS['tracks'] == '' && $ATTS['track'] != '' ) {
949
- $ATTS['tracks'] = $ATTS['track'];
950
- }
951
- if ( $ATTS['counterparts'] == '' && $ATTS['counterpart'] != '' ) {
952
- $ATTS['counterparts'] = $ATTS['counterpart'];
953
- }
954
- $ATTS['userClasses'] = $O['colour_settings']['userClasses'] . ' ' . $ATTS['style'];
955
-
956
- $ATTS['pptext'] = $ATTS['text'];
957
-
958
- //Try build a playlist
959
- $TRACKS = $this->decide_M_playlist( $ATTS );
960
- if ( !$TRACKS ) {
961
- $this->dbug['str'] .= "\nExiting (no tracks here)";
962
- return;
963
- }
964
- //$trackCount = count( $TRACKS );
965
- $ATTS['trackCount'] = count( $TRACKS );
966
-
967
- extract( $ATTS );
968
- //$ATTS['cssclass'] = $ATTS['style'];
969
-
970
- //Make js list
971
- $PlayerName = "popout_" . $this->M_no;
972
- $listJS = $this->writePlaylistJS( $TRACKS, $PlayerName );
973
-
974
- //Make settings..
975
- //$ATTS['cssclass'] = ( $ATTS['cssclass'] == "" ) ? "wrap-mjp" : $ATTS['cssclass'];
976
- $pp_height = (int)$height;
977
- $pp_height = ( empty($pp_height) || $pp_height === 0 ) ? 'false' : $pp_height;
978
- //$play = "#USE_G#";
979
- $pp_title = ( $title == "" ) ? get_bloginfo('name') : $title;
980
- $pp_title = str_replace("'", "\'", $pp_title);
981
- $pp_title = str_replace("&#039;", "\'", $pp_title);
982
- $list = ( $list == "true" || $list == "y" || $list == "1" ) ? "true" : "false";
983
- $dload_info = ( $dload == "true" || $dload == "y" || $dload == "1" ) ? "true" : "false";
984
- $autoplay = ( $autoplay == "true" || $autoplay == "y" || $autoplay == "1" ) ? "true" : "false";
985
- $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
986
-
987
-
988
- //Make player
989
- //$image_h = ( $image == "" ) ? "<div class=\"mp3j-popout-link\"></div>" : "<img class=\"mp3j-popout-link-image\" src=\"" . $image . "\" />";
990
- //$player = '<div class="mp3j-popout-link-wrap unsel-mjp" id="mp3j_popout_' . $pID . '">' . $image_h . '<'.$tag.'>' . $text . '</'.$tag.'></div>';
991
- $image_h = ( $image === "" ) ? '<div class="popout-image-mjp"></div>' : '<img class="popout-image-mjp-custom" src="' . $image . '" />';
992
- $text_h = ( $text !== "" ) ? '<div class="popout-text-mjp"><'.$tag.'>' . $text . '</'.$tag.'></div>' : '';
993
-
994
- $player = '<div class="popout-wrap-mjp unsel-mjp" id="mp3j_popout_' . $pID . '">';
995
- $player .= $image_h . $text_h;
996
- //$player .= '<br class="clearL-mjp">';
997
- $player .= '</div>';
998
-
999
-
1000
- ////
1001
- $output = $this->drawPlaylistPlayer( $ATTS, true );
1002
- //js player info
1003
- $popoutcss = ( $this->setup['cssPopout'] === true ) ? "{ enabled:true, " .$output['js']. "}" : "{ enabled:false, " .$output['js']. "}";
1004
- //$playerInfo = "{ list: MP3jPLAYLISTS." . $PlayerName . ", tr:0, type:'popout', lstate:" . $list . ", loop:" . $loop . ", play_txt:'Play', pause_txt:'Pause', pp_title:'" . $pp_title . "', autoplay:" . $autoplay . ", download:" . $dload_info . ", vol:" . $vol . ", height:" . $pp_height . ", cssclass: '" . $ATTS['userClasses'] . "', popout_css:{" .$output['js']. "} }";
1005
- $playerInfo = "{ list: MP3jPLAYLISTS." . $PlayerName . ", tr:0, type:'popout', lstate:" . $list . ", loop:" . $loop . ", play_txt:'Play', pause_txt:'Pause', pp_title:'" . $pp_title . "', autoplay:" . $autoplay . ", download:" . $dload_info . ", vol:" . $vol . ", height:" . $pp_height . ", cssclass: '" . $ATTS['userClasses'] . "', popout_css:" .$popoutcss. " }";
1006
- //$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>\n\n";
1007
- $playerJS = "<script>MP3jPLAYERS[" .$pID. "] = " . $playerInfo . ";</script>\n\n";
1008
-
1009
-
1010
-
1011
-
1012
- //Finish up
1013
- $this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
1014
- $this->M_no++;
1015
- $this->Player_ID++;
1016
-
1017
- return $player . $listJS . $playerJS;
1018
- }
1019
-
1020
-
1021
- //###########################
1022
- function template_tag_handler( $stuff = "" ) {
1023
- //if ( $this->theSettings['disable_template_tag'] == "true" ) {
1024
- // return;
1025
- //}
1026
- if ( !empty($stuff) ) {
1027
- $this->checkGrabFields(); //for singles
1028
- $this->Caller = "tag";
1029
- $players = do_shortcode( $stuff );
1030
- $this->Caller = false;
1031
- echo $players;
1032
- }
1033
- return;
1034
- }
1035
-
1036
-
1037
- //###########################
1038
- function checkGrabFields ()
1039
- {
1040
- global $post;
1041
- if ( $post->ID != "" && $post->ID != $this->postID )
1042
- {
1043
- $this->postID = $post->ID;
1044
- $this->F_listname = false;
1045
- $this->F_listlength = false;
1046
- $this->S_autotrack = 0;
1047
- $this->dbug['str'] .= "\nLooking in custom fields on post id " . $this->postID . " - ";
1048
-
1049
- $TRACKS = $this->customFieldsToTracks( $post->ID );
1050
- if ( $TRACKS ) {
1051
- $count = count( $TRACKS );
1052
- $this->F_listname = "fields_" . $this->F_no++;
1053
- echo $this->writePlaylistJS( $TRACKS, $this->F_listname );
1054
- $this->F_listlength = $count;
1055
- $this->F_LISTS[ $this->F_listname ] = $TRACKS;
1056
- $this->dbug['str'] .= "\nDone, " . $this->F_listlength . " track(s) found.";
1057
- }
1058
- }
1059
- return $this->F_listname;
1060
- }
1061
-
1062
- }} // Close class, close if.
 
 
 
 
 
 
 
 
 
1063
  ?>
1
+ <?php
2
+ if ( !class_exists("MP3j_Front") && class_exists("MP3j_Main") ) { class MP3j_Front extends MP3j_Main {
3
+
4
+ /* Called on deactivation, deletes settings if 'remember' option unticked. */
5
+ function uninitFox()
6
+ {
7
+ $theOptions = get_option($this->adminOptionsName);
8
+ if ( $theOptions['remember_settings'] == "false" ) {
9
+ delete_option($this->adminOptionsName);
10
+ }
11
+ }
12
+
13
+
14
+ /** Flags for scripts via template tag mp3j_addscripts() */
15
+ function scripts_tag_handler( $style = "" )
16
+ {
17
+ // Since 1.7 - convert old option name to new
18
+ if ( $style == "styleA" || $style == "styleE" ) { $style = "styleF"; }
19
+ if ( $style == "styleB" ) { $style = "styleG"; }
20
+ if ( $style == "styleC" ) { $style = "styleH"; }
21
+ if ( $style == "styleD" ) { $style = "styleI"; }
22
+
23
+ $this->stylesheet = ( $style == "" ) ? $this->theSettings['player_theme'] : $style;
24
+ $this->scriptsflag = "true";
25
+ return;
26
+ }
27
+
28
+
29
+ /** Returns library via template tag mp3j_grab_library(). */
30
+ function grablibrary_handler( $x )
31
+ {
32
+ return $this->grab_library_info( $x );
33
+ }
34
+
35
+
36
+
37
+
38
+ function mp3j_settings ( $devsettings = array() )
39
+ {
40
+ foreach ( $this->setup as $k => $v ) {
41
+ if ( array_key_exists( $k, $devsettings ) ) {
42
+ $this->setup[ $k ] = $devsettings[ $k ];
43
+ }
44
+ }
45
+ }
46
+
47
+
48
+
49
+ /**
50
+ * Provides support for WP versions below 3.3 that can't late enqueue. Labourious
51
+ * checking of active widgets, and loose checking post content for shortcodes and extensions
52
+ * so as to avoid unecessary script addition.
53
+ */
54
+ function header_scripts_handler()
55
+ {
56
+ $scripts = false;
57
+ $allowed_widget = $this->has_allowed_widget( "mp3-jplayer-widget" );
58
+ $allowed_widget_B = $this->has_allowed_widget( "mp3mi-widget" );
59
+
60
+ //Flagged in template
61
+ if ( $this->scriptsflag == "true" ) {
62
+ $scripts = true;
63
+ }
64
+
65
+ //On page types
66
+ if ( is_home() || is_archive() || is_search() ) {
67
+ if ( $allowed_widget || $allowed_widget_B || $this->theSettings['player_onblog'] == "true" || $this->theSettings['run_shcode_in_excerpt'] == "true" ) {
68
+ $scripts = true;
69
+ }
70
+ }
71
+ if ( is_singular() ) {
72
+ if ( $allowed_widget || $allowed_widget_B || $this->has_shortcodes() || $this->post_has_string() ) {
73
+ $scripts = true;
74
+ }
75
+ }
76
+
77
+ if ( $scripts ) { //Add the scripts
78
+ $style = ( $this->stylesheet == "" ) ? $this->theSettings['player_theme'] : $this->stylesheet;
79
+ $this->add_Scripts( $style );
80
+ }
81
+
82
+ // Always define js player info and playlist arrays here as some
83
+ // themes cause issues if it's left until shortcode is processed.
84
+ $this->defineJSvars();
85
+
86
+ return;
87
+ }
88
+
89
+
90
+ //#############
91
+ function checkAddScripts ()
92
+ {
93
+ if ( $this->Player_ID > 0 && $this->SCRIPT_CALL === false )
94
+ {
95
+ $style = ( $this->stylesheet == "" ) ? $this->theSettings['player_theme'] : $this->stylesheet;
96
+ $this->add_Scripts( $style );
97
+
98
+ $version = substr( get_bloginfo('version'), 0, 3);
99
+ if ( $version < 3.3 ) {
100
+ $this->dbug['str'] .= "\nFAIL Warning: Can't recover because this version of WordPress is too old (below 3.3). Possible causes:\n- Using do_shortcode without adding the scripts first (see plugin help)\n- A genuine bug, please report.\n";
101
+ }
102
+ }
103
+ }
104
+
105
+
106
+ /** Writes js playlists, startup, and debug info. */
107
+ function footercode_handler()
108
+ {
109
+ $O = $this->theSettings;
110
+ $JS = '';
111
+ if ( $this->Player_ID > 0 )
112
+ {
113
+ $JS .= "\n<script type=\"text/javascript\">\njQuery(document).ready(function () {";
114
+ $JS .= "\n\tif (typeof MP3_JPLAYER !== 'undefined') {";
115
+
116
+ $JS .= ( $this->FIRST_FORMATS !== 'mp3' ) ? "\n\t\tMP3_JPLAYER.lastformats = '" . $this->FIRST_FORMATS . "';" : "";
117
+ $JS .= "\n\t\tMP3_JPLAYER.plugin_path = '" . $this->PluginFolder . "';";
118
+
119
+ $JS .= ( $O['allowRangeRequests'] !== 'true' ) ? "\n\t\tMP3_JPLAYER.allowRanges = " . $O['allowRangeRequests'] . ";" : "";
120
+ $JS .= "\n\t\tMP3_JPLAYER.pl_info = MP3jPLAYERS;";
121
+ $JS .= ( $O['encode_files'] !== 'true' ) ? "\n\t\tMP3_JPLAYER.vars.play_f = " . $O['encode_files'] . ";" : "";
122
+ $JS .= ( $O['force_browser_dload'] !== 'true' ) ? "\n\t\tMP3_JPLAYER.vars.force_dload = " . $O['force_browser_dload'] . ";" : "";
123
+ $JS .= "\n\t\tMP3_JPLAYER.vars.dload_text = '" . $O['dload_text'] . "';";
124
+
125
+ if ( $this->setup['stylesheetPopout'] === true ) {
126
+ $JS .= "\n\t\tMP3_JPLAYER.vars.stylesheet_url = '" . $this->PP_css_url . "';";
127
+ }
128
+ if ( $O['force_browser_dload'] == "true" && $O['dloader_remote_path'] !== "" ) {
129
+ $JS .= "\n\t\tMP3_JPLAYER.vars.dl_remote_path = '" . $O['dloader_remote_path'] . "';";
130
+ }
131
+
132
+ $showErrors = $O['showErrors'];
133
+ if ( $showErrors === 'admin' ) {
134
+ $showErrors = ( current_user_can( 'manage_options' ) ) ? 'true' : 'false';
135
+ }
136
+ $JS .= "\n\t\tMP3_JPLAYER.showErrors = " . $showErrors . ";";
137
+
138
+ $JS .= "\n\t\tMP3_JPLAYER.init();";
139
+ $JS .= "\n\t}";
140
+ $JS .= "\n});\n</script>\n";
141
+ echo $JS;
142
+ }
143
+
144
+ // Write debug
145
+ if ( $O['echo_debug'] == "true" ) {
146
+ $this->debug_info();
147
+ }
148
+ return;
149
+ }
150
+
151
+
152
+ /* Work out playlist for single players. */
153
+ function decide_S_playlist( $track, $caption, $counterpart = '', $ids = '' )
154
+ {
155
+ $TRACKS = false;
156
+ $trackNumber = '';
157
+ $listJS = '';
158
+
159
+ global $post;
160
+ $currentID = $post->ID;
161
+ if ( $currentID !== $this->currentID ) {
162
+ $this->S_arb = 1;
163
+ $this->currentID = $currentID;
164
+ }
165
+ //$this->S_arb = ( $currentID === $this->currentID ) ? $this->S_arb : 1;
166
+
167
+ if ( $ids !== '' ) //came via [audio] shortcode, has 1 attachment
168
+ {
169
+ //$TRACKS = $this->IDsToTracks( $ids, 'false' );
170
+ $TRACKS = $this->IDsToTracks( $ids, 'true' );
171
+ if ( ! $TRACKS ) {
172
+ return false;
173
+ }
174
+ $track = 1;
175
+ $playername = "inline_" . $this->S_no++;
176
+ //TODO: track numbering issue
177
+ $trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $this->S_arb . '. ' : '';
178
+ $listJS = $this->writePlaylistJS( $TRACKS, $playername, $this->S_arb++ );
179
+ }
180
+ else
181
+ {
182
+ if ( $track == "" ) // Auto increment
183
+ {
184
+ if ( ! $this->checkGrabFields() || $this->Caller == "widget" || $this->F_listlength <= $this->S_autotrack ) {
185
+ return false;
186
+ }
187
+ $track = ++$this->S_autotrack;
188
+ $playername = $this->F_listname;
189
+ //TODO: track numbering issue
190
+ $trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $track . '. ' : '';
191
+ $TRACKS = $this->F_LISTS[ $playername ];
192
+ }
193
+ elseif ( is_numeric($track) ) // Has a track number
194
+ {
195
+ if ( ! $this->checkGrabFields() || $this->Caller == "widget" || $this->F_listlength < $track ) {
196
+ return false;
197
+ }
198
+ $playername = $this->F_listname;
199
+ //TODO: track numbering issue
200
+ $trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $track . '. ' : '';
201
+ $TRACKS = $this->F_LISTS[ $playername ];
202
+ }
203
+ else // Has arbitrary file/uri
204
+ {
205
+ $TRACKS = $this->stringsToTracks( $track, $counterpart, $caption );
206
+ if ( !$TRACKS ) {
207
+ return false;
208
+ }
209
+ $track = 1;
210
+ $playername = "inline_" . $this->S_no++;
211
+ //TODO: track numbering issue
212
+ $trackNumber = ( $this->theSettings['add_track_numbering'] == "true" ) ? $this->S_arb . '. ' : '';
213
+ $listJS = $this->writePlaylistJS( $TRACKS, $playername, $this->S_arb++ );
214
+ }
215
+ }
216
+
217
+ return array(
218
+ 'track' => $track,
219
+ 'playername' => $playername,
220
+ 'playlist' => $TRACKS,
221
+ 'trackNumber' => $trackNumber,
222
+ 'listJS' => $listJS
223
+ );
224
+ }
225
+
226
+
227
+ /* Handles [mp3t] shortcodes
228
+ single players with text buttons. */
229
+ function inline_play_handler( $atts, $content = null ) {
230
+
231
+ $this->dbug['str'] .= "\n### Checking [mp3t]...";
232
+ if ( ! $this->canRun() ) {
233
+ return;
234
+ }
235
+ $atts = MJPfront_mp3t( $atts );
236
+
237
+ $C = $this->theSettings['colour_settings'];
238
+
239
+ $id = $this->Player_ID;
240
+ extract( shortcode_atts( array( // Defaults
241
+ 'bold' => 'y',
242
+ 'play' => 'Play',
243
+ 'track' => '',
244
+ 'tracks' => '',
245
+ 'caption' => '',
246
+ 'flip' => $this->theSettings['flipMP3t'],
247
+ 'title' => '#USE#',
248
+ 'stop' => 'Stop',
249
+ 'ind' => 'y',
250
+ 'autoplay' => $this->theSettings['auto_play'],
251
+ 'loop' => $this->theSettings['playlist_repeat'],
252
+ 'vol' => $this->theSettings['initial_vol'],
253
+ 'flow' => 'n',
254
+ 'volslider' => $this->theSettings['volslider_on_singles'],
255
+ 'style' => '',
256
+ 'counterpart' => '',
257
+ 'counterparts' => '',
258
+ 'ids' => '',
259
+ 'fontsize' => $this->theSettings['font_size_mp3t'],
260
+ 'dload' => 'false',
261
+ ), $atts ) );
262
+
263
+ //Alias some params
264
+ if ( $track == '' && $tracks != '' ) {
265
+ $track = $tracks;
266
+ }
267
+ if ( $counterpart == '' && $counterparts != '' ) {
268
+ $counterpart = $counterparts;
269
+ }
270
+ $cssclass = $style;
271
+
272
+ //Try make a playlist
273
+ $tn = $this->decide_S_playlist( $track, $caption, $counterpart, $ids );
274
+ if ( !$tn ) {
275
+ $this->dbug['str'] .= "\nExiting (no track here)";
276
+ return;
277
+ }
278
+
279
+ $CSSext = '-mjp';
280
+ $font1Class = ( $C['font_family_1'] === 'theme' ) ? '' : ' ' . $C['font_family_1'] . $CSSext;
281
+
282
+ $divO = '<span id="mp3jWrap_' . $id. '" class="unsel-mjp ' . $cssclass . $font1Class . '">';
283
+ $divC = "</span>";
284
+ $b = "";
285
+ if ( $flow == "n" || $this->Caller == "widget" ) {
286
+ $divO = ( $cssclass == "" ) ? '<div id="mp3jWrap_' . $id. '" class="mjp-s-wrapper s-text unsel-mjp' . $font1Class . '" style="font-size:' .$fontsize. ';">' : '<div id="mp3jWrap_' . $id. '" class="unsel-mjp ' . $cssclass . $font1Class . '" style="font-size:' .$fontsize. ';">';
287
+ $divC = "</div>";
288
+ }
289
+
290
+ // Set font weight
291
+ $b = ( $bold == "false" || $bold == "0" || $bold == "n" ) ? " style=\"font-weight:500;\"" : " style=\"font-weight:700;\"";
292
+
293
+ // Set spacer between elements depending on play/stop/title
294
+ if ( $play != "" && $title != "" ){
295
+ $spacer = "&nbsp;";
296
+ } else {
297
+ $spacer = "";
298
+ if ( $play == "" && $stop != "" ) { $stop = " " . $stop; }
299
+ }
300
+
301
+ // Prep title
302
+ if ( $title === '' ) { //user specifically has blanked it
303
+ $outputTitle = '';
304
+ }
305
+ else {
306
+ if ( $title == "#USE#" ) { //get the one from the playlist
307
+ $outputTitle = $tn['trackNumber'] . $tn['playlist'][($tn['track'] -1)]['title'] . ( ! empty($tn['playlist'][($tn['track'] -1)]['caption'] ) ? '<span> - ' . $tn['playlist'][($tn['track'] -1)]['caption'] . '</span>' : '' );
308
+ }
309
+ else { //user entered one, use it
310
+ $outputTitle = $tn['trackNumber'] . $title;
311
+ }
312
+ }
313
+
314
+ // Make id'd span elements
315
+ $openWrap = $divO . "<span id=\"playpause_wrap_mp3j_" . $id . "\" class=\"wrap_inline_mp3j\"" . $b . ">";
316
+ $vol_h = ( $volslider == 'true' || $volslider == 'Y' || $volslider == 'y' ) ? "<span class=\"vol_mp3t\" id=\"vol_mp3j_" . $id . "\"></span>" : "";
317
+ $pos = "<span class=\"bars_mp3j\"><span class=\"load_mp3j\" id=\"load_mp3j_" . $id . "\"></span><span class=\"posbar_mp3j\" id=\"posbar_mp3j_" . $id. "\"></span>" . $vol_h . "</span>";
318
+ $play_h = "<span class=\"textbutton_mp3j play-mjp\" style=\"font-size:" .$fontsize. ";\" id=\"playpause_mp3j_" . $id . "\">" . $play . "</span>";
319
+
320
+ $title_h = ( $title != "" ) ? "<span class=\"T_mp3j\" style=\"font-size:" .$fontsize. ";\" id=\"T_mp3j_" . $id . "\">" . $outputTitle . "</span>" : "";
321
+
322
+ $closeWrap = ( $ind != "y" ) ? "<span style=\"display:none;\" id=\"statusMI_" . $id . "\"></span></span>" . $divC : "<span class=\"indi_mp3j\" style=\"font-size:" .(intval($fontsize)*0.7) . "px;\" id=\"statusMI_" . $id . "\"></span></span>" . $divC;
323
+ $errorMsg = "<span class=\"s-nosolution\" id=\"mp3j_nosolution_" . $id . "\" style=\"display:none;\"></span>";
324
+
325
+ // Assemble them
326
+ //$html = ( $flip != "l" ) ? $openWrap . $pos . $title_h . $spacer . $play_h . $closeWrap . $errorMsg : $openWrap . $pos . $play_h . $spacer . $title_h . $closeWrap . $errorMsg;
327
+ $html = ( $flip != "false" ) ? $openWrap . $pos . $title_h . $spacer . $play_h . $closeWrap . $errorMsg : $openWrap . $pos . $play_h . $spacer . $title_h . $closeWrap . $errorMsg;
328
+
329
+ // Add info to js info array
330
+ $autoplay = ( $autoplay == "true" || $autoplay == "y" || $autoplay == "1" ) ? "true" : "false";
331
+ $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
332
+ $dload = ( $dload == "true" || $dload == "y" || $dload == "1" ) ? "true" : "false";
333
+
334
+ $this->defineJSvars();
335
+ $playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr: " . ($tn['track']-1) . ", type: 'single', lstate: '', loop: " . $loop . ", play_txt: '" . $play . "', pause_txt: '" . $stop . "', pp_title: '', autoplay:" . $autoplay . ", download:" . $dload . ", vol: " . $vol . ", height: '' }";
336
+ //$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>";
337
+ $playerJS = "<script>MP3jPLAYERS[" .$id. "] = " . $playerInfo . ";</script>";
338
+
339
+ $this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
340
+ $this->Player_ID++;
341
+ return $html . $tn['listJS'] . $playerJS;
342
+ }
343
+
344
+
345
+ /* Handles [mp3j] shortcodes.
346
+ single players with button graphic */
347
+ function inline_play_graphic( $atts, $content = null ) {
348
+
349
+ $this->dbug['str'] .= "\n### Checking [mp3j]...";
350
+ if ( ! $this->canRun() ) {
351
+ return;
352
+ }
353
+ $atts = MJPfront_mp3j( $atts );
354
+
355
+ $C = $this->theSettings['colour_settings'];
356
+
357
+ $id = $this->Player_ID;
358
+ extract(shortcode_atts(array( // Defaults
359
+ 'bold' => 'y',
360
+ 'track' => '',
361
+ 'tracks' => '',
362
+ 'caption' => '',
363
+ 'flip' => $this->theSettings['flipMP3j'],
364
+ 'title' => '#USE#',
365
+ 'ind' => 'y',
366
+ 'autoplay' => $this->theSettings['auto_play'],
367
+ 'loop' => $this->theSettings['playlist_repeat'],
368
+ 'vol' => $this->theSettings['initial_vol'],
369
+ 'flow' => 'n',
370
+ 'volslider' => $this->theSettings['volslider_on_mp3j'],
371
+ 'style' => '',
372
+ 'counterpart' => '',
373
+ 'counterparts' => '',
374
+ 'ids' => '',
375
+ 'fontsize' => $this->theSettings['font_size_mp3j'],
376
+ 'dload' => 'false',
377
+ ), $atts));
378
+
379
+ if ( $track == '' && $tracks != '' ) {
380
+ $track = $tracks;
381
+ }
382
+ if ( $counterpart == '' && $counterparts != '' ) {
383
+ $counterpart = $counterparts;
384
+ }
385
+ $cssclass = $style;
386
+
387
+ $tn = $this->decide_S_playlist( $track, $caption, $counterpart, $ids );
388
+ if ( !$tn ) {
389
+ $this->dbug['str'] .= "\nExiting (no track here)";
390
+ return;
391
+ }
392
+
393
+ $CSSext = '-mjp';
394
+ $font1Class = ( $C['font_family_1'] === 'theme' ) ? '' : ' ' . $C['font_family_1'] . $CSSext;
395
+
396
+ $divO = '<span id="mp3jWrap_' . $id. '" class="' . $cssclass . $font1Class . '">';
397
+ $divC = "</span>";
398
+ $b = "";
399
+ if ( $flow == "n" || $this->Caller == "widget" ) {
400
+ $divO = ( $cssclass == "" ) ? '<div id="mp3jWrap_' . $id. '" class="mjp-s-wrapper s-graphic unsel-mjp' . $font1Class . '" style="font-size:' .$fontsize. ';">' : '<div id="mp3jWrap_' . $id. '" class="unsel-mjp ' . $cssclass . $font1Class . '" style="font-size:' .$fontsize. ';">';
401
+ $divC = "</div>";
402
+ }
403
+
404
+ // Set font weight
405
+ $b = ( $bold == "false" || $bold == "N" || $bold == "n" ) ? " style=\"font-weight:500;\"" : " style=\"font-weight:700;\"";
406
+
407
+ // Prep title
408
+ if ( $title === '' ) { //user specifically has blanked it
409
+ $outputTitle = '';
410
+ }
411
+ else {
412
+ if ( $title == "#USE#" ) { //get the one from the playlist
413
+ $outputTitle = $tn['trackNumber'] . $tn['playlist'][($tn['track'] -1)]['title'] . ( ! empty($tn['playlist'][($tn['track'] -1)]['caption'] ) ? '<span> - ' . $tn['playlist'][($tn['track'] -1)]['caption'] . '</span>' : '' );
414
+ }
415
+ else { //user entered one, use it
416
+ $outputTitle = $tn['trackNumber'] . $title;
417
+ }
418
+ }
419
+
420
+ // Make id'd span elements
421
+ //$flippedcss = ( $flip == "r" ) ? "" : " flipped";
422
+ $flippedcss = ( $flip == "false" ) ? "" : " flipped";
423
+ $openWrap = $divO . "<span id=\"playpause_wrap_mp3j_" . $id . "\" class=\"wrap_inline_mp3j\"" . $b . ">";
424
+ $vol_h = ( $volslider == 'true' || $volslider == 'y' || $volslider == 'Y' ) ? "<span class=\"vol_mp3j" . $flippedcss . "\" id=\"vol_mp3j_" . $id . "\"></span>" : "";
425
+ $pos = "<span class=\"bars_mp3j\"><span class=\"loadB_mp3j\" id=\"load_mp3j_" . $id . "\"></span><span class=\"posbarB_mp3j\" id=\"posbar_mp3j_" . $id . "\"></span></span>";
426
+ //$play_h = "<span class=\"play-mjp\" id=\"playpause_mp3j_" . $id . "\">&nbsp;</span>";
427
+ $play_h = "<span class=\"gfxbutton_mp3j play-mjp\" id=\"playpause_mp3j_" . $id . "\" style=\"font-size:" .$fontsize. ";\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>";
428
+ $spacer = "";
429
+
430
+ $title_h = ( $title != "" ) ? "<span class=\"T_mp3j\" id=\"T_mp3j_" . $id . "\" style=\"font-size:" .$fontsize. ";\">" . $outputTitle . "</span>" : "";
431
+ $indi_h = ( $ind != "y" ) ? "<span style=\"display:none;\" id=\"statusMI_" . $id . "\"></span>" : "<span class=\"indi_mp3j\" style=\"font-size:" .(intval($fontsize)*0.7) . "px;\" id=\"statusMI_" . $id . "\"></span>";
432
+ $errorMsg = "<span class=\"s-nosolution\" id=\"mp3j_nosolution_" . $id . "\" style=\"display:none;\"></span>";
433
+ // Assemble them
434
+ //$html = ( $flip == "r" ) ? $openWrap . "<span class=\"group_wrap\">" . $pos . $title_h . $indi_h . "</span>" . $play_h . $vol_h . "</span>" . $divC . $errorMsg : $openWrap . $play_h . "&nbsp;<span class=\"group_wrap\">" . $pos . $title_h . $indi_h . "</span>" . $vol_h . "</span>" . $divC . $errorMsg;
435
+ $html = ( $flip == "false" ) ? $openWrap . "<span class=\"group_wrap\">" . $pos . $title_h . $indi_h . "</span>" . $play_h . $vol_h . "</span>" . $divC . $errorMsg : $openWrap . $play_h . "&nbsp;<span class=\"group_wrap\">" . $pos . $title_h . $indi_h . "</span>" . $vol_h . "</span>" . $divC . $errorMsg;
436
+
437
+ // Add info to js info array
438
+ $autoplay = ( $autoplay == "true" || $autoplay == "y" || $autoplay == "1" ) ? "true" : "false";
439
+ $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
440
+ $dload = ( $dload == "true" || $dload == "y" || $dload == "1" ) ? "true" : "false";
441
+
442
+ $this->defineJSvars();
443
+ $playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr:" . ($tn['track']-1) . ", type:'single', lstate:'', loop:" . $loop . ", play_txt:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', pause_txt:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', pp_title:'', autoplay:" . $autoplay . ", download:" . $dload . ", vol:" . $vol . ", height:'' }";
444
+ //$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>";
445
+ $playerJS = "<script>MP3jPLAYERS[" .$id. "] = " . $playerInfo . ";</script>";
446
+
447
+ $this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
448
+ $this->Player_ID++;
449
+ return $html . $tn['listJS'] . $playerJS;
450
+ }
451
+
452
+
453
+ //###############
454
+ function getPostImageUrl ( $postID )
455
+ {
456
+ $thumb_id = get_post_thumbnail_id( $postID );
457
+ if ( ! empty( $thumb_id ) ) {
458
+ $size = ( $this->theSettings['imageSize'] === 'autoW' || $this->theSettings['imageSize'] === 'autoH' ) ? 'large' : $this->theSettings['imageSize'];
459
+ $imageInfo = wp_get_attachment_image_src( $thumb_id, $size );
460
+ $url = $imageInfo[0];
461
+ } else {
462
+ //$url = wp_mime_type_icon( $postID ); //default WP image
463
+ //$url = $this->PluginFolder . '/css/images/music-default-2.png';
464
+ $url = 'false';
465
+ }
466
+ return $url;
467
+ }
468
+
469
+
470
+ //###############
471
+ function getPostAttachedAudio ( $postID )
472
+ {
473
+ $O = $this->theSettings;
474
+
475
+ if ( 'title' === $O['library_sortcol'] ) {
476
+ $sortcol = 'title';
477
+ } else if ( 'date' === $O['library_sortcol'] ) {
478
+ $sortcol = 'post_date';
479
+ } else {
480
+ $sortcol = 'menu_order';
481
+ }
482
+
483
+ $args = array(
484
+ 'post_type' => 'attachment',
485
+ 'numberposts' => -1,
486
+ 'post_status' => 'any',
487
+ 'post_parent' => $postID,
488
+ 'orderby' => $sortcol,
489
+ 'order' => $O['library_direction']
490
+ );
491
+
492
+ $attachments = get_posts( $args );
493
+ $audio = array();
494
+
495
+ if ( $attachments ) {
496
+ foreach ( $attachments as $attachment ) {
497
+ if ( $this->isAllowedMimeType( $attachment->post_mime_type ) ) {
498
+ $audio[] = $attachment;
499
+ }
500
+ }
501
+ }
502
+ return ( ( ! empty($audio) && is_array($audio) ) ? $audio : false );
503
+ }
504
+
505
+
506
+ //###############
507
+ function isAllowedMimeType ( $mimeType )
508
+ {
509
+ return ( (stripos($mimeType, 'audio') === 0) ? true : false );
510
+ }
511
+
512
+
513
+ //#### Work out playlist for playlist players
514
+ function decide_M_playlist( $ATTS )
515
+ {
516
+ extract( $ATTS );
517
+
518
+ //TODO: do support this still
519
+ $this->folder_order = $fsort;
520
+
521
+ $TRACKS = $this->stringsToTracks( $tracks, $counterparts, $captions, $images, $imglinks );
522
+ if ( ! $TRACKS )
523
+ {
524
+ if ( $tracks != "" && $id == "" && $ids == "" ) { //if tracks was the specified param, then don't fallback
525
+ return false;
526
+ }
527
+ if ( $id == "" && $ids == "" && (is_home() || is_archive() || is_search()) && $this->Caller == "widget" ) { //dont allow widgets to try mode 1 on index pages
528
+ return false;
529
+ }
530
+
531
+ if ( $ids !== '' ) { //got media item id list (post ids)
532
+ $TRACKS = $this->IDsToTracks( $ids, $images );
533
+ if ( ! $TRACKS ) {
534
+ return false;
535
+ }
536
+ }
537
+ else {
538
+ //Try pick up fields either from another id or this post if id is empty. Do
539
+ //this before attachments for backwards compatibility!
540
+ $TRACKS = $this->customFieldsToTracks( $id );
541
+ if ( ! $TRACKS ) {
542
+ //Possible last resort - could look for attachments here too so that
543
+ //users using the [mp3-jplayer] name can also pick them up?..
544
+ //
545
+ //..Not for the mo, keeping it so that attachments must be in
546
+ // a pre-built param (either 'ids' or 'tracks') which is done by
547
+ // the ui-widget(mode 0) or replaceAudioShortcode handler.
548
+ return false;
549
+ }
550
+ }
551
+ }
552
+
553
+ if ( $pick != "" && $pick >= 1 ) {
554
+ $TRACKS = $this->pickTracks( $pick, $TRACKS );
555
+ }
556
+ if ( $shuffle && is_array( $TRACKS ) ) {
557
+ shuffle( $TRACKS );
558
+ }
559
+ return $TRACKS;
560
+ }
561
+
562
+
563
+ //#############
564
+ function replaceAudioShortcode ( $attr, $content = '' )
565
+ {
566
+ /* WP 4.0 [audio] shortcode attributes:
567
+ * ---
568
+ * @type string $src URL to the source of the audio file. Default empty.
569
+ * @type string $loop The 'loop' attribute for the `<audio>` element. Default empty.
570
+ * @type string $autoplay The 'autoplay' attribute for the `<audio>` element. Default empty.
571
+ * @type string $preload The 'preload' attribute for the `<audio>` element. Default empty.
572
+ * @type string $class The 'class' attribute for the `<audio>` element. Default 'wp-audio-shortcode'.
573
+ * @type string $id The 'id' attribute for the `<audio>` element. Default 'audio-{$post_id}-{$instances}'.
574
+ * @type string $style The 'style' attribute for the `<audio>` element. Default 'width: 100%'.
575
+ */
576
+
577
+ $ops = $this->theSettings;
578
+ $passToWP = true;
579
+ $url = '';
580
+ $i = 0;
581
+ $output = '';
582
+
583
+ if ( ! empty($attr['src']) ) //url text or embed shortcode
584
+ {
585
+ if ( $ops['replace_WP_embedded'] === 'true' ) {
586
+ $url = $attr['src'];
587
+ $passToWP = false;
588
+ }
589
+ }
590
+ else //direct audio shortcode
591
+ {
592
+ if ( $ops['replace_WP_audio'] === 'true' )
593
+ {
594
+ if ( ! empty($attr['mp3']) ) {
595
+ $url = $attr['mp3'];
596
+ $passToWP = false;
597
+ }
598
+ elseif ( ! empty($attr['mp4']) ) {
599
+ $url = $attr['mp4'];
600
+ $passToWP = false;
601
+ }
602
+ elseif ( ! empty($attr['m4a']) ) {
603
+ $url = $attr['m4a'];
604
+ $passToWP = false;
605
+ }
606
+ elseif ( ! empty($attr['ogg']) ) {
607
+ $url = $attr['ogg'];
608
+ $passToWP = false;
609
+ }
610
+ elseif ( ! empty($attr['oga']) ) {
611
+ $url = $attr['oga'];
612
+ $passToWP = false;
613
+ }
614
+ elseif ( ! empty($attr['wav']) ) {
615
+ $url = $attr['wav'];
616
+ $passToWP = false;
617
+ }
618
+ elseif ( ! empty($attr['webm']) ) {
619
+ $url = $attr['webm'];
620
+ $passToWP = false;
621
+ }
622
+ elseif ( ! empty($attr['track']) || ! empty($attr['tracks']) ) { //support user added 'track' param
623
+ $url = ( ! empty($attr['track']) ) ? $attr['track'] : $attr['tracks'];
624
+ $passToWP = false;
625
+ }
626
+ else {
627
+ //nothing specified - will fallback to attachments, then custom fields (it's ok to fallback to
628
+ //fields last as new users are unlikely to use them and old users may want the functionality).
629
+ }
630
+ }
631
+
632
+ if ( $url === '' && $ops['replace_WP_attached'] === 'true' )
633
+ {
634
+ global $post;
635
+ $attachments = $this->getPostAttachedAudio( $post->ID );
636
+
637
+ $images = '';
638
+ $ids = '';
639
+ if ( $attachments !== false ) {
640
+ $images = 'true';
641
+ foreach ( $attachments as $a ) {
642
+ $ids .= $a->ID . ',';
643
+ $i++;
644
+ }
645
+ }
646
+ $attr['ids'] = $ids;
647
+ if ( empty($attr['images']) || $attr['images'] !== 'false' ) {
648
+ $attr['images'] = $images;
649
+ }
650
+ $passToWP = false;
651
+ }
652
+ }
653
+
654
+ if ( $passToWP ) { //bailout
655
+ $output = $content;
656
+ if ( function_exists('wp_audio_shortcode') ) { //let WP process it
657
+ $output = wp_audio_shortcode( $attr, $content );
658
+ }
659
+ return $output;
660
+ }
661
+
662
+ //alias the params
663
+ $attr['track'] = $url;
664
+ $attr['loop'] = ( empty($attr['loop']) ) ? 'n' : 'y';
665
+ $attr['autoplay'] = ( empty($attr['autoplay']) ) ? 'n' : 'y';
666
+ $attr['text'] = ( ! empty($attr['title']) && empty($attr['text']) ) ? $attr['title'] : ( empty($attr['text']) ? '' : $attr['text'] ); //popout link text
667
+
668
+ //process it
669
+ $ops = $this->theSettings;
670
+ if ( $i > 1 )
671
+ {
672
+ $output = ( $ops['replacerShortcode_playlist'] === 'player' ) ? $this->primary_player( $attr, $content ) : $this->popout_link_player( $attr, $content );
673
+ }
674
+ else
675
+ {
676
+ if ( $ops['replacerShortcode_single'] === 'mp3j' ) {
677
+ $output = $this->inline_play_graphic( $attr, $content );
678
+ }
679
+ elseif ( $ops['replacerShortcode_single'] === 'mp3t' ) {
680
+ $output = $this->inline_play_handler( $attr, $content );
681
+ }
682
+ elseif ( $ops['replacerShortcode_single'] === 'popout' ) {
683
+ $output = $this->popout_link_player( $attr, $content );
684
+ }
685
+ else {
686
+ $output = $this->primary_player( $attr, $content );
687
+ }
688
+ }
689
+ //return ( $i > 1 ? $this->primary_player( $attr, $content ) : $this->inline_play_graphic( $attr ) );
690
+ return $output;
691
+ }
692
+
693
+
694
+ //##############
695
+ function replacePlaylistShortcode ( $attr, $content = '' )
696
+ {
697
+ /* WP 4.0 [playlist] shortcode attributes:
698
+ * ---
699
+ * @type string $type Type of playlist to display. Accepts 'audio' or 'video'. Default 'audio'.
700
+ * @type string $order Designates ascending or descending order of items in the playlist.
701
+ * Accepts 'ASC', 'DESC', or 'RAND'. Default 'ASC'.
702
+ * @type string $orderby Any column, or columns, to sort the playlist. If $ids are
703
+ * passed, this defaults to the order of the $ids array ('post__in').
704
+ * Otherwise default is 'menu_order ID'.
705
+ * @type int $id If an explicit $ids array is not present, this parameter
706
+ * will determine which attachments are used for the playlist.
707
+ * Default is the current post ID.
708
+ * @type array $ids Create a playlist out of these explicit attachment IDs. If empty,
709
+ * a playlist will be created from all $type attachments of $id.
710
+ * Default empty.
711
+ * @type array $exclude List of specific attachment IDs to exclude from the playlist. Default empty.
712
+ * @type string $style Playlist style to use. Accepts 'light' or 'dark'. Default 'light'.
713
+ * @type bool $tracklist Whether to show or hide the playlist. Default true.
714
+ * @type bool $tracknumbers Whether to show or hide the numbers next to entries in the playlist. Default true.
715
+ * @type bool $images Show or hide the video or audio thumbnail (Featured Image/post
716
+ * thumbnail). Default true.
717
+ * @type bool $artists Whether to show or hide artist name in the playlist. Default true.
718
+ */
719
+
720
+ if ( isset($attr['type']) && 'video' === $attr['type'] ) //bailout
721
+ {
722
+ $output = $content;
723
+ if ( function_exists('wp_playlist_shortcode') ) //let WP process video
724
+ {
725
+ $output = wp_playlist_shortcode( $attr );
726
+ }
727
+ return $output;
728
+ }
729
+
730
+ //alias the params
731
+ if ( ! isset( $attr['list'] ) ) {
732
+ $attr['list'] = ( isset($attr['tracklist']) && $attr['tracklist'] === 'false' ) ? 'n' : 'y';
733
+ }
734
+ if ( ! isset( $attr['captions'] ) ) {
735
+ $attr['captions'] = ( isset($attr['artists']) && $attr['artists'] === 'false' ) ? false : '';
736
+ }
737
+ //$attr['images'] = ( isset($attr['images']) && $attr['images'] === 'false' ) ? '' : 'true';
738
+ $attr['images'] = ( !isset($attr['images']) ) ? 'true' : $attr['images'];
739
+ $attr['text'] = ( ! empty($attr['title']) && empty($attr['text']) ) ? $attr['title'] : ( empty($attr['text']) ? '' : $attr['text'] ); //popout link text
740
+
741
+ //process it
742
+ $ops = $this->theSettings;
743
+ return ( $ops['replacerShortcode_playlist'] === 'player' ? $this->primary_player( $attr, $content ) : $this->popout_link_player( $attr, $content ) );
744
+ }
745
+
746
+
747
+ //##### Handles [mp3-jplayer] playlist player shortcodes
748
+ function primary_player ( $atts, $content = null )
749
+ {
750
+ //Bailout
751
+ $this->dbug['str'] .= "\n### Checking [mp3-jplayer]...";
752
+ if ( ! $this->canRun() ) {
753
+ return;
754
+ }
755
+
756
+
757
+ $O = $this->theSettings;
758
+ $pID = $this->Player_ID;
759
+ $ATTS = shortcode_atts( array( // Defaults
760
+ 'tracks' => '',
761
+ 'track' => '',
762
+ 'captions' => '',
763
+ 'dload' => $O['show_downloadmp3'],
764
+ 'title' => '',
765
+ 'list' => $O['playlist_show'],
766
+ 'pn' => 'y',
767
+ 'width' => '',
768
+ 'pos' => $O['player_float'],
769
+ 'stop' => 'y',
770
+ 'shuffle' => false,
771
+ 'pick' => '',
772
+ 'id' => '',
773
+ 'loop' => $O['playlist_repeat'],
774
+ 'autoplay' => $O['auto_play'],
775
+ 'vol' => $O['initial_vol'],
776
+ 'height' => $O['playerHeight'],
777
+ 'fsort' => 'asc',
778
+ 'style' => '',
779
+ 'images' => 'true',
780
+ 'imglinks' => '',
781
+ 'imagesize' => $O['imageSize'],
782
+ 'ids' => '',
783
+ 'counterparts' => '',
784
+ 'counterpart' => '',
785
+ 'font_size_1' => $O['colour_settings']['font_size_1'],
786
+ 'font_size_2' => $O['colour_settings']['font_size_2'],
787
+ 'font_family_1' => $O['colour_settings']['font_family_1'],
788
+ 'font_family_2' => $O['colour_settings']['font_family_2'],
789
+ 'titlealign' => $O['colour_settings']['titleAlign'],
790
+ 'titleoffset' => $O['colour_settings']['titleOffset'],
791
+ 'titleoffsetr' => $O['colour_settings']['titleOffsetR'],
792
+ 'titlebold' => $O['colour_settings']['titleBold'],
793
+ 'titleitalic' => $O['colour_settings']['titleItalic'],
794
+ 'captionbold' => $O['colour_settings']['captionBold'],
795
+ 'captionitalic' => $O['colour_settings']['captionItalic'],
796
+ 'listbold' => $O['colour_settings']['listBold'],
797
+ 'listitalic' => $O['colour_settings']['listItalic'],
798
+ 'listalign' => $O['colour_settings']['listAlign'],
799
+ 'imagealign' => $O['colour_settings']['imageAlign'],
800
+ 'imgoverflow' => $O['colour_settings']['imgOverflow'],
801
+ 'titletop' => $O['colour_settings']['titleTop'],
802
+ 'titlecol' => '',
803
+ 'fontsize' => '',
804
+ 'pptext' => $this->theSettings['popout_button_title']
805
+ ), $atts );
806
+
807
+
808
+ //Alias params
809
+ if ( $ATTS['tracks'] == '' && $ATTS['track'] != '' ) {
810
+ $ATTS['tracks'] = $ATTS['track'];
811
+ }
812
+ if ( $ATTS['counterparts'] == '' && $ATTS['counterpart'] != '' ) {
813
+ $ATTS['counterparts'] = $ATTS['counterpart'];
814
+ }
815
+ $ATTS['userClasses'] = $O['colour_settings']['userClasses'] . ' ' . $ATTS['style'];
816
+
817
+
818
+ //Try build a playlist
819
+ $TRACKS = $this->decide_M_playlist( $ATTS );
820
+ if ( !$TRACKS ) {
821
+ $this->dbug['str'] .= "\nExiting (no tracks here)";
822
+ return;
823
+ }
824
+ $ATTS['trackCount'] = count( $TRACKS );
825
+
826
+ //Make js list
827
+ $PlayerName = "MI_" . $this->M_no;
828
+ $listJS = $this->writePlaylistJS( $TRACKS, $PlayerName );
829
+
830
+ //Make settings..
831
+ $trnum = 0;
832
+ $pp_height = (int)$ATTS['height'];
833
+ $pp_height = ( empty($pp_height) || $pp_height === 0 ) ? 'false' : $pp_height;
834
+ //$play = "#USE_G#";
835
+ $pp_title = ( $ATTS['title'] == "" ) ? get_bloginfo('name') : $ATTS['title'] . " | " . get_bloginfo('name');
836
+ $pp_title = str_replace("'", "\'", $pp_title);
837
+ $pp_title = str_replace("&#039;", "\'", $pp_title);
838
+ $ATTS['list'] = ( $ATTS['list'] == "true" || $ATTS['list'] == "y" || $ATTS['list'] == "1" ) ? "true" : "false";
839
+
840
+ if ( $ATTS['dload'] == "true" || $ATTS['dload'] == "y" || $ATTS['dload'] == "1" ) {
841
+ $dload_info = "true";
842
+ $ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI\"></div>";
843
+ } elseif ( $ATTS['dload'] == "loggedin" ) {
844
+ if ( is_user_logged_in() ) {
845
+ $dload_info = "true";
846
+ $ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI\"></div>";
847
+ } else {
848
+ $dload_info = "false";
849
+ if ( $O['loggedout_dload_text'] == "" ) {
850
+ $ATTS['dload_html'] = "";
851
+ } else {
852
+ if ( $O['loggedout_dload_link'] != "" ) {
853
+ $ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI whilelinks\"><a href=\"" . $O['loggedout_dload_link'] . "\">" . $O['loggedout_dload_text'] . "</a></div>";
854
+ } else {
855
+ $ATTS['dload_html'] = "<div id=\"download_mp3j_" . $pID . "\" class=\"dloadmp3-MI logintext\"><p>" . $O['loggedout_dload_text'] . "</p></div>";
856
+ }
857
+ }
858
+ }
859
+ } else {
860
+ $dload_info = "false";
861
+ $ATTS['dload_html'] = "";
862
+ }
863
+
864
+ $ATTS['autoplay'] = ( $ATTS['autoplay'] == "true" || $ATTS['autoplay'] == "y" || $ATTS['autoplay'] == "1" ) ? "true" : "false";
865
+ $ATTS['loop'] = ( $ATTS['loop'] == "true" || $ATTS['loop'] == "y" || $ATTS['loop'] == "1" ) ? "true" : "false";
866
+
867
+
868
+ //Make transport buttons
869
+ $ATTS['prevnext'] = ( $ATTS['trackCount'] > 1 && $ATTS['pn'] == "y" ) ? "<div class=\"next-mjp\" id=\"Next_mp3j_" . $pID . "\">Next&raquo;</div><div class=\"prev-mjp\" id=\"Prev_mp3j_" . $pID . "\">&laquo;Prev</div>" : "";
870
+ $ATTS['play_h'] = "<div class=\"play-mjp\" id=\"playpause_mp3j_" . $pID . "\">Play</div>";
871
+ $ATTS['stop_h'] = ( $ATTS['stop'] == "y" ) ? "<div class=\"stop-mjp\" id=\"stop_mp3j_" . $pID . "\">Stop</div>" : "";
872
+
873
+ //Build player html
874
+ $ATTS['width'] = ( $this->Caller && $ATTS['width'] == "" ) ? "100%" : $ATTS['width']; //set a default width when called by tag/sc-widget and it wasn't specified
875
+ $player = $this->drawPlaylistPlayer( $ATTS );
876
+
877
+ //js player info
878
+ $popoutcss = ( $this->setup['cssPopout'] === true ) ? "{ enabled:true, " .$player['js']. "}" : "{ enabled:false, " .$player['js']. "}";
879
+ //$playerInfo = "{ list:MP3jPLAYLISTS." .$PlayerName. ", tr:" .$trnum. ", type:'MI', lstate:" .$ATTS['list']. ", loop:" .$ATTS['loop']. ", play_txt:'Play', pause_txt:'Pause', pp_title:'" .$pp_title. "', autoplay:" .$ATTS['autoplay']. ", download:" .$dload_info. ", vol:" .$ATTS['vol']. ", height:" .$pp_height. ", cssclass:'" .$ATTS['userClasses']. "', popout_css:{" .$player['js']. "} }";
880
+ $playerInfo = "{ list:MP3jPLAYLISTS." .$PlayerName. ", tr:" .$trnum. ", type:'MI', lstate:" .$ATTS['list']. ", loop:" .$ATTS['loop']. ", play_txt:'Play', pause_txt:'Pause', pp_title:'" .$pp_title. "', autoplay:" .$ATTS['autoplay']. ", download:" .$dload_info. ", vol:" .$ATTS['vol']. ", height:" .$pp_height. ", cssclass:'" .$ATTS['userClasses']. "', popout_css:" .$popoutcss. " }";
881
+ //$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>\n\n";
882
+ $playerJS = "<script>MP3jPLAYERS[" .$pID. "] = " . $playerInfo . ";</script>\n\n";
883
+
884
+
885
+ //Finish up
886
+ $this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
887
+ $this->M_no++;
888
+ $this->Player_ID++;
889
+
890
+ return $player['html'] . $listJS . $playerJS;
891
+ }
892
+
893
+
894
+ /* Handles [mp3-popout] shortcode
895
+ link to popout player. */
896
+ function popout_link_player ( $atts, $content = null )
897
+ {
898
+ //bailout conditions
899
+ $this->dbug['str'] .= "\n### Checking [mp3-popout]...";
900
+ if ( ! $this->canRun() ) {
901
+ return;
902
+ }
903
+
904
+ $O = $this->theSettings;
905
+ $pID = $this->Player_ID;
906
+ $ATTS = shortcode_atts( array( // Defaults
907
+ 'tracks' => '',
908
+ 'track' => '',
909
+ 'captions' => '',
910
+ 'dload' => $this->theSettings['show_downloadmp3'],
911
+ 'title' => '',
912
+ 'text' => $this->theSettings['popout_button_title'],
913
+ 'stop' => 'y',
914
+ 'pn' => 'y',
915
+ 'list' => $this->theSettings['playlist_show'],
916
+ 'width' => '',
917
+ 'pos' => $this->theSettings['player_float'],
918
+ 'shuffle' => false,
919
+ 'pick' => '',
920
+ 'id' => '',
921
+ 'loop' => $this->theSettings['playlist_repeat'],
922
+ 'autoplay' => $this->theSettings['auto_play'],
923
+ 'vol' => $this->theSettings['initial_vol'],
924
+ 'height' => $this->theSettings['playerHeight'],
925
+ 'tag' => 'p',
926
+ 'image' => '',
927
+ 'fsort' => 'asc',
928
+ 'style' => '',
929
+ 'images' => 'true',
930
+ 'imagesize' => $O['imageSize'],
931
+ 'imglinks' => '',
932
+ 'ids' => '',
933
+ 'counterparts' => '',
934
+ 'counterpart' => '',
935
+ 'font_size_1' => $O['colour_settings']['font_size_1'],
936
+ 'font_size_2' => $O['colour_settings']['font_size_2'],
937
+ 'font_family_1' => $O['colour_settings']['font_family_1'],
938
+ 'font_family_2' => $O['colour_settings']['font_family_2'],
939
+ 'titlealign' => $O['colour_settings']['titleAlign'],
940
+ 'titleoffset' => $O['colour_settings']['titleOffset'],
941
+ 'titleoffsetr' => $O['colour_settings']['titleOffsetR'],
942
+ 'titlebold' => $O['colour_settings']['titleBold'],
943
+ 'titleitalic' => $O['colour_settings']['titleItalic'],
944
+ 'captionbold' => $O['colour_settings']['captionBold'],
945
+ 'captionitalic' => $O['colour_settings']['captionItalic'],
946
+ 'listbold' => $O['colour_settings']['listBold'],
947
+ 'listitalic' => $O['colour_settings']['listItalic'],
948
+ 'listalign' => $O['colour_settings']['listAlign'],
949
+ 'imagealign' => $O['colour_settings']['imageAlign'],
950
+ 'imgoverflow' => $O['colour_settings']['imgOverflow'],
951
+ 'titletop' => $O['colour_settings']['titleTop'],
952
+ 'titlecol' => '',
953
+ 'fontsize' => ''
954
+ ), $atts );
955
+
956
+ //Alias some params
957
+ if ( $ATTS['tracks'] == '' && $ATTS['track'] != '' ) {
958
+ $ATTS['tracks'] = $ATTS['track'];
959
+ }
960
+ if ( $ATTS['counterparts'] == '' && $ATTS['counterpart'] != '' ) {
961
+ $ATTS['counterparts'] = $ATTS['counterpart'];
962
+ }
963
+ $ATTS['userClasses'] = $O['colour_settings']['userClasses'] . ' ' . $ATTS['style'];
964
+
965
+ $ATTS['pptext'] = $ATTS['text'];
966
+
967
+ //Try build a playlist
968
+ $TRACKS = $this->decide_M_playlist( $ATTS );
969
+ if ( !$TRACKS ) {
970
+ $this->dbug['str'] .= "\nExiting (no tracks here)";
971
+ return;
972
+ }
973
+ //$trackCount = count( $TRACKS );
974
+ $ATTS['trackCount'] = count( $TRACKS );
975
+
976
+ extract( $ATTS );
977
+ //$ATTS['cssclass'] = $ATTS['style'];
978
+
979
+ //Make js list
980
+ $PlayerName = "popout_" . $this->M_no;
981
+ $listJS = $this->writePlaylistJS( $TRACKS, $PlayerName );
982
+
983
+ //Make settings..
984
+ //$ATTS['cssclass'] = ( $ATTS['cssclass'] == "" ) ? "wrap-mjp" : $ATTS['cssclass'];
985
+ $pp_height = (int)$height;
986
+ $pp_height = ( empty($pp_height) || $pp_height === 0 ) ? 'false' : $pp_height;
987
+ //$play = "#USE_G#";
988
+ $pp_title = ( $title == "" ) ? get_bloginfo('name') : $title;
989
+ $pp_title = str_replace("'", "\'", $pp_title);
990
+ $pp_title = str_replace("&#039;", "\'", $pp_title);
991
+ $list = ( $list == "true" || $list == "y" || $list == "1" ) ? "true" : "false";
992
+ $dload_info = ( $dload == "true" || $dload == "y" || $dload == "1" ) ? "true" : "false";
993
+ $autoplay = ( $autoplay == "true" || $autoplay == "y" || $autoplay == "1" ) ? "true" : "false";
994
+ $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
995
+
996
+
997
+ //Make player
998
+ //$image_h = ( $image == "" ) ? "<div class=\"mp3j-popout-link\"></div>" : "<img class=\"mp3j-popout-link-image\" src=\"" . $image . "\" />";
999
+ //$player = '<div class="mp3j-popout-link-wrap unsel-mjp" id="mp3j_popout_' . $pID . '">' . $image_h . '<'.$tag.'>' . $text . '</'.$tag.'></div>';
1000
+ $image_h = ( $image === "" ) ? '<div class="popout-image-mjp"></div>' : '<img class="popout-image-mjp-custom" src="' . $image . '" />';
1001
+ $text_h = ( $text !== "" ) ? '<div class="popout-text-mjp"><'.$tag.'>' . $text . '</'.$tag.'></div>' : '';
1002
+
1003
+ $player = '<div class="popout-wrap-mjp unsel-mjp" id="mp3j_popout_' . $pID . '">';
1004
+ $player .= $image_h . $text_h;
1005
+ //$player .= '<br class="clearL-mjp">';
1006
+ $player .= '</div>';
1007
+
1008
+
1009
+ ////
1010
+ $output = $this->drawPlaylistPlayer( $ATTS, true );
1011
+ //js player info
1012
+ $popoutcss = ( $this->setup['cssPopout'] === true ) ? "{ enabled:true, " .$output['js']. "}" : "{ enabled:false, " .$output['js']. "}";
1013
+ //$playerInfo = "{ list: MP3jPLAYLISTS." . $PlayerName . ", tr:0, type:'popout', lstate:" . $list . ", loop:" . $loop . ", play_txt:'Play', pause_txt:'Pause', pp_title:'" . $pp_title . "', autoplay:" . $autoplay . ", download:" . $dload_info . ", vol:" . $vol . ", height:" . $pp_height . ", cssclass: '" . $ATTS['userClasses'] . "', popout_css:{" .$output['js']. "} }";
1014
+ $playerInfo = "{ list: MP3jPLAYLISTS." . $PlayerName . ", tr:0, type:'popout', lstate:" . $list . ", loop:" . $loop . ", play_txt:'Play', pause_txt:'Pause', pp_title:'" . $pp_title . "', autoplay:" . $autoplay . ", download:" . $dload_info . ", vol:" . $vol . ", height:" . $pp_height . ", cssclass: '" . $ATTS['userClasses'] . "', popout_css:" .$popoutcss. " }";
1015
+ //$playerJS = "<script>MP3jPLAYERS.push(" . $playerInfo . ");</script>\n\n";
1016
+ $playerJS = "<script>MP3jPLAYERS[" .$pID. "] = " . $playerInfo . ";</script>\n\n";
1017
+
1018
+
1019
+
1020
+
1021
+ //Finish up
1022
+ $this->dbug['str'] .= "\nOK (id " . $this->Player_ID . ")";
1023
+ $this->M_no++;
1024
+ $this->Player_ID++;
1025
+
1026
+ return $player . $listJS . $playerJS;
1027
+ }
1028
+
1029
+
1030
+ //###########################
1031
+ function template_tag_handler( $stuff = "" ) {
1032
+ //if ( $this->theSettings['disable_template_tag'] == "true" ) {
1033
+ // return;
1034
+ //}
1035
+ if ( !empty($stuff) ) {
1036
+ $this->checkGrabFields(); //for singles
1037
+ $this->Caller = "tag";
1038
+ $players = do_shortcode( $stuff );
1039
+ $this->Caller = false;
1040
+ echo $players;
1041
+ }
1042
+ return;
1043
+ }
1044
+
1045
+
1046
+ //###########################
1047
+ function checkGrabFields ()
1048
+ {
1049
+ global $post;
1050
+ if ( $post->ID != "" && $post->ID != $this->postID )
1051
+ {
1052
+ $this->postID = $post->ID;
1053
+ $this->F_listname = false;
1054
+ $this->F_listlength = false;
1055
+ $this->S_autotrack = 0;
1056
+ $this->dbug['str'] .= "\nLooking in custom fields on post id " . $this->postID . " - ";
1057
+
1058
+ $TRACKS = $this->customFieldsToTracks( $post->ID );
1059
+ if ( $TRACKS ) {
1060
+ $count = count( $TRACKS );
1061
+ $this->F_listname = "fields_" . $this->F_no++;
1062
+ echo $this->writePlaylistJS( $TRACKS, $this->F_listname );
1063
+ $this->F_listlength = $count;
1064
+ $this->F_LISTS[ $this->F_listname ] = $TRACKS;
1065
+ $this->dbug['str'] .= "\nDone, " . $this->F_listlength . " track(s) found.";
1066
+ }
1067
+ }
1068
+ return $this->F_listname;
1069
+ }
1070
+
1071
+ }} // Close class, close if.
1072
  ?>
js/admin/admin-colours.js CHANGED
@@ -1,536 +1,536 @@
1
- /**
2
- * Admin Colours Page JS
3
- * MP3-jPlayer 2.0
4
- */
5
-
6
- var MP3jP = {
7
-
8
-
9
- /** Tabs */
10
- openTab: 0,
11
- addTabListener: function ( j ) {
12
- jQuery('#mp3j_tabbutton_' + j).click( function (e) {
13
- MP3jP.changeTab( j );
14
- });
15
- },
16
- changeTab: function ( j ) {
17
- if ( j !== this.openTab ) {
18
- if ( this.pickID !== false ) { //clear active picking
19
- this.clickPlus( this.pickID );
20
- }
21
- jQuery('#mp3j_tab_' + this.openTab).hide();
22
- jQuery('#mp3j_tabbutton_' + this.openTab).removeClass('active-tab');
23
- jQuery('#mp3j_tab_' + j).show();
24
- jQuery('#mp3j_tabbutton_' + j).addClass('active-tab');
25
- this.openTab = j;
26
- }
27
- },
28
-
29
-
30
- extCalls: {
31
- init: [],
32
- update_colour: []
33
- },
34
- runExternals: function ( hookname, data ) {
35
- var l = this.extCalls[ hookname ].length;
36
- for ( var x = 0; x < l; x += 1 ) {
37
- ( this.extCalls[ hookname ][ x ] )( data );
38
- }
39
- },
40
-
41
-
42
- /** Colour Picking */
43
- pickID: false,
44
- CSSprop: false,
45
- partID: false,
46
- clickPatch: function ( ID, handle ) {
47
- var colour = jQuery('#'+ID).val();
48
- this.setPicker( colour, handle );
49
- if ( this.pickID !== ID ) {
50
- this.updateColours( colour, this.pickID );
51
- }
52
- },
53
- setPicker: function ( colour, handle ) {
54
- if ( colour !== 'transparent' && colour !== 'inherit' ) {
55
- jQuery( '#spectrumPicker' + handle ).spectrum( "set", colour );
56
- }
57
- },
58
- clickMinus: function ( ID, property, partID ) {
59
- var value = ( 'color' === property ) ? 'inherit' : 'transparent';
60
- jQuery('#'+ID).val( value ); //field
61
- jQuery('#patch'+ID).css({ 'background-color' : 'transparent' }); //patch
62
- var style = {};
63
- style[ property ] = value;
64
- jQuery('#player' + partID).css( style ); //player
65
- },
66
- clickPlus: function ( ID, property, partID ) {
67
- if ( ID === this.pickID ) {
68
- jQuery( '#plus' + this.pickID ).removeClass('activePicker');
69
- this.pickID = false;
70
- this.CSSprop = false;
71
- this.partID = false;
72
- } else {
73
- if ( this.pickID !== false ) {
74
- jQuery( '#plus' + this.pickID ).removeClass('activePicker');
75
- }
76
- var handle = ( this.openTab === 1 ) ? 'Alpha' : '';
77
- var colour = jQuery('#'+ID).val();
78
- this.setPicker( colour, handle );
79
-
80
- jQuery( '#plus' + ID).addClass('activePicker');
81
- this.pickID = ID;
82
- this.CSSprop = property;
83
- if ( typeof partID !== 'undefined' ) {
84
- this.partID = partID;
85
- }
86
- }
87
- },
88
- updateColours: function ( colour, pickID ) {
89
- if ( pickID !== false ) {
90
- jQuery( '#' + pickID ).val( colour ); //field
91
- jQuery('#patch' + pickID ).css({ 'background-color': colour }); //patch
92
- var partid = ( this.partID === false ) ? pickID : this.partID;
93
- var style = {};
94
- style[this.CSSprop] = colour;
95
- jQuery('#player' + partid ).css( style ); //player
96
- this.runExternals( 'update_colour', { pickID: pickID, colour: colour, partID: this.partID } );
97
- }
98
- },
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
- /** stylesheet */
110
- stylesheetControls: function () {
111
- jQuery('#player-select').on('change', function ( e ) {
112
- var value = jQuery( this ).val();
113
- var url = '';
114
-
115
- MP3jP.showhideCustomCSS( value );
116
-
117
- if ( value === "styleI" ) {
118
- jQuery('#mp3fcss').removeClass('quietInput');
119
- jQuery('#player-csssheet, #reload_stylesheet_button').removeClass('quietText');
120
- //url = styleI;
121
-
122
- } else {
123
- jQuery('#mp3fcss').addClass('quietInput');
124
- jQuery('#player-csssheet, #reload_stylesheet_button').addClass('quietText');
125
- //if ( value === "styleF" ) { url = styleF; }
126
- //if ( value === "styleG" ) { url = styleG; }
127
- //if ( value === "styleH" ) { url = styleH; }
128
- }
129
- url = SKINDATA[ value ];
130
- MP3jP.reload_stylesheet( url );
131
- });
132
- jQuery('#reload_stylesheet_button').click( function ( e ) {
133
- var field_val = jQuery('#mp3fcss').val();
134
- var select_val = jQuery('#player-select').val();
135
- if ( field_val !== MP3J_THEME_PATH && select_val === 'styleI' ) {
136
- MP3jP.reload_stylesheet( field_val );
137
- }
138
- });
139
- jQuery('#mp3fcss').on('keyup', function ( e ) {
140
- styleI = jQuery( this ).val();
141
- });
142
- },
143
- reload_stylesheet: function ( url ) {
144
- jQuery( 'link[rel=stylesheet][href~="' + MP3J_THEME_PATH + '"]' ).remove();
145
- jQuery( 'head' ).append( '<link rel="stylesheet" type="text/css" href="' + url + '" />' );
146
- MP3J_THEME_PATH = url;
147
- },
148
- showhideCustomCSS: function ( value ) {
149
- if ( value === "styleI" ) {
150
- jQuery( '#customCSSrow' ).fadeIn( 400 );
151
- } else {
152
- jQuery( '#customCSSrow' ).fadeOut( 400 );
153
- }
154
- },
155
-
156
- /** fonts */
157
- families: {
158
- arial: 'Arial, "Helvetica Neue", Helvetica, sans-serif',
159
- verdana: 'Verdana, Geneva, sans-serif',
160
- times: 'TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif',
161
- palatino: 'Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif',
162
- lucida: '"Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace',
163
- courier: '"Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace',
164
- gill: '"Gill Sans", "Gill Sans MT", Calibri, sans-serif',
165
- theme: 'inherit'
166
- },
167
- initFontSlider: function ( j ) {
168
- var val = jQuery('#font_size_' + j).val();
169
- jQuery( '#fontSlider_' + j ).slider({
170
- value : val,
171
- max: 70,
172
- min: 8,
173
- range: 'min',
174
- animate: false,
175
- slide: function (event, ui) {
176
- jQuery('#font_size_' + j).val( ui.value );
177
- MP3jP.setFontSize( j, ui.value );
178
- }
179
- });
180
- this.setFontSize( j, val );
181
- },
182
- setFontSize: function ( j, val ) {
183
- if ( val !== 'auto' ) {
184
- if ( j == 1 ) {
185
- jQuery('#trackTitles').css({ 'font-size' : val + 'px' });
186
- jQuery('#trackTitles div').css({ 'font-size' : (val*0.7) + 'px' });
187
- }
188
- if ( j == 2 ) {
189
- jQuery('a.a-mjp').css({ 'font-size' : val + 'px' });
190
- }
191
- } else {
192
- if ( j == 1 ) {
193
- jQuery('#trackTitles').css({ 'font-size' : '100%' });
194
- jQuery('#trackTitles div').css({ 'font-size' : '85%' });
195
- }
196
- if ( j == 2 ) {
197
- jQuery('a.a-mjp').css({ 'font-size' : '100%' });
198
- }
199
-
200
- }
201
- },
202
- setFontFamily: function ( j, selector ) {
203
- var selected = jQuery('#font_family_' + j).val();
204
- jQuery( selector ).css({ 'font-family': MP3jP.families[ selected ] });
205
- },
206
- fontCheckers: function ( ID, selector, onClass, offClass ) {
207
- var ext = '-mjp';
208
- var isChecked = jQuery( ID ).prop('checked');
209
- console.log(isChecked);
210
- if ( isChecked ) {
211
- jQuery( selector ).removeClass( offClass + ext ).addClass( onClass + ext );
212
- jQuery( ID + '_label').addClass('formatOn');
213
- } else {
214
- jQuery( selector ).removeClass( onClass + ext ).addClass( offClass + ext );
215
- jQuery( ID + '_label').removeClass('formatOn');
216
- }
217
- },
218
-
219
-
220
- /** selects */
221
- dividersSelect: function () {
222
- jQuery('#list_divider').on('change', function ( e ) {
223
- var value = jQuery(this).val();
224
- jQuery('.ul-mjp').removeClass('light-mjp med-mjp dark-mjp');
225
- if ( 'none' !== value ) {
226
- jQuery('.ul-mjp').addClass( value + '-mjp' );
227
- }
228
- });
229
- },
230
- listgradSelect: function () {
231
- jQuery('#playlist_tint').on('change', function ( e ) {
232
- var value = jQuery(this).val();
233
- jQuery('.ul-mjp').removeClass('lighten1-mjp darken1-mjp lighten2-mjp darken2-mjp');
234
- if ( 'none' !== value ) {
235
- jQuery('.ul-mjp').addClass( value + '-mjp' );
236
- }
237
- });
238
- },
239
- posgradSelect: function () {
240
- jQuery('#posbar_tint').on('change', function ( e ) {
241
- var value = jQuery(this).val();
242
- jQuery('.poscolMI_mp3j').removeClass('soften-mjp softenT-mjp darken-mjp');
243
- if ( 'none' !== value ) {
244
- jQuery('.poscolMI_mp3j').addClass( value + '-mjp' );
245
- }
246
- });
247
- },
248
- alignmentSelect: function ( ID, partID ) {
249
- jQuery( ID ).on('change', function ( e ) {
250
- var value = jQuery(this).val();
251
- jQuery( partID ).removeClass('left-mjp centre-mjp right-mjp').addClass( value + '-mjp' );;
252
- });
253
- },
254
-
255
-
256
- /** test image */
257
- imageControls: function () {
258
- jQuery('#adminCheckerIMG').on('change', function ( e ) {
259
- jQuery('#image-mjp').empty();
260
- if ( jQuery( this ).is(':checked') ) {
261
- MP3jP.updateTestImg();
262
- }
263
- });
264
- jQuery('#reloadIMG').click( function ( e ) {
265
- jQuery('#image-mjp').empty();
266
- jQuery('#adminCheckerIMG').prop( 'checked', true );
267
- MP3jP.updateTestImg();
268
- });
269
- if ( jQuery('#adminCheckerIMG').is(':checked') ) {
270
- this.updateTestImg();
271
- }
272
- },
273
- updateTestImg: function () {
274
- var url = jQuery('#adminIMG').val();
275
- if ( url !== '' ) {
276
- jQuery('#image-mjp').append('<img id="i-mjp" src="' + url + '"/>');
277
- }
278
- },
279
-
280
-
281
- /** offset sliders */
282
- offsetSlider: function ( sliderID, fieldID, partID, HV ) {
283
- var max = 500;
284
- var field1 = jQuery(fieldID + '1').val().replace( /px|%/, '');
285
- var field2 = max - (this.toInt( jQuery(fieldID + '2').val().replace( /px|%/, '') ));
286
- var orientation = ( HV === 'V' ) ? 'vertical' : 'horizontal';
287
- jQuery( sliderID ).slider({
288
- values : [field1, field2],
289
- max: max,
290
- min: 0,
291
- orientation: orientation,
292
- range: true,
293
- animate: false,
294
- slide: function ( event, ui ) {
295
- var j = jQuery(ui.handle).index();
296
- var fieldCurrent = jQuery( fieldID + j ).val();
297
- var fieldInt = ( j == 2 ) ? max - ui.values[(j-1)] : ui.values[(j-1)]; //ui handles are indexed from 1, but values from 0!
298
- var fieldNew = fieldCurrent.replace( /[0-9]+/, fieldInt );
299
- jQuery( fieldID + j ).val( fieldNew );
300
- var style = {};
301
- var prop = ( j == 1 ) ? ( HV=='V' ? 'height':'left' ) : ( HV=='V' ? 'bottom':'right' );
302
- style[ prop ] = fieldNew;
303
- jQuery( partID ).css( style );
304
- }
305
- });
306
- },
307
-
308
-
309
- vSlider: function ( sliderID, fieldID, partID, property ) {
310
- var max = 250;
311
- var field = jQuery( fieldID ).val().replace( /px|%/, '');
312
- jQuery( sliderID ).slider({
313
- value: field,
314
- max: max,
315
- min: 0,
316
- range: 'min',
317
- //orientation: 'vertical',
318
- slide: function ( event, ui ) {
319
- var fieldCurrent = jQuery( fieldID ).val();
320
- var fieldInt = ui.value;
321
- var fieldNew = fieldCurrent.replace( /[0-9]+/, fieldInt );
322
- jQuery( fieldID).val( fieldNew );
323
- var style = {};
324
- if ( fieldID === '#barsOffsetVT' ) { //choose top or height
325
- property = jQuery('input[name=barsTopOrHeight]:checked').val();
326
- console.log(property);
327
- if ( 'top' === property ) {
328
- jQuery('#bars-mjp').css({ 'height': 'auto' });
329
- } else {
330
- jQuery('#bars-mjp').css({ 'top': 'auto' });
331
- }
332
- }
333
- if ( fieldID === '#playerHeight' ) {
334
- var ph = jQuery('#imageSize').val();
335
- if ( 'autoW' === ph || 'autoH' === ph || 'full' === ph ) {
336
- var h = jQuery( fieldID ).val();
337
- jQuery('#playerT1').css({ 'height' : h });
338
- jQuery('#image-mjp').css({ 'height' : h });
339
- }
340
- }
341
- style[ property ] = fieldNew;
342
- jQuery( partID ).css( style );
343
- }
344
- });
345
- },
346
-
347
-
348
-
349
- showhideTitle: function () {
350
- if ( jQuery('#titleHide').is(':checked') ) {
351
- jQuery('#trackTitles').css({'display':'none'});
352
- } else {
353
- jQuery('#trackTitles').css({'display':'block'});
354
- }
355
- },
356
-
357
-
358
- /** helpers */
359
- isWithin: function ( x, lo, hi ) {
360
- return ( ( lo <= x && x <= hi ) ? true : false );
361
- },
362
- toInt: function ( s ) {
363
- s = parseInt( s, 10 );
364
- return ( ! isNaN( s ) ? s : 0 );
365
- },
366
-
367
-
368
- /** Initialise */
369
- init: function () {
370
-
371
- //# pickers
372
- jQuery("#spectrumPicker").spectrum({
373
- flat: true,
374
- preferredFormat: "hex",
375
- containerClassName: 'sp-buttons-disabled',
376
- clickoutFiresChange: true,
377
- //showInput: true,
378
- //showInitial: true,
379
- move: function( color ) {
380
- MP3jP.updateColours( color, MP3jP.pickID );
381
- },
382
- change: function(color) {}
383
- });
384
- jQuery("#spectrumPickerAlpha").spectrum({
385
- flat: true,
386
- showAlpha: true,
387
- preferredFormat: "rgb",
388
- //showInput: true,
389
- containerClassName: 'sp-buttons-disabled',
390
- clickoutFiresChange: true,
391
- //showInitial: true,
392
- move: function( color ) {
393
- MP3jP.updateColours( color, MP3jP.pickID );
394
- },
395
- change: function(color) {}
396
- });
397
- jQuery("#adminBG").spectrum({
398
- preferredFormat: "hex",
399
- clickoutFiresChange: true,
400
- containerClassName: 'sp-buttons-disabled mini',
401
- move: function( color ) {
402
- jQuery('#sizer').css({ 'background-color': color });
403
- jQuery('#adminBG').val( color );
404
- },
405
- change: function( color ) { }
406
- });
407
-
408
-
409
-
410
-
411
- //# preset
412
- //jQuery('#presetSelect').on('change', function ( e ) {
413
- // this.changePreset( jQuery( this ).val() );
414
- //});
415
-
416
- //# sizeable
417
- jQuery('#sizer').resizable({
418
- resize: function ( event, ui ) {
419
- jQuery('#adminSizer_w').val(ui.size.width + 'px');
420
- jQuery('#adminSizer_h').val(ui.size.height + 'px');
421
- }
422
- });
423
-
424
- //# tabs
425
- jQuery( '.mp3j-tabbutton').each( function ( j ) {
426
- MP3jP.addTabListener( j );
427
- if ( j !== MP3jP.openTab ) {
428
- jQuery('#mp3j_tab_' + j ).hide();
429
- }
430
- });
431
- jQuery('#mp3j_tabbutton_' + this.openTab ).addClass('active-tab');
432
-
433
- //# overflow
434
- jQuery('#imgOverflow').on('change', function ( e ) {
435
- var value = 'hidden';
436
- if ( jQuery( this ).is(':checked') ) {
437
- value = 'visible';
438
- }
439
- jQuery('#image-mjp').css({'overflow' : value });
440
- });
441
-
442
- //# hide title
443
- jQuery('#titleHide').on('change', function ( e ) {
444
- //if ( jQuery( this ).is(':checked') ) {
445
- // jQuery('#trackTitles').css({'display':'none'});
446
- //} else {
447
- // jQuery('#trackTitles').css({'display':'block'});
448
- //}
449
- MP3jP.showhideTitle();
450
- });
451
- this.showhideTitle();
452
-
453
- jQuery('#listtog-mjp').click( function ( e ) {
454
- jQuery('#listwrap-mjp').toggle();
455
- });
456
-
457
-
458
- //# test image
459
- this.imageControls();
460
-
461
- //# selects
462
- this.dividersSelect();
463
- this.listgradSelect();
464
- this.posgradSelect();
465
- this.alignmentSelect( '#titleAlign', '#trackTitles' ); //titles alignment
466
- this.alignmentSelect( '#listAlign', '#ul-mjp' ); //playlist alignment
467
- this.alignmentSelect( '#imageAlign', '#image-mjp' ); //image alignment
468
-
469
- //# sliders
470
- //offsets (2 handle)
471
- this.offsetSlider( '#offsetSlider_1', '#titleOffset', '#trackTitles' );
472
- //this.offsetSlider( '#offsetSlider_2', '#barsOffsetH', '#bars-mjp' );
473
-
474
- //this.vSlider('#offsetSlider_3', '#barsOffsetVB', '#bars-mjp', 'bottom');
475
- //this.vSlider('#offsetSlider_4', '#barsOffsetVT', '#bars-mjp', 'height');
476
- this.vSlider('#offsetSlider_5', '#playerHeight', '#playerT1', 'height');
477
- this.vSlider('#offsetSlider_6', '#titleTop', '#trackTitles', 'top');
478
-
479
- this.initFontSlider( 1 );
480
- this.initFontSlider( 2 );
481
-
482
- //# font family onchange
483
- this.setFontFamily( 1, '.interface-mjp' );
484
- jQuery('#font_family_1').on('change', function ( e ) {
485
- MP3jP.setFontFamily( 1, '.interface-mjp' );
486
- });
487
-
488
- this.setFontFamily( 2, 'a.a-mjp' );
489
- //this.setFontFamily( 2, '#ul-mjp' );
490
- jQuery('#font_family_2').on('change', function ( e ) {
491
- MP3jP.setFontFamily( 2, 'a.a-mjp' );
492
- //MP3jP.setFontFamily( 2, '#ul-mjp' );
493
- });
494
-
495
- //# imageSize onchange
496
- jQuery('#imageSize').on('change', function ( e ) {
497
- var value = jQuery(this).val();
498
- var Pcss = {};
499
- var IWcss = {};
500
- if ( value === "thumbnail" || value === "medium" || value === "large" ) {
501
- jQuery('#playerHeight').addClass('quietInput');
502
- jQuery('#playerHeightWrap1, #playerHeightWrap2').addClass('quietText');
503
- Pcss['height'] = imgDimsWP[ value + '_h'] + 'px';
504
- IWcss['width'] = imgDimsWP[ value + '_w'] + 'px';
505
- IWcss['height'] = Pcss.height;
506
- jQuery('#image-mjp').removeClass('Himg Fimg');
507
- jQuery('#offsetSlider_5').slider( "disable" );
508
- } else {
509
- jQuery('#playerHeight').removeClass('quietInput');
510
- jQuery('#playerHeightWrap1, #playerHeightWrap2').removeClass('quietText');
511
- Pcss['height'] = jQuery('#playerHeight').val();
512
- IWcss['width'] = ( value === 'autoW' ) ? '100%' : 'auto';
513
- if ( 'autoH' === value ) {
514
- jQuery('#image-mjp').removeClass('Fimg').addClass('Himg');
515
- } else if ( 'full' === value ) {
516
- jQuery('#image-mjp').removeClass('Himg').addClass('Fimg');
517
- } else {
518
- jQuery('#image-mjp').removeClass('Himg Fimg');
519
- }
520
- IWcss['height'] = Pcss.height;
521
- jQuery('#offsetSlider_5').slider( "enable" );
522
- }
523
- jQuery('#playerT1').css( Pcss );
524
- jQuery('#image-mjp').css( IWcss );
525
- });
526
-
527
-
528
-
529
- //# stylesheet
530
- if ( MP3J_THEME_PATH !== false ) {
531
- MP3jP.reload_stylesheet( MP3J_THEME_PATH );
532
- }
533
- this.stylesheetControls();
534
- }
535
- };
536
-
1
+ /**
2
+ * Admin Colours Page JS
3
+ * MP3-jPlayer 2.0
4
+ */
5
+
6
+ var MP3jP = {
7
+
8
+
9
+ /** Tabs */
10
+ openTab: 0,
11
+ addTabListener: function ( j ) {
12
+ jQuery('#mp3j_tabbutton_' + j).click( function (e) {
13
+ MP3jP.changeTab( j );
14
+ });
15
+ },
16
+ changeTab: function ( j ) {
17
+ if ( j !== this.openTab ) {
18
+ if ( this.pickID !== false ) { //clear active picking
19
+ this.clickPlus( this.pickID );
20
+ }
21
+ jQuery('#mp3j_tab_' + this.openTab).hide();
22
+ jQuery('#mp3j_tabbutton_' + this.openTab).removeClass('active-tab');
23
+ jQuery('#mp3j_tab_' + j).show();
24
+ jQuery('#mp3j_tabbutton_' + j).addClass('active-tab');
25
+ this.openTab = j;
26
+ }
27
+ },
28
+
29
+
30
+ extCalls: {
31
+ init: [],
32
+ update_colour: []
33
+ },
34
+ runExternals: function ( hookname, data ) {
35
+ var l = this.extCalls[ hookname ].length;
36
+ for ( var x = 0; x < l; x += 1 ) {
37
+ ( this.extCalls[ hookname ][ x ] )( data );
38
+ }
39
+ },
40
+
41
+
42
+ /** Colour Picking */
43
+ pickID: false,
44
+ CSSprop: false,
45
+ partID: false,
46
+ clickPatch: function ( ID, handle ) {
47
+ var colour = jQuery('#'+ID).val();
48
+ this.setPicker( colour, handle );
49
+ if ( this.pickID !== ID ) {
50
+ this.updateColours( colour, this.pickID );
51
+ }
52
+ },
53
+ setPicker: function ( colour, handle ) {
54
+ if ( colour !== 'transparent' && colour !== 'inherit' ) {
55
+ jQuery( '#spectrumPicker' + handle ).spectrum( "set", colour );
56
+ }
57
+ },
58
+ clickMinus: function ( ID, property, partID ) {
59
+ var value = ( 'color' === property ) ? 'inherit' : 'transparent';
60
+ jQuery('#'+ID).val( value ); //field
61
+ jQuery('#patch'+ID).css({ 'background-color' : 'transparent' }); //patch
62
+ var style = {};
63
+ style[ property ] = value;
64
+ jQuery('#player' + partID).css( style ); //player
65
+ },
66
+ clickPlus: function ( ID, property, partID ) {
67
+ if ( ID === this.pickID ) {
68
+ jQuery( '#plus' + this.pickID ).removeClass('activePicker');
69
+ this.pickID = false;
70
+ this.CSSprop = false;
71
+ this.partID = false;
72
+ } else {
73
+ if ( this.pickID !== false ) {
74
+ jQuery( '#plus' + this.pickID ).removeClass('activePicker');
75
+ }
76
+ var handle = ( this.openTab === 1 ) ? 'Alpha' : '';
77
+ var colour = jQuery('#'+ID).val();
78
+ this.setPicker( colour, handle );
79
+
80
+ jQuery( '#plus' + ID).addClass('activePicker');
81
+ this.pickID = ID;
82
+ this.CSSprop = property;
83
+ if ( typeof partID !== 'undefined' ) {
84
+ this.partID = partID;
85
+ }
86
+ }
87
+ },
88
+ updateColours: function ( colour, pickID ) {
89
+ if ( pickID !== false ) {
90
+ jQuery( '#' + pickID ).val( colour ); //field
91
+ jQuery('#patch' + pickID ).css({ 'background-color': colour }); //patch
92
+ var partid = ( this.partID === false ) ? pickID : this.partID;
93
+ var style = {};
94
+ style[this.CSSprop] = colour;
95
+ jQuery('#player' + partid ).css( style ); //player
96
+ this.runExternals( 'update_colour', { pickID: pickID, colour: colour, partID: this.partID } );
97
+ }
98
+ },
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ /** stylesheet */
110
+ stylesheetControls: function () {
111
+ jQuery('#player-select').on('change', function ( e ) {
112
+ var value = jQuery( this ).val();
113
+ var url = '';
114
+
115
+ MP3jP.showhideCustomCSS( value );
116
+
117
+ if ( value === "styleI" ) {
118
+ jQuery('#mp3fcss').removeClass('quietInput');
119
+ jQuery('#player-csssheet, #reload_stylesheet_button').removeClass('quietText');
120
+ //url = styleI;
121
+
122
+ } else {
123
+ jQuery('#mp3fcss').addClass('quietInput');
124
+ jQuery('#player-csssheet, #reload_stylesheet_button').addClass('quietText');
125
+ //if ( value === "styleF" ) { url = styleF; }
126
+ //if ( value === "styleG" ) { url = styleG; }
127
+ //if ( value === "styleH" ) { url = styleH; }
128
+ }
129
+ url = SKINDATA[ value ];
130
+ MP3jP.reload_stylesheet( url );
131
+ });
132
+ jQuery('#reload_stylesheet_button').click( function ( e ) {
133
+ var field_val = jQuery('#mp3fcss').val();
134
+ var select_val = jQuery('#player-select').val();
135
+ if ( field_val !== MP3J_THEME_PATH && select_val === 'styleI' ) {
136
+ MP3jP.reload_stylesheet( field_val );
137
+ }
138
+ });
139
+ jQuery('#mp3fcss').on('keyup', function ( e ) {
140
+ styleI = jQuery( this ).val();
141
+ });
142
+ },
143
+ reload_stylesheet: function ( url ) {
144
+ jQuery( 'link[rel=stylesheet][href~="' + MP3J_THEME_PATH + '"]' ).remove();
145
+ jQuery( 'head' ).append( '<link rel="stylesheet" type="text/css" href="' + url + '" />' );
146
+ MP3J_THEME_PATH = url;
147
+ },
148
+ showhideCustomCSS: function ( value ) {
149
+ if ( value === "styleI" ) {
150
+ jQuery( '#customCSSrow' ).fadeIn( 400 );
151
+ } else {
152
+ jQuery( '#customCSSrow' ).fadeOut( 400 );
153
+ }
154
+ },
155
+
156
+ /** fonts */
157
+ families: {
158
+ arial: 'Arial, "Helvetica Neue", Helvetica, sans-serif',
159
+ verdana: 'Verdana, Geneva, sans-serif',
160
+ times: 'TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif',
161
+ palatino: 'Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif',
162
+ lucida: '"Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace',
163
+ courier: '"Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace',
164
+ gill: '"Gill Sans", "Gill Sans MT", Calibri, sans-serif',
165
+ theme: 'inherit'
166
+ },
167
+ initFontSlider: function ( j ) {
168
+ var val = jQuery('#font_size_' + j).val();
169
+ jQuery( '#fontSlider_' + j ).slider({
170
+ value : val,
171
+ max: 70,
172
+ min: 8,
173
+ range: 'min',
174
+ animate: false,
175
+ slide: function (event, ui) {
176
+ jQuery('#font_size_' + j).val( ui.value );
177
+ MP3jP.setFontSize( j, ui.value );
178
+ }
179
+ });
180
+ this.setFontSize( j, val );
181
+ },
182
+ setFontSize: function ( j, val ) {
183
+ if ( val !== 'auto' ) {
184
+ if ( j == 1 ) {
185
+ jQuery('#trackTitles').css({ 'font-size' : val + 'px' });
186
+ jQuery('#trackTitles div').css({ 'font-size' : (val*0.7) + 'px' });
187
+ }
188
+ if ( j == 2 ) {
189
+ jQuery('a.a-mjp').css({ 'font-size' : val + 'px' });
190
+ }
191
+ } else {
192
+ if ( j == 1 ) {
193
+ jQuery('#trackTitles').css({ 'font-size' : '100%' });
194
+ jQuery('#trackTitles div').css({ 'font-size' : '85%' });
195
+ }
196
+ if ( j == 2 ) {
197
+ jQuery('a.a-mjp').css({ 'font-size' : '100%' });
198
+ }
199
+
200
+ }
201
+ },
202
+ setFontFamily: function ( j, selector ) {
203
+ var selected = jQuery('#font_family_' + j).val();
204
+ jQuery( selector ).css({ 'font-family': MP3jP.families[ selected ] });
205
+ },
206
+ fontCheckers: function ( ID, selector, onClass, offClass ) {
207
+ var ext = '-mjp';
208
+ var isChecked = jQuery( ID ).prop('checked');
209
+ console.log(isChecked);
210
+ if ( isChecked ) {
211
+ jQuery( selector ).removeClass( offClass + ext ).addClass( onClass + ext );
212
+ jQuery( ID + '_label').addClass('formatOn');
213
+ } else {
214
+ jQuery( selector ).removeClass( onClass + ext ).addClass( offClass + ext );
215
+ jQuery( ID + '_label').removeClass('formatOn');
216
+ }
217
+ },
218
+
219
+
220
+ /** selects */
221
+ dividersSelect: function () {
222
+ jQuery('#list_divider').on('change', function ( e ) {
223
+ var value = jQuery(this).val();
224
+ jQuery('.ul-mjp').removeClass('light-mjp med-mjp dark-mjp');
225
+ if ( 'none' !== value ) {
226
+ jQuery('.ul-mjp').addClass( value + '-mjp' );
227
+ }
228
+ });
229
+ },
230
+ listgradSelect: function () {
231
+ jQuery('#playlist_tint').on('change', function ( e ) {
232
+ var value = jQuery(this).val();
233
+ jQuery('.ul-mjp').removeClass('lighten1-mjp darken1-mjp lighten2-mjp darken2-mjp');
234
+ if ( 'none' !== value ) {
235
+ jQuery('.ul-mjp').addClass( value + '-mjp' );
236
+ }
237
+ });
238
+ },
239
+ posgradSelect: function () {
240
+ jQuery('#posbar_tint').on('change', function ( e ) {
241
+ var value = jQuery(this).val();
242
+ jQuery('.poscolMI_mp3j').removeClass('soften-mjp softenT-mjp darken-mjp');
243
+ if ( 'none' !== value ) {
244
+ jQuery('.poscolMI_mp3j').addClass( value + '-mjp' );
245
+ }
246
+ });
247
+ },
248
+ alignmentSelect: function ( ID, partID ) {
249
+ jQuery( ID ).on('change', function ( e ) {
250
+ var value = jQuery(this).val();
251
+ jQuery( partID ).removeClass('left-mjp centre-mjp right-mjp').addClass( value + '-mjp' );;
252
+ });
253
+ },
254
+
255
+
256
+ /** test image */
257
+ imageControls: function () {
258
+ jQuery('#adminCheckerIMG').on('change', function ( e ) {
259
+ jQuery('#image-mjp').empty();
260
+ if ( jQuery( this ).is(':checked') ) {
261
+ MP3jP.updateTestImg();
262
+ }
263
+ });
264
+ jQuery('#reloadIMG').click( function ( e ) {
265
+ jQuery('#image-mjp').empty();
266
+ jQuery('#adminCheckerIMG').prop( 'checked', true );
267
+ MP3jP.updateTestImg();
268
+ });
269
+ if ( jQuery('#adminCheckerIMG').is(':checked') ) {
270
+ this.updateTestImg();
271
+ }
272
+ },
273
+ updateTestImg: function () {
274
+ var url = jQuery('#adminIMG').val();
275
+ if ( url !== '' ) {
276
+ jQuery('#image-mjp').append('<img id="i-mjp" src="' + url + '"/>');
277
+ }
278
+ },
279
+
280
+
281
+ /** offset sliders */
282
+ offsetSlider: function ( sliderID, fieldID, partID, HV ) {
283
+ var max = 500;
284
+ var field1 = jQuery(fieldID + '1').val().replace( /px|%/, '');
285
+ var field2 = max - (this.toInt( jQuery(fieldID + '2').val().replace( /px|%/, '') ));
286
+ var orientation = ( HV === 'V' ) ? 'vertical' : 'horizontal';
287
+ jQuery( sliderID ).slider({
288
+ values : [field1, field2],
289
+ max: max,
290
+ min: 0,
291
+ orientation: orientation,
292
+ range: true,
293
+ animate: false,
294
+ slide: function ( event, ui ) {
295
+ var j = jQuery(ui.handle).index();
296
+ var fieldCurrent = jQuery( fieldID + j ).val();
297
+ var fieldInt = ( j == 2 ) ? max - ui.values[(j-1)] : ui.values[(j-1)]; //ui handles are indexed from 1, but values from 0!
298
+ var fieldNew = fieldCurrent.replace( /[0-9]+/, fieldInt );
299
+ jQuery( fieldID + j ).val( fieldNew );
300
+ var style = {};
301
+ var prop = ( j == 1 ) ? ( HV=='V' ? 'height':'left' ) : ( HV=='V' ? 'bottom':'right' );
302
+ style[ prop ] = fieldNew;
303
+ jQuery( partID ).css( style );
304
+ }
305
+ });
306
+ },
307
+
308
+
309
+ vSlider: function ( sliderID, fieldID, partID, property ) {
310
+ var max = 250;
311
+ var field = jQuery( fieldID ).val().replace( /px|%/, '');
312
+ jQuery( sliderID ).slider({
313
+ value: field,
314
+ max: max,
315
+ min: 0,
316
+ range: 'min',
317
+ //orientation: 'vertical',
318
+ slide: function ( event, ui ) {
319
+ var fieldCurrent = jQuery( fieldID ).val();
320
+ var fieldInt = ui.value;
321
+ var fieldNew = fieldCurrent.replace( /[0-9]+/, fieldInt );
322
+ jQuery( fieldID).val( fieldNew );
323
+ var style = {};
324
+ if ( fieldID === '#barsOffsetVT' ) { //choose top or height
325
+ property = jQuery('input[name=barsTopOrHeight]:checked').val();
326
+ console.log(property);
327
+ if ( 'top' === property ) {
328
+ jQuery('#bars-mjp').css({ 'height': 'auto' });
329
+ } else {
330
+ jQuery('#bars-mjp').css({ 'top': 'auto' });
331
+ }
332
+ }
333
+ if ( fieldID === '#playerHeight' ) {
334
+ var ph = jQuery('#imageSize').val();
335
+ if ( 'autoW' === ph || 'autoH' === ph || 'full' === ph ) {
336
+ var h = jQuery( fieldID ).val();
337
+ jQuery('#playerT1').css({ 'height' : h });
338
+ jQuery('#image-mjp').css({ 'height' : h });
339
+ }
340
+ }
341
+ style[ property ] = fieldNew;
342
+ jQuery( partID ).css( style );
343
+ }
344
+ });
345
+ },
346
+
347
+
348
+
349
+ showhideTitle: function () {
350
+ if ( jQuery('#titleHide').is(':checked') ) {
351
+ jQuery('#trackTitles').css({'display':'none'});
352
+ } else {
353
+ jQuery('#trackTitles').css({'display':'block'});
354
+ }
355
+ },
356
+
357
+
358
+ /** helpers */
359
+ isWithin: function ( x, lo, hi ) {
360
+ return ( ( lo <= x && x <= hi ) ? true : false );
361
+ },
362
+ toInt: function ( s ) {
363
+ s = parseInt( s, 10 );
364
+ return ( ! isNaN( s ) ? s : 0 );
365
+ },
366
+
367
+
368
+ /** Initialise */
369
+ init: function () {
370
+
371
+ //# pickers
372
+ jQuery("#spectrumPicker").spectrum({
373
+ flat: true,
374
+ preferredFormat: "hex",
375
+ containerClassName: 'sp-buttons-disabled',
376
+ clickoutFiresChange: true,
377
+ //showInput: true,
378
+ //showInitial: true,
379
+ move: function( color ) {
380
+ MP3jP.updateColours( color, MP3jP.pickID );
381
+ },
382
+ change: function(color) {}
383
+ });
384
+ jQuery("#spectrumPickerAlpha").spectrum({
385
+ flat: true,
386
+ showAlpha: true,
387
+ preferredFormat: "rgb",
388
+ //showInput: true,
389
+ containerClassName: 'sp-buttons-disabled',
390
+ clickoutFiresChange: true,
391
+ //showInitial: true,
392
+ move: function( color ) {
393
+ MP3jP.updateColours( color, MP3jP.pickID );
394
+ },
395
+ change: function(color) {}
396
+ });
397
+ jQuery("#adminBG").spectrum({
398
+ preferredFormat: "hex",
399
+ clickoutFiresChange: true,
400
+ containerClassName: 'sp-buttons-disabled mini',
401
+ move: function( color ) {
402
+ jQuery('#sizer').css({ 'background-color': color });
403
+ jQuery('#adminBG').val( color );
404
+ },
405
+ change: function( color ) { }
406
+ });
407
+
408
+
409
+
410
+
411
+ //# preset
412
+ //jQuery('#presetSelect').on('change', function ( e ) {
413
+ // this.changePreset( jQuery( this ).val() );
414
+ //});
415
+
416
+ //# sizeable
417
+ jQuery('#sizer').resizable({
418
+ resize: function ( event, ui ) {
419
+ jQuery('#adminSizer_w').val(ui.size.width + 'px');
420
+ jQuery('#adminSizer_h').val(ui.size.height + 'px');
421
+ }
422
+ });
423
+
424
+ //# tabs
425
+ jQuery( '.mp3j-tabbutton').each( function ( j ) {
426
+ MP3jP.addTabListener( j );
427
+ if ( j !== MP3jP.openTab ) {
428
+ jQuery('#mp3j_tab_' + j ).hide();
429
+ }
430
+ });
431
+ jQuery('#mp3j_tabbutton_' + this.openTab ).addClass('active-tab');
432
+
433
+ //# overflow
434
+ jQuery('#imgOverflow').on('change', function ( e ) {
435
+ var value = 'hidden';
436
+ if ( jQuery( this ).is(':checked') ) {
437
+ value = 'visible';
438
+ }
439
+ jQuery('#image-mjp').css({'overflow' : value });
440
+ });
441
+
442
+ //# hide title
443
+ jQuery('#titleHide').on('change', function ( e ) {
444
+ //if ( jQuery( this ).is(':checked') ) {
445
+ // jQuery('#trackTitles').css({'display':'none'});
446
+ //} else {
447
+ // jQuery('#trackTitles').css({'display':'block'});
448
+ //}
449
+ MP3jP.showhideTitle();
450
+ });
451
+ this.showhideTitle();
452
+
453
+ jQuery('#listtog-mjp').click( function ( e ) {
454
+ jQuery('#listwrap-mjp').toggle();
455
+ });
456
+
457
+
458
+ //# test image
459
+ this.imageControls();
460
+
461
+ //# selects
462
+ this.dividersSelect();
463
+ this.listgradSelect();
464
+ this.posgradSelect();
465
+ this.alignmentSelect( '#titleAlign', '#trackTitles' ); //titles alignment
466
+ this.alignmentSelect( '#listAlign', '#ul-mjp' ); //playlist alignment
467
+ this.alignmentSelect( '#imageAlign', '#image-mjp' ); //image alignment
468
+
469
+ //# sliders
470
+ //offsets (2 handle)
471
+ this.offsetSlider( '#offsetSlider_1', '#titleOffset', '#trackTitles' );
472
+ //this.offsetSlider( '#offsetSlider_2', '#barsOffsetH', '#bars-mjp' );
473
+
474
+ //this.vSlider('#offsetSlider_3', '#barsOffsetVB', '#bars-mjp', 'bottom');
475
+ //this.vSlider('#offsetSlider_4', '#barsOffsetVT', '#bars-mjp', 'height');
476
+ this.vSlider('#offsetSlider_5', '#playerHeight', '#playerT1', 'height');
477
+ this.vSlider('#offsetSlider_6', '#titleTop', '#trackTitles', 'top');
478
+
479
+ this.initFontSlider( 1 );
480
+ this.initFontSlider( 2 );
481
+
482
+ //# font family onchange
483
+ this.setFontFamily( 1, '.interface-mjp' );
484
+ jQuery('#font_family_1').on('change', function ( e ) {
485
+ MP3jP.setFontFamily( 1, '.interface-mjp' );
486
+ });
487
+
488
+ this.setFontFamily( 2, 'a.a-mjp' );
489
+ //this.setFontFamily( 2, '#ul-mjp' );
490
+ jQuery('#font_family_2').on('change', function ( e ) {
491
+ MP3jP.setFontFamily( 2, 'a.a-mjp' );
492
+ //MP3jP.setFontFamily( 2, '#ul-mjp' );
493
+ });
494
+
495
+ //# imageSize onchange
496
+ jQuery('#imageSize').on('change', function ( e ) {
497
+ var value = jQuery(this).val();
498
+ var Pcss = {};
499
+ var IWcss = {};
500
+ if ( value === "thumbnail" || value === "medium" || value === "large" ) {
501
+ jQuery('#playerHeight').addClass('quietInput');
502
+ jQuery('#playerHeightWrap1, #playerHeightWrap2').addClass('quietText');
503
+ Pcss['height'] = imgDimsWP[ value + '_h'] + 'px';
504
+ IWcss['width'] = imgDimsWP[ value + '_w'] + 'px';
505
+ IWcss['height'] = Pcss.height;
506
+ jQuery('#image-mjp').removeClass('Himg Fimg');
507
+ jQuery('#offsetSlider_5').slider( "disable" );
508
+ } else {
509
+ jQuery('#playerHeight').removeClass('quietInput');
510
+ jQuery('#playerHeightWrap1, #playerHeightWrap2').removeClass('quietText');
511
+ Pcss['height'] = jQuery('#playerHeight').val();
512
+ IWcss['width'] = ( value === 'autoW' ) ? '100%' : 'auto';
513
+ if ( 'autoH' === value ) {
514
+ jQuery('#image-mjp').removeClass('Fimg').addClass('Himg');
515
+ } else if ( 'full' === value ) {
516
+ jQuery('#image-mjp').removeClass('Himg').addClass('Fimg');
517
+ } else {
518
+ jQuery('#image-mjp').removeClass('Himg Fimg');
519
+ }
520
+ IWcss['height'] = Pcss.height;
521
+ jQuery('#offsetSlider_5').slider( "enable" );
522
+ }
523
+ jQuery('#playerT1').css( Pcss );
524
+ jQuery('#image-mjp').css( IWcss );
525
+ });
526
+
527
+
528
+
529
+ //# stylesheet
530
+ if ( MP3J_THEME_PATH !== false ) {
531
+ MP3jP.reload_stylesheet( MP3J_THEME_PATH );
532
+ }
533
+ this.stylesheetControls();
534
+ }
535
+ };
536
+
js/admin/admin-settings.js CHANGED
@@ -1,125 +1,125 @@
1
- /*
2
- MP3-jPlayer 1.8
3
- Admin-Settings js
4
- */
5
-
6
- var MP3jP = {
7
-
8
- openTab: 1,
9
-
10
- add_tab_listener: function ( j ) {
11
- var that = this;
12
- jQuery('#mp3j_tabbutton_' + j).click( function (e) {
13
- that.changeTab( j );
14
- });
15
- },
16
-
17
- changeTab: function ( j ) {
18
- if ( j !== this.openTab ) {
19
- jQuery('#mp3j_tab_' + this.openTab).hide();
20
- jQuery('#mp3j_tabbutton_' + this.openTab).removeClass('active-tab');
21
- jQuery('#mp3j_tab_' + j).show();
22
- jQuery('#mp3j_tabbutton_' + j).addClass('active-tab');
23
- this.openTab = j;
24
- }
25
- },
26
-
27
- counterpartsFeedback: function () {
28
- var noCP = [ 'ogg', 'webm', 'wav' ],
29
- isTicked = false,
30
- message = 'Auto-counterparting is switched off.',
31
- l = noCP.length,
32
- j;
33
-
34
- for ( j = 0; j < l; j += 1 ) {
35
- if ( jQuery('#audioFormats_' + noCP[j]).prop( 'checked' ) === true ) {
36
- isTicked = true;
37
- break;
38
- }
39
- }
40
-
41
- if ( jQuery('#autoCounterpart').prop( 'checked' ) ) {
42
- if ( isTicked ) {
43
- message = 'Bulk auto-counterparting is not available with this format selection.';
44
- } else {
45
- message = '<span class="tick">&nbsp;</span>Bulk auto-counterparting is active.';
46
- }
47
- }
48
- jQuery('#feedCounterpartInfo').empty().append( message );
49
- },
50
-
51
- init: function () {
52
- jQuery( '.mp3j-tabbutton').each( function ( j ) {
53
- MP3jP.add_tab_listener( j );
54
- if ( j !== MP3jP.openTab ) {
55
- jQuery('#mp3j_tab_' + j ).hide();
56
- }
57
- });
58
- jQuery('#mp3j_tabbutton_' + this.openTab ).addClass('active-tab');
59
-
60
- jQuery('.formatChecker, #autoCounterpart').on( 'change', function ( e ) {
61
- MP3jP.counterpartsFeedback();
62
- });
63
- MP3jP.counterpartsFeedback();
64
- }
65
- };
66
-
67
-
68
-
69
- function HextoRGB(hexString) {
70
- if(hexString === null || typeof(hexString) != "string") {
71
- SetRGB(0,0,0);
72
- return;
73
- }
74
- if (hexString.substr(0, 1) == '#')
75
- hexString = hexString.substr(1);
76
- if(hexString.length != 6) {
77
- SetRGB(0,0,0);
78
- return;
79
- }
80
- var r = parseInt(hexString.substr(0, 2), 16);
81
- var g = parseInt(hexString.substr(2, 2), 16);
82
- var b = parseInt(hexString.substr(4, 2), 16);
83
- if (isNaN(r) || isNaN(g) || isNaN(b)) {
84
- SetRGB(0,0,0);
85
- return;
86
- }
87
- SetRGB(r,g,b);
88
- }
89
- function SetRGB(r, g, b){
90
- red = r/255.0;
91
- green = g/255.0;
92
- blue = b/255.0;
93
- }
94
- function RGBtoHSV(){
95
- var max = Math.max(Math.max(red, green), blue);
96
- var min = Math.min(Math.min(red, green), blue);
97
- value = max;
98
- saturation = 0;
99
- if(max !== 0)
100
- saturation = 1 - min/max;
101
- hue = 0;
102
- if(min == max)
103
- return;
104
-
105
- var delta = (max - min);
106
- if (red == max)
107
- hue = (green - blue) / delta;
108
- else if (green == max)
109
- hue = 2 + ((blue - red) / delta);
110
- else
111
- hue = 4 + ((red - green) / delta);
112
- hue = hue * 60;
113
- if(hue < 0)
114
- hue += 360;
115
- }
116
-
117
-
118
-
119
-
120
- jQuery(document).ready( function () {
121
- MP3jP.init();
122
- });
123
-
124
-
125
-
1
+ /*
2
+ MP3-jPlayer 1.8
3
+ Admin-Settings js
4
+ */
5
+
6
+ var MP3jP = {
7
+
8
+ openTab: 1,
9
+
10
+ add_tab_listener: function ( j ) {
11
+ var that = this;
12
+ jQuery('#mp3j_tabbutton_' + j).click( function (e) {
13
+ that.changeTab( j );
14
+ });
15
+ },
16
+
17
+ changeTab: function ( j ) {
18
+ if ( j !== this.openTab ) {
19
+ jQuery('#mp3j_tab_' + this.openTab).hide();
20
+ jQuery('#mp3j_tabbutton_' + this.openTab).removeClass('active-tab');
21
+ jQuery('#mp3j_tab_' + j).show();
22
+ jQuery('#mp3j_tabbutton_' + j).addClass('active-tab');
23
+ this.openTab = j;
24
+ }
25
+ },
26
+
27
+ counterpartsFeedback: function () {
28
+ var noCP = [ 'ogg', 'webm', 'wav' ],
29
+ isTicked = false,
30
+ message = 'Auto-counterparting is switched off.',
31
+ l = noCP.length,
32
+ j;
33
+
34
+ for ( j = 0; j < l; j += 1 ) {
35
+ if ( jQuery('#audioFormats_' + noCP[j]).prop( 'checked' ) === true ) {
36
+ isTicked = true;
37
+ break;
38
+ }
39
+ }
40
+
41
+ if ( jQuery('#autoCounterpart').prop( 'checked' ) ) {
42
+ if ( isTicked ) {
43
+ message = 'Bulk auto-counterparting is not available with this format selection.';
44
+ } else {
45
+ message = '<span class="tick">&nbsp;</span>Bulk auto-counterparting is active.';
46
+ }
47
+ }
48
+ jQuery('#feedCounterpartInfo').empty().append( message );
49
+ },
50
+
51
+ init: function () {
52
+ jQuery( '.mp3j-tabbutton').each( function ( j ) {
53
+ MP3jP.add_tab_listener( j );
54
+ if ( j !== MP3jP.openTab ) {
55
+ jQuery('#mp3j_tab_' + j ).hide();
56
+ }
57
+ });
58
+ jQuery('#mp3j_tabbutton_' + this.openTab ).addClass('active-tab');
59
+
60
+ jQuery('.formatChecker, #autoCounterpart').on( 'change', function ( e ) {
61
+ MP3jP.counterpartsFeedback();
62
+ });
63
+ MP3jP.counterpartsFeedback();
64
+ }
65
+ };
66
+
67
+
68
+
69
+ function HextoRGB(hexString) {
70
+ if(hexString === null || typeof(hexString) != "string") {
71
+ SetRGB(0,0,0);
72
+ return;
73
+ }
74
+ if (hexString.substr(0, 1) == '#')
75
+ hexString = hexString.substr(1);
76
+ if(hexString.length != 6) {
77
+ SetRGB(0,0,0);
78
+ return;
79
+ }
80
+ var r = parseInt(hexString.substr(0, 2), 16);
81
+ var g = parseInt(hexString.substr(2, 2), 16);
82
+ var b = parseInt(hexString.substr(4, 2), 16);
83
+ if (isNaN(r) || isNaN(g) || isNaN(b)) {
84
+ SetRGB(0,0,0);
85
+ return;
86
+ }
87
+ SetRGB(r,g,b);
88
+ }
89
+ function SetRGB(r, g, b){
90
+ red = r/255.0;
91
+ green = g/255.0;
92
+ blue = b/255.0;
93
+ }
94
+ function RGBtoHSV(){
95
+ var max = Math.max(Math.max(red, green), blue);
96
+ var min = Math.min(Math.min(red, green), blue);
97
+ value = max;
98
+ saturation = 0;
99
+ if(max !== 0)
100
+ saturation = 1 - min/max;
101
+ hue = 0;
102
+ if(min == max)
103
+ return;
104
+
105
+ var delta = (max - min);
106
+ if (red == max)
107
+ hue = (green - blue) / delta;
108
+ else if (green == max)
109
+ hue = 2 + ((blue - red) / delta);
110
+ else
111
+ hue = 4 + ((red - green) / delta);
112
+ hue = hue * 60;
113
+ if(hue < 0)
114
+ hue += 360;
115
+ }
116
+
117
+
118
+
119
+
120
+ jQuery(document).ready( function () {
121
+ MP3jP.init();
122
+ });
123
+
124
+
125
+
js/jquery.jplayer.min.2.7.1.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery?t.jQuery:t.Zepto)}(this,function(t,e){t.fn.jPlayer=function(s){var i="jPlayer",a="string"==typeof s,n=Array.prototype.slice.call(arguments,1),o=this;return s=!a&&n.length?t.extend.apply(null,[!0,s].concat(n)):s,a&&"_"===s.charAt(0)?o:(this.each(a?function(){var a=t(this).data(i),r=a&&t.isFunction(a[s])?a[s].apply(a,n):a;return r!==a&&r!==e?(o=r,!1):void 0}:function(){var e=t(this).data(i);e?e.option(s||{}):t(this).data(i,new t.jPlayer(s,this))}),o)},t.jPlayer=function(e,s){if(arguments.length){this.element=t(s),this.options=t.extend(!0,{},this.options,e);var i=this;this.element.bind("remove.jPlayer",function(){i.destroy()}),this._init()}},"function"!=typeof t.fn.stop&&(t.fn.stop=function(){}),t.jPlayer.emulateMethods="load play pause",t.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate",t.jPlayer.emulateOptions="muted volume",t.jPlayer.reservedEvent="ready flashreset resize repeat error warning",t.jPlayer.event={},t.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){t.jPlayer.event[this]="jPlayer_"+this}),t.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"],t.jPlayer.pause=function(){t.each(t.jPlayer.prototype.instances,function(t,e){e.data("jPlayer").status.srcSet&&e.jPlayer("pause")})},t.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var s=function(){this.init()};s.prototype={init:function(){this.options={timeFormat:t.jPlayer.timeFormat}},time:function(t){t=t&&"number"==typeof t?t:0;var e=new Date(1e3*t),s=e.getUTCHours(),i=this.options.timeFormat.showHour?e.getUTCMinutes():e.getUTCMinutes()+60*s,a=this.options.timeFormat.showMin?e.getUTCSeconds():e.getUTCSeconds()+60*i,n=this.options.timeFormat.padHour&&10>s?"0"+s:s,o=this.options.timeFormat.padMin&&10>i?"0"+i:i,r=this.options.timeFormat.padSec&&10>a?"0"+a:a,l="";return l+=this.options.timeFormat.showHour?n+this.options.timeFormat.sepHour:"",l+=this.options.timeFormat.showMin?o+this.options.timeFormat.sepMin:"",l+=this.options.timeFormat.showSec?r+this.options.timeFormat.sepSec:""}};var i=new s;t.jPlayer.convertTime=function(t){return i.time(t)},t.jPlayer.uaBrowser=function(t){var e=t.toLowerCase(),s=/(webkit)[ \/]([\w.]+)/,i=/(opera)(?:.*version)?[ \/]([\w.]+)/,a=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,o=s.exec(e)||i.exec(e)||a.exec(e)||e.indexOf("compatible")<0&&n.exec(e)||[];return{browser:o[1]||"",version:o[2]||"0"}},t.jPlayer.uaPlatform=function(t){var e=t.toLowerCase(),s=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/,i=/(ipad|playbook)/,a=/(android)/,n=/(mobile)/,o=s.exec(e)||[],r=i.exec(e)||!n.exec(e)&&a.exec(e)||[];return o[1]&&(o[1]=o[1].replace(/\s/g,"_")),{platform:o[1]||"",tablet:r[1]||""}},t.jPlayer.browser={},t.jPlayer.platform={};var a=t.jPlayer.uaBrowser(navigator.userAgent);a.browser&&(t.jPlayer.browser[a.browser]=!0,t.jPlayer.browser.version=a.version);var n=t.jPlayer.uaPlatform(navigator.userAgent);n.platform&&(t.jPlayer.platform[n.platform]=!0,t.jPlayer.platform.mobile=!n.tablet,t.jPlayer.platform.tablet=!!n.tablet),t.jPlayer.getDocMode=function(){var e;return t.jPlayer.browser.msie&&(document.documentMode?e=document.documentMode:(e=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(e=7))),e},t.jPlayer.browser.documentMode=t.jPlayer.getDocMode(),t.jPlayer.nativeFeatures={init:function(){var t,e,s,i=document,a=i.createElement("video"),n={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""]},o=["w3c","moz","webkit","webkitVideo"];for(this.fullscreen=t={support:{w3c:!!i[n.w3c[0]],moz:!!i[n.moz[0]],webkit:"function"==typeof i[n.webkit[3]],webkitVideo:"function"==typeof a[n.webkitVideo[2]]},used:{}},e=0,s=o.length;s>e;e++){var r=o[e];if(t.support[r]){t.spec=r,t.used[r]=!0;break}}if(t.spec){var l=n[t.spec];t.api={fullscreenEnabled:!0,fullscreenElement:function(t){return t=t?t:i,t[l[1]]},requestFullscreen:function(t){return t[l[2]]()},exitFullscreen:function(t){return t=t?t:i,t[l[3]]()}},t.event={fullscreenchange:l[4],fullscreenerror:l[5]}}else t.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},t.event={}}},t.jPlayer.nativeFeatures.init(),t.jPlayer.focus=null,t.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var o=function(e){var s,i=t.jPlayer.focus,a=document.activeElement;i&&("undefined"!=typeof a?null!==a&&"BODY"!==a.nodeName.toUpperCase()&&(s=!0):t.each(t.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(t,i){return e.target.nodeName.toUpperCase()===i.toUpperCase()?(s=!0,!1):void 0}),s||t.each(i.options.keyBindings,function(s,a){return a&&e.which===a.key&&t.isFunction(a.fn)?(e.preventDefault(),a.fn(i),!1):void 0}))};t.jPlayer.keys=function(e){var s="keydown.jPlayer";t(document.documentElement).unbind(s),e&&t(document.documentElement).bind(s,o)},t.jPlayer.keys(!0),t.jPlayer.prototype={count:0,version:{script:"2.7.1",needFlash:"2.7.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(e){e.jPlayer.options.loop?t(this).unbind(".jPlayerRepeat").bind(t.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){t(this).jPlayer("play")}):t(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:32,fn:function(t){t.status.paused?t.play():t.pause()}},fullScreen:{key:13,fn:function(t){(t.status.video||t.options.audioFullScreen)&&t._setOption("fullScreen",!t.options.fullScreen)}},muted:{key:8,fn:function(t){t._muted(!t.options.muted)}},volumeUp:{key:38,fn:function(t){t.volume(t.options.volume+.1)}},volumeDown:{key:40,fn:function(t){t.volume(t.options.volume-.1)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var s=this;if(this.element.empty(),this.status=t.extend({},this.status),this.internal=t.extend({},this.internal),this.options.timeFormat=t.extend({},t.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=t.jPlayer.platform.ipad||t.jPlayer.platform.iphone||t.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!t.jPlayer.focus&&(t.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:0/0},t.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),t.each(this.options.supplied.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.format[a]){var n=!1;t.each(s.formats,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.formats.push(a)}}),t.each(this.options.solution.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.solution[a]){var n=!1;t.each(s.solutions,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.solutions.push(a)}}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=t.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=t.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:e}),this.internal.video=t.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:e}),this.internal.flash=t.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:e,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"Jplayer.swf":"")}),this.internal.poster=t.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:e}),t.each(t.jPlayer.event,function(t,i){s.options[t]!==e&&(s.element.bind(i+".jPlayer",s.options[t]),s.options[t]=e)}),this.require.audio=!1,this.require.video=!1,t.each(this.formats,function(t,e){s.require[s.format[e].media]=!0}),this.options=this.require.video?t.extend(!0,{},this.optionsVideo,this.options):t.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),t.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){(!s.status.video||s.status.waitForPlay)&&s.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=t("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.flash.canPlay={},t.each(this.formats,function(t,e){s.html.canPlay[e]=s.html[s.format[e].media].available&&""!==s.htmlElement[s.format[e].media].canPlayType(s.format[e].codec),s.flash.canPlay[e]=s.format[e].flashCanPlay&&s.flash.available}),this.html.desired=!1,this.flash.desired=!1,t.each(this.solutions,function(e,i){if(0===e)s[i].desired=!0;else{var a=!1,n=!1;t.each(s.formats,function(t,e){s[s.solutions[0]].canPlay[e]&&("video"===s.format[e].media?n=!0:a=!0)}),s[i].desired=s.require.audio&&!a||s.require.video&&!n}}),this.html.support={},this.flash.support={},t.each(this.formats,function(t,e){s.html.support[e]=s.html.canPlay[e]&&s.html.desired,s.flash.support[e]=s.flash.canPlay[e]&&s.flash.desired}),this.html.used=!1,this.flash.used=!1,t.each(this.solutions,function(e,i){t.each(s.formats,function(t,e){return s[i].support[e]?(s[i].used=!0,!1):void 0})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:t.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SOLUTION,hint:t.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var i,a="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(t.jPlayer.browser.msie&&(Number(t.jPlayer.browser.version)<9||t.jPlayer.browser.documentMode<9)){var n='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>',o=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+a+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];i=document.createElement(n);for(var r=0;r<o.length;r++)i.appendChild(document.createElement(o[r]))}else{var l=function(t,e,s){var i=document.createElement("param");i.setAttribute("name",e),i.setAttribute("value",s),t.appendChild(i)};i=document.createElement("object"),i.setAttribute("id",this.internal.flash.id),i.setAttribute("name",this.internal.flash.id),i.setAttribute("data",this.internal.flash.swf),i.setAttribute("type","application/x-shockwave-flash"),i.setAttribute("width","1"),i.setAttribute("height","1"),i.setAttribute("tabindex","-1"),l(i,"flashvars",a),l(i,"allowscriptaccess","always"),l(i,"bgcolor",this.options.backgroundColor),l(i,"wmode",this.options.wmode)}this.element.append(i),this.internal.flash.jq=t(i)}this.status.playbackRateEnabled=this.html.used&&!this.flash.used?this._testPlaybackRate("audio"):!1,this._updatePlaybackRate(),this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=t("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=t("#"+this.internal.video.id),this.internal.video.jq.css(this.status.nativeVideoControls?{width:this.status.width,height:this.status.height}:{width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}))),this.options.emulateHtml&&this._emulateHtmlBridge(),this.html.used&&!this.flash.used&&setTimeout(function(){s.internal.ready=!0,s.version.flash="n/a",s._trigger(t.jPlayer.event.repeat),s._trigger(t.jPlayer.event.ready)},100),this._updateNativeVideoControls(),this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),t.jPlayer.prototype.count++},destroy:function(){this.clearMedia(),this._removeUiClass(),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(""),this.css.jq.duration.length&&this.css.jq.duration.text(""),t.each(this.css.jq,function(t,e){e.length&&e.unbind(".jPlayer")}),this.internal.poster.jq.unbind(".jPlayer"),this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer"),this._fullscreenRemoveEventListeners(),this===t.jPlayer.focus&&(t.jPlayer.focus=null),this.options.emulateHtml&&this._destroyHtmlBridge(),this.element.removeData("jPlayer"),this.element.unbind(".jPlayer"),this.element.empty(),delete this.instances[this.internal.instance]},enable:function(){},disable:function(){},_testCanPlayType:function(t){try{return t.canPlayType(this.format.mp3.codec),!0}catch(e){return!1}},_testPlaybackRate:function(t){var e,s=.5;t="string"==typeof t?t:"audio",e=document.createElement(t);try{return"playbackRate"in e?(e.playbackRate=s,e.playbackRate===s):!1}catch(i){return!1}},_uaBlocklist:function(e){var s=navigator.userAgent.toLowerCase(),i=!1;return t.each(e,function(t,e){return e&&e.test(s)?(i=!0,!1):void 0}),i},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(e,s){var i=this;e.preload=this.options.preload,e.muted=this.options.muted,e.volume=this.options.volume,this.status.playbackRateEnabled&&(e.defaultPlaybackRate=this.options.defaultPlaybackRate,e.playbackRate=this.options.playbackRate),e.addEventListener("progress",function(){s.gate&&(i.internal.cmdsIgnored&&this.readyState>0&&(i.internal.cmdsIgnored=!1),i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.progress))},!1),e.addEventListener("loadeddata",function(){s.gate&&(i.androidFix.setMedia=!1,i.androidFix.play&&(i.androidFix.play=!1,i.play(i.androidFix.time)),i.androidFix.pause&&(i.androidFix.pause=!1,i.pause(i.androidFix.time)),i._trigger(t.jPlayer.event.loadeddata))},!1),e.addEventListener("timeupdate",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.timeupdate))},!1),e.addEventListener("durationchange",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.durationchange))},!1),e.addEventListener("play",function(){s.gate&&(i._updateButtons(!0),i._html_checkWaitForPlay(),i._trigger(t.jPlayer.event.play))},!1),e.addEventListener("playing",function(){s.gate&&(i._updateButtons(!0),i._seeked(),i._trigger(t.jPlayer.event.playing))},!1),e.addEventListener("pause",function(){s.gate&&(i._updateButtons(!1),i._trigger(t.jPlayer.event.pause))},!1),e.addEventListener("waiting",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.waiting))},!1),e.addEventListener("seeking",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.seeking))},!1),e.addEventListener("seeked",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.seeked))},!1),e.addEventListener("volumechange",function(){s.gate&&(i.options.volume=e.volume,i.options.muted=e.muted,i._updateMute(),i._updateVolume(),i._trigger(t.jPlayer.event.volumechange))},!1),e.addEventListener("ratechange",function(){s.gate&&(i.options.defaultPlaybackRate=e.defaultPlaybackRate,i.options.playbackRate=e.playbackRate,i._updatePlaybackRate(),i._trigger(t.jPlayer.event.ratechange))},!1),e.addEventListener("suspend",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.suspend))},!1),e.addEventListener("ended",function(){s.gate&&(t.jPlayer.browser.webkit||(i.htmlElement.media.currentTime=0),i.htmlElement.media.pause(),i._updateButtons(!1),i._getHtmlStatus(e,!0),i._updateInterface(),i._trigger(t.jPlayer.event.ended))},!1),e.addEventListener("error",function(){s.gate&&(i._updateButtons(!1),i._seeked(),i.status.srcSet&&(clearTimeout(i.internal.htmlDlyCmdId),i.status.waitForLoad=!0,i.status.waitForPlay=!0,i.status.video&&!i.status.nativeVideoControls&&i.internal.video.jq.css({width:"0px",height:"0px"}),i._validString(i.status.media.poster)&&!i.status.nativeVideoControls&&i.internal.poster.jq.show(),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.show(),i._error({type:t.jPlayer.error.URL,context:i.status.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL})))},!1),t.each(t.jPlayer.htmlEvent,function(a,n){e.addEventListener(this,function(){s.gate&&i._trigger(t.jPlayer.event[n])},!1)})},_getHtmlStatus:function(t,e){var s=0,i=0,a=0,n=0;isFinite(t.duration)&&(this.status.duration=t.duration),s=t.currentTime,i=this.status.duration>0?100*s/this.status.duration:0,"object"==typeof t.seekable&&t.seekable.length>0?(a=this.status.duration>0?100*t.seekable.end(t.seekable.length-1)/this.status.duration:100,n=this.status.duration>0?100*t.currentTime/t.seekable.end(t.seekable.length-1):0):(a=100,n=i),e&&(s=0,n=0,i=0),this.status.seekPercent=a,this.status.currentPercentRelative=n,this.status.currentPercentAbsolute=i,this.status.currentTime=s,this.status.remaining=this.status.duration-this.status.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=t.readyState,this.status.networkState=t.networkState,this.status.playbackRate=t.playbackRate,this.status.ended=t.ended},_resetStatus:function(){this.status=t.extend({},this.status,t.jPlayer.prototype.status)},_trigger:function(e,s,i){var a=t.Event(e);a.jPlayer={},a.jPlayer.version=t.extend({},this.version),a.jPlayer.options=t.extend(!0,{},this.options),a.jPlayer.status=t.extend(!0,{},this.status),a.jPlayer.html=t.extend(!0,{},this.html),a.jPlayer.flash=t.extend(!0,{},this.flash),s&&(a.jPlayer.error=t.extend({},s)),i&&(a.jPlayer.warning=t.extend({},i)),this.element.trigger(a)},jPlayerFlashEvent:function(e,s){if(e===t.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var i=this.status.currentTime,a=this.status.paused;this.setMedia(this.status.media),this.volumeWorker(this.options.volume),i>0&&(a?this.pause(i):this.play(i))}this._trigger(t.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=s.version,this.version.needFlash!==this.version.flash&&this._error({type:t.jPlayer.error.VERSION,context:this.version.flash,message:t.jPlayer.errorMsg.VERSION+this.version.flash,hint:t.jPlayer.errorHint.VERSION}),this._trigger(t.jPlayer.event.repeat),this._trigger(e);if(this.flash.gate)switch(e){case t.jPlayer.event.progress:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.timeupdate:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(e);break;case t.jPlayer.event.pause:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.ended:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.click:this._trigger(e);break;case t.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:t.jPlayer.error.URL,context:s.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL});break;case t.jPlayer.event.seeking:this._seeking(),this._trigger(e);break;case t.jPlayer.event.seeked:this._seeked(),this._trigger(e);break;case t.jPlayer.event.ready:break;default:this._trigger(e)}return!1},_getFlashStatus:function(t){this.status.seekPercent=t.seekPercent,this.status.currentPercentRelative=t.currentPercentRelative,this.status.currentPercentAbsolute=t.currentPercentAbsolute,this.status.currentTime=t.currentTime,this.status.duration=t.duration,this.status.remaining=t.duration-t.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(t){t===e?t=!this.status.paused:this.status.paused=!t,t?this.addStateClass("playing"):this.removeStateClass("playing"),!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen"),this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped"),this.css.jq.play.length&&this.css.jq.pause.length&&(t?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide())),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));var t="";this.css.jq.currentTime.length&&(t=this._convertTime(this.status.currentTime),t!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime)));var e="",s=this.status.duration,i=this.status.remaining;this.css.jq.duration.length&&("string"==typeof this.status.media.duration?e=this.status.media.duration:("number"==typeof this.status.media.duration&&(s=this.status.media.duration,i=s-this.status.currentTime),e=this.options.remainingDuration?(i>0?"-":"")+this._convertTime(i):this._convertTime(s)),e!==this.css.jq.duration.text()&&this.css.jq.duration.text(e))},_convertTime:s.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg"),this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg"),this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.flash.active=!1},_escapeHtml:function(t){return t.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_qualifyURL:function(t){var e=document.createElement("div");return e.innerHTML='<a href="'+this._escapeHtml(t)+'">x</a>',e.firstChild.href},_absoluteMediaUrls:function(e){var s=this;return t.each(e,function(t,i){i&&s.format[t]&&(e[t]=s._qualifyURL(i))}),e},addStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[t])},removeStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[t])},setMedia:function(e){var s=this,i=!1,a=this.status.media.poster!==e.poster;this._resetMedia(),this._resetGate(),this._resetActive(),this.androidFix.setMedia=!1,this.androidFix.play=!1,this.androidFix.pause=!1,e=this._absoluteMediaUrls(e),t.each(this.formats,function(a,n){var o="video"===s.format[n].media;return t.each(s.solutions,function(a,r){if(s[r].support[n]&&s._validString(e[n])){var l="html"===r;return o?(l?(s.html.video.gate=!0,s._html_setVideo(e),s.html.active=!0):(s.flash.gate=!0,s._flash_setVideo(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.show(),s.status.video=!0):(l?(s.html.audio.gate=!0,s._html_setAudio(e),s.html.active=!0,t.jPlayer.platform.android&&(s.androidFix.setMedia=!0)):(s.flash.gate=!0,s._flash_setAudio(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.hide(),s.status.video=!1),i=!0,!1}}),i?!1:void 0}),i?(this.status.nativeVideoControls&&this.html.video.gate||this._validString(e.poster)&&(a?this.htmlElement.poster.src=e.poster:this.internal.poster.jq.show()),this.css.jq.title.length&&"string"==typeof e.title&&(this.css.jq.title.html(e.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",e.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",e.title)),this.status.srcSet=!0,this.status.media=t.extend({},e),this._updateButtons(!1),this._updateInterface(),this._trigger(t.jPlayer.event.setmedia)):this._error({type:t.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SUPPORT,hint:t.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(t.jPlayer.focus=this)},play:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&!this.status.paused?this.pause(t):(t="number"==typeof t?t:0/0,this.status.srcSet?(this.focus(),this.html.active?this._html_play(t):this.flash.active&&this._flash_play(t)):this._urlNotSetError("play"))},videoPlay:function(){this.play()
2
  },pause:function(t){t="number"==typeof t?t:0/0,this.status.srcSet?this.html.active?this._html_pause(t):this.flash.active&&this._flash_pause(t):this._urlNotSetError("pause")},tellOthers:function(e,s){var i=this,a="function"==typeof s,n=Array.prototype.slice.call(arguments);"string"==typeof e&&(a&&n.splice(1,1),t.each(this.instances,function(){i.element!==this&&(!a||s.call(this.data("jPlayer"),i))&&this.jPlayer.apply(this,n)}))},pauseOthers:function(t){this.tellOthers("pause",function(){return this.status.srcSet},t)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(t){t=this._limitValue(t,0,100),this.status.srcSet?this.html.active?this._html_playHead(t):this.flash.active&&this._flash_playHead(t):this._urlNotSetError("playHead")},_muted:function(t){this.mutedWorker(t),this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},t)},mutedWorker:function(e){this.options.muted=e,this.html.used&&this._html_setProperty("muted",e),this.flash.used&&this._flash_mute(e),this.html.video.gate||this.html.audio.gate||(this._updateMute(e),this._updateVolume(this.options.volume),this._trigger(t.jPlayer.event.volumechange))},mute:function(t){var s="object"==typeof t;s&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(t=t===e?!0:!!t,this._muted(t))},unmute:function(t){t=t===e?!0:!!t,this._muted(!t)},_updateMute:function(t){t===e&&(t=this.options.muted),t?this.addStateClass("muted"):this.removeStateClass("muted"),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):t?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(t){this.volumeWorker(t),this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},t)},volumeWorker:function(e){e=this._limitValue(e,0,1),this.options.volume=e,this.html.used&&this._html_setProperty("volume",e),this.flash.used&&this._flash_volume(e),this.html.video.gate||this.html.audio.gate||(this._updateVolume(e),this._trigger(t.jPlayer.event.volumechange))},volumeBar:function(e){if(this.css.jq.volumeBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=s.height()-e.pageY+i.top,r=s.height();this.volume(this.options.verticalVolume?o/r:a/n)}this.options.muted&&this._muted(!1)},_updateVolume:function(t){t===e&&(t=this.options.volume),t=this.options.muted?0:t,this.status.noVolume?(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*t+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(e){var s=this;this.options.cssSelectorAncestor=e,this._removeUiClass(),this.ancestorJq=e?t(e):[],e&&1!==this.ancestorJq.length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),t.each(this.options.cssSelector,function(t,e){s._cssSelector(t,e)}),this._updateInterface(),this._updateButtons(),this._updateAutohide(),this._updateVolume(),this._updateMute()},_cssSelector:function(e,s){var i=this;if("string"==typeof s)if(t.jPlayer.prototype.options.cssSelector[e]){if(this.css.jq[e]&&this.css.jq[e].length&&this.css.jq[e].unbind(".jPlayer"),this.options.cssSelector[e]=s,this.css.cs[e]=this.options.cssSelectorAncestor+" "+s,this.css.jq[e]=s?t(this.css.cs[e]):[],this.css.jq[e].length&&this[e]){var a=function(s){s.preventDefault(),i[e](s),i.options.autoBlur&&t(this).blur()};this.css.jq[e].bind("click.jPlayer",a)}s&&1!==this.css.jq[e].length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[e],message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[e].length+" found for "+e+" method.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_METHOD,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:t.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_STRING,context:s,message:t.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:t.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(t){this.options.toggleDuration&&(this.options.captureDuration&&t.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(e){if(this.css.jq.seekBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=100*a/n;this.playHead(o)}},playbackRate:function(t){this._setOption("playbackRate",t)},playbackRateBar:function(e){if(this.css.jq.playbackRateBar.length){var s,i,a=t(e.currentTarget),n=a.offset(),o=e.pageX-n.left,r=a.width(),l=a.height()-e.pageY+n.top,h=a.height();s=this.options.verticalPlaybackRate?l/h:o/r,i=s*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate,this.playbackRate(i)}},_updatePlaybackRate:function(){var t=this.options.playbackRate,e=(t-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*e+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(t){var e="object"==typeof t;this._loop(e&&this.options.useStateClassSkin&&this.options.loop?!1:!0)},repeatOff:function(){this._loop(!1)},_loop:function(e){this.options.loop!==e&&(this.options.loop=e,this._updateButtons(),this._trigger(t.jPlayer.event.repeat))},option:function(s,i){var a=s;if(0===arguments.length)return t.extend(!0,{},this.options);if("string"==typeof s){var n=s.split(".");if(i===e){for(var o=t.extend(!0,{},this.options),r=0;r<n.length;r++){if(o[n[r]]===e)return this._warning({type:t.jPlayer.warning.OPTION_KEY,context:s,message:t.jPlayer.warningMsg.OPTION_KEY,hint:t.jPlayer.warningHint.OPTION_KEY}),e;o=o[n[r]]}return o}a={};for(var l=a,h=0;h<n.length;h++)h<n.length-1?(l[n[h]]={},l=l[n[h]]):l[n[h]]=i}return this._setOptions(a),this},_setOptions:function(e){var s=this;return t.each(e,function(t,e){s._setOption(t,e)}),this},_setOption:function(e,s){var i=this;switch(e){case"volume":this.volume(s);break;case"muted":this._muted(s);break;case"globalVolume":this.options[e]=s;break;case"cssSelectorAncestor":this._cssSelectorAncestor(s);break;case"cssSelector":t.each(s,function(t,e){i._cssSelector(t,e)});break;case"playbackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("playbackRate",s),this._updatePlaybackRate();break;case"defaultPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("defaultPlaybackRate",s),this._updatePlaybackRate();break;case"minPlaybackRate":this.options[e]=s=this._limitValue(s,.1,this.options.maxPlaybackRate-.1),this._updatePlaybackRate();break;case"maxPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate+.1,16),this._updatePlaybackRate();break;case"fullScreen":if(this.options[e]!==s){var a=t.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;(!a||a&&!this.status.waitForPlay)&&(a||(this.options[e]=s),s?this._requestFullscreen():this._exitFullscreen(),a||this._setOption("fullWindow",s))}break;case"fullWindow":this.options[e]!==s&&(this._removeUiClass(),this.options[e]=s,this._refreshSize());break;case"size":this.options.fullWindow||this.options[e].cssClass===s.cssClass||this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"sizeFull":this.options.fullWindow&&this.options[e].cssClass!==s.cssClass&&this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"autohide":this.options[e]=t.extend({},this.options[e],s),this._updateAutohide();break;case"loop":this._loop(s);break;case"remainingDuration":this.options[e]=s,this._updateInterface();break;case"toggleDuration":this.options[e]=s;break;case"nativeVideoControls":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this._restrictNativeVideoControls(),this._updateNativeVideoControls();break;case"noFullWindow":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this._restrictNativeVideoControls(),this._updateButtons();break;case"noVolume":this.options[e]=t.extend({},this.options[e],s),this.status.noVolume=this._uaBlocklist(this.options.noVolume),this._updateVolume(),this._updateMute();break;case"emulateHtml":this.options[e]!==s&&(this.options[e]=s,s?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case"timeFormat":this.options[e]=t.extend({},this.options[e],s);break;case"keyEnabled":this.options[e]=s,s||this!==t.jPlayer.focus||(t.jPlayer.focus=null);break;case"keyBindings":this.options[e]=t.extend(!0,{},this.options[e],s);break;case"audioFullScreen":this.options[e]=s;break;case"autoBlur":this.options[e]=s}return this},_refreshSize:function(){this._setSize(),this._addUiClass(),this._updateSize(),this._updateButtons(),this._updateAutohide(),this._trigger(t.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass),this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var t=this,e="mousemove.jPlayer",s=".jPlayerAutohide",i=e+s,a=function(){t.css.jq.gui.fadeIn(t.options.autohide.fadeIn,function(){clearTimeout(t.internal.autohideId),t.internal.autohideId=setTimeout(function(){t.css.jq.gui.fadeOut(t.options.autohide.fadeOut)},t.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),this.element.unbind(s),this.css.jq.gui.unbind(s),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(i,a),this.css.jq.gui.bind(i,a),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var e=this,s=t.jPlayer.nativeFeatures.fullscreen;s.api.fullscreenEnabled&&s.event.fullscreenchange&&("function"!=typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){e._fullscreenchange()}),document.addEventListener(s.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var e=t.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(e.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!t.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var e=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.requestFullscreen(e)},_exitFullscreen:function(){var e,s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.exitFullscreen(e)},_html_initMedia:function(e){var s=t(this.htmlElement.media).empty();t.each(e.track||[],function(t,e){var i=document.createElement("track");i.setAttribute("kind",e.kind?e.kind:""),i.setAttribute("src",e.src?e.src:""),i.setAttribute("srclang",e.srclang?e.srclang:""),i.setAttribute("label",e.label?e.label:""),e.def&&i.setAttribute("default",e.def),s.append(i)}),this.htmlElement.media.src=this.status.src,"none"!==this.options.preload&&this._html_load(),this._trigger(t.jPlayer.event.timeupdate)},_html_setFormat:function(e){var s=this;t.each(this.formats,function(t,i){return s.html.support[i]&&e[i]?(s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1):void 0})},_html_setAudio:function(t){this._html_setFormat(t),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia(t)},_html_setVideo:function(t){this._html_setFormat(t),this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(t.poster)?t.poster:""),this.htmlElement.media=this.htmlElement.video,this._html_initMedia(t)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=t;else if(isNaN(t))s.play();else{this.internal.cmdsIgnored&&s.play();try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t,s.play()}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.play(t)},250))}}this._html_checkWaitForPlay()},_html_pause:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.play=!1,t>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),s.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=t;else if(!isNaN(t))try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.pause(t)},250))}t>0&&this._html_checkWaitForPlay()},_html_playHead:function(t){var e=this,s=this.htmlElement.media;this._html_load();try{if("object"==typeof s.seekable&&s.seekable.length>0)s.currentTime=t*s.seekable.end(s.seekable.length-1)/100;else{if(!(s.duration>0)||isNaN(s.duration))throw"e";s.currentTime=t*s.duration/100}}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.playHead(t)},250))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(t,e){this.html.audio.available&&(this.htmlElement.audio[t]=e),this.html.video.available&&(this.htmlElement.video[t]=e)},_flash_setAudio:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4a":case"fla":s._getMovie().fl_setAudio_m4a(e[i]);break;case"mp3":s._getMovie().fl_setAudio_mp3(e[i]);break;case"rtmpa":s._getMovie().fl_setAudio_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_setVideo:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4v":case"flv":s._getMovie().fl_setVideo_m4v(e[i]);break;case"rtmpv":s._getMovie().fl_setVideo_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(0/0)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(t){this._flashError(t)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(t){this._flashError(t)}this.status.waitForLoad=!1},_flash_play:function(t){try{this._getMovie().fl_play(t)}catch(e){this._flashError(e)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(t){try{this._getMovie().fl_pause(t)}catch(e){this._flashError(e)}t>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(t){try{this._getMovie().fl_play_head(t)}catch(e){this._flashError(e)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(t){try{this._getMovie().fl_volume(t)}catch(e){this._flashError(e)}},_flash_mute:function(t){try{this._getMovie().fl_mute(t)}catch(e){this._flashError(e)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var t,e=0;if(window.ActiveXObject)try{if(t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var s=t.GetVariable("$version");s&&(s=s.split(" ")[1].split(","),e=parseInt(s[0],10)+"."+parseInt(s[1],10))}}catch(i){}else navigator.plugins&&navigator.mimeTypes.length>0&&(t=navigator.plugins["Shockwave Flash"],t&&(e=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")));return 1*e},_checkForFlash:function(t){var e=!1;return this._getFlashPluginVersion()>=t&&(e=!0),e},_validString:function(t){return t&&"string"==typeof t},_limitValue:function(t,e,s){return e>t?e:t>s?s:t},_urlNotSetError:function(e){this._error({type:t.jPlayer.error.URL_NOT_SET,context:e,message:t.jPlayer.errorMsg.URL_NOT_SET,hint:t.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(e){var s;s=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:t.jPlayer.error[s],context:this.internal.flash.swf,message:t.jPlayer.errorMsg[s]+e.message,hint:t.jPlayer.errorHint[s]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(e){this._trigger(t.jPlayer.event.error,e),this.options.errorAlerts&&this._alert("Error!"+(e.message?"\n"+e.message:"")+(e.hint?"\n"+e.hint:"")+"\nContext: "+e.context)},_warning:function(s){this._trigger(t.jPlayer.event.warning,e,s),this.options.warningAlerts&&this._alert("Warning!"+(s.message?"\n"+s.message:"")+(s.hint?"\n"+s.hint:"")+"\nContext: "+s.context)},_alert:function(t){var e="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+t;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(e):alert(e)},_emulateHtmlBridge:function(){var e=this;t.each(t.jPlayer.emulateMethods.split(/\s+/g),function(t,s){e.internal.domNode[s]=function(t){e[s](t)}}),t.each(t.jPlayer.event,function(s,i){var a=!0;t.each(t.jPlayer.reservedEvent.split(/\s+/g),function(t,e){return e===s?(a=!1,!1):void 0}),a&&e.element.bind(i+".jPlayer.jPlayerHtml",function(){e._emulateHtmlUpdate();var t=document.createEvent("Event");t.initEvent(s,!1,!0),e.internal.domNode.dispatchEvent(t)})})},_emulateHtmlUpdate:function(){var e=this;t.each(t.jPlayer.emulateStatus.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.status[s]}),t.each(t.jPlayer.emulateOptions.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.options[s]})},_destroyHtmlBridge:function(){var e=this;this.element.unbind(".jPlayerHtml");var s=t.jPlayer.emulateMethods+" "+t.jPlayer.emulateStatus+" "+t.jPlayer.emulateOptions;t.each(s.split(/\s+/g),function(t,s){delete e.internal.domNode[s]})}},t.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},t.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+t.jPlayer.prototype.version.script+" needs Jplayer.swf version "+t.jPlayer.prototype.version.needFlash+" but found "},t.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},t.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},t.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},t.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});
1
+ !function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery?t.jQuery:t.Zepto)}(this,function(t,e){t.fn.jPlayer=function(s){var i="jPlayer",a="string"==typeof s,n=Array.prototype.slice.call(arguments,1),o=this;return s=!a&&n.length?t.extend.apply(null,[!0,s].concat(n)):s,a&&"_"===s.charAt(0)?o:(this.each(a?function(){var a=t(this).data(i),r=a&&t.isFunction(a[s])?a[s].apply(a,n):a;return r!==a&&r!==e?(o=r,!1):void 0}:function(){var e=t(this).data(i);e?e.option(s||{}):t(this).data(i,new t.jPlayer(s,this))}),o)},t.jPlayer=function(e,s){if(arguments.length){this.element=t(s),this.options=t.extend(!0,{},this.options,e);var i=this;this.element.bind("remove.jPlayer",function(){i.destroy()}),this._init()}},"function"!=typeof t.fn.stop&&(t.fn.stop=function(){}),t.jPlayer.emulateMethods="load play pause",t.jPlayer.emulateStatus="src readyState networkState currentTime duration paused ended playbackRate",t.jPlayer.emulateOptions="muted volume",t.jPlayer.reservedEvent="ready flashreset resize repeat error warning",t.jPlayer.event={},t.each(["ready","setmedia","flashreset","resize","repeat","click","error","warning","loadstart","progress","suspend","abort","emptied","stalled","play","pause","loadedmetadata","loadeddata","waiting","playing","canplay","canplaythrough","seeking","seeked","timeupdate","ended","ratechange","durationchange","volumechange"],function(){t.jPlayer.event[this]="jPlayer_"+this}),t.jPlayer.htmlEvent=["loadstart","abort","emptied","stalled","loadedmetadata","canplay","canplaythrough"],t.jPlayer.pause=function(){t.each(t.jPlayer.prototype.instances,function(t,e){e.data("jPlayer").status.srcSet&&e.jPlayer("pause")})},t.jPlayer.timeFormat={showHour:!1,showMin:!0,showSec:!0,padHour:!1,padMin:!0,padSec:!0,sepHour:":",sepMin:":",sepSec:""};var s=function(){this.init()};s.prototype={init:function(){this.options={timeFormat:t.jPlayer.timeFormat}},time:function(t){t=t&&"number"==typeof t?t:0;var e=new Date(1e3*t),s=e.getUTCHours(),i=this.options.timeFormat.showHour?e.getUTCMinutes():e.getUTCMinutes()+60*s,a=this.options.timeFormat.showMin?e.getUTCSeconds():e.getUTCSeconds()+60*i,n=this.options.timeFormat.padHour&&10>s?"0"+s:s,o=this.options.timeFormat.padMin&&10>i?"0"+i:i,r=this.options.timeFormat.padSec&&10>a?"0"+a:a,l="";return l+=this.options.timeFormat.showHour?n+this.options.timeFormat.sepHour:"",l+=this.options.timeFormat.showMin?o+this.options.timeFormat.sepMin:"",l+=this.options.timeFormat.showSec?r+this.options.timeFormat.sepSec:""}};var i=new s;t.jPlayer.convertTime=function(t){return i.time(t)},t.jPlayer.uaBrowser=function(t){var e=t.toLowerCase(),s=/(webkit)[ \/]([\w.]+)/,i=/(opera)(?:.*version)?[ \/]([\w.]+)/,a=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,o=s.exec(e)||i.exec(e)||a.exec(e)||e.indexOf("compatible")<0&&n.exec(e)||[];return{browser:o[1]||"",version:o[2]||"0"}},t.jPlayer.uaPlatform=function(t){var e=t.toLowerCase(),s=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/,i=/(ipad|playbook)/,a=/(android)/,n=/(mobile)/,o=s.exec(e)||[],r=i.exec(e)||!n.exec(e)&&a.exec(e)||[];return o[1]&&(o[1]=o[1].replace(/\s/g,"_")),{platform:o[1]||"",tablet:r[1]||""}},t.jPlayer.browser={},t.jPlayer.platform={};var a=t.jPlayer.uaBrowser(navigator.userAgent);a.browser&&(t.jPlayer.browser[a.browser]=!0,t.jPlayer.browser.version=a.version);var n=t.jPlayer.uaPlatform(navigator.userAgent);n.platform&&(t.jPlayer.platform[n.platform]=!0,t.jPlayer.platform.mobile=!n.tablet,t.jPlayer.platform.tablet=!!n.tablet),t.jPlayer.getDocMode=function(){var e;return t.jPlayer.browser.msie&&(document.documentMode?e=document.documentMode:(e=5,document.compatMode&&"CSS1Compat"===document.compatMode&&(e=7))),e},t.jPlayer.browser.documentMode=t.jPlayer.getDocMode(),t.jPlayer.nativeFeatures={init:function(){var t,e,s,i=document,a=i.createElement("video"),n={w3c:["fullscreenEnabled","fullscreenElement","requestFullscreen","exitFullscreen","fullscreenchange","fullscreenerror"],moz:["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror"],webkit:["","webkitCurrentFullScreenElement","webkitRequestFullScreen","webkitCancelFullScreen","webkitfullscreenchange",""],webkitVideo:["webkitSupportsFullscreen","webkitDisplayingFullscreen","webkitEnterFullscreen","webkitExitFullscreen","",""]},o=["w3c","moz","webkit","webkitVideo"];for(this.fullscreen=t={support:{w3c:!!i[n.w3c[0]],moz:!!i[n.moz[0]],webkit:"function"==typeof i[n.webkit[3]],webkitVideo:"function"==typeof a[n.webkitVideo[2]]},used:{}},e=0,s=o.length;s>e;e++){var r=o[e];if(t.support[r]){t.spec=r,t.used[r]=!0;break}}if(t.spec){var l=n[t.spec];t.api={fullscreenEnabled:!0,fullscreenElement:function(t){return t=t?t:i,t[l[1]]},requestFullscreen:function(t){return t[l[2]]()},exitFullscreen:function(t){return t=t?t:i,t[l[3]]()}},t.event={fullscreenchange:l[4],fullscreenerror:l[5]}}else t.api={fullscreenEnabled:!1,fullscreenElement:function(){return null},requestFullscreen:function(){},exitFullscreen:function(){}},t.event={}}},t.jPlayer.nativeFeatures.init(),t.jPlayer.focus=null,t.jPlayer.keyIgnoreElementNames="A INPUT TEXTAREA SELECT BUTTON";var o=function(e){var s,i=t.jPlayer.focus,a=document.activeElement;i&&("undefined"!=typeof a?null!==a&&"BODY"!==a.nodeName.toUpperCase()&&(s=!0):t.each(t.jPlayer.keyIgnoreElementNames.split(/\s+/g),function(t,i){return e.target.nodeName.toUpperCase()===i.toUpperCase()?(s=!0,!1):void 0}),s||t.each(i.options.keyBindings,function(s,a){return a&&e.which===a.key&&t.isFunction(a.fn)?(e.preventDefault(),a.fn(i),!1):void 0}))};t.jPlayer.keys=function(e){var s="keydown.jPlayer";t(document.documentElement).unbind(s),e&&t(document.documentElement).bind(s,o)},t.jPlayer.keys(!0),t.jPlayer.prototype={count:0,version:{script:"2.7.1",needFlash:"2.7.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:.8,muted:!1,remainingDuration:!1,toggleDuration:!1,captureDuration:!0,playbackRate:1,defaultPlaybackRate:1,minPlaybackRate:.5,maxPlaybackRate:4,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",playbackRateBar:".jp-playback-rate-bar",playbackRateBarValue:".jp-playback-rate-bar-value",currentTime:".jp-current-time",duration:".jp-duration",title:".jp-title",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},stateClass:{playing:"jp-state-playing",seeking:"jp-state-seeking",muted:"jp-state-muted",looped:"jp-state-looped",fullScreen:"jp-state-full-screen"},useStateClassSkin:!1,autoBlur:!0,smoothPlayBar:!1,fullScreen:!1,fullWindow:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(e){e.jPlayer.options.loop?t(this).unbind(".jPlayerRepeat").bind(t.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){t(this).jPlayer("play")}):t(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullWindow:{msie:/msie [0-6]\./,ipad:/ipad.*?os [0-4]\./,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3]\.(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,iemobile:/iemobile/,webos:/webos/,playbook:/playbook/},timeFormat:{},keyEnabled:!1,audioFullScreen:!1,keyBindings:{play:{key:32,fn:function(t){t.status.paused?t.play():t.pause()}},fullScreen:{key:13,fn:function(t){(t.status.video||t.options.audioFullScreen)&&t._setOption("fullScreen",!t.options.fullScreen)}},muted:{key:8,fn:function(t){t._muted(!t.options.muted)}},volumeUp:{key:38,fn:function(t){t.volume(t.options.volume+.1)}},volumeDown:{key:40,fn:function(t){t.volume(t.options.volume-.1)}}},verticalVolume:!1,verticalPlaybackRate:!1,globalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,consoleAlerts:!0,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,remaining:0,videoWidth:0,videoHeight:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:"audio/mpeg",flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},m3u8a:{codec:'application/vnd.apple.mpegurl; codecs="mp4a.40.2"',flashCanPlay:!1,media:"audio"},m3ua:{codec:"audio/mpegurl",flashCanPlay:!1,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis, opus"',flashCanPlay:!1,media:"audio"},flac:{codec:"audio/x-flac",flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},m3u8v:{codec:'application/vnd.apple.mpegurl; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!1,media:"video"},m3uv:{codec:"audio/mpegurl",flashCanPlay:!1,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var s=this;if(this.element.empty(),this.status=t.extend({},this.status),this.internal=t.extend({},this.internal),this.options.timeFormat=t.extend({},t.jPlayer.timeFormat,this.options.timeFormat),this.internal.cmdsIgnored=t.jPlayer.platform.ipad||t.jPlayer.platform.iphone||t.jPlayer.platform.ipod,this.internal.domNode=this.element.get(0),this.options.keyEnabled&&!t.jPlayer.focus&&(t.jPlayer.focus=this),this.androidFix={setMedia:!1,play:!1,pause:!1,time:0/0},t.jPlayer.platform.android&&(this.options.preload="auto"!==this.options.preload?"metadata":"auto"),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),t.each(this.options.supplied.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.format[a]){var n=!1;t.each(s.formats,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.formats.push(a)}}),t.each(this.options.solution.toLowerCase().split(","),function(e,i){var a=i.replace(/^\s+|\s+$/g,"");if(s.solution[a]){var n=!1;t.each(s.solutions,function(t,e){return a===e?(n=!0,!1):void 0}),n||s.solutions.push(a)}}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=t.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=t.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:e}),this.internal.video=t.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:e}),this.internal.flash=t.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:e,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"/":"")+"Jplayer.swf":"")}),this.internal.poster=t.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:e}),t.each(t.jPlayer.event,function(t,i){s.options[t]!==e&&(s.element.bind(i+".jPlayer",s.options[t]),s.options[t]=e)}),this.require.audio=!1,this.require.video=!1,t.each(this.formats,function(t,e){s.require[s.format[e].media]=!0}),this.options=this.require.video?t.extend(!0,{},this.optionsVideo,this.options):t.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this.status.noVolume=this._uaBlocklist(this.options.noVolume),t.jPlayer.nativeFeatures.fullscreen.api.fullscreenEnabled&&this._fullscreenAddEventListeners(),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){(!s.status.video||s.status.waitForPlay)&&s.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=t("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10.1),this.html.canPlay={},this.flash.canPlay={},t.each(this.formats,function(t,e){s.html.canPlay[e]=s.html[s.format[e].media].available&&""!==s.htmlElement[s.format[e].media].canPlayType(s.format[e].codec),s.flash.canPlay[e]=s.format[e].flashCanPlay&&s.flash.available}),this.html.desired=!1,this.flash.desired=!1,t.each(this.solutions,function(e,i){if(0===e)s[i].desired=!0;else{var a=!1,n=!1;t.each(s.formats,function(t,e){s[s.solutions[0]].canPlay[e]&&("video"===s.format[e].media?n=!0:a=!0)}),s[i].desired=s.require.audio&&!a||s.require.video&&!n}}),this.html.support={},this.flash.support={},t.each(this.formats,function(t,e){s.html.support[e]=s.html.canPlay[e]&&s.html.desired,s.flash.support[e]=s.flash.canPlay[e]&&s.flash.desired}),this.html.used=!1,this.flash.used=!1,t.each(this.solutions,function(e,i){t.each(s.formats,function(t,e){return s[i].support[e]?(s[i].used=!0,!1):void 0})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:t.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SOLUTION,hint:t.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var i,a="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(t.jPlayer.browser.msie&&(Number(t.jPlayer.browser.version)<9||t.jPlayer.browser.documentMode<9)){var n='<object id="'+this.internal.flash.id+'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="0" height="0" tabindex="-1"></object>',o=['<param name="movie" value="'+this.internal.flash.swf+'" />','<param name="FlashVars" value="'+a+'" />','<param name="allowScriptAccess" value="always" />','<param name="bgcolor" value="'+this.options.backgroundColor+'" />','<param name="wmode" value="'+this.options.wmode+'" />'];i=document.createElement(n);for(var r=0;r<o.length;r++)i.appendChild(document.createElement(o[r]))}else{var l=function(t,e,s){var i=document.createElement("param");i.setAttribute("name",e),i.setAttribute("value",s),t.appendChild(i)};i=document.createElement("object"),i.setAttribute("id",this.internal.flash.id),i.setAttribute("name",this.internal.flash.id),i.setAttribute("data",this.internal.flash.swf),i.setAttribute("type","application/x-shockwave-flash"),i.setAttribute("width","1"),i.setAttribute("height","1"),i.setAttribute("tabindex","-1"),l(i,"flashvars",a),l(i,"allowscriptaccess","always"),l(i,"bgcolor",this.options.backgroundColor),l(i,"wmode",this.options.wmode)}this.element.append(i),this.internal.flash.jq=t(i)}this.status.playbackRateEnabled=this.html.used&&!this.flash.used?this._testPlaybackRate("audio"):!1,this._updatePlaybackRate(),this.html.used&&(this.html.audio.available&&(this._addHtmlEventListeners(this.htmlElement.audio,this.html.audio),this.element.append(this.htmlElement.audio),this.internal.audio.jq=t("#"+this.internal.audio.id)),this.html.video.available&&(this._addHtmlEventListeners(this.htmlElement.video,this.html.video),this.element.append(this.htmlElement.video),this.internal.video.jq=t("#"+this.internal.video.id),this.internal.video.jq.css(this.status.nativeVideoControls?{width:this.status.width,height:this.status.height}:{width:"0px",height:"0px"}),this.internal.video.jq.bind("click.jPlayer",function(){s._trigger(t.jPlayer.event.click)}))),this.options.emulateHtml&&this._emulateHtmlBridge(),this.html.used&&!this.flash.used&&setTimeout(function(){s.internal.ready=!0,s.version.flash="n/a",s._trigger(t.jPlayer.event.repeat),s._trigger(t.jPlayer.event.ready)},100),this._updateNativeVideoControls(),this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),t.jPlayer.prototype.count++},destroy:function(){this.clearMedia(),this._removeUiClass(),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(""),this.css.jq.duration.length&&this.css.jq.duration.text(""),t.each(this.css.jq,function(t,e){e.length&&e.unbind(".jPlayer")}),this.internal.poster.jq.unbind(".jPlayer"),this.internal.video.jq&&this.internal.video.jq.unbind(".jPlayer"),this._fullscreenRemoveEventListeners(),this===t.jPlayer.focus&&(t.jPlayer.focus=null),this.options.emulateHtml&&this._destroyHtmlBridge(),this.element.removeData("jPlayer"),this.element.unbind(".jPlayer"),this.element.empty(),delete this.instances[this.internal.instance]},enable:function(){},disable:function(){},_testCanPlayType:function(t){try{return t.canPlayType(this.format.mp3.codec),!0}catch(e){return!1}},_testPlaybackRate:function(t){var e,s=.5;t="string"==typeof t?t:"audio",e=document.createElement(t);try{return"playbackRate"in e?(e.playbackRate=s,e.playbackRate===s):!1}catch(i){return!1}},_uaBlocklist:function(e){var s=navigator.userAgent.toLowerCase(),i=!1;return t.each(e,function(t,e){return e&&e.test(s)?(i=!0,!1):void 0}),i},_restrictNativeVideoControls:function(){this.require.audio&&this.status.nativeVideoControls&&(this.status.nativeVideoControls=!1,this.status.noFullWindow=!0)},_updateNativeVideoControls:function(){this.html.video.available&&this.html.used&&(this.htmlElement.video.controls=this.status.nativeVideoControls,this._updateAutohide(),this.status.nativeVideoControls&&this.require.video?(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})):this.status.waitForPlay&&this.status.video&&(this.internal.poster.jq.show(),this.internal.video.jq.css({width:"0px",height:"0px"})))},_addHtmlEventListeners:function(e,s){var i=this;e.preload=this.options.preload,e.muted=this.options.muted,e.volume=this.options.volume,this.status.playbackRateEnabled&&(e.defaultPlaybackRate=this.options.defaultPlaybackRate,e.playbackRate=this.options.playbackRate),e.addEventListener("progress",function(){s.gate&&(i.internal.cmdsIgnored&&this.readyState>0&&(i.internal.cmdsIgnored=!1),i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.progress))},!1),e.addEventListener("loadeddata",function(){s.gate&&(i.androidFix.setMedia=!1,i.androidFix.play&&(i.androidFix.play=!1,i.play(i.androidFix.time)),i.androidFix.pause&&(i.androidFix.pause=!1,i.pause(i.androidFix.time)),i._trigger(t.jPlayer.event.loadeddata))},!1),e.addEventListener("timeupdate",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.timeupdate))},!1),e.addEventListener("durationchange",function(){s.gate&&(i._getHtmlStatus(e),i._updateInterface(),i._trigger(t.jPlayer.event.durationchange))},!1),e.addEventListener("play",function(){s.gate&&(i._updateButtons(!0),i._html_checkWaitForPlay(),i._trigger(t.jPlayer.event.play))},!1),e.addEventListener("playing",function(){s.gate&&(i._updateButtons(!0),i._seeked(),i._trigger(t.jPlayer.event.playing))},!1),e.addEventListener("pause",function(){s.gate&&(i._updateButtons(!1),i._trigger(t.jPlayer.event.pause))},!1),e.addEventListener("waiting",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.waiting))},!1),e.addEventListener("seeking",function(){s.gate&&(i._seeking(),i._trigger(t.jPlayer.event.seeking))},!1),e.addEventListener("seeked",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.seeked))},!1),e.addEventListener("volumechange",function(){s.gate&&(i.options.volume=e.volume,i.options.muted=e.muted,i._updateMute(),i._updateVolume(),i._trigger(t.jPlayer.event.volumechange))},!1),e.addEventListener("ratechange",function(){s.gate&&(i.options.defaultPlaybackRate=e.defaultPlaybackRate,i.options.playbackRate=e.playbackRate,i._updatePlaybackRate(),i._trigger(t.jPlayer.event.ratechange))},!1),e.addEventListener("suspend",function(){s.gate&&(i._seeked(),i._trigger(t.jPlayer.event.suspend))},!1),e.addEventListener("ended",function(){s.gate&&(t.jPlayer.browser.webkit||(i.htmlElement.media.currentTime=0),i.htmlElement.media.pause(),i._updateButtons(!1),i._getHtmlStatus(e,!0),i._updateInterface(),i._trigger(t.jPlayer.event.ended))},!1),e.addEventListener("error",function(){s.gate&&(i._updateButtons(!1),i._seeked(),i.status.srcSet&&(clearTimeout(i.internal.htmlDlyCmdId),i.status.waitForLoad=!0,i.status.waitForPlay=!0,i.status.video&&!i.status.nativeVideoControls&&i.internal.video.jq.css({width:"0px",height:"0px"}),i._validString(i.status.media.poster)&&!i.status.nativeVideoControls&&i.internal.poster.jq.show(),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.show(),i._error({type:t.jPlayer.error.URL,context:i.status.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL})))},!1),t.each(t.jPlayer.htmlEvent,function(a,n){e.addEventListener(this,function(){s.gate&&i._trigger(t.jPlayer.event[n])},!1)})},_getHtmlStatus:function(t,e){var s=0,i=0,a=0,n=0;isFinite(t.duration)&&(this.status.duration=t.duration),s=t.currentTime,i=this.status.duration>0?100*s/this.status.duration:0,"object"==typeof t.seekable&&t.seekable.length>0?(a=this.status.duration>0?100*t.seekable.end(t.seekable.length-1)/this.status.duration:100,n=this.status.duration>0?100*t.currentTime/t.seekable.end(t.seekable.length-1):0):(a=100,n=i),e&&(s=0,n=0,i=0),this.status.seekPercent=a,this.status.currentPercentRelative=n,this.status.currentPercentAbsolute=i,this.status.currentTime=s,this.status.remaining=this.status.duration-this.status.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=t.readyState,this.status.networkState=t.networkState,this.status.playbackRate=t.playbackRate,this.status.ended=t.ended},_resetStatus:function(){this.status=t.extend({},this.status,t.jPlayer.prototype.status)},_trigger:function(e,s,i){var a=t.Event(e);a.jPlayer={},a.jPlayer.version=t.extend({},this.version),a.jPlayer.options=t.extend(!0,{},this.options),a.jPlayer.status=t.extend(!0,{},this.status),a.jPlayer.html=t.extend(!0,{},this.html),a.jPlayer.flash=t.extend(!0,{},this.flash),s&&(a.jPlayer.error=t.extend({},s)),i&&(a.jPlayer.warning=t.extend({},i)),this.element.trigger(a)},jPlayerFlashEvent:function(e,s){if(e===t.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var i=this.status.currentTime,a=this.status.paused;this.setMedia(this.status.media),this.volumeWorker(this.options.volume),i>0&&(a?this.pause(i):this.play(i))}this._trigger(t.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=s.version,this.version.needFlash!==this.version.flash&&this._error({type:t.jPlayer.error.VERSION,context:this.version.flash,message:t.jPlayer.errorMsg.VERSION+this.version.flash,hint:t.jPlayer.errorHint.VERSION}),this._trigger(t.jPlayer.event.repeat),this._trigger(e);if(this.flash.gate)switch(e){case t.jPlayer.event.progress:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.timeupdate:this._getFlashStatus(s),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.play:this._seeked(),this._updateButtons(!0),this._trigger(e);break;case t.jPlayer.event.pause:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.ended:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.click:this._trigger(e);break;case t.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:t.jPlayer.error.URL,context:s.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL});break;case t.jPlayer.event.seeking:this._seeking(),this._trigger(e);break;case t.jPlayer.event.seeked:this._seeked(),this._trigger(e);break;case t.jPlayer.event.ready:break;default:this._trigger(e)}return!1},_getFlashStatus:function(t){this.status.seekPercent=t.seekPercent,this.status.currentPercentRelative=t.currentPercentRelative,this.status.currentPercentAbsolute=t.currentPercentAbsolute,this.status.currentTime=t.currentTime,this.status.duration=t.duration,this.status.remaining=t.duration-t.currentTime,this.status.videoWidth=t.videoWidth,this.status.videoHeight=t.videoHeight,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(t){t===e?t=!this.status.paused:this.status.paused=!t,t?this.addStateClass("playing"):this.removeStateClass("playing"),!this.status.noFullWindow&&this.options.fullWindow?this.addStateClass("fullScreen"):this.removeStateClass("fullScreen"),this.options.loop?this.addStateClass("looped"):this.removeStateClass("looped"),this.css.jq.play.length&&this.css.jq.pause.length&&(t?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide())),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullWindow?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&(this.options.smoothPlayBar?this.css.jq.playBar.stop().animate({width:this.status.currentPercentAbsolute+"%"},250,"linear"):this.css.jq.playBar.width(this.status.currentPercentRelative+"%"));var t="";this.css.jq.currentTime.length&&(t=this._convertTime(this.status.currentTime),t!==this.css.jq.currentTime.text()&&this.css.jq.currentTime.text(this._convertTime(this.status.currentTime)));var e="",s=this.status.duration,i=this.status.remaining;this.css.jq.duration.length&&("string"==typeof this.status.media.duration?e=this.status.media.duration:("number"==typeof this.status.media.duration&&(s=this.status.media.duration,i=s-this.status.currentTime),e=this.options.remainingDuration?(i>0?"-":"")+this._convertTime(i):this._convertTime(s)),e!==this.css.jq.duration.text()&&this.css.jq.duration.text(e))},_convertTime:s.prototype.time,_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg"),this.addStateClass("seeking")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg"),this.removeStateClass("seeking")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.flash.active=!1},_escapeHtml:function(t){return t.split("&").join("&amp;").split("<").join("&lt;").split(">").join("&gt;").split('"').join("&quot;")},_qualifyURL:function(t){var e=document.createElement("div");return e.innerHTML='<a href="'+this._escapeHtml(t)+'">x</a>',e.firstChild.href},_absoluteMediaUrls:function(e){var s=this;return t.each(e,function(t,i){i&&s.format[t]&&(e[t]=s._qualifyURL(i))}),e},addStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.addClass(this.options.stateClass[t])},removeStateClass:function(t){this.ancestorJq.length&&this.ancestorJq.removeClass(this.options.stateClass[t])},setMedia:function(e){var s=this,i=!1,a=this.status.media.poster!==e.poster;this._resetMedia(),this._resetGate(),this._resetActive(),this.androidFix.setMedia=!1,this.androidFix.play=!1,this.androidFix.pause=!1,e=this._absoluteMediaUrls(e),t.each(this.formats,function(a,n){var o="video"===s.format[n].media;return t.each(s.solutions,function(a,r){if(s[r].support[n]&&s._validString(e[n])){var l="html"===r;return o?(l?(s.html.video.gate=!0,s._html_setVideo(e),s.html.active=!0):(s.flash.gate=!0,s._flash_setVideo(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.show(),s.status.video=!0):(l?(s.html.audio.gate=!0,s._html_setAudio(e),s.html.active=!0,t.jPlayer.platform.android&&(s.androidFix.setMedia=!0)):(s.flash.gate=!0,s._flash_setAudio(e),s.flash.active=!0),s.css.jq.videoPlay.length&&s.css.jq.videoPlay.hide(),s.status.video=!1),i=!0,!1}}),i?!1:void 0}),i?(this.status.nativeVideoControls&&this.html.video.gate||this._validString(e.poster)&&(a?this.htmlElement.poster.src=e.poster:this.internal.poster.jq.show()),this.css.jq.title.length&&"string"==typeof e.title&&(this.css.jq.title.html(e.title),this.htmlElement.audio&&this.htmlElement.audio.setAttribute("title",e.title),this.htmlElement.video&&this.htmlElement.video.setAttribute("title",e.title)),this.status.srcSet=!0,this.status.media=t.extend({},e),this._updateButtons(!1),this._updateInterface(),this._trigger(t.jPlayer.event.setmedia)):this._error({type:t.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SUPPORT,hint:t.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},focus:function(){this.options.keyEnabled&&(t.jPlayer.focus=this)},play:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&!this.status.paused?this.pause(t):(t="number"==typeof t?t:0/0,this.status.srcSet?(this.focus(),this.html.active?this._html_play(t):this.flash.active&&this._flash_play(t)):this._urlNotSetError("play"))},videoPlay:function(){this.play()
2
  },pause:function(t){t="number"==typeof t?t:0/0,this.status.srcSet?this.html.active?this._html_pause(t):this.flash.active&&this._flash_pause(t):this._urlNotSetError("pause")},tellOthers:function(e,s){var i=this,a="function"==typeof s,n=Array.prototype.slice.call(arguments);"string"==typeof e&&(a&&n.splice(1,1),t.each(this.instances,function(){i.element!==this&&(!a||s.call(this.data("jPlayer"),i))&&this.jPlayer.apply(this,n)}))},pauseOthers:function(t){this.tellOthers("pause",function(){return this.status.srcSet},t)},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(t){t=this._limitValue(t,0,100),this.status.srcSet?this.html.active?this._html_playHead(t):this.flash.active&&this._flash_playHead(t):this._urlNotSetError("playHead")},_muted:function(t){this.mutedWorker(t),this.options.globalVolume&&this.tellOthers("mutedWorker",function(){return this.options.globalVolume},t)},mutedWorker:function(e){this.options.muted=e,this.html.used&&this._html_setProperty("muted",e),this.flash.used&&this._flash_mute(e),this.html.video.gate||this.html.audio.gate||(this._updateMute(e),this._updateVolume(this.options.volume),this._trigger(t.jPlayer.event.volumechange))},mute:function(t){var s="object"==typeof t;s&&this.options.useStateClassSkin&&this.options.muted?this._muted(!1):(t=t===e?!0:!!t,this._muted(t))},unmute:function(t){t=t===e?!0:!!t,this._muted(!t)},_updateMute:function(t){t===e&&(t=this.options.muted),t?this.addStateClass("muted"):this.removeStateClass("muted"),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):t?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(t){this.volumeWorker(t),this.options.globalVolume&&this.tellOthers("volumeWorker",function(){return this.options.globalVolume},t)},volumeWorker:function(e){e=this._limitValue(e,0,1),this.options.volume=e,this.html.used&&this._html_setProperty("volume",e),this.flash.used&&this._flash_volume(e),this.html.video.gate||this.html.audio.gate||(this._updateVolume(e),this._trigger(t.jPlayer.event.volumechange))},volumeBar:function(e){if(this.css.jq.volumeBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=s.height()-e.pageY+i.top,r=s.height();this.volume(this.options.verticalVolume?o/r:a/n)}this.options.muted&&this._muted(!1)},_updateVolume:function(t){t===e&&(t=this.options.volume),t=this.options.muted?0:t,this.status.noVolume?(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*t+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(e){var s=this;this.options.cssSelectorAncestor=e,this._removeUiClass(),this.ancestorJq=e?t(e):[],e&&1!==this.ancestorJq.length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),t.each(this.options.cssSelector,function(t,e){s._cssSelector(t,e)}),this._updateInterface(),this._updateButtons(),this._updateAutohide(),this._updateVolume(),this._updateMute()},_cssSelector:function(e,s){var i=this;if("string"==typeof s)if(t.jPlayer.prototype.options.cssSelector[e]){if(this.css.jq[e]&&this.css.jq[e].length&&this.css.jq[e].unbind(".jPlayer"),this.options.cssSelector[e]=s,this.css.cs[e]=this.options.cssSelectorAncestor+" "+s,this.css.jq[e]=s?t(this.css.cs[e]):[],this.css.jq[e].length&&this[e]){var a=function(s){s.preventDefault(),i[e](s),i.options.autoBlur&&t(this).blur()};this.css.jq[e].bind("click.jPlayer",a)}s&&1!==this.css.jq[e].length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[e],message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[e].length+" found for "+e+" method.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT})}else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_METHOD,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:t.jPlayer.warningHint.CSS_SELECTOR_METHOD});else this._warning({type:t.jPlayer.warning.CSS_SELECTOR_STRING,context:s,message:t.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:t.jPlayer.warningHint.CSS_SELECTOR_STRING})},duration:function(t){this.options.toggleDuration&&(this.options.captureDuration&&t.stopPropagation(),this._setOption("remainingDuration",!this.options.remainingDuration))},seekBar:function(e){if(this.css.jq.seekBar.length){var s=t(e.currentTarget),i=s.offset(),a=e.pageX-i.left,n=s.width(),o=100*a/n;this.playHead(o)}},playbackRate:function(t){this._setOption("playbackRate",t)},playbackRateBar:function(e){if(this.css.jq.playbackRateBar.length){var s,i,a=t(e.currentTarget),n=a.offset(),o=e.pageX-n.left,r=a.width(),l=a.height()-e.pageY+n.top,h=a.height();s=this.options.verticalPlaybackRate?l/h:o/r,i=s*(this.options.maxPlaybackRate-this.options.minPlaybackRate)+this.options.minPlaybackRate,this.playbackRate(i)}},_updatePlaybackRate:function(){var t=this.options.playbackRate,e=(t-this.options.minPlaybackRate)/(this.options.maxPlaybackRate-this.options.minPlaybackRate);this.status.playbackRateEnabled?(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.show(),this.css.jq.playbackRateBarValue.length&&(this.css.jq.playbackRateBarValue.show(),this.css.jq.playbackRateBarValue[this.options.verticalPlaybackRate?"height":"width"](100*e+"%"))):(this.css.jq.playbackRateBar.length&&this.css.jq.playbackRateBar.hide(),this.css.jq.playbackRateBarValue.length&&this.css.jq.playbackRateBarValue.hide())},repeat:function(t){var e="object"==typeof t;this._loop(e&&this.options.useStateClassSkin&&this.options.loop?!1:!0)},repeatOff:function(){this._loop(!1)},_loop:function(e){this.options.loop!==e&&(this.options.loop=e,this._updateButtons(),this._trigger(t.jPlayer.event.repeat))},option:function(s,i){var a=s;if(0===arguments.length)return t.extend(!0,{},this.options);if("string"==typeof s){var n=s.split(".");if(i===e){for(var o=t.extend(!0,{},this.options),r=0;r<n.length;r++){if(o[n[r]]===e)return this._warning({type:t.jPlayer.warning.OPTION_KEY,context:s,message:t.jPlayer.warningMsg.OPTION_KEY,hint:t.jPlayer.warningHint.OPTION_KEY}),e;o=o[n[r]]}return o}a={};for(var l=a,h=0;h<n.length;h++)h<n.length-1?(l[n[h]]={},l=l[n[h]]):l[n[h]]=i}return this._setOptions(a),this},_setOptions:function(e){var s=this;return t.each(e,function(t,e){s._setOption(t,e)}),this},_setOption:function(e,s){var i=this;switch(e){case"volume":this.volume(s);break;case"muted":this._muted(s);break;case"globalVolume":this.options[e]=s;break;case"cssSelectorAncestor":this._cssSelectorAncestor(s);break;case"cssSelector":t.each(s,function(t,e){i._cssSelector(t,e)});break;case"playbackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("playbackRate",s),this._updatePlaybackRate();break;case"defaultPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate,this.options.maxPlaybackRate),this.html.used&&this._html_setProperty("defaultPlaybackRate",s),this._updatePlaybackRate();break;case"minPlaybackRate":this.options[e]=s=this._limitValue(s,.1,this.options.maxPlaybackRate-.1),this._updatePlaybackRate();break;case"maxPlaybackRate":this.options[e]=s=this._limitValue(s,this.options.minPlaybackRate+.1,16),this._updatePlaybackRate();break;case"fullScreen":if(this.options[e]!==s){var a=t.jPlayer.nativeFeatures.fullscreen.used.webkitVideo;(!a||a&&!this.status.waitForPlay)&&(a||(this.options[e]=s),s?this._requestFullscreen():this._exitFullscreen(),a||this._setOption("fullWindow",s))}break;case"fullWindow":this.options[e]!==s&&(this._removeUiClass(),this.options[e]=s,this._refreshSize());break;case"size":this.options.fullWindow||this.options[e].cssClass===s.cssClass||this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"sizeFull":this.options.fullWindow&&this.options[e].cssClass!==s.cssClass&&this._removeUiClass(),this.options[e]=t.extend({},this.options[e],s),this._refreshSize();break;case"autohide":this.options[e]=t.extend({},this.options[e],s),this._updateAutohide();break;case"loop":this._loop(s);break;case"remainingDuration":this.options[e]=s,this._updateInterface();break;case"toggleDuration":this.options[e]=s;break;case"nativeVideoControls":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this._restrictNativeVideoControls(),this._updateNativeVideoControls();break;case"noFullWindow":this.options[e]=t.extend({},this.options[e],s),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullWindow=this._uaBlocklist(this.options.noFullWindow),this._restrictNativeVideoControls(),this._updateButtons();break;case"noVolume":this.options[e]=t.extend({},this.options[e],s),this.status.noVolume=this._uaBlocklist(this.options.noVolume),this._updateVolume(),this._updateMute();break;case"emulateHtml":this.options[e]!==s&&(this.options[e]=s,s?this._emulateHtmlBridge():this._destroyHtmlBridge());break;case"timeFormat":this.options[e]=t.extend({},this.options[e],s);break;case"keyEnabled":this.options[e]=s,s||this!==t.jPlayer.focus||(t.jPlayer.focus=null);break;case"keyBindings":this.options[e]=t.extend(!0,{},this.options[e],s);break;case"audioFullScreen":this.options[e]=s;break;case"autoBlur":this.options[e]=s}return this},_refreshSize:function(){this._setSize(),this._addUiClass(),this._updateSize(),this._updateButtons(),this._updateAutohide(),this._trigger(t.jPlayer.event.resize)},_setSize:function(){this.options.fullWindow?(this.status.width=this.options.sizeFull.width,this.status.height=this.options.sizeFull.height,this.status.cssClass=this.options.sizeFull.cssClass):(this.status.width=this.options.size.width,this.status.height=this.options.size.height,this.status.cssClass=this.options.size.cssClass),this.element.css({width:this.status.width,height:this.status.height})},_addUiClass:function(){this.ancestorJq.length&&this.ancestorJq.addClass(this.status.cssClass)},_removeUiClass:function(){this.ancestorJq.length&&this.ancestorJq.removeClass(this.status.cssClass)},_updateSize:function(){this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),!this.status.waitForPlay&&this.html.active&&this.status.video||this.html.video.available&&this.html.used&&this.status.nativeVideoControls?this.internal.video.jq.css({width:this.status.width,height:this.status.height}):!this.status.waitForPlay&&this.flash.active&&this.status.video&&this.internal.flash.jq.css({width:this.status.width,height:this.status.height})},_updateAutohide:function(){var t=this,e="mousemove.jPlayer",s=".jPlayerAutohide",i=e+s,a=function(){t.css.jq.gui.fadeIn(t.options.autohide.fadeIn,function(){clearTimeout(t.internal.autohideId),t.internal.autohideId=setTimeout(function(){t.css.jq.gui.fadeOut(t.options.autohide.fadeOut)},t.options.autohide.hold)})};this.css.jq.gui.length&&(this.css.jq.gui.stop(!0,!0),clearTimeout(this.internal.autohideId),this.element.unbind(s),this.css.jq.gui.unbind(s),this.status.nativeVideoControls?this.css.jq.gui.hide():this.options.fullWindow&&this.options.autohide.full||!this.options.fullWindow&&this.options.autohide.restored?(this.element.bind(i,a),this.css.jq.gui.bind(i,a),this.css.jq.gui.hide()):this.css.jq.gui.show())},fullScreen:function(t){var e="object"==typeof t;e&&this.options.useStateClassSkin&&this.options.fullScreen?this._setOption("fullScreen",!1):this._setOption("fullScreen",!0)},restoreScreen:function(){this._setOption("fullScreen",!1)},_fullscreenAddEventListeners:function(){var e=this,s=t.jPlayer.nativeFeatures.fullscreen;s.api.fullscreenEnabled&&s.event.fullscreenchange&&("function"!=typeof this.internal.fullscreenchangeHandler&&(this.internal.fullscreenchangeHandler=function(){e._fullscreenchange()}),document.addEventListener(s.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1))},_fullscreenRemoveEventListeners:function(){var e=t.jPlayer.nativeFeatures.fullscreen;this.internal.fullscreenchangeHandler&&document.removeEventListener(e.event.fullscreenchange,this.internal.fullscreenchangeHandler,!1)},_fullscreenchange:function(){this.options.fullScreen&&!t.jPlayer.nativeFeatures.fullscreen.api.fullscreenElement()&&this._setOption("fullScreen",!1)},_requestFullscreen:function(){var e=this.ancestorJq.length?this.ancestorJq[0]:this.element[0],s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.requestFullscreen(e)},_exitFullscreen:function(){var e,s=t.jPlayer.nativeFeatures.fullscreen;s.used.webkitVideo&&(e=this.htmlElement.video),s.api.fullscreenEnabled&&s.api.exitFullscreen(e)},_html_initMedia:function(e){var s=t(this.htmlElement.media).empty();t.each(e.track||[],function(t,e){var i=document.createElement("track");i.setAttribute("kind",e.kind?e.kind:""),i.setAttribute("src",e.src?e.src:""),i.setAttribute("srclang",e.srclang?e.srclang:""),i.setAttribute("label",e.label?e.label:""),e.def&&i.setAttribute("default",e.def),s.append(i)}),this.htmlElement.media.src=this.status.src,"none"!==this.options.preload&&this._html_load(),this._trigger(t.jPlayer.event.timeupdate)},_html_setFormat:function(e){var s=this;t.each(this.formats,function(t,i){return s.html.support[i]&&e[i]?(s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1):void 0})},_html_setAudio:function(t){this._html_setFormat(t),this.htmlElement.media=this.htmlElement.audio,this._html_initMedia(t)},_html_setVideo:function(t){this._html_setFormat(t),this.status.nativeVideoControls&&(this.htmlElement.video.poster=this._validString(t.poster)?t.poster:""),this.htmlElement.media=this.htmlElement.video,this._html_initMedia(t)},_html_resetMedia:function(){this.htmlElement.media&&(this.htmlElement.media.id!==this.internal.video.id||this.status.nativeVideoControls||this.internal.video.jq.css({width:"0px",height:"0px"}),this.htmlElement.media.pause())},_html_clearMedia:function(){this.htmlElement.media&&(this.htmlElement.media.src="about:blank",this.htmlElement.media.load())},_html_load:function(){this.status.waitForLoad&&(this.status.waitForLoad=!1,this.htmlElement.media.load()),clearTimeout(this.internal.htmlDlyCmdId)},_html_play:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.pause=!1,this._html_load(),this.androidFix.setMedia)this.androidFix.play=!0,this.androidFix.time=t;else if(isNaN(t))s.play();else{this.internal.cmdsIgnored&&s.play();try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t,s.play()}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.play(t)},250))}}this._html_checkWaitForPlay()},_html_pause:function(t){var e=this,s=this.htmlElement.media;if(this.androidFix.play=!1,t>0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),s.pause(),this.androidFix.setMedia)this.androidFix.pause=!0,this.androidFix.time=t;else if(!isNaN(t))try{if(s.seekable&&!("object"==typeof s.seekable&&s.seekable.length>0))throw 1;s.currentTime=t}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.pause(t)},250))}t>0&&this._html_checkWaitForPlay()},_html_playHead:function(t){var e=this,s=this.htmlElement.media;this._html_load();try{if("object"==typeof s.seekable&&s.seekable.length>0)s.currentTime=t*s.seekable.end(s.seekable.length-1)/100;else{if(!(s.duration>0)||isNaN(s.duration))throw"e";s.currentTime=t*s.duration/100}}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.playHead(t)},250))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_setProperty:function(t,e){this.html.audio.available&&(this.htmlElement.audio[t]=e),this.html.video.available&&(this.htmlElement.video[t]=e)},_flash_setAudio:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4a":case"fla":s._getMovie().fl_setAudio_m4a(e[i]);break;case"mp3":s._getMovie().fl_setAudio_mp3(e[i]);break;case"rtmpa":s._getMovie().fl_setAudio_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_setVideo:function(e){var s=this;try{t.each(this.formats,function(t,i){if(s.flash.support[i]&&e[i]){switch(i){case"m4v":case"flv":s._getMovie().fl_setVideo_m4v(e[i]);break;case"rtmpv":s._getMovie().fl_setVideo_rtmp(e[i])}return s.status.src=e[i],s.status.format[i]=!0,s.status.formatType=i,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(i){this._flashError(i)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(0/0)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(t){this._flashError(t)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(t){this._flashError(t)}this.status.waitForLoad=!1},_flash_play:function(t){try{this._getMovie().fl_play(t)}catch(e){this._flashError(e)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(t){try{this._getMovie().fl_pause(t)}catch(e){this._flashError(e)}t>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(t){try{this._getMovie().fl_play_head(t)}catch(e){this._flashError(e)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(t){try{this._getMovie().fl_volume(t)}catch(e){this._flashError(e)}},_flash_mute:function(t){try{this._getMovie().fl_mute(t)}catch(e){this._flashError(e)}},_getMovie:function(){return document[this.internal.flash.id]},_getFlashPluginVersion:function(){var t,e=0;if(window.ActiveXObject)try{if(t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")){var s=t.GetVariable("$version");s&&(s=s.split(" ")[1].split(","),e=parseInt(s[0],10)+"."+parseInt(s[1],10))}}catch(i){}else navigator.plugins&&navigator.mimeTypes.length>0&&(t=navigator.plugins["Shockwave Flash"],t&&(e=navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")));return 1*e},_checkForFlash:function(t){var e=!1;return this._getFlashPluginVersion()>=t&&(e=!0),e},_validString:function(t){return t&&"string"==typeof t},_limitValue:function(t,e,s){return e>t?e:t>s?s:t},_urlNotSetError:function(e){this._error({type:t.jPlayer.error.URL_NOT_SET,context:e,message:t.jPlayer.errorMsg.URL_NOT_SET,hint:t.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(e){var s;s=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:t.jPlayer.error[s],context:this.internal.flash.swf,message:t.jPlayer.errorMsg[s]+e.message,hint:t.jPlayer.errorHint[s]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(e){this._trigger(t.jPlayer.event.error,e),this.options.errorAlerts&&this._alert("Error!"+(e.message?"\n"+e.message:"")+(e.hint?"\n"+e.hint:"")+"\nContext: "+e.context)},_warning:function(s){this._trigger(t.jPlayer.event.warning,e,s),this.options.warningAlerts&&this._alert("Warning!"+(s.message?"\n"+s.message:"")+(s.hint?"\n"+s.hint:"")+"\nContext: "+s.context)},_alert:function(t){var e="jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+t;this.options.consoleAlerts?window.console&&window.console.log&&window.console.log(e):alert(e)},_emulateHtmlBridge:function(){var e=this;t.each(t.jPlayer.emulateMethods.split(/\s+/g),function(t,s){e.internal.domNode[s]=function(t){e[s](t)}}),t.each(t.jPlayer.event,function(s,i){var a=!0;t.each(t.jPlayer.reservedEvent.split(/\s+/g),function(t,e){return e===s?(a=!1,!1):void 0}),a&&e.element.bind(i+".jPlayer.jPlayerHtml",function(){e._emulateHtmlUpdate();var t=document.createEvent("Event");t.initEvent(s,!1,!0),e.internal.domNode.dispatchEvent(t)})})},_emulateHtmlUpdate:function(){var e=this;t.each(t.jPlayer.emulateStatus.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.status[s]}),t.each(t.jPlayer.emulateOptions.split(/\s+/g),function(t,s){e.internal.domNode[s]=e.options[s]})},_destroyHtmlBridge:function(){var e=this;this.element.unbind(".jPlayerHtml");var s=t.jPlayer.emulateMethods+" "+t.jPlayer.emulateStatus+" "+t.jPlayer.emulateOptions;t.each(s.split(/\s+/g),function(t,s){delete e.internal.domNode[s]})}},t.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},t.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+t.jPlayer.prototype.version.script+" needs Jplayer.swf version "+t.jPlayer.prototype.version.needFlash+" but found "},t.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},t.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},t.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},t.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}});
js/{mp3-jplayer-2.3.2.js → mp3-jplayer-2.3.3.js} RENAMED
@@ -1,1039 +1,1039 @@
1
- /*
2
- MP3-jPlayer
3
- Version 2.3.1
4
- http://mp3-jplayer.com
5
- 2015 Simon Ward
6
- */
7
-
8
- var MP3_JPLAYER = {
9
-
10
- tID: '',
11
- state: '',
12
- pl_info: [],
13
- load_pc: 0,
14
- played_t: 0,
15
- total_t: 0,
16
- pp_abs: 0,
17
- dl_dialogs: [],
18
- timeoutIDs: [],
19
- intervalIDs: [],
20
- jperrorIDs: [],
21
- dl_domain: '',
22
- jp_audio: {},
23
- jp_seekable: 0,
24
- sliding: false,
25
- jpID: '#mp3_jplayer_1_8',
26
- plugin_path: '',
27
- lastformats: 'mp3',
28
- allowRanges: true,
29
- extCalls: {
30
- init:[],
31
- change_pre: [],
32
- change_begin: [],
33
- change_end: [],
34
- change_post: [],
35
- button_playpause: [],
36
- button_popout: [],
37
- update_time: [],
38
- write_titles: [],
39
- write_download: [],
40
- download: [],
41
- download_dialog: [],
42
- error: []
43
- },
44
- extStyles: [],
45
- extJS: [],
46
- skinJS: '',
47
- mutes: [],
48
- preSlideVol: false,
49
- exData: false,
50
- exThresh: 2,
51
- showErrors: false,
52
- factors: { vol: 1 },
53
-
54
- vars: {
55
- play_f: true,
56
- stylesheet_url: '',
57
- dload_text: '',
58
- force_dload: true,
59
- message_interval: '<h2>Download Audio</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
60
- message_ok: '',
61
- message_indark: '<h2>Download Audio</h2><p>Your download should start in a second!</p>',
62
- message_promtlink: '<h2>Download Audio</h2><p>Link to the file:</p><h3><a target="_blank" href="#1">#2</a></h3><p>Depending on your browser settings, you may need to right click the link to save it.</p>',
63
- message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
64
- message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
65
- message_nosolution: 'Unable to play this item, please update your browser or try another.',
66
- message_nosolution_mpeg: 'To play this item please update your browser or get the <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.',
67
- message_bad_url: 'Can\'t locate audio.',
68
- dl_remote_path: ''
69
- },
70
-
71
- eID: {
72
- play: '#playpause_mp3j_',
73
- playW: '#playpause_wrap_mp3j_',
74
- stp: '#stop_mp3j_',
75
- prev: '#Prev_mp3j_',
76
- next: '#Next_mp3j_',
77
- vol: '#vol_mp3j_',
78
- loader: '#load_mp3j_',
79
- pos: '#posbar_mp3j_',
80
- poscol: '#poscol_mp3j_',
81
- title: '#T_mp3j_',
82
- caption: '#C_mp3j_',
83
- pT: '#P-Time-MI_',
84
- tT: '#T-Time-MI_',
85
- dload: '#download_mp3j_',
86
- plwrap: '#L_mp3j_',
87
- ul: '#UL_mp3j_',
88
- a: 'mp3j_A_', //No hash!
89
- indiM: '#statusMI_',
90
- toglist: '#playlist-toggle_',
91
- lPP: '#lpp_mp3j_',
92
- pplink: '#mp3j_popout_',
93
- img: '#MI_image_'
94
- },
95
-
96
- runExternals: function ( hookname, data ) {
97
- var l = this.extCalls[ hookname ].length;
98
- for ( var x = 0; x < l; x += 1 ) {
99
- ( this.extCalls[ hookname ][ x ] )( data );
100
- }
101
- },
102
-
103
- initialise_jp: function ( supplied, track, vol ) {
104
- var that = this;
105
- jQuery(this.jpID).jPlayer({
106
- ready: function () {
107
- if ( track === true ) {
108
- var dinfo = that.deviceInfo();
109
- if ( dinfo.device === 'Desk/Laptop' ) {
110
- that.startup();
111
- } else { //just remove first autolay if there's any
112
- var j;
113
- for ( j in that.pl_info ) {
114
- if ( that.pl_info[j].autoplay ) {
115
- that.pl_info[j].autoplay = false;
116
- break;
117
- }
118
- }
119
- }
120
- } else {
121
- that.setAudio( track );
122
- that.playit();
123
- jQuery(that.jpID).jPlayer("volume", that.factors.vol * vol/100 ); //Set to player vol
124
- if ( track === false ) { //silence
125
- that.clearit();
126
- }
127
- }
128
- },
129
- swfPath: that.plugin_path + '/js/Jplayer271.swf',
130
- volume: 1,
131
- supplied: supplied,
132
- wmode: "window",
133
- solution:"html, flash",
134
- error: function( event ) {
135
- that.check_show_jperrors( event );
136
- },
137
- preload: "none"
138
- });
139
- jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
140
- that.E_complete(that.tID);
141
- });
142
- jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
143
- var lp = that.get_loaded(event);
144
- var ppA = event.jPlayer.status.currentPercentAbsolute;
145
- var pt = event.jPlayer.status.currentTime;
146
- var tt = event.jPlayer.status.duration;
147
- that.E_update(that.tID, lp, ppA, pt, tt);
148
- });
149
- jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
150
- if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
151
- that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
152
- } else {
153
- that.jp_audio = 'flash';
154
- }
155
- });
156
- jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
157
- var lp = that.get_loaded(event);
158
- var pt = event.jPlayer.status.currentTime;
159
- var tt = event.jPlayer.status.duration;
160
- that.E_loading( that.tID, lp, tt, pt );
161
- });
162
-
163
- that.lastformats = supplied;
164
- },
165
-
166
- init: function () {
167
- var plpath;
168
- plpath = this.plugin_path.split('/');
169
- this.dl_domain = plpath[2].replace(/^www./i, "");
170
-
171
- this.unwrap();
172
- this.write_controls();
173
- this.add_jpconstruct_div();
174
- this.runExternals( 'init', {} );
175
- this.addExtStyles();
176
- this.initialise_jp( this.lastformats, true, 1 );
177
- },
178
-
179
- addExtStyles: function () {
180
- var j;
181
- var l = this.extStyles.length;
182
- for ( j = 0; j < l; j += 1 ) {
183
- jQuery( '<style type="text/css">' + this.extStyles[ j ] + '</style>' ).appendTo( 'head' );
184
- }
185
- },
186
-
187
- destroy_jp: function () {
188
- jQuery(this.jpID).unbind();
189
- jQuery(this.jpID).jPlayer("destroy");
190
- jQuery(this.jpID).empty();
191
- },
192
-
193
- check_show_jperrors: function ( event ) {
194
- if ( this.tID !== '' && ! this.jperrorIDs[ this.tID ] ) {
195
- if ( this.showErrors === true ) {
196
- this.show_nosolution( this.tID, event.jPlayer.error.type );
197
- }
198
- this.jperrorIDs[ this.tID ] = event.jPlayer.error.type;
199
- }
200
- },
201
-
202
- show_nosolution: function ( j, errortype ) {
203
- var p = this.pl_info[j];
204
- var track = p.tr;
205
- var formats = p.list[track].formats;
206
- var message = '';
207
-
208
- if ( errortype === 'e_no_solution' || errortype === 'e_no_support' ) {
209
- message = this.vars.message_nosolution;
210
- if ( formats === 'mp3' || formats === 'm4a' ) {
211
- message = this.vars.message_nosolution_mpeg;
212
- }
213
- } else if ( errortype === 'e_url' ) {
214
- message = this.vars.message_bad_url;
215
- }
216
- jQuery('#mp3j_nosolution_' + j).empty().append(message).fadeIn(200);
217
-
218
- if ( this.exData !== false ) {
219
- this.exData.jperror = errortype;
220
- this.runExternals( 'change_post', this.exData );
221
- this.exData = false;
222
- }
223
- },
224
-
225
- add_jpconstruct_div: function () {
226
- var html = '<div id="mp3_jplayer_items" style="position:relative; overflow:hidden; margin:0; padding:0; border:0; width:0px; height:0px;"><div id="mp3_jplayer_1_8" style="left:-999em;"></div></div>';
227
- jQuery('body').prepend( html );
228
- },
229
-
230
- get_loaded: function (event) {
231
- var lp;
232
- if ( typeof this.jp_audio.buffered === "object" ) {
233
- if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
234
- lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
235
- } else {
236
- lp = 0;
237
- }
238
- } else {
239
- lp = event.jPlayer.status.seekPercent;
240
- }
241
- this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
242
- this.load_pc = lp;
243
- return lp;
244
- },
245
-
246
- Tformat: function ( sec ) {
247
- var t = sec,
248
- s = Math.floor((t)%60),
249
- m = Math.floor((t/60)%60),
250
- h = Math.floor(t/3600);
251
- return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
252
- },
253
-
254
- E_loading: function ( j, lp, tt, pt ) {
255
- if (j !== '') {
256
- jQuery(this.eID.loader + j).css( "width", lp + '%' );
257
- if (this.pl_info[j].type === 'MI') {
258
- if (tt > 0 && this.played_t > 0) {
259
- jQuery(this.eID.tT + j).text(this.Tformat(tt));
260
- }
261
- }
262
- if ( this.jp_audio !== 'flash' && lp < 100 ) {
263
- if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
264
- if (this.pl_info[j].type === 'MI') {
265
- jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span><span class="mjp-buffering">Buffering</span>');
266
- }
267
- if (this.pl_info[j].type === 'single' ) {
268
- jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
269
- }
270
- }
271
- this.played_t = pt;
272
- this.total_t = tt;
273
- }
274
- }
275
- },
276
-
277
- E_update: function (j, lp, ppA, pt, tt) {
278
- if (j !== '') {
279
- jQuery(this.eID.loader + j).css( "width", lp + '%' );
280
- jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
281
- if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
282
- jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
283
- }
284
- if (pt > 0) {
285
- jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
286
- }
287
- if (this.pl_info[j].type === 'MI') {
288
- jQuery(this.eID.pT + j).text(this.Tformat(pt));
289
- }
290
- if ('playing' === this.state) {
291
- if ('MI' === this.pl_info[j].type) {
292
- if (tt > 0 && this.played_t === pt && lp < 99 && !this.sliding ) {
293
- jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span><span class="mjp-buffering">Buffering</span>');
294
- jQuery(this.eID.tT + j).text(this.Tformat(tt));
295
- } else if (pt > 0) {
296
- jQuery(this.eID.indiM + j).empty().append('<span class="mjp-playing">Playing</span>');
297
- jQuery(this.eID.tT + j).text(this.Tformat(tt));
298
- }
299
- }
300
- if ('single' === this.pl_info[j].type){
301
- if (pt > 0 ) {
302
- if (this.played_t === pt && lp < 99 && !this.sliding ) {
303
- jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
304
- } else {
305
- jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-tint tintmarg"></span> ' + this.Tformat(pt));
306
- }
307
- }
308
- }
309
- }
310
- this.runExternals( 'update_time', { pt: pt, id: j } );
311
- if ( pt >= this.exThresh && this.exData !== false ) {
312
- this.runExternals( 'change_post', this.exData );
313
- this.exData = false;
314
- }
315
- this.played_t = pt;
316
- this.total_t = tt;
317
- this.pp_abs = ppA;
318
- }
319
- },
320
-
321
- E_complete: function (j) {
322
- var p = this.pl_info[j];
323
- if ('MI' === p.type) {
324
- if (p.loop || p.tr+1 < p.list.length) {
325
- this.E_change_track(j, 'next');
326
- } else {
327
- this.E_dblstop(j);
328
- this.startup();
329
- }
330
- }
331
- if ('single' === p.type) {
332
- if (p.loop) {
333
- this.E_change_track(j, 'next');
334
- } else {
335
- this.E_stop(j);
336
- this.startup();
337
- }
338
- }
339
- },
340
-
341
- write_controls: function () {
342
- var j;
343
- for ( j in this.pl_info ) {
344
- this.setup_a_player(j);
345
- this.mutes[j] = false;
346
- }
347
- },
348
-
349
- startup: function () {
350
- var j;
351
- for ( j in this.pl_info ) {
352
- if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
353
- this.pl_info[j].autoplay = false;
354
- this.E_change_track(j, this.pl_info[j].tr);
355
- return;
356
- }
357
- }
358
- },
359
-
360
- setup_a_player: function (j) {
361
- var i, li, sel, that = this, p = this.pl_info[j];
362
-
363
- //PLAYLISTERS and SINGLES
364
- if ('MI' === p.type || 'single' === p.type) {
365
- jQuery(this.eID.vol + j).slider({
366
- value : p.vol,
367
- max: 100,
368
- range: 'min',
369
- start: function ( event, ui ) {
370
- that.preSlideVol = p.vol;
371
- },
372
- stop: function ( event, ui ) {
373
- that.preSlideVol = false;
374
- },
375
- slide: function (event, ui) {
376
- if (j === that.tID) {
377
- jQuery(that.jpID).jPlayer("volume", that.factors.vol * ui.value/100);
378
- }
379
- if ( ui.value === 0 ) {
380
- jQuery('#innerExt1_' + j).addClass('vol-muted');
381
- that.mutes[ j ] = that.preSlideVol;
382
- } else {
383
- jQuery('#innerExt1_' + j).removeClass('vol-muted');
384
- that.mutes[ j ] = false;
385
- }
386
- p.vol = ui.value;
387
- }
388
- });
389
-
390
- jQuery(this.eID.vol + j).click( function ( e ) {
391
- e.stopPropagation();
392
- });
393
-
394
- sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
395
- jQuery(sel + j).click(function () { //play-pause click
396
- that.E_change_track(j, p.tr);
397
- jQuery(this).blur();
398
- });
399
- jQuery(sel + j).dblclick(function () { //play-pause dbl click
400
- if (that.state !== "playing") {
401
- that.E_change_track(j, p.tr);
402
- }
403
- jQuery(this).blur();
404
- });
405
-
406
- this.titles(j, p.tr);
407
- }
408
-
409
- //PLAYLISTERS
410
- if ('MI' === p.type) {
411
- jQuery(this.eID.pT + j).text('00:00');
412
- jQuery(this.eID.indiM + j).empty().append('<span class="mjp-ready">Ready</span>');
413
- jQuery(this.eID.stp + j).click(function () {
414
- that.E_stop(j);
415
- });
416
- jQuery(this.eID.stp + j).dblclick(function () {
417
- that.E_dblstop(j);
418
- });
419
-
420
- jQuery(this.eID.plwrap + j).hide();
421
- if (p.list.length > 1) {
422
- jQuery(this.eID.next + j).click(function () {
423
- that.E_change_track(j, 'next');
424
- });
425
- jQuery(this.eID.prev + j).click(function () {
426
- that.E_change_track(j, 'prev');
427
- });
428
-
429
- var liClass = '';
430
- var l = p.list.length;
431
- jQuery(this.eID.ul + j).empty();
432
- for (i = 0; i < l; i += 1) {
433
- liClass = ( i === l-1 ) ? ' mjp-li-last' : '';
434
- li = '<li class="li-mjp' + liClass + '"><a class="a-mjp" href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
435
- jQuery(this.eID.ul + j).append(li);
436
- this.add_ul_click(j, i);
437
- }
438
- jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
439
- jQuery(this.eID.toglist + j).click(function () {
440
- that.togglelist(j);
441
- });
442
- if (p.lstate === true) {
443
- jQuery(this.eID.plwrap + j).show();
444
- }
445
- }
446
-
447
- this.writedownload(j, p.tr);
448
- if ( this.vars.force_dload === true ) {
449
- this.dl_closeinfo_click(j);
450
- }
451
-
452
- jQuery(this.eID.lPP + j).click(function () {
453
- return that.E_launchPP(j);
454
- });
455
-
456
- jQuery( '#innerExt1_' + j ).click( function ( e ) {
457
- if ( that.mutes[j] === false ) {
458
- if ( j === that.tID ) {
459
- jQuery( that.jpID ).jPlayer( 'volume', 0 );
460
- }
461
- jQuery( '#innerExt1_' + j ).addClass( 'vol-muted' );
462
- jQuery( that.eID.vol + j ).slider( 'value', 0 );
463
- that.mutes[j] = p.vol;
464
- p.vol = 0;
465
- } else {
466
- if ( j === that.tID ) {
467
- jQuery( that.jpID ).jPlayer( 'volume', that.factors.vol * that.mutes[j]/100 );
468
- }
469
- jQuery( '#innerExt1_' + j ).removeClass( 'vol-muted' );
470
- jQuery( that.eID.vol + j ).slider( 'value', that.mutes[j] );
471
- p.vol = that.mutes[j];
472
- that.mutes[j] = false;
473
- }
474
- });
475
- }
476
-
477
- //POPOUT LINKS
478
- if ('popout' === p.type) {
479
- jQuery(this.eID.pplink + j).click(function () {
480
- return that.E_launchPP(j);
481
- });
482
- }
483
- },
484
-
485
- add_ul_click: function (j, i) { //playlist item click
486
- var that = this;
487
- jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
488
- that.E_change_track(j, i);
489
- e.preventDefault();
490
- });
491
- },
492
-
493
- unwrap: function () {
494
- var i, j, arr;
495
- if ( this.vars.play_f === true && typeof MP3jPLAYLISTS !== "undefined" ) {
496
- for ( var key in MP3jPLAYLISTS ) {
497
- if ( MP3jPLAYLISTS.hasOwnProperty( key ) ) {
498
- arr = MP3jPLAYLISTS[key];
499
- for ( j = 0; j < arr.length; j += 1 ) {
500
- arr[j].mp3 = this.f_undo.f_con( arr[j].mp3 );
501
- if ( arr[j].counterpart !== '' ) {
502
- arr[j].counterpart = this.f_undo.f_con( arr[j].counterpart );
503
- }
504
- }
505
- }
506
- }
507
- }
508
- },
509
-
510
- f_undo: {
511
- keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
512
- f_con : function (input) {
513
- var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
514
- input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
515
- while (i < input.length) {
516
- enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
517
- enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
518
- chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
519
- output = output + String.fromCharCode(chr1);
520
- if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
521
- if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
522
- }
523
- output = this.utf8_f_con(output);
524
- return output;
525
- },
526
- utf8_f_con : function (utftext) {
527
- var string = "", i = 0, c, c1, c2, c3;
528
- while (i < utftext.length) {
529
- c = utftext.charCodeAt(i);
530
- if (c < 128) {
531
- string += String.fromCharCode(c); i++;
532
- } else if ((c > 191) && (c < 224)) {
533
- c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
534
- } else {
535
- c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
536
- }
537
- }
538
- return string;
539
- }
540
- },
541
-
542
- E_stop: function ( j, caller ) {
543
- var exData = { pT:'', tT:'', pState: '', pU: '', lp:'', ppA:'', jperror:'' };
544
- if (j === this.tID && j !== '') {
545
- var preL = (this.tID !== '' ) ? this.pl_info[this.tID].list : false;
546
- var pU = ( preL !== false ) ? preL[ this.pl_info[this.tID].tr ].mp3 : '';
547
-
548
- if ( this.exData === false ) {
549
- exData.pT = this.played_t;
550
- exData.tT = this.total_t;
551
- exData.pState = this.state;
552
- exData.pU = pU;
553
- exData.lp = this.load_pc;
554
- exData.ppA = this.pp_abs;
555
- } else {
556
- exData = this.exData;
557
- }
558
-
559
- if ( caller !== 'Echange' && this.jperrorIDs[j] === false ) {
560
- this.runExternals( 'change_pre', exData );
561
- }
562
-
563
- this.clearit();
564
- if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
565
- jQuery(this.eID.pos + j).off( 'click', MP3_JPLAYER.stopProp );
566
- jQuery(this.eID.pos + j).slider('destroy');
567
- }
568
- jQuery(this.eID.loader + j).css( "width", '0%' );
569
- this.button(j, 'play');
570
- if (this.pl_info[j].type === 'MI') {
571
- jQuery(this.eID.poscol + j).css( "width", '0%' );
572
- jQuery(this.eID.tT + j).empty();
573
- jQuery(this.eID.indiM + j).empty().append('<span class="mjp-stopped">Stopped</span>');
574
- jQuery(this.eID.pT + j).text(this.Tformat(0));
575
- } else {
576
- jQuery(this.eID.indiM + j).empty();
577
- }
578
- this.load_pc = 0;
579
- this.played_t = 0;
580
- jQuery('#mp3j_nosolution_' + j).empty().hide();
581
- }
582
- return exData;
583
- },
584
-
585
- E_dblstop: function (j) { //playlisters only
586
- this.listclass(j, this.pl_info[j].tr, 0);
587
- if ( this.pl_info[j].tr !== 0 ) {
588
- this.titles(j, 0);
589
- }
590
- this.writedownload(j, 0);
591
- this.E_stop(j);
592
- jQuery(this.eID.indiM + j).empty().append('<span class="mjp-ready">Ready</span>');
593
- this.pl_info[j].tr = 0;
594
- },
595
-
596
- E_change_track: function (j, change) {
597
- var track;
598
- var txt;
599
- var p = this.pl_info[j];
600
-
601
- this.runExternals( 'change_begin', { id: j, change: change } );
602
-
603
- if (j === this.tID && change === p.tr) {
604
- if ('playing' === this.state) {
605
- if (this.load_pc === 0) {
606
- this.E_stop( j, 'Echange');
607
- } else {
608
- this.pauseit();
609
- this.button(j, 'play');
610
- if ('MI' === p.type) {
611
- jQuery(this.eID.indiM + j).empty().append('<span class="mjp-paused">Paused</span>');
612
- }
613
- }
614
- return;
615
- } else if ('paused' === this.state || 'set' === this.state) {
616
- this.playit();
617
- this.button(j, 'pause');
618
- return;
619
- }
620
- }
621
-
622
- var exData = this.E_stop( this.tID, 'Echange' );
623
-
624
- if ('prev' === change) {
625
- track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
626
- } else if ('next' === change) {
627
- track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
628
- } else {
629
- track = change;
630
- }
631
-
632
- jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
633
- jQuery('#mp3j_nosolution_' + j).hide();
634
- txt = ('MI' === p.type) ? '<span class="mp3-finding"></span><span class="mp3-tint"></span><span class="mjp-connecting">Connecting</span>' : '<span class="Smp3-finding"></span><span class="mp3-gtint"></span>';
635
- jQuery(this.eID.indiM + j).empty().append(txt);
636
- this.button(j, 'pause');
637
- this.makeslider(j);
638
- if ('MI' === p.type) {
639
- this.listclass(j, p.tr, track);
640
- if ( p.tr !== track ) {
641
- this.titles(j, track);
642
- }
643
- if (p.download) {
644
- this.writedownload(j, track);
645
- jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
646
- }
647
- }
648
- p.tr = track;
649
- this.tID = j;
650
-
651
- var formatString = p.list[track].formats[0] + ( (typeof p.list[track].formats[1] !== 'undefined') ? ',' + p.list[track].formats[1] : '' );
652
- if ( formatString !== this.lastformats || this.jperrorIDs[ j ] ) {
653
- this.jperrorIDs[ j ] = false;
654
- this.destroy_jp();
655
- this.initialise_jp( formatString, p.list[track], p.vol );
656
- } else {
657
- this.jperrorIDs[ j ] = false;
658
- this.setAudio( p.list[track] );
659
- this.playit();
660
- jQuery(this.jpID).jPlayer("volume", this.factors.vol * p.vol/100 ); //Reset to correct vol
661
- }
662
-
663
- exData.mp3 = p.list[track].mp3;
664
- exData.name = p.list[track].name;
665
- exData.artist = p.list[track].artist;
666
- this.exData = exData;
667
- this.runExternals( 'change_end', exData );
668
- },
669
-
670
- E_launchPP: function (j) {
671
- this.launched_ID = j;
672
- this.was_playing = ( this.state === "playing" ) ? true : false;
673
- var data = { id: this.launched_ID, playing: this.was_playing };
674
-
675
- this.runExternals( 'button_popout', data );
676
-
677
- if ( this.tID !== '' ) {
678
- this.E_stop(this.tID);
679
- if ( 'mp3,oga' !== this.lastformats ) {
680
- this.destroy_jp();
681
- this.initialise_jp( 'mp3,oga', false, 100 );
682
- } else {
683
- this.setAudio( false );
684
- this.playit(); //make chrome let go of last track (incase it didn't finish loading)
685
- this.clearit();
686
- }
687
- }
688
-
689
- var newwindow = window.open( this.plugin_path + '/popout.php', 'mp3jpopout', 'height=' +this.pl_info[j].popout_css.colours[13]+ ', width=' +this.pl_info[j].popout_css.colours[12]+ ', location=1, status=1, scrollbars=1, resizable=1, left=25, top=25' );
690
- if ( window.focus ) {
691
- newwindow.focus();
692
- }
693
- return false;
694
- },
695
-
696
- setAudio: function ( track ) {
697
- var media = {};
698
- this.state = 'set';
699
- if ( false === track ) {
700
- media['mp3'] = this.plugin_path + '/mp3/silence.mp3';
701
- media['ogg'] = this.plugin_path + '/mp3/silence.ogg';
702
- } else {
703
- media[ track.formats[0] ] = track.mp3;
704
- if ( typeof track.formats[1] !== 'undefined' ) {
705
- media[ track.formats[1] ] = track.counterpart;
706
- }
707
- }
708
- jQuery(this.jpID).jPlayer( "setMedia", media );
709
- },
710
-
711
- playit: function () {
712
- this.state = 'playing';
713
- jQuery(this.jpID).jPlayer("play");
714
- },
715
- pauseit: function () {
716
- this.state = 'paused';
717
- jQuery(this.jpID).jPlayer("pause");
718
- },
719
- clearit: function () {
720
- this.state = '';
721
- jQuery(this.jpID).jPlayer("clearMedia");
722
- },
723
-
724
- button: function (j, type) {
725
- if (j !== '') {
726
- if ('pause' === type) {
727
- jQuery( this.eID.play + j ).removeClass( 'play-mjp' ).addClass( 'pause-mjp' ).empty().append( this.pl_info[j].pause_txt );
728
- }
729
- if ('play' === type) {
730
- jQuery( this.eID.play + j ).removeClass( 'pause-mjp' ).addClass( 'play-mjp' ).empty().append( this.pl_info[j].play_txt );
731
- }
732
- }
733
- this.runExternals( 'button_playpause', { type: type } );
734
- },
735
-
736
- listclass: function ( j, rem, add ) {
737
- jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
738
- jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
739
- },
740
-
741
- titles: function ( j, track ) {
742
- var data;
743
- var p = this.pl_info[j], Olink = '', Clink = '';
744
- var img = p.list[track].image;
745
- if (p.type === "MI") {
746
- jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><div>' + p.list[track].artist + '</div>');
747
- var lastImg = jQuery(this.eID.img + j + ' img').attr('src');
748
- if ( img === 'false' || img === 'true' || img === '' ) {
749
- jQuery(this.eID.img + j).empty();
750
- } else if ( img !== lastImg ) {
751
- if (p.list[track].imgurl !== '') {
752
- Olink = '<a href="' + p.list[track].imgurl + '">';
753
- Clink = '</a>';
754
- }
755
- jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
756
- }
757
- }
758
- data = { title: p.list[track].name, caption: p.list[track].artist, id: j };
759
- this.runExternals( 'write_titles', data );
760
- },
761
-
762
- writedownload: function ( j, track ) {
763
- var data;
764
- var p = this.pl_info[j];
765
- if ( p.download ) {
766
- jQuery(this.eID.dload + j).empty().removeClass('whilelinks').append('<a id="mp3j_dlanchor_' + j + '" href="' + p.list[track].mp3 + '" target="_blank">' + this.vars.dload_text + '</a>');
767
- if ( this.vars.force_dload === true ) {
768
- this.dl_button_click( j );
769
- }
770
- }
771
- data = { is_download: p.download , url: p.list[track].mp3 };
772
- this.runExternals( 'write_download', data );
773
- },
774
-
775
- togglelist: function ( j ) {
776
- if (this.pl_info[j].lstate === true) {
777
- jQuery(this.eID.plwrap + j).fadeOut(300);
778
- jQuery(this.eID.toglist + j).text('SHOW');
779
- this.pl_info[j].lstate = false;
780
- } else if (this.pl_info[j].lstate === false) {
781
- jQuery(this.eID.plwrap + j).fadeIn("slow");
782
- jQuery(this.eID.toglist + j).text('HIDE');
783
- this.pl_info[j].lstate = true;
784
- }
785
- },
786
-
787
- makeslider: function ( j ) {
788
- var phmove, cssmove, that = this;
789
- jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
790
-
791
- jQuery(this.eID.pos + j).slider({
792
- max: 1000,
793
- range: 'min',
794
- slide: function (event, ui) {
795
- if ( that.allowRanges || (ui.value/10) < that.load_pc ) {
796
- cssmove = ui.value/10;
797
- phmove = ui.value*(10.0/that.jp_seekable);
798
- } else {
799
- cssmove = 0.99*that.load_pc;
800
- phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
801
- }
802
- jQuery(that.eID.poscol + j).css('width', cssmove + '%');
803
- jQuery(that.jpID).jPlayer("playHead", phmove );
804
- if (that.state === 'paused') {
805
- that.button(j, 'pause');
806
- that.playit();
807
- }
808
- that.state = 'playing';
809
- },
810
- start: function ( event, ui ) {
811
- that.sliding = true;
812
- },
813
- stop: function ( event, ui ) {
814
- that.sliding = false;
815
- }
816
- });
817
-
818
- jQuery(this.eID.pos + j).on( 'click', MP3_JPLAYER.stopProp );
819
- },
820
-
821
- stopProp: function ( e ) {
822
- e.stopPropagation();
823
- },
824
-
825
- deviceInfo: function () {
826
- var isMobile = false;
827
- var os = '';
828
- var device = '';
829
- var ua = navigator.userAgent;
830
- var p = navigator.platform;
831
- var matched;
832
-
833
- if ( /bot|spider/i.test( ua ) ) {
834
- os = 'spider';
835
- } else {
836
- if ( /iPhone|iPod|iPad/.test( p ) ) {
837
- os = 'iOS';
838
- device = p;
839
- isMobile = true;
840
- } else {
841
- var matched = /Android|BlackBerry|IEMobile|Opera Mini|Mobi|Tablet/.exec( ua );
842
- if ( matched ) {
843
- device = ( matched[0] === 'Mobi' ) ? 'Mobile' : matched[0];
844
- isMobile = true;
845
- }
846
- }
847
-
848
- if ( ! isMobile ) {
849
- if ( /Mac/.test( p ) ) {
850
- os = 'Mac';
851
- device = 'Desk/Laptop';
852
- } else if ( /Linux/.test( p ) ) {
853
- os = 'Linux';
854
- device = 'Desk/Laptop';
855
- } else if ( /Win|Pocket PC/.test( p ) ) {
856
- os = 'Windows';
857
- device = 'Desk/Laptop';
858
- }
859
- }
860
- }
861
- return { os:os, device:device, isMobile:isMobile };
862
- }
863
- };
864
-
865
-
866
- /*
867
- * Force browser download
868
- * Version 1.1
869
- * 2014 Simon Ward
870
- */
871
- MP3_JPLAYER.dl_button_click = function ( j ) {
872
- var that = this, p = this.pl_info[j];
873
- jQuery('#mp3j_dlanchor_' + j).click(function (e) {
874
- that.dl_runinfo( p.list[p.tr].mp3, j, e );
875
- that.runExternals( 'download', p.list[p.tr] );
876
- e.preventDefault();
877
- });
878
- };
879
-
880
- MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
881
- var that = this;
882
- jQuery('#mp3j_finfo_close_' + j).click(function () {
883
- that.dl_dialogue( j, '', 'close');
884
- that.clear_timers( j );
885
- });
886
- };
887
-
888
- MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
889
- var can_write,
890
- dlpath,
891
- message,
892
- that = this,
893
- dlframe = false,
894
- p = this.pl_info[j],
895
- is_local = this.is_local_dload( get );
896
-
897
- var enc_get;
898
-
899
- if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
900
- can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
901
- if ( is_local ) {
902
- if ( can_write !== false ) {
903
- this.dl_dialogue( j, this.vars.message_interval, 'check');
904
- } else {
905
- this.dl_dialogue( j, this.vars.message_indark, 'indark');
906
- }
907
- this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
908
- this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
909
- dlframe = true;
910
- } else {
911
- if ( this.vars.dl_remote_path === '' ) {
912
- message = this.vars.message_promtlink.replace('#1', get);
913
- message = message.replace('#2', p.list[p.tr].name);
914
- this.dl_dialogue( j, message, 'indark');
915
- } else {
916
- message = this.vars.message_indark.replace('#1', get);
917
- message = message.replace('#2', p.list[p.tr].name);
918
- this.dl_dialogue( j, message, 'indark');
919
- dlframe = true;
920
- }
921
- }
922
- this.dl_dialogs[ j ] = 'false';
923
- if ( dlframe ) {
924
- dlpath = this.get_dloader_path( get );
925
- enc_get = encodeURIComponent( get );
926
- jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + enc_get + '&pID=' + j + '" style="display:none;"></iframe>');
927
- }
928
- }
929
- };
930
-
931
- MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
932
- if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
933
- this.dl_dialogue( j, this.vars.message_ok, 'hide');
934
- this.clear_timers( j );
935
- } else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
936
- this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
937
- this.clear_timers( j );
938
- }
939
- };
940
-
941
- MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
942
- this.clear_timers( j );
943
- if ( can_write !== false ) {
944
- this.dl_dialogue( j, this.vars.message_timeout, 'add');
945
- }
946
- };
947
-
948
- MP3_JPLAYER.clear_timers = function ( j ) {
949
- if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
950
- clearInterval( this.intervalIDs[j] );
951
- clearTimeout( this.timeoutIDs[j] );
952
- this.intervalIDs[ j ] = null;
953
- this.timeoutIDs[j] = null;
954
- }
955
- jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
956
- this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
957
- };
958
-
959
- MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
960
- if ( 'check' === state ) {
961
- jQuery('#mp3j_finfo_gif_' + j).show();
962
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
963
- jQuery('#mp3j_finfo_' + j).show();
964
- } else if ( 'add' === state ) {
965
- jQuery('#mp3j_finfo_gif_' + j).hide();
966
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
967
- } else if ( 'indark' === state ) {
968
- jQuery('#mp3j_finfo_gif_' + j).hide();
969
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
970
- jQuery('#mp3j_finfo_' + j).fadeIn(100);
971
- } else if ( 'close' === state ) {
972
- jQuery('#mp3j_finfo_gif_' + j).hide();
973
- jQuery('#mp3j_finfo_' + j).hide();
974
- } else {
975
- jQuery('#mp3j_finfo_gif_' + j).hide();
976
- if ( text !== '' ) {
977
- jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
978
- }
979
- jQuery('#mp3j_finfo_' + j).fadeOut(1000);
980
- }
981
-
982
- this.runExternals( 'download_dialog', { id: j, text: text, state: state } );
983
- };
984
-
985
- MP3_JPLAYER.read_cookie = function ( name ) {
986
- var i, cookie, allCookies = document.cookie.split('; ');
987
- if ( allCookies.length > 0 ) {
988
- for ( i = 0; i < allCookies.length; i += 1 ) {
989
- cookie = allCookies[i].split( '=' );
990
- if ( cookie[0] === name ) {
991
- return cookie[1];
992
- }
993
- }
994
- }
995
- return false;
996
- };
997
-
998
- MP3_JPLAYER.write_cookie = function ( name, value, days ) {
999
- var date, expires = "";
1000
- if ( days ) {
1001
- date = new Date();
1002
- date.setTime( date.getTime() + (days*24*60*60*1000) );
1003
- expires = "; expires=" + date.toGMTString();
1004
- }
1005
- document.cookie = name + "=" + value + expires + "; path=/";
1006
- return this.read_cookie( name );
1007
- };
1008
-
1009
- MP3_JPLAYER.get_dloader_path = function ( loc ) {
1010
- var k, path = "", file = "", chunks;
1011
- chunks = loc.split('/');
1012
- file = chunks[chunks.length-1];
1013
- if ( loc.charAt(0) === '/' ) {
1014
- path = this.plugin_path + '/download.php';
1015
- } else {
1016
- path = chunks[2].replace(/^www./i, "");
1017
- if ( path === this.dl_domain ) {
1018
- path = this.plugin_path + '/download.php';
1019
- } else {
1020
- path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
1021
- }
1022
- }
1023
- return path;
1024
- };
1025
-
1026
- MP3_JPLAYER.is_local_dload = function ( loc ) {
1027
- var domain = "", file = "", chunks, is_local = false;
1028
- chunks = loc.split('/');
1029
- file = chunks[chunks.length-1];
1030
- if ( loc.charAt(0) === '/' ) {
1031
- is_local = true;
1032
- } else {
1033
- domain = chunks[2].replace(/^www./i, "");
1034
- if ( domain === this.dl_domain ) {
1035
- is_local = true;
1036
- }
1037
- }
1038
- return is_local;
1039
- };
1
+ /*
2
+ MP3-jPlayer
3
+ Version 2.3.1
4
+ http://mp3-jplayer.com
5
+ 2015 Simon Ward
6
+ */
7
+
8
+ var MP3_JPLAYER = {
9
+
10
+ tID: '',
11
+ state: '',
12
+ pl_info: [],
13
+ load_pc: 0,
14
+ played_t: 0,
15
+ total_t: 0,
16
+ pp_abs: 0,
17
+ dl_dialogs: [],
18
+ timeoutIDs: [],
19
+ intervalIDs: [],
20
+ jperrorIDs: [],
21
+ dl_domain: '',
22
+ jp_audio: {},
23
+ jp_seekable: 0,
24
+ sliding: false,
25
+ jpID: '#mp3_jplayer_1_8',
26
+ plugin_path: '',
27
+ lastformats: 'mp3',
28
+ allowRanges: true,
29
+ extCalls: {
30
+ init:[],
31
+ change_pre: [],
32
+ change_begin: [],
33
+ change_end: [],
34
+ change_post: [],
35
+ button_playpause: [],
36
+ button_popout: [],
37
+ update_time: [],
38
+ write_titles: [],
39
+ write_download: [],
40
+ download: [],
41
+ download_dialog: [],
42
+ error: []
43
+ },
44
+ extStyles: [],
45
+ extJS: [],
46
+ skinJS: '',
47
+ mutes: [],
48
+ preSlideVol: false,
49
+ exData: false,
50
+ exThresh: 2,
51
+ showErrors: false,
52
+ factors: { vol: 1 },
53
+
54
+ vars: {
55
+ play_f: true,
56
+ stylesheet_url: '',
57
+ dload_text: '',
58
+ force_dload: true,
59
+ message_interval: '<h2>Download Audio</h2><p style="margin-top:34px !important;">Your download should start in a second!</p>',
60
+ message_ok: '',
61
+ message_indark: '<h2>Download Audio</h2><p>Your download should start in a second!</p>',
62
+ message_promtlink: '<h2>Download Audio</h2><p>Link to the file:</p><h3><a target="_blank" href="#1">#2</a></h3><p>Depending on your browser settings, you may need to right click the link to save it.</p>',
63
+ message_fail: '<h2>Download Failed</h2><p>Sorry, something went wrong!</p>',
64
+ message_timeout: '<h2>Download<br />Unavailable</h2><p>please try again later!</p>',
65
+ message_nosolution: 'Unable to play this item, please update your browser or try another.',
66
+ message_nosolution_mpeg: 'To play this item please update your browser or get the <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash plugin</a>.',
67
+ message_bad_url: 'Can\'t locate audio.',
68
+ dl_remote_path: ''
69
+ },
70
+
71
+ eID: {
72
+ play: '#playpause_mp3j_',
73
+ playW: '#playpause_wrap_mp3j_',
74
+ stp: '#stop_mp3j_',
75
+ prev: '#Prev_mp3j_',
76
+ next: '#Next_mp3j_',
77
+ vol: '#vol_mp3j_',
78
+ loader: '#load_mp3j_',
79
+ pos: '#posbar_mp3j_',
80
+ poscol: '#poscol_mp3j_',
81
+ title: '#T_mp3j_',
82
+ caption: '#C_mp3j_',
83
+ pT: '#P-Time-MI_',
84
+ tT: '#T-Time-MI_',
85
+ dload: '#download_mp3j_',
86
+ plwrap: '#L_mp3j_',
87
+ ul: '#UL_mp3j_',
88
+ a: 'mp3j_A_', //No hash!
89
+ indiM: '#statusMI_',
90
+ toglist: '#playlist-toggle_',
91
+ lPP: '#lpp_mp3j_',
92
+ pplink: '#mp3j_popout_',
93
+ img: '#MI_image_'
94
+ },
95
+
96
+ runExternals: function ( hookname, data ) {
97
+ var l = this.extCalls[ hookname ].length;
98
+ for ( var x = 0; x < l; x += 1 ) {
99
+ ( this.extCalls[ hookname ][ x ] )( data );
100
+ }
101
+ },
102
+
103
+ initialise_jp: function ( supplied, track, vol ) {
104
+ var that = this;
105
+ jQuery(this.jpID).jPlayer({
106
+ ready: function () {
107
+ if ( track === true ) {
108
+ var dinfo = that.deviceInfo();
109
+ if ( dinfo.device === 'Desk/Laptop' ) {
110
+ that.startup();
111
+ } else { //just remove first autolay if there's any
112
+ var j;
113
+ for ( j in that.pl_info ) {
114
+ if ( that.pl_info[j].autoplay ) {
115
+ that.pl_info[j].autoplay = false;
116
+ break;
117
+ }
118
+ }
119
+ }
120
+ } else {
121
+ that.setAudio( track );
122
+ that.playit();
123
+ jQuery(that.jpID).jPlayer("volume", that.factors.vol * vol/100 ); //Set to player vol
124
+ if ( track === false ) { //silence
125
+ that.clearit();
126
+ }
127
+ }
128
+ },
129
+ swfPath: that.plugin_path + '/js/Jplayer271.swf',
130
+ volume: 1,
131
+ supplied: supplied,
132
+ wmode: "window",
133
+ solution:"html, flash",
134
+ error: function( event ) {
135
+ that.check_show_jperrors( event );
136
+ },
137
+ preload: "none"
138
+ });
139
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.ended, function(event) {
140
+ that.E_complete(that.tID);
141
+ });
142
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.timeupdate, function(event) {
143
+ var lp = that.get_loaded(event);
144
+ var ppA = event.jPlayer.status.currentPercentAbsolute;
145
+ var pt = event.jPlayer.status.currentTime;
146
+ var tt = event.jPlayer.status.duration;
147
+ that.E_update(that.tID, lp, ppA, pt, tt);
148
+ });
149
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.ready, function(event) {
150
+ if(event.jPlayer.html.used && event.jPlayer.html.audio.available) {
151
+ that.jp_audio = jQuery(that.jpID).data("jPlayer").htmlElement.audio;
152
+ } else {
153
+ that.jp_audio = 'flash';
154
+ }
155
+ });
156
+ jQuery(this.jpID).bind(jQuery.jPlayer.event.progress, function(event) {
157
+ var lp = that.get_loaded(event);
158
+ var pt = event.jPlayer.status.currentTime;
159
+ var tt = event.jPlayer.status.duration;
160
+ that.E_loading( that.tID, lp, tt, pt );
161
+ });
162
+
163
+ that.lastformats = supplied;
164
+ },
165
+
166
+ init: function () {
167
+ var plpath;
168
+ plpath = this.plugin_path.split('/');
169
+ this.dl_domain = plpath[2].replace(/^www./i, "");
170
+
171
+ this.unwrap();
172
+ this.write_controls();
173
+ this.add_jpconstruct_div();
174
+ this.runExternals( 'init', {} );
175
+ this.addExtStyles();
176
+ this.initialise_jp( this.lastformats, true, 1 );
177
+ },
178
+
179
+ addExtStyles: function () {
180
+ var j;
181
+ var l = this.extStyles.length;
182
+ for ( j = 0; j < l; j += 1 ) {
183
+ jQuery( '<style type="text/css">' + this.extStyles[ j ] + '</style>' ).appendTo( 'head' );
184
+ }
185
+ },
186
+
187
+ destroy_jp: function () {
188
+ jQuery(this.jpID).unbind();
189
+ jQuery(this.jpID).jPlayer("destroy");
190
+ jQuery(this.jpID).empty();
191
+ },
192
+
193
+ check_show_jperrors: function ( event ) {
194
+ if ( this.tID !== '' && ! this.jperrorIDs[ this.tID ] ) {
195
+ if ( this.showErrors === true ) {
196
+ this.show_nosolution( this.tID, event.jPlayer.error.type );
197
+ }
198
+ this.jperrorIDs[ this.tID ] = event.jPlayer.error.type;
199
+ }
200
+ },
201
+
202
+ show_nosolution: function ( j, errortype ) {
203
+ var p = this.pl_info[j];
204
+ var track = p.tr;
205
+ var formats = p.list[track].formats;
206
+ var message = '';
207
+
208
+ if ( errortype === 'e_no_solution' || errortype === 'e_no_support' ) {
209
+ message = this.vars.message_nosolution;
210
+ if ( formats === 'mp3' || formats === 'm4a' ) {
211
+ message = this.vars.message_nosolution_mpeg;
212
+ }
213
+ } else if ( errortype === 'e_url' ) {
214
+ message = this.vars.message_bad_url;
215
+ }
216
+ jQuery('#mp3j_nosolution_' + j).empty().append(message).fadeIn(200);
217
+
218
+ if ( this.exData !== false ) {
219
+ this.exData.jperror = errortype;
220
+ this.runExternals( 'change_post', this.exData );
221
+ this.exData = false;
222
+ }
223
+ },
224
+
225
+ add_jpconstruct_div: function () {
226
+ var html = '<div id="mp3_jplayer_items" style="position:relative; overflow:hidden; margin:0; padding:0; border:0; width:0px; height:0px;"><div id="mp3_jplayer_1_8" style="left:-999em;"></div></div>';
227
+ jQuery('body').prepend( html );
228
+ },
229
+
230
+ get_loaded: function (event) {
231
+ var lp;
232
+ if ( typeof this.jp_audio.buffered === "object" ) {
233
+ if( this.jp_audio.buffered.length > 0 && this.jp_audio.duration > 0 ) {
234
+ lp = 100 * this.jp_audio.buffered.end(this.jp_audio.buffered.length-1) / this.jp_audio.duration;
235
+ } else {
236
+ lp = 0;
237
+ }
238
+ } else {
239
+ lp = event.jPlayer.status.seekPercent;
240
+ }
241
+ this.jp_seekable = event.jPlayer.status.seekPercent; //use this for slider calcs for both html/flash solution
242
+ this.load_pc = lp;
243
+ return lp;
244
+ },
245
+
246
+ Tformat: function ( sec ) {
247
+ var t = sec,
248
+ s = Math.floor((t)%60),
249
+ m = Math.floor((t/60)%60),
250
+ h = Math.floor(t/3600);
251
+ return ((h > 0) ? h+':' : '') + ((m > 9) ? m : '0'+m) + ':' + ((s > 9) ? s : '0'+s);
252
+ },
253
+
254
+ E_loading: function ( j, lp, tt, pt ) {
255
+ if (j !== '') {
256
+ jQuery(this.eID.loader + j).css( "width", lp + '%' );
257
+ if (this.pl_info[j].type === 'MI') {
258
+ if (tt > 0 && this.played_t > 0) {
259
+ jQuery(this.eID.tT + j).text(this.Tformat(tt));
260
+ }
261
+ }
262
+ if ( this.jp_audio !== 'flash' && lp < 100 ) {
263
+ if ( pt === this.played_t && this.state === 'playing' && pt > 0 && !this.sliding ) {
264
+ if (this.pl_info[j].type === 'MI') {
265
+ jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span><span class="mjp-buffering">Buffering</span>');
266
+ }
267
+ if (this.pl_info[j].type === 'single' ) {
268
+ jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
269
+ }
270
+ }
271
+ this.played_t = pt;
272
+ this.total_t = tt;
273
+ }
274
+ }
275
+ },
276
+
277
+ E_update: function (j, lp, ppA, pt, tt) {
278
+ if (j !== '') {
279
+ jQuery(this.eID.loader + j).css( "width", lp + '%' );
280
+ jQuery(this.eID.poscol + j).css( "width", ppA + '%' );
281
+ if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
282
+ jQuery(this.eID.pos + j).slider('option', 'value', 10*ppA);
283
+ }
284
+ if (pt > 0) {
285
+ jQuery(this.eID.pos + j).css( 'visibility', 'visible' );
286
+ }
287
+ if (this.pl_info[j].type === 'MI') {
288
+ jQuery(this.eID.pT + j).text(this.Tformat(pt));
289
+ }
290
+ if ('playing' === this.state) {
291
+ if ('MI' === this.pl_info[j].type) {
292
+ if (tt > 0 && this.played_t === pt && lp < 99 && !this.sliding ) {
293
+ jQuery(this.eID.indiM + j).empty().append('<span class="mp3-finding"></span><span class="mp3-tint"></span><span class="mjp-buffering">Buffering</span>');
294
+ jQuery(this.eID.tT + j).text(this.Tformat(tt));
295
+ } else if (pt > 0) {
296
+ jQuery(this.eID.indiM + j).empty().append('<span class="mjp-playing">Playing</span>');
297
+ jQuery(this.eID.tT + j).text(this.Tformat(tt));
298
+ }
299
+ }
300
+ if ('single' === this.pl_info[j].type){
301
+ if (pt > 0 ) {
302
+ if (this.played_t === pt && lp < 99 && !this.sliding ) {
303
+ jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-finding"></span><span class="mp3-gtint"></span> ' + this.Tformat(pt));
304
+ } else {
305
+ jQuery(this.eID.indiM + j).empty().append('<span class="Smp3-tint tintmarg"></span> ' + this.Tformat(pt));
306
+ }
307
+ }
308
+ }
309
+ }
310
+ this.runExternals( 'update_time', { pt: pt, id: j } );
311
+ if ( pt >= this.exThresh && this.exData !== false ) {
312
+ this.runExternals( 'change_post', this.exData );
313
+ this.exData = false;
314
+ }
315
+ this.played_t = pt;
316
+ this.total_t = tt;
317
+ this.pp_abs = ppA;
318
+ }
319
+ },
320
+
321
+ E_complete: function (j) {
322
+ var p = this.pl_info[j];
323
+ if ('MI' === p.type) {
324
+ if (p.loop || p.tr+1 < p.list.length) {
325
+ this.E_change_track(j, 'next');
326
+ } else {
327
+ this.E_dblstop(j);
328
+ this.startup();
329
+ }
330
+ }
331
+ if ('single' === p.type) {
332
+ if (p.loop) {
333
+ this.E_change_track(j, 'next');
334
+ } else {
335
+ this.E_stop(j);
336
+ this.startup();
337
+ }
338
+ }
339
+ },
340
+
341
+ write_controls: function () {
342
+ var j;
343
+ for ( j in this.pl_info ) {
344
+ this.setup_a_player(j);
345
+ this.mutes[j] = false;
346
+ }
347
+ },
348
+
349
+ startup: function () {
350
+ var j;
351
+ for ( j in this.pl_info ) {
352
+ if ( this.pl_info[j].autoplay && (this.pl_info[j].type === 'single' || this.pl_info[j].type === 'MI') ) {
353
+ this.pl_info[j].autoplay = false;
354
+ this.E_change_track(j, this.pl_info[j].tr);
355
+ return;
356
+ }
357
+ }
358
+ },
359
+
360
+ setup_a_player: function (j) {
361
+ var i, li, sel, that = this, p = this.pl_info[j];
362
+
363
+ //PLAYLISTERS and SINGLES
364
+ if ('MI' === p.type || 'single' === p.type) {
365
+ jQuery(this.eID.vol + j).slider({
366
+ value : p.vol,
367
+ max: 100,
368
+ range: 'min',
369
+ start: function ( event, ui ) {
370
+ that.preSlideVol = p.vol;
371
+ },
372
+ stop: function ( event, ui ) {
373
+ that.preSlideVol = false;
374
+ },
375
+ slide: function (event, ui) {
376
+ if (j === that.tID) {
377
+ jQuery(that.jpID).jPlayer("volume", that.factors.vol * ui.value/100);
378
+ }
379
+ if ( ui.value === 0 ) {
380
+ jQuery('#innerExt1_' + j).addClass('vol-muted');
381
+ that.mutes[ j ] = that.preSlideVol;
382
+ } else {
383
+ jQuery('#innerExt1_' + j).removeClass('vol-muted');
384
+ that.mutes[ j ] = false;
385
+ }
386
+ p.vol = ui.value;
387
+ }
388
+ });
389
+
390
+ jQuery(this.eID.vol + j).click( function ( e ) {
391
+ e.stopPropagation();
392
+ });
393
+
394
+ sel = ('MI' === p.type) ? this.eID.play : this.eID.playW;
395
+ jQuery(sel + j).click(function () { //play-pause click
396
+ that.E_change_track(j, p.tr);
397
+ jQuery(this).blur();
398
+ });
399
+ jQuery(sel + j).dblclick(function () { //play-pause dbl click
400
+ if (that.state !== "playing") {
401
+ that.E_change_track(j, p.tr);
402
+ }
403
+ jQuery(this).blur();
404
+ });
405
+
406
+ this.titles(j, p.tr);
407
+ }
408
+
409
+ //PLAYLISTERS
410
+ if ('MI' === p.type) {
411
+ jQuery(this.eID.pT + j).text('00:00');
412
+ jQuery(this.eID.indiM + j).empty().append('<span class="mjp-ready">Ready</span>');
413
+ jQuery(this.eID.stp + j).click(function () {
414
+ that.E_stop(j);
415
+ });
416
+ jQuery(this.eID.stp + j).dblclick(function () {
417
+ that.E_dblstop(j);
418
+ });
419
+
420
+ jQuery(this.eID.plwrap + j).hide();
421
+ if (p.list.length > 1) {
422
+ jQuery(this.eID.next + j).click(function () {
423
+ that.E_change_track(j, 'next');
424
+ });
425
+ jQuery(this.eID.prev + j).click(function () {
426
+ that.E_change_track(j, 'prev');
427
+ });
428
+
429
+ var liClass = '';
430
+ var l = p.list.length;
431
+ jQuery(this.eID.ul + j).empty();
432
+ for (i = 0; i < l; i += 1) {
433
+ liClass = ( i === l-1 ) ? ' mjp-li-last' : '';
434
+ li = '<li class="li-mjp' + liClass + '"><a class="a-mjp" href="#" id="' + this.eID.a + j + '_' + i + '">' + p.list[i].name + '</a></li>';
435
+ jQuery(this.eID.ul + j).append(li);
436
+ this.add_ul_click(j, i);
437
+ }
438
+ jQuery('#' + this.eID.a + j + '_' + p.tr).addClass('mp3j_A_current');
439
+ jQuery(this.eID.toglist + j).click(function () {
440
+ that.togglelist(j);
441
+ });
442
+ if (p.lstate === true) {
443
+ jQuery(this.eID.plwrap + j).show();
444
+ }
445
+ }
446
+
447
+ this.writedownload(j, p.tr);
448
+ if ( this.vars.force_dload === true ) {
449
+ this.dl_closeinfo_click(j);
450
+ }
451
+
452
+ jQuery(this.eID.lPP + j).click(function () {
453
+ return that.E_launchPP(j);
454
+ });
455
+
456
+ jQuery( '#innerExt1_' + j ).click( function ( e ) {
457
+ if ( that.mutes[j] === false ) {
458
+ if ( j === that.tID ) {
459
+ jQuery( that.jpID ).jPlayer( 'volume', 0 );
460
+ }
461
+ jQuery( '#innerExt1_' + j ).addClass( 'vol-muted' );
462
+ jQuery( that.eID.vol + j ).slider( 'value', 0 );
463
+ that.mutes[j] = p.vol;
464
+ p.vol = 0;
465
+ } else {
466
+ if ( j === that.tID ) {
467
+ jQuery( that.jpID ).jPlayer( 'volume', that.factors.vol * that.mutes[j]/100 );
468
+ }
469
+ jQuery( '#innerExt1_' + j ).removeClass( 'vol-muted' );
470
+ jQuery( that.eID.vol + j ).slider( 'value', that.mutes[j] );
471
+ p.vol = that.mutes[j];
472
+ that.mutes[j] = false;
473
+ }
474
+ });
475
+ }
476
+
477
+ //POPOUT LINKS
478
+ if ('popout' === p.type) {
479
+ jQuery(this.eID.pplink + j).click(function () {
480
+ return that.E_launchPP(j);
481
+ });
482
+ }
483
+ },
484
+
485
+ add_ul_click: function (j, i) { //playlist item click
486
+ var that = this;
487
+ jQuery('#' + this.eID.a + j + "_" + i).click(function (e) {
488
+ that.E_change_track(j, i);
489
+ e.preventDefault();
490
+ });
491
+ },
492
+
493
+ unwrap: function () {
494
+ var i, j, arr;
495
+ if ( this.vars.play_f === true && typeof MP3jPLAYLISTS !== "undefined" ) {
496
+ for ( var key in MP3jPLAYLISTS ) {
497
+ if ( MP3jPLAYLISTS.hasOwnProperty( key ) ) {
498
+ arr = MP3jPLAYLISTS[key];
499
+ for ( j = 0; j < arr.length; j += 1 ) {
500
+ arr[j].mp3 = this.f_undo.f_con( arr[j].mp3 );
501
+ if ( arr[j].counterpart !== '' ) {
502
+ arr[j].counterpart = this.f_undo.f_con( arr[j].counterpart );
503
+ }
504
+ }
505
+ }
506
+ }
507
+ }
508
+ },
509
+
510
+ f_undo: {
511
+ keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
512
+ f_con : function (input) {
513
+ var output = "", i = 0, chr1, chr2, chr3, enc1, enc2, enc3, enc4;
514
+ input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
515
+ while (i < input.length) {
516
+ enc1 = this.keyStr.indexOf(input.charAt(i++)); enc2 = this.keyStr.indexOf(input.charAt(i++));
517
+ enc3 = this.keyStr.indexOf(input.charAt(i++)); enc4 = this.keyStr.indexOf(input.charAt(i++));
518
+ chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4;
519
+ output = output + String.fromCharCode(chr1);
520
+ if (enc3 !== 64) { output = output + String.fromCharCode(chr2); }
521
+ if (enc4 !== 64) { output = output + String.fromCharCode(chr3); }
522
+ }
523
+ output = this.utf8_f_con(output);
524
+ return output;
525
+ },
526
+ utf8_f_con : function (utftext) {
527
+ var string = "", i = 0, c, c1, c2, c3;
528
+ while (i < utftext.length) {
529
+ c = utftext.charCodeAt(i);
530
+ if (c < 128) {
531
+ string += String.fromCharCode(c); i++;
532
+ } else if ((c > 191) && (c < 224)) {
533
+ c2 = utftext.charCodeAt(i + 1); string += String.fromCharCode(((c & 31) << 6) | (c2 & 63)); i += 2;
534
+ } else {
535
+ c2 = utftext.charCodeAt(i + 1); c3 = utftext.charCodeAt(i + 2); string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63)); i += 3;
536
+ }
537
+ }
538
+ return string;
539
+ }
540
+ },
541
+
542
+ E_stop: function ( j, caller ) {
543
+ var exData = { pT:'', tT:'', pState: '', pU: '', lp:'', ppA:'', jperror:'' };
544
+ if (j === this.tID && j !== '') {
545
+ var preL = (this.tID !== '' ) ? this.pl_info[this.tID].list : false;
546
+ var pU = ( preL !== false ) ? preL[ this.pl_info[this.tID].tr ].mp3 : '';
547
+
548
+ if ( this.exData === false ) {
549
+ exData.pT = this.played_t;
550
+ exData.tT = this.total_t;
551
+ exData.pState = this.state;
552
+ exData.pU = pU;
553
+ exData.lp = this.load_pc;
554
+ exData.ppA = this.pp_abs;
555
+ } else {
556
+ exData = this.exData;
557
+ }
558
+
559
+ if ( caller !== 'Echange' && this.jperrorIDs[j] === false ) {
560
+ this.runExternals( 'change_pre', exData );
561
+ }
562
+
563
+ this.clearit();
564
+ if ( jQuery(this.eID.pos + j + ' div.ui-widget-header').length > 0 ) {
565
+ jQuery(this.eID.pos + j).off( 'click', MP3_JPLAYER.stopProp );
566
+ jQuery(this.eID.pos + j).slider('destroy');
567
+ }
568
+ jQuery(this.eID.loader + j).css( "width", '0%' );
569
+ this.button(j, 'play');
570
+ if (this.pl_info[j].type === 'MI') {
571
+ jQuery(this.eID.poscol + j).css( "width", '0%' );
572
+ jQuery(this.eID.tT + j).empty();
573
+ jQuery(this.eID.indiM + j).empty().append('<span class="mjp-stopped">Stopped</span>');
574
+ jQuery(this.eID.pT + j).text(this.Tformat(0));
575
+ } else {
576
+ jQuery(this.eID.indiM + j).empty();
577
+ }
578
+ this.load_pc = 0;
579
+ this.played_t = 0;
580
+ jQuery('#mp3j_nosolution_' + j).empty().hide();
581
+ }
582
+ return exData;
583
+ },
584
+
585
+ E_dblstop: function (j) { //playlisters only
586
+ this.listclass(j, this.pl_info[j].tr, 0);
587
+ if ( this.pl_info[j].tr !== 0 ) {
588
+ this.titles(j, 0);
589
+ }
590
+ this.writedownload(j, 0);
591
+ this.E_stop(j);
592
+ jQuery(this.eID.indiM + j).empty().append('<span class="mjp-ready">Ready</span>');
593
+ this.pl_info[j].tr = 0;
594
+ },
595
+
596
+ E_change_track: function (j, change) {
597
+ var track;
598
+ var txt;
599
+ var p = this.pl_info[j];
600
+
601
+ this.runExternals( 'change_begin', { id: j, change: change } );
602
+
603
+ if (j === this.tID && change === p.tr) {
604
+ if ('playing' === this.state) {
605
+ if (this.load_pc === 0) {
606
+ this.E_stop( j, 'Echange');
607
+ } else {
608
+ this.pauseit();
609
+ this.button(j, 'play');
610
+ if ('MI' === p.type) {
611
+ jQuery(this.eID.indiM + j).empty().append('<span class="mjp-paused">Paused</span>');
612
+ }
613
+ }
614
+ return;
615
+ } else if ('paused' === this.state || 'set' === this.state) {
616
+ this.playit();
617
+ this.button(j, 'pause');
618
+ return;
619
+ }
620
+ }
621
+
622
+ var exData = this.E_stop( this.tID, 'Echange' );
623
+
624
+ if ('prev' === change) {
625
+ track = (p.tr-1 < 0) ? p.list.length-1 : p.tr-1;
626
+ } else if ('next' === change) {
627
+ track = (p.tr+1 < p.list.length) ? p.tr+1 : 0;
628
+ } else {
629
+ track = change;
630
+ }
631
+
632
+ jQuery(this.jpID).jPlayer("volume", 1 ); //Vol scaling fix
633
+ jQuery('#mp3j_nosolution_' + j).hide();
634
+ txt = ('MI' === p.type) ? '<span class="mp3-finding"></span><span class="mp3-tint"></span><span class="mjp-connecting">Connecting</span>' : '<span class="Smp3-finding"></span><span class="mp3-gtint"></span>';
635
+ jQuery(this.eID.indiM + j).empty().append(txt);
636
+ this.button(j, 'pause');
637
+ this.makeslider(j);
638
+ if ('MI' === p.type) {
639
+ this.listclass(j, p.tr, track);
640
+ if ( p.tr !== track ) {
641
+ this.titles(j, track);
642
+ }
643
+ if (p.download) {
644
+ this.writedownload(j, track);
645
+ jQuery(this.eID.dload + j).hide().addClass('whilelinks').fadeIn(400);
646
+ }
647
+ }
648
+ p.tr = track;
649
+ this.tID = j;
650
+
651
+ var formatString = p.list[track].formats[0] + ( (typeof p.list[track].formats[1] !== 'undefined') ? ',' + p.list[track].formats[1] : '' );
652
+ if ( formatString !== this.lastformats || this.jperrorIDs[ j ] ) {
653
+ this.jperrorIDs[ j ] = false;
654
+ this.destroy_jp();
655
+ this.initialise_jp( formatString, p.list[track], p.vol );
656
+ } else {
657
+ this.jperrorIDs[ j ] = false;
658
+ this.setAudio( p.list[track] );
659
+ this.playit();
660
+ jQuery(this.jpID).jPlayer("volume", this.factors.vol * p.vol/100 ); //Reset to correct vol
661
+ }
662
+
663
+ exData.mp3 = p.list[track].mp3;
664
+ exData.name = p.list[track].name;
665
+ exData.artist = p.list[track].artist;
666
+ this.exData = exData;
667
+ this.runExternals( 'change_end', exData );
668
+ },
669
+
670
+ E_launchPP: function (j) {
671
+ this.launched_ID = j;
672
+ this.was_playing = ( this.state === "playing" ) ? true : false;
673
+ var data = { id: this.launched_ID, playing: this.was_playing };
674
+
675
+ this.runExternals( 'button_popout', data );
676
+
677
+ if ( this.tID !== '' ) {
678
+ this.E_stop(this.tID);
679
+ if ( 'mp3,oga' !== this.lastformats ) {
680
+ this.destroy_jp();
681
+ this.initialise_jp( 'mp3,oga', false, 100 );
682
+ } else {
683
+ this.setAudio( false );
684
+ this.playit(); //make chrome let go of last track (incase it didn't finish loading)
685
+ this.clearit();
686
+ }
687
+ }
688
+
689
+ var newwindow = window.open( this.plugin_path + '/popout.php', 'mp3jpopout', 'height=' +this.pl_info[j].popout_css.colours[13]+ ', width=' +this.pl_info[j].popout_css.colours[12]+ ', location=1, status=1, scrollbars=1, resizable=1, left=25, top=25' );
690
+ if ( window.focus ) {
691
+ newwindow.focus();
692
+ }
693
+ return false;
694
+ },
695
+
696
+ setAudio: function ( track ) {
697
+ var media = {};
698
+ this.state = 'set';
699
+ if ( false === track ) {
700
+ media['mp3'] = this.plugin_path + '/mp3/silence.mp3';
701
+ media['ogg'] = this.plugin_path + '/mp3/silence.ogg';
702
+ } else {
703
+ media[ track.formats[0] ] = track.mp3;
704
+ if ( typeof track.formats[1] !== 'undefined' ) {
705
+ media[ track.formats[1] ] = track.counterpart;
706
+ }
707
+ }
708
+ jQuery(this.jpID).jPlayer( "setMedia", media );
709
+ },
710
+
711
+ playit: function () {
712
+ this.state = 'playing';
713
+ jQuery(this.jpID).jPlayer("play");
714
+ },
715
+ pauseit: function () {
716
+ this.state = 'paused';
717
+ jQuery(this.jpID).jPlayer("pause");
718
+ },
719
+ clearit: function () {
720
+ this.state = '';
721
+ jQuery(this.jpID).jPlayer("clearMedia");
722
+ },
723
+
724
+ button: function (j, type) {
725
+ if (j !== '') {
726
+ if ('pause' === type) {
727
+ jQuery( this.eID.play + j ).removeClass( 'play-mjp' ).addClass( 'pause-mjp' ).empty().append( this.pl_info[j].pause_txt );
728
+ }
729
+ if ('play' === type) {
730
+ jQuery( this.eID.play + j ).removeClass( 'pause-mjp' ).addClass( 'play-mjp' ).empty().append( this.pl_info[j].play_txt );
731
+ }
732
+ }
733
+ this.runExternals( 'button_playpause', { type: type } );
734
+ },
735
+
736
+ listclass: function ( j, rem, add ) {
737
+ jQuery('#'+ this.eID.a + j +'_'+ rem).removeClass('mp3j_A_current');
738
+ jQuery('#'+ this.eID.a + j +'_'+ add).addClass('mp3j_A_current');
739
+ },
740
+
741
+ titles: function ( j, track ) {
742
+ var data;
743
+ var p = this.pl_info[j], Olink = '', Clink = '';
744
+ var img = p.list[track].image;
745
+ if (p.type === "MI") {
746
+ jQuery(this.eID.title + j).empty().append(p.list[track].name).append('<br /><div>' + p.list[track].artist + '</div>');
747
+ var lastImg = jQuery(this.eID.img + j + ' img').attr('src');
748
+ if ( img === 'false' || img === 'true' || img === '' ) {
749
+ jQuery(this.eID.img + j).empty();
750
+ } else if ( img !== lastImg ) {
751
+ if (p.list[track].imgurl !== '') {
752
+ Olink = '<a href="' + p.list[track].imgurl + '">';
753
+ Clink = '</a>';
754
+ }
755
+ jQuery(this.eID.img + j).empty().hide().append(Olink + '<img src="' + p.list[track].image + '" />' + Clink).fadeIn(300);
756
+ }
757
+ }
758
+ data = { title: p.list[track].name, caption: p.list[track].artist, id: j };
759
+ this.runExternals( 'write_titles', data );
760
+ },
761
+
762
+ writedownload: function ( j, track ) {
763
+ var data;
764
+ var p = this.pl_info[j];
765
+ if ( p.download ) {
766
+ jQuery(this.eID.dload + j).empty().removeClass('whilelinks').append('<a id="mp3j_dlanchor_' + j + '" href="' + p.list[track].mp3 + '" target="_blank">' + this.vars.dload_text + '</a>');
767
+ if ( this.vars.force_dload === true ) {
768
+ this.dl_button_click( j );
769
+ }
770
+ }
771
+ data = { is_download: p.download , url: p.list[track].mp3 };
772
+ this.runExternals( 'write_download', data );
773
+ },
774
+
775
+ togglelist: function ( j ) {
776
+ if (this.pl_info[j].lstate === true) {
777
+ jQuery(this.eID.plwrap + j).fadeOut(300);
778
+ jQuery(this.eID.toglist + j).text('SHOW');
779
+ this.pl_info[j].lstate = false;
780
+ } else if (this.pl_info[j].lstate === false) {
781
+ jQuery(this.eID.plwrap + j).fadeIn("slow");
782
+ jQuery(this.eID.toglist + j).text('HIDE');
783
+ this.pl_info[j].lstate = true;
784
+ }
785
+ },
786
+
787
+ makeslider: function ( j ) {
788
+ var phmove, cssmove, that = this;
789
+ jQuery(this.eID.pos + j).css( 'visibility', 'hidden' );
790
+
791
+ jQuery(this.eID.pos + j).slider({
792
+ max: 1000,
793
+ range: 'min',
794
+ slide: function (event, ui) {
795
+ if ( that.allowRanges || (ui.value/10) < that.load_pc ) {
796
+ cssmove = ui.value/10;
797
+ phmove = ui.value*(10.0/that.jp_seekable);
798
+ } else {
799
+ cssmove = 0.99*that.load_pc;
800
+ phmove = (9.9*that.load_pc)*(10.0/that.jp_seekable);
801
+ }
802
+ jQuery(that.eID.poscol + j).css('width', cssmove + '%');
803
+ jQuery(that.jpID).jPlayer("playHead", phmove );
804
+ if (that.state === 'paused') {
805
+ that.button(j, 'pause');
806
+ that.playit();
807
+ }
808
+ that.state = 'playing';
809
+ },
810
+ start: function ( event, ui ) {
811
+ that.sliding = true;
812
+ },
813
+ stop: function ( event, ui ) {
814
+ that.sliding = false;
815
+ }
816
+ });
817
+
818
+ jQuery(this.eID.pos + j).on( 'click', MP3_JPLAYER.stopProp );
819
+ },
820
+
821
+ stopProp: function ( e ) {
822
+ e.stopPropagation();
823
+ },
824
+
825
+ deviceInfo: function () {
826
+ var isMobile = false;
827
+ var os = '';
828
+ var device = '';
829
+ var ua = navigator.userAgent;
830
+ var p = navigator.platform;
831
+ var matched;
832
+
833
+ if ( /bot|spider/i.test( ua ) ) {
834
+ os = 'spider';
835
+ } else {
836
+ if ( /iPhone|iPod|iPad/.test( p ) ) {
837
+ os = 'iOS';
838
+ device = p;
839
+ isMobile = true;
840
+ } else {
841
+ var matched = /Android|BlackBerry|IEMobile|Opera Mini|Mobi|Tablet/.exec( ua );
842
+ if ( matched ) {
843
+ device = ( matched[0] === 'Mobi' ) ? 'Mobile' : matched[0];
844
+ isMobile = true;
845
+ }
846
+ }
847
+
848
+ if ( ! isMobile ) {
849
+ if ( /Mac/.test( p ) ) {
850
+ os = 'Mac';
851
+ device = 'Desk/Laptop';
852
+ } else if ( /Linux/.test( p ) ) {
853
+ os = 'Linux';
854
+ device = 'Desk/Laptop';
855
+ } else if ( /Win|Pocket PC/.test( p ) ) {
856
+ os = 'Windows';
857
+ device = 'Desk/Laptop';
858
+ }
859
+ }
860
+ }
861
+ return { os:os, device:device, isMobile:isMobile };
862
+ }
863
+ };
864
+
865
+
866
+ /*
867
+ * Force browser download
868
+ * Version 1.1
869
+ * 2014 Simon Ward
870
+ */
871
+ MP3_JPLAYER.dl_button_click = function ( j ) {
872
+ var that = this, p = this.pl_info[j];
873
+ jQuery('#mp3j_dlanchor_' + j).click(function (e) {
874
+ that.dl_runinfo( p.list[p.tr].mp3, j, e );
875
+ that.runExternals( 'download', p.list[p.tr] );
876
+ e.preventDefault();
877
+ });
878
+ };
879
+
880
+ MP3_JPLAYER.dl_closeinfo_click = function ( j ) {
881
+ var that = this;
882
+ jQuery('#mp3j_finfo_close_' + j).click(function () {
883
+ that.dl_dialogue( j, '', 'close');
884
+ that.clear_timers( j );
885
+ });
886
+ };
887
+
888
+ MP3_JPLAYER.dl_runinfo = function ( get, j, e ) {
889
+ var can_write,
890
+ dlpath,
891
+ message,
892
+ that = this,
893
+ dlframe = false,
894
+ p = this.pl_info[j],
895
+ is_local = this.is_local_dload( get );
896
+
897
+ var enc_get;
898
+
899
+ if ( !this.intervalIDs[ j ] && !this.timeoutIDs[ j ] ) { //if timers not already running for this player
900
+ can_write = this.write_cookie('mp3Download' + j, 'waiting', '');
901
+ if ( is_local ) {
902
+ if ( can_write !== false ) {
903
+ this.dl_dialogue( j, this.vars.message_interval, 'check');
904
+ } else {
905
+ this.dl_dialogue( j, this.vars.message_indark, 'indark');
906
+ }
907
+ this.intervalIDs[ j ] = setInterval( function(){ that.dl_interval_check( j, can_write ); }, 500);
908
+ this.timeoutIDs[ j ] = setTimeout( function(){ that.dl_timeout( j, can_write ); }, 7000);
909
+ dlframe = true;
910
+ } else {
911
+ if ( this.vars.dl_remote_path === '' ) {
912
+ message = this.vars.message_promtlink.replace('#1', get);
913
+ message = message.replace('#2', p.list[p.tr].name);
914
+ this.dl_dialogue( j, message, 'indark');
915
+ } else {
916
+ message = this.vars.message_indark.replace('#1', get);
917
+ message = message.replace('#2', p.list[p.tr].name);
918
+ this.dl_dialogue( j, message, 'indark');
919
+ dlframe = true;
920
+ }
921
+ }
922
+ this.dl_dialogs[ j ] = 'false';
923
+ if ( dlframe ) {
924
+ dlpath = this.get_dloader_path( get );
925
+ enc_get = encodeURIComponent( get );
926
+ jQuery('#mp3j_dlf_' + j).empty().append('<iframe id="mp3j_dlframe_' + j + '" name="mp3j_dlframe_' + j + '" class="mp3j-dlframe" src="' + dlpath + '?mp3=loc' + enc_get + '&pID=' + j + '" style="display:none;"></iframe>');
927
+ }
928
+ }
929
+ };
930
+
931
+ MP3_JPLAYER.dl_interval_check = function ( j, can_write ) {
932
+ if ( can_write !== false && this.read_cookie('mp3Download' + j) === 'true' ) { //got cookie back, all should be good
933
+ this.dl_dialogue( j, this.vars.message_ok, 'hide');
934
+ this.clear_timers( j );
935
+ } else if ( this.dl_dialogs[ j ] !== 'false' ) { //got a message back
936
+ this.dl_dialogue( j, this.dl_dialogs[ j ], 'add');
937
+ this.clear_timers( j );
938
+ }
939
+ };
940
+
941
+ MP3_JPLAYER.dl_timeout = function ( j, can_write ) {
942
+ this.clear_timers( j );
943
+ if ( can_write !== false ) {
944
+ this.dl_dialogue( j, this.vars.message_timeout, 'add');
945
+ }
946
+ };
947
+
948
+ MP3_JPLAYER.clear_timers = function ( j ) {
949
+ if ( this.intervalIDs[ j ] !== null && this.timeoutIDs[ j ] !== null ) {
950
+ clearInterval( this.intervalIDs[j] );
951
+ clearTimeout( this.timeoutIDs[j] );
952
+ this.intervalIDs[ j ] = null;
953
+ this.timeoutIDs[j] = null;
954
+ }
955
+ jQuery('#mp3j_dlf_' + j).empty(); //ditch iframe
956
+ this.write_cookie('mp3Download' + j, '', -1); //clear any cookie
957
+ };
958
+
959
+ MP3_JPLAYER.dl_dialogue = function ( j, text, state ) {
960
+ if ( 'check' === state ) {
961
+ jQuery('#mp3j_finfo_gif_' + j).show();
962
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
963
+ jQuery('#mp3j_finfo_' + j).show();
964
+ } else if ( 'add' === state ) {
965
+ jQuery('#mp3j_finfo_gif_' + j).hide();
966
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
967
+ } else if ( 'indark' === state ) {
968
+ jQuery('#mp3j_finfo_gif_' + j).hide();
969
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
970
+ jQuery('#mp3j_finfo_' + j).fadeIn(100);
971
+ } else if ( 'close' === state ) {
972
+ jQuery('#mp3j_finfo_gif_' + j).hide();
973
+ jQuery('#mp3j_finfo_' + j).hide();
974
+ } else {
975
+ jQuery('#mp3j_finfo_gif_' + j).hide();
976
+ if ( text !== '' ) {
977
+ jQuery('#mp3j_finfo_txt_' + j).empty().append(text).show();
978
+ }
979
+ jQuery('#mp3j_finfo_' + j).fadeOut(1000);
980
+ }
981
+
982
+ this.runExternals( 'download_dialog', { id: j, text: text, state: state } );
983
+ };
984
+
985
+ MP3_JPLAYER.read_cookie = function ( name ) {
986
+ var i, cookie, allCookies = document.cookie.split('; ');
987
+ if ( allCookies.length > 0 ) {
988
+ for ( i = 0; i < allCookies.length; i += 1 ) {
989
+ cookie = allCookies[i].split( '=' );
990
+ if ( cookie[0] === name ) {
991
+ return cookie[1];
992
+ }
993
+ }
994
+ }
995
+ return false;
996
+ };
997
+
998
+ MP3_JPLAYER.write_cookie = function ( name, value, days ) {
999
+ var date, expires = "";
1000
+ if ( days ) {
1001
+ date = new Date();
1002
+ date.setTime( date.getTime() + (days*24*60*60*1000) );
1003
+ expires = "; expires=" + date.toGMTString();
1004
+ }
1005
+ document.cookie = name + "=" + value + expires + "; path=/";
1006
+ return this.read_cookie( name );
1007
+ };
1008
+
1009
+ MP3_JPLAYER.get_dloader_path = function ( loc ) {
1010
+ var k, path = "", file = "", chunks;
1011
+ chunks = loc.split('/');
1012
+ file = chunks[chunks.length-1];
1013
+ if ( loc.charAt(0) === '/' ) {
1014
+ path = this.plugin_path + '/download.php';
1015
+ } else {
1016
+ path = chunks[2].replace(/^www./i, "");
1017
+ if ( path === this.dl_domain ) {
1018
+ path = this.plugin_path + '/download.php';
1019
+ } else {
1020
+ path = chunks[0] + '//' + chunks[2] + this.vars.dl_remote_path;
1021
+ }
1022
+ }
1023
+ return path;
1024
+ };
1025
+
1026
+ MP3_JPLAYER.is_local_dload = function ( loc ) {
1027
+ var domain = "", file = "", chunks, is_local = false;
1028
+ chunks = loc.split('/');
1029
+ file = chunks[chunks.length-1];
1030
+ if ( loc.charAt(0) === '/' ) {
1031
+ is_local = true;
1032
+ } else {
1033
+ domain = chunks[2].replace(/^www./i, "");
1034
+ if ( domain === this.dl_domain ) {
1035
+ is_local = true;
1036
+ }
1037
+ }
1038
+ return is_local;
1039
+ };
js/popout/core.min.js CHANGED
@@ -1,11 +1,11 @@
1
- /*!
2
- * jQuery UI Core 1.11.2
3
- * http://jqueryui.com
4
- *
5
- * Copyright 2014 jQuery Foundation and other contributors
6
- * Released under the MIT license.
7
- * http://jquery.org/license
8
- *
9
- * http://api.jqueryui.com/category/ui-core/
10
- */
11
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(b,d){var e,f,g,h=b.nodeName.toLowerCase();return"area"===h?(e=b.parentNode,f=e.name,b.href&&f&&"map"===e.nodeName.toLowerCase()?(g=a("img[usemap='#"+f+"']")[0],!!g&&c(g)):!1):(/input|select|textarea|button|object/.test(h)?!b.disabled:"a"===h?b.href||d:d)&&c(b)}function c(b){return a.expr.filters.visible(b)&&!a(b).parents().addBack().filter(function(){return"hidden"===a.css(this,"visibility")}).length}a.ui=a.ui||{},a.extend(a.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),a.fn.extend({scrollParent:function(b){var c=this.css("position"),d="absolute"===c,e=b?/(auto|scroll|hidden)/:/(auto|scroll)/,f=this.parents().filter(function(){var b=a(this);return d&&"static"===b.css("position")?!1:e.test(b.css("overflow")+b.css("overflow-y")+b.css("overflow-x"))}).eq(0);return"fixed"!==c&&f.length?f:a(this[0].ownerDocument||document)},uniqueId:function(){var a=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&a(this).removeAttr("id")})}}),a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(b){return function(c){return!!a.data(c,b)}}):function(b,c,d){return!!a.data(b,d[3])},focusable:function(c){return b(c,!isNaN(a.attr(c,"tabindex")))},tabbable:function(c){var d=a.attr(c,"tabindex"),e=isNaN(d);return(e||d>=0)&&b(c,!e)}}),a("<a>").outerWidth(1).jquery||a.each(["Width","Height"],function(b,c){function d(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.css(b,"padding"+this))||0,d&&(c-=parseFloat(a.css(b,"border"+this+"Width"))||0),f&&(c-=parseFloat(a.css(b,"margin"+this))||0)}),c}var e="Width"===c?["Left","Right"]:["Top","Bottom"],f=c.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+c]=function(b){return void 0===b?g["inner"+c].call(this):this.each(function(){a(this).css(f,d(this,b)+"px")})},a.fn["outer"+c]=function(b,e){return"number"!=typeof b?g["outer"+c].call(this,b):this.each(function(){a(this).css(f,d(this,b,!0,e)+"px")})}}),a.fn.addBack||(a.fn.addBack=function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}),a("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(a.fn.removeData=function(b){return function(c){return arguments.length?b.call(this,a.camelCase(c)):b.call(this)}}(a.fn.removeData)),a.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),a.fn.extend({focus:function(b){return function(c,d){return"number"==typeof c?this.each(function(){var b=this;setTimeout(function(){a(b).focus(),d&&d.call(b)},c)}):b.apply(this,arguments)}}(a.fn.focus),disableSelection:function(){var a="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(b){if(void 0!==b)return this.css("zIndex",b);if(this.length)for(var c,d,e=a(this[0]);e.length&&e[0]!==document;){if(c=e.css("position"),("absolute"===c||"relative"===c||"fixed"===c)&&(d=parseInt(e.css("zIndex"),10),!isNaN(d)&&0!==d))return d;e=e.parent()}return 0}}),a.ui.plugin={add:function(b,c,d){var e,f=a.ui[b].prototype;for(e in d)f.plugins[e]=f.plugins[e]||[],f.plugins[e].push([c,d[e]])},call:function(a,b,c,d){var e,f=a.plugins[b];if(f&&(d||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))for(e=0;e<f.length;e++)a.options[f[e][0]]&&f[e][1].apply(a.element,c)}}});
1
+ /*!
2
+ * jQuery UI Core 1.11.2
3
+ * http://jqueryui.com
4
+ *
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
+ * Released under the MIT license.
7
+ * http://jquery.org/license
8
+ *
9
+ * http://api.jqueryui.com/category/ui-core/
10
+ */
11
  !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){function b(b,d){var e,f,g,h=b.nodeName.toLowerCase();return"area"===h?(e=b.parentNode,f=e.name,b.href&&f&&"map"===e.nodeName.toLowerCase()?(g=a("img[usemap='#"+f+"']")[0],!!g&&c(g)):!1):(/input|select|textarea|button|object/.test(h)?!b.disabled:"a"===h?b.href||d:d)&&c(b)}function c(b){return a.expr.filters.visible(b)&&!a(b).parents().addBack().filter(function(){return"hidden"===a.css(this,"visibility")}).length}a.ui=a.ui||{},a.extend(a.ui,{version:"1.11.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),a.fn.extend({scrollParent:function(b){var c=this.css("position"),d="absolute"===c,e=b?/(auto|scroll|hidden)/:/(auto|scroll)/,f=this.parents().filter(function(){var b=a(this);return d&&"static"===b.css("position")?!1:e.test(b.css("overflow")+b.css("overflow-y")+b.css("overflow-x"))}).eq(0);return"fixed"!==c&&f.length?f:a(this[0].ownerDocument||document)},uniqueId:function(){var a=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&a(this).removeAttr("id")})}}),a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(b){return function(c){return!!a.data(c,b)}}):function(b,c,d){return!!a.data(b,d[3])},focusable:function(c){return b(c,!isNaN(a.attr(c,"tabindex")))},tabbable:function(c){var d=a.attr(c,"tabindex"),e=isNaN(d);return(e||d>=0)&&b(c,!e)}}),a("<a>").outerWidth(1).jquery||a.each(["Width","Height"],function(b,c){function d(b,c,d,f){return a.each(e,function(){c-=parseFloat(a.css(b,"padding"+this))||0,d&&(c-=parseFloat(a.css(b,"border"+this+"Width"))||0),f&&(c-=parseFloat(a.css(b,"margin"+this))||0)}),c}var e="Width"===c?["Left","Right"]:["Top","Bottom"],f=c.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+c]=function(b){return void 0===b?g["inner"+c].call(this):this.each(function(){a(this).css(f,d(this,b)+"px")})},a.fn["outer"+c]=function(b,e){return"number"!=typeof b?g["outer"+c].call(this,b):this.each(function(){a(this).css(f,d(this,b,!0,e)+"px")})}}),a.fn.addBack||(a.fn.addBack=function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}),a("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(a.fn.removeData=function(b){return function(c){return arguments.length?b.call(this,a.camelCase(c)):b.call(this)}}(a.fn.removeData)),a.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),a.fn.extend({focus:function(b){return function(c,d){return"number"==typeof c?this.each(function(){var b=this;setTimeout(function(){a(b).focus(),d&&d.call(b)},c)}):b.apply(this,arguments)}}(a.fn.focus),disableSelection:function(){var a="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(b){if(void 0!==b)return this.css("zIndex",b);if(this.length)for(var c,d,e=a(this[0]);e.length&&e[0]!==document;){if(c=e.css("position"),("absolute"===c||"relative"===c||"fixed"===c)&&(d=parseInt(e.css("zIndex"),10),!isNaN(d)&&0!==d))return d;e=e.parent()}return 0}}),a.ui.plugin={add:function(b,c,d){var e,f=a.ui[b].prototype;for(e in d)f.plugins[e]=f.plugins[e]||[],f.plugins[e].push([c,d[e]])},call:function(a,b,c,d){var e,f=a.plugins[b];if(f&&(d||a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType))for(e=0;e<f.length;e++)a.options[f[e][0]]&&f[e][1].apply(a.element,c)}}});
js/popout/jquery.js CHANGED
@@ -1,5 +1,5 @@
1
- /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
2
- !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;
3
- if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?m.queue(this[0],a):void 0===b?this:this.each(function(){var c=m.queue(this,a,b);m._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=m.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=m._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=["Top","Right","Bottom","Left"],U=function(a,b){return a=b||a,"none"===m.css(a,"display")||!m.contains(a.ownerDocument,a)},V=m.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===m.type(c)){e=!0;for(h in c)m.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,m.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(m(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[m.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=Z.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new m.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||y),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||y,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cb()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===cb()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return m.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=m.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEvent=y.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===K&&(a[d]=null),a.detachEvent(d,c))},m.Event=function(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ab:bb):this.type=a,b&&m.extend(this,b),this.timeStamp=a&&a.timeStamp||m.now(),void(this[m.expando]=!0)):new m.Event(a,b)},m.Event.prototype={isDefaultPrevented:bb,isPropagationStopped:bb,isImmediatePropagationStopped:bb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ab,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ab,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ab,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!m.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.submitBubbles||(m.event.special.submit={setup:function(){return m.nodeName(this,"form")?!1:void m.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=m.nodeName(b,"input")||m.nodeName(b,"button")?b.form:void 0;c&&!m._data(c,"submitBubbles")&&(m.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),m._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,"form")?!1:void m.event.remove(this,"._submit")}}),k.changeBubbles||(m.event.special.change={setup:function(){return X.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(m.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),m.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),m.event.simulate("change",this,a,!0)})),!1):void m.event.add(this,"beforeactivate._change",function(a){var b=a.target;X.test(b.nodeName)&&!m._data(b,"changeBubbles")&&(m.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate("change",this.parentNode,a,!0)}),m._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,"._change"),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=m._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=m._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=bb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return m().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=m.guid++)),this.each(function(){m.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,m(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=bb),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?m.event.trigger(a,b,c,!0):void 0}});function db(a){var b=eb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fb=/ jQuery\d+="(?:null|\d+)"/g,gb=new RegExp("<(?:"+eb+")[\\s/>]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,mb=/<(?:script|style|link)/i,nb=/checked\s*(?:[^=]|=\s*.checked.)/i,ob=/^$|\/(?:java|ecma)script/i,pb=/^true\/(.*)/,qb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:k.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1></$2>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?"<table>"!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Cb[0].contentWindow||Cb[0].contentDocument).document,b.write(),b.close(),c=Eb(a,b),Cb.detach()),Db[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Gb=/^margin/,Hb=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ib,Jb,Kb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ib=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Hb.test(g)&&Gb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):y.documentElement.currentStyle&&(Ib=function(a){return a.currentStyle},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Hb.test(g)&&!Kb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Lb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight)),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Mb=/alpha\([^)]*\)/i,Nb=/opacity\s*=\s*([^)]*)/,Ob=/^(none|table(?!-c[ea]).+)/,Pb=new RegExp("^("+S+")(.*)$","i"),Qb=new RegExp("^([+-])=("+S+")","i"),Rb={position:"absolute",visibility:"hidden",display:"block"},Sb={letterSpacing:"0",fontWeight:"400"},Tb=["Webkit","O","Moz","ms"];function Ub(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Tb.length;while(e--)if(b=Tb[e]+c,b in a)return b;return d}function Vb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fb(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Wb(a,b,c){var d=Pb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Yb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ib(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Jb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Hb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xb(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Jb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ub(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ub(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Jb(a,b,d)),"normal"===f&&b in Sb&&(f=Sb[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Ob.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Rb,function(){return Yb(a,b,d)}):Yb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ib(a);return Wb(a,c,d?Xb(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Mb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Mb.test(f)?f.replace(Mb,e):f+" "+e)}}),m.cssHooks.marginRight=Lb(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Jb,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Gb.test(a)||(m.cssHooks[a+b].set=Wb)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ib(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Vb(this,!0)},hide:function(){return Vb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Zb(a,b,c,d,e){return new Zb.prototype.init(a,b,c,d,e)}m.Tween=Zb,Zb.prototype={constructor:Zb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px")
4
- },cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function(a){var b,c=Zb.propHooks[this.prop];return this.pos=b=this.options.duration?m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Zb.propHooks._default.set(this),this}},Zb.prototype.init.prototype=Zb.prototype,Zb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Zb.propHooks.scrollTop=Zb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Zb.prototype.init,m.fx.step={};var $b,_b,ac=/^(?:toggle|show|hide)$/,bc=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cc=/queueHooks$/,dc=[ic],ec={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bc.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bc.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fc(){return setTimeout(function(){$b=void 0}),$b=m.now()}function gc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hc(a,b,c){for(var d,e=(ec[b]||[]).concat(ec["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ic(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fb(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fb(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ac.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fb(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hc(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jc(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kc(a,b,c){var d,e,f=0,g=dc.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$b||fc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$b||fc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jc(k,j.opts.specialEasing);g>f;f++)if(d=dc[f].call(j,a,k,j.opts))return d;return m.map(k,hc,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}m.Animation=m.extend(kc,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],ec[c]=ec[c]||[],ec[c].unshift(b)},prefilter:function(a,b){b?dc.unshift(a):dc.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kc(this,m.extend({},a),f);(e||m._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gc(b,!0),a,d,e)}}),m.each({slideDown:gc("show"),slideUp:gc("hide"),slideToggle:gc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($b=m.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||m.fx.stop(),$b=void 0},m.fx.timer=function(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){_b||(_b=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(_b),_b=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,b){return a=m.fx?m.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e;b=y.createElement("div"),b.setAttribute("className","t"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lc=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lc,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mc,nc,oc=m.expr.attrHandle,pc=/^(?:checked|selected)$/i,qc=k.getSetAttribute,rc=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nc:mc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rc&&qc||!pc.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qc?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nc={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rc&&qc||!pc.test(c)?a.setAttribute(!qc&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=oc[b]||m.find.attr;oc[b]=rc&&qc||!pc.test(b)?function(a,b,d){var e,f;return d||(f=oc[b],oc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,oc[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rc&&qc||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mc&&mc.set(a,b,c)}}),qc||(mc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},oc.id=oc.name=oc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mc.set},m.attrHooks.contenteditable={set:function(a,b,c){mc.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sc=/^(?:input|select|textarea|button|object)$/i,tc=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):sc.test(a.nodeName)||tc.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var uc=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(uc," ").indexOf(b)>=0)return!0;return!1}}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var vc=m.now(),wc=/\?/,xc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yc,zc,Ac=/#.*$/,Bc=/([?&])_=[^&]*/,Cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ec=/^(?:GET|HEAD)$/,Fc=/^\/\//,Gc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hc={},Ic={},Jc="*/".concat("*");try{zc=location.href}catch(Kc){zc=y.createElement("a"),zc.href="",zc=zc.href}yc=Gc.exec(zc.toLowerCase())||[];function Lc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mc(a,b,c,d){var e={},f=a===Ic;function g(h){var i;return e[h]=!0,m.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Nc(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Oc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zc,type:"GET",isLocal:Dc.test(yc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nc(Nc(a,m.ajaxSettings),b):Nc(m.ajaxSettings,a)},ajaxPrefilter:Lc(Hc),ajaxTransport:Lc(Ic),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.jquery)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zc)+"").replace(Ac,"").replace(Fc,yc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yc[1]&&c[2]===yc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yc[3]||("http:"===yc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mc(Hc,k,b,v),2===t)return v;h=k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Ec.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bc.test(e)?e.replace(Bc,"$1_="+vc++):e+(wc.test(e)?"&":"?")+"_="+vc++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mc(Ic,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Oc(k,v,c)),u=Pc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qc=/%20/g,Rc=/\[\]$/,Sc=/\r?\n/g,Tc=/^(?:submit|button|image|reset|file)$/i,Uc=/^(?:input|select|textarea|keygen)/i;function Vc(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rc.test(a)?d(a,e):Vc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vc(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vc(c,a[c],b,e);return d.join("&").replace(Qc,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Uc.test(this.nodeName)&&!Tc.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sc,"\r\n")}}):{name:b.name,value:c.replace(Sc,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zc()||$c()}:Zc;var Wc=0,Xc={},Yc=m.ajaxSettings.xhr();a.ActiveXObject&&m(a).on("unload",function(){for(var a in Xc)Xc[a](void 0,!0)}),k.cors=!!Yc&&"withCredentials"in Yc,Yc=k.ajax=!!Yc,Yc&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xc[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zc(){try{return new a.XMLHttpRequest}catch(b){}}function $c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _c=[],ad=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_c.pop()||m.expando+"_"+vc++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ad.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ad.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ad,"$1"+e):b.jsonp!==!1&&(b.url+=(wc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_c.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bd=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bd)return bd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("<div>").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ed=a.jQuery,fd=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fd),b&&a.jQuery===m&&(a.jQuery=ed),m},typeof b===K&&(a.jQuery=a.$=m),m});
5
- jQuery.noConflict();
1
+ /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
2
+ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="<div class='a'></div><div class='a i'></div>",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="<select msallowclip=''><option selected=''></option></select>",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=lb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=mb(b);function pb(){}pb.prototype=d.filters=d.pseudos,d.setFilters=new pb,g=fb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fb.error(a):z(a,i).slice(0)};function qb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;
3
+ if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?m.queue(this[0],a):void 0===b?this:this.each(function(){var c=m.queue(this,a,b);m._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=m.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=m._data(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=["Top","Right","Bottom","Left"],U=function(a,b){return a=b||a,"none"===m.css(a,"display")||!m.contains(a.ownerDocument,a)},V=m.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===m.type(c)){e=!0;for(h in c)m.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,m.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(m(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[m.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=Z.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new m.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||y),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||y,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==cb()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===cb()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return m.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=m.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEvent=y.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===K&&(a[d]=null),a.detachEvent(d,c))},m.Event=function(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ab:bb):this.type=a,b&&m.extend(this,b),this.timeStamp=a&&a.timeStamp||m.now(),void(this[m.expando]=!0)):new m.Event(a,b)},m.Event.prototype={isDefaultPrevented:bb,isPropagationStopped:bb,isImmediatePropagationStopped:bb,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ab,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ab,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ab,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!m.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.submitBubbles||(m.event.special.submit={setup:function(){return m.nodeName(this,"form")?!1:void m.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=m.nodeName(b,"input")||m.nodeName(b,"button")?b.form:void 0;c&&!m._data(c,"submitBubbles")&&(m.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),m._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,"form")?!1:void m.event.remove(this,"._submit")}}),k.changeBubbles||(m.event.special.change={setup:function(){return X.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(m.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),m.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),m.event.simulate("change",this,a,!0)})),!1):void m.event.add(this,"beforeactivate._change",function(a){var b=a.target;X.test(b.nodeName)&&!m._data(b,"changeBubbles")&&(m.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate("change",this.parentNode,a,!0)}),m._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,"._change"),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=m._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=m._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=bb;else if(!d)return this;return 1===e&&(g=d,d=function(a){return m().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=m.guid++)),this.each(function(){m.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,m(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=bb),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?m.event.trigger(a,b,c,!0):void 0}});function db(a){var b=eb.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var eb="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fb=/ jQuery\d+="(?:null|\d+)"/g,gb=new RegExp("<(?:"+eb+")[\\s/>]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/<tbody/i,lb=/<|&#?\w+;/,mb=/<(?:script|style|link)/i,nb=/checked\s*(?:[^=]|=\s*.checked.)/i,ob=/^$|\/(?:java|ecma)script/i,pb=/^true\/(.*)/,qb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,rb={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:k.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1></$2>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?"<table>"!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Cb[0].contentWindow||Cb[0].contentDocument).document,b.write(),b.close(),c=Eb(a,b),Cb.detach()),Db[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Gb=/^margin/,Hb=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ib,Jb,Kb=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ib=function(a){return a.ownerDocument.defaultView.getComputedStyle(a,null)},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Hb.test(g)&&Gb.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0===g?g:g+""}):y.documentElement.currentStyle&&(Ib=function(a){return a.currentStyle},Jb=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ib(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Hb.test(g)&&!Kb.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function Lb(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight)),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var Mb=/alpha\([^)]*\)/i,Nb=/opacity\s*=\s*([^)]*)/,Ob=/^(none|table(?!-c[ea]).+)/,Pb=new RegExp("^("+S+")(.*)$","i"),Qb=new RegExp("^([+-])=("+S+")","i"),Rb={position:"absolute",visibility:"hidden",display:"block"},Sb={letterSpacing:"0",fontWeight:"400"},Tb=["Webkit","O","Moz","ms"];function Ub(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Tb.length;while(e--)if(b=Tb[e]+c,b in a)return b;return d}function Vb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fb(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function Wb(a,b,c){var d=Pb.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Yb(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ib(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Jb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Hb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xb(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Jb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ub(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ub(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Jb(a,b,d)),"normal"===f&&b in Sb&&(f=Sb[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Ob.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Rb,function(){return Yb(a,b,d)}):Yb(a,b,d):void 0},set:function(a,c,d){var e=d&&Ib(a);return Wb(a,c,d?Xb(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Nb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Mb,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Mb.test(f)?f.replace(Mb,e):f+" "+e)}}),m.cssHooks.marginRight=Lb(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Jb,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Gb.test(a)||(m.cssHooks[a+b].set=Wb)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ib(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Vb(this,!0)},hide:function(){return Vb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Zb(a,b,c,d,e){return new Zb.prototype.init(a,b,c,d,e)}m.Tween=Zb,Zb.prototype={constructor:Zb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px")
4
+ },cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function(a){var b,c=Zb.propHooks[this.prop];return this.pos=b=this.options.duration?m.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Zb.propHooks._default.set(this),this}},Zb.prototype.init.prototype=Zb.prototype,Zb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Zb.propHooks.scrollTop=Zb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Zb.prototype.init,m.fx.step={};var $b,_b,ac=/^(?:toggle|show|hide)$/,bc=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cc=/queueHooks$/,dc=[ic],ec={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bc.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bc.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fc(){return setTimeout(function(){$b=void 0}),$b=m.now()}function gc(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hc(a,b,c){for(var d,e=(ec[b]||[]).concat(ec["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ic(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fb(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fb(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ac.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fb(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hc(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jc(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function kc(a,b,c){var d,e,f=0,g=dc.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$b||fc(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$b||fc(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jc(k,j.opts.specialEasing);g>f;f++)if(d=dc[f].call(j,a,k,j.opts))return d;return m.map(k,hc,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}m.Animation=m.extend(kc,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],ec[c]=ec[c]||[],ec[c].unshift(b)},prefilter:function(a,b){b?dc.unshift(a):dc.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kc(this,m.extend({},a),f);(e||m._data(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cc.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gc(b,!0),a,d,e)}}),m.each({slideDown:gc("show"),slideUp:gc("hide"),slideToggle:gc("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($b=m.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||m.fx.stop(),$b=void 0},m.fx.timer=function(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){_b||(_b=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(_b),_b=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,b){return a=m.fx?m.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e;b=y.createElement("div"),b.setAttribute("className","t"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lc=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lc,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mc,nc,oc=m.expr.attrHandle,pc=/^(?:checked|selected)$/i,qc=k.getSetAttribute,rc=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nc:mc)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rc&&qc||!pc.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qc?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nc={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rc&&qc||!pc.test(c)?a.setAttribute(!qc&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=oc[b]||m.find.attr;oc[b]=rc&&qc||!pc.test(b)?function(a,b,d){var e,f;return d||(f=oc[b],oc[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,oc[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rc&&qc||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mc&&mc.set(a,b,c)}}),qc||(mc={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},oc.id=oc.name=oc.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mc.set},m.attrHooks.contenteditable={set:function(a,b,c){mc.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sc=/^(?:input|select|textarea|button|object)$/i,tc=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=m.find.attr(a,"tabindex");return b?parseInt(b,10):sc.test(a.nodeName)||tc.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var uc=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(uc," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(uc," ").indexOf(b)>=0)return!0;return!1}}),m.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var vc=m.now(),wc=/\?/,xc=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xc,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yc,zc,Ac=/#.*$/,Bc=/([?&])_=[^&]*/,Cc=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Dc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ec=/^(?:GET|HEAD)$/,Fc=/^\/\//,Gc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hc={},Ic={},Jc="*/".concat("*");try{zc=location.href}catch(Kc){zc=y.createElement("a"),zc.href="",zc=zc.href}yc=Gc.exec(zc.toLowerCase())||[];function Lc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mc(a,b,c,d){var e={},f=a===Ic;function g(h){var i;return e[h]=!0,m.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function Nc(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Oc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zc,type:"GET",isLocal:Dc.test(yc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nc(Nc(a,m.ajaxSettings),b):Nc(m.ajaxSettings,a)},ajaxPrefilter:Lc(Hc),ajaxTransport:Lc(Ic),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.jquery)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cc.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zc)+"").replace(Ac,"").replace(Fc,yc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gc.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yc[1]&&c[2]===yc[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yc[3]||("http:"===yc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mc(Hc,k,b,v),2===t)return v;h=k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Ec.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wc.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bc.test(e)?e.replace(Bc,"$1_="+vc++):e+(wc.test(e)?"&":"?")+"_="+vc++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jc+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mc(Ic,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Oc(k,v,c)),u=Pc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qc=/%20/g,Rc=/\[\]$/,Sc=/\r?\n/g,Tc=/^(?:submit|button|image|reset|file)$/i,Uc=/^(?:input|select|textarea|keygen)/i;function Vc(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rc.test(a)?d(a,e):Vc(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vc(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vc(c,a[c],b,e);return d.join("&").replace(Qc,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Uc.test(this.nodeName)&&!Tc.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sc,"\r\n")}}):{name:b.name,value:c.replace(Sc,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zc()||$c()}:Zc;var Wc=0,Xc={},Yc=m.ajaxSettings.xhr();a.ActiveXObject&&m(a).on("unload",function(){for(var a in Xc)Xc[a](void 0,!0)}),k.cors=!!Yc&&"withCredentials"in Yc,Yc=k.ajax=!!Yc,Yc&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xc[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xc[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zc(){try{return new a.XMLHttpRequest}catch(b){}}function $c(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _c=[],ad=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_c.pop()||m.expando+"_"+vc++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ad.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ad.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ad,"$1"+e):b.jsonp!==!1&&(b.url+=(wc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_c.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bd=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bd)return bd.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("<div>").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){